diff --git a/254.25a66ffae894a6c2.js b/254.25a66ffae894a6c2.js deleted file mode 100644 index 1bc5cae..0000000 --- a/254.25a66ffae894a6c2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[254],{5254:(f,r,o)=>{o.r(r),o.d(r,{BasicControlsComponent:()=>m});var d=o(6814),s=o(6223),c=o(2599),p=o(4678),_=o(5895),u=o(9488),e=o(5879);let m=(()=>{class g{constructor(){this.textConfig={content:{type:"text",name:"Content",default:"Hello world",description:"I am description",prefix:"\u{1f44b}",suffix:"\u{1f496}"}},this.numberConfig={opacity:{type:"number",name:"Opacity",default:.33,min:0,max:1,step:.01}},this.switchConfig={visible:{type:"switch",name:"Visible",default:!1}},this.sliderConfig={temperature:{type:"slider",name:"Temperature",mode:"normal",default:30,min:0,max:100,step:5,suffix:"\xb0C"}},this.isRangeSlider=!1,this.fillConfig={color:{type:"fill",name:"Color",default:"#ff0055"}},this.selectConfig={font:{type:"select",name:"Font",default:"arial",multiple:!1,useFont:!0,options:[{value:"arial",label:"Arial"},{value:"fantasy",label:"Fantasy"},{value:"monospace",label:"Monospace"}]}},this.isMultiSelect=!1,this.buttonToggleConfig={textAlign:{type:"buttonToggle",name:"Align",default:"right",multiple:!1,options:[{value:"left",label:"Left"},{value:"center",label:"Center"},{value:"right",label:"Right"}]}},this.isMultiButtonToggle=!1,this.useIcon=0,this.buttonToggleConfig2={direction:{type:"buttonToggle",name:"Direction",default:"c",options:[{value:"nw",label:"NW",col:33.33},{value:"n",label:"N",col:33.33},{value:"ne",label:"NE",col:33.33},{value:"w",label:"W",col:33.33},{value:"c",label:"C",col:33.33},{value:"e",label:"E",col:33.33},{value:"sw",label:"SW",col:33.33},{value:"s",label:"S",col:33.33},{value:"se",label:"SE",col:33.33}]}},this.imageSelectConfig={background:{type:"imageSelect",name:"Background",default:"img1",options:[{label:"img1",value:"img1",src:"./assets/images/icon3d1.webp"},{label:"img2",value:"img2",src:"./assets/images/icon3d2.webp"},{label:"img3",value:"img3",src:"./assets/images/icon3d3.webp"}]}},this.textareaConfig={foo:{type:"textarea",name:"Foo",default:"I am a textarea",rows:3}},this.hiddenConfig={id:{type:"hidden",name:"ID",default:1}}}toggleRangeSlider(){const{temperature:l}=this.sliderConfig;l.mode=this.isRangeSlider?"range":"normal",l.default=this.isRangeSlider?[20,60]:30,this.sliderConfig={...this.sliderConfig}}toggleMultiSelect(){const{font:l}=this.selectConfig;l.multiple=this.isMultiSelect,l.default=this.isMultiSelect?[]:"arial",this.selectConfig={...this.selectConfig}}toggleMultiButtonToggle(){const{textAlign:l}=this.buttonToggleConfig;l.multiple=this.isMultiButtonToggle,l.default=this.isMultiButtonToggle?[]:"right",this.buttonToggleConfig={...this.buttonToggleConfig}}toggleIconButtonToggle(){const{textAlign:l}=this.buttonToggleConfig;l.useIcon=this.useIcon>0,l.options=l.options?.map(n=>({...n,src:1==this.useIcon?"mdi mdi-format-align-"+n.value:2==this.useIcon?"./assets/images/align_"+n.value+".png":void 0})),this.buttonToggleConfig={...this.buttonToggleConfig}}static#e=this.\u0275fac=function(n){return new(n||g)};static#t=this.\u0275cmp=e.Xpm({type:g,selectors:[["app-basic-controls"]],standalone:!0,features:[e.jDz],decls:58,vars:19,consts:[[3,"title"],["id","text"],["href","basic-controls#text"],[3,"config"],["id","number"],["href","basic-controls#number"],["id","switch"],["href","basic-controls#switch"],["id","slider"],["href","basic-controls#slider"],[3,"ngModel","ngModelChange"],["id","fill"],["href","basic-controls#fill"],["id","select"],["href","basic-controls#select"],["id","button_toggle"],["href","basic-controls#button_toggle"],[3,"value"],["id","image_select"],["href","basic-controls#image_select"],["id","textarea"],["href","basic-controls#textarea"],["id","hidden"],["href","basic-controls#hidden"]],template:function(n,t){1&n&&(e._UZ(0,"app-page-header",0),e.TgZ(1,"h2",1)(2,"a",2),e._uU(3,"Text"),e.qZA()(),e._UZ(4,"app-example-viewer",3),e.TgZ(5,"h2",4)(6,"a",5),e._uU(7,"Number"),e.qZA()(),e._UZ(8,"app-example-viewer",3),e.TgZ(9,"h2",6)(10,"a",7),e._uU(11,"Switch"),e.qZA()(),e._UZ(12,"app-example-viewer",3),e.TgZ(13,"h2",8)(14,"a",9),e._uU(15,"Slider"),e.qZA()(),e.TgZ(16,"div")(17,"mat-slide-toggle",10),e.NdJ("ngModelChange",function(a){return t.isRangeSlider=a})("ngModelChange",function(){return t.toggleRangeSlider()}),e._uU(18,"Range slider"),e.qZA()(),e._UZ(19,"app-example-viewer",3),e.TgZ(20,"h2",11)(21,"a",12),e._uU(22,"Fill"),e.qZA()(),e._UZ(23,"app-example-viewer",3),e.TgZ(24,"h2",13)(25,"a",14),e._uU(26,"Select"),e.qZA()(),e.TgZ(27,"div")(28,"mat-slide-toggle",10),e.NdJ("ngModelChange",function(a){return t.isMultiSelect=a})("ngModelChange",function(){return t.toggleMultiSelect()}),e._uU(29,"Multiple choice"),e.qZA()(),e._UZ(30,"app-example-viewer",3),e.TgZ(31,"h2",15)(32,"a",16),e._uU(33,"Button Toggle"),e.qZA()(),e.TgZ(34,"div")(35,"mat-slide-toggle",10),e.NdJ("ngModelChange",function(a){return t.isMultiButtonToggle=a})("ngModelChange",function(){return t.toggleMultiButtonToggle()}),e._uU(36,"Multiple choice"),e.qZA(),e.TgZ(37,"mat-button-toggle-group",10),e.NdJ("ngModelChange",function(a){return t.useIcon=a})("ngModelChange",function(){return t.toggleIconButtonToggle()}),e.TgZ(38,"mat-button-toggle",17),e._uU(39,"Text"),e.qZA(),e.TgZ(40,"mat-button-toggle",17),e._uU(41,"Font icon"),e.qZA(),e.TgZ(42,"mat-button-toggle",17),e._uU(43,"Image icon"),e.qZA()()(),e._UZ(44,"app-example-viewer",3)(45,"app-example-viewer",3),e.TgZ(46,"h2",18)(47,"a",19),e._uU(48,"Image Select"),e.qZA()(),e._UZ(49,"app-example-viewer",3),e.TgZ(50,"h2",20)(51,"a",21),e._uU(52,"Textarea"),e.qZA()(),e._UZ(53,"app-example-viewer",3),e.TgZ(54,"h2",22)(55,"a",23),e._uU(56,"Hidden"),e.qZA()(),e._UZ(57,"app-example-viewer",3)),2&n&&(e.Q6J("title","Basic controls"),e.xp6(4),e.Q6J("config",t.textConfig),e.xp6(4),e.Q6J("config",t.numberConfig),e.xp6(4),e.Q6J("config",t.switchConfig),e.xp6(5),e.Q6J("ngModel",t.isRangeSlider),e.xp6(2),e.Q6J("config",t.sliderConfig),e.xp6(4),e.Q6J("config",t.fillConfig),e.xp6(5),e.Q6J("ngModel",t.isMultiSelect),e.xp6(2),e.Q6J("config",t.selectConfig),e.xp6(5),e.Q6J("ngModel",t.isMultiButtonToggle),e.xp6(2),e.Q6J("ngModel",t.useIcon),e.xp6(1),e.Q6J("value",0),e.xp6(2),e.Q6J("value",1),e.xp6(2),e.Q6J("value",2),e.xp6(2),e.Q6J("config",t.buttonToggleConfig),e.xp6(1),e.Q6J("config",t.buttonToggleConfig2),e.xp6(4),e.Q6J("config",t.imageSelectConfig),e.xp6(4),e.Q6J("config",t.textareaConfig),e.xp6(4),e.Q6J("config",t.hiddenConfig))},dependencies:[d.ez,p.Z,_.q,c.rP,c.Rr,u.vV,u.A9,u.Yi,s.u5,s.JJ,s.On],styles:["mat-button-toggle-group[_ngcontent-%COMP%]{margin:0 16px;vertical-align:middle;font-size:14px}"]})}return g})()}}]); \ No newline at end of file diff --git a/254.956684e1b566c634.js b/254.956684e1b566c634.js new file mode 100644 index 0000000..2b39c44 --- /dev/null +++ b/254.956684e1b566c634.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[254],{5254:(f,r,o)=>{o.r(r),o.d(r,{BasicControlsComponent:()=>_});var d=o(6814),s=o(6223),c=o(2599),p=o(4678),m=o(5895),u=o(9488),e=o(5879);let _=(()=>{class g{constructor(){this.textConfig={content:{type:"text",name:"Content",default:"Hello world",description:"I am description",prefix:"\u{1f44b}",suffix:"\u{1f496}"}},this.numberConfig={opacity:{type:"number",name:"Opacity",default:.33,min:0,max:1,step:.01}},this.switchConfig={visible:{type:"switch",name:"Visible",default:!1}},this.sliderConfig={temperature:{type:"slider",name:"Temperature",mode:"normal",default:30,min:0,max:100,step:5,suffix:"\xb0C"}},this.isRangeSlider=!1,this.fillConfig={color:{type:"fill",name:"Color",default:"#ff0055"}},this.selectConfig={font:{type:"select",name:"Font",default:"arial",multiple:!1,useFont:!0,options:[{value:"arial",label:"Arial"},{value:"fantasy",label:"Fantasy"},{value:"monospace",label:"Monospace"}]}},this.isMultiSelect=!1,this.buttonToggleConfig={textAlign:{type:"buttonToggle",name:"Align",default:"right",multiple:!1,options:[{value:"left",label:"Left"},{value:"center",label:"Center"},{value:"right",label:"Right"}]}},this.isMultiButtonToggle=!1,this.useIcon=0,this.buttonToggleConfig2={direction:{type:"buttonToggle",name:"Direction",default:"c",options:[{value:"nw",label:"NW",col:33.33},{value:"n",label:"N",col:33.33},{value:"ne",label:"NE",col:33.33},{value:"w",label:"W",col:33.33},{value:"c",label:"C",col:33.33},{value:"e",label:"E",col:33.33},{value:"sw",label:"SW",col:33.33},{value:"s",label:"S",col:33.33},{value:"se",label:"SE",col:33.33}]}},this.imageSelectConfig={background:{type:"imageSelect",name:"Background",default:"img1",options:[{label:"img1",value:"img1",src:"./assets/images/icon3d1.webp"},{label:"img2",value:"img2",src:"./assets/images/icon3d2.webp"},{label:"img3",value:"img3",src:"./assets/images/icon3d3.webp"}]}},this.textareaConfig={foo:{type:"textarea",name:"Foo",default:"I am a textarea",rows:3}},this.hiddenConfig={id:{type:"hidden",name:"ID",default:1}}}toggleRangeSlider(){const{temperature:l}=this.sliderConfig;l.mode=this.isRangeSlider?"range":"normal",l.default=this.isRangeSlider?[20,60]:30,this.sliderConfig={...this.sliderConfig}}toggleMultiSelect(){const{font:l}=this.selectConfig;l.multiple=this.isMultiSelect,l.default=this.isMultiSelect?[]:"arial",this.selectConfig={...this.selectConfig}}toggleMultiButtonToggle(){const{textAlign:l}=this.buttonToggleConfig;l.multiple=this.isMultiButtonToggle,l.default=this.isMultiButtonToggle?[]:"right",this.buttonToggleConfig={...this.buttonToggleConfig}}toggleIconButtonToggle(){const{textAlign:l}=this.buttonToggleConfig;l.useIcon=this.useIcon>0,l.options=l.options?.map(n=>({...n,src:1==this.useIcon?"mdi mdi-format-align-"+n.value:2==this.useIcon?"./assets/images/align_"+n.value+".png":void 0})),this.buttonToggleConfig={...this.buttonToggleConfig}}static#e=this.\u0275fac=function(n){return new(n||g)};static#t=this.\u0275cmp=e.Xpm({type:g,selectors:[["app-basic-controls"]],standalone:!0,features:[e.jDz],decls:58,vars:19,consts:[["subtitle","Used for binding primitive values (string, number or boolean).",3,"title"],["id","text"],["href","basic-controls#text"],[3,"config"],["id","number"],["href","basic-controls#number"],["id","switch"],["href","basic-controls#switch"],["id","slider"],["href","basic-controls#slider"],[3,"ngModel","ngModelChange"],["id","fill"],["href","basic-controls#fill"],["id","select"],["href","basic-controls#select"],["id","button_toggle"],["href","basic-controls#button_toggle"],[3,"value"],["id","image_select"],["href","basic-controls#image_select"],["id","textarea"],["href","basic-controls#textarea"],["id","hidden"],["href","basic-controls#hidden"]],template:function(n,t){1&n&&(e._UZ(0,"app-page-header",0),e.TgZ(1,"h2",1)(2,"a",2),e._uU(3,"Text"),e.qZA()(),e._UZ(4,"app-example-viewer",3),e.TgZ(5,"h2",4)(6,"a",5),e._uU(7,"Number"),e.qZA()(),e._UZ(8,"app-example-viewer",3),e.TgZ(9,"h2",6)(10,"a",7),e._uU(11,"Switch"),e.qZA()(),e._UZ(12,"app-example-viewer",3),e.TgZ(13,"h2",8)(14,"a",9),e._uU(15,"Slider"),e.qZA()(),e.TgZ(16,"div")(17,"mat-slide-toggle",10),e.NdJ("ngModelChange",function(a){return t.isRangeSlider=a})("ngModelChange",function(){return t.toggleRangeSlider()}),e._uU(18,"Range slider"),e.qZA()(),e._UZ(19,"app-example-viewer",3),e.TgZ(20,"h2",11)(21,"a",12),e._uU(22,"Fill"),e.qZA()(),e._UZ(23,"app-example-viewer",3),e.TgZ(24,"h2",13)(25,"a",14),e._uU(26,"Select"),e.qZA()(),e.TgZ(27,"div")(28,"mat-slide-toggle",10),e.NdJ("ngModelChange",function(a){return t.isMultiSelect=a})("ngModelChange",function(){return t.toggleMultiSelect()}),e._uU(29,"Multiple choice"),e.qZA()(),e._UZ(30,"app-example-viewer",3),e.TgZ(31,"h2",15)(32,"a",16),e._uU(33,"Button Toggle"),e.qZA()(),e.TgZ(34,"div")(35,"mat-slide-toggle",10),e.NdJ("ngModelChange",function(a){return t.isMultiButtonToggle=a})("ngModelChange",function(){return t.toggleMultiButtonToggle()}),e._uU(36,"Multiple choice"),e.qZA(),e.TgZ(37,"mat-button-toggle-group",10),e.NdJ("ngModelChange",function(a){return t.useIcon=a})("ngModelChange",function(){return t.toggleIconButtonToggle()}),e.TgZ(38,"mat-button-toggle",17),e._uU(39,"Text"),e.qZA(),e.TgZ(40,"mat-button-toggle",17),e._uU(41,"Font icon"),e.qZA(),e.TgZ(42,"mat-button-toggle",17),e._uU(43,"Image icon"),e.qZA()()(),e._UZ(44,"app-example-viewer",3)(45,"app-example-viewer",3),e.TgZ(46,"h2",18)(47,"a",19),e._uU(48,"Image Select"),e.qZA()(),e._UZ(49,"app-example-viewer",3),e.TgZ(50,"h2",20)(51,"a",21),e._uU(52,"Textarea"),e.qZA()(),e._UZ(53,"app-example-viewer",3),e.TgZ(54,"h2",22)(55,"a",23),e._uU(56,"Hidden"),e.qZA()(),e._UZ(57,"app-example-viewer",3)),2&n&&(e.Q6J("title","Basic controls"),e.xp6(4),e.Q6J("config",t.textConfig),e.xp6(4),e.Q6J("config",t.numberConfig),e.xp6(4),e.Q6J("config",t.switchConfig),e.xp6(5),e.Q6J("ngModel",t.isRangeSlider),e.xp6(2),e.Q6J("config",t.sliderConfig),e.xp6(4),e.Q6J("config",t.fillConfig),e.xp6(5),e.Q6J("ngModel",t.isMultiSelect),e.xp6(2),e.Q6J("config",t.selectConfig),e.xp6(5),e.Q6J("ngModel",t.isMultiButtonToggle),e.xp6(2),e.Q6J("ngModel",t.useIcon),e.xp6(1),e.Q6J("value",0),e.xp6(2),e.Q6J("value",1),e.xp6(2),e.Q6J("value",2),e.xp6(2),e.Q6J("config",t.buttonToggleConfig),e.xp6(1),e.Q6J("config",t.buttonToggleConfig2),e.xp6(4),e.Q6J("config",t.imageSelectConfig),e.xp6(4),e.Q6J("config",t.textareaConfig),e.xp6(4),e.Q6J("config",t.hiddenConfig))},dependencies:[d.ez,p.Z,m.q,c.rP,c.Rr,u.vV,u.A9,u.Yi,s.u5,s.JJ,s.On],styles:["mat-button-toggle-group[_ngcontent-%COMP%]{margin:0 16px;vertical-align:middle;font-size:14px}"]})}return g})()}}]); \ No newline at end of file diff --git a/404.html b/404.html index 7108a96..14a7ba8 100644 --- a/404.html +++ b/404.html @@ -7,8 +7,8 @@ - + - + diff --git a/832.5c8535875696c0fa.js b/832.5c8535875696c0fa.js new file mode 100644 index 0000000..704475d --- /dev/null +++ b/832.5c8535875696c0fa.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[832],{4832:(u,i,a)=>{a.r(i),a.d(i,{GroupControlsComponent:()=>m});var p=a(6814),r=a(4678),l=a(5895),e=a(5879);let m=(()=>{class n{constructor(){this.groupConfig={size:{type:"group",name:"Size",children:{width:{name:"Width",type:"number",default:1920,suffix:"px"},height:{name:"Height",type:"number",default:1080,suffix:"px"}},expanded:!0}},this.inlineConfig={offset:{type:"inline",name:"Offset",children:{x:{name:"X",type:"number",default:0,col:50},y:{name:"Y",type:"number",default:0,col:50}}}},this.tabs1Config={series:{type:"tabs",name:"Series",description:"Dynamic add/delete",default:[{id:1,name:"bar"},{id:2,name:"foo"}],template:{name:"No.<%= i + 1 %>",children:{id:{type:"number",name:"ID"},name:{type:"text",name:"Name"}}},expanded:!0}},this.tabs2Config={misc:{type:"tabs",name:"Misc",mode:"list",children:[{type:"tab",name:"Full Name",children:{firstName:{type:"text",name:"First Name",default:"James"},lastName:{type:"text",name:"Last Name",default:"Bob"}}},{type:"tab",name:"Contact",children:{phone:{type:"text",name:"Phone",default:"5550100"}}}],expanded:!0}},this.tabs3Config={transitionProperty:{type:"tabs",name:"Transition property",default:["color","width"],template:{type:"text",name:"Prop <%= i + 1 %>"},expanded:!0}},this.tabs4Config={coordinate:{name:"Coordinate",type:"tabs",mode:"list",children:[{type:"slider",name:"Latitude",min:-90,max:90,step:.01,default:39.92},{type:"slider",name:"Longitude",min:-180,max:180,step:.01,default:116.41}],expanded:!0}},this.menuConfig={options:{type:"menu",name:"Menu",children:{menuA:{type:"menuItem",name:"Menu A",children:{textarea:{type:"textarea",name:"Comments",default:"Hello world"},color:{type:"fill",name:"Color",default:"#50b4ff99"}}},menuB:{type:"menu",name:"Menu B",children:{menuB1:{type:"menuItem",name:"Menu B1",children:{label:{type:"text",name:"Label",default:"Hello"}}},menuB2:{type:"menuItem",name:"Menu B2",children:{display:{type:"switch",name:"Display",default:!0}}}}}}}}}static#e=this.\u0275fac=function(o){return new(o||n)};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-group-controls"]],standalone:!0,features:[e.jDz],decls:32,vars:8,consts:[["subtitle","Used for binding object or array.",3,"title"],["id","group"],["href","group-controls#group"],[3,"config"],["id","inline_group"],["href","group-controls#inline_group"],["id","tabs"],["href","group-controls#tabs"],["id","tabs_object_template"],["href","group-controls#tabs_object_template"],["id","tabs_object_no_template"],["href","group-controls#tabs_object_no_template"],["id","tabs_primitive_template"],["href","group-controls#tabs_primitive_template"],["id","tabs_primitive_no_template"],["href","group-controls#tabs_primitive_no_template"],["id","menu"],["href","group-controls#menu"]],template:function(o,t){1&o&&(e._UZ(0,"app-page-header",0),e.TgZ(1,"h2",1)(2,"a",2),e._uU(3,"Group"),e.qZA()(),e._UZ(4,"app-example-viewer",3),e.TgZ(5,"h2",4)(6,"a",5),e._uU(7,"Inline Group"),e.qZA()(),e._UZ(8,"app-example-viewer",3),e.TgZ(9,"h2",6)(10,"a",7),e._uU(11,"Tabs"),e.qZA()(),e.TgZ(12,"h3",8)(13,"a",9),e._uU(14,"Array of objects with template"),e.qZA()(),e._UZ(15,"app-example-viewer",3),e.TgZ(16,"h3",10)(17,"a",11),e._uU(18,"Array of objects without template"),e.qZA()(),e._UZ(19,"app-example-viewer",3),e.TgZ(20,"h3",12)(21,"a",13),e._uU(22,"Array of primitive value with template"),e.qZA()(),e._UZ(23,"app-example-viewer",3),e.TgZ(24,"h3",14)(25,"a",15),e._uU(26,"Array of primitive value without template"),e.qZA()(),e._UZ(27,"app-example-viewer",3),e.TgZ(28,"h2",16)(29,"a",17),e._uU(30,"Menu"),e.qZA()(),e._UZ(31,"app-example-viewer",3)),2&o&&(e.Q6J("title","Group controls"),e.xp6(4),e.Q6J("config",t.groupConfig),e.xp6(4),e.Q6J("config",t.inlineConfig),e.xp6(7),e.Q6J("config",t.tabs1Config),e.xp6(4),e.Q6J("config",t.tabs2Config),e.xp6(4),e.Q6J("config",t.tabs3Config),e.xp6(4),e.Q6J("config",t.tabs4Config),e.xp6(4),e.Q6J("config",t.menuConfig))},dependencies:[p.ez,r.Z,l.q]})}return n})()}}]); \ No newline at end of file diff --git a/832.745c6e20e3534409.js b/832.745c6e20e3534409.js deleted file mode 100644 index e20804b..0000000 --- a/832.745c6e20e3534409.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[832],{4832:(s,i,n)=>{n.r(i),n.d(i,{GroupControlsComponent:()=>u});var p=n(6814),m=n(4678),r=n(5895),e=n(5879);let u=(()=>{class a{constructor(){this.groupConfig={size:{type:"group",name:"Size",children:{width:{name:"Width",type:"number",default:1920,suffix:"px"},height:{name:"Height",type:"number",default:1080,suffix:"px"}},expanded:!0}},this.inlineConfig={offset:{type:"inline",name:"Offset",children:{x:{name:"X",type:"number",default:0,col:50},y:{name:"Y",type:"number",default:0,col:50}}}},this.tabs1Config={series:{type:"tabs",name:"Series",description:"Dynamic add/delete",default:[{id:1,name:"bar"},{id:2,name:"foo"}],template:{name:"No.<%= i + 1 %>",children:{id:{type:"number",name:"ID"},name:{type:"text",name:"Name"}}},expanded:!0}},this.tabs2Config={misc:{type:"tabs",name:"Misc",mode:"list",children:[{type:"tab",name:"Full Name",children:{firstName:{type:"text",name:"First Name",default:"James"},lastName:{type:"text",name:"Last Name",default:"Bob"}}},{type:"tab",name:"Contact",children:{phone:{type:"number",name:"Phone",default:5550100}}}],expanded:!0}},this.menuConfig={options:{type:"menu",name:"Menu",children:{menuA:{type:"menuItem",name:"Menu A",children:{textarea:{type:"textarea",name:"Comments",default:"Hello world"}}},menuB:{type:"menu",name:"Menu B",children:{menuB1:{type:"menuItem",name:"Menu B1",children:{label:{type:"text",name:"Label",default:"Hello"}}},menuB2:{type:"menuItem",name:"Menu B2",children:{display:{type:"switch",name:"Display",default:!0}}}}}}}}}static#e=this.\u0275fac=function(o){return new(o||a)};static#n=this.\u0275cmp=e.Xpm({type:a,selectors:[["app-group-controls"]],standalone:!0,features:[e.jDz],decls:18,vars:6,consts:[[3,"title"],["id","group"],["href","group-controls#group"],[3,"config"],["id","inline_group"],["href","group-controls#inline_group"],["id","tabs"],["href","group-controls#tabs"],["id","menu"],["href","group-controls#menu"]],template:function(o,t){1&o&&(e._UZ(0,"app-page-header",0),e.TgZ(1,"h2",1)(2,"a",2),e._uU(3,"Group"),e.qZA()(),e._UZ(4,"app-example-viewer",3),e.TgZ(5,"h2",4)(6,"a",5),e._uU(7,"Inline Group"),e.qZA()(),e._UZ(8,"app-example-viewer",3),e.TgZ(9,"h2",6)(10,"a",7),e._uU(11,"Tabs"),e.qZA()(),e._UZ(12,"app-example-viewer",3)(13,"app-example-viewer",3),e.TgZ(14,"h2",8)(15,"a",9),e._uU(16,"Menu"),e.qZA()(),e._UZ(17,"app-example-viewer",3)),2&o&&(e.Q6J("title","Group controls"),e.xp6(4),e.Q6J("config",t.groupConfig),e.xp6(4),e.Q6J("config",t.inlineConfig),e.xp6(4),e.Q6J("config",t.tabs1Config),e.xp6(1),e.Q6J("config",t.tabs2Config),e.xp6(4),e.Q6J("config",t.menuConfig))},dependencies:[p.ez,m.Z,r.q]})}return a})()}}]); \ No newline at end of file diff --git a/914.8623f3f708f48651.js b/914.8623f3f708f48651.js deleted file mode 100644 index ae21376..0000000 --- a/914.8623f3f708f48651.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[914],{8914:(r,n,i)=>{i.r(n),i.d(n,{MediaControlsComponent:()=>m});var d=i(6814),l=i(4678),s=i(5895),e=i(5879);let m=(()=>{class a{constructor(){this.imageConfig={image:{type:"image",name:"Upload Image",default:"https://interactive-examples.mdn.mozilla.net/media/cc0-images/grapefruit-slice-332-332.jpg"}},this.videoConfig={video:{type:"video",name:"Upload Video",default:"https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4"}},this.audioConfig={audio:{type:"audio",name:"Upload Audio",default:"https://interactive-examples.mdn.mozilla.net/media/cc0-audio/t-rex-roar.mp3"}},this.fileConfig={file:{type:"file",name:"Upload File",default:""}}}static#e=this.\u0275fac=function(o){return new(o||a)};static#i=this.\u0275cmp=e.Xpm({type:a,selectors:[["app-media-controls"]],standalone:!0,features:[e.jDz],decls:17,vars:5,consts:[[3,"title"],["id","image"],["href","media-controls#image"],[3,"config"],["id","video"],["href","media-controls#video"],["id","audio"],["href","media-controls#audio"],["id","file"],["href","media-controls#file"]],template:function(o,t){1&o&&(e._UZ(0,"app-page-header",0),e.TgZ(1,"h2",1)(2,"a",2),e._uU(3,"Image"),e.qZA()(),e._UZ(4,"app-example-viewer",3),e.TgZ(5,"h2",4)(6,"a",5),e._uU(7,"Video"),e.qZA()(),e._UZ(8,"app-example-viewer",3),e.TgZ(9,"h2",6)(10,"a",7),e._uU(11,"Audio"),e.qZA()(),e._UZ(12,"app-example-viewer",3),e.TgZ(13,"h2",8)(14,"a",9),e._uU(15,"File"),e.qZA()(),e._UZ(16,"app-example-viewer",3)),2&o&&(e.Q6J("title","Media controls"),e.xp6(4),e.Q6J("config",t.imageConfig),e.xp6(4),e.Q6J("config",t.videoConfig),e.xp6(4),e.Q6J("config",t.audioConfig),e.xp6(4),e.Q6J("config",t.fileConfig))},dependencies:[d.ez,l.Z,s.q]})}return a})()}}]); \ No newline at end of file diff --git a/914.9910bf987352131e.js b/914.9910bf987352131e.js new file mode 100644 index 0000000..8a36ec2 --- /dev/null +++ b/914.9910bf987352131e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[914],{8914:(m,t,o)=>{o.r(t),o.d(t,{MediaControlsComponent:()=>u});var d=o(6814),l=o(7326),s=o(4678),p=o(5895),e=o(5879);const r=function(){return["ts"]};let u=(()=>{class i{constructor(){this.imageConfig={image:{type:"image",name:"Upload Image",default:"https://interactive-examples.mdn.mozilla.net/media/cc0-images/grapefruit-slice-332-332.jpg"}},this.videoConfig={video:{type:"video",name:"Upload Video",default:"https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4"}},this.audioConfig={audio:{type:"audio",name:"Upload Audio",default:"https://interactive-examples.mdn.mozilla.net/media/cc0-audio/t-rex-roar.mp3"}},this.fileConfig={file:{type:"file",name:"Upload File",default:""}}}static#e=this.\u0275fac=function(a){return new(a||i)};static#o=this.\u0275cmp=e.Xpm({type:i,selectors:[["app-media-controls"]],standalone:!0,features:[e.jDz],decls:27,vars:7,consts:[["subtitle","Used for uploading and displaying files.",3,"title"],["id","upload_settings"],["href","media-controls#upload_settings"],["highlight","@Injectable()\nexport class YourUploadService {\n constructor(private http: HttpClient) {}\n\n upload(file: FormData) {\n return this.http.post('your_url', file, {\n reportProgress: true,\n observe: 'events',\n });\n }\n}\n\n@Component({\n ...\n imports: [GuiModule],\n providers: [\n {\n provide: GuiFileUploaderConfig,\n useClass: YourUploadService\n },\n ],\n})\nexport class YourComponent {\n}",3,"languages"],["id","image"],["href","media-controls#image"],[3,"config"],["id","video"],["href","media-controls#video"],["id","audio"],["href","media-controls#audio"],["id","file"],["href","media-controls#file"]],template:function(a,n){1&a&&(e._UZ(0,"app-page-header",0),e.TgZ(1,"h2",1)(2,"a",2),e._uU(3,"Upload Settings"),e.qZA()(),e.TgZ(4,"p"),e._uU(5,"If you want to use the upload feature, you should replace the "),e.TgZ(6,"code"),e._uU(7,"GuiFileUploaderConfig"),e.qZA(),e._uU(8," with your own uploading logic."),e.qZA(),e.TgZ(9,"pre"),e._UZ(10,"code",3),e.qZA(),e.TgZ(11,"h2",4)(12,"a",5),e._uU(13,"Image"),e.qZA()(),e._UZ(14,"app-example-viewer",6),e.TgZ(15,"h2",7)(16,"a",8),e._uU(17,"Video"),e.qZA()(),e._UZ(18,"app-example-viewer",6),e.TgZ(19,"h2",9)(20,"a",10),e._uU(21,"Audio"),e.qZA()(),e._UZ(22,"app-example-viewer",6),e.TgZ(23,"h2",11)(24,"a",12),e._uU(25,"File"),e.qZA()(),e._UZ(26,"app-example-viewer",6)),2&a&&(e.Q6J("title","Media controls"),e.xp6(10),e.Q6J("languages",e.DdM(6,r)),e.xp6(4),e.Q6J("config",n.imageConfig),e.xp6(4),e.Q6J("config",n.videoConfig),e.xp6(4),e.Q6J("config",n.audioConfig),e.xp6(4),e.Q6J("config",n.fileConfig))},dependencies:[d.ez,s.Z,p.q,l._l,l.y$]})}return i})()}}]); \ No newline at end of file diff --git a/923.2dfe9bd02babbc0e.js b/923.2dfe9bd02babbc0e.js new file mode 100644 index 0000000..02c9e63 --- /dev/null +++ b/923.2dfe9bd02babbc0e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[923],{6923:(Z,o,e)=>{e.r(o),e.d(o,{GettingStartedComponent:()=>l});var i=e(6814),u=e(5895),r=e(7326),t=e(5879);const s=function(){return["bash"]},g=function(){return["ts"]},d=function(){return["scss"]};let l=(()=>{class n{static#t=this.\u0275fac=function(a){return new(a||n)};static#e=this.\u0275cmp=t.Xpm({type:n,selectors:[["app-getting-started"]],standalone:!0,features:[t.jDz],decls:90,vars:9,consts:[["subtitle","Add Acrodata GUI to your project.",3,"title"],["id","installation"],["href","getting-started#installation"],["highlight","npm install @angular/material @ng-matero/extensions @acrodata/gui --save",3,"languages"],["id","setup"],["href","getting-started#setup"],["highlight","import { GuiModule } from '@acrodata/gui';\n\n@NgModule({\n ...\n imports: [GuiModule, ...],\n ...\n})\nexport class YourAppModule {\n}",3,"languages"],["href","https://material.angular.io/guide/theming","target","_blank"],["highlight","@use '@angular/material' as mat;\n@use '@acrodata/gui' as gui;\n\n@include mat.core();\n\n$theme: mat.define-light-theme(...);\n\n@include gui.all-control-themes($theme);",3,"languages"],["id","usage"],["href","getting-started#usage"],["highlight","import { Component } from '@angular/core';\nimport { GuiFields } from '@acrodata/gui';\n\n@Component({\n selector: 'your-app',\n template: ``,\n})\nexport class YourAppComponent {\n config: GuiFields = {\n title: {\n type: 'text',\n name: 'Title',\n default: 'I am title',\n },\n };\n model = {};\n form = new FormGroup({});\n}",3,"languages"],["id","properties"],["href","getting-started#properties"],["id","properties_inputs"],["href","getting-started#properties_inputs"],["id","properties_outputs"],["href","getting-started#properties_outputs"]],template:function(a,h){1&a&&(t._UZ(0,"app-page-header",0),t.TgZ(1,"h2",1)(2,"a",2),t._uU(3,"Installation"),t.qZA()(),t.TgZ(4,"pre"),t._UZ(5,"code",3),t.qZA(),t.TgZ(6,"h2",4)(7,"a",5),t._uU(8,"Setup"),t.qZA()(),t.TgZ(9,"pre"),t._UZ(10,"code",6),t.qZA(),t.TgZ(11,"p"),t._uU(12,"Define a theme with Angular Material's theming system. "),t.TgZ(13,"a",7),t._uU(14,"More about theming."),t.qZA()(),t.TgZ(15,"pre"),t._UZ(16,"code",8),t.qZA(),t.TgZ(17,"h2",9)(18,"a",10),t._uU(19,"Usage"),t.qZA()(),t.TgZ(20,"pre"),t._UZ(21,"code",11),t.qZA(),t.TgZ(22,"h2",12)(23,"a",13),t._uU(24,"Properties"),t.qZA()(),t.TgZ(25,"h3",14)(26,"a",15),t._uU(27,"Inputs"),t.qZA()(),t.TgZ(28,"table")(29,"thead")(30,"tr")(31,"th"),t._uU(32,"Name"),t.qZA(),t.TgZ(33,"th"),t._uU(34,"Type"),t.qZA(),t.TgZ(35,"th"),t._uU(36,"Required"),t.qZA(),t.TgZ(37,"th"),t._uU(38,"Description"),t.qZA()()(),t.TgZ(39,"tbody")(40,"tr")(41,"td")(42,"code"),t._uU(43,"config"),t.qZA()(),t.TgZ(44,"td")(45,"code"),t._uU(46,"GuiFields"),t.qZA()(),t.TgZ(47,"td"),t._uU(48,"yes"),t.qZA(),t.TgZ(49,"td"),t._uU(50,"The field configurations for building the form."),t.qZA()(),t.TgZ(51,"tr")(52,"td")(53,"code"),t._uU(54,"model"),t.qZA()(),t.TgZ(55,"td")(56,"code"),t._uU(57,"any"),t.qZA()(),t.TgZ(58,"td"),t._uU(59,"no"),t.qZA(),t.TgZ(60,"td"),t._uU(61,"The model to be represented by the form."),t.qZA()(),t.TgZ(62,"tr")(63,"td")(64,"code"),t._uU(65,"form"),t.qZA()(),t.TgZ(66,"td")(67,"code"),t._uU(68,"FormGroup"),t.qZA()(),t.TgZ(69,"td"),t._uU(70,"no"),t.qZA(),t.TgZ(71,"td"),t._uU(72,"The form instance which allow to track model value and validation status."),t.qZA()()()(),t.TgZ(73,"h3",16)(74,"a",17),t._uU(75,"Outputs"),t.qZA()(),t.TgZ(76,"table")(77,"thead")(78,"tr")(79,"th"),t._uU(80,"Name"),t.qZA(),t.TgZ(81,"th"),t._uU(82,"Description"),t.qZA()()(),t.TgZ(83,"tbody")(84,"tr")(85,"td")(86,"code"),t._uU(87,"modelChange"),t.qZA()(),t.TgZ(88,"td"),t._uU(89,"Fired on model value change."),t.qZA()()()()),2&a&&(t.Q6J("title","Getting started"),t.xp6(5),t.Q6J("languages",t.DdM(5,s)),t.xp6(5),t.Q6J("languages",t.DdM(6,g)),t.xp6(6),t.Q6J("languages",t.DdM(7,d)),t.xp6(5),t.Q6J("languages",t.DdM(8,g)))},dependencies:[i.ez,r._l,r.y$,u.q]})}return n})()}}]); \ No newline at end of file diff --git a/923.7907077244e285ce.js b/923.7907077244e285ce.js deleted file mode 100644 index efcec0a..0000000 --- a/923.7907077244e285ce.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[923],{6923:(Z,o,e)=>{e.r(o),e.d(o,{GettingStartedComponent:()=>l});var i=e(6814),u=e(5895),r=e(7326),t=e(5879);const s=function(){return["bash"]},g=function(){return["ts"]},d=function(){return["scss"]};let l=(()=>{class n{static#t=this.\u0275fac=function(a){return new(a||n)};static#e=this.\u0275cmp=t.Xpm({type:n,selectors:[["app-getting-started"]],standalone:!0,features:[t.jDz],decls:90,vars:10,consts:[[3,"title","subtitle"],["id","installation"],["href","getting-started#installation"],["highlight","npm install @angular/material @ng-matero/extensions @acrodata/gui --save",3,"languages"],["id","setup"],["href","getting-started#setup"],["highlight","import { GuiModule } from '@acrodata/gui';\n\n@NgModule({\n ...\n imports: [GuiModule, ...],\n ...\n})\nexport class YourAppModule {\n}",3,"languages"],["href","https://material.angular.io/guide/theming","target","_blank"],["highlight","@use '@angular/material' as mat;\n@use '@acrodata/gui' as gui;\n\n@include mat.core();\n\n$theme: mat.define-light-theme(...);\n\n@include gui.all-control-themes($theme);",3,"languages"],["id","usage"],["href","getting-started#usage"],["highlight","import { Component } from '@angular/core';\nimport { GuiFields } from '@acrodata/gui';\n\n@Component({\n selector: 'your-app',\n template: ``,\n})\nexport class YourAppComponent {\n config: GuiFields = {\n title: {\n type: 'text',\n name: 'Title',\n default: 'I am title',\n },\n };\n model = {};\n form = new FormGroup({});\n}",3,"languages"],["id","properties"],["href","getting-started#properties"],["id","properties_inputs"],["href","getting-started#properties_inputs"],["id","properties_outputs"],["href","getting-started#properties_outputs"]],template:function(a,h){1&a&&(t._UZ(0,"app-page-header",0),t.TgZ(1,"h2",1)(2,"a",2),t._uU(3,"Installation"),t.qZA()(),t.TgZ(4,"pre"),t._UZ(5,"code",3),t.qZA(),t.TgZ(6,"h2",4)(7,"a",5),t._uU(8,"Setup"),t.qZA()(),t.TgZ(9,"pre"),t._UZ(10,"code",6),t.qZA(),t.TgZ(11,"p"),t._uU(12,"Define a theme with Angular Material's theming system. "),t.TgZ(13,"a",7),t._uU(14,"More about theming."),t.qZA()(),t.TgZ(15,"pre"),t._UZ(16,"code",8),t.qZA(),t.TgZ(17,"h2",9)(18,"a",10),t._uU(19,"Usage"),t.qZA()(),t.TgZ(20,"pre"),t._UZ(21,"code",11),t.qZA(),t.TgZ(22,"h2",12)(23,"a",13),t._uU(24,"Properties"),t.qZA()(),t.TgZ(25,"h3",14)(26,"a",15),t._uU(27,"Inputs"),t.qZA()(),t.TgZ(28,"table")(29,"thead")(30,"tr")(31,"th"),t._uU(32,"Name"),t.qZA(),t.TgZ(33,"th"),t._uU(34,"Type"),t.qZA(),t.TgZ(35,"th"),t._uU(36,"Required"),t.qZA(),t.TgZ(37,"th"),t._uU(38,"Description"),t.qZA()()(),t.TgZ(39,"tbody")(40,"tr")(41,"td")(42,"code"),t._uU(43,"config"),t.qZA()(),t.TgZ(44,"td")(45,"code"),t._uU(46,"GuiFields"),t.qZA()(),t.TgZ(47,"td"),t._uU(48,"yes"),t.qZA(),t.TgZ(49,"td"),t._uU(50,"The field configurations for building the form."),t.qZA()(),t.TgZ(51,"tr")(52,"td")(53,"code"),t._uU(54,"model"),t.qZA()(),t.TgZ(55,"td")(56,"code"),t._uU(57,"any"),t.qZA()(),t.TgZ(58,"td"),t._uU(59,"no"),t.qZA(),t.TgZ(60,"td"),t._uU(61,"The model to be represented by the form."),t.qZA()(),t.TgZ(62,"tr")(63,"td")(64,"code"),t._uU(65,"form"),t.qZA()(),t.TgZ(66,"td")(67,"code"),t._uU(68,"FormGroup"),t.qZA()(),t.TgZ(69,"td"),t._uU(70,"no"),t.qZA(),t.TgZ(71,"td"),t._uU(72,"The form instance which allow to track model value and validation status."),t.qZA()()()(),t.TgZ(73,"h3",16)(74,"a",17),t._uU(75,"Outputs"),t.qZA()(),t.TgZ(76,"table")(77,"thead")(78,"tr")(79,"th"),t._uU(80,"Name"),t.qZA(),t.TgZ(81,"th"),t._uU(82,"Description"),t.qZA()()(),t.TgZ(83,"tbody")(84,"tr")(85,"td")(86,"code"),t._uU(87,"modelChange"),t.qZA()(),t.TgZ(88,"td"),t._uU(89,"Fired on model value change."),t.qZA()()()()),2&a&&(t.Q6J("title","Getting started")("subtitle","Add Acrodata GUI to your project."),t.xp6(5),t.Q6J("languages",t.DdM(6,s)),t.xp6(5),t.Q6J("languages",t.DdM(7,g)),t.xp6(6),t.Q6J("languages",t.DdM(8,d)),t.xp6(5),t.Q6J("languages",t.DdM(9,g)))},dependencies:[i.ez,r._l,r.y$,u.q]})}return n})()}}]); \ No newline at end of file diff --git a/index.html b/index.html index 7108a96..14a7ba8 100644 --- a/index.html +++ b/index.html @@ -7,8 +7,8 @@ - + - + diff --git a/main.827cc3f6a2696eb1.js b/main.827cc3f6a2696eb1.js new file mode 100644 index 0000000..9069ef9 --- /dev/null +++ b/main.827cc3f6a2696eb1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[179],{9677:(Mt,je,g)=>{var n=g(6593),l=g(5879),R=g(5592),S=g(4674),Se=g(7715),le=g(2096),ke=g(5619);const ie=(0,g(2306).d)(u=>function(){u(this),this.name="EmptyError",this.message="no elements in sequence"});var we=g(2572),fe=g(5211),me=g(4911),Te=g(8407),Le=g(8504),Ue=g(6232),be=g(7394),ye=g(9360),Je=g(8251);function ve(){return(0,ye.e)((u,a)=>{let s=null;u._refCount++;const d=(0,Je.x)(a,void 0,void 0,void 0,()=>{if(!u||u._refCount<=0||0<--u._refCount)return void(s=null);const p=u._connection,y=s;s=null,p&&(!y||p===y)&&p.unsubscribe(),a.unsubscribe()});u.subscribe(d),d.closed||(s=u.connect())})}class H extends R.y{constructor(a,s){super(),this.source=a,this.subjectFactory=s,this._subject=null,this._refCount=0,this._connection=null,(0,ye.A)(a)&&(this.lift=a.lift)}_subscribe(a){return this.getSubject().subscribe(a)}getSubject(){const a=this._subject;return(!a||a.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:a}=this;this._subject=this._connection=null,a?.unsubscribe()}connect(){let a=this._connection;if(!a){a=this._connection=new be.w0;const s=this.getSubject();a.add(this.source.subscribe((0,Je.x)(s,void 0,()=>{this._teardown(),s.complete()},d=>{this._teardown(),s.error(d)},()=>this._teardown()))),a.closed&&(this._connection=null,a=be.w0.EMPTY)}return a}refCount(){return ve()(this)}}var xe=g(8645),oe=g(6814),Ie=g(7398),Re=g(4664),$e=g(8180),ft=g(7921),bt=g(2181),Dt=g(1631);function Ut(u){return(0,ye.e)((a,s)=>{let d=!1;a.subscribe((0,Je.x)(s,p=>{d=!0,s.next(p)},()=>{d||s.next(u),s.complete()}))})}function kt(u=an){return(0,ye.e)((a,s)=>{let d=!1;a.subscribe((0,Je.x)(s,p=>{d=!0,s.next(p)},()=>d?s.complete():s.error(u())))})}function an(){return new ie}var Xe=g(2737);function Ct(u,a){const s=arguments.length>=2;return d=>d.pipe(u?(0,bt.h)((p,y)=>u(p,y,d)):Xe.y,(0,$e.q)(1),s?Ut(a):kt(()=>new ie))}var W=g(6328),P=g(9397),se=g(6306);function G(u){return u<=0?()=>Ue.E:(0,ye.e)((a,s)=>{let d=[];a.subscribe((0,Je.x)(s,p=>{d.push(p),u{for(const p of d)s.next(p);s.complete()},void 0,()=>{d=null}))})}var ae=g(4716),He=g(9773);g(7537);const it="primary",qe=Symbol("RouteTitle");class It{constructor(a){this.params=a||{}}has(a){return Object.prototype.hasOwnProperty.call(this.params,a)}get(a){if(this.has(a)){const s=this.params[a];return Array.isArray(s)?s[0]:s}return null}getAll(a){if(this.has(a)){const s=this.params[a];return Array.isArray(s)?s:[s]}return[]}get keys(){return Object.keys(this.params)}}function Ye(u){return new It(u)}function ct(u,a,s){const d=s.path.split("/");if(d.length>u.length||"full"===s.pathMatch&&(a.hasChildren()||d.lengthd[y]===p)}return u===a}function jt(u){return u.length>0?u[u.length-1]:null}function Gt(u){return function te(u){return!!u&&(u instanceof R.y||(0,S.m)(u.lift)&&(0,S.m)(u.subscribe))}(u)?u:(0,l.QGY)(u)?(0,Se.D)(Promise.resolve(u)):(0,le.of)(u)}const cn={exact:function Z(u,a,s){if(!Vt(u.segments,a.segments)||!st(u.segments,a.segments,s)||u.numberOfChildren!==a.numberOfChildren)return!1;for(const d in a.children)if(!u.children[d]||!Z(u.children[d],a.children[d],s))return!1;return!0},subset:Fe},Lt={exact:function et(u,a){return tt(u,a)},subset:function ce(u,a){return Object.keys(a).length<=Object.keys(u).length&&Object.keys(a).every(s=>dt(u[s],a[s]))},ignored:()=>!0};function yn(u,a,s){return cn[s.paths](u.root,a.root,s.matrixParams)&&Lt[s.queryParams](u.queryParams,a.queryParams)&&!("exact"===s.fragment&&u.fragment!==a.fragment)}function Fe(u,a,s){return ot(u,a,a.segments,s)}function ot(u,a,s,d){if(u.segments.length>s.length){const p=u.segments.slice(0,s.length);return!(!Vt(p,s)||a.hasChildren()||!st(p,s,d))}if(u.segments.length===s.length){if(!Vt(u.segments,s)||!st(u.segments,s,d))return!1;for(const p in a.children)if(!u.children[p]||!Fe(u.children[p],a.children[p],d))return!1;return!0}{const p=s.slice(0,u.segments.length),y=s.slice(u.segments.length);return!!(Vt(u.segments,p)&&st(u.segments,p,d)&&u.children[it])&&ot(u.children[it],a,y,d)}}function st(u,a,s){return a.every((d,p)=>Lt[s](u[p].parameters,d.parameters))}class lt{constructor(a=new yt([],{}),s={},d=null){this.root=a,this.queryParams=s,this.fragment=d}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ye(this.queryParams)),this._queryParamMap}toString(){return nn.serialize(this)}}class yt{constructor(a,s){this.segments=a,this.children=s,this.parent=null,Object.values(s).forEach(d=>d.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return pn(this)}}class Jt{constructor(a,s){this.path=a,this.parameters=s}get parameterMap(){return this._parameterMap||(this._parameterMap=Ye(this.parameters)),this._parameterMap}toString(){return gt(this)}}function Vt(u,a){return u.length===a.length&&u.every((s,d)=>s.path===a[d].path)}let Cn=(()=>{class u{static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:function(){return new un},providedIn:"root"})}return u})();class un{parse(a){const s=new D(a);return new lt(s.parseRootSegment(),s.parseQueryParams(),s.parseFragment())}serialize(a){const s=`/${bn(a.root,!0)}`,d=function ge(u){const a=Object.keys(u).map(s=>{const d=u[s];return Array.isArray(d)?d.map(p=>`${Tn(s)}=${Tn(p)}`).join("&"):`${Tn(s)}=${Tn(d)}`}).filter(s=>!!s);return a.length?`?${a.join("&")}`:""}(a.queryParams);return`${s}${d}${"string"==typeof a.fragment?`#${function at(u){return encodeURI(u)}(a.fragment)}`:""}`}}const nn=new un;function pn(u){return u.segments.map(a=>gt(a)).join("/")}function bn(u,a){if(!u.hasChildren())return pn(u);if(a){const s=u.children[it]?bn(u.children[it],!1):"",d=[];return Object.entries(u.children).forEach(([p,y])=>{p!==it&&d.push(`${p}:${bn(y,!1)}`)}),d.length>0?`${s}(${d.join("//")})`:s}{const s=function Ft(u,a){let s=[];return Object.entries(u.children).forEach(([d,p])=>{d===it&&(s=s.concat(a(p,d)))}),Object.entries(u.children).forEach(([d,p])=>{d!==it&&(s=s.concat(a(p,d)))}),s}(u,(d,p)=>p===it?[bn(u.children[it],!1)]:[`${p}:${bn(d,!1)}`]);return 1===Object.keys(u.children).length&&null!=u.children[it]?`${pn(u)}/${s[0]}`:`${pn(u)}/(${s.join("//")})`}}function In(u){return encodeURIComponent(u).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Tn(u){return In(u).replace(/%3B/gi,";")}function Nt(u){return In(u).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ke(u){return decodeURIComponent(u)}function mt(u){return Ke(u.replace(/\+/g,"%20"))}function gt(u){return`${Nt(u.path)}${function Yt(u){return Object.keys(u).map(a=>`;${Nt(a)}=${Nt(u[a])}`).join("")}(u.parameters)}`}const J=/^[^\/()?;#]+/;function I(u){const a=u.match(J);return a?a[0]:""}const Y=/^[^\/()?;=#]+/,ut=/^[^=?&#]+/,ee=/^[^&#]+/;class D{constructor(a){this.url=a,this.remaining=a}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new yt([],{}):new yt([],this.parseChildren())}parseQueryParams(){const a={};if(this.consumeOptional("?"))do{this.parseQueryParam(a)}while(this.consumeOptional("&"));return a}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const a=[];for(this.peekStartsWith("(")||a.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),a.push(this.parseSegment());let s={};this.peekStartsWith("/(")&&(this.capture("/"),s=this.parseParens(!0));let d={};return this.peekStartsWith("(")&&(d=this.parseParens(!1)),(a.length>0||Object.keys(s).length>0)&&(d[it]=new yt(a,s)),d}parseSegment(){const a=I(this.remaining);if(""===a&&this.peekStartsWith(";"))throw new l.vHH(4009,!1);return this.capture(a),new Jt(Ke(a),this.parseMatrixParams())}parseMatrixParams(){const a={};for(;this.consumeOptional(";");)this.parseParam(a);return a}parseParam(a){const s=function Ae(u){const a=u.match(Y);return a?a[0]:""}(this.remaining);if(!s)return;this.capture(s);let d="";if(this.consumeOptional("=")){const p=I(this.remaining);p&&(d=p,this.capture(d))}a[Ke(s)]=Ke(d)}parseQueryParam(a){const s=function Pe(u){const a=u.match(ut);return a?a[0]:""}(this.remaining);if(!s)return;this.capture(s);let d="";if(this.consumeOptional("=")){const A=function z(u){const a=u.match(ee);return a?a[0]:""}(this.remaining);A&&(d=A,this.capture(d))}const p=mt(s),y=mt(d);if(a.hasOwnProperty(p)){let A=a[p];Array.isArray(A)||(A=[A],a[p]=A),A.push(y)}else a[p]=y}parseParens(a){const s={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const d=I(this.remaining),p=this.remaining[d.length];if("/"!==p&&")"!==p&&";"!==p)throw new l.vHH(4010,!1);let y;d.indexOf(":")>-1?(y=d.slice(0,d.indexOf(":")),this.capture(y),this.capture(":")):a&&(y=it);const A=this.parseChildren();s[y]=1===Object.keys(A).length?A[it]:new yt([],A),this.consumeOptional("//")}return s}peekStartsWith(a){return this.remaining.startsWith(a)}consumeOptional(a){return!!this.peekStartsWith(a)&&(this.remaining=this.remaining.substring(a.length),!0)}capture(a){if(!this.consumeOptional(a))throw new l.vHH(4011,!1)}}function B(u){return u.segments.length>0?new yt([],{[it]:u}):u}function he(u){const a={};for(const d of Object.keys(u.children)){const y=he(u.children[d]);if(d===it&&0===y.segments.length&&y.hasChildren())for(const[A,K]of Object.entries(y.children))a[A]=K;else(y.segments.length>0||y.hasChildren())&&(a[d]=y)}return function X(u){if(1===u.numberOfChildren&&u.children[it]){const a=u.children[it];return new yt(u.segments.concat(a.segments),a.children)}return u}(new yt(u.segments,a))}function ne(u){return u instanceof lt}function nt(u){let a;const p=B(function s(y){const A={};for(const re of y.children){const Ge=s(re);A[re.outlet]=Ge}const K=new yt(y.url,A);return y===u&&(a=K),K}(u.root));return a??p}function Et(u,a,s,d){let p=u;for(;p.parent;)p=p.parent;if(0===a.length)return $t(p,p,p,s,d);const y=function $n(u){if("string"==typeof u[0]&&1===u.length&&"/"===u[0])return new Fn(!0,0,u);let a=0,s=!1;const d=u.reduce((p,y,A)=>{if("object"==typeof y&&null!=y){if(y.outlets){const K={};return Object.entries(y.outlets).forEach(([re,Ge])=>{K[re]="string"==typeof Ge?Ge.split("/"):Ge}),[...p,{outlets:K}]}if(y.segmentPath)return[...p,y.segmentPath]}return"string"!=typeof y?[...p,y]:0===A?(y.split("/").forEach((K,re)=>{0==re&&"."===K||(0==re&&""===K?s=!0:".."===K?a++:""!=K&&p.push(K))}),p):[...p,y]},[]);return new Fn(s,a,d)}(a);if(y.toRoot())return $t(p,p,new yt([],{}),s,d);const A=function Nn(u,a,s){if(u.isAbsolute)return new zn(a,!0,0);if(!s)return new zn(a,!1,NaN);if(null===s.parent)return new zn(s,!0,0);const d=Ot(u.commands[0])?0:1;return function ei(u,a,s){let d=u,p=a,y=s;for(;y>p;){if(y-=p,d=d.parent,!d)throw new l.vHH(4005,!1);p=d.segments.length}return new zn(d,!1,p-y)}(s,s.segments.length-1+d,u.numberOfDoubleDots)}(y,p,u),K=A.processChildren?vn(A.segmentGroup,A.index,y.commands):mn(A.segmentGroup,A.index,y.commands);return $t(p,A.segmentGroup,K,s,d)}function Ot(u){return"object"==typeof u&&null!=u&&!u.outlets&&!u.segmentPath}function Tt(u){return"object"==typeof u&&null!=u&&u.outlets}function $t(u,a,s,d,p){let A,y={};d&&Object.entries(d).forEach(([re,Ge])=>{y[re]=Array.isArray(Ge)?Ge.map(_t=>`${_t}`):`${Ge}`}),A=u===a?s:qt(u,a,s);const K=B(he(A));return new lt(K,y,p)}function qt(u,a,s){const d={};return Object.entries(u.children).forEach(([p,y])=>{d[p]=y===a?s:qt(y,a,s)}),new yt(u.segments,d)}class Fn{constructor(a,s,d){if(this.isAbsolute=a,this.numberOfDoubleDots=s,this.commands=d,a&&d.length>0&&Ot(d[0]))throw new l.vHH(4003,!1);const p=d.find(Tt);if(p&&p!==jt(d))throw new l.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class zn{constructor(a,s,d){this.segmentGroup=a,this.processChildren=s,this.index=d}}function mn(u,a,s){if(u||(u=new yt([],{})),0===u.segments.length&&u.hasChildren())return vn(u,a,s);const d=function ui(u,a,s){let d=0,p=a;const y={match:!1,pathIndex:0,commandIndex:0};for(;p=s.length)return y;const A=u.segments[p],K=s[d];if(Tt(K))break;const re=`${K}`,Ge=d0&&void 0===re)break;if(re&&Ge&&"object"==typeof Ge&&void 0===Ge.outlets){if(!hi(re,Ge,A))return y;d+=2}else{if(!hi(re,{},A))return y;d++}p++}return{match:!0,pathIndex:p,commandIndex:d}}(u,a,s),p=s.slice(d.commandIndex);if(d.match&&d.pathIndexy!==it)&&u.children[it]&&1===u.numberOfChildren&&0===u.children[it].segments.length){const y=vn(u.children[it],a,s);return new yt(u.segments,y.children)}return Object.entries(d).forEach(([y,A])=>{"string"==typeof A&&(A=[A]),null!==A&&(p[y]=mn(u.children[y],a,A))}),Object.entries(u.children).forEach(([y,A])=>{void 0===d[y]&&(p[y]=A)}),new yt(u.segments,p)}}function pi(u,a,s){const d=u.segments.slice(0,a);let p=0;for(;p{"string"==typeof d&&(d=[d]),null!==d&&(a[s]=pi(new yt([],{}),0,d))}),a}function ti(u){const a={};return Object.entries(u).forEach(([s,d])=>a[s]=`${d}`),a}function hi(u,a,s){return u==s.path&&tt(a,s.parameters)}const ai="imperative";class Kn{constructor(a,s){this.id=a,this.url=s}}class mi extends Kn{constructor(a,s,d="imperative",p=null){super(a,s),this.type=0,this.navigationTrigger=d,this.restoredState=p}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class N extends Kn{constructor(a,s,d){super(a,s),this.urlAfterRedirects=d,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class de extends Kn{constructor(a,s,d,p){super(a,s),this.reason=d,this.code=p,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class x extends Kn{constructor(a,s,d,p){super(a,s),this.reason=d,this.code=p,this.type=16}}class q extends Kn{constructor(a,s,d,p){super(a,s),this.error=d,this.target=p,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class pe extends Kn{constructor(a,s,d,p){super(a,s),this.urlAfterRedirects=d,this.state=p,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class We extends Kn{constructor(a,s,d,p){super(a,s),this.urlAfterRedirects=d,this.state=p,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pt extends Kn{constructor(a,s,d,p,y){super(a,s),this.urlAfterRedirects=d,this.state=p,this.shouldActivate=y,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class on extends Kn{constructor(a,s,d,p){super(a,s),this.urlAfterRedirects=d,this.state=p,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Qt extends Kn{constructor(a,s,d,p){super(a,s),this.urlAfterRedirects=d,this.state=p,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gi{constructor(a){this.route=a,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class yo{constructor(a){this.route=a,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class oi{constructor(a){this.snapshot=a,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xo{constructor(a){this.snapshot=a,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Jo{constructor(a){this.snapshot=a,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class qi{constructor(a){this.snapshot=a,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Co{constructor(a,s,d){this.routerEvent=a,this.position=s,this.anchor=d,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Yi{}class eo{constructor(a){this.url=a}}class lo{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Bi,this.attachRef=null}}let Bi=(()=>{class u{constructor(){this.contexts=new Map}onChildOutletCreated(s,d){const p=this.getOrCreateContext(s);p.outlet=d,this.contexts.set(s,p)}onChildOutletDestroyed(s){const d=this.getContext(s);d&&(d.outlet=null,d.attachRef=null)}onOutletDeactivated(){const s=this.contexts;return this.contexts=new Map,s}onOutletReAttached(s){this.contexts=s}getOrCreateContext(s){let d=this.getContext(s);return d||(d=new lo,this.contexts.set(s,d)),d}getContext(s){return this.contexts.get(s)||null}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();class gn{constructor(a){this._root=a}get root(){return this._root.value}parent(a){const s=this.pathFromRoot(a);return s.length>1?s[s.length-2]:null}children(a){const s=Bn(a,this._root);return s?s.children.map(d=>d.value):[]}firstChild(a){const s=Bn(a,this._root);return s&&s.children.length>0?s.children[0].value:null}siblings(a){const s=Qn(a,this._root);return s.length<2?[]:s[s.length-2].children.map(p=>p.value).filter(p=>p!==a)}pathFromRoot(a){return Qn(a,this._root).map(s=>s.value)}}function Bn(u,a){if(u===a.value)return a;for(const s of a.children){const d=Bn(u,s);if(d)return d}return null}function Qn(u,a){if(u===a.value)return[a];for(const s of a.children){const d=Qn(u,s);if(d.length)return d.unshift(a),d}return[]}class ni{constructor(a,s){this.value=a,this.children=s}toString(){return`TreeNode(${this.value})`}}function Jn(u){const a={};return u&&u.children.forEach(s=>a[s.value.outlet]=s),a}class Vi extends gn{constructor(a,s){super(a),this.snapshot=s,E(this,a)}toString(){return this.snapshot.toString()}}function wo(u,a){const s=function Ii(u,a){const A=new h([],{},{},"",{},it,a,null,{});return new M("",new ni(A,[]))}(0,a),d=new ke.X([new Jt("",{})]),p=new ke.X({}),y=new ke.X({}),A=new ke.X({}),K=new ke.X(""),re=new Wi(d,p,A,K,y,it,a,s.root);return re.snapshot=s.root,new Vi(new ni(re,[]),s)}class Wi{constructor(a,s,d,p,y,A,K,re){this.urlSubject=a,this.paramsSubject=s,this.queryParamsSubject=d,this.fragmentSubject=p,this.dataSubject=y,this.outlet=A,this.component=K,this._futureSnapshot=re,this.title=this.dataSubject?.pipe((0,Ie.U)(Ge=>Ge[qe]))??(0,le.of)(void 0),this.url=a,this.params=s,this.queryParams=d,this.fragment=p,this.data=y}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,Ie.U)(a=>Ye(a)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Ie.U)(a=>Ye(a)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function b(u,a="emptyOnly"){const s=u.pathFromRoot;let d=0;if("always"!==a)for(d=s.length-1;d>=1;){const p=s[d],y=s[d-1];if(p.routeConfig&&""===p.routeConfig.path)d--;else{if(y.component)break;d--}}return function j(u){return u.reduce((a,s)=>({params:{...a.params,...s.params},data:{...a.data,...s.data},resolve:{...s.data,...a.resolve,...s.routeConfig?.data,...s._resolvedData}}),{params:{},data:{},resolve:{}})}(s.slice(d))}class h{get title(){return this.data?.[qe]}constructor(a,s,d,p,y,A,K,re,Ge){this.url=a,this.params=s,this.queryParams=d,this.fragment=p,this.data=y,this.outlet=A,this.component=K,this.routeConfig=re,this._resolve=Ge}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Ye(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ye(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(d=>d.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class M extends gn{constructor(a,s){super(s),this.url=a,E(this,s)}toString(){return De(this._root)}}function E(u,a){a.value._routerState=u,a.children.forEach(s=>E(u,s))}function De(u){const a=u.children.length>0?` { ${u.children.map(De).join(", ")} } `:"";return`${u.value}${a}`}function Ve(u){if(u.snapshot){const a=u.snapshot,s=u._futureSnapshot;u.snapshot=s,tt(a.queryParams,s.queryParams)||u.queryParamsSubject.next(s.queryParams),a.fragment!==s.fragment&&u.fragmentSubject.next(s.fragment),tt(a.params,s.params)||u.paramsSubject.next(s.params),function Ee(u,a){if(u.length!==a.length)return!1;for(let s=0;stt(s.parameters,a[d].parameters))}(u.url,a.url);return s&&!(!u.parent!=!a.parent)&&(!u.parent||Pt(u.parent,a.parent))}let hn=(()=>{class u{constructor(){this.activated=null,this._activatedRoute=null,this.name=it,this.activateEvents=new l.vpe,this.deactivateEvents=new l.vpe,this.attachEvents=new l.vpe,this.detachEvents=new l.vpe,this.parentContexts=(0,l.f3M)(Bi),this.location=(0,l.f3M)(l.s_b),this.changeDetector=(0,l.f3M)(l.sBO),this.environmentInjector=(0,l.f3M)(l.lqb),this.inputBinder=(0,l.f3M)(Pn,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(s){if(s.name){const{firstChange:d,previousValue:p}=s.name;if(d)return;this.isTrackedInParentContexts(p)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(p)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(s){return this.parentContexts.getContext(s)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const s=this.parentContexts.getContext(this.name);s?.route&&(s.attachRef?this.attach(s.attachRef,s.route):this.activateWith(s.route,s.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new l.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new l.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new l.vHH(4012,!1);this.location.detach();const s=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(s.instance),s}attach(s,d){this.activated=s,this._activatedRoute=d,this.location.insert(s.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(s.instance)}deactivate(){if(this.activated){const s=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(s)}}activateWith(s,d){if(this.isActivated)throw new l.vHH(4013,!1);this._activatedRoute=s;const p=this.location,A=s.snapshot.component,K=this.parentContexts.getOrCreateContext(this.name).children,re=new Zt(s,K,p.injector);this.activated=p.createComponent(A,{index:p.length,injector:re,environmentInjector:d??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275dir=l.lG2({type:u,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[l.TTD]})}return u})();class Zt{constructor(a,s,d){this.route=a,this.childContexts=s,this.parent=d}get(a,s){return a===Wi?this.route:a===Bi?this.childContexts:this.parent.get(a,s)}}const Pn=new l.OlP("");function On(u,a,s){if(s&&u.shouldReuseRoute(a.value,s.value.snapshot)){const d=s.value;d._futureSnapshot=a.value;const p=function $r(u,a,s){return a.children.map(d=>{for(const p of s.children)if(u.shouldReuseRoute(d.value,p.value.snapshot))return On(u,d,p);return On(u,d)})}(u,a,s);return new ni(d,p)}{if(u.shouldAttach(a.value)){const y=u.retrieve(a.value);if(null!==y){const A=y.route;return A.value._futureSnapshot=a.value,A.children=a.children.map(K=>On(u,K)),A}}const d=function Eo(u){return new Wi(new ke.X(u.url),new ke.X(u.params),new ke.X(u.queryParams),new ke.X(u.fragment),new ke.X(u.data),u.outlet,u.component,u)}(a.value),p=a.children.map(y=>On(u,y));return new ni(d,p)}}const Yn="ngNavigationCancelingError";function Hi(u,a){const{redirectTo:s,navigationBehaviorOptions:d}=ne(a)?{redirectTo:a,navigationBehaviorOptions:void 0}:a,p=Lo(!1,0,a);return p.url=s,p.navigationBehaviorOptions=d,p}function Lo(u,a,s){const d=new Error("NavigationCancelingError: "+(u||""));return d[Yn]=!0,d.cancellationCode=a,s&&(d.url=s),d}function Bo(u){return u&&u[Yn]}let Xo=(()=>{class u{static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275cmp=l.Xpm({type:u,selectors:[["ng-component"]],standalone:!0,features:[l.jDz],decls:1,vars:0,template:function(d,p){1&d&&l._UZ(0,"router-outlet")},dependencies:[hn],encapsulation:2})}return u})();function Mo(u){const a=u.children&&u.children.map(Mo),s=a?{...u,children:a}:{...u};return!s.component&&!s.loadComponent&&(a||s.loadChildren)&&s.outlet&&s.outlet!==it&&(s.component=Xo),s}function yi(u){return u.outlet||it}function ii(u){if(!u)return null;if(u.routeConfig?._injector)return u.routeConfig._injector;for(let a=u.parent;a;a=a.parent){const s=a.routeConfig;if(s?._loadedInjector)return s._loadedInjector;if(s?._injector)return s._injector}return null}class _i{constructor(a,s,d,p,y){this.routeReuseStrategy=a,this.futureState=s,this.currState=d,this.forwardEvent=p,this.inputBindingEnabled=y}activate(a){const s=this.futureState._root,d=this.currState?this.currState._root:null;this.deactivateChildRoutes(s,d,a),Ve(this.futureState.root),this.activateChildRoutes(s,d,a)}deactivateChildRoutes(a,s,d){const p=Jn(s);a.children.forEach(y=>{const A=y.value.outlet;this.deactivateRoutes(y,p[A],d),delete p[A]}),Object.values(p).forEach(y=>{this.deactivateRouteAndItsChildren(y,d)})}deactivateRoutes(a,s,d){const p=a.value,y=s?s.value:null;if(p===y)if(p.component){const A=d.getContext(p.outlet);A&&this.deactivateChildRoutes(a,s,A.children)}else this.deactivateChildRoutes(a,s,d);else y&&this.deactivateRouteAndItsChildren(s,d)}deactivateRouteAndItsChildren(a,s){a.value.component&&this.routeReuseStrategy.shouldDetach(a.value.snapshot)?this.detachAndStoreRouteSubtree(a,s):this.deactivateRouteAndOutlet(a,s)}detachAndStoreRouteSubtree(a,s){const d=s.getContext(a.value.outlet),p=d&&a.value.component?d.children:s,y=Jn(a);for(const A of Object.keys(y))this.deactivateRouteAndItsChildren(y[A],p);if(d&&d.outlet){const A=d.outlet.detach(),K=d.children.onOutletDeactivated();this.routeReuseStrategy.store(a.value.snapshot,{componentRef:A,route:a,contexts:K})}}deactivateRouteAndOutlet(a,s){const d=s.getContext(a.value.outlet),p=d&&a.value.component?d.children:s,y=Jn(a);for(const A of Object.keys(y))this.deactivateRouteAndItsChildren(y[A],p);d&&(d.outlet&&(d.outlet.deactivate(),d.children.onOutletDeactivated()),d.attachRef=null,d.route=null)}activateChildRoutes(a,s,d){const p=Jn(s);a.children.forEach(y=>{this.activateRoutes(y,p[y.value.outlet],d),this.forwardEvent(new qi(y.value.snapshot))}),a.children.length&&this.forwardEvent(new xo(a.value.snapshot))}activateRoutes(a,s,d){const p=a.value,y=s?s.value:null;if(Ve(p),p===y)if(p.component){const A=d.getOrCreateContext(p.outlet);this.activateChildRoutes(a,s,A.children)}else this.activateChildRoutes(a,s,d);else if(p.component){const A=d.getOrCreateContext(p.outlet);if(this.routeReuseStrategy.shouldAttach(p.snapshot)){const K=this.routeReuseStrategy.retrieve(p.snapshot);this.routeReuseStrategy.store(p.snapshot,null),A.children.onOutletReAttached(K.contexts),A.attachRef=K.componentRef,A.route=K.route.value,A.outlet&&A.outlet.attach(K.componentRef,K.route.value),Ve(K.route.value),this.activateChildRoutes(a,null,A.children)}else{const K=ii(p.snapshot);A.attachRef=null,A.route=p,A.injector=K,A.outlet&&A.outlet.activateWith(p,A.injector),this.activateChildRoutes(a,null,A.children)}}else this.activateChildRoutes(a,null,d)}}class er{constructor(a){this.path=a,this.route=this.path[this.path.length-1]}}class to{constructor(a,s){this.component=a,this.route=s}}function Wr(u,a,s){const d=u._root;return pr(d,a?a._root:null,s,[d.value])}function To(u,a){const s=Symbol(),d=a.get(u,s);return d===s?"function"!=typeof u||(0,l.Z0I)(u)?a.get(u):u:d}function pr(u,a,s,d,p={canDeactivateChecks:[],canActivateChecks:[]}){const y=Jn(a);return u.children.forEach(A=>{(function Ks(u,a,s,d,p={canDeactivateChecks:[],canActivateChecks:[]}){const y=u.value,A=a?a.value:null,K=s?s.getContext(u.value.outlet):null;if(A&&y.routeConfig===A.routeConfig){const re=function vc(u,a,s){if("function"==typeof s)return s(u,a);switch(s){case"pathParamsChange":return!Vt(u.url,a.url);case"pathParamsOrQueryParamsChange":return!Vt(u.url,a.url)||!tt(u.queryParams,a.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Pt(u,a)||!tt(u.queryParams,a.queryParams);default:return!Pt(u,a)}}(A,y,y.routeConfig.runGuardsAndResolvers);re?p.canActivateChecks.push(new er(d)):(y.data=A.data,y._resolvedData=A._resolvedData),pr(u,a,y.component?K?K.children:null:s,d,p),re&&K&&K.outlet&&K.outlet.isActivated&&p.canDeactivateChecks.push(new to(K.outlet.component,A))}else A&&mr(a,K,p),p.canActivateChecks.push(new er(d)),pr(u,null,y.component?K?K.children:null:s,d,p)})(A,y[A.value.outlet],s,d.concat([A.value]),p),delete y[A.value.outlet]}),Object.entries(y).forEach(([A,K])=>mr(K,s.getContext(A),p)),p}function mr(u,a,s){const d=Jn(u),p=u.value;Object.entries(d).forEach(([y,A])=>{mr(A,p.component?a?a.children.getContext(y):null:a,s)}),s.canDeactivateChecks.push(new to(p.component&&a&&a.outlet&&a.outlet.isActivated?a.outlet.component:null,p))}function tr(u){return"function"==typeof u}function Or(u){return u instanceof ie||"EmptyError"===u?.name}const gr=Symbol("INITIAL_VALUE");function Zr(){return(0,Re.w)(u=>(0,we.a)(u.map(a=>a.pipe((0,$e.q)(1),(0,ft.O)(gr)))).pipe((0,Ie.U)(a=>{for(const s of a)if(!0!==s){if(s===gr)return gr;if(!1===s||s instanceof lt)return s}return!0}),(0,bt.h)(a=>a!==gr),(0,$e.q)(1)))}function Rr(u){return(0,Te.z)((0,P.b)(a=>{if(ne(a))throw Hi(0,a)}),(0,Ie.U)(a=>!0===a))}class _r{constructor(a){this.segmentGroup=a||null}}class Ri{constructor(a){this.urlTree=a}}function Uo(u){return(0,Le._)(new _r(u))}function Xs(u){return(0,Le._)(new Ri(u))}class Kr{constructor(a,s){this.urlSerializer=a,this.urlTree=s}noMatchError(a){return new l.vHH(4002,!1)}lineralizeSegments(a,s){let d=[],p=s.root;for(;;){if(d=d.concat(p.segments),0===p.numberOfChildren)return(0,le.of)(d);if(p.numberOfChildren>1||!p.children[it])return(0,Le._)(new l.vHH(4e3,!1));p=p.children[it]}}applyRedirectCommands(a,s,d){return this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),a,d)}applyRedirectCreateUrlTree(a,s,d,p){const y=this.createSegmentGroup(a,s.root,d,p);return new lt(y,this.createQueryParams(s.queryParams,this.urlTree.queryParams),s.fragment)}createQueryParams(a,s){const d={};return Object.entries(a).forEach(([p,y])=>{if("string"==typeof y&&y.startsWith(":")){const K=y.substring(1);d[p]=s[K]}else d[p]=y}),d}createSegmentGroup(a,s,d,p){const y=this.createSegments(a,s.segments,d,p);let A={};return Object.entries(s.children).forEach(([K,re])=>{A[K]=this.createSegmentGroup(a,re,d,p)}),new yt(y,A)}createSegments(a,s,d,p){return s.map(y=>y.path.startsWith(":")?this.findPosParam(a,y,p):this.findOrReturn(y,d))}findPosParam(a,s,d){const p=d[s.path.substring(1)];if(!p)throw new l.vHH(4001,!1);return p}findOrReturn(a,s){let d=0;for(const p of s){if(p.path===a.path)return s.splice(d),p;d++}return a}}const vs={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ea(u,a,s,d,p){const y=Qr(u,a,s);return y.matched?(d=function Do(u,a){return u.providers&&!u._injector&&(u._injector=(0,l.MMx)(u.providers,a,`Route: ${u.path}`)),u._injector??a}(a,d),function Ei(u,a,s,d){const p=a.canMatch;if(!p||0===p.length)return(0,le.of)(!0);const y=p.map(A=>{const K=To(A,u);return Gt(function tn(u){return u&&tr(u.canMatch)}(K)?K.canMatch(a,s):u.runInContext(()=>K(a,s)))});return(0,le.of)(y).pipe(Zr(),Rr())}(d,a,s).pipe((0,Ie.U)(A=>!0===A?y:{...vs}))):(0,le.of)(y)}function Qr(u,a,s){if(""===a.path)return"full"===a.pathMatch&&(u.hasChildren()||s.length>0)?{...vs}:{matched:!0,consumedSegments:[],remainingSegments:s,parameters:{},positionalParamSegments:{}};const p=(a.matcher||ct)(s,u,a);if(!p)return{...vs};const y={};Object.entries(p.posParams??{}).forEach(([K,re])=>{y[K]=re.path});const A=p.consumed.length>0?{...y,...p.consumed[p.consumed.length-1].parameters}:y;return{matched:!0,consumedSegments:p.consumed,remainingSegments:s.slice(p.consumed.length),parameters:A,positionalParamSegments:p.posParams??{}}}function ta(u,a,s,d){return s.length>0&&function ys(u,a,s){return s.some(d=>Io(u,a,d)&&yi(d)!==it)}(u,s,d)?{segmentGroup:new yt(a,rl(d,new yt(s,u.children))),slicedSegments:[]}:0===s.length&&function Jr(u,a,s){return s.some(d=>Io(u,a,d))}(u,s,d)?{segmentGroup:new yt(u.segments,ol(u,0,s,d,u.children)),slicedSegments:s}:{segmentGroup:new yt(u.segments,u.children),slicedSegments:s}}function ol(u,a,s,d,p){const y={};for(const A of d)if(Io(u,s,A)&&!p[yi(A)]){const K=new yt([],{});y[yi(A)]=K}return{...p,...y}}function rl(u,a){const s={};s[it]=a;for(const d of u)if(""===d.path&&yi(d)!==it){const p=new yt([],{});s[yi(d)]=p}return s}function Io(u,a,s){return(!(u.hasChildren()||a.length>0)||"full"!==s.pathMatch)&&""===s.path}class yu{constructor(a,s,d,p,y,A,K){this.injector=a,this.configLoader=s,this.rootComponentType=d,this.config=p,this.urlTree=y,this.paramsInheritanceStrategy=A,this.urlSerializer=K,this.allowRedirects=!0,this.applyRedirects=new Kr(this.urlSerializer,this.urlTree)}noMatchError(a){return new l.vHH(4002,!1)}recognize(){const a=ta(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,a,it).pipe((0,se.K)(s=>{if(s instanceof Ri)return this.allowRedirects=!1,this.urlTree=s.urlTree,this.match(s.urlTree);throw s instanceof _r?this.noMatchError(s):s}),(0,Ie.U)(s=>{const d=new h([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},it,this.rootComponentType,null,{}),p=new ni(d,s),y=new M("",p),A=function Oe(u,a,s=null,d=null){return Et(nt(u),a,s,d)}(d,[],this.urlTree.queryParams,this.urlTree.fragment);return A.queryParams=this.urlTree.queryParams,y.url=this.urlSerializer.serialize(A),this.inheritParamsAndData(y._root),{state:y,tree:A}}))}match(a){return this.processSegmentGroup(this.injector,this.config,a.root,it).pipe((0,se.K)(d=>{throw d instanceof _r?this.noMatchError(d):d}))}inheritParamsAndData(a){const s=a.value,d=b(s,this.paramsInheritanceStrategy);s.params=Object.freeze(d.params),s.data=Object.freeze(d.data),a.children.forEach(p=>this.inheritParamsAndData(p))}processSegmentGroup(a,s,d,p){return 0===d.segments.length&&d.hasChildren()?this.processChildren(a,s,d):this.processSegment(a,s,d,d.segments,p,!0)}processChildren(a,s,d){const p=[];for(const y of Object.keys(d.children))"primary"===y?p.unshift(y):p.push(y);return(0,Se.D)(p).pipe((0,W.b)(y=>{const A=d.children[y],K=function Vo(u,a){const s=u.filter(d=>yi(d)===a);return s.push(...u.filter(d=>yi(d)!==a)),s}(s,y);return this.processSegmentGroup(a,K,A,y)}),function Ce(u,a){return(0,ye.e)(function L(u,a,s,d,p){return(y,A)=>{let K=s,re=a,Ge=0;y.subscribe((0,Je.x)(A,_t=>{const Rt=Ge++;re=K?u(re,_t,Rt):(K=!0,_t),d&&A.next(re)},p&&(()=>{K&&A.next(re),A.complete()})))}}(u,a,arguments.length>=2,!0))}((y,A)=>(y.push(...A),y)),Ut(null),function $(u,a){const s=arguments.length>=2;return d=>d.pipe(u?(0,bt.h)((p,y)=>u(p,y,d)):Xe.y,G(1),s?Ut(a):kt(()=>new ie))}(),(0,Dt.z)(y=>{if(null===y)return Uo(d);const A=Ec(y);return function Cc(u){u.sort((a,s)=>a.value.outlet===it?-1:s.value.outlet===it?1:a.value.outlet.localeCompare(s.value.outlet))}(A),(0,le.of)(A)}))}processSegment(a,s,d,p,y,A){return(0,Se.D)(s).pipe((0,W.b)(K=>this.processSegmentAgainstRoute(K._injector??a,s,K,d,p,y,A).pipe((0,se.K)(re=>{if(re instanceof _r)return(0,le.of)(null);throw re}))),Ct(K=>!!K),(0,se.K)(K=>{if(Or(K))return function yc(u,a,s){return 0===a.length&&!u.children[s]}(d,p,y)?(0,le.of)([]):Uo(d);throw K}))}processSegmentAgainstRoute(a,s,d,p,y,A,K){return function sl(u,a,s,d){return!!(yi(u)===d||d!==it&&Io(a,s,u))&&("**"===u.path||Qr(a,u,s).matched)}(d,p,y,A)?void 0===d.redirectTo?this.matchSegmentAgainstRoute(a,p,d,y,A,K):K&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(a,p,s,d,y,A):Uo(p):Uo(p)}expandSegmentAgainstRouteUsingRedirect(a,s,d,p,y,A){return"**"===p.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(a,d,p,A):this.expandRegularSegmentAgainstRouteUsingRedirect(a,s,d,p,y,A)}expandWildCardWithParamsAgainstRouteUsingRedirect(a,s,d,p){const y=this.applyRedirects.applyRedirectCommands([],d.redirectTo,{});return d.redirectTo.startsWith("/")?Xs(y):this.applyRedirects.lineralizeSegments(d,y).pipe((0,Dt.z)(A=>{const K=new yt(A,{});return this.processSegment(a,s,K,A,p,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(a,s,d,p,y,A){const{matched:K,consumedSegments:re,remainingSegments:Ge,positionalParamSegments:_t}=Qr(s,p,y);if(!K)return Uo(s);const Rt=this.applyRedirects.applyRedirectCommands(re,p.redirectTo,_t);return p.redirectTo.startsWith("/")?Xs(Rt):this.applyRedirects.lineralizeSegments(p,Rt).pipe((0,Dt.z)(zt=>this.processSegment(a,d,s,zt.concat(Ge),A,!1)))}matchSegmentAgainstRoute(a,s,d,p,y,A){let K;if("**"===d.path){const re=p.length>0?jt(p).parameters:{},Ge=new h(p,re,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,xs(d),yi(d),d.component??d._loadedComponent??null,d,al(d));K=(0,le.of)({snapshot:Ge,consumedSegments:[],remainingSegments:[]}),s.children={}}else K=ea(s,d,p,a).pipe((0,Ie.U)(({matched:re,consumedSegments:Ge,remainingSegments:_t,parameters:Rt})=>re?{snapshot:new h(Ge,Rt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,xs(d),yi(d),d.component??d._loadedComponent??null,d,al(d)),consumedSegments:Ge,remainingSegments:_t}:null));return K.pipe((0,Re.w)(re=>null===re?Uo(s):this.getChildConfig(a=d._injector??a,d,p).pipe((0,Re.w)(({routes:Ge})=>{const _t=d._loadedInjector??a,{snapshot:Rt,consumedSegments:zt,remainingSegments:rn}=re,{segmentGroup:Xt,slicedSegments:ln}=ta(s,zt,rn,Ge);if(0===ln.length&&Xt.hasChildren())return this.processChildren(_t,Ge,Xt).pipe((0,Ie.U)(Wn=>null===Wn?null:[new ni(Rt,Wn)]));if(0===Ge.length&&0===ln.length)return(0,le.of)([new ni(Rt,[])]);const Un=yi(d)===y;return this.processSegment(_t,Ge,Xt,ln,Un?it:y,!0).pipe((0,Ie.U)(Wn=>[new ni(Rt,Wn)]))}))))}getChildConfig(a,s,d){return s.children?(0,le.of)({routes:s.children,injector:a}):s.loadChildren?void 0!==s._loadedRoutes?(0,le.of)({routes:s._loadedRoutes,injector:s._loadedInjector}):function Js(u,a,s,d){const p=a.canLoad;if(void 0===p||0===p.length)return(0,le.of)(!0);const y=p.map(A=>{const K=To(A,u);return Gt(function k(u){return u&&tr(u.canLoad)}(K)?K.canLoad(a,s):u.runInContext(()=>K(a,s)))});return(0,le.of)(y).pipe(Zr(),Rr())}(a,s,d).pipe((0,Dt.z)(p=>p?this.configLoader.loadChildren(a,s).pipe((0,P.b)(y=>{s._loadedRoutes=y.routes,s._loadedInjector=y.injector})):function qs(u){return(0,Le._)(Lo(!1,3))}())):(0,le.of)({routes:[],injector:a})}}function wc(u){const a=u.value.routeConfig;return a&&""===a.path}function Ec(u){const a=[],s=new Set;for(const d of u){if(!wc(d)){a.push(d);continue}const p=a.find(y=>d.value.routeConfig===y.value.routeConfig);void 0!==p?(p.children.push(...d.children),s.add(p)):a.push(d)}for(const d of s){const p=Ec(d.children);a.push(new ni(d.value,p))}return a.filter(d=>!s.has(d))}function xs(u){return u.data||{}}function al(u){return u.resolve||{}}function V(u){return"string"==typeof u.title||null===u.title}function w(u){return(0,Re.w)(a=>{const s=u(a);return s?(0,Se.D)(s).pipe((0,Ie.U)(()=>a)):(0,le.of)(a)})}const F=new l.OlP("ROUTES");let Me=(()=>{class u{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,l.f3M)(l.Sil)}loadComponent(s){if(this.componentLoaders.get(s))return this.componentLoaders.get(s);if(s._loadedComponent)return(0,le.of)(s._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(s);const d=Gt(s.loadComponent()).pipe((0,Ie.U)(Wt),(0,P.b)(y=>{this.onLoadEndListener&&this.onLoadEndListener(s),s._loadedComponent=y}),(0,ae.x)(()=>{this.componentLoaders.delete(s)})),p=new H(d,()=>new xe.x).pipe(ve());return this.componentLoaders.set(s,p),p}loadChildren(s,d){if(this.childrenLoaders.get(d))return this.childrenLoaders.get(d);if(d._loadedRoutes)return(0,le.of)({routes:d._loadedRoutes,injector:d._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(d);const y=function rt(u,a,s,d){return Gt(u.loadChildren()).pipe((0,Ie.U)(Wt),(0,Dt.z)(p=>p instanceof l.YKP||Array.isArray(p)?(0,le.of)(p):(0,Se.D)(a.compileModuleAsync(p))),(0,Ie.U)(p=>{d&&d(u);let y,A,K=!1;return Array.isArray(p)?(A=p,!0):(y=p.create(s).injector,A=y.get(F,[],{optional:!0,self:!0}).flat()),{routes:A.map(Mo),injector:y}}))}(d,this.compiler,s,this.onLoadEndListener).pipe((0,ae.x)(()=>{this.childrenLoaders.delete(d)})),A=new H(y,()=>new xe.x).pipe(ve());return this.childrenLoaders.set(d,A),A}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();function Wt(u){return function vt(u){return u&&"object"==typeof u&&"default"in u}(u)?u.default:u}let Ln=(()=>{class u{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new xe.x,this.transitionAbortSubject=new xe.x,this.configLoader=(0,l.f3M)(Me),this.environmentInjector=(0,l.f3M)(l.lqb),this.urlSerializer=(0,l.f3M)(Cn),this.rootContexts=(0,l.f3M)(Bi),this.inputBindingEnabled=null!==(0,l.f3M)(Pn,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,le.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=p=>this.events.next(new yo(p)),this.configLoader.onLoadStartListener=p=>this.events.next(new gi(p))}complete(){this.transitions?.complete()}handleNavigationRequest(s){const d=++this.navigationId;this.transitions?.next({...this.transitions.value,...s,id:d})}setupNavigations(s,d,p){return this.transitions=new ke.X({id:0,currentUrlTree:d,currentRawUrl:d,currentBrowserUrl:d,extractedUrl:s.urlHandlingStrategy.extract(d),urlAfterRedirects:s.urlHandlingStrategy.extract(d),rawUrl:d,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ai,restoredState:null,currentSnapshot:p.snapshot,targetSnapshot:null,currentRouterState:p,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,bt.h)(y=>0!==y.id),(0,Ie.U)(y=>({...y,extractedUrl:s.urlHandlingStrategy.extract(y.rawUrl)})),(0,Re.w)(y=>{this.currentTransition=y;let A=!1,K=!1;return(0,le.of)(y).pipe((0,P.b)(re=>{this.currentNavigation={id:re.id,initialUrl:re.rawUrl,extractedUrl:re.extractedUrl,trigger:re.source,extras:re.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Re.w)(re=>{const Ge=re.currentBrowserUrl.toString(),_t=!s.navigated||re.extractedUrl.toString()!==Ge||Ge!==re.currentUrlTree.toString();if(!_t&&"reload"!==(re.extras.onSameUrlNavigation??s.onSameUrlNavigation)){const zt="";return this.events.next(new x(re.id,this.urlSerializer.serialize(re.rawUrl),zt,0)),re.resolve(null),Ue.E}if(s.urlHandlingStrategy.shouldProcessUrl(re.rawUrl))return(0,le.of)(re).pipe((0,Re.w)(zt=>{const rn=this.transitions?.getValue();return this.events.next(new mi(zt.id,this.urlSerializer.serialize(zt.extractedUrl),zt.source,zt.restoredState)),rn!==this.transitions?.getValue()?Ue.E:Promise.resolve(zt)}),function na(u,a,s,d,p,y){return(0,Dt.z)(A=>function xc(u,a,s,d,p,y,A="emptyOnly"){return new yu(u,a,s,d,p,A,y).recognize()}(u,a,s,d,A.extractedUrl,p,y).pipe((0,Ie.U)(({state:K,tree:re})=>({...A,targetSnapshot:K,urlAfterRedirects:re}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,s.config,this.urlSerializer,s.paramsInheritanceStrategy),(0,P.b)(zt=>{y.targetSnapshot=zt.targetSnapshot,y.urlAfterRedirects=zt.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:zt.urlAfterRedirects};const rn=new pe(zt.id,this.urlSerializer.serialize(zt.extractedUrl),this.urlSerializer.serialize(zt.urlAfterRedirects),zt.targetSnapshot);this.events.next(rn)}));if(_t&&s.urlHandlingStrategy.shouldProcessUrl(re.currentRawUrl)){const{id:zt,extractedUrl:rn,source:Xt,restoredState:ln,extras:Un}=re,Wn=new mi(zt,this.urlSerializer.serialize(rn),Xt,ln);this.events.next(Wn);const li=wo(0,this.rootComponentType).snapshot;return this.currentTransition=y={...re,targetSnapshot:li,urlAfterRedirects:rn,extras:{...Un,skipLocationChange:!1,replaceUrl:!1}},(0,le.of)(y)}{const zt="";return this.events.next(new x(re.id,this.urlSerializer.serialize(re.extractedUrl),zt,1)),re.resolve(null),Ue.E}}),(0,P.b)(re=>{const Ge=new We(re.id,this.urlSerializer.serialize(re.extractedUrl),this.urlSerializer.serialize(re.urlAfterRedirects),re.targetSnapshot);this.events.next(Ge)}),(0,Ie.U)(re=>(this.currentTransition=y={...re,guards:Wr(re.targetSnapshot,re.currentSnapshot,this.rootContexts)},y)),function _u(u,a){return(0,Dt.z)(s=>{const{targetSnapshot:d,currentSnapshot:p,guards:{canActivateChecks:y,canDeactivateChecks:A}}=s;return 0===A.length&&0===y.length?(0,le.of)({...s,guardsResult:!0}):function Qs(u,a,s,d){return(0,Se.D)(u).pipe((0,Dt.z)(p=>function Ho(u,a,s,d,p){const y=a&&a.routeConfig?a.routeConfig.canDeactivate:null;if(!y||0===y.length)return(0,le.of)(!0);const A=y.map(K=>{const re=ii(a)??p,Ge=To(K,re);return Gt(function Ne(u){return u&&tr(u.canDeactivate)}(Ge)?Ge.canDeactivate(u,a,s,d):re.runInContext(()=>Ge(u,a,s,d))).pipe(Ct())});return(0,le.of)(A).pipe(Zr())}(p.component,p.route,s,a,d)),Ct(p=>!0!==p,!0))}(A,d,p,u).pipe((0,Dt.z)(K=>K&&function O(u){return"boolean"==typeof u}(K)?function tl(u,a,s,d){return(0,Se.D)(a).pipe((0,W.b)(p=>(0,fe.z)(function vu(u,a){return null!==u&&a&&a(new oi(u)),(0,le.of)(!0)}(p.route.parent,d),function bu(u,a){return null!==u&&a&&a(new Jo(u)),(0,le.of)(!0)}(p.route,d),function nr(u,a,s){const d=a[a.length-1],y=a.slice(0,a.length-1).reverse().map(A=>function no(u){const a=u.routeConfig?u.routeConfig.canActivateChild:null;return a&&0!==a.length?{node:u,guards:a}:null}(A)).filter(A=>null!==A).map(A=>(0,me.P)(()=>{const K=A.guards.map(re=>{const Ge=ii(A.node)??s,_t=To(re,Ge);return Gt(function Q(u){return u&&tr(u.canActivateChild)}(_t)?_t.canActivateChild(d,u):Ge.runInContext(()=>_t(d,u))).pipe(Ct())});return(0,le.of)(K).pipe(Zr())}));return(0,le.of)(y).pipe(Zr())}(u,p.path,s),function nl(u,a,s){const d=a.routeConfig?a.routeConfig.canActivate:null;if(!d||0===d.length)return(0,le.of)(!0);const p=d.map(y=>(0,me.P)(()=>{const A=ii(a)??s,K=To(y,A);return Gt(function C(u){return u&&tr(u.canActivate)}(K)?K.canActivate(a,u):A.runInContext(()=>K(a,u))).pipe(Ct())}));return(0,le.of)(p).pipe(Zr())}(u,p.route,s))),Ct(p=>!0!==p,!0))}(d,y,u,a):(0,le.of)(K)),(0,Ie.U)(K=>({...s,guardsResult:K})))})}(this.environmentInjector,re=>this.events.next(re)),(0,P.b)(re=>{if(y.guardsResult=re.guardsResult,ne(re.guardsResult))throw Hi(0,re.guardsResult);const Ge=new pt(re.id,this.urlSerializer.serialize(re.extractedUrl),this.urlSerializer.serialize(re.urlAfterRedirects),re.targetSnapshot,!!re.guardsResult);this.events.next(Ge)}),(0,bt.h)(re=>!!re.guardsResult||(this.cancelNavigationTransition(re,"",3),!1)),w(re=>{if(re.guards.canActivateChecks.length)return(0,le.of)(re).pipe((0,P.b)(Ge=>{const _t=new on(Ge.id,this.urlSerializer.serialize(Ge.extractedUrl),this.urlSerializer.serialize(Ge.urlAfterRedirects),Ge.targetSnapshot);this.events.next(_t)}),(0,Re.w)(Ge=>{let _t=!1;return(0,le.of)(Ge).pipe(function xu(u,a){return(0,Dt.z)(s=>{const{targetSnapshot:d,guards:{canActivateChecks:p}}=s;if(!p.length)return(0,le.of)(s);let y=0;return(0,Se.D)(p).pipe((0,W.b)(A=>function Cu(u,a,s,d){const p=u.routeConfig,y=u._resolve;return void 0!==p?.title&&!V(p)&&(y[qe]=p.title),function Xr(u,a,s,d){const p=function ll(u){return[...Object.keys(u),...Object.getOwnPropertySymbols(u)]}(u);if(0===p.length)return(0,le.of)({});const y={};return(0,Se.D)(p).pipe((0,Dt.z)(A=>function _(u,a,s,d){const p=ii(a)??d,y=To(u,p);return Gt(y.resolve?y.resolve(a,s):p.runInContext(()=>y(a,s)))}(u[A],a,s,d).pipe(Ct(),(0,P.b)(K=>{y[A]=K}))),G(1),function Be(u){return(0,Ie.U)(()=>u)}(y),(0,se.K)(A=>Or(A)?Ue.E:(0,Le._)(A)))}(y,u,a,d).pipe((0,Ie.U)(A=>(u._resolvedData=A,u.data=b(u,s).resolve,p&&V(p)&&(u.data[qe]=p.title),null)))}(A.route,d,u,a)),(0,P.b)(()=>y++),G(1),(0,Dt.z)(A=>y===p.length?(0,le.of)(s):Ue.E))})}(s.paramsInheritanceStrategy,this.environmentInjector),(0,P.b)({next:()=>_t=!0,complete:()=>{_t||this.cancelNavigationTransition(Ge,"",2)}}))}),(0,P.b)(Ge=>{const _t=new Qt(Ge.id,this.urlSerializer.serialize(Ge.extractedUrl),this.urlSerializer.serialize(Ge.urlAfterRedirects),Ge.targetSnapshot);this.events.next(_t)}))}),w(re=>{const Ge=_t=>{const Rt=[];_t.routeConfig?.loadComponent&&!_t.routeConfig._loadedComponent&&Rt.push(this.configLoader.loadComponent(_t.routeConfig).pipe((0,P.b)(zt=>{_t.component=zt}),(0,Ie.U)(()=>{})));for(const zt of _t.children)Rt.push(...Ge(zt));return Rt};return(0,we.a)(Ge(re.targetSnapshot.root)).pipe(Ut(),(0,$e.q)(1))}),w(()=>this.afterPreactivation()),(0,Ie.U)(re=>{const Ge=function St(u,a,s){const d=On(u,a._root,s?s._root:void 0);return new Vi(d,a)}(s.routeReuseStrategy,re.targetSnapshot,re.currentRouterState);return this.currentTransition=y={...re,targetRouterState:Ge},y}),(0,P.b)(()=>{this.events.next(new Yi)}),((u,a,s,d)=>(0,Ie.U)(p=>(new _i(a,p.targetRouterState,p.currentRouterState,s,d).activate(u),p)))(this.rootContexts,s.routeReuseStrategy,re=>this.events.next(re),this.inputBindingEnabled),(0,$e.q)(1),(0,P.b)({next:re=>{A=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new N(re.id,this.urlSerializer.serialize(re.extractedUrl),this.urlSerializer.serialize(re.urlAfterRedirects))),s.titleStrategy?.updateTitle(re.targetRouterState.snapshot),re.resolve(!0)},complete:()=>{A=!0}}),(0,He.R)(this.transitionAbortSubject.pipe((0,P.b)(re=>{throw re}))),(0,ae.x)(()=>{A||K||this.cancelNavigationTransition(y,"",1),this.currentNavigation?.id===y.id&&(this.currentNavigation=null)}),(0,se.K)(re=>{if(K=!0,Bo(re))this.events.next(new de(y.id,this.urlSerializer.serialize(y.extractedUrl),re.message,re.cancellationCode)),function Ai(u){return Bo(u)&&ne(u.url)}(re)?this.events.next(new eo(re.url)):y.resolve(!1);else{this.events.next(new q(y.id,this.urlSerializer.serialize(y.extractedUrl),re,y.targetSnapshot??void 0));try{y.resolve(s.errorHandler(re))}catch(Ge){y.reject(Ge)}}return Ue.E}))}))}cancelNavigationTransition(s,d,p){const y=new de(s.id,this.urlSerializer.serialize(s.extractedUrl),d,p);this.events.next(y),s.resolve(!1)}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();function Vn(u){return u!==ai}let An=(()=>{class u{buildTitle(s){let d,p=s.root;for(;void 0!==p;)d=this.getResolvedTitleForRoute(p)??d,p=p.children.find(y=>y.outlet===it);return d}getResolvedTitleForRoute(s){return s.data[qe]}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:function(){return(0,l.f3M)(wn)},providedIn:"root"})}return u})(),wn=(()=>{class u extends An{constructor(s){super(),this.title=s}updateTitle(s){const d=this.buildTitle(s);void 0!==d&&this.title.setTitle(d)}static#e=this.\u0275fac=function(d){return new(d||u)(l.LFG(n.Dx))};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})(),ri=(()=>{class u{static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:function(){return(0,l.f3M)(fi)},providedIn:"root"})}return u})();class Gn{shouldDetach(a){return!1}store(a,s){}shouldAttach(a){return!1}retrieve(a){return null}shouldReuseRoute(a,s){return a.routeConfig===s.routeConfig}}let fi=(()=>{class u extends Gn{static#e=this.\u0275fac=function(){let s;return function(p){return(s||(s=l.n5z(u)))(p||u)}}();static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();const io=new l.OlP("",{providedIn:"root",factory:()=>({})});let Ao=(()=>{class u{static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:function(){return(0,l.f3M)(jo)},providedIn:"root"})}return u})(),jo=(()=>{class u{shouldProcessUrl(s){return!0}extract(s){return s}merge(s,d){return s}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();var Mi=function(u){return u[u.COMPLETE=0]="COMPLETE",u[u.FAILED=1]="FAILED",u[u.REDIRECTING=2]="REDIRECTING",u}(Mi||{});function zo(u){throw u}function ir(u,a,s){return a.parse("/")}const Xn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},cl={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Zi=(()=>{class u{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,l.f3M)(l.c2e),this.isNgZoneEnabled=!1,this._events=new xe.x,this.options=(0,l.f3M)(io,{optional:!0})||{},this.pendingTasks=(0,l.f3M)(l.HDt),this.errorHandler=this.options.errorHandler||zo,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||ir,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,l.f3M)(Ao),this.routeReuseStrategy=(0,l.f3M)(ri),this.titleStrategy=(0,l.f3M)(An),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,l.f3M)(F,{optional:!0})?.flat()??[],this.navigationTransitions=(0,l.f3M)(Ln),this.urlSerializer=(0,l.f3M)(Cn),this.location=(0,l.f3M)(oe.Ye),this.componentInputBindingEnabled=!!(0,l.f3M)(Pn,{optional:!0}),this.eventsSubscription=new be.w0,this.isNgZoneEnabled=(0,l.f3M)(l.R0b)instanceof l.R0b&&l.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new lt,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=wo(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(s=>{this.lastSuccessfulId=s.id,this.currentPageId=this.browserPageId},s=>{this.console.warn(`Unhandled Navigation Error: ${s}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const s=this.navigationTransitions.events.subscribe(d=>{try{const{currentTransition:p}=this.navigationTransitions;if(null===p)return void(Mc(d)&&this._events.next(d));if(d instanceof mi)Vn(p.source)&&(this.browserUrlTree=p.extractedUrl);else if(d instanceof x)this.rawUrlTree=p.rawUrl;else if(d instanceof pe){if("eager"===this.urlUpdateStrategy){if(!p.extras.skipLocationChange){const y=this.urlHandlingStrategy.merge(p.urlAfterRedirects,p.rawUrl);this.setBrowserUrl(y,p)}this.browserUrlTree=p.urlAfterRedirects}}else if(d instanceof Yi)this.currentUrlTree=p.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(p.urlAfterRedirects,p.rawUrl),this.routerState=p.targetRouterState,"deferred"===this.urlUpdateStrategy&&(p.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,p),this.browserUrlTree=p.urlAfterRedirects);else if(d instanceof de)0!==d.code&&1!==d.code&&(this.navigated=!0),(3===d.code||2===d.code)&&this.restoreHistory(p);else if(d instanceof eo){const y=this.urlHandlingStrategy.merge(d.url,p.currentRawUrl),A={skipLocationChange:p.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Vn(p.source)};this.scheduleNavigation(y,ai,null,A,{resolve:p.resolve,reject:p.reject,promise:p.promise})}d instanceof q&&this.restoreHistory(p,!0),d instanceof N&&(this.navigated=!0),Mc(d)&&this._events.next(d)}catch(p){this.navigationTransitions.transitionAbortSubject.next(p)}});this.eventsSubscription.add(s)}resetRootComponentType(s){this.routerState.root.component=s,this.navigationTransitions.rootComponentType=s}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const s=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),ai,s)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(s=>{const d="popstate"===s.type?"popstate":"hashchange";"popstate"===d&&setTimeout(()=>{this.navigateToSyncWithBrowser(s.url,d,s.state)},0)}))}navigateToSyncWithBrowser(s,d,p){const y={replaceUrl:!0},A=p?.navigationId?p:null;if(p){const re={...p};delete re.navigationId,delete re.\u0275routerPageId,0!==Object.keys(re).length&&(y.state=re)}const K=this.parseUrl(s);this.scheduleNavigation(K,d,A,y)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(s){this.config=s.map(Mo),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(s,d={}){const{relativeTo:p,queryParams:y,fragment:A,queryParamsHandling:K,preserveFragment:re}=d,Ge=re?this.currentUrlTree.fragment:A;let Rt,_t=null;switch(K){case"merge":_t={...this.currentUrlTree.queryParams,...y};break;case"preserve":_t=this.currentUrlTree.queryParams;break;default:_t=y||null}null!==_t&&(_t=this.removeEmptyProps(_t));try{Rt=nt(p?p.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof s[0]||!s[0].startsWith("/"))&&(s=[]),Rt=this.currentUrlTree.root}return Et(Rt,s,_t,Ge??null)}navigateByUrl(s,d={skipLocationChange:!1}){const p=ne(s)?s:this.parseUrl(s),y=this.urlHandlingStrategy.merge(p,this.rawUrlTree);return this.scheduleNavigation(y,ai,null,d)}navigate(s,d={skipLocationChange:!1}){return function Ki(u){for(let a=0;a{const y=s[p];return null!=y&&(d[p]=y),d},{})}scheduleNavigation(s,d,p,y,A){if(this.disposed)return Promise.resolve(!1);let K,re,Ge;A?(K=A.resolve,re=A.reject,Ge=A.promise):Ge=new Promise((Rt,zt)=>{K=Rt,re=zt});const _t=this.pendingTasks.add();return function xi(u,a){u.events.pipe((0,bt.h)(s=>s instanceof N||s instanceof de||s instanceof q||s instanceof x),(0,Ie.U)(s=>s instanceof N||s instanceof x?Mi.COMPLETE:s instanceof de&&(0===s.code||1===s.code)?Mi.REDIRECTING:Mi.FAILED),(0,bt.h)(s=>s!==Mi.REDIRECTING),(0,$e.q)(1)).subscribe(()=>{a()})}(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(_t))}),this.navigationTransitions.handleNavigationRequest({source:d,restoredState:p,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:s,extras:y,resolve:K,reject:re,promise:Ge,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ge.catch(Rt=>Promise.reject(Rt))}setBrowserUrl(s,d){const p=this.urlSerializer.serialize(s);if(this.location.isCurrentPathEqualTo(p)||d.extras.replaceUrl){const A={...d.extras.state,...this.generateNgRouterState(d.id,this.browserPageId)};this.location.replaceState(p,"",A)}else{const y={...d.extras.state,...this.generateNgRouterState(d.id,this.browserPageId+1)};this.location.go(p,"",y)}}restoreHistory(s,d=!1){if("computed"===this.canceledNavigationResolution){const y=this.currentPageId-this.browserPageId;0!==y?this.location.historyGo(y):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===y&&(this.resetState(s),this.browserUrlTree=s.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(d&&this.resetState(s),this.resetUrlToCurrentUrlTree())}resetState(s){this.routerState=s.currentRouterState,this.currentUrlTree=s.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,s.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(s,d){return"computed"===this.canceledNavigationResolution?{navigationId:s,\u0275routerPageId:d}:{navigationId:s}}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();function Mc(u){return!(u instanceof Yi||u instanceof eo)}let Cs=(()=>{class u{constructor(s,d,p,y,A,K){this.router=s,this.route=d,this.tabIndexAttribute=p,this.renderer=y,this.el=A,this.locationStrategy=K,this.href=null,this.commands=null,this.onChanges=new xe.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const re=A.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===re||"area"===re,this.isAnchorElement?this.subscription=s.events.subscribe(Ge=>{Ge instanceof N&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(s){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",s)}ngOnChanges(s){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(s){null!=s?(this.commands=Array.isArray(s)?s:[s],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(s,d,p,y,A){return!!(null===this.urlTree||this.isAnchorElement&&(0!==s||d||p||y||A||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const s=null===this.href?null:(0,l.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",s)}applyAttributeValue(s,d){const p=this.renderer,y=this.el.nativeElement;null!==d?p.setAttribute(y,s,d):p.removeAttribute(y,s)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(d){return new(d||u)(l.Y36(Zi),l.Y36(Wi),l.$8M("tabindex"),l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(oe.S$))};static#t=this.\u0275dir=l.lG2({type:u,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(d,p){1&d&&l.NdJ("click",function(A){return p.onClick(A.button,A.ctrlKey,A.shiftKey,A.altKey,A.metaKey)}),2&d&&l.uIk("target",p.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",l.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",l.VuI],replaceUrl:["replaceUrl","replaceUrl",l.VuI],routerLink:"routerLink"},standalone:!0,features:[l.Xq5,l.TTD]})}return u})();const ia=new l.OlP("");let Tc=(()=>{class u{constructor(s,d,p,y,A={}){this.urlSerializer=s,this.transitions=d,this.viewportScroller=p,this.zone=y,this.options=A,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},A.scrollPositionRestoration=A.scrollPositionRestoration||"disabled",A.anchorScrolling=A.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(s=>{s instanceof mi?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=s.navigationTrigger,this.restoredId=s.restoredState?s.restoredState.navigationId:0):s instanceof N?(this.lastId=s.id,this.scheduleScrollEvent(s,this.urlSerializer.parse(s.urlAfterRedirects).fragment)):s instanceof x&&0===s.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(s,this.urlSerializer.parse(s.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(s=>{s instanceof Co&&(s.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(s.position):s.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(s.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(s,d){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Co(s,"popstate"===this.lastSource?this.store[this.restoredId]:null,d))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(d){l.$Z()};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac})}return u})();function dl(u){return u.routerState.root}function Ic(){const u=(0,l.f3M)(l.zs3);return a=>{const s=u.get(l.z2F);if(a!==s.components[0])return;const d=u.get(Zi),p=u.get(Ac);1===u.get(ul)&&d.initialNavigation(),u.get(Rc,null,l.XFs.Optional)?.setUpPreloading(),u.get(ia,null,l.XFs.Optional)?.init(),d.resetRootComponentType(s.componentTypes[0]),p.closed||(p.next(),p.complete(),p.unsubscribe())}}const Ac=new l.OlP("",{factory:()=>new xe.x}),ul=new l.OlP("",{providedIn:"root",factory:()=>1}),Rc=new l.OlP("");var qn=g(6825);function ra(u){return new l.vHH(3e3,!1)}function $o(u){switch(u.length){case 0:return new qn.ZN;case 1:return u[0];default:return new qn.ZE(u)}}function Vu(u,a,s=new Map,d=new Map){const p=[],y=[];let A=-1,K=null;if(a.forEach(re=>{const Ge=re.get("offset"),_t=Ge==A,Rt=_t&&K||new Map;re.forEach((zt,rn)=>{let Xt=rn,ln=zt;if("offset"!==rn)switch(Xt=u.normalizePropertyName(Xt,p),ln){case qn.k1:ln=s.get(rn);break;case qn.l3:ln=d.get(rn);break;default:ln=u.normalizeStyleValue(rn,Xt,ln,p)}Rt.set(Xt,ln)}),_t||y.push(Rt),K=Rt,A=Ge}),p.length)throw function xr(u){return new l.vHH(3502,!1)}();return y}function _l(u,a,s,d){switch(a){case"start":u.onStart(()=>d(s&&bl(s,"start",u)));break;case"done":u.onDone(()=>d(s&&bl(s,"done",u)));break;case"destroy":u.onDestroy(()=>d(s&&bl(s,"destroy",u)))}}function bl(u,a,s){const y=Zc(u.element,u.triggerName,u.fromState,u.toState,a||u.phaseName,s.totalTime??u.totalTime,!!s.disabled),A=u._data;return null!=A&&(y._data=A),y}function Zc(u,a,s,d,p="",y=0,A){return{element:u,triggerName:a,fromState:s,toState:d,phaseName:p,totalTime:y,disabled:!!A}}function ho(u,a,s){let d=u.get(a);return d||u.set(a,d=s),d}function ua(u){const a=u.indexOf(":");return[u.substring(1,a),u.slice(a+1)]}const Es=(()=>typeof document>"u"?null:document.documentElement)();function vl(u){const a=u.parentNode||u.host||null;return a===Es?null:a}let rr=null,Ms=!1;function Qc(u,a){for(;a;){if(a===u)return!0;a=vl(a)}return!1}function Oo(u,a,s){if(s)return Array.from(u.querySelectorAll(a));const d=u.querySelector(a);return d?[d]:[]}let Ts=(()=>{class u{validateStyleProperty(s){return function Fp(u){rr||(rr=function Kc(){return typeof document<"u"?document.body:null}()||{},Ms=!!rr.style&&"WebkitAppearance"in rr.style);let a=!0;return rr.style&&!function Ds(u){return"ebkit"==u.substring(1,6)}(u)&&(a=u in rr.style,!a&&Ms&&(a="Webkit"+u.charAt(0).toUpperCase()+u.slice(1)in rr.style)),a}(s)}matchesElement(s,d){return!1}containsElement(s,d){return Qc(s,d)}getParentElement(s){return vl(s)}query(s,d,p){return Oo(s,d,p)}computeStyle(s,d,p){return p||""}animate(s,d,p,y,A,K=[],re){return new qn.ZN(p,y)}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac})}return u})(),Ss=(()=>{class u{static#e=this.NOOP=new Ts}return u})();const Jc=1e3,xl="ng-enter",As="ng-leave",Os="ng-trigger",Rs=".ng-trigger",Cl="ng-animating",wl=".ng-animating";function fo(u){if("number"==typeof u)return u;const a=u.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:sr(parseFloat(a[1]),a[2])}function sr(u,a){return"s"===a?u*Jc:u}function ha(u,a,s){return u.hasOwnProperty("duration")?u:function Xc(u,a,s){let p,y=0,A="";if("string"==typeof u){const K=u.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===K)return a.push(ra()),{duration:0,delay:0,easing:""};p=sr(parseFloat(K[1]),K[2]);const re=K[3];null!=re&&(y=sr(parseFloat(re),K[4]));const Ge=K[5];Ge&&(A=Ge)}else p=u;if(!s){let K=!1,re=a.length;p<0&&(a.push(function fl(){return new l.vHH(3100,!1)}()),K=!0),y<0&&(a.push(function Fc(){return new l.vHH(3101,!1)}()),K=!0),K&&a.splice(re,0,ra())}return{duration:p,delay:y,easing:A}}(u,a,s)}function ns(u,a={}){return Object.keys(u).forEach(s=>{a[s]=u[s]}),a}function is(u){const a=new Map;return Object.keys(u).forEach(s=>{a.set(s,u[s])}),a}function Cr(u,a=new Map,s){if(s)for(let[d,p]of s)a.set(d,p);for(let[d,p]of u)a.set(d,p);return a}function Ro(u,a,s){a.forEach((d,p)=>{const y=Fs(p);s&&!s.has(p)&&s.set(p,u.style[y]),u.style[y]=d})}function ar(u,a){a.forEach((s,d)=>{const p=Fs(d);u.style[p]=""})}function ks(u){return Array.isArray(u)?1==u.length?u[0]:(0,qn.vP)(u):u}const Ps=new RegExp("{{\\s*(.+?)\\s*}}","g");function Pr(u){let a=[];if("string"==typeof u){let s;for(;s=Ps.exec(u);)a.push(s[1]);Ps.lastIndex=0}return a}function Yo(u,a,s){const d=u.toString(),p=d.replace(Ps,(y,A)=>{let K=a[A];return null==K&&(s.push(function Ou(u){return new l.vHH(3003,!1)}()),K=""),K.toString()});return p==d?u:p}function lr(u){const a=[];let s=u.next();for(;!s.done;)a.push(s.value),s=u.next();return a}const ed=/-+([a-z0-9])/g;function Fs(u){return u.replace(ed,(...a)=>a[1].toUpperCase())}function po(u,a,s){switch(a.type){case 7:return u.visitTrigger(a,s);case 0:return u.visitState(a,s);case 1:return u.visitTransition(a,s);case 2:return u.visitSequence(a,s);case 3:return u.visitGroup(a,s);case 4:return u.visitAnimate(a,s);case 5:return u.visitKeyframes(a,s);case 6:return u.visitStyle(a,s);case 8:return u.visitReference(a,s);case 9:return u.visitAnimateChild(a,s);case 10:return u.visitAnimateRef(a,s);case 11:return u.visitQuery(a,s);case 12:return u.visitStagger(a,s);default:throw function Nc(u){return new l.vHH(3004,!1)}()}}function zu(u,a){return window.getComputedStyle(u)[a]}const fa="*";function Ci(u,a){const s=[];return"string"==typeof u?u.split(/\s*,\s*/).forEach(d=>function Gu(u,a,s){if(":"==u[0]){const re=function Bs(u,a){switch(u){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(s,d)=>parseFloat(d)>parseFloat(s);case":decrement":return(s,d)=>parseFloat(d) *"}}(u,s);if("function"==typeof re)return void a.push(re);u=re}const d=u.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==d||d.length<4)return s.push(function zc(u){return new l.vHH(3015,!1)}()),a;const p=d[1],y=d[2],A=d[3];a.push(Fr(p,A));"<"==y[0]&&!(p==fa&&A==fa)&&a.push(Fr(A,p))}(d,s,a)):s.push(u),s}const pa=new Set(["true","1"]),ji=new Set(["false","0"]);function Fr(u,a){const s=pa.has(u)||ji.has(u),d=pa.has(a)||ji.has(a);return(p,y)=>{let A=u==fa||u==p,K=a==fa||a==y;return!A&&s&&"boolean"==typeof p&&(A=p?pa.has(u):ji.has(u)),!K&&d&&"boolean"==typeof y&&(K=y?pa.has(a):ji.has(a)),A&&K}}const ma=new RegExp("s*:selfs*,?","g");function Nr(u,a,s,d){return new Vp(u).build(a,s,d)}class Vp{constructor(a){this._driver=a}build(a,s,d){const p=new ro(s);return this._resetContextStyleTimingState(p),po(this,ks(a),p)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles=new Map,a.collectedStyles.set("",new Map),a.currentTime=0}visitTrigger(a,s){let d=s.queryCount=0,p=s.depCount=0;const y=[],A=[];return"@"==a.name.charAt(0)&&s.errors.push(function Lc(){return new l.vHH(3006,!1)}()),a.definitions.forEach(K=>{if(this._resetContextStyleTimingState(s),0==K.type){const re=K,Ge=re.name;Ge.toString().split(/\s*,\s*/).forEach(_t=>{re.name=_t,y.push(this.visitState(re,s))}),re.name=Ge}else if(1==K.type){const re=this.visitTransition(K,s);d+=re.queryCount,p+=re.depCount,A.push(re)}else s.errors.push(function Bc(){return new l.vHH(3007,!1)}())}),{type:7,name:a.name,states:y,transitions:A,queryCount:d,depCount:p,options:null}}visitState(a,s){const d=this.visitStyle(a.styles,s),p=a.options&&a.options.params||null;if(d.containsDynamicStyles){const y=new Set,A=p||{};d.styles.forEach(K=>{K instanceof Map&&K.forEach(re=>{Pr(re).forEach(Ge=>{A.hasOwnProperty(Ge)||y.add(Ge)})})}),y.size&&(lr(y.values()),s.errors.push(function Vc(u,a){return new l.vHH(3008,!1)}()))}return{type:0,name:a.name,style:d,options:p?{params:p}:null}}visitTransition(a,s){s.queryCount=0,s.depCount=0;const d=po(this,ks(a.animation),s);return{type:1,matchers:Ci(a.expr,s.errors),animation:d,queryCount:s.queryCount,depCount:s.depCount,options:rs(a.options)}}visitSequence(a,s){return{type:2,steps:a.steps.map(d=>po(this,d,s)),options:rs(a.options)}}visitGroup(a,s){const d=s.currentTime;let p=0;const y=a.steps.map(A=>{s.currentTime=d;const K=po(this,A,s);return p=Math.max(p,s.currentTime),K});return s.currentTime=p,{type:3,steps:y,options:rs(a.options)}}visitAnimate(a,s){const d=function os(u,a){if(u.hasOwnProperty("duration"))return u;if("number"==typeof u)return ga(ha(u,a).duration,0,"");const s=u;if(s.split(/\s+/).some(y=>"{"==y.charAt(0)&&"{"==y.charAt(1))){const y=ga(0,0,"");return y.dynamic=!0,y.strValue=s,y}const p=ha(s,a);return ga(p.duration,p.delay,p.easing)}(a.timings,s.errors);s.currentAnimateTimings=d;let p,y=a.styles?a.styles:(0,qn.oB)({});if(5==y.type)p=this.visitKeyframes(y,s);else{let A=a.styles,K=!1;if(!A){K=!0;const Ge={};d.easing&&(Ge.easing=d.easing),A=(0,qn.oB)(Ge)}s.currentTime+=d.duration+d.delay;const re=this.visitStyle(A,s);re.isEmptyStep=K,p=re}return s.currentAnimateTimings=null,{type:4,timings:d,style:p,options:null}}visitStyle(a,s){const d=this._makeStyleAst(a,s);return this._validateStyleAst(d,s),d}_makeStyleAst(a,s){const d=[],p=Array.isArray(a.styles)?a.styles:[a.styles];for(let K of p)"string"==typeof K?K===qn.l3?d.push(K):s.errors.push(new l.vHH(3002,!1)):d.push(is(K));let y=!1,A=null;return d.forEach(K=>{if(K instanceof Map&&(K.has("easing")&&(A=K.get("easing"),K.delete("easing")),!y))for(let re of K.values())if(re.toString().indexOf("{{")>=0){y=!0;break}}),{type:6,styles:d,easing:A,offset:a.offset,containsDynamicStyles:y,options:null}}_validateStyleAst(a,s){const d=s.currentAnimateTimings;let p=s.currentTime,y=s.currentTime;d&&y>0&&(y-=d.duration+d.delay),a.styles.forEach(A=>{"string"!=typeof A&&A.forEach((K,re)=>{const Ge=s.collectedStyles.get(s.currentQuerySelector),_t=Ge.get(re);let Rt=!0;_t&&(y!=p&&y>=_t.startTime&&p<=_t.endTime&&(s.errors.push(function Ru(u,a,s,d,p){return new l.vHH(3010,!1)}()),Rt=!1),y=_t.startTime),Rt&&Ge.set(re,{startTime:y,endTime:p}),s.options&&function qc(u,a,s){const d=a.params||{},p=Pr(u);p.length&&p.forEach(y=>{d.hasOwnProperty(y)||s.push(function pl(u){return new l.vHH(3001,!1)}())})}(K,s.options,s.errors)})})}visitKeyframes(a,s){const d={type:5,styles:[],options:null};if(!s.currentAnimateTimings)return s.errors.push(function ku(){return new l.vHH(3011,!1)}()),d;let y=0;const A=[];let K=!1,re=!1,Ge=0;const _t=a.steps.map(Wn=>{const li=this._makeStyleAst(Wn,s);let Fi=null!=li.offset?li.offset:function Dl(u){if("string"==typeof u)return null;let a=null;if(Array.isArray(u))u.forEach(s=>{if(s instanceof Map&&s.has("offset")){const d=s;a=parseFloat(d.get("offset")),d.delete("offset")}});else if(u instanceof Map&&u.has("offset")){const s=u;a=parseFloat(s.get("offset")),s.delete("offset")}return a}(li.styles),bi=0;return null!=Fi&&(y++,bi=li.offset=Fi),re=re||bi<0||bi>1,K=K||bi0&&y{const Fi=zt>0?li==rn?1:zt*li:A[li],bi=Fi*Un;s.currentTime=Xt+ln.delay+bi,ln.duration=bi,this._validateStyleAst(Wn,s),Wn.offset=Fi,d.styles.push(Wn)}),d}visitReference(a,s){return{type:8,animation:po(this,ks(a.animation),s),options:rs(a.options)}}visitAnimateChild(a,s){return s.depCount++,{type:9,options:rs(a.options)}}visitAnimateRef(a,s){return{type:10,animation:this.visitReference(a.animation,s),options:rs(a.options)}}visitQuery(a,s){const d=s.currentQuerySelector,p=a.options||{};s.queryCount++,s.currentQuery=a;const[y,A]=function $u(u){const a=!!u.split(/\s*,\s*/).find(s=>":self"==s);return a&&(u=u.replace(ma,"")),u=u.replace(/@\*/g,Rs).replace(/@\w+/g,s=>Rs+"-"+s.slice(1)).replace(/:animating/g,wl),[u,a]}(a.selector);s.currentQuerySelector=d.length?d+" "+y:y,ho(s.collectedStyles,s.currentQuerySelector,new Map);const K=po(this,ks(a.animation),s);return s.currentQuery=null,s.currentQuerySelector=d,{type:11,selector:y,limit:p.limit||0,optional:!!p.optional,includeSelf:A,animation:K,originalSelector:a.selector,options:rs(a.options)}}visitStagger(a,s){s.currentQuery||s.errors.push(function jc(){return new l.vHH(3013,!1)}());const d="full"===a.timings?{duration:0,delay:0,easing:"full"}:ha(a.timings,s.errors,!0);return{type:12,animation:po(this,ks(a.animation),s),timings:d,options:null}}}class ro{constructor(a){this.errors=a,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function rs(u){return u?(u=ns(u)).params&&(u.params=function Hp(u){return u?ns(u):null}(u.params)):u={},u}function ga(u,a,s){return{duration:u,delay:a,easing:s}}function Ml(u,a,s,d,p,y,A=null,K=!1){return{type:1,element:u,keyframes:a,preStyleProps:s,postStyleProps:d,duration:p,delay:y,totalTime:p+y,easing:A,subTimeline:K}}class _a{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,s){let d=this._map.get(a);d||this._map.set(a,d=[]),d.push(...s)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const Zu=new RegExp(":enter","g"),Tl=new RegExp(":leave","g");function ss(u,a,s,d,p,y=new Map,A=new Map,K,re,Ge=[]){return(new Qu).buildKeyframes(u,a,s,d,p,y,A,K,re,Ge)}class Qu{buildKeyframes(a,s,d,p,y,A,K,re,Ge,_t=[]){Ge=Ge||new _a;const Rt=new Sl(a,s,Ge,p,y,_t,[]);Rt.options=re;const zt=re.delay?fo(re.delay):0;Rt.currentTimeline.delayNextStep(zt),Rt.currentTimeline.setStyles([A],null,Rt.errors,re),po(this,d,Rt);const rn=Rt.timelines.filter(Xt=>Xt.containsAnimation());if(rn.length&&K.size){let Xt;for(let ln=rn.length-1;ln>=0;ln--){const Un=rn[ln];if(Un.element===s){Xt=Un;break}}Xt&&!Xt.allowOnlyTimelineStyles()&&Xt.setStyles([K],null,Rt.errors,re)}return rn.length?rn.map(Xt=>Xt.buildKeyframes()):[Ml(s,[],[],[],0,zt,"",!1)]}visitTrigger(a,s){}visitState(a,s){}visitTransition(a,s){}visitAnimateChild(a,s){const d=s.subInstructions.get(s.element);if(d){const p=s.createSubContext(a.options),y=s.currentTimeline.currentTime,A=this._visitSubInstructions(d,p,p.options);y!=A&&s.transformIntoNewTimeline(A)}s.previousNode=a}visitAnimateRef(a,s){const d=s.createSubContext(a.options);d.transformIntoNewTimeline(),this._applyAnimationRefDelays([a.options,a.animation.options],s,d),this.visitReference(a.animation,d),s.transformIntoNewTimeline(d.currentTimeline.currentTime),s.previousNode=a}_applyAnimationRefDelays(a,s,d){for(const p of a){const y=p?.delay;if(y){const A="number"==typeof y?y:fo(Yo(y,p?.params??{},s.errors));d.delayNextStep(A)}}}_visitSubInstructions(a,s,d){let y=s.currentTimeline.currentTime;const A=null!=d.duration?fo(d.duration):null,K=null!=d.delay?fo(d.delay):null;return 0!==A&&a.forEach(re=>{const Ge=s.appendInstructionToTimeline(re,A,K);y=Math.max(y,Ge.duration+Ge.delay)}),y}visitReference(a,s){s.updateOptions(a.options,!0),po(this,a.animation,s),s.previousNode=a}visitSequence(a,s){const d=s.subContextCount;let p=s;const y=a.options;if(y&&(y.params||y.delay)&&(p=s.createSubContext(y),p.transformIntoNewTimeline(),null!=y.delay)){6==p.previousNode.type&&(p.currentTimeline.snapshotCurrentStyles(),p.previousNode=Lr);const A=fo(y.delay);p.delayNextStep(A)}a.steps.length&&(a.steps.forEach(A=>po(this,A,p)),p.currentTimeline.applyStylesToKeyframe(),p.subContextCount>d&&p.transformIntoNewTimeline()),s.previousNode=a}visitGroup(a,s){const d=[];let p=s.currentTimeline.currentTime;const y=a.options&&a.options.delay?fo(a.options.delay):0;a.steps.forEach(A=>{const K=s.createSubContext(a.options);y&&K.delayNextStep(y),po(this,A,K),p=Math.max(p,K.currentTimeline.currentTime),d.push(K.currentTimeline)}),d.forEach(A=>s.currentTimeline.mergeTimelineCollectedStyles(A)),s.transformIntoNewTimeline(p),s.previousNode=a}_visitTiming(a,s){if(a.dynamic){const d=a.strValue;return ha(s.params?Yo(d,s.params,s.errors):d,s.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,s){const d=s.currentAnimateTimings=this._visitTiming(a.timings,s),p=s.currentTimeline;d.delay&&(s.incrementTime(d.delay),p.snapshotCurrentStyles());const y=a.style;5==y.type?this.visitKeyframes(y,s):(s.incrementTime(d.duration),this.visitStyle(y,s),p.applyStylesToKeyframe()),s.currentAnimateTimings=null,s.previousNode=a}visitStyle(a,s){const d=s.currentTimeline,p=s.currentAnimateTimings;!p&&d.hasCurrentStyleProperties()&&d.forwardFrame();const y=p&&p.easing||a.easing;a.isEmptyStep?d.applyEmptyStep(y):d.setStyles(a.styles,y,s.errors,s.options),s.previousNode=a}visitKeyframes(a,s){const d=s.currentAnimateTimings,p=s.currentTimeline.duration,y=d.duration,K=s.createSubContext().currentTimeline;K.easing=d.easing,a.styles.forEach(re=>{K.forwardTime((re.offset||0)*y),K.setStyles(re.styles,re.easing,s.errors,s.options),K.applyStylesToKeyframe()}),s.currentTimeline.mergeTimelineCollectedStyles(K),s.transformIntoNewTimeline(p+y),s.previousNode=a}visitQuery(a,s){const d=s.currentTimeline.currentTime,p=a.options||{},y=p.delay?fo(p.delay):0;y&&(6===s.previousNode.type||0==d&&s.currentTimeline.hasCurrentStyleProperties())&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=Lr);let A=d;const K=s.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!p.optional,s.errors);s.currentQueryTotal=K.length;let re=null;K.forEach((Ge,_t)=>{s.currentQueryIndex=_t;const Rt=s.createSubContext(a.options,Ge);y&&Rt.delayNextStep(y),Ge===s.element&&(re=Rt.currentTimeline),po(this,a.animation,Rt),Rt.currentTimeline.applyStylesToKeyframe(),A=Math.max(A,Rt.currentTimeline.currentTime)}),s.currentQueryIndex=0,s.currentQueryTotal=0,s.transformIntoNewTimeline(A),re&&(s.currentTimeline.mergeTimelineCollectedStyles(re),s.currentTimeline.snapshotCurrentStyles()),s.previousNode=a}visitStagger(a,s){const d=s.parentContext,p=s.currentTimeline,y=a.timings,A=Math.abs(y.duration),K=A*(s.currentQueryTotal-1);let re=A*s.currentQueryIndex;switch(y.duration<0?"reverse":y.easing){case"reverse":re=K-re;break;case"full":re=d.currentStaggerTime}const _t=s.currentTimeline;re&&_t.delayNextStep(re);const Rt=_t.currentTime;po(this,a.animation,s),s.previousNode=a,d.currentStaggerTime=p.currentTime-Rt+(p.startTime-d.currentTimeline.startTime)}}const Lr={};class Sl{constructor(a,s,d,p,y,A,K,re){this._driver=a,this.element=s,this.subInstructions=d,this._enterClassName=p,this._leaveClassName=y,this.errors=A,this.timelines=K,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Lr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=re||new Br(this._driver,s,0),K.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,s){if(!a)return;const d=a;let p=this.options;null!=d.duration&&(p.duration=fo(d.duration)),null!=d.delay&&(p.delay=fo(d.delay));const y=d.params;if(y){let A=p.params;A||(A=this.options.params={}),Object.keys(y).forEach(K=>{(!s||!A.hasOwnProperty(K))&&(A[K]=Yo(y[K],A,this.errors))})}}_copyOptions(){const a={};if(this.options){const s=this.options.params;if(s){const d=a.params={};Object.keys(s).forEach(p=>{d[p]=s[p]})}}return a}createSubContext(a=null,s,d){const p=s||this.element,y=new Sl(this._driver,p,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(p,d||0));return y.previousNode=this.previousNode,y.currentAnimateTimings=this.currentAnimateTimings,y.options=this._copyOptions(),y.updateOptions(a),y.currentQueryIndex=this.currentQueryIndex,y.currentQueryTotal=this.currentQueryTotal,y.parentContext=this,this.subContextCount++,y}transformIntoNewTimeline(a){return this.previousNode=Lr,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,s,d){const p={duration:s??a.duration,delay:this.currentTimeline.currentTime+(d??0)+a.delay,easing:""},y=new Ju(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,p,a.stretchStartingKeyframe);return this.timelines.push(y),p}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,s,d,p,y,A){let K=[];if(p&&K.push(this.element),a.length>0){a=(a=a.replace(Zu,"."+this._enterClassName)).replace(Tl,"."+this._leaveClassName);let Ge=this._driver.query(this.element,a,1!=d);0!==d&&(Ge=d<0?Ge.slice(Ge.length+d,Ge.length):Ge.slice(0,d)),K.push(...Ge)}return!y&&0==K.length&&A.push(function Pu(u){return new l.vHH(3014,!1)}()),K}}class Br{constructor(a,s,d,p){this._driver=a,this.element=s,this.startTime=d,this._elementTimelineStylesLookup=p,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(s),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(s,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(a){const s=1===this._keyframes.size&&this._pendingStyles.size;this.duration||s?(this.forwardTime(this.currentTime+a),s&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,s){return this.applyStylesToKeyframe(),new Br(this._driver,a,s||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,s){this._localTimelineStyles.set(a,s),this._globalTimelineStyles.set(a,s),this._styleSummary.set(a,{time:this.currentTime,value:s})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&this._previousKeyframe.set("easing",a);for(let[s,d]of this._globalTimelineStyles)this._backFill.set(s,d||qn.l3),this._currentKeyframe.set(s,qn.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,s,d,p){s&&this._previousKeyframe.set("easing",s);const y=p&&p.params||{},A=function Al(u,a){const s=new Map;let d;return u.forEach(p=>{if("*"===p){d=d||a.keys();for(let y of d)s.set(y,qn.l3)}else Cr(p,s)}),s}(a,this._globalTimelineStyles);for(let[K,re]of A){const Ge=Yo(re,y,d);this._pendingStyles.set(K,Ge),this._localTimelineStyles.has(K)||this._backFill.set(K,this._globalTimelineStyles.get(K)??qn.l3),this._updateStyle(K,Ge)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((a,s)=>{this._currentKeyframe.set(s,a)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((a,s)=>{this._currentKeyframe.has(s)||this._currentKeyframe.set(s,a)}))}snapshotCurrentStyles(){for(let[a,s]of this._localTimelineStyles)this._pendingStyles.set(a,s),this._updateStyle(a,s)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let s in this._currentKeyframe)a.push(s);return a}mergeTimelineCollectedStyles(a){a._styleSummary.forEach((s,d)=>{const p=this._styleSummary.get(d);(!p||s.time>p.time)&&this._updateStyle(d,s.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,s=new Set,d=1===this._keyframes.size&&0===this.duration;let p=[];this._keyframes.forEach((K,re)=>{const Ge=Cr(K,new Map,this._backFill);Ge.forEach((_t,Rt)=>{_t===qn.k1?a.add(Rt):_t===qn.l3&&s.add(Rt)}),d||Ge.set("offset",re/this.duration),p.push(Ge)});const y=a.size?lr(a.values()):[],A=s.size?lr(s.values()):[];if(d){const K=p[0],re=new Map(K);K.set("offset",0),re.set("offset",1),p=[K,re]}return Ml(this.element,p,y,A,this.duration,this.startTime,this.easing,!1)}}class Ju extends Br{constructor(a,s,d,p,y,A,K=!1){super(a,s,A.delay),this.keyframes=d,this.preStyleProps=p,this.postStyleProps=y,this._stretchStartingKeyframe=K,this.timings={duration:A.duration,delay:A.delay,easing:A.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:s,duration:d,easing:p}=this.timings;if(this._stretchStartingKeyframe&&s){const y=[],A=d+s,K=s/A,re=Cr(a[0]);re.set("offset",0),y.push(re);const Ge=Cr(a[0]);Ge.set("offset",Il(K)),y.push(Ge);const _t=a.length-1;for(let Rt=1;Rt<=_t;Rt++){let zt=Cr(a[Rt]);const rn=zt.get("offset");zt.set("offset",Il((s+rn*d)/A)),y.push(zt)}d=A,s=0,p="",a=y}return Ml(this.element,a,this.preStyleProps,this.postStyleProps,d,s,p,!0)}}function Il(u,a=3){const s=Math.pow(10,a-1);return Math.round(u*s)/s}class ba{}const Xu=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class as extends ba{normalizePropertyName(a,s){return Fs(a)}normalizeStyleValue(a,s,d,p){let y="";const A=d.toString().trim();if(Xu.has(s)&&0!==d&&"0"!==d)if("number"==typeof d)y="px";else{const K=d.match(/^[+-]?[\d\.]+([a-z]*)$/);K&&0==K[1].length&&p.push(function ml(u,a){return new l.vHH(3005,!1)}())}return A+y}}function ls(u,a,s,d,p,y,A,K,re,Ge,_t,Rt,zt){return{type:0,element:u,triggerName:a,isRemovalTransition:p,fromState:s,fromStyles:y,toState:d,toStyles:A,timelines:K,queriedElements:re,preStyleProps:Ge,postStyleProps:_t,totalTime:Rt,errors:zt}}const Rl={};class qu{constructor(a,s,d){this._triggerName=a,this.ast=s,this._stateStyles=d}match(a,s,d,p){return function th(u,a,s,d,p){return u.some(y=>y(a,s,d,p))}(this.ast.matchers,a,s,d,p)}buildStyles(a,s,d){let p=this._stateStyles.get("*");return void 0!==a&&(p=this._stateStyles.get(a?.toString())||p),p?p.buildStyles(s,d):new Map}build(a,s,d,p,y,A,K,re,Ge,_t){const Rt=[],zt=this.ast.options&&this.ast.options.params||Rl,Xt=this.buildStyles(d,K&&K.params||Rl,Rt),ln=re&&re.params||Rl,Un=this.buildStyles(p,ln,Rt),Wn=new Set,li=new Map,Fi=new Map,bi="void"===p,Zo={params:jp(ln,zt),delay:this.ast.options?.delay},ko=_t?[]:ss(a,s,this.ast.animation,y,A,Xt,Un,Zo,Ge,Rt);let Ti=0;if(ko.forEach(Ko=>{Ti=Math.max(Ko.duration+Ko.delay,Ti)}),Rt.length)return ls(s,this._triggerName,d,p,bi,Xt,Un,[],[],li,Fi,Ti,Rt);ko.forEach(Ko=>{const Po=Ko.element,fs=ho(li,Po,new Set);Ko.preStyleProps.forEach(wr=>fs.add(wr));const Hs=ho(Fi,Po,new Set);Ko.postStyleProps.forEach(wr=>Hs.add(wr)),Po!==s&&Wn.add(Po)});const mo=lr(Wn.values());return ls(s,this._triggerName,d,p,bi,Xt,Un,ko,mo,li,Fi,Ti)}}function jp(u,a){const s=ns(a);for(const d in u)u.hasOwnProperty(d)&&null!=u[d]&&(s[d]=u[d]);return s}class nh{constructor(a,s,d){this.styles=a,this.defaultParams=s,this.normalizer=d}buildStyles(a,s){const d=new Map,p=ns(this.defaultParams);return Object.keys(a).forEach(y=>{const A=a[y];null!==A&&(p[y]=A)}),this.styles.styles.forEach(y=>{"string"!=typeof y&&y.forEach((A,K)=>{A&&(A=Yo(A,p,s));const re=this.normalizer.normalizePropertyName(K,s);A=this.normalizer.normalizeStyleValue(K,re,A,s),d.set(K,A)})}),d}}class oh{constructor(a,s,d){this.name=a,this.ast=s,this._normalizer=d,this.transitionFactories=[],this.states=new Map,s.states.forEach(p=>{this.states.set(p.name,new nh(p.style,p.options&&p.options.params||{},d))}),kl(this.states,"true","1"),kl(this.states,"false","0"),s.transitions.forEach(p=>{this.transitionFactories.push(new qu(a,p,this.states))}),this.fallbackTransition=function va(u,a,s){return new qu(u,{type:1,animation:{type:2,steps:[],options:null},matchers:[(A,K)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,s,d,p){return this.transitionFactories.find(A=>A.match(a,s,d,p))||null}matchStyles(a,s,d){return this.fallbackTransition.buildStyles(a,s,d)}}function kl(u,a,s){u.has(a)?u.has(s)||u.set(s,u.get(a)):u.has(s)&&u.set(a,u.get(s))}const rh=new _a;class nd{constructor(a,s,d){this.bodyNode=a,this._driver=s,this._normalizer=d,this._animations=new Map,this._playersById=new Map,this.players=[]}register(a,s){const d=[],y=Nr(this._driver,s,d,[]);if(d.length)throw function Nu(u){return new l.vHH(3503,!1)}();this._animations.set(a,y)}_buildPlayer(a,s,d){const p=a.element,y=Vu(this._normalizer,a.keyframes,s,d);return this._driver.animate(p,y,a.duration,a.delay,a.easing,[],!0)}create(a,s,d={}){const p=[],y=this._animations.get(a);let A;const K=new Map;if(y?(A=ss(this._driver,s,y,xl,As,new Map,new Map,d,rh,p),A.forEach(_t=>{const Rt=ho(K,_t.element,new Map);_t.postStyleProps.forEach(zt=>Rt.set(zt,null))})):(p.push(function aa(){return new l.vHH(3300,!1)}()),A=[]),p.length)throw function la(u){return new l.vHH(3504,!1)}();K.forEach((_t,Rt)=>{_t.forEach((zt,rn)=>{_t.set(rn,this._driver.computeStyle(Rt,rn,qn.l3))})});const Ge=$o(A.map(_t=>{const Rt=K.get(_t.element);return this._buildPlayer(_t,new Map,Rt)}));return this._playersById.set(a,Ge),Ge.onDestroy(()=>this.destroy(a)),this.players.push(Ge),Ge}destroy(a){const s=this._getPlayer(a);s.destroy(),this._playersById.delete(a);const d=this.players.indexOf(s);d>=0&&this.players.splice(d,1)}_getPlayer(a){const s=this._playersById.get(a);if(!s)throw function ca(u){return new l.vHH(3301,!1)}();return s}listen(a,s,d,p){const y=Zc(s,"","","");return _l(this._getPlayer(a),d,y,p),()=>{}}command(a,s,d,p){if("register"==d)return void this.register(a,p[0]);if("create"==d)return void this.create(a,s,p[0]||{});const y=this._getPlayer(a);switch(d){case"play":y.play();break;case"pause":y.pause();break;case"reset":y.reset();break;case"restart":y.restart();break;case"finish":y.finish();break;case"init":y.init();break;case"setPosition":y.setPosition(parseFloat(p[0]));break;case"destroy":this.destroy(a)}}}const sh="ng-animate-queued",od="ng-animate-disabled",zp=[],ch={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Fl={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Wo="__ng_removed";class rd{get params(){return this.options.params}constructor(a,s=""){this.namespaceId=s;const d=a&&a.hasOwnProperty("value");if(this.value=function ad(u){return u??null}(d?a.value:a),d){const y=ns(a);delete y.value,this.options=y}else this.options={};this.options.params||(this.options.params={})}absorbOptions(a){const s=a.params;if(s){const d=this.options.params;Object.keys(s).forEach(p=>{null==d[p]&&(d[p]=s[p])})}}}const ya="void",sd=new rd(ya);class Gp{constructor(a,s,d){this.id=a,this.hostElement=s,this._engine=d,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,zi(s,this._hostClassName)}listen(a,s,d,p){if(!this._triggers.has(s))throw function gl(u,a){return new l.vHH(3302,!1)}();if(null==d||0==d.length)throw function Yc(u){return new l.vHH(3303,!1)}();if(!function ld(u){return"start"==u||"done"==u}(d))throw function Wc(u,a){return new l.vHH(3400,!1)}();const y=ho(this._elementListeners,a,[]),A={name:s,phase:d,callback:p};y.push(A);const K=ho(this._engine.statesByElement,a,new Map);return K.has(s)||(zi(a,Os),zi(a,Os+"-"+s),K.set(s,sd)),()=>{this._engine.afterFlush(()=>{const re=y.indexOf(A);re>=0&&y.splice(re,1),this._triggers.has(s)||K.delete(s)})}}register(a,s){return!this._triggers.has(a)&&(this._triggers.set(a,s),!0)}_getTrigger(a){const s=this._triggers.get(a);if(!s)throw function Lu(u){return new l.vHH(3401,!1)}();return s}trigger(a,s,d,p=!0){const y=this._getTrigger(s),A=new cs(this.id,s,a);let K=this._engine.statesByElement.get(a);K||(zi(a,Os),zi(a,Os+"-"+s),this._engine.statesByElement.set(a,K=new Map));let re=K.get(s);const Ge=new rd(d,this.id);if(!(d&&d.hasOwnProperty("value"))&&re&&Ge.absorbOptions(re.options),K.set(s,Ge),re||(re=sd),Ge.value!==ya&&re.value===Ge.value){if(!function hh(u,a){const s=Object.keys(u),d=Object.keys(a);if(s.length!=d.length)return!1;for(let p=0;p{ar(a,Un),Ro(a,Wn)})}return}const zt=ho(this._engine.playersByElement,a,[]);zt.forEach(ln=>{ln.namespaceId==this.id&&ln.triggerName==s&&ln.queued&&ln.destroy()});let rn=y.matchTransition(re.value,Ge.value,a,Ge.params),Xt=!1;if(!rn){if(!p)return;rn=y.fallbackTransition,Xt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:s,transition:rn,fromState:re,toState:Ge,player:A,isFallbackTransition:Xt}),Xt||(zi(a,sh),A.onStart(()=>{cr(a,sh)})),A.onDone(()=>{let ln=this.players.indexOf(A);ln>=0&&this.players.splice(ln,1);const Un=this._engine.playersByElement.get(a);if(Un){let Wn=Un.indexOf(A);Wn>=0&&Un.splice(Wn,1)}}),this.players.push(A),zt.push(A),A}deregister(a){this._triggers.delete(a),this._engine.statesByElement.forEach(s=>s.delete(a)),this._elementListeners.forEach((s,d)=>{this._elementListeners.set(d,s.filter(p=>p.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const s=this._engine.playersByElement.get(a);s&&(s.forEach(d=>d.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,s){const d=this._engine.driver.query(a,Rs,!0);d.forEach(p=>{if(p[Wo])return;const y=this._engine.fetchNamespacesByElement(p);y.size?y.forEach(A=>A.triggerLeaveAnimation(p,s,!1,!0)):this.clearElementCache(p)}),this._engine.afterFlushAnimationsDone(()=>d.forEach(p=>this.clearElementCache(p)))}triggerLeaveAnimation(a,s,d,p){const y=this._engine.statesByElement.get(a),A=new Map;if(y){const K=[];if(y.forEach((re,Ge)=>{if(A.set(Ge,re.value),this._triggers.has(Ge)){const _t=this.trigger(a,Ge,ya,p);_t&&K.push(_t)}}),K.length)return this._engine.markElementAsRemoved(this.id,a,!0,s,A),d&&$o(K).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const s=this._elementListeners.get(a),d=this._engine.statesByElement.get(a);if(s&&d){const p=new Set;s.forEach(y=>{const A=y.name;if(p.has(A))return;p.add(A);const re=this._triggers.get(A).fallbackTransition,Ge=d.get(A)||sd,_t=new rd(ya),Rt=new cs(this.id,A,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:A,transition:re,fromState:Ge,toState:_t,player:Rt,isFallbackTransition:!0})})}}removeNode(a,s){const d=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,s),this.triggerLeaveAnimation(a,s,!0))return;let p=!1;if(d.totalAnimations){const y=d.players.length?d.playersByQueriedElement.get(a):[];if(y&&y.length)p=!0;else{let A=a;for(;A=A.parentNode;)if(d.statesByElement.get(A)){p=!0;break}}}if(this.prepareLeaveAnimationListeners(a),p)d.markElementAsRemoved(this.id,a,!1,s);else{const y=a[Wo];(!y||y===ch)&&(d.afterFlush(()=>this.clearElementCache(a)),d.destroyInnerAnimations(a),d._onRemovalComplete(a,s))}}insertNode(a,s){zi(a,this._hostClassName)}drainQueuedTransitions(a){const s=[];return this._queue.forEach(d=>{const p=d.player;if(p.destroyed)return;const y=d.element,A=this._elementListeners.get(y);A&&A.forEach(K=>{if(K.name==d.triggerName){const re=Zc(y,d.triggerName,d.fromState.value,d.toState.value);re._data=a,_l(d.player,K.phase,re,K.callback)}}),p.markedForDestroy?this._engine.afterFlush(()=>{p.destroy()}):s.push(d)}),this._queue=[],s.sort((d,p)=>{const y=d.transition.ast.depCount,A=p.transition.ast.depCount;return 0==y||0==A?y-A:this._engine.driver.containsElement(d.element,p.element)?1:-1})}destroy(a){this.players.forEach(s=>s.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}}class dh{_onRemovalComplete(a,s){this.onRemovalComplete(a,s)}constructor(a,s,d){this.bodyNode=a,this.driver=s,this._normalizer=d,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(p,y)=>{}}get queuedPlayers(){const a=[];return this._namespaceList.forEach(s=>{s.players.forEach(d=>{d.queued&&a.push(d)})}),a}createNamespace(a,s){const d=new Gp(a,s,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,s)?this._balanceNamespaceList(d,s):(this.newHostElements.set(s,d),this.collectEnterElement(s)),this._namespaceLookup[a]=d}_balanceNamespaceList(a,s){const d=this._namespaceList,p=this.namespacesByHostElement;if(d.length-1>=0){let A=!1,K=this.driver.getParentElement(s);for(;K;){const re=p.get(K);if(re){const Ge=d.indexOf(re);d.splice(Ge+1,0,a),A=!0;break}K=this.driver.getParentElement(K)}A||d.unshift(a)}else d.push(a);return p.set(s,a),a}register(a,s){let d=this._namespaceLookup[a];return d||(d=this.createNamespace(a,s)),d}registerTrigger(a,s,d){let p=this._namespaceLookup[a];p&&p.register(s,d)&&this.totalAnimations++}destroy(a,s){a&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const d=this._fetchNamespace(a);this.namespacesByHostElement.delete(d.hostElement);const p=this._namespaceList.indexOf(d);p>=0&&this._namespaceList.splice(p,1),d.destroy(s),delete this._namespaceLookup[a]}))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const s=new Set,d=this.statesByElement.get(a);if(d)for(let p of d.values())if(p.namespaceId){const y=this._fetchNamespace(p.namespaceId);y&&s.add(y)}return s}trigger(a,s,d,p){if(Vs(s)){const y=this._fetchNamespace(a);if(y)return y.trigger(s,d,p),!0}return!1}insertNode(a,s,d,p){if(!Vs(s))return;const y=s[Wo];if(y&&y.setForRemoval){y.setForRemoval=!1,y.setForMove=!0;const A=this.collectedLeaveElements.indexOf(s);A>=0&&this.collectedLeaveElements.splice(A,1)}if(a){const A=this._fetchNamespace(a);A&&A.insertNode(s,d)}p&&this.collectEnterElement(s)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,s){s?this.disabledNodes.has(a)||(this.disabledNodes.add(a),zi(a,od)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),cr(a,od))}removeNode(a,s,d){if(Vs(s)){const p=a?this._fetchNamespace(a):null;p?p.removeNode(s,d):this.markElementAsRemoved(a,s,!1,d);const y=this.namespacesByHostElement.get(s);y&&y.id!==a&&y.removeNode(s,d)}else this._onRemovalComplete(s,d)}markElementAsRemoved(a,s,d,p,y){this.collectedLeaveElements.push(s),s[Wo]={namespaceId:a,setForRemoval:p,hasAnimation:d,removedBeforeQueried:!1,previousTriggersValues:y}}listen(a,s,d,p,y){return Vs(s)?this._fetchNamespace(a).listen(s,d,p,y):()=>{}}_buildInstruction(a,s,d,p,y){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,d,p,a.fromState.options,a.toState.options,s,y)}destroyInnerAnimations(a){let s=this.driver.query(a,Rs,!0);s.forEach(d=>this.destroyActiveAnimationsForElement(d)),0!=this.playersByQueriedElement.size&&(s=this.driver.query(a,wl,!0),s.forEach(d=>this.finishActiveQueriedAnimationOnElement(d)))}destroyActiveAnimationsForElement(a){const s=this.playersByElement.get(a);s&&s.forEach(d=>{d.queued?d.markedForDestroy=!0:d.destroy()})}finishActiveQueriedAnimationOnElement(a){const s=this.playersByQueriedElement.get(a);s&&s.forEach(d=>d.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return $o(this.players).onDone(()=>a());a()})}processLeaveNode(a){const s=a[Wo];if(s&&s.setForRemoval){if(a[Wo]=ch,s.namespaceId){this.destroyInnerAnimations(a);const d=this._fetchNamespace(s.namespaceId);d&&d.clearElementCache(a)}this._onRemovalComplete(a,s.setForRemoval)}a.classList?.contains(od)&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(d=>{this.markElementAsDisabled(d,!1)})}flush(a=-1){let s=[];if(this.newHostElements.size&&(this.newHostElements.forEach((d,p)=>this._balanceNamespaceList(d,p)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let d=0;dd()),this._flushFns=[],this._whenQuietFns.length){const d=this._whenQuietFns;this._whenQuietFns=[],s.length?$o(s).onDone(()=>{d.forEach(p=>p())}):d.forEach(p=>p())}}reportError(a){throw function ts(u){return new l.vHH(3402,!1)}()}_flushAnimations(a,s){const d=new _a,p=[],y=new Map,A=[],K=new Map,re=new Map,Ge=new Map,_t=new Set;this.disabledNodes.forEach(Kt=>{_t.add(Kt);const sn=this.driver.query(Kt,".ng-animate-queued",!0);for(let dn=0;dn{const dn=xl+ln++;Xt.set(sn,dn),Kt.forEach(Sn=>zi(Sn,dn))});const Un=[],Wn=new Set,li=new Set;for(let Kt=0;KtWn.add(Sn)):li.add(sn))}const Fi=new Map,bi=Ll(zt,Array.from(Wn));bi.forEach((Kt,sn)=>{const dn=As+ln++;Fi.set(sn,dn),Kt.forEach(Sn=>zi(Sn,dn))}),a.push(()=>{rn.forEach((Kt,sn)=>{const dn=Xt.get(sn);Kt.forEach(Sn=>cr(Sn,dn))}),bi.forEach((Kt,sn)=>{const dn=Fi.get(sn);Kt.forEach(Sn=>cr(Sn,dn))}),Un.forEach(Kt=>{this.processLeaveNode(Kt)})});const Zo=[],ko=[];for(let Kt=this._namespaceList.length-1;Kt>=0;Kt--)this._namespaceList[Kt].drainQueuedTransitions(s).forEach(dn=>{const Sn=dn.player,vi=dn.element;if(Zo.push(Sn),this.collectedEnterElements.length){const Ni=vi[Wo];if(Ni&&Ni.setForMove){if(Ni.previousTriggersValues&&Ni.previousTriggersValues.has(dn.triggerName)){const go=Ni.previousTriggersValues.get(dn.triggerName),$i=this.statesByElement.get(dn.element);if($i&&$i.has(dn.triggerName)){const ps=$i.get(dn.triggerName);ps.value=go,$i.set(dn.triggerName,ps)}}return void Sn.destroy()}}const Gi=!Rt||!this.driver.containsElement(Rt,vi),so=Fi.get(vi),Er=Xt.get(vi),ci=this._buildInstruction(dn,d,Er,so,Gi);if(ci.errors&&ci.errors.length)return void ko.push(ci);if(Gi)return Sn.onStart(()=>ar(vi,ci.fromStyles)),Sn.onDestroy(()=>Ro(vi,ci.toStyles)),void p.push(Sn);if(dn.isFallbackTransition)return Sn.onStart(()=>ar(vi,ci.fromStyles)),Sn.onDestroy(()=>Ro(vi,ci.toStyles)),void p.push(Sn);const Ed=[];ci.timelines.forEach(Ni=>{Ni.stretchStartingKeyframe=!0,this.disabledNodes.has(Ni.element)||Ed.push(Ni)}),ci.timelines=Ed,d.append(vi,ci.timelines),A.push({instruction:ci,player:Sn,element:vi}),ci.queriedElements.forEach(Ni=>ho(K,Ni,[]).push(Sn)),ci.preStyleProps.forEach((Ni,go)=>{if(Ni.size){let $i=re.get(go);$i||re.set(go,$i=new Set),Ni.forEach((ps,Sa)=>$i.add(Sa))}}),ci.postStyleProps.forEach((Ni,go)=>{let $i=Ge.get(go);$i||Ge.set(go,$i=new Set),Ni.forEach((ps,Sa)=>$i.add(Sa))})});if(ko.length){const Kt=[];ko.forEach(sn=>{Kt.push(function Bu(u,a){return new l.vHH(3505,!1)}())}),Zo.forEach(sn=>sn.destroy()),this.reportError(Kt)}const Ti=new Map,mo=new Map;A.forEach(Kt=>{const sn=Kt.element;d.has(sn)&&(mo.set(sn,sn),this._beforeAnimationBuild(Kt.player.namespaceId,Kt.instruction,Ti))}),p.forEach(Kt=>{const sn=Kt.element;this._getPreviousPlayers(sn,!1,Kt.namespaceId,Kt.triggerName,null).forEach(Sn=>{ho(Ti,sn,[]).push(Sn),Sn.destroy()})});const Ko=Un.filter(Kt=>Bl(Kt,re,Ge)),Po=new Map;Nl(Po,this.driver,li,Ge,qn.l3).forEach(Kt=>{Bl(Kt,re,Ge)&&Ko.push(Kt)});const Hs=new Map;rn.forEach((Kt,sn)=>{Nl(Hs,this.driver,new Set(Kt),re,qn.k1)}),Ko.forEach(Kt=>{const sn=Po.get(Kt),dn=Hs.get(Kt);Po.set(Kt,new Map([...sn?.entries()??[],...dn?.entries()??[]]))});const wr=[],Cd=[],wd={};A.forEach(Kt=>{const{element:sn,player:dn,instruction:Sn}=Kt;if(d.has(sn)){if(_t.has(sn))return dn.onDestroy(()=>Ro(sn,Sn.toStyles)),dn.disabled=!0,dn.overrideTotalTime(Sn.totalTime),void p.push(dn);let vi=wd;if(mo.size>1){let so=sn;const Er=[];for(;so=so.parentNode;){const ci=mo.get(so);if(ci){vi=ci;break}Er.push(so)}Er.forEach(ci=>mo.set(ci,vi))}const Gi=this._buildAnimation(dn.namespaceId,Sn,Ti,y,Hs,Po);if(dn.setRealPlayer(Gi),vi===wd)wr.push(dn);else{const so=this.playersByElement.get(vi);so&&so.length&&(dn.parentPlayer=$o(so)),p.push(dn)}}else ar(sn,Sn.fromStyles),dn.onDestroy(()=>Ro(sn,Sn.toStyles)),Cd.push(dn),_t.has(sn)&&p.push(dn)}),Cd.forEach(Kt=>{const sn=y.get(Kt.element);if(sn&&sn.length){const dn=$o(sn);Kt.setRealPlayer(dn)}}),p.forEach(Kt=>{Kt.parentPlayer?Kt.syncPlayerEvents(Kt.parentPlayer):Kt.destroy()});for(let Kt=0;Kt!Gi.destroyed);vi.length?Ca(this,sn,vi):this.processLeaveNode(sn)}return Un.length=0,wr.forEach(Kt=>{this.players.push(Kt),Kt.onDone(()=>{Kt.destroy();const sn=this.players.indexOf(Kt);this.players.splice(sn,1)}),Kt.play()}),wr}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,s,d,p,y){let A=[];if(s){const K=this.playersByQueriedElement.get(a);K&&(A=K)}else{const K=this.playersByElement.get(a);if(K){const re=!y||y==ya;K.forEach(Ge=>{Ge.queued||!re&&Ge.triggerName!=p||A.push(Ge)})}}return(d||p)&&(A=A.filter(K=>!(d&&d!=K.namespaceId||p&&p!=K.triggerName))),A}_beforeAnimationBuild(a,s,d){const y=s.element,A=s.isRemovalTransition?void 0:a,K=s.isRemovalTransition?void 0:s.triggerName;for(const re of s.timelines){const Ge=re.element,_t=Ge!==y,Rt=ho(d,Ge,[]);this._getPreviousPlayers(Ge,_t,A,K,s.toState).forEach(rn=>{const Xt=rn.getRealPlayer();Xt.beforeDestroy&&Xt.beforeDestroy(),rn.destroy(),Rt.push(rn)})}ar(y,s.fromStyles)}_buildAnimation(a,s,d,p,y,A){const K=s.triggerName,re=s.element,Ge=[],_t=new Set,Rt=new Set,zt=s.timelines.map(Xt=>{const ln=Xt.element;_t.add(ln);const Un=ln[Wo];if(Un&&Un.removedBeforeQueried)return new qn.ZN(Xt.duration,Xt.delay);const Wn=ln!==re,li=function uh(u){const a=[];return cd(u,a),a}((d.get(ln)||zp).map(Ti=>Ti.getRealPlayer())).filter(Ti=>!!Ti.element&&Ti.element===ln),Fi=y.get(ln),bi=A.get(ln),Zo=Vu(this._normalizer,Xt.keyframes,Fi,bi),ko=this._buildPlayer(Xt,Zo,li);if(Xt.subTimeline&&p&&Rt.add(ln),Wn){const Ti=new cs(a,K,ln);Ti.setRealPlayer(ko),Ge.push(Ti)}return ko});Ge.forEach(Xt=>{ho(this.playersByQueriedElement,Xt.element,[]).push(Xt),Xt.onDone(()=>function xa(u,a,s){let d=u.get(a);if(d){if(d.length){const p=d.indexOf(s);d.splice(p,1)}0==d.length&&u.delete(a)}return d}(this.playersByQueriedElement,Xt.element,Xt))}),_t.forEach(Xt=>zi(Xt,Cl));const rn=$o(zt);return rn.onDestroy(()=>{_t.forEach(Xt=>cr(Xt,Cl)),Ro(re,s.toStyles)}),Rt.forEach(Xt=>{ho(p,Xt,[]).push(rn)}),rn}_buildPlayer(a,s,d){return s.length>0?this.driver.animate(a.element,s,a.duration,a.delay,a.easing,d):new qn.ZN(a.duration,a.delay)}}class cs{constructor(a,s,d){this.namespaceId=a,this.triggerName=s,this.element=d,this._player=new qn.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(a){this._containsRealPlayer||(this._player=a,this._queuedCallbacks.forEach((s,d)=>{s.forEach(p=>_l(a,d,void 0,p))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const s=this._player;s.triggerCallback&&a.onStart(()=>s.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,s){ho(this._queuedCallbacks,a,[]).push(s)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const s=this._player;s.triggerCallback&&s.triggerCallback(a)}}function Vs(u){return u&&1===u.nodeType}function Vr(u,a){const s=u.style.display;return u.style.display=a??"none",s}function Nl(u,a,s,d,p){const y=[];s.forEach(re=>y.push(Vr(re)));const A=[];d.forEach((re,Ge)=>{const _t=new Map;re.forEach(Rt=>{const zt=a.computeStyle(Ge,Rt,p);_t.set(Rt,zt),(!zt||0==zt.length)&&(Ge[Wo]=Fl,A.push(Ge))}),u.set(Ge,_t)});let K=0;return s.forEach(re=>Vr(re,y[K++])),A}function Ll(u,a){const s=new Map;if(u.forEach(K=>s.set(K,[])),0==a.length)return s;const p=new Set(a),y=new Map;function A(K){if(!K)return 1;let re=y.get(K);if(re)return re;const Ge=K.parentNode;return re=s.has(Ge)?Ge:p.has(Ge)?1:A(Ge),y.set(K,re),re}return a.forEach(K=>{const re=A(K);1!==re&&s.get(re).push(K)}),s}function zi(u,a){u.classList?.add(a)}function cr(u,a){u.classList?.remove(a)}function Ca(u,a,s){$o(s).onDone(()=>u.processLeaveNode(a))}function cd(u,a){for(let s=0;sp.add(y)):a.set(u,d),s.delete(u),!0}class ds{constructor(a,s,d){this.bodyNode=a,this._driver=s,this._normalizer=d,this._triggerCache={},this.onRemovalComplete=(p,y)=>{},this._transitionEngine=new dh(a,s,d),this._timelineEngine=new nd(a,s,d),this._transitionEngine.onRemovalComplete=(p,y)=>this.onRemovalComplete(p,y)}registerTrigger(a,s,d,p,y){const A=a+"-"+p;let K=this._triggerCache[A];if(!K){const re=[],_t=Nr(this._driver,y,re,[]);if(re.length)throw function sa(u,a){return new l.vHH(3404,!1)}();K=function ih(u,a,s){return new oh(u,a,s)}(p,_t,this._normalizer),this._triggerCache[A]=K}this._transitionEngine.registerTrigger(s,p,K)}register(a,s){this._transitionEngine.register(a,s)}destroy(a,s){this._transitionEngine.destroy(a,s)}onInsert(a,s,d,p){this._transitionEngine.insertNode(a,s,d,p)}onRemove(a,s,d){this._transitionEngine.removeNode(a,s,d)}disableAnimations(a,s){this._transitionEngine.markElementAsDisabled(a,s)}process(a,s,d,p){if("@"==d.charAt(0)){const[y,A]=ua(d);this._timelineEngine.command(y,s,A,p)}else this._transitionEngine.trigger(a,s,d,p)}listen(a,s,d,p,y){if("@"==d.charAt(0)){const[A,K]=ua(d);return this._timelineEngine.listen(A,s,K,y)}return this._transitionEngine.listen(a,s,d,p,y)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(a){this._transitionEngine.afterFlushAnimationsDone(a)}}let ph=(()=>{class u{static#e=this.initialStylesByElement=new WeakMap;constructor(s,d,p){this._element=s,this._startStyles=d,this._endStyles=p,this._state=0;let y=u.initialStylesByElement.get(s);y||u.initialStylesByElement.set(s,y=new Map),this._initialStyles=y}start(){this._state<1&&(this._startStyles&&Ro(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ro(this._element,this._initialStyles),this._endStyles&&(Ro(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(u.initialStylesByElement.delete(this._element),this._startStyles&&(ar(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ar(this._element,this._endStyles),this._endStyles=null),Ro(this._element,this._initialStyles),this._state=3)}}return u})();function Vl(u){let a=null;return u.forEach((s,d)=>{(function dd(u){return"display"===u||"position"===u})(d)&&(a=a||new Map,a.set(d,s))}),a}class ud{constructor(a,s,d,p){this.element=a,this.keyframes=s,this.options=d,this._specialStyles=p,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=d.duration,this._delay=d.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(a){const s=[];return a.forEach(d=>{s.push(Object.fromEntries(d))}),s}_triggerWebAnimation(a,s,d){return a.animate(this._convertKeyframesToObject(s),d)}onStart(a){this._originalOnStartFns.push(a),this._onStartFns.push(a)}onDone(a){this._originalOnDoneFns.push(a),this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a=new Map;this.hasStarted()&&this._finalKeyframe.forEach((d,p)=>{"offset"!==p&&a.set(p,this._finished?d:zu(this.element,p))}),this.currentSnapshot=a}triggerCallback(a){const s="start"===a?this._onStartFns:this._onDoneFns;s.forEach(d=>d()),s.length=0}}class mh{validateStyleProperty(a){return!0}validateAnimatableStyleProperty(a){return!0}matchesElement(a,s){return!1}containsElement(a,s){return Qc(a,s)}getParentElement(a){return vl(a)}query(a,s,d){return Oo(a,s,d)}computeStyle(a,s,d){return window.getComputedStyle(a)[s]}animate(a,s,d,p,y,A=[]){const re={duration:d,delay:p,fill:0==p?"both":"forwards"};y&&(re.easing=y);const Ge=new Map,_t=A.filter(rn=>rn instanceof ud);(function Lp(u,a){return 0===u||0===a})(d,p)&&_t.forEach(rn=>{rn.currentSnapshot.forEach((Xt,ln)=>Ge.set(ln,Xt))});let Rt=function Uu(u){return u.length?u[0]instanceof Map?u:u.map(a=>is(a)):[]}(s).map(rn=>Cr(rn));Rt=function ju(u,a,s){if(s.size&&a.length){let d=a[0],p=[];if(s.forEach((y,A)=>{d.has(A)||p.push(A),d.set(A,y)}),p.length)for(let y=1;yA.set(K,zu(u,K)))}}return a}(a,Rt,Ge);const zt=function fh(u,a){let s=null,d=null;return Array.isArray(a)&&a.length?(s=Vl(a[0]),a.length>1&&(d=Vl(a[a.length-1]))):a instanceof Map&&(s=Vl(a)),s||d?new ph(u,s,d):null}(a,Rt);return new ud(a,Rt,re,zt)}}let Ji=(()=>{class u extends qn._j{constructor(s,d){super(),this._nextAnimationId=0,this._renderer=s.createRenderer(d.body,{id:"0",encapsulation:l.ifc.None,styles:[],data:{animation:[]}})}build(s){const d=this._nextAnimationId.toString();this._nextAnimationId++;const p=Array.isArray(s)?(0,qn.vP)(s):s;return wa(this._renderer,null,d,"register",[p]),new Hl(d,this._renderer)}static#e=this.\u0275fac=function(d){return new(d||u)(l.LFG(l.FYo),l.LFG(oe.K0))};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac})}return u})();class Hl extends qn.LC{constructor(a,s){super(),this._id=a,this._renderer=s}create(a,s){return new hd(this._id,a,s||{},this._renderer)}}class hd{constructor(a,s,d,p){this.id=a,this.element=s,this._renderer=p,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",d)}_listen(a,s){return this._renderer.listen(this.element,`@@${this.id}:${a}`,s)}_command(a,...s){return wa(this._renderer,this.element,this.id,a,s)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(a){this._command("setPosition",a)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function wa(u,a,s,d,p){return u.setProperty(a,`@@${s}:${d}`,p)}const us="@.disabled";let fd=(()=>{class u{constructor(s,d,p){this.delegate=s,this.engine=d,this._zone=p,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,d.onRemovalComplete=(y,A)=>{const K=A?.parentNode(y);K&&A.removeChild(K,y)}}createRenderer(s,d){const y=this.delegate.createRenderer(s,d);if(!(s&&d&&d.data&&d.data.animation)){let _t=this._rendererCache.get(y);return _t||(_t=new Ul("",y,this.engine,()=>this._rendererCache.delete(y)),this._rendererCache.set(y,_t)),_t}const A=d.id,K=d.id+"-"+this._currentId;this._currentId++,this.engine.register(K,s);const re=_t=>{Array.isArray(_t)?_t.forEach(re):this.engine.registerTrigger(A,K,s,_t.name,_t)};return d.data.animation.forEach(re),new gh(this,K,y,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(s,d,p){s>=0&&sd(p)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(y=>{const[A,K]=y;A(K)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([d,p]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}static#e=this.\u0275fac=function(d){return new(d||u)(l.LFG(l.FYo),l.LFG(ds),l.LFG(l.R0b))};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac})}return u})();class Ul{constructor(a,s,d,p){this.namespaceId=a,this.delegate=s,this.engine=d,this._onDestroy=p}get data(){return this.delegate.data}destroyNode(a){this.delegate.destroyNode?.(a)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(a,s){return this.delegate.createElement(a,s)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,s){this.delegate.appendChild(a,s),this.engine.onInsert(this.namespaceId,s,a,!1)}insertBefore(a,s,d,p=!0){this.delegate.insertBefore(a,s,d),this.engine.onInsert(this.namespaceId,s,a,p)}removeChild(a,s,d){this.engine.onRemove(this.namespaceId,s,this.delegate)}selectRootElement(a,s){return this.delegate.selectRootElement(a,s)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,s,d,p){this.delegate.setAttribute(a,s,d,p)}removeAttribute(a,s,d){this.delegate.removeAttribute(a,s,d)}addClass(a,s){this.delegate.addClass(a,s)}removeClass(a,s){this.delegate.removeClass(a,s)}setStyle(a,s,d,p){this.delegate.setStyle(a,s,d,p)}removeStyle(a,s,d){this.delegate.removeStyle(a,s,d)}setProperty(a,s,d){"@"==s.charAt(0)&&s==us?this.disableAnimations(a,!!d):this.delegate.setProperty(a,s,d)}setValue(a,s){this.delegate.setValue(a,s)}listen(a,s,d){return this.delegate.listen(a,s,d)}disableAnimations(a,s){this.engine.disableAnimations(a,s)}}class gh extends Ul{constructor(a,s,d,p,y){super(s,d,p,y),this.factory=a,this.namespaceId=s}setProperty(a,s,d){"@"==s.charAt(0)?"."==s.charAt(1)&&s==us?this.disableAnimations(a,d=void 0===d||!!d):this.engine.process(this.namespaceId,a,s.slice(1),d):this.delegate.setProperty(a,s,d)}listen(a,s,d){if("@"==s.charAt(0)){const p=function pd(u){switch(u){case"body":return document.body;case"document":return document;case"window":return window;default:return u}}(a);let y=s.slice(1),A="";return"@"!=y.charAt(0)&&([y,A]=function _h(u){const a=u.indexOf(".");return[u.substring(0,a),u.slice(a+1)]}(y)),this.engine.listen(this.namespaceId,p,y,A,K=>{this.factory.scheduleListenerCallback(K._data||-1,d,K)})}return this.delegate.listen(a,s,d)}}const _d=[{provide:qn._j,useClass:Ji},{provide:ba,useFactory:function bh(){return new as}},{provide:ds,useClass:(()=>{class u extends ds{constructor(s,d,p,y){super(s.body,d,p)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(d){return new(d||u)(l.LFG(oe.K0),l.LFG(Ss),l.LFG(ba),l.LFG(l.z2F))};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac})}return u})()},{provide:l.FYo,useFactory:function gd(u,a,s){return new fd(u,a,s)},deps:[n.se,ds,l.R0b]}],vh=[{provide:Ss,useFactory:()=>new mh},{provide:l.QbO,useValue:"BrowserAnimations"},..._d];var zl=g(2296),Da=g(617);function vd(u,a){if(1&u&&(l.TgZ(0,"li",16)(1,"a",17),l._uU(2),l.qZA()()),2&u){const s=a.$implicit,d=l.oxw(2).$implicit;l.xp6(1),l.Q6J("routerLink",d.route)("fragment",s.route),l.xp6(1),l.Oqu(s.name)}}function yd(u,a){if(1&u&&(l.TgZ(0,"ul",14),l.YNc(1,vd,3,3,"li",15),l.qZA()),2&u){const s=l.oxw().$implicit;l.xp6(1),l.Q6J("ngForOf",s.children)}}function hs(u,a){if(1&u&&(l.TgZ(0,"li",11)(1,"a",12),l._uU(2),l.qZA(),l.YNc(3,yd,2,1,"ul",13),l.qZA()),2&u){const s=a.$implicit;l.xp6(1),l.Q6J("routerLink",s.route),l.xp6(1),l.Oqu(s.name),l.xp6(1),l.Q6J("ngIf",s.children.length>0)}}let Ma=(()=>{class u{constructor(s){this.router=s,this.menu=[{name:"Getting started",route:"getting-started",children:[]},{name:"Basic controls",route:"basic-controls",children:[{name:"Text",route:"text"},{name:"Number",route:"number"},{name:"Switch",route:"switch"},{name:"Slider",route:"slider"},{name:"Fill",route:"fill"},{name:"Select",route:"select"},{name:"Button Toggle",route:"button_toggle"},{name:"Image Select",route:"image_select"},{name:"Textarea",route:"textarea"},{name:"Hidden",route:"hidden"}]},{name:"Group controls",route:"group-controls",children:[{name:"Group",route:"group"},{name:"Inline Group",route:"inline_group"},{name:"Tabs",route:"tabs"},{name:"Menu",route:"menu"}]},{name:"Media controls",route:"media-controls",children:[{name:"Upload Settings",route:"upload_settings"},{name:"Image",route:"image"},{name:"Video",route:"video"},{name:"Audio",route:"audio"},{name:"File",route:"file"}]}],this.menuOpened=!1,this.router.events.pipe((0,bt.h)(d=>d instanceof N)).subscribe(d=>{this.menuOpened=!1})}static#e=this.\u0275fac=function(d){return new(d||u)(l.Y36(Zi))};static#t=this.\u0275cmp=l.Xpm({type:u,selectors:[["app-layout"]],hostAttrs:[1,"container-wrap"],standalone:!0,features:[l.jDz],decls:19,vars:5,consts:[["mat-icon-button","",1,"menu-toggle",3,"click"],["svgIcon","menu"],["routerLink","/",1,"brand"],[1,"spacer"],["mat-icon-button","","href","https://github.com/acrodata/gui","target","_blank"],["svgIcon","github"],[1,"container"],["role","navigation",1,"menu"],["class","menu-item",4,"ngFor","ngForOf"],["href","https://github.com/nzbin","target","_blank"],[1,"backdrop",3,"click"],[1,"menu-item"],["role","button",3,"routerLink"],["class","submenu",4,"ngIf"],[1,"submenu"],["class","submenu-item",4,"ngFor","ngForOf"],[1,"submenu-item"],["role","button",3,"routerLink","fragment"]],template:function(d,p){1&d&&(l.TgZ(0,"header")(1,"button",0),l.NdJ("click",function(){return p.menuOpened=!p.menuOpened}),l._UZ(2,"mat-icon",1),l.qZA(),l.TgZ(3,"a",2),l._uU(4,"Acrodata GUI"),l.qZA(),l._UZ(5,"span",3),l.TgZ(6,"a",4),l._UZ(7,"mat-icon",5),l.qZA()(),l.TgZ(8,"div",6)(9,"aside")(10,"ul",7),l.YNc(11,hs,4,3,"li",8),l.qZA()(),l.TgZ(12,"main"),l._UZ(13,"router-outlet"),l.TgZ(14,"footer"),l._uU(15,"\xa9 2023 Made with \u2764\ufe0f by "),l.TgZ(16,"a",9),l._uU(17,"nzbin"),l.qZA()()()(),l.TgZ(18,"div",10),l.NdJ("click",function(){return p.menuOpened=!1}),l.qZA()),2&d&&(l.xp6(9),l.ekj("show",p.menuOpened),l.xp6(2),l.Q6J("ngForOf",p.menu),l.xp6(7),l.ekj("show",p.menuOpened))},dependencies:[oe.ez,oe.sg,oe.O5,hn,Cs,zl.ot,zl.o6,zl.RK,Da.Ps,Da.Hw],styles:[".container-wrap{display:block;max-width:1280px;padding:0 64px;margin:0 auto}.container{display:flex;gap:32px}main{flex:1;width:0;padding-top:16px}aside{position:sticky;top:0;display:block;width:240px;height:100vh;padding:16px 0 32px;overflow:auto;background-color:var(--bg-color)}header{display:flex;align-items:center;height:64px;border-bottom:1px solid var(--border-color);background-color:var(--bg-translucent-color);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}footer{padding:32px 0;margin-top:64px;font-size:.75rem;text-align:center}.menu,.submenu{padding:0;margin:0;list-style-type:none}.menu a,.submenu a{display:block;padding:8px 16px;border-radius:8px;text-decoration:none}.menu a:hover,.submenu a:hover{background-color:var(--bg-secondary-color)}.menu-item>a{margin-top:24px;font-weight:500;color:var(--fg-color)}.menu-item:first-child>a{margin-top:0}.submenu-item>a{color:var(--fg-secondary-color)}.brand{padding:0 16px;color:var(--heading-color);font-size:20px;font-weight:600}.spacer{flex-grow:1}@media (width <= 960px){.container-wrap{padding:0 32px}aside{position:fixed;top:0;bottom:0;left:0;z-index:20;transform:translate(-100%);transition:transform .3s ease-in-out}aside.show{transform:none}.backdrop{position:fixed;top:0;left:0;z-index:19;width:100vw;height:100vh;visibility:hidden;transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:background-color,visibility}.backdrop.show{background-color:#00000080;visibility:visible}header{position:sticky;top:0;z-index:10}.brand{padding:0 8px}}@media (width <= 600px){.container-wrap{padding:0 16px}}@media (width > 960px){.mat-mdc-icon-button.menu-toggle{display:none}}a.mat-mdc-icon-button{display:inline-flex}a.mat-mdc-icon-button .mat-icon{line-height:1}\n"],encapsulation:2})}return u})();var xd=g(7105),Gl=g(3383);const Ta=function(u,a,s,d,p){return{"background-image":u,"background-position":a,"background-size":s,"background-blend-mode":d,"background-repeat":p}},xh=[{path:"",component:Ma,children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:(()=>{class u{constructor(){this.config={background:{type:"tabs",name:"Background",template:{name:"Gradient <%= i + 1 %>",children:{angle:{type:"slider",name:"Angle",min:0,max:360,suffix:"deg"},repeat:{type:"switch",name:"Repeat"},reverse:{type:"switch",name:"Reverse"},stops:{type:"tabs",name:"Color stops",template:{name:"Stop <%= i + 1 %>",children:{color:{type:"fill",name:"Color",default:"#000"},offset:{type:"text",name:"Offset",default:"0%"}}}},position:{type:"inline",name:"Position",children:{x:{type:"text",name:"",placeholder:"X",col:50},y:{type:"text",name:"",placeholder:"Y",col:50}}},size:{type:"inline",name:"Size",children:{w:{type:"text",name:"",placeholder:"W",col:50},h:{type:"text",name:"",placeholder:"H",col:50}}}}}},blendMode:{type:"tabs",name:"Bg blend mode",mode:"list",template:{type:"select",name:"Blend mode <%= i + 1 %>",options:[{label:"normal",value:"normal"},{label:"multiply",value:"multiply"},{label:"screen",value:"screen"},{label:"overlay",value:"overlay"},{label:"darken",value:"darken"},{label:"lighten",value:"lighten"},{label:"color-dodge",value:"color-dodge"},{label:"color-burn",value:"color-burn"},{label:"hard-light",value:"hard-light"},{label:"soft-light",value:"soft-light"},{label:"difference",value:"difference"},{label:"exclusion",value:"exclusion"},{label:"hue",value:"hue"},{label:"saturation",value:"saturation"},{label:"color",value:"color"},{label:"luminosity",value:"luminosity"}]}},repeat:{type:"select",name:"Bg repeat",options:[{label:"no-repeat",value:"no-repeat"},{label:"repeat",value:"repeat"},{label:"repeat-x",value:"repeat-x"},{label:"repeat-y",value:"repeat-y"},{label:"round",value:"round"},{label:"space",value:"space"}]}},this.model={background:[{angle:45,repeat:!0,reverse:!1,stops:[{color:"rgba(75, 75, 75, 0.5)",offset:"0%"},{color:"rgba(220, 235, 255, 0.75)",offset:"50%"}],position:{x:null,y:null},size:{w:"100px",h:"100px"}},{angle:135,repeat:!0,reverse:!1,stops:[{color:"rgba(5, 30, 50, 0.75)",offset:"0%"},{color:"rgba(115, 150, 255, 0.5)",offset:"50%"}],position:{x:null,y:null},size:{w:"100px",h:"100px"}}],blendMode:["overlay"],repeat:"repeat"},this.background={image:"",position:"",size:"",blendMode:"",repeat:""}}ngOnInit(){this.getBackground()}getBackground(){this.background={image:this.model.background.map(s=>{const d=s.repeat?"repeating-linear-gradient":"linear-gradient",p=s.angle?`${s.angle}deg,`:"",y=s.stops.map((A,K)=>({...A,color:s.reverse?s.stops[s.stops.length-1-K].color:A.color})).map(A=>`${A.color} ${A.offset}`).join(",");return y?`${d}(${p}${y})`:""}).filter(s=>s.trim()).join(","),position:this.model.background.map(s=>`${s.position?.x||""} ${s.position?.y||""}`).filter(s=>s.trim()).join(","),size:this.model.background.map(s=>`${s.size?.w||""} ${s.size?.h||""}`).filter(s=>s.trim()).join(","),blendMode:this.model.blendMode.join(","),repeat:this.model.repeat}}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275cmp=l.Xpm({type:u,selectors:[["app-home"]],standalone:!0,features:[l.jDz],decls:28,vars:10,consts:[[1,"jumbotron"],[1,"text"],[1,"gui-wrapper"],[1,"gui-heading"],[3,"config","model","modelChange"],["id","features"],["href","home#features"],["href","https://angular.io/guide/reactive-forms","target","_blank"]],template:function(d,p){1&d&&(l.TgZ(0,"div",0)(1,"div",1)(2,"h1"),l._uU(3,"Acrodata GUI"),l.qZA(),l.TgZ(4,"p"),l._uU(5,"A lightweight GUI library for Angular"),l.qZA()(),l.TgZ(6,"div",2)(7,"div",3),l._uU(8,"Gradient Generator"),l.qZA(),l.TgZ(9,"gui-form",4),l.NdJ("modelChange",function(){return p.getBackground()}),l.qZA()()(),l.TgZ(10,"h2",5)(11,"a",6),l._uU(12,"Features"),l.qZA()(),l.TgZ(13,"ul")(14,"li"),l._uU(15,"Built on top of "),l.TgZ(16,"a",7),l._uU(17,"Angular Reactive Forms"),l.qZA()(),l.TgZ(18,"li"),l._uU(19,"JSON powered config"),l.qZA(),l.TgZ(20,"li"),l._uU(21,"Easy to understand config and model"),l.qZA(),l.TgZ(22,"li"),l._uU(23,"Uses Angular Material as basic UI library"),l.qZA(),l.TgZ(24,"li"),l._uU(25,"A11y support"),l.qZA(),l.TgZ(26,"li"),l._uU(27,"RTL support"),l.qZA()()),2&d&&(l.Akn(l.qbA(4,Ta,p.background.image,p.background.position,p.background.size,p.background.blendMode,p.background.repeat)),l.xp6(9),l.Q6J("config",p.config)("model",p.model))},dependencies:[oe.ez,xd.i,Gl.s],styles:[".jumbotron[_ngcontent-%COMP%]{display:flex;min-height:30vw;padding:64px;margin-bottom:48px;border-radius:8px}.text[_ngcontent-%COMP%]{flex:1}h1[_ngcontent-%COMP%], p[_ngcontent-%COMP%]{color:#fff;text-shadow:4px 4px 6px rgba(0,0,0,.85)}.gui-wrapper[_ngcontent-%COMP%]{width:256px}.gui-wrapper[_ngcontent-%COMP%] gui-form[_ngcontent-%COMP%]{border-top-left-radius:0;border-top-right-radius:0}.gui-heading[_ngcontent-%COMP%]{padding:0 12px;border-radius:4px 4px 0 0;background-color:var(--bg-color);border-bottom:1px solid var(--border-color);text-align:center;line-height:32px;font-size:12px}@media (width <= 600px){.jumbotron[_ngcontent-%COMP%]{flex-direction:column;align-items:center;padding:16px}.text[_ngcontent-%COMP%]{margin-bottom:32px;text-align:center}}"]})}return u})()},{path:"getting-started",loadComponent:()=>Promise.all([g.e(592),g.e(923)]).then(g.bind(g,6923)).then(u=>u.GettingStartedComponent)},{path:"basic-controls",loadComponent:()=>Promise.all([g.e(592),g.e(254)]).then(g.bind(g,5254)).then(u=>u.BasicControlsComponent)},{path:"media-controls",loadComponent:()=>Promise.all([g.e(592),g.e(914)]).then(g.bind(g,8914)).then(u=>u.MediaControlsComponent)},{path:"group-controls",loadComponent:()=>Promise.all([g.e(592),g.e(832)]).then(g.bind(g,4832)).then(u=>u.GroupControlsComponent)}]}];var Ch=g(9862),wh=g(7326);const Eh={providers:[function Sc(u,...a){return(0,l.MR2)([{provide:F,multi:!0,useValue:u},[],{provide:Wi,useFactory:dl,deps:[Zi]},{provide:l.tb,multi:!0,useFactory:Ic},a.map(s=>s.\u0275providers)])}(xh,function Mp(u={}){return function Go(u,a){return{\u0275kind:u,\u0275providers:a}}(4,[{provide:ia,useFactory:()=>{const s=(0,l.f3M)(oe.EM),d=(0,l.f3M)(l.R0b),p=(0,l.f3M)(Ln),y=(0,l.f3M)(Cn);return new Tc(y,p,s,d,u)}}])}({scrollPositionRestoration:"enabled",anchorScrolling:"enabled"})),function yh(){return[...vh]}(),(0,Ch.h_)(),{provide:wh.rN,useValue:{coreLibraryLoader:()=>g.e(373).then(g.bind(g,4373)),languages:{typescript:()=>g.e(266).then(g.bind(g,5266)),scss:()=>g.e(164).then(g.bind(g,4164)),xml:()=>g.e(668).then(g.bind(g,2668)),json:()=>g.e(576).then(g.bind(g,1576))}}}]};(0,n.Cg)((()=>{class u{constructor(s,d){this.title="docs",this.icons=["menu","github"];for(const p of this.icons)s.addSvgIcon(p,d.bypassSecurityTrustResourceUrl(`assets/icons/${p}.svg`))}static#e=this.\u0275fac=function(d){return new(d||u)(l.Y36(Da.jv),l.Y36(n.H7))};static#t=this.\u0275cmp=l.Xpm({type:u,selectors:[["app-root"]],standalone:!0,features:[l.jDz],decls:1,vars:0,template:function(d,p){1&d&&l._UZ(0,"router-outlet")},dependencies:[oe.ez,hn],encapsulation:2})}return u})(),Eh).catch(u=>console.error(u))},7836:(Mt,je,g)=>{g.d(je,{E:()=>R});var n=g(5879),l=g(9862);let R=(()=>{class S{constructor(Se){this.http=Se,this.url="",this.params={}}upload(Se){return this.http.post(this.url,Se,{reportProgress:!0,observe:"events",params:this.params})}static#e=this.\u0275fac=function(le){return new(le||S)(n.LFG(l.eN))};static#t=this.\u0275prov=n.Yz7({token:S,factory:S.\u0275fac})}return S})()},3383:(Mt,je,g)=>{g.d(je,{s:()=>Wi});var n=g(5879),l=g(6223),R=g(7394),S=g(6814),te=g(617),Se=g(2296),le=g(4104),ke=g(3305),ue=g(9157),ie=g(4516);function we(b,j){const h=new Function("obj",'var p=[],print=function(){p.push.apply(p,arguments);};with(obj){p.push("'+b.replace(/[\r\t\n]/g," ").split("<%").join("\t").replace(/((^|%>)[^\t]*)'/g,"$1\r").replace(/\t=(.*?)%>/g,'",$1,"').split("\t").join('");').split("%>").join('p.push("').split("\r").join('"')+'");}return p.join("");');return j?h(j):h}let fe=(()=>{class b{transform(h,M={}){return we(h,M)}static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275pipe=n.Yjl({name:"ejs",type:b,pure:!0})}return b})(),me=(()=>{class b{constructor(h){this.el=h,this.flex=100}ngOnInit(){this.el.nativeElement.style.flex=`1 1 ${this.flex}%`,this.el.nativeElement.style.maxWidth=`${this.flex}%`}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.SBq))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","flex",""]],inputs:{flex:"flex"}})}return b})();var Te=g(2596);function Le(b,j){if(1&b&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.title)}}function Ue(b,j){if(1&b&&(n.TgZ(0,"span",2),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.ekj("gui-field-label-with-description",h.config.description),n.Q6J("matTooltip",h.config.description),n.xp6(1),n.Oqu(h.title)}}let be=(()=>{class b{constructor(){this.config={},this.title="",this.styless=!1}ngOnChanges(){const{index:h,name:M,parentType:E,type:De}=this.config;this.title=null==h||isNaN(h)?M:we(M||"",{i:h}),this.styless="inline"===E&&"inline"!==De||"group"===De||"tabs"===De}static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-field-label"]],hostVars:3,hostBindings:function(M,E){2&M&&(n.Ikx("title",E.title),n.ekj("gui-field-label",!E.styless))},inputs:{config:"config",index:"index"},features:[n.TTD],decls:2,vars:2,consts:[[4,"ngIf"],["matTooltipPosition","above","matTooltipClass","gui-field-label-tooltip",3,"gui-field-label-with-description","matTooltip",4,"ngIf"],["matTooltipPosition","above","matTooltipClass","gui-field-label-tooltip",3,"matTooltip"]],template:function(M,E){1&M&&(n.YNc(0,Le,2,1,"span",0),n.YNc(1,Ue,2,4,"span",1)),2&M&&(n.Q6J("ngIf",!E.config.description),n.xp6(1),n.Q6J("ngIf",E.config.description))},dependencies:[S.O5,Te.gM],styles:[".gui-field-label{display:inline-block;width:64px;height:24px;padding:0 4px;line-height:24px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.gui-field-label-with-description{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help}\n"],encapsulation:2,changeDetection:0})}return b})();function ye(b,j){if(1&b&&(n.TgZ(0,"span",4),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.prefix)}}function Je(b,j){if(1&b&&(n.TgZ(0,"span",5),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.suffix)}}function ve(b,j){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",6),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}let H=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.value="",this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-input-text"]],hostAttrs:[1,"gui-field","gui-input-text"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:5,vars:6,consts:[["matPrefix","",4,"ngIf"],["matInput","","type","text",3,"ngModel","disabled","placeholder","ngModelChange","change"],["matSuffix","",4,"ngIf"],[4,"ngIf"],["matPrefix",""],["matSuffix",""],[3,"config"]],template:function(M,E){1&M&&(n.TgZ(0,"mat-form-field"),n.YNc(1,ye,2,1,"span",0),n.TgZ(2,"input",1),n.NdJ("ngModelChange",function(Ve){return E.value=Ve})("change",function(){return E.onValueChange()}),n.qZA(),n.YNc(3,Je,2,1,"span",2),n.YNc(4,ve,2,1,"mat-hint",3),n.qZA()),2&M&&(n.xp6(1),n.Q6J("ngIf",E.config.prefix),n.xp6(1),n.Q6J("ngModel",E.value)("disabled",E.disabled)("placeholder",E.config.placeholder||""),n.xp6(1),n.Q6J("ngIf",E.config.suffix),n.xp6(1),n.Q6J("ngIf","inline"===E.config.parentType))},dependencies:[S.O5,l.Fj,l.JJ,l.On,ue.KE,ue.bx,ue.qo,ue.R9,ie.Nt,be],encapsulation:2,changeDetection:0})}return b})();function xe(b,j){if(1&b&&(n.TgZ(0,"span",4),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.prefix)}}function oe(b,j){if(1&b&&(n.TgZ(0,"span",5),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.suffix)}}function Ie(b,j){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",6),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}let Re=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-input-number"]],hostAttrs:[1,"gui-field","gui-input-number"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:5,vars:9,consts:[["matPrefix","",4,"ngIf"],["matInput","","type","number",3,"ngModel","disabled","placeholder","step","min","max","ngModelChange","change"],["matSuffix","",4,"ngIf"],[4,"ngIf"],["matPrefix",""],["matSuffix",""],[3,"config"]],template:function(M,E){1&M&&(n.TgZ(0,"mat-form-field"),n.YNc(1,xe,2,1,"span",0),n.TgZ(2,"input",1),n.NdJ("ngModelChange",function(Ve){return E.value=Ve})("change",function(){return E.onValueChange()}),n.qZA(),n.YNc(3,oe,2,1,"span",2),n.YNc(4,Ie,2,1,"mat-hint",3),n.qZA()),2&M&&(n.xp6(1),n.Q6J("ngIf",E.config.prefix),n.xp6(1),n.Q6J("ngModel",E.value)("disabled",E.disabled)("placeholder",E.config.placeholder||"")("step",E.config.step)("min",E.config.min)("max",E.config.max),n.xp6(1),n.Q6J("ngIf",E.config.suffix),n.xp6(1),n.Q6J("ngIf","inline"===E.config.parentType))},dependencies:[S.O5,l.Fj,l.wV,l.JJ,l.qQ,l.Fd,l.On,ue.KE,ue.bx,ue.qo,ue.R9,ie.Nt,be],styles:[".gui-input-number .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .gui-input-number .mat-mdc-text-field-wrapper{padding-left:0}\n"],encapsulation:2,changeDetection:0})}return b})();var $e=g(8525),ft=g(3680);function bt(b,j){if(1&b&&(n.TgZ(0,"span",5),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.prefix)}}const Dt=function(b){return{fontFamily:b}};function Ut(b,j){if(1&b&&(n.TgZ(0,"mat-option",6)(1,"span"),n._uU(2),n.qZA()()),2&b){const h=j.$implicit,M=n.oxw();n.Q6J("value",h.value)("disabled",h.disabled),n.xp6(1),n.Akn(n.VKq(5,Dt,M.config.useFont?h.value:"")),n.xp6(1),n.Oqu(h.label)}}function kt(b,j){if(1&b&&(n.TgZ(0,"span",7),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.suffix)}}function an(b,j){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",8),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}let Xe=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.value="",this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-select"]],hostAttrs:[1,"gui-field","gui-select"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:6,vars:8,consts:[["matPrefix","",4,"ngIf"],["panelClass","gui-select","hideSingleSelectionIndicator","","disableRipple","",3,"ngModel","disabled","placeholder","multiple","ngModelChange","selectionChange"],[3,"value","disabled",4,"ngFor","ngForOf"],["matSuffix","",4,"ngIf"],[4,"ngIf"],["matPrefix",""],[3,"value","disabled"],["matSuffix",""],[3,"config"]],template:function(M,E){1&M&&(n.TgZ(0,"mat-form-field"),n.YNc(1,bt,2,1,"span",0),n.TgZ(2,"mat-select",1),n.NdJ("ngModelChange",function(Ve){return E.value=Ve})("selectionChange",function(){return E.onValueChange()}),n.YNc(3,Ut,3,7,"mat-option",2),n.qZA(),n.YNc(4,kt,2,1,"span",3),n.YNc(5,an,2,1,"mat-hint",4),n.qZA()),2&M&&(n.xp6(1),n.Q6J("ngIf",E.config.prefix),n.xp6(1),n.Q6J("ngModel",E.value)("disabled",E.disabled)("placeholder",E.config.placeholder||"")("multiple",E.config.multiple||!1),n.xp6(1),n.Q6J("ngForOf",E.config.options),n.xp6(1),n.Q6J("ngIf",E.config.suffix),n.xp6(1),n.Q6J("ngIf","inline"===E.config.parentType))},dependencies:[S.sg,S.O5,l.JJ,l.On,ue.KE,ue.bx,ue.qo,ue.R9,$e.gD,ft.ey,be],styles:[".gui-select{--mat-select-trigger-text-size: 12px;--mat-option-label-text-size: 12px}.gui-select .mat-mdc-option{min-height:var(--mat-option-label-text-line-height);padding:0 8px}.gui-select .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:8px}.gui-select .mat-pseudo-checkbox{width:16px;height:16px;border-width:1px}\n"],encapsulation:2,changeDetection:0})}return b})();var Ct=g(2599);function W(b,j){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",2),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}let P=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.value=!1,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-switch"]],hostAttrs:[1,"gui-field","gui-switch"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:2,vars:3,consts:[["hideIcon","",3,"ngModel","disabled","ngModelChange","change"],[4,"ngIf"],[3,"config"]],template:function(M,E){1&M&&(n.TgZ(0,"mat-slide-toggle",0),n.NdJ("ngModelChange",function(Ve){return E.value=Ve})("change",function(){return E.onValueChange()}),n.qZA(),n.YNc(1,W,2,1,"mat-hint",1)),2&M&&(n.Q6J("ngModel",E.value)("disabled",E.disabled),n.xp6(1),n.Q6J("ngIf","inline"===E.config.parentType))},dependencies:[S.O5,l.JJ,l.On,ue.bx,Ct.Rr,be],styles:[".gui-switch .mdc-switch{--mdc-switch-track-width: 28px;--mdc-switch-handle-width: 14px;--mdc-switch-handle-height: 14px;--mdc-switch-state-layer-size: 24px}.gui-switch .mat-mdc-slide-toggle{line-height:1}\n"],encapsulation:2,changeDetection:0})}return b})();var se=g(2202);function L(b,j){if(1&b&&(n.TgZ(0,"span",6),n._uU(1),n.qZA()),2&b){const h=n.oxw(2);n.xp6(1),n.Oqu(h.config.prefix)}}function Ce(b,j){if(1&b&&(n.TgZ(0,"span",7),n._uU(1),n.qZA()),2&b){const h=n.oxw(2);n.xp6(1),n.Oqu(h.config.suffix)}}function G(b,j){if(1&b){const h=n.EpF();n.ynx(0),n.TgZ(1,"mat-slider",1)(2,"input",2),n.NdJ("ngModelChange",function(E){n.CHM(h);const De=n.oxw();return n.KtG(De.value=E)})("valueChange",function(){n.CHM(h);const E=n.oxw();return n.KtG(E.onValueChange())}),n.qZA()(),n.TgZ(3,"mat-form-field"),n.YNc(4,L,2,1,"span",3),n.TgZ(5,"input",4),n.NdJ("ngModelChange",function(E){n.CHM(h);const De=n.oxw();return n.KtG(De.value=E)})("change",function(){n.CHM(h);const E=n.oxw();return n.KtG(E.onValueChange())}),n.qZA(),n.YNc(6,Ce,2,1,"span",5),n.qZA(),n.BQk()}if(2&b){const h=n.oxw();n.xp6(1),n.Q6J("disabled",h.disabled)("step",h.config.step)("min",h.config.min)("max",h.config.max),n.xp6(1),n.Q6J("ngModel",h.value),n.xp6(2),n.Q6J("ngIf",h.config.prefix),n.xp6(1),n.Q6J("ngModel",h.value)("disabled",h.disabled)("placeholder",h.config.placeholder||"")("step",h.config.step)("min",h.config.min)("max",h.config.max),n.xp6(1),n.Q6J("ngIf",h.config.suffix)}}function $(b,j){if(1&b&&(n.TgZ(0,"span",6),n._uU(1),n.qZA()),2&b){const h=n.oxw(2);n.xp6(1),n.Oqu(h.config.prefix)}}function Be(b,j){if(1&b&&(n.TgZ(0,"span",7),n._uU(1),n.qZA()),2&b){const h=n.oxw(2);n.xp6(1),n.Oqu(h.config.suffix)}}function ae(b,j){if(1&b&&(n.TgZ(0,"span",6),n._uU(1),n.qZA()),2&b){const h=n.oxw(2);n.xp6(1),n.Oqu(h.config.prefix)}}function He(b,j){if(1&b&&(n.TgZ(0,"span",7),n._uU(1),n.qZA()),2&b){const h=n.oxw(2);n.xp6(1),n.Oqu(h.config.suffix)}}function Ze(b,j){if(1&b){const h=n.EpF();n.ynx(0),n.TgZ(1,"mat-slider",1)(2,"input",8),n.NdJ("ngModelChange",function(E){n.CHM(h);const De=n.oxw();return n.KtG(De.minValue=E)})("valueChange",function(){n.CHM(h);const E=n.oxw();return n.KtG(E.onRangeInputChange())}),n.qZA(),n.TgZ(3,"input",9),n.NdJ("ngModelChange",function(E){n.CHM(h);const De=n.oxw();return n.KtG(De.maxValue=E)})("valueChange",function(){n.CHM(h);const E=n.oxw();return n.KtG(E.onRangeInputChange())}),n.qZA()(),n.TgZ(4,"mat-form-field"),n.YNc(5,$,2,1,"span",3),n.TgZ(6,"input",4),n.NdJ("ngModelChange",function(E){n.CHM(h);const De=n.oxw();return n.KtG(De.minValue=E)})("change",function(){n.CHM(h);const E=n.oxw();return n.KtG(E.onRangeInputChange())}),n.qZA(),n.YNc(7,Be,2,1,"span",5),n.qZA(),n.TgZ(8,"mat-form-field"),n.YNc(9,ae,2,1,"span",3),n.TgZ(10,"input",4),n.NdJ("ngModelChange",function(E){n.CHM(h);const De=n.oxw();return n.KtG(De.maxValue=E)})("change",function(){n.CHM(h);const E=n.oxw();return n.KtG(E.onRangeInputChange())}),n.qZA(),n.YNc(11,He,2,1,"span",5),n.qZA(),n.BQk()}if(2&b){const h=n.oxw();n.xp6(1),n.Q6J("disabled",h.disabled)("step",h.config.step)("min",h.config.min)("max",h.config.max),n.xp6(1),n.Q6J("ngModel",h.minValue),n.xp6(1),n.Q6J("ngModel",h.maxValue),n.xp6(2),n.Q6J("ngIf",h.config.prefix),n.xp6(1),n.Q6J("ngModel",h.minValue)("disabled",h.disabled)("placeholder",h.config.placeholder||"")("step",h.config.step)("min",h.config.min)("max",h.config.max),n.xp6(1),n.Q6J("ngIf",h.config.suffix),n.xp6(2),n.Q6J("ngIf",h.config.prefix),n.xp6(1),n.Q6J("ngModel",h.maxValue)("disabled",h.disabled)("placeholder",h.config.placeholder||"")("step",h.config.step)("min",h.config.min)("max",h.config.max),n.xp6(1),n.Q6J("ngIf",h.config.suffix)}}function it(b,j){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",10),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}let qe=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.setInputValue(),this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}onRangeSliderChange(){this.setInputValue(),this.onValueChange()}onRangeInputChange(){this.value=[this.minValue,this.maxValue],this.onValueChange()}setInputValue(){Array.isArray(this.value)&&(this.minValue=this.value[0],this.maxValue=this.value[1])}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-slider"]],hostAttrs:[1,"gui-field","gui-slider"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:3,vars:3,consts:[[4,"ngIf"],[3,"disabled","step","min","max"],["matSliderThumb","",3,"ngModel","ngModelChange","valueChange"],["matPrefix","",4,"ngIf"],["matInput","","type","number",3,"ngModel","disabled","placeholder","step","min","max","ngModelChange","change"],["matSuffix","",4,"ngIf"],["matPrefix",""],["matSuffix",""],["matSliderStartThumb","",3,"ngModel","ngModelChange","valueChange"],["matSliderEndThumb","",3,"ngModel","ngModelChange","valueChange"],[3,"config"]],template:function(M,E){1&M&&(n.YNc(0,G,7,13,"ng-container",0),n.YNc(1,Ze,12,22,"ng-container",0),n.YNc(2,it,2,1,"mat-hint",0)),2&M&&(n.Q6J("ngIf","range"!==E.config.mode),n.xp6(1),n.Q6J("ngIf","range"===E.config.mode),n.xp6(1),n.Q6J("ngIf","inline"===E.config.parentType))},dependencies:[S.O5,l.Fj,l.wV,l.JJ,l.qQ,l.Fd,l.On,ue.KE,ue.bx,ue.qo,ue.R9,ie.Nt,se.pH,se.$5,se.f9,be],styles:[".gui-slider .mat-mdc-slider{--mdc-slider-handle-width: 12px;--mdc-slider-handle-height: 12px;--mdc-slider-inactive-track-height: 2px;--mdc-slider-active-track-height: 2px;flex:3;min-width:auto;height:calc(var(--mdc-slider-handle-width) * 2);margin:0 calc(var(--mdc-slider-handle-width) / 2)}.gui-slider .mat-mdc-slider+.mat-mdc-form-field{flex:2}.gui-slider .mat-mdc-slider.mdc-slider--range+.mat-mdc-form-field,.gui-slider .mat-mdc-slider.mdc-slider--range+.mat-mdc-form-field+.mat-mdc-form-field{flex:1.5}.gui-slider .mat-mdc-slider .mdc-slider__input{top:0;height:calc(var(--mdc-slider-handle-width) * 2)}.gui-slider .mat-mdc-slider .mdc-slider__thumb{left:calc(var(--mdc-slider-handle-width) * -1);width:calc(var(--mdc-slider-handle-width) * 2);height:calc(var(--mdc-slider-handle-width) * 2);border-radius:50%;overflow:hidden}.gui-slider .mat-mdc-form-field{margin-left:6px}.gui-slider .mat-mdc-form-field input::-webkit-outer-spin-button,.gui-slider .mat-mdc-form-field input::-webkit-inner-spin-button{appearance:none}.gui-slider .mat-mdc-form-field-hint{width:100%;padding:0 8px;line-height:var(--mat-form-field-subscript-text-line-height)}\n"],encapsulation:2,changeDetection:0})}return b})();var It=g(9488);function Ye(b,j){if(1&b&&n._UZ(0,"img",2),2&b){const h=n.oxw();n.Q6J("src",h.src,n.LSH)}}function ct(b,j){if(1&b&&n._UZ(0,"i",3),2&b){const h=n.oxw();n.Q6J("ngClass",h.src)}}let Ee=(()=>{class b{constructor(){this.src=""}isUrl(){return/^(https?:\/\/|\.?\/)\w+/.test(this.src)}static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-icon"]],hostAttrs:[1,"gui-icon"],inputs:{src:"src"},decls:2,vars:2,consts:[[3,"src",4,"ngIf"],[3,"ngClass",4,"ngIf"],[3,"src"],[3,"ngClass"]],template:function(M,E){1&M&&(n.YNc(0,Ye,1,1,"img",0),n.YNc(1,ct,1,1,"i",1)),2&M&&(n.Q6J("ngIf",E.isUrl()),n.xp6(1),n.Q6J("ngIf",!E.isUrl()))},dependencies:[S.mk,S.O5],styles:[".gui-icon{display:inline-flex}.gui-icon img,.gui-icon i{display:block;width:var(--mat-standard-button-toggle-height);height:var(--mat-standard-button-toggle-height);line-height:var(--mat-standard-button-toggle-height)}\n"],encapsulation:2,changeDetection:0})}return b})();function tt(b,j){if(1&b&&n._UZ(0,"gui-icon",6),2&b){const h=n.oxw().$implicit;n.Q6J("src",h.src)}}function dt(b,j){if(1&b&&n._uU(0),2&b){const h=n.oxw().$implicit;n.Oqu(h.label)}}const jt=function(b){return{"gui-icon-toggle":b}};function Gt(b,j){if(1&b&&(n.TgZ(0,"mat-button-toggle",3),n.YNc(1,tt,1,1,"gui-icon",4),n.YNc(2,dt,1,1,"ng-template",null,5,n.W1O),n.qZA()),2&b){const h=j.$implicit,M=n.MAs(3),E=n.oxw();n.Tol(n.VKq(8,jt,E.config.useIcon)),n.Q6J("flex",h.col)("value",h.value)("disabled",h.disabled)("title",E.config.useIcon?h.label:""),n.xp6(1),n.Q6J("ngIf",E.config.useIcon)("ngIfElse",M)}}function cn(b,j){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",7),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}let Lt=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.value="",this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-button-toggle"]],hostAttrs:[1,"gui-field","gui-button-toggle"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:3,vars:5,consts:[[3,"ngModel","disabled","multiple","ngModelChange","change"],["disableRipple","",3,"class","flex","value","disabled","title",4,"ngFor","ngForOf"],[4,"ngIf"],["disableRipple","",3,"flex","value","disabled","title"],[3,"src",4,"ngIf","ngIfElse"],["textLabel",""],[3,"src"],[3,"config"]],template:function(M,E){1&M&&(n.TgZ(0,"mat-button-toggle-group",0),n.NdJ("ngModelChange",function(Ve){return E.value=Ve})("change",function(){return E.onValueChange()}),n.YNc(1,Gt,4,10,"mat-button-toggle",1),n.qZA(),n.YNc(2,cn,2,1,"mat-hint",2)),2&M&&(n.Q6J("ngModel",E.value)("disabled",E.disabled)("multiple",E.config.multiple),n.xp6(1),n.Q6J("ngForOf",E.config.options),n.xp6(1),n.Q6J("ngIf","inline"===E.config.parentType))},dependencies:[S.sg,S.O5,l.JJ,l.On,ue.bx,It.A9,It.Yi,Ee,be,me],styles:[".gui-button-toggle{--mat-standard-button-toggle-height: 24px}.gui-button-toggle .mat-button-toggle-group{flex-wrap:wrap;border-width:0}.gui-button-toggle .mat-button-toggle-appearance-standard{border-width:0!important;background-color:var(--mdc-filled-text-field-container-color)}.gui-button-toggle .mat-button-toggle-appearance-standard.mat-button-toggle-checked{background-color:var(--mat-standard-button-toggle-selected-state-background-color)}.gui-icon-toggle.mat-button-toggle .mat-button-toggle-label-content{padding:0;line-height:normal}.gui-icon-toggle.mat-button-toggle-checked img{opacity:.64}\n"],encapsulation:2,changeDetection:0})}return b})();var yn=g(4318);function et(b,j){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",7),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}const Z=function(b){return{background:b}};let ce=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.value="",this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-fill"]],hostAttrs:[1,"gui-field","gui-fill"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:9,vars:10,consts:[["matPrefix",""],[1,"gui-color-block-empty"],[1,"gui-color-block"],["matInput","",3,"ngModel","disabled","placeholder","mtxColorpicker","ngModelChange","colorChange"],["cp",""],["matSuffix","",3,"for"],[4,"ngIf"],[3,"config"]],template:function(M,E){if(1&M&&(n.TgZ(0,"mat-form-field"),n.ynx(1,0),n._UZ(2,"span",1)(3,"span",2),n.BQk(),n.TgZ(4,"input",3),n.NdJ("ngModelChange",function(Ve){return E.value=Ve})("colorChange",function(){return E.onValueChange()}),n.qZA(),n._UZ(5,"mtx-colorpicker",null,4)(7,"mtx-colorpicker-toggle",5),n.YNc(8,et,2,1,"mat-hint",6),n.qZA()),2&M){const De=n.MAs(6);n.xp6(3),n.Akn(n.VKq(8,Z,E.value)),n.xp6(1),n.Q6J("ngModel",E.value)("disabled",E.disabled)("placeholder",E.config.placeholder||"")("mtxColorpicker",De),n.xp6(3),n.Q6J("for",De),n.xp6(1),n.Q6J("ngIf","inline"===E.config.parentType)}},dependencies:[S.O5,l.Fj,l.JJ,l.On,ue.KE,ue.bx,ue.qo,ue.R9,ie.Nt,yn.YK,yn.zA,yn.sj,be],styles:[".gui-color-block,.gui-color-block-empty{position:relative;display:block;width:24px;height:24px}.gui-color-block-empty{position:absolute;background-color:#fff;background-image:linear-gradient(45deg,#ccc 25%,transparent 25%),linear-gradient(-45deg,#ccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccc 75%),linear-gradient(-45deg,transparent 75%,#ccc 75%);background-position:0 0,0 4px,4px -4px,-4px 0;background-size:8px 8px}.gui-fill .mat-mdc-icon-button{display:inline-flex;justify-content:center;align-items:center}\n"],encapsulation:2,changeDetection:0})}return b})();function Fe(b,j){if(1&b&&n._UZ(0,"gui-field-label",1),2&b){const h=n.oxw();n.Q6J("config",h.config)("index",h.config.index)}}const ot=["*"];let st=(()=>{class b{constructor(h,M){this.differs=h,this.cdr=M,this.config={}}ngOnInit(){this.configDiffer=this.differs.find(this.config).create()}ngDoCheck(){this.configDiffer?.diff(this.config)?.forEachChangedItem(M=>{this.cdr.markForCheck()})}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.aQg),n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-field-group"]],hostAttrs:[1,"gui-field-group"],inputs:{config:"config"},ngContentSelectors:ot,decls:2,vars:1,consts:[[3,"config","index",4,"ngIf"],[3,"config","index"]],template:function(M,E){1&M&&(n.F$t(),n.YNc(0,Fe,1,2,"gui-field-label",0),n.Hsn(1)),2&M&&n.Q6J("ngIf","inline"!==E.config.parentType&&E.config.name)},dependencies:[S.O5,be],styles:[".gui-field-group{display:flex;padding:4px 8px}.gui-field{display:inline-flex;flex:1;flex-wrap:wrap;align-items:center}.gui-field>.mat-mdc-form-field{flex:1;width:0;max-width:100%}\n"],encapsulation:2,changeDetection:0})}return b})();const lt=["*"];let yt=(()=>{class b{constructor(){this.config={}}static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-inline-group"]],hostAttrs:[1,"gui-inline-group"],inputs:{config:"config"},ngContentSelectors:lt,decls:3,vars:1,consts:[[3,"config"],[1,"gui-inline-group-content"]],template:function(M,E){1&M&&(n.F$t(),n._UZ(0,"gui-field-label",0),n.TgZ(1,"div",1),n.Hsn(2),n.qZA()),2&M&&n.Q6J("config",E.config)},dependencies:[be],styles:[".gui-inline-group{display:flex;padding:4px 8px}.gui-inline-group-content{display:inline-flex;flex:1;flex-flow:row wrap;margin:0 -4px}.gui-inline-group-content>.gui-field-group,.gui-inline-group-content>.gui-inline-group,.gui-inline-group-content>.mat-expansion-panel,.gui-inline-group-content>.gui-menu{width:100%;padding:0 4px}\n"],encapsulation:2,changeDetection:0})}return b})();var Jt=g(6912);function Bt(b,j){if(1&b&&(n.TgZ(0,"span",6),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.prefix)}}function Vt(b,j){if(1&b&&(n._UZ(0,"img",7),n.TgZ(1,"span"),n._uU(2),n.qZA()),2&b){const h=j.item;n.Q6J("src",h.src,n.LSH)("alt",h.label),n.xp6(2),n.Oqu(h.label)}}function Ft(b,j){if(1&b&&(n._UZ(0,"img",7),n.TgZ(1,"span"),n._uU(2),n.qZA()),2&b){const h=j.item;n.Q6J("src",h.src,n.LSH)("alt",h.label),n.xp6(2),n.Oqu(h.label)}}function Cn(b,j){if(1&b&&(n.TgZ(0,"span",8),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.suffix)}}function un(b,j){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",9),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}const nn=function(){return[]};let pn=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}onPanelOpened(){}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-image-select"]],hostAttrs:[1,"gui-field","gui-image-select"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:7,vars:8,consts:[["matPrefix","",4,"ngIf"],["appendTo",".gui-form","bindValue","value",3,"items","ngModel","disabled","placeholder","ngModelChange","change","open"],["ng-label-tmp",""],["ng-option-tmp",""],["matSuffix","",4,"ngIf"],[4,"ngIf"],["matPrefix",""],[3,"src","alt"],["matSuffix",""],[3,"config"]],template:function(M,E){1&M&&(n.TgZ(0,"mat-form-field"),n.YNc(1,Bt,2,1,"span",0),n.TgZ(2,"mtx-select",1),n.NdJ("ngModelChange",function(Ve){return E.value=Ve})("change",function(){return E.onValueChange()})("open",function(){return E.onPanelOpened()}),n.YNc(3,Vt,3,3,"ng-template",2),n.YNc(4,Ft,3,3,"ng-template",3),n.qZA(),n.YNc(5,Cn,2,1,"span",4),n.YNc(6,un,2,1,"mat-hint",5),n.qZA()),2&M&&(n.xp6(1),n.Q6J("ngIf",E.config.prefix),n.xp6(1),n.Q6J("items",E.config.options||n.DdM(7,nn))("ngModel",E.value)("disabled",E.disabled)("placeholder",E.config.placeholder||""),n.xp6(3),n.Q6J("ngIf",E.config.suffix),n.xp6(1),n.Q6J("ngIf","inline"===E.config.parentType))},dependencies:[S.O5,l.JJ,l.On,ue.KE,ue.bx,ue.qo,ue.R9,Jt.zP,Jt.lJ,Jt.re,be],styles:[".gui-form .ng-dropdown-panel .ng-dropdown-panel-items .ng-option img,.gui-image-select .ng-select .ng-value img{height:100%;max-width:120px;object-fit:contain;border-radius:4px;background-color:var(--mat-option-hover-state-layer-color)}.gui-image-select .ng-select{padding:0 8px;margin:0 -8px}.gui-image-select .ng-select .ng-value-container{height:64px}.gui-image-select .ng-select .ng-value{display:inline-flex;align-items:center;gap:8px;height:100%;padding:8px 0}.gui-form .ng-dropdown-panel .ng-dropdown-panel-items .ng-option{display:flex;align-items:center;gap:8px;height:64px;padding:8px}\n"],encapsulation:2,changeDetection:0})}return b})();function bn(b,j){if(1&b&&(n.TgZ(0,"span",4),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.prefix)}}function In(b,j){if(1&b&&(n.TgZ(0,"span",5),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.suffix)}}function Tn(b,j){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",6),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}let at=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.value="",this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-textarea"]],hostAttrs:[1,"gui-field","gui-textarea"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:5,vars:7,consts:[["matPrefix","",4,"ngIf"],["matInput","",3,"ngModel","disabled","placeholder","rows","ngModelChange","change"],["matSuffix","",4,"ngIf"],[4,"ngIf"],["matPrefix",""],["matSuffix",""],[3,"config"]],template:function(M,E){1&M&&(n.TgZ(0,"mat-form-field"),n.YNc(1,bn,2,1,"span",0),n.TgZ(2,"textarea",1),n.NdJ("ngModelChange",function(Ve){return E.value=Ve})("change",function(){return E.onValueChange()}),n.qZA(),n.YNc(3,In,2,1,"span",2),n.YNc(4,Tn,2,1,"mat-hint",3),n.qZA()),2&M&&(n.xp6(1),n.Q6J("ngIf",E.config.prefix),n.xp6(1),n.Q6J("ngModel",E.value)("disabled",E.disabled)("placeholder",E.config.placeholder||"")("rows",E.config.rows),n.xp6(1),n.Q6J("ngIf",E.config.suffix),n.xp6(1),n.Q6J("ngIf","inline"===E.config.parentType))},dependencies:[S.O5,l.Fj,l.JJ,l.On,ue.KE,ue.bx,ue.qo,ue.R9,ie.Nt,be],encapsulation:2,changeDetection:0})}return b})();var Nt=g(9862),Ke=g(2096),mt=g(6306),gt=g(4716),Yt=g(7836);const ge=["fileInput"];function J(b,j){if(1&b){const h=n.EpF();n.TgZ(0,"button",8),n.NdJ("click",function(){n.CHM(h);const E=n.oxw();return n.KtG(E.onClear())}),n._UZ(1,"mat-icon",9),n.qZA()}if(2&b){const h=n.oxw();n.Q6J("disabled",h.disabled)}}function I(b,j){if(1&b&&n._UZ(0,"img",14),2&b){const h=n.oxw(2);n.Q6J("src",h.url,n.LSH)}}function Y(b,j){if(1&b&&n._UZ(0,"video",14),2&b){const h=n.oxw(2);n.Q6J("src",h.url,n.LSH)}}function Ae(b,j){if(1&b&&n._UZ(0,"audio",15),2&b){const h=n.oxw(2);n.Q6J("src",h.url,n.LSH)}}function ut(b,j){1&b&&n._UZ(0,"mat-icon",16)}function Pe(b,j){if(1&b&&(n.ynx(0,10),n.YNc(1,I,1,1,"img",11),n.YNc(2,Y,1,1,"video",11),n.YNc(3,Ae,1,1,"audio",12),n.YNc(4,ut,1,0,"mat-icon",13),n.BQk()),2&b){const h=n.oxw();n.Q6J("ngSwitch",h.type),n.xp6(1),n.Q6J("ngSwitchCase","image"),n.xp6(1),n.Q6J("ngSwitchCase","video"),n.xp6(1),n.Q6J("ngSwitchCase","audio")}}function ee(b,j){1&b&&(n.TgZ(0,"div",17),n._UZ(1,"mat-icon",18),n.qZA())}let z=(()=>{class b{constructor(h,M){this.fileUploaderCfg=h,this.cdr=M,this.config={},this.disabled=!1,this.type="*",this.name="",this.accept="",this.fileChange=new n.vpe,this.url="",this.onChange=()=>{},this.onTouched=()=>{}}ngOnChanges(h){h.type&&(this.accept=this.type+"/*")}writeValue(h){this.url=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}upload(h){const M=new FormData;M.append("file",h.data||""),h.inProgress=!0,this.fileUploaderCfg.upload(M).pipe((0,mt.K)(E=>(h.inProgress=!1,(0,Ke.of)(`${h.data?.name||"File"} upload failed.`))),(0,gt.x)(()=>{})).subscribe(E=>{E instanceof Nt.Zn&&E.body&&(this.url=E.body.data,this.onChange(this.url),this.onTouched(),this.fileChange.emit(this.url)),this.cdr.detectChanges()})}onUrlChange(h){this.url=h.target.value,this.onChange(this.url),this.fileChange.emit(this.url)}onFileChange(h){this.file={data:h.target.files[0],inProgress:!1,progress:0},this.upload(this.file),h.target.value=""}onBlur(){this.onTouched()}onClear(){this.url="",this.onChange(this.url),this.onTouched(),this.fileChange.emit(this.url)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(Yt.E),n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-file-uploader"]],viewQuery:function(M,E){if(1&M&&n.Gf(ge,5),2&M){let De;n.iGM(De=n.CRH())&&(E.fileInput=De.first)}},hostAttrs:[1,"gui-file-uploader"],inputs:{config:"config",disabled:"disabled",type:"type",name:"name",accept:"accept"},outputs:{fileChange:"fileChange"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}]),n.TTD],decls:9,vars:9,consts:[["matPrefix","","svgIcon","link"],["matInput","","type","text",3,"ngModel","disabled","placeholder","change","blur"],["matSuffix","","mat-icon-button","","color","warn",3,"disabled","click",4,"ngIf"],[1,"gui-file-content"],[3,"ngSwitch",4,"ngIf"],["class","gui-file-placeholder",4,"ngIf"],["type","file","tabindex","-1",3,"accept","name","disabled","change"],["fileInput",""],["matSuffix","","mat-icon-button","","color","warn",3,"disabled","click"],["svgIcon","close"],[3,"ngSwitch"],[3,"src",4,"ngSwitchCase"],["controls","",3,"src",4,"ngSwitchCase"],["svgIcon","file_outline",4,"ngSwitchDefault"],[3,"src"],["controls","",3,"src"],["svgIcon","file_outline"],[1,"gui-file-placeholder"],["svgIcon","file_upload"]],template:function(M,E){1&M&&(n.TgZ(0,"mat-form-field"),n._UZ(1,"mat-icon",0),n.TgZ(2,"input",1),n.NdJ("change",function(Ve){return E.onUrlChange(Ve)})("blur",function(){return E.onBlur()}),n.qZA(),n.YNc(3,J,2,1,"button",2),n.qZA(),n.TgZ(4,"figure",3),n.YNc(5,Pe,5,4,"ng-container",4),n.YNc(6,ee,2,0,"div",5),n.TgZ(7,"input",6,7),n.NdJ("change",function(Ve){return E.onFileChange(Ve)}),n.qZA()()),2&M&&(n.xp6(2),n.Q6J("ngModel",E.url)("disabled",E.disabled)("placeholder",E.config.placeholder||""),n.xp6(1),n.Q6J("ngIf",E.url),n.xp6(2),n.Q6J("ngIf",E.url),n.xp6(1),n.Q6J("ngIf",!E.url),n.xp6(1),n.Q6J("accept",E.accept)("name",E.name)("disabled",E.disabled))},dependencies:[S.O5,S.RF,S.n9,S.ED,l.Fj,l.JJ,l.On,ue.KE,ue.qo,ue.R9,ie.Nt,te.Hw,Se.RK],styles:[".gui-file-uploader{display:block;overflow:auto;flex:1}.gui-file-uploader .mat-mdc-form-field{width:100%}.gui-file-uploader .gui-file-content{position:relative;display:flex;align-items:center;justify-content:center;height:120px;margin:4px 0 0;padding:4px;background-color:var(--mdc-filled-text-field-container-color);border:1px solid transparent;border-radius:4px}.gui-file-uploader .gui-file-content:hover{border-color:currentColor}.gui-file-uploader .gui-file-content img,.gui-file-uploader .gui-file-content video{width:100%;height:100%;object-fit:contain}.gui-file-uploader .gui-file-content input[type=file]{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.gui-file-uploader .gui-file-content .mat-icon svg{width:24px;height:24px}\n"],encapsulation:2,changeDetection:0})}return b})();function D(b,j){}const B=function(b,j){return{$implicit:b,formGroup:j}};function he(b,j){if(1&b&&(n.TgZ(0,"div"),n.YNc(1,D,0,0,"ng-template",3),n.qZA()),2&b){const h=j.$implicit,M=n.oxw(),E=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",E)("ngTemplateOutletContext",n.WLB(2,B,h,M.form))}}function X(b,j){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-input-text",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function ne(b,j){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-input-number",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function Oe(b,j){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-select",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function nt(b,j){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-switch",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function Et(b,j){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-slider",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function Ot(b,j){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-button-toggle",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function Tt(b,j){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-fill",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function $t(b,j){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-file-uploader",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function qt(b,j){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-file-uploader",13),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function Fn(b,j){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-file-uploader",14),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function $n(b,j){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-file-uploader",15),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function zn(b,j){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-image-select",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function Nn(b,j){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-textarea",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function ei(b,j){if(1&b&&n._UZ(0,"input",16),2&b){const h=n.oxw().$implicit;n.Q6J("formControlName",h.key)}}function di(b,j){}const mn=function(b,j,h){return{$implicit:b,parent:j,formGroup:h}};function vn(b,j){if(1&b&&(n.ynx(0),n.YNc(1,di,0,0,"ng-template",3),n.BQk()),2&b){const h=j.$implicit,M=n.oxw(2),E=M.$implicit,De=M.formGroup;n.oxw();const Ve=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",Ve)("ngTemplateOutletContext",n.kEZ(2,mn,h,E,De.get(E.key)))}}function ui(b,j){if(1&b&&(n.TgZ(0,"gui-inline-group",17),n.YNc(1,vn,2,6,"ng-container",1),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("formGroupName",h.key),n.xp6(1),n.Q6J("ngForOf",h.children)}}function pi(b,j){}function kn(b,j){if(1&b&&(n.TgZ(0,"div"),n.YNc(1,pi,0,0,"ng-template",3),n.qZA()),2&b){const h=j.$implicit,M=n.oxw(3),E=M.$implicit,De=M.formGroup;n.oxw();const Ve=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",Ve)("ngTemplateOutletContext",n.kEZ(2,mn,h,E,De.get(E.key)))}}function ti(b,j){if(1&b&&n.YNc(0,kn,2,6,"div",1),2&b){const h=n.oxw(2).$implicit;n.Q6J("ngForOf",h.children)}}function hi(b,j){if(1&b){const h=n.EpF();n.TgZ(0,"mat-expansion-panel",18),n.NdJ("expandedChange",function(E){n.CHM(h);const De=n.oxw().$implicit;return n.KtG(De.expanded=E)}),n.TgZ(1,"mat-expansion-panel-header"),n._UZ(2,"gui-field-label",19),n.qZA(),n.YNc(3,ti,1,1,"ng-template",20),n.qZA()}if(2&b){const h=n.oxw().$implicit;n.Q6J("formGroupName",h.key)("expanded",h.expanded)("disabled",h.disabled),n.xp6(2),n.Q6J("config",h)}}function ai(b,j){if(1&b){const h=n.EpF();n.ynx(0),n.TgZ(1,"button",26),n.NdJ("click",function(E){n.CHM(h);const De=n.oxw(3),Ve=De.$implicit,Pt=De.formGroup,hn=n.oxw();return n.KtG(hn.addTab(E,Pt.get(Ve.key),Ve))}),n._UZ(2,"mat-icon",27),n.qZA(),n.TgZ(3,"button",26),n.NdJ("click",function(E){n.CHM(h);const De=n.oxw(3),Ve=De.$implicit,Pt=De.formGroup,hn=n.oxw();return n.KtG(hn.removeTab(E,Pt.get(Ve.key),Ve))}),n._UZ(4,"mat-icon",28),n.qZA(),n.BQk()}if(2&b){const h=n.oxw(3).$implicit;n.xp6(1),n.Q6J("disabled",h.disabled),n.xp6(2),n.Q6J("disabled",h.disabled)}}function Kn(b,j){if(1&b){const h=n.EpF();n.ynx(0),n.TgZ(1,"button",23),n.NdJ("click",function(E){n.CHM(h);const De=n.oxw(2).$implicit,Ve=n.oxw();return n.KtG(Ve.changeTabsMode(E,De,"nav"))}),n._UZ(2,"mat-icon",24),n.qZA(),n.TgZ(3,"button",23),n.NdJ("click",function(E){n.CHM(h);const De=n.oxw(2).$implicit,Ve=n.oxw();return n.KtG(Ve.changeTabsMode(E,De,"list"))}),n._UZ(4,"mat-icon",25),n.qZA(),n.YNc(5,ai,5,2,"ng-container",22),n.BQk()}if(2&b){const h=n.oxw(2).$implicit;n.xp6(1),n.Q6J("color","list"!==h.mode?"primary":""),n.xp6(2),n.Q6J("color","list"===h.mode?"primary":""),n.xp6(2),n.Q6J("ngIf",h.template&&(h.addable||void 0===h.addable))}}const mi=function(b){return{i:b}};function N(b,j){if(1&b&&(n.TgZ(0,"div"),n._uU(1),n.ALo(2,"ejs"),n.qZA()),2&b){const h=n.oxw(),M=h.$implicit,E=h.index;n.xp6(1),n.Oqu(n.xi3(2,1,M.name,n.VKq(4,mi,E)))}}function de(b,j){}const x=function(b){return[b]};function q(b,j){if(1&b&&(n.ynx(0),n.YNc(1,de,0,0,"ng-template",3),n.BQk()),2&b){const h=n.oxw().$implicit,M=n.oxw(4),E=M.$implicit,De=M.formGroup;n.oxw();const Ve=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",Ve)("ngTemplateOutletContext",n.kEZ(4,mn,h,E,De.get(n.VKq(2,x,E.key))))}}function pe(b,j){}const We=function(b,j){return[b,j]};function pt(b,j){if(1&b&&(n.TgZ(0,"div"),n.YNc(1,pe,0,0,"ng-template",3),n.qZA()),2&b){const h=j.$implicit,M=n.oxw(2).index,E=n.oxw(4),De=E.$implicit,Ve=E.formGroup;n.oxw();const Pt=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",Pt)("ngTemplateOutletContext",n.kEZ(5,mn,h,De,Ve.get(n.WLB(2,We,De.key,M))))}}function on(b,j){if(1&b&&(n.ynx(0),n.YNc(1,pt,2,9,"div",1),n.BQk()),2&b){const h=n.oxw().$implicit;n.xp6(1),n.Q6J("ngForOf",h.children)}}function Qt(b,j){if(1&b&&(n.TgZ(0,"mat-tab",33),n.YNc(1,N,3,6,"ng-template",34),n.YNc(2,q,2,8,"ng-container",22),n.YNc(3,on,2,1,"ng-container",22),n.qZA()),2&b){const h=j.$implicit;n.Q6J("disabled",h.disabled),n.xp6(2),n.Q6J("ngIf",!h.children||0===h.children.length||"tabs"===h.type),n.xp6(1),n.Q6J("ngIf",(null==h.children?null:h.children.length)>0&&"tabs"!==h.type)}}function gi(b,j){if(1&b&&(n.TgZ(0,"mat-tab-group",31),n.YNc(1,Qt,4,3,"mat-tab",32),n.qZA()),2&b){const h=n.oxw(3).$implicit;n.Q6J("mat-stretch-tabs",!1),n.xp6(1),n.Q6J("ngForOf",h.children)}}function yo(b,j){if(1&b){const h=n.EpF();n.ynx(0),n.TgZ(1,"button",26),n.NdJ("click",function(E){n.CHM(h);const De=n.oxw().index,Ve=n.oxw(4),Pt=Ve.$implicit,hn=Ve.formGroup,Zt=n.oxw();return n.KtG(Zt.addTab(E,hn.get(Pt.key),Pt,De))}),n._UZ(2,"mat-icon",27),n.qZA(),n.TgZ(3,"button",26),n.NdJ("click",function(E){n.CHM(h);const De=n.oxw().index,Ve=n.oxw(4),Pt=Ve.$implicit,hn=Ve.formGroup,Zt=n.oxw();return n.KtG(Zt.removeTab(E,hn.get(Pt.key),Pt,De))}),n._UZ(4,"mat-icon",28),n.qZA(),n.BQk()}if(2&b){const h=n.oxw(5).$implicit;n.xp6(1),n.Q6J("disabled",h.disabled),n.xp6(2),n.Q6J("disabled",h.disabled)}}function oi(b,j){}function xo(b,j){if(1&b&&(n.ynx(0),n.YNc(1,oi,0,0,"ng-template",3),n.BQk()),2&b){const h=n.oxw().$implicit,M=n.oxw(4),E=M.$implicit,De=M.formGroup;n.oxw();const Ve=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",Ve)("ngTemplateOutletContext",n.kEZ(4,mn,h,E,De.get(n.VKq(2,x,E.key))))}}function Jo(b,j){}function qi(b,j){if(1&b&&(n.TgZ(0,"div"),n.YNc(1,Jo,0,0,"ng-template",3),n.qZA()),2&b){const h=j.$implicit,M=n.oxw(2).index,E=n.oxw(4),De=E.$implicit,Ve=E.formGroup;n.oxw();const Pt=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",Pt)("ngTemplateOutletContext",n.kEZ(5,mn,h,De,Ve.get(n.WLB(2,We,De.key,M))))}}function Co(b,j){if(1&b&&(n.ynx(0),n.YNc(1,qi,2,9,"div",1),n.BQk()),2&b){const h=n.oxw().$implicit;n.xp6(1),n.Q6J("ngForOf",h.children)}}function Yi(b,j){if(1&b&&(n.TgZ(0,"div",37)(1,"div",38)(2,"span",39),n._uU(3),n.ALo(4,"ejs"),n.qZA(),n.YNc(5,yo,5,2,"ng-container",22),n.qZA(),n.TgZ(6,"div",40),n.YNc(7,xo,2,8,"ng-container",22),n.YNc(8,Co,2,1,"ng-container",22),n.qZA()()),2&b){const h=j.$implicit,M=j.index,E=n.oxw(4).$implicit;n.xp6(3),n.Oqu(n.xi3(4,4,h.name,n.VKq(7,mi,M))),n.xp6(2),n.Q6J("ngIf",E.template&&(E.addable||void 0===E.addable)),n.xp6(2),n.Q6J("ngIf",!h.children||0===h.children.length||"tabs"===h.type),n.xp6(1),n.Q6J("ngIf",(null==h.children?null:h.children.length)>0&&"tabs"!==h.type)}}function eo(b,j){if(1&b&&(n.TgZ(0,"div",35),n.YNc(1,Yi,9,9,"div",36),n.qZA()),2&b){const h=n.oxw(3).$implicit;n.xp6(1),n.Q6J("ngForOf",h.children)}}function No(b,j){if(1&b&&(n.YNc(0,gi,2,2,"mat-tab-group",29),n.YNc(1,eo,2,1,"div",30)),2&b){const h=n.oxw(2).$implicit;n.Q6J("ngIf","list"!==h.mode),n.xp6(1),n.Q6J("ngIf","list"===h.mode)}}function lo(b,j){if(1&b){const h=n.EpF();n.TgZ(0,"mat-expansion-panel",21),n.NdJ("expandedChange",function(E){n.CHM(h);const De=n.oxw().$implicit;return n.KtG(De.expanded=E)}),n.TgZ(1,"mat-expansion-panel-header"),n._UZ(2,"gui-field-label",19),n.YNc(3,Kn,6,3,"ng-container",22),n.qZA(),n.YNc(4,No,2,2,"ng-template",20),n.qZA()}if(2&b){const h=n.oxw().$implicit;n.Q6J("formArrayName",h.key)("expanded",h.expanded)("disabled",h.disabled),n.xp6(2),n.Q6J("config",h),n.xp6(1),n.Q6J("ngIf",h.expanded)}}function Bi(b,j){}function gn(b,j){if(1&b&&(n.TgZ(0,"div",46),n.YNc(1,Bi,0,0,"ng-template",3),n.qZA()),2&b){const h=j.$implicit,M=n.oxw(3).$implicit,E=n.oxw(2),De=E.$implicit,Ve=E.formGroup;n.oxw();const Pt=n.MAs(3);n.Q6J("formGroupName",M.key),n.xp6(1),n.Q6J("ngTemplateOutlet",Pt)("ngTemplateOutletContext",n.WLB(6,B,h,Ve.get(n.WLB(3,We,De.key,M.key))))}}function Bn(b,j){if(1&b&&(n.ynx(0),n.YNc(1,gn,2,9,"div",45),n.BQk()),2&b){const h=n.oxw(2).$implicit;n.xp6(1),n.Q6J("ngForOf",h.children)}}function Qn(b,j){}function ni(b,j){if(1&b&&(n.ynx(0),n.YNc(1,Qn,0,0,"ng-template",3),n.BQk()),2&b){const h=n.oxw(2).$implicit,M=n.oxw(2),E=M.$implicit,De=M.formGroup;n.oxw();const Ve=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",Ve)("ngTemplateOutletContext",n.WLB(2,B,h,De.get(E.key)))}}function Jn(b,j){if(1&b&&(n.YNc(0,Bn,2,1,"ng-container",22),n.YNc(1,ni,2,5,"ng-container",22)),2&b){const h=n.oxw().$implicit;n.Q6J("ngIf","menuItem"===h.type),n.xp6(1),n.Q6J("ngIf","menu"===h.type)}}function Vi(b,j){if(1&b&&(n.TgZ(0,"mat-tab",43),n.YNc(1,Jn,2,2,"ng-template",44),n.qZA()),2&b){const h=j.$implicit;n.Q6J("label",h.name)("disabled",h.disabled)}}function wo(b,j){if(1&b&&(n.TgZ(0,"mat-tab-group",41),n.YNc(1,Vi,2,2,"mat-tab",42),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("formGroupName",h.key),n.xp6(1),n.Q6J("ngForOf",h.children)}}function Ii(b,j){if(1&b&&(n.ynx(0,4),n.YNc(1,X,2,4,"gui-field-group",5),n.YNc(2,ne,2,4,"gui-field-group",5),n.YNc(3,Oe,2,4,"gui-field-group",5),n.YNc(4,nt,2,4,"gui-field-group",5),n.YNc(5,Et,2,4,"gui-field-group",5),n.YNc(6,Ot,2,4,"gui-field-group",5),n.YNc(7,Tt,2,4,"gui-field-group",5),n.YNc(8,$t,2,4,"gui-field-group",5),n.YNc(9,qt,2,4,"gui-field-group",5),n.YNc(10,Fn,2,4,"gui-field-group",5),n.YNc(11,$n,2,4,"gui-field-group",5),n.YNc(12,zn,2,4,"gui-field-group",5),n.YNc(13,Nn,2,4,"gui-field-group",5),n.YNc(14,ei,1,1,"input",6),n.YNc(15,ui,2,3,"gui-inline-group",7),n.YNc(16,hi,4,4,"mat-expansion-panel",8),n.YNc(17,lo,5,5,"mat-expansion-panel",9),n.YNc(18,wo,2,2,"mat-tab-group",10),n.BQk()),2&b){const M=j.formGroup;n.Q6J("ngSwitch",j.$implicit.type)("formGroup",M),n.xp6(1),n.Q6J("ngSwitchCase","text"),n.xp6(1),n.Q6J("ngSwitchCase","number"),n.xp6(1),n.Q6J("ngSwitchCase","select"),n.xp6(1),n.Q6J("ngSwitchCase","switch"),n.xp6(1),n.Q6J("ngSwitchCase","slider"),n.xp6(1),n.Q6J("ngSwitchCase","buttonToggle"),n.xp6(1),n.Q6J("ngSwitchCase","fill"),n.xp6(1),n.Q6J("ngSwitchCase","file"),n.xp6(1),n.Q6J("ngSwitchCase","image"),n.xp6(1),n.Q6J("ngSwitchCase","video"),n.xp6(1),n.Q6J("ngSwitchCase","audio"),n.xp6(1),n.Q6J("ngSwitchCase","imageSelect"),n.xp6(1),n.Q6J("ngSwitchCase","textarea"),n.xp6(1),n.Q6J("ngSwitchCase","hidden"),n.xp6(1),n.Q6J("ngSwitchCase","inline"),n.xp6(1),n.Q6J("ngSwitchCase","group"),n.xp6(1),n.Q6J("ngSwitchCase","tabs"),n.xp6(1),n.Q6J("ngSwitchCase","menu")}}let Wi=(()=>{class b{constructor(h){this.cdr=h,this.form=new l.cw({}),this.config={},this.model={},this.modelChange=new n.vpe,this.formFields=[],this.formSubscription=R.w0.EMPTY}ngOnChanges(h){h.config&&(this.form.controls={},this.formFields=this.getFormFieldArray(this.form,this.config,this.model)),h.model&&this.model&&Object.keys(this.model).length>0&&this.form.patchValue(this.model)}ngOnInit(){this.formSubscription=this.form.valueChanges.subscribe(h=>{Object.assign(this.model,h),this.modelChange.emit(h)})}ngOnDestroy(){this.formSubscription.unsubscribe()}getFormFieldArray(h,M={},E={},De=null,Ve="group",Pt={emitEvent:!1}){const hn=[];for(const Zt of Object.keys(M)){const Pn=M[Zt].template?[]:M[Zt].children,St={_type:Pn?Array.isArray(Pn)?"array":"group":"control",key:Zt,parentType:Ve,model:E[Zt],default:De?.[Zt],index:Number(Zt),...M[Zt]};if(St.children&&null==E[Zt]&&null==St.default&&(St.model=E[Zt]="array"===St._type?[]:{}),"object"==typeof E&&null==E[Zt]&&(E[Zt]=St.default),St.template&&(Array.isArray(St.model)&&St.model.length>0&&(St.default=St.model),St.children=St.default?.length?St.default.map(On=>(Object.assign(On,St.template?.default),{default:On,...St.template})):[]),"control"===St._type){const On={value:St.default,disabled:St.disabled};h instanceof l.cw?h.registerControl(St.key,new l.NI(On)):h instanceof l.Oe&&h.insert(St.index||h.length,new l.NI(On),Pt)}else if("array"===St._type){let On=new l.Oe([]);h instanceof l.cw?On=h.registerControl(St.key,new l.Oe([])):h instanceof l.Oe&&h.insert(St.index||h.length,On,Pt),St.children=this.getFormFieldArray(On,St.children,St.model,St.default,St.type)}else if("group"===St._type){let On=new l.cw({});h instanceof l.cw?On=h.registerControl(St.key,new l.cw({})):h instanceof l.Oe&&h.insert(St.index||h.length,On,Pt),St.children=this.getFormFieldArray(On,St.children,St.model,St.default,St.type)}hn.push(St)}return hn}addTab(h,M,E,De){h.stopPropagation();const Ve=void 0===De?E.children.length:De+1;E.template.index=Ve,E.children.forEach((hn,Zt)=>{Zt>=Ve&&(hn.index+=1,hn.key=hn.index.toString())});const Pt=this.getFormFieldArray(M,{[Ve]:E.template},{},null,"tabs",{emitEvent:!0});E.children.splice(Ve,0,Pt[0])}removeTab(h,M,E,De){h.stopPropagation();const Ve=void 0===De?E.children.length-1:De;E.children.forEach((Pt,hn)=>{hn>Ve&&(Pt.index-=1,Pt.key=Pt.index.toString())}),E.children.splice(Ve,1),M.removeAt(Ve)}changeTabsMode(h,M,E){h.stopPropagation(),M.mode=E}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-form"]],hostAttrs:[1,"gui-form"],inputs:{form:"form",config:"config",model:"model"},outputs:{modelChange:"modelChange"},features:[n.TTD],decls:4,vars:2,consts:[[3,"formGroup"],[4,"ngFor","ngForOf"],["controlType",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch","formGroup"],[3,"config","flex",4,"ngSwitchCase"],["type","hidden",3,"formControlName",4,"ngSwitchCase"],[3,"config","formGroupName",4,"ngSwitchCase"],[3,"formGroupName","expanded","disabled","expandedChange",4,"ngSwitchCase"],[3,"formArrayName","expanded","disabled","expandedChange",4,"ngSwitchCase"],["class","gui-menu","disableRipple","",3,"formGroupName",4,"ngSwitchCase"],[3,"config","flex"],[3,"formControlName","config"],["type","image",3,"formControlName","config"],["type","video",3,"formControlName","config"],["type","audio",3,"formControlName","config"],["type","hidden",3,"formControlName"],[3,"config","formGroupName"],[3,"formGroupName","expanded","disabled","expandedChange"],[3,"config"],["matExpansionPanelContent",""],[3,"formArrayName","expanded","disabled","expandedChange"],[4,"ngIf"],["mat-icon-button","","type","button",3,"color","click"],["svgIcon","dots_horizontal"],["svgIcon","dots_vertical"],["mat-icon-button","","type","button",3,"disabled","click"],["svgIcon","plus"],["svgIcon","delete"],["class","gui-tabs","disableRipple","",3,"mat-stretch-tabs",4,"ngIf"],["class","gui-list",4,"ngIf"],["disableRipple","",1,"gui-tabs",3,"mat-stretch-tabs"],[3,"disabled",4,"ngFor","ngForOf"],[3,"disabled"],["mat-tab-label",""],[1,"gui-list"],["class","gui-list-item",4,"ngFor","ngForOf"],[1,"gui-list-item"],[1,"gui-list-item-heading"],[1,"gui-list-item-title"],[1,"gui-list-item-content"],["disableRipple","",1,"gui-menu",3,"formGroupName"],[3,"label","disabled",4,"ngFor","ngForOf"],[3,"label","disabled"],["matTabContent",""],[3,"formGroupName",4,"ngFor","ngForOf"],[3,"formGroupName"]],template:function(M,E){1&M&&(n.TgZ(0,"form",0),n.YNc(1,he,2,5,"div",1),n.qZA(),n.YNc(2,Ii,19,20,"ng-template",null,2,n.W1O)),2&M&&(n.Q6J("formGroup",E.form),n.xp6(1),n.Q6J("ngForOf",E.formFields))},dependencies:[S.sg,S.O5,S.tP,S.RF,S.n9,l._Y,l.Fj,l.JJ,l.JL,l.sg,l.u,l.x0,l.CE,te.Hw,Se.RK,le.Vc,le.uD,le.uX,le.SP,ke.ib,ke.yz,ke.HS,H,Re,Xe,P,qe,Lt,ce,st,be,yt,pn,at,z,me,fe],styles:['.gui-form{--mat-form-field-container-text-size: 12px;--mat-expansion-header-text-size: 12px;--mat-expansion-container-text-size: 12px;--mat-expansion-header-collapsed-state-height: 32px;--mat-expansion-header-expanded-state-height: 32px;position:relative;font-size:12px}.gui-form .mat-expansion-panel{--mat-expansion-container-shape: 0;box-shadow:none!important}.gui-form .mat-expansion-panel-body{padding:0}.gui-form .mat-expansion-panel-header{padding:0 12px}.gui-form .mat-expansion-panel-header .mat-content{align-items:center;padding-right:8px}.gui-form .mat-expansion-panel-header .mat-content gui-field-label{flex:1}.gui-form .mat-expansion-indicator:after{vertical-align:2px}.gui-form .mat-mdc-tab-header{--mat-tab-header-label-text-size: 12px;--mdc-secondary-navigation-tab-container-height: 24px}.gui-form .mat-mdc-tab{min-width:auto;padding:0 12px}.gui-form .mat-icon{display:inline-flex;justify-content:center;align-items:center;padding:0!important}.gui-form .mat-icon svg{width:14px;height:14px}.gui-form .mat-mdc-icon-button{--mdc-icon-button-state-layer-size: 24px;--mdc-icon-button-icon-size: 14px;padding:0}.gui-form .mat-mdc-icon-button .mat-mdc-button-touch-target{width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size)}.gui-form .mat-mdc-text-field-wrapper,.gui-form .mat-mdc-form-field-hint-wrapper{position:relative;padding:0 8px;border-radius:var(--mdc-filled-text-field-container-shape)}[dir=rtl] .gui-form .mat-mdc-text-field-wrapper,[dir=rtl] .gui-form .mat-mdc-form-field-hint-wrapper{padding:0 8px}.gui-form .mat-mdc-form-field-infix{min-height:auto;padding:0!important}.gui-form .mat-mdc-form-field-hint-spacer,.gui-form .mat-mdc-form-field-bottom-align:before,.gui-form .mdc-line-ripple{display:none}.gui-list-item-heading{display:flex;align-items:center;position:relative;padding:0 12px;line-height:24px}.gui-list-item-heading .gui-list-item-title{flex:1}.gui-list-item-heading:before{position:absolute;left:0;width:2px;height:16px;background-color:var(--mat-expansion-header-text-color);content:""}.gui-menu .mat-mdc-tab-header{--mdc-tab-indicator-active-indicator-shape: 4px;padding:4px;background-color:var(--mdc-filled-text-field-container-color)}.gui-menu .mat-mdc-tab-header .mdc-tab__ripple:before{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.gui-menu .mat-mdc-tab-labels{gap:4px}.gui-menu .mdc-tab-indicator .mdc-tab-indicator__content{height:100%;border-width:0;border-radius:var(--mdc-tab-indicator-active-indicator-shape);background-color:var(--mdc-tab-indicator-active-indicator-color)}.gui-menu .mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:.24}\n'],encapsulation:2,changeDetection:0})}return b})()},7105:(Mt,je,g)=>{g.d(je,{i:()=>ve});var n=g(6814),l=g(6223),R=g(9157),S=g(4516),te=g(617),Se=g(8525),le=g(2202),ke=g(2599),ue=g(9488),ie=g(2296),we=g(4104),fe=g(3305),me=g(2596),Te=g(4318),Le=g(6912),Ue=g(7836);const be={dots_horizontal:'\n \n \n \n ',dots_vertical:'\n \n \n \n ',plus:'\n \n \n \n ',delete:'\n \n \n \n ',link:'\n \n \n \n ',close:'\n \n \n \n ',file_outline:'\n \n \n \n ',file_upload:'\n \n \n \n '};var ye=g(5879),Je=g(6593);let ve=(()=>{class H{constructor(oe,Ie){for(const Re of Object.keys(be))oe.addSvgIconLiteral(Re,Ie.bypassSecurityTrustHtml(be[Re]))}static#e=this.\u0275fac=function(Ie){return new(Ie||H)(ye.LFG(te.jv),ye.LFG(Je.H7))};static#t=this.\u0275mod=ye.oAB({type:H});static#n=this.\u0275inj=ye.cJS({providers:[Ue.E],imports:[n.ez,l.UX,l.u5,R.lN,S.c,Se.LD,le.KP,ke.rP,ue.vV,te.Ps,ie.ot,we.Nh,fe.To,me.AV,Te.tf,Le.F3]})}return H})()},5619:(Mt,je,g)=>{g.d(je,{X:()=>l});var n=g(8645);class l extends n.x{constructor(S){super(),this._value=S}get value(){return this.getValue()}_subscribe(S){const te=super._subscribe(S);return!te.closed&&S.next(this._value),te}getValue(){const{hasError:S,thrownError:te,_value:Se}=this;if(S)throw te;return this._throwIfClosed(),Se}next(S){super.next(this._value=S)}}},5592:(Mt,je,g)=>{g.d(je,{y:()=>ke});var n=g(305),l=g(7394),R=g(4850),S=g(8407),te=g(2653),Se=g(4674),le=g(1441);let ke=(()=>{class fe{constructor(Te){Te&&(this._subscribe=Te)}lift(Te){const Le=new fe;return Le.source=this,Le.operator=Te,Le}subscribe(Te,Le,Ue){const be=function we(fe){return fe&&fe instanceof n.Lv||function ie(fe){return fe&&(0,Se.m)(fe.next)&&(0,Se.m)(fe.error)&&(0,Se.m)(fe.complete)}(fe)&&(0,l.Nn)(fe)}(Te)?Te:new n.Hp(Te,Le,Ue);return(0,le.x)(()=>{const{operator:ye,source:Je}=this;be.add(ye?ye.call(be,Je):Je?this._subscribe(be):this._trySubscribe(be))}),be}_trySubscribe(Te){try{return this._subscribe(Te)}catch(Le){Te.error(Le)}}forEach(Te,Le){return new(Le=ue(Le))((Ue,be)=>{const ye=new n.Hp({next:Je=>{try{Te(Je)}catch(ve){be(ve),ye.unsubscribe()}},error:be,complete:Ue});this.subscribe(ye)})}_subscribe(Te){var Le;return null===(Le=this.source)||void 0===Le?void 0:Le.subscribe(Te)}[R.L](){return this}pipe(...Te){return(0,S.U)(Te)(this)}toPromise(Te){return new(Te=ue(Te))((Le,Ue)=>{let be;this.subscribe(ye=>be=ye,ye=>Ue(ye),()=>Le(be))})}}return fe.create=me=>new fe(me),fe})();function ue(fe){var me;return null!==(me=fe??te.config.Promise)&&void 0!==me?me:Promise}},8645:(Mt,je,g)=>{g.d(je,{x:()=>le});var n=g(5592),l=g(7394);const S=(0,g(2306).d)(ue=>function(){ue(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var te=g(9039),Se=g(1441);let le=(()=>{class ue extends n.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(we){const fe=new ke(this,this);return fe.operator=we,fe}_throwIfClosed(){if(this.closed)throw new S}next(we){(0,Se.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const fe of this.currentObservers)fe.next(we)}})}error(we){(0,Se.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=we;const{observers:fe}=this;for(;fe.length;)fe.shift().error(we)}})}complete(){(0,Se.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:we}=this;for(;we.length;)we.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var we;return(null===(we=this.observers)||void 0===we?void 0:we.length)>0}_trySubscribe(we){return this._throwIfClosed(),super._trySubscribe(we)}_subscribe(we){return this._throwIfClosed(),this._checkFinalizedStatuses(we),this._innerSubscribe(we)}_innerSubscribe(we){const{hasError:fe,isStopped:me,observers:Te}=this;return fe||me?l.Lc:(this.currentObservers=null,Te.push(we),new l.w0(()=>{this.currentObservers=null,(0,te.P)(Te,we)}))}_checkFinalizedStatuses(we){const{hasError:fe,thrownError:me,isStopped:Te}=this;fe?we.error(me):Te&&we.complete()}asObservable(){const we=new n.y;return we.source=this,we}}return ue.create=(ie,we)=>new ke(ie,we),ue})();class ke extends le{constructor(ie,we){super(),this.destination=ie,this.source=we}next(ie){var we,fe;null===(fe=null===(we=this.destination)||void 0===we?void 0:we.next)||void 0===fe||fe.call(we,ie)}error(ie){var we,fe;null===(fe=null===(we=this.destination)||void 0===we?void 0:we.error)||void 0===fe||fe.call(we,ie)}complete(){var ie,we;null===(we=null===(ie=this.destination)||void 0===ie?void 0:ie.complete)||void 0===we||we.call(ie)}_subscribe(ie){var we,fe;return null!==(fe=null===(we=this.source)||void 0===we?void 0:we.subscribe(ie))&&void 0!==fe?fe:l.Lc}}},305:(Mt,je,g)=>{g.d(je,{Hp:()=>Ue,Lv:()=>fe});var n=g(4674),l=g(7394),R=g(2653),S=g(3894),te=g(2420);const Se=ue("C",void 0,void 0);function ue(H,xe,oe){return{kind:H,value:xe,error:oe}}var ie=g(7599),we=g(1441);class fe extends l.w0{constructor(xe){super(),this.isStopped=!1,xe?(this.destination=xe,(0,l.Nn)(xe)&&xe.add(this)):this.destination=ve}static create(xe,oe,Ie){return new Ue(xe,oe,Ie)}next(xe){this.isStopped?Je(function ke(H){return ue("N",H,void 0)}(xe),this):this._next(xe)}error(xe){this.isStopped?Je(function le(H){return ue("E",void 0,H)}(xe),this):(this.isStopped=!0,this._error(xe))}complete(){this.isStopped?Je(Se,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(xe){this.destination.next(xe)}_error(xe){try{this.destination.error(xe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const me=Function.prototype.bind;function Te(H,xe){return me.call(H,xe)}class Le{constructor(xe){this.partialObserver=xe}next(xe){const{partialObserver:oe}=this;if(oe.next)try{oe.next(xe)}catch(Ie){be(Ie)}}error(xe){const{partialObserver:oe}=this;if(oe.error)try{oe.error(xe)}catch(Ie){be(Ie)}else be(xe)}complete(){const{partialObserver:xe}=this;if(xe.complete)try{xe.complete()}catch(oe){be(oe)}}}class Ue extends fe{constructor(xe,oe,Ie){let Re;if(super(),(0,n.m)(xe)||!xe)Re={next:xe??void 0,error:oe??void 0,complete:Ie??void 0};else{let $e;this&&R.config.useDeprecatedNextContext?($e=Object.create(xe),$e.unsubscribe=()=>this.unsubscribe(),Re={next:xe.next&&Te(xe.next,$e),error:xe.error&&Te(xe.error,$e),complete:xe.complete&&Te(xe.complete,$e)}):Re=xe}this.destination=new Le(Re)}}function be(H){R.config.useDeprecatedSynchronousErrorHandling?(0,we.O)(H):(0,S.h)(H)}function Je(H,xe){const{onStoppedNotification:oe}=R.config;oe&&ie.z.setTimeout(()=>oe(H,xe))}const ve={closed:!0,next:te.Z,error:function ye(H){throw H},complete:te.Z}},7394:(Mt,je,g)=>{g.d(je,{Lc:()=>Se,w0:()=>te,Nn:()=>le});var n=g(4674);const R=(0,g(2306).d)(ue=>function(we){ue(this),this.message=we?`${we.length} errors occurred during unsubscription:\n${we.map((fe,me)=>`${me+1}) ${fe.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=we});var S=g(9039);class te{constructor(ie){this.initialTeardown=ie,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let ie;if(!this.closed){this.closed=!0;const{_parentage:we}=this;if(we)if(this._parentage=null,Array.isArray(we))for(const Te of we)Te.remove(this);else we.remove(this);const{initialTeardown:fe}=this;if((0,n.m)(fe))try{fe()}catch(Te){ie=Te instanceof R?Te.errors:[Te]}const{_finalizers:me}=this;if(me){this._finalizers=null;for(const Te of me)try{ke(Te)}catch(Le){ie=ie??[],Le instanceof R?ie=[...ie,...Le.errors]:ie.push(Le)}}if(ie)throw new R(ie)}}add(ie){var we;if(ie&&ie!==this)if(this.closed)ke(ie);else{if(ie instanceof te){if(ie.closed||ie._hasParent(this))return;ie._addParent(this)}(this._finalizers=null!==(we=this._finalizers)&&void 0!==we?we:[]).push(ie)}}_hasParent(ie){const{_parentage:we}=this;return we===ie||Array.isArray(we)&&we.includes(ie)}_addParent(ie){const{_parentage:we}=this;this._parentage=Array.isArray(we)?(we.push(ie),we):we?[we,ie]:ie}_removeParent(ie){const{_parentage:we}=this;we===ie?this._parentage=null:Array.isArray(we)&&(0,S.P)(we,ie)}remove(ie){const{_finalizers:we}=this;we&&(0,S.P)(we,ie),ie instanceof te&&ie._removeParent(this)}}te.EMPTY=(()=>{const ue=new te;return ue.closed=!0,ue})();const Se=te.EMPTY;function le(ue){return ue instanceof te||ue&&"closed"in ue&&(0,n.m)(ue.remove)&&(0,n.m)(ue.add)&&(0,n.m)(ue.unsubscribe)}function ke(ue){(0,n.m)(ue)?ue():ue.unsubscribe()}},2653:(Mt,je,g)=>{g.d(je,{config:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},2572:(Mt,je,g)=>{g.d(je,{a:()=>ie});var n=g(5592),l=g(7453),R=g(7715),S=g(2737),te=g(7400),Se=g(9940),le=g(2714),ke=g(8251),ue=g(7103);function ie(...me){const Te=(0,Se.yG)(me),Le=(0,Se.jO)(me),{args:Ue,keys:be}=(0,l.D)(me);if(0===Ue.length)return(0,R.D)([],Te);const ye=new n.y(function we(me,Te,Le=S.y){return Ue=>{fe(Te,()=>{const{length:be}=me,ye=new Array(be);let Je=be,ve=be;for(let H=0;H{const xe=(0,R.D)(me[H],Te);let oe=!1;xe.subscribe((0,ke.x)(Ue,Ie=>{ye[H]=Ie,oe||(oe=!0,ve--),ve||Ue.next(Le(ye.slice()))},()=>{--Je||Ue.complete()}))},Ue)},Ue)}}(Ue,Te,be?Je=>(0,le.n)(be,Je):S.y));return Le?ye.pipe((0,te.Z)(Le)):ye}function fe(me,Te,Le){me?(0,ue.f)(Le,me,Te):Te()}},5211:(Mt,je,g)=>{g.d(je,{z:()=>te});var n=g(7537),R=g(9940),S=g(7715);function te(...Se){return function l(){return(0,n.J)(1)}()((0,S.D)(Se,(0,R.yG)(Se)))}},4911:(Mt,je,g)=>{g.d(je,{P:()=>R});var n=g(5592),l=g(4829);function R(S){return new n.y(te=>{(0,l.Xf)(S()).subscribe(te)})}},6232:(Mt,je,g)=>{g.d(je,{E:()=>l});const l=new(g(5592).y)(te=>te.complete())},9315:(Mt,je,g)=>{g.d(je,{D:()=>ke});var n=g(5592),l=g(7453),R=g(4829),S=g(9940),te=g(8251),Se=g(7400),le=g(2714);function ke(...ue){const ie=(0,S.jO)(ue),{args:we,keys:fe}=(0,l.D)(ue),me=new n.y(Te=>{const{length:Le}=we;if(!Le)return void Te.complete();const Ue=new Array(Le);let be=Le,ye=Le;for(let Je=0;Je{ve||(ve=!0,ye--),Ue[Je]=H},()=>be--,void 0,()=>{(!be||!ve)&&(ye||Te.next(fe?(0,le.n)(fe,Ue):Ue),Te.complete())}))}});return ie?me.pipe((0,Se.Z)(ie)):me}},7715:(Mt,je,g)=>{g.d(je,{D:()=>Ie});var n=g(4829),l=g(7103),R=g(9360),S=g(8251);function te(Re,$e=0){return(0,R.e)((ft,bt)=>{ft.subscribe((0,S.x)(bt,Dt=>(0,l.f)(bt,Re,()=>bt.next(Dt),$e),()=>(0,l.f)(bt,Re,()=>bt.complete(),$e),Dt=>(0,l.f)(bt,Re,()=>bt.error(Dt),$e)))})}function Se(Re,$e=0){return(0,R.e)((ft,bt)=>{bt.add(Re.schedule(()=>ft.subscribe(bt),$e))})}var ue=g(5592),we=g(4971),fe=g(4674);function Te(Re,$e){if(!Re)throw new Error("Iterable cannot be null");return new ue.y(ft=>{(0,l.f)(ft,$e,()=>{const bt=Re[Symbol.asyncIterator]();(0,l.f)(ft,$e,()=>{bt.next().then(Dt=>{Dt.done?ft.complete():ft.next(Dt.value)})},0,!0)})})}var Le=g(8382),Ue=g(4026),be=g(4266),ye=g(3664),Je=g(5726),ve=g(9853),H=g(541);function Ie(Re,$e){return $e?function oe(Re,$e){if(null!=Re){if((0,Le.c)(Re))return function le(Re,$e){return(0,n.Xf)(Re).pipe(Se($e),te($e))}(Re,$e);if((0,be.z)(Re))return function ie(Re,$e){return new ue.y(ft=>{let bt=0;return $e.schedule(function(){bt===Re.length?ft.complete():(ft.next(Re[bt++]),ft.closed||this.schedule())})})}(Re,$e);if((0,Ue.t)(Re))return function ke(Re,$e){return(0,n.Xf)(Re).pipe(Se($e),te($e))}(Re,$e);if((0,Je.D)(Re))return Te(Re,$e);if((0,ye.T)(Re))return function me(Re,$e){return new ue.y(ft=>{let bt;return(0,l.f)(ft,$e,()=>{bt=Re[we.h](),(0,l.f)(ft,$e,()=>{let Dt,Ut;try{({value:Dt,done:Ut}=bt.next())}catch(kt){return void ft.error(kt)}Ut?ft.complete():ft.next(Dt)},0,!0)}),()=>(0,fe.m)(bt?.return)&&bt.return()})}(Re,$e);if((0,H.L)(Re))return function xe(Re,$e){return Te((0,H.Q)(Re),$e)}(Re,$e)}throw(0,ve.z)(Re)}(Re,$e):(0,n.Xf)(Re)}},2438:(Mt,je,g)=>{g.d(je,{R:()=>ie});var n=g(4829),l=g(5592),R=g(1631),S=g(4266),te=g(4674),Se=g(7400);const le=["addListener","removeListener"],ke=["addEventListener","removeEventListener"],ue=["on","off"];function ie(Le,Ue,be,ye){if((0,te.m)(be)&&(ye=be,be=void 0),ye)return ie(Le,Ue,be).pipe((0,Se.Z)(ye));const[Je,ve]=function Te(Le){return(0,te.m)(Le.addEventListener)&&(0,te.m)(Le.removeEventListener)}(Le)?ke.map(H=>xe=>Le[H](Ue,xe,be)):function fe(Le){return(0,te.m)(Le.addListener)&&(0,te.m)(Le.removeListener)}(Le)?le.map(we(Le,Ue)):function me(Le){return(0,te.m)(Le.on)&&(0,te.m)(Le.off)}(Le)?ue.map(we(Le,Ue)):[];if(!Je&&(0,S.z)(Le))return(0,R.z)(H=>ie(H,Ue,be))((0,n.Xf)(Le));if(!Je)throw new TypeError("Invalid event target");return new l.y(H=>{const xe=(...oe)=>H.next(1ve(xe)})}function we(Le,Ue){return be=>ye=>Le[be](Ue,ye)}},4829:(Mt,je,g)=>{g.d(je,{Xf:()=>me});var n=g(7582),l=g(4266),R=g(4026),S=g(5592),te=g(8382),Se=g(5726),le=g(9853),ke=g(3664),ue=g(541),ie=g(4674),we=g(3894),fe=g(4850);function me(H){if(H instanceof S.y)return H;if(null!=H){if((0,te.c)(H))return function Te(H){return new S.y(xe=>{const oe=H[fe.L]();if((0,ie.m)(oe.subscribe))return oe.subscribe(xe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(H);if((0,l.z)(H))return function Le(H){return new S.y(xe=>{for(let oe=0;oe{H.then(oe=>{xe.closed||(xe.next(oe),xe.complete())},oe=>xe.error(oe)).then(null,we.h)})}(H);if((0,Se.D)(H))return ye(H);if((0,ke.T)(H))return function be(H){return new S.y(xe=>{for(const oe of H)if(xe.next(oe),xe.closed)return;xe.complete()})}(H);if((0,ue.L)(H))return function Je(H){return ye((0,ue.Q)(H))}(H)}throw(0,le.z)(H)}function ye(H){return new S.y(xe=>{(function ve(H,xe){var oe,Ie,Re,$e;return(0,n.mG)(this,void 0,void 0,function*(){try{for(oe=(0,n.KL)(H);!(Ie=yield oe.next()).done;)if(xe.next(Ie.value),xe.closed)return}catch(ft){Re={error:ft}}finally{try{Ie&&!Ie.done&&($e=oe.return)&&(yield $e.call(oe))}finally{if(Re)throw Re.error}}xe.complete()})})(H,xe).catch(oe=>xe.error(oe))})}},3019:(Mt,je,g)=>{g.d(je,{T:()=>Se});var n=g(7537),l=g(4829),R=g(6232),S=g(9940),te=g(7715);function Se(...le){const ke=(0,S.yG)(le),ue=(0,S._6)(le,1/0),ie=le;return ie.length?1===ie.length?(0,l.Xf)(ie[0]):(0,n.J)(ue)((0,te.D)(ie,ke)):R.E}},2096:(Mt,je,g)=>{g.d(je,{of:()=>R});var n=g(9940),l=g(7715);function R(...S){const te=(0,n.yG)(S);return(0,l.D)(S,te)}},8504:(Mt,je,g)=>{g.d(je,{_:()=>R});var n=g(5592),l=g(4674);function R(S,te){const Se=(0,l.m)(S)?S:()=>S,le=ke=>ke.error(Se());return new n.y(te?ke=>te.schedule(le,0,ke):le)}},4825:(Mt,je,g)=>{g.d(je,{H:()=>te});var n=g(5592),l=g(6321),R=g(671);function te(Se=0,le,ke=l.P){let ue=-1;return null!=le&&((0,R.K)(le)?ke=le:ue=le),new n.y(ie=>{let we=function S(Se){return Se instanceof Date&&!isNaN(Se)}(Se)?+Se-ke.now():Se;we<0&&(we=0);let fe=0;return ke.schedule(function(){ie.closed||(ie.next(fe++),0<=ue?this.schedule(void 0,ue):ie.complete())},we)})}},8251:(Mt,je,g)=>{g.d(je,{x:()=>l});var n=g(305);function l(S,te,Se,le,ke){return new R(S,te,Se,le,ke)}class R extends n.Lv{constructor(te,Se,le,ke,ue,ie){super(te),this.onFinalize=ue,this.shouldUnsubscribe=ie,this._next=Se?function(we){try{Se(we)}catch(fe){te.error(fe)}}:super._next,this._error=ke?function(we){try{ke(we)}catch(fe){te.error(fe)}finally{this.unsubscribe()}}:super._error,this._complete=le?function(){try{le()}catch(we){te.error(we)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var te;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:Se}=this;super.unsubscribe(),!Se&&(null===(te=this.onFinalize)||void 0===te||te.call(this))}}}},9028:(Mt,je,g)=>{g.d(je,{e:()=>le});var n=g(6321),l=g(9360),R=g(4829),S=g(8251),Se=g(4825);function le(ke,ue=n.z){return function te(ke){return(0,l.e)((ue,ie)=>{let we=!1,fe=null,me=null,Te=!1;const Le=()=>{if(me?.unsubscribe(),me=null,we){we=!1;const be=fe;fe=null,ie.next(be)}Te&&ie.complete()},Ue=()=>{me=null,Te&&ie.complete()};ue.subscribe((0,S.x)(ie,be=>{we=!0,fe=be,me||(0,R.Xf)(ke(be)).subscribe(me=(0,S.x)(ie,Le,Ue))},()=>{Te=!0,(!we||!me||me.closed)&&ie.complete()}))})}(()=>(0,Se.H)(ke,ue))}},6306:(Mt,je,g)=>{g.d(je,{K:()=>S});var n=g(4829),l=g(8251),R=g(9360);function S(te){return(0,R.e)((Se,le)=>{let ie,ke=null,ue=!1;ke=Se.subscribe((0,l.x)(le,void 0,void 0,we=>{ie=(0,n.Xf)(te(we,S(te)(Se))),ke?(ke.unsubscribe(),ke=null,ie.subscribe(le)):ue=!0})),ue&&(ke.unsubscribe(),ke=null,ie.subscribe(le))})}},6328:(Mt,je,g)=>{g.d(je,{b:()=>R});var n=g(1631),l=g(4674);function R(S,te){return(0,l.m)(te)?(0,n.z)(S,te,1):(0,n.z)(S,1)}},3620:(Mt,je,g)=>{g.d(je,{b:()=>S});var n=g(6321),l=g(9360),R=g(8251);function S(te,Se=n.z){return(0,l.e)((le,ke)=>{let ue=null,ie=null,we=null;const fe=()=>{if(ue){ue.unsubscribe(),ue=null;const Te=ie;ie=null,ke.next(Te)}};function me(){const Te=we+te,Le=Se.now();if(Le{ie=Te,we=Se.now(),ue||(ue=Se.schedule(me,te),ke.add(ue))},()=>{fe(),ke.complete()},void 0,()=>{ie=ue=null}))})}},3997:(Mt,je,g)=>{g.d(je,{x:()=>S});var n=g(2737),l=g(9360),R=g(8251);function S(Se,le=n.y){return Se=Se??te,(0,l.e)((ke,ue)=>{let ie,we=!0;ke.subscribe((0,R.x)(ue,fe=>{const me=le(fe);(we||!Se(ie,me))&&(we=!1,ie=me,ue.next(fe))}))})}function te(Se,le){return Se===le}},2181:(Mt,je,g)=>{g.d(je,{h:()=>R});var n=g(9360),l=g(8251);function R(S,te){return(0,n.e)((Se,le)=>{let ke=0;Se.subscribe((0,l.x)(le,ue=>S.call(te,ue,ke++)&&le.next(ue)))})}},4716:(Mt,je,g)=>{g.d(je,{x:()=>l});var n=g(9360);function l(R){return(0,n.e)((S,te)=>{try{S.subscribe(te)}finally{te.add(R)}})}},7398:(Mt,je,g)=>{g.d(je,{U:()=>R});var n=g(9360),l=g(8251);function R(S,te){return(0,n.e)((Se,le)=>{let ke=0;Se.subscribe((0,l.x)(le,ue=>{le.next(S.call(te,ue,ke++))}))})}},7537:(Mt,je,g)=>{g.d(je,{J:()=>R});var n=g(1631),l=g(2737);function R(S=1/0){return(0,n.z)(l.y,S)}},1631:(Mt,je,g)=>{g.d(je,{z:()=>ke});var n=g(7398),l=g(4829),R=g(9360),S=g(7103),te=g(8251),le=g(4674);function ke(ue,ie,we=1/0){return(0,le.m)(ie)?ke((fe,me)=>(0,n.U)((Te,Le)=>ie(fe,Te,me,Le))((0,l.Xf)(ue(fe,me))),we):("number"==typeof ie&&(we=ie),(0,R.e)((fe,me)=>function Se(ue,ie,we,fe,me,Te,Le,Ue){const be=[];let ye=0,Je=0,ve=!1;const H=()=>{ve&&!be.length&&!ye&&ie.complete()},xe=Ie=>ye{Te&&ie.next(Ie),ye++;let Re=!1;(0,l.Xf)(we(Ie,Je++)).subscribe((0,te.x)(ie,$e=>{me?.($e),Te?xe($e):ie.next($e)},()=>{Re=!0},void 0,()=>{if(Re)try{for(ye--;be.length&&yeoe($e)):oe($e)}H()}catch($e){ie.error($e)}}))};return ue.subscribe((0,te.x)(ie,xe,()=>{ve=!0,H()})),()=>{Ue?.()}}(fe,me,ue,we)))}},3020:(Mt,je,g)=>{g.d(je,{B:()=>te});var n=g(4829),l=g(8645),R=g(305),S=g(9360);function te(le={}){const{connector:ke=(()=>new l.x),resetOnError:ue=!0,resetOnComplete:ie=!0,resetOnRefCountZero:we=!0}=le;return fe=>{let me,Te,Le,Ue=0,be=!1,ye=!1;const Je=()=>{Te?.unsubscribe(),Te=void 0},ve=()=>{Je(),me=Le=void 0,be=ye=!1},H=()=>{const xe=me;ve(),xe?.unsubscribe()};return(0,S.e)((xe,oe)=>{Ue++,!ye&&!be&&Je();const Ie=Le=Le??ke();oe.add(()=>{Ue--,0===Ue&&!ye&&!be&&(Te=Se(H,we))}),Ie.subscribe(oe),!me&&Ue>0&&(me=new R.Hp({next:Re=>Ie.next(Re),error:Re=>{ye=!0,Je(),Te=Se(ve,ue,Re),Ie.error(Re)},complete:()=>{be=!0,Je(),Te=Se(ve,ie),Ie.complete()}}),(0,n.Xf)(xe).subscribe(me))})(fe)}}function Se(le,ke,...ue){if(!0===ke)return void le();if(!1===ke)return;const ie=new R.Hp({next:()=>{ie.unsubscribe(),le()}});return(0,n.Xf)(ke(...ue)).subscribe(ie)}},836:(Mt,je,g)=>{g.d(je,{T:()=>l});var n=g(2181);function l(R){return(0,n.h)((S,te)=>R<=te)}},7921:(Mt,je,g)=>{g.d(je,{O:()=>S});var n=g(5211),l=g(9940),R=g(9360);function S(...te){const Se=(0,l.yG)(te);return(0,R.e)((le,ke)=>{(Se?(0,n.z)(te,le,Se):(0,n.z)(te,le)).subscribe(ke)})}},4664:(Mt,je,g)=>{g.d(je,{w:()=>S});var n=g(4829),l=g(9360),R=g(8251);function S(te,Se){return(0,l.e)((le,ke)=>{let ue=null,ie=0,we=!1;const fe=()=>we&&!ue&&ke.complete();le.subscribe((0,R.x)(ke,me=>{ue?.unsubscribe();let Te=0;const Le=ie++;(0,n.Xf)(te(me,Le)).subscribe(ue=(0,R.x)(ke,Ue=>ke.next(Se?Se(me,Ue,Le,Te++):Ue),()=>{ue=null,fe()}))},()=>{we=!0,fe()}))})}},8180:(Mt,je,g)=>{g.d(je,{q:()=>S});var n=g(6232),l=g(9360),R=g(8251);function S(te){return te<=0?()=>n.E:(0,l.e)((Se,le)=>{let ke=0;Se.subscribe((0,R.x)(le,ue=>{++ke<=te&&(le.next(ue),te<=ke&&le.complete())}))})}},9773:(Mt,je,g)=>{g.d(je,{R:()=>te});var n=g(9360),l=g(8251),R=g(4829),S=g(2420);function te(Se){return(0,n.e)((le,ke)=>{(0,R.Xf)(Se).subscribe((0,l.x)(ke,()=>ke.complete(),S.Z)),!ke.closed&&le.subscribe(ke)})}},9397:(Mt,je,g)=>{g.d(je,{b:()=>te});var n=g(4674),l=g(9360),R=g(8251),S=g(2737);function te(Se,le,ke){const ue=(0,n.m)(Se)||le||ke?{next:Se,error:le,complete:ke}:Se;return ue?(0,l.e)((ie,we)=>{var fe;null===(fe=ue.subscribe)||void 0===fe||fe.call(ue);let me=!0;ie.subscribe((0,R.x)(we,Te=>{var Le;null===(Le=ue.next)||void 0===Le||Le.call(ue,Te),we.next(Te)},()=>{var Te;me=!1,null===(Te=ue.complete)||void 0===Te||Te.call(ue),we.complete()},Te=>{var Le;me=!1,null===(Le=ue.error)||void 0===Le||Le.call(ue,Te),we.error(Te)},()=>{var Te,Le;me&&(null===(Te=ue.unsubscribe)||void 0===Te||Te.call(ue)),null===(Le=ue.finalize)||void 0===Le||Le.call(ue)}))}):S.y}},1954:(Mt,je,g)=>{g.d(je,{o:()=>te});var n=g(7394);class l extends n.w0{constructor(le,ke){super()}schedule(le,ke=0){return this}}const R={setInterval(Se,le,...ke){const{delegate:ue}=R;return ue?.setInterval?ue.setInterval(Se,le,...ke):setInterval(Se,le,...ke)},clearInterval(Se){const{delegate:le}=R;return(le?.clearInterval||clearInterval)(Se)},delegate:void 0};var S=g(9039);class te extends l{constructor(le,ke){super(le,ke),this.scheduler=le,this.work=ke,this.pending=!1}schedule(le,ke=0){var ue;if(this.closed)return this;this.state=le;const ie=this.id,we=this.scheduler;return null!=ie&&(this.id=this.recycleAsyncId(we,ie,ke)),this.pending=!0,this.delay=ke,this.id=null!==(ue=this.id)&&void 0!==ue?ue:this.requestAsyncId(we,this.id,ke),this}requestAsyncId(le,ke,ue=0){return R.setInterval(le.flush.bind(le,this),ue)}recycleAsyncId(le,ke,ue=0){if(null!=ue&&this.delay===ue&&!1===this.pending)return ke;null!=ke&&R.clearInterval(ke)}execute(le,ke){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const ue=this._execute(le,ke);if(ue)return ue;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(le,ke){let ie,ue=!1;try{this.work(le)}catch(we){ue=!0,ie=we||new Error("Scheduled action threw falsy error")}if(ue)return this.unsubscribe(),ie}unsubscribe(){if(!this.closed){const{id:le,scheduler:ke}=this,{actions:ue}=ke;this.work=this.state=this.scheduler=null,this.pending=!1,(0,S.P)(ue,this),null!=le&&(this.id=this.recycleAsyncId(ke,le,null)),this.delay=null,super.unsubscribe()}}}},2631:(Mt,je,g)=>{g.d(je,{v:()=>R});var n=g(4552);class l{constructor(te,Se=l.now){this.schedulerActionCtor=te,this.now=Se}schedule(te,Se=0,le){return new this.schedulerActionCtor(this,te).schedule(le,Se)}}l.now=n.l.now;class R extends l{constructor(te,Se=l.now){super(te,Se),this.actions=[],this._active=!1}flush(te){const{actions:Se}=this;if(this._active)return void Se.push(te);let le;this._active=!0;do{if(le=te.execute(te.state,te.delay))break}while(te=Se.shift());if(this._active=!1,le){for(;te=Se.shift();)te.unsubscribe();throw le}}}},927:(Mt,je,g)=>{g.d(je,{Z:()=>le});var n=g(1954),l=g(7394);const R={schedule(ue){let ie=requestAnimationFrame,we=cancelAnimationFrame;const{delegate:fe}=R;fe&&(ie=fe.requestAnimationFrame,we=fe.cancelAnimationFrame);const me=ie(Te=>{we=void 0,ue(Te)});return new l.w0(()=>we?.(me))},requestAnimationFrame(...ue){const{delegate:ie}=R;return(ie?.requestAnimationFrame||requestAnimationFrame)(...ue)},cancelAnimationFrame(...ue){const{delegate:ie}=R;return(ie?.cancelAnimationFrame||cancelAnimationFrame)(...ue)},delegate:void 0};var te=g(2631);const le=new class Se extends te.v{flush(ie){this._active=!0;const we=this._scheduled;this._scheduled=void 0;const{actions:fe}=this;let me;ie=ie||fe.shift();do{if(me=ie.execute(ie.state,ie.delay))break}while((ie=fe[0])&&ie.id===we&&fe.shift());if(this._active=!1,me){for(;(ie=fe[0])&&ie.id===we&&fe.shift();)ie.unsubscribe();throw me}}}(class S extends n.o{constructor(ie,we){super(ie,we),this.scheduler=ie,this.work=we}requestAsyncId(ie,we,fe=0){return null!==fe&&fe>0?super.requestAsyncId(ie,we,fe):(ie.actions.push(this),ie._scheduled||(ie._scheduled=R.requestAnimationFrame(()=>ie.flush(void 0))))}recycleAsyncId(ie,we,fe=0){var me;if(null!=fe?fe>0:this.delay>0)return super.recycleAsyncId(ie,we,fe);const{actions:Te}=ie;null!=we&&(null===(me=Te[Te.length-1])||void 0===me?void 0:me.id)!==we&&(R.cancelAnimationFrame(we),ie._scheduled=void 0)}})},6410:(Mt,je,g)=>{g.d(je,{E:()=>Te});var n=g(1954);let R,l=1;const S={};function te(Ue){return Ue in S&&(delete S[Ue],!0)}const Se={setImmediate(Ue){const be=l++;return S[be]=!0,R||(R=Promise.resolve()),R.then(()=>te(be)&&Ue()),be},clearImmediate(Ue){te(Ue)}},{setImmediate:ke,clearImmediate:ue}=Se,ie={setImmediate(...Ue){const{delegate:be}=ie;return(be?.setImmediate||ke)(...Ue)},clearImmediate(Ue){const{delegate:be}=ie;return(be?.clearImmediate||ue)(Ue)},delegate:void 0};var fe=g(2631);const Te=new class me extends fe.v{flush(be){this._active=!0;const ye=this._scheduled;this._scheduled=void 0;const{actions:Je}=this;let ve;be=be||Je.shift();do{if(ve=be.execute(be.state,be.delay))break}while((be=Je[0])&&be.id===ye&&Je.shift());if(this._active=!1,ve){for(;(be=Je[0])&&be.id===ye&&Je.shift();)be.unsubscribe();throw ve}}}(class we extends n.o{constructor(be,ye){super(be,ye),this.scheduler=be,this.work=ye}requestAsyncId(be,ye,Je=0){return null!==Je&&Je>0?super.requestAsyncId(be,ye,Je):(be.actions.push(this),be._scheduled||(be._scheduled=ie.setImmediate(be.flush.bind(be,void 0))))}recycleAsyncId(be,ye,Je=0){var ve;if(null!=Je?Je>0:this.delay>0)return super.recycleAsyncId(be,ye,Je);const{actions:H}=be;null!=ye&&(null===(ve=H[H.length-1])||void 0===ve?void 0:ve.id)!==ye&&(ie.clearImmediate(ye),be._scheduled===ye&&(be._scheduled=void 0))}})},6321:(Mt,je,g)=>{g.d(je,{P:()=>S,z:()=>R});var n=g(1954);const R=new(g(2631).v)(n.o),S=R},4552:(Mt,je,g)=>{g.d(je,{l:()=>n});const n={now:()=>(n.delegate||Date).now(),delegate:void 0}},7599:(Mt,je,g)=>{g.d(je,{z:()=>n});const n={setTimeout(l,R,...S){const{delegate:te}=n;return te?.setTimeout?te.setTimeout(l,R,...S):setTimeout(l,R,...S)},clearTimeout(l){const{delegate:R}=n;return(R?.clearTimeout||clearTimeout)(l)},delegate:void 0}},4971:(Mt,je,g)=>{g.d(je,{h:()=>l});const l=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(Mt,je,g)=>{g.d(je,{L:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},9940:(Mt,je,g)=>{g.d(je,{_6:()=>Se,jO:()=>S,yG:()=>te});var n=g(4674),l=g(671);function R(le){return le[le.length-1]}function S(le){return(0,n.m)(R(le))?le.pop():void 0}function te(le){return(0,l.K)(R(le))?le.pop():void 0}function Se(le,ke){return"number"==typeof R(le)?le.pop():ke}},7453:(Mt,je,g)=>{g.d(je,{D:()=>te});const{isArray:n}=Array,{getPrototypeOf:l,prototype:R,keys:S}=Object;function te(le){if(1===le.length){const ke=le[0];if(n(ke))return{args:ke,keys:null};if(function Se(le){return le&&"object"==typeof le&&l(le)===R}(ke)){const ue=S(ke);return{args:ue.map(ie=>ke[ie]),keys:ue}}}return{args:le,keys:null}}},9039:(Mt,je,g)=>{function n(l,R){if(l){const S=l.indexOf(R);0<=S&&l.splice(S,1)}}g.d(je,{P:()=>n})},2306:(Mt,je,g)=>{function n(l){const S=l(te=>{Error.call(te),te.stack=(new Error).stack});return S.prototype=Object.create(Error.prototype),S.prototype.constructor=S,S}g.d(je,{d:()=>n})},2714:(Mt,je,g)=>{function n(l,R){return l.reduce((S,te,Se)=>(S[te]=R[Se],S),{})}g.d(je,{n:()=>n})},1441:(Mt,je,g)=>{g.d(je,{O:()=>S,x:()=>R});var n=g(2653);let l=null;function R(te){if(n.config.useDeprecatedSynchronousErrorHandling){const Se=!l;if(Se&&(l={errorThrown:!1,error:null}),te(),Se){const{errorThrown:le,error:ke}=l;if(l=null,le)throw ke}}else te()}function S(te){n.config.useDeprecatedSynchronousErrorHandling&&l&&(l.errorThrown=!0,l.error=te)}},7103:(Mt,je,g)=>{function n(l,R,S,te=0,Se=!1){const le=R.schedule(function(){S(),Se?l.add(this.schedule(null,te)):this.unsubscribe()},te);if(l.add(le),!Se)return le}g.d(je,{f:()=>n})},2737:(Mt,je,g)=>{function n(l){return l}g.d(je,{y:()=>n})},4266:(Mt,je,g)=>{g.d(je,{z:()=>n});const n=l=>l&&"number"==typeof l.length&&"function"!=typeof l},5726:(Mt,je,g)=>{g.d(je,{D:()=>l});var n=g(4674);function l(R){return Symbol.asyncIterator&&(0,n.m)(R?.[Symbol.asyncIterator])}},4674:(Mt,je,g)=>{function n(l){return"function"==typeof l}g.d(je,{m:()=>n})},8382:(Mt,je,g)=>{g.d(je,{c:()=>R});var n=g(4850),l=g(4674);function R(S){return(0,l.m)(S[n.L])}},3664:(Mt,je,g)=>{g.d(je,{T:()=>R});var n=g(4971),l=g(4674);function R(S){return(0,l.m)(S?.[n.h])}},4026:(Mt,je,g)=>{g.d(je,{t:()=>l});var n=g(4674);function l(R){return(0,n.m)(R?.then)}},541:(Mt,je,g)=>{g.d(je,{L:()=>S,Q:()=>R});var n=g(7582),l=g(4674);function R(te){return(0,n.FC)(this,arguments,function*(){const le=te.getReader();try{for(;;){const{value:ke,done:ue}=yield(0,n.qq)(le.read());if(ue)return yield(0,n.qq)(void 0);yield yield(0,n.qq)(ke)}}finally{le.releaseLock()}})}function S(te){return(0,l.m)(te?.getReader)}},671:(Mt,je,g)=>{g.d(je,{K:()=>l});var n=g(4674);function l(R){return R&&(0,n.m)(R.schedule)}},9360:(Mt,je,g)=>{g.d(je,{A:()=>l,e:()=>R});var n=g(4674);function l(S){return(0,n.m)(S?.lift)}function R(S){return te=>{if(l(te))return te.lift(function(Se){try{return S(Se,this)}catch(le){this.error(le)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(Mt,je,g)=>{g.d(je,{Z:()=>S});var n=g(7398);const{isArray:l}=Array;function S(te){return(0,n.U)(Se=>function R(te,Se){return l(Se)?te(...Se):te(Se)}(te,Se))}},2420:(Mt,je,g)=>{function n(){}g.d(je,{Z:()=>n})},8407:(Mt,je,g)=>{g.d(je,{U:()=>R,z:()=>l});var n=g(2737);function l(...S){return R(S)}function R(S){return 0===S.length?n.y:1===S.length?S[0]:function(Se){return S.reduce((le,ke)=>ke(le),Se)}}},3894:(Mt,je,g)=>{g.d(je,{h:()=>R});var n=g(2653),l=g(7599);function R(S){l.z.setTimeout(()=>{const{onUnhandledError:te}=n.config;if(!te)throw S;te(S)})}},9853:(Mt,je,g)=>{function n(l){return new TypeError(`You provided ${null!==l&&"object"==typeof l?"an invalid object":`'${l}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}g.d(je,{z:()=>n})},6825:(Mt,je,g)=>{g.d(je,{F4:()=>ie,IO:()=>Le,LC:()=>l,SB:()=>ue,X$:()=>S,ZE:()=>ye,ZN:()=>be,_j:()=>n,eR:()=>we,jt:()=>te,k1:()=>Je,l3:()=>R,oB:()=>ke,pV:()=>me,vP:()=>le});class n{}class l{}const R="*";function S(ve,H){return{type:7,name:ve,definitions:H,options:{}}}function te(ve,H=null){return{type:4,styles:H,timings:ve}}function le(ve,H=null){return{type:2,steps:ve,options:H}}function ke(ve){return{type:6,styles:ve,offset:null}}function ue(ve,H,xe){return{type:0,name:ve,styles:H,options:xe}}function ie(ve){return{type:5,steps:ve}}function we(ve,H,xe=null){return{type:1,expr:ve,animation:H,options:xe}}function me(ve=null){return{type:9,options:ve}}function Le(ve,H,xe=null){return{type:11,selector:ve,animation:H,options:xe}}class be{constructor(H=0,xe=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=H+xe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(H=>H()),this._onDoneFns=[])}onStart(H){this._originalOnStartFns.push(H),this._onStartFns.push(H)}onDone(H){this._originalOnDoneFns.push(H),this._onDoneFns.push(H)}onDestroy(H){this._onDestroyFns.push(H)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(H=>H()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(H=>H()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(H){this._position=this.totalTime?H*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(H){const xe="start"==H?this._onStartFns:this._onDoneFns;xe.forEach(oe=>oe()),xe.length=0}}class ye{constructor(H){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=H;let xe=0,oe=0,Ie=0;const Re=this.players.length;0==Re?queueMicrotask(()=>this._onFinish()):this.players.forEach($e=>{$e.onDone(()=>{++xe==Re&&this._onFinish()}),$e.onDestroy(()=>{++oe==Re&&this._onDestroy()}),$e.onStart(()=>{++Ie==Re&&this._onStart()})}),this.totalTime=this.players.reduce(($e,ft)=>Math.max($e,ft.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(H=>H()),this._onDoneFns=[])}init(){this.players.forEach(H=>H.init())}onStart(H){this._onStartFns.push(H)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(H=>H()),this._onStartFns=[])}onDone(H){this._onDoneFns.push(H)}onDestroy(H){this._onDestroyFns.push(H)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(H=>H.play())}pause(){this.players.forEach(H=>H.pause())}restart(){this.players.forEach(H=>H.restart())}finish(){this._onFinish(),this.players.forEach(H=>H.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(H=>H.destroy()),this._onDestroyFns.forEach(H=>H()),this._onDestroyFns=[])}reset(){this.players.forEach(H=>H.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(H){const xe=H*this.totalTime;this.players.forEach(oe=>{const Ie=oe.totalTime?Math.min(1,xe/oe.totalTime):1;oe.setPosition(Ie)})}getPosition(){const H=this.players.reduce((xe,oe)=>null===xe||oe.totalTime>xe.totalTime?oe:xe,null);return null!=H?H.getPosition():0}beforeDestroy(){this.players.forEach(H=>{H.beforeDestroy&&H.beforeDestroy()})}triggerCallback(H){const xe="start"==H?this._onStartFns:this._onDoneFns;xe.forEach(oe=>oe()),xe.length=0}}const Je="!"},4191:(Mt,je,g)=>{g.d(je,{rt:()=>ut,s1:()=>He,$s:()=>G,kH:()=>ge,Em:()=>Ze,tE:()=>Yt,qm:()=>Ae,Kd:()=>Nt,Zf:()=>Xe,X6:()=>Bt,yG:()=>Vt,iD:()=>Ct});var n=g(6814),l=g(5879),R=g(2831),S=g(8645),te=g(7394),Se=g(5619),le=g(2096),ke=g(6028),ue=g(9397),ie=g(3620),we=g(2181),fe=g(7398),me=g(836),Te=g(3997),Le=g(9773),Ue=g(2495),be=g(7131),ye=g(2572),Je=g(5211),ve=g(5592),H=g(8180),xe=g(7921);const Ie=new Set;let Re,$e=(()=>{class Pe{constructor(z,D){this._platform=z,this._nonce=D,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):bt}matchMedia(z){return(this._platform.WEBKIT||this._platform.BLINK)&&function ft(Pe,ee){if(!Ie.has(Pe))try{Re||(Re=document.createElement("style"),ee&&(Re.nonce=ee),Re.setAttribute("type","text/css"),document.head.appendChild(Re)),Re.sheet&&(Re.sheet.insertRule(`@media ${Pe} {body{ }}`,0),Ie.add(Pe))}catch(z){console.error(z)}}(z,this._nonce),this._matchMedia(z)}static#e=this.\u0275fac=function(D){return new(D||Pe)(l.LFG(R.t4),l.LFG(l.Ojb,8))};static#t=this.\u0275prov=l.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"})}return Pe})();function bt(Pe){return{matches:"all"===Pe||""===Pe,media:Pe,addListener:()=>{},removeListener:()=>{}}}let Dt=(()=>{class Pe{constructor(z,D){this._mediaMatcher=z,this._zone=D,this._queries=new Map,this._destroySubject=new S.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(z){return Ut((0,Ue.Eq)(z)).some(B=>this._registerQuery(B).mql.matches)}observe(z){const B=Ut((0,Ue.Eq)(z)).map(X=>this._registerQuery(X).observable);let he=(0,ye.a)(B);return he=(0,Je.z)(he.pipe((0,H.q)(1)),he.pipe((0,me.T)(1),(0,ie.b)(0))),he.pipe((0,fe.U)(X=>{const ne={matches:!1,breakpoints:{}};return X.forEach(({matches:Oe,query:nt})=>{ne.matches=ne.matches||Oe,ne.breakpoints[nt]=Oe}),ne}))}_registerQuery(z){if(this._queries.has(z))return this._queries.get(z);const D=this._mediaMatcher.matchMedia(z),he={observable:new ve.y(X=>{const ne=Oe=>this._zone.run(()=>X.next(Oe));return D.addListener(ne),()=>{D.removeListener(ne)}}).pipe((0,xe.O)(D),(0,fe.U)(({matches:X})=>({query:z,matches:X})),(0,Le.R)(this._destroySubject)),mql:D};return this._queries.set(z,he),he}static#e=this.\u0275fac=function(D){return new(D||Pe)(l.LFG($e),l.LFG(l.R0b))};static#t=this.\u0275prov=l.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"})}return Pe})();function Ut(Pe){return Pe.map(ee=>ee.split(",")).reduce((ee,z)=>ee.concat(z)).map(ee=>ee.trim())}const an=" ";function Xe(Pe,ee,z){const D=W(Pe,ee);D.some(B=>B.trim()==z.trim())||(D.push(z.trim()),Pe.setAttribute(ee,D.join(an)))}function Ct(Pe,ee,z){const B=W(Pe,ee).filter(he=>he!=z.trim());B.length?Pe.setAttribute(ee,B.join(an)):Pe.removeAttribute(ee)}function W(Pe,ee){return(Pe.getAttribute(ee)||"").match(/\S+/g)||[]}const se="cdk-describedby-message",L="cdk-describedby-host";let Ce=0,G=(()=>{class Pe{constructor(z,D){this._platform=D,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Ce++,this._document=z,this._id=(0,l.f3M)(l.AFp)+"-"+Ce++}describe(z,D,B){if(!this._canBeDescribed(z,D))return;const he=$(D,B);"string"!=typeof D?(Be(D,this._id),this._messageRegistry.set(he,{messageElement:D,referenceCount:0})):this._messageRegistry.has(he)||this._createMessageElement(D,B),this._isElementDescribedByMessage(z,he)||this._addMessageReference(z,he)}removeDescription(z,D,B){if(!D||!this._isElementNode(z))return;const he=$(D,B);if(this._isElementDescribedByMessage(z,he)&&this._removeMessageReference(z,he),"string"==typeof D){const X=this._messageRegistry.get(he);X&&0===X.referenceCount&&this._deleteMessageElement(he)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const z=this._document.querySelectorAll(`[${L}="${this._id}"]`);for(let D=0;D0!=B.indexOf(se));z.setAttribute("aria-describedby",D.join(" "))}_addMessageReference(z,D){const B=this._messageRegistry.get(D);Xe(z,"aria-describedby",B.messageElement.id),z.setAttribute(L,this._id),B.referenceCount++}_removeMessageReference(z,D){const B=this._messageRegistry.get(D);B.referenceCount--,Ct(z,"aria-describedby",B.messageElement.id),z.removeAttribute(L)}_isElementDescribedByMessage(z,D){const B=W(z,"aria-describedby"),he=this._messageRegistry.get(D),X=he&&he.messageElement.id;return!!X&&-1!=B.indexOf(X)}_canBeDescribed(z,D){if(!this._isElementNode(z))return!1;if(D&&"object"==typeof D)return!0;const B=null==D?"":`${D}`.trim(),he=z.getAttribute("aria-label");return!(!B||he&&he.trim()===B)}_isElementNode(z){return z.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(D){return new(D||Pe)(l.LFG(n.K0),l.LFG(R.t4))};static#t=this.\u0275prov=l.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"})}return Pe})();function $(Pe,ee){return"string"==typeof Pe?`${ee||""}/${Pe}`:Pe}function Be(Pe,ee){Pe.id||(Pe.id=`${se}-${ee}-${Ce++}`)}class ae{constructor(ee){this._items=ee,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new S.x,this._typeaheadSubscription=te.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=z=>z.disabled,this._pressedLetters=[],this.tabOut=new S.x,this.change=new S.x,ee instanceof l.n_E&&(this._itemChangesSubscription=ee.changes.subscribe(z=>{if(this._activeItem){const B=z.toArray().indexOf(this._activeItem);B>-1&&B!==this._activeItemIndex&&(this._activeItemIndex=B)}}))}skipPredicate(ee){return this._skipPredicateFn=ee,this}withWrap(ee=!0){return this._wrap=ee,this}withVerticalOrientation(ee=!0){return this._vertical=ee,this}withHorizontalOrientation(ee){return this._horizontal=ee,this}withAllowedModifierKeys(ee){return this._allowedModifierKeys=ee,this}withTypeAhead(ee=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,ue.b)(z=>this._pressedLetters.push(z)),(0,ie.b)(ee),(0,we.h)(()=>this._pressedLetters.length>0),(0,fe.U)(()=>this._pressedLetters.join(""))).subscribe(z=>{const D=this._getItemsArray();for(let B=1;B!ee[he]||this._allowedModifierKeys.indexOf(he)>-1);switch(z){case ke.Mf:return void this.tabOut.next();case ke.JH:if(this._vertical&&B){this.setNextItemActive();break}return;case ke.LH:if(this._vertical&&B){this.setPreviousItemActive();break}return;case ke.SV:if(this._horizontal&&B){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case ke.oh:if(this._horizontal&&B){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case ke.Sd:if(this._homeAndEnd&&B){this.setFirstItemActive();break}return;case ke.uR:if(this._homeAndEnd&&B){this.setLastItemActive();break}return;case ke.Ku:if(this._pageUpAndDown.enabled&&B){const he=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(he>0?he:0,1);break}return;case ke.VM:if(this._pageUpAndDown.enabled&&B){const he=this._activeItemIndex+this._pageUpAndDown.delta,X=this._getItemsArray().length;this._setActiveItemByIndex(he=ke.A&&z<=ke.Z||z>=ke.xE&&z<=ke.aO)&&this._letterKeyStream.next(String.fromCharCode(z))))}this._pressedLetters=[],ee.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(ee){const z=this._getItemsArray(),D="number"==typeof ee?ee:z.indexOf(ee);this._activeItem=z[D]??null,this._activeItemIndex=D}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(ee){this._wrap?this._setActiveInWrapMode(ee):this._setActiveInDefaultMode(ee)}_setActiveInWrapMode(ee){const z=this._getItemsArray();for(let D=1;D<=z.length;D++){const B=(this._activeItemIndex+ee*D+z.length)%z.length;if(!this._skipPredicateFn(z[B]))return void this.setActiveItem(B)}}_setActiveInDefaultMode(ee){this._setActiveItemByIndex(this._activeItemIndex+ee,ee)}_setActiveItemByIndex(ee,z){const D=this._getItemsArray();if(D[ee]){for(;this._skipPredicateFn(D[ee]);)if(!D[ee+=z])return;this.setActiveItem(ee)}}_getItemsArray(){return this._items instanceof l.n_E?this._items.toArray():this._items}}class He extends ae{setActiveItem(ee){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(ee),this.activeItem&&this.activeItem.setActiveStyles()}}class Ze extends ae{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(ee){return this._origin=ee,this}setActiveItem(ee){super.setActiveItem(ee),this.activeItem&&this.activeItem.focus(this._origin)}}function Bt(Pe){return 0===Pe.buttons||0===Pe.offsetX&&0===Pe.offsetY}function Vt(Pe){const ee=Pe.touches&&Pe.touches[0]||Pe.changedTouches&&Pe.changedTouches[0];return!(!ee||-1!==ee.identifier||null!=ee.radiusX&&1!==ee.radiusX||null!=ee.radiusY&&1!==ee.radiusY)}const Ft=new l.OlP("cdk-input-modality-detector-options"),Cn={ignoreKeys:[ke.zL,ke.jx,ke.b2,ke.MW,ke.JU]},nn=(0,R.i$)({passive:!0,capture:!0});let pn=(()=>{class Pe{get mostRecentModality(){return this._modality.value}constructor(z,D,B,he){this._platform=z,this._mostRecentTarget=null,this._modality=new Se.X(null),this._lastTouchMs=0,this._onKeydown=X=>{this._options?.ignoreKeys?.some(ne=>ne===X.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,R.sA)(X))},this._onMousedown=X=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Bt(X)?"keyboard":"mouse"),this._mostRecentTarget=(0,R.sA)(X))},this._onTouchstart=X=>{Vt(X)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,R.sA)(X))},this._options={...Cn,...he},this.modalityDetected=this._modality.pipe((0,me.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,Te.x)()),z.isBrowser&&D.runOutsideAngular(()=>{B.addEventListener("keydown",this._onKeydown,nn),B.addEventListener("mousedown",this._onMousedown,nn),B.addEventListener("touchstart",this._onTouchstart,nn)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,nn),document.removeEventListener("mousedown",this._onMousedown,nn),document.removeEventListener("touchstart",this._onTouchstart,nn))}static#e=this.\u0275fac=function(D){return new(D||Pe)(l.LFG(R.t4),l.LFG(l.R0b),l.LFG(n.K0),l.LFG(Ft,8))};static#t=this.\u0275prov=l.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"})}return Pe})();const bn=new l.OlP("liveAnnouncerElement",{providedIn:"root",factory:function In(){return null}}),Tn=new l.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let at=0,Nt=(()=>{class Pe{constructor(z,D,B,he){this._ngZone=D,this._defaultOptions=he,this._document=B,this._liveElement=z||this._createLiveElement()}announce(z,...D){const B=this._defaultOptions;let he,X;return 1===D.length&&"number"==typeof D[0]?X=D[0]:[he,X]=D,this.clear(),clearTimeout(this._previousTimeout),he||(he=B&&B.politeness?B.politeness:"polite"),null==X&&B&&(X=B.duration),this._liveElement.setAttribute("aria-live",he),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(ne=>this._currentResolve=ne)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=z,"number"==typeof X&&(this._previousTimeout=setTimeout(()=>this.clear(),X)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const z="cdk-live-announcer-element",D=this._document.getElementsByClassName(z),B=this._document.createElement("div");for(let he=0;he .cdk-overlay-container [aria-modal="true"]');for(let B=0;B{class Pe{constructor(z,D,B,he,X){this._ngZone=z,this._platform=D,this._inputModalityDetector=B,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new S.x,this._rootNodeFocusAndBlurListener=ne=>{for(let nt=(0,R.sA)(ne);nt;nt=nt.parentElement)"focus"===ne.type?this._onFocus(ne,nt):this._onBlur(ne,nt)},this._document=he,this._detectionMode=X?.detectionMode||0}monitor(z,D=!1){const B=(0,Ue.fI)(z);if(!this._platform.isBrowser||1!==B.nodeType)return(0,le.of)();const he=(0,R.kV)(B)||this._getDocument(),X=this._elementInfo.get(B);if(X)return D&&(X.checkChildren=!0),X.subject;const ne={checkChildren:D,subject:new S.x,rootNode:he};return this._elementInfo.set(B,ne),this._registerGlobalListeners(ne),ne.subject}stopMonitoring(z){const D=(0,Ue.fI)(z),B=this._elementInfo.get(D);B&&(B.subject.complete(),this._setClasses(D),this._elementInfo.delete(D),this._removeGlobalListeners(B))}focusVia(z,D,B){const he=(0,Ue.fI)(z);he===this._getDocument().activeElement?this._getClosestElementsInfo(he).forEach(([ne,Oe])=>this._originChanged(ne,D,Oe)):(this._setOrigin(D),"function"==typeof he.focus&&he.focus(B))}ngOnDestroy(){this._elementInfo.forEach((z,D)=>this.stopMonitoring(D))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(z){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(z)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:z&&this._isLastInteractionFromInputLabel(z)?"mouse":"program"}_shouldBeAttributedToTouch(z){return 1===this._detectionMode||!!z?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(z,D){z.classList.toggle("cdk-focused",!!D),z.classList.toggle("cdk-touch-focused","touch"===D),z.classList.toggle("cdk-keyboard-focused","keyboard"===D),z.classList.toggle("cdk-mouse-focused","mouse"===D),z.classList.toggle("cdk-program-focused","program"===D)}_setOrigin(z,D=!1){this._ngZone.runOutsideAngular(()=>{this._origin=z,this._originFromTouchInteraction="touch"===z&&D,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(z,D){const B=this._elementInfo.get(D),he=(0,R.sA)(z);!B||!B.checkChildren&&D!==he||this._originChanged(D,this._getFocusOrigin(he),B)}_onBlur(z,D){const B=this._elementInfo.get(D);!B||B.checkChildren&&z.relatedTarget instanceof Node&&D.contains(z.relatedTarget)||(this._setClasses(D),this._emitOrigin(B,null))}_emitOrigin(z,D){z.subject.observers.length&&this._ngZone.run(()=>z.subject.next(D))}_registerGlobalListeners(z){if(!this._platform.isBrowser)return;const D=z.rootNode,B=this._rootNodeFocusListenerCount.get(D)||0;B||this._ngZone.runOutsideAngular(()=>{D.addEventListener("focus",this._rootNodeFocusAndBlurListener,gt),D.addEventListener("blur",this._rootNodeFocusAndBlurListener,gt)}),this._rootNodeFocusListenerCount.set(D,B+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Le.R)(this._stopInputModalityDetector)).subscribe(he=>{this._setOrigin(he,!0)}))}_removeGlobalListeners(z){const D=z.rootNode;if(this._rootNodeFocusListenerCount.has(D)){const B=this._rootNodeFocusListenerCount.get(D);B>1?this._rootNodeFocusListenerCount.set(D,B-1):(D.removeEventListener("focus",this._rootNodeFocusAndBlurListener,gt),D.removeEventListener("blur",this._rootNodeFocusAndBlurListener,gt),this._rootNodeFocusListenerCount.delete(D))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(z,D,B){this._setClasses(z,D),this._emitOrigin(B,D),this._lastFocusOrigin=D}_getClosestElementsInfo(z){const D=[];return this._elementInfo.forEach((B,he)=>{(he===z||B.checkChildren&&he.contains(z))&&D.push([he,B])}),D}_isLastInteractionFromInputLabel(z){const{_mostRecentTarget:D,mostRecentModality:B}=this._inputModalityDetector;if("mouse"!==B||!D||D===z||"INPUT"!==z.nodeName&&"TEXTAREA"!==z.nodeName||z.disabled)return!1;const he=z.labels;if(he)for(let X=0;X{class Pe{constructor(z,D){this._elementRef=z,this._focusMonitor=D,this._focusOrigin=null,this.cdkFocusChange=new l.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const z=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(z,1===z.nodeType&&z.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(D=>{this._focusOrigin=D,this.cdkFocusChange.emit(D)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(D){return new(D||Pe)(l.Y36(l.SBq),l.Y36(Yt))};static#t=this.\u0275dir=l.lG2({type:Pe,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return Pe})();const J="cdk-high-contrast-black-on-white",I="cdk-high-contrast-white-on-black",Y="cdk-high-contrast-active";let Ae=(()=>{class Pe{constructor(z,D){this._platform=z,this._document=D,this._breakpointSubscription=(0,l.f3M)(Dt).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const z=this._document.createElement("div");z.style.backgroundColor="rgb(1,2,3)",z.style.position="absolute",this._document.body.appendChild(z);const D=this._document.defaultView||window,B=D&&D.getComputedStyle?D.getComputedStyle(z):null,he=(B&&B.backgroundColor||"").replace(/ /g,"");switch(z.remove(),he){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const z=this._document.body.classList;z.remove(Y,J,I),this._hasCheckedHighContrastMode=!0;const D=this.getHighContrastMode();1===D?z.add(Y,J):2===D&&z.add(Y,I)}}static#e=this.\u0275fac=function(D){return new(D||Pe)(l.LFG(R.t4),l.LFG(n.K0))};static#t=this.\u0275prov=l.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"})}return Pe})(),ut=(()=>{class Pe{constructor(z){z._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(D){return new(D||Pe)(l.LFG(Ae))};static#t=this.\u0275mod=l.oAB({type:Pe});static#n=this.\u0275inj=l.cJS({imports:[be.Q8]})}return Pe})()},9388:(Mt,je,g)=>{g.d(je,{Is:()=>le,vT:()=>ue});var n=g(5879),l=g(6814);const R=new n.OlP("cdk-dir-doc",{providedIn:"root",factory:function S(){return(0,n.f3M)(l.K0)}}),te=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let le=(()=>{class ie{constructor(fe){this.value="ltr",this.change=new n.vpe,fe&&(this.value=function Se(ie){const we=ie?.toLowerCase()||"";return"auto"===we&&typeof navigator<"u"&&navigator?.language?te.test(navigator.language)?"rtl":"ltr":"rtl"===we?"rtl":"ltr"}((fe.body?fe.body.dir:null)||(fe.documentElement?fe.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(me){return new(me||ie)(n.LFG(R,8))};static#t=this.\u0275prov=n.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"})}return ie})(),ue=(()=>{class ie{static#e=this.\u0275fac=function(me){return new(me||ie)};static#t=this.\u0275mod=n.oAB({type:ie});static#n=this.\u0275inj=n.cJS({})}return ie})()},2495:(Mt,je,g)=>{g.d(je,{Eq:()=>te,HM:()=>Se,Ig:()=>l,fI:()=>le,su:()=>R});var n=g(5879);function l(ue){return null!=ue&&"false"!=`${ue}`}function R(ue,ie=0){return function S(ue){return!isNaN(parseFloat(ue))&&!isNaN(Number(ue))}(ue)?Number(ue):ie}function te(ue){return Array.isArray(ue)?ue:[ue]}function Se(ue){return null==ue?"":"string"==typeof ue?ue:`${ue}px`}function le(ue){return ue instanceof n.SBq?ue.nativeElement:ue}},8337:(Mt,je,g)=>{g.d(je,{A8:()=>ie,Ov:()=>ke});var n=g(8645),l=g(5879);class ke{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(me=!1,Te,Le=!0,Ue){this._multiple=me,this._emitChanges=Le,this.compareWith=Ue,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new n.x,Te&&Te.length&&(me?Te.forEach(be=>this._markSelected(be)):this._markSelected(Te[0]),this._selectedToEmit.length=0)}select(...me){this._verifyValueAssignment(me),me.forEach(Le=>this._markSelected(Le));const Te=this._hasQueuedChanges();return this._emitChangeEvent(),Te}deselect(...me){this._verifyValueAssignment(me),me.forEach(Le=>this._unmarkSelected(Le));const Te=this._hasQueuedChanges();return this._emitChangeEvent(),Te}setSelection(...me){this._verifyValueAssignment(me);const Te=this.selected,Le=new Set(me);me.forEach(be=>this._markSelected(be)),Te.filter(be=>!Le.has(be)).forEach(be=>this._unmarkSelected(be));const Ue=this._hasQueuedChanges();return this._emitChangeEvent(),Ue}toggle(me){return this.isSelected(me)?this.deselect(me):this.select(me)}clear(me=!0){this._unmarkAll();const Te=this._hasQueuedChanges();return me&&this._emitChangeEvent(),Te}isSelected(me){return this._selection.has(this._getConcreteValue(me))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(me){this._multiple&&this.selected&&this._selected.sort(me)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(me){me=this._getConcreteValue(me),this.isSelected(me)||(this._multiple||this._unmarkAll(),this.isSelected(me)||this._selection.add(me),this._emitChanges&&this._selectedToEmit.push(me))}_unmarkSelected(me){me=this._getConcreteValue(me),this.isSelected(me)&&(this._selection.delete(me),this._emitChanges&&this._deselectedToEmit.push(me))}_unmarkAll(){this.isEmpty()||this._selection.forEach(me=>this._unmarkSelected(me))}_verifyValueAssignment(me){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(me){if(this.compareWith){for(let Te of this._selection)if(this.compareWith(me,Te))return Te;return me}return me}}let ie=(()=>{class fe{constructor(){this._listeners=[]}notify(Te,Le){for(let Ue of this._listeners)Ue(Te,Le)}listen(Te){return this._listeners.push(Te),()=>{this._listeners=this._listeners.filter(Le=>Te!==Le)}}ngOnDestroy(){this._listeners=[]}static#e=this.\u0275fac=function(Le){return new(Le||fe)};static#t=this.\u0275prov=l.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"})}return fe})()},6028:(Mt,je,g)=>{g.d(je,{A:()=>Ce,JH:()=>ve,JU:()=>Se,K5:()=>te,Ku:()=>me,LH:()=>ye,L_:()=>fe,MW:()=>lt,Mf:()=>R,SV:()=>Je,Sd:()=>Ue,VM:()=>Te,Vb:()=>mi,Z:()=>st,aO:()=>Ct,b2:()=>Kn,hY:()=>we,jx:()=>le,oh:()=>be,uR:()=>Le,xE:()=>Re,zL:()=>ke});const R=9,te=13,Se=16,le=17,ke=18,we=27,fe=32,me=33,Te=34,Le=35,Ue=36,be=37,ye=38,Je=39,ve=40,Re=48,Ct=57,Ce=65,st=90,lt=91,Kn=224;function mi(N,...de){return de.length?de.some(x=>N[x]):N.altKey||N.shiftKey||N.ctrlKey||N.metaKey}},7131:(Mt,je,g)=>{g.d(je,{Q8:()=>ue,wD:()=>ke});var n=g(2495),l=g(5879),R=g(5592),S=g(8645),te=g(3620);let Se=(()=>{class ie{create(fe){return typeof MutationObserver>"u"?null:new MutationObserver(fe)}static#e=this.\u0275fac=function(me){return new(me||ie)};static#t=this.\u0275prov=l.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"})}return ie})(),le=(()=>{class ie{constructor(fe){this._mutationObserverFactory=fe,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((fe,me)=>this._cleanupObserver(me))}observe(fe){const me=(0,n.fI)(fe);return new R.y(Te=>{const Ue=this._observeElement(me).subscribe(Te);return()=>{Ue.unsubscribe(),this._unobserveElement(me)}})}_observeElement(fe){if(this._observedElements.has(fe))this._observedElements.get(fe).count++;else{const me=new S.x,Te=this._mutationObserverFactory.create(Le=>me.next(Le));Te&&Te.observe(fe,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(fe,{observer:Te,stream:me,count:1})}return this._observedElements.get(fe).stream}_unobserveElement(fe){this._observedElements.has(fe)&&(this._observedElements.get(fe).count--,this._observedElements.get(fe).count||this._cleanupObserver(fe))}_cleanupObserver(fe){if(this._observedElements.has(fe)){const{observer:me,stream:Te}=this._observedElements.get(fe);me&&me.disconnect(),Te.complete(),this._observedElements.delete(fe)}}static#e=this.\u0275fac=function(me){return new(me||ie)(l.LFG(Se))};static#t=this.\u0275prov=l.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"})}return ie})(),ke=(()=>{class ie{get disabled(){return this._disabled}set disabled(fe){this._disabled=(0,n.Ig)(fe),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(fe){this._debounce=(0,n.su)(fe),this._subscribe()}constructor(fe,me,Te){this._contentObserver=fe,this._elementRef=me,this._ngZone=Te,this.event=new l.vpe,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const fe=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?fe.pipe((0,te.b)(this.debounce)):fe).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(me){return new(me||ie)(l.Y36(le),l.Y36(l.SBq),l.Y36(l.R0b))};static#t=this.\u0275dir=l.lG2({type:ie,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return ie})(),ue=(()=>{class ie{static#e=this.\u0275fac=function(me){return new(me||ie)};static#t=this.\u0275mod=l.oAB({type:ie});static#n=this.\u0275inj=l.cJS({providers:[Se]})}return ie})()},3651:(Mt,je,g)=>{g.d(je,{pI:()=>jt,xu:()=>dt,aV:()=>ct,X_:()=>ft,U8:()=>Lt});var n=g(6672),l=g(6814),R=g(5879),S=g(2495),te=g(2831),Se=g(2181),le=g(8180),ke=g(9773),ue=g(9360),ie=g(8251),fe=g(9388),me=g(8484),Te=g(8645),Le=g(7394),Ue=g(3019),be=g(6028);const ye=(0,te.Mq)();class Je{constructor(Z,ce){this._viewportRuler=Z,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=ce}attach(){}enable(){if(this._canBeEnabled()){const Z=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=Z.style.left||"",this._previousHTMLStyles.top=Z.style.top||"",Z.style.left=(0,S.HM)(-this._previousScrollPosition.left),Z.style.top=(0,S.HM)(-this._previousScrollPosition.top),Z.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const Z=this._document.documentElement,Fe=Z.style,ot=this._document.body.style,st=Fe.scrollBehavior||"",lt=ot.scrollBehavior||"";this._isEnabled=!1,Fe.left=this._previousHTMLStyles.left,Fe.top=this._previousHTMLStyles.top,Z.classList.remove("cdk-global-scrollblock"),ye&&(Fe.scrollBehavior=ot.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ye&&(Fe.scrollBehavior=st,ot.scrollBehavior=lt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const ce=this._document.body,Fe=this._viewportRuler.getViewportSize();return ce.scrollHeight>Fe.height||ce.scrollWidth>Fe.width}}class H{constructor(Z,ce,Fe,ot){this._scrollDispatcher=Z,this._ngZone=ce,this._viewportRuler=Fe,this._config=ot,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(Z){this._overlayRef=Z}enable(){if(this._scrollSubscription)return;const Z=this._scrollDispatcher.scrolled(0).pipe((0,Se.h)(ce=>!ce||!this._overlayRef.overlayElement.contains(ce.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=Z.subscribe(()=>{const ce=this._viewportRuler.getViewportScrollPosition().top;Math.abs(ce-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=Z.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class xe{enable(){}disable(){}attach(){}}function oe(et,Z){return Z.some(ce=>et.bottomce.bottom||et.rightce.right)}function Ie(et,Z){return Z.some(ce=>et.topce.bottom||et.leftce.right)}class Re{constructor(Z,ce,Fe,ot){this._scrollDispatcher=Z,this._viewportRuler=ce,this._ngZone=Fe,this._config=ot,this._scrollSubscription=null}attach(Z){this._overlayRef=Z}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const ce=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Fe,height:ot}=this._viewportRuler.getViewportSize();oe(ce,[{width:Fe,height:ot,bottom:ot,right:Fe,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let $e=(()=>{class et{constructor(ce,Fe,ot,st){this._scrollDispatcher=ce,this._viewportRuler=Fe,this._ngZone=ot,this.noop=()=>new xe,this.close=lt=>new H(this._scrollDispatcher,this._ngZone,this._viewportRuler,lt),this.block=()=>new Je(this._viewportRuler,this._document),this.reposition=lt=>new Re(this._scrollDispatcher,this._viewportRuler,this._ngZone,lt),this._document=st}static#e=this.\u0275fac=function(Fe){return new(Fe||et)(R.LFG(n.mF),R.LFG(n.rL),R.LFG(R.R0b),R.LFG(l.K0))};static#t=this.\u0275prov=R.Yz7({token:et,factory:et.\u0275fac,providedIn:"root"})}return et})();class ft{constructor(Z){if(this.scrollStrategy=new xe,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,Z){const ce=Object.keys(Z);for(const Fe of ce)void 0!==Z[Fe]&&(this[Fe]=Z[Fe])}}}class Ut{constructor(Z,ce){this.connectionPair=Z,this.scrollableViewProperties=ce}}let Xe=(()=>{class et{constructor(ce){this._attachedOverlays=[],this._document=ce}ngOnDestroy(){this.detach()}add(ce){this.remove(ce),this._attachedOverlays.push(ce)}remove(ce){const Fe=this._attachedOverlays.indexOf(ce);Fe>-1&&this._attachedOverlays.splice(Fe,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(Fe){return new(Fe||et)(R.LFG(l.K0))};static#t=this.\u0275prov=R.Yz7({token:et,factory:et.\u0275fac,providedIn:"root"})}return et})(),Ct=(()=>{class et extends Xe{constructor(ce,Fe){super(ce),this._ngZone=Fe,this._keydownListener=ot=>{const st=this._attachedOverlays;for(let lt=st.length-1;lt>-1;lt--)if(st[lt]._keydownEvents.observers.length>0){const yt=st[lt]._keydownEvents;this._ngZone?this._ngZone.run(()=>yt.next(ot)):yt.next(ot);break}}}add(ce){super.add(ce),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(Fe){return new(Fe||et)(R.LFG(l.K0),R.LFG(R.R0b,8))};static#t=this.\u0275prov=R.Yz7({token:et,factory:et.\u0275fac,providedIn:"root"})}return et})(),W=(()=>{class et extends Xe{constructor(ce,Fe,ot){super(ce),this._platform=Fe,this._ngZone=ot,this._cursorStyleIsSet=!1,this._pointerDownListener=st=>{this._pointerDownEventTarget=(0,te.sA)(st)},this._clickListener=st=>{const lt=(0,te.sA)(st),yt="click"===st.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:lt;this._pointerDownEventTarget=null;const Jt=this._attachedOverlays.slice();for(let Bt=Jt.length-1;Bt>-1;Bt--){const Vt=Jt[Bt];if(Vt._outsidePointerEvents.observers.length<1||!Vt.hasAttached())continue;if(Vt.overlayElement.contains(lt)||Vt.overlayElement.contains(yt))break;const Ft=Vt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Ft.next(st)):Ft.next(st)}}}add(ce){if(super.add(ce),!this._isAttached){const Fe=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Fe)):this._addEventListeners(Fe),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Fe.style.cursor,Fe.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const ce=this._document.body;ce.removeEventListener("pointerdown",this._pointerDownListener,!0),ce.removeEventListener("click",this._clickListener,!0),ce.removeEventListener("auxclick",this._clickListener,!0),ce.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(ce.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(ce){ce.addEventListener("pointerdown",this._pointerDownListener,!0),ce.addEventListener("click",this._clickListener,!0),ce.addEventListener("auxclick",this._clickListener,!0),ce.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(Fe){return new(Fe||et)(R.LFG(l.K0),R.LFG(te.t4),R.LFG(R.R0b,8))};static#t=this.\u0275prov=R.Yz7({token:et,factory:et.\u0275fac,providedIn:"root"})}return et})(),P=(()=>{class et{constructor(ce,Fe){this._platform=Fe,this._document=ce}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const ce="cdk-overlay-container";if(this._platform.isBrowser||(0,te.Oy)()){const ot=this._document.querySelectorAll(`.${ce}[platform="server"], .${ce}[platform="test"]`);for(let st=0;stthis._backdropClick.next(Ft),this._backdropTransitionendHandler=Ft=>{this._disposeBackdrop(Ft.target)},this._keydownEvents=new Te.x,this._outsidePointerEvents=new Te.x,ot.scrollStrategy&&(this._scrollStrategy=ot.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=ot.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(Z){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const ce=this._portalOutlet.attach(Z);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,le.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof ce?.onDestroy&&ce.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),ce}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const Z=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),Z}dispose(){const Z=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,Z&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(Z){Z!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=Z,this.hasAttached()&&(Z.attach(this),this.updatePosition()))}updateSize(Z){this._config={...this._config,...Z},this._updateElementSize()}setDirection(Z){this._config={...this._config,direction:Z},this._updateElementDirection()}addPanelClass(Z){this._pane&&this._toggleClasses(this._pane,Z,!0)}removePanelClass(Z){this._pane&&this._toggleClasses(this._pane,Z,!1)}getDirection(){const Z=this._config.direction;return Z?"string"==typeof Z?Z:Z.value:"ltr"}updateScrollStrategy(Z){Z!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=Z,this.hasAttached()&&(Z.attach(this),Z.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const Z=this._pane.style;Z.width=(0,S.HM)(this._config.width),Z.height=(0,S.HM)(this._config.height),Z.minWidth=(0,S.HM)(this._config.minWidth),Z.minHeight=(0,S.HM)(this._config.minHeight),Z.maxWidth=(0,S.HM)(this._config.maxWidth),Z.maxHeight=(0,S.HM)(this._config.maxHeight)}_togglePointerEvents(Z){this._pane.style.pointerEvents=Z?"":"none"}_attachBackdrop(){const Z="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(Z)})}):this._backdropElement.classList.add(Z)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const Z=this._backdropElement;if(Z){if(this._animationsDisabled)return void this._disposeBackdrop(Z);Z.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{Z.addEventListener("transitionend",this._backdropTransitionendHandler)}),Z.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(Z)},500))}}_toggleClasses(Z,ce,Fe){const ot=(0,S.Eq)(ce||[]).filter(st=>!!st);ot.length&&(Fe?Z.classList.add(...ot):Z.classList.remove(...ot))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const Z=this._ngZone.onStable.pipe((0,ke.R)((0,Ue.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),Z.unsubscribe())})})}_disposeScrollStrategy(){const Z=this._scrollStrategy;Z&&(Z.disable(),Z.detach&&Z.detach())}_disposeBackdrop(Z){Z&&(Z.removeEventListener("click",this._backdropClickHandler),Z.removeEventListener("transitionend",this._backdropTransitionendHandler),Z.remove(),this._backdropElement===Z&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const L="cdk-overlay-connected-position-bounding-box",Ce=/([A-Za-z%]+)$/;class G{get positions(){return this._preferredPositions}constructor(Z,ce,Fe,ot,st){this._viewportRuler=ce,this._document=Fe,this._platform=ot,this._overlayContainer=st,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new Te.x,this._resizeSubscription=Le.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(Z)}attach(Z){this._validatePositions(),Z.hostElement.classList.add(L),this._overlayRef=Z,this._boundingBox=Z.hostElement,this._pane=Z.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Z=this._originRect,ce=this._overlayRect,Fe=this._viewportRect,ot=this._containerRect,st=[];let lt;for(let yt of this._preferredPositions){let Jt=this._getOriginPoint(Z,ot,yt),Bt=this._getOverlayPoint(Jt,ce,yt),Vt=this._getOverlayFit(Bt,ce,Fe,yt);if(Vt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(yt,Jt);this._canFitWithFlexibleDimensions(Vt,Bt,Fe)?st.push({position:yt,origin:Jt,overlayRect:ce,boundingBoxRect:this._calculateBoundingBoxRect(Jt,yt)}):(!lt||lt.overlayFit.visibleAreaJt&&(Jt=Vt,yt=Bt)}return this._isPushed=!1,void this._applyPosition(yt.position,yt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(lt.position,lt.originPoint);this._applyPosition(lt.position,lt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&$(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(L),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const Z=this._lastPosition;if(Z){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const ce=this._getOriginPoint(this._originRect,this._containerRect,Z);this._applyPosition(Z,ce)}else this.apply()}withScrollableContainers(Z){return this._scrollables=Z,this}withPositions(Z){return this._preferredPositions=Z,-1===Z.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(Z){return this._viewportMargin=Z,this}withFlexibleDimensions(Z=!0){return this._hasFlexibleDimensions=Z,this}withGrowAfterOpen(Z=!0){return this._growAfterOpen=Z,this}withPush(Z=!0){return this._canPush=Z,this}withLockedPosition(Z=!0){return this._positionLocked=Z,this}setOrigin(Z){return this._origin=Z,this}withDefaultOffsetX(Z){return this._offsetX=Z,this}withDefaultOffsetY(Z){return this._offsetY=Z,this}withTransformOriginOn(Z){return this._transformOriginSelector=Z,this}_getOriginPoint(Z,ce,Fe){let ot,st;if("center"==Fe.originX)ot=Z.left+Z.width/2;else{const lt=this._isRtl()?Z.right:Z.left,yt=this._isRtl()?Z.left:Z.right;ot="start"==Fe.originX?lt:yt}return ce.left<0&&(ot-=ce.left),st="center"==Fe.originY?Z.top+Z.height/2:"top"==Fe.originY?Z.top:Z.bottom,ce.top<0&&(st-=ce.top),{x:ot,y:st}}_getOverlayPoint(Z,ce,Fe){let ot,st;return ot="center"==Fe.overlayX?-ce.width/2:"start"===Fe.overlayX?this._isRtl()?-ce.width:0:this._isRtl()?0:-ce.width,st="center"==Fe.overlayY?-ce.height/2:"top"==Fe.overlayY?0:-ce.height,{x:Z.x+ot,y:Z.y+st}}_getOverlayFit(Z,ce,Fe,ot){const st=ae(ce);let{x:lt,y:yt}=Z,Jt=this._getOffset(ot,"x"),Bt=this._getOffset(ot,"y");Jt&&(lt+=Jt),Bt&&(yt+=Bt);let Cn=0-yt,un=yt+st.height-Fe.height,nn=this._subtractOverflows(st.width,0-lt,lt+st.width-Fe.width),pn=this._subtractOverflows(st.height,Cn,un),bn=nn*pn;return{visibleArea:bn,isCompletelyWithinViewport:st.width*st.height===bn,fitsInViewportVertically:pn===st.height,fitsInViewportHorizontally:nn==st.width}}_canFitWithFlexibleDimensions(Z,ce,Fe){if(this._hasFlexibleDimensions){const ot=Fe.bottom-ce.y,st=Fe.right-ce.x,lt=Be(this._overlayRef.getConfig().minHeight),yt=Be(this._overlayRef.getConfig().minWidth);return(Z.fitsInViewportVertically||null!=lt&<<=ot)&&(Z.fitsInViewportHorizontally||null!=yt&&yt<=st)}return!1}_pushOverlayOnScreen(Z,ce,Fe){if(this._previousPushAmount&&this._positionLocked)return{x:Z.x+this._previousPushAmount.x,y:Z.y+this._previousPushAmount.y};const ot=ae(ce),st=this._viewportRect,lt=Math.max(Z.x+ot.width-st.width,0),yt=Math.max(Z.y+ot.height-st.height,0),Jt=Math.max(st.top-Fe.top-Z.y,0),Bt=Math.max(st.left-Fe.left-Z.x,0);let Vt=0,Ft=0;return Vt=ot.width<=st.width?Bt||-lt:Z.xnn&&!this._isInitialRender&&!this._growAfterOpen&&(lt=Z.y-nn/2)}if("end"===ce.overlayX&&!ot||"start"===ce.overlayX&&ot)Cn=Fe.width-Z.x+this._viewportMargin,Vt=Z.x-this._viewportMargin;else if("start"===ce.overlayX&&!ot||"end"===ce.overlayX&&ot)Ft=Z.x,Vt=Fe.right-Z.x;else{const un=Math.min(Fe.right-Z.x+Fe.left,Z.x),nn=this._lastBoundingBoxSize.width;Vt=2*un,Ft=Z.x-un,Vt>nn&&!this._isInitialRender&&!this._growAfterOpen&&(Ft=Z.x-nn/2)}return{top:lt,left:Ft,bottom:yt,right:Cn,width:Vt,height:st}}_setBoundingBoxStyles(Z,ce){const Fe=this._calculateBoundingBoxRect(Z,ce);!this._isInitialRender&&!this._growAfterOpen&&(Fe.height=Math.min(Fe.height,this._lastBoundingBoxSize.height),Fe.width=Math.min(Fe.width,this._lastBoundingBoxSize.width));const ot={};if(this._hasExactPosition())ot.top=ot.left="0",ot.bottom=ot.right=ot.maxHeight=ot.maxWidth="",ot.width=ot.height="100%";else{const st=this._overlayRef.getConfig().maxHeight,lt=this._overlayRef.getConfig().maxWidth;ot.height=(0,S.HM)(Fe.height),ot.top=(0,S.HM)(Fe.top),ot.bottom=(0,S.HM)(Fe.bottom),ot.width=(0,S.HM)(Fe.width),ot.left=(0,S.HM)(Fe.left),ot.right=(0,S.HM)(Fe.right),ot.alignItems="center"===ce.overlayX?"center":"end"===ce.overlayX?"flex-end":"flex-start",ot.justifyContent="center"===ce.overlayY?"center":"bottom"===ce.overlayY?"flex-end":"flex-start",st&&(ot.maxHeight=(0,S.HM)(st)),lt&&(ot.maxWidth=(0,S.HM)(lt))}this._lastBoundingBoxSize=Fe,$(this._boundingBox.style,ot)}_resetBoundingBoxStyles(){$(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){$(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(Z,ce){const Fe={},ot=this._hasExactPosition(),st=this._hasFlexibleDimensions,lt=this._overlayRef.getConfig();if(ot){const Vt=this._viewportRuler.getViewportScrollPosition();$(Fe,this._getExactOverlayY(ce,Z,Vt)),$(Fe,this._getExactOverlayX(ce,Z,Vt))}else Fe.position="static";let yt="",Jt=this._getOffset(ce,"x"),Bt=this._getOffset(ce,"y");Jt&&(yt+=`translateX(${Jt}px) `),Bt&&(yt+=`translateY(${Bt}px)`),Fe.transform=yt.trim(),lt.maxHeight&&(ot?Fe.maxHeight=(0,S.HM)(lt.maxHeight):st&&(Fe.maxHeight="")),lt.maxWidth&&(ot?Fe.maxWidth=(0,S.HM)(lt.maxWidth):st&&(Fe.maxWidth="")),$(this._pane.style,Fe)}_getExactOverlayY(Z,ce,Fe){let ot={top:"",bottom:""},st=this._getOverlayPoint(ce,this._overlayRect,Z);return this._isPushed&&(st=this._pushOverlayOnScreen(st,this._overlayRect,Fe)),"bottom"===Z.overlayY?ot.bottom=this._document.documentElement.clientHeight-(st.y+this._overlayRect.height)+"px":ot.top=(0,S.HM)(st.y),ot}_getExactOverlayX(Z,ce,Fe){let lt,ot={left:"",right:""},st=this._getOverlayPoint(ce,this._overlayRect,Z);return this._isPushed&&(st=this._pushOverlayOnScreen(st,this._overlayRect,Fe)),lt=this._isRtl()?"end"===Z.overlayX?"left":"right":"end"===Z.overlayX?"right":"left","right"===lt?ot.right=this._document.documentElement.clientWidth-(st.x+this._overlayRect.width)+"px":ot.left=(0,S.HM)(st.x),ot}_getScrollVisibility(){const Z=this._getOriginRect(),ce=this._pane.getBoundingClientRect(),Fe=this._scrollables.map(ot=>ot.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Ie(Z,Fe),isOriginOutsideView:oe(Z,Fe),isOverlayClipped:Ie(ce,Fe),isOverlayOutsideView:oe(ce,Fe)}}_subtractOverflows(Z,...ce){return ce.reduce((Fe,ot)=>Fe-Math.max(ot,0),Z)}_getNarrowedViewportRect(){const Z=this._document.documentElement.clientWidth,ce=this._document.documentElement.clientHeight,Fe=this._viewportRuler.getViewportScrollPosition();return{top:Fe.top+this._viewportMargin,left:Fe.left+this._viewportMargin,right:Fe.left+Z-this._viewportMargin,bottom:Fe.top+ce-this._viewportMargin,width:Z-2*this._viewportMargin,height:ce-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(Z,ce){return"x"===ce?null==Z.offsetX?this._offsetX:Z.offsetX:null==Z.offsetY?this._offsetY:Z.offsetY}_validatePositions(){}_addPanelClasses(Z){this._pane&&(0,S.Eq)(Z).forEach(ce=>{""!==ce&&-1===this._appliedPanelClasses.indexOf(ce)&&(this._appliedPanelClasses.push(ce),this._pane.classList.add(ce))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(Z=>{this._pane.classList.remove(Z)}),this._appliedPanelClasses=[])}_getOriginRect(){const Z=this._origin;if(Z instanceof R.SBq)return Z.nativeElement.getBoundingClientRect();if(Z instanceof Element)return Z.getBoundingClientRect();const ce=Z.width||0,Fe=Z.height||0;return{top:Z.y,bottom:Z.y+Fe,left:Z.x,right:Z.x+ce,height:Fe,width:ce}}}function $(et,Z){for(let ce in Z)Z.hasOwnProperty(ce)&&(et[ce]=Z[ce]);return et}function Be(et){if("number"!=typeof et&&null!=et){const[Z,ce]=et.split(Ce);return ce&&"px"!==ce?null:parseFloat(Z)}return et||null}function ae(et){return{top:Math.floor(et.top),right:Math.floor(et.right),bottom:Math.floor(et.bottom),left:Math.floor(et.left),width:Math.floor(et.width),height:Math.floor(et.height)}}const it="cdk-global-overlay-wrapper";class qe{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(Z){const ce=Z.getConfig();this._overlayRef=Z,this._width&&!ce.width&&Z.updateSize({width:this._width}),this._height&&!ce.height&&Z.updateSize({height:this._height}),Z.hostElement.classList.add(it),this._isDisposed=!1}top(Z=""){return this._bottomOffset="",this._topOffset=Z,this._alignItems="flex-start",this}left(Z=""){return this._xOffset=Z,this._xPosition="left",this}bottom(Z=""){return this._topOffset="",this._bottomOffset=Z,this._alignItems="flex-end",this}right(Z=""){return this._xOffset=Z,this._xPosition="right",this}start(Z=""){return this._xOffset=Z,this._xPosition="start",this}end(Z=""){return this._xOffset=Z,this._xPosition="end",this}width(Z=""){return this._overlayRef?this._overlayRef.updateSize({width:Z}):this._width=Z,this}height(Z=""){return this._overlayRef?this._overlayRef.updateSize({height:Z}):this._height=Z,this}centerHorizontally(Z=""){return this.left(Z),this._xPosition="center",this}centerVertically(Z=""){return this.top(Z),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const Z=this._overlayRef.overlayElement.style,ce=this._overlayRef.hostElement.style,Fe=this._overlayRef.getConfig(),{width:ot,height:st,maxWidth:lt,maxHeight:yt}=Fe,Jt=!("100%"!==ot&&"100vw"!==ot||lt&&"100%"!==lt&&"100vw"!==lt),Bt=!("100%"!==st&&"100vh"!==st||yt&&"100%"!==yt&&"100vh"!==yt),Vt=this._xPosition,Ft=this._xOffset,Cn="rtl"===this._overlayRef.getConfig().direction;let un="",nn="",pn="";Jt?pn="flex-start":"center"===Vt?(pn="center",Cn?nn=Ft:un=Ft):Cn?"left"===Vt||"end"===Vt?(pn="flex-end",un=Ft):("right"===Vt||"start"===Vt)&&(pn="flex-start",nn=Ft):"left"===Vt||"start"===Vt?(pn="flex-start",un=Ft):("right"===Vt||"end"===Vt)&&(pn="flex-end",nn=Ft),Z.position=this._cssPosition,Z.marginLeft=Jt?"0":un,Z.marginTop=Bt?"0":this._topOffset,Z.marginBottom=this._bottomOffset,Z.marginRight=Jt?"0":nn,ce.justifyContent=pn,ce.alignItems=Bt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const Z=this._overlayRef.overlayElement.style,ce=this._overlayRef.hostElement,Fe=ce.style;ce.classList.remove(it),Fe.justifyContent=Fe.alignItems=Z.marginTop=Z.marginBottom=Z.marginLeft=Z.marginRight=Z.position="",this._overlayRef=null,this._isDisposed=!0}}let It=(()=>{class et{constructor(ce,Fe,ot,st){this._viewportRuler=ce,this._document=Fe,this._platform=ot,this._overlayContainer=st}global(){return new qe}flexibleConnectedTo(ce){return new G(ce,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(Fe){return new(Fe||et)(R.LFG(n.rL),R.LFG(l.K0),R.LFG(te.t4),R.LFG(P))};static#t=this.\u0275prov=R.Yz7({token:et,factory:et.\u0275fac,providedIn:"root"})}return et})(),Ye=0,ct=(()=>{class et{constructor(ce,Fe,ot,st,lt,yt,Jt,Bt,Vt,Ft,Cn,un){this.scrollStrategies=ce,this._overlayContainer=Fe,this._componentFactoryResolver=ot,this._positionBuilder=st,this._keyboardDispatcher=lt,this._injector=yt,this._ngZone=Jt,this._document=Bt,this._directionality=Vt,this._location=Ft,this._outsideClickDispatcher=Cn,this._animationsModuleType=un}create(ce){const Fe=this._createHostElement(),ot=this._createPaneElement(Fe),st=this._createPortalOutlet(ot),lt=new ft(ce);return lt.direction=lt.direction||this._directionality.value,new se(st,Fe,ot,lt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(ce){const Fe=this._document.createElement("div");return Fe.id="cdk-overlay-"+Ye++,Fe.classList.add("cdk-overlay-pane"),ce.appendChild(Fe),Fe}_createHostElement(){const ce=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(ce),ce}_createPortalOutlet(ce){return this._appRef||(this._appRef=this._injector.get(R.z2F)),new me.u0(ce,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(Fe){return new(Fe||et)(R.LFG($e),R.LFG(P),R.LFG(R._Vd),R.LFG(It),R.LFG(Ct),R.LFG(R.zs3),R.LFG(R.R0b),R.LFG(l.K0),R.LFG(fe.Is),R.LFG(l.Ye),R.LFG(W),R.LFG(R.QbO,8))};static#t=this.\u0275prov=R.Yz7({token:et,factory:et.\u0275fac,providedIn:"root"})}return et})();const Ee=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],tt=new R.OlP("cdk-connected-overlay-scroll-strategy");let dt=(()=>{class et{constructor(ce){this.elementRef=ce}static#e=this.\u0275fac=function(Fe){return new(Fe||et)(R.Y36(R.SBq))};static#t=this.\u0275dir=R.lG2({type:et,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return et})(),jt=(()=>{class et{get offsetX(){return this._offsetX}set offsetX(ce){this._offsetX=ce,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(ce){this._offsetY=ce,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(ce){this._hasBackdrop=(0,S.Ig)(ce)}get lockPosition(){return this._lockPosition}set lockPosition(ce){this._lockPosition=(0,S.Ig)(ce)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(ce){this._flexibleDimensions=(0,S.Ig)(ce)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(ce){this._growAfterOpen=(0,S.Ig)(ce)}get push(){return this._push}set push(ce){this._push=(0,S.Ig)(ce)}constructor(ce,Fe,ot,st,lt){this._overlay=ce,this._dir=lt,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Le.w0.EMPTY,this._attachSubscription=Le.w0.EMPTY,this._detachSubscription=Le.w0.EMPTY,this._positionSubscription=Le.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new R.vpe,this.positionChange=new R.vpe,this.attach=new R.vpe,this.detach=new R.vpe,this.overlayKeydown=new R.vpe,this.overlayOutsideClick=new R.vpe,this._templatePortal=new me.UE(Fe,ot),this._scrollStrategyFactory=st,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(ce){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),ce.origin&&this.open&&this._position.apply()),ce.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Ee);const ce=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=ce.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=ce.detachments().subscribe(()=>this.detach.emit()),ce.keydownEvents().subscribe(Fe=>{this.overlayKeydown.next(Fe),Fe.keyCode===be.hY&&!this.disableClose&&!(0,be.Vb)(Fe)&&(Fe.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Fe=>{this.overlayOutsideClick.next(Fe)})}_buildConfig(){const ce=this._position=this.positionStrategy||this._createPositionStrategy(),Fe=new ft({direction:this._dir,positionStrategy:ce,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(Fe.width=this.width),(this.height||0===this.height)&&(Fe.height=this.height),(this.minWidth||0===this.minWidth)&&(Fe.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Fe.minHeight=this.minHeight),this.backdropClass&&(Fe.backdropClass=this.backdropClass),this.panelClass&&(Fe.panelClass=this.panelClass),Fe}_updatePositionStrategy(ce){const Fe=this.positions.map(ot=>({originX:ot.originX,originY:ot.originY,overlayX:ot.overlayX,overlayY:ot.overlayY,offsetX:ot.offsetX||this.offsetX,offsetY:ot.offsetY||this.offsetY,panelClass:ot.panelClass||void 0}));return ce.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(Fe).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const ce=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(ce),ce}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof dt?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(ce=>{this.backdropClick.emit(ce)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function we(et,Z=!1){return(0,ue.e)((ce,Fe)=>{let ot=0;ce.subscribe((0,ie.x)(Fe,st=>{const lt=et(st,ot++);(lt||Z)&&Fe.next(st),!lt&&Fe.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(ce=>{this.positionChange.emit(ce),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static#e=this.\u0275fac=function(Fe){return new(Fe||et)(R.Y36(ct),R.Y36(R.Rgc),R.Y36(R.s_b),R.Y36(tt),R.Y36(fe.Is,8))};static#t=this.\u0275dir=R.lG2({type:et,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[R.TTD]})}return et})();const cn={provide:tt,deps:[ct],useFactory:function Gt(et){return()=>et.scrollStrategies.reposition()}};let Lt=(()=>{class et{static#e=this.\u0275fac=function(Fe){return new(Fe||et)};static#t=this.\u0275mod=R.oAB({type:et});static#n=this.\u0275inj=R.cJS({providers:[ct,cn],imports:[fe.vT,me.eL,n.Cl,n.Cl]})}return et})()},2831:(Mt,je,g)=>{g.d(je,{Mq:()=>Te,Oy:()=>H,i$:()=>we,kV:()=>ye,qK:()=>ke,sA:()=>ve,t4:()=>S});var n=g(5879),l=g(6814);let R;try{R=typeof Intl<"u"&&Intl.v8BreakIterator}catch{R=!1}let Se,S=(()=>{class xe{constructor(Ie){this._platformId=Ie,this.isBrowser=this._platformId?(0,l.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!R)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(Re){return new(Re||xe)(n.LFG(n.Lbi))};static#t=this.\u0275prov=n.Yz7({token:xe,factory:xe.\u0275fac,providedIn:"root"})}return xe})();const le=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function ke(){if(Se)return Se;if("object"!=typeof document||!document)return Se=new Set(le),Se;let xe=document.createElement("input");return Se=new Set(le.filter(oe=>(xe.setAttribute("type",oe),xe.type===oe))),Se}let ue,me,Ue;function we(xe){return function ie(){if(null==ue&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ue=!0}))}finally{ue=ue||!1}return ue}()?xe:!!xe.capture}function Te(){if(null==me){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return me=!1,me;if("scrollBehavior"in document.documentElement.style)me=!0;else{const xe=Element.prototype.scrollTo;me=!!xe&&!/\{\s*\[native code\]\s*\}/.test(xe.toString())}}return me}function ye(xe){if(function be(){if(null==Ue){const xe=typeof document<"u"?document.head:null;Ue=!(!xe||!xe.createShadowRoot&&!xe.attachShadow)}return Ue}()){const oe=xe.getRootNode?xe.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&oe instanceof ShadowRoot)return oe}return null}function ve(xe){return xe.composedPath?xe.composedPath()[0]:xe.target}function H(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},8484:(Mt,je,g)=>{g.d(je,{C5:()=>ie,Pl:()=>Je,UE:()=>we,eL:()=>H,ig:()=>be,u0:()=>Le});var n=g(5879),l=g(6814);class ue{attach(Ie){return this._attachedHost=Ie,Ie.attach(this)}detach(){let Ie=this._attachedHost;null!=Ie&&(this._attachedHost=null,Ie.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Ie){this._attachedHost=Ie}}class ie extends ue{constructor(Ie,Re,$e,ft,bt){super(),this.component=Ie,this.viewContainerRef=Re,this.injector=$e,this.componentFactoryResolver=ft,this.projectableNodes=bt}}class we extends ue{constructor(Ie,Re,$e,ft){super(),this.templateRef=Ie,this.viewContainerRef=Re,this.context=$e,this.injector=ft}get origin(){return this.templateRef.elementRef}attach(Ie,Re=this.context){return this.context=Re,super.attach(Ie)}detach(){return this.context=void 0,super.detach()}}class fe extends ue{constructor(Ie){super(),this.element=Ie instanceof n.SBq?Ie.nativeElement:Ie}}class me{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(Ie){return Ie instanceof ie?(this._attachedPortal=Ie,this.attachComponentPortal(Ie)):Ie instanceof we?(this._attachedPortal=Ie,this.attachTemplatePortal(Ie)):this.attachDomPortal&&Ie instanceof fe?(this._attachedPortal=Ie,this.attachDomPortal(Ie)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(Ie){this._disposeFn=Ie}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Le extends me{constructor(Ie,Re,$e,ft,bt){super(),this.outletElement=Ie,this._componentFactoryResolver=Re,this._appRef=$e,this._defaultInjector=ft,this.attachDomPortal=Dt=>{const Ut=Dt.element,kt=this._document.createComment("dom-portal");Ut.parentNode.insertBefore(kt,Ut),this.outletElement.appendChild(Ut),this._attachedPortal=Dt,super.setDisposeFn(()=>{kt.parentNode&&kt.parentNode.replaceChild(Ut,kt)})},this._document=bt}attachComponentPortal(Ie){const $e=(Ie.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Ie.component);let ft;return Ie.viewContainerRef?(ft=Ie.viewContainerRef.createComponent($e,Ie.viewContainerRef.length,Ie.injector||Ie.viewContainerRef.injector,Ie.projectableNodes||void 0),this.setDisposeFn(()=>ft.destroy())):(ft=$e.create(Ie.injector||this._defaultInjector||n.zs3.NULL),this._appRef.attachView(ft.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(ft.hostView),ft.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(ft)),this._attachedPortal=Ie,ft}attachTemplatePortal(Ie){let Re=Ie.viewContainerRef,$e=Re.createEmbeddedView(Ie.templateRef,Ie.context,{injector:Ie.injector});return $e.rootNodes.forEach(ft=>this.outletElement.appendChild(ft)),$e.detectChanges(),this.setDisposeFn(()=>{let ft=Re.indexOf($e);-1!==ft&&Re.remove(ft)}),this._attachedPortal=Ie,$e}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Ie){return Ie.hostView.rootNodes[0]}}let be=(()=>{class oe extends we{constructor(Re,$e){super(Re,$e)}static#e=this.\u0275fac=function($e){return new($e||oe)(n.Y36(n.Rgc),n.Y36(n.s_b))};static#t=this.\u0275dir=n.lG2({type:oe,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[n.qOj]})}return oe})(),Je=(()=>{class oe extends me{constructor(Re,$e,ft){super(),this._componentFactoryResolver=Re,this._viewContainerRef=$e,this._isInitialized=!1,this.attached=new n.vpe,this.attachDomPortal=bt=>{const Dt=bt.element,Ut=this._document.createComment("dom-portal");bt.setAttachedHost(this),Dt.parentNode.insertBefore(Ut,Dt),this._getRootNode().appendChild(Dt),this._attachedPortal=bt,super.setDisposeFn(()=>{Ut.parentNode&&Ut.parentNode.replaceChild(Dt,Ut)})},this._document=ft}get portal(){return this._attachedPortal}set portal(Re){this.hasAttached()&&!Re&&!this._isInitialized||(this.hasAttached()&&super.detach(),Re&&super.attach(Re),this._attachedPortal=Re||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(Re){Re.setAttachedHost(this);const $e=null!=Re.viewContainerRef?Re.viewContainerRef:this._viewContainerRef,bt=(Re.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Re.component),Dt=$e.createComponent(bt,$e.length,Re.injector||$e.injector,Re.projectableNodes||void 0);return $e!==this._viewContainerRef&&this._getRootNode().appendChild(Dt.hostView.rootNodes[0]),super.setDisposeFn(()=>Dt.destroy()),this._attachedPortal=Re,this._attachedRef=Dt,this.attached.emit(Dt),Dt}attachTemplatePortal(Re){Re.setAttachedHost(this);const $e=this._viewContainerRef.createEmbeddedView(Re.templateRef,Re.context,{injector:Re.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=Re,this._attachedRef=$e,this.attached.emit($e),$e}_getRootNode(){const Re=this._viewContainerRef.element.nativeElement;return Re.nodeType===Re.ELEMENT_NODE?Re:Re.parentNode}static#e=this.\u0275fac=function($e){return new($e||oe)(n.Y36(n._Vd),n.Y36(n.s_b),n.Y36(l.K0))};static#t=this.\u0275dir=n.lG2({type:oe,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.qOj]})}return oe})(),H=(()=>{class oe{static#e=this.\u0275fac=function($e){return new($e||oe)};static#t=this.\u0275mod=n.oAB({type:oe});static#n=this.\u0275inj=n.cJS({})}return oe})()},6672:(Mt,je,g)=>{g.d(je,{Cl:()=>W,ZD:()=>Ct,mF:()=>H,rL:()=>Ie});var n=g(2495),l=g(5879),R=g(8645),S=g(2096),te=g(5592),Se=g(2438),ue=(g(927),g(6410),g(9028)),ie=g(2181),we=g(2831),fe=g(6814),me=g(9388);let H=(()=>{class P{constructor(L,Ce,G){this._ngZone=L,this._platform=Ce,this._scrolled=new R.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=G}register(L){this.scrollContainers.has(L)||this.scrollContainers.set(L,L.elementScrolled().subscribe(()=>this._scrolled.next(L)))}deregister(L){const Ce=this.scrollContainers.get(L);Ce&&(Ce.unsubscribe(),this.scrollContainers.delete(L))}scrolled(L=20){return this._platform.isBrowser?new te.y(Ce=>{this._globalSubscription||this._addGlobalListener();const G=L>0?this._scrolled.pipe((0,ue.e)(L)).subscribe(Ce):this._scrolled.subscribe(Ce);return this._scrolledCount++,()=>{G.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,S.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((L,Ce)=>this.deregister(Ce)),this._scrolled.complete()}ancestorScrolled(L,Ce){const G=this.getAncestorScrollContainers(L);return this.scrolled(Ce).pipe((0,ie.h)($=>!$||G.indexOf($)>-1))}getAncestorScrollContainers(L){const Ce=[];return this.scrollContainers.forEach((G,$)=>{this._scrollableContainsElement($,L)&&Ce.push($)}),Ce}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(L,Ce){let G=(0,n.fI)(Ce),$=L.getElementRef().nativeElement;do{if(G==$)return!0}while(G=G.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const L=this._getWindow();return(0,Se.R)(L.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(Ce){return new(Ce||P)(l.LFG(l.R0b),l.LFG(we.t4),l.LFG(fe.K0,8))};static#t=this.\u0275prov=l.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})(),Ie=(()=>{class P{constructor(L,Ce,G){this._platform=L,this._change=new R.x,this._changeListener=$=>{this._change.next($)},this._document=G,Ce.runOutsideAngular(()=>{if(L.isBrowser){const $=this._getWindow();$.addEventListener("resize",this._changeListener),$.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const L=this._getWindow();L.removeEventListener("resize",this._changeListener),L.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const L={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),L}getViewportRect(){const L=this.getViewportScrollPosition(),{width:Ce,height:G}=this.getViewportSize();return{top:L.top,left:L.left,bottom:L.top+G,right:L.left+Ce,height:G,width:Ce}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const L=this._document,Ce=this._getWindow(),G=L.documentElement,$=G.getBoundingClientRect();return{top:-$.top||L.body.scrollTop||Ce.scrollY||G.scrollTop||0,left:-$.left||L.body.scrollLeft||Ce.scrollX||G.scrollLeft||0}}change(L=20){return L>0?this._change.pipe((0,ue.e)(L)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const L=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:L.innerWidth,height:L.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(Ce){return new(Ce||P)(l.LFG(we.t4),l.LFG(l.R0b),l.LFG(fe.K0,8))};static#t=this.\u0275prov=l.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})(),Ct=(()=>{class P{static#e=this.\u0275fac=function(Ce){return new(Ce||P)};static#t=this.\u0275mod=l.oAB({type:P});static#n=this.\u0275inj=l.cJS({})}return P})(),W=(()=>{class P{static#e=this.\u0275fac=function(Ce){return new(Ce||P)};static#t=this.\u0275mod=l.oAB({type:P});static#n=this.\u0275inj=l.cJS({imports:[me.vT,Ct,me.vT,Ct]})}return P})()},6263:(Mt,je,g)=>{g.d(je,{IC:()=>me,Ky:()=>Te,Lq:()=>we});var n=g(2831),l=g(5879),R=g(2495),S=g(6232),te=g(8645),Se=g(2438),le=g(9028),ke=g(9773),ue=g(6814);const ie=(0,n.i$)({passive:!0});let we=(()=>{class Le{constructor(be,ye){this._platform=be,this._ngZone=ye,this._monitoredElements=new Map}monitor(be){if(!this._platform.isBrowser)return S.E;const ye=(0,R.fI)(be),Je=this._monitoredElements.get(ye);if(Je)return Je.subject;const ve=new te.x,H="cdk-text-field-autofilled",xe=oe=>{"cdk-text-field-autofill-start"!==oe.animationName||ye.classList.contains(H)?"cdk-text-field-autofill-end"===oe.animationName&&ye.classList.contains(H)&&(ye.classList.remove(H),this._ngZone.run(()=>ve.next({target:oe.target,isAutofilled:!1}))):(ye.classList.add(H),this._ngZone.run(()=>ve.next({target:oe.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{ye.addEventListener("animationstart",xe,ie),ye.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(ye,{subject:ve,unlisten:()=>{ye.removeEventListener("animationstart",xe,ie)}}),ve}stopMonitoring(be){const ye=(0,R.fI)(be),Je=this._monitoredElements.get(ye);Je&&(Je.unlisten(),Je.subject.complete(),ye.classList.remove("cdk-text-field-autofill-monitored"),ye.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(ye))}ngOnDestroy(){this._monitoredElements.forEach((be,ye)=>this.stopMonitoring(ye))}static#e=this.\u0275fac=function(ye){return new(ye||Le)(l.LFG(n.t4),l.LFG(l.R0b))};static#t=this.\u0275prov=l.Yz7({token:Le,factory:Le.\u0275fac,providedIn:"root"})}return Le})(),me=(()=>{class Le{get minRows(){return this._minRows}set minRows(be){this._minRows=(0,R.su)(be),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(be){this._maxRows=(0,R.su)(be),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(be){be=(0,R.Ig)(be),this._enabled!==be&&((this._enabled=be)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(be){this._cachedPlaceholderHeight=void 0,be?this._textareaElement.setAttribute("placeholder",be):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}constructor(be,ye,Je,ve){this._elementRef=be,this._platform=ye,this._ngZone=Je,this._destroyed=new te.x,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=H=>{this._hasFocus="focus"===H.type},this._document=ve,this._textareaElement=this._elementRef.nativeElement}_setMinHeight(){const be=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;be&&(this._textareaElement.style.minHeight=be)}_setMaxHeight(){const be=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;be&&(this._textareaElement.style.maxHeight=be)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const be=this._getWindow();(0,Se.R)(be,"resize").pipe((0,le.e)(16),(0,ke.R)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let be=this._textareaElement.cloneNode(!1);be.rows=1,be.style.position="absolute",be.style.visibility="hidden",be.style.border="none",be.style.padding="0",be.style.height="",be.style.minHeight="",be.style.maxHeight="",be.style.overflow="hidden",this._textareaElement.parentNode.appendChild(be),this._cachedLineHeight=be.clientHeight,be.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const be=this._textareaElement,ye=be.style.marginBottom||"",Je=this._platform.FIREFOX,ve=Je&&this._hasFocus,H=Je?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";ve&&(be.style.marginBottom=`${be.clientHeight}px`),be.classList.add(H);const xe=be.scrollHeight-4;return be.classList.remove(H),ve&&(be.style.marginBottom=ye),xe}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const be=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=be}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(be=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const ye=this._elementRef.nativeElement,Je=ye.value;if(!be&&this._minRows===this._previousMinRows&&Je===this._previousValue)return;const ve=this._measureScrollHeight(),H=Math.max(ve,this._cachedPlaceholderHeight||0);ye.style.height=`${H}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(ye)):setTimeout(()=>this._scrollToCaretPosition(ye))}),this._previousValue=Je,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(be){const{selectionStart:ye,selectionEnd:Je}=be;!this._destroyed.isStopped&&this._hasFocus&&be.setSelectionRange(ye,Je)}static#e=this.\u0275fac=function(ye){return new(ye||Le)(l.Y36(l.SBq),l.Y36(n.t4),l.Y36(l.R0b),l.Y36(ue.K0,8))};static#t=this.\u0275dir=l.lG2({type:Le,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(ye,Je){1&ye&&l.NdJ("input",function(){return Je._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]})}return Le})(),Te=(()=>{class Le{static#e=this.\u0275fac=function(ye){return new(ye||Le)};static#t=this.\u0275mod=l.oAB({type:Le});static#n=this.\u0275inj=l.cJS({})}return Le})()},6814:(Mt,je,g)=>{g.d(je,{ED:()=>pe,EM:()=>Ai,HT:()=>S,JF:()=>co,K0:()=>Se,Mx:()=>ei,NF:()=>$r,O5:()=>Kn,PC:()=>Qt,PM:()=>Eo,RF:()=>x,S$:()=>me,Ts:()=>Ii,Ye:()=>be,bD:()=>Pn,ez:()=>Zt,mk:()=>vn,n9:()=>q,q:()=>R,sg:()=>ti,tP:()=>gi,w_:()=>te});var n=g(5879);let l=null;function R(){return l}function S(_){l||(l=_)}class te{}const Se=new n.OlP("DocumentToken");let le=(()=>{class _{historyGo(w){throw new Error("Not implemented")}static#e=this.\u0275fac=function(F){return new(F||_)};static#t=this.\u0275prov=n.Yz7({token:_,factory:function(){return(0,n.f3M)(ue)},providedIn:"platform"})}return _})(),ue=(()=>{class _ extends le{constructor(){super(),this._doc=(0,n.f3M)(Se),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return R().getBaseHref(this._doc)}onPopState(w){const F=R().getGlobalEventTarget(this._doc,"window");return F.addEventListener("popstate",w,!1),()=>F.removeEventListener("popstate",w)}onHashChange(w){const F=R().getGlobalEventTarget(this._doc,"window");return F.addEventListener("hashchange",w,!1),()=>F.removeEventListener("hashchange",w)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(w){this._location.pathname=w}pushState(w,F,Me){this._history.pushState(w,F,Me)}replaceState(w,F,Me){this._history.replaceState(w,F,Me)}forward(){this._history.forward()}back(){this._history.back()}historyGo(w=0){this._history.go(w)}getState(){return this._history.state}static#e=this.\u0275fac=function(F){return new(F||_)};static#t=this.\u0275prov=n.Yz7({token:_,factory:function(){return new _},providedIn:"platform"})}return _})();function ie(_,V){if(0==_.length)return V;if(0==V.length)return _;let w=0;return _.endsWith("/")&&w++,V.startsWith("/")&&w++,2==w?_+V.substring(1):1==w?_+V:_+"/"+V}function we(_){const V=_.match(/#|\?|$/),w=V&&V.index||_.length;return _.slice(0,w-("/"===_[w-1]?1:0))+_.slice(w)}function fe(_){return _&&"?"!==_[0]?"?"+_:_}let me=(()=>{class _{historyGo(w){throw new Error("Not implemented")}static#e=this.\u0275fac=function(F){return new(F||_)};static#t=this.\u0275prov=n.Yz7({token:_,factory:function(){return(0,n.f3M)(Le)},providedIn:"root"})}return _})();const Te=new n.OlP("appBaseHref");let Le=(()=>{class _ extends me{constructor(w,F){super(),this._platformLocation=w,this._removeListenerFns=[],this._baseHref=F??this._platformLocation.getBaseHrefFromDOM()??(0,n.f3M)(Se).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(w){this._removeListenerFns.push(this._platformLocation.onPopState(w),this._platformLocation.onHashChange(w))}getBaseHref(){return this._baseHref}prepareExternalUrl(w){return ie(this._baseHref,w)}path(w=!1){const F=this._platformLocation.pathname+fe(this._platformLocation.search),Me=this._platformLocation.hash;return Me&&w?`${F}${Me}`:F}pushState(w,F,Me,rt){const vt=this.prepareExternalUrl(Me+fe(rt));this._platformLocation.pushState(w,F,vt)}replaceState(w,F,Me,rt){const vt=this.prepareExternalUrl(Me+fe(rt));this._platformLocation.replaceState(w,F,vt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(w=0){this._platformLocation.historyGo?.(w)}static#e=this.\u0275fac=function(F){return new(F||_)(n.LFG(le),n.LFG(Te,8))};static#t=this.\u0275prov=n.Yz7({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})(),be=(()=>{class _{constructor(w){this._subject=new n.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=w;const F=this._locationStrategy.getBaseHref();this._basePath=function H(_){if(new RegExp("^(https?:)?//").test(_)){const[,w]=_.split(/\/\/[^\/]+/);return w}return _}(we(ve(F))),this._locationStrategy.onPopState(Me=>{this._subject.emit({url:this.path(!0),pop:!0,state:Me.state,type:Me.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(w=!1){return this.normalize(this._locationStrategy.path(w))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(w,F=""){return this.path()==this.normalize(w+fe(F))}normalize(w){return _.stripTrailingSlash(function Je(_,V){if(!_||!V.startsWith(_))return V;const w=V.substring(_.length);return""===w||["/",";","?","#"].includes(w[0])?w:V}(this._basePath,ve(w)))}prepareExternalUrl(w){return w&&"/"!==w[0]&&(w="/"+w),this._locationStrategy.prepareExternalUrl(w)}go(w,F="",Me=null){this._locationStrategy.pushState(Me,"",w,F),this._notifyUrlChangeListeners(this.prepareExternalUrl(w+fe(F)),Me)}replaceState(w,F="",Me=null){this._locationStrategy.replaceState(Me,"",w,F),this._notifyUrlChangeListeners(this.prepareExternalUrl(w+fe(F)),Me)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(w=0){this._locationStrategy.historyGo?.(w)}onUrlChange(w){return this._urlChangeListeners.push(w),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(F=>{this._notifyUrlChangeListeners(F.url,F.state)})),()=>{const F=this._urlChangeListeners.indexOf(w);this._urlChangeListeners.splice(F,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(w="",F){this._urlChangeListeners.forEach(Me=>Me(w,F))}subscribe(w,F,Me){return this._subject.subscribe({next:w,error:F,complete:Me})}static#e=this.normalizeQueryParams=fe;static#t=this.joinWithSlash=ie;static#n=this.stripTrailingSlash=we;static#i=this.\u0275fac=function(F){return new(F||_)(n.LFG(me))};static#o=this.\u0275prov=n.Yz7({token:_,factory:function(){return function ye(){return new be((0,n.LFG)(me))}()},providedIn:"root"})}return _})();function ve(_){return _.replace(/\/index.html$/,"")}function ei(_,V){V=encodeURIComponent(V);for(const w of _.split(";")){const F=w.indexOf("="),[Me,rt]=-1==F?[w,""]:[w.slice(0,F),w.slice(F+1)];if(Me.trim()===V)return decodeURIComponent(rt)}return null}const di=/\s+/,mn=[];let vn=(()=>{class _{constructor(w,F,Me,rt){this._iterableDiffers=w,this._keyValueDiffers=F,this._ngEl=Me,this._renderer=rt,this.initialClasses=mn,this.stateMap=new Map}set klass(w){this.initialClasses=null!=w?w.trim().split(di):mn}set ngClass(w){this.rawClass="string"==typeof w?w.trim().split(di):w}ngDoCheck(){for(const F of this.initialClasses)this._updateState(F,!0);const w=this.rawClass;if(Array.isArray(w)||w instanceof Set)for(const F of w)this._updateState(F,!0);else if(null!=w)for(const F of Object.keys(w))this._updateState(F,!!w[F]);this._applyStateDiff()}_updateState(w,F){const Me=this.stateMap.get(w);void 0!==Me?(Me.enabled!==F&&(Me.changed=!0,Me.enabled=F),Me.touched=!0):this.stateMap.set(w,{enabled:F,changed:!0,touched:!0})}_applyStateDiff(){for(const w of this.stateMap){const F=w[0],Me=w[1];Me.changed?(this._toggleClass(F,Me.enabled),Me.changed=!1):Me.touched||(Me.enabled&&this._toggleClass(F,!1),this.stateMap.delete(F)),Me.touched=!1}}_toggleClass(w,F){(w=w.trim()).length>0&&w.split(di).forEach(Me=>{F?this._renderer.addClass(this._ngEl.nativeElement,Me):this._renderer.removeClass(this._ngEl.nativeElement,Me)})}static#e=this.\u0275fac=function(F){return new(F||_)(n.Y36(n.ZZ4),n.Y36(n.aQg),n.Y36(n.SBq),n.Y36(n.Qsj))};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return _})();class kn{constructor(V,w,F,Me){this.$implicit=V,this.ngForOf=w,this.index=F,this.count=Me}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ti=(()=>{class _{set ngForOf(w){this._ngForOf=w,this._ngForOfDirty=!0}set ngForTrackBy(w){this._trackByFn=w}get ngForTrackBy(){return this._trackByFn}constructor(w,F,Me){this._viewContainer=w,this._template=F,this._differs=Me,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(w){w&&(this._template=w)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const w=this._ngForOf;!this._differ&&w&&(this._differ=this._differs.find(w).create(this.ngForTrackBy))}if(this._differ){const w=this._differ.diff(this._ngForOf);w&&this._applyChanges(w)}}_applyChanges(w){const F=this._viewContainer;w.forEachOperation((Me,rt,vt)=>{if(null==Me.previousIndex)F.createEmbeddedView(this._template,new kn(Me.item,this._ngForOf,-1,-1),null===vt?void 0:vt);else if(null==vt)F.remove(null===rt?void 0:rt);else if(null!==rt){const Wt=F.get(rt);F.move(Wt,vt),hi(Wt,Me)}});for(let Me=0,rt=F.length;Me{hi(F.get(Me.currentIndex),Me)})}static ngTemplateContextGuard(w,F){return!0}static#e=this.\u0275fac=function(F){return new(F||_)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(n.ZZ4))};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return _})();function hi(_,V){_.context.$implicit=V.item}let Kn=(()=>{class _{constructor(w,F){this._viewContainer=w,this._context=new mi,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=F}set ngIf(w){this._context.$implicit=this._context.ngIf=w,this._updateView()}set ngIfThen(w){N("ngIfThen",w),this._thenTemplateRef=w,this._thenViewRef=null,this._updateView()}set ngIfElse(w){N("ngIfElse",w),this._elseTemplateRef=w,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(w,F){return!0}static#e=this.\u0275fac=function(F){return new(F||_)(n.Y36(n.s_b),n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return _})();class mi{constructor(){this.$implicit=null,this.ngIf=null}}function N(_,V){if(V&&!V.createEmbeddedView)throw new Error(`${_} must be a TemplateRef, but received '${(0,n.AaK)(V)}'.`)}class de{constructor(V,w){this._viewContainerRef=V,this._templateRef=w,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(V){V&&!this._created?this.create():!V&&this._created&&this.destroy()}}let x=(()=>{class _{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(w){this._ngSwitch=w,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(w){this._defaultViews.push(w)}_matchCase(w){const F=w==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||F,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),F}_updateDefaultCases(w){if(this._defaultViews.length>0&&w!==this._defaultUsed){this._defaultUsed=w;for(const F of this._defaultViews)F.enforceState(w)}}static#e=this.\u0275fac=function(F){return new(F||_)};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return _})(),q=(()=>{class _{constructor(w,F,Me){this.ngSwitch=Me,Me._addCase(),this._view=new de(w,F)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(F){return new(F||_)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(x,9))};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return _})(),pe=(()=>{class _{constructor(w,F,Me){Me._addDefault(new de(w,F))}static#e=this.\u0275fac=function(F){return new(F||_)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(x,9))};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return _})(),Qt=(()=>{class _{constructor(w,F,Me){this._ngEl=w,this._differs=F,this._renderer=Me,this._ngStyle=null,this._differ=null}set ngStyle(w){this._ngStyle=w,!this._differ&&w&&(this._differ=this._differs.find(w).create())}ngDoCheck(){if(this._differ){const w=this._differ.diff(this._ngStyle);w&&this._applyChanges(w)}}_setStyle(w,F){const[Me,rt]=w.split("."),vt=-1===Me.indexOf("-")?void 0:n.JOm.DashCase;null!=F?this._renderer.setStyle(this._ngEl.nativeElement,Me,rt?`${F}${rt}`:F,vt):this._renderer.removeStyle(this._ngEl.nativeElement,Me,vt)}_applyChanges(w){w.forEachRemovedItem(F=>this._setStyle(F.key,null)),w.forEachAddedItem(F=>this._setStyle(F.key,F.currentValue)),w.forEachChangedItem(F=>this._setStyle(F.key,F.currentValue))}static#e=this.\u0275fac=function(F){return new(F||_)(n.Y36(n.SBq),n.Y36(n.aQg),n.Y36(n.Qsj))};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return _})(),gi=(()=>{class _{constructor(w){this._viewContainerRef=w,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(w){if(w.ngTemplateOutlet||w.ngTemplateOutletInjector){const F=this._viewContainerRef;if(this._viewRef&&F.remove(F.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:Me,ngTemplateOutletContext:rt,ngTemplateOutletInjector:vt}=this;this._viewRef=F.createEmbeddedView(Me,rt,vt?{injector:vt}:void 0)}else this._viewRef=null}else this._viewRef&&w.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}static#e=this.\u0275fac=function(F){return new(F||_)(n.Y36(n.s_b))};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[n.TTD]})}return _})(),Ii=(()=>{class _{transform(w){return JSON.stringify(w,null,2)}static#e=this.\u0275fac=function(F){return new(F||_)};static#t=this.\u0275pipe=n.Yjl({name:"json",type:_,pure:!1,standalone:!0})}return _})(),Zt=(()=>{class _{static#e=this.\u0275fac=function(F){return new(F||_)};static#t=this.\u0275mod=n.oAB({type:_});static#n=this.\u0275inj=n.cJS({})}return _})();const Pn="browser",Hn="server";function $r(_){return _===Pn}function Eo(_){return _===Hn}let Ai=(()=>{class _{static#e=this.\u0275prov=(0,n.Yz7)({token:_,providedIn:"root",factory:()=>new Bo((0,n.LFG)(Se),window)})}return _})();class Bo{constructor(V,w){this.document=V,this.window=w,this.offset=()=>[0,0]}setOffset(V){this.offset=Array.isArray(V)?()=>V:V}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(V){this.supportsScrolling()&&this.window.scrollTo(V[0],V[1])}scrollToAnchor(V){if(!this.supportsScrolling())return;const w=function Xo(_,V){const w=_.getElementById(V)||_.getElementsByName(V)[0];if(w)return w;if("function"==typeof _.createTreeWalker&&_.body&&"function"==typeof _.body.attachShadow){const F=_.createTreeWalker(_.body,NodeFilter.SHOW_ELEMENT);let Me=F.currentNode;for(;Me;){const rt=Me.shadowRoot;if(rt){const vt=rt.getElementById(V)||rt.querySelector(`[name="${V}"]`);if(vt)return vt}Me=F.nextNode()}}return null}(this.document,V);w&&(this.scrollToElement(w),w.focus())}setHistoryScrollRestoration(V){this.supportsScrolling()&&(this.window.history.scrollRestoration=V)}scrollToElement(V){const w=V.getBoundingClientRect(),F=w.left+this.window.pageXOffset,Me=w.top+this.window.pageYOffset,rt=this.offset();this.window.scrollTo(F-rt[0],Me-rt[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class co{}},9862:(Mt,je,g)=>{g.d(je,{Zn:()=>Xe,eN:()=>P,h_:()=>Tn});var n=g(5879),l=g(2096),R=g(7715),S=g(5592),te=g(6328),Se=g(2181),le=g(7398),ke=g(4716),ue=g(4664),ie=g(6814);class we{}class fe{}class me{constructor(ne){this.normalizedNames=new Map,this.lazyUpdate=null,ne?"string"==typeof ne?this.lazyInit=()=>{this.headers=new Map,ne.split("\n").forEach(Oe=>{const nt=Oe.indexOf(":");if(nt>0){const Et=Oe.slice(0,nt),Ot=Et.toLowerCase(),Tt=Oe.slice(nt+1).trim();this.maybeSetNormalizedName(Et,Ot),this.headers.has(Ot)?this.headers.get(Ot).push(Tt):this.headers.set(Ot,[Tt])}})}:typeof Headers<"u"&&ne instanceof Headers?(this.headers=new Map,ne.forEach((Oe,nt)=>{this.setHeaderEntries(nt,Oe)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(ne).forEach(([Oe,nt])=>{this.setHeaderEntries(Oe,nt)})}:this.headers=new Map}has(ne){return this.init(),this.headers.has(ne.toLowerCase())}get(ne){this.init();const Oe=this.headers.get(ne.toLowerCase());return Oe&&Oe.length>0?Oe[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(ne){return this.init(),this.headers.get(ne.toLowerCase())||null}append(ne,Oe){return this.clone({name:ne,value:Oe,op:"a"})}set(ne,Oe){return this.clone({name:ne,value:Oe,op:"s"})}delete(ne,Oe){return this.clone({name:ne,value:Oe,op:"d"})}maybeSetNormalizedName(ne,Oe){this.normalizedNames.has(Oe)||this.normalizedNames.set(Oe,ne)}init(){this.lazyInit&&(this.lazyInit instanceof me?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(ne=>this.applyUpdate(ne)),this.lazyUpdate=null))}copyFrom(ne){ne.init(),Array.from(ne.headers.keys()).forEach(Oe=>{this.headers.set(Oe,ne.headers.get(Oe)),this.normalizedNames.set(Oe,ne.normalizedNames.get(Oe))})}clone(ne){const Oe=new me;return Oe.lazyInit=this.lazyInit&&this.lazyInit instanceof me?this.lazyInit:this,Oe.lazyUpdate=(this.lazyUpdate||[]).concat([ne]),Oe}applyUpdate(ne){const Oe=ne.name.toLowerCase();switch(ne.op){case"a":case"s":let nt=ne.value;if("string"==typeof nt&&(nt=[nt]),0===nt.length)return;this.maybeSetNormalizedName(ne.name,Oe);const Et=("a"===ne.op?this.headers.get(Oe):void 0)||[];Et.push(...nt),this.headers.set(Oe,Et);break;case"d":const Ot=ne.value;if(Ot){let Tt=this.headers.get(Oe);if(!Tt)return;Tt=Tt.filter($t=>-1===Ot.indexOf($t)),0===Tt.length?(this.headers.delete(Oe),this.normalizedNames.delete(Oe)):this.headers.set(Oe,Tt)}else this.headers.delete(Oe),this.normalizedNames.delete(Oe)}}setHeaderEntries(ne,Oe){const nt=(Array.isArray(Oe)?Oe:[Oe]).map(Ot=>Ot.toString()),Et=ne.toLowerCase();this.headers.set(Et,nt),this.maybeSetNormalizedName(ne,Et)}forEach(ne){this.init(),Array.from(this.normalizedNames.keys()).forEach(Oe=>ne(this.normalizedNames.get(Oe),this.headers.get(Oe)))}}class Le{encodeKey(ne){return Je(ne)}encodeValue(ne){return Je(ne)}decodeKey(ne){return decodeURIComponent(ne)}decodeValue(ne){return decodeURIComponent(ne)}}const be=/%(\d[a-f0-9])/gi,ye={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Je(X){return encodeURIComponent(X).replace(be,(ne,Oe)=>ye[Oe]??ne)}function ve(X){return`${X}`}class H{constructor(ne={}){if(this.updates=null,this.cloneFrom=null,this.encoder=ne.encoder||new Le,ne.fromString){if(ne.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ue(X,ne){const Oe=new Map;return X.length>0&&X.replace(/^\?/,"").split("&").forEach(Et=>{const Ot=Et.indexOf("="),[Tt,$t]=-1==Ot?[ne.decodeKey(Et),""]:[ne.decodeKey(Et.slice(0,Ot)),ne.decodeValue(Et.slice(Ot+1))],qt=Oe.get(Tt)||[];qt.push($t),Oe.set(Tt,qt)}),Oe}(ne.fromString,this.encoder)}else ne.fromObject?(this.map=new Map,Object.keys(ne.fromObject).forEach(Oe=>{const nt=ne.fromObject[Oe],Et=Array.isArray(nt)?nt.map(ve):[ve(nt)];this.map.set(Oe,Et)})):this.map=null}has(ne){return this.init(),this.map.has(ne)}get(ne){this.init();const Oe=this.map.get(ne);return Oe?Oe[0]:null}getAll(ne){return this.init(),this.map.get(ne)||null}keys(){return this.init(),Array.from(this.map.keys())}append(ne,Oe){return this.clone({param:ne,value:Oe,op:"a"})}appendAll(ne){const Oe=[];return Object.keys(ne).forEach(nt=>{const Et=ne[nt];Array.isArray(Et)?Et.forEach(Ot=>{Oe.push({param:nt,value:Ot,op:"a"})}):Oe.push({param:nt,value:Et,op:"a"})}),this.clone(Oe)}set(ne,Oe){return this.clone({param:ne,value:Oe,op:"s"})}delete(ne,Oe){return this.clone({param:ne,value:Oe,op:"d"})}toString(){return this.init(),this.keys().map(ne=>{const Oe=this.encoder.encodeKey(ne);return this.map.get(ne).map(nt=>Oe+"="+this.encoder.encodeValue(nt)).join("&")}).filter(ne=>""!==ne).join("&")}clone(ne){const Oe=new H({encoder:this.encoder});return Oe.cloneFrom=this.cloneFrom||this,Oe.updates=(this.updates||[]).concat(ne),Oe}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(ne=>this.map.set(ne,this.cloneFrom.map.get(ne))),this.updates.forEach(ne=>{switch(ne.op){case"a":case"s":const Oe=("a"===ne.op?this.map.get(ne.param):void 0)||[];Oe.push(ve(ne.value)),this.map.set(ne.param,Oe);break;case"d":if(void 0===ne.value){this.map.delete(ne.param);break}{let nt=this.map.get(ne.param)||[];const Et=nt.indexOf(ve(ne.value));-1!==Et&&nt.splice(Et,1),nt.length>0?this.map.set(ne.param,nt):this.map.delete(ne.param)}}}),this.cloneFrom=this.updates=null)}}class oe{constructor(){this.map=new Map}set(ne,Oe){return this.map.set(ne,Oe),this}get(ne){return this.map.has(ne)||this.map.set(ne,ne.defaultValue()),this.map.get(ne)}delete(ne){return this.map.delete(ne),this}has(ne){return this.map.has(ne)}keys(){return this.map.keys()}}function Re(X){return typeof ArrayBuffer<"u"&&X instanceof ArrayBuffer}function $e(X){return typeof Blob<"u"&&X instanceof Blob}function ft(X){return typeof FormData<"u"&&X instanceof FormData}class Dt{constructor(ne,Oe,nt,Et){let Ot;if(this.url=Oe,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=ne.toUpperCase(),function Ie(X){switch(X){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Et?(this.body=void 0!==nt?nt:null,Ot=Et):Ot=nt,Ot&&(this.reportProgress=!!Ot.reportProgress,this.withCredentials=!!Ot.withCredentials,Ot.responseType&&(this.responseType=Ot.responseType),Ot.headers&&(this.headers=Ot.headers),Ot.context&&(this.context=Ot.context),Ot.params&&(this.params=Ot.params)),this.headers||(this.headers=new me),this.context||(this.context=new oe),this.params){const Tt=this.params.toString();if(0===Tt.length)this.urlWithParams=Oe;else{const $t=Oe.indexOf("?");this.urlWithParams=Oe+(-1===$t?"?":$tzn.set(Nn,ne.setHeaders[Nn]),qt)),ne.setParams&&(Fn=Object.keys(ne.setParams).reduce((zn,Nn)=>zn.set(Nn,ne.setParams[Nn]),Fn)),new Dt(Oe,nt,Ot,{params:Fn,headers:qt,context:$n,reportProgress:$t,responseType:Et,withCredentials:Tt})}}var Ut=function(X){return X[X.Sent=0]="Sent",X[X.UploadProgress=1]="UploadProgress",X[X.ResponseHeader=2]="ResponseHeader",X[X.DownloadProgress=3]="DownloadProgress",X[X.Response=4]="Response",X[X.User=5]="User",X}(Ut||{});class kt{constructor(ne,Oe=200,nt="OK"){this.headers=ne.headers||new me,this.status=void 0!==ne.status?ne.status:Oe,this.statusText=ne.statusText||nt,this.url=ne.url||null,this.ok=this.status>=200&&this.status<300}}class an extends kt{constructor(ne={}){super(ne),this.type=Ut.ResponseHeader}clone(ne={}){return new an({headers:ne.headers||this.headers,status:void 0!==ne.status?ne.status:this.status,statusText:ne.statusText||this.statusText,url:ne.url||this.url||void 0})}}class Xe extends kt{constructor(ne={}){super(ne),this.type=Ut.Response,this.body=void 0!==ne.body?ne.body:null}clone(ne={}){return new Xe({body:void 0!==ne.body?ne.body:this.body,headers:ne.headers||this.headers,status:void 0!==ne.status?ne.status:this.status,statusText:ne.statusText||this.statusText,url:ne.url||this.url||void 0})}}class Ct extends kt{constructor(ne){super(ne,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${ne.url||"(unknown url)"}`:`Http failure response for ${ne.url||"(unknown url)"}: ${ne.status} ${ne.statusText}`,this.error=ne.error||null}}function W(X,ne){return{body:ne,headers:X.headers,context:X.context,observe:X.observe,params:X.params,reportProgress:X.reportProgress,responseType:X.responseType,withCredentials:X.withCredentials}}let P=(()=>{class X{constructor(Oe){this.handler=Oe}request(Oe,nt,Et={}){let Ot;if(Oe instanceof Dt)Ot=Oe;else{let qt,Fn;qt=Et.headers instanceof me?Et.headers:new me(Et.headers),Et.params&&(Fn=Et.params instanceof H?Et.params:new H({fromObject:Et.params})),Ot=new Dt(Oe,nt,void 0!==Et.body?Et.body:null,{headers:qt,context:Et.context,params:Fn,reportProgress:Et.reportProgress,responseType:Et.responseType||"json",withCredentials:Et.withCredentials})}const Tt=(0,l.of)(Ot).pipe((0,te.b)(qt=>this.handler.handle(qt)));if(Oe instanceof Dt||"events"===Et.observe)return Tt;const $t=Tt.pipe((0,Se.h)(qt=>qt instanceof Xe));switch(Et.observe||"body"){case"body":switch(Ot.responseType){case"arraybuffer":return $t.pipe((0,le.U)(qt=>{if(null!==qt.body&&!(qt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return qt.body}));case"blob":return $t.pipe((0,le.U)(qt=>{if(null!==qt.body&&!(qt.body instanceof Blob))throw new Error("Response is not a Blob.");return qt.body}));case"text":return $t.pipe((0,le.U)(qt=>{if(null!==qt.body&&"string"!=typeof qt.body)throw new Error("Response is not a string.");return qt.body}));default:return $t.pipe((0,le.U)(qt=>qt.body))}case"response":return $t;default:throw new Error(`Unreachable: unhandled observe type ${Et.observe}}`)}}delete(Oe,nt={}){return this.request("DELETE",Oe,nt)}get(Oe,nt={}){return this.request("GET",Oe,nt)}head(Oe,nt={}){return this.request("HEAD",Oe,nt)}jsonp(Oe,nt){return this.request("JSONP",Oe,{params:(new H).append(nt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Oe,nt={}){return this.request("OPTIONS",Oe,nt)}patch(Oe,nt,Et={}){return this.request("PATCH",Oe,W(Et,nt))}post(Oe,nt,Et={}){return this.request("POST",Oe,W(Et,nt))}put(Oe,nt,Et={}){return this.request("PUT",Oe,W(Et,nt))}static#e=this.\u0275fac=function(nt){return new(nt||X)(n.LFG(we))};static#t=this.\u0275prov=n.Yz7({token:X,factory:X.\u0275fac})}return X})();function He(X,ne){return ne(X)}const It=new n.OlP(""),Ye=new n.OlP("");let Ee=(()=>{class X extends we{constructor(Oe,nt){super(),this.backend=Oe,this.injector=nt,this.chain=null,this.pendingTasks=(0,n.f3M)(n.HDt)}handle(Oe){if(null===this.chain){const Et=Array.from(new Set([...this.injector.get(It),...this.injector.get(Ye,[])]));this.chain=Et.reduceRight((Ot,Tt)=>function it(X,ne,Oe){return(nt,Et)=>Oe.runInContext(()=>ne(nt,Ot=>X(Ot,Et)))}(Ot,Tt,this.injector),He)}const nt=this.pendingTasks.add();return this.chain(Oe,Et=>this.backend.handle(Et)).pipe((0,ke.x)(()=>this.pendingTasks.remove(nt)))}static#e=this.\u0275fac=function(nt){return new(nt||X)(n.LFG(fe),n.LFG(n.lqb))};static#t=this.\u0275prov=n.Yz7({token:X,factory:X.\u0275fac})}return X})();const ot=/^\)\]\}',?\n/;let lt=(()=>{class X{constructor(Oe){this.xhrFactory=Oe}handle(Oe){if("JSONP"===Oe.method)throw new n.vHH(-2800,!1);const nt=this.xhrFactory;return(nt.\u0275loadImpl?(0,R.D)(nt.\u0275loadImpl()):(0,l.of)(null)).pipe((0,ue.w)(()=>new S.y(Ot=>{const Tt=nt.build();if(Tt.open(Oe.method,Oe.urlWithParams),Oe.withCredentials&&(Tt.withCredentials=!0),Oe.headers.forEach((mn,vn)=>Tt.setRequestHeader(mn,vn.join(","))),Oe.headers.has("Accept")||Tt.setRequestHeader("Accept","application/json, text/plain, */*"),!Oe.headers.has("Content-Type")){const mn=Oe.detectContentTypeHeader();null!==mn&&Tt.setRequestHeader("Content-Type",mn)}if(Oe.responseType){const mn=Oe.responseType.toLowerCase();Tt.responseType="json"!==mn?mn:"text"}const $t=Oe.serializeBody();let qt=null;const Fn=()=>{if(null!==qt)return qt;const mn=Tt.statusText||"OK",vn=new me(Tt.getAllResponseHeaders()),ui=function st(X){return"responseURL"in X&&X.responseURL?X.responseURL:/^X-Request-URL:/m.test(X.getAllResponseHeaders())?X.getResponseHeader("X-Request-URL"):null}(Tt)||Oe.url;return qt=new an({headers:vn,status:Tt.status,statusText:mn,url:ui}),qt},$n=()=>{let{headers:mn,status:vn,statusText:ui,url:pi}=Fn(),kn=null;204!==vn&&(kn=typeof Tt.response>"u"?Tt.responseText:Tt.response),0===vn&&(vn=kn?200:0);let ti=vn>=200&&vn<300;if("json"===Oe.responseType&&"string"==typeof kn){const hi=kn;kn=kn.replace(ot,"");try{kn=""!==kn?JSON.parse(kn):null}catch(ai){kn=hi,ti&&(ti=!1,kn={error:ai,text:kn})}}ti?(Ot.next(new Xe({body:kn,headers:mn,status:vn,statusText:ui,url:pi||void 0})),Ot.complete()):Ot.error(new Ct({error:kn,headers:mn,status:vn,statusText:ui,url:pi||void 0}))},zn=mn=>{const{url:vn}=Fn(),ui=new Ct({error:mn,status:Tt.status||0,statusText:Tt.statusText||"Unknown Error",url:vn||void 0});Ot.error(ui)};let Nn=!1;const ei=mn=>{Nn||(Ot.next(Fn()),Nn=!0);let vn={type:Ut.DownloadProgress,loaded:mn.loaded};mn.lengthComputable&&(vn.total=mn.total),"text"===Oe.responseType&&Tt.responseText&&(vn.partialText=Tt.responseText),Ot.next(vn)},di=mn=>{let vn={type:Ut.UploadProgress,loaded:mn.loaded};mn.lengthComputable&&(vn.total=mn.total),Ot.next(vn)};return Tt.addEventListener("load",$n),Tt.addEventListener("error",zn),Tt.addEventListener("timeout",zn),Tt.addEventListener("abort",zn),Oe.reportProgress&&(Tt.addEventListener("progress",ei),null!==$t&&Tt.upload&&Tt.upload.addEventListener("progress",di)),Tt.send($t),Ot.next({type:Ut.Sent}),()=>{Tt.removeEventListener("error",zn),Tt.removeEventListener("abort",zn),Tt.removeEventListener("load",$n),Tt.removeEventListener("timeout",zn),Oe.reportProgress&&(Tt.removeEventListener("progress",ei),null!==$t&&Tt.upload&&Tt.upload.removeEventListener("progress",di)),Tt.readyState!==Tt.DONE&&Tt.abort()}})))}static#e=this.\u0275fac=function(nt){return new(nt||X)(n.LFG(ie.JF))};static#t=this.\u0275prov=n.Yz7({token:X,factory:X.\u0275fac})}return X})();const yt=new n.OlP("XSRF_ENABLED"),Bt=new n.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Ft=new n.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Cn{}let un=(()=>{class X{constructor(Oe,nt,Et){this.doc=Oe,this.platform=nt,this.cookieName=Et,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Oe=this.doc.cookie||"";return Oe!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,ie.Mx)(Oe,this.cookieName),this.lastCookieString=Oe),this.lastToken}static#e=this.\u0275fac=function(nt){return new(nt||X)(n.LFG(ie.K0),n.LFG(n.Lbi),n.LFG(Bt))};static#t=this.\u0275prov=n.Yz7({token:X,factory:X.\u0275fac})}return X})();function nn(X,ne){const Oe=X.url.toLowerCase();if(!(0,n.f3M)(yt)||"GET"===X.method||"HEAD"===X.method||Oe.startsWith("http://")||Oe.startsWith("https://"))return ne(X);const nt=(0,n.f3M)(Cn).getToken(),Et=(0,n.f3M)(Ft);return null!=nt&&!X.headers.has(Et)&&(X=X.clone({headers:X.headers.set(Et,nt)})),ne(X)}function Tn(...X){const ne=[P,lt,Ee,{provide:we,useExisting:Ee},{provide:fe,useExisting:lt},{provide:It,useValue:nn,multi:!0},{provide:yt,useValue:!0},{provide:Cn,useClass:un}];for(const Oe of X)ne.push(...Oe.\u0275providers);return(0,n.MR2)(ne)}},5879:(Mt,je,g)=>{g.d(je,{$8M:()=>Ps,$WT:()=>ni,$Z:()=>Ym,AFp:()=>um,ALo:()=>Ab,AaK:()=>fe,Akn:()=>ur,BQk:()=>Jd,CHM:()=>Mu,CRH:()=>Wb,DdM:()=>vb,EJc:()=>QE,EiD:()=>tm,EpF:()=>Bg,F$t:()=>Gg,F4k:()=>Vg,FYo:()=>bm,FiY:()=>Lr,Gf:()=>$b,GfV:()=>vm,GkF:()=>Tf,Gpc:()=>Le,Gre:()=>E_,HDt:()=>mv,Hsn:()=>$g,Ikx:()=>Hf,JOm:()=>Ca,JVY:()=>l0,JZr:()=>ve,Jf7:()=>Om,KtG:()=>Tu,L6k:()=>c0,LAX:()=>u0,LFG:()=>Pe,LSH:()=>Ih,Lbi:()=>Bh,Lck:()=>Uw,MAs:()=>Fg,MMx:()=>ub,MR2:()=>Oh,NdJ:()=>If,O4$:()=>jc,Ojb:()=>V0,OlP:()=>jn,Oqu:()=>Vf,P3R:()=>im,Q6J:()=>Ef,QGY:()=>Sf,QbO:()=>B0,Qsj:()=>ey,R0b:()=>Li,RDi:()=>Ni,Rgc:()=>gc,SBq:()=>Xl,Sil:()=>qE,Suo:()=>Yb,TTD:()=>An,TgZ:()=>Zd,Tol:()=>a_,Udp:()=>Nf,VKq:()=>yb,VuI:()=>o1,W1O:()=>Jb,WFA:()=>Af,WLB:()=>xb,X6Q:()=>OD,XFs:()=>et,Xpm:()=>xo,Xq5:()=>vg,Xts:()=>Zl,Y36:()=>Na,YKP:()=>cb,YNc:()=>Rg,Yjl:()=>Bi,Yz7:()=>qe,Z0I:()=>Ee,ZZ4:()=>yp,_Bn:()=>lb,_UZ:()=>Mf,_Vd:()=>Jl,_uU:()=>p_,aQg:()=>xp,c2e:()=>pv,cJS:()=>Ye,cg1:()=>jf,d8E:()=>Uf,dDg:()=>vD,dqk:()=>lt,eBb:()=>d0,eJc:()=>op,ekj:()=>Lf,eoX:()=>xv,f3M:()=>z,g9A:()=>hm,h0i:()=>Ws,hij:()=>eu,iGM:()=>Gb,iPO:()=>DD,ifc:()=>Ot,jDz:()=>hb,kEZ:()=>Cb,kL8:()=>P_,kcU:()=>zc,l5B:()=>wb,lG2:()=>lo,lcZ:()=>Ob,lqb:()=>Dr,lri:()=>vv,mCW:()=>Dd,n5z:()=>Ro,n_E:()=>ru,oAB:()=>Yi,oxw:()=>zg,pB0:()=>h0,q3G:()=>js,qLn:()=>ms,qOj:()=>gf,qZA:()=>Kd,qbA:()=>Eb,qzn:()=>Ia,rWj:()=>yv,rg0:()=>Me,s9C:()=>Of,sBO:()=>RD,s_b:()=>lu,soG:()=>du,tb:()=>pp,tp0:()=>Br,uIk:()=>bf,vHH:()=>H,vpe:()=>Mr,wAp:()=>Ka,xi3:()=>Rb,xp6:()=>Gm,ynx:()=>Qd,z2F:()=>qa,z3N:()=>Hr,zSh:()=>Ph,zs3:()=>dr});var n=g(8645),l=g(7394),R=g(5592),S=g(3019),te=g(5619),Se=g(2096),le=g(3020),ke=g(4664),ue=g(3997);function ie(e){for(let t in e)if(e[t]===ie)return t;throw Error("Could not find renamed property on target object.")}function we(e,t){for(const i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function fe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(fe).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const i=t.indexOf("\n");return-1===i?t:t.substring(0,i)}function me(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Te=ie({__forward_ref__:ie});function Le(e){return e.__forward_ref__=Le,e.toString=function(){return fe(this())},e}function Ue(e){return be(e)?e():e}function be(e){return"function"==typeof e&&e.hasOwnProperty(Te)&&e.__forward_ref__===Le}function ye(e){return e&&!!e.\u0275providers}const ve="https://g.co/ng/security#xss";class H extends Error{constructor(t,i){super(function xe(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,i)),this.code=t}}function oe(e){return"string"==typeof e?e:null==e?"":String(e)}function bt(e,t){throw new H(-201,!1)}function Be(e,t){null==e&&function ae(e,t,i,o){throw new Error(`ASSERTION ERROR: ${e}`+(null==o?"":` [Expected=> ${i} ${o} ${t} <=Actual]`))}(t,e,null,"!=")}function qe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ye(e){return{providers:e.providers||[],imports:e.imports||[]}}function ct(e){return tt(e,Gt)||tt(e,Lt)}function Ee(e){return null!==ct(e)}function tt(e,t){return e.hasOwnProperty(t)?e[t]:null}function jt(e){return e&&(e.hasOwnProperty(cn)||e.hasOwnProperty(yn))?e[cn]:null}const Gt=ie({\u0275prov:ie}),cn=ie({\u0275inj:ie}),Lt=ie({ngInjectableDef:ie}),yn=ie({ngInjectorDef:ie});var et=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(et||{});let Z;function Fe(e){const t=Z;return Z=e,t}function ot(e,t,i){const o=ct(e);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:i&et.Optional?null:void 0!==t?t:void bt(fe(e))}const lt=globalThis,Nt={},Ke="__NG_DI_FLAG__",mt="ngTempTokenPath",Yt=/\n/gm,J="__source";let I;function Ae(e){const t=I;return I=e,t}function ut(e,t=et.Default){if(void 0===I)throw new H(-203,!1);return null===I?ot(e,void 0,t):I.get(e,t&et.Optional?null:void 0,t)}function Pe(e,t=et.Default){return(function ce(){return Z}()||ut)(Ue(e),t)}function z(e,t=et.Default){return Pe(e,D(t))}function D(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function B(e){const t=[];for(let i=0;it){f=c-1;break}}}for(;cc?"":r[_e+1].toLowerCase();const Qe=8&o?ze:null;if(Qe&&-1!==mn(Qe,T,0)||2&o&&T!==ze){if(de(o))return!1;f=!0}}}}else{if(!f&&!de(o)&&!de(v))return!1;if(f&&de(v))continue;f=!1,o=v|1&o}}return de(o)||f}function de(e){return 0==(1&e)}function x(e,t,i,o){if(null===t)return-1;let r=0;if(o||!i){let c=!1;for(;r-1)for(i++;i0?'="'+m+'"':"")+"]"}else 8&o?r+="."+f:4&o&&(r+=" "+f);else""!==r&&!de(f)&&(t+=Qt(c,r),r=""),o=f,c=c||!de(o);i++}return""!==r&&(t+=Qt(c,r)),t}function xo(e){return nt(()=>{const t=Vi(e),i={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Et.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ot.Emulated,styles:e.styles||$t,_:null,schemas:e.schemas||null,tView:null,id:""};wo(i);const o=e.dependencies;return i.directiveDefs=Ii(o,!1),i.pipeDefs=Ii(o,!0),i.id=function b(e){let t=0;const i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const r of i)t=Math.imul(31,t)+r.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(i),i})}function qi(e){return gn(e)||Bn(e)}function Co(e){return null!==e}function Yi(e){return nt(()=>({type:e.type,bootstrap:e.bootstrap||$t,declarations:e.declarations||$t,imports:e.imports||$t,exports:e.exports||$t,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function No(e,t){if(null==e)return Tt;const i={};for(const o in e)if(e.hasOwnProperty(o)){let r=e[o],c=r;Array.isArray(r)&&(c=r[1],r=r[0]),i[r]=o,t&&(t[r]=c)}return i}function lo(e){return nt(()=>{const t=Vi(e);return wo(t),t})}function Bi(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function gn(e){return e[qt]||null}function Bn(e){return e[Fn]||null}function Qn(e){return e[$n]||null}function ni(e){const t=gn(e)||Bn(e)||Qn(e);return null!==t&&t.standalone}function Jn(e,t){const i=e[zn]||null;if(!i&&!0===t)throw new Error(`Type ${fe(e)} does not have '\u0275mod' property.`);return i}function Vi(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Tt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||$t,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:No(e.inputs,t),outputs:No(e.outputs)}}function wo(e){e.features?.forEach(t=>t(e))}function Ii(e,t){if(!e)return null;const i=t?Qn:qi;return()=>("function"==typeof e?e():e).map(o=>i(o)).filter(Co)}const j=0,h=1,M=2,E=3,De=4,Ve=5,Pt=6,hn=7,Zt=8,Pn=9,Hn=10,St=11,On=12,$r=13,Eo=14,Yn=15,Hi=16,Lo=17,Ai=18,Bo=19,Xo=20,Do=21,co=22,qo=23,uo=24,En=25,Yr=1,Ar=2,Di=7,yi=9,ii=11;function Oi(e){return Array.isArray(e)&&"object"==typeof e[Yr]}function _i(e){return Array.isArray(e)&&!0===e[Yr]}function er(e){return 0!=(4&e.flags)}function to(e){return e.componentOffset>-1}function Wr(e){return 1==(1&e.flags)}function no(e){return!!e.template}function To(e){return 0!=(512&e[M])}function nr(e,t){return e.hasOwnProperty(Nn)?e[Nn]:null}let Ei=null,_r=!1;function Ri(e){const t=Ei;return Ei=e,t}const Uo={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function il(e){if(!Jr(e)||e.dirty){if(!e.producerMustRecompute(e)&&!ta(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function vs(e){e.dirty=!0,function qs(e){if(void 0===e.liveConsumerNode)return;const t=_r;_r=!0;try{for(const i of e.liveConsumerNode)i.dirty||vs(i)}finally{_r=t}}(e),e.consumerMarkedDirty?.(e)}function ea(e){return e&&(e.nextProducerIndex=0),Ri(e)}function Qr(e,t){if(Ri(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Jr(e))for(let i=e.nextProducerIndex;ie.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function ta(e){Io(e);for(let t=0;t0}function Io(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Dc=null;function Me(e){const t=Ri(null);try{return e()}finally{Ri(t)}}const vt=()=>{},Wt=(()=>({...Uo,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:vt}))();class Vn{constructor(t,i,o){this.previousValue=t,this.currentValue=i,this.firstChange=o}isFirstChange(){return this.firstChange}}function An(){return wn}function wn(e){return e.type.prototype.ngOnChanges&&(e.setInput=Gn),ri}function ri(){const e=io(this),t=e?.current;if(t){const i=e.previous;if(i===Tt)e.previous=t;else for(let o in t)i[o]=t[o];e.current=null,this.ngOnChanges(t)}}function Gn(e,t,i,o){const r=this.declaredInputs[i],c=io(e)||function Ao(e,t){return e[fi]=t}(e,{previous:Tt,current:null}),f=c.current||(c.current={}),m=c.previous,v=m[r];f[r]=new Vn(v&&v.currentValue,t,m===Tt),e[o]=t}An.ngInherit=!0;const fi="__ngSimpleChanges__";function io(e){return e[fi]||null}const xi=function(e,t,i){},zo="svg";function Xn(e){for(;Array.isArray(e);)e=e[j];return e}function Zi(e,t){return Xn(t[e])}function Ki(e,t){return Xn(t[e.index])}function Cs(e,t){return e.data[t]}function qr(e,t){return e[t]}function oo(e,t){const i=t[e];return Oi(i)?i:i[j]}function br(e,t){return null==t?null:e[t]}function ia(e){e[Lo]=0}function Tc(e){1024&e[M]||(e[M]|=1024,dl(e,1))}function Sc(e){1024&e[M]&&(e[M]&=-1025,dl(e,-1))}function dl(e,t){let i=e[E];if(null===i)return;i[Ve]+=t;let o=i;for(i=i[E];null!==i&&(1===t&&1===o[Ve]||-1===t&&0===o[Ve]);)i[Ve]+=t,o=i,i=i[E]}const fn={lFrame:Bc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Oc(){return fn.bindingsEnabled}function es(){return null!==fn.skipHydrationRootTNode}function wt(){return fn.lFrame.lView}function Rn(){return fn.lFrame.tView}function Mu(e){return fn.lFrame.contextLView=e,e[Zt]}function Tu(e){return fn.lFrame.contextLView=null,e}function ki(){let e=Su();for(;null!==e&&64===e.type;)e=e.parent;return e}function Su(){return fn.lFrame.currentTNode}function or(e,t){const i=fn.lFrame;i.currentTNode=e,i.isParent=t}function kc(){return fn.lFrame.isParent}function Pc(){fn.lFrame.isParent=!1}function Qi(){const e=fn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ws(){return fn.lFrame.bindingIndex++}function yr(e){const t=fn.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function qn(e,t){const i=fn.lFrame;i.bindingIndex=i.bindingRootIndex=e,ra(t)}function ra(e){fn.lFrame.currentDirectiveIndex=e}function fl(e){const t=fn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Fc(){return fn.lFrame.currentQueryIndex}function pl(e){fn.lFrame.currentQueryIndex=e}function Ou(e){const t=e[h];return 2===t.type?t.declTNode:1===t.type?e[Pt]:null}function Nc(e,t,i){if(i&et.SkipSelf){let r=t,c=e;for(;!(r=r.parent,null!==r||i&et.Host||(r=Ou(c),null===r||(c=c[Eo],10&r.type))););if(null===r)return!1;t=r,e=c}const o=fn.lFrame=Lc();return o.currentTNode=t,o.lView=e,!0}function ml(e){const t=Lc(),i=e[h];fn.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex,t.inI18n=!1}function Lc(){const e=fn.lFrame,t=null===e?null:e.child;return null===t?Bc(e):t}function Bc(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Vc(){const e=fn.lFrame;return fn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Hc=Vc;function Uc(){const e=Vc();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Ui(){return fn.lFrame.selectedIndex}function kr(e){fn.lFrame.selectedIndex=e}function si(){const e=fn.lFrame;return Cs(e.tView,e.selectedIndex)}function jc(){fn.lFrame.currentNamespace=zo}function zc(){!function Fu(){fn.lFrame.currentNamespace=null}()}let $c=!0;function sa(){return $c}function xr(e){$c=e}function aa(e,t){for(let i=t.directiveStart,o=t.directiveEnd;i=o)break}else t[v]<0&&(e[Lo]+=65536),(m>13>16&&(3&e[M])===t&&(e[M]+=8192,Wc(m,c)):Wc(m,c)}const ts=-1;class da{constructor(t,i,o){this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=o}}function ua(e){return e!==ts}function Es(e){return 32767&e}function Ds(e,t){let i=function vl(e){return e>>16}(e),o=t;for(;i>0;)o=o[Eo],i--;return o}let rr=!0;function Ms(e){const t=rr;return rr=e,t}const Hu=255,Kc=5;let Qc=0;const Oo={};function Ts(e,t){const i=Jc(e,t);if(-1!==i)return i;const o=t[h];o.firstCreatePass&&(e.injectorIndex=t.length,Ss(o.data,e),Ss(t,null),Ss(o.blueprint,null));const r=Is(e,t),c=e.injectorIndex;if(ua(r)){const f=Es(r),m=Ds(r,t),v=m[h].data;for(let T=0;T<8;T++)t[c+T]=m[f+T]|v[f+T]}return t[c+8]=r,c}function Ss(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Jc(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Is(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,o=null,r=t;for(;null!==r;){if(o=qc(r),null===o)return ts;if(i++,r=r[Eo],-1!==o.injectorIndex)return o.injectorIndex|i<<16}return ts}function yl(e,t,i){!function Np(e,t,i){let o;"string"==typeof i?o=i.charCodeAt(0)||0:i.hasOwnProperty(ei)&&(o=i[ei]),null==o&&(o=i[ei]=Qc++);const r=o&Hu;t.data[e+(r>>Kc)]|=1<=0?t&Hu:Cr:t}(i);if("function"==typeof c){if(!Nc(t,e,o))return o&et.Host?As(r,0,o):Os(t,i,o,r);try{let f;if(f=c(o),null!=f||o&et.Optional)return f;bt()}finally{Hc()}}else if("number"==typeof c){let f=null,m=Jc(e,t),v=ts,T=o&et.Host?t[Yn][Pt]:null;for((-1===m||o&et.SkipSelf)&&(v=-1===m?Is(e,t):t[m+8],v!==ts&&ns(o,!1)?(f=t[h],m=Es(v),t=Ds(v,t)):m=-1);-1!==m;){const U=t[h];if(Xc(c,m,U.data)){const _e=wl(m,t,i,f,o,T);if(_e!==Oo)return _e}v=t[m+8],v!==ts&&ns(o,t[h].data[m+8]===T)&&Xc(c,m,t)?(f=U,m=Es(v),t=Ds(v,t)):m=-1}}return r}function wl(e,t,i,o,r,c){const f=t[h],m=f.data[e+8],U=fo(m,f,i,null==o?to(m)&&rr:o!=f&&0!=(3&m.type),r&et.Host&&c===m);return null!==U?sr(t,f,U,m):Oo}function fo(e,t,i,o,r){const c=e.providerIndexes,f=t.data,m=1048575&c,v=e.directiveStart,U=c>>20,ze=r?m+U:e.directiveEnd;for(let Qe=o?m:m+U;Qe=v&&ht.type===i)return Qe}if(r){const Qe=f[v];if(Qe&&no(Qe)&&Qe.type===i)return v}return null}function sr(e,t,i,o){let r=e[i];const c=t.data;if(function Bu(e){return e instanceof da}(r)){const f=r;f.resolving&&function Re(e,t){const i=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new H(-200,`Circular dependency in DI detected for ${e}${i}`)}(function Ie(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():oe(e)}(c[i]));const m=Ms(f.canSeeViewProviders);f.resolving=!0;const T=f.injectImpl?Fe(f.injectImpl):null;Nc(e,o,et.Default);try{r=e[i]=f.factory(void 0,c,e,o),t.firstCreatePass&&i>=o.directiveStart&&function Nu(e,t,i){const{ngOnChanges:o,ngOnInit:r,ngDoCheck:c}=t.type.prototype;if(o){const f=wn(t);(i.preOrderHooks??=[]).push(e,f),(i.preOrderCheckHooks??=[]).push(e,f)}r&&(i.preOrderHooks??=[]).push(0-e,r),c&&((i.preOrderHooks??=[]).push(e,c),(i.preOrderCheckHooks??=[]).push(e,c))}(i,c[i],t)}finally{null!==T&&Fe(T),Ms(m),f.resolving=!1,Hc()}}return r}function Xc(e,t,i){return!!(i[t+(e>>Kc)]&1<{const t=e.prototype.constructor,i=t[Nn]||ar(t),o=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==o;){const c=r[Nn]||ar(r);if(c&&c!==i)return c;r=Object.getPrototypeOf(r)}return c=>new c})}function ar(e){return be(e)?()=>{const t=ar(Ue(e));return t&&t()}:nr(e)}function qc(e){const t=e[h],i=t.type;return 2===i?t.declTNode:1===i?e[Pt]:null}function Ps(e){return function xl(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const i=e.attrs;if(i){const o=i.length;let r=0;for(;r{const o=function Fs(e){return function(...i){if(e){const o=e(...i);for(const r in o)this[r]=o[r]}}}(t);function r(...c){if(this instanceof r)return o.apply(this,c),this;const f=new r(...c);return m.annotation=f,m;function m(v,T,U){const _e=v.hasOwnProperty(Yo)?v[Yo]:Object.defineProperty(v,Yo,{value:[]})[Yo];for(;_e.length<=U;)_e.push(null);return(_e[U]=_e[U]||[]).push(f),v}}return i&&(r.prototype=Object.create(i.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}function Fr(e,t){e.forEach(i=>Array.isArray(i)?Fr(i,t):t(i))}function El(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function ma(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Nr(e,t){const i=[];for(let o=0;o=0?e[1|o]=i:(o=~o,function $u(e,t,i,o){let r=e.length;if(r==t)e.push(i,o);else if(1===r)e.push(o,e[0]),e[0]=i;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=i,e[t+1]=o}}(e,o,t,i)),o}function Dl(e,t){const i=os(e,t);if(i>=0)return e[1|i]}function os(e,t){return function ga(e,t,i){let o=0,r=e.length>>i;for(;r!==o;){const c=o+(r-o>>1),f=e[c<t?r=c:o=c+1}return~(r<|^->||--!>|)/g,hh="\u200b$1\u200b";const ds=new Map;let fh=0;const wa="__ngContext__";function wi(e,t){Oi(t)?(e[wa]=t[Bo],function Vl(e){ds.set(e[Bo],e)}(t)):e[wa]=t}let jl;function bd(e,t){return jl(e,t)}function Ea(e){const t=e[E];return _i(t)?t[E]:t}function Da(e){return yd(e[On])}function vd(e){return yd(e[De])}function yd(e){for(;null!==e&&!_i(e);)e=e[De];return e}function hs(e,t,i,o,r){if(null!=o){let c,f=!1;_i(o)?c=o:Oi(o)&&(f=!0,o=o[j]);const m=Xn(o);0===e&&null!==i?null==r?Ge(t,i,m):re(t,i,m,r||null,!0):1===e&&null!==i?re(t,i,m,r||null,!0):2===e?function mo(e,t,i){const o=rn(e,t);o&&function Rt(e,t,i,o){e.removeChild(t,i,o)}(e,o,t,i)}(t,m,f):3===e&&t.destroyNode(m),null!=c&&function Cd(e,t,i,o,r){const c=i[Di];c!==Xn(i)&&hs(t,e,o,c,r);for(let m=ii;mt.replace(cd,hh))}(t))}function Ta(e,t,i){return e.createElement(t,i)}function u(e,t){const i=e[yi],o=i.indexOf(t);Sc(t),i.splice(o,1)}function a(e,t){if(e.length<=ii)return;const i=ii+t,o=e[i];if(o){const r=o[Hi];null!==r&&r!==e&&u(r,o),t>0&&(e[i-1][De]=o[De]);const c=ma(e,ii+t);!function Yp(e,t){fs(e,t,t[St],2,null,null),t[j]=null,t[Pt]=null}(o[h],o);const f=c[Ai];null!==f&&f.detachView(c[h]),o[E]=null,o[De]=null,o[M]&=-129}return o}function s(e,t){if(!(256&t[M])){const i=t[St];t[qo]&&ol(t[qo]),t[uo]&&ol(t[uo]),i.destroyNode&&fs(e,t,i,3,null,null),function wh(e){let t=e[On];if(!t)return d(e[h],e);for(;t;){let i=null;if(Oi(t))i=t[On];else{const o=t[ii];o&&(i=o)}if(!i){for(;t&&!t[De]&&t!==e;)Oi(t)&&d(t[h],t),t=t[E];null===t&&(t=e),Oi(t)&&d(t[h],t),i=t&&t[De]}t=i}}(t)}}function d(e,t){if(!(256&t[M])){t[M]&=-129,t[M]|=256,function y(e,t){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let o=0;o=0?o[f]():o[-f].unsubscribe(),c+=2}else i[c].call(o[i[c+1]]);null!==o&&(t[hn]=null);const r=t[Do];if(null!==r){t[Do]=null;for(let c=0;c-1){const{encapsulation:c}=e.data[o.directiveStart+r];if(c===Ot.None||c===Ot.Emulated)return null}return Ki(o,i)}}(e,t.parent,i)}function re(e,t,i,o,r){e.insertBefore(t,i,o,r)}function Ge(e,t,i){e.appendChild(t,i)}function _t(e,t,i,o,r){null!==o?re(e,t,i,o,r):Ge(e,t,i)}function rn(e,t){return e.parentNode(t)}function ln(e,t,i){return Wn(e,t,i)}let li,Sn,$l,$i,Wn=function Un(e,t,i){return 40&e.type?Ki(e,i):null};function bi(e,t,i,o){const r=A(e,o,t),c=t[St],m=ln(o.parent||t[Pt],o,t);if(null!=r)if(Array.isArray(i))for(let v=0;ve,createScript:e=>e,createScriptURL:e=>e})}catch{}return Sn}()?.createHTML(e)||e}function Ni(e){$l=e}function Zp(e){return function ps(){if(void 0===$i&&($i=null,lt.trustedTypes))try{$i=lt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return $i}()?.createScriptURL(e)||e}class Us{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ve})`}}class t0 extends Us{getTypeName(){return"HTML"}}class n0 extends Us{getTypeName(){return"Style"}}class o0 extends Us{getTypeName(){return"Script"}}class r0 extends Us{getTypeName(){return"URL"}}class s0 extends Us{getTypeName(){return"ResourceURL"}}function Hr(e){return e instanceof Us?e.changingThisBreaksApplicationSecurity:e}function Ia(e,t){const i=function a0(e){return e instanceof Us&&e.getTypeName()||null}(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see ${ve})`)}return i===t}function l0(e){return new t0(e)}function c0(e){return new n0(e)}function d0(e){return new o0(e)}function u0(e){return new r0(e)}function h0(e){return new s0(e)}class f0{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const i=(new window.DOMParser).parseFromString(Gi(t),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(t):(i.removeChild(i.firstChild),i)}catch{return null}}}class p0{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const i=this.inertDocument.createElement("template");return i.innerHTML=Gi(t),i}}const g0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Dd(e){return(e=String(e)).match(g0)?e:"unsafe:"+e}function Ur(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function Yl(...e){const t={};for(const i of e)for(const o in i)i.hasOwnProperty(o)&&(t[o]=!0);return t}const Qp=Ur("area,br,col,hr,img,wbr"),Jp=Ur("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Xp=Ur("rp,rt"),Mh=Yl(Qp,Yl(Jp,Ur("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Yl(Xp,Ur("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Yl(Xp,Jp)),Th=Ur("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),qp=Yl(Th,Ur("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Ur("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),_0=Ur("script,style,template");class b0{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let i=t.firstChild,o=!0;for(;i;)if(i.nodeType===Node.ELEMENT_NODE?o=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,o&&i.firstChild)i=i.firstChild;else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let r=this.checkClobberedElement(i,i.nextSibling);if(r){i=r;break}i=this.checkClobberedElement(i,i.parentNode)}return this.buf.join("")}startElement(t){const i=t.nodeName.toLowerCase();if(!Mh.hasOwnProperty(i))return this.sanitizedSomething=!0,!_0.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const o=t.attributes;for(let r=0;r"),!0}endElement(t){const i=t.nodeName.toLowerCase();Mh.hasOwnProperty(i)&&!Qp.hasOwnProperty(i)&&(this.buf.push(""))}chars(t){this.buf.push(em(t))}checkClobberedElement(t,i){if(i&&(t.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return i}}const v0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,y0=/([^\#-~ |!])/g;function em(e){return e.replace(/&/g,"&").replace(v0,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(y0,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Md;function tm(e,t){let i=null;try{Md=Md||function Kp(e){const t=new p0(e);return function m0(){try{return!!(new window.DOMParser).parseFromString(Gi(""),"text/html")}catch{return!1}}()?new f0(t):t}(e);let o=t?String(t):"";i=Md.getInertBodyElement(o);let r=5,c=o;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,o=c,c=i.innerHTML,i=Md.getInertBodyElement(o)}while(o!==c);return Gi((new b0).sanitizeChildren(Sh(i)||i))}finally{if(i){const o=Sh(i)||i;for(;o.firstChild;)o.removeChild(o.firstChild)}}}function Sh(e){return"content"in e&&function x0(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var js=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(js||{});function Ih(e){const t=Wl();return t?t.sanitize(js.URL,e)||"":Ia(e,"URL")?Hr(e):Dd(oe(e))}function nm(e){const t=Wl();if(t)return Zp(t.sanitize(js.RESOURCE_URL,e)||"");if(Ia(e,"ResourceURL"))return Zp(Hr(e));throw new H(904,!1)}function im(e,t,i){return function T0(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?nm:Ih}(t,i)(e)}function Wl(){const e=wt();return e&&e[Hn].sanitizer}class jn{constructor(t,i){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof i?this.__NG_ELEMENT_ID__=i:void 0!==i&&(this.\u0275prov=qe({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Zl=new jn("ENVIRONMENT_INITIALIZER"),om=new jn("INJECTOR",-1),rm=new jn("INJECTOR_DEF_TYPES");class Ah{get(t,i=Nt){if(i===Nt){const o=new Error(`NullInjectorError: No provider for ${fe(t)}!`);throw o.name="NullInjectorError",o}return i}}function Oh(e){return{\u0275providers:e}}function S0(...e){return{\u0275providers:sm(0,e),\u0275fromNgModule:!0}}function sm(e,...t){const i=[],o=new Set;let r;const c=f=>{i.push(f)};return Fr(t,f=>{const m=f;Td(m,c,[],o)&&(r||=[],r.push(m))}),void 0!==r&&am(r,c),i}function am(e,t){for(let i=0;i{t(c,o)})}}function Td(e,t,i,o){if(!(e=Ue(e)))return!1;let r=null,c=jt(e);const f=!c&&gn(e);if(c||f){if(f&&!f.standalone)return!1;r=e}else{const v=e.ngModule;if(c=jt(v),!c)return!1;r=v}const m=o.has(r);if(f){if(m)return!1;if(o.add(r),f.dependencies){const v="function"==typeof f.dependencies?f.dependencies():f.dependencies;for(const T of v)Td(T,t,i,o)}}else{if(!c)return!1;{if(null!=c.imports&&!m){let T;o.add(r);try{Fr(c.imports,U=>{Td(U,t,i,o)&&(T||=[],T.push(U))})}finally{}void 0!==T&&am(T,t)}if(!m){const T=nr(r)||(()=>new r);t({provide:r,useFactory:T,deps:$t},r),t({provide:rm,useValue:r,multi:!0},r),t({provide:Zl,useValue:()=>Pe(r),multi:!0},r)}const v=c.providers;if(null!=v&&!m){const T=e;Rh(v,U=>{t(U,T)})}}}return r!==e&&void 0!==e.providers}function Rh(e,t){for(let i of e)ye(i)&&(i=i.\u0275providers),Array.isArray(i)?Rh(i,t):t(i)}const I0=ie({provide:String,useValue:ie});function kh(e){return null!==e&&"object"==typeof e&&I0 in e}function zs(e){return"function"==typeof e}const Ph=new jn("Set Injector scope."),Sd={},O0={};let Fh;function Id(){return void 0===Fh&&(Fh=new Ah),Fh}class Dr{}class Ad extends Dr{get destroyed(){return this._destroyed}constructor(t,i,o,r){super(),this.parent=i,this.source=o,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Lh(t,f=>this.processProvider(f)),this.records.set(om,Aa(void 0,this)),r.has("environment")&&this.records.set(Dr,Aa(void 0,this));const c=this.records.get(Ph);null!=c&&"string"==typeof c.value&&this.scopes.add(c.value),this.injectorDefTypes=new Set(this.get(rm.multi,$t,et.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const i=Ae(this),o=Fe(void 0);try{return t()}finally{Ae(i),Fe(o)}}get(t,i=Nt,o=et.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(di))return t[di](this);o=D(o);const c=Ae(this),f=Fe(void 0);try{if(!(o&et.SkipSelf)){let v=this.records.get(t);if(void 0===v){const T=function N0(e){return"function"==typeof e||"object"==typeof e&&e instanceof jn}(t)&&ct(t);v=T&&this.injectableDefInScope(T)?Aa(Nh(t),Sd):null,this.records.set(t,v)}if(null!=v)return this.hydrate(t,v)}return(o&et.Self?Id():this.parent).get(t,i=o&et.Optional&&i===Nt?null:i)}catch(m){if("NullInjectorError"===m.name){if((m[mt]=m[mt]||[]).unshift(fe(t)),c)throw m;return function ne(e,t,i,o){const r=e[mt];throw t[J]&&r.unshift(t[J]),e.message=function Oe(e,t,i,o=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=fe(t);if(Array.isArray(t))r=t.map(fe).join(" -> ");else if("object"==typeof t){let c=[];for(let f in t)if(t.hasOwnProperty(f)){let m=t[f];c.push(f+":"+("string"==typeof m?JSON.stringify(m):fe(m)))}r=`{${c.join(", ")}}`}return`${i}${o?"("+o+")":""}[${r}]: ${e.replace(Yt,"\n ")}`}("\n"+e.message,r,i,o),e.ngTokenPath=r,e[mt]=null,e}(m,t,"R3InjectorError",this.source)}throw m}finally{Fe(f),Ae(c)}}resolveInjectorInitializers(){const t=Ae(this),i=Fe(void 0);try{const r=this.get(Zl.multi,$t,et.Self);for(const c of r)c()}finally{Ae(t),Fe(i)}}toString(){const t=[],i=this.records;for(const o of i.keys())t.push(fe(o));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new H(205,!1)}processProvider(t){let i=zs(t=Ue(t))?t:Ue(t&&t.provide);const o=function k0(e){return kh(e)?Aa(void 0,e.useValue):Aa(dm(e),Sd)}(t);if(zs(t)||!0!==t.multi)this.records.get(i);else{let r=this.records.get(i);r||(r=Aa(void 0,Sd,!0),r.factory=()=>B(r.multi),this.records.set(i,r)),i=t,r.multi.push(t)}this.records.set(i,o)}hydrate(t,i){return i.value===Sd&&(i.value=O0,i.value=i.factory()),"object"==typeof i.value&&i.value&&function F0(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}injectableDefInScope(t){if(!t.providedIn)return!1;const i=Ue(t.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(t){const i=this._onDestroyHooks.indexOf(t);-1!==i&&this._onDestroyHooks.splice(i,1)}}function Nh(e){const t=ct(e),i=null!==t?t.factory:nr(e);if(null!==i)return i;if(e instanceof jn)throw new H(204,!1);if(e instanceof Function)return function R0(e){const t=e.length;if(t>0)throw Nr(t,"?"),new H(204,!1);const i=function dt(e){return e&&(e[Gt]||e[Lt])||null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new H(204,!1)}function dm(e,t,i){let o;if(zs(e)){const r=Ue(e);return nr(r)||Nh(r)}if(kh(e))o=()=>Ue(e.useValue);else if(function cm(e){return!(!e||!e.useFactory)}(e))o=()=>e.useFactory(...B(e.deps||[]));else if(function lm(e){return!(!e||!e.useExisting)}(e))o=()=>Pe(Ue(e.useExisting));else{const r=Ue(e&&(e.useClass||e.provide));if(!function P0(e){return!!e.deps}(e))return nr(r)||Nh(r);o=()=>new r(...B(e.deps))}return o}function Aa(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function Lh(e,t){for(const i of e)Array.isArray(i)?Lh(i,t):i&&ye(i)?Lh(i.\u0275providers,t):t(i)}const um=new jn("AppId",{providedIn:"root",factory:()=>L0}),L0="ng",hm=new jn("Platform Initializer"),Bh=new jn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),B0=new jn("AnimationModuleType"),V0=new jn("CSP nonce",{providedIn:"root",factory:()=>function go(){if(void 0!==$l)return $l;if(typeof document<"u")return document;throw new H(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let fm=(e,t,i)=>null;function Yh(e,t,i=!1){return fm(e,t,i)}class K0{}class gm{}class J0{resolveComponentFactory(t){throw function Q0(e){const t=Error(`No component factory found for ${fe(e)}.`);return t.ngComponent=e,t}(t)}}let Jl=(()=>{class e{static#e=this.NULL=new J0}return e})();function X0(){return ka(ki(),wt())}function ka(e,t){return new Xl(Ki(e,t))}let Xl=(()=>{class e{constructor(i){this.nativeElement=i}static#e=this.__NG_ELEMENT_ID__=X0}return e})();function q0(e){return e instanceof Xl?e.nativeElement:e}class bm{}let ey=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function ty(){const e=wt(),i=oo(ki().index,e);return(Oi(i)?i:e)[St]}()}return e})(),ny=(()=>{class e{static#e=this.\u0275prov=qe({token:e,providedIn:"root",factory:()=>null})}return e})();class vm{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const iy=new vm("16.2.8"),Kh={};function wm(e,t=null,i=null,o){const r=Em(e,t,i,o);return r.resolveInjectorInitializers(),r}function Em(e,t=null,i=null,o,r=new Set){const c=[i||$t,S0(e)];return o=o||("object"==typeof e?void 0:fe(e)),new Ad(c,t||Id(),o||null,r)}let dr=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Nt;static#t=this.NULL=new Ah;static create(i,o){if(Array.isArray(i))return wm({name:""},o,i,"");{const r=i.name??"";return wm({name:r},i.parent,i.providers,r)}}static#n=this.\u0275prov=qe({token:e,providedIn:"any",factory:()=>Pe(om)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function Jh(e){return e.ngOriginalError}class ms{constructor(){this._console=console}handleError(t){const i=this._findOriginalError(t);this._console.error("ERROR",t),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(t){let i=t&&Jh(t);for(;i&&Jh(i);)i=Jh(i);return i||null}}function qh(e){return t=>{setTimeout(e,void 0,t)}}const Mr=class dy extends n.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,i,o){let r=t,c=i||(()=>null),f=o;if(t&&"object"==typeof t){const v=t;r=v.next?.bind(v),c=v.error?.bind(v),f=v.complete?.bind(v)}this.__isAsync&&(c=qh(c),r&&(r=qh(r)),f&&(f=qh(f)));const m=super.subscribe({next:r,error:c,complete:f});return t instanceof l.w0&&t.add(m),m}};function Mm(...e){}class Li{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:o=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Mr(!1),this.onMicrotaskEmpty=new Mr(!1),this.onStable=new Mr(!1),this.onError=new Mr(!1),typeof Zone>"u")throw new H(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!o&&i,r.shouldCoalesceRunChangeDetection=o,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function uy(){const e="function"==typeof lt.requestAnimationFrame;let t=lt[e?"requestAnimationFrame":"setTimeout"],i=lt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&i){const o=t[Zone.__symbol__("OriginalDelegate")];o&&(t=o);const r=i[Zone.__symbol__("OriginalDelegate")];r&&(i=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:i}}().nativeRequestAnimationFrame,function py(e){const t=()=>{!function fy(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(lt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,tf(e),e.isCheckStableRunning=!0,ef(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),tf(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,o,r,c,f,m)=>{if(function gy(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(m))return i.invokeTask(r,c,f,m);try{return Tm(e),i.invokeTask(r,c,f,m)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===c.type||e.shouldCoalesceRunChangeDetection)&&t(),Sm(e)}},onInvoke:(i,o,r,c,f,m,v)=>{try{return Tm(e),i.invoke(r,c,f,m,v)}finally{e.shouldCoalesceRunChangeDetection&&t(),Sm(e)}},onHasTask:(i,o,r,c)=>{i.hasTask(r,c),o===r&&("microTask"==c.change?(e._hasPendingMicrotasks=c.microTask,tf(e),ef(e)):"macroTask"==c.change&&(e.hasPendingMacrotasks=c.macroTask))},onHandleError:(i,o,r,c)=>(i.handleError(r,c),e.runOutsideAngular(()=>e.onError.emit(c)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Li.isInAngularZone())throw new H(909,!1)}static assertNotInAngularZone(){if(Li.isInAngularZone())throw new H(909,!1)}run(t,i,o){return this._inner.run(t,i,o)}runTask(t,i,o,r){const c=this._inner,f=c.scheduleEventTask("NgZoneEvent: "+r,t,hy,Mm,Mm);try{return c.runTask(f,i,o)}finally{c.cancelTask(f)}}runGuarded(t,i,o){return this._inner.runGuarded(t,i,o)}runOutsideAngular(t){return this._outer.run(t)}}const hy={};function ef(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function tf(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Tm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Sm(e){e._nesting--,ef(e)}const Im=new jn("",{providedIn:"root",factory:Am});function Am(){const e=z(Li);let t=!0;const i=new R.y(r=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{r.next(t),r.complete()})}),o=new R.y(r=>{let c;e.runOutsideAngular(()=>{c=e.onStable.subscribe(()=>{Li.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,r.next(!0))})})});const f=e.onUnstable.subscribe(()=>{Li.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{r.next(!1)}))});return()=>{c.unsubscribe(),f.unsubscribe()}});return(0,S.T)(i,o.pipe((0,le.B)()))}function Om(e){return e.ownerDocument.defaultView}function jr(e){return e instanceof Function?e():e}let nf=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=qe({token:e,providedIn:"root",factory:()=>new e})}return e})();function ql(e){for(;e;){e[M]|=64;const t=Ea(e);if(To(e)&&!t)return e;e=t}return null}const Nm=new jn("",{providedIn:"root",factory:()=>!1});let Ld=null;function Hm(e,t){return e[t]??zm()}function Um(e,t){const i=zm();i.producerNode?.length&&(e[t]=Ld,i.lView=e,Ld=jm())}const Dy={...Uo,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ql(e.lView)},lView:null};function jm(){return Object.create(Dy)}function zm(){return Ld??=jm(),Ld}const xn={};function Gm(e){$m(Rn(),wt(),Ui()+e,!1)}function $m(e,t,i,o){if(!o)if(3==(3&t[M])){const c=e.preOrderCheckHooks;null!==c&&la(t,c,i)}else{const c=e.preOrderHooks;null!==c&&ca(t,c,0,i)}kr(i)}function Na(e,t=et.Default){const i=wt();return null===i?Pe(e,t):Rs(ki(),i,Ue(e),t)}function Ym(){throw new Error("invalid")}function Bd(e,t,i,o,r,c,f,m,v,T,U){const _e=t.blueprint.slice();return _e[j]=r,_e[M]=140|o,(null!==T||e&&2048&e[M])&&(_e[M]|=2048),ia(_e),_e[E]=_e[Eo]=e,_e[Zt]=i,_e[Hn]=f||e&&e[Hn],_e[St]=m||e&&e[St],_e[Pn]=v||e&&e[Pn]||null,_e[Pt]=c,_e[Bo]=function ph(){return fh++}(),_e[co]=U,_e[Xo]=T,_e[Yn]=2==t.type?e[Yn]:_e,_e}function La(e,t,i,o,r){let c=e.data[t];if(null===c)c=function rf(e,t,i,o,r){const c=Su(),f=kc(),v=e.data[t]=function ky(e,t,i,o,r,c){let f=t?t.injectorIndex:-1,m=0;return es()&&(m|=128),{type:i,index:o,insertBeforeIndex:null,injectorIndex:f,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:m,providerIndexes:0,value:r,attrs:c,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,f?c:c&&c.parent,i,t,o,r);return null===e.firstChild&&(e.firstChild=v),null!==c&&(f?null==c.child&&null!==v.parent&&(c.child=v):null===c.next&&(c.next=v,v.prev=c)),v}(e,t,i,o,r),function Rp(){return fn.lFrame.inI18n}()&&(c.flags|=32);else if(64&c.type){c.type=i,c.value=o,c.attrs=r;const f=function oa(){const e=fn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();c.injectorIndex=null===f?-1:f.injectorIndex}return or(c,!0),c}function ec(e,t,i,o){if(0===i)return-1;const r=t.length;for(let c=0;cEn&&$m(e,t,En,!1),xi(m?2:0,r);const T=m?c:null,U=ea(T);try{null!==T&&(T.dirty=!1),i(o,r)}finally{Qr(T,U)}}finally{m&&null===t[qo]&&Um(t,qo),kr(f),xi(m?3:1,r)}}function sf(e,t,i){if(er(t)){const o=Ri(null);try{const c=t.directiveEnd;for(let f=t.directiveStart;fnull;function Qm(e,t,i,o){for(let r in e)if(e.hasOwnProperty(r)){i=null===i?{}:i;const c=e[r];null===o?Jm(i,t,r,c):o.hasOwnProperty(r)&&Jm(i,t,o[r],c)}return i}function Jm(e,t,i,o){e.hasOwnProperty(i)?e[i].push(t,o):e[i]=[t,o]}function Fo(e,t,i,o,r,c,f,m){const v=Ki(t,i);let U,T=t.inputs;!m&&null!=T&&(U=T[o])?(pf(e,i,U,o,r),to(t)&&function Ny(e,t){const i=oo(t,e);16&i[M]||(i[M]|=64)}(i,t.index)):3&t.type&&(o=function Fy(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(o),r=null!=f?f(r,t.value||"",o):r,c.setProperty(v,o,r))}function df(e,t,i,o){if(Oc()){const r=null===o?null:{"":-1},c=function jy(e,t){const i=e.directiveRegistry;let o=null,r=null;if(i)for(let c=0;c0;){const i=e[--t];if("number"==typeof i&&i<0)return i}return 0})(f)!=m&&f.push(m),f.push(i,o,c)}}(e,t,o,ec(e,i,r.hostVars,xn),r)}function Tr(e,t,i,o,r,c){const f=Ki(e,t);!function hf(e,t,i,o,r,c,f){if(null==c)e.removeAttribute(t,r,i);else{const m=null==f?oe(c):f(c,o||"",r);e.setAttribute(t,r,m,i)}}(t[St],f,c,e.value,i,o,r)}function Zy(e,t,i,o,r,c){const f=c[t];if(null!==f)for(let m=0;m{class e{constructor(){this.all=new Set,this.queue=new Map}create(i,o,r){const c=typeof Zone>"u"?null:Zone.current,f=function rt(e,t,i){const o=Object.create(Wt);i&&(o.consumerAllowSignalWrites=!0),o.fn=e,o.schedule=t;const r=f=>{o.cleanupFn=f};return o.ref={notify:()=>vs(o),run:()=>{if(o.dirty=!1,o.hasRun&&!ta(o))return;o.hasRun=!0;const f=ea(o);try{o.cleanupFn(),o.cleanupFn=vt,o.fn(r)}finally{Qr(o,f)}},cleanup:()=>o.cleanupFn()},o.ref}(i,T=>{this.all.has(T)&&this.queue.set(T,c)},r);let m;this.all.add(f),f.notify();const v=()=>{f.cleanup(),m?.(),this.all.delete(f),this.queue.delete(f)};return m=o?.onDestroy(v),{destroy:v}}flush(){if(0!==this.queue.size)for(const[i,o]of this.queue)this.queue.delete(i),o?o.run(()=>i.run()):i.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=qe({token:e,providedIn:"root",factory:()=>new e})}return e})();function Hd(e,t,i){let o=i?e.styles:null,r=i?e.classes:null,c=0;if(null!==t)for(let f=0;f0){dg(e,1);const r=i.components;null!==r&&hg(e,r,1)}}function hg(e,t,i){for(let o=0;o-1&&(a(t,o),ma(i,o))}this._attachedToViewContainer=!1}s(this._lView[h],this._lView)}onDestroy(t){!function Go(e,t){if(256==(256&e[M]))throw new H(911,!1);null===e[Do]&&(e[Do]=[]),e[Do].push(t)}(this._lView,t)}markForCheck(){ql(this._cdRefInjectingView||this._lView)}detach(){this._lView[M]&=-129}reattach(){this._lView[M]|=128}detectChanges(){Ud(this._lView[h],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new H(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Ch(e,t){fs(e,t,t[St],2,null,null)}(this._lView[h],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new H(902,!1);this._appRef=t}}class ix extends nc{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Ud(t[h],t,t[Zt],!1)}checkNoChanges(){}get context(){return null}}class fg extends Jl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const i=gn(t);return new ic(i,this.ngModule)}}function pg(e){const t=[];for(let i in e)e.hasOwnProperty(i)&&t.push({propName:e[i],templateName:i});return t}class rx{constructor(t,i){this.injector=t,this.parentInjector=i}get(t,i,o){o=D(o);const r=this.injector.get(t,Kh,o);return r!==Kh||i===Kh?r:this.parentInjector.get(t,i,o)}}class ic extends gm{get inputs(){const t=this.componentDef,i=t.inputTransforms,o=pg(t.inputs);if(null!==i)for(const r of o)i.hasOwnProperty(r.propName)&&(r.transform=i[r.propName]);return o}get outputs(){return pg(this.componentDef.outputs)}constructor(t,i){super(),this.componentDef=t,this.ngModule=i,this.componentType=t.type,this.selector=function yo(e){return e.map(gi).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!i}create(t,i,o,r){let c=(r=r||this.ngModule)instanceof Dr?r:r?.injector;c&&null!==this.componentDef.getStandaloneInjector&&(c=this.componentDef.getStandaloneInjector(c)||c);const f=c?new rx(t,c):t,m=f.get(bm,null);if(null===m)throw new H(407,!1);const _e={rendererFactory:m,sanitizer:f.get(ny,null),effectManager:f.get(ag,null),afterRenderEventManager:f.get(nf,null)},ze=m.createRenderer(null,this.componentDef),Qe=this.componentDef.selectors[0][0]||"div",ht=o?function Sy(e,t,i,o){const c=o.get(Nm,!1)||i===Ot.ShadowDom,f=e.selectRootElement(t,c);return function Iy(e){Km(e)}(f),f}(ze,o,this.componentDef.encapsulation,f):Ta(ze,Qe,function ox(e){const t=e.toLowerCase();return"svg"===t?zo:"math"===t?"math":null}(Qe)),en=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let xt=null;null!==ht&&(xt=Yh(ht,f,!0));const _n=cf(0,null,null,1,0,null,null,null,null,null,null),Mn=Bd(null,_n,null,en,null,null,_e,ze,f,null,xt);let Zn,vo;ml(Mn);try{const Gr=this.componentDef;let el,wp=null;Gr.findHostDirectiveDefs?(el=[],wp=new Map,Gr.findHostDirectiveDefs(Gr,el,wp),el.push(Gr)):el=[Gr];const s1=function ax(e,t){const i=e[h],o=En;return e[o]=t,La(i,o,2,"#host",null)}(Mn,ht),a1=function lx(e,t,i,o,r,c,f){const m=r[h];!function cx(e,t,i,o){for(const r of e)t.mergedAttrs=kn(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(Hd(t,t.mergedAttrs,!0),null!==i&&dn(o,i,t))}(o,e,t,f);let v=null;null!==t&&(v=Yh(t,r[Pn]));const T=c.rendererFactory.createRenderer(t,i);let U=16;i.signals?U=4096:i.onPush&&(U=64);const _e=Bd(r,Zm(i),null,U,r[e.index],e,c,T,null,null,v);return m.firstCreatePass&&uf(m,e,o.length-1),Vd(r,_e),r[e.index]=_e}(s1,ht,Gr,el,Mn,_e,ze);vo=Cs(_n,En),ht&&function ux(e,t,i,o){if(o)vn(e,i,["ng-version",iy.full]);else{const{attrs:r,classes:c}=function oi(e){const t=[],i=[];let o=1,r=2;for(;o0&&sn(e,i,c.join(" "))}}(ze,Gr,ht,o),void 0!==i&&function hx(e,t,i){const o=e.projection=[];for(let r=0;r=0;o--){const r=e[o];r.hostVars=t+=r.hostVars,r.hostAttrs=kn(r.hostAttrs,i=kn(i,r.hostAttrs))}}(o)}function jd(e){return e===Tt?{}:e===$t?[]:e}function mx(e,t){const i=e.viewQuery;e.viewQuery=i?(o,r)=>{t(o,r),i(o,r)}:t}function gx(e,t){const i=e.contentQueries;e.contentQueries=i?(o,r,c)=>{t(o,r,c),i(o,r,c)}:t}function _x(e,t){const i=e.hostBindings;e.hostBindings=i?(o,r)=>{t(o,r),i(o,r)}:t}function vg(e){const t=e.inputConfig,i={};for(const o in t)if(t.hasOwnProperty(o)){const r=t[o];Array.isArray(r)&&r[2]&&(i[o]=r[2])}e.inputTransforms=i}function zd(e){return!!_f(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function _f(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Sr(e,t,i){return e[t]=i}function oc(e,t){return e[t]}function Xi(e,t,i){return!Object.is(e[t],i)&&(e[t]=i,!0)}function Gs(e,t,i,o){const r=Xi(e,t,i);return Xi(e,t+1,o)||r}function Qo(e,t,i,o,r,c){const f=Gs(e,t,i,o);return Gs(e,t+2,r,c)||f}function bf(e,t,i,o){const r=wt();return Xi(r,ws(),t)&&(Rn(),Tr(si(),r,e,t,i,o)),bf}function Va(e,t,i,o){return Xi(e,ws(),i)?t+oe(i)+o:xn}function Rg(e,t,i,o,r,c,f,m){const v=wt(),T=Rn(),U=e+En,_e=T.firstCreatePass?function jx(e,t,i,o,r,c,f,m,v){const T=t.consts,U=La(t,e,4,f||null,br(T,m));df(t,i,U,br(T,v)),aa(t,U);const _e=U.tView=cf(2,U,o,r,c,t.directiveRegistry,t.pipeRegistry,null,t.schemas,T,null);return null!==t.queries&&(t.queries.template(t,U),_e.queries=t.queries.embeddedTView(U)),U}(U,T,v,t,i,o,r,c,f):T.data[U];or(_e,!1);const ze=kg(T,v,_e,e);sa()&&bi(T,v,ze,_e),wi(ze,v),Vd(v,v[U]=tg(ze,v,ze,_e)),Wr(_e)&&af(T,v,_e),null!=f&&lf(v,_e,m)}let kg=function Pg(e,t,i,o){return xr(!0),t[St].createComment("")};function Fg(e){return qr(function Op(){return fn.lFrame.contextLView}(),En+e)}function Ef(e,t,i){const o=wt();return Xi(o,ws(),t)&&Fo(Rn(),si(),o,e,t,o[St],i,!1),Ef}function Df(e,t,i,o,r){const f=r?"class":"style";pf(e,i,t.inputs[f],f,o)}function Zd(e,t,i,o){const r=wt(),c=Rn(),f=En+e,m=r[St],v=c.firstCreatePass?function Yx(e,t,i,o,r,c){const f=t.consts,v=La(t,e,2,o,br(f,r));return df(t,i,v,br(f,c)),null!==v.attrs&&Hd(v,v.attrs,!1),null!==v.mergedAttrs&&Hd(v,v.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,v),v}(f,c,r,t,i,o):c.data[f],T=Ng(c,r,v,m,t,e);r[f]=T;const U=Wr(v);return or(v,!0),dn(m,T,v),32!=(32&v.flags)&&sa()&&bi(c,r,T,v),0===function Ic(){return fn.lFrame.elementDepthCount}()&&wi(T,r),function Ac(){fn.lFrame.elementDepthCount++}(),U&&(af(c,r,v),sf(c,v,r)),null!==o&&lf(r,v),Zd}function Kd(){let e=ki();kc()?Pc():(e=e.parent,or(e,!1));const t=e;(function Tp(e){return fn.skipHydrationRootTNode===e})(t)&&function Ap(){fn.skipHydrationRootTNode=null}(),function ul(){fn.lFrame.elementDepthCount--}();const i=Rn();return i.firstCreatePass&&(aa(i,e),er(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function _l(e){return 0!=(8&e.flags)}(t)&&Df(i,t,wt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function bl(e){return 0!=(16&e.flags)}(t)&&Df(i,t,wt(),t.stylesWithoutHost,!1),Kd}function Mf(e,t,i,o){return Zd(e,t,i,o),Kd(),Mf}let Ng=(e,t,i,o,r,c)=>(xr(!0),Ta(o,r,function Gc(){return fn.lFrame.currentNamespace}()));function Qd(e,t,i){const o=wt(),r=Rn(),c=e+En,f=r.firstCreatePass?function Kx(e,t,i,o,r){const c=t.consts,f=br(c,o),m=La(t,e,8,"ng-container",f);return null!==f&&Hd(m,f,!0),df(t,i,m,br(c,r)),null!==t.queries&&t.queries.elementStart(t,m),m}(c,r,o,t,i):r.data[c];or(f,!0);const m=Lg(r,o,f,e);return o[c]=m,sa()&&bi(r,o,m,f),wi(m,o),Wr(f)&&(af(r,o,f),sf(r,f,o)),null!=i&&lf(o,f),Qd}function Jd(){let e=ki();const t=Rn();return kc()?Pc():(e=e.parent,or(e,!1)),t.firstCreatePass&&(aa(t,e),er(e)&&t.queries.elementEnd(e)),Jd}function Tf(e,t,i){return Qd(e,t,i),Jd(),Tf}let Lg=(e,t,i,o)=>(xr(!0),Gl(t[St],""));function Bg(){return wt()}function Sf(e){return!!e&&"function"==typeof e.then}function Vg(e){return!!e&&"function"==typeof e.subscribe}function If(e,t,i,o){const r=wt(),c=Rn(),f=ki();return Hg(c,r,r[St],f,e,t,o),If}function Af(e,t){const i=ki(),o=wt(),r=Rn();return Hg(r,o,rg(fl(r.data),i,o),i,e,t),Af}function Hg(e,t,i,o,r,c,f){const m=Wr(o),T=e.firstCreatePass&&og(e),U=t[Zt],_e=ig(t);let ze=!0;if(3&o.type||f){const At=Ki(o,t),Ht=f?f(At):At,en=_e.length,xt=f?Mn=>f(Xn(Mn[o.index])):o.index;let _n=null;if(!f&&m&&(_n=function Xx(e,t,i,o){const r=e.cleanup;if(null!=r)for(let c=0;cv?m[v]:null}"string"==typeof f&&(c+=2)}return null}(e,t,r,o.index)),null!==_n)(_n.__ngLastListenerFn__||_n).__ngNextListenerFn__=c,_n.__ngLastListenerFn__=c,ze=!1;else{c=jg(o,t,U,c,!1);const Mn=i.listen(Ht,r,c);_e.push(c,Mn),T&&T.push(r,xt,en,en+1)}}else c=jg(o,t,U,c,!1);const Qe=o.outputs;let ht;if(ze&&null!==Qe&&(ht=Qe[r])){const At=ht.length;if(At)for(let Ht=0;Ht-1?oo(e.index,t):t);let v=Ug(t,i,o,f),T=c.__ngNextListenerFn__;for(;T;)v=Ug(t,i,T,f)&&v,T=T.__ngNextListenerFn__;return r&&!1===v&&f.preventDefault(),v}}function zg(e=1){return function Ru(e){return(fn.lFrame.contextLView=function ku(e,t){for(;e>0;)t=t[Eo],e--;return t}(e,fn.lFrame.contextLView))[Zt]}(e)}function qx(e,t){let i=null;const o=function pe(e){const t=e.attrs;if(null!=t){const i=t.indexOf(5);if(!(1&i))return t[i+1]}return null}(e);for(let r=0;r>17&32767}function kf(e){return 2|e}function $s(e){return(131068&e)>>2}function Pf(e,t){return-131069&e|t<<2}function Ff(e){return 1|e}function e_(e,t,i,o,r){const c=e[i+1],f=null===t;let m=o?gs(c):$s(c),v=!1;for(;0!==m&&(!1===v||f);){const U=e[m+1];rC(e[m],t)&&(v=!0,e[m+1]=o?Ff(U):kf(U)),m=o?gs(U):$s(U)}v&&(e[i+1]=o?kf(c):Ff(c))}function rC(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&os(e,t)>=0}const Si={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function t_(e){return e.substring(Si.key,Si.keyEnd)}function sC(e){return e.substring(Si.value,Si.valueEnd)}function n_(e,t){const i=Si.textEnd;return i===t?-1:(t=Si.keyEnd=function cC(e,t,i){for(;t32;)t++;return t}(e,Si.key=t,i),Wa(e,t,i))}function i_(e,t){const i=Si.textEnd;let o=Si.key=Wa(e,t,i);return i===o?-1:(o=Si.keyEnd=function dC(e,t,i){let o;for(;t=65&&(-33&o)<=90||o>=48&&o<=57);)t++;return t}(e,o,i),o=r_(e,o,i),o=Si.value=Wa(e,o,i),o=Si.valueEnd=function uC(e,t,i){let o=-1,r=-1,c=-1,f=t,m=f;for(;f32&&(m=f),c=r,r=o,o=-33&v}return m}(e,o,i),r_(e,o,i))}function o_(e){Si.key=0,Si.keyEnd=0,Si.value=0,Si.valueEnd=0,Si.textEnd=e.length}function Wa(e,t,i){for(;t=0;i=i_(t,i))d_(e,t_(t),sC(t))}function a_(e){fr(bC,Ir,e,!0)}function Ir(e,t){for(let i=function aC(e){return o_(e),n_(e,Wa(e,0,Si.textEnd))}(t);i>=0;i=n_(t,i))ro(e,t_(t),!0)}function hr(e,t,i,o){const r=wt(),c=Rn(),f=yr(2);c.firstUpdatePass&&c_(c,e,f,o),t!==xn&&Xi(r,f,t)&&u_(c,c.data[Ui()],r,r[St],e,r[f+1]=function yC(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=fe(Hr(e)))),e}(t,i),o,f)}function fr(e,t,i,o){const r=Rn(),c=yr(2);r.firstUpdatePass&&c_(r,null,c,o);const f=wt();if(i!==xn&&Xi(f,c,i)){const m=r.data[Ui()];if(f_(m,o)&&!l_(r,c)){let v=o?m.classesWithoutHost:m.stylesWithoutHost;null!==v&&(i=me(v,i||"")),Df(r,m,f,i,o)}else!function vC(e,t,i,o,r,c,f,m){r===xn&&(r=$t);let v=0,T=0,U=0=e.expandoStartIndex}function c_(e,t,i,o){const r=e.data;if(null===r[i+1]){const c=r[Ui()],f=l_(e,i);f_(c,o)&&null===t&&!f&&(t=!1),t=function fC(e,t,i,o){const r=fl(e);let c=o?t.residualClasses:t.residualStyles;if(null===r)0===(o?t.classBindings:t.styleBindings)&&(i=lc(i=Bf(null,e,t,i,o),t.attrs,o),c=null);else{const f=t.directiveStylingLast;if(-1===f||e[f]!==r)if(i=Bf(r,e,t,i,o),null===c){let v=function pC(e,t,i){const o=i?t.classBindings:t.styleBindings;if(0!==$s(o))return e[gs(o)]}(e,t,o);void 0!==v&&Array.isArray(v)&&(v=Bf(null,e,t,v[1],o),v=lc(v,t.attrs,o),function mC(e,t,i,o){e[gs(i?t.classBindings:t.styleBindings)]=o}(e,t,o,v))}else c=function gC(e,t,i){let o;const r=t.directiveEnd;for(let c=1+t.directiveStylingLast;c0)&&(T=!0)):U=i,r)if(0!==v){const ze=gs(e[m+1]);e[o+1]=Xd(ze,m),0!==ze&&(e[ze+1]=Pf(e[ze+1],o)),e[m+1]=function tC(e,t){return 131071&e|t<<17}(e[m+1],o)}else e[o+1]=Xd(m,0),0!==m&&(e[m+1]=Pf(e[m+1],o)),m=o;else e[o+1]=Xd(v,0),0===m?m=o:e[v+1]=Pf(e[v+1],o),v=o;T&&(e[o+1]=kf(e[o+1])),e_(e,U,o,!0),e_(e,U,o,!1),function oC(e,t,i,o,r){const c=r?e.residualClasses:e.residualStyles;null!=c&&"string"==typeof t&&os(c,t)>=0&&(i[o+1]=Ff(i[o+1]))}(t,U,e,o,c),f=Xd(m,v),c?t.classBindings=f:t.styleBindings=f}(r,c,t,i,f,o)}}function Bf(e,t,i,o,r){let c=null;const f=i.directiveEnd;let m=i.directiveStylingLast;for(-1===m?m=i.directiveStart:m++;m0;){const v=e[r],T=Array.isArray(v),U=T?v[1]:v,_e=null===U;let ze=i[r+1];ze===xn&&(ze=_e?$t:void 0);let Qe=_e?Dl(ze,o):U===o?ze:void 0;if(T&&!qd(Qe)&&(Qe=Dl(v,o)),qd(Qe)&&(m=Qe,f))return m;const ht=e[r+1];r=f?gs(ht):$s(ht)}if(null!==t){let v=c?t.residualClasses:t.residualStyles;null!=v&&(m=Dl(v,o))}return m}function qd(e){return void 0!==e}function f_(e,t){return 0!=(e.flags&(t?8:16))}function p_(e,t=""){const i=wt(),o=Rn(),r=e+En,c=o.firstCreatePass?La(o,r,1,t,null):o.data[r],f=m_(o,i,c,t,e);i[r]=f,sa()&&bi(o,i,f,c),or(c,!1)}let m_=(e,t,i,o,r)=>(xr(!0),function Ma(e,t){return e.createText(t)}(t[St],o));function Vf(e){return eu("",e,""),Vf}function eu(e,t,i){const o=wt(),r=Va(o,e,t,i);return r!==xn&&function zr(e,t,i){const o=Zi(t,e);!function xd(e,t,i){e.setValue(t,i)}(e[St],o,i)}(o,Ui(),r),eu}function E_(e,t,i){fr(ro,Ir,Va(wt(),e,t,i),!0)}function Hf(e,t,i){const o=wt();return Xi(o,ws(),t)&&Fo(Rn(),si(),o,e,t,o[St],i,!0),Hf}function Uf(e,t,i){const o=wt();if(Xi(o,ws(),t)){const c=Rn(),f=si();Fo(c,f,o,e,t,rg(fl(c.data),f,o),i,!0)}return Uf}const Ys=void 0;var UC=["en",[["a","p"],["AM","PM"],Ys],[["AM","PM"],Ys,Ys],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ys,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ys,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ys,"{1} 'at' {0}",Ys],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function HC(e){const i=Math.floor(Math.abs(e)),o=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===o?1:5}];let Za={};function jf(e){const t=function jC(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=F_(t);if(i)return i;const o=t.split("-")[0];if(i=F_(o),i)return i;if("en"===o)return UC;throw new H(701,!1)}function P_(e){return jf(e)[Ka.PluralCase]}function F_(e){return e in Za||(Za[e]=lt.ng&<.ng.common&<.ng.common.locales&<.ng.common.locales[e]),Za[e]}var Ka=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Ka||{});const Qa="en-US";let N_=Qa;function $f(e,t,i,o,r){if(e=Ue(e),Array.isArray(e))for(let c=0;c>20;if(zs(e)||!e.multi){const Qe=new da(T,r,Na),ht=Wf(v,t,r?U:U+ze,_e);-1===ht?(yl(Ts(m,f),c,v),Yf(c,e,t.length),t.push(v),m.directiveStart++,m.directiveEnd++,r&&(m.providerIndexes+=1048576),i.push(Qe),f.push(Qe)):(i[ht]=Qe,f[ht]=Qe)}else{const Qe=Wf(v,t,U+ze,_e),ht=Wf(v,t,U,U+ze),Ht=ht>=0&&i[ht];if(r&&!Ht||!r&&!(Qe>=0&&i[Qe])){yl(Ts(m,f),c,v);const en=function Hw(e,t,i,o,r){const c=new da(e,i,Na);return c.multi=[],c.index=t,c.componentProviders=0,ab(c,r,o&&!i),c}(r?Vw:Bw,i.length,r,o,T);!r&&Ht&&(i[ht].providerFactory=en),Yf(c,e,t.length,0),t.push(v),m.directiveStart++,m.directiveEnd++,r&&(m.providerIndexes+=1048576),i.push(en),f.push(en)}else Yf(c,e,Qe>-1?Qe:ht,ab(i[r?ht:Qe],T,!r&&o));!r&&o&&Ht&&i[ht].componentProviders++}}}function Yf(e,t,i,o){const r=zs(t),c=function A0(e){return!!e.useClass}(t);if(r||c){const v=(c?Ue(t.useClass):t).prototype.ngOnDestroy;if(v){const T=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const U=T.indexOf(i);-1===U?T.push(i,[o,v]):T[U+1].push(o,v)}else T.push(i,v)}}}function ab(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function Wf(e,t,i,o){for(let r=i;r{i.providersResolver=(o,r)=>function Lw(e,t,i){const o=Rn();if(o.firstCreatePass){const r=no(e);$f(i,o.data,o.blueprint,r,!0),$f(t,o.data,o.blueprint,r,!1)}}(o,r?r(e):e,t)}}class Ws{}class cb{}function Uw(e,t){return new Kf(e,t??null,[])}class Kf extends Ws{constructor(t,i,o){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new fg(this);const r=Jn(t);this._bootstrapComponents=jr(r.bootstrap),this._r3Injector=Em(t,i,[{provide:Ws,useValue:this},{provide:Jl,useValue:this.componentFactoryResolver},...o],fe(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Qf extends cb{constructor(t){super(),this.moduleType=t}create(t){return new Kf(this.moduleType,t,[])}}class db extends Ws{constructor(t){super(),this.componentFactoryResolver=new fg(this),this.instance=null;const i=new Ad([...t.providers,{provide:Ws,useValue:this},{provide:Jl,useValue:this.componentFactoryResolver}],t.parent||Id(),t.debugName,new Set(["environment"]));this.injector=i,t.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function ub(e,t,i=null){return new db({providers:e,parent:t,debugName:i,runEnvironmentInitializers:!0}).injector}let zw=(()=>{class e{constructor(i){this._injector=i,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){const o=sm(0,i.type),r=o.length>0?ub([o],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i,r)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=qe({token:e,providedIn:"environment",factory:()=>new e(Pe(Dr))})}return e})();function hb(e){e.getStandaloneInjector=t=>t.get(zw).getOrCreateStandaloneInjector(e)}function vb(e,t,i){const o=Qi()+e,r=wt();return r[o]===xn?Sr(r,o,i?t.call(i):t()):oc(r,o)}function yb(e,t,i,o){return Db(wt(),Qi(),e,t,i,o)}function xb(e,t,i,o,r){return Mb(wt(),Qi(),e,t,i,o,r)}function Cb(e,t,i,o,r,c){return function Tb(e,t,i,o,r,c,f,m){const v=t+i;return function Gd(e,t,i,o,r){const c=Gs(e,t,i,o);return Xi(e,t+2,r)||c}(e,v,r,c,f)?Sr(e,v+3,m?o.call(m,r,c,f):o(r,c,f)):pc(e,v+3)}(wt(),Qi(),e,t,i,o,r,c)}function wb(e,t,i,o,r,c,f){return function Sb(e,t,i,o,r,c,f,m,v){const T=t+i;return Qo(e,T,r,c,f,m)?Sr(e,T+4,v?o.call(v,r,c,f,m):o(r,c,f,m)):pc(e,T+4)}(wt(),Qi(),e,t,i,o,r,c,f)}function Eb(e,t,i,o,r,c,f,m){const v=Qi()+e,T=wt(),U=Qo(T,v,i,o,r,c);return Xi(T,v+4,f)||U?Sr(T,v+5,m?t.call(m,i,o,r,c,f):t(i,o,r,c,f)):oc(T,v+5)}function pc(e,t){const i=e[t];return i===xn?void 0:i}function Db(e,t,i,o,r,c){const f=t+i;return Xi(e,f,r)?Sr(e,f+1,c?o.call(c,r):o(r)):pc(e,f+1)}function Mb(e,t,i,o,r,c,f){const m=t+i;return Gs(e,m,r,c)?Sr(e,m+2,f?o.call(f,r,c):o(r,c)):pc(e,m+2)}function Ab(e,t){const i=Rn();let o;const r=e+En;i.firstCreatePass?(o=function nE(e,t){if(t)for(let i=t.length-1;i>=0;i--){const o=t[i];if(e===o.name)return o}}(t,i.pipeRegistry),i.data[r]=o,o.onDestroy&&(i.destroyHooks??=[]).push(r,o.onDestroy)):o=i.data[r];const c=o.factory||(o.factory=nr(o.type)),m=Fe(Na);try{const v=Ms(!1),T=c();return Ms(v),function $x(e,t,i,o){i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=o}(i,wt(),r,T),T}finally{Fe(m)}}function Ob(e,t,i){const o=e+En,r=wt(),c=qr(r,o);return mc(r,o)?Db(r,Qi(),t,c.transform,i,c):c.transform(i)}function Rb(e,t,i,o){const r=e+En,c=wt(),f=qr(c,r);return mc(c,r)?Mb(c,Qi(),t,f.transform,i,o,f):f.transform(i,o)}function mc(e,t){return e[h].data[t].pure}function sE(){return this._results[Symbol.iterator]()}class ru{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new Mr)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const i=ru.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=sE)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,i){return this._results.reduce(t,i)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,i){const o=this;o.dirty=!1;const r=function ji(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function pa(e,t,i){if(e.length!==t.length)return!1;for(let o=0;o0&&(i[r-1][De]=t),o{class e{static#e=this.__NG_ELEMENT_ID__=uE}return e})();const cE=gc,dE=class extends cE{constructor(t,i,o){super(),this._declarationLView=t,this._declarationTContainer=i,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,i){return this.createEmbeddedViewImpl(t,i)}createEmbeddedViewImpl(t,i,o){const r=function aE(e,t,i,o){const r=t.tView,m=Bd(e,r,i,4096&e[M]?4096:16,null,t,null,null,null,o?.injector??null,o?.hydrationInfo??null);m[Hi]=e[t.index];const T=e[Ai];return null!==T&&(m[Ai]=T.createEmbeddedView(r)),mf(r,m,i),m}(this._declarationLView,this._declarationTContainer,t,{injector:i,hydrationInfo:o});return new nc(r)}};function uE(){return su(ki(),wt())}function su(e,t){return 4&e.type?new dE(t,e,ka(e,t)):null}let lu=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=_E}return e})();function _E(){return Vb(ki(),wt())}const bE=lu,Lb=class extends bE{constructor(t,i,o){super(),this._lContainer=t,this._hostTNode=i,this._hostLView=o}get element(){return ka(this._hostTNode,this._hostLView)}get injector(){return new Pi(this._hostTNode,this._hostLView)}get parentInjector(){const t=Is(this._hostTNode,this._hostLView);if(ua(t)){const i=Ds(t,this._hostLView),o=Es(t);return new Pi(i[h].data[o+8],i)}return new Pi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const i=Bb(this._lContainer);return null!==i&&i[t]||null}get length(){return this._lContainer.length-ii}createEmbeddedView(t,i,o){let r,c;"number"==typeof o?r=o:null!=o&&(r=o.index,c=o.injector);const m=t.createEmbeddedViewImpl(i||{},c,null);return this.insertImpl(m,r,false),m}createComponent(t,i,o,r,c){const f=t&&!function Bs(e){return"function"==typeof e}(t);let m;if(f)m=i;else{const At=i||{};m=At.index,o=At.injector,r=At.projectableNodes,c=At.environmentInjector||At.ngModuleRef}const v=f?t:new ic(gn(t)),T=o||this.parentInjector;if(!c&&null==v.ngModule){const Ht=(f?T:this.parentInjector).get(Dr,null);Ht&&(c=Ht)}gn(v.componentType??{});const Qe=v.create(T,r,null,c);return this.insertImpl(Qe.hostView,m,false),Qe}insert(t,i){return this.insertImpl(t,i,!1)}insertImpl(t,i,o){const r=t._lView;if(function Dp(e){return _i(e[E])}(r)){const v=this.indexOf(t);if(-1!==v)this.detach(v);else{const T=r[E],U=new Lb(T,T[Pt],T[E]);U.detach(U.indexOf(t))}}const f=this._adjustIndex(i),m=this._lContainer;return lE(m,r,f,!o),t.attachToViewContainerRef(),El(Xf(m),f,t),t}move(t,i){return this.insert(t,i)}indexOf(t){const i=Bb(this._lContainer);return null!==i?i.indexOf(t):-1}remove(t){const i=this._adjustIndex(t,-1),o=a(this._lContainer,i);o&&(ma(Xf(this._lContainer),i),s(o[h],o))}detach(t){const i=this._adjustIndex(t,-1),o=a(this._lContainer,i);return o&&null!=ma(Xf(this._lContainer),i)?new nc(o):null}_adjustIndex(t,i=0){return t??this.length+i}};function Bb(e){return e[8]}function Xf(e){return e[8]||(e[8]=[])}function Vb(e,t){let i;const o=t[e.index];return _i(o)?i=o:(i=tg(o,t,null,e),t[e.index]=i,Vd(t,i)),Hb(i,t,e,o),new Lb(i,e,t)}let Hb=function Ub(e,t,i,o){if(e[Di])return;let r;r=8&i.type?Xn(o):function vE(e,t){const i=e[St],o=i.createComment(""),r=Ki(t,e);return re(i,rn(i,r),o,function Xt(e,t){return e.nextSibling(t)}(i,r),!1),o}(t,i),e[Di]=r};class qf{constructor(t){this.queryList=t,this.matches=null}clone(){return new qf(this.queryList)}setDirty(){this.queryList.setDirty()}}class ep{constructor(t=[]){this.queries=t}createEmbeddedView(t){const i=t.queries;if(null!==i){const o=null!==t.contentQueries?t.contentQueries[0]:i.length,r=[];for(let c=0;c0)o.push(f[m/2]);else{const T=c[m+1],U=t[-v];for(let _e=ii;_e{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,o)=>{this.resolve=i,this.reject=o}),this.appInits=z(ZE,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const i=[];for(const r of this.appInits){const c=r();if(Sf(c))i.push(c);else if(Vg(c)){const f=new Promise((m,v)=>{c.subscribe({complete:m,error:v})});i.push(f)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{o()}).catch(r=>{this.reject(r)}),0===i.length&&o(),this.initialized=!0}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),pv=(()=>{class e{log(i){console.log(i)}warn(i){console.warn(i)}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const du=new jn("LocaleId",{providedIn:"root",factory:()=>z(du,et.Optional|et.SkipSelf)||function KE(){return typeof $localize<"u"&&$localize.locale||Qa}()}),QE=new jn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let mv=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new te.X(!1)}add(){this.hasPendingTasks.next(!0);const i=this.taskId++;return this.pendingTasks.add(i),i}remove(i){this.pendingTasks.delete(i),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class XE{constructor(t,i){this.ngModuleFactory=t,this.componentFactories=i}}let qE=(()=>{class e{compileModuleSync(i){return new Qf(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const o=this.compileModuleSync(i),c=jr(Jn(i).declarations).reduce((f,m)=>{const v=gn(m);return v&&f.push(new ic(v)),f},[]);return new XE(o,c)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const vv=new jn(""),yv=new jn("");let hp,vD=(()=>{class e{constructor(i,o,r){this._ngZone=i,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,hp||(function yD(e){hp=e}(r),r.addToWindow(o)),this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Li.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb(this._didWork)}this._didWork=!1});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(i)||(clearTimeout(o.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,o,r){let c=-1;o&&o>0&&(c=setTimeout(()=>{this._callbacks=this._callbacks.filter(f=>f.timeoutId!==c),i(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:i,timeoutId:c,updateCb:r})}whenStable(i,o,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(i,o,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,o,r){return[]}static#e=this.\u0275fac=function(o){return new(o||e)(Pe(Li),Pe(xv),Pe(yv))};static#t=this.\u0275prov=qe({token:e,factory:e.\u0275fac})}return e})(),xv=(()=>{class e{constructor(){this._applications=new Map}registerApplication(i,o){this._applications.set(i,o)}unregisterApplication(i){this._applications.delete(i)}unregisterAllApplications(){this._applications.clear()}getTestability(i){return this._applications.get(i)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(i,o=!0){return hp?.findTestabilityInTree(this,i,o)??null}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),_s=null;const fp=new jn("PlatformDestroyListeners"),pp=new jn("appBootstrapListener");function DD(e){try{const{rootComponent:t,appProviders:i,platformProviders:o}=e,r=function ED(e=[]){if(_s)return _s;const t=function Dv(e=[],t){return dr.create({name:t,providers:[{provide:Ph,useValue:"platform"},{provide:fp,useValue:new Set([()=>_s=null])},...e]})}(e);return _s=t,function wv(){!function al(e){Dc=e}(()=>{throw new H(600,!1)})}(),function Ev(e){e.get(hm,null)?.forEach(i=>i())}(t),t}(o),c=[AD(),...i||[]],m=new db({providers:c,parent:r,debugName:"",runEnvironmentInitializers:!1}).injector,v=m.get(Li);return v.run(()=>{m.resolveInjectorInitializers();const T=m.get(ms,null);let U;v.runOutsideAngular(()=>{U=v.onError.subscribe({next:Qe=>{T.handleError(Qe)}})});const _e=()=>m.destroy(),ze=r.get(fp);return ze.add(_e),m.onDestroy(()=>{U.unsubscribe(),ze.delete(_e)}),function Sv(e,t,i){try{const o=i();return Sf(o)?o.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):o}catch(o){throw t.runOutsideAngular(()=>e.handleError(o)),o}}(T,v,()=>{const Qe=m.get(cp);return Qe.runInitializers(),Qe.donePromise.then(()=>{!function L_(e){Be(e,"Expected localeId to be defined"),"string"==typeof e&&(N_=e.toLowerCase().replace(/_/g,"-"))}(m.get(du,Qa)||Qa);const At=m.get(qa);return void 0!==t&&At.bootstrap(t),At})})})}catch(t){return Promise.reject(t)}}let qa=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=z(Ov),this.zoneIsStable=z(Im),this.componentTypes=[],this.components=[],this.isStable=z(mv).hasPendingTasks.pipe((0,ke.w)(i=>i?(0,Se.of)(!1):this.zoneIsStable),(0,ue.x)(),(0,le.B)()),this._injector=z(Dr)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(i,o){const r=i instanceof gm;if(!this._injector.get(cp).done)throw!r&&ni(i),new H(405,!1);let f;f=r?i:this._injector.get(Jl).resolveComponentFactory(i),this.componentTypes.push(f.componentType);const m=function CD(e){return e.isBoundToModule}(f)?void 0:this._injector.get(Ws),T=f.create(dr.NULL,[],o||f.selector,m),U=T.location.nativeElement,_e=T.injector.get(vv,null);return _e?.registerApplication(U),T.onDestroy(()=>{this.detachView(T.hostView),hu(this.components,T),_e?.unregisterApplication(U)}),this._loadComponent(T),T}tick(){if(this._runningTick)throw new H(101,!1);try{this._runningTick=!0;for(let i of this._views)i.detectChanges()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1}}attachView(i){const o=i;this._views.push(o),o.attachToAppRef(this)}detachView(i){const o=i;hu(this._views,o),o.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i);const o=this._injector.get(pp,[]);o.push(...this._bootstrapListeners),o.forEach(r=>r(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>hu(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new H(406,!1);const i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function hu(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}const Ov=new jn("",{providedIn:"root",factory:()=>z(ms).handleError.bind(void 0)});function SD(){const e=z(Li),t=z(ms);return i=>e.runOutsideAngular(()=>t.handleError(i))}let ID=(()=>{class e{constructor(){this.zone=z(Li),this.applicationRef=z(qa)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Rv(e){return[{provide:Li,useFactory:e},{provide:Zl,multi:!0,useFactory:()=>{const t=z(ID,{optional:!0});return()=>t.initialize()}},{provide:Ov,useFactory:SD},{provide:Im,useFactory:Am}]}function AD(e){return Oh([[],Rv(()=>new Li(function Tv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}(e)))])}function OD(){return!1}let RD=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=kD}return e})();function kD(e){return function PD(e,t,i){if(to(e)&&!i){const o=oo(e.index,t);return new nc(o,o)}return 47&e.type?new nc(t[Yn],t):null}(ki(),wt(),16==(16&e))}class Nv{constructor(){}supports(t){return zd(t)}create(t){return new HD(t)}}const VD=(e,t)=>t;class HD{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||VD}forEachItem(t){let i;for(i=this._itHead;null!==i;i=i._next)t(i)}forEachOperation(t){let i=this._itHead,o=this._removalsHead,r=0,c=null;for(;i||o;){const f=!o||i&&i.currentIndex{f=this._trackByFn(r,m),null!==i&&Object.is(i.trackById,f)?(o&&(i=this._verifyReinsertion(i,m,f,r)),Object.is(i.item,m)||this._addIdentityChange(i,m)):(i=this._mismatch(i,m,f,r),o=!0),i=i._next,r++}),this.length=r;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,i,o,r){let c;return null===t?c=this._itTail:(c=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._reinsertAfter(t,c,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(o,r))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._moveAfter(t,c,r)):t=this._addAfter(new UD(i,o),c,r),t}_verifyReinsertion(t,i,o,r){let c=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null);return null!==c?t=this._reinsertAfter(c,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const i=t._next;this._addToRemovals(this._unlink(t)),t=i}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,i,o){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,c=t._nextRemoved;return null===r?this._removalsHead=c:r._nextRemoved=c,null===c?this._removalsTail=r:c._prevRemoved=r,this._insertAfter(t,i,o),this._addToMoves(t,o),t}_moveAfter(t,i,o){return this._unlink(t),this._insertAfter(t,i,o),this._addToMoves(t,o),t}_addAfter(t,i,o){return this._insertAfter(t,i,o),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,i,o){const r=null===i?this._itHead:i._next;return t._next=r,t._prev=i,null===r?this._itTail=t:r._prev=t,null===i?this._itHead=t:i._next=t,null===this._linkedRecords&&(this._linkedRecords=new Lv),this._linkedRecords.put(t),t.currentIndex=o,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const i=t._prev,o=t._next;return null===i?this._itHead=o:i._next=o,null===o?this._itTail=i:o._prev=i,t}_addToMoves(t,i){return t.previousIndex===i||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Lv),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,i){return t.item=i,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class UD{constructor(t,i){this.item=t,this.trackById=i,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class jD{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,i){let o;for(o=this._head;null!==o;o=o._nextDup)if((null===i||i<=o.currentIndex)&&Object.is(o.trackById,t))return o;return null}remove(t){const i=t._prevDup,o=t._nextDup;return null===i?this._head=o:i._nextDup=o,null===o?this._tail=i:o._prevDup=i,null===this._head}}class Lv{constructor(){this.map=new Map}put(t){const i=t.trackById;let o=this.map.get(i);o||(o=new jD,this.map.set(i,o)),o.add(t)}get(t,i){const r=this.map.get(t);return r?r.get(t,i):null}remove(t){const i=t.trackById;return this.map.get(i).remove(t)&&this.map.delete(i),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Bv(e,t,i){const o=e.previousIndex;if(null===o)return o;let r=0;return i&&o{if(i&&i.key===r)this._maybeAddToChanges(i,o),this._appendAfter=i,i=i._next;else{const c=this._getOrCreateRecordForKey(r,o);i=this._insertBeforeOrAppend(i,c)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let o=i;null!==o;o=o._nextRemoved)o===this._mapHead&&(this._mapHead=null),this._records.delete(o.key),o._nextRemoved=o._next,o.previousValue=o.currentValue,o.currentValue=null,o._prev=null,o._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,i){if(t){const o=t._prev;return i._next=t,i._prev=o,t._prev=i,o&&(o._next=i),t===this._mapHead&&(this._mapHead=i),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(t,i){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,i);const c=r._prev,f=r._next;return c&&(c._next=f),f&&(f._prev=c),r._next=null,r._prev=null,r}const o=new GD(t);return this._records.set(t,o),o.currentValue=i,this._addToAdditions(o),o}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,i){Object.is(i,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=i,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,i){t instanceof Map?t.forEach(i):Object.keys(t).forEach(o=>i(t[o],o))}}class GD{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Hv(){return new yp([new Nv])}let yp=(()=>{class e{static#e=this.\u0275prov=qe({token:e,providedIn:"root",factory:Hv});constructor(i){this.factories=i}static create(i,o){if(null!=o){const r=o.factories.slice();i=i.concat(r)}return new e(i)}static extend(i){return{provide:e,useFactory:o=>e.create(i,o||Hv()),deps:[[e,new Br,new Lr]]}}find(i){const o=this.factories.find(r=>r.supports(i));if(null!=o)return o;throw new H(901,!1)}}return e})();function Uv(){return new xp([new Vv])}let xp=(()=>{class e{static#e=this.\u0275prov=qe({token:e,providedIn:"root",factory:Uv});constructor(i){this.factories=i}static create(i,o){if(o){const r=o.factories.slice();i=i.concat(r)}return new e(i)}static extend(i){return{provide:e,useFactory:o=>e.create(i,o||Uv()),deps:[[e,new Br,new Lr]]}}find(i){const o=this.factories.find(r=>r.supports(i));if(o)return o;throw new H(901,!1)}}return e})();function o1(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},6223:(Mt,je,g)=>{g.d(je,{CE:()=>b,Cf:()=>be,F:()=>hi,Fd:()=>Ai,Fj:()=>Te,JJ:()=>dt,JL:()=>jt,JU:()=>ke,NI:()=>mi,Oe:()=>er,On:()=>oi,UX:()=>tr,Zs:()=>uo,_Y:()=>xo,a5:()=>Ye,cw:()=>ge,kI:()=>ve,qQ:()=>Xo,sg:()=>Vi,u:()=>M,u5:()=>mr,wV:()=>qi,x0:()=>Ii});var n=g(5879),l=g(6814),R=g(7715),S=g(9315),te=g(7398);let Se=(()=>{class O{constructor(C,Q){this._renderer=C,this._elementRef=Q,this.onChange=Ne=>{},this.onTouched=()=>{}}setProperty(C,Q){this._renderer.setProperty(this._elementRef.nativeElement,C,Q)}registerOnTouched(C){this.onTouched=C}registerOnChange(C){this.onChange=C}setDisabledState(C){this.setProperty("disabled",C)}static#e=this.\u0275fac=function(Q){return new(Q||O)(n.Y36(n.Qsj),n.Y36(n.SBq))};static#t=this.\u0275dir=n.lG2({type:O})}return O})(),le=(()=>{class O extends Se{static#e=this.\u0275fac=function(){let C;return function(Ne){return(C||(C=n.n5z(O)))(Ne||O)}}();static#t=this.\u0275dir=n.lG2({type:O,features:[n.qOj]})}return O})();const ke=new n.OlP("NgValueAccessor"),we={provide:ke,useExisting:(0,n.Gpc)(()=>Te),multi:!0},me=new n.OlP("CompositionEventMode");let Te=(()=>{class O extends Se{constructor(C,Q,Ne){super(C,Q),this._compositionMode=Ne,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function fe(){const O=(0,l.q)()?(0,l.q)().getUserAgent():"";return/android (\d+)/.test(O.toLowerCase())}())}writeValue(C){this.setProperty("value",C??"")}_handleInput(C){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(C)}_compositionStart(){this._composing=!0}_compositionEnd(C){this._composing=!1,this._compositionMode&&this.onChange(C)}static#e=this.\u0275fac=function(Q){return new(Q||O)(n.Y36(n.Qsj),n.Y36(n.SBq),n.Y36(me,8))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(Q,Ne){1&Q&&n.NdJ("input",function(Dn){return Ne._handleInput(Dn.target.value)})("blur",function(){return Ne.onTouched()})("compositionstart",function(){return Ne._compositionStart()})("compositionend",function(Dn){return Ne._compositionEnd(Dn.target.value)})},features:[n._Bn([we]),n.qOj]})}return O})();function Le(O){return null==O||("string"==typeof O||Array.isArray(O))&&0===O.length}function Ue(O){return null!=O&&"number"==typeof O.length}const be=new n.OlP("NgValidators"),ye=new n.OlP("NgAsyncValidators"),Je=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class ve{static min(k){return H(k)}static max(k){return xe(k)}static required(k){return oe(k)}static requiredTrue(k){return Ie(k)}static email(k){return function Re(O){return Le(O.value)||Je.test(O.value)?null:{email:!0}}(k)}static minLength(k){return function $e(O){return k=>Le(k.value)||!Ue(k.value)?null:k.value.lengthUe(k.value)&&k.value.length>O?{maxlength:{requiredLength:O,actualLength:k.value.length}}:null}(k)}static pattern(k){return function bt(O){if(!O)return Dt;let k,C;return"string"==typeof O?(C="","^"!==O.charAt(0)&&(C+="^"),C+=O,"$"!==O.charAt(O.length-1)&&(C+="$"),k=new RegExp(C)):(C=O.toString(),k=O),Q=>{if(Le(Q.value))return null;const Ne=Q.value;return k.test(Ne)?null:{pattern:{requiredPattern:C,actualValue:Ne}}}}(k)}static nullValidator(k){return null}static compose(k){return P(k)}static composeAsync(k){return L(k)}}function H(O){return k=>{if(Le(k.value)||Le(O))return null;const C=parseFloat(k.value);return!isNaN(C)&&C{if(Le(k.value)||Le(O))return null;const C=parseFloat(k.value);return!isNaN(C)&&C>O?{max:{max:O,actual:k.value}}:null}}function oe(O){return Le(O.value)?{required:!0}:null}function Ie(O){return!0===O.value?null:{required:!0}}function Dt(O){return null}function Ut(O){return null!=O}function kt(O){return(0,n.QGY)(O)?(0,R.D)(O):O}function an(O){let k={};return O.forEach(C=>{k=null!=C?{...k,...C}:k}),0===Object.keys(k).length?null:k}function Xe(O,k){return k.map(C=>C(O))}function W(O){return O.map(k=>function Ct(O){return!O.validate}(k)?k:C=>k.validate(C))}function P(O){if(!O)return null;const k=O.filter(Ut);return 0==k.length?null:function(C){return an(Xe(C,k))}}function se(O){return null!=O?P(W(O)):null}function L(O){if(!O)return null;const k=O.filter(Ut);return 0==k.length?null:function(C){const Q=Xe(C,k).map(kt);return(0,S.D)(Q).pipe((0,te.U)(an))}}function Ce(O){return null!=O?L(W(O)):null}function G(O,k){return null===O?[k]:Array.isArray(O)?[...O,k]:[O,k]}function $(O){return O._rawValidators}function Be(O){return O._rawAsyncValidators}function ae(O){return O?Array.isArray(O)?O:[O]:[]}function He(O,k){return Array.isArray(O)?O.includes(k):O===k}function Ze(O,k){const C=ae(k);return ae(O).forEach(Ne=>{He(C,Ne)||C.push(Ne)}),C}function it(O,k){return ae(k).filter(C=>!He(O,C))}class qe{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(k){this._rawValidators=k||[],this._composedValidatorFn=se(this._rawValidators)}_setAsyncValidators(k){this._rawAsyncValidators=k||[],this._composedAsyncValidatorFn=Ce(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(k){this._onDestroyCallbacks.push(k)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(k=>k()),this._onDestroyCallbacks=[]}reset(k=void 0){this.control&&this.control.reset(k)}hasError(k,C){return!!this.control&&this.control.hasError(k,C)}getError(k,C){return this.control?this.control.getError(k,C):null}}class It extends qe{get formDirective(){return null}get path(){return null}}class Ye extends qe{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ct{constructor(k){this._cd=k}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let dt=(()=>{class O extends ct{constructor(C){super(C)}static#e=this.\u0275fac=function(Q){return new(Q||O)(n.Y36(Ye,2))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Q,Ne){2&Q&&n.ekj("ng-untouched",Ne.isUntouched)("ng-touched",Ne.isTouched)("ng-pristine",Ne.isPristine)("ng-dirty",Ne.isDirty)("ng-valid",Ne.isValid)("ng-invalid",Ne.isInvalid)("ng-pending",Ne.isPending)},features:[n.qOj]})}return O})(),jt=(()=>{class O extends ct{constructor(C){super(C)}static#e=this.\u0275fac=function(Q){return new(Q||O)(n.Y36(It,10))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Q,Ne){2&Q&&n.ekj("ng-untouched",Ne.isUntouched)("ng-touched",Ne.isTouched)("ng-pristine",Ne.isPristine)("ng-dirty",Ne.isDirty)("ng-valid",Ne.isValid)("ng-invalid",Ne.isInvalid)("ng-pending",Ne.isPending)("ng-submitted",Ne.isSubmitted)},features:[n.qOj]})}return O})();const un="VALID",nn="INVALID",pn="PENDING",bn="DISABLED";function In(O){return(Ke(O)?O.validators:O)||null}function at(O,k){return(Ke(k)?k.asyncValidators:O)||null}function Ke(O){return null!=O&&!Array.isArray(O)&&"object"==typeof O}function mt(O,k,C){const Q=O.controls;if(!(k?Object.keys(Q):Q).length)throw new n.vHH(1e3,"");if(!Q[C])throw new n.vHH(1001,"")}function gt(O,k,C){O._forEachChild((Q,Ne)=>{if(void 0===C[Ne])throw new n.vHH(1002,"")})}class Yt{constructor(k,C){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(k),this._assignAsyncValidators(C)}get validator(){return this._composedValidatorFn}set validator(k){this._rawValidators=this._composedValidatorFn=k}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(k){this._rawAsyncValidators=this._composedAsyncValidatorFn=k}get parent(){return this._parent}get valid(){return this.status===un}get invalid(){return this.status===nn}get pending(){return this.status==pn}get disabled(){return this.status===bn}get enabled(){return this.status!==bn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(k){this._assignValidators(k)}setAsyncValidators(k){this._assignAsyncValidators(k)}addValidators(k){this.setValidators(Ze(k,this._rawValidators))}addAsyncValidators(k){this.setAsyncValidators(Ze(k,this._rawAsyncValidators))}removeValidators(k){this.setValidators(it(k,this._rawValidators))}removeAsyncValidators(k){this.setAsyncValidators(it(k,this._rawAsyncValidators))}hasValidator(k){return He(this._rawValidators,k)}hasAsyncValidator(k){return He(this._rawAsyncValidators,k)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(k={}){this.touched=!0,this._parent&&!k.onlySelf&&this._parent.markAsTouched(k)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(k=>k.markAllAsTouched())}markAsUntouched(k={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(C=>{C.markAsUntouched({onlySelf:!0})}),this._parent&&!k.onlySelf&&this._parent._updateTouched(k)}markAsDirty(k={}){this.pristine=!1,this._parent&&!k.onlySelf&&this._parent.markAsDirty(k)}markAsPristine(k={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(C=>{C.markAsPristine({onlySelf:!0})}),this._parent&&!k.onlySelf&&this._parent._updatePristine(k)}markAsPending(k={}){this.status=pn,!1!==k.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!k.onlySelf&&this._parent.markAsPending(k)}disable(k={}){const C=this._parentMarkedDirty(k.onlySelf);this.status=bn,this.errors=null,this._forEachChild(Q=>{Q.disable({...k,onlySelf:!0})}),this._updateValue(),!1!==k.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...k,skipPristineCheck:C}),this._onDisabledChange.forEach(Q=>Q(!0))}enable(k={}){const C=this._parentMarkedDirty(k.onlySelf);this.status=un,this._forEachChild(Q=>{Q.enable({...k,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:k.emitEvent}),this._updateAncestors({...k,skipPristineCheck:C}),this._onDisabledChange.forEach(Q=>Q(!1))}_updateAncestors(k){this._parent&&!k.onlySelf&&(this._parent.updateValueAndValidity(k),k.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(k){this._parent=k}getRawValue(){return this.value}updateValueAndValidity(k={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===un||this.status===pn)&&this._runAsyncValidator(k.emitEvent)),!1!==k.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!k.onlySelf&&this._parent.updateValueAndValidity(k)}_updateTreeValidity(k={emitEvent:!0}){this._forEachChild(C=>C._updateTreeValidity(k)),this.updateValueAndValidity({onlySelf:!0,emitEvent:k.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?bn:un}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(k){if(this.asyncValidator){this.status=pn,this._hasOwnPendingAsyncValidator=!0;const C=kt(this.asyncValidator(this));this._asyncValidationSubscription=C.subscribe(Q=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Q,{emitEvent:k})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(k,C={}){this.errors=k,this._updateControlsErrors(!1!==C.emitEvent)}get(k){let C=k;return null==C||(Array.isArray(C)||(C=C.split(".")),0===C.length)?null:C.reduce((Q,Ne)=>Q&&Q._find(Ne),this)}getError(k,C){const Q=C?this.get(C):this;return Q&&Q.errors?Q.errors[k]:null}hasError(k,C){return!!this.getError(k,C)}get root(){let k=this;for(;k._parent;)k=k._parent;return k}_updateControlsErrors(k){this.status=this._calculateStatus(),k&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(k)}_initObservables(){this.valueChanges=new n.vpe,this.statusChanges=new n.vpe}_calculateStatus(){return this._allControlsDisabled()?bn:this.errors?nn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(pn)?pn:this._anyControlsHaveStatus(nn)?nn:un}_anyControlsHaveStatus(k){return this._anyControls(C=>C.status===k)}_anyControlsDirty(){return this._anyControls(k=>k.dirty)}_anyControlsTouched(){return this._anyControls(k=>k.touched)}_updatePristine(k={}){this.pristine=!this._anyControlsDirty(),this._parent&&!k.onlySelf&&this._parent._updatePristine(k)}_updateTouched(k={}){this.touched=this._anyControlsTouched(),this._parent&&!k.onlySelf&&this._parent._updateTouched(k)}_registerOnCollectionChange(k){this._onCollectionChange=k}_setUpdateStrategy(k){Ke(k)&&null!=k.updateOn&&(this._updateOn=k.updateOn)}_parentMarkedDirty(k){return!k&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(k){return null}_assignValidators(k){this._rawValidators=Array.isArray(k)?k.slice():k,this._composedValidatorFn=function Tn(O){return Array.isArray(O)?se(O):O||null}(this._rawValidators)}_assignAsyncValidators(k){this._rawAsyncValidators=Array.isArray(k)?k.slice():k,this._composedAsyncValidatorFn=function Nt(O){return Array.isArray(O)?Ce(O):O||null}(this._rawAsyncValidators)}}class ge extends Yt{constructor(k,C,Q){super(In(C),at(Q,C)),this.controls=k,this._initObservables(),this._setUpdateStrategy(C),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(k,C){return this.controls[k]?this.controls[k]:(this.controls[k]=C,C.setParent(this),C._registerOnCollectionChange(this._onCollectionChange),C)}addControl(k,C,Q={}){this.registerControl(k,C),this.updateValueAndValidity({emitEvent:Q.emitEvent}),this._onCollectionChange()}removeControl(k,C={}){this.controls[k]&&this.controls[k]._registerOnCollectionChange(()=>{}),delete this.controls[k],this.updateValueAndValidity({emitEvent:C.emitEvent}),this._onCollectionChange()}setControl(k,C,Q={}){this.controls[k]&&this.controls[k]._registerOnCollectionChange(()=>{}),delete this.controls[k],C&&this.registerControl(k,C),this.updateValueAndValidity({emitEvent:Q.emitEvent}),this._onCollectionChange()}contains(k){return this.controls.hasOwnProperty(k)&&this.controls[k].enabled}setValue(k,C={}){gt(this,0,k),Object.keys(k).forEach(Q=>{mt(this,!0,Q),this.controls[Q].setValue(k[Q],{onlySelf:!0,emitEvent:C.emitEvent})}),this.updateValueAndValidity(C)}patchValue(k,C={}){null!=k&&(Object.keys(k).forEach(Q=>{const Ne=this.controls[Q];Ne&&Ne.patchValue(k[Q],{onlySelf:!0,emitEvent:C.emitEvent})}),this.updateValueAndValidity(C))}reset(k={},C={}){this._forEachChild((Q,Ne)=>{Q.reset(k[Ne],{onlySelf:!0,emitEvent:C.emitEvent})}),this._updatePristine(C),this._updateTouched(C),this.updateValueAndValidity(C)}getRawValue(){return this._reduceChildren({},(k,C,Q)=>(k[Q]=C.getRawValue(),k))}_syncPendingControls(){let k=this._reduceChildren(!1,(C,Q)=>!!Q._syncPendingControls()||C);return k&&this.updateValueAndValidity({onlySelf:!0}),k}_forEachChild(k){Object.keys(this.controls).forEach(C=>{const Q=this.controls[C];Q&&k(Q,C)})}_setUpControls(){this._forEachChild(k=>{k.setParent(this),k._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(k){for(const[C,Q]of Object.entries(this.controls))if(this.contains(C)&&k(Q))return!0;return!1}_reduceValue(){return this._reduceChildren({},(C,Q,Ne)=>((Q.enabled||this.disabled)&&(C[Ne]=Q.value),C))}_reduceChildren(k,C){let Q=k;return this._forEachChild((Ne,tn)=>{Q=C(Q,Ne,tn)}),Q}_allControlsDisabled(){for(const k of Object.keys(this.controls))if(this.controls[k].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(k){return this.controls.hasOwnProperty(k)?this.controls[k]:null}}const ut=new n.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Pe}),Pe="always";function ee(O,k){return[...k.path,O]}function z(O,k,C=Pe){X(O,k),k.valueAccessor.writeValue(O.value),(O.disabled||"always"===C)&&k.valueAccessor.setDisabledState?.(O.disabled),function Oe(O,k){k.valueAccessor.registerOnChange(C=>{O._pendingValue=C,O._pendingChange=!0,O._pendingDirty=!0,"change"===O.updateOn&&Et(O,k)})}(O,k),function Ot(O,k){const C=(Q,Ne)=>{k.valueAccessor.writeValue(Q),Ne&&k.viewToModelUpdate(Q)};O.registerOnChange(C),k._registerOnDestroy(()=>{O._unregisterOnChange(C)})}(O,k),function nt(O,k){k.valueAccessor.registerOnTouched(()=>{O._pendingTouched=!0,"blur"===O.updateOn&&O._pendingChange&&Et(O,k),"submit"!==O.updateOn&&O.markAsTouched()})}(O,k),function he(O,k){if(k.valueAccessor.setDisabledState){const C=Q=>{k.valueAccessor.setDisabledState(Q)};O.registerOnDisabledChange(C),k._registerOnDestroy(()=>{O._unregisterOnDisabledChange(C)})}}(O,k)}function D(O,k,C=!0){const Q=()=>{};k.valueAccessor&&(k.valueAccessor.registerOnChange(Q),k.valueAccessor.registerOnTouched(Q)),ne(O,k),O&&(k._invokeOnDestroyCallbacks(),O._registerOnCollectionChange(()=>{}))}function B(O,k){O.forEach(C=>{C.registerOnValidatorChange&&C.registerOnValidatorChange(k)})}function X(O,k){const C=$(O);null!==k.validator?O.setValidators(G(C,k.validator)):"function"==typeof C&&O.setValidators([C]);const Q=Be(O);null!==k.asyncValidator?O.setAsyncValidators(G(Q,k.asyncValidator)):"function"==typeof Q&&O.setAsyncValidators([Q]);const Ne=()=>O.updateValueAndValidity();B(k._rawValidators,Ne),B(k._rawAsyncValidators,Ne)}function ne(O,k){let C=!1;if(null!==O){if(null!==k.validator){const Ne=$(O);if(Array.isArray(Ne)&&Ne.length>0){const tn=Ne.filter(Dn=>Dn!==k.validator);tn.length!==Ne.length&&(C=!0,O.setValidators(tn))}}if(null!==k.asyncValidator){const Ne=Be(O);if(Array.isArray(Ne)&&Ne.length>0){const tn=Ne.filter(Dn=>Dn!==k.asyncValidator);tn.length!==Ne.length&&(C=!0,O.setAsyncValidators(tn))}}}const Q=()=>{};return B(k._rawValidators,Q),B(k._rawAsyncValidators,Q),C}function Et(O,k){O._pendingDirty&&O.markAsDirty(),O.setValue(O._pendingValue,{emitModelToViewChange:!1}),k.viewToModelUpdate(O._pendingValue),O._pendingChange=!1}function Tt(O,k){X(O,k)}function ei(O,k){if(!O.hasOwnProperty("model"))return!1;const C=O.model;return!!C.isFirstChange()||!Object.is(k,C.currentValue)}function mn(O,k){O._syncPendingControls(),k.forEach(C=>{const Q=C.control;"submit"===Q.updateOn&&Q._pendingChange&&(C.viewToModelUpdate(Q._pendingValue),Q._pendingChange=!1)})}function vn(O,k){if(!k)return null;let C,Q,Ne;return Array.isArray(k),k.forEach(tn=>{tn.constructor===Te?C=tn:function di(O){return Object.getPrototypeOf(O.constructor)===le}(tn)?Q=tn:Ne=tn}),Ne||Q||C||null}const kn={provide:It,useExisting:(0,n.Gpc)(()=>hi)},ti=(()=>Promise.resolve())();let hi=(()=>{class O extends It{constructor(C,Q,Ne){super(),this.callSetDisabledState=Ne,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.vpe,this.form=new ge({},se(C),Ce(Q))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(C){ti.then(()=>{const Q=this._findContainer(C.path);C.control=Q.registerControl(C.name,C.control),z(C.control,C,this.callSetDisabledState),C.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(C)})}getControl(C){return this.form.get(C.path)}removeControl(C){ti.then(()=>{const Q=this._findContainer(C.path);Q&&Q.removeControl(C.name),this._directives.delete(C)})}addFormGroup(C){ti.then(()=>{const Q=this._findContainer(C.path),Ne=new ge({});Tt(Ne,C),Q.registerControl(C.name,Ne),Ne.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(C){ti.then(()=>{const Q=this._findContainer(C.path);Q&&Q.removeControl(C.name)})}getFormGroup(C){return this.form.get(C.path)}updateModel(C,Q){ti.then(()=>{this.form.get(C.path).setValue(Q)})}setValue(C){this.control.setValue(C)}onSubmit(C){return this.submitted=!0,mn(this.form,this._directives),this.ngSubmit.emit(C),"dialog"===C?.target?.method}onReset(){this.resetForm()}resetForm(C=void 0){this.form.reset(C),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(C){return C.pop(),C.length?this.form.get(C):this.form}static#e=this.\u0275fac=function(Q){return new(Q||O)(n.Y36(be,10),n.Y36(ye,10),n.Y36(ut,8))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Q,Ne){1&Q&&n.NdJ("submit",function(Dn){return Ne.onSubmit(Dn)})("reset",function(){return Ne.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n._Bn([kn]),n.qOj]})}return O})();function ai(O,k){const C=O.indexOf(k);C>-1&&O.splice(C,1)}function Kn(O){return"object"==typeof O&&null!==O&&2===Object.keys(O).length&&"value"in O&&"disabled"in O}const mi=class extends Yt{constructor(k=null,C,Q){super(In(C),at(Q,C)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(k),this._setUpdateStrategy(C),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ke(C)&&(C.nonNullable||C.initialValueIsDefault)&&(this.defaultValue=Kn(k)?k.value:k)}setValue(k,C={}){this.value=this._pendingValue=k,this._onChange.length&&!1!==C.emitModelToViewChange&&this._onChange.forEach(Q=>Q(this.value,!1!==C.emitViewToModelChange)),this.updateValueAndValidity(C)}patchValue(k,C={}){this.setValue(k,C)}reset(k=this.defaultValue,C={}){this._applyFormState(k),this.markAsPristine(C),this.markAsUntouched(C),this.setValue(this.value,C),this._pendingChange=!1}_updateValue(){}_anyControls(k){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(k){this._onChange.push(k)}_unregisterOnChange(k){ai(this._onChange,k)}registerOnDisabledChange(k){this._onDisabledChange.push(k)}_unregisterOnDisabledChange(k){ai(this._onDisabledChange,k)}_forEachChild(k){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(k){Kn(k)?(this.value=this._pendingValue=k.value,k.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=k}};let x=(()=>{class O extends It{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return ee(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=function(){let C;return function(Ne){return(C||(C=n.n5z(O)))(Ne||O)}}();static#t=this.\u0275dir=n.lG2({type:O,features:[n.qOj]})}return O})();const gi={provide:Ye,useExisting:(0,n.Gpc)(()=>oi)},yo=(()=>Promise.resolve())();let oi=(()=>{class O extends Ye{constructor(C,Q,Ne,tn,Dn,So){super(),this._changeDetectorRef=Dn,this.callSetDisabledState=So,this.control=new mi,this._registered=!1,this.name="",this.update=new n.vpe,this._parent=C,this._setValidators(Q),this._setAsyncValidators(Ne),this.valueAccessor=vn(0,tn)}ngOnChanges(C){if(this._checkForErrors(),!this._registered||"name"in C){if(this._registered&&(this._checkName(),this.formDirective)){const Q=C.name.previousValue;this.formDirective.removeControl({name:Q,path:this._getPath(Q)})}this._setUpControl()}"isDisabled"in C&&this._updateDisabled(C),ei(C,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(C){this.viewModel=C,this.update.emit(C)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){z(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(C){yo.then(()=>{this.control.setValue(C,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(C){const Q=C.isDisabled.currentValue,Ne=0!==Q&&(0,n.VuI)(Q);yo.then(()=>{Ne&&!this.control.disabled?this.control.disable():!Ne&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(C){return this._parent?ee(C,this._parent):[C]}static#e=this.\u0275fac=function(Q){return new(Q||O)(n.Y36(It,9),n.Y36(be,10),n.Y36(ye,10),n.Y36(ke,10),n.Y36(n.sBO,8),n.Y36(ut,8))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n._Bn([gi]),n.qOj,n.TTD]})}return O})(),xo=(()=>{class O{static#e=this.\u0275fac=function(Q){return new(Q||O)};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return O})();const Jo={provide:ke,useExisting:(0,n.Gpc)(()=>qi),multi:!0};let qi=(()=>{class O extends le{writeValue(C){this.setProperty("value",C??"")}registerOnChange(C){this.onChange=Q=>{C(""==Q?null:parseFloat(Q))}}static#e=this.\u0275fac=function(){let C;return function(Ne){return(C||(C=n.n5z(O)))(Ne||O)}}();static#t=this.\u0275dir=n.lG2({type:O,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Q,Ne){1&Q&&n.NdJ("input",function(Dn){return Ne.onChange(Dn.target.value)})("blur",function(){return Ne.onTouched()})},features:[n._Bn([Jo]),n.qOj]})}return O})(),eo=(()=>{class O{static#e=this.\u0275fac=function(Q){return new(Q||O)};static#t=this.\u0275mod=n.oAB({type:O});static#n=this.\u0275inj=n.cJS({})}return O})();const Bn=new n.OlP("NgModelWithFormControlWarning"),Jn={provide:It,useExisting:(0,n.Gpc)(()=>Vi)};let Vi=(()=>{class O extends It{constructor(C,Q,Ne){super(),this.callSetDisabledState=Ne,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.vpe,this._setValidators(C),this._setAsyncValidators(Q)}ngOnChanges(C){this._checkFormPresent(),C.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ne(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(C){const Q=this.form.get(C.path);return z(Q,C,this.callSetDisabledState),Q.updateValueAndValidity({emitEvent:!1}),this.directives.push(C),Q}getControl(C){return this.form.get(C.path)}removeControl(C){D(C.control||null,C,!1),function ui(O,k){const C=O.indexOf(k);C>-1&&O.splice(C,1)}(this.directives,C)}addFormGroup(C){this._setUpFormContainer(C)}removeFormGroup(C){this._cleanUpFormContainer(C)}getFormGroup(C){return this.form.get(C.path)}addFormArray(C){this._setUpFormContainer(C)}removeFormArray(C){this._cleanUpFormContainer(C)}getFormArray(C){return this.form.get(C.path)}updateModel(C,Q){this.form.get(C.path).setValue(Q)}onSubmit(C){return this.submitted=!0,mn(this.form,this.directives),this.ngSubmit.emit(C),"dialog"===C?.target?.method}onReset(){this.resetForm()}resetForm(C=void 0){this.form.reset(C),this.submitted=!1}_updateDomValue(){this.directives.forEach(C=>{const Q=C.control,Ne=this.form.get(C.path);Q!==Ne&&(D(Q||null,C),(O=>O instanceof mi)(Ne)&&(z(Ne,C,this.callSetDisabledState),C.control=Ne))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(C){const Q=this.form.get(C.path);Tt(Q,C),Q.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(C){if(this.form){const Q=this.form.get(C.path);Q&&function $t(O,k){return ne(O,k)}(Q,C)&&Q.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){X(this.form,this),this._oldForm&&ne(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(Q){return new(Q||O)(n.Y36(be,10),n.Y36(ye,10),n.Y36(ut,8))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["","formGroup",""]],hostBindings:function(Q,Ne){1&Q&&n.NdJ("submit",function(Dn){return Ne.onSubmit(Dn)})("reset",function(){return Ne.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n._Bn([Jn]),n.qOj,n.TTD]})}return O})();const wo={provide:It,useExisting:(0,n.Gpc)(()=>Ii)};let Ii=(()=>{class O extends x{constructor(C,Q,Ne){super(),this.name=null,this._parent=C,this._setValidators(Q),this._setAsyncValidators(Ne)}_checkParentType(){j(this._parent)}static#e=this.\u0275fac=function(Q){return new(Q||O)(n.Y36(It,13),n.Y36(be,10),n.Y36(ye,10))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[n._Bn([wo]),n.qOj]})}return O})();const Wi={provide:It,useExisting:(0,n.Gpc)(()=>b)};let b=(()=>{class O extends It{constructor(C,Q,Ne){super(),this.name=null,this._parent=C,this._setValidators(Q),this._setAsyncValidators(Ne)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return ee(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){j(this._parent)}static#e=this.\u0275fac=function(Q){return new(Q||O)(n.Y36(It,13),n.Y36(be,10),n.Y36(ye,10))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[n._Bn([Wi]),n.qOj]})}return O})();function j(O){return!(O instanceof Ii||O instanceof Vi||O instanceof b)}const h={provide:Ye,useExisting:(0,n.Gpc)(()=>M)};let M=(()=>{class O extends Ye{set isDisabled(C){}static#e=this._ngModelWarningSentOnce=!1;constructor(C,Q,Ne,tn,Dn){super(),this._ngModelWarningConfig=Dn,this._added=!1,this.name=null,this.update=new n.vpe,this._ngModelWarningSent=!1,this._parent=C,this._setValidators(Q),this._setAsyncValidators(Ne),this.valueAccessor=vn(0,tn)}ngOnChanges(C){this._added||this._setUpControl(),ei(C,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(C){this.viewModel=C,this.update.emit(C)}get path(){return ee(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(Q){return new(Q||O)(n.Y36(It,13),n.Y36(be,10),n.Y36(ye,10),n.Y36(ke,10),n.Y36(Bn,8))};static#n=this.\u0275dir=n.lG2({type:O,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n._Bn([h]),n.qOj,n.TTD]})}return O})();function Yn(O){return"number"==typeof O?O:parseFloat(O)}let Hi=(()=>{class O{constructor(){this._validator=Dt}ngOnChanges(C){if(this.inputName in C){const Q=this.normalizeInput(C[this.inputName].currentValue);this._enabled=this.enabled(Q),this._validator=this._enabled?this.createValidator(Q):Dt,this._onChange&&this._onChange()}}validate(C){return this._validator(C)}registerOnValidatorChange(C){this._onChange=C}enabled(C){return null!=C}static#e=this.\u0275fac=function(Q){return new(Q||O)};static#t=this.\u0275dir=n.lG2({type:O,features:[n.TTD]})}return O})();const Lo={provide:be,useExisting:(0,n.Gpc)(()=>Ai),multi:!0};let Ai=(()=>{class O extends Hi{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=C=>Yn(C),this.createValidator=C=>xe(C)}static#e=this.\u0275fac=function(){let C;return function(Ne){return(C||(C=n.n5z(O)))(Ne||O)}}();static#t=this.\u0275dir=n.lG2({type:O,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(Q,Ne){2&Q&&n.uIk("max",Ne._enabled?Ne.max:null)},inputs:{max:"max"},features:[n._Bn([Lo]),n.qOj]})}return O})();const Bo={provide:be,useExisting:(0,n.Gpc)(()=>Xo),multi:!0};let Xo=(()=>{class O extends Hi{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=C=>Yn(C),this.createValidator=C=>H(C)}static#e=this.\u0275fac=function(){let C;return function(Ne){return(C||(C=n.n5z(O)))(Ne||O)}}();static#t=this.\u0275dir=n.lG2({type:O,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(Q,Ne){2&Q&&n.uIk("min",Ne._enabled?Ne.min:null)},inputs:{min:"min"},features:[n._Bn([Bo]),n.qOj]})}return O})();const Do={provide:be,useExisting:(0,n.Gpc)(()=>qo),multi:!0},co={provide:be,useExisting:(0,n.Gpc)(()=>uo),multi:!0};let qo=(()=>{class O extends Hi{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.VuI,this.createValidator=C=>oe}enabled(C){return C}static#e=this.\u0275fac=function(){let C;return function(Ne){return(C||(C=n.n5z(O)))(Ne||O)}}();static#t=this.\u0275dir=n.lG2({type:O,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Q,Ne){2&Q&&n.uIk("required",Ne._enabled?"":null)},inputs:{required:"required"},features:[n._Bn([Do]),n.qOj]})}return O})(),uo=(()=>{class O extends qo{constructor(){super(...arguments),this.createValidator=C=>Ie}static#e=this.\u0275fac=function(){let C;return function(Ne){return(C||(C=n.n5z(O)))(Ne||O)}}();static#t=this.\u0275dir=n.lG2({type:O,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(Q,Ne){2&Q&&n.uIk("required",Ne._enabled?"":null)},features:[n._Bn([co]),n.qOj]})}return O})(),_i=(()=>{class O{static#e=this.\u0275fac=function(Q){return new(Q||O)};static#t=this.\u0275mod=n.oAB({type:O});static#n=this.\u0275inj=n.cJS({imports:[eo]})}return O})();class er extends Yt{constructor(k,C,Q){super(In(C),at(Q,C)),this.controls=k,this._initObservables(),this._setUpdateStrategy(C),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(k){return this.controls[this._adjustIndex(k)]}push(k,C={}){this.controls.push(k),this._registerControl(k),this.updateValueAndValidity({emitEvent:C.emitEvent}),this._onCollectionChange()}insert(k,C,Q={}){this.controls.splice(k,0,C),this._registerControl(C),this.updateValueAndValidity({emitEvent:Q.emitEvent})}removeAt(k,C={}){let Q=this._adjustIndex(k);Q<0&&(Q=0),this.controls[Q]&&this.controls[Q]._registerOnCollectionChange(()=>{}),this.controls.splice(Q,1),this.updateValueAndValidity({emitEvent:C.emitEvent})}setControl(k,C,Q={}){let Ne=this._adjustIndex(k);Ne<0&&(Ne=0),this.controls[Ne]&&this.controls[Ne]._registerOnCollectionChange(()=>{}),this.controls.splice(Ne,1),C&&(this.controls.splice(Ne,0,C),this._registerControl(C)),this.updateValueAndValidity({emitEvent:Q.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(k,C={}){gt(this,0,k),k.forEach((Q,Ne)=>{mt(this,!1,Ne),this.at(Ne).setValue(Q,{onlySelf:!0,emitEvent:C.emitEvent})}),this.updateValueAndValidity(C)}patchValue(k,C={}){null!=k&&(k.forEach((Q,Ne)=>{this.at(Ne)&&this.at(Ne).patchValue(Q,{onlySelf:!0,emitEvent:C.emitEvent})}),this.updateValueAndValidity(C))}reset(k=[],C={}){this._forEachChild((Q,Ne)=>{Q.reset(k[Ne],{onlySelf:!0,emitEvent:C.emitEvent})}),this._updatePristine(C),this._updateTouched(C),this.updateValueAndValidity(C)}getRawValue(){return this.controls.map(k=>k.getRawValue())}clear(k={}){this.controls.length<1||(this._forEachChild(C=>C._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:k.emitEvent}))}_adjustIndex(k){return k<0?k+this.length:k}_syncPendingControls(){let k=this.controls.reduce((C,Q)=>!!Q._syncPendingControls()||C,!1);return k&&this.updateValueAndValidity({onlySelf:!0}),k}_forEachChild(k){this.controls.forEach((C,Q)=>{k(C,Q)})}_updateValue(){this.value=this.controls.filter(k=>k.enabled||this.disabled).map(k=>k.value)}_anyControls(k){return this.controls.some(C=>C.enabled&&k(C))}_setUpControls(){this._forEachChild(k=>this._registerControl(k))}_allControlsDisabled(){for(const k of this.controls)if(k.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(k){k.setParent(this),k._registerOnCollectionChange(this._onCollectionChange)}_find(k){return this.at(k)??null}}let mr=(()=>{class O{static withConfig(C){return{ngModule:O,providers:[{provide:ut,useValue:C.callSetDisabledState??Pe}]}}static#e=this.\u0275fac=function(Q){return new(Q||O)};static#t=this.\u0275mod=n.oAB({type:O});static#n=this.\u0275inj=n.cJS({imports:[_i]})}return O})(),tr=(()=>{class O{static withConfig(C){return{ngModule:O,providers:[{provide:Bn,useValue:C.warnOnNgModelWithFormControl??"always"},{provide:ut,useValue:C.callSetDisabledState??Pe}]}}static#e=this.\u0275fac=function(Q){return new(Q||O)};static#t=this.\u0275mod=n.oAB({type:O});static#n=this.\u0275inj=n.cJS({imports:[_i]})}return O})()},9488:(Mt,je,g)=>{g.d(je,{A9:()=>Te,Yi:()=>Ue,vV:()=>be});var n=g(4191),l=g(2495),R=g(8337),S=g(5879),te=g(6223),Se=g(3680);const le=["button"],ke=["*"],ue=new S.OlP("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),ie=new S.OlP("MatButtonToggleGroup"),we={provide:te.JU,useExisting:(0,S.Gpc)(()=>Te),multi:!0};let fe=0;class me{constructor(Je,ve){this.source=Je,this.value=ve}}let Te=(()=>{class ye{get name(){return this._name}set name(ve){this._name=ve,this._markButtonsForCheck()}get vertical(){return this._vertical}set vertical(ve){this._vertical=(0,l.Ig)(ve)}get value(){const ve=this._selectionModel?this._selectionModel.selected:[];return this.multiple?ve.map(H=>H.value):ve[0]?ve[0].value:void 0}set value(ve){this._setSelectionByValue(ve),this.valueChange.emit(this.value)}get selected(){const ve=this._selectionModel?this._selectionModel.selected:[];return this.multiple?ve:ve[0]||null}get multiple(){return this._multiple}set multiple(ve){this._multiple=(0,l.Ig)(ve),this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(ve){this._disabled=(0,l.Ig)(ve),this._markButtonsForCheck()}constructor(ve,H){this._changeDetector=ve,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name="mat-button-toggle-group-"+fe++,this.valueChange=new S.vpe,this.change=new S.vpe,this.appearance=H&&H.appearance?H.appearance:"standard"}ngOnInit(){this._selectionModel=new R.Ov(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(ve=>ve.checked))}writeValue(ve){this.value=ve,this._changeDetector.markForCheck()}registerOnChange(ve){this._controlValueAccessorChangeFn=ve}registerOnTouched(ve){this._onTouched=ve}setDisabledState(ve){this.disabled=ve}_emitChangeEvent(ve){const H=new me(ve,this.value);this._rawValue=H.value,this._controlValueAccessorChangeFn(H.value),this.change.emit(H)}_syncButtonToggle(ve,H,xe=!1,oe=!1){!this.multiple&&this.selected&&!ve.checked&&(this.selected.checked=!1),this._selectionModel?H?this._selectionModel.select(ve):this._selectionModel.deselect(ve):oe=!0,oe?Promise.resolve().then(()=>this._updateModelValue(ve,xe)):this._updateModelValue(ve,xe)}_isSelected(ve){return this._selectionModel&&this._selectionModel.isSelected(ve)}_isPrechecked(ve){return!(typeof this._rawValue>"u")&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(H=>null!=ve.value&&H===ve.value):ve.value===this._rawValue)}_setSelectionByValue(ve){this._rawValue=ve,this._buttonToggles&&(this.multiple&&ve?(Array.isArray(ve),this._clearSelection(),ve.forEach(H=>this._selectValue(H))):(this._clearSelection(),this._selectValue(ve)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(ve=>ve.checked=!1)}_selectValue(ve){const H=this._buttonToggles.find(xe=>null!=xe.value&&xe.value===ve);H&&(H.checked=!0,this._selectionModel.select(H))}_updateModelValue(ve,H){H&&this._emitChangeEvent(ve),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(ve=>ve._markForCheck())}static#e=this.\u0275fac=function(H){return new(H||ye)(S.Y36(S.sBO),S.Y36(ue,8))};static#t=this.\u0275dir=S.lG2({type:ye,selectors:[["mat-button-toggle-group"]],contentQueries:function(H,xe,oe){if(1&H&&S.Suo(oe,Ue,5),2&H){let Ie;S.iGM(Ie=S.CRH())&&(xe._buttonToggles=Ie)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(H,xe){2&H&&(S.uIk("aria-disabled",xe.disabled),S.ekj("mat-button-toggle-vertical",xe.vertical)("mat-button-toggle-group-appearance-standard","standard"===xe.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[S._Bn([we,{provide:ie,useExisting:ye}])]})}return ye})();const Le=(0,Se.Kr)(class{});let Ue=(()=>{class ye extends Le{get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(ve){this._appearance=ve}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(ve){const H=(0,l.Ig)(ve);H!==this._checked&&(this._checked=H,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(ve){this._disabled=(0,l.Ig)(ve)}constructor(ve,H,xe,oe,Ie,Re){super(),this._changeDetectorRef=H,this._elementRef=xe,this._focusMonitor=oe,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new S.vpe;const $e=Number(Ie);this.tabIndex=$e||0===$e?$e:null,this.buttonToggleGroup=ve,this.appearance=Re&&Re.appearance?Re.appearance:"standard"}ngOnInit(){const ve=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+fe++,ve&&(ve._isPrechecked(this)?this.checked=!0:ve._isSelected(this)!==this._checked&&ve._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const ve=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),ve&&ve._isSelected(this)&&ve._syncButtonToggle(this,!1,!1,!0)}focus(ve){this._buttonElement.nativeElement.focus(ve)}_onButtonClick(){const ve=!!this._isSingleSelector()||!this._checked;ve!==this._checked&&(this._checked=ve,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new me(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null}_isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}static#e=this.\u0275fac=function(H){return new(H||ye)(S.Y36(ie,8),S.Y36(S.sBO),S.Y36(S.SBq),S.Y36(n.tE),S.$8M("tabindex"),S.Y36(ue,8))};static#t=this.\u0275cmp=S.Xpm({type:ye,selectors:[["mat-button-toggle"]],viewQuery:function(H,xe){if(1&H&&S.Gf(le,5),2&H){let oe;S.iGM(oe=S.CRH())&&(xe._buttonElement=oe.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(H,xe){1&H&&S.NdJ("focus",function(){return xe.focus()}),2&H&&(S.uIk("aria-label",null)("aria-labelledby",null)("id",xe.id)("name",null),S.ekj("mat-button-toggle-standalone",!xe.buttonToggleGroup)("mat-button-toggle-checked",xe.checked)("mat-button-toggle-disabled",xe.disabled)("mat-button-toggle-appearance-standard","standard"===xe.appearance))},inputs:{disableRipple:"disableRipple",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[S.qOj],ngContentSelectors:ke,decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(H,xe){if(1&H&&(S.F$t(),S.TgZ(0,"button",0,1),S.NdJ("click",function(){return xe._onButtonClick()}),S.TgZ(2,"span",2),S.Hsn(3),S.qZA()(),S._UZ(4,"span",3)(5,"span",4)),2&H){const oe=S.MAs(1);S.Q6J("id",xe.buttonId)("disabled",xe.disabled||null),S.uIk("tabindex",xe.disabled?-1:xe.tabIndex)("aria-pressed",xe.checked)("name",xe._getButtonName())("aria-label",xe.ariaLabel)("aria-labelledby",xe.ariaLabelledby),S.xp6(5),S.Q6J("matRippleTrigger",oe)("matRippleDisabled",xe.disableRipple||xe.disabled)}},dependencies:[Se.wG],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{--mat-legacy-button-toggle-height:36px;--mat-legacy-button-toggle-shape:2px;--mat-legacy-button-toggle-focus-state-layer-opacity:1;position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0);border-radius:var(--mat-legacy-button-toggle-shape)}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{--mat-standard-button-toggle-shape:4px;--mat-standard-button-toggle-hover-state-layer-opacity:0.04;--mat-standard-button-toggle-focus-state-layer-opacity:0.12;border-radius:var(--mat-standard-button-toggle-shape);border:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative;color:var(--mat-legacy-button-toggle-text-color);font-family:var(--mat-legacy-button-toggle-text-font)}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-legacy-button-toggle-focus-state-layer-opacity)}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle-checked{color:var(--mat-legacy-button-toggle-selected-state-text-color);background-color:var(--mat-legacy-button-toggle-selected-state-background-color)}.mat-button-toggle-disabled{color:var(--mat-legacy-button-toggle-disabled-state-text-color);background-color:var(--mat-legacy-button-toggle-disabled-state-background-color)}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:var(--mat-legacy-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-appearance-standard{--mat-standard-button-toggle-shape:4px;--mat-standard-button-toggle-hover-state-layer-opacity:0.04;--mat-standard-button-toggle-focus-state-layer-opacity:0.12;color:var(--mat-standard-button-toggle-text-color);background-color:var(--mat-standard-button-toggle-background-color);font-family:var(--mat-standard-button-toggle-text-font)}.mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:solid 1px var(--mat-standard-button-toggle-divider-color)}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:none;border-top:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-selected-state-text-color);background-color:var(--mat-standard-button-toggle-selected-state-background-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled{color:var(--mat-standard-button-toggle-disabled-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-state-background-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-disabled-selected-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:var(--mat-standard-button-toggle-state-layer-color)}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-hover-state-layer-opacity)}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-focus-state-layer-opacity)}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;padding:0 16px;line-height:var(--mat-legacy-button-toggle-height);position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px;line-height:var(--mat-standard-button-toggle-height)}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0;background-color:var(--mat-legacy-button-toggle-state-layer-color)}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 500px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}"],encapsulation:2,changeDetection:0})}return ye})(),be=(()=>{class ye{static#e=this.\u0275fac=function(H){return new(H||ye)};static#t=this.\u0275mod=S.oAB({type:ye});static#n=this.\u0275inj=S.cJS({imports:[Se.BQ,Se.si,Se.BQ]})}return ye})()},2296:(Mt,je,g)=>{g.d(je,{RK:()=>W,o6:()=>P,ot:()=>se});var n=g(2831),l=g(5879),R=g(4191),S=g(2495),te=g(3680);const le=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],ke=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],ie=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",Te=["mat-icon-button",""],Le=["*"],Je=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],ve=(0,te.pj)((0,te.Id)((0,te.Kr)(class{constructor(L){this._elementRef=L}})));let H=(()=>{class L extends ve{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(G){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,G)}get disableRipple(){return this._disableRipple}set disableRipple(G){this._disableRipple=(0,S.Ig)(G),this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(G){this._disabled=(0,S.Ig)(G),this._updateRippleDisabled()}constructor(G,$,Be,ae){super(G),this._platform=$,this._ngZone=Be,this._animationMode=ae,this._focusMonitor=(0,l.f3M)(R.tE),this._rippleLoader=(0,l.f3M)(te.Fq),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const He=G.nativeElement.classList;for(const Ze of Je)this._hasHostAttributes(Ze.selector)&&Ze.mdcClasses.forEach(it=>{He.add(it)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(G="program",$){G?this._focusMonitor.focusVia(this._elementRef.nativeElement,G,$):this._elementRef.nativeElement.focus($)}_hasHostAttributes(...G){return G.some($=>this._elementRef.nativeElement.hasAttribute($))}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function($){l.$Z()};static#t=this.\u0275dir=l.lG2({type:L,features:[l.qOj]})}return L})(),Ie=(()=>{class L extends H{constructor(G,$,Be,ae){super(G,$,Be,ae),this._haltDisabledEvents=He=>{this.disabled&&(He.preventDefault(),He.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}static#e=this.\u0275fac=function($){l.$Z()};static#t=this.\u0275dir=l.lG2({type:L,features:[l.qOj]})}return L})(),W=(()=>{class L extends H{constructor(G,$,Be,ae){super(G,$,Be,ae),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function($){return new($||L)(l.Y36(l.SBq),l.Y36(n.t4),l.Y36(l.R0b),l.Y36(l.QbO,8))};static#t=this.\u0275cmp=l.Xpm({type:L,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function($,Be){2&$&&(l.uIk("disabled",Be.disabled||null),l.ekj("_mat-animation-noopable","NoopAnimations"===Be._animationMode)("mat-unthemed",!Be.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[l.qOj],attrs:Te,ngContentSelectors:Le,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function($,Be){1&$&&(l.F$t(),l._UZ(0,"span",0),l.Hsn(1),l._UZ(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',ie],encapsulation:2,changeDetection:0})}return L})(),P=(()=>{class L extends Ie{constructor(G,$,Be,ae){super(G,$,Be,ae)}static#e=this.\u0275fac=function($){return new($||L)(l.Y36(l.SBq),l.Y36(n.t4),l.Y36(l.R0b),l.Y36(l.QbO,8))};static#t=this.\u0275cmp=l.Xpm({type:L,selectors:[["a","mat-icon-button",""]],hostVars:9,hostBindings:function($,Be){2&$&&(l.uIk("disabled",Be.disabled||null)("tabindex",Be.disabled?-1:Be.tabIndex)("aria-disabled",Be.disabled.toString()),l.ekj("_mat-animation-noopable","NoopAnimations"===Be._animationMode)("mat-unthemed",!Be.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[l.qOj],attrs:Te,ngContentSelectors:ke,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function($,Be){1&$&&(l.F$t(le),l._UZ(0,"span",0),l.Hsn(1),l.TgZ(2,"span",1),l.Hsn(3,1),l.qZA(),l.Hsn(4,2),l._UZ(5,"span",2)(6,"span",3)),2&$&&l.ekj("mdc-button__ripple",!Be._isFab)("mdc-fab__ripple",Be._isFab)},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',ie],encapsulation:2,changeDetection:0})}return L})(),se=(()=>{class L{static#e=this.\u0275fac=function($){return new($||L)};static#t=this.\u0275mod=l.oAB({type:L});static#n=this.\u0275inj=l.cJS({imports:[te.BQ,te.si,te.BQ]})}return L})()},3680:(Mt,je,g)=>{g.d(je,{rD:()=>He,K7:()=>Bt,HF:()=>st,Y2:()=>et,BQ:()=>oe,ey:()=>nn,Ng:()=>In,wG:()=>Z,Fq:()=>Yt,si:()=>ce,CB:()=>pn,jH:()=>bn,pj:()=>bt,Kr:()=>Dt,Id:()=>ft,FD:()=>kt,sb:()=>Ut});var n=g(5879),l=g(4191),R=g(9388),te=g(6814),Se=g(2831),le=g(2495),ke=g(8645),ue=g(6028);const fe=["text"];function me(ge,J){if(1&ge&&n._UZ(0,"mat-pseudo-checkbox",6),2&ge){const I=n.oxw();n.Q6J("disabled",I.disabled)("state",I.selected?"checked":"unchecked")}}function Te(ge,J){if(1&ge&&n._UZ(0,"mat-pseudo-checkbox",7),2&ge){const I=n.oxw();n.Q6J("disabled",I.disabled)}}function Le(ge,J){if(1&ge&&(n.TgZ(0,"span",8),n._uU(1),n.qZA()),2&ge){const I=n.oxw();n.xp6(1),n.hij("(",I.group.label,")")}}const Ue=[[["mat-icon"]],"*"],be=["mat-icon","*"],xe=new n.OlP("mat-sanity-checks",{providedIn:"root",factory:function H(){return!0}});let oe=(()=>{class ge{constructor(I,Y,Ae){this._sanityChecks=Y,this._document=Ae,this._hasDoneGlobalChecks=!1,I._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(I){return!(0,Se.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[I])}static#e=this.\u0275fac=function(Y){return new(Y||ge)(n.LFG(l.qm),n.LFG(xe,8),n.LFG(te.K0))};static#t=this.\u0275mod=n.oAB({type:ge});static#n=this.\u0275inj=n.cJS({imports:[R.vT,R.vT]})}return ge})();function ft(ge){return class extends ge{get disabled(){return this._disabled}set disabled(J){this._disabled=(0,le.Ig)(J)}constructor(...J){super(...J),this._disabled=!1}}}function bt(ge,J){return class extends ge{get color(){return this._color}set color(I){const Y=I||this.defaultColor;Y!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),Y&&this._elementRef.nativeElement.classList.add(`mat-${Y}`),this._color=Y)}constructor(...I){super(...I),this.defaultColor=J,this.color=J}}}function Dt(ge){return class extends ge{get disableRipple(){return this._disableRipple}set disableRipple(J){this._disableRipple=(0,le.Ig)(J)}constructor(...J){super(...J),this._disableRipple=!1}}}function Ut(ge,J=0){return class extends ge{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(I){this._tabIndex=null!=I?(0,le.su)(I):this.defaultTabIndex}constructor(...I){super(...I),this._tabIndex=J,this.defaultTabIndex=J}}}function kt(ge){return class extends ge{updateErrorState(){const J=this.errorState,ut=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);ut!==J&&(this.errorState=ut,this.stateChanges.next())}constructor(...J){super(...J),this.errorState=!1}}}let He=(()=>{class ge{isErrorState(I,Y){return!!(I&&I.invalid&&(I.touched||Y&&Y.submitted))}static#e=this.\u0275fac=function(Y){return new(Y||ge)};static#t=this.\u0275prov=n.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"})}return ge})();class Ye{constructor(J,I,Y,Ae=!1){this._renderer=J,this.element=I,this.config=Y,this._animationForciblyDisabledThroughCss=Ae,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const ct=(0,Se.i$)({passive:!0,capture:!0});class Ee{constructor(){this._events=new Map,this._delegateEventHandler=J=>{const I=(0,Se.sA)(J);I&&this._events.get(J.type)?.forEach((Y,Ae)=>{(Ae===I||Ae.contains(I))&&Y.forEach(ut=>ut.handleEvent(J))})}}addHandler(J,I,Y,Ae){const ut=this._events.get(I);if(ut){const Pe=ut.get(Y);Pe?Pe.add(Ae):ut.set(Y,new Set([Ae]))}else this._events.set(I,new Map([[Y,new Set([Ae])]])),J.runOutsideAngular(()=>{document.addEventListener(I,this._delegateEventHandler,ct)})}removeHandler(J,I,Y){const Ae=this._events.get(J);if(!Ae)return;const ut=Ae.get(I);ut&&(ut.delete(Y),0===ut.size&&Ae.delete(I),0===Ae.size&&(this._events.delete(J),document.removeEventListener(J,this._delegateEventHandler,ct)))}}const tt={enterDuration:225,exitDuration:150},jt=(0,Se.i$)({passive:!0,capture:!0}),Gt=["mousedown","touchstart"],cn=["mouseup","mouseleave","touchend","touchcancel"];class Lt{static#e=this._eventManager=new Ee;constructor(J,I,Y,Ae){this._target=J,this._ngZone=I,this._platform=Ae,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,Ae.isBrowser&&(this._containerElement=(0,le.fI)(Y))}fadeInRipple(J,I,Y={}){const Ae=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),ut={...tt,...Y.animation};Y.centered&&(J=Ae.left+Ae.width/2,I=Ae.top+Ae.height/2);const Pe=Y.radius||function yn(ge,J,I){const Y=Math.max(Math.abs(ge-I.left),Math.abs(ge-I.right)),Ae=Math.max(Math.abs(J-I.top),Math.abs(J-I.bottom));return Math.sqrt(Y*Y+Ae*Ae)}(J,I,Ae),ee=J-Ae.left,z=I-Ae.top,D=ut.enterDuration,B=document.createElement("div");B.classList.add("mat-ripple-element"),B.style.left=ee-Pe+"px",B.style.top=z-Pe+"px",B.style.height=2*Pe+"px",B.style.width=2*Pe+"px",null!=Y.color&&(B.style.backgroundColor=Y.color),B.style.transitionDuration=`${D}ms`,this._containerElement.appendChild(B);const he=window.getComputedStyle(B),ne=he.transitionDuration,Oe="none"===he.transitionProperty||"0s"===ne||"0s, 0s"===ne||0===Ae.width&&0===Ae.height,nt=new Ye(this,B,Y,Oe);B.style.transform="scale3d(1, 1, 1)",nt.state=0,Y.persistent||(this._mostRecentTransientRipple=nt);let Et=null;return!Oe&&(D||ut.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Ot=()=>this._finishRippleTransition(nt),Tt=()=>this._destroyRipple(nt);B.addEventListener("transitionend",Ot),B.addEventListener("transitioncancel",Tt),Et={onTransitionEnd:Ot,onTransitionCancel:Tt}}),this._activeRipples.set(nt,Et),(Oe||!D)&&this._finishRippleTransition(nt),nt}fadeOutRipple(J){if(2===J.state||3===J.state)return;const I=J.element,Y={...tt,...J.config.animation};I.style.transitionDuration=`${Y.exitDuration}ms`,I.style.opacity="0",J.state=2,(J._animationForciblyDisabledThroughCss||!Y.exitDuration)&&this._finishRippleTransition(J)}fadeOutAll(){this._getActiveRipples().forEach(J=>J.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(J=>{J.config.persistent||J.fadeOut()})}setupTriggerEvents(J){const I=(0,le.fI)(J);!this._platform.isBrowser||!I||I===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=I,Gt.forEach(Y=>{Lt._eventManager.addHandler(this._ngZone,Y,I,this)}))}handleEvent(J){"mousedown"===J.type?this._onMousedown(J):"touchstart"===J.type?this._onTouchStart(J):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{cn.forEach(I=>{this._triggerElement.addEventListener(I,this,jt)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(J){0===J.state?this._startFadeOutTransition(J):2===J.state&&this._destroyRipple(J)}_startFadeOutTransition(J){const I=J===this._mostRecentTransientRipple,{persistent:Y}=J.config;J.state=1,!Y&&(!I||!this._isPointerDown)&&J.fadeOut()}_destroyRipple(J){const I=this._activeRipples.get(J)??null;this._activeRipples.delete(J),this._activeRipples.size||(this._containerRect=null),J===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),J.state=3,null!==I&&(J.element.removeEventListener("transitionend",I.onTransitionEnd),J.element.removeEventListener("transitioncancel",I.onTransitionCancel)),J.element.remove()}_onMousedown(J){const I=(0,l.X6)(J),Y=this._lastTouchStartEvent&&Date.now(){!J.config.persistent&&(1===J.state||J.config.terminateOnPointerUp&&0===J.state)&&J.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const J=this._triggerElement;J&&(Gt.forEach(I=>Lt._eventManager.removeHandler(I,J,this)),this._pointerUpEventsRegistered&&cn.forEach(I=>J.removeEventListener(I,this,jt)))}}const et=new n.OlP("mat-ripple-global-options");let Z=(()=>{class ge{get disabled(){return this._disabled}set disabled(I){I&&this.fadeOutAllNonPersistent(),this._disabled=I,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(I){this._trigger=I,this._setupTriggerEventsIfEnabled()}constructor(I,Y,Ae,ut,Pe){this._elementRef=I,this._animationMode=Pe,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=ut||{},this._rippleRenderer=new Lt(this,Y,I,Ae)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(I,Y=0,Ae){return"number"==typeof I?this._rippleRenderer.fadeInRipple(I,Y,{...this.rippleConfig,...Ae}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...I})}static#e=this.\u0275fac=function(Y){return new(Y||ge)(n.Y36(n.SBq),n.Y36(n.R0b),n.Y36(Se.t4),n.Y36(et,8),n.Y36(n.QbO,8))};static#t=this.\u0275dir=n.lG2({type:ge,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(Y,Ae){2&Y&&n.ekj("mat-ripple-unbounded",Ae.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return ge})(),ce=(()=>{class ge{static#e=this.\u0275fac=function(Y){return new(Y||ge)};static#t=this.\u0275mod=n.oAB({type:ge});static#n=this.\u0275inj=n.cJS({imports:[oe,oe]})}return ge})(),Fe=(()=>{class ge{constructor(I){this._animationMode=I,this.state="unchecked",this.disabled=!1,this.appearance="full"}static#e=this.\u0275fac=function(Y){return new(Y||ge)(n.Y36(n.QbO,8))};static#t=this.\u0275cmp=n.Xpm({type:ge,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(Y,Ae){2&Y&&n.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===Ae.state)("mat-pseudo-checkbox-checked","checked"===Ae.state)("mat-pseudo-checkbox-disabled",Ae.disabled)("mat-pseudo-checkbox-minimal","minimal"===Ae.appearance)("mat-pseudo-checkbox-full","full"===Ae.appearance)("_mat-animation-noopable","NoopAnimations"===Ae._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(Y,Ae){},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-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.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}'],encapsulation:2,changeDetection:0})}return ge})(),ot=(()=>{class ge{static#e=this.\u0275fac=function(Y){return new(Y||ge)};static#t=this.\u0275mod=n.oAB({type:ge});static#n=this.\u0275inj=n.cJS({imports:[oe]})}return ge})();const st=new n.OlP("MAT_OPTION_PARENT_COMPONENT"),Bt=new n.OlP("MatOptgroup");let Ft=0;class Cn{constructor(J,I=!1){this.source=J,this.isUserInput=I}}let un=(()=>{class ge{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(I){this._disabled=(0,le.Ig)(I)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(I,Y,Ae,ut){this._element=I,this._changeDetectorRef=Y,this._parent=Ae,this.group=ut,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Ft++,this.onSelectionChange=new n.vpe,this._stateChanges=new ke.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(I=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),I&&this._emitSelectionChangeEvent())}deselect(I=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),I&&this._emitSelectionChangeEvent())}focus(I,Y){const Ae=this._getHostElement();"function"==typeof Ae.focus&&Ae.focus(Y)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(I){(I.keyCode===ue.K5||I.keyCode===ue.L_)&&!(0,ue.Vb)(I)&&(this._selectViaInteraction(),I.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const I=this.viewValue;I!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=I)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(I=!1){this.onSelectionChange.emit(new Cn(this,I))}static#e=this.\u0275fac=function(Y){n.$Z()};static#t=this.\u0275dir=n.lG2({type:ge,viewQuery:function(Y,Ae){if(1&Y&&n.Gf(fe,7),2&Y){let ut;n.iGM(ut=n.CRH())&&(Ae._text=ut.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}})}return ge})(),nn=(()=>{class ge extends un{constructor(I,Y,Ae,ut){super(I,Y,Ae,ut)}static#e=this.\u0275fac=function(Y){return new(Y||ge)(n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(st,8),n.Y36(Bt,8))};static#t=this.\u0275cmp=n.Xpm({type:ge,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(Y,Ae){1&Y&&n.NdJ("click",function(){return Ae._selectViaInteraction()})("keydown",function(Pe){return Ae._handleKeydown(Pe)}),2&Y&&(n.Ikx("id",Ae.id),n.uIk("aria-selected",Ae.selected)("aria-disabled",Ae.disabled.toString()),n.ekj("mdc-list-item--selected",Ae.selected)("mat-mdc-option-multiple",Ae.multiple)("mat-mdc-option-active",Ae.active)("mdc-list-item--disabled",Ae.disabled))},exportAs:["matOption"],features:[n.qOj],ngContentSelectors:be,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(Y,Ae){1&Y&&(n.F$t(Ue),n.YNc(0,me,1,2,"mat-pseudo-checkbox",0),n.Hsn(1),n.TgZ(2,"span",1,2),n.Hsn(4,1),n.qZA(),n.YNc(5,Te,1,1,"mat-pseudo-checkbox",3),n.YNc(6,Le,2,1,"span",4),n._UZ(7,"div",5)),2&Y&&(n.Q6J("ngIf",Ae.multiple),n.xp6(5),n.Q6J("ngIf",!Ae.multiple&&Ae.selected&&!Ae.hideSingleSelectionIndicator),n.xp6(1),n.Q6J("ngIf",Ae.group&&Ae.group._inert),n.xp6(1),n.Q6J("matRippleTrigger",Ae._getHostElement())("matRippleDisabled",Ae.disabled||Ae.disableRipple))},dependencies:[Z,te.O5,Fe],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return ge})();function pn(ge,J,I){if(I.length){let Y=J.toArray(),Ae=I.toArray(),ut=0;for(let Pe=0;PeI+Y?Math.max(0,ge-Y+J):I}let In=(()=>{class ge{static#e=this.\u0275fac=function(Y){return new(Y||ge)};static#t=this.\u0275mod=n.oAB({type:ge});static#n=this.\u0275inj=n.cJS({imports:[ce,te.ez,oe,ot]})}return ge})();const Tn={capture:!0},at=["focus","click","mouseenter","touchstart"],Nt="mat-ripple-loader-uninitialized",Ke="mat-ripple-loader-class-name",mt="mat-ripple-loader-centered",gt="mat-ripple-loader-disabled";let Yt=(()=>{class ge{constructor(){this._document=(0,n.f3M)(te.K0,{optional:!0}),this._animationMode=(0,n.f3M)(n.QbO,{optional:!0}),this._globalRippleOptions=(0,n.f3M)(et,{optional:!0}),this._platform=(0,n.f3M)(Se.t4),this._ngZone=(0,n.f3M)(n.R0b),this._onInteraction=I=>{if(!(I.target instanceof HTMLElement))return;const Ae=I.target.closest(`[${Nt}]`);Ae&&this.createRipple(Ae)},this._ngZone.runOutsideAngular(()=>{for(const I of at)this._document?.addEventListener(I,this._onInteraction,Tn)})}ngOnDestroy(){for(const I of at)this._document?.removeEventListener(I,this._onInteraction,Tn)}configureRipple(I,Y){I.setAttribute(Nt,""),(Y.className||!I.hasAttribute(Ke))&&I.setAttribute(Ke,Y.className||""),Y.centered&&I.setAttribute(mt,""),Y.disabled&&I.setAttribute(gt,"")}getRipple(I){return I.matRipple?I.matRipple:this.createRipple(I)}setDisabled(I,Y){const Ae=I.matRipple;Ae?Ae.disabled=Y:Y?I.setAttribute(gt,""):I.removeAttribute(gt)}createRipple(I){if(!this._document)return;I.querySelector(".mat-ripple")?.remove();const Y=this._document.createElement("span");Y.classList.add("mat-ripple",I.getAttribute(Ke)),I.append(Y);const Ae=new Z(new n.SBq(Y),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return Ae._isInitialized=!0,Ae.trigger=I,Ae.centered=I.hasAttribute(mt),Ae.disabled=I.hasAttribute(gt),this.attachRipple(I,Ae),Ae}attachRipple(I,Y){I.removeAttribute(Nt),I.matRipple=Y}static#e=this.\u0275fac=function(Y){return new(Y||ge)};static#t=this.\u0275prov=n.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"})}return ge})()},3305:(Mt,je,g)=>{g.d(je,{To:()=>it,ib:()=>L,HS:()=>W,yz:()=>Be});var n=g(5879),l=g(8337),R=g(2495),S=g(7394);const Se=new n.OlP("CdkAccordion");let ke=0,ue=(()=>{class qe{get expanded(){return this._expanded}set expanded(Ye){Ye=(0,R.Ig)(Ye),this._expanded!==Ye&&(this._expanded=Ye,this.expandedChange.emit(Ye),Ye?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(Ye){this._disabled=(0,R.Ig)(Ye)}constructor(Ye,ct,Ee){this.accordion=Ye,this._changeDetectorRef=ct,this._expansionDispatcher=Ee,this._openCloseAllSubscription=S.w0.EMPTY,this.closed=new n.vpe,this.opened=new n.vpe,this.destroyed=new n.vpe,this.expandedChange=new n.vpe,this.id="cdk-accordion-child-"+ke++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=Ee.listen((tt,dt)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===dt&&this.id!==tt&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(Ye=>{this.disabled||(this.expanded=Ye)})}static#e=this.\u0275fac=function(ct){return new(ct||qe)(n.Y36(Se,12),n.Y36(n.sBO),n.Y36(l.A8))};static#t=this.\u0275dir=n.lG2({type:qe,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[n._Bn([{provide:Se,useValue:void 0}])]})}return qe})(),ie=(()=>{class qe{static#e=this.\u0275fac=function(ct){return new(ct||qe)};static#t=this.\u0275mod=n.oAB({type:qe});static#n=this.\u0275inj=n.cJS({})}return qe})();var we=g(8484),fe=g(6814),me=g(3680),Te=g(4191),Le=g(3997),Ue=g(7921),be=g(2181),ye=g(8180),Je=g(6028),ve=g(8645),H=g(6232),xe=g(3019),oe=g(6825);const Ie=["body"];function Re(qe,It){}const $e=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],ft=["mat-expansion-panel-header","*","mat-action-row"];function bt(qe,It){if(1&qe&&n._UZ(0,"span",2),2&qe){const Ye=n.oxw();n.Q6J("@indicatorRotate",Ye._getExpandedState())}}const Dt=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],Ut=["mat-panel-title","mat-panel-description","*"],kt=new n.OlP("MAT_ACCORDION"),an="225ms cubic-bezier(0.4,0.0,0.2,1)",Xe={indicatorRotate:(0,oe.X$)("indicatorRotate",[(0,oe.SB)("collapsed, void",(0,oe.oB)({transform:"rotate(0deg)"})),(0,oe.SB)("expanded",(0,oe.oB)({transform:"rotate(180deg)"})),(0,oe.eR)("expanded <=> collapsed, void => collapsed",(0,oe.jt)(an))]),bodyExpansion:(0,oe.X$)("bodyExpansion",[(0,oe.SB)("collapsed, void",(0,oe.oB)({height:"0px",visibility:"hidden"})),(0,oe.SB)("expanded",(0,oe.oB)({height:"*",visibility:""})),(0,oe.eR)("expanded <=> collapsed, void => collapsed",(0,oe.jt)(an))])},Ct=new n.OlP("MAT_EXPANSION_PANEL");let W=(()=>{class qe{constructor(Ye,ct){this._template=Ye,this._expansionPanel=ct}static#e=this.\u0275fac=function(ct){return new(ct||qe)(n.Y36(n.Rgc),n.Y36(Ct,8))};static#t=this.\u0275dir=n.lG2({type:qe,selectors:[["ng-template","matExpansionPanelContent",""]]})}return qe})(),P=0;const se=new n.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let L=(()=>{class qe extends ue{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(Ye){this._hideToggle=(0,R.Ig)(Ye)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(Ye){this._togglePosition=Ye}constructor(Ye,ct,Ee,tt,dt,jt,Gt){super(Ye,ct,Ee),this._viewContainerRef=tt,this._animationMode=jt,this._hideToggle=!1,this.afterExpand=new n.vpe,this.afterCollapse=new n.vpe,this._inputChanges=new ve.x,this._headerId="mat-expansion-panel-header-"+P++,this._bodyAnimationDone=new ve.x,this.accordion=Ye,this._document=dt,this._bodyAnimationDone.pipe((0,Le.x)((cn,Lt)=>cn.fromState===Lt.fromState&&cn.toState===Lt.toState)).subscribe(cn=>{"void"!==cn.fromState&&("expanded"===cn.toState?this.afterExpand.emit():"collapsed"===cn.toState&&this.afterCollapse.emit())}),Gt&&(this.hideToggle=Gt.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,Ue.O)(null),(0,be.h)(()=>this.expanded&&!this._portal),(0,ye.q)(1)).subscribe(()=>{this._portal=new we.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(Ye){this._inputChanges.next(Ye)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const Ye=this._document.activeElement,ct=this._body.nativeElement;return Ye===ct||ct.contains(Ye)}return!1}static#e=this.\u0275fac=function(ct){return new(ct||qe)(n.Y36(kt,12),n.Y36(n.sBO),n.Y36(l.A8),n.Y36(n.s_b),n.Y36(fe.K0),n.Y36(n.QbO,8),n.Y36(se,8))};static#t=this.\u0275cmp=n.Xpm({type:qe,selectors:[["mat-expansion-panel"]],contentQueries:function(ct,Ee,tt){if(1&ct&&n.Suo(tt,W,5),2&ct){let dt;n.iGM(dt=n.CRH())&&(Ee._lazyContent=dt.first)}},viewQuery:function(ct,Ee){if(1&ct&&n.Gf(Ie,5),2&ct){let tt;n.iGM(tt=n.CRH())&&(Ee._body=tt.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(ct,Ee){2&ct&&n.ekj("mat-expanded",Ee.expanded)("_mat-animation-noopable","NoopAnimations"===Ee._animationMode)("mat-expansion-panel-spacing",Ee._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[n._Bn([{provide:kt,useValue:void 0},{provide:Ct,useExisting:qe}]),n.qOj,n.TTD],ngContentSelectors:ft,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(ct,Ee){1&ct&&(n.F$t($e),n.Hsn(0),n.TgZ(1,"div",0,1),n.NdJ("@bodyExpansion.done",function(dt){return Ee._bodyAnimationDone.next(dt)}),n.TgZ(3,"div",2),n.Hsn(4,1),n.YNc(5,Re,0,0,"ng-template",3),n.qZA(),n.Hsn(6,2),n.qZA()),2&ct&&(n.xp6(1),n.Q6J("@bodyExpansion",Ee._getExpandedState())("id",Ee.id),n.uIk("aria-labelledby",Ee._headerId),n.xp6(4),n.Q6J("cdkPortalOutlet",Ee._portal))},dependencies:[we.Pl],styles:['.mat-expansion-panel{--mat-expansion-container-shape:4px;box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-tracking)}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color)}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[Xe.bodyExpansion]},changeDetection:0})}return qe})();class G{}const $=(0,me.sb)(G);let Be=(()=>{class qe extends ${constructor(Ye,ct,Ee,tt,dt,jt,Gt){super(),this.panel=Ye,this._element=ct,this._focusMonitor=Ee,this._changeDetectorRef=tt,this._animationMode=jt,this._parentChangeSubscription=S.w0.EMPTY;const cn=Ye.accordion?Ye.accordion._stateChanges.pipe((0,be.h)(Lt=>!(!Lt.hideToggle&&!Lt.togglePosition))):H.E;this.tabIndex=parseInt(Gt||"")||0,this._parentChangeSubscription=(0,xe.T)(Ye.opened,Ye.closed,cn,Ye._inputChanges.pipe((0,be.h)(Lt=>!!(Lt.hideToggle||Lt.disabled||Lt.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),Ye.closed.pipe((0,be.h)(()=>Ye._containsFocus())).subscribe(()=>Ee.focusVia(ct,"program")),dt&&(this.expandedHeight=dt.expandedHeight,this.collapsedHeight=dt.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const Ye=this._isExpanded();return Ye&&this.expandedHeight?this.expandedHeight:!Ye&&this.collapsedHeight?this.collapsedHeight:null}_keydown(Ye){switch(Ye.keyCode){case Je.L_:case Je.K5:(0,Je.Vb)(Ye)||(Ye.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(Ye))}}focus(Ye,ct){Ye?this._focusMonitor.focusVia(this._element,Ye,ct):this._element.nativeElement.focus(ct)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(Ye=>{Ye&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static#e=this.\u0275fac=function(ct){return new(ct||qe)(n.Y36(L,1),n.Y36(n.SBq),n.Y36(Te.tE),n.Y36(n.sBO),n.Y36(se,8),n.Y36(n.QbO,8),n.$8M("tabindex"))};static#t=this.\u0275cmp=n.Xpm({type:qe,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(ct,Ee){1&ct&&n.NdJ("click",function(){return Ee._toggle()})("keydown",function(dt){return Ee._keydown(dt)}),2&ct&&(n.uIk("id",Ee.panel._headerId)("tabindex",Ee.tabIndex)("aria-controls",Ee._getPanelId())("aria-expanded",Ee._isExpanded())("aria-disabled",Ee.panel.disabled),n.Udp("height",Ee._getHeaderHeight()),n.ekj("mat-expanded",Ee._isExpanded())("mat-expansion-toggle-indicator-after","after"===Ee._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===Ee._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===Ee._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[n.qOj],ngContentSelectors:Ut,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(ct,Ee){1&ct&&(n.F$t(Dt),n.TgZ(0,"span",0),n.Hsn(1),n.Hsn(2,1),n.Hsn(3,2),n.qZA(),n.YNc(4,bt,1,1,"span",1)),2&ct&&(n.ekj("mat-content-hide-toggle",!Ee._showToggle()),n.xp6(4),n.Q6J("ngIf",Ee._showToggle()))},dependencies:[fe.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color)}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color)}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[Xe.indicatorRotate]},changeDetection:0})}return qe})(),it=(()=>{class qe{static#e=this.\u0275fac=function(ct){return new(ct||qe)};static#t=this.\u0275mod=n.oAB({type:qe});static#n=this.\u0275inj=n.cJS({imports:[fe.ez,me.BQ,ie,we.eL]})}return qe})()},9157:(Mt,je,g)=>{g.d(je,{G_:()=>Vt,KE:()=>In,Eo:()=>lt,lN:()=>Tn,bx:()=>tt,qo:()=>jt,R9:()=>cn});var n=g(5879),l=g(9388),R=g(2831),S=g(7394),te=g(8645),Se=g(3019),le=g(9773),ke=g(5592),ue=g(2181),ie=g(4552);class we extends te.x{constructor(Nt=1/0,Ke=1/0,mt=ie.l){super(),this._bufferSize=Nt,this._windowTime=Ke,this._timestampProvider=mt,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=Ke===1/0,this._bufferSize=Math.max(1,Nt),this._windowTime=Math.max(1,Ke)}next(Nt){const{isStopped:Ke,_buffer:mt,_infiniteTimeWindow:gt,_timestampProvider:Yt,_windowTime:ge}=this;Ke||(mt.push(Nt),!gt&&mt.push(Yt.now()+ge)),this._trimBuffer(),super.next(Nt)}_subscribe(Nt){this._throwIfClosed(),this._trimBuffer();const Ke=this._innerSubscribe(Nt),{_infiniteTimeWindow:mt,_buffer:gt}=this,Yt=gt.slice();for(let ge=0;gethis._resizeSubject.next(Ke)))}observe(Nt){return this._elementObservables.has(Nt)||this._elementObservables.set(Nt,new ke.y(Ke=>{const mt=this._resizeSubject.subscribe(Ke);return this._resizeObserver?.observe(Nt,{box:this._box}),()=>{this._resizeObserver?.unobserve(Nt),mt.unsubscribe(),this._elementObservables.delete(Nt)}}).pipe((0,ue.h)(Ke=>Ke.some(mt=>mt.target===Nt)),function me(at,Nt,Ke){let mt,gt=!1;return at&&"object"==typeof at?({bufferSize:mt=1/0,windowTime:Nt=1/0,refCount:gt=!1,scheduler:Ke}=at):mt=at??1/0,(0,fe.B)({connector:()=>new we(mt,Nt,Ke),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:gt})}({bufferSize:1,refCount:!0}),(0,le.R)(this._destroyed))),this._elementObservables.get(Nt)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let Ue=(()=>{class at{constructor(){this._observers=new Map,this._ngZone=(0,n.f3M)(n.R0b)}ngOnDestroy(){for(const[,Ke]of this._observers)Ke.destroy();this._observers.clear()}observe(Ke,mt){const gt=mt?.box||"content-box";return this._observers.has(gt)||this._observers.set(gt,new Le(gt)),this._observers.get(gt).observe(Ke)}static#e=this.\u0275fac=function(mt){return new(mt||at)};static#t=this.\u0275prov=n.Yz7({token:at,factory:at.\u0275fac,providedIn:"root"})}return at})();var be=g(2495),ye=g(6825),Je=g(6814),ve=g(7131),H=g(3680);const xe=["notch"],oe=["matFormFieldNotchedOutline",""],Ie=["*"],Re=["textField"],$e=["iconPrefixContainer"],ft=["textPrefixContainer"];function bt(at,Nt){1&at&&n._UZ(0,"span",19)}function Dt(at,Nt){if(1&at&&(n.TgZ(0,"label",17),n.Hsn(1,1),n.YNc(2,bt,1,0,"span",18),n.qZA()),2&at){const Ke=n.oxw(2);n.Q6J("floating",Ke._shouldLabelFloat())("monitorResize",Ke._hasOutline())("id",Ke._labelId),n.uIk("for",Ke._control.id),n.xp6(2),n.Q6J("ngIf",!Ke.hideRequiredMarker&&Ke._control.required)}}function Ut(at,Nt){if(1&at&&n.YNc(0,Dt,3,5,"label",16),2&at){const Ke=n.oxw();n.Q6J("ngIf",Ke._hasFloatingLabel())}}function kt(at,Nt){1&at&&n._UZ(0,"div",20)}function an(at,Nt){}function Xe(at,Nt){if(1&at&&n.YNc(0,an,0,0,"ng-template",22),2&at){n.oxw(2);const Ke=n.MAs(1);n.Q6J("ngTemplateOutlet",Ke)}}function Ct(at,Nt){if(1&at&&(n.TgZ(0,"div",21),n.YNc(1,Xe,1,1,"ng-template",9),n.qZA()),2&at){const Ke=n.oxw();n.Q6J("matFormFieldNotchedOutlineOpen",Ke._shouldLabelFloat()),n.xp6(1),n.Q6J("ngIf",!Ke._forceDisplayInfixLabel())}}function W(at,Nt){1&at&&(n.TgZ(0,"div",23,24),n.Hsn(2,2),n.qZA())}function P(at,Nt){1&at&&(n.TgZ(0,"div",25,26),n.Hsn(2,3),n.qZA())}function se(at,Nt){}function L(at,Nt){if(1&at&&n.YNc(0,se,0,0,"ng-template",22),2&at){n.oxw();const Ke=n.MAs(1);n.Q6J("ngTemplateOutlet",Ke)}}function Ce(at,Nt){1&at&&(n.TgZ(0,"div",27),n.Hsn(1,4),n.qZA())}function G(at,Nt){1&at&&(n.TgZ(0,"div",28),n.Hsn(1,5),n.qZA())}function $(at,Nt){1&at&&n._UZ(0,"div",29)}function Be(at,Nt){if(1&at&&(n.TgZ(0,"div",30),n.Hsn(1,6),n.qZA()),2&at){const Ke=n.oxw();n.Q6J("@transitionMessages",Ke._subscriptAnimationState)}}function ae(at,Nt){if(1&at&&(n.TgZ(0,"mat-hint",34),n._uU(1),n.qZA()),2&at){const Ke=n.oxw(2);n.Q6J("id",Ke._hintLabelId),n.xp6(1),n.Oqu(Ke.hintLabel)}}function He(at,Nt){if(1&at&&(n.TgZ(0,"div",31),n.YNc(1,ae,2,2,"mat-hint",32),n.Hsn(2,7),n._UZ(3,"div",33),n.Hsn(4,8),n.qZA()),2&at){const Ke=n.oxw();n.Q6J("@transitionMessages",Ke._subscriptAnimationState),n.xp6(1),n.Q6J("ngIf",Ke.hintLabel)}}const Ze=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],it=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let qe=(()=>{class at{static#e=this.\u0275fac=function(mt){return new(mt||at)};static#t=this.\u0275dir=n.lG2({type:at,selectors:[["mat-label"]]})}return at})();const Ye=new n.OlP("MatError");let Ee=0,tt=(()=>{class at{constructor(){this.align="start",this.id="mat-mdc-hint-"+Ee++}static#e=this.\u0275fac=function(mt){return new(mt||at)};static#t=this.\u0275dir=n.lG2({type:at,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(mt,gt){2&mt&&(n.Ikx("id",gt.id),n.uIk("align",null),n.ekj("mat-mdc-form-field-hint-end","end"===gt.align))},inputs:{align:"align",id:"id"}})}return at})();const dt=new n.OlP("MatPrefix");let jt=(()=>{class at{constructor(){this._isText=!1}set _isTextSelector(Ke){this._isText=!0}static#e=this.\u0275fac=function(mt){return new(mt||at)};static#t=this.\u0275dir=n.lG2({type:at,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[n._Bn([{provide:dt,useExisting:at}])]})}return at})();const Gt=new n.OlP("MatSuffix");let cn=(()=>{class at{constructor(){this._isText=!1}set _isTextSelector(Ke){this._isText=!0}static#e=this.\u0275fac=function(mt){return new(mt||at)};static#t=this.\u0275dir=n.lG2({type:at,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[n._Bn([{provide:Gt,useExisting:at}])]})}return at})();const Lt=new n.OlP("FloatingLabelParent");let yn=(()=>{class at{get floating(){return this._floating}set floating(Ke){this._floating=Ke,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(Ke){this._monitorResize=Ke,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(Ke){this._elementRef=Ke,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,n.f3M)(Ue),this._ngZone=(0,n.f3M)(n.R0b),this._parent=(0,n.f3M)(Lt),this._resizeSubscription=new S.w0}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function et(at){if(null!==at.offsetParent)return at.scrollWidth;const Ke=at.cloneNode(!0);Ke.style.setProperty("position","absolute"),Ke.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(Ke);const mt=Ke.scrollWidth;return Ke.remove(),mt}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static#e=this.\u0275fac=function(mt){return new(mt||at)(n.Y36(n.SBq))};static#t=this.\u0275dir=n.lG2({type:at,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(mt,gt){2&mt&&n.ekj("mdc-floating-label--float-above",gt.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return at})();const Z="mdc-line-ripple--active",ce="mdc-line-ripple--deactivating";let Fe=(()=>{class at{constructor(Ke,mt){this._elementRef=Ke,this._handleTransitionEnd=gt=>{const Yt=this._elementRef.nativeElement.classList,ge=Yt.contains(ce);"opacity"===gt.propertyName&&ge&&Yt.remove(Z,ce)},mt.runOutsideAngular(()=>{Ke.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const Ke=this._elementRef.nativeElement.classList;Ke.remove(ce),Ke.add(Z)}deactivate(){this._elementRef.nativeElement.classList.add(ce)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static#e=this.\u0275fac=function(mt){return new(mt||at)(n.Y36(n.SBq),n.Y36(n.R0b))};static#t=this.\u0275dir=n.lG2({type:at,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return at})(),ot=(()=>{class at{constructor(Ke,mt){this._elementRef=Ke,this._ngZone=mt,this.open=!1}ngAfterViewInit(){const Ke=this._elementRef.nativeElement.querySelector(".mdc-floating-label");Ke?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(Ke.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>Ke.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(Ke){this._notch.nativeElement.style.width=this.open&&Ke?`calc(${Ke}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static#e=this.\u0275fac=function(mt){return new(mt||at)(n.Y36(n.SBq),n.Y36(n.R0b))};static#t=this.\u0275cmp=n.Xpm({type:at,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(mt,gt){if(1&mt&&n.Gf(xe,5),2&mt){let Yt;n.iGM(Yt=n.CRH())&&(gt._notch=Yt.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(mt,gt){2&mt&&n.ekj("mdc-notched-outline--notched",gt.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:oe,ngContentSelectors:Ie,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(mt,gt){1&mt&&(n.F$t(),n._UZ(0,"div",0),n.TgZ(1,"div",1,2),n.Hsn(3),n.qZA(),n._UZ(4,"div",3))},encapsulation:2,changeDetection:0})}return at})();const st={transitionMessages:(0,ye.X$)("transitionMessages",[(0,ye.SB)("enter",(0,ye.oB)({opacity:1,transform:"translateY(0%)"})),(0,ye.eR)("void => enter",[(0,ye.oB)({opacity:0,transform:"translateY(-5px)"}),(0,ye.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let lt=(()=>{class at{static#e=this.\u0275fac=function(mt){return new(mt||at)};static#t=this.\u0275dir=n.lG2({type:at})}return at})();const Vt=new n.OlP("MatFormField"),Ft=new n.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Cn=0,In=(()=>{class at{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Ke){this._hideRequiredMarker=(0,be.Ig)(Ke)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(Ke){Ke!==this._floatLabel&&(this._floatLabel=Ke,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(Ke){const mt=this._appearance;this._appearance=Ke||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==mt&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(Ke){this._subscriptSizing=Ke||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(Ke){this._hintLabel=Ke,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(Ke){this._explicitFormFieldControl=Ke}constructor(Ke,mt,gt,Yt,ge,J,I,Y){this._elementRef=Ke,this._changeDetectorRef=mt,this._ngZone=gt,this._dir=Yt,this._platform=ge,this._defaults=J,this._animationMode=I,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+Cn++,this._hintLabelId="mat-mdc-hint-"+Cn++,this._subscriptAnimationState="",this._destroyed=new te.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,J&&(J.appearance&&(this.appearance=J.appearance),this._hideRequiredMarker=!!J?.hideRequiredMarker,J.color&&(this.color=J.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const Ke=this._control;Ke.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${Ke.controlType}`),Ke.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),Ke.ngControl&&Ke.ngControl.valueChanges&&Ke.ngControl.valueChanges.pipe((0,le.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(Ke=>!Ke._isText),this._hasTextPrefix=!!this._prefixChildren.find(Ke=>Ke._isText),this._hasIconSuffix=!!this._suffixChildren.find(Ke=>!Ke._isText),this._hasTextSuffix=!!this._suffixChildren.find(Ke=>Ke._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,Se.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,le.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,le.R)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(Ke){const mt=this._control?this._control.ngControl:null;return mt&&mt[Ke]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let Ke=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&Ke.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const mt=this._hintChildren?this._hintChildren.find(Yt=>"start"===Yt.align):null,gt=this._hintChildren?this._hintChildren.find(Yt=>"end"===Yt.align):null;mt?Ke.push(mt.id):this._hintLabel&&Ke.push(this._hintLabelId),gt&&Ke.push(gt.id)}else this._errorChildren&&Ke.push(...this._errorChildren.map(mt=>mt.id));this._control.setDescribedByIds(Ke)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const Ke=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(Ke.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const mt=this._iconPrefixContainer?.nativeElement,gt=this._textPrefixContainer?.nativeElement,Yt=mt?.getBoundingClientRect().width??0,ge=gt?.getBoundingClientRect().width??0;Ke.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${Yt+ge}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const Ke=this._elementRef.nativeElement;if(Ke.getRootNode){const mt=Ke.getRootNode();return mt&&mt!==Ke}return document.documentElement.contains(Ke)}static#e=this.\u0275fac=function(mt){return new(mt||at)(n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(n.R0b),n.Y36(l.Is),n.Y36(R.t4),n.Y36(Ft,8),n.Y36(n.QbO,8),n.Y36(Je.K0))};static#t=this.\u0275cmp=n.Xpm({type:at,selectors:[["mat-form-field"]],contentQueries:function(mt,gt,Yt){if(1&mt&&(n.Suo(Yt,qe,5),n.Suo(Yt,qe,7),n.Suo(Yt,lt,5),n.Suo(Yt,dt,5),n.Suo(Yt,Gt,5),n.Suo(Yt,Ye,5),n.Suo(Yt,tt,5)),2&mt){let ge;n.iGM(ge=n.CRH())&&(gt._labelChildNonStatic=ge.first),n.iGM(ge=n.CRH())&&(gt._labelChildStatic=ge.first),n.iGM(ge=n.CRH())&&(gt._formFieldControl=ge.first),n.iGM(ge=n.CRH())&&(gt._prefixChildren=ge),n.iGM(ge=n.CRH())&&(gt._suffixChildren=ge),n.iGM(ge=n.CRH())&&(gt._errorChildren=ge),n.iGM(ge=n.CRH())&&(gt._hintChildren=ge)}},viewQuery:function(mt,gt){if(1&mt&&(n.Gf(Re,5),n.Gf($e,5),n.Gf(ft,5),n.Gf(yn,5),n.Gf(ot,5),n.Gf(Fe,5)),2&mt){let Yt;n.iGM(Yt=n.CRH())&&(gt._textField=Yt.first),n.iGM(Yt=n.CRH())&&(gt._iconPrefixContainer=Yt.first),n.iGM(Yt=n.CRH())&&(gt._textPrefixContainer=Yt.first),n.iGM(Yt=n.CRH())&&(gt._floatingLabel=Yt.first),n.iGM(Yt=n.CRH())&&(gt._notchedOutline=Yt.first),n.iGM(Yt=n.CRH())&&(gt._lineRipple=Yt.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(mt,gt){2&mt&&n.ekj("mat-mdc-form-field-label-always-float",gt._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",gt._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",gt._hasIconSuffix)("mat-form-field-invalid",gt._control.errorState)("mat-form-field-disabled",gt._control.disabled)("mat-form-field-autofilled",gt._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===gt._animationMode)("mat-form-field-appearance-fill","fill"==gt.appearance)("mat-form-field-appearance-outline","outline"==gt.appearance)("mat-form-field-hide-placeholder",gt._hasFloatingLabel()&&!gt._shouldLabelFloat())("mat-focused",gt._control.focused)("mat-primary","accent"!==gt.color&&"warn"!==gt.color)("mat-accent","accent"===gt.color)("mat-warn","warn"===gt.color)("ng-untouched",gt._shouldForward("untouched"))("ng-touched",gt._shouldForward("touched"))("ng-pristine",gt._shouldForward("pristine"))("ng-dirty",gt._shouldForward("dirty"))("ng-valid",gt._shouldForward("valid"))("ng-invalid",gt._shouldForward("invalid"))("ng-pending",gt._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[n._Bn([{provide:Vt,useExisting:at},{provide:Lt,useExisting:at}])],ngContentSelectors:it,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(mt,gt){1&mt&&(n.F$t(Ze),n.YNc(0,Ut,1,1,"ng-template",null,0,n.W1O),n.TgZ(2,"div",1,2),n.NdJ("click",function(ge){return gt._control.onContainerClick(ge)}),n.YNc(4,kt,1,0,"div",3),n.TgZ(5,"div",4),n.YNc(6,Ct,2,2,"div",5),n.YNc(7,W,3,0,"div",6),n.YNc(8,P,3,0,"div",7),n.TgZ(9,"div",8),n.YNc(10,L,1,1,"ng-template",9),n.Hsn(11),n.qZA(),n.YNc(12,Ce,2,0,"div",10),n.YNc(13,G,2,0,"div",11),n.qZA(),n.YNc(14,$,1,0,"div",12),n.qZA(),n.TgZ(15,"div",13),n.YNc(16,Be,2,1,"div",14),n.YNc(17,He,5,2,"div",15),n.qZA()),2&mt&&(n.xp6(2),n.ekj("mdc-text-field--filled",!gt._hasOutline())("mdc-text-field--outlined",gt._hasOutline())("mdc-text-field--no-label",!gt._hasFloatingLabel())("mdc-text-field--disabled",gt._control.disabled)("mdc-text-field--invalid",gt._control.errorState),n.xp6(2),n.Q6J("ngIf",!gt._hasOutline()&&!gt._control.disabled),n.xp6(2),n.Q6J("ngIf",gt._hasOutline()),n.xp6(1),n.Q6J("ngIf",gt._hasIconPrefix),n.xp6(1),n.Q6J("ngIf",gt._hasTextPrefix),n.xp6(2),n.Q6J("ngIf",!gt._hasOutline()||gt._forceDisplayInfixLabel()),n.xp6(2),n.Q6J("ngIf",gt._hasTextSuffix),n.xp6(1),n.Q6J("ngIf",gt._hasIconSuffix),n.xp6(1),n.Q6J("ngIf",!gt._hasOutline()),n.xp6(1),n.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===gt.subscriptSizing),n.Q6J("ngSwitch",gt._getDisplayedMessages()),n.xp6(1),n.Q6J("ngSwitchCase","error"),n.xp6(1),n.Q6J("ngSwitchCase","hint"))},dependencies:[Je.O5,Je.tP,Je.RF,Je.n9,tt,yn,ot,Fe],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px * 2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{--mdc-filled-text-field-active-indicator-height:1px;--mdc-filled-text-field-focus-active-indicator-height:2px;--mdc-filled-text-field-container-shape:4px;border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined{--mdc-outlined-text-field-outline-width:1px;--mdc-outlined-text-field-focus-outline-width:2px;--mdc-outlined-text-field-container-shape:4px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size) * var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[st.transitionMessages]},changeDetection:0})}return at})(),Tn=(()=>{class at{static#e=this.\u0275fac=function(mt){return new(mt||at)};static#t=this.\u0275mod=n.oAB({type:at});static#n=this.\u0275inj=n.cJS({imports:[H.BQ,Je.ez,ve.Q8,H.BQ]})}return at})()},617:(Mt,je,g)=>{g.d(je,{Hw:()=>Ce,Ps:()=>G,jv:()=>$e});var n=g(5879),l=g(3680),R=g(2495),S=g(6814),te=g(2096),Se=g(8504),le=g(9315),ke=g(7394),ue=g(9397),ie=g(7398),we=g(6306),fe=g(4716),me=g(3020),Te=g(8180),Le=g(9862),Ue=g(6593);const be=["*"];let ye;function ve($){return function Je(){if(void 0===ye&&(ye=null,typeof window<"u")){const $=window;void 0!==$.trustedTypes&&(ye=$.trustedTypes.createPolicy("angular#components",{createHTML:Be=>Be}))}return ye}()?.createHTML($)||$}function H($){return Error(`Unable to find icon with the name "${$}"`)}function oe($){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${$}".`)}function Ie($){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${$}".`)}class Re{constructor(Be,ae,He){this.url=Be,this.svgText=ae,this.options=He}}let $e=(()=>{class ${constructor(ae,He,Ze,it){this._httpClient=ae,this._sanitizer=He,this._errorHandler=it,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=Ze}addSvgIcon(ae,He,Ze){return this.addSvgIconInNamespace("",ae,He,Ze)}addSvgIconLiteral(ae,He,Ze){return this.addSvgIconLiteralInNamespace("",ae,He,Ze)}addSvgIconInNamespace(ae,He,Ze,it){return this._addSvgIconConfig(ae,He,new Re(Ze,null,it))}addSvgIconResolver(ae){return this._resolvers.push(ae),this}addSvgIconLiteralInNamespace(ae,He,Ze,it){const qe=this._sanitizer.sanitize(n.q3G.HTML,Ze);if(!qe)throw Ie(Ze);const It=ve(qe);return this._addSvgIconConfig(ae,He,new Re("",It,it))}addSvgIconSet(ae,He){return this.addSvgIconSetInNamespace("",ae,He)}addSvgIconSetLiteral(ae,He){return this.addSvgIconSetLiteralInNamespace("",ae,He)}addSvgIconSetInNamespace(ae,He,Ze){return this._addSvgIconSetConfig(ae,new Re(He,null,Ze))}addSvgIconSetLiteralInNamespace(ae,He,Ze){const it=this._sanitizer.sanitize(n.q3G.HTML,He);if(!it)throw Ie(He);const qe=ve(it);return this._addSvgIconSetConfig(ae,new Re("",qe,Ze))}registerFontClassAlias(ae,He=ae){return this._fontCssClassesByAlias.set(ae,He),this}classNameForFontAlias(ae){return this._fontCssClassesByAlias.get(ae)||ae}setDefaultFontSetClass(...ae){return this._defaultFontSetClass=ae,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(ae){const He=this._sanitizer.sanitize(n.q3G.RESOURCE_URL,ae);if(!He)throw oe(ae);const Ze=this._cachedIconsByUrl.get(He);return Ze?(0,te.of)(Dt(Ze)):this._loadSvgIconFromConfig(new Re(ae,null)).pipe((0,ue.b)(it=>this._cachedIconsByUrl.set(He,it)),(0,ie.U)(it=>Dt(it)))}getNamedSvgIcon(ae,He=""){const Ze=Ut(He,ae);let it=this._svgIconConfigs.get(Ze);if(it)return this._getSvgFromConfig(it);if(it=this._getIconConfigFromResolvers(He,ae),it)return this._svgIconConfigs.set(Ze,it),this._getSvgFromConfig(it);const qe=this._iconSetConfigs.get(He);return qe?this._getSvgFromIconSetConfigs(ae,qe):(0,Se._)(H(Ze))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(ae){return ae.svgText?(0,te.of)(Dt(this._svgElementFromConfig(ae))):this._loadSvgIconFromConfig(ae).pipe((0,ie.U)(He=>Dt(He)))}_getSvgFromIconSetConfigs(ae,He){const Ze=this._extractIconWithNameFromAnySet(ae,He);if(Ze)return(0,te.of)(Ze);const it=He.filter(qe=>!qe.svgText).map(qe=>this._loadSvgIconSetFromConfig(qe).pipe((0,we.K)(It=>{const ct=`Loading icon set URL: ${this._sanitizer.sanitize(n.q3G.RESOURCE_URL,qe.url)} failed: ${It.message}`;return this._errorHandler.handleError(new Error(ct)),(0,te.of)(null)})));return(0,le.D)(it).pipe((0,ie.U)(()=>{const qe=this._extractIconWithNameFromAnySet(ae,He);if(!qe)throw H(ae);return qe}))}_extractIconWithNameFromAnySet(ae,He){for(let Ze=He.length-1;Ze>=0;Ze--){const it=He[Ze];if(it.svgText&&it.svgText.toString().indexOf(ae)>-1){const qe=this._svgElementFromConfig(it),It=this._extractSvgIconFromSet(qe,ae,it.options);if(It)return It}}return null}_loadSvgIconFromConfig(ae){return this._fetchIcon(ae).pipe((0,ue.b)(He=>ae.svgText=He),(0,ie.U)(()=>this._svgElementFromConfig(ae)))}_loadSvgIconSetFromConfig(ae){return ae.svgText?(0,te.of)(null):this._fetchIcon(ae).pipe((0,ue.b)(He=>ae.svgText=He))}_extractSvgIconFromSet(ae,He,Ze){const it=ae.querySelector(`[id="${He}"]`);if(!it)return null;const qe=it.cloneNode(!0);if(qe.removeAttribute("id"),"svg"===qe.nodeName.toLowerCase())return this._setSvgAttributes(qe,Ze);if("symbol"===qe.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(qe),Ze);const It=this._svgElementFromString(ve(""));return It.appendChild(qe),this._setSvgAttributes(It,Ze)}_svgElementFromString(ae){const He=this._document.createElement("DIV");He.innerHTML=ae;const Ze=He.querySelector("svg");if(!Ze)throw Error(" tag not found");return Ze}_toSvgElement(ae){const He=this._svgElementFromString(ve("")),Ze=ae.attributes;for(let it=0;itve(ct)),(0,fe.x)(()=>this._inProgressUrlFetches.delete(qe)),(0,me.B)());return this._inProgressUrlFetches.set(qe,Ye),Ye}_addSvgIconConfig(ae,He,Ze){return this._svgIconConfigs.set(Ut(ae,He),Ze),this}_addSvgIconSetConfig(ae,He){const Ze=this._iconSetConfigs.get(ae);return Ze?Ze.push(He):this._iconSetConfigs.set(ae,[He]),this}_svgElementFromConfig(ae){if(!ae.svgElement){const He=this._svgElementFromString(ae.svgText);this._setSvgAttributes(He,ae.options),ae.svgElement=He}return ae.svgElement}_getIconConfigFromResolvers(ae,He){for(let Ze=0;ZeBe?Be.pathname+Be.search:""}}}),P=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],se=P.map($=>`[${$}]`).join(", "),L=/^url\(['"]?#(.*?)['"]?\)$/;let Ce=(()=>{class $ extends an{get inline(){return this._inline}set inline(ae){this._inline=(0,R.Ig)(ae)}get svgIcon(){return this._svgIcon}set svgIcon(ae){ae!==this._svgIcon&&(ae?this._updateSvgIcon(ae):this._svgIcon&&this._clearSvgElement(),this._svgIcon=ae)}get fontSet(){return this._fontSet}set fontSet(ae){const He=this._cleanupFontValue(ae);He!==this._fontSet&&(this._fontSet=He,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(ae){const He=this._cleanupFontValue(ae);He!==this._fontIcon&&(this._fontIcon=He,this._updateFontIconClasses())}constructor(ae,He,Ze,it,qe,It){super(ae),this._iconRegistry=He,this._location=it,this._errorHandler=qe,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=ke.w0.EMPTY,It&&(It.color&&(this.color=this.defaultColor=It.color),It.fontSet&&(this.fontSet=It.fontSet)),Ze||ae.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(ae){if(!ae)return["",""];const He=ae.split(":");switch(He.length){case 1:return["",He[0]];case 2:return He;default:throw Error(`Invalid icon name: "${ae}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const ae=this._elementsWithExternalReferences;if(ae&&ae.size){const He=this._location.getPathname();He!==this._previousPath&&(this._previousPath=He,this._prependPathToReferences(He))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(ae){this._clearSvgElement();const He=this._location.getPathname();this._previousPath=He,this._cacheChildrenWithExternalReferences(ae),this._prependPathToReferences(He),this._elementRef.nativeElement.appendChild(ae)}_clearSvgElement(){const ae=this._elementRef.nativeElement;let He=ae.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();He--;){const Ze=ae.childNodes[He];(1!==Ze.nodeType||"svg"===Ze.nodeName.toLowerCase())&&Ze.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const ae=this._elementRef.nativeElement,He=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Ze=>Ze.length>0);this._previousFontSetClass.forEach(Ze=>ae.classList.remove(Ze)),He.forEach(Ze=>ae.classList.add(Ze)),this._previousFontSetClass=He,this.fontIcon!==this._previousFontIconClass&&!He.includes("mat-ligature-font")&&(this._previousFontIconClass&&ae.classList.remove(this._previousFontIconClass),this.fontIcon&&ae.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(ae){return"string"==typeof ae?ae.trim().split(" ")[0]:ae}_prependPathToReferences(ae){const He=this._elementsWithExternalReferences;He&&He.forEach((Ze,it)=>{Ze.forEach(qe=>{it.setAttribute(qe.name,`url('${ae}#${qe.value}')`)})})}_cacheChildrenWithExternalReferences(ae){const He=ae.querySelectorAll(se),Ze=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let it=0;it{const It=He[it],Ye=It.getAttribute(qe),ct=Ye?Ye.match(L):null;if(ct){let Ee=Ze.get(It);Ee||(Ee=[],Ze.set(It,Ee)),Ee.push({name:qe,value:ct[1]})}})}_updateSvgIcon(ae){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),ae){const[He,Ze]=this._splitIconName(ae);He&&(this._svgNamespace=He),Ze&&(this._svgName=Ze),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Ze,He).pipe((0,Te.q)(1)).subscribe(it=>this._setSvgElement(it),it=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${He}:${Ze}! ${it.message}`))})}}static#e=this.\u0275fac=function(He){return new(He||$)(n.Y36(n.SBq),n.Y36($e),n.$8M("aria-hidden"),n.Y36(Ct),n.Y36(n.qLn),n.Y36(Xe,8))};static#t=this.\u0275cmp=n.Xpm({type:$,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(He,Ze){2&He&&(n.uIk("data-mat-icon-type",Ze._usingFontIcon()?"font":"svg")("data-mat-icon-name",Ze._svgName||Ze.fontIcon)("data-mat-icon-namespace",Ze._svgNamespace||Ze.fontSet)("fontIcon",Ze._usingFontIcon()?Ze.fontIcon:null),n.ekj("mat-icon-inline",Ze.inline)("mat-icon-no-color","primary"!==Ze.color&&"accent"!==Ze.color&&"warn"!==Ze.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[n.qOj],ngContentSelectors:be,decls:1,vars:0,template:function(He,Ze){1&He&&(n.F$t(),n.Hsn(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}return $})(),G=(()=>{class ${static#e=this.\u0275fac=function(He){return new(He||$)};static#t=this.\u0275mod=n.oAB({type:$});static#n=this.\u0275inj=n.cJS({imports:[l.BQ,l.BQ]})}return $})()},4516:(Mt,je,g)=>{g.d(je,{Jk:()=>ie,Nt:()=>Te,c:()=>Le});var n=g(2495),l=g(2831),R=g(6263),S=g(5879),te=g(6223),Se=g(3680),le=g(9157),ke=g(8645);const ie=new S.OlP("MAT_INPUT_VALUE_ACCESSOR"),we=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let fe=0;const me=(0,Se.FD)(class{constructor(Ue,be,ye,Je){this._defaultErrorStateMatcher=Ue,this._parentForm=be,this._parentFormGroup=ye,this.ngControl=Je,this.stateChanges=new ke.x}});let Te=(()=>{class Ue extends me{get disabled(){return this._disabled}set disabled(ye){this._disabled=(0,n.Ig)(ye),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(ye){this._id=ye||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(te.kI.required)??!1}set required(ye){this._required=(0,n.Ig)(ye)}get type(){return this._type}set type(ye){this._type=ye||"text",this._validateType(),!this._isTextarea&&(0,l.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(ye){ye!==this.value&&(this._inputValueAccessor.value=ye,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(ye){this._readonly=(0,n.Ig)(ye)}constructor(ye,Je,ve,H,xe,oe,Ie,Re,$e,ft){super(oe,H,xe,ve),this._elementRef=ye,this._platform=Je,this._autofillMonitor=Re,this._formField=ft,this._uid="mat-input-"+fe++,this.focused=!1,this.stateChanges=new ke.x,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(Ut=>(0,l.qK)().has(Ut)),this._iOSKeyupListener=Ut=>{const kt=Ut.target;!kt.value&&0===kt.selectionStart&&0===kt.selectionEnd&&(kt.setSelectionRange(1,1),kt.setSelectionRange(0,0))};const bt=this._elementRef.nativeElement,Dt=bt.nodeName.toLowerCase();this._inputValueAccessor=Ie||bt,this._previousNativeValue=this.value,this.id=this.id,Je.IOS&&$e.runOutsideAngular(()=>{ye.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===Dt,this._isTextarea="textarea"===Dt,this._isInFormField=!!ft,this._isNativeSelect&&(this.controlType=bt.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(ye=>{this.autofilled=ye.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(ye){this._elementRef.nativeElement.focus(ye)}_focusChanged(ye){ye!==this.focused&&(this.focused=ye,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const ye=this._elementRef.nativeElement.value;this._previousNativeValue!==ye&&(this._previousNativeValue=ye,this.stateChanges.next())}_dirtyCheckPlaceholder(){const ye=this._getPlaceholder();if(ye!==this._previousPlaceholder){const Je=this._elementRef.nativeElement;this._previousPlaceholder=ye,ye?Je.setAttribute("placeholder",ye):Je.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){we.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let ye=this._elementRef.nativeElement.validity;return ye&&ye.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const ye=this._elementRef.nativeElement,Je=ye.options[0];return this.focused||ye.multiple||!this.empty||!!(ye.selectedIndex>-1&&Je&&Je.label)}return this.focused||!this.empty}setDescribedByIds(ye){ye.length?this._elementRef.nativeElement.setAttribute("aria-describedby",ye.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const ye=this._elementRef.nativeElement;return this._isNativeSelect&&(ye.multiple||ye.size>1)}static#e=this.\u0275fac=function(Je){return new(Je||Ue)(S.Y36(S.SBq),S.Y36(l.t4),S.Y36(te.a5,10),S.Y36(te.F,8),S.Y36(te.sg,8),S.Y36(Se.rD),S.Y36(ie,10),S.Y36(R.Lq),S.Y36(S.R0b),S.Y36(le.G_,8))};static#t=this.\u0275dir=S.lG2({type:Ue,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(Je,ve){1&Je&&S.NdJ("focus",function(){return ve._focusChanged(!0)})("blur",function(){return ve._focusChanged(!1)})("input",function(){return ve._onInput()}),2&Je&&(S.Ikx("id",ve.id)("disabled",ve.disabled)("required",ve.required),S.uIk("name",ve.name||null)("readonly",ve.readonly&&!ve._isNativeSelect||null)("aria-invalid",ve.empty&&ve.required?null:ve.errorState)("aria-required",ve.required)("id",ve.id),S.ekj("mat-input-server",ve._isServer)("mat-mdc-form-field-textarea-control",ve._isInFormField&&ve._isTextarea)("mat-mdc-form-field-input-control",ve._isInFormField)("mdc-text-field__input",ve._isInFormField)("mat-mdc-native-select-inline",ve._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[S._Bn([{provide:le.Eo,useExisting:Ue}]),S.qOj,S.TTD]})}return Ue})(),Le=(()=>{class Ue{static#e=this.\u0275fac=function(Je){return new(Je||Ue)};static#t=this.\u0275mod=S.oAB({type:Ue});static#n=this.\u0275inj=S.cJS({imports:[Se.BQ,le.lN,le.lN,R.Ky,Se.BQ]})}return Ue})()},8525:(Mt,je,g)=>{g.d(je,{LD:()=>It,gD:()=>qe});var n=g(3651),l=g(6814),R=g(5879),S=g(3680),te=g(9157),Se=g(6672),le=g(4191),ke=g(9388),ue=g(2495),ie=g(8337),we=g(6028),fe=g(6223),me=g(8645),Te=g(4911),Le=g(3019),Ue=g(7921),be=g(4664),ye=g(8180),Je=g(2181),ve=g(7398),H=g(3997),xe=g(9773),oe=g(6825);const Ie=["trigger"],Re=["panel"];function $e(Ye,ct){if(1&Ye&&(R.TgZ(0,"span",10),R._uU(1),R.qZA()),2&Ye){const Ee=R.oxw();R.xp6(1),R.Oqu(Ee.placeholder)}}function ft(Ye,ct){if(1&Ye&&(R.TgZ(0,"span",14),R._uU(1),R.qZA()),2&Ye){const Ee=R.oxw(2);R.xp6(1),R.Oqu(Ee.triggerValue)}}function bt(Ye,ct){1&Ye&&R.Hsn(0,0,["*ngSwitchCase","true"])}function Dt(Ye,ct){if(1&Ye&&(R.TgZ(0,"span",11),R.YNc(1,ft,2,1,"span",12),R.YNc(2,bt,1,0,"ng-content",13),R.qZA()),2&Ye){const Ee=R.oxw();R.Q6J("ngSwitch",!!Ee.customTrigger),R.xp6(2),R.Q6J("ngSwitchCase",!0)}}function Ut(Ye,ct){if(1&Ye){const Ee=R.EpF();R.O4$(),R.kcU(),R.TgZ(0,"div",15,16),R.NdJ("@transformPanel.done",function(dt){R.CHM(Ee);const jt=R.oxw();return R.KtG(jt._panelDoneAnimatingStream.next(dt.toState))})("keydown",function(dt){R.CHM(Ee);const jt=R.oxw();return R.KtG(jt._handleKeydown(dt))}),R.Hsn(2,1),R.qZA()}if(2&Ye){const Ee=R.oxw();R.Gre("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",Ee._getPanelTheme(),""),R.Q6J("ngClass",Ee.panelClass)("@transformPanel","showing"),R.uIk("id",Ee.id+"-panel")("aria-multiselectable",Ee.multiple)("aria-label",Ee.ariaLabel||null)("aria-labelledby",Ee._getPanelAriaLabelledby())}}const kt=[[["mat-select-trigger"]],"*"],an=["mat-select-trigger","*"],Xe={transformPanelWrap:(0,oe.X$)("transformPanelWrap",[(0,oe.eR)("* => void",(0,oe.IO)("@transformPanel",[(0,oe.pV)()],{optional:!0}))]),transformPanel:(0,oe.X$)("transformPanel",[(0,oe.SB)("void",(0,oe.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,oe.eR)("void => showing",(0,oe.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,oe.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,oe.eR)("* => void",(0,oe.jt)("100ms linear",(0,oe.oB)({opacity:0})))])};let se=0;const L=new R.OlP("mat-select-scroll-strategy"),G=new R.OlP("MAT_SELECT_CONFIG"),$={provide:L,deps:[n.aV],useFactory:function Ce(Ye){return()=>Ye.scrollStrategies.reposition()}},Be=new R.OlP("MatSelectTrigger");class ae{constructor(ct,Ee){this.source=ct,this.value=Ee}}const He=(0,S.Kr)((0,S.sb)((0,S.Id)((0,S.FD)(class{constructor(Ye,ct,Ee,tt,dt){this._elementRef=Ye,this._defaultErrorStateMatcher=ct,this._parentForm=Ee,this._parentFormGroup=tt,this.ngControl=dt,this.stateChanges=new me.x}}))));let Ze=(()=>{class Ye extends He{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(Ee){this._placeholder=Ee,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(fe.kI.required)??!1}set required(Ee){this._required=(0,ue.Ig)(Ee),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Ee){this._multiple=(0,ue.Ig)(Ee)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(Ee){this._disableOptionCentering=(0,ue.Ig)(Ee)}get compareWith(){return this._compareWith}set compareWith(Ee){this._compareWith=Ee,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Ee){this._assignValue(Ee)&&this._onChange(Ee)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(Ee){this._typeaheadDebounceInterval=(0,ue.su)(Ee)}get id(){return this._id}set id(Ee){this._id=Ee||this._uid,this.stateChanges.next()}constructor(Ee,tt,dt,jt,Gt,cn,Lt,yn,et,Z,ce,Fe,ot,st){super(Gt,jt,Lt,yn,Z),this._viewportRuler=Ee,this._changeDetectorRef=tt,this._ngZone=dt,this._dir=cn,this._parentFormField=et,this._liveAnnouncer=ot,this._defaultOptions=st,this._panelOpen=!1,this._compareWith=(lt,yt)=>lt===yt,this._uid="mat-select-"+se++,this._triggerAriaLabelledBy=null,this._destroy=new me.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+se++,this._panelDoneAnimatingStream=new me.x,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=(0,Te.P)(()=>{const lt=this.options;return lt?lt.changes.pipe((0,Ue.O)(lt),(0,be.w)(()=>(0,Le.T)(...lt.map(yt=>yt.onSelectionChange)))):this._ngZone.onStable.pipe((0,ye.q)(1),(0,be.w)(()=>this.optionSelectionChanges))}),this.openedChange=new R.vpe,this._openedStream=this.openedChange.pipe((0,Je.h)(lt=>lt),(0,ve.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,Je.h)(lt=>!lt),(0,ve.U)(()=>{})),this.selectionChange=new R.vpe,this.valueChange=new R.vpe,this._trackedModal=null,this.ngControl&&(this.ngControl.valueAccessor=this),null!=st?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=st.typeaheadDebounceInterval),this._scrollStrategyFactory=Fe,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(ce)||0,this.id=this.id}ngOnInit(){this._selectionModel=new ie.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,H.x)(),(0,xe.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,xe.R)(this._destroy)).subscribe(Ee=>{Ee.added.forEach(tt=>tt.select()),Ee.removed.forEach(tt=>tt.deselect())}),this.options.changes.pipe((0,Ue.O)(null),(0,xe.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Ee=this._getTriggerAriaLabelledby(),tt=this.ngControl;if(Ee!==this._triggerAriaLabelledBy){const dt=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Ee,Ee?dt.setAttribute("aria-labelledby",Ee):dt.removeAttribute("aria-labelledby")}tt&&(this._previousControl!==tt.control&&(void 0!==this._previousControl&&null!==tt.disabled&&tt.disabled!==this.disabled&&(this.disabled=tt.disabled),this._previousControl=tt.control),this.updateErrorState())}ngOnChanges(Ee){(Ee.disabled||Ee.userAriaDescribedBy)&&this.stateChanges.next(),Ee.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}_applyModalPanelOwnership(){const Ee=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!Ee)return;const tt=`${this.id}-panel`;this._trackedModal&&(0,le.iD)(this._trackedModal,"aria-owns",tt),(0,le.Zf)(Ee,"aria-owns",tt),this._trackedModal=Ee}_clearFromModal(){this._trackedModal&&((0,le.iD)(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(Ee){this._assignValue(Ee)}registerOnChange(Ee){this._onChange=Ee}registerOnTouched(Ee){this._onTouched=Ee}setDisabledState(Ee){this.disabled=Ee,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const Ee=this._selectionModel.selected.map(tt=>tt.viewValue);return this._isRtl()&&Ee.reverse(),Ee.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Ee){this.disabled||(this.panelOpen?this._handleOpenKeydown(Ee):this._handleClosedKeydown(Ee))}_handleClosedKeydown(Ee){const tt=Ee.keyCode,dt=tt===we.JH||tt===we.LH||tt===we.oh||tt===we.SV,jt=tt===we.K5||tt===we.L_,Gt=this._keyManager;if(!Gt.isTyping()&&jt&&!(0,we.Vb)(Ee)||(this.multiple||Ee.altKey)&&dt)Ee.preventDefault(),this.open();else if(!this.multiple){const cn=this.selected;Gt.onKeydown(Ee);const Lt=this.selected;Lt&&cn!==Lt&&this._liveAnnouncer.announce(Lt.viewValue,1e4)}}_handleOpenKeydown(Ee){const tt=this._keyManager,dt=Ee.keyCode,jt=dt===we.JH||dt===we.LH,Gt=tt.isTyping();if(jt&&Ee.altKey)Ee.preventDefault(),this.close();else if(Gt||dt!==we.K5&&dt!==we.L_||!tt.activeItem||(0,we.Vb)(Ee))if(!Gt&&this._multiple&&dt===we.A&&Ee.ctrlKey){Ee.preventDefault();const cn=this.options.some(Lt=>!Lt.disabled&&!Lt.selected);this.options.forEach(Lt=>{Lt.disabled||(cn?Lt.select():Lt.deselect())})}else{const cn=tt.activeItemIndex;tt.onKeydown(Ee),this._multiple&&jt&&Ee.shiftKey&&tt.activeItem&&tt.activeItemIndex!==cn&&tt.activeItem._selectViaInteraction()}else Ee.preventDefault(),tt.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,ye.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(Ee){if(this.options.forEach(tt=>tt.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Ee)Array.isArray(Ee),Ee.forEach(tt=>this._selectOptionByValue(tt)),this._sortValues();else{const tt=this._selectOptionByValue(Ee);tt?this._keyManager.updateActiveItem(tt):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Ee){const tt=this.options.find(dt=>{if(this._selectionModel.isSelected(dt))return!1;try{return null!=dt.value&&this._compareWith(dt.value,Ee)}catch{return!1}});return tt&&this._selectionModel.select(tt),tt}_assignValue(Ee){return!!(Ee!==this._value||this._multiple&&Array.isArray(Ee))&&(this.options&&this._setSelectionByValue(Ee),this._value=Ee,!0)}_skipPredicate(Ee){return Ee.disabled}_initKeyManager(){this._keyManager=new le.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const Ee=(0,Le.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,xe.R)(Ee)).subscribe(tt=>{this._onSelect(tt.source,tt.isUserInput),tt.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Le.T)(...this.options.map(tt=>tt._stateChanges)).pipe((0,xe.R)(Ee)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Ee,tt){const dt=this._selectionModel.isSelected(Ee);null!=Ee.value||this._multiple?(dt!==Ee.selected&&(Ee.selected?this._selectionModel.select(Ee):this._selectionModel.deselect(Ee)),tt&&this._keyManager.setActiveItem(Ee),this.multiple&&(this._sortValues(),tt&&this.focus())):(Ee.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Ee.value)),dt!==this._selectionModel.isSelected(Ee)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Ee=this.options.toArray();this._selectionModel.sort((tt,dt)=>this.sortComparator?this.sortComparator(tt,dt,Ee):Ee.indexOf(tt)-Ee.indexOf(dt)),this.stateChanges.next()}}_propagateChanges(Ee){let tt=null;tt=this.multiple?this.selected.map(dt=>dt.value):this.selected?this.selected.value:Ee,this._value=tt,this.valueChange.emit(tt),this._onChange(tt),this.selectionChange.emit(this._getChangeEvent(tt)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let Ee=-1;for(let tt=0;tt0}focus(Ee){this._elementRef.nativeElement.focus(Ee)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Ee=this._parentFormField?.getLabelId();return this.ariaLabelledby?(Ee?Ee+" ":"")+this.ariaLabelledby:Ee}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const Ee=this._parentFormField?.getLabelId();let tt=(Ee?Ee+" ":"")+this._valueId;return this.ariaLabelledby&&(tt+=" "+this.ariaLabelledby),tt}_panelDoneAnimating(Ee){this.openedChange.emit(Ee)}setDescribedByIds(Ee){Ee.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Ee.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}static#e=this.\u0275fac=function(tt){return new(tt||Ye)(R.Y36(Se.rL),R.Y36(R.sBO),R.Y36(R.R0b),R.Y36(S.rD),R.Y36(R.SBq),R.Y36(ke.Is,8),R.Y36(fe.F,8),R.Y36(fe.sg,8),R.Y36(te.G_,8),R.Y36(fe.a5,10),R.$8M("tabindex"),R.Y36(L),R.Y36(le.Kd),R.Y36(G,8))};static#t=this.\u0275dir=R.lG2({type:Ye,viewQuery:function(tt,dt){if(1&tt&&(R.Gf(Ie,5),R.Gf(Re,5),R.Gf(n.pI,5)),2&tt){let jt;R.iGM(jt=R.CRH())&&(dt.trigger=jt.first),R.iGM(jt=R.CRH())&&(dt.panel=jt.first),R.iGM(jt=R.CRH())&&(dt._overlayDir=jt.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[R.qOj,R.TTD]})}return Ye})(),qe=(()=>{class Ye extends Ze{constructor(){super(...arguments),this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._skipPredicate=Ee=>!this.panelOpen&&Ee.disabled}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,xe.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}open(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(Ee){const tt=this.options.toArray()[Ee];if(tt){const dt=this.panel.nativeElement,jt=(0,S.CB)(Ee,this.options,this.optionGroups),Gt=tt._getHostElement();dt.scrollTop=0===Ee&&1===jt?0:(0,S.jH)(Gt.offsetTop,Gt.offsetHeight,dt.scrollTop,dt.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(Ee){return new ae(this,Ee)}_getOverlayWidth(Ee){return"auto"===this.panelWidth?(Ee instanceof n.xu?Ee.elementRef:Ee||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(Ee){this._hideSingleSelectionIndicator=(0,ue.Ig)(Ee),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const Ee of this.options)Ee._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(){let Ee;return function(dt){return(Ee||(Ee=R.n5z(Ye)))(dt||Ye)}}();static#t=this.\u0275cmp=R.Xpm({type:Ye,selectors:[["mat-select"]],contentQueries:function(tt,dt,jt){if(1&tt&&(R.Suo(jt,Be,5),R.Suo(jt,S.ey,5),R.Suo(jt,S.K7,5)),2&tt){let Gt;R.iGM(Gt=R.CRH())&&(dt.customTrigger=Gt.first),R.iGM(Gt=R.CRH())&&(dt.options=Gt),R.iGM(Gt=R.CRH())&&(dt.optionGroups=Gt)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox","ngSkipHydration","",1,"mat-mdc-select"],hostVars:19,hostBindings:function(tt,dt){1&tt&&R.NdJ("keydown",function(Gt){return dt._handleKeydown(Gt)})("focus",function(){return dt._onFocus()})("blur",function(){return dt._onBlur()}),2&tt&&(R.uIk("id",dt.id)("tabindex",dt.tabIndex)("aria-controls",dt.panelOpen?dt.id+"-panel":null)("aria-expanded",dt.panelOpen)("aria-label",dt.ariaLabel||null)("aria-required",dt.required.toString())("aria-disabled",dt.disabled.toString())("aria-invalid",dt.errorState)("aria-activedescendant",dt._getAriaActiveDescendant()),R.ekj("mat-mdc-select-disabled",dt.disabled)("mat-mdc-select-invalid",dt.errorState)("mat-mdc-select-required",dt.required)("mat-mdc-select-empty",dt.empty)("mat-mdc-select-multiple",dt.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",panelWidth:"panelWidth",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matSelect"],features:[R._Bn([{provide:te.Eo,useExisting:Ye},{provide:S.HF,useExisting:Ye}]),R.qOj],ngContentSelectors:an,decls:11,vars:10,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(tt,dt){if(1&tt&&(R.F$t(kt),R.TgZ(0,"div",0,1),R.NdJ("click",function(){return dt.toggle()}),R.TgZ(3,"div",2),R.YNc(4,$e,2,1,"span",3),R.YNc(5,Dt,3,2,"span",4),R.qZA(),R.TgZ(6,"div",5)(7,"div",6),R.O4$(),R.TgZ(8,"svg",7),R._UZ(9,"path",8),R.qZA()()()(),R.YNc(10,Ut,3,9,"ng-template",9),R.NdJ("backdropClick",function(){return dt.close()})("attach",function(){return dt._onAttached()})("detach",function(){return dt.close()})),2&tt){const jt=R.MAs(1);R.xp6(3),R.Q6J("ngSwitch",dt.empty),R.uIk("id",dt._valueId),R.xp6(1),R.Q6J("ngSwitchCase",!0),R.xp6(1),R.Q6J("ngSwitchCase",!1),R.xp6(5),R.Q6J("cdkConnectedOverlayPanelClass",dt._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",dt._scrollStrategy)("cdkConnectedOverlayOrigin",dt._preferredOverlayOrigin||jt)("cdkConnectedOverlayOpen",dt.panelOpen)("cdkConnectedOverlayPositions",dt._positions)("cdkConnectedOverlayWidth",dt._overlayWidth)}},dependencies:[l.mk,l.RF,l.n9,l.ED,n.pI,n.xu],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[Xe.transformPanel]},changeDetection:0})}return Ye})(),It=(()=>{class Ye{static#e=this.\u0275fac=function(tt){return new(tt||Ye)};static#t=this.\u0275mod=R.oAB({type:Ye});static#n=this.\u0275inj=R.cJS({providers:[$],imports:[l.ez,n.U8,S.Ng,S.BQ,Se.ZD,te.lN,S.Ng,S.BQ]})}return Ye})()},2599:(Mt,je,g)=>{g.d(je,{Rr:()=>Ue,rP:()=>ve});var n=g(5879),l=g(6223),R=g(4191),S=g(3680),te=g(2495),Se=g(6814);const le=["switch"];function ke(H,xe){1&H&&(n.TgZ(0,"div",12),n.O4$(),n.TgZ(1,"svg",13),n._UZ(2,"path",14),n.qZA(),n.TgZ(3,"svg",15),n._UZ(4,"path",16),n.qZA()())}const ue=["*"],ie=new n.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),we={provide:l.JU,useExisting:(0,n.Gpc)(()=>Ue),multi:!0};class fe{constructor(xe,oe){this.source=xe,this.checked=oe}}let me=0;const Te=(0,S.sb)((0,S.pj)((0,S.Kr)((0,S.Id)(class{constructor(H){this._elementRef=H}}))));let Le=(()=>{class H extends Te{get required(){return this._required}set required(oe){this._required=(0,te.Ig)(oe)}get checked(){return this._checked}set checked(oe){this._checked=(0,te.Ig)(oe),this._changeDetectorRef.markForCheck()}get hideIcon(){return this._hideIcon}set hideIcon(oe){this._hideIcon=(0,te.Ig)(oe)}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(oe,Ie,Re,$e,ft,bt,Dt){super(oe),this._focusMonitor=Ie,this._changeDetectorRef=Re,this.defaults=ft,this._onChange=Ut=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this._hideIcon=!1,this.change=new n.vpe,this.toggleChange=new n.vpe,this.tabIndex=parseInt($e)||0,this.color=this.defaultColor=ft.color||"accent",this._noopAnimations="NoopAnimations"===bt,this.id=this._uniqueId=`${Dt}${++me}`,this._hideIcon=ft.hideIcon??!1}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(oe=>{"keyboard"===oe||"program"===oe?(this._focused=!0,this._changeDetectorRef.markForCheck()):oe||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(oe){this.checked=!!oe}registerOnChange(oe){this._onChange=oe}registerOnTouched(oe){this._onTouched=oe}setDisabledState(oe){this.disabled=oe,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}static#e=this.\u0275fac=function(Ie){n.$Z()};static#t=this.\u0275dir=n.lG2({type:H,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked",hideIcon:"hideIcon"},outputs:{change:"change",toggleChange:"toggleChange"},features:[n.qOj]})}return H})(),Ue=(()=>{class H extends Le{get buttonId(){return`${this.id||this._uniqueId}-button`}constructor(oe,Ie,Re,$e,ft,bt){super(oe,Ie,Re,$e,ft,bt,"mat-mdc-slide-toggle-"),this._labelId=this._uniqueId+"-label"}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new fe(this,this.checked)))}focus(){this._switchElement.nativeElement.focus()}_createChangeEvent(oe){return new fe(this,oe)}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static#e=this.\u0275fac=function(Ie){return new(Ie||H)(n.Y36(n.SBq),n.Y36(R.tE),n.Y36(n.sBO),n.$8M("tabindex"),n.Y36(ie),n.Y36(n.QbO,8))};static#t=this.\u0275cmp=n.Xpm({type:H,selectors:[["mat-slide-toggle"]],viewQuery:function(Ie,Re){if(1&Ie&&n.Gf(le,5),2&Ie){let $e;n.iGM($e=n.CRH())&&(Re._switchElement=$e.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:11,hostBindings:function(Ie,Re){2&Ie&&(n.Ikx("id",Re.id),n.uIk("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),n.ekj("mat-mdc-slide-toggle-focused",Re._focused)("mat-mdc-slide-toggle-checked",Re.checked)("_mat-animation-noopable",Re._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[n._Bn([we]),n.qOj],ngContentSelectors:ue,decls:13,vars:25,consts:[[1,"mdc-form-field"],["role","switch","type","button",1,"mdc-switch",3,"tabIndex","disabled","click"],["switch",""],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],["class","mdc-switch__icons",4,"ngIf"],[1,"mdc-label",3,"for","click"],[1,"mdc-switch__icons"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(Ie,Re){if(1&Ie&&(n.F$t(),n.TgZ(0,"div",0)(1,"button",1,2),n.NdJ("click",function(){return Re._handleClick()}),n._UZ(3,"div",3),n.TgZ(4,"div",4)(5,"div",5)(6,"div",6),n._UZ(7,"div",7),n.qZA(),n.TgZ(8,"div",8),n._UZ(9,"div",9),n.qZA(),n.YNc(10,ke,5,0,"div",10),n.qZA()()(),n.TgZ(11,"label",11),n.NdJ("click",function(ft){return ft.stopPropagation()}),n.Hsn(12),n.qZA()()),2&Ie){const $e=n.MAs(2);n.ekj("mdc-form-field--align-end","before"==Re.labelPosition),n.xp6(1),n.ekj("mdc-switch--selected",Re.checked)("mdc-switch--unselected",!Re.checked)("mdc-switch--checked",Re.checked)("mdc-switch--disabled",Re.disabled),n.Q6J("tabIndex",Re.tabIndex)("disabled",Re.disabled),n.uIk("id",Re.buttonId)("name",Re.name)("aria-label",Re.ariaLabel)("aria-labelledby",Re._getAriaLabelledBy())("aria-describedby",Re.ariaDescribedby)("aria-required",Re.required||null)("aria-checked",Re.checked),n.xp6(8),n.Q6J("matRippleTrigger",$e)("matRippleDisabled",Re.disableRipple||Re.disabled)("matRippleCentered",!0),n.xp6(1),n.Q6J("ngIf",!Re.hideIcon),n.xp6(1),n.Q6J("for",Re.buttonId),n.uIk("id",Re._labelId)}},dependencies:[S.wG,Se.O5],styles:['.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mdc-switch{width:var(--mdc-switch-track-width);--mdc-switch-disabled-handle-opacity:0.38;--mdc-switch-disabled-selected-icon-opacity:0.38;--mdc-switch-disabled-track-opacity:0.12;--mdc-switch-disabled-unselected-icon-opacity:0.38;--mdc-switch-handle-height:20px;--mdc-switch-handle-shape:10px;--mdc-switch-handle-width:20px;--mdc-switch-selected-icon-size:18px;--mdc-switch-track-height:14px;--mdc-switch-track-shape:7px;--mdc-switch-track-width:36px;--mdc-switch-unselected-icon-size:18px;--mdc-switch-state-layer-size:40px;--mdc-switch-selected-focus-state-layer-opacity:0.12;--mdc-switch-selected-hover-state-layer-opacity:0.04;--mdc-switch-selected-pressed-state-layer-opacity:0.1;--mdc-switch-unselected-focus-state-layer-opacity:0.12;--mdc-switch-unselected-hover-state-layer-opacity:0.04;--mdc-switch-unselected-pressed-state-layer-opacity:0.1}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color)}.mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation)}.mdc-switch .mdc-switch__focus-ring-wrapper,.mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height)}.mdc-switch:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity)}.mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape)}.mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size);height:var(--mdc-switch-unselected-icon-size)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size);width:var(--mdc-switch-state-layer-size)}.mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height)}.mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color)}.mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color)}.mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mat-mdc-slide-toggle .mdc-label{font-family:var(--mat-slide-toggle-label-text-font);font-size:var(--mat-slide-toggle-label-text-size);letter-spacing:var(--mat-slide-toggle-label-text-tracking);line-height:var(--mat-slide-toggle-label-text-line-height);font-weight:var(--mat-slide-toggle-label-text-weight)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}'],encapsulation:2,changeDetection:0})}return H})(),Je=(()=>{class H{static#e=this.\u0275fac=function(Ie){return new(Ie||H)};static#t=this.\u0275mod=n.oAB({type:H});static#n=this.\u0275inj=n.cJS({})}return H})(),ve=(()=>{class H{static#e=this.\u0275fac=function(Ie){return new(Ie||H)};static#t=this.\u0275mod=n.oAB({type:H});static#n=this.\u0275inj=n.cJS({imports:[Je,S.BQ,S.si,Se.ez,Je,S.BQ]})}return H})()},2202:(Mt,je,g)=>{g.d(je,{$5:()=>Ut,KP:()=>an,f9:()=>kt,pH:()=>Re});var n=g(9388),l=g(2495),R=g(2831),S=g(5879),te=g(3680),Se=g(6814),le=g(6223),ke=g(8645);const ue=["knob"],ie=["valueIndicatorContainer"];function we(Xe,Ct){if(1&Xe&&(S.TgZ(0,"div",4,5)(2,"div",6)(3,"span",7),S._uU(4),S.qZA()()()),2&Xe){const W=S.oxw();S.xp6(4),S.Oqu(W.valueIndicatorText)}}const fe=["trackActive"];function me(Xe,Ct){if(1&Xe&&S._UZ(0,"div"),2&Xe){const W=Ct.$implicit,P=Ct.index,se=S.oxw(3);S.Tol(0===W?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive"),S.Udp("transform",se._calcTickMarkTransform(P))}}function Te(Xe,Ct){if(1&Xe&&(S.ynx(0),S.YNc(1,me,1,4,"div",11),S.BQk()),2&Xe){const W=S.oxw(2);S.xp6(1),S.Q6J("ngForOf",W._tickMarks)}}function Le(Xe,Ct){if(1&Xe&&(S.TgZ(0,"div",8,9),S.YNc(2,Te,2,1,"ng-container",10),S.qZA()),2&Xe){const W=S.oxw();S.xp6(2),S.Q6J("ngIf",W._cachedWidth)}}function Ue(Xe,Ct){if(1&Xe&&S._UZ(0,"mat-slider-visual-thumb",7),2&Xe){const W=S.oxw();S.Q6J("discrete",W.discrete)("thumbPosition",1)("valueIndicatorText",W.startValueIndicatorText)}}const be=["*"],ye=new S.OlP("_MatSlider"),Je=new S.OlP("_MatSliderThumb"),ve=new S.OlP("_MatSliderRangeThumb"),H=new S.OlP("_MatSliderVisualThumb");let oe=(()=>{class Xe{constructor(W,P,se,L){this._cdr=W,this._ngZone=P,this._slider=L,this._isHovered=!1,this._isActive=!1,this._isValueIndicatorVisible=!1,this._onPointerMove=Ce=>{if(this._sliderInput._isFocused)return;const G=this._hostElement.getBoundingClientRect(),$=this._slider._isCursorOnSliderThumb(Ce,G);this._isHovered=$,$?this._showHoverRipple():this._hideRipple(this._hoverRippleRef)},this._onMouseLeave=()=>{this._isHovered=!1,this._hideRipple(this._hoverRippleRef)},this._onFocus=()=>{this._hideRipple(this._hoverRippleRef),this._showFocusRipple(),this._hostElement.classList.add("mdc-slider__thumb--focused")},this._onBlur=()=>{this._isActive||this._hideRipple(this._focusRippleRef),this._isHovered&&this._showHoverRipple(),this._hostElement.classList.remove("mdc-slider__thumb--focused")},this._onDragStart=Ce=>{0===Ce.button&&(this._isActive=!0,this._showActiveRipple())},this._onDragEnd=()=>{this._isActive=!1,this._hideRipple(this._activeRippleRef),this._sliderInput._isFocused||this._hideRipple(this._focusRippleRef)},this._hostElement=se.nativeElement}ngAfterViewInit(){this._ripple.radius=24,this._sliderInput=this._slider._getInput(this.thumbPosition),this._sliderInputEl=this._sliderInput._hostElement;const W=this._sliderInputEl;this._ngZone.runOutsideAngular(()=>{W.addEventListener("pointermove",this._onPointerMove),W.addEventListener("pointerdown",this._onDragStart),W.addEventListener("pointerup",this._onDragEnd),W.addEventListener("pointerleave",this._onMouseLeave),W.addEventListener("focus",this._onFocus),W.addEventListener("blur",this._onBlur)})}ngOnDestroy(){const W=this._sliderInputEl;W.removeEventListener("pointermove",this._onPointerMove),W.removeEventListener("pointerdown",this._onDragStart),W.removeEventListener("pointerup",this._onDragEnd),W.removeEventListener("pointerleave",this._onMouseLeave),W.removeEventListener("focus",this._onFocus),W.removeEventListener("blur",this._onBlur)}_showHoverRipple(){this._isShowingRipple(this._hoverRippleRef)||(this._hoverRippleRef=this._showRipple({enterDuration:0,exitDuration:0}),this._hoverRippleRef?.element.classList.add("mat-mdc-slider-hover-ripple"))}_showFocusRipple(){this._isShowingRipple(this._focusRippleRef)||(this._focusRippleRef=this._showRipple({enterDuration:0,exitDuration:0},!0),this._focusRippleRef?.element.classList.add("mat-mdc-slider-focus-ripple"))}_showActiveRipple(){this._isShowingRipple(this._activeRippleRef)||(this._activeRippleRef=this._showRipple({enterDuration:225,exitDuration:400}),this._activeRippleRef?.element.classList.add("mat-mdc-slider-active-ripple"))}_isShowingRipple(W){return 0===W?.state||1===W?.state}_showRipple(W,P){if(!this._slider.disabled&&(this._showValueIndicator(),this._slider._isRange&&this._slider._getThumb(1===this.thumbPosition?2:1)._showValueIndicator(),!this._slider._globalRippleOptions?.disabled||P))return this._ripple.launch({animation:this._slider._noopAnimations?{enterDuration:0,exitDuration:0}:W,centered:!0,persistent:!0})}_hideRipple(W){if(W?.fadeOut(),this._isShowingAnyRipple())return;this._slider._isRange||this._hideValueIndicator();const P=this._getSibling();P._isShowingAnyRipple()||(this._hideValueIndicator(),P._hideValueIndicator())}_showValueIndicator(){this._hostElement.classList.add("mdc-slider__thumb--with-indicator")}_hideValueIndicator(){this._hostElement.classList.remove("mdc-slider__thumb--with-indicator")}_getSibling(){return this._slider._getThumb(1===this.thumbPosition?2:1)}_getValueIndicatorContainer(){return this._valueIndicatorContainer?.nativeElement}_getKnob(){return this._knob.nativeElement}_isShowingAnyRipple(){return this._isShowingRipple(this._hoverRippleRef)||this._isShowingRipple(this._focusRippleRef)||this._isShowingRipple(this._activeRippleRef)}static#e=this.\u0275fac=function(P){return new(P||Xe)(S.Y36(S.sBO),S.Y36(S.R0b),S.Y36(S.SBq),S.Y36(ye))};static#t=this.\u0275cmp=S.Xpm({type:Xe,selectors:[["mat-slider-visual-thumb"]],viewQuery:function(P,se){if(1&P&&(S.Gf(te.wG,5),S.Gf(ue,5),S.Gf(ie,5)),2&P){let L;S.iGM(L=S.CRH())&&(se._ripple=L.first),S.iGM(L=S.CRH())&&(se._knob=L.first),S.iGM(L=S.CRH())&&(se._valueIndicatorContainer=L.first)}},hostAttrs:[1,"mdc-slider__thumb","mat-mdc-slider-visual-thumb"],inputs:{discrete:"discrete",thumbPosition:"thumbPosition",valueIndicatorText:"valueIndicatorText"},features:[S._Bn([{provide:H,useExisting:Xe}])],decls:4,vars:2,consts:[["class","mdc-slider__value-indicator-container",4,"ngIf"],[1,"mdc-slider__thumb-knob"],["knob",""],["matRipple","",1,"mat-mdc-focus-indicator",3,"matRippleDisabled"],[1,"mdc-slider__value-indicator-container"],["valueIndicatorContainer",""],[1,"mdc-slider__value-indicator"],[1,"mdc-slider__value-indicator-text"]],template:function(P,se){1&P&&(S.YNc(0,we,5,1,"div",0),S._UZ(1,"div",1,2)(3,"div",3)),2&P&&(S.Q6J("ngIf",se.discrete),S.xp6(3),S.Q6J("matRippleDisabled",!0))},dependencies:[Se.O5,te.wG],styles:[".mat-mdc-slider-visual-thumb .mat-ripple{height:100%;width:100%}.mat-mdc-slider .mdc-slider__tick-marks{justify-content:start}.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--inactive{position:absolute;left:2px}"],encapsulation:2,changeDetection:0})}return Xe})();const Ie=(0,te.pj)((0,te.Kr)(class{constructor(Xe){this._elementRef=Xe}}),"primary");let Re=(()=>{class Xe extends Ie{get disabled(){return this._disabled}set disabled(W){this._disabled=(0,l.Ig)(W);const P=this._getInput(2),se=this._getInput(1);P&&(P.disabled=this._disabled),se&&(se.disabled=this._disabled)}get discrete(){return this._discrete}set discrete(W){this._discrete=(0,l.Ig)(W),this._updateValueIndicatorUIs()}get showTickMarks(){return this._showTickMarks}set showTickMarks(W){this._showTickMarks=(0,l.Ig)(W)}get min(){return this._min}set min(W){const P=(0,l.su)(W,this._min);this._min!==P&&this._updateMin(P)}_updateMin(W){const P=this._min;this._min=W,this._isRange?this._updateMinRange({old:P,new:W}):this._updateMinNonRange(W),this._onMinMaxOrStepChange()}_updateMinRange(W){const P=this._getInput(2),se=this._getInput(1),L=P.value,Ce=se.value;se.min=W.new,P.min=Math.max(W.new,se.value),se.max=Math.min(P.max,P.value),se._updateWidthInactive(),P._updateWidthInactive(),W.newW.old?this._onTranslateXChangeBySideEffect(se,P):this._onTranslateXChangeBySideEffect(P,se),L!==P.value&&this._onValueChange(P),Ce!==se.value&&this._onValueChange(se)}_updateMaxNonRange(W){const P=this._getInput(2);if(P){const se=P.value;P.max=W,P._updateThumbUIByValue(),this._updateTrackUI(P),se!==P.value&&this._onValueChange(P)}}get step(){return this._step}set step(W){const P=(0,l.su)(W,this._step);this._step!==P&&this._updateStep(P)}_updateStep(W){this._step=W,this._isRange?this._updateStepRange():this._updateStepNonRange(),this._onMinMaxOrStepChange()}_updateStepRange(){const W=this._getInput(2),P=this._getInput(1),se=W.value,L=P.value,Ce=P.value;W.min=this._min,P.max=this._max,W.step=this._step,P.step=this._step,this._platform.SAFARI&&(W.value=W.value,P.value=P.value),W.min=Math.max(this._min,P.value),P.max=Math.min(this._max,W.value),P._updateWidthInactive(),W._updateWidthInactive(),W.value`${$}`,this._rippleRadius=24,this.startValueIndicatorText="",this.endValueIndicatorText="",this._isRange=!1,this._isRtl=!1,this._hasViewInitialized=!1,this._tickMarkTrackWidth=0,this._hasAnimation=!1,this._resizeTimer=null,this._platform=(0,S.f3M)(R.t4),this._knobRadius=8,this._thumbsOverlap=!1,this._noopAnimations="NoopAnimations"===G,this._dirChangeSubscription=this._dir.change.subscribe(()=>this._onDirChange()),this._isRtl="rtl"===this._dir.value}ngAfterViewInit(){this._platform.isBrowser&&this._updateDimensions();const W=this._getInput(2),P=this._getInput(1);this._isRange=!!W&&!!P,this._cdr.detectChanges();const se=this._getThumb(2);this._rippleRadius=se._ripple.radius,this._inputPadding=this._rippleRadius-this._knobRadius,this._inputOffset=this._knobRadius,this._isRange?this._initUIRange(W,P):this._initUINonRange(W),this._updateTrackUI(W),this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._observeHostResize(),this._cdr.detectChanges()}_initUINonRange(W){W.initProps(),W.initUI(),this._updateValueIndicatorUI(W),this._hasViewInitialized=!0,W._updateThumbUIByValue()}_initUIRange(W,P){W.initProps(),W.initUI(),P.initProps(),P.initUI(),W._updateMinMax(),P._updateMinMax(),W._updateStaticStyles(),P._updateStaticStyles(),this._updateValueIndicatorUIs(),this._hasViewInitialized=!0,W._updateThumbUIByValue(),P._updateThumbUIByValue()}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._resizeObserver?.disconnect(),this._resizeObserver=null}_onDirChange(){this._isRtl="rtl"===this._dir.value,this._isRange?this._onDirChangeRange():this._onDirChangeNonRange(),this._updateTickMarkUI()}_onDirChangeRange(){const W=this._getInput(2),P=this._getInput(1);W._setIsLeftThumb(),P._setIsLeftThumb(),W.translateX=W._calcTranslateXByValue(),P.translateX=P._calcTranslateXByValue(),W._updateStaticStyles(),P._updateStaticStyles(),W._updateWidthInactive(),P._updateWidthInactive(),W._updateThumbUIByValue(),P._updateThumbUIByValue()}_onDirChangeNonRange(){this._getInput(2)._updateThumbUIByValue()}_observeHostResize(){typeof ResizeObserver>"u"||!ResizeObserver||this._ngZone.runOutsideAngular(()=>{this._resizeObserver=new ResizeObserver(()=>{this._isActive()||(this._resizeTimer&&clearTimeout(this._resizeTimer),this._onResize())}),this._resizeObserver.observe(this._elementRef.nativeElement)})}_isActive(){return this._getThumb(1)._isActive||this._getThumb(2)._isActive}_getValue(W=2){const P=this._getInput(W);return P?P.value:this.min}_skipUpdate(){return!(!this._getInput(1)?._skipUIUpdate&&!this._getInput(2)?._skipUIUpdate)}_updateDimensions(){this._cachedWidth=this._elementRef.nativeElement.offsetWidth,this._cachedLeft=this._elementRef.nativeElement.getBoundingClientRect().left}_setTrackActiveStyles(W){const P=this._trackActive.nativeElement.style;P.left=W.left,P.right=W.right,P.transformOrigin=W.transformOrigin,P.transform=W.transform}_calcTickMarkTransform(W){return`translateX(${W*(this._tickMarkTrackWidth/(this._tickMarks.length-1))}px`}_onTranslateXChange(W){this._hasViewInitialized&&(this._updateThumbUI(W),this._updateTrackUI(W),this._updateOverlappingThumbUI(W))}_onTranslateXChangeBySideEffect(W,P){this._hasViewInitialized&&(W._updateThumbUIByValue(),P._updateThumbUIByValue())}_onValueChange(W){this._hasViewInitialized&&(this._updateValueIndicatorUI(W),this._updateTickMarkUI(),this._cdr.detectChanges())}_onMinMaxOrStepChange(){this._hasViewInitialized&&(this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.markForCheck())}_onResize(){if(this._hasViewInitialized){if(this._updateDimensions(),this._isRange){const W=this._getInput(2),P=this._getInput(1);W._updateThumbUIByValue(),P._updateThumbUIByValue(),W._updateStaticStyles(),P._updateStaticStyles(),W._updateMinMax(),P._updateMinMax(),W._updateWidthInactive(),P._updateWidthInactive()}else{const W=this._getInput(2);W&&W._updateThumbUIByValue()}this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.detectChanges()}}_areThumbsOverlapping(){const W=this._getInput(1),P=this._getInput(2);return!(!W||!P)&&P.translateX-W.translateX<20}_updateOverlappingThumbClassNames(W){const P=W.getSibling(),se=this._getThumb(W.thumbPosition);this._getThumb(P.thumbPosition)._hostElement.classList.remove("mdc-slider__thumb--top"),se._hostElement.classList.toggle("mdc-slider__thumb--top",this._thumbsOverlap)}_updateOverlappingThumbUI(W){!this._isRange||this._skipUpdate()||this._thumbsOverlap!==this._areThumbsOverlapping()&&(this._thumbsOverlap=!this._thumbsOverlap,this._updateOverlappingThumbClassNames(W))}_updateThumbUI(W){this._skipUpdate()||(this._getThumb(2===W.thumbPosition?2:1)._hostElement.style.transform=`translateX(${W.translateX}px)`)}_updateValueIndicatorUI(W){if(this._skipUpdate())return;const P=this.displayWith(W.value);if(this._hasViewInitialized?W._valuetext=P:W._hostElement.setAttribute("aria-valuetext",P),this.discrete){1===W.thumbPosition?this.startValueIndicatorText=P:this.endValueIndicatorText=P;const se=this._getThumb(W.thumbPosition);P.length<3?se._hostElement.classList.add("mdc-slider__thumb--short-value"):se._hostElement.classList.remove("mdc-slider__thumb--short-value")}}_updateValueIndicatorUIs(){const W=this._getInput(2),P=this._getInput(1);W&&this._updateValueIndicatorUI(W),P&&this._updateValueIndicatorUI(P)}_updateTickMarkTrackUI(){if(!this.showTickMarks||this._skipUpdate())return;const W=this._step&&this._step>0?this._step:1,se=(Math.floor(this.max/W)*W-this.min)/(this.max-this.min);this._tickMarkTrackWidth=this._cachedWidth*se-6}_updateTrackUI(W){this._skipUpdate()||(this._isRange?this._updateTrackUIRange(W):this._updateTrackUINonRange(W))}_updateTrackUIRange(W){const P=W.getSibling();if(!P||!this._cachedWidth)return;const se=Math.abs(P.translateX-W.translateX)/this._cachedWidth;this._setTrackActiveStyles(W._isLeftThumb&&this._cachedWidth?{left:"auto",right:this._cachedWidth-P.translateX+"px",transformOrigin:"right",transform:`scaleX(${se})`}:{left:`${P.translateX}px`,right:"auto",transformOrigin:"left",transform:`scaleX(${se})`})}_updateTrackUINonRange(W){this._setTrackActiveStyles(this._isRtl?{left:"auto",right:"0px",transformOrigin:"right",transform:`scaleX(${1-W.fillPercentage})`}:{left:"0px",right:"auto",transformOrigin:"left",transform:`scaleX(${W.fillPercentage})`})}_updateTickMarkUI(){if(!this.showTickMarks||void 0===this.step||void 0===this.min||void 0===this.max)return;const W=this.step>0?this.step:1;this._isRange?this._updateTickMarkUIRange(W):this._updateTickMarkUINonRange(W),this._isRtl&&this._tickMarks.reverse()}_updateTickMarkUINonRange(W){const P=this._getValue();let se=Math.max(Math.round((P-this.min)/W),0),L=Math.max(Math.round((this.max-P)/W),0);this._isRtl?se++:L++,this._tickMarks=Array(se).fill(0).concat(Array(L).fill(1))}_updateTickMarkUIRange(W){const P=this._getValue(),se=this._getValue(1),L=Math.max(Math.floor((se-this.min)/W),0),Ce=Math.max(Math.floor((P-se)/W)+1,0),G=Math.max(Math.floor((this.max-P)/W),0);this._tickMarks=Array(L).fill(1).concat(Array(Ce).fill(0),Array(G).fill(1))}_getInput(W){return 2===W&&this._input?this._input:this._inputs?.length?1===W?this._inputs.first:this._inputs.last:void 0}_getThumb(W){return 2===W?this._thumbs?.last:this._thumbs?.first}_setTransition(W){this._hasAnimation=!this._platform.IOS&&W&&!this._noopAnimations,this._elementRef.nativeElement.classList.toggle("mat-mdc-slider-with-animation",this._hasAnimation)}_isCursorOnSliderThumb(W,P){const se=P.width/2,$=W.clientY-(P.y+se);return Math.pow(W.clientX-(P.x+se),2)+Math.pow($,2)Ut),multi:!0},Dt={provide:le.JU,useExisting:(0,S.Gpc)(()=>kt),multi:!0};let Ut=(()=>{class Xe{get value(){return(0,l.su)(this._hostElement.value)}set value(W){const P=(0,l.su)(W).toString();this._hasSetInitialValue?this._isActive||(this._hostElement.value=P,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges(),this._slider._cdr.markForCheck()):this._initialValue=P}get translateX(){return this._slider.min>=this._slider.max?(this._translateX=0,this._translateX):(void 0===this._translateX&&(this._translateX=this._calcTranslateXByValue()),this._translateX)}set translateX(W){this._translateX=W}get min(){return(0,l.su)(this._hostElement.min)}set min(W){this._hostElement.min=(0,l.su)(W).toString(),this._cdr.detectChanges()}get max(){return(0,l.su)(this._hostElement.max)}set max(W){this._hostElement.max=(0,l.su)(W).toString(),this._cdr.detectChanges()}get step(){return(0,l.su)(this._hostElement.step)}set step(W){this._hostElement.step=(0,l.su)(W).toString(),this._cdr.detectChanges()}get disabled(){return(0,l.Ig)(this._hostElement.disabled)}set disabled(W){this._hostElement.disabled=(0,l.Ig)(W),this._cdr.detectChanges(),this._slider.disabled!==this.disabled&&(this._slider.disabled=this.disabled)}get percentage(){return this._slider.min>=this._slider.max?this._slider._isRtl?1:0:(this.value-this._slider.min)/(this._slider.max-this._slider.min)}get fillPercentage(){return this._slider._cachedWidth?0===this._translateX?0:this.translateX/this._slider._cachedWidth:this._slider._isRtl?1:0}_setIsFocused(W){this._isFocused=W}constructor(W,P,se,L){this._ngZone=W,this._elementRef=P,this._cdr=se,this._slider=L,this.valueChange=new S.vpe,this.dragStart=new S.vpe,this.dragEnd=new S.vpe,this.thumbPosition=2,this._knobRadius=8,this._isActive=!1,this._isFocused=!1,this._hasSetInitialValue=!1,this._destroyed=new ke.x,this._skipUIUpdate=!1,this._onTouchedFn=()=>{},this._isControlInitialized=!1,this._platform=(0,S.f3M)(R.t4),this._hostElement=P.nativeElement,this._ngZone.runOutsideAngular(()=>{this._hostElement.addEventListener("pointerdown",this._onPointerDown.bind(this)),this._hostElement.addEventListener("pointermove",this._onPointerMove.bind(this)),this._hostElement.addEventListener("pointerup",this._onPointerUp.bind(this))})}ngOnDestroy(){this._hostElement.removeEventListener("pointerdown",this._onPointerDown),this._hostElement.removeEventListener("pointermove",this._onPointerMove),this._hostElement.removeEventListener("pointerup",this._onPointerUp),this._destroyed.next(),this._destroyed.complete(),this.dragStart.complete(),this.dragEnd.complete()}initProps(){this._updateWidthInactive(),this.disabled!==this._slider.disabled&&(this._slider.disabled=!0),this.step=this._slider.step,this.min=this._slider.min,this.max=this._slider.max,this._initValue()}initUI(){this._updateThumbUIByValue()}_initValue(){this._hasSetInitialValue=!0,void 0===this._initialValue?this.value=this._getDefaultValue():(this._hostElement.value=this._initialValue,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges())}_getDefaultValue(){return this.min}_onBlur(){this._setIsFocused(!1),this._onTouchedFn()}_onFocus(){this._setIsFocused(!0)}_onChange(){this.valueChange.emit(this.value),this._isActive&&this._updateThumbUIByValue({withAnimation:!0})}_onInput(){this._onChangeFn?.(this.value),(this._slider.step||!this._isActive)&&this._updateThumbUIByValue({withAnimation:!0}),this._slider._onValueChange(this)}_onNgControlValueChange(){(!this._isActive||!this._isFocused)&&(this._slider._onValueChange(this),this._updateThumbUIByValue()),this._slider.disabled=this._formControl.disabled}_onPointerDown(W){if(!this.disabled&&0===W.button){if(this._platform.IOS){const P=this._slider._isCursorOnSliderThumb(W,this._slider._getThumb(this.thumbPosition)._hostElement.getBoundingClientRect());return this._isActive=P,this._updateWidthActive(),void this._slider._updateDimensions()}this._isActive=!0,this._setIsFocused(!0),this._updateWidthActive(),this._slider._updateDimensions(),this._slider.step||this._updateThumbUIByPointerEvent(W,{withAnimation:!0}),this.disabled||(this._handleValueCorrection(W),this.dragStart.emit({source:this,parent:this._slider,value:this.value}))}}_handleValueCorrection(W){this._skipUIUpdate=!0,setTimeout(()=>{this._skipUIUpdate=!1,this._fixValue(W)},0)}_fixValue(W){const P=W.clientX-this._slider._cachedLeft,se=this._slider._cachedWidth,L=0===this._slider.step?1:this._slider.step,Ce=Math.floor((this._slider.max-this._slider.min)/L),Be=Math.round((this._slider._isRtl?1-P/se:P/se)*Ce)/Ce*(this._slider.max-this._slider.min)+this._slider.min,ae=Math.round(Be/L)*L;if(ae===this.value)return this._slider._onValueChange(this),void(this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(W,{withAnimation:this._slider._hasAnimation}));this.value=ae,this.valueChange.emit(this.value),this._onChangeFn?.(this.value),this._slider._onValueChange(this),this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(W,{withAnimation:this._slider._hasAnimation})}_onPointerMove(W){!this._slider.step&&this._isActive&&this._updateThumbUIByPointerEvent(W)}_onPointerUp(){this._isActive&&(this._isActive=!1,this.dragEnd.emit({source:this,parent:this._slider,value:this.value}),setTimeout(()=>this._updateWidthInactive(),this._platform.IOS?10:0))}_clamp(W){return Math.max(Math.min(W,this._slider._cachedWidth),0)}_calcTranslateXByValue(){return this._slider._isRtl?(1-this.percentage)*this._slider._cachedWidth:this.percentage*this._slider._cachedWidth}_calcTranslateXByPointerEvent(W){return W.clientX-this._slider._cachedLeft}_updateWidthActive(){this._hostElement.style.padding=`0 ${this._slider._inputPadding}px`,this._hostElement.style.width=`calc(100% + ${this._slider._inputPadding}px)`}_updateWidthInactive(){this._hostElement.style.padding="0px",this._hostElement.style.width="calc(100% + 48px)",this._hostElement.style.left="-24px"}_updateThumbUIByValue(W){this.translateX=this._clamp(this._calcTranslateXByValue()),this._updateThumbUI(W)}_updateThumbUIByPointerEvent(W,P){this.translateX=this._clamp(this._calcTranslateXByPointerEvent(W)),this._updateThumbUI(P)}_updateThumbUI(W){this._slider._setTransition(!!W?.withAnimation),this._slider._onTranslateXChange(this)}writeValue(W){(this._isControlInitialized||null!==W)&&(this.value=W)}registerOnChange(W){this._onChangeFn=W,this._isControlInitialized=!0}registerOnTouched(W){this._onTouchedFn=W}setDisabledState(W){this.disabled=W}focus(){this._hostElement.focus()}blur(){this._hostElement.blur()}static#e=this.\u0275fac=function(P){return new(P||Xe)(S.Y36(S.R0b),S.Y36(S.SBq),S.Y36(S.sBO),S.Y36(ye))};static#t=this.\u0275dir=S.lG2({type:Xe,selectors:[["input","matSliderThumb",""]],hostAttrs:["type","range",1,"mdc-slider__input"],hostVars:1,hostBindings:function(P,se){1&P&&S.NdJ("change",function(){return se._onChange()})("input",function(){return se._onInput()})("blur",function(){return se._onBlur()})("focus",function(){return se._onFocus()}),2&P&&S.uIk("aria-valuetext",se._valuetext)},inputs:{value:"value"},outputs:{valueChange:"valueChange",dragStart:"dragStart",dragEnd:"dragEnd"},exportAs:["matSliderThumb"],features:[S._Bn([bt,{provide:Je,useExisting:Xe}])]})}return Xe})(),kt=(()=>{class Xe extends Ut{getSibling(){return this._sibling||(this._sibling=this._slider._getInput(this._isEndThumb?1:2)),this._sibling}getMinPos(){const W=this.getSibling();return!this._isLeftThumb&&W?W.translateX:0}getMaxPos(){const W=this.getSibling();return this._isLeftThumb&&W?W.translateX:this._slider._cachedWidth}_setIsLeftThumb(){this._isLeftThumb=this._isEndThumb&&this._slider._isRtl||!this._isEndThumb&&!this._slider._isRtl}constructor(W,P,se,L){super(W,se,L,P),this._cdr=L,this._isEndThumb=this._hostElement.hasAttribute("matSliderEndThumb"),this._setIsLeftThumb(),this.thumbPosition=this._isEndThumb?2:1}_getDefaultValue(){return this._isEndThumb&&this._slider._isRange?this.max:this.min}_onInput(){super._onInput(),this._updateSibling(),this._isActive||this._updateWidthInactive()}_onNgControlValueChange(){super._onNgControlValueChange(),this.getSibling()?._updateMinMax()}_onPointerDown(W){this.disabled||0!==W.button||(this._sibling&&(this._sibling._updateWidthActive(),this._sibling._hostElement.classList.add("mat-mdc-slider-input-no-pointer-events")),super._onPointerDown(W))}_onPointerUp(){super._onPointerUp(),this._sibling&&setTimeout(()=>{this._sibling._updateWidthInactive(),this._sibling._hostElement.classList.remove("mat-mdc-slider-input-no-pointer-events")})}_onPointerMove(W){super._onPointerMove(W),!this._slider.step&&this._isActive&&this._updateSibling()}_fixValue(W){super._fixValue(W),this._sibling?._updateMinMax()}_clamp(W){return Math.max(Math.min(W,this.getMaxPos()),this.getMinPos())}_updateMinMax(){const W=this.getSibling();W&&(this._isEndThumb?(this.min=Math.max(this._slider.min,W.value),this.max=this._slider.max):(this.min=this._slider.min,this.max=Math.min(this._slider.max,W.value)))}_updateWidthActive(){const W=2*this._slider._rippleRadius-2*this._slider._inputPadding;this._hostElement.style.width=`${(this._slider._cachedWidth+this._slider._inputPadding-W)*(this._slider.min{class Xe{static#e=this.\u0275fac=function(P){return new(P||Xe)};static#t=this.\u0275mod=S.oAB({type:Xe});static#n=this.\u0275inj=S.cJS({imports:[te.BQ,Se.ez,te.si]})}return Xe})()},4104:(Mt,je,g)=>{g.d(je,{Nh:()=>Pe,SP:()=>Ke,Vc:()=>tt,uD:()=>Gt,uX:()=>Vt});var n=g(6814),l=g(5879),R=g(3680),S=g(8484),te=g(7131),Se=g(4191),le=g(9388),ke=g(7394),ue=g(8645),ie=g(2438),we=g(2096),fe=g(3019),me=g(6232),Te=g(5592),Le=g(4825),Ue=g(7921),be=g(3997),ye=g(9773),Je=g(8180),ve=g(4664),H=g(836),xe=g(2181),oe=g(6825),Ie=g(2495),Re=g(6672),$e=g(2831),ft=g(6028);function bt(ee,z){}const Dt=function(ee){return{animationDuration:ee}},Ut=function(ee,z){return{value:ee,params:z}};function kt(ee,z){1&ee&&l.Hsn(0)}const an=["*"],Xe=["tabListContainer"],Ct=["tabList"],W=["tabListInner"],P=["nextPaginator"],se=["previousPaginator"],L=["tabBodyWrapper"],Ce=["tabHeader"];function G(ee,z){}function $(ee,z){if(1&ee&&l.YNc(0,G,0,0,"ng-template",14),2&ee){const D=l.oxw().$implicit;l.Q6J("cdkPortalOutlet",D.templateLabel)}}function Be(ee,z){if(1&ee&&l._uU(0),2&ee){const D=l.oxw().$implicit;l.Oqu(D.textLabel)}}function ae(ee,z){if(1&ee){const D=l.EpF();l.TgZ(0,"div",6,7),l.NdJ("click",function(){const he=l.CHM(D),X=he.$implicit,ne=he.index,Oe=l.oxw(),nt=l.MAs(1);return l.KtG(Oe._handleClick(X,nt,ne))})("cdkFocusChange",function(he){const ne=l.CHM(D).index,Oe=l.oxw();return l.KtG(Oe._tabFocusChanged(he,ne))}),l._UZ(2,"span",8)(3,"div",9),l.TgZ(4,"span",10)(5,"span",11),l.YNc(6,$,1,1,"ng-template",12),l.YNc(7,Be,1,1,"ng-template",null,13,l.W1O),l.qZA()()()}if(2&ee){const D=z.$implicit,B=z.index,he=l.MAs(1),X=l.MAs(8),ne=l.oxw();l.ekj("mdc-tab--active",ne.selectedIndex===B),l.Q6J("id",ne._getTabLabelId(B))("ngClass",D.labelClass)("disabled",D.disabled)("fitInkBarToContent",ne.fitInkBarToContent),l.uIk("tabIndex",ne._getTabIndex(B))("aria-posinset",B+1)("aria-setsize",ne._tabs.length)("aria-controls",ne._getTabContentId(B))("aria-selected",ne.selectedIndex===B)("aria-label",D.ariaLabel||null)("aria-labelledby",!D.ariaLabel&&D.ariaLabelledby?D.ariaLabelledby:null),l.xp6(3),l.Q6J("matRippleTrigger",he)("matRippleDisabled",D.disabled||ne.disableRipple),l.xp6(3),l.Q6J("ngIf",D.templateLabel)("ngIfElse",X)}}function He(ee,z){if(1&ee){const D=l.EpF();l.TgZ(0,"mat-tab-body",15),l.NdJ("_onCentered",function(){l.CHM(D);const he=l.oxw();return l.KtG(he._removeTabBodyWrapperHeight())})("_onCentering",function(he){l.CHM(D);const X=l.oxw();return l.KtG(X._setTabBodyWrapperHeight(he))}),l.qZA()}if(2&ee){const D=z.$implicit,B=z.index,he=l.oxw();l.ekj("mat-mdc-tab-body-active",he.selectedIndex===B),l.Q6J("id",he._getTabContentId(B))("ngClass",D.bodyClass)("content",D.content)("position",D.position)("origin",D.origin)("animationDuration",he.animationDuration)("preserveContent",he.preserveContent),l.uIk("tabindex",null!=he.contentTabIndex&&he.selectedIndex===B?he.contentTabIndex:null)("aria-labelledby",he._getTabLabelId(B))("aria-hidden",he.selectedIndex!==B)}}const qe={translateTab:(0,oe.X$)("translateTab",[(0,oe.SB)("center, void, left-origin-center, right-origin-center",(0,oe.oB)({transform:"none"})),(0,oe.SB)("left",(0,oe.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,oe.SB)("right",(0,oe.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,oe.eR)("* => left, * => right, left => center, right => center",(0,oe.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,oe.eR)("void => left-origin-center",[(0,oe.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,oe.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,oe.eR)("void => right-origin-center",[(0,oe.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,oe.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let It=(()=>{class ee extends S.Pl{constructor(D,B,he,X){super(D,B,X),this._host=he,this._centeringSub=ke.w0.EMPTY,this._leavingSub=ke.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,Ue.O)(this._host._isCenterPosition(this._host._position))).subscribe(D=>{D&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static#e=this.\u0275fac=function(B){return new(B||ee)(l.Y36(l._Vd),l.Y36(l.s_b),l.Y36((0,l.Gpc)(()=>ct)),l.Y36(n.K0))};static#t=this.\u0275dir=l.lG2({type:ee,selectors:[["","matTabBodyHost",""]],features:[l.qOj]})}return ee})(),Ye=(()=>{class ee{set position(D){this._positionIndex=D,this._computePositionAnimationState()}constructor(D,B,he){this._elementRef=D,this._dir=B,this._dirChangeSubscription=ke.w0.EMPTY,this._translateTabComplete=new ue.x,this._onCentering=new l.vpe,this._beforeCentering=new l.vpe,this._afterLeavingCenter=new l.vpe,this._onCentered=new l.vpe(!0),this.animationDuration="500ms",this.preserveContent=!1,B&&(this._dirChangeSubscription=B.change.subscribe(X=>{this._computePositionAnimationState(X),he.markForCheck()})),this._translateTabComplete.pipe((0,be.x)((X,ne)=>X.fromState===ne.fromState&&X.toState===ne.toState)).subscribe(X=>{this._isCenterPosition(X.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(X.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(D){const B=this._isCenterPosition(D.toState);this._beforeCentering.emit(B),B&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(D){return"center"==D||"left-origin-center"==D||"right-origin-center"==D}_computePositionAnimationState(D=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==D?"left":"right":this._positionIndex>0?"ltr"==D?"right":"left":"center"}_computePositionFromOrigin(D){const B=this._getLayoutDirection();return"ltr"==B&&D<=0||"rtl"==B&&D>0?"left-origin-center":"right-origin-center"}static#e=this.\u0275fac=function(B){return new(B||ee)(l.Y36(l.SBq),l.Y36(le.Is,8),l.Y36(l.sBO))};static#t=this.\u0275dir=l.lG2({type:ee,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}})}return ee})(),ct=(()=>{class ee extends Ye{constructor(D,B,he){super(D,B,he)}static#e=this.\u0275fac=function(B){return new(B||ee)(l.Y36(l.SBq),l.Y36(le.Is,8),l.Y36(l.sBO))};static#t=this.\u0275cmp=l.Xpm({type:ee,selectors:[["mat-tab-body"]],viewQuery:function(B,he){if(1&B&&l.Gf(S.Pl,5),2&B){let X;l.iGM(X=l.CRH())&&(he._portalHost=X.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[l.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(B,he){1&B&&(l.TgZ(0,"div",0,1),l.NdJ("@translateTab.start",function(ne){return he._onTranslateTabStarted(ne)})("@translateTab.done",function(ne){return he._translateTabComplete.next(ne)}),l.YNc(2,bt,0,0,"ng-template",2),l.qZA()),2&B&&l.Q6J("@translateTab",l.WLB(3,Ut,he._position,l.VKq(1,Dt,he.animationDuration)))},dependencies:[It],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[qe.translateTab]}})}return ee})();const Ee=new l.OlP("MatTabContent");let tt=(()=>{class ee{constructor(D){this.template=D}static#e=this.\u0275fac=function(B){return new(B||ee)(l.Y36(l.Rgc))};static#t=this.\u0275dir=l.lG2({type:ee,selectors:[["","matTabContent",""]],features:[l._Bn([{provide:Ee,useExisting:ee}])]})}return ee})();const dt=new l.OlP("MatTabLabel"),jt=new l.OlP("MAT_TAB");let Gt=(()=>{class ee extends S.ig{constructor(D,B,he){super(D,B),this._closestTab=he}static#e=this.\u0275fac=function(B){return new(B||ee)(l.Y36(l.Rgc),l.Y36(l.s_b),l.Y36(jt,8))};static#t=this.\u0275dir=l.lG2({type:ee,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[l._Bn([{provide:dt,useExisting:ee}]),l.qOj]})}return ee})();const cn="mdc-tab-indicator--active",Lt="mdc-tab-indicator--no-transition";class yn{constructor(z){this._items=z}hide(){this._items.forEach(z=>z.deactivateInkBar())}alignToElement(z){const D=this._items.find(he=>he.elementRef.nativeElement===z),B=this._currentItem;if(D!==B&&(B?.deactivateInkBar(),D)){const he=B?.elementRef.nativeElement.getBoundingClientRect?.();D.activateInkBar(he),this._currentItem=D}}}function et(ee){return class extends ee{constructor(...z){super(...z),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(z){const D=(0,Ie.Ig)(z);this._fitToContent!==D&&(this._fitToContent=D,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(z){const D=this.elementRef.nativeElement;if(!z||!D.getBoundingClientRect||!this._inkBarContentElement)return void D.classList.add(cn);const B=D.getBoundingClientRect(),he=z.width/B.width,X=z.left-B.left;D.classList.add(Lt),this._inkBarContentElement.style.setProperty("transform",`translateX(${X}px) scaleX(${he})`),D.getBoundingClientRect(),D.classList.remove(Lt),D.classList.add(cn),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(cn)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const z=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=z.createElement("span"),this._inkBarContentElement=z.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}const Fe=(0,R.Id)(class{}),st=et((()=>{class ee extends Fe{constructor(D){super(),this.elementRef=D}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static#e=this.\u0275fac=function(B){return new(B||ee)(l.Y36(l.SBq))};static#t=this.\u0275dir=l.lG2({type:ee,features:[l.qOj]})}return ee})());let lt=(()=>{class ee extends st{static#e=this.\u0275fac=function(){let D;return function(he){return(D||(D=l.n5z(ee)))(he||ee)}}();static#t=this.\u0275dir=l.lG2({type:ee,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(B,he){2&B&&(l.uIk("aria-disabled",!!he.disabled),l.ekj("mat-mdc-tab-disabled",he.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[l.qOj]})}return ee})();const yt=(0,R.Id)(class{}),Jt=new l.OlP("MAT_TAB_GROUP");let Bt=(()=>{class ee extends yt{get content(){return this._contentPortal}constructor(D,B){super(),this._viewContainerRef=D,this._closestTabGroup=B,this.textLabel="",this._contentPortal=null,this._stateChanges=new ue.x,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(D){(D.hasOwnProperty("textLabel")||D.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new S.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(D){D&&D._closestTab===this&&(this._templateLabel=D)}static#e=this.\u0275fac=function(B){return new(B||ee)(l.Y36(l.s_b),l.Y36(Jt,8))};static#t=this.\u0275dir=l.lG2({type:ee,viewQuery:function(B,he){if(1&B&&l.Gf(l.Rgc,7),2&B){let X;l.iGM(X=l.CRH())&&(he._implicitContent=X.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[l.qOj,l.TTD]})}return ee})(),Vt=(()=>{class ee extends Bt{constructor(){super(...arguments),this._explicitContent=void 0}get templateLabel(){return this._templateLabel}set templateLabel(D){this._setTemplateLabelInput(D)}static#e=this.\u0275fac=function(){let D;return function(he){return(D||(D=l.n5z(ee)))(he||ee)}}();static#t=this.\u0275cmp=l.Xpm({type:ee,selectors:[["mat-tab"]],contentQueries:function(B,he,X){if(1&B&&(l.Suo(X,tt,7,l.Rgc),l.Suo(X,Gt,5)),2&B){let ne;l.iGM(ne=l.CRH())&&(he._explicitContent=ne.first),l.iGM(ne=l.CRH())&&(he.templateLabel=ne.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[l._Bn([{provide:jt,useExisting:ee}]),l.qOj],ngContentSelectors:an,decls:1,vars:0,template:function(B,he){1&B&&(l.F$t(),l.YNc(0,kt,1,0,"ng-template"))},encapsulation:2})}return ee})();const Ft=(0,$e.i$)({passive:!0});let nn=(()=>{class ee{get disablePagination(){return this._disablePagination}set disablePagination(D){this._disablePagination=(0,Ie.Ig)(D)}get selectedIndex(){return this._selectedIndex}set selectedIndex(D){D=(0,Ie.su)(D),this._selectedIndex!=D&&(this._selectedIndexChanged=!0,this._selectedIndex=D,this._keyManager&&this._keyManager.updateActiveItem(D))}constructor(D,B,he,X,ne,Oe,nt){this._elementRef=D,this._changeDetectorRef=B,this._viewportRuler=he,this._dir=X,this._ngZone=ne,this._platform=Oe,this._animationMode=nt,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new ue.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new ue.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new l.vpe,this.indexFocused=new l.vpe,ne.runOutsideAngular(()=>{(0,ie.R)(D.nativeElement,"mouseleave").pipe((0,ye.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,ie.R)(this._previousPaginator.nativeElement,"touchstart",Ft).pipe((0,ye.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,ie.R)(this._nextPaginator.nativeElement,"touchstart",Ft).pipe((0,ye.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const D=this._dir?this._dir.change:(0,we.of)("ltr"),B=this._viewportRuler.change(150),he=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Se.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,Je.q)(1)).subscribe(he),(0,fe.T)(D,B,this._items.changes,this._itemsResized()).pipe((0,ye.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),he()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(X=>{this.indexFocused.emit(X),this._setTabFocus(X)})}_itemsResized(){return"function"!=typeof ResizeObserver?me.E:this._items.changes.pipe((0,Ue.O)(this._items),(0,ve.w)(D=>new Te.y(B=>this._ngZone.runOutsideAngular(()=>{const he=new ResizeObserver(X=>B.next(X));return D.forEach(X=>he.observe(X.elementRef.nativeElement)),()=>{he.disconnect()}}))),(0,H.T)(1),(0,xe.h)(D=>D.some(B=>B.contentRect.width>0&&B.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(D){if(!(0,ft.Vb)(D))switch(D.keyCode){case ft.K5:case ft.L_:if(this.focusIndex!==this.selectedIndex){const B=this._items.get(this.focusIndex);B&&!B.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(D))}break;default:this._keyManager.onKeydown(D)}}_onContentChanges(){const D=this._elementRef.nativeElement.textContent;D!==this._currentTextContent&&(this._currentTextContent=D||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(D){!this._isValidIndex(D)||this.focusIndex===D||!this._keyManager||this._keyManager.setActiveItem(D)}_isValidIndex(D){return!this._items||!!this._items.toArray()[D]}_setTabFocus(D){if(this._showPaginationControls&&this._scrollToLabel(D),this._items&&this._items.length){this._items.toArray()[D].focus();const B=this._tabListContainer.nativeElement;B.scrollLeft="ltr"==this._getLayoutDirection()?0:B.scrollWidth-B.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const D=this.scrollDistance,B="ltr"===this._getLayoutDirection()?-D:D;this._tabList.nativeElement.style.transform=`translateX(${Math.round(B)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(D){this._scrollTo(D)}_scrollHeader(D){return this._scrollTo(this._scrollDistance+("before"==D?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(D){this._stopInterval(),this._scrollHeader(D)}_scrollToLabel(D){if(this.disablePagination)return;const B=this._items?this._items.toArray()[D]:null;if(!B)return;const he=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:X,offsetWidth:ne}=B.elementRef.nativeElement;let Oe,nt;"ltr"==this._getLayoutDirection()?(Oe=X,nt=Oe+ne):(nt=this._tabListInner.nativeElement.offsetWidth-X,Oe=nt-ne);const Et=this.scrollDistance,Ot=this.scrollDistance+he;OeOt&&(this.scrollDistance+=Math.min(nt-Ot,Oe-Et))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const D=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;D||(this.scrollDistance=0),D!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=D}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const D=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,B=D?D.elementRef.nativeElement:null;B?this._inkBar.alignToElement(B):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(D,B){B&&null!=B.button&&0!==B.button||(this._stopInterval(),(0,Le.H)(650,100).pipe((0,ye.R)((0,fe.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:he,distance:X}=this._scrollHeader(D);(0===X||X>=he)&&this._stopInterval()}))}_scrollTo(D){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const B=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(B,D)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:B,distance:this._scrollDistance}}static#e=this.\u0275fac=function(B){return new(B||ee)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(Re.rL),l.Y36(le.Is,8),l.Y36(l.R0b),l.Y36($e.t4),l.Y36(l.QbO,8))};static#t=this.\u0275dir=l.lG2({type:ee,inputs:{disablePagination:"disablePagination"}})}return ee})(),pn=(()=>{class ee extends nn{get disableRipple(){return this._disableRipple}set disableRipple(D){this._disableRipple=(0,Ie.Ig)(D)}constructor(D,B,he,X,ne,Oe,nt){super(D,B,he,X,ne,Oe,nt),this._disableRipple=!1}_itemSelected(D){D.preventDefault()}static#e=this.\u0275fac=function(B){return new(B||ee)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(Re.rL),l.Y36(le.Is,8),l.Y36(l.R0b),l.Y36($e.t4),l.Y36(l.QbO,8))};static#t=this.\u0275dir=l.lG2({type:ee,inputs:{disableRipple:"disableRipple"},features:[l.qOj]})}return ee})(),bn=(()=>{class ee extends pn{constructor(D,B,he,X,ne,Oe,nt){super(D,B,he,X,ne,Oe,nt)}ngAfterContentInit(){this._inkBar=new yn(this._items),super.ngAfterContentInit()}static#e=this.\u0275fac=function(B){return new(B||ee)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(Re.rL),l.Y36(le.Is,8),l.Y36(l.R0b),l.Y36($e.t4),l.Y36(l.QbO,8))};static#t=this.\u0275cmp=l.Xpm({type:ee,selectors:[["mat-tab-header"]],contentQueries:function(B,he,X){if(1&B&&l.Suo(X,lt,4),2&B){let ne;l.iGM(ne=l.CRH())&&(he._items=ne)}},viewQuery:function(B,he){if(1&B&&(l.Gf(Xe,7),l.Gf(Ct,7),l.Gf(W,7),l.Gf(P,5),l.Gf(se,5)),2&B){let X;l.iGM(X=l.CRH())&&(he._tabListContainer=X.first),l.iGM(X=l.CRH())&&(he._tabList=X.first),l.iGM(X=l.CRH())&&(he._tabListInner=X.first),l.iGM(X=l.CRH())&&(he._nextPaginator=X.first),l.iGM(X=l.CRH())&&(he._previousPaginator=X.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(B,he){2&B&&l.ekj("mat-mdc-tab-header-pagination-controls-enabled",he._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==he._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[l.qOj],ngContentSelectors:an,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(B,he){1&B&&(l.F$t(),l.TgZ(0,"button",0,1),l.NdJ("click",function(){return he._handlePaginatorClick("before")})("mousedown",function(ne){return he._handlePaginatorPress("before",ne)})("touchend",function(){return he._stopInterval()}),l._UZ(2,"div",2),l.qZA(),l.TgZ(3,"div",3,4),l.NdJ("keydown",function(ne){return he._handleKeydown(ne)}),l.TgZ(5,"div",5,6),l.NdJ("cdkObserveContent",function(){return he._onContentChanges()}),l.TgZ(7,"div",7,8),l.Hsn(9),l.qZA()()(),l.TgZ(10,"button",9,10),l.NdJ("mousedown",function(ne){return he._handlePaginatorPress("after",ne)})("click",function(){return he._handlePaginatorClick("after")})("touchend",function(){return he._stopInterval()}),l._UZ(12,"div",2),l.qZA()),2&B&&(l.ekj("mat-mdc-tab-header-pagination-disabled",he._disableScrollBefore),l.Q6J("matRippleDisabled",he._disableScrollBefore||he.disableRipple)("disabled",he._disableScrollBefore||null),l.xp6(3),l.ekj("_mat-animation-noopable","NoopAnimations"===he._animationMode),l.xp6(7),l.ekj("mat-mdc-tab-header-pagination-disabled",he._disableScrollAfter),l.Q6J("matRippleDisabled",he._disableScrollAfter||he.disableRipple)("disabled",he._disableScrollAfter||null))},dependencies:[R.wG,te.wD],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2})}return ee})();const In=new l.OlP("MAT_TABS_CONFIG");let Tn=0;const at=(0,R.pj)((0,R.Kr)(class{constructor(ee){this._elementRef=ee}}),"primary");let Nt=(()=>{class ee extends at{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(D){this._dynamicHeight=(0,Ie.Ig)(D)}get selectedIndex(){return this._selectedIndex}set selectedIndex(D){this._indexToSelect=(0,Ie.su)(D,null)}get animationDuration(){return this._animationDuration}set animationDuration(D){this._animationDuration=/^\d+$/.test(D+"")?D+"ms":D}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(D){this._contentTabIndex=(0,Ie.su)(D,null)}get disablePagination(){return this._disablePagination}set disablePagination(D){this._disablePagination=(0,Ie.Ig)(D)}get preserveContent(){return this._preserveContent}set preserveContent(D){this._preserveContent=(0,Ie.Ig)(D)}get backgroundColor(){return this._backgroundColor}set backgroundColor(D){const B=this._elementRef.nativeElement.classList;B.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),D&&B.add("mat-tabs-with-background",`mat-background-${D}`),this._backgroundColor=D}constructor(D,B,he,X){super(D),this._changeDetectorRef=B,this._animationMode=X,this._tabs=new l.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=ke.w0.EMPTY,this._tabLabelSubscription=ke.w0.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new l.vpe,this.focusChange=new l.vpe,this.animationDone=new l.vpe,this.selectedTabChange=new l.vpe(!0),this._groupId=Tn++,this.animationDuration=he&&he.animationDuration?he.animationDuration:"500ms",this.disablePagination=!(!he||null==he.disablePagination)&&he.disablePagination,this.dynamicHeight=!(!he||null==he.dynamicHeight)&&he.dynamicHeight,this.contentTabIndex=he?.contentTabIndex??null,this.preserveContent=!!he?.preserveContent}ngAfterContentChecked(){const D=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=D){const B=null==this._selectedIndex;if(!B){this.selectedTabChange.emit(this._createChangeEvent(D));const he=this._tabBodyWrapper.nativeElement;he.style.minHeight=he.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((he,X)=>he.isActive=X===D),B||(this.selectedIndexChange.emit(D),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((B,he)=>{B.position=he-D,null!=this._selectedIndex&&0==B.position&&!B.origin&&(B.origin=D-this._selectedIndex)}),this._selectedIndex!==D&&(this._selectedIndex=D,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const D=this._clampTabIndex(this._indexToSelect);if(D===this._selectedIndex){const B=this._tabs.toArray();let he;for(let X=0;X{B[D].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(D))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,Ue.O)(this._allTabs)).subscribe(D=>{this._tabs.reset(D.filter(B=>B._closestTabGroup===this||!B._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(D){const B=this._tabHeader;B&&(B.focusIndex=D)}_focusChanged(D){this._lastFocusedTabIndex=D,this.focusChange.emit(this._createChangeEvent(D))}_createChangeEvent(D){const B=new mt;return B.index=D,this._tabs&&this._tabs.length&&(B.tab=this._tabs.toArray()[D]),B}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,fe.T)(...this._tabs.map(D=>D._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(D){return Math.min(this._tabs.length-1,Math.max(D||0,0))}_getTabLabelId(D){return`mat-tab-label-${this._groupId}-${D}`}_getTabContentId(D){return`mat-tab-content-${this._groupId}-${D}`}_setTabBodyWrapperHeight(D){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const B=this._tabBodyWrapper.nativeElement;B.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(B.style.height=D+"px")}_removeTabBodyWrapperHeight(){const D=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=D.clientHeight,D.style.height="",this.animationDone.emit()}_handleClick(D,B,he){B.focusIndex=he,D.disabled||(this.selectedIndex=he)}_getTabIndex(D){return D===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(D,B){D&&"mouse"!==D&&"touch"!==D&&(this._tabHeader.focusIndex=B)}static#e=this.\u0275fac=function(B){return new(B||ee)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(In,8),l.Y36(l.QbO,8))};static#t=this.\u0275dir=l.lG2({type:ee,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[l.qOj]})}return ee})(),Ke=(()=>{class ee extends Nt{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(D){this._fitInkBarToContent=(0,Ie.Ig)(D),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(D){this._stretchTabs=(0,Ie.Ig)(D)}constructor(D,B,he,X){super(D,B,he,X),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!he||null==he.fitInkBarToContent)&&he.fitInkBarToContent,this.stretchTabs=!he||null==he.stretchTabs||he.stretchTabs}static#e=this.\u0275fac=function(B){return new(B||ee)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(In,8),l.Y36(l.QbO,8))};static#t=this.\u0275cmp=l.Xpm({type:ee,selectors:[["mat-tab-group"]],contentQueries:function(B,he,X){if(1&B&&l.Suo(X,Vt,5),2&B){let ne;l.iGM(ne=l.CRH())&&(he._allTabs=ne)}},viewQuery:function(B,he){if(1&B&&(l.Gf(L,5),l.Gf(Ce,5)),2&B){let X;l.iGM(X=l.CRH())&&(he._tabBodyWrapper=X.first),l.iGM(X=l.CRH())&&(he._tabHeader=X.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-tab-group"],hostVars:8,hostBindings:function(B,he){2&B&&(l.Udp("--mat-tab-animation-duration",he.animationDuration),l.ekj("mat-mdc-tab-group-dynamic-height",he.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===he.headerPosition)("mat-mdc-tab-group-stretch-tabs",he.stretchTabs))},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[l._Bn([{provide:Jt,useExisting:ee}]),l.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(B,he){1&B&&(l.TgZ(0,"mat-tab-header",0,1),l.NdJ("indexFocused",function(ne){return he._focusChanged(ne)})("selectFocusedIndex",function(ne){return he.selectedIndex=ne}),l.YNc(2,ae,9,17,"div",2),l.qZA(),l.TgZ(3,"div",3,4),l.YNc(5,He,1,12,"mat-tab-body",5),l.qZA()),2&B&&(l.Q6J("selectedIndex",he.selectedIndex||0)("disableRipple",he.disableRipple)("disablePagination",he.disablePagination),l.xp6(2),l.Q6J("ngForOf",he._tabs),l.xp6(1),l.ekj("_mat-animation-noopable","NoopAnimations"===he._animationMode),l.xp6(2),l.Q6J("ngForOf",he._tabs))},dependencies:[n.mk,n.sg,n.O5,S.Pl,R.wG,Se.kH,ct,lt,bn],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}return ee})();class mt{}let Pe=(()=>{class ee{static#e=this.\u0275fac=function(B){return new(B||ee)};static#t=this.\u0275mod=l.oAB({type:ee});static#n=this.\u0275inj=l.cJS({imports:[n.ez,R.BQ,S.eL,R.si,te.Q8,Se.rt,R.BQ]})}return ee})()},2596:(Mt,je,g)=>{g.d(je,{AV:()=>se,gM:()=>Xe});var n=g(9773),l=g(8180),R=g(2495),S=g(6028),te=g(5879),Se=g(6814),le=g(2831),ke=g(4191),ue=g(9388),ie=g(3651),we=g(6672),fe=g(8484),me=g(8645),Le=(g(6825),g(3680));const Ue=["tooltip"],Je=new te.OlP("mat-tooltip-scroll-strategy"),H={provide:Je,deps:[ie.aV],useFactory:function ve(L){return()=>L.scrollStrategies.reposition({scrollThrottle:20})}},oe=new te.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function xe(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),Re="tooltip-panel",$e=(0,le.i$)({passive:!0});let an=(()=>{class L{get position(){return this._position}set position(G){G!==this._position&&(this._position=G,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(G){this._positionAtOrigin=(0,R.Ig)(G),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(G){this._disabled=(0,R.Ig)(G),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(G){this._showDelay=(0,R.su)(G)}get hideDelay(){return this._hideDelay}set hideDelay(G){this._hideDelay=(0,R.su)(G),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(G){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=G?String(G).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(G){this._tooltipClass=G,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(G,$,Be,ae,He,Ze,it,qe,It,Ye,ct,Ee){this._overlay=G,this._elementRef=$,this._scrollDispatcher=Be,this._viewContainerRef=ae,this._ngZone=He,this._platform=Ze,this._ariaDescriber=it,this._focusMonitor=qe,this._dir=Ye,this._defaultOptions=ct,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new me.x,this._scrollStrategy=It,this._document=Ee,ct&&(this._showDelay=ct.showDelay,this._hideDelay=ct.hideDelay,ct.position&&(this.position=ct.position),ct.positionAtOrigin&&(this.positionAtOrigin=ct.positionAtOrigin),ct.touchGestures&&(this.touchGestures=ct.touchGestures)),Ye.change.pipe((0,n.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,n.R)(this._destroyed)).subscribe(G=>{G?"keyboard"===G&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const G=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([$,Be])=>{G.removeEventListener($,Be,$e)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(G,this.message,"tooltip"),this._focusMonitor.stopMonitoring(G)}show(G=this.showDelay,$){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const Be=this._createOverlay($);this._detach(),this._portal=this._portal||new fe.C5(this._tooltipComponent,this._viewContainerRef);const ae=this._tooltipInstance=Be.attach(this._portal).instance;ae._triggerElement=this._elementRef.nativeElement,ae._mouseLeaveHideDelay=this._hideDelay,ae.afterHidden().pipe((0,n.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),ae.show(G)}hide(G=this.hideDelay){const $=this._tooltipInstance;$&&($.isVisible()?$.hide(G):($._cancelPendingAnimations(),this._detach()))}toggle(G){this._isTooltipVisible()?this.hide():this.show(void 0,G)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(G){if(this._overlayRef){const ae=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!G)&&ae._origin instanceof te.SBq)return this._overlayRef;this._detach()}const $=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),Be=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&G||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers($);return Be.positionChanges.pipe((0,n.R)(this._destroyed)).subscribe(ae=>{this._updateCurrentPositionClass(ae.connectionPair),this._tooltipInstance&&ae.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:Be,panelClass:`${this._cssClassPrefix}-${Re}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,n.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,n.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,n.R)(this._destroyed)).subscribe(ae=>{this._isTooltipVisible()&&ae.keyCode===S.hY&&!(0,S.Vb)(ae)&&(ae.preventDefault(),ae.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(G){const $=G.getConfig().positionStrategy,Be=this._getOrigin(),ae=this._getOverlayPosition();$.withPositions([this._addOffset({...Be.main,...ae.main}),this._addOffset({...Be.fallback,...ae.fallback})])}_addOffset(G){return G}_getOrigin(){const G=!this._dir||"ltr"==this._dir.value,$=this.position;let Be;"above"==$||"below"==$?Be={originX:"center",originY:"above"==$?"top":"bottom"}:"before"==$||"left"==$&&G||"right"==$&&!G?Be={originX:"start",originY:"center"}:("after"==$||"right"==$&&G||"left"==$&&!G)&&(Be={originX:"end",originY:"center"});const{x:ae,y:He}=this._invertPosition(Be.originX,Be.originY);return{main:Be,fallback:{originX:ae,originY:He}}}_getOverlayPosition(){const G=!this._dir||"ltr"==this._dir.value,$=this.position;let Be;"above"==$?Be={overlayX:"center",overlayY:"bottom"}:"below"==$?Be={overlayX:"center",overlayY:"top"}:"before"==$||"left"==$&&G||"right"==$&&!G?Be={overlayX:"end",overlayY:"center"}:("after"==$||"right"==$&&G||"left"==$&&!G)&&(Be={overlayX:"start",overlayY:"center"});const{x:ae,y:He}=this._invertPosition(Be.overlayX,Be.overlayY);return{main:Be,fallback:{overlayX:ae,overlayY:He}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,l.q)(1),(0,n.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(G){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=G,this._tooltipInstance._markForCheck())}_invertPosition(G,$){return"above"===this.position||"below"===this.position?"top"===$?$="bottom":"bottom"===$&&($="top"):"end"===G?G="start":"start"===G&&(G="end"),{x:G,y:$}}_updateCurrentPositionClass(G){const{overlayY:$,originX:Be,originY:ae}=G;let He;if(He="center"===$?this._dir&&"rtl"===this._dir.value?"end"===Be?"left":"right":"start"===Be?"left":"right":"bottom"===$&&"top"===ae?"above":"below",He!==this._currentPosition){const Ze=this._overlayRef;if(Ze){const it=`${this._cssClassPrefix}-${Re}-`;Ze.removePanelClass(it+this._currentPosition),Ze.addPanelClass(it+He)}this._currentPosition=He}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",G=>{let $;this._setupPointerExitEventsIfNeeded(),void 0!==G.x&&void 0!==G.y&&($=G),this.show(void 0,$)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",G=>{const $=G.targetTouches?.[0],Be=$?{x:$.clientX,y:$.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,Be),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const G=[];if(this._platformSupportsMouseEvents())G.push(["mouseleave",$=>{const Be=$.relatedTarget;(!Be||!this._overlayRef?.overlayElement.contains(Be))&&this.hide()}],["wheel",$=>this._wheelListener($)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const $=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};G.push(["touchend",$],["touchcancel",$])}this._addListeners(G),this._passiveListeners.push(...G)}_addListeners(G){G.forEach(([$,Be])=>{this._elementRef.nativeElement.addEventListener($,Be,$e)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(G){if(this._isTooltipVisible()){const $=this._document.elementFromPoint(G.clientX,G.clientY),Be=this._elementRef.nativeElement;$!==Be&&!Be.contains($)&&this.hide()}}_disableNativeGesturesIfNecessary(){const G=this.touchGestures;if("off"!==G){const $=this._elementRef.nativeElement,Be=$.style;("on"===G||"INPUT"!==$.nodeName&&"TEXTAREA"!==$.nodeName)&&(Be.userSelect=Be.msUserSelect=Be.webkitUserSelect=Be.MozUserSelect="none"),("on"===G||!$.draggable)&&(Be.webkitUserDrag="none"),Be.touchAction="none",Be.webkitTapHighlightColor="transparent"}}static#e=this.\u0275fac=function($){te.$Z()};static#t=this.\u0275dir=te.lG2({type:L,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}})}return L})(),Xe=(()=>{class L extends an{constructor(G,$,Be,ae,He,Ze,it,qe,It,Ye,ct,Ee){super(G,$,Be,ae,He,Ze,it,qe,It,Ye,ct,Ee),this._tooltipComponent=W,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(G){const Be=!this._dir||"ltr"==this._dir.value;return"top"===G.originY?G.offsetY=-8:"bottom"===G.originY?G.offsetY=8:"start"===G.originX?G.offsetX=Be?-8:8:"end"===G.originX&&(G.offsetX=Be?8:-8),G}static#e=this.\u0275fac=function($){return new($||L)(te.Y36(ie.aV),te.Y36(te.SBq),te.Y36(we.mF),te.Y36(te.s_b),te.Y36(te.R0b),te.Y36(le.t4),te.Y36(ke.$s),te.Y36(ke.tE),te.Y36(Je),te.Y36(ue.Is,8),te.Y36(oe,8),te.Y36(Se.K0))};static#t=this.\u0275dir=te.lG2({type:L,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function($,Be){2&$&&te.ekj("mat-mdc-tooltip-disabled",Be.disabled)},exportAs:["matTooltip"],features:[te.qOj]})}return L})(),Ct=(()=>{class L{constructor(G,$){this._changeDetectorRef=G,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new me.x,this._animationsDisabled="NoopAnimations"===$}show(G){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},G)}hide(G){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},G)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:G}){(!G||!this._triggerElement.contains(G))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:G}){(G===this._showAnimation||G===this._hideAnimation)&&this._finalizeAnimation(G===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(G){G?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(G){const $=this._tooltip.nativeElement,Be=this._showAnimation,ae=this._hideAnimation;if($.classList.remove(G?ae:Be),$.classList.add(G?Be:ae),this._isVisible=G,G&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const He=getComputedStyle($);("0s"===He.getPropertyValue("animation-duration")||"none"===He.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}G&&this._onShow(),this._animationsDisabled&&($.classList.add("_mat-animation-noopable"),this._finalizeAnimation(G))}static#e=this.\u0275fac=function($){return new($||L)(te.Y36(te.sBO),te.Y36(te.QbO,8))};static#t=this.\u0275dir=te.lG2({type:L})}return L})(),W=(()=>{class L extends Ct{constructor(G,$,Be){super(G,Be),this._elementRef=$,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const G=this._elementRef.nativeElement.getBoundingClientRect();return G.height>24&&G.width>=200}static#e=this.\u0275fac=function($){return new($||L)(te.Y36(te.sBO),te.Y36(te.SBq),te.Y36(te.QbO,8))};static#t=this.\u0275cmp=te.Xpm({type:L,selectors:[["mat-tooltip-component"]],viewQuery:function($,Be){if(1&$&&te.Gf(Ue,7),2&$){let ae;te.iGM(ae=te.CRH())&&(Be._tooltip=ae.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function($,Be){1&$&&te.NdJ("mouseleave",function(He){return Be._handleMouseLeave(He)}),2&$&&te.Udp("zoom",Be.isVisible()?1:null)},features:[te.qOj],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function($,Be){1&$&&(te.TgZ(0,"div",0,1),te.NdJ("animationend",function(He){return Be._handleAnimationEnd(He)}),te.TgZ(2,"div",2),te._uU(3),te.qZA()()),2&$&&(te.ekj("mdc-tooltip--multiline",Be._isMultiline),te.Q6J("ngClass",Be.tooltipClass),te.xp6(3),te.Oqu(Be.message))},dependencies:[Se.mk],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip{--mdc-plain-tooltip-container-shape:4px;--mdc-plain-tooltip-supporting-text-line-height:16px}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}return L})(),se=(()=>{class L{static#e=this.\u0275fac=function($){return new($||L)};static#t=this.\u0275mod=te.oAB({type:L});static#n=this.\u0275inj=te.cJS({providers:[H],imports:[ke.rt,Se.ez,ie.U8,Le.BQ,Le.BQ,we.ZD]})}return L})()},6593:(Mt,je,g)=>{g.d(je,{Cg:()=>Ce,Dx:()=>cn,H7:()=>nn,se:()=>$e});var n=g(5879),l=g(6814);class R extends l.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class S extends R{static makeCurrent(){(0,l.HT)(new S)}onAndCancel(J,I,Y){return J.addEventListener(I,Y),()=>{J.removeEventListener(I,Y)}}dispatchEvent(J,I){J.dispatchEvent(I)}remove(J){J.parentNode&&J.parentNode.removeChild(J)}createElement(J,I){return(I=I||this.getDefaultDocument()).createElement(J)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(J){return J.nodeType===Node.ELEMENT_NODE}isShadowRoot(J){return J instanceof DocumentFragment}getGlobalEventTarget(J,I){return"window"===I?window:"document"===I?J:"body"===I?J.body:null}getBaseHref(J){const I=function Se(){return te=te||document.querySelector("base"),te?te.getAttribute("href"):null}();return null==I?null:function ke(ge){le=le||document.createElement("a"),le.setAttribute("href",ge);const J=le.pathname;return"/"===J.charAt(0)?J:`/${J}`}(I)}resetBaseElement(){te=null}getUserAgent(){return window.navigator.userAgent}getCookie(J){return(0,l.Mx)(document.cookie,J)}}let le,te=null,ie=(()=>{class ge{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(Y){return new(Y||ge)};static#t=this.\u0275prov=n.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();const we=new n.OlP("EventManagerPlugins");let fe=(()=>{class ge{constructor(I,Y){this._zone=Y,this._eventNameToPlugin=new Map,I.forEach(Ae=>{Ae.manager=this}),this._plugins=I.slice().reverse()}addEventListener(I,Y,Ae){return this._findPluginFor(Y).addEventListener(I,Y,Ae)}getZone(){return this._zone}_findPluginFor(I){let Y=this._eventNameToPlugin.get(I);if(Y)return Y;if(Y=this._plugins.find(ut=>ut.supports(I)),!Y)throw new n.vHH(5101,!1);return this._eventNameToPlugin.set(I,Y),Y}static#e=this.\u0275fac=function(Y){return new(Y||ge)(n.LFG(we),n.LFG(n.R0b))};static#t=this.\u0275prov=n.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();class me{constructor(J){this._doc=J}}const Te="ng-app-id";let Le=(()=>{class ge{constructor(I,Y,Ae,ut={}){this.doc=I,this.appId=Y,this.nonce=Ae,this.platformId=ut,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,l.PM)(ut),this.resetHostNodes()}addStyles(I){for(const Y of I)1===this.changeUsageCount(Y,1)&&this.onStyleAdded(Y)}removeStyles(I){for(const Y of I)this.changeUsageCount(Y,-1)<=0&&this.onStyleRemoved(Y)}ngOnDestroy(){const I=this.styleNodesInDOM;I&&(I.forEach(Y=>Y.remove()),I.clear());for(const Y of this.getAllStyles())this.onStyleRemoved(Y);this.resetHostNodes()}addHost(I){this.hostNodes.add(I);for(const Y of this.getAllStyles())this.addStyleToHost(I,Y)}removeHost(I){this.hostNodes.delete(I)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(I){for(const Y of this.hostNodes)this.addStyleToHost(Y,I)}onStyleRemoved(I){const Y=this.styleRef;Y.get(I)?.elements?.forEach(Ae=>Ae.remove()),Y.delete(I)}collectServerRenderedStyles(){const I=this.doc.head?.querySelectorAll(`style[${Te}="${this.appId}"]`);if(I?.length){const Y=new Map;return I.forEach(Ae=>{null!=Ae.textContent&&Y.set(Ae.textContent,Ae)}),Y}return null}changeUsageCount(I,Y){const Ae=this.styleRef;if(Ae.has(I)){const ut=Ae.get(I);return ut.usage+=Y,ut.usage}return Ae.set(I,{usage:Y,elements:[]}),Y}getStyleElement(I,Y){const Ae=this.styleNodesInDOM,ut=Ae?.get(Y);if(ut?.parentNode===I)return Ae.delete(Y),ut.removeAttribute(Te),ut;{const Pe=this.doc.createElement("style");return this.nonce&&Pe.setAttribute("nonce",this.nonce),Pe.textContent=Y,this.platformIsServer&&Pe.setAttribute(Te,this.appId),Pe}}addStyleToHost(I,Y){const Ae=this.getStyleElement(I,Y);I.appendChild(Ae);const ut=this.styleRef,Pe=ut.get(Y)?.elements;Pe?Pe.push(Ae):ut.set(Y,{elements:[Ae],usage:1})}resetHostNodes(){const I=this.hostNodes;I.clear(),I.add(this.doc.head)}static#e=this.\u0275fac=function(Y){return new(Y||ge)(n.LFG(l.K0),n.LFG(n.AFp),n.LFG(n.Ojb,8),n.LFG(n.Lbi))};static#t=this.\u0275prov=n.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();const Ue={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},be=/%COMP%/g,xe=new n.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function Re(ge,J){return J.map(I=>I.replace(be,ge))}let $e=(()=>{class ge{constructor(I,Y,Ae,ut,Pe,ee,z,D=null){this.eventManager=I,this.sharedStylesHost=Y,this.appId=Ae,this.removeStylesOnCompDestroy=ut,this.doc=Pe,this.platformId=ee,this.ngZone=z,this.nonce=D,this.rendererByCompId=new Map,this.platformIsServer=(0,l.PM)(ee),this.defaultRenderer=new ft(I,Pe,z,this.platformIsServer)}createRenderer(I,Y){if(!I||!Y)return this.defaultRenderer;this.platformIsServer&&Y.encapsulation===n.ifc.ShadowDom&&(Y={...Y,encapsulation:n.ifc.Emulated});const Ae=this.getOrCreateRenderer(I,Y);return Ae instanceof Xe?Ae.applyToHost(I):Ae instanceof an&&Ae.applyStyles(),Ae}getOrCreateRenderer(I,Y){const Ae=this.rendererByCompId;let ut=Ae.get(Y.id);if(!ut){const Pe=this.doc,ee=this.ngZone,z=this.eventManager,D=this.sharedStylesHost,B=this.removeStylesOnCompDestroy,he=this.platformIsServer;switch(Y.encapsulation){case n.ifc.Emulated:ut=new Xe(z,D,Y,this.appId,B,Pe,ee,he);break;case n.ifc.ShadowDom:return new kt(z,D,I,Y,Pe,ee,this.nonce,he);default:ut=new an(z,D,Y,B,Pe,ee,he)}Ae.set(Y.id,ut)}return ut}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(Y){return new(Y||ge)(n.LFG(fe),n.LFG(Le),n.LFG(n.AFp),n.LFG(xe),n.LFG(l.K0),n.LFG(n.Lbi),n.LFG(n.R0b),n.LFG(n.Ojb))};static#t=this.\u0275prov=n.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();class ft{constructor(J,I,Y,Ae){this.eventManager=J,this.doc=I,this.ngZone=Y,this.platformIsServer=Ae,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(J,I){return I?this.doc.createElementNS(Ue[I]||I,J):this.doc.createElement(J)}createComment(J){return this.doc.createComment(J)}createText(J){return this.doc.createTextNode(J)}appendChild(J,I){(Ut(J)?J.content:J).appendChild(I)}insertBefore(J,I,Y){J&&(Ut(J)?J.content:J).insertBefore(I,Y)}removeChild(J,I){J&&J.removeChild(I)}selectRootElement(J,I){let Y="string"==typeof J?this.doc.querySelector(J):J;if(!Y)throw new n.vHH(-5104,!1);return I||(Y.textContent=""),Y}parentNode(J){return J.parentNode}nextSibling(J){return J.nextSibling}setAttribute(J,I,Y,Ae){if(Ae){I=Ae+":"+I;const ut=Ue[Ae];ut?J.setAttributeNS(ut,I,Y):J.setAttribute(I,Y)}else J.setAttribute(I,Y)}removeAttribute(J,I,Y){if(Y){const Ae=Ue[Y];Ae?J.removeAttributeNS(Ae,I):J.removeAttribute(`${Y}:${I}`)}else J.removeAttribute(I)}addClass(J,I){J.classList.add(I)}removeClass(J,I){J.classList.remove(I)}setStyle(J,I,Y,Ae){Ae&(n.JOm.DashCase|n.JOm.Important)?J.style.setProperty(I,Y,Ae&n.JOm.Important?"important":""):J.style[I]=Y}removeStyle(J,I,Y){Y&n.JOm.DashCase?J.style.removeProperty(I):J.style[I]=""}setProperty(J,I,Y){J[I]=Y}setValue(J,I){J.nodeValue=I}listen(J,I,Y){if("string"==typeof J&&!(J=(0,l.q)().getGlobalEventTarget(this.doc,J)))throw new Error(`Unsupported event target ${J} for event ${I}`);return this.eventManager.addEventListener(J,I,this.decoratePreventDefault(Y))}decoratePreventDefault(J){return I=>{if("__ngUnwrap__"===I)return J;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>J(I)):J(I))&&I.preventDefault()}}}function Ut(ge){return"TEMPLATE"===ge.tagName&&void 0!==ge.content}class kt extends ft{constructor(J,I,Y,Ae,ut,Pe,ee,z){super(J,ut,Pe,z),this.sharedStylesHost=I,this.hostEl=Y,this.shadowRoot=Y.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const D=Re(Ae.id,Ae.styles);for(const B of D){const he=document.createElement("style");ee&&he.setAttribute("nonce",ee),he.textContent=B,this.shadowRoot.appendChild(he)}}nodeOrShadowRoot(J){return J===this.hostEl?this.shadowRoot:J}appendChild(J,I){return super.appendChild(this.nodeOrShadowRoot(J),I)}insertBefore(J,I,Y){return super.insertBefore(this.nodeOrShadowRoot(J),I,Y)}removeChild(J,I){return super.removeChild(this.nodeOrShadowRoot(J),I)}parentNode(J){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(J)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class an extends ft{constructor(J,I,Y,Ae,ut,Pe,ee,z){super(J,ut,Pe,ee),this.sharedStylesHost=I,this.removeStylesOnCompDestroy=Ae,this.styles=z?Re(z,Y.styles):Y.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Xe extends an{constructor(J,I,Y,Ae,ut,Pe,ee,z){const D=Ae+"-"+Y.id;super(J,I,Y,ut,Pe,ee,z,D),this.contentAttr=function oe(ge){return"_ngcontent-%COMP%".replace(be,ge)}(D),this.hostAttr=function Ie(ge){return"_nghost-%COMP%".replace(be,ge)}(D)}applyToHost(J){this.applyStyles(),this.setAttribute(J,this.hostAttr,"")}createElement(J,I){const Y=super.createElement(J,I);return super.setAttribute(Y,this.contentAttr,""),Y}}let Ct=(()=>{class ge extends me{constructor(I){super(I)}supports(I){return!0}addEventListener(I,Y,Ae){return I.addEventListener(Y,Ae,!1),()=>this.removeEventListener(I,Y,Ae)}removeEventListener(I,Y,Ae){return I.removeEventListener(Y,Ae)}static#e=this.\u0275fac=function(Y){return new(Y||ge)(n.LFG(l.K0))};static#t=this.\u0275prov=n.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();const W=["alt","control","meta","shift"],P={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},se={alt:ge=>ge.altKey,control:ge=>ge.ctrlKey,meta:ge=>ge.metaKey,shift:ge=>ge.shiftKey};let L=(()=>{class ge extends me{constructor(I){super(I)}supports(I){return null!=ge.parseEventName(I)}addEventListener(I,Y,Ae){const ut=ge.parseEventName(Y),Pe=ge.eventCallback(ut.fullKey,Ae,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,l.q)().onAndCancel(I,ut.domEventName,Pe))}static parseEventName(I){const Y=I.toLowerCase().split("."),Ae=Y.shift();if(0===Y.length||"keydown"!==Ae&&"keyup"!==Ae)return null;const ut=ge._normalizeKey(Y.pop());let Pe="",ee=Y.indexOf("code");if(ee>-1&&(Y.splice(ee,1),Pe="code."),W.forEach(D=>{const B=Y.indexOf(D);B>-1&&(Y.splice(B,1),Pe+=D+".")}),Pe+=ut,0!=Y.length||0===ut.length)return null;const z={};return z.domEventName=Ae,z.fullKey=Pe,z}static matchEventFullKeyCode(I,Y){let Ae=P[I.key]||I.key,ut="";return Y.indexOf("code.")>-1&&(Ae=I.code,ut="code."),!(null==Ae||!Ae)&&(Ae=Ae.toLowerCase()," "===Ae?Ae="space":"."===Ae&&(Ae="dot"),W.forEach(Pe=>{Pe!==Ae&&(0,se[Pe])(I)&&(ut+=Pe+".")}),ut+=Ae,ut===Y)}static eventCallback(I,Y,Ae){return ut=>{ge.matchEventFullKeyCode(ut,I)&&Ae.runGuarded(()=>Y(ut))}}static _normalizeKey(I){return"esc"===I?"escape":I}static#e=this.\u0275fac=function(Y){return new(Y||ge)(n.LFG(l.K0))};static#t=this.\u0275prov=n.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();function Ce(ge,J){return(0,n.iPO)({rootComponent:ge,...$(J)})}function $(ge){return{appProviders:[...ct,...ge?.providers??[]],platformProviders:it}}const it=[{provide:n.Lbi,useValue:l.bD},{provide:n.g9A,useValue:function ae(){S.makeCurrent()},multi:!0},{provide:l.K0,useFactory:function Ze(){return(0,n.RDi)(document),document},deps:[]}],ct=[{provide:n.zSh,useValue:"root"},{provide:n.qLn,useFactory:function He(){return new n.qLn},deps:[]},{provide:we,useClass:Ct,multi:!0,deps:[l.K0,n.R0b,n.Lbi]},{provide:we,useClass:L,multi:!0,deps:[l.K0]},$e,Le,fe,{provide:n.FYo,useExisting:$e},{provide:l.JF,useClass:ie,deps:[]},[]];let cn=(()=>{class ge{constructor(I){this._doc=I}getTitle(){return this._doc.title}setTitle(I){this._doc.title=I||""}static#e=this.\u0275fac=function(Y){return new(Y||ge)(n.LFG(l.K0))};static#t=this.\u0275prov=n.Yz7({token:ge,factory:function(Y){let Ae=null;return Ae=Y?new Y:function Gt(){return new cn((0,n.LFG)(l.K0))}(),Ae},providedIn:"root"})}return ge})();typeof window<"u"&&window;let nn=(()=>{class ge{static#e=this.\u0275fac=function(Y){return new(Y||ge)};static#t=this.\u0275prov=n.Yz7({token:ge,factory:function(Y){let Ae=null;return Ae=Y?new(Y||ge):n.LFG(bn),Ae},providedIn:"root"})}return ge})(),bn=(()=>{class ge extends nn{constructor(I){super(),this._doc=I}sanitize(I,Y){if(null==Y)return null;switch(I){case n.q3G.NONE:return Y;case n.q3G.HTML:return(0,n.qzn)(Y,"HTML")?(0,n.z3N)(Y):(0,n.EiD)(this._doc,String(Y)).toString();case n.q3G.STYLE:return(0,n.qzn)(Y,"Style")?(0,n.z3N)(Y):Y;case n.q3G.SCRIPT:if((0,n.qzn)(Y,"Script"))return(0,n.z3N)(Y);throw new n.vHH(5200,!1);case n.q3G.URL:return(0,n.qzn)(Y,"URL")?(0,n.z3N)(Y):(0,n.mCW)(String(Y));case n.q3G.RESOURCE_URL:if((0,n.qzn)(Y,"ResourceURL"))return(0,n.z3N)(Y);throw new n.vHH(5201,!1);default:throw new n.vHH(5202,!1)}}bypassSecurityTrustHtml(I){return(0,n.JVY)(I)}bypassSecurityTrustStyle(I){return(0,n.L6k)(I)}bypassSecurityTrustScript(I){return(0,n.eBb)(I)}bypassSecurityTrustUrl(I){return(0,n.LAX)(I)}bypassSecurityTrustResourceUrl(I){return(0,n.pB0)(I)}static#e=this.\u0275fac=function(Y){return new(Y||ge)(n.LFG(l.K0))};static#t=this.\u0275prov=n.Yz7({token:ge,factory:function(Y){let Ae=null;return Ae=Y?new Y:function pn(ge){return new bn(ge.get(l.K0))}(n.LFG(n.zs3)),Ae},providedIn:"root"})}return ge})()},4318:(Mt,je,g)=>{g.d(je,{YK:()=>Kn,zA:()=>ei,tf:()=>mi,sj:()=>mn});var n=g(6814),l=g(5879),R=g(3651),S=g(4191),te=g(8484),Se=g(2296),le=g(2495),ke=g(6028),ue=g(6223),ie=g(4516),we=g(7394),fe=g(2096),me=g(3019),Te=g(8645),Le=g(9157),Ue=g(3680),be=g(8180),ye=g(2181),Je=g(6825);function ve(N,de){(function xe(N){return"string"==typeof N&&-1!==N.indexOf(".")&&1===parseFloat(N)})(N)&&(N="100%");var x=function oe(N){return"string"==typeof N&&-1!==N.indexOf("%")}(N);return N=360===de?N:Math.min(de,Math.max(0,parseFloat(N))),x&&(N=parseInt(String(N*de),10)/100),Math.abs(N-de)<1e-6?1:N=360===de?(N<0?N%de+de:N%de)/parseFloat(String(de)):N%de/parseFloat(String(de))}function H(N){return Math.min(1,Math.max(0,N))}function Ie(N){return N=parseFloat(N),(isNaN(N)||N<0||N>1)&&(N=1),N}function Re(N){return N<=1?"".concat(100*Number(N),"%"):N}function $e(N){return 1===N.length?"0"+N:String(N)}function bt(N,de,x){N=ve(N,255),de=ve(de,255),x=ve(x,255);var q=Math.max(N,de,x),pe=Math.min(N,de,x),We=0,pt=0,on=(q+pe)/2;if(q===pe)pt=0,We=0;else{var Qt=q-pe;switch(pt=on>.5?Qt/(2-q-pe):Qt/(q+pe),q){case N:We=(de-x)/Qt+(de1&&(x-=1),x<1/6?N+6*x*(de-N):x<.5?de:x<2/3?N+(de-N)*(2/3-x)*6:N}function kt(N,de,x){N=ve(N,255),de=ve(de,255),x=ve(x,255);var q=Math.max(N,de,x),pe=Math.min(N,de,x),We=0,pt=q,on=q-pe,Qt=0===q?0:on/q;if(q===pe)We=0;else{switch(q){case N:We=(de-x)/on+(de>16,g:(65280&N)>>8,b:255&N}}(de)),this.originalInput=de;var pe=function $(N){var de={r:0,g:0,b:0},x=1,q=null,pe=null,We=null,pt=!1,on=!1;return"string"==typeof N&&(N=function It(N){if(0===(N=N.trim().toLowerCase()).length)return!1;var de=!1;if(G[N])N=G[N],de=!0;else if("transparent"===N)return{r:0,g:0,b:0,a:0,format:"name"};var x=qe.rgb.exec(N);return x?{r:x[1],g:x[2],b:x[3]}:(x=qe.rgba.exec(N))?{r:x[1],g:x[2],b:x[3],a:x[4]}:(x=qe.hsl.exec(N))?{h:x[1],s:x[2],l:x[3]}:(x=qe.hsla.exec(N))?{h:x[1],s:x[2],l:x[3],a:x[4]}:(x=qe.hsv.exec(N))?{h:x[1],s:x[2],v:x[3]}:(x=qe.hsva.exec(N))?{h:x[1],s:x[2],v:x[3],a:x[4]}:(x=qe.hex8.exec(N))?{r:L(x[1]),g:L(x[2]),b:L(x[3]),a:se(x[4]),format:de?"name":"hex8"}:(x=qe.hex6.exec(N))?{r:L(x[1]),g:L(x[2]),b:L(x[3]),format:de?"name":"hex"}:(x=qe.hex4.exec(N))?{r:L(x[1]+x[1]),g:L(x[2]+x[2]),b:L(x[3]+x[3]),a:se(x[4]+x[4]),format:de?"name":"hex8"}:!!(x=qe.hex3.exec(N))&&{r:L(x[1]+x[1]),g:L(x[2]+x[2]),b:L(x[3]+x[3]),format:de?"name":"hex"}}(N)),"object"==typeof N&&(Ye(N.r)&&Ye(N.g)&&Ye(N.b)?(de=function ft(N,de,x){return{r:255*ve(N,255),g:255*ve(de,255),b:255*ve(x,255)}}(N.r,N.g,N.b),pt=!0,on="%"===String(N.r).substr(-1)?"prgb":"rgb"):Ye(N.h)&&Ye(N.s)&&Ye(N.v)?(q=Re(N.s),pe=Re(N.v),de=function an(N,de,x){N=6*ve(N,360),de=ve(de,100),x=ve(x,100);var q=Math.floor(N),pe=N-q,We=x*(1-de),pt=x*(1-pe*de),on=x*(1-(1-pe)*de),Qt=q%6;return{r:255*[x,pt,We,We,on,x][Qt],g:255*[on,x,x,pt,We,We][Qt],b:255*[We,We,on,x,x,pt][Qt]}}(N.h,q,pe),pt=!0,on="hsv"):Ye(N.h)&&Ye(N.s)&&Ye(N.l)&&(q=Re(N.s),We=Re(N.l),de=function Ut(N,de,x){var q,pe,We;if(N=ve(N,360),de=ve(de,100),x=ve(x,100),0===de)pe=x,We=x,q=x;else{var pt=x<.5?x*(1+de):x+de-x*de,on=2*x-pt;q=Dt(on,pt,N+1/3),pe=Dt(on,pt,N),We=Dt(on,pt,N-1/3)}return{r:255*q,g:255*pe,b:255*We}}(N.h,q,We),pt=!0,on="hsl"),Object.prototype.hasOwnProperty.call(N,"a")&&(x=N.a)),x=Ie(x),{ok:pt,format:N.format||on,r:Math.min(255,Math.max(de.r,0)),g:Math.min(255,Math.max(de.g,0)),b:Math.min(255,Math.max(de.b,0)),a:x}}(de);this.originalInput=de,this.r=pe.r,this.g=pe.g,this.b=pe.b,this.a=pe.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(q=x.format)&&void 0!==q?q:pe.format,this.gradientType=x.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=pe.ok}return N.prototype.isDark=function(){return this.getBrightness()<128},N.prototype.isLight=function(){return!this.isDark()},N.prototype.getBrightness=function(){var de=this.toRgb();return(299*de.r+587*de.g+114*de.b)/1e3},N.prototype.getLuminance=function(){var de=this.toRgb(),We=de.r/255,pt=de.g/255,on=de.b/255;return.2126*(We<=.03928?We/12.92:Math.pow((We+.055)/1.055,2.4))+.7152*(pt<=.03928?pt/12.92:Math.pow((pt+.055)/1.055,2.4))+.0722*(on<=.03928?on/12.92:Math.pow((on+.055)/1.055,2.4))},N.prototype.getAlpha=function(){return this.a},N.prototype.setAlpha=function(de){return this.a=Ie(de),this.roundA=Math.round(100*this.a)/100,this},N.prototype.isMonochrome=function(){return 0===this.toHsl().s},N.prototype.toHsv=function(){var de=kt(this.r,this.g,this.b);return{h:360*de.h,s:de.s,v:de.v,a:this.a}},N.prototype.toHsvString=function(){var de=kt(this.r,this.g,this.b),x=Math.round(360*de.h),q=Math.round(100*de.s),pe=Math.round(100*de.v);return 1===this.a?"hsv(".concat(x,", ").concat(q,"%, ").concat(pe,"%)"):"hsva(".concat(x,", ").concat(q,"%, ").concat(pe,"%, ").concat(this.roundA,")")},N.prototype.toHsl=function(){var de=bt(this.r,this.g,this.b);return{h:360*de.h,s:de.s,l:de.l,a:this.a}},N.prototype.toHslString=function(){var de=bt(this.r,this.g,this.b),x=Math.round(360*de.h),q=Math.round(100*de.s),pe=Math.round(100*de.l);return 1===this.a?"hsl(".concat(x,", ").concat(q,"%, ").concat(pe,"%)"):"hsla(".concat(x,", ").concat(q,"%, ").concat(pe,"%, ").concat(this.roundA,")")},N.prototype.toHex=function(de){return void 0===de&&(de=!1),Xe(this.r,this.g,this.b,de)},N.prototype.toHexString=function(de){return void 0===de&&(de=!1),"#"+this.toHex(de)},N.prototype.toHex8=function(de){return void 0===de&&(de=!1),function Ct(N,de,x,q,pe){var We=[$e(Math.round(N).toString(16)),$e(Math.round(de).toString(16)),$e(Math.round(x).toString(16)),$e(P(q))];return pe&&We[0].startsWith(We[0].charAt(1))&&We[1].startsWith(We[1].charAt(1))&&We[2].startsWith(We[2].charAt(1))&&We[3].startsWith(We[3].charAt(1))?We[0].charAt(0)+We[1].charAt(0)+We[2].charAt(0)+We[3].charAt(0):We.join("")}(this.r,this.g,this.b,this.a,de)},N.prototype.toHex8String=function(de){return void 0===de&&(de=!1),"#"+this.toHex8(de)},N.prototype.toHexShortString=function(de){return void 0===de&&(de=!1),1===this.a?this.toHexString(de):this.toHex8String(de)},N.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},N.prototype.toRgbString=function(){var de=Math.round(this.r),x=Math.round(this.g),q=Math.round(this.b);return 1===this.a?"rgb(".concat(de,", ").concat(x,", ").concat(q,")"):"rgba(".concat(de,", ").concat(x,", ").concat(q,", ").concat(this.roundA,")")},N.prototype.toPercentageRgb=function(){var de=function(x){return"".concat(Math.round(100*ve(x,255)),"%")};return{r:de(this.r),g:de(this.g),b:de(this.b),a:this.a}},N.prototype.toPercentageRgbString=function(){var de=function(x){return Math.round(100*ve(x,255))};return 1===this.a?"rgb(".concat(de(this.r),"%, ").concat(de(this.g),"%, ").concat(de(this.b),"%)"):"rgba(".concat(de(this.r),"%, ").concat(de(this.g),"%, ").concat(de(this.b),"%, ").concat(this.roundA,")")},N.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var de="#"+Xe(this.r,this.g,this.b,!1),x=0,q=Object.entries(G);x=0&&(de.startsWith("hex")||"name"===de)?"name"===de&&0===this.a?this.toName():this.toRgbString():("rgb"===de&&(q=this.toRgbString()),"prgb"===de&&(q=this.toPercentageRgbString()),("hex"===de||"hex6"===de)&&(q=this.toHexString()),"hex3"===de&&(q=this.toHexString(!0)),"hex4"===de&&(q=this.toHex8String(!0)),"hex8"===de&&(q=this.toHex8String()),"name"===de&&(q=this.toName()),"hsl"===de&&(q=this.toHslString()),"hsv"===de&&(q=this.toHsvString()),q||this.toHexString())},N.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},N.prototype.clone=function(){return new N(this.toString())},N.prototype.lighten=function(de){void 0===de&&(de=10);var x=this.toHsl();return x.l+=de/100,x.l=H(x.l),new N(x)},N.prototype.brighten=function(de){void 0===de&&(de=10);var x=this.toRgb();return x.r=Math.max(0,Math.min(255,x.r-Math.round(-de/100*255))),x.g=Math.max(0,Math.min(255,x.g-Math.round(-de/100*255))),x.b=Math.max(0,Math.min(255,x.b-Math.round(-de/100*255))),new N(x)},N.prototype.darken=function(de){void 0===de&&(de=10);var x=this.toHsl();return x.l-=de/100,x.l=H(x.l),new N(x)},N.prototype.tint=function(de){return void 0===de&&(de=10),this.mix("white",de)},N.prototype.shade=function(de){return void 0===de&&(de=10),this.mix("black",de)},N.prototype.desaturate=function(de){void 0===de&&(de=10);var x=this.toHsl();return x.s-=de/100,x.s=H(x.s),new N(x)},N.prototype.saturate=function(de){void 0===de&&(de=10);var x=this.toHsl();return x.s+=de/100,x.s=H(x.s),new N(x)},N.prototype.greyscale=function(){return this.desaturate(100)},N.prototype.spin=function(de){var x=this.toHsl(),q=(x.h+de)%360;return x.h=q<0?360+q:q,new N(x)},N.prototype.mix=function(de,x){void 0===x&&(x=50);var q=this.toRgb(),pe=new N(de).toRgb(),We=x/100;return new N({r:(pe.r-q.r)*We+q.r,g:(pe.g-q.g)*We+q.g,b:(pe.b-q.b)*We+q.b,a:(pe.a-q.a)*We+q.a})},N.prototype.analogous=function(de,x){void 0===de&&(de=6),void 0===x&&(x=30);var q=this.toHsl(),pe=360/x,We=[this];for(q.h=(q.h-(pe*de>>1)+720)%360;--de;)q.h=(q.h+pe)%360,We.push(new N(q));return We},N.prototype.complement=function(){var de=this.toHsl();return de.h=(de.h+180)%360,new N(de)},N.prototype.monochromatic=function(de){void 0===de&&(de=6);for(var x=this.toHsv(),q=x.h,pe=x.s,We=x.v,pt=[],on=1/de;de--;)pt.push(new N({h:q,s:pe,v:We})),We=(We+on)%1;return pt},N.prototype.splitcomplement=function(){var de=this.toHsl(),x=de.h;return[this,new N({h:(x+72)%360,s:de.s,l:de.l}),new N({h:(x+216)%360,s:de.s,l:de.l})]},N.prototype.onBackground=function(de){var x=this.toRgb(),q=new N(de).toRgb(),pe=x.a+q.a*(1-x.a);return new N({r:(x.r*x.a+q.r*q.a*(1-x.a))/pe,g:(x.g*x.a+q.g*q.a*(1-x.a))/pe,b:(x.b*x.a+q.b*q.a*(1-x.a))/pe,a:pe})},N.prototype.triad=function(){return this.polyad(3)},N.prototype.tetrad=function(){return this.polyad(4)},N.prototype.polyad=function(de){for(var x=this.toHsl(),q=x.h,pe=[this],We=360/de,pt=1;pt{class N{white="transparent";size=8;grey="rgba(0,0,0,.08)";boxShadow;borderRadius;gridStyles;ngOnInit(){const x=function Fe(N,de,x){const q=`${N}-${de}-${x}`;if(Z[q])return Z[q];const pe=function ce(N,de,x){if(typeof document>"u")return null;const q=document.createElement("canvas");q.width=2*x,q.height=2*x;const pe=q.getContext("2d");return pe?(pe.fillStyle=N,pe.fillRect(0,0,q.width,q.height),pe.fillStyle=de,pe.fillRect(0,0,x,x),pe.translate(x,x),pe.fillRect(0,0,x,x),q.toDataURL()):null}(N,de,x);return pe?(Z[q]=pe,pe):null}(this.white,this.grey,this.size);this.gridStyles={borderRadius:this.borderRadius,boxShadow:this.boxShadow,background:`url(${x}) center left`}}static \u0275fac=function(q){return new(q||N)};static \u0275cmp=l.Xpm({type:N,selectors:[["color-checkboard"]],inputs:{white:"white",size:"size",grey:"grey",boxShadow:"boxShadow",borderRadius:"borderRadius"},decls:1,vars:1,consts:[[1,"grid",3,"ngStyle"]],template:function(q,pe){1&q&&l._UZ(0,"div",0),2&q&&l.Q6J("ngStyle",pe.gridStyles)},dependencies:[n.PC],styles:[".grid[_ngcontent-%COMP%]{inset:0;position:absolute}"],changeDetection:0})}return N})(),st=(()=>{class N{static \u0275fac=function(q){return new(q||N)};static \u0275mod=l.oAB({type:N});static \u0275inj=l.cJS({imports:[n.ez]})}return N})(),lt=(()=>{class N{el;coordinatesChange=new Te.x;mousechange=new Te.x;mouseListening=!1;sub;mousemove(x,q,pe,We=!1){this.mouseListening&&(x.preventDefault(),this.mousechange.next({$event:x,x:q,y:pe,isTouch:We}))}mouseup(){this.mouseListening=!1}mousedown(x,q,pe,We=!1){x.preventDefault(),this.mouseListening=!0,this.mousechange.next({$event:x,x:q,y:pe,isTouch:We})}constructor(x){this.el=x}ngOnInit(){this.sub=this.mousechange.pipe((0,dt.x)((x,q)=>x.x===q.x&&x.y===q.y)).subscribe(x=>this.handleChange(x.x,x.y,x.$event,x.isTouch))}ngOnDestroy(){this.sub?.unsubscribe()}handleChange(x,q,pe,We){const pt=this.el.nativeElement.clientWidth,on=this.el.nativeElement.clientHeight,Qt=x-(this.el.nativeElement.getBoundingClientRect().left+window.pageXOffset);let gi=q-this.el.nativeElement.getBoundingClientRect().top;We||(gi-=window.pageYOffset),this.coordinatesChange.next({x,y:q,top:gi,left:Qt,containerWidth:pt,containerHeight:on,$event:pe})}static \u0275fac=function(q){return new(q||N)(l.Y36(l.SBq))};static \u0275dir=l.lG2({type:N,selectors:[["","ngx-color-coordinates",""]],hostBindings:function(q,pe){1&q&&l.NdJ("mousemove",function(pt){return pe.mousemove(pt,pt.pageX,pt.pageY)},!1,l.Jf7)("touchmove",function(pt){return pe.mousemove(pt,pt.touches[0].clientX,pt.touches[0].clientY,!0)},!1,l.Jf7)("mouseup",function(){return pe.mouseup()},!1,l.Jf7)("touchend",function(){return pe.mouseup()},!1,l.Jf7)("mousedown",function(pt){return pe.mousedown(pt,pt.pageX,pt.pageY)})("touchstart",function(pt){return pe.mousedown(pt,pt.touches[0].clientX,pt.touches[0].clientY,!0)})},outputs:{coordinatesChange:"coordinatesChange"}})}return N})(),yt=(()=>{class N{static \u0275fac=function(q){return new(q||N)};static \u0275mod=l.oAB({type:N});static \u0275inj=l.cJS({})}return N})(),Jt=(()=>{class N{hsl;rgb;pointer;shadow;radius;direction="horizontal";onChange=new l.vpe;gradient;pointerLeft;pointerTop;ngOnChanges(){"vertical"===this.direction?(this.pointerLeft=0,this.pointerTop=100*this.rgb.a,this.gradient={background:`linear-gradient(to bottom, rgba(${this.rgb.r},${this.rgb.g},${this.rgb.b}, 0) 0%,\n rgba(${this.rgb.r},${this.rgb.g},${this.rgb.b}, 1) 100%)`}):(this.gradient={background:`linear-gradient(to right, rgba(${this.rgb.r},${this.rgb.g},${this.rgb.b}, 0) 0%,\n rgba(${this.rgb.r},${this.rgb.g},${this.rgb.b}, 1) 100%)`},this.pointerLeft=100*this.rgb.a)}handleChange({top:x,left:q,containerHeight:pe,containerWidth:We,$event:pt}){let on;if("vertical"===this.direction){let Qt;Qt=x<0?0:x>pe?1:Math.round(100*x/pe)/100,this.hsl.a!==Qt&&(on={h:this.hsl.h,s:this.hsl.s,l:this.hsl.l,a:Qt,source:"rgb"})}else{let Qt;Qt=q<0?0:q>We?1:Math.round(100*q/We)/100,this.hsl.a!==Qt&&(on={h:this.hsl.h,s:this.hsl.s,l:this.hsl.l,a:Qt,source:"rgb"})}on&&this.onChange.emit({data:on,$event:pt})}static \u0275fac=function(q){return new(q||N)};static \u0275cmp=l.Xpm({type:N,selectors:[["color-alpha"]],inputs:{hsl:"hsl",rgb:"rgb",pointer:"pointer",shadow:"shadow",radius:"radius",direction:"direction"},outputs:{onChange:"onChange"},features:[l.TTD],decls:7,vars:15,consts:[[1,"alpha"],[1,"alpha-checkboard"],[1,"alpha-gradient",3,"ngStyle"],["ngx-color-coordinates","",3,"coordinatesChange"],[1,"alpha-pointer"],[1,"alpha-slider",3,"ngStyle"]],template:function(q,pe){1&q&&(l.TgZ(0,"div",0)(1,"div",1),l._UZ(2,"color-checkboard"),l.qZA(),l._UZ(3,"div",2),l.TgZ(4,"div",3),l.NdJ("coordinatesChange",function(pt){return pe.handleChange(pt)}),l.TgZ(5,"div",4),l._UZ(6,"div",5),l.qZA()()()),2&q&&(l.Udp("border-radius",pe.radius),l.xp6(3),l.Udp("box-shadow",pe.shadow)("border-radius",pe.radius),l.Q6J("ngStyle",pe.gradient),l.xp6(1),l.Gre("alpha-container color-alpha-",pe.direction,""),l.xp6(1),l.Udp("left",pe.pointerLeft,"%")("top",pe.pointerTop,"%"),l.xp6(1),l.Q6J("ngStyle",pe.pointer))},dependencies:[n.PC,ot,lt],styles:[".alpha[_ngcontent-%COMP%]{position:absolute;inset:0}.alpha-checkboard[_ngcontent-%COMP%]{position:absolute;inset:0;overflow:hidden}.alpha-gradient[_ngcontent-%COMP%]{position:absolute;inset:0}.alpha-container[_ngcontent-%COMP%]{position:relative;height:100%;margin:0 3px}.alpha-pointer[_ngcontent-%COMP%]{position:absolute}.alpha-slider[_ngcontent-%COMP%]{width:4px;border-radius:1px;height:8px;box-shadow:0 0 2px #0009;background:#fff;margin-top:1px;transform:translate(-2px)}"],changeDetection:0})}return N})(),Bt=(()=>{class N{static \u0275fac=function(q){return new(q||N)};static \u0275mod=l.oAB({type:N});static \u0275inj=l.cJS({imports:[n.ez,st,yt]})}return N})();function Vt(N){let x=0,q=0;return["r","g","b","a","h","s","l","v"].forEach(pe=>{N[pe]&&(x+=1,isNaN(N[pe])||(q+=1),("s"===pe||"l"===pe)&&/^\d+%$/.test(N[pe])&&(q+=1))}),x===q&&N}function Ft(N,de,x){const q=new ct(N.hex?N.hex:N);x&&q.setAlpha(1);const pe=q.toHsl(),We=q.toHsv(),pt=q.toRgb(),on=q.toHex();return 0===pe.s&&(pe.h=de||0,We.h=de||0),{hsl:pe,hex:"000000"===on&&0===pt.a?"transparent":q.toHexString(),rgb:pt,hsv:We,oldHue:N.h||de||pe.h,source:N.source}}var nn=function(N){return N.HEX="hex",N.HSL="hsl",N.HSV="hsv",N.RGB="rgb",N}(nn||{});let pn=(()=>{class N{className;mode=nn.HEX;color={h:250,s:.5,l:.2,a:1};colorChange=new l.vpe;onChange=new l.vpe;onChangeComplete=new l.vpe;onSwatchHover=new l.vpe;oldHue;hsl;hsv;rgb;hex;source;currentColor;changes;disableAlpha;_onChangeCompleteSubscription=new we.w0;_onSwatchHoverSubscription=new we.w0;ngOnInit(){this.changes=this.onChange.pipe((0,jt.b)(100),(0,Gt.b)(x=>{switch(this.onChangeComplete.emit(x),this.mode){case nn.HEX:this.colorChange.emit(x.color.hex);break;case nn.HSL:this.colorChange.emit(x.color.hsl);break;case nn.HSV:this.colorChange.emit(x.color.hsv);break;case nn.RGB:this.colorChange.emit(x.color.rgb);break;default:const q=`The mode '${this.mode}' is not supported`;if((0,l.X6Q)())throw new Error(q);console.warn(q)}})).subscribe(),this.setState(Ft(this.color,0)),this.currentColor=this.hex}ngOnChanges(){this.setState(Ft(this.color,this.oldHue))}ngOnDestroy(){this.changes?.unsubscribe(),this._onChangeCompleteSubscription?.unsubscribe(),this._onSwatchHoverSubscription?.unsubscribe()}setState(x){this.oldHue=x.oldHue,this.hsl=x.hsl,this.hsv=x.hsv,this.rgb=x.rgb,this.hex=x.hex,this.source=x.source,this.afterValidChange()}handleChange(x,q){if(Vt(x)){const We=Ft(x,x.h||this.oldHue,this.disableAlpha);this.setState(We),this.onChange.emit({color:We,$event:q}),this.afterValidChange()}}afterValidChange(){}handleSwatchHover(x,q){if(Vt(x)){const We=Ft(x,x.h||this.oldHue);this.setState(We),this.onSwatchHover.emit({color:We,$event:q})}}registerOnChange(x){this._onChangeCompleteSubscription.add(this.onChangeComplete.pipe((0,Gt.b)(q=>x(q.color.hex))).subscribe())}registerOnTouched(x){this._onSwatchHoverSubscription.add(this.onSwatchHover.pipe((0,Gt.b)(()=>x())).subscribe())}setDisabledState(x){}writeValue(x){this.color=x}static \u0275fac=function(q){return new(q||N)};static \u0275cmp=l.Xpm({type:N,selectors:[["color-wrap"]],inputs:{className:"className",mode:"mode",color:"color"},outputs:{colorChange:"colorChange",onChange:"onChange",onChangeComplete:"onChangeComplete",onSwatchHover:"onSwatchHover"},features:[l._Bn([{provide:ue.JU,useExisting:(0,l.Gpc)(()=>N),multi:!0}]),l.TTD],decls:0,vars:0,template:function(q,pe){},encapsulation:2})}return N})(),In=0,Tn=(()=>{class N{style;label;value;arrowOffset;dragLabel;dragMax;placeholder="";onChange=new l.vpe;currentValue;blurValue;wrapStyle;inputStyle;labelStyle;focus=!1;mousemove;mouseup;uniqueId="editableInput-"+ ++In;ngOnInit(){this.wrapStyle=this.style&&this.style.wrap?this.style.wrap:{},this.inputStyle=this.style&&this.style.input?this.style.input:{},this.labelStyle=this.style&&this.style.label?this.style.label:{},this.dragLabel&&(this.labelStyle.cursor="ew-resize")}handleFocus(x){this.focus=!0}handleFocusOut(x){this.focus=!1,this.currentValue=this.blurValue}handleKeydown(x){const q=String(x.target.value),pe=q.indexOf("%")>-1,We=Number(q.replace(/%/g,""));if(isNaN(We))return;const pt=this.arrowOffset||1;38===x.keyCode&&(this.onChange.emit(this.label?{data:{[this.label]:We+pt},$event:x}:{data:We+pt,$event:x}),this.currentValue=pe?`${We+pt}%`:We+pt),40===x.keyCode&&(this.onChange.emit(this.label?{data:{[this.label]:We-pt},$event:x}:{data:We-pt,$event:x}),this.currentValue=pe?We-pt+"%":We-pt)}handleKeyup(x){40===x.keyCode||38===x.keyCode||`${this.currentValue}`!==x.target.value&&this.onChange.emit(this.label?{data:{[this.label]:x.target.value},$event:x}:{data:x.target.value,$event:x})}ngOnChanges(){this.focus||(this.currentValue=String(this.value).toUpperCase()),this.blurValue=String(this.value).toUpperCase()}ngOnDestroy(){this.unsubscribe()}subscribe(){this.mousemove=(0,tt.R)(document,"mousemove").subscribe(x=>this.handleDrag(x)),this.mouseup=(0,tt.R)(document,"mouseup").subscribe(()=>this.unsubscribe())}unsubscribe(){this.mousemove?.unsubscribe(),this.mouseup?.unsubscribe()}handleMousedown(x){this.dragLabel&&(x.preventDefault(),this.handleDrag(x),this.subscribe())}handleDrag(x){if(this.dragLabel){const q=Math.round(this.value+x.movementX);q>=0&&q<=this.dragMax&&this.onChange.emit({data:{[this.label]:q},$event:x})}}static \u0275fac=function(q){return new(q||N)};static \u0275cmp=l.Xpm({type:N,selectors:[["color-editable-input"]],inputs:{style:"style",label:"label",value:"value",arrowOffset:"arrowOffset",dragLabel:"dragLabel",dragMax:"dragMax",placeholder:"placeholder"},outputs:{onChange:"onChange"},features:[l.TTD],decls:3,vars:6,consts:[[1,"wrap",3,"ngStyle"],["spellCheck","false",3,"ngStyle","value","placeholder","keydown","keyup","focus","focusout"],[3,"id","ngStyle","mousedown",4,"ngIf"],[3,"id","ngStyle","mousedown"]],template:function(q,pe){1&q&&(l.TgZ(0,"div",0)(1,"input",1),l.NdJ("keydown",function(pt){return pe.handleKeydown(pt)})("keyup",function(pt){return pe.handleKeyup(pt)})("focus",function(pt){return pe.handleFocus(pt)})("focusout",function(pt){return pe.handleFocusOut(pt)}),l.qZA(),l.YNc(2,cn,2,3,"span",2),l.qZA()),2&q&&(l.Q6J("ngStyle",pe.wrapStyle),l.xp6(1),l.Q6J("ngStyle",pe.inputStyle)("value",pe.currentValue)("placeholder",pe.placeholder),l.uIk("aria-labelledby",pe.uniqueId),l.xp6(1),l.Q6J("ngIf",pe.label))},dependencies:[n.O5,n.PC],styles:["[_nghost-%COMP%]{display:flex}.wrap[_ngcontent-%COMP%]{position:relative}"],changeDetection:0})}return N})(),at=(()=>{class N{static \u0275fac=function(q){return new(q||N)};static \u0275mod=l.oAB({type:N});static \u0275inj=l.cJS({imports:[n.ez]})}return N})(),Nt=(()=>{class N{hsl;pointer;radius;shadow;hidePointer=!1;direction="horizontal";onChange=new l.vpe;left="0px";top="";ngOnChanges(){"horizontal"===this.direction?this.left=100*this.hsl.h/360+"%":this.top=-100*this.hsl.h/360+100+"%"}handleChange({top:x,left:q,containerHeight:pe,containerWidth:We,$event:pt}){let on;if("vertical"===this.direction){let Qt;Qt=x<0?359:x>pe?0:360*(-100*x/pe+100)/100,this.hsl.h!==Qt&&(on={h:Qt,s:this.hsl.s,l:this.hsl.l,a:this.hsl.a,source:"rgb"})}else{let Qt;Qt=q<0?0:q>We?359:100*q/We*360/100,this.hsl.h!==Qt&&(on={h:Qt,s:this.hsl.s,l:this.hsl.l,a:this.hsl.a,source:"rgb"})}on&&this.onChange.emit({data:on,$event:pt})}static \u0275fac=function(q){return new(q||N)};static \u0275cmp=l.Xpm({type:N,selectors:[["color-hue"]],inputs:{hsl:"hsl",pointer:"pointer",radius:"radius",shadow:"shadow",hidePointer:"hidePointer",direction:"direction"},outputs:{onChange:"onChange"},features:[l.TTD],decls:3,vars:8,consts:[["ngx-color-coordinates","",1,"color-hue-container",3,"coordinatesChange"],["class","color-hue-pointer",3,"left","top",4,"ngIf"],[1,"color-hue-pointer"],[1,"color-hue-slider",3,"ngStyle"]],template:function(q,pe){1&q&&(l.TgZ(0,"div")(1,"div",0),l.NdJ("coordinatesChange",function(pt){return pe.handleChange(pt)}),l.YNc(2,Lt,2,5,"div",1),l.qZA()()),2&q&&(l.Gre("color-hue color-hue-",pe.direction,""),l.Udp("border-radius",pe.radius,"px")("box-shadow",pe.shadow),l.xp6(2),l.Q6J("ngIf",!pe.hidePointer))},dependencies:[n.O5,n.PC,lt],styles:[".color-hue[_ngcontent-%COMP%]{position:absolute;inset:0}.color-hue-container[_ngcontent-%COMP%]{margin:0 2px;position:relative;height:100%}.color-hue-pointer[_ngcontent-%COMP%]{position:absolute}.color-hue-slider[_ngcontent-%COMP%]{margin-top:1px;width:4px;border-radius:1px;height:8px;box-shadow:0 0 2px #0009;background:#fff;transform:translate(-2px)}.color-hue-horizontal[_ngcontent-%COMP%]{background:linear-gradient(to right,#f00 0%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%)}.color-hue-vertical[_ngcontent-%COMP%]{background:linear-gradient(to top,#f00 0%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%)}"],changeDetection:0})}return N})(),Ke=(()=>{class N{static \u0275fac=function(q){return new(q||N)};static \u0275mod=l.oAB({type:N});static \u0275inj=l.cJS({imports:[n.ez,yt]})}return N})(),Yt=(()=>{class N{hsl;hsv;radius;pointer;circle;onChange=new l.vpe;background;pointerTop;pointerLeft;ngOnChanges(){this.background=`hsl(${this.hsl.h}, 100%, 50%)`,this.pointerTop=-100*this.hsv.v+1+100+"%",this.pointerLeft=100*this.hsv.s+"%"}handleChange({top:x,left:q,containerHeight:pe,containerWidth:We,$event:pt}){q<0?q=0:q>We?q=We:x<0?x=0:x>pe&&(x=pe);let Qt=-x/pe+1;Qt=Qt>0?Qt:0,Qt=Qt>1?1:Qt,this.onChange.emit({data:{h:this.hsl.h,s:q/We,v:Qt,a:this.hsl.a,source:"hsva"},$event:pt})}static \u0275fac=function(q){return new(q||N)};static \u0275cmp=l.Xpm({type:N,selectors:[["color-saturation"]],inputs:{hsl:"hsl",hsv:"hsv",radius:"radius",pointer:"pointer",circle:"circle"},outputs:{onChange:"onChange"},features:[l.TTD],decls:5,vars:8,consts:[["ngx-color-coordinates","",1,"color-saturation",3,"coordinatesChange"],[1,"saturation-white"],[1,"saturation-black"],[1,"saturation-pointer",3,"ngStyle"],[1,"saturation-circle",3,"ngStyle"]],template:function(q,pe){1&q&&(l.TgZ(0,"div",0),l.NdJ("coordinatesChange",function(pt){return pe.handleChange(pt)}),l.TgZ(1,"div",1),l._UZ(2,"div",2),l.TgZ(3,"div",3),l._UZ(4,"div",4),l.qZA()()()),2&q&&(l.Udp("background",pe.background),l.xp6(3),l.Udp("top",pe.pointerTop)("left",pe.pointerLeft),l.Q6J("ngStyle",pe.pointer),l.xp6(1),l.Q6J("ngStyle",pe.circle))},dependencies:[n.PC,lt],styles:[".saturation-white[_ngcontent-%COMP%]{background:linear-gradient(to right,#fff,rgba(255,255,255,0));position:absolute;inset:0}.saturation-black[_ngcontent-%COMP%]{background:linear-gradient(to top,#000,rgba(0,0,0,0));position:absolute;inset:0}.color-saturation[_ngcontent-%COMP%]{position:absolute;inset:0}.saturation-pointer[_ngcontent-%COMP%]{position:absolute;cursor:default}.saturation-circle[_ngcontent-%COMP%]{width:4px;height:4px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006;border-radius:50%;cursor:hand;transform:translate(-2px,-4px)}"],changeDetection:0})}return N})(),ge=(()=>{class N{static \u0275fac=function(q){return new(q||N)};static \u0275mod=l.oAB({type:N});static \u0275inj=l.cJS({imports:[n.ez,yt]})}return N})();const ut=function(N,de){return{input:N,label:de}};function Pe(N,de){if(1&N){const x=l.EpF();l.TgZ(0,"div",11)(1,"color-editable-input",12),l.NdJ("onChange",function(pe){l.CHM(x);const We=l.oxw();return l.KtG(We.handleChange(pe))}),l.qZA()()}if(2&N){const x=l.oxw();l.xp6(1),l.Akn(l.WLB(3,ut,x.input,x.label)),l.Q6J("value",x.hex)}}function ee(N,de){if(1&N){const x=l.EpF();l.TgZ(0,"color-editable-input",17),l.NdJ("onChange",function(pe){l.CHM(x);const We=l.oxw(2);return l.KtG(We.handleChange(pe))}),l.qZA()}if(2&N){const x=l.oxw(2);l.Akn(l.WLB(4,ut,x.input,x.label)),l.Q6J("value",x.rgb.a)("arrowOffset",.01)}}function z(N,de){if(1&N){const x=l.EpF();l.TgZ(0,"div",11)(1,"color-editable-input",13),l.NdJ("onChange",function(pe){l.CHM(x);const We=l.oxw();return l.KtG(We.handleChange(pe))}),l.qZA()(),l.TgZ(2,"div",11)(3,"color-editable-input",14),l.NdJ("onChange",function(pe){l.CHM(x);const We=l.oxw();return l.KtG(We.handleChange(pe))}),l.qZA()(),l.TgZ(4,"div",11)(5,"color-editable-input",15),l.NdJ("onChange",function(pe){l.CHM(x);const We=l.oxw();return l.KtG(We.handleChange(pe))}),l.qZA()(),l.TgZ(6,"div",11),l.YNc(7,ee,1,7,"color-editable-input",16),l.qZA()}if(2&N){const x=l.oxw();l.xp6(1),l.Akn(l.WLB(10,ut,x.input,x.label)),l.Q6J("value",x.rgb.r),l.xp6(2),l.Akn(l.WLB(13,ut,x.input,x.label)),l.Q6J("value",x.rgb.g),l.xp6(2),l.Akn(l.WLB(16,ut,x.input,x.label)),l.Q6J("value",x.rgb.b),l.xp6(2),l.Q6J("ngIf",!x.disableAlpha)}}function D(N,de){if(1&N){const x=l.EpF();l.TgZ(0,"color-editable-input",17),l.NdJ("onChange",function(pe){l.CHM(x);const We=l.oxw(2);return l.KtG(We.handleChange(pe))}),l.qZA()}if(2&N){const x=l.oxw(2);l.Akn(l.WLB(4,ut,x.input,x.label)),l.Q6J("value",x.hsl.a)("arrowOffset",.01)}}function B(N,de){if(1&N){const x=l.EpF();l.TgZ(0,"div",11)(1,"color-editable-input",18),l.NdJ("onChange",function(pe){l.CHM(x);const We=l.oxw();return l.KtG(We.handleChange(pe))}),l.qZA()(),l.TgZ(2,"div",11)(3,"color-editable-input",19),l.NdJ("onChange",function(pe){l.CHM(x);const We=l.oxw();return l.KtG(We.handleChange(pe))}),l.qZA()(),l.TgZ(4,"div",11)(5,"color-editable-input",20),l.NdJ("onChange",function(pe){l.CHM(x);const We=l.oxw();return l.KtG(We.handleChange(pe))}),l.qZA()(),l.TgZ(6,"div",11),l.YNc(7,D,1,7,"color-editable-input",16),l.qZA()}if(2&N){const x=l.oxw();l.xp6(1),l.Akn(l.WLB(10,ut,x.input,x.label)),l.Q6J("value",x.round(x.hsl.h)),l.xp6(2),l.Akn(l.WLB(13,ut,x.input,x.label)),l.Q6J("value",x.round(100*x.hsl.s)+"%"),l.xp6(2),l.Akn(l.WLB(16,ut,x.input,x.label)),l.Q6J("value",x.round(100*x.hsl.l)+"%"),l.xp6(2),l.Q6J("ngIf",!x.disableAlpha)}}function he(N,de){if(1&N){const x=l.EpF();l.TgZ(0,"div",12)(1,"color-alpha",13),l.NdJ("onChange",function(pe){l.CHM(x);const We=l.oxw();return l.KtG(We.handleValueChange(pe))}),l.qZA()()}if(2&N){const x=l.oxw();l.xp6(1),l.Q6J("radius",2)("rgb",x.rgb)("hsl",x.hsl)("pointer",x.pointer)}}let X=(()=>{class N{disableAlpha;hsl;rgb;hex;onChange=new l.vpe;view="";input={fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px","text-align":"center"};label={"text-transform":"uppercase",fontSize:"11px","line-height":"11px",color:"#969696","text-align":"center",display:"block",marginTop:"12px"};ngOnInit(){1===this.hsl.a&&"hex"!==this.view?this.view="hex":"rgb"!==this.view&&"hsl"!==this.view&&(this.view="rgb")}toggleViews(){"hex"===this.view?this.view="rgb":"rgb"===this.view?this.view="hsl":"hsl"===this.view&&(this.view=1===this.hsl.a?"hex":"rgb")}round(x){return Math.round(x)}handleChange({data:x,$event:q}){if(x.hex){if(function Cn(N){return new ct(N).isValid}(x.hex)){const pe=new ct(x.hex);this.onChange.emit({data:{hex:this.disableAlpha?pe.toHex():pe.toHex8(),source:"hex"},$event:q})}}else if(x.r||x.g||x.b)this.onChange.emit({data:{r:x.r||this.rgb.r,g:x.g||this.rgb.g,b:x.b||this.rgb.b,source:"rgb"},$event:q});else if(x.a)x.a<0?x.a=0:x.a>1&&(x.a=1),this.disableAlpha&&(x.a=1),this.onChange.emit({data:{h:this.hsl.h,s:this.hsl.s,l:this.hsl.l,a:Math.round(100*x.a)/100,source:"rgb"},$event:q});else if(x.h||x.s||x.l){const pe=x.s&&x.s.replace("%",""),We=x.l&&x.l.replace("%","");this.onChange.emit({data:{h:x.h||this.hsl.h,s:Number(pe||this.hsl.s),l:Number(We||this.hsl.l),source:"hsl"},$event:q})}}static \u0275fac=function(q){return new(q||N)};static \u0275cmp=l.Xpm({type:N,selectors:[["color-chrome-fields"]],inputs:{disableAlpha:"disableAlpha",hsl:"hsl",rgb:"rgb",hex:"hex"},outputs:{onChange:"onChange"},decls:13,vars:3,consts:[[1,"chrome-wrap"],[1,"chrome-fields"],[3,"ngIf"],[1,"chrome-toggle"],[1,"chrome-icon",3,"click"],["icon",""],["viewBox","0 0 24 24",1,"chrome-toggle-svg"],["fill","#333","d","M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"],["iconUp",""],["fill","#333","d","M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15Z"],["iconDown",""],[1,"chrome-field"],["label","hex",3,"value","onChange"],["label","r",3,"value","onChange"],["label","g",3,"value","onChange"],["label","b",3,"value","onChange"],["label","a",3,"style","value","arrowOffset","onChange",4,"ngIf"],["label","a",3,"value","arrowOffset","onChange"],["label","h",3,"value","onChange"],["label","s",3,"value","onChange"],["label","l",3,"value","onChange"]],template:function(q,pe){1&q&&(l.TgZ(0,"div",0)(1,"div",1),l.YNc(2,Pe,2,6,"ng-template",2),l.YNc(3,z,8,19,"ng-template",2),l.YNc(4,B,8,19,"ng-template",2),l.qZA(),l.TgZ(5,"div",3)(6,"div",4,5),l.NdJ("click",function(){return pe.toggleViews()}),l.O4$(),l.TgZ(8,"svg",6),l._UZ(9,"path",7,8)(11,"path",9,10),l.qZA()()()()),2&q&&(l.xp6(2),l.Q6J("ngIf","hex"===pe.view),l.xp6(1),l.Q6J("ngIf","rgb"===pe.view),l.xp6(1),l.Q6J("ngIf","hsl"===pe.view))},dependencies:[n.O5,Tn],styles:[".chrome-wrap[_ngcontent-%COMP%]{padding-top:16px;display:flex}.chrome-fields[_ngcontent-%COMP%]{flex:1;display:flex;margin-left:-6px}.chrome-field[_ngcontent-%COMP%]{padding-left:6px;width:100%}.chrome-toggle[_ngcontent-%COMP%]{width:32px;text-align:right;position:relative}.chrome-icon[_ngcontent-%COMP%]{margin-right:-4px;margin-top:12px;cursor:pointer;position:relative}.chrome-toggle-svg[_ngcontent-%COMP%]{width:24px;height:24px;border:1px transparent solid;border-radius:5px}.chrome-toggle-svg[_ngcontent-%COMP%]:hover{background:#eee}"],changeDetection:0})}return N})(),ne=(()=>{class N extends pn{disableAlpha=!1;circle={width:"12px",height:"12px",borderRadius:"6px",boxShadow:"rgb(255, 255, 255) 0px 0px 0px 1px inset",transform:"translate(-6px, -8px)"};pointer={width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -2px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"};activeBackground;constructor(){super()}afterValidChange(){this.activeBackground=`rgba(${this.rgb.r}, ${this.rgb.g}, ${this.rgb.b}, ${this.disableAlpha?1:this.rgb.a})`}handleValueChange({data:x,$event:q}){this.handleChange(x,q)}static \u0275fac=function(q){return new(q||N)};static \u0275cmp=l.Xpm({type:N,selectors:[["color-chrome"]],inputs:{disableAlpha:"disableAlpha"},features:[l._Bn([{provide:ue.JU,useExisting:(0,l.Gpc)(()=>N),multi:!0},{provide:pn,useExisting:(0,l.Gpc)(()=>N)}]),l.qOj],decls:14,vars:16,consts:[[1,"saturation"],[3,"hsl","hsv","circle","onChange"],[1,"chrome-body"],[1,"chrome-controls"],[1,"chrome-color"],[1,"chrome-swatch"],[1,"chrome-active"],[1,"chrome-toggles"],[1,"chrome-hue"],[3,"radius","hsl","pointer","onChange"],["class","chrome-alpha",4,"ngIf"],[3,"rgb","hsl","hex","disableAlpha","onChange"],[1,"chrome-alpha"],[3,"radius","rgb","hsl","pointer","onChange"]],template:function(q,pe){1&q&&(l.TgZ(0,"div")(1,"div",0)(2,"color-saturation",1),l.NdJ("onChange",function(pt){return pe.handleValueChange(pt)}),l.qZA()(),l.TgZ(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5),l._UZ(7,"div",6)(8,"color-checkboard"),l.qZA()(),l.TgZ(9,"div",7)(10,"div",8)(11,"color-hue",9),l.NdJ("onChange",function(pt){return pe.handleValueChange(pt)}),l.qZA()(),l.YNc(12,he,2,4,"div",10),l.qZA()(),l.TgZ(13,"color-chrome-fields",11),l.NdJ("onChange",function(pt){return pe.handleValueChange(pt)}),l.qZA()()()),2&q&&(l.Gre("chrome-picker ",pe.className,""),l.xp6(2),l.Q6J("hsl",pe.hsl)("hsv",pe.hsv)("circle",pe.circle),l.xp6(5),l.Udp("background",pe.activeBackground),l.xp6(4),l.Q6J("radius",2)("hsl",pe.hsl)("pointer",pe.pointer),l.xp6(1),l.Q6J("ngIf",!pe.disableAlpha),l.xp6(1),l.Q6J("rgb",pe.rgb)("hsl",pe.hsl)("hex",pe.hex)("disableAlpha",pe.disableAlpha))},dependencies:function(){return[n.O5,Jt,ot,Nt,Yt,X]},styles:[".chrome-picker[_ngcontent-%COMP%]{background:#fff;border-radius:2px;box-shadow:0 0 2px #0000004d,0 4px 8px #0000004d;box-sizing:initial;width:225px;font-family:Menlo}.chrome-controls[_ngcontent-%COMP%]{display:flex}.chrome-color[_ngcontent-%COMP%]{width:42px}.chrome-body[_ngcontent-%COMP%]{padding:14px 14px 12px}.chrome-active[_ngcontent-%COMP%]{position:absolute;inset:0;border-radius:20px;box-shadow:inset 0 0 0 1px #0000001a;z-index:2}.chrome-swatch[_ngcontent-%COMP%]{width:28px;height:28px;border-radius:15px;position:relative;overflow:hidden}.saturation[_ngcontent-%COMP%]{width:100%;padding-bottom:55%;position:relative;border-radius:2px 2px 0 0;overflow:hidden}.chrome-toggles[_ngcontent-%COMP%]{flex:1}.chrome-hue[_ngcontent-%COMP%]{height:10px;position:relative;margin-bottom:8px}.chrome-alpha[_ngcontent-%COMP%]{height:10px;position:relative}"],changeDetection:0})}return N})(),Oe=(()=>{class N{static \u0275fac=function(q){return new(q||N)};static \u0275mod=l.oAB({type:N});static \u0275inj=l.cJS({imports:[n.ez,Bt,st,at,Ke,ge]})}return N})();var nt=g(9388);const Et=["button"];function Ot(N,de){1&N&&(l.O4$(),l.TgZ(0,"svg",3),l._UZ(1,"path",4),l.qZA())}const Tt=[[["","mtxColorpickerToggleIcon",""]]],$t=["[mtxColorpickerToggleIcon]"];function qt(N,de){}function Fn(N,de){if(1&N){const x=l.EpF();l.TgZ(0,"color-chrome",2),l.NdJ("onChangeComplete",function(pe){l.CHM(x);const We=l.oxw();return l.KtG(We.picker.select(We.getColorString(pe)))}),l.qZA()}if(2&N){const x=l.oxw();l.Q6J("color",x.picker.selected)}}class $n{constructor(de,x){this.target=de,this.targetElement=x,this.value=this.target.value}}const zn={provide:ue.JU,useExisting:(0,l.Gpc)(()=>ei),multi:!0},Nn={provide:ue.Cf,useExisting:(0,l.Gpc)(()=>ei),multi:!0};let ei=(()=>{class N{set mtxColorpicker(x){x&&(this._picker=x,this._picker.registerInput(this),this._pickerSubscription.unsubscribe(),this._pickerSubscription=this._picker._selectedChanged.subscribe(q=>{this.value=q,this._cvaOnChange(q),this._onTouched(),this.colorInput.emit(new $n(this,this._elementRef.nativeElement)),this.colorChange.emit(new $n(this,this._elementRef.nativeElement))}))}get disabled(){return!!this._disabled}set disabled(x){const q=(0,le.Ig)(x),pe=this._elementRef.nativeElement;this._disabled!==q&&(this._disabled=q,this._disabledChange.emit(q)),q&&this._isInitialized&&pe.blur&&pe.blur()}get value(){return this._value}set value(x){this._value=x,this._formatValue(x),this._valueChange.emit(x)}constructor(x,q){this._elementRef=x,this._formField=q,this.format="hex",this.colorChange=new l.vpe,this.colorInput=new l.vpe,this._disabledChange=new l.vpe,this._valueChange=new l.vpe,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._pickerSubscription=we.w0.EMPTY,this._validator=ue.kI.compose([]),this._lastValueValid=!1}ngAfterViewInit(){this._isInitialized=!0}ngOnDestroy(){this._pickerSubscription.unsubscribe(),this._valueChange.complete(),this._disabledChange.complete()}registerOnValidatorChange(x){this._validatorOnChange=x}validate(x){return this._validator?this._validator(x):null}getPopupConnectionElementRef(){return this.getConnectedOverlayOrigin()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}writeValue(x){this.value=x}registerOnChange(x){this._cvaOnChange=x}registerOnTouched(x){this._onTouched=x}setDisabledState(x){this.disabled=x}_onKeydown(x){this._picker&&x.altKey&&x.keyCode===ke.JH&&!this._elementRef.nativeElement.readOnly&&(this._picker.open(),x.preventDefault())}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_onInput(x){const q=x;this._value=q,this._cvaOnChange(q),this._valueChange.emit(q),this.colorInput.emit(new $n(this,this._elementRef.nativeElement))}_onChange(){this.colorChange.emit(new $n(this,this._elementRef.nativeElement))}getThemePalette(){return this._formField?this._formField.color:void 0}_formatValue(x){this._elementRef.nativeElement.value=x||""}static#e=this.\u0275fac=function(q){return new(q||N)(l.Y36(l.SBq),l.Y36(Le.KE,8))};static#t=this.\u0275dir=l.lG2({type:N,selectors:[["input","mtxColorpicker",""]],hostAttrs:[1,"mtx-colorpicker-input"],hostVars:3,hostBindings:function(q,pe){1&q&&l.NdJ("input",function(pt){return pe._onInput(pt.target.value)})("change",function(){return pe._onChange()})("blur",function(){return pe._onBlur()})("keydown",function(pt){return pe._onKeydown(pt)}),2&q&&(l.Ikx("disabled",pe.disabled),l.uIk("aria-haspopup",pe._picker?"dialog":null)("aria-owns",(null==pe._picker?null:pe._picker.opened)&&pe._picker.id||null))},inputs:{mtxColorpicker:"mtxColorpicker",disabled:"disabled",value:"value",format:"format"},outputs:{colorChange:"colorChange",colorInput:"colorInput"},exportAs:["mtxColorpickerInput"],features:[l._Bn([zn,Nn,{provide:ie.Jk,useExisting:N}])]})}return N})(),di=(()=>{class N{static#e=this.\u0275fac=function(q){return new(q||N)};static#t=this.\u0275dir=l.lG2({type:N,selectors:[["","mtxColorpickerToggleIcon",""]]})}return N})(),mn=(()=>{class N{get disabled(){return null==this._disabled&&this.picker?this.picker.disabled:!!this._disabled}set disabled(x){this._disabled=(0,le.Ig)(x)}constructor(x,q){this._changeDetectorRef=x,this._stateChanges=we.w0.EMPTY;const pe=Number(q);this.tabIndex=pe||0===pe?pe:null}ngOnChanges(x){x.picker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(x){this.picker&&!this.disabled&&(this.picker.open(),x.stopPropagation())}_watchStateChanges(){const x=this.picker?this.picker._disabledChange:(0,fe.of)(),q=this.picker&&this.picker.pickerInput?this.picker.pickerInput._disabledChange:(0,fe.of)(),pe=this.picker?(0,me.T)(this.picker.openedStream,this.picker.closedStream):(0,fe.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,me.T)(x,q,pe).subscribe(()=>this._changeDetectorRef.markForCheck())}static#e=this.\u0275fac=function(q){return new(q||N)(l.Y36(l.sBO),l.$8M("tabindex"))};static#t=this.\u0275cmp=l.Xpm({type:N,selectors:[["mtx-colorpicker-toggle"]],contentQueries:function(q,pe,We){if(1&q&&l.Suo(We,di,5),2&q){let pt;l.iGM(pt=l.CRH())&&(pe._customIcon=pt.first)}},viewQuery:function(q,pe){if(1&q&&l.Gf(Et,5),2&q){let We;l.iGM(We=l.CRH())&&(pe._button=We.first)}},hostAttrs:[1,"mtx-colorpicker-toggle"],hostVars:7,hostBindings:function(q,pe){1&q&&l.NdJ("click",function(pt){return pe._open(pt)}),2&q&&(l.uIk("tabindex",null),l.ekj("mtx-colorpicker-toggle-active",pe.picker&&pe.picker.opened)("mat-accent",pe.picker&&"accent"===pe.picker.color)("mat-warn",pe.picker&&"warn"===pe.picker.color))},inputs:{picker:["for","picker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["mtxColorpickerToggle"],features:[l.TTD],ngContentSelectors:$t,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mtx-colorpicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mtx-colorpicker-toggle-default-icon"],["d","M17.5,12A1.5,1.5 0 0,1 16,10.5A1.5,1.5 0 0,1 17.5,9A1.5,1.5 0 0,1 19,10.5A1.5,1.5 0 0,1 17.5,12M14.5,8A1.5,1.5 0 0,1 13,6.5A1.5,1.5 0 0,1 14.5,5A1.5,1.5 0 0,1 16,6.5A1.5,1.5 0 0,1 14.5,8M9.5,8A1.5,1.5 0 0,1 8,6.5A1.5,1.5 0 0,1 9.5,5A1.5,1.5 0 0,1 11,6.5A1.5,1.5 0 0,1 9.5,8M6.5,12A1.5,1.5 0 0,1 5,10.5A1.5,1.5 0 0,1 6.5,9A1.5,1.5 0 0,1 8,10.5A1.5,1.5 0 0,1 6.5,12M12,3A9,9 0 0,0 3,12A9,9 0 0,0 12,21A1.5,1.5 0 0,0 13.5,19.5C13.5,19.11 13.35,18.76 13.11,18.5C12.88,18.23 12.73,17.88 12.73,17.5A1.5,1.5 0 0,1 14.23,16H16A5,5 0 0,0 21,11C21,6.58 16.97,3 12,3Z"]],template:function(q,pe){1&q&&(l.F$t(Tt),l.TgZ(0,"button",0,1),l.YNc(2,Ot,2,0,"svg",2),l.Hsn(3),l.qZA()),2&q&&(l.Q6J("disabled",pe.disabled)("disableRipple",pe.disableRipple),l.uIk("aria-haspopup",pe.picker?"dialog":null)("aria-label",pe.ariaLabel)("tabindex",pe.disabled?-1:pe.tabIndex),l.xp6(2),l.Q6J("ngIf",!pe._customIcon))},dependencies:[n.O5,Se.RK],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mtx-colorpicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mtx-colorpicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mtx-colorpicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mtx-colorpicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mtx-colorpicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mtx-colorpicker-toggle-default-icon{margin:auto}\n"],encapsulation:2,changeDetection:0})}return N})();const vn={transformPanel:(0,Je.X$)("transformPanel",[(0,Je.eR)("void => enter-dropdown",(0,Je.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Je.F4)([(0,Je.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,Je.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,Je.eR)("* => void",(0,Je.jt)("100ms linear",(0,Je.oB)({opacity:0})))])};let ui=0;const pi=new l.OlP("mtx-colorpicker-scroll-strategy"),ti={provide:pi,deps:[R.aV],useFactory:function kn(N){return()=>N.scrollStrategies.reposition()}},hi=(0,Ue.pj)(class{constructor(N){this._elementRef=N}});let ai=(()=>{class N extends hi{constructor(x,q){super(x),this._changeDetectorRef=q,this._animationState="enter-dropdown",this._animationDone=new Te.x}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._animationDone.complete()}getColorString(x){return{hex:1===x.color.rgb.a?x.color.hex:new ct(x.color.rgb).toHex8String(),rgb:new ct(x.color.rgb).toRgbString(),hsl:new ct(x.color.hsl).toHslString(),hsv:new ct(x.color.hsv).toHsvString()}[this.picker.format]}static#e=this.\u0275fac=function(q){return new(q||N)(l.Y36(l.SBq),l.Y36(l.sBO))};static#t=this.\u0275cmp=l.Xpm({type:N,selectors:[["mtx-colorpicker-content"]],hostAttrs:[1,"mtx-colorpicker-content"],hostVars:1,hostBindings:function(q,pe){1&q&&l.WFA("@transformPanel.done",function(){return pe._animationDone.next()}),2&q&&l.d8E("@transformPanel",pe._animationState)},inputs:{color:"color"},exportAs:["mtxColorpickerContent"],features:[l.qOj],decls:3,vars:3,consts:[[3,"ngIf","ngIfElse","ngTemplateOutlet"],["default",""],[3,"color","onChangeComplete"]],template:function(q,pe){if(1&q&&(l.YNc(0,qt,0,0,"ng-template",0),l.YNc(1,Fn,1,1,"ng-template",null,1,l.W1O)),2&q){const We=l.MAs(2);l.Q6J("ngIf",pe.picker.content)("ngIfElse",We)("ngTemplateOutlet",pe.picker.content)}},dependencies:[n.O5,n.tP,ne],styles:[".mtx-colorpicker-content{display:block;border-radius:4px}\n"],encapsulation:2,data:{animation:[vn.transformPanel]},changeDetection:0})}return N})(),Kn=(()=>{class N{get disabled(){return void 0===this._disabled&&this.pickerInput?this.pickerInput.disabled:!!this._disabled}set disabled(x){const q=(0,le.Ig)(x);q!==this._disabled&&(this._disabled=q,this._disabledChange.next(q))}get restoreFocus(){return this._restoreFocus}set restoreFocus(x){this._restoreFocus=(0,le.Ig)(x)}get opened(){return this._opened}set opened(x){(0,le.Ig)(x)?this.open():this.close()}get color(){return this._color||(this.pickerInput?this.pickerInput.getThemePalette():void 0)}set color(x){this._color=x}get format(){return this._format||this.pickerInput.format}set format(x){this._format=x}get selected(){return this._validSelected}set selected(x){this._validSelected=x}constructor(x,q,pe,We,pt,on){this._overlay=x,this._ngZone=q,this._viewContainerRef=pe,this._dir=pt,this._document=on,this._inputStateChanges=we.w0.EMPTY,this.openedStream=new l.vpe,this.closedStream=new l.vpe,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this._opened=!1,this.id="mtx-colorpicker-"+ui++,this._validSelected="",this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this._disabledChange=new Te.x,this._selectedChanged=new Te.x,this._scrollStrategy=We}ngOnChanges(){}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this._disabledChange.complete()}select(x){this.selected=x,this._selectedChanged.next(x)}registerInput(x){if(this.pickerInput)throw Error("A Colorpicker can only be associated with a single input.");this.pickerInput=x,this._inputStateChanges=x._valueChange.subscribe(q=>this.selected=q)}open(){if(!this._opened&&!this.disabled){if(!this.pickerInput)throw Error("Attempted to open an Colorpicker with no associated input.");this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this._openOverlay(),this._opened=!0,this.openedStream.emit()}}close(){if(!this._opened)return;if(this._componentRef){const q=this._componentRef.instance;q._startExitAnimation(),q._animationDone.pipe((0,be.q)(1)).subscribe(()=>this._destroyOverlay())}const x=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(x)):x()}_forwardContentValues(x){x.picker=this,x.color=this.color}_openOverlay(){this._destroyOverlay();const x=this.pickerInput.getOverlayLabelId(),q=new te.C5(ai,this._viewContainerRef),pe=this._overlayRef=this._overlay.create(new R.X_({positionStrategy:this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:["mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mtx-colorpicker-popup"})),We=pe.overlayElement;We.setAttribute("role","dialog"),x&&We.setAttribute("aria-labelledby",x),this._getCloseStream(pe).subscribe(pt=>{pt&&pt.preventDefault(),this.close()}),this._componentRef=pe.attach(q),this._forwardContentValues(this._componentRef.instance),this._ngZone.onStable.pipe((0,be.q)(1)).subscribe(()=>pe.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDropdownStrategy(){const x=this._overlay.position().flexibleConnectedTo(this.pickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mtx-colorpicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(x)}_setConnectedPositions(x){const q="end"===this.xPosition?"end":"start",pe="start"===q?"end":"start",We="above"===this.yPosition?"bottom":"top",pt="top"===We?"bottom":"top";return x.withPositions([{originX:q,originY:pt,overlayX:q,overlayY:We},{originX:q,originY:We,overlayX:q,overlayY:pt},{originX:pe,originY:pt,overlayX:pe,overlayY:We},{originX:pe,originY:We,overlayX:pe,overlayY:pt}])}_getCloseStream(x){return(0,me.T)(x.backdropClick(),x.detachments(),x.keydownEvents().pipe((0,ye.h)(q=>q.keyCode===ke.hY&&!(0,ke.Vb)(q)||this.pickerInput&&(0,ke.Vb)(q,"altKey")&&q.keyCode===ke.LH)))}static#e=this.\u0275fac=function(q){return new(q||N)(l.Y36(R.aV),l.Y36(l.R0b),l.Y36(l.s_b),l.Y36(pi),l.Y36(nt.Is,8),l.Y36(n.K0,8))};static#t=this.\u0275cmp=l.Xpm({type:N,selectors:[["mtx-colorpicker"]],inputs:{content:"content",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",opened:"opened",color:"color",format:"format"},outputs:{openedStream:"opened",closedStream:"closed"},exportAs:["mtxColorpicker"],features:[l.TTD],decls:0,vars:0,template:function(q,pe){},encapsulation:2,changeDetection:0})}return N})(),mi=(()=>{class N{static#e=this.\u0275fac=function(q){return new(q||N)};static#t=this.\u0275mod=l.oAB({type:N});static#n=this.\u0275inj=l.cJS({providers:[ti],imports:[n.ez,R.U8,S.rt,te.eL,Se.ot,Oe]})}return N})()},6912:(Mt,je,g)=>{g.d(je,{zP:()=>Ii,re:()=>Yi,F3:()=>Wi,lJ:()=>qi});var n=g(5879),l=g(6814),R=g(6223),S=g(9773),te=g(9028),Se=g(7921),le=g(9397),ke=g(3620),ue=g(2181),ie=g(7398),we=g(927),fe=g(6410),me=g(8645),Te=g(2438),Le=g(3019);const Ue=["content"],be=["scroll"],ye=["padding"],Je=function(b){return{searchTerm:b}};function ve(b,j){if(1&b&&(n.TgZ(0,"div",6),n.GkF(1,7),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("ngTemplateOutlet",h.headerTemplate)("ngTemplateOutletContext",n.VKq(2,Je,h.filterValue))}}function H(b,j){if(1&b&&(n.TgZ(0,"div",8),n.GkF(1,7),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("ngTemplateOutlet",h.footerTemplate)("ngTemplateOutletContext",n.VKq(2,Je,h.filterValue))}}const xe=["*"],oe=["searchInput"];function Ie(b,j){if(1&b){const h=n.EpF();n.TgZ(0,"span",15),n.NdJ("click",function(){n.CHM(h);const E=n.oxw().$implicit,De=n.oxw(2);return n.KtG(De.unselect(E))}),n._uU(1,"\xd7"),n.qZA(),n._UZ(2,"span",16)}if(2&b){const h=n.oxw().$implicit,M=n.oxw(2);n.xp6(2),n.Q6J("ngItemLabel",h.label)("escape",M.escapeHTML)}}function Re(b,j){}const $e=function(b,j,h){return{item:b,clear:j,label:h}};function ft(b,j){if(1&b&&(n.TgZ(0,"div",12),n.YNc(1,Ie,3,2,"ng-template",null,13,n.W1O),n.YNc(3,Re,0,0,"ng-template",14),n.qZA()),2&b){const h=j.$implicit,M=n.MAs(2),E=n.oxw(2);n.ekj("ng-value-disabled",h.disabled),n.xp6(3),n.Q6J("ngTemplateOutlet",E.labelTemplate||M)("ngTemplateOutletContext",n.kEZ(4,$e,h.value,E.clearItem,h.label))}}function bt(b,j){if(1&b&&(n.ynx(0),n.YNc(1,ft,4,8,"div",11),n.BQk()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("ngForOf",h.selectedItems)("ngForTrackBy",h.trackByOption)}}function Dt(b,j){}const Ut=function(b,j){return{items:b,clear:j}};function kt(b,j){if(1&b&&n.YNc(0,Dt,0,0,"ng-template",14),2&b){const h=n.oxw();n.Q6J("ngTemplateOutlet",h.multiLabelTemplate)("ngTemplateOutletContext",n.WLB(2,Ut,h.selectedValues,h.clearItem))}}function an(b,j){1&b&&n._UZ(0,"div",19)}function Xe(b,j){}function Ct(b,j){if(1&b&&(n.ynx(0),n.YNc(1,an,1,0,"ng-template",null,17,n.W1O),n.YNc(3,Xe,0,0,"ng-template",18),n.BQk()),2&b){const h=n.MAs(2),M=n.oxw();n.xp6(3),n.Q6J("ngTemplateOutlet",M.loadingSpinnerTemplate||h)}}function W(b,j){if(1&b&&(n.TgZ(0,"span",20)(1,"span",21),n._uU(2,"\xd7"),n.qZA()()),2&b){const h=n.oxw();n.s9C("title",h.clearAllText)}}function P(b,j){if(1&b&&n._UZ(0,"span",27),2&b){const h=n.oxw().$implicit,M=n.oxw(2);n.Q6J("ngItemLabel",h.label)("escape",M.escapeHTML)}}function se(b,j){}const L=function(b,j,h,M){return{item:b,item$:j,index:h,searchTerm:M}};function Ce(b,j){if(1&b){const h=n.EpF();n.TgZ(0,"div",25),n.NdJ("click",function(){const De=n.CHM(h).$implicit,Ve=n.oxw(2);return n.KtG(Ve.toggleItem(De))})("mouseover",function(){const De=n.CHM(h).$implicit,Ve=n.oxw(2);return n.KtG(Ve.onItemHover(De))}),n.YNc(1,P,1,2,"ng-template",null,26,n.W1O),n.YNc(3,se,0,0,"ng-template",14),n.qZA()}if(2&b){const h=j.$implicit,M=n.MAs(2),E=n.oxw(2);n.ekj("ng-option-disabled",h.disabled)("ng-option-selected",h.selected)("ng-optgroup",h.children)("ng-option",!h.children)("ng-option-child",!!h.parent)("ng-option-marked",h===E.itemsList.markedItem),n.uIk("role",h.children?"group":"option")("aria-selected",h.selected)("id",null==h?null:h.htmlId),n.xp6(3),n.Q6J("ngTemplateOutlet",h.children?E.optgroupTemplate||M:E.optionTemplate||M)("ngTemplateOutletContext",n.l5B(17,L,h.value,h,h.index,E.searchTerm))}}function G(b,j){if(1&b&&(n.TgZ(0,"span")(1,"span",30),n._uU(2),n.qZA(),n._uU(3),n.qZA()),2&b){const h=n.oxw(3);n.xp6(2),n.Oqu(h.addTagText),n.xp6(1),n.hij('"',h.searchTerm,'"')}}function $(b,j){}function Be(b,j){if(1&b){const h=n.EpF();n.TgZ(0,"div",28),n.NdJ("mouseover",function(){n.CHM(h);const E=n.oxw(2);return n.KtG(E.itemsList.unmarkItem())})("click",function(){n.CHM(h);const E=n.oxw(2);return n.KtG(E.selectTag())}),n.YNc(1,G,4,2,"ng-template",null,29,n.W1O),n.YNc(3,$,0,0,"ng-template",14),n.qZA()}if(2&b){const h=n.MAs(2),M=n.oxw(2);n.ekj("ng-option-marked",!M.itemsList.markedItem),n.xp6(3),n.Q6J("ngTemplateOutlet",M.tagTemplate||h)("ngTemplateOutletContext",n.VKq(4,Je,M.searchTerm))}}function ae(b,j){if(1&b&&(n.TgZ(0,"div",32),n._uU(1),n.qZA()),2&b){const h=n.oxw(3);n.xp6(1),n.Oqu(h.notFoundText)}}function He(b,j){}function Ze(b,j){if(1&b&&(n.ynx(0),n.YNc(1,ae,2,1,"ng-template",null,31,n.W1O),n.YNc(3,He,0,0,"ng-template",14),n.BQk()),2&b){const h=n.MAs(2),M=n.oxw(2);n.xp6(3),n.Q6J("ngTemplateOutlet",M.notFoundTemplate||h)("ngTemplateOutletContext",n.VKq(2,Je,M.searchTerm))}}function it(b,j){if(1&b&&(n.TgZ(0,"div",32),n._uU(1),n.qZA()),2&b){const h=n.oxw(3);n.xp6(1),n.Oqu(h.typeToSearchText)}}function qe(b,j){}function It(b,j){if(1&b&&(n.ynx(0),n.YNc(1,it,2,1,"ng-template",null,33,n.W1O),n.YNc(3,qe,0,0,"ng-template",18),n.BQk()),2&b){const h=n.MAs(2),M=n.oxw(2);n.xp6(3),n.Q6J("ngTemplateOutlet",M.typeToSearchTemplate||h)}}function Ye(b,j){if(1&b&&(n.TgZ(0,"div",32),n._uU(1),n.qZA()),2&b){const h=n.oxw(3);n.xp6(1),n.Oqu(h.loadingText)}}function ct(b,j){}function Ee(b,j){if(1&b&&(n.ynx(0),n.YNc(1,Ye,2,1,"ng-template",null,34,n.W1O),n.YNc(3,ct,0,0,"ng-template",14),n.BQk()),2&b){const h=n.MAs(2),M=n.oxw(2);n.xp6(3),n.Q6J("ngTemplateOutlet",M.loadingTextTemplate||h)("ngTemplateOutletContext",n.VKq(2,Je,M.searchTerm))}}function tt(b,j){if(1&b){const h=n.EpF();n.TgZ(0,"ng-dropdown-panel",22),n.NdJ("update",function(E){n.CHM(h);const De=n.oxw();return n.KtG(De.viewPortItems=E)})("scroll",function(E){n.CHM(h);const De=n.oxw();return n.KtG(De.scroll.emit(E))})("scrollToEnd",function(E){n.CHM(h);const De=n.oxw();return n.KtG(De.scrollToEnd.emit(E))})("outsideClick",function(){n.CHM(h);const E=n.oxw();return n.KtG(E.close())}),n.ynx(1),n.YNc(2,Ce,4,22,"div",23),n.YNc(3,Be,4,6,"div",24),n.BQk(),n.YNc(4,Ze,4,4,"ng-container",3),n.YNc(5,It,4,1,"ng-container",3),n.YNc(6,Ee,4,4,"ng-container",3),n.qZA()}if(2&b){const h=n.oxw();n.ekj("ng-select-multiple",h.multiple),n.Q6J("virtualScroll",h.virtualScroll)("bufferAmount",h.bufferAmount)("appendTo",h.appendTo)("position",h.dropdownPosition)("headerTemplate",h.headerTemplate)("footerTemplate",h.footerTemplate)("filterValue",h.searchTerm)("items",h.itemsList.filteredItems)("markedItem",h.itemsList.markedItem)("ngClass",h.appendTo?h.classes:null)("id",h.dropdownId),n.xp6(2),n.Q6J("ngForOf",h.viewPortItems)("ngForTrackBy",h.trackByOption),n.xp6(1),n.Q6J("ngIf",h.showAddTag),n.xp6(1),n.Q6J("ngIf",h.showNoItemsFound()),n.xp6(1),n.Q6J("ngIf",h.showTypeToSearch()),n.xp6(1),n.Q6J("ngIf",h.loading&&0===h.itemsList.filteredItems.length)}}const dt=/[&<>"']/g,jt=RegExp(dt.source),Gt={"&":"&","<":"<",">":">",'"':""","'":"'"};function Lt(b){return null!=b}function yn(b){return"object"==typeof b&&Lt(b)}function Z(b){return b instanceof Function}let ce=(()=>{class b{constructor(h){this.element=h,this.escape=!0}ngOnChanges(h){this.element.nativeElement.innerHTML=this.escape?function cn(b){return b&&jt.test(b)?b.replace(dt,j=>Gt[j]):b}(this.ngItemLabel):this.ngItemLabel}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.SBq))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[n.TTD]})}return b})(),Fe=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-option-tmp",""]]})}return b})(),ot=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-optgroup-tmp",""]]})}return b})(),st=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-label-tmp",""]]})}return b})(),lt=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-multi-label-tmp",""]]})}return b})(),yt=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-header-tmp",""]]})}return b})(),Jt=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-footer-tmp",""]]})}return b})(),Bt=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-notfound-tmp",""]]})}return b})(),Vt=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-typetosearch-tmp",""]]})}return b})(),Ft=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-loadingtext-tmp",""]]})}return b})(),Cn=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-tag-tmp",""]]})}return b})(),un=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-loadingspinner-tmp",""]]})}return b})();function nn(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(16*Math.random()|0).toString(16))}const pn={"\u24b6":"A",\uff21:"A",\u00c0:"A",\u00c1:"A",\u00c2:"A",\u1ea6:"A",\u1ea4:"A",\u1eaa:"A",\u1ea8:"A",\u00c3:"A",\u0100:"A",\u0102:"A",\u1eb0:"A",\u1eae:"A",\u1eb4:"A",\u1eb2:"A",\u0226:"A",\u01e0:"A",\u00c4:"A",\u01de:"A",\u1ea2:"A",\u00c5:"A",\u01fa:"A",\u01cd:"A",\u0200:"A",\u0202:"A",\u1ea0:"A",\u1eac:"A",\u1eb6:"A",\u1e00:"A",\u0104:"A",\u023a:"A",\u2c6f:"A",\ua732:"AA",\u00c6:"AE",\u01fc:"AE",\u01e2:"AE",\ua734:"AO",\ua736:"AU",\ua738:"AV",\ua73a:"AV",\ua73c:"AY","\u24b7":"B",\uff22:"B",\u1e02:"B",\u1e04:"B",\u1e06:"B",\u0243:"B",\u0182:"B",\u0181:"B","\u24b8":"C",\uff23:"C",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u00c7:"C",\u1e08:"C",\u0187:"C",\u023b:"C",\ua73e:"C","\u24b9":"D",\uff24:"D",\u1e0a:"D",\u010e:"D",\u1e0c:"D",\u1e10:"D",\u1e12:"D",\u1e0e:"D",\u0110:"D",\u018b:"D",\u018a:"D",\u0189:"D",\ua779:"D",\u01f1:"DZ",\u01c4:"DZ",\u01f2:"Dz",\u01c5:"Dz","\u24ba":"E",\uff25:"E",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u1ec0:"E",\u1ebe:"E",\u1ec4:"E",\u1ec2:"E",\u1ebc:"E",\u0112:"E",\u1e14:"E",\u1e16:"E",\u0114:"E",\u0116:"E",\u00cb:"E",\u1eba:"E",\u011a:"E",\u0204:"E",\u0206:"E",\u1eb8:"E",\u1ec6:"E",\u0228:"E",\u1e1c:"E",\u0118:"E",\u1e18:"E",\u1e1a:"E",\u0190:"E",\u018e:"E","\u24bb":"F",\uff26:"F",\u1e1e:"F",\u0191:"F",\ua77b:"F","\u24bc":"G",\uff27:"G",\u01f4:"G",\u011c:"G",\u1e20:"G",\u011e:"G",\u0120:"G",\u01e6:"G",\u0122:"G",\u01e4:"G",\u0193:"G",\ua7a0:"G",\ua77d:"G",\ua77e:"G","\u24bd":"H",\uff28:"H",\u0124:"H",\u1e22:"H",\u1e26:"H",\u021e:"H",\u1e24:"H",\u1e28:"H",\u1e2a:"H",\u0126:"H",\u2c67:"H",\u2c75:"H",\ua78d:"H","\u24be":"I",\uff29:"I",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u0128:"I",\u012a:"I",\u012c:"I",\u0130:"I",\u00cf:"I",\u1e2e:"I",\u1ec8:"I",\u01cf:"I",\u0208:"I",\u020a:"I",\u1eca:"I",\u012e:"I",\u1e2c:"I",\u0197:"I","\u24bf":"J",\uff2a:"J",\u0134:"J",\u0248:"J","\u24c0":"K",\uff2b:"K",\u1e30:"K",\u01e8:"K",\u1e32:"K",\u0136:"K",\u1e34:"K",\u0198:"K",\u2c69:"K",\ua740:"K",\ua742:"K",\ua744:"K",\ua7a2:"K","\u24c1":"L",\uff2c:"L",\u013f:"L",\u0139:"L",\u013d:"L",\u1e36:"L",\u1e38:"L",\u013b:"L",\u1e3c:"L",\u1e3a:"L",\u0141:"L",\u023d:"L",\u2c62:"L",\u2c60:"L",\ua748:"L",\ua746:"L",\ua780:"L",\u01c7:"LJ",\u01c8:"Lj","\u24c2":"M",\uff2d:"M",\u1e3e:"M",\u1e40:"M",\u1e42:"M",\u2c6e:"M",\u019c:"M","\u24c3":"N",\uff2e:"N",\u01f8:"N",\u0143:"N",\u00d1:"N",\u1e44:"N",\u0147:"N",\u1e46:"N",\u0145:"N",\u1e4a:"N",\u1e48:"N",\u0220:"N",\u019d:"N",\ua790:"N",\ua7a4:"N",\u01ca:"NJ",\u01cb:"Nj","\u24c4":"O",\uff2f:"O",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u1ed2:"O",\u1ed0:"O",\u1ed6:"O",\u1ed4:"O",\u00d5:"O",\u1e4c:"O",\u022c:"O",\u1e4e:"O",\u014c:"O",\u1e50:"O",\u1e52:"O",\u014e:"O",\u022e:"O",\u0230:"O",\u00d6:"O",\u022a:"O",\u1ece:"O",\u0150:"O",\u01d1:"O",\u020c:"O",\u020e:"O",\u01a0:"O",\u1edc:"O",\u1eda:"O",\u1ee0:"O",\u1ede:"O",\u1ee2:"O",\u1ecc:"O",\u1ed8:"O",\u01ea:"O",\u01ec:"O",\u00d8:"O",\u01fe:"O",\u0186:"O",\u019f:"O",\ua74a:"O",\ua74c:"O",\u01a2:"OI",\ua74e:"OO",\u0222:"OU","\u24c5":"P",\uff30:"P",\u1e54:"P",\u1e56:"P",\u01a4:"P",\u2c63:"P",\ua750:"P",\ua752:"P",\ua754:"P","\u24c6":"Q",\uff31:"Q",\ua756:"Q",\ua758:"Q",\u024a:"Q","\u24c7":"R",\uff32:"R",\u0154:"R",\u1e58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1e5a:"R",\u1e5c:"R",\u0156:"R",\u1e5e:"R",\u024c:"R",\u2c64:"R",\ua75a:"R",\ua7a6:"R",\ua782:"R","\u24c8":"S",\uff33:"S",\u1e9e:"S",\u015a:"S",\u1e64:"S",\u015c:"S",\u1e60:"S",\u0160:"S",\u1e66:"S",\u1e62:"S",\u1e68:"S",\u0218:"S",\u015e:"S",\u2c7e:"S",\ua7a8:"S",\ua784:"S","\u24c9":"T",\uff34:"T",\u1e6a:"T",\u0164:"T",\u1e6c:"T",\u021a:"T",\u0162:"T",\u1e70:"T",\u1e6e:"T",\u0166:"T",\u01ac:"T",\u01ae:"T",\u023e:"T",\ua786:"T",\ua728:"TZ","\u24ca":"U",\uff35:"U",\u00d9:"U",\u00da:"U",\u00db:"U",\u0168:"U",\u1e78:"U",\u016a:"U",\u1e7a:"U",\u016c:"U",\u00dc:"U",\u01db:"U",\u01d7:"U",\u01d5:"U",\u01d9:"U",\u1ee6:"U",\u016e:"U",\u0170:"U",\u01d3:"U",\u0214:"U",\u0216:"U",\u01af:"U",\u1eea:"U",\u1ee8:"U",\u1eee:"U",\u1eec:"U",\u1ef0:"U",\u1ee4:"U",\u1e72:"U",\u0172:"U",\u1e76:"U",\u1e74:"U",\u0244:"U","\u24cb":"V",\uff36:"V",\u1e7c:"V",\u1e7e:"V",\u01b2:"V",\ua75e:"V",\u0245:"V",\ua760:"VY","\u24cc":"W",\uff37:"W",\u1e80:"W",\u1e82:"W",\u0174:"W",\u1e86:"W",\u1e84:"W",\u1e88:"W",\u2c72:"W","\u24cd":"X",\uff38:"X",\u1e8a:"X",\u1e8c:"X","\u24ce":"Y",\uff39:"Y",\u1ef2:"Y",\u00dd:"Y",\u0176:"Y",\u1ef8:"Y",\u0232:"Y",\u1e8e:"Y",\u0178:"Y",\u1ef6:"Y",\u1ef4:"Y",\u01b3:"Y",\u024e:"Y",\u1efe:"Y","\u24cf":"Z",\uff3a:"Z",\u0179:"Z",\u1e90:"Z",\u017b:"Z",\u017d:"Z",\u1e92:"Z",\u1e94:"Z",\u01b5:"Z",\u0224:"Z",\u2c7f:"Z",\u2c6b:"Z",\ua762:"Z","\u24d0":"a",\uff41:"a",\u1e9a:"a",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u1ea7:"a",\u1ea5:"a",\u1eab:"a",\u1ea9:"a",\u00e3:"a",\u0101:"a",\u0103:"a",\u1eb1:"a",\u1eaf:"a",\u1eb5:"a",\u1eb3:"a",\u0227:"a",\u01e1:"a",\u00e4:"a",\u01df:"a",\u1ea3:"a",\u00e5:"a",\u01fb:"a",\u01ce:"a",\u0201:"a",\u0203:"a",\u1ea1:"a",\u1ead:"a",\u1eb7:"a",\u1e01:"a",\u0105:"a",\u2c65:"a",\u0250:"a",\ua733:"aa",\u00e6:"ae",\u01fd:"ae",\u01e3:"ae",\ua735:"ao",\ua737:"au",\ua739:"av",\ua73b:"av",\ua73d:"ay","\u24d1":"b",\uff42:"b",\u1e03:"b",\u1e05:"b",\u1e07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24d2":"c",\uff43:"c",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u00e7:"c",\u1e09:"c",\u0188:"c",\u023c:"c",\ua73f:"c",\u2184:"c","\u24d3":"d",\uff44:"d",\u1e0b:"d",\u010f:"d",\u1e0d:"d",\u1e11:"d",\u1e13:"d",\u1e0f:"d",\u0111:"d",\u018c:"d",\u0256:"d",\u0257:"d",\ua77a:"d",\u01f3:"dz",\u01c6:"dz","\u24d4":"e",\uff45:"e",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u1ec1:"e",\u1ebf:"e",\u1ec5:"e",\u1ec3:"e",\u1ebd:"e",\u0113:"e",\u1e15:"e",\u1e17:"e",\u0115:"e",\u0117:"e",\u00eb:"e",\u1ebb:"e",\u011b:"e",\u0205:"e",\u0207:"e",\u1eb9:"e",\u1ec7:"e",\u0229:"e",\u1e1d:"e",\u0119:"e",\u1e19:"e",\u1e1b:"e",\u0247:"e",\u025b:"e",\u01dd:"e","\u24d5":"f",\uff46:"f",\u1e1f:"f",\u0192:"f",\ua77c:"f","\u24d6":"g",\uff47:"g",\u01f5:"g",\u011d:"g",\u1e21:"g",\u011f:"g",\u0121:"g",\u01e7:"g",\u0123:"g",\u01e5:"g",\u0260:"g",\ua7a1:"g",\u1d79:"g",\ua77f:"g","\u24d7":"h",\uff48:"h",\u0125:"h",\u1e23:"h",\u1e27:"h",\u021f:"h",\u1e25:"h",\u1e29:"h",\u1e2b:"h",\u1e96:"h",\u0127:"h",\u2c68:"h",\u2c76:"h",\u0265:"h",\u0195:"hv","\u24d8":"i",\uff49:"i",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u0129:"i",\u012b:"i",\u012d:"i",\u00ef:"i",\u1e2f:"i",\u1ec9:"i",\u01d0:"i",\u0209:"i",\u020b:"i",\u1ecb:"i",\u012f:"i",\u1e2d:"i",\u0268:"i",\u0131:"i","\u24d9":"j",\uff4a:"j",\u0135:"j",\u01f0:"j",\u0249:"j","\u24da":"k",\uff4b:"k",\u1e31:"k",\u01e9:"k",\u1e33:"k",\u0137:"k",\u1e35:"k",\u0199:"k",\u2c6a:"k",\ua741:"k",\ua743:"k",\ua745:"k",\ua7a3:"k","\u24db":"l",\uff4c:"l",\u0140:"l",\u013a:"l",\u013e:"l",\u1e37:"l",\u1e39:"l",\u013c:"l",\u1e3d:"l",\u1e3b:"l",\u017f:"l",\u0142:"l",\u019a:"l",\u026b:"l",\u2c61:"l",\ua749:"l",\ua781:"l",\ua747:"l",\u01c9:"lj","\u24dc":"m",\uff4d:"m",\u1e3f:"m",\u1e41:"m",\u1e43:"m",\u0271:"m",\u026f:"m","\u24dd":"n",\uff4e:"n",\u01f9:"n",\u0144:"n",\u00f1:"n",\u1e45:"n",\u0148:"n",\u1e47:"n",\u0146:"n",\u1e4b:"n",\u1e49:"n",\u019e:"n",\u0272:"n",\u0149:"n",\ua791:"n",\ua7a5:"n",\u01cc:"nj","\u24de":"o",\uff4f:"o",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u1ed3:"o",\u1ed1:"o",\u1ed7:"o",\u1ed5:"o",\u00f5:"o",\u1e4d:"o",\u022d:"o",\u1e4f:"o",\u014d:"o",\u1e51:"o",\u1e53:"o",\u014f:"o",\u022f:"o",\u0231:"o",\u00f6:"o",\u022b:"o",\u1ecf:"o",\u0151:"o",\u01d2:"o",\u020d:"o",\u020f:"o",\u01a1:"o",\u1edd:"o",\u1edb:"o",\u1ee1:"o",\u1edf:"o",\u1ee3:"o",\u1ecd:"o",\u1ed9:"o",\u01eb:"o",\u01ed:"o",\u00f8:"o",\u01ff:"o",\u0254:"o",\ua74b:"o",\ua74d:"o",\u0275:"o",\u01a3:"oi",\u0223:"ou",\ua74f:"oo","\u24df":"p",\uff50:"p",\u1e55:"p",\u1e57:"p",\u01a5:"p",\u1d7d:"p",\ua751:"p",\ua753:"p",\ua755:"p","\u24e0":"q",\uff51:"q",\u024b:"q",\ua757:"q",\ua759:"q","\u24e1":"r",\uff52:"r",\u0155:"r",\u1e59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1e5b:"r",\u1e5d:"r",\u0157:"r",\u1e5f:"r",\u024d:"r",\u027d:"r",\ua75b:"r",\ua7a7:"r",\ua783:"r","\u24e2":"s",\uff53:"s",\u00df:"s",\u015b:"s",\u1e65:"s",\u015d:"s",\u1e61:"s",\u0161:"s",\u1e67:"s",\u1e63:"s",\u1e69:"s",\u0219:"s",\u015f:"s",\u023f:"s",\ua7a9:"s",\ua785:"s",\u1e9b:"s","\u24e3":"t",\uff54:"t",\u1e6b:"t",\u1e97:"t",\u0165:"t",\u1e6d:"t",\u021b:"t",\u0163:"t",\u1e71:"t",\u1e6f:"t",\u0167:"t",\u01ad:"t",\u0288:"t",\u2c66:"t",\ua787:"t",\ua729:"tz","\u24e4":"u",\uff55:"u",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u0169:"u",\u1e79:"u",\u016b:"u",\u1e7b:"u",\u016d:"u",\u00fc:"u",\u01dc:"u",\u01d8:"u",\u01d6:"u",\u01da:"u",\u1ee7:"u",\u016f:"u",\u0171:"u",\u01d4:"u",\u0215:"u",\u0217:"u",\u01b0:"u",\u1eeb:"u",\u1ee9:"u",\u1eef:"u",\u1eed:"u",\u1ef1:"u",\u1ee5:"u",\u1e73:"u",\u0173:"u",\u1e77:"u",\u1e75:"u",\u0289:"u","\u24e5":"v",\uff56:"v",\u1e7d:"v",\u1e7f:"v",\u028b:"v",\ua75f:"v",\u028c:"v",\ua761:"vy","\u24e6":"w",\uff57:"w",\u1e81:"w",\u1e83:"w",\u0175:"w",\u1e87:"w",\u1e85:"w",\u1e98:"w",\u1e89:"w",\u2c73:"w","\u24e7":"x",\uff58:"x",\u1e8b:"x",\u1e8d:"x","\u24e8":"y",\uff59:"y",\u1ef3:"y",\u00fd:"y",\u0177:"y",\u1ef9:"y",\u0233:"y",\u1e8f:"y",\u00ff:"y",\u1ef7:"y",\u1e99:"y",\u1ef5:"y",\u01b4:"y",\u024f:"y",\u1eff:"y","\u24e9":"z",\uff5a:"z",\u017a:"z",\u1e91:"z",\u017c:"z",\u017e:"z",\u1e93:"z",\u1e95:"z",\u01b6:"z",\u0225:"z",\u0240:"z",\u2c6c:"z",\ua763:"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038a:"\u0399",\u03aa:"\u0399",\u038c:"\u039f",\u038e:"\u03a5",\u03ab:"\u03a5",\u038f:"\u03a9",\u03ac:"\u03b1",\u03ad:"\u03b5",\u03ae:"\u03b7",\u03af:"\u03b9",\u03ca:"\u03b9",\u0390:"\u03b9",\u03cc:"\u03bf",\u03cd:"\u03c5",\u03cb:"\u03c5",\u03b0:"\u03c5",\u03c9:"\u03c9",\u03c2:"\u03c3"};function bn(b){return b.replace(/[^\u0000-\u007E]/g,h=>pn[h]||h)}class In{constructor(j,h){this._ngSelect=j,this._selectionModel=h,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let j=this.selectedItems.length-1;for(;j>=0;j--){const h=this.selectedItems[j];if(!h.disabled)return h}return null}setItems(j){this._items=j.map((h,M)=>this.mapItem(h,M)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(j){if(j.selected||this.maxItemsSelected)return;const h=this._ngSelect.multiple;h||this.clearSelected(),this._selectionModel.select(j,h,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(j)}unselect(j){j.selected&&(this._selectionModel.unselect(j,this._ngSelect.multiple),this._ngSelect.hideSelected&&Lt(j.index)&&this._ngSelect.multiple&&this._showSelected(j))}findItem(j){let h;return h=this._ngSelect.compareWith?M=>this._ngSelect.compareWith(M.value,j):this._ngSelect.bindValue?M=>!M.children&&this.resolveNested(M.value,this._ngSelect.bindValue)===j:M=>M.value===j||!M.children&&M.label&&M.label===this.resolveNested(j,this._ngSelect.bindLabel),this._items.find(M=>h(M))}addItem(j){const h=this.mapItem(j,this._items.length);return this._items.push(h),this._filteredItems.push(h),h}clearSelected(j=!1){this._selectionModel.clear(j),this._items.forEach(h=>{h.selected=j&&h.selected&&h.disabled,h.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(j){return j=bn(j).toLocaleLowerCase(),this.filteredItems.find(h=>bn(h.label).toLocaleLowerCase().substr(0,j.length)===j)}filter(j){if(!j)return void this.resetFilteredItems();this._filteredItems=[],j=this._ngSelect.searchFn?j:bn(j).toLocaleLowerCase();const h=this._ngSelect.searchFn||this._defaultSearchFn,M=this._ngSelect.hideSelected;for(const E of Array.from(this._groups.keys())){const De=[];for(const Ve of this._groups.get(E))M&&(Ve.parent&&Ve.parent.selected||Ve.selected)||h(j,this._ngSelect.searchFn?Ve.value:Ve)&&De.push(Ve);if(De.length>0){const[Ve]=De.slice(-1);if(Ve.parent){const Pt=this._items.find(hn=>hn===Ve.parent);this._filteredItems.push(Pt)}this._filteredItems.push(...De)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected&&this.selectedItems.length>0?this._items.filter(j=>!j.selected):this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(j){this._markedIndex=this._filteredItems.indexOf(j)}markSelectedOrDefault(j){if(0===this._filteredItems.length)return;const h=this._getLastMarkedIndex();this._markedIndex=h>-1?h:j?this.filteredItems.findIndex(M=>!M.disabled):-1}resolveNested(j,h){if(!yn(j))return j;if(-1===h.indexOf("."))return j[h];{const M=h.split(".");let E=j;for(let De=0,Ve=M.length;De-1===this.selectedItems.indexOf(h)))}_showSelected(j){if(this._filteredItems.push(j),j.parent){const h=j.parent;this._filteredItems.find(E=>E===h)||this._filteredItems.push(h)}else if(j.children)for(const h of j.children)h.selected=!1,this._filteredItems.push(h);this._filteredItems=[...this._filteredItems.sort((h,M)=>h.index-M.index)]}_hideSelected(j){this._filteredItems=this._filteredItems.filter(h=>h!==j),j.parent?j.parent.children.every(M=>M.selected)&&(this._filteredItems=this._filteredItems.filter(M=>M!==j.parent)):j.children&&(this._filteredItems=this.filteredItems.filter(h=>h.parent!==j))}_defaultSearchFn(j,h){return bn(h.label).toLocaleLowerCase().indexOf(j)>-1}_getNextItemIndex(j){return j>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(j){0===this._filteredItems.length||this._filteredItems.every(h=>h.disabled)||(this._markedIndex=this._getNextItemIndex(j),this.markedItem.disabled&&this._stepToItem(j))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&void 0===this.markedItem)return-1;const j=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&j<0?-1:Math.max(this.markedIndex,j)}_groupBy(j,h){const M=new Map;if(0===j.length)return M;if(Array.isArray(j[0].value[h])){for(const Ve of j){const Pt=(Ve.value[h]||[]).map((hn,Zt)=>this.mapItem(hn,Zt));M.set(Ve,Pt)}return M}const E=Z(this._ngSelect.groupBy),De=Ve=>{const Pt=E?h(Ve.value):Ve.value[h];return Lt(Pt)?Pt:void 0};for(const Ve of j){const Pt=De(Ve),hn=M.get(Pt);hn?hn.push(Ve):M.set(Pt,[Ve])}return M}_flatten(j){const h=Z(this._ngSelect.groupBy),M=[];for(const E of Array.from(j.keys())){let De=M.length;if(void 0===E){const Hn=j.get(void 0)||[];M.push(...Hn.map(St=>(St.index=De++,St)));continue}const Ve=yn(E),Pt={label:Ve?"":String(E),children:void 0,parent:null,index:De++,disabled:!this._ngSelect.selectableGroup,htmlId:nn()},hn=h?this._ngSelect.bindLabel:this._ngSelect.groupBy,Zt=this._ngSelect.groupValue||(()=>Ve?E.value:{[hn]:E}),Pn=j.get(E).map(Hn=>(Hn.parent=Pt,Hn.children=void 0,Hn.index=De++,Hn));Pt.children=Pn,Pt.value=Zt(E,Pn.map(Hn=>Hn.value)),M.push(Pt),M.push(...Pn)}return M}}var Tn=function(b){return b[b.Tab=9]="Tab",b[b.Enter=13]="Enter",b[b.Esc=27]="Esc",b[b.Space=32]="Space",b[b.ArrowUp=38]="ArrowUp",b[b.ArrowDown=40]="ArrowDown",b[b.Backspace=8]="Backspace",b}(Tn||{});let at=(()=>{class b{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(h,M,E){const De=this._dimensions,Ve=De.itemHeight*M,hn=Math.max(0,h)/Ve*M;let Zt=Math.min(M,Math.ceil(hn)+(De.itemsPerViewport+1));const Hn=Math.max(0,Zt-De.itemsPerViewport);let St=Math.min(Hn,Math.floor(hn)),On=De.itemHeight*Math.ceil(St)-De.itemHeight*Math.min(St,E);return On=isNaN(On)?0:On,St=isNaN(St)?-1:St,Zt=isNaN(Zt)?-1:Zt,St-=E,St=Math.max(0,St),Zt+=E,Zt=Math.min(M,Zt),{topPadding:On,scrollHeight:Ve,start:St,end:Zt}}setDimensions(h,M){const E=Math.max(1,Math.floor(M/h));this._dimensions={itemHeight:h,panelHeight:M,itemsPerViewport:E}}getScrollTo(h,M,E){const{panelHeight:De}=this.dimensions,Ve=h+M,hn=E+De;return De>=Ve&&E===h?null:Ve>hn?E+Ve-hn:h<=E?h:null}static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275prov=n.Yz7({token:b,factory:b.\u0275fac})}return b})();const Nt=["top","right","bottom","left"],Ke=typeof requestAnimationFrame<"u"?we.Z:fe.E;let mt=(()=>{class b{constructor(h,M,E,De,Ve){this._renderer=h,this._zone=M,this._panelService=E,this._document=Ve,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new n.vpe,this.scroll=new n.vpe,this.scrollToEnd=new n.vpe,this.outsideClick=new n.vpe,this._destroy$=new me.x,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=De.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(h){h!==this._itemsLength&&(this._itemsLength=h,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){const{itemHeight:h,panelHeight:M}=this._panelService.dimensions,E=this.markedItem.index*h;return M>E?0:E}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(h){if(h.items){const M=h.items;this._onItemsChange(M.currentValue,M.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(h,M=!1){if(!h)return;const E=this.items.indexOf(h);if(E<0||E>=this.itemsLength)return;let De;if(this.virtualScroll){const Ve=this._panelService.dimensions.itemHeight;De=this._panelService.getScrollTo(E*Ve,Ve,this._lastScrollPosition)}else{const Ve=this._dropdown.querySelector(`#${h.htmlId}`);De=this._panelService.getScrollTo(Ve.offsetTop,Ve.clientHeight,M?Ve.offsetTop:this._lastScrollPosition)}Lt(De)&&(this._scrollablePanel.scrollTop=De)}scrollToTag(){const h=this._scrollablePanel;h.scrollTop=h.scrollHeight-h.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),Nt.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(h){Nt.forEach(E=>{const De=`ng-select-${E}`;this._renderer.removeClass(this._dropdown,De),this._renderer.removeClass(this._select,De)});const M=`ng-select-${h}`;this._renderer.addClass(this._dropdown,M),this._renderer.addClass(this._select,M)}_handleScroll(){this._zone.runOutsideAngular(()=>{(0,Te.R)(this.scrollElementRef.nativeElement,"scroll").pipe((0,S.R)(this._destroy$),(0,te.e)(0,Ke)).subscribe(h=>{const M=h.path||h.composedPath&&h.composedPath();this._onContentScrolled(M&&0!==M.length?M[0].scrollTop:h.target.scrollTop)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{(0,Le.T)((0,Te.R)(this._document,"touchstart",{capture:!0}),(0,Te.R)(this._document,"mousedown",{capture:!0})).pipe((0,S.R)(this._destroy$)).subscribe(h=>this._checkToClose(h))})}_checkToClose(h){if(this._select.contains(h.target)||this._dropdown.contains(h.target))return;const M=h.path||h.composedPath&&h.composedPath();h.target&&h.target.shadowRoot&&M&&M[0]&&this._select.contains(M[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(h,M){this.items=h||[],this._scrollToEndFired=!1,this.itemsLength=h.length,this.virtualScroll?this._updateItemsRange(M):(this._setVirtualHeight(),this._updateItems(M))}_updateItems(h){this.update.emit(this.items),!1!==h&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._panelService.setDimensions(0,this._scrollablePanel.clientHeight),this._handleDropdownPosition(),this.scrollTo(this.markedItem,h)})})}_updateItemsRange(h){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{h?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(h){this.virtualScroll&&this._renderItemsRange(h),this._lastScrollPosition=h,this._fireScrollToEnd(h)}_updateVirtualHeight(h){this._updateScrollHeight&&(this._virtualPadding.style.height=`${h}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(h=null){if(h&&this._lastScrollPosition===h)return;const M=this._panelService.calculateItems(h=h||this._scrollablePanel.scrollTop,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(M.scrollHeight),this._contentPanel.style.transform=`translateY(${M.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(M.start,M.end)),this.scroll.emit({start:M.start,end:M.end})}),Lt(h)&&0===this._lastScrollPosition&&(this._scrollablePanel.scrollTop=h,this._lastScrollPosition=h)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);const[h]=this.items;return this.update.emit([h]),Promise.resolve().then(()=>{const E=this._dropdown.querySelector(`#${h.htmlId}`).clientHeight;return this._virtualPadding.style.height=E*this.itemsLength+"px",this._panelService.setDimensions(E,this._scrollablePanel.clientHeight),this._panelService.dimensions})}_fireScrollToEnd(h){this._scrollToEndFired||0===h||h+this._dropdown.clientHeight>=(this.virtualScroll?this._virtualPadding:this._contentPanel).clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(h){if("auto"!==this.position)return this.position;const M=this._select.getBoundingClientRect(),E=document.documentElement.scrollTop||document.body.scrollTop;return M.top+window.pageYOffset+M.height+h.getBoundingClientRect().height>E+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){const h=this._select.getBoundingClientRect(),M=this._parent.getBoundingClientRect();this._dropdown.style.left=h.left-M.left+"px",this._dropdown.style.width=h.width+"px",this._dropdown.style.minWidth=h.width+"px"}_updateYPosition(){const h=this._select.getBoundingClientRect(),M=this._parent.getBoundingClientRect(),E=h.height;"top"===this._currentPosition?(this._dropdown.style.bottom=M.bottom-h.bottom+E+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=h.top-M.top+E+"px",this._dropdown.style.bottom="auto")}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{(0,Te.R)(this._dropdown,"mousedown").pipe((0,S.R)(this._destroy$)).subscribe(h=>{"INPUT"!==h.target.tagName&&h.preventDefault()})})}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Qsj),n.Y36(n.R0b),n.Y36(at),n.Y36(n.SBq),n.Y36(l.K0,8))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["ng-dropdown-panel"]],viewQuery:function(M,E){if(1&M&&(n.Gf(Ue,7,n.SBq),n.Gf(be,7,n.SBq),n.Gf(ye,7,n.SBq)),2&M){let De;n.iGM(De=n.CRH())&&(E.contentElementRef=De.first),n.iGM(De=n.CRH())&&(E.scrollElementRef=De.first),n.iGM(De=n.CRH())&&(E.paddingElementRef=De.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[n.TTD],ngContentSelectors:xe,decls:9,vars:6,consts:[["class","ng-dropdown-header",4,"ngIf"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],["scroll",""],["padding",""],["content",""],["class","ng-dropdown-footer",4,"ngIf"],[1,"ng-dropdown-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-dropdown-footer"]],template:function(M,E){1&M&&(n.F$t(),n.YNc(0,ve,2,4,"div",0),n.TgZ(1,"div",1,2),n._UZ(3,"div",null,3),n.TgZ(5,"div",null,4),n.Hsn(7),n.qZA()(),n.YNc(8,H,2,4,"div",5)),2&M&&(n.Q6J("ngIf",E.headerTemplate),n.xp6(3),n.ekj("total-padding",E.virtualScroll),n.xp6(2),n.ekj("scrollable-content",E.virtualScroll&&E.items.length),n.xp6(3),n.Q6J("ngIf",E.footerTemplate))},dependencies:[l.O5,l.tP],encapsulation:2,changeDetection:0})}return b})(),gt=(()=>{class b{get disabled(){return this._disabled}set disabled(h){this._disabled=this._isDisabled(h)}constructor(h){this.elementRef=h,this.stateChange$=new me.x,this._disabled=!1}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(h){h.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}_isDisabled(h){return null!=h&&"false"!=`${h}`}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.SBq))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["ng-option"]],inputs:{value:"value",disabled:"disabled"},features:[n.TTD],ngContentSelectors:xe,decls:1,vars:0,template:function(M,E){1&M&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0})}return b})(),Yt=(()=>{class b{constructor(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275prov=n.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})(),ge=(()=>{class b{warn(h){console.warn(h)}static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275prov=n.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})();const J=new n.OlP("ng-select-selection-model");let I=(()=>{class b{get items(){return this._items}set items(h){null===h&&(h=[]),this._itemsAreUsed=!0,this._items=h}get compareWith(){return this._compareWith}set compareWith(h){if(null!=h&&!Z(h))throw Error("`compareWith` must be a function.");this._compareWith=h}get clearSearchOnAdd(){return Lt(this._clearSearchOnAdd)?this._clearSearchOnAdd:Lt(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(h){this._clearSearchOnAdd=h}get deselectOnClick(){return Lt(this._deselectOnClick)?this._deselectOnClick:Lt(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple}set deselectOnClick(h){this._deselectOnClick=h}get disabled(){return this.readonly||this._disabled}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}constructor(h,M,E,De,Ve,Pt,hn){this.classes=h,this.autoFocus=M,this.config=E,this._cd=Pt,this._console=hn,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=Zt=>!0,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new n.vpe,this.focusEvent=new n.vpe,this.changeEvent=new n.vpe,this.openEvent=new n.vpe,this.closeEvent=new n.vpe,this.searchEvent=new n.vpe,this.clearEvent=new n.vpe,this.addEvent=new n.vpe,this.removeEvent=new n.vpe,this.scroll=new n.vpe,this.scrollToEnd=new n.vpe,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=nn(),this.escapeHTML=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new me.x,this._keyPress$=new me.x,this._onChange=Zt=>{},this._onTouched=()=>{},this.clearItem=Zt=>{const Pn=this.selectedItems.find(Hn=>Hn.value===Zt);this.unselect(Pn)},this.trackByOption=(Zt,Pn)=>this.trackByFn?this.trackByFn(Pn.value):Pn,this._mergeGlobalConfig(E),this.itemsList=new In(this,De()),this.element=Ve.nativeElement}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(h=>h.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(h){h.multiple&&this.itemsList.clearSelected(),h.items&&this._setItems(h.items.currentValue||[]),h.isOpen&&(this._manualOpen=Lt(h.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),Lt(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(h){if(Tn[h.which]){if(!1===this.keyDownFn(h))return;this.handleKeyCode(h)}else h.key&&1===h.key.length&&this._keyPress$.next(h.key.toLocaleLowerCase())}handleKeyCode(h){switch(h.which){case Tn.ArrowDown:this._handleArrowDown(h);break;case Tn.ArrowUp:this._handleArrowUp(h);break;case Tn.Space:this._handleSpace(h);break;case Tn.Enter:this._handleEnter(h);break;case Tn.Tab:this._handleTab(h);break;case Tn.Esc:this.close(),h.preventDefault();break;case Tn.Backspace:this._handleBackspace()}}handleMousedown(h){const M=h.target;"INPUT"!==M.tagName&&h.preventDefault(),M.classList.contains("ng-clear-wrapper")?this.handleClearClick():M.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():M.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(h){this.itemsList.clearSelected(),this._handleWriteValue(h),this._cd.markForCheck()}registerOnChange(h){this._onChange=h}registerOnTouched(h){this._onTouched=h}setDisabledState(h){this._disabled=h,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(h){!h||h.disabled||this.disabled||(this.deselectOnClick&&h.selected?this.unselect(h):this.select(h),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}select(h){h.selected||(this.itemsList.select(h),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(h.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.readOnly||this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(h){h&&(this.itemsList.unselect(h),this.focus(),this._updateNgModel(),this.removeEvent.emit(h))}selectTag(){let h;h=Z(this.addTag)?this.addTag(this.searchTerm):this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};const M=E=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(E,null):this.itemsList.addItem(E);!function et(b){return b instanceof Promise}(h)?h&&this.select(M(h)):h.then(E=>this.select(M(E))).catch(()=>{})}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}get showAddTag(){if(!this._validTerm)return!1;const h=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(M=>M.label.toLowerCase()===h)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(M=>M.label.toLowerCase()===h))&&!this.loading}showNoItemsFound(){const h=0===this.itemsList.filteredItems.length;return(h&&!this._isTypeahead&&!this.loading||h&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(h){this._isComposing=!1,!this.searchWhileComposing&&this.filter(h)}filter(h){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=h,this._isTypeahead&&(this._validTerm||0===this.minTermLength)&&this.typeahead.next(h),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:h,items:this.itemsList.filteredItems.map(M=>M.value)}),this.open())}onInputFocus(h){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(h),this.focused=!0)}onInputBlur(h){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(h),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(h){h.disabled||this.itemsList.markItem(h)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){const h=this.selectedItems&&this.selectedItems[0];this.searchTerm=h&&h.label||null}_setItems(h){const M=h[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=Lt(M)?!yn(M):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(h),h.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&Lt(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){const h=E=>{this.items=E.map(De=>({$ngOptionValue:De.value,$ngOptionLabel:De.elementRef.nativeElement.innerHTML,disabled:De.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},M=()=>{const E=(0,Le.T)(this.ngOptions.changes,this._destroy$);(0,Le.T)(...this.ngOptions.map(De=>De.stateChange$)).pipe((0,S.R)(E)).subscribe(De=>{const Ve=this.itemsList.findItem(De.value);Ve.disabled=De.disabled,Ve.label=De.label||Ve.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe((0,Se.O)(this.ngOptions),(0,S.R)(this._destroy$)).subscribe(E=>{this.bindLabel=this._defaultLabel,h(E),M()})}_isValidWriteValue(h){if(!Lt(h)||this.multiple&&""===h||Array.isArray(h)&&0===h.length)return!1;const M=E=>!(!Lt(this.compareWith)&&yn(E)&&this.bindValue&&(this._console.warn(`Setting object(${JSON.stringify(E)}) as your model with bindValue is not allowed unless [compareWith] is used.`),1));return this.multiple?Array.isArray(h)?h.every(E=>M(E)):(this._console.warn("Multiple select ngModel should be array."),!1):M(h)}_handleWriteValue(h){if(!this._isValidWriteValue(h))return;const M=E=>{let De=this.itemsList.findItem(E);if(De)this.itemsList.select(De);else{const Ve=yn(E);Ve||!Ve&&!this.bindValue?this.itemsList.select(this.itemsList.mapItem(E,null)):this.bindValue&&(De={[this.bindLabel]:null,[this.bindValue]:E},this.itemsList.select(this.itemsList.mapItem(De,null)))}};this.multiple?h.forEach(E=>M(E)):M(h)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe((0,S.R)(this._destroy$),(0,le.b)(h=>this._pressedKeys.push(h)),(0,ke.b)(200),(0,ue.h)(()=>this._pressedKeys.length>0),(0,ie.U)(()=>this._pressedKeys.join(""))).subscribe(h=>{const M=this.itemsList.findByLabel(h);M&&(this.isOpen?(this.itemsList.markItem(M),this._scrollToMarked(),this._cd.markForCheck()):this.select(M)),this._pressedKeys=[]})}_setInputAttributes(){const h=this.searchInput.nativeElement,M={type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId,...this.inputAttrs};for(const E of Object.keys(M))h.setAttribute(E,M[E])}_updateNgModel(){const h=[];for(const E of this.selectedItems)if(this.bindValue){let De=null;De=E.children?E.value[(this.groupValue?this.bindValue:this.groupBy)||this.groupBy]:this.itemsList.resolveNested(E.value,this.bindValue),h.push(De)}else h.push(E.value);const M=this.selectedItems.map(E=>E.value);this.multiple?(this._onChange(h),this.changeEvent.emit(M)):(this._onChange(Lt(h[0])?h[0]:null),this.changeEvent.emit(M[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(h){this.searchTerm=h,this._isTypeahead&&this.typeahead.next(h)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.deselectOnClick&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(h){!1===this.isOpen&&!this.addTag||(this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),h.preventDefault()):this.showAddTag?(this.selectTag(),h.preventDefault()):this.close():this.close())}_handleEnter(h){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}h.preventDefault()}_handleSpace(h){this.isOpen||this._manualOpen||(this.open(),h.preventDefault())}_handleArrowDown(h){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),h.preventDefault()}_handleArrowUp(h){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),h.preventDefault())}_nextItemIsTag(h){const M=this.itemsList.markedIndex+h;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(M<0||M===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){const h=this.searchTerm&&this.searchTerm.trim();return h&&h.length>=this.minTermLength}_mergeGlobalConfig(h){this.placeholder=this.placeholder||h.placeholder,this.notFoundText=this.notFoundText||h.notFoundText,this.typeToSearchText=this.typeToSearchText||h.typeToSearchText,this.addTagText=this.addTagText||h.addTagText,this.loadingText=this.loadingText||h.loadingText,this.clearAllText=this.clearAllText||h.clearAllText,this.virtualScroll=Lt(this.virtualScroll)?this.virtualScroll:!!Lt(h.disableVirtualScroll)&&!h.disableVirtualScroll,this.openOnEnter=Lt(this.openOnEnter)?this.openOnEnter:h.openOnEnter,this.appendTo=this.appendTo||h.appendTo,this.bindValue=this.bindValue||h.bindValue,this.bindLabel=this.bindLabel||h.bindLabel,this.appearance=this.appearance||h.appearance}static#e=this.\u0275fac=function(M){return new(M||b)(n.$8M("class"),n.$8M("autofocus"),n.Y36(Yt),n.Y36(J),n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(ge))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["ng-select"]],contentQueries:function(M,E,De){if(1&M&&(n.Suo(De,Fe,5,n.Rgc),n.Suo(De,ot,5,n.Rgc),n.Suo(De,st,5,n.Rgc),n.Suo(De,lt,5,n.Rgc),n.Suo(De,yt,5,n.Rgc),n.Suo(De,Jt,5,n.Rgc),n.Suo(De,Bt,5,n.Rgc),n.Suo(De,Vt,5,n.Rgc),n.Suo(De,Ft,5,n.Rgc),n.Suo(De,Cn,5,n.Rgc),n.Suo(De,un,5,n.Rgc),n.Suo(De,gt,5)),2&M){let Ve;n.iGM(Ve=n.CRH())&&(E.optionTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.optgroupTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.labelTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.multiLabelTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.headerTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.footerTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.notFoundTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.typeToSearchTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.loadingTextTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.tagTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.loadingSpinnerTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.ngOptions=Ve)}},viewQuery:function(M,E){if(1&M&&(n.Gf(mt,5),n.Gf(oe,7)),2&M){let De;n.iGM(De=n.CRH())&&(E.dropdownPanel=De.first),n.iGM(De=n.CRH())&&(E.searchInput=De.first)}},hostVars:20,hostBindings:function(M,E){1&M&&n.NdJ("keydown",function(Ve){return E.handleKeyDown(Ve)}),2&M&&n.ekj("ng-select-typeahead",E.typeahead)("ng-select-multiple",E.multiple)("ng-select-taggable",E.addTag)("ng-select-searchable",E.searchable)("ng-select-clearable",E.clearable)("ng-select-opened",E.isOpen)("ng-select",E.useDefaultClass)("ng-select-disabled",E.disabled)("ng-select-filtered",E.filtered)("ng-select-single",E.single)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",markFirst:"markFirst",placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:"loading",closeOnSelect:"closeOnSelect",hideSelected:"hideSelected",selectOnTab:"selectOnTab",openOnEnter:"openOnEnter",maxSelectedItems:"maxSelectedItems",groupBy:"groupBy",groupValue:"groupValue",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:"clearOnBackspace",labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:"tabIndex",readonly:"readonly",searchWhileComposing:"searchWhileComposing",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",typeahead:"typeahead",multiple:"multiple",addTag:"addTag",searchable:"searchable",clearable:"clearable",isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",deselectOnClick:"deselectOnClick"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[n._Bn([{provide:R.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0},at]),n.TTD],decls:14,vars:19,consts:[[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[4,"ngIf"],["role","combobox","aria-haspopup","listbox",1,"ng-input"],["aria-autocomplete","list",3,"readOnly","disabled","value","input","compositionstart","compositionend","focus","blur","change"],["searchInput",""],["class","ng-clear-wrapper",3,"title",4,"ngIf"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["class","ng-dropdown-panel","role","listbox","aria-label","Options list",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","update","scroll","scrollToEnd","outsideClick",4,"ngIf"],["class","ng-value",3,"ng-value-disabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ng-value"],["defaultLabelTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],["defaultLoadingSpinnerTemplate",""],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],[1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id","update","scroll","scrollToEnd","outsideClick"],["class","ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked","click","mouseover",4,"ngFor","ngForOf","ngForTrackBy"],["class","ng-option","role","option",3,"ng-option-marked","mouseover","click",4,"ngIf"],[1,"ng-option",3,"click","mouseover"],["defaultOptionTemplate",""],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],["defaultTagTemplate",""],[1,"ng-tag-label"],["defaultNotFoundTemplate",""],[1,"ng-option","ng-option-disabled"],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""]],template:function(M,E){if(1&M){const De=n.EpF();n.TgZ(0,"div",0),n.NdJ("mousedown",function(Pt){return E.handleMousedown(Pt)}),n.TgZ(1,"div",1)(2,"div",2),n._uU(3),n.qZA(),n.YNc(4,bt,2,2,"ng-container",3),n.YNc(5,kt,1,5,null,3),n.TgZ(6,"div",4)(7,"input",5,6),n.NdJ("input",function(){n.CHM(De);const Pt=n.MAs(8);return n.KtG(E.filter(Pt.value))})("compositionstart",function(){return E.onCompositionStart()})("compositionend",function(){n.CHM(De);const Pt=n.MAs(8);return n.KtG(E.onCompositionEnd(Pt.value))})("focus",function(Pt){return E.onInputFocus(Pt)})("blur",function(Pt){return E.onInputBlur(Pt)})("change",function(Pt){return Pt.stopPropagation()}),n.qZA()()(),n.YNc(9,Ct,4,1,"ng-container",3),n.YNc(10,W,3,1,"span",7),n.TgZ(11,"span",8),n._UZ(12,"span",9),n.qZA()(),n.YNc(13,tt,7,19,"ng-dropdown-panel",10)}2&M&&(n.ekj("ng-appearance-outline","outline"===E.appearance)("ng-has-value",E.hasValue),n.xp6(3),n.Oqu(E.placeholder),n.xp6(1),n.Q6J("ngIf",(!E.multiLabelTemplate||!E.multiple)&&E.selectedItems.length>0),n.xp6(1),n.Q6J("ngIf",E.multiple&&E.multiLabelTemplate&&E.selectedValues.length>0),n.xp6(1),n.uIk("aria-expanded",E.isOpen)("aria-owns",E.isOpen?E.dropdownId:null),n.xp6(1),n.Q6J("readOnly",!E.searchable||E.itemsList.maxItemsSelected)("disabled",E.disabled)("value",E.searchTerm?E.searchTerm:""),n.uIk("id",E.labelForId)("tabindex",E.tabIndex)("aria-activedescendant",E.isOpen?null==E.itemsList||null==E.itemsList.markedItem?null:E.itemsList.markedItem.htmlId:null)("aria-controls",E.isOpen?E.dropdownId:null),n.xp6(2),n.Q6J("ngIf",E.loading),n.xp6(1),n.Q6J("ngIf",E.showClear()),n.xp6(3),n.Q6J("ngIf",E.isOpen))},dependencies:[l.mk,l.sg,l.O5,l.tP,mt,ce],styles:['@charset "UTF-8";.ng-select{position:relative;display:block;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:none;user-select:none;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@keyframes load8{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}\n'],encapsulation:2,changeDetection:0})}return b})();function Y(){return new Ae}class Ae{constructor(){this._selected=[]}get value(){return this._selected}select(j,h,M){if(j.selected=!0,(!j.children||!h&&M)&&this._selected.push(j),h)if(j.parent){const E=j.parent.children.length,De=j.parent.children.filter(Ve=>Ve.selected).length;j.parent.selected=E===De}else j.children&&(this._setChildrenSelectedState(j.children,!0),this._removeChildren(j),this._selected=M&&this._activeChildren(j)?[...this._selected.filter(E=>E.parent!==j),j]:[...this._selected,...j.children.filter(E=>!E.disabled)])}unselect(j,h){if(this._selected=this._selected.filter(M=>M!==j),j.selected=!1,h)if(j.parent&&j.parent.selected){const M=j.parent.children;this._removeParent(j.parent),this._removeChildren(j.parent),this._selected.push(...M.filter(E=>E!==j&&!E.disabled)),j.parent.selected=!1}else j.children&&(this._setChildrenSelectedState(j.children,!1),this._removeChildren(j))}clear(j){this._selected=j?this._selected.filter(h=>h.disabled):[]}_setChildrenSelectedState(j,h){for(const M of j)M.disabled||(M.selected=h)}_removeChildren(j){this._selected=[...this._selected.filter(h=>h.parent!==j),...j.children.filter(h=>h.parent===j&&h.disabled&&h.selected)]}_removeParent(j){this._selected=this._selected.filter(h=>h!==j)}_activeChildren(j){return j.children.every(h=>!h.disabled||h.selected)}}let ut=(()=>{class b{static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275mod=n.oAB({type:b});static#n=this.\u0275inj=n.cJS({providers:[{provide:J,useValue:Y}],imports:[l.ez]})}return b})();var Pe=g(2495),ee=g(3680),z=g(9157),D=g(4191);const B=["*"],he=["ngSelect"];function X(b,j){}const ne=function(b,j,h,M){return{item:b,item$:j,index:h,searchTerm:M}};function Oe(b,j){if(1&b&&n.YNc(0,X,0,0,"ng-template",4),2&b){const h=j.item,M=j.item$,E=j.index,De=j.searchTerm,Ve=n.oxw(2);n.Q6J("ngTemplateOutlet",Ve.optionTemplate)("ngTemplateOutletContext",n.l5B(2,ne,h,M,E,De))}}function nt(b,j){1&b&&(n.ynx(0),n.YNc(1,Oe,1,7,"ng-template",3),n.BQk())}function Et(b,j){}function Ot(b,j){if(1&b&&n.YNc(0,Et,0,0,"ng-template",4),2&b){const h=j.item,M=j.item$,E=j.index,De=j.searchTerm,Ve=n.oxw(2);n.Q6J("ngTemplateOutlet",Ve.optgroupTemplate)("ngTemplateOutletContext",n.l5B(2,ne,h,M,E,De))}}function Tt(b,j){1&b&&(n.ynx(0),n.YNc(1,Ot,1,7,"ng-template",5),n.BQk())}function $t(b,j){}const qt=function(b,j,h){return{item:b,clear:j,label:h}};function Fn(b,j){if(1&b&&n.YNc(0,$t,0,0,"ng-template",4),2&b){const h=j.item,M=j.clear,E=j.label,De=n.oxw(2);n.Q6J("ngTemplateOutlet",De.labelTemplate)("ngTemplateOutletContext",n.kEZ(2,qt,h,M,E))}}function $n(b,j){1&b&&(n.ynx(0),n.YNc(1,Fn,1,6,"ng-template",6),n.BQk())}function zn(b,j){}const Nn=function(b,j){return{items:b,clear:j}};function ei(b,j){if(1&b&&n.YNc(0,zn,0,0,"ng-template",4),2&b){const h=j.items,M=j.clear,E=n.oxw(2);n.Q6J("ngTemplateOutlet",E.multiLabelTemplate)("ngTemplateOutletContext",n.WLB(2,Nn,h,M))}}function di(b,j){1&b&&(n.ynx(0),n.YNc(1,ei,1,5,"ng-template",7),n.BQk())}function mn(b,j){}function vn(b,j){if(1&b&&n.YNc(0,mn,0,0,"ng-template",9),2&b){const h=n.oxw(2);n.Q6J("ngTemplateOutlet",h.headerTemplate)}}function ui(b,j){1&b&&(n.ynx(0),n.YNc(1,vn,1,1,"ng-template",8),n.BQk())}function pi(b,j){}function kn(b,j){if(1&b&&n.YNc(0,pi,0,0,"ng-template",9),2&b){const h=n.oxw(2);n.Q6J("ngTemplateOutlet",h.footerTemplate)}}function ti(b,j){1&b&&(n.ynx(0),n.YNc(1,kn,1,1,"ng-template",10),n.BQk())}function hi(b,j){}const ai=function(b){return{searchTerm:b}};function Kn(b,j){if(1&b&&n.YNc(0,hi,0,0,"ng-template",4),2&b){const h=j.searchTerm,M=n.oxw(2);n.Q6J("ngTemplateOutlet",M.notFoundTemplate)("ngTemplateOutletContext",n.VKq(2,ai,h))}}function mi(b,j){1&b&&(n.ynx(0),n.YNc(1,Kn,1,4,"ng-template",11),n.BQk())}function N(b,j){}function de(b,j){if(1&b&&n.YNc(0,N,0,0,"ng-template",9),2&b){const h=n.oxw(2);n.Q6J("ngTemplateOutlet",h.typeToSearchTemplate)}}function x(b,j){1&b&&(n.ynx(0),n.YNc(1,de,1,1,"ng-template",12),n.BQk())}function q(b,j){}function pe(b,j){if(1&b&&n.YNc(0,q,0,0,"ng-template",4),2&b){const h=j.searchTerm,M=n.oxw(2);n.Q6J("ngTemplateOutlet",M.loadingTextTemplate)("ngTemplateOutletContext",n.VKq(2,ai,h))}}function We(b,j){1&b&&(n.ynx(0),n.YNc(1,pe,1,4,"ng-template",13),n.BQk())}function pt(b,j){}function on(b,j){if(1&b&&n.YNc(0,pt,0,0,"ng-template",4),2&b){const h=j.searchTerm,M=n.oxw(2);n.Q6J("ngTemplateOutlet",M.tagTemplate)("ngTemplateOutletContext",n.VKq(2,ai,h))}}function Qt(b,j){1&b&&(n.ynx(0),n.YNc(1,on,1,4,"ng-template",14),n.BQk())}function gi(b,j){}function yo(b,j){if(1&b&&n.YNc(0,gi,0,0,"ng-template",9),2&b){const h=n.oxw(2);n.Q6J("ngTemplateOutlet",h.loadingSpinnerTemplate)}}function oi(b,j){1&b&&(n.ynx(0),n.YNc(1,yo,1,1,"ng-template",15),n.BQk())}const xo=function(){return{standalone:!0}};let Jo=(()=>{class b{get disabled(){return this._disabled}set disabled(h){this._disabled=(0,Pe.Ig)(h)}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}constructor(h){this.elementRef=h,this._disabled=!1,this.stateChange$=new me.x}ngOnChanges(h){h.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.SBq))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["mtx-option"]],inputs:{value:"value",disabled:"disabled"},exportAs:["mtxOption"],features:[n.TTD],ngContentSelectors:B,decls:1,vars:0,template:function(M,E){1&M&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0})}return b})(),qi=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-option-tmp",""]]})}return b})(),Co=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-optgroup-tmp",""]]})}return b})(),Yi=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-label-tmp",""]]})}return b})(),eo=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-multi-label-tmp",""]]})}return b})(),No=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-header-tmp",""]]})}return b})(),lo=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-footer-tmp",""]]})}return b})(),Bi=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-notfound-tmp",""]]})}return b})(),gn=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-typetosearch-tmp",""]]})}return b})(),Bn=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-loadingtext-tmp",""]]})}return b})(),Qn=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-tag-tmp",""]]})}return b})(),ni=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-loadingspinner-tmp",""]]})}return b})();const Jn=new n.OlP("mtx-select-default-options");let Vi=0;const wo=(0,ee.Id)((0,ee.FD)(class{constructor(b,j,h,M){this._defaultErrorStateMatcher=b,this._parentForm=j,this._parentFormGroup=h,this.ngControl=M,this.stateChanges=new me.x}}));let Ii=(()=>{class b extends wo{get clearSearchOnAdd(){return this._clearSearchOnAdd??this.closeOnSelect}set clearSearchOnAdd(h){this._clearSearchOnAdd=h}get items(){return this._items}set items(h){this._itemsAreUsed=!0,this._items=h}get value(){return this._value}set value(h){this._value=h,this._onChange(h),this.stateChanges.next()}get id(){return this._id}set id(h){this._id=h||this._uid,this.stateChanges.next()}get placeholder(){return this._placeholder}set placeholder(h){this._placeholder=h,this.stateChanges.next()}get focused(){return this._focused}get empty(){return null==this.value||Array.isArray(this.value)&&0===this.value.length}get shouldLabelFloat(){return this.focused||!this.empty}get required(){return this._required??this.ngControl?.control?.hasValidator(R.kI.required)??!1}set required(h){this._required=(0,Pe.Ig)(h),this.stateChanges.next()}get panelOpen(){return!!this.ngSelect.isOpen}constructor(h,M,E,De,Ve,Pt,hn,Zt,Pn){super(De,Ve,Pt,hn),this._changeDetectorRef=h,this._elementRef=M,this._focusMonitor=E,this._parentFormField=Zt,this._defaultOptions=Pn,this.addTag=!1,this.addTagText=this._defaultOptions?.addTagText??"Add item",this.appearance="underline",this.appendTo=this._defaultOptions?.appendTo??"body",this.bindLabel=this._defaultOptions?.bindLabel,this.bindValue=this._defaultOptions?.bindValue,this.closeOnSelect=!0,this.clearAllText=this._defaultOptions?.clearAllText??"Clear all",this.clearable=!0,this.clearOnBackspace=!0,this.dropdownPosition="auto",this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.hideSelected=!1,this.loading=!1,this.loadingText=this._defaultOptions?.loadingText??"Loading...",this.labelForId=null,this.markFirst=!0,this.multiple=!1,this.notFoundText=this._defaultOptions?.notFoundText??"No items found",this.searchable=!0,this.readonly=!1,this.searchFn=null,this.searchWhileComposing=!0,this.selectOnTab=!1,this.trackByFn=null,this.inputAttrs={},this.openOnEnter=this._defaultOptions?.openOnEnter??!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=Hn=>!0,this.virtualScroll=!1,this.typeToSearchText=this._defaultOptions?.typeToSearchText??"Type to search",this.blurEvent=new n.vpe,this.focusEvent=new n.vpe,this.changeEvent=new n.vpe,this.openEvent=new n.vpe,this.closeEvent=new n.vpe,this.searchEvent=new n.vpe,this.clearEvent=new n.vpe,this.addEvent=new n.vpe,this.removeEvent=new n.vpe,this.scroll=new n.vpe,this.scrollToEnd=new n.vpe,this._clearSearchOnAdd=this._defaultOptions?.clearSearchOnAdd,this._items=[],this._itemsAreUsed=!1,this._destroy$=new me.x,this._value=null,this.stateChanges=new me.x,this._uid="mtx-select-"+Vi++,this._placeholder=this._defaultOptions?.placeholder,this._focused=!1,this.ariaLabel="",this.ariaLabelledby=null,this._ariaDescribedby=null,this.controlType="mtx-select",this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mtx-select-value-"+Vi++,E.monitor(this._elementRef,!0).subscribe(Hn=>{this._focused&&!Hn&&this._onTouched(),this._focused=!!Hn,this.stateChanges.next()}),this.ngControl&&(this.ngControl.valueAccessor=this),this.id=this.id}ngOnInit(){this.compareWith&&(this.ngSelect.compareWith=this.compareWith)}ngAfterViewInit(){this._itemsAreUsed||this._setItemsFromMtxOptions()}ngDoCheck(){const h=this.ngControl;this.ngControl&&(this._previousControl!==h.control&&(void 0!==this._previousControl&&null!==h.disabled&&h.disabled!==this.disabled&&(this.disabled=h.disabled),this._previousControl=h.control),this.updateErrorState())}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this.stateChanges.complete(),this._focusMonitor.stopMonitoring(this._elementRef)}_getAriaLabelledby(){if(this.ariaLabel)return null;const h=this._parentFormField?.getLabelId();let M=(h?h+" ":"")+this._valueId;return this.ariaLabelledby&&(M+=" "+this.ariaLabelledby),M}setDescribedByIds(h){this._ariaDescribedby=h.length?h.join(" "):null}setDisabledState(h){this.disabled=h,this.readonly=h,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}onContainerClick(h){const M=h.target;/mat-mdc-form-field|mtx-select/g.test(M.parentElement?.classList[0]||"")&&(this.focus(),this.open())}writeValue(h){this.value=h,this._changeDetectorRef.markForCheck()}registerOnChange(h){this._onChange=h}registerOnTouched(h){this._onTouched=h}_setItemsFromMtxOptions(){const h=E=>{this.items=E.map(De=>({$ngOptionValue:De.value,$ngOptionLabel:De.elementRef.nativeElement.innerHTML,disabled:De.disabled})),this.ngSelect.itemsList.setItems(this.items),this.ngSelect.hasValue&&this.ngSelect.itemsList.mapSelectedItems(),this.ngSelect.detectChanges()},M=()=>{const E=(0,Le.T)(this.mtxOptions.changes,this._destroy$);(0,Le.T)(...this.mtxOptions.map(De=>De.stateChange$)).pipe((0,S.R)(E)).subscribe(De=>{const Ve=this.ngSelect.itemsList.findItem(De.value);Ve.disabled=De.disabled,Ve.label=De.label||Ve.label,this.ngSelect.detectChanges()})};this.mtxOptions.changes.pipe((0,Se.O)(this.mtxOptions),(0,S.R)(this._destroy$)).subscribe(E=>{h(E),M()})}open(){this.ngSelect.open()}close(){this.ngSelect.close()}focus(){this.ngSelect.focus()}blur(){this.ngSelect.blur()}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(D.tE),n.Y36(ee.rD),n.Y36(R.F,8),n.Y36(R.sg,8),n.Y36(R.a5,10),n.Y36(z.G_,8),n.Y36(Jn,8))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["mtx-select"]],contentQueries:function(M,E,De){if(1&M&&(n.Suo(De,qi,5,n.Rgc),n.Suo(De,Co,5,n.Rgc),n.Suo(De,Yi,5,n.Rgc),n.Suo(De,eo,5,n.Rgc),n.Suo(De,No,5,n.Rgc),n.Suo(De,lo,5,n.Rgc),n.Suo(De,Bi,5,n.Rgc),n.Suo(De,gn,5,n.Rgc),n.Suo(De,Bn,5,n.Rgc),n.Suo(De,Qn,5,n.Rgc),n.Suo(De,ni,5,n.Rgc),n.Suo(De,Jo,5)),2&M){let Ve;n.iGM(Ve=n.CRH())&&(E.optionTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.optgroupTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.labelTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.multiLabelTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.headerTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.footerTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.notFoundTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.typeToSearchTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.loadingTextTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.tagTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.loadingSpinnerTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.mtxOptions=Ve)}},viewQuery:function(M,E){if(1&M&&n.Gf(he,7),2&M){let De;n.iGM(De=n.CRH())&&(E.ngSelect=De.first)}},hostAttrs:["role","combobox","aria-autocomplete","none",1,"mtx-select"],hostVars:20,hostBindings:function(M,E){2&M&&(n.uIk("id",E.id)("aria-expanded",E.panelOpen)("aria-label",E.ariaLabel||null)("aria-labelledby",E._getAriaLabelledby())("aria-describedby",E._ariaDescribedby||null)("aria-required",E.required.toString())("aria-disabled",E.disabled.toString())("aria-invalid",E.errorState),n.ekj("mtx-select-floating",E.shouldLabelFloat)("mtx-select-disabled",E.disabled)("mtx-select-invalid",E.errorState)("mtx-select-required",E.required)("mtx-select-empty",E.empty)("mtx-select-multiple",E.multiple))},inputs:{disabled:"disabled",addTag:"addTag",addTagText:"addTagText",appearance:"appearance",appendTo:"appendTo",bindLabel:"bindLabel",bindValue:"bindValue",closeOnSelect:"closeOnSelect",clearAllText:"clearAllText",clearable:"clearable",clearOnBackspace:"clearOnBackspace",compareWith:"compareWith",dropdownPosition:"dropdownPosition",groupBy:"groupBy",groupValue:"groupValue",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",hideSelected:"hideSelected",isOpen:"isOpen",loading:"loading",loadingText:"loadingText",labelForId:"labelForId",markFirst:"markFirst",maxSelectedItems:"maxSelectedItems",multiple:"multiple",notFoundText:"notFoundText",searchable:"searchable",readonly:"readonly",searchFn:"searchFn",searchWhileComposing:"searchWhileComposing",selectOnTab:"selectOnTab",trackByFn:"trackByFn",inputAttrs:"inputAttrs",tabIndex:"tabIndex",openOnEnter:"openOnEnter",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",virtualScroll:"virtualScroll",typeToSearchText:"typeToSearchText",typeahead:"typeahead",clearSearchOnAdd:"clearSearchOnAdd",items:"items",value:"value",id:"id",placeholder:"placeholder",required:"required",errorStateMatcher:"errorStateMatcher",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},exportAs:["mtxSelect"],features:[n._Bn([{provide:z.Eo,useExisting:b}]),n.qOj],decls:13,vars:58,consts:[[3,"ngModel","ngModelOptions","placeholder","items","addTag","addTagText","appendTo","appearance","bindLabel","bindValue","closeOnSelect","clearAllText","clearable","clearOnBackspace","dropdownPosition","groupBy","groupValue","hideSelected","isOpen","inputAttrs","loading","loadingText","labelForId","markFirst","maxSelectedItems","multiple","notFoundText","readonly","typeahead","typeToSearchText","trackByFn","searchable","searchFn","searchWhileComposing","clearSearchOnAdd","selectableGroup","selectableGroupAsModel","selectOnTab","tabIndex","openOnEnter","minTermLength","editableSearchTerm","keyDownFn","virtualScroll","ngModelChange","blur","focus","change","open","close","search","clear","add","remove","scroll","scrollToEnd"],["ngSelect",""],[4,"ngIf"],["ng-option-tmp",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["ng-optgroup-tmp",""],["ng-label-tmp",""],["ng-multi-label-tmp",""],["ng-header-tmp",""],[3,"ngTemplateOutlet"],["ng-footer-tmp",""],["ng-notfound-tmp",""],["ng-typetosearch-tmp",""],["ng-loadingtext-tmp",""],["ng-tag-tmp",""],["ng-loadingspinner-tmp",""]],template:function(M,E){1&M&&(n.TgZ(0,"ng-select",0,1),n.NdJ("ngModelChange",function(Ve){return E.value=Ve})("blur",function(Ve){return E.blurEvent.emit(Ve)})("focus",function(Ve){return E.focusEvent.emit(Ve)})("change",function(Ve){return E.changeEvent.emit(Ve)})("open",function(Ve){return E.openEvent.emit(Ve)})("close",function(Ve){return E.closeEvent.emit(Ve)})("search",function(Ve){return E.searchEvent.emit(Ve)})("clear",function(Ve){return E.clearEvent.emit(Ve)})("add",function(Ve){return E.addEvent.emit(Ve)})("remove",function(Ve){return E.removeEvent.emit(Ve)})("scroll",function(Ve){return E.scroll.emit(Ve)})("scrollToEnd",function(Ve){return E.scrollToEnd.emit(Ve)}),n.YNc(2,nt,2,0,"ng-container",2),n.YNc(3,Tt,2,0,"ng-container",2),n.YNc(4,$n,2,0,"ng-container",2),n.YNc(5,di,2,0,"ng-container",2),n.YNc(6,ui,2,0,"ng-container",2),n.YNc(7,ti,2,0,"ng-container",2),n.YNc(8,mi,2,0,"ng-container",2),n.YNc(9,x,2,0,"ng-container",2),n.YNc(10,We,2,0,"ng-container",2),n.YNc(11,Qt,2,0,"ng-container",2),n.YNc(12,oi,2,0,"ng-container",2),n.qZA()),2&M&&(n.ekj("ng-select-invalid",E.errorState),n.Q6J("ngModel",E.value)("ngModelOptions",n.DdM(57,xo))("placeholder",E.placeholder)("items",E.items)("addTag",E.addTag)("addTagText",E.addTagText)("appendTo",E.appendTo)("appearance",E.appearance)("bindLabel",E.bindLabel)("bindValue",E.bindValue)("closeOnSelect",E.closeOnSelect)("clearAllText",E.clearAllText)("clearable",E.clearable)("clearOnBackspace",E.clearOnBackspace)("dropdownPosition",E.dropdownPosition)("groupBy",E.groupBy)("groupValue",E.groupValue)("hideSelected",E.hideSelected)("isOpen",E.isOpen)("inputAttrs",E.inputAttrs)("loading",E.loading)("loadingText",E.loadingText)("labelForId",E.labelForId)("markFirst",E.markFirst)("maxSelectedItems",E.maxSelectedItems)("multiple",E.multiple)("notFoundText",E.notFoundText)("readonly",E.readonly)("typeahead",E.typeahead)("typeToSearchText",E.typeToSearchText)("trackByFn",E.trackByFn)("searchable",E.searchable)("searchFn",E.searchFn)("searchWhileComposing",E.searchWhileComposing)("clearSearchOnAdd",E.clearSearchOnAdd)("selectableGroup",E.selectableGroup)("selectableGroupAsModel",E.selectableGroupAsModel)("selectOnTab",E.selectOnTab)("tabIndex",E.tabIndex)("openOnEnter",E.openOnEnter)("minTermLength",E.minTermLength)("editableSearchTerm",E.editableSearchTerm)("keyDownFn",E.keyDownFn)("virtualScroll",E.virtualScroll),n.xp6(2),n.Q6J("ngIf",E.optionTemplate),n.xp6(1),n.Q6J("ngIf",E.optgroupTemplate),n.xp6(1),n.Q6J("ngIf",E.labelTemplate),n.xp6(1),n.Q6J("ngIf",E.multiLabelTemplate),n.xp6(1),n.Q6J("ngIf",E.headerTemplate),n.xp6(1),n.Q6J("ngIf",E.footerTemplate),n.xp6(1),n.Q6J("ngIf",E.notFoundTemplate),n.xp6(1),n.Q6J("ngIf",E.typeToSearchTemplate),n.xp6(1),n.Q6J("ngIf",E.loadingTextTemplate),n.xp6(1),n.Q6J("ngIf",E.tagTemplate),n.xp6(1),n.Q6J("ngIf",E.loadingSpinnerTemplate))},dependencies:[l.O5,l.tP,R.JJ,R.On,I,ot,Fe,st,lt,yt,Jt,Bt,Vt,Ft,Cn,un,Co,qi,Yi,eo,No,lo,Bi,gn,Bn,Qn,ni],styles:['.ng-select{padding-right:16px;padding-left:16px;margin-right:-16px;margin-left:-16px}.ng-select .ng-select-container,.ng-select .ng-select-container .ng-value-container{align-items:center}.ng-select .ng-select-container .ng-value-container .ng-input>input{font:inherit;padding:0}.ng-select .ng-select-container .ng-clear-wrapper{width:24px;text-align:center}.ng-select .ng-placeholder{transition:opacity .2s;opacity:1}.mat-form-field-hide-placeholder .ng-select .ng-placeholder{opacity:0}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select.ng-select-opened .ng-arrow-wrapper .ng-arrow{top:-2px;border-width:0 5px 5px}.ng-select.ng-select-single.ng-select-filtered .ng-placeholder{display:initial;visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-placeholder:after,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value:after{display:inline-block;content:""}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{margin:2px 4px 2px 0;border-radius:16px;font-size:.875em;line-height:18px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{margin-right:auto;margin-left:4px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-label{display:inline-block;margin:0 8px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:inline-block;width:18px;height:18px;border-radius:100%;text-align:center}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{margin-right:-4px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{margin-left:-4px;margin-right:auto}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{margin-left:-4px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{margin-right:-4px;margin-left:auto}.ng-select .ng-arrow-wrapper{width:10px}.ng-select .ng-arrow-wrapper .ng-arrow{border-width:5px 5px 2px;border-style:solid}.ng-dropdown-panel.ng-select-bottom{top:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px;box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-left-radius:4px;border-top-right-radius:4px;box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.ng-dropdown-panel .ng-dropdown-header,.ng-dropdown-panel .ng-dropdown-footer{padding:14px 16px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{padding:14px 16px;font-weight:500;-webkit-user-select:none;user-select:none;cursor:pointer}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-disabled{cursor:default}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{position:relative;padding:14px 16px;text-overflow:ellipsis;text-decoration:none;text-align:left;white-space:nowrap;overflow:hidden}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option{text-align:right}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-left:32px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-right:32px;padding-left:0}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{padding-right:5px;font-size:80%;font-weight:400}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{padding-left:5px;padding-right:0}\n'],encapsulation:2,changeDetection:0})}return b})(),Wi=(()=>{class b{static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275mod=n.oAB({type:b});static#n=this.\u0275inj=n.cJS({imports:[l.ez,R.u5,R.UX,ut]})}return b})()},7326:(Mt,je,g)=>{g.d(je,{rN:()=>xe,y$:()=>Dt,_l:()=>Ut});var n=g(5879),l=g(6814),R=g(5619),S=g(2181),te=g(8180),Se=g(4664),le=g(9397),ke=g(6232),ue=g(6306),ie=g(8504),we=g(5592),fe=g(4829);const{isArray:me}=Array;var Le=g(8251),Ue=g(9940);var ye=g(7398),Je=g(7715),ve=g(927),H=g(6593);const xe=new n.OlP("HIGHLIGHT_OPTIONS");let oe;let $e=(()=>{class kt{constructor(Xe,Ct,W){this.doc=Xe,this.platformId=Ct,this._options=W,this._ready=new R.X(null),this.ready=this._ready.asObservable().pipe((0,S.h)(P=>!!P),(0,te.q)(1)),(0,l.NF)(Ct)&&(Xe.defaultView.hljs?this._ready.next(Xe.defaultView.hljs):(this._loadLibrary().pipe((0,Se.w)(P=>this._options&&this._options.lineNumbersLoader?(Xe.defaultView.hljs=P,this.loadLineNumbers().pipe((0,le.b)(se=>{se.activateLineNumbers(),this._ready.next(P)}))):(this._ready.next(P),ke.E)),(0,ue.K)(P=>(console.error("[HLJS] ",P),ke.E))).subscribe(),this._options?.themePath&&this.loadTheme(this._options.themePath)))}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return(0,ie._)(()=>"The full library and the core library were imported, only one of them should be imported!");if(this._options.fullLibraryLoader&&this._options.languages)return(0,ie._)(()=>"The highlighting languages were imported they are not needed!");if(this._options.coreLibraryLoader&&!this._options.languages)return(0,ie._)(()=>"The highlighting languages were not imported!");if(!this._options.coreLibraryLoader&&this._options.languages)return(0,ie._)(()=>"The core library was not imported!");if(this._options.fullLibraryLoader)return this.loadFullLibrary();if(this._options.coreLibraryLoader&&this._options.languages&&Object.keys(this._options.languages).length)return this.loadCoreLibrary().pipe((0,Se.w)(Xe=>this._loadLanguages(Xe)))}return(0,ie._)(()=>"Highlight.js library was not imported!")}_loadLanguages(Xe){return function be(...kt){const an=(0,Ue.jO)(kt),Xe=function Te(kt){return 1===kt.length&&me(kt[0])?kt[0]:kt}(kt);return Xe.length?new we.y(Ct=>{let W=Xe.map(()=>[]),P=Xe.map(()=>!1);Ct.add(()=>{W=P=null});for(let se=0;!Ct.closed&&se{if(W[se].push(L),W.every(Ce=>Ce.length)){const Ce=W.map(G=>G.shift());Ct.next(an?an(...Ce):Ce),W.some((G,$)=>!G.length&&P[$])&&Ct.complete()}},()=>{P[se]=!0,!W[se].length&&Ct.complete()}));return()=>{W=P=null}}):ke.E}(...Object.entries(this._options.languages).map(([W,P])=>ft(P()).pipe((0,le.b)(se=>Xe.registerLanguage(W,se))))).pipe((0,ye.U)(()=>Xe))}loadCoreLibrary(){return ft(this._options.coreLibraryLoader())}loadFullLibrary(){return ft(this._options.fullLibraryLoader())}loadLineNumbers(){return(0,Je.D)(this._options.lineNumbersLoader())}setTheme(Xe){(0,l.NF)(this.platformId)&&(this._themeLinkElement?this._themeLinkElement.href=Xe:this.loadTheme(Xe))}loadTheme(Xe){this._themeLinkElement=this.doc.createElement("link"),this._themeLinkElement.href=Xe,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.doc.head.appendChild(this._themeLinkElement)}static#e=this.\u0275fac=function(Ct){return new(Ct||kt)(n.LFG(l.K0),n.LFG(n.Lbi),n.LFG(xe,8))};static#t=this.\u0275prov=n.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})();const ft=kt=>(0,Je.D)(kt).pipe((0,S.h)(an=>!!an?.default),(0,ye.U)(an=>an.default));let bt=(()=>{class kt{get hljs(){return this._hljs}constructor(Xe,Ct){this._loader=Xe,this._hljs=null,Xe.ready.subscribe(W=>{this._hljs=W,Ct&&Ct.config&&(W.configure(Ct.config),W.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}highlight(Xe,{language:Ct,ignoreIllegals:W}){return this._loader.ready.pipe((0,ye.U)(P=>P.highlight(Xe,{language:Ct,ignoreIllegals:W})))}highlightAuto(Xe,Ct){return this._loader.ready.pipe((0,ye.U)(W=>W.highlightAuto(Xe,Ct)))}highlightElement(Xe){return this._loader.ready.pipe((0,ye.U)(Ct=>Ct.highlightElement(Xe)))}highlightAll(){return this._loader.ready.pipe((0,ye.U)(Xe=>Xe.highlightAll()))}configure(Xe){return this._loader.ready.pipe((0,ye.U)(Ct=>Ct.configure(Xe)))}registerLanguage(Xe,Ct){return this._loader.ready.pipe((0,le.b)(W=>W.registerLanguage(Xe,Ct)))}unregisterLanguage(Xe){return this._loader.ready.pipe((0,le.b)(Ct=>Ct.unregisterLanguage(Xe)))}registerAliases(Xe,{languageName:Ct}){return this._loader.ready.pipe((0,le.b)(W=>W.registerAliases(Xe,{languageName:Ct})))}listLanguages(){return this._loader.ready.pipe((0,ye.U)(Xe=>Xe.listLanguages()))}getLanguage(Xe){return this._loader.ready.pipe((0,ye.U)(Ct=>Ct.getLanguage(Xe)))}safeMode(){return this._loader.ready.pipe((0,ye.U)(Xe=>Xe.safeMode()))}debugMode(){return this._loader.ready.pipe((0,ye.U)(Xe=>Xe.debugMode()))}lineNumbersBlock(Xe){return this._loader.ready.pipe((0,S.h)(Ct=>!!Ct.lineNumbersBlock),(0,le.b)(Ct=>Ct.lineNumbersBlock(Xe)))}static#e=this.\u0275fac=function(Ct){return new(Ct||kt)(n.LFG($e),n.LFG(xe,8))};static#t=this.\u0275prov=n.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})(),Dt=(()=>{class kt{constructor(Xe,Ct,W,P,se){this._hljs=Ct,this._sanitizer=W,this.platformId=P,this._options=se,this.highlighted=new n.vpe,this._nativeElement=Xe.nativeElement}ngOnChanges(Xe){(0,l.NF)(this.platformId)&&null!==Xe?.code?.currentValue&&Xe.code.currentValue!==Xe.code.previousValue&&(this.code?this.highlightElement(this.code,this.languages):this.setTextContent(""))}highlightElement(Xe,Ct){this.setTextContent(Xe),this._hljs.highlightAuto(Xe,Ct).subscribe(W=>{this.setInnerHTML(W?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(W)})}addLineNumbers(){this.destroyLineNumbersObserver(),ve.Z.schedule(()=>{this._hljs.lineNumbersBlock(this._nativeElement).subscribe(),this._lineNumbersObs=new MutationObserver(()=>{this._nativeElement.firstElementChild&&"TABLE"===this._nativeElement.firstElementChild.tagName.toUpperCase()&&this._nativeElement.classList.add("hljs-line-numbers"),this.destroyLineNumbersObserver()}),this._lineNumbersObs.observe(this._nativeElement,{childList:!0})})}destroyLineNumbersObserver(){this._lineNumbersObs&&(this._lineNumbersObs.disconnect(),this._lineNumbersObs=null)}setTextContent(Xe){ve.Z.schedule(()=>this._nativeElement.textContent=Xe)}setInnerHTML(Xe){ve.Z.schedule(()=>this._nativeElement.innerHTML=function Re(kt){return function Ie(){if(!oe)try{oe=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:kt=>kt})}catch{}return oe}()?.createHTML(kt)||kt}(this._sanitizer.sanitize(n.q3G.HTML,Xe)||""))}static#e=this.\u0275fac=function(Ct){return new(Ct||kt)(n.Y36(n.SBq),n.Y36(bt),n.Y36(H.H7),n.Y36(n.Lbi),n.Y36(xe,8))};static#t=this.\u0275dir=n.lG2({type:kt,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(Ct,W){2&Ct&&n.ekj("hljs",!0)},inputs:{code:["highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},standalone:!0,features:[n.TTD]})}return kt})(),Ut=(()=>{class kt{static#e=this.\u0275fac=function(Ct){return new(Ct||kt)};static#t=this.\u0275mod=n.oAB({type:kt});static#n=this.\u0275inj=n.cJS({})}return kt})()},7582:(Mt,je,g)=>{function fe(P,se,L,Ce){return new(L||(L=Promise))(function($,Be){function ae(it){try{Ze(Ce.next(it))}catch(qe){Be(qe)}}function He(it){try{Ze(Ce.throw(it))}catch(qe){Be(qe)}}function Ze(it){it.done?$(it.value):function G($){return $ instanceof L?$:new L(function(Be){Be($)})}(it.value).then(ae,He)}Ze((Ce=Ce.apply(P,se||[])).next())})}function H(P){return this instanceof H?(this.v=P,this):new H(P)}function xe(P,se,L){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var G,Ce=L.apply(P,se||[]),$=[];return G={},Be("next"),Be("throw"),Be("return"),G[Symbol.asyncIterator]=function(){return this},G;function Be(It){Ce[It]&&(G[It]=function(Ye){return new Promise(function(ct,Ee){$.push([It,Ye,ct,Ee])>1||ae(It,Ye)})})}function ae(It,Ye){try{!function He(It){It.value instanceof H?Promise.resolve(It.value.v).then(Ze,it):qe($[0][2],It)}(Ce[It](Ye))}catch(ct){qe($[0][3],ct)}}function Ze(It){ae("next",It)}function it(It){ae("throw",It)}function qe(It,Ye){It(Ye),$.shift(),$.length&&ae($[0][0],$[0][1])}}function Ie(P){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var L,se=P[Symbol.asyncIterator];return se?se.call(P):(P=function Ue(P){var se="function"==typeof Symbol&&Symbol.iterator,L=se&&P[se],Ce=0;if(L)return L.call(P);if(P&&"number"==typeof P.length)return{next:function(){return P&&Ce>=P.length&&(P=void 0),{value:P&&P[Ce++],done:!P}}};throw new TypeError(se?"Object is not iterable.":"Symbol.iterator is not defined.")}(P),L={},Ce("next"),Ce("throw"),Ce("return"),L[Symbol.asyncIterator]=function(){return this},L);function Ce($){L[$]=P[$]&&function(Be){return new Promise(function(ae,He){!function G($,Be,ae,He){Promise.resolve(He).then(function(Ze){$({value:Ze,done:ae})},Be)}(ae,He,(Be=P[$](Be)).done,Be.value)})}}}g.d(je,{FC:()=>xe,KL:()=>Ie,mG:()=>fe,qq:()=>H}),"function"==typeof SuppressedError&&SuppressedError}},Mt=>{Mt(Mt.s=9677)}]); \ No newline at end of file diff --git a/main.de5fa8964a3f450e.js b/main.de5fa8964a3f450e.js deleted file mode 100644 index 4cc0e61..0000000 --- a/main.de5fa8964a3f450e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[179],{9677:(Mt,je,g)=>{var n=g(6593),l=g(5879),R=g(5592),S=g(4674),Se=g(7715),le=g(2096),ke=g(5619);const ie=(0,g(2306).d)(u=>function(){u(this),this.name="EmptyError",this.message="no elements in sequence"});var we=g(2572),fe=g(5211),me=g(4911),Te=g(8407),Le=g(8504),Ue=g(6232),be=g(7394),ye=g(9360),Je=g(8251);function ve(){return(0,ye.e)((u,a)=>{let s=null;u._refCount++;const d=(0,Je.x)(a,void 0,void 0,void 0,()=>{if(!u||u._refCount<=0||0<--u._refCount)return void(s=null);const p=u._connection,y=s;s=null,p&&(!y||p===y)&&p.unsubscribe(),a.unsubscribe()});u.subscribe(d),d.closed||(s=u.connect())})}class H extends R.y{constructor(a,s){super(),this.source=a,this.subjectFactory=s,this._subject=null,this._refCount=0,this._connection=null,(0,ye.A)(a)&&(this.lift=a.lift)}_subscribe(a){return this.getSubject().subscribe(a)}getSubject(){const a=this._subject;return(!a||a.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:a}=this;this._subject=this._connection=null,a?.unsubscribe()}connect(){let a=this._connection;if(!a){a=this._connection=new be.w0;const s=this.getSubject();a.add(this.source.subscribe((0,Je.x)(s,void 0,()=>{this._teardown(),s.complete()},d=>{this._teardown(),s.error(d)},()=>this._teardown()))),a.closed&&(this._connection=null,a=be.w0.EMPTY)}return a}refCount(){return ve()(this)}}var xe=g(8645),oe=g(6814),Ie=g(7398),Re=g(4664),$e=g(8180),ft=g(7921),bt=g(2181),Dt=g(1631);function Ut(u){return(0,ye.e)((a,s)=>{let d=!1;a.subscribe((0,Je.x)(s,p=>{d=!0,s.next(p)},()=>{d||s.next(u),s.complete()}))})}function kt(u=an){return(0,ye.e)((a,s)=>{let d=!1;a.subscribe((0,Je.x)(s,p=>{d=!0,s.next(p)},()=>d?s.complete():s.error(u())))})}function an(){return new ie}var Xe=g(2737);function Ct(u,a){const s=arguments.length>=2;return d=>d.pipe(u?(0,bt.h)((p,y)=>u(p,y,d)):Xe.y,(0,$e.q)(1),s?Ut(a):kt(()=>new ie))}var W=g(6328),P=g(9397),se=g(6306);function G(u){return u<=0?()=>Ue.E:(0,ye.e)((a,s)=>{let d=[];a.subscribe((0,Je.x)(s,p=>{d.push(p),u{for(const p of d)s.next(p);s.complete()},void 0,()=>{d=null}))})}var ae=g(4716),He=g(9773);g(7537);const it="primary",qe=Symbol("RouteTitle");class It{constructor(a){this.params=a||{}}has(a){return Object.prototype.hasOwnProperty.call(this.params,a)}get(a){if(this.has(a)){const s=this.params[a];return Array.isArray(s)?s[0]:s}return null}getAll(a){if(this.has(a)){const s=this.params[a];return Array.isArray(s)?s:[s]}return[]}get keys(){return Object.keys(this.params)}}function Ye(u){return new It(u)}function ct(u,a,s){const d=s.path.split("/");if(d.length>u.length||"full"===s.pathMatch&&(a.hasChildren()||d.lengthd[y]===p)}return u===a}function jt(u){return u.length>0?u[u.length-1]:null}function Gt(u){return function te(u){return!!u&&(u instanceof R.y||(0,S.m)(u.lift)&&(0,S.m)(u.subscribe))}(u)?u:(0,l.QGY)(u)?(0,Se.D)(Promise.resolve(u)):(0,le.of)(u)}const cn={exact:function Z(u,a,s){if(!Vt(u.segments,a.segments)||!st(u.segments,a.segments,s)||u.numberOfChildren!==a.numberOfChildren)return!1;for(const d in a.children)if(!u.children[d]||!Z(u.children[d],a.children[d],s))return!1;return!0},subset:Fe},Lt={exact:function et(u,a){return tt(u,a)},subset:function ce(u,a){return Object.keys(a).length<=Object.keys(u).length&&Object.keys(a).every(s=>dt(u[s],a[s]))},ignored:()=>!0};function yn(u,a,s){return cn[s.paths](u.root,a.root,s.matrixParams)&&Lt[s.queryParams](u.queryParams,a.queryParams)&&!("exact"===s.fragment&&u.fragment!==a.fragment)}function Fe(u,a,s){return ot(u,a,a.segments,s)}function ot(u,a,s,d){if(u.segments.length>s.length){const p=u.segments.slice(0,s.length);return!(!Vt(p,s)||a.hasChildren()||!st(p,s,d))}if(u.segments.length===s.length){if(!Vt(u.segments,s)||!st(u.segments,s,d))return!1;for(const p in a.children)if(!u.children[p]||!Fe(u.children[p],a.children[p],d))return!1;return!0}{const p=s.slice(0,u.segments.length),y=s.slice(u.segments.length);return!!(Vt(u.segments,p)&&st(u.segments,p,d)&&u.children[it])&&ot(u.children[it],a,y,d)}}function st(u,a,s){return a.every((d,p)=>Lt[s](u[p].parameters,d.parameters))}class lt{constructor(a=new yt([],{}),s={},d=null){this.root=a,this.queryParams=s,this.fragment=d}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ye(this.queryParams)),this._queryParamMap}toString(){return nn.serialize(this)}}class yt{constructor(a,s){this.segments=a,this.children=s,this.parent=null,Object.values(s).forEach(d=>d.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return pn(this)}}class Jt{constructor(a,s){this.path=a,this.parameters=s}get parameterMap(){return this._parameterMap||(this._parameterMap=Ye(this.parameters)),this._parameterMap}toString(){return gt(this)}}function Vt(u,a){return u.length===a.length&&u.every((s,d)=>s.path===a[d].path)}let Cn=(()=>{class u{static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:function(){return new un},providedIn:"root"})}return u})();class un{parse(a){const s=new D(a);return new lt(s.parseRootSegment(),s.parseQueryParams(),s.parseFragment())}serialize(a){const s=`/${bn(a.root,!0)}`,d=function ge(u){const a=Object.keys(u).map(s=>{const d=u[s];return Array.isArray(d)?d.map(p=>`${Tn(s)}=${Tn(p)}`).join("&"):`${Tn(s)}=${Tn(d)}`}).filter(s=>!!s);return a.length?`?${a.join("&")}`:""}(a.queryParams);return`${s}${d}${"string"==typeof a.fragment?`#${function at(u){return encodeURI(u)}(a.fragment)}`:""}`}}const nn=new un;function pn(u){return u.segments.map(a=>gt(a)).join("/")}function bn(u,a){if(!u.hasChildren())return pn(u);if(a){const s=u.children[it]?bn(u.children[it],!1):"",d=[];return Object.entries(u.children).forEach(([p,y])=>{p!==it&&d.push(`${p}:${bn(y,!1)}`)}),d.length>0?`${s}(${d.join("//")})`:s}{const s=function Ft(u,a){let s=[];return Object.entries(u.children).forEach(([d,p])=>{d===it&&(s=s.concat(a(p,d)))}),Object.entries(u.children).forEach(([d,p])=>{d!==it&&(s=s.concat(a(p,d)))}),s}(u,(d,p)=>p===it?[bn(u.children[it],!1)]:[`${p}:${bn(d,!1)}`]);return 1===Object.keys(u.children).length&&null!=u.children[it]?`${pn(u)}/${s[0]}`:`${pn(u)}/(${s.join("//")})`}}function In(u){return encodeURIComponent(u).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Tn(u){return In(u).replace(/%3B/gi,";")}function Nt(u){return In(u).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ke(u){return decodeURIComponent(u)}function mt(u){return Ke(u.replace(/\+/g,"%20"))}function gt(u){return`${Nt(u.path)}${function Yt(u){return Object.keys(u).map(a=>`;${Nt(a)}=${Nt(u[a])}`).join("")}(u.parameters)}`}const J=/^[^\/()?;#]+/;function I(u){const a=u.match(J);return a?a[0]:""}const Y=/^[^\/()?;=#]+/,ut=/^[^=?&#]+/,ee=/^[^&#]+/;class D{constructor(a){this.url=a,this.remaining=a}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new yt([],{}):new yt([],this.parseChildren())}parseQueryParams(){const a={};if(this.consumeOptional("?"))do{this.parseQueryParam(a)}while(this.consumeOptional("&"));return a}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const a=[];for(this.peekStartsWith("(")||a.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),a.push(this.parseSegment());let s={};this.peekStartsWith("/(")&&(this.capture("/"),s=this.parseParens(!0));let d={};return this.peekStartsWith("(")&&(d=this.parseParens(!1)),(a.length>0||Object.keys(s).length>0)&&(d[it]=new yt(a,s)),d}parseSegment(){const a=I(this.remaining);if(""===a&&this.peekStartsWith(";"))throw new l.vHH(4009,!1);return this.capture(a),new Jt(Ke(a),this.parseMatrixParams())}parseMatrixParams(){const a={};for(;this.consumeOptional(";");)this.parseParam(a);return a}parseParam(a){const s=function Ae(u){const a=u.match(Y);return a?a[0]:""}(this.remaining);if(!s)return;this.capture(s);let d="";if(this.consumeOptional("=")){const p=I(this.remaining);p&&(d=p,this.capture(d))}a[Ke(s)]=Ke(d)}parseQueryParam(a){const s=function Pe(u){const a=u.match(ut);return a?a[0]:""}(this.remaining);if(!s)return;this.capture(s);let d="";if(this.consumeOptional("=")){const A=function z(u){const a=u.match(ee);return a?a[0]:""}(this.remaining);A&&(d=A,this.capture(d))}const p=mt(s),y=mt(d);if(a.hasOwnProperty(p)){let A=a[p];Array.isArray(A)||(A=[A],a[p]=A),A.push(y)}else a[p]=y}parseParens(a){const s={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const d=I(this.remaining),p=this.remaining[d.length];if("/"!==p&&")"!==p&&";"!==p)throw new l.vHH(4010,!1);let y;d.indexOf(":")>-1?(y=d.slice(0,d.indexOf(":")),this.capture(y),this.capture(":")):a&&(y=it);const A=this.parseChildren();s[y]=1===Object.keys(A).length?A[it]:new yt([],A),this.consumeOptional("//")}return s}peekStartsWith(a){return this.remaining.startsWith(a)}consumeOptional(a){return!!this.peekStartsWith(a)&&(this.remaining=this.remaining.substring(a.length),!0)}capture(a){if(!this.consumeOptional(a))throw new l.vHH(4011,!1)}}function B(u){return u.segments.length>0?new yt([],{[it]:u}):u}function he(u){const a={};for(const d of Object.keys(u.children)){const y=he(u.children[d]);if(d===it&&0===y.segments.length&&y.hasChildren())for(const[A,K]of Object.entries(y.children))a[A]=K;else(y.segments.length>0||y.hasChildren())&&(a[d]=y)}return function X(u){if(1===u.numberOfChildren&&u.children[it]){const a=u.children[it];return new yt(u.segments.concat(a.segments),a.children)}return u}(new yt(u.segments,a))}function ne(u){return u instanceof lt}function nt(u){let a;const p=B(function s(y){const A={};for(const re of y.children){const Ge=s(re);A[re.outlet]=Ge}const K=new yt(y.url,A);return y===u&&(a=K),K}(u.root));return a??p}function Et(u,a,s,d){let p=u;for(;p.parent;)p=p.parent;if(0===a.length)return $t(p,p,p,s,d);const y=function $n(u){if("string"==typeof u[0]&&1===u.length&&"/"===u[0])return new Fn(!0,0,u);let a=0,s=!1;const d=u.reduce((p,y,A)=>{if("object"==typeof y&&null!=y){if(y.outlets){const K={};return Object.entries(y.outlets).forEach(([re,Ge])=>{K[re]="string"==typeof Ge?Ge.split("/"):Ge}),[...p,{outlets:K}]}if(y.segmentPath)return[...p,y.segmentPath]}return"string"!=typeof y?[...p,y]:0===A?(y.split("/").forEach((K,re)=>{0==re&&"."===K||(0==re&&""===K?s=!0:".."===K?a++:""!=K&&p.push(K))}),p):[...p,y]},[]);return new Fn(s,a,d)}(a);if(y.toRoot())return $t(p,p,new yt([],{}),s,d);const A=function Nn(u,a,s){if(u.isAbsolute)return new zn(a,!0,0);if(!s)return new zn(a,!1,NaN);if(null===s.parent)return new zn(s,!0,0);const d=Ot(u.commands[0])?0:1;return function ei(u,a,s){let d=u,p=a,y=s;for(;y>p;){if(y-=p,d=d.parent,!d)throw new l.vHH(4005,!1);p=d.segments.length}return new zn(d,!1,p-y)}(s,s.segments.length-1+d,u.numberOfDoubleDots)}(y,p,u),K=A.processChildren?vn(A.segmentGroup,A.index,y.commands):mn(A.segmentGroup,A.index,y.commands);return $t(p,A.segmentGroup,K,s,d)}function Ot(u){return"object"==typeof u&&null!=u&&!u.outlets&&!u.segmentPath}function Tt(u){return"object"==typeof u&&null!=u&&u.outlets}function $t(u,a,s,d,p){let A,y={};d&&Object.entries(d).forEach(([re,Ge])=>{y[re]=Array.isArray(Ge)?Ge.map(_t=>`${_t}`):`${Ge}`}),A=u===a?s:qt(u,a,s);const K=B(he(A));return new lt(K,y,p)}function qt(u,a,s){const d={};return Object.entries(u.children).forEach(([p,y])=>{d[p]=y===a?s:qt(y,a,s)}),new yt(u.segments,d)}class Fn{constructor(a,s,d){if(this.isAbsolute=a,this.numberOfDoubleDots=s,this.commands=d,a&&d.length>0&&Ot(d[0]))throw new l.vHH(4003,!1);const p=d.find(Tt);if(p&&p!==jt(d))throw new l.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class zn{constructor(a,s,d){this.segmentGroup=a,this.processChildren=s,this.index=d}}function mn(u,a,s){if(u||(u=new yt([],{})),0===u.segments.length&&u.hasChildren())return vn(u,a,s);const d=function ui(u,a,s){let d=0,p=a;const y={match:!1,pathIndex:0,commandIndex:0};for(;p=s.length)return y;const A=u.segments[p],K=s[d];if(Tt(K))break;const re=`${K}`,Ge=d0&&void 0===re)break;if(re&&Ge&&"object"==typeof Ge&&void 0===Ge.outlets){if(!hi(re,Ge,A))return y;d+=2}else{if(!hi(re,{},A))return y;d++}p++}return{match:!0,pathIndex:p,commandIndex:d}}(u,a,s),p=s.slice(d.commandIndex);if(d.match&&d.pathIndexy!==it)&&u.children[it]&&1===u.numberOfChildren&&0===u.children[it].segments.length){const y=vn(u.children[it],a,s);return new yt(u.segments,y.children)}return Object.entries(d).forEach(([y,A])=>{"string"==typeof A&&(A=[A]),null!==A&&(p[y]=mn(u.children[y],a,A))}),Object.entries(u.children).forEach(([y,A])=>{void 0===d[y]&&(p[y]=A)}),new yt(u.segments,p)}}function pi(u,a,s){const d=u.segments.slice(0,a);let p=0;for(;p{"string"==typeof d&&(d=[d]),null!==d&&(a[s]=pi(new yt([],{}),0,d))}),a}function ti(u){const a={};return Object.entries(u).forEach(([s,d])=>a[s]=`${d}`),a}function hi(u,a,s){return u==s.path&&tt(a,s.parameters)}const ai="imperative";class Kn{constructor(a,s){this.id=a,this.url=s}}class mi extends Kn{constructor(a,s,d="imperative",p=null){super(a,s),this.type=0,this.navigationTrigger=d,this.restoredState=p}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class N extends Kn{constructor(a,s,d){super(a,s),this.urlAfterRedirects=d,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class de extends Kn{constructor(a,s,d,p){super(a,s),this.reason=d,this.code=p,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class x extends Kn{constructor(a,s,d,p){super(a,s),this.reason=d,this.code=p,this.type=16}}class q extends Kn{constructor(a,s,d,p){super(a,s),this.error=d,this.target=p,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class pe extends Kn{constructor(a,s,d,p){super(a,s),this.urlAfterRedirects=d,this.state=p,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class We extends Kn{constructor(a,s,d,p){super(a,s),this.urlAfterRedirects=d,this.state=p,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pt extends Kn{constructor(a,s,d,p,y){super(a,s),this.urlAfterRedirects=d,this.state=p,this.shouldActivate=y,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class on extends Kn{constructor(a,s,d,p){super(a,s),this.urlAfterRedirects=d,this.state=p,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Qt extends Kn{constructor(a,s,d,p){super(a,s),this.urlAfterRedirects=d,this.state=p,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gi{constructor(a){this.route=a,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class yo{constructor(a){this.route=a,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class oi{constructor(a){this.snapshot=a,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xo{constructor(a){this.snapshot=a,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Jo{constructor(a){this.snapshot=a,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class qi{constructor(a){this.snapshot=a,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Co{constructor(a,s,d){this.routerEvent=a,this.position=s,this.anchor=d,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Yi{}class eo{constructor(a){this.url=a}}class lo{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Bi,this.attachRef=null}}let Bi=(()=>{class u{constructor(){this.contexts=new Map}onChildOutletCreated(s,d){const p=this.getOrCreateContext(s);p.outlet=d,this.contexts.set(s,p)}onChildOutletDestroyed(s){const d=this.getContext(s);d&&(d.outlet=null,d.attachRef=null)}onOutletDeactivated(){const s=this.contexts;return this.contexts=new Map,s}onOutletReAttached(s){this.contexts=s}getOrCreateContext(s){let d=this.getContext(s);return d||(d=new lo,this.contexts.set(s,d)),d}getContext(s){return this.contexts.get(s)||null}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();class gn{constructor(a){this._root=a}get root(){return this._root.value}parent(a){const s=this.pathFromRoot(a);return s.length>1?s[s.length-2]:null}children(a){const s=Bn(a,this._root);return s?s.children.map(d=>d.value):[]}firstChild(a){const s=Bn(a,this._root);return s&&s.children.length>0?s.children[0].value:null}siblings(a){const s=Qn(a,this._root);return s.length<2?[]:s[s.length-2].children.map(p=>p.value).filter(p=>p!==a)}pathFromRoot(a){return Qn(a,this._root).map(s=>s.value)}}function Bn(u,a){if(u===a.value)return a;for(const s of a.children){const d=Bn(u,s);if(d)return d}return null}function Qn(u,a){if(u===a.value)return[a];for(const s of a.children){const d=Qn(u,s);if(d.length)return d.unshift(a),d}return[]}class ni{constructor(a,s){this.value=a,this.children=s}toString(){return`TreeNode(${this.value})`}}function Jn(u){const a={};return u&&u.children.forEach(s=>a[s.value.outlet]=s),a}class Vi extends gn{constructor(a,s){super(a),this.snapshot=s,E(this,a)}toString(){return this.snapshot.toString()}}function wo(u,a){const s=function Ii(u,a){const A=new h([],{},{},"",{},it,a,null,{});return new M("",new ni(A,[]))}(0,a),d=new ke.X([new Jt("",{})]),p=new ke.X({}),y=new ke.X({}),A=new ke.X({}),K=new ke.X(""),re=new Wi(d,p,A,K,y,it,a,s.root);return re.snapshot=s.root,new Vi(new ni(re,[]),s)}class Wi{constructor(a,s,d,p,y,A,K,re){this.urlSubject=a,this.paramsSubject=s,this.queryParamsSubject=d,this.fragmentSubject=p,this.dataSubject=y,this.outlet=A,this.component=K,this._futureSnapshot=re,this.title=this.dataSubject?.pipe((0,Ie.U)(Ge=>Ge[qe]))??(0,le.of)(void 0),this.url=a,this.params=s,this.queryParams=d,this.fragment=p,this.data=y}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,Ie.U)(a=>Ye(a)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Ie.U)(a=>Ye(a)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function b(u,a="emptyOnly"){const s=u.pathFromRoot;let d=0;if("always"!==a)for(d=s.length-1;d>=1;){const p=s[d],y=s[d-1];if(p.routeConfig&&""===p.routeConfig.path)d--;else{if(y.component)break;d--}}return function j(u){return u.reduce((a,s)=>({params:{...a.params,...s.params},data:{...a.data,...s.data},resolve:{...s.data,...a.resolve,...s.routeConfig?.data,...s._resolvedData}}),{params:{},data:{},resolve:{}})}(s.slice(d))}class h{get title(){return this.data?.[qe]}constructor(a,s,d,p,y,A,K,re,Ge){this.url=a,this.params=s,this.queryParams=d,this.fragment=p,this.data=y,this.outlet=A,this.component=K,this.routeConfig=re,this._resolve=Ge}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Ye(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ye(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(d=>d.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class M extends gn{constructor(a,s){super(s),this.url=a,E(this,s)}toString(){return De(this._root)}}function E(u,a){a.value._routerState=u,a.children.forEach(s=>E(u,s))}function De(u){const a=u.children.length>0?` { ${u.children.map(De).join(", ")} } `:"";return`${u.value}${a}`}function Ve(u){if(u.snapshot){const a=u.snapshot,s=u._futureSnapshot;u.snapshot=s,tt(a.queryParams,s.queryParams)||u.queryParamsSubject.next(s.queryParams),a.fragment!==s.fragment&&u.fragmentSubject.next(s.fragment),tt(a.params,s.params)||u.paramsSubject.next(s.params),function Ee(u,a){if(u.length!==a.length)return!1;for(let s=0;stt(s.parameters,a[d].parameters))}(u.url,a.url);return s&&!(!u.parent!=!a.parent)&&(!u.parent||Pt(u.parent,a.parent))}let hn=(()=>{class u{constructor(){this.activated=null,this._activatedRoute=null,this.name=it,this.activateEvents=new l.vpe,this.deactivateEvents=new l.vpe,this.attachEvents=new l.vpe,this.detachEvents=new l.vpe,this.parentContexts=(0,l.f3M)(Bi),this.location=(0,l.f3M)(l.s_b),this.changeDetector=(0,l.f3M)(l.sBO),this.environmentInjector=(0,l.f3M)(l.lqb),this.inputBinder=(0,l.f3M)(Pn,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(s){if(s.name){const{firstChange:d,previousValue:p}=s.name;if(d)return;this.isTrackedInParentContexts(p)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(p)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(s){return this.parentContexts.getContext(s)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const s=this.parentContexts.getContext(this.name);s?.route&&(s.attachRef?this.attach(s.attachRef,s.route):this.activateWith(s.route,s.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new l.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new l.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new l.vHH(4012,!1);this.location.detach();const s=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(s.instance),s}attach(s,d){this.activated=s,this._activatedRoute=d,this.location.insert(s.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(s.instance)}deactivate(){if(this.activated){const s=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(s)}}activateWith(s,d){if(this.isActivated)throw new l.vHH(4013,!1);this._activatedRoute=s;const p=this.location,A=s.snapshot.component,K=this.parentContexts.getOrCreateContext(this.name).children,re=new Zt(s,K,p.injector);this.activated=p.createComponent(A,{index:p.length,injector:re,environmentInjector:d??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275dir=l.lG2({type:u,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[l.TTD]})}return u})();class Zt{constructor(a,s,d){this.route=a,this.childContexts=s,this.parent=d}get(a,s){return a===Wi?this.route:a===Bi?this.childContexts:this.parent.get(a,s)}}const Pn=new l.OlP("");function On(u,a,s){if(s&&u.shouldReuseRoute(a.value,s.value.snapshot)){const d=s.value;d._futureSnapshot=a.value;const p=function $r(u,a,s){return a.children.map(d=>{for(const p of s.children)if(u.shouldReuseRoute(d.value,p.value.snapshot))return On(u,d,p);return On(u,d)})}(u,a,s);return new ni(d,p)}{if(u.shouldAttach(a.value)){const y=u.retrieve(a.value);if(null!==y){const A=y.route;return A.value._futureSnapshot=a.value,A.children=a.children.map(K=>On(u,K)),A}}const d=function Eo(u){return new Wi(new ke.X(u.url),new ke.X(u.params),new ke.X(u.queryParams),new ke.X(u.fragment),new ke.X(u.data),u.outlet,u.component,u)}(a.value),p=a.children.map(y=>On(u,y));return new ni(d,p)}}const Yn="ngNavigationCancelingError";function Hi(u,a){const{redirectTo:s,navigationBehaviorOptions:d}=ne(a)?{redirectTo:a,navigationBehaviorOptions:void 0}:a,p=Lo(!1,0,a);return p.url=s,p.navigationBehaviorOptions=d,p}function Lo(u,a,s){const d=new Error("NavigationCancelingError: "+(u||""));return d[Yn]=!0,d.cancellationCode=a,s&&(d.url=s),d}function Bo(u){return u&&u[Yn]}let Xo=(()=>{class u{static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275cmp=l.Xpm({type:u,selectors:[["ng-component"]],standalone:!0,features:[l.jDz],decls:1,vars:0,template:function(d,p){1&d&&l._UZ(0,"router-outlet")},dependencies:[hn],encapsulation:2})}return u})();function Mo(u){const a=u.children&&u.children.map(Mo),s=a?{...u,children:a}:{...u};return!s.component&&!s.loadComponent&&(a||s.loadChildren)&&s.outlet&&s.outlet!==it&&(s.component=Xo),s}function yi(u){return u.outlet||it}function ii(u){if(!u)return null;if(u.routeConfig?._injector)return u.routeConfig._injector;for(let a=u.parent;a;a=a.parent){const s=a.routeConfig;if(s?._loadedInjector)return s._loadedInjector;if(s?._injector)return s._injector}return null}class _i{constructor(a,s,d,p,y){this.routeReuseStrategy=a,this.futureState=s,this.currState=d,this.forwardEvent=p,this.inputBindingEnabled=y}activate(a){const s=this.futureState._root,d=this.currState?this.currState._root:null;this.deactivateChildRoutes(s,d,a),Ve(this.futureState.root),this.activateChildRoutes(s,d,a)}deactivateChildRoutes(a,s,d){const p=Jn(s);a.children.forEach(y=>{const A=y.value.outlet;this.deactivateRoutes(y,p[A],d),delete p[A]}),Object.values(p).forEach(y=>{this.deactivateRouteAndItsChildren(y,d)})}deactivateRoutes(a,s,d){const p=a.value,y=s?s.value:null;if(p===y)if(p.component){const A=d.getContext(p.outlet);A&&this.deactivateChildRoutes(a,s,A.children)}else this.deactivateChildRoutes(a,s,d);else y&&this.deactivateRouteAndItsChildren(s,d)}deactivateRouteAndItsChildren(a,s){a.value.component&&this.routeReuseStrategy.shouldDetach(a.value.snapshot)?this.detachAndStoreRouteSubtree(a,s):this.deactivateRouteAndOutlet(a,s)}detachAndStoreRouteSubtree(a,s){const d=s.getContext(a.value.outlet),p=d&&a.value.component?d.children:s,y=Jn(a);for(const A of Object.keys(y))this.deactivateRouteAndItsChildren(y[A],p);if(d&&d.outlet){const A=d.outlet.detach(),K=d.children.onOutletDeactivated();this.routeReuseStrategy.store(a.value.snapshot,{componentRef:A,route:a,contexts:K})}}deactivateRouteAndOutlet(a,s){const d=s.getContext(a.value.outlet),p=d&&a.value.component?d.children:s,y=Jn(a);for(const A of Object.keys(y))this.deactivateRouteAndItsChildren(y[A],p);d&&(d.outlet&&(d.outlet.deactivate(),d.children.onOutletDeactivated()),d.attachRef=null,d.route=null)}activateChildRoutes(a,s,d){const p=Jn(s);a.children.forEach(y=>{this.activateRoutes(y,p[y.value.outlet],d),this.forwardEvent(new qi(y.value.snapshot))}),a.children.length&&this.forwardEvent(new xo(a.value.snapshot))}activateRoutes(a,s,d){const p=a.value,y=s?s.value:null;if(Ve(p),p===y)if(p.component){const A=d.getOrCreateContext(p.outlet);this.activateChildRoutes(a,s,A.children)}else this.activateChildRoutes(a,s,d);else if(p.component){const A=d.getOrCreateContext(p.outlet);if(this.routeReuseStrategy.shouldAttach(p.snapshot)){const K=this.routeReuseStrategy.retrieve(p.snapshot);this.routeReuseStrategy.store(p.snapshot,null),A.children.onOutletReAttached(K.contexts),A.attachRef=K.componentRef,A.route=K.route.value,A.outlet&&A.outlet.attach(K.componentRef,K.route.value),Ve(K.route.value),this.activateChildRoutes(a,null,A.children)}else{const K=ii(p.snapshot);A.attachRef=null,A.route=p,A.injector=K,A.outlet&&A.outlet.activateWith(p,A.injector),this.activateChildRoutes(a,null,A.children)}}else this.activateChildRoutes(a,null,d)}}class er{constructor(a){this.path=a,this.route=this.path[this.path.length-1]}}class to{constructor(a,s){this.component=a,this.route=s}}function Wr(u,a,s){const d=u._root;return pr(d,a?a._root:null,s,[d.value])}function To(u,a){const s=Symbol(),d=a.get(u,s);return d===s?"function"!=typeof u||(0,l.Z0I)(u)?a.get(u):u:d}function pr(u,a,s,d,p={canDeactivateChecks:[],canActivateChecks:[]}){const y=Jn(a);return u.children.forEach(A=>{(function Ks(u,a,s,d,p={canDeactivateChecks:[],canActivateChecks:[]}){const y=u.value,A=a?a.value:null,K=s?s.getContext(u.value.outlet):null;if(A&&y.routeConfig===A.routeConfig){const re=function vc(u,a,s){if("function"==typeof s)return s(u,a);switch(s){case"pathParamsChange":return!Vt(u.url,a.url);case"pathParamsOrQueryParamsChange":return!Vt(u.url,a.url)||!tt(u.queryParams,a.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Pt(u,a)||!tt(u.queryParams,a.queryParams);default:return!Pt(u,a)}}(A,y,y.routeConfig.runGuardsAndResolvers);re?p.canActivateChecks.push(new er(d)):(y.data=A.data,y._resolvedData=A._resolvedData),pr(u,a,y.component?K?K.children:null:s,d,p),re&&K&&K.outlet&&K.outlet.isActivated&&p.canDeactivateChecks.push(new to(K.outlet.component,A))}else A&&mr(a,K,p),p.canActivateChecks.push(new er(d)),pr(u,null,y.component?K?K.children:null:s,d,p)})(A,y[A.value.outlet],s,d.concat([A.value]),p),delete y[A.value.outlet]}),Object.entries(y).forEach(([A,K])=>mr(K,s.getContext(A),p)),p}function mr(u,a,s){const d=Jn(u),p=u.value;Object.entries(d).forEach(([y,A])=>{mr(A,p.component?a?a.children.getContext(y):null:a,s)}),s.canDeactivateChecks.push(new to(p.component&&a&&a.outlet&&a.outlet.isActivated?a.outlet.component:null,p))}function tr(u){return"function"==typeof u}function Or(u){return u instanceof ie||"EmptyError"===u?.name}const gr=Symbol("INITIAL_VALUE");function Zr(){return(0,Re.w)(u=>(0,we.a)(u.map(a=>a.pipe((0,$e.q)(1),(0,ft.O)(gr)))).pipe((0,Ie.U)(a=>{for(const s of a)if(!0!==s){if(s===gr)return gr;if(!1===s||s instanceof lt)return s}return!0}),(0,bt.h)(a=>a!==gr),(0,$e.q)(1)))}function Rr(u){return(0,Te.z)((0,P.b)(a=>{if(ne(a))throw Hi(0,a)}),(0,Ie.U)(a=>!0===a))}class _r{constructor(a){this.segmentGroup=a||null}}class Ri{constructor(a){this.urlTree=a}}function Uo(u){return(0,Le._)(new _r(u))}function Xs(u){return(0,Le._)(new Ri(u))}class Kr{constructor(a,s){this.urlSerializer=a,this.urlTree=s}noMatchError(a){return new l.vHH(4002,!1)}lineralizeSegments(a,s){let d=[],p=s.root;for(;;){if(d=d.concat(p.segments),0===p.numberOfChildren)return(0,le.of)(d);if(p.numberOfChildren>1||!p.children[it])return(0,Le._)(new l.vHH(4e3,!1));p=p.children[it]}}applyRedirectCommands(a,s,d){return this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),a,d)}applyRedirectCreateUrlTree(a,s,d,p){const y=this.createSegmentGroup(a,s.root,d,p);return new lt(y,this.createQueryParams(s.queryParams,this.urlTree.queryParams),s.fragment)}createQueryParams(a,s){const d={};return Object.entries(a).forEach(([p,y])=>{if("string"==typeof y&&y.startsWith(":")){const K=y.substring(1);d[p]=s[K]}else d[p]=y}),d}createSegmentGroup(a,s,d,p){const y=this.createSegments(a,s.segments,d,p);let A={};return Object.entries(s.children).forEach(([K,re])=>{A[K]=this.createSegmentGroup(a,re,d,p)}),new yt(y,A)}createSegments(a,s,d,p){return s.map(y=>y.path.startsWith(":")?this.findPosParam(a,y,p):this.findOrReturn(y,d))}findPosParam(a,s,d){const p=d[s.path.substring(1)];if(!p)throw new l.vHH(4001,!1);return p}findOrReturn(a,s){let d=0;for(const p of s){if(p.path===a.path)return s.splice(d),p;d++}return a}}const vs={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ea(u,a,s,d,p){const y=Qr(u,a,s);return y.matched?(d=function Do(u,a){return u.providers&&!u._injector&&(u._injector=(0,l.MMx)(u.providers,a,`Route: ${u.path}`)),u._injector??a}(a,d),function Ei(u,a,s,d){const p=a.canMatch;if(!p||0===p.length)return(0,le.of)(!0);const y=p.map(A=>{const K=To(A,u);return Gt(function tn(u){return u&&tr(u.canMatch)}(K)?K.canMatch(a,s):u.runInContext(()=>K(a,s)))});return(0,le.of)(y).pipe(Zr(),Rr())}(d,a,s).pipe((0,Ie.U)(A=>!0===A?y:{...vs}))):(0,le.of)(y)}function Qr(u,a,s){if(""===a.path)return"full"===a.pathMatch&&(u.hasChildren()||s.length>0)?{...vs}:{matched:!0,consumedSegments:[],remainingSegments:s,parameters:{},positionalParamSegments:{}};const p=(a.matcher||ct)(s,u,a);if(!p)return{...vs};const y={};Object.entries(p.posParams??{}).forEach(([K,re])=>{y[K]=re.path});const A=p.consumed.length>0?{...y,...p.consumed[p.consumed.length-1].parameters}:y;return{matched:!0,consumedSegments:p.consumed,remainingSegments:s.slice(p.consumed.length),parameters:A,positionalParamSegments:p.posParams??{}}}function ta(u,a,s,d){return s.length>0&&function ys(u,a,s){return s.some(d=>Io(u,a,d)&&yi(d)!==it)}(u,s,d)?{segmentGroup:new yt(a,ol(d,new yt(s,u.children))),slicedSegments:[]}:0===s.length&&function Jr(u,a,s){return s.some(d=>Io(u,a,d))}(u,s,d)?{segmentGroup:new yt(u.segments,il(u,0,s,d,u.children)),slicedSegments:s}:{segmentGroup:new yt(u.segments,u.children),slicedSegments:s}}function il(u,a,s,d,p){const y={};for(const A of d)if(Io(u,s,A)&&!p[yi(A)]){const K=new yt([],{});y[yi(A)]=K}return{...p,...y}}function ol(u,a){const s={};s[it]=a;for(const d of u)if(""===d.path&&yi(d)!==it){const p=new yt([],{});s[yi(d)]=p}return s}function Io(u,a,s){return(!(u.hasChildren()||a.length>0)||"full"!==s.pathMatch)&&""===s.path}class yu{constructor(a,s,d,p,y,A,K){this.injector=a,this.configLoader=s,this.rootComponentType=d,this.config=p,this.urlTree=y,this.paramsInheritanceStrategy=A,this.urlSerializer=K,this.allowRedirects=!0,this.applyRedirects=new Kr(this.urlSerializer,this.urlTree)}noMatchError(a){return new l.vHH(4002,!1)}recognize(){const a=ta(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,a,it).pipe((0,se.K)(s=>{if(s instanceof Ri)return this.allowRedirects=!1,this.urlTree=s.urlTree,this.match(s.urlTree);throw s instanceof _r?this.noMatchError(s):s}),(0,Ie.U)(s=>{const d=new h([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},it,this.rootComponentType,null,{}),p=new ni(d,s),y=new M("",p),A=function Oe(u,a,s=null,d=null){return Et(nt(u),a,s,d)}(d,[],this.urlTree.queryParams,this.urlTree.fragment);return A.queryParams=this.urlTree.queryParams,y.url=this.urlSerializer.serialize(A),this.inheritParamsAndData(y._root),{state:y,tree:A}}))}match(a){return this.processSegmentGroup(this.injector,this.config,a.root,it).pipe((0,se.K)(d=>{throw d instanceof _r?this.noMatchError(d):d}))}inheritParamsAndData(a){const s=a.value,d=b(s,this.paramsInheritanceStrategy);s.params=Object.freeze(d.params),s.data=Object.freeze(d.data),a.children.forEach(p=>this.inheritParamsAndData(p))}processSegmentGroup(a,s,d,p){return 0===d.segments.length&&d.hasChildren()?this.processChildren(a,s,d):this.processSegment(a,s,d,d.segments,p,!0)}processChildren(a,s,d){const p=[];for(const y of Object.keys(d.children))"primary"===y?p.unshift(y):p.push(y);return(0,Se.D)(p).pipe((0,W.b)(y=>{const A=d.children[y],K=function Vo(u,a){const s=u.filter(d=>yi(d)===a);return s.push(...u.filter(d=>yi(d)!==a)),s}(s,y);return this.processSegmentGroup(a,K,A,y)}),function Ce(u,a){return(0,ye.e)(function L(u,a,s,d,p){return(y,A)=>{let K=s,re=a,Ge=0;y.subscribe((0,Je.x)(A,_t=>{const Rt=Ge++;re=K?u(re,_t,Rt):(K=!0,_t),d&&A.next(re)},p&&(()=>{K&&A.next(re),A.complete()})))}}(u,a,arguments.length>=2,!0))}((y,A)=>(y.push(...A),y)),Ut(null),function $(u,a){const s=arguments.length>=2;return d=>d.pipe(u?(0,bt.h)((p,y)=>u(p,y,d)):Xe.y,G(1),s?Ut(a):kt(()=>new ie))}(),(0,Dt.z)(y=>{if(null===y)return Uo(d);const A=Ec(y);return function Cc(u){u.sort((a,s)=>a.value.outlet===it?-1:s.value.outlet===it?1:a.value.outlet.localeCompare(s.value.outlet))}(A),(0,le.of)(A)}))}processSegment(a,s,d,p,y,A){return(0,Se.D)(s).pipe((0,W.b)(K=>this.processSegmentAgainstRoute(K._injector??a,s,K,d,p,y,A).pipe((0,se.K)(re=>{if(re instanceof _r)return(0,le.of)(null);throw re}))),Ct(K=>!!K),(0,se.K)(K=>{if(Or(K))return function yc(u,a,s){return 0===a.length&&!u.children[s]}(d,p,y)?(0,le.of)([]):Uo(d);throw K}))}processSegmentAgainstRoute(a,s,d,p,y,A,K){return function rl(u,a,s,d){return!!(yi(u)===d||d!==it&&Io(a,s,u))&&("**"===u.path||Qr(a,u,s).matched)}(d,p,y,A)?void 0===d.redirectTo?this.matchSegmentAgainstRoute(a,p,d,y,A,K):K&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(a,p,s,d,y,A):Uo(p):Uo(p)}expandSegmentAgainstRouteUsingRedirect(a,s,d,p,y,A){return"**"===p.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(a,d,p,A):this.expandRegularSegmentAgainstRouteUsingRedirect(a,s,d,p,y,A)}expandWildCardWithParamsAgainstRouteUsingRedirect(a,s,d,p){const y=this.applyRedirects.applyRedirectCommands([],d.redirectTo,{});return d.redirectTo.startsWith("/")?Xs(y):this.applyRedirects.lineralizeSegments(d,y).pipe((0,Dt.z)(A=>{const K=new yt(A,{});return this.processSegment(a,s,K,A,p,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(a,s,d,p,y,A){const{matched:K,consumedSegments:re,remainingSegments:Ge,positionalParamSegments:_t}=Qr(s,p,y);if(!K)return Uo(s);const Rt=this.applyRedirects.applyRedirectCommands(re,p.redirectTo,_t);return p.redirectTo.startsWith("/")?Xs(Rt):this.applyRedirects.lineralizeSegments(p,Rt).pipe((0,Dt.z)(zt=>this.processSegment(a,d,s,zt.concat(Ge),A,!1)))}matchSegmentAgainstRoute(a,s,d,p,y,A){let K;if("**"===d.path){const re=p.length>0?jt(p).parameters:{},Ge=new h(p,re,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,xs(d),yi(d),d.component??d._loadedComponent??null,d,sl(d));K=(0,le.of)({snapshot:Ge,consumedSegments:[],remainingSegments:[]}),s.children={}}else K=ea(s,d,p,a).pipe((0,Ie.U)(({matched:re,consumedSegments:Ge,remainingSegments:_t,parameters:Rt})=>re?{snapshot:new h(Ge,Rt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,xs(d),yi(d),d.component??d._loadedComponent??null,d,sl(d)),consumedSegments:Ge,remainingSegments:_t}:null));return K.pipe((0,Re.w)(re=>null===re?Uo(s):this.getChildConfig(a=d._injector??a,d,p).pipe((0,Re.w)(({routes:Ge})=>{const _t=d._loadedInjector??a,{snapshot:Rt,consumedSegments:zt,remainingSegments:rn}=re,{segmentGroup:Xt,slicedSegments:ln}=ta(s,zt,rn,Ge);if(0===ln.length&&Xt.hasChildren())return this.processChildren(_t,Ge,Xt).pipe((0,Ie.U)(Wn=>null===Wn?null:[new ni(Rt,Wn)]));if(0===Ge.length&&0===ln.length)return(0,le.of)([new ni(Rt,[])]);const Un=yi(d)===y;return this.processSegment(_t,Ge,Xt,ln,Un?it:y,!0).pipe((0,Ie.U)(Wn=>[new ni(Rt,Wn)]))}))))}getChildConfig(a,s,d){return s.children?(0,le.of)({routes:s.children,injector:a}):s.loadChildren?void 0!==s._loadedRoutes?(0,le.of)({routes:s._loadedRoutes,injector:s._loadedInjector}):function Js(u,a,s,d){const p=a.canLoad;if(void 0===p||0===p.length)return(0,le.of)(!0);const y=p.map(A=>{const K=To(A,u);return Gt(function k(u){return u&&tr(u.canLoad)}(K)?K.canLoad(a,s):u.runInContext(()=>K(a,s)))});return(0,le.of)(y).pipe(Zr(),Rr())}(a,s,d).pipe((0,Dt.z)(p=>p?this.configLoader.loadChildren(a,s).pipe((0,P.b)(y=>{s._loadedRoutes=y.routes,s._loadedInjector=y.injector})):function qs(u){return(0,Le._)(Lo(!1,3))}())):(0,le.of)({routes:[],injector:a})}}function wc(u){const a=u.value.routeConfig;return a&&""===a.path}function Ec(u){const a=[],s=new Set;for(const d of u){if(!wc(d)){a.push(d);continue}const p=a.find(y=>d.value.routeConfig===y.value.routeConfig);void 0!==p?(p.children.push(...d.children),s.add(p)):a.push(d)}for(const d of s){const p=Ec(d.children);a.push(new ni(d.value,p))}return a.filter(d=>!s.has(d))}function xs(u){return u.data||{}}function sl(u){return u.resolve||{}}function V(u){return"string"==typeof u.title||null===u.title}function w(u){return(0,Re.w)(a=>{const s=u(a);return s?(0,Se.D)(s).pipe((0,Ie.U)(()=>a)):(0,le.of)(a)})}const F=new l.OlP("ROUTES");let Me=(()=>{class u{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,l.f3M)(l.Sil)}loadComponent(s){if(this.componentLoaders.get(s))return this.componentLoaders.get(s);if(s._loadedComponent)return(0,le.of)(s._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(s);const d=Gt(s.loadComponent()).pipe((0,Ie.U)(Wt),(0,P.b)(y=>{this.onLoadEndListener&&this.onLoadEndListener(s),s._loadedComponent=y}),(0,ae.x)(()=>{this.componentLoaders.delete(s)})),p=new H(d,()=>new xe.x).pipe(ve());return this.componentLoaders.set(s,p),p}loadChildren(s,d){if(this.childrenLoaders.get(d))return this.childrenLoaders.get(d);if(d._loadedRoutes)return(0,le.of)({routes:d._loadedRoutes,injector:d._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(d);const y=function rt(u,a,s,d){return Gt(u.loadChildren()).pipe((0,Ie.U)(Wt),(0,Dt.z)(p=>p instanceof l.YKP||Array.isArray(p)?(0,le.of)(p):(0,Se.D)(a.compileModuleAsync(p))),(0,Ie.U)(p=>{d&&d(u);let y,A,K=!1;return Array.isArray(p)?(A=p,!0):(y=p.create(s).injector,A=y.get(F,[],{optional:!0,self:!0}).flat()),{routes:A.map(Mo),injector:y}}))}(d,this.compiler,s,this.onLoadEndListener).pipe((0,ae.x)(()=>{this.childrenLoaders.delete(d)})),A=new H(y,()=>new xe.x).pipe(ve());return this.childrenLoaders.set(d,A),A}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();function Wt(u){return function vt(u){return u&&"object"==typeof u&&"default"in u}(u)?u.default:u}let Ln=(()=>{class u{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new xe.x,this.transitionAbortSubject=new xe.x,this.configLoader=(0,l.f3M)(Me),this.environmentInjector=(0,l.f3M)(l.lqb),this.urlSerializer=(0,l.f3M)(Cn),this.rootContexts=(0,l.f3M)(Bi),this.inputBindingEnabled=null!==(0,l.f3M)(Pn,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,le.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=p=>this.events.next(new yo(p)),this.configLoader.onLoadStartListener=p=>this.events.next(new gi(p))}complete(){this.transitions?.complete()}handleNavigationRequest(s){const d=++this.navigationId;this.transitions?.next({...this.transitions.value,...s,id:d})}setupNavigations(s,d,p){return this.transitions=new ke.X({id:0,currentUrlTree:d,currentRawUrl:d,currentBrowserUrl:d,extractedUrl:s.urlHandlingStrategy.extract(d),urlAfterRedirects:s.urlHandlingStrategy.extract(d),rawUrl:d,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ai,restoredState:null,currentSnapshot:p.snapshot,targetSnapshot:null,currentRouterState:p,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,bt.h)(y=>0!==y.id),(0,Ie.U)(y=>({...y,extractedUrl:s.urlHandlingStrategy.extract(y.rawUrl)})),(0,Re.w)(y=>{this.currentTransition=y;let A=!1,K=!1;return(0,le.of)(y).pipe((0,P.b)(re=>{this.currentNavigation={id:re.id,initialUrl:re.rawUrl,extractedUrl:re.extractedUrl,trigger:re.source,extras:re.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Re.w)(re=>{const Ge=re.currentBrowserUrl.toString(),_t=!s.navigated||re.extractedUrl.toString()!==Ge||Ge!==re.currentUrlTree.toString();if(!_t&&"reload"!==(re.extras.onSameUrlNavigation??s.onSameUrlNavigation)){const zt="";return this.events.next(new x(re.id,this.urlSerializer.serialize(re.rawUrl),zt,0)),re.resolve(null),Ue.E}if(s.urlHandlingStrategy.shouldProcessUrl(re.rawUrl))return(0,le.of)(re).pipe((0,Re.w)(zt=>{const rn=this.transitions?.getValue();return this.events.next(new mi(zt.id,this.urlSerializer.serialize(zt.extractedUrl),zt.source,zt.restoredState)),rn!==this.transitions?.getValue()?Ue.E:Promise.resolve(zt)}),function na(u,a,s,d,p,y){return(0,Dt.z)(A=>function xc(u,a,s,d,p,y,A="emptyOnly"){return new yu(u,a,s,d,p,A,y).recognize()}(u,a,s,d,A.extractedUrl,p,y).pipe((0,Ie.U)(({state:K,tree:re})=>({...A,targetSnapshot:K,urlAfterRedirects:re}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,s.config,this.urlSerializer,s.paramsInheritanceStrategy),(0,P.b)(zt=>{y.targetSnapshot=zt.targetSnapshot,y.urlAfterRedirects=zt.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:zt.urlAfterRedirects};const rn=new pe(zt.id,this.urlSerializer.serialize(zt.extractedUrl),this.urlSerializer.serialize(zt.urlAfterRedirects),zt.targetSnapshot);this.events.next(rn)}));if(_t&&s.urlHandlingStrategy.shouldProcessUrl(re.currentRawUrl)){const{id:zt,extractedUrl:rn,source:Xt,restoredState:ln,extras:Un}=re,Wn=new mi(zt,this.urlSerializer.serialize(rn),Xt,ln);this.events.next(Wn);const li=wo(0,this.rootComponentType).snapshot;return this.currentTransition=y={...re,targetSnapshot:li,urlAfterRedirects:rn,extras:{...Un,skipLocationChange:!1,replaceUrl:!1}},(0,le.of)(y)}{const zt="";return this.events.next(new x(re.id,this.urlSerializer.serialize(re.extractedUrl),zt,1)),re.resolve(null),Ue.E}}),(0,P.b)(re=>{const Ge=new We(re.id,this.urlSerializer.serialize(re.extractedUrl),this.urlSerializer.serialize(re.urlAfterRedirects),re.targetSnapshot);this.events.next(Ge)}),(0,Ie.U)(re=>(this.currentTransition=y={...re,guards:Wr(re.targetSnapshot,re.currentSnapshot,this.rootContexts)},y)),function _u(u,a){return(0,Dt.z)(s=>{const{targetSnapshot:d,currentSnapshot:p,guards:{canActivateChecks:y,canDeactivateChecks:A}}=s;return 0===A.length&&0===y.length?(0,le.of)({...s,guardsResult:!0}):function Qs(u,a,s,d){return(0,Se.D)(u).pipe((0,Dt.z)(p=>function Ho(u,a,s,d,p){const y=a&&a.routeConfig?a.routeConfig.canDeactivate:null;if(!y||0===y.length)return(0,le.of)(!0);const A=y.map(K=>{const re=ii(a)??p,Ge=To(K,re);return Gt(function Ne(u){return u&&tr(u.canDeactivate)}(Ge)?Ge.canDeactivate(u,a,s,d):re.runInContext(()=>Ge(u,a,s,d))).pipe(Ct())});return(0,le.of)(A).pipe(Zr())}(p.component,p.route,s,a,d)),Ct(p=>!0!==p,!0))}(A,d,p,u).pipe((0,Dt.z)(K=>K&&function O(u){return"boolean"==typeof u}(K)?function el(u,a,s,d){return(0,Se.D)(a).pipe((0,W.b)(p=>(0,fe.z)(function vu(u,a){return null!==u&&a&&a(new oi(u)),(0,le.of)(!0)}(p.route.parent,d),function bu(u,a){return null!==u&&a&&a(new Jo(u)),(0,le.of)(!0)}(p.route,d),function nr(u,a,s){const d=a[a.length-1],y=a.slice(0,a.length-1).reverse().map(A=>function no(u){const a=u.routeConfig?u.routeConfig.canActivateChild:null;return a&&0!==a.length?{node:u,guards:a}:null}(A)).filter(A=>null!==A).map(A=>(0,me.P)(()=>{const K=A.guards.map(re=>{const Ge=ii(A.node)??s,_t=To(re,Ge);return Gt(function Q(u){return u&&tr(u.canActivateChild)}(_t)?_t.canActivateChild(d,u):Ge.runInContext(()=>_t(d,u))).pipe(Ct())});return(0,le.of)(K).pipe(Zr())}));return(0,le.of)(y).pipe(Zr())}(u,p.path,s),function tl(u,a,s){const d=a.routeConfig?a.routeConfig.canActivate:null;if(!d||0===d.length)return(0,le.of)(!0);const p=d.map(y=>(0,me.P)(()=>{const A=ii(a)??s,K=To(y,A);return Gt(function C(u){return u&&tr(u.canActivate)}(K)?K.canActivate(a,u):A.runInContext(()=>K(a,u))).pipe(Ct())}));return(0,le.of)(p).pipe(Zr())}(u,p.route,s))),Ct(p=>!0!==p,!0))}(d,y,u,a):(0,le.of)(K)),(0,Ie.U)(K=>({...s,guardsResult:K})))})}(this.environmentInjector,re=>this.events.next(re)),(0,P.b)(re=>{if(y.guardsResult=re.guardsResult,ne(re.guardsResult))throw Hi(0,re.guardsResult);const Ge=new pt(re.id,this.urlSerializer.serialize(re.extractedUrl),this.urlSerializer.serialize(re.urlAfterRedirects),re.targetSnapshot,!!re.guardsResult);this.events.next(Ge)}),(0,bt.h)(re=>!!re.guardsResult||(this.cancelNavigationTransition(re,"",3),!1)),w(re=>{if(re.guards.canActivateChecks.length)return(0,le.of)(re).pipe((0,P.b)(Ge=>{const _t=new on(Ge.id,this.urlSerializer.serialize(Ge.extractedUrl),this.urlSerializer.serialize(Ge.urlAfterRedirects),Ge.targetSnapshot);this.events.next(_t)}),(0,Re.w)(Ge=>{let _t=!1;return(0,le.of)(Ge).pipe(function xu(u,a){return(0,Dt.z)(s=>{const{targetSnapshot:d,guards:{canActivateChecks:p}}=s;if(!p.length)return(0,le.of)(s);let y=0;return(0,Se.D)(p).pipe((0,W.b)(A=>function Cu(u,a,s,d){const p=u.routeConfig,y=u._resolve;return void 0!==p?.title&&!V(p)&&(y[qe]=p.title),function Xr(u,a,s,d){const p=function al(u){return[...Object.keys(u),...Object.getOwnPropertySymbols(u)]}(u);if(0===p.length)return(0,le.of)({});const y={};return(0,Se.D)(p).pipe((0,Dt.z)(A=>function _(u,a,s,d){const p=ii(a)??d,y=To(u,p);return Gt(y.resolve?y.resolve(a,s):p.runInContext(()=>y(a,s)))}(u[A],a,s,d).pipe(Ct(),(0,P.b)(K=>{y[A]=K}))),G(1),function Be(u){return(0,Ie.U)(()=>u)}(y),(0,se.K)(A=>Or(A)?Ue.E:(0,Le._)(A)))}(y,u,a,d).pipe((0,Ie.U)(A=>(u._resolvedData=A,u.data=b(u,s).resolve,p&&V(p)&&(u.data[qe]=p.title),null)))}(A.route,d,u,a)),(0,P.b)(()=>y++),G(1),(0,Dt.z)(A=>y===p.length?(0,le.of)(s):Ue.E))})}(s.paramsInheritanceStrategy,this.environmentInjector),(0,P.b)({next:()=>_t=!0,complete:()=>{_t||this.cancelNavigationTransition(Ge,"",2)}}))}),(0,P.b)(Ge=>{const _t=new Qt(Ge.id,this.urlSerializer.serialize(Ge.extractedUrl),this.urlSerializer.serialize(Ge.urlAfterRedirects),Ge.targetSnapshot);this.events.next(_t)}))}),w(re=>{const Ge=_t=>{const Rt=[];_t.routeConfig?.loadComponent&&!_t.routeConfig._loadedComponent&&Rt.push(this.configLoader.loadComponent(_t.routeConfig).pipe((0,P.b)(zt=>{_t.component=zt}),(0,Ie.U)(()=>{})));for(const zt of _t.children)Rt.push(...Ge(zt));return Rt};return(0,we.a)(Ge(re.targetSnapshot.root)).pipe(Ut(),(0,$e.q)(1))}),w(()=>this.afterPreactivation()),(0,Ie.U)(re=>{const Ge=function St(u,a,s){const d=On(u,a._root,s?s._root:void 0);return new Vi(d,a)}(s.routeReuseStrategy,re.targetSnapshot,re.currentRouterState);return this.currentTransition=y={...re,targetRouterState:Ge},y}),(0,P.b)(()=>{this.events.next(new Yi)}),((u,a,s,d)=>(0,Ie.U)(p=>(new _i(a,p.targetRouterState,p.currentRouterState,s,d).activate(u),p)))(this.rootContexts,s.routeReuseStrategy,re=>this.events.next(re),this.inputBindingEnabled),(0,$e.q)(1),(0,P.b)({next:re=>{A=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new N(re.id,this.urlSerializer.serialize(re.extractedUrl),this.urlSerializer.serialize(re.urlAfterRedirects))),s.titleStrategy?.updateTitle(re.targetRouterState.snapshot),re.resolve(!0)},complete:()=>{A=!0}}),(0,He.R)(this.transitionAbortSubject.pipe((0,P.b)(re=>{throw re}))),(0,ae.x)(()=>{A||K||this.cancelNavigationTransition(y,"",1),this.currentNavigation?.id===y.id&&(this.currentNavigation=null)}),(0,se.K)(re=>{if(K=!0,Bo(re))this.events.next(new de(y.id,this.urlSerializer.serialize(y.extractedUrl),re.message,re.cancellationCode)),function Ai(u){return Bo(u)&&ne(u.url)}(re)?this.events.next(new eo(re.url)):y.resolve(!1);else{this.events.next(new q(y.id,this.urlSerializer.serialize(y.extractedUrl),re,y.targetSnapshot??void 0));try{y.resolve(s.errorHandler(re))}catch(Ge){y.reject(Ge)}}return Ue.E}))}))}cancelNavigationTransition(s,d,p){const y=new de(s.id,this.urlSerializer.serialize(s.extractedUrl),d,p);this.events.next(y),s.resolve(!1)}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();function Vn(u){return u!==ai}let An=(()=>{class u{buildTitle(s){let d,p=s.root;for(;void 0!==p;)d=this.getResolvedTitleForRoute(p)??d,p=p.children.find(y=>y.outlet===it);return d}getResolvedTitleForRoute(s){return s.data[qe]}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:function(){return(0,l.f3M)(wn)},providedIn:"root"})}return u})(),wn=(()=>{class u extends An{constructor(s){super(),this.title=s}updateTitle(s){const d=this.buildTitle(s);void 0!==d&&this.title.setTitle(d)}static#e=this.\u0275fac=function(d){return new(d||u)(l.LFG(n.Dx))};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})(),ri=(()=>{class u{static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:function(){return(0,l.f3M)(fi)},providedIn:"root"})}return u})();class Gn{shouldDetach(a){return!1}store(a,s){}shouldAttach(a){return!1}retrieve(a){return null}shouldReuseRoute(a,s){return a.routeConfig===s.routeConfig}}let fi=(()=>{class u extends Gn{static#e=this.\u0275fac=function(){let s;return function(p){return(s||(s=l.n5z(u)))(p||u)}}();static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();const io=new l.OlP("",{providedIn:"root",factory:()=>({})});let Ao=(()=>{class u{static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:function(){return(0,l.f3M)(jo)},providedIn:"root"})}return u})(),jo=(()=>{class u{shouldProcessUrl(s){return!0}extract(s){return s}merge(s,d){return s}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();var Mi=function(u){return u[u.COMPLETE=0]="COMPLETE",u[u.FAILED=1]="FAILED",u[u.REDIRECTING=2]="REDIRECTING",u}(Mi||{});function zo(u){throw u}function ir(u,a,s){return a.parse("/")}const Xn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ll={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Zi=(()=>{class u{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,l.f3M)(l.c2e),this.isNgZoneEnabled=!1,this._events=new xe.x,this.options=(0,l.f3M)(io,{optional:!0})||{},this.pendingTasks=(0,l.f3M)(l.HDt),this.errorHandler=this.options.errorHandler||zo,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||ir,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,l.f3M)(Ao),this.routeReuseStrategy=(0,l.f3M)(ri),this.titleStrategy=(0,l.f3M)(An),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,l.f3M)(F,{optional:!0})?.flat()??[],this.navigationTransitions=(0,l.f3M)(Ln),this.urlSerializer=(0,l.f3M)(Cn),this.location=(0,l.f3M)(oe.Ye),this.componentInputBindingEnabled=!!(0,l.f3M)(Pn,{optional:!0}),this.eventsSubscription=new be.w0,this.isNgZoneEnabled=(0,l.f3M)(l.R0b)instanceof l.R0b&&l.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new lt,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=wo(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(s=>{this.lastSuccessfulId=s.id,this.currentPageId=this.browserPageId},s=>{this.console.warn(`Unhandled Navigation Error: ${s}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const s=this.navigationTransitions.events.subscribe(d=>{try{const{currentTransition:p}=this.navigationTransitions;if(null===p)return void(Mc(d)&&this._events.next(d));if(d instanceof mi)Vn(p.source)&&(this.browserUrlTree=p.extractedUrl);else if(d instanceof x)this.rawUrlTree=p.rawUrl;else if(d instanceof pe){if("eager"===this.urlUpdateStrategy){if(!p.extras.skipLocationChange){const y=this.urlHandlingStrategy.merge(p.urlAfterRedirects,p.rawUrl);this.setBrowserUrl(y,p)}this.browserUrlTree=p.urlAfterRedirects}}else if(d instanceof Yi)this.currentUrlTree=p.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(p.urlAfterRedirects,p.rawUrl),this.routerState=p.targetRouterState,"deferred"===this.urlUpdateStrategy&&(p.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,p),this.browserUrlTree=p.urlAfterRedirects);else if(d instanceof de)0!==d.code&&1!==d.code&&(this.navigated=!0),(3===d.code||2===d.code)&&this.restoreHistory(p);else if(d instanceof eo){const y=this.urlHandlingStrategy.merge(d.url,p.currentRawUrl),A={skipLocationChange:p.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Vn(p.source)};this.scheduleNavigation(y,ai,null,A,{resolve:p.resolve,reject:p.reject,promise:p.promise})}d instanceof q&&this.restoreHistory(p,!0),d instanceof N&&(this.navigated=!0),Mc(d)&&this._events.next(d)}catch(p){this.navigationTransitions.transitionAbortSubject.next(p)}});this.eventsSubscription.add(s)}resetRootComponentType(s){this.routerState.root.component=s,this.navigationTransitions.rootComponentType=s}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const s=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),ai,s)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(s=>{const d="popstate"===s.type?"popstate":"hashchange";"popstate"===d&&setTimeout(()=>{this.navigateToSyncWithBrowser(s.url,d,s.state)},0)}))}navigateToSyncWithBrowser(s,d,p){const y={replaceUrl:!0},A=p?.navigationId?p:null;if(p){const re={...p};delete re.navigationId,delete re.\u0275routerPageId,0!==Object.keys(re).length&&(y.state=re)}const K=this.parseUrl(s);this.scheduleNavigation(K,d,A,y)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(s){this.config=s.map(Mo),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(s,d={}){const{relativeTo:p,queryParams:y,fragment:A,queryParamsHandling:K,preserveFragment:re}=d,Ge=re?this.currentUrlTree.fragment:A;let Rt,_t=null;switch(K){case"merge":_t={...this.currentUrlTree.queryParams,...y};break;case"preserve":_t=this.currentUrlTree.queryParams;break;default:_t=y||null}null!==_t&&(_t=this.removeEmptyProps(_t));try{Rt=nt(p?p.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof s[0]||!s[0].startsWith("/"))&&(s=[]),Rt=this.currentUrlTree.root}return Et(Rt,s,_t,Ge??null)}navigateByUrl(s,d={skipLocationChange:!1}){const p=ne(s)?s:this.parseUrl(s),y=this.urlHandlingStrategy.merge(p,this.rawUrlTree);return this.scheduleNavigation(y,ai,null,d)}navigate(s,d={skipLocationChange:!1}){return function Ki(u){for(let a=0;a{const y=s[p];return null!=y&&(d[p]=y),d},{})}scheduleNavigation(s,d,p,y,A){if(this.disposed)return Promise.resolve(!1);let K,re,Ge;A?(K=A.resolve,re=A.reject,Ge=A.promise):Ge=new Promise((Rt,zt)=>{K=Rt,re=zt});const _t=this.pendingTasks.add();return function xi(u,a){u.events.pipe((0,bt.h)(s=>s instanceof N||s instanceof de||s instanceof q||s instanceof x),(0,Ie.U)(s=>s instanceof N||s instanceof x?Mi.COMPLETE:s instanceof de&&(0===s.code||1===s.code)?Mi.REDIRECTING:Mi.FAILED),(0,bt.h)(s=>s!==Mi.REDIRECTING),(0,$e.q)(1)).subscribe(()=>{a()})}(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(_t))}),this.navigationTransitions.handleNavigationRequest({source:d,restoredState:p,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:s,extras:y,resolve:K,reject:re,promise:Ge,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ge.catch(Rt=>Promise.reject(Rt))}setBrowserUrl(s,d){const p=this.urlSerializer.serialize(s);if(this.location.isCurrentPathEqualTo(p)||d.extras.replaceUrl){const A={...d.extras.state,...this.generateNgRouterState(d.id,this.browserPageId)};this.location.replaceState(p,"",A)}else{const y={...d.extras.state,...this.generateNgRouterState(d.id,this.browserPageId+1)};this.location.go(p,"",y)}}restoreHistory(s,d=!1){if("computed"===this.canceledNavigationResolution){const y=this.currentPageId-this.browserPageId;0!==y?this.location.historyGo(y):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===y&&(this.resetState(s),this.browserUrlTree=s.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(d&&this.resetState(s),this.resetUrlToCurrentUrlTree())}resetState(s){this.routerState=s.currentRouterState,this.currentUrlTree=s.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,s.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(s,d){return"computed"===this.canceledNavigationResolution?{navigationId:s,\u0275routerPageId:d}:{navigationId:s}}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();function Mc(u){return!(u instanceof Yi||u instanceof eo)}let Cs=(()=>{class u{constructor(s,d,p,y,A,K){this.router=s,this.route=d,this.tabIndexAttribute=p,this.renderer=y,this.el=A,this.locationStrategy=K,this.href=null,this.commands=null,this.onChanges=new xe.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const re=A.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===re||"area"===re,this.isAnchorElement?this.subscription=s.events.subscribe(Ge=>{Ge instanceof N&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(s){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",s)}ngOnChanges(s){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(s){null!=s?(this.commands=Array.isArray(s)?s:[s],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(s,d,p,y,A){return!!(null===this.urlTree||this.isAnchorElement&&(0!==s||d||p||y||A||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const s=null===this.href?null:(0,l.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",s)}applyAttributeValue(s,d){const p=this.renderer,y=this.el.nativeElement;null!==d?p.setAttribute(y,s,d):p.removeAttribute(y,s)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(d){return new(d||u)(l.Y36(Zi),l.Y36(Wi),l.$8M("tabindex"),l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(oe.S$))};static#t=this.\u0275dir=l.lG2({type:u,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(d,p){1&d&&l.NdJ("click",function(A){return p.onClick(A.button,A.ctrlKey,A.shiftKey,A.altKey,A.metaKey)}),2&d&&l.uIk("target",p.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",l.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",l.VuI],replaceUrl:["replaceUrl","replaceUrl",l.VuI],routerLink:"routerLink"},standalone:!0,features:[l.Xq5,l.TTD]})}return u})();const ia=new l.OlP("");let Tc=(()=>{class u{constructor(s,d,p,y,A={}){this.urlSerializer=s,this.transitions=d,this.viewportScroller=p,this.zone=y,this.options=A,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},A.scrollPositionRestoration=A.scrollPositionRestoration||"disabled",A.anchorScrolling=A.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(s=>{s instanceof mi?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=s.navigationTrigger,this.restoredId=s.restoredState?s.restoredState.navigationId:0):s instanceof N?(this.lastId=s.id,this.scheduleScrollEvent(s,this.urlSerializer.parse(s.urlAfterRedirects).fragment)):s instanceof x&&0===s.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(s,this.urlSerializer.parse(s.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(s=>{s instanceof Co&&(s.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(s.position):s.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(s.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(s,d){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Co(s,"popstate"===this.lastSource?this.store[this.restoredId]:null,d))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(d){l.$Z()};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac})}return u})();function cl(u){return u.routerState.root}function Ic(){const u=(0,l.f3M)(l.zs3);return a=>{const s=u.get(l.z2F);if(a!==s.components[0])return;const d=u.get(Zi),p=u.get(Ac);1===u.get(dl)&&d.initialNavigation(),u.get(Rc,null,l.XFs.Optional)?.setUpPreloading(),u.get(ia,null,l.XFs.Optional)?.init(),d.resetRootComponentType(s.componentTypes[0]),p.closed||(p.next(),p.complete(),p.unsubscribe())}}const Ac=new l.OlP("",{factory:()=>new xe.x}),dl=new l.OlP("",{providedIn:"root",factory:()=>1}),Rc=new l.OlP("");var qn=g(6825);function ra(u){return new l.vHH(3e3,!1)}function $o(u){switch(u.length){case 0:return new qn.ZN;case 1:return u[0];default:return new qn.ZE(u)}}function Vu(u,a,s=new Map,d=new Map){const p=[],y=[];let A=-1,K=null;if(a.forEach(re=>{const Ge=re.get("offset"),_t=Ge==A,Rt=_t&&K||new Map;re.forEach((zt,rn)=>{let Xt=rn,ln=zt;if("offset"!==rn)switch(Xt=u.normalizePropertyName(Xt,p),ln){case qn.k1:ln=s.get(rn);break;case qn.l3:ln=d.get(rn);break;default:ln=u.normalizeStyleValue(rn,Xt,ln,p)}Rt.set(Xt,ln)}),_t||y.push(Rt),K=Rt,A=Ge}),p.length)throw function xr(u){return new l.vHH(3502,!1)}();return y}function gl(u,a,s,d){switch(a){case"start":u.onStart(()=>d(s&&_l(s,"start",u)));break;case"done":u.onDone(()=>d(s&&_l(s,"done",u)));break;case"destroy":u.onDestroy(()=>d(s&&_l(s,"destroy",u)))}}function _l(u,a,s){const y=Zc(u.element,u.triggerName,u.fromState,u.toState,a||u.phaseName,s.totalTime??u.totalTime,!!s.disabled),A=u._data;return null!=A&&(y._data=A),y}function Zc(u,a,s,d,p="",y=0,A){return{element:u,triggerName:a,fromState:s,toState:d,phaseName:p,totalTime:y,disabled:!!A}}function ho(u,a,s){let d=u.get(a);return d||u.set(a,d=s),d}function ua(u){const a=u.indexOf(":");return[u.substring(1,a),u.slice(a+1)]}const Es=(()=>typeof document>"u"?null:document.documentElement)();function bl(u){const a=u.parentNode||u.host||null;return a===Es?null:a}let rr=null,Ms=!1;function Qc(u,a){for(;a;){if(a===u)return!0;a=bl(a)}return!1}function Oo(u,a,s){if(s)return Array.from(u.querySelectorAll(a));const d=u.querySelector(a);return d?[d]:[]}let Ts=(()=>{class u{validateStyleProperty(s){return function Fp(u){rr||(rr=function Kc(){return typeof document<"u"?document.body:null}()||{},Ms=!!rr.style&&"WebkitAppearance"in rr.style);let a=!0;return rr.style&&!function Ds(u){return"ebkit"==u.substring(1,6)}(u)&&(a=u in rr.style,!a&&Ms&&(a="Webkit"+u.charAt(0).toUpperCase()+u.slice(1)in rr.style)),a}(s)}matchesElement(s,d){return!1}containsElement(s,d){return Qc(s,d)}getParentElement(s){return bl(s)}query(s,d,p){return Oo(s,d,p)}computeStyle(s,d,p){return p||""}animate(s,d,p,y,A,K=[],re){return new qn.ZN(p,y)}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac})}return u})(),Ss=(()=>{class u{static#e=this.NOOP=new Ts}return u})();const Jc=1e3,yl="ng-enter",As="ng-leave",Os="ng-trigger",Rs=".ng-trigger",xl="ng-animating",Cl=".ng-animating";function fo(u){if("number"==typeof u)return u;const a=u.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:sr(parseFloat(a[1]),a[2])}function sr(u,a){return"s"===a?u*Jc:u}function ha(u,a,s){return u.hasOwnProperty("duration")?u:function Xc(u,a,s){let p,y=0,A="";if("string"==typeof u){const K=u.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===K)return a.push(ra()),{duration:0,delay:0,easing:""};p=sr(parseFloat(K[1]),K[2]);const re=K[3];null!=re&&(y=sr(parseFloat(re),K[4]));const Ge=K[5];Ge&&(A=Ge)}else p=u;if(!s){let K=!1,re=a.length;p<0&&(a.push(function hl(){return new l.vHH(3100,!1)}()),K=!0),y<0&&(a.push(function Fc(){return new l.vHH(3101,!1)}()),K=!0),K&&a.splice(re,0,ra())}return{duration:p,delay:y,easing:A}}(u,a,s)}function ns(u,a={}){return Object.keys(u).forEach(s=>{a[s]=u[s]}),a}function is(u){const a=new Map;return Object.keys(u).forEach(s=>{a.set(s,u[s])}),a}function Cr(u,a=new Map,s){if(s)for(let[d,p]of s)a.set(d,p);for(let[d,p]of u)a.set(d,p);return a}function Ro(u,a,s){a.forEach((d,p)=>{const y=Fs(p);s&&!s.has(p)&&s.set(p,u.style[y]),u.style[y]=d})}function ar(u,a){a.forEach((s,d)=>{const p=Fs(d);u.style[p]=""})}function ks(u){return Array.isArray(u)?1==u.length?u[0]:(0,qn.vP)(u):u}const Ps=new RegExp("{{\\s*(.+?)\\s*}}","g");function Pr(u){let a=[];if("string"==typeof u){let s;for(;s=Ps.exec(u);)a.push(s[1]);Ps.lastIndex=0}return a}function Yo(u,a,s){const d=u.toString(),p=d.replace(Ps,(y,A)=>{let K=a[A];return null==K&&(s.push(function Ou(u){return new l.vHH(3003,!1)}()),K=""),K.toString()});return p==d?u:p}function lr(u){const a=[];let s=u.next();for(;!s.done;)a.push(s.value),s=u.next();return a}const ed=/-+([a-z0-9])/g;function Fs(u){return u.replace(ed,(...a)=>a[1].toUpperCase())}function po(u,a,s){switch(a.type){case 7:return u.visitTrigger(a,s);case 0:return u.visitState(a,s);case 1:return u.visitTransition(a,s);case 2:return u.visitSequence(a,s);case 3:return u.visitGroup(a,s);case 4:return u.visitAnimate(a,s);case 5:return u.visitKeyframes(a,s);case 6:return u.visitStyle(a,s);case 8:return u.visitReference(a,s);case 9:return u.visitAnimateChild(a,s);case 10:return u.visitAnimateRef(a,s);case 11:return u.visitQuery(a,s);case 12:return u.visitStagger(a,s);default:throw function Nc(u){return new l.vHH(3004,!1)}()}}function zu(u,a){return window.getComputedStyle(u)[a]}const fa="*";function Ci(u,a){const s=[];return"string"==typeof u?u.split(/\s*,\s*/).forEach(d=>function Gu(u,a,s){if(":"==u[0]){const re=function Bs(u,a){switch(u){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(s,d)=>parseFloat(d)>parseFloat(s);case":decrement":return(s,d)=>parseFloat(d) *"}}(u,s);if("function"==typeof re)return void a.push(re);u=re}const d=u.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==d||d.length<4)return s.push(function zc(u){return new l.vHH(3015,!1)}()),a;const p=d[1],y=d[2],A=d[3];a.push(Fr(p,A));"<"==y[0]&&!(p==fa&&A==fa)&&a.push(Fr(A,p))}(d,s,a)):s.push(u),s}const pa=new Set(["true","1"]),ji=new Set(["false","0"]);function Fr(u,a){const s=pa.has(u)||ji.has(u),d=pa.has(a)||ji.has(a);return(p,y)=>{let A=u==fa||u==p,K=a==fa||a==y;return!A&&s&&"boolean"==typeof p&&(A=p?pa.has(u):ji.has(u)),!K&&d&&"boolean"==typeof y&&(K=y?pa.has(a):ji.has(a)),A&&K}}const ma=new RegExp("s*:selfs*,?","g");function Nr(u,a,s,d){return new Vp(u).build(a,s,d)}class Vp{constructor(a){this._driver=a}build(a,s,d){const p=new ro(s);return this._resetContextStyleTimingState(p),po(this,ks(a),p)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles=new Map,a.collectedStyles.set("",new Map),a.currentTime=0}visitTrigger(a,s){let d=s.queryCount=0,p=s.depCount=0;const y=[],A=[];return"@"==a.name.charAt(0)&&s.errors.push(function Lc(){return new l.vHH(3006,!1)}()),a.definitions.forEach(K=>{if(this._resetContextStyleTimingState(s),0==K.type){const re=K,Ge=re.name;Ge.toString().split(/\s*,\s*/).forEach(_t=>{re.name=_t,y.push(this.visitState(re,s))}),re.name=Ge}else if(1==K.type){const re=this.visitTransition(K,s);d+=re.queryCount,p+=re.depCount,A.push(re)}else s.errors.push(function Bc(){return new l.vHH(3007,!1)}())}),{type:7,name:a.name,states:y,transitions:A,queryCount:d,depCount:p,options:null}}visitState(a,s){const d=this.visitStyle(a.styles,s),p=a.options&&a.options.params||null;if(d.containsDynamicStyles){const y=new Set,A=p||{};d.styles.forEach(K=>{K instanceof Map&&K.forEach(re=>{Pr(re).forEach(Ge=>{A.hasOwnProperty(Ge)||y.add(Ge)})})}),y.size&&(lr(y.values()),s.errors.push(function Vc(u,a){return new l.vHH(3008,!1)}()))}return{type:0,name:a.name,style:d,options:p?{params:p}:null}}visitTransition(a,s){s.queryCount=0,s.depCount=0;const d=po(this,ks(a.animation),s);return{type:1,matchers:Ci(a.expr,s.errors),animation:d,queryCount:s.queryCount,depCount:s.depCount,options:rs(a.options)}}visitSequence(a,s){return{type:2,steps:a.steps.map(d=>po(this,d,s)),options:rs(a.options)}}visitGroup(a,s){const d=s.currentTime;let p=0;const y=a.steps.map(A=>{s.currentTime=d;const K=po(this,A,s);return p=Math.max(p,s.currentTime),K});return s.currentTime=p,{type:3,steps:y,options:rs(a.options)}}visitAnimate(a,s){const d=function os(u,a){if(u.hasOwnProperty("duration"))return u;if("number"==typeof u)return ga(ha(u,a).duration,0,"");const s=u;if(s.split(/\s+/).some(y=>"{"==y.charAt(0)&&"{"==y.charAt(1))){const y=ga(0,0,"");return y.dynamic=!0,y.strValue=s,y}const p=ha(s,a);return ga(p.duration,p.delay,p.easing)}(a.timings,s.errors);s.currentAnimateTimings=d;let p,y=a.styles?a.styles:(0,qn.oB)({});if(5==y.type)p=this.visitKeyframes(y,s);else{let A=a.styles,K=!1;if(!A){K=!0;const Ge={};d.easing&&(Ge.easing=d.easing),A=(0,qn.oB)(Ge)}s.currentTime+=d.duration+d.delay;const re=this.visitStyle(A,s);re.isEmptyStep=K,p=re}return s.currentAnimateTimings=null,{type:4,timings:d,style:p,options:null}}visitStyle(a,s){const d=this._makeStyleAst(a,s);return this._validateStyleAst(d,s),d}_makeStyleAst(a,s){const d=[],p=Array.isArray(a.styles)?a.styles:[a.styles];for(let K of p)"string"==typeof K?K===qn.l3?d.push(K):s.errors.push(new l.vHH(3002,!1)):d.push(is(K));let y=!1,A=null;return d.forEach(K=>{if(K instanceof Map&&(K.has("easing")&&(A=K.get("easing"),K.delete("easing")),!y))for(let re of K.values())if(re.toString().indexOf("{{")>=0){y=!0;break}}),{type:6,styles:d,easing:A,offset:a.offset,containsDynamicStyles:y,options:null}}_validateStyleAst(a,s){const d=s.currentAnimateTimings;let p=s.currentTime,y=s.currentTime;d&&y>0&&(y-=d.duration+d.delay),a.styles.forEach(A=>{"string"!=typeof A&&A.forEach((K,re)=>{const Ge=s.collectedStyles.get(s.currentQuerySelector),_t=Ge.get(re);let Rt=!0;_t&&(y!=p&&y>=_t.startTime&&p<=_t.endTime&&(s.errors.push(function Ru(u,a,s,d,p){return new l.vHH(3010,!1)}()),Rt=!1),y=_t.startTime),Rt&&Ge.set(re,{startTime:y,endTime:p}),s.options&&function qc(u,a,s){const d=a.params||{},p=Pr(u);p.length&&p.forEach(y=>{d.hasOwnProperty(y)||s.push(function fl(u){return new l.vHH(3001,!1)}())})}(K,s.options,s.errors)})})}visitKeyframes(a,s){const d={type:5,styles:[],options:null};if(!s.currentAnimateTimings)return s.errors.push(function ku(){return new l.vHH(3011,!1)}()),d;let y=0;const A=[];let K=!1,re=!1,Ge=0;const _t=a.steps.map(Wn=>{const li=this._makeStyleAst(Wn,s);let Fi=null!=li.offset?li.offset:function El(u){if("string"==typeof u)return null;let a=null;if(Array.isArray(u))u.forEach(s=>{if(s instanceof Map&&s.has("offset")){const d=s;a=parseFloat(d.get("offset")),d.delete("offset")}});else if(u instanceof Map&&u.has("offset")){const s=u;a=parseFloat(s.get("offset")),s.delete("offset")}return a}(li.styles),bi=0;return null!=Fi&&(y++,bi=li.offset=Fi),re=re||bi<0||bi>1,K=K||bi0&&y{const Fi=zt>0?li==rn?1:zt*li:A[li],bi=Fi*Un;s.currentTime=Xt+ln.delay+bi,ln.duration=bi,this._validateStyleAst(Wn,s),Wn.offset=Fi,d.styles.push(Wn)}),d}visitReference(a,s){return{type:8,animation:po(this,ks(a.animation),s),options:rs(a.options)}}visitAnimateChild(a,s){return s.depCount++,{type:9,options:rs(a.options)}}visitAnimateRef(a,s){return{type:10,animation:this.visitReference(a.animation,s),options:rs(a.options)}}visitQuery(a,s){const d=s.currentQuerySelector,p=a.options||{};s.queryCount++,s.currentQuery=a;const[y,A]=function $u(u){const a=!!u.split(/\s*,\s*/).find(s=>":self"==s);return a&&(u=u.replace(ma,"")),u=u.replace(/@\*/g,Rs).replace(/@\w+/g,s=>Rs+"-"+s.slice(1)).replace(/:animating/g,Cl),[u,a]}(a.selector);s.currentQuerySelector=d.length?d+" "+y:y,ho(s.collectedStyles,s.currentQuerySelector,new Map);const K=po(this,ks(a.animation),s);return s.currentQuery=null,s.currentQuerySelector=d,{type:11,selector:y,limit:p.limit||0,optional:!!p.optional,includeSelf:A,animation:K,originalSelector:a.selector,options:rs(a.options)}}visitStagger(a,s){s.currentQuery||s.errors.push(function jc(){return new l.vHH(3013,!1)}());const d="full"===a.timings?{duration:0,delay:0,easing:"full"}:ha(a.timings,s.errors,!0);return{type:12,animation:po(this,ks(a.animation),s),timings:d,options:null}}}class ro{constructor(a){this.errors=a,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function rs(u){return u?(u=ns(u)).params&&(u.params=function Hp(u){return u?ns(u):null}(u.params)):u={},u}function ga(u,a,s){return{duration:u,delay:a,easing:s}}function Dl(u,a,s,d,p,y,A=null,K=!1){return{type:1,element:u,keyframes:a,preStyleProps:s,postStyleProps:d,duration:p,delay:y,totalTime:p+y,easing:A,subTimeline:K}}class _a{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,s){let d=this._map.get(a);d||this._map.set(a,d=[]),d.push(...s)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const Zu=new RegExp(":enter","g"),Ml=new RegExp(":leave","g");function ss(u,a,s,d,p,y=new Map,A=new Map,K,re,Ge=[]){return(new Qu).buildKeyframes(u,a,s,d,p,y,A,K,re,Ge)}class Qu{buildKeyframes(a,s,d,p,y,A,K,re,Ge,_t=[]){Ge=Ge||new _a;const Rt=new Tl(a,s,Ge,p,y,_t,[]);Rt.options=re;const zt=re.delay?fo(re.delay):0;Rt.currentTimeline.delayNextStep(zt),Rt.currentTimeline.setStyles([A],null,Rt.errors,re),po(this,d,Rt);const rn=Rt.timelines.filter(Xt=>Xt.containsAnimation());if(rn.length&&K.size){let Xt;for(let ln=rn.length-1;ln>=0;ln--){const Un=rn[ln];if(Un.element===s){Xt=Un;break}}Xt&&!Xt.allowOnlyTimelineStyles()&&Xt.setStyles([K],null,Rt.errors,re)}return rn.length?rn.map(Xt=>Xt.buildKeyframes()):[Dl(s,[],[],[],0,zt,"",!1)]}visitTrigger(a,s){}visitState(a,s){}visitTransition(a,s){}visitAnimateChild(a,s){const d=s.subInstructions.get(s.element);if(d){const p=s.createSubContext(a.options),y=s.currentTimeline.currentTime,A=this._visitSubInstructions(d,p,p.options);y!=A&&s.transformIntoNewTimeline(A)}s.previousNode=a}visitAnimateRef(a,s){const d=s.createSubContext(a.options);d.transformIntoNewTimeline(),this._applyAnimationRefDelays([a.options,a.animation.options],s,d),this.visitReference(a.animation,d),s.transformIntoNewTimeline(d.currentTimeline.currentTime),s.previousNode=a}_applyAnimationRefDelays(a,s,d){for(const p of a){const y=p?.delay;if(y){const A="number"==typeof y?y:fo(Yo(y,p?.params??{},s.errors));d.delayNextStep(A)}}}_visitSubInstructions(a,s,d){let y=s.currentTimeline.currentTime;const A=null!=d.duration?fo(d.duration):null,K=null!=d.delay?fo(d.delay):null;return 0!==A&&a.forEach(re=>{const Ge=s.appendInstructionToTimeline(re,A,K);y=Math.max(y,Ge.duration+Ge.delay)}),y}visitReference(a,s){s.updateOptions(a.options,!0),po(this,a.animation,s),s.previousNode=a}visitSequence(a,s){const d=s.subContextCount;let p=s;const y=a.options;if(y&&(y.params||y.delay)&&(p=s.createSubContext(y),p.transformIntoNewTimeline(),null!=y.delay)){6==p.previousNode.type&&(p.currentTimeline.snapshotCurrentStyles(),p.previousNode=Lr);const A=fo(y.delay);p.delayNextStep(A)}a.steps.length&&(a.steps.forEach(A=>po(this,A,p)),p.currentTimeline.applyStylesToKeyframe(),p.subContextCount>d&&p.transformIntoNewTimeline()),s.previousNode=a}visitGroup(a,s){const d=[];let p=s.currentTimeline.currentTime;const y=a.options&&a.options.delay?fo(a.options.delay):0;a.steps.forEach(A=>{const K=s.createSubContext(a.options);y&&K.delayNextStep(y),po(this,A,K),p=Math.max(p,K.currentTimeline.currentTime),d.push(K.currentTimeline)}),d.forEach(A=>s.currentTimeline.mergeTimelineCollectedStyles(A)),s.transformIntoNewTimeline(p),s.previousNode=a}_visitTiming(a,s){if(a.dynamic){const d=a.strValue;return ha(s.params?Yo(d,s.params,s.errors):d,s.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,s){const d=s.currentAnimateTimings=this._visitTiming(a.timings,s),p=s.currentTimeline;d.delay&&(s.incrementTime(d.delay),p.snapshotCurrentStyles());const y=a.style;5==y.type?this.visitKeyframes(y,s):(s.incrementTime(d.duration),this.visitStyle(y,s),p.applyStylesToKeyframe()),s.currentAnimateTimings=null,s.previousNode=a}visitStyle(a,s){const d=s.currentTimeline,p=s.currentAnimateTimings;!p&&d.hasCurrentStyleProperties()&&d.forwardFrame();const y=p&&p.easing||a.easing;a.isEmptyStep?d.applyEmptyStep(y):d.setStyles(a.styles,y,s.errors,s.options),s.previousNode=a}visitKeyframes(a,s){const d=s.currentAnimateTimings,p=s.currentTimeline.duration,y=d.duration,K=s.createSubContext().currentTimeline;K.easing=d.easing,a.styles.forEach(re=>{K.forwardTime((re.offset||0)*y),K.setStyles(re.styles,re.easing,s.errors,s.options),K.applyStylesToKeyframe()}),s.currentTimeline.mergeTimelineCollectedStyles(K),s.transformIntoNewTimeline(p+y),s.previousNode=a}visitQuery(a,s){const d=s.currentTimeline.currentTime,p=a.options||{},y=p.delay?fo(p.delay):0;y&&(6===s.previousNode.type||0==d&&s.currentTimeline.hasCurrentStyleProperties())&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=Lr);let A=d;const K=s.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!p.optional,s.errors);s.currentQueryTotal=K.length;let re=null;K.forEach((Ge,_t)=>{s.currentQueryIndex=_t;const Rt=s.createSubContext(a.options,Ge);y&&Rt.delayNextStep(y),Ge===s.element&&(re=Rt.currentTimeline),po(this,a.animation,Rt),Rt.currentTimeline.applyStylesToKeyframe(),A=Math.max(A,Rt.currentTimeline.currentTime)}),s.currentQueryIndex=0,s.currentQueryTotal=0,s.transformIntoNewTimeline(A),re&&(s.currentTimeline.mergeTimelineCollectedStyles(re),s.currentTimeline.snapshotCurrentStyles()),s.previousNode=a}visitStagger(a,s){const d=s.parentContext,p=s.currentTimeline,y=a.timings,A=Math.abs(y.duration),K=A*(s.currentQueryTotal-1);let re=A*s.currentQueryIndex;switch(y.duration<0?"reverse":y.easing){case"reverse":re=K-re;break;case"full":re=d.currentStaggerTime}const _t=s.currentTimeline;re&&_t.delayNextStep(re);const Rt=_t.currentTime;po(this,a.animation,s),s.previousNode=a,d.currentStaggerTime=p.currentTime-Rt+(p.startTime-d.currentTimeline.startTime)}}const Lr={};class Tl{constructor(a,s,d,p,y,A,K,re){this._driver=a,this.element=s,this.subInstructions=d,this._enterClassName=p,this._leaveClassName=y,this.errors=A,this.timelines=K,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Lr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=re||new Br(this._driver,s,0),K.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,s){if(!a)return;const d=a;let p=this.options;null!=d.duration&&(p.duration=fo(d.duration)),null!=d.delay&&(p.delay=fo(d.delay));const y=d.params;if(y){let A=p.params;A||(A=this.options.params={}),Object.keys(y).forEach(K=>{(!s||!A.hasOwnProperty(K))&&(A[K]=Yo(y[K],A,this.errors))})}}_copyOptions(){const a={};if(this.options){const s=this.options.params;if(s){const d=a.params={};Object.keys(s).forEach(p=>{d[p]=s[p]})}}return a}createSubContext(a=null,s,d){const p=s||this.element,y=new Tl(this._driver,p,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(p,d||0));return y.previousNode=this.previousNode,y.currentAnimateTimings=this.currentAnimateTimings,y.options=this._copyOptions(),y.updateOptions(a),y.currentQueryIndex=this.currentQueryIndex,y.currentQueryTotal=this.currentQueryTotal,y.parentContext=this,this.subContextCount++,y}transformIntoNewTimeline(a){return this.previousNode=Lr,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,s,d){const p={duration:s??a.duration,delay:this.currentTimeline.currentTime+(d??0)+a.delay,easing:""},y=new Ju(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,p,a.stretchStartingKeyframe);return this.timelines.push(y),p}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,s,d,p,y,A){let K=[];if(p&&K.push(this.element),a.length>0){a=(a=a.replace(Zu,"."+this._enterClassName)).replace(Ml,"."+this._leaveClassName);let Ge=this._driver.query(this.element,a,1!=d);0!==d&&(Ge=d<0?Ge.slice(Ge.length+d,Ge.length):Ge.slice(0,d)),K.push(...Ge)}return!y&&0==K.length&&A.push(function Pu(u){return new l.vHH(3014,!1)}()),K}}class Br{constructor(a,s,d,p){this._driver=a,this.element=s,this.startTime=d,this._elementTimelineStylesLookup=p,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(s),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(s,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(a){const s=1===this._keyframes.size&&this._pendingStyles.size;this.duration||s?(this.forwardTime(this.currentTime+a),s&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,s){return this.applyStylesToKeyframe(),new Br(this._driver,a,s||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,s){this._localTimelineStyles.set(a,s),this._globalTimelineStyles.set(a,s),this._styleSummary.set(a,{time:this.currentTime,value:s})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&this._previousKeyframe.set("easing",a);for(let[s,d]of this._globalTimelineStyles)this._backFill.set(s,d||qn.l3),this._currentKeyframe.set(s,qn.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,s,d,p){s&&this._previousKeyframe.set("easing",s);const y=p&&p.params||{},A=function Il(u,a){const s=new Map;let d;return u.forEach(p=>{if("*"===p){d=d||a.keys();for(let y of d)s.set(y,qn.l3)}else Cr(p,s)}),s}(a,this._globalTimelineStyles);for(let[K,re]of A){const Ge=Yo(re,y,d);this._pendingStyles.set(K,Ge),this._localTimelineStyles.has(K)||this._backFill.set(K,this._globalTimelineStyles.get(K)??qn.l3),this._updateStyle(K,Ge)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((a,s)=>{this._currentKeyframe.set(s,a)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((a,s)=>{this._currentKeyframe.has(s)||this._currentKeyframe.set(s,a)}))}snapshotCurrentStyles(){for(let[a,s]of this._localTimelineStyles)this._pendingStyles.set(a,s),this._updateStyle(a,s)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let s in this._currentKeyframe)a.push(s);return a}mergeTimelineCollectedStyles(a){a._styleSummary.forEach((s,d)=>{const p=this._styleSummary.get(d);(!p||s.time>p.time)&&this._updateStyle(d,s.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,s=new Set,d=1===this._keyframes.size&&0===this.duration;let p=[];this._keyframes.forEach((K,re)=>{const Ge=Cr(K,new Map,this._backFill);Ge.forEach((_t,Rt)=>{_t===qn.k1?a.add(Rt):_t===qn.l3&&s.add(Rt)}),d||Ge.set("offset",re/this.duration),p.push(Ge)});const y=a.size?lr(a.values()):[],A=s.size?lr(s.values()):[];if(d){const K=p[0],re=new Map(K);K.set("offset",0),re.set("offset",1),p=[K,re]}return Dl(this.element,p,y,A,this.duration,this.startTime,this.easing,!1)}}class Ju extends Br{constructor(a,s,d,p,y,A,K=!1){super(a,s,A.delay),this.keyframes=d,this.preStyleProps=p,this.postStyleProps=y,this._stretchStartingKeyframe=K,this.timings={duration:A.duration,delay:A.delay,easing:A.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:s,duration:d,easing:p}=this.timings;if(this._stretchStartingKeyframe&&s){const y=[],A=d+s,K=s/A,re=Cr(a[0]);re.set("offset",0),y.push(re);const Ge=Cr(a[0]);Ge.set("offset",Sl(K)),y.push(Ge);const _t=a.length-1;for(let Rt=1;Rt<=_t;Rt++){let zt=Cr(a[Rt]);const rn=zt.get("offset");zt.set("offset",Sl((s+rn*d)/A)),y.push(zt)}d=A,s=0,p="",a=y}return Dl(this.element,a,this.preStyleProps,this.postStyleProps,d,s,p,!0)}}function Sl(u,a=3){const s=Math.pow(10,a-1);return Math.round(u*s)/s}class ba{}const Xu=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class as extends ba{normalizePropertyName(a,s){return Fs(a)}normalizeStyleValue(a,s,d,p){let y="";const A=d.toString().trim();if(Xu.has(s)&&0!==d&&"0"!==d)if("number"==typeof d)y="px";else{const K=d.match(/^[+-]?[\d\.]+([a-z]*)$/);K&&0==K[1].length&&p.push(function pl(u,a){return new l.vHH(3005,!1)}())}return A+y}}function ls(u,a,s,d,p,y,A,K,re,Ge,_t,Rt,zt){return{type:0,element:u,triggerName:a,isRemovalTransition:p,fromState:s,fromStyles:y,toState:d,toStyles:A,timelines:K,queriedElements:re,preStyleProps:Ge,postStyleProps:_t,totalTime:Rt,errors:zt}}const Ol={};class qu{constructor(a,s,d){this._triggerName=a,this.ast=s,this._stateStyles=d}match(a,s,d,p){return function th(u,a,s,d,p){return u.some(y=>y(a,s,d,p))}(this.ast.matchers,a,s,d,p)}buildStyles(a,s,d){let p=this._stateStyles.get("*");return void 0!==a&&(p=this._stateStyles.get(a?.toString())||p),p?p.buildStyles(s,d):new Map}build(a,s,d,p,y,A,K,re,Ge,_t){const Rt=[],zt=this.ast.options&&this.ast.options.params||Ol,Xt=this.buildStyles(d,K&&K.params||Ol,Rt),ln=re&&re.params||Ol,Un=this.buildStyles(p,ln,Rt),Wn=new Set,li=new Map,Fi=new Map,bi="void"===p,Zo={params:jp(ln,zt),delay:this.ast.options?.delay},ko=_t?[]:ss(a,s,this.ast.animation,y,A,Xt,Un,Zo,Ge,Rt);let Ti=0;if(ko.forEach(Ko=>{Ti=Math.max(Ko.duration+Ko.delay,Ti)}),Rt.length)return ls(s,this._triggerName,d,p,bi,Xt,Un,[],[],li,Fi,Ti,Rt);ko.forEach(Ko=>{const Po=Ko.element,fs=ho(li,Po,new Set);Ko.preStyleProps.forEach(wr=>fs.add(wr));const Hs=ho(Fi,Po,new Set);Ko.postStyleProps.forEach(wr=>Hs.add(wr)),Po!==s&&Wn.add(Po)});const mo=lr(Wn.values());return ls(s,this._triggerName,d,p,bi,Xt,Un,ko,mo,li,Fi,Ti)}}function jp(u,a){const s=ns(a);for(const d in u)u.hasOwnProperty(d)&&null!=u[d]&&(s[d]=u[d]);return s}class nh{constructor(a,s,d){this.styles=a,this.defaultParams=s,this.normalizer=d}buildStyles(a,s){const d=new Map,p=ns(this.defaultParams);return Object.keys(a).forEach(y=>{const A=a[y];null!==A&&(p[y]=A)}),this.styles.styles.forEach(y=>{"string"!=typeof y&&y.forEach((A,K)=>{A&&(A=Yo(A,p,s));const re=this.normalizer.normalizePropertyName(K,s);A=this.normalizer.normalizeStyleValue(K,re,A,s),d.set(K,A)})}),d}}class oh{constructor(a,s,d){this.name=a,this.ast=s,this._normalizer=d,this.transitionFactories=[],this.states=new Map,s.states.forEach(p=>{this.states.set(p.name,new nh(p.style,p.options&&p.options.params||{},d))}),Rl(this.states,"true","1"),Rl(this.states,"false","0"),s.transitions.forEach(p=>{this.transitionFactories.push(new qu(a,p,this.states))}),this.fallbackTransition=function va(u,a,s){return new qu(u,{type:1,animation:{type:2,steps:[],options:null},matchers:[(A,K)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,s,d,p){return this.transitionFactories.find(A=>A.match(a,s,d,p))||null}matchStyles(a,s,d){return this.fallbackTransition.buildStyles(a,s,d)}}function Rl(u,a,s){u.has(a)?u.has(s)||u.set(s,u.get(a)):u.has(s)&&u.set(a,u.get(s))}const rh=new _a;class nd{constructor(a,s,d){this.bodyNode=a,this._driver=s,this._normalizer=d,this._animations=new Map,this._playersById=new Map,this.players=[]}register(a,s){const d=[],y=Nr(this._driver,s,d,[]);if(d.length)throw function Nu(u){return new l.vHH(3503,!1)}();this._animations.set(a,y)}_buildPlayer(a,s,d){const p=a.element,y=Vu(this._normalizer,a.keyframes,s,d);return this._driver.animate(p,y,a.duration,a.delay,a.easing,[],!0)}create(a,s,d={}){const p=[],y=this._animations.get(a);let A;const K=new Map;if(y?(A=ss(this._driver,s,y,yl,As,new Map,new Map,d,rh,p),A.forEach(_t=>{const Rt=ho(K,_t.element,new Map);_t.postStyleProps.forEach(zt=>Rt.set(zt,null))})):(p.push(function aa(){return new l.vHH(3300,!1)}()),A=[]),p.length)throw function la(u){return new l.vHH(3504,!1)}();K.forEach((_t,Rt)=>{_t.forEach((zt,rn)=>{_t.set(rn,this._driver.computeStyle(Rt,rn,qn.l3))})});const Ge=$o(A.map(_t=>{const Rt=K.get(_t.element);return this._buildPlayer(_t,new Map,Rt)}));return this._playersById.set(a,Ge),Ge.onDestroy(()=>this.destroy(a)),this.players.push(Ge),Ge}destroy(a){const s=this._getPlayer(a);s.destroy(),this._playersById.delete(a);const d=this.players.indexOf(s);d>=0&&this.players.splice(d,1)}_getPlayer(a){const s=this._playersById.get(a);if(!s)throw function ca(u){return new l.vHH(3301,!1)}();return s}listen(a,s,d,p){const y=Zc(s,"","","");return gl(this._getPlayer(a),d,y,p),()=>{}}command(a,s,d,p){if("register"==d)return void this.register(a,p[0]);if("create"==d)return void this.create(a,s,p[0]||{});const y=this._getPlayer(a);switch(d){case"play":y.play();break;case"pause":y.pause();break;case"reset":y.reset();break;case"restart":y.restart();break;case"finish":y.finish();break;case"init":y.init();break;case"setPosition":y.setPosition(parseFloat(p[0]));break;case"destroy":this.destroy(a)}}}const sh="ng-animate-queued",od="ng-animate-disabled",zp=[],ch={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Pl={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Wo="__ng_removed";class rd{get params(){return this.options.params}constructor(a,s=""){this.namespaceId=s;const d=a&&a.hasOwnProperty("value");if(this.value=function ad(u){return u??null}(d?a.value:a),d){const y=ns(a);delete y.value,this.options=y}else this.options={};this.options.params||(this.options.params={})}absorbOptions(a){const s=a.params;if(s){const d=this.options.params;Object.keys(s).forEach(p=>{null==d[p]&&(d[p]=s[p])})}}}const ya="void",sd=new rd(ya);class Gp{constructor(a,s,d){this.id=a,this.hostElement=s,this._engine=d,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,zi(s,this._hostClassName)}listen(a,s,d,p){if(!this._triggers.has(s))throw function ml(u,a){return new l.vHH(3302,!1)}();if(null==d||0==d.length)throw function Yc(u){return new l.vHH(3303,!1)}();if(!function ld(u){return"start"==u||"done"==u}(d))throw function Wc(u,a){return new l.vHH(3400,!1)}();const y=ho(this._elementListeners,a,[]),A={name:s,phase:d,callback:p};y.push(A);const K=ho(this._engine.statesByElement,a,new Map);return K.has(s)||(zi(a,Os),zi(a,Os+"-"+s),K.set(s,sd)),()=>{this._engine.afterFlush(()=>{const re=y.indexOf(A);re>=0&&y.splice(re,1),this._triggers.has(s)||K.delete(s)})}}register(a,s){return!this._triggers.has(a)&&(this._triggers.set(a,s),!0)}_getTrigger(a){const s=this._triggers.get(a);if(!s)throw function Lu(u){return new l.vHH(3401,!1)}();return s}trigger(a,s,d,p=!0){const y=this._getTrigger(s),A=new cs(this.id,s,a);let K=this._engine.statesByElement.get(a);K||(zi(a,Os),zi(a,Os+"-"+s),this._engine.statesByElement.set(a,K=new Map));let re=K.get(s);const Ge=new rd(d,this.id);if(!(d&&d.hasOwnProperty("value"))&&re&&Ge.absorbOptions(re.options),K.set(s,Ge),re||(re=sd),Ge.value!==ya&&re.value===Ge.value){if(!function hh(u,a){const s=Object.keys(u),d=Object.keys(a);if(s.length!=d.length)return!1;for(let p=0;p{ar(a,Un),Ro(a,Wn)})}return}const zt=ho(this._engine.playersByElement,a,[]);zt.forEach(ln=>{ln.namespaceId==this.id&&ln.triggerName==s&&ln.queued&&ln.destroy()});let rn=y.matchTransition(re.value,Ge.value,a,Ge.params),Xt=!1;if(!rn){if(!p)return;rn=y.fallbackTransition,Xt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:s,transition:rn,fromState:re,toState:Ge,player:A,isFallbackTransition:Xt}),Xt||(zi(a,sh),A.onStart(()=>{cr(a,sh)})),A.onDone(()=>{let ln=this.players.indexOf(A);ln>=0&&this.players.splice(ln,1);const Un=this._engine.playersByElement.get(a);if(Un){let Wn=Un.indexOf(A);Wn>=0&&Un.splice(Wn,1)}}),this.players.push(A),zt.push(A),A}deregister(a){this._triggers.delete(a),this._engine.statesByElement.forEach(s=>s.delete(a)),this._elementListeners.forEach((s,d)=>{this._elementListeners.set(d,s.filter(p=>p.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const s=this._engine.playersByElement.get(a);s&&(s.forEach(d=>d.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,s){const d=this._engine.driver.query(a,Rs,!0);d.forEach(p=>{if(p[Wo])return;const y=this._engine.fetchNamespacesByElement(p);y.size?y.forEach(A=>A.triggerLeaveAnimation(p,s,!1,!0)):this.clearElementCache(p)}),this._engine.afterFlushAnimationsDone(()=>d.forEach(p=>this.clearElementCache(p)))}triggerLeaveAnimation(a,s,d,p){const y=this._engine.statesByElement.get(a),A=new Map;if(y){const K=[];if(y.forEach((re,Ge)=>{if(A.set(Ge,re.value),this._triggers.has(Ge)){const _t=this.trigger(a,Ge,ya,p);_t&&K.push(_t)}}),K.length)return this._engine.markElementAsRemoved(this.id,a,!0,s,A),d&&$o(K).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const s=this._elementListeners.get(a),d=this._engine.statesByElement.get(a);if(s&&d){const p=new Set;s.forEach(y=>{const A=y.name;if(p.has(A))return;p.add(A);const re=this._triggers.get(A).fallbackTransition,Ge=d.get(A)||sd,_t=new rd(ya),Rt=new cs(this.id,A,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:A,transition:re,fromState:Ge,toState:_t,player:Rt,isFallbackTransition:!0})})}}removeNode(a,s){const d=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,s),this.triggerLeaveAnimation(a,s,!0))return;let p=!1;if(d.totalAnimations){const y=d.players.length?d.playersByQueriedElement.get(a):[];if(y&&y.length)p=!0;else{let A=a;for(;A=A.parentNode;)if(d.statesByElement.get(A)){p=!0;break}}}if(this.prepareLeaveAnimationListeners(a),p)d.markElementAsRemoved(this.id,a,!1,s);else{const y=a[Wo];(!y||y===ch)&&(d.afterFlush(()=>this.clearElementCache(a)),d.destroyInnerAnimations(a),d._onRemovalComplete(a,s))}}insertNode(a,s){zi(a,this._hostClassName)}drainQueuedTransitions(a){const s=[];return this._queue.forEach(d=>{const p=d.player;if(p.destroyed)return;const y=d.element,A=this._elementListeners.get(y);A&&A.forEach(K=>{if(K.name==d.triggerName){const re=Zc(y,d.triggerName,d.fromState.value,d.toState.value);re._data=a,gl(d.player,K.phase,re,K.callback)}}),p.markedForDestroy?this._engine.afterFlush(()=>{p.destroy()}):s.push(d)}),this._queue=[],s.sort((d,p)=>{const y=d.transition.ast.depCount,A=p.transition.ast.depCount;return 0==y||0==A?y-A:this._engine.driver.containsElement(d.element,p.element)?1:-1})}destroy(a){this.players.forEach(s=>s.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}}class dh{_onRemovalComplete(a,s){this.onRemovalComplete(a,s)}constructor(a,s,d){this.bodyNode=a,this.driver=s,this._normalizer=d,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(p,y)=>{}}get queuedPlayers(){const a=[];return this._namespaceList.forEach(s=>{s.players.forEach(d=>{d.queued&&a.push(d)})}),a}createNamespace(a,s){const d=new Gp(a,s,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,s)?this._balanceNamespaceList(d,s):(this.newHostElements.set(s,d),this.collectEnterElement(s)),this._namespaceLookup[a]=d}_balanceNamespaceList(a,s){const d=this._namespaceList,p=this.namespacesByHostElement;if(d.length-1>=0){let A=!1,K=this.driver.getParentElement(s);for(;K;){const re=p.get(K);if(re){const Ge=d.indexOf(re);d.splice(Ge+1,0,a),A=!0;break}K=this.driver.getParentElement(K)}A||d.unshift(a)}else d.push(a);return p.set(s,a),a}register(a,s){let d=this._namespaceLookup[a];return d||(d=this.createNamespace(a,s)),d}registerTrigger(a,s,d){let p=this._namespaceLookup[a];p&&p.register(s,d)&&this.totalAnimations++}destroy(a,s){a&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const d=this._fetchNamespace(a);this.namespacesByHostElement.delete(d.hostElement);const p=this._namespaceList.indexOf(d);p>=0&&this._namespaceList.splice(p,1),d.destroy(s),delete this._namespaceLookup[a]}))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const s=new Set,d=this.statesByElement.get(a);if(d)for(let p of d.values())if(p.namespaceId){const y=this._fetchNamespace(p.namespaceId);y&&s.add(y)}return s}trigger(a,s,d,p){if(Vs(s)){const y=this._fetchNamespace(a);if(y)return y.trigger(s,d,p),!0}return!1}insertNode(a,s,d,p){if(!Vs(s))return;const y=s[Wo];if(y&&y.setForRemoval){y.setForRemoval=!1,y.setForMove=!0;const A=this.collectedLeaveElements.indexOf(s);A>=0&&this.collectedLeaveElements.splice(A,1)}if(a){const A=this._fetchNamespace(a);A&&A.insertNode(s,d)}p&&this.collectEnterElement(s)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,s){s?this.disabledNodes.has(a)||(this.disabledNodes.add(a),zi(a,od)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),cr(a,od))}removeNode(a,s,d){if(Vs(s)){const p=a?this._fetchNamespace(a):null;p?p.removeNode(s,d):this.markElementAsRemoved(a,s,!1,d);const y=this.namespacesByHostElement.get(s);y&&y.id!==a&&y.removeNode(s,d)}else this._onRemovalComplete(s,d)}markElementAsRemoved(a,s,d,p,y){this.collectedLeaveElements.push(s),s[Wo]={namespaceId:a,setForRemoval:p,hasAnimation:d,removedBeforeQueried:!1,previousTriggersValues:y}}listen(a,s,d,p,y){return Vs(s)?this._fetchNamespace(a).listen(s,d,p,y):()=>{}}_buildInstruction(a,s,d,p,y){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,d,p,a.fromState.options,a.toState.options,s,y)}destroyInnerAnimations(a){let s=this.driver.query(a,Rs,!0);s.forEach(d=>this.destroyActiveAnimationsForElement(d)),0!=this.playersByQueriedElement.size&&(s=this.driver.query(a,Cl,!0),s.forEach(d=>this.finishActiveQueriedAnimationOnElement(d)))}destroyActiveAnimationsForElement(a){const s=this.playersByElement.get(a);s&&s.forEach(d=>{d.queued?d.markedForDestroy=!0:d.destroy()})}finishActiveQueriedAnimationOnElement(a){const s=this.playersByQueriedElement.get(a);s&&s.forEach(d=>d.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return $o(this.players).onDone(()=>a());a()})}processLeaveNode(a){const s=a[Wo];if(s&&s.setForRemoval){if(a[Wo]=ch,s.namespaceId){this.destroyInnerAnimations(a);const d=this._fetchNamespace(s.namespaceId);d&&d.clearElementCache(a)}this._onRemovalComplete(a,s.setForRemoval)}a.classList?.contains(od)&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(d=>{this.markElementAsDisabled(d,!1)})}flush(a=-1){let s=[];if(this.newHostElements.size&&(this.newHostElements.forEach((d,p)=>this._balanceNamespaceList(d,p)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let d=0;dd()),this._flushFns=[],this._whenQuietFns.length){const d=this._whenQuietFns;this._whenQuietFns=[],s.length?$o(s).onDone(()=>{d.forEach(p=>p())}):d.forEach(p=>p())}}reportError(a){throw function ts(u){return new l.vHH(3402,!1)}()}_flushAnimations(a,s){const d=new _a,p=[],y=new Map,A=[],K=new Map,re=new Map,Ge=new Map,_t=new Set;this.disabledNodes.forEach(Kt=>{_t.add(Kt);const sn=this.driver.query(Kt,".ng-animate-queued",!0);for(let dn=0;dn{const dn=yl+ln++;Xt.set(sn,dn),Kt.forEach(Sn=>zi(Sn,dn))});const Un=[],Wn=new Set,li=new Set;for(let Kt=0;KtWn.add(Sn)):li.add(sn))}const Fi=new Map,bi=Nl(zt,Array.from(Wn));bi.forEach((Kt,sn)=>{const dn=As+ln++;Fi.set(sn,dn),Kt.forEach(Sn=>zi(Sn,dn))}),a.push(()=>{rn.forEach((Kt,sn)=>{const dn=Xt.get(sn);Kt.forEach(Sn=>cr(Sn,dn))}),bi.forEach((Kt,sn)=>{const dn=Fi.get(sn);Kt.forEach(Sn=>cr(Sn,dn))}),Un.forEach(Kt=>{this.processLeaveNode(Kt)})});const Zo=[],ko=[];for(let Kt=this._namespaceList.length-1;Kt>=0;Kt--)this._namespaceList[Kt].drainQueuedTransitions(s).forEach(dn=>{const Sn=dn.player,vi=dn.element;if(Zo.push(Sn),this.collectedEnterElements.length){const Ni=vi[Wo];if(Ni&&Ni.setForMove){if(Ni.previousTriggersValues&&Ni.previousTriggersValues.has(dn.triggerName)){const go=Ni.previousTriggersValues.get(dn.triggerName),$i=this.statesByElement.get(dn.element);if($i&&$i.has(dn.triggerName)){const ps=$i.get(dn.triggerName);ps.value=go,$i.set(dn.triggerName,ps)}}return void Sn.destroy()}}const Gi=!Rt||!this.driver.containsElement(Rt,vi),so=Fi.get(vi),Er=Xt.get(vi),ci=this._buildInstruction(dn,d,Er,so,Gi);if(ci.errors&&ci.errors.length)return void ko.push(ci);if(Gi)return Sn.onStart(()=>ar(vi,ci.fromStyles)),Sn.onDestroy(()=>Ro(vi,ci.toStyles)),void p.push(Sn);if(dn.isFallbackTransition)return Sn.onStart(()=>ar(vi,ci.fromStyles)),Sn.onDestroy(()=>Ro(vi,ci.toStyles)),void p.push(Sn);const Ed=[];ci.timelines.forEach(Ni=>{Ni.stretchStartingKeyframe=!0,this.disabledNodes.has(Ni.element)||Ed.push(Ni)}),ci.timelines=Ed,d.append(vi,ci.timelines),A.push({instruction:ci,player:Sn,element:vi}),ci.queriedElements.forEach(Ni=>ho(K,Ni,[]).push(Sn)),ci.preStyleProps.forEach((Ni,go)=>{if(Ni.size){let $i=re.get(go);$i||re.set(go,$i=new Set),Ni.forEach((ps,Ta)=>$i.add(Ta))}}),ci.postStyleProps.forEach((Ni,go)=>{let $i=Ge.get(go);$i||Ge.set(go,$i=new Set),Ni.forEach((ps,Ta)=>$i.add(Ta))})});if(ko.length){const Kt=[];ko.forEach(sn=>{Kt.push(function Bu(u,a){return new l.vHH(3505,!1)}())}),Zo.forEach(sn=>sn.destroy()),this.reportError(Kt)}const Ti=new Map,mo=new Map;A.forEach(Kt=>{const sn=Kt.element;d.has(sn)&&(mo.set(sn,sn),this._beforeAnimationBuild(Kt.player.namespaceId,Kt.instruction,Ti))}),p.forEach(Kt=>{const sn=Kt.element;this._getPreviousPlayers(sn,!1,Kt.namespaceId,Kt.triggerName,null).forEach(Sn=>{ho(Ti,sn,[]).push(Sn),Sn.destroy()})});const Ko=Un.filter(Kt=>Ll(Kt,re,Ge)),Po=new Map;Fl(Po,this.driver,li,Ge,qn.l3).forEach(Kt=>{Ll(Kt,re,Ge)&&Ko.push(Kt)});const Hs=new Map;rn.forEach((Kt,sn)=>{Fl(Hs,this.driver,new Set(Kt),re,qn.k1)}),Ko.forEach(Kt=>{const sn=Po.get(Kt),dn=Hs.get(Kt);Po.set(Kt,new Map([...sn?.entries()??[],...dn?.entries()??[]]))});const wr=[],Cd=[],wd={};A.forEach(Kt=>{const{element:sn,player:dn,instruction:Sn}=Kt;if(d.has(sn)){if(_t.has(sn))return dn.onDestroy(()=>Ro(sn,Sn.toStyles)),dn.disabled=!0,dn.overrideTotalTime(Sn.totalTime),void p.push(dn);let vi=wd;if(mo.size>1){let so=sn;const Er=[];for(;so=so.parentNode;){const ci=mo.get(so);if(ci){vi=ci;break}Er.push(so)}Er.forEach(ci=>mo.set(ci,vi))}const Gi=this._buildAnimation(dn.namespaceId,Sn,Ti,y,Hs,Po);if(dn.setRealPlayer(Gi),vi===wd)wr.push(dn);else{const so=this.playersByElement.get(vi);so&&so.length&&(dn.parentPlayer=$o(so)),p.push(dn)}}else ar(sn,Sn.fromStyles),dn.onDestroy(()=>Ro(sn,Sn.toStyles)),Cd.push(dn),_t.has(sn)&&p.push(dn)}),Cd.forEach(Kt=>{const sn=y.get(Kt.element);if(sn&&sn.length){const dn=$o(sn);Kt.setRealPlayer(dn)}}),p.forEach(Kt=>{Kt.parentPlayer?Kt.syncPlayerEvents(Kt.parentPlayer):Kt.destroy()});for(let Kt=0;Kt!Gi.destroyed);vi.length?Ca(this,sn,vi):this.processLeaveNode(sn)}return Un.length=0,wr.forEach(Kt=>{this.players.push(Kt),Kt.onDone(()=>{Kt.destroy();const sn=this.players.indexOf(Kt);this.players.splice(sn,1)}),Kt.play()}),wr}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,s,d,p,y){let A=[];if(s){const K=this.playersByQueriedElement.get(a);K&&(A=K)}else{const K=this.playersByElement.get(a);if(K){const re=!y||y==ya;K.forEach(Ge=>{Ge.queued||!re&&Ge.triggerName!=p||A.push(Ge)})}}return(d||p)&&(A=A.filter(K=>!(d&&d!=K.namespaceId||p&&p!=K.triggerName))),A}_beforeAnimationBuild(a,s,d){const y=s.element,A=s.isRemovalTransition?void 0:a,K=s.isRemovalTransition?void 0:s.triggerName;for(const re of s.timelines){const Ge=re.element,_t=Ge!==y,Rt=ho(d,Ge,[]);this._getPreviousPlayers(Ge,_t,A,K,s.toState).forEach(rn=>{const Xt=rn.getRealPlayer();Xt.beforeDestroy&&Xt.beforeDestroy(),rn.destroy(),Rt.push(rn)})}ar(y,s.fromStyles)}_buildAnimation(a,s,d,p,y,A){const K=s.triggerName,re=s.element,Ge=[],_t=new Set,Rt=new Set,zt=s.timelines.map(Xt=>{const ln=Xt.element;_t.add(ln);const Un=ln[Wo];if(Un&&Un.removedBeforeQueried)return new qn.ZN(Xt.duration,Xt.delay);const Wn=ln!==re,li=function uh(u){const a=[];return cd(u,a),a}((d.get(ln)||zp).map(Ti=>Ti.getRealPlayer())).filter(Ti=>!!Ti.element&&Ti.element===ln),Fi=y.get(ln),bi=A.get(ln),Zo=Vu(this._normalizer,Xt.keyframes,Fi,bi),ko=this._buildPlayer(Xt,Zo,li);if(Xt.subTimeline&&p&&Rt.add(ln),Wn){const Ti=new cs(a,K,ln);Ti.setRealPlayer(ko),Ge.push(Ti)}return ko});Ge.forEach(Xt=>{ho(this.playersByQueriedElement,Xt.element,[]).push(Xt),Xt.onDone(()=>function xa(u,a,s){let d=u.get(a);if(d){if(d.length){const p=d.indexOf(s);d.splice(p,1)}0==d.length&&u.delete(a)}return d}(this.playersByQueriedElement,Xt.element,Xt))}),_t.forEach(Xt=>zi(Xt,xl));const rn=$o(zt);return rn.onDestroy(()=>{_t.forEach(Xt=>cr(Xt,xl)),Ro(re,s.toStyles)}),Rt.forEach(Xt=>{ho(p,Xt,[]).push(rn)}),rn}_buildPlayer(a,s,d){return s.length>0?this.driver.animate(a.element,s,a.duration,a.delay,a.easing,d):new qn.ZN(a.duration,a.delay)}}class cs{constructor(a,s,d){this.namespaceId=a,this.triggerName=s,this.element=d,this._player=new qn.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(a){this._containsRealPlayer||(this._player=a,this._queuedCallbacks.forEach((s,d)=>{s.forEach(p=>gl(a,d,void 0,p))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const s=this._player;s.triggerCallback&&a.onStart(()=>s.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,s){ho(this._queuedCallbacks,a,[]).push(s)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const s=this._player;s.triggerCallback&&s.triggerCallback(a)}}function Vs(u){return u&&1===u.nodeType}function Vr(u,a){const s=u.style.display;return u.style.display=a??"none",s}function Fl(u,a,s,d,p){const y=[];s.forEach(re=>y.push(Vr(re)));const A=[];d.forEach((re,Ge)=>{const _t=new Map;re.forEach(Rt=>{const zt=a.computeStyle(Ge,Rt,p);_t.set(Rt,zt),(!zt||0==zt.length)&&(Ge[Wo]=Pl,A.push(Ge))}),u.set(Ge,_t)});let K=0;return s.forEach(re=>Vr(re,y[K++])),A}function Nl(u,a){const s=new Map;if(u.forEach(K=>s.set(K,[])),0==a.length)return s;const p=new Set(a),y=new Map;function A(K){if(!K)return 1;let re=y.get(K);if(re)return re;const Ge=K.parentNode;return re=s.has(Ge)?Ge:p.has(Ge)?1:A(Ge),y.set(K,re),re}return a.forEach(K=>{const re=A(K);1!==re&&s.get(re).push(K)}),s}function zi(u,a){u.classList?.add(a)}function cr(u,a){u.classList?.remove(a)}function Ca(u,a,s){$o(s).onDone(()=>u.processLeaveNode(a))}function cd(u,a){for(let s=0;sp.add(y)):a.set(u,d),s.delete(u),!0}class ds{constructor(a,s,d){this.bodyNode=a,this._driver=s,this._normalizer=d,this._triggerCache={},this.onRemovalComplete=(p,y)=>{},this._transitionEngine=new dh(a,s,d),this._timelineEngine=new nd(a,s,d),this._transitionEngine.onRemovalComplete=(p,y)=>this.onRemovalComplete(p,y)}registerTrigger(a,s,d,p,y){const A=a+"-"+p;let K=this._triggerCache[A];if(!K){const re=[],_t=Nr(this._driver,y,re,[]);if(re.length)throw function sa(u,a){return new l.vHH(3404,!1)}();K=function ih(u,a,s){return new oh(u,a,s)}(p,_t,this._normalizer),this._triggerCache[A]=K}this._transitionEngine.registerTrigger(s,p,K)}register(a,s){this._transitionEngine.register(a,s)}destroy(a,s){this._transitionEngine.destroy(a,s)}onInsert(a,s,d,p){this._transitionEngine.insertNode(a,s,d,p)}onRemove(a,s,d){this._transitionEngine.removeNode(a,s,d)}disableAnimations(a,s){this._transitionEngine.markElementAsDisabled(a,s)}process(a,s,d,p){if("@"==d.charAt(0)){const[y,A]=ua(d);this._timelineEngine.command(y,s,A,p)}else this._transitionEngine.trigger(a,s,d,p)}listen(a,s,d,p,y){if("@"==d.charAt(0)){const[A,K]=ua(d);return this._timelineEngine.listen(A,s,K,y)}return this._transitionEngine.listen(a,s,d,p,y)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(a){this._transitionEngine.afterFlushAnimationsDone(a)}}let ph=(()=>{class u{static#e=this.initialStylesByElement=new WeakMap;constructor(s,d,p){this._element=s,this._startStyles=d,this._endStyles=p,this._state=0;let y=u.initialStylesByElement.get(s);y||u.initialStylesByElement.set(s,y=new Map),this._initialStyles=y}start(){this._state<1&&(this._startStyles&&Ro(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ro(this._element,this._initialStyles),this._endStyles&&(Ro(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(u.initialStylesByElement.delete(this._element),this._startStyles&&(ar(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ar(this._element,this._endStyles),this._endStyles=null),Ro(this._element,this._initialStyles),this._state=3)}}return u})();function Bl(u){let a=null;return u.forEach((s,d)=>{(function dd(u){return"display"===u||"position"===u})(d)&&(a=a||new Map,a.set(d,s))}),a}class ud{constructor(a,s,d,p){this.element=a,this.keyframes=s,this.options=d,this._specialStyles=p,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=d.duration,this._delay=d.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(a){const s=[];return a.forEach(d=>{s.push(Object.fromEntries(d))}),s}_triggerWebAnimation(a,s,d){return a.animate(this._convertKeyframesToObject(s),d)}onStart(a){this._originalOnStartFns.push(a),this._onStartFns.push(a)}onDone(a){this._originalOnDoneFns.push(a),this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a=new Map;this.hasStarted()&&this._finalKeyframe.forEach((d,p)=>{"offset"!==p&&a.set(p,this._finished?d:zu(this.element,p))}),this.currentSnapshot=a}triggerCallback(a){const s="start"===a?this._onStartFns:this._onDoneFns;s.forEach(d=>d()),s.length=0}}class mh{validateStyleProperty(a){return!0}validateAnimatableStyleProperty(a){return!0}matchesElement(a,s){return!1}containsElement(a,s){return Qc(a,s)}getParentElement(a){return bl(a)}query(a,s,d){return Oo(a,s,d)}computeStyle(a,s,d){return window.getComputedStyle(a)[s]}animate(a,s,d,p,y,A=[]){const re={duration:d,delay:p,fill:0==p?"both":"forwards"};y&&(re.easing=y);const Ge=new Map,_t=A.filter(rn=>rn instanceof ud);(function Lp(u,a){return 0===u||0===a})(d,p)&&_t.forEach(rn=>{rn.currentSnapshot.forEach((Xt,ln)=>Ge.set(ln,Xt))});let Rt=function Uu(u){return u.length?u[0]instanceof Map?u:u.map(a=>is(a)):[]}(s).map(rn=>Cr(rn));Rt=function ju(u,a,s){if(s.size&&a.length){let d=a[0],p=[];if(s.forEach((y,A)=>{d.has(A)||p.push(A),d.set(A,y)}),p.length)for(let y=1;yA.set(K,zu(u,K)))}}return a}(a,Rt,Ge);const zt=function fh(u,a){let s=null,d=null;return Array.isArray(a)&&a.length?(s=Bl(a[0]),a.length>1&&(d=Bl(a[a.length-1]))):a instanceof Map&&(s=Bl(a)),s||d?new ph(u,s,d):null}(a,Rt);return new ud(a,Rt,re,zt)}}let Ji=(()=>{class u extends qn._j{constructor(s,d){super(),this._nextAnimationId=0,this._renderer=s.createRenderer(d.body,{id:"0",encapsulation:l.ifc.None,styles:[],data:{animation:[]}})}build(s){const d=this._nextAnimationId.toString();this._nextAnimationId++;const p=Array.isArray(s)?(0,qn.vP)(s):s;return wa(this._renderer,null,d,"register",[p]),new Vl(d,this._renderer)}static#e=this.\u0275fac=function(d){return new(d||u)(l.LFG(l.FYo),l.LFG(oe.K0))};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac})}return u})();class Vl extends qn.LC{constructor(a,s){super(),this._id=a,this._renderer=s}create(a,s){return new hd(this._id,a,s||{},this._renderer)}}class hd{constructor(a,s,d,p){this.id=a,this.element=s,this._renderer=p,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",d)}_listen(a,s){return this._renderer.listen(this.element,`@@${this.id}:${a}`,s)}_command(a,...s){return wa(this._renderer,this.element,this.id,a,s)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(a){this._command("setPosition",a)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function wa(u,a,s,d,p){return u.setProperty(a,`@@${s}:${d}`,p)}const us="@.disabled";let fd=(()=>{class u{constructor(s,d,p){this.delegate=s,this.engine=d,this._zone=p,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,d.onRemovalComplete=(y,A)=>{const K=A?.parentNode(y);K&&A.removeChild(K,y)}}createRenderer(s,d){const y=this.delegate.createRenderer(s,d);if(!(s&&d&&d.data&&d.data.animation)){let _t=this._rendererCache.get(y);return _t||(_t=new Hl("",y,this.engine,()=>this._rendererCache.delete(y)),this._rendererCache.set(y,_t)),_t}const A=d.id,K=d.id+"-"+this._currentId;this._currentId++,this.engine.register(K,s);const re=_t=>{Array.isArray(_t)?_t.forEach(re):this.engine.registerTrigger(A,K,s,_t.name,_t)};return d.data.animation.forEach(re),new gh(this,K,y,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(s,d,p){s>=0&&sd(p)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(y=>{const[A,K]=y;A(K)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([d,p]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}static#e=this.\u0275fac=function(d){return new(d||u)(l.LFG(l.FYo),l.LFG(ds),l.LFG(l.R0b))};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac})}return u})();class Hl{constructor(a,s,d,p){this.namespaceId=a,this.delegate=s,this.engine=d,this._onDestroy=p}get data(){return this.delegate.data}destroyNode(a){this.delegate.destroyNode?.(a)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(a,s){return this.delegate.createElement(a,s)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,s){this.delegate.appendChild(a,s),this.engine.onInsert(this.namespaceId,s,a,!1)}insertBefore(a,s,d,p=!0){this.delegate.insertBefore(a,s,d),this.engine.onInsert(this.namespaceId,s,a,p)}removeChild(a,s,d){this.engine.onRemove(this.namespaceId,s,this.delegate)}selectRootElement(a,s){return this.delegate.selectRootElement(a,s)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,s,d,p){this.delegate.setAttribute(a,s,d,p)}removeAttribute(a,s,d){this.delegate.removeAttribute(a,s,d)}addClass(a,s){this.delegate.addClass(a,s)}removeClass(a,s){this.delegate.removeClass(a,s)}setStyle(a,s,d,p){this.delegate.setStyle(a,s,d,p)}removeStyle(a,s,d){this.delegate.removeStyle(a,s,d)}setProperty(a,s,d){"@"==s.charAt(0)&&s==us?this.disableAnimations(a,!!d):this.delegate.setProperty(a,s,d)}setValue(a,s){this.delegate.setValue(a,s)}listen(a,s,d){return this.delegate.listen(a,s,d)}disableAnimations(a,s){this.engine.disableAnimations(a,s)}}class gh extends Hl{constructor(a,s,d,p,y){super(s,d,p,y),this.factory=a,this.namespaceId=s}setProperty(a,s,d){"@"==s.charAt(0)?"."==s.charAt(1)&&s==us?this.disableAnimations(a,d=void 0===d||!!d):this.engine.process(this.namespaceId,a,s.slice(1),d):this.delegate.setProperty(a,s,d)}listen(a,s,d){if("@"==s.charAt(0)){const p=function pd(u){switch(u){case"body":return document.body;case"document":return document;case"window":return window;default:return u}}(a);let y=s.slice(1),A="";return"@"!=y.charAt(0)&&([y,A]=function _h(u){const a=u.indexOf(".");return[u.substring(0,a),u.slice(a+1)]}(y)),this.engine.listen(this.namespaceId,p,y,A,K=>{this.factory.scheduleListenerCallback(K._data||-1,d,K)})}return this.delegate.listen(a,s,d)}}const _d=[{provide:qn._j,useClass:Ji},{provide:ba,useFactory:function bh(){return new as}},{provide:ds,useClass:(()=>{class u extends ds{constructor(s,d,p,y){super(s.body,d,p)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(d){return new(d||u)(l.LFG(oe.K0),l.LFG(Ss),l.LFG(ba),l.LFG(l.z2F))};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac})}return u})()},{provide:l.FYo,useFactory:function gd(u,a,s){return new fd(u,a,s)},deps:[n.se,ds,l.R0b]}],vh=[{provide:Ss,useFactory:()=>new mh},{provide:l.QbO,useValue:"BrowserAnimations"},..._d];var jl=g(2296),zl=g(617);function vd(u,a){if(1&u&&(l.TgZ(0,"li",16)(1,"a",17),l._uU(2),l.qZA()()),2&u){const s=a.$implicit,d=l.oxw(2).$implicit;l.xp6(1),l.Q6J("routerLink",d.route)("fragment",s.route),l.xp6(1),l.Oqu(s.name)}}function yd(u,a){if(1&u&&(l.TgZ(0,"ul",14),l.YNc(1,vd,3,3,"li",15),l.qZA()),2&u){const s=l.oxw().$implicit;l.xp6(1),l.Q6J("ngForOf",s.children)}}function hs(u,a){if(1&u&&(l.TgZ(0,"li",11)(1,"a",12),l._uU(2),l.qZA(),l.YNc(3,yd,2,1,"ul",13),l.qZA()),2&u){const s=a.$implicit;l.xp6(1),l.Q6J("routerLink",s.route),l.xp6(1),l.Oqu(s.name),l.xp6(1),l.Q6J("ngIf",s.children.length>0)}}let Da=(()=>{class u{constructor(s){this.router=s,this.menu=[{name:"Getting started",route:"getting-started",children:[]},{name:"Basic controls",route:"basic-controls",children:[{name:"Text",route:"text"},{name:"Number",route:"number"},{name:"Switch",route:"switch"},{name:"Slider",route:"slider"},{name:"Fill",route:"fill"},{name:"Select",route:"select"},{name:"Button Toggle",route:"button_toggle"},{name:"Image Select",route:"image_select"},{name:"Textarea",route:"textarea"},{name:"Hidden",route:"hidden"}]},{name:"Group controls",route:"group-controls",children:[{name:"Group",route:"group"},{name:"Inline Group",route:"inline_group"},{name:"Tabs",route:"tabs"},{name:"Menu",route:"menu"}]},{name:"Media controls",route:"media-controls",children:[{name:"Image",route:"image"},{name:"Video",route:"video"},{name:"Audio",route:"audio"},{name:"File",route:"file"}]}],this.menuOpened=!1,this.router.events.pipe((0,bt.h)(d=>d instanceof N)).subscribe(d=>{this.menuOpened=!1})}static#e=this.\u0275fac=function(d){return new(d||u)(l.Y36(Zi))};static#t=this.\u0275cmp=l.Xpm({type:u,selectors:[["app-layout"]],hostAttrs:[1,"container-wrap"],standalone:!0,features:[l.jDz],decls:19,vars:5,consts:[["mat-icon-button","",1,"menu-toggle",3,"click"],[1,"mdi","mdi-menu"],["routerLink","/",1,"brand"],[1,"spacer"],["mat-icon-button","","href","https://github.com/acrodata/gui","target","_blank"],[1,"mdi","mdi-github"],[1,"container"],["role","navigation",1,"menu"],["class","menu-item",4,"ngFor","ngForOf"],["href","https://github.com/nzbin","target","_blank"],[1,"backdrop",3,"click"],[1,"menu-item"],["role","button",3,"routerLink"],["class","submenu",4,"ngIf"],[1,"submenu"],["class","submenu-item",4,"ngFor","ngForOf"],[1,"submenu-item"],["role","button",3,"routerLink","fragment"]],template:function(d,p){1&d&&(l.TgZ(0,"header")(1,"button",0),l.NdJ("click",function(){return p.menuOpened=!p.menuOpened}),l._UZ(2,"i",1),l.qZA(),l.TgZ(3,"a",2),l._uU(4,"Acrodata GUI"),l.qZA(),l._UZ(5,"span",3),l.TgZ(6,"a",4),l._UZ(7,"i",5),l.qZA()(),l.TgZ(8,"div",6)(9,"aside")(10,"ul",7),l.YNc(11,hs,4,3,"li",8),l.qZA()(),l.TgZ(12,"main"),l._UZ(13,"router-outlet"),l.TgZ(14,"footer"),l._uU(15,"\xa9 2023 Made with \u2764\ufe0f by "),l.TgZ(16,"a",9),l._uU(17,"nzbin"),l.qZA()()()(),l.TgZ(18,"div",10),l.NdJ("click",function(){return p.menuOpened=!1}),l.qZA()),2&d&&(l.xp6(9),l.ekj("show",p.menuOpened),l.xp6(2),l.Q6J("ngForOf",p.menu),l.xp6(7),l.ekj("show",p.menuOpened))},dependencies:[oe.ez,oe.sg,oe.O5,hn,Cs,jl.ot,jl.o6,jl.RK,zl.Ps],styles:[".container-wrap{display:block;max-width:1280px;padding:0 64px;margin:0 auto}.container{display:flex;gap:32px}main{flex:1;width:0;padding-top:16px}aside{position:sticky;top:0;display:block;width:240px;height:100vh;padding:16px 0 32px;overflow:auto;background-color:var(--bg-color)}header{display:flex;align-items:center;height:64px;border-bottom:1px solid var(--border-color);background-color:var(--bg-translucent-color);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}footer{padding:32px 0;margin-top:64px;font-size:.75rem;text-align:center}.menu,.submenu{padding:0;margin:0;list-style-type:none}.menu a,.submenu a{display:block;padding:8px 16px;border-radius:8px;text-decoration:none}.menu a:hover,.submenu a:hover{background-color:var(--bg-secondary-color)}.menu-item>a{margin-top:24px;font-weight:500;color:var(--fg-color)}.menu-item:first-child>a{margin-top:0}.submenu-item>a{color:var(--fg-secondary-color)}.brand{padding:0 16px;color:var(--heading-color);font-size:20px;font-weight:600}.spacer{flex-grow:1}@media (width <= 960px){.container-wrap{padding:0 32px}aside{position:fixed;top:0;bottom:0;left:0;z-index:20;transform:translate(-100%);transition:transform .3s ease-in-out}aside.show{transform:none}.backdrop{position:fixed;top:0;left:0;z-index:19;width:100vw;height:100vh;visibility:hidden;transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:background-color,visibility}.backdrop.show{background-color:#00000080;visibility:visible}header{position:sticky;top:0;z-index:10}.brand{padding:0 8px}}@media (width <= 600px){.container-wrap{padding:0 16px}}@media (width > 960px){.mat-mdc-icon-button.menu-toggle{display:none}}a.mat-mdc-icon-button{display:inline-flex}a.mat-mdc-icon-button .mdc-button__label{line-height:1.1}\n"],encapsulation:2})}return u})();var xd=g(7105),Gl=g(3383);const Ma=function(u,a,s,d,p){return{"background-image":u,"background-position":a,"background-size":s,"background-blend-mode":d,"background-repeat":p}},xh=[{path:"",component:Da,children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:(()=>{class u{constructor(){this.config={background:{type:"tabs",name:"Background",template:{name:"Gradient <%= i + 1 %>",children:{angle:{type:"slider",name:"Angle",min:0,max:360,suffix:"deg"},repeat:{type:"switch",name:"Repeat"},reverse:{type:"switch",name:"Reverse"},stops:{type:"tabs",name:"Color stops",template:{name:"Stop <%= i + 1 %>",children:{color:{type:"fill",name:"Color",default:"#000"},offset:{type:"text",name:"Offset",default:"0%"}}}},position:{type:"inline",name:"Position",children:{x:{type:"text",name:"",placeholder:"X",col:50},y:{type:"text",name:"",placeholder:"Y",col:50}}},size:{type:"inline",name:"Size",children:{w:{type:"text",name:"",placeholder:"W",col:50},h:{type:"text",name:"",placeholder:"H",col:50}}}}}},blendMode:{type:"tabs",name:"Bg blend mode",mode:"list",template:{type:"select",name:"Blend mode <%= i + 1 %>",options:[{label:"normal",value:"normal"},{label:"multiply",value:"multiply"},{label:"screen",value:"screen"},{label:"overlay",value:"overlay"},{label:"darken",value:"darken"},{label:"lighten",value:"lighten"},{label:"color-dodge",value:"color-dodge"},{label:"color-burn",value:"color-burn"},{label:"hard-light",value:"hard-light"},{label:"soft-light",value:"soft-light"},{label:"difference",value:"difference"},{label:"exclusion",value:"exclusion"},{label:"hue",value:"hue"},{label:"saturation",value:"saturation"},{label:"color",value:"color"},{label:"luminosity",value:"luminosity"}]}},repeat:{type:"select",name:"Bg repeat",options:[{label:"no-repeat",value:"no-repeat"},{label:"repeat",value:"repeat"},{label:"repeat-x",value:"repeat-x"},{label:"repeat-y",value:"repeat-y"},{label:"round",value:"round"},{label:"space",value:"space"}]}},this.model={background:[{angle:45,repeat:!0,reverse:!1,stops:[{color:"rgba(75, 75, 75, 0.5)",offset:"0%"},{color:"rgba(220, 235, 255, 0.75)",offset:"50%"}],position:{x:null,y:null},size:{w:"100px",h:"100px"}},{angle:135,repeat:!0,reverse:!1,stops:[{color:"rgba(5, 30, 50, 0.75)",offset:"0%"},{color:"rgba(115, 150, 255, 0.5)",offset:"50%"}],position:{x:null,y:null},size:{w:"100px",h:"100px"}}],blendMode:["overlay"],repeat:"repeat"},this.background={image:"",position:"",size:"",blendMode:"",repeat:""}}ngOnInit(){this.getBackground()}getBackground(){this.background={image:this.model.background.map(s=>{const d=s.repeat?"repeating-linear-gradient":"linear-gradient",p=s.angle?`${s.angle}deg,`:"",y=s.stops?.map(A=>`${A.color} ${A.offset}`).join(",");return y?`${d}(${p}${y})`:""}).filter(s=>s.trim()).join(","),position:this.model.background.map(s=>`${s.position?.x||""} ${s.position?.y||""}`).filter(s=>s.trim()).join(","),size:this.model.background.map(s=>`${s.size?.w||""} ${s.size?.h||""}`).filter(s=>s.trim()).join(","),blendMode:this.model.blendMode.join(","),repeat:this.model.repeat}}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275cmp=l.Xpm({type:u,selectors:[["app-home"]],standalone:!0,features:[l.jDz],decls:28,vars:10,consts:[[1,"jumbotron"],[1,"text"],[1,"gui-wrapper"],[1,"gui-heading"],[3,"config","model","modelChange"],["id","features"],["href","home#features"],["href","https://angular.io/guide/reactive-forms","target","_blank"]],template:function(d,p){1&d&&(l.TgZ(0,"div",0)(1,"div",1)(2,"h1"),l._uU(3,"Acrodata GUI"),l.qZA(),l.TgZ(4,"p"),l._uU(5,"A lightweight GUI library for Angular"),l.qZA()(),l.TgZ(6,"div",2)(7,"div",3),l._uU(8,"Gradient Generator"),l.qZA(),l.TgZ(9,"gui-form",4),l.NdJ("modelChange",function(){return p.getBackground()}),l.qZA()()(),l.TgZ(10,"h2",5)(11,"a",6),l._uU(12,"Features"),l.qZA()(),l.TgZ(13,"ul")(14,"li"),l._uU(15,"Built on top of "),l.TgZ(16,"a",7),l._uU(17,"Angular Reactive Forms"),l.qZA()(),l.TgZ(18,"li"),l._uU(19,"JSON powered config"),l.qZA(),l.TgZ(20,"li"),l._uU(21,"Easy to understand config and model"),l.qZA(),l.TgZ(22,"li"),l._uU(23,"Uses Angular Material as basic UI library"),l.qZA(),l.TgZ(24,"li"),l._uU(25,"A11y support"),l.qZA(),l.TgZ(26,"li"),l._uU(27,"RTL support"),l.qZA()()),2&d&&(l.Akn(l.qbA(4,Ma,p.background.image,p.background.position,p.background.size,p.background.blendMode,p.background.repeat)),l.xp6(9),l.Q6J("config",p.config)("model",p.model))},dependencies:[oe.ez,xd.i,Gl.s],styles:[".jumbotron[_ngcontent-%COMP%]{display:flex;min-height:30vw;padding:64px;margin:16px 0;border-radius:8px}.text[_ngcontent-%COMP%]{flex:1}h1[_ngcontent-%COMP%], p[_ngcontent-%COMP%]{color:#fff;text-shadow:4px 4px 6px rgba(0,0,0,.85)}.gui-wrapper[_ngcontent-%COMP%]{width:256px}.gui-wrapper[_ngcontent-%COMP%] gui-form[_ngcontent-%COMP%]{border-top-left-radius:0;border-top-right-radius:0}.gui-heading[_ngcontent-%COMP%]{padding:0 12px;border-radius:4px 4px 0 0;background-color:var(--bg-color);border-bottom:1px solid var(--border-color);text-align:center;line-height:32px;font-size:12px}@media (width <= 600px){.jumbotron[_ngcontent-%COMP%]{flex-direction:column;align-items:center;padding:16px}.text[_ngcontent-%COMP%]{margin-bottom:32px;text-align:center}}"]})}return u})()},{path:"getting-started",loadComponent:()=>Promise.all([g.e(592),g.e(923)]).then(g.bind(g,6923)).then(u=>u.GettingStartedComponent)},{path:"basic-controls",loadComponent:()=>Promise.all([g.e(592),g.e(254)]).then(g.bind(g,5254)).then(u=>u.BasicControlsComponent)},{path:"media-controls",loadComponent:()=>Promise.all([g.e(592),g.e(914)]).then(g.bind(g,8914)).then(u=>u.MediaControlsComponent)},{path:"group-controls",loadComponent:()=>Promise.all([g.e(592),g.e(832)]).then(g.bind(g,4832)).then(u=>u.GroupControlsComponent)}]}];var Ch=g(9862),wh=g(7326);const Eh={providers:[function Sc(u,...a){return(0,l.MR2)([{provide:F,multi:!0,useValue:u},[],{provide:Wi,useFactory:cl,deps:[Zi]},{provide:l.tb,multi:!0,useFactory:Ic},a.map(s=>s.\u0275providers)])}(xh,function Mp(u={}){return function Go(u,a){return{\u0275kind:u,\u0275providers:a}}(4,[{provide:ia,useFactory:()=>{const s=(0,l.f3M)(oe.EM),d=(0,l.f3M)(l.R0b),p=(0,l.f3M)(Ln),y=(0,l.f3M)(Cn);return new Tc(y,p,s,d,u)}}])}({scrollPositionRestoration:"enabled",anchorScrolling:"enabled"})),function yh(){return[...vh]}(),(0,Ch.h_)(),{provide:wh.rN,useValue:{coreLibraryLoader:()=>g.e(373).then(g.bind(g,4373)),languages:{typescript:()=>g.e(266).then(g.bind(g,5266)),scss:()=>g.e(164).then(g.bind(g,4164)),xml:()=>g.e(668).then(g.bind(g,2668)),json:()=>g.e(576).then(g.bind(g,1576))}}}]};(0,n.Cg)((()=>{class u{constructor(s,d){this.title="docs",this.icons=["menu","github"];for(const p of this.icons)s.addSvgIcon(p,d.bypassSecurityTrustResourceUrl(`assets/icons/${p}.svg`))}static#e=this.\u0275fac=function(d){return new(d||u)(l.Y36(zl.jv),l.Y36(n.H7))};static#t=this.\u0275cmp=l.Xpm({type:u,selectors:[["app-root"]],standalone:!0,features:[l.jDz],decls:1,vars:0,template:function(d,p){1&d&&l._UZ(0,"router-outlet")},dependencies:[oe.ez,hn],encapsulation:2})}return u})(),Eh).catch(u=>console.error(u))},7836:(Mt,je,g)=>{g.d(je,{E:()=>R});var n=g(5879),l=g(9862);let R=(()=>{class S{constructor(Se){this.http=Se,this.url="",this.params={}}upload(Se){return this.http.post(this.url,Se,{reportProgress:!0,observe:"events",params:this.params})}static#e=this.\u0275fac=function(le){return new(le||S)(n.LFG(l.eN))};static#t=this.\u0275prov=n.Yz7({token:S,factory:S.\u0275fac})}return S})()},3383:(Mt,je,g)=>{g.d(je,{s:()=>Wi});var n=g(5879),l=g(6223),R=g(7394),S=g(6814),te=g(617),Se=g(2296),le=g(4104),ke=g(3305),ue=g(9157),ie=g(4516);function we(b,j){const h=new Function("obj",'var p=[],print=function(){p.push.apply(p,arguments);};with(obj){p.push("'+b.replace(/[\r\t\n]/g," ").split("<%").join("\t").replace(/((^|%>)[^\t]*)'/g,"$1\r").replace(/\t=(.*?)%>/g,'",$1,"').split("\t").join('");').split("%>").join('p.push("').split("\r").join('"')+'");}return p.join("");');return j?h(j):h}let fe=(()=>{class b{transform(h,M={}){return we(h,M)}static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275pipe=n.Yjl({name:"ejs",type:b,pure:!0})}return b})(),me=(()=>{class b{constructor(h){this.el=h,this.flex=100}ngOnInit(){this.el.nativeElement.style.flex=`1 1 ${this.flex}%`,this.el.nativeElement.style.maxWidth=`${this.flex}%`}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.SBq))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","flex",""]],inputs:{flex:"flex"}})}return b})();var Te=g(2596);function Le(b,j){if(1&b&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.title)}}function Ue(b,j){if(1&b&&(n.TgZ(0,"span",2),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.ekj("gui-field-label-with-description",h.config.description),n.Q6J("matTooltip",h.config.description),n.xp6(1),n.Oqu(h.title)}}let be=(()=>{class b{constructor(){this.config={},this.title="",this.styless=!1}ngOnChanges(){const{index:h,name:M,parentType:E,type:De}=this.config;this.title=null==h||isNaN(h)?M:we(M||"",{i:h}),this.styless="inline"===E&&"inline"!==De||"group"===De||"tabs"===De}static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-field-label"]],hostVars:3,hostBindings:function(M,E){2&M&&(n.Ikx("title",E.title),n.ekj("gui-field-label",!E.styless))},inputs:{config:"config",index:"index"},features:[n.TTD],decls:2,vars:2,consts:[[4,"ngIf"],["matTooltipPosition","above","matTooltipClass","gui-field-label-tooltip",3,"gui-field-label-with-description","matTooltip",4,"ngIf"],["matTooltipPosition","above","matTooltipClass","gui-field-label-tooltip",3,"matTooltip"]],template:function(M,E){1&M&&(n.YNc(0,Le,2,1,"span",0),n.YNc(1,Ue,2,4,"span",1)),2&M&&(n.Q6J("ngIf",!E.config.description),n.xp6(1),n.Q6J("ngIf",E.config.description))},dependencies:[S.O5,Te.gM],styles:[".gui-field-label{display:inline-block;width:64px;height:24px;padding:0 4px;line-height:24px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.gui-field-label-with-description{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help}\n"],encapsulation:2,changeDetection:0})}return b})();function ye(b,j){if(1&b&&(n.TgZ(0,"span",4),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.prefix)}}function Je(b,j){if(1&b&&(n.TgZ(0,"span",5),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.suffix)}}function ve(b,j){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",6),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}let H=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.value="",this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-input-text"]],hostAttrs:[1,"gui-field","gui-input-text"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:5,vars:6,consts:[["matPrefix","",4,"ngIf"],["matInput","","type","text",3,"ngModel","disabled","placeholder","ngModelChange","change"],["matSuffix","",4,"ngIf"],[4,"ngIf"],["matPrefix",""],["matSuffix",""],[3,"config"]],template:function(M,E){1&M&&(n.TgZ(0,"mat-form-field"),n.YNc(1,ye,2,1,"span",0),n.TgZ(2,"input",1),n.NdJ("ngModelChange",function(Ve){return E.value=Ve})("change",function(){return E.onValueChange()}),n.qZA(),n.YNc(3,Je,2,1,"span",2),n.YNc(4,ve,2,1,"mat-hint",3),n.qZA()),2&M&&(n.xp6(1),n.Q6J("ngIf",E.config.prefix),n.xp6(1),n.Q6J("ngModel",E.value)("disabled",E.disabled)("placeholder",E.config.placeholder||""),n.xp6(1),n.Q6J("ngIf",E.config.suffix),n.xp6(1),n.Q6J("ngIf","inline"===E.config.parentType))},dependencies:[S.O5,l.Fj,l.JJ,l.On,ue.KE,ue.bx,ue.qo,ue.R9,ie.Nt,be],encapsulation:2,changeDetection:0})}return b})();function xe(b,j){if(1&b&&(n.TgZ(0,"span",4),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.prefix)}}function oe(b,j){if(1&b&&(n.TgZ(0,"span",5),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.suffix)}}function Ie(b,j){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",6),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}let Re=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-input-number"]],hostAttrs:[1,"gui-field","gui-input-number"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:5,vars:9,consts:[["matPrefix","",4,"ngIf"],["matInput","","type","number",3,"ngModel","disabled","placeholder","step","min","max","ngModelChange","change"],["matSuffix","",4,"ngIf"],[4,"ngIf"],["matPrefix",""],["matSuffix",""],[3,"config"]],template:function(M,E){1&M&&(n.TgZ(0,"mat-form-field"),n.YNc(1,xe,2,1,"span",0),n.TgZ(2,"input",1),n.NdJ("ngModelChange",function(Ve){return E.value=Ve})("change",function(){return E.onValueChange()}),n.qZA(),n.YNc(3,oe,2,1,"span",2),n.YNc(4,Ie,2,1,"mat-hint",3),n.qZA()),2&M&&(n.xp6(1),n.Q6J("ngIf",E.config.prefix),n.xp6(1),n.Q6J("ngModel",E.value)("disabled",E.disabled)("placeholder",E.config.placeholder||"")("step",E.config.step)("min",E.config.min)("max",E.config.max),n.xp6(1),n.Q6J("ngIf",E.config.suffix),n.xp6(1),n.Q6J("ngIf","inline"===E.config.parentType))},dependencies:[S.O5,l.Fj,l.wV,l.JJ,l.qQ,l.Fd,l.On,ue.KE,ue.bx,ue.qo,ue.R9,ie.Nt,be],styles:[".gui-input-number .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .gui-input-number .mat-mdc-text-field-wrapper{padding-left:0}\n"],encapsulation:2,changeDetection:0})}return b})();var $e=g(8525),ft=g(3680);function bt(b,j){if(1&b&&(n.TgZ(0,"span",5),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.prefix)}}const Dt=function(b){return{fontFamily:b}};function Ut(b,j){if(1&b&&(n.TgZ(0,"mat-option",6)(1,"span"),n._uU(2),n.qZA()()),2&b){const h=j.$implicit,M=n.oxw();n.Q6J("value",h.value)("disabled",h.disabled),n.xp6(1),n.Akn(n.VKq(5,Dt,M.config.useFont?h.value:"")),n.xp6(1),n.Oqu(h.label)}}function kt(b,j){if(1&b&&(n.TgZ(0,"span",7),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.suffix)}}function an(b,j){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",8),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}let Xe=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.value="",this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-select"]],hostAttrs:[1,"gui-field","gui-select"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:6,vars:8,consts:[["matPrefix","",4,"ngIf"],["panelClass","gui-select","hideSingleSelectionIndicator","","disableRipple","",3,"ngModel","disabled","placeholder","multiple","ngModelChange","selectionChange"],[3,"value","disabled",4,"ngFor","ngForOf"],["matSuffix","",4,"ngIf"],[4,"ngIf"],["matPrefix",""],[3,"value","disabled"],["matSuffix",""],[3,"config"]],template:function(M,E){1&M&&(n.TgZ(0,"mat-form-field"),n.YNc(1,bt,2,1,"span",0),n.TgZ(2,"mat-select",1),n.NdJ("ngModelChange",function(Ve){return E.value=Ve})("selectionChange",function(){return E.onValueChange()}),n.YNc(3,Ut,3,7,"mat-option",2),n.qZA(),n.YNc(4,kt,2,1,"span",3),n.YNc(5,an,2,1,"mat-hint",4),n.qZA()),2&M&&(n.xp6(1),n.Q6J("ngIf",E.config.prefix),n.xp6(1),n.Q6J("ngModel",E.value)("disabled",E.disabled)("placeholder",E.config.placeholder||"")("multiple",E.config.multiple||!1),n.xp6(1),n.Q6J("ngForOf",E.config.options),n.xp6(1),n.Q6J("ngIf",E.config.suffix),n.xp6(1),n.Q6J("ngIf","inline"===E.config.parentType))},dependencies:[S.sg,S.O5,l.JJ,l.On,ue.KE,ue.bx,ue.qo,ue.R9,$e.gD,ft.ey,be],styles:[".gui-select{--mat-select-trigger-text-size: 12px;--mat-option-label-text-size: 12px}.gui-select .mat-mdc-option{min-height:var(--mat-option-label-text-line-height);padding:0 8px}.gui-select .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:8px}.gui-select .mat-pseudo-checkbox{width:16px;height:16px;border-width:1px}\n"],encapsulation:2,changeDetection:0})}return b})();var Ct=g(2599);function W(b,j){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",2),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}let P=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.value=!1,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-switch"]],hostAttrs:[1,"gui-field","gui-switch"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:2,vars:3,consts:[["hideIcon","",3,"ngModel","disabled","ngModelChange","change"],[4,"ngIf"],[3,"config"]],template:function(M,E){1&M&&(n.TgZ(0,"mat-slide-toggle",0),n.NdJ("ngModelChange",function(Ve){return E.value=Ve})("change",function(){return E.onValueChange()}),n.qZA(),n.YNc(1,W,2,1,"mat-hint",1)),2&M&&(n.Q6J("ngModel",E.value)("disabled",E.disabled),n.xp6(1),n.Q6J("ngIf","inline"===E.config.parentType))},dependencies:[S.O5,l.JJ,l.On,ue.bx,Ct.Rr,be],styles:[".gui-switch .mdc-switch{--mdc-switch-track-width: 28px;--mdc-switch-handle-width: 14px;--mdc-switch-handle-height: 14px;--mdc-switch-state-layer-size: 24px}.gui-switch .mat-mdc-slide-toggle{line-height:1}\n"],encapsulation:2,changeDetection:0})}return b})();var se=g(2202);function L(b,j){if(1&b&&(n.TgZ(0,"span",6),n._uU(1),n.qZA()),2&b){const h=n.oxw(2);n.xp6(1),n.Oqu(h.config.prefix)}}function Ce(b,j){if(1&b&&(n.TgZ(0,"span",7),n._uU(1),n.qZA()),2&b){const h=n.oxw(2);n.xp6(1),n.Oqu(h.config.suffix)}}function G(b,j){if(1&b){const h=n.EpF();n.ynx(0),n.TgZ(1,"mat-slider",1)(2,"input",2),n.NdJ("ngModelChange",function(E){n.CHM(h);const De=n.oxw();return n.KtG(De.value=E)})("valueChange",function(){n.CHM(h);const E=n.oxw();return n.KtG(E.onValueChange())}),n.qZA()(),n.TgZ(3,"mat-form-field"),n.YNc(4,L,2,1,"span",3),n.TgZ(5,"input",4),n.NdJ("ngModelChange",function(E){n.CHM(h);const De=n.oxw();return n.KtG(De.value=E)})("change",function(){n.CHM(h);const E=n.oxw();return n.KtG(E.onValueChange())}),n.qZA(),n.YNc(6,Ce,2,1,"span",5),n.qZA(),n.BQk()}if(2&b){const h=n.oxw();n.xp6(1),n.Q6J("disabled",h.disabled)("step",h.config.step)("min",h.config.min)("max",h.config.max),n.xp6(1),n.Q6J("ngModel",h.value),n.xp6(2),n.Q6J("ngIf",h.config.prefix),n.xp6(1),n.Q6J("ngModel",h.value)("disabled",h.disabled)("placeholder",h.config.placeholder||"")("step",h.config.step)("min",h.config.min)("max",h.config.max),n.xp6(1),n.Q6J("ngIf",h.config.suffix)}}function $(b,j){if(1&b&&(n.TgZ(0,"span",6),n._uU(1),n.qZA()),2&b){const h=n.oxw(2);n.xp6(1),n.Oqu(h.config.prefix)}}function Be(b,j){if(1&b&&(n.TgZ(0,"span",7),n._uU(1),n.qZA()),2&b){const h=n.oxw(2);n.xp6(1),n.Oqu(h.config.suffix)}}function ae(b,j){if(1&b&&(n.TgZ(0,"span",6),n._uU(1),n.qZA()),2&b){const h=n.oxw(2);n.xp6(1),n.Oqu(h.config.prefix)}}function He(b,j){if(1&b&&(n.TgZ(0,"span",7),n._uU(1),n.qZA()),2&b){const h=n.oxw(2);n.xp6(1),n.Oqu(h.config.suffix)}}function Ze(b,j){if(1&b){const h=n.EpF();n.ynx(0),n.TgZ(1,"mat-slider",1)(2,"input",8),n.NdJ("ngModelChange",function(E){n.CHM(h);const De=n.oxw();return n.KtG(De.minValue=E)})("valueChange",function(){n.CHM(h);const E=n.oxw();return n.KtG(E.onRangeInputChange())}),n.qZA(),n.TgZ(3,"input",9),n.NdJ("ngModelChange",function(E){n.CHM(h);const De=n.oxw();return n.KtG(De.maxValue=E)})("valueChange",function(){n.CHM(h);const E=n.oxw();return n.KtG(E.onRangeInputChange())}),n.qZA()(),n.TgZ(4,"mat-form-field"),n.YNc(5,$,2,1,"span",3),n.TgZ(6,"input",4),n.NdJ("ngModelChange",function(E){n.CHM(h);const De=n.oxw();return n.KtG(De.minValue=E)})("change",function(){n.CHM(h);const E=n.oxw();return n.KtG(E.onRangeInputChange())}),n.qZA(),n.YNc(7,Be,2,1,"span",5),n.qZA(),n.TgZ(8,"mat-form-field"),n.YNc(9,ae,2,1,"span",3),n.TgZ(10,"input",4),n.NdJ("ngModelChange",function(E){n.CHM(h);const De=n.oxw();return n.KtG(De.maxValue=E)})("change",function(){n.CHM(h);const E=n.oxw();return n.KtG(E.onRangeInputChange())}),n.qZA(),n.YNc(11,He,2,1,"span",5),n.qZA(),n.BQk()}if(2&b){const h=n.oxw();n.xp6(1),n.Q6J("disabled",h.disabled)("step",h.config.step)("min",h.config.min)("max",h.config.max),n.xp6(1),n.Q6J("ngModel",h.minValue),n.xp6(1),n.Q6J("ngModel",h.maxValue),n.xp6(2),n.Q6J("ngIf",h.config.prefix),n.xp6(1),n.Q6J("ngModel",h.minValue)("disabled",h.disabled)("placeholder",h.config.placeholder||"")("step",h.config.step)("min",h.config.min)("max",h.config.max),n.xp6(1),n.Q6J("ngIf",h.config.suffix),n.xp6(2),n.Q6J("ngIf",h.config.prefix),n.xp6(1),n.Q6J("ngModel",h.maxValue)("disabled",h.disabled)("placeholder",h.config.placeholder||"")("step",h.config.step)("min",h.config.min)("max",h.config.max),n.xp6(1),n.Q6J("ngIf",h.config.suffix)}}function it(b,j){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",10),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}let qe=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.setInputValue(),this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}onRangeSliderChange(){this.setInputValue(),this.onValueChange()}onRangeInputChange(){this.value=[this.minValue,this.maxValue],this.onValueChange()}setInputValue(){Array.isArray(this.value)&&(this.minValue=this.value[0],this.maxValue=this.value[1])}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-slider"]],hostAttrs:[1,"gui-field","gui-slider"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:3,vars:3,consts:[[4,"ngIf"],[3,"disabled","step","min","max"],["matSliderThumb","",3,"ngModel","ngModelChange","valueChange"],["matPrefix","",4,"ngIf"],["matInput","","type","number",3,"ngModel","disabled","placeholder","step","min","max","ngModelChange","change"],["matSuffix","",4,"ngIf"],["matPrefix",""],["matSuffix",""],["matSliderStartThumb","",3,"ngModel","ngModelChange","valueChange"],["matSliderEndThumb","",3,"ngModel","ngModelChange","valueChange"],[3,"config"]],template:function(M,E){1&M&&(n.YNc(0,G,7,13,"ng-container",0),n.YNc(1,Ze,12,22,"ng-container",0),n.YNc(2,it,2,1,"mat-hint",0)),2&M&&(n.Q6J("ngIf","range"!==E.config.mode),n.xp6(1),n.Q6J("ngIf","range"===E.config.mode),n.xp6(1),n.Q6J("ngIf","inline"===E.config.parentType))},dependencies:[S.O5,l.Fj,l.wV,l.JJ,l.qQ,l.Fd,l.On,ue.KE,ue.bx,ue.qo,ue.R9,ie.Nt,se.pH,se.$5,se.f9,be],styles:[".gui-slider .mat-mdc-slider{--mdc-slider-handle-width: 12px;--mdc-slider-handle-height: 12px;--mdc-slider-inactive-track-height: 2px;--mdc-slider-active-track-height: 2px;flex:3;min-width:auto;height:calc(var(--mdc-slider-handle-width) * 2);margin:0 calc(var(--mdc-slider-handle-width) / 2)}.gui-slider .mat-mdc-slider+.mat-mdc-form-field{flex:2}.gui-slider .mat-mdc-slider.mdc-slider--range+.mat-mdc-form-field,.gui-slider .mat-mdc-slider.mdc-slider--range+.mat-mdc-form-field+.mat-mdc-form-field{flex:1.5}.gui-slider .mat-mdc-slider .mdc-slider__input{top:0;height:calc(var(--mdc-slider-handle-width) * 2)}.gui-slider .mat-mdc-slider .mdc-slider__thumb{left:calc(var(--mdc-slider-handle-width) * -1);width:calc(var(--mdc-slider-handle-width) * 2);height:calc(var(--mdc-slider-handle-width) * 2);border-radius:50%;overflow:hidden}.gui-slider .mat-mdc-form-field{margin-left:6px}.gui-slider .mat-mdc-form-field input::-webkit-outer-spin-button,.gui-slider .mat-mdc-form-field input::-webkit-inner-spin-button{appearance:none}.gui-slider .mat-mdc-form-field-hint{width:100%;padding:0 8px;line-height:var(--mat-form-field-subscript-text-line-height)}\n"],encapsulation:2,changeDetection:0})}return b})();var It=g(9488);function Ye(b,j){if(1&b&&n._UZ(0,"img",2),2&b){const h=n.oxw();n.Q6J("src",h.src,n.LSH)}}function ct(b,j){if(1&b&&n._UZ(0,"i",3),2&b){const h=n.oxw();n.Q6J("ngClass",h.src)}}let Ee=(()=>{class b{constructor(){this.src=""}isUrl(){return/^(https?:\/\/|\.?\/)\w+/.test(this.src)}static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-icon"]],hostAttrs:[1,"gui-icon"],inputs:{src:"src"},decls:2,vars:2,consts:[[3,"src",4,"ngIf"],[3,"ngClass",4,"ngIf"],[3,"src"],[3,"ngClass"]],template:function(M,E){1&M&&(n.YNc(0,Ye,1,1,"img",0),n.YNc(1,ct,1,1,"i",1)),2&M&&(n.Q6J("ngIf",E.isUrl()),n.xp6(1),n.Q6J("ngIf",!E.isUrl()))},dependencies:[S.mk,S.O5],styles:[".gui-icon{display:inline-flex}.gui-icon img,.gui-icon i{display:block;width:var(--mat-standard-button-toggle-height);height:var(--mat-standard-button-toggle-height);line-height:var(--mat-standard-button-toggle-height)}\n"],encapsulation:2,changeDetection:0})}return b})();function tt(b,j){if(1&b&&n._UZ(0,"gui-icon",6),2&b){const h=n.oxw().$implicit;n.Q6J("src",h.src)}}function dt(b,j){if(1&b&&n._uU(0),2&b){const h=n.oxw().$implicit;n.Oqu(h.label)}}const jt=function(b){return{"gui-icon-toggle":b}};function Gt(b,j){if(1&b&&(n.TgZ(0,"mat-button-toggle",3),n.YNc(1,tt,1,1,"gui-icon",4),n.YNc(2,dt,1,1,"ng-template",null,5,n.W1O),n.qZA()),2&b){const h=j.$implicit,M=n.MAs(3),E=n.oxw();n.Tol(n.VKq(8,jt,E.config.useIcon)),n.Q6J("flex",h.col)("value",h.value)("disabled",h.disabled)("title",E.config.useIcon?h.label:""),n.xp6(1),n.Q6J("ngIf",E.config.useIcon)("ngIfElse",M)}}function cn(b,j){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",7),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}let Lt=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.value="",this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-button-toggle"]],hostAttrs:[1,"gui-field","gui-button-toggle"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:3,vars:5,consts:[[3,"ngModel","disabled","multiple","ngModelChange","change"],["disableRipple","",3,"class","flex","value","disabled","title",4,"ngFor","ngForOf"],[4,"ngIf"],["disableRipple","",3,"flex","value","disabled","title"],[3,"src",4,"ngIf","ngIfElse"],["textLabel",""],[3,"src"],[3,"config"]],template:function(M,E){1&M&&(n.TgZ(0,"mat-button-toggle-group",0),n.NdJ("ngModelChange",function(Ve){return E.value=Ve})("change",function(){return E.onValueChange()}),n.YNc(1,Gt,4,10,"mat-button-toggle",1),n.qZA(),n.YNc(2,cn,2,1,"mat-hint",2)),2&M&&(n.Q6J("ngModel",E.value)("disabled",E.disabled)("multiple",E.config.multiple),n.xp6(1),n.Q6J("ngForOf",E.config.options),n.xp6(1),n.Q6J("ngIf","inline"===E.config.parentType))},dependencies:[S.sg,S.O5,l.JJ,l.On,ue.bx,It.A9,It.Yi,Ee,be,me],styles:[".gui-button-toggle{--mat-standard-button-toggle-height: 24px}.gui-button-toggle .mat-button-toggle-group{flex-wrap:wrap;border-width:0}.gui-button-toggle .mat-button-toggle-appearance-standard{border-width:0!important;background-color:var(--mdc-filled-text-field-container-color)}.gui-button-toggle .mat-button-toggle-appearance-standard.mat-button-toggle-checked{background-color:var(--mat-standard-button-toggle-selected-state-background-color)}.gui-icon-toggle.mat-button-toggle .mat-button-toggle-label-content{padding:0;line-height:normal}.gui-icon-toggle.mat-button-toggle-checked img{opacity:.64}\n"],encapsulation:2,changeDetection:0})}return b})();var yn=g(4318);function et(b,j){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",7),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}const Z=function(b){return{background:b}};let ce=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.value="",this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-fill"]],hostAttrs:[1,"gui-field","gui-fill"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:9,vars:10,consts:[["matPrefix",""],[1,"gui-color-block-empty"],[1,"gui-color-block"],["matInput","",3,"ngModel","disabled","placeholder","mtxColorpicker","ngModelChange","colorChange"],["cp",""],["matSuffix","",3,"for"],[4,"ngIf"],[3,"config"]],template:function(M,E){if(1&M&&(n.TgZ(0,"mat-form-field"),n.ynx(1,0),n._UZ(2,"span",1)(3,"span",2),n.BQk(),n.TgZ(4,"input",3),n.NdJ("ngModelChange",function(Ve){return E.value=Ve})("colorChange",function(){return E.onValueChange()}),n.qZA(),n._UZ(5,"mtx-colorpicker",null,4)(7,"mtx-colorpicker-toggle",5),n.YNc(8,et,2,1,"mat-hint",6),n.qZA()),2&M){const De=n.MAs(6);n.xp6(3),n.Akn(n.VKq(8,Z,E.value)),n.xp6(1),n.Q6J("ngModel",E.value)("disabled",E.disabled)("placeholder",E.config.placeholder||"")("mtxColorpicker",De),n.xp6(3),n.Q6J("for",De),n.xp6(1),n.Q6J("ngIf","inline"===E.config.parentType)}},dependencies:[S.O5,l.Fj,l.JJ,l.On,ue.KE,ue.bx,ue.qo,ue.R9,ie.Nt,yn.YK,yn.zA,yn.sj,be],styles:[".gui-color-block,.gui-color-block-empty{position:relative;display:block;width:24px;height:24px}.gui-color-block-empty{position:absolute;background-color:#fff;background-image:linear-gradient(45deg,#ccc 25%,transparent 25%),linear-gradient(-45deg,#ccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccc 75%),linear-gradient(-45deg,transparent 75%,#ccc 75%);background-position:0 0,0 4px,4px -4px,-4px 0;background-size:8px 8px}.gui-fill .mat-mdc-icon-button{display:inline-flex;justify-content:center;align-items:center}\n"],encapsulation:2,changeDetection:0})}return b})();function Fe(b,j){if(1&b&&n._UZ(0,"gui-field-label",1),2&b){const h=n.oxw();n.Q6J("config",h.config)("index",h.config.index)}}const ot=["*"];let st=(()=>{class b{constructor(h,M){this.differs=h,this.cdr=M,this.config={}}ngOnInit(){this.configDiffer=this.differs.find(this.config).create()}ngDoCheck(){this.configDiffer?.diff(this.config)?.forEachChangedItem(M=>{this.cdr.markForCheck()})}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.aQg),n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-field-group"]],hostAttrs:[1,"gui-field-group"],inputs:{config:"config"},ngContentSelectors:ot,decls:2,vars:1,consts:[[3,"config","index",4,"ngIf"],[3,"config","index"]],template:function(M,E){1&M&&(n.F$t(),n.YNc(0,Fe,1,2,"gui-field-label",0),n.Hsn(1)),2&M&&n.Q6J("ngIf","inline"!==E.config.parentType&&E.config.name)},dependencies:[S.O5,be],styles:[".gui-field-group{display:flex;padding:4px 8px}.gui-field{display:inline-flex;flex:1;flex-wrap:wrap;align-items:center}.gui-field>.mat-mdc-form-field{flex:1;width:0;max-width:100%}\n"],encapsulation:2,changeDetection:0})}return b})();const lt=["*"];let yt=(()=>{class b{constructor(){this.config={}}static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-inline-group"]],hostAttrs:[1,"gui-inline-group"],inputs:{config:"config"},ngContentSelectors:lt,decls:3,vars:1,consts:[[3,"config"],[1,"gui-inline-group-content"]],template:function(M,E){1&M&&(n.F$t(),n._UZ(0,"gui-field-label",0),n.TgZ(1,"div",1),n.Hsn(2),n.qZA()),2&M&&n.Q6J("config",E.config)},dependencies:[be],styles:[".gui-inline-group{display:flex;padding:4px 8px}.gui-inline-group-content{display:inline-flex;flex:1;flex-flow:row wrap;margin:0 -4px}.gui-inline-group-content>.gui-field-group,.gui-inline-group-content>.gui-inline-group,.gui-inline-group-content>.mat-expansion-panel,.gui-inline-group-content>.gui-menu{width:100%;padding:0 4px}\n"],encapsulation:2,changeDetection:0})}return b})();var Jt=g(6912);function Bt(b,j){if(1&b&&(n.TgZ(0,"span",6),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.prefix)}}function Vt(b,j){if(1&b&&(n._UZ(0,"img",7),n.TgZ(1,"span"),n._uU(2),n.qZA()),2&b){const h=j.item;n.Q6J("src",h.src,n.LSH)("alt",h.label),n.xp6(2),n.Oqu(h.label)}}function Ft(b,j){if(1&b&&(n._UZ(0,"img",7),n.TgZ(1,"span"),n._uU(2),n.qZA()),2&b){const h=j.item;n.Q6J("src",h.src,n.LSH)("alt",h.label),n.xp6(2),n.Oqu(h.label)}}function Cn(b,j){if(1&b&&(n.TgZ(0,"span",8),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.suffix)}}function un(b,j){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",9),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}const nn=function(){return[]};let pn=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}onPanelOpened(){}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-image-select"]],hostAttrs:[1,"gui-field","gui-image-select"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:7,vars:8,consts:[["matPrefix","",4,"ngIf"],["appendTo",".gui-form","bindValue","value",3,"items","ngModel","disabled","placeholder","ngModelChange","change","open"],["ng-label-tmp",""],["ng-option-tmp",""],["matSuffix","",4,"ngIf"],[4,"ngIf"],["matPrefix",""],[3,"src","alt"],["matSuffix",""],[3,"config"]],template:function(M,E){1&M&&(n.TgZ(0,"mat-form-field"),n.YNc(1,Bt,2,1,"span",0),n.TgZ(2,"mtx-select",1),n.NdJ("ngModelChange",function(Ve){return E.value=Ve})("change",function(){return E.onValueChange()})("open",function(){return E.onPanelOpened()}),n.YNc(3,Vt,3,3,"ng-template",2),n.YNc(4,Ft,3,3,"ng-template",3),n.qZA(),n.YNc(5,Cn,2,1,"span",4),n.YNc(6,un,2,1,"mat-hint",5),n.qZA()),2&M&&(n.xp6(1),n.Q6J("ngIf",E.config.prefix),n.xp6(1),n.Q6J("items",E.config.options||n.DdM(7,nn))("ngModel",E.value)("disabled",E.disabled)("placeholder",E.config.placeholder||""),n.xp6(3),n.Q6J("ngIf",E.config.suffix),n.xp6(1),n.Q6J("ngIf","inline"===E.config.parentType))},dependencies:[S.O5,l.JJ,l.On,ue.KE,ue.bx,ue.qo,ue.R9,Jt.zP,Jt.lJ,Jt.re,be],styles:[".gui-form .ng-dropdown-panel .ng-dropdown-panel-items .ng-option img,.gui-image-select .ng-select .ng-value img{height:100%;max-width:120px;object-fit:contain;border-radius:4px;background-color:var(--mat-option-hover-state-layer-color)}.gui-image-select .ng-select{padding:0 8px;margin:0 -8px}.gui-image-select .ng-select .ng-value-container{height:64px}.gui-image-select .ng-select .ng-value{display:inline-flex;align-items:center;gap:8px;height:100%;padding:8px 0}.gui-form .ng-dropdown-panel .ng-dropdown-panel-items .ng-option{display:flex;align-items:center;gap:8px;height:64px;padding:8px}\n"],encapsulation:2,changeDetection:0})}return b})();function bn(b,j){if(1&b&&(n.TgZ(0,"span",4),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.prefix)}}function In(b,j){if(1&b&&(n.TgZ(0,"span",5),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.suffix)}}function Tn(b,j){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",6),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}let at=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.value="",this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-textarea"]],hostAttrs:[1,"gui-field","gui-textarea"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:5,vars:7,consts:[["matPrefix","",4,"ngIf"],["matInput","",3,"ngModel","disabled","placeholder","rows","ngModelChange","change"],["matSuffix","",4,"ngIf"],[4,"ngIf"],["matPrefix",""],["matSuffix",""],[3,"config"]],template:function(M,E){1&M&&(n.TgZ(0,"mat-form-field"),n.YNc(1,bn,2,1,"span",0),n.TgZ(2,"textarea",1),n.NdJ("ngModelChange",function(Ve){return E.value=Ve})("change",function(){return E.onValueChange()}),n.qZA(),n.YNc(3,In,2,1,"span",2),n.YNc(4,Tn,2,1,"mat-hint",3),n.qZA()),2&M&&(n.xp6(1),n.Q6J("ngIf",E.config.prefix),n.xp6(1),n.Q6J("ngModel",E.value)("disabled",E.disabled)("placeholder",E.config.placeholder||"")("rows",E.config.rows),n.xp6(1),n.Q6J("ngIf",E.config.suffix),n.xp6(1),n.Q6J("ngIf","inline"===E.config.parentType))},dependencies:[S.O5,l.Fj,l.JJ,l.On,ue.KE,ue.bx,ue.qo,ue.R9,ie.Nt,be],encapsulation:2,changeDetection:0})}return b})();var Nt=g(9862),Ke=g(2096),mt=g(6306),gt=g(4716),Yt=g(7836);const ge=["fileInput"];function J(b,j){if(1&b){const h=n.EpF();n.TgZ(0,"button",8),n.NdJ("click",function(){n.CHM(h);const E=n.oxw();return n.KtG(E.onClear())}),n._UZ(1,"mat-icon",9),n.qZA()}if(2&b){const h=n.oxw();n.Q6J("disabled",h.disabled)}}function I(b,j){if(1&b&&n._UZ(0,"img",14),2&b){const h=n.oxw(2);n.Q6J("src",h.url,n.LSH)}}function Y(b,j){if(1&b&&n._UZ(0,"video",14),2&b){const h=n.oxw(2);n.Q6J("src",h.url,n.LSH)}}function Ae(b,j){if(1&b&&n._UZ(0,"audio",15),2&b){const h=n.oxw(2);n.Q6J("src",h.url,n.LSH)}}function ut(b,j){1&b&&n._UZ(0,"mat-icon",16)}function Pe(b,j){if(1&b&&(n.ynx(0,10),n.YNc(1,I,1,1,"img",11),n.YNc(2,Y,1,1,"video",11),n.YNc(3,Ae,1,1,"audio",12),n.YNc(4,ut,1,0,"mat-icon",13),n.BQk()),2&b){const h=n.oxw();n.Q6J("ngSwitch",h.type),n.xp6(1),n.Q6J("ngSwitchCase","image"),n.xp6(1),n.Q6J("ngSwitchCase","video"),n.xp6(1),n.Q6J("ngSwitchCase","audio")}}function ee(b,j){1&b&&(n.TgZ(0,"div",17),n._UZ(1,"mat-icon",18),n.qZA())}let z=(()=>{class b{constructor(h,M){this.fileUploaderCfg=h,this.cdr=M,this.config={},this.disabled=!1,this.type="*",this.name="",this.accept="",this.fileChange=new n.vpe,this.url="",this.onChange=()=>{},this.onTouched=()=>{}}ngOnChanges(h){h.type&&(this.accept=this.type+"/*")}writeValue(h){this.url=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}upload(h){const M=new FormData;M.append("file",h.data||""),h.inProgress=!0,this.fileUploaderCfg.upload(M).pipe((0,mt.K)(E=>(h.inProgress=!1,(0,Ke.of)(`${h.data?.name||"File"} upload failed.`))),(0,gt.x)(()=>{})).subscribe(E=>{E instanceof Nt.Zn&&E.body&&(this.url=E.body.data,this.onChange(this.url),this.onTouched(),this.fileChange.emit(this.url)),this.cdr.detectChanges()})}onUrlChange(h){this.url=h.target.value,this.onChange(this.url),this.fileChange.emit(this.url)}onFileChange(h){this.file={data:h.target.files[0],inProgress:!1,progress:0},this.upload(this.file),h.target.value=""}onBlur(){this.onTouched()}onClear(){this.url="",this.onChange(this.url),this.onTouched(),this.fileChange.emit(this.url)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(Yt.E),n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-file-uploader"]],viewQuery:function(M,E){if(1&M&&n.Gf(ge,5),2&M){let De;n.iGM(De=n.CRH())&&(E.fileInput=De.first)}},hostAttrs:[1,"gui-file-uploader"],inputs:{config:"config",disabled:"disabled",type:"type",name:"name",accept:"accept"},outputs:{fileChange:"fileChange"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}]),n.TTD],decls:9,vars:9,consts:[["matPrefix","","svgIcon","link"],["matInput","","type","text",3,"ngModel","disabled","placeholder","change","blur"],["matSuffix","","mat-icon-button","","color","warn",3,"disabled","click",4,"ngIf"],[1,"gui-file-content"],[3,"ngSwitch",4,"ngIf"],["class","gui-file-placeholder",4,"ngIf"],["type","file","tabindex","-1",3,"accept","name","disabled","change"],["fileInput",""],["matSuffix","","mat-icon-button","","color","warn",3,"disabled","click"],["svgIcon","close"],[3,"ngSwitch"],[3,"src",4,"ngSwitchCase"],["controls","",3,"src",4,"ngSwitchCase"],["svgIcon","file_outline",4,"ngSwitchDefault"],[3,"src"],["controls","",3,"src"],["svgIcon","file_outline"],[1,"gui-file-placeholder"],["svgIcon","file_upload"]],template:function(M,E){1&M&&(n.TgZ(0,"mat-form-field"),n._UZ(1,"mat-icon",0),n.TgZ(2,"input",1),n.NdJ("change",function(Ve){return E.onUrlChange(Ve)})("blur",function(){return E.onBlur()}),n.qZA(),n.YNc(3,J,2,1,"button",2),n.qZA(),n.TgZ(4,"figure",3),n.YNc(5,Pe,5,4,"ng-container",4),n.YNc(6,ee,2,0,"div",5),n.TgZ(7,"input",6,7),n.NdJ("change",function(Ve){return E.onFileChange(Ve)}),n.qZA()()),2&M&&(n.xp6(2),n.Q6J("ngModel",E.url)("disabled",E.disabled)("placeholder",E.config.placeholder||""),n.xp6(1),n.Q6J("ngIf",E.url),n.xp6(2),n.Q6J("ngIf",E.url),n.xp6(1),n.Q6J("ngIf",!E.url),n.xp6(1),n.Q6J("accept",E.accept)("name",E.name)("disabled",E.disabled))},dependencies:[S.O5,S.RF,S.n9,S.ED,l.Fj,l.JJ,l.On,ue.KE,ue.qo,ue.R9,ie.Nt,te.Hw,Se.RK],styles:[".gui-file-uploader{display:block;overflow:auto;flex:1}.gui-file-uploader .mat-mdc-form-field{width:100%}.gui-file-uploader .gui-file-content{position:relative;display:flex;align-items:center;justify-content:center;height:120px;margin:4px 0 0;padding:4px;background-color:var(--mdc-filled-text-field-container-color);border:1px solid transparent;border-radius:4px}.gui-file-uploader .gui-file-content:hover{border-color:currentColor}.gui-file-uploader .gui-file-content img,.gui-file-uploader .gui-file-content video{width:100%;height:100%;object-fit:contain}.gui-file-uploader .gui-file-content input[type=file]{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.gui-file-uploader .gui-file-content .mat-icon svg{width:24px;height:24px}\n"],encapsulation:2,changeDetection:0})}return b})();function D(b,j){}const B=function(b,j){return{$implicit:b,formGroup:j}};function he(b,j){if(1&b&&(n.TgZ(0,"div"),n.YNc(1,D,0,0,"ng-template",3),n.qZA()),2&b){const h=j.$implicit,M=n.oxw(),E=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",E)("ngTemplateOutletContext",n.WLB(2,B,h,M.form))}}function X(b,j){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-input-text",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function ne(b,j){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-input-number",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function Oe(b,j){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-select",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function nt(b,j){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-switch",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function Et(b,j){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-slider",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function Ot(b,j){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-button-toggle",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function Tt(b,j){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-fill",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function $t(b,j){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-file-uploader",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function qt(b,j){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-file-uploader",13),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function Fn(b,j){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-file-uploader",14),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function $n(b,j){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-file-uploader",15),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function zn(b,j){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-image-select",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function Nn(b,j){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-textarea",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function ei(b,j){if(1&b&&n._UZ(0,"input",16),2&b){const h=n.oxw().$implicit;n.Q6J("formControlName",h.key)}}function di(b,j){}const mn=function(b,j,h){return{$implicit:b,parent:j,formGroup:h}};function vn(b,j){if(1&b&&(n.ynx(0),n.YNc(1,di,0,0,"ng-template",3),n.BQk()),2&b){const h=j.$implicit,M=n.oxw(2),E=M.$implicit,De=M.formGroup;n.oxw();const Ve=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",Ve)("ngTemplateOutletContext",n.kEZ(2,mn,h,E,De.get(E.key)))}}function ui(b,j){if(1&b&&(n.TgZ(0,"gui-inline-group",17),n.YNc(1,vn,2,6,"ng-container",1),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("formGroupName",h.key),n.xp6(1),n.Q6J("ngForOf",h.children)}}function pi(b,j){}function kn(b,j){if(1&b&&(n.TgZ(0,"div"),n.YNc(1,pi,0,0,"ng-template",3),n.qZA()),2&b){const h=j.$implicit,M=n.oxw(3),E=M.$implicit,De=M.formGroup;n.oxw();const Ve=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",Ve)("ngTemplateOutletContext",n.kEZ(2,mn,h,E,De.get(E.key)))}}function ti(b,j){if(1&b&&n.YNc(0,kn,2,6,"div",1),2&b){const h=n.oxw(2).$implicit;n.Q6J("ngForOf",h.children)}}function hi(b,j){if(1&b){const h=n.EpF();n.TgZ(0,"mat-expansion-panel",18),n.NdJ("expandedChange",function(E){n.CHM(h);const De=n.oxw().$implicit;return n.KtG(De.expanded=E)}),n.TgZ(1,"mat-expansion-panel-header"),n._UZ(2,"gui-field-label",19),n.qZA(),n.YNc(3,ti,1,1,"ng-template",20),n.qZA()}if(2&b){const h=n.oxw().$implicit;n.Q6J("formGroupName",h.key)("expanded",h.expanded)("disabled",h.disabled),n.xp6(2),n.Q6J("config",h)}}function ai(b,j){if(1&b){const h=n.EpF();n.ynx(0),n.TgZ(1,"button",26),n.NdJ("click",function(E){n.CHM(h);const De=n.oxw(3),Ve=De.$implicit,Pt=De.formGroup,hn=n.oxw();return n.KtG(hn.addTab(E,Pt.get(Ve.key),Ve))}),n._UZ(2,"mat-icon",27),n.qZA(),n.TgZ(3,"button",26),n.NdJ("click",function(E){n.CHM(h);const De=n.oxw(3),Ve=De.$implicit,Pt=De.formGroup,hn=n.oxw();return n.KtG(hn.removeTab(E,Pt.get(Ve.key),Ve))}),n._UZ(4,"mat-icon",28),n.qZA(),n.BQk()}if(2&b){const h=n.oxw(3).$implicit;n.xp6(1),n.Q6J("disabled",h.disabled),n.xp6(2),n.Q6J("disabled",h.disabled)}}function Kn(b,j){if(1&b){const h=n.EpF();n.ynx(0),n.TgZ(1,"button",23),n.NdJ("click",function(E){n.CHM(h);const De=n.oxw(2).$implicit,Ve=n.oxw();return n.KtG(Ve.changeTabsMode(E,De,"nav"))}),n._UZ(2,"mat-icon",24),n.qZA(),n.TgZ(3,"button",23),n.NdJ("click",function(E){n.CHM(h);const De=n.oxw(2).$implicit,Ve=n.oxw();return n.KtG(Ve.changeTabsMode(E,De,"list"))}),n._UZ(4,"mat-icon",25),n.qZA(),n.YNc(5,ai,5,2,"ng-container",22),n.BQk()}if(2&b){const h=n.oxw(2).$implicit;n.xp6(1),n.Q6J("color","list"!==h.mode?"primary":""),n.xp6(2),n.Q6J("color","list"===h.mode?"primary":""),n.xp6(2),n.Q6J("ngIf",h.template&&(h.addable||void 0===h.addable))}}const mi=function(b){return{i:b}};function N(b,j){if(1&b&&(n.TgZ(0,"div"),n._uU(1),n.ALo(2,"ejs"),n.qZA()),2&b){const h=n.oxw(),M=h.$implicit,E=h.index;n.xp6(1),n.Oqu(n.xi3(2,1,M.name,n.VKq(4,mi,E)))}}function de(b,j){}const x=function(b){return[b]};function q(b,j){if(1&b&&(n.ynx(0),n.YNc(1,de,0,0,"ng-template",3),n.BQk()),2&b){const h=n.oxw().$implicit,M=n.oxw(4),E=M.$implicit,De=M.formGroup;n.oxw();const Ve=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",Ve)("ngTemplateOutletContext",n.kEZ(4,mn,h,E,De.get(n.VKq(2,x,E.key))))}}function pe(b,j){}const We=function(b,j){return[b,j]};function pt(b,j){if(1&b&&(n.TgZ(0,"div"),n.YNc(1,pe,0,0,"ng-template",3),n.qZA()),2&b){const h=j.$implicit,M=n.oxw(2).index,E=n.oxw(4),De=E.$implicit,Ve=E.formGroup;n.oxw();const Pt=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",Pt)("ngTemplateOutletContext",n.kEZ(5,mn,h,De,Ve.get(n.WLB(2,We,De.key,M))))}}function on(b,j){if(1&b&&(n.ynx(0),n.YNc(1,pt,2,9,"div",1),n.BQk()),2&b){const h=n.oxw().$implicit;n.xp6(1),n.Q6J("ngForOf",h.children)}}function Qt(b,j){if(1&b&&(n.TgZ(0,"mat-tab",33),n.YNc(1,N,3,6,"ng-template",34),n.YNc(2,q,2,8,"ng-container",22),n.YNc(3,on,2,1,"ng-container",22),n.qZA()),2&b){const h=j.$implicit;n.Q6J("disabled",h.disabled),n.xp6(2),n.Q6J("ngIf",!h.children||0===h.children.length||"tabs"===h.type),n.xp6(1),n.Q6J("ngIf",(null==h.children?null:h.children.length)>0&&"tabs"!==h.type)}}function gi(b,j){if(1&b&&(n.TgZ(0,"mat-tab-group",31),n.YNc(1,Qt,4,3,"mat-tab",32),n.qZA()),2&b){const h=n.oxw(3).$implicit;n.Q6J("mat-stretch-tabs",!1),n.xp6(1),n.Q6J("ngForOf",h.children)}}function yo(b,j){if(1&b){const h=n.EpF();n.ynx(0),n.TgZ(1,"button",26),n.NdJ("click",function(E){n.CHM(h);const De=n.oxw().index,Ve=n.oxw(4),Pt=Ve.$implicit,hn=Ve.formGroup,Zt=n.oxw();return n.KtG(Zt.addTab(E,hn.get(Pt.key),Pt,De))}),n._UZ(2,"mat-icon",27),n.qZA(),n.TgZ(3,"button",26),n.NdJ("click",function(E){n.CHM(h);const De=n.oxw().index,Ve=n.oxw(4),Pt=Ve.$implicit,hn=Ve.formGroup,Zt=n.oxw();return n.KtG(Zt.removeTab(E,hn.get(Pt.key),Pt,De))}),n._UZ(4,"mat-icon",28),n.qZA(),n.BQk()}if(2&b){const h=n.oxw(5).$implicit;n.xp6(1),n.Q6J("disabled",h.disabled),n.xp6(2),n.Q6J("disabled",h.disabled)}}function oi(b,j){}function xo(b,j){if(1&b&&(n.ynx(0),n.YNc(1,oi,0,0,"ng-template",3),n.BQk()),2&b){const h=n.oxw().$implicit,M=n.oxw(4),E=M.$implicit,De=M.formGroup;n.oxw();const Ve=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",Ve)("ngTemplateOutletContext",n.kEZ(4,mn,h,E,De.get(n.VKq(2,x,E.key))))}}function Jo(b,j){}function qi(b,j){if(1&b&&(n.TgZ(0,"div"),n.YNc(1,Jo,0,0,"ng-template",3),n.qZA()),2&b){const h=j.$implicit,M=n.oxw(2).index,E=n.oxw(4),De=E.$implicit,Ve=E.formGroup;n.oxw();const Pt=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",Pt)("ngTemplateOutletContext",n.kEZ(5,mn,h,De,Ve.get(n.WLB(2,We,De.key,M))))}}function Co(b,j){if(1&b&&(n.ynx(0),n.YNc(1,qi,2,9,"div",1),n.BQk()),2&b){const h=n.oxw().$implicit;n.xp6(1),n.Q6J("ngForOf",h.children)}}function Yi(b,j){if(1&b&&(n.TgZ(0,"div",37)(1,"div",38)(2,"span",39),n._uU(3),n.ALo(4,"ejs"),n.qZA(),n.YNc(5,yo,5,2,"ng-container",22),n.qZA(),n.TgZ(6,"div",40),n.YNc(7,xo,2,8,"ng-container",22),n.YNc(8,Co,2,1,"ng-container",22),n.qZA()()),2&b){const h=j.$implicit,M=j.index,E=n.oxw(4).$implicit;n.xp6(3),n.Oqu(n.xi3(4,4,h.name,n.VKq(7,mi,M))),n.xp6(2),n.Q6J("ngIf",E.template&&(E.addable||void 0===E.addable)),n.xp6(2),n.Q6J("ngIf",!h.children||0===h.children.length||"tabs"===h.type),n.xp6(1),n.Q6J("ngIf",(null==h.children?null:h.children.length)>0&&"tabs"!==h.type)}}function eo(b,j){if(1&b&&(n.TgZ(0,"div",35),n.YNc(1,Yi,9,9,"div",36),n.qZA()),2&b){const h=n.oxw(3).$implicit;n.xp6(1),n.Q6J("ngForOf",h.children)}}function No(b,j){if(1&b&&(n.YNc(0,gi,2,2,"mat-tab-group",29),n.YNc(1,eo,2,1,"div",30)),2&b){const h=n.oxw(2).$implicit;n.Q6J("ngIf","list"!==h.mode),n.xp6(1),n.Q6J("ngIf","list"===h.mode)}}function lo(b,j){if(1&b){const h=n.EpF();n.TgZ(0,"mat-expansion-panel",21),n.NdJ("expandedChange",function(E){n.CHM(h);const De=n.oxw().$implicit;return n.KtG(De.expanded=E)}),n.TgZ(1,"mat-expansion-panel-header"),n._UZ(2,"gui-field-label",19),n.YNc(3,Kn,6,3,"ng-container",22),n.qZA(),n.YNc(4,No,2,2,"ng-template",20),n.qZA()}if(2&b){const h=n.oxw().$implicit;n.Q6J("formArrayName",h.key)("expanded",h.expanded)("disabled",h.disabled),n.xp6(2),n.Q6J("config",h),n.xp6(1),n.Q6J("ngIf",h.expanded)}}function Bi(b,j){}function gn(b,j){if(1&b&&(n.TgZ(0,"div",46),n.YNc(1,Bi,0,0,"ng-template",3),n.qZA()),2&b){const h=j.$implicit,M=n.oxw(3).$implicit,E=n.oxw(2),De=E.$implicit,Ve=E.formGroup;n.oxw();const Pt=n.MAs(3);n.Q6J("formGroupName",M.key),n.xp6(1),n.Q6J("ngTemplateOutlet",Pt)("ngTemplateOutletContext",n.WLB(6,B,h,Ve.get(n.WLB(3,We,De.key,M.key))))}}function Bn(b,j){if(1&b&&(n.ynx(0),n.YNc(1,gn,2,9,"div",45),n.BQk()),2&b){const h=n.oxw(2).$implicit;n.xp6(1),n.Q6J("ngForOf",h.children)}}function Qn(b,j){}function ni(b,j){if(1&b&&(n.ynx(0),n.YNc(1,Qn,0,0,"ng-template",3),n.BQk()),2&b){const h=n.oxw(2).$implicit,M=n.oxw(2),E=M.$implicit,De=M.formGroup;n.oxw();const Ve=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",Ve)("ngTemplateOutletContext",n.WLB(2,B,h,De.get(E.key)))}}function Jn(b,j){if(1&b&&(n.YNc(0,Bn,2,1,"ng-container",22),n.YNc(1,ni,2,5,"ng-container",22)),2&b){const h=n.oxw().$implicit;n.Q6J("ngIf","menuItem"===h.type),n.xp6(1),n.Q6J("ngIf","menu"===h.type)}}function Vi(b,j){if(1&b&&(n.TgZ(0,"mat-tab",43),n.YNc(1,Jn,2,2,"ng-template",44),n.qZA()),2&b){const h=j.$implicit;n.Q6J("label",h.name)("disabled",h.disabled)}}function wo(b,j){if(1&b&&(n.TgZ(0,"mat-tab-group",41),n.YNc(1,Vi,2,2,"mat-tab",42),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("formGroupName",h.key),n.xp6(1),n.Q6J("ngForOf",h.children)}}function Ii(b,j){if(1&b&&(n.ynx(0,4),n.YNc(1,X,2,4,"gui-field-group",5),n.YNc(2,ne,2,4,"gui-field-group",5),n.YNc(3,Oe,2,4,"gui-field-group",5),n.YNc(4,nt,2,4,"gui-field-group",5),n.YNc(5,Et,2,4,"gui-field-group",5),n.YNc(6,Ot,2,4,"gui-field-group",5),n.YNc(7,Tt,2,4,"gui-field-group",5),n.YNc(8,$t,2,4,"gui-field-group",5),n.YNc(9,qt,2,4,"gui-field-group",5),n.YNc(10,Fn,2,4,"gui-field-group",5),n.YNc(11,$n,2,4,"gui-field-group",5),n.YNc(12,zn,2,4,"gui-field-group",5),n.YNc(13,Nn,2,4,"gui-field-group",5),n.YNc(14,ei,1,1,"input",6),n.YNc(15,ui,2,3,"gui-inline-group",7),n.YNc(16,hi,4,4,"mat-expansion-panel",8),n.YNc(17,lo,5,5,"mat-expansion-panel",9),n.YNc(18,wo,2,2,"mat-tab-group",10),n.BQk()),2&b){const M=j.formGroup;n.Q6J("ngSwitch",j.$implicit.type)("formGroup",M),n.xp6(1),n.Q6J("ngSwitchCase","text"),n.xp6(1),n.Q6J("ngSwitchCase","number"),n.xp6(1),n.Q6J("ngSwitchCase","select"),n.xp6(1),n.Q6J("ngSwitchCase","switch"),n.xp6(1),n.Q6J("ngSwitchCase","slider"),n.xp6(1),n.Q6J("ngSwitchCase","buttonToggle"),n.xp6(1),n.Q6J("ngSwitchCase","fill"),n.xp6(1),n.Q6J("ngSwitchCase","file"),n.xp6(1),n.Q6J("ngSwitchCase","image"),n.xp6(1),n.Q6J("ngSwitchCase","video"),n.xp6(1),n.Q6J("ngSwitchCase","audio"),n.xp6(1),n.Q6J("ngSwitchCase","imageSelect"),n.xp6(1),n.Q6J("ngSwitchCase","textarea"),n.xp6(1),n.Q6J("ngSwitchCase","hidden"),n.xp6(1),n.Q6J("ngSwitchCase","inline"),n.xp6(1),n.Q6J("ngSwitchCase","group"),n.xp6(1),n.Q6J("ngSwitchCase","tabs"),n.xp6(1),n.Q6J("ngSwitchCase","menu")}}let Wi=(()=>{class b{constructor(h){this.cdr=h,this.form=new l.cw({}),this.config={},this.model={},this.modelChange=new n.vpe,this.formFields=[],this.formSubscription=R.w0.EMPTY}ngOnChanges(h){h.config&&(this.form.controls={},this.formFields=this.getFormFieldArray(this.form,this.config,this.model)),h.model&&this.model&&Object.keys(this.model).length>0&&this.form.patchValue(this.model)}ngOnInit(){this.formSubscription=this.form.valueChanges.subscribe(h=>{Object.assign(this.model,h),this.modelChange.emit(h)})}ngOnDestroy(){this.formSubscription.unsubscribe()}getFormFieldArray(h,M={},E={},De=null,Ve="group",Pt={emitEvent:!1}){const hn=[];for(const Zt of Object.keys(M)){const Pn=M[Zt].template?[]:M[Zt].children,St={_type:Pn?Array.isArray(Pn)?"array":"group":"control",key:Zt,parentType:Ve,model:E[Zt],default:De?.[Zt],index:Number(Zt),...M[Zt]};if(St.children&&null==E[Zt]&&null==St.default&&(St.model=E[Zt]="array"===St._type?[]:{}),"object"==typeof E&&null==E[Zt]&&(E[Zt]=St.default),St.template&&(Array.isArray(St.model)&&St.model.length>0&&(St.default=St.model),St.children=St.default?.length?St.default.map(On=>(Object.assign(On,St.template?.default),{default:On,...St.template})):[]),"control"===St._type){const On={value:St.default,disabled:St.disabled};h instanceof l.cw?h.registerControl(St.key,new l.NI(On)):h instanceof l.Oe&&h.insert(St.index||h.length,new l.NI(On),Pt)}else if("array"===St._type){let On=new l.Oe([]);h instanceof l.cw?On=h.registerControl(St.key,new l.Oe([])):h instanceof l.Oe&&h.insert(St.index||h.length,On,Pt),St.children=this.getFormFieldArray(On,St.children,St.model,St.default,St.type)}else if("group"===St._type){let On=new l.cw({});h instanceof l.cw?On=h.registerControl(St.key,new l.cw({})):h instanceof l.Oe&&h.insert(St.index||h.length,On,Pt),St.children=this.getFormFieldArray(On,St.children,St.model,St.default,St.type)}hn.push(St)}return hn}addTab(h,M,E,De){h.stopPropagation();const Ve=void 0===De?E.children.length:De+1;E.template.index=Ve,E.children.forEach((hn,Zt)=>{Zt>=Ve&&(hn.index+=1,hn.key=hn.index.toString())});const Pt=this.getFormFieldArray(M,{[Ve]:E.template},{},null,"tabs",{emitEvent:!0});E.children.splice(Ve,0,Pt[0])}removeTab(h,M,E,De){h.stopPropagation();const Ve=void 0===De?E.children.length-1:De;E.children.forEach((Pt,hn)=>{hn>Ve&&(Pt.index-=1,Pt.key=Pt.index.toString())}),E.children.splice(Ve,1),M.removeAt(Ve)}changeTabsMode(h,M,E){h.stopPropagation(),M.mode=E}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-form"]],hostAttrs:[1,"gui-form"],inputs:{form:"form",config:"config",model:"model"},outputs:{modelChange:"modelChange"},features:[n.TTD],decls:4,vars:2,consts:[[3,"formGroup"],[4,"ngFor","ngForOf"],["controlType",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch","formGroup"],[3,"config","flex",4,"ngSwitchCase"],["type","hidden",3,"formControlName",4,"ngSwitchCase"],[3,"config","formGroupName",4,"ngSwitchCase"],[3,"formGroupName","expanded","disabled","expandedChange",4,"ngSwitchCase"],[3,"formArrayName","expanded","disabled","expandedChange",4,"ngSwitchCase"],["class","gui-menu","disableRipple","",3,"formGroupName",4,"ngSwitchCase"],[3,"config","flex"],[3,"formControlName","config"],["type","image",3,"formControlName","config"],["type","video",3,"formControlName","config"],["type","audio",3,"formControlName","config"],["type","hidden",3,"formControlName"],[3,"config","formGroupName"],[3,"formGroupName","expanded","disabled","expandedChange"],[3,"config"],["matExpansionPanelContent",""],[3,"formArrayName","expanded","disabled","expandedChange"],[4,"ngIf"],["mat-icon-button","","type","button",3,"color","click"],["svgIcon","dots_horizontal"],["svgIcon","dots_vertical"],["mat-icon-button","","type","button",3,"disabled","click"],["svgIcon","plus"],["svgIcon","delete"],["class","gui-tabs","disableRipple","",3,"mat-stretch-tabs",4,"ngIf"],["class","gui-list",4,"ngIf"],["disableRipple","",1,"gui-tabs",3,"mat-stretch-tabs"],[3,"disabled",4,"ngFor","ngForOf"],[3,"disabled"],["mat-tab-label",""],[1,"gui-list"],["class","gui-list-item",4,"ngFor","ngForOf"],[1,"gui-list-item"],[1,"gui-list-item-heading"],[1,"gui-list-item-title"],[1,"gui-list-item-content"],["disableRipple","",1,"gui-menu",3,"formGroupName"],[3,"label","disabled",4,"ngFor","ngForOf"],[3,"label","disabled"],["matTabContent",""],[3,"formGroupName",4,"ngFor","ngForOf"],[3,"formGroupName"]],template:function(M,E){1&M&&(n.TgZ(0,"form",0),n.YNc(1,he,2,5,"div",1),n.qZA(),n.YNc(2,Ii,19,20,"ng-template",null,2,n.W1O)),2&M&&(n.Q6J("formGroup",E.form),n.xp6(1),n.Q6J("ngForOf",E.formFields))},dependencies:[S.sg,S.O5,S.tP,S.RF,S.n9,l._Y,l.Fj,l.JJ,l.JL,l.sg,l.u,l.x0,l.CE,te.Hw,Se.RK,le.Vc,le.uD,le.uX,le.SP,ke.ib,ke.yz,ke.HS,H,Re,Xe,P,qe,Lt,ce,st,be,yt,pn,at,z,me,fe],styles:['.gui-form{--mat-form-field-container-text-size: 12px;--mat-expansion-header-text-size: 12px;--mat-expansion-container-text-size: 12px;--mat-expansion-header-collapsed-state-height: 32px;--mat-expansion-header-expanded-state-height: 32px;position:relative;font-size:12px}.gui-form .mat-expansion-panel{--mat-expansion-container-shape: 0;box-shadow:none!important}.gui-form .mat-expansion-panel-body{padding:0}.gui-form .mat-expansion-panel-header{padding:0 12px}.gui-form .mat-expansion-panel-header .mat-content{align-items:center;padding-right:8px}.gui-form .mat-expansion-panel-header .mat-content gui-field-label{flex:1}.gui-form .mat-expansion-indicator:after{vertical-align:2px}.gui-form .mat-mdc-tab-header{--mat-tab-header-label-text-size: 12px;--mdc-secondary-navigation-tab-container-height: 24px}.gui-form .mat-mdc-tab{min-width:auto;padding:0 12px}.gui-form .mat-icon{display:inline-flex;justify-content:center;align-items:center;padding:0!important}.gui-form .mat-icon svg{width:14px;height:14px}.gui-form .mat-mdc-icon-button{--mdc-icon-button-state-layer-size: 24px;--mdc-icon-button-icon-size: 14px;padding:0}.gui-form .mat-mdc-icon-button .mat-mdc-button-touch-target{width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size)}.gui-form .mat-mdc-text-field-wrapper,.gui-form .mat-mdc-form-field-hint-wrapper{position:relative;padding:0 8px;border-radius:var(--mdc-filled-text-field-container-shape)}[dir=rtl] .gui-form .mat-mdc-text-field-wrapper,[dir=rtl] .gui-form .mat-mdc-form-field-hint-wrapper{padding:0 8px}.gui-form .mat-mdc-form-field-infix{min-height:auto;padding:0!important}.gui-form .mat-mdc-form-field-hint-spacer,.gui-form .mat-mdc-form-field-bottom-align:before,.gui-form .mdc-line-ripple{display:none}.gui-list-item-heading{display:flex;align-items:center;position:relative;padding:0 12px;line-height:24px}.gui-list-item-heading .gui-list-item-title{flex:1}.gui-list-item-heading:before{position:absolute;left:0;width:2px;height:16px;background-color:var(--mat-expansion-header-text-color);content:""}.gui-menu .mat-mdc-tab-header{--mdc-tab-indicator-active-indicator-shape: 4px;padding:4px;background-color:var(--mdc-filled-text-field-container-color)}.gui-menu .mat-mdc-tab-header .mdc-tab__ripple:before{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.gui-menu .mat-mdc-tab-labels{gap:4px}.gui-menu .mdc-tab-indicator .mdc-tab-indicator__content{height:100%;border-width:0;border-radius:var(--mdc-tab-indicator-active-indicator-shape);background-color:var(--mdc-tab-indicator-active-indicator-color)}.gui-menu .mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:.24}\n'],encapsulation:2,changeDetection:0})}return b})()},7105:(Mt,je,g)=>{g.d(je,{i:()=>ve});var n=g(6814),l=g(6223),R=g(9157),S=g(4516),te=g(617),Se=g(8525),le=g(2202),ke=g(2599),ue=g(9488),ie=g(2296),we=g(4104),fe=g(3305),me=g(2596),Te=g(4318),Le=g(6912),Ue=g(7836);const be={dots_horizontal:'\n \n \n \n ',dots_vertical:'\n \n \n \n ',plus:'\n \n \n \n ',delete:'\n \n \n \n ',link:'\n \n \n \n ',close:'\n \n \n \n ',file_outline:'\n \n \n \n ',file_upload:'\n \n \n \n '};var ye=g(5879),Je=g(6593);let ve=(()=>{class H{constructor(oe,Ie){for(const Re of Object.keys(be))oe.addSvgIconLiteral(Re,Ie.bypassSecurityTrustHtml(be[Re]))}static#e=this.\u0275fac=function(Ie){return new(Ie||H)(ye.LFG(te.jv),ye.LFG(Je.H7))};static#t=this.\u0275mod=ye.oAB({type:H});static#n=this.\u0275inj=ye.cJS({providers:[Ue.E],imports:[n.ez,l.UX,l.u5,R.lN,S.c,Se.LD,le.KP,ke.rP,ue.vV,te.Ps,ie.ot,we.Nh,fe.To,me.AV,Te.tf,Le.F3]})}return H})()},5619:(Mt,je,g)=>{g.d(je,{X:()=>l});var n=g(8645);class l extends n.x{constructor(S){super(),this._value=S}get value(){return this.getValue()}_subscribe(S){const te=super._subscribe(S);return!te.closed&&S.next(this._value),te}getValue(){const{hasError:S,thrownError:te,_value:Se}=this;if(S)throw te;return this._throwIfClosed(),Se}next(S){super.next(this._value=S)}}},5592:(Mt,je,g)=>{g.d(je,{y:()=>ke});var n=g(305),l=g(7394),R=g(4850),S=g(8407),te=g(2653),Se=g(4674),le=g(1441);let ke=(()=>{class fe{constructor(Te){Te&&(this._subscribe=Te)}lift(Te){const Le=new fe;return Le.source=this,Le.operator=Te,Le}subscribe(Te,Le,Ue){const be=function we(fe){return fe&&fe instanceof n.Lv||function ie(fe){return fe&&(0,Se.m)(fe.next)&&(0,Se.m)(fe.error)&&(0,Se.m)(fe.complete)}(fe)&&(0,l.Nn)(fe)}(Te)?Te:new n.Hp(Te,Le,Ue);return(0,le.x)(()=>{const{operator:ye,source:Je}=this;be.add(ye?ye.call(be,Je):Je?this._subscribe(be):this._trySubscribe(be))}),be}_trySubscribe(Te){try{return this._subscribe(Te)}catch(Le){Te.error(Le)}}forEach(Te,Le){return new(Le=ue(Le))((Ue,be)=>{const ye=new n.Hp({next:Je=>{try{Te(Je)}catch(ve){be(ve),ye.unsubscribe()}},error:be,complete:Ue});this.subscribe(ye)})}_subscribe(Te){var Le;return null===(Le=this.source)||void 0===Le?void 0:Le.subscribe(Te)}[R.L](){return this}pipe(...Te){return(0,S.U)(Te)(this)}toPromise(Te){return new(Te=ue(Te))((Le,Ue)=>{let be;this.subscribe(ye=>be=ye,ye=>Ue(ye),()=>Le(be))})}}return fe.create=me=>new fe(me),fe})();function ue(fe){var me;return null!==(me=fe??te.config.Promise)&&void 0!==me?me:Promise}},8645:(Mt,je,g)=>{g.d(je,{x:()=>le});var n=g(5592),l=g(7394);const S=(0,g(2306).d)(ue=>function(){ue(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var te=g(9039),Se=g(1441);let le=(()=>{class ue extends n.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(we){const fe=new ke(this,this);return fe.operator=we,fe}_throwIfClosed(){if(this.closed)throw new S}next(we){(0,Se.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const fe of this.currentObservers)fe.next(we)}})}error(we){(0,Se.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=we;const{observers:fe}=this;for(;fe.length;)fe.shift().error(we)}})}complete(){(0,Se.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:we}=this;for(;we.length;)we.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var we;return(null===(we=this.observers)||void 0===we?void 0:we.length)>0}_trySubscribe(we){return this._throwIfClosed(),super._trySubscribe(we)}_subscribe(we){return this._throwIfClosed(),this._checkFinalizedStatuses(we),this._innerSubscribe(we)}_innerSubscribe(we){const{hasError:fe,isStopped:me,observers:Te}=this;return fe||me?l.Lc:(this.currentObservers=null,Te.push(we),new l.w0(()=>{this.currentObservers=null,(0,te.P)(Te,we)}))}_checkFinalizedStatuses(we){const{hasError:fe,thrownError:me,isStopped:Te}=this;fe?we.error(me):Te&&we.complete()}asObservable(){const we=new n.y;return we.source=this,we}}return ue.create=(ie,we)=>new ke(ie,we),ue})();class ke extends le{constructor(ie,we){super(),this.destination=ie,this.source=we}next(ie){var we,fe;null===(fe=null===(we=this.destination)||void 0===we?void 0:we.next)||void 0===fe||fe.call(we,ie)}error(ie){var we,fe;null===(fe=null===(we=this.destination)||void 0===we?void 0:we.error)||void 0===fe||fe.call(we,ie)}complete(){var ie,we;null===(we=null===(ie=this.destination)||void 0===ie?void 0:ie.complete)||void 0===we||we.call(ie)}_subscribe(ie){var we,fe;return null!==(fe=null===(we=this.source)||void 0===we?void 0:we.subscribe(ie))&&void 0!==fe?fe:l.Lc}}},305:(Mt,je,g)=>{g.d(je,{Hp:()=>Ue,Lv:()=>fe});var n=g(4674),l=g(7394),R=g(2653),S=g(3894),te=g(2420);const Se=ue("C",void 0,void 0);function ue(H,xe,oe){return{kind:H,value:xe,error:oe}}var ie=g(7599),we=g(1441);class fe extends l.w0{constructor(xe){super(),this.isStopped=!1,xe?(this.destination=xe,(0,l.Nn)(xe)&&xe.add(this)):this.destination=ve}static create(xe,oe,Ie){return new Ue(xe,oe,Ie)}next(xe){this.isStopped?Je(function ke(H){return ue("N",H,void 0)}(xe),this):this._next(xe)}error(xe){this.isStopped?Je(function le(H){return ue("E",void 0,H)}(xe),this):(this.isStopped=!0,this._error(xe))}complete(){this.isStopped?Je(Se,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(xe){this.destination.next(xe)}_error(xe){try{this.destination.error(xe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const me=Function.prototype.bind;function Te(H,xe){return me.call(H,xe)}class Le{constructor(xe){this.partialObserver=xe}next(xe){const{partialObserver:oe}=this;if(oe.next)try{oe.next(xe)}catch(Ie){be(Ie)}}error(xe){const{partialObserver:oe}=this;if(oe.error)try{oe.error(xe)}catch(Ie){be(Ie)}else be(xe)}complete(){const{partialObserver:xe}=this;if(xe.complete)try{xe.complete()}catch(oe){be(oe)}}}class Ue extends fe{constructor(xe,oe,Ie){let Re;if(super(),(0,n.m)(xe)||!xe)Re={next:xe??void 0,error:oe??void 0,complete:Ie??void 0};else{let $e;this&&R.config.useDeprecatedNextContext?($e=Object.create(xe),$e.unsubscribe=()=>this.unsubscribe(),Re={next:xe.next&&Te(xe.next,$e),error:xe.error&&Te(xe.error,$e),complete:xe.complete&&Te(xe.complete,$e)}):Re=xe}this.destination=new Le(Re)}}function be(H){R.config.useDeprecatedSynchronousErrorHandling?(0,we.O)(H):(0,S.h)(H)}function Je(H,xe){const{onStoppedNotification:oe}=R.config;oe&&ie.z.setTimeout(()=>oe(H,xe))}const ve={closed:!0,next:te.Z,error:function ye(H){throw H},complete:te.Z}},7394:(Mt,je,g)=>{g.d(je,{Lc:()=>Se,w0:()=>te,Nn:()=>le});var n=g(4674);const R=(0,g(2306).d)(ue=>function(we){ue(this),this.message=we?`${we.length} errors occurred during unsubscription:\n${we.map((fe,me)=>`${me+1}) ${fe.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=we});var S=g(9039);class te{constructor(ie){this.initialTeardown=ie,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let ie;if(!this.closed){this.closed=!0;const{_parentage:we}=this;if(we)if(this._parentage=null,Array.isArray(we))for(const Te of we)Te.remove(this);else we.remove(this);const{initialTeardown:fe}=this;if((0,n.m)(fe))try{fe()}catch(Te){ie=Te instanceof R?Te.errors:[Te]}const{_finalizers:me}=this;if(me){this._finalizers=null;for(const Te of me)try{ke(Te)}catch(Le){ie=ie??[],Le instanceof R?ie=[...ie,...Le.errors]:ie.push(Le)}}if(ie)throw new R(ie)}}add(ie){var we;if(ie&&ie!==this)if(this.closed)ke(ie);else{if(ie instanceof te){if(ie.closed||ie._hasParent(this))return;ie._addParent(this)}(this._finalizers=null!==(we=this._finalizers)&&void 0!==we?we:[]).push(ie)}}_hasParent(ie){const{_parentage:we}=this;return we===ie||Array.isArray(we)&&we.includes(ie)}_addParent(ie){const{_parentage:we}=this;this._parentage=Array.isArray(we)?(we.push(ie),we):we?[we,ie]:ie}_removeParent(ie){const{_parentage:we}=this;we===ie?this._parentage=null:Array.isArray(we)&&(0,S.P)(we,ie)}remove(ie){const{_finalizers:we}=this;we&&(0,S.P)(we,ie),ie instanceof te&&ie._removeParent(this)}}te.EMPTY=(()=>{const ue=new te;return ue.closed=!0,ue})();const Se=te.EMPTY;function le(ue){return ue instanceof te||ue&&"closed"in ue&&(0,n.m)(ue.remove)&&(0,n.m)(ue.add)&&(0,n.m)(ue.unsubscribe)}function ke(ue){(0,n.m)(ue)?ue():ue.unsubscribe()}},2653:(Mt,je,g)=>{g.d(je,{config:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},2572:(Mt,je,g)=>{g.d(je,{a:()=>ie});var n=g(5592),l=g(7453),R=g(7715),S=g(2737),te=g(7400),Se=g(9940),le=g(2714),ke=g(8251),ue=g(7103);function ie(...me){const Te=(0,Se.yG)(me),Le=(0,Se.jO)(me),{args:Ue,keys:be}=(0,l.D)(me);if(0===Ue.length)return(0,R.D)([],Te);const ye=new n.y(function we(me,Te,Le=S.y){return Ue=>{fe(Te,()=>{const{length:be}=me,ye=new Array(be);let Je=be,ve=be;for(let H=0;H{const xe=(0,R.D)(me[H],Te);let oe=!1;xe.subscribe((0,ke.x)(Ue,Ie=>{ye[H]=Ie,oe||(oe=!0,ve--),ve||Ue.next(Le(ye.slice()))},()=>{--Je||Ue.complete()}))},Ue)},Ue)}}(Ue,Te,be?Je=>(0,le.n)(be,Je):S.y));return Le?ye.pipe((0,te.Z)(Le)):ye}function fe(me,Te,Le){me?(0,ue.f)(Le,me,Te):Te()}},5211:(Mt,je,g)=>{g.d(je,{z:()=>te});var n=g(7537),R=g(9940),S=g(7715);function te(...Se){return function l(){return(0,n.J)(1)}()((0,S.D)(Se,(0,R.yG)(Se)))}},4911:(Mt,je,g)=>{g.d(je,{P:()=>R});var n=g(5592),l=g(4829);function R(S){return new n.y(te=>{(0,l.Xf)(S()).subscribe(te)})}},6232:(Mt,je,g)=>{g.d(je,{E:()=>l});const l=new(g(5592).y)(te=>te.complete())},9315:(Mt,je,g)=>{g.d(je,{D:()=>ke});var n=g(5592),l=g(7453),R=g(4829),S=g(9940),te=g(8251),Se=g(7400),le=g(2714);function ke(...ue){const ie=(0,S.jO)(ue),{args:we,keys:fe}=(0,l.D)(ue),me=new n.y(Te=>{const{length:Le}=we;if(!Le)return void Te.complete();const Ue=new Array(Le);let be=Le,ye=Le;for(let Je=0;Je{ve||(ve=!0,ye--),Ue[Je]=H},()=>be--,void 0,()=>{(!be||!ve)&&(ye||Te.next(fe?(0,le.n)(fe,Ue):Ue),Te.complete())}))}});return ie?me.pipe((0,Se.Z)(ie)):me}},7715:(Mt,je,g)=>{g.d(je,{D:()=>Ie});var n=g(4829),l=g(7103),R=g(9360),S=g(8251);function te(Re,$e=0){return(0,R.e)((ft,bt)=>{ft.subscribe((0,S.x)(bt,Dt=>(0,l.f)(bt,Re,()=>bt.next(Dt),$e),()=>(0,l.f)(bt,Re,()=>bt.complete(),$e),Dt=>(0,l.f)(bt,Re,()=>bt.error(Dt),$e)))})}function Se(Re,$e=0){return(0,R.e)((ft,bt)=>{bt.add(Re.schedule(()=>ft.subscribe(bt),$e))})}var ue=g(5592),we=g(4971),fe=g(4674);function Te(Re,$e){if(!Re)throw new Error("Iterable cannot be null");return new ue.y(ft=>{(0,l.f)(ft,$e,()=>{const bt=Re[Symbol.asyncIterator]();(0,l.f)(ft,$e,()=>{bt.next().then(Dt=>{Dt.done?ft.complete():ft.next(Dt.value)})},0,!0)})})}var Le=g(8382),Ue=g(4026),be=g(4266),ye=g(3664),Je=g(5726),ve=g(9853),H=g(541);function Ie(Re,$e){return $e?function oe(Re,$e){if(null!=Re){if((0,Le.c)(Re))return function le(Re,$e){return(0,n.Xf)(Re).pipe(Se($e),te($e))}(Re,$e);if((0,be.z)(Re))return function ie(Re,$e){return new ue.y(ft=>{let bt=0;return $e.schedule(function(){bt===Re.length?ft.complete():(ft.next(Re[bt++]),ft.closed||this.schedule())})})}(Re,$e);if((0,Ue.t)(Re))return function ke(Re,$e){return(0,n.Xf)(Re).pipe(Se($e),te($e))}(Re,$e);if((0,Je.D)(Re))return Te(Re,$e);if((0,ye.T)(Re))return function me(Re,$e){return new ue.y(ft=>{let bt;return(0,l.f)(ft,$e,()=>{bt=Re[we.h](),(0,l.f)(ft,$e,()=>{let Dt,Ut;try{({value:Dt,done:Ut}=bt.next())}catch(kt){return void ft.error(kt)}Ut?ft.complete():ft.next(Dt)},0,!0)}),()=>(0,fe.m)(bt?.return)&&bt.return()})}(Re,$e);if((0,H.L)(Re))return function xe(Re,$e){return Te((0,H.Q)(Re),$e)}(Re,$e)}throw(0,ve.z)(Re)}(Re,$e):(0,n.Xf)(Re)}},2438:(Mt,je,g)=>{g.d(je,{R:()=>ie});var n=g(4829),l=g(5592),R=g(1631),S=g(4266),te=g(4674),Se=g(7400);const le=["addListener","removeListener"],ke=["addEventListener","removeEventListener"],ue=["on","off"];function ie(Le,Ue,be,ye){if((0,te.m)(be)&&(ye=be,be=void 0),ye)return ie(Le,Ue,be).pipe((0,Se.Z)(ye));const[Je,ve]=function Te(Le){return(0,te.m)(Le.addEventListener)&&(0,te.m)(Le.removeEventListener)}(Le)?ke.map(H=>xe=>Le[H](Ue,xe,be)):function fe(Le){return(0,te.m)(Le.addListener)&&(0,te.m)(Le.removeListener)}(Le)?le.map(we(Le,Ue)):function me(Le){return(0,te.m)(Le.on)&&(0,te.m)(Le.off)}(Le)?ue.map(we(Le,Ue)):[];if(!Je&&(0,S.z)(Le))return(0,R.z)(H=>ie(H,Ue,be))((0,n.Xf)(Le));if(!Je)throw new TypeError("Invalid event target");return new l.y(H=>{const xe=(...oe)=>H.next(1ve(xe)})}function we(Le,Ue){return be=>ye=>Le[be](Ue,ye)}},4829:(Mt,je,g)=>{g.d(je,{Xf:()=>me});var n=g(7582),l=g(4266),R=g(4026),S=g(5592),te=g(8382),Se=g(5726),le=g(9853),ke=g(3664),ue=g(541),ie=g(4674),we=g(3894),fe=g(4850);function me(H){if(H instanceof S.y)return H;if(null!=H){if((0,te.c)(H))return function Te(H){return new S.y(xe=>{const oe=H[fe.L]();if((0,ie.m)(oe.subscribe))return oe.subscribe(xe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(H);if((0,l.z)(H))return function Le(H){return new S.y(xe=>{for(let oe=0;oe{H.then(oe=>{xe.closed||(xe.next(oe),xe.complete())},oe=>xe.error(oe)).then(null,we.h)})}(H);if((0,Se.D)(H))return ye(H);if((0,ke.T)(H))return function be(H){return new S.y(xe=>{for(const oe of H)if(xe.next(oe),xe.closed)return;xe.complete()})}(H);if((0,ue.L)(H))return function Je(H){return ye((0,ue.Q)(H))}(H)}throw(0,le.z)(H)}function ye(H){return new S.y(xe=>{(function ve(H,xe){var oe,Ie,Re,$e;return(0,n.mG)(this,void 0,void 0,function*(){try{for(oe=(0,n.KL)(H);!(Ie=yield oe.next()).done;)if(xe.next(Ie.value),xe.closed)return}catch(ft){Re={error:ft}}finally{try{Ie&&!Ie.done&&($e=oe.return)&&(yield $e.call(oe))}finally{if(Re)throw Re.error}}xe.complete()})})(H,xe).catch(oe=>xe.error(oe))})}},3019:(Mt,je,g)=>{g.d(je,{T:()=>Se});var n=g(7537),l=g(4829),R=g(6232),S=g(9940),te=g(7715);function Se(...le){const ke=(0,S.yG)(le),ue=(0,S._6)(le,1/0),ie=le;return ie.length?1===ie.length?(0,l.Xf)(ie[0]):(0,n.J)(ue)((0,te.D)(ie,ke)):R.E}},2096:(Mt,je,g)=>{g.d(je,{of:()=>R});var n=g(9940),l=g(7715);function R(...S){const te=(0,n.yG)(S);return(0,l.D)(S,te)}},8504:(Mt,je,g)=>{g.d(je,{_:()=>R});var n=g(5592),l=g(4674);function R(S,te){const Se=(0,l.m)(S)?S:()=>S,le=ke=>ke.error(Se());return new n.y(te?ke=>te.schedule(le,0,ke):le)}},4825:(Mt,je,g)=>{g.d(je,{H:()=>te});var n=g(5592),l=g(6321),R=g(671);function te(Se=0,le,ke=l.P){let ue=-1;return null!=le&&((0,R.K)(le)?ke=le:ue=le),new n.y(ie=>{let we=function S(Se){return Se instanceof Date&&!isNaN(Se)}(Se)?+Se-ke.now():Se;we<0&&(we=0);let fe=0;return ke.schedule(function(){ie.closed||(ie.next(fe++),0<=ue?this.schedule(void 0,ue):ie.complete())},we)})}},8251:(Mt,je,g)=>{g.d(je,{x:()=>l});var n=g(305);function l(S,te,Se,le,ke){return new R(S,te,Se,le,ke)}class R extends n.Lv{constructor(te,Se,le,ke,ue,ie){super(te),this.onFinalize=ue,this.shouldUnsubscribe=ie,this._next=Se?function(we){try{Se(we)}catch(fe){te.error(fe)}}:super._next,this._error=ke?function(we){try{ke(we)}catch(fe){te.error(fe)}finally{this.unsubscribe()}}:super._error,this._complete=le?function(){try{le()}catch(we){te.error(we)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var te;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:Se}=this;super.unsubscribe(),!Se&&(null===(te=this.onFinalize)||void 0===te||te.call(this))}}}},9028:(Mt,je,g)=>{g.d(je,{e:()=>le});var n=g(6321),l=g(9360),R=g(4829),S=g(8251),Se=g(4825);function le(ke,ue=n.z){return function te(ke){return(0,l.e)((ue,ie)=>{let we=!1,fe=null,me=null,Te=!1;const Le=()=>{if(me?.unsubscribe(),me=null,we){we=!1;const be=fe;fe=null,ie.next(be)}Te&&ie.complete()},Ue=()=>{me=null,Te&&ie.complete()};ue.subscribe((0,S.x)(ie,be=>{we=!0,fe=be,me||(0,R.Xf)(ke(be)).subscribe(me=(0,S.x)(ie,Le,Ue))},()=>{Te=!0,(!we||!me||me.closed)&&ie.complete()}))})}(()=>(0,Se.H)(ke,ue))}},6306:(Mt,je,g)=>{g.d(je,{K:()=>S});var n=g(4829),l=g(8251),R=g(9360);function S(te){return(0,R.e)((Se,le)=>{let ie,ke=null,ue=!1;ke=Se.subscribe((0,l.x)(le,void 0,void 0,we=>{ie=(0,n.Xf)(te(we,S(te)(Se))),ke?(ke.unsubscribe(),ke=null,ie.subscribe(le)):ue=!0})),ue&&(ke.unsubscribe(),ke=null,ie.subscribe(le))})}},6328:(Mt,je,g)=>{g.d(je,{b:()=>R});var n=g(1631),l=g(4674);function R(S,te){return(0,l.m)(te)?(0,n.z)(S,te,1):(0,n.z)(S,1)}},3620:(Mt,je,g)=>{g.d(je,{b:()=>S});var n=g(6321),l=g(9360),R=g(8251);function S(te,Se=n.z){return(0,l.e)((le,ke)=>{let ue=null,ie=null,we=null;const fe=()=>{if(ue){ue.unsubscribe(),ue=null;const Te=ie;ie=null,ke.next(Te)}};function me(){const Te=we+te,Le=Se.now();if(Le{ie=Te,we=Se.now(),ue||(ue=Se.schedule(me,te),ke.add(ue))},()=>{fe(),ke.complete()},void 0,()=>{ie=ue=null}))})}},3997:(Mt,je,g)=>{g.d(je,{x:()=>S});var n=g(2737),l=g(9360),R=g(8251);function S(Se,le=n.y){return Se=Se??te,(0,l.e)((ke,ue)=>{let ie,we=!0;ke.subscribe((0,R.x)(ue,fe=>{const me=le(fe);(we||!Se(ie,me))&&(we=!1,ie=me,ue.next(fe))}))})}function te(Se,le){return Se===le}},2181:(Mt,je,g)=>{g.d(je,{h:()=>R});var n=g(9360),l=g(8251);function R(S,te){return(0,n.e)((Se,le)=>{let ke=0;Se.subscribe((0,l.x)(le,ue=>S.call(te,ue,ke++)&&le.next(ue)))})}},4716:(Mt,je,g)=>{g.d(je,{x:()=>l});var n=g(9360);function l(R){return(0,n.e)((S,te)=>{try{S.subscribe(te)}finally{te.add(R)}})}},7398:(Mt,je,g)=>{g.d(je,{U:()=>R});var n=g(9360),l=g(8251);function R(S,te){return(0,n.e)((Se,le)=>{let ke=0;Se.subscribe((0,l.x)(le,ue=>{le.next(S.call(te,ue,ke++))}))})}},7537:(Mt,je,g)=>{g.d(je,{J:()=>R});var n=g(1631),l=g(2737);function R(S=1/0){return(0,n.z)(l.y,S)}},1631:(Mt,je,g)=>{g.d(je,{z:()=>ke});var n=g(7398),l=g(4829),R=g(9360),S=g(7103),te=g(8251),le=g(4674);function ke(ue,ie,we=1/0){return(0,le.m)(ie)?ke((fe,me)=>(0,n.U)((Te,Le)=>ie(fe,Te,me,Le))((0,l.Xf)(ue(fe,me))),we):("number"==typeof ie&&(we=ie),(0,R.e)((fe,me)=>function Se(ue,ie,we,fe,me,Te,Le,Ue){const be=[];let ye=0,Je=0,ve=!1;const H=()=>{ve&&!be.length&&!ye&&ie.complete()},xe=Ie=>ye{Te&&ie.next(Ie),ye++;let Re=!1;(0,l.Xf)(we(Ie,Je++)).subscribe((0,te.x)(ie,$e=>{me?.($e),Te?xe($e):ie.next($e)},()=>{Re=!0},void 0,()=>{if(Re)try{for(ye--;be.length&&yeoe($e)):oe($e)}H()}catch($e){ie.error($e)}}))};return ue.subscribe((0,te.x)(ie,xe,()=>{ve=!0,H()})),()=>{Ue?.()}}(fe,me,ue,we)))}},3020:(Mt,je,g)=>{g.d(je,{B:()=>te});var n=g(4829),l=g(8645),R=g(305),S=g(9360);function te(le={}){const{connector:ke=(()=>new l.x),resetOnError:ue=!0,resetOnComplete:ie=!0,resetOnRefCountZero:we=!0}=le;return fe=>{let me,Te,Le,Ue=0,be=!1,ye=!1;const Je=()=>{Te?.unsubscribe(),Te=void 0},ve=()=>{Je(),me=Le=void 0,be=ye=!1},H=()=>{const xe=me;ve(),xe?.unsubscribe()};return(0,S.e)((xe,oe)=>{Ue++,!ye&&!be&&Je();const Ie=Le=Le??ke();oe.add(()=>{Ue--,0===Ue&&!ye&&!be&&(Te=Se(H,we))}),Ie.subscribe(oe),!me&&Ue>0&&(me=new R.Hp({next:Re=>Ie.next(Re),error:Re=>{ye=!0,Je(),Te=Se(ve,ue,Re),Ie.error(Re)},complete:()=>{be=!0,Je(),Te=Se(ve,ie),Ie.complete()}}),(0,n.Xf)(xe).subscribe(me))})(fe)}}function Se(le,ke,...ue){if(!0===ke)return void le();if(!1===ke)return;const ie=new R.Hp({next:()=>{ie.unsubscribe(),le()}});return(0,n.Xf)(ke(...ue)).subscribe(ie)}},836:(Mt,je,g)=>{g.d(je,{T:()=>l});var n=g(2181);function l(R){return(0,n.h)((S,te)=>R<=te)}},7921:(Mt,je,g)=>{g.d(je,{O:()=>S});var n=g(5211),l=g(9940),R=g(9360);function S(...te){const Se=(0,l.yG)(te);return(0,R.e)((le,ke)=>{(Se?(0,n.z)(te,le,Se):(0,n.z)(te,le)).subscribe(ke)})}},4664:(Mt,je,g)=>{g.d(je,{w:()=>S});var n=g(4829),l=g(9360),R=g(8251);function S(te,Se){return(0,l.e)((le,ke)=>{let ue=null,ie=0,we=!1;const fe=()=>we&&!ue&&ke.complete();le.subscribe((0,R.x)(ke,me=>{ue?.unsubscribe();let Te=0;const Le=ie++;(0,n.Xf)(te(me,Le)).subscribe(ue=(0,R.x)(ke,Ue=>ke.next(Se?Se(me,Ue,Le,Te++):Ue),()=>{ue=null,fe()}))},()=>{we=!0,fe()}))})}},8180:(Mt,je,g)=>{g.d(je,{q:()=>S});var n=g(6232),l=g(9360),R=g(8251);function S(te){return te<=0?()=>n.E:(0,l.e)((Se,le)=>{let ke=0;Se.subscribe((0,R.x)(le,ue=>{++ke<=te&&(le.next(ue),te<=ke&&le.complete())}))})}},9773:(Mt,je,g)=>{g.d(je,{R:()=>te});var n=g(9360),l=g(8251),R=g(4829),S=g(2420);function te(Se){return(0,n.e)((le,ke)=>{(0,R.Xf)(Se).subscribe((0,l.x)(ke,()=>ke.complete(),S.Z)),!ke.closed&&le.subscribe(ke)})}},9397:(Mt,je,g)=>{g.d(je,{b:()=>te});var n=g(4674),l=g(9360),R=g(8251),S=g(2737);function te(Se,le,ke){const ue=(0,n.m)(Se)||le||ke?{next:Se,error:le,complete:ke}:Se;return ue?(0,l.e)((ie,we)=>{var fe;null===(fe=ue.subscribe)||void 0===fe||fe.call(ue);let me=!0;ie.subscribe((0,R.x)(we,Te=>{var Le;null===(Le=ue.next)||void 0===Le||Le.call(ue,Te),we.next(Te)},()=>{var Te;me=!1,null===(Te=ue.complete)||void 0===Te||Te.call(ue),we.complete()},Te=>{var Le;me=!1,null===(Le=ue.error)||void 0===Le||Le.call(ue,Te),we.error(Te)},()=>{var Te,Le;me&&(null===(Te=ue.unsubscribe)||void 0===Te||Te.call(ue)),null===(Le=ue.finalize)||void 0===Le||Le.call(ue)}))}):S.y}},1954:(Mt,je,g)=>{g.d(je,{o:()=>te});var n=g(7394);class l extends n.w0{constructor(le,ke){super()}schedule(le,ke=0){return this}}const R={setInterval(Se,le,...ke){const{delegate:ue}=R;return ue?.setInterval?ue.setInterval(Se,le,...ke):setInterval(Se,le,...ke)},clearInterval(Se){const{delegate:le}=R;return(le?.clearInterval||clearInterval)(Se)},delegate:void 0};var S=g(9039);class te extends l{constructor(le,ke){super(le,ke),this.scheduler=le,this.work=ke,this.pending=!1}schedule(le,ke=0){var ue;if(this.closed)return this;this.state=le;const ie=this.id,we=this.scheduler;return null!=ie&&(this.id=this.recycleAsyncId(we,ie,ke)),this.pending=!0,this.delay=ke,this.id=null!==(ue=this.id)&&void 0!==ue?ue:this.requestAsyncId(we,this.id,ke),this}requestAsyncId(le,ke,ue=0){return R.setInterval(le.flush.bind(le,this),ue)}recycleAsyncId(le,ke,ue=0){if(null!=ue&&this.delay===ue&&!1===this.pending)return ke;null!=ke&&R.clearInterval(ke)}execute(le,ke){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const ue=this._execute(le,ke);if(ue)return ue;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(le,ke){let ie,ue=!1;try{this.work(le)}catch(we){ue=!0,ie=we||new Error("Scheduled action threw falsy error")}if(ue)return this.unsubscribe(),ie}unsubscribe(){if(!this.closed){const{id:le,scheduler:ke}=this,{actions:ue}=ke;this.work=this.state=this.scheduler=null,this.pending=!1,(0,S.P)(ue,this),null!=le&&(this.id=this.recycleAsyncId(ke,le,null)),this.delay=null,super.unsubscribe()}}}},2631:(Mt,je,g)=>{g.d(je,{v:()=>R});var n=g(4552);class l{constructor(te,Se=l.now){this.schedulerActionCtor=te,this.now=Se}schedule(te,Se=0,le){return new this.schedulerActionCtor(this,te).schedule(le,Se)}}l.now=n.l.now;class R extends l{constructor(te,Se=l.now){super(te,Se),this.actions=[],this._active=!1}flush(te){const{actions:Se}=this;if(this._active)return void Se.push(te);let le;this._active=!0;do{if(le=te.execute(te.state,te.delay))break}while(te=Se.shift());if(this._active=!1,le){for(;te=Se.shift();)te.unsubscribe();throw le}}}},927:(Mt,je,g)=>{g.d(je,{Z:()=>le});var n=g(1954),l=g(7394);const R={schedule(ue){let ie=requestAnimationFrame,we=cancelAnimationFrame;const{delegate:fe}=R;fe&&(ie=fe.requestAnimationFrame,we=fe.cancelAnimationFrame);const me=ie(Te=>{we=void 0,ue(Te)});return new l.w0(()=>we?.(me))},requestAnimationFrame(...ue){const{delegate:ie}=R;return(ie?.requestAnimationFrame||requestAnimationFrame)(...ue)},cancelAnimationFrame(...ue){const{delegate:ie}=R;return(ie?.cancelAnimationFrame||cancelAnimationFrame)(...ue)},delegate:void 0};var te=g(2631);const le=new class Se extends te.v{flush(ie){this._active=!0;const we=this._scheduled;this._scheduled=void 0;const{actions:fe}=this;let me;ie=ie||fe.shift();do{if(me=ie.execute(ie.state,ie.delay))break}while((ie=fe[0])&&ie.id===we&&fe.shift());if(this._active=!1,me){for(;(ie=fe[0])&&ie.id===we&&fe.shift();)ie.unsubscribe();throw me}}}(class S extends n.o{constructor(ie,we){super(ie,we),this.scheduler=ie,this.work=we}requestAsyncId(ie,we,fe=0){return null!==fe&&fe>0?super.requestAsyncId(ie,we,fe):(ie.actions.push(this),ie._scheduled||(ie._scheduled=R.requestAnimationFrame(()=>ie.flush(void 0))))}recycleAsyncId(ie,we,fe=0){var me;if(null!=fe?fe>0:this.delay>0)return super.recycleAsyncId(ie,we,fe);const{actions:Te}=ie;null!=we&&(null===(me=Te[Te.length-1])||void 0===me?void 0:me.id)!==we&&(R.cancelAnimationFrame(we),ie._scheduled=void 0)}})},6410:(Mt,je,g)=>{g.d(je,{E:()=>Te});var n=g(1954);let R,l=1;const S={};function te(Ue){return Ue in S&&(delete S[Ue],!0)}const Se={setImmediate(Ue){const be=l++;return S[be]=!0,R||(R=Promise.resolve()),R.then(()=>te(be)&&Ue()),be},clearImmediate(Ue){te(Ue)}},{setImmediate:ke,clearImmediate:ue}=Se,ie={setImmediate(...Ue){const{delegate:be}=ie;return(be?.setImmediate||ke)(...Ue)},clearImmediate(Ue){const{delegate:be}=ie;return(be?.clearImmediate||ue)(Ue)},delegate:void 0};var fe=g(2631);const Te=new class me extends fe.v{flush(be){this._active=!0;const ye=this._scheduled;this._scheduled=void 0;const{actions:Je}=this;let ve;be=be||Je.shift();do{if(ve=be.execute(be.state,be.delay))break}while((be=Je[0])&&be.id===ye&&Je.shift());if(this._active=!1,ve){for(;(be=Je[0])&&be.id===ye&&Je.shift();)be.unsubscribe();throw ve}}}(class we extends n.o{constructor(be,ye){super(be,ye),this.scheduler=be,this.work=ye}requestAsyncId(be,ye,Je=0){return null!==Je&&Je>0?super.requestAsyncId(be,ye,Je):(be.actions.push(this),be._scheduled||(be._scheduled=ie.setImmediate(be.flush.bind(be,void 0))))}recycleAsyncId(be,ye,Je=0){var ve;if(null!=Je?Je>0:this.delay>0)return super.recycleAsyncId(be,ye,Je);const{actions:H}=be;null!=ye&&(null===(ve=H[H.length-1])||void 0===ve?void 0:ve.id)!==ye&&(ie.clearImmediate(ye),be._scheduled===ye&&(be._scheduled=void 0))}})},6321:(Mt,je,g)=>{g.d(je,{P:()=>S,z:()=>R});var n=g(1954);const R=new(g(2631).v)(n.o),S=R},4552:(Mt,je,g)=>{g.d(je,{l:()=>n});const n={now:()=>(n.delegate||Date).now(),delegate:void 0}},7599:(Mt,je,g)=>{g.d(je,{z:()=>n});const n={setTimeout(l,R,...S){const{delegate:te}=n;return te?.setTimeout?te.setTimeout(l,R,...S):setTimeout(l,R,...S)},clearTimeout(l){const{delegate:R}=n;return(R?.clearTimeout||clearTimeout)(l)},delegate:void 0}},4971:(Mt,je,g)=>{g.d(je,{h:()=>l});const l=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(Mt,je,g)=>{g.d(je,{L:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},9940:(Mt,je,g)=>{g.d(je,{_6:()=>Se,jO:()=>S,yG:()=>te});var n=g(4674),l=g(671);function R(le){return le[le.length-1]}function S(le){return(0,n.m)(R(le))?le.pop():void 0}function te(le){return(0,l.K)(R(le))?le.pop():void 0}function Se(le,ke){return"number"==typeof R(le)?le.pop():ke}},7453:(Mt,je,g)=>{g.d(je,{D:()=>te});const{isArray:n}=Array,{getPrototypeOf:l,prototype:R,keys:S}=Object;function te(le){if(1===le.length){const ke=le[0];if(n(ke))return{args:ke,keys:null};if(function Se(le){return le&&"object"==typeof le&&l(le)===R}(ke)){const ue=S(ke);return{args:ue.map(ie=>ke[ie]),keys:ue}}}return{args:le,keys:null}}},9039:(Mt,je,g)=>{function n(l,R){if(l){const S=l.indexOf(R);0<=S&&l.splice(S,1)}}g.d(je,{P:()=>n})},2306:(Mt,je,g)=>{function n(l){const S=l(te=>{Error.call(te),te.stack=(new Error).stack});return S.prototype=Object.create(Error.prototype),S.prototype.constructor=S,S}g.d(je,{d:()=>n})},2714:(Mt,je,g)=>{function n(l,R){return l.reduce((S,te,Se)=>(S[te]=R[Se],S),{})}g.d(je,{n:()=>n})},1441:(Mt,je,g)=>{g.d(je,{O:()=>S,x:()=>R});var n=g(2653);let l=null;function R(te){if(n.config.useDeprecatedSynchronousErrorHandling){const Se=!l;if(Se&&(l={errorThrown:!1,error:null}),te(),Se){const{errorThrown:le,error:ke}=l;if(l=null,le)throw ke}}else te()}function S(te){n.config.useDeprecatedSynchronousErrorHandling&&l&&(l.errorThrown=!0,l.error=te)}},7103:(Mt,je,g)=>{function n(l,R,S,te=0,Se=!1){const le=R.schedule(function(){S(),Se?l.add(this.schedule(null,te)):this.unsubscribe()},te);if(l.add(le),!Se)return le}g.d(je,{f:()=>n})},2737:(Mt,je,g)=>{function n(l){return l}g.d(je,{y:()=>n})},4266:(Mt,je,g)=>{g.d(je,{z:()=>n});const n=l=>l&&"number"==typeof l.length&&"function"!=typeof l},5726:(Mt,je,g)=>{g.d(je,{D:()=>l});var n=g(4674);function l(R){return Symbol.asyncIterator&&(0,n.m)(R?.[Symbol.asyncIterator])}},4674:(Mt,je,g)=>{function n(l){return"function"==typeof l}g.d(je,{m:()=>n})},8382:(Mt,je,g)=>{g.d(je,{c:()=>R});var n=g(4850),l=g(4674);function R(S){return(0,l.m)(S[n.L])}},3664:(Mt,je,g)=>{g.d(je,{T:()=>R});var n=g(4971),l=g(4674);function R(S){return(0,l.m)(S?.[n.h])}},4026:(Mt,je,g)=>{g.d(je,{t:()=>l});var n=g(4674);function l(R){return(0,n.m)(R?.then)}},541:(Mt,je,g)=>{g.d(je,{L:()=>S,Q:()=>R});var n=g(7582),l=g(4674);function R(te){return(0,n.FC)(this,arguments,function*(){const le=te.getReader();try{for(;;){const{value:ke,done:ue}=yield(0,n.qq)(le.read());if(ue)return yield(0,n.qq)(void 0);yield yield(0,n.qq)(ke)}}finally{le.releaseLock()}})}function S(te){return(0,l.m)(te?.getReader)}},671:(Mt,je,g)=>{g.d(je,{K:()=>l});var n=g(4674);function l(R){return R&&(0,n.m)(R.schedule)}},9360:(Mt,je,g)=>{g.d(je,{A:()=>l,e:()=>R});var n=g(4674);function l(S){return(0,n.m)(S?.lift)}function R(S){return te=>{if(l(te))return te.lift(function(Se){try{return S(Se,this)}catch(le){this.error(le)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(Mt,je,g)=>{g.d(je,{Z:()=>S});var n=g(7398);const{isArray:l}=Array;function S(te){return(0,n.U)(Se=>function R(te,Se){return l(Se)?te(...Se):te(Se)}(te,Se))}},2420:(Mt,je,g)=>{function n(){}g.d(je,{Z:()=>n})},8407:(Mt,je,g)=>{g.d(je,{U:()=>R,z:()=>l});var n=g(2737);function l(...S){return R(S)}function R(S){return 0===S.length?n.y:1===S.length?S[0]:function(Se){return S.reduce((le,ke)=>ke(le),Se)}}},3894:(Mt,je,g)=>{g.d(je,{h:()=>R});var n=g(2653),l=g(7599);function R(S){l.z.setTimeout(()=>{const{onUnhandledError:te}=n.config;if(!te)throw S;te(S)})}},9853:(Mt,je,g)=>{function n(l){return new TypeError(`You provided ${null!==l&&"object"==typeof l?"an invalid object":`'${l}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}g.d(je,{z:()=>n})},6825:(Mt,je,g)=>{g.d(je,{F4:()=>ie,IO:()=>Le,LC:()=>l,SB:()=>ue,X$:()=>S,ZE:()=>ye,ZN:()=>be,_j:()=>n,eR:()=>we,jt:()=>te,k1:()=>Je,l3:()=>R,oB:()=>ke,pV:()=>me,vP:()=>le});class n{}class l{}const R="*";function S(ve,H){return{type:7,name:ve,definitions:H,options:{}}}function te(ve,H=null){return{type:4,styles:H,timings:ve}}function le(ve,H=null){return{type:2,steps:ve,options:H}}function ke(ve){return{type:6,styles:ve,offset:null}}function ue(ve,H,xe){return{type:0,name:ve,styles:H,options:xe}}function ie(ve){return{type:5,steps:ve}}function we(ve,H,xe=null){return{type:1,expr:ve,animation:H,options:xe}}function me(ve=null){return{type:9,options:ve}}function Le(ve,H,xe=null){return{type:11,selector:ve,animation:H,options:xe}}class be{constructor(H=0,xe=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=H+xe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(H=>H()),this._onDoneFns=[])}onStart(H){this._originalOnStartFns.push(H),this._onStartFns.push(H)}onDone(H){this._originalOnDoneFns.push(H),this._onDoneFns.push(H)}onDestroy(H){this._onDestroyFns.push(H)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(H=>H()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(H=>H()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(H){this._position=this.totalTime?H*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(H){const xe="start"==H?this._onStartFns:this._onDoneFns;xe.forEach(oe=>oe()),xe.length=0}}class ye{constructor(H){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=H;let xe=0,oe=0,Ie=0;const Re=this.players.length;0==Re?queueMicrotask(()=>this._onFinish()):this.players.forEach($e=>{$e.onDone(()=>{++xe==Re&&this._onFinish()}),$e.onDestroy(()=>{++oe==Re&&this._onDestroy()}),$e.onStart(()=>{++Ie==Re&&this._onStart()})}),this.totalTime=this.players.reduce(($e,ft)=>Math.max($e,ft.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(H=>H()),this._onDoneFns=[])}init(){this.players.forEach(H=>H.init())}onStart(H){this._onStartFns.push(H)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(H=>H()),this._onStartFns=[])}onDone(H){this._onDoneFns.push(H)}onDestroy(H){this._onDestroyFns.push(H)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(H=>H.play())}pause(){this.players.forEach(H=>H.pause())}restart(){this.players.forEach(H=>H.restart())}finish(){this._onFinish(),this.players.forEach(H=>H.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(H=>H.destroy()),this._onDestroyFns.forEach(H=>H()),this._onDestroyFns=[])}reset(){this.players.forEach(H=>H.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(H){const xe=H*this.totalTime;this.players.forEach(oe=>{const Ie=oe.totalTime?Math.min(1,xe/oe.totalTime):1;oe.setPosition(Ie)})}getPosition(){const H=this.players.reduce((xe,oe)=>null===xe||oe.totalTime>xe.totalTime?oe:xe,null);return null!=H?H.getPosition():0}beforeDestroy(){this.players.forEach(H=>{H.beforeDestroy&&H.beforeDestroy()})}triggerCallback(H){const xe="start"==H?this._onStartFns:this._onDoneFns;xe.forEach(oe=>oe()),xe.length=0}}const Je="!"},4191:(Mt,je,g)=>{g.d(je,{rt:()=>ut,s1:()=>He,$s:()=>G,kH:()=>ge,Em:()=>Ze,tE:()=>Yt,qm:()=>Ae,Kd:()=>Nt,Zf:()=>Xe,X6:()=>Bt,yG:()=>Vt,iD:()=>Ct});var n=g(6814),l=g(5879),R=g(2831),S=g(8645),te=g(7394),Se=g(5619),le=g(2096),ke=g(6028),ue=g(9397),ie=g(3620),we=g(2181),fe=g(7398),me=g(836),Te=g(3997),Le=g(9773),Ue=g(2495),be=g(7131),ye=g(2572),Je=g(5211),ve=g(5592),H=g(8180),xe=g(7921);const Ie=new Set;let Re,$e=(()=>{class Pe{constructor(z,D){this._platform=z,this._nonce=D,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):bt}matchMedia(z){return(this._platform.WEBKIT||this._platform.BLINK)&&function ft(Pe,ee){if(!Ie.has(Pe))try{Re||(Re=document.createElement("style"),ee&&(Re.nonce=ee),Re.setAttribute("type","text/css"),document.head.appendChild(Re)),Re.sheet&&(Re.sheet.insertRule(`@media ${Pe} {body{ }}`,0),Ie.add(Pe))}catch(z){console.error(z)}}(z,this._nonce),this._matchMedia(z)}static#e=this.\u0275fac=function(D){return new(D||Pe)(l.LFG(R.t4),l.LFG(l.Ojb,8))};static#t=this.\u0275prov=l.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"})}return Pe})();function bt(Pe){return{matches:"all"===Pe||""===Pe,media:Pe,addListener:()=>{},removeListener:()=>{}}}let Dt=(()=>{class Pe{constructor(z,D){this._mediaMatcher=z,this._zone=D,this._queries=new Map,this._destroySubject=new S.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(z){return Ut((0,Ue.Eq)(z)).some(B=>this._registerQuery(B).mql.matches)}observe(z){const B=Ut((0,Ue.Eq)(z)).map(X=>this._registerQuery(X).observable);let he=(0,ye.a)(B);return he=(0,Je.z)(he.pipe((0,H.q)(1)),he.pipe((0,me.T)(1),(0,ie.b)(0))),he.pipe((0,fe.U)(X=>{const ne={matches:!1,breakpoints:{}};return X.forEach(({matches:Oe,query:nt})=>{ne.matches=ne.matches||Oe,ne.breakpoints[nt]=Oe}),ne}))}_registerQuery(z){if(this._queries.has(z))return this._queries.get(z);const D=this._mediaMatcher.matchMedia(z),he={observable:new ve.y(X=>{const ne=Oe=>this._zone.run(()=>X.next(Oe));return D.addListener(ne),()=>{D.removeListener(ne)}}).pipe((0,xe.O)(D),(0,fe.U)(({matches:X})=>({query:z,matches:X})),(0,Le.R)(this._destroySubject)),mql:D};return this._queries.set(z,he),he}static#e=this.\u0275fac=function(D){return new(D||Pe)(l.LFG($e),l.LFG(l.R0b))};static#t=this.\u0275prov=l.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"})}return Pe})();function Ut(Pe){return Pe.map(ee=>ee.split(",")).reduce((ee,z)=>ee.concat(z)).map(ee=>ee.trim())}const an=" ";function Xe(Pe,ee,z){const D=W(Pe,ee);D.some(B=>B.trim()==z.trim())||(D.push(z.trim()),Pe.setAttribute(ee,D.join(an)))}function Ct(Pe,ee,z){const B=W(Pe,ee).filter(he=>he!=z.trim());B.length?Pe.setAttribute(ee,B.join(an)):Pe.removeAttribute(ee)}function W(Pe,ee){return(Pe.getAttribute(ee)||"").match(/\S+/g)||[]}const se="cdk-describedby-message",L="cdk-describedby-host";let Ce=0,G=(()=>{class Pe{constructor(z,D){this._platform=D,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Ce++,this._document=z,this._id=(0,l.f3M)(l.AFp)+"-"+Ce++}describe(z,D,B){if(!this._canBeDescribed(z,D))return;const he=$(D,B);"string"!=typeof D?(Be(D,this._id),this._messageRegistry.set(he,{messageElement:D,referenceCount:0})):this._messageRegistry.has(he)||this._createMessageElement(D,B),this._isElementDescribedByMessage(z,he)||this._addMessageReference(z,he)}removeDescription(z,D,B){if(!D||!this._isElementNode(z))return;const he=$(D,B);if(this._isElementDescribedByMessage(z,he)&&this._removeMessageReference(z,he),"string"==typeof D){const X=this._messageRegistry.get(he);X&&0===X.referenceCount&&this._deleteMessageElement(he)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const z=this._document.querySelectorAll(`[${L}="${this._id}"]`);for(let D=0;D0!=B.indexOf(se));z.setAttribute("aria-describedby",D.join(" "))}_addMessageReference(z,D){const B=this._messageRegistry.get(D);Xe(z,"aria-describedby",B.messageElement.id),z.setAttribute(L,this._id),B.referenceCount++}_removeMessageReference(z,D){const B=this._messageRegistry.get(D);B.referenceCount--,Ct(z,"aria-describedby",B.messageElement.id),z.removeAttribute(L)}_isElementDescribedByMessage(z,D){const B=W(z,"aria-describedby"),he=this._messageRegistry.get(D),X=he&&he.messageElement.id;return!!X&&-1!=B.indexOf(X)}_canBeDescribed(z,D){if(!this._isElementNode(z))return!1;if(D&&"object"==typeof D)return!0;const B=null==D?"":`${D}`.trim(),he=z.getAttribute("aria-label");return!(!B||he&&he.trim()===B)}_isElementNode(z){return z.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(D){return new(D||Pe)(l.LFG(n.K0),l.LFG(R.t4))};static#t=this.\u0275prov=l.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"})}return Pe})();function $(Pe,ee){return"string"==typeof Pe?`${ee||""}/${Pe}`:Pe}function Be(Pe,ee){Pe.id||(Pe.id=`${se}-${ee}-${Ce++}`)}class ae{constructor(ee){this._items=ee,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new S.x,this._typeaheadSubscription=te.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=z=>z.disabled,this._pressedLetters=[],this.tabOut=new S.x,this.change=new S.x,ee instanceof l.n_E&&(this._itemChangesSubscription=ee.changes.subscribe(z=>{if(this._activeItem){const B=z.toArray().indexOf(this._activeItem);B>-1&&B!==this._activeItemIndex&&(this._activeItemIndex=B)}}))}skipPredicate(ee){return this._skipPredicateFn=ee,this}withWrap(ee=!0){return this._wrap=ee,this}withVerticalOrientation(ee=!0){return this._vertical=ee,this}withHorizontalOrientation(ee){return this._horizontal=ee,this}withAllowedModifierKeys(ee){return this._allowedModifierKeys=ee,this}withTypeAhead(ee=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,ue.b)(z=>this._pressedLetters.push(z)),(0,ie.b)(ee),(0,we.h)(()=>this._pressedLetters.length>0),(0,fe.U)(()=>this._pressedLetters.join(""))).subscribe(z=>{const D=this._getItemsArray();for(let B=1;B!ee[he]||this._allowedModifierKeys.indexOf(he)>-1);switch(z){case ke.Mf:return void this.tabOut.next();case ke.JH:if(this._vertical&&B){this.setNextItemActive();break}return;case ke.LH:if(this._vertical&&B){this.setPreviousItemActive();break}return;case ke.SV:if(this._horizontal&&B){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case ke.oh:if(this._horizontal&&B){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case ke.Sd:if(this._homeAndEnd&&B){this.setFirstItemActive();break}return;case ke.uR:if(this._homeAndEnd&&B){this.setLastItemActive();break}return;case ke.Ku:if(this._pageUpAndDown.enabled&&B){const he=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(he>0?he:0,1);break}return;case ke.VM:if(this._pageUpAndDown.enabled&&B){const he=this._activeItemIndex+this._pageUpAndDown.delta,X=this._getItemsArray().length;this._setActiveItemByIndex(he=ke.A&&z<=ke.Z||z>=ke.xE&&z<=ke.aO)&&this._letterKeyStream.next(String.fromCharCode(z))))}this._pressedLetters=[],ee.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(ee){const z=this._getItemsArray(),D="number"==typeof ee?ee:z.indexOf(ee);this._activeItem=z[D]??null,this._activeItemIndex=D}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(ee){this._wrap?this._setActiveInWrapMode(ee):this._setActiveInDefaultMode(ee)}_setActiveInWrapMode(ee){const z=this._getItemsArray();for(let D=1;D<=z.length;D++){const B=(this._activeItemIndex+ee*D+z.length)%z.length;if(!this._skipPredicateFn(z[B]))return void this.setActiveItem(B)}}_setActiveInDefaultMode(ee){this._setActiveItemByIndex(this._activeItemIndex+ee,ee)}_setActiveItemByIndex(ee,z){const D=this._getItemsArray();if(D[ee]){for(;this._skipPredicateFn(D[ee]);)if(!D[ee+=z])return;this.setActiveItem(ee)}}_getItemsArray(){return this._items instanceof l.n_E?this._items.toArray():this._items}}class He extends ae{setActiveItem(ee){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(ee),this.activeItem&&this.activeItem.setActiveStyles()}}class Ze extends ae{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(ee){return this._origin=ee,this}setActiveItem(ee){super.setActiveItem(ee),this.activeItem&&this.activeItem.focus(this._origin)}}function Bt(Pe){return 0===Pe.buttons||0===Pe.offsetX&&0===Pe.offsetY}function Vt(Pe){const ee=Pe.touches&&Pe.touches[0]||Pe.changedTouches&&Pe.changedTouches[0];return!(!ee||-1!==ee.identifier||null!=ee.radiusX&&1!==ee.radiusX||null!=ee.radiusY&&1!==ee.radiusY)}const Ft=new l.OlP("cdk-input-modality-detector-options"),Cn={ignoreKeys:[ke.zL,ke.jx,ke.b2,ke.MW,ke.JU]},nn=(0,R.i$)({passive:!0,capture:!0});let pn=(()=>{class Pe{get mostRecentModality(){return this._modality.value}constructor(z,D,B,he){this._platform=z,this._mostRecentTarget=null,this._modality=new Se.X(null),this._lastTouchMs=0,this._onKeydown=X=>{this._options?.ignoreKeys?.some(ne=>ne===X.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,R.sA)(X))},this._onMousedown=X=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Bt(X)?"keyboard":"mouse"),this._mostRecentTarget=(0,R.sA)(X))},this._onTouchstart=X=>{Vt(X)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,R.sA)(X))},this._options={...Cn,...he},this.modalityDetected=this._modality.pipe((0,me.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,Te.x)()),z.isBrowser&&D.runOutsideAngular(()=>{B.addEventListener("keydown",this._onKeydown,nn),B.addEventListener("mousedown",this._onMousedown,nn),B.addEventListener("touchstart",this._onTouchstart,nn)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,nn),document.removeEventListener("mousedown",this._onMousedown,nn),document.removeEventListener("touchstart",this._onTouchstart,nn))}static#e=this.\u0275fac=function(D){return new(D||Pe)(l.LFG(R.t4),l.LFG(l.R0b),l.LFG(n.K0),l.LFG(Ft,8))};static#t=this.\u0275prov=l.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"})}return Pe})();const bn=new l.OlP("liveAnnouncerElement",{providedIn:"root",factory:function In(){return null}}),Tn=new l.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let at=0,Nt=(()=>{class Pe{constructor(z,D,B,he){this._ngZone=D,this._defaultOptions=he,this._document=B,this._liveElement=z||this._createLiveElement()}announce(z,...D){const B=this._defaultOptions;let he,X;return 1===D.length&&"number"==typeof D[0]?X=D[0]:[he,X]=D,this.clear(),clearTimeout(this._previousTimeout),he||(he=B&&B.politeness?B.politeness:"polite"),null==X&&B&&(X=B.duration),this._liveElement.setAttribute("aria-live",he),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(ne=>this._currentResolve=ne)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=z,"number"==typeof X&&(this._previousTimeout=setTimeout(()=>this.clear(),X)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const z="cdk-live-announcer-element",D=this._document.getElementsByClassName(z),B=this._document.createElement("div");for(let he=0;he .cdk-overlay-container [aria-modal="true"]');for(let B=0;B{class Pe{constructor(z,D,B,he,X){this._ngZone=z,this._platform=D,this._inputModalityDetector=B,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new S.x,this._rootNodeFocusAndBlurListener=ne=>{for(let nt=(0,R.sA)(ne);nt;nt=nt.parentElement)"focus"===ne.type?this._onFocus(ne,nt):this._onBlur(ne,nt)},this._document=he,this._detectionMode=X?.detectionMode||0}monitor(z,D=!1){const B=(0,Ue.fI)(z);if(!this._platform.isBrowser||1!==B.nodeType)return(0,le.of)();const he=(0,R.kV)(B)||this._getDocument(),X=this._elementInfo.get(B);if(X)return D&&(X.checkChildren=!0),X.subject;const ne={checkChildren:D,subject:new S.x,rootNode:he};return this._elementInfo.set(B,ne),this._registerGlobalListeners(ne),ne.subject}stopMonitoring(z){const D=(0,Ue.fI)(z),B=this._elementInfo.get(D);B&&(B.subject.complete(),this._setClasses(D),this._elementInfo.delete(D),this._removeGlobalListeners(B))}focusVia(z,D,B){const he=(0,Ue.fI)(z);he===this._getDocument().activeElement?this._getClosestElementsInfo(he).forEach(([ne,Oe])=>this._originChanged(ne,D,Oe)):(this._setOrigin(D),"function"==typeof he.focus&&he.focus(B))}ngOnDestroy(){this._elementInfo.forEach((z,D)=>this.stopMonitoring(D))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(z){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(z)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:z&&this._isLastInteractionFromInputLabel(z)?"mouse":"program"}_shouldBeAttributedToTouch(z){return 1===this._detectionMode||!!z?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(z,D){z.classList.toggle("cdk-focused",!!D),z.classList.toggle("cdk-touch-focused","touch"===D),z.classList.toggle("cdk-keyboard-focused","keyboard"===D),z.classList.toggle("cdk-mouse-focused","mouse"===D),z.classList.toggle("cdk-program-focused","program"===D)}_setOrigin(z,D=!1){this._ngZone.runOutsideAngular(()=>{this._origin=z,this._originFromTouchInteraction="touch"===z&&D,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(z,D){const B=this._elementInfo.get(D),he=(0,R.sA)(z);!B||!B.checkChildren&&D!==he||this._originChanged(D,this._getFocusOrigin(he),B)}_onBlur(z,D){const B=this._elementInfo.get(D);!B||B.checkChildren&&z.relatedTarget instanceof Node&&D.contains(z.relatedTarget)||(this._setClasses(D),this._emitOrigin(B,null))}_emitOrigin(z,D){z.subject.observers.length&&this._ngZone.run(()=>z.subject.next(D))}_registerGlobalListeners(z){if(!this._platform.isBrowser)return;const D=z.rootNode,B=this._rootNodeFocusListenerCount.get(D)||0;B||this._ngZone.runOutsideAngular(()=>{D.addEventListener("focus",this._rootNodeFocusAndBlurListener,gt),D.addEventListener("blur",this._rootNodeFocusAndBlurListener,gt)}),this._rootNodeFocusListenerCount.set(D,B+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Le.R)(this._stopInputModalityDetector)).subscribe(he=>{this._setOrigin(he,!0)}))}_removeGlobalListeners(z){const D=z.rootNode;if(this._rootNodeFocusListenerCount.has(D)){const B=this._rootNodeFocusListenerCount.get(D);B>1?this._rootNodeFocusListenerCount.set(D,B-1):(D.removeEventListener("focus",this._rootNodeFocusAndBlurListener,gt),D.removeEventListener("blur",this._rootNodeFocusAndBlurListener,gt),this._rootNodeFocusListenerCount.delete(D))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(z,D,B){this._setClasses(z,D),this._emitOrigin(B,D),this._lastFocusOrigin=D}_getClosestElementsInfo(z){const D=[];return this._elementInfo.forEach((B,he)=>{(he===z||B.checkChildren&&he.contains(z))&&D.push([he,B])}),D}_isLastInteractionFromInputLabel(z){const{_mostRecentTarget:D,mostRecentModality:B}=this._inputModalityDetector;if("mouse"!==B||!D||D===z||"INPUT"!==z.nodeName&&"TEXTAREA"!==z.nodeName||z.disabled)return!1;const he=z.labels;if(he)for(let X=0;X{class Pe{constructor(z,D){this._elementRef=z,this._focusMonitor=D,this._focusOrigin=null,this.cdkFocusChange=new l.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const z=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(z,1===z.nodeType&&z.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(D=>{this._focusOrigin=D,this.cdkFocusChange.emit(D)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(D){return new(D||Pe)(l.Y36(l.SBq),l.Y36(Yt))};static#t=this.\u0275dir=l.lG2({type:Pe,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return Pe})();const J="cdk-high-contrast-black-on-white",I="cdk-high-contrast-white-on-black",Y="cdk-high-contrast-active";let Ae=(()=>{class Pe{constructor(z,D){this._platform=z,this._document=D,this._breakpointSubscription=(0,l.f3M)(Dt).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const z=this._document.createElement("div");z.style.backgroundColor="rgb(1,2,3)",z.style.position="absolute",this._document.body.appendChild(z);const D=this._document.defaultView||window,B=D&&D.getComputedStyle?D.getComputedStyle(z):null,he=(B&&B.backgroundColor||"").replace(/ /g,"");switch(z.remove(),he){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const z=this._document.body.classList;z.remove(Y,J,I),this._hasCheckedHighContrastMode=!0;const D=this.getHighContrastMode();1===D?z.add(Y,J):2===D&&z.add(Y,I)}}static#e=this.\u0275fac=function(D){return new(D||Pe)(l.LFG(R.t4),l.LFG(n.K0))};static#t=this.\u0275prov=l.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"})}return Pe})(),ut=(()=>{class Pe{constructor(z){z._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(D){return new(D||Pe)(l.LFG(Ae))};static#t=this.\u0275mod=l.oAB({type:Pe});static#n=this.\u0275inj=l.cJS({imports:[be.Q8]})}return Pe})()},9388:(Mt,je,g)=>{g.d(je,{Is:()=>le,vT:()=>ue});var n=g(5879),l=g(6814);const R=new n.OlP("cdk-dir-doc",{providedIn:"root",factory:function S(){return(0,n.f3M)(l.K0)}}),te=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let le=(()=>{class ie{constructor(fe){this.value="ltr",this.change=new n.vpe,fe&&(this.value=function Se(ie){const we=ie?.toLowerCase()||"";return"auto"===we&&typeof navigator<"u"&&navigator?.language?te.test(navigator.language)?"rtl":"ltr":"rtl"===we?"rtl":"ltr"}((fe.body?fe.body.dir:null)||(fe.documentElement?fe.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(me){return new(me||ie)(n.LFG(R,8))};static#t=this.\u0275prov=n.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"})}return ie})(),ue=(()=>{class ie{static#e=this.\u0275fac=function(me){return new(me||ie)};static#t=this.\u0275mod=n.oAB({type:ie});static#n=this.\u0275inj=n.cJS({})}return ie})()},2495:(Mt,je,g)=>{g.d(je,{Eq:()=>te,HM:()=>Se,Ig:()=>l,fI:()=>le,su:()=>R});var n=g(5879);function l(ue){return null!=ue&&"false"!=`${ue}`}function R(ue,ie=0){return function S(ue){return!isNaN(parseFloat(ue))&&!isNaN(Number(ue))}(ue)?Number(ue):ie}function te(ue){return Array.isArray(ue)?ue:[ue]}function Se(ue){return null==ue?"":"string"==typeof ue?ue:`${ue}px`}function le(ue){return ue instanceof n.SBq?ue.nativeElement:ue}},8337:(Mt,je,g)=>{g.d(je,{A8:()=>ie,Ov:()=>ke});var n=g(8645),l=g(5879);class ke{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(me=!1,Te,Le=!0,Ue){this._multiple=me,this._emitChanges=Le,this.compareWith=Ue,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new n.x,Te&&Te.length&&(me?Te.forEach(be=>this._markSelected(be)):this._markSelected(Te[0]),this._selectedToEmit.length=0)}select(...me){this._verifyValueAssignment(me),me.forEach(Le=>this._markSelected(Le));const Te=this._hasQueuedChanges();return this._emitChangeEvent(),Te}deselect(...me){this._verifyValueAssignment(me),me.forEach(Le=>this._unmarkSelected(Le));const Te=this._hasQueuedChanges();return this._emitChangeEvent(),Te}setSelection(...me){this._verifyValueAssignment(me);const Te=this.selected,Le=new Set(me);me.forEach(be=>this._markSelected(be)),Te.filter(be=>!Le.has(be)).forEach(be=>this._unmarkSelected(be));const Ue=this._hasQueuedChanges();return this._emitChangeEvent(),Ue}toggle(me){return this.isSelected(me)?this.deselect(me):this.select(me)}clear(me=!0){this._unmarkAll();const Te=this._hasQueuedChanges();return me&&this._emitChangeEvent(),Te}isSelected(me){return this._selection.has(this._getConcreteValue(me))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(me){this._multiple&&this.selected&&this._selected.sort(me)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(me){me=this._getConcreteValue(me),this.isSelected(me)||(this._multiple||this._unmarkAll(),this.isSelected(me)||this._selection.add(me),this._emitChanges&&this._selectedToEmit.push(me))}_unmarkSelected(me){me=this._getConcreteValue(me),this.isSelected(me)&&(this._selection.delete(me),this._emitChanges&&this._deselectedToEmit.push(me))}_unmarkAll(){this.isEmpty()||this._selection.forEach(me=>this._unmarkSelected(me))}_verifyValueAssignment(me){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(me){if(this.compareWith){for(let Te of this._selection)if(this.compareWith(me,Te))return Te;return me}return me}}let ie=(()=>{class fe{constructor(){this._listeners=[]}notify(Te,Le){for(let Ue of this._listeners)Ue(Te,Le)}listen(Te){return this._listeners.push(Te),()=>{this._listeners=this._listeners.filter(Le=>Te!==Le)}}ngOnDestroy(){this._listeners=[]}static#e=this.\u0275fac=function(Le){return new(Le||fe)};static#t=this.\u0275prov=l.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"})}return fe})()},6028:(Mt,je,g)=>{g.d(je,{A:()=>Ce,JH:()=>ve,JU:()=>Se,K5:()=>te,Ku:()=>me,LH:()=>ye,L_:()=>fe,MW:()=>lt,Mf:()=>R,SV:()=>Je,Sd:()=>Ue,VM:()=>Te,Vb:()=>mi,Z:()=>st,aO:()=>Ct,b2:()=>Kn,hY:()=>we,jx:()=>le,oh:()=>be,uR:()=>Le,xE:()=>Re,zL:()=>ke});const R=9,te=13,Se=16,le=17,ke=18,we=27,fe=32,me=33,Te=34,Le=35,Ue=36,be=37,ye=38,Je=39,ve=40,Re=48,Ct=57,Ce=65,st=90,lt=91,Kn=224;function mi(N,...de){return de.length?de.some(x=>N[x]):N.altKey||N.shiftKey||N.ctrlKey||N.metaKey}},7131:(Mt,je,g)=>{g.d(je,{Q8:()=>ue,wD:()=>ke});var n=g(2495),l=g(5879),R=g(5592),S=g(8645),te=g(3620);let Se=(()=>{class ie{create(fe){return typeof MutationObserver>"u"?null:new MutationObserver(fe)}static#e=this.\u0275fac=function(me){return new(me||ie)};static#t=this.\u0275prov=l.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"})}return ie})(),le=(()=>{class ie{constructor(fe){this._mutationObserverFactory=fe,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((fe,me)=>this._cleanupObserver(me))}observe(fe){const me=(0,n.fI)(fe);return new R.y(Te=>{const Ue=this._observeElement(me).subscribe(Te);return()=>{Ue.unsubscribe(),this._unobserveElement(me)}})}_observeElement(fe){if(this._observedElements.has(fe))this._observedElements.get(fe).count++;else{const me=new S.x,Te=this._mutationObserverFactory.create(Le=>me.next(Le));Te&&Te.observe(fe,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(fe,{observer:Te,stream:me,count:1})}return this._observedElements.get(fe).stream}_unobserveElement(fe){this._observedElements.has(fe)&&(this._observedElements.get(fe).count--,this._observedElements.get(fe).count||this._cleanupObserver(fe))}_cleanupObserver(fe){if(this._observedElements.has(fe)){const{observer:me,stream:Te}=this._observedElements.get(fe);me&&me.disconnect(),Te.complete(),this._observedElements.delete(fe)}}static#e=this.\u0275fac=function(me){return new(me||ie)(l.LFG(Se))};static#t=this.\u0275prov=l.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"})}return ie})(),ke=(()=>{class ie{get disabled(){return this._disabled}set disabled(fe){this._disabled=(0,n.Ig)(fe),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(fe){this._debounce=(0,n.su)(fe),this._subscribe()}constructor(fe,me,Te){this._contentObserver=fe,this._elementRef=me,this._ngZone=Te,this.event=new l.vpe,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const fe=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?fe.pipe((0,te.b)(this.debounce)):fe).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(me){return new(me||ie)(l.Y36(le),l.Y36(l.SBq),l.Y36(l.R0b))};static#t=this.\u0275dir=l.lG2({type:ie,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return ie})(),ue=(()=>{class ie{static#e=this.\u0275fac=function(me){return new(me||ie)};static#t=this.\u0275mod=l.oAB({type:ie});static#n=this.\u0275inj=l.cJS({providers:[Se]})}return ie})()},3651:(Mt,je,g)=>{g.d(je,{pI:()=>jt,xu:()=>dt,aV:()=>ct,X_:()=>ft,U8:()=>Lt});var n=g(6672),l=g(6814),R=g(5879),S=g(2495),te=g(2831),Se=g(2181),le=g(8180),ke=g(9773),ue=g(9360),ie=g(8251),fe=g(9388),me=g(8484),Te=g(8645),Le=g(7394),Ue=g(3019),be=g(6028);const ye=(0,te.Mq)();class Je{constructor(Z,ce){this._viewportRuler=Z,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=ce}attach(){}enable(){if(this._canBeEnabled()){const Z=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=Z.style.left||"",this._previousHTMLStyles.top=Z.style.top||"",Z.style.left=(0,S.HM)(-this._previousScrollPosition.left),Z.style.top=(0,S.HM)(-this._previousScrollPosition.top),Z.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const Z=this._document.documentElement,Fe=Z.style,ot=this._document.body.style,st=Fe.scrollBehavior||"",lt=ot.scrollBehavior||"";this._isEnabled=!1,Fe.left=this._previousHTMLStyles.left,Fe.top=this._previousHTMLStyles.top,Z.classList.remove("cdk-global-scrollblock"),ye&&(Fe.scrollBehavior=ot.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ye&&(Fe.scrollBehavior=st,ot.scrollBehavior=lt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const ce=this._document.body,Fe=this._viewportRuler.getViewportSize();return ce.scrollHeight>Fe.height||ce.scrollWidth>Fe.width}}class H{constructor(Z,ce,Fe,ot){this._scrollDispatcher=Z,this._ngZone=ce,this._viewportRuler=Fe,this._config=ot,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(Z){this._overlayRef=Z}enable(){if(this._scrollSubscription)return;const Z=this._scrollDispatcher.scrolled(0).pipe((0,Se.h)(ce=>!ce||!this._overlayRef.overlayElement.contains(ce.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=Z.subscribe(()=>{const ce=this._viewportRuler.getViewportScrollPosition().top;Math.abs(ce-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=Z.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class xe{enable(){}disable(){}attach(){}}function oe(et,Z){return Z.some(ce=>et.bottomce.bottom||et.rightce.right)}function Ie(et,Z){return Z.some(ce=>et.topce.bottom||et.leftce.right)}class Re{constructor(Z,ce,Fe,ot){this._scrollDispatcher=Z,this._viewportRuler=ce,this._ngZone=Fe,this._config=ot,this._scrollSubscription=null}attach(Z){this._overlayRef=Z}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const ce=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Fe,height:ot}=this._viewportRuler.getViewportSize();oe(ce,[{width:Fe,height:ot,bottom:ot,right:Fe,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let $e=(()=>{class et{constructor(ce,Fe,ot,st){this._scrollDispatcher=ce,this._viewportRuler=Fe,this._ngZone=ot,this.noop=()=>new xe,this.close=lt=>new H(this._scrollDispatcher,this._ngZone,this._viewportRuler,lt),this.block=()=>new Je(this._viewportRuler,this._document),this.reposition=lt=>new Re(this._scrollDispatcher,this._viewportRuler,this._ngZone,lt),this._document=st}static#e=this.\u0275fac=function(Fe){return new(Fe||et)(R.LFG(n.mF),R.LFG(n.rL),R.LFG(R.R0b),R.LFG(l.K0))};static#t=this.\u0275prov=R.Yz7({token:et,factory:et.\u0275fac,providedIn:"root"})}return et})();class ft{constructor(Z){if(this.scrollStrategy=new xe,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,Z){const ce=Object.keys(Z);for(const Fe of ce)void 0!==Z[Fe]&&(this[Fe]=Z[Fe])}}}class Ut{constructor(Z,ce){this.connectionPair=Z,this.scrollableViewProperties=ce}}let Xe=(()=>{class et{constructor(ce){this._attachedOverlays=[],this._document=ce}ngOnDestroy(){this.detach()}add(ce){this.remove(ce),this._attachedOverlays.push(ce)}remove(ce){const Fe=this._attachedOverlays.indexOf(ce);Fe>-1&&this._attachedOverlays.splice(Fe,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(Fe){return new(Fe||et)(R.LFG(l.K0))};static#t=this.\u0275prov=R.Yz7({token:et,factory:et.\u0275fac,providedIn:"root"})}return et})(),Ct=(()=>{class et extends Xe{constructor(ce,Fe){super(ce),this._ngZone=Fe,this._keydownListener=ot=>{const st=this._attachedOverlays;for(let lt=st.length-1;lt>-1;lt--)if(st[lt]._keydownEvents.observers.length>0){const yt=st[lt]._keydownEvents;this._ngZone?this._ngZone.run(()=>yt.next(ot)):yt.next(ot);break}}}add(ce){super.add(ce),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(Fe){return new(Fe||et)(R.LFG(l.K0),R.LFG(R.R0b,8))};static#t=this.\u0275prov=R.Yz7({token:et,factory:et.\u0275fac,providedIn:"root"})}return et})(),W=(()=>{class et extends Xe{constructor(ce,Fe,ot){super(ce),this._platform=Fe,this._ngZone=ot,this._cursorStyleIsSet=!1,this._pointerDownListener=st=>{this._pointerDownEventTarget=(0,te.sA)(st)},this._clickListener=st=>{const lt=(0,te.sA)(st),yt="click"===st.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:lt;this._pointerDownEventTarget=null;const Jt=this._attachedOverlays.slice();for(let Bt=Jt.length-1;Bt>-1;Bt--){const Vt=Jt[Bt];if(Vt._outsidePointerEvents.observers.length<1||!Vt.hasAttached())continue;if(Vt.overlayElement.contains(lt)||Vt.overlayElement.contains(yt))break;const Ft=Vt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Ft.next(st)):Ft.next(st)}}}add(ce){if(super.add(ce),!this._isAttached){const Fe=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Fe)):this._addEventListeners(Fe),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Fe.style.cursor,Fe.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const ce=this._document.body;ce.removeEventListener("pointerdown",this._pointerDownListener,!0),ce.removeEventListener("click",this._clickListener,!0),ce.removeEventListener("auxclick",this._clickListener,!0),ce.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(ce.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(ce){ce.addEventListener("pointerdown",this._pointerDownListener,!0),ce.addEventListener("click",this._clickListener,!0),ce.addEventListener("auxclick",this._clickListener,!0),ce.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(Fe){return new(Fe||et)(R.LFG(l.K0),R.LFG(te.t4),R.LFG(R.R0b,8))};static#t=this.\u0275prov=R.Yz7({token:et,factory:et.\u0275fac,providedIn:"root"})}return et})(),P=(()=>{class et{constructor(ce,Fe){this._platform=Fe,this._document=ce}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const ce="cdk-overlay-container";if(this._platform.isBrowser||(0,te.Oy)()){const ot=this._document.querySelectorAll(`.${ce}[platform="server"], .${ce}[platform="test"]`);for(let st=0;stthis._backdropClick.next(Ft),this._backdropTransitionendHandler=Ft=>{this._disposeBackdrop(Ft.target)},this._keydownEvents=new Te.x,this._outsidePointerEvents=new Te.x,ot.scrollStrategy&&(this._scrollStrategy=ot.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=ot.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(Z){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const ce=this._portalOutlet.attach(Z);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,le.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof ce?.onDestroy&&ce.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),ce}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const Z=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),Z}dispose(){const Z=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,Z&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(Z){Z!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=Z,this.hasAttached()&&(Z.attach(this),this.updatePosition()))}updateSize(Z){this._config={...this._config,...Z},this._updateElementSize()}setDirection(Z){this._config={...this._config,direction:Z},this._updateElementDirection()}addPanelClass(Z){this._pane&&this._toggleClasses(this._pane,Z,!0)}removePanelClass(Z){this._pane&&this._toggleClasses(this._pane,Z,!1)}getDirection(){const Z=this._config.direction;return Z?"string"==typeof Z?Z:Z.value:"ltr"}updateScrollStrategy(Z){Z!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=Z,this.hasAttached()&&(Z.attach(this),Z.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const Z=this._pane.style;Z.width=(0,S.HM)(this._config.width),Z.height=(0,S.HM)(this._config.height),Z.minWidth=(0,S.HM)(this._config.minWidth),Z.minHeight=(0,S.HM)(this._config.minHeight),Z.maxWidth=(0,S.HM)(this._config.maxWidth),Z.maxHeight=(0,S.HM)(this._config.maxHeight)}_togglePointerEvents(Z){this._pane.style.pointerEvents=Z?"":"none"}_attachBackdrop(){const Z="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(Z)})}):this._backdropElement.classList.add(Z)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const Z=this._backdropElement;if(Z){if(this._animationsDisabled)return void this._disposeBackdrop(Z);Z.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{Z.addEventListener("transitionend",this._backdropTransitionendHandler)}),Z.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(Z)},500))}}_toggleClasses(Z,ce,Fe){const ot=(0,S.Eq)(ce||[]).filter(st=>!!st);ot.length&&(Fe?Z.classList.add(...ot):Z.classList.remove(...ot))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const Z=this._ngZone.onStable.pipe((0,ke.R)((0,Ue.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),Z.unsubscribe())})})}_disposeScrollStrategy(){const Z=this._scrollStrategy;Z&&(Z.disable(),Z.detach&&Z.detach())}_disposeBackdrop(Z){Z&&(Z.removeEventListener("click",this._backdropClickHandler),Z.removeEventListener("transitionend",this._backdropTransitionendHandler),Z.remove(),this._backdropElement===Z&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const L="cdk-overlay-connected-position-bounding-box",Ce=/([A-Za-z%]+)$/;class G{get positions(){return this._preferredPositions}constructor(Z,ce,Fe,ot,st){this._viewportRuler=ce,this._document=Fe,this._platform=ot,this._overlayContainer=st,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new Te.x,this._resizeSubscription=Le.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(Z)}attach(Z){this._validatePositions(),Z.hostElement.classList.add(L),this._overlayRef=Z,this._boundingBox=Z.hostElement,this._pane=Z.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Z=this._originRect,ce=this._overlayRect,Fe=this._viewportRect,ot=this._containerRect,st=[];let lt;for(let yt of this._preferredPositions){let Jt=this._getOriginPoint(Z,ot,yt),Bt=this._getOverlayPoint(Jt,ce,yt),Vt=this._getOverlayFit(Bt,ce,Fe,yt);if(Vt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(yt,Jt);this._canFitWithFlexibleDimensions(Vt,Bt,Fe)?st.push({position:yt,origin:Jt,overlayRect:ce,boundingBoxRect:this._calculateBoundingBoxRect(Jt,yt)}):(!lt||lt.overlayFit.visibleAreaJt&&(Jt=Vt,yt=Bt)}return this._isPushed=!1,void this._applyPosition(yt.position,yt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(lt.position,lt.originPoint);this._applyPosition(lt.position,lt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&$(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(L),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const Z=this._lastPosition;if(Z){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const ce=this._getOriginPoint(this._originRect,this._containerRect,Z);this._applyPosition(Z,ce)}else this.apply()}withScrollableContainers(Z){return this._scrollables=Z,this}withPositions(Z){return this._preferredPositions=Z,-1===Z.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(Z){return this._viewportMargin=Z,this}withFlexibleDimensions(Z=!0){return this._hasFlexibleDimensions=Z,this}withGrowAfterOpen(Z=!0){return this._growAfterOpen=Z,this}withPush(Z=!0){return this._canPush=Z,this}withLockedPosition(Z=!0){return this._positionLocked=Z,this}setOrigin(Z){return this._origin=Z,this}withDefaultOffsetX(Z){return this._offsetX=Z,this}withDefaultOffsetY(Z){return this._offsetY=Z,this}withTransformOriginOn(Z){return this._transformOriginSelector=Z,this}_getOriginPoint(Z,ce,Fe){let ot,st;if("center"==Fe.originX)ot=Z.left+Z.width/2;else{const lt=this._isRtl()?Z.right:Z.left,yt=this._isRtl()?Z.left:Z.right;ot="start"==Fe.originX?lt:yt}return ce.left<0&&(ot-=ce.left),st="center"==Fe.originY?Z.top+Z.height/2:"top"==Fe.originY?Z.top:Z.bottom,ce.top<0&&(st-=ce.top),{x:ot,y:st}}_getOverlayPoint(Z,ce,Fe){let ot,st;return ot="center"==Fe.overlayX?-ce.width/2:"start"===Fe.overlayX?this._isRtl()?-ce.width:0:this._isRtl()?0:-ce.width,st="center"==Fe.overlayY?-ce.height/2:"top"==Fe.overlayY?0:-ce.height,{x:Z.x+ot,y:Z.y+st}}_getOverlayFit(Z,ce,Fe,ot){const st=ae(ce);let{x:lt,y:yt}=Z,Jt=this._getOffset(ot,"x"),Bt=this._getOffset(ot,"y");Jt&&(lt+=Jt),Bt&&(yt+=Bt);let Cn=0-yt,un=yt+st.height-Fe.height,nn=this._subtractOverflows(st.width,0-lt,lt+st.width-Fe.width),pn=this._subtractOverflows(st.height,Cn,un),bn=nn*pn;return{visibleArea:bn,isCompletelyWithinViewport:st.width*st.height===bn,fitsInViewportVertically:pn===st.height,fitsInViewportHorizontally:nn==st.width}}_canFitWithFlexibleDimensions(Z,ce,Fe){if(this._hasFlexibleDimensions){const ot=Fe.bottom-ce.y,st=Fe.right-ce.x,lt=Be(this._overlayRef.getConfig().minHeight),yt=Be(this._overlayRef.getConfig().minWidth);return(Z.fitsInViewportVertically||null!=lt&<<=ot)&&(Z.fitsInViewportHorizontally||null!=yt&&yt<=st)}return!1}_pushOverlayOnScreen(Z,ce,Fe){if(this._previousPushAmount&&this._positionLocked)return{x:Z.x+this._previousPushAmount.x,y:Z.y+this._previousPushAmount.y};const ot=ae(ce),st=this._viewportRect,lt=Math.max(Z.x+ot.width-st.width,0),yt=Math.max(Z.y+ot.height-st.height,0),Jt=Math.max(st.top-Fe.top-Z.y,0),Bt=Math.max(st.left-Fe.left-Z.x,0);let Vt=0,Ft=0;return Vt=ot.width<=st.width?Bt||-lt:Z.xnn&&!this._isInitialRender&&!this._growAfterOpen&&(lt=Z.y-nn/2)}if("end"===ce.overlayX&&!ot||"start"===ce.overlayX&&ot)Cn=Fe.width-Z.x+this._viewportMargin,Vt=Z.x-this._viewportMargin;else if("start"===ce.overlayX&&!ot||"end"===ce.overlayX&&ot)Ft=Z.x,Vt=Fe.right-Z.x;else{const un=Math.min(Fe.right-Z.x+Fe.left,Z.x),nn=this._lastBoundingBoxSize.width;Vt=2*un,Ft=Z.x-un,Vt>nn&&!this._isInitialRender&&!this._growAfterOpen&&(Ft=Z.x-nn/2)}return{top:lt,left:Ft,bottom:yt,right:Cn,width:Vt,height:st}}_setBoundingBoxStyles(Z,ce){const Fe=this._calculateBoundingBoxRect(Z,ce);!this._isInitialRender&&!this._growAfterOpen&&(Fe.height=Math.min(Fe.height,this._lastBoundingBoxSize.height),Fe.width=Math.min(Fe.width,this._lastBoundingBoxSize.width));const ot={};if(this._hasExactPosition())ot.top=ot.left="0",ot.bottom=ot.right=ot.maxHeight=ot.maxWidth="",ot.width=ot.height="100%";else{const st=this._overlayRef.getConfig().maxHeight,lt=this._overlayRef.getConfig().maxWidth;ot.height=(0,S.HM)(Fe.height),ot.top=(0,S.HM)(Fe.top),ot.bottom=(0,S.HM)(Fe.bottom),ot.width=(0,S.HM)(Fe.width),ot.left=(0,S.HM)(Fe.left),ot.right=(0,S.HM)(Fe.right),ot.alignItems="center"===ce.overlayX?"center":"end"===ce.overlayX?"flex-end":"flex-start",ot.justifyContent="center"===ce.overlayY?"center":"bottom"===ce.overlayY?"flex-end":"flex-start",st&&(ot.maxHeight=(0,S.HM)(st)),lt&&(ot.maxWidth=(0,S.HM)(lt))}this._lastBoundingBoxSize=Fe,$(this._boundingBox.style,ot)}_resetBoundingBoxStyles(){$(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){$(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(Z,ce){const Fe={},ot=this._hasExactPosition(),st=this._hasFlexibleDimensions,lt=this._overlayRef.getConfig();if(ot){const Vt=this._viewportRuler.getViewportScrollPosition();$(Fe,this._getExactOverlayY(ce,Z,Vt)),$(Fe,this._getExactOverlayX(ce,Z,Vt))}else Fe.position="static";let yt="",Jt=this._getOffset(ce,"x"),Bt=this._getOffset(ce,"y");Jt&&(yt+=`translateX(${Jt}px) `),Bt&&(yt+=`translateY(${Bt}px)`),Fe.transform=yt.trim(),lt.maxHeight&&(ot?Fe.maxHeight=(0,S.HM)(lt.maxHeight):st&&(Fe.maxHeight="")),lt.maxWidth&&(ot?Fe.maxWidth=(0,S.HM)(lt.maxWidth):st&&(Fe.maxWidth="")),$(this._pane.style,Fe)}_getExactOverlayY(Z,ce,Fe){let ot={top:"",bottom:""},st=this._getOverlayPoint(ce,this._overlayRect,Z);return this._isPushed&&(st=this._pushOverlayOnScreen(st,this._overlayRect,Fe)),"bottom"===Z.overlayY?ot.bottom=this._document.documentElement.clientHeight-(st.y+this._overlayRect.height)+"px":ot.top=(0,S.HM)(st.y),ot}_getExactOverlayX(Z,ce,Fe){let lt,ot={left:"",right:""},st=this._getOverlayPoint(ce,this._overlayRect,Z);return this._isPushed&&(st=this._pushOverlayOnScreen(st,this._overlayRect,Fe)),lt=this._isRtl()?"end"===Z.overlayX?"left":"right":"end"===Z.overlayX?"right":"left","right"===lt?ot.right=this._document.documentElement.clientWidth-(st.x+this._overlayRect.width)+"px":ot.left=(0,S.HM)(st.x),ot}_getScrollVisibility(){const Z=this._getOriginRect(),ce=this._pane.getBoundingClientRect(),Fe=this._scrollables.map(ot=>ot.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Ie(Z,Fe),isOriginOutsideView:oe(Z,Fe),isOverlayClipped:Ie(ce,Fe),isOverlayOutsideView:oe(ce,Fe)}}_subtractOverflows(Z,...ce){return ce.reduce((Fe,ot)=>Fe-Math.max(ot,0),Z)}_getNarrowedViewportRect(){const Z=this._document.documentElement.clientWidth,ce=this._document.documentElement.clientHeight,Fe=this._viewportRuler.getViewportScrollPosition();return{top:Fe.top+this._viewportMargin,left:Fe.left+this._viewportMargin,right:Fe.left+Z-this._viewportMargin,bottom:Fe.top+ce-this._viewportMargin,width:Z-2*this._viewportMargin,height:ce-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(Z,ce){return"x"===ce?null==Z.offsetX?this._offsetX:Z.offsetX:null==Z.offsetY?this._offsetY:Z.offsetY}_validatePositions(){}_addPanelClasses(Z){this._pane&&(0,S.Eq)(Z).forEach(ce=>{""!==ce&&-1===this._appliedPanelClasses.indexOf(ce)&&(this._appliedPanelClasses.push(ce),this._pane.classList.add(ce))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(Z=>{this._pane.classList.remove(Z)}),this._appliedPanelClasses=[])}_getOriginRect(){const Z=this._origin;if(Z instanceof R.SBq)return Z.nativeElement.getBoundingClientRect();if(Z instanceof Element)return Z.getBoundingClientRect();const ce=Z.width||0,Fe=Z.height||0;return{top:Z.y,bottom:Z.y+Fe,left:Z.x,right:Z.x+ce,height:Fe,width:ce}}}function $(et,Z){for(let ce in Z)Z.hasOwnProperty(ce)&&(et[ce]=Z[ce]);return et}function Be(et){if("number"!=typeof et&&null!=et){const[Z,ce]=et.split(Ce);return ce&&"px"!==ce?null:parseFloat(Z)}return et||null}function ae(et){return{top:Math.floor(et.top),right:Math.floor(et.right),bottom:Math.floor(et.bottom),left:Math.floor(et.left),width:Math.floor(et.width),height:Math.floor(et.height)}}const it="cdk-global-overlay-wrapper";class qe{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(Z){const ce=Z.getConfig();this._overlayRef=Z,this._width&&!ce.width&&Z.updateSize({width:this._width}),this._height&&!ce.height&&Z.updateSize({height:this._height}),Z.hostElement.classList.add(it),this._isDisposed=!1}top(Z=""){return this._bottomOffset="",this._topOffset=Z,this._alignItems="flex-start",this}left(Z=""){return this._xOffset=Z,this._xPosition="left",this}bottom(Z=""){return this._topOffset="",this._bottomOffset=Z,this._alignItems="flex-end",this}right(Z=""){return this._xOffset=Z,this._xPosition="right",this}start(Z=""){return this._xOffset=Z,this._xPosition="start",this}end(Z=""){return this._xOffset=Z,this._xPosition="end",this}width(Z=""){return this._overlayRef?this._overlayRef.updateSize({width:Z}):this._width=Z,this}height(Z=""){return this._overlayRef?this._overlayRef.updateSize({height:Z}):this._height=Z,this}centerHorizontally(Z=""){return this.left(Z),this._xPosition="center",this}centerVertically(Z=""){return this.top(Z),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const Z=this._overlayRef.overlayElement.style,ce=this._overlayRef.hostElement.style,Fe=this._overlayRef.getConfig(),{width:ot,height:st,maxWidth:lt,maxHeight:yt}=Fe,Jt=!("100%"!==ot&&"100vw"!==ot||lt&&"100%"!==lt&&"100vw"!==lt),Bt=!("100%"!==st&&"100vh"!==st||yt&&"100%"!==yt&&"100vh"!==yt),Vt=this._xPosition,Ft=this._xOffset,Cn="rtl"===this._overlayRef.getConfig().direction;let un="",nn="",pn="";Jt?pn="flex-start":"center"===Vt?(pn="center",Cn?nn=Ft:un=Ft):Cn?"left"===Vt||"end"===Vt?(pn="flex-end",un=Ft):("right"===Vt||"start"===Vt)&&(pn="flex-start",nn=Ft):"left"===Vt||"start"===Vt?(pn="flex-start",un=Ft):("right"===Vt||"end"===Vt)&&(pn="flex-end",nn=Ft),Z.position=this._cssPosition,Z.marginLeft=Jt?"0":un,Z.marginTop=Bt?"0":this._topOffset,Z.marginBottom=this._bottomOffset,Z.marginRight=Jt?"0":nn,ce.justifyContent=pn,ce.alignItems=Bt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const Z=this._overlayRef.overlayElement.style,ce=this._overlayRef.hostElement,Fe=ce.style;ce.classList.remove(it),Fe.justifyContent=Fe.alignItems=Z.marginTop=Z.marginBottom=Z.marginLeft=Z.marginRight=Z.position="",this._overlayRef=null,this._isDisposed=!0}}let It=(()=>{class et{constructor(ce,Fe,ot,st){this._viewportRuler=ce,this._document=Fe,this._platform=ot,this._overlayContainer=st}global(){return new qe}flexibleConnectedTo(ce){return new G(ce,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(Fe){return new(Fe||et)(R.LFG(n.rL),R.LFG(l.K0),R.LFG(te.t4),R.LFG(P))};static#t=this.\u0275prov=R.Yz7({token:et,factory:et.\u0275fac,providedIn:"root"})}return et})(),Ye=0,ct=(()=>{class et{constructor(ce,Fe,ot,st,lt,yt,Jt,Bt,Vt,Ft,Cn,un){this.scrollStrategies=ce,this._overlayContainer=Fe,this._componentFactoryResolver=ot,this._positionBuilder=st,this._keyboardDispatcher=lt,this._injector=yt,this._ngZone=Jt,this._document=Bt,this._directionality=Vt,this._location=Ft,this._outsideClickDispatcher=Cn,this._animationsModuleType=un}create(ce){const Fe=this._createHostElement(),ot=this._createPaneElement(Fe),st=this._createPortalOutlet(ot),lt=new ft(ce);return lt.direction=lt.direction||this._directionality.value,new se(st,Fe,ot,lt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(ce){const Fe=this._document.createElement("div");return Fe.id="cdk-overlay-"+Ye++,Fe.classList.add("cdk-overlay-pane"),ce.appendChild(Fe),Fe}_createHostElement(){const ce=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(ce),ce}_createPortalOutlet(ce){return this._appRef||(this._appRef=this._injector.get(R.z2F)),new me.u0(ce,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(Fe){return new(Fe||et)(R.LFG($e),R.LFG(P),R.LFG(R._Vd),R.LFG(It),R.LFG(Ct),R.LFG(R.zs3),R.LFG(R.R0b),R.LFG(l.K0),R.LFG(fe.Is),R.LFG(l.Ye),R.LFG(W),R.LFG(R.QbO,8))};static#t=this.\u0275prov=R.Yz7({token:et,factory:et.\u0275fac,providedIn:"root"})}return et})();const Ee=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],tt=new R.OlP("cdk-connected-overlay-scroll-strategy");let dt=(()=>{class et{constructor(ce){this.elementRef=ce}static#e=this.\u0275fac=function(Fe){return new(Fe||et)(R.Y36(R.SBq))};static#t=this.\u0275dir=R.lG2({type:et,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return et})(),jt=(()=>{class et{get offsetX(){return this._offsetX}set offsetX(ce){this._offsetX=ce,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(ce){this._offsetY=ce,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(ce){this._hasBackdrop=(0,S.Ig)(ce)}get lockPosition(){return this._lockPosition}set lockPosition(ce){this._lockPosition=(0,S.Ig)(ce)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(ce){this._flexibleDimensions=(0,S.Ig)(ce)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(ce){this._growAfterOpen=(0,S.Ig)(ce)}get push(){return this._push}set push(ce){this._push=(0,S.Ig)(ce)}constructor(ce,Fe,ot,st,lt){this._overlay=ce,this._dir=lt,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Le.w0.EMPTY,this._attachSubscription=Le.w0.EMPTY,this._detachSubscription=Le.w0.EMPTY,this._positionSubscription=Le.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new R.vpe,this.positionChange=new R.vpe,this.attach=new R.vpe,this.detach=new R.vpe,this.overlayKeydown=new R.vpe,this.overlayOutsideClick=new R.vpe,this._templatePortal=new me.UE(Fe,ot),this._scrollStrategyFactory=st,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(ce){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),ce.origin&&this.open&&this._position.apply()),ce.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Ee);const ce=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=ce.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=ce.detachments().subscribe(()=>this.detach.emit()),ce.keydownEvents().subscribe(Fe=>{this.overlayKeydown.next(Fe),Fe.keyCode===be.hY&&!this.disableClose&&!(0,be.Vb)(Fe)&&(Fe.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Fe=>{this.overlayOutsideClick.next(Fe)})}_buildConfig(){const ce=this._position=this.positionStrategy||this._createPositionStrategy(),Fe=new ft({direction:this._dir,positionStrategy:ce,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(Fe.width=this.width),(this.height||0===this.height)&&(Fe.height=this.height),(this.minWidth||0===this.minWidth)&&(Fe.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Fe.minHeight=this.minHeight),this.backdropClass&&(Fe.backdropClass=this.backdropClass),this.panelClass&&(Fe.panelClass=this.panelClass),Fe}_updatePositionStrategy(ce){const Fe=this.positions.map(ot=>({originX:ot.originX,originY:ot.originY,overlayX:ot.overlayX,overlayY:ot.overlayY,offsetX:ot.offsetX||this.offsetX,offsetY:ot.offsetY||this.offsetY,panelClass:ot.panelClass||void 0}));return ce.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(Fe).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const ce=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(ce),ce}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof dt?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(ce=>{this.backdropClick.emit(ce)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function we(et,Z=!1){return(0,ue.e)((ce,Fe)=>{let ot=0;ce.subscribe((0,ie.x)(Fe,st=>{const lt=et(st,ot++);(lt||Z)&&Fe.next(st),!lt&&Fe.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(ce=>{this.positionChange.emit(ce),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static#e=this.\u0275fac=function(Fe){return new(Fe||et)(R.Y36(ct),R.Y36(R.Rgc),R.Y36(R.s_b),R.Y36(tt),R.Y36(fe.Is,8))};static#t=this.\u0275dir=R.lG2({type:et,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[R.TTD]})}return et})();const cn={provide:tt,deps:[ct],useFactory:function Gt(et){return()=>et.scrollStrategies.reposition()}};let Lt=(()=>{class et{static#e=this.\u0275fac=function(Fe){return new(Fe||et)};static#t=this.\u0275mod=R.oAB({type:et});static#n=this.\u0275inj=R.cJS({providers:[ct,cn],imports:[fe.vT,me.eL,n.Cl,n.Cl]})}return et})()},2831:(Mt,je,g)=>{g.d(je,{Mq:()=>Te,Oy:()=>H,i$:()=>we,kV:()=>ye,qK:()=>ke,sA:()=>ve,t4:()=>S});var n=g(5879),l=g(6814);let R;try{R=typeof Intl<"u"&&Intl.v8BreakIterator}catch{R=!1}let Se,S=(()=>{class xe{constructor(Ie){this._platformId=Ie,this.isBrowser=this._platformId?(0,l.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!R)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(Re){return new(Re||xe)(n.LFG(n.Lbi))};static#t=this.\u0275prov=n.Yz7({token:xe,factory:xe.\u0275fac,providedIn:"root"})}return xe})();const le=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function ke(){if(Se)return Se;if("object"!=typeof document||!document)return Se=new Set(le),Se;let xe=document.createElement("input");return Se=new Set(le.filter(oe=>(xe.setAttribute("type",oe),xe.type===oe))),Se}let ue,me,Ue;function we(xe){return function ie(){if(null==ue&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ue=!0}))}finally{ue=ue||!1}return ue}()?xe:!!xe.capture}function Te(){if(null==me){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return me=!1,me;if("scrollBehavior"in document.documentElement.style)me=!0;else{const xe=Element.prototype.scrollTo;me=!!xe&&!/\{\s*\[native code\]\s*\}/.test(xe.toString())}}return me}function ye(xe){if(function be(){if(null==Ue){const xe=typeof document<"u"?document.head:null;Ue=!(!xe||!xe.createShadowRoot&&!xe.attachShadow)}return Ue}()){const oe=xe.getRootNode?xe.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&oe instanceof ShadowRoot)return oe}return null}function ve(xe){return xe.composedPath?xe.composedPath()[0]:xe.target}function H(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},8484:(Mt,je,g)=>{g.d(je,{C5:()=>ie,Pl:()=>Je,UE:()=>we,eL:()=>H,ig:()=>be,u0:()=>Le});var n=g(5879),l=g(6814);class ue{attach(Ie){return this._attachedHost=Ie,Ie.attach(this)}detach(){let Ie=this._attachedHost;null!=Ie&&(this._attachedHost=null,Ie.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Ie){this._attachedHost=Ie}}class ie extends ue{constructor(Ie,Re,$e,ft,bt){super(),this.component=Ie,this.viewContainerRef=Re,this.injector=$e,this.componentFactoryResolver=ft,this.projectableNodes=bt}}class we extends ue{constructor(Ie,Re,$e,ft){super(),this.templateRef=Ie,this.viewContainerRef=Re,this.context=$e,this.injector=ft}get origin(){return this.templateRef.elementRef}attach(Ie,Re=this.context){return this.context=Re,super.attach(Ie)}detach(){return this.context=void 0,super.detach()}}class fe extends ue{constructor(Ie){super(),this.element=Ie instanceof n.SBq?Ie.nativeElement:Ie}}class me{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(Ie){return Ie instanceof ie?(this._attachedPortal=Ie,this.attachComponentPortal(Ie)):Ie instanceof we?(this._attachedPortal=Ie,this.attachTemplatePortal(Ie)):this.attachDomPortal&&Ie instanceof fe?(this._attachedPortal=Ie,this.attachDomPortal(Ie)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(Ie){this._disposeFn=Ie}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Le extends me{constructor(Ie,Re,$e,ft,bt){super(),this.outletElement=Ie,this._componentFactoryResolver=Re,this._appRef=$e,this._defaultInjector=ft,this.attachDomPortal=Dt=>{const Ut=Dt.element,kt=this._document.createComment("dom-portal");Ut.parentNode.insertBefore(kt,Ut),this.outletElement.appendChild(Ut),this._attachedPortal=Dt,super.setDisposeFn(()=>{kt.parentNode&&kt.parentNode.replaceChild(Ut,kt)})},this._document=bt}attachComponentPortal(Ie){const $e=(Ie.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Ie.component);let ft;return Ie.viewContainerRef?(ft=Ie.viewContainerRef.createComponent($e,Ie.viewContainerRef.length,Ie.injector||Ie.viewContainerRef.injector,Ie.projectableNodes||void 0),this.setDisposeFn(()=>ft.destroy())):(ft=$e.create(Ie.injector||this._defaultInjector||n.zs3.NULL),this._appRef.attachView(ft.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(ft.hostView),ft.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(ft)),this._attachedPortal=Ie,ft}attachTemplatePortal(Ie){let Re=Ie.viewContainerRef,$e=Re.createEmbeddedView(Ie.templateRef,Ie.context,{injector:Ie.injector});return $e.rootNodes.forEach(ft=>this.outletElement.appendChild(ft)),$e.detectChanges(),this.setDisposeFn(()=>{let ft=Re.indexOf($e);-1!==ft&&Re.remove(ft)}),this._attachedPortal=Ie,$e}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Ie){return Ie.hostView.rootNodes[0]}}let be=(()=>{class oe extends we{constructor(Re,$e){super(Re,$e)}static#e=this.\u0275fac=function($e){return new($e||oe)(n.Y36(n.Rgc),n.Y36(n.s_b))};static#t=this.\u0275dir=n.lG2({type:oe,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[n.qOj]})}return oe})(),Je=(()=>{class oe extends me{constructor(Re,$e,ft){super(),this._componentFactoryResolver=Re,this._viewContainerRef=$e,this._isInitialized=!1,this.attached=new n.vpe,this.attachDomPortal=bt=>{const Dt=bt.element,Ut=this._document.createComment("dom-portal");bt.setAttachedHost(this),Dt.parentNode.insertBefore(Ut,Dt),this._getRootNode().appendChild(Dt),this._attachedPortal=bt,super.setDisposeFn(()=>{Ut.parentNode&&Ut.parentNode.replaceChild(Dt,Ut)})},this._document=ft}get portal(){return this._attachedPortal}set portal(Re){this.hasAttached()&&!Re&&!this._isInitialized||(this.hasAttached()&&super.detach(),Re&&super.attach(Re),this._attachedPortal=Re||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(Re){Re.setAttachedHost(this);const $e=null!=Re.viewContainerRef?Re.viewContainerRef:this._viewContainerRef,bt=(Re.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Re.component),Dt=$e.createComponent(bt,$e.length,Re.injector||$e.injector,Re.projectableNodes||void 0);return $e!==this._viewContainerRef&&this._getRootNode().appendChild(Dt.hostView.rootNodes[0]),super.setDisposeFn(()=>Dt.destroy()),this._attachedPortal=Re,this._attachedRef=Dt,this.attached.emit(Dt),Dt}attachTemplatePortal(Re){Re.setAttachedHost(this);const $e=this._viewContainerRef.createEmbeddedView(Re.templateRef,Re.context,{injector:Re.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=Re,this._attachedRef=$e,this.attached.emit($e),$e}_getRootNode(){const Re=this._viewContainerRef.element.nativeElement;return Re.nodeType===Re.ELEMENT_NODE?Re:Re.parentNode}static#e=this.\u0275fac=function($e){return new($e||oe)(n.Y36(n._Vd),n.Y36(n.s_b),n.Y36(l.K0))};static#t=this.\u0275dir=n.lG2({type:oe,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.qOj]})}return oe})(),H=(()=>{class oe{static#e=this.\u0275fac=function($e){return new($e||oe)};static#t=this.\u0275mod=n.oAB({type:oe});static#n=this.\u0275inj=n.cJS({})}return oe})()},6672:(Mt,je,g)=>{g.d(je,{Cl:()=>W,ZD:()=>Ct,mF:()=>H,rL:()=>Ie});var n=g(2495),l=g(5879),R=g(8645),S=g(2096),te=g(5592),Se=g(2438),ue=(g(927),g(6410),g(9028)),ie=g(2181),we=g(2831),fe=g(6814),me=g(9388);let H=(()=>{class P{constructor(L,Ce,G){this._ngZone=L,this._platform=Ce,this._scrolled=new R.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=G}register(L){this.scrollContainers.has(L)||this.scrollContainers.set(L,L.elementScrolled().subscribe(()=>this._scrolled.next(L)))}deregister(L){const Ce=this.scrollContainers.get(L);Ce&&(Ce.unsubscribe(),this.scrollContainers.delete(L))}scrolled(L=20){return this._platform.isBrowser?new te.y(Ce=>{this._globalSubscription||this._addGlobalListener();const G=L>0?this._scrolled.pipe((0,ue.e)(L)).subscribe(Ce):this._scrolled.subscribe(Ce);return this._scrolledCount++,()=>{G.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,S.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((L,Ce)=>this.deregister(Ce)),this._scrolled.complete()}ancestorScrolled(L,Ce){const G=this.getAncestorScrollContainers(L);return this.scrolled(Ce).pipe((0,ie.h)($=>!$||G.indexOf($)>-1))}getAncestorScrollContainers(L){const Ce=[];return this.scrollContainers.forEach((G,$)=>{this._scrollableContainsElement($,L)&&Ce.push($)}),Ce}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(L,Ce){let G=(0,n.fI)(Ce),$=L.getElementRef().nativeElement;do{if(G==$)return!0}while(G=G.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const L=this._getWindow();return(0,Se.R)(L.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(Ce){return new(Ce||P)(l.LFG(l.R0b),l.LFG(we.t4),l.LFG(fe.K0,8))};static#t=this.\u0275prov=l.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})(),Ie=(()=>{class P{constructor(L,Ce,G){this._platform=L,this._change=new R.x,this._changeListener=$=>{this._change.next($)},this._document=G,Ce.runOutsideAngular(()=>{if(L.isBrowser){const $=this._getWindow();$.addEventListener("resize",this._changeListener),$.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const L=this._getWindow();L.removeEventListener("resize",this._changeListener),L.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const L={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),L}getViewportRect(){const L=this.getViewportScrollPosition(),{width:Ce,height:G}=this.getViewportSize();return{top:L.top,left:L.left,bottom:L.top+G,right:L.left+Ce,height:G,width:Ce}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const L=this._document,Ce=this._getWindow(),G=L.documentElement,$=G.getBoundingClientRect();return{top:-$.top||L.body.scrollTop||Ce.scrollY||G.scrollTop||0,left:-$.left||L.body.scrollLeft||Ce.scrollX||G.scrollLeft||0}}change(L=20){return L>0?this._change.pipe((0,ue.e)(L)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const L=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:L.innerWidth,height:L.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(Ce){return new(Ce||P)(l.LFG(we.t4),l.LFG(l.R0b),l.LFG(fe.K0,8))};static#t=this.\u0275prov=l.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})(),Ct=(()=>{class P{static#e=this.\u0275fac=function(Ce){return new(Ce||P)};static#t=this.\u0275mod=l.oAB({type:P});static#n=this.\u0275inj=l.cJS({})}return P})(),W=(()=>{class P{static#e=this.\u0275fac=function(Ce){return new(Ce||P)};static#t=this.\u0275mod=l.oAB({type:P});static#n=this.\u0275inj=l.cJS({imports:[me.vT,Ct,me.vT,Ct]})}return P})()},6263:(Mt,je,g)=>{g.d(je,{IC:()=>me,Ky:()=>Te,Lq:()=>we});var n=g(2831),l=g(5879),R=g(2495),S=g(6232),te=g(8645),Se=g(2438),le=g(9028),ke=g(9773),ue=g(6814);const ie=(0,n.i$)({passive:!0});let we=(()=>{class Le{constructor(be,ye){this._platform=be,this._ngZone=ye,this._monitoredElements=new Map}monitor(be){if(!this._platform.isBrowser)return S.E;const ye=(0,R.fI)(be),Je=this._monitoredElements.get(ye);if(Je)return Je.subject;const ve=new te.x,H="cdk-text-field-autofilled",xe=oe=>{"cdk-text-field-autofill-start"!==oe.animationName||ye.classList.contains(H)?"cdk-text-field-autofill-end"===oe.animationName&&ye.classList.contains(H)&&(ye.classList.remove(H),this._ngZone.run(()=>ve.next({target:oe.target,isAutofilled:!1}))):(ye.classList.add(H),this._ngZone.run(()=>ve.next({target:oe.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{ye.addEventListener("animationstart",xe,ie),ye.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(ye,{subject:ve,unlisten:()=>{ye.removeEventListener("animationstart",xe,ie)}}),ve}stopMonitoring(be){const ye=(0,R.fI)(be),Je=this._monitoredElements.get(ye);Je&&(Je.unlisten(),Je.subject.complete(),ye.classList.remove("cdk-text-field-autofill-monitored"),ye.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(ye))}ngOnDestroy(){this._monitoredElements.forEach((be,ye)=>this.stopMonitoring(ye))}static#e=this.\u0275fac=function(ye){return new(ye||Le)(l.LFG(n.t4),l.LFG(l.R0b))};static#t=this.\u0275prov=l.Yz7({token:Le,factory:Le.\u0275fac,providedIn:"root"})}return Le})(),me=(()=>{class Le{get minRows(){return this._minRows}set minRows(be){this._minRows=(0,R.su)(be),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(be){this._maxRows=(0,R.su)(be),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(be){be=(0,R.Ig)(be),this._enabled!==be&&((this._enabled=be)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(be){this._cachedPlaceholderHeight=void 0,be?this._textareaElement.setAttribute("placeholder",be):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}constructor(be,ye,Je,ve){this._elementRef=be,this._platform=ye,this._ngZone=Je,this._destroyed=new te.x,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=H=>{this._hasFocus="focus"===H.type},this._document=ve,this._textareaElement=this._elementRef.nativeElement}_setMinHeight(){const be=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;be&&(this._textareaElement.style.minHeight=be)}_setMaxHeight(){const be=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;be&&(this._textareaElement.style.maxHeight=be)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const be=this._getWindow();(0,Se.R)(be,"resize").pipe((0,le.e)(16),(0,ke.R)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let be=this._textareaElement.cloneNode(!1);be.rows=1,be.style.position="absolute",be.style.visibility="hidden",be.style.border="none",be.style.padding="0",be.style.height="",be.style.minHeight="",be.style.maxHeight="",be.style.overflow="hidden",this._textareaElement.parentNode.appendChild(be),this._cachedLineHeight=be.clientHeight,be.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const be=this._textareaElement,ye=be.style.marginBottom||"",Je=this._platform.FIREFOX,ve=Je&&this._hasFocus,H=Je?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";ve&&(be.style.marginBottom=`${be.clientHeight}px`),be.classList.add(H);const xe=be.scrollHeight-4;return be.classList.remove(H),ve&&(be.style.marginBottom=ye),xe}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const be=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=be}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(be=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const ye=this._elementRef.nativeElement,Je=ye.value;if(!be&&this._minRows===this._previousMinRows&&Je===this._previousValue)return;const ve=this._measureScrollHeight(),H=Math.max(ve,this._cachedPlaceholderHeight||0);ye.style.height=`${H}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(ye)):setTimeout(()=>this._scrollToCaretPosition(ye))}),this._previousValue=Je,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(be){const{selectionStart:ye,selectionEnd:Je}=be;!this._destroyed.isStopped&&this._hasFocus&&be.setSelectionRange(ye,Je)}static#e=this.\u0275fac=function(ye){return new(ye||Le)(l.Y36(l.SBq),l.Y36(n.t4),l.Y36(l.R0b),l.Y36(ue.K0,8))};static#t=this.\u0275dir=l.lG2({type:Le,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(ye,Je){1&ye&&l.NdJ("input",function(){return Je._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]})}return Le})(),Te=(()=>{class Le{static#e=this.\u0275fac=function(ye){return new(ye||Le)};static#t=this.\u0275mod=l.oAB({type:Le});static#n=this.\u0275inj=l.cJS({})}return Le})()},6814:(Mt,je,g)=>{g.d(je,{ED:()=>pe,EM:()=>Ai,HT:()=>S,JF:()=>co,K0:()=>Se,Mx:()=>ei,NF:()=>$r,O5:()=>Kn,PC:()=>Qt,PM:()=>Eo,RF:()=>x,S$:()=>me,Ts:()=>Ii,Ye:()=>be,bD:()=>Pn,ez:()=>Zt,mk:()=>vn,n9:()=>q,q:()=>R,sg:()=>ti,tP:()=>gi,w_:()=>te});var n=g(5879);let l=null;function R(){return l}function S(_){l||(l=_)}class te{}const Se=new n.OlP("DocumentToken");let le=(()=>{class _{historyGo(w){throw new Error("Not implemented")}static#e=this.\u0275fac=function(F){return new(F||_)};static#t=this.\u0275prov=n.Yz7({token:_,factory:function(){return(0,n.f3M)(ue)},providedIn:"platform"})}return _})(),ue=(()=>{class _ extends le{constructor(){super(),this._doc=(0,n.f3M)(Se),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return R().getBaseHref(this._doc)}onPopState(w){const F=R().getGlobalEventTarget(this._doc,"window");return F.addEventListener("popstate",w,!1),()=>F.removeEventListener("popstate",w)}onHashChange(w){const F=R().getGlobalEventTarget(this._doc,"window");return F.addEventListener("hashchange",w,!1),()=>F.removeEventListener("hashchange",w)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(w){this._location.pathname=w}pushState(w,F,Me){this._history.pushState(w,F,Me)}replaceState(w,F,Me){this._history.replaceState(w,F,Me)}forward(){this._history.forward()}back(){this._history.back()}historyGo(w=0){this._history.go(w)}getState(){return this._history.state}static#e=this.\u0275fac=function(F){return new(F||_)};static#t=this.\u0275prov=n.Yz7({token:_,factory:function(){return new _},providedIn:"platform"})}return _})();function ie(_,V){if(0==_.length)return V;if(0==V.length)return _;let w=0;return _.endsWith("/")&&w++,V.startsWith("/")&&w++,2==w?_+V.substring(1):1==w?_+V:_+"/"+V}function we(_){const V=_.match(/#|\?|$/),w=V&&V.index||_.length;return _.slice(0,w-("/"===_[w-1]?1:0))+_.slice(w)}function fe(_){return _&&"?"!==_[0]?"?"+_:_}let me=(()=>{class _{historyGo(w){throw new Error("Not implemented")}static#e=this.\u0275fac=function(F){return new(F||_)};static#t=this.\u0275prov=n.Yz7({token:_,factory:function(){return(0,n.f3M)(Le)},providedIn:"root"})}return _})();const Te=new n.OlP("appBaseHref");let Le=(()=>{class _ extends me{constructor(w,F){super(),this._platformLocation=w,this._removeListenerFns=[],this._baseHref=F??this._platformLocation.getBaseHrefFromDOM()??(0,n.f3M)(Se).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(w){this._removeListenerFns.push(this._platformLocation.onPopState(w),this._platformLocation.onHashChange(w))}getBaseHref(){return this._baseHref}prepareExternalUrl(w){return ie(this._baseHref,w)}path(w=!1){const F=this._platformLocation.pathname+fe(this._platformLocation.search),Me=this._platformLocation.hash;return Me&&w?`${F}${Me}`:F}pushState(w,F,Me,rt){const vt=this.prepareExternalUrl(Me+fe(rt));this._platformLocation.pushState(w,F,vt)}replaceState(w,F,Me,rt){const vt=this.prepareExternalUrl(Me+fe(rt));this._platformLocation.replaceState(w,F,vt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(w=0){this._platformLocation.historyGo?.(w)}static#e=this.\u0275fac=function(F){return new(F||_)(n.LFG(le),n.LFG(Te,8))};static#t=this.\u0275prov=n.Yz7({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})(),be=(()=>{class _{constructor(w){this._subject=new n.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=w;const F=this._locationStrategy.getBaseHref();this._basePath=function H(_){if(new RegExp("^(https?:)?//").test(_)){const[,w]=_.split(/\/\/[^\/]+/);return w}return _}(we(ve(F))),this._locationStrategy.onPopState(Me=>{this._subject.emit({url:this.path(!0),pop:!0,state:Me.state,type:Me.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(w=!1){return this.normalize(this._locationStrategy.path(w))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(w,F=""){return this.path()==this.normalize(w+fe(F))}normalize(w){return _.stripTrailingSlash(function Je(_,V){if(!_||!V.startsWith(_))return V;const w=V.substring(_.length);return""===w||["/",";","?","#"].includes(w[0])?w:V}(this._basePath,ve(w)))}prepareExternalUrl(w){return w&&"/"!==w[0]&&(w="/"+w),this._locationStrategy.prepareExternalUrl(w)}go(w,F="",Me=null){this._locationStrategy.pushState(Me,"",w,F),this._notifyUrlChangeListeners(this.prepareExternalUrl(w+fe(F)),Me)}replaceState(w,F="",Me=null){this._locationStrategy.replaceState(Me,"",w,F),this._notifyUrlChangeListeners(this.prepareExternalUrl(w+fe(F)),Me)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(w=0){this._locationStrategy.historyGo?.(w)}onUrlChange(w){return this._urlChangeListeners.push(w),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(F=>{this._notifyUrlChangeListeners(F.url,F.state)})),()=>{const F=this._urlChangeListeners.indexOf(w);this._urlChangeListeners.splice(F,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(w="",F){this._urlChangeListeners.forEach(Me=>Me(w,F))}subscribe(w,F,Me){return this._subject.subscribe({next:w,error:F,complete:Me})}static#e=this.normalizeQueryParams=fe;static#t=this.joinWithSlash=ie;static#n=this.stripTrailingSlash=we;static#i=this.\u0275fac=function(F){return new(F||_)(n.LFG(me))};static#o=this.\u0275prov=n.Yz7({token:_,factory:function(){return function ye(){return new be((0,n.LFG)(me))}()},providedIn:"root"})}return _})();function ve(_){return _.replace(/\/index.html$/,"")}function ei(_,V){V=encodeURIComponent(V);for(const w of _.split(";")){const F=w.indexOf("="),[Me,rt]=-1==F?[w,""]:[w.slice(0,F),w.slice(F+1)];if(Me.trim()===V)return decodeURIComponent(rt)}return null}const di=/\s+/,mn=[];let vn=(()=>{class _{constructor(w,F,Me,rt){this._iterableDiffers=w,this._keyValueDiffers=F,this._ngEl=Me,this._renderer=rt,this.initialClasses=mn,this.stateMap=new Map}set klass(w){this.initialClasses=null!=w?w.trim().split(di):mn}set ngClass(w){this.rawClass="string"==typeof w?w.trim().split(di):w}ngDoCheck(){for(const F of this.initialClasses)this._updateState(F,!0);const w=this.rawClass;if(Array.isArray(w)||w instanceof Set)for(const F of w)this._updateState(F,!0);else if(null!=w)for(const F of Object.keys(w))this._updateState(F,!!w[F]);this._applyStateDiff()}_updateState(w,F){const Me=this.stateMap.get(w);void 0!==Me?(Me.enabled!==F&&(Me.changed=!0,Me.enabled=F),Me.touched=!0):this.stateMap.set(w,{enabled:F,changed:!0,touched:!0})}_applyStateDiff(){for(const w of this.stateMap){const F=w[0],Me=w[1];Me.changed?(this._toggleClass(F,Me.enabled),Me.changed=!1):Me.touched||(Me.enabled&&this._toggleClass(F,!1),this.stateMap.delete(F)),Me.touched=!1}}_toggleClass(w,F){(w=w.trim()).length>0&&w.split(di).forEach(Me=>{F?this._renderer.addClass(this._ngEl.nativeElement,Me):this._renderer.removeClass(this._ngEl.nativeElement,Me)})}static#e=this.\u0275fac=function(F){return new(F||_)(n.Y36(n.ZZ4),n.Y36(n.aQg),n.Y36(n.SBq),n.Y36(n.Qsj))};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return _})();class kn{constructor(V,w,F,Me){this.$implicit=V,this.ngForOf=w,this.index=F,this.count=Me}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ti=(()=>{class _{set ngForOf(w){this._ngForOf=w,this._ngForOfDirty=!0}set ngForTrackBy(w){this._trackByFn=w}get ngForTrackBy(){return this._trackByFn}constructor(w,F,Me){this._viewContainer=w,this._template=F,this._differs=Me,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(w){w&&(this._template=w)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const w=this._ngForOf;!this._differ&&w&&(this._differ=this._differs.find(w).create(this.ngForTrackBy))}if(this._differ){const w=this._differ.diff(this._ngForOf);w&&this._applyChanges(w)}}_applyChanges(w){const F=this._viewContainer;w.forEachOperation((Me,rt,vt)=>{if(null==Me.previousIndex)F.createEmbeddedView(this._template,new kn(Me.item,this._ngForOf,-1,-1),null===vt?void 0:vt);else if(null==vt)F.remove(null===rt?void 0:rt);else if(null!==rt){const Wt=F.get(rt);F.move(Wt,vt),hi(Wt,Me)}});for(let Me=0,rt=F.length;Me{hi(F.get(Me.currentIndex),Me)})}static ngTemplateContextGuard(w,F){return!0}static#e=this.\u0275fac=function(F){return new(F||_)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(n.ZZ4))};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return _})();function hi(_,V){_.context.$implicit=V.item}let Kn=(()=>{class _{constructor(w,F){this._viewContainer=w,this._context=new mi,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=F}set ngIf(w){this._context.$implicit=this._context.ngIf=w,this._updateView()}set ngIfThen(w){N("ngIfThen",w),this._thenTemplateRef=w,this._thenViewRef=null,this._updateView()}set ngIfElse(w){N("ngIfElse",w),this._elseTemplateRef=w,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(w,F){return!0}static#e=this.\u0275fac=function(F){return new(F||_)(n.Y36(n.s_b),n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return _})();class mi{constructor(){this.$implicit=null,this.ngIf=null}}function N(_,V){if(V&&!V.createEmbeddedView)throw new Error(`${_} must be a TemplateRef, but received '${(0,n.AaK)(V)}'.`)}class de{constructor(V,w){this._viewContainerRef=V,this._templateRef=w,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(V){V&&!this._created?this.create():!V&&this._created&&this.destroy()}}let x=(()=>{class _{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(w){this._ngSwitch=w,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(w){this._defaultViews.push(w)}_matchCase(w){const F=w==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||F,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),F}_updateDefaultCases(w){if(this._defaultViews.length>0&&w!==this._defaultUsed){this._defaultUsed=w;for(const F of this._defaultViews)F.enforceState(w)}}static#e=this.\u0275fac=function(F){return new(F||_)};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return _})(),q=(()=>{class _{constructor(w,F,Me){this.ngSwitch=Me,Me._addCase(),this._view=new de(w,F)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(F){return new(F||_)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(x,9))};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return _})(),pe=(()=>{class _{constructor(w,F,Me){Me._addDefault(new de(w,F))}static#e=this.\u0275fac=function(F){return new(F||_)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(x,9))};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return _})(),Qt=(()=>{class _{constructor(w,F,Me){this._ngEl=w,this._differs=F,this._renderer=Me,this._ngStyle=null,this._differ=null}set ngStyle(w){this._ngStyle=w,!this._differ&&w&&(this._differ=this._differs.find(w).create())}ngDoCheck(){if(this._differ){const w=this._differ.diff(this._ngStyle);w&&this._applyChanges(w)}}_setStyle(w,F){const[Me,rt]=w.split("."),vt=-1===Me.indexOf("-")?void 0:n.JOm.DashCase;null!=F?this._renderer.setStyle(this._ngEl.nativeElement,Me,rt?`${F}${rt}`:F,vt):this._renderer.removeStyle(this._ngEl.nativeElement,Me,vt)}_applyChanges(w){w.forEachRemovedItem(F=>this._setStyle(F.key,null)),w.forEachAddedItem(F=>this._setStyle(F.key,F.currentValue)),w.forEachChangedItem(F=>this._setStyle(F.key,F.currentValue))}static#e=this.\u0275fac=function(F){return new(F||_)(n.Y36(n.SBq),n.Y36(n.aQg),n.Y36(n.Qsj))};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return _})(),gi=(()=>{class _{constructor(w){this._viewContainerRef=w,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(w){if(w.ngTemplateOutlet||w.ngTemplateOutletInjector){const F=this._viewContainerRef;if(this._viewRef&&F.remove(F.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:Me,ngTemplateOutletContext:rt,ngTemplateOutletInjector:vt}=this;this._viewRef=F.createEmbeddedView(Me,rt,vt?{injector:vt}:void 0)}else this._viewRef=null}else this._viewRef&&w.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}static#e=this.\u0275fac=function(F){return new(F||_)(n.Y36(n.s_b))};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[n.TTD]})}return _})(),Ii=(()=>{class _{transform(w){return JSON.stringify(w,null,2)}static#e=this.\u0275fac=function(F){return new(F||_)};static#t=this.\u0275pipe=n.Yjl({name:"json",type:_,pure:!1,standalone:!0})}return _})(),Zt=(()=>{class _{static#e=this.\u0275fac=function(F){return new(F||_)};static#t=this.\u0275mod=n.oAB({type:_});static#n=this.\u0275inj=n.cJS({})}return _})();const Pn="browser",Hn="server";function $r(_){return _===Pn}function Eo(_){return _===Hn}let Ai=(()=>{class _{static#e=this.\u0275prov=(0,n.Yz7)({token:_,providedIn:"root",factory:()=>new Bo((0,n.LFG)(Se),window)})}return _})();class Bo{constructor(V,w){this.document=V,this.window=w,this.offset=()=>[0,0]}setOffset(V){this.offset=Array.isArray(V)?()=>V:V}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(V){this.supportsScrolling()&&this.window.scrollTo(V[0],V[1])}scrollToAnchor(V){if(!this.supportsScrolling())return;const w=function Xo(_,V){const w=_.getElementById(V)||_.getElementsByName(V)[0];if(w)return w;if("function"==typeof _.createTreeWalker&&_.body&&"function"==typeof _.body.attachShadow){const F=_.createTreeWalker(_.body,NodeFilter.SHOW_ELEMENT);let Me=F.currentNode;for(;Me;){const rt=Me.shadowRoot;if(rt){const vt=rt.getElementById(V)||rt.querySelector(`[name="${V}"]`);if(vt)return vt}Me=F.nextNode()}}return null}(this.document,V);w&&(this.scrollToElement(w),w.focus())}setHistoryScrollRestoration(V){this.supportsScrolling()&&(this.window.history.scrollRestoration=V)}scrollToElement(V){const w=V.getBoundingClientRect(),F=w.left+this.window.pageXOffset,Me=w.top+this.window.pageYOffset,rt=this.offset();this.window.scrollTo(F-rt[0],Me-rt[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class co{}},9862:(Mt,je,g)=>{g.d(je,{Zn:()=>Xe,eN:()=>P,h_:()=>Tn});var n=g(5879),l=g(2096),R=g(7715),S=g(5592),te=g(6328),Se=g(2181),le=g(7398),ke=g(4716),ue=g(4664),ie=g(6814);class we{}class fe{}class me{constructor(ne){this.normalizedNames=new Map,this.lazyUpdate=null,ne?"string"==typeof ne?this.lazyInit=()=>{this.headers=new Map,ne.split("\n").forEach(Oe=>{const nt=Oe.indexOf(":");if(nt>0){const Et=Oe.slice(0,nt),Ot=Et.toLowerCase(),Tt=Oe.slice(nt+1).trim();this.maybeSetNormalizedName(Et,Ot),this.headers.has(Ot)?this.headers.get(Ot).push(Tt):this.headers.set(Ot,[Tt])}})}:typeof Headers<"u"&&ne instanceof Headers?(this.headers=new Map,ne.forEach((Oe,nt)=>{this.setHeaderEntries(nt,Oe)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(ne).forEach(([Oe,nt])=>{this.setHeaderEntries(Oe,nt)})}:this.headers=new Map}has(ne){return this.init(),this.headers.has(ne.toLowerCase())}get(ne){this.init();const Oe=this.headers.get(ne.toLowerCase());return Oe&&Oe.length>0?Oe[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(ne){return this.init(),this.headers.get(ne.toLowerCase())||null}append(ne,Oe){return this.clone({name:ne,value:Oe,op:"a"})}set(ne,Oe){return this.clone({name:ne,value:Oe,op:"s"})}delete(ne,Oe){return this.clone({name:ne,value:Oe,op:"d"})}maybeSetNormalizedName(ne,Oe){this.normalizedNames.has(Oe)||this.normalizedNames.set(Oe,ne)}init(){this.lazyInit&&(this.lazyInit instanceof me?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(ne=>this.applyUpdate(ne)),this.lazyUpdate=null))}copyFrom(ne){ne.init(),Array.from(ne.headers.keys()).forEach(Oe=>{this.headers.set(Oe,ne.headers.get(Oe)),this.normalizedNames.set(Oe,ne.normalizedNames.get(Oe))})}clone(ne){const Oe=new me;return Oe.lazyInit=this.lazyInit&&this.lazyInit instanceof me?this.lazyInit:this,Oe.lazyUpdate=(this.lazyUpdate||[]).concat([ne]),Oe}applyUpdate(ne){const Oe=ne.name.toLowerCase();switch(ne.op){case"a":case"s":let nt=ne.value;if("string"==typeof nt&&(nt=[nt]),0===nt.length)return;this.maybeSetNormalizedName(ne.name,Oe);const Et=("a"===ne.op?this.headers.get(Oe):void 0)||[];Et.push(...nt),this.headers.set(Oe,Et);break;case"d":const Ot=ne.value;if(Ot){let Tt=this.headers.get(Oe);if(!Tt)return;Tt=Tt.filter($t=>-1===Ot.indexOf($t)),0===Tt.length?(this.headers.delete(Oe),this.normalizedNames.delete(Oe)):this.headers.set(Oe,Tt)}else this.headers.delete(Oe),this.normalizedNames.delete(Oe)}}setHeaderEntries(ne,Oe){const nt=(Array.isArray(Oe)?Oe:[Oe]).map(Ot=>Ot.toString()),Et=ne.toLowerCase();this.headers.set(Et,nt),this.maybeSetNormalizedName(ne,Et)}forEach(ne){this.init(),Array.from(this.normalizedNames.keys()).forEach(Oe=>ne(this.normalizedNames.get(Oe),this.headers.get(Oe)))}}class Le{encodeKey(ne){return Je(ne)}encodeValue(ne){return Je(ne)}decodeKey(ne){return decodeURIComponent(ne)}decodeValue(ne){return decodeURIComponent(ne)}}const be=/%(\d[a-f0-9])/gi,ye={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Je(X){return encodeURIComponent(X).replace(be,(ne,Oe)=>ye[Oe]??ne)}function ve(X){return`${X}`}class H{constructor(ne={}){if(this.updates=null,this.cloneFrom=null,this.encoder=ne.encoder||new Le,ne.fromString){if(ne.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ue(X,ne){const Oe=new Map;return X.length>0&&X.replace(/^\?/,"").split("&").forEach(Et=>{const Ot=Et.indexOf("="),[Tt,$t]=-1==Ot?[ne.decodeKey(Et),""]:[ne.decodeKey(Et.slice(0,Ot)),ne.decodeValue(Et.slice(Ot+1))],qt=Oe.get(Tt)||[];qt.push($t),Oe.set(Tt,qt)}),Oe}(ne.fromString,this.encoder)}else ne.fromObject?(this.map=new Map,Object.keys(ne.fromObject).forEach(Oe=>{const nt=ne.fromObject[Oe],Et=Array.isArray(nt)?nt.map(ve):[ve(nt)];this.map.set(Oe,Et)})):this.map=null}has(ne){return this.init(),this.map.has(ne)}get(ne){this.init();const Oe=this.map.get(ne);return Oe?Oe[0]:null}getAll(ne){return this.init(),this.map.get(ne)||null}keys(){return this.init(),Array.from(this.map.keys())}append(ne,Oe){return this.clone({param:ne,value:Oe,op:"a"})}appendAll(ne){const Oe=[];return Object.keys(ne).forEach(nt=>{const Et=ne[nt];Array.isArray(Et)?Et.forEach(Ot=>{Oe.push({param:nt,value:Ot,op:"a"})}):Oe.push({param:nt,value:Et,op:"a"})}),this.clone(Oe)}set(ne,Oe){return this.clone({param:ne,value:Oe,op:"s"})}delete(ne,Oe){return this.clone({param:ne,value:Oe,op:"d"})}toString(){return this.init(),this.keys().map(ne=>{const Oe=this.encoder.encodeKey(ne);return this.map.get(ne).map(nt=>Oe+"="+this.encoder.encodeValue(nt)).join("&")}).filter(ne=>""!==ne).join("&")}clone(ne){const Oe=new H({encoder:this.encoder});return Oe.cloneFrom=this.cloneFrom||this,Oe.updates=(this.updates||[]).concat(ne),Oe}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(ne=>this.map.set(ne,this.cloneFrom.map.get(ne))),this.updates.forEach(ne=>{switch(ne.op){case"a":case"s":const Oe=("a"===ne.op?this.map.get(ne.param):void 0)||[];Oe.push(ve(ne.value)),this.map.set(ne.param,Oe);break;case"d":if(void 0===ne.value){this.map.delete(ne.param);break}{let nt=this.map.get(ne.param)||[];const Et=nt.indexOf(ve(ne.value));-1!==Et&&nt.splice(Et,1),nt.length>0?this.map.set(ne.param,nt):this.map.delete(ne.param)}}}),this.cloneFrom=this.updates=null)}}class oe{constructor(){this.map=new Map}set(ne,Oe){return this.map.set(ne,Oe),this}get(ne){return this.map.has(ne)||this.map.set(ne,ne.defaultValue()),this.map.get(ne)}delete(ne){return this.map.delete(ne),this}has(ne){return this.map.has(ne)}keys(){return this.map.keys()}}function Re(X){return typeof ArrayBuffer<"u"&&X instanceof ArrayBuffer}function $e(X){return typeof Blob<"u"&&X instanceof Blob}function ft(X){return typeof FormData<"u"&&X instanceof FormData}class Dt{constructor(ne,Oe,nt,Et){let Ot;if(this.url=Oe,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=ne.toUpperCase(),function Ie(X){switch(X){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Et?(this.body=void 0!==nt?nt:null,Ot=Et):Ot=nt,Ot&&(this.reportProgress=!!Ot.reportProgress,this.withCredentials=!!Ot.withCredentials,Ot.responseType&&(this.responseType=Ot.responseType),Ot.headers&&(this.headers=Ot.headers),Ot.context&&(this.context=Ot.context),Ot.params&&(this.params=Ot.params)),this.headers||(this.headers=new me),this.context||(this.context=new oe),this.params){const Tt=this.params.toString();if(0===Tt.length)this.urlWithParams=Oe;else{const $t=Oe.indexOf("?");this.urlWithParams=Oe+(-1===$t?"?":$tzn.set(Nn,ne.setHeaders[Nn]),qt)),ne.setParams&&(Fn=Object.keys(ne.setParams).reduce((zn,Nn)=>zn.set(Nn,ne.setParams[Nn]),Fn)),new Dt(Oe,nt,Ot,{params:Fn,headers:qt,context:$n,reportProgress:$t,responseType:Et,withCredentials:Tt})}}var Ut=function(X){return X[X.Sent=0]="Sent",X[X.UploadProgress=1]="UploadProgress",X[X.ResponseHeader=2]="ResponseHeader",X[X.DownloadProgress=3]="DownloadProgress",X[X.Response=4]="Response",X[X.User=5]="User",X}(Ut||{});class kt{constructor(ne,Oe=200,nt="OK"){this.headers=ne.headers||new me,this.status=void 0!==ne.status?ne.status:Oe,this.statusText=ne.statusText||nt,this.url=ne.url||null,this.ok=this.status>=200&&this.status<300}}class an extends kt{constructor(ne={}){super(ne),this.type=Ut.ResponseHeader}clone(ne={}){return new an({headers:ne.headers||this.headers,status:void 0!==ne.status?ne.status:this.status,statusText:ne.statusText||this.statusText,url:ne.url||this.url||void 0})}}class Xe extends kt{constructor(ne={}){super(ne),this.type=Ut.Response,this.body=void 0!==ne.body?ne.body:null}clone(ne={}){return new Xe({body:void 0!==ne.body?ne.body:this.body,headers:ne.headers||this.headers,status:void 0!==ne.status?ne.status:this.status,statusText:ne.statusText||this.statusText,url:ne.url||this.url||void 0})}}class Ct extends kt{constructor(ne){super(ne,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${ne.url||"(unknown url)"}`:`Http failure response for ${ne.url||"(unknown url)"}: ${ne.status} ${ne.statusText}`,this.error=ne.error||null}}function W(X,ne){return{body:ne,headers:X.headers,context:X.context,observe:X.observe,params:X.params,reportProgress:X.reportProgress,responseType:X.responseType,withCredentials:X.withCredentials}}let P=(()=>{class X{constructor(Oe){this.handler=Oe}request(Oe,nt,Et={}){let Ot;if(Oe instanceof Dt)Ot=Oe;else{let qt,Fn;qt=Et.headers instanceof me?Et.headers:new me(Et.headers),Et.params&&(Fn=Et.params instanceof H?Et.params:new H({fromObject:Et.params})),Ot=new Dt(Oe,nt,void 0!==Et.body?Et.body:null,{headers:qt,context:Et.context,params:Fn,reportProgress:Et.reportProgress,responseType:Et.responseType||"json",withCredentials:Et.withCredentials})}const Tt=(0,l.of)(Ot).pipe((0,te.b)(qt=>this.handler.handle(qt)));if(Oe instanceof Dt||"events"===Et.observe)return Tt;const $t=Tt.pipe((0,Se.h)(qt=>qt instanceof Xe));switch(Et.observe||"body"){case"body":switch(Ot.responseType){case"arraybuffer":return $t.pipe((0,le.U)(qt=>{if(null!==qt.body&&!(qt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return qt.body}));case"blob":return $t.pipe((0,le.U)(qt=>{if(null!==qt.body&&!(qt.body instanceof Blob))throw new Error("Response is not a Blob.");return qt.body}));case"text":return $t.pipe((0,le.U)(qt=>{if(null!==qt.body&&"string"!=typeof qt.body)throw new Error("Response is not a string.");return qt.body}));default:return $t.pipe((0,le.U)(qt=>qt.body))}case"response":return $t;default:throw new Error(`Unreachable: unhandled observe type ${Et.observe}}`)}}delete(Oe,nt={}){return this.request("DELETE",Oe,nt)}get(Oe,nt={}){return this.request("GET",Oe,nt)}head(Oe,nt={}){return this.request("HEAD",Oe,nt)}jsonp(Oe,nt){return this.request("JSONP",Oe,{params:(new H).append(nt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Oe,nt={}){return this.request("OPTIONS",Oe,nt)}patch(Oe,nt,Et={}){return this.request("PATCH",Oe,W(Et,nt))}post(Oe,nt,Et={}){return this.request("POST",Oe,W(Et,nt))}put(Oe,nt,Et={}){return this.request("PUT",Oe,W(Et,nt))}static#e=this.\u0275fac=function(nt){return new(nt||X)(n.LFG(we))};static#t=this.\u0275prov=n.Yz7({token:X,factory:X.\u0275fac})}return X})();function He(X,ne){return ne(X)}const It=new n.OlP(""),Ye=new n.OlP("");let Ee=(()=>{class X extends we{constructor(Oe,nt){super(),this.backend=Oe,this.injector=nt,this.chain=null,this.pendingTasks=(0,n.f3M)(n.HDt)}handle(Oe){if(null===this.chain){const Et=Array.from(new Set([...this.injector.get(It),...this.injector.get(Ye,[])]));this.chain=Et.reduceRight((Ot,Tt)=>function it(X,ne,Oe){return(nt,Et)=>Oe.runInContext(()=>ne(nt,Ot=>X(Ot,Et)))}(Ot,Tt,this.injector),He)}const nt=this.pendingTasks.add();return this.chain(Oe,Et=>this.backend.handle(Et)).pipe((0,ke.x)(()=>this.pendingTasks.remove(nt)))}static#e=this.\u0275fac=function(nt){return new(nt||X)(n.LFG(fe),n.LFG(n.lqb))};static#t=this.\u0275prov=n.Yz7({token:X,factory:X.\u0275fac})}return X})();const ot=/^\)\]\}',?\n/;let lt=(()=>{class X{constructor(Oe){this.xhrFactory=Oe}handle(Oe){if("JSONP"===Oe.method)throw new n.vHH(-2800,!1);const nt=this.xhrFactory;return(nt.\u0275loadImpl?(0,R.D)(nt.\u0275loadImpl()):(0,l.of)(null)).pipe((0,ue.w)(()=>new S.y(Ot=>{const Tt=nt.build();if(Tt.open(Oe.method,Oe.urlWithParams),Oe.withCredentials&&(Tt.withCredentials=!0),Oe.headers.forEach((mn,vn)=>Tt.setRequestHeader(mn,vn.join(","))),Oe.headers.has("Accept")||Tt.setRequestHeader("Accept","application/json, text/plain, */*"),!Oe.headers.has("Content-Type")){const mn=Oe.detectContentTypeHeader();null!==mn&&Tt.setRequestHeader("Content-Type",mn)}if(Oe.responseType){const mn=Oe.responseType.toLowerCase();Tt.responseType="json"!==mn?mn:"text"}const $t=Oe.serializeBody();let qt=null;const Fn=()=>{if(null!==qt)return qt;const mn=Tt.statusText||"OK",vn=new me(Tt.getAllResponseHeaders()),ui=function st(X){return"responseURL"in X&&X.responseURL?X.responseURL:/^X-Request-URL:/m.test(X.getAllResponseHeaders())?X.getResponseHeader("X-Request-URL"):null}(Tt)||Oe.url;return qt=new an({headers:vn,status:Tt.status,statusText:mn,url:ui}),qt},$n=()=>{let{headers:mn,status:vn,statusText:ui,url:pi}=Fn(),kn=null;204!==vn&&(kn=typeof Tt.response>"u"?Tt.responseText:Tt.response),0===vn&&(vn=kn?200:0);let ti=vn>=200&&vn<300;if("json"===Oe.responseType&&"string"==typeof kn){const hi=kn;kn=kn.replace(ot,"");try{kn=""!==kn?JSON.parse(kn):null}catch(ai){kn=hi,ti&&(ti=!1,kn={error:ai,text:kn})}}ti?(Ot.next(new Xe({body:kn,headers:mn,status:vn,statusText:ui,url:pi||void 0})),Ot.complete()):Ot.error(new Ct({error:kn,headers:mn,status:vn,statusText:ui,url:pi||void 0}))},zn=mn=>{const{url:vn}=Fn(),ui=new Ct({error:mn,status:Tt.status||0,statusText:Tt.statusText||"Unknown Error",url:vn||void 0});Ot.error(ui)};let Nn=!1;const ei=mn=>{Nn||(Ot.next(Fn()),Nn=!0);let vn={type:Ut.DownloadProgress,loaded:mn.loaded};mn.lengthComputable&&(vn.total=mn.total),"text"===Oe.responseType&&Tt.responseText&&(vn.partialText=Tt.responseText),Ot.next(vn)},di=mn=>{let vn={type:Ut.UploadProgress,loaded:mn.loaded};mn.lengthComputable&&(vn.total=mn.total),Ot.next(vn)};return Tt.addEventListener("load",$n),Tt.addEventListener("error",zn),Tt.addEventListener("timeout",zn),Tt.addEventListener("abort",zn),Oe.reportProgress&&(Tt.addEventListener("progress",ei),null!==$t&&Tt.upload&&Tt.upload.addEventListener("progress",di)),Tt.send($t),Ot.next({type:Ut.Sent}),()=>{Tt.removeEventListener("error",zn),Tt.removeEventListener("abort",zn),Tt.removeEventListener("load",$n),Tt.removeEventListener("timeout",zn),Oe.reportProgress&&(Tt.removeEventListener("progress",ei),null!==$t&&Tt.upload&&Tt.upload.removeEventListener("progress",di)),Tt.readyState!==Tt.DONE&&Tt.abort()}})))}static#e=this.\u0275fac=function(nt){return new(nt||X)(n.LFG(ie.JF))};static#t=this.\u0275prov=n.Yz7({token:X,factory:X.\u0275fac})}return X})();const yt=new n.OlP("XSRF_ENABLED"),Bt=new n.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Ft=new n.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Cn{}let un=(()=>{class X{constructor(Oe,nt,Et){this.doc=Oe,this.platform=nt,this.cookieName=Et,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Oe=this.doc.cookie||"";return Oe!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,ie.Mx)(Oe,this.cookieName),this.lastCookieString=Oe),this.lastToken}static#e=this.\u0275fac=function(nt){return new(nt||X)(n.LFG(ie.K0),n.LFG(n.Lbi),n.LFG(Bt))};static#t=this.\u0275prov=n.Yz7({token:X,factory:X.\u0275fac})}return X})();function nn(X,ne){const Oe=X.url.toLowerCase();if(!(0,n.f3M)(yt)||"GET"===X.method||"HEAD"===X.method||Oe.startsWith("http://")||Oe.startsWith("https://"))return ne(X);const nt=(0,n.f3M)(Cn).getToken(),Et=(0,n.f3M)(Ft);return null!=nt&&!X.headers.has(Et)&&(X=X.clone({headers:X.headers.set(Et,nt)})),ne(X)}function Tn(...X){const ne=[P,lt,Ee,{provide:we,useExisting:Ee},{provide:fe,useExisting:lt},{provide:It,useValue:nn,multi:!0},{provide:yt,useValue:!0},{provide:Cn,useClass:un}];for(const Oe of X)ne.push(...Oe.\u0275providers);return(0,n.MR2)(ne)}},5879:(Mt,je,g)=>{g.d(je,{$8M:()=>Ps,$WT:()=>ni,$Z:()=>Ym,AFp:()=>um,ALo:()=>Ab,AaK:()=>fe,Akn:()=>ur,BQk:()=>Jd,CHM:()=>Mu,CRH:()=>Wb,DdM:()=>vb,EJc:()=>QE,EiD:()=>tm,EpF:()=>Bg,F$t:()=>Gg,F4k:()=>Vg,FYo:()=>bm,FiY:()=>Lr,Gf:()=>$b,GfV:()=>vm,GkF:()=>Tf,Gpc:()=>Le,Gre:()=>E_,HDt:()=>mv,Hsn:()=>$g,Ikx:()=>Hf,JOm:()=>Ca,JVY:()=>l0,JZr:()=>ve,Jf7:()=>Om,KtG:()=>Tu,L6k:()=>c0,LAX:()=>u0,LFG:()=>Pe,LSH:()=>Ih,Lbi:()=>Bh,Lck:()=>Uw,MAs:()=>Fg,MMx:()=>ub,MR2:()=>Oh,NdJ:()=>If,O4$:()=>jc,Ojb:()=>V0,OlP:()=>jn,Oqu:()=>Vf,P3R:()=>im,Q6J:()=>Ef,QGY:()=>Sf,QbO:()=>B0,Qsj:()=>ey,R0b:()=>Li,RDi:()=>Ni,Rgc:()=>gc,SBq:()=>Xl,Sil:()=>qE,Suo:()=>Yb,TTD:()=>An,TgZ:()=>Zd,Tol:()=>a_,Udp:()=>Nf,VKq:()=>yb,VuI:()=>o1,W1O:()=>Jb,WFA:()=>Af,WLB:()=>xb,X6Q:()=>OD,XFs:()=>et,Xpm:()=>xo,Xq5:()=>vg,Xts:()=>Zl,Y36:()=>Fa,YKP:()=>cb,YNc:()=>Rg,Yjl:()=>Bi,Yz7:()=>qe,Z0I:()=>Ee,ZZ4:()=>yp,_Bn:()=>lb,_UZ:()=>Mf,_Vd:()=>Jl,_uU:()=>p_,aQg:()=>xp,c2e:()=>pv,cJS:()=>Ye,cg1:()=>jf,d8E:()=>Uf,dDg:()=>vD,dqk:()=>lt,eBb:()=>d0,eJc:()=>op,ekj:()=>Lf,eoX:()=>xv,f3M:()=>z,g9A:()=>hm,h0i:()=>Ws,hij:()=>eu,iGM:()=>Gb,iPO:()=>DD,ifc:()=>Ot,jDz:()=>hb,kEZ:()=>Cb,kL8:()=>P_,kcU:()=>zc,l5B:()=>wb,lG2:()=>lo,lcZ:()=>Ob,lqb:()=>Dr,lri:()=>vv,mCW:()=>Dd,n5z:()=>Ro,n_E:()=>ru,oAB:()=>Yi,oxw:()=>zg,pB0:()=>h0,q3G:()=>js,qLn:()=>ms,qOj:()=>gf,qZA:()=>Kd,qbA:()=>Eb,qzn:()=>Sa,rWj:()=>yv,rg0:()=>Me,s9C:()=>Of,sBO:()=>RD,s_b:()=>lu,soG:()=>du,tb:()=>pp,tp0:()=>Br,uIk:()=>bf,vHH:()=>H,vpe:()=>Mr,wAp:()=>Za,xi3:()=>Rb,xp6:()=>Gm,ynx:()=>Qd,z2F:()=>Xa,z3N:()=>Hr,zSh:()=>Ph,zs3:()=>dr});var n=g(8645),l=g(7394),R=g(5592),S=g(3019),te=g(5619),Se=g(2096),le=g(3020),ke=g(4664),ue=g(3997);function ie(e){for(let t in e)if(e[t]===ie)return t;throw Error("Could not find renamed property on target object.")}function we(e,t){for(const i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function fe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(fe).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const i=t.indexOf("\n");return-1===i?t:t.substring(0,i)}function me(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Te=ie({__forward_ref__:ie});function Le(e){return e.__forward_ref__=Le,e.toString=function(){return fe(this())},e}function Ue(e){return be(e)?e():e}function be(e){return"function"==typeof e&&e.hasOwnProperty(Te)&&e.__forward_ref__===Le}function ye(e){return e&&!!e.\u0275providers}const ve="https://g.co/ng/security#xss";class H extends Error{constructor(t,i){super(function xe(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,i)),this.code=t}}function oe(e){return"string"==typeof e?e:null==e?"":String(e)}function bt(e,t){throw new H(-201,!1)}function Be(e,t){null==e&&function ae(e,t,i,o){throw new Error(`ASSERTION ERROR: ${e}`+(null==o?"":` [Expected=> ${i} ${o} ${t} <=Actual]`))}(t,e,null,"!=")}function qe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ye(e){return{providers:e.providers||[],imports:e.imports||[]}}function ct(e){return tt(e,Gt)||tt(e,Lt)}function Ee(e){return null!==ct(e)}function tt(e,t){return e.hasOwnProperty(t)?e[t]:null}function jt(e){return e&&(e.hasOwnProperty(cn)||e.hasOwnProperty(yn))?e[cn]:null}const Gt=ie({\u0275prov:ie}),cn=ie({\u0275inj:ie}),Lt=ie({ngInjectableDef:ie}),yn=ie({ngInjectorDef:ie});var et=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(et||{});let Z;function Fe(e){const t=Z;return Z=e,t}function ot(e,t,i){const o=ct(e);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:i&et.Optional?null:void 0!==t?t:void bt(fe(e))}const lt=globalThis,Nt={},Ke="__NG_DI_FLAG__",mt="ngTempTokenPath",Yt=/\n/gm,J="__source";let I;function Ae(e){const t=I;return I=e,t}function ut(e,t=et.Default){if(void 0===I)throw new H(-203,!1);return null===I?ot(e,void 0,t):I.get(e,t&et.Optional?null:void 0,t)}function Pe(e,t=et.Default){return(function ce(){return Z}()||ut)(Ue(e),t)}function z(e,t=et.Default){return Pe(e,D(t))}function D(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function B(e){const t=[];for(let i=0;it){f=c-1;break}}}for(;cc?"":r[_e+1].toLowerCase();const Qe=8&o?ze:null;if(Qe&&-1!==mn(Qe,T,0)||2&o&&T!==ze){if(de(o))return!1;f=!0}}}}else{if(!f&&!de(o)&&!de(v))return!1;if(f&&de(v))continue;f=!1,o=v|1&o}}return de(o)||f}function de(e){return 0==(1&e)}function x(e,t,i,o){if(null===t)return-1;let r=0;if(o||!i){let c=!1;for(;r-1)for(i++;i0?'="'+m+'"':"")+"]"}else 8&o?r+="."+f:4&o&&(r+=" "+f);else""!==r&&!de(f)&&(t+=Qt(c,r),r=""),o=f,c=c||!de(o);i++}return""!==r&&(t+=Qt(c,r)),t}function xo(e){return nt(()=>{const t=Vi(e),i={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Et.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ot.Emulated,styles:e.styles||$t,_:null,schemas:e.schemas||null,tView:null,id:""};wo(i);const o=e.dependencies;return i.directiveDefs=Ii(o,!1),i.pipeDefs=Ii(o,!0),i.id=function b(e){let t=0;const i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const r of i)t=Math.imul(31,t)+r.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(i),i})}function qi(e){return gn(e)||Bn(e)}function Co(e){return null!==e}function Yi(e){return nt(()=>({type:e.type,bootstrap:e.bootstrap||$t,declarations:e.declarations||$t,imports:e.imports||$t,exports:e.exports||$t,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function No(e,t){if(null==e)return Tt;const i={};for(const o in e)if(e.hasOwnProperty(o)){let r=e[o],c=r;Array.isArray(r)&&(c=r[1],r=r[0]),i[r]=o,t&&(t[r]=c)}return i}function lo(e){return nt(()=>{const t=Vi(e);return wo(t),t})}function Bi(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function gn(e){return e[qt]||null}function Bn(e){return e[Fn]||null}function Qn(e){return e[$n]||null}function ni(e){const t=gn(e)||Bn(e)||Qn(e);return null!==t&&t.standalone}function Jn(e,t){const i=e[zn]||null;if(!i&&!0===t)throw new Error(`Type ${fe(e)} does not have '\u0275mod' property.`);return i}function Vi(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Tt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||$t,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:No(e.inputs,t),outputs:No(e.outputs)}}function wo(e){e.features?.forEach(t=>t(e))}function Ii(e,t){if(!e)return null;const i=t?Qn:qi;return()=>("function"==typeof e?e():e).map(o=>i(o)).filter(Co)}const j=0,h=1,M=2,E=3,De=4,Ve=5,Pt=6,hn=7,Zt=8,Pn=9,Hn=10,St=11,On=12,$r=13,Eo=14,Yn=15,Hi=16,Lo=17,Ai=18,Bo=19,Xo=20,Do=21,co=22,qo=23,uo=24,En=25,Yr=1,Ar=2,Di=7,yi=9,ii=11;function Oi(e){return Array.isArray(e)&&"object"==typeof e[Yr]}function _i(e){return Array.isArray(e)&&!0===e[Yr]}function er(e){return 0!=(4&e.flags)}function to(e){return e.componentOffset>-1}function Wr(e){return 1==(1&e.flags)}function no(e){return!!e.template}function To(e){return 0!=(512&e[M])}function nr(e,t){return e.hasOwnProperty(Nn)?e[Nn]:null}let Ei=null,_r=!1;function Ri(e){const t=Ei;return Ei=e,t}const Uo={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function nl(e){if(!Jr(e)||e.dirty){if(!e.producerMustRecompute(e)&&!ta(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function vs(e){e.dirty=!0,function qs(e){if(void 0===e.liveConsumerNode)return;const t=_r;_r=!0;try{for(const i of e.liveConsumerNode)i.dirty||vs(i)}finally{_r=t}}(e),e.consumerMarkedDirty?.(e)}function ea(e){return e&&(e.nextProducerIndex=0),Ri(e)}function Qr(e,t){if(Ri(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Jr(e))for(let i=e.nextProducerIndex;ie.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function ta(e){Io(e);for(let t=0;t0}function Io(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Dc=null;function Me(e){const t=Ri(null);try{return e()}finally{Ri(t)}}const vt=()=>{},Wt=(()=>({...Uo,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:vt}))();class Vn{constructor(t,i,o){this.previousValue=t,this.currentValue=i,this.firstChange=o}isFirstChange(){return this.firstChange}}function An(){return wn}function wn(e){return e.type.prototype.ngOnChanges&&(e.setInput=Gn),ri}function ri(){const e=io(this),t=e?.current;if(t){const i=e.previous;if(i===Tt)e.previous=t;else for(let o in t)i[o]=t[o];e.current=null,this.ngOnChanges(t)}}function Gn(e,t,i,o){const r=this.declaredInputs[i],c=io(e)||function Ao(e,t){return e[fi]=t}(e,{previous:Tt,current:null}),f=c.current||(c.current={}),m=c.previous,v=m[r];f[r]=new Vn(v&&v.currentValue,t,m===Tt),e[o]=t}An.ngInherit=!0;const fi="__ngSimpleChanges__";function io(e){return e[fi]||null}const xi=function(e,t,i){},zo="svg";function Xn(e){for(;Array.isArray(e);)e=e[j];return e}function Zi(e,t){return Xn(t[e])}function Ki(e,t){return Xn(t[e.index])}function Cs(e,t){return e.data[t]}function qr(e,t){return e[t]}function oo(e,t){const i=t[e];return Oi(i)?i:i[j]}function br(e,t){return null==t?null:e[t]}function ia(e){e[Lo]=0}function Tc(e){1024&e[M]||(e[M]|=1024,cl(e,1))}function Sc(e){1024&e[M]&&(e[M]&=-1025,cl(e,-1))}function cl(e,t){let i=e[E];if(null===i)return;i[Ve]+=t;let o=i;for(i=i[E];null!==i&&(1===t&&1===o[Ve]||-1===t&&0===o[Ve]);)i[Ve]+=t,o=i,i=i[E]}const fn={lFrame:Bc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Oc(){return fn.bindingsEnabled}function es(){return null!==fn.skipHydrationRootTNode}function wt(){return fn.lFrame.lView}function Rn(){return fn.lFrame.tView}function Mu(e){return fn.lFrame.contextLView=e,e[Zt]}function Tu(e){return fn.lFrame.contextLView=null,e}function ki(){let e=Su();for(;null!==e&&64===e.type;)e=e.parent;return e}function Su(){return fn.lFrame.currentTNode}function or(e,t){const i=fn.lFrame;i.currentTNode=e,i.isParent=t}function kc(){return fn.lFrame.isParent}function Pc(){fn.lFrame.isParent=!1}function Qi(){const e=fn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ws(){return fn.lFrame.bindingIndex++}function yr(e){const t=fn.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function qn(e,t){const i=fn.lFrame;i.bindingIndex=i.bindingRootIndex=e,ra(t)}function ra(e){fn.lFrame.currentDirectiveIndex=e}function hl(e){const t=fn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Fc(){return fn.lFrame.currentQueryIndex}function fl(e){fn.lFrame.currentQueryIndex=e}function Ou(e){const t=e[h];return 2===t.type?t.declTNode:1===t.type?e[Pt]:null}function Nc(e,t,i){if(i&et.SkipSelf){let r=t,c=e;for(;!(r=r.parent,null!==r||i&et.Host||(r=Ou(c),null===r||(c=c[Eo],10&r.type))););if(null===r)return!1;t=r,e=c}const o=fn.lFrame=Lc();return o.currentTNode=t,o.lView=e,!0}function pl(e){const t=Lc(),i=e[h];fn.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex,t.inI18n=!1}function Lc(){const e=fn.lFrame,t=null===e?null:e.child;return null===t?Bc(e):t}function Bc(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Vc(){const e=fn.lFrame;return fn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Hc=Vc;function Uc(){const e=Vc();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Ui(){return fn.lFrame.selectedIndex}function kr(e){fn.lFrame.selectedIndex=e}function si(){const e=fn.lFrame;return Cs(e.tView,e.selectedIndex)}function jc(){fn.lFrame.currentNamespace=zo}function zc(){!function Fu(){fn.lFrame.currentNamespace=null}()}let $c=!0;function sa(){return $c}function xr(e){$c=e}function aa(e,t){for(let i=t.directiveStart,o=t.directiveEnd;i=o)break}else t[v]<0&&(e[Lo]+=65536),(m>13>16&&(3&e[M])===t&&(e[M]+=8192,Wc(m,c)):Wc(m,c)}const ts=-1;class da{constructor(t,i,o){this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=o}}function ua(e){return e!==ts}function Es(e){return 32767&e}function Ds(e,t){let i=function bl(e){return e>>16}(e),o=t;for(;i>0;)o=o[Eo],i--;return o}let rr=!0;function Ms(e){const t=rr;return rr=e,t}const Hu=255,Kc=5;let Qc=0;const Oo={};function Ts(e,t){const i=Jc(e,t);if(-1!==i)return i;const o=t[h];o.firstCreatePass&&(e.injectorIndex=t.length,Ss(o.data,e),Ss(t,null),Ss(o.blueprint,null));const r=Is(e,t),c=e.injectorIndex;if(ua(r)){const f=Es(r),m=Ds(r,t),v=m[h].data;for(let T=0;T<8;T++)t[c+T]=m[f+T]|v[f+T]}return t[c+8]=r,c}function Ss(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Jc(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Is(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,o=null,r=t;for(;null!==r;){if(o=qc(r),null===o)return ts;if(i++,r=r[Eo],-1!==o.injectorIndex)return o.injectorIndex|i<<16}return ts}function vl(e,t,i){!function Np(e,t,i){let o;"string"==typeof i?o=i.charCodeAt(0)||0:i.hasOwnProperty(ei)&&(o=i[ei]),null==o&&(o=i[ei]=Qc++);const r=o&Hu;t.data[e+(r>>Kc)]|=1<=0?t&Hu:Cr:t}(i);if("function"==typeof c){if(!Nc(t,e,o))return o&et.Host?As(r,0,o):Os(t,i,o,r);try{let f;if(f=c(o),null!=f||o&et.Optional)return f;bt()}finally{Hc()}}else if("number"==typeof c){let f=null,m=Jc(e,t),v=ts,T=o&et.Host?t[Yn][Pt]:null;for((-1===m||o&et.SkipSelf)&&(v=-1===m?Is(e,t):t[m+8],v!==ts&&ns(o,!1)?(f=t[h],m=Es(v),t=Ds(v,t)):m=-1);-1!==m;){const U=t[h];if(Xc(c,m,U.data)){const _e=Cl(m,t,i,f,o,T);if(_e!==Oo)return _e}v=t[m+8],v!==ts&&ns(o,t[h].data[m+8]===T)&&Xc(c,m,t)?(f=U,m=Es(v),t=Ds(v,t)):m=-1}}return r}function Cl(e,t,i,o,r,c){const f=t[h],m=f.data[e+8],U=fo(m,f,i,null==o?to(m)&&rr:o!=f&&0!=(3&m.type),r&et.Host&&c===m);return null!==U?sr(t,f,U,m):Oo}function fo(e,t,i,o,r){const c=e.providerIndexes,f=t.data,m=1048575&c,v=e.directiveStart,U=c>>20,ze=r?m+U:e.directiveEnd;for(let Qe=o?m:m+U;Qe=v&&ht.type===i)return Qe}if(r){const Qe=f[v];if(Qe&&no(Qe)&&Qe.type===i)return v}return null}function sr(e,t,i,o){let r=e[i];const c=t.data;if(function Bu(e){return e instanceof da}(r)){const f=r;f.resolving&&function Re(e,t){const i=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new H(-200,`Circular dependency in DI detected for ${e}${i}`)}(function Ie(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():oe(e)}(c[i]));const m=Ms(f.canSeeViewProviders);f.resolving=!0;const T=f.injectImpl?Fe(f.injectImpl):null;Nc(e,o,et.Default);try{r=e[i]=f.factory(void 0,c,e,o),t.firstCreatePass&&i>=o.directiveStart&&function Nu(e,t,i){const{ngOnChanges:o,ngOnInit:r,ngDoCheck:c}=t.type.prototype;if(o){const f=wn(t);(i.preOrderHooks??=[]).push(e,f),(i.preOrderCheckHooks??=[]).push(e,f)}r&&(i.preOrderHooks??=[]).push(0-e,r),c&&((i.preOrderHooks??=[]).push(e,c),(i.preOrderCheckHooks??=[]).push(e,c))}(i,c[i],t)}finally{null!==T&&Fe(T),Ms(m),f.resolving=!1,Hc()}}return r}function Xc(e,t,i){return!!(i[t+(e>>Kc)]&1<{const t=e.prototype.constructor,i=t[Nn]||ar(t),o=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==o;){const c=r[Nn]||ar(r);if(c&&c!==i)return c;r=Object.getPrototypeOf(r)}return c=>new c})}function ar(e){return be(e)?()=>{const t=ar(Ue(e));return t&&t()}:nr(e)}function qc(e){const t=e[h],i=t.type;return 2===i?t.declTNode:1===i?e[Pt]:null}function Ps(e){return function yl(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const i=e.attrs;if(i){const o=i.length;let r=0;for(;r{const o=function Fs(e){return function(...i){if(e){const o=e(...i);for(const r in o)this[r]=o[r]}}}(t);function r(...c){if(this instanceof r)return o.apply(this,c),this;const f=new r(...c);return m.annotation=f,m;function m(v,T,U){const _e=v.hasOwnProperty(Yo)?v[Yo]:Object.defineProperty(v,Yo,{value:[]})[Yo];for(;_e.length<=U;)_e.push(null);return(_e[U]=_e[U]||[]).push(f),v}}return i&&(r.prototype=Object.create(i.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}function Fr(e,t){e.forEach(i=>Array.isArray(i)?Fr(i,t):t(i))}function wl(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function ma(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Nr(e,t){const i=[];for(let o=0;o=0?e[1|o]=i:(o=~o,function $u(e,t,i,o){let r=e.length;if(r==t)e.push(i,o);else if(1===r)e.push(o,e[0]),e[0]=i;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=i,e[t+1]=o}}(e,o,t,i)),o}function El(e,t){const i=os(e,t);if(i>=0)return e[1|i]}function os(e,t){return function ga(e,t,i){let o=0,r=e.length>>i;for(;r!==o;){const c=o+(r-o>>1),f=e[c<t?r=c:o=c+1}return~(r<|^->||--!>|)/g,hh="\u200b$1\u200b";const ds=new Map;let fh=0;const wa="__ngContext__";function wi(e,t){Oi(t)?(e[wa]=t[Bo],function Bl(e){ds.set(e[Bo],e)}(t)):e[wa]=t}let Ul;function bd(e,t){return Ul(e,t)}function Ea(e){const t=e[E];return _i(t)?t[E]:t}function zl(e){return yd(e[On])}function vd(e){return yd(e[De])}function yd(e){for(;null!==e&&!_i(e);)e=e[De];return e}function hs(e,t,i,o,r){if(null!=o){let c,f=!1;_i(o)?c=o:Oi(o)&&(f=!0,o=o[j]);const m=Xn(o);0===e&&null!==i?null==r?Ge(t,i,m):re(t,i,m,r||null,!0):1===e&&null!==i?re(t,i,m,r||null,!0):2===e?function mo(e,t,i){const o=rn(e,t);o&&function Rt(e,t,i,o){e.removeChild(t,i,o)}(e,o,t,i)}(t,m,f):3===e&&t.destroyNode(m),null!=c&&function Cd(e,t,i,o,r){const c=i[Di];c!==Xn(i)&&hs(t,e,o,c,r);for(let m=ii;mt.replace(cd,hh))}(t))}function Ma(e,t,i){return e.createElement(t,i)}function u(e,t){const i=e[yi],o=i.indexOf(t);Sc(t),i.splice(o,1)}function a(e,t){if(e.length<=ii)return;const i=ii+t,o=e[i];if(o){const r=o[Hi];null!==r&&r!==e&&u(r,o),t>0&&(e[i-1][De]=o[De]);const c=ma(e,ii+t);!function Yp(e,t){fs(e,t,t[St],2,null,null),t[j]=null,t[Pt]=null}(o[h],o);const f=c[Ai];null!==f&&f.detachView(c[h]),o[E]=null,o[De]=null,o[M]&=-129}return o}function s(e,t){if(!(256&t[M])){const i=t[St];t[qo]&&il(t[qo]),t[uo]&&il(t[uo]),i.destroyNode&&fs(e,t,i,3,null,null),function wh(e){let t=e[On];if(!t)return d(e[h],e);for(;t;){let i=null;if(Oi(t))i=t[On];else{const o=t[ii];o&&(i=o)}if(!i){for(;t&&!t[De]&&t!==e;)Oi(t)&&d(t[h],t),t=t[E];null===t&&(t=e),Oi(t)&&d(t[h],t),i=t&&t[De]}t=i}}(t)}}function d(e,t){if(!(256&t[M])){t[M]&=-129,t[M]|=256,function y(e,t){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let o=0;o=0?o[f]():o[-f].unsubscribe(),c+=2}else i[c].call(o[i[c+1]]);null!==o&&(t[hn]=null);const r=t[Do];if(null!==r){t[Do]=null;for(let c=0;c-1){const{encapsulation:c}=e.data[o.directiveStart+r];if(c===Ot.None||c===Ot.Emulated)return null}return Ki(o,i)}}(e,t.parent,i)}function re(e,t,i,o,r){e.insertBefore(t,i,o,r)}function Ge(e,t,i){e.appendChild(t,i)}function _t(e,t,i,o,r){null!==o?re(e,t,i,o,r):Ge(e,t,i)}function rn(e,t){return e.parentNode(t)}function ln(e,t,i){return Wn(e,t,i)}let li,Sn,$l,$i,Wn=function Un(e,t,i){return 40&e.type?Ki(e,i):null};function bi(e,t,i,o){const r=A(e,o,t),c=t[St],m=ln(o.parent||t[Pt],o,t);if(null!=r)if(Array.isArray(i))for(let v=0;ve,createScript:e=>e,createScriptURL:e=>e})}catch{}return Sn}()?.createHTML(e)||e}function Ni(e){$l=e}function Zp(e){return function ps(){if(void 0===$i&&($i=null,lt.trustedTypes))try{$i=lt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return $i}()?.createScriptURL(e)||e}class Us{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ve})`}}class t0 extends Us{getTypeName(){return"HTML"}}class n0 extends Us{getTypeName(){return"Style"}}class o0 extends Us{getTypeName(){return"Script"}}class r0 extends Us{getTypeName(){return"URL"}}class s0 extends Us{getTypeName(){return"ResourceURL"}}function Hr(e){return e instanceof Us?e.changingThisBreaksApplicationSecurity:e}function Sa(e,t){const i=function a0(e){return e instanceof Us&&e.getTypeName()||null}(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see ${ve})`)}return i===t}function l0(e){return new t0(e)}function c0(e){return new n0(e)}function d0(e){return new o0(e)}function u0(e){return new r0(e)}function h0(e){return new s0(e)}class f0{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const i=(new window.DOMParser).parseFromString(Gi(t),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(t):(i.removeChild(i.firstChild),i)}catch{return null}}}class p0{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const i=this.inertDocument.createElement("template");return i.innerHTML=Gi(t),i}}const g0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Dd(e){return(e=String(e)).match(g0)?e:"unsafe:"+e}function Ur(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function Yl(...e){const t={};for(const i of e)for(const o in i)i.hasOwnProperty(o)&&(t[o]=!0);return t}const Qp=Ur("area,br,col,hr,img,wbr"),Jp=Ur("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Xp=Ur("rp,rt"),Mh=Yl(Qp,Yl(Jp,Ur("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Yl(Xp,Ur("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Yl(Xp,Jp)),Th=Ur("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),qp=Yl(Th,Ur("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Ur("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),_0=Ur("script,style,template");class b0{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let i=t.firstChild,o=!0;for(;i;)if(i.nodeType===Node.ELEMENT_NODE?o=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,o&&i.firstChild)i=i.firstChild;else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let r=this.checkClobberedElement(i,i.nextSibling);if(r){i=r;break}i=this.checkClobberedElement(i,i.parentNode)}return this.buf.join("")}startElement(t){const i=t.nodeName.toLowerCase();if(!Mh.hasOwnProperty(i))return this.sanitizedSomething=!0,!_0.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const o=t.attributes;for(let r=0;r"),!0}endElement(t){const i=t.nodeName.toLowerCase();Mh.hasOwnProperty(i)&&!Qp.hasOwnProperty(i)&&(this.buf.push(""))}chars(t){this.buf.push(em(t))}checkClobberedElement(t,i){if(i&&(t.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return i}}const v0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,y0=/([^\#-~ |!])/g;function em(e){return e.replace(/&/g,"&").replace(v0,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(y0,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Md;function tm(e,t){let i=null;try{Md=Md||function Kp(e){const t=new p0(e);return function m0(){try{return!!(new window.DOMParser).parseFromString(Gi(""),"text/html")}catch{return!1}}()?new f0(t):t}(e);let o=t?String(t):"";i=Md.getInertBodyElement(o);let r=5,c=o;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,o=c,c=i.innerHTML,i=Md.getInertBodyElement(o)}while(o!==c);return Gi((new b0).sanitizeChildren(Sh(i)||i))}finally{if(i){const o=Sh(i)||i;for(;o.firstChild;)o.removeChild(o.firstChild)}}}function Sh(e){return"content"in e&&function x0(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var js=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(js||{});function Ih(e){const t=Wl();return t?t.sanitize(js.URL,e)||"":Sa(e,"URL")?Hr(e):Dd(oe(e))}function nm(e){const t=Wl();if(t)return Zp(t.sanitize(js.RESOURCE_URL,e)||"");if(Sa(e,"ResourceURL"))return Zp(Hr(e));throw new H(904,!1)}function im(e,t,i){return function T0(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?nm:Ih}(t,i)(e)}function Wl(){const e=wt();return e&&e[Hn].sanitizer}class jn{constructor(t,i){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof i?this.__NG_ELEMENT_ID__=i:void 0!==i&&(this.\u0275prov=qe({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Zl=new jn("ENVIRONMENT_INITIALIZER"),om=new jn("INJECTOR",-1),rm=new jn("INJECTOR_DEF_TYPES");class Ah{get(t,i=Nt){if(i===Nt){const o=new Error(`NullInjectorError: No provider for ${fe(t)}!`);throw o.name="NullInjectorError",o}return i}}function Oh(e){return{\u0275providers:e}}function S0(...e){return{\u0275providers:sm(0,e),\u0275fromNgModule:!0}}function sm(e,...t){const i=[],o=new Set;let r;const c=f=>{i.push(f)};return Fr(t,f=>{const m=f;Td(m,c,[],o)&&(r||=[],r.push(m))}),void 0!==r&&am(r,c),i}function am(e,t){for(let i=0;i{t(c,o)})}}function Td(e,t,i,o){if(!(e=Ue(e)))return!1;let r=null,c=jt(e);const f=!c&&gn(e);if(c||f){if(f&&!f.standalone)return!1;r=e}else{const v=e.ngModule;if(c=jt(v),!c)return!1;r=v}const m=o.has(r);if(f){if(m)return!1;if(o.add(r),f.dependencies){const v="function"==typeof f.dependencies?f.dependencies():f.dependencies;for(const T of v)Td(T,t,i,o)}}else{if(!c)return!1;{if(null!=c.imports&&!m){let T;o.add(r);try{Fr(c.imports,U=>{Td(U,t,i,o)&&(T||=[],T.push(U))})}finally{}void 0!==T&&am(T,t)}if(!m){const T=nr(r)||(()=>new r);t({provide:r,useFactory:T,deps:$t},r),t({provide:rm,useValue:r,multi:!0},r),t({provide:Zl,useValue:()=>Pe(r),multi:!0},r)}const v=c.providers;if(null!=v&&!m){const T=e;Rh(v,U=>{t(U,T)})}}}return r!==e&&void 0!==e.providers}function Rh(e,t){for(let i of e)ye(i)&&(i=i.\u0275providers),Array.isArray(i)?Rh(i,t):t(i)}const I0=ie({provide:String,useValue:ie});function kh(e){return null!==e&&"object"==typeof e&&I0 in e}function zs(e){return"function"==typeof e}const Ph=new jn("Set Injector scope."),Sd={},O0={};let Fh;function Id(){return void 0===Fh&&(Fh=new Ah),Fh}class Dr{}class Ad extends Dr{get destroyed(){return this._destroyed}constructor(t,i,o,r){super(),this.parent=i,this.source=o,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Lh(t,f=>this.processProvider(f)),this.records.set(om,Ia(void 0,this)),r.has("environment")&&this.records.set(Dr,Ia(void 0,this));const c=this.records.get(Ph);null!=c&&"string"==typeof c.value&&this.scopes.add(c.value),this.injectorDefTypes=new Set(this.get(rm.multi,$t,et.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const i=Ae(this),o=Fe(void 0);try{return t()}finally{Ae(i),Fe(o)}}get(t,i=Nt,o=et.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(di))return t[di](this);o=D(o);const c=Ae(this),f=Fe(void 0);try{if(!(o&et.SkipSelf)){let v=this.records.get(t);if(void 0===v){const T=function N0(e){return"function"==typeof e||"object"==typeof e&&e instanceof jn}(t)&&ct(t);v=T&&this.injectableDefInScope(T)?Ia(Nh(t),Sd):null,this.records.set(t,v)}if(null!=v)return this.hydrate(t,v)}return(o&et.Self?Id():this.parent).get(t,i=o&et.Optional&&i===Nt?null:i)}catch(m){if("NullInjectorError"===m.name){if((m[mt]=m[mt]||[]).unshift(fe(t)),c)throw m;return function ne(e,t,i,o){const r=e[mt];throw t[J]&&r.unshift(t[J]),e.message=function Oe(e,t,i,o=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=fe(t);if(Array.isArray(t))r=t.map(fe).join(" -> ");else if("object"==typeof t){let c=[];for(let f in t)if(t.hasOwnProperty(f)){let m=t[f];c.push(f+":"+("string"==typeof m?JSON.stringify(m):fe(m)))}r=`{${c.join(", ")}}`}return`${i}${o?"("+o+")":""}[${r}]: ${e.replace(Yt,"\n ")}`}("\n"+e.message,r,i,o),e.ngTokenPath=r,e[mt]=null,e}(m,t,"R3InjectorError",this.source)}throw m}finally{Fe(f),Ae(c)}}resolveInjectorInitializers(){const t=Ae(this),i=Fe(void 0);try{const r=this.get(Zl.multi,$t,et.Self);for(const c of r)c()}finally{Ae(t),Fe(i)}}toString(){const t=[],i=this.records;for(const o of i.keys())t.push(fe(o));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new H(205,!1)}processProvider(t){let i=zs(t=Ue(t))?t:Ue(t&&t.provide);const o=function k0(e){return kh(e)?Ia(void 0,e.useValue):Ia(dm(e),Sd)}(t);if(zs(t)||!0!==t.multi)this.records.get(i);else{let r=this.records.get(i);r||(r=Ia(void 0,Sd,!0),r.factory=()=>B(r.multi),this.records.set(i,r)),i=t,r.multi.push(t)}this.records.set(i,o)}hydrate(t,i){return i.value===Sd&&(i.value=O0,i.value=i.factory()),"object"==typeof i.value&&i.value&&function F0(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}injectableDefInScope(t){if(!t.providedIn)return!1;const i=Ue(t.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(t){const i=this._onDestroyHooks.indexOf(t);-1!==i&&this._onDestroyHooks.splice(i,1)}}function Nh(e){const t=ct(e),i=null!==t?t.factory:nr(e);if(null!==i)return i;if(e instanceof jn)throw new H(204,!1);if(e instanceof Function)return function R0(e){const t=e.length;if(t>0)throw Nr(t,"?"),new H(204,!1);const i=function dt(e){return e&&(e[Gt]||e[Lt])||null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new H(204,!1)}function dm(e,t,i){let o;if(zs(e)){const r=Ue(e);return nr(r)||Nh(r)}if(kh(e))o=()=>Ue(e.useValue);else if(function cm(e){return!(!e||!e.useFactory)}(e))o=()=>e.useFactory(...B(e.deps||[]));else if(function lm(e){return!(!e||!e.useExisting)}(e))o=()=>Pe(Ue(e.useExisting));else{const r=Ue(e&&(e.useClass||e.provide));if(!function P0(e){return!!e.deps}(e))return nr(r)||Nh(r);o=()=>new r(...B(e.deps))}return o}function Ia(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function Lh(e,t){for(const i of e)Array.isArray(i)?Lh(i,t):i&&ye(i)?Lh(i.\u0275providers,t):t(i)}const um=new jn("AppId",{providedIn:"root",factory:()=>L0}),L0="ng",hm=new jn("Platform Initializer"),Bh=new jn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),B0=new jn("AnimationModuleType"),V0=new jn("CSP nonce",{providedIn:"root",factory:()=>function go(){if(void 0!==$l)return $l;if(typeof document<"u")return document;throw new H(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let fm=(e,t,i)=>null;function Yh(e,t,i=!1){return fm(e,t,i)}class K0{}class gm{}class J0{resolveComponentFactory(t){throw function Q0(e){const t=Error(`No component factory found for ${fe(e)}.`);return t.ngComponent=e,t}(t)}}let Jl=(()=>{class e{static#e=this.NULL=new J0}return e})();function X0(){return Ra(ki(),wt())}function Ra(e,t){return new Xl(Ki(e,t))}let Xl=(()=>{class e{constructor(i){this.nativeElement=i}static#e=this.__NG_ELEMENT_ID__=X0}return e})();function q0(e){return e instanceof Xl?e.nativeElement:e}class bm{}let ey=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function ty(){const e=wt(),i=oo(ki().index,e);return(Oi(i)?i:e)[St]}()}return e})(),ny=(()=>{class e{static#e=this.\u0275prov=qe({token:e,providedIn:"root",factory:()=>null})}return e})();class vm{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const iy=new vm("16.2.8"),Kh={};function wm(e,t=null,i=null,o){const r=Em(e,t,i,o);return r.resolveInjectorInitializers(),r}function Em(e,t=null,i=null,o,r=new Set){const c=[i||$t,S0(e)];return o=o||("object"==typeof e?void 0:fe(e)),new Ad(c,t||Id(),o||null,r)}let dr=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Nt;static#t=this.NULL=new Ah;static create(i,o){if(Array.isArray(i))return wm({name:""},o,i,"");{const r=i.name??"";return wm({name:r},i.parent,i.providers,r)}}static#n=this.\u0275prov=qe({token:e,providedIn:"any",factory:()=>Pe(om)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function Jh(e){return e.ngOriginalError}class ms{constructor(){this._console=console}handleError(t){const i=this._findOriginalError(t);this._console.error("ERROR",t),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(t){let i=t&&Jh(t);for(;i&&Jh(i);)i=Jh(i);return i||null}}function qh(e){return t=>{setTimeout(e,void 0,t)}}const Mr=class dy extends n.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,i,o){let r=t,c=i||(()=>null),f=o;if(t&&"object"==typeof t){const v=t;r=v.next?.bind(v),c=v.error?.bind(v),f=v.complete?.bind(v)}this.__isAsync&&(c=qh(c),r&&(r=qh(r)),f&&(f=qh(f)));const m=super.subscribe({next:r,error:c,complete:f});return t instanceof l.w0&&t.add(m),m}};function Mm(...e){}class Li{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:o=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Mr(!1),this.onMicrotaskEmpty=new Mr(!1),this.onStable=new Mr(!1),this.onError=new Mr(!1),typeof Zone>"u")throw new H(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!o&&i,r.shouldCoalesceRunChangeDetection=o,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function uy(){const e="function"==typeof lt.requestAnimationFrame;let t=lt[e?"requestAnimationFrame":"setTimeout"],i=lt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&i){const o=t[Zone.__symbol__("OriginalDelegate")];o&&(t=o);const r=i[Zone.__symbol__("OriginalDelegate")];r&&(i=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:i}}().nativeRequestAnimationFrame,function py(e){const t=()=>{!function fy(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(lt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,tf(e),e.isCheckStableRunning=!0,ef(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),tf(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,o,r,c,f,m)=>{if(function gy(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(m))return i.invokeTask(r,c,f,m);try{return Tm(e),i.invokeTask(r,c,f,m)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===c.type||e.shouldCoalesceRunChangeDetection)&&t(),Sm(e)}},onInvoke:(i,o,r,c,f,m,v)=>{try{return Tm(e),i.invoke(r,c,f,m,v)}finally{e.shouldCoalesceRunChangeDetection&&t(),Sm(e)}},onHasTask:(i,o,r,c)=>{i.hasTask(r,c),o===r&&("microTask"==c.change?(e._hasPendingMicrotasks=c.microTask,tf(e),ef(e)):"macroTask"==c.change&&(e.hasPendingMacrotasks=c.macroTask))},onHandleError:(i,o,r,c)=>(i.handleError(r,c),e.runOutsideAngular(()=>e.onError.emit(c)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Li.isInAngularZone())throw new H(909,!1)}static assertNotInAngularZone(){if(Li.isInAngularZone())throw new H(909,!1)}run(t,i,o){return this._inner.run(t,i,o)}runTask(t,i,o,r){const c=this._inner,f=c.scheduleEventTask("NgZoneEvent: "+r,t,hy,Mm,Mm);try{return c.runTask(f,i,o)}finally{c.cancelTask(f)}}runGuarded(t,i,o){return this._inner.runGuarded(t,i,o)}runOutsideAngular(t){return this._outer.run(t)}}const hy={};function ef(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function tf(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Tm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Sm(e){e._nesting--,ef(e)}const Im=new jn("",{providedIn:"root",factory:Am});function Am(){const e=z(Li);let t=!0;const i=new R.y(r=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{r.next(t),r.complete()})}),o=new R.y(r=>{let c;e.runOutsideAngular(()=>{c=e.onStable.subscribe(()=>{Li.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,r.next(!0))})})});const f=e.onUnstable.subscribe(()=>{Li.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{r.next(!1)}))});return()=>{c.unsubscribe(),f.unsubscribe()}});return(0,S.T)(i,o.pipe((0,le.B)()))}function Om(e){return e.ownerDocument.defaultView}function jr(e){return e instanceof Function?e():e}let nf=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=qe({token:e,providedIn:"root",factory:()=>new e})}return e})();function ql(e){for(;e;){e[M]|=64;const t=Ea(e);if(To(e)&&!t)return e;e=t}return null}const Nm=new jn("",{providedIn:"root",factory:()=>!1});let Ld=null;function Hm(e,t){return e[t]??zm()}function Um(e,t){const i=zm();i.producerNode?.length&&(e[t]=Ld,i.lView=e,Ld=jm())}const Dy={...Uo,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ql(e.lView)},lView:null};function jm(){return Object.create(Dy)}function zm(){return Ld??=jm(),Ld}const xn={};function Gm(e){$m(Rn(),wt(),Ui()+e,!1)}function $m(e,t,i,o){if(!o)if(3==(3&t[M])){const c=e.preOrderCheckHooks;null!==c&&la(t,c,i)}else{const c=e.preOrderHooks;null!==c&&ca(t,c,0,i)}kr(i)}function Fa(e,t=et.Default){const i=wt();return null===i?Pe(e,t):Rs(ki(),i,Ue(e),t)}function Ym(){throw new Error("invalid")}function Bd(e,t,i,o,r,c,f,m,v,T,U){const _e=t.blueprint.slice();return _e[j]=r,_e[M]=140|o,(null!==T||e&&2048&e[M])&&(_e[M]|=2048),ia(_e),_e[E]=_e[Eo]=e,_e[Zt]=i,_e[Hn]=f||e&&e[Hn],_e[St]=m||e&&e[St],_e[Pn]=v||e&&e[Pn]||null,_e[Pt]=c,_e[Bo]=function ph(){return fh++}(),_e[co]=U,_e[Xo]=T,_e[Yn]=2==t.type?e[Yn]:_e,_e}function Na(e,t,i,o,r){let c=e.data[t];if(null===c)c=function rf(e,t,i,o,r){const c=Su(),f=kc(),v=e.data[t]=function ky(e,t,i,o,r,c){let f=t?t.injectorIndex:-1,m=0;return es()&&(m|=128),{type:i,index:o,insertBeforeIndex:null,injectorIndex:f,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:m,providerIndexes:0,value:r,attrs:c,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,f?c:c&&c.parent,i,t,o,r);return null===e.firstChild&&(e.firstChild=v),null!==c&&(f?null==c.child&&null!==v.parent&&(c.child=v):null===c.next&&(c.next=v,v.prev=c)),v}(e,t,i,o,r),function Rp(){return fn.lFrame.inI18n}()&&(c.flags|=32);else if(64&c.type){c.type=i,c.value=o,c.attrs=r;const f=function oa(){const e=fn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();c.injectorIndex=null===f?-1:f.injectorIndex}return or(c,!0),c}function ec(e,t,i,o){if(0===i)return-1;const r=t.length;for(let c=0;cEn&&$m(e,t,En,!1),xi(m?2:0,r);const T=m?c:null,U=ea(T);try{null!==T&&(T.dirty=!1),i(o,r)}finally{Qr(T,U)}}finally{m&&null===t[qo]&&Um(t,qo),kr(f),xi(m?3:1,r)}}function sf(e,t,i){if(er(t)){const o=Ri(null);try{const c=t.directiveEnd;for(let f=t.directiveStart;fnull;function Qm(e,t,i,o){for(let r in e)if(e.hasOwnProperty(r)){i=null===i?{}:i;const c=e[r];null===o?Jm(i,t,r,c):o.hasOwnProperty(r)&&Jm(i,t,o[r],c)}return i}function Jm(e,t,i,o){e.hasOwnProperty(i)?e[i].push(t,o):e[i]=[t,o]}function Fo(e,t,i,o,r,c,f,m){const v=Ki(t,i);let U,T=t.inputs;!m&&null!=T&&(U=T[o])?(pf(e,i,U,o,r),to(t)&&function Ny(e,t){const i=oo(t,e);16&i[M]||(i[M]|=64)}(i,t.index)):3&t.type&&(o=function Fy(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(o),r=null!=f?f(r,t.value||"",o):r,c.setProperty(v,o,r))}function df(e,t,i,o){if(Oc()){const r=null===o?null:{"":-1},c=function jy(e,t){const i=e.directiveRegistry;let o=null,r=null;if(i)for(let c=0;c0;){const i=e[--t];if("number"==typeof i&&i<0)return i}return 0})(f)!=m&&f.push(m),f.push(i,o,c)}}(e,t,o,ec(e,i,r.hostVars,xn),r)}function Tr(e,t,i,o,r,c){const f=Ki(e,t);!function hf(e,t,i,o,r,c,f){if(null==c)e.removeAttribute(t,r,i);else{const m=null==f?oe(c):f(c,o||"",r);e.setAttribute(t,r,m,i)}}(t[St],f,c,e.value,i,o,r)}function Zy(e,t,i,o,r,c){const f=c[t];if(null!==f)for(let m=0;m{class e{constructor(){this.all=new Set,this.queue=new Map}create(i,o,r){const c=typeof Zone>"u"?null:Zone.current,f=function rt(e,t,i){const o=Object.create(Wt);i&&(o.consumerAllowSignalWrites=!0),o.fn=e,o.schedule=t;const r=f=>{o.cleanupFn=f};return o.ref={notify:()=>vs(o),run:()=>{if(o.dirty=!1,o.hasRun&&!ta(o))return;o.hasRun=!0;const f=ea(o);try{o.cleanupFn(),o.cleanupFn=vt,o.fn(r)}finally{Qr(o,f)}},cleanup:()=>o.cleanupFn()},o.ref}(i,T=>{this.all.has(T)&&this.queue.set(T,c)},r);let m;this.all.add(f),f.notify();const v=()=>{f.cleanup(),m?.(),this.all.delete(f),this.queue.delete(f)};return m=o?.onDestroy(v),{destroy:v}}flush(){if(0!==this.queue.size)for(const[i,o]of this.queue)this.queue.delete(i),o?o.run(()=>i.run()):i.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=qe({token:e,providedIn:"root",factory:()=>new e})}return e})();function Hd(e,t,i){let o=i?e.styles:null,r=i?e.classes:null,c=0;if(null!==t)for(let f=0;f0){dg(e,1);const r=i.components;null!==r&&hg(e,r,1)}}function hg(e,t,i){for(let o=0;o-1&&(a(t,o),ma(i,o))}this._attachedToViewContainer=!1}s(this._lView[h],this._lView)}onDestroy(t){!function Go(e,t){if(256==(256&e[M]))throw new H(911,!1);null===e[Do]&&(e[Do]=[]),e[Do].push(t)}(this._lView,t)}markForCheck(){ql(this._cdRefInjectingView||this._lView)}detach(){this._lView[M]&=-129}reattach(){this._lView[M]|=128}detectChanges(){Ud(this._lView[h],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new H(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Ch(e,t){fs(e,t,t[St],2,null,null)}(this._lView[h],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new H(902,!1);this._appRef=t}}class ix extends nc{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Ud(t[h],t,t[Zt],!1)}checkNoChanges(){}get context(){return null}}class fg extends Jl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const i=gn(t);return new ic(i,this.ngModule)}}function pg(e){const t=[];for(let i in e)e.hasOwnProperty(i)&&t.push({propName:e[i],templateName:i});return t}class rx{constructor(t,i){this.injector=t,this.parentInjector=i}get(t,i,o){o=D(o);const r=this.injector.get(t,Kh,o);return r!==Kh||i===Kh?r:this.parentInjector.get(t,i,o)}}class ic extends gm{get inputs(){const t=this.componentDef,i=t.inputTransforms,o=pg(t.inputs);if(null!==i)for(const r of o)i.hasOwnProperty(r.propName)&&(r.transform=i[r.propName]);return o}get outputs(){return pg(this.componentDef.outputs)}constructor(t,i){super(),this.componentDef=t,this.ngModule=i,this.componentType=t.type,this.selector=function yo(e){return e.map(gi).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!i}create(t,i,o,r){let c=(r=r||this.ngModule)instanceof Dr?r:r?.injector;c&&null!==this.componentDef.getStandaloneInjector&&(c=this.componentDef.getStandaloneInjector(c)||c);const f=c?new rx(t,c):t,m=f.get(bm,null);if(null===m)throw new H(407,!1);const _e={rendererFactory:m,sanitizer:f.get(ny,null),effectManager:f.get(ag,null),afterRenderEventManager:f.get(nf,null)},ze=m.createRenderer(null,this.componentDef),Qe=this.componentDef.selectors[0][0]||"div",ht=o?function Sy(e,t,i,o){const c=o.get(Nm,!1)||i===Ot.ShadowDom,f=e.selectRootElement(t,c);return function Iy(e){Km(e)}(f),f}(ze,o,this.componentDef.encapsulation,f):Ma(ze,Qe,function ox(e){const t=e.toLowerCase();return"svg"===t?zo:"math"===t?"math":null}(Qe)),en=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let xt=null;null!==ht&&(xt=Yh(ht,f,!0));const _n=cf(0,null,null,1,0,null,null,null,null,null,null),Mn=Bd(null,_n,null,en,null,null,_e,ze,f,null,xt);let Zn,vo;pl(Mn);try{const Gr=this.componentDef;let qa,wp=null;Gr.findHostDirectiveDefs?(qa=[],wp=new Map,Gr.findHostDirectiveDefs(Gr,qa,wp),qa.push(Gr)):qa=[Gr];const s1=function ax(e,t){const i=e[h],o=En;return e[o]=t,Na(i,o,2,"#host",null)}(Mn,ht),a1=function lx(e,t,i,o,r,c,f){const m=r[h];!function cx(e,t,i,o){for(const r of e)t.mergedAttrs=kn(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(Hd(t,t.mergedAttrs,!0),null!==i&&dn(o,i,t))}(o,e,t,f);let v=null;null!==t&&(v=Yh(t,r[Pn]));const T=c.rendererFactory.createRenderer(t,i);let U=16;i.signals?U=4096:i.onPush&&(U=64);const _e=Bd(r,Zm(i),null,U,r[e.index],e,c,T,null,null,v);return m.firstCreatePass&&uf(m,e,o.length-1),Vd(r,_e),r[e.index]=_e}(s1,ht,Gr,qa,Mn,_e,ze);vo=Cs(_n,En),ht&&function ux(e,t,i,o){if(o)vn(e,i,["ng-version",iy.full]);else{const{attrs:r,classes:c}=function oi(e){const t=[],i=[];let o=1,r=2;for(;o0&&sn(e,i,c.join(" "))}}(ze,Gr,ht,o),void 0!==i&&function hx(e,t,i){const o=e.projection=[];for(let r=0;r=0;o--){const r=e[o];r.hostVars=t+=r.hostVars,r.hostAttrs=kn(r.hostAttrs,i=kn(i,r.hostAttrs))}}(o)}function jd(e){return e===Tt?{}:e===$t?[]:e}function mx(e,t){const i=e.viewQuery;e.viewQuery=i?(o,r)=>{t(o,r),i(o,r)}:t}function gx(e,t){const i=e.contentQueries;e.contentQueries=i?(o,r,c)=>{t(o,r,c),i(o,r,c)}:t}function _x(e,t){const i=e.hostBindings;e.hostBindings=i?(o,r)=>{t(o,r),i(o,r)}:t}function vg(e){const t=e.inputConfig,i={};for(const o in t)if(t.hasOwnProperty(o)){const r=t[o];Array.isArray(r)&&r[2]&&(i[o]=r[2])}e.inputTransforms=i}function zd(e){return!!_f(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function _f(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Sr(e,t,i){return e[t]=i}function oc(e,t){return e[t]}function Xi(e,t,i){return!Object.is(e[t],i)&&(e[t]=i,!0)}function Gs(e,t,i,o){const r=Xi(e,t,i);return Xi(e,t+1,o)||r}function Qo(e,t,i,o,r,c){const f=Gs(e,t,i,o);return Gs(e,t+2,r,c)||f}function bf(e,t,i,o){const r=wt();return Xi(r,ws(),t)&&(Rn(),Tr(si(),r,e,t,i,o)),bf}function Ba(e,t,i,o){return Xi(e,ws(),i)?t+oe(i)+o:xn}function Rg(e,t,i,o,r,c,f,m){const v=wt(),T=Rn(),U=e+En,_e=T.firstCreatePass?function jx(e,t,i,o,r,c,f,m,v){const T=t.consts,U=Na(t,e,4,f||null,br(T,m));df(t,i,U,br(T,v)),aa(t,U);const _e=U.tView=cf(2,U,o,r,c,t.directiveRegistry,t.pipeRegistry,null,t.schemas,T,null);return null!==t.queries&&(t.queries.template(t,U),_e.queries=t.queries.embeddedTView(U)),U}(U,T,v,t,i,o,r,c,f):T.data[U];or(_e,!1);const ze=kg(T,v,_e,e);sa()&&bi(T,v,ze,_e),wi(ze,v),Vd(v,v[U]=tg(ze,v,ze,_e)),Wr(_e)&&af(T,v,_e),null!=f&&lf(v,_e,m)}let kg=function Pg(e,t,i,o){return xr(!0),t[St].createComment("")};function Fg(e){return qr(function Op(){return fn.lFrame.contextLView}(),En+e)}function Ef(e,t,i){const o=wt();return Xi(o,ws(),t)&&Fo(Rn(),si(),o,e,t,o[St],i,!1),Ef}function Df(e,t,i,o,r){const f=r?"class":"style";pf(e,i,t.inputs[f],f,o)}function Zd(e,t,i,o){const r=wt(),c=Rn(),f=En+e,m=r[St],v=c.firstCreatePass?function Yx(e,t,i,o,r,c){const f=t.consts,v=Na(t,e,2,o,br(f,r));return df(t,i,v,br(f,c)),null!==v.attrs&&Hd(v,v.attrs,!1),null!==v.mergedAttrs&&Hd(v,v.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,v),v}(f,c,r,t,i,o):c.data[f],T=Ng(c,r,v,m,t,e);r[f]=T;const U=Wr(v);return or(v,!0),dn(m,T,v),32!=(32&v.flags)&&sa()&&bi(c,r,T,v),0===function Ic(){return fn.lFrame.elementDepthCount}()&&wi(T,r),function Ac(){fn.lFrame.elementDepthCount++}(),U&&(af(c,r,v),sf(c,v,r)),null!==o&&lf(r,v),Zd}function Kd(){let e=ki();kc()?Pc():(e=e.parent,or(e,!1));const t=e;(function Tp(e){return fn.skipHydrationRootTNode===e})(t)&&function Ap(){fn.skipHydrationRootTNode=null}(),function dl(){fn.lFrame.elementDepthCount--}();const i=Rn();return i.firstCreatePass&&(aa(i,e),er(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function gl(e){return 0!=(8&e.flags)}(t)&&Df(i,t,wt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function _l(e){return 0!=(16&e.flags)}(t)&&Df(i,t,wt(),t.stylesWithoutHost,!1),Kd}function Mf(e,t,i,o){return Zd(e,t,i,o),Kd(),Mf}let Ng=(e,t,i,o,r,c)=>(xr(!0),Ma(o,r,function Gc(){return fn.lFrame.currentNamespace}()));function Qd(e,t,i){const o=wt(),r=Rn(),c=e+En,f=r.firstCreatePass?function Kx(e,t,i,o,r){const c=t.consts,f=br(c,o),m=Na(t,e,8,"ng-container",f);return null!==f&&Hd(m,f,!0),df(t,i,m,br(c,r)),null!==t.queries&&t.queries.elementStart(t,m),m}(c,r,o,t,i):r.data[c];or(f,!0);const m=Lg(r,o,f,e);return o[c]=m,sa()&&bi(r,o,m,f),wi(m,o),Wr(f)&&(af(r,o,f),sf(r,f,o)),null!=i&&lf(o,f),Qd}function Jd(){let e=ki();const t=Rn();return kc()?Pc():(e=e.parent,or(e,!1)),t.firstCreatePass&&(aa(t,e),er(e)&&t.queries.elementEnd(e)),Jd}function Tf(e,t,i){return Qd(e,t,i),Jd(),Tf}let Lg=(e,t,i,o)=>(xr(!0),Gl(t[St],""));function Bg(){return wt()}function Sf(e){return!!e&&"function"==typeof e.then}function Vg(e){return!!e&&"function"==typeof e.subscribe}function If(e,t,i,o){const r=wt(),c=Rn(),f=ki();return Hg(c,r,r[St],f,e,t,o),If}function Af(e,t){const i=ki(),o=wt(),r=Rn();return Hg(r,o,rg(hl(r.data),i,o),i,e,t),Af}function Hg(e,t,i,o,r,c,f){const m=Wr(o),T=e.firstCreatePass&&og(e),U=t[Zt],_e=ig(t);let ze=!0;if(3&o.type||f){const At=Ki(o,t),Ht=f?f(At):At,en=_e.length,xt=f?Mn=>f(Xn(Mn[o.index])):o.index;let _n=null;if(!f&&m&&(_n=function Xx(e,t,i,o){const r=e.cleanup;if(null!=r)for(let c=0;cv?m[v]:null}"string"==typeof f&&(c+=2)}return null}(e,t,r,o.index)),null!==_n)(_n.__ngLastListenerFn__||_n).__ngNextListenerFn__=c,_n.__ngLastListenerFn__=c,ze=!1;else{c=jg(o,t,U,c,!1);const Mn=i.listen(Ht,r,c);_e.push(c,Mn),T&&T.push(r,xt,en,en+1)}}else c=jg(o,t,U,c,!1);const Qe=o.outputs;let ht;if(ze&&null!==Qe&&(ht=Qe[r])){const At=ht.length;if(At)for(let Ht=0;Ht-1?oo(e.index,t):t);let v=Ug(t,i,o,f),T=c.__ngNextListenerFn__;for(;T;)v=Ug(t,i,T,f)&&v,T=T.__ngNextListenerFn__;return r&&!1===v&&f.preventDefault(),v}}function zg(e=1){return function Ru(e){return(fn.lFrame.contextLView=function ku(e,t){for(;e>0;)t=t[Eo],e--;return t}(e,fn.lFrame.contextLView))[Zt]}(e)}function qx(e,t){let i=null;const o=function pe(e){const t=e.attrs;if(null!=t){const i=t.indexOf(5);if(!(1&i))return t[i+1]}return null}(e);for(let r=0;r>17&32767}function kf(e){return 2|e}function $s(e){return(131068&e)>>2}function Pf(e,t){return-131069&e|t<<2}function Ff(e){return 1|e}function e_(e,t,i,o,r){const c=e[i+1],f=null===t;let m=o?gs(c):$s(c),v=!1;for(;0!==m&&(!1===v||f);){const U=e[m+1];rC(e[m],t)&&(v=!0,e[m+1]=o?Ff(U):kf(U)),m=o?gs(U):$s(U)}v&&(e[i+1]=o?kf(c):Ff(c))}function rC(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&os(e,t)>=0}const Si={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function t_(e){return e.substring(Si.key,Si.keyEnd)}function sC(e){return e.substring(Si.value,Si.valueEnd)}function n_(e,t){const i=Si.textEnd;return i===t?-1:(t=Si.keyEnd=function cC(e,t,i){for(;t32;)t++;return t}(e,Si.key=t,i),Ya(e,t,i))}function i_(e,t){const i=Si.textEnd;let o=Si.key=Ya(e,t,i);return i===o?-1:(o=Si.keyEnd=function dC(e,t,i){let o;for(;t=65&&(-33&o)<=90||o>=48&&o<=57);)t++;return t}(e,o,i),o=r_(e,o,i),o=Si.value=Ya(e,o,i),o=Si.valueEnd=function uC(e,t,i){let o=-1,r=-1,c=-1,f=t,m=f;for(;f32&&(m=f),c=r,r=o,o=-33&v}return m}(e,o,i),r_(e,o,i))}function o_(e){Si.key=0,Si.keyEnd=0,Si.value=0,Si.valueEnd=0,Si.textEnd=e.length}function Ya(e,t,i){for(;t=0;i=i_(t,i))d_(e,t_(t),sC(t))}function a_(e){fr(bC,Ir,e,!0)}function Ir(e,t){for(let i=function aC(e){return o_(e),n_(e,Ya(e,0,Si.textEnd))}(t);i>=0;i=n_(t,i))ro(e,t_(t),!0)}function hr(e,t,i,o){const r=wt(),c=Rn(),f=yr(2);c.firstUpdatePass&&c_(c,e,f,o),t!==xn&&Xi(r,f,t)&&u_(c,c.data[Ui()],r,r[St],e,r[f+1]=function yC(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=fe(Hr(e)))),e}(t,i),o,f)}function fr(e,t,i,o){const r=Rn(),c=yr(2);r.firstUpdatePass&&c_(r,null,c,o);const f=wt();if(i!==xn&&Xi(f,c,i)){const m=r.data[Ui()];if(f_(m,o)&&!l_(r,c)){let v=o?m.classesWithoutHost:m.stylesWithoutHost;null!==v&&(i=me(v,i||"")),Df(r,m,f,i,o)}else!function vC(e,t,i,o,r,c,f,m){r===xn&&(r=$t);let v=0,T=0,U=0=e.expandoStartIndex}function c_(e,t,i,o){const r=e.data;if(null===r[i+1]){const c=r[Ui()],f=l_(e,i);f_(c,o)&&null===t&&!f&&(t=!1),t=function fC(e,t,i,o){const r=hl(e);let c=o?t.residualClasses:t.residualStyles;if(null===r)0===(o?t.classBindings:t.styleBindings)&&(i=lc(i=Bf(null,e,t,i,o),t.attrs,o),c=null);else{const f=t.directiveStylingLast;if(-1===f||e[f]!==r)if(i=Bf(r,e,t,i,o),null===c){let v=function pC(e,t,i){const o=i?t.classBindings:t.styleBindings;if(0!==$s(o))return e[gs(o)]}(e,t,o);void 0!==v&&Array.isArray(v)&&(v=Bf(null,e,t,v[1],o),v=lc(v,t.attrs,o),function mC(e,t,i,o){e[gs(i?t.classBindings:t.styleBindings)]=o}(e,t,o,v))}else c=function gC(e,t,i){let o;const r=t.directiveEnd;for(let c=1+t.directiveStylingLast;c0)&&(T=!0)):U=i,r)if(0!==v){const ze=gs(e[m+1]);e[o+1]=Xd(ze,m),0!==ze&&(e[ze+1]=Pf(e[ze+1],o)),e[m+1]=function tC(e,t){return 131071&e|t<<17}(e[m+1],o)}else e[o+1]=Xd(m,0),0!==m&&(e[m+1]=Pf(e[m+1],o)),m=o;else e[o+1]=Xd(v,0),0===m?m=o:e[v+1]=Pf(e[v+1],o),v=o;T&&(e[o+1]=kf(e[o+1])),e_(e,U,o,!0),e_(e,U,o,!1),function oC(e,t,i,o,r){const c=r?e.residualClasses:e.residualStyles;null!=c&&"string"==typeof t&&os(c,t)>=0&&(i[o+1]=Ff(i[o+1]))}(t,U,e,o,c),f=Xd(m,v),c?t.classBindings=f:t.styleBindings=f}(r,c,t,i,f,o)}}function Bf(e,t,i,o,r){let c=null;const f=i.directiveEnd;let m=i.directiveStylingLast;for(-1===m?m=i.directiveStart:m++;m0;){const v=e[r],T=Array.isArray(v),U=T?v[1]:v,_e=null===U;let ze=i[r+1];ze===xn&&(ze=_e?$t:void 0);let Qe=_e?El(ze,o):U===o?ze:void 0;if(T&&!qd(Qe)&&(Qe=El(v,o)),qd(Qe)&&(m=Qe,f))return m;const ht=e[r+1];r=f?gs(ht):$s(ht)}if(null!==t){let v=c?t.residualClasses:t.residualStyles;null!=v&&(m=El(v,o))}return m}function qd(e){return void 0!==e}function f_(e,t){return 0!=(e.flags&(t?8:16))}function p_(e,t=""){const i=wt(),o=Rn(),r=e+En,c=o.firstCreatePass?Na(o,r,1,t,null):o.data[r],f=m_(o,i,c,t,e);i[r]=f,sa()&&bi(o,i,f,c),or(c,!1)}let m_=(e,t,i,o,r)=>(xr(!0),function Da(e,t){return e.createText(t)}(t[St],o));function Vf(e){return eu("",e,""),Vf}function eu(e,t,i){const o=wt(),r=Ba(o,e,t,i);return r!==xn&&function zr(e,t,i){const o=Zi(t,e);!function xd(e,t,i){e.setValue(t,i)}(e[St],o,i)}(o,Ui(),r),eu}function E_(e,t,i){fr(ro,Ir,Ba(wt(),e,t,i),!0)}function Hf(e,t,i){const o=wt();return Xi(o,ws(),t)&&Fo(Rn(),si(),o,e,t,o[St],i,!0),Hf}function Uf(e,t,i){const o=wt();if(Xi(o,ws(),t)){const c=Rn(),f=si();Fo(c,f,o,e,t,rg(hl(c.data),f,o),i,!0)}return Uf}const Ys=void 0;var UC=["en",[["a","p"],["AM","PM"],Ys],[["AM","PM"],Ys,Ys],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ys,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ys,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ys,"{1} 'at' {0}",Ys],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function HC(e){const i=Math.floor(Math.abs(e)),o=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===o?1:5}];let Wa={};function jf(e){const t=function jC(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=F_(t);if(i)return i;const o=t.split("-")[0];if(i=F_(o),i)return i;if("en"===o)return UC;throw new H(701,!1)}function P_(e){return jf(e)[Za.PluralCase]}function F_(e){return e in Wa||(Wa[e]=lt.ng&<.ng.common&<.ng.common.locales&<.ng.common.locales[e]),Wa[e]}var Za=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Za||{});const Ka="en-US";let N_=Ka;function $f(e,t,i,o,r){if(e=Ue(e),Array.isArray(e))for(let c=0;c>20;if(zs(e)||!e.multi){const Qe=new da(T,r,Fa),ht=Wf(v,t,r?U:U+ze,_e);-1===ht?(vl(Ts(m,f),c,v),Yf(c,e,t.length),t.push(v),m.directiveStart++,m.directiveEnd++,r&&(m.providerIndexes+=1048576),i.push(Qe),f.push(Qe)):(i[ht]=Qe,f[ht]=Qe)}else{const Qe=Wf(v,t,U+ze,_e),ht=Wf(v,t,U,U+ze),Ht=ht>=0&&i[ht];if(r&&!Ht||!r&&!(Qe>=0&&i[Qe])){vl(Ts(m,f),c,v);const en=function Hw(e,t,i,o,r){const c=new da(e,i,Fa);return c.multi=[],c.index=t,c.componentProviders=0,ab(c,r,o&&!i),c}(r?Vw:Bw,i.length,r,o,T);!r&&Ht&&(i[ht].providerFactory=en),Yf(c,e,t.length,0),t.push(v),m.directiveStart++,m.directiveEnd++,r&&(m.providerIndexes+=1048576),i.push(en),f.push(en)}else Yf(c,e,Qe>-1?Qe:ht,ab(i[r?ht:Qe],T,!r&&o));!r&&o&&Ht&&i[ht].componentProviders++}}}function Yf(e,t,i,o){const r=zs(t),c=function A0(e){return!!e.useClass}(t);if(r||c){const v=(c?Ue(t.useClass):t).prototype.ngOnDestroy;if(v){const T=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const U=T.indexOf(i);-1===U?T.push(i,[o,v]):T[U+1].push(o,v)}else T.push(i,v)}}}function ab(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function Wf(e,t,i,o){for(let r=i;r{i.providersResolver=(o,r)=>function Lw(e,t,i){const o=Rn();if(o.firstCreatePass){const r=no(e);$f(i,o.data,o.blueprint,r,!0),$f(t,o.data,o.blueprint,r,!1)}}(o,r?r(e):e,t)}}class Ws{}class cb{}function Uw(e,t){return new Kf(e,t??null,[])}class Kf extends Ws{constructor(t,i,o){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new fg(this);const r=Jn(t);this._bootstrapComponents=jr(r.bootstrap),this._r3Injector=Em(t,i,[{provide:Ws,useValue:this},{provide:Jl,useValue:this.componentFactoryResolver},...o],fe(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Qf extends cb{constructor(t){super(),this.moduleType=t}create(t){return new Kf(this.moduleType,t,[])}}class db extends Ws{constructor(t){super(),this.componentFactoryResolver=new fg(this),this.instance=null;const i=new Ad([...t.providers,{provide:Ws,useValue:this},{provide:Jl,useValue:this.componentFactoryResolver}],t.parent||Id(),t.debugName,new Set(["environment"]));this.injector=i,t.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function ub(e,t,i=null){return new db({providers:e,parent:t,debugName:i,runEnvironmentInitializers:!0}).injector}let zw=(()=>{class e{constructor(i){this._injector=i,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){const o=sm(0,i.type),r=o.length>0?ub([o],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i,r)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=qe({token:e,providedIn:"environment",factory:()=>new e(Pe(Dr))})}return e})();function hb(e){e.getStandaloneInjector=t=>t.get(zw).getOrCreateStandaloneInjector(e)}function vb(e,t,i){const o=Qi()+e,r=wt();return r[o]===xn?Sr(r,o,i?t.call(i):t()):oc(r,o)}function yb(e,t,i,o){return Db(wt(),Qi(),e,t,i,o)}function xb(e,t,i,o,r){return Mb(wt(),Qi(),e,t,i,o,r)}function Cb(e,t,i,o,r,c){return function Tb(e,t,i,o,r,c,f,m){const v=t+i;return function Gd(e,t,i,o,r){const c=Gs(e,t,i,o);return Xi(e,t+2,r)||c}(e,v,r,c,f)?Sr(e,v+3,m?o.call(m,r,c,f):o(r,c,f)):pc(e,v+3)}(wt(),Qi(),e,t,i,o,r,c)}function wb(e,t,i,o,r,c,f){return function Sb(e,t,i,o,r,c,f,m,v){const T=t+i;return Qo(e,T,r,c,f,m)?Sr(e,T+4,v?o.call(v,r,c,f,m):o(r,c,f,m)):pc(e,T+4)}(wt(),Qi(),e,t,i,o,r,c,f)}function Eb(e,t,i,o,r,c,f,m){const v=Qi()+e,T=wt(),U=Qo(T,v,i,o,r,c);return Xi(T,v+4,f)||U?Sr(T,v+5,m?t.call(m,i,o,r,c,f):t(i,o,r,c,f)):oc(T,v+5)}function pc(e,t){const i=e[t];return i===xn?void 0:i}function Db(e,t,i,o,r,c){const f=t+i;return Xi(e,f,r)?Sr(e,f+1,c?o.call(c,r):o(r)):pc(e,f+1)}function Mb(e,t,i,o,r,c,f){const m=t+i;return Gs(e,m,r,c)?Sr(e,m+2,f?o.call(f,r,c):o(r,c)):pc(e,m+2)}function Ab(e,t){const i=Rn();let o;const r=e+En;i.firstCreatePass?(o=function nE(e,t){if(t)for(let i=t.length-1;i>=0;i--){const o=t[i];if(e===o.name)return o}}(t,i.pipeRegistry),i.data[r]=o,o.onDestroy&&(i.destroyHooks??=[]).push(r,o.onDestroy)):o=i.data[r];const c=o.factory||(o.factory=nr(o.type)),m=Fe(Fa);try{const v=Ms(!1),T=c();return Ms(v),function $x(e,t,i,o){i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=o}(i,wt(),r,T),T}finally{Fe(m)}}function Ob(e,t,i){const o=e+En,r=wt(),c=qr(r,o);return mc(r,o)?Db(r,Qi(),t,c.transform,i,c):c.transform(i)}function Rb(e,t,i,o){const r=e+En,c=wt(),f=qr(c,r);return mc(c,r)?Mb(c,Qi(),t,f.transform,i,o,f):f.transform(i,o)}function mc(e,t){return e[h].data[t].pure}function sE(){return this._results[Symbol.iterator]()}class ru{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new Mr)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const i=ru.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=sE)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,i){return this._results.reduce(t,i)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,i){const o=this;o.dirty=!1;const r=function ji(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function pa(e,t,i){if(e.length!==t.length)return!1;for(let o=0;o0&&(i[r-1][De]=t),o{class e{static#e=this.__NG_ELEMENT_ID__=uE}return e})();const cE=gc,dE=class extends cE{constructor(t,i,o){super(),this._declarationLView=t,this._declarationTContainer=i,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,i){return this.createEmbeddedViewImpl(t,i)}createEmbeddedViewImpl(t,i,o){const r=function aE(e,t,i,o){const r=t.tView,m=Bd(e,r,i,4096&e[M]?4096:16,null,t,null,null,null,o?.injector??null,o?.hydrationInfo??null);m[Hi]=e[t.index];const T=e[Ai];return null!==T&&(m[Ai]=T.createEmbeddedView(r)),mf(r,m,i),m}(this._declarationLView,this._declarationTContainer,t,{injector:i,hydrationInfo:o});return new nc(r)}};function uE(){return su(ki(),wt())}function su(e,t){return 4&e.type?new dE(t,e,Ra(e,t)):null}let lu=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=_E}return e})();function _E(){return Vb(ki(),wt())}const bE=lu,Lb=class extends bE{constructor(t,i,o){super(),this._lContainer=t,this._hostTNode=i,this._hostLView=o}get element(){return Ra(this._hostTNode,this._hostLView)}get injector(){return new Pi(this._hostTNode,this._hostLView)}get parentInjector(){const t=Is(this._hostTNode,this._hostLView);if(ua(t)){const i=Ds(t,this._hostLView),o=Es(t);return new Pi(i[h].data[o+8],i)}return new Pi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const i=Bb(this._lContainer);return null!==i&&i[t]||null}get length(){return this._lContainer.length-ii}createEmbeddedView(t,i,o){let r,c;"number"==typeof o?r=o:null!=o&&(r=o.index,c=o.injector);const m=t.createEmbeddedViewImpl(i||{},c,null);return this.insertImpl(m,r,false),m}createComponent(t,i,o,r,c){const f=t&&!function Bs(e){return"function"==typeof e}(t);let m;if(f)m=i;else{const At=i||{};m=At.index,o=At.injector,r=At.projectableNodes,c=At.environmentInjector||At.ngModuleRef}const v=f?t:new ic(gn(t)),T=o||this.parentInjector;if(!c&&null==v.ngModule){const Ht=(f?T:this.parentInjector).get(Dr,null);Ht&&(c=Ht)}gn(v.componentType??{});const Qe=v.create(T,r,null,c);return this.insertImpl(Qe.hostView,m,false),Qe}insert(t,i){return this.insertImpl(t,i,!1)}insertImpl(t,i,o){const r=t._lView;if(function Dp(e){return _i(e[E])}(r)){const v=this.indexOf(t);if(-1!==v)this.detach(v);else{const T=r[E],U=new Lb(T,T[Pt],T[E]);U.detach(U.indexOf(t))}}const f=this._adjustIndex(i),m=this._lContainer;return lE(m,r,f,!o),t.attachToViewContainerRef(),wl(Xf(m),f,t),t}move(t,i){return this.insert(t,i)}indexOf(t){const i=Bb(this._lContainer);return null!==i?i.indexOf(t):-1}remove(t){const i=this._adjustIndex(t,-1),o=a(this._lContainer,i);o&&(ma(Xf(this._lContainer),i),s(o[h],o))}detach(t){const i=this._adjustIndex(t,-1),o=a(this._lContainer,i);return o&&null!=ma(Xf(this._lContainer),i)?new nc(o):null}_adjustIndex(t,i=0){return t??this.length+i}};function Bb(e){return e[8]}function Xf(e){return e[8]||(e[8]=[])}function Vb(e,t){let i;const o=t[e.index];return _i(o)?i=o:(i=tg(o,t,null,e),t[e.index]=i,Vd(t,i)),Hb(i,t,e,o),new Lb(i,e,t)}let Hb=function Ub(e,t,i,o){if(e[Di])return;let r;r=8&i.type?Xn(o):function vE(e,t){const i=e[St],o=i.createComment(""),r=Ki(t,e);return re(i,rn(i,r),o,function Xt(e,t){return e.nextSibling(t)}(i,r),!1),o}(t,i),e[Di]=r};class qf{constructor(t){this.queryList=t,this.matches=null}clone(){return new qf(this.queryList)}setDirty(){this.queryList.setDirty()}}class ep{constructor(t=[]){this.queries=t}createEmbeddedView(t){const i=t.queries;if(null!==i){const o=null!==t.contentQueries?t.contentQueries[0]:i.length,r=[];for(let c=0;c0)o.push(f[m/2]);else{const T=c[m+1],U=t[-v];for(let _e=ii;_e{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,o)=>{this.resolve=i,this.reject=o}),this.appInits=z(ZE,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const i=[];for(const r of this.appInits){const c=r();if(Sf(c))i.push(c);else if(Vg(c)){const f=new Promise((m,v)=>{c.subscribe({complete:m,error:v})});i.push(f)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{o()}).catch(r=>{this.reject(r)}),0===i.length&&o(),this.initialized=!0}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),pv=(()=>{class e{log(i){console.log(i)}warn(i){console.warn(i)}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const du=new jn("LocaleId",{providedIn:"root",factory:()=>z(du,et.Optional|et.SkipSelf)||function KE(){return typeof $localize<"u"&&$localize.locale||Ka}()}),QE=new jn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let mv=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new te.X(!1)}add(){this.hasPendingTasks.next(!0);const i=this.taskId++;return this.pendingTasks.add(i),i}remove(i){this.pendingTasks.delete(i),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class XE{constructor(t,i){this.ngModuleFactory=t,this.componentFactories=i}}let qE=(()=>{class e{compileModuleSync(i){return new Qf(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const o=this.compileModuleSync(i),c=jr(Jn(i).declarations).reduce((f,m)=>{const v=gn(m);return v&&f.push(new ic(v)),f},[]);return new XE(o,c)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const vv=new jn(""),yv=new jn("");let hp,vD=(()=>{class e{constructor(i,o,r){this._ngZone=i,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,hp||(function yD(e){hp=e}(r),r.addToWindow(o)),this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Li.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb(this._didWork)}this._didWork=!1});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(i)||(clearTimeout(o.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,o,r){let c=-1;o&&o>0&&(c=setTimeout(()=>{this._callbacks=this._callbacks.filter(f=>f.timeoutId!==c),i(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:i,timeoutId:c,updateCb:r})}whenStable(i,o,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(i,o,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,o,r){return[]}static#e=this.\u0275fac=function(o){return new(o||e)(Pe(Li),Pe(xv),Pe(yv))};static#t=this.\u0275prov=qe({token:e,factory:e.\u0275fac})}return e})(),xv=(()=>{class e{constructor(){this._applications=new Map}registerApplication(i,o){this._applications.set(i,o)}unregisterApplication(i){this._applications.delete(i)}unregisterAllApplications(){this._applications.clear()}getTestability(i){return this._applications.get(i)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(i,o=!0){return hp?.findTestabilityInTree(this,i,o)??null}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),_s=null;const fp=new jn("PlatformDestroyListeners"),pp=new jn("appBootstrapListener");function DD(e){try{const{rootComponent:t,appProviders:i,platformProviders:o}=e,r=function ED(e=[]){if(_s)return _s;const t=function Dv(e=[],t){return dr.create({name:t,providers:[{provide:Ph,useValue:"platform"},{provide:fp,useValue:new Set([()=>_s=null])},...e]})}(e);return _s=t,function wv(){!function sl(e){Dc=e}(()=>{throw new H(600,!1)})}(),function Ev(e){e.get(hm,null)?.forEach(i=>i())}(t),t}(o),c=[AD(),...i||[]],m=new db({providers:c,parent:r,debugName:"",runEnvironmentInitializers:!1}).injector,v=m.get(Li);return v.run(()=>{m.resolveInjectorInitializers();const T=m.get(ms,null);let U;v.runOutsideAngular(()=>{U=v.onError.subscribe({next:Qe=>{T.handleError(Qe)}})});const _e=()=>m.destroy(),ze=r.get(fp);return ze.add(_e),m.onDestroy(()=>{U.unsubscribe(),ze.delete(_e)}),function Sv(e,t,i){try{const o=i();return Sf(o)?o.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):o}catch(o){throw t.runOutsideAngular(()=>e.handleError(o)),o}}(T,v,()=>{const Qe=m.get(cp);return Qe.runInitializers(),Qe.donePromise.then(()=>{!function L_(e){Be(e,"Expected localeId to be defined"),"string"==typeof e&&(N_=e.toLowerCase().replace(/_/g,"-"))}(m.get(du,Ka)||Ka);const At=m.get(Xa);return void 0!==t&&At.bootstrap(t),At})})})}catch(t){return Promise.reject(t)}}let Xa=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=z(Ov),this.zoneIsStable=z(Im),this.componentTypes=[],this.components=[],this.isStable=z(mv).hasPendingTasks.pipe((0,ke.w)(i=>i?(0,Se.of)(!1):this.zoneIsStable),(0,ue.x)(),(0,le.B)()),this._injector=z(Dr)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(i,o){const r=i instanceof gm;if(!this._injector.get(cp).done)throw!r&&ni(i),new H(405,!1);let f;f=r?i:this._injector.get(Jl).resolveComponentFactory(i),this.componentTypes.push(f.componentType);const m=function CD(e){return e.isBoundToModule}(f)?void 0:this._injector.get(Ws),T=f.create(dr.NULL,[],o||f.selector,m),U=T.location.nativeElement,_e=T.injector.get(vv,null);return _e?.registerApplication(U),T.onDestroy(()=>{this.detachView(T.hostView),hu(this.components,T),_e?.unregisterApplication(U)}),this._loadComponent(T),T}tick(){if(this._runningTick)throw new H(101,!1);try{this._runningTick=!0;for(let i of this._views)i.detectChanges()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1}}attachView(i){const o=i;this._views.push(o),o.attachToAppRef(this)}detachView(i){const o=i;hu(this._views,o),o.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i);const o=this._injector.get(pp,[]);o.push(...this._bootstrapListeners),o.forEach(r=>r(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>hu(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new H(406,!1);const i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function hu(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}const Ov=new jn("",{providedIn:"root",factory:()=>z(ms).handleError.bind(void 0)});function SD(){const e=z(Li),t=z(ms);return i=>e.runOutsideAngular(()=>t.handleError(i))}let ID=(()=>{class e{constructor(){this.zone=z(Li),this.applicationRef=z(Xa)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Rv(e){return[{provide:Li,useFactory:e},{provide:Zl,multi:!0,useFactory:()=>{const t=z(ID,{optional:!0});return()=>t.initialize()}},{provide:Ov,useFactory:SD},{provide:Im,useFactory:Am}]}function AD(e){return Oh([[],Rv(()=>new Li(function Tv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}(e)))])}function OD(){return!1}let RD=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=kD}return e})();function kD(e){return function PD(e,t,i){if(to(e)&&!i){const o=oo(e.index,t);return new nc(o,o)}return 47&e.type?new nc(t[Yn],t):null}(ki(),wt(),16==(16&e))}class Nv{constructor(){}supports(t){return zd(t)}create(t){return new HD(t)}}const VD=(e,t)=>t;class HD{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||VD}forEachItem(t){let i;for(i=this._itHead;null!==i;i=i._next)t(i)}forEachOperation(t){let i=this._itHead,o=this._removalsHead,r=0,c=null;for(;i||o;){const f=!o||i&&i.currentIndex{f=this._trackByFn(r,m),null!==i&&Object.is(i.trackById,f)?(o&&(i=this._verifyReinsertion(i,m,f,r)),Object.is(i.item,m)||this._addIdentityChange(i,m)):(i=this._mismatch(i,m,f,r),o=!0),i=i._next,r++}),this.length=r;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,i,o,r){let c;return null===t?c=this._itTail:(c=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._reinsertAfter(t,c,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(o,r))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._moveAfter(t,c,r)):t=this._addAfter(new UD(i,o),c,r),t}_verifyReinsertion(t,i,o,r){let c=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null);return null!==c?t=this._reinsertAfter(c,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const i=t._next;this._addToRemovals(this._unlink(t)),t=i}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,i,o){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,c=t._nextRemoved;return null===r?this._removalsHead=c:r._nextRemoved=c,null===c?this._removalsTail=r:c._prevRemoved=r,this._insertAfter(t,i,o),this._addToMoves(t,o),t}_moveAfter(t,i,o){return this._unlink(t),this._insertAfter(t,i,o),this._addToMoves(t,o),t}_addAfter(t,i,o){return this._insertAfter(t,i,o),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,i,o){const r=null===i?this._itHead:i._next;return t._next=r,t._prev=i,null===r?this._itTail=t:r._prev=t,null===i?this._itHead=t:i._next=t,null===this._linkedRecords&&(this._linkedRecords=new Lv),this._linkedRecords.put(t),t.currentIndex=o,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const i=t._prev,o=t._next;return null===i?this._itHead=o:i._next=o,null===o?this._itTail=i:o._prev=i,t}_addToMoves(t,i){return t.previousIndex===i||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Lv),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,i){return t.item=i,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class UD{constructor(t,i){this.item=t,this.trackById=i,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class jD{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,i){let o;for(o=this._head;null!==o;o=o._nextDup)if((null===i||i<=o.currentIndex)&&Object.is(o.trackById,t))return o;return null}remove(t){const i=t._prevDup,o=t._nextDup;return null===i?this._head=o:i._nextDup=o,null===o?this._tail=i:o._prevDup=i,null===this._head}}class Lv{constructor(){this.map=new Map}put(t){const i=t.trackById;let o=this.map.get(i);o||(o=new jD,this.map.set(i,o)),o.add(t)}get(t,i){const r=this.map.get(t);return r?r.get(t,i):null}remove(t){const i=t.trackById;return this.map.get(i).remove(t)&&this.map.delete(i),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Bv(e,t,i){const o=e.previousIndex;if(null===o)return o;let r=0;return i&&o{if(i&&i.key===r)this._maybeAddToChanges(i,o),this._appendAfter=i,i=i._next;else{const c=this._getOrCreateRecordForKey(r,o);i=this._insertBeforeOrAppend(i,c)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let o=i;null!==o;o=o._nextRemoved)o===this._mapHead&&(this._mapHead=null),this._records.delete(o.key),o._nextRemoved=o._next,o.previousValue=o.currentValue,o.currentValue=null,o._prev=null,o._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,i){if(t){const o=t._prev;return i._next=t,i._prev=o,t._prev=i,o&&(o._next=i),t===this._mapHead&&(this._mapHead=i),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(t,i){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,i);const c=r._prev,f=r._next;return c&&(c._next=f),f&&(f._prev=c),r._next=null,r._prev=null,r}const o=new GD(t);return this._records.set(t,o),o.currentValue=i,this._addToAdditions(o),o}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,i){Object.is(i,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=i,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,i){t instanceof Map?t.forEach(i):Object.keys(t).forEach(o=>i(t[o],o))}}class GD{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Hv(){return new yp([new Nv])}let yp=(()=>{class e{static#e=this.\u0275prov=qe({token:e,providedIn:"root",factory:Hv});constructor(i){this.factories=i}static create(i,o){if(null!=o){const r=o.factories.slice();i=i.concat(r)}return new e(i)}static extend(i){return{provide:e,useFactory:o=>e.create(i,o||Hv()),deps:[[e,new Br,new Lr]]}}find(i){const o=this.factories.find(r=>r.supports(i));if(null!=o)return o;throw new H(901,!1)}}return e})();function Uv(){return new xp([new Vv])}let xp=(()=>{class e{static#e=this.\u0275prov=qe({token:e,providedIn:"root",factory:Uv});constructor(i){this.factories=i}static create(i,o){if(o){const r=o.factories.slice();i=i.concat(r)}return new e(i)}static extend(i){return{provide:e,useFactory:o=>e.create(i,o||Uv()),deps:[[e,new Br,new Lr]]}}find(i){const o=this.factories.find(r=>r.supports(i));if(o)return o;throw new H(901,!1)}}return e})();function o1(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},6223:(Mt,je,g)=>{g.d(je,{CE:()=>b,Cf:()=>be,F:()=>hi,Fd:()=>Ai,Fj:()=>Te,JJ:()=>dt,JL:()=>jt,JU:()=>ke,NI:()=>mi,Oe:()=>er,On:()=>oi,UX:()=>tr,Zs:()=>uo,_Y:()=>xo,a5:()=>Ye,cw:()=>ge,kI:()=>ve,qQ:()=>Xo,sg:()=>Vi,u:()=>M,u5:()=>mr,wV:()=>qi,x0:()=>Ii});var n=g(5879),l=g(6814),R=g(7715),S=g(9315),te=g(7398);let Se=(()=>{class O{constructor(C,Q){this._renderer=C,this._elementRef=Q,this.onChange=Ne=>{},this.onTouched=()=>{}}setProperty(C,Q){this._renderer.setProperty(this._elementRef.nativeElement,C,Q)}registerOnTouched(C){this.onTouched=C}registerOnChange(C){this.onChange=C}setDisabledState(C){this.setProperty("disabled",C)}static#e=this.\u0275fac=function(Q){return new(Q||O)(n.Y36(n.Qsj),n.Y36(n.SBq))};static#t=this.\u0275dir=n.lG2({type:O})}return O})(),le=(()=>{class O extends Se{static#e=this.\u0275fac=function(){let C;return function(Ne){return(C||(C=n.n5z(O)))(Ne||O)}}();static#t=this.\u0275dir=n.lG2({type:O,features:[n.qOj]})}return O})();const ke=new n.OlP("NgValueAccessor"),we={provide:ke,useExisting:(0,n.Gpc)(()=>Te),multi:!0},me=new n.OlP("CompositionEventMode");let Te=(()=>{class O extends Se{constructor(C,Q,Ne){super(C,Q),this._compositionMode=Ne,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function fe(){const O=(0,l.q)()?(0,l.q)().getUserAgent():"";return/android (\d+)/.test(O.toLowerCase())}())}writeValue(C){this.setProperty("value",C??"")}_handleInput(C){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(C)}_compositionStart(){this._composing=!0}_compositionEnd(C){this._composing=!1,this._compositionMode&&this.onChange(C)}static#e=this.\u0275fac=function(Q){return new(Q||O)(n.Y36(n.Qsj),n.Y36(n.SBq),n.Y36(me,8))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(Q,Ne){1&Q&&n.NdJ("input",function(Dn){return Ne._handleInput(Dn.target.value)})("blur",function(){return Ne.onTouched()})("compositionstart",function(){return Ne._compositionStart()})("compositionend",function(Dn){return Ne._compositionEnd(Dn.target.value)})},features:[n._Bn([we]),n.qOj]})}return O})();function Le(O){return null==O||("string"==typeof O||Array.isArray(O))&&0===O.length}function Ue(O){return null!=O&&"number"==typeof O.length}const be=new n.OlP("NgValidators"),ye=new n.OlP("NgAsyncValidators"),Je=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class ve{static min(k){return H(k)}static max(k){return xe(k)}static required(k){return oe(k)}static requiredTrue(k){return Ie(k)}static email(k){return function Re(O){return Le(O.value)||Je.test(O.value)?null:{email:!0}}(k)}static minLength(k){return function $e(O){return k=>Le(k.value)||!Ue(k.value)?null:k.value.lengthUe(k.value)&&k.value.length>O?{maxlength:{requiredLength:O,actualLength:k.value.length}}:null}(k)}static pattern(k){return function bt(O){if(!O)return Dt;let k,C;return"string"==typeof O?(C="","^"!==O.charAt(0)&&(C+="^"),C+=O,"$"!==O.charAt(O.length-1)&&(C+="$"),k=new RegExp(C)):(C=O.toString(),k=O),Q=>{if(Le(Q.value))return null;const Ne=Q.value;return k.test(Ne)?null:{pattern:{requiredPattern:C,actualValue:Ne}}}}(k)}static nullValidator(k){return null}static compose(k){return P(k)}static composeAsync(k){return L(k)}}function H(O){return k=>{if(Le(k.value)||Le(O))return null;const C=parseFloat(k.value);return!isNaN(C)&&C{if(Le(k.value)||Le(O))return null;const C=parseFloat(k.value);return!isNaN(C)&&C>O?{max:{max:O,actual:k.value}}:null}}function oe(O){return Le(O.value)?{required:!0}:null}function Ie(O){return!0===O.value?null:{required:!0}}function Dt(O){return null}function Ut(O){return null!=O}function kt(O){return(0,n.QGY)(O)?(0,R.D)(O):O}function an(O){let k={};return O.forEach(C=>{k=null!=C?{...k,...C}:k}),0===Object.keys(k).length?null:k}function Xe(O,k){return k.map(C=>C(O))}function W(O){return O.map(k=>function Ct(O){return!O.validate}(k)?k:C=>k.validate(C))}function P(O){if(!O)return null;const k=O.filter(Ut);return 0==k.length?null:function(C){return an(Xe(C,k))}}function se(O){return null!=O?P(W(O)):null}function L(O){if(!O)return null;const k=O.filter(Ut);return 0==k.length?null:function(C){const Q=Xe(C,k).map(kt);return(0,S.D)(Q).pipe((0,te.U)(an))}}function Ce(O){return null!=O?L(W(O)):null}function G(O,k){return null===O?[k]:Array.isArray(O)?[...O,k]:[O,k]}function $(O){return O._rawValidators}function Be(O){return O._rawAsyncValidators}function ae(O){return O?Array.isArray(O)?O:[O]:[]}function He(O,k){return Array.isArray(O)?O.includes(k):O===k}function Ze(O,k){const C=ae(k);return ae(O).forEach(Ne=>{He(C,Ne)||C.push(Ne)}),C}function it(O,k){return ae(k).filter(C=>!He(O,C))}class qe{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(k){this._rawValidators=k||[],this._composedValidatorFn=se(this._rawValidators)}_setAsyncValidators(k){this._rawAsyncValidators=k||[],this._composedAsyncValidatorFn=Ce(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(k){this._onDestroyCallbacks.push(k)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(k=>k()),this._onDestroyCallbacks=[]}reset(k=void 0){this.control&&this.control.reset(k)}hasError(k,C){return!!this.control&&this.control.hasError(k,C)}getError(k,C){return this.control?this.control.getError(k,C):null}}class It extends qe{get formDirective(){return null}get path(){return null}}class Ye extends qe{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ct{constructor(k){this._cd=k}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let dt=(()=>{class O extends ct{constructor(C){super(C)}static#e=this.\u0275fac=function(Q){return new(Q||O)(n.Y36(Ye,2))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Q,Ne){2&Q&&n.ekj("ng-untouched",Ne.isUntouched)("ng-touched",Ne.isTouched)("ng-pristine",Ne.isPristine)("ng-dirty",Ne.isDirty)("ng-valid",Ne.isValid)("ng-invalid",Ne.isInvalid)("ng-pending",Ne.isPending)},features:[n.qOj]})}return O})(),jt=(()=>{class O extends ct{constructor(C){super(C)}static#e=this.\u0275fac=function(Q){return new(Q||O)(n.Y36(It,10))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Q,Ne){2&Q&&n.ekj("ng-untouched",Ne.isUntouched)("ng-touched",Ne.isTouched)("ng-pristine",Ne.isPristine)("ng-dirty",Ne.isDirty)("ng-valid",Ne.isValid)("ng-invalid",Ne.isInvalid)("ng-pending",Ne.isPending)("ng-submitted",Ne.isSubmitted)},features:[n.qOj]})}return O})();const un="VALID",nn="INVALID",pn="PENDING",bn="DISABLED";function In(O){return(Ke(O)?O.validators:O)||null}function at(O,k){return(Ke(k)?k.asyncValidators:O)||null}function Ke(O){return null!=O&&!Array.isArray(O)&&"object"==typeof O}function mt(O,k,C){const Q=O.controls;if(!(k?Object.keys(Q):Q).length)throw new n.vHH(1e3,"");if(!Q[C])throw new n.vHH(1001,"")}function gt(O,k,C){O._forEachChild((Q,Ne)=>{if(void 0===C[Ne])throw new n.vHH(1002,"")})}class Yt{constructor(k,C){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(k),this._assignAsyncValidators(C)}get validator(){return this._composedValidatorFn}set validator(k){this._rawValidators=this._composedValidatorFn=k}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(k){this._rawAsyncValidators=this._composedAsyncValidatorFn=k}get parent(){return this._parent}get valid(){return this.status===un}get invalid(){return this.status===nn}get pending(){return this.status==pn}get disabled(){return this.status===bn}get enabled(){return this.status!==bn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(k){this._assignValidators(k)}setAsyncValidators(k){this._assignAsyncValidators(k)}addValidators(k){this.setValidators(Ze(k,this._rawValidators))}addAsyncValidators(k){this.setAsyncValidators(Ze(k,this._rawAsyncValidators))}removeValidators(k){this.setValidators(it(k,this._rawValidators))}removeAsyncValidators(k){this.setAsyncValidators(it(k,this._rawAsyncValidators))}hasValidator(k){return He(this._rawValidators,k)}hasAsyncValidator(k){return He(this._rawAsyncValidators,k)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(k={}){this.touched=!0,this._parent&&!k.onlySelf&&this._parent.markAsTouched(k)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(k=>k.markAllAsTouched())}markAsUntouched(k={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(C=>{C.markAsUntouched({onlySelf:!0})}),this._parent&&!k.onlySelf&&this._parent._updateTouched(k)}markAsDirty(k={}){this.pristine=!1,this._parent&&!k.onlySelf&&this._parent.markAsDirty(k)}markAsPristine(k={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(C=>{C.markAsPristine({onlySelf:!0})}),this._parent&&!k.onlySelf&&this._parent._updatePristine(k)}markAsPending(k={}){this.status=pn,!1!==k.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!k.onlySelf&&this._parent.markAsPending(k)}disable(k={}){const C=this._parentMarkedDirty(k.onlySelf);this.status=bn,this.errors=null,this._forEachChild(Q=>{Q.disable({...k,onlySelf:!0})}),this._updateValue(),!1!==k.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...k,skipPristineCheck:C}),this._onDisabledChange.forEach(Q=>Q(!0))}enable(k={}){const C=this._parentMarkedDirty(k.onlySelf);this.status=un,this._forEachChild(Q=>{Q.enable({...k,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:k.emitEvent}),this._updateAncestors({...k,skipPristineCheck:C}),this._onDisabledChange.forEach(Q=>Q(!1))}_updateAncestors(k){this._parent&&!k.onlySelf&&(this._parent.updateValueAndValidity(k),k.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(k){this._parent=k}getRawValue(){return this.value}updateValueAndValidity(k={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===un||this.status===pn)&&this._runAsyncValidator(k.emitEvent)),!1!==k.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!k.onlySelf&&this._parent.updateValueAndValidity(k)}_updateTreeValidity(k={emitEvent:!0}){this._forEachChild(C=>C._updateTreeValidity(k)),this.updateValueAndValidity({onlySelf:!0,emitEvent:k.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?bn:un}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(k){if(this.asyncValidator){this.status=pn,this._hasOwnPendingAsyncValidator=!0;const C=kt(this.asyncValidator(this));this._asyncValidationSubscription=C.subscribe(Q=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Q,{emitEvent:k})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(k,C={}){this.errors=k,this._updateControlsErrors(!1!==C.emitEvent)}get(k){let C=k;return null==C||(Array.isArray(C)||(C=C.split(".")),0===C.length)?null:C.reduce((Q,Ne)=>Q&&Q._find(Ne),this)}getError(k,C){const Q=C?this.get(C):this;return Q&&Q.errors?Q.errors[k]:null}hasError(k,C){return!!this.getError(k,C)}get root(){let k=this;for(;k._parent;)k=k._parent;return k}_updateControlsErrors(k){this.status=this._calculateStatus(),k&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(k)}_initObservables(){this.valueChanges=new n.vpe,this.statusChanges=new n.vpe}_calculateStatus(){return this._allControlsDisabled()?bn:this.errors?nn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(pn)?pn:this._anyControlsHaveStatus(nn)?nn:un}_anyControlsHaveStatus(k){return this._anyControls(C=>C.status===k)}_anyControlsDirty(){return this._anyControls(k=>k.dirty)}_anyControlsTouched(){return this._anyControls(k=>k.touched)}_updatePristine(k={}){this.pristine=!this._anyControlsDirty(),this._parent&&!k.onlySelf&&this._parent._updatePristine(k)}_updateTouched(k={}){this.touched=this._anyControlsTouched(),this._parent&&!k.onlySelf&&this._parent._updateTouched(k)}_registerOnCollectionChange(k){this._onCollectionChange=k}_setUpdateStrategy(k){Ke(k)&&null!=k.updateOn&&(this._updateOn=k.updateOn)}_parentMarkedDirty(k){return!k&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(k){return null}_assignValidators(k){this._rawValidators=Array.isArray(k)?k.slice():k,this._composedValidatorFn=function Tn(O){return Array.isArray(O)?se(O):O||null}(this._rawValidators)}_assignAsyncValidators(k){this._rawAsyncValidators=Array.isArray(k)?k.slice():k,this._composedAsyncValidatorFn=function Nt(O){return Array.isArray(O)?Ce(O):O||null}(this._rawAsyncValidators)}}class ge extends Yt{constructor(k,C,Q){super(In(C),at(Q,C)),this.controls=k,this._initObservables(),this._setUpdateStrategy(C),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(k,C){return this.controls[k]?this.controls[k]:(this.controls[k]=C,C.setParent(this),C._registerOnCollectionChange(this._onCollectionChange),C)}addControl(k,C,Q={}){this.registerControl(k,C),this.updateValueAndValidity({emitEvent:Q.emitEvent}),this._onCollectionChange()}removeControl(k,C={}){this.controls[k]&&this.controls[k]._registerOnCollectionChange(()=>{}),delete this.controls[k],this.updateValueAndValidity({emitEvent:C.emitEvent}),this._onCollectionChange()}setControl(k,C,Q={}){this.controls[k]&&this.controls[k]._registerOnCollectionChange(()=>{}),delete this.controls[k],C&&this.registerControl(k,C),this.updateValueAndValidity({emitEvent:Q.emitEvent}),this._onCollectionChange()}contains(k){return this.controls.hasOwnProperty(k)&&this.controls[k].enabled}setValue(k,C={}){gt(this,0,k),Object.keys(k).forEach(Q=>{mt(this,!0,Q),this.controls[Q].setValue(k[Q],{onlySelf:!0,emitEvent:C.emitEvent})}),this.updateValueAndValidity(C)}patchValue(k,C={}){null!=k&&(Object.keys(k).forEach(Q=>{const Ne=this.controls[Q];Ne&&Ne.patchValue(k[Q],{onlySelf:!0,emitEvent:C.emitEvent})}),this.updateValueAndValidity(C))}reset(k={},C={}){this._forEachChild((Q,Ne)=>{Q.reset(k[Ne],{onlySelf:!0,emitEvent:C.emitEvent})}),this._updatePristine(C),this._updateTouched(C),this.updateValueAndValidity(C)}getRawValue(){return this._reduceChildren({},(k,C,Q)=>(k[Q]=C.getRawValue(),k))}_syncPendingControls(){let k=this._reduceChildren(!1,(C,Q)=>!!Q._syncPendingControls()||C);return k&&this.updateValueAndValidity({onlySelf:!0}),k}_forEachChild(k){Object.keys(this.controls).forEach(C=>{const Q=this.controls[C];Q&&k(Q,C)})}_setUpControls(){this._forEachChild(k=>{k.setParent(this),k._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(k){for(const[C,Q]of Object.entries(this.controls))if(this.contains(C)&&k(Q))return!0;return!1}_reduceValue(){return this._reduceChildren({},(C,Q,Ne)=>((Q.enabled||this.disabled)&&(C[Ne]=Q.value),C))}_reduceChildren(k,C){let Q=k;return this._forEachChild((Ne,tn)=>{Q=C(Q,Ne,tn)}),Q}_allControlsDisabled(){for(const k of Object.keys(this.controls))if(this.controls[k].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(k){return this.controls.hasOwnProperty(k)?this.controls[k]:null}}const ut=new n.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Pe}),Pe="always";function ee(O,k){return[...k.path,O]}function z(O,k,C=Pe){X(O,k),k.valueAccessor.writeValue(O.value),(O.disabled||"always"===C)&&k.valueAccessor.setDisabledState?.(O.disabled),function Oe(O,k){k.valueAccessor.registerOnChange(C=>{O._pendingValue=C,O._pendingChange=!0,O._pendingDirty=!0,"change"===O.updateOn&&Et(O,k)})}(O,k),function Ot(O,k){const C=(Q,Ne)=>{k.valueAccessor.writeValue(Q),Ne&&k.viewToModelUpdate(Q)};O.registerOnChange(C),k._registerOnDestroy(()=>{O._unregisterOnChange(C)})}(O,k),function nt(O,k){k.valueAccessor.registerOnTouched(()=>{O._pendingTouched=!0,"blur"===O.updateOn&&O._pendingChange&&Et(O,k),"submit"!==O.updateOn&&O.markAsTouched()})}(O,k),function he(O,k){if(k.valueAccessor.setDisabledState){const C=Q=>{k.valueAccessor.setDisabledState(Q)};O.registerOnDisabledChange(C),k._registerOnDestroy(()=>{O._unregisterOnDisabledChange(C)})}}(O,k)}function D(O,k,C=!0){const Q=()=>{};k.valueAccessor&&(k.valueAccessor.registerOnChange(Q),k.valueAccessor.registerOnTouched(Q)),ne(O,k),O&&(k._invokeOnDestroyCallbacks(),O._registerOnCollectionChange(()=>{}))}function B(O,k){O.forEach(C=>{C.registerOnValidatorChange&&C.registerOnValidatorChange(k)})}function X(O,k){const C=$(O);null!==k.validator?O.setValidators(G(C,k.validator)):"function"==typeof C&&O.setValidators([C]);const Q=Be(O);null!==k.asyncValidator?O.setAsyncValidators(G(Q,k.asyncValidator)):"function"==typeof Q&&O.setAsyncValidators([Q]);const Ne=()=>O.updateValueAndValidity();B(k._rawValidators,Ne),B(k._rawAsyncValidators,Ne)}function ne(O,k){let C=!1;if(null!==O){if(null!==k.validator){const Ne=$(O);if(Array.isArray(Ne)&&Ne.length>0){const tn=Ne.filter(Dn=>Dn!==k.validator);tn.length!==Ne.length&&(C=!0,O.setValidators(tn))}}if(null!==k.asyncValidator){const Ne=Be(O);if(Array.isArray(Ne)&&Ne.length>0){const tn=Ne.filter(Dn=>Dn!==k.asyncValidator);tn.length!==Ne.length&&(C=!0,O.setAsyncValidators(tn))}}}const Q=()=>{};return B(k._rawValidators,Q),B(k._rawAsyncValidators,Q),C}function Et(O,k){O._pendingDirty&&O.markAsDirty(),O.setValue(O._pendingValue,{emitModelToViewChange:!1}),k.viewToModelUpdate(O._pendingValue),O._pendingChange=!1}function Tt(O,k){X(O,k)}function ei(O,k){if(!O.hasOwnProperty("model"))return!1;const C=O.model;return!!C.isFirstChange()||!Object.is(k,C.currentValue)}function mn(O,k){O._syncPendingControls(),k.forEach(C=>{const Q=C.control;"submit"===Q.updateOn&&Q._pendingChange&&(C.viewToModelUpdate(Q._pendingValue),Q._pendingChange=!1)})}function vn(O,k){if(!k)return null;let C,Q,Ne;return Array.isArray(k),k.forEach(tn=>{tn.constructor===Te?C=tn:function di(O){return Object.getPrototypeOf(O.constructor)===le}(tn)?Q=tn:Ne=tn}),Ne||Q||C||null}const kn={provide:It,useExisting:(0,n.Gpc)(()=>hi)},ti=(()=>Promise.resolve())();let hi=(()=>{class O extends It{constructor(C,Q,Ne){super(),this.callSetDisabledState=Ne,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.vpe,this.form=new ge({},se(C),Ce(Q))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(C){ti.then(()=>{const Q=this._findContainer(C.path);C.control=Q.registerControl(C.name,C.control),z(C.control,C,this.callSetDisabledState),C.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(C)})}getControl(C){return this.form.get(C.path)}removeControl(C){ti.then(()=>{const Q=this._findContainer(C.path);Q&&Q.removeControl(C.name),this._directives.delete(C)})}addFormGroup(C){ti.then(()=>{const Q=this._findContainer(C.path),Ne=new ge({});Tt(Ne,C),Q.registerControl(C.name,Ne),Ne.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(C){ti.then(()=>{const Q=this._findContainer(C.path);Q&&Q.removeControl(C.name)})}getFormGroup(C){return this.form.get(C.path)}updateModel(C,Q){ti.then(()=>{this.form.get(C.path).setValue(Q)})}setValue(C){this.control.setValue(C)}onSubmit(C){return this.submitted=!0,mn(this.form,this._directives),this.ngSubmit.emit(C),"dialog"===C?.target?.method}onReset(){this.resetForm()}resetForm(C=void 0){this.form.reset(C),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(C){return C.pop(),C.length?this.form.get(C):this.form}static#e=this.\u0275fac=function(Q){return new(Q||O)(n.Y36(be,10),n.Y36(ye,10),n.Y36(ut,8))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Q,Ne){1&Q&&n.NdJ("submit",function(Dn){return Ne.onSubmit(Dn)})("reset",function(){return Ne.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n._Bn([kn]),n.qOj]})}return O})();function ai(O,k){const C=O.indexOf(k);C>-1&&O.splice(C,1)}function Kn(O){return"object"==typeof O&&null!==O&&2===Object.keys(O).length&&"value"in O&&"disabled"in O}const mi=class extends Yt{constructor(k=null,C,Q){super(In(C),at(Q,C)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(k),this._setUpdateStrategy(C),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ke(C)&&(C.nonNullable||C.initialValueIsDefault)&&(this.defaultValue=Kn(k)?k.value:k)}setValue(k,C={}){this.value=this._pendingValue=k,this._onChange.length&&!1!==C.emitModelToViewChange&&this._onChange.forEach(Q=>Q(this.value,!1!==C.emitViewToModelChange)),this.updateValueAndValidity(C)}patchValue(k,C={}){this.setValue(k,C)}reset(k=this.defaultValue,C={}){this._applyFormState(k),this.markAsPristine(C),this.markAsUntouched(C),this.setValue(this.value,C),this._pendingChange=!1}_updateValue(){}_anyControls(k){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(k){this._onChange.push(k)}_unregisterOnChange(k){ai(this._onChange,k)}registerOnDisabledChange(k){this._onDisabledChange.push(k)}_unregisterOnDisabledChange(k){ai(this._onDisabledChange,k)}_forEachChild(k){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(k){Kn(k)?(this.value=this._pendingValue=k.value,k.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=k}};let x=(()=>{class O extends It{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return ee(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=function(){let C;return function(Ne){return(C||(C=n.n5z(O)))(Ne||O)}}();static#t=this.\u0275dir=n.lG2({type:O,features:[n.qOj]})}return O})();const gi={provide:Ye,useExisting:(0,n.Gpc)(()=>oi)},yo=(()=>Promise.resolve())();let oi=(()=>{class O extends Ye{constructor(C,Q,Ne,tn,Dn,So){super(),this._changeDetectorRef=Dn,this.callSetDisabledState=So,this.control=new mi,this._registered=!1,this.name="",this.update=new n.vpe,this._parent=C,this._setValidators(Q),this._setAsyncValidators(Ne),this.valueAccessor=vn(0,tn)}ngOnChanges(C){if(this._checkForErrors(),!this._registered||"name"in C){if(this._registered&&(this._checkName(),this.formDirective)){const Q=C.name.previousValue;this.formDirective.removeControl({name:Q,path:this._getPath(Q)})}this._setUpControl()}"isDisabled"in C&&this._updateDisabled(C),ei(C,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(C){this.viewModel=C,this.update.emit(C)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){z(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(C){yo.then(()=>{this.control.setValue(C,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(C){const Q=C.isDisabled.currentValue,Ne=0!==Q&&(0,n.VuI)(Q);yo.then(()=>{Ne&&!this.control.disabled?this.control.disable():!Ne&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(C){return this._parent?ee(C,this._parent):[C]}static#e=this.\u0275fac=function(Q){return new(Q||O)(n.Y36(It,9),n.Y36(be,10),n.Y36(ye,10),n.Y36(ke,10),n.Y36(n.sBO,8),n.Y36(ut,8))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n._Bn([gi]),n.qOj,n.TTD]})}return O})(),xo=(()=>{class O{static#e=this.\u0275fac=function(Q){return new(Q||O)};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return O})();const Jo={provide:ke,useExisting:(0,n.Gpc)(()=>qi),multi:!0};let qi=(()=>{class O extends le{writeValue(C){this.setProperty("value",C??"")}registerOnChange(C){this.onChange=Q=>{C(""==Q?null:parseFloat(Q))}}static#e=this.\u0275fac=function(){let C;return function(Ne){return(C||(C=n.n5z(O)))(Ne||O)}}();static#t=this.\u0275dir=n.lG2({type:O,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Q,Ne){1&Q&&n.NdJ("input",function(Dn){return Ne.onChange(Dn.target.value)})("blur",function(){return Ne.onTouched()})},features:[n._Bn([Jo]),n.qOj]})}return O})(),eo=(()=>{class O{static#e=this.\u0275fac=function(Q){return new(Q||O)};static#t=this.\u0275mod=n.oAB({type:O});static#n=this.\u0275inj=n.cJS({})}return O})();const Bn=new n.OlP("NgModelWithFormControlWarning"),Jn={provide:It,useExisting:(0,n.Gpc)(()=>Vi)};let Vi=(()=>{class O extends It{constructor(C,Q,Ne){super(),this.callSetDisabledState=Ne,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.vpe,this._setValidators(C),this._setAsyncValidators(Q)}ngOnChanges(C){this._checkFormPresent(),C.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ne(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(C){const Q=this.form.get(C.path);return z(Q,C,this.callSetDisabledState),Q.updateValueAndValidity({emitEvent:!1}),this.directives.push(C),Q}getControl(C){return this.form.get(C.path)}removeControl(C){D(C.control||null,C,!1),function ui(O,k){const C=O.indexOf(k);C>-1&&O.splice(C,1)}(this.directives,C)}addFormGroup(C){this._setUpFormContainer(C)}removeFormGroup(C){this._cleanUpFormContainer(C)}getFormGroup(C){return this.form.get(C.path)}addFormArray(C){this._setUpFormContainer(C)}removeFormArray(C){this._cleanUpFormContainer(C)}getFormArray(C){return this.form.get(C.path)}updateModel(C,Q){this.form.get(C.path).setValue(Q)}onSubmit(C){return this.submitted=!0,mn(this.form,this.directives),this.ngSubmit.emit(C),"dialog"===C?.target?.method}onReset(){this.resetForm()}resetForm(C=void 0){this.form.reset(C),this.submitted=!1}_updateDomValue(){this.directives.forEach(C=>{const Q=C.control,Ne=this.form.get(C.path);Q!==Ne&&(D(Q||null,C),(O=>O instanceof mi)(Ne)&&(z(Ne,C,this.callSetDisabledState),C.control=Ne))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(C){const Q=this.form.get(C.path);Tt(Q,C),Q.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(C){if(this.form){const Q=this.form.get(C.path);Q&&function $t(O,k){return ne(O,k)}(Q,C)&&Q.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){X(this.form,this),this._oldForm&&ne(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(Q){return new(Q||O)(n.Y36(be,10),n.Y36(ye,10),n.Y36(ut,8))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["","formGroup",""]],hostBindings:function(Q,Ne){1&Q&&n.NdJ("submit",function(Dn){return Ne.onSubmit(Dn)})("reset",function(){return Ne.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n._Bn([Jn]),n.qOj,n.TTD]})}return O})();const wo={provide:It,useExisting:(0,n.Gpc)(()=>Ii)};let Ii=(()=>{class O extends x{constructor(C,Q,Ne){super(),this.name=null,this._parent=C,this._setValidators(Q),this._setAsyncValidators(Ne)}_checkParentType(){j(this._parent)}static#e=this.\u0275fac=function(Q){return new(Q||O)(n.Y36(It,13),n.Y36(be,10),n.Y36(ye,10))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[n._Bn([wo]),n.qOj]})}return O})();const Wi={provide:It,useExisting:(0,n.Gpc)(()=>b)};let b=(()=>{class O extends It{constructor(C,Q,Ne){super(),this.name=null,this._parent=C,this._setValidators(Q),this._setAsyncValidators(Ne)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return ee(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){j(this._parent)}static#e=this.\u0275fac=function(Q){return new(Q||O)(n.Y36(It,13),n.Y36(be,10),n.Y36(ye,10))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[n._Bn([Wi]),n.qOj]})}return O})();function j(O){return!(O instanceof Ii||O instanceof Vi||O instanceof b)}const h={provide:Ye,useExisting:(0,n.Gpc)(()=>M)};let M=(()=>{class O extends Ye{set isDisabled(C){}static#e=this._ngModelWarningSentOnce=!1;constructor(C,Q,Ne,tn,Dn){super(),this._ngModelWarningConfig=Dn,this._added=!1,this.name=null,this.update=new n.vpe,this._ngModelWarningSent=!1,this._parent=C,this._setValidators(Q),this._setAsyncValidators(Ne),this.valueAccessor=vn(0,tn)}ngOnChanges(C){this._added||this._setUpControl(),ei(C,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(C){this.viewModel=C,this.update.emit(C)}get path(){return ee(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(Q){return new(Q||O)(n.Y36(It,13),n.Y36(be,10),n.Y36(ye,10),n.Y36(ke,10),n.Y36(Bn,8))};static#n=this.\u0275dir=n.lG2({type:O,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n._Bn([h]),n.qOj,n.TTD]})}return O})();function Yn(O){return"number"==typeof O?O:parseFloat(O)}let Hi=(()=>{class O{constructor(){this._validator=Dt}ngOnChanges(C){if(this.inputName in C){const Q=this.normalizeInput(C[this.inputName].currentValue);this._enabled=this.enabled(Q),this._validator=this._enabled?this.createValidator(Q):Dt,this._onChange&&this._onChange()}}validate(C){return this._validator(C)}registerOnValidatorChange(C){this._onChange=C}enabled(C){return null!=C}static#e=this.\u0275fac=function(Q){return new(Q||O)};static#t=this.\u0275dir=n.lG2({type:O,features:[n.TTD]})}return O})();const Lo={provide:be,useExisting:(0,n.Gpc)(()=>Ai),multi:!0};let Ai=(()=>{class O extends Hi{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=C=>Yn(C),this.createValidator=C=>xe(C)}static#e=this.\u0275fac=function(){let C;return function(Ne){return(C||(C=n.n5z(O)))(Ne||O)}}();static#t=this.\u0275dir=n.lG2({type:O,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(Q,Ne){2&Q&&n.uIk("max",Ne._enabled?Ne.max:null)},inputs:{max:"max"},features:[n._Bn([Lo]),n.qOj]})}return O})();const Bo={provide:be,useExisting:(0,n.Gpc)(()=>Xo),multi:!0};let Xo=(()=>{class O extends Hi{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=C=>Yn(C),this.createValidator=C=>H(C)}static#e=this.\u0275fac=function(){let C;return function(Ne){return(C||(C=n.n5z(O)))(Ne||O)}}();static#t=this.\u0275dir=n.lG2({type:O,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(Q,Ne){2&Q&&n.uIk("min",Ne._enabled?Ne.min:null)},inputs:{min:"min"},features:[n._Bn([Bo]),n.qOj]})}return O})();const Do={provide:be,useExisting:(0,n.Gpc)(()=>qo),multi:!0},co={provide:be,useExisting:(0,n.Gpc)(()=>uo),multi:!0};let qo=(()=>{class O extends Hi{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.VuI,this.createValidator=C=>oe}enabled(C){return C}static#e=this.\u0275fac=function(){let C;return function(Ne){return(C||(C=n.n5z(O)))(Ne||O)}}();static#t=this.\u0275dir=n.lG2({type:O,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Q,Ne){2&Q&&n.uIk("required",Ne._enabled?"":null)},inputs:{required:"required"},features:[n._Bn([Do]),n.qOj]})}return O})(),uo=(()=>{class O extends qo{constructor(){super(...arguments),this.createValidator=C=>Ie}static#e=this.\u0275fac=function(){let C;return function(Ne){return(C||(C=n.n5z(O)))(Ne||O)}}();static#t=this.\u0275dir=n.lG2({type:O,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(Q,Ne){2&Q&&n.uIk("required",Ne._enabled?"":null)},features:[n._Bn([co]),n.qOj]})}return O})(),_i=(()=>{class O{static#e=this.\u0275fac=function(Q){return new(Q||O)};static#t=this.\u0275mod=n.oAB({type:O});static#n=this.\u0275inj=n.cJS({imports:[eo]})}return O})();class er extends Yt{constructor(k,C,Q){super(In(C),at(Q,C)),this.controls=k,this._initObservables(),this._setUpdateStrategy(C),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(k){return this.controls[this._adjustIndex(k)]}push(k,C={}){this.controls.push(k),this._registerControl(k),this.updateValueAndValidity({emitEvent:C.emitEvent}),this._onCollectionChange()}insert(k,C,Q={}){this.controls.splice(k,0,C),this._registerControl(C),this.updateValueAndValidity({emitEvent:Q.emitEvent})}removeAt(k,C={}){let Q=this._adjustIndex(k);Q<0&&(Q=0),this.controls[Q]&&this.controls[Q]._registerOnCollectionChange(()=>{}),this.controls.splice(Q,1),this.updateValueAndValidity({emitEvent:C.emitEvent})}setControl(k,C,Q={}){let Ne=this._adjustIndex(k);Ne<0&&(Ne=0),this.controls[Ne]&&this.controls[Ne]._registerOnCollectionChange(()=>{}),this.controls.splice(Ne,1),C&&(this.controls.splice(Ne,0,C),this._registerControl(C)),this.updateValueAndValidity({emitEvent:Q.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(k,C={}){gt(this,0,k),k.forEach((Q,Ne)=>{mt(this,!1,Ne),this.at(Ne).setValue(Q,{onlySelf:!0,emitEvent:C.emitEvent})}),this.updateValueAndValidity(C)}patchValue(k,C={}){null!=k&&(k.forEach((Q,Ne)=>{this.at(Ne)&&this.at(Ne).patchValue(Q,{onlySelf:!0,emitEvent:C.emitEvent})}),this.updateValueAndValidity(C))}reset(k=[],C={}){this._forEachChild((Q,Ne)=>{Q.reset(k[Ne],{onlySelf:!0,emitEvent:C.emitEvent})}),this._updatePristine(C),this._updateTouched(C),this.updateValueAndValidity(C)}getRawValue(){return this.controls.map(k=>k.getRawValue())}clear(k={}){this.controls.length<1||(this._forEachChild(C=>C._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:k.emitEvent}))}_adjustIndex(k){return k<0?k+this.length:k}_syncPendingControls(){let k=this.controls.reduce((C,Q)=>!!Q._syncPendingControls()||C,!1);return k&&this.updateValueAndValidity({onlySelf:!0}),k}_forEachChild(k){this.controls.forEach((C,Q)=>{k(C,Q)})}_updateValue(){this.value=this.controls.filter(k=>k.enabled||this.disabled).map(k=>k.value)}_anyControls(k){return this.controls.some(C=>C.enabled&&k(C))}_setUpControls(){this._forEachChild(k=>this._registerControl(k))}_allControlsDisabled(){for(const k of this.controls)if(k.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(k){k.setParent(this),k._registerOnCollectionChange(this._onCollectionChange)}_find(k){return this.at(k)??null}}let mr=(()=>{class O{static withConfig(C){return{ngModule:O,providers:[{provide:ut,useValue:C.callSetDisabledState??Pe}]}}static#e=this.\u0275fac=function(Q){return new(Q||O)};static#t=this.\u0275mod=n.oAB({type:O});static#n=this.\u0275inj=n.cJS({imports:[_i]})}return O})(),tr=(()=>{class O{static withConfig(C){return{ngModule:O,providers:[{provide:Bn,useValue:C.warnOnNgModelWithFormControl??"always"},{provide:ut,useValue:C.callSetDisabledState??Pe}]}}static#e=this.\u0275fac=function(Q){return new(Q||O)};static#t=this.\u0275mod=n.oAB({type:O});static#n=this.\u0275inj=n.cJS({imports:[_i]})}return O})()},9488:(Mt,je,g)=>{g.d(je,{A9:()=>Te,Yi:()=>Ue,vV:()=>be});var n=g(4191),l=g(2495),R=g(8337),S=g(5879),te=g(6223),Se=g(3680);const le=["button"],ke=["*"],ue=new S.OlP("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),ie=new S.OlP("MatButtonToggleGroup"),we={provide:te.JU,useExisting:(0,S.Gpc)(()=>Te),multi:!0};let fe=0;class me{constructor(Je,ve){this.source=Je,this.value=ve}}let Te=(()=>{class ye{get name(){return this._name}set name(ve){this._name=ve,this._markButtonsForCheck()}get vertical(){return this._vertical}set vertical(ve){this._vertical=(0,l.Ig)(ve)}get value(){const ve=this._selectionModel?this._selectionModel.selected:[];return this.multiple?ve.map(H=>H.value):ve[0]?ve[0].value:void 0}set value(ve){this._setSelectionByValue(ve),this.valueChange.emit(this.value)}get selected(){const ve=this._selectionModel?this._selectionModel.selected:[];return this.multiple?ve:ve[0]||null}get multiple(){return this._multiple}set multiple(ve){this._multiple=(0,l.Ig)(ve),this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(ve){this._disabled=(0,l.Ig)(ve),this._markButtonsForCheck()}constructor(ve,H){this._changeDetector=ve,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name="mat-button-toggle-group-"+fe++,this.valueChange=new S.vpe,this.change=new S.vpe,this.appearance=H&&H.appearance?H.appearance:"standard"}ngOnInit(){this._selectionModel=new R.Ov(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(ve=>ve.checked))}writeValue(ve){this.value=ve,this._changeDetector.markForCheck()}registerOnChange(ve){this._controlValueAccessorChangeFn=ve}registerOnTouched(ve){this._onTouched=ve}setDisabledState(ve){this.disabled=ve}_emitChangeEvent(ve){const H=new me(ve,this.value);this._rawValue=H.value,this._controlValueAccessorChangeFn(H.value),this.change.emit(H)}_syncButtonToggle(ve,H,xe=!1,oe=!1){!this.multiple&&this.selected&&!ve.checked&&(this.selected.checked=!1),this._selectionModel?H?this._selectionModel.select(ve):this._selectionModel.deselect(ve):oe=!0,oe?Promise.resolve().then(()=>this._updateModelValue(ve,xe)):this._updateModelValue(ve,xe)}_isSelected(ve){return this._selectionModel&&this._selectionModel.isSelected(ve)}_isPrechecked(ve){return!(typeof this._rawValue>"u")&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(H=>null!=ve.value&&H===ve.value):ve.value===this._rawValue)}_setSelectionByValue(ve){this._rawValue=ve,this._buttonToggles&&(this.multiple&&ve?(Array.isArray(ve),this._clearSelection(),ve.forEach(H=>this._selectValue(H))):(this._clearSelection(),this._selectValue(ve)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(ve=>ve.checked=!1)}_selectValue(ve){const H=this._buttonToggles.find(xe=>null!=xe.value&&xe.value===ve);H&&(H.checked=!0,this._selectionModel.select(H))}_updateModelValue(ve,H){H&&this._emitChangeEvent(ve),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(ve=>ve._markForCheck())}static#e=this.\u0275fac=function(H){return new(H||ye)(S.Y36(S.sBO),S.Y36(ue,8))};static#t=this.\u0275dir=S.lG2({type:ye,selectors:[["mat-button-toggle-group"]],contentQueries:function(H,xe,oe){if(1&H&&S.Suo(oe,Ue,5),2&H){let Ie;S.iGM(Ie=S.CRH())&&(xe._buttonToggles=Ie)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(H,xe){2&H&&(S.uIk("aria-disabled",xe.disabled),S.ekj("mat-button-toggle-vertical",xe.vertical)("mat-button-toggle-group-appearance-standard","standard"===xe.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[S._Bn([we,{provide:ie,useExisting:ye}])]})}return ye})();const Le=(0,Se.Kr)(class{});let Ue=(()=>{class ye extends Le{get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(ve){this._appearance=ve}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(ve){const H=(0,l.Ig)(ve);H!==this._checked&&(this._checked=H,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(ve){this._disabled=(0,l.Ig)(ve)}constructor(ve,H,xe,oe,Ie,Re){super(),this._changeDetectorRef=H,this._elementRef=xe,this._focusMonitor=oe,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new S.vpe;const $e=Number(Ie);this.tabIndex=$e||0===$e?$e:null,this.buttonToggleGroup=ve,this.appearance=Re&&Re.appearance?Re.appearance:"standard"}ngOnInit(){const ve=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+fe++,ve&&(ve._isPrechecked(this)?this.checked=!0:ve._isSelected(this)!==this._checked&&ve._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const ve=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),ve&&ve._isSelected(this)&&ve._syncButtonToggle(this,!1,!1,!0)}focus(ve){this._buttonElement.nativeElement.focus(ve)}_onButtonClick(){const ve=!!this._isSingleSelector()||!this._checked;ve!==this._checked&&(this._checked=ve,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new me(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null}_isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}static#e=this.\u0275fac=function(H){return new(H||ye)(S.Y36(ie,8),S.Y36(S.sBO),S.Y36(S.SBq),S.Y36(n.tE),S.$8M("tabindex"),S.Y36(ue,8))};static#t=this.\u0275cmp=S.Xpm({type:ye,selectors:[["mat-button-toggle"]],viewQuery:function(H,xe){if(1&H&&S.Gf(le,5),2&H){let oe;S.iGM(oe=S.CRH())&&(xe._buttonElement=oe.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(H,xe){1&H&&S.NdJ("focus",function(){return xe.focus()}),2&H&&(S.uIk("aria-label",null)("aria-labelledby",null)("id",xe.id)("name",null),S.ekj("mat-button-toggle-standalone",!xe.buttonToggleGroup)("mat-button-toggle-checked",xe.checked)("mat-button-toggle-disabled",xe.disabled)("mat-button-toggle-appearance-standard","standard"===xe.appearance))},inputs:{disableRipple:"disableRipple",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[S.qOj],ngContentSelectors:ke,decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(H,xe){if(1&H&&(S.F$t(),S.TgZ(0,"button",0,1),S.NdJ("click",function(){return xe._onButtonClick()}),S.TgZ(2,"span",2),S.Hsn(3),S.qZA()(),S._UZ(4,"span",3)(5,"span",4)),2&H){const oe=S.MAs(1);S.Q6J("id",xe.buttonId)("disabled",xe.disabled||null),S.uIk("tabindex",xe.disabled?-1:xe.tabIndex)("aria-pressed",xe.checked)("name",xe._getButtonName())("aria-label",xe.ariaLabel)("aria-labelledby",xe.ariaLabelledby),S.xp6(5),S.Q6J("matRippleTrigger",oe)("matRippleDisabled",xe.disableRipple||xe.disabled)}},dependencies:[Se.wG],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{--mat-legacy-button-toggle-height:36px;--mat-legacy-button-toggle-shape:2px;--mat-legacy-button-toggle-focus-state-layer-opacity:1;position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0);border-radius:var(--mat-legacy-button-toggle-shape)}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{--mat-standard-button-toggle-shape:4px;--mat-standard-button-toggle-hover-state-layer-opacity:0.04;--mat-standard-button-toggle-focus-state-layer-opacity:0.12;border-radius:var(--mat-standard-button-toggle-shape);border:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative;color:var(--mat-legacy-button-toggle-text-color);font-family:var(--mat-legacy-button-toggle-text-font)}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-legacy-button-toggle-focus-state-layer-opacity)}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle-checked{color:var(--mat-legacy-button-toggle-selected-state-text-color);background-color:var(--mat-legacy-button-toggle-selected-state-background-color)}.mat-button-toggle-disabled{color:var(--mat-legacy-button-toggle-disabled-state-text-color);background-color:var(--mat-legacy-button-toggle-disabled-state-background-color)}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:var(--mat-legacy-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-appearance-standard{--mat-standard-button-toggle-shape:4px;--mat-standard-button-toggle-hover-state-layer-opacity:0.04;--mat-standard-button-toggle-focus-state-layer-opacity:0.12;color:var(--mat-standard-button-toggle-text-color);background-color:var(--mat-standard-button-toggle-background-color);font-family:var(--mat-standard-button-toggle-text-font)}.mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:solid 1px var(--mat-standard-button-toggle-divider-color)}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:none;border-top:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-selected-state-text-color);background-color:var(--mat-standard-button-toggle-selected-state-background-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled{color:var(--mat-standard-button-toggle-disabled-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-state-background-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-disabled-selected-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:var(--mat-standard-button-toggle-state-layer-color)}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-hover-state-layer-opacity)}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-focus-state-layer-opacity)}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;padding:0 16px;line-height:var(--mat-legacy-button-toggle-height);position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px;line-height:var(--mat-standard-button-toggle-height)}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0;background-color:var(--mat-legacy-button-toggle-state-layer-color)}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 500px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}"],encapsulation:2,changeDetection:0})}return ye})(),be=(()=>{class ye{static#e=this.\u0275fac=function(H){return new(H||ye)};static#t=this.\u0275mod=S.oAB({type:ye});static#n=this.\u0275inj=S.cJS({imports:[Se.BQ,Se.si,Se.BQ]})}return ye})()},2296:(Mt,je,g)=>{g.d(je,{RK:()=>W,o6:()=>P,ot:()=>se});var n=g(2831),l=g(5879),R=g(4191),S=g(2495),te=g(3680);const le=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],ke=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],ie=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",Te=["mat-icon-button",""],Le=["*"],Je=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],ve=(0,te.pj)((0,te.Id)((0,te.Kr)(class{constructor(L){this._elementRef=L}})));let H=(()=>{class L extends ve{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(G){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,G)}get disableRipple(){return this._disableRipple}set disableRipple(G){this._disableRipple=(0,S.Ig)(G),this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(G){this._disabled=(0,S.Ig)(G),this._updateRippleDisabled()}constructor(G,$,Be,ae){super(G),this._platform=$,this._ngZone=Be,this._animationMode=ae,this._focusMonitor=(0,l.f3M)(R.tE),this._rippleLoader=(0,l.f3M)(te.Fq),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const He=G.nativeElement.classList;for(const Ze of Je)this._hasHostAttributes(Ze.selector)&&Ze.mdcClasses.forEach(it=>{He.add(it)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(G="program",$){G?this._focusMonitor.focusVia(this._elementRef.nativeElement,G,$):this._elementRef.nativeElement.focus($)}_hasHostAttributes(...G){return G.some($=>this._elementRef.nativeElement.hasAttribute($))}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function($){l.$Z()};static#t=this.\u0275dir=l.lG2({type:L,features:[l.qOj]})}return L})(),Ie=(()=>{class L extends H{constructor(G,$,Be,ae){super(G,$,Be,ae),this._haltDisabledEvents=He=>{this.disabled&&(He.preventDefault(),He.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}static#e=this.\u0275fac=function($){l.$Z()};static#t=this.\u0275dir=l.lG2({type:L,features:[l.qOj]})}return L})(),W=(()=>{class L extends H{constructor(G,$,Be,ae){super(G,$,Be,ae),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function($){return new($||L)(l.Y36(l.SBq),l.Y36(n.t4),l.Y36(l.R0b),l.Y36(l.QbO,8))};static#t=this.\u0275cmp=l.Xpm({type:L,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function($,Be){2&$&&(l.uIk("disabled",Be.disabled||null),l.ekj("_mat-animation-noopable","NoopAnimations"===Be._animationMode)("mat-unthemed",!Be.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[l.qOj],attrs:Te,ngContentSelectors:Le,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function($,Be){1&$&&(l.F$t(),l._UZ(0,"span",0),l.Hsn(1),l._UZ(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',ie],encapsulation:2,changeDetection:0})}return L})(),P=(()=>{class L extends Ie{constructor(G,$,Be,ae){super(G,$,Be,ae)}static#e=this.\u0275fac=function($){return new($||L)(l.Y36(l.SBq),l.Y36(n.t4),l.Y36(l.R0b),l.Y36(l.QbO,8))};static#t=this.\u0275cmp=l.Xpm({type:L,selectors:[["a","mat-icon-button",""]],hostVars:9,hostBindings:function($,Be){2&$&&(l.uIk("disabled",Be.disabled||null)("tabindex",Be.disabled?-1:Be.tabIndex)("aria-disabled",Be.disabled.toString()),l.ekj("_mat-animation-noopable","NoopAnimations"===Be._animationMode)("mat-unthemed",!Be.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[l.qOj],attrs:Te,ngContentSelectors:ke,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function($,Be){1&$&&(l.F$t(le),l._UZ(0,"span",0),l.Hsn(1),l.TgZ(2,"span",1),l.Hsn(3,1),l.qZA(),l.Hsn(4,2),l._UZ(5,"span",2)(6,"span",3)),2&$&&l.ekj("mdc-button__ripple",!Be._isFab)("mdc-fab__ripple",Be._isFab)},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',ie],encapsulation:2,changeDetection:0})}return L})(),se=(()=>{class L{static#e=this.\u0275fac=function($){return new($||L)};static#t=this.\u0275mod=l.oAB({type:L});static#n=this.\u0275inj=l.cJS({imports:[te.BQ,te.si,te.BQ]})}return L})()},3680:(Mt,je,g)=>{g.d(je,{rD:()=>He,K7:()=>Bt,HF:()=>st,Y2:()=>et,BQ:()=>oe,ey:()=>nn,Ng:()=>In,wG:()=>Z,Fq:()=>Yt,si:()=>ce,CB:()=>pn,jH:()=>bn,pj:()=>bt,Kr:()=>Dt,Id:()=>ft,FD:()=>kt,sb:()=>Ut});var n=g(5879),l=g(4191),R=g(9388),te=g(6814),Se=g(2831),le=g(2495),ke=g(8645),ue=g(6028);const fe=["text"];function me(ge,J){if(1&ge&&n._UZ(0,"mat-pseudo-checkbox",6),2&ge){const I=n.oxw();n.Q6J("disabled",I.disabled)("state",I.selected?"checked":"unchecked")}}function Te(ge,J){if(1&ge&&n._UZ(0,"mat-pseudo-checkbox",7),2&ge){const I=n.oxw();n.Q6J("disabled",I.disabled)}}function Le(ge,J){if(1&ge&&(n.TgZ(0,"span",8),n._uU(1),n.qZA()),2&ge){const I=n.oxw();n.xp6(1),n.hij("(",I.group.label,")")}}const Ue=[[["mat-icon"]],"*"],be=["mat-icon","*"],xe=new n.OlP("mat-sanity-checks",{providedIn:"root",factory:function H(){return!0}});let oe=(()=>{class ge{constructor(I,Y,Ae){this._sanityChecks=Y,this._document=Ae,this._hasDoneGlobalChecks=!1,I._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(I){return!(0,Se.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[I])}static#e=this.\u0275fac=function(Y){return new(Y||ge)(n.LFG(l.qm),n.LFG(xe,8),n.LFG(te.K0))};static#t=this.\u0275mod=n.oAB({type:ge});static#n=this.\u0275inj=n.cJS({imports:[R.vT,R.vT]})}return ge})();function ft(ge){return class extends ge{get disabled(){return this._disabled}set disabled(J){this._disabled=(0,le.Ig)(J)}constructor(...J){super(...J),this._disabled=!1}}}function bt(ge,J){return class extends ge{get color(){return this._color}set color(I){const Y=I||this.defaultColor;Y!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),Y&&this._elementRef.nativeElement.classList.add(`mat-${Y}`),this._color=Y)}constructor(...I){super(...I),this.defaultColor=J,this.color=J}}}function Dt(ge){return class extends ge{get disableRipple(){return this._disableRipple}set disableRipple(J){this._disableRipple=(0,le.Ig)(J)}constructor(...J){super(...J),this._disableRipple=!1}}}function Ut(ge,J=0){return class extends ge{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(I){this._tabIndex=null!=I?(0,le.su)(I):this.defaultTabIndex}constructor(...I){super(...I),this._tabIndex=J,this.defaultTabIndex=J}}}function kt(ge){return class extends ge{updateErrorState(){const J=this.errorState,ut=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);ut!==J&&(this.errorState=ut,this.stateChanges.next())}constructor(...J){super(...J),this.errorState=!1}}}let He=(()=>{class ge{isErrorState(I,Y){return!!(I&&I.invalid&&(I.touched||Y&&Y.submitted))}static#e=this.\u0275fac=function(Y){return new(Y||ge)};static#t=this.\u0275prov=n.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"})}return ge})();class Ye{constructor(J,I,Y,Ae=!1){this._renderer=J,this.element=I,this.config=Y,this._animationForciblyDisabledThroughCss=Ae,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const ct=(0,Se.i$)({passive:!0,capture:!0});class Ee{constructor(){this._events=new Map,this._delegateEventHandler=J=>{const I=(0,Se.sA)(J);I&&this._events.get(J.type)?.forEach((Y,Ae)=>{(Ae===I||Ae.contains(I))&&Y.forEach(ut=>ut.handleEvent(J))})}}addHandler(J,I,Y,Ae){const ut=this._events.get(I);if(ut){const Pe=ut.get(Y);Pe?Pe.add(Ae):ut.set(Y,new Set([Ae]))}else this._events.set(I,new Map([[Y,new Set([Ae])]])),J.runOutsideAngular(()=>{document.addEventListener(I,this._delegateEventHandler,ct)})}removeHandler(J,I,Y){const Ae=this._events.get(J);if(!Ae)return;const ut=Ae.get(I);ut&&(ut.delete(Y),0===ut.size&&Ae.delete(I),0===Ae.size&&(this._events.delete(J),document.removeEventListener(J,this._delegateEventHandler,ct)))}}const tt={enterDuration:225,exitDuration:150},jt=(0,Se.i$)({passive:!0,capture:!0}),Gt=["mousedown","touchstart"],cn=["mouseup","mouseleave","touchend","touchcancel"];class Lt{static#e=this._eventManager=new Ee;constructor(J,I,Y,Ae){this._target=J,this._ngZone=I,this._platform=Ae,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,Ae.isBrowser&&(this._containerElement=(0,le.fI)(Y))}fadeInRipple(J,I,Y={}){const Ae=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),ut={...tt,...Y.animation};Y.centered&&(J=Ae.left+Ae.width/2,I=Ae.top+Ae.height/2);const Pe=Y.radius||function yn(ge,J,I){const Y=Math.max(Math.abs(ge-I.left),Math.abs(ge-I.right)),Ae=Math.max(Math.abs(J-I.top),Math.abs(J-I.bottom));return Math.sqrt(Y*Y+Ae*Ae)}(J,I,Ae),ee=J-Ae.left,z=I-Ae.top,D=ut.enterDuration,B=document.createElement("div");B.classList.add("mat-ripple-element"),B.style.left=ee-Pe+"px",B.style.top=z-Pe+"px",B.style.height=2*Pe+"px",B.style.width=2*Pe+"px",null!=Y.color&&(B.style.backgroundColor=Y.color),B.style.transitionDuration=`${D}ms`,this._containerElement.appendChild(B);const he=window.getComputedStyle(B),ne=he.transitionDuration,Oe="none"===he.transitionProperty||"0s"===ne||"0s, 0s"===ne||0===Ae.width&&0===Ae.height,nt=new Ye(this,B,Y,Oe);B.style.transform="scale3d(1, 1, 1)",nt.state=0,Y.persistent||(this._mostRecentTransientRipple=nt);let Et=null;return!Oe&&(D||ut.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Ot=()=>this._finishRippleTransition(nt),Tt=()=>this._destroyRipple(nt);B.addEventListener("transitionend",Ot),B.addEventListener("transitioncancel",Tt),Et={onTransitionEnd:Ot,onTransitionCancel:Tt}}),this._activeRipples.set(nt,Et),(Oe||!D)&&this._finishRippleTransition(nt),nt}fadeOutRipple(J){if(2===J.state||3===J.state)return;const I=J.element,Y={...tt,...J.config.animation};I.style.transitionDuration=`${Y.exitDuration}ms`,I.style.opacity="0",J.state=2,(J._animationForciblyDisabledThroughCss||!Y.exitDuration)&&this._finishRippleTransition(J)}fadeOutAll(){this._getActiveRipples().forEach(J=>J.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(J=>{J.config.persistent||J.fadeOut()})}setupTriggerEvents(J){const I=(0,le.fI)(J);!this._platform.isBrowser||!I||I===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=I,Gt.forEach(Y=>{Lt._eventManager.addHandler(this._ngZone,Y,I,this)}))}handleEvent(J){"mousedown"===J.type?this._onMousedown(J):"touchstart"===J.type?this._onTouchStart(J):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{cn.forEach(I=>{this._triggerElement.addEventListener(I,this,jt)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(J){0===J.state?this._startFadeOutTransition(J):2===J.state&&this._destroyRipple(J)}_startFadeOutTransition(J){const I=J===this._mostRecentTransientRipple,{persistent:Y}=J.config;J.state=1,!Y&&(!I||!this._isPointerDown)&&J.fadeOut()}_destroyRipple(J){const I=this._activeRipples.get(J)??null;this._activeRipples.delete(J),this._activeRipples.size||(this._containerRect=null),J===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),J.state=3,null!==I&&(J.element.removeEventListener("transitionend",I.onTransitionEnd),J.element.removeEventListener("transitioncancel",I.onTransitionCancel)),J.element.remove()}_onMousedown(J){const I=(0,l.X6)(J),Y=this._lastTouchStartEvent&&Date.now(){!J.config.persistent&&(1===J.state||J.config.terminateOnPointerUp&&0===J.state)&&J.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const J=this._triggerElement;J&&(Gt.forEach(I=>Lt._eventManager.removeHandler(I,J,this)),this._pointerUpEventsRegistered&&cn.forEach(I=>J.removeEventListener(I,this,jt)))}}const et=new n.OlP("mat-ripple-global-options");let Z=(()=>{class ge{get disabled(){return this._disabled}set disabled(I){I&&this.fadeOutAllNonPersistent(),this._disabled=I,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(I){this._trigger=I,this._setupTriggerEventsIfEnabled()}constructor(I,Y,Ae,ut,Pe){this._elementRef=I,this._animationMode=Pe,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=ut||{},this._rippleRenderer=new Lt(this,Y,I,Ae)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(I,Y=0,Ae){return"number"==typeof I?this._rippleRenderer.fadeInRipple(I,Y,{...this.rippleConfig,...Ae}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...I})}static#e=this.\u0275fac=function(Y){return new(Y||ge)(n.Y36(n.SBq),n.Y36(n.R0b),n.Y36(Se.t4),n.Y36(et,8),n.Y36(n.QbO,8))};static#t=this.\u0275dir=n.lG2({type:ge,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(Y,Ae){2&Y&&n.ekj("mat-ripple-unbounded",Ae.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return ge})(),ce=(()=>{class ge{static#e=this.\u0275fac=function(Y){return new(Y||ge)};static#t=this.\u0275mod=n.oAB({type:ge});static#n=this.\u0275inj=n.cJS({imports:[oe,oe]})}return ge})(),Fe=(()=>{class ge{constructor(I){this._animationMode=I,this.state="unchecked",this.disabled=!1,this.appearance="full"}static#e=this.\u0275fac=function(Y){return new(Y||ge)(n.Y36(n.QbO,8))};static#t=this.\u0275cmp=n.Xpm({type:ge,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(Y,Ae){2&Y&&n.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===Ae.state)("mat-pseudo-checkbox-checked","checked"===Ae.state)("mat-pseudo-checkbox-disabled",Ae.disabled)("mat-pseudo-checkbox-minimal","minimal"===Ae.appearance)("mat-pseudo-checkbox-full","full"===Ae.appearance)("_mat-animation-noopable","NoopAnimations"===Ae._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(Y,Ae){},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-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.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}'],encapsulation:2,changeDetection:0})}return ge})(),ot=(()=>{class ge{static#e=this.\u0275fac=function(Y){return new(Y||ge)};static#t=this.\u0275mod=n.oAB({type:ge});static#n=this.\u0275inj=n.cJS({imports:[oe]})}return ge})();const st=new n.OlP("MAT_OPTION_PARENT_COMPONENT"),Bt=new n.OlP("MatOptgroup");let Ft=0;class Cn{constructor(J,I=!1){this.source=J,this.isUserInput=I}}let un=(()=>{class ge{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(I){this._disabled=(0,le.Ig)(I)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(I,Y,Ae,ut){this._element=I,this._changeDetectorRef=Y,this._parent=Ae,this.group=ut,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Ft++,this.onSelectionChange=new n.vpe,this._stateChanges=new ke.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(I=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),I&&this._emitSelectionChangeEvent())}deselect(I=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),I&&this._emitSelectionChangeEvent())}focus(I,Y){const Ae=this._getHostElement();"function"==typeof Ae.focus&&Ae.focus(Y)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(I){(I.keyCode===ue.K5||I.keyCode===ue.L_)&&!(0,ue.Vb)(I)&&(this._selectViaInteraction(),I.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const I=this.viewValue;I!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=I)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(I=!1){this.onSelectionChange.emit(new Cn(this,I))}static#e=this.\u0275fac=function(Y){n.$Z()};static#t=this.\u0275dir=n.lG2({type:ge,viewQuery:function(Y,Ae){if(1&Y&&n.Gf(fe,7),2&Y){let ut;n.iGM(ut=n.CRH())&&(Ae._text=ut.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}})}return ge})(),nn=(()=>{class ge extends un{constructor(I,Y,Ae,ut){super(I,Y,Ae,ut)}static#e=this.\u0275fac=function(Y){return new(Y||ge)(n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(st,8),n.Y36(Bt,8))};static#t=this.\u0275cmp=n.Xpm({type:ge,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(Y,Ae){1&Y&&n.NdJ("click",function(){return Ae._selectViaInteraction()})("keydown",function(Pe){return Ae._handleKeydown(Pe)}),2&Y&&(n.Ikx("id",Ae.id),n.uIk("aria-selected",Ae.selected)("aria-disabled",Ae.disabled.toString()),n.ekj("mdc-list-item--selected",Ae.selected)("mat-mdc-option-multiple",Ae.multiple)("mat-mdc-option-active",Ae.active)("mdc-list-item--disabled",Ae.disabled))},exportAs:["matOption"],features:[n.qOj],ngContentSelectors:be,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(Y,Ae){1&Y&&(n.F$t(Ue),n.YNc(0,me,1,2,"mat-pseudo-checkbox",0),n.Hsn(1),n.TgZ(2,"span",1,2),n.Hsn(4,1),n.qZA(),n.YNc(5,Te,1,1,"mat-pseudo-checkbox",3),n.YNc(6,Le,2,1,"span",4),n._UZ(7,"div",5)),2&Y&&(n.Q6J("ngIf",Ae.multiple),n.xp6(5),n.Q6J("ngIf",!Ae.multiple&&Ae.selected&&!Ae.hideSingleSelectionIndicator),n.xp6(1),n.Q6J("ngIf",Ae.group&&Ae.group._inert),n.xp6(1),n.Q6J("matRippleTrigger",Ae._getHostElement())("matRippleDisabled",Ae.disabled||Ae.disableRipple))},dependencies:[Z,te.O5,Fe],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return ge})();function pn(ge,J,I){if(I.length){let Y=J.toArray(),Ae=I.toArray(),ut=0;for(let Pe=0;PeI+Y?Math.max(0,ge-Y+J):I}let In=(()=>{class ge{static#e=this.\u0275fac=function(Y){return new(Y||ge)};static#t=this.\u0275mod=n.oAB({type:ge});static#n=this.\u0275inj=n.cJS({imports:[ce,te.ez,oe,ot]})}return ge})();const Tn={capture:!0},at=["focus","click","mouseenter","touchstart"],Nt="mat-ripple-loader-uninitialized",Ke="mat-ripple-loader-class-name",mt="mat-ripple-loader-centered",gt="mat-ripple-loader-disabled";let Yt=(()=>{class ge{constructor(){this._document=(0,n.f3M)(te.K0,{optional:!0}),this._animationMode=(0,n.f3M)(n.QbO,{optional:!0}),this._globalRippleOptions=(0,n.f3M)(et,{optional:!0}),this._platform=(0,n.f3M)(Se.t4),this._ngZone=(0,n.f3M)(n.R0b),this._onInteraction=I=>{if(!(I.target instanceof HTMLElement))return;const Ae=I.target.closest(`[${Nt}]`);Ae&&this.createRipple(Ae)},this._ngZone.runOutsideAngular(()=>{for(const I of at)this._document?.addEventListener(I,this._onInteraction,Tn)})}ngOnDestroy(){for(const I of at)this._document?.removeEventListener(I,this._onInteraction,Tn)}configureRipple(I,Y){I.setAttribute(Nt,""),(Y.className||!I.hasAttribute(Ke))&&I.setAttribute(Ke,Y.className||""),Y.centered&&I.setAttribute(mt,""),Y.disabled&&I.setAttribute(gt,"")}getRipple(I){return I.matRipple?I.matRipple:this.createRipple(I)}setDisabled(I,Y){const Ae=I.matRipple;Ae?Ae.disabled=Y:Y?I.setAttribute(gt,""):I.removeAttribute(gt)}createRipple(I){if(!this._document)return;I.querySelector(".mat-ripple")?.remove();const Y=this._document.createElement("span");Y.classList.add("mat-ripple",I.getAttribute(Ke)),I.append(Y);const Ae=new Z(new n.SBq(Y),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return Ae._isInitialized=!0,Ae.trigger=I,Ae.centered=I.hasAttribute(mt),Ae.disabled=I.hasAttribute(gt),this.attachRipple(I,Ae),Ae}attachRipple(I,Y){I.removeAttribute(Nt),I.matRipple=Y}static#e=this.\u0275fac=function(Y){return new(Y||ge)};static#t=this.\u0275prov=n.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"})}return ge})()},3305:(Mt,je,g)=>{g.d(je,{To:()=>it,ib:()=>L,HS:()=>W,yz:()=>Be});var n=g(5879),l=g(8337),R=g(2495),S=g(7394);const Se=new n.OlP("CdkAccordion");let ke=0,ue=(()=>{class qe{get expanded(){return this._expanded}set expanded(Ye){Ye=(0,R.Ig)(Ye),this._expanded!==Ye&&(this._expanded=Ye,this.expandedChange.emit(Ye),Ye?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(Ye){this._disabled=(0,R.Ig)(Ye)}constructor(Ye,ct,Ee){this.accordion=Ye,this._changeDetectorRef=ct,this._expansionDispatcher=Ee,this._openCloseAllSubscription=S.w0.EMPTY,this.closed=new n.vpe,this.opened=new n.vpe,this.destroyed=new n.vpe,this.expandedChange=new n.vpe,this.id="cdk-accordion-child-"+ke++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=Ee.listen((tt,dt)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===dt&&this.id!==tt&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(Ye=>{this.disabled||(this.expanded=Ye)})}static#e=this.\u0275fac=function(ct){return new(ct||qe)(n.Y36(Se,12),n.Y36(n.sBO),n.Y36(l.A8))};static#t=this.\u0275dir=n.lG2({type:qe,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[n._Bn([{provide:Se,useValue:void 0}])]})}return qe})(),ie=(()=>{class qe{static#e=this.\u0275fac=function(ct){return new(ct||qe)};static#t=this.\u0275mod=n.oAB({type:qe});static#n=this.\u0275inj=n.cJS({})}return qe})();var we=g(8484),fe=g(6814),me=g(3680),Te=g(4191),Le=g(3997),Ue=g(7921),be=g(2181),ye=g(8180),Je=g(6028),ve=g(8645),H=g(6232),xe=g(3019),oe=g(6825);const Ie=["body"];function Re(qe,It){}const $e=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],ft=["mat-expansion-panel-header","*","mat-action-row"];function bt(qe,It){if(1&qe&&n._UZ(0,"span",2),2&qe){const Ye=n.oxw();n.Q6J("@indicatorRotate",Ye._getExpandedState())}}const Dt=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],Ut=["mat-panel-title","mat-panel-description","*"],kt=new n.OlP("MAT_ACCORDION"),an="225ms cubic-bezier(0.4,0.0,0.2,1)",Xe={indicatorRotate:(0,oe.X$)("indicatorRotate",[(0,oe.SB)("collapsed, void",(0,oe.oB)({transform:"rotate(0deg)"})),(0,oe.SB)("expanded",(0,oe.oB)({transform:"rotate(180deg)"})),(0,oe.eR)("expanded <=> collapsed, void => collapsed",(0,oe.jt)(an))]),bodyExpansion:(0,oe.X$)("bodyExpansion",[(0,oe.SB)("collapsed, void",(0,oe.oB)({height:"0px",visibility:"hidden"})),(0,oe.SB)("expanded",(0,oe.oB)({height:"*",visibility:""})),(0,oe.eR)("expanded <=> collapsed, void => collapsed",(0,oe.jt)(an))])},Ct=new n.OlP("MAT_EXPANSION_PANEL");let W=(()=>{class qe{constructor(Ye,ct){this._template=Ye,this._expansionPanel=ct}static#e=this.\u0275fac=function(ct){return new(ct||qe)(n.Y36(n.Rgc),n.Y36(Ct,8))};static#t=this.\u0275dir=n.lG2({type:qe,selectors:[["ng-template","matExpansionPanelContent",""]]})}return qe})(),P=0;const se=new n.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let L=(()=>{class qe extends ue{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(Ye){this._hideToggle=(0,R.Ig)(Ye)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(Ye){this._togglePosition=Ye}constructor(Ye,ct,Ee,tt,dt,jt,Gt){super(Ye,ct,Ee),this._viewContainerRef=tt,this._animationMode=jt,this._hideToggle=!1,this.afterExpand=new n.vpe,this.afterCollapse=new n.vpe,this._inputChanges=new ve.x,this._headerId="mat-expansion-panel-header-"+P++,this._bodyAnimationDone=new ve.x,this.accordion=Ye,this._document=dt,this._bodyAnimationDone.pipe((0,Le.x)((cn,Lt)=>cn.fromState===Lt.fromState&&cn.toState===Lt.toState)).subscribe(cn=>{"void"!==cn.fromState&&("expanded"===cn.toState?this.afterExpand.emit():"collapsed"===cn.toState&&this.afterCollapse.emit())}),Gt&&(this.hideToggle=Gt.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,Ue.O)(null),(0,be.h)(()=>this.expanded&&!this._portal),(0,ye.q)(1)).subscribe(()=>{this._portal=new we.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(Ye){this._inputChanges.next(Ye)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const Ye=this._document.activeElement,ct=this._body.nativeElement;return Ye===ct||ct.contains(Ye)}return!1}static#e=this.\u0275fac=function(ct){return new(ct||qe)(n.Y36(kt,12),n.Y36(n.sBO),n.Y36(l.A8),n.Y36(n.s_b),n.Y36(fe.K0),n.Y36(n.QbO,8),n.Y36(se,8))};static#t=this.\u0275cmp=n.Xpm({type:qe,selectors:[["mat-expansion-panel"]],contentQueries:function(ct,Ee,tt){if(1&ct&&n.Suo(tt,W,5),2&ct){let dt;n.iGM(dt=n.CRH())&&(Ee._lazyContent=dt.first)}},viewQuery:function(ct,Ee){if(1&ct&&n.Gf(Ie,5),2&ct){let tt;n.iGM(tt=n.CRH())&&(Ee._body=tt.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(ct,Ee){2&ct&&n.ekj("mat-expanded",Ee.expanded)("_mat-animation-noopable","NoopAnimations"===Ee._animationMode)("mat-expansion-panel-spacing",Ee._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[n._Bn([{provide:kt,useValue:void 0},{provide:Ct,useExisting:qe}]),n.qOj,n.TTD],ngContentSelectors:ft,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(ct,Ee){1&ct&&(n.F$t($e),n.Hsn(0),n.TgZ(1,"div",0,1),n.NdJ("@bodyExpansion.done",function(dt){return Ee._bodyAnimationDone.next(dt)}),n.TgZ(3,"div",2),n.Hsn(4,1),n.YNc(5,Re,0,0,"ng-template",3),n.qZA(),n.Hsn(6,2),n.qZA()),2&ct&&(n.xp6(1),n.Q6J("@bodyExpansion",Ee._getExpandedState())("id",Ee.id),n.uIk("aria-labelledby",Ee._headerId),n.xp6(4),n.Q6J("cdkPortalOutlet",Ee._portal))},dependencies:[we.Pl],styles:['.mat-expansion-panel{--mat-expansion-container-shape:4px;box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-tracking)}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color)}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[Xe.bodyExpansion]},changeDetection:0})}return qe})();class G{}const $=(0,me.sb)(G);let Be=(()=>{class qe extends ${constructor(Ye,ct,Ee,tt,dt,jt,Gt){super(),this.panel=Ye,this._element=ct,this._focusMonitor=Ee,this._changeDetectorRef=tt,this._animationMode=jt,this._parentChangeSubscription=S.w0.EMPTY;const cn=Ye.accordion?Ye.accordion._stateChanges.pipe((0,be.h)(Lt=>!(!Lt.hideToggle&&!Lt.togglePosition))):H.E;this.tabIndex=parseInt(Gt||"")||0,this._parentChangeSubscription=(0,xe.T)(Ye.opened,Ye.closed,cn,Ye._inputChanges.pipe((0,be.h)(Lt=>!!(Lt.hideToggle||Lt.disabled||Lt.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),Ye.closed.pipe((0,be.h)(()=>Ye._containsFocus())).subscribe(()=>Ee.focusVia(ct,"program")),dt&&(this.expandedHeight=dt.expandedHeight,this.collapsedHeight=dt.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const Ye=this._isExpanded();return Ye&&this.expandedHeight?this.expandedHeight:!Ye&&this.collapsedHeight?this.collapsedHeight:null}_keydown(Ye){switch(Ye.keyCode){case Je.L_:case Je.K5:(0,Je.Vb)(Ye)||(Ye.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(Ye))}}focus(Ye,ct){Ye?this._focusMonitor.focusVia(this._element,Ye,ct):this._element.nativeElement.focus(ct)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(Ye=>{Ye&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static#e=this.\u0275fac=function(ct){return new(ct||qe)(n.Y36(L,1),n.Y36(n.SBq),n.Y36(Te.tE),n.Y36(n.sBO),n.Y36(se,8),n.Y36(n.QbO,8),n.$8M("tabindex"))};static#t=this.\u0275cmp=n.Xpm({type:qe,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(ct,Ee){1&ct&&n.NdJ("click",function(){return Ee._toggle()})("keydown",function(dt){return Ee._keydown(dt)}),2&ct&&(n.uIk("id",Ee.panel._headerId)("tabindex",Ee.tabIndex)("aria-controls",Ee._getPanelId())("aria-expanded",Ee._isExpanded())("aria-disabled",Ee.panel.disabled),n.Udp("height",Ee._getHeaderHeight()),n.ekj("mat-expanded",Ee._isExpanded())("mat-expansion-toggle-indicator-after","after"===Ee._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===Ee._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===Ee._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[n.qOj],ngContentSelectors:Ut,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(ct,Ee){1&ct&&(n.F$t(Dt),n.TgZ(0,"span",0),n.Hsn(1),n.Hsn(2,1),n.Hsn(3,2),n.qZA(),n.YNc(4,bt,1,1,"span",1)),2&ct&&(n.ekj("mat-content-hide-toggle",!Ee._showToggle()),n.xp6(4),n.Q6J("ngIf",Ee._showToggle()))},dependencies:[fe.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color)}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color)}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[Xe.indicatorRotate]},changeDetection:0})}return qe})(),it=(()=>{class qe{static#e=this.\u0275fac=function(ct){return new(ct||qe)};static#t=this.\u0275mod=n.oAB({type:qe});static#n=this.\u0275inj=n.cJS({imports:[fe.ez,me.BQ,ie,we.eL]})}return qe})()},9157:(Mt,je,g)=>{g.d(je,{G_:()=>Vt,KE:()=>In,Eo:()=>lt,lN:()=>Tn,bx:()=>tt,qo:()=>jt,R9:()=>cn});var n=g(5879),l=g(9388),R=g(2831),S=g(7394),te=g(8645),Se=g(3019),le=g(9773),ke=g(5592),ue=g(2181),ie=g(4552);class we extends te.x{constructor(Nt=1/0,Ke=1/0,mt=ie.l){super(),this._bufferSize=Nt,this._windowTime=Ke,this._timestampProvider=mt,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=Ke===1/0,this._bufferSize=Math.max(1,Nt),this._windowTime=Math.max(1,Ke)}next(Nt){const{isStopped:Ke,_buffer:mt,_infiniteTimeWindow:gt,_timestampProvider:Yt,_windowTime:ge}=this;Ke||(mt.push(Nt),!gt&&mt.push(Yt.now()+ge)),this._trimBuffer(),super.next(Nt)}_subscribe(Nt){this._throwIfClosed(),this._trimBuffer();const Ke=this._innerSubscribe(Nt),{_infiniteTimeWindow:mt,_buffer:gt}=this,Yt=gt.slice();for(let ge=0;gethis._resizeSubject.next(Ke)))}observe(Nt){return this._elementObservables.has(Nt)||this._elementObservables.set(Nt,new ke.y(Ke=>{const mt=this._resizeSubject.subscribe(Ke);return this._resizeObserver?.observe(Nt,{box:this._box}),()=>{this._resizeObserver?.unobserve(Nt),mt.unsubscribe(),this._elementObservables.delete(Nt)}}).pipe((0,ue.h)(Ke=>Ke.some(mt=>mt.target===Nt)),function me(at,Nt,Ke){let mt,gt=!1;return at&&"object"==typeof at?({bufferSize:mt=1/0,windowTime:Nt=1/0,refCount:gt=!1,scheduler:Ke}=at):mt=at??1/0,(0,fe.B)({connector:()=>new we(mt,Nt,Ke),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:gt})}({bufferSize:1,refCount:!0}),(0,le.R)(this._destroyed))),this._elementObservables.get(Nt)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let Ue=(()=>{class at{constructor(){this._observers=new Map,this._ngZone=(0,n.f3M)(n.R0b)}ngOnDestroy(){for(const[,Ke]of this._observers)Ke.destroy();this._observers.clear()}observe(Ke,mt){const gt=mt?.box||"content-box";return this._observers.has(gt)||this._observers.set(gt,new Le(gt)),this._observers.get(gt).observe(Ke)}static#e=this.\u0275fac=function(mt){return new(mt||at)};static#t=this.\u0275prov=n.Yz7({token:at,factory:at.\u0275fac,providedIn:"root"})}return at})();var be=g(2495),ye=g(6825),Je=g(6814),ve=g(7131),H=g(3680);const xe=["notch"],oe=["matFormFieldNotchedOutline",""],Ie=["*"],Re=["textField"],$e=["iconPrefixContainer"],ft=["textPrefixContainer"];function bt(at,Nt){1&at&&n._UZ(0,"span",19)}function Dt(at,Nt){if(1&at&&(n.TgZ(0,"label",17),n.Hsn(1,1),n.YNc(2,bt,1,0,"span",18),n.qZA()),2&at){const Ke=n.oxw(2);n.Q6J("floating",Ke._shouldLabelFloat())("monitorResize",Ke._hasOutline())("id",Ke._labelId),n.uIk("for",Ke._control.id),n.xp6(2),n.Q6J("ngIf",!Ke.hideRequiredMarker&&Ke._control.required)}}function Ut(at,Nt){if(1&at&&n.YNc(0,Dt,3,5,"label",16),2&at){const Ke=n.oxw();n.Q6J("ngIf",Ke._hasFloatingLabel())}}function kt(at,Nt){1&at&&n._UZ(0,"div",20)}function an(at,Nt){}function Xe(at,Nt){if(1&at&&n.YNc(0,an,0,0,"ng-template",22),2&at){n.oxw(2);const Ke=n.MAs(1);n.Q6J("ngTemplateOutlet",Ke)}}function Ct(at,Nt){if(1&at&&(n.TgZ(0,"div",21),n.YNc(1,Xe,1,1,"ng-template",9),n.qZA()),2&at){const Ke=n.oxw();n.Q6J("matFormFieldNotchedOutlineOpen",Ke._shouldLabelFloat()),n.xp6(1),n.Q6J("ngIf",!Ke._forceDisplayInfixLabel())}}function W(at,Nt){1&at&&(n.TgZ(0,"div",23,24),n.Hsn(2,2),n.qZA())}function P(at,Nt){1&at&&(n.TgZ(0,"div",25,26),n.Hsn(2,3),n.qZA())}function se(at,Nt){}function L(at,Nt){if(1&at&&n.YNc(0,se,0,0,"ng-template",22),2&at){n.oxw();const Ke=n.MAs(1);n.Q6J("ngTemplateOutlet",Ke)}}function Ce(at,Nt){1&at&&(n.TgZ(0,"div",27),n.Hsn(1,4),n.qZA())}function G(at,Nt){1&at&&(n.TgZ(0,"div",28),n.Hsn(1,5),n.qZA())}function $(at,Nt){1&at&&n._UZ(0,"div",29)}function Be(at,Nt){if(1&at&&(n.TgZ(0,"div",30),n.Hsn(1,6),n.qZA()),2&at){const Ke=n.oxw();n.Q6J("@transitionMessages",Ke._subscriptAnimationState)}}function ae(at,Nt){if(1&at&&(n.TgZ(0,"mat-hint",34),n._uU(1),n.qZA()),2&at){const Ke=n.oxw(2);n.Q6J("id",Ke._hintLabelId),n.xp6(1),n.Oqu(Ke.hintLabel)}}function He(at,Nt){if(1&at&&(n.TgZ(0,"div",31),n.YNc(1,ae,2,2,"mat-hint",32),n.Hsn(2,7),n._UZ(3,"div",33),n.Hsn(4,8),n.qZA()),2&at){const Ke=n.oxw();n.Q6J("@transitionMessages",Ke._subscriptAnimationState),n.xp6(1),n.Q6J("ngIf",Ke.hintLabel)}}const Ze=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],it=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let qe=(()=>{class at{static#e=this.\u0275fac=function(mt){return new(mt||at)};static#t=this.\u0275dir=n.lG2({type:at,selectors:[["mat-label"]]})}return at})();const Ye=new n.OlP("MatError");let Ee=0,tt=(()=>{class at{constructor(){this.align="start",this.id="mat-mdc-hint-"+Ee++}static#e=this.\u0275fac=function(mt){return new(mt||at)};static#t=this.\u0275dir=n.lG2({type:at,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(mt,gt){2&mt&&(n.Ikx("id",gt.id),n.uIk("align",null),n.ekj("mat-mdc-form-field-hint-end","end"===gt.align))},inputs:{align:"align",id:"id"}})}return at})();const dt=new n.OlP("MatPrefix");let jt=(()=>{class at{constructor(){this._isText=!1}set _isTextSelector(Ke){this._isText=!0}static#e=this.\u0275fac=function(mt){return new(mt||at)};static#t=this.\u0275dir=n.lG2({type:at,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[n._Bn([{provide:dt,useExisting:at}])]})}return at})();const Gt=new n.OlP("MatSuffix");let cn=(()=>{class at{constructor(){this._isText=!1}set _isTextSelector(Ke){this._isText=!0}static#e=this.\u0275fac=function(mt){return new(mt||at)};static#t=this.\u0275dir=n.lG2({type:at,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[n._Bn([{provide:Gt,useExisting:at}])]})}return at})();const Lt=new n.OlP("FloatingLabelParent");let yn=(()=>{class at{get floating(){return this._floating}set floating(Ke){this._floating=Ke,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(Ke){this._monitorResize=Ke,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(Ke){this._elementRef=Ke,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,n.f3M)(Ue),this._ngZone=(0,n.f3M)(n.R0b),this._parent=(0,n.f3M)(Lt),this._resizeSubscription=new S.w0}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function et(at){if(null!==at.offsetParent)return at.scrollWidth;const Ke=at.cloneNode(!0);Ke.style.setProperty("position","absolute"),Ke.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(Ke);const mt=Ke.scrollWidth;return Ke.remove(),mt}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static#e=this.\u0275fac=function(mt){return new(mt||at)(n.Y36(n.SBq))};static#t=this.\u0275dir=n.lG2({type:at,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(mt,gt){2&mt&&n.ekj("mdc-floating-label--float-above",gt.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return at})();const Z="mdc-line-ripple--active",ce="mdc-line-ripple--deactivating";let Fe=(()=>{class at{constructor(Ke,mt){this._elementRef=Ke,this._handleTransitionEnd=gt=>{const Yt=this._elementRef.nativeElement.classList,ge=Yt.contains(ce);"opacity"===gt.propertyName&&ge&&Yt.remove(Z,ce)},mt.runOutsideAngular(()=>{Ke.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const Ke=this._elementRef.nativeElement.classList;Ke.remove(ce),Ke.add(Z)}deactivate(){this._elementRef.nativeElement.classList.add(ce)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static#e=this.\u0275fac=function(mt){return new(mt||at)(n.Y36(n.SBq),n.Y36(n.R0b))};static#t=this.\u0275dir=n.lG2({type:at,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return at})(),ot=(()=>{class at{constructor(Ke,mt){this._elementRef=Ke,this._ngZone=mt,this.open=!1}ngAfterViewInit(){const Ke=this._elementRef.nativeElement.querySelector(".mdc-floating-label");Ke?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(Ke.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>Ke.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(Ke){this._notch.nativeElement.style.width=this.open&&Ke?`calc(${Ke}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static#e=this.\u0275fac=function(mt){return new(mt||at)(n.Y36(n.SBq),n.Y36(n.R0b))};static#t=this.\u0275cmp=n.Xpm({type:at,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(mt,gt){if(1&mt&&n.Gf(xe,5),2&mt){let Yt;n.iGM(Yt=n.CRH())&&(gt._notch=Yt.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(mt,gt){2&mt&&n.ekj("mdc-notched-outline--notched",gt.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:oe,ngContentSelectors:Ie,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(mt,gt){1&mt&&(n.F$t(),n._UZ(0,"div",0),n.TgZ(1,"div",1,2),n.Hsn(3),n.qZA(),n._UZ(4,"div",3))},encapsulation:2,changeDetection:0})}return at})();const st={transitionMessages:(0,ye.X$)("transitionMessages",[(0,ye.SB)("enter",(0,ye.oB)({opacity:1,transform:"translateY(0%)"})),(0,ye.eR)("void => enter",[(0,ye.oB)({opacity:0,transform:"translateY(-5px)"}),(0,ye.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let lt=(()=>{class at{static#e=this.\u0275fac=function(mt){return new(mt||at)};static#t=this.\u0275dir=n.lG2({type:at})}return at})();const Vt=new n.OlP("MatFormField"),Ft=new n.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Cn=0,In=(()=>{class at{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Ke){this._hideRequiredMarker=(0,be.Ig)(Ke)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(Ke){Ke!==this._floatLabel&&(this._floatLabel=Ke,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(Ke){const mt=this._appearance;this._appearance=Ke||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==mt&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(Ke){this._subscriptSizing=Ke||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(Ke){this._hintLabel=Ke,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(Ke){this._explicitFormFieldControl=Ke}constructor(Ke,mt,gt,Yt,ge,J,I,Y){this._elementRef=Ke,this._changeDetectorRef=mt,this._ngZone=gt,this._dir=Yt,this._platform=ge,this._defaults=J,this._animationMode=I,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+Cn++,this._hintLabelId="mat-mdc-hint-"+Cn++,this._subscriptAnimationState="",this._destroyed=new te.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,J&&(J.appearance&&(this.appearance=J.appearance),this._hideRequiredMarker=!!J?.hideRequiredMarker,J.color&&(this.color=J.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const Ke=this._control;Ke.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${Ke.controlType}`),Ke.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),Ke.ngControl&&Ke.ngControl.valueChanges&&Ke.ngControl.valueChanges.pipe((0,le.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(Ke=>!Ke._isText),this._hasTextPrefix=!!this._prefixChildren.find(Ke=>Ke._isText),this._hasIconSuffix=!!this._suffixChildren.find(Ke=>!Ke._isText),this._hasTextSuffix=!!this._suffixChildren.find(Ke=>Ke._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,Se.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,le.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,le.R)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(Ke){const mt=this._control?this._control.ngControl:null;return mt&&mt[Ke]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let Ke=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&Ke.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const mt=this._hintChildren?this._hintChildren.find(Yt=>"start"===Yt.align):null,gt=this._hintChildren?this._hintChildren.find(Yt=>"end"===Yt.align):null;mt?Ke.push(mt.id):this._hintLabel&&Ke.push(this._hintLabelId),gt&&Ke.push(gt.id)}else this._errorChildren&&Ke.push(...this._errorChildren.map(mt=>mt.id));this._control.setDescribedByIds(Ke)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const Ke=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(Ke.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const mt=this._iconPrefixContainer?.nativeElement,gt=this._textPrefixContainer?.nativeElement,Yt=mt?.getBoundingClientRect().width??0,ge=gt?.getBoundingClientRect().width??0;Ke.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${Yt+ge}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const Ke=this._elementRef.nativeElement;if(Ke.getRootNode){const mt=Ke.getRootNode();return mt&&mt!==Ke}return document.documentElement.contains(Ke)}static#e=this.\u0275fac=function(mt){return new(mt||at)(n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(n.R0b),n.Y36(l.Is),n.Y36(R.t4),n.Y36(Ft,8),n.Y36(n.QbO,8),n.Y36(Je.K0))};static#t=this.\u0275cmp=n.Xpm({type:at,selectors:[["mat-form-field"]],contentQueries:function(mt,gt,Yt){if(1&mt&&(n.Suo(Yt,qe,5),n.Suo(Yt,qe,7),n.Suo(Yt,lt,5),n.Suo(Yt,dt,5),n.Suo(Yt,Gt,5),n.Suo(Yt,Ye,5),n.Suo(Yt,tt,5)),2&mt){let ge;n.iGM(ge=n.CRH())&&(gt._labelChildNonStatic=ge.first),n.iGM(ge=n.CRH())&&(gt._labelChildStatic=ge.first),n.iGM(ge=n.CRH())&&(gt._formFieldControl=ge.first),n.iGM(ge=n.CRH())&&(gt._prefixChildren=ge),n.iGM(ge=n.CRH())&&(gt._suffixChildren=ge),n.iGM(ge=n.CRH())&&(gt._errorChildren=ge),n.iGM(ge=n.CRH())&&(gt._hintChildren=ge)}},viewQuery:function(mt,gt){if(1&mt&&(n.Gf(Re,5),n.Gf($e,5),n.Gf(ft,5),n.Gf(yn,5),n.Gf(ot,5),n.Gf(Fe,5)),2&mt){let Yt;n.iGM(Yt=n.CRH())&&(gt._textField=Yt.first),n.iGM(Yt=n.CRH())&&(gt._iconPrefixContainer=Yt.first),n.iGM(Yt=n.CRH())&&(gt._textPrefixContainer=Yt.first),n.iGM(Yt=n.CRH())&&(gt._floatingLabel=Yt.first),n.iGM(Yt=n.CRH())&&(gt._notchedOutline=Yt.first),n.iGM(Yt=n.CRH())&&(gt._lineRipple=Yt.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(mt,gt){2&mt&&n.ekj("mat-mdc-form-field-label-always-float",gt._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",gt._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",gt._hasIconSuffix)("mat-form-field-invalid",gt._control.errorState)("mat-form-field-disabled",gt._control.disabled)("mat-form-field-autofilled",gt._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===gt._animationMode)("mat-form-field-appearance-fill","fill"==gt.appearance)("mat-form-field-appearance-outline","outline"==gt.appearance)("mat-form-field-hide-placeholder",gt._hasFloatingLabel()&&!gt._shouldLabelFloat())("mat-focused",gt._control.focused)("mat-primary","accent"!==gt.color&&"warn"!==gt.color)("mat-accent","accent"===gt.color)("mat-warn","warn"===gt.color)("ng-untouched",gt._shouldForward("untouched"))("ng-touched",gt._shouldForward("touched"))("ng-pristine",gt._shouldForward("pristine"))("ng-dirty",gt._shouldForward("dirty"))("ng-valid",gt._shouldForward("valid"))("ng-invalid",gt._shouldForward("invalid"))("ng-pending",gt._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[n._Bn([{provide:Vt,useExisting:at},{provide:Lt,useExisting:at}])],ngContentSelectors:it,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(mt,gt){1&mt&&(n.F$t(Ze),n.YNc(0,Ut,1,1,"ng-template",null,0,n.W1O),n.TgZ(2,"div",1,2),n.NdJ("click",function(ge){return gt._control.onContainerClick(ge)}),n.YNc(4,kt,1,0,"div",3),n.TgZ(5,"div",4),n.YNc(6,Ct,2,2,"div",5),n.YNc(7,W,3,0,"div",6),n.YNc(8,P,3,0,"div",7),n.TgZ(9,"div",8),n.YNc(10,L,1,1,"ng-template",9),n.Hsn(11),n.qZA(),n.YNc(12,Ce,2,0,"div",10),n.YNc(13,G,2,0,"div",11),n.qZA(),n.YNc(14,$,1,0,"div",12),n.qZA(),n.TgZ(15,"div",13),n.YNc(16,Be,2,1,"div",14),n.YNc(17,He,5,2,"div",15),n.qZA()),2&mt&&(n.xp6(2),n.ekj("mdc-text-field--filled",!gt._hasOutline())("mdc-text-field--outlined",gt._hasOutline())("mdc-text-field--no-label",!gt._hasFloatingLabel())("mdc-text-field--disabled",gt._control.disabled)("mdc-text-field--invalid",gt._control.errorState),n.xp6(2),n.Q6J("ngIf",!gt._hasOutline()&&!gt._control.disabled),n.xp6(2),n.Q6J("ngIf",gt._hasOutline()),n.xp6(1),n.Q6J("ngIf",gt._hasIconPrefix),n.xp6(1),n.Q6J("ngIf",gt._hasTextPrefix),n.xp6(2),n.Q6J("ngIf",!gt._hasOutline()||gt._forceDisplayInfixLabel()),n.xp6(2),n.Q6J("ngIf",gt._hasTextSuffix),n.xp6(1),n.Q6J("ngIf",gt._hasIconSuffix),n.xp6(1),n.Q6J("ngIf",!gt._hasOutline()),n.xp6(1),n.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===gt.subscriptSizing),n.Q6J("ngSwitch",gt._getDisplayedMessages()),n.xp6(1),n.Q6J("ngSwitchCase","error"),n.xp6(1),n.Q6J("ngSwitchCase","hint"))},dependencies:[Je.O5,Je.tP,Je.RF,Je.n9,tt,yn,ot,Fe],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px * 2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{--mdc-filled-text-field-active-indicator-height:1px;--mdc-filled-text-field-focus-active-indicator-height:2px;--mdc-filled-text-field-container-shape:4px;border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined{--mdc-outlined-text-field-outline-width:1px;--mdc-outlined-text-field-focus-outline-width:2px;--mdc-outlined-text-field-container-shape:4px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size) * var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[st.transitionMessages]},changeDetection:0})}return at})(),Tn=(()=>{class at{static#e=this.\u0275fac=function(mt){return new(mt||at)};static#t=this.\u0275mod=n.oAB({type:at});static#n=this.\u0275inj=n.cJS({imports:[H.BQ,Je.ez,ve.Q8,H.BQ]})}return at})()},617:(Mt,je,g)=>{g.d(je,{Hw:()=>Ce,Ps:()=>G,jv:()=>$e});var n=g(5879),l=g(3680),R=g(2495),S=g(6814),te=g(2096),Se=g(8504),le=g(9315),ke=g(7394),ue=g(9397),ie=g(7398),we=g(6306),fe=g(4716),me=g(3020),Te=g(8180),Le=g(9862),Ue=g(6593);const be=["*"];let ye;function ve($){return function Je(){if(void 0===ye&&(ye=null,typeof window<"u")){const $=window;void 0!==$.trustedTypes&&(ye=$.trustedTypes.createPolicy("angular#components",{createHTML:Be=>Be}))}return ye}()?.createHTML($)||$}function H($){return Error(`Unable to find icon with the name "${$}"`)}function oe($){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${$}".`)}function Ie($){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${$}".`)}class Re{constructor(Be,ae,He){this.url=Be,this.svgText=ae,this.options=He}}let $e=(()=>{class ${constructor(ae,He,Ze,it){this._httpClient=ae,this._sanitizer=He,this._errorHandler=it,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=Ze}addSvgIcon(ae,He,Ze){return this.addSvgIconInNamespace("",ae,He,Ze)}addSvgIconLiteral(ae,He,Ze){return this.addSvgIconLiteralInNamespace("",ae,He,Ze)}addSvgIconInNamespace(ae,He,Ze,it){return this._addSvgIconConfig(ae,He,new Re(Ze,null,it))}addSvgIconResolver(ae){return this._resolvers.push(ae),this}addSvgIconLiteralInNamespace(ae,He,Ze,it){const qe=this._sanitizer.sanitize(n.q3G.HTML,Ze);if(!qe)throw Ie(Ze);const It=ve(qe);return this._addSvgIconConfig(ae,He,new Re("",It,it))}addSvgIconSet(ae,He){return this.addSvgIconSetInNamespace("",ae,He)}addSvgIconSetLiteral(ae,He){return this.addSvgIconSetLiteralInNamespace("",ae,He)}addSvgIconSetInNamespace(ae,He,Ze){return this._addSvgIconSetConfig(ae,new Re(He,null,Ze))}addSvgIconSetLiteralInNamespace(ae,He,Ze){const it=this._sanitizer.sanitize(n.q3G.HTML,He);if(!it)throw Ie(He);const qe=ve(it);return this._addSvgIconSetConfig(ae,new Re("",qe,Ze))}registerFontClassAlias(ae,He=ae){return this._fontCssClassesByAlias.set(ae,He),this}classNameForFontAlias(ae){return this._fontCssClassesByAlias.get(ae)||ae}setDefaultFontSetClass(...ae){return this._defaultFontSetClass=ae,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(ae){const He=this._sanitizer.sanitize(n.q3G.RESOURCE_URL,ae);if(!He)throw oe(ae);const Ze=this._cachedIconsByUrl.get(He);return Ze?(0,te.of)(Dt(Ze)):this._loadSvgIconFromConfig(new Re(ae,null)).pipe((0,ue.b)(it=>this._cachedIconsByUrl.set(He,it)),(0,ie.U)(it=>Dt(it)))}getNamedSvgIcon(ae,He=""){const Ze=Ut(He,ae);let it=this._svgIconConfigs.get(Ze);if(it)return this._getSvgFromConfig(it);if(it=this._getIconConfigFromResolvers(He,ae),it)return this._svgIconConfigs.set(Ze,it),this._getSvgFromConfig(it);const qe=this._iconSetConfigs.get(He);return qe?this._getSvgFromIconSetConfigs(ae,qe):(0,Se._)(H(Ze))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(ae){return ae.svgText?(0,te.of)(Dt(this._svgElementFromConfig(ae))):this._loadSvgIconFromConfig(ae).pipe((0,ie.U)(He=>Dt(He)))}_getSvgFromIconSetConfigs(ae,He){const Ze=this._extractIconWithNameFromAnySet(ae,He);if(Ze)return(0,te.of)(Ze);const it=He.filter(qe=>!qe.svgText).map(qe=>this._loadSvgIconSetFromConfig(qe).pipe((0,we.K)(It=>{const ct=`Loading icon set URL: ${this._sanitizer.sanitize(n.q3G.RESOURCE_URL,qe.url)} failed: ${It.message}`;return this._errorHandler.handleError(new Error(ct)),(0,te.of)(null)})));return(0,le.D)(it).pipe((0,ie.U)(()=>{const qe=this._extractIconWithNameFromAnySet(ae,He);if(!qe)throw H(ae);return qe}))}_extractIconWithNameFromAnySet(ae,He){for(let Ze=He.length-1;Ze>=0;Ze--){const it=He[Ze];if(it.svgText&&it.svgText.toString().indexOf(ae)>-1){const qe=this._svgElementFromConfig(it),It=this._extractSvgIconFromSet(qe,ae,it.options);if(It)return It}}return null}_loadSvgIconFromConfig(ae){return this._fetchIcon(ae).pipe((0,ue.b)(He=>ae.svgText=He),(0,ie.U)(()=>this._svgElementFromConfig(ae)))}_loadSvgIconSetFromConfig(ae){return ae.svgText?(0,te.of)(null):this._fetchIcon(ae).pipe((0,ue.b)(He=>ae.svgText=He))}_extractSvgIconFromSet(ae,He,Ze){const it=ae.querySelector(`[id="${He}"]`);if(!it)return null;const qe=it.cloneNode(!0);if(qe.removeAttribute("id"),"svg"===qe.nodeName.toLowerCase())return this._setSvgAttributes(qe,Ze);if("symbol"===qe.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(qe),Ze);const It=this._svgElementFromString(ve(""));return It.appendChild(qe),this._setSvgAttributes(It,Ze)}_svgElementFromString(ae){const He=this._document.createElement("DIV");He.innerHTML=ae;const Ze=He.querySelector("svg");if(!Ze)throw Error(" tag not found");return Ze}_toSvgElement(ae){const He=this._svgElementFromString(ve("")),Ze=ae.attributes;for(let it=0;itve(ct)),(0,fe.x)(()=>this._inProgressUrlFetches.delete(qe)),(0,me.B)());return this._inProgressUrlFetches.set(qe,Ye),Ye}_addSvgIconConfig(ae,He,Ze){return this._svgIconConfigs.set(Ut(ae,He),Ze),this}_addSvgIconSetConfig(ae,He){const Ze=this._iconSetConfigs.get(ae);return Ze?Ze.push(He):this._iconSetConfigs.set(ae,[He]),this}_svgElementFromConfig(ae){if(!ae.svgElement){const He=this._svgElementFromString(ae.svgText);this._setSvgAttributes(He,ae.options),ae.svgElement=He}return ae.svgElement}_getIconConfigFromResolvers(ae,He){for(let Ze=0;ZeBe?Be.pathname+Be.search:""}}}),P=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],se=P.map($=>`[${$}]`).join(", "),L=/^url\(['"]?#(.*?)['"]?\)$/;let Ce=(()=>{class $ extends an{get inline(){return this._inline}set inline(ae){this._inline=(0,R.Ig)(ae)}get svgIcon(){return this._svgIcon}set svgIcon(ae){ae!==this._svgIcon&&(ae?this._updateSvgIcon(ae):this._svgIcon&&this._clearSvgElement(),this._svgIcon=ae)}get fontSet(){return this._fontSet}set fontSet(ae){const He=this._cleanupFontValue(ae);He!==this._fontSet&&(this._fontSet=He,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(ae){const He=this._cleanupFontValue(ae);He!==this._fontIcon&&(this._fontIcon=He,this._updateFontIconClasses())}constructor(ae,He,Ze,it,qe,It){super(ae),this._iconRegistry=He,this._location=it,this._errorHandler=qe,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=ke.w0.EMPTY,It&&(It.color&&(this.color=this.defaultColor=It.color),It.fontSet&&(this.fontSet=It.fontSet)),Ze||ae.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(ae){if(!ae)return["",""];const He=ae.split(":");switch(He.length){case 1:return["",He[0]];case 2:return He;default:throw Error(`Invalid icon name: "${ae}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const ae=this._elementsWithExternalReferences;if(ae&&ae.size){const He=this._location.getPathname();He!==this._previousPath&&(this._previousPath=He,this._prependPathToReferences(He))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(ae){this._clearSvgElement();const He=this._location.getPathname();this._previousPath=He,this._cacheChildrenWithExternalReferences(ae),this._prependPathToReferences(He),this._elementRef.nativeElement.appendChild(ae)}_clearSvgElement(){const ae=this._elementRef.nativeElement;let He=ae.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();He--;){const Ze=ae.childNodes[He];(1!==Ze.nodeType||"svg"===Ze.nodeName.toLowerCase())&&Ze.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const ae=this._elementRef.nativeElement,He=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Ze=>Ze.length>0);this._previousFontSetClass.forEach(Ze=>ae.classList.remove(Ze)),He.forEach(Ze=>ae.classList.add(Ze)),this._previousFontSetClass=He,this.fontIcon!==this._previousFontIconClass&&!He.includes("mat-ligature-font")&&(this._previousFontIconClass&&ae.classList.remove(this._previousFontIconClass),this.fontIcon&&ae.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(ae){return"string"==typeof ae?ae.trim().split(" ")[0]:ae}_prependPathToReferences(ae){const He=this._elementsWithExternalReferences;He&&He.forEach((Ze,it)=>{Ze.forEach(qe=>{it.setAttribute(qe.name,`url('${ae}#${qe.value}')`)})})}_cacheChildrenWithExternalReferences(ae){const He=ae.querySelectorAll(se),Ze=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let it=0;it{const It=He[it],Ye=It.getAttribute(qe),ct=Ye?Ye.match(L):null;if(ct){let Ee=Ze.get(It);Ee||(Ee=[],Ze.set(It,Ee)),Ee.push({name:qe,value:ct[1]})}})}_updateSvgIcon(ae){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),ae){const[He,Ze]=this._splitIconName(ae);He&&(this._svgNamespace=He),Ze&&(this._svgName=Ze),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Ze,He).pipe((0,Te.q)(1)).subscribe(it=>this._setSvgElement(it),it=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${He}:${Ze}! ${it.message}`))})}}static#e=this.\u0275fac=function(He){return new(He||$)(n.Y36(n.SBq),n.Y36($e),n.$8M("aria-hidden"),n.Y36(Ct),n.Y36(n.qLn),n.Y36(Xe,8))};static#t=this.\u0275cmp=n.Xpm({type:$,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(He,Ze){2&He&&(n.uIk("data-mat-icon-type",Ze._usingFontIcon()?"font":"svg")("data-mat-icon-name",Ze._svgName||Ze.fontIcon)("data-mat-icon-namespace",Ze._svgNamespace||Ze.fontSet)("fontIcon",Ze._usingFontIcon()?Ze.fontIcon:null),n.ekj("mat-icon-inline",Ze.inline)("mat-icon-no-color","primary"!==Ze.color&&"accent"!==Ze.color&&"warn"!==Ze.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[n.qOj],ngContentSelectors:be,decls:1,vars:0,template:function(He,Ze){1&He&&(n.F$t(),n.Hsn(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}return $})(),G=(()=>{class ${static#e=this.\u0275fac=function(He){return new(He||$)};static#t=this.\u0275mod=n.oAB({type:$});static#n=this.\u0275inj=n.cJS({imports:[l.BQ,l.BQ]})}return $})()},4516:(Mt,je,g)=>{g.d(je,{Jk:()=>ie,Nt:()=>Te,c:()=>Le});var n=g(2495),l=g(2831),R=g(6263),S=g(5879),te=g(6223),Se=g(3680),le=g(9157),ke=g(8645);const ie=new S.OlP("MAT_INPUT_VALUE_ACCESSOR"),we=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let fe=0;const me=(0,Se.FD)(class{constructor(Ue,be,ye,Je){this._defaultErrorStateMatcher=Ue,this._parentForm=be,this._parentFormGroup=ye,this.ngControl=Je,this.stateChanges=new ke.x}});let Te=(()=>{class Ue extends me{get disabled(){return this._disabled}set disabled(ye){this._disabled=(0,n.Ig)(ye),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(ye){this._id=ye||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(te.kI.required)??!1}set required(ye){this._required=(0,n.Ig)(ye)}get type(){return this._type}set type(ye){this._type=ye||"text",this._validateType(),!this._isTextarea&&(0,l.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(ye){ye!==this.value&&(this._inputValueAccessor.value=ye,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(ye){this._readonly=(0,n.Ig)(ye)}constructor(ye,Je,ve,H,xe,oe,Ie,Re,$e,ft){super(oe,H,xe,ve),this._elementRef=ye,this._platform=Je,this._autofillMonitor=Re,this._formField=ft,this._uid="mat-input-"+fe++,this.focused=!1,this.stateChanges=new ke.x,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(Ut=>(0,l.qK)().has(Ut)),this._iOSKeyupListener=Ut=>{const kt=Ut.target;!kt.value&&0===kt.selectionStart&&0===kt.selectionEnd&&(kt.setSelectionRange(1,1),kt.setSelectionRange(0,0))};const bt=this._elementRef.nativeElement,Dt=bt.nodeName.toLowerCase();this._inputValueAccessor=Ie||bt,this._previousNativeValue=this.value,this.id=this.id,Je.IOS&&$e.runOutsideAngular(()=>{ye.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===Dt,this._isTextarea="textarea"===Dt,this._isInFormField=!!ft,this._isNativeSelect&&(this.controlType=bt.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(ye=>{this.autofilled=ye.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(ye){this._elementRef.nativeElement.focus(ye)}_focusChanged(ye){ye!==this.focused&&(this.focused=ye,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const ye=this._elementRef.nativeElement.value;this._previousNativeValue!==ye&&(this._previousNativeValue=ye,this.stateChanges.next())}_dirtyCheckPlaceholder(){const ye=this._getPlaceholder();if(ye!==this._previousPlaceholder){const Je=this._elementRef.nativeElement;this._previousPlaceholder=ye,ye?Je.setAttribute("placeholder",ye):Je.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){we.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let ye=this._elementRef.nativeElement.validity;return ye&&ye.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const ye=this._elementRef.nativeElement,Je=ye.options[0];return this.focused||ye.multiple||!this.empty||!!(ye.selectedIndex>-1&&Je&&Je.label)}return this.focused||!this.empty}setDescribedByIds(ye){ye.length?this._elementRef.nativeElement.setAttribute("aria-describedby",ye.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const ye=this._elementRef.nativeElement;return this._isNativeSelect&&(ye.multiple||ye.size>1)}static#e=this.\u0275fac=function(Je){return new(Je||Ue)(S.Y36(S.SBq),S.Y36(l.t4),S.Y36(te.a5,10),S.Y36(te.F,8),S.Y36(te.sg,8),S.Y36(Se.rD),S.Y36(ie,10),S.Y36(R.Lq),S.Y36(S.R0b),S.Y36(le.G_,8))};static#t=this.\u0275dir=S.lG2({type:Ue,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(Je,ve){1&Je&&S.NdJ("focus",function(){return ve._focusChanged(!0)})("blur",function(){return ve._focusChanged(!1)})("input",function(){return ve._onInput()}),2&Je&&(S.Ikx("id",ve.id)("disabled",ve.disabled)("required",ve.required),S.uIk("name",ve.name||null)("readonly",ve.readonly&&!ve._isNativeSelect||null)("aria-invalid",ve.empty&&ve.required?null:ve.errorState)("aria-required",ve.required)("id",ve.id),S.ekj("mat-input-server",ve._isServer)("mat-mdc-form-field-textarea-control",ve._isInFormField&&ve._isTextarea)("mat-mdc-form-field-input-control",ve._isInFormField)("mdc-text-field__input",ve._isInFormField)("mat-mdc-native-select-inline",ve._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[S._Bn([{provide:le.Eo,useExisting:Ue}]),S.qOj,S.TTD]})}return Ue})(),Le=(()=>{class Ue{static#e=this.\u0275fac=function(Je){return new(Je||Ue)};static#t=this.\u0275mod=S.oAB({type:Ue});static#n=this.\u0275inj=S.cJS({imports:[Se.BQ,le.lN,le.lN,R.Ky,Se.BQ]})}return Ue})()},8525:(Mt,je,g)=>{g.d(je,{LD:()=>It,gD:()=>qe});var n=g(3651),l=g(6814),R=g(5879),S=g(3680),te=g(9157),Se=g(6672),le=g(4191),ke=g(9388),ue=g(2495),ie=g(8337),we=g(6028),fe=g(6223),me=g(8645),Te=g(4911),Le=g(3019),Ue=g(7921),be=g(4664),ye=g(8180),Je=g(2181),ve=g(7398),H=g(3997),xe=g(9773),oe=g(6825);const Ie=["trigger"],Re=["panel"];function $e(Ye,ct){if(1&Ye&&(R.TgZ(0,"span",10),R._uU(1),R.qZA()),2&Ye){const Ee=R.oxw();R.xp6(1),R.Oqu(Ee.placeholder)}}function ft(Ye,ct){if(1&Ye&&(R.TgZ(0,"span",14),R._uU(1),R.qZA()),2&Ye){const Ee=R.oxw(2);R.xp6(1),R.Oqu(Ee.triggerValue)}}function bt(Ye,ct){1&Ye&&R.Hsn(0,0,["*ngSwitchCase","true"])}function Dt(Ye,ct){if(1&Ye&&(R.TgZ(0,"span",11),R.YNc(1,ft,2,1,"span",12),R.YNc(2,bt,1,0,"ng-content",13),R.qZA()),2&Ye){const Ee=R.oxw();R.Q6J("ngSwitch",!!Ee.customTrigger),R.xp6(2),R.Q6J("ngSwitchCase",!0)}}function Ut(Ye,ct){if(1&Ye){const Ee=R.EpF();R.O4$(),R.kcU(),R.TgZ(0,"div",15,16),R.NdJ("@transformPanel.done",function(dt){R.CHM(Ee);const jt=R.oxw();return R.KtG(jt._panelDoneAnimatingStream.next(dt.toState))})("keydown",function(dt){R.CHM(Ee);const jt=R.oxw();return R.KtG(jt._handleKeydown(dt))}),R.Hsn(2,1),R.qZA()}if(2&Ye){const Ee=R.oxw();R.Gre("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",Ee._getPanelTheme(),""),R.Q6J("ngClass",Ee.panelClass)("@transformPanel","showing"),R.uIk("id",Ee.id+"-panel")("aria-multiselectable",Ee.multiple)("aria-label",Ee.ariaLabel||null)("aria-labelledby",Ee._getPanelAriaLabelledby())}}const kt=[[["mat-select-trigger"]],"*"],an=["mat-select-trigger","*"],Xe={transformPanelWrap:(0,oe.X$)("transformPanelWrap",[(0,oe.eR)("* => void",(0,oe.IO)("@transformPanel",[(0,oe.pV)()],{optional:!0}))]),transformPanel:(0,oe.X$)("transformPanel",[(0,oe.SB)("void",(0,oe.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,oe.eR)("void => showing",(0,oe.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,oe.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,oe.eR)("* => void",(0,oe.jt)("100ms linear",(0,oe.oB)({opacity:0})))])};let se=0;const L=new R.OlP("mat-select-scroll-strategy"),G=new R.OlP("MAT_SELECT_CONFIG"),$={provide:L,deps:[n.aV],useFactory:function Ce(Ye){return()=>Ye.scrollStrategies.reposition()}},Be=new R.OlP("MatSelectTrigger");class ae{constructor(ct,Ee){this.source=ct,this.value=Ee}}const He=(0,S.Kr)((0,S.sb)((0,S.Id)((0,S.FD)(class{constructor(Ye,ct,Ee,tt,dt){this._elementRef=Ye,this._defaultErrorStateMatcher=ct,this._parentForm=Ee,this._parentFormGroup=tt,this.ngControl=dt,this.stateChanges=new me.x}}))));let Ze=(()=>{class Ye extends He{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(Ee){this._placeholder=Ee,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(fe.kI.required)??!1}set required(Ee){this._required=(0,ue.Ig)(Ee),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Ee){this._multiple=(0,ue.Ig)(Ee)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(Ee){this._disableOptionCentering=(0,ue.Ig)(Ee)}get compareWith(){return this._compareWith}set compareWith(Ee){this._compareWith=Ee,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Ee){this._assignValue(Ee)&&this._onChange(Ee)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(Ee){this._typeaheadDebounceInterval=(0,ue.su)(Ee)}get id(){return this._id}set id(Ee){this._id=Ee||this._uid,this.stateChanges.next()}constructor(Ee,tt,dt,jt,Gt,cn,Lt,yn,et,Z,ce,Fe,ot,st){super(Gt,jt,Lt,yn,Z),this._viewportRuler=Ee,this._changeDetectorRef=tt,this._ngZone=dt,this._dir=cn,this._parentFormField=et,this._liveAnnouncer=ot,this._defaultOptions=st,this._panelOpen=!1,this._compareWith=(lt,yt)=>lt===yt,this._uid="mat-select-"+se++,this._triggerAriaLabelledBy=null,this._destroy=new me.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+se++,this._panelDoneAnimatingStream=new me.x,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=(0,Te.P)(()=>{const lt=this.options;return lt?lt.changes.pipe((0,Ue.O)(lt),(0,be.w)(()=>(0,Le.T)(...lt.map(yt=>yt.onSelectionChange)))):this._ngZone.onStable.pipe((0,ye.q)(1),(0,be.w)(()=>this.optionSelectionChanges))}),this.openedChange=new R.vpe,this._openedStream=this.openedChange.pipe((0,Je.h)(lt=>lt),(0,ve.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,Je.h)(lt=>!lt),(0,ve.U)(()=>{})),this.selectionChange=new R.vpe,this.valueChange=new R.vpe,this._trackedModal=null,this.ngControl&&(this.ngControl.valueAccessor=this),null!=st?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=st.typeaheadDebounceInterval),this._scrollStrategyFactory=Fe,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(ce)||0,this.id=this.id}ngOnInit(){this._selectionModel=new ie.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,H.x)(),(0,xe.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,xe.R)(this._destroy)).subscribe(Ee=>{Ee.added.forEach(tt=>tt.select()),Ee.removed.forEach(tt=>tt.deselect())}),this.options.changes.pipe((0,Ue.O)(null),(0,xe.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Ee=this._getTriggerAriaLabelledby(),tt=this.ngControl;if(Ee!==this._triggerAriaLabelledBy){const dt=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Ee,Ee?dt.setAttribute("aria-labelledby",Ee):dt.removeAttribute("aria-labelledby")}tt&&(this._previousControl!==tt.control&&(void 0!==this._previousControl&&null!==tt.disabled&&tt.disabled!==this.disabled&&(this.disabled=tt.disabled),this._previousControl=tt.control),this.updateErrorState())}ngOnChanges(Ee){(Ee.disabled||Ee.userAriaDescribedBy)&&this.stateChanges.next(),Ee.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}_applyModalPanelOwnership(){const Ee=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!Ee)return;const tt=`${this.id}-panel`;this._trackedModal&&(0,le.iD)(this._trackedModal,"aria-owns",tt),(0,le.Zf)(Ee,"aria-owns",tt),this._trackedModal=Ee}_clearFromModal(){this._trackedModal&&((0,le.iD)(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(Ee){this._assignValue(Ee)}registerOnChange(Ee){this._onChange=Ee}registerOnTouched(Ee){this._onTouched=Ee}setDisabledState(Ee){this.disabled=Ee,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const Ee=this._selectionModel.selected.map(tt=>tt.viewValue);return this._isRtl()&&Ee.reverse(),Ee.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Ee){this.disabled||(this.panelOpen?this._handleOpenKeydown(Ee):this._handleClosedKeydown(Ee))}_handleClosedKeydown(Ee){const tt=Ee.keyCode,dt=tt===we.JH||tt===we.LH||tt===we.oh||tt===we.SV,jt=tt===we.K5||tt===we.L_,Gt=this._keyManager;if(!Gt.isTyping()&&jt&&!(0,we.Vb)(Ee)||(this.multiple||Ee.altKey)&&dt)Ee.preventDefault(),this.open();else if(!this.multiple){const cn=this.selected;Gt.onKeydown(Ee);const Lt=this.selected;Lt&&cn!==Lt&&this._liveAnnouncer.announce(Lt.viewValue,1e4)}}_handleOpenKeydown(Ee){const tt=this._keyManager,dt=Ee.keyCode,jt=dt===we.JH||dt===we.LH,Gt=tt.isTyping();if(jt&&Ee.altKey)Ee.preventDefault(),this.close();else if(Gt||dt!==we.K5&&dt!==we.L_||!tt.activeItem||(0,we.Vb)(Ee))if(!Gt&&this._multiple&&dt===we.A&&Ee.ctrlKey){Ee.preventDefault();const cn=this.options.some(Lt=>!Lt.disabled&&!Lt.selected);this.options.forEach(Lt=>{Lt.disabled||(cn?Lt.select():Lt.deselect())})}else{const cn=tt.activeItemIndex;tt.onKeydown(Ee),this._multiple&&jt&&Ee.shiftKey&&tt.activeItem&&tt.activeItemIndex!==cn&&tt.activeItem._selectViaInteraction()}else Ee.preventDefault(),tt.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,ye.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(Ee){if(this.options.forEach(tt=>tt.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Ee)Array.isArray(Ee),Ee.forEach(tt=>this._selectOptionByValue(tt)),this._sortValues();else{const tt=this._selectOptionByValue(Ee);tt?this._keyManager.updateActiveItem(tt):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Ee){const tt=this.options.find(dt=>{if(this._selectionModel.isSelected(dt))return!1;try{return null!=dt.value&&this._compareWith(dt.value,Ee)}catch{return!1}});return tt&&this._selectionModel.select(tt),tt}_assignValue(Ee){return!!(Ee!==this._value||this._multiple&&Array.isArray(Ee))&&(this.options&&this._setSelectionByValue(Ee),this._value=Ee,!0)}_skipPredicate(Ee){return Ee.disabled}_initKeyManager(){this._keyManager=new le.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const Ee=(0,Le.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,xe.R)(Ee)).subscribe(tt=>{this._onSelect(tt.source,tt.isUserInput),tt.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Le.T)(...this.options.map(tt=>tt._stateChanges)).pipe((0,xe.R)(Ee)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Ee,tt){const dt=this._selectionModel.isSelected(Ee);null!=Ee.value||this._multiple?(dt!==Ee.selected&&(Ee.selected?this._selectionModel.select(Ee):this._selectionModel.deselect(Ee)),tt&&this._keyManager.setActiveItem(Ee),this.multiple&&(this._sortValues(),tt&&this.focus())):(Ee.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Ee.value)),dt!==this._selectionModel.isSelected(Ee)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Ee=this.options.toArray();this._selectionModel.sort((tt,dt)=>this.sortComparator?this.sortComparator(tt,dt,Ee):Ee.indexOf(tt)-Ee.indexOf(dt)),this.stateChanges.next()}}_propagateChanges(Ee){let tt=null;tt=this.multiple?this.selected.map(dt=>dt.value):this.selected?this.selected.value:Ee,this._value=tt,this.valueChange.emit(tt),this._onChange(tt),this.selectionChange.emit(this._getChangeEvent(tt)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let Ee=-1;for(let tt=0;tt0}focus(Ee){this._elementRef.nativeElement.focus(Ee)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Ee=this._parentFormField?.getLabelId();return this.ariaLabelledby?(Ee?Ee+" ":"")+this.ariaLabelledby:Ee}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const Ee=this._parentFormField?.getLabelId();let tt=(Ee?Ee+" ":"")+this._valueId;return this.ariaLabelledby&&(tt+=" "+this.ariaLabelledby),tt}_panelDoneAnimating(Ee){this.openedChange.emit(Ee)}setDescribedByIds(Ee){Ee.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Ee.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}static#e=this.\u0275fac=function(tt){return new(tt||Ye)(R.Y36(Se.rL),R.Y36(R.sBO),R.Y36(R.R0b),R.Y36(S.rD),R.Y36(R.SBq),R.Y36(ke.Is,8),R.Y36(fe.F,8),R.Y36(fe.sg,8),R.Y36(te.G_,8),R.Y36(fe.a5,10),R.$8M("tabindex"),R.Y36(L),R.Y36(le.Kd),R.Y36(G,8))};static#t=this.\u0275dir=R.lG2({type:Ye,viewQuery:function(tt,dt){if(1&tt&&(R.Gf(Ie,5),R.Gf(Re,5),R.Gf(n.pI,5)),2&tt){let jt;R.iGM(jt=R.CRH())&&(dt.trigger=jt.first),R.iGM(jt=R.CRH())&&(dt.panel=jt.first),R.iGM(jt=R.CRH())&&(dt._overlayDir=jt.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[R.qOj,R.TTD]})}return Ye})(),qe=(()=>{class Ye extends Ze{constructor(){super(...arguments),this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._skipPredicate=Ee=>!this.panelOpen&&Ee.disabled}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,xe.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}open(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(Ee){const tt=this.options.toArray()[Ee];if(tt){const dt=this.panel.nativeElement,jt=(0,S.CB)(Ee,this.options,this.optionGroups),Gt=tt._getHostElement();dt.scrollTop=0===Ee&&1===jt?0:(0,S.jH)(Gt.offsetTop,Gt.offsetHeight,dt.scrollTop,dt.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(Ee){return new ae(this,Ee)}_getOverlayWidth(Ee){return"auto"===this.panelWidth?(Ee instanceof n.xu?Ee.elementRef:Ee||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(Ee){this._hideSingleSelectionIndicator=(0,ue.Ig)(Ee),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const Ee of this.options)Ee._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(){let Ee;return function(dt){return(Ee||(Ee=R.n5z(Ye)))(dt||Ye)}}();static#t=this.\u0275cmp=R.Xpm({type:Ye,selectors:[["mat-select"]],contentQueries:function(tt,dt,jt){if(1&tt&&(R.Suo(jt,Be,5),R.Suo(jt,S.ey,5),R.Suo(jt,S.K7,5)),2&tt){let Gt;R.iGM(Gt=R.CRH())&&(dt.customTrigger=Gt.first),R.iGM(Gt=R.CRH())&&(dt.options=Gt),R.iGM(Gt=R.CRH())&&(dt.optionGroups=Gt)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox","ngSkipHydration","",1,"mat-mdc-select"],hostVars:19,hostBindings:function(tt,dt){1&tt&&R.NdJ("keydown",function(Gt){return dt._handleKeydown(Gt)})("focus",function(){return dt._onFocus()})("blur",function(){return dt._onBlur()}),2&tt&&(R.uIk("id",dt.id)("tabindex",dt.tabIndex)("aria-controls",dt.panelOpen?dt.id+"-panel":null)("aria-expanded",dt.panelOpen)("aria-label",dt.ariaLabel||null)("aria-required",dt.required.toString())("aria-disabled",dt.disabled.toString())("aria-invalid",dt.errorState)("aria-activedescendant",dt._getAriaActiveDescendant()),R.ekj("mat-mdc-select-disabled",dt.disabled)("mat-mdc-select-invalid",dt.errorState)("mat-mdc-select-required",dt.required)("mat-mdc-select-empty",dt.empty)("mat-mdc-select-multiple",dt.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",panelWidth:"panelWidth",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matSelect"],features:[R._Bn([{provide:te.Eo,useExisting:Ye},{provide:S.HF,useExisting:Ye}]),R.qOj],ngContentSelectors:an,decls:11,vars:10,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(tt,dt){if(1&tt&&(R.F$t(kt),R.TgZ(0,"div",0,1),R.NdJ("click",function(){return dt.toggle()}),R.TgZ(3,"div",2),R.YNc(4,$e,2,1,"span",3),R.YNc(5,Dt,3,2,"span",4),R.qZA(),R.TgZ(6,"div",5)(7,"div",6),R.O4$(),R.TgZ(8,"svg",7),R._UZ(9,"path",8),R.qZA()()()(),R.YNc(10,Ut,3,9,"ng-template",9),R.NdJ("backdropClick",function(){return dt.close()})("attach",function(){return dt._onAttached()})("detach",function(){return dt.close()})),2&tt){const jt=R.MAs(1);R.xp6(3),R.Q6J("ngSwitch",dt.empty),R.uIk("id",dt._valueId),R.xp6(1),R.Q6J("ngSwitchCase",!0),R.xp6(1),R.Q6J("ngSwitchCase",!1),R.xp6(5),R.Q6J("cdkConnectedOverlayPanelClass",dt._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",dt._scrollStrategy)("cdkConnectedOverlayOrigin",dt._preferredOverlayOrigin||jt)("cdkConnectedOverlayOpen",dt.panelOpen)("cdkConnectedOverlayPositions",dt._positions)("cdkConnectedOverlayWidth",dt._overlayWidth)}},dependencies:[l.mk,l.RF,l.n9,l.ED,n.pI,n.xu],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[Xe.transformPanel]},changeDetection:0})}return Ye})(),It=(()=>{class Ye{static#e=this.\u0275fac=function(tt){return new(tt||Ye)};static#t=this.\u0275mod=R.oAB({type:Ye});static#n=this.\u0275inj=R.cJS({providers:[$],imports:[l.ez,n.U8,S.Ng,S.BQ,Se.ZD,te.lN,S.Ng,S.BQ]})}return Ye})()},2599:(Mt,je,g)=>{g.d(je,{Rr:()=>Ue,rP:()=>ve});var n=g(5879),l=g(6223),R=g(4191),S=g(3680),te=g(2495),Se=g(6814);const le=["switch"];function ke(H,xe){1&H&&(n.TgZ(0,"div",12),n.O4$(),n.TgZ(1,"svg",13),n._UZ(2,"path",14),n.qZA(),n.TgZ(3,"svg",15),n._UZ(4,"path",16),n.qZA()())}const ue=["*"],ie=new n.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),we={provide:l.JU,useExisting:(0,n.Gpc)(()=>Ue),multi:!0};class fe{constructor(xe,oe){this.source=xe,this.checked=oe}}let me=0;const Te=(0,S.sb)((0,S.pj)((0,S.Kr)((0,S.Id)(class{constructor(H){this._elementRef=H}}))));let Le=(()=>{class H extends Te{get required(){return this._required}set required(oe){this._required=(0,te.Ig)(oe)}get checked(){return this._checked}set checked(oe){this._checked=(0,te.Ig)(oe),this._changeDetectorRef.markForCheck()}get hideIcon(){return this._hideIcon}set hideIcon(oe){this._hideIcon=(0,te.Ig)(oe)}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(oe,Ie,Re,$e,ft,bt,Dt){super(oe),this._focusMonitor=Ie,this._changeDetectorRef=Re,this.defaults=ft,this._onChange=Ut=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this._hideIcon=!1,this.change=new n.vpe,this.toggleChange=new n.vpe,this.tabIndex=parseInt($e)||0,this.color=this.defaultColor=ft.color||"accent",this._noopAnimations="NoopAnimations"===bt,this.id=this._uniqueId=`${Dt}${++me}`,this._hideIcon=ft.hideIcon??!1}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(oe=>{"keyboard"===oe||"program"===oe?(this._focused=!0,this._changeDetectorRef.markForCheck()):oe||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(oe){this.checked=!!oe}registerOnChange(oe){this._onChange=oe}registerOnTouched(oe){this._onTouched=oe}setDisabledState(oe){this.disabled=oe,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}static#e=this.\u0275fac=function(Ie){n.$Z()};static#t=this.\u0275dir=n.lG2({type:H,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked",hideIcon:"hideIcon"},outputs:{change:"change",toggleChange:"toggleChange"},features:[n.qOj]})}return H})(),Ue=(()=>{class H extends Le{get buttonId(){return`${this.id||this._uniqueId}-button`}constructor(oe,Ie,Re,$e,ft,bt){super(oe,Ie,Re,$e,ft,bt,"mat-mdc-slide-toggle-"),this._labelId=this._uniqueId+"-label"}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new fe(this,this.checked)))}focus(){this._switchElement.nativeElement.focus()}_createChangeEvent(oe){return new fe(this,oe)}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static#e=this.\u0275fac=function(Ie){return new(Ie||H)(n.Y36(n.SBq),n.Y36(R.tE),n.Y36(n.sBO),n.$8M("tabindex"),n.Y36(ie),n.Y36(n.QbO,8))};static#t=this.\u0275cmp=n.Xpm({type:H,selectors:[["mat-slide-toggle"]],viewQuery:function(Ie,Re){if(1&Ie&&n.Gf(le,5),2&Ie){let $e;n.iGM($e=n.CRH())&&(Re._switchElement=$e.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:11,hostBindings:function(Ie,Re){2&Ie&&(n.Ikx("id",Re.id),n.uIk("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),n.ekj("mat-mdc-slide-toggle-focused",Re._focused)("mat-mdc-slide-toggle-checked",Re.checked)("_mat-animation-noopable",Re._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[n._Bn([we]),n.qOj],ngContentSelectors:ue,decls:13,vars:25,consts:[[1,"mdc-form-field"],["role","switch","type","button",1,"mdc-switch",3,"tabIndex","disabled","click"],["switch",""],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],["class","mdc-switch__icons",4,"ngIf"],[1,"mdc-label",3,"for","click"],[1,"mdc-switch__icons"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(Ie,Re){if(1&Ie&&(n.F$t(),n.TgZ(0,"div",0)(1,"button",1,2),n.NdJ("click",function(){return Re._handleClick()}),n._UZ(3,"div",3),n.TgZ(4,"div",4)(5,"div",5)(6,"div",6),n._UZ(7,"div",7),n.qZA(),n.TgZ(8,"div",8),n._UZ(9,"div",9),n.qZA(),n.YNc(10,ke,5,0,"div",10),n.qZA()()(),n.TgZ(11,"label",11),n.NdJ("click",function(ft){return ft.stopPropagation()}),n.Hsn(12),n.qZA()()),2&Ie){const $e=n.MAs(2);n.ekj("mdc-form-field--align-end","before"==Re.labelPosition),n.xp6(1),n.ekj("mdc-switch--selected",Re.checked)("mdc-switch--unselected",!Re.checked)("mdc-switch--checked",Re.checked)("mdc-switch--disabled",Re.disabled),n.Q6J("tabIndex",Re.tabIndex)("disabled",Re.disabled),n.uIk("id",Re.buttonId)("name",Re.name)("aria-label",Re.ariaLabel)("aria-labelledby",Re._getAriaLabelledBy())("aria-describedby",Re.ariaDescribedby)("aria-required",Re.required||null)("aria-checked",Re.checked),n.xp6(8),n.Q6J("matRippleTrigger",$e)("matRippleDisabled",Re.disableRipple||Re.disabled)("matRippleCentered",!0),n.xp6(1),n.Q6J("ngIf",!Re.hideIcon),n.xp6(1),n.Q6J("for",Re.buttonId),n.uIk("id",Re._labelId)}},dependencies:[S.wG,Se.O5],styles:['.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mdc-switch{width:var(--mdc-switch-track-width);--mdc-switch-disabled-handle-opacity:0.38;--mdc-switch-disabled-selected-icon-opacity:0.38;--mdc-switch-disabled-track-opacity:0.12;--mdc-switch-disabled-unselected-icon-opacity:0.38;--mdc-switch-handle-height:20px;--mdc-switch-handle-shape:10px;--mdc-switch-handle-width:20px;--mdc-switch-selected-icon-size:18px;--mdc-switch-track-height:14px;--mdc-switch-track-shape:7px;--mdc-switch-track-width:36px;--mdc-switch-unselected-icon-size:18px;--mdc-switch-state-layer-size:40px;--mdc-switch-selected-focus-state-layer-opacity:0.12;--mdc-switch-selected-hover-state-layer-opacity:0.04;--mdc-switch-selected-pressed-state-layer-opacity:0.1;--mdc-switch-unselected-focus-state-layer-opacity:0.12;--mdc-switch-unselected-hover-state-layer-opacity:0.04;--mdc-switch-unselected-pressed-state-layer-opacity:0.1}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color)}.mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation)}.mdc-switch .mdc-switch__focus-ring-wrapper,.mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height)}.mdc-switch:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity)}.mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape)}.mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size);height:var(--mdc-switch-unselected-icon-size)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size);width:var(--mdc-switch-state-layer-size)}.mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height)}.mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color)}.mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color)}.mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mat-mdc-slide-toggle .mdc-label{font-family:var(--mat-slide-toggle-label-text-font);font-size:var(--mat-slide-toggle-label-text-size);letter-spacing:var(--mat-slide-toggle-label-text-tracking);line-height:var(--mat-slide-toggle-label-text-line-height);font-weight:var(--mat-slide-toggle-label-text-weight)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}'],encapsulation:2,changeDetection:0})}return H})(),Je=(()=>{class H{static#e=this.\u0275fac=function(Ie){return new(Ie||H)};static#t=this.\u0275mod=n.oAB({type:H});static#n=this.\u0275inj=n.cJS({})}return H})(),ve=(()=>{class H{static#e=this.\u0275fac=function(Ie){return new(Ie||H)};static#t=this.\u0275mod=n.oAB({type:H});static#n=this.\u0275inj=n.cJS({imports:[Je,S.BQ,S.si,Se.ez,Je,S.BQ]})}return H})()},2202:(Mt,je,g)=>{g.d(je,{$5:()=>Ut,KP:()=>an,f9:()=>kt,pH:()=>Re});var n=g(9388),l=g(2495),R=g(2831),S=g(5879),te=g(3680),Se=g(6814),le=g(6223),ke=g(8645);const ue=["knob"],ie=["valueIndicatorContainer"];function we(Xe,Ct){if(1&Xe&&(S.TgZ(0,"div",4,5)(2,"div",6)(3,"span",7),S._uU(4),S.qZA()()()),2&Xe){const W=S.oxw();S.xp6(4),S.Oqu(W.valueIndicatorText)}}const fe=["trackActive"];function me(Xe,Ct){if(1&Xe&&S._UZ(0,"div"),2&Xe){const W=Ct.$implicit,P=Ct.index,se=S.oxw(3);S.Tol(0===W?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive"),S.Udp("transform",se._calcTickMarkTransform(P))}}function Te(Xe,Ct){if(1&Xe&&(S.ynx(0),S.YNc(1,me,1,4,"div",11),S.BQk()),2&Xe){const W=S.oxw(2);S.xp6(1),S.Q6J("ngForOf",W._tickMarks)}}function Le(Xe,Ct){if(1&Xe&&(S.TgZ(0,"div",8,9),S.YNc(2,Te,2,1,"ng-container",10),S.qZA()),2&Xe){const W=S.oxw();S.xp6(2),S.Q6J("ngIf",W._cachedWidth)}}function Ue(Xe,Ct){if(1&Xe&&S._UZ(0,"mat-slider-visual-thumb",7),2&Xe){const W=S.oxw();S.Q6J("discrete",W.discrete)("thumbPosition",1)("valueIndicatorText",W.startValueIndicatorText)}}const be=["*"],ye=new S.OlP("_MatSlider"),Je=new S.OlP("_MatSliderThumb"),ve=new S.OlP("_MatSliderRangeThumb"),H=new S.OlP("_MatSliderVisualThumb");let oe=(()=>{class Xe{constructor(W,P,se,L){this._cdr=W,this._ngZone=P,this._slider=L,this._isHovered=!1,this._isActive=!1,this._isValueIndicatorVisible=!1,this._onPointerMove=Ce=>{if(this._sliderInput._isFocused)return;const G=this._hostElement.getBoundingClientRect(),$=this._slider._isCursorOnSliderThumb(Ce,G);this._isHovered=$,$?this._showHoverRipple():this._hideRipple(this._hoverRippleRef)},this._onMouseLeave=()=>{this._isHovered=!1,this._hideRipple(this._hoverRippleRef)},this._onFocus=()=>{this._hideRipple(this._hoverRippleRef),this._showFocusRipple(),this._hostElement.classList.add("mdc-slider__thumb--focused")},this._onBlur=()=>{this._isActive||this._hideRipple(this._focusRippleRef),this._isHovered&&this._showHoverRipple(),this._hostElement.classList.remove("mdc-slider__thumb--focused")},this._onDragStart=Ce=>{0===Ce.button&&(this._isActive=!0,this._showActiveRipple())},this._onDragEnd=()=>{this._isActive=!1,this._hideRipple(this._activeRippleRef),this._sliderInput._isFocused||this._hideRipple(this._focusRippleRef)},this._hostElement=se.nativeElement}ngAfterViewInit(){this._ripple.radius=24,this._sliderInput=this._slider._getInput(this.thumbPosition),this._sliderInputEl=this._sliderInput._hostElement;const W=this._sliderInputEl;this._ngZone.runOutsideAngular(()=>{W.addEventListener("pointermove",this._onPointerMove),W.addEventListener("pointerdown",this._onDragStart),W.addEventListener("pointerup",this._onDragEnd),W.addEventListener("pointerleave",this._onMouseLeave),W.addEventListener("focus",this._onFocus),W.addEventListener("blur",this._onBlur)})}ngOnDestroy(){const W=this._sliderInputEl;W.removeEventListener("pointermove",this._onPointerMove),W.removeEventListener("pointerdown",this._onDragStart),W.removeEventListener("pointerup",this._onDragEnd),W.removeEventListener("pointerleave",this._onMouseLeave),W.removeEventListener("focus",this._onFocus),W.removeEventListener("blur",this._onBlur)}_showHoverRipple(){this._isShowingRipple(this._hoverRippleRef)||(this._hoverRippleRef=this._showRipple({enterDuration:0,exitDuration:0}),this._hoverRippleRef?.element.classList.add("mat-mdc-slider-hover-ripple"))}_showFocusRipple(){this._isShowingRipple(this._focusRippleRef)||(this._focusRippleRef=this._showRipple({enterDuration:0,exitDuration:0},!0),this._focusRippleRef?.element.classList.add("mat-mdc-slider-focus-ripple"))}_showActiveRipple(){this._isShowingRipple(this._activeRippleRef)||(this._activeRippleRef=this._showRipple({enterDuration:225,exitDuration:400}),this._activeRippleRef?.element.classList.add("mat-mdc-slider-active-ripple"))}_isShowingRipple(W){return 0===W?.state||1===W?.state}_showRipple(W,P){if(!this._slider.disabled&&(this._showValueIndicator(),this._slider._isRange&&this._slider._getThumb(1===this.thumbPosition?2:1)._showValueIndicator(),!this._slider._globalRippleOptions?.disabled||P))return this._ripple.launch({animation:this._slider._noopAnimations?{enterDuration:0,exitDuration:0}:W,centered:!0,persistent:!0})}_hideRipple(W){if(W?.fadeOut(),this._isShowingAnyRipple())return;this._slider._isRange||this._hideValueIndicator();const P=this._getSibling();P._isShowingAnyRipple()||(this._hideValueIndicator(),P._hideValueIndicator())}_showValueIndicator(){this._hostElement.classList.add("mdc-slider__thumb--with-indicator")}_hideValueIndicator(){this._hostElement.classList.remove("mdc-slider__thumb--with-indicator")}_getSibling(){return this._slider._getThumb(1===this.thumbPosition?2:1)}_getValueIndicatorContainer(){return this._valueIndicatorContainer?.nativeElement}_getKnob(){return this._knob.nativeElement}_isShowingAnyRipple(){return this._isShowingRipple(this._hoverRippleRef)||this._isShowingRipple(this._focusRippleRef)||this._isShowingRipple(this._activeRippleRef)}static#e=this.\u0275fac=function(P){return new(P||Xe)(S.Y36(S.sBO),S.Y36(S.R0b),S.Y36(S.SBq),S.Y36(ye))};static#t=this.\u0275cmp=S.Xpm({type:Xe,selectors:[["mat-slider-visual-thumb"]],viewQuery:function(P,se){if(1&P&&(S.Gf(te.wG,5),S.Gf(ue,5),S.Gf(ie,5)),2&P){let L;S.iGM(L=S.CRH())&&(se._ripple=L.first),S.iGM(L=S.CRH())&&(se._knob=L.first),S.iGM(L=S.CRH())&&(se._valueIndicatorContainer=L.first)}},hostAttrs:[1,"mdc-slider__thumb","mat-mdc-slider-visual-thumb"],inputs:{discrete:"discrete",thumbPosition:"thumbPosition",valueIndicatorText:"valueIndicatorText"},features:[S._Bn([{provide:H,useExisting:Xe}])],decls:4,vars:2,consts:[["class","mdc-slider__value-indicator-container",4,"ngIf"],[1,"mdc-slider__thumb-knob"],["knob",""],["matRipple","",1,"mat-mdc-focus-indicator",3,"matRippleDisabled"],[1,"mdc-slider__value-indicator-container"],["valueIndicatorContainer",""],[1,"mdc-slider__value-indicator"],[1,"mdc-slider__value-indicator-text"]],template:function(P,se){1&P&&(S.YNc(0,we,5,1,"div",0),S._UZ(1,"div",1,2)(3,"div",3)),2&P&&(S.Q6J("ngIf",se.discrete),S.xp6(3),S.Q6J("matRippleDisabled",!0))},dependencies:[Se.O5,te.wG],styles:[".mat-mdc-slider-visual-thumb .mat-ripple{height:100%;width:100%}.mat-mdc-slider .mdc-slider__tick-marks{justify-content:start}.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--inactive{position:absolute;left:2px}"],encapsulation:2,changeDetection:0})}return Xe})();const Ie=(0,te.pj)((0,te.Kr)(class{constructor(Xe){this._elementRef=Xe}}),"primary");let Re=(()=>{class Xe extends Ie{get disabled(){return this._disabled}set disabled(W){this._disabled=(0,l.Ig)(W);const P=this._getInput(2),se=this._getInput(1);P&&(P.disabled=this._disabled),se&&(se.disabled=this._disabled)}get discrete(){return this._discrete}set discrete(W){this._discrete=(0,l.Ig)(W),this._updateValueIndicatorUIs()}get showTickMarks(){return this._showTickMarks}set showTickMarks(W){this._showTickMarks=(0,l.Ig)(W)}get min(){return this._min}set min(W){const P=(0,l.su)(W,this._min);this._min!==P&&this._updateMin(P)}_updateMin(W){const P=this._min;this._min=W,this._isRange?this._updateMinRange({old:P,new:W}):this._updateMinNonRange(W),this._onMinMaxOrStepChange()}_updateMinRange(W){const P=this._getInput(2),se=this._getInput(1),L=P.value,Ce=se.value;se.min=W.new,P.min=Math.max(W.new,se.value),se.max=Math.min(P.max,P.value),se._updateWidthInactive(),P._updateWidthInactive(),W.newW.old?this._onTranslateXChangeBySideEffect(se,P):this._onTranslateXChangeBySideEffect(P,se),L!==P.value&&this._onValueChange(P),Ce!==se.value&&this._onValueChange(se)}_updateMaxNonRange(W){const P=this._getInput(2);if(P){const se=P.value;P.max=W,P._updateThumbUIByValue(),this._updateTrackUI(P),se!==P.value&&this._onValueChange(P)}}get step(){return this._step}set step(W){const P=(0,l.su)(W,this._step);this._step!==P&&this._updateStep(P)}_updateStep(W){this._step=W,this._isRange?this._updateStepRange():this._updateStepNonRange(),this._onMinMaxOrStepChange()}_updateStepRange(){const W=this._getInput(2),P=this._getInput(1),se=W.value,L=P.value,Ce=P.value;W.min=this._min,P.max=this._max,W.step=this._step,P.step=this._step,this._platform.SAFARI&&(W.value=W.value,P.value=P.value),W.min=Math.max(this._min,P.value),P.max=Math.min(this._max,W.value),P._updateWidthInactive(),W._updateWidthInactive(),W.value`${$}`,this._rippleRadius=24,this.startValueIndicatorText="",this.endValueIndicatorText="",this._isRange=!1,this._isRtl=!1,this._hasViewInitialized=!1,this._tickMarkTrackWidth=0,this._hasAnimation=!1,this._resizeTimer=null,this._platform=(0,S.f3M)(R.t4),this._knobRadius=8,this._thumbsOverlap=!1,this._noopAnimations="NoopAnimations"===G,this._dirChangeSubscription=this._dir.change.subscribe(()=>this._onDirChange()),this._isRtl="rtl"===this._dir.value}ngAfterViewInit(){this._platform.isBrowser&&this._updateDimensions();const W=this._getInput(2),P=this._getInput(1);this._isRange=!!W&&!!P,this._cdr.detectChanges();const se=this._getThumb(2);this._rippleRadius=se._ripple.radius,this._inputPadding=this._rippleRadius-this._knobRadius,this._inputOffset=this._knobRadius,this._isRange?this._initUIRange(W,P):this._initUINonRange(W),this._updateTrackUI(W),this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._observeHostResize(),this._cdr.detectChanges()}_initUINonRange(W){W.initProps(),W.initUI(),this._updateValueIndicatorUI(W),this._hasViewInitialized=!0,W._updateThumbUIByValue()}_initUIRange(W,P){W.initProps(),W.initUI(),P.initProps(),P.initUI(),W._updateMinMax(),P._updateMinMax(),W._updateStaticStyles(),P._updateStaticStyles(),this._updateValueIndicatorUIs(),this._hasViewInitialized=!0,W._updateThumbUIByValue(),P._updateThumbUIByValue()}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._resizeObserver?.disconnect(),this._resizeObserver=null}_onDirChange(){this._isRtl="rtl"===this._dir.value,this._isRange?this._onDirChangeRange():this._onDirChangeNonRange(),this._updateTickMarkUI()}_onDirChangeRange(){const W=this._getInput(2),P=this._getInput(1);W._setIsLeftThumb(),P._setIsLeftThumb(),W.translateX=W._calcTranslateXByValue(),P.translateX=P._calcTranslateXByValue(),W._updateStaticStyles(),P._updateStaticStyles(),W._updateWidthInactive(),P._updateWidthInactive(),W._updateThumbUIByValue(),P._updateThumbUIByValue()}_onDirChangeNonRange(){this._getInput(2)._updateThumbUIByValue()}_observeHostResize(){typeof ResizeObserver>"u"||!ResizeObserver||this._ngZone.runOutsideAngular(()=>{this._resizeObserver=new ResizeObserver(()=>{this._isActive()||(this._resizeTimer&&clearTimeout(this._resizeTimer),this._onResize())}),this._resizeObserver.observe(this._elementRef.nativeElement)})}_isActive(){return this._getThumb(1)._isActive||this._getThumb(2)._isActive}_getValue(W=2){const P=this._getInput(W);return P?P.value:this.min}_skipUpdate(){return!(!this._getInput(1)?._skipUIUpdate&&!this._getInput(2)?._skipUIUpdate)}_updateDimensions(){this._cachedWidth=this._elementRef.nativeElement.offsetWidth,this._cachedLeft=this._elementRef.nativeElement.getBoundingClientRect().left}_setTrackActiveStyles(W){const P=this._trackActive.nativeElement.style;P.left=W.left,P.right=W.right,P.transformOrigin=W.transformOrigin,P.transform=W.transform}_calcTickMarkTransform(W){return`translateX(${W*(this._tickMarkTrackWidth/(this._tickMarks.length-1))}px`}_onTranslateXChange(W){this._hasViewInitialized&&(this._updateThumbUI(W),this._updateTrackUI(W),this._updateOverlappingThumbUI(W))}_onTranslateXChangeBySideEffect(W,P){this._hasViewInitialized&&(W._updateThumbUIByValue(),P._updateThumbUIByValue())}_onValueChange(W){this._hasViewInitialized&&(this._updateValueIndicatorUI(W),this._updateTickMarkUI(),this._cdr.detectChanges())}_onMinMaxOrStepChange(){this._hasViewInitialized&&(this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.markForCheck())}_onResize(){if(this._hasViewInitialized){if(this._updateDimensions(),this._isRange){const W=this._getInput(2),P=this._getInput(1);W._updateThumbUIByValue(),P._updateThumbUIByValue(),W._updateStaticStyles(),P._updateStaticStyles(),W._updateMinMax(),P._updateMinMax(),W._updateWidthInactive(),P._updateWidthInactive()}else{const W=this._getInput(2);W&&W._updateThumbUIByValue()}this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.detectChanges()}}_areThumbsOverlapping(){const W=this._getInput(1),P=this._getInput(2);return!(!W||!P)&&P.translateX-W.translateX<20}_updateOverlappingThumbClassNames(W){const P=W.getSibling(),se=this._getThumb(W.thumbPosition);this._getThumb(P.thumbPosition)._hostElement.classList.remove("mdc-slider__thumb--top"),se._hostElement.classList.toggle("mdc-slider__thumb--top",this._thumbsOverlap)}_updateOverlappingThumbUI(W){!this._isRange||this._skipUpdate()||this._thumbsOverlap!==this._areThumbsOverlapping()&&(this._thumbsOverlap=!this._thumbsOverlap,this._updateOverlappingThumbClassNames(W))}_updateThumbUI(W){this._skipUpdate()||(this._getThumb(2===W.thumbPosition?2:1)._hostElement.style.transform=`translateX(${W.translateX}px)`)}_updateValueIndicatorUI(W){if(this._skipUpdate())return;const P=this.displayWith(W.value);if(this._hasViewInitialized?W._valuetext=P:W._hostElement.setAttribute("aria-valuetext",P),this.discrete){1===W.thumbPosition?this.startValueIndicatorText=P:this.endValueIndicatorText=P;const se=this._getThumb(W.thumbPosition);P.length<3?se._hostElement.classList.add("mdc-slider__thumb--short-value"):se._hostElement.classList.remove("mdc-slider__thumb--short-value")}}_updateValueIndicatorUIs(){const W=this._getInput(2),P=this._getInput(1);W&&this._updateValueIndicatorUI(W),P&&this._updateValueIndicatorUI(P)}_updateTickMarkTrackUI(){if(!this.showTickMarks||this._skipUpdate())return;const W=this._step&&this._step>0?this._step:1,se=(Math.floor(this.max/W)*W-this.min)/(this.max-this.min);this._tickMarkTrackWidth=this._cachedWidth*se-6}_updateTrackUI(W){this._skipUpdate()||(this._isRange?this._updateTrackUIRange(W):this._updateTrackUINonRange(W))}_updateTrackUIRange(W){const P=W.getSibling();if(!P||!this._cachedWidth)return;const se=Math.abs(P.translateX-W.translateX)/this._cachedWidth;this._setTrackActiveStyles(W._isLeftThumb&&this._cachedWidth?{left:"auto",right:this._cachedWidth-P.translateX+"px",transformOrigin:"right",transform:`scaleX(${se})`}:{left:`${P.translateX}px`,right:"auto",transformOrigin:"left",transform:`scaleX(${se})`})}_updateTrackUINonRange(W){this._setTrackActiveStyles(this._isRtl?{left:"auto",right:"0px",transformOrigin:"right",transform:`scaleX(${1-W.fillPercentage})`}:{left:"0px",right:"auto",transformOrigin:"left",transform:`scaleX(${W.fillPercentage})`})}_updateTickMarkUI(){if(!this.showTickMarks||void 0===this.step||void 0===this.min||void 0===this.max)return;const W=this.step>0?this.step:1;this._isRange?this._updateTickMarkUIRange(W):this._updateTickMarkUINonRange(W),this._isRtl&&this._tickMarks.reverse()}_updateTickMarkUINonRange(W){const P=this._getValue();let se=Math.max(Math.round((P-this.min)/W),0),L=Math.max(Math.round((this.max-P)/W),0);this._isRtl?se++:L++,this._tickMarks=Array(se).fill(0).concat(Array(L).fill(1))}_updateTickMarkUIRange(W){const P=this._getValue(),se=this._getValue(1),L=Math.max(Math.floor((se-this.min)/W),0),Ce=Math.max(Math.floor((P-se)/W)+1,0),G=Math.max(Math.floor((this.max-P)/W),0);this._tickMarks=Array(L).fill(1).concat(Array(Ce).fill(0),Array(G).fill(1))}_getInput(W){return 2===W&&this._input?this._input:this._inputs?.length?1===W?this._inputs.first:this._inputs.last:void 0}_getThumb(W){return 2===W?this._thumbs?.last:this._thumbs?.first}_setTransition(W){this._hasAnimation=!this._platform.IOS&&W&&!this._noopAnimations,this._elementRef.nativeElement.classList.toggle("mat-mdc-slider-with-animation",this._hasAnimation)}_isCursorOnSliderThumb(W,P){const se=P.width/2,$=W.clientY-(P.y+se);return Math.pow(W.clientX-(P.x+se),2)+Math.pow($,2)Ut),multi:!0},Dt={provide:le.JU,useExisting:(0,S.Gpc)(()=>kt),multi:!0};let Ut=(()=>{class Xe{get value(){return(0,l.su)(this._hostElement.value)}set value(W){const P=(0,l.su)(W).toString();this._hasSetInitialValue?this._isActive||(this._hostElement.value=P,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges(),this._slider._cdr.markForCheck()):this._initialValue=P}get translateX(){return this._slider.min>=this._slider.max?(this._translateX=0,this._translateX):(void 0===this._translateX&&(this._translateX=this._calcTranslateXByValue()),this._translateX)}set translateX(W){this._translateX=W}get min(){return(0,l.su)(this._hostElement.min)}set min(W){this._hostElement.min=(0,l.su)(W).toString(),this._cdr.detectChanges()}get max(){return(0,l.su)(this._hostElement.max)}set max(W){this._hostElement.max=(0,l.su)(W).toString(),this._cdr.detectChanges()}get step(){return(0,l.su)(this._hostElement.step)}set step(W){this._hostElement.step=(0,l.su)(W).toString(),this._cdr.detectChanges()}get disabled(){return(0,l.Ig)(this._hostElement.disabled)}set disabled(W){this._hostElement.disabled=(0,l.Ig)(W),this._cdr.detectChanges(),this._slider.disabled!==this.disabled&&(this._slider.disabled=this.disabled)}get percentage(){return this._slider.min>=this._slider.max?this._slider._isRtl?1:0:(this.value-this._slider.min)/(this._slider.max-this._slider.min)}get fillPercentage(){return this._slider._cachedWidth?0===this._translateX?0:this.translateX/this._slider._cachedWidth:this._slider._isRtl?1:0}_setIsFocused(W){this._isFocused=W}constructor(W,P,se,L){this._ngZone=W,this._elementRef=P,this._cdr=se,this._slider=L,this.valueChange=new S.vpe,this.dragStart=new S.vpe,this.dragEnd=new S.vpe,this.thumbPosition=2,this._knobRadius=8,this._isActive=!1,this._isFocused=!1,this._hasSetInitialValue=!1,this._destroyed=new ke.x,this._skipUIUpdate=!1,this._onTouchedFn=()=>{},this._isControlInitialized=!1,this._platform=(0,S.f3M)(R.t4),this._hostElement=P.nativeElement,this._ngZone.runOutsideAngular(()=>{this._hostElement.addEventListener("pointerdown",this._onPointerDown.bind(this)),this._hostElement.addEventListener("pointermove",this._onPointerMove.bind(this)),this._hostElement.addEventListener("pointerup",this._onPointerUp.bind(this))})}ngOnDestroy(){this._hostElement.removeEventListener("pointerdown",this._onPointerDown),this._hostElement.removeEventListener("pointermove",this._onPointerMove),this._hostElement.removeEventListener("pointerup",this._onPointerUp),this._destroyed.next(),this._destroyed.complete(),this.dragStart.complete(),this.dragEnd.complete()}initProps(){this._updateWidthInactive(),this.disabled!==this._slider.disabled&&(this._slider.disabled=!0),this.step=this._slider.step,this.min=this._slider.min,this.max=this._slider.max,this._initValue()}initUI(){this._updateThumbUIByValue()}_initValue(){this._hasSetInitialValue=!0,void 0===this._initialValue?this.value=this._getDefaultValue():(this._hostElement.value=this._initialValue,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges())}_getDefaultValue(){return this.min}_onBlur(){this._setIsFocused(!1),this._onTouchedFn()}_onFocus(){this._setIsFocused(!0)}_onChange(){this.valueChange.emit(this.value),this._isActive&&this._updateThumbUIByValue({withAnimation:!0})}_onInput(){this._onChangeFn?.(this.value),(this._slider.step||!this._isActive)&&this._updateThumbUIByValue({withAnimation:!0}),this._slider._onValueChange(this)}_onNgControlValueChange(){(!this._isActive||!this._isFocused)&&(this._slider._onValueChange(this),this._updateThumbUIByValue()),this._slider.disabled=this._formControl.disabled}_onPointerDown(W){if(!this.disabled&&0===W.button){if(this._platform.IOS){const P=this._slider._isCursorOnSliderThumb(W,this._slider._getThumb(this.thumbPosition)._hostElement.getBoundingClientRect());return this._isActive=P,this._updateWidthActive(),void this._slider._updateDimensions()}this._isActive=!0,this._setIsFocused(!0),this._updateWidthActive(),this._slider._updateDimensions(),this._slider.step||this._updateThumbUIByPointerEvent(W,{withAnimation:!0}),this.disabled||(this._handleValueCorrection(W),this.dragStart.emit({source:this,parent:this._slider,value:this.value}))}}_handleValueCorrection(W){this._skipUIUpdate=!0,setTimeout(()=>{this._skipUIUpdate=!1,this._fixValue(W)},0)}_fixValue(W){const P=W.clientX-this._slider._cachedLeft,se=this._slider._cachedWidth,L=0===this._slider.step?1:this._slider.step,Ce=Math.floor((this._slider.max-this._slider.min)/L),Be=Math.round((this._slider._isRtl?1-P/se:P/se)*Ce)/Ce*(this._slider.max-this._slider.min)+this._slider.min,ae=Math.round(Be/L)*L;if(ae===this.value)return this._slider._onValueChange(this),void(this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(W,{withAnimation:this._slider._hasAnimation}));this.value=ae,this.valueChange.emit(this.value),this._onChangeFn?.(this.value),this._slider._onValueChange(this),this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(W,{withAnimation:this._slider._hasAnimation})}_onPointerMove(W){!this._slider.step&&this._isActive&&this._updateThumbUIByPointerEvent(W)}_onPointerUp(){this._isActive&&(this._isActive=!1,this.dragEnd.emit({source:this,parent:this._slider,value:this.value}),setTimeout(()=>this._updateWidthInactive(),this._platform.IOS?10:0))}_clamp(W){return Math.max(Math.min(W,this._slider._cachedWidth),0)}_calcTranslateXByValue(){return this._slider._isRtl?(1-this.percentage)*this._slider._cachedWidth:this.percentage*this._slider._cachedWidth}_calcTranslateXByPointerEvent(W){return W.clientX-this._slider._cachedLeft}_updateWidthActive(){this._hostElement.style.padding=`0 ${this._slider._inputPadding}px`,this._hostElement.style.width=`calc(100% + ${this._slider._inputPadding}px)`}_updateWidthInactive(){this._hostElement.style.padding="0px",this._hostElement.style.width="calc(100% + 48px)",this._hostElement.style.left="-24px"}_updateThumbUIByValue(W){this.translateX=this._clamp(this._calcTranslateXByValue()),this._updateThumbUI(W)}_updateThumbUIByPointerEvent(W,P){this.translateX=this._clamp(this._calcTranslateXByPointerEvent(W)),this._updateThumbUI(P)}_updateThumbUI(W){this._slider._setTransition(!!W?.withAnimation),this._slider._onTranslateXChange(this)}writeValue(W){(this._isControlInitialized||null!==W)&&(this.value=W)}registerOnChange(W){this._onChangeFn=W,this._isControlInitialized=!0}registerOnTouched(W){this._onTouchedFn=W}setDisabledState(W){this.disabled=W}focus(){this._hostElement.focus()}blur(){this._hostElement.blur()}static#e=this.\u0275fac=function(P){return new(P||Xe)(S.Y36(S.R0b),S.Y36(S.SBq),S.Y36(S.sBO),S.Y36(ye))};static#t=this.\u0275dir=S.lG2({type:Xe,selectors:[["input","matSliderThumb",""]],hostAttrs:["type","range",1,"mdc-slider__input"],hostVars:1,hostBindings:function(P,se){1&P&&S.NdJ("change",function(){return se._onChange()})("input",function(){return se._onInput()})("blur",function(){return se._onBlur()})("focus",function(){return se._onFocus()}),2&P&&S.uIk("aria-valuetext",se._valuetext)},inputs:{value:"value"},outputs:{valueChange:"valueChange",dragStart:"dragStart",dragEnd:"dragEnd"},exportAs:["matSliderThumb"],features:[S._Bn([bt,{provide:Je,useExisting:Xe}])]})}return Xe})(),kt=(()=>{class Xe extends Ut{getSibling(){return this._sibling||(this._sibling=this._slider._getInput(this._isEndThumb?1:2)),this._sibling}getMinPos(){const W=this.getSibling();return!this._isLeftThumb&&W?W.translateX:0}getMaxPos(){const W=this.getSibling();return this._isLeftThumb&&W?W.translateX:this._slider._cachedWidth}_setIsLeftThumb(){this._isLeftThumb=this._isEndThumb&&this._slider._isRtl||!this._isEndThumb&&!this._slider._isRtl}constructor(W,P,se,L){super(W,se,L,P),this._cdr=L,this._isEndThumb=this._hostElement.hasAttribute("matSliderEndThumb"),this._setIsLeftThumb(),this.thumbPosition=this._isEndThumb?2:1}_getDefaultValue(){return this._isEndThumb&&this._slider._isRange?this.max:this.min}_onInput(){super._onInput(),this._updateSibling(),this._isActive||this._updateWidthInactive()}_onNgControlValueChange(){super._onNgControlValueChange(),this.getSibling()?._updateMinMax()}_onPointerDown(W){this.disabled||0!==W.button||(this._sibling&&(this._sibling._updateWidthActive(),this._sibling._hostElement.classList.add("mat-mdc-slider-input-no-pointer-events")),super._onPointerDown(W))}_onPointerUp(){super._onPointerUp(),this._sibling&&setTimeout(()=>{this._sibling._updateWidthInactive(),this._sibling._hostElement.classList.remove("mat-mdc-slider-input-no-pointer-events")})}_onPointerMove(W){super._onPointerMove(W),!this._slider.step&&this._isActive&&this._updateSibling()}_fixValue(W){super._fixValue(W),this._sibling?._updateMinMax()}_clamp(W){return Math.max(Math.min(W,this.getMaxPos()),this.getMinPos())}_updateMinMax(){const W=this.getSibling();W&&(this._isEndThumb?(this.min=Math.max(this._slider.min,W.value),this.max=this._slider.max):(this.min=this._slider.min,this.max=Math.min(this._slider.max,W.value)))}_updateWidthActive(){const W=2*this._slider._rippleRadius-2*this._slider._inputPadding;this._hostElement.style.width=`${(this._slider._cachedWidth+this._slider._inputPadding-W)*(this._slider.min{class Xe{static#e=this.\u0275fac=function(P){return new(P||Xe)};static#t=this.\u0275mod=S.oAB({type:Xe});static#n=this.\u0275inj=S.cJS({imports:[te.BQ,Se.ez,te.si]})}return Xe})()},4104:(Mt,je,g)=>{g.d(je,{Nh:()=>Pe,SP:()=>Ke,Vc:()=>tt,uD:()=>Gt,uX:()=>Vt});var n=g(6814),l=g(5879),R=g(3680),S=g(8484),te=g(7131),Se=g(4191),le=g(9388),ke=g(7394),ue=g(8645),ie=g(2438),we=g(2096),fe=g(3019),me=g(6232),Te=g(5592),Le=g(4825),Ue=g(7921),be=g(3997),ye=g(9773),Je=g(8180),ve=g(4664),H=g(836),xe=g(2181),oe=g(6825),Ie=g(2495),Re=g(6672),$e=g(2831),ft=g(6028);function bt(ee,z){}const Dt=function(ee){return{animationDuration:ee}},Ut=function(ee,z){return{value:ee,params:z}};function kt(ee,z){1&ee&&l.Hsn(0)}const an=["*"],Xe=["tabListContainer"],Ct=["tabList"],W=["tabListInner"],P=["nextPaginator"],se=["previousPaginator"],L=["tabBodyWrapper"],Ce=["tabHeader"];function G(ee,z){}function $(ee,z){if(1&ee&&l.YNc(0,G,0,0,"ng-template",14),2&ee){const D=l.oxw().$implicit;l.Q6J("cdkPortalOutlet",D.templateLabel)}}function Be(ee,z){if(1&ee&&l._uU(0),2&ee){const D=l.oxw().$implicit;l.Oqu(D.textLabel)}}function ae(ee,z){if(1&ee){const D=l.EpF();l.TgZ(0,"div",6,7),l.NdJ("click",function(){const he=l.CHM(D),X=he.$implicit,ne=he.index,Oe=l.oxw(),nt=l.MAs(1);return l.KtG(Oe._handleClick(X,nt,ne))})("cdkFocusChange",function(he){const ne=l.CHM(D).index,Oe=l.oxw();return l.KtG(Oe._tabFocusChanged(he,ne))}),l._UZ(2,"span",8)(3,"div",9),l.TgZ(4,"span",10)(5,"span",11),l.YNc(6,$,1,1,"ng-template",12),l.YNc(7,Be,1,1,"ng-template",null,13,l.W1O),l.qZA()()()}if(2&ee){const D=z.$implicit,B=z.index,he=l.MAs(1),X=l.MAs(8),ne=l.oxw();l.ekj("mdc-tab--active",ne.selectedIndex===B),l.Q6J("id",ne._getTabLabelId(B))("ngClass",D.labelClass)("disabled",D.disabled)("fitInkBarToContent",ne.fitInkBarToContent),l.uIk("tabIndex",ne._getTabIndex(B))("aria-posinset",B+1)("aria-setsize",ne._tabs.length)("aria-controls",ne._getTabContentId(B))("aria-selected",ne.selectedIndex===B)("aria-label",D.ariaLabel||null)("aria-labelledby",!D.ariaLabel&&D.ariaLabelledby?D.ariaLabelledby:null),l.xp6(3),l.Q6J("matRippleTrigger",he)("matRippleDisabled",D.disabled||ne.disableRipple),l.xp6(3),l.Q6J("ngIf",D.templateLabel)("ngIfElse",X)}}function He(ee,z){if(1&ee){const D=l.EpF();l.TgZ(0,"mat-tab-body",15),l.NdJ("_onCentered",function(){l.CHM(D);const he=l.oxw();return l.KtG(he._removeTabBodyWrapperHeight())})("_onCentering",function(he){l.CHM(D);const X=l.oxw();return l.KtG(X._setTabBodyWrapperHeight(he))}),l.qZA()}if(2&ee){const D=z.$implicit,B=z.index,he=l.oxw();l.ekj("mat-mdc-tab-body-active",he.selectedIndex===B),l.Q6J("id",he._getTabContentId(B))("ngClass",D.bodyClass)("content",D.content)("position",D.position)("origin",D.origin)("animationDuration",he.animationDuration)("preserveContent",he.preserveContent),l.uIk("tabindex",null!=he.contentTabIndex&&he.selectedIndex===B?he.contentTabIndex:null)("aria-labelledby",he._getTabLabelId(B))("aria-hidden",he.selectedIndex!==B)}}const qe={translateTab:(0,oe.X$)("translateTab",[(0,oe.SB)("center, void, left-origin-center, right-origin-center",(0,oe.oB)({transform:"none"})),(0,oe.SB)("left",(0,oe.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,oe.SB)("right",(0,oe.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,oe.eR)("* => left, * => right, left => center, right => center",(0,oe.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,oe.eR)("void => left-origin-center",[(0,oe.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,oe.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,oe.eR)("void => right-origin-center",[(0,oe.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,oe.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let It=(()=>{class ee extends S.Pl{constructor(D,B,he,X){super(D,B,X),this._host=he,this._centeringSub=ke.w0.EMPTY,this._leavingSub=ke.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,Ue.O)(this._host._isCenterPosition(this._host._position))).subscribe(D=>{D&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static#e=this.\u0275fac=function(B){return new(B||ee)(l.Y36(l._Vd),l.Y36(l.s_b),l.Y36((0,l.Gpc)(()=>ct)),l.Y36(n.K0))};static#t=this.\u0275dir=l.lG2({type:ee,selectors:[["","matTabBodyHost",""]],features:[l.qOj]})}return ee})(),Ye=(()=>{class ee{set position(D){this._positionIndex=D,this._computePositionAnimationState()}constructor(D,B,he){this._elementRef=D,this._dir=B,this._dirChangeSubscription=ke.w0.EMPTY,this._translateTabComplete=new ue.x,this._onCentering=new l.vpe,this._beforeCentering=new l.vpe,this._afterLeavingCenter=new l.vpe,this._onCentered=new l.vpe(!0),this.animationDuration="500ms",this.preserveContent=!1,B&&(this._dirChangeSubscription=B.change.subscribe(X=>{this._computePositionAnimationState(X),he.markForCheck()})),this._translateTabComplete.pipe((0,be.x)((X,ne)=>X.fromState===ne.fromState&&X.toState===ne.toState)).subscribe(X=>{this._isCenterPosition(X.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(X.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(D){const B=this._isCenterPosition(D.toState);this._beforeCentering.emit(B),B&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(D){return"center"==D||"left-origin-center"==D||"right-origin-center"==D}_computePositionAnimationState(D=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==D?"left":"right":this._positionIndex>0?"ltr"==D?"right":"left":"center"}_computePositionFromOrigin(D){const B=this._getLayoutDirection();return"ltr"==B&&D<=0||"rtl"==B&&D>0?"left-origin-center":"right-origin-center"}static#e=this.\u0275fac=function(B){return new(B||ee)(l.Y36(l.SBq),l.Y36(le.Is,8),l.Y36(l.sBO))};static#t=this.\u0275dir=l.lG2({type:ee,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}})}return ee})(),ct=(()=>{class ee extends Ye{constructor(D,B,he){super(D,B,he)}static#e=this.\u0275fac=function(B){return new(B||ee)(l.Y36(l.SBq),l.Y36(le.Is,8),l.Y36(l.sBO))};static#t=this.\u0275cmp=l.Xpm({type:ee,selectors:[["mat-tab-body"]],viewQuery:function(B,he){if(1&B&&l.Gf(S.Pl,5),2&B){let X;l.iGM(X=l.CRH())&&(he._portalHost=X.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[l.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(B,he){1&B&&(l.TgZ(0,"div",0,1),l.NdJ("@translateTab.start",function(ne){return he._onTranslateTabStarted(ne)})("@translateTab.done",function(ne){return he._translateTabComplete.next(ne)}),l.YNc(2,bt,0,0,"ng-template",2),l.qZA()),2&B&&l.Q6J("@translateTab",l.WLB(3,Ut,he._position,l.VKq(1,Dt,he.animationDuration)))},dependencies:[It],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[qe.translateTab]}})}return ee})();const Ee=new l.OlP("MatTabContent");let tt=(()=>{class ee{constructor(D){this.template=D}static#e=this.\u0275fac=function(B){return new(B||ee)(l.Y36(l.Rgc))};static#t=this.\u0275dir=l.lG2({type:ee,selectors:[["","matTabContent",""]],features:[l._Bn([{provide:Ee,useExisting:ee}])]})}return ee})();const dt=new l.OlP("MatTabLabel"),jt=new l.OlP("MAT_TAB");let Gt=(()=>{class ee extends S.ig{constructor(D,B,he){super(D,B),this._closestTab=he}static#e=this.\u0275fac=function(B){return new(B||ee)(l.Y36(l.Rgc),l.Y36(l.s_b),l.Y36(jt,8))};static#t=this.\u0275dir=l.lG2({type:ee,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[l._Bn([{provide:dt,useExisting:ee}]),l.qOj]})}return ee})();const cn="mdc-tab-indicator--active",Lt="mdc-tab-indicator--no-transition";class yn{constructor(z){this._items=z}hide(){this._items.forEach(z=>z.deactivateInkBar())}alignToElement(z){const D=this._items.find(he=>he.elementRef.nativeElement===z),B=this._currentItem;if(D!==B&&(B?.deactivateInkBar(),D)){const he=B?.elementRef.nativeElement.getBoundingClientRect?.();D.activateInkBar(he),this._currentItem=D}}}function et(ee){return class extends ee{constructor(...z){super(...z),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(z){const D=(0,Ie.Ig)(z);this._fitToContent!==D&&(this._fitToContent=D,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(z){const D=this.elementRef.nativeElement;if(!z||!D.getBoundingClientRect||!this._inkBarContentElement)return void D.classList.add(cn);const B=D.getBoundingClientRect(),he=z.width/B.width,X=z.left-B.left;D.classList.add(Lt),this._inkBarContentElement.style.setProperty("transform",`translateX(${X}px) scaleX(${he})`),D.getBoundingClientRect(),D.classList.remove(Lt),D.classList.add(cn),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(cn)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const z=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=z.createElement("span"),this._inkBarContentElement=z.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}const Fe=(0,R.Id)(class{}),st=et((()=>{class ee extends Fe{constructor(D){super(),this.elementRef=D}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static#e=this.\u0275fac=function(B){return new(B||ee)(l.Y36(l.SBq))};static#t=this.\u0275dir=l.lG2({type:ee,features:[l.qOj]})}return ee})());let lt=(()=>{class ee extends st{static#e=this.\u0275fac=function(){let D;return function(he){return(D||(D=l.n5z(ee)))(he||ee)}}();static#t=this.\u0275dir=l.lG2({type:ee,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(B,he){2&B&&(l.uIk("aria-disabled",!!he.disabled),l.ekj("mat-mdc-tab-disabled",he.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[l.qOj]})}return ee})();const yt=(0,R.Id)(class{}),Jt=new l.OlP("MAT_TAB_GROUP");let Bt=(()=>{class ee extends yt{get content(){return this._contentPortal}constructor(D,B){super(),this._viewContainerRef=D,this._closestTabGroup=B,this.textLabel="",this._contentPortal=null,this._stateChanges=new ue.x,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(D){(D.hasOwnProperty("textLabel")||D.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new S.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(D){D&&D._closestTab===this&&(this._templateLabel=D)}static#e=this.\u0275fac=function(B){return new(B||ee)(l.Y36(l.s_b),l.Y36(Jt,8))};static#t=this.\u0275dir=l.lG2({type:ee,viewQuery:function(B,he){if(1&B&&l.Gf(l.Rgc,7),2&B){let X;l.iGM(X=l.CRH())&&(he._implicitContent=X.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[l.qOj,l.TTD]})}return ee})(),Vt=(()=>{class ee extends Bt{constructor(){super(...arguments),this._explicitContent=void 0}get templateLabel(){return this._templateLabel}set templateLabel(D){this._setTemplateLabelInput(D)}static#e=this.\u0275fac=function(){let D;return function(he){return(D||(D=l.n5z(ee)))(he||ee)}}();static#t=this.\u0275cmp=l.Xpm({type:ee,selectors:[["mat-tab"]],contentQueries:function(B,he,X){if(1&B&&(l.Suo(X,tt,7,l.Rgc),l.Suo(X,Gt,5)),2&B){let ne;l.iGM(ne=l.CRH())&&(he._explicitContent=ne.first),l.iGM(ne=l.CRH())&&(he.templateLabel=ne.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[l._Bn([{provide:jt,useExisting:ee}]),l.qOj],ngContentSelectors:an,decls:1,vars:0,template:function(B,he){1&B&&(l.F$t(),l.YNc(0,kt,1,0,"ng-template"))},encapsulation:2})}return ee})();const Ft=(0,$e.i$)({passive:!0});let nn=(()=>{class ee{get disablePagination(){return this._disablePagination}set disablePagination(D){this._disablePagination=(0,Ie.Ig)(D)}get selectedIndex(){return this._selectedIndex}set selectedIndex(D){D=(0,Ie.su)(D),this._selectedIndex!=D&&(this._selectedIndexChanged=!0,this._selectedIndex=D,this._keyManager&&this._keyManager.updateActiveItem(D))}constructor(D,B,he,X,ne,Oe,nt){this._elementRef=D,this._changeDetectorRef=B,this._viewportRuler=he,this._dir=X,this._ngZone=ne,this._platform=Oe,this._animationMode=nt,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new ue.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new ue.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new l.vpe,this.indexFocused=new l.vpe,ne.runOutsideAngular(()=>{(0,ie.R)(D.nativeElement,"mouseleave").pipe((0,ye.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,ie.R)(this._previousPaginator.nativeElement,"touchstart",Ft).pipe((0,ye.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,ie.R)(this._nextPaginator.nativeElement,"touchstart",Ft).pipe((0,ye.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const D=this._dir?this._dir.change:(0,we.of)("ltr"),B=this._viewportRuler.change(150),he=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Se.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,Je.q)(1)).subscribe(he),(0,fe.T)(D,B,this._items.changes,this._itemsResized()).pipe((0,ye.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),he()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(X=>{this.indexFocused.emit(X),this._setTabFocus(X)})}_itemsResized(){return"function"!=typeof ResizeObserver?me.E:this._items.changes.pipe((0,Ue.O)(this._items),(0,ve.w)(D=>new Te.y(B=>this._ngZone.runOutsideAngular(()=>{const he=new ResizeObserver(X=>B.next(X));return D.forEach(X=>he.observe(X.elementRef.nativeElement)),()=>{he.disconnect()}}))),(0,H.T)(1),(0,xe.h)(D=>D.some(B=>B.contentRect.width>0&&B.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(D){if(!(0,ft.Vb)(D))switch(D.keyCode){case ft.K5:case ft.L_:if(this.focusIndex!==this.selectedIndex){const B=this._items.get(this.focusIndex);B&&!B.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(D))}break;default:this._keyManager.onKeydown(D)}}_onContentChanges(){const D=this._elementRef.nativeElement.textContent;D!==this._currentTextContent&&(this._currentTextContent=D||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(D){!this._isValidIndex(D)||this.focusIndex===D||!this._keyManager||this._keyManager.setActiveItem(D)}_isValidIndex(D){return!this._items||!!this._items.toArray()[D]}_setTabFocus(D){if(this._showPaginationControls&&this._scrollToLabel(D),this._items&&this._items.length){this._items.toArray()[D].focus();const B=this._tabListContainer.nativeElement;B.scrollLeft="ltr"==this._getLayoutDirection()?0:B.scrollWidth-B.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const D=this.scrollDistance,B="ltr"===this._getLayoutDirection()?-D:D;this._tabList.nativeElement.style.transform=`translateX(${Math.round(B)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(D){this._scrollTo(D)}_scrollHeader(D){return this._scrollTo(this._scrollDistance+("before"==D?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(D){this._stopInterval(),this._scrollHeader(D)}_scrollToLabel(D){if(this.disablePagination)return;const B=this._items?this._items.toArray()[D]:null;if(!B)return;const he=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:X,offsetWidth:ne}=B.elementRef.nativeElement;let Oe,nt;"ltr"==this._getLayoutDirection()?(Oe=X,nt=Oe+ne):(nt=this._tabListInner.nativeElement.offsetWidth-X,Oe=nt-ne);const Et=this.scrollDistance,Ot=this.scrollDistance+he;OeOt&&(this.scrollDistance+=Math.min(nt-Ot,Oe-Et))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const D=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;D||(this.scrollDistance=0),D!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=D}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const D=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,B=D?D.elementRef.nativeElement:null;B?this._inkBar.alignToElement(B):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(D,B){B&&null!=B.button&&0!==B.button||(this._stopInterval(),(0,Le.H)(650,100).pipe((0,ye.R)((0,fe.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:he,distance:X}=this._scrollHeader(D);(0===X||X>=he)&&this._stopInterval()}))}_scrollTo(D){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const B=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(B,D)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:B,distance:this._scrollDistance}}static#e=this.\u0275fac=function(B){return new(B||ee)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(Re.rL),l.Y36(le.Is,8),l.Y36(l.R0b),l.Y36($e.t4),l.Y36(l.QbO,8))};static#t=this.\u0275dir=l.lG2({type:ee,inputs:{disablePagination:"disablePagination"}})}return ee})(),pn=(()=>{class ee extends nn{get disableRipple(){return this._disableRipple}set disableRipple(D){this._disableRipple=(0,Ie.Ig)(D)}constructor(D,B,he,X,ne,Oe,nt){super(D,B,he,X,ne,Oe,nt),this._disableRipple=!1}_itemSelected(D){D.preventDefault()}static#e=this.\u0275fac=function(B){return new(B||ee)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(Re.rL),l.Y36(le.Is,8),l.Y36(l.R0b),l.Y36($e.t4),l.Y36(l.QbO,8))};static#t=this.\u0275dir=l.lG2({type:ee,inputs:{disableRipple:"disableRipple"},features:[l.qOj]})}return ee})(),bn=(()=>{class ee extends pn{constructor(D,B,he,X,ne,Oe,nt){super(D,B,he,X,ne,Oe,nt)}ngAfterContentInit(){this._inkBar=new yn(this._items),super.ngAfterContentInit()}static#e=this.\u0275fac=function(B){return new(B||ee)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(Re.rL),l.Y36(le.Is,8),l.Y36(l.R0b),l.Y36($e.t4),l.Y36(l.QbO,8))};static#t=this.\u0275cmp=l.Xpm({type:ee,selectors:[["mat-tab-header"]],contentQueries:function(B,he,X){if(1&B&&l.Suo(X,lt,4),2&B){let ne;l.iGM(ne=l.CRH())&&(he._items=ne)}},viewQuery:function(B,he){if(1&B&&(l.Gf(Xe,7),l.Gf(Ct,7),l.Gf(W,7),l.Gf(P,5),l.Gf(se,5)),2&B){let X;l.iGM(X=l.CRH())&&(he._tabListContainer=X.first),l.iGM(X=l.CRH())&&(he._tabList=X.first),l.iGM(X=l.CRH())&&(he._tabListInner=X.first),l.iGM(X=l.CRH())&&(he._nextPaginator=X.first),l.iGM(X=l.CRH())&&(he._previousPaginator=X.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(B,he){2&B&&l.ekj("mat-mdc-tab-header-pagination-controls-enabled",he._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==he._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[l.qOj],ngContentSelectors:an,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(B,he){1&B&&(l.F$t(),l.TgZ(0,"button",0,1),l.NdJ("click",function(){return he._handlePaginatorClick("before")})("mousedown",function(ne){return he._handlePaginatorPress("before",ne)})("touchend",function(){return he._stopInterval()}),l._UZ(2,"div",2),l.qZA(),l.TgZ(3,"div",3,4),l.NdJ("keydown",function(ne){return he._handleKeydown(ne)}),l.TgZ(5,"div",5,6),l.NdJ("cdkObserveContent",function(){return he._onContentChanges()}),l.TgZ(7,"div",7,8),l.Hsn(9),l.qZA()()(),l.TgZ(10,"button",9,10),l.NdJ("mousedown",function(ne){return he._handlePaginatorPress("after",ne)})("click",function(){return he._handlePaginatorClick("after")})("touchend",function(){return he._stopInterval()}),l._UZ(12,"div",2),l.qZA()),2&B&&(l.ekj("mat-mdc-tab-header-pagination-disabled",he._disableScrollBefore),l.Q6J("matRippleDisabled",he._disableScrollBefore||he.disableRipple)("disabled",he._disableScrollBefore||null),l.xp6(3),l.ekj("_mat-animation-noopable","NoopAnimations"===he._animationMode),l.xp6(7),l.ekj("mat-mdc-tab-header-pagination-disabled",he._disableScrollAfter),l.Q6J("matRippleDisabled",he._disableScrollAfter||he.disableRipple)("disabled",he._disableScrollAfter||null))},dependencies:[R.wG,te.wD],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2})}return ee})();const In=new l.OlP("MAT_TABS_CONFIG");let Tn=0;const at=(0,R.pj)((0,R.Kr)(class{constructor(ee){this._elementRef=ee}}),"primary");let Nt=(()=>{class ee extends at{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(D){this._dynamicHeight=(0,Ie.Ig)(D)}get selectedIndex(){return this._selectedIndex}set selectedIndex(D){this._indexToSelect=(0,Ie.su)(D,null)}get animationDuration(){return this._animationDuration}set animationDuration(D){this._animationDuration=/^\d+$/.test(D+"")?D+"ms":D}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(D){this._contentTabIndex=(0,Ie.su)(D,null)}get disablePagination(){return this._disablePagination}set disablePagination(D){this._disablePagination=(0,Ie.Ig)(D)}get preserveContent(){return this._preserveContent}set preserveContent(D){this._preserveContent=(0,Ie.Ig)(D)}get backgroundColor(){return this._backgroundColor}set backgroundColor(D){const B=this._elementRef.nativeElement.classList;B.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),D&&B.add("mat-tabs-with-background",`mat-background-${D}`),this._backgroundColor=D}constructor(D,B,he,X){super(D),this._changeDetectorRef=B,this._animationMode=X,this._tabs=new l.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=ke.w0.EMPTY,this._tabLabelSubscription=ke.w0.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new l.vpe,this.focusChange=new l.vpe,this.animationDone=new l.vpe,this.selectedTabChange=new l.vpe(!0),this._groupId=Tn++,this.animationDuration=he&&he.animationDuration?he.animationDuration:"500ms",this.disablePagination=!(!he||null==he.disablePagination)&&he.disablePagination,this.dynamicHeight=!(!he||null==he.dynamicHeight)&&he.dynamicHeight,this.contentTabIndex=he?.contentTabIndex??null,this.preserveContent=!!he?.preserveContent}ngAfterContentChecked(){const D=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=D){const B=null==this._selectedIndex;if(!B){this.selectedTabChange.emit(this._createChangeEvent(D));const he=this._tabBodyWrapper.nativeElement;he.style.minHeight=he.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((he,X)=>he.isActive=X===D),B||(this.selectedIndexChange.emit(D),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((B,he)=>{B.position=he-D,null!=this._selectedIndex&&0==B.position&&!B.origin&&(B.origin=D-this._selectedIndex)}),this._selectedIndex!==D&&(this._selectedIndex=D,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const D=this._clampTabIndex(this._indexToSelect);if(D===this._selectedIndex){const B=this._tabs.toArray();let he;for(let X=0;X{B[D].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(D))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,Ue.O)(this._allTabs)).subscribe(D=>{this._tabs.reset(D.filter(B=>B._closestTabGroup===this||!B._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(D){const B=this._tabHeader;B&&(B.focusIndex=D)}_focusChanged(D){this._lastFocusedTabIndex=D,this.focusChange.emit(this._createChangeEvent(D))}_createChangeEvent(D){const B=new mt;return B.index=D,this._tabs&&this._tabs.length&&(B.tab=this._tabs.toArray()[D]),B}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,fe.T)(...this._tabs.map(D=>D._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(D){return Math.min(this._tabs.length-1,Math.max(D||0,0))}_getTabLabelId(D){return`mat-tab-label-${this._groupId}-${D}`}_getTabContentId(D){return`mat-tab-content-${this._groupId}-${D}`}_setTabBodyWrapperHeight(D){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const B=this._tabBodyWrapper.nativeElement;B.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(B.style.height=D+"px")}_removeTabBodyWrapperHeight(){const D=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=D.clientHeight,D.style.height="",this.animationDone.emit()}_handleClick(D,B,he){B.focusIndex=he,D.disabled||(this.selectedIndex=he)}_getTabIndex(D){return D===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(D,B){D&&"mouse"!==D&&"touch"!==D&&(this._tabHeader.focusIndex=B)}static#e=this.\u0275fac=function(B){return new(B||ee)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(In,8),l.Y36(l.QbO,8))};static#t=this.\u0275dir=l.lG2({type:ee,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[l.qOj]})}return ee})(),Ke=(()=>{class ee extends Nt{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(D){this._fitInkBarToContent=(0,Ie.Ig)(D),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(D){this._stretchTabs=(0,Ie.Ig)(D)}constructor(D,B,he,X){super(D,B,he,X),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!he||null==he.fitInkBarToContent)&&he.fitInkBarToContent,this.stretchTabs=!he||null==he.stretchTabs||he.stretchTabs}static#e=this.\u0275fac=function(B){return new(B||ee)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(In,8),l.Y36(l.QbO,8))};static#t=this.\u0275cmp=l.Xpm({type:ee,selectors:[["mat-tab-group"]],contentQueries:function(B,he,X){if(1&B&&l.Suo(X,Vt,5),2&B){let ne;l.iGM(ne=l.CRH())&&(he._allTabs=ne)}},viewQuery:function(B,he){if(1&B&&(l.Gf(L,5),l.Gf(Ce,5)),2&B){let X;l.iGM(X=l.CRH())&&(he._tabBodyWrapper=X.first),l.iGM(X=l.CRH())&&(he._tabHeader=X.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-tab-group"],hostVars:8,hostBindings:function(B,he){2&B&&(l.Udp("--mat-tab-animation-duration",he.animationDuration),l.ekj("mat-mdc-tab-group-dynamic-height",he.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===he.headerPosition)("mat-mdc-tab-group-stretch-tabs",he.stretchTabs))},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[l._Bn([{provide:Jt,useExisting:ee}]),l.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(B,he){1&B&&(l.TgZ(0,"mat-tab-header",0,1),l.NdJ("indexFocused",function(ne){return he._focusChanged(ne)})("selectFocusedIndex",function(ne){return he.selectedIndex=ne}),l.YNc(2,ae,9,17,"div",2),l.qZA(),l.TgZ(3,"div",3,4),l.YNc(5,He,1,12,"mat-tab-body",5),l.qZA()),2&B&&(l.Q6J("selectedIndex",he.selectedIndex||0)("disableRipple",he.disableRipple)("disablePagination",he.disablePagination),l.xp6(2),l.Q6J("ngForOf",he._tabs),l.xp6(1),l.ekj("_mat-animation-noopable","NoopAnimations"===he._animationMode),l.xp6(2),l.Q6J("ngForOf",he._tabs))},dependencies:[n.mk,n.sg,n.O5,S.Pl,R.wG,Se.kH,ct,lt,bn],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}return ee})();class mt{}let Pe=(()=>{class ee{static#e=this.\u0275fac=function(B){return new(B||ee)};static#t=this.\u0275mod=l.oAB({type:ee});static#n=this.\u0275inj=l.cJS({imports:[n.ez,R.BQ,S.eL,R.si,te.Q8,Se.rt,R.BQ]})}return ee})()},2596:(Mt,je,g)=>{g.d(je,{AV:()=>se,gM:()=>Xe});var n=g(9773),l=g(8180),R=g(2495),S=g(6028),te=g(5879),Se=g(6814),le=g(2831),ke=g(4191),ue=g(9388),ie=g(3651),we=g(6672),fe=g(8484),me=g(8645),Le=(g(6825),g(3680));const Ue=["tooltip"],Je=new te.OlP("mat-tooltip-scroll-strategy"),H={provide:Je,deps:[ie.aV],useFactory:function ve(L){return()=>L.scrollStrategies.reposition({scrollThrottle:20})}},oe=new te.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function xe(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),Re="tooltip-panel",$e=(0,le.i$)({passive:!0});let an=(()=>{class L{get position(){return this._position}set position(G){G!==this._position&&(this._position=G,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(G){this._positionAtOrigin=(0,R.Ig)(G),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(G){this._disabled=(0,R.Ig)(G),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(G){this._showDelay=(0,R.su)(G)}get hideDelay(){return this._hideDelay}set hideDelay(G){this._hideDelay=(0,R.su)(G),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(G){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=G?String(G).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(G){this._tooltipClass=G,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(G,$,Be,ae,He,Ze,it,qe,It,Ye,ct,Ee){this._overlay=G,this._elementRef=$,this._scrollDispatcher=Be,this._viewContainerRef=ae,this._ngZone=He,this._platform=Ze,this._ariaDescriber=it,this._focusMonitor=qe,this._dir=Ye,this._defaultOptions=ct,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new me.x,this._scrollStrategy=It,this._document=Ee,ct&&(this._showDelay=ct.showDelay,this._hideDelay=ct.hideDelay,ct.position&&(this.position=ct.position),ct.positionAtOrigin&&(this.positionAtOrigin=ct.positionAtOrigin),ct.touchGestures&&(this.touchGestures=ct.touchGestures)),Ye.change.pipe((0,n.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,n.R)(this._destroyed)).subscribe(G=>{G?"keyboard"===G&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const G=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([$,Be])=>{G.removeEventListener($,Be,$e)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(G,this.message,"tooltip"),this._focusMonitor.stopMonitoring(G)}show(G=this.showDelay,$){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const Be=this._createOverlay($);this._detach(),this._portal=this._portal||new fe.C5(this._tooltipComponent,this._viewContainerRef);const ae=this._tooltipInstance=Be.attach(this._portal).instance;ae._triggerElement=this._elementRef.nativeElement,ae._mouseLeaveHideDelay=this._hideDelay,ae.afterHidden().pipe((0,n.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),ae.show(G)}hide(G=this.hideDelay){const $=this._tooltipInstance;$&&($.isVisible()?$.hide(G):($._cancelPendingAnimations(),this._detach()))}toggle(G){this._isTooltipVisible()?this.hide():this.show(void 0,G)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(G){if(this._overlayRef){const ae=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!G)&&ae._origin instanceof te.SBq)return this._overlayRef;this._detach()}const $=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),Be=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&G||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers($);return Be.positionChanges.pipe((0,n.R)(this._destroyed)).subscribe(ae=>{this._updateCurrentPositionClass(ae.connectionPair),this._tooltipInstance&&ae.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:Be,panelClass:`${this._cssClassPrefix}-${Re}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,n.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,n.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,n.R)(this._destroyed)).subscribe(ae=>{this._isTooltipVisible()&&ae.keyCode===S.hY&&!(0,S.Vb)(ae)&&(ae.preventDefault(),ae.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(G){const $=G.getConfig().positionStrategy,Be=this._getOrigin(),ae=this._getOverlayPosition();$.withPositions([this._addOffset({...Be.main,...ae.main}),this._addOffset({...Be.fallback,...ae.fallback})])}_addOffset(G){return G}_getOrigin(){const G=!this._dir||"ltr"==this._dir.value,$=this.position;let Be;"above"==$||"below"==$?Be={originX:"center",originY:"above"==$?"top":"bottom"}:"before"==$||"left"==$&&G||"right"==$&&!G?Be={originX:"start",originY:"center"}:("after"==$||"right"==$&&G||"left"==$&&!G)&&(Be={originX:"end",originY:"center"});const{x:ae,y:He}=this._invertPosition(Be.originX,Be.originY);return{main:Be,fallback:{originX:ae,originY:He}}}_getOverlayPosition(){const G=!this._dir||"ltr"==this._dir.value,$=this.position;let Be;"above"==$?Be={overlayX:"center",overlayY:"bottom"}:"below"==$?Be={overlayX:"center",overlayY:"top"}:"before"==$||"left"==$&&G||"right"==$&&!G?Be={overlayX:"end",overlayY:"center"}:("after"==$||"right"==$&&G||"left"==$&&!G)&&(Be={overlayX:"start",overlayY:"center"});const{x:ae,y:He}=this._invertPosition(Be.overlayX,Be.overlayY);return{main:Be,fallback:{overlayX:ae,overlayY:He}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,l.q)(1),(0,n.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(G){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=G,this._tooltipInstance._markForCheck())}_invertPosition(G,$){return"above"===this.position||"below"===this.position?"top"===$?$="bottom":"bottom"===$&&($="top"):"end"===G?G="start":"start"===G&&(G="end"),{x:G,y:$}}_updateCurrentPositionClass(G){const{overlayY:$,originX:Be,originY:ae}=G;let He;if(He="center"===$?this._dir&&"rtl"===this._dir.value?"end"===Be?"left":"right":"start"===Be?"left":"right":"bottom"===$&&"top"===ae?"above":"below",He!==this._currentPosition){const Ze=this._overlayRef;if(Ze){const it=`${this._cssClassPrefix}-${Re}-`;Ze.removePanelClass(it+this._currentPosition),Ze.addPanelClass(it+He)}this._currentPosition=He}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",G=>{let $;this._setupPointerExitEventsIfNeeded(),void 0!==G.x&&void 0!==G.y&&($=G),this.show(void 0,$)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",G=>{const $=G.targetTouches?.[0],Be=$?{x:$.clientX,y:$.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,Be),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const G=[];if(this._platformSupportsMouseEvents())G.push(["mouseleave",$=>{const Be=$.relatedTarget;(!Be||!this._overlayRef?.overlayElement.contains(Be))&&this.hide()}],["wheel",$=>this._wheelListener($)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const $=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};G.push(["touchend",$],["touchcancel",$])}this._addListeners(G),this._passiveListeners.push(...G)}_addListeners(G){G.forEach(([$,Be])=>{this._elementRef.nativeElement.addEventListener($,Be,$e)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(G){if(this._isTooltipVisible()){const $=this._document.elementFromPoint(G.clientX,G.clientY),Be=this._elementRef.nativeElement;$!==Be&&!Be.contains($)&&this.hide()}}_disableNativeGesturesIfNecessary(){const G=this.touchGestures;if("off"!==G){const $=this._elementRef.nativeElement,Be=$.style;("on"===G||"INPUT"!==$.nodeName&&"TEXTAREA"!==$.nodeName)&&(Be.userSelect=Be.msUserSelect=Be.webkitUserSelect=Be.MozUserSelect="none"),("on"===G||!$.draggable)&&(Be.webkitUserDrag="none"),Be.touchAction="none",Be.webkitTapHighlightColor="transparent"}}static#e=this.\u0275fac=function($){te.$Z()};static#t=this.\u0275dir=te.lG2({type:L,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}})}return L})(),Xe=(()=>{class L extends an{constructor(G,$,Be,ae,He,Ze,it,qe,It,Ye,ct,Ee){super(G,$,Be,ae,He,Ze,it,qe,It,Ye,ct,Ee),this._tooltipComponent=W,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(G){const Be=!this._dir||"ltr"==this._dir.value;return"top"===G.originY?G.offsetY=-8:"bottom"===G.originY?G.offsetY=8:"start"===G.originX?G.offsetX=Be?-8:8:"end"===G.originX&&(G.offsetX=Be?8:-8),G}static#e=this.\u0275fac=function($){return new($||L)(te.Y36(ie.aV),te.Y36(te.SBq),te.Y36(we.mF),te.Y36(te.s_b),te.Y36(te.R0b),te.Y36(le.t4),te.Y36(ke.$s),te.Y36(ke.tE),te.Y36(Je),te.Y36(ue.Is,8),te.Y36(oe,8),te.Y36(Se.K0))};static#t=this.\u0275dir=te.lG2({type:L,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function($,Be){2&$&&te.ekj("mat-mdc-tooltip-disabled",Be.disabled)},exportAs:["matTooltip"],features:[te.qOj]})}return L})(),Ct=(()=>{class L{constructor(G,$){this._changeDetectorRef=G,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new me.x,this._animationsDisabled="NoopAnimations"===$}show(G){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},G)}hide(G){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},G)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:G}){(!G||!this._triggerElement.contains(G))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:G}){(G===this._showAnimation||G===this._hideAnimation)&&this._finalizeAnimation(G===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(G){G?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(G){const $=this._tooltip.nativeElement,Be=this._showAnimation,ae=this._hideAnimation;if($.classList.remove(G?ae:Be),$.classList.add(G?Be:ae),this._isVisible=G,G&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const He=getComputedStyle($);("0s"===He.getPropertyValue("animation-duration")||"none"===He.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}G&&this._onShow(),this._animationsDisabled&&($.classList.add("_mat-animation-noopable"),this._finalizeAnimation(G))}static#e=this.\u0275fac=function($){return new($||L)(te.Y36(te.sBO),te.Y36(te.QbO,8))};static#t=this.\u0275dir=te.lG2({type:L})}return L})(),W=(()=>{class L extends Ct{constructor(G,$,Be){super(G,Be),this._elementRef=$,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const G=this._elementRef.nativeElement.getBoundingClientRect();return G.height>24&&G.width>=200}static#e=this.\u0275fac=function($){return new($||L)(te.Y36(te.sBO),te.Y36(te.SBq),te.Y36(te.QbO,8))};static#t=this.\u0275cmp=te.Xpm({type:L,selectors:[["mat-tooltip-component"]],viewQuery:function($,Be){if(1&$&&te.Gf(Ue,7),2&$){let ae;te.iGM(ae=te.CRH())&&(Be._tooltip=ae.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function($,Be){1&$&&te.NdJ("mouseleave",function(He){return Be._handleMouseLeave(He)}),2&$&&te.Udp("zoom",Be.isVisible()?1:null)},features:[te.qOj],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function($,Be){1&$&&(te.TgZ(0,"div",0,1),te.NdJ("animationend",function(He){return Be._handleAnimationEnd(He)}),te.TgZ(2,"div",2),te._uU(3),te.qZA()()),2&$&&(te.ekj("mdc-tooltip--multiline",Be._isMultiline),te.Q6J("ngClass",Be.tooltipClass),te.xp6(3),te.Oqu(Be.message))},dependencies:[Se.mk],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip{--mdc-plain-tooltip-container-shape:4px;--mdc-plain-tooltip-supporting-text-line-height:16px}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}return L})(),se=(()=>{class L{static#e=this.\u0275fac=function($){return new($||L)};static#t=this.\u0275mod=te.oAB({type:L});static#n=this.\u0275inj=te.cJS({providers:[H],imports:[ke.rt,Se.ez,ie.U8,Le.BQ,Le.BQ,we.ZD]})}return L})()},6593:(Mt,je,g)=>{g.d(je,{Cg:()=>Ce,Dx:()=>cn,H7:()=>nn,se:()=>$e});var n=g(5879),l=g(6814);class R extends l.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class S extends R{static makeCurrent(){(0,l.HT)(new S)}onAndCancel(J,I,Y){return J.addEventListener(I,Y),()=>{J.removeEventListener(I,Y)}}dispatchEvent(J,I){J.dispatchEvent(I)}remove(J){J.parentNode&&J.parentNode.removeChild(J)}createElement(J,I){return(I=I||this.getDefaultDocument()).createElement(J)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(J){return J.nodeType===Node.ELEMENT_NODE}isShadowRoot(J){return J instanceof DocumentFragment}getGlobalEventTarget(J,I){return"window"===I?window:"document"===I?J:"body"===I?J.body:null}getBaseHref(J){const I=function Se(){return te=te||document.querySelector("base"),te?te.getAttribute("href"):null}();return null==I?null:function ke(ge){le=le||document.createElement("a"),le.setAttribute("href",ge);const J=le.pathname;return"/"===J.charAt(0)?J:`/${J}`}(I)}resetBaseElement(){te=null}getUserAgent(){return window.navigator.userAgent}getCookie(J){return(0,l.Mx)(document.cookie,J)}}let le,te=null,ie=(()=>{class ge{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(Y){return new(Y||ge)};static#t=this.\u0275prov=n.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();const we=new n.OlP("EventManagerPlugins");let fe=(()=>{class ge{constructor(I,Y){this._zone=Y,this._eventNameToPlugin=new Map,I.forEach(Ae=>{Ae.manager=this}),this._plugins=I.slice().reverse()}addEventListener(I,Y,Ae){return this._findPluginFor(Y).addEventListener(I,Y,Ae)}getZone(){return this._zone}_findPluginFor(I){let Y=this._eventNameToPlugin.get(I);if(Y)return Y;if(Y=this._plugins.find(ut=>ut.supports(I)),!Y)throw new n.vHH(5101,!1);return this._eventNameToPlugin.set(I,Y),Y}static#e=this.\u0275fac=function(Y){return new(Y||ge)(n.LFG(we),n.LFG(n.R0b))};static#t=this.\u0275prov=n.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();class me{constructor(J){this._doc=J}}const Te="ng-app-id";let Le=(()=>{class ge{constructor(I,Y,Ae,ut={}){this.doc=I,this.appId=Y,this.nonce=Ae,this.platformId=ut,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,l.PM)(ut),this.resetHostNodes()}addStyles(I){for(const Y of I)1===this.changeUsageCount(Y,1)&&this.onStyleAdded(Y)}removeStyles(I){for(const Y of I)this.changeUsageCount(Y,-1)<=0&&this.onStyleRemoved(Y)}ngOnDestroy(){const I=this.styleNodesInDOM;I&&(I.forEach(Y=>Y.remove()),I.clear());for(const Y of this.getAllStyles())this.onStyleRemoved(Y);this.resetHostNodes()}addHost(I){this.hostNodes.add(I);for(const Y of this.getAllStyles())this.addStyleToHost(I,Y)}removeHost(I){this.hostNodes.delete(I)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(I){for(const Y of this.hostNodes)this.addStyleToHost(Y,I)}onStyleRemoved(I){const Y=this.styleRef;Y.get(I)?.elements?.forEach(Ae=>Ae.remove()),Y.delete(I)}collectServerRenderedStyles(){const I=this.doc.head?.querySelectorAll(`style[${Te}="${this.appId}"]`);if(I?.length){const Y=new Map;return I.forEach(Ae=>{null!=Ae.textContent&&Y.set(Ae.textContent,Ae)}),Y}return null}changeUsageCount(I,Y){const Ae=this.styleRef;if(Ae.has(I)){const ut=Ae.get(I);return ut.usage+=Y,ut.usage}return Ae.set(I,{usage:Y,elements:[]}),Y}getStyleElement(I,Y){const Ae=this.styleNodesInDOM,ut=Ae?.get(Y);if(ut?.parentNode===I)return Ae.delete(Y),ut.removeAttribute(Te),ut;{const Pe=this.doc.createElement("style");return this.nonce&&Pe.setAttribute("nonce",this.nonce),Pe.textContent=Y,this.platformIsServer&&Pe.setAttribute(Te,this.appId),Pe}}addStyleToHost(I,Y){const Ae=this.getStyleElement(I,Y);I.appendChild(Ae);const ut=this.styleRef,Pe=ut.get(Y)?.elements;Pe?Pe.push(Ae):ut.set(Y,{elements:[Ae],usage:1})}resetHostNodes(){const I=this.hostNodes;I.clear(),I.add(this.doc.head)}static#e=this.\u0275fac=function(Y){return new(Y||ge)(n.LFG(l.K0),n.LFG(n.AFp),n.LFG(n.Ojb,8),n.LFG(n.Lbi))};static#t=this.\u0275prov=n.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();const Ue={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},be=/%COMP%/g,xe=new n.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function Re(ge,J){return J.map(I=>I.replace(be,ge))}let $e=(()=>{class ge{constructor(I,Y,Ae,ut,Pe,ee,z,D=null){this.eventManager=I,this.sharedStylesHost=Y,this.appId=Ae,this.removeStylesOnCompDestroy=ut,this.doc=Pe,this.platformId=ee,this.ngZone=z,this.nonce=D,this.rendererByCompId=new Map,this.platformIsServer=(0,l.PM)(ee),this.defaultRenderer=new ft(I,Pe,z,this.platformIsServer)}createRenderer(I,Y){if(!I||!Y)return this.defaultRenderer;this.platformIsServer&&Y.encapsulation===n.ifc.ShadowDom&&(Y={...Y,encapsulation:n.ifc.Emulated});const Ae=this.getOrCreateRenderer(I,Y);return Ae instanceof Xe?Ae.applyToHost(I):Ae instanceof an&&Ae.applyStyles(),Ae}getOrCreateRenderer(I,Y){const Ae=this.rendererByCompId;let ut=Ae.get(Y.id);if(!ut){const Pe=this.doc,ee=this.ngZone,z=this.eventManager,D=this.sharedStylesHost,B=this.removeStylesOnCompDestroy,he=this.platformIsServer;switch(Y.encapsulation){case n.ifc.Emulated:ut=new Xe(z,D,Y,this.appId,B,Pe,ee,he);break;case n.ifc.ShadowDom:return new kt(z,D,I,Y,Pe,ee,this.nonce,he);default:ut=new an(z,D,Y,B,Pe,ee,he)}Ae.set(Y.id,ut)}return ut}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(Y){return new(Y||ge)(n.LFG(fe),n.LFG(Le),n.LFG(n.AFp),n.LFG(xe),n.LFG(l.K0),n.LFG(n.Lbi),n.LFG(n.R0b),n.LFG(n.Ojb))};static#t=this.\u0275prov=n.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();class ft{constructor(J,I,Y,Ae){this.eventManager=J,this.doc=I,this.ngZone=Y,this.platformIsServer=Ae,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(J,I){return I?this.doc.createElementNS(Ue[I]||I,J):this.doc.createElement(J)}createComment(J){return this.doc.createComment(J)}createText(J){return this.doc.createTextNode(J)}appendChild(J,I){(Ut(J)?J.content:J).appendChild(I)}insertBefore(J,I,Y){J&&(Ut(J)?J.content:J).insertBefore(I,Y)}removeChild(J,I){J&&J.removeChild(I)}selectRootElement(J,I){let Y="string"==typeof J?this.doc.querySelector(J):J;if(!Y)throw new n.vHH(-5104,!1);return I||(Y.textContent=""),Y}parentNode(J){return J.parentNode}nextSibling(J){return J.nextSibling}setAttribute(J,I,Y,Ae){if(Ae){I=Ae+":"+I;const ut=Ue[Ae];ut?J.setAttributeNS(ut,I,Y):J.setAttribute(I,Y)}else J.setAttribute(I,Y)}removeAttribute(J,I,Y){if(Y){const Ae=Ue[Y];Ae?J.removeAttributeNS(Ae,I):J.removeAttribute(`${Y}:${I}`)}else J.removeAttribute(I)}addClass(J,I){J.classList.add(I)}removeClass(J,I){J.classList.remove(I)}setStyle(J,I,Y,Ae){Ae&(n.JOm.DashCase|n.JOm.Important)?J.style.setProperty(I,Y,Ae&n.JOm.Important?"important":""):J.style[I]=Y}removeStyle(J,I,Y){Y&n.JOm.DashCase?J.style.removeProperty(I):J.style[I]=""}setProperty(J,I,Y){J[I]=Y}setValue(J,I){J.nodeValue=I}listen(J,I,Y){if("string"==typeof J&&!(J=(0,l.q)().getGlobalEventTarget(this.doc,J)))throw new Error(`Unsupported event target ${J} for event ${I}`);return this.eventManager.addEventListener(J,I,this.decoratePreventDefault(Y))}decoratePreventDefault(J){return I=>{if("__ngUnwrap__"===I)return J;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>J(I)):J(I))&&I.preventDefault()}}}function Ut(ge){return"TEMPLATE"===ge.tagName&&void 0!==ge.content}class kt extends ft{constructor(J,I,Y,Ae,ut,Pe,ee,z){super(J,ut,Pe,z),this.sharedStylesHost=I,this.hostEl=Y,this.shadowRoot=Y.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const D=Re(Ae.id,Ae.styles);for(const B of D){const he=document.createElement("style");ee&&he.setAttribute("nonce",ee),he.textContent=B,this.shadowRoot.appendChild(he)}}nodeOrShadowRoot(J){return J===this.hostEl?this.shadowRoot:J}appendChild(J,I){return super.appendChild(this.nodeOrShadowRoot(J),I)}insertBefore(J,I,Y){return super.insertBefore(this.nodeOrShadowRoot(J),I,Y)}removeChild(J,I){return super.removeChild(this.nodeOrShadowRoot(J),I)}parentNode(J){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(J)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class an extends ft{constructor(J,I,Y,Ae,ut,Pe,ee,z){super(J,ut,Pe,ee),this.sharedStylesHost=I,this.removeStylesOnCompDestroy=Ae,this.styles=z?Re(z,Y.styles):Y.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Xe extends an{constructor(J,I,Y,Ae,ut,Pe,ee,z){const D=Ae+"-"+Y.id;super(J,I,Y,ut,Pe,ee,z,D),this.contentAttr=function oe(ge){return"_ngcontent-%COMP%".replace(be,ge)}(D),this.hostAttr=function Ie(ge){return"_nghost-%COMP%".replace(be,ge)}(D)}applyToHost(J){this.applyStyles(),this.setAttribute(J,this.hostAttr,"")}createElement(J,I){const Y=super.createElement(J,I);return super.setAttribute(Y,this.contentAttr,""),Y}}let Ct=(()=>{class ge extends me{constructor(I){super(I)}supports(I){return!0}addEventListener(I,Y,Ae){return I.addEventListener(Y,Ae,!1),()=>this.removeEventListener(I,Y,Ae)}removeEventListener(I,Y,Ae){return I.removeEventListener(Y,Ae)}static#e=this.\u0275fac=function(Y){return new(Y||ge)(n.LFG(l.K0))};static#t=this.\u0275prov=n.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();const W=["alt","control","meta","shift"],P={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},se={alt:ge=>ge.altKey,control:ge=>ge.ctrlKey,meta:ge=>ge.metaKey,shift:ge=>ge.shiftKey};let L=(()=>{class ge extends me{constructor(I){super(I)}supports(I){return null!=ge.parseEventName(I)}addEventListener(I,Y,Ae){const ut=ge.parseEventName(Y),Pe=ge.eventCallback(ut.fullKey,Ae,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,l.q)().onAndCancel(I,ut.domEventName,Pe))}static parseEventName(I){const Y=I.toLowerCase().split("."),Ae=Y.shift();if(0===Y.length||"keydown"!==Ae&&"keyup"!==Ae)return null;const ut=ge._normalizeKey(Y.pop());let Pe="",ee=Y.indexOf("code");if(ee>-1&&(Y.splice(ee,1),Pe="code."),W.forEach(D=>{const B=Y.indexOf(D);B>-1&&(Y.splice(B,1),Pe+=D+".")}),Pe+=ut,0!=Y.length||0===ut.length)return null;const z={};return z.domEventName=Ae,z.fullKey=Pe,z}static matchEventFullKeyCode(I,Y){let Ae=P[I.key]||I.key,ut="";return Y.indexOf("code.")>-1&&(Ae=I.code,ut="code."),!(null==Ae||!Ae)&&(Ae=Ae.toLowerCase()," "===Ae?Ae="space":"."===Ae&&(Ae="dot"),W.forEach(Pe=>{Pe!==Ae&&(0,se[Pe])(I)&&(ut+=Pe+".")}),ut+=Ae,ut===Y)}static eventCallback(I,Y,Ae){return ut=>{ge.matchEventFullKeyCode(ut,I)&&Ae.runGuarded(()=>Y(ut))}}static _normalizeKey(I){return"esc"===I?"escape":I}static#e=this.\u0275fac=function(Y){return new(Y||ge)(n.LFG(l.K0))};static#t=this.\u0275prov=n.Yz7({token:ge,factory:ge.\u0275fac})}return ge})();function Ce(ge,J){return(0,n.iPO)({rootComponent:ge,...$(J)})}function $(ge){return{appProviders:[...ct,...ge?.providers??[]],platformProviders:it}}const it=[{provide:n.Lbi,useValue:l.bD},{provide:n.g9A,useValue:function ae(){S.makeCurrent()},multi:!0},{provide:l.K0,useFactory:function Ze(){return(0,n.RDi)(document),document},deps:[]}],ct=[{provide:n.zSh,useValue:"root"},{provide:n.qLn,useFactory:function He(){return new n.qLn},deps:[]},{provide:we,useClass:Ct,multi:!0,deps:[l.K0,n.R0b,n.Lbi]},{provide:we,useClass:L,multi:!0,deps:[l.K0]},$e,Le,fe,{provide:n.FYo,useExisting:$e},{provide:l.JF,useClass:ie,deps:[]},[]];let cn=(()=>{class ge{constructor(I){this._doc=I}getTitle(){return this._doc.title}setTitle(I){this._doc.title=I||""}static#e=this.\u0275fac=function(Y){return new(Y||ge)(n.LFG(l.K0))};static#t=this.\u0275prov=n.Yz7({token:ge,factory:function(Y){let Ae=null;return Ae=Y?new Y:function Gt(){return new cn((0,n.LFG)(l.K0))}(),Ae},providedIn:"root"})}return ge})();typeof window<"u"&&window;let nn=(()=>{class ge{static#e=this.\u0275fac=function(Y){return new(Y||ge)};static#t=this.\u0275prov=n.Yz7({token:ge,factory:function(Y){let Ae=null;return Ae=Y?new(Y||ge):n.LFG(bn),Ae},providedIn:"root"})}return ge})(),bn=(()=>{class ge extends nn{constructor(I){super(),this._doc=I}sanitize(I,Y){if(null==Y)return null;switch(I){case n.q3G.NONE:return Y;case n.q3G.HTML:return(0,n.qzn)(Y,"HTML")?(0,n.z3N)(Y):(0,n.EiD)(this._doc,String(Y)).toString();case n.q3G.STYLE:return(0,n.qzn)(Y,"Style")?(0,n.z3N)(Y):Y;case n.q3G.SCRIPT:if((0,n.qzn)(Y,"Script"))return(0,n.z3N)(Y);throw new n.vHH(5200,!1);case n.q3G.URL:return(0,n.qzn)(Y,"URL")?(0,n.z3N)(Y):(0,n.mCW)(String(Y));case n.q3G.RESOURCE_URL:if((0,n.qzn)(Y,"ResourceURL"))return(0,n.z3N)(Y);throw new n.vHH(5201,!1);default:throw new n.vHH(5202,!1)}}bypassSecurityTrustHtml(I){return(0,n.JVY)(I)}bypassSecurityTrustStyle(I){return(0,n.L6k)(I)}bypassSecurityTrustScript(I){return(0,n.eBb)(I)}bypassSecurityTrustUrl(I){return(0,n.LAX)(I)}bypassSecurityTrustResourceUrl(I){return(0,n.pB0)(I)}static#e=this.\u0275fac=function(Y){return new(Y||ge)(n.LFG(l.K0))};static#t=this.\u0275prov=n.Yz7({token:ge,factory:function(Y){let Ae=null;return Ae=Y?new Y:function pn(ge){return new bn(ge.get(l.K0))}(n.LFG(n.zs3)),Ae},providedIn:"root"})}return ge})()},4318:(Mt,je,g)=>{g.d(je,{YK:()=>Kn,zA:()=>ei,tf:()=>mi,sj:()=>mn});var n=g(6814),l=g(5879),R=g(3651),S=g(4191),te=g(8484),Se=g(2296),le=g(2495),ke=g(6028),ue=g(6223),ie=g(4516),we=g(7394),fe=g(2096),me=g(3019),Te=g(8645),Le=g(9157),Ue=g(3680),be=g(8180),ye=g(2181),Je=g(6825);function ve(N,de){(function xe(N){return"string"==typeof N&&-1!==N.indexOf(".")&&1===parseFloat(N)})(N)&&(N="100%");var x=function oe(N){return"string"==typeof N&&-1!==N.indexOf("%")}(N);return N=360===de?N:Math.min(de,Math.max(0,parseFloat(N))),x&&(N=parseInt(String(N*de),10)/100),Math.abs(N-de)<1e-6?1:N=360===de?(N<0?N%de+de:N%de)/parseFloat(String(de)):N%de/parseFloat(String(de))}function H(N){return Math.min(1,Math.max(0,N))}function Ie(N){return N=parseFloat(N),(isNaN(N)||N<0||N>1)&&(N=1),N}function Re(N){return N<=1?"".concat(100*Number(N),"%"):N}function $e(N){return 1===N.length?"0"+N:String(N)}function bt(N,de,x){N=ve(N,255),de=ve(de,255),x=ve(x,255);var q=Math.max(N,de,x),pe=Math.min(N,de,x),We=0,pt=0,on=(q+pe)/2;if(q===pe)pt=0,We=0;else{var Qt=q-pe;switch(pt=on>.5?Qt/(2-q-pe):Qt/(q+pe),q){case N:We=(de-x)/Qt+(de1&&(x-=1),x<1/6?N+6*x*(de-N):x<.5?de:x<2/3?N+(de-N)*(2/3-x)*6:N}function kt(N,de,x){N=ve(N,255),de=ve(de,255),x=ve(x,255);var q=Math.max(N,de,x),pe=Math.min(N,de,x),We=0,pt=q,on=q-pe,Qt=0===q?0:on/q;if(q===pe)We=0;else{switch(q){case N:We=(de-x)/on+(de>16,g:(65280&N)>>8,b:255&N}}(de)),this.originalInput=de;var pe=function $(N){var de={r:0,g:0,b:0},x=1,q=null,pe=null,We=null,pt=!1,on=!1;return"string"==typeof N&&(N=function It(N){if(0===(N=N.trim().toLowerCase()).length)return!1;var de=!1;if(G[N])N=G[N],de=!0;else if("transparent"===N)return{r:0,g:0,b:0,a:0,format:"name"};var x=qe.rgb.exec(N);return x?{r:x[1],g:x[2],b:x[3]}:(x=qe.rgba.exec(N))?{r:x[1],g:x[2],b:x[3],a:x[4]}:(x=qe.hsl.exec(N))?{h:x[1],s:x[2],l:x[3]}:(x=qe.hsla.exec(N))?{h:x[1],s:x[2],l:x[3],a:x[4]}:(x=qe.hsv.exec(N))?{h:x[1],s:x[2],v:x[3]}:(x=qe.hsva.exec(N))?{h:x[1],s:x[2],v:x[3],a:x[4]}:(x=qe.hex8.exec(N))?{r:L(x[1]),g:L(x[2]),b:L(x[3]),a:se(x[4]),format:de?"name":"hex8"}:(x=qe.hex6.exec(N))?{r:L(x[1]),g:L(x[2]),b:L(x[3]),format:de?"name":"hex"}:(x=qe.hex4.exec(N))?{r:L(x[1]+x[1]),g:L(x[2]+x[2]),b:L(x[3]+x[3]),a:se(x[4]+x[4]),format:de?"name":"hex8"}:!!(x=qe.hex3.exec(N))&&{r:L(x[1]+x[1]),g:L(x[2]+x[2]),b:L(x[3]+x[3]),format:de?"name":"hex"}}(N)),"object"==typeof N&&(Ye(N.r)&&Ye(N.g)&&Ye(N.b)?(de=function ft(N,de,x){return{r:255*ve(N,255),g:255*ve(de,255),b:255*ve(x,255)}}(N.r,N.g,N.b),pt=!0,on="%"===String(N.r).substr(-1)?"prgb":"rgb"):Ye(N.h)&&Ye(N.s)&&Ye(N.v)?(q=Re(N.s),pe=Re(N.v),de=function an(N,de,x){N=6*ve(N,360),de=ve(de,100),x=ve(x,100);var q=Math.floor(N),pe=N-q,We=x*(1-de),pt=x*(1-pe*de),on=x*(1-(1-pe)*de),Qt=q%6;return{r:255*[x,pt,We,We,on,x][Qt],g:255*[on,x,x,pt,We,We][Qt],b:255*[We,We,on,x,x,pt][Qt]}}(N.h,q,pe),pt=!0,on="hsv"):Ye(N.h)&&Ye(N.s)&&Ye(N.l)&&(q=Re(N.s),We=Re(N.l),de=function Ut(N,de,x){var q,pe,We;if(N=ve(N,360),de=ve(de,100),x=ve(x,100),0===de)pe=x,We=x,q=x;else{var pt=x<.5?x*(1+de):x+de-x*de,on=2*x-pt;q=Dt(on,pt,N+1/3),pe=Dt(on,pt,N),We=Dt(on,pt,N-1/3)}return{r:255*q,g:255*pe,b:255*We}}(N.h,q,We),pt=!0,on="hsl"),Object.prototype.hasOwnProperty.call(N,"a")&&(x=N.a)),x=Ie(x),{ok:pt,format:N.format||on,r:Math.min(255,Math.max(de.r,0)),g:Math.min(255,Math.max(de.g,0)),b:Math.min(255,Math.max(de.b,0)),a:x}}(de);this.originalInput=de,this.r=pe.r,this.g=pe.g,this.b=pe.b,this.a=pe.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(q=x.format)&&void 0!==q?q:pe.format,this.gradientType=x.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=pe.ok}return N.prototype.isDark=function(){return this.getBrightness()<128},N.prototype.isLight=function(){return!this.isDark()},N.prototype.getBrightness=function(){var de=this.toRgb();return(299*de.r+587*de.g+114*de.b)/1e3},N.prototype.getLuminance=function(){var de=this.toRgb(),We=de.r/255,pt=de.g/255,on=de.b/255;return.2126*(We<=.03928?We/12.92:Math.pow((We+.055)/1.055,2.4))+.7152*(pt<=.03928?pt/12.92:Math.pow((pt+.055)/1.055,2.4))+.0722*(on<=.03928?on/12.92:Math.pow((on+.055)/1.055,2.4))},N.prototype.getAlpha=function(){return this.a},N.prototype.setAlpha=function(de){return this.a=Ie(de),this.roundA=Math.round(100*this.a)/100,this},N.prototype.isMonochrome=function(){return 0===this.toHsl().s},N.prototype.toHsv=function(){var de=kt(this.r,this.g,this.b);return{h:360*de.h,s:de.s,v:de.v,a:this.a}},N.prototype.toHsvString=function(){var de=kt(this.r,this.g,this.b),x=Math.round(360*de.h),q=Math.round(100*de.s),pe=Math.round(100*de.v);return 1===this.a?"hsv(".concat(x,", ").concat(q,"%, ").concat(pe,"%)"):"hsva(".concat(x,", ").concat(q,"%, ").concat(pe,"%, ").concat(this.roundA,")")},N.prototype.toHsl=function(){var de=bt(this.r,this.g,this.b);return{h:360*de.h,s:de.s,l:de.l,a:this.a}},N.prototype.toHslString=function(){var de=bt(this.r,this.g,this.b),x=Math.round(360*de.h),q=Math.round(100*de.s),pe=Math.round(100*de.l);return 1===this.a?"hsl(".concat(x,", ").concat(q,"%, ").concat(pe,"%)"):"hsla(".concat(x,", ").concat(q,"%, ").concat(pe,"%, ").concat(this.roundA,")")},N.prototype.toHex=function(de){return void 0===de&&(de=!1),Xe(this.r,this.g,this.b,de)},N.prototype.toHexString=function(de){return void 0===de&&(de=!1),"#"+this.toHex(de)},N.prototype.toHex8=function(de){return void 0===de&&(de=!1),function Ct(N,de,x,q,pe){var We=[$e(Math.round(N).toString(16)),$e(Math.round(de).toString(16)),$e(Math.round(x).toString(16)),$e(P(q))];return pe&&We[0].startsWith(We[0].charAt(1))&&We[1].startsWith(We[1].charAt(1))&&We[2].startsWith(We[2].charAt(1))&&We[3].startsWith(We[3].charAt(1))?We[0].charAt(0)+We[1].charAt(0)+We[2].charAt(0)+We[3].charAt(0):We.join("")}(this.r,this.g,this.b,this.a,de)},N.prototype.toHex8String=function(de){return void 0===de&&(de=!1),"#"+this.toHex8(de)},N.prototype.toHexShortString=function(de){return void 0===de&&(de=!1),1===this.a?this.toHexString(de):this.toHex8String(de)},N.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},N.prototype.toRgbString=function(){var de=Math.round(this.r),x=Math.round(this.g),q=Math.round(this.b);return 1===this.a?"rgb(".concat(de,", ").concat(x,", ").concat(q,")"):"rgba(".concat(de,", ").concat(x,", ").concat(q,", ").concat(this.roundA,")")},N.prototype.toPercentageRgb=function(){var de=function(x){return"".concat(Math.round(100*ve(x,255)),"%")};return{r:de(this.r),g:de(this.g),b:de(this.b),a:this.a}},N.prototype.toPercentageRgbString=function(){var de=function(x){return Math.round(100*ve(x,255))};return 1===this.a?"rgb(".concat(de(this.r),"%, ").concat(de(this.g),"%, ").concat(de(this.b),"%)"):"rgba(".concat(de(this.r),"%, ").concat(de(this.g),"%, ").concat(de(this.b),"%, ").concat(this.roundA,")")},N.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var de="#"+Xe(this.r,this.g,this.b,!1),x=0,q=Object.entries(G);x=0&&(de.startsWith("hex")||"name"===de)?"name"===de&&0===this.a?this.toName():this.toRgbString():("rgb"===de&&(q=this.toRgbString()),"prgb"===de&&(q=this.toPercentageRgbString()),("hex"===de||"hex6"===de)&&(q=this.toHexString()),"hex3"===de&&(q=this.toHexString(!0)),"hex4"===de&&(q=this.toHex8String(!0)),"hex8"===de&&(q=this.toHex8String()),"name"===de&&(q=this.toName()),"hsl"===de&&(q=this.toHslString()),"hsv"===de&&(q=this.toHsvString()),q||this.toHexString())},N.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},N.prototype.clone=function(){return new N(this.toString())},N.prototype.lighten=function(de){void 0===de&&(de=10);var x=this.toHsl();return x.l+=de/100,x.l=H(x.l),new N(x)},N.prototype.brighten=function(de){void 0===de&&(de=10);var x=this.toRgb();return x.r=Math.max(0,Math.min(255,x.r-Math.round(-de/100*255))),x.g=Math.max(0,Math.min(255,x.g-Math.round(-de/100*255))),x.b=Math.max(0,Math.min(255,x.b-Math.round(-de/100*255))),new N(x)},N.prototype.darken=function(de){void 0===de&&(de=10);var x=this.toHsl();return x.l-=de/100,x.l=H(x.l),new N(x)},N.prototype.tint=function(de){return void 0===de&&(de=10),this.mix("white",de)},N.prototype.shade=function(de){return void 0===de&&(de=10),this.mix("black",de)},N.prototype.desaturate=function(de){void 0===de&&(de=10);var x=this.toHsl();return x.s-=de/100,x.s=H(x.s),new N(x)},N.prototype.saturate=function(de){void 0===de&&(de=10);var x=this.toHsl();return x.s+=de/100,x.s=H(x.s),new N(x)},N.prototype.greyscale=function(){return this.desaturate(100)},N.prototype.spin=function(de){var x=this.toHsl(),q=(x.h+de)%360;return x.h=q<0?360+q:q,new N(x)},N.prototype.mix=function(de,x){void 0===x&&(x=50);var q=this.toRgb(),pe=new N(de).toRgb(),We=x/100;return new N({r:(pe.r-q.r)*We+q.r,g:(pe.g-q.g)*We+q.g,b:(pe.b-q.b)*We+q.b,a:(pe.a-q.a)*We+q.a})},N.prototype.analogous=function(de,x){void 0===de&&(de=6),void 0===x&&(x=30);var q=this.toHsl(),pe=360/x,We=[this];for(q.h=(q.h-(pe*de>>1)+720)%360;--de;)q.h=(q.h+pe)%360,We.push(new N(q));return We},N.prototype.complement=function(){var de=this.toHsl();return de.h=(de.h+180)%360,new N(de)},N.prototype.monochromatic=function(de){void 0===de&&(de=6);for(var x=this.toHsv(),q=x.h,pe=x.s,We=x.v,pt=[],on=1/de;de--;)pt.push(new N({h:q,s:pe,v:We})),We=(We+on)%1;return pt},N.prototype.splitcomplement=function(){var de=this.toHsl(),x=de.h;return[this,new N({h:(x+72)%360,s:de.s,l:de.l}),new N({h:(x+216)%360,s:de.s,l:de.l})]},N.prototype.onBackground=function(de){var x=this.toRgb(),q=new N(de).toRgb(),pe=x.a+q.a*(1-x.a);return new N({r:(x.r*x.a+q.r*q.a*(1-x.a))/pe,g:(x.g*x.a+q.g*q.a*(1-x.a))/pe,b:(x.b*x.a+q.b*q.a*(1-x.a))/pe,a:pe})},N.prototype.triad=function(){return this.polyad(3)},N.prototype.tetrad=function(){return this.polyad(4)},N.prototype.polyad=function(de){for(var x=this.toHsl(),q=x.h,pe=[this],We=360/de,pt=1;pt{class N{white="transparent";size=8;grey="rgba(0,0,0,.08)";boxShadow;borderRadius;gridStyles;ngOnInit(){const x=function Fe(N,de,x){const q=`${N}-${de}-${x}`;if(Z[q])return Z[q];const pe=function ce(N,de,x){if(typeof document>"u")return null;const q=document.createElement("canvas");q.width=2*x,q.height=2*x;const pe=q.getContext("2d");return pe?(pe.fillStyle=N,pe.fillRect(0,0,q.width,q.height),pe.fillStyle=de,pe.fillRect(0,0,x,x),pe.translate(x,x),pe.fillRect(0,0,x,x),q.toDataURL()):null}(N,de,x);return pe?(Z[q]=pe,pe):null}(this.white,this.grey,this.size);this.gridStyles={borderRadius:this.borderRadius,boxShadow:this.boxShadow,background:`url(${x}) center left`}}static \u0275fac=function(q){return new(q||N)};static \u0275cmp=l.Xpm({type:N,selectors:[["color-checkboard"]],inputs:{white:"white",size:"size",grey:"grey",boxShadow:"boxShadow",borderRadius:"borderRadius"},decls:1,vars:1,consts:[[1,"grid",3,"ngStyle"]],template:function(q,pe){1&q&&l._UZ(0,"div",0),2&q&&l.Q6J("ngStyle",pe.gridStyles)},dependencies:[n.PC],styles:[".grid[_ngcontent-%COMP%]{inset:0;position:absolute}"],changeDetection:0})}return N})(),st=(()=>{class N{static \u0275fac=function(q){return new(q||N)};static \u0275mod=l.oAB({type:N});static \u0275inj=l.cJS({imports:[n.ez]})}return N})(),lt=(()=>{class N{el;coordinatesChange=new Te.x;mousechange=new Te.x;mouseListening=!1;sub;mousemove(x,q,pe,We=!1){this.mouseListening&&(x.preventDefault(),this.mousechange.next({$event:x,x:q,y:pe,isTouch:We}))}mouseup(){this.mouseListening=!1}mousedown(x,q,pe,We=!1){x.preventDefault(),this.mouseListening=!0,this.mousechange.next({$event:x,x:q,y:pe,isTouch:We})}constructor(x){this.el=x}ngOnInit(){this.sub=this.mousechange.pipe((0,dt.x)((x,q)=>x.x===q.x&&x.y===q.y)).subscribe(x=>this.handleChange(x.x,x.y,x.$event,x.isTouch))}ngOnDestroy(){this.sub?.unsubscribe()}handleChange(x,q,pe,We){const pt=this.el.nativeElement.clientWidth,on=this.el.nativeElement.clientHeight,Qt=x-(this.el.nativeElement.getBoundingClientRect().left+window.pageXOffset);let gi=q-this.el.nativeElement.getBoundingClientRect().top;We||(gi-=window.pageYOffset),this.coordinatesChange.next({x,y:q,top:gi,left:Qt,containerWidth:pt,containerHeight:on,$event:pe})}static \u0275fac=function(q){return new(q||N)(l.Y36(l.SBq))};static \u0275dir=l.lG2({type:N,selectors:[["","ngx-color-coordinates",""]],hostBindings:function(q,pe){1&q&&l.NdJ("mousemove",function(pt){return pe.mousemove(pt,pt.pageX,pt.pageY)},!1,l.Jf7)("touchmove",function(pt){return pe.mousemove(pt,pt.touches[0].clientX,pt.touches[0].clientY,!0)},!1,l.Jf7)("mouseup",function(){return pe.mouseup()},!1,l.Jf7)("touchend",function(){return pe.mouseup()},!1,l.Jf7)("mousedown",function(pt){return pe.mousedown(pt,pt.pageX,pt.pageY)})("touchstart",function(pt){return pe.mousedown(pt,pt.touches[0].clientX,pt.touches[0].clientY,!0)})},outputs:{coordinatesChange:"coordinatesChange"}})}return N})(),yt=(()=>{class N{static \u0275fac=function(q){return new(q||N)};static \u0275mod=l.oAB({type:N});static \u0275inj=l.cJS({})}return N})(),Jt=(()=>{class N{hsl;rgb;pointer;shadow;radius;direction="horizontal";onChange=new l.vpe;gradient;pointerLeft;pointerTop;ngOnChanges(){"vertical"===this.direction?(this.pointerLeft=0,this.pointerTop=100*this.rgb.a,this.gradient={background:`linear-gradient(to bottom, rgba(${this.rgb.r},${this.rgb.g},${this.rgb.b}, 0) 0%,\n rgba(${this.rgb.r},${this.rgb.g},${this.rgb.b}, 1) 100%)`}):(this.gradient={background:`linear-gradient(to right, rgba(${this.rgb.r},${this.rgb.g},${this.rgb.b}, 0) 0%,\n rgba(${this.rgb.r},${this.rgb.g},${this.rgb.b}, 1) 100%)`},this.pointerLeft=100*this.rgb.a)}handleChange({top:x,left:q,containerHeight:pe,containerWidth:We,$event:pt}){let on;if("vertical"===this.direction){let Qt;Qt=x<0?0:x>pe?1:Math.round(100*x/pe)/100,this.hsl.a!==Qt&&(on={h:this.hsl.h,s:this.hsl.s,l:this.hsl.l,a:Qt,source:"rgb"})}else{let Qt;Qt=q<0?0:q>We?1:Math.round(100*q/We)/100,this.hsl.a!==Qt&&(on={h:this.hsl.h,s:this.hsl.s,l:this.hsl.l,a:Qt,source:"rgb"})}on&&this.onChange.emit({data:on,$event:pt})}static \u0275fac=function(q){return new(q||N)};static \u0275cmp=l.Xpm({type:N,selectors:[["color-alpha"]],inputs:{hsl:"hsl",rgb:"rgb",pointer:"pointer",shadow:"shadow",radius:"radius",direction:"direction"},outputs:{onChange:"onChange"},features:[l.TTD],decls:7,vars:15,consts:[[1,"alpha"],[1,"alpha-checkboard"],[1,"alpha-gradient",3,"ngStyle"],["ngx-color-coordinates","",3,"coordinatesChange"],[1,"alpha-pointer"],[1,"alpha-slider",3,"ngStyle"]],template:function(q,pe){1&q&&(l.TgZ(0,"div",0)(1,"div",1),l._UZ(2,"color-checkboard"),l.qZA(),l._UZ(3,"div",2),l.TgZ(4,"div",3),l.NdJ("coordinatesChange",function(pt){return pe.handleChange(pt)}),l.TgZ(5,"div",4),l._UZ(6,"div",5),l.qZA()()()),2&q&&(l.Udp("border-radius",pe.radius),l.xp6(3),l.Udp("box-shadow",pe.shadow)("border-radius",pe.radius),l.Q6J("ngStyle",pe.gradient),l.xp6(1),l.Gre("alpha-container color-alpha-",pe.direction,""),l.xp6(1),l.Udp("left",pe.pointerLeft,"%")("top",pe.pointerTop,"%"),l.xp6(1),l.Q6J("ngStyle",pe.pointer))},dependencies:[n.PC,ot,lt],styles:[".alpha[_ngcontent-%COMP%]{position:absolute;inset:0}.alpha-checkboard[_ngcontent-%COMP%]{position:absolute;inset:0;overflow:hidden}.alpha-gradient[_ngcontent-%COMP%]{position:absolute;inset:0}.alpha-container[_ngcontent-%COMP%]{position:relative;height:100%;margin:0 3px}.alpha-pointer[_ngcontent-%COMP%]{position:absolute}.alpha-slider[_ngcontent-%COMP%]{width:4px;border-radius:1px;height:8px;box-shadow:0 0 2px #0009;background:#fff;margin-top:1px;transform:translate(-2px)}"],changeDetection:0})}return N})(),Bt=(()=>{class N{static \u0275fac=function(q){return new(q||N)};static \u0275mod=l.oAB({type:N});static \u0275inj=l.cJS({imports:[n.ez,st,yt]})}return N})();function Vt(N){let x=0,q=0;return["r","g","b","a","h","s","l","v"].forEach(pe=>{N[pe]&&(x+=1,isNaN(N[pe])||(q+=1),("s"===pe||"l"===pe)&&/^\d+%$/.test(N[pe])&&(q+=1))}),x===q&&N}function Ft(N,de,x){const q=new ct(N.hex?N.hex:N);x&&q.setAlpha(1);const pe=q.toHsl(),We=q.toHsv(),pt=q.toRgb(),on=q.toHex();return 0===pe.s&&(pe.h=de||0,We.h=de||0),{hsl:pe,hex:"000000"===on&&0===pt.a?"transparent":q.toHexString(),rgb:pt,hsv:We,oldHue:N.h||de||pe.h,source:N.source}}var nn=function(N){return N.HEX="hex",N.HSL="hsl",N.HSV="hsv",N.RGB="rgb",N}(nn||{});let pn=(()=>{class N{className;mode=nn.HEX;color={h:250,s:.5,l:.2,a:1};colorChange=new l.vpe;onChange=new l.vpe;onChangeComplete=new l.vpe;onSwatchHover=new l.vpe;oldHue;hsl;hsv;rgb;hex;source;currentColor;changes;disableAlpha;_onChangeCompleteSubscription=new we.w0;_onSwatchHoverSubscription=new we.w0;ngOnInit(){this.changes=this.onChange.pipe((0,jt.b)(100),(0,Gt.b)(x=>{switch(this.onChangeComplete.emit(x),this.mode){case nn.HEX:this.colorChange.emit(x.color.hex);break;case nn.HSL:this.colorChange.emit(x.color.hsl);break;case nn.HSV:this.colorChange.emit(x.color.hsv);break;case nn.RGB:this.colorChange.emit(x.color.rgb);break;default:const q=`The mode '${this.mode}' is not supported`;if((0,l.X6Q)())throw new Error(q);console.warn(q)}})).subscribe(),this.setState(Ft(this.color,0)),this.currentColor=this.hex}ngOnChanges(){this.setState(Ft(this.color,this.oldHue))}ngOnDestroy(){this.changes?.unsubscribe(),this._onChangeCompleteSubscription?.unsubscribe(),this._onSwatchHoverSubscription?.unsubscribe()}setState(x){this.oldHue=x.oldHue,this.hsl=x.hsl,this.hsv=x.hsv,this.rgb=x.rgb,this.hex=x.hex,this.source=x.source,this.afterValidChange()}handleChange(x,q){if(Vt(x)){const We=Ft(x,x.h||this.oldHue,this.disableAlpha);this.setState(We),this.onChange.emit({color:We,$event:q}),this.afterValidChange()}}afterValidChange(){}handleSwatchHover(x,q){if(Vt(x)){const We=Ft(x,x.h||this.oldHue);this.setState(We),this.onSwatchHover.emit({color:We,$event:q})}}registerOnChange(x){this._onChangeCompleteSubscription.add(this.onChangeComplete.pipe((0,Gt.b)(q=>x(q.color.hex))).subscribe())}registerOnTouched(x){this._onSwatchHoverSubscription.add(this.onSwatchHover.pipe((0,Gt.b)(()=>x())).subscribe())}setDisabledState(x){}writeValue(x){this.color=x}static \u0275fac=function(q){return new(q||N)};static \u0275cmp=l.Xpm({type:N,selectors:[["color-wrap"]],inputs:{className:"className",mode:"mode",color:"color"},outputs:{colorChange:"colorChange",onChange:"onChange",onChangeComplete:"onChangeComplete",onSwatchHover:"onSwatchHover"},features:[l._Bn([{provide:ue.JU,useExisting:(0,l.Gpc)(()=>N),multi:!0}]),l.TTD],decls:0,vars:0,template:function(q,pe){},encapsulation:2})}return N})(),In=0,Tn=(()=>{class N{style;label;value;arrowOffset;dragLabel;dragMax;placeholder="";onChange=new l.vpe;currentValue;blurValue;wrapStyle;inputStyle;labelStyle;focus=!1;mousemove;mouseup;uniqueId="editableInput-"+ ++In;ngOnInit(){this.wrapStyle=this.style&&this.style.wrap?this.style.wrap:{},this.inputStyle=this.style&&this.style.input?this.style.input:{},this.labelStyle=this.style&&this.style.label?this.style.label:{},this.dragLabel&&(this.labelStyle.cursor="ew-resize")}handleFocus(x){this.focus=!0}handleFocusOut(x){this.focus=!1,this.currentValue=this.blurValue}handleKeydown(x){const q=String(x.target.value),pe=q.indexOf("%")>-1,We=Number(q.replace(/%/g,""));if(isNaN(We))return;const pt=this.arrowOffset||1;38===x.keyCode&&(this.onChange.emit(this.label?{data:{[this.label]:We+pt},$event:x}:{data:We+pt,$event:x}),this.currentValue=pe?`${We+pt}%`:We+pt),40===x.keyCode&&(this.onChange.emit(this.label?{data:{[this.label]:We-pt},$event:x}:{data:We-pt,$event:x}),this.currentValue=pe?We-pt+"%":We-pt)}handleKeyup(x){40===x.keyCode||38===x.keyCode||`${this.currentValue}`!==x.target.value&&this.onChange.emit(this.label?{data:{[this.label]:x.target.value},$event:x}:{data:x.target.value,$event:x})}ngOnChanges(){this.focus||(this.currentValue=String(this.value).toUpperCase()),this.blurValue=String(this.value).toUpperCase()}ngOnDestroy(){this.unsubscribe()}subscribe(){this.mousemove=(0,tt.R)(document,"mousemove").subscribe(x=>this.handleDrag(x)),this.mouseup=(0,tt.R)(document,"mouseup").subscribe(()=>this.unsubscribe())}unsubscribe(){this.mousemove?.unsubscribe(),this.mouseup?.unsubscribe()}handleMousedown(x){this.dragLabel&&(x.preventDefault(),this.handleDrag(x),this.subscribe())}handleDrag(x){if(this.dragLabel){const q=Math.round(this.value+x.movementX);q>=0&&q<=this.dragMax&&this.onChange.emit({data:{[this.label]:q},$event:x})}}static \u0275fac=function(q){return new(q||N)};static \u0275cmp=l.Xpm({type:N,selectors:[["color-editable-input"]],inputs:{style:"style",label:"label",value:"value",arrowOffset:"arrowOffset",dragLabel:"dragLabel",dragMax:"dragMax",placeholder:"placeholder"},outputs:{onChange:"onChange"},features:[l.TTD],decls:3,vars:6,consts:[[1,"wrap",3,"ngStyle"],["spellCheck","false",3,"ngStyle","value","placeholder","keydown","keyup","focus","focusout"],[3,"id","ngStyle","mousedown",4,"ngIf"],[3,"id","ngStyle","mousedown"]],template:function(q,pe){1&q&&(l.TgZ(0,"div",0)(1,"input",1),l.NdJ("keydown",function(pt){return pe.handleKeydown(pt)})("keyup",function(pt){return pe.handleKeyup(pt)})("focus",function(pt){return pe.handleFocus(pt)})("focusout",function(pt){return pe.handleFocusOut(pt)}),l.qZA(),l.YNc(2,cn,2,3,"span",2),l.qZA()),2&q&&(l.Q6J("ngStyle",pe.wrapStyle),l.xp6(1),l.Q6J("ngStyle",pe.inputStyle)("value",pe.currentValue)("placeholder",pe.placeholder),l.uIk("aria-labelledby",pe.uniqueId),l.xp6(1),l.Q6J("ngIf",pe.label))},dependencies:[n.O5,n.PC],styles:["[_nghost-%COMP%]{display:flex}.wrap[_ngcontent-%COMP%]{position:relative}"],changeDetection:0})}return N})(),at=(()=>{class N{static \u0275fac=function(q){return new(q||N)};static \u0275mod=l.oAB({type:N});static \u0275inj=l.cJS({imports:[n.ez]})}return N})(),Nt=(()=>{class N{hsl;pointer;radius;shadow;hidePointer=!1;direction="horizontal";onChange=new l.vpe;left="0px";top="";ngOnChanges(){"horizontal"===this.direction?this.left=100*this.hsl.h/360+"%":this.top=-100*this.hsl.h/360+100+"%"}handleChange({top:x,left:q,containerHeight:pe,containerWidth:We,$event:pt}){let on;if("vertical"===this.direction){let Qt;Qt=x<0?359:x>pe?0:360*(-100*x/pe+100)/100,this.hsl.h!==Qt&&(on={h:Qt,s:this.hsl.s,l:this.hsl.l,a:this.hsl.a,source:"rgb"})}else{let Qt;Qt=q<0?0:q>We?359:100*q/We*360/100,this.hsl.h!==Qt&&(on={h:Qt,s:this.hsl.s,l:this.hsl.l,a:this.hsl.a,source:"rgb"})}on&&this.onChange.emit({data:on,$event:pt})}static \u0275fac=function(q){return new(q||N)};static \u0275cmp=l.Xpm({type:N,selectors:[["color-hue"]],inputs:{hsl:"hsl",pointer:"pointer",radius:"radius",shadow:"shadow",hidePointer:"hidePointer",direction:"direction"},outputs:{onChange:"onChange"},features:[l.TTD],decls:3,vars:8,consts:[["ngx-color-coordinates","",1,"color-hue-container",3,"coordinatesChange"],["class","color-hue-pointer",3,"left","top",4,"ngIf"],[1,"color-hue-pointer"],[1,"color-hue-slider",3,"ngStyle"]],template:function(q,pe){1&q&&(l.TgZ(0,"div")(1,"div",0),l.NdJ("coordinatesChange",function(pt){return pe.handleChange(pt)}),l.YNc(2,Lt,2,5,"div",1),l.qZA()()),2&q&&(l.Gre("color-hue color-hue-",pe.direction,""),l.Udp("border-radius",pe.radius,"px")("box-shadow",pe.shadow),l.xp6(2),l.Q6J("ngIf",!pe.hidePointer))},dependencies:[n.O5,n.PC,lt],styles:[".color-hue[_ngcontent-%COMP%]{position:absolute;inset:0}.color-hue-container[_ngcontent-%COMP%]{margin:0 2px;position:relative;height:100%}.color-hue-pointer[_ngcontent-%COMP%]{position:absolute}.color-hue-slider[_ngcontent-%COMP%]{margin-top:1px;width:4px;border-radius:1px;height:8px;box-shadow:0 0 2px #0009;background:#fff;transform:translate(-2px)}.color-hue-horizontal[_ngcontent-%COMP%]{background:linear-gradient(to right,#f00 0%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%)}.color-hue-vertical[_ngcontent-%COMP%]{background:linear-gradient(to top,#f00 0%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%)}"],changeDetection:0})}return N})(),Ke=(()=>{class N{static \u0275fac=function(q){return new(q||N)};static \u0275mod=l.oAB({type:N});static \u0275inj=l.cJS({imports:[n.ez,yt]})}return N})(),Yt=(()=>{class N{hsl;hsv;radius;pointer;circle;onChange=new l.vpe;background;pointerTop;pointerLeft;ngOnChanges(){this.background=`hsl(${this.hsl.h}, 100%, 50%)`,this.pointerTop=-100*this.hsv.v+1+100+"%",this.pointerLeft=100*this.hsv.s+"%"}handleChange({top:x,left:q,containerHeight:pe,containerWidth:We,$event:pt}){q<0?q=0:q>We?q=We:x<0?x=0:x>pe&&(x=pe);let Qt=-x/pe+1;Qt=Qt>0?Qt:0,Qt=Qt>1?1:Qt,this.onChange.emit({data:{h:this.hsl.h,s:q/We,v:Qt,a:this.hsl.a,source:"hsva"},$event:pt})}static \u0275fac=function(q){return new(q||N)};static \u0275cmp=l.Xpm({type:N,selectors:[["color-saturation"]],inputs:{hsl:"hsl",hsv:"hsv",radius:"radius",pointer:"pointer",circle:"circle"},outputs:{onChange:"onChange"},features:[l.TTD],decls:5,vars:8,consts:[["ngx-color-coordinates","",1,"color-saturation",3,"coordinatesChange"],[1,"saturation-white"],[1,"saturation-black"],[1,"saturation-pointer",3,"ngStyle"],[1,"saturation-circle",3,"ngStyle"]],template:function(q,pe){1&q&&(l.TgZ(0,"div",0),l.NdJ("coordinatesChange",function(pt){return pe.handleChange(pt)}),l.TgZ(1,"div",1),l._UZ(2,"div",2),l.TgZ(3,"div",3),l._UZ(4,"div",4),l.qZA()()()),2&q&&(l.Udp("background",pe.background),l.xp6(3),l.Udp("top",pe.pointerTop)("left",pe.pointerLeft),l.Q6J("ngStyle",pe.pointer),l.xp6(1),l.Q6J("ngStyle",pe.circle))},dependencies:[n.PC,lt],styles:[".saturation-white[_ngcontent-%COMP%]{background:linear-gradient(to right,#fff,rgba(255,255,255,0));position:absolute;inset:0}.saturation-black[_ngcontent-%COMP%]{background:linear-gradient(to top,#000,rgba(0,0,0,0));position:absolute;inset:0}.color-saturation[_ngcontent-%COMP%]{position:absolute;inset:0}.saturation-pointer[_ngcontent-%COMP%]{position:absolute;cursor:default}.saturation-circle[_ngcontent-%COMP%]{width:4px;height:4px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006;border-radius:50%;cursor:hand;transform:translate(-2px,-4px)}"],changeDetection:0})}return N})(),ge=(()=>{class N{static \u0275fac=function(q){return new(q||N)};static \u0275mod=l.oAB({type:N});static \u0275inj=l.cJS({imports:[n.ez,yt]})}return N})();const ut=function(N,de){return{input:N,label:de}};function Pe(N,de){if(1&N){const x=l.EpF();l.TgZ(0,"div",11)(1,"color-editable-input",12),l.NdJ("onChange",function(pe){l.CHM(x);const We=l.oxw();return l.KtG(We.handleChange(pe))}),l.qZA()()}if(2&N){const x=l.oxw();l.xp6(1),l.Akn(l.WLB(3,ut,x.input,x.label)),l.Q6J("value",x.hex)}}function ee(N,de){if(1&N){const x=l.EpF();l.TgZ(0,"color-editable-input",17),l.NdJ("onChange",function(pe){l.CHM(x);const We=l.oxw(2);return l.KtG(We.handleChange(pe))}),l.qZA()}if(2&N){const x=l.oxw(2);l.Akn(l.WLB(4,ut,x.input,x.label)),l.Q6J("value",x.rgb.a)("arrowOffset",.01)}}function z(N,de){if(1&N){const x=l.EpF();l.TgZ(0,"div",11)(1,"color-editable-input",13),l.NdJ("onChange",function(pe){l.CHM(x);const We=l.oxw();return l.KtG(We.handleChange(pe))}),l.qZA()(),l.TgZ(2,"div",11)(3,"color-editable-input",14),l.NdJ("onChange",function(pe){l.CHM(x);const We=l.oxw();return l.KtG(We.handleChange(pe))}),l.qZA()(),l.TgZ(4,"div",11)(5,"color-editable-input",15),l.NdJ("onChange",function(pe){l.CHM(x);const We=l.oxw();return l.KtG(We.handleChange(pe))}),l.qZA()(),l.TgZ(6,"div",11),l.YNc(7,ee,1,7,"color-editable-input",16),l.qZA()}if(2&N){const x=l.oxw();l.xp6(1),l.Akn(l.WLB(10,ut,x.input,x.label)),l.Q6J("value",x.rgb.r),l.xp6(2),l.Akn(l.WLB(13,ut,x.input,x.label)),l.Q6J("value",x.rgb.g),l.xp6(2),l.Akn(l.WLB(16,ut,x.input,x.label)),l.Q6J("value",x.rgb.b),l.xp6(2),l.Q6J("ngIf",!x.disableAlpha)}}function D(N,de){if(1&N){const x=l.EpF();l.TgZ(0,"color-editable-input",17),l.NdJ("onChange",function(pe){l.CHM(x);const We=l.oxw(2);return l.KtG(We.handleChange(pe))}),l.qZA()}if(2&N){const x=l.oxw(2);l.Akn(l.WLB(4,ut,x.input,x.label)),l.Q6J("value",x.hsl.a)("arrowOffset",.01)}}function B(N,de){if(1&N){const x=l.EpF();l.TgZ(0,"div",11)(1,"color-editable-input",18),l.NdJ("onChange",function(pe){l.CHM(x);const We=l.oxw();return l.KtG(We.handleChange(pe))}),l.qZA()(),l.TgZ(2,"div",11)(3,"color-editable-input",19),l.NdJ("onChange",function(pe){l.CHM(x);const We=l.oxw();return l.KtG(We.handleChange(pe))}),l.qZA()(),l.TgZ(4,"div",11)(5,"color-editable-input",20),l.NdJ("onChange",function(pe){l.CHM(x);const We=l.oxw();return l.KtG(We.handleChange(pe))}),l.qZA()(),l.TgZ(6,"div",11),l.YNc(7,D,1,7,"color-editable-input",16),l.qZA()}if(2&N){const x=l.oxw();l.xp6(1),l.Akn(l.WLB(10,ut,x.input,x.label)),l.Q6J("value",x.round(x.hsl.h)),l.xp6(2),l.Akn(l.WLB(13,ut,x.input,x.label)),l.Q6J("value",x.round(100*x.hsl.s)+"%"),l.xp6(2),l.Akn(l.WLB(16,ut,x.input,x.label)),l.Q6J("value",x.round(100*x.hsl.l)+"%"),l.xp6(2),l.Q6J("ngIf",!x.disableAlpha)}}function he(N,de){if(1&N){const x=l.EpF();l.TgZ(0,"div",12)(1,"color-alpha",13),l.NdJ("onChange",function(pe){l.CHM(x);const We=l.oxw();return l.KtG(We.handleValueChange(pe))}),l.qZA()()}if(2&N){const x=l.oxw();l.xp6(1),l.Q6J("radius",2)("rgb",x.rgb)("hsl",x.hsl)("pointer",x.pointer)}}let X=(()=>{class N{disableAlpha;hsl;rgb;hex;onChange=new l.vpe;view="";input={fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px","text-align":"center"};label={"text-transform":"uppercase",fontSize:"11px","line-height":"11px",color:"#969696","text-align":"center",display:"block",marginTop:"12px"};ngOnInit(){1===this.hsl.a&&"hex"!==this.view?this.view="hex":"rgb"!==this.view&&"hsl"!==this.view&&(this.view="rgb")}toggleViews(){"hex"===this.view?this.view="rgb":"rgb"===this.view?this.view="hsl":"hsl"===this.view&&(this.view=1===this.hsl.a?"hex":"rgb")}round(x){return Math.round(x)}handleChange({data:x,$event:q}){if(x.hex){if(function Cn(N){return new ct(N).isValid}(x.hex)){const pe=new ct(x.hex);this.onChange.emit({data:{hex:this.disableAlpha?pe.toHex():pe.toHex8(),source:"hex"},$event:q})}}else if(x.r||x.g||x.b)this.onChange.emit({data:{r:x.r||this.rgb.r,g:x.g||this.rgb.g,b:x.b||this.rgb.b,source:"rgb"},$event:q});else if(x.a)x.a<0?x.a=0:x.a>1&&(x.a=1),this.disableAlpha&&(x.a=1),this.onChange.emit({data:{h:this.hsl.h,s:this.hsl.s,l:this.hsl.l,a:Math.round(100*x.a)/100,source:"rgb"},$event:q});else if(x.h||x.s||x.l){const pe=x.s&&x.s.replace("%",""),We=x.l&&x.l.replace("%","");this.onChange.emit({data:{h:x.h||this.hsl.h,s:Number(pe||this.hsl.s),l:Number(We||this.hsl.l),source:"hsl"},$event:q})}}static \u0275fac=function(q){return new(q||N)};static \u0275cmp=l.Xpm({type:N,selectors:[["color-chrome-fields"]],inputs:{disableAlpha:"disableAlpha",hsl:"hsl",rgb:"rgb",hex:"hex"},outputs:{onChange:"onChange"},decls:13,vars:3,consts:[[1,"chrome-wrap"],[1,"chrome-fields"],[3,"ngIf"],[1,"chrome-toggle"],[1,"chrome-icon",3,"click"],["icon",""],["viewBox","0 0 24 24",1,"chrome-toggle-svg"],["fill","#333","d","M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"],["iconUp",""],["fill","#333","d","M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15Z"],["iconDown",""],[1,"chrome-field"],["label","hex",3,"value","onChange"],["label","r",3,"value","onChange"],["label","g",3,"value","onChange"],["label","b",3,"value","onChange"],["label","a",3,"style","value","arrowOffset","onChange",4,"ngIf"],["label","a",3,"value","arrowOffset","onChange"],["label","h",3,"value","onChange"],["label","s",3,"value","onChange"],["label","l",3,"value","onChange"]],template:function(q,pe){1&q&&(l.TgZ(0,"div",0)(1,"div",1),l.YNc(2,Pe,2,6,"ng-template",2),l.YNc(3,z,8,19,"ng-template",2),l.YNc(4,B,8,19,"ng-template",2),l.qZA(),l.TgZ(5,"div",3)(6,"div",4,5),l.NdJ("click",function(){return pe.toggleViews()}),l.O4$(),l.TgZ(8,"svg",6),l._UZ(9,"path",7,8)(11,"path",9,10),l.qZA()()()()),2&q&&(l.xp6(2),l.Q6J("ngIf","hex"===pe.view),l.xp6(1),l.Q6J("ngIf","rgb"===pe.view),l.xp6(1),l.Q6J("ngIf","hsl"===pe.view))},dependencies:[n.O5,Tn],styles:[".chrome-wrap[_ngcontent-%COMP%]{padding-top:16px;display:flex}.chrome-fields[_ngcontent-%COMP%]{flex:1;display:flex;margin-left:-6px}.chrome-field[_ngcontent-%COMP%]{padding-left:6px;width:100%}.chrome-toggle[_ngcontent-%COMP%]{width:32px;text-align:right;position:relative}.chrome-icon[_ngcontent-%COMP%]{margin-right:-4px;margin-top:12px;cursor:pointer;position:relative}.chrome-toggle-svg[_ngcontent-%COMP%]{width:24px;height:24px;border:1px transparent solid;border-radius:5px}.chrome-toggle-svg[_ngcontent-%COMP%]:hover{background:#eee}"],changeDetection:0})}return N})(),ne=(()=>{class N extends pn{disableAlpha=!1;circle={width:"12px",height:"12px",borderRadius:"6px",boxShadow:"rgb(255, 255, 255) 0px 0px 0px 1px inset",transform:"translate(-6px, -8px)"};pointer={width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -2px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"};activeBackground;constructor(){super()}afterValidChange(){this.activeBackground=`rgba(${this.rgb.r}, ${this.rgb.g}, ${this.rgb.b}, ${this.disableAlpha?1:this.rgb.a})`}handleValueChange({data:x,$event:q}){this.handleChange(x,q)}static \u0275fac=function(q){return new(q||N)};static \u0275cmp=l.Xpm({type:N,selectors:[["color-chrome"]],inputs:{disableAlpha:"disableAlpha"},features:[l._Bn([{provide:ue.JU,useExisting:(0,l.Gpc)(()=>N),multi:!0},{provide:pn,useExisting:(0,l.Gpc)(()=>N)}]),l.qOj],decls:14,vars:16,consts:[[1,"saturation"],[3,"hsl","hsv","circle","onChange"],[1,"chrome-body"],[1,"chrome-controls"],[1,"chrome-color"],[1,"chrome-swatch"],[1,"chrome-active"],[1,"chrome-toggles"],[1,"chrome-hue"],[3,"radius","hsl","pointer","onChange"],["class","chrome-alpha",4,"ngIf"],[3,"rgb","hsl","hex","disableAlpha","onChange"],[1,"chrome-alpha"],[3,"radius","rgb","hsl","pointer","onChange"]],template:function(q,pe){1&q&&(l.TgZ(0,"div")(1,"div",0)(2,"color-saturation",1),l.NdJ("onChange",function(pt){return pe.handleValueChange(pt)}),l.qZA()(),l.TgZ(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5),l._UZ(7,"div",6)(8,"color-checkboard"),l.qZA()(),l.TgZ(9,"div",7)(10,"div",8)(11,"color-hue",9),l.NdJ("onChange",function(pt){return pe.handleValueChange(pt)}),l.qZA()(),l.YNc(12,he,2,4,"div",10),l.qZA()(),l.TgZ(13,"color-chrome-fields",11),l.NdJ("onChange",function(pt){return pe.handleValueChange(pt)}),l.qZA()()()),2&q&&(l.Gre("chrome-picker ",pe.className,""),l.xp6(2),l.Q6J("hsl",pe.hsl)("hsv",pe.hsv)("circle",pe.circle),l.xp6(5),l.Udp("background",pe.activeBackground),l.xp6(4),l.Q6J("radius",2)("hsl",pe.hsl)("pointer",pe.pointer),l.xp6(1),l.Q6J("ngIf",!pe.disableAlpha),l.xp6(1),l.Q6J("rgb",pe.rgb)("hsl",pe.hsl)("hex",pe.hex)("disableAlpha",pe.disableAlpha))},dependencies:function(){return[n.O5,Jt,ot,Nt,Yt,X]},styles:[".chrome-picker[_ngcontent-%COMP%]{background:#fff;border-radius:2px;box-shadow:0 0 2px #0000004d,0 4px 8px #0000004d;box-sizing:initial;width:225px;font-family:Menlo}.chrome-controls[_ngcontent-%COMP%]{display:flex}.chrome-color[_ngcontent-%COMP%]{width:42px}.chrome-body[_ngcontent-%COMP%]{padding:14px 14px 12px}.chrome-active[_ngcontent-%COMP%]{position:absolute;inset:0;border-radius:20px;box-shadow:inset 0 0 0 1px #0000001a;z-index:2}.chrome-swatch[_ngcontent-%COMP%]{width:28px;height:28px;border-radius:15px;position:relative;overflow:hidden}.saturation[_ngcontent-%COMP%]{width:100%;padding-bottom:55%;position:relative;border-radius:2px 2px 0 0;overflow:hidden}.chrome-toggles[_ngcontent-%COMP%]{flex:1}.chrome-hue[_ngcontent-%COMP%]{height:10px;position:relative;margin-bottom:8px}.chrome-alpha[_ngcontent-%COMP%]{height:10px;position:relative}"],changeDetection:0})}return N})(),Oe=(()=>{class N{static \u0275fac=function(q){return new(q||N)};static \u0275mod=l.oAB({type:N});static \u0275inj=l.cJS({imports:[n.ez,Bt,st,at,Ke,ge]})}return N})();var nt=g(9388);const Et=["button"];function Ot(N,de){1&N&&(l.O4$(),l.TgZ(0,"svg",3),l._UZ(1,"path",4),l.qZA())}const Tt=[[["","mtxColorpickerToggleIcon",""]]],$t=["[mtxColorpickerToggleIcon]"];function qt(N,de){}function Fn(N,de){if(1&N){const x=l.EpF();l.TgZ(0,"color-chrome",2),l.NdJ("onChangeComplete",function(pe){l.CHM(x);const We=l.oxw();return l.KtG(We.picker.select(We.getColorString(pe)))}),l.qZA()}if(2&N){const x=l.oxw();l.Q6J("color",x.picker.selected)}}class $n{constructor(de,x){this.target=de,this.targetElement=x,this.value=this.target.value}}const zn={provide:ue.JU,useExisting:(0,l.Gpc)(()=>ei),multi:!0},Nn={provide:ue.Cf,useExisting:(0,l.Gpc)(()=>ei),multi:!0};let ei=(()=>{class N{set mtxColorpicker(x){x&&(this._picker=x,this._picker.registerInput(this),this._pickerSubscription.unsubscribe(),this._pickerSubscription=this._picker._selectedChanged.subscribe(q=>{this.value=q,this._cvaOnChange(q),this._onTouched(),this.colorInput.emit(new $n(this,this._elementRef.nativeElement)),this.colorChange.emit(new $n(this,this._elementRef.nativeElement))}))}get disabled(){return!!this._disabled}set disabled(x){const q=(0,le.Ig)(x),pe=this._elementRef.nativeElement;this._disabled!==q&&(this._disabled=q,this._disabledChange.emit(q)),q&&this._isInitialized&&pe.blur&&pe.blur()}get value(){return this._value}set value(x){this._value=x,this._formatValue(x),this._valueChange.emit(x)}constructor(x,q){this._elementRef=x,this._formField=q,this.format="hex",this.colorChange=new l.vpe,this.colorInput=new l.vpe,this._disabledChange=new l.vpe,this._valueChange=new l.vpe,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._pickerSubscription=we.w0.EMPTY,this._validator=ue.kI.compose([]),this._lastValueValid=!1}ngAfterViewInit(){this._isInitialized=!0}ngOnDestroy(){this._pickerSubscription.unsubscribe(),this._valueChange.complete(),this._disabledChange.complete()}registerOnValidatorChange(x){this._validatorOnChange=x}validate(x){return this._validator?this._validator(x):null}getPopupConnectionElementRef(){return this.getConnectedOverlayOrigin()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}writeValue(x){this.value=x}registerOnChange(x){this._cvaOnChange=x}registerOnTouched(x){this._onTouched=x}setDisabledState(x){this.disabled=x}_onKeydown(x){this._picker&&x.altKey&&x.keyCode===ke.JH&&!this._elementRef.nativeElement.readOnly&&(this._picker.open(),x.preventDefault())}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_onInput(x){const q=x;this._value=q,this._cvaOnChange(q),this._valueChange.emit(q),this.colorInput.emit(new $n(this,this._elementRef.nativeElement))}_onChange(){this.colorChange.emit(new $n(this,this._elementRef.nativeElement))}getThemePalette(){return this._formField?this._formField.color:void 0}_formatValue(x){this._elementRef.nativeElement.value=x||""}static#e=this.\u0275fac=function(q){return new(q||N)(l.Y36(l.SBq),l.Y36(Le.KE,8))};static#t=this.\u0275dir=l.lG2({type:N,selectors:[["input","mtxColorpicker",""]],hostAttrs:[1,"mtx-colorpicker-input"],hostVars:3,hostBindings:function(q,pe){1&q&&l.NdJ("input",function(pt){return pe._onInput(pt.target.value)})("change",function(){return pe._onChange()})("blur",function(){return pe._onBlur()})("keydown",function(pt){return pe._onKeydown(pt)}),2&q&&(l.Ikx("disabled",pe.disabled),l.uIk("aria-haspopup",pe._picker?"dialog":null)("aria-owns",(null==pe._picker?null:pe._picker.opened)&&pe._picker.id||null))},inputs:{mtxColorpicker:"mtxColorpicker",disabled:"disabled",value:"value",format:"format"},outputs:{colorChange:"colorChange",colorInput:"colorInput"},exportAs:["mtxColorpickerInput"],features:[l._Bn([zn,Nn,{provide:ie.Jk,useExisting:N}])]})}return N})(),di=(()=>{class N{static#e=this.\u0275fac=function(q){return new(q||N)};static#t=this.\u0275dir=l.lG2({type:N,selectors:[["","mtxColorpickerToggleIcon",""]]})}return N})(),mn=(()=>{class N{get disabled(){return null==this._disabled&&this.picker?this.picker.disabled:!!this._disabled}set disabled(x){this._disabled=(0,le.Ig)(x)}constructor(x,q){this._changeDetectorRef=x,this._stateChanges=we.w0.EMPTY;const pe=Number(q);this.tabIndex=pe||0===pe?pe:null}ngOnChanges(x){x.picker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(x){this.picker&&!this.disabled&&(this.picker.open(),x.stopPropagation())}_watchStateChanges(){const x=this.picker?this.picker._disabledChange:(0,fe.of)(),q=this.picker&&this.picker.pickerInput?this.picker.pickerInput._disabledChange:(0,fe.of)(),pe=this.picker?(0,me.T)(this.picker.openedStream,this.picker.closedStream):(0,fe.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,me.T)(x,q,pe).subscribe(()=>this._changeDetectorRef.markForCheck())}static#e=this.\u0275fac=function(q){return new(q||N)(l.Y36(l.sBO),l.$8M("tabindex"))};static#t=this.\u0275cmp=l.Xpm({type:N,selectors:[["mtx-colorpicker-toggle"]],contentQueries:function(q,pe,We){if(1&q&&l.Suo(We,di,5),2&q){let pt;l.iGM(pt=l.CRH())&&(pe._customIcon=pt.first)}},viewQuery:function(q,pe){if(1&q&&l.Gf(Et,5),2&q){let We;l.iGM(We=l.CRH())&&(pe._button=We.first)}},hostAttrs:[1,"mtx-colorpicker-toggle"],hostVars:7,hostBindings:function(q,pe){1&q&&l.NdJ("click",function(pt){return pe._open(pt)}),2&q&&(l.uIk("tabindex",null),l.ekj("mtx-colorpicker-toggle-active",pe.picker&&pe.picker.opened)("mat-accent",pe.picker&&"accent"===pe.picker.color)("mat-warn",pe.picker&&"warn"===pe.picker.color))},inputs:{picker:["for","picker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["mtxColorpickerToggle"],features:[l.TTD],ngContentSelectors:$t,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mtx-colorpicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mtx-colorpicker-toggle-default-icon"],["d","M17.5,12A1.5,1.5 0 0,1 16,10.5A1.5,1.5 0 0,1 17.5,9A1.5,1.5 0 0,1 19,10.5A1.5,1.5 0 0,1 17.5,12M14.5,8A1.5,1.5 0 0,1 13,6.5A1.5,1.5 0 0,1 14.5,5A1.5,1.5 0 0,1 16,6.5A1.5,1.5 0 0,1 14.5,8M9.5,8A1.5,1.5 0 0,1 8,6.5A1.5,1.5 0 0,1 9.5,5A1.5,1.5 0 0,1 11,6.5A1.5,1.5 0 0,1 9.5,8M6.5,12A1.5,1.5 0 0,1 5,10.5A1.5,1.5 0 0,1 6.5,9A1.5,1.5 0 0,1 8,10.5A1.5,1.5 0 0,1 6.5,12M12,3A9,9 0 0,0 3,12A9,9 0 0,0 12,21A1.5,1.5 0 0,0 13.5,19.5C13.5,19.11 13.35,18.76 13.11,18.5C12.88,18.23 12.73,17.88 12.73,17.5A1.5,1.5 0 0,1 14.23,16H16A5,5 0 0,0 21,11C21,6.58 16.97,3 12,3Z"]],template:function(q,pe){1&q&&(l.F$t(Tt),l.TgZ(0,"button",0,1),l.YNc(2,Ot,2,0,"svg",2),l.Hsn(3),l.qZA()),2&q&&(l.Q6J("disabled",pe.disabled)("disableRipple",pe.disableRipple),l.uIk("aria-haspopup",pe.picker?"dialog":null)("aria-label",pe.ariaLabel)("tabindex",pe.disabled?-1:pe.tabIndex),l.xp6(2),l.Q6J("ngIf",!pe._customIcon))},dependencies:[n.O5,Se.RK],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mtx-colorpicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mtx-colorpicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mtx-colorpicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mtx-colorpicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mtx-colorpicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mtx-colorpicker-toggle-default-icon{margin:auto}\n"],encapsulation:2,changeDetection:0})}return N})();const vn={transformPanel:(0,Je.X$)("transformPanel",[(0,Je.eR)("void => enter-dropdown",(0,Je.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Je.F4)([(0,Je.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,Je.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,Je.eR)("* => void",(0,Je.jt)("100ms linear",(0,Je.oB)({opacity:0})))])};let ui=0;const pi=new l.OlP("mtx-colorpicker-scroll-strategy"),ti={provide:pi,deps:[R.aV],useFactory:function kn(N){return()=>N.scrollStrategies.reposition()}},hi=(0,Ue.pj)(class{constructor(N){this._elementRef=N}});let ai=(()=>{class N extends hi{constructor(x,q){super(x),this._changeDetectorRef=q,this._animationState="enter-dropdown",this._animationDone=new Te.x}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._animationDone.complete()}getColorString(x){return{hex:1===x.color.rgb.a?x.color.hex:new ct(x.color.rgb).toHex8String(),rgb:new ct(x.color.rgb).toRgbString(),hsl:new ct(x.color.hsl).toHslString(),hsv:new ct(x.color.hsv).toHsvString()}[this.picker.format]}static#e=this.\u0275fac=function(q){return new(q||N)(l.Y36(l.SBq),l.Y36(l.sBO))};static#t=this.\u0275cmp=l.Xpm({type:N,selectors:[["mtx-colorpicker-content"]],hostAttrs:[1,"mtx-colorpicker-content"],hostVars:1,hostBindings:function(q,pe){1&q&&l.WFA("@transformPanel.done",function(){return pe._animationDone.next()}),2&q&&l.d8E("@transformPanel",pe._animationState)},inputs:{color:"color"},exportAs:["mtxColorpickerContent"],features:[l.qOj],decls:3,vars:3,consts:[[3,"ngIf","ngIfElse","ngTemplateOutlet"],["default",""],[3,"color","onChangeComplete"]],template:function(q,pe){if(1&q&&(l.YNc(0,qt,0,0,"ng-template",0),l.YNc(1,Fn,1,1,"ng-template",null,1,l.W1O)),2&q){const We=l.MAs(2);l.Q6J("ngIf",pe.picker.content)("ngIfElse",We)("ngTemplateOutlet",pe.picker.content)}},dependencies:[n.O5,n.tP,ne],styles:[".mtx-colorpicker-content{display:block;border-radius:4px}\n"],encapsulation:2,data:{animation:[vn.transformPanel]},changeDetection:0})}return N})(),Kn=(()=>{class N{get disabled(){return void 0===this._disabled&&this.pickerInput?this.pickerInput.disabled:!!this._disabled}set disabled(x){const q=(0,le.Ig)(x);q!==this._disabled&&(this._disabled=q,this._disabledChange.next(q))}get restoreFocus(){return this._restoreFocus}set restoreFocus(x){this._restoreFocus=(0,le.Ig)(x)}get opened(){return this._opened}set opened(x){(0,le.Ig)(x)?this.open():this.close()}get color(){return this._color||(this.pickerInput?this.pickerInput.getThemePalette():void 0)}set color(x){this._color=x}get format(){return this._format||this.pickerInput.format}set format(x){this._format=x}get selected(){return this._validSelected}set selected(x){this._validSelected=x}constructor(x,q,pe,We,pt,on){this._overlay=x,this._ngZone=q,this._viewContainerRef=pe,this._dir=pt,this._document=on,this._inputStateChanges=we.w0.EMPTY,this.openedStream=new l.vpe,this.closedStream=new l.vpe,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this._opened=!1,this.id="mtx-colorpicker-"+ui++,this._validSelected="",this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this._disabledChange=new Te.x,this._selectedChanged=new Te.x,this._scrollStrategy=We}ngOnChanges(){}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this._disabledChange.complete()}select(x){this.selected=x,this._selectedChanged.next(x)}registerInput(x){if(this.pickerInput)throw Error("A Colorpicker can only be associated with a single input.");this.pickerInput=x,this._inputStateChanges=x._valueChange.subscribe(q=>this.selected=q)}open(){if(!this._opened&&!this.disabled){if(!this.pickerInput)throw Error("Attempted to open an Colorpicker with no associated input.");this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this._openOverlay(),this._opened=!0,this.openedStream.emit()}}close(){if(!this._opened)return;if(this._componentRef){const q=this._componentRef.instance;q._startExitAnimation(),q._animationDone.pipe((0,be.q)(1)).subscribe(()=>this._destroyOverlay())}const x=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(x)):x()}_forwardContentValues(x){x.picker=this,x.color=this.color}_openOverlay(){this._destroyOverlay();const x=this.pickerInput.getOverlayLabelId(),q=new te.C5(ai,this._viewContainerRef),pe=this._overlayRef=this._overlay.create(new R.X_({positionStrategy:this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:["mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mtx-colorpicker-popup"})),We=pe.overlayElement;We.setAttribute("role","dialog"),x&&We.setAttribute("aria-labelledby",x),this._getCloseStream(pe).subscribe(pt=>{pt&&pt.preventDefault(),this.close()}),this._componentRef=pe.attach(q),this._forwardContentValues(this._componentRef.instance),this._ngZone.onStable.pipe((0,be.q)(1)).subscribe(()=>pe.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDropdownStrategy(){const x=this._overlay.position().flexibleConnectedTo(this.pickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mtx-colorpicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(x)}_setConnectedPositions(x){const q="end"===this.xPosition?"end":"start",pe="start"===q?"end":"start",We="above"===this.yPosition?"bottom":"top",pt="top"===We?"bottom":"top";return x.withPositions([{originX:q,originY:pt,overlayX:q,overlayY:We},{originX:q,originY:We,overlayX:q,overlayY:pt},{originX:pe,originY:pt,overlayX:pe,overlayY:We},{originX:pe,originY:We,overlayX:pe,overlayY:pt}])}_getCloseStream(x){return(0,me.T)(x.backdropClick(),x.detachments(),x.keydownEvents().pipe((0,ye.h)(q=>q.keyCode===ke.hY&&!(0,ke.Vb)(q)||this.pickerInput&&(0,ke.Vb)(q,"altKey")&&q.keyCode===ke.LH)))}static#e=this.\u0275fac=function(q){return new(q||N)(l.Y36(R.aV),l.Y36(l.R0b),l.Y36(l.s_b),l.Y36(pi),l.Y36(nt.Is,8),l.Y36(n.K0,8))};static#t=this.\u0275cmp=l.Xpm({type:N,selectors:[["mtx-colorpicker"]],inputs:{content:"content",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",opened:"opened",color:"color",format:"format"},outputs:{openedStream:"opened",closedStream:"closed"},exportAs:["mtxColorpicker"],features:[l.TTD],decls:0,vars:0,template:function(q,pe){},encapsulation:2,changeDetection:0})}return N})(),mi=(()=>{class N{static#e=this.\u0275fac=function(q){return new(q||N)};static#t=this.\u0275mod=l.oAB({type:N});static#n=this.\u0275inj=l.cJS({providers:[ti],imports:[n.ez,R.U8,S.rt,te.eL,Se.ot,Oe]})}return N})()},6912:(Mt,je,g)=>{g.d(je,{zP:()=>Ii,re:()=>Yi,F3:()=>Wi,lJ:()=>qi});var n=g(5879),l=g(6814),R=g(6223),S=g(9773),te=g(9028),Se=g(7921),le=g(9397),ke=g(3620),ue=g(2181),ie=g(7398),we=g(927),fe=g(6410),me=g(8645),Te=g(2438),Le=g(3019);const Ue=["content"],be=["scroll"],ye=["padding"],Je=function(b){return{searchTerm:b}};function ve(b,j){if(1&b&&(n.TgZ(0,"div",6),n.GkF(1,7),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("ngTemplateOutlet",h.headerTemplate)("ngTemplateOutletContext",n.VKq(2,Je,h.filterValue))}}function H(b,j){if(1&b&&(n.TgZ(0,"div",8),n.GkF(1,7),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("ngTemplateOutlet",h.footerTemplate)("ngTemplateOutletContext",n.VKq(2,Je,h.filterValue))}}const xe=["*"],oe=["searchInput"];function Ie(b,j){if(1&b){const h=n.EpF();n.TgZ(0,"span",15),n.NdJ("click",function(){n.CHM(h);const E=n.oxw().$implicit,De=n.oxw(2);return n.KtG(De.unselect(E))}),n._uU(1,"\xd7"),n.qZA(),n._UZ(2,"span",16)}if(2&b){const h=n.oxw().$implicit,M=n.oxw(2);n.xp6(2),n.Q6J("ngItemLabel",h.label)("escape",M.escapeHTML)}}function Re(b,j){}const $e=function(b,j,h){return{item:b,clear:j,label:h}};function ft(b,j){if(1&b&&(n.TgZ(0,"div",12),n.YNc(1,Ie,3,2,"ng-template",null,13,n.W1O),n.YNc(3,Re,0,0,"ng-template",14),n.qZA()),2&b){const h=j.$implicit,M=n.MAs(2),E=n.oxw(2);n.ekj("ng-value-disabled",h.disabled),n.xp6(3),n.Q6J("ngTemplateOutlet",E.labelTemplate||M)("ngTemplateOutletContext",n.kEZ(4,$e,h.value,E.clearItem,h.label))}}function bt(b,j){if(1&b&&(n.ynx(0),n.YNc(1,ft,4,8,"div",11),n.BQk()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("ngForOf",h.selectedItems)("ngForTrackBy",h.trackByOption)}}function Dt(b,j){}const Ut=function(b,j){return{items:b,clear:j}};function kt(b,j){if(1&b&&n.YNc(0,Dt,0,0,"ng-template",14),2&b){const h=n.oxw();n.Q6J("ngTemplateOutlet",h.multiLabelTemplate)("ngTemplateOutletContext",n.WLB(2,Ut,h.selectedValues,h.clearItem))}}function an(b,j){1&b&&n._UZ(0,"div",19)}function Xe(b,j){}function Ct(b,j){if(1&b&&(n.ynx(0),n.YNc(1,an,1,0,"ng-template",null,17,n.W1O),n.YNc(3,Xe,0,0,"ng-template",18),n.BQk()),2&b){const h=n.MAs(2),M=n.oxw();n.xp6(3),n.Q6J("ngTemplateOutlet",M.loadingSpinnerTemplate||h)}}function W(b,j){if(1&b&&(n.TgZ(0,"span",20)(1,"span",21),n._uU(2,"\xd7"),n.qZA()()),2&b){const h=n.oxw();n.s9C("title",h.clearAllText)}}function P(b,j){if(1&b&&n._UZ(0,"span",27),2&b){const h=n.oxw().$implicit,M=n.oxw(2);n.Q6J("ngItemLabel",h.label)("escape",M.escapeHTML)}}function se(b,j){}const L=function(b,j,h,M){return{item:b,item$:j,index:h,searchTerm:M}};function Ce(b,j){if(1&b){const h=n.EpF();n.TgZ(0,"div",25),n.NdJ("click",function(){const De=n.CHM(h).$implicit,Ve=n.oxw(2);return n.KtG(Ve.toggleItem(De))})("mouseover",function(){const De=n.CHM(h).$implicit,Ve=n.oxw(2);return n.KtG(Ve.onItemHover(De))}),n.YNc(1,P,1,2,"ng-template",null,26,n.W1O),n.YNc(3,se,0,0,"ng-template",14),n.qZA()}if(2&b){const h=j.$implicit,M=n.MAs(2),E=n.oxw(2);n.ekj("ng-option-disabled",h.disabled)("ng-option-selected",h.selected)("ng-optgroup",h.children)("ng-option",!h.children)("ng-option-child",!!h.parent)("ng-option-marked",h===E.itemsList.markedItem),n.uIk("role",h.children?"group":"option")("aria-selected",h.selected)("id",null==h?null:h.htmlId),n.xp6(3),n.Q6J("ngTemplateOutlet",h.children?E.optgroupTemplate||M:E.optionTemplate||M)("ngTemplateOutletContext",n.l5B(17,L,h.value,h,h.index,E.searchTerm))}}function G(b,j){if(1&b&&(n.TgZ(0,"span")(1,"span",30),n._uU(2),n.qZA(),n._uU(3),n.qZA()),2&b){const h=n.oxw(3);n.xp6(2),n.Oqu(h.addTagText),n.xp6(1),n.hij('"',h.searchTerm,'"')}}function $(b,j){}function Be(b,j){if(1&b){const h=n.EpF();n.TgZ(0,"div",28),n.NdJ("mouseover",function(){n.CHM(h);const E=n.oxw(2);return n.KtG(E.itemsList.unmarkItem())})("click",function(){n.CHM(h);const E=n.oxw(2);return n.KtG(E.selectTag())}),n.YNc(1,G,4,2,"ng-template",null,29,n.W1O),n.YNc(3,$,0,0,"ng-template",14),n.qZA()}if(2&b){const h=n.MAs(2),M=n.oxw(2);n.ekj("ng-option-marked",!M.itemsList.markedItem),n.xp6(3),n.Q6J("ngTemplateOutlet",M.tagTemplate||h)("ngTemplateOutletContext",n.VKq(4,Je,M.searchTerm))}}function ae(b,j){if(1&b&&(n.TgZ(0,"div",32),n._uU(1),n.qZA()),2&b){const h=n.oxw(3);n.xp6(1),n.Oqu(h.notFoundText)}}function He(b,j){}function Ze(b,j){if(1&b&&(n.ynx(0),n.YNc(1,ae,2,1,"ng-template",null,31,n.W1O),n.YNc(3,He,0,0,"ng-template",14),n.BQk()),2&b){const h=n.MAs(2),M=n.oxw(2);n.xp6(3),n.Q6J("ngTemplateOutlet",M.notFoundTemplate||h)("ngTemplateOutletContext",n.VKq(2,Je,M.searchTerm))}}function it(b,j){if(1&b&&(n.TgZ(0,"div",32),n._uU(1),n.qZA()),2&b){const h=n.oxw(3);n.xp6(1),n.Oqu(h.typeToSearchText)}}function qe(b,j){}function It(b,j){if(1&b&&(n.ynx(0),n.YNc(1,it,2,1,"ng-template",null,33,n.W1O),n.YNc(3,qe,0,0,"ng-template",18),n.BQk()),2&b){const h=n.MAs(2),M=n.oxw(2);n.xp6(3),n.Q6J("ngTemplateOutlet",M.typeToSearchTemplate||h)}}function Ye(b,j){if(1&b&&(n.TgZ(0,"div",32),n._uU(1),n.qZA()),2&b){const h=n.oxw(3);n.xp6(1),n.Oqu(h.loadingText)}}function ct(b,j){}function Ee(b,j){if(1&b&&(n.ynx(0),n.YNc(1,Ye,2,1,"ng-template",null,34,n.W1O),n.YNc(3,ct,0,0,"ng-template",14),n.BQk()),2&b){const h=n.MAs(2),M=n.oxw(2);n.xp6(3),n.Q6J("ngTemplateOutlet",M.loadingTextTemplate||h)("ngTemplateOutletContext",n.VKq(2,Je,M.searchTerm))}}function tt(b,j){if(1&b){const h=n.EpF();n.TgZ(0,"ng-dropdown-panel",22),n.NdJ("update",function(E){n.CHM(h);const De=n.oxw();return n.KtG(De.viewPortItems=E)})("scroll",function(E){n.CHM(h);const De=n.oxw();return n.KtG(De.scroll.emit(E))})("scrollToEnd",function(E){n.CHM(h);const De=n.oxw();return n.KtG(De.scrollToEnd.emit(E))})("outsideClick",function(){n.CHM(h);const E=n.oxw();return n.KtG(E.close())}),n.ynx(1),n.YNc(2,Ce,4,22,"div",23),n.YNc(3,Be,4,6,"div",24),n.BQk(),n.YNc(4,Ze,4,4,"ng-container",3),n.YNc(5,It,4,1,"ng-container",3),n.YNc(6,Ee,4,4,"ng-container",3),n.qZA()}if(2&b){const h=n.oxw();n.ekj("ng-select-multiple",h.multiple),n.Q6J("virtualScroll",h.virtualScroll)("bufferAmount",h.bufferAmount)("appendTo",h.appendTo)("position",h.dropdownPosition)("headerTemplate",h.headerTemplate)("footerTemplate",h.footerTemplate)("filterValue",h.searchTerm)("items",h.itemsList.filteredItems)("markedItem",h.itemsList.markedItem)("ngClass",h.appendTo?h.classes:null)("id",h.dropdownId),n.xp6(2),n.Q6J("ngForOf",h.viewPortItems)("ngForTrackBy",h.trackByOption),n.xp6(1),n.Q6J("ngIf",h.showAddTag),n.xp6(1),n.Q6J("ngIf",h.showNoItemsFound()),n.xp6(1),n.Q6J("ngIf",h.showTypeToSearch()),n.xp6(1),n.Q6J("ngIf",h.loading&&0===h.itemsList.filteredItems.length)}}const dt=/[&<>"']/g,jt=RegExp(dt.source),Gt={"&":"&","<":"<",">":">",'"':""","'":"'"};function Lt(b){return null!=b}function yn(b){return"object"==typeof b&&Lt(b)}function Z(b){return b instanceof Function}let ce=(()=>{class b{constructor(h){this.element=h,this.escape=!0}ngOnChanges(h){this.element.nativeElement.innerHTML=this.escape?function cn(b){return b&&jt.test(b)?b.replace(dt,j=>Gt[j]):b}(this.ngItemLabel):this.ngItemLabel}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.SBq))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[n.TTD]})}return b})(),Fe=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-option-tmp",""]]})}return b})(),ot=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-optgroup-tmp",""]]})}return b})(),st=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-label-tmp",""]]})}return b})(),lt=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-multi-label-tmp",""]]})}return b})(),yt=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-header-tmp",""]]})}return b})(),Jt=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-footer-tmp",""]]})}return b})(),Bt=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-notfound-tmp",""]]})}return b})(),Vt=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-typetosearch-tmp",""]]})}return b})(),Ft=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-loadingtext-tmp",""]]})}return b})(),Cn=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-tag-tmp",""]]})}return b})(),un=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-loadingspinner-tmp",""]]})}return b})();function nn(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(16*Math.random()|0).toString(16))}const pn={"\u24b6":"A",\uff21:"A",\u00c0:"A",\u00c1:"A",\u00c2:"A",\u1ea6:"A",\u1ea4:"A",\u1eaa:"A",\u1ea8:"A",\u00c3:"A",\u0100:"A",\u0102:"A",\u1eb0:"A",\u1eae:"A",\u1eb4:"A",\u1eb2:"A",\u0226:"A",\u01e0:"A",\u00c4:"A",\u01de:"A",\u1ea2:"A",\u00c5:"A",\u01fa:"A",\u01cd:"A",\u0200:"A",\u0202:"A",\u1ea0:"A",\u1eac:"A",\u1eb6:"A",\u1e00:"A",\u0104:"A",\u023a:"A",\u2c6f:"A",\ua732:"AA",\u00c6:"AE",\u01fc:"AE",\u01e2:"AE",\ua734:"AO",\ua736:"AU",\ua738:"AV",\ua73a:"AV",\ua73c:"AY","\u24b7":"B",\uff22:"B",\u1e02:"B",\u1e04:"B",\u1e06:"B",\u0243:"B",\u0182:"B",\u0181:"B","\u24b8":"C",\uff23:"C",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u00c7:"C",\u1e08:"C",\u0187:"C",\u023b:"C",\ua73e:"C","\u24b9":"D",\uff24:"D",\u1e0a:"D",\u010e:"D",\u1e0c:"D",\u1e10:"D",\u1e12:"D",\u1e0e:"D",\u0110:"D",\u018b:"D",\u018a:"D",\u0189:"D",\ua779:"D",\u01f1:"DZ",\u01c4:"DZ",\u01f2:"Dz",\u01c5:"Dz","\u24ba":"E",\uff25:"E",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u1ec0:"E",\u1ebe:"E",\u1ec4:"E",\u1ec2:"E",\u1ebc:"E",\u0112:"E",\u1e14:"E",\u1e16:"E",\u0114:"E",\u0116:"E",\u00cb:"E",\u1eba:"E",\u011a:"E",\u0204:"E",\u0206:"E",\u1eb8:"E",\u1ec6:"E",\u0228:"E",\u1e1c:"E",\u0118:"E",\u1e18:"E",\u1e1a:"E",\u0190:"E",\u018e:"E","\u24bb":"F",\uff26:"F",\u1e1e:"F",\u0191:"F",\ua77b:"F","\u24bc":"G",\uff27:"G",\u01f4:"G",\u011c:"G",\u1e20:"G",\u011e:"G",\u0120:"G",\u01e6:"G",\u0122:"G",\u01e4:"G",\u0193:"G",\ua7a0:"G",\ua77d:"G",\ua77e:"G","\u24bd":"H",\uff28:"H",\u0124:"H",\u1e22:"H",\u1e26:"H",\u021e:"H",\u1e24:"H",\u1e28:"H",\u1e2a:"H",\u0126:"H",\u2c67:"H",\u2c75:"H",\ua78d:"H","\u24be":"I",\uff29:"I",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u0128:"I",\u012a:"I",\u012c:"I",\u0130:"I",\u00cf:"I",\u1e2e:"I",\u1ec8:"I",\u01cf:"I",\u0208:"I",\u020a:"I",\u1eca:"I",\u012e:"I",\u1e2c:"I",\u0197:"I","\u24bf":"J",\uff2a:"J",\u0134:"J",\u0248:"J","\u24c0":"K",\uff2b:"K",\u1e30:"K",\u01e8:"K",\u1e32:"K",\u0136:"K",\u1e34:"K",\u0198:"K",\u2c69:"K",\ua740:"K",\ua742:"K",\ua744:"K",\ua7a2:"K","\u24c1":"L",\uff2c:"L",\u013f:"L",\u0139:"L",\u013d:"L",\u1e36:"L",\u1e38:"L",\u013b:"L",\u1e3c:"L",\u1e3a:"L",\u0141:"L",\u023d:"L",\u2c62:"L",\u2c60:"L",\ua748:"L",\ua746:"L",\ua780:"L",\u01c7:"LJ",\u01c8:"Lj","\u24c2":"M",\uff2d:"M",\u1e3e:"M",\u1e40:"M",\u1e42:"M",\u2c6e:"M",\u019c:"M","\u24c3":"N",\uff2e:"N",\u01f8:"N",\u0143:"N",\u00d1:"N",\u1e44:"N",\u0147:"N",\u1e46:"N",\u0145:"N",\u1e4a:"N",\u1e48:"N",\u0220:"N",\u019d:"N",\ua790:"N",\ua7a4:"N",\u01ca:"NJ",\u01cb:"Nj","\u24c4":"O",\uff2f:"O",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u1ed2:"O",\u1ed0:"O",\u1ed6:"O",\u1ed4:"O",\u00d5:"O",\u1e4c:"O",\u022c:"O",\u1e4e:"O",\u014c:"O",\u1e50:"O",\u1e52:"O",\u014e:"O",\u022e:"O",\u0230:"O",\u00d6:"O",\u022a:"O",\u1ece:"O",\u0150:"O",\u01d1:"O",\u020c:"O",\u020e:"O",\u01a0:"O",\u1edc:"O",\u1eda:"O",\u1ee0:"O",\u1ede:"O",\u1ee2:"O",\u1ecc:"O",\u1ed8:"O",\u01ea:"O",\u01ec:"O",\u00d8:"O",\u01fe:"O",\u0186:"O",\u019f:"O",\ua74a:"O",\ua74c:"O",\u01a2:"OI",\ua74e:"OO",\u0222:"OU","\u24c5":"P",\uff30:"P",\u1e54:"P",\u1e56:"P",\u01a4:"P",\u2c63:"P",\ua750:"P",\ua752:"P",\ua754:"P","\u24c6":"Q",\uff31:"Q",\ua756:"Q",\ua758:"Q",\u024a:"Q","\u24c7":"R",\uff32:"R",\u0154:"R",\u1e58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1e5a:"R",\u1e5c:"R",\u0156:"R",\u1e5e:"R",\u024c:"R",\u2c64:"R",\ua75a:"R",\ua7a6:"R",\ua782:"R","\u24c8":"S",\uff33:"S",\u1e9e:"S",\u015a:"S",\u1e64:"S",\u015c:"S",\u1e60:"S",\u0160:"S",\u1e66:"S",\u1e62:"S",\u1e68:"S",\u0218:"S",\u015e:"S",\u2c7e:"S",\ua7a8:"S",\ua784:"S","\u24c9":"T",\uff34:"T",\u1e6a:"T",\u0164:"T",\u1e6c:"T",\u021a:"T",\u0162:"T",\u1e70:"T",\u1e6e:"T",\u0166:"T",\u01ac:"T",\u01ae:"T",\u023e:"T",\ua786:"T",\ua728:"TZ","\u24ca":"U",\uff35:"U",\u00d9:"U",\u00da:"U",\u00db:"U",\u0168:"U",\u1e78:"U",\u016a:"U",\u1e7a:"U",\u016c:"U",\u00dc:"U",\u01db:"U",\u01d7:"U",\u01d5:"U",\u01d9:"U",\u1ee6:"U",\u016e:"U",\u0170:"U",\u01d3:"U",\u0214:"U",\u0216:"U",\u01af:"U",\u1eea:"U",\u1ee8:"U",\u1eee:"U",\u1eec:"U",\u1ef0:"U",\u1ee4:"U",\u1e72:"U",\u0172:"U",\u1e76:"U",\u1e74:"U",\u0244:"U","\u24cb":"V",\uff36:"V",\u1e7c:"V",\u1e7e:"V",\u01b2:"V",\ua75e:"V",\u0245:"V",\ua760:"VY","\u24cc":"W",\uff37:"W",\u1e80:"W",\u1e82:"W",\u0174:"W",\u1e86:"W",\u1e84:"W",\u1e88:"W",\u2c72:"W","\u24cd":"X",\uff38:"X",\u1e8a:"X",\u1e8c:"X","\u24ce":"Y",\uff39:"Y",\u1ef2:"Y",\u00dd:"Y",\u0176:"Y",\u1ef8:"Y",\u0232:"Y",\u1e8e:"Y",\u0178:"Y",\u1ef6:"Y",\u1ef4:"Y",\u01b3:"Y",\u024e:"Y",\u1efe:"Y","\u24cf":"Z",\uff3a:"Z",\u0179:"Z",\u1e90:"Z",\u017b:"Z",\u017d:"Z",\u1e92:"Z",\u1e94:"Z",\u01b5:"Z",\u0224:"Z",\u2c7f:"Z",\u2c6b:"Z",\ua762:"Z","\u24d0":"a",\uff41:"a",\u1e9a:"a",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u1ea7:"a",\u1ea5:"a",\u1eab:"a",\u1ea9:"a",\u00e3:"a",\u0101:"a",\u0103:"a",\u1eb1:"a",\u1eaf:"a",\u1eb5:"a",\u1eb3:"a",\u0227:"a",\u01e1:"a",\u00e4:"a",\u01df:"a",\u1ea3:"a",\u00e5:"a",\u01fb:"a",\u01ce:"a",\u0201:"a",\u0203:"a",\u1ea1:"a",\u1ead:"a",\u1eb7:"a",\u1e01:"a",\u0105:"a",\u2c65:"a",\u0250:"a",\ua733:"aa",\u00e6:"ae",\u01fd:"ae",\u01e3:"ae",\ua735:"ao",\ua737:"au",\ua739:"av",\ua73b:"av",\ua73d:"ay","\u24d1":"b",\uff42:"b",\u1e03:"b",\u1e05:"b",\u1e07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24d2":"c",\uff43:"c",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u00e7:"c",\u1e09:"c",\u0188:"c",\u023c:"c",\ua73f:"c",\u2184:"c","\u24d3":"d",\uff44:"d",\u1e0b:"d",\u010f:"d",\u1e0d:"d",\u1e11:"d",\u1e13:"d",\u1e0f:"d",\u0111:"d",\u018c:"d",\u0256:"d",\u0257:"d",\ua77a:"d",\u01f3:"dz",\u01c6:"dz","\u24d4":"e",\uff45:"e",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u1ec1:"e",\u1ebf:"e",\u1ec5:"e",\u1ec3:"e",\u1ebd:"e",\u0113:"e",\u1e15:"e",\u1e17:"e",\u0115:"e",\u0117:"e",\u00eb:"e",\u1ebb:"e",\u011b:"e",\u0205:"e",\u0207:"e",\u1eb9:"e",\u1ec7:"e",\u0229:"e",\u1e1d:"e",\u0119:"e",\u1e19:"e",\u1e1b:"e",\u0247:"e",\u025b:"e",\u01dd:"e","\u24d5":"f",\uff46:"f",\u1e1f:"f",\u0192:"f",\ua77c:"f","\u24d6":"g",\uff47:"g",\u01f5:"g",\u011d:"g",\u1e21:"g",\u011f:"g",\u0121:"g",\u01e7:"g",\u0123:"g",\u01e5:"g",\u0260:"g",\ua7a1:"g",\u1d79:"g",\ua77f:"g","\u24d7":"h",\uff48:"h",\u0125:"h",\u1e23:"h",\u1e27:"h",\u021f:"h",\u1e25:"h",\u1e29:"h",\u1e2b:"h",\u1e96:"h",\u0127:"h",\u2c68:"h",\u2c76:"h",\u0265:"h",\u0195:"hv","\u24d8":"i",\uff49:"i",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u0129:"i",\u012b:"i",\u012d:"i",\u00ef:"i",\u1e2f:"i",\u1ec9:"i",\u01d0:"i",\u0209:"i",\u020b:"i",\u1ecb:"i",\u012f:"i",\u1e2d:"i",\u0268:"i",\u0131:"i","\u24d9":"j",\uff4a:"j",\u0135:"j",\u01f0:"j",\u0249:"j","\u24da":"k",\uff4b:"k",\u1e31:"k",\u01e9:"k",\u1e33:"k",\u0137:"k",\u1e35:"k",\u0199:"k",\u2c6a:"k",\ua741:"k",\ua743:"k",\ua745:"k",\ua7a3:"k","\u24db":"l",\uff4c:"l",\u0140:"l",\u013a:"l",\u013e:"l",\u1e37:"l",\u1e39:"l",\u013c:"l",\u1e3d:"l",\u1e3b:"l",\u017f:"l",\u0142:"l",\u019a:"l",\u026b:"l",\u2c61:"l",\ua749:"l",\ua781:"l",\ua747:"l",\u01c9:"lj","\u24dc":"m",\uff4d:"m",\u1e3f:"m",\u1e41:"m",\u1e43:"m",\u0271:"m",\u026f:"m","\u24dd":"n",\uff4e:"n",\u01f9:"n",\u0144:"n",\u00f1:"n",\u1e45:"n",\u0148:"n",\u1e47:"n",\u0146:"n",\u1e4b:"n",\u1e49:"n",\u019e:"n",\u0272:"n",\u0149:"n",\ua791:"n",\ua7a5:"n",\u01cc:"nj","\u24de":"o",\uff4f:"o",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u1ed3:"o",\u1ed1:"o",\u1ed7:"o",\u1ed5:"o",\u00f5:"o",\u1e4d:"o",\u022d:"o",\u1e4f:"o",\u014d:"o",\u1e51:"o",\u1e53:"o",\u014f:"o",\u022f:"o",\u0231:"o",\u00f6:"o",\u022b:"o",\u1ecf:"o",\u0151:"o",\u01d2:"o",\u020d:"o",\u020f:"o",\u01a1:"o",\u1edd:"o",\u1edb:"o",\u1ee1:"o",\u1edf:"o",\u1ee3:"o",\u1ecd:"o",\u1ed9:"o",\u01eb:"o",\u01ed:"o",\u00f8:"o",\u01ff:"o",\u0254:"o",\ua74b:"o",\ua74d:"o",\u0275:"o",\u01a3:"oi",\u0223:"ou",\ua74f:"oo","\u24df":"p",\uff50:"p",\u1e55:"p",\u1e57:"p",\u01a5:"p",\u1d7d:"p",\ua751:"p",\ua753:"p",\ua755:"p","\u24e0":"q",\uff51:"q",\u024b:"q",\ua757:"q",\ua759:"q","\u24e1":"r",\uff52:"r",\u0155:"r",\u1e59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1e5b:"r",\u1e5d:"r",\u0157:"r",\u1e5f:"r",\u024d:"r",\u027d:"r",\ua75b:"r",\ua7a7:"r",\ua783:"r","\u24e2":"s",\uff53:"s",\u00df:"s",\u015b:"s",\u1e65:"s",\u015d:"s",\u1e61:"s",\u0161:"s",\u1e67:"s",\u1e63:"s",\u1e69:"s",\u0219:"s",\u015f:"s",\u023f:"s",\ua7a9:"s",\ua785:"s",\u1e9b:"s","\u24e3":"t",\uff54:"t",\u1e6b:"t",\u1e97:"t",\u0165:"t",\u1e6d:"t",\u021b:"t",\u0163:"t",\u1e71:"t",\u1e6f:"t",\u0167:"t",\u01ad:"t",\u0288:"t",\u2c66:"t",\ua787:"t",\ua729:"tz","\u24e4":"u",\uff55:"u",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u0169:"u",\u1e79:"u",\u016b:"u",\u1e7b:"u",\u016d:"u",\u00fc:"u",\u01dc:"u",\u01d8:"u",\u01d6:"u",\u01da:"u",\u1ee7:"u",\u016f:"u",\u0171:"u",\u01d4:"u",\u0215:"u",\u0217:"u",\u01b0:"u",\u1eeb:"u",\u1ee9:"u",\u1eef:"u",\u1eed:"u",\u1ef1:"u",\u1ee5:"u",\u1e73:"u",\u0173:"u",\u1e77:"u",\u1e75:"u",\u0289:"u","\u24e5":"v",\uff56:"v",\u1e7d:"v",\u1e7f:"v",\u028b:"v",\ua75f:"v",\u028c:"v",\ua761:"vy","\u24e6":"w",\uff57:"w",\u1e81:"w",\u1e83:"w",\u0175:"w",\u1e87:"w",\u1e85:"w",\u1e98:"w",\u1e89:"w",\u2c73:"w","\u24e7":"x",\uff58:"x",\u1e8b:"x",\u1e8d:"x","\u24e8":"y",\uff59:"y",\u1ef3:"y",\u00fd:"y",\u0177:"y",\u1ef9:"y",\u0233:"y",\u1e8f:"y",\u00ff:"y",\u1ef7:"y",\u1e99:"y",\u1ef5:"y",\u01b4:"y",\u024f:"y",\u1eff:"y","\u24e9":"z",\uff5a:"z",\u017a:"z",\u1e91:"z",\u017c:"z",\u017e:"z",\u1e93:"z",\u1e95:"z",\u01b6:"z",\u0225:"z",\u0240:"z",\u2c6c:"z",\ua763:"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038a:"\u0399",\u03aa:"\u0399",\u038c:"\u039f",\u038e:"\u03a5",\u03ab:"\u03a5",\u038f:"\u03a9",\u03ac:"\u03b1",\u03ad:"\u03b5",\u03ae:"\u03b7",\u03af:"\u03b9",\u03ca:"\u03b9",\u0390:"\u03b9",\u03cc:"\u03bf",\u03cd:"\u03c5",\u03cb:"\u03c5",\u03b0:"\u03c5",\u03c9:"\u03c9",\u03c2:"\u03c3"};function bn(b){return b.replace(/[^\u0000-\u007E]/g,h=>pn[h]||h)}class In{constructor(j,h){this._ngSelect=j,this._selectionModel=h,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let j=this.selectedItems.length-1;for(;j>=0;j--){const h=this.selectedItems[j];if(!h.disabled)return h}return null}setItems(j){this._items=j.map((h,M)=>this.mapItem(h,M)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(j){if(j.selected||this.maxItemsSelected)return;const h=this._ngSelect.multiple;h||this.clearSelected(),this._selectionModel.select(j,h,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(j)}unselect(j){j.selected&&(this._selectionModel.unselect(j,this._ngSelect.multiple),this._ngSelect.hideSelected&&Lt(j.index)&&this._ngSelect.multiple&&this._showSelected(j))}findItem(j){let h;return h=this._ngSelect.compareWith?M=>this._ngSelect.compareWith(M.value,j):this._ngSelect.bindValue?M=>!M.children&&this.resolveNested(M.value,this._ngSelect.bindValue)===j:M=>M.value===j||!M.children&&M.label&&M.label===this.resolveNested(j,this._ngSelect.bindLabel),this._items.find(M=>h(M))}addItem(j){const h=this.mapItem(j,this._items.length);return this._items.push(h),this._filteredItems.push(h),h}clearSelected(j=!1){this._selectionModel.clear(j),this._items.forEach(h=>{h.selected=j&&h.selected&&h.disabled,h.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(j){return j=bn(j).toLocaleLowerCase(),this.filteredItems.find(h=>bn(h.label).toLocaleLowerCase().substr(0,j.length)===j)}filter(j){if(!j)return void this.resetFilteredItems();this._filteredItems=[],j=this._ngSelect.searchFn?j:bn(j).toLocaleLowerCase();const h=this._ngSelect.searchFn||this._defaultSearchFn,M=this._ngSelect.hideSelected;for(const E of Array.from(this._groups.keys())){const De=[];for(const Ve of this._groups.get(E))M&&(Ve.parent&&Ve.parent.selected||Ve.selected)||h(j,this._ngSelect.searchFn?Ve.value:Ve)&&De.push(Ve);if(De.length>0){const[Ve]=De.slice(-1);if(Ve.parent){const Pt=this._items.find(hn=>hn===Ve.parent);this._filteredItems.push(Pt)}this._filteredItems.push(...De)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected&&this.selectedItems.length>0?this._items.filter(j=>!j.selected):this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(j){this._markedIndex=this._filteredItems.indexOf(j)}markSelectedOrDefault(j){if(0===this._filteredItems.length)return;const h=this._getLastMarkedIndex();this._markedIndex=h>-1?h:j?this.filteredItems.findIndex(M=>!M.disabled):-1}resolveNested(j,h){if(!yn(j))return j;if(-1===h.indexOf("."))return j[h];{const M=h.split(".");let E=j;for(let De=0,Ve=M.length;De-1===this.selectedItems.indexOf(h)))}_showSelected(j){if(this._filteredItems.push(j),j.parent){const h=j.parent;this._filteredItems.find(E=>E===h)||this._filteredItems.push(h)}else if(j.children)for(const h of j.children)h.selected=!1,this._filteredItems.push(h);this._filteredItems=[...this._filteredItems.sort((h,M)=>h.index-M.index)]}_hideSelected(j){this._filteredItems=this._filteredItems.filter(h=>h!==j),j.parent?j.parent.children.every(M=>M.selected)&&(this._filteredItems=this._filteredItems.filter(M=>M!==j.parent)):j.children&&(this._filteredItems=this.filteredItems.filter(h=>h.parent!==j))}_defaultSearchFn(j,h){return bn(h.label).toLocaleLowerCase().indexOf(j)>-1}_getNextItemIndex(j){return j>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(j){0===this._filteredItems.length||this._filteredItems.every(h=>h.disabled)||(this._markedIndex=this._getNextItemIndex(j),this.markedItem.disabled&&this._stepToItem(j))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&void 0===this.markedItem)return-1;const j=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&j<0?-1:Math.max(this.markedIndex,j)}_groupBy(j,h){const M=new Map;if(0===j.length)return M;if(Array.isArray(j[0].value[h])){for(const Ve of j){const Pt=(Ve.value[h]||[]).map((hn,Zt)=>this.mapItem(hn,Zt));M.set(Ve,Pt)}return M}const E=Z(this._ngSelect.groupBy),De=Ve=>{const Pt=E?h(Ve.value):Ve.value[h];return Lt(Pt)?Pt:void 0};for(const Ve of j){const Pt=De(Ve),hn=M.get(Pt);hn?hn.push(Ve):M.set(Pt,[Ve])}return M}_flatten(j){const h=Z(this._ngSelect.groupBy),M=[];for(const E of Array.from(j.keys())){let De=M.length;if(void 0===E){const Hn=j.get(void 0)||[];M.push(...Hn.map(St=>(St.index=De++,St)));continue}const Ve=yn(E),Pt={label:Ve?"":String(E),children:void 0,parent:null,index:De++,disabled:!this._ngSelect.selectableGroup,htmlId:nn()},hn=h?this._ngSelect.bindLabel:this._ngSelect.groupBy,Zt=this._ngSelect.groupValue||(()=>Ve?E.value:{[hn]:E}),Pn=j.get(E).map(Hn=>(Hn.parent=Pt,Hn.children=void 0,Hn.index=De++,Hn));Pt.children=Pn,Pt.value=Zt(E,Pn.map(Hn=>Hn.value)),M.push(Pt),M.push(...Pn)}return M}}var Tn=function(b){return b[b.Tab=9]="Tab",b[b.Enter=13]="Enter",b[b.Esc=27]="Esc",b[b.Space=32]="Space",b[b.ArrowUp=38]="ArrowUp",b[b.ArrowDown=40]="ArrowDown",b[b.Backspace=8]="Backspace",b}(Tn||{});let at=(()=>{class b{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(h,M,E){const De=this._dimensions,Ve=De.itemHeight*M,hn=Math.max(0,h)/Ve*M;let Zt=Math.min(M,Math.ceil(hn)+(De.itemsPerViewport+1));const Hn=Math.max(0,Zt-De.itemsPerViewport);let St=Math.min(Hn,Math.floor(hn)),On=De.itemHeight*Math.ceil(St)-De.itemHeight*Math.min(St,E);return On=isNaN(On)?0:On,St=isNaN(St)?-1:St,Zt=isNaN(Zt)?-1:Zt,St-=E,St=Math.max(0,St),Zt+=E,Zt=Math.min(M,Zt),{topPadding:On,scrollHeight:Ve,start:St,end:Zt}}setDimensions(h,M){const E=Math.max(1,Math.floor(M/h));this._dimensions={itemHeight:h,panelHeight:M,itemsPerViewport:E}}getScrollTo(h,M,E){const{panelHeight:De}=this.dimensions,Ve=h+M,hn=E+De;return De>=Ve&&E===h?null:Ve>hn?E+Ve-hn:h<=E?h:null}static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275prov=n.Yz7({token:b,factory:b.\u0275fac})}return b})();const Nt=["top","right","bottom","left"],Ke=typeof requestAnimationFrame<"u"?we.Z:fe.E;let mt=(()=>{class b{constructor(h,M,E,De,Ve){this._renderer=h,this._zone=M,this._panelService=E,this._document=Ve,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new n.vpe,this.scroll=new n.vpe,this.scrollToEnd=new n.vpe,this.outsideClick=new n.vpe,this._destroy$=new me.x,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=De.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(h){h!==this._itemsLength&&(this._itemsLength=h,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){const{itemHeight:h,panelHeight:M}=this._panelService.dimensions,E=this.markedItem.index*h;return M>E?0:E}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(h){if(h.items){const M=h.items;this._onItemsChange(M.currentValue,M.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(h,M=!1){if(!h)return;const E=this.items.indexOf(h);if(E<0||E>=this.itemsLength)return;let De;if(this.virtualScroll){const Ve=this._panelService.dimensions.itemHeight;De=this._panelService.getScrollTo(E*Ve,Ve,this._lastScrollPosition)}else{const Ve=this._dropdown.querySelector(`#${h.htmlId}`);De=this._panelService.getScrollTo(Ve.offsetTop,Ve.clientHeight,M?Ve.offsetTop:this._lastScrollPosition)}Lt(De)&&(this._scrollablePanel.scrollTop=De)}scrollToTag(){const h=this._scrollablePanel;h.scrollTop=h.scrollHeight-h.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),Nt.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(h){Nt.forEach(E=>{const De=`ng-select-${E}`;this._renderer.removeClass(this._dropdown,De),this._renderer.removeClass(this._select,De)});const M=`ng-select-${h}`;this._renderer.addClass(this._dropdown,M),this._renderer.addClass(this._select,M)}_handleScroll(){this._zone.runOutsideAngular(()=>{(0,Te.R)(this.scrollElementRef.nativeElement,"scroll").pipe((0,S.R)(this._destroy$),(0,te.e)(0,Ke)).subscribe(h=>{const M=h.path||h.composedPath&&h.composedPath();this._onContentScrolled(M&&0!==M.length?M[0].scrollTop:h.target.scrollTop)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{(0,Le.T)((0,Te.R)(this._document,"touchstart",{capture:!0}),(0,Te.R)(this._document,"mousedown",{capture:!0})).pipe((0,S.R)(this._destroy$)).subscribe(h=>this._checkToClose(h))})}_checkToClose(h){if(this._select.contains(h.target)||this._dropdown.contains(h.target))return;const M=h.path||h.composedPath&&h.composedPath();h.target&&h.target.shadowRoot&&M&&M[0]&&this._select.contains(M[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(h,M){this.items=h||[],this._scrollToEndFired=!1,this.itemsLength=h.length,this.virtualScroll?this._updateItemsRange(M):(this._setVirtualHeight(),this._updateItems(M))}_updateItems(h){this.update.emit(this.items),!1!==h&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._panelService.setDimensions(0,this._scrollablePanel.clientHeight),this._handleDropdownPosition(),this.scrollTo(this.markedItem,h)})})}_updateItemsRange(h){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{h?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(h){this.virtualScroll&&this._renderItemsRange(h),this._lastScrollPosition=h,this._fireScrollToEnd(h)}_updateVirtualHeight(h){this._updateScrollHeight&&(this._virtualPadding.style.height=`${h}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(h=null){if(h&&this._lastScrollPosition===h)return;const M=this._panelService.calculateItems(h=h||this._scrollablePanel.scrollTop,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(M.scrollHeight),this._contentPanel.style.transform=`translateY(${M.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(M.start,M.end)),this.scroll.emit({start:M.start,end:M.end})}),Lt(h)&&0===this._lastScrollPosition&&(this._scrollablePanel.scrollTop=h,this._lastScrollPosition=h)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);const[h]=this.items;return this.update.emit([h]),Promise.resolve().then(()=>{const E=this._dropdown.querySelector(`#${h.htmlId}`).clientHeight;return this._virtualPadding.style.height=E*this.itemsLength+"px",this._panelService.setDimensions(E,this._scrollablePanel.clientHeight),this._panelService.dimensions})}_fireScrollToEnd(h){this._scrollToEndFired||0===h||h+this._dropdown.clientHeight>=(this.virtualScroll?this._virtualPadding:this._contentPanel).clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(h){if("auto"!==this.position)return this.position;const M=this._select.getBoundingClientRect(),E=document.documentElement.scrollTop||document.body.scrollTop;return M.top+window.pageYOffset+M.height+h.getBoundingClientRect().height>E+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){const h=this._select.getBoundingClientRect(),M=this._parent.getBoundingClientRect();this._dropdown.style.left=h.left-M.left+"px",this._dropdown.style.width=h.width+"px",this._dropdown.style.minWidth=h.width+"px"}_updateYPosition(){const h=this._select.getBoundingClientRect(),M=this._parent.getBoundingClientRect(),E=h.height;"top"===this._currentPosition?(this._dropdown.style.bottom=M.bottom-h.bottom+E+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=h.top-M.top+E+"px",this._dropdown.style.bottom="auto")}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{(0,Te.R)(this._dropdown,"mousedown").pipe((0,S.R)(this._destroy$)).subscribe(h=>{"INPUT"!==h.target.tagName&&h.preventDefault()})})}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Qsj),n.Y36(n.R0b),n.Y36(at),n.Y36(n.SBq),n.Y36(l.K0,8))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["ng-dropdown-panel"]],viewQuery:function(M,E){if(1&M&&(n.Gf(Ue,7,n.SBq),n.Gf(be,7,n.SBq),n.Gf(ye,7,n.SBq)),2&M){let De;n.iGM(De=n.CRH())&&(E.contentElementRef=De.first),n.iGM(De=n.CRH())&&(E.scrollElementRef=De.first),n.iGM(De=n.CRH())&&(E.paddingElementRef=De.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[n.TTD],ngContentSelectors:xe,decls:9,vars:6,consts:[["class","ng-dropdown-header",4,"ngIf"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],["scroll",""],["padding",""],["content",""],["class","ng-dropdown-footer",4,"ngIf"],[1,"ng-dropdown-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-dropdown-footer"]],template:function(M,E){1&M&&(n.F$t(),n.YNc(0,ve,2,4,"div",0),n.TgZ(1,"div",1,2),n._UZ(3,"div",null,3),n.TgZ(5,"div",null,4),n.Hsn(7),n.qZA()(),n.YNc(8,H,2,4,"div",5)),2&M&&(n.Q6J("ngIf",E.headerTemplate),n.xp6(3),n.ekj("total-padding",E.virtualScroll),n.xp6(2),n.ekj("scrollable-content",E.virtualScroll&&E.items.length),n.xp6(3),n.Q6J("ngIf",E.footerTemplate))},dependencies:[l.O5,l.tP],encapsulation:2,changeDetection:0})}return b})(),gt=(()=>{class b{get disabled(){return this._disabled}set disabled(h){this._disabled=this._isDisabled(h)}constructor(h){this.elementRef=h,this.stateChange$=new me.x,this._disabled=!1}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(h){h.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}_isDisabled(h){return null!=h&&"false"!=`${h}`}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.SBq))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["ng-option"]],inputs:{value:"value",disabled:"disabled"},features:[n.TTD],ngContentSelectors:xe,decls:1,vars:0,template:function(M,E){1&M&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0})}return b})(),Yt=(()=>{class b{constructor(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275prov=n.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})(),ge=(()=>{class b{warn(h){console.warn(h)}static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275prov=n.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})();const J=new n.OlP("ng-select-selection-model");let I=(()=>{class b{get items(){return this._items}set items(h){null===h&&(h=[]),this._itemsAreUsed=!0,this._items=h}get compareWith(){return this._compareWith}set compareWith(h){if(null!=h&&!Z(h))throw Error("`compareWith` must be a function.");this._compareWith=h}get clearSearchOnAdd(){return Lt(this._clearSearchOnAdd)?this._clearSearchOnAdd:Lt(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(h){this._clearSearchOnAdd=h}get deselectOnClick(){return Lt(this._deselectOnClick)?this._deselectOnClick:Lt(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple}set deselectOnClick(h){this._deselectOnClick=h}get disabled(){return this.readonly||this._disabled}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}constructor(h,M,E,De,Ve,Pt,hn){this.classes=h,this.autoFocus=M,this.config=E,this._cd=Pt,this._console=hn,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=Zt=>!0,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new n.vpe,this.focusEvent=new n.vpe,this.changeEvent=new n.vpe,this.openEvent=new n.vpe,this.closeEvent=new n.vpe,this.searchEvent=new n.vpe,this.clearEvent=new n.vpe,this.addEvent=new n.vpe,this.removeEvent=new n.vpe,this.scroll=new n.vpe,this.scrollToEnd=new n.vpe,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=nn(),this.escapeHTML=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new me.x,this._keyPress$=new me.x,this._onChange=Zt=>{},this._onTouched=()=>{},this.clearItem=Zt=>{const Pn=this.selectedItems.find(Hn=>Hn.value===Zt);this.unselect(Pn)},this.trackByOption=(Zt,Pn)=>this.trackByFn?this.trackByFn(Pn.value):Pn,this._mergeGlobalConfig(E),this.itemsList=new In(this,De()),this.element=Ve.nativeElement}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(h=>h.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(h){h.multiple&&this.itemsList.clearSelected(),h.items&&this._setItems(h.items.currentValue||[]),h.isOpen&&(this._manualOpen=Lt(h.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),Lt(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(h){if(Tn[h.which]){if(!1===this.keyDownFn(h))return;this.handleKeyCode(h)}else h.key&&1===h.key.length&&this._keyPress$.next(h.key.toLocaleLowerCase())}handleKeyCode(h){switch(h.which){case Tn.ArrowDown:this._handleArrowDown(h);break;case Tn.ArrowUp:this._handleArrowUp(h);break;case Tn.Space:this._handleSpace(h);break;case Tn.Enter:this._handleEnter(h);break;case Tn.Tab:this._handleTab(h);break;case Tn.Esc:this.close(),h.preventDefault();break;case Tn.Backspace:this._handleBackspace()}}handleMousedown(h){const M=h.target;"INPUT"!==M.tagName&&h.preventDefault(),M.classList.contains("ng-clear-wrapper")?this.handleClearClick():M.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():M.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(h){this.itemsList.clearSelected(),this._handleWriteValue(h),this._cd.markForCheck()}registerOnChange(h){this._onChange=h}registerOnTouched(h){this._onTouched=h}setDisabledState(h){this._disabled=h,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(h){!h||h.disabled||this.disabled||(this.deselectOnClick&&h.selected?this.unselect(h):this.select(h),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}select(h){h.selected||(this.itemsList.select(h),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(h.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.readOnly||this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(h){h&&(this.itemsList.unselect(h),this.focus(),this._updateNgModel(),this.removeEvent.emit(h))}selectTag(){let h;h=Z(this.addTag)?this.addTag(this.searchTerm):this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};const M=E=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(E,null):this.itemsList.addItem(E);!function et(b){return b instanceof Promise}(h)?h&&this.select(M(h)):h.then(E=>this.select(M(E))).catch(()=>{})}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}get showAddTag(){if(!this._validTerm)return!1;const h=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(M=>M.label.toLowerCase()===h)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(M=>M.label.toLowerCase()===h))&&!this.loading}showNoItemsFound(){const h=0===this.itemsList.filteredItems.length;return(h&&!this._isTypeahead&&!this.loading||h&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(h){this._isComposing=!1,!this.searchWhileComposing&&this.filter(h)}filter(h){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=h,this._isTypeahead&&(this._validTerm||0===this.minTermLength)&&this.typeahead.next(h),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:h,items:this.itemsList.filteredItems.map(M=>M.value)}),this.open())}onInputFocus(h){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(h),this.focused=!0)}onInputBlur(h){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(h),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(h){h.disabled||this.itemsList.markItem(h)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){const h=this.selectedItems&&this.selectedItems[0];this.searchTerm=h&&h.label||null}_setItems(h){const M=h[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=Lt(M)?!yn(M):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(h),h.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&Lt(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){const h=E=>{this.items=E.map(De=>({$ngOptionValue:De.value,$ngOptionLabel:De.elementRef.nativeElement.innerHTML,disabled:De.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},M=()=>{const E=(0,Le.T)(this.ngOptions.changes,this._destroy$);(0,Le.T)(...this.ngOptions.map(De=>De.stateChange$)).pipe((0,S.R)(E)).subscribe(De=>{const Ve=this.itemsList.findItem(De.value);Ve.disabled=De.disabled,Ve.label=De.label||Ve.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe((0,Se.O)(this.ngOptions),(0,S.R)(this._destroy$)).subscribe(E=>{this.bindLabel=this._defaultLabel,h(E),M()})}_isValidWriteValue(h){if(!Lt(h)||this.multiple&&""===h||Array.isArray(h)&&0===h.length)return!1;const M=E=>!(!Lt(this.compareWith)&&yn(E)&&this.bindValue&&(this._console.warn(`Setting object(${JSON.stringify(E)}) as your model with bindValue is not allowed unless [compareWith] is used.`),1));return this.multiple?Array.isArray(h)?h.every(E=>M(E)):(this._console.warn("Multiple select ngModel should be array."),!1):M(h)}_handleWriteValue(h){if(!this._isValidWriteValue(h))return;const M=E=>{let De=this.itemsList.findItem(E);if(De)this.itemsList.select(De);else{const Ve=yn(E);Ve||!Ve&&!this.bindValue?this.itemsList.select(this.itemsList.mapItem(E,null)):this.bindValue&&(De={[this.bindLabel]:null,[this.bindValue]:E},this.itemsList.select(this.itemsList.mapItem(De,null)))}};this.multiple?h.forEach(E=>M(E)):M(h)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe((0,S.R)(this._destroy$),(0,le.b)(h=>this._pressedKeys.push(h)),(0,ke.b)(200),(0,ue.h)(()=>this._pressedKeys.length>0),(0,ie.U)(()=>this._pressedKeys.join(""))).subscribe(h=>{const M=this.itemsList.findByLabel(h);M&&(this.isOpen?(this.itemsList.markItem(M),this._scrollToMarked(),this._cd.markForCheck()):this.select(M)),this._pressedKeys=[]})}_setInputAttributes(){const h=this.searchInput.nativeElement,M={type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId,...this.inputAttrs};for(const E of Object.keys(M))h.setAttribute(E,M[E])}_updateNgModel(){const h=[];for(const E of this.selectedItems)if(this.bindValue){let De=null;De=E.children?E.value[(this.groupValue?this.bindValue:this.groupBy)||this.groupBy]:this.itemsList.resolveNested(E.value,this.bindValue),h.push(De)}else h.push(E.value);const M=this.selectedItems.map(E=>E.value);this.multiple?(this._onChange(h),this.changeEvent.emit(M)):(this._onChange(Lt(h[0])?h[0]:null),this.changeEvent.emit(M[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(h){this.searchTerm=h,this._isTypeahead&&this.typeahead.next(h)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.deselectOnClick&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(h){!1===this.isOpen&&!this.addTag||(this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),h.preventDefault()):this.showAddTag?(this.selectTag(),h.preventDefault()):this.close():this.close())}_handleEnter(h){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}h.preventDefault()}_handleSpace(h){this.isOpen||this._manualOpen||(this.open(),h.preventDefault())}_handleArrowDown(h){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),h.preventDefault()}_handleArrowUp(h){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),h.preventDefault())}_nextItemIsTag(h){const M=this.itemsList.markedIndex+h;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(M<0||M===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){const h=this.searchTerm&&this.searchTerm.trim();return h&&h.length>=this.minTermLength}_mergeGlobalConfig(h){this.placeholder=this.placeholder||h.placeholder,this.notFoundText=this.notFoundText||h.notFoundText,this.typeToSearchText=this.typeToSearchText||h.typeToSearchText,this.addTagText=this.addTagText||h.addTagText,this.loadingText=this.loadingText||h.loadingText,this.clearAllText=this.clearAllText||h.clearAllText,this.virtualScroll=Lt(this.virtualScroll)?this.virtualScroll:!!Lt(h.disableVirtualScroll)&&!h.disableVirtualScroll,this.openOnEnter=Lt(this.openOnEnter)?this.openOnEnter:h.openOnEnter,this.appendTo=this.appendTo||h.appendTo,this.bindValue=this.bindValue||h.bindValue,this.bindLabel=this.bindLabel||h.bindLabel,this.appearance=this.appearance||h.appearance}static#e=this.\u0275fac=function(M){return new(M||b)(n.$8M("class"),n.$8M("autofocus"),n.Y36(Yt),n.Y36(J),n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(ge))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["ng-select"]],contentQueries:function(M,E,De){if(1&M&&(n.Suo(De,Fe,5,n.Rgc),n.Suo(De,ot,5,n.Rgc),n.Suo(De,st,5,n.Rgc),n.Suo(De,lt,5,n.Rgc),n.Suo(De,yt,5,n.Rgc),n.Suo(De,Jt,5,n.Rgc),n.Suo(De,Bt,5,n.Rgc),n.Suo(De,Vt,5,n.Rgc),n.Suo(De,Ft,5,n.Rgc),n.Suo(De,Cn,5,n.Rgc),n.Suo(De,un,5,n.Rgc),n.Suo(De,gt,5)),2&M){let Ve;n.iGM(Ve=n.CRH())&&(E.optionTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.optgroupTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.labelTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.multiLabelTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.headerTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.footerTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.notFoundTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.typeToSearchTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.loadingTextTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.tagTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.loadingSpinnerTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.ngOptions=Ve)}},viewQuery:function(M,E){if(1&M&&(n.Gf(mt,5),n.Gf(oe,7)),2&M){let De;n.iGM(De=n.CRH())&&(E.dropdownPanel=De.first),n.iGM(De=n.CRH())&&(E.searchInput=De.first)}},hostVars:20,hostBindings:function(M,E){1&M&&n.NdJ("keydown",function(Ve){return E.handleKeyDown(Ve)}),2&M&&n.ekj("ng-select-typeahead",E.typeahead)("ng-select-multiple",E.multiple)("ng-select-taggable",E.addTag)("ng-select-searchable",E.searchable)("ng-select-clearable",E.clearable)("ng-select-opened",E.isOpen)("ng-select",E.useDefaultClass)("ng-select-disabled",E.disabled)("ng-select-filtered",E.filtered)("ng-select-single",E.single)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",markFirst:"markFirst",placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:"loading",closeOnSelect:"closeOnSelect",hideSelected:"hideSelected",selectOnTab:"selectOnTab",openOnEnter:"openOnEnter",maxSelectedItems:"maxSelectedItems",groupBy:"groupBy",groupValue:"groupValue",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:"clearOnBackspace",labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:"tabIndex",readonly:"readonly",searchWhileComposing:"searchWhileComposing",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",typeahead:"typeahead",multiple:"multiple",addTag:"addTag",searchable:"searchable",clearable:"clearable",isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",deselectOnClick:"deselectOnClick"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[n._Bn([{provide:R.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0},at]),n.TTD],decls:14,vars:19,consts:[[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[4,"ngIf"],["role","combobox","aria-haspopup","listbox",1,"ng-input"],["aria-autocomplete","list",3,"readOnly","disabled","value","input","compositionstart","compositionend","focus","blur","change"],["searchInput",""],["class","ng-clear-wrapper",3,"title",4,"ngIf"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["class","ng-dropdown-panel","role","listbox","aria-label","Options list",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","update","scroll","scrollToEnd","outsideClick",4,"ngIf"],["class","ng-value",3,"ng-value-disabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ng-value"],["defaultLabelTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],["defaultLoadingSpinnerTemplate",""],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],[1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id","update","scroll","scrollToEnd","outsideClick"],["class","ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked","click","mouseover",4,"ngFor","ngForOf","ngForTrackBy"],["class","ng-option","role","option",3,"ng-option-marked","mouseover","click",4,"ngIf"],[1,"ng-option",3,"click","mouseover"],["defaultOptionTemplate",""],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],["defaultTagTemplate",""],[1,"ng-tag-label"],["defaultNotFoundTemplate",""],[1,"ng-option","ng-option-disabled"],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""]],template:function(M,E){if(1&M){const De=n.EpF();n.TgZ(0,"div",0),n.NdJ("mousedown",function(Pt){return E.handleMousedown(Pt)}),n.TgZ(1,"div",1)(2,"div",2),n._uU(3),n.qZA(),n.YNc(4,bt,2,2,"ng-container",3),n.YNc(5,kt,1,5,null,3),n.TgZ(6,"div",4)(7,"input",5,6),n.NdJ("input",function(){n.CHM(De);const Pt=n.MAs(8);return n.KtG(E.filter(Pt.value))})("compositionstart",function(){return E.onCompositionStart()})("compositionend",function(){n.CHM(De);const Pt=n.MAs(8);return n.KtG(E.onCompositionEnd(Pt.value))})("focus",function(Pt){return E.onInputFocus(Pt)})("blur",function(Pt){return E.onInputBlur(Pt)})("change",function(Pt){return Pt.stopPropagation()}),n.qZA()()(),n.YNc(9,Ct,4,1,"ng-container",3),n.YNc(10,W,3,1,"span",7),n.TgZ(11,"span",8),n._UZ(12,"span",9),n.qZA()(),n.YNc(13,tt,7,19,"ng-dropdown-panel",10)}2&M&&(n.ekj("ng-appearance-outline","outline"===E.appearance)("ng-has-value",E.hasValue),n.xp6(3),n.Oqu(E.placeholder),n.xp6(1),n.Q6J("ngIf",(!E.multiLabelTemplate||!E.multiple)&&E.selectedItems.length>0),n.xp6(1),n.Q6J("ngIf",E.multiple&&E.multiLabelTemplate&&E.selectedValues.length>0),n.xp6(1),n.uIk("aria-expanded",E.isOpen)("aria-owns",E.isOpen?E.dropdownId:null),n.xp6(1),n.Q6J("readOnly",!E.searchable||E.itemsList.maxItemsSelected)("disabled",E.disabled)("value",E.searchTerm?E.searchTerm:""),n.uIk("id",E.labelForId)("tabindex",E.tabIndex)("aria-activedescendant",E.isOpen?null==E.itemsList||null==E.itemsList.markedItem?null:E.itemsList.markedItem.htmlId:null)("aria-controls",E.isOpen?E.dropdownId:null),n.xp6(2),n.Q6J("ngIf",E.loading),n.xp6(1),n.Q6J("ngIf",E.showClear()),n.xp6(3),n.Q6J("ngIf",E.isOpen))},dependencies:[l.mk,l.sg,l.O5,l.tP,mt,ce],styles:['@charset "UTF-8";.ng-select{position:relative;display:block;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:none;user-select:none;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@keyframes load8{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}\n'],encapsulation:2,changeDetection:0})}return b})();function Y(){return new Ae}class Ae{constructor(){this._selected=[]}get value(){return this._selected}select(j,h,M){if(j.selected=!0,(!j.children||!h&&M)&&this._selected.push(j),h)if(j.parent){const E=j.parent.children.length,De=j.parent.children.filter(Ve=>Ve.selected).length;j.parent.selected=E===De}else j.children&&(this._setChildrenSelectedState(j.children,!0),this._removeChildren(j),this._selected=M&&this._activeChildren(j)?[...this._selected.filter(E=>E.parent!==j),j]:[...this._selected,...j.children.filter(E=>!E.disabled)])}unselect(j,h){if(this._selected=this._selected.filter(M=>M!==j),j.selected=!1,h)if(j.parent&&j.parent.selected){const M=j.parent.children;this._removeParent(j.parent),this._removeChildren(j.parent),this._selected.push(...M.filter(E=>E!==j&&!E.disabled)),j.parent.selected=!1}else j.children&&(this._setChildrenSelectedState(j.children,!1),this._removeChildren(j))}clear(j){this._selected=j?this._selected.filter(h=>h.disabled):[]}_setChildrenSelectedState(j,h){for(const M of j)M.disabled||(M.selected=h)}_removeChildren(j){this._selected=[...this._selected.filter(h=>h.parent!==j),...j.children.filter(h=>h.parent===j&&h.disabled&&h.selected)]}_removeParent(j){this._selected=this._selected.filter(h=>h!==j)}_activeChildren(j){return j.children.every(h=>!h.disabled||h.selected)}}let ut=(()=>{class b{static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275mod=n.oAB({type:b});static#n=this.\u0275inj=n.cJS({providers:[{provide:J,useValue:Y}],imports:[l.ez]})}return b})();var Pe=g(2495),ee=g(3680),z=g(9157),D=g(4191);const B=["*"],he=["ngSelect"];function X(b,j){}const ne=function(b,j,h,M){return{item:b,item$:j,index:h,searchTerm:M}};function Oe(b,j){if(1&b&&n.YNc(0,X,0,0,"ng-template",4),2&b){const h=j.item,M=j.item$,E=j.index,De=j.searchTerm,Ve=n.oxw(2);n.Q6J("ngTemplateOutlet",Ve.optionTemplate)("ngTemplateOutletContext",n.l5B(2,ne,h,M,E,De))}}function nt(b,j){1&b&&(n.ynx(0),n.YNc(1,Oe,1,7,"ng-template",3),n.BQk())}function Et(b,j){}function Ot(b,j){if(1&b&&n.YNc(0,Et,0,0,"ng-template",4),2&b){const h=j.item,M=j.item$,E=j.index,De=j.searchTerm,Ve=n.oxw(2);n.Q6J("ngTemplateOutlet",Ve.optgroupTemplate)("ngTemplateOutletContext",n.l5B(2,ne,h,M,E,De))}}function Tt(b,j){1&b&&(n.ynx(0),n.YNc(1,Ot,1,7,"ng-template",5),n.BQk())}function $t(b,j){}const qt=function(b,j,h){return{item:b,clear:j,label:h}};function Fn(b,j){if(1&b&&n.YNc(0,$t,0,0,"ng-template",4),2&b){const h=j.item,M=j.clear,E=j.label,De=n.oxw(2);n.Q6J("ngTemplateOutlet",De.labelTemplate)("ngTemplateOutletContext",n.kEZ(2,qt,h,M,E))}}function $n(b,j){1&b&&(n.ynx(0),n.YNc(1,Fn,1,6,"ng-template",6),n.BQk())}function zn(b,j){}const Nn=function(b,j){return{items:b,clear:j}};function ei(b,j){if(1&b&&n.YNc(0,zn,0,0,"ng-template",4),2&b){const h=j.items,M=j.clear,E=n.oxw(2);n.Q6J("ngTemplateOutlet",E.multiLabelTemplate)("ngTemplateOutletContext",n.WLB(2,Nn,h,M))}}function di(b,j){1&b&&(n.ynx(0),n.YNc(1,ei,1,5,"ng-template",7),n.BQk())}function mn(b,j){}function vn(b,j){if(1&b&&n.YNc(0,mn,0,0,"ng-template",9),2&b){const h=n.oxw(2);n.Q6J("ngTemplateOutlet",h.headerTemplate)}}function ui(b,j){1&b&&(n.ynx(0),n.YNc(1,vn,1,1,"ng-template",8),n.BQk())}function pi(b,j){}function kn(b,j){if(1&b&&n.YNc(0,pi,0,0,"ng-template",9),2&b){const h=n.oxw(2);n.Q6J("ngTemplateOutlet",h.footerTemplate)}}function ti(b,j){1&b&&(n.ynx(0),n.YNc(1,kn,1,1,"ng-template",10),n.BQk())}function hi(b,j){}const ai=function(b){return{searchTerm:b}};function Kn(b,j){if(1&b&&n.YNc(0,hi,0,0,"ng-template",4),2&b){const h=j.searchTerm,M=n.oxw(2);n.Q6J("ngTemplateOutlet",M.notFoundTemplate)("ngTemplateOutletContext",n.VKq(2,ai,h))}}function mi(b,j){1&b&&(n.ynx(0),n.YNc(1,Kn,1,4,"ng-template",11),n.BQk())}function N(b,j){}function de(b,j){if(1&b&&n.YNc(0,N,0,0,"ng-template",9),2&b){const h=n.oxw(2);n.Q6J("ngTemplateOutlet",h.typeToSearchTemplate)}}function x(b,j){1&b&&(n.ynx(0),n.YNc(1,de,1,1,"ng-template",12),n.BQk())}function q(b,j){}function pe(b,j){if(1&b&&n.YNc(0,q,0,0,"ng-template",4),2&b){const h=j.searchTerm,M=n.oxw(2);n.Q6J("ngTemplateOutlet",M.loadingTextTemplate)("ngTemplateOutletContext",n.VKq(2,ai,h))}}function We(b,j){1&b&&(n.ynx(0),n.YNc(1,pe,1,4,"ng-template",13),n.BQk())}function pt(b,j){}function on(b,j){if(1&b&&n.YNc(0,pt,0,0,"ng-template",4),2&b){const h=j.searchTerm,M=n.oxw(2);n.Q6J("ngTemplateOutlet",M.tagTemplate)("ngTemplateOutletContext",n.VKq(2,ai,h))}}function Qt(b,j){1&b&&(n.ynx(0),n.YNc(1,on,1,4,"ng-template",14),n.BQk())}function gi(b,j){}function yo(b,j){if(1&b&&n.YNc(0,gi,0,0,"ng-template",9),2&b){const h=n.oxw(2);n.Q6J("ngTemplateOutlet",h.loadingSpinnerTemplate)}}function oi(b,j){1&b&&(n.ynx(0),n.YNc(1,yo,1,1,"ng-template",15),n.BQk())}const xo=function(){return{standalone:!0}};let Jo=(()=>{class b{get disabled(){return this._disabled}set disabled(h){this._disabled=(0,Pe.Ig)(h)}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}constructor(h){this.elementRef=h,this._disabled=!1,this.stateChange$=new me.x}ngOnChanges(h){h.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.SBq))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["mtx-option"]],inputs:{value:"value",disabled:"disabled"},exportAs:["mtxOption"],features:[n.TTD],ngContentSelectors:B,decls:1,vars:0,template:function(M,E){1&M&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0})}return b})(),qi=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-option-tmp",""]]})}return b})(),Co=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-optgroup-tmp",""]]})}return b})(),Yi=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-label-tmp",""]]})}return b})(),eo=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-multi-label-tmp",""]]})}return b})(),No=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-header-tmp",""]]})}return b})(),lo=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-footer-tmp",""]]})}return b})(),Bi=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-notfound-tmp",""]]})}return b})(),gn=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-typetosearch-tmp",""]]})}return b})(),Bn=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-loadingtext-tmp",""]]})}return b})(),Qn=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-tag-tmp",""]]})}return b})(),ni=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-loadingspinner-tmp",""]]})}return b})();const Jn=new n.OlP("mtx-select-default-options");let Vi=0;const wo=(0,ee.Id)((0,ee.FD)(class{constructor(b,j,h,M){this._defaultErrorStateMatcher=b,this._parentForm=j,this._parentFormGroup=h,this.ngControl=M,this.stateChanges=new me.x}}));let Ii=(()=>{class b extends wo{get clearSearchOnAdd(){return this._clearSearchOnAdd??this.closeOnSelect}set clearSearchOnAdd(h){this._clearSearchOnAdd=h}get items(){return this._items}set items(h){this._itemsAreUsed=!0,this._items=h}get value(){return this._value}set value(h){this._value=h,this._onChange(h),this.stateChanges.next()}get id(){return this._id}set id(h){this._id=h||this._uid,this.stateChanges.next()}get placeholder(){return this._placeholder}set placeholder(h){this._placeholder=h,this.stateChanges.next()}get focused(){return this._focused}get empty(){return null==this.value||Array.isArray(this.value)&&0===this.value.length}get shouldLabelFloat(){return this.focused||!this.empty}get required(){return this._required??this.ngControl?.control?.hasValidator(R.kI.required)??!1}set required(h){this._required=(0,Pe.Ig)(h),this.stateChanges.next()}get panelOpen(){return!!this.ngSelect.isOpen}constructor(h,M,E,De,Ve,Pt,hn,Zt,Pn){super(De,Ve,Pt,hn),this._changeDetectorRef=h,this._elementRef=M,this._focusMonitor=E,this._parentFormField=Zt,this._defaultOptions=Pn,this.addTag=!1,this.addTagText=this._defaultOptions?.addTagText??"Add item",this.appearance="underline",this.appendTo=this._defaultOptions?.appendTo??"body",this.bindLabel=this._defaultOptions?.bindLabel,this.bindValue=this._defaultOptions?.bindValue,this.closeOnSelect=!0,this.clearAllText=this._defaultOptions?.clearAllText??"Clear all",this.clearable=!0,this.clearOnBackspace=!0,this.dropdownPosition="auto",this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.hideSelected=!1,this.loading=!1,this.loadingText=this._defaultOptions?.loadingText??"Loading...",this.labelForId=null,this.markFirst=!0,this.multiple=!1,this.notFoundText=this._defaultOptions?.notFoundText??"No items found",this.searchable=!0,this.readonly=!1,this.searchFn=null,this.searchWhileComposing=!0,this.selectOnTab=!1,this.trackByFn=null,this.inputAttrs={},this.openOnEnter=this._defaultOptions?.openOnEnter??!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=Hn=>!0,this.virtualScroll=!1,this.typeToSearchText=this._defaultOptions?.typeToSearchText??"Type to search",this.blurEvent=new n.vpe,this.focusEvent=new n.vpe,this.changeEvent=new n.vpe,this.openEvent=new n.vpe,this.closeEvent=new n.vpe,this.searchEvent=new n.vpe,this.clearEvent=new n.vpe,this.addEvent=new n.vpe,this.removeEvent=new n.vpe,this.scroll=new n.vpe,this.scrollToEnd=new n.vpe,this._clearSearchOnAdd=this._defaultOptions?.clearSearchOnAdd,this._items=[],this._itemsAreUsed=!1,this._destroy$=new me.x,this._value=null,this.stateChanges=new me.x,this._uid="mtx-select-"+Vi++,this._placeholder=this._defaultOptions?.placeholder,this._focused=!1,this.ariaLabel="",this.ariaLabelledby=null,this._ariaDescribedby=null,this.controlType="mtx-select",this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mtx-select-value-"+Vi++,E.monitor(this._elementRef,!0).subscribe(Hn=>{this._focused&&!Hn&&this._onTouched(),this._focused=!!Hn,this.stateChanges.next()}),this.ngControl&&(this.ngControl.valueAccessor=this),this.id=this.id}ngOnInit(){this.compareWith&&(this.ngSelect.compareWith=this.compareWith)}ngAfterViewInit(){this._itemsAreUsed||this._setItemsFromMtxOptions()}ngDoCheck(){const h=this.ngControl;this.ngControl&&(this._previousControl!==h.control&&(void 0!==this._previousControl&&null!==h.disabled&&h.disabled!==this.disabled&&(this.disabled=h.disabled),this._previousControl=h.control),this.updateErrorState())}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this.stateChanges.complete(),this._focusMonitor.stopMonitoring(this._elementRef)}_getAriaLabelledby(){if(this.ariaLabel)return null;const h=this._parentFormField?.getLabelId();let M=(h?h+" ":"")+this._valueId;return this.ariaLabelledby&&(M+=" "+this.ariaLabelledby),M}setDescribedByIds(h){this._ariaDescribedby=h.length?h.join(" "):null}setDisabledState(h){this.disabled=h,this.readonly=h,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}onContainerClick(h){const M=h.target;/mat-mdc-form-field|mtx-select/g.test(M.parentElement?.classList[0]||"")&&(this.focus(),this.open())}writeValue(h){this.value=h,this._changeDetectorRef.markForCheck()}registerOnChange(h){this._onChange=h}registerOnTouched(h){this._onTouched=h}_setItemsFromMtxOptions(){const h=E=>{this.items=E.map(De=>({$ngOptionValue:De.value,$ngOptionLabel:De.elementRef.nativeElement.innerHTML,disabled:De.disabled})),this.ngSelect.itemsList.setItems(this.items),this.ngSelect.hasValue&&this.ngSelect.itemsList.mapSelectedItems(),this.ngSelect.detectChanges()},M=()=>{const E=(0,Le.T)(this.mtxOptions.changes,this._destroy$);(0,Le.T)(...this.mtxOptions.map(De=>De.stateChange$)).pipe((0,S.R)(E)).subscribe(De=>{const Ve=this.ngSelect.itemsList.findItem(De.value);Ve.disabled=De.disabled,Ve.label=De.label||Ve.label,this.ngSelect.detectChanges()})};this.mtxOptions.changes.pipe((0,Se.O)(this.mtxOptions),(0,S.R)(this._destroy$)).subscribe(E=>{h(E),M()})}open(){this.ngSelect.open()}close(){this.ngSelect.close()}focus(){this.ngSelect.focus()}blur(){this.ngSelect.blur()}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(D.tE),n.Y36(ee.rD),n.Y36(R.F,8),n.Y36(R.sg,8),n.Y36(R.a5,10),n.Y36(z.G_,8),n.Y36(Jn,8))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["mtx-select"]],contentQueries:function(M,E,De){if(1&M&&(n.Suo(De,qi,5,n.Rgc),n.Suo(De,Co,5,n.Rgc),n.Suo(De,Yi,5,n.Rgc),n.Suo(De,eo,5,n.Rgc),n.Suo(De,No,5,n.Rgc),n.Suo(De,lo,5,n.Rgc),n.Suo(De,Bi,5,n.Rgc),n.Suo(De,gn,5,n.Rgc),n.Suo(De,Bn,5,n.Rgc),n.Suo(De,Qn,5,n.Rgc),n.Suo(De,ni,5,n.Rgc),n.Suo(De,Jo,5)),2&M){let Ve;n.iGM(Ve=n.CRH())&&(E.optionTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.optgroupTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.labelTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.multiLabelTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.headerTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.footerTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.notFoundTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.typeToSearchTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.loadingTextTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.tagTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.loadingSpinnerTemplate=Ve.first),n.iGM(Ve=n.CRH())&&(E.mtxOptions=Ve)}},viewQuery:function(M,E){if(1&M&&n.Gf(he,7),2&M){let De;n.iGM(De=n.CRH())&&(E.ngSelect=De.first)}},hostAttrs:["role","combobox","aria-autocomplete","none",1,"mtx-select"],hostVars:20,hostBindings:function(M,E){2&M&&(n.uIk("id",E.id)("aria-expanded",E.panelOpen)("aria-label",E.ariaLabel||null)("aria-labelledby",E._getAriaLabelledby())("aria-describedby",E._ariaDescribedby||null)("aria-required",E.required.toString())("aria-disabled",E.disabled.toString())("aria-invalid",E.errorState),n.ekj("mtx-select-floating",E.shouldLabelFloat)("mtx-select-disabled",E.disabled)("mtx-select-invalid",E.errorState)("mtx-select-required",E.required)("mtx-select-empty",E.empty)("mtx-select-multiple",E.multiple))},inputs:{disabled:"disabled",addTag:"addTag",addTagText:"addTagText",appearance:"appearance",appendTo:"appendTo",bindLabel:"bindLabel",bindValue:"bindValue",closeOnSelect:"closeOnSelect",clearAllText:"clearAllText",clearable:"clearable",clearOnBackspace:"clearOnBackspace",compareWith:"compareWith",dropdownPosition:"dropdownPosition",groupBy:"groupBy",groupValue:"groupValue",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",hideSelected:"hideSelected",isOpen:"isOpen",loading:"loading",loadingText:"loadingText",labelForId:"labelForId",markFirst:"markFirst",maxSelectedItems:"maxSelectedItems",multiple:"multiple",notFoundText:"notFoundText",searchable:"searchable",readonly:"readonly",searchFn:"searchFn",searchWhileComposing:"searchWhileComposing",selectOnTab:"selectOnTab",trackByFn:"trackByFn",inputAttrs:"inputAttrs",tabIndex:"tabIndex",openOnEnter:"openOnEnter",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",virtualScroll:"virtualScroll",typeToSearchText:"typeToSearchText",typeahead:"typeahead",clearSearchOnAdd:"clearSearchOnAdd",items:"items",value:"value",id:"id",placeholder:"placeholder",required:"required",errorStateMatcher:"errorStateMatcher",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},exportAs:["mtxSelect"],features:[n._Bn([{provide:z.Eo,useExisting:b}]),n.qOj],decls:13,vars:58,consts:[[3,"ngModel","ngModelOptions","placeholder","items","addTag","addTagText","appendTo","appearance","bindLabel","bindValue","closeOnSelect","clearAllText","clearable","clearOnBackspace","dropdownPosition","groupBy","groupValue","hideSelected","isOpen","inputAttrs","loading","loadingText","labelForId","markFirst","maxSelectedItems","multiple","notFoundText","readonly","typeahead","typeToSearchText","trackByFn","searchable","searchFn","searchWhileComposing","clearSearchOnAdd","selectableGroup","selectableGroupAsModel","selectOnTab","tabIndex","openOnEnter","minTermLength","editableSearchTerm","keyDownFn","virtualScroll","ngModelChange","blur","focus","change","open","close","search","clear","add","remove","scroll","scrollToEnd"],["ngSelect",""],[4,"ngIf"],["ng-option-tmp",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["ng-optgroup-tmp",""],["ng-label-tmp",""],["ng-multi-label-tmp",""],["ng-header-tmp",""],[3,"ngTemplateOutlet"],["ng-footer-tmp",""],["ng-notfound-tmp",""],["ng-typetosearch-tmp",""],["ng-loadingtext-tmp",""],["ng-tag-tmp",""],["ng-loadingspinner-tmp",""]],template:function(M,E){1&M&&(n.TgZ(0,"ng-select",0,1),n.NdJ("ngModelChange",function(Ve){return E.value=Ve})("blur",function(Ve){return E.blurEvent.emit(Ve)})("focus",function(Ve){return E.focusEvent.emit(Ve)})("change",function(Ve){return E.changeEvent.emit(Ve)})("open",function(Ve){return E.openEvent.emit(Ve)})("close",function(Ve){return E.closeEvent.emit(Ve)})("search",function(Ve){return E.searchEvent.emit(Ve)})("clear",function(Ve){return E.clearEvent.emit(Ve)})("add",function(Ve){return E.addEvent.emit(Ve)})("remove",function(Ve){return E.removeEvent.emit(Ve)})("scroll",function(Ve){return E.scroll.emit(Ve)})("scrollToEnd",function(Ve){return E.scrollToEnd.emit(Ve)}),n.YNc(2,nt,2,0,"ng-container",2),n.YNc(3,Tt,2,0,"ng-container",2),n.YNc(4,$n,2,0,"ng-container",2),n.YNc(5,di,2,0,"ng-container",2),n.YNc(6,ui,2,0,"ng-container",2),n.YNc(7,ti,2,0,"ng-container",2),n.YNc(8,mi,2,0,"ng-container",2),n.YNc(9,x,2,0,"ng-container",2),n.YNc(10,We,2,0,"ng-container",2),n.YNc(11,Qt,2,0,"ng-container",2),n.YNc(12,oi,2,0,"ng-container",2),n.qZA()),2&M&&(n.ekj("ng-select-invalid",E.errorState),n.Q6J("ngModel",E.value)("ngModelOptions",n.DdM(57,xo))("placeholder",E.placeholder)("items",E.items)("addTag",E.addTag)("addTagText",E.addTagText)("appendTo",E.appendTo)("appearance",E.appearance)("bindLabel",E.bindLabel)("bindValue",E.bindValue)("closeOnSelect",E.closeOnSelect)("clearAllText",E.clearAllText)("clearable",E.clearable)("clearOnBackspace",E.clearOnBackspace)("dropdownPosition",E.dropdownPosition)("groupBy",E.groupBy)("groupValue",E.groupValue)("hideSelected",E.hideSelected)("isOpen",E.isOpen)("inputAttrs",E.inputAttrs)("loading",E.loading)("loadingText",E.loadingText)("labelForId",E.labelForId)("markFirst",E.markFirst)("maxSelectedItems",E.maxSelectedItems)("multiple",E.multiple)("notFoundText",E.notFoundText)("readonly",E.readonly)("typeahead",E.typeahead)("typeToSearchText",E.typeToSearchText)("trackByFn",E.trackByFn)("searchable",E.searchable)("searchFn",E.searchFn)("searchWhileComposing",E.searchWhileComposing)("clearSearchOnAdd",E.clearSearchOnAdd)("selectableGroup",E.selectableGroup)("selectableGroupAsModel",E.selectableGroupAsModel)("selectOnTab",E.selectOnTab)("tabIndex",E.tabIndex)("openOnEnter",E.openOnEnter)("minTermLength",E.minTermLength)("editableSearchTerm",E.editableSearchTerm)("keyDownFn",E.keyDownFn)("virtualScroll",E.virtualScroll),n.xp6(2),n.Q6J("ngIf",E.optionTemplate),n.xp6(1),n.Q6J("ngIf",E.optgroupTemplate),n.xp6(1),n.Q6J("ngIf",E.labelTemplate),n.xp6(1),n.Q6J("ngIf",E.multiLabelTemplate),n.xp6(1),n.Q6J("ngIf",E.headerTemplate),n.xp6(1),n.Q6J("ngIf",E.footerTemplate),n.xp6(1),n.Q6J("ngIf",E.notFoundTemplate),n.xp6(1),n.Q6J("ngIf",E.typeToSearchTemplate),n.xp6(1),n.Q6J("ngIf",E.loadingTextTemplate),n.xp6(1),n.Q6J("ngIf",E.tagTemplate),n.xp6(1),n.Q6J("ngIf",E.loadingSpinnerTemplate))},dependencies:[l.O5,l.tP,R.JJ,R.On,I,ot,Fe,st,lt,yt,Jt,Bt,Vt,Ft,Cn,un,Co,qi,Yi,eo,No,lo,Bi,gn,Bn,Qn,ni],styles:['.ng-select{padding-right:16px;padding-left:16px;margin-right:-16px;margin-left:-16px}.ng-select .ng-select-container,.ng-select .ng-select-container .ng-value-container{align-items:center}.ng-select .ng-select-container .ng-value-container .ng-input>input{font:inherit;padding:0}.ng-select .ng-select-container .ng-clear-wrapper{width:24px;text-align:center}.ng-select .ng-placeholder{transition:opacity .2s;opacity:1}.mat-form-field-hide-placeholder .ng-select .ng-placeholder{opacity:0}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select.ng-select-opened .ng-arrow-wrapper .ng-arrow{top:-2px;border-width:0 5px 5px}.ng-select.ng-select-single.ng-select-filtered .ng-placeholder{display:initial;visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-placeholder:after,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value:after{display:inline-block;content:""}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{margin:2px 4px 2px 0;border-radius:16px;font-size:.875em;line-height:18px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{margin-right:auto;margin-left:4px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-label{display:inline-block;margin:0 8px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:inline-block;width:18px;height:18px;border-radius:100%;text-align:center}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{margin-right:-4px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{margin-left:-4px;margin-right:auto}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{margin-left:-4px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{margin-right:-4px;margin-left:auto}.ng-select .ng-arrow-wrapper{width:10px}.ng-select .ng-arrow-wrapper .ng-arrow{border-width:5px 5px 2px;border-style:solid}.ng-dropdown-panel.ng-select-bottom{top:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px;box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-left-radius:4px;border-top-right-radius:4px;box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.ng-dropdown-panel .ng-dropdown-header,.ng-dropdown-panel .ng-dropdown-footer{padding:14px 16px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{padding:14px 16px;font-weight:500;-webkit-user-select:none;user-select:none;cursor:pointer}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-disabled{cursor:default}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{position:relative;padding:14px 16px;text-overflow:ellipsis;text-decoration:none;text-align:left;white-space:nowrap;overflow:hidden}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option{text-align:right}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-left:32px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-right:32px;padding-left:0}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{padding-right:5px;font-size:80%;font-weight:400}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{padding-left:5px;padding-right:0}\n'],encapsulation:2,changeDetection:0})}return b})(),Wi=(()=>{class b{static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275mod=n.oAB({type:b});static#n=this.\u0275inj=n.cJS({imports:[l.ez,R.u5,R.UX,ut]})}return b})()},7326:(Mt,je,g)=>{g.d(je,{rN:()=>xe,y$:()=>Dt,_l:()=>Ut});var n=g(5879),l=g(6814),R=g(5619),S=g(2181),te=g(8180),Se=g(4664),le=g(9397),ke=g(6232),ue=g(6306),ie=g(8504),we=g(5592),fe=g(4829);const{isArray:me}=Array;var Le=g(8251),Ue=g(9940);var ye=g(7398),Je=g(7715),ve=g(927),H=g(6593);const xe=new n.OlP("HIGHLIGHT_OPTIONS");let oe;let $e=(()=>{class kt{constructor(Xe,Ct,W){this.doc=Xe,this.platformId=Ct,this._options=W,this._ready=new R.X(null),this.ready=this._ready.asObservable().pipe((0,S.h)(P=>!!P),(0,te.q)(1)),(0,l.NF)(Ct)&&(Xe.defaultView.hljs?this._ready.next(Xe.defaultView.hljs):(this._loadLibrary().pipe((0,Se.w)(P=>this._options&&this._options.lineNumbersLoader?(Xe.defaultView.hljs=P,this.loadLineNumbers().pipe((0,le.b)(se=>{se.activateLineNumbers(),this._ready.next(P)}))):(this._ready.next(P),ke.E)),(0,ue.K)(P=>(console.error("[HLJS] ",P),ke.E))).subscribe(),this._options?.themePath&&this.loadTheme(this._options.themePath)))}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return(0,ie._)(()=>"The full library and the core library were imported, only one of them should be imported!");if(this._options.fullLibraryLoader&&this._options.languages)return(0,ie._)(()=>"The highlighting languages were imported they are not needed!");if(this._options.coreLibraryLoader&&!this._options.languages)return(0,ie._)(()=>"The highlighting languages were not imported!");if(!this._options.coreLibraryLoader&&this._options.languages)return(0,ie._)(()=>"The core library was not imported!");if(this._options.fullLibraryLoader)return this.loadFullLibrary();if(this._options.coreLibraryLoader&&this._options.languages&&Object.keys(this._options.languages).length)return this.loadCoreLibrary().pipe((0,Se.w)(Xe=>this._loadLanguages(Xe)))}return(0,ie._)(()=>"Highlight.js library was not imported!")}_loadLanguages(Xe){return function be(...kt){const an=(0,Ue.jO)(kt),Xe=function Te(kt){return 1===kt.length&&me(kt[0])?kt[0]:kt}(kt);return Xe.length?new we.y(Ct=>{let W=Xe.map(()=>[]),P=Xe.map(()=>!1);Ct.add(()=>{W=P=null});for(let se=0;!Ct.closed&&se{if(W[se].push(L),W.every(Ce=>Ce.length)){const Ce=W.map(G=>G.shift());Ct.next(an?an(...Ce):Ce),W.some((G,$)=>!G.length&&P[$])&&Ct.complete()}},()=>{P[se]=!0,!W[se].length&&Ct.complete()}));return()=>{W=P=null}}):ke.E}(...Object.entries(this._options.languages).map(([W,P])=>ft(P()).pipe((0,le.b)(se=>Xe.registerLanguage(W,se))))).pipe((0,ye.U)(()=>Xe))}loadCoreLibrary(){return ft(this._options.coreLibraryLoader())}loadFullLibrary(){return ft(this._options.fullLibraryLoader())}loadLineNumbers(){return(0,Je.D)(this._options.lineNumbersLoader())}setTheme(Xe){(0,l.NF)(this.platformId)&&(this._themeLinkElement?this._themeLinkElement.href=Xe:this.loadTheme(Xe))}loadTheme(Xe){this._themeLinkElement=this.doc.createElement("link"),this._themeLinkElement.href=Xe,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.doc.head.appendChild(this._themeLinkElement)}static#e=this.\u0275fac=function(Ct){return new(Ct||kt)(n.LFG(l.K0),n.LFG(n.Lbi),n.LFG(xe,8))};static#t=this.\u0275prov=n.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})();const ft=kt=>(0,Je.D)(kt).pipe((0,S.h)(an=>!!an?.default),(0,ye.U)(an=>an.default));let bt=(()=>{class kt{get hljs(){return this._hljs}constructor(Xe,Ct){this._loader=Xe,this._hljs=null,Xe.ready.subscribe(W=>{this._hljs=W,Ct&&Ct.config&&(W.configure(Ct.config),W.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}highlight(Xe,{language:Ct,ignoreIllegals:W}){return this._loader.ready.pipe((0,ye.U)(P=>P.highlight(Xe,{language:Ct,ignoreIllegals:W})))}highlightAuto(Xe,Ct){return this._loader.ready.pipe((0,ye.U)(W=>W.highlightAuto(Xe,Ct)))}highlightElement(Xe){return this._loader.ready.pipe((0,ye.U)(Ct=>Ct.highlightElement(Xe)))}highlightAll(){return this._loader.ready.pipe((0,ye.U)(Xe=>Xe.highlightAll()))}configure(Xe){return this._loader.ready.pipe((0,ye.U)(Ct=>Ct.configure(Xe)))}registerLanguage(Xe,Ct){return this._loader.ready.pipe((0,le.b)(W=>W.registerLanguage(Xe,Ct)))}unregisterLanguage(Xe){return this._loader.ready.pipe((0,le.b)(Ct=>Ct.unregisterLanguage(Xe)))}registerAliases(Xe,{languageName:Ct}){return this._loader.ready.pipe((0,le.b)(W=>W.registerAliases(Xe,{languageName:Ct})))}listLanguages(){return this._loader.ready.pipe((0,ye.U)(Xe=>Xe.listLanguages()))}getLanguage(Xe){return this._loader.ready.pipe((0,ye.U)(Ct=>Ct.getLanguage(Xe)))}safeMode(){return this._loader.ready.pipe((0,ye.U)(Xe=>Xe.safeMode()))}debugMode(){return this._loader.ready.pipe((0,ye.U)(Xe=>Xe.debugMode()))}lineNumbersBlock(Xe){return this._loader.ready.pipe((0,S.h)(Ct=>!!Ct.lineNumbersBlock),(0,le.b)(Ct=>Ct.lineNumbersBlock(Xe)))}static#e=this.\u0275fac=function(Ct){return new(Ct||kt)(n.LFG($e),n.LFG(xe,8))};static#t=this.\u0275prov=n.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})(),Dt=(()=>{class kt{constructor(Xe,Ct,W,P,se){this._hljs=Ct,this._sanitizer=W,this.platformId=P,this._options=se,this.highlighted=new n.vpe,this._nativeElement=Xe.nativeElement}ngOnChanges(Xe){(0,l.NF)(this.platformId)&&null!==Xe?.code?.currentValue&&Xe.code.currentValue!==Xe.code.previousValue&&(this.code?this.highlightElement(this.code,this.languages):this.setTextContent(""))}highlightElement(Xe,Ct){this.setTextContent(Xe),this._hljs.highlightAuto(Xe,Ct).subscribe(W=>{this.setInnerHTML(W?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(W)})}addLineNumbers(){this.destroyLineNumbersObserver(),ve.Z.schedule(()=>{this._hljs.lineNumbersBlock(this._nativeElement).subscribe(),this._lineNumbersObs=new MutationObserver(()=>{this._nativeElement.firstElementChild&&"TABLE"===this._nativeElement.firstElementChild.tagName.toUpperCase()&&this._nativeElement.classList.add("hljs-line-numbers"),this.destroyLineNumbersObserver()}),this._lineNumbersObs.observe(this._nativeElement,{childList:!0})})}destroyLineNumbersObserver(){this._lineNumbersObs&&(this._lineNumbersObs.disconnect(),this._lineNumbersObs=null)}setTextContent(Xe){ve.Z.schedule(()=>this._nativeElement.textContent=Xe)}setInnerHTML(Xe){ve.Z.schedule(()=>this._nativeElement.innerHTML=function Re(kt){return function Ie(){if(!oe)try{oe=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:kt=>kt})}catch{}return oe}()?.createHTML(kt)||kt}(this._sanitizer.sanitize(n.q3G.HTML,Xe)||""))}static#e=this.\u0275fac=function(Ct){return new(Ct||kt)(n.Y36(n.SBq),n.Y36(bt),n.Y36(H.H7),n.Y36(n.Lbi),n.Y36(xe,8))};static#t=this.\u0275dir=n.lG2({type:kt,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(Ct,W){2&Ct&&n.ekj("hljs",!0)},inputs:{code:["highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},standalone:!0,features:[n.TTD]})}return kt})(),Ut=(()=>{class kt{static#e=this.\u0275fac=function(Ct){return new(Ct||kt)};static#t=this.\u0275mod=n.oAB({type:kt});static#n=this.\u0275inj=n.cJS({})}return kt})()},7582:(Mt,je,g)=>{function fe(P,se,L,Ce){return new(L||(L=Promise))(function($,Be){function ae(it){try{Ze(Ce.next(it))}catch(qe){Be(qe)}}function He(it){try{Ze(Ce.throw(it))}catch(qe){Be(qe)}}function Ze(it){it.done?$(it.value):function G($){return $ instanceof L?$:new L(function(Be){Be($)})}(it.value).then(ae,He)}Ze((Ce=Ce.apply(P,se||[])).next())})}function H(P){return this instanceof H?(this.v=P,this):new H(P)}function xe(P,se,L){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var G,Ce=L.apply(P,se||[]),$=[];return G={},Be("next"),Be("throw"),Be("return"),G[Symbol.asyncIterator]=function(){return this},G;function Be(It){Ce[It]&&(G[It]=function(Ye){return new Promise(function(ct,Ee){$.push([It,Ye,ct,Ee])>1||ae(It,Ye)})})}function ae(It,Ye){try{!function He(It){It.value instanceof H?Promise.resolve(It.value.v).then(Ze,it):qe($[0][2],It)}(Ce[It](Ye))}catch(ct){qe($[0][3],ct)}}function Ze(It){ae("next",It)}function it(It){ae("throw",It)}function qe(It,Ye){It(Ye),$.shift(),$.length&&ae($[0][0],$[0][1])}}function Ie(P){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var L,se=P[Symbol.asyncIterator];return se?se.call(P):(P=function Ue(P){var se="function"==typeof Symbol&&Symbol.iterator,L=se&&P[se],Ce=0;if(L)return L.call(P);if(P&&"number"==typeof P.length)return{next:function(){return P&&Ce>=P.length&&(P=void 0),{value:P&&P[Ce++],done:!P}}};throw new TypeError(se?"Object is not iterable.":"Symbol.iterator is not defined.")}(P),L={},Ce("next"),Ce("throw"),Ce("return"),L[Symbol.asyncIterator]=function(){return this},L);function Ce($){L[$]=P[$]&&function(Be){return new Promise(function(ae,He){!function G($,Be,ae,He){Promise.resolve(He).then(function(Ze){$({value:Ze,done:ae})},Be)}(ae,He,(Be=P[$](Be)).done,Be.value)})}}}g.d(je,{FC:()=>xe,KL:()=>Ie,mG:()=>fe,qq:()=>H}),"function"==typeof SuppressedError&&SuppressedError}},Mt=>{Mt(Mt.s=9677)}]); \ No newline at end of file diff --git a/runtime.82f66d071f565245.js b/runtime.8f74e70d2d9673f1.js similarity index 93% rename from runtime.82f66d071f565245.js rename to runtime.8f74e70d2d9673f1.js index c78f17b..6d6f9c4 100644 --- a/runtime.82f66d071f565245.js +++ b/runtime.8f74e70d2d9673f1.js @@ -1 +1 @@ -(()=>{"use strict";var e,v={},m={};function r(e){var o=m[e];if(void 0!==o)return o.exports;var t=m[e]={exports:{}};return v[e](t,t.exports,r),t.exports}r.m=v,e=[],r.O=(o,t,f,i)=>{if(!t){var a=1/0;for(n=0;n=i)&&Object.keys(r.O).every(p=>r.O[p](t[d]))?t.splice(d--,1):(l=!1,i0&&e[n-1][2]>i;n--)e[n]=e[n-1];e[n]=[t,f,i]},r.d=(e,o)=>{for(var t in o)r.o(o,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((o,t)=>(r.f[t](e,o),o),[])),r.u=e=>(592===e?"common":e)+"."+{164:"398aa1ab4206fa39",254:"25a66ffae894a6c2",266:"abd53745aa8a7257",373:"0831fc66775c9d0b",576:"ab629d8603dae832",592:"522840780b46ef98",668:"81a125715341be18",832:"745c6e20e3534409",914:"8623f3f708f48651",923:"7907077244e285ce"}[e]+".js",r.miniCssF=e=>{},r.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),(()=>{var e={},o="docs:";r.l=(t,f,i,n)=>{if(e[t])e[t].push(f);else{var a,l;if(void 0!==i)for(var d=document.getElementsByTagName("script"),c=0;c{a.onerror=a.onload=null,clearTimeout(b);var h=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),h&&h.forEach(y=>y(p)),g)return g(p)},b=setTimeout(s.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=s.bind(null,a.onerror),a.onload=s.bind(null,a.onload),l&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:o=>o},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={666:0};r.f.j=(f,i)=>{var n=r.o(e,f)?e[f]:void 0;if(0!==n)if(n)i.push(n[2]);else if(666!=f){var a=new Promise((u,s)=>n=e[f]=[u,s]);i.push(n[2]=a);var l=r.p+r.u(f),d=new Error;r.l(l,u=>{if(r.o(e,f)&&(0!==(n=e[f])&&(e[f]=void 0),n)){var s=u&&("load"===u.type?"missing":u.type),b=u&&u.target&&u.target.src;d.message="Loading chunk "+f+" failed.\n("+s+": "+b+")",d.name="ChunkLoadError",d.type=s,d.request=b,n[1](d)}},"chunk-"+f,f)}else e[f]=0},r.O.j=f=>0===e[f];var o=(f,i)=>{var d,c,[n,a,l]=i,u=0;if(n.some(b=>0!==e[b])){for(d in a)r.o(a,d)&&(r.m[d]=a[d]);if(l)var s=l(r)}for(f&&f(i);u{"use strict";var e,v={},m={};function r(e){var o=m[e];if(void 0!==o)return o.exports;var t=m[e]={exports:{}};return v[e](t,t.exports,r),t.exports}r.m=v,e=[],r.O=(o,t,f,i)=>{if(!t){var a=1/0;for(n=0;n=i)&&Object.keys(r.O).every(p=>r.O[p](t[d]))?t.splice(d--,1):(l=!1,i0&&e[n-1][2]>i;n--)e[n]=e[n-1];e[n]=[t,f,i]},r.d=(e,o)=>{for(var t in o)r.o(o,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((o,t)=>(r.f[t](e,o),o),[])),r.u=e=>(592===e?"common":e)+"."+{164:"398aa1ab4206fa39",254:"956684e1b566c634",266:"abd53745aa8a7257",373:"0831fc66775c9d0b",576:"ab629d8603dae832",592:"522840780b46ef98",668:"81a125715341be18",832:"5c8535875696c0fa",914:"9910bf987352131e",923:"2dfe9bd02babbc0e"}[e]+".js",r.miniCssF=e=>{},r.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),(()=>{var e={},o="docs:";r.l=(t,f,i,n)=>{if(e[t])e[t].push(f);else{var a,l;if(void 0!==i)for(var d=document.getElementsByTagName("script"),c=0;c{a.onerror=a.onload=null,clearTimeout(b);var h=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),h&&h.forEach(y=>y(p)),g)return g(p)},b=setTimeout(s.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=s.bind(null,a.onerror),a.onload=s.bind(null,a.onload),l&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:o=>o},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={666:0};r.f.j=(f,i)=>{var n=r.o(e,f)?e[f]:void 0;if(0!==n)if(n)i.push(n[2]);else if(666!=f){var a=new Promise((u,s)=>n=e[f]=[u,s]);i.push(n[2]=a);var l=r.p+r.u(f),d=new Error;r.l(l,u=>{if(r.o(e,f)&&(0!==(n=e[f])&&(e[f]=void 0),n)){var s=u&&("load"===u.type?"missing":u.type),b=u&&u.target&&u.target.src;d.message="Loading chunk "+f+" failed.\n("+s+": "+b+")",d.name="ChunkLoadError",d.type=s,d.request=b,n[1](d)}},"chunk-"+f,f)}else e[f]=0},r.O.j=f=>0===e[f];var o=(f,i)=>{var d,c,[n,a,l]=i,u=0;if(n.some(b=>0!==e[b])){for(d in a)r.o(a,d)&&(r.m[d]=a[d]);if(l)var s=l(r)}for(f&&f(i);u.mtx-calendar-body-cell-content:not(.mtx-calendar-body-selected),.mtx-calendar-body-active>.mtx-calendar-body-cell-content:not(.mtx-calendar-body-selected){background-color:#3f51b54d}.mtx-calendar-body-disabled>.mtx-calendar-body-cell-content:not(.mtx-calendar-body-selected){color:#00000061}.mtx-calendar-body-disabled>.mtx-calendar-body-today:not(.mtx-calendar-body-selected){border-color:#00000061}.mtx-calendar-body-disabled>.mtx-calendar-body-selected{background-color:#3f51b566}.mtx-calendar-previous-button.disabled,.mtx-calendar-next-button.disabled{color:#00000061}.mtx-clock-wrapper{background-color:#0000001f}.mtx-clock-center,.mtx-clock-hand{background-color:#3f51b5}.mtx-clock-hand:before{background-color:#3f51b5}.mtx-clock-cell{color:#000000de}.mtx-clock-cell.mtx-clock-cell-selected{background-color:#3f51b5;color:#fff}.mtx-clock-cell:not(.mtx-clock-cell-selected,.mtx-clock-cell-disabled):hover{background-color:#0000000a}.mtx-clock-cell.mtx-clock-cell-disabled{color:#00000061}.mtx-datetimepicker-toggle-active{color:#3f51b5}.mtx-datetimepicker-toggle-active.mat-accent{color:#ff4081}.mtx-datetimepicker-toggle-active.mat-warn{color:#f44336}.mtx-time-input{color:#000000de;background-color:#0000001f}.mtx-time-input.mtx-time-input-active{color:#3f51b5;background-color:#3f51b533}.mtx-time-input.mtx-time-input-active:focus{border-color:#3f51b5;background-color:#fafafa}.mtx-time-input.mtx-time-input-active:focus::placeholder{color:#3f51b599}.mtx-time-input.mtx-time-input-warning{border-color:#f44336}.mtx-time-ampm .mtx-time-am,.mtx-time-ampm .mtx-time-pm{--mdc-text-button-label-text-color: rgba(0, 0, 0, .75);border-color:#00000061}.mtx-time-ampm .mtx-time-am.mtx-time-ampm-active,.mtx-time-ampm .mtx-time-pm.mtx-time-ampm-active{--mdc-text-button-label-text-color: rgba(0, 0, 0, .87);--mdc-typography-button-font-weight: 500;background-color:#ff408133}.mtx-calendar{font-family:Roboto,Helvetica Neue,sans-serif}.mtx-calendar-body{font-size:13px}.mtx-calendar-body-label,.mtx-calendar-period-button{font-size:14px;font-weight:500}.mtx-calendar-table-header th{font-size:11px;font-weight:400}.mtx-clock{font-size:14px}.mtx-drawer-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:white;color:#000000de}.mtx-grid{border:1px solid rgba(0,0,0,.2)}.mtx-grid .mat-table-sticky-left,.mtx-grid .mat-table-sticky-right{border-color:#0000001f}.mtx-grid .mat-mdc-table.mat-table-striped .mat-row-odd{background-color:#f5f5f5}.mtx-grid .mat-mdc-table.mat-table-hover .mat-mdc-row:hover,.mtx-grid .mat-mdc-table .mat-mdc-row.selected,.mtx-grid .mat-mdc-table .mat-mdc-row.mat-row-odd.selected{background-color:#e5e5e5}.mtx-grid .mat-mdc-table .mat-mdc-cell.selected{box-shadow:inset 0 0 0 1px #ff4081}.mtx-grid .mat-mdc-footer-row .mat-mdc-footer-cell{border-top:1px solid rgba(0,0,0,.12);border-bottom-width:0;background-color:#f5f5f5}.mtx-grid .mat-mdc-paginator{border-top:1px solid rgba(0,0,0,.2)}.mtx-grid-toolbar{border-bottom:1px solid rgba(0,0,0,.2)}.mtx-grid-sidebar{border-color:#0003}.mtx-grid-statusbar{border-top:1px solid rgba(0,0,0,.2)}.mtx-grid-column-menu-item{color:#000000de}.mtx-grid-column-menu-header,.mtx-grid-column-menu-footer{color:#000000de;background-color:#fff}.mtx-grid-column-menu-header{border-bottom:1px solid rgba(0,0,0,.12)}.mtx-grid-column-menu-footer{border-top:1px solid rgba(0,0,0,.12)}.mat-column-resize-table.cdk-column-resize-with-resized-column{table-layout:fixed}.mat-column-resize-flex .mat-mdc-header-cell,.mat-column-resize-flex .mat-mdc-cell{box-sizing:border-box;min-width:32px}.mat-mdc-header-cell{position:relative}.mat-resizable{box-sizing:border-box}.mat-mdc-header-cell:not(.mat-resizable):after,.mat-resizable-handle{position:absolute;bottom:0;top:0;right:0;width:1px;background:transparent;transition:background .3s cubic-bezier(.55,0,.55,.2)}.mat-mdc-header-cell:not(.mat-resizable):after{content:""}[dir=rtl] .mat-mdc-header-cell:not(.mat-resizable):after,[dir=rtl] .mat-resizable-handle{left:0;right:auto}.mat-mdc-header-row.cdk-column-resize-hover-or-active .mat-mdc-header-cell:not(.mat-resizable):after{background:rgba(0,0,0,.12)}.mat-mdc-header-row.cdk-column-resize-hover-or-active .mat-resizable-handle{background:#9fa8da}.mat-resizable.cdk-resizable-overlay-thumb-active>.mat-resizable-handle{opacity:0;transition:none}.mat-resizable-handle:focus,.mat-mdc-header-row.cdk-column-resize-hover-or-active .mat-resizable-handle:focus{background:#3f51b5;outline:none}.mat-column-resize-overlay-thumb{background:transparent;cursor:col-resize;height:100%;transition:background .3s cubic-bezier(.55,0,.55,.2);width:100%;-webkit-user-select:none;user-select:none}.mat-column-resize-overlay-thumb:active{background:linear-gradient(90deg,transparent,transparent 7px,#3f51b5,#3f51b5 1px,transparent 8px,transparent);will-change:transform}.mtx-loader-backdrop{background-color:#fafafabf}.mtx-popover-panel{color:#000000de;background-color:#fff}[class*=mtx-popover] .mtx-popover-direction-arrow:before{border-color:#0000001f}[class*=mtx-popover] .mtx-popover-direction-arrow:after{border-color:#fff}[class*=mtx-popover-below] .mtx-popover-direction-arrow:before,[class*=mtx-popover-below] .mtx-popover-direction-arrow:after,[class*=mtx-popover-above] .mtx-popover-direction-arrow:before,[class*=mtx-popover-above] .mtx-popover-direction-arrow:after{border-left-color:transparent;border-right-color:transparent}[class*=mtx-popover-before] .mtx-popover-direction-arrow:before,[class*=mtx-popover-before] .mtx-popover-direction-arrow:after,[class*=mtx-popover-after] .mtx-popover-direction-arrow:before,[class*=mtx-popover-after] .mtx-popover-direction-arrow:after{border-top-color:transparent;border-bottom-color:transparent}.mtx-progress{background-color:#0000000a}.mtx-progress-fill-info{background-color:#2196f3;color:#fff}.mtx-progress-fill-success{background-color:#4caf50;color:#fff}.mtx-progress-fill-warning{background-color:#ff9800;color:#fff}.mtx-progress-fill-danger{background-color:#f44336;color:#fff}.ng-select .ng-select-container{color:#000000de}.ng-select .ng-select-container .ng-value-container .ng-placeholder{color:#00000061}.ng-select .ng-select-container .ng-value-container .ng-input>input{color:#000000de}.ng-select.ng-select-disabled .ng-value{color:#00000061}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{color:#000000de;background-color:#e0e0e0;border:1px solid rgba(0,0,0,.12)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled{opacity:.4}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon:hover{background-color:#0000001f}.ng-select .ng-clear-wrapper{color:#0000008a}.ng-select .ng-clear-wrapper:hover .ng-clear{color:#f44336}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:rgba(0,0,0,.54) transparent transparent}.ng-select.ng-select-invalid .ng-arrow-wrapper .ng-arrow{border-color:#f44336 transparent transparent}.ng-select.ng-select-opened .ng-arrow-wrapper .ng-arrow{border-color:transparent transparent rgba(0,0,0,.54)}.ng-select.ng-select-opened.ng-select-invalid .ng-arrow-wrapper .ng-arrow{border-color:transparent transparent #f44336}.ng-dropdown-panel{background-color:#fff}.ng-dropdown-panel.multiple .ng-option.selected{background:rgba(0,0,0,.12)}.ng-dropdown-panel.multiple .ng-option.marked{background:rgba(0,0,0,.04)}.ng-dropdown-panel .ng-dropdown-header{border-bottom:1px solid rgba(0,0,0,.12)}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid rgba(0,0,0,.12)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{color:#0000008a}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-marked{background:rgba(0,0,0,.04)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected{background:rgba(0,0,0,.12)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{color:#000000de}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked{background:rgba(0,0,0,.04)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected{background:rgba(0,0,0,.12)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{color:#00000061}.mdc-text-field--outlined .ng-select{padding-top:16px;padding-bottom:16px;margin-top:-16px;margin-bottom:-16px}.ng-select{padding-top:24px;padding-bottom:8px;margin-top:-24px;margin-bottom:-8px}.mdc-text-field--no-label .ng-select{padding-top:16px;padding-bottom:16px;margin-top:-16px;margin-bottom:-16px}.mtx-slider-thumb{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mtx-slider-track-background{background-color:#bdbdbd}.mat-primary .mtx-slider-track-fill,.mat-primary .mtx-slider-thumb,.mat-primary .mtx-slider-thumb-label{background-color:#3f51b5}.mat-primary .mtx-slider-thumb-label-text{color:#fff}.mat-primary .mtx-slider-focus-ring{background-color:#3f51b533}.mat-accent .mtx-slider-track-fill,.mat-accent .mtx-slider-thumb,.mat-accent .mtx-slider-thumb-label{background-color:#ff4081}.mat-accent .mtx-slider-thumb-label-text{color:#fff}.mat-accent .mtx-slider-focus-ring{background-color:#ff408133}.mat-warn .mtx-slider-track-fill,.mat-warn .mtx-slider-thumb,.mat-warn .mtx-slider-thumb-label{background-color:#f44336}.mat-warn .mtx-slider-thumb-label-text{color:#fff}.mat-warn .mtx-slider-focus-ring{background-color:#f4433633}.mtx-slider:hover .mtx-slider-track-background,.mtx-slider.cdk-focused .mtx-slider-track-background{background-color:#00000061}.mtx-slider-disabled .mtx-slider-track-background{background-color:#bdbdbd8a}.mtx-slider-disabled .mtx-slider-track-fill,.mtx-slider-disabled .mtx-slider-thumb{background-color:#bdbdbd}.mtx-slider-disabled:hover .mtx-slider-track-background,.mtx-slider-disabled.cdk-focused .mtx-slider-track-background{background-color:#bdbdbd8a}.mtx-slider-min-value .mtx-slider-focus-ring{background-color:#0000001f}.mtx-slider-min-value.mtx-slider-thumb-label-showing:not(.mtx-range-slider) .mtx-slider-thumb,.mtx-slider-min-value.mtx-slider-thumb-label-showing:not(.mtx-range-slider) .mtx-slider-thumb-label{background-color:#000000de}.mtx-slider-min-value.mtx-slider-thumb-label-showing:not(.mtx-range-slider).cdk-focused .mtx-slider-thumb,.mtx-slider-min-value.mtx-slider-thumb-label-showing:not(.mtx-range-slider).cdk-focused .mtx-slider-thumb-label{background-color:#00000042}.mtx-slider-min-value:not(.mtx-slider-thumb-label-showing,.mtx-range-slider) .mtx-slider-thumb{background-color:#bdbdbd}.mtx-slider-min-value:not(.mtx-slider-thumb-label-showing,.mtx-range-slider):hover .mtx-slider-thumb,.mtx-slider-min-value:not(.mtx-slider-thumb-label-showing,.mtx-range-slider).cdk-focused .mtx-slider-thumb{background-color:#00000061}.mtx-slider-min-value:not(.mtx-slider-thumb-label-showing,.mtx-range-slider):hover.mtx-slider-disabled .mtx-slider-thumb,.mtx-slider-min-value:not(.mtx-slider-thumb-label-showing,.mtx-range-slider).cdk-focused.mtx-slider-disabled .mtx-slider-thumb{border-color:#bdbdbd}.mtx-slider-has-ticks .mtx-slider-wrapper:after{border-color:#000000b3}.mtx-slider-horizontal .mtx-slider-ticks{background-image:repeating-linear-gradient(to right,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mtx-slider-vertical .mtx-slider-ticks{background-image:repeating-linear-gradient(to bottom,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mtx-slider-thumb-label-text{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:400}.mtx-split>.mtx-split-gutter{background-color:#0000001f}.mtx-split>.mtx-split-gutter:hover{background-color:#3f51b5}.mtx-split>.mtx-split-gutter.mat-accent:hover{background-color:#ff4081}.mtx-split>.mtx-split-gutter.mat-warn:hover{background-color:#f44336}.mtx-mdc-tooltip{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: white}.mtx-mdc-tooltip{--mdc-plain-tooltip-supporting-text-font: Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size: 12px;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: .0333333333em} diff --git a/styles.5ed8566cb1e909c4.css b/styles.5ed8566cb1e909c4.css new file mode 100644 index 0000000..08be523 --- /dev/null +++ b/styles.5ed8566cb1e909c4.css @@ -0,0 +1 @@ +:root{--bg-color: white;--bg-translucent-color: rgba(255, 255, 255, .9);--bg-secondary-color: rgba(240, 240, 240, 1);--fg-color: rgba(85, 85, 90, 1);--fg-secondary-color: rgba(85, 85, 90, .7);--border-color: rgba(0, 0, 0, .1);--heading-color: rgba(50, 50, 55, 1);--console-color: rgba(0, 0, 0, .4);--console-bg-color: rgba(0, 0, 0, .04);--a-color: rgba(65, 105, 190, 1);--hl-keyword: rgb(85, 140, 180);--hl-string: rgb(115, 105, 175);--hl-number: rgb(50, 160, 85);--hl-comment: rgba(100, 100, 100);--hl-title: rgb(165, 120, 20);--mat-standard-button-toggle-height: 32px}*,*:before,*:after{box-sizing:border-box}body{padding:0;margin:0;color:var(--fg-color);background-color:var(--bg-color);line-height:1.5;font-family:system-ui,-apple-system,Helvetica Neue,sans-serif}h1,h2,h3,h4,h5,h6,h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{color:var(--heading-color)}a{color:var(--a-color);text-decoration:none}a:hover{text-decoration:underline}code,kbd,pre,samp{font-family:Roboto Mono,monospace}pre{padding:32px;overflow:auto;border-radius:8px;background-color:var(--bg-secondary-color);line-height:1.2}pre code{display:inline;padding:0}@media (width < 600px){pre{padding:16px}}code{display:inline-block;padding:0 4px;font-size:.75rem;word-wrap:break-word;background-color:var(--bg-secondary-color);border-radius:4px}table{width:100%;caption-side:bottom;border-collapse:collapse}table th,table td{padding:8px;border:1px solid var(--border-color)}.gui-form{display:block;background-color:var(--bg-color);box-shadow:0 2px 4px #0003;border-radius:4px}.hljs-keyword{color:var(--hl-keyword)}.hljs-number{color:var(--hl-number)}.hljs-string{color:var(--hl-string)}.hljs-comment,.hljs-quote{color:var(--hl-comment)}.hljs-title{color:var(--hl-title)}.photoviewer-modal{position:absolute;z-index:1090;width:320px;height:320px;overflow:visible!important;color:#333;cursor:default;background-color:#ffffffeb;border:1px solid rgba(0,0,0,.64);border-radius:6px;outline:none;box-shadow:0 2px 10px 2px #00000052}.photoviewer-inner{position:absolute;inset:0}.photoviewer-maximized{position:fixed;inset:0;width:auto;height:auto}.photoviewer-maximized.photoviewer-modal{border-width:0;border-radius:0}.photoviewer-maximized .photoviewer-header{border-radius:0}.photoviewer-maximized .photoviewer-resizable-handle{display:none}.photoviewer-toolbar{font-size:0}.photoviewer-button{display:inline-block;min-width:40px;height:40px;box-sizing:border-box;margin:0;font-size:16px;line-height:1;text-align:center;background:none;border-width:0;border-radius:0;color:inherit;cursor:pointer;outline:none}.photoviewer-button:hover{color:#111}.photoviewer-button:focus{background-color:#00000014}.photoviewer-button svg{display:inline-block;font-size:inherit;width:1em;height:1em;overflow:visible;vertical-align:-.125em}.photoviewer-header{position:relative;z-index:2;height:30px;border-radius:5px 5px 0 0;overflow:hidden}.photoviewer-header .photoviewer-toolbar{float:right}[dir=rtl] .photoviewer-header .photoviewer-toolbar{float:left}.photoviewer-header .photoviewer-button{height:30px}.photoviewer-header .photoviewer-button:hover{background-color:#00000014}.photoviewer-header .photoviewer-button-close:hover{color:#fff;background-color:#ff4545}.photoviewer-title{padding:8px 10px;font-size:14px;line-height:1;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;user-select:none;overflow:hidden}.photoviewer-stage{position:absolute;inset:30px 0 40px;z-index:1;border-top:1px solid rgba(0,0,0,.64);border-bottom:1px solid rgba(0,0,0,.64);background-color:#fff;overflow:hidden}.photoviewer-stage.stage-ready{text-align:center;font-size:0}.photoviewer-stage.stage-ready:before{content:"";display:inline-block;height:100%;vertical-align:middle;overflow:hidden}.photoviewer-image{position:absolute;display:inline-block;min-width:auto;max-width:none}.photoviewer-image.image-ready{position:static;max-width:100%;max-height:100%;vertical-align:middle}.photoviewer-footer{position:absolute;bottom:0;z-index:2;width:100%;height:40px;text-align:center}.photoviewer-footer .photoviewer-toolbar{display:inline-block}[dir=rtl] .photoviewer-button-prev,[dir=rtl] .photoviewer-button-next{transform:rotate(180deg)}.photoviewer-resizable-handle{position:absolute;z-index:10}.photoviewer-resizable-handle-e{inset:0 -5px 0 auto;width:10px;cursor:e-resize}.photoviewer-resizable-handle-s{inset:auto 0 -5px;height:10px;cursor:s-resize}.photoviewer-resizable-handle-w{inset:0 auto 0 -5px;width:10px;cursor:w-resize}.photoviewer-resizable-handle-n{inset:-5px 0 auto;height:10px;cursor:n-resize}.photoviewer-resizable-handle-se{inset:auto -5px -5px auto;width:10px;height:10px;cursor:se-resize}.photoviewer-resizable-handle-sw{inset:auto auto -5px -5px;width:10px;height:10px;cursor:sw-resize}.photoviewer-resizable-handle-nw{inset:-5px auto auto -5px;width:10px;height:10px;cursor:nw-resize}.photoviewer-resizable-handle-ne{inset:-5px -5px auto auto;width:10px;height:10px;cursor:ne-resize}:-moz-full-screen{inset:0!important;width:100%!important;height:100%!important;background-color:transparent;border-width:0;border-radius:0}:-moz-full-screen .photoviewer-header,:-moz-full-screen .photoviewer-footer,:-moz-full-screen .photoviewer-resizable-handle{display:none}:-moz-full-screen .photoviewer-stage{inset:0;border-width:0;background-color:#000}:-ms-fullscreen{inset:0!important;width:100%!important;height:100%!important;background-color:transparent;border-width:0;border-radius:0}:-ms-fullscreen .photoviewer-header,:-ms-fullscreen .photoviewer-footer,:-ms-fullscreen .photoviewer-resizable-handle{display:none}:-ms-fullscreen .photoviewer-stage{inset:0;border-width:0;background-color:#000}:full-screen{inset:0!important;width:100%!important;height:100%!important;background-color:transparent;border-width:0;border-radius:0}:full-screen .photoviewer-header,:full-screen .photoviewer-footer,:full-screen .photoviewer-resizable-handle{display:none}:full-screen .photoviewer-stage{inset:0;border-width:0;background-color:#000}:-webkit-full-screen{inset:0!important;width:100%!important;height:100%!important;background-color:transparent;border-width:0;border-radius:0}:fullscreen{inset:0!important;width:100%!important;height:100%!important;background-color:transparent;border-width:0;border-radius:0}:-webkit-full-screen .photoviewer-header,:-webkit-full-screen .photoviewer-footer,:-webkit-full-screen .photoviewer-resizable-handle{display:none}:fullscreen .photoviewer-header,:fullscreen .photoviewer-footer,:fullscreen .photoviewer-resizable-handle{display:none}:-webkit-full-screen .photoviewer-stage{inset:0;border-width:0;background-color:#000}:fullscreen .photoviewer-stage{inset:0;border-width:0;background-color:#000}::backdrop{background-color:#000}::-ms-backdrop{background-color:#000}.is-grab{cursor:move;cursor:grab}.is-grabbing{cursor:move;cursor:grabbing}.photoviewer-loader{position:absolute;inset:30px 0 40px;z-index:2;text-align:center;color:#333}.photoviewer-loader:before{content:"";position:relative;display:inline-block;width:36px;height:36px;box-sizing:border-box;border-width:5px;border-style:solid;border-color:rgba(0,0,0,.5) rgba(0,0,0,.5) rgba(0,0,0,.5) rgba(255,255,255,.5);border-radius:100%;vertical-align:middle;animation:photoviewerLoading 1s infinite linear}.photoviewer-loader:after{content:"";display:inline-block;width:0;height:100%;vertical-align:middle;overflow:hidden}@keyframes photoviewerLoading{0%{transform:rotate(0) translateZ(0)}to{transform:rotate(360deg) translateZ(0)}}.mat-button-loading .mdc-button__label,.mat-button-loading .mat-icon{visibility:hidden}.mat-button-loading .mat-mdc-progress-spinner{position:absolute;top:calc(50% - 12px);left:calc(50% - 12px)}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}.mat-ripple-element{background-color:#0000001a}html{--mat-option-selected-state-label-text-color: #3f51b5;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-accent{--mat-option-selected-state-label-text-color: #ff4081}.mat-warn{--mat-option-selected-state-label-text-color: #f44336}html{--mat-optgroup-label-text-color: rgba(0, 0, 0, .87)}.mat-pseudo-checkbox-full{color:#0000008a}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{color:#b0b0b0}.mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#3f51b5}.mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#3f51b5}.mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#ff4081}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#ff4081}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#ff4081}.mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#ff4081}.mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#f44336}.mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#f44336}.mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#b0b0b0}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#b0b0b0}.mat-app-background{background-color:#fafafa;color:#000000de}.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker{display:none}html{--mat-option-label-text-font: Roboto, sans-serif;--mat-option-label-text-line-height: 24px;--mat-option-label-text-size: 16px;--mat-option-label-text-tracking: .03125em;--mat-option-label-text-weight: 400}html{--mat-optgroup-label-text-font: Roboto, sans-serif;--mat-optgroup-label-text-line-height: 24px;--mat-optgroup-label-text-size: 16px;--mat-optgroup-label-text-tracking: .03125em;--mat-optgroup-label-text-weight: 400}.mat-mdc-card{--mdc-elevated-card-container-color: white;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-color: white;--mdc-outlined-card-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-subtitle-text-color: rgba(0, 0, 0, .54)}.mat-mdc-card{--mat-card-title-text-font: Roboto, sans-serif;--mat-card-title-text-line-height: 32px;--mat-card-title-text-size: 20px;--mat-card-title-text-tracking: .0125em;--mat-card-title-text-weight: 500;--mat-card-subtitle-text-font: Roboto, sans-serif;--mat-card-subtitle-text-line-height: 22px;--mat-card-subtitle-text-size: 14px;--mat-card-subtitle-text-tracking: .0071428571em;--mat-card-subtitle-text-weight: 500}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color: #3f51b5;--mdc-linear-progress-track-color: rgba(63, 81, 181, .25)}.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:#3f51b540;background-color:var(--mdc-linear-progress-track-color, rgba(63, 81, 181, .25))}@media (forced-colors: active){.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(63, 81, 181, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar .mdc-linear-progress__buffer-bar{background-color:#3f51b540;background-color:var(--mdc-linear-progress-track-color, rgba(63, 81, 181, .25))}.mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color: #ff4081;--mdc-linear-progress-track-color: rgba(255, 64, 129, .25)}.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:#ff408140;background-color:var(--mdc-linear-progress-track-color, rgba(255, 64, 129, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(255, 64, 129, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-bar{background-color:#ff408140;background-color:var(--mdc-linear-progress-track-color, rgba(255, 64, 129, .25))}.mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}@keyframes mdc-linear-progress-buffering{}.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-bar{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}.mat-mdc-tooltip{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff}.mat-mdc-tooltip{--mdc-plain-tooltip-supporting-text-font: Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size: 12px;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: .0333333333em}html{--mdc-filled-text-field-caret-color: #3f51b5;--mdc-filled-text-field-focus-active-indicator-color: #3f51b5;--mdc-filled-text-field-focus-label-text-color: rgba(63, 81, 181, .87);--mdc-filled-text-field-container-color: whitesmoke;--mdc-filled-text-field-disabled-container-color: #fafafa;--mdc-filled-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-error-focus-label-text-color: #f44336;--mdc-filled-text-field-error-label-text-color: #f44336;--mdc-filled-text-field-error-caret-color: #f44336;--mdc-filled-text-field-active-indicator-color: rgba(0, 0, 0, .42);--mdc-filled-text-field-disabled-active-indicator-color: rgba(0, 0, 0, .06);--mdc-filled-text-field-hover-active-indicator-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-error-active-indicator-color: #f44336;--mdc-filled-text-field-error-focus-active-indicator-color: #f44336;--mdc-filled-text-field-error-hover-active-indicator-color: #f44336;--mdc-outlined-text-field-caret-color: #3f51b5;--mdc-outlined-text-field-focus-outline-color: #3f51b5;--mdc-outlined-text-field-focus-label-text-color: rgba(63, 81, 181, .87);--mdc-outlined-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-error-caret-color: #f44336;--mdc-outlined-text-field-error-focus-label-text-color: #f44336;--mdc-outlined-text-field-error-label-text-color: #f44336;--mdc-outlined-text-field-outline-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-disabled-outline-color: rgba(0, 0, 0, .06);--mdc-outlined-text-field-hover-outline-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-error-focus-outline-color: #f44336;--mdc-outlined-text-field-error-hover-outline-color: #f44336;--mdc-outlined-text-field-error-outline-color: #f44336;--mat-form-field-disabled-input-text-placeholder-color: rgba(0, 0, 0, .38)}.mat-mdc-form-field-error{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align:before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{background-color:#000000de}.mat-mdc-form-field:hover .mat-mdc-form-field-focus-overlay{opacity:.04}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:.12}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix:after{color:#0000008a}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-primary .mat-mdc-form-field-infix:after{color:#3f51b5de}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-accent .mat-mdc-form-field-infix:after{color:#ff4081de}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-warn .mat-mdc-form-field-infix:after{color:#f44336de}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix:after{color:#00000061}.mat-mdc-form-field.mat-accent{--mdc-filled-text-field-caret-color: #ff4081;--mdc-filled-text-field-focus-active-indicator-color: #ff4081;--mdc-filled-text-field-focus-label-text-color: rgba(255, 64, 129, .87);--mdc-outlined-text-field-caret-color: #ff4081;--mdc-outlined-text-field-focus-outline-color: #ff4081;--mdc-outlined-text-field-focus-label-text-color: rgba(255, 64, 129, .87)}.mat-mdc-form-field.mat-warn{--mdc-filled-text-field-caret-color: #f44336;--mdc-filled-text-field-focus-active-indicator-color: #f44336;--mdc-filled-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mdc-outlined-text-field-caret-color: #f44336;--mdc-outlined-text-field-focus-outline-color: #f44336;--mdc-outlined-text-field-focus-label-text-color: rgba(244, 67, 54, .87)}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid transparent}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid transparent}.mat-mdc-form-field-infix{min-height:56px}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:28px}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY( -34.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:16px;padding-bottom:16px}.mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix{padding-top:24px;padding-bottom:8px}.mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix{padding-top:16px;padding-bottom:16px}html{--mdc-filled-text-field-label-text-font: Roboto, sans-serif;--mdc-filled-text-field-label-text-size: 16px;--mdc-filled-text-field-label-text-tracking: .03125em;--mdc-filled-text-field-label-text-weight: 400;--mdc-outlined-text-field-label-text-font: Roboto, sans-serif;--mdc-outlined-text-field-label-text-size: 16px;--mdc-outlined-text-field-label-text-tracking: .03125em;--mdc-outlined-text-field-label-text-weight: 400;--mat-form-field-container-text-font: Roboto, sans-serif;--mat-form-field-container-text-line-height: 24px;--mat-form-field-container-text-size: 16px;--mat-form-field-container-text-tracking: .03125em;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 16px;--mat-form-field-subscript-text-font: Roboto, sans-serif;--mat-form-field-subscript-text-line-height: 20px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: .0333333333em;--mat-form-field-subscript-text-weight: 400}html{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(63, 81, 181, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-accent{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(255, 64, 129, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-warn{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(244, 67, 54, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html{--mat-select-trigger-text-font: Roboto, sans-serif;--mat-select-trigger-text-line-height: 24px;--mat-select-trigger-text-size: 16px;--mat-select-trigger-text-tracking: .03125em;--mat-select-trigger-text-weight: 400}html{--mat-autocomplete-background-color: white}.mat-mdc-dialog-container{--mdc-dialog-container-color: white;--mdc-dialog-subhead-color: rgba(0, 0, 0, .87);--mdc-dialog-supporting-text-color: rgba(0, 0, 0, .6)}.mat-mdc-dialog-container{--mdc-dialog-subhead-font: Roboto, sans-serif;--mdc-dialog-subhead-line-height: 32px;--mdc-dialog-subhead-size: 20px;--mdc-dialog-subhead-weight: 500;--mdc-dialog-subhead-tracking: .0125em;--mdc-dialog-supporting-text-font: Roboto, sans-serif;--mdc-dialog-supporting-text-line-height: 24px;--mdc-dialog-supporting-text-size: 16px;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-tracking: .03125em}.mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color: #212121;--mdc-chip-elevated-container-color: #e0e0e0;--mdc-chip-elevated-disabled-container-color: #e0e0e0;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #212121;--mdc-chip-with-icon-icon-color: #212121;--mdc-chip-with-icon-disabled-icon-color: #212121;--mdc-chip-with-icon-selected-icon-color: #212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #212121;--mdc-chip-with-trailing-icon-trailing-icon-color: #212121}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #3f51b5;--mdc-chip-elevated-disabled-container-color: #3f51b5;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #ff4081;--mdc-chip-elevated-disabled-container-color: #ff4081;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-chip.mat-mdc-standard-chip{--mdc-chip-container-height: 32px}.mat-mdc-standard-chip{--mdc-chip-label-text-font: Roboto, sans-serif;--mdc-chip-label-text-line-height: 20px;--mdc-chip-label-text-size: 14px;--mdc-chip-label-text-tracking: .0178571429em;--mdc-chip-label-text-weight: 400}.mat-mdc-slide-toggle{--mdc-switch-selected-focus-state-layer-color: #3949ab;--mdc-switch-selected-handle-color: #3949ab;--mdc-switch-selected-hover-state-layer-color: #3949ab;--mdc-switch-selected-pressed-state-layer-color: #3949ab;--mdc-switch-selected-focus-handle-color: #1a237e;--mdc-switch-selected-hover-handle-color: #1a237e;--mdc-switch-selected-pressed-handle-color: #1a237e;--mdc-switch-selected-focus-track-color: #7986cb;--mdc-switch-selected-hover-track-color: #7986cb;--mdc-switch-selected-pressed-track-color: #7986cb;--mdc-switch-selected-track-color: #7986cb;--mdc-switch-disabled-selected-handle-color: #424242;--mdc-switch-disabled-selected-icon-color: #fff;--mdc-switch-disabled-selected-track-color: #424242;--mdc-switch-disabled-unselected-handle-color: #424242;--mdc-switch-disabled-unselected-icon-color: #fff;--mdc-switch-disabled-unselected-track-color: #424242;--mdc-switch-handle-surface-color: var(--mdc-theme-surface, #fff);--mdc-switch-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-switch-handle-shadow-color: black;--mdc-switch-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-switch-selected-icon-color: #fff;--mdc-switch-unselected-focus-handle-color: #212121;--mdc-switch-unselected-focus-state-layer-color: #424242;--mdc-switch-unselected-focus-track-color: #e0e0e0;--mdc-switch-unselected-handle-color: #616161;--mdc-switch-unselected-hover-handle-color: #212121;--mdc-switch-unselected-hover-state-layer-color: #424242;--mdc-switch-unselected-hover-track-color: #e0e0e0;--mdc-switch-unselected-icon-color: #fff;--mdc-switch-unselected-pressed-handle-color: #212121;--mdc-switch-unselected-pressed-state-layer-color: #424242;--mdc-switch-unselected-pressed-track-color: #e0e0e0;--mdc-switch-unselected-track-color: #e0e0e0}.mat-mdc-slide-toggle .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:#00000061}.mat-mdc-slide-toggle.mat-accent{--mdc-switch-selected-focus-state-layer-color: #d81b60;--mdc-switch-selected-handle-color: #d81b60;--mdc-switch-selected-hover-state-layer-color: #d81b60;--mdc-switch-selected-pressed-state-layer-color: #d81b60;--mdc-switch-selected-focus-handle-color: #880e4f;--mdc-switch-selected-hover-handle-color: #880e4f;--mdc-switch-selected-pressed-handle-color: #880e4f;--mdc-switch-selected-focus-track-color: #f06292;--mdc-switch-selected-hover-track-color: #f06292;--mdc-switch-selected-pressed-track-color: #f06292;--mdc-switch-selected-track-color: #f06292}.mat-mdc-slide-toggle.mat-warn{--mdc-switch-selected-focus-state-layer-color: #e53935;--mdc-switch-selected-handle-color: #e53935;--mdc-switch-selected-hover-state-layer-color: #e53935;--mdc-switch-selected-pressed-state-layer-color: #e53935;--mdc-switch-selected-focus-handle-color: #b71c1c;--mdc-switch-selected-hover-handle-color: #b71c1c;--mdc-switch-selected-pressed-handle-color: #b71c1c;--mdc-switch-selected-focus-track-color: #e57373;--mdc-switch-selected-hover-track-color: #e57373;--mdc-switch-selected-pressed-track-color: #e57373;--mdc-switch-selected-track-color: #e57373}.mat-mdc-slide-toggle{--mdc-switch-state-layer-size: 48px}.mat-mdc-slide-toggle{--mat-slide-toggle-label-text-font: Roboto, sans-serif;--mat-slide-toggle-label-text-size: 14px;--mat-slide-toggle-label-text-tracking: .0178571429em;--mat-slide-toggle-label-text-line-height: 20px;--mat-slide-toggle-label-text-weight: 400}.mat-mdc-slide-toggle .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit)}.mat-mdc-radio-button .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-radio-button.mat-primary{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #3f51b5;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-accent{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #ff4081;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-warn{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button .mdc-radio{--mdc-radio-state-layer-size: 40px}.mat-mdc-radio-button .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-slider{--mdc-slider-label-container-color: black;--mdc-slider-label-label-text-color: white;--mdc-slider-disabled-handle-color: #000;--mdc-slider-disabled-active-track-color: #000;--mdc-slider-disabled-inactive-track-color: #000;--mdc-slider-with-tick-marks-disabled-container-color: #000;--mat-mdc-slider-value-indicator-opacity: .6}.mat-mdc-slider.mat-primary{--mdc-slider-handle-color: #3f51b5;--mdc-slider-focus-handle-color: #3f51b5;--mdc-slider-hover-handle-color: #3f51b5;--mdc-slider-active-track-color: #3f51b5;--mdc-slider-inactive-track-color: #3f51b5;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #3f51b5;--mat-mdc-slider-ripple-color: #3f51b5;--mat-mdc-slider-hover-ripple-color: rgba(63, 81, 181, .05);--mat-mdc-slider-focus-ripple-color: rgba(63, 81, 181, .2)}.mat-mdc-slider.mat-accent{--mdc-slider-handle-color: #ff4081;--mdc-slider-focus-handle-color: #ff4081;--mdc-slider-hover-handle-color: #ff4081;--mdc-slider-active-track-color: #ff4081;--mdc-slider-inactive-track-color: #ff4081;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #ff4081;--mat-mdc-slider-ripple-color: #ff4081;--mat-mdc-slider-hover-ripple-color: rgba(255, 64, 129, .05);--mat-mdc-slider-focus-ripple-color: rgba(255, 64, 129, .2)}.mat-mdc-slider.mat-warn{--mdc-slider-handle-color: #f44336;--mdc-slider-focus-handle-color: #f44336;--mdc-slider-hover-handle-color: #f44336;--mdc-slider-active-track-color: #f44336;--mdc-slider-inactive-track-color: #f44336;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mat-mdc-slider-ripple-color: #f44336;--mat-mdc-slider-hover-ripple-color: rgba(244, 67, 54, .05);--mat-mdc-slider-focus-ripple-color: rgba(244, 67, 54, .2)}.mat-mdc-slider{--mdc-slider-label-label-text-font: Roboto, sans-serif;--mdc-slider-label-label-text-size: 14px;--mdc-slider-label-label-text-line-height: 22px;--mdc-slider-label-label-text-tracking: .0071428571em;--mdc-slider-label-label-text-weight: 500}html{--mat-menu-item-label-text-color: rgba(0, 0, 0, .87);--mat-menu-item-icon-color: rgba(0, 0, 0, .87);--mat-menu-item-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-item-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-container-color: white}html{--mat-menu-item-label-text-font: Roboto, sans-serif;--mat-menu-item-label-text-size: 16px;--mat-menu-item-label-text-tracking: .03125em;--mat-menu-item-label-text-line-height: 24px;--mat-menu-item-label-text-weight: 400}.mat-mdc-list-base{--mdc-list-list-item-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-supporting-text-color: rgba(0, 0, 0, .54);--mdc-list-list-item-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-supporting-text-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-selected-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-disabled-label-text-color: black;--mdc-list-list-item-disabled-leading-icon-color: black;--mdc-list-list-item-disabled-trailing-icon-color: black;--mdc-list-list-item-hover-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-hover-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-focus-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-state-layer-color: black;--mdc-list-list-item-hover-state-layer-opacity: .04;--mdc-list-list-item-focus-state-layer-color: black;--mdc-list-list-item-focus-state-layer-opacity: .12}.mdc-list-item__start,.mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5}.mat-accent .mdc-list-item__start,.mat-accent .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081}.mat-warn .mdc-list-item__start,.mat-warn .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.mat-mdc-list-option{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-accent{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected.mdc-list-item--with-leading-icon .mdc-list-item__start,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated.mdc-list-item--with-leading-icon .mdc-list-item__start{color:#3f51b5}.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mat-mdc-list-base{--mdc-list-list-item-one-line-container-height: 48px;--mdc-list-list-item-two-line-container-height: 64px;--mdc-list-list-item-three-line-container-height: 88px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mat-mdc-list-base{--mdc-list-list-item-label-text-font: Roboto, sans-serif;--mdc-list-list-item-label-text-line-height: 24px;--mdc-list-list-item-label-text-size: 16px;--mdc-list-list-item-label-text-tracking: .03125em;--mdc-list-list-item-label-text-weight: 400;--mdc-list-list-item-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-supporting-text-line-height: 20px;--mdc-list-list-item-supporting-text-size: 14px;--mdc-list-list-item-supporting-text-tracking: .0178571429em;--mdc-list-list-item-supporting-text-weight: 400;--mdc-list-list-item-trailing-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-trailing-supporting-text-line-height: 20px;--mdc-list-list-item-trailing-supporting-text-size: 12px;--mdc-list-list-item-trailing-supporting-text-tracking: .0333333333em;--mdc-list-list-item-trailing-supporting-text-weight: 400}.mdc-list-group__subheader{font-size:16px;font-weight:400;line-height:28px;font-family:Roboto,sans-serif;letter-spacing:.009375em}html{--mat-paginator-container-text-color: rgba(0, 0, 0, .87);--mat-paginator-container-background-color: white;--mat-paginator-enabled-icon-color: rgba(0, 0, 0, .54);--mat-paginator-disabled-icon-color: rgba(0, 0, 0, .12)}html{--mat-paginator-container-size: 56px}.mat-mdc-paginator .mat-mdc-form-field-infix{min-height:40px}.mat-mdc-paginator .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:20px}.mat-mdc-paginator .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY( -26.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-paginator .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-floating-label{display:none}html{--mat-paginator-container-text-font: Roboto, sans-serif;--mat-paginator-container-text-line-height: 20px;--mat-paginator-container-text-size: 12px;--mat-paginator-container-text-tracking: .0333333333em;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: 12px}.mat-mdc-tab-group,.mat-mdc-tab-nav-bar{--mdc-tab-indicator-active-indicator-color: #3f51b5;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #3f51b5;--mat-tab-header-active-ripple-color: #3f51b5;--mat-tab-header-inactive-ripple-color: #3f51b5;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #3f51b5;--mat-tab-header-active-hover-label-text-color: #3f51b5;--mat-tab-header-active-focus-indicator-color: #3f51b5;--mat-tab-header-active-hover-indicator-color: #3f51b5}.mat-mdc-tab-group.mat-accent,.mat-mdc-tab-nav-bar.mat-accent{--mdc-tab-indicator-active-indicator-color: #ff4081;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #ff4081;--mat-tab-header-active-ripple-color: #ff4081;--mat-tab-header-inactive-ripple-color: #ff4081;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #ff4081;--mat-tab-header-active-hover-label-text-color: #ff4081;--mat-tab-header-active-focus-indicator-color: #ff4081;--mat-tab-header-active-hover-indicator-color: #ff4081}.mat-mdc-tab-group.mat-warn,.mat-mdc-tab-nav-bar.mat-warn{--mdc-tab-indicator-active-indicator-color: #f44336;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #f44336;--mat-tab-header-active-ripple-color: #f44336;--mat-tab-header-inactive-ripple-color: #f44336;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #f44336;--mat-tab-header-active-hover-label-text-color: #f44336;--mat-tab-header-active-focus-indicator-color: #f44336;--mat-tab-header-active-hover-indicator-color: #f44336}.mat-mdc-tab-group.mat-background-primary,.mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-header-with-background-background-color: #3f51b5;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-accent,.mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-header-with-background-background-color: #ff4081;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-warn,.mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-header-with-background-background-color: #f44336;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-header{--mdc-secondary-navigation-tab-container-height: 48px}.mat-mdc-tab-header{--mat-tab-header-label-text-font: Roboto, sans-serif;--mat-tab-header-label-text-size: 14px;--mat-tab-header-label-text-tracking: .0892857143em;--mat-tab-header-label-text-line-height: 36px;--mat-tab-header-label-text-weight: 500}html{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-primary{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{color:#00000061}html{--mdc-checkbox-state-layer-size: 40px}.mat-mdc-checkbox .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-button.mat-unthemed{--mdc-text-button-label-text-color: #000}.mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #3f51b5}.mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #ff4081}.mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336}.mat-mdc-button[disabled][disabled]{--mdc-text-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-text-button-label-text-color: rgba(0, 0, 0, .38)}.mat-mdc-unelevated-button.mat-unthemed{--mdc-filled-button-container-color: #fff;--mdc-filled-button-label-text-color: #000}.mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #3f51b5;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #ff4081;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button[disabled][disabled]{--mdc-filled-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-button-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-label-text-color: rgba(0, 0, 0, .38)}.mat-mdc-raised-button.mat-unthemed{--mdc-protected-button-container-color: #fff;--mdc-protected-button-label-text-color: #000}.mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #3f51b5;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #ff4081;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button[disabled][disabled]{--mdc-protected-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-protected-button-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-label-text-color: rgba(0, 0, 0, .38);--mdc-protected-button-container-elevation: 0}.mat-mdc-outlined-button{--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-outlined-button.mat-unthemed{--mdc-outlined-button-label-text-color: #000}.mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #3f51b5}.mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #ff4081}.mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336}.mat-mdc-outlined-button[disabled][disabled]{--mdc-outlined-button-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-button-disabled-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-button,.mat-mdc-outlined-button{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple:before,.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-button:active .mat-mdc-button-persistent-ripple:before,.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-button.mat-primary,.mat-mdc-outlined-button.mat-primary{--mat-mdc-button-persistent-ripple-color: #3f51b5;--mat-mdc-button-ripple-color: rgba(63, 81, 181, .1)}.mat-mdc-button.mat-accent,.mat-mdc-outlined-button.mat-accent{--mat-mdc-button-persistent-ripple-color: #ff4081;--mat-mdc-button-ripple-color: rgba(255, 64, 129, .1)}.mat-mdc-button.mat-warn,.mat-mdc-outlined-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-raised-button,.mat-mdc-unelevated-button{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple:before,.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple:before,.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-raised-button.mat-primary,.mat-mdc-unelevated-button.mat-primary,.mat-mdc-raised-button.mat-accent,.mat-mdc-unelevated-button.mat-accent,.mat-mdc-raised-button.mat-warn,.mat-mdc-unelevated-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-button.mat-mdc-button-base,.mat-mdc-raised-button.mat-mdc-button-base,.mat-mdc-unelevated-button.mat-mdc-button-base,.mat-mdc-outlined-button.mat-mdc-button-base{height:36px}.mdc-button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-button-font-size, 14px);line-height:var(--mdc-typography-button-line-height, 36px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, .0892857143em);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-mdc-icon-button{--mdc-icon-button-icon-color: inherit;--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-icon-button.mat-primary{--mat-mdc-button-persistent-ripple-color: #6200ee;--mat-mdc-button-ripple-color: rgba(98, 0, 238, .1)}.mat-mdc-icon-button.mat-accent{--mat-mdc-button-persistent-ripple-color: #018786;--mat-mdc-button-ripple-color: rgba(1, 135, 134, .1)}.mat-mdc-icon-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #b00020;--mat-mdc-button-ripple-color: rgba(176, 0, 32, .1)}.mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #3f51b5;--mat-mdc-button-persistent-ripple-color: #3f51b5;--mat-mdc-button-ripple-color: rgba(63, 81, 181, .1)}.mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #ff4081;--mat-mdc-button-persistent-ripple-color: #ff4081;--mat-mdc-button-ripple-color: rgba(255, 64, 129, .1)}.mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336;--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-icon-button[disabled][disabled]{--mdc-icon-button-icon-color: rgba(0, 0, 0, .38);--mdc-icon-button-disabled-icon-color: rgba(0, 0, 0, .38)}.mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 48px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:12px}.mat-mdc-fab,.mat-mdc-mini-fab{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-fab.mat-primary,.mat-mdc-mini-fab.mat-primary,.mat-mdc-fab.mat-accent,.mat-mdc-mini-fab.mat-accent,.mat-mdc-fab.mat-warn,.mat-mdc-mini-fab.mat-warn{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-fab[disabled][disabled],.mat-mdc-mini-fab[disabled][disabled]{--mdc-fab-container-color: rgba(0, 0, 0, .12);--mdc-fab-icon-color: rgba(0, 0, 0, .38);--mat-mdc-fab-color: rgba(0, 0, 0, .38)}.mat-mdc-fab.mat-unthemed,.mat-mdc-mini-fab.mat-unthemed{--mdc-fab-container-color: white;--mdc-fab-icon-color: black;--mat-mdc-fab-color: #000}.mat-mdc-fab.mat-primary,.mat-mdc-mini-fab.mat-primary{--mdc-fab-container-color: #3f51b5;--mdc-fab-icon-color: white;--mat-mdc-fab-color: #fff}.mat-mdc-fab.mat-accent,.mat-mdc-mini-fab.mat-accent{--mdc-fab-container-color: #ff4081;--mdc-fab-icon-color: white;--mat-mdc-fab-color: #fff}.mat-mdc-fab.mat-warn,.mat-mdc-mini-fab.mat-warn{--mdc-fab-container-color: #f44336;--mdc-fab-icon-color: white;--mat-mdc-fab-color: #fff}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-button-font-size, 14px);line-height:var(--mdc-typography-button-line-height, 36px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, .0892857143em);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-mdc-extended-fab{--mdc-extended-fab-label-text-font: Roboto, sans-serif;--mdc-extended-fab-label-text-size: 14px;--mdc-extended-fab-label-text-tracking: .0892857143em;--mdc-extended-fab-label-text-weight: 500}.mat-mdc-snack-bar-container{--mdc-snackbar-container-color: #333333;--mdc-snackbar-supporting-text-color: rgba(255, 255, 255, .87);--mat-snack-bar-button-color: #ff4081}.mat-mdc-snack-bar-container{--mdc-snackbar-supporting-text-font: Roboto, sans-serif;--mdc-snackbar-supporting-text-line-height: 20px;--mdc-snackbar-supporting-text-size: 14px;--mdc-snackbar-supporting-text-weight: 400}html{--mat-table-background-color: white;--mat-table-header-headline-color: rgba(0, 0, 0, .87);--mat-table-row-item-label-text-color: rgba(0, 0, 0, .87);--mat-table-row-item-outline-color: rgba(0, 0, 0, .12)}html{--mat-table-header-container-height: 56px;--mat-table-footer-container-height: 52px;--mat-table-row-item-container-height: 52px}html{--mat-table-header-headline-font: Roboto, sans-serif;--mat-table-header-headline-line-height: 22px;--mat-table-header-headline-size: 14px;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: .0071428571em;--mat-table-row-item-label-text-font: Roboto, sans-serif;--mat-table-row-item-label-text-line-height: 20px;--mat-table-row-item-label-text-size: 14px;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: .0178571429em;--mat-table-footer-supporting-text-font: Roboto, sans-serif;--mat-table-footer-supporting-text-line-height: 20px;--mat-table-footer-supporting-text-size: 14px;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: .0178571429em}.mat-mdc-progress-spinner{--mdc-circular-progress-active-indicator-color: #3f51b5}.mat-mdc-progress-spinner.mat-accent{--mdc-circular-progress-active-indicator-color: #ff4081}.mat-mdc-progress-spinner.mat-warn{--mdc-circular-progress-active-indicator-color: #f44336}.mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;background-color:var(--mat-badge-background-color);color:var(--mat-badge-text-color);font-family:Roboto,sans-serif;font-family:var(--mat-badge-text-font, Roboto, sans-serif);font-size:12px;font-size:var(--mat-badge-text-size, 12px);font-weight:600;font-weight:var(--mat-badge-text-weight, 600)}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color)}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px;font-size:9px;font-size:var(--mat-badge-small-size-text-size, 9px)}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px;font-size:24px;font-size:var(--mat-badge-large-size-text-size, 24px)}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}html{--mat-badge-background-color: #3f51b5;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: #b9b9b9;--mat-badge-disabled-state-text-color: rgba(0, 0, 0, .38)}.mat-badge-accent{--mat-badge-background-color: #ff4081;--mat-badge-text-color: white}.mat-badge-warn{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}html{--mat-badge-text-font: Roboto, sans-serif;--mat-badge-text-size: 12px;--mat-badge-text-weight: 600;--mat-badge-small-size-text-size: 9px;--mat-badge-large-size-text-size: 24px}html{--mat-bottom-sheet-container-text-color: rgba(0, 0, 0, .87);--mat-bottom-sheet-container-background-color: white}html{--mat-bottom-sheet-container-text-font: Roboto, sans-serif;--mat-bottom-sheet-container-text-line-height: 20px;--mat-bottom-sheet-container-text-size: 14px;--mat-bottom-sheet-container-text-tracking: .0178571429em;--mat-bottom-sheet-container-text-weight: 400}html{--mat-legacy-button-toggle-text-color: rgba(0, 0, 0, .38);--mat-legacy-button-toggle-state-layer-color: rgba(0, 0, 0, .12);--mat-legacy-button-toggle-selected-state-text-color: rgba(0, 0, 0, .54);--mat-legacy-button-toggle-selected-state-background-color: #e0e0e0;--mat-legacy-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-legacy-button-toggle-disabled-state-background-color: #eeeeee;--mat-legacy-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-background-color: white;--mat-standard-button-toggle-state-layer-color: black;--mat-standard-button-toggle-selected-state-background-color: #e0e0e0;--mat-standard-button-toggle-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-standard-button-toggle-disabled-state-background-color: white;--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-divider-color: #e0e0e0}html{--mat-standard-button-toggle-height: 48px}html{--mat-legacy-button-toggle-text-font: Roboto, sans-serif;--mat-standard-button-toggle-text-font: Roboto, sans-serif}html{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #3f51b5;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(63, 81, 181, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-toggle-active-state-icon-color: #3f51b5;--mat-datepicker-calendar-date-in-range-state-background-color: rgba(63, 81, 181, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e;--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(0, 0, 0, .18);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .24);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: rgba(0, 0, 0, .38);--mat-datepicker-range-input-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-accent{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #ff4081;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(255, 64, 129, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(255, 64, 129, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-content.mat-warn{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(244, 67, 54, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(244, 67, 54, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-toggle-active.mat-accent{--mat-datepicker-toggle-active-state-icon-color: #ff4081}.mat-datepicker-toggle-active.mat-warn{--mat-datepicker-toggle-active-state-icon-color: #f44336}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base .mat-mdc-button-touch-target{display:none}html{--mat-datepicker-calendar-text-font: Roboto, sans-serif;--mat-datepicker-calendar-text-size: 13px;--mat-datepicker-calendar-body-label-text-size: 14px;--mat-datepicker-calendar-body-label-text-weight: 500;--mat-datepicker-calendar-period-button-text-size: 14px;--mat-datepicker-calendar-period-button-text-weight: 500;--mat-datepicker-calendar-header-text-size: 11px;--mat-datepicker-calendar-header-text-weight: 400}html{--mat-divider-color: rgba(0, 0, 0, .12)}html{--mat-expansion-container-background-color: white;--mat-expansion-container-text-color: rgba(0, 0, 0, .87);--mat-expansion-actions-divider-color: rgba(0, 0, 0, .12);--mat-expansion-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-expansion-header-text-color: rgba(0, 0, 0, .87);--mat-expansion-header-description-color: rgba(0, 0, 0, .54);--mat-expansion-header-indicator-color: rgba(0, 0, 0, .54)}html{--mat-expansion-header-collapsed-state-height: 48px;--mat-expansion-header-expanded-state-height: 64px}html{--mat-expansion-header-text-font: Roboto, sans-serif;--mat-expansion-header-text-size: 14px;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Roboto, sans-serif;--mat-expansion-container-text-line-height: 20px;--mat-expansion-container-text-size: 14px;--mat-expansion-container-text-tracking: .0178571429em;--mat-expansion-container-text-weight: 400}html{--mat-grid-list-tile-header-primary-text-size: 14px;--mat-grid-list-tile-header-secondary-text-size: 12px;--mat-grid-list-tile-footer-primary-text-size: 14px;--mat-grid-list-tile-footer-secondary-text-size: 12px}html{--mat-icon-color: inherit}.mat-icon.mat-primary{--mat-icon-color: #3f51b5}.mat-icon.mat-accent{--mat-icon-color: #ff4081}.mat-icon.mat-warn{--mat-icon-color: #f44336}html{--mat-sidenav-container-divider-color: rgba(0, 0, 0, .12);--mat-sidenav-container-background-color: white;--mat-sidenav-container-text-color: rgba(0, 0, 0, .87);--mat-sidenav-content-background-color: #fafafa;--mat-sidenav-content-text-color: rgba(0, 0, 0, .87);--mat-sidenav-scrim-color: rgba(0, 0, 0, .6)}html{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #3f51b5;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #3f51b5;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #3f51b5;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: white;--mat-stepper-line-color: rgba(0, 0, 0, .12);--mat-stepper-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-optional-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-selected-state-label-text-color: rgba(0, 0, 0, .87);--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(0, 0, 0, .54);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}html .mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #ff4081;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #ff4081;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #ff4081;--mat-stepper-header-edit-state-icon-foreground-color: white}html .mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}html{--mat-stepper-header-height: 72px}html{--mat-stepper-container-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-size: 14px;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-weight: 400}.mat-sort-header-arrow{color:#757575}html{--mat-toolbar-container-background-color: whitesmoke;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #3f51b5;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-accent{--mat-toolbar-container-background-color: #ff4081;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-warn{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}html{--mat-toolbar-standard-height: 64px;--mat-toolbar-mobile-height: 56px}html{--mat-toolbar-title-text-font: Roboto, sans-serif;--mat-toolbar-title-text-line-height: 32px;--mat-toolbar-title-text-size: 20px;--mat-toolbar-title-text-tracking: .0125em;--mat-toolbar-title-text-weight: 500}.mat-tree{background:white}.mat-tree-node,.mat-nested-tree-node{color:#000000de}.mat-tree-node{min-height:48px}.mat-tree{font-family:Roboto,sans-serif}.mat-tree-node,.mat-nested-tree-node{font-weight:400;font-size:14px}.mtx-alert{background-color:#fff}.mtx-alert-info.mtx-alert{background-color:#2196f3;color:#fff}.mtx-alert-success.mtx-alert{background-color:#4caf50;color:#fff}.mtx-alert-warning.mtx-alert{background-color:#ff9800;color:#fff}.mtx-alert-danger.mtx-alert{background-color:#f44336;color:#fff}.mtx-colorpicker-toggle-active{color:#3f51b5}.mtx-colorpicker-toggle-active.mat-accent{color:#ff4081}.mtx-colorpicker-toggle-active.mat-warn{color:#f44336}.mtx-datetimepicker-content{background-color:#fff;color:#000000de;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mtx-calendar-header{background-color:#3f51b5;color:#fff}.mtx-calendar-body-label{color:#0000008a}.mtx-calendar-table-header{color:#00000061}.mtx-calendar-body-cell-content{color:#000000de}.mtx-calendar-body-cell-content.mtx-calendar-body-selected{background-color:#3f51b5;color:#fff}.mtx-calendar-body-cell-content.mtx-calendar-body-selected.mtx-calendar-body-today{box-shadow:inset 0 0 0 1px #fff}.mtx-calendar-body-cell-content:not(.mtx-calendar-body-selected).mtx-calendar-body-today{border-color:#00000061}.mtx-calendar-body-cell:not(.mtx-calendar-body-disabled):hover>.mtx-calendar-body-cell-content:not(.mtx-calendar-body-selected),.mtx-calendar-body-active>.mtx-calendar-body-cell-content:not(.mtx-calendar-body-selected){background-color:#3f51b54d}.mtx-calendar-body-disabled>.mtx-calendar-body-cell-content:not(.mtx-calendar-body-selected){color:#00000061}.mtx-calendar-body-disabled>.mtx-calendar-body-today:not(.mtx-calendar-body-selected){border-color:#00000061}.mtx-calendar-body-disabled>.mtx-calendar-body-selected{background-color:#3f51b566}.mtx-calendar-previous-button.disabled,.mtx-calendar-next-button.disabled{color:#00000061}.mtx-clock-wrapper{background-color:#0000001f}.mtx-clock-center,.mtx-clock-hand{background-color:#3f51b5}.mtx-clock-hand:before{background-color:#3f51b5}.mtx-clock-cell{color:#000000de}.mtx-clock-cell.mtx-clock-cell-selected{background-color:#3f51b5;color:#fff}.mtx-clock-cell:not(.mtx-clock-cell-selected,.mtx-clock-cell-disabled):hover{background-color:#0000000a}.mtx-clock-cell.mtx-clock-cell-disabled{color:#00000061}.mtx-datetimepicker-toggle-active{color:#3f51b5}.mtx-datetimepicker-toggle-active.mat-accent{color:#ff4081}.mtx-datetimepicker-toggle-active.mat-warn{color:#f44336}.mtx-time-input{color:#000000de;background-color:#0000001f}.mtx-time-input.mtx-time-input-active{color:#3f51b5;background-color:#3f51b533}.mtx-time-input.mtx-time-input-active:focus{border-color:#3f51b5;background-color:#fafafa}.mtx-time-input.mtx-time-input-active:focus::placeholder{color:#3f51b599}.mtx-time-input.mtx-time-input-warning{border-color:#f44336}.mtx-time-ampm .mtx-time-am,.mtx-time-ampm .mtx-time-pm{--mdc-text-button-label-text-color: rgba(0, 0, 0, .75);border-color:#00000061}.mtx-time-ampm .mtx-time-am.mtx-time-ampm-active,.mtx-time-ampm .mtx-time-pm.mtx-time-ampm-active{--mdc-text-button-label-text-color: rgba(0, 0, 0, .87);--mdc-typography-button-font-weight: 500;background-color:#ff408133}.mtx-calendar{font-family:Roboto,Helvetica Neue,sans-serif}.mtx-calendar-body{font-size:13px}.mtx-calendar-body-label,.mtx-calendar-period-button{font-size:14px;font-weight:500}.mtx-calendar-table-header th{font-size:11px;font-weight:400}.mtx-clock{font-size:14px}.mtx-drawer-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:white;color:#000000de}.mtx-grid{border:1px solid rgba(0,0,0,.2)}.mtx-grid .mat-table-sticky-left,.mtx-grid .mat-table-sticky-right{border-color:#0000001f}.mtx-grid .mat-mdc-table.mat-table-striped .mat-row-odd{background-color:#f5f5f5}.mtx-grid .mat-mdc-table.mat-table-hover .mat-mdc-row:hover,.mtx-grid .mat-mdc-table .mat-mdc-row.selected,.mtx-grid .mat-mdc-table .mat-mdc-row.mat-row-odd.selected{background-color:#e5e5e5}.mtx-grid .mat-mdc-table .mat-mdc-cell.selected{box-shadow:inset 0 0 0 1px #ff4081}.mtx-grid .mat-mdc-footer-row .mat-mdc-footer-cell{border-top:1px solid rgba(0,0,0,.12);border-bottom-width:0;background-color:#f5f5f5}.mtx-grid .mat-mdc-paginator{border-top:1px solid rgba(0,0,0,.2)}.mtx-grid-toolbar{border-bottom:1px solid rgba(0,0,0,.2)}.mtx-grid-sidebar{border-color:#0003}.mtx-grid-statusbar{border-top:1px solid rgba(0,0,0,.2)}.mtx-grid-column-menu-item{color:#000000de}.mtx-grid-column-menu-header,.mtx-grid-column-menu-footer{color:#000000de;background-color:#fff}.mtx-grid-column-menu-header{border-bottom:1px solid rgba(0,0,0,.12)}.mtx-grid-column-menu-footer{border-top:1px solid rgba(0,0,0,.12)}.mat-column-resize-table.cdk-column-resize-with-resized-column{table-layout:fixed}.mat-column-resize-flex .mat-mdc-header-cell,.mat-column-resize-flex .mat-mdc-cell{box-sizing:border-box;min-width:32px}.mat-mdc-header-cell{position:relative}.mat-resizable{box-sizing:border-box}.mat-mdc-header-cell:not(.mat-resizable):after,.mat-resizable-handle{position:absolute;bottom:0;top:0;right:0;width:1px;background:transparent;transition:background .3s cubic-bezier(.55,0,.55,.2)}.mat-mdc-header-cell:not(.mat-resizable):after{content:""}[dir=rtl] .mat-mdc-header-cell:not(.mat-resizable):after,[dir=rtl] .mat-resizable-handle{left:0;right:auto}.mat-mdc-header-row.cdk-column-resize-hover-or-active .mat-mdc-header-cell:not(.mat-resizable):after{background:rgba(0,0,0,.12)}.mat-mdc-header-row.cdk-column-resize-hover-or-active .mat-resizable-handle{background:#9fa8da}.mat-resizable.cdk-resizable-overlay-thumb-active>.mat-resizable-handle{opacity:0;transition:none}.mat-resizable-handle:focus,.mat-mdc-header-row.cdk-column-resize-hover-or-active .mat-resizable-handle:focus{background:#3f51b5;outline:none}.mat-column-resize-overlay-thumb{background:transparent;cursor:col-resize;height:100%;transition:background .3s cubic-bezier(.55,0,.55,.2);width:100%;-webkit-user-select:none;user-select:none}.mat-column-resize-overlay-thumb:active{background:linear-gradient(90deg,transparent,transparent 7px,#3f51b5,#3f51b5 1px,transparent 8px,transparent);will-change:transform}.mtx-loader-backdrop{background-color:#fafafabf}.mtx-popover-panel{color:#000000de;background-color:#fff}[class*=mtx-popover] .mtx-popover-direction-arrow:before{border-color:#0000001f}[class*=mtx-popover] .mtx-popover-direction-arrow:after{border-color:#fff}[class*=mtx-popover-below] .mtx-popover-direction-arrow:before,[class*=mtx-popover-below] .mtx-popover-direction-arrow:after,[class*=mtx-popover-above] .mtx-popover-direction-arrow:before,[class*=mtx-popover-above] .mtx-popover-direction-arrow:after{border-left-color:transparent;border-right-color:transparent}[class*=mtx-popover-before] .mtx-popover-direction-arrow:before,[class*=mtx-popover-before] .mtx-popover-direction-arrow:after,[class*=mtx-popover-after] .mtx-popover-direction-arrow:before,[class*=mtx-popover-after] .mtx-popover-direction-arrow:after{border-top-color:transparent;border-bottom-color:transparent}.mtx-progress{background-color:#0000000a}.mtx-progress-fill-info{background-color:#2196f3;color:#fff}.mtx-progress-fill-success{background-color:#4caf50;color:#fff}.mtx-progress-fill-warning{background-color:#ff9800;color:#fff}.mtx-progress-fill-danger{background-color:#f44336;color:#fff}.ng-select .ng-select-container{color:#000000de}.ng-select .ng-select-container .ng-value-container .ng-placeholder{color:#00000061}.ng-select .ng-select-container .ng-value-container .ng-input>input{color:#000000de}.ng-select.ng-select-disabled .ng-value{color:#00000061}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{color:#000000de;background-color:#e0e0e0;border:1px solid rgba(0,0,0,.12)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled{opacity:.4}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon:hover{background-color:#0000001f}.ng-select .ng-clear-wrapper{color:#0000008a}.ng-select .ng-clear-wrapper:hover .ng-clear{color:#f44336}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:rgba(0,0,0,.54) transparent transparent}.ng-select.ng-select-invalid .ng-arrow-wrapper .ng-arrow{border-color:#f44336 transparent transparent}.ng-select.ng-select-opened .ng-arrow-wrapper .ng-arrow{border-color:transparent transparent rgba(0,0,0,.54)}.ng-select.ng-select-opened.ng-select-invalid .ng-arrow-wrapper .ng-arrow{border-color:transparent transparent #f44336}.ng-dropdown-panel{background-color:#fff}.ng-dropdown-panel.multiple .ng-option.selected{background:rgba(0,0,0,.12)}.ng-dropdown-panel.multiple .ng-option.marked{background:rgba(0,0,0,.04)}.ng-dropdown-panel .ng-dropdown-header{border-bottom:1px solid rgba(0,0,0,.12)}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid rgba(0,0,0,.12)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{color:#0000008a}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-marked{background:rgba(0,0,0,.04)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected{background:rgba(0,0,0,.12)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{color:#000000de}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked{background:rgba(0,0,0,.04)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected{background:rgba(0,0,0,.12)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{color:#00000061}.mdc-text-field--outlined .ng-select{padding-top:16px;padding-bottom:16px;margin-top:-16px;margin-bottom:-16px}.ng-select{padding-top:24px;padding-bottom:8px;margin-top:-24px;margin-bottom:-8px}.mdc-text-field--no-label .ng-select{padding-top:16px;padding-bottom:16px;margin-top:-16px;margin-bottom:-16px}.mtx-slider-thumb{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mtx-slider-track-background{background-color:#bdbdbd}.mat-primary .mtx-slider-track-fill,.mat-primary .mtx-slider-thumb,.mat-primary .mtx-slider-thumb-label{background-color:#3f51b5}.mat-primary .mtx-slider-thumb-label-text{color:#fff}.mat-primary .mtx-slider-focus-ring{background-color:#3f51b533}.mat-accent .mtx-slider-track-fill,.mat-accent .mtx-slider-thumb,.mat-accent .mtx-slider-thumb-label{background-color:#ff4081}.mat-accent .mtx-slider-thumb-label-text{color:#fff}.mat-accent .mtx-slider-focus-ring{background-color:#ff408133}.mat-warn .mtx-slider-track-fill,.mat-warn .mtx-slider-thumb,.mat-warn .mtx-slider-thumb-label{background-color:#f44336}.mat-warn .mtx-slider-thumb-label-text{color:#fff}.mat-warn .mtx-slider-focus-ring{background-color:#f4433633}.mtx-slider:hover .mtx-slider-track-background,.mtx-slider.cdk-focused .mtx-slider-track-background{background-color:#00000061}.mtx-slider-disabled .mtx-slider-track-background{background-color:#bdbdbd8a}.mtx-slider-disabled .mtx-slider-track-fill,.mtx-slider-disabled .mtx-slider-thumb{background-color:#bdbdbd}.mtx-slider-disabled:hover .mtx-slider-track-background,.mtx-slider-disabled.cdk-focused .mtx-slider-track-background{background-color:#bdbdbd8a}.mtx-slider-min-value .mtx-slider-focus-ring{background-color:#0000001f}.mtx-slider-min-value.mtx-slider-thumb-label-showing:not(.mtx-range-slider) .mtx-slider-thumb,.mtx-slider-min-value.mtx-slider-thumb-label-showing:not(.mtx-range-slider) .mtx-slider-thumb-label{background-color:#000000de}.mtx-slider-min-value.mtx-slider-thumb-label-showing:not(.mtx-range-slider).cdk-focused .mtx-slider-thumb,.mtx-slider-min-value.mtx-slider-thumb-label-showing:not(.mtx-range-slider).cdk-focused .mtx-slider-thumb-label{background-color:#00000042}.mtx-slider-min-value:not(.mtx-slider-thumb-label-showing,.mtx-range-slider) .mtx-slider-thumb{background-color:#bdbdbd}.mtx-slider-min-value:not(.mtx-slider-thumb-label-showing,.mtx-range-slider):hover .mtx-slider-thumb,.mtx-slider-min-value:not(.mtx-slider-thumb-label-showing,.mtx-range-slider).cdk-focused .mtx-slider-thumb{background-color:#00000061}.mtx-slider-min-value:not(.mtx-slider-thumb-label-showing,.mtx-range-slider):hover.mtx-slider-disabled .mtx-slider-thumb,.mtx-slider-min-value:not(.mtx-slider-thumb-label-showing,.mtx-range-slider).cdk-focused.mtx-slider-disabled .mtx-slider-thumb{border-color:#bdbdbd}.mtx-slider-has-ticks .mtx-slider-wrapper:after{border-color:#000000b3}.mtx-slider-horizontal .mtx-slider-ticks{background-image:repeating-linear-gradient(to right,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mtx-slider-vertical .mtx-slider-ticks{background-image:repeating-linear-gradient(to bottom,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mtx-slider-thumb-label-text{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:400}.mtx-split>.mtx-split-gutter{background-color:#0000001f}.mtx-split>.mtx-split-gutter:hover{background-color:#3f51b5}.mtx-split>.mtx-split-gutter.mat-accent:hover{background-color:#ff4081}.mtx-split>.mtx-split-gutter.mat-warn:hover{background-color:#f44336}.mtx-mdc-tooltip{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: white}.mtx-mdc-tooltip{--mdc-plain-tooltip-supporting-text-font: Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size: 12px;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: .0333333333em}