UNPKG

p3x-redis-ui-material

Version:

💿 The p3x-redis-ui-material web interface that connects to the p3x-redis-ui-server via http and socket.io

1 lines 26.8 kB
"use strict";(self.webpackChunkp3x_redis_ui_material=self.webpackChunkp3x_redis_ui_material||[]).push([[1569],{628(e,t,o){o.d(t,{m:()=>h});var n=o(11228),a=o(24698),s=o(63924),i=o(30943),l=o(33825),r=o(46256),c=o(90870),d=o(23232),m=o(51218),u=o(34503);function p(e,t){if(1&e&&(m.j41(0,"span"),m.EFF(1),m.k0s()),2&e){const e=m.XpG();m.R7$(),m.JRh(e.label)}}class h{breakpointObserver;i18n;cdr;label="";icon="cancel";cancel=new a.bkB;isWide=!0;constructor(e,t,o){this.breakpointObserver=e,this.i18n=t,this.cdr=o,this.breakpointObserver.observe("(min-width: 600px)").subscribe((e=>{this.isWide=e.matches,this.cdr.markForCheck()}))}ngOnInit(){this.label||(this.label=this.i18n.strings().intention?.cancel||"Cancel")}static ɵfac=function(e){return new(e||h)(m.rXU(c.Q),m.rXU(d.W),m.rXU(n.gRc))};static ɵcmp=m.VBU({type:h,selectors:[["p3xr-dialog-cancel"]],inputs:{label:"label",icon:"icon"},outputs:{cancel:"cancel"},decls:4,vars:5,consts:[["mat-raised-button","","type","button",1,"btn-warn",3,"click","matTooltip","matTooltipDisabled"]],template:function(e,t){1&e&&(m.j41(0,"button",0),m.bIt("click",(function(){return t.cancel.emit()})),m.j41(1,"mat-icon"),m.EFF(2),m.k0s(),m.nVh(3,p,2,1,"span"),m.k0s()),2&e&&(m.Y8G("matTooltip",t.label)("matTooltipDisabled",t.isWide),m.BMQ("aria-label",t.label),m.R7$(2),m.JRh(t.icon),m.R7$(),m.vxM(t.isWide?3:-1))},dependencies:[s.MD,i.Hl,i.$z,l.m_,l.An,r.uc,u.oV],encapsulation:2})}},52838(e,t,o){o.d(t,{z:()=>l});var n=o(64961),a=o(24583),s=o(66593),i=o(24698);class l{dialog;cmd;constructor(e,t){this.dialog=e,this.cmd=t}async show(e){const{JsonEditorDialogComponent:t}=await o.e(4404).then(o.bind(o,62178));this.cmd.mainResizer$.next({drag:!1});const n=this.dialog.open(t,(0,a.createDialogPopupSettings)({data:{value:e.value,hideFormatSave:e.hideFormatSave},disableClose:!0,width:"75%",maxHeight:"90vh"}));return new Promise(((e,t)=>{n.afterClosed().subscribe((o=>{this.cmd.mainResizer$.next({drag:!0}),o?e(o):t()}))}))}static ɵfac=function(e){return new(e||l)(i.KVO(n.bZ),i.KVO(s.y))};static ɵprov=i.jDH({token:l,factory:l.ɵfac,providedIn:"root"})}},48734(e,t,o){o.d(t,{F:()=>i});var n=o(64961),a=o(24583),s=o(24698);class i{dialog;constructor(e){this.dialog=e}async show(e){const{JsonViewDialogComponent:t}=await Promise.all([o.e(619),o.e(8540)]).then(o.bind(o,66970)),n=this.dialog.open(t,(0,a.createDialogPopupSettings)({data:{value:e.value},width:"75%",maxHeight:"90vh"}));return new Promise((e=>{n.afterClosed().subscribe((()=>e()))}))}static ɵfac=function(e){return new(e||i)(s.KVO(n.bZ))};static ɵprov=s.jDH({token:i,factory:i.ɵfac,providedIn:"root"})}},57749(e,t,o){o.d(t,{KeyNewOrSetDialogComponent:()=>q});var n=o(11228),a=o(63924),s=o(71016),i=o(64961),l=o(90918),r=o(73761),c=o(18215),d=o(84363),m=o(30943),u=o(33825),p=o(66608),h=o(46256),b=o(628),k=o(90870),f=o(23232),x=o(77385),g=o(26265),y=o(48734),v=o(52838),R=o(51218),j=o(24698),F=o(3735),w=o(79481),V=o(65209),$=o(34503),M=o(12027);const J=e=>({maxValueAsBuffer:e});function E(e,t){if(1&e&&(R.j41(0,"mat-error"),R.EFF(1),R.k0s()),2&e){let e;const t=R.XpG();R.R7$(),R.JRh(null==(e=t.strings().form)||null==e.key||null==e.key.error?null:e.key.error.key)}}function D(e,t){if(1&e&&(R.j41(0,"mat-option",10),R.EFF(1),R.k0s()),2&e){let e;const o=t.$implicit,n=R.XpG();R.Y8G("value",o),R.R7$(),R.JRh((null==(e=n.strings().redisTypes)?null:e[o])||o)}}function C(e,t){if(1&e){const e=R.RV6();R.j41(0,"mat-form-field",7)(1,"mat-label"),R.EFF(2),R.k0s(),R.j41(3,"input",21),R.mxI("ngModelChange",(function(t){j.eBV(e);const o=R.XpG();return R.DH7(o.model.index,t)||(o.model.index=t),j.Njj(t)})),R.k0s()(),R.j41(4,"div",16),R.EFF(5),R.k0s()}if(2&e){let e,t;const o=R.XpG();R.R7$(2),R.JRh((null==(e=o.strings().form)||null==e.key||null==e.key.field?null:e.key.field.index)||"Index"),R.R7$(),R.R50("ngModel",o.model.index),R.R7$(2),R.JRh(null==(t=o.strings().label)?null:t.redisListIndexInfo)}}function I(e,t){if(1&e&&(R.j41(0,"mat-error"),R.EFF(1),R.k0s()),2&e){let e;const t=R.XpG(2);R.R7$(),R.JRh(null==(e=t.strings().form)||null==e.key||null==e.key.error?null:e.key.error.hashKey)}}function X(e,t){if(1&e){const e=R.RV6();R.j41(0,"mat-form-field",7)(1,"mat-label"),R.EFF(2),R.k0s(),R.j41(3,"input",22),R.mxI("ngModelChange",(function(t){j.eBV(e);const o=R.XpG();return R.DH7(o.model.hashKey,t)||(o.model.hashKey=t),j.Njj(t)})),R.k0s(),R.nVh(4,I,2,1,"mat-error"),R.k0s()}if(2&e){let e;const t=R.XpG(),o=R.sdS(1);R.R7$(2),R.JRh((null==(e=t.strings().form)||null==e.key||null==e.key.field?null:e.key.field.hashKey)||"Hash Key"),R.R7$(),R.R50("ngModel",t.model.hashKey),R.R7$(),R.vxM(null!=o.controls.hashKey&&o.controls.hashKey.invalid&&null!=o.controls.hashKey&&o.controls.hashKey.touched?4:-1)}}function B(e,t){if(1&e&&(R.j41(0,"mat-error"),R.EFF(1),R.k0s()),2&e){let e;const t=R.XpG(2);R.R7$(),R.JRh(null==(e=t.strings().form)||null==e.key||null==e.key.error?null:e.key.error.score)}}function G(e,t){if(1&e){const e=R.RV6();R.j41(0,"mat-form-field",7)(1,"mat-label"),R.EFF(2),R.k0s(),R.j41(3,"input",23),R.mxI("ngModelChange",(function(t){j.eBV(e);const o=R.XpG();return R.DH7(o.model.score,t)||(o.model.score=t),j.Njj(t)})),R.k0s(),R.nVh(4,B,2,1,"mat-error"),R.k0s()}if(2&e){let e;const t=R.XpG(),o=R.sdS(1);R.R7$(2),R.JRh((null==(e=t.strings().form)||null==e.key||null==e.key.field?null:e.key.field.score)||"Score"),R.R7$(),R.R50("ngModel",t.model.score),R.R7$(),R.vxM(null!=o.controls.score&&o.controls.score.invalid&&null!=o.controls.score&&o.controls.score.touched?4:-1)}}function O(e,t){if(1&e&&(R.j41(0,"mat-error"),R.EFF(1),R.k0s()),2&e){let e;const t=R.XpG(2);R.R7$(),R.JRh(null==(e=t.strings().form)||null==e.key||null==e.key.error?null:e.key.error.streamTimestamp)}}function S(e,t){if(1&e){const e=R.RV6();R.j41(0,"mat-form-field",7)(1,"mat-label"),R.EFF(2),R.k0s(),R.j41(3,"input",24),R.mxI("ngModelChange",(function(t){j.eBV(e);const o=R.XpG();return R.DH7(o.model.streamTimestamp,t)||(o.model.streamTimestamp=t),j.Njj(t)})),R.k0s(),R.nVh(4,O,2,1,"mat-error"),R.k0s(),R.j41(5,"div",16),R.EFF(6),R.k0s()}if(2&e){let e,t;const o=R.XpG(),n=R.sdS(1);R.R7$(2),R.JRh((null==(e=o.strings().form)||null==e.key||null==e.key.field?null:e.key.field.streamTimestamp)||"Timestamp"),R.R7$(),R.R50("ngModel",o.model.streamTimestamp),R.R7$(),R.vxM(null!=n.controls.streamTimestamp&&n.controls.streamTimestamp.invalid&&null!=n.controls.streamTimestamp&&n.controls.streamTimestamp.touched?4:-1),R.R7$(2),R.JRh(null==(t=o.strings().label)?null:t.streamTimestampId)}}function N(e,t){if(1&e&&(R.j41(0,"span"),R.EFF(1),R.k0s()),2&e){let e;const t=R.XpG(2);R.R7$(),R.JRh((null==(e=t.strings().intention)?null:e.setBuffer)||"Upload Binary")}}function T(e,t){if(1&e){const e=R.RV6();R.j41(0,"button",13),R.bIt("click",(function(){j.eBV(e),R.XpG();const t=R.sdS(25);return j.Njj(t.click())})),R.j41(1,"mat-icon"),R.EFF(2,"upload"),R.k0s(),R.nVh(3,N,2,1,"span"),R.k0s()}if(2&e){let e;const t=R.XpG();R.Y8G("matTooltip",t.isWide?"":(null==(e=t.strings().intention)?null:e.setBuffer)||"Upload Binary"),R.R7$(3),R.vxM(t.isWide?3:-1)}}function _(e,t){if(1&e&&(R.j41(0,"span"),R.EFF(1),R.k0s()),2&e){let e;const t=R.XpG(2);R.R7$(),R.JRh((null==(e=t.strings().intention)?null:e.jsonViewEditor)||"Edit JSON")}}function K(e,t){if(1&e){const e=R.RV6();R.j41(0,"button",13),R.bIt("click",(function(){j.eBV(e);const t=R.XpG();return j.Njj(t.openJsonEditor())})),R.j41(1,"mat-icon"),R.EFF(2,"description"),R.k0s(),R.nVh(3,_,2,1,"span"),R.k0s()}if(2&e){let e;const t=R.XpG();R.Y8G("matTooltip",t.isWide?"":(null==(e=t.strings().intention)?null:e.jsonViewEditor)||"Edit JSON"),R.R7$(3),R.vxM(t.isWide?3:-1)}}function z(e,t){if(1&e&&(R.j41(0,"span"),R.EFF(1),R.k0s()),2&e){let e;const t=R.XpG();R.R7$(),R.JRh((null==(e=t.strings().intention)?null:e.formatJson)||"Format JSON")}}function U(e,t){if(1&e&&(R.j41(0,"span"),R.EFF(1),R.k0s()),2&e){let e;const t=R.XpG();R.R7$(),R.JRh((null==(e=t.strings().intention)?null:e.jsonViewShow)||"Display JSON")}}function W(e,t){if(1&e&&(R.j41(0,"span"),R.EFF(1),R.k0s()),2&e){let e;const t=R.XpG();R.R7$(),R.JRh((null==(e=t.strings().intention)?null:e.copy)||"Copy")}}function P(e,t){if(1&e&&(R.j41(0,"div",16),R.EFF(1),R.k0s()),2&e){let e;const t=R.XpG();R.R7$(),R.JRh(null==(e=t.strings().label)?null:e.streamValue)}}function H(e,t){if(1&e&&(R.j41(0,"div",16),R.EFF(1),R.k0s()),2&e){let e;const t=R.XpG();R.R7$(),R.Lme(" ",null==(e=t.strings().label)||null==e.isBuffer?null:e.isBuffer(R.eq3(2,J,(null==t.p3xr||null==t.p3xr.settings||null==t.p3xr.settings.prettyBytes?null:t.p3xr.settings.prettyBytes(null==t.p3xr||null==t.p3xr.settings?null:t.p3xr.settings.maxValueAsBuffer))??""))," ",t.bufferDisplay(t.model.value)," ")}}function Y(e,t){if(1&e&&(R.j41(0,"mat-error"),R.EFF(1),R.k0s()),2&e){let e;const t=R.XpG();R.R7$(),R.JRh(null==(e=t.strings().form)||null==e.key||null==e.key.error?null:e.key.error.value)}}function A(e,t){if(1&e&&(R.j41(0,"button",20)(1,"mat-icon"),R.EFF(2),R.k0s(),R.EFF(3),R.k0s()),2&e){let e;const t=R.XpG();R.R7$(2),R.JRh("edit"===t.options.type?"edit":"add"),R.R7$(),R.SpI(" ","edit"===t.options.type?(null==(e=t.strings().intention)?null:e.save)||"Save":(null==(e=t.strings().intention)?null:e.add)||"Add"," ")}}class q{dialogRef;data;i18n;common;socket;jsonViewDialog;jsonEditorDialog;breakpointObserver;cdr;model={};options;get types(){const e=["string","list","hash","set","zset","stream"];return M?.state?.hasReJSON&&M?.state?.hasProOrEnterpriseJsonBinary&&e.push("json"),e}validateJson=!1;isReadonly=!1;isBuffer=!1;isWide=window.innerWidth>=720;strings;constructor(e,t,o,n,a,s,i,l,r){this.dialogRef=e,this.data=t,this.i18n=o,this.common=n,this.socket=a,this.jsonViewDialog=s,this.jsonEditorDialog=i,this.breakpointObserver=l,this.cdr=r,this.strings=this.i18n.strings,this.options=t}ngOnInit(){this.isReadonly=!0===M?.state?.connection?.readonly,this.breakpointObserver.observe("(min-width: 720px)").subscribe((e=>{this.isWide=e.matches,this.cdr.markForCheck()})),this.model={type:"string",key:this.data.node?.key?this.data.node.key+(M?.settings?.redisTreeDivider??":"):"",value:void 0,score:void 0,streamTimestamp:"*",hashKey:void 0,index:void 0},this.data.model&&Object.assign(this.model,this.data.model),this.isBuffer="object"==typeof this.model.value&&null!==this.model.value}getTitle(){const e=this.strings();return"edit"===this.options.type?e.form?.key?.label?.formName?.edit||"Edit Key":"append"===this.options.type?e.form?.key?.label?.formName?.append||"Append":e.form?.key?.label?.formName?.add||"Add Key"}hasProOrEnterprise(){return!0===M?.state?.hasProOrEnterpriseJsonBinary}bufferDisplay(e){return void 0!==e?.byteLength?"("+M?.settings?.prettyBytes(e.byteLength)+")":""}async copy(){await M.clipboard({value:this.model.value}),this.common.toast(this.strings().status?.dataCopied||"Copied")}async openJsonViewer(){await this.jsonViewDialog.show({value:this.model.value})}async openJsonEditor(){try{const e=await this.jsonEditorDialog.show({value:this.model.value});this.model.value=e.obj}catch(e){}}formatJson(){try{this.model.value=JSON.stringify(JSON.parse(this.model.value),null,M?.settings?.jsonFormat??2)}catch(e){this.common.toast(this.strings().label?.jsonViewNotParsable||"Not valid JSON")}}async onFileSelected(e){const t=e.target,o=t.files?.[0];if(o){try{await this.common.confirm({message:this.strings().confirm?.uploadBuffer||"Upload buffer?"});const e=await o.arrayBuffer();this.model.value=e,this.isBuffer=!0,this.common.toast(this.strings().confirm?.uploadBufferDone||"Buffer uploaded")}catch(e){}t.value=""}}async submit(){if(this.model.key&&0!==this.model.key.trim().length){if(this.validateJson)try{JSON.parse(this.model.value)}catch(e){return void this.common.toast(this.strings().label?.jsonViewNotParsable||"Not valid JSON")}try{M.ui.overlay.show();const e=await this.socket.request({action:"key-new-or-set",payload:{type:this.options.type,originalValue:this.data.model?.value,originalHashKey:this.data.model?.hashKey,model:M.clone(this.model)}});"function"==typeof window.gtag&&window.gtag("config",M?.settings?.googleAnalytics,{page_path:"/key-new-or-set"}),this.common.toast(this.strings().status?.set||"Saved"),this.dialogRef.close(e)}catch(e){this.common.generalHandleError(e)}finally{M.ui.overlay.hide()}}else this.common.toast(this.strings().form?.key?.error?.key||"Key cannot be empty")}cancel(){this.dialogRef.close(void 0)}static ɵfac=function(e){return new(e||q)(R.rXU(i.CP),R.rXU(i.Vh),R.rXU(f.W),R.rXU(x.h),R.rXU(g.L),R.rXU(y.F),R.rXU(v.z),R.rXU(k.Q),R.rXU(n.gRc))};static ɵcmp=R.VBU({type:q,selectors:[["p3xr-key-new-or-set-dialog"]],decls:52,vars:25,consts:[["keyForm","ngForm"],["fileInput",""],["novalidate","",3,"ngSubmit"],[1,"p3xr-dialog-toolbar","p3xr-mat-layout-strong"],["mat-dialog-title","",1,"p3xr-dialog-title"],["mat-icon-button","","type","button",3,"click"],[1,"p3xr-dialog-content"],[1,"full-width"],["matInput","","required","","minlength","1","name","key",3,"ngModelChange","ngModel","disabled"],["name","type",3,"ngModelChange","ngModel","disabled"],[3,"value"],["type","file",2,"display","none",3,"change"],["mat-raised-button","","type","button",1,"btn-primary","p3xr-action-btn",3,"matTooltip"],["mat-raised-button","","type","button",1,"btn-primary","p3xr-action-btn",3,"click","matTooltip"],["mat-raised-button","","type","button",1,"btn-accent","p3xr-action-btn",3,"click","matTooltip"],["name","validateJson",2,"display","block","margin","8px 0",3,"ngModelChange","ngModel"],[1,"info-text"],["matInput","","required","","name","value","rows","5",3,"ngModelChange","ngModel"],[1,"p3xr-dialog-actions"],[3,"cancel"],["mat-raised-button","","type","submit",1,"btn-primary"],["matInput","","type","number","step","1","name","index",3,"ngModelChange","ngModel"],["matInput","","required","","minlength","1","name","hashKey",3,"ngModelChange","ngModel"],["matInput","","type","number","required","","name","score",3,"ngModelChange","ngModel"],["matInput","","required","","name","streamTimestamp",3,"ngModelChange","ngModel"]],template:function(e,t){if(1&e){const e=R.RV6();R.j41(0,"form",2,0),R.bIt("ngSubmit",(function(){return t.submit()})),R.j41(2,"mat-toolbar",3)(3,"span",4),R.EFF(4),R.k0s(),R.j41(5,"button",5),R.bIt("click",(function(){return t.cancel()})),R.j41(6,"mat-icon"),R.EFF(7,"close"),R.k0s()()(),R.j41(8,"mat-dialog-content",6)(9,"mat-form-field",7)(10,"mat-label"),R.EFF(11),R.k0s(),R.j41(12,"input",8),R.mxI("ngModelChange",(function(o){return j.eBV(e),R.DH7(t.model.key,o)||(t.model.key=o),j.Njj(o)})),R.k0s(),R.nVh(13,E,2,1,"mat-error"),R.k0s(),R.j41(14,"mat-form-field",7)(15,"mat-label"),R.EFF(16),R.k0s(),R.j41(17,"mat-select",9),R.mxI("ngModelChange",(function(o){return j.eBV(e),R.DH7(t.model.type,o)||(t.model.type=o),j.Njj(o)})),R.Z7z(18,D,2,2,"mat-option",10,R.fX1),R.k0s()(),R.nVh(20,C,6,3)(21,X,5,3,"mat-form-field",7)(22,G,5,3,"mat-form-field",7)(23,S,7,4),R.j41(24,"input",11,1),R.bIt("change",(function(e){return t.onFileSelected(e)})),R.k0s(),R.nVh(26,T,4,2,"button",12),R.nVh(27,K,4,2,"button",12),R.j41(28,"button",13),R.bIt("click",(function(){return t.formatJson()})),R.j41(29,"mat-icon"),R.EFF(30,"format_line_spacing"),R.k0s(),R.nVh(31,z,2,1,"span"),R.k0s(),R.j41(32,"button",14),R.bIt("click",(function(){return t.openJsonViewer()})),R.j41(33,"mat-icon"),R.EFF(34,"table_chart"),R.k0s(),R.nVh(35,U,2,1,"span"),R.k0s(),R.j41(36,"button",14),R.bIt("click",(function(){return t.copy()})),R.j41(37,"mat-icon"),R.EFF(38,"content_copy"),R.k0s(),R.nVh(39,W,2,1,"span"),R.k0s(),R.j41(40,"mat-slide-toggle",15),R.mxI("ngModelChange",(function(o){return j.eBV(e),R.DH7(t.validateJson,o)||(t.validateJson=o),j.Njj(o)})),R.EFF(41),R.k0s(),R.nVh(42,P,2,1,"div",16),R.nVh(43,H,2,4,"div",16),R.j41(44,"mat-form-field",7)(45,"mat-label"),R.EFF(46),R.k0s(),R.j41(47,"textarea",17),R.mxI("ngModelChange",(function(o){return j.eBV(e),R.DH7(t.model.value,o)||(t.model.value=o),j.Njj(o)})),R.k0s(),R.nVh(48,Y,2,1,"mat-error"),R.k0s()(),R.j41(49,"mat-dialog-actions",18)(50,"p3xr-dialog-cancel",19),R.bIt("cancel",(function(){return t.cancel()})),R.k0s(),R.nVh(51,A,4,2,"button",20),R.k0s()()}if(2&e){let e,o,n,a,s,i,l,r;const c=R.sdS(1);R.R7$(4),R.SpI(" ",t.getTitle()," "),R.R7$(7),R.JRh((null==(e=t.strings().form)||null==e.key||null==e.key.field?null:e.key.field.key)||"Key"),R.R7$(),R.R50("ngModel",t.model.key),R.Y8G("disabled","add"!==t.options.type),R.R7$(),R.vxM(null!=c.controls.key&&c.controls.key.invalid&&null!=c.controls.key&&c.controls.key.touched?13:-1),R.R7$(3),R.JRh((null==(o=t.strings().form)||null==o.key||null==o.key.field?null:o.key.field.type)||"Type"),R.R7$(),R.R50("ngModel",t.model.type),R.Y8G("disabled","add"!==t.options.type),R.R7$(),R.Dyx(t.types),R.R7$(2),R.vxM("list"===(n=t.model.type)?20:"hash"===n?21:"zset"===n?22:"stream"===n?23:-1),R.R7$(6),R.vxM("stream"!==t.model.type&&t.hasProOrEnterprise()?26:-1),R.R7$(),R.vxM(t.hasProOrEnterprise()?27:-1),R.R7$(),R.Y8G("matTooltip",t.isWide?"":(null==(a=t.strings().intention)?null:a.formatJson)||"Format JSON"),R.R7$(3),R.vxM(t.isWide?31:-1),R.R7$(),R.Y8G("matTooltip",t.isWide?"":(null==(s=t.strings().intention)?null:s.jsonViewShow)||"Display JSON"),R.R7$(3),R.vxM(t.isWide?35:-1),R.R7$(),R.Y8G("matTooltip",t.isWide?"":(null==(i=t.strings().intention)?null:i.copy)||"Copy"),R.R7$(3),R.vxM(t.isWide?39:-1),R.R7$(),R.R50("ngModel",t.validateJson),R.R7$(),R.SpI(" ",(null==(l=t.strings().label)?null:l.validateJson)||"Validate JSON"," "),R.R7$(),R.vxM("stream"===t.model.type?42:-1),R.R7$(),R.vxM(t.isBuffer?43:-1),R.R7$(3),R.JRh((null==(r=t.strings().form)||null==r.key||null==r.key.field?null:r.key.field.value)||"Value"),R.R7$(),R.R50("ngModel",t.model.value),R.R7$(),R.vxM(null!=c.controls.value&&c.controls.value.invalid&&null!=c.controls.value&&c.controls.value.touched?48:-1),R.R7$(3),R.vxM(t.isReadonly?-1:51)}},dependencies:[a.MD,s.YN,s.qT,s.me,s.Q0,s.BC,s.cb,s.YS,s.xh,s.vS,s.cV,i.hM,i.BI,i.E7,i.Yi,l.RG,F.rl,F.nJ,F.TL,r.fS,r.fg,c.Ve,c.VO,w.wT,d.mV,d.sG,m.Hl,m.$z,V.iY,u.m_,u.An,p.s5,p.KQ,h.uc,$.oV,b.m],styles:[".full-width[_ngcontent-%COMP%] { width: 100%; }\n .info-text[_ngcontent-%COMP%] { opacity: 0.5; font-size: 12px; margin-bottom: 8px; }\n .hide-sm[_ngcontent-%COMP%] { display: inline; }\n @media (max-width: 959px) { .hide-sm[_ngcontent-%COMP%] { display: none; } }"]})}},23826(e,t,o){o.d(t,{w:()=>s});var n=o(51218),a=o(22712);class s{_animationsDisabled=(0,a.Rc)();state="unchecked";disabled=!1;appearance="full";constructor(){}static ɵfac=function(e){return new(e||s)};static ɵcmp=n.VBU({type:s,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(e,t){2&e&&n.AVh("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("mat-pseudo-checkbox-minimal","minimal"===t.appearance)("mat-pseudo-checkbox-full","full"===t.appearance)("_mat-animation-noopable",t._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-pseudo-checkbox-full-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-pseudo-checkbox-full-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-full-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}\n'],encapsulation:2,changeDetection:0})}("undefined"==typeof ngDevMode||ngDevMode)&&n.cDI(s,[{type:n.uAl,args:[{encapsulation:n.gXe.None,changeDetection:n.Ngq.OnPush,selector:"mat-pseudo-checkbox",template:"",host:{class:"mat-pseudo-checkbox","[class.mat-pseudo-checkbox-indeterminate]":'state === "indeterminate"',"[class.mat-pseudo-checkbox-checked]":'state === "checked"',"[class.mat-pseudo-checkbox-disabled]":"disabled","[class.mat-pseudo-checkbox-minimal]":'appearance === "minimal"',"[class.mat-pseudo-checkbox-full]":'appearance === "full"',"[class._mat-animation-noopable]":"_animationsDisabled"},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-pseudo-checkbox-full-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-pseudo-checkbox-full-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-full-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}\n']}]}],(()=>[]),{state:[{type:n.pde}],disabled:[{type:n.pde}],appearance:[{type:n.pde}]})},43467(e,t,o){o.d(t,{O:()=>l});var n=o(42864),a=o(51218),s=o(24698),i=o(23826);class l{static ɵfac=function(e){return new(e||l)};static ɵmod=a.$C({type:l});static ɵinj=s.G2t({imports:[n.jI]})}("undefined"==typeof ngDevMode||ngDevMode)&&a.cDI(l,[{type:a.UQu,args:[{imports:[i.w],exports:[i.w,n.jI]}]}],null,null)}}]);