marketplacepos 2.7.2 → 2.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Marketplace/174.ef0e2b8b4c9d2b0b.js +1 -0
- package/Marketplace/25.43ab1ee524b9049a.js +1 -0
- package/Marketplace/277.e644e3531765ce65.js +1 -0
- package/Marketplace/291.779ede87479fb9b2.js +1 -0
- package/Marketplace/360.45dba871a275bde4.js +1 -0
- package/Marketplace/369.fe9dd78b5ae1f834.js +1 -0
- package/Marketplace/397.5668d07ae2910130.js +1 -0
- package/Marketplace/3rdpartylicenses.txt +631 -0
- package/Marketplace/501.7645c32a140dd7f8.js +1 -0
- package/Marketplace/512.8bb0df7db698606b.js +1 -0
- package/Marketplace/516.6cbc60a45960d8fd.js +1 -0
- package/Marketplace/545.4809f373cc63f3b4.js +1 -0
- package/Marketplace/587.b913510ac1ecfe12.js +1 -0
- package/Marketplace/61.b5326b8a8507ca2b.js +1 -0
- package/Marketplace/616.ce2eff13bf85dd2a.js +1 -0
- package/Marketplace/628.161d18d5f92f87c9.js +1 -0
- package/Marketplace/643.cee753340fd82dfa.js +1 -0
- package/Marketplace/716.986295839ef23655.js +1 -0
- package/Marketplace/717.b70435564cbfa38c.js +1 -0
- package/Marketplace/72.23a9b1a59cf7bfca.js +1 -0
- package/Marketplace/739.a22c3c892afd39b9.js +1 -0
- package/Marketplace/796.f712080a257b33c0.js +1 -0
- package/Marketplace/863.73daa64a1cf098b8.js +1 -0
- package/Marketplace/874.23cc68e9ff331b03.js +1 -0
- package/Marketplace/913.c2ffbc12dd99b85d.js +1 -0
- package/Marketplace/970.7c36426f4bcc50cb.js +1 -0
- package/Marketplace/997.c2b107d851cf971c.js +1 -0
- package/Marketplace/common.8f5889e94b19f645.js +1 -0
- package/Marketplace/favicon.ico +0 -0
- package/Marketplace/index.html +22 -0
- package/Marketplace/main.f4b54c0122a625bf.js +1 -0
- package/Marketplace/polyfills.bee3c4d96e890990.js +1 -0
- package/Marketplace/runtime.aa1e68d995bcf102.js +1 -0
- package/Marketplace/scripts.b7cebc1258dbcca8.js +1 -0
- package/Marketplace/styles.ca007450064f7ae0.css +20 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[]).push([[397],{7481:(ze,Ee,s)=>{s.d(Ee,{R:()=>ce,p:()=>re});var e=s(4650),i=s(6895),o=s(4006),H=s(6806),K=s(1589);function de(te,U){if(1&te){const W=e.EpF();e.ynx(0),e.TgZ(1,"div",18)(2,"input",19),e.NdJ("ngModelChange",function(fe){e.CHM(W);const R=e.oxw();return e.KtG(R.text=fe)})("keyup",function(){e.CHM(W);const fe=e.oxw();return e.KtG(fe.onTextChange())})("keyup.enter",function(){e.CHM(W);const fe=e.oxw();return e.KtG(fe.submit())}),e.qZA(),e.TgZ(3,"div")(4,"button",20),e.NdJ("click",function(){e.CHM(W);const fe=e.oxw();return e.KtG(fe.submit())}),e._UZ(5,"i",21),e.qZA()()(),e.BQk()}if(2&te){const W=e.oxw();e.xp6(2),e.Q6J("ngModel",W.text)("placeholder",W.searchBoxPlaceHolder)}}function ve(te,U){if(1&te){const W=e.EpF();e.TgZ(0,"div",22)(1,"a",23)(2,"i",24),e._UZ(3,"i",25),e.qZA()(),e.TgZ(4,"form",26),e.Hsn(5,2),e.TgZ(6,"button",27),e.NdJ("click",function(){e.CHM(W);const fe=e.oxw();return e.KtG(fe.submit())}),e._UZ(7,"i",28),e._uU(8,"Search "),e.qZA()()()}}const he=[[["actions"]],[["content"]],[["filters"]]];class re{constructor(U){this.sidebarService=U,this.onSubmit=new e.vpe,this.textChange=new e.vpe,this.searchBoxPlaceHolder=this.searchBoxPlaceHolder||"Search.."}submit(){this.inputText=this.text,this.onSubmit.emit(this.inputText)}onTextChange(){this.textChange.emit(this.text)}IsActive(U){return this.getMenuNameByUrl(window.location.href)==this.getMenuNameByUrl(U)}toggledropdown(U){U.stopPropagation()}getMenuNameByUrl(U){var W=U.split("#");if(W.length>1){var fe=W[1].split("/");return""!=fe[0]?fe[0]:fe[1]}return U}toggleMenu(){this.sidebarService.toggleSidebar()}}re.\u0275fac=function(U){return new(U||re)(e.Y36(K.g))},re.\u0275cmp=e.Xpm({type:re,selectors:[["mainpanel"]],inputs:{text:"text",headerTitle:"headerTitle",textButton:"textButton",hideSearchBox:"hideSearchBox",hideSearchDropdown:"hideSearchDropdown",searchBoxPlaceHolder:"searchBoxPlaceHolder",showBeside:"showBeside",description:"description"},outputs:{onSubmit:"onSubmit",textChange:"textChange"},ngContentSelectors:["actions","content","filters"],decls:26,vars:4,consts:[[1,"navbar","navbar-default","fixed-top","navbar-expand-lg","fixed-top","d-block","d-print-none","bg-white"],[1,"row","px-7",2,"margin-top","9px"],[1,"col-auto","pe-0","order-0","g-0","ms-6"],[1,"navbar-brand","me-5","float-start","my-1",2,"margin-right","0px !important",3,"title"],["id","action-filter",1,"col-lg-auto","col-12","d-lg-flex","collapse","order-lg-1","ps-0","order-2","gx-0","ms-5",2,"padding-left","0px"],[1,"search-box"],[1,"d-flex","h-100","align-items-center","justify-content-lg-start","justify-content-end"],[4,"ngIf"],["class","dropdown text-secondary ps-5",4,"ngIf"],[1,"col","d-lg-none","d-flex","justify-content-end","align-items-center","order-lg-2","order-1"],["type","button","data-bs-toggle","collapse","data-bs-target","#action-button","aria-expanded","false","aria-controls","collapseExample",1,"btn","btn-lg","btn-outline-secondary","d-lg-none","me-2"],["aria-hidden","true",1,"fa","fa-sort-down"],["type","button","data-bs-toggle","collapse","data-bs-target","#action-filter","aria-expanded","false","aria-controls","collapseExample",1,"btn","btn-lg","btn-outline-secondary","d-lg-none","me-2"],["aria-hidden","true",1,"fa","fa-search"],["type","button","aria-controls","navigation-index","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler","navbar-toggler-right","float-end","toggle-menu","ps-2","pe-0",2,"width","max-content","height","max-content",3,"click"],[1,"navbar-toggler-bar","burger-lines"],["id","action-button",1,"col-lg","col-12","d-lg-flex","justify-content-end","collapse","order-3"],[1,"main-panel-content"],[1,"input-group",2,"width","13.375rem"],["type","text",1,"form-control",2,"font-size","1rem",3,"ngModel","placeholder","ngModelChange","keyup","keyup.enter"],["type","button",1,"btn","btn-outline-secondary","fw-bold","rounded-0","border-start-0",3,"click"],[1,"fa","fa-search"],[1,"dropdown","text-secondary","ps-5"],["id","dropdown-filter","role","button","data-bs-toggle","dropdown","data-bs-auto-close","outside","aria-expanded","false",1,"text-muted","h5"],[1,"fa","fa-filter"],[1,"fa-solid","fa-caret-down"],[1,"dropdown-menu",2,"left","auto !important"],["title","Click to filter!",1,"btn","btn-outline-secondary",3,"click"],[1,"fa","fa-search","pointer","me-1"]],template:function(U,W){1&U&&(e.F$t(he),e.TgZ(0,"nav",0)(1,"div",1)(2,"div",2)(3,"h1",3),e._uU(4),e.qZA()(),e.TgZ(5,"div",4)(6,"div",5)(7,"div",6)(8,"div")(9,"div"),e.YNc(10,de,6,2,"ng-container",7),e.qZA()(),e.YNc(11,ve,9,0,"div",8),e.qZA()()(),e.TgZ(12,"div",9)(13,"button",10),e._UZ(14,"i",11),e.qZA(),e.TgZ(15,"button",12),e._UZ(16,"i",13),e.qZA(),e.TgZ(17,"button",14),e.NdJ("click",function(){return W.toggleMenu()}),e._UZ(18,"span",15)(19,"span",15)(20,"span",15),e.qZA()(),e.TgZ(21,"div",16),e.Hsn(22),e.qZA()()(),e.TgZ(23,"div",17)(24,"div"),e.Hsn(25,1),e.qZA()()),2&U&&(e.xp6(3),e.Q6J("title",W.description?W.description:""),e.xp6(1),e.hij(" ",W.headerTitle," "),e.xp6(6),e.Q6J("ngIf",!W.hideSearchBox),e.xp6(1),e.Q6J("ngIf",!W.hideSearchDropdown))},dependencies:[i.O5,o._Y,o.Fj,o.JJ,o.JL,o.On,o.F],styles:[".dropdown .dropdown-menu.show{top:100%!important;transform:none!important;z-index:10000;cursor:pointer}.search-box .dropdown-menu{border-radius:4px!important;margin:-5px 0 0!important;padding:10px}.search-box .dropdown-menu div.d-flex>div:not(:last-child){margin-right:10px}.search-box .dropdown-menu div[container]{width:200px}.search-box .dropdown-menu div[container]>div{margin:0 0 12px}.search-box .dropdown-menu div[container]>div>h6{margin-bottom:5px}.search-box .dropdown-menu div[container]>div>input,.search-box .dropdown-menu div[container]>div>select{width:100%;padding:7px 5px 6px;border:solid 1px #ddd}.search-box .dropdown-menu div[container]>div>input[datepicker]{width:95px}.search-box .dropdown-menu div[container]>div radioyesnob ul{margin:10px 0 0}.search-box .dropdown-menu .more{background-color:#fff;position:absolute;bottom:-15px;width:5rem}.search-box .dropdown-menu div[container]>div>h6{font-size:12px}.search-box .form-control{height:auto}.navbar .navbar-brand{white-space:nowrap;max-width:24.75rem;overflow:hidden;text-overflow:ellipsis;text-transform:capitalize}@media (max-width: 468px){.navbar .navbar-brand{white-space:nowrap;max-width:7em;overflow:hidden;text-overflow:ellipsis}}@media (max-width: 480px){.navbar.page-nav{height:auto}}@media (min-width: 1366px){.navbar.page-nav{height:44px}}\n"],encapsulation:2});class ce{}ce.\u0275fac=function(U){return new(U||ce)},ce.\u0275mod=e.oAB({type:ce}),ce.\u0275inj=e.cJS({imports:[i.ez,o.u5,H.Bz]})},2397:(ze,Ee,s)=>{s.r(Ee),s.d(Ee,{MenuModule:()=>X});var e=s(6895),i=s(6806),o=s(8063),H=s(2722),K=s(7579),de=s(2340);class ve{constructor(){this.menus=[{Icon:"fas fa-tag",Title:"Products",Url:"/menu/products"},{Icon:"fas fa-archive",Title:"Inventory",Url:"/menu/inventory"},{Icon:"fas fa-money-bill-alt",Title:"Price",Url:"/menu/price"},{Icon:"fas fa-shopping-cart",Title:"Order",Url:"/menu/Order"},{Icon:"fas fa-clipboard-list",Title:"Report",Url:"/menu/report"},{Icon:"fas fa-dolly",Title:"Logistic",Url:"/menu/Logistic"},{Icon:"fas fa-cog",Title:"Channel",Url:"/menu/channel"},{Icon:"fas fa-file-alt",Title:"Logs",Url:"/menu/log"},{Icon:"fas fa-bell",Title:"Notification",Url:"/menu/Notification",Badge:!0},{Icon:"fas fa-wand-magic-sparkles",Title:"What`s New",Url:`https://changelog.dealpos.com/?categories=cat_nILYcoEQzgGWX&view=complete&v=${de.N.version}`,ExternalLink:!0,CustomColor:"#ff2323",Badge:!0}]}get getMenu(){return this.menus}}var he=s(4004),_=s(4650),re=s(9568),ce=s(1589),te=s(5051),U=s(8002),W=s(266),me=s(3238),fe=s(7253),R=s(1281);let ye=0;const be=(0,me.Id)(class{}),le="mat-badge-content";let F=(()=>{class N extends be{get color(){return this._color}set color(Z){this._setColor(Z),this._color=Z}get overlap(){return this._overlap}set overlap(Z){this._overlap=(0,R.Ig)(Z)}get content(){return this._content}set content(Z){this._updateRenderedContent(Z)}get description(){return this._description}set description(Z){this._updateHostAriaDescription(Z)}get hidden(){return this._hidden}set hidden(Z){this._hidden=(0,R.Ig)(Z)}constructor(Z,ne,ge,A,Y){super(),this._ngZone=Z,this._elementRef=ne,this._ariaDescriber=ge,this._renderer=A,this._animationMode=Y,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=ye++,this._isInitialized=!1}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&this._renderer.destroyNode(this._badgeElement),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_createBadgeElement(){const Z=this._renderer.createElement("span"),ne="mat-badge-active";return Z.setAttribute("id",`mat-badge-content-${this._id}`),Z.setAttribute("aria-hidden","true"),Z.classList.add(le),"NoopAnimations"===this._animationMode&&Z.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(Z),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{Z.classList.add(ne)})}):Z.classList.add(ne),Z}_updateRenderedContent(Z){const ne=`${Z??""}`.trim();this._isInitialized&&ne&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=ne),this._content=ne}_updateHostAriaDescription(Z){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),Z&&this._ariaDescriber.describe(this._elementRef.nativeElement,Z),this._description=Z}_setColor(Z){const ne=this._elementRef.nativeElement.classList;ne.remove(`mat-badge-${this._color}`),Z&&ne.add(`mat-badge-${Z}`)}_clearExistingBadges(){const Z=this._elementRef.nativeElement.querySelectorAll(`:scope > .${le}`);for(const ne of Array.from(Z))ne!==this._badgeElement&&ne.remove()}}return N.\u0275fac=function(Z){return new(Z||N)(_.Y36(_.R0b),_.Y36(_.SBq),_.Y36(fe.$s),_.Y36(_.Qsj),_.Y36(_.QbO,8))},N.\u0275dir=_.lG2({type:N,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(Z,ne){2&Z&&_.ekj("mat-badge-overlap",ne.overlap)("mat-badge-above",ne.isAbove())("mat-badge-below",!ne.isAbove())("mat-badge-before",!ne.isAfter())("mat-badge-after",ne.isAfter())("mat-badge-small","small"===ne.size)("mat-badge-medium","medium"===ne.size)("mat-badge-large","large"===ne.size)("mat-badge-hidden",ne.hidden||!ne.content)("mat-badge-disabled",ne.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden"]},features:[_.qOj]}),N})(),ie=(()=>{class N{}return N.\u0275fac=function(Z){return new(Z||N)},N.\u0275mod=_.oAB({type:N}),N.\u0275inj=_.cJS({imports:[fe.rt,me.BQ,me.BQ]}),N})();function u(N,J){if(1&N&&(_.ynx(0),_.TgZ(1,"p",22),_._uU(2),_.qZA(),_.BQk()),2&N){const Z=_.oxw(2).$implicit;_.xp6(2),_.Oqu(Z.Title)}}function v(N,J){if(1&N&&(_.TgZ(0,"p"),_._uU(1),_.qZA()),2&N){const Z=_.oxw(2).$implicit;_.xp6(1),_.hij("",Z.Title," ")}}function M(N,J){if(1&N&&(_.ynx(0),_.TgZ(1,"a",20),_._UZ(2,"i"),_.YNc(3,u,3,1,"ng-container",18),_.YNc(4,v,2,1,"ng-template",null,21,_.W1O),_.qZA(),_.BQk()),2&N){const Z=_.MAs(5),ne=_.oxw().$implicit;_.xp6(1),_.Q6J("href",ne.Url,_.LSH),_.xp6(1),_.Tol(ne.Icon),_.xp6(1),_.Q6J("ngIf",ne.Badge)("ngIfElse",Z)}}function $(N,J){if(1&N&&(_.ynx(0),_.TgZ(1,"p",25),_.ALo(2,"async"),_._uU(3),_.qZA(),_.BQk()),2&N){const Z=_.oxw(2).$implicit,ne=_.oxw();_.xp6(1),_.Q6J("matBadgeHidden",0==_.lcZ(2,2,ne.notifications$)),_.xp6(2),_.Oqu(Z.Title)}}function pe(N,J){if(1&N&&(_.TgZ(0,"p"),_._uU(1),_.qZA()),2&N){const Z=_.oxw(2).$implicit;_.xp6(1),_.hij("",Z.Title," ")}}function De(N,J){if(1&N&&(_.TgZ(0,"a",23),_._UZ(1,"i"),_.YNc(2,$,4,4,"ng-container",18),_.YNc(3,pe,2,1,"ng-template",null,24,_.W1O),_.qZA()),2&N){const Z=_.MAs(4),ne=_.oxw().$implicit,ge=_.oxw();_.Q6J("matTooltip",ge.isCollapseSidebar?ne.Title:"")("routerLink",ne.Url),_.xp6(1),_.Tol(ne.Icon),_.xp6(1),_.Q6J("ngIf",ne.Badge)("ngIfElse",Z)}}function Me(N,J){if(1&N&&(_.TgZ(0,"li",17),_.YNc(1,M,6,5,"ng-container",18),_.YNc(2,De,5,6,"ng-template",null,19,_.W1O),_.qZA()),2&N){const Z=J.$implicit,ne=_.MAs(3);_.xp6(1),_.Q6J("ngIf",Z.ExternalLink)("ngIfElse",ne)}}function Te(N,J){if(1&N){const Z=_.EpF();_.TgZ(0,"div",26)(1,"span"),_._uU(2),_.TgZ(3,"a",27),_._uU(4,"this Article"),_.qZA(),_._uU(5," to renew your ShopID! "),_.qZA(),_.TgZ(6,"a",28),_.NdJ("click",function(){_.CHM(Z);const ge=_.oxw();return _.KtG(ge.CloseWarning())}),_._UZ(7,"i",29),_.qZA()()}if(2&N){const Z=_.oxw();_.xp6(2),_.AsE(" Your Shopee Channel ShopID ",Z.ShopID," is expired in (",Z.Difference_In_Days,") days, please refer to ")}}class Ae{constructor(J,Z,ne,ge,A){this._router=J,this.LocalData=Z,this.toggleSidebarService=ne,this.notificationService=ge,this.decodeTokenService=A,this.Menu={},this.Difference_In_Days=0,this.IsExpired=!1,this.destroy$=new K.x,this.isCollapseSidebar=!1,this.initIntercom(),this.token=A.getParseToken(),this.storeName=this.token.StoreName,this.Menu=(new ve).getMenu,this.CheckExpired()}ngOnInit(){this.subscribeToSidebarChange(),this.initNotifications()}initNotifications(){this.notifications$=this.notificationService.getNotification().pipe((0,he.U)(J=>J.length))}initIntercom(){var J=localStorage.getItem("Intercom"),Z=JSON.parse(J);null==Z?window.Intercom("boot",{app_id:"xv1oomgl"}):window.Intercom("boot",{app_id:"xv1oomgl",name:Z.Name,email:Z.Email,created_at:Z.Created,user_hash:Z.Hash})}subscribeToSidebarChange(){this.toggleSidebarService.toggleState$.pipe((0,H.R)(this.destroy$)).subscribe(J=>{this.isNavOpen=J})}CloseWarning(){localStorage.removeItem("channel"),this.IsExpired=!1}CheckExpired(){let J=JSON.parse(window.localStorage.getItem("user"));if(J)if(null!=J.expiredAt)this.LogOut();else{let ne=J.Channel;if(ne.length>0)for(let ge of ne)if(null!=ge.ExpiredTime&&0==ge.TypeID){let A=new Date(ge.ExpiredTime),Y=new Date;var Z=A.getTime()-Y.getTime();this.Difference_In_Days=Math.round(Z/864e5),this.Difference_In_Days<=10&&(this.IsExpired=!0,this.ShopID=ge.ShopID)}}}user(){this._router.navigate(["/menu/users"])}LogOut(){window.Intercom("shutdown"),window.localStorage.removeItem("user"),window.localStorage.removeItem("Intercom"),window.localStorage.removeItem("channel"),this.LocalData.clearDatabase(),this._router.navigate([""])}onCallapseSidebar(){this.isCollapseSidebar=!this.isCollapseSidebar,this.storeName=this.token.StoreName,this.isCollapseSidebar&&(this.storeName=this.getInitialTitle(this.token.StoreName))}getInitialTitle(J){if(J){let Z;const ne=J.split(" ");return Z=1==ne.length?ne[0].substring(0,2):ne.shift().charAt(0)+ne.pop().charAt(0),Z}}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}}Ae.\u0275fac=function(J){return new(J||Ae)(_.Y36(i.F0),_.Y36(re.T),_.Y36(ce.g),_.Y36(te.g),_.Y36(U.e))},Ae.\u0275cmp=_.Xpm({type:Ae,selectors:[["app-menu"]],decls:23,vars:9,consts:[[1,"wrapper"],["data-color","green",1,"sidebar",3,"ngClass"],[1,"btn-minimize","d-md-block","d-none","p-0","border-0","bg-white",3,"click"],[1,"fas","cursor",3,"ngClass"],[1,"logo"],[1,"navbar","dropdown","bg-transparent","border-0"],["data-bs-toggle","dropdown","aria-expanded","false",1,"simple-text","text-start","dropdown-toggle","d-flex","align-items-center","justify-content-center","cursor-pointer",3,"title"],[1,"dropdown-menu"],[1,"dropdown-header","text-dark","border-bottom"],[1,"divider","m-0"],[1,"dropdown-item","h5",2,"cursor","pointer",3,"click"],["aria-hidden","true",1,"fas","fa-sign-out-alt"],[1,"sidebar-wrapper"],[1,"nav"],["routerLinkActive","active",4,"ngFor","ngForOf"],[1,"main-panel"],["class","alert alert-warning d-flex justify-content-between text-dark","role","alert",4,"ngIf"],["routerLinkActive","active"],[4,"ngIf","ngIfElse"],["DEFAULT_ROUTE",""],["target","_blank",1,"nav-link","position-relative","d-block","changelog",3,"href"],["NO_BADGE",""],["matBadge","!","matBadgeColor","warn","matBadgeSize","small",1,"shake-animation"],["matTooltipPosition","right",1,"nav-link","position-relative","d-block",3,"matTooltip","routerLink"],["WITHOUT_BADGE",""],["matBadge","!","matBadgeColor","warn","matBadgeSize","small",1,"shake-animation",3,"matBadgeHidden"],["role","alert",1,"alert","alert-warning","d-flex","justify-content-between","text-dark"],["target","_blank","href","https://support.dealpos.com/en/articles/5334947-renew-shopee-authorization"],[1,"alert-link","text-danger",2,"cursor","pointer",3,"click"],[1,"far","fa-times-circle","fa-lg"]],template:function(J,Z){1&J&&(_.TgZ(0,"div",0)(1,"div",1)(2,"button",2),_.NdJ("click",function(){return Z.onCallapseSidebar()}),_._UZ(3,"i",3),_.qZA(),_.TgZ(4,"div",4)(5,"div",5)(6,"a",6),_._uU(7),_.qZA(),_.TgZ(8,"div",7)(9,"div",8),_._uU(10),_.qZA(),_._UZ(11,"div",9),_.TgZ(12,"a",10),_.NdJ("click",function(){return Z.LogOut()}),_._UZ(13,"i",11),_._uU(14,"\xa0 "),_.TgZ(15,"span"),_._uU(16," Log Out"),_.qZA()()()()(),_.TgZ(17,"div",12)(18,"ul",13),_.YNc(19,Me,4,2,"li",14),_.qZA()()(),_.TgZ(20,"div",15),_.YNc(21,Te,8,2,"div",16),_._UZ(22,"router-outlet"),_.qZA()()),2&J&&(_.ekj("nav-open",Z.isNavOpen),_.xp6(1),_.Q6J("ngClass",Z.isCollapseSidebar?"collapses":""),_.xp6(2),_.Q6J("ngClass",Z.isCollapseSidebar?"fa-angle-left":"fa-angle-right"),_.xp6(3),_.s9C("title",Z.token.StoreName),_.xp6(1),_.hij(" ",Z.storeName," "),_.xp6(3),_.hij("",Z.token.UserName," "),_.xp6(9),_.Q6J("ngForOf",Z.Menu),_.xp6(2),_.Q6J("ngIf",Z.IsExpired))},dependencies:[e.mk,e.sg,e.O5,i.lC,i.rH,i.Od,W.gM,F,e.Ov],styles:[".top-initial[_ngcontent-%COMP%] .dropdown-menu.show[_ngcontent-%COMP%]{top:initial!important}@media (max-width: 468px){.navbar[_ngcontent-%COMP%] .navbar-brand[_ngcontent-%COMP%]{white-space:nowrap;max-width:7em;overflow:hidden;text-overflow:ellipsis}}@media only screen and (min-width: 992px){.sidebar[_ngcontent-%COMP%]{z-index:1050!important;transition:all .3s}.sidebar[_ngcontent-%COMP%] .sidebar-wrapper[_ngcontent-%COMP%]{transition:all .3s}.sidebar[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%]{transition:all .3s}.sidebar[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%] .navbar.fixed-top[_ngcontent-%COMP%]{transition:all .3s}.sidebar.collapses[_ngcontent-%COMP%], .sidebar.collapses[_ngcontent-%COMP%] .sidebar-wrapper[_ngcontent-%COMP%]{width:70px;transition:all .3s}.sidebar.collapses[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] .simple-text[_ngcontent-%COMP%]{background-color:#ffffff3b;border-radius:20px;height:40px;width:40px}.sidebar.collapses[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{padding:10px 0 10px 10px!important;height:50px;text-align:center;margin:10px}.sidebar.collapses[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:none}.sidebar.collapses[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%]{padding-left:70px}.sidebar.collapses[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%] .navbar.fixed-top[_ngcontent-%COMP%]{left:70px!important;transition:all .3s}.sidebar[_ngcontent-%COMP%] .btn-minimize[_ngcontent-%COMP%]{position:absolute;top:17px;right:-20px;z-index:7;transform:rotate(180deg);border-radius:50%;box-shadow:0 0 0 1px #091e4214,0 2px 4px 1px #091e4214;color:#000;cursor:pointer;height:24px;opacity:0;outline:0;width:24px;transform-origin:7px;transition:opacity .5s;-webkit-transition:opacity .5s}.sidebar[_ngcontent-%COMP%] .btn-minimize[_ngcontent-%COMP%]:hover{color:#2996cc}.sidebar[_ngcontent-%COMP%]:hover .btn-minimize[_ngcontent-%COMP%]{opacity:1;background-color:#fff;position:absolute;top:17px;right:-20px;z-index:7;transform:rotate(180deg);border:0;border-radius:50%;box-shadow:0 0 0 1px #091e4214,0 2px 4px 1px #091e4214;color:#000;cursor:pointer;height:24px;opacity:0;outline:0;padding:0;width:24px;transform-origin:7px;transition:opacity .5s;-webkit-transition:opacity .5s}.sidebar[_ngcontent-%COMP%]:hover .btn-minimize[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{cursor:pointer}.sidebar[_ngcontent-%COMP%]:hover .btn-minimize[_ngcontent-%COMP%]:hover{color:#2996cc}.sidebar[_ngcontent-%COMP%]:hover:hover .btn-minimize[_ngcontent-%COMP%]{opacity:1}.full-container[_ngcontent-%COMP%]{padding-top:0!important}} p.shake-animation.mat-badge>span.mat-badge-content{animation:_ngcontent-%COMP%_shake-animation 4.72s ease infinite;font-size:12px;transform-origin:50% 50%;right:-14px!important}@keyframes _ngcontent-%COMP%_shake-animation{0%{transform:translate(0)}1.78571%{transform:translate(5px)}3.57143%{transform:translate(0)}5.35714%{transform:translate(5px)}7.14286%{transform:translate(0)}8.92857%{transform:translate(5px)}10.71429%{transform:translate(0)}to{transform:translate(0)}} .changelog:visited p.shake-animation.mat-badge>span.mat-badge-content{color:#77c425;background-color:#77c425;z-index:-1}"]});const Ie=[{path:"",component:Ae,children:[{path:"",redirectTo:"products",pathMatch:"full"},{path:"products",loadChildren:()=>Promise.all([s.e(796),s.e(739),s.e(501),s.e(592),s.e(913)]).then(s.bind(s,2913)).then(N=>N.ProductModule),canActivate:[o.a],data:{title:"Products"}},{path:"inventory",loadChildren:()=>Promise.all([s.e(796),s.e(516),s.e(739),s.e(61),s.e(716),s.e(72)]).then(s.bind(s,5072)).then(N=>N.InventoryModule),canActivate:[o.a],data:{title:"Inventory"}},{path:"price",loadChildren:()=>Promise.all([s.e(796),s.e(516),s.e(739),s.e(61),s.e(716),s.e(592),s.e(874)]).then(s.bind(s,1874)).then(N=>N.PriceModule),canActivate:[o.a],data:{title:"Price"}},{path:"Order",loadChildren:()=>Promise.all([s.e(796),s.e(616),s.e(501),s.e(970),s.e(592),s.e(643)]).then(s.bind(s,8549)).then(N=>N.OrdersModule),canActivate:[o.a],data:{title:"Order"}},{path:"report",loadChildren:()=>Promise.all([s.e(616),s.e(277),s.e(360)]).then(s.bind(s,4360)).then(N=>N.ReportModule),canActivate:[o.a],data:{title:"Report"}},{path:"Logistic",loadChildren:()=>Promise.all([s.e(796),s.e(512)]).then(s.bind(s,5512)).then(N=>N.LogisticModule),canActivate:[o.a],data:{title:"Logistic"}},{path:"channel",loadChildren:()=>Promise.all([s.e(796),s.e(61),s.e(587)]).then(s.bind(s,3587)).then(N=>N.ChannelsModule),canActivate:[o.a],data:{title:"Marketplace"}},{path:"log",loadChildren:()=>Promise.all([s.e(796),s.e(616),s.e(501),s.e(277),s.e(628)]).then(s.bind(s,5628)).then(N=>N.LogsModule),canActivate:[o.a],data:{title:"Orders"}},{path:"Notification",loadChildren:()=>Promise.all([s.e(796),s.e(592),s.e(717)]).then(s.bind(s,6717)).then(N=>N.NotificationModule),canActivate:[o.a],data:{title:"Push Notification"}}]}];class Re{}Re.\u0275fac=function(J){return new(J||Re)},Re.\u0275mod=_.oAB({type:Re}),Re.\u0275inj=_.cJS({imports:[i.Bz.forChild(Ie),i.Bz]});var Le=s(7481),Pe=s(4006),Fe=s(5412),we=s(1948),ae=s(4144),B=s(9549),x=s(4385),a=s(6709),C=s(6401),f=s(7963);class k{}k.\u0275fac=function(J){return new(J||k)},k.\u0275mod=_.oAB({type:k}),k.\u0275inj=_.cJS({imports:[e.ez,Pe.u5,Fe.Is,we.Fk,ae.c,B.lN,x.LD,a.p9,W.AV,C.M,f.h]});class X{}X.\u0275fac=function(J){return new(J||X)},X.\u0275mod=_.oAB({type:X}),X.\u0275inj=_.cJS({providers:[e.uU],imports:[e.ez,Re,Le.R,W.AV,k,ie]})},8063:(ze,Ee,s)=>{s.d(Ee,{a:()=>o});var e=s(4650),i=s(6806);class o{constructor(K){this.router=K}canActivate(K,de){let ve=JSON.parse(window.localStorage.getItem("user")),he=new Date;return null!=ve&&he<new Date(ve.Token.expiredAt)||(this.router.navigate([""]),!1)}}o.\u0275fac=function(K){return new(K||o)(e.LFG(i.F0))},o.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"})},9568:(ze,Ee,s)=>{s.d(Ee,{T:()=>de});var e=s(4004),i=s(3154),o=s(9694),H=s(4650),K=s(5421);class de{constructor(he){this.db=he,this.DATABASE="Categories"}saveCategoriesByChannelType(he,_){let re=this.getKey(_);return this.db.add(this.DATABASE,he,re).pipe((0,e.U)(ce=>he))}getCategoriesByChannelType(he){let _=this.getKey(he);return this.db.getByKey(this.DATABASE,_)}getKey(he){let _="";switch(he){case o.x.Lazada:_="Lazada";break;case o.x.Tokopedia:_="Tokopedia"}return _}clearDatabase(){this.db.clear(this.DATABASE)}getHostName(){if(i.g.IsEmpty(this.hostName)){const he=localStorage.getItem("Authorization");this.hostName=JSON.parse(he)?.Host}return this.hostName}}de.\u0275fac=function(he){return new(he||de)(H.LFG(K.ys))},de.\u0275prov=H.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"})},5051:(ze,Ee,s)=>{s.d(Ee,{g:()=>L});var e=s(1135);const i=[0,2e3,1e4,3e4,null];class o{constructor(t){this._retryDelays=void 0!==t?[...t,null]:i}nextRetryDelayInMilliseconds(t){return this._retryDelays[t.previousRetryCount]}}var H=s(5861);let K=(()=>{class w{}return w.Authorization="Authorization",w.Cookie="Cookie",w})();class de{constructor(t,n,m){this.statusCode=t,this.statusText=n,this.content=m}}class ve{get(t,n){return this.send({...n,method:"GET",url:t})}post(t,n){return this.send({...n,method:"POST",url:t})}delete(t,n){return this.send({...n,method:"DELETE",url:t})}getCookieString(t){return""}}class he extends ve{constructor(t,n){super(),this._innerClient=t,this._accessTokenFactory=n}send(t){var n=this;return(0,H.Z)(function*(){let m=!0;n._accessTokenFactory&&(!n._accessToken||t.url&&t.url.indexOf("/negotiate?")>0)&&(m=!1,n._accessToken=yield n._accessTokenFactory()),n._setAuthorizationHeader(t);const D=yield n._innerClient.send(t);return m&&401===D.statusCode&&n._accessTokenFactory?(n._accessToken=yield n._accessTokenFactory(),n._setAuthorizationHeader(t),yield n._innerClient.send(t)):D})()}_setAuthorizationHeader(t){t.headers||(t.headers={}),this._accessToken?t.headers[K.Authorization]=`Bearer ${this._accessToken}`:this._accessTokenFactory&&t.headers[K.Authorization]&&delete t.headers[K.Authorization]}getCookieString(t){return this._innerClient.getCookieString(t)}}class _ extends Error{constructor(t,n){const m=new.target.prototype;super(`${t}: Status code '${n}'`),this.statusCode=n,this.__proto__=m}}class re extends Error{constructor(t="A timeout occurred."){const n=new.target.prototype;super(t),this.__proto__=n}}class ce extends Error{constructor(t="An abort occurred."){const n=new.target.prototype;super(t),this.__proto__=n}}class te extends Error{constructor(t,n){const m=new.target.prototype;super(t),this.transport=n,this.errorType="UnsupportedTransportError",this.__proto__=m}}class U extends Error{constructor(t,n){const m=new.target.prototype;super(t),this.transport=n,this.errorType="DisabledTransportError",this.__proto__=m}}class W extends Error{constructor(t,n){const m=new.target.prototype;super(t),this.transport=n,this.errorType="FailedToStartTransportError",this.__proto__=m}}class me extends Error{constructor(t){const n=new.target.prototype;super(t),this.errorType="FailedToNegotiateWithServerError",this.__proto__=n}}class fe extends Error{constructor(t,n){const m=new.target.prototype;super(t),this.innerErrors=n,this.__proto__=m}}var R=(()=>{return(w=R||(R={}))[w.Trace=0]="Trace",w[w.Debug=1]="Debug",w[w.Information=2]="Information",w[w.Warning=3]="Warning",w[w.Error=4]="Error",w[w.Critical=5]="Critical",w[w.None=6]="None",R;var w})();class ye{constructor(){}log(t,n){}}ye.instance=new ye;class le{static isRequired(t,n){if(null==t)throw new Error(`The '${n}' argument is required.`)}static isNotEmpty(t,n){if(!t||t.match(/^\s*$/))throw new Error(`The '${n}' argument should not be empty.`)}static isIn(t,n,m){if(!(t in n))throw new Error(`Unknown ${m} value: ${t}.`)}}class F{static get isBrowser(){return"object"==typeof window&&"object"==typeof window.document}static get isWebWorker(){return"object"==typeof self&&"importScripts"in self}static get isReactNative(){return"object"==typeof window&&typeof window.document>"u"}static get isNode(){return!this.isBrowser&&!this.isWebWorker&&!this.isReactNative}}function ie(w,t){let n="";return v(w)?(n=`Binary data of length ${w.byteLength}`,t&&(n+=`. Content: '${function u(w){const t=new Uint8Array(w);let n="";return t.forEach(m=>{n+=`0x${m<16?"0":""}${m.toString(16)} `}),n.substr(0,n.length-1)}(w)}'`)):"string"==typeof w&&(n=`String data of length ${w.length}`,t&&(n+=`. Content: '${w}'`)),n}function v(w){return w&&typeof ArrayBuffer<"u"&&(w instanceof ArrayBuffer||w.constructor&&"ArrayBuffer"===w.constructor.name)}function M(w,t,n,m,D,Q){return $.apply(this,arguments)}function $(){return($=(0,H.Z)(function*(w,t,n,m,D,Q){const _e={},[E,b]=Te();_e[E]=b,w.log(R.Trace,`(${t} transport) sending data. ${ie(D,Q.logMessageContent)}.`);const r=v(D)?"arraybuffer":"text",g=yield n.post(m,{content:D,headers:{..._e,...Q.headers},responseType:r,timeout:Q.timeout,withCredentials:Q.withCredentials});w.log(R.Trace,`(${t} transport) request complete. Response status: ${g.statusCode}.`)})).apply(this,arguments)}class De{constructor(t,n){this._subject=t,this._observer=n}dispose(){const t=this._subject.observers.indexOf(this._observer);t>-1&&this._subject.observers.splice(t,1),0===this._subject.observers.length&&this._subject.cancelCallback&&this._subject.cancelCallback().catch(n=>{})}}class Me{constructor(t){this._minLevel=t,this.out=console}log(t,n){if(t>=this._minLevel){const m=`[${(new Date).toISOString()}] ${R[t]}: ${n}`;switch(t){case R.Critical:case R.Error:this.out.error(m);break;case R.Warning:this.out.warn(m);break;case R.Information:this.out.info(m);break;default:this.out.log(m)}}}}function Te(){let w="X-SignalR-User-Agent";return F.isNode&&(w="User-Agent"),[w,Ae("7.0.2",Ie(),F.isNode?"NodeJS":"Browser",Re())]}function Ae(w,t,n,m){let D="Microsoft SignalR/";const Q=w.split(".");return D+=`${Q[0]}.${Q[1]}`,D+=` (${w}; `,D+=t&&""!==t?`${t}; `:"Unknown OS; ",D+=`${n}`,D+=m?`; ${m}`:"; Unknown Runtime Version",D+=")",D}function Ie(){if(!F.isNode)return"";switch(process.platform){case"win32":return"Windows NT";case"darwin":return"macOS";case"linux":return"Linux";default:return process.platform}}function Re(){if(F.isNode)return process.versions.node}function Pe(w){return w.stack?w.stack:w.message?w.message:`${w}`}class we extends ve{constructor(t){if(super(),this._logger=t,typeof fetch>"u"){const n=require;this._jar=new(n("tough-cookie").CookieJar),this._fetchType=n("node-fetch"),this._fetchType=n("fetch-cookie")(this._fetchType,this._jar)}else this._fetchType=fetch.bind(function Fe(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("could not find global")}());if(typeof AbortController>"u"){const n=require;this._abortControllerType=n("abort-controller")}else this._abortControllerType=AbortController}send(t){var n=this;return(0,H.Z)(function*(){if(t.abortSignal&&t.abortSignal.aborted)throw new ce;if(!t.method)throw new Error("No method defined.");if(!t.url)throw new Error("No url defined.");const m=new n._abortControllerType;let D;t.abortSignal&&(t.abortSignal.onabort=()=>{m.abort(),D=new ce});let _e,Q=null;t.timeout&&(Q=setTimeout(()=>{m.abort(),n._logger.log(R.Warning,"Timeout from HTTP request."),D=new re},t.timeout)),""===t.content&&(t.content=void 0),t.content&&(t.headers=t.headers||{},t.headers["Content-Type"]=v(t.content)?"application/octet-stream":"text/plain;charset=UTF-8");try{_e=yield n._fetchType(t.url,{body:t.content,cache:"no-cache",credentials:!0===t.withCredentials?"include":"same-origin",headers:{"X-Requested-With":"XMLHttpRequest",...t.headers},method:t.method,mode:"cors",redirect:"follow",signal:m.signal})}catch(r){throw D||(n._logger.log(R.Warning,`Error from HTTP request. ${r}.`),r)}finally{Q&&clearTimeout(Q),t.abortSignal&&(t.abortSignal.onabort=null)}if(!_e.ok){const r=yield ae(_e,"text");throw new _(r||_e.statusText,_e.status)}const b=yield ae(_e,t.responseType);return new de(_e.status,_e.statusText,b)})()}getCookieString(t){let n="";return F.isNode&&this._jar&&this._jar.getCookies(t,(m,D)=>n=D.join("; ")),n}}function ae(w,t){let n;switch(t){case"arraybuffer":n=w.arrayBuffer();break;case"text":default:n=w.text();break;case"blob":case"document":case"json":throw new Error(`${t} is not supported.`)}return n}class B extends ve{constructor(t){super(),this._logger=t}send(t){return t.abortSignal&&t.abortSignal.aborted?Promise.reject(new ce):t.method?t.url?new Promise((n,m)=>{const D=new XMLHttpRequest;D.open(t.method,t.url,!0),D.withCredentials=void 0===t.withCredentials||t.withCredentials,D.setRequestHeader("X-Requested-With","XMLHttpRequest"),""===t.content&&(t.content=void 0),t.content&&(v(t.content)?D.setRequestHeader("Content-Type","application/octet-stream"):D.setRequestHeader("Content-Type","text/plain;charset=UTF-8"));const Q=t.headers;Q&&Object.keys(Q).forEach(_e=>{D.setRequestHeader(_e,Q[_e])}),t.responseType&&(D.responseType=t.responseType),t.abortSignal&&(t.abortSignal.onabort=()=>{D.abort(),m(new ce)}),t.timeout&&(D.timeout=t.timeout),D.onload=()=>{t.abortSignal&&(t.abortSignal.onabort=null),D.status>=200&&D.status<300?n(new de(D.status,D.statusText,D.response||D.responseText)):m(new _(D.response||D.responseText||D.statusText,D.status))},D.onerror=()=>{this._logger.log(R.Warning,`Error from HTTP request. ${D.status}: ${D.statusText}.`),m(new _(D.statusText,D.status))},D.ontimeout=()=>{this._logger.log(R.Warning,"Timeout from HTTP request."),m(new re)},D.send(t.content)}):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))}}class x extends ve{constructor(t){if(super(),typeof fetch<"u"||F.isNode)this._httpClient=new we(t);else{if(!(typeof XMLHttpRequest<"u"))throw new Error("No usable HttpClient found.");this._httpClient=new B(t)}}send(t){return t.abortSignal&&t.abortSignal.aborted?Promise.reject(new ce):t.method?t.url?this._httpClient.send(t):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))}getCookieString(t){return this._httpClient.getCookieString(t)}}var a=(()=>{return(w=a||(a={}))[w.None=0]="None",w[w.WebSockets=1]="WebSockets",w[w.ServerSentEvents=2]="ServerSentEvents",w[w.LongPolling=4]="LongPolling",a;var w})(),C=(()=>{return(w=C||(C={}))[w.Text=1]="Text",w[w.Binary=2]="Binary",C;var w})();class f{constructor(){this._isAborted=!1,this.onabort=null}abort(){this._isAborted||(this._isAborted=!0,this.onabort&&this.onabort())}get signal(){return this}get aborted(){return this._isAborted}}class k{constructor(t,n,m){this._httpClient=t,this._logger=n,this._pollAbort=new f,this._options=m,this._running=!1,this.onreceive=null,this.onclose=null}get pollAborted(){return this._pollAbort.aborted}connect(t,n){var m=this;return(0,H.Z)(function*(){if(le.isRequired(t,"url"),le.isRequired(n,"transferFormat"),le.isIn(n,C,"transferFormat"),m._url=t,m._logger.log(R.Trace,"(LongPolling transport) Connecting."),n===C.Binary&&typeof XMLHttpRequest<"u"&&"string"!=typeof(new XMLHttpRequest).responseType)throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");const[D,Q]=Te(),_e={[D]:Q,...m._options.headers},E={abortSignal:m._pollAbort.signal,headers:_e,timeout:1e5,withCredentials:m._options.withCredentials};n===C.Binary&&(E.responseType="arraybuffer");const b=`${t}&_=${Date.now()}`;m._logger.log(R.Trace,`(LongPolling transport) polling: ${b}.`);const r=yield m._httpClient.get(b,E);200!==r.statusCode?(m._logger.log(R.Error,`(LongPolling transport) Unexpected response code: ${r.statusCode}.`),m._closeError=new _(r.statusText||"",r.statusCode),m._running=!1):m._running=!0,m._receiving=m._poll(m._url,E)})()}_poll(t,n){var m=this;return(0,H.Z)(function*(){try{for(;m._running;)try{const D=`${t}&_=${Date.now()}`;m._logger.log(R.Trace,`(LongPolling transport) polling: ${D}.`);const Q=yield m._httpClient.get(D,n);204===Q.statusCode?(m._logger.log(R.Information,"(LongPolling transport) Poll terminated by server."),m._running=!1):200!==Q.statusCode?(m._logger.log(R.Error,`(LongPolling transport) Unexpected response code: ${Q.statusCode}.`),m._closeError=new _(Q.statusText||"",Q.statusCode),m._running=!1):Q.content?(m._logger.log(R.Trace,`(LongPolling transport) data received. ${ie(Q.content,m._options.logMessageContent)}.`),m.onreceive&&m.onreceive(Q.content)):m._logger.log(R.Trace,"(LongPolling transport) Poll timed out, reissuing.")}catch(D){m._running?D instanceof re?m._logger.log(R.Trace,"(LongPolling transport) Poll timed out, reissuing."):(m._closeError=D,m._running=!1):m._logger.log(R.Trace,`(LongPolling transport) Poll errored after shutdown: ${D.message}`)}}finally{m._logger.log(R.Trace,"(LongPolling transport) Polling complete."),m.pollAborted||m._raiseOnClose()}})()}send(t){var n=this;return(0,H.Z)(function*(){return n._running?M(n._logger,"LongPolling",n._httpClient,n._url,t,n._options):Promise.reject(new Error("Cannot send until the transport is connected"))})()}stop(){var t=this;return(0,H.Z)(function*(){t._logger.log(R.Trace,"(LongPolling transport) Stopping polling."),t._running=!1,t._pollAbort.abort();try{yield t._receiving,t._logger.log(R.Trace,`(LongPolling transport) sending DELETE request to ${t._url}.`);const n={},[m,D]=Te();n[m]=D;const Q={headers:{...n,...t._options.headers},timeout:t._options.timeout,withCredentials:t._options.withCredentials};yield t._httpClient.delete(t._url,Q),t._logger.log(R.Trace,"(LongPolling transport) DELETE request sent.")}finally{t._logger.log(R.Trace,"(LongPolling transport) Stop finished."),t._raiseOnClose()}})()}_raiseOnClose(){if(this.onclose){let t="(LongPolling transport) Firing onclose event.";this._closeError&&(t+=" Error: "+this._closeError),this._logger.log(R.Trace,t),this.onclose(this._closeError)}}}class X{constructor(t,n,m,D){this._httpClient=t,this._accessToken=n,this._logger=m,this._options=D,this.onreceive=null,this.onclose=null}connect(t,n){var m=this;return(0,H.Z)(function*(){return le.isRequired(t,"url"),le.isRequired(n,"transferFormat"),le.isIn(n,C,"transferFormat"),m._logger.log(R.Trace,"(SSE transport) Connecting."),m._url=t,m._accessToken&&(t+=(t.indexOf("?")<0?"?":"&")+`access_token=${encodeURIComponent(m._accessToken)}`),new Promise((D,Q)=>{let E,_e=!1;if(n===C.Text){if(F.isBrowser||F.isWebWorker)E=new m._options.EventSource(t,{withCredentials:m._options.withCredentials});else{const b=m._httpClient.getCookieString(t),r={};r.Cookie=b;const[g,h]=Te();r[g]=h,E=new m._options.EventSource(t,{withCredentials:m._options.withCredentials,headers:{...r,...m._options.headers}})}try{E.onmessage=b=>{if(m.onreceive)try{m._logger.log(R.Trace,`(SSE transport) data received. ${ie(b.data,m._options.logMessageContent)}.`),m.onreceive(b.data)}catch(r){return void m._close(r)}},E.onerror=b=>{_e?m._close():Q(new Error("EventSource failed to connect. The connection could not be found on the server, either the connection ID is not present on the server, or a proxy is refusing/buffering the connection. If you have multiple servers check that sticky sessions are enabled."))},E.onopen=()=>{m._logger.log(R.Information,`SSE connected to ${m._url}`),m._eventSource=E,_e=!0,D()}}catch(b){return void Q(b)}}else Q(new Error("The Server-Sent Events transport only supports the 'Text' transfer format"))})})()}send(t){var n=this;return(0,H.Z)(function*(){return n._eventSource?M(n._logger,"SSE",n._httpClient,n._url,t,n._options):Promise.reject(new Error("Cannot send until the transport is connected"))})()}stop(){return this._close(),Promise.resolve()}_close(t){this._eventSource&&(this._eventSource.close(),this._eventSource=void 0,this.onclose&&this.onclose(t))}}class N{constructor(t,n,m,D,Q,_e){this._logger=m,this._accessTokenFactory=n,this._logMessageContent=D,this._webSocketConstructor=Q,this._httpClient=t,this.onreceive=null,this.onclose=null,this._headers=_e}connect(t,n){var m=this;return(0,H.Z)(function*(){let D;return le.isRequired(t,"url"),le.isRequired(n,"transferFormat"),le.isIn(n,C,"transferFormat"),m._logger.log(R.Trace,"(WebSockets transport) Connecting."),m._accessTokenFactory&&(D=yield m._accessTokenFactory()),new Promise((Q,_e)=>{let E;t=t.replace(/^http/,"ws");const b=m._httpClient.getCookieString(t);let r=!1;if(F.isNode||F.isReactNative){const g={},[h,G]=Te();g[h]=G,D&&(g[K.Authorization]=`Bearer ${D}`),b&&(g[K.Cookie]=b),E=new m._webSocketConstructor(t,void 0,{headers:{...g,...m._headers}})}else D&&(t+=(t.indexOf("?")<0?"?":"&")+`access_token=${encodeURIComponent(D)}`);E||(E=new m._webSocketConstructor(t)),n===C.Binary&&(E.binaryType="arraybuffer"),E.onopen=g=>{m._logger.log(R.Information,`WebSocket connected to ${t}.`),m._webSocket=E,r=!0,Q()},E.onerror=g=>{let h=null;h=typeof ErrorEvent<"u"&&g instanceof ErrorEvent?g.error:"There was an error with the transport",m._logger.log(R.Information,`(WebSockets transport) ${h}.`)},E.onmessage=g=>{if(m._logger.log(R.Trace,`(WebSockets transport) data received. ${ie(g.data,m._logMessageContent)}.`),m.onreceive)try{m.onreceive(g.data)}catch(h){return void m._close(h)}},E.onclose=g=>{if(r)m._close(g);else{let h=null;h=typeof ErrorEvent<"u"&&g instanceof ErrorEvent?g.error:"WebSocket failed to connect. The connection could not be found on the server, either the endpoint may not be a SignalR endpoint, the connection ID is not present on the server, or there is a proxy blocking WebSockets. If you have multiple servers check that sticky sessions are enabled.",_e(new Error(h))}}})})()}send(t){return this._webSocket&&this._webSocket.readyState===this._webSocketConstructor.OPEN?(this._logger.log(R.Trace,`(WebSockets transport) sending data. ${ie(t,this._logMessageContent)}.`),this._webSocket.send(t),Promise.resolve()):Promise.reject("WebSocket is not in the OPEN state")}stop(){return this._webSocket&&this._close(void 0),Promise.resolve()}_close(t){this._webSocket&&(this._webSocket.onclose=()=>{},this._webSocket.onmessage=()=>{},this._webSocket.onerror=()=>{},this._webSocket.close(),this._webSocket=void 0),this._logger.log(R.Trace,"(WebSockets transport) socket closed."),this.onclose&&(!this._isCloseEvent(t)||!1!==t.wasClean&&1e3===t.code?t instanceof Error?this.onclose(t):this.onclose():this.onclose(new Error(`WebSocket closed with status code: ${t.code} (${t.reason||"no reason given"}).`)))}_isCloseEvent(t){return t&&"boolean"==typeof t.wasClean&&"number"==typeof t.code}}class Z{constructor(t,n={}){if(this._stopPromiseResolver=()=>{},this.features={},this._negotiateVersion=1,le.isRequired(t,"url"),this._logger=function pe(w){return void 0===w?new Me(R.Information):null===w?ye.instance:void 0!==w.log?w:new Me(w)}(n.logger),this.baseUrl=this._resolveUrl(t),(n=n||{}).logMessageContent=void 0!==n.logMessageContent&&n.logMessageContent,"boolean"!=typeof n.withCredentials&&void 0!==n.withCredentials)throw new Error("withCredentials option was not a 'boolean' or 'undefined' value");n.withCredentials=void 0===n.withCredentials||n.withCredentials,n.timeout=void 0===n.timeout?1e5:n.timeout;let m=null,D=null;if(F.isNode){const Q=require;m=Q("ws"),D=Q("eventsource")}!F.isNode&&typeof WebSocket<"u"&&!n.WebSocket?n.WebSocket=WebSocket:F.isNode&&!n.WebSocket&&m&&(n.WebSocket=m),!F.isNode&&typeof EventSource<"u"&&!n.EventSource?n.EventSource=EventSource:F.isNode&&!n.EventSource&&typeof D<"u"&&(n.EventSource=D),this._httpClient=new he(n.httpClient||new x(this._logger),n.accessTokenFactory),this._connectionState="Disconnected",this._connectionStarted=!1,this._options=n,this.onreceive=null,this.onclose=null}start(t){var n=this;return(0,H.Z)(function*(){if(le.isIn(t=t||C.Binary,C,"transferFormat"),n._logger.log(R.Debug,`Starting connection with transfer format '${C[t]}'.`),"Disconnected"!==n._connectionState)return Promise.reject(new Error("Cannot start an HttpConnection that is not in the 'Disconnected' state."));if(n._connectionState="Connecting",n._startInternalPromise=n._startInternal(t),yield n._startInternalPromise,"Disconnecting"===n._connectionState){const m="Failed to start the HttpConnection before stop() was called.";return n._logger.log(R.Error,m),yield n._stopPromise,Promise.reject(new ce(m))}if("Connected"!==n._connectionState){const m="HttpConnection.startInternal completed gracefully but didn't enter the connection into the connected state!";return n._logger.log(R.Error,m),Promise.reject(new ce(m))}n._connectionStarted=!0})()}send(t){return"Connected"!==this._connectionState?Promise.reject(new Error("Cannot send data if the connection is not in the 'Connected' State.")):(this._sendQueue||(this._sendQueue=new ge(this.transport)),this._sendQueue.send(t))}stop(t){var n=this;return(0,H.Z)(function*(){return"Disconnected"===n._connectionState?(n._logger.log(R.Debug,`Call to HttpConnection.stop(${t}) ignored because the connection is already in the disconnected state.`),Promise.resolve()):"Disconnecting"===n._connectionState?(n._logger.log(R.Debug,`Call to HttpConnection.stop(${t}) ignored because the connection is already in the disconnecting state.`),n._stopPromise):(n._connectionState="Disconnecting",n._stopPromise=new Promise(m=>{n._stopPromiseResolver=m}),yield n._stopInternal(t),void(yield n._stopPromise))})()}_stopInternal(t){var n=this;return(0,H.Z)(function*(){n._stopError=t;try{yield n._startInternalPromise}catch{}if(n.transport){try{yield n.transport.stop()}catch(m){n._logger.log(R.Error,`HttpConnection.transport.stop() threw error '${m}'.`),n._stopConnection()}n.transport=void 0}else n._logger.log(R.Debug,"HttpConnection.transport is undefined in HttpConnection.stop() because start() failed.")})()}_startInternal(t){var n=this;return(0,H.Z)(function*(){let m=n.baseUrl;n._accessTokenFactory=n._options.accessTokenFactory,n._httpClient._accessTokenFactory=n._accessTokenFactory;try{if(n._options.skipNegotiation){if(n._options.transport!==a.WebSockets)throw new Error("Negotiation can only be skipped when using the WebSocket transport directly.");n.transport=n._constructTransport(a.WebSockets),yield n._startTransport(m,t)}else{let D=null,Q=0;do{if(D=yield n._getNegotiationResponse(m),"Disconnecting"===n._connectionState||"Disconnected"===n._connectionState)throw new ce("The connection was stopped during negotiation.");if(D.error)throw new Error(D.error);if(D.ProtocolVersion)throw new Error("Detected a connection attempt to an ASP.NET SignalR Server. This client only supports connecting to an ASP.NET Core SignalR Server. See https://aka.ms/signalr-core-differences for details.");if(D.url&&(m=D.url),D.accessToken){const _e=D.accessToken;n._accessTokenFactory=()=>_e,n._httpClient._accessToken=_e,n._httpClient._accessTokenFactory=void 0}Q++}while(D.url&&Q<100);if(100===Q&&D.url)throw new Error("Negotiate redirection limit exceeded.");yield n._createTransport(m,n._options.transport,D,t)}n.transport instanceof k&&(n.features.inherentKeepAlive=!0),"Connecting"===n._connectionState&&(n._logger.log(R.Debug,"The HttpConnection connected successfully."),n._connectionState="Connected")}catch(D){return n._logger.log(R.Error,"Failed to start the connection: "+D),n._connectionState="Disconnected",n.transport=void 0,n._stopPromiseResolver(),Promise.reject(D)}})()}_getNegotiationResponse(t){var n=this;return(0,H.Z)(function*(){const m={},[D,Q]=Te();m[D]=Q;const _e=n._resolveNegotiateUrl(t);n._logger.log(R.Debug,`Sending negotiation request: ${_e}.`);try{const E=yield n._httpClient.post(_e,{content:"",headers:{...m,...n._options.headers},timeout:n._options.timeout,withCredentials:n._options.withCredentials});if(200!==E.statusCode)return Promise.reject(new Error(`Unexpected status code returned from negotiate '${E.statusCode}'`));const b=JSON.parse(E.content);return(!b.negotiateVersion||b.negotiateVersion<1)&&(b.connectionToken=b.connectionId),b}catch(E){let b="Failed to complete negotiation with the server: "+E;return E instanceof _&&404===E.statusCode&&(b+=" Either this is not a SignalR endpoint or there is a proxy blocking the connection."),n._logger.log(R.Error,b),Promise.reject(new me(b))}})()}_createConnectUrl(t,n){return n?t+(-1===t.indexOf("?")?"?":"&")+`id=${n}`:t}_createTransport(t,n,m,D){var Q=this;return(0,H.Z)(function*(){let _e=Q._createConnectUrl(t,m.connectionToken);if(Q._isITransport(n))return Q._logger.log(R.Debug,"Connection was provided an instance of ITransport, using that directly."),Q.transport=n,yield Q._startTransport(_e,D),void(Q.connectionId=m.connectionId);const E=[],b=m.availableTransports||[];let r=m;for(const g of b){const h=Q._resolveTransportOrError(g,n,D);if(h instanceof Error)E.push(`${g.transport} failed:`),E.push(h);else if(Q._isITransport(h)){if(Q.transport=h,!r){try{r=yield Q._getNegotiationResponse(t)}catch(G){return Promise.reject(G)}_e=Q._createConnectUrl(t,r.connectionToken)}try{return yield Q._startTransport(_e,D),void(Q.connectionId=r.connectionId)}catch(G){if(Q._logger.log(R.Error,`Failed to start the transport '${g.transport}': ${G}`),r=void 0,E.push(new W(`${g.transport} failed: ${G}`,a[g.transport])),"Connecting"!==Q._connectionState){const Ce="Failed to select transport before stop() was called.";return Q._logger.log(R.Debug,Ce),Promise.reject(new ce(Ce))}}}}return Promise.reject(E.length>0?new fe(`Unable to connect to the server with any of the available transports. ${E.join(" ")}`,E):new Error("None of the transports supported by the client are supported by the server."))})()}_constructTransport(t){switch(t){case a.WebSockets:if(!this._options.WebSocket)throw new Error("'WebSocket' is not supported in your environment.");return new N(this._httpClient,this._accessTokenFactory,this._logger,this._options.logMessageContent,this._options.WebSocket,this._options.headers||{});case a.ServerSentEvents:if(!this._options.EventSource)throw new Error("'EventSource' is not supported in your environment.");return new X(this._httpClient,this._httpClient._accessToken,this._logger,this._options);case a.LongPolling:return new k(this._httpClient,this._logger,this._options);default:throw new Error(`Unknown transport: ${t}.`)}}_startTransport(t,n){return this.transport.onreceive=this.onreceive,this.transport.onclose=m=>this._stopConnection(m),this.transport.connect(t,n)}_resolveTransportOrError(t,n,m){const D=a[t.transport];if(null==D)return this._logger.log(R.Debug,`Skipping transport '${t.transport}' because it is not supported by this client.`),new Error(`Skipping transport '${t.transport}' because it is not supported by this client.`);if(!function ne(w,t){return!w||0!=(t&w)}(n,D))return this._logger.log(R.Debug,`Skipping transport '${a[D]}' because it was disabled by the client.`),new U(`'${a[D]}' is disabled by the client.`,D);if(!(t.transferFormats.map(_e=>C[_e]).indexOf(m)>=0))return this._logger.log(R.Debug,`Skipping transport '${a[D]}' because it does not support the requested transfer format '${C[m]}'.`),new Error(`'${a[D]}' does not support ${C[m]}.`);if(D===a.WebSockets&&!this._options.WebSocket||D===a.ServerSentEvents&&!this._options.EventSource)return this._logger.log(R.Debug,`Skipping transport '${a[D]}' because it is not supported in your environment.'`),new te(`'${a[D]}' is not supported in your environment.`,D);this._logger.log(R.Debug,`Selecting transport '${a[D]}'.`);try{return this._constructTransport(D)}catch(_e){return _e}}_isITransport(t){return t&&"object"==typeof t&&"connect"in t}_stopConnection(t){if(this._logger.log(R.Debug,`HttpConnection.stopConnection(${t}) called while in state ${this._connectionState}.`),this.transport=void 0,t=this._stopError||t,this._stopError=void 0,"Disconnected"!==this._connectionState){if("Connecting"===this._connectionState)throw this._logger.log(R.Warning,`Call to HttpConnection.stopConnection(${t}) was ignored because the connection is still in the connecting state.`),new Error(`HttpConnection.stopConnection(${t}) was called while the connection is still in the connecting state.`);if("Disconnecting"===this._connectionState&&this._stopPromiseResolver(),t?this._logger.log(R.Error,`Connection disconnected with error '${t}'.`):this._logger.log(R.Information,"Connection disconnected."),this._sendQueue&&(this._sendQueue.stop().catch(n=>{this._logger.log(R.Error,`TransportSendQueue.stop() threw error '${n}'.`)}),this._sendQueue=void 0),this.connectionId=void 0,this._connectionState="Disconnected",this._connectionStarted){this._connectionStarted=!1;try{this.onclose&&this.onclose(t)}catch(n){this._logger.log(R.Error,`HttpConnection.onclose(${t}) threw error '${n}'.`)}}}else this._logger.log(R.Debug,`Call to HttpConnection.stopConnection(${t}) was ignored because the connection is already in the disconnected state.`)}_resolveUrl(t){if(0===t.lastIndexOf("https://",0)||0===t.lastIndexOf("http://",0))return t;if(!F.isBrowser)throw new Error(`Cannot resolve '${t}'.`);const n=window.document.createElement("a");return n.href=t,this._logger.log(R.Information,`Normalizing '${t}' to '${n.href}'.`),n.href}_resolveNegotiateUrl(t){const n=t.indexOf("?");let m=t.substring(0,-1===n?t.length:n);return"/"!==m[m.length-1]&&(m+="/"),m+="negotiate",m+=-1===n?"":t.substring(n),-1===m.indexOf("negotiateVersion")&&(m+=-1===n?"?":"&",m+="negotiateVersion="+this._negotiateVersion),m}}class ge{constructor(t){this._transport=t,this._buffer=[],this._executing=!0,this._sendBufferedData=new A,this._transportResult=new A,this._sendLoopPromise=this._sendLoop()}send(t){return this._bufferData(t),this._transportResult||(this._transportResult=new A),this._transportResult.promise}stop(){return this._executing=!1,this._sendBufferedData.resolve(),this._sendLoopPromise}_bufferData(t){if(this._buffer.length&&typeof this._buffer[0]!=typeof t)throw new Error(`Expected data to be of type ${typeof this._buffer} but was of type ${typeof t}`);this._buffer.push(t),this._sendBufferedData.resolve()}_sendLoop(){var t=this;return(0,H.Z)(function*(){for(;;){if(yield t._sendBufferedData.promise,!t._executing){t._transportResult&&t._transportResult.reject("Connection stopped.");break}t._sendBufferedData=new A;const n=t._transportResult;t._transportResult=void 0;const m="string"==typeof t._buffer[0]?t._buffer.join(""):ge._concatBuffers(t._buffer);t._buffer.length=0;try{yield t._transport.send(m),n.resolve()}catch(D){n.reject(D)}}})()}static _concatBuffers(t){const n=t.map(Q=>Q.byteLength).reduce((Q,_e)=>Q+_e),m=new Uint8Array(n);let D=0;for(const Q of t)m.set(new Uint8Array(Q),D),D+=Q.byteLength;return m.buffer}}class A{constructor(){this.promise=new Promise((t,n)=>[this._resolver,this._rejecter]=[t,n])}resolve(){this._resolver()}reject(t){this._rejecter(t)}}class Y{static write(t){return`${t}${Y.RecordSeparator}`}static parse(t){if(t[t.length-1]!==Y.RecordSeparator)throw new Error("Message is incomplete.");const n=t.split(Y.RecordSeparator);return n.pop(),n}}Y.RecordSeparatorCode=30,Y.RecordSeparator=String.fromCharCode(Y.RecordSeparatorCode);class xe{writeHandshakeRequest(t){return Y.write(JSON.stringify(t))}parseHandshakeResponse(t){let n,m;if(v(t)){const E=new Uint8Array(t),b=E.indexOf(Y.RecordSeparatorCode);if(-1===b)throw new Error("Message is incomplete.");const r=b+1;n=String.fromCharCode.apply(null,Array.prototype.slice.call(E.slice(0,r))),m=E.byteLength>r?E.slice(r).buffer:null}else{const E=t,b=E.indexOf(Y.RecordSeparator);if(-1===b)throw new Error("Message is incomplete.");const r=b+1;n=E.substring(0,r),m=E.length>r?E.substring(r):null}const D=Y.parse(n),Q=JSON.parse(D[0]);if(Q.type)throw new Error("Expected a handshake response from the server.");return[m,Q]}}var ke=(()=>{return(w=ke||(ke={}))[w.Invocation=1]="Invocation",w[w.StreamItem=2]="StreamItem",w[w.Completion=3]="Completion",w[w.StreamInvocation=4]="StreamInvocation",w[w.CancelInvocation=5]="CancelInvocation",w[w.Ping=6]="Ping",w[w.Close=7]="Close",ke;var w})();class He{constructor(){this.observers=[]}next(t){for(const n of this.observers)n.next(t)}error(t){for(const n of this.observers)n.error&&n.error(t)}complete(){for(const t of this.observers)t.complete&&t.complete()}subscribe(t){return this.observers.push(t),new De(this,t)}}var p=(()=>{return(w=p||(p={})).Disconnected="Disconnected",w.Connecting="Connecting",w.Connected="Connected",w.Disconnecting="Disconnecting",w.Reconnecting="Reconnecting",p;var w})();class I{constructor(t,n,m,D){this._nextKeepAlive=0,this._freezeEventListener=()=>{this._logger.log(R.Warning,"The page is being frozen, this will likely lead to the connection being closed and messages being lost. For more information see the docs at https://docs.microsoft.com/aspnet/core/signalr/javascript-client#bsleep")},le.isRequired(t,"connection"),le.isRequired(n,"logger"),le.isRequired(m,"protocol"),this.serverTimeoutInMilliseconds=3e4,this.keepAliveIntervalInMilliseconds=15e3,this._logger=n,this._protocol=m,this.connection=t,this._reconnectPolicy=D,this._handshakeProtocol=new xe,this.connection.onreceive=Q=>this._processIncomingData(Q),this.connection.onclose=Q=>this._connectionClosed(Q),this._callbacks={},this._methods={},this._closedCallbacks=[],this._reconnectingCallbacks=[],this._reconnectedCallbacks=[],this._invocationId=0,this._receivedHandshakeResponse=!1,this._connectionState=p.Disconnected,this._connectionStarted=!1,this._cachedPingMessage=this._protocol.writeMessage({type:ke.Ping})}static create(t,n,m,D){return new I(t,n,m,D)}get state(){return this._connectionState}get connectionId(){return this.connection&&this.connection.connectionId||null}get baseUrl(){return this.connection.baseUrl||""}set baseUrl(t){if(this._connectionState!==p.Disconnected&&this._connectionState!==p.Reconnecting)throw new Error("The HubConnection must be in the Disconnected or Reconnecting state to change the url.");if(!t)throw new Error("The HubConnection url must be a valid url.");this.connection.baseUrl=t}start(){return this._startPromise=this._startWithStateTransitions(),this._startPromise}_startWithStateTransitions(){var t=this;return(0,H.Z)(function*(){if(t._connectionState!==p.Disconnected)return Promise.reject(new Error("Cannot start a HubConnection that is not in the 'Disconnected' state."));t._connectionState=p.Connecting,t._logger.log(R.Debug,"Starting HubConnection.");try{yield t._startInternal(),F.isBrowser&&window.document.addEventListener("freeze",t._freezeEventListener),t._connectionState=p.Connected,t._connectionStarted=!0,t._logger.log(R.Debug,"HubConnection connected successfully.")}catch(n){return t._connectionState=p.Disconnected,t._logger.log(R.Debug,`HubConnection failed to start successfully because of error '${n}'.`),Promise.reject(n)}})()}_startInternal(){var t=this;return(0,H.Z)(function*(){t._stopDuringStartError=void 0,t._receivedHandshakeResponse=!1;const n=new Promise((m,D)=>{t._handshakeResolver=m,t._handshakeRejecter=D});yield t.connection.start(t._protocol.transferFormat);try{const m={protocol:t._protocol.name,version:t._protocol.version};if(t._logger.log(R.Debug,"Sending handshake request."),yield t._sendMessage(t._handshakeProtocol.writeHandshakeRequest(m)),t._logger.log(R.Information,`Using HubProtocol '${t._protocol.name}'.`),t._cleanupTimeout(),t._resetTimeoutPeriod(),t._resetKeepAliveInterval(),yield n,t._stopDuringStartError)throw t._stopDuringStartError;t.connection.features.inherentKeepAlive||(yield t._sendMessage(t._cachedPingMessage))}catch(m){throw t._logger.log(R.Debug,`Hub handshake failed with error '${m}' during start(). Stopping HubConnection.`),t._cleanupTimeout(),t._cleanupPingTimer(),yield t.connection.stop(m),m}})()}stop(){var t=this;return(0,H.Z)(function*(){const n=t._startPromise;t._stopPromise=t._stopInternal(),yield t._stopPromise;try{yield n}catch{}})()}_stopInternal(t){return this._connectionState===p.Disconnected?(this._logger.log(R.Debug,`Call to HubConnection.stop(${t}) ignored because it is already in the disconnected state.`),Promise.resolve()):this._connectionState===p.Disconnecting?(this._logger.log(R.Debug,`Call to HttpConnection.stop(${t}) ignored because the connection is already in the disconnecting state.`),this._stopPromise):(this._connectionState=p.Disconnecting,this._logger.log(R.Debug,"Stopping HubConnection."),this._reconnectDelayHandle?(this._logger.log(R.Debug,"Connection stopped during reconnect delay. Done reconnecting."),clearTimeout(this._reconnectDelayHandle),this._reconnectDelayHandle=void 0,this._completeClose(),Promise.resolve()):(this._cleanupTimeout(),this._cleanupPingTimer(),this._stopDuringStartError=t||new ce("The connection was stopped before the hub handshake could complete."),this.connection.stop(t)))}stream(t,...n){const[m,D]=this._replaceStreamingParams(n),Q=this._createStreamInvocation(t,n,D);let _e;const E=new He;return E.cancelCallback=()=>{const b=this._createCancelInvocation(Q.invocationId);return delete this._callbacks[Q.invocationId],_e.then(()=>this._sendWithProtocol(b))},this._callbacks[Q.invocationId]=(b,r)=>{r?E.error(r):b&&(b.type===ke.Completion?b.error?E.error(new Error(b.error)):E.complete():E.next(b.item))},_e=this._sendWithProtocol(Q).catch(b=>{E.error(b),delete this._callbacks[Q.invocationId]}),this._launchStreams(m,_e),E}_sendMessage(t){return this._resetKeepAliveInterval(),this.connection.send(t)}_sendWithProtocol(t){return this._sendMessage(this._protocol.writeMessage(t))}send(t,...n){const[m,D]=this._replaceStreamingParams(n),Q=this._sendWithProtocol(this._createInvocation(t,n,!0,D));return this._launchStreams(m,Q),Q}invoke(t,...n){const[m,D]=this._replaceStreamingParams(n),Q=this._createInvocation(t,n,!1,D);return new Promise((E,b)=>{this._callbacks[Q.invocationId]=(g,h)=>{h?b(h):g&&(g.type===ke.Completion?g.error?b(new Error(g.error)):E(g.result):b(new Error(`Unexpected message type: ${g.type}`)))};const r=this._sendWithProtocol(Q).catch(g=>{b(g),delete this._callbacks[Q.invocationId]});this._launchStreams(m,r)})}on(t,n){!t||!n||(t=t.toLowerCase(),this._methods[t]||(this._methods[t]=[]),-1===this._methods[t].indexOf(n)&&this._methods[t].push(n))}off(t,n){if(!t)return;t=t.toLowerCase();const m=this._methods[t];if(m)if(n){const D=m.indexOf(n);-1!==D&&(m.splice(D,1),0===m.length&&delete this._methods[t])}else delete this._methods[t]}onclose(t){t&&this._closedCallbacks.push(t)}onreconnecting(t){t&&this._reconnectingCallbacks.push(t)}onreconnected(t){t&&this._reconnectedCallbacks.push(t)}_processIncomingData(t){if(this._cleanupTimeout(),this._receivedHandshakeResponse||(t=this._processHandshakeResponse(t),this._receivedHandshakeResponse=!0),t){const n=this._protocol.parseMessages(t,this._logger);for(const m of n)switch(m.type){case ke.Invocation:this._invokeClientMethod(m);break;case ke.StreamItem:case ke.Completion:{const D=this._callbacks[m.invocationId];if(D){m.type===ke.Completion&&delete this._callbacks[m.invocationId];try{D(m)}catch(Q){this._logger.log(R.Error,`Stream callback threw error: ${Pe(Q)}`)}}break}case ke.Ping:break;case ke.Close:{this._logger.log(R.Information,"Close message received from server.");const D=m.error?new Error("Server returned an error on close: "+m.error):void 0;!0===m.allowReconnect?this.connection.stop(D):this._stopPromise=this._stopInternal(D);break}default:this._logger.log(R.Warning,`Invalid message type: ${m.type}.`)}}this._resetTimeoutPeriod()}_processHandshakeResponse(t){let n,m;try{[m,n]=this._handshakeProtocol.parseHandshakeResponse(t)}catch(D){const Q="Error parsing handshake response: "+D;this._logger.log(R.Error,Q);const _e=new Error(Q);throw this._handshakeRejecter(_e),_e}if(n.error){const D="Server returned handshake error: "+n.error;this._logger.log(R.Error,D);const Q=new Error(D);throw this._handshakeRejecter(Q),Q}return this._logger.log(R.Debug,"Server handshake complete."),this._handshakeResolver(),m}_resetKeepAliveInterval(){this.connection.features.inherentKeepAlive||(this._nextKeepAlive=(new Date).getTime()+this.keepAliveIntervalInMilliseconds,this._cleanupPingTimer())}_resetTimeoutPeriod(){var t=this;if(!(this.connection.features&&this.connection.features.inherentKeepAlive||(this._timeoutHandle=setTimeout(()=>this.serverTimeout(),this.serverTimeoutInMilliseconds),void 0!==this._pingServerHandle))){let n=this._nextKeepAlive-(new Date).getTime();n<0&&(n=0),this._pingServerHandle=setTimeout((0,H.Z)(function*(){if(t._connectionState===p.Connected)try{yield t._sendMessage(t._cachedPingMessage)}catch{t._cleanupPingTimer()}}),n)}}serverTimeout(){this.connection.stop(new Error("Server timeout elapsed without receiving a message from the server."))}_invokeClientMethod(t){var n=this;return(0,H.Z)(function*(){const m=t.target.toLowerCase(),D=n._methods[m];if(!D)return n._logger.log(R.Warning,`No client method with the name '${m}' found.`),void(t.invocationId&&(n._logger.log(R.Warning,`No result given for '${m}' method and invocation ID '${t.invocationId}'.`),yield n._sendWithProtocol(n._createCompletionMessage(t.invocationId,"Client didn't provide a result.",null))));const Q=D.slice(),_e=!!t.invocationId;let E,b,r;for(const g of Q)try{const h=E;E=yield g.apply(n,t.arguments),_e&&E&&h&&(n._logger.log(R.Error,`Multiple results provided for '${m}'. Sending error to server.`),r=n._createCompletionMessage(t.invocationId,"Client provided multiple results.",null)),b=void 0}catch(h){b=h,n._logger.log(R.Error,`A callback for the method '${m}' threw error '${h}'.`)}r?yield n._sendWithProtocol(r):_e?(b?r=n._createCompletionMessage(t.invocationId,`${b}`,null):void 0!==E?r=n._createCompletionMessage(t.invocationId,null,E):(n._logger.log(R.Warning,`No result given for '${m}' method and invocation ID '${t.invocationId}'.`),r=n._createCompletionMessage(t.invocationId,"Client didn't provide a result.",null)),yield n._sendWithProtocol(r)):E&&n._logger.log(R.Error,`Result given for '${m}' method but server is not expecting a result.`)})()}_connectionClosed(t){this._logger.log(R.Debug,`HubConnection.connectionClosed(${t}) called while in state ${this._connectionState}.`),this._stopDuringStartError=this._stopDuringStartError||t||new ce("The underlying connection was closed before the hub handshake could complete."),this._handshakeResolver&&this._handshakeResolver(),this._cancelCallbacksWithError(t||new Error("Invocation canceled due to the underlying connection being closed.")),this._cleanupTimeout(),this._cleanupPingTimer(),this._connectionState===p.Disconnecting?this._completeClose(t):this._connectionState===p.Connected&&this._reconnectPolicy?this._reconnect(t):this._connectionState===p.Connected&&this._completeClose(t)}_completeClose(t){if(this._connectionStarted){this._connectionState=p.Disconnected,this._connectionStarted=!1,F.isBrowser&&window.document.removeEventListener("freeze",this._freezeEventListener);try{this._closedCallbacks.forEach(n=>n.apply(this,[t]))}catch(n){this._logger.log(R.Error,`An onclose callback called with error '${t}' threw error '${n}'.`)}}}_reconnect(t){var n=this;return(0,H.Z)(function*(){const m=Date.now();let D=0,Q=void 0!==t?t:new Error("Attempting to reconnect due to a unknown error."),_e=n._getNextRetryDelay(D++,0,Q);if(null===_e)return n._logger.log(R.Debug,"Connection not reconnecting because the IRetryPolicy returned null on the first reconnect attempt."),void n._completeClose(t);if(n._connectionState=p.Reconnecting,n._logger.log(R.Information,t?`Connection reconnecting because of error '${t}'.`:"Connection reconnecting."),0!==n._reconnectingCallbacks.length){try{n._reconnectingCallbacks.forEach(E=>E.apply(n,[t]))}catch(E){n._logger.log(R.Error,`An onreconnecting callback called with error '${t}' threw error '${E}'.`)}if(n._connectionState!==p.Reconnecting)return void n._logger.log(R.Debug,"Connection left the reconnecting state in onreconnecting callback. Done reconnecting.")}for(;null!==_e;){if(n._logger.log(R.Information,`Reconnect attempt number ${D} will start in ${_e} ms.`),yield new Promise(E=>{n._reconnectDelayHandle=setTimeout(E,_e)}),n._reconnectDelayHandle=void 0,n._connectionState!==p.Reconnecting)return void n._logger.log(R.Debug,"Connection left the reconnecting state during reconnect delay. Done reconnecting.");try{if(yield n._startInternal(),n._connectionState=p.Connected,n._logger.log(R.Information,"HubConnection reconnected successfully."),0!==n._reconnectedCallbacks.length)try{n._reconnectedCallbacks.forEach(E=>E.apply(n,[n.connection.connectionId]))}catch(E){n._logger.log(R.Error,`An onreconnected callback called with connectionId '${n.connection.connectionId}; threw error '${E}'.`)}return}catch(E){if(n._logger.log(R.Information,`Reconnect attempt failed because of error '${E}'.`),n._connectionState!==p.Reconnecting)return n._logger.log(R.Debug,`Connection moved to the '${n._connectionState}' from the reconnecting state during reconnect attempt. Done reconnecting.`),void(n._connectionState===p.Disconnecting&&n._completeClose());Q=E instanceof Error?E:new Error(E.toString()),_e=n._getNextRetryDelay(D++,Date.now()-m,Q)}}n._logger.log(R.Information,`Reconnect retries have been exhausted after ${Date.now()-m} ms and ${D} failed attempts. Connection disconnecting.`),n._completeClose()})()}_getNextRetryDelay(t,n,m){try{return this._reconnectPolicy.nextRetryDelayInMilliseconds({elapsedMilliseconds:n,previousRetryCount:t,retryReason:m})}catch(D){return this._logger.log(R.Error,`IRetryPolicy.nextRetryDelayInMilliseconds(${t}, ${n}) threw error '${D}'.`),null}}_cancelCallbacksWithError(t){const n=this._callbacks;this._callbacks={},Object.keys(n).forEach(m=>{const D=n[m];try{D(null,t)}catch(Q){this._logger.log(R.Error,`Stream 'error' callback called with '${t}' threw error: ${Pe(Q)}`)}})}_cleanupPingTimer(){this._pingServerHandle&&(clearTimeout(this._pingServerHandle),this._pingServerHandle=void 0)}_cleanupTimeout(){this._timeoutHandle&&clearTimeout(this._timeoutHandle)}_createInvocation(t,n,m,D){if(m)return 0!==D.length?{arguments:n,streamIds:D,target:t,type:ke.Invocation}:{arguments:n,target:t,type:ke.Invocation};{const Q=this._invocationId;return this._invocationId++,0!==D.length?{arguments:n,invocationId:Q.toString(),streamIds:D,target:t,type:ke.Invocation}:{arguments:n,invocationId:Q.toString(),target:t,type:ke.Invocation}}}_launchStreams(t,n){if(0!==t.length){n||(n=Promise.resolve());for(const m in t)t[m].subscribe({complete:()=>{n=n.then(()=>this._sendWithProtocol(this._createCompletionMessage(m)))},error:D=>{let Q;Q=D instanceof Error?D.message:D&&D.toString?D.toString():"Unknown error",n=n.then(()=>this._sendWithProtocol(this._createCompletionMessage(m,Q)))},next:D=>{n=n.then(()=>this._sendWithProtocol(this._createStreamItemMessage(m,D)))}})}}_replaceStreamingParams(t){const n=[],m=[];for(let D=0;D<t.length;D++){const Q=t[D];if(this._isObservable(Q)){const _e=this._invocationId;this._invocationId++,n[_e]=Q,m.push(_e.toString()),t.splice(D,1)}}return[n,m]}_isObservable(t){return t&&t.subscribe&&"function"==typeof t.subscribe}_createStreamInvocation(t,n,m){const D=this._invocationId;return this._invocationId++,0!==m.length?{arguments:n,invocationId:D.toString(),streamIds:m,target:t,type:ke.StreamInvocation}:{arguments:n,invocationId:D.toString(),target:t,type:ke.StreamInvocation}}_createCancelInvocation(t){return{invocationId:t,type:ke.CancelInvocation}}_createStreamItemMessage(t,n){return{invocationId:t,item:n,type:ke.StreamItem}}_createCompletionMessage(t,n,m){return n?{error:n,invocationId:t,type:ke.Completion}:{invocationId:t,result:m,type:ke.Completion}}}class oe{constructor(){this.name="json",this.version=1,this.transferFormat=C.Text}parseMessages(t,n){if("string"!=typeof t)throw new Error("Invalid input for JSON hub protocol. Expected a string.");if(!t)return[];null===n&&(n=ye.instance);const m=Y.parse(t),D=[];for(const Q of m){const _e=JSON.parse(Q);if("number"!=typeof _e.type)throw new Error("Invalid payload.");switch(_e.type){case ke.Invocation:this._isInvocationMessage(_e);break;case ke.StreamItem:this._isStreamItemMessage(_e);break;case ke.Completion:this._isCompletionMessage(_e);break;case ke.Ping:case ke.Close:break;default:n.log(R.Information,"Unknown message type '"+_e.type+"' ignored.");continue}D.push(_e)}return D}writeMessage(t){return Y.write(JSON.stringify(t))}_isInvocationMessage(t){this._assertNotEmptyString(t.target,"Invalid payload for Invocation message."),void 0!==t.invocationId&&this._assertNotEmptyString(t.invocationId,"Invalid payload for Invocation message.")}_isStreamItemMessage(t){if(this._assertNotEmptyString(t.invocationId,"Invalid payload for StreamItem message."),void 0===t.item)throw new Error("Invalid payload for StreamItem message.")}_isCompletionMessage(t){if(t.result&&t.error)throw new Error("Invalid payload for Completion message.");!t.result&&t.error&&this._assertNotEmptyString(t.error,"Invalid payload for Completion message."),this._assertNotEmptyString(t.invocationId,"Invalid payload for Completion message.")}_assertNotEmptyString(t,n){if("string"!=typeof t||""===t)throw new Error(n)}}const ue={trace:R.Trace,debug:R.Debug,info:R.Information,information:R.Information,warn:R.Warning,warning:R.Warning,error:R.Error,critical:R.Critical,none:R.None};class V{configureLogging(t){if(le.isRequired(t,"logging"),function q(w){return void 0!==w.log}(t))this.logger=t;else if("string"==typeof t){const n=function Se(w){const t=ue[w.toLowerCase()];if(typeof t<"u")return t;throw new Error(`Unknown log level: ${w}`)}(t);this.logger=new Me(n)}else this.logger=new Me(t);return this}withUrl(t,n){return le.isRequired(t,"url"),le.isNotEmpty(t,"url"),this.url=t,this.httpConnectionOptions="object"==typeof n?{...this.httpConnectionOptions,...n}:{...this.httpConnectionOptions,transport:n},this}withHubProtocol(t){return le.isRequired(t,"protocol"),this.protocol=t,this}withAutomaticReconnect(t){if(this.reconnectPolicy)throw new Error("A reconnectPolicy has already been set.");return this.reconnectPolicy=t?Array.isArray(t)?new o(t):t:new o,this}build(){const t=this.httpConnectionOptions||{};if(void 0===t.logger&&(t.logger=this.logger),!this.url)throw new Error("The 'HubConnectionBuilder.withUrl' method must be called before building the connection.");const n=new Z(this.url,t);return I.create(n,this.logger||ye.instance,this.protocol||new oe,this.reconnectPolicy)}}var c=s(4650),S=s(8002),y=s(7185);class L{constructor(t,n){this.decodeTokenService=t,this.toastr=n,this.initNotifications(),this.parseToken=this.decodeTokenService.getParseToken(),this.buildConnection()}initNotifications(){let t=JSON.parse(localStorage.getItem("Notifications"));this._notifications=new e.X(t||[])}setNotification(t){const m=[...this._notifications.value,t];this.saveNotificationTotal(m),this._notifications.next(m)}saveNotificationTotal(t=[]){localStorage.setItem("Notifications",JSON.stringify(t))}getNotification(){return this._notifications.asObservable()}buildConnection(){this.hubConnection=(new V).withUrl("/MarketplaceHub").withAutomaticReconnect().configureLogging(R.Information).build(),this.startConnection(),this.onConnectionClose(),this.subscribeNotification()}connectToRegister(){this.hubConnection.invoke("SubscribeGroup",this.parseToken.POSAccountID)}startConnection(){this.hubConnection.start().then(()=>{this.connectToRegister()}).catch(t=>console.log("Error while starting connection: "+t))}onConnectionClose(){this.hubConnection.onclose(()=>{this.buildConnection()})}subscribeNotification(){this.hubConnection.on("Notification",t=>{let n=JSON.parse(t);this.setNotification(n),n.ID==this.parseToken.POSAccountID&&(200!=n.StatusCode?this.toastr.error(n.Message,n.Title,{enableHtml:!0}):this.toastr.success(n.Message,n.Title,{enableHtml:!0}))})}clearNotification(){localStorage.removeItem("Notifications"),this._notifications.next([])}}L.\u0275fac=function(t){return new(t||L)(c.LFG(S.e),c.LFG(y._W))},L.\u0275prov=c.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"})},1589:(ze,Ee,s)=>{s.d(Ee,{g:()=>o});var e=s(1135),i=s(4650);class o{constructor(){this._toggleState=new e.X(!1),this.toggleState$=this._toggleState.asObservable()}toggleSidebar(){this._toggleState.next(!this._toggleState.value)}}o.\u0275fac=function(K){return new(K||o)},o.\u0275prov=i.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"})},494:(ze,Ee,s)=>{s.d(Ee,{n:()=>e});var e=(()=>{return(i=e||(e={})).Success="Success",i.Info="Info",i.Warning="Warning",i.Error="Error",e;var i})()},6779:(ze,Ee,s)=>{s.d(Ee,{O:()=>i});var e=s(494);class i{constructor(){this.title="New Modal",this.titleExtra="",this.okText="OK",this.cancelText="CANCEL",this.hideFooter=!1,this.hideCancel=!1,this.hideOk=!1,this.hideClose=!1,this.eMoney=!1,this.headerType=e.n.Success,this.validated=!0,this.customWidth="initial",this.bodyScrollable=!1,this.hideScrollbar=!1,this.disableKeyup=!1,this.showMoreButton=!1,this.noPadding=!1}}},6401:(ze,Ee,s)=>{s.d(Ee,{M:()=>ye});var e=s(4650),i=s(6895),o=s(6779),H=s(494),K=s(5412);function de(be,le){if(1&be){const F=e.EpF();e.TgZ(0,"div",9),e.NdJ("click",function(){e.CHM(F);const u=e.oxw();return e.KtG(u.onBack.emit())}),e.TgZ(1,"a",10),e._UZ(2,"i",11),e.qZA()()}}function ve(be,le){if(1&be){const F=e.EpF();e.TgZ(0,"div",12)(1,"a",13),e.NdJ("click",function(){e.CHM(F);const u=e.oxw();return e.KtG(u.onCancel.emit())}),e._UZ(2,"i",14),e.qZA()()}}function he(be,le){1&be&&e.Hsn(0,2,["*ngIf","more"])}function _(be,le){if(1&be){const F=e.EpF();e.TgZ(0,"a",19),e.NdJ("click",function(){e.CHM(F);const u=e.oxw(2);return e.KtG(u.more=!u.more)}),e._uU(1,"More"),e.qZA()}}function re(be,le){if(1&be){const F=e.EpF();e.TgZ(0,"button",20),e.NdJ("click",function(){e.CHM(F);const u=e.oxw(2);return e.KtG(u.onCancel.emit())}),e._uU(1),e.qZA()}if(2&be){const F=e.oxw(2);e.xp6(1),e.hij(" ",F.config.cancelText?F.config.cancelText:"CANCEL","")}}function ce(be,le){if(1&be){const F=e.EpF();e.TgZ(0,"button",21),e.NdJ("click",function(){e.CHM(F);const u=e.oxw(2);return e.KtG(u.onOk.emit())})("keyup.F2",function(){e.CHM(F);const u=e.oxw(2);return e.KtG(u.onOk.emit())}),e.qZA()}if(2&be){const F=e.oxw(2);e.Q6J("disabled",!F.config.validated||!F.dynamicValidated)("innerHTML",F.config.okText?F.config.okText:"OK",e.oJD)}}function te(be,le){if(1&be&&(e.TgZ(0,"mat-dialog-actions",15),e.YNc(1,_,2,0,"a",16),e.Hsn(2,3),e.YNc(3,re,2,1,"button",17),e.YNc(4,ce,1,2,"button",18),e.qZA()),2&be){const F=e.oxw();e.xp6(1),e.Q6J("ngIf",F.config.showMoreButton),e.xp6(2),e.Q6J("ngIf",!F.config.hideCancel),e.xp6(1),e.Q6J("ngIf",!F.config.hideOk)}}const U=[[["","header",""]],[["","content",""]],[["","more-content",""]],[["","footer",""]]],W=function(be,le){return{bodyScrollable:be,hideScrollbar:le}},me=function(be){return{"mx-auto":be}},fe=function(be,le){return{"show-footer":be,"p-0":le}};class ye{constructor(){this.dynamicValidated=!0,this.onOk=new e.vpe,this.onCancel=new e.vpe,this.onClose=new e.vpe,this.onBack=new e.vpe,this.term="",this.more=!1}ngOnInit(){switch(null==this.config&&(this.config=new o.O),this.config.headerType){case H.n.Success:this.background="bg-success";break;case H.n.Warning:case H.n.Info:this.background="bg-warning";break;case H.n.Error:this.background="bg-danger";break;default:this.background=""}}onKeyup(le){this.config.disableKeyup||("F2"==le.code&&this.onOk.emit("F2"),("Enter"==le.code||"NumpadEnter"==le.code)&&this.onOk.emit("Enter"))}}ye.\u0275fac=function(le){return new(le||ye)},ye.\u0275cmp=e.Xpm({type:ye,selectors:[["modal-material"]],inputs:{config:"config",dynamicValidated:"dynamicValidated"},outputs:{onOk:"onOk",onCancel:"onCancel",onClose:"onClose",onBack:"onBack"},standalone:!0,features:[e.jDz],ngContentSelectors:["[header]","[content]","[more-content]","[footer]"],decls:12,vars:21,consts:[[1,"modal-material","d-flex","align-items-start","flex-column","position-relative","maxHeight",3,"ngClass","keyup"],["mat-dialog-title",""],["class","back-button position-absolute pointer d-print-none",3,"click",4,"ngIf"],[1,"d-flex","flex-row","d-print-none",3,"ngClass"],[1,"fw-normal","text-white"],["class","ps-3",4,"ngIf"],[1,"modal-body","w-100",3,"ngClass"],[4,"ngIf"],["class","w-100 mt-10 py-7 border-top d-flex justify-content-end d-print-none",4,"ngIf"],[1,"back-button","position-absolute","pointer","d-print-none",3,"click"],[1,"btn","back-button"],[1,"fa-solid","fa-arrow-left"],[1,"ps-3"],[1,"btn-light-blue","btn-sm","pointer","close",3,"click"],[1,"fas","fa-times","fa-md","text-primary"],[1,"w-100","mt-10","py-7","border-top","d-flex","justify-content-end","d-print-none"],["class","more clearfix",3,"click",4,"ngIf"],["class","btn btn-light-blue text-primary btn-lg fw-bold mx-3 py-8",3,"click",4,"ngIf"],["style","width: 70px;","class","btn btn-light-blue me-6 text-primary btn-lg fw-bold mx-3 py-8","data-cy","ConfirmOk",3,"disabled","innerHTML","click","keyup.F2",4,"ngIf"],[1,"more","clearfix",3,"click"],[1,"btn","btn-light-blue","text-primary","btn-lg","fw-bold","mx-3","py-8",3,"click"],["data-cy","ConfirmOk",1,"btn","btn-light-blue","me-6","text-primary","btn-lg","fw-bold","mx-3","py-8",2,"width","70px",3,"disabled","innerHTML","click","keyup.F2"]],template:function(le,F){1&le&&(e.F$t(U),e.TgZ(0,"div",0),e.NdJ("keyup",function(u){return F.onKeyup(u)}),e.TgZ(1,"div",1),e.YNc(2,de,3,0,"div",2),e.TgZ(3,"div",3)(4,"h3",4),e._uU(5),e.qZA(),e.Hsn(6),e.qZA(),e.YNc(7,ve,3,0,"div",5),e.qZA(),e.TgZ(8,"mat-dialog-content",6),e.Hsn(9,1),e.YNc(10,he,1,0,"ng-content",7),e.qZA(),e.YNc(11,te,5,3,"mat-dialog-actions",8),e.qZA()),2&le&&(e.Udp("width",F.config.customWidth),e.Q6J("ngClass",e.WLB(13,W,F.config.bodyScrollable,F.config.hideScrollbar)),e.xp6(1),e.Gre("d-flex w-100 justify-content-between modal-header position-relative ",F.background,""),e.xp6(1),e.Q6J("ngIf",F.config.eMoney),e.xp6(1),e.Q6J("ngClass",e.VKq(16,me,F.config.eMoney)),e.xp6(2),e.Oqu(F.config.title),e.xp6(2),e.Q6J("ngIf",!F.config.hideClose),e.xp6(1),e.Q6J("ngClass",e.WLB(18,fe,!F.config.hideFooter,F.config.noPadding)),e.xp6(2),e.Q6J("ngIf",F.more),e.xp6(1),e.Q6J("ngIf",!F.config.hideFooter))},dependencies:[i.ez,i.mk,i.O5,K.Is,K.uh,K.xY,K.H8],styles:[".mat-dialog-container{padding:0!important;border-radius:4px!important;overflow:visible!important} .mat-dialog-container [mat-dialog-title]{color:#fff;padding:15px;border:none}@media print{ .mat-dialog-container{box-shadow:unset;width:100vw}}@media print{ .cdk-overlay-pane{position:absolute!important;top:-30px;max-width:100vw!important}.modal-body[_ngcontent-%COMP%]{width:100vw!important}}.maxHeight[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{max-height:100%!important}.maxHeight.bodyScrollable[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{max-height:450px!important;overflow-y:auto}body.modal-body[_ngcontent-%COMP%]{height:100%;overflow-y:hidden}mat-dialog-actions[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:15px!important;margin-right:12px}mat-dialog-actions[_ngcontent-%COMP%] .more[_ngcontent-%COMP%]{margin-right:auto;margin-top:-1rem;padding-top:.4rem!important;margin-left:1rem}.back-button[_ngcontent-%COMP%]{top:5px;left:0}.close[_ngcontent-%COMP%]{padding:.4rem .5rem}.no-padding[_ngcontent-%COMP%]{padding:0}.modal-material[_ngcontent-%COMP%]{width:40vw}@media (max-width: 992px){.modal-material[_ngcontent-%COMP%]{width:50vw!important}}.modal-header[_ngcontent-%COMP%], .modal-footer[_ngcontent-%COMP%], .modal-footer[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{padding:15px}.modal-dialog[_ngcontent-%COMP%]{max-width:none}.modal-content[_ngcontent-%COMP%]{width:auto;margin:auto;max-width:850px}.maxHeight[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{max-height:400px;overflow:auto}.modal-body[_ngcontent-%COMP%]{padding:1rem}.modal-body[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{display:block}.modal-body[_ngcontent-%COMP%] .more[_ngcontent-%COMP%]{margin:0;position:absolute;bottom:-20px}.modal-body[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%], .modal-body[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%], .modal-body[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%]{border:1px solid #c8d3df;padding:5px 7px}.modal-body[_ngcontent-%COMP%] table[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:330px;height:90px}"]})},7963:(ze,Ee,s)=>{s.d(Ee,{h:()=>b});var e=s(6895),i=s(4650),o=s(4006),H=s(9549),K=s(4385),de=s(2722),ve=s(8372),he=s(8505),_=s(7579),re=s(4968);let te=(()=>{class r{constructor(h,G){this.matSelect=h,this.ngZone=G,this.threshold="15%",this.debounceTime=150,this.infiniteScroll=new i.vpe,this.thrPx=0,this.thrPc=0,this.singleOptionHeight=3,this.destroyed$=new _.x}ngOnInit(){this.evaluateThreshold()}ngAfterViewInit(){this.matSelect.openedChange.pipe((0,de.R)(this.destroyed$)).subscribe(h=>{h&&(this.panel=this.matSelect.panel.nativeElement,this.singleOptionHeight=this.getSelectItemHeightPx(),this.registerScrollListener())})}ngOnDestroy(){this.destroyed$.next(!0),this.destroyed$.complete()}evaluateThreshold(){this.threshold.lastIndexOf("%")>-1?(this.thrPx=0,this.thrPc=parseFloat(this.threshold)/100):(this.thrPx=parseFloat(this.threshold),this.thrPc=0)}registerScrollListener(){(0,re.R)(this.panel,"scroll").pipe((0,de.R)(this.destroyed$),(0,ve.b)(this.debounceTime),(0,he.b)(h=>{this.handleScrollEvent(h)})).subscribe()}handleScrollEvent(h){this.ngZone.runOutsideAngular(()=>{if(this.complete)return;const Ce=this.singleOptionHeight*this.matSelect.options.length;this.panel.clientHeight+h.target.scrollTop+(0!==this.thrPc?Ce*this.thrPc:this.thrPx)>=Ce&&this.ngZone.run(()=>this.infiniteScroll.emit())})}getSelectItemHeightPx(){return 3*parseFloat(getComputedStyle(this.panel).fontSize)}}return r.\u0275fac=function(h){return new(h||r)(i.Y36(K.gD),i.Y36(i.R0b))},r.\u0275dir=i.lG2({type:r,selectors:[["","msInfiniteScroll",""]],inputs:{threshold:"threshold",debounceTime:"debounceTime",complete:"complete"},outputs:{infiniteScroll:"infiniteScroll"}}),r})(),U=(()=>{class r{}return r.\u0275fac=function(h){return new(h||r)},r.\u0275mod=i.oAB({type:r}),r.\u0275inj=i.cJS({imports:[K.LD]}),r})();var W=s(9521),me=s(3238),fe=s(1135),R=s(9646),ye=s(9841),be=s(3900),le=s(4004),F=s(8675),ie=s(4986),u=s(7272),v=s(5698),M=s(4482),$=s(5403),pe=s(5032),Me=s(9718),Te=s(5577);function Ae(r,g){return g?h=>(0,u.z)(g.pipe((0,v.q)(1),function De(){return(0,M.e)((r,g)=>{r.subscribe((0,$.x)(g,pe.Z))})}()),h.pipe(Ae(r))):(0,Te.z)((h,G)=>r(h,G).pipe((0,v.q)(1),(0,Me.h)(h)))}var Ie=s(2805),Le=s(9300),Pe=s(7376),Fe=s(9101),we=s(6709),ae=s(7392),B=s(1281);const x=["determinateSpinner"];function a(r,g){if(1&r&&(i.O4$(),i.TgZ(0,"svg",11),i._UZ(1,"circle",12),i.qZA()),2&r){const h=i.oxw();i.uIk("viewBox",h._viewBox()),i.xp6(1),i.Udp("stroke-dasharray",h._strokeCircumference(),"px")("stroke-dashoffset",h._strokeCircumference()/2,"px")("stroke-width",h._circleStrokeWidth(),"%"),i.uIk("r",h._circleRadius())}}const C=(0,me.pj)(class{constructor(r){this._elementRef=r}},"primary"),f=new i.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function k(){return{diameter:X}}}),X=100;let J=(()=>{class r extends C{constructor(h,G,Ce){super(h),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=X,this._noopAnimations="NoopAnimations"===G&&!!Ce&&!Ce._forceAnimations,Ce&&(Ce.color&&(this.color=this.defaultColor=Ce.color),Ce.diameter&&(this.diameter=Ce.diameter),Ce.strokeWidth&&(this.strokeWidth=Ce.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(h){this._value=Math.max(0,Math.min(100,(0,B.su)(h)))}get diameter(){return this._diameter}set diameter(h){this._diameter=(0,B.su)(h)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(h){this._strokeWidth=(0,B.su)(h)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const h=2*this._circleRadius()+this.strokeWidth;return`0 0 ${h} ${h}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}}return r.\u0275fac=function(h){return new(h||r)(i.Y36(i.SBq),i.Y36(i.QbO,8),i.Y36(f))},r.\u0275cmp=i.Xpm({type:r,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(h,G){if(1&h&&i.Gf(x,5),2&h){let Ce;i.iGM(Ce=i.CRH())&&(G._determinateCircle=Ce.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:12,hostBindings:function(h,G){2&h&&(i.uIk("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===G.mode?G.value:null)("mode",G.mode),i.Udp("width",G.diameter,"px")("height",G.diameter,"px"),i.ekj("_mat-animation-noopable",G._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===G.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[i.qOj],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(h,G){if(1&h&&(i.YNc(0,a,2,8,"ng-template",null,0,i.W1O),i.TgZ(2,"div",1,2),i.O4$(),i.TgZ(4,"svg",3),i._UZ(5,"circle",4),i.qZA()(),i.kcU(),i.TgZ(6,"div",5)(7,"div",6)(8,"div",7),i.GkF(9,8),i.qZA(),i.TgZ(10,"div",9),i.GkF(11,8),i.qZA(),i.TgZ(12,"div",10),i.GkF(13,8),i.qZA()()()),2&h){const Ce=i.MAs(1);i.xp6(4),i.uIk("viewBox",G._viewBox()),i.xp6(1),i.Udp("stroke-dasharray",G._strokeCircumference(),"px")("stroke-dashoffset",G._strokeDashOffset(),"px")("stroke-width",G._circleStrokeWidth(),"%"),i.uIk("r",G._circleRadius()),i.xp6(4),i.Q6J("ngTemplateOutlet",Ce),i.xp6(2),i.Q6J("ngTemplateOutlet",Ce),i.xp6(2),i.Q6J("ngTemplateOutlet",Ce)}},dependencies:[e.tP],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, transparent)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0}),r})(),ne=(()=>{class r{}return r.\u0275fac=function(h){return new(h||r)},r.\u0275mod=i.oAB({type:r}),r.\u0275inj=i.cJS({imports:[e.ez,me.BQ]}),r})();var ge=s(266);let A=(()=>{class r{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(h){this._vertical=(0,B.Ig)(h)}get inset(){return this._inset}set inset(h){this._inset=(0,B.Ig)(h)}}return r.\u0275fac=function(h){return new(h||r)},r.\u0275cmp=i.Xpm({type:r,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(h,G){2&h&&(i.uIk("aria-orientation",G.vertical?"vertical":"horizontal"),i.ekj("mat-divider-vertical",G.vertical)("mat-divider-horizontal",!G.vertical)("mat-divider-inset",G.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(h,G){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0}),r})(),Y=(()=>{class r{}return r.\u0275fac=function(h){return new(h||r)},r.\u0275mod=i.oAB({type:r}),r.\u0275inj=i.cJS({imports:[me.BQ,me.BQ]}),r})();const xe=["searchSelectInput"],ke=["innerSelectSearch"];function He(r,g){if(1&r){const h=i.EpF();i.TgZ(0,"mat-checkbox",9),i.NdJ("change",function(Ce){i.CHM(h);const Be=i.oxw();return i.KtG(Be._emitSelectAllBooleanToParent(Ce.checked))}),i.qZA()}if(2&r){const h=i.oxw();i.Q6J("color",null==h.matFormField?null:h.matFormField.color)("checked",h.toggleAllCheckboxChecked)("indeterminate",h.toggleAllCheckboxIndeterminate)("matTooltip",h.toggleAllCheckboxTooltipMessage)("matTooltipPosition",h.toggleAllCheckboxTooltipPosition)}}function ee(r,g){1&r&&i._UZ(0,"mat-spinner",10)}function l(r,g){1&r&&i.Hsn(0,1,["*ngIf","clearIcon; else defaultIcon"])}function p(r,g){if(1&r&&(i.TgZ(0,"mat-icon",14),i._uU(1),i.qZA()),2&r){const h=i.oxw(2);i.Q6J("svgIcon",h.closeSvgIcon),i.xp6(1),i.hij(" ",h.closeSvgIcon?null:h.closeIcon," ")}}function I(r,g){if(1&r){const h=i.EpF();i.TgZ(0,"button",11),i.NdJ("click",function(){i.CHM(h);const Ce=i.oxw();return i.KtG(Ce._reset(!0))}),i.YNc(1,l,1,0,"ng-content",12),i.YNc(2,p,2,2,"ng-template",null,13,i.W1O),i.qZA()}if(2&r){const h=i.MAs(3),G=i.oxw();i.xp6(1),i.Q6J("ngIf",G.clearIcon)("ngIfElse",h)}}function j(r,g){1&r&&i.Hsn(0,2,["*ngIf","noEntriesFound; else defaultNoEntriesFound"])}function oe(r,g){if(1&r&&i._uU(0),2&r){const h=i.oxw(2);i.Oqu(h.noEntriesFoundLabel)}}function ue(r,g){if(1&r&&(i.TgZ(0,"div",15),i.YNc(1,j,1,0,"ng-content",12),i.YNc(2,oe,1,1,"ng-template",null,16,i.W1O),i.qZA()),2&r){const h=i.MAs(3),G=i.oxw();i.xp6(1),i.Q6J("ngIf",G.noEntriesFound)("ngIfElse",h)}}const Se=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]],[["","ngxMatSelectNoEntriesFound",""]]],V=function(r,g){return{"mat-select-search-inner-multiple":r,"mat-select-search-inner-toggle-all":g}},q=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]","[ngxMatSelectNoEntriesFound]"];let c=(()=>{class r{}return r.\u0275fac=function(h){return new(h||r)},r.\u0275dir=i.lG2({type:r,selectors:[["","ngxMatSelectSearchClear",""]]}),r})();const S=["ariaLabel","clearSearchInput","closeIcon","closeSvgIcon","disableInitialFocus","disableScrollToActiveOnOptionsChanged","enableClearOnEscapePressed","hideClearSearchButton","noEntriesFoundLabel","placeholderLabel","preventHomeEndKeyPropagation","searching"],y=new i.OlP("mat-selectsearch-default-options");let L=(()=>{class r{}return r.\u0275fac=function(h){return new(h||r)},r.\u0275dir=i.lG2({type:r,selectors:[["","ngxMatSelectNoEntriesFound",""]]}),r})(),w=(()=>{class r{constructor(h,G,Ce,Be=null,Ve=null,Ye){this.matSelect=h,this.changeDetectorRef=G,this._viewportRuler=Ce,this.matOption=Be,this.matFormField=Ve,this.placeholderLabel="Suche",this.type="text",this.closeIcon="close",this.noEntriesFoundLabel="Keine Optionen gefunden",this.clearSearchInput=!0,this.searching=!1,this.disableInitialFocus=!1,this.enableClearOnEscapePressed=!1,this.preventHomeEndKeyPropagation=!1,this.disableScrollToActiveOnOptionsChanged=!1,this.ariaLabel="dropdown search",this.showToggleAllCheckbox=!1,this.toggleAllCheckboxChecked=!1,this.toggleAllCheckboxIndeterminate=!1,this.toggleAllCheckboxTooltipMessage="",this.toggleAllCheckboxTooltipPosition="below",this.hideClearSearchButton=!1,this.alwaysRestoreSelectedOptionsMulti=!1,this.toggleAll=new i.vpe,this.onTouched=Ne=>{},this._options$=new fe.X(null),this.optionsList$=this._options$.pipe((0,be.w)(Ne=>Ne?Ne.changes.pipe((0,le.U)(We=>We.toArray()),(0,F.O)(Ne.toArray())):(0,R.of)(null))),this.optionsLength$=this.optionsList$.pipe((0,le.U)(Ne=>Ne?Ne.length:0)),this._formControl=new o.NI(""),this._showNoEntriesFound$=(0,ye.a)([this._formControl.valueChanges,this.optionsLength$]).pipe((0,le.U)(([Ne,We])=>this.noEntriesFoundLabel&&Ne&&We===this.getOptionsLengthOffset())),this._onDestroy=new _.x,this.applyDefaultOptions(Ye)}get value(){return this._formControl.value}set _options(h){this._options$.next(h)}get _options(){return this._options$.getValue()}applyDefaultOptions(h){if(h)for(const G of S)h.hasOwnProperty(G)&&(this[G]=h[G])}ngOnInit(){this.matOption?(this.matOption.disabled=!0,this.matOption._getHostElement().classList.add("contains-mat-select-search"),this.matOption._getHostElement().setAttribute("aria-hidden","true")):console.error("<ngx-mat-select-search> must be placed inside a <mat-option> element"),this.matSelect.openedChange.pipe(function Re(r,g=ie.z){const h=(0,Ie.H)(r,g);return Ae(()=>h)}(1),(0,de.R)(this._onDestroy)).subscribe(h=>{h?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe((0,v.q)(1),(0,be.w)(h=>{this._options=this.matSelect.options;let G=this._options.toArray()[this.getOptionsLengthOffset()];return this._options.changes.pipe((0,he.b)(()=>{setTimeout(()=>{const Ce=this._options.toArray(),Be=Ce[this.getOptionsLengthOffset()],Ve=this.matSelect._keyManager;Ve&&this.matSelect.panelOpen&&((!this.matSelect.compareWith(G,Be)||!Ve.activeItem||!Ce.find(Ne=>this.matSelect.compareWith(Ne,Ve.activeItem)))&&Ve.setFirstItemActive(),setTimeout(()=>{this.updateInputWidth()})),G=Be})}))})).pipe((0,de.R)(this._onDestroy)).subscribe(),this._showNoEntriesFound$.pipe((0,de.R)(this._onDestroy)).subscribe(h=>{this.matOption&&(h?this.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):this.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"))}),this._viewportRuler.change().pipe((0,de.R)(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe((0,de.R)(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(h){this.toggleAll.emit(h)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(h){(h.key&&1===h.key.length||h.keyCode>=W.A&&h.keyCode<=W.Z||h.keyCode>=W.xE&&h.keyCode<=W.aO||h.keyCode===W.L_||this.preventHomeEndKeyPropagation&&(h.keyCode===W.Sd||h.keyCode===W.uR))&&h.stopPropagation(),this.matSelect.multiple&&h.key&&h.keyCode===W.K5&&setTimeout(()=>this._focus()),!0===this.enableClearOnEscapePressed&&h.keyCode===W.hY&&this.value&&(this._reset(!0),h.stopPropagation())}_handleKeyup(h){if(h.keyCode===W.LH||h.keyCode===W.JH){const G=this.matSelect._getAriaActiveDescendant(),Ce=this._options.toArray().findIndex(Be=>Be.id===G);-1!==Ce&&(this.unselectActiveDescendant(),this.activeDescendant=this._options.toArray()[Ce]._getHostElement(),this.activeDescendant.setAttribute("aria-selected","true"),this.searchSelectInput.nativeElement.setAttribute("aria-activedescendant",G))}}writeValue(h){this._lastExternalInputValue=h,this._formControl.setValue(h),this.changeDetectorRef.markForCheck()}onBlur(){this.unselectActiveDescendant(),this.onTouched()}registerOnChange(h){this._formControl.valueChanges.pipe((0,Le.h)(G=>G!==this._lastExternalInputValue),(0,he.b)(()=>this._lastExternalInputValue=void 0),(0,de.R)(this._onDestroy)).subscribe(h)}registerOnTouched(h){this.onTouched=h}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;const h=this.matSelect.panel.nativeElement,G=h.scrollTop;this.searchSelectInput.nativeElement.focus(),h.scrollTop=G}_reset(h){this._formControl.setValue(""),h&&this._focus()}initMultipleHandling(){this.matSelect.ngControl?(this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges.pipe((0,de.R)(this._onDestroy)).subscribe(h=>{let G=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!h||!Array.isArray(h))&&(h=[]);const Ce=this.matSelect.options.map(Be=>Be.value);this.previousSelectedValues.forEach(Be=>{!h.some(Ve=>this.matSelect.compareWith(Ve,Be))&&!Ce.some(Ve=>this.matSelect.compareWith(Ve,Be))&&(h.push(Be),G=!0)})}this.previousSelectedValues=h,G&&this.matSelect._onChange(h)})):this.matSelect.multiple&&console.error("the mat-select containing ngx-mat-select-search must have a ngModel or formControl directive when multiple=true")}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let G,h=this.innerSelectSearch.nativeElement;for(;h=h.parentElement;)if(h.classList.contains("mat-select-panel")){G=h;break}G&&(this.innerSelectSearch.nativeElement.style.width=G.clientWidth+"px")}getOptionsLengthOffset(){return this.matOption?1:0}unselectActiveDescendant(){this.activeDescendant?.removeAttribute("aria-selected"),this.searchSelectInput.nativeElement.removeAttribute("aria-activedescendant")}}return r.\u0275fac=function(h){return new(h||r)(i.Y36(K.gD),i.Y36(i.sBO),i.Y36(Pe.rL),i.Y36(me.ey,8),i.Y36(H.KE,8),i.Y36(y,8))},r.\u0275cmp=i.Xpm({type:r,selectors:[["ngx-mat-select-search"]],contentQueries:function(h,G,Ce){if(1&h&&(i.Suo(Ce,c,5),i.Suo(Ce,L,5)),2&h){let Be;i.iGM(Be=i.CRH())&&(G.clearIcon=Be.first),i.iGM(Be=i.CRH())&&(G.noEntriesFound=Be.first)}},viewQuery:function(h,G){if(1&h&&(i.Gf(xe,7,i.SBq),i.Gf(ke,7,i.SBq)),2&h){let Ce;i.iGM(Ce=i.CRH())&&(G.searchSelectInput=Ce.first),i.iGM(Ce=i.CRH())&&(G.innerSelectSearch=Ce.first)}},inputs:{placeholderLabel:"placeholderLabel",type:"type",closeIcon:"closeIcon",closeSvgIcon:"closeSvgIcon",noEntriesFoundLabel:"noEntriesFoundLabel",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toggleAllCheckboxTooltipPosition:"toggleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti"},outputs:{toggleAll:"toggleAll"},features:[i._Bn([{provide:o.JU,useExisting:(0,i.Gpc)(()=>r),multi:!0}])],ngContentSelectors:q,decls:12,vars:14,consts:[["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],["innerSelectSearch",""],["class","mat-select-search-toggle-all-checkbox","matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change",4,"ngIf"],["autocomplete","off",1,"mat-select-search-input",3,"type","formControl","placeholder","keydown","keyup","blur"],["searchSelectInput",""],["class","mat-select-search-spinner","diameter","16",4,"ngIf"],["mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["class","mat-select-search-no-entries-found",4,"ngIf"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change"],["diameter","16",1,"mat-select-search-spinner"],["mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],["defaultIcon",""],[3,"svgIcon"],[1,"mat-select-search-no-entries-found"],["defaultNoEntriesFound",""]],template:function(h,G){1&h&&(i.F$t(Se),i._UZ(0,"input",0),i.TgZ(1,"div",1,2),i.YNc(3,He,1,5,"mat-checkbox",3),i.TgZ(4,"input",4,5),i.NdJ("keydown",function(Be){return G._handleKeydown(Be)})("keyup",function(Be){return G._handleKeyup(Be)})("blur",function(){return G.onBlur()}),i.qZA(),i.YNc(6,ee,1,0,"mat-spinner",6),i.YNc(7,I,4,2,"button",7),i.Hsn(8),i._UZ(9,"mat-divider"),i.qZA(),i.YNc(10,ue,4,2,"div",8),i.ALo(11,"async")),2&h&&(i.xp6(1),i.Q6J("ngClass",i.WLB(11,V,G.matSelect.multiple,G._isToggleAllCheckboxVisible())),i.xp6(2),i.Q6J("ngIf",G._isToggleAllCheckboxVisible()),i.xp6(1),i.Q6J("type",G.type)("formControl",G._formControl)("placeholder",G.placeholderLabel),i.uIk("aria-label",G.ariaLabel),i.xp6(2),i.Q6J("ngIf",G.searching),i.xp6(1),i.Q6J("ngIf",!G.hideClearSearchButton&&G.value&&!G.searching),i.xp6(3),i.Q6J("ngIf",i.lcZ(11,9,G._showNoEntriesFound$)))},dependencies:[e.mk,e.O5,o.Fj,o.JJ,o.oH,Fe.RK,we.oG,ae.Hw,J,ge.gM,A,e.Ov],styles:[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;z-index:100;font-size:inherit;box-shadow:none}.mat-select-search-inner.mat-select-search-inner-multiple.mat-select-search-inner-toggle-all[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-select-search-input[_ngcontent-%COMP%]{box-sizing:border-box;width:100%;border:none;font-family:inherit;font-size:inherit;color:currentColor;outline:none;background:none;padding:0 44px 0 16px;height:calc(3em - 1px);line-height:calc(3em - 1px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-right:16px;padding-left:44px}.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-left:5px}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding-top:8px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:4px;top:0}[dir=rtl][_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{right:auto;left:4px}.mat-select-search-spinner[_ngcontent-%COMP%]{position:absolute;right:16px;top:calc(50% - 8px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%]{right:auto;left:16px} .mat-mdc-option[aria-disabled=true].contains-mat-select-search{position:sticky;top:-8px;z-index:1;opacity:1;margin-top:-8px} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-icon{margin-right:0;margin-left:0} .mat-mdc-option[aria-disabled=true].contains-mat-select-search mat-pseudo-checkbox{display:none}.mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:5px}[dir=rtl][_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:0;padding-right:5px}"],changeDetection:0}),r})(),n=(()=>{class r{}return r.\u0275fac=function(h){return new(h||r)},r.\u0275mod=i.oAB({type:r}),r.\u0275inj=i.cJS({imports:[e.ez,o.UX,Fe.ot,we.p9,ae.Ps,ne,ge.AV,Y]}),r})();var m=s(6451),D=s(5026);const Q=["matSelectInfiniteScroll"];function _e(r,g){if(1&r&&(i.ynx(0),i._UZ(1,"img",7),i.BQk()),2&r){const h=i.oxw().$implicit;i.xp6(1),i.Q6J("src",h.Img,i.LSH)}}function E(r,g){if(1&r&&(i.TgZ(0,"mat-option",5),i.YNc(1,_e,2,1,"ng-container",6),i._uU(2),i.qZA()),2&r){const h=g.$implicit,G=i.oxw();i.Q6J("value",h[G.bindValue]),i.xp6(1),i.Q6J("ngIf",null==h?null:h.Img),i.xp6(1),i.hij(" ",h[G.bindLabel]," ")}}class b{constructor(){this.disabled=!1,this.batchSize=50,this.optionCtrl=new o.p4,this.searchCtrl=new o.p4,this.filteredData$=this.searchCtrl.valueChanges.pipe((0,F.O)(""),(0,le.U)(g=>g?this.data.filter(h=>h[this.bindLabel].toLowerCase().indexOf(g.toLowerCase())>-1):this.data)),this.incrementBatchOffset$=new _.x,this.resetBatchOffset$=new _.x,this.minimumBatchOffset$=(0,ye.a)([this.filteredData$,this.searchCtrl.valueChanges]).pipe((0,le.U)(([g,h])=>!this.searchCtrl.value&&this.optionCtrl.value?g.findIndex(Ce=>Ce[this.bindValue]===this.optionCtrl.value)+this.batchSize:0),(0,F.O)(0)),this.batchOffset$=(0,ye.a)([(0,m.T)(this.incrementBatchOffset$.pipe((0,Me.h)(!0)),this.resetBatchOffset$.pipe((0,Me.h)(!1))),this.minimumBatchOffset$]).pipe((0,D.R)((g,[h,G])=>h?Math.max(g+this.batchSize,G+this.batchSize):Math.max(G,this.batchSize),this.batchSize)),this.filteredBatchedData$=(0,ye.a)([this.filteredData$,this.batchOffset$]).pipe((0,le.U)(([g,h])=>g.slice(0,h))),this.destroy$=new _.x,this.data=[],this.onSelect=new i.vpe}ngOnInit(){this.infiniteScrollSelect.openedChange.pipe((0,de.R)(this.destroy$)).subscribe(g=>{g&&this.resetBatchOffset$.next()}),this.onSelectData()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}onSelectData(){this.optionCtrl.valueChanges.subscribe(g=>{g&&this.onSelect.emit(g)})}getNextBatch(){this.incrementBatchOffset$.next()}}b.\u0275fac=function(g){return new(g||b)},b.\u0275cmp=i.Xpm({type:b,selectors:[["app-select-search"]],viewQuery:function(g,h){if(1&g&&i.Gf(Q,7),2&g){let G;i.iGM(G=i.CRH())&&(h.infiniteScrollSelect=G.first)}},inputs:{appearance:"appearance",data:"data",bindValue:"bindValue",bindLabel:"bindLabel",placeholder:"placeholder",disabled:"disabled",batchSize:"batchSize"},outputs:{onSelect:"onSelect"},standalone:!0,features:[i.jDz],decls:7,vars:9,consts:[[1,"infinite-select-search",3,"appearance"],["msInfiniteScroll","",3,"disabled","formControl","placeholder","infiniteScroll"],["matSelectInfiniteScroll",""],["placeholderLabel","search","noEntriesFoundLabel","No entry matches",3,"formControl","disableScrollToActiveOnOptionsChanged"],["class","mat-option-infinite",3,"value",4,"ngFor","ngForOf"],[1,"mat-option-infinite",3,"value"],[4,"ngIf"],["alt","",2,"width","18px","margin-right","10px",3,"src"]],template:function(g,h){1&g&&(i.TgZ(0,"mat-form-field",0)(1,"mat-select",1,2),i.NdJ("infiniteScroll",function(){return h.getNextBatch()}),i.TgZ(3,"mat-option"),i._UZ(4,"ngx-mat-select-search",3),i.qZA(),i.YNc(5,E,3,3,"mat-option",4),i.ALo(6,"async"),i.qZA()()),2&g&&(i.Q6J("appearance",h.appearance),i.xp6(1),i.Q6J("disabled",h.disabled)("formControl",h.optionCtrl)("placeholder",h.placeholder),i.xp6(3),i.Q6J("formControl",h.searchCtrl)("disableScrollToActiveOnOptionsChanged",!0),i.xp6(1),i.Q6J("ngForOf",i.lcZ(6,7,h.filteredBatchedData$)))},dependencies:[e.ez,e.sg,e.O5,e.Ov,o.UX,o.JJ,o.oH,K.LD,H.KE,K.gD,me.ey,H.lN,n,w,U,te],styles:["mat-form-field{width:100%}mat-form-field.infinite-select-search .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-bottom:12px;padding-top:12px;height:40px}mat-form-field.infinite-select-search .mat-mdc-text-field-wrapper{height:47px}mat-form-field.infinite-select-search .mat-mdc-form-field-subscript-wrapper{display:none}mat-form-field.infinite-select-search mat-select{font-size:14px}mat-option.mat-option-infinite{font-size:14px}\n"],encapsulation:2})},7253:(ze,Ee,s)=>{s.d(Ee,{rt:()=>$e,s1:()=>k,$s:()=>x,kH:()=>Be,mK:()=>ue,Em:()=>X,tE:()=>Ce,qV:()=>oe,qm:()=>We,ic:()=>J,Kd:()=>r,X6:()=>y,yG:()=>L});var e=s(6895),i=s(4650),o=s(3353),H=s(7579),K=s(727),de=s(1135),ve=s(9646),he=s(9521),_=s(8505),re=s(8372),ce=s(9300),te=s(4004),U=s(5698);function W(P){return(0,ce.h)((O,d)=>P<=d)}var me=s(1884),fe=s(2722),R=s(1281),ye=s(9643),be=s(9841),le=s(7272),F=s(9751),ie=s(8675);const v=new Set;let M,$=(()=>{class P{constructor(d){this._platform=d,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):De}matchMedia(d){return(this._platform.WEBKIT||this._platform.BLINK)&&function pe(P){if(!v.has(P))try{M||(M=document.createElement("style"),M.setAttribute("type","text/css"),document.head.appendChild(M)),M.sheet&&(M.sheet.insertRule(`@media ${P} {body{ }}`,0),v.add(P))}catch(O){console.error(O)}}(d),this._matchMedia(d)}}return P.\u0275fac=function(d){return new(d||P)(i.LFG(o.t4))},P.\u0275prov=i.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),P})();function De(P){return{matches:"all"===P||""===P,media:P,addListener:()=>{},removeListener:()=>{}}}let Me=(()=>{class P{constructor(d,T){this._mediaMatcher=d,this._zone=T,this._queries=new Map,this._destroySubject=new H.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(d){return Te((0,R.Eq)(d)).some(z=>this._registerQuery(z).mql.matches)}observe(d){const z=Te((0,R.Eq)(d)).map(Oe=>this._registerQuery(Oe).observable);let se=(0,be.a)(z);return se=(0,le.z)(se.pipe((0,U.q)(1)),se.pipe(W(1),(0,re.b)(0))),se.pipe((0,te.U)(Oe=>{const Ue={matches:!1,breakpoints:{}};return Oe.forEach(({matches:je,query:Ze})=>{Ue.matches=Ue.matches||je,Ue.breakpoints[Ze]=je}),Ue}))}_registerQuery(d){if(this._queries.has(d))return this._queries.get(d);const T=this._mediaMatcher.matchMedia(d),se={observable:new F.y(Oe=>{const Ue=je=>this._zone.run(()=>Oe.next(je));return T.addListener(Ue),()=>{T.removeListener(Ue)}}).pipe((0,ie.O)(T),(0,te.U)(({matches:Oe})=>({query:d,matches:Oe})),(0,fe.R)(this._destroySubject)),mql:T};return this._queries.set(d,se),se}}return P.\u0275fac=function(d){return new(d||P)(i.LFG($),i.LFG(i.R0b))},P.\u0275prov=i.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),P})();function Te(P){return P.map(O=>O.split(",")).reduce((O,d)=>O.concat(d)).map(O=>O.trim())}function Pe(P,O){return(P.getAttribute(O)||"").match(/\S+/g)||[]}const we="cdk-describedby-message",ae="cdk-describedby-host";let B=0,x=(()=>{class P{constructor(d,T){this._platform=T,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+B++,this._document=d,this._id=(0,i.f3M)(i.AFp)+"-"+B++}describe(d,T,z){if(!this._canBeDescribed(d,T))return;const se=a(T,z);"string"!=typeof T?(C(T,this._id),this._messageRegistry.set(se,{messageElement:T,referenceCount:0})):this._messageRegistry.has(se)||this._createMessageElement(T,z),this._isElementDescribedByMessage(d,se)||this._addMessageReference(d,se)}removeDescription(d,T,z){if(!T||!this._isElementNode(d))return;const se=a(T,z);if(this._isElementDescribedByMessage(d,se)&&this._removeMessageReference(d,se),"string"==typeof T){const Oe=this._messageRegistry.get(se);Oe&&0===Oe.referenceCount&&this._deleteMessageElement(se)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const d=this._document.querySelectorAll(`[${ae}="${this._id}"]`);for(let T=0;T<d.length;T++)this._removeCdkDescribedByReferenceIds(d[T]),d[T].removeAttribute(ae);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(d,T){const z=this._document.createElement("div");C(z,this._id),z.textContent=d,T&&z.setAttribute("role",T),this._createMessagesContainer(),this._messagesContainer.appendChild(z),this._messageRegistry.set(a(d,T),{messageElement:z,referenceCount:0})}_deleteMessageElement(d){this._messageRegistry.get(d)?.messageElement?.remove(),this._messageRegistry.delete(d)}_createMessagesContainer(){if(this._messagesContainer)return;const d="cdk-describedby-message-container",T=this._document.querySelectorAll(`.${d}[platform="server"]`);for(let se=0;se<T.length;se++)T[se].remove();const z=this._document.createElement("div");z.style.visibility="hidden",z.classList.add(d),z.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&z.setAttribute("platform","server"),this._document.body.appendChild(z),this._messagesContainer=z}_removeCdkDescribedByReferenceIds(d){const T=Pe(d,"aria-describedby").filter(z=>0!=z.indexOf(we));d.setAttribute("aria-describedby",T.join(" "))}_addMessageReference(d,T){const z=this._messageRegistry.get(T);(function Re(P,O,d){const T=Pe(P,O);T.some(z=>z.trim()==d.trim())||(T.push(d.trim()),P.setAttribute(O,T.join(" ")))})(d,"aria-describedby",z.messageElement.id),d.setAttribute(ae,this._id),z.referenceCount++}_removeMessageReference(d,T){const z=this._messageRegistry.get(T);z.referenceCount--,function Le(P,O,d){const z=Pe(P,O).filter(se=>se!=d.trim());z.length?P.setAttribute(O,z.join(" ")):P.removeAttribute(O)}(d,"aria-describedby",z.messageElement.id),d.removeAttribute(ae)}_isElementDescribedByMessage(d,T){const z=Pe(d,"aria-describedby"),se=this._messageRegistry.get(T),Oe=se&&se.messageElement.id;return!!Oe&&-1!=z.indexOf(Oe)}_canBeDescribed(d,T){if(!this._isElementNode(d))return!1;if(T&&"object"==typeof T)return!0;const z=null==T?"":`${T}`.trim(),se=d.getAttribute("aria-label");return!(!z||se&&se.trim()===z)}_isElementNode(d){return d.nodeType===this._document.ELEMENT_NODE}}return P.\u0275fac=function(d){return new(d||P)(i.LFG(e.K0),i.LFG(o.t4))},P.\u0275prov=i.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),P})();function a(P,O){return"string"==typeof P?`${O||""}/${P}`:P}function C(P,O){P.id||(P.id=`${we}-${O}-${B++}`)}class f{constructor(O){this._items=O,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new H.x,this._typeaheadSubscription=K.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=d=>d.disabled,this._pressedLetters=[],this.tabOut=new H.x,this.change=new H.x,O instanceof i.n_E&&(this._itemChangesSubscription=O.changes.subscribe(d=>{if(this._activeItem){const z=d.toArray().indexOf(this._activeItem);z>-1&&z!==this._activeItemIndex&&(this._activeItemIndex=z)}}))}skipPredicate(O){return this._skipPredicateFn=O,this}withWrap(O=!0){return this._wrap=O,this}withVerticalOrientation(O=!0){return this._vertical=O,this}withHorizontalOrientation(O){return this._horizontal=O,this}withAllowedModifierKeys(O){return this._allowedModifierKeys=O,this}withTypeAhead(O=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,_.b)(d=>this._pressedLetters.push(d)),(0,re.b)(O),(0,ce.h)(()=>this._pressedLetters.length>0),(0,te.U)(()=>this._pressedLetters.join(""))).subscribe(d=>{const T=this._getItemsArray();for(let z=1;z<T.length+1;z++){const se=(this._activeItemIndex+z)%T.length,Oe=T[se];if(!this._skipPredicateFn(Oe)&&0===Oe.getLabel().toUpperCase().trim().indexOf(d)){this.setActiveItem(se);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(O=!0){return this._homeAndEnd=O,this}withPageUpDown(O=!0,d=10){return this._pageUpAndDown={enabled:O,delta:d},this}setActiveItem(O){const d=this._activeItem;this.updateActiveItem(O),this._activeItem!==d&&this.change.next(this._activeItemIndex)}onKeydown(O){const d=O.keyCode,z=["altKey","ctrlKey","metaKey","shiftKey"].every(se=>!O[se]||this._allowedModifierKeys.indexOf(se)>-1);switch(d){case he.Mf:return void this.tabOut.next();case he.JH:if(this._vertical&&z){this.setNextItemActive();break}return;case he.LH:if(this._vertical&&z){this.setPreviousItemActive();break}return;case he.SV:if(this._horizontal&&z){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case he.oh:if(this._horizontal&&z){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case he.Sd:if(this._homeAndEnd&&z){this.setFirstItemActive();break}return;case he.uR:if(this._homeAndEnd&&z){this.setLastItemActive();break}return;case he.Ku:if(this._pageUpAndDown.enabled&&z){const se=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(se>0?se:0,1);break}return;case he.VM:if(this._pageUpAndDown.enabled&&z){const se=this._activeItemIndex+this._pageUpAndDown.delta,Oe=this._getItemsArray().length;this._setActiveItemByIndex(se<Oe?se:Oe-1,-1);break}return;default:return void((z||(0,he.Vb)(O,"shiftKey"))&&(O.key&&1===O.key.length?this._letterKeyStream.next(O.key.toLocaleUpperCase()):(d>=he.A&&d<=he.Z||d>=he.xE&&d<=he.aO)&&this._letterKeyStream.next(String.fromCharCode(d))))}this._pressedLetters=[],O.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(O){const d=this._getItemsArray(),T="number"==typeof O?O:d.indexOf(O);this._activeItem=d[T]??null,this._activeItemIndex=T}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(O){this._wrap?this._setActiveInWrapMode(O):this._setActiveInDefaultMode(O)}_setActiveInWrapMode(O){const d=this._getItemsArray();for(let T=1;T<=d.length;T++){const z=(this._activeItemIndex+O*T+d.length)%d.length;if(!this._skipPredicateFn(d[z]))return void this.setActiveItem(z)}}_setActiveInDefaultMode(O){this._setActiveItemByIndex(this._activeItemIndex+O,O)}_setActiveItemByIndex(O,d){const T=this._getItemsArray();if(T[O]){for(;this._skipPredicateFn(T[O]);)if(!T[O+=d])return;this.setActiveItem(O)}}_getItemsArray(){return this._items instanceof i.n_E?this._items.toArray():this._items}}class k extends f{setActiveItem(O){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(O),this.activeItem&&this.activeItem.setActiveStyles()}}class X extends f{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(O){return this._origin=O,this}setActiveItem(O){super.setActiveItem(O),this.activeItem&&this.activeItem.focus(this._origin)}}let J=(()=>{class P{constructor(d){this._platform=d}isDisabled(d){return d.hasAttribute("disabled")}isVisible(d){return function ne(P){return!!(P.offsetWidth||P.offsetHeight||"function"==typeof P.getClientRects&&P.getClientRects().length)}(d)&&"visible"===getComputedStyle(d).visibility}isTabbable(d){if(!this._platform.isBrowser)return!1;const T=function Z(P){try{return P.frameElement}catch{return null}}(function I(P){return P.ownerDocument&&P.ownerDocument.defaultView||window}(d));if(T&&(-1===ee(T)||!this.isVisible(T)))return!1;let z=d.nodeName.toLowerCase(),se=ee(d);return d.hasAttribute("contenteditable")?-1!==se:!("iframe"===z||"object"===z||this._platform.WEBKIT&&this._platform.IOS&&!function l(P){let O=P.nodeName.toLowerCase(),d="input"===O&&P.type;return"text"===d||"password"===d||"select"===O||"textarea"===O}(d))&&("audio"===z?!!d.hasAttribute("controls")&&-1!==se:"video"===z?-1!==se&&(null!==se||this._platform.FIREFOX||d.hasAttribute("controls")):d.tabIndex>=0)}isFocusable(d,T){return function p(P){return!function A(P){return function xe(P){return"input"==P.nodeName.toLowerCase()}(P)&&"hidden"==P.type}(P)&&(function ge(P){let O=P.nodeName.toLowerCase();return"input"===O||"select"===O||"button"===O||"textarea"===O}(P)||function Y(P){return function ke(P){return"a"==P.nodeName.toLowerCase()}(P)&&P.hasAttribute("href")}(P)||P.hasAttribute("contenteditable")||He(P))}(d)&&!this.isDisabled(d)&&(T?.ignoreVisibility||this.isVisible(d))}}return P.\u0275fac=function(d){return new(d||P)(i.LFG(o.t4))},P.\u0275prov=i.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),P})();function He(P){if(!P.hasAttribute("tabindex")||void 0===P.tabIndex)return!1;let O=P.getAttribute("tabindex");return!(!O||isNaN(parseInt(O,10)))}function ee(P){if(!He(P))return null;const O=parseInt(P.getAttribute("tabindex")||"",10);return isNaN(O)?-1:O}class j{get enabled(){return this._enabled}set enabled(O){this._enabled=O,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(O,this._startAnchor),this._toggleAnchorTabIndex(O,this._endAnchor))}constructor(O,d,T,z,se=!1){this._element=O,this._checker=d,this._ngZone=T,this._document=z,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,se||this.attachAnchors()}destroy(){const O=this._startAnchor,d=this._endAnchor;O&&(O.removeEventListener("focus",this.startAnchorListener),O.remove()),d&&(d.removeEventListener("focus",this.endAnchorListener),d.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(O){return new Promise(d=>{this._executeOnStable(()=>d(this.focusInitialElement(O)))})}focusFirstTabbableElementWhenReady(O){return new Promise(d=>{this._executeOnStable(()=>d(this.focusFirstTabbableElement(O)))})}focusLastTabbableElementWhenReady(O){return new Promise(d=>{this._executeOnStable(()=>d(this.focusLastTabbableElement(O)))})}_getRegionBoundary(O){const d=this._element.querySelectorAll(`[cdk-focus-region-${O}], [cdkFocusRegion${O}], [cdk-focus-${O}]`);return"start"==O?d.length?d[0]:this._getFirstTabbableElement(this._element):d.length?d[d.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(O){const d=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(d){if(!this._checker.isFocusable(d)){const T=this._getFirstTabbableElement(d);return T?.focus(O),!!T}return d.focus(O),!0}return this.focusFirstTabbableElement(O)}focusFirstTabbableElement(O){const d=this._getRegionBoundary("start");return d&&d.focus(O),!!d}focusLastTabbableElement(O){const d=this._getRegionBoundary("end");return d&&d.focus(O),!!d}hasAttached(){return this._hasAttached}_getFirstTabbableElement(O){if(this._checker.isFocusable(O)&&this._checker.isTabbable(O))return O;const d=O.children;for(let T=0;T<d.length;T++){const z=d[T].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(d[T]):null;if(z)return z}return null}_getLastTabbableElement(O){if(this._checker.isFocusable(O)&&this._checker.isTabbable(O))return O;const d=O.children;for(let T=d.length-1;T>=0;T--){const z=d[T].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(d[T]):null;if(z)return z}return null}_createAnchor(){const O=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,O),O.classList.add("cdk-visually-hidden"),O.classList.add("cdk-focus-trap-anchor"),O.setAttribute("aria-hidden","true"),O}_toggleAnchorTabIndex(O,d){O?d.setAttribute("tabindex","0"):d.removeAttribute("tabindex")}toggleAnchors(O){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(O,this._startAnchor),this._toggleAnchorTabIndex(O,this._endAnchor))}_executeOnStable(O){this._ngZone.isStable?O():this._ngZone.onStable.pipe((0,U.q)(1)).subscribe(O)}}let oe=(()=>{class P{constructor(d,T,z){this._checker=d,this._ngZone=T,this._document=z}create(d,T=!1){return new j(d,this._checker,this._ngZone,this._document,T)}}return P.\u0275fac=function(d){return new(d||P)(i.LFG(J),i.LFG(i.R0b),i.LFG(e.K0))},P.\u0275prov=i.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),P})(),ue=(()=>{class P{get enabled(){return this.focusTrap.enabled}set enabled(d){this.focusTrap.enabled=(0,R.Ig)(d)}get autoCapture(){return this._autoCapture}set autoCapture(d){this._autoCapture=(0,R.Ig)(d)}constructor(d,T,z){this._elementRef=d,this._focusTrapFactory=T,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(d){const T=d.autoCapture;T&&!T.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,o.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return P.\u0275fac=function(d){return new(d||P)(i.Y36(i.SBq),i.Y36(oe),i.Y36(e.K0))},P.\u0275dir=i.lG2({type:P,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[i.TTD]}),P})();function y(P){return 0===P.buttons||0===P.offsetX&&0===P.offsetY}function L(P){const O=P.touches&&P.touches[0]||P.changedTouches&&P.changedTouches[0];return!(!O||-1!==O.identifier||null!=O.radiusX&&1!==O.radiusX||null!=O.radiusY&&1!==O.radiusY)}const w=new i.OlP("cdk-input-modality-detector-options"),t={ignoreKeys:[he.zL,he.jx,he.b2,he.MW,he.JU]},m=(0,o.i$)({passive:!0,capture:!0});let D=(()=>{class P{get mostRecentModality(){return this._modality.value}constructor(d,T,z,se){this._platform=d,this._mostRecentTarget=null,this._modality=new de.X(null),this._lastTouchMs=0,this._onKeydown=Oe=>{this._options?.ignoreKeys?.some(Ue=>Ue===Oe.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,o.sA)(Oe))},this._onMousedown=Oe=>{Date.now()-this._lastTouchMs<650||(this._modality.next(y(Oe)?"keyboard":"mouse"),this._mostRecentTarget=(0,o.sA)(Oe))},this._onTouchstart=Oe=>{L(Oe)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,o.sA)(Oe))},this._options={...t,...se},this.modalityDetected=this._modality.pipe(W(1)),this.modalityChanged=this.modalityDetected.pipe((0,me.x)()),d.isBrowser&&T.runOutsideAngular(()=>{z.addEventListener("keydown",this._onKeydown,m),z.addEventListener("mousedown",this._onMousedown,m),z.addEventListener("touchstart",this._onTouchstart,m)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,m),document.removeEventListener("mousedown",this._onMousedown,m),document.removeEventListener("touchstart",this._onTouchstart,m))}}return P.\u0275fac=function(d){return new(d||P)(i.LFG(o.t4),i.LFG(i.R0b),i.LFG(e.K0),i.LFG(w,8))},P.\u0275prov=i.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),P})();const Q=new i.OlP("liveAnnouncerElement",{providedIn:"root",factory:function _e(){return null}}),E=new i.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let b=0,r=(()=>{class P{constructor(d,T,z,se){this._ngZone=T,this._defaultOptions=se,this._document=z,this._liveElement=d||this._createLiveElement()}announce(d,...T){const z=this._defaultOptions;let se,Oe;return 1===T.length&&"number"==typeof T[0]?Oe=T[0]:[se,Oe]=T,this.clear(),clearTimeout(this._previousTimeout),se||(se=z&&z.politeness?z.politeness:"polite"),null==Oe&&z&&(Oe=z.duration),this._liveElement.setAttribute("aria-live",se),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Ue=>this._currentResolve=Ue)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=d,"number"==typeof Oe&&(this._previousTimeout=setTimeout(()=>this.clear(),Oe)),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 d="cdk-live-announcer-element",T=this._document.getElementsByClassName(d),z=this._document.createElement("div");for(let se=0;se<T.length;se++)T[se].remove();return z.classList.add(d),z.classList.add("cdk-visually-hidden"),z.setAttribute("aria-atomic","true"),z.setAttribute("aria-live","polite"),z.id="cdk-live-announcer-"+b++,this._document.body.appendChild(z),z}_exposeAnnouncerToModals(d){const T=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let z=0;z<T.length;z++){const se=T[z],Oe=se.getAttribute("aria-owns");Oe?-1===Oe.indexOf(d)&&se.setAttribute("aria-owns",Oe+" "+d):se.setAttribute("aria-owns",d)}}}return P.\u0275fac=function(d){return new(d||P)(i.LFG(Q,8),i.LFG(i.R0b),i.LFG(e.K0),i.LFG(E,8))},P.\u0275prov=i.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),P})();const h=new i.OlP("cdk-focus-monitor-default-options"),G=(0,o.i$)({passive:!0,capture:!0});let Ce=(()=>{class P{constructor(d,T,z,se,Oe){this._ngZone=d,this._platform=T,this._inputModalityDetector=z,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 H.x,this._rootNodeFocusAndBlurListener=Ue=>{for(let Ze=(0,o.sA)(Ue);Ze;Ze=Ze.parentElement)"focus"===Ue.type?this._onFocus(Ue,Ze):this._onBlur(Ue,Ze)},this._document=se,this._detectionMode=Oe?.detectionMode||0}monitor(d,T=!1){const z=(0,R.fI)(d);if(!this._platform.isBrowser||1!==z.nodeType)return(0,ve.of)(null);const se=(0,o.kV)(z)||this._getDocument(),Oe=this._elementInfo.get(z);if(Oe)return T&&(Oe.checkChildren=!0),Oe.subject;const Ue={checkChildren:T,subject:new H.x,rootNode:se};return this._elementInfo.set(z,Ue),this._registerGlobalListeners(Ue),Ue.subject}stopMonitoring(d){const T=(0,R.fI)(d),z=this._elementInfo.get(T);z&&(z.subject.complete(),this._setClasses(T),this._elementInfo.delete(T),this._removeGlobalListeners(z))}focusVia(d,T,z){const se=(0,R.fI)(d);se===this._getDocument().activeElement?this._getClosestElementsInfo(se).forEach(([Ue,je])=>this._originChanged(Ue,T,je)):(this._setOrigin(T),"function"==typeof se.focus&&se.focus(z))}ngOnDestroy(){this._elementInfo.forEach((d,T)=>this.stopMonitoring(T))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(d){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(d)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:d&&this._isLastInteractionFromInputLabel(d)?"mouse":"program"}_shouldBeAttributedToTouch(d){return 1===this._detectionMode||!!d?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(d,T){d.classList.toggle("cdk-focused",!!T),d.classList.toggle("cdk-touch-focused","touch"===T),d.classList.toggle("cdk-keyboard-focused","keyboard"===T),d.classList.toggle("cdk-mouse-focused","mouse"===T),d.classList.toggle("cdk-program-focused","program"===T)}_setOrigin(d,T=!1){this._ngZone.runOutsideAngular(()=>{this._origin=d,this._originFromTouchInteraction="touch"===d&&T,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(d,T){const z=this._elementInfo.get(T),se=(0,o.sA)(d);!z||!z.checkChildren&&T!==se||this._originChanged(T,this._getFocusOrigin(se),z)}_onBlur(d,T){const z=this._elementInfo.get(T);!z||z.checkChildren&&d.relatedTarget instanceof Node&&T.contains(d.relatedTarget)||(this._setClasses(T),this._emitOrigin(z,null))}_emitOrigin(d,T){d.subject.observers.length&&this._ngZone.run(()=>d.subject.next(T))}_registerGlobalListeners(d){if(!this._platform.isBrowser)return;const T=d.rootNode,z=this._rootNodeFocusListenerCount.get(T)||0;z||this._ngZone.runOutsideAngular(()=>{T.addEventListener("focus",this._rootNodeFocusAndBlurListener,G),T.addEventListener("blur",this._rootNodeFocusAndBlurListener,G)}),this._rootNodeFocusListenerCount.set(T,z+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,fe.R)(this._stopInputModalityDetector)).subscribe(se=>{this._setOrigin(se,!0)}))}_removeGlobalListeners(d){const T=d.rootNode;if(this._rootNodeFocusListenerCount.has(T)){const z=this._rootNodeFocusListenerCount.get(T);z>1?this._rootNodeFocusListenerCount.set(T,z-1):(T.removeEventListener("focus",this._rootNodeFocusAndBlurListener,G),T.removeEventListener("blur",this._rootNodeFocusAndBlurListener,G),this._rootNodeFocusListenerCount.delete(T))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(d,T,z){this._setClasses(d,T),this._emitOrigin(z,T),this._lastFocusOrigin=T}_getClosestElementsInfo(d){const T=[];return this._elementInfo.forEach((z,se)=>{(se===d||z.checkChildren&&se.contains(d))&&T.push([se,z])}),T}_isLastInteractionFromInputLabel(d){const{_mostRecentTarget:T,mostRecentModality:z}=this._inputModalityDetector;if("mouse"!==z||!T||T===d||"INPUT"!==d.nodeName&&"TEXTAREA"!==d.nodeName||d.disabled)return!1;const se=d.labels;if(se)for(let Oe=0;Oe<se.length;Oe++)if(se[Oe].contains(T))return!0;return!1}}return P.\u0275fac=function(d){return new(d||P)(i.LFG(i.R0b),i.LFG(o.t4),i.LFG(D),i.LFG(e.K0,8),i.LFG(h,8))},P.\u0275prov=i.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),P})(),Be=(()=>{class P{constructor(d,T){this._elementRef=d,this._focusMonitor=T,this._focusOrigin=null,this.cdkFocusChange=new i.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const d=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(d,1===d.nodeType&&d.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(T=>{this._focusOrigin=T,this.cdkFocusChange.emit(T)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return P.\u0275fac=function(d){return new(d||P)(i.Y36(i.SBq),i.Y36(Ce))},P.\u0275dir=i.lG2({type:P,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),P})();const Ve="cdk-high-contrast-black-on-white",Ye="cdk-high-contrast-white-on-black",Ne="cdk-high-contrast-active";let We=(()=>{class P{constructor(d,T){this._platform=d,this._document=T,this._breakpointSubscription=(0,i.f3M)(Me).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const d=this._document.createElement("div");d.style.backgroundColor="rgb(1,2,3)",d.style.position="absolute",this._document.body.appendChild(d);const T=this._document.defaultView||window,z=T&&T.getComputedStyle?T.getComputedStyle(d):null,se=(z&&z.backgroundColor||"").replace(/ /g,"");switch(d.remove(),se){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 d=this._document.body.classList;d.remove(Ne,Ve,Ye),this._hasCheckedHighContrastMode=!0;const T=this.getHighContrastMode();1===T?d.add(Ne,Ve):2===T&&d.add(Ne,Ye)}}}return P.\u0275fac=function(d){return new(d||P)(i.LFG(o.t4),i.LFG(e.K0))},P.\u0275prov=i.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),P})(),$e=(()=>{class P{constructor(d){d._applyBodyHighContrastModeCssClasses()}}return P.\u0275fac=function(d){return new(d||P)(i.LFG(We))},P.\u0275mod=i.oAB({type:P}),P.\u0275inj=i.cJS({imports:[ye.Q8]}),P})()},445:(ze,Ee,s)=>{s.d(Ee,{Is:()=>ve,vT:()=>_});var e=s(4650),i=s(6895);const o=new e.OlP("cdk-dir-doc",{providedIn:"root",factory:function H(){return(0,e.f3M)(i.K0)}}),K=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let ve=(()=>{class re{constructor(te){this.value="ltr",this.change=new e.vpe,te&&(this.value=function de(re){const ce=re?.toLowerCase()||"";return"auto"===ce&&typeof navigator<"u"&&navigator?.language?K.test(navigator.language)?"rtl":"ltr":"rtl"===ce?"rtl":"ltr"}((te.body?te.body.dir:null)||(te.documentElement?te.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return re.\u0275fac=function(te){return new(te||re)(e.LFG(o,8))},re.\u0275prov=e.Yz7({token:re,factory:re.\u0275fac,providedIn:"root"}),re})(),_=(()=>{class re{}return re.\u0275fac=function(te){return new(te||re)},re.\u0275mod=e.oAB({type:re}),re.\u0275inj=e.cJS({}),re})()},1281:(ze,Ee,s)=>{s.d(Ee,{Eq:()=>K,HM:()=>de,Ig:()=>i,du:()=>he,fI:()=>ve,su:()=>o});var e=s(4650);function i(_){return null!=_&&"false"!=`${_}`}function o(_,re=0){return function H(_){return!isNaN(parseFloat(_))&&!isNaN(Number(_))}(_)?Number(_):re}function K(_){return Array.isArray(_)?_:[_]}function de(_){return null==_?"":"string"==typeof _?_:`${_}px`}function ve(_){return _ instanceof e.SBq?_.nativeElement:_}function he(_,re=/\s+/){const ce=[];if(null!=_){const te=Array.isArray(_)?_:`${_}`.split(re);for(const U of te){const W=`${U}`.trim();W&&ce.push(W)}}return ce}},5017:(ze,Ee,s)=>{s.d(Ee,{A8:()=>re,Ov:()=>he});var e=s(7579),i=s(4650);class he{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(U=!1,W,me=!0,fe){this._multiple=U,this._emitChanges=me,this.compareWith=fe,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new e.x,W&&W.length&&(U?W.forEach(R=>this._markSelected(R)):this._markSelected(W[0]),this._selectedToEmit.length=0)}select(...U){this._verifyValueAssignment(U),U.forEach(me=>this._markSelected(me));const W=this._hasQueuedChanges();return this._emitChangeEvent(),W}deselect(...U){this._verifyValueAssignment(U),U.forEach(me=>this._unmarkSelected(me));const W=this._hasQueuedChanges();return this._emitChangeEvent(),W}setSelection(...U){this._verifyValueAssignment(U);const W=this.selected,me=new Set(U);U.forEach(R=>this._markSelected(R)),W.filter(R=>!me.has(R)).forEach(R=>this._unmarkSelected(R));const fe=this._hasQueuedChanges();return this._emitChangeEvent(),fe}toggle(U){return this.isSelected(U)?this.deselect(U):this.select(U)}clear(U=!0){this._unmarkAll();const W=this._hasQueuedChanges();return U&&this._emitChangeEvent(),W}isSelected(U){if(this.compareWith){for(const W of this._selection)if(this.compareWith(W,U))return!0;return!1}return this._selection.has(U)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(U){this._multiple&&this.selected&&this._selected.sort(U)}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(U){this.isSelected(U)||(this._multiple||this._unmarkAll(),this.isSelected(U)||this._selection.add(U),this._emitChanges&&this._selectedToEmit.push(U))}_unmarkSelected(U){this.isSelected(U)&&(this._selection.delete(U),this._emitChanges&&this._deselectedToEmit.push(U))}_unmarkAll(){this.isEmpty()||this._selection.forEach(U=>this._unmarkSelected(U))}_verifyValueAssignment(U){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}let re=(()=>{class te{constructor(){this._listeners=[]}notify(W,me){for(let fe of this._listeners)fe(W,me)}listen(W){return this._listeners.push(W),()=>{this._listeners=this._listeners.filter(me=>W!==me)}}ngOnDestroy(){this._listeners=[]}}return te.\u0275fac=function(W){return new(W||te)},te.\u0275prov=i.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})()},9521:(ze,Ee,s)=>{s.d(Ee,{A:()=>B,JH:()=>le,JU:()=>de,K5:()=>K,Ku:()=>U,LH:()=>ye,L_:()=>te,MW:()=>q,Mf:()=>o,SV:()=>be,Sd:()=>fe,VM:()=>W,Vb:()=>Je,Z:()=>V,ZH:()=>i,aO:()=>Le,b2:()=>Xe,hY:()=>ce,jx:()=>ve,oh:()=>R,uR:()=>me,xE:()=>M,yY:()=>v,zL:()=>he});const i=8,o=9,K=13,de=16,ve=17,he=18,ce=27,te=32,U=33,W=34,me=35,fe=36,R=37,ye=38,be=39,le=40,v=46,M=48,Le=57,B=65,V=90,q=91,Xe=224;function Je(Ge,...Ke){return Ke.length?Ke.some(Qe=>Ge[Qe]):Ge.altKey||Ge.shiftKey||Ge.ctrlKey||Ge.metaKey}},9643:(ze,Ee,s)=>{s.d(Ee,{Q8:()=>_,wD:()=>he});var e=s(1281),i=s(4650),o=s(9751),H=s(7579),K=s(8372);let de=(()=>{class re{create(te){return typeof MutationObserver>"u"?null:new MutationObserver(te)}}return re.\u0275fac=function(te){return new(te||re)},re.\u0275prov=i.Yz7({token:re,factory:re.\u0275fac,providedIn:"root"}),re})(),ve=(()=>{class re{constructor(te){this._mutationObserverFactory=te,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((te,U)=>this._cleanupObserver(U))}observe(te){const U=(0,e.fI)(te);return new o.y(W=>{const fe=this._observeElement(U).subscribe(W);return()=>{fe.unsubscribe(),this._unobserveElement(U)}})}_observeElement(te){if(this._observedElements.has(te))this._observedElements.get(te).count++;else{const U=new H.x,W=this._mutationObserverFactory.create(me=>U.next(me));W&&W.observe(te,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(te,{observer:W,stream:U,count:1})}return this._observedElements.get(te).stream}_unobserveElement(te){this._observedElements.has(te)&&(this._observedElements.get(te).count--,this._observedElements.get(te).count||this._cleanupObserver(te))}_cleanupObserver(te){if(this._observedElements.has(te)){const{observer:U,stream:W}=this._observedElements.get(te);U&&U.disconnect(),W.complete(),this._observedElements.delete(te)}}}return re.\u0275fac=function(te){return new(te||re)(i.LFG(de))},re.\u0275prov=i.Yz7({token:re,factory:re.\u0275fac,providedIn:"root"}),re})(),he=(()=>{class re{get disabled(){return this._disabled}set disabled(te){this._disabled=(0,e.Ig)(te),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(te){this._debounce=(0,e.su)(te),this._subscribe()}constructor(te,U,W){this._contentObserver=te,this._elementRef=U,this._ngZone=W,this.event=new i.vpe,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const te=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?te.pipe((0,K.b)(this.debounce)):te).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return re.\u0275fac=function(te){return new(te||re)(i.Y36(ve),i.Y36(i.SBq),i.Y36(i.R0b))},re.\u0275dir=i.lG2({type:re,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),re})(),_=(()=>{class re{}return re.\u0275fac=function(te){return new(te||re)},re.\u0275mod=i.oAB({type:re}),re.\u0275inj=i.cJS({providers:[de]}),re})()},8184:(ze,Ee,s)=>{s.d(Ee,{Iu:()=>Le,U8:()=>ke,X_:()=>v,Xj:()=>Re,_G:()=>we,aV:()=>J,pI:()=>A,xu:()=>ge});var e=s(7376),i=s(6895),o=s(4650),H=s(1281),K=s(3353),de=s(445),ve=s(4080),he=s(7579),_=s(727),re=s(6451),ce=s(5698),te=s(2722),U=s(2529),W=s(9521);const me=(0,K.Mq)();class fe{constructor(l,p){this._viewportRuler=l,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=p}attach(){}enable(){if(this._canBeEnabled()){const l=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=l.style.left||"",this._previousHTMLStyles.top=l.style.top||"",l.style.left=(0,H.HM)(-this._previousScrollPosition.left),l.style.top=(0,H.HM)(-this._previousScrollPosition.top),l.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const l=this._document.documentElement,I=l.style,j=this._document.body.style,oe=I.scrollBehavior||"",ue=j.scrollBehavior||"";this._isEnabled=!1,I.left=this._previousHTMLStyles.left,I.top=this._previousHTMLStyles.top,l.classList.remove("cdk-global-scrollblock"),me&&(I.scrollBehavior=j.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),me&&(I.scrollBehavior=oe,j.scrollBehavior=ue)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const p=this._document.body,I=this._viewportRuler.getViewportSize();return p.scrollHeight>I.height||p.scrollWidth>I.width}}class ye{constructor(l,p,I,j){this._scrollDispatcher=l,this._ngZone=p,this._viewportRuler=I,this._config=j,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(l){this._overlayRef=l}enable(){if(this._scrollSubscription)return;const l=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=l.subscribe(()=>{const p=this._viewportRuler.getViewportScrollPosition().top;Math.abs(p-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=l.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class be{enable(){}disable(){}attach(){}}function le(ee,l){return l.some(p=>ee.bottom<p.top||ee.top>p.bottom||ee.right<p.left||ee.left>p.right)}function F(ee,l){return l.some(p=>ee.top<p.top||ee.bottom>p.bottom||ee.left<p.left||ee.right>p.right)}class ie{constructor(l,p,I,j){this._scrollDispatcher=l,this._viewportRuler=p,this._ngZone=I,this._config=j,this._scrollSubscription=null}attach(l){this._overlayRef=l}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 p=this._overlayRef.overlayElement.getBoundingClientRect(),{width:I,height:j}=this._viewportRuler.getViewportSize();le(p,[{width:I,height:j,bottom:j,right:I,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 u=(()=>{class ee{constructor(p,I,j,oe){this._scrollDispatcher=p,this._viewportRuler=I,this._ngZone=j,this.noop=()=>new be,this.close=ue=>new ye(this._scrollDispatcher,this._ngZone,this._viewportRuler,ue),this.block=()=>new fe(this._viewportRuler,this._document),this.reposition=ue=>new ie(this._scrollDispatcher,this._viewportRuler,this._ngZone,ue),this._document=oe}}return ee.\u0275fac=function(p){return new(p||ee)(o.LFG(e.mF),o.LFG(e.rL),o.LFG(o.R0b),o.LFG(i.K0))},ee.\u0275prov=o.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();class v{constructor(l){if(this.scrollStrategy=new be,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,l){const p=Object.keys(l);for(const I of p)void 0!==l[I]&&(this[I]=l[I])}}}class pe{constructor(l,p){this.connectionPair=l,this.scrollableViewProperties=p}}let Te=(()=>{class ee{constructor(p){this._attachedOverlays=[],this._document=p}ngOnDestroy(){this.detach()}add(p){this.remove(p),this._attachedOverlays.push(p)}remove(p){const I=this._attachedOverlays.indexOf(p);I>-1&&this._attachedOverlays.splice(I,1),0===this._attachedOverlays.length&&this.detach()}}return ee.\u0275fac=function(p){return new(p||ee)(o.LFG(i.K0))},ee.\u0275prov=o.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),Ae=(()=>{class ee extends Te{constructor(p,I){super(p),this._ngZone=I,this._keydownListener=j=>{const oe=this._attachedOverlays;for(let ue=oe.length-1;ue>-1;ue--)if(oe[ue]._keydownEvents.observers.length>0){const Se=oe[ue]._keydownEvents;this._ngZone?this._ngZone.run(()=>Se.next(j)):Se.next(j);break}}}add(p){super.add(p),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)}}return ee.\u0275fac=function(p){return new(p||ee)(o.LFG(i.K0),o.LFG(o.R0b,8))},ee.\u0275prov=o.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),Ie=(()=>{class ee extends Te{constructor(p,I,j){super(p),this._platform=I,this._ngZone=j,this._cursorStyleIsSet=!1,this._pointerDownListener=oe=>{this._pointerDownEventTarget=(0,K.sA)(oe)},this._clickListener=oe=>{const ue=(0,K.sA)(oe),Se="click"===oe.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:ue;this._pointerDownEventTarget=null;const V=this._attachedOverlays.slice();for(let q=V.length-1;q>-1;q--){const c=V[q];if(c._outsidePointerEvents.observers.length<1||!c.hasAttached())continue;if(c.overlayElement.contains(ue)||c.overlayElement.contains(Se))break;const S=c._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>S.next(oe)):S.next(oe)}}}add(p){if(super.add(p),!this._isAttached){const I=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(I)):this._addEventListeners(I),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=I.style.cursor,I.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const p=this._document.body;p.removeEventListener("pointerdown",this._pointerDownListener,!0),p.removeEventListener("click",this._clickListener,!0),p.removeEventListener("auxclick",this._clickListener,!0),p.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(p.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(p){p.addEventListener("pointerdown",this._pointerDownListener,!0),p.addEventListener("click",this._clickListener,!0),p.addEventListener("auxclick",this._clickListener,!0),p.addEventListener("contextmenu",this._clickListener,!0)}}return ee.\u0275fac=function(p){return new(p||ee)(o.LFG(i.K0),o.LFG(K.t4),o.LFG(o.R0b,8))},ee.\u0275prov=o.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),Re=(()=>{class ee{constructor(p,I){this._platform=I,this._document=p}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const p="cdk-overlay-container";if(this._platform.isBrowser||(0,K.Oy)()){const j=this._document.querySelectorAll(`.${p}[platform="server"], .${p}[platform="test"]`);for(let oe=0;oe<j.length;oe++)j[oe].remove()}const I=this._document.createElement("div");I.classList.add(p),(0,K.Oy)()?I.setAttribute("platform","test"):this._platform.isBrowser||I.setAttribute("platform","server"),this._document.body.appendChild(I),this._containerElement=I}}return ee.\u0275fac=function(p){return new(p||ee)(o.LFG(i.K0),o.LFG(K.t4))},ee.\u0275prov=o.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();class Le{constructor(l,p,I,j,oe,ue,Se,V,q,c=!1){this._portalOutlet=l,this._host=p,this._pane=I,this._config=j,this._ngZone=oe,this._keyboardDispatcher=ue,this._document=Se,this._location=V,this._outsideClickDispatcher=q,this._animationsDisabled=c,this._backdropElement=null,this._backdropClick=new he.x,this._attachments=new he.x,this._detachments=new he.x,this._locationChanges=_.w0.EMPTY,this._backdropClickHandler=S=>this._backdropClick.next(S),this._backdropTransitionendHandler=S=>{this._disposeBackdrop(S.target)},this._keydownEvents=new he.x,this._outsidePointerEvents=new he.x,j.scrollStrategy&&(this._scrollStrategy=j.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=j.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(l){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const p=this._portalOutlet.attach(l);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,ce.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 p?.onDestroy&&p.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),p}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const l=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),l}dispose(){const l=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,l&&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(l){l!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=l,this.hasAttached()&&(l.attach(this),this.updatePosition()))}updateSize(l){this._config={...this._config,...l},this._updateElementSize()}setDirection(l){this._config={...this._config,direction:l},this._updateElementDirection()}addPanelClass(l){this._pane&&this._toggleClasses(this._pane,l,!0)}removePanelClass(l){this._pane&&this._toggleClasses(this._pane,l,!1)}getDirection(){const l=this._config.direction;return l?"string"==typeof l?l:l.value:"ltr"}updateScrollStrategy(l){l!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=l,this.hasAttached()&&(l.attach(this),l.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const l=this._pane.style;l.width=(0,H.HM)(this._config.width),l.height=(0,H.HM)(this._config.height),l.minWidth=(0,H.HM)(this._config.minWidth),l.minHeight=(0,H.HM)(this._config.minHeight),l.maxWidth=(0,H.HM)(this._config.maxWidth),l.maxHeight=(0,H.HM)(this._config.maxHeight)}_togglePointerEvents(l){this._pane.style.pointerEvents=l?"":"none"}_attachBackdrop(){const l="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(l)})}):this._backdropElement.classList.add(l)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const l=this._backdropElement;if(l){if(this._animationsDisabled)return void this._disposeBackdrop(l);l.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{l.addEventListener("transitionend",this._backdropTransitionendHandler)}),l.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(l)},500))}}_toggleClasses(l,p,I){const j=(0,H.Eq)(p||[]).filter(oe=>!!oe);j.length&&(I?l.classList.add(...j):l.classList.remove(...j))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const l=this._ngZone.onStable.pipe((0,te.R)((0,re.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()),l.unsubscribe())})})}_disposeScrollStrategy(){const l=this._scrollStrategy;l&&(l.disable(),l.detach&&l.detach())}_disposeBackdrop(l){l&&(l.removeEventListener("click",this._backdropClickHandler),l.removeEventListener("transitionend",this._backdropTransitionendHandler),l.remove(),this._backdropElement===l&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const Pe="cdk-overlay-connected-position-bounding-box",Fe=/([A-Za-z%]+)$/;class we{get positions(){return this._preferredPositions}constructor(l,p,I,j,oe){this._viewportRuler=p,this._document=I,this._platform=j,this._overlayContainer=oe,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 he.x,this._resizeSubscription=_.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(l)}attach(l){this._validatePositions(),l.hostElement.classList.add(Pe),this._overlayRef=l,this._boundingBox=l.hostElement,this._pane=l.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 l=this._originRect,p=this._overlayRect,I=this._viewportRect,j=this._containerRect,oe=[];let ue;for(let Se of this._preferredPositions){let V=this._getOriginPoint(l,j,Se),q=this._getOverlayPoint(V,p,Se),c=this._getOverlayFit(q,p,I,Se);if(c.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Se,V);this._canFitWithFlexibleDimensions(c,q,I)?oe.push({position:Se,origin:V,overlayRect:p,boundingBoxRect:this._calculateBoundingBoxRect(V,Se)}):(!ue||ue.overlayFit.visibleArea<c.visibleArea)&&(ue={overlayFit:c,overlayPoint:q,originPoint:V,position:Se,overlayRect:p})}if(oe.length){let Se=null,V=-1;for(const q of oe){const c=q.boundingBoxRect.width*q.boundingBoxRect.height*(q.position.weight||1);c>V&&(V=c,Se=q)}return this._isPushed=!1,void this._applyPosition(Se.position,Se.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(ue.position,ue.originPoint);this._applyPosition(ue.position,ue.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ae(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Pe),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const l=this._lastPosition;if(l){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const p=this._getOriginPoint(this._originRect,this._containerRect,l);this._applyPosition(l,p)}else this.apply()}withScrollableContainers(l){return this._scrollables=l,this}withPositions(l){return this._preferredPositions=l,-1===l.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(l){return this._viewportMargin=l,this}withFlexibleDimensions(l=!0){return this._hasFlexibleDimensions=l,this}withGrowAfterOpen(l=!0){return this._growAfterOpen=l,this}withPush(l=!0){return this._canPush=l,this}withLockedPosition(l=!0){return this._positionLocked=l,this}setOrigin(l){return this._origin=l,this}withDefaultOffsetX(l){return this._offsetX=l,this}withDefaultOffsetY(l){return this._offsetY=l,this}withTransformOriginOn(l){return this._transformOriginSelector=l,this}_getOriginPoint(l,p,I){let j,oe;if("center"==I.originX)j=l.left+l.width/2;else{const ue=this._isRtl()?l.right:l.left,Se=this._isRtl()?l.left:l.right;j="start"==I.originX?ue:Se}return p.left<0&&(j-=p.left),oe="center"==I.originY?l.top+l.height/2:"top"==I.originY?l.top:l.bottom,p.top<0&&(oe-=p.top),{x:j,y:oe}}_getOverlayPoint(l,p,I){let j,oe;return j="center"==I.overlayX?-p.width/2:"start"===I.overlayX?this._isRtl()?-p.width:0:this._isRtl()?0:-p.width,oe="center"==I.overlayY?-p.height/2:"top"==I.overlayY?0:-p.height,{x:l.x+j,y:l.y+oe}}_getOverlayFit(l,p,I,j){const oe=x(p);let{x:ue,y:Se}=l,V=this._getOffset(j,"x"),q=this._getOffset(j,"y");V&&(ue+=V),q&&(Se+=q);let y=0-Se,L=Se+oe.height-I.height,w=this._subtractOverflows(oe.width,0-ue,ue+oe.width-I.width),t=this._subtractOverflows(oe.height,y,L),n=w*t;return{visibleArea:n,isCompletelyWithinViewport:oe.width*oe.height===n,fitsInViewportVertically:t===oe.height,fitsInViewportHorizontally:w==oe.width}}_canFitWithFlexibleDimensions(l,p,I){if(this._hasFlexibleDimensions){const j=I.bottom-p.y,oe=I.right-p.x,ue=B(this._overlayRef.getConfig().minHeight),Se=B(this._overlayRef.getConfig().minWidth);return(l.fitsInViewportVertically||null!=ue&&ue<=j)&&(l.fitsInViewportHorizontally||null!=Se&&Se<=oe)}return!1}_pushOverlayOnScreen(l,p,I){if(this._previousPushAmount&&this._positionLocked)return{x:l.x+this._previousPushAmount.x,y:l.y+this._previousPushAmount.y};const j=x(p),oe=this._viewportRect,ue=Math.max(l.x+j.width-oe.width,0),Se=Math.max(l.y+j.height-oe.height,0),V=Math.max(oe.top-I.top-l.y,0),q=Math.max(oe.left-I.left-l.x,0);let c=0,S=0;return c=j.width<=oe.width?q||-ue:l.x<this._viewportMargin?oe.left-I.left-l.x:0,S=j.height<=oe.height?V||-Se:l.y<this._viewportMargin?oe.top-I.top-l.y:0,this._previousPushAmount={x:c,y:S},{x:l.x+c,y:l.y+S}}_applyPosition(l,p){if(this._setTransformOrigin(l),this._setOverlayElementStyles(p,l),this._setBoundingBoxStyles(p,l),l.panelClass&&this._addPanelClasses(l.panelClass),this._lastPosition=l,this._positionChanges.observers.length){const I=this._getScrollVisibility(),j=new pe(l,I);this._positionChanges.next(j)}this._isInitialRender=!1}_setTransformOrigin(l){if(!this._transformOriginSelector)return;const p=this._boundingBox.querySelectorAll(this._transformOriginSelector);let I,j=l.overlayY;I="center"===l.overlayX?"center":this._isRtl()?"start"===l.overlayX?"right":"left":"start"===l.overlayX?"left":"right";for(let oe=0;oe<p.length;oe++)p[oe].style.transformOrigin=`${I} ${j}`}_calculateBoundingBoxRect(l,p){const I=this._viewportRect,j=this._isRtl();let oe,ue,Se,c,S,y;if("top"===p.overlayY)ue=l.y,oe=I.height-ue+this._viewportMargin;else if("bottom"===p.overlayY)Se=I.height-l.y+2*this._viewportMargin,oe=I.height-Se+this._viewportMargin;else{const L=Math.min(I.bottom-l.y+I.top,l.y),w=this._lastBoundingBoxSize.height;oe=2*L,ue=l.y-L,oe>w&&!this._isInitialRender&&!this._growAfterOpen&&(ue=l.y-w/2)}if("end"===p.overlayX&&!j||"start"===p.overlayX&&j)y=I.width-l.x+this._viewportMargin,c=l.x-this._viewportMargin;else if("start"===p.overlayX&&!j||"end"===p.overlayX&&j)S=l.x,c=I.right-l.x;else{const L=Math.min(I.right-l.x+I.left,l.x),w=this._lastBoundingBoxSize.width;c=2*L,S=l.x-L,c>w&&!this._isInitialRender&&!this._growAfterOpen&&(S=l.x-w/2)}return{top:ue,left:S,bottom:Se,right:y,width:c,height:oe}}_setBoundingBoxStyles(l,p){const I=this._calculateBoundingBoxRect(l,p);!this._isInitialRender&&!this._growAfterOpen&&(I.height=Math.min(I.height,this._lastBoundingBoxSize.height),I.width=Math.min(I.width,this._lastBoundingBoxSize.width));const j={};if(this._hasExactPosition())j.top=j.left="0",j.bottom=j.right=j.maxHeight=j.maxWidth="",j.width=j.height="100%";else{const oe=this._overlayRef.getConfig().maxHeight,ue=this._overlayRef.getConfig().maxWidth;j.height=(0,H.HM)(I.height),j.top=(0,H.HM)(I.top),j.bottom=(0,H.HM)(I.bottom),j.width=(0,H.HM)(I.width),j.left=(0,H.HM)(I.left),j.right=(0,H.HM)(I.right),j.alignItems="center"===p.overlayX?"center":"end"===p.overlayX?"flex-end":"flex-start",j.justifyContent="center"===p.overlayY?"center":"bottom"===p.overlayY?"flex-end":"flex-start",oe&&(j.maxHeight=(0,H.HM)(oe)),ue&&(j.maxWidth=(0,H.HM)(ue))}this._lastBoundingBoxSize=I,ae(this._boundingBox.style,j)}_resetBoundingBoxStyles(){ae(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ae(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(l,p){const I={},j=this._hasExactPosition(),oe=this._hasFlexibleDimensions,ue=this._overlayRef.getConfig();if(j){const c=this._viewportRuler.getViewportScrollPosition();ae(I,this._getExactOverlayY(p,l,c)),ae(I,this._getExactOverlayX(p,l,c))}else I.position="static";let Se="",V=this._getOffset(p,"x"),q=this._getOffset(p,"y");V&&(Se+=`translateX(${V}px) `),q&&(Se+=`translateY(${q}px)`),I.transform=Se.trim(),ue.maxHeight&&(j?I.maxHeight=(0,H.HM)(ue.maxHeight):oe&&(I.maxHeight="")),ue.maxWidth&&(j?I.maxWidth=(0,H.HM)(ue.maxWidth):oe&&(I.maxWidth="")),ae(this._pane.style,I)}_getExactOverlayY(l,p,I){let j={top:"",bottom:""},oe=this._getOverlayPoint(p,this._overlayRect,l);return this._isPushed&&(oe=this._pushOverlayOnScreen(oe,this._overlayRect,I)),"bottom"===l.overlayY?j.bottom=this._document.documentElement.clientHeight-(oe.y+this._overlayRect.height)+"px":j.top=(0,H.HM)(oe.y),j}_getExactOverlayX(l,p,I){let ue,j={left:"",right:""},oe=this._getOverlayPoint(p,this._overlayRect,l);return this._isPushed&&(oe=this._pushOverlayOnScreen(oe,this._overlayRect,I)),ue=this._isRtl()?"end"===l.overlayX?"left":"right":"end"===l.overlayX?"right":"left","right"===ue?j.right=this._document.documentElement.clientWidth-(oe.x+this._overlayRect.width)+"px":j.left=(0,H.HM)(oe.x),j}_getScrollVisibility(){const l=this._getOriginRect(),p=this._pane.getBoundingClientRect(),I=this._scrollables.map(j=>j.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:F(l,I),isOriginOutsideView:le(l,I),isOverlayClipped:F(p,I),isOverlayOutsideView:le(p,I)}}_subtractOverflows(l,...p){return p.reduce((I,j)=>I-Math.max(j,0),l)}_getNarrowedViewportRect(){const l=this._document.documentElement.clientWidth,p=this._document.documentElement.clientHeight,I=this._viewportRuler.getViewportScrollPosition();return{top:I.top+this._viewportMargin,left:I.left+this._viewportMargin,right:I.left+l-this._viewportMargin,bottom:I.top+p-this._viewportMargin,width:l-2*this._viewportMargin,height:p-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(l,p){return"x"===p?null==l.offsetX?this._offsetX:l.offsetX:null==l.offsetY?this._offsetY:l.offsetY}_validatePositions(){}_addPanelClasses(l){this._pane&&(0,H.Eq)(l).forEach(p=>{""!==p&&-1===this._appliedPanelClasses.indexOf(p)&&(this._appliedPanelClasses.push(p),this._pane.classList.add(p))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(l=>{this._pane.classList.remove(l)}),this._appliedPanelClasses=[])}_getOriginRect(){const l=this._origin;if(l instanceof o.SBq)return l.nativeElement.getBoundingClientRect();if(l instanceof Element)return l.getBoundingClientRect();const p=l.width||0,I=l.height||0;return{top:l.y,bottom:l.y+I,left:l.x,right:l.x+p,height:I,width:p}}}function ae(ee,l){for(let p in l)l.hasOwnProperty(p)&&(ee[p]=l[p]);return ee}function B(ee){if("number"!=typeof ee&&null!=ee){const[l,p]=ee.split(Fe);return p&&"px"!==p?null:parseFloat(l)}return ee||null}function x(ee){return{top:Math.floor(ee.top),right:Math.floor(ee.right),bottom:Math.floor(ee.bottom),left:Math.floor(ee.left),width:Math.floor(ee.width),height:Math.floor(ee.height)}}const f="cdk-global-overlay-wrapper";class k{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(l){const p=l.getConfig();this._overlayRef=l,this._width&&!p.width&&l.updateSize({width:this._width}),this._height&&!p.height&&l.updateSize({height:this._height}),l.hostElement.classList.add(f),this._isDisposed=!1}top(l=""){return this._bottomOffset="",this._topOffset=l,this._alignItems="flex-start",this}left(l=""){return this._xOffset=l,this._xPosition="left",this}bottom(l=""){return this._topOffset="",this._bottomOffset=l,this._alignItems="flex-end",this}right(l=""){return this._xOffset=l,this._xPosition="right",this}start(l=""){return this._xOffset=l,this._xPosition="start",this}end(l=""){return this._xOffset=l,this._xPosition="end",this}width(l=""){return this._overlayRef?this._overlayRef.updateSize({width:l}):this._width=l,this}height(l=""){return this._overlayRef?this._overlayRef.updateSize({height:l}):this._height=l,this}centerHorizontally(l=""){return this.left(l),this._xPosition="center",this}centerVertically(l=""){return this.top(l),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const l=this._overlayRef.overlayElement.style,p=this._overlayRef.hostElement.style,I=this._overlayRef.getConfig(),{width:j,height:oe,maxWidth:ue,maxHeight:Se}=I,V=!("100%"!==j&&"100vw"!==j||ue&&"100%"!==ue&&"100vw"!==ue),q=!("100%"!==oe&&"100vh"!==oe||Se&&"100%"!==Se&&"100vh"!==Se),c=this._xPosition,S=this._xOffset,y="rtl"===this._overlayRef.getConfig().direction;let L="",w="",t="";V?t="flex-start":"center"===c?(t="center",y?w=S:L=S):y?"left"===c||"end"===c?(t="flex-end",L=S):("right"===c||"start"===c)&&(t="flex-start",w=S):"left"===c||"start"===c?(t="flex-start",L=S):("right"===c||"end"===c)&&(t="flex-end",w=S),l.position=this._cssPosition,l.marginLeft=V?"0":L,l.marginTop=q?"0":this._topOffset,l.marginBottom=this._bottomOffset,l.marginRight=V?"0":w,p.justifyContent=t,p.alignItems=q?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const l=this._overlayRef.overlayElement.style,p=this._overlayRef.hostElement,I=p.style;p.classList.remove(f),I.justifyContent=I.alignItems=l.marginTop=l.marginBottom=l.marginLeft=l.marginRight=l.position="",this._overlayRef=null,this._isDisposed=!0}}let X=(()=>{class ee{constructor(p,I,j,oe){this._viewportRuler=p,this._document=I,this._platform=j,this._overlayContainer=oe}global(){return new k}flexibleConnectedTo(p){return new we(p,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return ee.\u0275fac=function(p){return new(p||ee)(o.LFG(e.rL),o.LFG(i.K0),o.LFG(K.t4),o.LFG(Re))},ee.\u0275prov=o.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),N=0,J=(()=>{class ee{constructor(p,I,j,oe,ue,Se,V,q,c,S,y,L){this.scrollStrategies=p,this._overlayContainer=I,this._componentFactoryResolver=j,this._positionBuilder=oe,this._keyboardDispatcher=ue,this._injector=Se,this._ngZone=V,this._document=q,this._directionality=c,this._location=S,this._outsideClickDispatcher=y,this._animationsModuleType=L}create(p){const I=this._createHostElement(),j=this._createPaneElement(I),oe=this._createPortalOutlet(j),ue=new v(p);return ue.direction=ue.direction||this._directionality.value,new Le(oe,I,j,ue,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(p){const I=this._document.createElement("div");return I.id="cdk-overlay-"+N++,I.classList.add("cdk-overlay-pane"),p.appendChild(I),I}_createHostElement(){const p=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(p),p}_createPortalOutlet(p){return this._appRef||(this._appRef=this._injector.get(o.z2F)),new ve.u0(p,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return ee.\u0275fac=function(p){return new(p||ee)(o.LFG(u),o.LFG(Re),o.LFG(o._Vd),o.LFG(X),o.LFG(Ae),o.LFG(o.zs3),o.LFG(o.R0b),o.LFG(i.K0),o.LFG(de.Is),o.LFG(i.Ye),o.LFG(Ie),o.LFG(o.QbO,8))},ee.\u0275prov=o.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();const Z=[{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"}],ne=new o.OlP("cdk-connected-overlay-scroll-strategy");let ge=(()=>{class ee{constructor(p){this.elementRef=p}}return ee.\u0275fac=function(p){return new(p||ee)(o.Y36(o.SBq))},ee.\u0275dir=o.lG2({type:ee,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),ee})(),A=(()=>{class ee{get offsetX(){return this._offsetX}set offsetX(p){this._offsetX=p,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(p){this._offsetY=p,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(p){this._hasBackdrop=(0,H.Ig)(p)}get lockPosition(){return this._lockPosition}set lockPosition(p){this._lockPosition=(0,H.Ig)(p)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(p){this._flexibleDimensions=(0,H.Ig)(p)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(p){this._growAfterOpen=(0,H.Ig)(p)}get push(){return this._push}set push(p){this._push=(0,H.Ig)(p)}constructor(p,I,j,oe,ue){this._overlay=p,this._dir=ue,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=_.w0.EMPTY,this._attachSubscription=_.w0.EMPTY,this._detachSubscription=_.w0.EMPTY,this._positionSubscription=_.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new o.vpe,this.positionChange=new o.vpe,this.attach=new o.vpe,this.detach=new o.vpe,this.overlayKeydown=new o.vpe,this.overlayOutsideClick=new o.vpe,this._templatePortal=new ve.UE(I,j),this._scrollStrategyFactory=oe,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(p){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),p.origin&&this.open&&this._position.apply()),p.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Z);const p=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=p.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=p.detachments().subscribe(()=>this.detach.emit()),p.keydownEvents().subscribe(I=>{this.overlayKeydown.next(I),I.keyCode===W.hY&&!this.disableClose&&!(0,W.Vb)(I)&&(I.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(I=>{this.overlayOutsideClick.next(I)})}_buildConfig(){const p=this._position=this.positionStrategy||this._createPositionStrategy(),I=new v({direction:this._dir,positionStrategy:p,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(I.width=this.width),(this.height||0===this.height)&&(I.height=this.height),(this.minWidth||0===this.minWidth)&&(I.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(I.minHeight=this.minHeight),this.backdropClass&&(I.backdropClass=this.backdropClass),this.panelClass&&(I.panelClass=this.panelClass),I}_updatePositionStrategy(p){const I=this.positions.map(j=>({originX:j.originX,originY:j.originY,overlayX:j.overlayX,overlayY:j.overlayY,offsetX:j.offsetX||this.offsetX,offsetY:j.offsetY||this.offsetY,panelClass:j.panelClass||void 0}));return p.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(I).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const p=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(p),p}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof ge?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(p=>{this.backdropClick.emit(p)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,U.o)(()=>this.positionChange.observers.length>0)).subscribe(p=>{this.positionChange.emit(p),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return ee.\u0275fac=function(p){return new(p||ee)(o.Y36(J),o.Y36(o.Rgc),o.Y36(o.s_b),o.Y36(ne),o.Y36(de.Is,8))},ee.\u0275dir=o.lG2({type:ee,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:[o.TTD]}),ee})();const xe={provide:ne,deps:[J],useFactory:function Y(ee){return()=>ee.scrollStrategies.reposition()}};let ke=(()=>{class ee{}return ee.\u0275fac=function(p){return new(p||ee)},ee.\u0275mod=o.oAB({type:ee}),ee.\u0275inj=o.cJS({providers:[J,xe],imports:[de.vT,ve.eL,e.Cl,e.Cl]}),ee})()},3353:(ze,Ee,s)=>{s.d(Ee,{Mq:()=>W,Oy:()=>F,_i:()=>me,ht:()=>be,i$:()=>ce,kV:()=>ye,qK:()=>he,sA:()=>le,t4:()=>H});var e=s(4650),i=s(6895);let o;try{o=typeof Intl<"u"&&Intl.v8BreakIterator}catch{o=!1}let de,H=(()=>{class ie{constructor(v){this._platformId=v,this.isBrowser=this._platformId?(0,i.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&&!o)&&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}}return ie.\u0275fac=function(v){return new(v||ie)(e.LFG(e.Lbi))},ie.\u0275prov=e.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})();const ve=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function he(){if(de)return de;if("object"!=typeof document||!document)return de=new Set(ve),de;let ie=document.createElement("input");return de=new Set(ve.filter(u=>(ie.setAttribute("type",u),ie.type===u))),de}let _,te,U,fe;function ce(ie){return function re(){if(null==_&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>_=!0}))}finally{_=_||!1}return _}()?ie:!!ie.capture}function W(){if(null==U){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return U=!1,U;if("scrollBehavior"in document.documentElement.style)U=!0;else{const ie=Element.prototype.scrollTo;U=!!ie&&!/\{\s*\[native code\]\s*\}/.test(ie.toString())}}return U}function me(){if("object"!=typeof document||!document)return 0;if(null==te){const ie=document.createElement("div"),u=ie.style;ie.dir="rtl",u.width="1px",u.overflow="auto",u.visibility="hidden",u.pointerEvents="none",u.position="absolute";const v=document.createElement("div"),M=v.style;M.width="2px",M.height="1px",ie.appendChild(v),document.body.appendChild(ie),te=0,0===ie.scrollLeft&&(ie.scrollLeft=1,te=0===ie.scrollLeft?1:2),ie.remove()}return te}function ye(ie){if(function R(){if(null==fe){const ie=typeof document<"u"?document.head:null;fe=!(!ie||!ie.createShadowRoot&&!ie.attachShadow)}return fe}()){const u=ie.getRootNode?ie.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&u instanceof ShadowRoot)return u}return null}function be(){let ie=typeof document<"u"&&document?document.activeElement:null;for(;ie&&ie.shadowRoot;){const u=ie.shadowRoot.activeElement;if(u===ie)break;ie=u}return ie}function le(ie){return ie.composedPath?ie.composedPath()[0]:ie.target}function F(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},4080:(ze,Ee,s)=>{s.d(Ee,{C5:()=>re,Pl:()=>be,UE:()=>ce,eL:()=>F,en:()=>U,u0:()=>me});var e=s(4650),i=s(6895);class _{attach(v){return this._attachedHost=v,v.attach(this)}detach(){let v=this._attachedHost;null!=v&&(this._attachedHost=null,v.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(v){this._attachedHost=v}}class re extends _{constructor(v,M,$,pe,De){super(),this.component=v,this.viewContainerRef=M,this.injector=$,this.componentFactoryResolver=pe,this.projectableNodes=De}}class ce extends _{constructor(v,M,$,pe){super(),this.templateRef=v,this.viewContainerRef=M,this.context=$,this.injector=pe}get origin(){return this.templateRef.elementRef}attach(v,M=this.context){return this.context=M,super.attach(v)}detach(){return this.context=void 0,super.detach()}}class te extends _{constructor(v){super(),this.element=v instanceof e.SBq?v.nativeElement:v}}class U{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(v){return v instanceof re?(this._attachedPortal=v,this.attachComponentPortal(v)):v instanceof ce?(this._attachedPortal=v,this.attachTemplatePortal(v)):this.attachDomPortal&&v instanceof te?(this._attachedPortal=v,this.attachDomPortal(v)):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(v){this._disposeFn=v}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class me extends U{constructor(v,M,$,pe,De){super(),this.outletElement=v,this._componentFactoryResolver=M,this._appRef=$,this._defaultInjector=pe,this.attachDomPortal=Me=>{const Te=Me.element,Ae=this._document.createComment("dom-portal");Te.parentNode.insertBefore(Ae,Te),this.outletElement.appendChild(Te),this._attachedPortal=Me,super.setDisposeFn(()=>{Ae.parentNode&&Ae.parentNode.replaceChild(Te,Ae)})},this._document=De}attachComponentPortal(v){const $=(v.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(v.component);let pe;return v.viewContainerRef?(pe=v.viewContainerRef.createComponent($,v.viewContainerRef.length,v.injector||v.viewContainerRef.injector,v.projectableNodes||void 0),this.setDisposeFn(()=>pe.destroy())):(pe=$.create(v.injector||this._defaultInjector||e.zs3.NULL),this._appRef.attachView(pe.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(pe.hostView),pe.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(pe)),this._attachedPortal=v,pe}attachTemplatePortal(v){let M=v.viewContainerRef,$=M.createEmbeddedView(v.templateRef,v.context,{injector:v.injector});return $.rootNodes.forEach(pe=>this.outletElement.appendChild(pe)),$.detectChanges(),this.setDisposeFn(()=>{let pe=M.indexOf($);-1!==pe&&M.remove(pe)}),this._attachedPortal=v,$}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(v){return v.hostView.rootNodes[0]}}let be=(()=>{class u extends U{constructor(M,$,pe){super(),this._componentFactoryResolver=M,this._viewContainerRef=$,this._isInitialized=!1,this.attached=new e.vpe,this.attachDomPortal=De=>{const Me=De.element,Te=this._document.createComment("dom-portal");De.setAttachedHost(this),Me.parentNode.insertBefore(Te,Me),this._getRootNode().appendChild(Me),this._attachedPortal=De,super.setDisposeFn(()=>{Te.parentNode&&Te.parentNode.replaceChild(Me,Te)})},this._document=pe}get portal(){return this._attachedPortal}set portal(M){this.hasAttached()&&!M&&!this._isInitialized||(this.hasAttached()&&super.detach(),M&&super.attach(M),this._attachedPortal=M||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(M){M.setAttachedHost(this);const $=null!=M.viewContainerRef?M.viewContainerRef:this._viewContainerRef,De=(M.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(M.component),Me=$.createComponent(De,$.length,M.injector||$.injector,M.projectableNodes||void 0);return $!==this._viewContainerRef&&this._getRootNode().appendChild(Me.hostView.rootNodes[0]),super.setDisposeFn(()=>Me.destroy()),this._attachedPortal=M,this._attachedRef=Me,this.attached.emit(Me),Me}attachTemplatePortal(M){M.setAttachedHost(this);const $=this._viewContainerRef.createEmbeddedView(M.templateRef,M.context,{injector:M.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=M,this._attachedRef=$,this.attached.emit($),$}_getRootNode(){const M=this._viewContainerRef.element.nativeElement;return M.nodeType===M.ELEMENT_NODE?M:M.parentNode}}return u.\u0275fac=function(M){return new(M||u)(e.Y36(e._Vd),e.Y36(e.s_b),e.Y36(i.K0))},u.\u0275dir=e.lG2({type:u,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[e.qOj]}),u})(),F=(()=>{class u{}return u.\u0275fac=function(M){return new(M||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({}),u})()},7376:(ze,Ee,s)=>{s.d(Ee,{Cl:()=>ae,ZD:()=>we,mF:()=>v,rL:()=>pe});var e=s(1281),i=s(4650),o=s(7579),H=s(9646),K=s(9751),de=s(4968),ve=s(6406),he=s(3101),_=s(727),re=s(3601),ce=s(9300),te=s(2722),U=s(8675),W=s(3353),me=s(6895),fe=s(445);const R=["contentWrapper"],ye=["*"],be=new i.OlP("VIRTUAL_SCROLL_STRATEGY");let v=(()=>{class B{constructor(a,C,f){this._ngZone=a,this._platform=C,this._scrolled=new o.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=f}register(a){this.scrollContainers.has(a)||this.scrollContainers.set(a,a.elementScrolled().subscribe(()=>this._scrolled.next(a)))}deregister(a){const C=this.scrollContainers.get(a);C&&(C.unsubscribe(),this.scrollContainers.delete(a))}scrolled(a=20){return this._platform.isBrowser?new K.y(C=>{this._globalSubscription||this._addGlobalListener();const f=a>0?this._scrolled.pipe((0,re.e)(a)).subscribe(C):this._scrolled.subscribe(C);return this._scrolledCount++,()=>{f.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,H.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((a,C)=>this.deregister(C)),this._scrolled.complete()}ancestorScrolled(a,C){const f=this.getAncestorScrollContainers(a);return this.scrolled(C).pipe((0,ce.h)(k=>!k||f.indexOf(k)>-1))}getAncestorScrollContainers(a){const C=[];return this.scrollContainers.forEach((f,k)=>{this._scrollableContainsElement(k,a)&&C.push(k)}),C}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(a,C){let f=(0,e.fI)(C),k=a.getElementRef().nativeElement;do{if(f==k)return!0}while(f=f.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const a=this._getWindow();return(0,de.R)(a.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return B.\u0275fac=function(a){return new(a||B)(i.LFG(i.R0b),i.LFG(W.t4),i.LFG(me.K0,8))},B.\u0275prov=i.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),B})(),M=(()=>{class B{constructor(a,C,f,k){this.elementRef=a,this.scrollDispatcher=C,this.ngZone=f,this.dir=k,this._destroyed=new o.x,this._elementScrolled=new K.y(X=>this.ngZone.runOutsideAngular(()=>(0,de.R)(this.elementRef.nativeElement,"scroll").pipe((0,te.R)(this._destroyed)).subscribe(X)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(a){const C=this.elementRef.nativeElement,f=this.dir&&"rtl"==this.dir.value;null==a.left&&(a.left=f?a.end:a.start),null==a.right&&(a.right=f?a.start:a.end),null!=a.bottom&&(a.top=C.scrollHeight-C.clientHeight-a.bottom),f&&0!=(0,W._i)()?(null!=a.left&&(a.right=C.scrollWidth-C.clientWidth-a.left),2==(0,W._i)()?a.left=a.right:1==(0,W._i)()&&(a.left=a.right?-a.right:a.right)):null!=a.right&&(a.left=C.scrollWidth-C.clientWidth-a.right),this._applyScrollToOptions(a)}_applyScrollToOptions(a){const C=this.elementRef.nativeElement;(0,W.Mq)()?C.scrollTo(a):(null!=a.top&&(C.scrollTop=a.top),null!=a.left&&(C.scrollLeft=a.left))}measureScrollOffset(a){const C="left",f="right",k=this.elementRef.nativeElement;if("top"==a)return k.scrollTop;if("bottom"==a)return k.scrollHeight-k.clientHeight-k.scrollTop;const X=this.dir&&"rtl"==this.dir.value;return"start"==a?a=X?f:C:"end"==a&&(a=X?C:f),X&&2==(0,W._i)()?a==C?k.scrollWidth-k.clientWidth-k.scrollLeft:k.scrollLeft:X&&1==(0,W._i)()?a==C?k.scrollLeft+k.scrollWidth-k.clientWidth:-k.scrollLeft:a==C?k.scrollLeft:k.scrollWidth-k.clientWidth-k.scrollLeft}}return B.\u0275fac=function(a){return new(a||B)(i.Y36(i.SBq),i.Y36(v),i.Y36(i.R0b),i.Y36(fe.Is,8))},B.\u0275dir=i.lG2({type:B,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),B})(),pe=(()=>{class B{constructor(a,C,f){this._platform=a,this._change=new o.x,this._changeListener=k=>{this._change.next(k)},this._document=f,C.runOutsideAngular(()=>{if(a.isBrowser){const k=this._getWindow();k.addEventListener("resize",this._changeListener),k.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const a=this._getWindow();a.removeEventListener("resize",this._changeListener),a.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const a={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),a}getViewportRect(){const a=this.getViewportScrollPosition(),{width:C,height:f}=this.getViewportSize();return{top:a.top,left:a.left,bottom:a.top+f,right:a.left+C,height:f,width:C}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const a=this._document,C=this._getWindow(),f=a.documentElement,k=f.getBoundingClientRect();return{top:-k.top||a.body.scrollTop||C.scrollY||f.scrollTop||0,left:-k.left||a.body.scrollLeft||C.scrollX||f.scrollLeft||0}}change(a=20){return a>0?this._change.pipe((0,re.e)(a)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const a=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:a.innerWidth,height:a.innerHeight}:{width:0,height:0}}}return B.\u0275fac=function(a){return new(a||B)(i.LFG(W.t4),i.LFG(i.R0b),i.LFG(me.K0,8))},B.\u0275prov=i.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),B})();const De=new i.OlP("VIRTUAL_SCROLLABLE");let Me=(()=>{class B extends M{constructor(a,C,f,k){super(a,C,f,k)}measureViewportSize(a){const C=this.elementRef.nativeElement;return"horizontal"===a?C.clientWidth:C.clientHeight}}return B.\u0275fac=function(a){return new(a||B)(i.Y36(i.SBq),i.Y36(v),i.Y36(i.R0b),i.Y36(fe.Is,8))},B.\u0275dir=i.lG2({type:B,features:[i.qOj]}),B})();const Ae=typeof requestAnimationFrame<"u"?ve.Z:he.E;let Ie=(()=>{class B extends Me{get orientation(){return this._orientation}set orientation(a){this._orientation!==a&&(this._orientation=a,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(a){this._appendOnly=(0,e.Ig)(a)}constructor(a,C,f,k,X,N,J,Z){super(a,N,f,X),this.elementRef=a,this._changeDetectorRef=C,this._scrollStrategy=k,this.scrollable=Z,this._platform=(0,i.f3M)(W.t4),this._detachedSubject=new o.x,this._renderedRangeSubject=new o.x,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new K.y(ne=>this._scrollStrategy.scrolledIndexChange.subscribe(ge=>Promise.resolve().then(()=>this.ngZone.run(()=>ne.next(ge))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=_.w0.EMPTY,this._viewportChanges=J.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe((0,U.O)(null),(0,re.e)(0,Ae)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(a){this.ngZone.runOutsideAngular(()=>{this._forOf=a,this._forOf.dataStream.pipe((0,te.R)(this._detachedSubject)).subscribe(C=>{const f=C.length;f!==this._dataLength&&(this._dataLength=f,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(a){return this.getElementRef().nativeElement.getBoundingClientRect()[a]}setTotalContentSize(a){this._totalContentSize!==a&&(this._totalContentSize=a,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(a){(function Te(B,x){return B.start==x.start&&B.end==x.end})(this._renderedRange,a)||(this.appendOnly&&(a={start:0,end:Math.max(this._renderedRange.end,a.end)}),this._renderedRangeSubject.next(this._renderedRange=a),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(a,C="to-start"){a=this.appendOnly&&"to-start"===C?0:a;const k="horizontal"==this.orientation,X=k?"X":"Y";let J=`translate${X}(${Number((k&&this.dir&&"rtl"==this.dir.value?-1:1)*a)}px)`;this._renderedContentOffset=a,"to-end"===C&&(J+=` translate${X}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=J&&(this._renderedContentTransform=J,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(a,C="auto"){const f={behavior:C};"horizontal"===this.orientation?f.start=a:f.top=a,this.scrollable.scrollTo(f)}scrollToIndex(a,C="auto"){this._scrollStrategy.scrollToIndex(a,C)}measureScrollOffset(a){let C;return C=this.scrollable==this?f=>super.measureScrollOffset(f):f=>this.scrollable.measureScrollOffset(f),Math.max(0,C(a??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(a){let C;const f="left",k="right",X="rtl"==this.dir?.value;C="start"==a?X?k:f:"end"==a?X?f:k:a||("horizontal"===this.orientation?"left":"top");const N=this.scrollable.measureBoundingClientRectWithScrollOffset(C);return this.elementRef.nativeElement.getBoundingClientRect()[C]-N}measureRenderedContentSize(){const a=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?a.offsetWidth:a.offsetHeight}measureRangeSize(a){return this._forOf?this._forOf.measureRangeSize(a,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(a){a&&this._runAfterChangeDetection.push(a),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const a=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const C of a)C()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return B.\u0275fac=function(a){return new(a||B)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(i.R0b),i.Y36(be,8),i.Y36(fe.Is,8),i.Y36(v),i.Y36(pe),i.Y36(De,8))},B.\u0275cmp=i.Xpm({type:B,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(a,C){if(1&a&&i.Gf(R,7),2&a){let f;i.iGM(f=i.CRH())&&(C._contentWrapper=f.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(a,C){2&a&&i.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===C.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==C.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[i._Bn([{provide:M,useFactory:(x,a)=>x||a,deps:[[new i.FiY,new i.tBr(De)],B]}]),i.qOj,i.jDz],ngContentSelectors:ye,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(a,C){1&a&&(i.F$t(),i.TgZ(0,"div",0,1),i.Hsn(2),i.qZA(),i._UZ(3,"div",2)),2&a&&(i.xp6(3),i.Udp("width",C._totalContentWidth)("height",C._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),B})(),we=(()=>{class B{}return B.\u0275fac=function(a){return new(a||B)},B.\u0275mod=i.oAB({type:B}),B.\u0275inj=i.cJS({}),B})(),ae=(()=>{class B{}return B.\u0275fac=function(a){return new(a||B)},B.\u0275mod=i.oAB({type:B}),B.\u0275inj=i.cJS({imports:[fe.vT,we,Ie,fe.vT,we]}),B})()},9101:(ze,Ee,s)=>{s.d(Ee,{RK:()=>Le,lW:()=>v,ot:()=>Fe});var e=s(3353),i=s(4650),o=s(7253),H=s(3238);const K=["mat-button",""],de=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],ve=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],U=["mat-icon-button",""],W=["*"],ye=[{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"]}],be=(0,H.pj)((0,H.Id)((0,H.Kr)(class{constructor(we){this._elementRef=we}})));let le=(()=>{class we extends be{constructor(B,x,a,C){super(B),this._platform=x,this._ngZone=a,this._animationMode=C,this._focusMonitor=(0,i.f3M)(o.tE),this._isFab=!1;const f=B.nativeElement.classList;for(const k of ye)this._hasHostAttributes(k.selector)&&k.mdcClasses.forEach(X=>{f.add(X)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(B="program",x){B?this._focusMonitor.focusVia(this._elementRef.nativeElement,B,x):this._elementRef.nativeElement.focus(x)}_hasHostAttributes(...B){return B.some(x=>this._elementRef.nativeElement.hasAttribute(x))}_isRippleDisabled(){return this.disableRipple||this.disabled}}return we.\u0275fac=function(B){i.$Z()},we.\u0275dir=i.lG2({type:we,viewQuery:function(B,x){if(1&B&&i.Gf(H.wG,5),2&B){let a;i.iGM(a=i.CRH())&&(x.ripple=a.first)}},features:[i.qOj]}),we})(),v=(()=>{class we extends le{constructor(B,x,a,C){super(B,x,a,C)}}return we.\u0275fac=function(B){return new(B||we)(i.Y36(i.SBq),i.Y36(e.t4),i.Y36(i.R0b),i.Y36(i.QbO,8))},we.\u0275cmp=i.Xpm({type:we,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(B,x){2&B&&(i.uIk("disabled",x.disabled||null),i.ekj("_mat-animation-noopable","NoopAnimations"===x._animationMode)("mat-unthemed",!x.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[i.qOj],attrs:K,ngContentSelectors:ve,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(B,x){1&B&&(i.F$t(de),i._UZ(0,"span",0),i.Hsn(1),i.TgZ(2,"span",1),i.Hsn(3,1),i.qZA(),i.Hsn(4,2),i._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&B&&(i.ekj("mdc-button__ripple",!x._isFab)("mdc-fab__ripple",x._isFab),i.xp6(6),i.Q6J("matRippleDisabled",x._isRippleDisabled())("matRippleTrigger",x._elementRef.nativeElement))},dependencies:[H.wG],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-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:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-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-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 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-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 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))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-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-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".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}"],encapsulation:2,changeDetection:0}),we})(),Le=(()=>{class we extends le{constructor(B,x,a,C){super(B,x,a,C)}}return we.\u0275fac=function(B){return new(B||we)(i.Y36(i.SBq),i.Y36(e.t4),i.Y36(i.R0b),i.Y36(i.QbO,8))},we.\u0275cmp=i.Xpm({type:we,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(B,x){2&B&&(i.uIk("disabled",x.disabled||null),i.ekj("_mat-animation-noopable","NoopAnimations"===x._animationMode)("mat-unthemed",!x.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[i.qOj],attrs:U,ngContentSelectors:W,decls:5,vars:3,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(B,x){1&B&&(i.F$t(),i._UZ(0,"span",0),i.Hsn(1),i._UZ(2,"span",1)(3,"span",2)(4,"span",3)),2&B&&(i.xp6(3),i.Q6J("matRippleDisabled",x._isRippleDisabled())("matRippleCentered",!0)("matRippleTrigger",x._elementRef.nativeElement))},dependencies:[H.wG],styles:['.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{max-height:48px;max-width:48px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.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, 48px);width:var(--mdc-icon-button-state-layer-size, 48px);color:var(--mdc-icon-button-icon-color, inherit);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity, 0.38)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color, #000)}.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-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}',".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}"],encapsulation:2,changeDetection:0}),we})(),Fe=(()=>{class we{}return we.\u0275fac=function(B){return new(B||we)},we.\u0275mod=i.oAB({type:we}),we.\u0275inj=i.cJS({imports:[H.BQ,H.si,H.BQ]}),we})()},6709:(ze,Ee,s)=>{s.d(Ee,{oG:()=>fe,p9:()=>le});var e=s(4650),i=s(4006),o=s(3238),H=s(1281);const K=["input"],de=["label"],ve=["*"],he=new e.OlP("mat-checkbox-default-options",{providedIn:"root",factory:_});function _(){return{color:"accent",clickAction:"check-indeterminate"}}const re={provide:i.JU,useExisting:(0,e.Gpc)(()=>fe),multi:!0};class ce{}let te=0;const U=_(),W=(0,o.sb)((0,o.pj)((0,o.Kr)((0,o.Id)(class{constructor(F){this._elementRef=F}}))));let me=(()=>{class F extends W{get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(u){this._required=(0,H.Ig)(u)}constructor(u,v,M,$,pe,De,Me){super(v),this._changeDetectorRef=M,this._ngZone=$,this._animationMode=De,this._options=Me,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new e.vpe,this.indeterminateChange=new e.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||U,this.color=this.defaultColor=this._options.color||U.color,this.tabIndex=parseInt(pe)||0,this.id=this._uniqueId=`${u}${++te}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(u){const v=(0,H.Ig)(u);v!=this.checked&&(this._checked=v,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(u){const v=(0,H.Ig)(u);v!==this.disabled&&(this._disabled=v,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(u){const v=u!=this._indeterminate;this._indeterminate=(0,H.Ig)(u),v&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(u){this.checked=!!u}registerOnChange(u){this._controlValueAccessorChangeFn=u}registerOnTouched(u){this._onTouched=u}setDisabledState(u){this.disabled=u}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(u){let v=this._currentCheckState,M=this._getAnimationTargetElement();if(v!==u&&M&&(this._currentAnimationClass&&M.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(v,u),this._currentCheckState=u,this._currentAnimationClass.length>0)){M.classList.add(this._currentAnimationClass);const $=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{M.classList.remove($)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const u=this._options?.clickAction;this.disabled||"noop"===u?!this.disabled&&"noop"===u&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==u&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(u){u.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(u,v){if("NoopAnimations"===this._animationMode)return"";switch(u){case 0:if(1===v)return this._animationClasses.uncheckedToChecked;if(3==v)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===v?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===v?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===v?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(u){const v=this._inputElement;v&&(v.nativeElement.indeterminate=u)}}return F.\u0275fac=function(u){e.$Z()},F.\u0275dir=e.lG2({type:F,viewQuery:function(u,v){if(1&u&&(e.Gf(K,5),e.Gf(de,5),e.Gf(o.wG,5)),2&u){let M;e.iGM(M=e.CRH())&&(v._inputElement=M.first),e.iGM(M=e.CRH())&&(v._labelElement=M.first),e.iGM(M=e.CRH())&&(v.ripple=M.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[e.qOj]}),F})(),fe=(()=>{class F extends me{constructor(u,v,M,$,pe,De){super("mat-mdc-checkbox-",u,v,M,$,pe,De),this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"}}focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(u){const v=new ce;return v.source=this,v.checked=u,v}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_preventBubblingFromLabel(u){u.target&&this._labelElement.nativeElement.contains(u.target)&&u.stopPropagation()}}return F.\u0275fac=function(u){return new(u||F)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.$8M("tabindex"),e.Y36(e.QbO,8),e.Y36(he,8))},F.\u0275cmp=e.Xpm({type:F,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(u,v){2&u&&(e.Ikx("id",v.id),e.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),e.ekj("_mat-animation-noopable","NoopAnimations"===v._animationMode)("mdc-checkbox--disabled",v.disabled)("mat-mdc-checkbox-disabled",v.disabled)("mat-mdc-checkbox-checked",v.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[e._Bn([re]),e.qOj],ngContentSelectors:ve,decls:15,vars:19,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[3,"for"],["label",""]],template:function(u,v){if(1&u&&(e.F$t(),e.TgZ(0,"div",0),e.NdJ("click",function($){return v._preventBubblingFromLabel($)}),e.TgZ(1,"div",1,2)(3,"div",3),e.NdJ("click",function(){return v._onInputClick()}),e.qZA(),e.TgZ(4,"input",4,5),e.NdJ("blur",function(){return v._onBlur()})("click",function(){return v._onInputClick()})("change",function($){return v._onInteractionEvent($)}),e.qZA(),e._UZ(6,"div",6),e.TgZ(7,"div",7),e.O4$(),e.TgZ(8,"svg",8),e._UZ(9,"path",9),e.qZA(),e.kcU(),e._UZ(10,"div",10),e.qZA(),e._UZ(11,"div",11),e.qZA(),e.TgZ(12,"label",12,13),e.Hsn(14),e.qZA()()),2&u){const M=e.MAs(2);e.ekj("mdc-form-field--align-end","before"==v.labelPosition),e.xp6(4),e.ekj("mdc-checkbox--selected",v.checked),e.Q6J("checked",v.checked)("disabled",v.disabled)("id",v.inputId)("required",v.required)("tabIndex",v.tabIndex),e.uIk("aria-checked",v._getAriaChecked())("aria-label",v.ariaLabel||null)("aria-labelledby",v.ariaLabelledby)("aria-describedby",v.ariaDescribedby)("name",v.name)("value",v.value),e.xp6(7),e.Q6J("matRippleTrigger",M)("matRippleDisabled",v.disableRipple||v.disabled)("matRippleCentered",!0),e.xp6(1),e.Q6J("for",v.inputId)}},dependencies:[o.wG],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__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%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__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-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:var(--mdc-checkbox-state-layer-size, 48px);height:var(--mdc-checkbox-state-layer-size, 48px)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.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}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color, rgba(0, 0, 0, 0.38))}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:not([disabled])~.mdc-checkbox__ripple{opacity:.04;transform:scale(1);transition:opacity 80ms 0 cubic-bezier(0, 0, 0.2, 1),transform 80ms 0 cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:not([disabled]):focus~.mdc-checkbox__ripple{opacity:.16}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__native-control:focus:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, black)}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),F})(),be=(()=>{class F{}return F.\u0275fac=function(u){return new(u||F)},F.\u0275mod=e.oAB({type:F}),F.\u0275inj=e.cJS({}),F})(),le=(()=>{class F{}return F.\u0275fac=function(u){return new(u||F)},F.\u0275mod=e.oAB({type:F}),F.\u0275inj=e.cJS({imports:[o.BQ,o.si,be,o.BQ,be]}),F})()},3238:(ze,Ee,s)=>{s.d(Ee,{_A:()=>Pe,rD:()=>k,sG:()=>Fe,Ad:()=>Re,K7:()=>y,HF:()=>V,Y2:()=>I,BQ:()=>u,XK:()=>C,ey:()=>m,Ng:()=>_e,wG:()=>j,si:()=>oe,CB:()=>D,jH:()=>Q,pj:()=>De,Kr:()=>Me,Id:()=>pe,FD:()=>Ae,dB:()=>Ie,sb:()=>Te});var e=s(4650),i=s(7253),o=s(445),K=s(6895),de=s(3353),ve=s(1281),he=s(9751),_=s(7579),re=s(9521);const U=["text"];function W(E,b){if(1&E&&e._UZ(0,"mat-pseudo-checkbox",5),2&E){const r=e.oxw();e.Q6J("state",r.selected?"checked":"unchecked")("disabled",r.disabled)}}function me(E,b){if(1&E&&(e.TgZ(0,"span",6),e._uU(1),e.qZA()),2&E){const r=e.oxw();e.xp6(1),e.hij("(",r.group.label,")")}}const fe=[[["mat-icon"]],"*"],R=["mat-icon","*"],ie=new e.OlP("mat-sanity-checks",{providedIn:"root",factory:function F(){return!0}});let u=(()=>{class E{constructor(r,g,h){this._sanityChecks=g,this._document=h,this._hasDoneGlobalChecks=!1,r._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(r){return!(0,de.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[r])}}return E.\u0275fac=function(r){return new(r||E)(e.LFG(i.qm),e.LFG(ie,8),e.LFG(K.K0))},E.\u0275mod=e.oAB({type:E}),E.\u0275inj=e.cJS({imports:[o.vT,o.vT]}),E})();function pe(E){return class extends E{get disabled(){return this._disabled}set disabled(b){this._disabled=(0,ve.Ig)(b)}constructor(...b){super(...b),this._disabled=!1}}}function De(E,b){return class extends E{get color(){return this._color}set color(r){const g=r||this.defaultColor;g!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),g&&this._elementRef.nativeElement.classList.add(`mat-${g}`),this._color=g)}constructor(...r){super(...r),this.defaultColor=b,this.color=b}}}function Me(E){return class extends E{get disableRipple(){return this._disableRipple}set disableRipple(b){this._disableRipple=(0,ve.Ig)(b)}constructor(...b){super(...b),this._disableRipple=!1}}}function Te(E,b=0){return class extends E{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(r){this._tabIndex=null!=r?(0,ve.su)(r):this.defaultTabIndex}constructor(...r){super(...r),this._tabIndex=b,this.defaultTabIndex=b}}}function Ae(E){return class extends E{updateErrorState(){const b=this.errorState,G=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);G!==b&&(this.errorState=G,this.stateChanges.next())}constructor(...b){super(...b),this.errorState=!1}}}function Ie(E){return class extends E{constructor(...b){super(...b),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new he.y(r=>{this._isInitialized?this._notifySubscriber(r):this._pendingSubscribers.push(r)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(b){b.next(),b.complete()}}}const Re=new e.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function Le(){return(0,e.f3M)(e.soG)}});class Pe{constructor(){this._localeChanges=new _.x,this.localeChanges=this._localeChanges}getValidDateOrNull(b){return this.isDateInstance(b)&&this.isValid(b)?b:null}deserialize(b){return null==b||this.isDateInstance(b)&&this.isValid(b)?b:this.invalid()}setLocale(b){this.locale=b,this._localeChanges.next()}compareDate(b,r){return this.getYear(b)-this.getYear(r)||this.getMonth(b)-this.getMonth(r)||this.getDate(b)-this.getDate(r)}sameDate(b,r){if(b&&r){let g=this.isValid(b),h=this.isValid(r);return g&&h?!this.compareDate(b,r):g==h}return b==r}clampDate(b,r,g){return r&&this.compareDate(b,r)<0?r:g&&this.compareDate(b,g)>0?g:b}}const Fe=new e.OlP("mat-date-formats"),we=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function ae(E,b){const r=Array(E);for(let g=0;g<E;g++)r[g]=b(g);return r}let B=(()=>{class E extends Pe{constructor(r,g){super(),this.useUtcForDisplay=!1,super.setLocale(r)}getYear(r){return r.getFullYear()}getMonth(r){return r.getMonth()}getDate(r){return r.getDate()}getDayOfWeek(r){return r.getDay()}getMonthNames(r){const g=new Intl.DateTimeFormat(this.locale,{month:r,timeZone:"utc"});return ae(12,h=>this._format(g,new Date(2017,h,1)))}getDateNames(){const r=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return ae(31,g=>this._format(r,new Date(2017,0,g+1)))}getDayOfWeekNames(r){const g=new Intl.DateTimeFormat(this.locale,{weekday:r,timeZone:"utc"});return ae(7,h=>this._format(g,new Date(2017,0,h+1)))}getYearName(r){const g=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(g,r)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(r){return this.getDate(this._createDateWithOverflow(this.getYear(r),this.getMonth(r)+1,0))}clone(r){return new Date(r.getTime())}createDate(r,g,h){let G=this._createDateWithOverflow(r,g,h);return G.getMonth(),G}today(){return new Date}parse(r,g){return"number"==typeof r?new Date(r):r?new Date(Date.parse(r)):null}format(r,g){if(!this.isValid(r))throw Error("NativeDateAdapter: Cannot format invalid date.");const h=new Intl.DateTimeFormat(this.locale,{...g,timeZone:"utc"});return this._format(h,r)}addCalendarYears(r,g){return this.addCalendarMonths(r,12*g)}addCalendarMonths(r,g){let h=this._createDateWithOverflow(this.getYear(r),this.getMonth(r)+g,this.getDate(r));return this.getMonth(h)!=((this.getMonth(r)+g)%12+12)%12&&(h=this._createDateWithOverflow(this.getYear(h),this.getMonth(h),0)),h}addCalendarDays(r,g){return this._createDateWithOverflow(this.getYear(r),this.getMonth(r),this.getDate(r)+g)}toIso8601(r){return[r.getUTCFullYear(),this._2digit(r.getUTCMonth()+1),this._2digit(r.getUTCDate())].join("-")}deserialize(r){if("string"==typeof r){if(!r)return null;if(we.test(r)){let g=new Date(r);if(this.isValid(g))return g}}return super.deserialize(r)}isDateInstance(r){return r instanceof Date}isValid(r){return!isNaN(r.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(r,g,h){const G=new Date;return G.setFullYear(r,g,h),G.setHours(0,0,0,0),G}_2digit(r){return("00"+r).slice(-2)}_format(r,g){const h=new Date;return h.setUTCFullYear(g.getFullYear(),g.getMonth(),g.getDate()),h.setUTCHours(g.getHours(),g.getMinutes(),g.getSeconds(),g.getMilliseconds()),r.format(h)}}return E.\u0275fac=function(r){return new(r||E)(e.LFG(Re,8),e.LFG(de.t4))},E.\u0275prov=e.Yz7({token:E,factory:E.\u0275fac}),E})();const x={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let a=(()=>{class E{}return E.\u0275fac=function(r){return new(r||E)},E.\u0275mod=e.oAB({type:E}),E.\u0275inj=e.cJS({providers:[{provide:Pe,useClass:B}]}),E})(),C=(()=>{class E{}return E.\u0275fac=function(r){return new(r||E)},E.\u0275mod=e.oAB({type:E}),E.\u0275inj=e.cJS({providers:[{provide:Fe,useValue:x}],imports:[a]}),E})(),k=(()=>{class E{isErrorState(r,g){return!!(r&&r.invalid&&(r.touched||g&&g.submitted))}}return E.\u0275fac=function(r){return new(r||E)},E.\u0275prov=e.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})();class ne{constructor(b,r,g,h=!1){this._renderer=b,this.element=r,this.config=g,this._animationForciblyDisabledThroughCss=h,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const ge=(0,de.i$)({passive:!0,capture:!0});class A{constructor(){this._events=new Map,this._delegateEventHandler=b=>{const r=(0,de.sA)(b);r&&this._events.get(b.type)?.forEach((g,h)=>{(h===r||h.contains(r))&&g.forEach(G=>G.handleEvent(b))})}}addHandler(b,r,g,h){const G=this._events.get(r);if(G){const Ce=G.get(g);Ce?Ce.add(h):G.set(g,new Set([h]))}else this._events.set(r,new Map([[g,new Set([h])]])),b.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,ge)})}removeHandler(b,r,g){const h=this._events.get(b);if(!h)return;const G=h.get(r);G&&(G.delete(g),0===G.size&&h.delete(r),0===h.size&&(this._events.delete(b),document.removeEventListener(b,this._delegateEventHandler,ge)))}}const Y={enterDuration:225,exitDuration:150},ke=(0,de.i$)({passive:!0,capture:!0}),He=["mousedown","touchstart"],ee=["mouseup","mouseleave","touchend","touchcancel"];class l{constructor(b,r,g,h){this._target=b,this._ngZone=r,this._platform=h,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,h.isBrowser&&(this._containerElement=(0,ve.fI)(g))}fadeInRipple(b,r,g={}){const h=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),G={...Y,...g.animation};g.centered&&(b=h.left+h.width/2,r=h.top+h.height/2);const Ce=g.radius||function p(E,b,r){const g=Math.max(Math.abs(E-r.left),Math.abs(E-r.right)),h=Math.max(Math.abs(b-r.top),Math.abs(b-r.bottom));return Math.sqrt(g*g+h*h)}(b,r,h),Be=b-h.left,Ve=r-h.top,Ye=G.enterDuration,Ne=document.createElement("div");Ne.classList.add("mat-ripple-element"),Ne.style.left=Be-Ce+"px",Ne.style.top=Ve-Ce+"px",Ne.style.height=2*Ce+"px",Ne.style.width=2*Ce+"px",null!=g.color&&(Ne.style.backgroundColor=g.color),Ne.style.transitionDuration=`${Ye}ms`,this._containerElement.appendChild(Ne);const We=window.getComputedStyle(Ne),P=We.transitionDuration,O="none"===We.transitionProperty||"0s"===P||"0s, 0s"===P||0===h.width&&0===h.height,d=new ne(this,Ne,g,O);Ne.style.transform="scale3d(1, 1, 1)",d.state=0,g.persistent||(this._mostRecentTransientRipple=d);let T=null;return!O&&(Ye||G.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const z=()=>this._finishRippleTransition(d),se=()=>this._destroyRipple(d);Ne.addEventListener("transitionend",z),Ne.addEventListener("transitioncancel",se),T={onTransitionEnd:z,onTransitionCancel:se}}),this._activeRipples.set(d,T),(O||!Ye)&&this._finishRippleTransition(d),d}fadeOutRipple(b){if(2===b.state||3===b.state)return;const r=b.element,g={...Y,...b.config.animation};r.style.transitionDuration=`${g.exitDuration}ms`,r.style.opacity="0",b.state=2,(b._animationForciblyDisabledThroughCss||!g.exitDuration)&&this._finishRippleTransition(b)}fadeOutAll(){this._getActiveRipples().forEach(b=>b.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(b=>{b.config.persistent||b.fadeOut()})}setupTriggerEvents(b){const r=(0,ve.fI)(b);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,He.forEach(g=>{l._eventManager.addHandler(this._ngZone,g,r,this)}))}handleEvent(b){"mousedown"===b.type?this._onMousedown(b):"touchstart"===b.type?this._onTouchStart(b):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ee.forEach(r=>{this._triggerElement.addEventListener(r,this,ke)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(b){0===b.state?this._startFadeOutTransition(b):2===b.state&&this._destroyRipple(b)}_startFadeOutTransition(b){const r=b===this._mostRecentTransientRipple,{persistent:g}=b.config;b.state=1,!g&&(!r||!this._isPointerDown)&&b.fadeOut()}_destroyRipple(b){const r=this._activeRipples.get(b)??null;this._activeRipples.delete(b),this._activeRipples.size||(this._containerRect=null),b===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),b.state=3,null!==r&&(b.element.removeEventListener("transitionend",r.onTransitionEnd),b.element.removeEventListener("transitioncancel",r.onTransitionCancel)),b.element.remove()}_onMousedown(b){const r=(0,i.X6)(b),g=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!r&&!g&&(this._isPointerDown=!0,this.fadeInRipple(b.clientX,b.clientY,this._target.rippleConfig))}_onTouchStart(b){if(!this._target.rippleDisabled&&!(0,i.yG)(b)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const r=b.changedTouches;for(let g=0;g<r.length;g++)this.fadeInRipple(r[g].clientX,r[g].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(b=>{!b.config.persistent&&(1===b.state||b.config.terminateOnPointerUp&&0===b.state)&&b.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const b=this._triggerElement;b&&(He.forEach(r=>l._eventManager.removeHandler(r,b,this)),this._pointerUpEventsRegistered&&ee.forEach(r=>b.removeEventListener(r,this,ke)))}}l._eventManager=new A;const I=new e.OlP("mat-ripple-global-options");let j=(()=>{class E{get disabled(){return this._disabled}set disabled(r){r&&this.fadeOutAllNonPersistent(),this._disabled=r,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(r){this._trigger=r,this._setupTriggerEventsIfEnabled()}constructor(r,g,h,G,Ce){this._elementRef=r,this._animationMode=Ce,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=G||{},this._rippleRenderer=new l(this,g,r,h)}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(r,g=0,h){return"number"==typeof r?this._rippleRenderer.fadeInRipple(r,g,{...this.rippleConfig,...h}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...r})}}return E.\u0275fac=function(r){return new(r||E)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(de.t4),e.Y36(I,8),e.Y36(e.QbO,8))},E.\u0275dir=e.lG2({type:E,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(r,g){2&r&&e.ekj("mat-ripple-unbounded",g.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"]}),E})(),oe=(()=>{class E{}return E.\u0275fac=function(r){return new(r||E)},E.\u0275mod=e.oAB({type:E}),E.\u0275inj=e.cJS({imports:[u,u]}),E})(),ue=(()=>{class E{constructor(r){this._animationMode=r,this.state="unchecked",this.disabled=!1}}return E.\u0275fac=function(r){return new(r||E)(e.Y36(e.QbO,8))},E.\u0275cmp=e.Xpm({type:E,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(r,g){2&r&&e.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===g.state)("mat-pseudo-checkbox-checked","checked"===g.state)("mat-pseudo-checkbox-disabled",g.disabled)("_mat-animation-noopable","NoopAnimations"===g._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(r,g){},styles:['.mat-pseudo-checkbox{border:2px solid;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-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.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{width:18px;height:18px}.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}.mat-pseudo-checkbox-checked::after{top:2.7px;width:10px;height:4px}'],encapsulation:2,changeDetection:0}),E})(),Se=(()=>{class E{}return E.\u0275fac=function(r){return new(r||E)},E.\u0275mod=e.oAB({type:E}),E.\u0275inj=e.cJS({imports:[u]}),E})();const V=new e.OlP("MAT_OPTION_PARENT_COMPONENT"),y=new e.OlP("MatOptgroup");let w=0;class t{constructor(b,r=!1){this.source=b,this.isUserInput=r}}let n=(()=>{class E{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(r){this._disabled=(0,ve.Ig)(r)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}constructor(r,g,h,G){this._element=r,this._changeDetectorRef=g,this._parent=h,this.group=G,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+w++,this.onSelectionChange=new e.vpe,this._stateChanges=new _.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(r,g){const h=this._getHostElement();"function"==typeof h.focus&&h.focus(g)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(r){(r.keyCode===re.K5||r.keyCode===re.L_)&&!(0,re.Vb)(r)&&(this._selectViaInteraction(),r.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const r=this.viewValue;r!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=r)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(r=!1){this.onSelectionChange.emit(new t(this,r))}}return E.\u0275fac=function(r){e.$Z()},E.\u0275dir=e.lG2({type:E,viewQuery:function(r,g){if(1&r&&e.Gf(U,7),2&r){let h;e.iGM(h=e.CRH())&&(g._text=h.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),E})(),m=(()=>{class E extends n{constructor(r,g,h,G){super(r,g,h,G)}}return E.\u0275fac=function(r){return new(r||E)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(V,8),e.Y36(y,8))},E.\u0275cmp=e.Xpm({type:E,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mat-mdc-focus-indicator","mdc-list-item"],hostVars:12,hostBindings:function(r,g){1&r&&e.NdJ("click",function(){return g._selectViaInteraction()})("keydown",function(G){return g._handleKeydown(G)}),2&r&&(e.Ikx("id",g.id),e.uIk("tabindex",g._getTabIndex())("aria-selected",g._getAriaSelected())("aria-disabled",g.disabled.toString()),e.ekj("mdc-list-item--selected",g.selected)("mat-mdc-option-multiple",g.multiple)("mat-mdc-option-active",g.active)("mdc-list-item--disabled",g.disabled))},exportAs:["matOption"],features:[e.qOj],ngContentSelectors:R,decls:7,vars:4,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(r,g){1&r&&(e.F$t(fe),e.YNc(0,W,1,2,"mat-pseudo-checkbox",0),e.Hsn(1),e.TgZ(2,"span",1,2),e.Hsn(4,1),e.qZA(),e.YNc(5,me,2,1,"span",3),e._UZ(6,"div",4)),2&r&&(e.Q6J("ngIf",g.multiple),e.xp6(5),e.Q6J("ngIf",g.group&&g.group._inert),e.xp6(1),e.Q6J("matRippleTrigger",g._getHostElement())("matRippleDisabled",g.disabled||g.disableRipple))},dependencies:[j,K.O5,ue],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;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);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.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{opacity:.38;cursor:default}.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{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox{margin-right:0;margin-left:16px}.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}.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::before{content:""}'],encapsulation:2,changeDetection:0}),E})();function D(E,b,r){if(r.length){let g=b.toArray(),h=r.toArray(),G=0;for(let Ce=0;Ce<E+1;Ce++)g[Ce].group&&g[Ce].group===h[G]&&G++;return G}return 0}function Q(E,b,r,g){return E<r?E:E+b>r+g?Math.max(0,E-g+b):r}let _e=(()=>{class E{}return E.\u0275fac=function(r){return new(r||E)},E.\u0275mod=e.oAB({type:E}),E.\u0275inj=e.cJS({imports:[oe,K.ez,u,Se]}),E})()},5412:(ze,Ee,s)=>{s.d(Ee,{WI:()=>N,uw:()=>ke,H8:()=>I,xY:()=>p,Is:()=>oe,so:()=>k,uh:()=>l});var e=s(8184),i=s(6895),o=s(4650),H=s(7253),K=s(3353),de=s(4080),ve=s(9521),he=s(7579),_=s(9770),re=s(9646),ce=s(445),te=s(8675);function U(V,q){}class W{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0}}let fe=(()=>{class V extends de.en{constructor(c,S,y,L,w,t,n,m){super(),this._elementRef=c,this._focusTrapFactory=S,this._config=L,this._interactivityChecker=w,this._ngZone=t,this._overlayRef=n,this._focusMonitor=m,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=D=>{this._portalOutlet.hasAttached();const Q=this._portalOutlet.attachDomPortal(D);return this._contentAttached(),Q},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=y}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(c){this._portalOutlet.hasAttached();const S=this._portalOutlet.attachComponentPortal(c);return this._contentAttached(),S}attachTemplatePortal(c){this._portalOutlet.hasAttached();const S=this._portalOutlet.attachTemplatePortal(c);return this._contentAttached(),S}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(c,S){this._interactivityChecker.isFocusable(c)||(c.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const y=()=>{c.removeEventListener("blur",y),c.removeEventListener("mousedown",y),c.removeAttribute("tabindex")};c.addEventListener("blur",y),c.addEventListener("mousedown",y)})),c.focus(S)}_focusByCssSelector(c,S){let y=this._elementRef.nativeElement.querySelector(c);y&&this._forceFocus(y,S)}_trapFocus(){const c=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||c.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(S=>{S||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const c=this._config.restoreFocus;let S=null;if("string"==typeof c?S=this._document.querySelector(c):"boolean"==typeof c?S=c?this._elementFocusedBeforeDialogWasOpened:null:c&&(S=c),this._config.restoreFocus&&S&&"function"==typeof S.focus){const y=(0,K.ht)(),L=this._elementRef.nativeElement;(!y||y===this._document.body||y===L||L.contains(y))&&(this._focusMonitor?(this._focusMonitor.focusVia(S,this._closeInteractionType),this._closeInteractionType=null):S.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const c=this._elementRef.nativeElement,S=(0,K.ht)();return c===S||c.contains(S)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,K.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return V.\u0275fac=function(c){return new(c||V)(o.Y36(o.SBq),o.Y36(H.qV),o.Y36(i.K0,8),o.Y36(W),o.Y36(H.ic),o.Y36(o.R0b),o.Y36(e.Iu),o.Y36(H.tE))},V.\u0275cmp=o.Xpm({type:V,selectors:[["cdk-dialog-container"]],viewQuery:function(c,S){if(1&c&&o.Gf(de.Pl,7),2&c){let y;o.iGM(y=o.CRH())&&(S._portalOutlet=y.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(c,S){2&c&&o.uIk("id",S._config.id||null)("role",S._config.role)("aria-modal",S._config.ariaModal)("aria-labelledby",S._config.ariaLabel?null:S._ariaLabelledBy)("aria-label",S._config.ariaLabel)("aria-describedby",S._config.ariaDescribedBy||null)},features:[o.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(c,S){1&c&&o.YNc(0,U,0,0,"ng-template",0)},dependencies:[de.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),V})();class R{constructor(q,c){this.overlayRef=q,this.config=c,this.closed=new he.x,this.disableClose=c.disableClose,this.backdropClick=q.backdropClick(),this.keydownEvents=q.keydownEvents(),this.outsidePointerEvents=q.outsidePointerEvents(),this.id=c.id,this.keydownEvents.subscribe(S=>{S.keyCode===ve.hY&&!this.disableClose&&!(0,ve.Vb)(S)&&(S.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(q,c){if(this.containerInstance){const S=this.closed;this.containerInstance._closeInteractionType=c?.focusOrigin||"program",this.overlayRef.dispose(),S.next(q),S.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(q="",c=""){return this.overlayRef.updateSize({width:q,height:c}),this}addPanelClass(q){return this.overlayRef.addPanelClass(q),this}removePanelClass(q){return this.overlayRef.removePanelClass(q),this}}const ye=new o.OlP("DialogScrollStrategy"),be=new o.OlP("DialogData"),le=new o.OlP("DefaultDialogConfig"),ie={provide:ye,deps:[e.aV],useFactory:function F(V){return()=>V.scrollStrategies.block()}};let u=0,v=(()=>{class V{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(c,S,y,L,w,t){this._overlay=c,this._injector=S,this._defaultOptions=y,this._parentDialog=L,this._overlayContainer=w,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new he.x,this._afterOpenedAtThisLevel=new he.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,_.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,te.O)(void 0))),this._scrollStrategy=t}open(c,S){(S={...this._defaultOptions||new W,...S}).id=S.id||"cdk-dialog-"+u++,S.id&&this.getDialogById(S.id);const L=this._getOverlayConfig(S),w=this._overlay.create(L),t=new R(w,S),n=this._attachContainer(w,t,S);return t.containerInstance=n,this._attachDialogContent(c,t,n,S),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(t),t.closed.subscribe(()=>this._removeOpenDialog(t,!0)),this.afterOpened.next(t),t}closeAll(){M(this.openDialogs,c=>c.close())}getDialogById(c){return this.openDialogs.find(S=>S.id===c)}ngOnDestroy(){M(this._openDialogsAtThisLevel,c=>{!1===c.config.closeOnDestroy&&this._removeOpenDialog(c,!1)}),M(this._openDialogsAtThisLevel,c=>c.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(c){const S=new e.X_({positionStrategy:c.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:c.scrollStrategy||this._scrollStrategy(),panelClass:c.panelClass,hasBackdrop:c.hasBackdrop,direction:c.direction,minWidth:c.minWidth,minHeight:c.minHeight,maxWidth:c.maxWidth,maxHeight:c.maxHeight,width:c.width,height:c.height,disposeOnNavigation:c.closeOnNavigation});return c.backdropClass&&(S.backdropClass=c.backdropClass),S}_attachContainer(c,S,y){const L=y.injector||y.viewContainerRef?.injector,w=[{provide:W,useValue:y},{provide:R,useValue:S},{provide:e.Iu,useValue:c}];let t;y.container?"function"==typeof y.container?t=y.container:(t=y.container.type,w.push(...y.container.providers(y))):t=fe;const n=new de.C5(t,y.viewContainerRef,o.zs3.create({parent:L||this._injector,providers:w}),y.componentFactoryResolver);return c.attach(n).instance}_attachDialogContent(c,S,y,L){if(c instanceof o.Rgc){const w=this._createInjector(L,S,y,void 0);let t={$implicit:L.data,dialogRef:S};L.templateContext&&(t={...t,..."function"==typeof L.templateContext?L.templateContext():L.templateContext}),y.attachTemplatePortal(new de.UE(c,null,t,w))}else{const w=this._createInjector(L,S,y,this._injector),t=y.attachComponentPortal(new de.C5(c,L.viewContainerRef,w,L.componentFactoryResolver));S.componentInstance=t.instance}}_createInjector(c,S,y,L){const w=c.injector||c.viewContainerRef?.injector,t=[{provide:be,useValue:c.data},{provide:R,useValue:S}];return c.providers&&("function"==typeof c.providers?t.push(...c.providers(S,c,y)):t.push(...c.providers)),c.direction&&(!w||!w.get(ce.Is,null,{optional:!0}))&&t.push({provide:ce.Is,useValue:{value:c.direction,change:(0,re.of)()}}),o.zs3.create({parent:w||L,providers:t})}_removeOpenDialog(c,S){const y=this.openDialogs.indexOf(c);y>-1&&(this.openDialogs.splice(y,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((L,w)=>{L?w.setAttribute("aria-hidden",L):w.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),S&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const c=this._overlayContainer.getContainerElement();if(c.parentElement){const S=c.parentElement.children;for(let y=S.length-1;y>-1;y--){const L=S[y];L!==c&&"SCRIPT"!==L.nodeName&&"STYLE"!==L.nodeName&&!L.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(L,L.getAttribute("aria-hidden")),L.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const c=this._parentDialog;return c?c._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return V.\u0275fac=function(c){return new(c||V)(o.LFG(e.aV),o.LFG(o.zs3),o.LFG(le,8),o.LFG(V,12),o.LFG(e.Xj),o.LFG(ye))},V.\u0275prov=o.Yz7({token:V,factory:V.\u0275fac}),V})();function M(V,q){let c=V.length;for(;c--;)q(V[c])}let $=(()=>{class V{}return V.\u0275fac=function(c){return new(c||V)},V.\u0275mod=o.oAB({type:V}),V.\u0275inj=o.cJS({providers:[v,ie],imports:[e.U8,de.eL,H.rt,de.eL]}),V})();var pe=s(1281),De=s(6451),Me=s(9300),Te=s(5698),Ae=s(3238);function Re(V,q){}s(7340);class Le{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const Pe="mdc-dialog--open",Fe="mdc-dialog--opening",we="mdc-dialog--closing";let x=(()=>{class V extends fe{constructor(c,S,y,L,w,t,n,m){super(c,S,y,L,w,t,n,m),this._animationStateChanged=new o.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(c){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:c})}}return V.\u0275fac=function(c){return new(c||V)(o.Y36(o.SBq),o.Y36(H.qV),o.Y36(i.K0,8),o.Y36(Le),o.Y36(H.ic),o.Y36(o.R0b),o.Y36(e.Iu),o.Y36(H.tE))},V.\u0275cmp=o.Xpm({type:V,selectors:[["ng-component"]],features:[o.qOj],decls:0,vars:0,template:function(c,S){},encapsulation:2}),V})();const a="--mat-dialog-transition-duration";function C(V){return null==V?null:"number"==typeof V?V:V.endsWith("ms")?(0,pe.su)(V.substring(0,V.length-2)):V.endsWith("s")?1e3*(0,pe.su)(V.substring(0,V.length-1)):"0"===V?0:null}let f=(()=>{class V extends x{constructor(c,S,y,L,w,t,n,m,D){super(c,S,y,L,w,t,n,D),this._animationMode=m,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?C(this._config.enterAnimationDuration)??150:0,this._closeAnimationDuration=this._animationsEnabled?C(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._openAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._closeAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._openAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(a,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(Fe),this._hostElement.classList.add(Pe),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Pe),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(Pe),this._animationsEnabled?(this._hostElement.style.setProperty(a,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(we),this._waitForAnimationToComplete(this._closeAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(Fe),this._hostElement.classList.remove(we)}_waitForAnimationToComplete(c,S){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(S,c)}}return V.\u0275fac=function(c){return new(c||V)(o.Y36(o.SBq),o.Y36(H.qV),o.Y36(i.K0,8),o.Y36(Le),o.Y36(H.ic),o.Y36(o.R0b),o.Y36(e.Iu),o.Y36(o.QbO,8),o.Y36(H.tE))},V.\u0275cmp=o.Xpm({type:V,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(c,S){2&c&&(o.Ikx("id",S._config.id),o.uIk("aria-modal",S._config.ariaModal)("role",S._config.role)("aria-labelledby",S._config.ariaLabel?null:S._ariaLabelledBy)("aria-label",S._config.ariaLabel)("aria-describedby",S._config.ariaDescribedBy||null),o.ekj("_mat-animation-noopable",!S._animationsEnabled))},features:[o.qOj],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(c,S){1&c&&(o.TgZ(0,"div",0)(1,"div",1),o.YNc(2,Re,0,0,"ng-template",2),o.qZA()())},dependencies:[de.Pl],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title,.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__actions,.mat-mdc-dialog-container.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title{border-bottom-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, "Arial");line-height:var(--mdc-dialog-subhead-line-height, 14px);font-size:var(--mdc-dialog-subhead-size, 14px);font-weight:var(--mdc-dialog-subhead-weight, 500);letter-spacing:var(--mdc-dialog-subhead-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, black)}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, "Arial");line-height:var(--mdc-dialog-supporting-text-line-height, 14px);font-size:var(--mdc-dialog-supporting-text-size, 14px);font-weight:var(--mdc-dialog-supporting-text-weight, 500);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, black)}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2}),V})();class k{constructor(q,c,S){this._ref=q,this._containerInstance=S,this._afterOpened=new he.x,this._beforeClosed=new he.x,this._state=0,this.disableClose=c.disableClose,this.id=q.id,S._animationStateChanged.pipe((0,Me.h)(y=>"opened"===y.state),(0,Te.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),S._animationStateChanged.pipe((0,Me.h)(y=>"closed"===y.state),(0,Te.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),q.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,De.T)(this.backdropClick(),this.keydownEvents().pipe((0,Me.h)(y=>y.keyCode===ve.hY&&!this.disableClose&&!(0,ve.Vb)(y)))).subscribe(y=>{this.disableClose||(y.preventDefault(),function X(V,q,c){V._closeInteractionType=q,V.close(c)}(this,"keydown"===y.type?"keyboard":"mouse"))})}close(q){this._result=q,this._containerInstance._animationStateChanged.pipe((0,Me.h)(c=>"closing"===c.state),(0,Te.q)(1)).subscribe(c=>{this._beforeClosed.next(q),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),c.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(q){let c=this._ref.config.positionStrategy;return q&&(q.left||q.right)?q.left?c.left(q.left):c.right(q.right):c.centerHorizontally(),q&&(q.top||q.bottom)?q.top?c.top(q.top):c.bottom(q.bottom):c.centerVertically(),this._ref.updatePosition(),this}updateSize(q="",c=""){return this._ref.updateSize(q,c),this}addPanelClass(q){return this._ref.addPanelClass(q),this}removePanelClass(q){return this._ref.removePanelClass(q),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}const N=new o.OlP("MatMdcDialogData"),J=new o.OlP("mat-mdc-dialog-default-options"),Z=new o.OlP("mat-mdc-dialog-scroll-strategy"),ge={provide:Z,deps:[e.aV],useFactory:function ne(V){return()=>V.scrollStrategies.block()}};let Y=0,xe=(()=>{class V{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const c=this._parentDialog;return c?c._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(c,S,y,L,w,t,n,m,D,Q){this._overlay=c,this._defaultOptions=y,this._parentDialog=L,this._dialogRefConstructor=n,this._dialogContainerType=m,this._dialogDataToken=D,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new he.x,this._afterOpenedAtThisLevel=new he.x,this._idPrefix="mat-dialog-",this.dialogConfigClass=Le,this.afterAllClosed=(0,_.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,te.O)(void 0))),this._scrollStrategy=t,this._dialog=S.get(v)}open(c,S){let y;(S={...this._defaultOptions||new Le,...S}).id=S.id||`${this._idPrefix}${Y++}`,S.scrollStrategy=S.scrollStrategy||this._scrollStrategy();const L=this._dialog.open(c,{...S,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:S},{provide:W,useValue:S}]},templateContext:()=>({dialogRef:y}),providers:(w,t,n)=>(y=new this._dialogRefConstructor(w,S,n),y.updatePosition(S?.position),[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:y}])});return y.componentInstance=L.componentInstance,this.openDialogs.push(y),this.afterOpened.next(y),y.afterClosed().subscribe(()=>{const w=this.openDialogs.indexOf(y);w>-1&&(this.openDialogs.splice(w,1),this.openDialogs.length||this._getAfterAllClosed().next())}),y}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(c){return this.openDialogs.find(S=>S.id===c)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(c){let S=c.length;for(;S--;)c[S].close()}}return V.\u0275fac=function(c){o.$Z()},V.\u0275prov=o.Yz7({token:V,factory:V.\u0275fac}),V})(),ke=(()=>{class V extends xe{constructor(c,S,y,L,w,t,n,m){super(c,S,L,t,n,w,k,f,N,m),this._idPrefix="mat-mdc-dialog-"}}return V.\u0275fac=function(c){return new(c||V)(o.LFG(e.aV),o.LFG(o.zs3),o.LFG(i.Ye,8),o.LFG(J,8),o.LFG(Z),o.LFG(V,12),o.LFG(e.Xj),o.LFG(o.QbO,8))},V.\u0275prov=o.Yz7({token:V,factory:V.\u0275fac}),V})(),He=0,l=(()=>{class V{constructor(c,S,y){this._dialogRef=c,this._elementRef=S,this._dialog=y,this.id="mat-mdc-dialog-title-"+He++}ngOnInit(){this._dialogRef||(this._dialogRef=function j(V,q){let c=V.nativeElement.parentElement;for(;c&&!c.classList.contains("mat-mdc-dialog-container");)c=c.parentElement;return c?q.find(S=>S.id===c.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const c=this._dialogRef._containerInstance;c&&!c._ariaLabelledBy&&(c._ariaLabelledBy=this.id)})}}return V.\u0275fac=function(c){return new(c||V)(o.Y36(k,8),o.Y36(o.SBq),o.Y36(ke))},V.\u0275dir=o.lG2({type:V,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(c,S){2&c&&o.Ikx("id",S.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),V})(),p=(()=>{class V{}return V.\u0275fac=function(c){return new(c||V)},V.\u0275dir=o.lG2({type:V,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]}),V})(),I=(()=>{class V{constructor(){this.align="start"}}return V.\u0275fac=function(c){return new(c||V)},V.\u0275dir=o.lG2({type:V,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(c,S){2&c&&o.ekj("mat-mdc-dialog-actions-align-center","center"===S.align)("mat-mdc-dialog-actions-align-end","end"===S.align)},inputs:{align:"align"}}),V})(),oe=(()=>{class V{}return V.\u0275fac=function(c){return new(c||V)},V.\u0275mod=o.oAB({type:V}),V.\u0275inj=o.cJS({providers:[ke,ge],imports:[$,e.U8,de.eL,Ae.BQ,Ae.BQ]}),V})()},9549:(ze,Ee,s)=>{s.d(Ee,{Eo:()=>xe,G_:()=>l,KE:()=>V,R9:()=>X,hX:()=>Fe,lN:()=>q,qo:()=>f});var e=s(4650),i=s(445),o=s(3353),H=s(7579),K=s(6451),de=s(2722),ve=s(6895),he=s(1281),_=s(7340),re=s(9643),ce=s(3238);const te=["matFormFieldNotchedOutline",""],U=["*"],W=["textField"],me=["iconPrefixContainer"],fe=["textPrefixContainer"];function R(c,S){1&c&&e._UZ(0,"span",19)}function ye(c,S){if(1&c){const y=e.EpF();e.TgZ(0,"label",17),e.NdJ("cdkObserveContent",function(){e.CHM(y);const w=e.oxw(2);return e.KtG(w._refreshOutlineNotchWidth())}),e.Hsn(1,1),e.YNc(2,R,1,0,"span",18),e.qZA()}if(2&c){const y=e.oxw(2);e.Q6J("floating",y._shouldLabelFloat())("cdkObserveContentDisabled",!y._hasOutline())("id",y._labelId),e.uIk("for",y._control.id)("aria-owns",y._control.id),e.xp6(2),e.Q6J("ngIf",!y.hideRequiredMarker&&y._control.required)}}function be(c,S){if(1&c&&e.YNc(0,ye,3,6,"label",16),2&c){const y=e.oxw();e.Q6J("ngIf",y._hasFloatingLabel())}}function le(c,S){1&c&&e._UZ(0,"div",20)}function F(c,S){}function ie(c,S){if(1&c&&e.YNc(0,F,0,0,"ng-template",22),2&c){e.oxw(2);const y=e.MAs(1);e.Q6J("ngTemplateOutlet",y)}}function u(c,S){if(1&c&&(e.TgZ(0,"div",21),e.YNc(1,ie,1,1,"ng-template",9),e.qZA()),2&c){const y=e.oxw();e.Q6J("matFormFieldNotchedOutlineOpen",y._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",y._labelWidth),e.xp6(1),e.Q6J("ngIf",!y._forceDisplayInfixLabel())}}function v(c,S){1&c&&(e.TgZ(0,"div",23,24),e.Hsn(2,2),e.qZA())}function M(c,S){1&c&&(e.TgZ(0,"div",25,26),e.Hsn(2,3),e.qZA())}function $(c,S){}function pe(c,S){if(1&c&&e.YNc(0,$,0,0,"ng-template",22),2&c){e.oxw();const y=e.MAs(1);e.Q6J("ngTemplateOutlet",y)}}function De(c,S){1&c&&(e.TgZ(0,"div",27),e.Hsn(1,4),e.qZA())}function Me(c,S){1&c&&(e.TgZ(0,"div",28),e.Hsn(1,5),e.qZA())}function Te(c,S){1&c&&e._UZ(0,"div",29)}function Ae(c,S){if(1&c&&(e.TgZ(0,"div",30),e.Hsn(1,6),e.qZA()),2&c){const y=e.oxw();e.Q6J("@transitionMessages",y._subscriptAnimationState)}}function Ie(c,S){if(1&c&&(e.TgZ(0,"mat-hint",34),e._uU(1),e.qZA()),2&c){const y=e.oxw(2);e.Q6J("id",y._hintLabelId),e.xp6(1),e.Oqu(y.hintLabel)}}function Re(c,S){if(1&c&&(e.TgZ(0,"div",31),e.YNc(1,Ie,2,2,"mat-hint",32),e.Hsn(2,7),e._UZ(3,"div",33),e.Hsn(4,8),e.qZA()),2&c){const y=e.oxw();e.Q6J("@transitionMessages",y._subscriptAnimationState),e.xp6(1),e.Q6J("ngIf",y.hintLabel)}}const Le=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Pe=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let Fe=(()=>{class c{}return c.\u0275fac=function(y){return new(y||c)},c.\u0275dir=e.lG2({type:c,selectors:[["mat-label"]]}),c})();const ae=new e.OlP("MatError");let x=0,a=(()=>{class c{constructor(){this.align="start",this.id="mat-mdc-hint-"+x++}}return c.\u0275fac=function(y){return new(y||c)},c.\u0275dir=e.lG2({type:c,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(y,L){2&y&&(e.Ikx("id",L.id),e.uIk("align",null),e.ekj("mat-mdc-form-field-hint-end","end"===L.align))},inputs:{align:"align",id:"id"}}),c})();const C=new e.OlP("MatPrefix");let f=(()=>{class c{constructor(){this._isText=!1}set _isTextSelector(y){this._isText=!0}}return c.\u0275fac=function(y){return new(y||c)},c.\u0275dir=e.lG2({type:c,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[e._Bn([{provide:C,useExisting:c}])]}),c})();const k=new e.OlP("MatSuffix");let X=(()=>{class c{constructor(){this._isText=!1}set _isTextSelector(y){this._isText=!0}}return c.\u0275fac=function(y){return new(y||c)},c.\u0275dir=e.lG2({type:c,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[e._Bn([{provide:k,useExisting:c}])]}),c})(),N=(()=>{class c{constructor(y){this._elementRef=y,this.floating=!1}getWidth(){return function J(c){if(null!==c.offsetParent)return c.scrollWidth;const y=c.cloneNode(!0);y.style.setProperty("position","absolute"),y.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(y);const L=y.scrollWidth;return y.remove(),L}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return c.\u0275fac=function(y){return new(y||c)(e.Y36(e.SBq))},c.\u0275dir=e.lG2({type:c,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(y,L){2&y&&e.ekj("mdc-floating-label--float-above",L.floating)},inputs:{floating:"floating"}}),c})();const Z="mdc-line-ripple--active",ne="mdc-line-ripple--deactivating";let ge=(()=>{class c{constructor(y,L){this._elementRef=y,this._handleTransitionEnd=w=>{const t=this._elementRef.nativeElement.classList,n=t.contains(ne);"opacity"===w.propertyName&&n&&t.remove(Z,ne)},L.runOutsideAngular(()=>{y.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const y=this._elementRef.nativeElement.classList;y.remove(ne),y.add(Z)}deactivate(){this._elementRef.nativeElement.classList.add(ne)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return c.\u0275fac=function(y){return new(y||c)(e.Y36(e.SBq),e.Y36(e.R0b))},c.\u0275dir=e.lG2({type:c,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),c})(),A=(()=>{class c{constructor(y,L){this._elementRef=y,this._ngZone=L,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const y=this._elementRef.nativeElement.querySelector(".mdc-floating-label");y?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(y.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>y.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_getNotchWidth(){return this.open?this.labelWidth>0?`calc(${this.labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:"0px":null}}return c.\u0275fac=function(y){return new(y||c)(e.Y36(e.SBq),e.Y36(e.R0b))},c.\u0275cmp=e.Xpm({type:c,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(y,L){2&y&&e.ekj("mdc-notched-outline--notched",L.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:te,ngContentSelectors:U,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(y,L){1&y&&(e.F$t(),e._UZ(0,"div",0),e.TgZ(1,"div",1),e.Hsn(2),e.qZA(),e._UZ(3,"div",2)),2&y&&(e.xp6(1),e.Udp("width",L._getNotchWidth()))},encapsulation:2,changeDetection:0}),c})();const Y={transitionMessages:(0,_.X$)("transitionMessages",[(0,_.SB)("enter",(0,_.oB)({opacity:1,transform:"translateY(0%)"})),(0,_.eR)("void => enter",[(0,_.oB)({opacity:0,transform:"translateY(-5px)"}),(0,_.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let xe=(()=>{class c{}return c.\u0275fac=function(y){return new(y||c)},c.\u0275dir=e.lG2({type:c}),c})();const l=new e.OlP("MatFormField"),p=new e.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let I=0;const j="fill";let V=(()=>{class c{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(y){this._hideRequiredMarker=(0,he.Ig)(y)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(y){y!==this._floatLabel&&(this._floatLabel=y,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(y){const L=this._appearance;this._appearance=y||this._defaults?.appearance||j,"outline"===this._appearance&&this._appearance!==L&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(y){this._subscriptSizing=y||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(y){this._hintLabel=y,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(y){this._explicitFormFieldControl=y}constructor(y,L,w,t,n,m,D,Q){this._elementRef=y,this._changeDetectorRef=L,this._ngZone=w,this._dir=t,this._platform=n,this._defaults=m,this._animationMode=D,this._document=Q,this._hideRequiredMarker=!1,this.color="primary",this._appearance=j,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+I++,this._hintLabelId="mat-mdc-hint-"+I++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new H.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,m&&(m.appearance&&(this.appearance=m.appearance),this._hideRequiredMarker=Boolean(m?.hideRequiredMarker),m.color&&(this.color=m.color))}ngAfterViewInit(){this._updateFocusState(),this._refreshOutlineNotchWidth(),this._document?.fonts?.ready?this._document.fonts.ready.then(()=>{this._refreshOutlineNotchWidth(),this._changeDetectorRef.markForCheck()}):setTimeout(()=>this._refreshOutlineNotchWidth(),100),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 y=this._control;y.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${y.controlType}`),y.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),y.ngControl&&y.ngControl.valueChanges&&y.ngControl.valueChanges.pipe((0,de.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(y=>!y._isText),this._hasTextPrefix=!!this._prefixChildren.find(y=>y._isText),this._hasIconSuffix=!!this._suffixChildren.find(y=>!y._isText),this._hasTextSuffix=!!this._suffixChildren.find(y=>y._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,K.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,de.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,de.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(y){const L=this._control?this._control.ngControl:null;return L&&L[y]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||(this._labelWidth=this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let y=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&y.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const L=this._hintChildren?this._hintChildren.find(t=>"start"===t.align):null,w=this._hintChildren?this._hintChildren.find(t=>"end"===t.align):null;L?y.push(L.id):this._hintLabel&&y.push(this._hintLabelId),w&&y.push(w.id)}else this._errorChildren&&y.push(...this._errorChildren.map(L=>L.id));this._control.setDescribedByIds(y)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const y=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(y.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const L=this._iconPrefixContainer?.nativeElement,w=this._textPrefixContainer?.nativeElement,t=L?.getBoundingClientRect().width??0,n=w?.getBoundingClientRect().width??0;y.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${t+n}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const y=this._elementRef.nativeElement;if(y.getRootNode){const L=y.getRootNode();return L&&L!==y}return document.documentElement.contains(y)}}return c.\u0275fac=function(y){return new(y||c)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(i.Is),e.Y36(o.t4),e.Y36(p,8),e.Y36(e.QbO,8),e.Y36(ve.K0))},c.\u0275cmp=e.Xpm({type:c,selectors:[["mat-form-field"]],contentQueries:function(y,L,w){if(1&y&&(e.Suo(w,Fe,5),e.Suo(w,Fe,7),e.Suo(w,xe,5),e.Suo(w,C,5),e.Suo(w,k,5),e.Suo(w,ae,5),e.Suo(w,a,5)),2&y){let t;e.iGM(t=e.CRH())&&(L._labelChildNonStatic=t.first),e.iGM(t=e.CRH())&&(L._labelChildStatic=t.first),e.iGM(t=e.CRH())&&(L._formFieldControl=t.first),e.iGM(t=e.CRH())&&(L._prefixChildren=t),e.iGM(t=e.CRH())&&(L._suffixChildren=t),e.iGM(t=e.CRH())&&(L._errorChildren=t),e.iGM(t=e.CRH())&&(L._hintChildren=t)}},viewQuery:function(y,L){if(1&y&&(e.Gf(W,5),e.Gf(me,5),e.Gf(fe,5),e.Gf(N,5),e.Gf(A,5),e.Gf(ge,5)),2&y){let w;e.iGM(w=e.CRH())&&(L._textField=w.first),e.iGM(w=e.CRH())&&(L._iconPrefixContainer=w.first),e.iGM(w=e.CRH())&&(L._textPrefixContainer=w.first),e.iGM(w=e.CRH())&&(L._floatingLabel=w.first),e.iGM(w=e.CRH())&&(L._notchedOutline=w.first),e.iGM(w=e.CRH())&&(L._lineRipple=w.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(y,L){2&y&&e.ekj("mat-mdc-form-field-label-always-float",L._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",L._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",L._hasIconSuffix)("mat-form-field-invalid",L._control.errorState)("mat-form-field-disabled",L._control.disabled)("mat-form-field-autofilled",L._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===L._animationMode)("mat-form-field-appearance-fill","fill"==L.appearance)("mat-form-field-appearance-outline","outline"==L.appearance)("mat-form-field-hide-placeholder",L._hasFloatingLabel()&&!L._shouldLabelFloat())("mat-focused",L._control.focused)("mat-primary","accent"!==L.color&&"warn"!==L.color)("mat-accent","accent"===L.color)("mat-warn","warn"===L.color)("ng-untouched",L._shouldForward("untouched"))("ng-touched",L._shouldForward("touched"))("ng-pristine",L._shouldForward("pristine"))("ng-dirty",L._shouldForward("dirty"))("ng-valid",L._shouldForward("valid"))("ng-invalid",L._shouldForward("invalid"))("ng-pending",L._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[e._Bn([{provide:l,useExisting:c}])],ngContentSelectors:Pe,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","matFormFieldNotchedOutlineLabelWidth",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","cdkObserveContentDisabled","id","cdkObserveContent",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent"],["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","matFormFieldNotchedOutlineLabelWidth"],[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(y,L){1&y&&(e.F$t(Le),e.YNc(0,be,1,1,"ng-template",null,0,e.W1O),e.TgZ(2,"div",1,2),e.NdJ("click",function(t){return L._control.onContainerClick&&L._control.onContainerClick(t)}),e.YNc(4,le,1,0,"div",3),e.TgZ(5,"div",4),e.YNc(6,u,2,3,"div",5),e.YNc(7,v,3,0,"div",6),e.YNc(8,M,3,0,"div",7),e.TgZ(9,"div",8),e.YNc(10,pe,1,1,"ng-template",9),e.Hsn(11),e.qZA(),e.YNc(12,De,2,0,"div",10),e.YNc(13,Me,2,0,"div",11),e.qZA(),e.YNc(14,Te,1,0,"div",12),e.qZA(),e.TgZ(15,"div",13),e.YNc(16,Ae,2,1,"div",14),e.YNc(17,Re,5,2,"div",15),e.qZA()),2&y&&(e.xp6(2),e.ekj("mdc-text-field--filled",!L._hasOutline())("mdc-text-field--outlined",L._hasOutline())("mdc-text-field--no-label",!L._hasFloatingLabel())("mdc-text-field--disabled",L._control.disabled)("mdc-text-field--invalid",L._control.errorState),e.xp6(2),e.Q6J("ngIf",!L._hasOutline()&&!L._control.disabled),e.xp6(2),e.Q6J("ngIf",L._hasOutline()),e.xp6(1),e.Q6J("ngIf",L._hasIconPrefix),e.xp6(1),e.Q6J("ngIf",L._hasTextPrefix),e.xp6(2),e.Q6J("ngIf",!L._hasOutline()||L._forceDisplayInfixLabel()),e.xp6(2),e.Q6J("ngIf",L._hasTextSuffix),e.xp6(1),e.Q6J("ngIf",L._hasIconSuffix),e.xp6(1),e.Q6J("ngIf",!L._hasOutline()),e.xp6(1),e.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===L.subscriptSizing),e.Q6J("ngSwitch",L._getDisplayedMessages()),e.xp6(1),e.Q6J("ngSwitchCase","error"),e.xp6(1),e.Q6J("ngSwitchCase","hint"))},dependencies:[ve.O5,ve.tP,ve.RF,ve.n9,re.wD,a,N,A,ge],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 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:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;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:var(--mdc-shape-small, 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:var(--mdc-shape-small, 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:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;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-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.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%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.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;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.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{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.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}.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{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.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-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{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.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}.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(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-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(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-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(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-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(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-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(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-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(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-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(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-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(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-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(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-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(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-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(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-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)}'],encapsulation:2,data:{animation:[Y.transitionMessages]},changeDetection:0}),c})(),q=(()=>{class c{}return c.\u0275fac=function(y){return new(y||c)},c.\u0275mod=e.oAB({type:c}),c.\u0275inj=e.cJS({imports:[ce.BQ,ve.ez,re.Q8,ce.BQ]}),c})()},7392:(ze,Ee,s)=>{s.d(Ee,{Hw:()=>B,Ps:()=>x});var e=s(4650),i=s(3238),o=s(1281),H=s(6895),K=s(9646),de=s(2843),ve=s(4128),he=s(727),_=s(8505),re=s(4004),ce=s(262),te=s(8746),U=s(3099),W=s(5698),me=s(529),fe=s(1481);const R=["*"];let ye;function le(a){return function be(){if(void 0===ye&&(ye=null,typeof window<"u")){const a=window;void 0!==a.trustedTypes&&(ye=a.trustedTypes.createPolicy("angular#components",{createHTML:C=>C}))}return ye}()?.createHTML(a)||a}function F(a){return Error(`Unable to find icon with the name "${a}"`)}function u(a){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${a}".`)}function v(a){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${a}".`)}class M{constructor(C,f,k){this.url=C,this.svgText=f,this.options=k}}let $=(()=>{class a{constructor(f,k,X,N){this._httpClient=f,this._sanitizer=k,this._errorHandler=N,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=X}addSvgIcon(f,k,X){return this.addSvgIconInNamespace("",f,k,X)}addSvgIconLiteral(f,k,X){return this.addSvgIconLiteralInNamespace("",f,k,X)}addSvgIconInNamespace(f,k,X,N){return this._addSvgIconConfig(f,k,new M(X,null,N))}addSvgIconResolver(f){return this._resolvers.push(f),this}addSvgIconLiteralInNamespace(f,k,X,N){const J=this._sanitizer.sanitize(e.q3G.HTML,X);if(!J)throw v(X);const Z=le(J);return this._addSvgIconConfig(f,k,new M("",Z,N))}addSvgIconSet(f,k){return this.addSvgIconSetInNamespace("",f,k)}addSvgIconSetLiteral(f,k){return this.addSvgIconSetLiteralInNamespace("",f,k)}addSvgIconSetInNamespace(f,k,X){return this._addSvgIconSetConfig(f,new M(k,null,X))}addSvgIconSetLiteralInNamespace(f,k,X){const N=this._sanitizer.sanitize(e.q3G.HTML,k);if(!N)throw v(k);const J=le(N);return this._addSvgIconSetConfig(f,new M("",J,X))}registerFontClassAlias(f,k=f){return this._fontCssClassesByAlias.set(f,k),this}classNameForFontAlias(f){return this._fontCssClassesByAlias.get(f)||f}setDefaultFontSetClass(...f){return this._defaultFontSetClass=f,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(f){const k=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,f);if(!k)throw u(f);const X=this._cachedIconsByUrl.get(k);return X?(0,K.of)(Me(X)):this._loadSvgIconFromConfig(new M(f,null)).pipe((0,_.b)(N=>this._cachedIconsByUrl.set(k,N)),(0,re.U)(N=>Me(N)))}getNamedSvgIcon(f,k=""){const X=Te(k,f);let N=this._svgIconConfigs.get(X);if(N)return this._getSvgFromConfig(N);if(N=this._getIconConfigFromResolvers(k,f),N)return this._svgIconConfigs.set(X,N),this._getSvgFromConfig(N);const J=this._iconSetConfigs.get(k);return J?this._getSvgFromIconSetConfigs(f,J):(0,de._)(F(X))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(f){return f.svgText?(0,K.of)(Me(this._svgElementFromConfig(f))):this._loadSvgIconFromConfig(f).pipe((0,re.U)(k=>Me(k)))}_getSvgFromIconSetConfigs(f,k){const X=this._extractIconWithNameFromAnySet(f,k);if(X)return(0,K.of)(X);const N=k.filter(J=>!J.svgText).map(J=>this._loadSvgIconSetFromConfig(J).pipe((0,ce.K)(Z=>{const ge=`Loading icon set URL: ${this._sanitizer.sanitize(e.q3G.RESOURCE_URL,J.url)} failed: ${Z.message}`;return this._errorHandler.handleError(new Error(ge)),(0,K.of)(null)})));return(0,ve.D)(N).pipe((0,re.U)(()=>{const J=this._extractIconWithNameFromAnySet(f,k);if(!J)throw F(f);return J}))}_extractIconWithNameFromAnySet(f,k){for(let X=k.length-1;X>=0;X--){const N=k[X];if(N.svgText&&N.svgText.toString().indexOf(f)>-1){const J=this._svgElementFromConfig(N),Z=this._extractSvgIconFromSet(J,f,N.options);if(Z)return Z}}return null}_loadSvgIconFromConfig(f){return this._fetchIcon(f).pipe((0,_.b)(k=>f.svgText=k),(0,re.U)(()=>this._svgElementFromConfig(f)))}_loadSvgIconSetFromConfig(f){return f.svgText?(0,K.of)(null):this._fetchIcon(f).pipe((0,_.b)(k=>f.svgText=k))}_extractSvgIconFromSet(f,k,X){const N=f.querySelector(`[id="${k}"]`);if(!N)return null;const J=N.cloneNode(!0);if(J.removeAttribute("id"),"svg"===J.nodeName.toLowerCase())return this._setSvgAttributes(J,X);if("symbol"===J.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(J),X);const Z=this._svgElementFromString(le("<svg></svg>"));return Z.appendChild(J),this._setSvgAttributes(Z,X)}_svgElementFromString(f){const k=this._document.createElement("DIV");k.innerHTML=f;const X=k.querySelector("svg");if(!X)throw Error("<svg> tag not found");return X}_toSvgElement(f){const k=this._svgElementFromString(le("<svg></svg>")),X=f.attributes;for(let N=0;N<X.length;N++){const{name:J,value:Z}=X[N];"id"!==J&&k.setAttribute(J,Z)}for(let N=0;N<f.childNodes.length;N++)f.childNodes[N].nodeType===this._document.ELEMENT_NODE&&k.appendChild(f.childNodes[N].cloneNode(!0));return k}_setSvgAttributes(f,k){return f.setAttribute("fit",""),f.setAttribute("height","100%"),f.setAttribute("width","100%"),f.setAttribute("preserveAspectRatio","xMidYMid meet"),f.setAttribute("focusable","false"),k&&k.viewBox&&f.setAttribute("viewBox",k.viewBox),f}_fetchIcon(f){const{url:k,options:X}=f,N=X?.withCredentials??!1;if(!this._httpClient)throw function ie(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==k)throw Error(`Cannot fetch icon from URL "${k}".`);const J=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,k);if(!J)throw u(k);const Z=this._inProgressUrlFetches.get(J);if(Z)return Z;const ne=this._httpClient.get(J,{responseType:"text",withCredentials:N}).pipe((0,re.U)(ge=>le(ge)),(0,te.x)(()=>this._inProgressUrlFetches.delete(J)),(0,U.B)());return this._inProgressUrlFetches.set(J,ne),ne}_addSvgIconConfig(f,k,X){return this._svgIconConfigs.set(Te(f,k),X),this}_addSvgIconSetConfig(f,k){const X=this._iconSetConfigs.get(f);return X?X.push(k):this._iconSetConfigs.set(f,[k]),this}_svgElementFromConfig(f){if(!f.svgElement){const k=this._svgElementFromString(f.svgText);this._setSvgAttributes(k,f.options),f.svgElement=k}return f.svgElement}_getIconConfigFromResolvers(f,k){for(let X=0;X<this._resolvers.length;X++){const N=this._resolvers[X](k,f);if(N)return Ae(N)?new M(N.url,null,N.options):new M(N,null)}}}return a.\u0275fac=function(f){return new(f||a)(e.LFG(me.eN,8),e.LFG(fe.H7),e.LFG(H.K0,8),e.LFG(e.qLn))},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();function Me(a){return a.cloneNode(!0)}function Te(a,C){return a+":"+C}function Ae(a){return!(!a.url||!a.options)}const Ie=(0,i.pj)(class{constructor(a){this._elementRef=a}}),Re=new e.OlP("MAT_ICON_DEFAULT_OPTIONS"),Le=new e.OlP("mat-icon-location",{providedIn:"root",factory:function Pe(){const a=(0,e.f3M)(H.K0),C=a?a.location:null;return{getPathname:()=>C?C.pathname+C.search:""}}}),Fe=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],we=Fe.map(a=>`[${a}]`).join(", "),ae=/^url\(['"]?#(.*?)['"]?\)$/;let B=(()=>{class a extends Ie{get inline(){return this._inline}set inline(f){this._inline=(0,o.Ig)(f)}get svgIcon(){return this._svgIcon}set svgIcon(f){f!==this._svgIcon&&(f?this._updateSvgIcon(f):this._svgIcon&&this._clearSvgElement(),this._svgIcon=f)}get fontSet(){return this._fontSet}set fontSet(f){const k=this._cleanupFontValue(f);k!==this._fontSet&&(this._fontSet=k,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(f){const k=this._cleanupFontValue(f);k!==this._fontIcon&&(this._fontIcon=k,this._updateFontIconClasses())}constructor(f,k,X,N,J,Z){super(f),this._iconRegistry=k,this._location=N,this._errorHandler=J,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=he.w0.EMPTY,Z&&(Z.color&&(this.color=this.defaultColor=Z.color),Z.fontSet&&(this.fontSet=Z.fontSet)),X||f.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(f){if(!f)return["",""];const k=f.split(":");switch(k.length){case 1:return["",k[0]];case 2:return k;default:throw Error(`Invalid icon name: "${f}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const f=this._elementsWithExternalReferences;if(f&&f.size){const k=this._location.getPathname();k!==this._previousPath&&(this._previousPath=k,this._prependPathToReferences(k))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(f){this._clearSvgElement();const k=this._location.getPathname();this._previousPath=k,this._cacheChildrenWithExternalReferences(f),this._prependPathToReferences(k),this._elementRef.nativeElement.appendChild(f)}_clearSvgElement(){const f=this._elementRef.nativeElement;let k=f.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();k--;){const X=f.childNodes[k];(1!==X.nodeType||"svg"===X.nodeName.toLowerCase())&&X.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const f=this._elementRef.nativeElement,k=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(X=>X.length>0);this._previousFontSetClass.forEach(X=>f.classList.remove(X)),k.forEach(X=>f.classList.add(X)),this._previousFontSetClass=k,this.fontIcon!==this._previousFontIconClass&&!k.includes("mat-ligature-font")&&(this._previousFontIconClass&&f.classList.remove(this._previousFontIconClass),this.fontIcon&&f.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(f){return"string"==typeof f?f.trim().split(" ")[0]:f}_prependPathToReferences(f){const k=this._elementsWithExternalReferences;k&&k.forEach((X,N)=>{X.forEach(J=>{N.setAttribute(J.name,`url('${f}#${J.value}')`)})})}_cacheChildrenWithExternalReferences(f){const k=f.querySelectorAll(we),X=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let N=0;N<k.length;N++)Fe.forEach(J=>{const Z=k[N],ne=Z.getAttribute(J),ge=ne?ne.match(ae):null;if(ge){let A=X.get(Z);A||(A=[],X.set(Z,A)),A.push({name:J,value:ge[1]})}})}_updateSvgIcon(f){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),f){const[k,X]=this._splitIconName(f);k&&(this._svgNamespace=k),X&&(this._svgName=X),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(X,k).pipe((0,W.q)(1)).subscribe(N=>this._setSvgElement(N),N=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${k}:${X}! ${N.message}`))})}}}return a.\u0275fac=function(f){return new(f||a)(e.Y36(e.SBq),e.Y36($),e.$8M("aria-hidden"),e.Y36(Le),e.Y36(e.qLn),e.Y36(Re,8))},a.\u0275cmp=e.Xpm({type:a,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(f,k){2&f&&(e.uIk("data-mat-icon-type",k._usingFontIcon()?"font":"svg")("data-mat-icon-name",k._svgName||k.fontIcon)("data-mat-icon-namespace",k._svgNamespace||k.fontSet)("fontIcon",k._usingFontIcon()?k.fontIcon:null),e.ekj("mat-icon-inline",k.inline)("mat-icon-no-color","primary"!==k.color&&"accent"!==k.color&&"warn"!==k.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[e.qOj],ngContentSelectors:R,decls:1,vars:0,template:function(f,k){1&f&&(e.F$t(),e.Hsn(0))},styles:[".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}),a})(),x=(()=>{class a{}return a.\u0275fac=function(f){return new(f||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[i.BQ,i.BQ]}),a})()},4144:(ze,Ee,s)=>{s.d(Ee,{Jk:()=>me,Nt:()=>be,c:()=>le});var e=s(1281),i=s(3353),o=s(4650),H=s(515),K=s(7579);const de=(0,i.i$)({passive:!0});let ve=(()=>{class F{constructor(u,v){this._platform=u,this._ngZone=v,this._monitoredElements=new Map}monitor(u){if(!this._platform.isBrowser)return H.E;const v=(0,e.fI)(u),M=this._monitoredElements.get(v);if(M)return M.subject;const $=new K.x,pe="cdk-text-field-autofilled",De=Me=>{"cdk-text-field-autofill-start"!==Me.animationName||v.classList.contains(pe)?"cdk-text-field-autofill-end"===Me.animationName&&v.classList.contains(pe)&&(v.classList.remove(pe),this._ngZone.run(()=>$.next({target:Me.target,isAutofilled:!1}))):(v.classList.add(pe),this._ngZone.run(()=>$.next({target:Me.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{v.addEventListener("animationstart",De,de),v.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(v,{subject:$,unlisten:()=>{v.removeEventListener("animationstart",De,de)}}),$}stopMonitoring(u){const v=(0,e.fI)(u),M=this._monitoredElements.get(v);M&&(M.unlisten(),M.subject.complete(),v.classList.remove("cdk-text-field-autofill-monitored"),v.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(v))}ngOnDestroy(){this._monitoredElements.forEach((u,v)=>this.stopMonitoring(v))}}return F.\u0275fac=function(u){return new(u||F)(o.LFG(i.t4),o.LFG(o.R0b))},F.\u0275prov=o.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),re=(()=>{class F{}return F.\u0275fac=function(u){return new(u||F)},F.\u0275mod=o.oAB({type:F}),F.\u0275inj=o.cJS({}),F})();var ce=s(4006),te=s(3238),U=s(9549);const me=new o.OlP("MAT_INPUT_VALUE_ACCESSOR"),fe=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let R=0;const ye=(0,te.FD)(class{constructor(F,ie,u,v){this._defaultErrorStateMatcher=F,this._parentForm=ie,this._parentFormGroup=u,this.ngControl=v,this.stateChanges=new K.x}});let be=(()=>{class F extends ye{get disabled(){return this._disabled}set disabled(u){this._disabled=(0,e.Ig)(u),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(u){this._id=u||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(ce.kI.required)??!1}set required(u){this._required=(0,e.Ig)(u)}get type(){return this._type}set type(u){this._type=u||"text",this._validateType(),!this._isTextarea&&(0,i.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(u){u!==this.value&&(this._inputValueAccessor.value=u,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(u){this._readonly=(0,e.Ig)(u)}constructor(u,v,M,$,pe,De,Me,Te,Ae,Ie){super(De,$,pe,M),this._elementRef=u,this._platform=v,this._autofillMonitor=Te,this._formField=Ie,this._uid="mat-input-"+R++,this.focused=!1,this.stateChanges=new K.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(Pe=>(0,i.qK)().has(Pe)),this._iOSKeyupListener=Pe=>{const Fe=Pe.target;!Fe.value&&0===Fe.selectionStart&&0===Fe.selectionEnd&&(Fe.setSelectionRange(1,1),Fe.setSelectionRange(0,0))};const Re=this._elementRef.nativeElement,Le=Re.nodeName.toLowerCase();this._inputValueAccessor=Me||Re,this._previousNativeValue=this.value,this.id=this.id,v.IOS&&Ae.runOutsideAngular(()=>{u.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===Le,this._isTextarea="textarea"===Le,this._isInFormField=!!Ie,this._isNativeSelect&&(this.controlType=Re.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(u=>{this.autofilled=u.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(u){this._elementRef.nativeElement.focus(u)}_focusChanged(u){u!==this.focused&&(this.focused=u,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const u=this._elementRef.nativeElement.value;this._previousNativeValue!==u&&(this._previousNativeValue=u,this.stateChanges.next())}_dirtyCheckPlaceholder(){const u=this._getPlaceholder();if(u!==this._previousPlaceholder){const v=this._elementRef.nativeElement;this._previousPlaceholder=u,u?v.setAttribute("placeholder",u):v.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){fe.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let u=this._elementRef.nativeElement.validity;return u&&u.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const u=this._elementRef.nativeElement,v=u.options[0];return this.focused||u.multiple||!this.empty||!!(u.selectedIndex>-1&&v&&v.label)}return this.focused||!this.empty}setDescribedByIds(u){u.length?this._elementRef.nativeElement.setAttribute("aria-describedby",u.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const u=this._elementRef.nativeElement;return this._isNativeSelect&&(u.multiple||u.size>1)}}return F.\u0275fac=function(u){return new(u||F)(o.Y36(o.SBq),o.Y36(i.t4),o.Y36(ce.a5,10),o.Y36(ce.F,8),o.Y36(ce.sg,8),o.Y36(te.rD),o.Y36(me,10),o.Y36(ve),o.Y36(o.R0b),o.Y36(U.G_,8))},F.\u0275dir=o.lG2({type:F,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(u,v){1&u&&o.NdJ("focus",function(){return v._focusChanged(!0)})("blur",function(){return v._focusChanged(!1)})("input",function(){return v._onInput()}),2&u&&(o.Ikx("id",v.id)("disabled",v.disabled)("required",v.required),o.uIk("name",v.name||null)("readonly",v.readonly&&!v._isNativeSelect||null)("aria-invalid",v.empty&&v.required?null:v.errorState)("aria-required",v.required)("id",v.id),o.ekj("mat-input-server",v._isServer)("mat-mdc-form-field-textarea-control",v._isInFormField&&v._isTextarea)("mat-mdc-form-field-input-control",v._isInFormField)("mdc-text-field__input",v._isInFormField)("mat-mdc-native-select-inline",v._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:[o._Bn([{provide:U.Eo,useExisting:F}]),o.qOj,o.TTD]}),F})(),le=(()=>{class F{}return F.\u0275fac=function(u){return new(u||F)},F.\u0275mod=o.oAB({type:F}),F.\u0275inj=o.cJS({imports:[te.BQ,U.lN,U.lN,re,te.BQ]}),F})()},1948:(ze,Ee,s)=>{s.d(Ee,{Fk:()=>ie,U0:()=>F,VQ:()=>le});var e=s(4650),i=s(3238),o=s(7253),H=s(1281),K=s(5017),de=s(4006),ve=s(6895);const he=["input"],_=["*"];let re=0;class ce{constructor(v,M){this.source=v,this.value=M}}const te={provide:de.JU,useExisting:(0,e.Gpc)(()=>le),multi:!0},U=new e.OlP("MatRadioGroup"),W=new e.OlP("mat-radio-default-options",{providedIn:"root",factory:function me(){return{color:"accent"}}});let fe=(()=>{class u{get name(){return this._name}set name(M){this._name=M,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(M){this._labelPosition="before"===M?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(M){this._value!==M&&(this._value=M,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(M){this._selected=M,this.value=M?M.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(M){this._disabled=(0,H.Ig)(M),this._markRadiosForCheck()}get required(){return this._required}set required(M){this._required=(0,H.Ig)(M),this._markRadiosForCheck()}constructor(M){this._changeDetector=M,this._value=null,this._name="mat-radio-group-"+re++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new e.vpe}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(M=>{M.name=this.name,M._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach($=>{$.checked=this.value===$.value,$.checked&&(this._selected=$)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new ce(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(M=>M._markForCheck())}writeValue(M){this.value=M,this._changeDetector.markForCheck()}registerOnChange(M){this._controlValueAccessorChangeFn=M}registerOnTouched(M){this.onTouched=M}setDisabledState(M){this.disabled=M,this._changeDetector.markForCheck()}}return u.\u0275fac=function(M){return new(M||u)(e.Y36(e.sBO))},u.\u0275dir=e.lG2({type:u,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),u})();class R{constructor(v){this._elementRef=v}}const ye=(0,i.Kr)((0,i.sb)(R));let be=(()=>{class u extends ye{get checked(){return this._checked}set checked(M){const $=(0,H.Ig)(M);this._checked!==$&&(this._checked=$,$&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!$&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),$&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(M){this._value!==M&&(this._value=M,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===M),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(M){this._labelPosition=M}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(M){this._setDisabled((0,H.Ig)(M))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(M){this._required=(0,H.Ig)(M)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(M){this._color=M}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(M,$,pe,De,Me,Te,Ae,Ie){super($),this._changeDetector=pe,this._focusMonitor=De,this._radioDispatcher=Me,this._providerOverride=Ae,this._uniqueId="mat-radio-"+ ++re,this.id=this._uniqueId,this.change=new e.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=M,this._noopAnimations="NoopAnimations"===Te,Ie&&(this.tabIndex=(0,H.su)(Ie,0))}focus(M,$){$?this._focusMonitor.focusVia(this._inputElement,$,M):this._inputElement.nativeElement.focus(M)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name),this._removeUniqueSelectionListener=this._radioDispatcher.listen((M,$)=>{M!==this.id&&$===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(M=>{!M&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new ce(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(M){M.stopPropagation()}_onInputInteraction(M){if(M.stopPropagation(),!this.checked&&!this.disabled){const $=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),$&&this.radioGroup._emitChangeEvent())}}_setDisabled(M){this._disabled!==M&&(this._disabled=M,this._changeDetector.markForCheck())}_updateTabIndex(){const M=this.radioGroup;let $;if($=M&&M.selected&&!this.disabled?M.selected===this?this.tabIndex:-1:this.tabIndex,$!==this._previousTabIndex){const pe=this._inputElement?.nativeElement;pe&&(pe.setAttribute("tabindex",$+""),this._previousTabIndex=$)}}}return u.\u0275fac=function(M){e.$Z()},u.\u0275dir=e.lG2({type:u,viewQuery:function(M,$){if(1&M&&e.Gf(he,5),2&M){let pe;e.iGM(pe=e.CRH())&&($._inputElement=pe.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[e.qOj]}),u})(),le=(()=>{class u extends fe{}return u.\u0275fac=function(){let v;return function($){return(v||(v=e.n5z(u)))($||u)}}(),u.\u0275dir=e.lG2({type:u,selectors:[["mat-radio-group"]],contentQueries:function(M,$,pe){if(1&M&&e.Suo(pe,F,5),2&M){let De;e.iGM(De=e.CRH())&&($._radios=De)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],exportAs:["matRadioGroup"],features:[e._Bn([te,{provide:U,useExisting:u}]),e.qOj]}),u})(),F=(()=>{class u extends be{constructor(M,$,pe,De,Me,Te,Ae,Ie){super(M,$,pe,De,Me,Te,Ae,Ie)}}return u.\u0275fac=function(M){return new(M||u)(e.Y36(U,8),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(o.tE),e.Y36(K.A8),e.Y36(e.QbO,8),e.Y36(W,8),e.$8M("tabindex"))},u.\u0275cmp=e.Xpm({type:u,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(M,$){1&M&&e.NdJ("focus",function(){return $._inputElement.nativeElement.focus()}),2&M&&(e.uIk("id",$.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),e.ekj("mat-primary","primary"===$.color)("mat-accent","accent"===$.color)("mat-warn","warn"===$.color)("mat-mdc-radio-checked",$.checked)("_mat-animation-noopable",$._noopAnimations))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[e.qOj],ngContentSelectors:_,decls:13,vars:17,consts:[[1,"mdc-form-field"],["formField",""],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",1,"mdc-radio__native-control",3,"id","checked","disabled","required","change"],["input",""],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[3,"for"]],template:function(M,$){if(1&M&&(e.F$t(),e.TgZ(0,"div",0,1)(2,"div",2)(3,"div",3),e.NdJ("click",function(De){return $._onInputInteraction(De)}),e.qZA(),e.TgZ(4,"input",4,5),e.NdJ("change",function(De){return $._onInputInteraction(De)}),e.qZA(),e.TgZ(6,"div",6),e._UZ(7,"div",7)(8,"div",8),e.qZA(),e.TgZ(9,"div",9),e._UZ(10,"div",10),e.qZA()(),e.TgZ(11,"label",11),e.Hsn(12),e.qZA()()),2&M){const pe=e.MAs(1);e.ekj("mdc-form-field--align-end","before"==$.labelPosition),e.xp6(2),e.ekj("mdc-radio--disabled",$.disabled),e.xp6(2),e.Q6J("id",$.inputId)("checked",$.checked)("disabled",$.disabled)("required",$.required),e.uIk("name",$.name)("value",$.value)("aria-label",$.ariaLabel)("aria-labelledby",$.ariaLabelledby)("aria-describedby",$.ariaDescribedby),e.xp6(5),e.Q6J("matRippleTrigger",pe)("matRippleDisabled",$._isRippleDisabled())("matRippleCentered",!0),e.xp6(2),e.Q6J("for",$.inputId)}},dependencies:[i.wG],styles:['.mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mdc-radio[hidden]{display:none}.mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__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%}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__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-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mdc-radio__native-control:checked+.mdc-radio__background,.mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio--disabled{cursor:default;pointer-events:none}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:disabled+.mdc-radio__background,[aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.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}.mat-mdc-radio-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{padding:calc((var(--mdc-radio-state-layer-size, 40px) - 20px) / 2)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color, #000)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-disabled-selected-icon-color, #000)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color, #000)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color, #6200ee)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-focus-icon-color, #6200ee)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-hover-icon-color, #6200ee)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color, #6200ee)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-icon-color, #6200ee)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color, #6200ee)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-pressed-icon-color, #6200ee)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color, #6200ee)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color, #000)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color, #000)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color, #000)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{top:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);width:var(--mdc-radio-state-layer-size, 40px);height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control{top:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);right:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);left:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);width:var(--mdc-radio-state-layer-size, 40px);height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{background-color:var(--mat-mdc-radio-ripple-color, transparent)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-mdc-radio-checked-ripple-color, transparent)}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element{background-color:var(--mat-mdc-radio-checked-ripple-color, transparent)}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple .mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, black)}.mat-mdc-radio-button.cdk-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-radio-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}[dir=rtl] .mat-mdc-radio-touch-target{left:0;right:50%;transform:translate(50%, -50%)}'],encapsulation:2,changeDetection:0}),u})(),ie=(()=>{class u{}return u.\u0275fac=function(M){return new(M||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[i.BQ,ve.ez,i.si,i.BQ]}),u})()},4385:(ze,Ee,s)=>{s.d(Ee,{LD:()=>Z,gD:()=>J});var e=s(8184),i=s(6895),o=s(4650),H=s(3238),K=s(9549),de=s(7376),ve=s(7253),he=s(445),_=s(1281),re=s(5017),ce=s(9521),te=s(4006),U=s(7579),W=s(9770),me=s(6451),fe=s(8675),R=s(3900),ye=s(5698),be=s(9300),le=s(4004),F=s(1884),ie=s(2722),u=s(7340);const v=["trigger"],M=["panel"];function $(ne,ge){if(1&ne&&(o.TgZ(0,"span",10),o._uU(1),o.qZA()),2&ne){const A=o.oxw();o.xp6(1),o.Oqu(A.placeholder)}}function pe(ne,ge){if(1&ne&&(o.TgZ(0,"span",14),o._uU(1),o.qZA()),2&ne){const A=o.oxw(2);o.xp6(1),o.Oqu(A.triggerValue)}}function De(ne,ge){1&ne&&o.Hsn(0,0,["*ngSwitchCase","true"])}function Me(ne,ge){if(1&ne&&(o.TgZ(0,"span",11),o.YNc(1,pe,2,1,"span",12),o.YNc(2,De,1,0,"ng-content",13),o.qZA()),2&ne){const A=o.oxw();o.Q6J("ngSwitch",!!A.customTrigger),o.xp6(2),o.Q6J("ngSwitchCase",!0)}}function Te(ne,ge){if(1&ne){const A=o.EpF();o.O4$(),o.kcU(),o.TgZ(0,"div",15,16),o.NdJ("@transformPanel.done",function(xe){o.CHM(A);const ke=o.oxw();return o.KtG(ke._panelDoneAnimatingStream.next(xe.toState))})("keydown",function(xe){o.CHM(A);const ke=o.oxw();return o.KtG(ke._handleKeydown(xe))}),o.Hsn(2,1),o.qZA()}if(2&ne){const A=o.oxw();o.Gre("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",A._getPanelTheme(),""),o.Q6J("ngClass",A.panelClass)("@transformPanel","showing"),o.uIk("id",A.id+"-panel")("aria-multiselectable",A.multiple)("aria-label",A.ariaLabel||null)("aria-labelledby",A._getPanelAriaLabelledby())}}const Ae=[[["mat-select-trigger"]],"*"],Ie=["mat-select-trigger","*"],Re={transformPanelWrap:(0,u.X$)("transformPanelWrap",[(0,u.eR)("* => void",(0,u.IO)("@transformPanel",[(0,u.pV)()],{optional:!0}))]),transformPanel:(0,u.X$)("transformPanel",[(0,u.SB)("void",(0,u.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,u.eR)("void => showing",(0,u.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,u.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,u.eR)("* => void",(0,u.jt)("100ms linear",(0,u.oB)({opacity:0})))])};let we=0;const ae=new o.OlP("mat-select-scroll-strategy"),x=new o.OlP("MAT_SELECT_CONFIG"),a={provide:ae,deps:[e.aV],useFactory:function B(ne){return()=>ne.scrollStrategies.reposition()}},C=new o.OlP("MatSelectTrigger");class f{constructor(ge,A){this.source=ge,this.value=A}}const k=(0,H.Kr)((0,H.sb)((0,H.Id)((0,H.FD)(class{constructor(ne,ge,A,Y,xe){this._elementRef=ne,this._defaultErrorStateMatcher=ge,this._parentForm=A,this._parentFormGroup=Y,this.ngControl=xe,this.stateChanges=new U.x}}))));let X=(()=>{class ne extends k{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(A){this._placeholder=A,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(te.kI.required)??!1}set required(A){this._required=(0,_.Ig)(A),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(A){this._multiple=(0,_.Ig)(A)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(A){this._disableOptionCentering=(0,_.Ig)(A)}get compareWith(){return this._compareWith}set compareWith(A){this._compareWith=A,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(A){this._assignValue(A)&&this._onChange(A)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(A){this._typeaheadDebounceInterval=(0,_.su)(A)}get id(){return this._id}set id(A){this._id=A||this._uid,this.stateChanges.next()}constructor(A,Y,xe,ke,He,ee,l,p,I,j,oe,ue,Se,V){super(He,ke,l,p,j),this._viewportRuler=A,this._changeDetectorRef=Y,this._ngZone=xe,this._dir=ee,this._parentFormField=I,this._liveAnnouncer=Se,this._defaultOptions=V,this._panelOpen=!1,this._compareWith=(q,c)=>q===c,this._uid="mat-select-"+we++,this._triggerAriaLabelledBy=null,this._destroy=new U.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+we++,this._panelDoneAnimatingStream=new U.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,W.P)(()=>{const q=this.options;return q?q.changes.pipe((0,fe.O)(q),(0,R.w)(()=>(0,me.T)(...q.map(c=>c.onSelectionChange)))):this._ngZone.onStable.pipe((0,ye.q)(1),(0,R.w)(()=>this.optionSelectionChanges))}),this.openedChange=new o.vpe,this._openedStream=this.openedChange.pipe((0,be.h)(q=>q),(0,le.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,be.h)(q=>!q),(0,le.U)(()=>{})),this.selectionChange=new o.vpe,this.valueChange=new o.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=V?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=V.typeaheadDebounceInterval),this._scrollStrategyFactory=ue,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(oe)||0,this.id=this.id}ngOnInit(){this._selectionModel=new re.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,F.x)(),(0,ie.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,ie.R)(this._destroy)).subscribe(A=>{A.added.forEach(Y=>Y.select()),A.removed.forEach(Y=>Y.deselect())}),this.options.changes.pipe((0,fe.O)(null),(0,ie.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const A=this._getTriggerAriaLabelledby(),Y=this.ngControl;if(A!==this._triggerAriaLabelledBy){const xe=this._elementRef.nativeElement;this._triggerAriaLabelledBy=A,A?xe.setAttribute("aria-labelledby",A):xe.removeAttribute("aria-labelledby")}Y&&(this._previousControl!==Y.control&&(void 0!==this._previousControl&&null!==Y.disabled&&Y.disabled!==this.disabled&&(this.disabled=Y.disabled),this._previousControl=Y.control),this.updateErrorState())}ngOnChanges(A){(A.disabled||A.userAriaDescribedBy)&&this.stateChanges.next(),A.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(A){this._assignValue(A)}registerOnChange(A){this._onChange=A}registerOnTouched(A){this._onTouched=A}setDisabledState(A){this.disabled=A,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 A=this._selectionModel.selected.map(Y=>Y.viewValue);return this._isRtl()&&A.reverse(),A.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(A){this.disabled||(this.panelOpen?this._handleOpenKeydown(A):this._handleClosedKeydown(A))}_handleClosedKeydown(A){const Y=A.keyCode,xe=Y===ce.JH||Y===ce.LH||Y===ce.oh||Y===ce.SV,ke=Y===ce.K5||Y===ce.L_,He=this._keyManager;if(!He.isTyping()&&ke&&!(0,ce.Vb)(A)||(this.multiple||A.altKey)&&xe)A.preventDefault(),this.open();else if(!this.multiple){const ee=this.selected;He.onKeydown(A);const l=this.selected;l&&ee!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(A){const Y=this._keyManager,xe=A.keyCode,ke=xe===ce.JH||xe===ce.LH,He=Y.isTyping();if(ke&&A.altKey)A.preventDefault(),this.close();else if(He||xe!==ce.K5&&xe!==ce.L_||!Y.activeItem||(0,ce.Vb)(A))if(!He&&this._multiple&&xe===ce.A&&A.ctrlKey){A.preventDefault();const ee=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(ee?l.select():l.deselect())})}else{const ee=Y.activeItemIndex;Y.onKeydown(A),this._multiple&&ke&&A.shiftKey&&Y.activeItem&&Y.activeItemIndex!==ee&&Y.activeItem._selectViaInteraction()}else A.preventDefault(),Y.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(A){if(this.options.forEach(Y=>Y.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&A)Array.isArray(A),A.forEach(Y=>this._selectOptionByValue(Y)),this._sortValues();else{const Y=this._selectOptionByValue(A);Y?this._keyManager.updateActiveItem(Y):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(A){const Y=this.options.find(xe=>{if(this._selectionModel.isSelected(xe))return!1;try{return null!=xe.value&&this._compareWith(xe.value,A)}catch{return!1}});return Y&&this._selectionModel.select(Y),Y}_assignValue(A){return!!(A!==this._value||this._multiple&&Array.isArray(A))&&(this.options&&this._setSelectionByValue(A),this._value=A,!0)}_initKeyManager(){this._keyManager=new ve.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]),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 A=(0,me.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,ie.R)(A)).subscribe(Y=>{this._onSelect(Y.source,Y.isUserInput),Y.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,me.T)(...this.options.map(Y=>Y._stateChanges)).pipe((0,ie.R)(A)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(A,Y){const xe=this._selectionModel.isSelected(A);null!=A.value||this._multiple?(xe!==A.selected&&(A.selected?this._selectionModel.select(A):this._selectionModel.deselect(A)),Y&&this._keyManager.setActiveItem(A),this.multiple&&(this._sortValues(),Y&&this.focus())):(A.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(A.value)),xe!==this._selectionModel.isSelected(A)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const A=this.options.toArray();this._selectionModel.sort((Y,xe)=>this.sortComparator?this.sortComparator(Y,xe,A):A.indexOf(Y)-A.indexOf(xe)),this.stateChanges.next()}}_propagateChanges(A){let Y=null;Y=this.multiple?this.selected.map(xe=>xe.value):this.selected?this.selected.value:A,this._value=Y,this.valueChange.emit(Y),this._onChange(Y),this.selectionChange.emit(this._getChangeEvent(Y)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(A){this._elementRef.nativeElement.focus(A)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const A=this._parentFormField?.getLabelId();return this.ariaLabelledby?(A?A+" ":"")+this.ariaLabelledby:A}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const A=this._parentFormField?.getLabelId();let Y=(A?A+" ":"")+this._valueId;return this.ariaLabelledby&&(Y+=" "+this.ariaLabelledby),Y}_panelDoneAnimating(A){this.openedChange.emit(A)}setDescribedByIds(A){A.length?this._elementRef.nativeElement.setAttribute("aria-describedby",A.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return ne.\u0275fac=function(A){return new(A||ne)(o.Y36(de.rL),o.Y36(o.sBO),o.Y36(o.R0b),o.Y36(H.rD),o.Y36(o.SBq),o.Y36(he.Is,8),o.Y36(te.F,8),o.Y36(te.sg,8),o.Y36(K.G_,8),o.Y36(te.a5,10),o.$8M("tabindex"),o.Y36(ae),o.Y36(ve.Kd),o.Y36(x,8))},ne.\u0275dir=o.lG2({type:ne,viewQuery:function(A,Y){if(1&A&&(o.Gf(v,5),o.Gf(M,5),o.Gf(e.pI,5)),2&A){let xe;o.iGM(xe=o.CRH())&&(Y.trigger=xe.first),o.iGM(xe=o.CRH())&&(Y.panel=xe.first),o.iGM(xe=o.CRH())&&(Y._overlayDir=xe.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:[o.qOj,o.TTD]}),ne})(),J=(()=>{class ne extends X{constructor(){super(...arguments),this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}]}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,ie.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(),this._changeDetectorRef.detectChanges())})}ngAfterViewInit(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin())}open(){this._overlayWidth=this._getOverlayWidth(),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(A){const Y=this.options.toArray()[A];if(Y){const xe=this.panel.nativeElement,ke=(0,H.CB)(A,this.options,this.optionGroups),He=Y._getHostElement();xe.scrollTop=0===A&&1===ke?0:(0,H.jH)(He.offsetTop,He.offsetHeight,xe.scrollTop,xe.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(A){return new f(this,A)}_getOverlayWidth(){return(this._preferredOverlayOrigin instanceof e.xu?this._preferredOverlayOrigin.elementRef:this._preferredOverlayOrigin||this._elementRef).nativeElement.getBoundingClientRect().width}}return ne.\u0275fac=function(){let ge;return function(Y){return(ge||(ge=o.n5z(ne)))(Y||ne)}}(),ne.\u0275cmp=o.Xpm({type:ne,selectors:[["mat-select"]],contentQueries:function(A,Y,xe){if(1&A&&(o.Suo(xe,C,5),o.Suo(xe,H.ey,5),o.Suo(xe,H.K7,5)),2&A){let ke;o.iGM(ke=o.CRH())&&(Y.customTrigger=ke.first),o.iGM(ke=o.CRH())&&(Y.options=ke),o.iGM(ke=o.CRH())&&(Y.optionGroups=ke)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(A,Y){1&A&&o.NdJ("keydown",function(ke){return Y._handleKeydown(ke)})("focus",function(){return Y._onFocus()})("blur",function(){return Y._onBlur()}),2&A&&(o.uIk("id",Y.id)("tabindex",Y.tabIndex)("aria-controls",Y.panelOpen?Y.id+"-panel":null)("aria-expanded",Y.panelOpen)("aria-label",Y.ariaLabel||null)("aria-required",Y.required.toString())("aria-disabled",Y.disabled.toString())("aria-invalid",Y.errorState)("aria-activedescendant",Y._getAriaActiveDescendant()),o.ekj("mat-mdc-select-disabled",Y.disabled)("mat-mdc-select-invalid",Y.errorState)("mat-mdc-select-required",Y.required)("mat-mdc-select-empty",Y.empty)("mat-mdc-select-multiple",Y.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[o._Bn([{provide:K.Eo,useExisting:ne},{provide:H.HF,useExisting:ne}]),o.qOj],ngContentSelectors:Ie,decls:11,vars:11,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"],["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(A,Y){if(1&A&&(o.F$t(Ae),o.TgZ(0,"div",0,1),o.NdJ("click",function(){return Y.toggle()}),o.TgZ(3,"div",2),o.YNc(4,$,2,1,"span",3),o.YNc(5,Me,3,2,"span",4),o.qZA(),o.TgZ(6,"div",5)(7,"div",6),o.O4$(),o.TgZ(8,"svg",7),o._UZ(9,"path",8),o.qZA()()()(),o.YNc(10,Te,3,9,"ng-template",9),o.NdJ("backdropClick",function(){return Y.close()})("attach",function(){return Y._onAttached()})("detach",function(){return Y.close()})),2&A){const xe=o.MAs(1);o.uIk("aria-owns",Y.panelOpen?Y.id+"-panel":null),o.xp6(3),o.Q6J("ngSwitch",Y.empty),o.uIk("id",Y._valueId),o.xp6(1),o.Q6J("ngSwitchCase",!0),o.xp6(1),o.Q6J("ngSwitchCase",!1),o.xp6(5),o.Q6J("cdkConnectedOverlayPanelClass",Y._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",Y._scrollStrategy)("cdkConnectedOverlayOrigin",Y._preferredOverlayOrigin||xe)("cdkConnectedOverlayOpen",Y.panelOpen)("cdkConnectedOverlayPositions",Y._positions)("cdkConnectedOverlayWidth",Y._overlayWidth)}},dependencies:[i.mk,i.RF,i.n9,i.ED,e.pI,e.xu],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mat-mdc-select{display:inline-block;width:100%;outline:none}.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}.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}.mdc-menu-surface.mat-mdc-select-panel{width:100%;max-height:275px;position:static;outline:0;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-select-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) .mdc-menu-surface.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above .mdc-menu-surface.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)}._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.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:[Re.transformPanel]},changeDetection:0}),ne})(),Z=(()=>{class ne{}return ne.\u0275fac=function(A){return new(A||ne)},ne.\u0275mod=o.oAB({type:ne}),ne.\u0275inj=o.cJS({providers:[a],imports:[i.ez,e.U8,H.Ng,H.BQ,de.ZD,K.lN,H.Ng,H.BQ]}),ne})()},266:(ze,Ee,s)=>{s.d(Ee,{AV:()=>we,gM:()=>Re});var e=s(2722),i=s(5698),o=s(1281),H=s(9521),K=s(4650),de=s(6895),ve=s(3353),he=s(7253),_=s(445),re=s(8184),ce=s(7376),te=s(4080),U=s(7579),me=(s(7340),s(3238));const fe=["tooltip"],be=new K.OlP("mat-tooltip-scroll-strategy"),F={provide:be,deps:[re.aV],useFactory:function le(ae){return()=>ae.scrollStrategies.reposition({scrollThrottle:20})}},u=new K.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function ie(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),M="tooltip-panel",$=(0,ve.i$)({passive:!0});let Ie=(()=>{class ae{get position(){return this._position}set position(x){x!==this._position&&(this._position=x,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(x){this._positionAtOrigin=(0,o.Ig)(x),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(x){this._disabled=(0,o.Ig)(x),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(x){this._showDelay=(0,o.su)(x)}get hideDelay(){return this._hideDelay}set hideDelay(x){this._hideDelay=(0,o.su)(x),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(x){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=x?String(x).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(x){this._tooltipClass=x,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(x,a,C,f,k,X,N,J,Z,ne,ge,A){this._overlay=x,this._elementRef=a,this._scrollDispatcher=C,this._viewContainerRef=f,this._ngZone=k,this._platform=X,this._ariaDescriber=N,this._focusMonitor=J,this._dir=ne,this._defaultOptions=ge,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new U.x,this._scrollStrategy=Z,this._document=A,ge&&(ge.position&&(this.position=ge.position),ge.positionAtOrigin&&(this.positionAtOrigin=ge.positionAtOrigin),ge.touchGestures&&(this.touchGestures=ge.touchGestures)),ne.change.pipe((0,e.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,e.R)(this._destroyed)).subscribe(x=>{x?"keyboard"===x&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const x=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([a,C])=>{x.removeEventListener(a,C,$)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(x,this.message,"tooltip"),this._focusMonitor.stopMonitoring(x)}show(x=this.showDelay,a){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const C=this._createOverlay(a);this._detach(),this._portal=this._portal||new te.C5(this._tooltipComponent,this._viewContainerRef);const f=this._tooltipInstance=C.attach(this._portal).instance;f._triggerElement=this._elementRef.nativeElement,f._mouseLeaveHideDelay=this._hideDelay,f.afterHidden().pipe((0,e.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),f.show(x)}hide(x=this.hideDelay){const a=this._tooltipInstance;a&&(a.isVisible()?a.hide(x):(a._cancelPendingAnimations(),this._detach()))}toggle(x){this._isTooltipVisible()?this.hide():this.show(void 0,x)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(x){if(this._overlayRef){const f=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!x)&&f._origin instanceof K.SBq)return this._overlayRef;this._detach()}const a=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),C=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&x||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(a);return C.positionChanges.pipe((0,e.R)(this._destroyed)).subscribe(f=>{this._updateCurrentPositionClass(f.connectionPair),this._tooltipInstance&&f.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:C,panelClass:`${this._cssClassPrefix}-${M}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,e.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,e.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,e.R)(this._destroyed)).subscribe(f=>{this._isTooltipVisible()&&f.keyCode===H.hY&&!(0,H.Vb)(f)&&(f.preventDefault(),f.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(x){const a=x.getConfig().positionStrategy,C=this._getOrigin(),f=this._getOverlayPosition();a.withPositions([this._addOffset({...C.main,...f.main}),this._addOffset({...C.fallback,...f.fallback})])}_addOffset(x){return x}_getOrigin(){const x=!this._dir||"ltr"==this._dir.value,a=this.position;let C;"above"==a||"below"==a?C={originX:"center",originY:"above"==a?"top":"bottom"}:"before"==a||"left"==a&&x||"right"==a&&!x?C={originX:"start",originY:"center"}:("after"==a||"right"==a&&x||"left"==a&&!x)&&(C={originX:"end",originY:"center"});const{x:f,y:k}=this._invertPosition(C.originX,C.originY);return{main:C,fallback:{originX:f,originY:k}}}_getOverlayPosition(){const x=!this._dir||"ltr"==this._dir.value,a=this.position;let C;"above"==a?C={overlayX:"center",overlayY:"bottom"}:"below"==a?C={overlayX:"center",overlayY:"top"}:"before"==a||"left"==a&&x||"right"==a&&!x?C={overlayX:"end",overlayY:"center"}:("after"==a||"right"==a&&x||"left"==a&&!x)&&(C={overlayX:"start",overlayY:"center"});const{x:f,y:k}=this._invertPosition(C.overlayX,C.overlayY);return{main:C,fallback:{overlayX:f,overlayY:k}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,i.q)(1),(0,e.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(x){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=x,this._tooltipInstance._markForCheck())}_invertPosition(x,a){return"above"===this.position||"below"===this.position?"top"===a?a="bottom":"bottom"===a&&(a="top"):"end"===x?x="start":"start"===x&&(x="end"),{x,y:a}}_updateCurrentPositionClass(x){const{overlayY:a,originX:C,originY:f}=x;let k;if(k="center"===a?this._dir&&"rtl"===this._dir.value?"end"===C?"left":"right":"start"===C?"left":"right":"bottom"===a&&"top"===f?"above":"below",k!==this._currentPosition){const X=this._overlayRef;if(X){const N=`${this._cssClassPrefix}-${M}-`;X.removePanelClass(N+this._currentPosition),X.addPanelClass(N+k)}this._currentPosition=k}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",x=>{let a;this._setupPointerExitEventsIfNeeded(),void 0!==x.x&&void 0!==x.y&&(a=x),this.show(void 0,a)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",x=>{const a=x.targetTouches?.[0],C=a?{x:a.clientX,y:a.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,C),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const x=[];if(this._platformSupportsMouseEvents())x.push(["mouseleave",a=>{const C=a.relatedTarget;(!C||!this._overlayRef?.overlayElement.contains(C))&&this.hide()}],["wheel",a=>this._wheelListener(a)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const a=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};x.push(["touchend",a],["touchcancel",a])}this._addListeners(x),this._passiveListeners.push(...x)}_addListeners(x){x.forEach(([a,C])=>{this._elementRef.nativeElement.addEventListener(a,C,$)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(x){if(this._isTooltipVisible()){const a=this._document.elementFromPoint(x.clientX,x.clientY),C=this._elementRef.nativeElement;a!==C&&!C.contains(a)&&this.hide()}}_disableNativeGesturesIfNecessary(){const x=this.touchGestures;if("off"!==x){const a=this._elementRef.nativeElement,C=a.style;("on"===x||"INPUT"!==a.nodeName&&"TEXTAREA"!==a.nodeName)&&(C.userSelect=C.msUserSelect=C.webkitUserSelect=C.MozUserSelect="none"),("on"===x||!a.draggable)&&(C.webkitUserDrag="none"),C.touchAction="none",C.webkitTapHighlightColor="transparent"}}}return ae.\u0275fac=function(x){K.$Z()},ae.\u0275dir=K.lG2({type:ae,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"]}}),ae})(),Re=(()=>{class ae extends Ie{constructor(x,a,C,f,k,X,N,J,Z,ne,ge,A){super(x,a,C,f,k,X,N,J,Z,ne,ge,A),this._tooltipComponent=Pe,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(x){const C=!this._dir||"ltr"==this._dir.value;return"top"===x.originY?x.offsetY=-8:"bottom"===x.originY?x.offsetY=8:"start"===x.originX?x.offsetX=C?-8:8:"end"===x.originX&&(x.offsetX=C?8:-8),x}}return ae.\u0275fac=function(x){return new(x||ae)(K.Y36(re.aV),K.Y36(K.SBq),K.Y36(ce.mF),K.Y36(K.s_b),K.Y36(K.R0b),K.Y36(ve.t4),K.Y36(he.$s),K.Y36(he.tE),K.Y36(be),K.Y36(_.Is,8),K.Y36(u,8),K.Y36(de.K0))},ae.\u0275dir=K.lG2({type:ae,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[K.qOj]}),ae})(),Le=(()=>{class ae{constructor(x,a){this._changeDetectorRef=x,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new U.x,this._animationsDisabled="NoopAnimations"===a}show(x){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},x)}hide(x){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},x)}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:x}){(!x||!this._triggerElement.contains(x))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:x}){(x===this._showAnimation||x===this._hideAnimation)&&this._finalizeAnimation(x===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(x){x?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(x){const a=this._tooltip.nativeElement,C=this._showAnimation,f=this._hideAnimation;if(a.classList.remove(x?f:C),a.classList.add(x?C:f),this._isVisible=x,x&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const k=getComputedStyle(a);("0s"===k.getPropertyValue("animation-duration")||"none"===k.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}x&&this._onShow(),this._animationsDisabled&&(a.classList.add("_mat-animation-noopable"),this._finalizeAnimation(x))}}return ae.\u0275fac=function(x){return new(x||ae)(K.Y36(K.sBO),K.Y36(K.QbO,8))},ae.\u0275dir=K.lG2({type:ae}),ae})(),Pe=(()=>{class ae extends Le{constructor(x,a,C){super(x,C),this._elementRef=a,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const x=this._elementRef.nativeElement.getBoundingClientRect();return x.height>24&&x.width>=200}}return ae.\u0275fac=function(x){return new(x||ae)(K.Y36(K.sBO),K.Y36(K.SBq),K.Y36(K.QbO,8))},ae.\u0275cmp=K.Xpm({type:ae,selectors:[["mat-tooltip-component"]],viewQuery:function(x,a){if(1&x&&K.Gf(fe,7),2&x){let C;K.iGM(C=K.CRH())&&(a._tooltip=C.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(x,a){1&x&&K.NdJ("mouseleave",function(f){return a._handleMouseLeave(f)}),2&x&&K.Udp("zoom",a.isVisible()?1:null)},features:[K.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(x,a){1&x&&(K.TgZ(0,"div",0,1),K.NdJ("animationend",function(f){return a._handleAnimationEnd(f)}),K.TgZ(2,"div",2),K._uU(3),K.qZA()()),2&x&&(K.ekj("mdc-tooltip--multiline",a._isMultiline),K.Q6J("ngClass",a.tooltipClass),K.xp6(3),K.Oqu(a.message))},dependencies:[de.mk],styles:['.mdc-tooltip__surface{word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.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{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}}.mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color, #fff)}.mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font, inherit);font-size:var(--mdc-plain-tooltip-supporting-text-size, inherit);font-weight:var(--mdc-plain-tooltip-supporting-text-weight, inherit);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, inherit)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:-8px;right:-8px;bottom:-8px;left:-8px;z-index:-1;position:absolute}.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}),ae})(),we=(()=>{class ae{}return ae.\u0275fac=function(x){return new(x||ae)},ae.\u0275mod=K.oAB({type:ae}),ae.\u0275inj=K.cJS({providers:[F],imports:[he.rt,de.ez,re.U8,me.BQ,me.BQ,ce.ZD]}),ae})()}}]);
|