(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{EmSq:function(l,n,u){"use strict";u.d(n,"a",function(){return i});var e=u("CcnG"),t=u("LvDl"),i=(u("Fgil"),u("aXbf"),function(){function l(l,n,u,t){this.elementRef=l,this.control=n,this.dimlessBinaryPipe=u,this.formatter=t,this.ngModelChange=new e.EventEmitter,this.el=this.elementRef.nativeElement}return l.prototype.ngOnInit=function(){this.setValue(this.el.value)},l.prototype.setValue=function(l){/^[\d.]+$/.test(l)&&(l+=this.defaultUnit||"m");var n=this.formatter.toBytes(l),u=this.round(n);this.el.value=this.dimlessBinaryPipe.transform(u),null!==n?(this.ngModelChange.emit(this.el.value),this.control.control.setValue(this.el.value)):(this.ngModelChange.emit(null),this.control.control.setValue(null))},l.prototype.round=function(l){if(null!==l&&0!==l){if(!t.isUndefined(this.minBytes)&&lthis.maxBytes)return this.maxBytes;if(!t.isUndefined(this.roundPower)){var n=Math.round(Math.log(l)/Math.log(this.roundPower));return Math.pow(this.roundPower,n)}}return l},l.prototype.onBlur=function(l){this.setValue(l)},l}())},OcYo:function(l,n,u){"use strict";u.d(n,"a",function(){return e});var e=function(){function l(l,n,u){this.elementRef=l,this.renderer=n,this.toastr=u}return l.prototype.ngOnInit=function(){var l=this.renderer.createElement("i");this.renderer.addClass(l,"icon-prepend"),this.renderer.addClass(l,"fa"),this.renderer.addClass(l,"fa-clipboard"),this.renderer.appendChild(this.elementRef.nativeElement,l)},l.prototype.getInputElement=function(){return document.getElementById(this.cdCopy2ClipboardButton)},l.prototype.onClick=function(){try{var l=document.createElement("input");l.value=this.getInputElement().value,document.body.appendChild(l),l.select(),document.execCommand("copy"),document.body.removeChild(l),this.toastr.success("Copied text to the clipboard successfully.")}catch(n){this.toastr.error("Failed to copy text to the clipboard.")}},l}()},Znkk:function(l,n,u){"use strict";u.r(n);var e,t=u("CcnG"),i=u("sne2"),o=u("Avrn"),a=u("+0ag"),r=u("mSOc"),s=function(){function l(l,n,u){this.route=l,this.summaryService=n,this.cephReleaseNamePipe=u,this.message="The Object Gateway service is not configured."}return l.prototype.ngOnInit=function(){var l=this,n=this.summaryService.subscribe(function(u){if(u){var e=l.cephReleaseNamePipe.transform(u.version);l.docsUrl="http://docs.ceph.com/docs/"+e+"/mgr/dashboard/#enabling-the-object-gateway-management-frontend",setTimeout(function(){n.unsubscribe()},0)}});this.routeParamsSubscribe=this.route.params.subscribe(function(n){l.message=n.message})},l.prototype.ngOnDestroy=function(){this.routeParamsSubscribe.unsubscribe()},l}(),d=u("gIcY"),c=u("LvDl"),p=u("mrSG"),f=u("t/Na"),m=u("F/XL"),g=u("psW0"),v=u("xTzq"),b=u("pL04"),h=function(){function l(l){this.http=l,this.url="api/rgw/bucket"}return l.prototype.list=function(){var l=new f.h;return l=l.append("stats","true"),this.http.get(this.url,{params:l})},l.prototype.enumerate=function(){return this.http.get(this.url)},l.prototype.get=function(l){return this.http.get(this.url+"/"+l)},l.prototype.create=function(l,n){var u=new f.h;return u=(u=u.append("bucket",l)).append("uid",n),this.http.post(this.url,null,{params:u})},l.prototype.update=function(l,n,u){var e=new f.h;return e=(e=e.append("bucket_id",n)).append("uid",u),this.http.put(this.url+"/"+l,null,{params:e})},l.prototype.delete=function(l,n){void 0===n&&(n=!0);var u=new f.h;return u=u.append("purge_objects",n?"true":"false"),this.http.delete(this.url+"/"+l,{params:u})},l.prototype.exists=function(l){return this.enumerate().pipe(Object(g.a)(function(n){var u=c.indexOf(n,l);return Object(m.a)(-1!==u)}))},l.ngInjectableDef=t.defineInjectable({factory:function(){return new l(t.inject(f.c))},token:l,providedIn:b.a}),l=p.__decorate([v.a,p.__metadata("design:paramtypes",[f.c])],l)}(),y=u("P8lu"),C=u("mtw6"),_=u("2EZI"),k=u("9nlD"),R=function(){function l(l,n,u,e,t,o,a,r){this.route=l,this.router=n,this.formBuilder=u,this.rgwBucketService=e,this.rgwUserService=t,this.notificationService=o,this.i18n=a,this.actionLabels=r,this.editing=!1,this.error=!1,this.loading=!1,this.owners=null,this.editing=this.router.url.startsWith("/rgw/bucket/"+i.e.EDIT),this.action=this.editing?this.actionLabels.EDIT:this.actionLabels.CREATE,this.resource=this.i18n("bucket"),this.createForm()}return l.prototype.createForm=function(){this.bucketForm=this.formBuilder.group({id:[null],bid:[null,[d.A.required],[this.bucketNameValidator()]],owner:[null,[d.A.required]]})},l.prototype.ngOnInit=function(){var l=this;this.rgwUserService.enumerate().subscribe(function(n){l.owners=n.sort()}),this.route.params.subscribe(function(n){if(n.hasOwnProperty("bid")){var u=decodeURIComponent(n.bid);l.loading=!0,l.rgwBucketService.get(u).subscribe(function(n){l.loading=!1;var u=c.clone(l.bucketForm.value),e=c.pick(n,c.keys(l.bucketForm.value));e=c.merge(u,e),l.bucketForm.setValue(e)})}},function(n){l.error=n})},l.prototype.goToListView=function(){this.router.navigate(["/rgw/bucket"])},l.prototype.submit=function(){var l=this;if(this.bucketForm.pristine)this.goToListView();else{var n=this.bucketForm.get("bid"),u=this.bucketForm.get("owner");if(this.editing){var e=this.bucketForm.get("id");this.rgwBucketService.update(n.value,e.value,u.value).subscribe(function(){l.notificationService.show(C.a.success,l.i18n('Updated Object Gateway bucket "{{bid}}"',{bid:n.value})),l.goToListView()},function(){l.bucketForm.setErrors({cdSubmitButton:!0})})}else this.rgwBucketService.create(n.value,u.value).subscribe(function(){l.notificationService.show(C.a.success,l.i18n('Created Object Gateway bucket "{{bid}}"',{bid:n.value})),l.goToListView()},function(){l.bucketForm.setErrors({cdSubmitButton:!0})})}},l.prototype.bucketNameValidator=function(){var l=this.rgwBucketService;return function(n){return new Promise(function(u){n.pristine||""===n.value?u(null):/^[0-9A-Za-z][\w-\.]{2,254}$/.test(n.value)?l.exists(n.value).subscribe(function(l){u(l?{bucketNameExists:!0}:null)}):u({bucketNameInvalid:!0})})}},l}(),I=u("6blF"),w=u("VNr4"),E=u("0+/T"),x=u("uIqm"),T=u("vCyI"),q=u("Fgil"),V=u("o4+5"),S=u("aexS"),D=u("EgGo"),N=new D.a("rgw/bucket"),F=function(){function l(l,n,u,e,t,i,o,a,r){var s=this;this.authStorageService=l,this.dimlessBinaryPipe=n,this.dimlessPipe=u,this.rgwBucketService=e,this.bsModalService=t,this.i18n=i,this.urlBuilder=o,this.actionLabels=a,this.changeDetectorRef=r,this.columns=[],this.buckets=[],this.selection=new T.a,this.permission=this.authStorageService.getPermissions().rgw,this.tableActions=[{permission:"create",icon:"fa-plus",routerLink:function(){return s.urlBuilder.getCreate()},name:this.actionLabels.CREATE},{permission:"update",icon:"fa-pencil",routerLink:function(){return s.urlBuilder.getEdit(s.selection.first()&&""+encodeURIComponent(s.selection.first().bid))},name:this.actionLabels.EDIT},{permission:"delete",icon:"fa-times",click:function(){return s.deleteAction()},name:this.actionLabels.DELETE}]}return l.prototype.ngOnInit=function(){this.columns=[{name:this.i18n("Name"),prop:"bid",flexGrow:2},{name:this.i18n("Owner"),prop:"owner",flexGrow:3},{name:this.i18n("Used Capacity"),prop:"bucket_size",flexGrow:.5,pipe:this.dimlessBinaryPipe},{name:this.i18n("Capacity Limit %"),prop:"size_usage",cellTemplate:this.bucketSizeTpl,flexGrow:1},{name:this.i18n("Objects"),prop:"num_objects",flexGrow:.5,pipe:this.dimlessPipe},{name:this.i18n("Object Limit %"),prop:"object_usage",cellTemplate:this.bucketObjectTpl,flexGrow:1}]},l.prototype.transformBucketData=function(){c.forEach(this.buckets,function(l){var n=l.bucket_quota.max_size,u=l.bucket_quota.max_objects,e=0,t=0;c.forEach(l.usage,function(l){e+=l.size_actual,t+=l.num_objects}),l.bucket_size=e,l.num_objects=t,l.size_usage=n>0?e/n:void 0,l.object_usage=u>0?t/u:void 0})},l.prototype.getBucketList=function(l){var n=this;this.rgwBucketService.list().subscribe(function(l){n.buckets=l,n.transformBucketData(),n.changeDetectorRef.detectChanges()},function(){l.error()})},l.prototype.updateSelection=function(l){this.selection=l},l.prototype.deleteAction=function(){var l=this;this.bsModalService.show(E.a,{initialState:{itemDescription:this.i18n(this.selection.hasSingleSelection?"bucket":"buckets"),itemNames:this.selection.selected.map(function(l){return l.bid}),submitActionObservable:function(){return new I.a(function(n){Object(w.a)(l.selection.selected.map(function(n){return l.rgwBucketService.delete(n.bid)})).subscribe(null,function(u){n.error(u),l.table.refreshBtn()},function(){n.complete(),l.table.refreshBtn()})})}}})},l}(),j=function(){function l(l){this.http=l,this.url="api/rgw/daemon"}return l.prototype.list=function(){return this.http.get(this.url)},l.prototype.get=function(l){return this.http.get(this.url+"/"+l)},l.ngInjectableDef=t.defineInjectable({factory:function(){return new l(t.inject(f.c))},token:l,providedIn:b.a}),l=p.__decorate([v.a,p.__metadata("design:paramtypes",[f.c])],l)}(),P=u("85J/"),z=function(){function l(l,n,u,e){this.rgwDaemonService=l,this.authStorageService=n,this.i18n=e,this.columns=[],this.daemons=[],this.selection=new T.a,this.grafanaPermission=this.authStorageService.getPermissions().grafana,this.columns=[{name:this.i18n("ID"),prop:"id",flexGrow:2},{name:this.i18n("Hostname"),prop:"server_hostname",flexGrow:2},{name:this.i18n("Version"),prop:"version",flexGrow:1,pipe:u}]}return l.prototype.getDaemonList=function(l){var n=this;this.rgwDaemonService.list().subscribe(function(l){n.daemons=l},function(){l.error()})},l.prototype.updateSelection=function(l){this.selection=l},l}(),A=u("dEwP"),B=u("1Ni5"),U=u("aXbf");!function(l){l.USERS="users",l.BUCKETS="buckets",l.METADATA="metadata",l.USAGE="usage",l.ZONE="zone"}(e||(e={}));var M=function(){function l(){}return l.getAll=function(){return Object.values(l.capabilities)},l.capabilities=e,l}(),O=function(){function l(l,n,u,e){this.formBuilder=l,this.bsModalRef=n,this.i18n=u,this.actionLabels=e,this.submitAction=new t.EventEmitter,this.editing=!0,this.types=[],this.resource=this.i18n("capability"),this.createForm()}return l.prototype.createForm=function(){this.formGroup=this.formBuilder.group({type:[null,[d.A.required]],perm:[null,[d.A.required]]})},l.prototype.setEditing=function(l){void 0===l&&(l=!0),this.editing=l,this.action=this.editing?this.actionLabels.EDIT:this.actionLabels.ADD},l.prototype.setValues=function(l,n){this.formGroup.setValue({type:l,perm:n})},l.prototype.setCapabilities=function(l){var n=this,u=[];l.forEach(function(l){u.push(l.type)}),this.types=[],M.getAll().forEach(function(l){-1===c.indexOf(u,l)&&n.types.push(l)})},l.prototype.onSubmit=function(){this.submitAction.emit(this.formGroup.value),this.bsModalRef.hide()},l}(),L=function(){function l(l,n,u,e){this.formBuilder=l,this.bsModalRef=n,this.i18n=u,this.actionLabels=e,this.submitAction=new t.EventEmitter,this.viewing=!0,this.userCandidates=[],this.resource=this.i18n("S3 Key"),this.createForm()}return l.prototype.createForm=function(){this.formGroup=this.formBuilder.group({user:[null,[d.A.required]],generate_key:[!0],access_key:[null,[B.a.requiredIf({generate_key:!1})]],secret_key:[null,[B.a.requiredIf({generate_key:!1})]]})},l.prototype.setViewing=function(l){void 0===l&&(l=!0),this.viewing=l,this.action=this.viewing?this.actionLabels.SHOW:this.actionLabels.CREATE},l.prototype.setValues=function(l,n,u){this.formGroup.setValue({user:l,generate_key:c.isEmpty(n),access_key:n,secret_key:u})},l.prototype.setUserCandidates=function(l){this.userCandidates=l},l.prototype.onSubmit=function(){this.submitAction.emit(this.formGroup.value),this.bsModalRef.hide()},l}(),G=function(){return function(){}}(),K=function(){function l(l,n,u,e){this.formBuilder=l,this.bsModalRef=n,this.i18n=u,this.actionLabels=e,this.submitAction=new t.EventEmitter,this.editing=!0,this.subusers=[],this.resource=this.i18n("Subuser"),this.createForm()}return l.prototype.createForm=function(){this.formGroup=this.formBuilder.group({uid:[null],subuid:[null,[d.A.required,this.subuserValidator()]],perm:[null,[d.A.required]],generate_secret:[!0],secret_key:[null,[B.a.requiredIf({generate_secret:!1})]]})},l.prototype.subuserValidator=function(){var l=this;return function(n){return l.editing?null:Object(B.b)(n.value)?null:l.subusers.some(function(u){return c.isEqual(l.getSubuserName(u.id),n.value)})?{subuserIdExists:!0}:null}},l.prototype.getSubuserName=function(l){if(c.isEmpty(l))return l;var n=l.match(/([^:]+)(:(.+))?/);return c.isUndefined(n[3])?n[1]:n[3]},l.prototype.setEditing=function(l){void 0===l&&(l=!0),this.editing=l,this.action=this.editing?this.actionLabels.EDIT:this.actionLabels.CREATE},l.prototype.setValues=function(l,n,u){void 0===n&&(n=""),void 0===u&&(u=""),this.formGroup.setValue({uid:l,subuid:this.getSubuserName(n),perm:u,generate_secret:!0,secret_key:null})},l.prototype.setSubusers=function(l){this.subusers=l},l.prototype.onSubmit=function(){var l=this.formGroup.value,n=new G;n.id=l.uid+":"+l.subuid,n.permissions=l.perm,n.generate_secret=l.generate_secret,n.secret_key=l.secret_key,this.submitAction.emit(n),this.bsModalRef.hide()},l}(),$=function(){function l(l,n,u){this.bsModalRef=l,this.i18n=n,this.actionLabels=u,this.resource=this.i18n("Swift Key"),this.action=this.actionLabels.SHOW}return l.prototype.setValues=function(l,n){this.user=l,this.secret_key=n},l}(),Z=function(){function l(l,n,u,e,t,o,a,r){this.formBuilder=l,this.route=n,this.router=u,this.rgwUserService=e,this.bsModalService=t,this.notificationService=o,this.i18n=a,this.actionLabels=r,this.editing=!1,this.error=!1,this.loading=!1,this.submitObservables=[],this.subusers=[],this.s3Keys=[],this.swiftKeys=[],this.capabilities=[],this.resource=this.i18n("user"),this.subuserLabel=this.i18n("subuser"),this.s3keyLabel=this.i18n("S3 Key"),this.capabilityLabel=this.i18n("capability"),this.editing=this.router.url.startsWith("/rgw/user/"+i.e.EDIT),this.action=this.editing?this.actionLabels.EDIT:this.actionLabels.CREATE,this.createForm()}return l.prototype.createForm=function(){this.userForm=this.formBuilder.group({uid:[null,[d.A.required],this.editing?[]:[B.a.unique(this.rgwUserService.exists,this.rgwUserService)]],display_name:[null,[d.A.required]],email:[null,[B.a.email],[B.a.unique(this.rgwUserService.emailExists,this.rgwUserService)]],max_buckets_mode:["1"],max_buckets:[1e3,[B.a.requiredIf({max_buckets_mode:"1"}),B.a.number(!1),d.A.min(1)]],suspended:[!1],generate_key:[!0],access_key:[null,[B.a.requiredIf({generate_key:!1})]],secret_key:[null,[B.a.requiredIf({generate_key:!1})]],user_quota_enabled:[!1],user_quota_max_size_unlimited:[!0],user_quota_max_size:[null,[B.a.requiredIf({user_quota_enabled:!0,user_quota_max_size_unlimited:!1}),this.quotaMaxSizeValidator]],user_quota_max_objects_unlimited:[!0],user_quota_max_objects:[null,[d.A.min(0),B.a.requiredIf({user_quota_enabled:!0,user_quota_max_objects_unlimited:!1})]],bucket_quota_enabled:[!1],bucket_quota_max_size_unlimited:[!0],bucket_quota_max_size:[null,[B.a.requiredIf({bucket_quota_enabled:!0,bucket_quota_max_size_unlimited:!1}),this.quotaMaxSizeValidator]],bucket_quota_max_objects_unlimited:[!0],bucket_quota_max_objects:[null,[d.A.min(0),B.a.requiredIf({bucket_quota_enabled:!0,bucket_quota_max_objects_unlimited:!1})]]})},l.prototype.ngOnInit=function(){var l=this;this.route.params.subscribe(function(n){if(n.hasOwnProperty("uid")){var u=decodeURIComponent(n.uid);l.loading=!0;var e=[];e.push(l.rgwUserService.get(u)),e.push(l.rgwUserService.getQuota(u)),Object(w.a)(e).subscribe(function(n){l.loading=!1;var u=c.clone(l.userForm.value),e=c.pick(n[0],c.keys(l.userForm.value));switch(e.max_buckets){case-1:e.max_buckets_mode="-1",e.max_buckets="";break;case 0:e.max_buckets_mode="0",e.max_buckets="";break;default:e.max_buckets_mode="1"}["user","bucket"].forEach(function(l){var u=n[1][l+"_quota"];e[l+"_quota_enabled"]=u.enabled,u.max_size<0?(e[l+"_quota_max_size_unlimited"]=!0,e[l+"_quota_max_size"]=null):(e[l+"_quota_max_size_unlimited"]=!1,e[l+"_quota_max_size"]=u.max_size+" B"),u.max_objects<0?(e[l+"_quota_max_objects_unlimited"]=!0,e[l+"_quota_max_objects"]=null):(e[l+"_quota_max_objects_unlimited"]=!1,e[l+"_quota_max_objects"]=u.max_objects)}),e=c.merge(u,e),l.userForm.setValue(e),l.subusers=n[0].subusers,l.s3Keys=n[0].keys,l.swiftKeys=n[0].swift_keys;var t={"read, write":"*"};n[0].caps.forEach(function(l){l.perm in t&&(l.perm=t[l.perm])}),l.capabilities=n[0].caps},function(n){l.error=n})}})},l.prototype.goToListView=function(){this.router.navigate(["/rgw/user"])},l.prototype.onSubmit=function(){var l,n=this;if(this.userForm.pristine)this.goToListView();else{var u=this.userForm.getValue("uid");if(this.editing){if(this._isGeneralDirty()){var e=this._getUpdateArgs();this.submitObservables.push(this.rgwUserService.update(u,e))}l=this.i18n('Updated Object Gateway user "{{uid}}"',{uid:u})}else e=this._getCreateArgs(),this.submitObservables.push(this.rgwUserService.create(e)),l=this.i18n('Created Object Gateway user "{{uid}}"',{uid:u});if(this._isUserQuotaDirty()){var t=this._getUserQuotaArgs();this.submitObservables.push(this.rgwUserService.updateQuota(u,t))}if(this._isBucketQuotaDirty()){var i=this._getBucketQuotaArgs();this.submitObservables.push(this.rgwUserService.updateQuota(u,i))}A.a.apply(void 0,this.submitObservables).subscribe({error:function(){n.userForm.setErrors({cdSubmitButton:!0})},complete:function(){n.notificationService.show(C.a.success,l),n.goToListView()}})}},l.prototype.quotaMaxSizeValidator=function(l){return Object(B.b)(l.value)?null:null===RegExp("^(\\d+(\\.\\d+)?)\\s*(B|K(B|iB)?|M(B|iB)?|G(B|iB)?|T(B|iB)?)?$","i").exec(l.value)?{quotaMaxSize:!0}:(new U.a).toBytes(l.value)<1024?{quotaMaxSize:!0}:null},l.prototype.setSubuser=function(l,n){var u={"full-control":"full","read-write":"readwrite"},e=this.userForm.getValue("uid");this.submitObservables.push(this.rgwUserService.createSubuser(e,{subuser:l.id,access:l.permissions in u?u[l.permissions]:l.permissions,key_type:"swift",secret_key:l.secret_key,generate_secret:l.generate_secret?"true":"false"})),c.isNumber(n)?this.subusers[n]=l:(this.subusers.push(l),this.swiftKeys.push({user:l.id,secret_key:l.generate_secret?"Apply your changes first...":l.secret_key})),this.userForm.markAsDirty()},l.prototype.deleteSubuser=function(l){var n=this.subusers[l];this.submitObservables.push(this.rgwUserService.deleteSubuser(this.userForm.getValue("uid"),n.id)),this.s3Keys=this.s3Keys.filter(function(l){return l.user!==n.id}),this.swiftKeys=this.swiftKeys.filter(function(l){return l.user!==n.id}),this.subusers.splice(l,1),this.userForm.markAsDirty()},l.prototype.setCapability=function(l,n){var u=this.userForm.getValue("uid");if(c.isNumber(n)){var e=this.capabilities[n];this.submitObservables.push(this.rgwUserService.deleteCapability(u,e.type,e.perm)),this.submitObservables.push(this.rgwUserService.addCapability(u,l.type,l.perm)),this.capabilities[n]=l}else this.submitObservables.push(this.rgwUserService.addCapability(u,l.type,l.perm)),this.capabilities.push(l);this.userForm.markAsDirty()},l.prototype.deleteCapability=function(l){var n=this.capabilities[l];this.submitObservables.push(this.rgwUserService.deleteCapability(this.userForm.getValue("uid"),n.type,n.perm)),this.capabilities.splice(l,1),this.userForm.markAsDirty()},l.prototype.hasAllCapabilities=function(){return!c.difference(M.getAll(),c.map(this.capabilities,"type")).length},l.prototype.setS3Key=function(l,n){if(c.isNumber(n));else{var u=l.user.match(/([^:]+)(:(.+))?/),e=u[1],t={subuser:u[2]?u[3]:"",generate_key:l.generate_key?"true":"false"};"false"===t.generate_key&&(c.isNil(l.access_key)||(t.access_key=l.access_key),c.isNil(l.secret_key)||(t.secret_key=l.secret_key)),this.submitObservables.push(this.rgwUserService.addS3Key(e,t)),this.s3Keys.push({user:l.user,access_key:l.generate_key?"Apply your changes first...":l.access_key,secret_key:l.generate_key?"Apply your changes first...":l.secret_key})}this.userForm.markAsDirty()},l.prototype.deleteS3Key=function(l){var n=this.s3Keys[l];this.submitObservables.push(this.rgwUserService.deleteS3Key(this.userForm.getValue("uid"),n.access_key)),this.s3Keys.splice(l,1),this.userForm.markAsDirty()},l.prototype.showSubuserModal=function(l){var n=this,u=this.userForm.getValue("uid"),e=this.bsModalService.show(K);if(c.isNumber(l)){var t=this.subusers[l];e.content.setEditing(),e.content.setValues(u,t.id,t.permissions)}else e.content.setEditing(!1),e.content.setValues(u),e.content.setSubusers(this.subusers);e.content.submitAction.subscribe(function(u){n.setSubuser(u,l)})},l.prototype.showS3KeyModal=function(l){var n=this,u=this.bsModalService.show(L);if(c.isNumber(l)){var e=this.s3Keys[l];u.content.setViewing(),u.content.setValues(e.user,e.access_key,e.secret_key)}else{var t=this._getS3KeyUserCandidates();u.content.setViewing(!1),u.content.setUserCandidates(t),u.content.submitAction.subscribe(function(l){n.setS3Key(l)})}},l.prototype.showSwiftKeyModal=function(l){var n=this.bsModalService.show($),u=this.swiftKeys[l];n.content.setValues(u.user,u.secret_key)},l.prototype.showCapabilityModal=function(l){var n=this,u=this.bsModalService.show(O);if(c.isNumber(l)){var e=this.capabilities[l];u.content.setEditing(),u.content.setValues(e.type,e.perm)}else u.content.setEditing(!1),u.content.setCapabilities(this.capabilities);u.content.submitAction.subscribe(function(u){n.setCapability(u,l)})},l.prototype._isGeneralDirty=function(){var l=this;return["display_name","email","max_buckets_mode","max_buckets","suspended"].some(function(n){return l.userForm.get(n).dirty})},l.prototype._isUserQuotaDirty=function(){var l=this;return["user_quota_enabled","user_quota_max_size_unlimited","user_quota_max_size","user_quota_max_objects_unlimited","user_quota_max_objects"].some(function(n){return l.userForm.get(n).dirty})},l.prototype._isBucketQuotaDirty=function(){var l=this;return["bucket_quota_enabled","bucket_quota_max_size_unlimited","bucket_quota_max_size","bucket_quota_max_objects_unlimited","bucket_quota_max_objects"].some(function(n){return l.userForm.get(n).dirty})},l.prototype._getCreateArgs=function(){var l={uid:this.userForm.getValue("uid"),display_name:this.userForm.getValue("display_name"),suspended:this.userForm.getValue("suspended"),email:"",max_buckets:this.userForm.getValue("max_buckets"),generate_key:this.userForm.getValue("generate_key"),access_key:"",secret_key:""},n=this.userForm.getValue("email");c.isString(n)&&n.length>0&&c.merge(l,{email:n}),this.userForm.getValue("generate_key")||c.merge(l,{generate_key:!1,access_key:this.userForm.getValue("access_key"),secret_key:this.userForm.getValue("secret_key")});var u=parseInt(this.userForm.getValue("max_buckets_mode"),10);return c.includes([-1,0],u)&&c.merge(l,{max_buckets:u}),l},l.prototype._getUpdateArgs=function(){for(var l={},n=0,u=["display_name","email","max_buckets","suspended"];n-1),l(n,22,0,u.bucket.bucket_quota.max_objects<=-1),l(n,24,0,u.bucket.bucket_quota.max_objects>-1)},function(l,n){var u=n.component,e=t["\u0275unv"](n,9,0,l(n,10,0,t["\u0275nov"](n.parent.parent.parent,1),u.bucket.bucket_quota.enabled));l(n,9,0,e)})}function Kl(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,60,"div",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,57,"table",[["class","table table-striped table-bordered"]],null,null,null,null,null)),(l()(),t["\u0275eld"](2,0,null,null,56,"tbody",[],null,null,null,null,null)),(l()(),t["\u0275eld"](3,0,null,null,4,"tr",[],null,null,null,null,null)),(l()(),t["\u0275eld"](4,0,null,null,1,"td",[["class","bold col-sm-1"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Name"])),(l()(),t["\u0275eld"](6,0,null,null,1,"td",[["class","col-sm-3"]],null,null,null,null,null)),(l()(),t["\u0275ted"](7,null,["",""])),(l()(),t["\u0275eld"](8,0,null,null,4,"tr",[],null,null,null,null,null)),(l()(),t["\u0275eld"](9,0,null,null,1,"td",[["class","bold col-sm-1"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["ID"])),(l()(),t["\u0275eld"](11,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t["\u0275ted"](12,null,["",""])),(l()(),t["\u0275eld"](13,0,null,null,4,"tr",[],null,null,null,null,null)),(l()(),t["\u0275eld"](14,0,null,null,1,"td",[["class","bold col-sm-1"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Owner"])),(l()(),t["\u0275eld"](16,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t["\u0275ted"](17,null,["",""])),(l()(),t["\u0275eld"](18,0,null,null,4,"tr",[],null,null,null,null,null)),(l()(),t["\u0275eld"](19,0,null,null,1,"td",[["class","bold col-sm-1"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Index type"])),(l()(),t["\u0275eld"](21,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t["\u0275ted"](22,null,["",""])),(l()(),t["\u0275eld"](23,0,null,null,4,"tr",[],null,null,null,null,null)),(l()(),t["\u0275eld"](24,0,null,null,1,"td",[["class","bold col-sm-1"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Placement rule"])),(l()(),t["\u0275eld"](26,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t["\u0275ted"](27,null,["",""])),(l()(),t["\u0275eld"](28,0,null,null,4,"tr",[],null,null,null,null,null)),(l()(),t["\u0275eld"](29,0,null,null,1,"td",[["class","bold col-sm-1"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Marker"])),(l()(),t["\u0275eld"](31,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t["\u0275ted"](32,null,["",""])),(l()(),t["\u0275eld"](33,0,null,null,4,"tr",[],null,null,null,null,null)),(l()(),t["\u0275eld"](34,0,null,null,1,"td",[["class","bold col-sm-1"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Maximum marker"])),(l()(),t["\u0275eld"](36,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t["\u0275ted"](37,null,["",""])),(l()(),t["\u0275eld"](38,0,null,null,4,"tr",[],null,null,null,null,null)),(l()(),t["\u0275eld"](39,0,null,null,1,"td",[["class","bold col-sm-1"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Version"])),(l()(),t["\u0275eld"](41,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t["\u0275ted"](42,null,["",""])),(l()(),t["\u0275eld"](43,0,null,null,4,"tr",[],null,null,null,null,null)),(l()(),t["\u0275eld"](44,0,null,null,1,"td",[["class","bold col-sm-1"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Master version"])),(l()(),t["\u0275eld"](46,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t["\u0275ted"](47,null,["",""])),(l()(),t["\u0275eld"](48,0,null,null,5,"tr",[],null,null,null,null,null)),(l()(),t["\u0275eld"](49,0,null,null,1,"td",[["class","bold col-sm-1"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Modification time"])),(l()(),t["\u0275eld"](51,0,null,null,2,"td",[],null,null,null,null,null)),(l()(),t["\u0275ted"](52,null,["",""])),t["\u0275ppd"](53,1),(l()(),t["\u0275eld"](54,0,null,null,4,"tr",[],null,null,null,null,null)),(l()(),t["\u0275eld"](55,0,null,null,1,"td",[["class","bold col-sm-1"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Zonegroup"])),(l()(),t["\u0275eld"](57,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t["\u0275ted"](58,null,["",""])),(l()(),t["\u0275and"](16777216,null,null,1,null,Gl)),t["\u0275did"](60,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(l,n){l(n,60,0,n.component.bucket.bucket_quota)},function(l,n){var u=n.component;l(n,7,0,u.bucket.bid),l(n,12,0,u.bucket.id),l(n,17,0,u.bucket.owner),l(n,22,0,u.bucket.index_type),l(n,27,0,u.bucket.placement_rule),l(n,32,0,u.bucket.marker),l(n,37,0,u.bucket.max_marker),l(n,42,0,u.bucket.ver),l(n,47,0,u.bucket.master_ver);var e=t["\u0275unv"](n,52,0,l(n,53,0,t["\u0275nov"](n.parent.parent,0),u.bucket.mtime));l(n,52,0,e),l(n,58,0,u.bucket.zonegroup)})}function $l(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,5,"tabset",[],[[2,"tab-container",null]],null,null,kl.b,kl.a)),t["\u0275did"](1,180224,null,0,vl.d,[vl.e,t.Renderer2,t.ElementRef],null,null),(l()(),t["\u0275eld"](2,0,null,0,3,"tab",[["heading","Details"]],[[1,"id",0],[2,"active",null],[2,"tab-pane",null]],null,null,null,null)),t["\u0275did"](3,212992,null,0,vl.b,[vl.d,t.ElementRef,t.Renderer2],{heading:[0,"heading"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Kl)),t["\u0275did"](5,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(l,n){var u=n.component;l(n,3,0,"Details"),l(n,5,0,u.bucket)},function(l,n){l(n,0,0,t["\u0275nov"](n,1).clazz),l(n,2,0,t["\u0275nov"](n,3).id,t["\u0275nov"](n,3).active,t["\u0275nov"](n,3).addClass)})}function Zl(l){return t["\u0275vid"](0,[t["\u0275pid"](0,wl.a,[ql.DatePipe]),t["\u0275pid"](0,zl.a,[_l.a]),t["\u0275pid"](0,V.a,[U.a]),(l()(),t["\u0275and"](16777216,null,null,1,null,$l)),t["\u0275did"](4,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(l,n){l(n,4,0,n.component.selection.hasSingleSelection)},null)}function Ql(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"cd-rgw-bucket-details",[],null,null,null,Zl,Bl)),t["\u0275did"](1,573440,null,0,Al,[],null,null)],null,null)}var Hl=t["\u0275ccf"]("cd-rgw-bucket-details",Al,Ql,{selection:"selection"},{},[]),Yl=u("25BL"),Xl=u("xtZt"),Jl=u("lqqz"),Wl=u("TJUb"),ln=function(){function l(l,n,u){this.rgwUserService=l,this.bsModalService=n,this.i18n=u,this.keys=[],this.keysColumns=[],this.keysSelection=new T.a}return l.prototype.ngOnInit=function(){this.keysColumns=[{name:this.i18n("Username"),prop:"username",flexGrow:1},{name:this.i18n("Type"),prop:"type",flexGrow:1}],this.maxBucketsMap={"-1":this.i18n("Disabled"),0:this.i18n("Unlimited")}},l.prototype.ngOnChanges=function(){var l=this;this.selection.hasSelection&&(this.user=this.selection.first(),this.user.subusers=c.sortBy(this.user.subusers,"id"),this.user.caps=c.sortBy(this.user.caps,"type"),this.rgwUserService.getQuota(this.user.uid).subscribe(function(n){c.extend(l.user,n)}),this.keys=[],this.user.keys&&this.user.keys.forEach(function(n){l.keys.push({id:l.keys.length+1,type:"S3",username:n.user,ref:n})}),this.user.swift_keys&&this.user.swift_keys.forEach(function(n){l.keys.push({id:l.keys.length+1,type:"Swift",username:n.user,ref:n})}),this.keys=c.sortBy(this.keys,"user"))},l.prototype.updateKeysSelection=function(l){this.keysSelection=l},l.prototype.showKeyModal=function(){var l=this.keysSelection.first(),n=this.bsModalService.show("S3"===l.type?L:$);switch(l.type){case"S3":n.content.setViewing(),n.content.setValues(l.ref.user,l.ref.access_key,l.ref.secret_key);break;case"Swift":n.content.setValues(l.ref.user,l.ref.secret_key)}},l}(),nn=u("DQlY"),un=t["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function en(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,4,"tr",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,1,"td",[["class","bold col-sm-1"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Email address"])),(l()(),t["\u0275eld"](3,0,null,null,1,"td",[["class","col-sm-3"]],null,null,null,null,null)),(l()(),t["\u0275ted"](4,null,["",""]))],null,function(l,n){l(n,4,0,n.component.user.email)})}function tn(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t["\u0275ted"](1,null,[" "," (",") "]))],null,function(l,n){l(n,1,0,n.context.$implicit.id,n.context.$implicit.permissions)})}function on(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,5,"tr",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,1,"td",[["class","bold col-sm-1"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Subusers"])),(l()(),t["\u0275eld"](3,0,null,null,2,"td",[["class","col-sm-3"]],null,null,null,null,null)),(l()(),t["\u0275and"](16777216,null,null,1,null,tn)),t["\u0275did"](5,278528,null,0,ql.NgForOf,[t.ViewContainerRef,t.TemplateRef,t.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(l,n){l(n,5,0,n.component.user.subusers)},null)}function an(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t["\u0275ted"](1,null,[" "," (",") "]))],null,function(l,n){l(n,1,0,n.context.$implicit.type,n.context.$implicit.perm)})}function rn(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,5,"tr",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,1,"td",[["class","bold col-sm-1"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Capabilities"])),(l()(),t["\u0275eld"](3,0,null,null,2,"td",[["class","col-sm-3"]],null,null,null,null,null)),(l()(),t["\u0275and"](16777216,null,null,1,null,an)),t["\u0275did"](5,278528,null,0,ql.NgForOf,[t.ViewContainerRef,t.TemplateRef,t.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(l,n){l(n,5,0,n.component.user.caps)},null)}function sn(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"td",[["class","col-sm-3"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Unlimited"]))],null,null)}function dn(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"td",[["class","col-sm-3"]],null,null,null,null,null)),(l()(),t["\u0275ted"](1,null,[" "," "])),t["\u0275ppd"](2,1)],null,function(l,n){var u=n.component,e=t["\u0275unv"](n,1,0,l(n,2,0,t["\u0275nov"](n.parent.parent.parent.parent,2),u.user.user_quota.max_size));l(n,1,0,e)})}function cn(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"td",[["class","col-sm-3"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Unlimited"]))],null,null)}function pn(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"td",[["class","col-sm-3"]],null,null,null,null,null)),(l()(),t["\u0275ted"](1,null,[" "," "]))],null,function(l,n){l(n,1,0,n.component.user.user_quota.max_objects)})}function fn(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,24,"div",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,1,"legend",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["User quota"])),(l()(),t["\u0275eld"](3,0,null,null,21,"table",[["class","table table-striped table-bordered"]],null,null,null,null,null)),(l()(),t["\u0275eld"](4,0,null,null,20,"tbody",[],null,null,null,null,null)),(l()(),t["\u0275eld"](5,0,null,null,5,"tr",[],null,null,null,null,null)),(l()(),t["\u0275eld"](6,0,null,null,1,"td",[["class","bold col-sm-1"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Enabled"])),(l()(),t["\u0275eld"](8,0,null,null,2,"td",[["class","col-sm-3"]],null,null,null,null,null)),(l()(),t["\u0275ted"](9,null,["",""])),t["\u0275ppd"](10,1),(l()(),t["\u0275eld"](11,0,null,null,6,"tr",[],null,null,null,null,null)),(l()(),t["\u0275eld"](12,0,null,null,1,"td",[["class","bold col-sm-1"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Maximum size"])),(l()(),t["\u0275and"](16777216,null,null,1,null,sn)),t["\u0275did"](15,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,dn)),t["\u0275did"](17,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](18,0,null,null,6,"tr",[],null,null,null,null,null)),(l()(),t["\u0275eld"](19,0,null,null,1,"td",[["class","bold col-sm-1"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Maximum objects"])),(l()(),t["\u0275and"](16777216,null,null,1,null,cn)),t["\u0275did"](22,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,pn)),t["\u0275did"](24,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(l,n){var u=n.component;l(n,15,0,u.user.user_quota.max_size<=-1),l(n,17,0,u.user.user_quota.max_size>-1),l(n,22,0,u.user.user_quota.max_objects<=-1),l(n,24,0,u.user.user_quota.max_objects>-1)},function(l,n){var u=n.component,e=t["\u0275unv"](n,9,0,l(n,10,0,t["\u0275nov"](n.parent.parent.parent,0),u.user.user_quota.enabled));l(n,9,0,e)})}function mn(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"td",[["class","col-sm-3"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Unlimited"]))],null,null)}function gn(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"td",[["class","col-sm-3"]],null,null,null,null,null)),(l()(),t["\u0275ted"](1,null,[" "," "])),t["\u0275ppd"](2,1)],null,function(l,n){var u=n.component,e=t["\u0275unv"](n,1,0,l(n,2,0,t["\u0275nov"](n.parent.parent.parent.parent,2),u.user.bucket_quota.max_size));l(n,1,0,e)})}function vn(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"td",[["class","col-sm-3"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Unlimited"]))],null,null)}function bn(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"td",[["class","col-sm-3"]],null,null,null,null,null)),(l()(),t["\u0275ted"](1,null,[" "," "]))],null,function(l,n){l(n,1,0,n.component.user.bucket_quota.max_objects)})}function hn(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,24,"div",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,1,"legend",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Bucket quota"])),(l()(),t["\u0275eld"](3,0,null,null,21,"table",[["class","table table-striped table-bordered"]],null,null,null,null,null)),(l()(),t["\u0275eld"](4,0,null,null,20,"tbody",[],null,null,null,null,null)),(l()(),t["\u0275eld"](5,0,null,null,5,"tr",[],null,null,null,null,null)),(l()(),t["\u0275eld"](6,0,null,null,1,"td",[["class","bold col-sm-1"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Enabled"])),(l()(),t["\u0275eld"](8,0,null,null,2,"td",[["class","col-sm-3"]],null,null,null,null,null)),(l()(),t["\u0275ted"](9,null,["",""])),t["\u0275ppd"](10,1),(l()(),t["\u0275eld"](11,0,null,null,6,"tr",[],null,null,null,null,null)),(l()(),t["\u0275eld"](12,0,null,null,1,"td",[["class","bold col-sm-1"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Maximum size"])),(l()(),t["\u0275and"](16777216,null,null,1,null,mn)),t["\u0275did"](15,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,gn)),t["\u0275did"](17,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](18,0,null,null,6,"tr",[],null,null,null,null,null)),(l()(),t["\u0275eld"](19,0,null,null,1,"td",[["class","bold col-sm-1"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Maximum objects"])),(l()(),t["\u0275and"](16777216,null,null,1,null,vn)),t["\u0275did"](22,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,bn)),t["\u0275did"](24,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(l,n){var u=n.component;l(n,15,0,u.user.bucket_quota.max_size<=-1),l(n,17,0,u.user.bucket_quota.max_size>-1),l(n,22,0,u.user.bucket_quota.max_objects<=-1),l(n,24,0,u.user.bucket_quota.max_objects>-1)},function(l,n){var u=n.component,e=t["\u0275unv"](n,9,0,l(n,10,0,t["\u0275nov"](n.parent.parent.parent,0),u.user.bucket_quota.enabled));l(n,9,0,e)})}function yn(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,40,"div",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,35,"table",[["class","table table-striped table-bordered"]],null,null,null,null,null)),(l()(),t["\u0275eld"](2,0,null,null,34,"tbody",[],null,null,null,null,null)),(l()(),t["\u0275eld"](3,0,null,null,4,"tr",[],null,null,null,null,null)),(l()(),t["\u0275eld"](4,0,null,null,1,"td",[["class","bold col-sm-1"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Username"])),(l()(),t["\u0275eld"](6,0,null,null,1,"td",[["class","col-sm-3"]],null,null,null,null,null)),(l()(),t["\u0275ted"](7,null,["",""])),(l()(),t["\u0275eld"](8,0,null,null,4,"tr",[],null,null,null,null,null)),(l()(),t["\u0275eld"](9,0,null,null,1,"td",[["class","bold col-sm-1"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Full name"])),(l()(),t["\u0275eld"](11,0,null,null,1,"td",[["class","col-sm-3"]],null,null,null,null,null)),(l()(),t["\u0275ted"](12,null,["",""])),(l()(),t["\u0275and"](16777216,null,null,1,null,en)),t["\u0275did"](14,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](15,0,null,null,5,"tr",[],null,null,null,null,null)),(l()(),t["\u0275eld"](16,0,null,null,1,"td",[["class","bold col-sm-1"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Suspended"])),(l()(),t["\u0275eld"](18,0,null,null,2,"td",[["class","col-sm-3"]],null,null,null,null,null)),(l()(),t["\u0275ted"](19,null,["",""])),t["\u0275ppd"](20,1),(l()(),t["\u0275eld"](21,0,null,null,5,"tr",[],null,null,null,null,null)),(l()(),t["\u0275eld"](22,0,null,null,1,"td",[["class","bold col-sm-1"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["System"])),(l()(),t["\u0275eld"](24,0,null,null,2,"td",[["class","col-sm-3"]],null,null,null,null,null)),(l()(),t["\u0275ted"](25,null,["",""])),t["\u0275ppd"](26,1),(l()(),t["\u0275eld"](27,0,null,null,5,"tr",[],null,null,null,null,null)),(l()(),t["\u0275eld"](28,0,null,null,1,"td",[["class","bold col-sm-1"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Maximum buckets"])),(l()(),t["\u0275eld"](30,0,null,null,2,"td",[["class","col-sm-3"]],null,null,null,null,null)),(l()(),t["\u0275ted"](31,null,["",""])),t["\u0275ppd"](32,2),(l()(),t["\u0275and"](16777216,null,null,1,null,on)),t["\u0275did"](34,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,rn)),t["\u0275did"](36,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,fn)),t["\u0275did"](38,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,hn)),t["\u0275did"](40,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(l,n){var u=n.component;l(n,14,0,null==u.user.email?null:u.user.email.length),l(n,34,0,u.user.subusers&&u.user.subusers.length),l(n,36,0,u.user.caps&&u.user.caps.length),l(n,38,0,u.user.user_quota),l(n,40,0,u.user.bucket_quota)},function(l,n){var u=n.component;l(n,7,0,u.user.uid),l(n,12,0,u.user.display_name);var e=t["\u0275unv"](n,19,0,l(n,20,0,t["\u0275nov"](n.parent.parent,0),u.user.suspended));l(n,19,0,e);var i=t["\u0275unv"](n,25,0,l(n,26,0,t["\u0275nov"](n.parent.parent,0),"true"===u.user.system));l(n,25,0,i);var o=t["\u0275unv"](n,31,0,l(n,32,0,t["\u0275nov"](n.parent.parent,1),u.user.max_buckets,u.maxBucketsMap));l(n,31,0,o)})}function Cn(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,11,"tab",[["heading","Keys"]],[[1,"id",0],[2,"active",null],[2,"tab-pane",null]],null,null,null,null)),t["\u0275did"](1,212992,null,0,vl.b,[vl.d,t.ElementRef,t.Renderer2],{heading:[0,"heading"]},null),(l()(),t["\u0275eld"](2,0,null,null,9,"cd-table",[["columnMode","flex"],["forceIdentifier","true"],["selectionType","multi"]],null,[[null,"updateSelection"]],function(l,n,u){var e=!0;return"updateSelection"===n&&(e=!1!==l.component.updateKeysSelection(u)&&e),e},Yl.b,Yl.a)),t["\u0275did"](3,2867200,null,0,x.a,[t.NgZone,t.ChangeDetectorRef],{data:[0,"data"],columns:[1,"columns"],columnMode:[2,"columnMode"],forceIdentifier:[3,"forceIdentifier"],selectionType:[4,"selectionType"]},{updateSelection:"updateSelection"}),(l()(),t["\u0275eld"](4,0,null,0,7,"div",[["class","table-actions"]],null,null,null,null,null)),(l()(),t["\u0275eld"](5,16777216,null,null,6,"div",[["class","btn-group"],["dropdown",""]],[[2,"dropup",null],[2,"open",null],[2,"show",null]],null,null,null,null)),t["\u0275prd"](512,null,Xl.f,Xl.f,[]),t["\u0275did"](7,212992,null,0,Xl.c,[t.ElementRef,t.Renderer2,t.ViewContainerRef,Jl.a,Xl.a,Xl.f],null,null),(l()(),t["\u0275eld"](8,0,null,null,3,"button",[["class","btn btn-sm btn-primary"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(l,n,u){var e=!0;return"click"===n&&(e=!1!==l.component.showKeyModal()&&e),e},null,null)),(l()(),t["\u0275eld"](9,0,null,null,0,"i",[["class","fa fa-eye"]],null,null,null,null,null)),(l()(),t["\u0275eld"](10,0,null,null,1,null,null,null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Show"]))],function(l,n){var u=n.component;l(n,1,0,"Keys"),l(n,3,0,u.keys,u.keysColumns,"flex","true","multi"),l(n,7,0)},function(l,n){var u=n.component;l(n,0,0,t["\u0275nov"](n,1).id,t["\u0275nov"](n,1).active,t["\u0275nov"](n,1).addClass),l(n,5,0,t["\u0275nov"](n,7).dropup,t["\u0275nov"](n,7).isOpen,t["\u0275nov"](n,7).isOpen&&t["\u0275nov"](n,7).isBs4),l(n,8,0,!u.keysSelection.hasSingleSelection)})}function _n(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,7,"tabset",[],[[2,"tab-container",null]],null,null,kl.b,kl.a)),t["\u0275did"](1,180224,null,0,vl.d,[vl.e,t.Renderer2,t.ElementRef],null,null),(l()(),t["\u0275eld"](2,0,null,0,3,"tab",[["heading","Details"]],[[1,"id",0],[2,"active",null],[2,"tab-pane",null]],null,null,null,null)),t["\u0275did"](3,212992,null,0,vl.b,[vl.d,t.ElementRef,t.Renderer2],{heading:[0,"heading"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,yn)),t["\u0275did"](5,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,0,1,null,Cn)),t["\u0275did"](7,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(l,n){var u=n.component;l(n,3,0,"Details"),l(n,5,0,u.user),l(n,7,0,u.keys.length)},function(l,n){l(n,0,0,t["\u0275nov"](n,1).clazz),l(n,2,0,t["\u0275nov"](n,3).id,t["\u0275nov"](n,3).active,t["\u0275nov"](n,3).addClass)})}function kn(l){return t["\u0275vid"](0,[t["\u0275pid"](0,zl.a,[_l.a]),t["\u0275pid"](0,Wl.a,[]),t["\u0275pid"](0,q.a,[U.a]),t["\u0275qud"](402653184,1,{accessKeyTpl:0}),t["\u0275qud"](402653184,2,{secretKeyTpl:0}),(l()(),t["\u0275and"](16777216,null,null,1,null,_n)),t["\u0275did"](6,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(l,n){l(n,6,0,n.component.selection.hasSingleSelection)},null)}function Rn(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"cd-rgw-user-details",[],null,null,null,kn,un)),t["\u0275did"](1,638976,null,0,ln,[y.a,nn.b,_l.a],null,null)],function(l,n){l(n,1,0)},null)}var In=t["\u0275ccf"]("cd-rgw-user-details",ln,Rn,{selection:"selection"},{},[]),wn=u("8xTl"),En=u("ANnk"),xn=u("f/UV"),Tn=u("D4zM"),qn=u("OcYo"),Vn=u("SZbH"),Sn=u("KVJa"),Dn=u("Z21x"),Nn=t["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function Fn(l){return t["\u0275vid"](0,[t["\u0275pid"](0,ql.TitleCasePipe,[]),t["\u0275pid"](0,wn.a,[]),(l()(),t["\u0275eld"](2,0,null,null,7,"div",[["class","modal-header"]],null,null,null,null,null)),(l()(),t["\u0275eld"](3,0,null,null,3,"h4",[["class","modal-title pull-left"]],null,null,null,null,null)),(l()(),t["\u0275ted"](4,null,[""," ",""])),t["\u0275ppd"](5,1),t["\u0275ppd"](6,1),(l()(),t["\u0275eld"](7,0,null,null,2,"button",[["aria-label","Close"],["class","close pull-right"],["type","button"]],null,[[null,"click"]],function(l,n,u){var e=!0;return"click"===n&&(e=!1!==l.component.bsModalRef.hide()&&e),e},null,null)),(l()(),t["\u0275eld"](8,0,null,null,1,"span",[["aria-hidden","true"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["\xd7"])),(l()(),t["\u0275eld"](10,0,null,null,33,"div",[["class","modal-body"]],null,null,null,null,null)),(l()(),t["\u0275eld"](11,0,null,null,32,"form",[["class","form-horizontal"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,u){var e=!0;return"submit"===n&&(e=!1!==t["\u0275nov"](l,13).onSubmit(u)&&e),"reset"===n&&(e=!1!==t["\u0275nov"](l,13).onReset()&&e),e},null,null)),t["\u0275did"](12,16384,null,0,d.D,[],null,null),t["\u0275did"](13,4210688,null,0,d.t,[[8,null],[8,null]],null,null),t["\u0275prd"](2048,null,d.d,null,[d.t]),t["\u0275did"](15,16384,null,0,d.s,[[4,d.d]],null,null),(l()(),t["\u0275eld"](16,0,null,null,10,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),t["\u0275eld"](17,0,null,null,1,"label",[["class","control-label col-sm-3"],["for","user"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Username"])),(l()(),t["\u0275eld"](19,0,null,null,7,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](20,0,null,null,6,"input",[["class","form-control"],["id","user"],["name","user"],["type","text"]],[[8,"readOnly",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,u){var e=!0,i=l.component;return"input"===n&&(e=!1!==t["\u0275nov"](l,22)._handleInput(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,22).onTouched()&&e),"compositionstart"===n&&(e=!1!==t["\u0275nov"](l,22)._compositionStart()&&e),"compositionend"===n&&(e=!1!==t["\u0275nov"](l,22)._compositionEnd(u.target.value)&&e),"ngModelChange"===n&&(e=!1!==(i.user=u)&&e),e},null,null)),t["\u0275did"](21,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](22,16384,null,0,d.e,[t.Renderer2,t.ElementRef,[2,d.b]],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.e]),t["\u0275did"](24,671744,null,0,d.u,[[2,d.d],[8,null],[8,null],[6,d.p]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),t["\u0275prd"](2048,null,d.q,null,[d.u]),t["\u0275did"](26,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275eld"](27,0,null,null,16,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),t["\u0275eld"](28,0,null,null,1,"label",[["class","control-label col-sm-3"],["for","secret_key"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Secret key"])),(l()(),t["\u0275eld"](30,0,null,null,13,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](31,0,null,null,12,"div",[["class","input-group"]],null,null,null,null,null)),(l()(),t["\u0275eld"](32,0,null,null,6,"input",[["class","form-control"],["id","secret_key"],["name","secret_key"],["type","password"]],[[8,"readOnly",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,u){var e=!0,i=l.component;return"input"===n&&(e=!1!==t["\u0275nov"](l,34)._handleInput(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,34).onTouched()&&e),"compositionstart"===n&&(e=!1!==t["\u0275nov"](l,34)._compositionStart()&&e),"compositionend"===n&&(e=!1!==t["\u0275nov"](l,34)._compositionEnd(u.target.value)&&e),"ngModelChange"===n&&(e=!1!==(i.secret_key=u)&&e),e},null,null)),t["\u0275did"](33,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](34,16384,null,0,d.e,[t.Renderer2,t.ElementRef,[2,d.b]],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.e]),t["\u0275did"](36,671744,null,0,d.u,[[2,d.d],[8,null],[8,null],[6,d.p]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),t["\u0275prd"](2048,null,d.q,null,[d.u]),t["\u0275did"](38,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275eld"](39,0,null,null,4,"span",[["class","input-group-btn"]],null,null,null,null,null)),(l()(),t["\u0275eld"](40,0,null,null,1,"button",[["cdPasswordButton","secret_key"],["class","btn btn-default"],["type","button"]],null,[[null,"click"]],function(l,n,u){var e=!0;return"click"===n&&(e=!1!==t["\u0275nov"](l,41).onClick()&&e),e},null,null)),t["\u0275did"](41,81920,null,0,Tn.a,[t.ElementRef,t.Renderer2],{cdPasswordButton:[0,"cdPasswordButton"]},null),(l()(),t["\u0275eld"](42,0,null,null,1,"button",[["cdCopy2ClipboardButton","secret_key"],["class","btn btn-default"],["type","button"]],null,[[null,"click"]],function(l,n,u){var e=!0;return"click"===n&&(e=!1!==t["\u0275nov"](l,43).onClick()&&e),e},null,null)),t["\u0275did"](43,81920,null,0,qn.a,[t.ElementRef,t.Renderer2,Vn.j],{cdCopy2ClipboardButton:[0,"cdCopy2ClipboardButton"]},null),(l()(),t["\u0275eld"](44,0,null,null,2,"div",[["class","modal-footer"]],null,null,null,null,null)),(l()(),t["\u0275eld"](45,0,null,null,1,"cd-back-button",[],null,null,null,Sn.b,Sn.a)),t["\u0275did"](46,49152,null,0,Dn.a,[ql.Location,i.b],{back:[0,"back"]},null)],function(l,n){var u=n.component;l(n,24,0,"user",u.user),l(n,36,0,"secret_key",u.secret_key),l(n,41,0,"secret_key"),l(n,43,0,"secret_key"),l(n,46,0,u.bsModalRef.hide)},function(l,n){var u=n.component,e=t["\u0275unv"](n,4,0,l(n,5,0,t["\u0275nov"](n,0),u.action)),i=t["\u0275unv"](n,4,1,l(n,6,0,t["\u0275nov"](n,1),u.resource));l(n,4,0,e,i),l(n,11,0,t["\u0275nov"](n,15).ngClassUntouched,t["\u0275nov"](n,15).ngClassTouched,t["\u0275nov"](n,15).ngClassPristine,t["\u0275nov"](n,15).ngClassDirty,t["\u0275nov"](n,15).ngClassValid,t["\u0275nov"](n,15).ngClassInvalid,t["\u0275nov"](n,15).ngClassPending),l(n,20,0,!0,t["\u0275nov"](n,26).ngClassUntouched,t["\u0275nov"](n,26).ngClassTouched,t["\u0275nov"](n,26).ngClassPristine,t["\u0275nov"](n,26).ngClassDirty,t["\u0275nov"](n,26).ngClassValid,t["\u0275nov"](n,26).ngClassInvalid,t["\u0275nov"](n,26).ngClassPending),l(n,32,0,!0,t["\u0275nov"](n,38).ngClassUntouched,t["\u0275nov"](n,38).ngClassTouched,t["\u0275nov"](n,38).ngClassPristine,t["\u0275nov"](n,38).ngClassDirty,t["\u0275nov"](n,38).ngClassValid,t["\u0275nov"](n,38).ngClassInvalid,t["\u0275nov"](n,38).ngClassPending)})}function jn(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"cd-rgw-user-swift-key-modal",[],null,null,null,Fn,Nn)),t["\u0275did"](1,49152,null,0,$,[nn.a,_l.a,i.b],null,null)],null,null)}var Pn=t["\u0275ccf"]("cd-rgw-user-swift-key-modal",$,jn,{},{},[]),zn=u("IZUe"),An=u("gp3X"),Bn=u("sb0X"),Un=t["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function Mn(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,0,"span",[["class","required"]],null,null,null,null,null))],null,null)}function On(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,6,"input",[["class","form-control"],["formControlName","user"],["id","user"],["type","text"]],[[8,"readOnly",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,u){var e=!0;return"input"===n&&(e=!1!==t["\u0275nov"](l,2)._handleInput(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,2).onTouched()&&e),"compositionstart"===n&&(e=!1!==t["\u0275nov"](l,2)._compositionStart()&&e),"compositionend"===n&&(e=!1!==t["\u0275nov"](l,2)._compositionEnd(u.target.value)&&e),e},null,null)),t["\u0275did"](1,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](2,16384,null,0,d.e,[t.Renderer2,t.ElementRef,[2,d.b]],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.e]),t["\u0275did"](4,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](6,16384,null,0,d.r,[[4,d.q]],null,null)],function(l,n){l(n,4,0,"user")},function(l,n){l(n,0,0,!0,t["\u0275nov"](n,6).ngClassUntouched,t["\u0275nov"](n,6).ngClassTouched,t["\u0275nov"](n,6).ngClassPristine,t["\u0275nov"](n,6).ngClassDirty,t["\u0275nov"](n,6).ngClassValid,t["\u0275nov"](n,6).ngClassInvalid,t["\u0275nov"](n,6).ngClassPending)})}function Ln(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,3,"option",[],null,null,null,null,null)),t["\u0275did"](1,147456,null,0,d.v,[t.ElementRef,t.Renderer2,[2,d.z]],{ngValue:[0,"ngValue"]},null),t["\u0275did"](2,147456,null,0,d.G,[t.ElementRef,t.Renderer2,[8,null]],{ngValue:[0,"ngValue"]},null),(l()(),t["\u0275ted"](-1,null,["-- Select a username --"]))],function(l,n){l(n,1,0,null),l(n,2,0,null)},null)}function Gn(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,3,"option",[],null,null,null,null,null)),t["\u0275did"](1,147456,null,0,d.v,[t.ElementRef,t.Renderer2,[2,d.z]],{value:[0,"value"]},null),t["\u0275did"](2,147456,null,0,d.G,[t.ElementRef,t.Renderer2,[8,null]],{value:[0,"value"]},null),(l()(),t["\u0275ted"](3,null,["",""]))],function(l,n){l(n,1,0,n.context.$implicit),l(n,2,0,n.context.$implicit)},function(l,n){l(n,3,0,n.context.$implicit)})}function Kn(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,11,"select",[["autofocus",""],["class","form-control"],["formControlName","user"],["id","user"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"blur"]],function(l,n,u){var e=!0;return"change"===n&&(e=!1!==t["\u0275nov"](l,3).onChange(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,3).onTouched()&&e),e},null,null)),t["\u0275did"](1,4210688,null,0,zn.a,[t.ElementRef],null,null),t["\u0275did"](2,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](3,16384,null,0,d.z,[t.Renderer2,t.ElementRef],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.z]),t["\u0275did"](5,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](7,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275and"](16777216,null,null,1,null,Ln)),t["\u0275did"](9,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Gn)),t["\u0275did"](11,278528,null,0,ql.NgForOf,[t.ViewContainerRef,t.TemplateRef,t.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(l,n){var u=n.component;l(n,5,0,"user"),l(n,9,0,null!==u.userCandidates),l(n,11,0,u.userCandidates)},function(l,n){l(n,0,0,t["\u0275nov"](n,7).ngClassUntouched,t["\u0275nov"](n,7).ngClassTouched,t["\u0275nov"](n,7).ngClassPristine,t["\u0275nov"](n,7).ngClassDirty,t["\u0275nov"](n,7).ngClassValid,t["\u0275nov"](n,7).ngClassInvalid,t["\u0275nov"](n,7).ngClassPending)})}function $n(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["This field is required."]))],null,null)}function Zn(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,11,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,10,"div",[["class","col-sm-offset-3 col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](2,0,null,null,9,"div",[["class","checkbox checkbox-primary"]],null,null,null,null,null)),(l()(),t["\u0275eld"](3,0,null,null,6,"input",[["formControlName","generate_key"],["id","generate_key"],["type","checkbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"blur"]],function(l,n,u){var e=!0;return"change"===n&&(e=!1!==t["\u0275nov"](l,5).onChange(u.target.checked)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,5).onTouched()&&e),e},null,null)),t["\u0275did"](4,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](5,16384,null,0,d.c,[t.Renderer2,t.ElementRef],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.c]),t["\u0275did"](7,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](9,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275eld"](10,0,null,null,1,"label",[["for","generate_key"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Auto-generate key"]))],function(l,n){l(n,7,0,"generate_key")},function(l,n){l(n,3,0,t["\u0275nov"](n,9).ngClassUntouched,t["\u0275nov"](n,9).ngClassTouched,t["\u0275nov"](n,9).ngClassPristine,t["\u0275nov"](n,9).ngClassDirty,t["\u0275nov"](n,9).ngClassValid,t["\u0275nov"](n,9).ngClassInvalid,t["\u0275nov"](n,9).ngClassPending)})}function Qn(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,0,"span",[["class","required"]],null,null,null,null,null))],null,null)}function Hn(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["This field is required."]))],null,null)}function Yn(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),t["\u0275did"](1,278528,null,0,ql.NgClass,[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](2,{"has-error":0}),(l()(),t["\u0275eld"](3,0,null,null,4,"label",[["class","control-label col-sm-3"],["for","access_key"]],null,null,null,null,null)),(l()(),t["\u0275eld"](4,0,null,null,1,null,null,null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Access key"])),(l()(),t["\u0275and"](16777216,null,null,1,null,Qn)),t["\u0275did"](7,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](8,0,null,null,15,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](9,0,null,null,12,"div",[["class","input-group"]],null,null,null,null,null)),(l()(),t["\u0275eld"](10,0,null,null,6,"input",[["class","form-control"],["formControlName","access_key"],["id","access_key"],["type","password"]],[[8,"readOnly",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,u){var e=!0;return"input"===n&&(e=!1!==t["\u0275nov"](l,12)._handleInput(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,12).onTouched()&&e),"compositionstart"===n&&(e=!1!==t["\u0275nov"](l,12)._compositionStart()&&e),"compositionend"===n&&(e=!1!==t["\u0275nov"](l,12)._compositionEnd(u.target.value)&&e),e},null,null)),t["\u0275did"](11,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](12,16384,null,0,d.e,[t.Renderer2,t.ElementRef,[2,d.b]],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.e]),t["\u0275did"](14,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](16,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275eld"](17,0,null,null,4,"span",[["class","input-group-btn"]],null,null,null,null,null)),(l()(),t["\u0275eld"](18,0,null,null,1,"button",[["cdPasswordButton","access_key"],["class","btn btn-default"],["type","button"]],null,[[null,"click"]],function(l,n,u){var e=!0;return"click"===n&&(e=!1!==t["\u0275nov"](l,19).onClick()&&e),e},null,null)),t["\u0275did"](19,81920,null,0,Tn.a,[t.ElementRef,t.Renderer2],{cdPasswordButton:[0,"cdPasswordButton"]},null),(l()(),t["\u0275eld"](20,0,null,null,1,"button",[["cdCopy2ClipboardButton","access_key"],["class","btn btn-default"],["type","button"]],null,[[null,"click"]],function(l,n,u){var e=!0;return"click"===n&&(e=!1!==t["\u0275nov"](l,21).onClick()&&e),e},null,null)),t["\u0275did"](21,81920,null,0,qn.a,[t.ElementRef,t.Renderer2,Vn.j],{cdCopy2ClipboardButton:[0,"cdCopy2ClipboardButton"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Hn)),t["\u0275did"](23,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(l,n){var u=n.component,e=l(n,2,0,u.formGroup.showError("access_key",t["\u0275nov"](n.parent,12)));l(n,1,0,"form-group",e),l(n,7,0,!u.viewing),l(n,14,0,"access_key"),l(n,19,0,"access_key"),l(n,21,0,"access_key"),l(n,23,0,u.formGroup.showError("access_key",t["\u0275nov"](n.parent,12),"required"))},function(l,n){l(n,10,0,n.component.viewing,t["\u0275nov"](n,16).ngClassUntouched,t["\u0275nov"](n,16).ngClassTouched,t["\u0275nov"](n,16).ngClassPristine,t["\u0275nov"](n,16).ngClassDirty,t["\u0275nov"](n,16).ngClassValid,t["\u0275nov"](n,16).ngClassInvalid,t["\u0275nov"](n,16).ngClassPending)})}function Xn(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,0,"span",[["class","required"]],null,null,null,null,null))],null,null)}function Jn(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["This field is required."]))],null,null)}function Wn(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),t["\u0275did"](1,278528,null,0,ql.NgClass,[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](2,{"has-error":0}),(l()(),t["\u0275eld"](3,0,null,null,4,"label",[["class","control-label col-sm-3"],["for","secret_key"]],null,null,null,null,null)),(l()(),t["\u0275eld"](4,0,null,null,1,null,null,null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Secret key"])),(l()(),t["\u0275and"](16777216,null,null,1,null,Xn)),t["\u0275did"](7,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](8,0,null,null,15,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](9,0,null,null,12,"div",[["class","input-group"]],null,null,null,null,null)),(l()(),t["\u0275eld"](10,0,null,null,6,"input",[["class","form-control"],["formControlName","secret_key"],["id","secret_key"],["type","password"]],[[8,"readOnly",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,u){var e=!0;return"input"===n&&(e=!1!==t["\u0275nov"](l,12)._handleInput(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,12).onTouched()&&e),"compositionstart"===n&&(e=!1!==t["\u0275nov"](l,12)._compositionStart()&&e),"compositionend"===n&&(e=!1!==t["\u0275nov"](l,12)._compositionEnd(u.target.value)&&e),e},null,null)),t["\u0275did"](11,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](12,16384,null,0,d.e,[t.Renderer2,t.ElementRef,[2,d.b]],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.e]),t["\u0275did"](14,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](16,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275eld"](17,0,null,null,4,"span",[["class","input-group-btn"]],null,null,null,null,null)),(l()(),t["\u0275eld"](18,0,null,null,1,"button",[["cdPasswordButton","secret_key"],["class","btn btn-default"],["type","button"]],null,[[null,"click"]],function(l,n,u){var e=!0;return"click"===n&&(e=!1!==t["\u0275nov"](l,19).onClick()&&e),e},null,null)),t["\u0275did"](19,81920,null,0,Tn.a,[t.ElementRef,t.Renderer2],{cdPasswordButton:[0,"cdPasswordButton"]},null),(l()(),t["\u0275eld"](20,0,null,null,1,"button",[["cdCopy2ClipboardButton","secret_key"],["class","btn btn-default"],["type","button"]],null,[[null,"click"]],function(l,n,u){var e=!0;return"click"===n&&(e=!1!==t["\u0275nov"](l,21).onClick()&&e),e},null,null)),t["\u0275did"](21,81920,null,0,qn.a,[t.ElementRef,t.Renderer2,Vn.j],{cdCopy2ClipboardButton:[0,"cdCopy2ClipboardButton"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Jn)),t["\u0275did"](23,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(l,n){var u=n.component,e=l(n,2,0,u.formGroup.showError("secret_key",t["\u0275nov"](n.parent,12)));l(n,1,0,"form-group",e),l(n,7,0,!u.viewing),l(n,14,0,"secret_key"),l(n,19,0,"secret_key"),l(n,21,0,"secret_key"),l(n,23,0,u.formGroup.showError("secret_key",t["\u0275nov"](n.parent,12),"required"))},function(l,n){l(n,10,0,n.component.viewing,t["\u0275nov"](n,16).ngClassUntouched,t["\u0275nov"](n,16).ngClassTouched,t["\u0275nov"](n,16).ngClassPristine,t["\u0275nov"](n,16).ngClassDirty,t["\u0275nov"](n,16).ngClassValid,t["\u0275nov"](n,16).ngClassInvalid,t["\u0275nov"](n,16).ngClassPending)})}function lu(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,4,"cd-submit-button",[],null,[[null,"submitAction"]],function(l,n,u){var e=!0;return"submitAction"===n&&(e=!1!==l.component.onSubmit()&&e),e},An.b,An.a)),t["\u0275did"](1,114688,null,0,Bn.a,[t.ElementRef],{form:[0,"form"]},{submitAction:"submitAction"}),(l()(),t["\u0275ted"](2,0,[""," ",""])),t["\u0275ppd"](3,1),t["\u0275ppd"](4,1)],function(l,n){l(n,1,0,n.component.formGroup)},function(l,n){var u=n.component,e=t["\u0275unv"](n,2,0,l(n,3,0,t["\u0275nov"](n.parent,0),u.action)),i=t["\u0275unv"](n,2,1,l(n,4,0,t["\u0275nov"](n.parent,1),u.resource));l(n,2,0,e,i)})}function nu(l){return t["\u0275vid"](0,[t["\u0275pid"](0,ql.TitleCasePipe,[]),t["\u0275pid"](0,wn.a,[]),(l()(),t["\u0275eld"](2,0,null,null,7,"div",[["class","modal-header"]],null,null,null,null,null)),(l()(),t["\u0275eld"](3,0,null,null,3,"h4",[["class","modal-title pull-left"]],null,null,null,null,null)),(l()(),t["\u0275ted"](4,null,[""," ",""])),t["\u0275ppd"](5,1),t["\u0275ppd"](6,1),(l()(),t["\u0275eld"](7,0,null,null,2,"button",[["aria-label","Close"],["class","close pull-right"],["type","button"]],null,[[null,"click"]],function(l,n,u){var e=!0;return"click"===n&&(e=!1!==l.component.bsModalRef.hide()&&e),e},null,null)),(l()(),t["\u0275eld"](8,0,null,null,1,"span",[["aria-hidden","true"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["\xd7"])),(l()(),t["\u0275eld"](10,0,null,null,31,"form",[["class","form-horizontal"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,u){var e=!0;return"submit"===n&&(e=!1!==t["\u0275nov"](l,12).onSubmit(u)&&e),"reset"===n&&(e=!1!==t["\u0275nov"](l,12).onReset()&&e),e},null,null)),t["\u0275did"](11,16384,null,0,d.D,[],null,null),t["\u0275did"](12,540672,[["frm",4]],0,d.l,[[8,null],[8,null]],{form:[0,"form"]},null),t["\u0275prd"](2048,null,d.d,null,[d.l]),t["\u0275did"](14,16384,null,0,d.s,[[4,d.d]],null,null),(l()(),t["\u0275eld"](15,0,null,null,21,"div",[["class","modal-body"]],null,null,null,null,null)),(l()(),t["\u0275eld"](16,0,null,null,14,"div",[["class","form-group"]],null,null,null,null,null)),t["\u0275did"](17,278528,null,0,ql.NgClass,[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](18,{"has-error":0}),(l()(),t["\u0275eld"](19,0,null,null,4,"label",[["class","control-label col-sm-3"],["for","user"]],null,null,null,null,null)),(l()(),t["\u0275eld"](20,0,null,null,1,null,null,null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Username"])),(l()(),t["\u0275and"](16777216,null,null,1,null,Mn)),t["\u0275did"](23,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](24,0,null,null,6,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275and"](16777216,null,null,1,null,On)),t["\u0275did"](26,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Kn)),t["\u0275did"](28,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,$n)),t["\u0275did"](30,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Zn)),t["\u0275did"](32,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Yn)),t["\u0275did"](34,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Wn)),t["\u0275did"](36,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](37,0,null,null,4,"div",[["class","modal-footer"]],null,null,null,null,null)),(l()(),t["\u0275and"](16777216,null,null,1,null,lu)),t["\u0275did"](39,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](40,0,null,null,1,"cd-back-button",[],null,null,null,Sn.b,Sn.a)),t["\u0275did"](41,49152,null,0,Dn.a,[ql.Location,i.b],{back:[0,"back"]},null)],function(l,n){var u=n.component;l(n,12,0,u.formGroup);var e=l(n,18,0,u.formGroup.showError("user",t["\u0275nov"](n,12)));l(n,17,0,"form-group",e),l(n,23,0,!u.viewing),l(n,26,0,u.viewing),l(n,28,0,!u.viewing),l(n,30,0,u.formGroup.showError("user",t["\u0275nov"](n,12),"required")),l(n,32,0,!u.viewing),l(n,34,0,!u.formGroup.getValue("generate_key")),l(n,36,0,!u.formGroup.getValue("generate_key")),l(n,39,0,!u.viewing),l(n,41,0,u.bsModalRef.hide)},function(l,n){var u=n.component,e=t["\u0275unv"](n,4,0,l(n,5,0,t["\u0275nov"](n,0),u.action)),i=t["\u0275unv"](n,4,1,l(n,6,0,t["\u0275nov"](n,1),u.resource));l(n,4,0,e,i),l(n,10,0,t["\u0275nov"](n,14).ngClassUntouched,t["\u0275nov"](n,14).ngClassTouched,t["\u0275nov"](n,14).ngClassPristine,t["\u0275nov"](n,14).ngClassDirty,t["\u0275nov"](n,14).ngClassValid,t["\u0275nov"](n,14).ngClassInvalid,t["\u0275nov"](n,14).ngClassPending)})}function uu(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"cd-rgw-user-s3-key-modal",[],null,null,null,nu,Un)),t["\u0275did"](1,49152,null,0,L,[_.a,nn.a,_l.a,i.b],null,null)],null,null)}var eu=t["\u0275ccf"]("cd-rgw-user-s3-key-modal",L,uu,{},{submitAction:"submitAction"},[]),tu=t["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function iu(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,0,"span",[["class","required"]],null,null,null,null,null))],null,null)}function ou(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,6,"input",[["class","form-control"],["formControlName","type"],["id","type"],["type","text"]],[[8,"readOnly",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,u){var e=!0;return"input"===n&&(e=!1!==t["\u0275nov"](l,2)._handleInput(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,2).onTouched()&&e),"compositionstart"===n&&(e=!1!==t["\u0275nov"](l,2)._compositionStart()&&e),"compositionend"===n&&(e=!1!==t["\u0275nov"](l,2)._compositionEnd(u.target.value)&&e),e},null,null)),t["\u0275did"](1,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](2,16384,null,0,d.e,[t.Renderer2,t.ElementRef,[2,d.b]],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.e]),t["\u0275did"](4,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](6,16384,null,0,d.r,[[4,d.q]],null,null)],function(l,n){l(n,4,0,"type")},function(l,n){l(n,0,0,!0,t["\u0275nov"](n,6).ngClassUntouched,t["\u0275nov"](n,6).ngClassTouched,t["\u0275nov"](n,6).ngClassPristine,t["\u0275nov"](n,6).ngClassDirty,t["\u0275nov"](n,6).ngClassValid,t["\u0275nov"](n,6).ngClassInvalid,t["\u0275nov"](n,6).ngClassPending)})}function au(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,3,"option",[],null,null,null,null,null)),t["\u0275did"](1,147456,null,0,d.v,[t.ElementRef,t.Renderer2,[2,d.z]],{ngValue:[0,"ngValue"]},null),t["\u0275did"](2,147456,null,0,d.G,[t.ElementRef,t.Renderer2,[8,null]],{ngValue:[0,"ngValue"]},null),(l()(),t["\u0275ted"](-1,null,["-- Select a type --"]))],function(l,n){l(n,1,0,null),l(n,2,0,null)},null)}function ru(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,3,"option",[],null,null,null,null,null)),t["\u0275did"](1,147456,null,0,d.v,[t.ElementRef,t.Renderer2,[2,d.z]],{value:[0,"value"]},null),t["\u0275did"](2,147456,null,0,d.G,[t.ElementRef,t.Renderer2,[8,null]],{value:[0,"value"]},null),(l()(),t["\u0275ted"](3,null,["",""]))],function(l,n){l(n,1,0,n.context.$implicit),l(n,2,0,n.context.$implicit)},function(l,n){l(n,3,0,n.context.$implicit)})}function su(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,11,"select",[["autofocus",""],["class","form-control"],["formControlName","type"],["id","type"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"blur"]],function(l,n,u){var e=!0;return"change"===n&&(e=!1!==t["\u0275nov"](l,3).onChange(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,3).onTouched()&&e),e},null,null)),t["\u0275did"](1,4210688,null,0,zn.a,[t.ElementRef],null,null),t["\u0275did"](2,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](3,16384,null,0,d.z,[t.Renderer2,t.ElementRef],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.z]),t["\u0275did"](5,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](7,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275and"](16777216,null,null,1,null,au)),t["\u0275did"](9,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,ru)),t["\u0275did"](11,278528,null,0,ql.NgForOf,[t.ViewContainerRef,t.TemplateRef,t.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(l,n){var u=n.component;l(n,5,0,"type"),l(n,9,0,null!==u.types),l(n,11,0,u.types)},function(l,n){l(n,0,0,t["\u0275nov"](n,7).ngClassUntouched,t["\u0275nov"](n,7).ngClassTouched,t["\u0275nov"](n,7).ngClassPristine,t["\u0275nov"](n,7).ngClassDirty,t["\u0275nov"](n,7).ngClassValid,t["\u0275nov"](n,7).ngClassInvalid,t["\u0275nov"](n,7).ngClassPending)})}function du(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["This field is required."]))],null,null)}function cu(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,3,"option",[],null,null,null,null,null)),t["\u0275did"](1,147456,null,0,d.v,[t.ElementRef,t.Renderer2,[2,d.z]],{value:[0,"value"]},null),t["\u0275did"](2,147456,null,0,d.G,[t.ElementRef,t.Renderer2,[8,null]],{value:[0,"value"]},null),(l()(),t["\u0275ted"](3,null,[" "," "]))],function(l,n){l(n,1,0,n.context.$implicit),l(n,2,0,n.context.$implicit)},function(l,n){l(n,3,0,n.context.$implicit)})}function pu(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["This field is required."]))],null,null)}function fu(l){return t["\u0275vid"](0,[t["\u0275pid"](0,ql.TitleCasePipe,[]),t["\u0275pid"](0,wn.a,[]),(l()(),t["\u0275eld"](2,0,null,null,7,"div",[["class","modal-header"]],null,null,null,null,null)),(l()(),t["\u0275eld"](3,0,null,null,3,"h4",[["class","modal-title pull-left"]],null,null,null,null,null)),(l()(),t["\u0275ted"](4,null,[""," ",""])),t["\u0275ppd"](5,1),t["\u0275ppd"](6,1),(l()(),t["\u0275eld"](7,0,null,null,2,"button",[["aria-label","Close"],["class","close pull-right"],["type","button"]],null,[[null,"click"]],function(l,n,u){var e=!0;return"click"===n&&(e=!1!==l.component.bsModalRef.hide()&&e),e},null,null)),(l()(),t["\u0275eld"](8,0,null,null,1,"span",[["aria-hidden","true"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["\xd7"])),(l()(),t["\u0275eld"](10,0,null,null,52,"form",[["class","form-horizontal"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,u){var e=!0;return"submit"===n&&(e=!1!==t["\u0275nov"](l,12).onSubmit(u)&&e),"reset"===n&&(e=!1!==t["\u0275nov"](l,12).onReset()&&e),e},null,null)),t["\u0275did"](11,16384,null,0,d.D,[],null,null),t["\u0275did"](12,540672,[["frm",4]],0,d.l,[[8,null],[8,null]],{form:[0,"form"]},null),t["\u0275prd"](2048,null,d.d,null,[d.l]),t["\u0275did"](14,16384,null,0,d.s,[[4,d.d]],null,null),(l()(),t["\u0275eld"](15,0,null,null,39,"div",[["class","modal-body"]],null,null,null,null,null)),(l()(),t["\u0275eld"](16,0,null,null,14,"div",[["class","form-group"]],null,null,null,null,null)),t["\u0275did"](17,278528,null,0,ql.NgClass,[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](18,{"has-error":0}),(l()(),t["\u0275eld"](19,0,null,null,4,"label",[["class","control-label col-sm-3"],["for","type"]],null,null,null,null,null)),(l()(),t["\u0275eld"](20,0,null,null,1,null,null,null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Type"])),(l()(),t["\u0275and"](16777216,null,null,1,null,iu)),t["\u0275did"](23,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](24,0,null,null,6,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275and"](16777216,null,null,1,null,ou)),t["\u0275did"](26,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,su)),t["\u0275did"](28,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,du)),t["\u0275did"](30,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](31,0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),t["\u0275did"](32,278528,null,0,ql.NgClass,[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](33,{"has-error":0}),(l()(),t["\u0275eld"](34,0,null,null,3,"label",[["class","control-label col-sm-3"],["for","perm"]],null,null,null,null,null)),(l()(),t["\u0275eld"](35,0,null,null,1,null,null,null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Permission"])),(l()(),t["\u0275eld"](37,0,null,null,0,"span",[["class","required"]],null,null,null,null,null)),(l()(),t["\u0275eld"](38,0,null,null,16,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](39,0,null,null,13,"select",[["class","form-control"],["formControlName","perm"],["id","perm"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"blur"]],function(l,n,u){var e=!0;return"change"===n&&(e=!1!==t["\u0275nov"](l,41).onChange(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,41).onTouched()&&e),e},null,null)),t["\u0275did"](40,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](41,16384,null,0,d.z,[t.Renderer2,t.ElementRef],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.z]),t["\u0275did"](43,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](45,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275eld"](46,0,null,null,3,"option",[],null,null,null,null,null)),t["\u0275did"](47,147456,null,0,d.v,[t.ElementRef,t.Renderer2,[2,d.z]],{ngValue:[0,"ngValue"]},null),t["\u0275did"](48,147456,null,0,d.G,[t.ElementRef,t.Renderer2,[8,null]],{ngValue:[0,"ngValue"]},null),(l()(),t["\u0275ted"](-1,null,["-- Select a permission --"])),(l()(),t["\u0275and"](16777216,null,null,2,null,cu)),t["\u0275did"](51,278528,null,0,ql.NgForOf,[t.ViewContainerRef,t.TemplateRef,t.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),t["\u0275pad"](52,3),(l()(),t["\u0275and"](16777216,null,null,1,null,pu)),t["\u0275did"](54,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](55,0,null,null,7,"div",[["class","modal-footer"]],null,null,null,null,null)),(l()(),t["\u0275eld"](56,0,null,null,4,"cd-submit-button",[],null,[[null,"submitAction"]],function(l,n,u){var e=!0;return"submitAction"===n&&(e=!1!==l.component.onSubmit()&&e),e},An.b,An.a)),t["\u0275did"](57,114688,null,0,Bn.a,[t.ElementRef],{form:[0,"form"]},{submitAction:"submitAction"}),(l()(),t["\u0275ted"](58,0,[""," ",""])),t["\u0275ppd"](59,1),t["\u0275ppd"](60,1),(l()(),t["\u0275eld"](61,0,null,null,1,"cd-back-button",[],null,null,null,Sn.b,Sn.a)),t["\u0275did"](62,49152,null,0,Dn.a,[ql.Location,i.b],{back:[0,"back"]},null)],function(l,n){var u=n.component;l(n,12,0,u.formGroup);var e=l(n,18,0,u.formGroup.showError("type",t["\u0275nov"](n,12)));l(n,17,0,"form-group",e),l(n,23,0,!u.editing),l(n,26,0,u.editing),l(n,28,0,!u.editing),l(n,30,0,u.formGroup.showError("type",t["\u0275nov"](n,12),"required"));var i=l(n,33,0,u.formGroup.showError("perm",t["\u0275nov"](n,12)));l(n,32,0,"form-group",i),l(n,43,0,"perm"),l(n,47,0,null),l(n,48,0,null);var o=l(n,52,0,"read","write","*");l(n,51,0,o),l(n,54,0,u.formGroup.showError("perm",t["\u0275nov"](n,12),"required")),l(n,57,0,u.formGroup),l(n,62,0,u.bsModalRef.hide)},function(l,n){var u=n.component,e=t["\u0275unv"](n,4,0,l(n,5,0,t["\u0275nov"](n,0),u.action)),i=t["\u0275unv"](n,4,1,l(n,6,0,t["\u0275nov"](n,1),u.resource));l(n,4,0,e,i),l(n,10,0,t["\u0275nov"](n,14).ngClassUntouched,t["\u0275nov"](n,14).ngClassTouched,t["\u0275nov"](n,14).ngClassPristine,t["\u0275nov"](n,14).ngClassDirty,t["\u0275nov"](n,14).ngClassValid,t["\u0275nov"](n,14).ngClassInvalid,t["\u0275nov"](n,14).ngClassPending),l(n,39,0,t["\u0275nov"](n,45).ngClassUntouched,t["\u0275nov"](n,45).ngClassTouched,t["\u0275nov"](n,45).ngClassPristine,t["\u0275nov"](n,45).ngClassDirty,t["\u0275nov"](n,45).ngClassValid,t["\u0275nov"](n,45).ngClassInvalid,t["\u0275nov"](n,45).ngClassPending);var o=t["\u0275unv"](n,58,0,l(n,59,0,t["\u0275nov"](n,0),u.action)),a=t["\u0275unv"](n,58,1,l(n,60,0,t["\u0275nov"](n,1),u.resource));l(n,58,0,o,a)})}function mu(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"cd-rgw-user-capability-modal",[],null,null,null,fu,tu)),t["\u0275did"](1,49152,null,0,O,[_.a,nn.a,_l.a,i.b],null,null)],null,null)}var gu=t["\u0275ccf"]("cd-rgw-user-capability-modal",O,mu,{},{submitAction:"submitAction"},[]),vu=t["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function bu(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,0,"span",[["class","required"]],null,null,null,null,null))],null,null)}function hu(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["This field is required."]))],null,null)}function yu(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["The chosen subuser ID is already in use."]))],null,null)}function Cu(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,3,"option",[],null,null,null,null,null)),t["\u0275did"](1,147456,null,0,d.v,[t.ElementRef,t.Renderer2,[2,d.z]],{value:[0,"value"]},null),t["\u0275did"](2,147456,null,0,d.G,[t.ElementRef,t.Renderer2,[8,null]],{value:[0,"value"]},null),(l()(),t["\u0275ted"](3,null,[" "," "]))],function(l,n){l(n,1,0,n.context.$implicit),l(n,2,0,n.context.$implicit)},function(l,n){l(n,3,0,n.context.$implicit)})}function _u(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["This field is required."]))],null,null)}function ku(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["This field is required."]))],null,null)}function Ru(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,22,"div",[["class","form-group"]],null,null,null,null,null)),t["\u0275did"](1,278528,null,0,ql.NgClass,[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](2,{"has-error":0}),(l()(),t["\u0275eld"](3,0,null,null,3,"label",[["class","control-label col-sm-3"],["for","secret_key"]],null,null,null,null,null)),(l()(),t["\u0275eld"](4,0,null,null,1,null,null,null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Secret key"])),(l()(),t["\u0275eld"](6,0,null,null,0,"span",[["class","required"]],null,null,null,null,null)),(l()(),t["\u0275eld"](7,0,null,null,15,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](8,0,null,null,12,"div",[["class","input-group"]],null,null,null,null,null)),(l()(),t["\u0275eld"](9,0,null,null,6,"input",[["class","form-control"],["formControlName","secret_key"],["id","secret_key"],["type","password"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,u){var e=!0;return"input"===n&&(e=!1!==t["\u0275nov"](l,11)._handleInput(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,11).onTouched()&&e),"compositionstart"===n&&(e=!1!==t["\u0275nov"](l,11)._compositionStart()&&e),"compositionend"===n&&(e=!1!==t["\u0275nov"](l,11)._compositionEnd(u.target.value)&&e),e},null,null)),t["\u0275did"](10,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](11,16384,null,0,d.e,[t.Renderer2,t.ElementRef,[2,d.b]],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.e]),t["\u0275did"](13,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](15,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275eld"](16,0,null,null,4,"span",[["class","input-group-btn"]],null,null,null,null,null)),(l()(),t["\u0275eld"](17,0,null,null,1,"button",[["cdPasswordButton","secret_key"],["class","btn btn-default"],["type","button"]],null,[[null,"click"]],function(l,n,u){var e=!0;return"click"===n&&(e=!1!==t["\u0275nov"](l,18).onClick()&&e),e},null,null)),t["\u0275did"](18,81920,null,0,Tn.a,[t.ElementRef,t.Renderer2],{cdPasswordButton:[0,"cdPasswordButton"]},null),(l()(),t["\u0275eld"](19,0,null,null,1,"button",[["cdCopy2ClipboardButton","secret_key"],["class","btn btn-default"],["type","button"]],null,[[null,"click"]],function(l,n,u){var e=!0;return"click"===n&&(e=!1!==t["\u0275nov"](l,20).onClick()&&e),e},null,null)),t["\u0275did"](20,81920,null,0,qn.a,[t.ElementRef,t.Renderer2,Vn.j],{cdCopy2ClipboardButton:[0,"cdCopy2ClipboardButton"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,ku)),t["\u0275did"](22,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(l,n){var u=n.component,e=l(n,2,0,u.formGroup.showError("secret_key",t["\u0275nov"](n.parent.parent,12)));l(n,1,0,"form-group",e),l(n,13,0,"secret_key"),l(n,18,0,"secret_key"),l(n,20,0,"secret_key"),l(n,22,0,u.formGroup.showError("secret_key",t["\u0275nov"](n.parent.parent,12),"required"))},function(l,n){l(n,9,0,t["\u0275nov"](n,15).ngClassUntouched,t["\u0275nov"](n,15).ngClassTouched,t["\u0275nov"](n,15).ngClassPristine,t["\u0275nov"](n,15).ngClassDirty,t["\u0275nov"](n,15).ngClassValid,t["\u0275nov"](n,15).ngClassInvalid,t["\u0275nov"](n,15).ngClassPending)})}function Iu(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,16,"fieldset",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,1,"legend",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Swift key"])),(l()(),t["\u0275eld"](3,0,null,null,11,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),t["\u0275eld"](4,0,null,null,10,"div",[["class","col-sm-offset-3 col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](5,0,null,null,9,"div",[["class","checkbox checkbox-primary"]],null,null,null,null,null)),(l()(),t["\u0275eld"](6,0,null,null,6,"input",[["formControlName","generate_secret"],["id","generate_secret"],["type","checkbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"blur"]],function(l,n,u){var e=!0;return"change"===n&&(e=!1!==t["\u0275nov"](l,8).onChange(u.target.checked)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,8).onTouched()&&e),e},null,null)),t["\u0275did"](7,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](8,16384,null,0,d.c,[t.Renderer2,t.ElementRef],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.c]),t["\u0275did"](10,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](12,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275eld"](13,0,null,null,1,"label",[["for","generate_secret"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Auto-generate secret"])),(l()(),t["\u0275and"](16777216,null,null,1,null,Ru)),t["\u0275did"](16,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(l,n){var u=n.component;l(n,10,0,"generate_secret"),l(n,16,0,!u.editing&&!u.formGroup.getValue("generate_secret"))},function(l,n){l(n,6,0,t["\u0275nov"](n,12).ngClassUntouched,t["\u0275nov"](n,12).ngClassTouched,t["\u0275nov"](n,12).ngClassPristine,t["\u0275nov"](n,12).ngClassDirty,t["\u0275nov"](n,12).ngClassValid,t["\u0275nov"](n,12).ngClassInvalid,t["\u0275nov"](n,12).ngClassPending)})}function wu(l){return t["\u0275vid"](0,[t["\u0275pid"](0,ql.TitleCasePipe,[]),t["\u0275pid"](0,wn.a,[]),(l()(),t["\u0275eld"](2,0,null,null,7,"div",[["class","modal-header"]],null,null,null,null,null)),(l()(),t["\u0275eld"](3,0,null,null,3,"h4",[["class","modal-title pull-left"]],null,null,null,null,null)),(l()(),t["\u0275ted"](4,null,[""," ",""])),t["\u0275ppd"](5,1),t["\u0275ppd"](6,1),(l()(),t["\u0275eld"](7,0,null,null,2,"button",[["aria-label","Close"],["class","close pull-right"],["type","button"]],null,[[null,"click"]],function(l,n,u){var e=!0;return"click"===n&&(e=!1!==l.component.bsModalRef.hide()&&e),e},null,null)),(l()(),t["\u0275eld"](8,0,null,null,1,"span",[["aria-hidden","true"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["\xd7"])),(l()(),t["\u0275eld"](10,0,null,null,81,"form",[["class","form-horizontal"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,u){var e=!0;return"submit"===n&&(e=!1!==t["\u0275nov"](l,12).onSubmit(u)&&e),"reset"===n&&(e=!1!==t["\u0275nov"](l,12).onReset()&&e),e},null,null)),t["\u0275did"](11,16384,null,0,d.D,[],null,null),t["\u0275did"](12,540672,[["frm",4]],0,d.l,[[8,null],[8,null]],{form:[0,"form"]},null),t["\u0275prd"](2048,null,d.d,null,[d.l]),t["\u0275did"](14,16384,null,0,d.s,[[4,d.d]],null,null),(l()(),t["\u0275eld"](15,0,null,null,68,"div",[["class","modal-body"]],null,null,null,null,null)),(l()(),t["\u0275eld"](16,0,null,null,12,"div",[["class","form-group"]],null,null,null,null,null)),t["\u0275did"](17,278528,null,0,ql.NgClass,[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](18,{"has-error":0}),(l()(),t["\u0275eld"](19,0,null,null,1,"label",[["class","control-label col-sm-3"],["for","uid"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Username"])),(l()(),t["\u0275eld"](21,0,null,null,7,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](22,0,null,null,6,"input",[["class","form-control"],["formControlName","uid"],["id","uid"],["type","text"]],[[8,"readOnly",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,u){var e=!0;return"input"===n&&(e=!1!==t["\u0275nov"](l,24)._handleInput(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,24).onTouched()&&e),"compositionstart"===n&&(e=!1!==t["\u0275nov"](l,24)._compositionStart()&&e),"compositionend"===n&&(e=!1!==t["\u0275nov"](l,24)._compositionEnd(u.target.value)&&e),e},null,null)),t["\u0275did"](23,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](24,16384,null,0,d.e,[t.Renderer2,t.ElementRef,[2,d.b]],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.e]),t["\u0275did"](26,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](28,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275eld"](29,0,null,null,20,"div",[["class","form-group"]],null,null,null,null,null)),t["\u0275did"](30,278528,null,0,ql.NgClass,[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](31,{"has-error":0}),(l()(),t["\u0275eld"](32,0,null,null,4,"label",[["class","control-label col-sm-3"],["for","subuid"]],null,null,null,null,null)),(l()(),t["\u0275eld"](33,0,null,null,1,null,null,null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Subuser"])),(l()(),t["\u0275and"](16777216,null,null,1,null,bu)),t["\u0275did"](36,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](37,0,null,null,12,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](38,0,null,null,7,"input",[["autofocus",""],["class","form-control"],["formControlName","subuid"],["id","subuid"],["type","text"]],[[8,"readOnly",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,u){var e=!0;return"input"===n&&(e=!1!==t["\u0275nov"](l,41)._handleInput(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,41).onTouched()&&e),"compositionstart"===n&&(e=!1!==t["\u0275nov"](l,41)._compositionStart()&&e),"compositionend"===n&&(e=!1!==t["\u0275nov"](l,41)._compositionEnd(u.target.value)&&e),e},null,null)),t["\u0275did"](39,4210688,null,0,zn.a,[t.ElementRef],null,null),t["\u0275did"](40,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](41,16384,null,0,d.e,[t.Renderer2,t.ElementRef,[2,d.b]],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.e]),t["\u0275did"](43,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](45,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275and"](16777216,null,null,1,null,hu)),t["\u0275did"](47,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,yu)),t["\u0275did"](49,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](50,0,null,null,31,"div",[["class","form-group"]],null,null,null,null,null)),t["\u0275did"](51,278528,null,0,ql.NgClass,[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](52,{"has-error":0}),(l()(),t["\u0275eld"](53,0,null,null,3,"label",[["class","control-label col-sm-3"],["for","perm"]],null,null,null,null,null)),(l()(),t["\u0275eld"](54,0,null,null,1,null,null,null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Permission"])),(l()(),t["\u0275eld"](56,0,null,null,0,"span",[["class","required"]],null,null,null,null,null)),(l()(),t["\u0275eld"](57,0,null,null,24,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](58,0,null,null,21,"select",[["class","form-control"],["formControlName","perm"],["id","perm"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"blur"]],function(l,n,u){var e=!0;return"change"===n&&(e=!1!==t["\u0275nov"](l,60).onChange(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,60).onTouched()&&e),e},null,null)),t["\u0275did"](59,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](60,16384,null,0,d.z,[t.Renderer2,t.ElementRef],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.z]),t["\u0275did"](62,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](64,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275eld"](65,0,null,null,3,"option",[],null,null,null,null,null)),t["\u0275did"](66,147456,null,0,d.v,[t.ElementRef,t.Renderer2,[2,d.z]],{ngValue:[0,"ngValue"]},null),t["\u0275did"](67,147456,null,0,d.G,[t.ElementRef,t.Renderer2,[8,null]],{ngValue:[0,"ngValue"]},null),(l()(),t["\u0275ted"](-1,null,["-- Select a permission --"])),(l()(),t["\u0275and"](16777216,null,null,2,null,Cu)),t["\u0275did"](70,278528,null,0,ql.NgForOf,[t.ViewContainerRef,t.TemplateRef,t.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),t["\u0275pad"](71,2),(l()(),t["\u0275eld"](72,0,null,null,3,"option",[["value","read-write"]],null,null,null,null,null)),t["\u0275did"](73,147456,null,0,d.v,[t.ElementRef,t.Renderer2,[2,d.z]],{value:[0,"value"]},null),t["\u0275did"](74,147456,null,0,d.G,[t.ElementRef,t.Renderer2,[8,null]],{value:[0,"value"]},null),(l()(),t["\u0275ted"](-1,null,["read, write"])),(l()(),t["\u0275eld"](76,0,null,null,3,"option",[["value","full-control"]],null,null,null,null,null)),t["\u0275did"](77,147456,null,0,d.v,[t.ElementRef,t.Renderer2,[2,d.z]],{value:[0,"value"]},null),t["\u0275did"](78,147456,null,0,d.G,[t.ElementRef,t.Renderer2,[8,null]],{value:[0,"value"]},null),(l()(),t["\u0275ted"](-1,null,["full"])),(l()(),t["\u0275and"](16777216,null,null,1,null,_u)),t["\u0275did"](81,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Iu)),t["\u0275did"](83,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](84,0,null,null,7,"div",[["class","modal-footer"]],null,null,null,null,null)),(l()(),t["\u0275eld"](85,0,null,null,4,"cd-submit-button",[],null,[[null,"submitAction"]],function(l,n,u){var e=!0;return"submitAction"===n&&(e=!1!==l.component.onSubmit()&&e),e},An.b,An.a)),t["\u0275did"](86,114688,null,0,Bn.a,[t.ElementRef],{form:[0,"form"]},{submitAction:"submitAction"}),(l()(),t["\u0275ted"](87,0,[""," ",""])),t["\u0275ppd"](88,1),t["\u0275ppd"](89,1),(l()(),t["\u0275eld"](90,0,null,null,1,"cd-back-button",[],null,null,null,Sn.b,Sn.a)),t["\u0275did"](91,49152,null,0,Dn.a,[ql.Location,i.b],{back:[0,"back"]},null)],function(l,n){var u=n.component;l(n,12,0,u.formGroup);var e=l(n,18,0,u.formGroup.showError("uid",t["\u0275nov"](n,12)));l(n,17,0,"form-group",e),l(n,26,0,"uid");var i=l(n,31,0,u.formGroup.showError("subuid",t["\u0275nov"](n,12)));l(n,30,0,"form-group",i),l(n,36,0,!u.editing),l(n,43,0,"subuid"),l(n,47,0,u.formGroup.showError("subuid",t["\u0275nov"](n,12),"required")),l(n,49,0,u.formGroup.showError("subuid",t["\u0275nov"](n,12),"subuserIdExists"));var o=l(n,52,0,u.formGroup.showError("perm",t["\u0275nov"](n,12)));l(n,51,0,"form-group",o),l(n,62,0,"perm"),l(n,66,0,null),l(n,67,0,null);var a=l(n,71,0,"read","write");l(n,70,0,a),l(n,73,0,"read-write"),l(n,74,0,"read-write"),l(n,77,0,"full-control"),l(n,78,0,"full-control"),l(n,81,0,u.formGroup.showError("perm",t["\u0275nov"](n,12),"required")),l(n,83,0,!u.editing),l(n,86,0,u.formGroup),l(n,91,0,u.bsModalRef.hide)},function(l,n){var u=n.component,e=t["\u0275unv"](n,4,0,l(n,5,0,t["\u0275nov"](n,0),u.action)),i=t["\u0275unv"](n,4,1,l(n,6,0,t["\u0275nov"](n,1),u.resource));l(n,4,0,e,i),l(n,10,0,t["\u0275nov"](n,14).ngClassUntouched,t["\u0275nov"](n,14).ngClassTouched,t["\u0275nov"](n,14).ngClassPristine,t["\u0275nov"](n,14).ngClassDirty,t["\u0275nov"](n,14).ngClassValid,t["\u0275nov"](n,14).ngClassInvalid,t["\u0275nov"](n,14).ngClassPending),l(n,22,0,!0,t["\u0275nov"](n,28).ngClassUntouched,t["\u0275nov"](n,28).ngClassTouched,t["\u0275nov"](n,28).ngClassPristine,t["\u0275nov"](n,28).ngClassDirty,t["\u0275nov"](n,28).ngClassValid,t["\u0275nov"](n,28).ngClassInvalid,t["\u0275nov"](n,28).ngClassPending),l(n,38,0,u.editing,t["\u0275nov"](n,45).ngClassUntouched,t["\u0275nov"](n,45).ngClassTouched,t["\u0275nov"](n,45).ngClassPristine,t["\u0275nov"](n,45).ngClassDirty,t["\u0275nov"](n,45).ngClassValid,t["\u0275nov"](n,45).ngClassInvalid,t["\u0275nov"](n,45).ngClassPending),l(n,58,0,t["\u0275nov"](n,64).ngClassUntouched,t["\u0275nov"](n,64).ngClassTouched,t["\u0275nov"](n,64).ngClassPristine,t["\u0275nov"](n,64).ngClassDirty,t["\u0275nov"](n,64).ngClassValid,t["\u0275nov"](n,64).ngClassInvalid,t["\u0275nov"](n,64).ngClassPending);var o=t["\u0275unv"](n,87,0,l(n,88,0,t["\u0275nov"](n,0),u.action)),a=t["\u0275unv"](n,87,1,l(n,89,0,t["\u0275nov"](n,1),u.resource));l(n,87,0,o,a)})}function Eu(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"cd-rgw-user-subuser-modal",[],null,null,null,wu,vu)),t["\u0275did"](1,49152,null,0,K,[_.a,nn.a,_l.a,i.b],null,null)],null,null)}var xu=t["\u0275ccf"]("cd-rgw-user-subuser-modal",K,Eu,{},{submitAction:"submitAction"},[]),Tu=u("IzCI"),qu=u("Dwqy"),Vu=u("uYzU"),Su=u("uhwM"),Du=u("E2fk"),Nu=u("nSDx"),Fu=u("SB+Q"),ju=u("TYzs"),Pu=u("BQkM"),zu=u("dEH0"),Au=u("G1/K"),Bu=u("lTVp"),Uu=u("OZfm"),Mu=u("NJnL"),Ou=u("eajB"),Lu=u("FO+L"),Gu=u("nhM1"),Ku=u("BARL"),$u=u("ZYCi"),Zu=u("9Xeq"),Qu=u("xdbM"),Hu=u("yGOH"),Yu=u("V/fk"),Xu=u("F8xH"),Ju=u("ChqD"),Wu=u("PCNd"),le=u("G6Q+"),ne=t["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function ue(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,3,"tab",[["heading","Overall Performance"]],[[1,"id",0],[2,"active",null],[2,"tab-pane",null]],null,null,null,null)),t["\u0275did"](1,212992,null,0,vl.b,[vl.d,t.ElementRef,t.Renderer2],{heading:[0,"heading"]},null),(l()(),t["\u0275eld"](2,0,null,null,1,"cd-grafana",[["grafanaStyle","two"],["uid","WAkugZpiz"]],null,null,null,bl.b,bl.a)),t["\u0275did"](3,638976,null,0,hl.a,[r.a,yl.DomSanitizer,Cl.a,a.a,_l.a],{grafanaPath:[0,"grafanaPath"],grafanaStyle:[1,"grafanaStyle"],uid:[2,"uid"]},null)],function(l,n){l(n,1,0,"Overall Performance"),l(n,3,0,"rgw-overview?","two","WAkugZpiz")},function(l,n){l(n,0,0,t["\u0275nov"](n,1).id,t["\u0275nov"](n,1).active,t["\u0275nov"](n,1).addClass)})}function ee(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,9,"tabset",[],[[2,"tab-container",null]],null,null,kl.b,kl.a)),t["\u0275did"](1,180224,null,0,vl.d,[vl.e,t.Renderer2,t.ElementRef],null,null),(l()(),t["\u0275eld"](2,0,null,0,5,"tab",[["heading","Daemons List"]],[[1,"id",0],[2,"active",null],[2,"tab-pane",null]],null,null,null,null)),t["\u0275did"](3,212992,null,0,vl.b,[vl.d,t.ElementRef,t.Renderer2],{heading:[0,"heading"]},null),(l()(),t["\u0275eld"](4,0,null,null,3,"cd-table",[["columnMode","flex"],["selectionType","single"]],null,[[null,"updateSelection"],[null,"fetchData"]],function(l,n,u){var e=!0,t=l.component;return"updateSelection"===n&&(e=!1!==t.updateSelection(u)&&e),"fetchData"===n&&(e=!1!==t.getDaemonList(u)&&e),e},Yl.b,Yl.a)),t["\u0275did"](5,2867200,null,0,x.a,[t.NgZone,t.ChangeDetectorRef],{data:[0,"data"],columns:[1,"columns"],columnMode:[2,"columnMode"],selectionType:[3,"selectionType"]},{fetchData:"fetchData",updateSelection:"updateSelection"}),(l()(),t["\u0275eld"](6,0,null,2,1,"cd-rgw-daemon-details",[["cdTableDetail",""]],null,null,null,Fl,Sl)),t["\u0275did"](7,573440,null,0,Vl,[j,S.a],{selection:[0,"selection"]},null),(l()(),t["\u0275and"](16777216,null,0,1,null,ue)),t["\u0275did"](9,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(l,n){var u=n.component;l(n,3,0,"Daemons List"),l(n,5,0,u.daemons,u.columns,"flex","single"),l(n,7,0,u.selection),l(n,9,0,u.grafanaPermission.read)},function(l,n){l(n,0,0,t["\u0275nov"](n,1).clazz),l(n,2,0,t["\u0275nov"](n,3).id,t["\u0275nov"](n,3).active,t["\u0275nov"](n,3).addClass)})}function te(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"cd-rgw-daemon-list",[],null,null,null,ee,ne)),t["\u0275did"](1,49152,null,0,z,[j,S.a,P.a,_l.a],null,null)],null,null)}var ie=t["\u0275ccf"]("cd-rgw-daemon-list",z,te,{},{},[]),oe=u("NUGo"),ae=u("S7zO"),re=t["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function se(l){return t["\u0275vid"](0,[t["\u0275qud"](402653184,1,{table:0}),(l()(),t["\u0275eld"](1,0,null,null,5,"cd-table",[["columnMode","flex"],["identifier","uid"],["selectionType","multi"]],null,[[null,"updateSelection"],[null,"fetchData"]],function(l,n,u){var e=!0,t=l.component;return"updateSelection"===n&&(e=!1!==t.updateSelection(u)&&e),"fetchData"===n&&(e=!1!==t.getUserList(u)&&e),e},Yl.b,Yl.a)),t["\u0275did"](2,2867200,[[1,4],["table",4]],0,x.a,[t.NgZone,t.ChangeDetectorRef],{data:[0,"data"],columns:[1,"columns"],columnMode:[2,"columnMode"],autoReload:[3,"autoReload"],identifier:[4,"identifier"],selectionType:[5,"selectionType"]},{fetchData:"fetchData",updateSelection:"updateSelection"}),(l()(),t["\u0275eld"](3,0,null,0,1,"cd-table-actions",[["class","table-actions"]],null,null,null,oe.b,oe.a)),t["\u0275did"](4,114688,null,0,ae.a,[],{permission:[0,"permission"],selection:[1,"selection"],tableActions:[2,"tableActions"]},null),(l()(),t["\u0275eld"](5,0,null,2,1,"cd-rgw-user-details",[["cdTableDetail",""]],null,null,null,kn,un)),t["\u0275did"](6,638976,null,0,ln,[y.a,nn.b,_l.a],{selection:[0,"selection"]},null)],function(l,n){var u=n.component;l(n,2,0,u.users,u.columns,"flex",!1,"uid","multi"),l(n,4,0,u.permission,u.selection,u.tableActions),l(n,6,0,u.selection)},null)}function de(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"cd-rgw-user-list",[],null,null,null,se,re)),t["\u0275prd"](256,null,D.a,H,[]),t["\u0275did"](2,49152,null,0,Y,[S.a,y.a,nn.b,_l.a,D.a,i.b],null,null)],null,null)}var ce=t["\u0275ccf"]("cd-rgw-user-list",Y,de,{},{},[]),pe=u("QC43"),fe=u("XFyV"),me=u("M/6F"),ge=u("NDi4"),ve=u("EmSq"),be=t["\u0275crt"]({encapsulation:0,styles:[["form[_ngcontent-%COMP%] .input-group-addon[_ngcontent-%COMP%]{color:#90949c!important;background-color:transparent}"]],data:{}});function he(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"cd-loading-panel",[],null,null,null,pe.b,pe.a)),t["\u0275did"](1,49152,null,0,fe.a,[],null,null),(l()(),t["\u0275ted"](-1,0,["Loading user data..."]))],null,null)}function ye(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"cd-error-panel",[],null,[[null,"backAction"]],function(l,n,u){var e=!0;return"backAction"===n&&(e=!1!==l.component.goToListView()&&e),e},me.b,me.a)),t["\u0275did"](1,49152,null,0,ge.a,[],null,{backAction:"backAction"}),(l()(),t["\u0275ted"](-1,0,["The user data could not be loaded."]))],null,null)}function Ce(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,0,"span",[["class","required"]],null,null,null,null,null))],null,null)}function _e(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["This field is required."]))],null,null)}function ke(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["The chosen user ID is already in use."]))],null,null)}function Re(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,0,"span",[["class","required"]],null,null,null,null,null))],null,null)}function Ie(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["This field is required."]))],null,null)}function we(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["This is not a valid email address."]))],null,null)}function Ee(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["The chosen email address is already in use."]))],null,null)}function xe(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["This field is required."]))],null,null)}function Te(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["The entered value must be >= 1."]))],null,null)}function qe(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,16,"div",[["class","form-group"]],null,null,null,null,null)),t["\u0275did"](1,278528,null,0,ql.NgClass,[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](2,{"has-error":0}),(l()(),t["\u0275eld"](3,0,null,null,0,"label",[["class","control-label col-sm-3"]],null,null,null,null,null)),(l()(),t["\u0275eld"](4,0,null,null,12,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](5,0,null,null,7,"input",[["class","form-control"],["formControlName","max_buckets"],["id","max_buckets"],["min","1"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(l,n,u){var e=!0;return"input"===n&&(e=!1!==t["\u0275nov"](l,7)._handleInput(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,7).onTouched()&&e),"compositionstart"===n&&(e=!1!==t["\u0275nov"](l,7)._compositionStart()&&e),"compositionend"===n&&(e=!1!==t["\u0275nov"](l,7)._compositionEnd(u.target.value)&&e),"change"===n&&(e=!1!==t["\u0275nov"](l,8).onChange(u.target.value)&&e),"input"===n&&(e=!1!==t["\u0275nov"](l,8).onChange(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,8).onTouched()&&e),e},null,null)),t["\u0275did"](6,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](7,16384,null,0,d.e,[t.Renderer2,t.ElementRef,[2,d.b]],null,null),t["\u0275did"](8,16384,null,0,d.C,[t.Renderer2,t.ElementRef],null,null),t["\u0275prd"](1024,null,d.p,function(l,n){return[l,n]},[d.e,d.C]),t["\u0275did"](10,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](12,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275and"](16777216,null,null,1,null,xe)),t["\u0275did"](14,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Te)),t["\u0275did"](16,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(l,n){var u=n.component,e=l(n,2,0,u.userForm.showError("max_buckets",t["\u0275nov"](n.parent,3)));l(n,1,0,"form-group",e),l(n,10,0,"max_buckets"),l(n,14,0,u.userForm.showError("max_buckets",t["\u0275nov"](n.parent,3),"required")),l(n,16,0,u.userForm.showError("max_buckets",t["\u0275nov"](n.parent,3),"min"))},function(l,n){l(n,5,0,t["\u0275nov"](n,12).ngClassUntouched,t["\u0275nov"](n,12).ngClassTouched,t["\u0275nov"](n,12).ngClassPristine,t["\u0275nov"](n,12).ngClassDirty,t["\u0275nov"](n,12).ngClassValid,t["\u0275nov"](n,12).ngClassInvalid,t["\u0275nov"](n,12).ngClassPending)})}function Ve(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["This field is required."]))],null,null)}function Se(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,22,"div",[["class","form-group"]],null,null,null,null,null)),t["\u0275did"](1,278528,null,0,ql.NgClass,[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](2,{"has-error":0}),(l()(),t["\u0275eld"](3,0,null,null,3,"label",[["class","control-label col-sm-3"],["for","access_key"]],null,null,null,null,null)),(l()(),t["\u0275eld"](4,0,null,null,1,null,null,null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Access key"])),(l()(),t["\u0275eld"](6,0,null,null,0,"span",[["class","required"]],null,null,null,null,null)),(l()(),t["\u0275eld"](7,0,null,null,15,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](8,0,null,null,12,"div",[["class","input-group"]],null,null,null,null,null)),(l()(),t["\u0275eld"](9,0,null,null,6,"input",[["class","form-control"],["formControlName","access_key"],["id","access_key"],["type","password"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,u){var e=!0;return"input"===n&&(e=!1!==t["\u0275nov"](l,11)._handleInput(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,11).onTouched()&&e),"compositionstart"===n&&(e=!1!==t["\u0275nov"](l,11)._compositionStart()&&e),"compositionend"===n&&(e=!1!==t["\u0275nov"](l,11)._compositionEnd(u.target.value)&&e),e},null,null)),t["\u0275did"](10,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](11,16384,null,0,d.e,[t.Renderer2,t.ElementRef,[2,d.b]],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.e]),t["\u0275did"](13,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](15,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275eld"](16,0,null,null,4,"span",[["class","input-group-btn"]],null,null,null,null,null)),(l()(),t["\u0275eld"](17,0,null,null,1,"button",[["cdPasswordButton","access_key"],["class","btn btn-default"],["type","button"]],null,[[null,"click"]],function(l,n,u){var e=!0;return"click"===n&&(e=!1!==t["\u0275nov"](l,18).onClick()&&e),e},null,null)),t["\u0275did"](18,81920,null,0,Tn.a,[t.ElementRef,t.Renderer2],{cdPasswordButton:[0,"cdPasswordButton"]},null),(l()(),t["\u0275eld"](19,0,null,null,1,"button",[["cdCopy2ClipboardButton","access_key"],["class","btn btn-default"],["type","button"]],null,[[null,"click"]],function(l,n,u){var e=!0;return"click"===n&&(e=!1!==t["\u0275nov"](l,20).onClick()&&e),e},null,null)),t["\u0275did"](20,81920,null,0,qn.a,[t.ElementRef,t.Renderer2,Vn.j],{cdCopy2ClipboardButton:[0,"cdCopy2ClipboardButton"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Ve)),t["\u0275did"](22,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(l,n){var u=n.component,e=l(n,2,0,u.userForm.showError("access_key",t["\u0275nov"](n.parent.parent,3)));l(n,1,0,"form-group",e),l(n,13,0,"access_key"),l(n,18,0,"access_key"),l(n,20,0,"access_key"),l(n,22,0,u.userForm.showError("access_key",t["\u0275nov"](n.parent.parent,3),"required"))},function(l,n){l(n,9,0,t["\u0275nov"](n,15).ngClassUntouched,t["\u0275nov"](n,15).ngClassTouched,t["\u0275nov"](n,15).ngClassPristine,t["\u0275nov"](n,15).ngClassDirty,t["\u0275nov"](n,15).ngClassValid,t["\u0275nov"](n,15).ngClassInvalid,t["\u0275nov"](n,15).ngClassPending)})}function De(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["This field is required."]))],null,null)}function Ne(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,22,"div",[["class","form-group"]],null,null,null,null,null)),t["\u0275did"](1,278528,null,0,ql.NgClass,[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](2,{"has-error":0}),(l()(),t["\u0275eld"](3,0,null,null,3,"label",[["class","control-label col-sm-3"],["for","secret_key"]],null,null,null,null,null)),(l()(),t["\u0275eld"](4,0,null,null,1,null,null,null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Secret key"])),(l()(),t["\u0275eld"](6,0,null,null,0,"span",[["class","required"]],null,null,null,null,null)),(l()(),t["\u0275eld"](7,0,null,null,15,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](8,0,null,null,12,"div",[["class","input-group"]],null,null,null,null,null)),(l()(),t["\u0275eld"](9,0,null,null,6,"input",[["class","form-control"],["formControlName","secret_key"],["id","secret_key"],["type","password"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,u){var e=!0;return"input"===n&&(e=!1!==t["\u0275nov"](l,11)._handleInput(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,11).onTouched()&&e),"compositionstart"===n&&(e=!1!==t["\u0275nov"](l,11)._compositionStart()&&e),"compositionend"===n&&(e=!1!==t["\u0275nov"](l,11)._compositionEnd(u.target.value)&&e),e},null,null)),t["\u0275did"](10,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](11,16384,null,0,d.e,[t.Renderer2,t.ElementRef,[2,d.b]],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.e]),t["\u0275did"](13,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](15,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275eld"](16,0,null,null,4,"span",[["class","input-group-btn"]],null,null,null,null,null)),(l()(),t["\u0275eld"](17,0,null,null,1,"button",[["cdPasswordButton","secret_key"],["class","btn btn-default"],["type","button"]],null,[[null,"click"]],function(l,n,u){var e=!0;return"click"===n&&(e=!1!==t["\u0275nov"](l,18).onClick()&&e),e},null,null)),t["\u0275did"](18,81920,null,0,Tn.a,[t.ElementRef,t.Renderer2],{cdPasswordButton:[0,"cdPasswordButton"]},null),(l()(),t["\u0275eld"](19,0,null,null,1,"button",[["cdCopy2ClipboardButton","secret_key"],["class","btn btn-default"],["type","button"]],null,[[null,"click"]],function(l,n,u){var e=!0;return"click"===n&&(e=!1!==t["\u0275nov"](l,20).onClick()&&e),e},null,null)),t["\u0275did"](20,81920,null,0,qn.a,[t.ElementRef,t.Renderer2,Vn.j],{cdCopy2ClipboardButton:[0,"cdCopy2ClipboardButton"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,De)),t["\u0275did"](22,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(l,n){var u=n.component,e=l(n,2,0,u.userForm.showError("secret_key",t["\u0275nov"](n.parent.parent,3)));l(n,1,0,"form-group",e),l(n,13,0,"secret_key"),l(n,18,0,"secret_key"),l(n,20,0,"secret_key"),l(n,22,0,u.userForm.showError("secret_key",t["\u0275nov"](n.parent.parent,3),"required"))},function(l,n){l(n,9,0,t["\u0275nov"](n,15).ngClassUntouched,t["\u0275nov"](n,15).ngClassTouched,t["\u0275nov"](n,15).ngClassPristine,t["\u0275nov"](n,15).ngClassDirty,t["\u0275nov"](n,15).ngClassValid,t["\u0275nov"](n,15).ngClassInvalid,t["\u0275nov"](n,15).ngClassPending)})}function Fe(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,18,"fieldset",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,1,"legend",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["S3 key"])),(l()(),t["\u0275eld"](3,0,null,null,11,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),t["\u0275eld"](4,0,null,null,10,"div",[["class","col-sm-offset-3 col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](5,0,null,null,9,"div",[["class","checkbox checkbox-primary"]],null,null,null,null,null)),(l()(),t["\u0275eld"](6,0,null,null,6,"input",[["formControlName","generate_key"],["id","generate_key"],["type","checkbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"blur"]],function(l,n,u){var e=!0;return"change"===n&&(e=!1!==t["\u0275nov"](l,8).onChange(u.target.checked)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,8).onTouched()&&e),e},null,null)),t["\u0275did"](7,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](8,16384,null,0,d.c,[t.Renderer2,t.ElementRef],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.c]),t["\u0275did"](10,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](12,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275eld"](13,0,null,null,1,"label",[["for","generate_key"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Auto-generate key"])),(l()(),t["\u0275and"](16777216,null,null,1,null,Se)),t["\u0275did"](16,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Ne)),t["\u0275did"](18,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(l,n){var u=n.component;l(n,10,0,"generate_key"),l(n,16,0,!u.editing&&!u.userForm.getValue("generate_key")),l(n,18,0,!u.editing&&!u.userForm.getValue("generate_key"))},function(l,n){l(n,6,0,t["\u0275nov"](n,12).ngClassUntouched,t["\u0275nov"](n,12).ngClassTouched,t["\u0275nov"](n,12).ngClassPristine,t["\u0275nov"](n,12).ngClassDirty,t["\u0275nov"](n,12).ngClassValid,t["\u0275nov"](n,12).ngClassInvalid,t["\u0275nov"](n,12).ngClassPending)})}function je(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"span",[["class","form-control no-border"]],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,1,"span",[["class","text-muted"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["There are no subusers."]))],null,null)}function Pe(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,17,"span",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,15,"div",[["class","input-group"]],null,null,null,null,null)),(l()(),t["\u0275eld"](2,0,null,null,1,"span",[["class","input-group-addon"]],null,null,null,null,null)),(l()(),t["\u0275eld"](3,0,null,null,0,"i",[["class","icon-prepend fa fa-user"]],null,null,null,null,null)),(l()(),t["\u0275eld"](4,0,null,null,1,"input",[["class","form-control"],["readonly",""],["type","text"]],[[8,"value",0]],null,null,null,null)),t["\u0275did"](5,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),(l()(),t["\u0275eld"](6,0,null,null,1,"span",[["class","input-group-addon"],["style","border-left: 0; border-right: 0;"]],null,null,null,null,null)),(l()(),t["\u0275eld"](7,0,null,null,0,"i",[["class","icon-prepend fa fa-share-alt"]],null,null,null,null,null)),(l()(),t["\u0275eld"](8,0,null,null,1,"input",[["class","form-control"],["readonly",""],["type","text"]],[[8,"value",0]],null,null,null,null)),t["\u0275did"](9,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),(l()(),t["\u0275eld"](10,0,null,null,6,"span",[["class","input-group-btn"]],null,null,null,null,null)),(l()(),t["\u0275eld"](11,16777216,null,null,2,"button",[["class","btn btn-default tc_showSubuserButton"],["tooltip","Edit"],["type","button"]],[[1,"aria-describedby",0]],[[null,"click"]],function(l,n,u){var e=!0;return"click"===n&&(e=!1!==l.component.showSubuserModal(l.context.index)&&e),e},null,null)),t["\u0275did"](12,212992,null,0,Ou.c,[t.ViewContainerRef,Jl.a,Ou.a,t.ElementRef,t.Renderer2,Mu.a],{tooltip:[0,"tooltip"]},null),(l()(),t["\u0275eld"](13,0,null,null,0,"i",[["class","fa fa-cogs"]],null,null,null,null,null)),(l()(),t["\u0275eld"](14,16777216,null,null,2,"button",[["class","btn btn-default tc_deleteSubuserButton"],["tooltip","Delete"],["type","button"]],[[1,"aria-describedby",0]],[[null,"click"]],function(l,n,u){var e=!0;return"click"===n&&(e=!1!==l.component.deleteSubuser(l.context.index)&&e),e},null,null)),t["\u0275did"](15,212992,null,0,Ou.c,[t.ViewContainerRef,Jl.a,Ou.a,t.ElementRef,t.Renderer2,Mu.a],{tooltip:[0,"tooltip"]},null),(l()(),t["\u0275eld"](16,0,null,null,0,"i",[["class","fa fa-times"]],null,null,null,null,null)),(l()(),t["\u0275eld"](17,0,null,null,0,"span",[["class","help-block"]],null,null,null,null,null))],function(l,n){l(n,12,0,"Edit"),l(n,15,0,"Delete")},function(l,n){l(n,4,0,t["\u0275inlineInterpolate"](1,"",n.context.$implicit.id,"")),l(n,8,0,t["\u0275inlineInterpolate"](1,"","full-control"===n.context.$implicit.permissions?"full":n.context.$implicit.permissions,"")),l(n,11,0,t["\u0275nov"](n,12).ariaDescribedby),l(n,14,0,t["\u0275nov"](n,15).ariaDescribedby)})}function ze(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,14,"fieldset",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,1,"legend",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Subusers"])),(l()(),t["\u0275eld"](3,0,null,null,11,"div",[["class","col-sm-offset-3 col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275and"](16777216,null,null,1,null,je)),t["\u0275did"](5,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Pe)),t["\u0275did"](7,278528,null,0,ql.NgForOf,[t.ViewContainerRef,t.TemplateRef,t.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(l()(),t["\u0275eld"](8,0,null,null,6,"span",[["class","form-control no-border"]],null,null,null,null,null)),(l()(),t["\u0275eld"](9,0,null,null,5,"button",[["class","btn btn-sm btn-default btn-label pull-right tc_addSubuserButton"],["type","button"]],null,[[null,"click"]],function(l,n,u){var e=!0;return"click"===n&&(e=!1!==l.component.showSubuserModal()&&e),e},null,null)),(l()(),t["\u0275eld"](10,0,null,null,0,"i",[["class","fa fa-fw fa-plus"]],null,null,null,null,null)),(l()(),t["\u0275eld"](11,0,null,null,3,null,null,null,null,null,null,null)),(l()(),t["\u0275ted"](12,null,[""," ",""])),t["\u0275ppd"](13,1),t["\u0275ppd"](14,1)],function(l,n){var u=n.component;l(n,5,0,0===u.subusers.length),l(n,7,0,u.subusers)},function(l,n){var u=n.component,e=t["\u0275unv"](n,12,0,l(n,13,0,t["\u0275nov"](n.parent.parent,0),u.actionLabels.CREATE)),i=t["\u0275unv"](n,12,1,l(n,14,0,t["\u0275nov"](n.parent.parent,1),u.subuserLabel));l(n,12,0,e,i)})}function Ae(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"span",[["class","form-control no-border"]],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,1,"span",[["class","text-muted"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["There are no keys."]))],null,null)}function Be(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,13,"span",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,11,"div",[["class","input-group"]],null,null,null,null,null)),(l()(),t["\u0275eld"](2,0,null,null,1,"span",[["class","input-group-addon"]],null,null,null,null,null)),(l()(),t["\u0275eld"](3,0,null,null,0,"i",[["class","icon-prepend fa fa-key"]],null,null,null,null,null)),(l()(),t["\u0275eld"](4,0,null,null,1,"input",[["class","form-control"],["readonly",""],["type","text"]],[[8,"value",0]],null,null,null,null)),t["\u0275did"](5,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),(l()(),t["\u0275eld"](6,0,null,null,6,"span",[["class","input-group-btn"]],null,null,null,null,null)),(l()(),t["\u0275eld"](7,16777216,null,null,2,"button",[["class","btn btn-default tc_showS3KeyButton"],["tooltip","Show"],["type","button"]],[[1,"aria-describedby",0]],[[null,"click"]],function(l,n,u){var e=!0;return"click"===n&&(e=!1!==l.component.showS3KeyModal(l.context.index)&&e),e},null,null)),t["\u0275did"](8,212992,null,0,Ou.c,[t.ViewContainerRef,Jl.a,Ou.a,t.ElementRef,t.Renderer2,Mu.a],{tooltip:[0,"tooltip"]},null),(l()(),t["\u0275eld"](9,0,null,null,0,"i",[["class","fa fa-eye"]],null,null,null,null,null)),(l()(),t["\u0275eld"](10,16777216,null,null,2,"button",[["class","btn btn-default tc_deleteS3KeyButton"],["tooltip","Delete"],["type","button"]],[[1,"aria-describedby",0]],[[null,"click"]],function(l,n,u){var e=!0;return"click"===n&&(e=!1!==l.component.deleteS3Key(l.context.index)&&e),e},null,null)),t["\u0275did"](11,212992,null,0,Ou.c,[t.ViewContainerRef,Jl.a,Ou.a,t.ElementRef,t.Renderer2,Mu.a],{tooltip:[0,"tooltip"]},null),(l()(),t["\u0275eld"](12,0,null,null,0,"i",[["class","fa fa-times"]],null,null,null,null,null)),(l()(),t["\u0275eld"](13,0,null,null,0,"span",[["class","help-block"]],null,null,null,null,null))],function(l,n){l(n,8,0,"Show"),l(n,11,0,"Delete")},function(l,n){l(n,4,0,t["\u0275inlineInterpolate"](1,"",n.context.$implicit.user,"")),l(n,7,0,t["\u0275nov"](n,8).ariaDescribedby),l(n,10,0,t["\u0275nov"](n,11).ariaDescribedby)})}function Ue(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"span",[["class","form-control no-border"]],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,1,"span",[["class","text-muted"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["There are no keys."]))],null,null)}function Me(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,10,"span",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,8,"div",[["class","input-group"]],null,null,null,null,null)),(l()(),t["\u0275eld"](2,0,null,null,1,"span",[["class","input-group-addon"]],null,null,null,null,null)),(l()(),t["\u0275eld"](3,0,null,null,0,"i",[["class","icon-prepend fa fa-key"]],null,null,null,null,null)),(l()(),t["\u0275eld"](4,0,null,null,1,"input",[["class","form-control"],["readonly",""],["type","text"]],[[8,"value",0]],null,null,null,null)),t["\u0275did"](5,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),(l()(),t["\u0275eld"](6,0,null,null,3,"span",[["class","input-group-btn"]],null,null,null,null,null)),(l()(),t["\u0275eld"](7,16777216,null,null,2,"button",[["class","btn btn-default tc_showSwiftKeyButton"],["tooltip","Show"],["type","button"]],[[1,"aria-describedby",0]],[[null,"click"]],function(l,n,u){var e=!0;return"click"===n&&(e=!1!==l.component.showSwiftKeyModal(l.context.index)&&e),e},null,null)),t["\u0275did"](8,212992,null,0,Ou.c,[t.ViewContainerRef,Jl.a,Ou.a,t.ElementRef,t.Renderer2,Mu.a],{tooltip:[0,"tooltip"]},null),(l()(),t["\u0275eld"](9,0,null,null,0,"i",[["class","fa fa-eye"]],null,null,null,null,null)),(l()(),t["\u0275eld"](10,0,null,null,0,"span",[["class","help-block"]],null,null,null,null,null))],function(l,n){l(n,8,0,"Show")},function(l,n){l(n,4,0,t["\u0275inlineInterpolate"](1,"",n.context.$implicit.user,"")),l(n,7,0,t["\u0275nov"](n,8).ariaDescribedby)})}function Oe(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,24,"fieldset",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,1,"legend",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Keys"])),(l()(),t["\u0275eld"](3,0,null,null,1,"label",[["class","col-sm-3 control-label"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["S3"])),(l()(),t["\u0275eld"](5,0,null,null,12,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275and"](16777216,null,null,1,null,Ae)),t["\u0275did"](7,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Be)),t["\u0275did"](9,278528,null,0,ql.NgForOf,[t.ViewContainerRef,t.TemplateRef,t.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(l()(),t["\u0275eld"](10,0,null,null,6,"span",[["class","form-control no-border"]],null,null,null,null,null)),(l()(),t["\u0275eld"](11,0,null,null,5,"button",[["class","btn btn-sm btn-default btn-label pull-right tc_addS3KeyButton"],["type","button"]],null,[[null,"click"]],function(l,n,u){var e=!0;return"click"===n&&(e=!1!==l.component.showS3KeyModal()&&e),e},null,null)),(l()(),t["\u0275eld"](12,0,null,null,0,"i",[["class","fa fa-fw fa-plus"]],null,null,null,null,null)),(l()(),t["\u0275eld"](13,0,null,null,3,null,null,null,null,null,null,null)),(l()(),t["\u0275ted"](14,null,[""," ",""])),t["\u0275ppd"](15,1),t["\u0275ppd"](16,1),(l()(),t["\u0275eld"](17,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),t["\u0275eld"](18,0,null,null,1,"label",[["class","col-sm-3 control-label"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Swift"])),(l()(),t["\u0275eld"](20,0,null,null,4,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275and"](16777216,null,null,1,null,Ue)),t["\u0275did"](22,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Me)),t["\u0275did"](24,278528,null,0,ql.NgForOf,[t.ViewContainerRef,t.TemplateRef,t.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(l,n){var u=n.component;l(n,7,0,0===u.s3Keys.length),l(n,9,0,u.s3Keys),l(n,22,0,0===u.swiftKeys.length),l(n,24,0,u.swiftKeys)},function(l,n){var u=n.component,e=t["\u0275unv"](n,14,0,l(n,15,0,t["\u0275nov"](n.parent.parent,0),u.actionLabels.CREATE)),i=t["\u0275unv"](n,14,1,l(n,16,0,t["\u0275nov"](n.parent.parent,1),u.s3keyLabel));l(n,14,0,e,i)})}function Le(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"span",[["class","form-control no-border"]],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,1,"span",[["class","text-muted"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["There are no capabilities."]))],null,null)}function Ge(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,13,"span",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,11,"div",[["class","input-group"]],null,null,null,null,null)),(l()(),t["\u0275eld"](2,0,null,null,1,"span",[["class","input-group-addon"]],null,null,null,null,null)),(l()(),t["\u0275eld"](3,0,null,null,0,"i",[["class","icon-prepend fa fa-share-alt"]],null,null,null,null,null)),(l()(),t["\u0275eld"](4,0,null,null,1,"input",[["class","form-control"],["readonly",""],["type","text"]],[[8,"value",0]],null,null,null,null)),t["\u0275did"](5,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),(l()(),t["\u0275eld"](6,0,null,null,6,"span",[["class","input-group-btn"]],null,null,null,null,null)),(l()(),t["\u0275eld"](7,16777216,null,null,2,"button",[["class","btn btn-default tc_editCapButton"],["tooltip","Edit"],["type","button"]],[[1,"aria-describedby",0]],[[null,"click"]],function(l,n,u){var e=!0;return"click"===n&&(e=!1!==l.component.showCapabilityModal(l.context.index)&&e),e},null,null)),t["\u0275did"](8,212992,null,0,Ou.c,[t.ViewContainerRef,Jl.a,Ou.a,t.ElementRef,t.Renderer2,Mu.a],{tooltip:[0,"tooltip"]},null),(l()(),t["\u0275eld"](9,0,null,null,0,"i",[["class","fa fa-cogs"]],null,null,null,null,null)),(l()(),t["\u0275eld"](10,16777216,null,null,2,"button",[["class","btn btn-default tc_deleteCapButton"],["tooltip","Delete"],["type","button"]],[[1,"aria-describedby",0]],[[null,"click"]],function(l,n,u){var e=!0;return"click"===n&&(e=!1!==l.component.deleteCapability(l.context.index)&&e),e},null,null)),t["\u0275did"](11,212992,null,0,Ou.c,[t.ViewContainerRef,Jl.a,Ou.a,t.ElementRef,t.Renderer2,Mu.a],{tooltip:[0,"tooltip"]},null),(l()(),t["\u0275eld"](12,0,null,null,0,"i",[["class","fa fa-times"]],null,null,null,null,null)),(l()(),t["\u0275eld"](13,0,null,null,0,"span",[["class","help-block"]],null,null,null,null,null))],function(l,n){l(n,8,0,"Edit"),l(n,11,0,"Delete")},function(l,n){l(n,4,0,t["\u0275inlineInterpolate"](2,"",n.context.$implicit.type,":",n.context.$implicit.perm,"")),l(n,7,0,t["\u0275nov"](n,8).ariaDescribedby),l(n,10,0,t["\u0275nov"](n,11).ariaDescribedby)})}function Ke(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,15,"fieldset",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,1,"legend",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Capabilities"])),(l()(),t["\u0275eld"](3,0,null,null,12,"div",[["class","col-sm-offset-3 col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275and"](16777216,null,null,1,null,Le)),t["\u0275did"](5,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Ge)),t["\u0275did"](7,278528,null,0,ql.NgForOf,[t.ViewContainerRef,t.TemplateRef,t.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(l()(),t["\u0275eld"](8,0,null,null,7,"span",[["class","form-control no-border"]],null,null,null,null,null)),(l()(),t["\u0275eld"](9,16777216,null,null,6,"button",[["class","btn btn-sm btn-default btn-label pull-right tc_addCapButton"],["tooltip","All capabilities are already added."],["triggers","pointerenter pointerleave"],["type","button"]],[[8,"disabled",0],[1,"aria-describedby",0]],[[null,"click"]],function(l,n,u){var e=!0;return"click"===n&&(e=!1!==l.component.showCapabilityModal()&&e),e},null,null)),t["\u0275did"](10,212992,null,0,Ou.c,[t.ViewContainerRef,Jl.a,Ou.a,t.ElementRef,t.Renderer2,Mu.a],{tooltip:[0,"tooltip"],triggers:[1,"triggers"],isDisabled:[2,"isDisabled"]},null),(l()(),t["\u0275eld"](11,0,null,null,0,"i",[["class","fa fa-fw fa-plus"]],null,null,null,null,null)),(l()(),t["\u0275eld"](12,0,null,null,3,null,null,null,null,null,null,null)),(l()(),t["\u0275ted"](13,null,[""," ",""])),t["\u0275ppd"](14,1),t["\u0275ppd"](15,1)],function(l,n){var u=n.component;l(n,5,0,0===u.capabilities.length),l(n,7,0,u.capabilities),l(n,10,0,"All capabilities are already added.","pointerenter pointerleave",!u.hasAllCapabilities())},function(l,n){var u=n.component;l(n,9,0,u.hasAllCapabilities(),t["\u0275nov"](n,10).ariaDescribedby);var e=t["\u0275unv"](n,13,0,l(n,14,0,t["\u0275nov"](n.parent.parent,0),u.actionLabels.ADD)),i=t["\u0275unv"](n,13,1,l(n,15,0,t["\u0275nov"](n.parent.parent,1),u.capabilityLabel));l(n,13,0,e,i)})}function $e(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,11,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,10,"div",[["class","col-sm-offset-3 col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](2,0,null,null,9,"div",[["class","checkbox checkbox-primary"]],null,null,null,null,null)),(l()(),t["\u0275eld"](3,0,null,null,6,"input",[["formControlName","user_quota_max_size_unlimited"],["id","user_quota_max_size_unlimited"],["type","checkbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"blur"]],function(l,n,u){var e=!0;return"change"===n&&(e=!1!==t["\u0275nov"](l,5).onChange(u.target.checked)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,5).onTouched()&&e),e},null,null)),t["\u0275did"](4,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](5,16384,null,0,d.c,[t.Renderer2,t.ElementRef],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.c]),t["\u0275did"](7,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](9,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275eld"](10,0,null,null,1,"label",[["for","user_quota_max_size_unlimited"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Unlimited size"]))],function(l,n){l(n,7,0,"user_quota_max_size_unlimited")},function(l,n){l(n,3,0,t["\u0275nov"](n,9).ngClassUntouched,t["\u0275nov"](n,9).ngClassTouched,t["\u0275nov"](n,9).ngClassPristine,t["\u0275nov"](n,9).ngClassDirty,t["\u0275nov"](n,9).ngClassValid,t["\u0275nov"](n,9).ngClassInvalid,t["\u0275nov"](n,9).ngClassPending)})}function Ze(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["This field is required."]))],null,null)}function Qe(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["The value is not valid."]))],null,null)}function He(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,19,"div",[["class","form-group"]],null,null,null,null,null)),t["\u0275did"](1,278528,null,0,ql.NgClass,[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](2,{"has-error":0}),(l()(),t["\u0275eld"](3,0,null,null,3,"label",[["class","control-label col-sm-3"],["for","user_quota_max_size"]],null,null,null,null,null)),(l()(),t["\u0275eld"](4,0,null,null,1,null,null,null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Max. size"])),(l()(),t["\u0275eld"](6,0,null,null,0,"span",[["class","required"]],null,null,null,null,null)),(l()(),t["\u0275eld"](7,0,null,null,12,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](8,0,null,null,7,"input",[["cdDimlessBinary",""],["class","form-control"],["formControlName","user_quota_max_size"],["id","user_quota_max_size"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,u){var e=!0;return"input"===n&&(e=!1!==t["\u0275nov"](l,9)._handleInput(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,9).onTouched()&&e),"compositionstart"===n&&(e=!1!==t["\u0275nov"](l,9)._compositionStart()&&e),"compositionend"===n&&(e=!1!==t["\u0275nov"](l,9)._compositionEnd(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,13).onBlur(u.target.value)&&e),e},null,null)),t["\u0275did"](9,16384,null,0,d.e,[t.Renderer2,t.ElementRef,[2,d.b]],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.e]),t["\u0275did"](11,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](13,81920,null,0,ve.a,[t.ElementRef,d.q,q.a,U.a],null,null),t["\u0275did"](14,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](15,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275and"](16777216,null,null,1,null,Ze)),t["\u0275did"](17,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Qe)),t["\u0275did"](19,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(l,n){var u=n.component,e=l(n,2,0,u.userForm.showError("user_quota_max_size",t["\u0275nov"](n.parent,3)));l(n,1,0,"form-group",e),l(n,11,0,"user_quota_max_size"),l(n,13,0),l(n,17,0,u.userForm.showError("user_quota_max_size",t["\u0275nov"](n.parent,3),"required")),l(n,19,0,u.userForm.showError("user_quota_max_size",t["\u0275nov"](n.parent,3),"quotaMaxSize"))},function(l,n){l(n,8,0,t["\u0275nov"](n,15).ngClassUntouched,t["\u0275nov"](n,15).ngClassTouched,t["\u0275nov"](n,15).ngClassPristine,t["\u0275nov"](n,15).ngClassDirty,t["\u0275nov"](n,15).ngClassValid,t["\u0275nov"](n,15).ngClassInvalid,t["\u0275nov"](n,15).ngClassPending)})}function Ye(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,11,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,10,"div",[["class","col-sm-offset-3 col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](2,0,null,null,9,"div",[["class","checkbox checkbox-primary"]],null,null,null,null,null)),(l()(),t["\u0275eld"](3,0,null,null,6,"input",[["formControlName","user_quota_max_objects_unlimited"],["id","user_quota_max_objects_unlimited"],["type","checkbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"blur"]],function(l,n,u){var e=!0;return"change"===n&&(e=!1!==t["\u0275nov"](l,5).onChange(u.target.checked)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,5).onTouched()&&e),e},null,null)),t["\u0275did"](4,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](5,16384,null,0,d.c,[t.Renderer2,t.ElementRef],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.c]),t["\u0275did"](7,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](9,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275eld"](10,0,null,null,1,"label",[["for","user_quota_max_objects_unlimited"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Unlimited objects"]))],function(l,n){l(n,7,0,"user_quota_max_objects_unlimited")},function(l,n){l(n,3,0,t["\u0275nov"](n,9).ngClassUntouched,t["\u0275nov"](n,9).ngClassTouched,t["\u0275nov"](n,9).ngClassPristine,t["\u0275nov"](n,9).ngClassDirty,t["\u0275nov"](n,9).ngClassValid,t["\u0275nov"](n,9).ngClassInvalid,t["\u0275nov"](n,9).ngClassPending)})}function Xe(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["This field is required."]))],null,null)}function Je(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["The entered value must be >= 0."]))],null,null)}function We(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,19,"div",[["class","form-group"]],null,null,null,null,null)),t["\u0275did"](1,278528,null,0,ql.NgClass,[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](2,{"has-error":0}),(l()(),t["\u0275eld"](3,0,null,null,3,"label",[["class","control-label col-sm-3"],["for","user_quota_max_objects"]],null,null,null,null,null)),(l()(),t["\u0275eld"](4,0,null,null,1,null,null,null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Max. objects"])),(l()(),t["\u0275eld"](6,0,null,null,0,"span",[["class","required"]],null,null,null,null,null)),(l()(),t["\u0275eld"](7,0,null,null,12,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](8,0,null,null,7,"input",[["class","form-control"],["formControlName","user_quota_max_objects"],["id","user_quota_max_objects"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(l,n,u){var e=!0;return"input"===n&&(e=!1!==t["\u0275nov"](l,10)._handleInput(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,10).onTouched()&&e),"compositionstart"===n&&(e=!1!==t["\u0275nov"](l,10)._compositionStart()&&e),"compositionend"===n&&(e=!1!==t["\u0275nov"](l,10)._compositionEnd(u.target.value)&&e),"change"===n&&(e=!1!==t["\u0275nov"](l,11).onChange(u.target.value)&&e),"input"===n&&(e=!1!==t["\u0275nov"](l,11).onChange(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,11).onTouched()&&e),e},null,null)),t["\u0275did"](9,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](10,16384,null,0,d.e,[t.Renderer2,t.ElementRef,[2,d.b]],null,null),t["\u0275did"](11,16384,null,0,d.C,[t.Renderer2,t.ElementRef],null,null),t["\u0275prd"](1024,null,d.p,function(l,n){return[l,n]},[d.e,d.C]),t["\u0275did"](13,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](15,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275and"](16777216,null,null,1,null,Xe)),t["\u0275did"](17,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Je)),t["\u0275did"](19,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(l,n){var u=n.component,e=l(n,2,0,u.userForm.showError("user_quota_max_objects",t["\u0275nov"](n.parent,3)));l(n,1,0,"form-group",e),l(n,13,0,"user_quota_max_objects"),l(n,17,0,u.userForm.showError("user_quota_max_objects",t["\u0275nov"](n.parent,3),"required")),l(n,19,0,u.userForm.showError("user_quota_max_objects",t["\u0275nov"](n.parent,3),"min"))},function(l,n){l(n,8,0,t["\u0275nov"](n,15).ngClassUntouched,t["\u0275nov"](n,15).ngClassTouched,t["\u0275nov"](n,15).ngClassPristine,t["\u0275nov"](n,15).ngClassDirty,t["\u0275nov"](n,15).ngClassValid,t["\u0275nov"](n,15).ngClassInvalid,t["\u0275nov"](n,15).ngClassPending)})}function lt(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,11,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,10,"div",[["class","col-sm-offset-3 col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](2,0,null,null,9,"div",[["class","checkbox checkbox-primary"]],null,null,null,null,null)),(l()(),t["\u0275eld"](3,0,null,null,6,"input",[["formControlName","bucket_quota_max_size_unlimited"],["id","bucket_quota_max_size_unlimited"],["type","checkbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"blur"]],function(l,n,u){var e=!0;return"change"===n&&(e=!1!==t["\u0275nov"](l,5).onChange(u.target.checked)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,5).onTouched()&&e),e},null,null)),t["\u0275did"](4,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](5,16384,null,0,d.c,[t.Renderer2,t.ElementRef],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.c]),t["\u0275did"](7,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](9,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275eld"](10,0,null,null,1,"label",[["for","bucket_quota_max_size_unlimited"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Unlimited size"]))],function(l,n){l(n,7,0,"bucket_quota_max_size_unlimited")},function(l,n){l(n,3,0,t["\u0275nov"](n,9).ngClassUntouched,t["\u0275nov"](n,9).ngClassTouched,t["\u0275nov"](n,9).ngClassPristine,t["\u0275nov"](n,9).ngClassDirty,t["\u0275nov"](n,9).ngClassValid,t["\u0275nov"](n,9).ngClassInvalid,t["\u0275nov"](n,9).ngClassPending)})}function nt(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["This field is required."]))],null,null)}function ut(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["The value is not valid."]))],null,null)}function et(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,19,"div",[["class","form-group"]],null,null,null,null,null)),t["\u0275did"](1,278528,null,0,ql.NgClass,[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](2,{"has-error":0}),(l()(),t["\u0275eld"](3,0,null,null,3,"label",[["class","control-label col-sm-3"],["for","bucket_quota_max_size"]],null,null,null,null,null)),(l()(),t["\u0275eld"](4,0,null,null,1,null,null,null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Max. size"])),(l()(),t["\u0275eld"](6,0,null,null,0,"span",[["class","required"]],null,null,null,null,null)),(l()(),t["\u0275eld"](7,0,null,null,12,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](8,0,null,null,7,"input",[["cdDimlessBinary",""],["class","form-control"],["formControlName","bucket_quota_max_size"],["id","bucket_quota_max_size"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,u){var e=!0;return"input"===n&&(e=!1!==t["\u0275nov"](l,9)._handleInput(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,9).onTouched()&&e),"compositionstart"===n&&(e=!1!==t["\u0275nov"](l,9)._compositionStart()&&e),"compositionend"===n&&(e=!1!==t["\u0275nov"](l,9)._compositionEnd(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,13).onBlur(u.target.value)&&e),e},null,null)),t["\u0275did"](9,16384,null,0,d.e,[t.Renderer2,t.ElementRef,[2,d.b]],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.e]),t["\u0275did"](11,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](13,81920,null,0,ve.a,[t.ElementRef,d.q,q.a,U.a],null,null),t["\u0275did"](14,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](15,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275and"](16777216,null,null,1,null,nt)),t["\u0275did"](17,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,ut)),t["\u0275did"](19,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(l,n){var u=n.component,e=l(n,2,0,u.userForm.showError("bucket_quota_max_size",t["\u0275nov"](n.parent,3)));l(n,1,0,"form-group",e),l(n,11,0,"bucket_quota_max_size"),l(n,13,0),l(n,17,0,u.userForm.showError("bucket_quota_max_size",t["\u0275nov"](n.parent,3),"required")),l(n,19,0,u.userForm.showError("bucket_quota_max_size",t["\u0275nov"](n.parent,3),"quotaMaxSize"))},function(l,n){l(n,8,0,t["\u0275nov"](n,15).ngClassUntouched,t["\u0275nov"](n,15).ngClassTouched,t["\u0275nov"](n,15).ngClassPristine,t["\u0275nov"](n,15).ngClassDirty,t["\u0275nov"](n,15).ngClassValid,t["\u0275nov"](n,15).ngClassInvalid,t["\u0275nov"](n,15).ngClassPending)})}function tt(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,11,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,10,"div",[["class","col-sm-offset-3 col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](2,0,null,null,9,"div",[["class","checkbox checkbox-primary"]],null,null,null,null,null)),(l()(),t["\u0275eld"](3,0,null,null,6,"input",[["formControlName","bucket_quota_max_objects_unlimited"],["id","bucket_quota_max_objects_unlimited"],["type","checkbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"blur"]],function(l,n,u){var e=!0;return"change"===n&&(e=!1!==t["\u0275nov"](l,5).onChange(u.target.checked)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,5).onTouched()&&e),e},null,null)),t["\u0275did"](4,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](5,16384,null,0,d.c,[t.Renderer2,t.ElementRef],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.c]),t["\u0275did"](7,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](9,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275eld"](10,0,null,null,1,"label",[["for","bucket_quota_max_objects_unlimited"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Unlimited objects"]))],function(l,n){l(n,7,0,"bucket_quota_max_objects_unlimited")},function(l,n){l(n,3,0,t["\u0275nov"](n,9).ngClassUntouched,t["\u0275nov"](n,9).ngClassTouched,t["\u0275nov"](n,9).ngClassPristine,t["\u0275nov"](n,9).ngClassDirty,t["\u0275nov"](n,9).ngClassValid,t["\u0275nov"](n,9).ngClassInvalid,t["\u0275nov"](n,9).ngClassPending)})}function it(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["This field is required."]))],null,null)}function ot(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["The entered value must be >= 0."]))],null,null)}function at(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,19,"div",[["class","form-group"]],null,null,null,null,null)),t["\u0275did"](1,278528,null,0,ql.NgClass,[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](2,{"has-error":0}),(l()(),t["\u0275eld"](3,0,null,null,3,"label",[["class","control-label col-sm-3"],["for","bucket_quota_max_objects"]],null,null,null,null,null)),(l()(),t["\u0275eld"](4,0,null,null,1,null,null,null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Max. objects"])),(l()(),t["\u0275eld"](6,0,null,null,0,"span",[["class","required"]],null,null,null,null,null)),(l()(),t["\u0275eld"](7,0,null,null,12,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](8,0,null,null,7,"input",[["class","form-control"],["formControlName","bucket_quota_max_objects"],["id","bucket_quota_max_objects"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(l,n,u){var e=!0;return"input"===n&&(e=!1!==t["\u0275nov"](l,10)._handleInput(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,10).onTouched()&&e),"compositionstart"===n&&(e=!1!==t["\u0275nov"](l,10)._compositionStart()&&e),"compositionend"===n&&(e=!1!==t["\u0275nov"](l,10)._compositionEnd(u.target.value)&&e),"change"===n&&(e=!1!==t["\u0275nov"](l,11).onChange(u.target.value)&&e),"input"===n&&(e=!1!==t["\u0275nov"](l,11).onChange(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,11).onTouched()&&e),e},null,null)),t["\u0275did"](9,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](10,16384,null,0,d.e,[t.Renderer2,t.ElementRef,[2,d.b]],null,null),t["\u0275did"](11,16384,null,0,d.C,[t.Renderer2,t.ElementRef],null,null),t["\u0275prd"](1024,null,d.p,function(l,n){return[l,n]},[d.e,d.C]),t["\u0275did"](13,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](15,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275and"](16777216,null,null,1,null,it)),t["\u0275did"](17,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,ot)),t["\u0275did"](19,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(l,n){var u=n.component,e=l(n,2,0,u.userForm.showError("bucket_quota_max_objects",t["\u0275nov"](n.parent,3)));l(n,1,0,"form-group",e),l(n,13,0,"bucket_quota_max_objects"),l(n,17,0,u.userForm.showError("bucket_quota_max_objects",t["\u0275nov"](n.parent,3),"required")),l(n,19,0,u.userForm.showError("bucket_quota_max_objects",t["\u0275nov"](n.parent,3),"min"))},function(l,n){l(n,8,0,t["\u0275nov"](n,15).ngClassUntouched,t["\u0275nov"](n,15).ngClassTouched,t["\u0275nov"](n,15).ngClassPristine,t["\u0275nov"](n,15).ngClassDirty,t["\u0275nov"](n,15).ngClassValid,t["\u0275nov"](n,15).ngClassInvalid,t["\u0275nov"](n,15).ngClassPending)})}function rt(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,168,"div",[["class","col-sm-12 col-lg-6"]],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,167,"form",[["class","form-horizontal"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,u){var e=!0;return"submit"===n&&(e=!1!==t["\u0275nov"](l,3).onSubmit(u)&&e),"reset"===n&&(e=!1!==t["\u0275nov"](l,3).onReset()&&e),e},null,null)),t["\u0275did"](2,16384,null,0,d.D,[],null,null),t["\u0275did"](3,540672,[["frm",4]],0,d.l,[[8,null],[8,null]],{form:[0,"form"]},null),t["\u0275prd"](2048,null,d.d,null,[d.l]),t["\u0275did"](5,16384,null,0,d.s,[[4,d.d]],null,null),(l()(),t["\u0275eld"](6,0,null,null,162,"div",[["class","panel panel-default"]],null,null,null,null,null)),(l()(),t["\u0275eld"](7,0,null,null,4,"div",[["class","panel-heading"]],null,null,null,null,null)),(l()(),t["\u0275eld"](8,0,null,null,3,"h3",[["class","panel-title"]],null,null,null,null,null)),(l()(),t["\u0275ted"](9,null,[""," ",""])),t["\u0275ppd"](10,1),t["\u0275ppd"](11,1),(l()(),t["\u0275eld"](12,0,null,null,147,"div",[["class","panel-body"]],null,null,null,null,null)),(l()(),t["\u0275eld"](13,0,null,null,20,"div",[["class","form-group"]],null,null,null,null,null)),t["\u0275did"](14,278528,null,0,ql.NgClass,[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](15,{"has-error":0}),(l()(),t["\u0275eld"](16,0,null,null,4,"label",[["class","control-label col-sm-3"],["for","uid"]],null,null,null,null,null)),(l()(),t["\u0275eld"](17,0,null,null,1,null,null,null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Username"])),(l()(),t["\u0275and"](16777216,null,null,1,null,Ce)),t["\u0275did"](20,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](21,0,null,null,12,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](22,0,null,null,7,"input",[["autofocus",""],["class","form-control"],["formControlName","uid"],["id","uid"],["type","text"]],[[8,"readOnly",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,u){var e=!0;return"input"===n&&(e=!1!==t["\u0275nov"](l,25)._handleInput(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,25).onTouched()&&e),"compositionstart"===n&&(e=!1!==t["\u0275nov"](l,25)._compositionStart()&&e),"compositionend"===n&&(e=!1!==t["\u0275nov"](l,25)._compositionEnd(u.target.value)&&e),e},null,null)),t["\u0275did"](23,4210688,null,0,zn.a,[t.ElementRef],null,null),t["\u0275did"](24,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](25,16384,null,0,d.e,[t.Renderer2,t.ElementRef,[2,d.b]],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.e]),t["\u0275did"](27,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](29,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275and"](16777216,null,null,1,null,_e)),t["\u0275did"](31,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,ke)),t["\u0275did"](33,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](34,0,null,null,17,"div",[["class","form-group"]],null,null,null,null,null)),t["\u0275did"](35,278528,null,0,ql.NgClass,[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](36,{"has-error":0}),(l()(),t["\u0275eld"](37,0,null,null,4,"label",[["class","control-label col-sm-3"],["for","display_name"]],null,null,null,null,null)),(l()(),t["\u0275eld"](38,0,null,null,1,null,null,null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Full name"])),(l()(),t["\u0275and"](16777216,null,null,1,null,Re)),t["\u0275did"](41,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](42,0,null,null,9,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](43,0,null,null,6,"input",[["class","form-control"],["formControlName","display_name"],["id","display_name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,u){var e=!0;return"input"===n&&(e=!1!==t["\u0275nov"](l,45)._handleInput(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,45).onTouched()&&e),"compositionstart"===n&&(e=!1!==t["\u0275nov"](l,45)._compositionStart()&&e),"compositionend"===n&&(e=!1!==t["\u0275nov"](l,45)._compositionEnd(u.target.value)&&e),e},null,null)),t["\u0275did"](44,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](45,16384,null,0,d.e,[t.Renderer2,t.ElementRef,[2,d.b]],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.e]),t["\u0275did"](47,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](49,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275and"](16777216,null,null,1,null,Ie)),t["\u0275did"](51,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](52,0,null,null,16,"div",[["class","form-group"]],null,null,null,null,null)),t["\u0275did"](53,278528,null,0,ql.NgClass,[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](54,{"has-error":0}),(l()(),t["\u0275eld"](55,0,null,null,1,"label",[["class","control-label col-sm-3"],["for","email"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Email address"])),(l()(),t["\u0275eld"](57,0,null,null,11,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](58,0,null,null,6,"input",[["class","form-control"],["formControlName","email"],["id","email"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,u){var e=!0;return"input"===n&&(e=!1!==t["\u0275nov"](l,60)._handleInput(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,60).onTouched()&&e),"compositionstart"===n&&(e=!1!==t["\u0275nov"](l,60)._compositionStart()&&e),"compositionend"===n&&(e=!1!==t["\u0275nov"](l,60)._compositionEnd(u.target.value)&&e),e},null,null)),t["\u0275did"](59,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](60,16384,null,0,d.e,[t.Renderer2,t.ElementRef,[2,d.b]],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.e]),t["\u0275did"](62,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](64,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275and"](16777216,null,null,1,null,we)),t["\u0275did"](66,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Ee)),t["\u0275did"](68,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](69,0,null,null,22,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),t["\u0275eld"](70,0,null,null,1,"label",[["class","control-label col-sm-3"],["for","max_buckets_mode"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Max. buckets"])),(l()(),t["\u0275eld"](72,0,null,null,19,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](73,0,null,null,18,"select",[["class","form-control"],["formControlName","max_buckets_mode"],["id","max_buckets_mode"],["name","max_buckets_mode"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"blur"]],function(l,n,u){var e=!0,i=l.component;return"change"===n&&(e=!1!==t["\u0275nov"](l,75).onChange(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,75).onTouched()&&e),"change"===n&&(e=!1!==i.onMaxBucketsModeChange(u.target.value)&&e),e},null,null)),t["\u0275did"](74,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](75,16384,null,0,d.z,[t.Renderer2,t.ElementRef],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.z]),t["\u0275did"](77,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](79,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275eld"](80,0,null,null,3,"option",[["value","-1"]],null,null,null,null,null)),t["\u0275did"](81,147456,null,0,d.v,[t.ElementRef,t.Renderer2,[2,d.z]],{value:[0,"value"]},null),t["\u0275did"](82,147456,null,0,d.G,[t.ElementRef,t.Renderer2,[8,null]],{value:[0,"value"]},null),(l()(),t["\u0275ted"](-1,null,["Disabled"])),(l()(),t["\u0275eld"](84,0,null,null,3,"option",[["value","0"]],null,null,null,null,null)),t["\u0275did"](85,147456,null,0,d.v,[t.ElementRef,t.Renderer2,[2,d.z]],{value:[0,"value"]},null),t["\u0275did"](86,147456,null,0,d.G,[t.ElementRef,t.Renderer2,[8,null]],{value:[0,"value"]},null),(l()(),t["\u0275ted"](-1,null,["Unlimited"])),(l()(),t["\u0275eld"](88,0,null,null,3,"option",[["value","1"]],null,null,null,null,null)),t["\u0275did"](89,147456,null,0,d.v,[t.ElementRef,t.Renderer2,[2,d.z]],{value:[0,"value"]},null),t["\u0275did"](90,147456,null,0,d.G,[t.ElementRef,t.Renderer2,[8,null]],{value:[0,"value"]},null),(l()(),t["\u0275ted"](-1,null,["Custom"])),(l()(),t["\u0275and"](16777216,null,null,1,null,qe)),t["\u0275did"](93,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](94,0,null,null,11,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),t["\u0275eld"](95,0,null,null,10,"div",[["class","col-sm-offset-3 col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](96,0,null,null,9,"div",[["class","checkbox checkbox-primary"]],null,null,null,null,null)),(l()(),t["\u0275eld"](97,0,null,null,6,"input",[["formControlName","suspended"],["id","suspended"],["type","checkbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"blur"]],function(l,n,u){var e=!0;return"change"===n&&(e=!1!==t["\u0275nov"](l,99).onChange(u.target.checked)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,99).onTouched()&&e),e},null,null)),t["\u0275did"](98,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](99,16384,null,0,d.c,[t.Renderer2,t.ElementRef],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.c]),t["\u0275did"](101,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](103,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275eld"](104,0,null,null,1,"label",[["for","suspended"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Suspended"])),(l()(),t["\u0275and"](16777216,null,null,1,null,Fe)),t["\u0275did"](107,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,ze)),t["\u0275did"](109,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Oe)),t["\u0275did"](111,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Ke)),t["\u0275did"](113,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](114,0,null,null,22,"fieldset",[],null,null,null,null,null)),(l()(),t["\u0275eld"](115,0,null,null,1,"legend",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["User quota"])),(l()(),t["\u0275eld"](117,0,null,null,11,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),t["\u0275eld"](118,0,null,null,10,"div",[["class","col-sm-offset-3 col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](119,0,null,null,9,"div",[["class","checkbox checkbox-primary"]],null,null,null,null,null)),(l()(),t["\u0275eld"](120,0,null,null,6,"input",[["formControlName","user_quota_enabled"],["id","user_quota_enabled"],["type","checkbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"blur"]],function(l,n,u){var e=!0;return"change"===n&&(e=!1!==t["\u0275nov"](l,122).onChange(u.target.checked)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,122).onTouched()&&e),e},null,null)),t["\u0275did"](121,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](122,16384,null,0,d.c,[t.Renderer2,t.ElementRef],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.c]),t["\u0275did"](124,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](126,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275eld"](127,0,null,null,1,"label",[["for","user_quota_enabled"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Enabled"])),(l()(),t["\u0275and"](16777216,null,null,1,null,$e)),t["\u0275did"](130,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,He)),t["\u0275did"](132,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Ye)),t["\u0275did"](134,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,We)),t["\u0275did"](136,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](137,0,null,null,22,"fieldset",[],null,null,null,null,null)),(l()(),t["\u0275eld"](138,0,null,null,1,"legend",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Bucket quota"])),(l()(),t["\u0275eld"](140,0,null,null,11,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),t["\u0275eld"](141,0,null,null,10,"div",[["class","col-sm-offset-3 col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](142,0,null,null,9,"div",[["class","checkbox checkbox-primary"]],null,null,null,null,null)),(l()(),t["\u0275eld"](143,0,null,null,6,"input",[["formControlName","bucket_quota_enabled"],["id","bucket_quota_enabled"],["type","checkbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"blur"]],function(l,n,u){var e=!0;return"change"===n&&(e=!1!==t["\u0275nov"](l,145).onChange(u.target.checked)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,145).onTouched()&&e),e},null,null)),t["\u0275did"](144,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](145,16384,null,0,d.c,[t.Renderer2,t.ElementRef],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.c]),t["\u0275did"](147,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](149,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275eld"](150,0,null,null,1,"label",[["for","bucket_quota_enabled"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Enabled"])),(l()(),t["\u0275and"](16777216,null,null,1,null,lt)),t["\u0275did"](153,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,et)),t["\u0275did"](155,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,tt)),t["\u0275did"](157,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,at)),t["\u0275did"](159,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](160,0,null,null,8,"div",[["class","panel-footer"]],null,null,null,null,null)),(l()(),t["\u0275eld"](161,0,null,null,7,"div",[["class","button-group text-right"]],null,null,null,null,null)),(l()(),t["\u0275eld"](162,0,null,null,4,"cd-submit-button",[["type","button"]],null,[[null,"submitAction"]],function(l,n,u){var e=!0;return"submitAction"===n&&(e=!1!==l.component.onSubmit()&&e),e},An.b,An.a)),t["\u0275did"](163,114688,null,0,Bn.a,[t.ElementRef],{form:[0,"form"],type:[1,"type"]},{submitAction:"submitAction"}),(l()(),t["\u0275ted"](164,0,[""," ",""])),t["\u0275ppd"](165,1),t["\u0275ppd"](166,1),(l()(),t["\u0275eld"](167,0,null,null,1,"cd-back-button",[],null,null,null,Sn.b,Sn.a)),t["\u0275did"](168,49152,null,0,Dn.a,[ql.Location,i.b],null,null)],function(l,n){var u=n.component;l(n,3,0,u.userForm);var e=l(n,15,0,u.userForm.showError("uid",t["\u0275nov"](n,3)));l(n,14,0,"form-group",e),l(n,20,0,!u.editing),l(n,27,0,"uid"),l(n,31,0,u.userForm.showError("uid",t["\u0275nov"](n,3),"required")),l(n,33,0,u.userForm.showError("uid",t["\u0275nov"](n,3),"notUnique"));var i=l(n,36,0,u.userForm.showError("display_name",t["\u0275nov"](n,3)));l(n,35,0,"form-group",i),l(n,41,0,!u.editing),l(n,47,0,"display_name"),l(n,51,0,u.userForm.showError("display_name",t["\u0275nov"](n,3),"required"));var o=l(n,54,0,u.userForm.showError("email",t["\u0275nov"](n,3)));l(n,53,0,"form-group",o),l(n,62,0,"email"),l(n,66,0,u.userForm.showError("email",t["\u0275nov"](n,3),"email")),l(n,68,0,u.userForm.showError("email",t["\u0275nov"](n,3),"notUnique")),l(n,77,0,"max_buckets_mode"),l(n,81,0,"-1"),l(n,82,0,"-1"),l(n,85,0,"0"),l(n,86,0,"0"),l(n,89,0,"1"),l(n,90,0,"1"),l(n,93,0,1==u.userForm.get("max_buckets_mode").value),l(n,101,0,"suspended"),l(n,107,0,!u.editing),l(n,109,0,u.editing),l(n,111,0,u.editing),l(n,113,0,u.editing),l(n,124,0,"user_quota_enabled"),l(n,130,0,u.userForm.controls.user_quota_enabled.value),l(n,132,0,!u.userForm.getValue("user_quota_max_size_unlimited")),l(n,134,0,u.userForm.controls.user_quota_enabled.value),l(n,136,0,!u.userForm.getValue("user_quota_max_objects_unlimited")),l(n,147,0,"bucket_quota_enabled"),l(n,153,0,u.userForm.controls.bucket_quota_enabled.value),l(n,155,0,!u.userForm.getValue("bucket_quota_max_size_unlimited")),l(n,157,0,u.userForm.controls.bucket_quota_enabled.value),l(n,159,0,!u.userForm.getValue("bucket_quota_max_objects_unlimited")),l(n,163,0,u.userForm,"button")},function(l,n){var u=n.component;l(n,1,0,t["\u0275nov"](n,5).ngClassUntouched,t["\u0275nov"](n,5).ngClassTouched,t["\u0275nov"](n,5).ngClassPristine,t["\u0275nov"](n,5).ngClassDirty,t["\u0275nov"](n,5).ngClassValid,t["\u0275nov"](n,5).ngClassInvalid,t["\u0275nov"](n,5).ngClassPending);var e=t["\u0275unv"](n,9,0,l(n,10,0,t["\u0275nov"](n.parent,0),u.action)),i=t["\u0275unv"](n,9,1,l(n,11,0,t["\u0275nov"](n.parent,1),u.resource));l(n,9,0,e,i),l(n,22,0,u.editing,t["\u0275nov"](n,29).ngClassUntouched,t["\u0275nov"](n,29).ngClassTouched,t["\u0275nov"](n,29).ngClassPristine,t["\u0275nov"](n,29).ngClassDirty,t["\u0275nov"](n,29).ngClassValid,t["\u0275nov"](n,29).ngClassInvalid,t["\u0275nov"](n,29).ngClassPending),l(n,43,0,t["\u0275nov"](n,49).ngClassUntouched,t["\u0275nov"](n,49).ngClassTouched,t["\u0275nov"](n,49).ngClassPristine,t["\u0275nov"](n,49).ngClassDirty,t["\u0275nov"](n,49).ngClassValid,t["\u0275nov"](n,49).ngClassInvalid,t["\u0275nov"](n,49).ngClassPending),l(n,58,0,t["\u0275nov"](n,64).ngClassUntouched,t["\u0275nov"](n,64).ngClassTouched,t["\u0275nov"](n,64).ngClassPristine,t["\u0275nov"](n,64).ngClassDirty,t["\u0275nov"](n,64).ngClassValid,t["\u0275nov"](n,64).ngClassInvalid,t["\u0275nov"](n,64).ngClassPending),l(n,73,0,t["\u0275nov"](n,79).ngClassUntouched,t["\u0275nov"](n,79).ngClassTouched,t["\u0275nov"](n,79).ngClassPristine,t["\u0275nov"](n,79).ngClassDirty,t["\u0275nov"](n,79).ngClassValid,t["\u0275nov"](n,79).ngClassInvalid,t["\u0275nov"](n,79).ngClassPending),l(n,97,0,t["\u0275nov"](n,103).ngClassUntouched,t["\u0275nov"](n,103).ngClassTouched,t["\u0275nov"](n,103).ngClassPristine,t["\u0275nov"](n,103).ngClassDirty,t["\u0275nov"](n,103).ngClassValid,t["\u0275nov"](n,103).ngClassInvalid,t["\u0275nov"](n,103).ngClassPending),l(n,120,0,t["\u0275nov"](n,126).ngClassUntouched,t["\u0275nov"](n,126).ngClassTouched,t["\u0275nov"](n,126).ngClassPristine,t["\u0275nov"](n,126).ngClassDirty,t["\u0275nov"](n,126).ngClassValid,t["\u0275nov"](n,126).ngClassInvalid,t["\u0275nov"](n,126).ngClassPending),l(n,143,0,t["\u0275nov"](n,149).ngClassUntouched,t["\u0275nov"](n,149).ngClassTouched,t["\u0275nov"](n,149).ngClassPristine,t["\u0275nov"](n,149).ngClassDirty,t["\u0275nov"](n,149).ngClassValid,t["\u0275nov"](n,149).ngClassInvalid,t["\u0275nov"](n,149).ngClassPending);var o=t["\u0275unv"](n,164,0,l(n,165,0,t["\u0275nov"](n.parent,0),u.action)),a=t["\u0275unv"](n,164,1,l(n,166,0,t["\u0275nov"](n.parent,1),u.resource));l(n,164,0,o,a)})}function st(l){return t["\u0275vid"](0,[t["\u0275pid"](0,ql.TitleCasePipe,[]),t["\u0275pid"](0,wn.a,[]),(l()(),t["\u0275and"](16777216,null,null,1,null,he)),t["\u0275did"](3,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,ye)),t["\u0275did"](5,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,rt)),t["\u0275did"](7,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(l,n){var u=n.component;l(n,3,0,u.editing&&u.loading&&!u.error),l(n,5,0,u.editing&&u.error),l(n,7,0,!u.loading&&!u.error)},null)}function dt(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"cd-rgw-user-form",[],null,null,null,st,be)),t["\u0275did"](1,114688,null,0,Z,[_.a,$u.a,$u.l,y.a,nn.b,k.a,_l.a,i.b],null,null)],function(l,n){l(n,1,0)},null)}var ct=t["\u0275ccf"]("cd-rgw-user-form",Z,dt,{},{},[]),pt=u("xSw7"),ft=u("GgAd"),mt=t["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function gt(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"cd-usage-bar",[],null,null,null,pt.b,pt.a)),t["\u0275did"](1,573440,null,0,ft.a,[],{total:[0,"total"],used:[1,"used"]},null)],function(l,n){l(n,1,0,n.parent.context.row.bucket_quota.max_size,n.parent.context.row.bucket_size)},null)}function vt(l){return t["\u0275vid"](0,[(l()(),t["\u0275ted"](-1,null,["No Limit"]))],null,null)}function bt(l){return t["\u0275vid"](0,[(l()(),t["\u0275and"](16777216,null,null,1,null,gt)),t["\u0275did"](1,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),t["\u0275and"](0,[["noSizeQuota",2]],null,0,null,vt))],function(l,n){l(n,1,0,n.context.row.bucket_quota.max_size>0&&n.context.row.bucket_quota.enabled,t["\u0275nov"](n,2))},null)}function ht(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"cd-usage-bar",[],null,null,null,pt.b,pt.a)),t["\u0275did"](1,573440,null,0,ft.a,[],{total:[0,"total"],used:[1,"used"],isBinary:[2,"isBinary"]},null)],function(l,n){l(n,1,0,n.parent.context.row.bucket_quota.max_objects,n.parent.context.row.num_objects,!1)},null)}function yt(l){return t["\u0275vid"](0,[(l()(),t["\u0275ted"](-1,null,["No Limit"]))],null,null)}function Ct(l){return t["\u0275vid"](0,[(l()(),t["\u0275and"](16777216,null,null,1,null,ht)),t["\u0275did"](1,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),t["\u0275and"](0,[["noObjectQuota",2]],null,0,null,yt))],function(l,n){l(n,1,0,n.context.row.bucket_quota.max_objects>0&&n.context.row.bucket_quota.enabled,t["\u0275nov"](n,2))},null)}function _t(l){return t["\u0275vid"](0,[t["\u0275qud"](402653184,1,{table:0}),t["\u0275qud"](402653184,2,{bucketSizeTpl:0}),t["\u0275qud"](402653184,3,{bucketObjectTpl:0}),(l()(),t["\u0275eld"](3,0,null,null,5,"cd-table",[["columnMode","flex"],["identifier","bid"],["selectionType","multi"]],null,[[null,"updateSelection"],[null,"fetchData"]],function(l,n,u){var e=!0,t=l.component;return"updateSelection"===n&&(e=!1!==t.updateSelection(u)&&e),"fetchData"===n&&(e=!1!==t.getBucketList(u)&&e),e},Yl.b,Yl.a)),t["\u0275did"](4,2867200,[[1,4],["table",4]],0,x.a,[t.NgZone,t.ChangeDetectorRef],{data:[0,"data"],columns:[1,"columns"],columnMode:[2,"columnMode"],autoReload:[3,"autoReload"],identifier:[4,"identifier"],selectionType:[5,"selectionType"]},{fetchData:"fetchData",updateSelection:"updateSelection"}),(l()(),t["\u0275eld"](5,0,null,0,1,"cd-table-actions",[["class","table-actions"]],null,null,null,oe.b,oe.a)),t["\u0275did"](6,114688,null,0,ae.a,[],{permission:[0,"permission"],selection:[1,"selection"],tableActions:[2,"tableActions"]},null),(l()(),t["\u0275eld"](7,0,null,2,1,"cd-rgw-bucket-details",[["cdTableDetail",""]],null,null,null,Zl,Bl)),t["\u0275did"](8,573440,null,0,Al,[],{selection:[0,"selection"]},null),(l()(),t["\u0275and"](0,[[2,2],["bucketSizeTpl",2]],null,0,null,bt)),(l()(),t["\u0275and"](0,[[3,2],["bucketObjectTpl",2]],null,0,null,Ct))],function(l,n){var u=n.component;l(n,4,0,u.buckets,u.columns,"flex",!1,"bid","multi"),l(n,6,0,u.permission,u.selection,u.tableActions),l(n,8,0,u.selection)},null)}function kt(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"cd-rgw-bucket-list",[],null,null,null,_t,mt)),t["\u0275prd"](256,null,D.a,N,[]),t["\u0275did"](2,114688,null,0,F,[S.a,q.a,V.a,h,nn.b,_l.a,D.a,i.b,t.ChangeDetectorRef],null,null)],function(l,n){l(n,2,0)},null)}var Rt=t["\u0275ccf"]("cd-rgw-bucket-list",F,kt,{},{},[]),It=t["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function wt(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"cd-loading-panel",[],null,null,null,pe.b,pe.a)),t["\u0275did"](1,49152,null,0,fe.a,[],null,null),(l()(),t["\u0275ted"](-1,0,["Loading bucket data..."]))],null,null)}function Et(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"cd-error-panel",[],null,[[null,"backAction"]],function(l,n,u){var e=!0;return"backAction"===n&&(e=!1!==l.component.goToListView()&&e),e},me.b,me.a)),t["\u0275did"](1,49152,null,0,ge.a,[],null,{backAction:"backAction"}),(l()(),t["\u0275ted"](-1,0,["The bucket data could not be loaded."]))],null,null)}function xt(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,10,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,1,"label",[["class","col-sm-3 control-label"],["for","id"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Id"])),(l()(),t["\u0275eld"](3,0,null,null,7,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](4,0,null,null,6,"input",[["class","form-control"],["formControlName","id"],["id","id"],["name","id"],["readonly",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,u){var e=!0;return"input"===n&&(e=!1!==t["\u0275nov"](l,6)._handleInput(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,6).onTouched()&&e),"compositionstart"===n&&(e=!1!==t["\u0275nov"](l,6)._compositionStart()&&e),"compositionend"===n&&(e=!1!==t["\u0275nov"](l,6)._compositionEnd(u.target.value)&&e),e},null,null)),t["\u0275did"](5,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](6,16384,null,0,d.e,[t.Renderer2,t.ElementRef,[2,d.b]],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.e]),t["\u0275did"](8,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](10,16384,null,0,d.r,[[4,d.q]],null,null)],function(l,n){l(n,8,0,"id")},function(l,n){l(n,4,0,t["\u0275nov"](n,10).ngClassUntouched,t["\u0275nov"](n,10).ngClassTouched,t["\u0275nov"](n,10).ngClassPristine,t["\u0275nov"](n,10).ngClassDirty,t["\u0275nov"](n,10).ngClassValid,t["\u0275nov"](n,10).ngClassInvalid,t["\u0275nov"](n,10).ngClassPending)})}function Tt(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,0,"span",[["class","required"]],null,null,null,null,null))],null,null)}function qt(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["This field is required."]))],null,null)}function Vt(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["The value is not valid."]))],null,null)}function St(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["The chosen name is already in use."]))],null,null)}function Dt(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,3,"option",[],null,null,null,null,null)),t["\u0275did"](1,147456,null,0,d.v,[t.ElementRef,t.Renderer2,[2,d.z]],{ngValue:[0,"ngValue"]},null),t["\u0275did"](2,147456,null,0,d.G,[t.ElementRef,t.Renderer2,[8,null]],{ngValue:[0,"ngValue"]},null),(l()(),t["\u0275ted"](-1,null,["Loading..."]))],function(l,n){l(n,1,0,null),l(n,2,0,null)},null)}function Nt(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,3,"option",[],null,null,null,null,null)),t["\u0275did"](1,147456,null,0,d.v,[t.ElementRef,t.Renderer2,[2,d.z]],{ngValue:[0,"ngValue"]},null),t["\u0275did"](2,147456,null,0,d.G,[t.ElementRef,t.Renderer2,[8,null]],{ngValue:[0,"ngValue"]},null),(l()(),t["\u0275ted"](-1,null,["-- Select a user --"]))],function(l,n){l(n,1,0,null),l(n,2,0,null)},null)}function Ft(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,3,"option",[],null,null,null,null,null)),t["\u0275did"](1,147456,null,0,d.v,[t.ElementRef,t.Renderer2,[2,d.z]],{value:[0,"value"]},null),t["\u0275did"](2,147456,null,0,d.G,[t.ElementRef,t.Renderer2,[8,null]],{value:[0,"value"]},null),(l()(),t["\u0275ted"](3,null,["",""]))],function(l,n){l(n,1,0,n.context.$implicit),l(n,2,0,n.context.$implicit)},function(l,n){l(n,3,0,n.context.$implicit)})}function jt(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"span",[["class","help-block"]],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["This field is required."]))],null,null)}function Pt(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,69,"div",[["class","col-sm-12 col-lg-6"]],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,68,"form",[["class","form-horizontal"],["name","bucketForm"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,u){var e=!0;return"submit"===n&&(e=!1!==t["\u0275nov"](l,3).onSubmit(u)&&e),"reset"===n&&(e=!1!==t["\u0275nov"](l,3).onReset()&&e),e},null,null)),t["\u0275did"](2,16384,null,0,d.D,[],null,null),t["\u0275did"](3,540672,[["frm",4]],0,d.l,[[8,null],[8,null]],{form:[0,"form"]},null),t["\u0275prd"](2048,null,d.d,null,[d.l]),t["\u0275did"](5,16384,null,0,d.s,[[4,d.d]],null,null),(l()(),t["\u0275eld"](6,0,null,null,63,"div",[["class","panel panel-default"]],null,null,null,null,null)),(l()(),t["\u0275eld"](7,0,null,null,4,"div",[["class","panel-heading"]],null,null,null,null,null)),(l()(),t["\u0275eld"](8,0,null,null,3,"h3",[["class","panel-title"]],null,null,null,null,null)),(l()(),t["\u0275ted"](9,null,[""," ",""])),t["\u0275ppd"](10,1),t["\u0275ppd"](11,1),(l()(),t["\u0275eld"](12,0,null,null,48,"div",[["class","panel-body"]],null,null,null,null,null)),(l()(),t["\u0275and"](16777216,null,null,1,null,xt)),t["\u0275did"](14,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](15,0,null,null,22,"div",[["class","form-group"]],null,null,null,null,null)),t["\u0275did"](16,278528,null,0,ql.NgClass,[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](17,{"has-error":0}),(l()(),t["\u0275eld"](18,0,null,null,4,"label",[["class","control-label col-sm-3"],["for","bid"]],null,null,null,null,null)),(l()(),t["\u0275eld"](19,0,null,null,1,null,null,null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Name"])),(l()(),t["\u0275and"](16777216,null,null,1,null,Tt)),t["\u0275did"](22,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](23,0,null,null,14,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](24,0,null,null,7,"input",[["autofocus",""],["class","form-control"],["formControlName","bid"],["id","bid"],["name","bid"],["placeholder","Name..."],["type","text"]],[[8,"readOnly",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,u){var e=!0;return"input"===n&&(e=!1!==t["\u0275nov"](l,27)._handleInput(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,27).onTouched()&&e),"compositionstart"===n&&(e=!1!==t["\u0275nov"](l,27)._compositionStart()&&e),"compositionend"===n&&(e=!1!==t["\u0275nov"](l,27)._compositionEnd(u.target.value)&&e),e},null,null)),t["\u0275did"](25,4210688,null,0,zn.a,[t.ElementRef],null,null),t["\u0275did"](26,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](27,16384,null,0,d.e,[t.Renderer2,t.ElementRef,[2,d.b]],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.e]),t["\u0275did"](29,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](31,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275and"](16777216,null,null,1,null,qt)),t["\u0275did"](33,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Vt)),t["\u0275did"](35,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,St)),t["\u0275did"](37,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](38,0,null,null,22,"div",[["class","form-group"]],null,null,null,null,null)),t["\u0275did"](39,278528,null,0,ql.NgClass,[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](40,{"has-error":0}),(l()(),t["\u0275eld"](41,0,null,null,3,"label",[["class","control-label col-sm-3"],["for","owner"]],null,null,null,null,null)),(l()(),t["\u0275eld"](42,0,null,null,1,null,null,null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Owner"])),(l()(),t["\u0275eld"](44,0,null,null,0,"span",[["class","required"]],null,null,null,null,null)),(l()(),t["\u0275eld"](45,0,null,null,15,"div",[["class","col-sm-9"]],null,null,null,null,null)),(l()(),t["\u0275eld"](46,0,null,null,12,"select",[["class","form-control"],["formControlName","owner"],["id","owner"],["name","owner"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"blur"]],function(l,n,u){var e=!0;return"change"===n&&(e=!1!==t["\u0275nov"](l,48).onChange(u.target.value)&&e),"blur"===n&&(e=!1!==t["\u0275nov"](l,48).onTouched()&&e),e},null,null)),t["\u0275did"](47,4210688,null,0,En.a,[[2,xn.a],S.a,t.ElementRef],null,null),t["\u0275did"](48,16384,null,0,d.z,[t.Renderer2,t.ElementRef],null,null),t["\u0275prd"](1024,null,d.p,function(l){return[l]},[d.z]),t["\u0275did"](50,671744,null,0,d.j,[[3,d.d],[8,null],[8,null],[6,d.p],[2,d.F]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,d.q,null,[d.j]),t["\u0275did"](52,16384,null,0,d.r,[[4,d.q]],null,null),(l()(),t["\u0275and"](16777216,null,null,1,null,Dt)),t["\u0275did"](54,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Nt)),t["\u0275did"](56,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Ft)),t["\u0275did"](58,278528,null,0,ql.NgForOf,[t.ViewContainerRef,t.TemplateRef,t.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,jt)),t["\u0275did"](60,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](61,0,null,null,8,"div",[["class","panel-footer"]],null,null,null,null,null)),(l()(),t["\u0275eld"](62,0,null,null,7,"div",[["class","button-group text-right"]],null,null,null,null,null)),(l()(),t["\u0275eld"](63,0,null,null,4,"cd-submit-button",[["type","button"]],null,[[null,"submitAction"]],function(l,n,u){var e=!0;return"submitAction"===n&&(e=!1!==l.component.submit()&&e),e},An.b,An.a)),t["\u0275did"](64,114688,null,0,Bn.a,[t.ElementRef],{form:[0,"form"],type:[1,"type"]},{submitAction:"submitAction"}),(l()(),t["\u0275ted"](65,0,[""," ",""])),t["\u0275ppd"](66,1),t["\u0275ppd"](67,1),(l()(),t["\u0275eld"](68,0,null,null,1,"cd-back-button",[],null,null,null,Sn.b,Sn.a)),t["\u0275did"](69,49152,null,0,Dn.a,[ql.Location,i.b],null,null)],function(l,n){var u=n.component;l(n,3,0,u.bucketForm),l(n,14,0,u.editing);var e=l(n,17,0,u.bucketForm.showError("bid",t["\u0275nov"](n,3)));l(n,16,0,"form-group",e),l(n,22,0,!u.editing),l(n,29,0,"bid"),l(n,33,0,u.bucketForm.showError("bid",t["\u0275nov"](n,3),"required")),l(n,35,0,u.bucketForm.showError("bid",t["\u0275nov"](n,3),"bucketNameInvalid")),l(n,37,0,u.bucketForm.showError("bid",t["\u0275nov"](n,3),"bucketNameExists"));var i=l(n,40,0,u.bucketForm.showError("owner",t["\u0275nov"](n,3)));l(n,39,0,"form-group",i),l(n,50,0,"owner"),l(n,54,0,null===u.owners),l(n,56,0,null!==u.owners),l(n,58,0,u.owners),l(n,60,0,u.bucketForm.showError("owner",t["\u0275nov"](n,3),"required")),l(n,64,0,u.bucketForm,"button")},function(l,n){var u=n.component;l(n,1,0,t["\u0275nov"](n,5).ngClassUntouched,t["\u0275nov"](n,5).ngClassTouched,t["\u0275nov"](n,5).ngClassPristine,t["\u0275nov"](n,5).ngClassDirty,t["\u0275nov"](n,5).ngClassValid,t["\u0275nov"](n,5).ngClassInvalid,t["\u0275nov"](n,5).ngClassPending);var e=t["\u0275unv"](n,9,0,l(n,10,0,t["\u0275nov"](n.parent,0),u.action)),i=t["\u0275unv"](n,9,1,l(n,11,0,t["\u0275nov"](n.parent,1),u.resource));l(n,9,0,e,i),l(n,24,0,u.editing,t["\u0275nov"](n,31).ngClassUntouched,t["\u0275nov"](n,31).ngClassTouched,t["\u0275nov"](n,31).ngClassPristine,t["\u0275nov"](n,31).ngClassDirty,t["\u0275nov"](n,31).ngClassValid,t["\u0275nov"](n,31).ngClassInvalid,t["\u0275nov"](n,31).ngClassPending),l(n,46,0,t["\u0275nov"](n,52).ngClassUntouched,t["\u0275nov"](n,52).ngClassTouched,t["\u0275nov"](n,52).ngClassPristine,t["\u0275nov"](n,52).ngClassDirty,t["\u0275nov"](n,52).ngClassValid,t["\u0275nov"](n,52).ngClassInvalid,t["\u0275nov"](n,52).ngClassPending);var o=t["\u0275unv"](n,65,0,l(n,66,0,t["\u0275nov"](n.parent,0),u.action)),a=t["\u0275unv"](n,65,1,l(n,67,0,t["\u0275nov"](n.parent,1),u.resource));l(n,65,0,o,a)})}function zt(l){return t["\u0275vid"](0,[t["\u0275pid"](0,ql.TitleCasePipe,[]),t["\u0275pid"](0,wn.a,[]),(l()(),t["\u0275and"](16777216,null,null,1,null,wt)),t["\u0275did"](3,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Et)),t["\u0275did"](5,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Pt)),t["\u0275did"](7,16384,null,0,ql.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(l,n){var u=n.component;l(n,3,0,u.editing&&u.loading&&!u.error),l(n,5,0,u.editing&&u.error),l(n,7,0,!u.loading&&!u.error)},null)}function At(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"cd-rgw-bucket-form",[],null,null,null,zt,It)),t["\u0275did"](1,114688,null,0,R,[$u.a,$u.l,_.a,h,y.a,k.a,_l.a,i.b],null,null)],function(l,n){l(n,1,0)},null)}var Bt=t["\u0275ccf"]("cd-rgw-bucket-form",R,At,{},{},[]),Ut=u("TZo1"),Mt=u("9Kw/"),Ot=t["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function Lt(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,8,"cd-info-panel",[],null,null,null,Ut.b,Ut.a)),t["\u0275did"](1,49152,null,0,Mt.a,[_l.a],null,null),(l()(),t["\u0275ted"](2,0,[" ",""])),(l()(),t["\u0275eld"](3,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),t["\u0275eld"](4,0,null,0,4,null,null,null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["Please consult the "])),(l()(),t["\u0275eld"](6,0,null,null,1,"a",[["target","_blank"]],[[8,"href",4]],null,null,null,null)),(l()(),t["\u0275ted"](-1,null,["documentation"])),(l()(),t["\u0275ted"](-1,null,[" on how to configure and enable the Object Gateway management functionality."]))],null,function(l,n){var u=n.component;l(n,2,0,u.message),l(n,6,0,t["\u0275inlineInterpolate"](1,"",u.docsUrl,""))})}function Gt(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"cd-rgw-501",[],null,null,null,Lt,Ot)),t["\u0275did"](1,245760,null,0,s,[$u.a,r.a,a.a],null,null)],function(l,n){l(n,1,0)},null)}var Kt=t["\u0275ccf"]("cd-rgw-501",s,Gt,{},{},[]);u.d(n,"RgwModuleNgFactory",function(){return $t}),u.d(n,"RoutedRgwModuleNgFactory",function(){return Zt});var $t=t["\u0275cmf"](X,[],function(l){return t["\u0275mod"]([t["\u0275mpd"](512,t.ComponentFactoryResolver,t["\u0275CodegenComponentFactoryResolver"],[[8,[al.a,rl.a,sl.a,dl.a,dl.b,cl.a,pl.a,fl.a,ml.a,gl.a,Pl,Hl,In,Pn,eu,gu,xu]],[3,t.ComponentFactoryResolver],t.NgModuleRef]),t["\u0275mpd"](4608,ql.NgLocalization,ql.NgLocaleLocalization,[t.LOCALE_ID,[2,ql["\u0275angular_packages_common_common_a"]]]),t["\u0275mpd"](4608,zl.a,zl.a,[_l.a]),t["\u0275mpd"](4608,ql.DatePipe,ql.DatePipe,[t.LOCALE_ID]),t["\u0275mpd"](4608,P.a,P.a,[]),t["\u0275mpd"](4608,a.a,a.a,[]),t["\u0275mpd"](4608,U.a,U.a,[]),t["\u0275mpd"](4608,q.a,q.a,[U.a]),t["\u0275mpd"](4608,Tu.a,Tu.a,[U.a]),t["\u0275mpd"](4608,V.a,V.a,[U.a]),t["\u0275mpd"](4608,qu.a,qu.a,[]),t["\u0275mpd"](4608,Vu.a,Vu.a,[]),t["\u0275mpd"](4608,Su.a,Su.a,[]),t["\u0275mpd"](4608,Du.a,Du.a,[]),t["\u0275mpd"](4608,wl.a,wl.a,[ql.DatePipe]),t["\u0275mpd"](4608,Nu.a,Nu.a,[]),t["\u0275mpd"](4608,Fu.a,Fu.a,[]),t["\u0275mpd"](4608,ju.a,ju.a,[]),t["\u0275mpd"](4608,Pu.a,Pu.a,[]),t["\u0275mpd"](4608,zu.a,zu.a,[]),t["\u0275mpd"](4608,Au.a,Au.a,[_l.a]),t["\u0275mpd"](4608,wn.a,wn.a,[]),t["\u0275mpd"](4608,Wl.a,Wl.a,[]),t["\u0275mpd"](4608,d.E,d.E,[]),t["\u0275mpd"](4608,d.h,d.h,[]),t["\u0275mpd"](4608,Bu.b,Bu.b,[]),t["\u0275mpd"](4608,Uu.a,Uu.a,[]),t["\u0275mpd"](4608,Mu.a,Mu.a,[t.RendererFactory2,t.PLATFORM_ID]),t["\u0275mpd"](4608,Jl.a,Jl.a,[t.ComponentFactoryResolver,t.NgZone,t.Injector,Mu.a,t.ApplicationRef]),t["\u0275mpd"](4608,Ou.a,Ou.a,[]),t["\u0275mpd"](4608,nn.b,nn.b,[t.RendererFactory2,Jl.a]),t["\u0275mpd"](4608,Lu.ScrollbarHelper,Lu.ScrollbarHelper,[yl.DOCUMENT]),t["\u0275mpd"](4608,Gu.DimensionsHelper,Gu.DimensionsHelper,[]),t["\u0275mpd"](4608,Ku.ColumnChangesService,Ku.ColumnChangesService,[]),t["\u0275mpd"](4608,Xl.f,Xl.f,[]),t["\u0275mpd"](4608,S.a,S.a,[]),t["\u0275mpd"](4608,o.a,o.a,[$u.l,S.a]),t["\u0275mpd"](4608,vl.e,vl.e,[]),t["\u0275mpd"](1073742336,ql.CommonModule,ql.CommonModule,[]),t["\u0275mpd"](1073742336,Zu.a,Zu.a,[]),t["\u0275mpd"](1073742336,d.B,d.B,[]),t["\u0275mpd"](1073742336,d.n,d.n,[]),t["\u0275mpd"](1073742336,d.x,d.x,[]),t["\u0275mpd"](1073742336,Bu.c,Bu.c,[]),t["\u0275mpd"](1073742336,Uu.d,Uu.d,[]),t["\u0275mpd"](1073742336,Ou.d,Ou.d,[]),t["\u0275mpd"](1073742336,Qu.ChartsModule,Qu.ChartsModule,[]),t["\u0275mpd"](1073742336,nn.e,nn.e,[]),t["\u0275mpd"](1073742336,Hu.a,Hu.a,[]),t["\u0275mpd"](1073742336,Xl.e,Xl.e,[]),t["\u0275mpd"](1073742336,Yu.a,Yu.a,[]),t["\u0275mpd"](1073742336,Xu.NgxDatatableModule,Xu.NgxDatatableModule,[]),t["\u0275mpd"](1073742336,$u.p,$u.p,[[2,$u.v],[2,$u.l]]),t["\u0275mpd"](1073742336,Ju.a,Ju.a,[]),t["\u0275mpd"](1073742336,b.a,b.a,[]),t["\u0275mpd"](1073742336,Wu.a,Wu.a,[]),t["\u0275mpd"](1073742336,le.a,le.a,[]),t["\u0275mpd"](1073742336,vl.c,vl.c,[]),t["\u0275mpd"](1073742336,X,X,[]),t["\u0275mpd"](256,t.LOCALE_ID,"en-US",[]),t["\u0275mpd"](256,Xl.a,{autoClose:!0,insideClick:!1},[]),t["\u0275mpd"](256,t.TRANSLATIONS_FORMAT,"xlf",[])])}),Zt=t["\u0275cmf"](ol,[],function(l){return t["\u0275mod"]([t["\u0275mpd"](512,t.ComponentFactoryResolver,t["\u0275CodegenComponentFactoryResolver"],[[8,[al.a,rl.a,sl.a,dl.a,dl.b,cl.a,pl.a,fl.a,ml.a,gl.a,Pl,Hl,In,Pn,eu,gu,xu,ie,ce,ct,Rt,Bt,Kt]],[3,t.ComponentFactoryResolver],t.NgModuleRef]),t["\u0275mpd"](4608,ql.NgLocalization,ql.NgLocaleLocalization,[t.LOCALE_ID,[2,ql["\u0275angular_packages_common_common_a"]]]),t["\u0275mpd"](4608,zl.a,zl.a,[_l.a]),t["\u0275mpd"](4608,ql.DatePipe,ql.DatePipe,[t.LOCALE_ID]),t["\u0275mpd"](4608,P.a,P.a,[]),t["\u0275mpd"](4608,a.a,a.a,[]),t["\u0275mpd"](4608,U.a,U.a,[]),t["\u0275mpd"](4608,q.a,q.a,[U.a]),t["\u0275mpd"](4608,Tu.a,Tu.a,[U.a]),t["\u0275mpd"](4608,V.a,V.a,[U.a]),t["\u0275mpd"](4608,qu.a,qu.a,[]),t["\u0275mpd"](4608,Vu.a,Vu.a,[]),t["\u0275mpd"](4608,Su.a,Su.a,[]),t["\u0275mpd"](4608,Du.a,Du.a,[]),t["\u0275mpd"](4608,wl.a,wl.a,[ql.DatePipe]),t["\u0275mpd"](4608,Nu.a,Nu.a,[]),t["\u0275mpd"](4608,Fu.a,Fu.a,[]),t["\u0275mpd"](4608,ju.a,ju.a,[]),t["\u0275mpd"](4608,Pu.a,Pu.a,[]),t["\u0275mpd"](4608,zu.a,zu.a,[]),t["\u0275mpd"](4608,Au.a,Au.a,[_l.a]),t["\u0275mpd"](4608,wn.a,wn.a,[]),t["\u0275mpd"](4608,Wl.a,Wl.a,[]),t["\u0275mpd"](4608,d.E,d.E,[]),t["\u0275mpd"](4608,d.h,d.h,[]),t["\u0275mpd"](4608,Bu.b,Bu.b,[]),t["\u0275mpd"](4608,Uu.a,Uu.a,[]),t["\u0275mpd"](4608,Mu.a,Mu.a,[t.RendererFactory2,t.PLATFORM_ID]),t["\u0275mpd"](4608,Jl.a,Jl.a,[t.ComponentFactoryResolver,t.NgZone,t.Injector,Mu.a,t.ApplicationRef]),t["\u0275mpd"](4608,Ou.a,Ou.a,[]),t["\u0275mpd"](4608,nn.b,nn.b,[t.RendererFactory2,Jl.a]),t["\u0275mpd"](4608,Lu.ScrollbarHelper,Lu.ScrollbarHelper,[yl.DOCUMENT]),t["\u0275mpd"](4608,Gu.DimensionsHelper,Gu.DimensionsHelper,[]),t["\u0275mpd"](4608,Ku.ColumnChangesService,Ku.ColumnChangesService,[]),t["\u0275mpd"](4608,Xl.f,Xl.f,[]),t["\u0275mpd"](4608,S.a,S.a,[]),t["\u0275mpd"](4608,o.a,o.a,[$u.l,S.a]),t["\u0275mpd"](4608,vl.e,vl.e,[]),t["\u0275mpd"](1073742336,ql.CommonModule,ql.CommonModule,[]),t["\u0275mpd"](1073742336,Zu.a,Zu.a,[]),t["\u0275mpd"](1073742336,d.B,d.B,[]),t["\u0275mpd"](1073742336,d.n,d.n,[]),t["\u0275mpd"](1073742336,d.x,d.x,[]),t["\u0275mpd"](1073742336,Bu.c,Bu.c,[]),t["\u0275mpd"](1073742336,Uu.d,Uu.d,[]),t["\u0275mpd"](1073742336,Ou.d,Ou.d,[]),t["\u0275mpd"](1073742336,Qu.ChartsModule,Qu.ChartsModule,[]),t["\u0275mpd"](1073742336,nn.e,nn.e,[]),t["\u0275mpd"](1073742336,Hu.a,Hu.a,[]),t["\u0275mpd"](1073742336,Xl.e,Xl.e,[]),t["\u0275mpd"](1073742336,Yu.a,Yu.a,[]),t["\u0275mpd"](1073742336,Xu.NgxDatatableModule,Xu.NgxDatatableModule,[]),t["\u0275mpd"](1073742336,$u.p,$u.p,[[2,$u.v],[2,$u.l]]),t["\u0275mpd"](1073742336,Ju.a,Ju.a,[]),t["\u0275mpd"](1073742336,b.a,b.a,[]),t["\u0275mpd"](1073742336,Wu.a,Wu.a,[]),t["\u0275mpd"](1073742336,le.a,le.a,[]),t["\u0275mpd"](1073742336,vl.c,vl.c,[]),t["\u0275mpd"](1073742336,X,X,[]),t["\u0275mpd"](1073742336,ol,ol,[]),t["\u0275mpd"](256,t.LOCALE_ID,"en-US",[]),t["\u0275mpd"](256,Xl.a,{autoClose:!0,insideClick:!1},[]),t["\u0275mpd"](1024,$u.j,function(){return[[{path:"",redirectTo:"daemon",pathMatch:"full"},{path:"daemon",component:z,data:J},{path:"user",data:W,children:[{path:"",component:Y},{path:"create",component:Z,data:ll},{path:"edit/:uid",component:Z,data:nl}]},{path:"bucket",data:ul,children:[{path:"",component:F},{path:"create",component:R,data:el},{path:"edit/:bid",component:R,data:tl}]},{path:"501/:message",component:s,canActivate:[o.a],data:il}]]},[]),t["\u0275mpd"](256,t.TRANSLATIONS_FORMAT,"xlf",[])])})}}]);