dealpos 12.12.2 → 12.13.0

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.
Files changed (50) hide show
  1. package/POS/{1863.fbfea822b0fdc3ec.js → 1863.4065af7b792237c1.js} +1 -1
  2. package/POS/1977.b72e2c1b01a702f3.js +1 -0
  3. package/POS/2210.61ea7a02d248ea4b.js +1 -0
  4. package/POS/2358.7d3ad117c92a9557.js +1 -0
  5. package/POS/{2520.578f5edcbc37d4c2.js → 2520.ee8d6525b527be42.js} +1 -1
  6. package/POS/2735.508648218d4d423a.js +1 -0
  7. package/POS/3047.8efb3e879d1bd8b6.js +1 -0
  8. package/POS/{3422.06d1a90861175e9a.js → 3422.9b040de210dbcccf.js} +1 -1
  9. package/POS/3565.dc80e42fe274b6df.js +1 -0
  10. package/POS/3942.c1540ddfd24df284.js +1 -0
  11. package/POS/3962.ff98d5e3c6ba5699.js +1 -0
  12. package/POS/{4971.5cf2d9c50992b262.js → 4971.e8b8f917e4d06234.js} +1 -1
  13. package/POS/58.66dfcac9f7bb7962.js +1 -0
  14. package/POS/5893.202195fb544a0c54.js +1 -0
  15. package/POS/6097.f114373b6372b46c.js +1 -0
  16. package/POS/6428.170c8e1c64194dbf.js +1 -0
  17. package/POS/6654.7ac6606c75d0db68.js +1 -0
  18. package/POS/7714.86486fbd7c93841d.js +1 -0
  19. package/POS/7836.07abd0e4b239cfc4.js +1 -0
  20. package/POS/7859.d16863fe77b2c693.js +1 -0
  21. package/POS/7893.f0902a1640a4e8f4.js +1 -0
  22. package/POS/8053.3338dbd1794a2a00.js +1 -0
  23. package/POS/8117.9bebeaa533ca3a03.js +1 -0
  24. package/POS/8875.ca56d80357026a57.js +1 -0
  25. package/POS/9484.d5c973b9a54bb336.js +1 -0
  26. package/POS/index.html +2 -2
  27. package/POS/{main.99fad86c01ef583a.js → main.e1b6e3d53979360e.js} +1 -1
  28. package/POS/{runtime.1211a032c33881d5.js → runtime.be17f7f6a9d181a2.js} +1 -1
  29. package/package.json +1 -1
  30. package/POS/1977.bb4354fc853a7bab.js +0 -1
  31. package/POS/2210.5b2dced33e8a7005.js +0 -1
  32. package/POS/2358.d968f0014f9198bb.js +0 -1
  33. package/POS/2735.226b31466b519da1.js +0 -1
  34. package/POS/2871.21059ba009315140.js +0 -1
  35. package/POS/3047.8bb19eb7ab2aeeed.js +0 -1
  36. package/POS/3565.4a8a6bb9d3c39d20.js +0 -1
  37. package/POS/3942.5f370f3aff087dd9.js +0 -1
  38. package/POS/3962.85725f802739f233.js +0 -1
  39. package/POS/58.e852f3d907366eda.js +0 -1
  40. package/POS/6097.0fb86aaa71059f0c.js +0 -1
  41. package/POS/6428.e18e0ea2a745fa66.js +0 -1
  42. package/POS/6654.5cb4f6b2942cedc8.js +0 -1
  43. package/POS/7714.4fd9529912a886cf.js +0 -1
  44. package/POS/7836.0607b945ec4d038f.js +0 -1
  45. package/POS/7893.f80b280043b00db7.js +0 -1
  46. package/POS/8053.5caa51cff952cc91.js +0 -1
  47. package/POS/8117.eeee6ab40f0700b8.js +0 -1
  48. package/POS/8146.ece3cfe1b3cc56b7.js +0 -1
  49. package/POS/8875.d13bc2f53b31cbdb.js +0 -1
  50. package/POS/9484.39729b9444312102.js +0 -1
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkPOS=self.webpackChunkPOS||[]).push([[1863],{1863:($t,At,i)=>{i.r(At),i.d(At,{MenuMasterModule:()=>X});var t=i(81180),l=i(56223),P=i(64190),_=i(65879),a=i(41001);let Z=(()=>{var b;class S{constructor(O,L){(0,t.Z)(this,"authService",void 0),(0,t.Z)(this,"router",void 0),this.authService=O,this.router=L}canLoad(O,L){return!this.authService.isTokenExpired()||(this.authService.returnUrl=this.getUrlRedirect(L),this.router.navigate(["/"]),!1)}getUrlRedirect(O){let L="/menu";O.forEach(vt=>L+=`/${vt.path}`);const it=this.router.getCurrentNavigation().extractedUrl.queryParams;return Object.keys(it).forEach((vt,j)=>{L=0==j?`${L}?${vt}=${it[vt]}`:`${L}&${vt}=${it[vt]}`}),L}}return b=S,(0,t.Z)(S,"\u0275fac",function(O){return new(O||b)(_.LFG(a.e),_.LFG(P.F0))}),(0,t.Z)(S,"\u0275prov",_.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"})),S})();var ht=i(10459),J=i(54165);let N=(()=>{var b;class S{constructor(O,L){(0,t.Z)(this,"cookiesService",void 0),(0,t.Z)(this,"reportService",void 0),this.cookiesService=O,this.reportService=L}canDeactivate(O,L,it){return this.cookiesService.delete("ReportFilter","/"),this.reportService.resetFilter(),!0}}return b=S,(0,t.Z)(S,"\u0275fac",function(O){return new(O||b)(_.LFG(ht.N),_.LFG(J.z))}),(0,t.Z)(S,"\u0275prov",_.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"})),S})();var W=i(86864),xt=i(78645),ot=i(32181),k=i(27921),ut=i(59773),at=i(70108),st=i(48807),Rt=i(84023),Lt=i(91925),bt=i(2425);let dt=(()=>{var b;class S{constructor(O){(0,t.Z)(this,"toastrService",void 0),(0,t.Z)(this,"isPermissionGranted",void 0),(0,t.Z)(this,"initPermissionToastr",void 0),this.toastrService=O,this.initPermissionToastr=!1}initPermission(){try{this.initPermissionToastr||Notification.requestPermission().then(L=>{this.isPermissionGranted=!1,"granted"==L&&(this.isPermissionGranted=!0),this.initPermissionToastr=!0})}catch(O){console.error(O)}}showAlert(O,L,it,ft){if(this.isPermissionGranted)try{new Notification(L,{body:O,icon:ft}).onerror=nt=>{this.toastrService.info(this.setBody(O,it),L,{timeOut:6e4,enableHtml:this.hasUrl(it)})}}catch(j){console.error(j)}else this.toastrService.info(this.setBody(O,it),L,{timeOut:6e4,enableHtml:this.hasUrl(it)})}setBody(O,L){return this.hasUrl(L)&&(O=`<a href="${L}" target="_blank" class="ps-0">${O}</a>`),O}hasUrl(O){return!(!O||0===O.length)}}return b=S,(0,t.Z)(S,"\u0275fac",function(O){return new(O||b)(_.LFG(bt._W))}),(0,t.Z)(S,"\u0275prov",_.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"})),S})();var H=i(4508),rt=i(92596),pt=i(96814),T=i(74297);function z(b,S){if(1&b&&(_.TgZ(0,"a",34),_._UZ(1,"i",35),_.TgZ(2,"span"),_._uU(3),_.qZA()()),2&b){const G=S.$implicit;_.Q6J("routerLink",null==G?null:G.U),_.xp6(1),_.Tol((null==G?null:G.I)+" me-2"),_.xp6(2),_.Oqu(null==G?null:G.T)}}const gt=function(b){return[b]};function Et(b,S){if(1&b&&(_.TgZ(0,"li",36,37)(2,"a",38),_._UZ(3,"i"),_.TgZ(4,"p"),_._uU(5),_.qZA()()()),2&b){const G=S.$implicit,O=_.oxw();_.Q6J("routerLinkActiveOptions",O.isActiveMatchOptions),_.uIk("data-cy",null==G?null:G.T),_.xp6(2),_.Q6J("matTooltip",O.toggleSideMenu?null==G?null:G.T:"")("routerLink",_.VKq(7,gt,null==G?null:G.U)),_.xp6(1),_.Tol(null==G?null:G.I),_.xp6(2),_.Oqu(null==G?null:G.T)}}const yt=function(b,S){return{"full-container":b,"subscription-bar-visible":S}};let Ot=(()=>{var b;class S{constructor(O,L,it,ft,vt,j){(0,t.Z)(this,"toggleSidebar",void 0),(0,t.Z)(this,"signalRClientService",void 0),(0,t.Z)(this,"notificationAlertService",void 0),(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"authService",void 0),(0,t.Z)(this,"intercomService",void 0),(0,t.Z)(this,"isActiveMatchOptions",{matrixParams:"subset",queryParams:"subset",paths:"subset",fragment:"exact"}),(0,t.Z)(this,"Menu",{}),(0,t.Z)(this,"KeyMenu","MenuPageData"),(0,t.Z)(this,"toggleSideMenu",!1),(0,t.Z)(this,"isNavOpen",void 0),(0,t.Z)(this,"destroy$",void 0),(0,t.Z)(this,"activeMenu",void 0),(0,t.Z)(this,"appVersion",at.N.version),(0,t.Z)(this,"currentSubStatus",void 0),(0,t.Z)(this,"subsStatusEnum",st.y),(0,t.Z)(this,"isFullContainer",!1),(0,t.Z)(this,"isHideIntercomLauncher",void 0),this.toggleSidebar=O,this.signalRClientService=L,this.notificationAlertService=it,this.router=ft,this.authService=vt,this.intercomService=j,this.Menu=JSON.parse(localStorage.getItem(this.KeyMenu)),this.toggleSidebar.toggleState$.subscribe(nt=>this.isNavOpen=nt),this.destroy$=new xt.x,this.initNotificationPermission()}ngOnInit(){this.subscribeToPushNotification(),this.getCurrentSubscriptionStatus(),this.initFullContainer()}initFullContainer(){this.router.events.pipe((0,ot.h)(O=>O instanceof P.m2),(0,k.O)(null),(0,ut.R)(this.destroy$)).subscribe(O=>{this.isFullContainer=!1,(this.router.url.includes("Sell")&&!this.router.url.includes("v2")&&!this.router.url.includes("Offline")||this.router.url.includes("Buy")&&!this.router.url.includes("V1"))&&(this.isFullContainer=!0)})}initNotificationPermission(){this.notificationAlertService.initPermission()}getCurrentSubscriptionStatus(){this.currentSubStatus=this.authService.getSubscriptionStatus()}subscribeToPushNotification(){let O=localStorage.getItem("NotificationOutletID");W.g.IsNotEmpty(O)&&this.signalRClientService.SubscribeGroup(O),this.signalRClientService.OnReceivePushNotification.pipe((0,ut.R)(this.destroy$),(0,ot.h)(L=>W.g.IsNotEmpty(L))).subscribe(L=>{if(W.g.IsNotEmpty(L)){const it=JSON.parse(L);let ft="//res.cloudinary.com/pos/image/upload/v1657006791/icons/info-new.png";W.g.IsNotEmpty(it.Icon)&&(ft=it.Icon),this.notificationAlertService.showAlert(it.Body,it.Header,it.URL,ft)}})}ngAfterViewInit(){this.intercomService.inititalizeIntercom()}toggleMenu(){this.toggleSideMenu=!this.toggleSideMenu}logout(){this.authService.logout()}isNotEmpty(O){return W.g.IsNotEmpty(O)}onShowDropdown(){this.isHideIntercomLauncher=this.intercomService.isHideLauncher()}chatToggleChange(){0==this.isHideIntercomLauncher?this.intercomService.hideLauncher():this.intercomService.showLauncher(),this.onShowDropdown()}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}}return b=S,(0,t.Z)(S,"\u0275fac",function(O){return new(O||b)(_.Y36(Rt.g),_.Y36(Lt.G),_.Y36(dt),_.Y36(P.F0),_.Y36(a.e),_.Y36(H.f))}),(0,t.Z)(S,"\u0275cmp",_.Xpm({type:b,selectors:[["POS-menu-master"]],decls:52,vars:18,consts:[[1,"wrapper"],["data-color","blue",1,"sidebar",3,"ngClass"],[1,"btn-minimize","d-md-block","d-none","p-0","border-0","bg-white",3,"click"],[1,"fa-solid",3,"ngClass"],[1,"logo"],[1,"navbar","dropdown","bg-transparent","border-0"],["data-cy","companyName","data-bs-toggle","dropdown","aria-expanded","false","matTooltipPosition","above",1,"simple-text","text-start","dropdown-toggle","d-flex","align-items-center","justify-content-center",2,"cursor","pointer",3,"matTooltip","click"],[1,"dropdown-menu"],[1,"dropdown-header","text-dark","border-bottom"],[1,"divider","m-0"],["class","dropdown-item h5",3,"routerLink",4,"ngFor","ngForOf"],[1,"dropdown-item","h5",2,"cursor","pointer"],[1,"d-flex","align-items-center","justify-content-between"],[1,"fa-solid","fa-comment-dots","me-2"],[1,"checkbox_toggle","ms-3",3,"click"],["type","checkbox","id","chatToggle","name","ChatToggle",3,"ngModel","ngModelChange"],["for","chatToggle",1,"position-relative","rounded-pill","pointer"],[1,"dropdown-item","h5",2,"cursor","pointer",3,"click"],["aria-hidden","true",1,"fa-solid","fa-sign-out-alt","me-2"],[1,"divider"],[1,"dropdown-header","border-top"],["target","_blank",1,"dropdown-item","h5","changelog",3,"href"],["aria-hidden","true",1,"fa-solid","fa-sparkles","me-2"],[1,"fa-solid","fa-circle-exclamation","ms-2",2,"font-size","16px"],["target","_blank","href","http://support.dealpos.com",1,"dropdown-item","h5"],["aria-hidden","true",1,"fa-solid","fa-book","me-2"],["target","_blank","href","https://www.dealpos.app/",1,"dropdown-item","h5"],["aria-hidden","true",1,"fa-solid","fa-table-cells-large","me-2"],["target","_blank","href","http://blog.dealpos.com",1,"dropdown-item","h5"],["aria-hidden","true",1,"fa-brands","fa-blogger","me-2"],[1,"sidebar-wrapper"],[1,"nav"],["routerLinkActive","active",3,"routerLinkActiveOptions",4,"ngFor","ngForOf"],[1,"main-panel",3,"ngClass"],[1,"dropdown-item","h5",3,"routerLink"],["aria-hidden","true"],["routerLinkActive","active",3,"routerLinkActiveOptions"],["rla","routerLinkActive"],["matTooltipPosition","above",1,"nav-link","position-relative","d-block",3,"matTooltip","routerLink"]],template:function(O,L){1&O&&(_.TgZ(0,"div",0)(1,"div",1)(2,"button",2),_.NdJ("click",function(){return L.toggleMenu()}),_._UZ(3,"i",3),_.qZA(),_.TgZ(4,"div",4)(5,"div",5)(6,"a",6),_.NdJ("click",function(){return L.onShowDropdown()}),_._uU(7),_.ALo(8,"limitTo"),_.qZA(),_.TgZ(9,"div",7)(10,"div",8),_._uU(11),_.qZA(),_._UZ(12,"div",9),_.YNc(13,z,4,4,"a",10),_.TgZ(14,"a",11)(15,"div",12)(16,"div"),_._UZ(17,"i",13),_.TgZ(18,"span"),_._uU(19,"Chat Support"),_.qZA()(),_.TgZ(20,"div",14),_.NdJ("click",function(ft){return ft.stopPropagation()}),_.TgZ(21,"input",15),_.NdJ("ngModelChange",function(){return L.chatToggleChange()}),_.qZA(),_._UZ(22,"label",16),_.qZA()()(),_.TgZ(23,"a",17),_.NdJ("click",function(){return L.logout()}),_._UZ(24,"i",18),_.TgZ(25,"span"),_._uU(26,"Log Out"),_.qZA()(),_._UZ(27,"div",19),_.TgZ(28,"div",20),_._uU(29," Links "),_.qZA(),_.TgZ(30,"a",21),_._UZ(31,"i",22),_.TgZ(32,"span"),_._uU(33,"What's New"),_._UZ(34,"i",23),_.qZA()(),_.TgZ(35,"a",24),_._UZ(36,"i",25),_.TgZ(37,"span"),_._uU(38,"Help Center"),_.qZA()(),_.TgZ(39,"a",26),_._UZ(40,"i",27),_.TgZ(41,"span"),_._uU(42,"App Store"),_.qZA()(),_.TgZ(43,"a",28),_._UZ(44,"i",29),_.TgZ(45,"span"),_._uU(46,"Company Blog"),_.qZA()()()()(),_.TgZ(47,"div",30)(48,"ul",31),_.YNc(49,Et,6,9,"li",32),_.qZA()()(),_.TgZ(50,"div",33),_._UZ(51,"router-outlet"),_.qZA()()),2&O&&(_.ekj("nav-open",L.isNavOpen),_.xp6(1),_.Q6J("ngClass",L.toggleSideMenu?"collapses":""),_.xp6(2),_.Q6J("ngClass",L.toggleSideMenu?"fa-angle-left cursor":"fa-angle-right cursor"),_.xp6(3),_.s9C("matTooltip",null==L.Menu?null:L.Menu.CompanyName),_.xp6(1),_.Oqu(_.xi3(8,12,null==L.Menu?null:L.Menu.CompanyName,L.toggleSideMenu?1:11)),_.xp6(4),_.hij("",null==L.Menu?null:L.Menu.UserName," "),_.xp6(2),_.Q6J("ngForOf",null==L.Menu?null:L.Menu.Top),_.xp6(8),_.Q6J("ngModel",!L.isHideIntercomLauncher),_.xp6(9),_.MGl("href","https://changelog.dealpos.com/?categories=cat_gAZdRhBYU7QVl&view=complete&v=",L.appVersion,"",_.LSH),_.xp6(19),_.Q6J("ngForOf",null==L.Menu?null:L.Menu.Left),_.xp6(1),_.Q6J("ngClass",_.WLB(15,yt,L.isFullContainer,L.isNotEmpty(L.currentSubStatus)&&L.currentSubStatus!==L.subsStatusEnum.PAID)))},dependencies:[rt.gM,P.lC,P.rH,P.Od,l.Wl,l.JJ,l.On,pt.mk,pt.sg,T.OI],styles:['.sidebar[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%], body[_ngcontent-%COMP%] > .navbar-collapse[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{padding:10px 0 10px 10px!important}.sidebar-wrapper[_ngcontent-%COMP%]{max-height:calc(100% - 61px)!important;min-height:calc(100% - 61px)!important;scrollbar-width:thin}@media (max-width: 991px){.sidebar-wrapper[_ngcontent-%COMP%]{overflow-y:scroll!important}}@media (pointer: coarse){.sidebar-wrapper[_ngcontent-%COMP%]{overflow-y:scroll!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}.changelog[_ngcontent-%COMP%]{color:#0006b1!important}.changelog[_ngcontent-%COMP%]:visited{color:#2e2e2e!important}.changelog[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{position:relative}.changelog[_ngcontent-%COMP%] span[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fe3a00!important;position:absolute;top:-4px;right:-18px}.changelog[_ngcontent-%COMP%]:visited span[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fff!important;position:absolute;top:-4px;right:-18px}.changelog[_ngcontent-%COMP%]:visited:hover span[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#e9ecef!important;position:absolute;top:-4px;right:-18px}.subscription-bar-visible[_ngcontent-%COMP%]{padding-top:98px}.checkbox_toggle[_ngcontent-%COMP%]{position:relative}.checkbox_toggle[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#868686;display:inline-block;padding-right:38px}.checkbox_toggle[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{width:23px;height:14px;background-color:#ccc;top:2.2px;right:0}.checkbox_toggle[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{display:none}.checkbox_toggle[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]{background-color:#1f77d0}.checkbox_toggle[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:after{left:10px}.checkbox_toggle[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:after{content:"";width:12px;height:12px;border-radius:50%;position:absolute;top:.8px;left:1px;transition:all .1s;background-color:#fff}']})),S})();const Nt=(b,S)=>{const G=(0,_.f3M)(a.e),O=G.isTokenExpired(),L=(0,_.f3M)(P.F0);return!O||(G.returnUrl=function It(b){const S=(0,_.f3M)(P.F0);let G="/menu";b.forEach(it=>G+=`/${it.path}`);const O=S.getCurrentNavigation().extractedUrl.queryParams;return Object.keys(O).forEach((it,ft)=>{G=0==ft?`${G}?${it}=${O[it]}`:`${G}&${it}=${O[it]}`}),G}(S),L.navigate(["/"]),!1)},Bt=[{path:"",component:Ot,children:[{path:"Inventory",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(1258),i.e(4982),i.e(3566),i.e(3672),i.e(3212),i.e(1476),i.e(4104),i.e(5313),i.e(9014),i.e(1530),i.e(8592),i.e(2871)]).then(i.bind(i,30731)).then(b=>b.InventoryModule),canLoad:[Z]},{path:"Reports",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(1258),i.e(4982),i.e(3566),i.e(3672),i.e(3212),i.e(1476),i.e(4104),i.e(5313),i.e(9014),i.e(1530),i.e(6436),i.e(1681),i.e(8335),i.e(8592),i.e(1977)]).then(i.bind(i,71977)).then(b=>b.ReportsModule),canLoad:[Z],canDeactivate:[N]},{path:"Sell",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(3212),i.e(4104),i.e(9591),i.e(2279),i.e(3831),i.e(617),i.e(2520),i.e(6142),i.e(9856),i.e(2183),i.e(9069),i.e(7618),i.e(7541),i.e(3576),i.e(8592),i.e(3565)]).then(i.bind(i,13666)).then(b=>b.routes),canLoad:[Z]},{path:"Print",loadChildren:()=>Promise.all([i.e(1119),i.e(2279),i.e(6142),i.e(7683)]).then(i.bind(i,87683)).then(b=>b.PrintModule),canLoad:[Z]},{path:"Buy/V1",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(3566),i.e(3212),i.e(4104),i.e(9591),i.e(3831),i.e(2520),i.e(1222),i.e(8875),i.e(9856),i.e(2183),i.e(9069),i.e(8592),i.e(7893)]).then(i.bind(i,11377)).then(b=>b.BuyModule),canLoad:[Z]},{path:"Buy",loadComponent:()=>Promise.all([i.e(1119),i.e(2735),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(3212),i.e(4104),i.e(9591),i.e(617),i.e(2520),i.e(1222),i.e(9856),i.e(2183),i.e(7541),i.e(8592),i.e(3047)]).then(i.bind(i,25986)).then(b=>b.BuyV2Component),canMatch:[Nt]},{path:"Dashboard/V1",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(6436),i.e(8592),i.e(566)]).then(i.bind(i,31563)).then(b=>b.DashboardModule),canLoad:[Z]},{path:"Dashboard",loadComponent:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(6436),i.e(8592),i.e(8146)]).then(i.bind(i,46504)).then(b=>b.DashboardV2Component),canMatch:[Nt]},{path:"Products",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(1258),i.e(4982),i.e(3566),i.e(3672),i.e(1476),i.e(4104),i.e(9591),i.e(5313),i.e(9014),i.e(1530),i.e(6436),i.e(617),i.e(1222),i.e(1681),i.e(6428),i.e(1190),i.e(8592),i.e(3942)]).then(i.bind(i,53942)).then(b=>b.ProductModule),canLoad:[Z]},{path:"Shift",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(1258),i.e(3566),i.e(3672),i.e(3212),i.e(1476),i.e(4104),i.e(7117)]).then(i.bind(i,17117)).then(b=>b.ShiftModule),canLoad:[Z]},{path:"Debt",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(1258),i.e(4982),i.e(3566),i.e(3672),i.e(3212),i.e(1476),i.e(4104),i.e(9591),i.e(5313),i.e(8592),i.e(4971)]).then(i.bind(i,91930)).then(b=>b.DebtModule),canLoad:[Z]},{path:"Logistics",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(1258),i.e(4982),i.e(3566),i.e(3672),i.e(3212),i.e(4104),i.e(9591),i.e(5313),i.e(9014),i.e(1530),i.e(3831),i.e(2520),i.e(1222),i.e(8875),i.e(3576),i.e(8335),i.e(8592),i.e(3422)]).then(i.bind(i,77818)).then(b=>b.DeliveryModule),canLoad:[Z]},{path:"Users",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(1258),i.e(4982),i.e(3566),i.e(3672),i.e(3212),i.e(1476),i.e(4104),i.e(5313),i.e(5986),i.e(8592),i.e(1775)]).then(i.bind(i,11775)).then(b=>b.UsersModule),canLoad:[Z]},{path:"Setup",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(1258),i.e(4982),i.e(3566),i.e(3212),i.e(1476),i.e(4104),i.e(9591),i.e(5313),i.e(5986),i.e(617),i.e(2358),i.e(8592),i.e(9914)]).then(i.bind(i,9914)).then(b=>b.SetupModule),canLoad:[Z]},{path:"Contacts",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(1258),i.e(4982),i.e(3566),i.e(3672),i.e(3212),i.e(1476),i.e(4104),i.e(9591),i.e(5313),i.e(5986),i.e(2358),i.e(8592),i.e(8053)]).then(i.bind(i,8629)).then(b=>b.ContactsModule),canLoad:[Z]},{path:"Outlets",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(9488),i.e(8820),i.e(1258),i.e(4982),i.e(3672),i.e(1476),i.e(9591),i.e(9014),i.e(1681),i.e(6428),i.e(8592),i.e(6865)]).then(i.bind(i,96865)).then(b=>b.OutletsModule),canLoad:[Z]},{path:"Orders",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(1258),i.e(4982),i.e(3566),i.e(3672),i.e(3212),i.e(1476),i.e(9591),i.e(7618),i.e(8592),i.e(58)]).then(i.bind(i,49235)).then(b=>b.OrdersModule),canLoad:[Z]},{path:"Profile",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(1258),i.e(4982),i.e(1476),i.e(2279),i.e(8592),i.e(6654)]).then(i.bind(i,82197)).then(b=>b.ProfileModule),canLoad:[Z]},{path:"Estimate",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(4104),i.e(9591),i.e(3831),i.e(8875),i.e(9856),i.e(9069),i.e(1880),i.e(8592),i.e(6097)]).then(i.bind(i,46490)).then(b=>b.EstimateModule),canLoad:[Z]},{path:"Adjustment",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(1258),i.e(4982),i.e(3566),i.e(3672),i.e(4104),i.e(9591),i.e(9014),i.e(5986),i.e(1530),i.e(3831),i.e(617),i.e(2520),i.e(1222),i.e(8875),i.e(1190),i.e(1880),i.e(8592),i.e(8117)]).then(i.bind(i,24499)).then(b=>b.AdjustmentModule),canLoad:[Z]},{path:"Payment",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(1258),i.e(4982),i.e(3566),i.e(3672),i.e(1476),i.e(8592),i.e(1145)]).then(i.bind(i,91145)).then(b=>b.PaymentModule),canLoad:[Z]},{path:"Promotion",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(1258),i.e(4982),i.e(3672),i.e(3212),i.e(1476),i.e(5986),i.e(8592),i.e(9484)]).then(i.bind(i,39484)).then(b=>b.PromotionModule),canLoad:[Z]},{path:"Manufacture",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(1258),i.e(3566),i.e(3672),i.e(1476),i.e(8592),i.e(7836)]).then(i.bind(i,37836)).then(b=>b.ManufactureModule),canLoad:[Z]},{path:"Prepaid_Package",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(1258),i.e(4982),i.e(3566),i.e(3672),i.e(3212),i.e(1476),i.e(5986),i.e(6436),i.e(2279),i.e(6142),i.e(7683),i.e(8592),i.e(2210)]).then(i.bind(i,62210)).then(b=>b.PrepaidPackageModule),canLoad:[Z]},{path:"Fulfillment",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(1258),i.e(4982),i.e(3566),i.e(3672),i.e(3212),i.e(9591),i.e(9014),i.e(5986),i.e(1530),i.e(8592),i.e(7714)]).then(i.bind(i,87714)).then(b=>b.FulfillmentModule),canLoad:[Z]},{path:"Unauthorized",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(222)]).then(i.bind(i,9121)).then(b=>b.UnauthorizedModule),canLoad:[Z]},{path:"Not_Found",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(9071)]).then(i.bind(i,52405)).then(b=>b.NotFoundModule),canLoad:[Z]},{path:"",redirectTo:"/menu/Dashboard",pathMatch:"full"},{path:"**",redirectTo:"Not_Found"}]}];let Vt=(()=>{var b;class S{}return b=S,(0,t.Z)(S,"\u0275fac",function(O){return new(O||b)}),(0,t.Z)(S,"\u0275mod",_.oAB({type:b})),(0,t.Z)(S,"\u0275inj",_.cJS({imports:[P.Bz.forChild(Bt),P.Bz]})),S})();var Ft=i(17700),kt=i(38034),Pt=i(24630),wt=i(54807),q=i(22557),_t=i(64170);let X=(()=>{var b;class S{constructor(){}}return b=S,(0,t.Z)(S,"\u0275fac",function(O){return new(O||b)}),(0,t.Z)(S,"\u0275mod",_.oAB({type:b,bootstrap:[Ot]})),(0,t.Z)(S,"\u0275inj",_.cJS({imports:[rt.AV,Vt,T.dr,l.u5,pt.ez,Ft.Is,kt.FA,wt.A0,Pt.Bb,q.Hi,_t.lN]})),S})()},54165:($t,At,i)=>{i.d(At,{z:()=>a});var t=i(81180),l=i(86864),P=i(65879),_=i(10459);let a=(()=>{var Z;class ht{constructor(N){(0,t.Z)(this,"cookieService",void 0),(0,t.Z)(this,"_reportFilter",{from:null,outletIds:[],to:null}),(0,t.Z)(this,"_cookiesName","ReportFilter"),this.cookieService=N}initOutletFilter(N=[]){let W=this.getReportFilter();return l.g.IsNotEmpty(W?.outletIds)?N=W.outletIds:this.setOutletFilter(N),N}initDateFromFilter(N){let W=this.getReportFilter();return l.g.IsNotEmpty(W?.from)?N=W.from:this.setDateFromFilter(N),N}initDateToFilter(N){let W=this.getReportFilter();return l.g.IsNotEmpty(W?.to)?N=W.to:this.setDateToFilter(N),N}setDateFromFilter(N){let W=this.getReportFilter();l.g.IsEmpty(W)&&(W=this._reportFilter),W.from=N,this.saveFilterToCookie(W)}setDateToFilter(N){let W=this.getReportFilter();l.g.IsEmpty(W)&&(W=this._reportFilter),W.to=N,this.saveFilterToCookie(W)}setOutletFilter(N=[]){let W=this.getReportFilter();l.g.IsEmpty(W)&&(W=this._reportFilter),W.outletIds=N,this.saveFilterToCookie(W)}saveFilterToCookie(N){this.cookieService.set(this._cookiesName,JSON.stringify(N),this.getExpiredDate(),"/")}getReportFilter(){if(this.cookieService.check("ReportFilter")){let N=this.cookieService.get("ReportFilter");this._reportFilter=JSON.parse(N)}return this._reportFilter}getExpiredDate(){let N=new Date;return N.setTime(N.getTime()+36e5),N}resetFilter(){this._reportFilter={from:null,outletIds:[],to:null}}}return Z=ht,(0,t.Z)(ht,"\u0275fac",function(N){return new(N||Z)(P.LFG(_.N))}),(0,t.Z)(ht,"\u0275prov",P.Yz7({token:Z,factory:Z.\u0275fac,providedIn:"root"})),ht})()},84023:($t,At,i)=>{i.d(At,{g:()=>_});var t=i(81180),l=i(65619),P=i(65879);let _=(()=>{var a;class Z{toggleSidebar(){this._toggleState.next(!this._toggleState.value)}constructor(){(0,t.Z)(this,"_toggleState",new l.X(!1)),(0,t.Z)(this,"toggleState$",this._toggleState.asObservable())}}return a=Z,(0,t.Z)(Z,"\u0275fac",function(J){return new(J||a)}),(0,t.Z)(Z,"\u0275prov",P.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})),Z})()},5177:($t,At,i)=>{i.d(At,{g:()=>k});var t=i(16321),l=i(35211),P=i(48180),_=i(79360),a=i(8251),Z=i(72420),J=i(21441),N=i(21631),W=i(54829);function xt(ut,at){return at?st=>(0,l.z)(at.pipe((0,P.q)(1),function ht(){return(0,_.e)((ut,at)=>{ut.subscribe((0,a.x)(at,Z.Z))})}()),st.pipe(xt(ut))):(0,N.z)((st,Rt)=>(0,W.Xf)(ut(st,Rt)).pipe((0,P.q)(1),(0,J.h)(st)))}var ot=i(99080);function k(ut,at=t.z){const st=(0,ot.H)(ut,at);return xt(()=>st)}},24630:($t,At,i)=>{i.d(At,{Bb:()=>vt,XC:()=>q,ZL:()=>ft});var t=i(65879),l=i(23680),P=i(96814),_=i(16672),a=i(69594),Z=i(4300),ht=i(42495),J=i(62831),N=i(86825),W=i(47394),xt=i(78645),ot=i(74911),k=i(63019),ut=i(22096),at=i(92438),st=i(36028),Rt=i(68484),Lt=i(56223),bt=i(64170),dt=i(27921),H=i(94664),rt=i(48180),pt=i(32181),T=i(37398),z=i(99397),gt=i(5177),Et=i(49388);const yt=["panel"];function Ot(j,nt){if(1&j){const lt=t.EpF();t.TgZ(0,"div",0,1),t.NdJ("@panelAnimation.done",function(I){t.CHM(lt);const B=t.oxw();return t.KtG(B._animationDone.next(I))}),t.Hsn(2),t.qZA()}if(2&j){const lt=nt.id,v=t.oxw();t.Q6J("id",v.id)("ngClass",v._classList)("@panelAnimation",v.isOpen?"visible":"hidden"),t.uIk("aria-label",v.ariaLabel||null)("aria-labelledby",v._getPanelAriaLabelledby(lt))}}const It=["*"],Nt=(0,N.X$)("panelAnimation",[(0,N.SB)("void, hidden",(0,N.oB)({opacity:0,transform:"scaleY(0.8)"})),(0,N.eR)(":enter, hidden => visible",[(0,N.ru)([(0,N.jt)("0.03s linear",(0,N.oB)({opacity:1})),(0,N.jt)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,N.oB)({transform:"scaleY(1)"}))])]),(0,N.eR)(":leave, visible => hidden",[(0,N.jt)("0.075s linear",(0,N.oB)({opacity:0}))])]);let Bt=0;class Vt{constructor(nt,lt){this.source=nt,this.option=lt}}const Ft=(0,l.Kr)(class{}),kt=new t.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function Pt(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}});let wt=(()=>{var j;class nt extends Ft{get isOpen(){return this._isOpen&&this.showPanel}_setColor(v){this._color=v,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(v){this._autoActiveFirstOption=(0,ht.Ig)(v)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(v){this._autoSelectActiveOption=(0,ht.Ig)(v)}get requireSelection(){return this._requireSelection}set requireSelection(v){this._requireSelection=(0,ht.Ig)(v)}set classList(v){this._classList=v&&v.length?(0,ht.du)(v).reduce((I,B)=>(I[B]=!0,I),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(v,I,B,ct){super(),this._changeDetectorRef=v,this._elementRef=I,this._defaults=B,this._activeOptionChanges=W.w0.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new t.vpe,this.opened=new t.vpe,this.closed=new t.vpe,this.optionActivated=new t.vpe,this._classList={},this.id="mat-autocomplete-"+Bt++,this.inertGroups=ct?.SAFARI||!1,this._autoActiveFirstOption=!!B.autoActiveFirstOption,this._autoSelectActiveOption=!!B.autoSelectActiveOption,this._requireSelection=!!B.requireSelection}ngAfterContentInit(){this._keyManager=new Z.s1(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(v=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[v]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(v){this.panel&&(this.panel.nativeElement.scrollTop=v)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(v){const I=new Vt(this,v);this.optionSelected.emit(I)}_getPanelAriaLabelledby(v){return this.ariaLabel?null:this.ariaLabelledby?(v?v+" ":"")+this.ariaLabelledby:v}_setVisibilityClasses(v){v[this._visibleClass]=this.showPanel,v[this._hiddenClass]=!this.showPanel}_setThemeClasses(v){v["mat-primary"]="primary"===this._color,v["mat-warn"]="warn"===this._color,v["mat-accent"]="accent"===this._color}_skipPredicate(v){return v.disabled}}return(j=nt).\u0275fac=function(v){return new(v||j)(t.Y36(t.sBO),t.Y36(t.SBq),t.Y36(kt),t.Y36(J.t4))},j.\u0275dir=t.lG2({type:j,viewQuery:function(v,I){if(1&v&&(t.Gf(t.Rgc,7),t.Gf(yt,5)),2&v){let B;t.iGM(B=t.CRH())&&(I.template=B.first),t.iGM(B=t.CRH())&&(I.panel=B.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",requireSelection:"requireSelection",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[t.qOj]}),nt})(),q=(()=>{var j;class nt extends wt{constructor(){super(...arguments),this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._animationDone=new t.vpe,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(v){this._hideSingleSelectionIndicator=(0,ht.Ig)(v),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const v of this.options)v._changeDetectorRef.markForCheck()}ngOnDestroy(){super.ngOnDestroy(),this._animationDone.complete()}_skipPredicate(v){return!1}}return(j=nt).\u0275fac=function(){let lt;return function(I){return(lt||(lt=t.n5z(j)))(I||j)}}(),j.\u0275cmp=t.Xpm({type:j,selectors:[["mat-autocomplete"]],contentQueries:function(v,I,B){if(1&v&&(t.Suo(B,l.K7,5),t.Suo(B,l.ey,5)),2&v){let ct;t.iGM(ct=t.CRH())&&(I.optionGroups=ct),t.iGM(ct=t.CRH())&&(I.options=ct)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matAutocomplete"],features:[t._Bn([{provide:l.HF,useExisting:j}]),t.qOj],ngContentSelectors:It,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(v,I){1&v&&(t.F$t(),t.YNc(0,Ot,3,5,"ng-template"))},dependencies:[P.mk],styles:["div.mat-mdc-autocomplete-panel{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[Nt]},changeDetection:0}),nt})();const b={provide:Lt.JU,useExisting:(0,t.Gpc)(()=>ft),multi:!0},G=new t.OlP("mat-autocomplete-scroll-strategy"),L={provide:G,deps:[a.aV],useFactory:function O(j){return()=>j.scrollStrategies.reposition()}};let it=(()=>{var j;class nt{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(v){this._autocompleteDisabled=(0,ht.Ig)(v)}constructor(v,I,B,ct,Mt,$,Ct,Xt,Ht,qt,Kt){this._element=v,this._overlay=I,this._viewContainerRef=B,this._zone=ct,this._changeDetectorRef=Mt,this._dir=Ct,this._formField=Xt,this._document=Ht,this._viewportRuler=qt,this._defaults=Kt,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=W.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new xt.x,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,ot.P)(()=>{const Tt=this.autocomplete?this.autocomplete.options:null;return Tt?Tt.changes.pipe((0,dt.O)(Tt),(0,H.w)(()=>(0,k.T)(...Tt.map(se=>se.onSelectionChange)))):this._zone.onStable.pipe((0,rt.q)(1),(0,H.w)(()=>this.optionSelections))}),this._handlePanelKeydown=Tt=>{(Tt.keyCode===st.hY&&!(0,st.Vb)(Tt)||Tt.keyCode===st.LH&&(0,st.Vb)(Tt,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),Tt.stopPropagation(),Tt.preventDefault())},this._trackedModal=null,this._scrollStrategy=$}ngAfterViewInit(){const v=this._getWindow();typeof v<"u"&&this._zone.runOutsideAngular(()=>v.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(v){v.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const v=this._getWindow();typeof v<"u"&&v.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel(),this._trackedModal&&(0,Z.Zf)(this._trackedModal,"aria-owns",this.autocomplete.id)}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal)&&(0,Z.iD)(this._trackedModal,"aria-owns",this.autocomplete.id)}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,k.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,pt.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,pt.h)(()=>this._overlayAttached)):(0,ut.of)()).pipe((0,T.U)(v=>v instanceof l.rN?v:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,k.T)((0,at.R)(this._document,"click"),(0,at.R)(this._document,"auxclick"),(0,at.R)(this._document,"touchend")).pipe((0,pt.h)(v=>{const I=(0,J.sA)(v),B=this._formField?this._formField._elementRef.nativeElement:null,ct=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&I!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!B||!B.contains(I))&&(!ct||!ct.contains(I))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(I)}))}writeValue(v){Promise.resolve(null).then(()=>this._assignOptionValue(v))}registerOnChange(v){this._onChange=v}registerOnTouched(v){this._onTouched=v}setDisabledState(v){this._element.nativeElement.disabled=v}_handleKeydown(v){const I=v.keyCode,B=(0,st.Vb)(v);if(I===st.hY&&!B&&v.preventDefault(),this.activeOption&&I===st.K5&&this.panelOpen&&!B)this.activeOption._selectViaInteraction(),this._resetActiveItem(),v.preventDefault();else if(this.autocomplete){const ct=this.autocomplete._keyManager.activeItem,Mt=I===st.LH||I===st.JH;I===st.Mf||Mt&&!B&&this.panelOpen?this.autocomplete._keyManager.onKeydown(v):Mt&&this._canOpen()&&this.openPanel(),(Mt||this.autocomplete._keyManager.activeItem!==ct)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(v){let I=v.target,B=I.value;"number"===I.type&&(B=""==B?null:parseFloat(B)),this._previousValue!==B&&(this._previousValue=B,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(B),B||this._clearPreviousSelectedOption(null,!1),this._canOpen()&&this._document.activeElement===v.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(v=!1){this._formField&&"auto"===this._formField.floatLabel&&(v?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const v=this._zone.onStable.pipe((0,rt.q)(1)),I=this.autocomplete.options.changes.pipe((0,z.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,gt.g)(0));return(0,k.T)(v,I).pipe((0,H.w)(()=>(this._zone.run(()=>{const B=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),B!==this.panelOpen&&(this.panelOpen?(this._captureValueOnAttach(),this._emitOpened()):this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,rt.q)(1)).subscribe(B=>this._setValueAndClose(B))}_emitOpened(){this.autocomplete.opened.emit()}_captureValueOnAttach(){this._valueOnAttach=this._element.nativeElement.value}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(v){const I=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(v):v;this._updateNativeInputValue(I??"")}_updateNativeInputValue(v){this._formField?this._formField._control.value=v:this._element.nativeElement.value=v,this._previousValue=v}_setValueAndClose(v){const I=this.autocomplete,B=v?v.source:this._pendingAutoselectedOption;B?(this._clearPreviousSelectedOption(B),this._assignOptionValue(B.value),this._onChange(B.value),I._emitSelectEvent(B),this._element.nativeElement.focus()):I.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),I._animationDone?I._animationDone.pipe((0,rt.q)(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(v,I){this.autocomplete?.options?.forEach(B=>{B!==v&&B.selected&&B.deselect(I)})}_attachOverlay(){let v=this._overlayRef;v?(this._positionStrategy.setOrigin(this._getConnectedElement()),v.updateSize({width:this._getPanelWidth()})):(this._portal=new Rt.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),v=this._overlay.create(this._getOverlayConfig()),this._overlayRef=v,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&v&&v.updateSize({width:this._getPanelWidth()})})),v&&!v.hasAttached()&&(v.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const I=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this._captureValueOnAttach(),this.panelOpen&&I!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const v=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=v.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=v.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new a.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const v=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(v),this._positionStrategy=v,v}_setStrategyPositions(v){const I=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],B=this._aboveClass,ct=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:B},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:B}];let Mt;Mt="above"===this.position?ct:"below"===this.position?I:[...I,...ct],v.withPositions(Mt)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const v=this.autocomplete;if(v.autoActiveFirstOption){let I=-1;for(let B=0;B<v.options.length;B++)if(!v.options.get(B).disabled){I=B;break}v._keyManager.setActiveItem(I)}else v._keyManager.setActiveItem(-1)}_canOpen(){const v=this._element.nativeElement;return!v.readOnly&&!v.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(v){const I=this.autocomplete,B=(0,l.CB)(v,I.options,I.optionGroups);if(0===v&&1===B)I._setScrollTop(0);else if(I.panel){const ct=I.options.toArray()[v];if(ct){const Mt=ct._getHostElement(),$=(0,l.jH)(Mt.offsetTop,Mt.offsetHeight,I._getScrollTop(),I.panel.nativeElement.offsetHeight);I._setScrollTop($)}}}_applyModalPanelOwnership(){const v=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!v)return;const I=this.autocomplete.id;this._trackedModal&&(0,Z.iD)(this._trackedModal,"aria-owns",I),(0,Z.Zf)(v,"aria-owns",I),this._trackedModal=v}_clearFromModal(){this._trackedModal&&((0,Z.iD)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}}return(j=nt).\u0275fac=function(v){return new(v||j)(t.Y36(t.SBq),t.Y36(a.aV),t.Y36(t.s_b),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(G),t.Y36(Et.Is,8),t.Y36(bt.G_,9),t.Y36(P.K0,8),t.Y36(_.rL),t.Y36(kt,8))},j.\u0275dir=t.lG2({type:j,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[t.TTD]}),nt})(),ft=(()=>{var j;class nt extends it{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}}return(j=nt).\u0275fac=function(){let lt;return function(I){return(lt||(lt=t.n5z(j)))(I||j)}}(),j.\u0275dir=t.lG2({type:j,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(v,I){1&v&&t.NdJ("focusin",function(){return I._handleFocus()})("blur",function(){return I._onTouched()})("input",function(ct){return I._handleInput(ct)})("keydown",function(ct){return I._handleKeydown(ct)})("click",function(){return I._handleClick()}),2&v&&t.uIk("autocomplete",I.autocompleteAttribute)("role",I.autocompleteDisabled?null:"combobox")("aria-autocomplete",I.autocompleteDisabled?null:"list")("aria-activedescendant",I.panelOpen&&I.activeOption?I.activeOption.id:null)("aria-expanded",I.autocompleteDisabled?null:I.panelOpen.toString())("aria-controls",I.autocompleteDisabled||!I.panelOpen||null==I.autocomplete?null:I.autocomplete.id)("aria-haspopup",I.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[t._Bn([b]),t.qOj]}),nt})(),vt=(()=>{var j;class nt{}return(j=nt).\u0275fac=function(v){return new(v||j)},j.\u0275mod=t.oAB({type:j}),j.\u0275inj=t.cJS({providers:[L],imports:[a.U8,l.Ng,l.BQ,P.ez,_.ZD,l.Ng,l.BQ]}),nt})()},32296:($t,At,i)=>{i.d(At,{RK:()=>kt,lW:()=>z,ot:()=>wt});var t=i(62831),l=i(65879),P=i(4300),_=i(42495),a=i(23680);const Z=["mat-button",""],ht=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],J=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],ut=["mat-icon-button",""],at=["*"],bt=[{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"]}],dt=(0,a.pj)((0,a.Id)((0,a.Kr)(class{constructor(q){this._elementRef=q}})));let H=(()=>{var q;class _t extends dt{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(b){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,b)}get disableRipple(){return this._disableRipple}set disableRipple(b){this._disableRipple=(0,_.Ig)(b),this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(b){this._disabled=(0,_.Ig)(b),this._updateRippleDisabled()}constructor(b,S,G,O){super(b),this._platform=S,this._ngZone=G,this._animationMode=O,this._focusMonitor=(0,l.f3M)(P.tE),this._rippleLoader=(0,l.f3M)(a.Fq),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const L=b.nativeElement.classList;for(const it of bt)this._hasHostAttributes(it.selector)&&it.mdcClasses.forEach(ft=>{L.add(ft)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(b="program",S){b?this._focusMonitor.focusVia(this._elementRef.nativeElement,b,S):this._elementRef.nativeElement.focus(S)}_hasHostAttributes(...b){return b.some(S=>this._elementRef.nativeElement.hasAttribute(S))}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}}return(q=_t).\u0275fac=function(b){l.$Z()},q.\u0275dir=l.lG2({type:q,features:[l.qOj]}),_t})(),z=(()=>{var q;class _t extends H{constructor(b,S,G,O){super(b,S,G,O)}}return(q=_t).\u0275fac=function(b){return new(b||q)(l.Y36(l.SBq),l.Y36(t.t4),l.Y36(l.R0b),l.Y36(l.QbO,8))},q.\u0275cmp=l.Xpm({type:q,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(b,S){2&b&&(l.uIk("disabled",S.disabled||null),l.ekj("_mat-animation-noopable","NoopAnimations"===S._animationMode)("mat-unthemed",!S.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[l.qOj],attrs:Z,ngContentSelectors:J,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(b,S){1&b&&(l.F$t(ht),l._UZ(0,"span",0),l.Hsn(1),l.TgZ(2,"span",1),l.Hsn(3,1),l.qZA(),l.Hsn(4,2),l._UZ(5,"span",2)(6,"span",3)),2&b&&l.ekj("mdc-button__ripple",!S._isFab)("mdc-fab__ripple",S._isFab)},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-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.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}),_t})(),kt=(()=>{var q;class _t extends H{constructor(b,S,G,O){super(b,S,G,O),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}}return(q=_t).\u0275fac=function(b){return new(b||q)(l.Y36(l.SBq),l.Y36(t.t4),l.Y36(l.R0b),l.Y36(l.QbO,8))},q.\u0275cmp=l.Xpm({type:q,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(b,S){2&b&&(l.uIk("disabled",S.disabled||null),l.ekj("_mat-animation-noopable","NoopAnimations"===S._animationMode)("mat-unthemed",!S.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[l.qOj],attrs:ut,ngContentSelectors:at,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(b,S){1&b&&(l.F$t(),l._UZ(0,"span",0),l.Hsn(1),l._UZ(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',".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}),_t})(),wt=(()=>{var q;class _t{}return(q=_t).\u0275fac=function(b){return new(b||q)},q.\u0275mod=l.oAB({type:q}),q.\u0275inj=l.cJS({imports:[a.BQ,a.si,a.BQ]}),_t})()},22557:($t,At,i)=>{i.d(At,{Hi:()=>ee,RA:()=>qt,oH:()=>Tt,qH:()=>O,z3:()=>lt});var t=i(42495),l=i(65879),P=i(96814),_=i(23680),a=i(4300),Z=i(78645),ht=i(63019),J=i(48180),N=i(59773),W=i(27921),xt=i(94664),ot=i(36028),k=i(49388),ut=i(56223),at=i(64170);function st(D,U){1&D&&(l.TgZ(0,"span",7),l.Hsn(1,1),l.qZA())}function Rt(D,U){1&D&&(l.TgZ(0,"span",8),l.Hsn(1,2),l.qZA())}const Lt=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],bt=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function pt(D,U){1&D&&(l.ynx(0),l._UZ(1,"span",8),l.BQk())}function T(D,U){1&D&&(l.TgZ(0,"span",9),l.Hsn(1),l.qZA())}function z(D,U){1&D&&(l.ynx(0),l.Hsn(1,1),l.BQk())}function gt(D,U){1&D&&l.Hsn(0,2,["*ngIf","contentEditInput; else defaultMatChipEditInput"])}function Et(D,U){1&D&&l._UZ(0,"span",12)}function yt(D,U){if(1&D&&(l.ynx(0),l.YNc(1,gt,1,0,"ng-content",10),l.YNc(2,Et,1,0,"ng-template",null,11,l.W1O),l.BQk()),2&D){const Y=l.MAs(3),r=l.oxw();l.xp6(1),l.Q6J("ngIf",r.contentEditInput)("ngIfElse",Y)}}function Ot(D,U){1&D&&(l.TgZ(0,"span",13),l.Hsn(1,3),l.qZA())}const It=[[["mat-chip-avatar"],["","matChipAvatar",""]],"*",[["","matChipEditInput",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],Nt=["mat-chip-avatar, [matChipAvatar]","*","[matChipEditInput]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],Bt=["*"],Ft=new l.OlP("mat-chips-default-options"),kt=new l.OlP("MatChipAvatar"),Pt=new l.OlP("MatChipTrailingIcon"),wt=new l.OlP("MatChipRemove"),q=new l.OlP("MatChip");class _t{}const X=(0,_.sb)(_t,-1);let b=(()=>{var D;class U extends X{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(r){this._disabled=(0,t.Ig)(r)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(r,m){super(),this._elementRef=r,this._parentChip=m,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===r.nativeElement.nodeName&&r.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(r){!this.disabled&&this.isInteractive&&this._isPrimary&&(r.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(r){(r.keyCode===ot.K5||r.keyCode===ot.L_)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(r.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}}return(D=U).\u0275fac=function(r){return new(r||D)(l.Y36(l.SBq),l.Y36(q))},D.\u0275dir=l.lG2({type:D,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(r,m){1&r&&l.NdJ("click",function(K){return m._handleClick(K)})("keydown",function(K){return m._handleKeydown(K)}),2&r&&(l.uIk("tabindex",m._getTabindex())("disabled",m._getDisabledAttribute())("aria-disabled",m.disabled),l.ekj("mdc-evolution-chip__action--primary",m._isPrimary)("mdc-evolution-chip__action--presentational",!m.isInteractive)("mdc-evolution-chip__action--trailing",!m._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[l.qOj]}),U})(),O=(()=>{var D;class U extends b{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(r){this.disabled||(r.stopPropagation(),r.preventDefault(),this._parentChip.remove())}_handleKeydown(r){(r.keyCode===ot.K5||r.keyCode===ot.L_)&&!this.disabled&&(r.stopPropagation(),r.preventDefault(),this._parentChip.remove())}}return(D=U).\u0275fac=function(){let Y;return function(m){return(Y||(Y=l.n5z(D)))(m||D)}}(),D.\u0275dir=l.lG2({type:D,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-mdc-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(r,m){2&r&&l.uIk("aria-hidden",null)},features:[l._Bn([{provide:wt,useExisting:D}]),l.qOj]}),U})(),L=0;const it=(0,_.sb)((0,_.pj)((0,_.Kr)((0,_.Id)(class{constructor(D){this._elementRef=D}})),"primary"),-1);let ft=(()=>{var D;class U extends it{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(r){this._value=r}get removable(){return this._removable}set removable(r){this._removable=(0,t.Ig)(r)}get highlighted(){return this._highlighted}set highlighted(r){this._highlighted=(0,t.Ig)(r)}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(r){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,r)}constructor(r,m,F,K,zt,jt,y,V){super(m),this._changeDetectorRef=r,this._ngZone=F,this._focusMonitor=K,this._globalRippleOptions=y,this._onFocus=new Z.x,this._onBlur=new Z.x,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+L++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new l.vpe,this.destroyed=new l.vpe,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=(0,l.f3M)(_.Fq),this._document=zt,this._animationsDisabled="NoopAnimations"===jt,null!=V&&(this.tabIndex=parseInt(V)??this.defaultTabIndex),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){const r=this._elementRef.nativeElement;this._isBasicChip=r.hasAttribute(this.basicChipAttrName)||r.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=(0,ht.T)(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(r){(r.keyCode===ot.ZH||r.keyCode===ot.yY)&&(r.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(r){return this._getActions().find(m=>{const F=m._elementRef.nativeElement;return F===r||F.contains(r)})}_getActions(){const r=[];return this.primaryAction&&r.push(this.primaryAction),this.removeIcon&&r.push(this.removeIcon),this.trailingIcon&&r.push(this.trailingIcon),r}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(r=>{const m=null!==r;m!==this._hasFocusInternal&&(this._hasFocusInternal=m,m?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe((0,J.q)(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}}return(D=U).\u0275fac=function(r){return new(r||D)(l.Y36(l.sBO),l.Y36(l.SBq),l.Y36(l.R0b),l.Y36(a.tE),l.Y36(P.K0),l.Y36(l.QbO,8),l.Y36(_.Y2,8),l.$8M("tabindex"))},D.\u0275cmp=l.Xpm({type:D,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(r,m,F){if(1&r&&(l.Suo(F,kt,5),l.Suo(F,Pt,5),l.Suo(F,wt,5),l.Suo(F,kt,5),l.Suo(F,Pt,5),l.Suo(F,wt,5)),2&r){let K;l.iGM(K=l.CRH())&&(m.leadingIcon=K.first),l.iGM(K=l.CRH())&&(m.trailingIcon=K.first),l.iGM(K=l.CRH())&&(m.removeIcon=K.first),l.iGM(K=l.CRH())&&(m._allLeadingIcons=K),l.iGM(K=l.CRH())&&(m._allTrailingIcons=K),l.iGM(K=l.CRH())&&(m._allRemoveIcons=K)}},viewQuery:function(r,m){if(1&r&&l.Gf(b,5),2&r){let F;l.iGM(F=l.CRH())&&(m.primaryAction=F.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(r,m){1&r&&l.NdJ("keydown",function(K){return m._handleKeydown(K)}),2&r&&(l.Ikx("id",m.id),l.uIk("role",m.role)("tabindex",m.role?m.tabIndex:null)("aria-label",m.ariaLabel),l.ekj("mdc-evolution-chip",!m._isBasicChip)("mdc-evolution-chip--disabled",m.disabled)("mdc-evolution-chip--with-trailing-action",m._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",m.leadingIcon)("mdc-evolution-chip--with-primary-icon",m.leadingIcon)("mdc-evolution-chip--with-avatar",m.leadingIcon)("mat-mdc-chip-with-avatar",m.leadingIcon)("mat-mdc-chip-highlighted",m.highlighted)("mat-mdc-chip-disabled",m.disabled)("mat-mdc-basic-chip",m._isBasicChip)("mat-mdc-standard-chip",!m._isBasicChip)("mat-mdc-chip-with-trailing-icon",m._hasTrailingIcon())("_mat-animation-noopable",m._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[l._Bn([{provide:q,useExisting:D}]),l.qOj],ngContentSelectors:bt,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(r,m){1&r&&(l.F$t(Lt),l._UZ(0,"span",0),l.TgZ(1,"span",1)(2,"span",2),l.YNc(3,st,2,0,"span",3),l.TgZ(4,"span",4),l.Hsn(5),l._UZ(6,"span",5),l.qZA()()(),l.YNc(7,Rt,2,0,"span",6)),2&r&&(l.xp6(2),l.Q6J("isInteractive",!1),l.xp6(1),l.Q6J("ngIf",m.leadingIcon),l.xp6(4),l.Q6J("ngIf",m._hasTrailingIcon()))},dependencies:[P.O5,b],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),U})(),nt=(()=>{var D;class U{constructor(r,m){this._elementRef=r,this._document=m}initialize(r){this.getNativeElement().focus(),this.setValue(r)}getNativeElement(){return this._elementRef.nativeElement}setValue(r){this.getNativeElement().textContent=r,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){const r=this._document.createRange();r.selectNodeContents(this.getNativeElement()),r.collapse(!1);const m=window.getSelection();m.removeAllRanges(),m.addRange(r)}}return(D=U).\u0275fac=function(r){return new(r||D)(l.Y36(l.SBq),l.Y36(P.K0))},D.\u0275dir=l.lG2({type:D,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]}),U})(),lt=(()=>{var D;class U extends ft{constructor(r,m,F,K,zt,jt,y,V){super(r,m,F,K,zt,jt,y,V),this.basicChipAttrName="mat-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new l.vpe,this._isEditing=!1,this.role="row",this._onBlur.pipe((0,N.R)(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_handleFocus(){!this._isEditing&&!this.disabled&&this.focus()}_handleKeydown(r){r.keyCode!==ot.K5||this.disabled?this._isEditing?r.stopPropagation():super._handleKeydown(r):this._isEditing?(r.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(r)}_handleDoubleclick(r){!this.disabled&&this.editable&&this._startEditing(r)}_startEditing(r){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(r.target)===this.removeIcon)return;const m=this.value;this._isEditing=this._editStartPending=!0,this._changeDetectorRef.detectChanges(),setTimeout(()=>{this._getEditInput().initialize(m),this._editStartPending=!1})}_onEditFinish(){this._isEditing=this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_isRippleDisabled(){return super._isRippleDisabled()||this._isEditing}_getEditInput(){return this.contentEditInput||this.defaultEditInput}}return(D=U).\u0275fac=function(r){return new(r||D)(l.Y36(l.sBO),l.Y36(l.SBq),l.Y36(l.R0b),l.Y36(a.tE),l.Y36(P.K0),l.Y36(l.QbO,8),l.Y36(_.Y2,8),l.$8M("tabindex"))},D.\u0275cmp=l.Xpm({type:D,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(r,m,F){if(1&r&&l.Suo(F,nt,5),2&r){let K;l.iGM(K=l.CRH())&&(m.contentEditInput=K.first)}},viewQuery:function(r,m){if(1&r&&l.Gf(nt,5),2&r){let F;l.iGM(F=l.CRH())&&(m.defaultEditInput=F.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(r,m){1&r&&l.NdJ("focus",function(K){return m._handleFocus(K)})("dblclick",function(K){return m._handleDoubleclick(K)}),2&r&&(l.Ikx("id",m.id),l.uIk("tabindex",m.disabled?null:-1)("aria-label",null)("aria-description",null)("role",m.role),l.ekj("mat-mdc-chip-with-avatar",m.leadingIcon)("mat-mdc-chip-disabled",m.disabled)("mat-mdc-chip-editing",m._isEditing)("mat-mdc-chip-editable",m.editable)("mdc-evolution-chip--disabled",m.disabled)("mdc-evolution-chip--with-trailing-action",m._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",m.leadingIcon)("mdc-evolution-chip--with-primary-icon",m.leadingIcon)("mdc-evolution-chip--with-avatar",m.leadingIcon)("mat-mdc-chip-highlighted",m.highlighted)("mat-mdc-chip-with-trailing-icon",m._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",editable:"editable"},outputs:{edited:"edited"},features:[l._Bn([{provide:ft,useExisting:D},{provide:q,useExisting:D}]),l.qOj],ngContentSelectors:Nt,decls:10,vars:12,consts:[[4,"ngIf"],["role","gridcell","matChipAction","",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary",3,"tabIndex","disabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label",3,"ngSwitch"],[4,"ngSwitchCase"],["aria-hidden","true",1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing","role","gridcell",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[4,"ngIf","ngIfElse"],["defaultMatChipEditInput",""],["matChipEditInput",""],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(r,m){1&r&&(l.F$t(It),l.YNc(0,pt,2,0,"ng-container",0),l.TgZ(1,"span",1),l.YNc(2,T,2,0,"span",2),l.TgZ(3,"span",3),l.YNc(4,z,2,0,"ng-container",4),l.YNc(5,yt,4,2,"ng-container",4),l._UZ(6,"span",5),l.qZA()(),l.YNc(7,Ot,2,0,"span",6),l.TgZ(8,"span",7),l._uU(9),l.qZA()),2&r&&(l.Q6J("ngIf",!m._isEditing),l.xp6(1),l.Q6J("tabIndex",m.tabIndex)("disabled",m.disabled),l.uIk("aria-label",m.ariaLabel)("aria-describedby",m._ariaDescriptionId),l.xp6(1),l.Q6J("ngIf",m.leadingIcon),l.xp6(1),l.Q6J("ngSwitch",m._isEditing),l.xp6(1),l.Q6J("ngSwitchCase",!1),l.xp6(1),l.Q6J("ngSwitchCase",!0),l.xp6(2),l.Q6J("ngIf",m._hasTrailingIcon()),l.xp6(1),l.Q6J("id",m._ariaDescriptionId),l.xp6(1),l.Oqu(m.ariaDescription))},dependencies:[P.O5,P.RF,P.n9,b,nt],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),U})();class v{constructor(U){}}const I=(0,_.sb)(v);let B=(()=>{var D;class U extends I{get chipFocusChanges(){return this._getChipStream(r=>r._onFocus)}get chipDestroyedChanges(){return this._getChipStream(r=>r.destroyed)}get disabled(){return this._disabled}set disabled(r){this._disabled=(0,t.Ig)(r),this._syncChipsState()}get empty(){return!this._chips||0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(r){this._explicitRole=r}get focused(){return this._hasFocusedChip()}constructor(r,m,F){super(r),this._elementRef=r,this._changeDetectorRef=m,this._dir=F,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new Z.x,this._defaultRole="presentation",this._disabled=!1,this._explicitRole=null,this._chipActions=new l.n_E}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(r=>r._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(r=>{r.disabled=this._disabled,r._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(r){this._originatesFromChip(r)&&this._keyManager.onKeydown(r)}_isValidIndex(r){return r>=0&&r<this._chips.length}_allowFocusEscape(){if(-1!==this.tabIndex){const r=this.tabIndex;this.tabIndex=-1,setTimeout(()=>this.tabIndex=r)}}_getChipStream(r){return this._chips.changes.pipe((0,W.O)(null),(0,xt.w)(()=>(0,ht.T)(...this._chips.map(r))))}_originatesFromChip(r){let m=r.target;for(;m&&m!==this._elementRef.nativeElement;){if(m.classList.contains("mat-mdc-chip"))return!0;m=m.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe((0,W.O)(this._chips)).subscribe(r=>{const m=[];r.forEach(F=>F._getActions().forEach(K=>m.push(K))),this._chipActions.reset(m),this._chipActions.notifyOnChanges()}),this._keyManager=new a.Em(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(r=>this._skipPredicate(r)),this.chipFocusChanges.pipe((0,N.R)(this._destroyed)).subscribe(({chip:r})=>{const m=r._getSourceAction(document.activeElement);m&&this._keyManager.updateActiveItem(m)}),this._dir?.change.pipe((0,N.R)(this._destroyed)).subscribe(r=>this._keyManager.withHorizontalOrientation(r))}_skipPredicate(r){return!r.isInteractive||r.disabled}_trackChipSetChanges(){this._chips.changes.pipe((0,W.O)(null),(0,N.R)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe((0,N.R)(this._destroyed)).subscribe(r=>{const F=this._chips.toArray().indexOf(r.chip);this._isValidIndex(F)&&r.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=F)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const r=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),m=this._chips.toArray()[r];m.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():m.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}}return(D=U).\u0275fac=function(r){return new(r||D)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(k.Is,8))},D.\u0275cmp=l.Xpm({type:D,selectors:[["mat-chip-set"]],contentQueries:function(r,m,F){if(1&r&&l.Suo(F,ft,5),2&r){let K;l.iGM(K=l.CRH())&&(m._chips=K)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(r,m){1&r&&l.NdJ("keydown",function(K){return m._handleKeydown(K)}),2&r&&l.uIk("role",m.role)},inputs:{disabled:"disabled",role:"role"},features:[l.qOj],ngContentSelectors:Bt,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(r,m){1&r&&(l.F$t(),l.TgZ(0,"div",0),l.Hsn(1),l.qZA())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),U})();class Ct{constructor(U,Y){this.source=U,this.value=Y}}class Xt extends B{constructor(U,Y,r,m,F,K,zt){super(U,Y,r),this._defaultErrorStateMatcher=m,this._parentForm=F,this._parentFormGroup=K,this.ngControl=zt,this.stateChanges=new Z.x}}const Ht=(0,_.FD)(Xt);let qt=(()=>{var D;class U extends Ht{get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(r){this._disabled=(0,t.Ig)(r),this._syncChipsState()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||0===this._chips.length)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(r){this._placeholder=r,this.stateChanges.next()}get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(ut.kI.required)??!1}set required(r){this._required=(0,t.Ig)(r),this.stateChanges.next()}get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(r){this._value=r}get chipBlurChanges(){return this._getChipStream(r=>r._onBlur)}constructor(r,m,F,K,zt,jt,y){super(r,m,F,jt,K,zt,y),this.controlType="mat-chip-grid",this._defaultRole="grid",this._ariaDescribedbyIds=[],this._onTouched=()=>{},this._onChange=()=>{},this._value=[],this.change=new l.vpe,this.valueChange=new l.vpe,this._chips=void 0,this.ngControl&&(this.ngControl.valueAccessor=this)}ngAfterContentInit(){this.chipBlurChanges.pipe((0,N.R)(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),(0,ht.T)(this.chipFocusChanges,this._chips.changes).pipe((0,N.R)(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit()}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(r){this._chipInput=r,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(r){!this.disabled&&!this._originatesFromChip(r)&&this.focus()}focus(){this.disabled||this._chipInput.focused||(!this._chips.length||this._chips.first.disabled?Promise.resolve().then(()=>this._chipInput.focus()):this._chips.length&&this._keyManager.setFirstItemActive(),this.stateChanges.next())}setDescribedByIds(r){this._ariaDescribedbyIds=r,this._chipInput?.setDescribedByIds(r)}writeValue(r){this._value=r}registerOnChange(r){this._onChange=r}registerOnTouched(r){this._onTouched=r}setDisabledState(r){this.disabled=r,this.stateChanges.next()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(r){r.keyCode===ot.Mf?this._chipInput.focused&&(0,ot.Vb)(r,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(r.preventDefault(),this._keyManager.activeItem?this._keyManager.setActiveItem(this._keyManager.activeItem):this._focusLastChip()):super._allowFocusEscape():this._chipInput.focused||super._handleKeydown(r),this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){const r=this._chips.length?this._chips.toArray().map(m=>m.value):[];this._value=r,this.change.emit(new Ct(this,r)),this.valueChange.emit(r),this._onChange(r),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}}return(D=U).\u0275fac=function(r){return new(r||D)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(k.Is,8),l.Y36(ut.F,8),l.Y36(ut.sg,8),l.Y36(_.rD),l.Y36(ut.a5,10))},D.\u0275cmp=l.Xpm({type:D,selectors:[["mat-chip-grid"]],contentQueries:function(r,m,F){if(1&r&&l.Suo(F,lt,5),2&r){let K;l.iGM(K=l.CRH())&&(m._chips=K)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(r,m){1&r&&l.NdJ("focus",function(){return m.focus()})("blur",function(){return m._blur()}),2&r&&(l.Ikx("tabIndex",m._chips&&0===m._chips.length?-1:m.tabIndex),l.uIk("role",m.role)("aria-disabled",m.disabled.toString())("aria-invalid",m.errorState),l.ekj("mat-mdc-chip-list-disabled",m.disabled)("mat-mdc-chip-list-invalid",m.errorState)("mat-mdc-chip-list-required",m.required))},inputs:{tabIndex:"tabIndex",disabled:"disabled",placeholder:"placeholder",required:"required",value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[l._Bn([{provide:at.Eo,useExisting:D}]),l.qOj],ngContentSelectors:Bt,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(r,m){1&r&&(l.F$t(),l.TgZ(0,"div",0),l.Hsn(1),l.qZA())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),U})(),Kt=0,Tt=(()=>{var D;class U{set chipGrid(r){r&&(this._chipGrid=r,this._chipGrid.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(r){this._addOnBlur=(0,t.Ig)(r)}get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(r){this._disabled=(0,t.Ig)(r)}get empty(){return!this.inputElement.value}constructor(r,m,F){this._elementRef=r,this.focused=!1,this._addOnBlur=!1,this.chipEnd=new l.vpe,this.placeholder="",this.id="mat-mdc-chip-list-input-"+Kt++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=m.separatorKeyCodes,F&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(r){if(r){if(r.keyCode===ot.ZH&&this._focusLastChipOnBackspace)return this._chipGrid._focusLastChip(),void r.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(r)}_keyup(r){!this._focusLastChipOnBackspace&&r.keyCode===ot.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,r.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipGrid.stateChanges.next()}_emitChipEnd(r){(!r||this._isSeparatorKey(r))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),r?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}setDescribedByIds(r){const m=this._elementRef.nativeElement;r.length?m.setAttribute("aria-describedby",r.join(" ")):m.removeAttribute("aria-describedby")}_isSeparatorKey(r){return!(0,ot.Vb)(r)&&new Set(this.separatorKeyCodes).has(r.keyCode)}}return(D=U).\u0275fac=function(r){return new(r||D)(l.Y36(l.SBq),l.Y36(Ft),l.Y36(at.G_,8))},D.\u0275dir=l.lG2({type:D,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(r,m){1&r&&l.NdJ("keydown",function(K){return m._keydown(K)})("keyup",function(K){return m._keyup(K)})("blur",function(){return m._blur()})("focus",function(){return m._focus()})("input",function(){return m._onInput()}),2&r&&(l.Ikx("id",m.id),l.uIk("disabled",m.disabled||null)("placeholder",m.placeholder||null)("aria-invalid",m._chipGrid&&m._chipGrid.ngControl?m._chipGrid.ngControl.invalid:null)("aria-required",m._chipGrid&&m._chipGrid.required||null)("required",m._chipGrid&&m._chipGrid.required||null))},inputs:{chipGrid:["matChipInputFor","chipGrid"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[l.TTD]}),U})(),ee=(()=>{var D;class U{}return(D=U).\u0275fac=function(r){return new(r||D)},D.\u0275mod=l.oAB({type:D}),D.\u0275inj=l.cJS({providers:[_.rD,{provide:Ft,useValue:{separatorKeyCodes:[ot.K5]}}],imports:[_.BQ,P.ez,_.si,_.BQ]}),U})()},38034:($t,At,i)=>{i.d(At,{By:()=>fe,DK:()=>xe,FA:()=>De,M5:()=>Ce,Mq:()=>p,Ti:()=>tt,_H:()=>mt,_g:()=>ve,dp:()=>ye,hl:()=>E,nW:()=>Dt,wx:()=>be,zY:()=>pe});var t=i(4300),l=i(69594),P=i(68484),_=i(96814),a=i(65879),Z=i(32296),ht=i(16672),J=i(23680),N=i(78645),W=i(47394),xt=i(63019),ot=i(22096),k=i(36028),ut=i(49388),at=i(62831),st=i(48180),Rt=i(27921),Lt=i(32181),bt=i(42495),dt=i(86825),H=i(56223),rt=i(64170),pt=i(2032);const T=["mat-calendar-body",""];function z(d,x){if(1&d&&(a.TgZ(0,"tr",3)(1,"td",4),a._uU(2),a.qZA()()),2&d){const g=a.oxw();a.xp6(1),a.Udp("padding-top",g._cellPadding)("padding-bottom",g._cellPadding),a.uIk("colspan",g.numCols),a.xp6(1),a.hij(" ",g.label," ")}}function gt(d,x){if(1&d&&(a.TgZ(0,"td",4),a._uU(1),a.qZA()),2&d){const g=a.oxw(2);a.Udp("padding-top",g._cellPadding)("padding-bottom",g._cellPadding),a.uIk("colspan",g._firstRowOffset),a.xp6(1),a.hij(" ",g._firstRowOffset>=g.labelMinRequiredCells?g.label:""," ")}}function Et(d,x){if(1&d){const g=a.EpF();a.TgZ(0,"td",8)(1,"button",9),a.NdJ("click",function(n){const c=a.CHM(g).$implicit,M=a.oxw(2);return a.KtG(M._cellClicked(c,n))})("focus",function(n){const c=a.CHM(g).$implicit,M=a.oxw(2);return a.KtG(M._emitActiveDateChange(c,n))}),a.TgZ(2,"span",10),a._uU(3),a.qZA(),a._UZ(4,"span",11),a.qZA()()}if(2&d){const g=x.$implicit,e=x.index,n=a.oxw().index,s=a.oxw();a.Udp("width",s._cellWidth)("padding-top",s._cellPadding)("padding-bottom",s._cellPadding),a.uIk("data-mat-row",n)("data-mat-col",e),a.xp6(1),a.ekj("mat-calendar-body-disabled",!g.enabled)("mat-calendar-body-active",s._isActiveCell(n,e))("mat-calendar-body-range-start",s._isRangeStart(g.compareValue))("mat-calendar-body-range-end",s._isRangeEnd(g.compareValue))("mat-calendar-body-in-range",s._isInRange(g.compareValue))("mat-calendar-body-comparison-bridge-start",s._isComparisonBridgeStart(g.compareValue,n,e))("mat-calendar-body-comparison-bridge-end",s._isComparisonBridgeEnd(g.compareValue,n,e))("mat-calendar-body-comparison-start",s._isComparisonStart(g.compareValue))("mat-calendar-body-comparison-end",s._isComparisonEnd(g.compareValue))("mat-calendar-body-in-comparison-range",s._isInComparisonRange(g.compareValue))("mat-calendar-body-preview-start",s._isPreviewStart(g.compareValue))("mat-calendar-body-preview-end",s._isPreviewEnd(g.compareValue))("mat-calendar-body-in-preview",s._isInPreview(g.compareValue)),a.Q6J("ngClass",g.cssClasses)("tabindex",s._isActiveCell(n,e)?0:-1),a.uIk("aria-label",g.ariaLabel)("aria-disabled",!g.enabled||null)("aria-pressed",s._isSelected(g.compareValue))("aria-current",s.todayValue===g.compareValue?"date":null)("aria-describedby",s._getDescribedby(g.compareValue)),a.xp6(1),a.ekj("mat-calendar-body-selected",s._isSelected(g.compareValue))("mat-calendar-body-comparison-identical",s._isComparisonIdentical(g.compareValue))("mat-calendar-body-today",s.todayValue===g.compareValue),a.xp6(1),a.hij(" ",g.displayValue," ")}}function yt(d,x){if(1&d&&(a.TgZ(0,"tr",5),a.YNc(1,gt,2,6,"td",6),a.YNc(2,Et,5,48,"td",7),a.qZA()),2&d){const g=x.$implicit,e=x.index,n=a.oxw();a.xp6(1),a.Q6J("ngIf",0===e&&n._firstRowOffset),a.xp6(1),a.Q6J("ngForOf",g)}}function Ot(d,x){if(1&d&&(a.TgZ(0,"th",5)(1,"span",6),a._uU(2),a.qZA(),a.TgZ(3,"span",7),a._uU(4),a.qZA()()),2&d){const g=x.$implicit;a.xp6(2),a.Oqu(g.long),a.xp6(2),a.Oqu(g.narrow)}}const It=["*"];function Nt(d,x){}function Bt(d,x){if(1&d){const g=a.EpF();a.TgZ(0,"mat-month-view",5),a.NdJ("activeDateChange",function(n){a.CHM(g);const s=a.oxw();return a.KtG(s.activeDate=n)})("_userSelection",function(n){a.CHM(g);const s=a.oxw();return a.KtG(s._dateSelected(n))})("dragStarted",function(n){a.CHM(g);const s=a.oxw();return a.KtG(s._dragStarted(n))})("dragEnded",function(n){a.CHM(g);const s=a.oxw();return a.KtG(s._dragEnded(n))}),a.qZA()}if(2&d){const g=a.oxw();a.Q6J("activeDate",g.activeDate)("selected",g.selected)("dateFilter",g.dateFilter)("maxDate",g.maxDate)("minDate",g.minDate)("dateClass",g.dateClass)("comparisonStart",g.comparisonStart)("comparisonEnd",g.comparisonEnd)("startDateAccessibleName",g.startDateAccessibleName)("endDateAccessibleName",g.endDateAccessibleName)("activeDrag",g._activeDrag)}}function Vt(d,x){if(1&d){const g=a.EpF();a.TgZ(0,"mat-year-view",6),a.NdJ("activeDateChange",function(n){a.CHM(g);const s=a.oxw();return a.KtG(s.activeDate=n)})("monthSelected",function(n){a.CHM(g);const s=a.oxw();return a.KtG(s._monthSelectedInYearView(n))})("selectedChange",function(n){a.CHM(g);const s=a.oxw();return a.KtG(s._goToDateInView(n,"month"))}),a.qZA()}if(2&d){const g=a.oxw();a.Q6J("activeDate",g.activeDate)("selected",g.selected)("dateFilter",g.dateFilter)("maxDate",g.maxDate)("minDate",g.minDate)("dateClass",g.dateClass)}}function Ft(d,x){if(1&d){const g=a.EpF();a.TgZ(0,"mat-multi-year-view",7),a.NdJ("activeDateChange",function(n){a.CHM(g);const s=a.oxw();return a.KtG(s.activeDate=n)})("yearSelected",function(n){a.CHM(g);const s=a.oxw();return a.KtG(s._yearSelectedInMultiYearView(n))})("selectedChange",function(n){a.CHM(g);const s=a.oxw();return a.KtG(s._goToDateInView(n,"year"))}),a.qZA()}if(2&d){const g=a.oxw();a.Q6J("activeDate",g.activeDate)("selected",g.selected)("dateFilter",g.dateFilter)("maxDate",g.maxDate)("minDate",g.minDate)("dateClass",g.dateClass)}}function kt(d,x){}const Pt=["button"];function wt(d,x){1&d&&(a.O4$(),a.TgZ(0,"svg",3),a._UZ(1,"path",4),a.qZA())}const q=[[["","matDatepickerToggleIcon",""]]],_t=["[matDatepickerToggleIcon]"],X=[[["input","matStartDate",""]],[["input","matEndDate",""]]],b=["input[matStartDate]","input[matEndDate]"];function S(d,x){1&d&&(a.TgZ(0,"div",0),a.Hsn(1),a.qZA())}let O=(()=>{var d;class x{constructor(){this.changes=new N.x,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(e,n){return`${e} \u2013 ${n}`}formatYearRangeLabel(e,n){return`${e} to ${n}`}}return(d=x).\u0275fac=function(e){return new(e||d)},d.\u0275prov=a.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),x})();class L{constructor(x,g,e,n,s={},c=x,M){this.value=x,this.displayValue=g,this.ariaLabel=e,this.enabled=n,this.cssClasses=s,this.compareValue=c,this.rawValue=M}}let it=1;const ft=(0,at.i$)({passive:!1,capture:!0}),vt=(0,at.i$)({passive:!0,capture:!0}),j=(0,at.i$)({passive:!0});let nt=(()=>{var d;class x{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(e,n){this._elementRef=e,this._ngZone=n,this._platform=(0,a.f3M)(at.t4),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new a.vpe,this.previewChange=new a.vpe,this.activeDateChange=new a.vpe,this.dragStarted=new a.vpe,this.dragEnded=new a.vpe,this._didDragSinceMouseDown=!1,this._enterHandler=s=>{if(this._skipNextFocus&&"focus"===s.type)this._skipNextFocus=!1;else if(s.target&&this.isRange){const c=this._getCellFromElement(s.target);c&&this._ngZone.run(()=>this.previewChange.emit({value:c.enabled?c:null,event:s}))}},this._touchmoveHandler=s=>{if(!this.isRange)return;const c=Mt(s),M=c?this._getCellFromElement(c):null;c!==s.target&&(this._didDragSinceMouseDown=!0),v(s.target)&&s.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:M?.enabled?M:null,event:s}))},this._leaveHandler=s=>{null!==this.previewEnd&&this.isRange&&("blur"!==s.type&&(this._didDragSinceMouseDown=!0),s.target&&this._getCellFromElement(s.target)&&(!s.relatedTarget||!this._getCellFromElement(s.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:s})))},this._mousedownHandler=s=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const c=s.target&&this._getCellFromElement(s.target);!c||!this._isInRange(c.rawValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:c.rawValue,event:s})})},this._mouseupHandler=s=>{if(!this.isRange)return;const c=v(s.target);c?c.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const M=this._getCellFromElement(c);this.dragEnded.emit({value:M?.rawValue??null,event:s})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:s})})},this._touchendHandler=s=>{const c=Mt(s);c&&this._mouseupHandler({target:c})},this._id="mat-calendar-body-"+it++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,n.runOutsideAngular(()=>{const s=e.nativeElement;s.addEventListener("touchmove",this._touchmoveHandler,ft),s.addEventListener("mouseenter",this._enterHandler,vt),s.addEventListener("focus",this._enterHandler,vt),s.addEventListener("mouseleave",this._leaveHandler,vt),s.addEventListener("blur",this._leaveHandler,vt),s.addEventListener("mousedown",this._mousedownHandler,j),s.addEventListener("touchstart",this._mousedownHandler,j),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(e,n){this._didDragSinceMouseDown||e.enabled&&this.selectedValueChange.emit({value:e.value,event:n})}_emitActiveDateChange(e,n){e.enabled&&this.activeDateChange.emit({value:e.value,event:n})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){const n=e.numCols,{rows:s,numCols:c}=this;(e.rows||n)&&(this._firstRowOffset=s&&s.length&&s[0].length?c-s[0].length:0),(e.cellAspectRatio||n||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/c+"%"),(n||!this._cellWidth)&&(this._cellWidth=100/c+"%")}ngOnDestroy(){const e=this._elementRef.nativeElement;e.removeEventListener("touchmove",this._touchmoveHandler,ft),e.removeEventListener("mouseenter",this._enterHandler,vt),e.removeEventListener("focus",this._enterHandler,vt),e.removeEventListener("mouseleave",this._leaveHandler,vt),e.removeEventListener("blur",this._leaveHandler,vt),e.removeEventListener("mousedown",this._mousedownHandler,j),e.removeEventListener("touchstart",this._mousedownHandler,j),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(e,n){let s=e*this.numCols+n;return e&&(s-=this._firstRowOffset),s==this.activeCell}_focusActiveCell(e=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,st.q)(1)).subscribe(()=>{setTimeout(()=>{const n=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");n&&(e||(this._skipNextFocus=!0),n.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return I(e,this.startValue,this.endValue)}_isRangeEnd(e){return B(e,this.startValue,this.endValue)}_isInRange(e){return ct(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return I(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,n,s){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let c=this.rows[n][s-1];if(!c){const M=this.rows[n-1];c=M&&M[M.length-1]}return c&&!this._isRangeEnd(c.compareValue)}_isComparisonBridgeEnd(e,n,s){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let c=this.rows[n][s+1];if(!c){const M=this.rows[n+1];c=M&&M[0]}return c&&!this._isRangeStart(c.compareValue)}_isComparisonEnd(e){return B(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return ct(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return I(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return B(e,this.previewStart,this.previewEnd)}_isInPreview(e){return ct(e,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(e){return this.isRange?this.startValue===e&&this.endValue===e?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===e?this._startDateLabelId:this.endValue===e?this._endDateLabelId:null:null}_getCellFromElement(e){const n=v(e);if(n){const s=n.getAttribute("data-mat-row"),c=n.getAttribute("data-mat-col");if(s&&c)return this.rows[parseInt(s)][parseInt(c)]}return null}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(a.SBq),a.Y36(a.R0b))},d.\u0275cmp=a.Xpm({type:d,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[a.TTD],attrs:T,decls:6,vars:6,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],[1,"mat-calendar-body-hidden-label",3,"id"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(e,n){1&e&&(a.YNc(0,z,3,6,"tr",0),a.YNc(1,yt,3,2,"tr",1),a.TgZ(2,"label",2),a._uU(3),a.qZA(),a.TgZ(4,"label",2),a._uU(5),a.qZA()),2&e&&(a.Q6J("ngIf",n._firstRowOffset<n.labelMinRequiredCells),a.xp6(1),a.Q6J("ngForOf",n.rows),a.xp6(1),a.Q6J("id",n._startDateLabelId),a.xp6(1),a.hij(" ",n.startDateAccessibleName,"\n"),a.xp6(1),a.Q6J("id",n._endDateLabelId),a.xp6(1),a.hij(" ",n.endDateAccessibleName,"\n"))},dependencies:[_.mk,_.sg,_.O5],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-outline-color)}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%;font-size:var(--mat-datepicker-calendar-body-label-text-size);font-weight:var(--mat-datepicker-calendar-body-label-text-weight);color:var(--mat-datepicker-calendar-body-label-text-color)}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;display:block;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview{color:var(--mat-datepicker-calendar-date-preview-state-outline-color)}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color)}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color);border-color:var(--mat-datepicker-calendar-date-outline-color)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color)}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color)}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color);color:var(--mat-datepicker-calendar-date-selected-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color)}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color)}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color)}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color)}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}'],encapsulation:2,changeDetection:0}),x})();function lt(d){return"TD"===d?.nodeName}function v(d){let x;return lt(d)?x=d:lt(d.parentNode)?x=d.parentNode:lt(d.parentNode?.parentNode)&&(x=d.parentNode.parentNode),null!=x?.getAttribute("data-mat-row")?x:null}function I(d,x,g){return null!==g&&x!==g&&d<g&&d===x}function B(d,x,g){return null!==x&&x!==g&&d>=x&&d===g}function ct(d,x,g,e){return e&&null!==x&&null!==g&&x!==g&&d>=x&&d<=g}function Mt(d){const x=d.changedTouches[0];return document.elementFromPoint(x.clientX,x.clientY)}class ${constructor(x,g){this.start=x,this.end=g}}let Ct=(()=>{var d;class x{constructor(e,n){this.selection=e,this._adapter=n,this._selectionChanged=new N.x,this.selectionChanged=this._selectionChanged,this.selection=e}updateSelection(e,n){const s=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:n,oldValue:s})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}}return(d=x).\u0275fac=function(e){a.$Z()},d.\u0275prov=a.Yz7({token:d,factory:d.\u0275fac}),x})(),Xt=(()=>{var d;class x extends Ct{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const e=new x(this._adapter);return e.updateSelection(this.selection,this),e}}return(d=x).\u0275fac=function(e){return new(e||d)(a.LFG(J._A))},d.\u0275prov=a.Yz7({token:d,factory:d.\u0275fac}),x})(),Ht=(()=>{var d;class x extends Ct{constructor(e){super(new $(null,null),e)}add(e){let{start:n,end:s}=this.selection;null==n?n=e:null==s?s=e:(n=e,s=null),super.updateSelection(new $(n,s),this)}isValid(){const{start:e,end:n}=this.selection;return null==e&&null==n||(null!=e&&null!=n?this._isValidDateInstance(e)&&this._isValidDateInstance(n)&&this._adapter.compareDate(e,n)<=0:(null==e||this._isValidDateInstance(e))&&(null==n||this._isValidDateInstance(n)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}clone(){const e=new x(this._adapter);return e.updateSelection(this.selection,this),e}}return(d=x).\u0275fac=function(e){return new(e||d)(a.LFG(J._A))},d.\u0275prov=a.Yz7({token:d,factory:d.\u0275fac}),x})();const Kt={provide:Ct,deps:[[new a.FiY,new a.tp0,Ct],J._A],useFactory:function qt(d,x){return d||new Xt(x)}},se={provide:Ct,deps:[[new a.FiY,new a.tp0,Ct],J._A],useFactory:function Tt(d,x){return d||new Ht(x)}},ee=new a.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let D=(()=>{var d;class x{constructor(e){this._dateAdapter=e}selectionFinished(e,n){let{start:s,end:c}=n;return null==s?s=e:null==c&&e&&this._dateAdapter.compareDate(e,s)>=0?c=e:(s=e,c=null),new $(s,c)}createPreview(e,n){let s=null,c=null;return n.start&&!n.end&&e&&(s=n.start,c=e),new $(s,c)}createDrag(e,n,s){let c=n.start,M=n.end;if(!c||!M)return null;const et=this._dateAdapter,Wt=0!==et.compareDate(c,M),Qt=et.getYear(s)-et.getYear(e),le=et.getMonth(s)-et.getMonth(e),Jt=et.getDate(s)-et.getDate(e);return Wt&&et.sameDate(e,n.start)?(c=s,et.compareDate(s,M)>0&&(M=et.addCalendarYears(M,Qt),M=et.addCalendarMonths(M,le),M=et.addCalendarDays(M,Jt))):Wt&&et.sameDate(e,n.end)?(M=s,et.compareDate(s,c)<0&&(c=et.addCalendarYears(c,Qt),c=et.addCalendarMonths(c,le),c=et.addCalendarDays(c,Jt))):(c=et.addCalendarYears(c,Qt),c=et.addCalendarMonths(c,le),c=et.addCalendarDays(c,Jt),M=et.addCalendarYears(M,Qt),M=et.addCalendarMonths(M,le),M=et.addCalendarDays(M,Jt)),new $(c,M)}}return(d=x).\u0275fac=function(e){return new(e||d)(a.LFG(J._A))},d.\u0275prov=a.Yz7({token:d,factory:d.\u0275fac}),x})();const Y={provide:ee,deps:[[new a.FiY,new a.tp0,ee],J._A],useFactory:function U(d,x){return d||new D(x)}};let m=(()=>{var d;class x{get activeDate(){return this._activeDate}set activeDate(e){const n=this._activeDate,s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(s,this.minDate,this.maxDate),this._hasSameMonthAndYear(n,this._activeDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof $?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}constructor(e,n,s,c,M){this._changeDetectorRef=e,this._dateFormats=n,this._dateAdapter=s,this._dir=c,this._rangeStrategy=M,this._rerenderSubscription=W.w0.EMPTY,this.activeDrag=null,this.selectedChange=new a.vpe,this._userSelection=new a.vpe,this.dragStarted=new a.vpe,this.dragEnded=new a.vpe,this.activeDateChange=new a.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Rt.O)(null)).subscribe(()=>this._init())}ngOnChanges(e){const n=e.comparisonStart||e.comparisonEnd;n&&!n.firstChange&&this._setRanges(this.selected),e.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){const n=e.value,s=this._getDateFromDayOfMonth(n);let c,M;this._selected instanceof $?(c=this._getDateInCurrentMonth(this._selected.start),M=this._getDateInCurrentMonth(this._selected.end)):c=M=this._getDateInCurrentMonth(this._selected),(c!==n||M!==n)&&this.selectedChange.emit(s),this._userSelection.emit({value:s,event:e.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(e){const s=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(e.value),this._dateAdapter.compareDate(s,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(e){const n=this._activeDate,s=this._isRtl();switch(e.keyCode){case k.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,s?1:-1);break;case k.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,s?-1:1);break;case k.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case k.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case k.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case k.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case k.Ku:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case k.VM:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case k.K5:case k.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&e.preventDefault());case k.hY:return void(null!=this._previewEnd&&!(0,k.Vb)(e)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:e}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e})),e.preventDefault(),e.stopPropagation()));default:return}this._dateAdapter.compareDate(n,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===k.L_||e.keyCode===k.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:e,value:n}){if(this._rangeStrategy){const s=n?n.rawValue:null,c=this._rangeStrategy.createPreview(s,this.selected,e);if(this._previewStart=this._getCellCompareValue(c.start),this._previewEnd=this._getCellCompareValue(c.end),this.activeDrag&&s){const M=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,s,e);M&&(this._previewStart=this._getCellCompareValue(M.start),this._previewEnd=this._getCellCompareValue(M.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(e){if(this.activeDrag)if(e.value){const n=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,e.value,e.event);this.dragEnded.emit({value:n??null,event:e.event})}else this.dragEnded.emit({value:null,event:e.event})}_getDateFromDayOfMonth(e){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),e)}_initWeekdays(){const e=this._dateAdapter.getFirstDayOfWeek(),n=this._dateAdapter.getDayOfWeekNames("narrow");let c=this._dateAdapter.getDayOfWeekNames("long").map((M,et)=>({long:M,narrow:n[et]}));this._weekdays=c.slice(e).concat(c.slice(0,e))}_createWeekCells(){const e=this._dateAdapter.getNumDaysInMonth(this.activeDate),n=this._dateAdapter.getDateNames();this._weeks=[[]];for(let s=0,c=this._firstWeekOffset;s<e;s++,c++){7==c&&(this._weeks.push([]),c=0);const M=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),s+1),et=this._shouldEnableDate(M),Wt=this._dateAdapter.format(M,this._dateFormats.display.dateA11yLabel),Qt=this.dateClass?this.dateClass(M,"month"):void 0;this._weeks[this._weeks.length-1].push(new L(s+1,n[s],Wt,et,Qt,this._getCellCompareValue(M),M))}}_shouldEnableDate(e){return!!e&&(!this.minDate||this._dateAdapter.compareDate(e,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,n){return!(!e||!n||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(n)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(n))}_getCellCompareValue(e){if(e){const n=this._dateAdapter.getYear(e),s=this._dateAdapter.getMonth(e),c=this._dateAdapter.getDate(e);return new Date(n,s,c).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(e){e instanceof $?(this._rangeStart=this._getCellCompareValue(e.start),this._rangeEnd=this._getCellCompareValue(e.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(e),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(e){return!this.dateFilter||this.dateFilter(e)}_clearPreview(){this._previewStart=this._previewEnd=null}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(a.sBO),a.Y36(J.sG,8),a.Y36(J._A,8),a.Y36(ut.Is,8),a.Y36(ee,8))},d.\u0275cmp=a.Xpm({type:d,selectors:[["mat-month-view"]],viewQuery:function(e,n){if(1&e&&a.Gf(nt,5),2&e){let s;a.iGM(s=a.CRH())&&(n._matCalendarBody=s.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[a.TTD],decls:7,vars:15,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(e,n){1&e&&(a.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),a.YNc(3,Ot,5,2,"th",2),a.qZA(),a.TgZ(4,"tr"),a._UZ(5,"th",3),a.qZA()(),a.TgZ(6,"tbody",4),a.NdJ("selectedValueChange",function(c){return n._dateSelected(c)})("activeDateChange",function(c){return n._updateActiveDate(c)})("previewChange",function(c){return n._previewChanged(c)})("dragStarted",function(c){return n.dragStarted.emit(c)})("dragEnded",function(c){return n._dragEnded(c)})("keyup",function(c){return n._handleCalendarBodyKeyup(c)})("keydown",function(c){return n._handleCalendarBodyKeydown(c)}),a.qZA()()),2&e&&(a.xp6(3),a.Q6J("ngForOf",n._weekdays),a.xp6(3),a.Q6J("label",n._monthLabel)("rows",n._weeks)("todayValue",n._todayDate)("startValue",n._rangeStart)("endValue",n._rangeEnd)("comparisonStart",n._comparisonRangeStart)("comparisonEnd",n._comparisonRangeEnd)("previewStart",n._previewStart)("previewEnd",n._previewEnd)("isRange",n._isRange)("labelMinRequiredCells",3)("activeCell",n._dateAdapter.getDate(n.activeDate)-1)("startDateAccessibleName",n.startDateAccessibleName)("endDateAccessibleName",n.endDateAccessibleName))},dependencies:[_.sg,nt],encapsulation:2,changeDetection:0}),x})();const F=24;let zt=(()=>{var d;class x{get activeDate(){return this._activeDate}set activeDate(e){let n=this._activeDate;const s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(s,this.minDate,this.maxDate),jt(this._dateAdapter,n,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof $?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}constructor(e,n,s){this._changeDetectorRef=e,this._dateAdapter=n,this._dir=s,this._rerenderSubscription=W.w0.EMPTY,this.selectedChange=new a.vpe,this.yearSelected=new a.vpe,this.activeDateChange=new a.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Rt.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const n=this._dateAdapter.getYear(this._activeDate)-y(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let s=0,c=[];s<F;s++)c.push(n+s),4==c.length&&(this._years.push(c.map(M=>this._createCellForYear(M))),c=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){const n=e.value,s=this._dateAdapter.createDate(n,0,1),c=this._getDateFromYear(n);this.yearSelected.emit(s),this.selectedChange.emit(c)}_updateActiveDate(e){const s=this._activeDate;this.activeDate=this._getDateFromYear(e.value),this._dateAdapter.compareDate(s,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){const n=this._activeDate,s=this._isRtl();switch(e.keyCode){case k.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,s?1:-1);break;case k.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,s?-1:1);break;case k.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case k.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case k.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-y(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case k.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,F-y(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case k.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10*-F:-F);break;case k.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10*F:F);break;case k.K5:case k.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===k.L_||e.keyCode===k.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_getActiveCell(){return y(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(e){const n=this._dateAdapter.getMonth(this.activeDate),s=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,n,1));return this._dateAdapter.createDate(e,n,Math.min(this._dateAdapter.getDate(this.activeDate),s))}_createCellForYear(e){const n=this._dateAdapter.createDate(e,0,1),s=this._dateAdapter.getYearName(n),c=this.dateClass?this.dateClass(n,"multi-year"):void 0;return new L(e,s,s,this._shouldEnableYear(e),c)}_shouldEnableYear(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let s=this._dateAdapter.createDate(e,0,1);this._dateAdapter.getYear(s)==e;s=this._dateAdapter.addCalendarDays(s,1))if(this.dateFilter(s))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(e){if(this._selectedYear=null,e instanceof $){const n=e.start||e.end;n&&(this._selectedYear=this._dateAdapter.getYear(n))}else e&&(this._selectedYear=this._dateAdapter.getYear(e))}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(a.sBO),a.Y36(J._A,8),a.Y36(ut.Is,8))},d.\u0275cmp=a.Xpm({type:d,selectors:[["mat-multi-year-view"]],viewQuery:function(e,n){if(1&e&&a.Gf(nt,5),2&e){let s;a.iGM(s=a.CRH())&&(n._matCalendarBody=s.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(e,n){1&e&&(a.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),a._UZ(3,"th",2),a.qZA()(),a.TgZ(4,"tbody",3),a.NdJ("selectedValueChange",function(c){return n._yearSelected(c)})("activeDateChange",function(c){return n._updateActiveDate(c)})("keyup",function(c){return n._handleCalendarBodyKeyup(c)})("keydown",function(c){return n._handleCalendarBodyKeydown(c)}),a.qZA()()),2&e&&(a.xp6(4),a.Q6J("rows",n._years)("todayValue",n._todayYear)("startValue",n._selectedYear)("endValue",n._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",n._getActiveCell()))},dependencies:[nt],encapsulation:2,changeDetection:0}),x})();function jt(d,x,g,e,n){const s=d.getYear(x),c=d.getYear(g),M=V(d,e,n);return Math.floor((s-M)/F)===Math.floor((c-M)/F)}function y(d,x,g,e){return function R(d,x){return(d%x+x)%x}(d.getYear(x)-V(d,g,e),F)}function V(d,x,g){let e=0;return g?e=d.getYear(g)-F+1:x&&(e=d.getYear(x)),e}let C=(()=>{var d;class x{get activeDate(){return this._activeDate}set activeDate(e){let n=this._activeDate;const s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(s,this.minDate,this.maxDate),this._dateAdapter.getYear(n)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof $?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}constructor(e,n,s,c){this._changeDetectorRef=e,this._dateFormats=n,this._dateAdapter=s,this._dir=c,this._rerenderSubscription=W.w0.EMPTY,this.selectedChange=new a.vpe,this.monthSelected=new a.vpe,this.activeDateChange=new a.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Rt.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){const n=e.value,s=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),n,1);this.monthSelected.emit(s);const c=this._getDateFromMonth(n);this.selectedChange.emit(c)}_updateActiveDate(e){const s=this._activeDate;this.activeDate=this._getDateFromMonth(e.value),this._dateAdapter.compareDate(s,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){const n=this._activeDate,s=this._isRtl();switch(e.keyCode){case k.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,s?1:-1);break;case k.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,s?-1:1);break;case k.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case k.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case k.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case k.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case k.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case k.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case k.K5:case k.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===k.L_||e.keyCode===k.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(n=>n.map(s=>this._createCellForMonth(s,e[s]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_getDateFromMonth(e){const n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),s=this._dateAdapter.getNumDaysInMonth(n);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),s))}_createCellForMonth(e,n){const s=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),c=this._dateAdapter.format(s,this._dateFormats.display.monthYearA11yLabel),M=this.dateClass?this.dateClass(s,"year"):void 0;return new L(e,n.toLocaleUpperCase(),c,this._shouldEnableMonth(e),M)}_shouldEnableMonth(e){const n=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(n,e)||this._isYearAndMonthBeforeMinDate(n,e))return!1;if(!this.dateFilter)return!0;for(let c=this._dateAdapter.createDate(n,e,1);this._dateAdapter.getMonth(c)==e;c=this._dateAdapter.addCalendarDays(c,1))if(this.dateFilter(c))return!0;return!1}_isYearAndMonthAfterMaxDate(e,n){if(this.maxDate){const s=this._dateAdapter.getYear(this.maxDate),c=this._dateAdapter.getMonth(this.maxDate);return e>s||e===s&&n>c}return!1}_isYearAndMonthBeforeMinDate(e,n){if(this.minDate){const s=this._dateAdapter.getYear(this.minDate),c=this._dateAdapter.getMonth(this.minDate);return e<s||e===s&&n<c}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(e){this._selectedMonth=e instanceof $?this._getMonthInCurrentYear(e.start)||this._getMonthInCurrentYear(e.end):this._getMonthInCurrentYear(e)}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(a.sBO),a.Y36(J.sG,8),a.Y36(J._A,8),a.Y36(ut.Is,8))},d.\u0275cmp=a.Xpm({type:d,selectors:[["mat-year-view"]],viewQuery:function(e,n){if(1&e&&a.Gf(nt,5),2&e){let s;a.iGM(s=a.CRH())&&(n._matCalendarBody=s.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(e,n){1&e&&(a.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),a._UZ(3,"th",2),a.qZA()(),a.TgZ(4,"tbody",3),a.NdJ("selectedValueChange",function(c){return n._monthSelected(c)})("activeDateChange",function(c){return n._updateActiveDate(c)})("keyup",function(c){return n._handleCalendarBodyKeyup(c)})("keydown",function(c){return n._handleCalendarBodyKeydown(c)}),a.qZA()()),2&e&&(a.xp6(4),a.Q6J("label",n._yearLabel)("rows",n._months)("todayValue",n._todayMonth)("startValue",n._selectedMonth)("endValue",n._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",n._dateAdapter.getMonth(n.activeDate)))},dependencies:[nt],encapsulation:2,changeDetection:0}),x})(),w=1,tt=(()=>{var d;class x{constructor(e,n,s,c,M){this._intl=e,this.calendar=n,this._dateAdapter=s,this._dateFormats=c,this._id="mat-calendar-header-"+w++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>M.markForCheck())}get periodButtonText(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-F)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:F)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(e,n){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(n)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(n):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(n):jt(this._dateAdapter,e,n,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const n=this._dateAdapter.getYear(this.calendar.activeDate)-y(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),s=n+F-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(n,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(s,0,1))]}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(O),a.Y36((0,a.Gpc)(()=>mt)),a.Y36(J._A,8),a.Y36(J.sG,8),a.Y36(a.sBO))},d.\u0275cmp=a.Xpm({type:d,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:It,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"],[1,"mat-calendar-hidden-label",3,"id"]],template:function(e,n){1&e&&(a.F$t(),a.TgZ(0,"div",0)(1,"div",1)(2,"button",2),a.NdJ("click",function(){return n.currentPeriodClicked()}),a.TgZ(3,"span",3),a._uU(4),a.qZA(),a.O4$(),a.TgZ(5,"svg",4),a._UZ(6,"polygon",5),a.qZA()(),a.kcU(),a._UZ(7,"div",6),a.Hsn(8),a.TgZ(9,"button",7),a.NdJ("click",function(){return n.previousClicked()}),a.qZA(),a.TgZ(10,"button",8),a.NdJ("click",function(){return n.nextClicked()}),a.qZA()()(),a.TgZ(11,"label",9),a._uU(12),a.qZA()),2&e&&(a.xp6(2),a.uIk("aria-label",n.periodButtonLabel)("aria-describedby",n._periodButtonLabelId),a.xp6(2),a.Oqu(n.periodButtonText),a.xp6(1),a.ekj("mat-calendar-invert","month"!==n.calendar.currentView),a.xp6(4),a.Q6J("disabled",!n.previousEnabled()),a.uIk("aria-label",n.prevButtonLabel),a.xp6(1),a.Q6J("disabled",!n.nextEnabled()),a.uIk("aria-label",n.nextButtonLabel),a.xp6(1),a.Q6J("id",n._periodButtonLabelId),a.xp6(1),a.Oqu(n.periodButtonDescription))},dependencies:[Z.lW,Z.RK],encapsulation:2,changeDetection:0}),x})(),mt=(()=>{var d;class x{get startAt(){return this._startAt}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get selected(){return this._selected}set selected(e){this._selected=e instanceof $?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(e){const n=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),n&&this.viewChanged.emit(n)}constructor(e,n,s,c){this._dateAdapter=n,this._dateFormats=s,this._changeDetectorRef=c,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new a.vpe,this.yearSelected=new a.vpe,this.monthSelected=new a.vpe,this.viewChanged=new a.vpe(!0),this._userSelection=new a.vpe,this._userDragDrop=new a.vpe,this._activeDrag=null,this.stateChanges=new N.x,this._intlChanges=e.changes.subscribe(()=>{c.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new P.C5(this.headerComponent||tt),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){const n=e.minDate&&!this._dateAdapter.sameDate(e.minDate.previousValue,e.minDate.currentValue)?e.minDate:void 0,s=e.maxDate&&!this._dateAdapter.sameDate(e.maxDate.previousValue,e.maxDate.currentValue)?e.maxDate:void 0,c=n||s||e.dateFilter;if(c&&!c.firstChange){const M=this._getCurrentViewComponent();M&&(this._changeDetectorRef.detectChanges(),M._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(e){const n=e.value;(this.selected instanceof $||n&&!this._dateAdapter.sameDate(n,this.selected))&&this.selectedChange.emit(n),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,n){this.activeDate=e,this.currentView=n}_dragStarted(e){this._activeDrag=e}_dragEnded(e){this._activeDrag&&(e.value&&this._userDragDrop.emit(e),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(O),a.Y36(J._A,8),a.Y36(J.sG,8),a.Y36(a.sBO))},d.\u0275cmp=a.Xpm({type:d,selectors:[["mat-calendar"]],viewQuery:function(e,n){if(1&e&&(a.Gf(m,5),a.Gf(C,5),a.Gf(zt,5)),2&e){let s;a.iGM(s=a.CRH())&&(n.monthView=s.first),a.iGM(s=a.CRH())&&(n.yearView=s.first),a.iGM(s=a.CRH())&&(n.multiYearView=s.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[a._Bn([Kt]),a.TTD],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(e,n){1&e&&(a.YNc(0,Nt,0,0,"ng-template",0),a.TgZ(1,"div",1),a.YNc(2,Bt,1,11,"mat-month-view",2),a.YNc(3,Vt,1,6,"mat-year-view",3),a.YNc(4,Ft,1,6,"mat-multi-year-view",4),a.qZA()),2&e&&(a.Q6J("cdkPortalOutlet",n._calendarHeaderPortal),a.xp6(1),a.Q6J("ngSwitch",n.currentView),a.xp6(1),a.Q6J("ngSwitchCase","month"),a.xp6(1),a.Q6J("ngSwitchCase","year"),a.xp6(1),a.Q6J("ngSwitchCase","multi-year"))},dependencies:[_.RF,_.n9,t.kH,P.Pl,m,C,zt],styles:['.mat-calendar{display:block;font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size);font-weight:var(--mat-datepicker-calendar-period-button-text-weight)}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color)}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-datepicker-content .mat-calendar-previous-button,.mat-datepicker-content .mat-calendar-next-button{color:var(--mat-datepicker-calendar-navigation-button-icon-color)}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color);font-size:var(--mat-datepicker-calendar-header-text-size);font-weight:var(--mat-datepicker-calendar-header-text-weight)}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}.mat-calendar-hidden-label{display:none}'],encapsulation:2,changeDetection:0}),x})();const te={transformPanel:(0,dt.X$)("transformPanel",[(0,dt.eR)("void => enter-dropdown",(0,dt.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,dt.F4)([(0,dt.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,dt.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,dt.eR)("void => enter-dialog",(0,dt.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,dt.F4)([(0,dt.oB)({opacity:0,transform:"scale(0.7)"}),(0,dt.oB)({transform:"none",opacity:1})]))),(0,dt.eR)("* => void",(0,dt.jt)("100ms linear",(0,dt.oB)({opacity:0})))]),fadeInCalendar:(0,dt.X$)("fadeInCalendar",[(0,dt.SB)("void",(0,dt.oB)({opacity:0})),(0,dt.SB)("enter",(0,dt.oB)({opacity:1})),(0,dt.eR)("void => *",(0,dt.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let Zt=0;const ne=new a.OlP("mat-datepicker-scroll-strategy"),ce={provide:ne,deps:[l.aV],useFactory:function de(d){return()=>d.scrollStrategies.reposition()}},me=(0,J.pj)(class{constructor(d){this._elementRef=d}});let he=(()=>{var d;class x extends me{constructor(e,n,s,c,M,et){super(e),this._changeDetectorRef=n,this._globalModel=s,this._dateAdapter=c,this._rangeSelectionStrategy=M,this._subscriptions=new W.w0,this._animationDone=new N.x,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=et.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(e){const n=this._model.selection,s=e.value,c=n instanceof $;if(c&&this._rangeSelectionStrategy){const M=this._rangeSelectionStrategy.selectionFinished(s,n,e.event);this._model.updateSelection(M,this)}else s&&(c||!this._dateAdapter.sameDate(s,n))&&this._model.add(s);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(e){this._model.updateSelection(e.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(e){this._isAnimating="start"===e.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(e,n){this._model=e?this._globalModel.clone():this._globalModel,this._actionsPortal=e,n&&this._changeDetectorRef.detectChanges()}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(Ct),a.Y36(J._A),a.Y36(ee,8),a.Y36(O))},d.\u0275cmp=a.Xpm({type:d,selectors:[["mat-datepicker-content"]],viewQuery:function(e,n){if(1&e&&a.Gf(mt,5),2&e){let s;a.iGM(s=a.CRH())&&(n._calendar=s.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,n){1&e&&a.WFA("@transformPanel.start",function(c){return n._handleAnimationEvent(c)})("@transformPanel.done",function(c){return n._handleAnimationEvent(c)}),2&e&&(a.d8E("@transformPanel",n._animationState),a.ekj("mat-datepicker-content-touch",n.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[a.qOj],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(e,n){if(1&e&&(a.TgZ(0,"div",0)(1,"mat-calendar",1),a.NdJ("yearSelected",function(c){return n.datepicker._selectYear(c)})("monthSelected",function(c){return n.datepicker._selectMonth(c)})("viewChanged",function(c){return n.datepicker._viewChanged(c)})("_userSelection",function(c){return n._handleUserSelection(c)})("_userDragDrop",function(c){return n._handleUserDragDrop(c)}),a.qZA(),a.YNc(2,kt,0,0,"ng-template",2),a.TgZ(3,"button",3),a.NdJ("focus",function(){return n._closeButtonFocused=!0})("blur",function(){return n._closeButtonFocused=!1})("click",function(){return n.datepicker.close()}),a._uU(4),a.qZA()()),2&e){let s;a.ekj("mat-datepicker-content-container-with-custom-header",n.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",n._actionsPortal),a.uIk("aria-modal",!0)("aria-labelledby",null!==(s=n._dialogLabelId)&&void 0!==s?s:void 0),a.xp6(1),a.Q6J("id",n.datepicker.id)("ngClass",n.datepicker.panelClass)("startAt",n.datepicker.startAt)("startView",n.datepicker.startView)("minDate",n.datepicker._getMinDate())("maxDate",n.datepicker._getMaxDate())("dateFilter",n.datepicker._getDateFilter())("headerComponent",n.datepicker.calendarHeaderComponent)("selected",n._getSelected())("dateClass",n.datepicker.dateClass)("comparisonStart",n.comparisonStart)("comparisonEnd",n.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",n.startDateAccessibleName)("endDateAccessibleName",n.endDateAccessibleName),a.xp6(1),a.Q6J("cdkPortalOutlet",n._actionsPortal),a.xp6(1),a.ekj("cdk-visually-hidden",!n._closeButtonFocused),a.Q6J("color",n.color||"primary"),a.xp6(1),a.Oqu(n._closeButtonText)}},dependencies:[_.mk,Z.lW,t.mK,P.Pl,mt],styles:[".mat-datepicker-content{box-shadow: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);display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color);color:var(--mat-datepicker-calendar-container-text-color)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{box-shadow: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);display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[te.transformPanel,te.fadeInCalendar]},changeDetection:0}),x})(),ie=(()=>{var d;class x{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(e){this._color=e}get touchUi(){return this._touchUi}set touchUi(e){this._touchUi=(0,bt.Ig)(e)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){const n=(0,bt.Ig)(e);n!==this._disabled&&(this._disabled=n,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(e){this._restoreFocus=(0,bt.Ig)(e)}get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=(0,bt.du)(e)}get opened(){return this._opened}set opened(e){(0,bt.Ig)(e)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}constructor(e,n,s,c,M,et,Wt){this._overlay=e,this._ngZone=n,this._viewContainerRef=s,this._dateAdapter=M,this._dir=et,this._model=Wt,this._inputStateChanges=W.w0.EMPTY,this._document=(0,a.f3M)(_.K0),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new a.vpe,this.monthSelected=new a.vpe,this.viewChanged=new a.vpe(!0),this.openedStream=new a.vpe,this.closedStream=new a.vpe,this._opened=!1,this.id="mat-datepicker-"+Zt++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new N.x,this._scrollStrategy=c}ngOnChanges(e){const n=e.xPosition||e.yPosition;if(n&&!n.firstChange&&this._overlayRef){const s=this._overlayRef.getConfig().positionStrategy;s instanceof l._G&&(this._setConnectedPositions(s),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(e){this._model.add(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_viewChanged(e){this.viewChanged.emit(e)}registerInput(e){return this._inputStateChanges.unsubscribe(),this.datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(e){this._actionsPortal=e,this._componentRef?.instance._assignActions(e,!0)}removeActions(e){e===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,at.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const e=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,n=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:s,location:c}=this._componentRef;s._startExitAnimation(),s._animationDone.pipe((0,st.q)(1)).subscribe(()=>{const M=this._document.activeElement;e&&(!M||M===this._document.activeElement||c.nativeElement.contains(M))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}e?setTimeout(n):n()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(e){e.datepicker=this,e.color=this.color,e._dialogLabelId=this.datepickerInput.getOverlayLabelId(),e._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const e=this.touchUi,n=new P.C5(he,this._viewContainerRef),s=this._overlayRef=this._overlay.create(new l.X_({positionStrategy:e?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[e?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:e?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(e?"dialog":"popup")}));this._getCloseStream(s).subscribe(c=>{c&&c.preventDefault(),this.close()}),s.keydownEvents().subscribe(c=>{const M=c.keyCode;(M===k.LH||M===k.JH||M===k.oh||M===k.SV||M===k.Ku||M===k.VM)&&c.preventDefault()}),this._componentRef=s.attach(n),this._forwardContentValues(this._componentRef.instance),e||this._ngZone.onStable.pipe((0,st.q)(1)).subscribe(()=>s.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const e=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(e)}_setConnectedPositions(e){const n="end"===this.xPosition?"end":"start",s="start"===n?"end":"start",c="above"===this.yPosition?"bottom":"top",M="top"===c?"bottom":"top";return e.withPositions([{originX:n,originY:M,overlayX:n,overlayY:c},{originX:n,originY:c,overlayX:n,overlayY:M},{originX:s,originY:M,overlayX:s,overlayY:c},{originX:s,originY:c,overlayX:s,overlayY:M}])}_getCloseStream(e){const n=["ctrlKey","shiftKey","metaKey"];return(0,xt.T)(e.backdropClick(),e.detachments(),e.keydownEvents().pipe((0,Lt.h)(s=>s.keyCode===k.hY&&!(0,k.Vb)(s)||this.datepickerInput&&(0,k.Vb)(s,"altKey")&&s.keyCode===k.LH&&n.every(c=>!(0,k.Vb)(s,c)))))}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(l.aV),a.Y36(a.R0b),a.Y36(a.s_b),a.Y36(ne),a.Y36(J._A,8),a.Y36(ut.Is,8),a.Y36(Ct))},d.\u0275dir=a.lG2({type:d,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[a.TTD]}),x})(),p=(()=>{var d;class x extends ie{}return(d=x).\u0275fac=function(){let g;return function(n){return(g||(g=a.n5z(d)))(n||d)}}(),d.\u0275cmp=a.Xpm({type:d,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[a._Bn([Kt,{provide:ie,useExisting:d}]),a.qOj],decls:0,vars:0,template:function(e,n){},encapsulation:2,changeDetection:0}),x})();class u{constructor(x,g){this.target=x,this.targetElement=g,this.value=this.target.value}}let h=(()=>{var d;class x{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(e){this._assignValueProgrammatically(e)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(e){const n=(0,bt.Ig)(e),s=this._elementRef.nativeElement;this._disabled!==n&&(this._disabled=n,this.stateChanges.next(void 0)),n&&this._isInitialized&&s.blur&&s.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(e){this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(n=>{if(this._shouldHandleChangeEvent(n)){const s=this._getValueFromModel(n.selection);this._lastValueValid=this._isValidValue(s),this._cvaOnChange(s),this._onTouched(),this._formatValue(s),this.dateInput.emit(new u(this,this._elementRef.nativeElement)),this.dateChange.emit(new u(this,this._elementRef.nativeElement))}})}constructor(e,n,s){this._elementRef=e,this._dateAdapter=n,this._dateFormats=s,this.dateChange=new a.vpe,this.dateInput=new a.vpe,this.stateChanges=new N.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=W.w0.EMPTY,this._localeSubscription=W.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=c=>{const M=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(c.value));return!M||this._matchesFilter(M)?null:{matDatepickerFilter:!0}},this._minValidator=c=>{const M=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(c.value)),et=this._getMinDate();return!et||!M||this._dateAdapter.compareDate(et,M)<=0?null:{matDatepickerMin:{min:et,actual:M}}},this._maxValidator=c=>{const M=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(c.value)),et=this._getMaxDate();return!et||!M||this._dateAdapter.compareDate(et,M)>=0?null:{matDatepickerMax:{max:et,actual:M}}},this._lastValueValid=!1,this._localeSubscription=n.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){o(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}writeValue(e){this._assignValueProgrammatically(e)}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){(0,k.Vb)(e,"altKey")&&e.keyCode===k.JH&&["ctrlKey","shiftKey","metaKey"].every(c=>!(0,k.Vb)(e,c))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){const n=this._lastValueValid;let s=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(s),s=this._dateAdapter.getValidDateOrNull(s);const c=!this._dateAdapter.sameDate(s,this.value);!s||c?this._cvaOnChange(s):(e&&!this.value&&this._cvaOnChange(s),n!==this._lastValueValid&&this._validatorOnChange()),c&&(this._assignValue(s),this.dateInput.emit(new u(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new u(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=null!=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_assignValue(e){this._model?(this._assignValueToModel(e),this._pendingValue=null):this._pendingValue=e}_isValidValue(e){return!e||this._dateAdapter.isValid(e)}_parentDisabled(){return!1}_assignValueProgrammatically(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=this._isValidValue(e),e=this._dateAdapter.getValidDateOrNull(e),this._assignValue(e),this._formatValue(e)}_matchesFilter(e){const n=this._getDateFilter();return!n||n(e)}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(a.SBq),a.Y36(J._A,8),a.Y36(J.sG,8))},d.\u0275dir=a.lG2({type:d,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[a.TTD]}),x})();function o(d,x){const g=Object.keys(d);for(let e of g){const{previousValue:n,currentValue:s}=d[e];if(!x.isDateInstance(n)||!x.isDateInstance(s))return!0;if(!x.sameDate(n,s))return!0}return!1}const f={provide:H.JU,useExisting:(0,a.Gpc)(()=>E),multi:!0},A={provide:H.Cf,useExisting:(0,a.Gpc)(()=>E),multi:!0};let E=(()=>{var d;class x extends h{set matDatepicker(e){e&&(this._datepicker=e,this._closedSubscription=e.closedStream.subscribe(()=>this._onTouched()),this._registerModel(e.registerInput(this)))}get min(){return this._min}set min(e){const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(n,this._min)||(this._min=n,this._validatorOnChange())}get max(){return this._max}set max(e){const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(n,this._max)||(this._max=n,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(e){const n=this._matchesFilter(this.value);this._dateFilter=e,this._matchesFilter(this.value)!==n&&this._validatorOnChange()}constructor(e,n,s,c){super(e,n,s),this._formField=c,this._closedSubscription=W.w0.EMPTY,this._validator=H.kI.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(e){return e}_assignValueToModel(e){this._model&&this._model.updateSelection(e,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(e){return e.source!==this}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(a.SBq),a.Y36(J._A,8),a.Y36(J.sG,8),a.Y36(rt.G_,8))},d.\u0275dir=a.lG2({type:d,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(e,n){1&e&&a.NdJ("input",function(c){return n._onInput(c.target.value)})("change",function(){return n._onChange()})("blur",function(){return n._onBlur()})("keydown",function(c){return n._onKeydown(c)}),2&e&&(a.Ikx("disabled",n.disabled),a.uIk("aria-haspopup",n._datepicker?"dialog":null)("aria-owns",(null==n._datepicker?null:n._datepicker.opened)&&n._datepicker.id||null)("min",n.min?n._dateAdapter.toIso8601(n.min):null)("max",n.max?n._dateAdapter.toIso8601(n.max):null)("data-mat-calendar",n._datepicker?n._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[a._Bn([f,A,{provide:pt.Jk,useExisting:d}]),a.qOj]}),x})(),Q=(()=>{var d;class x{}return(d=x).\u0275fac=function(e){return new(e||d)},d.\u0275dir=a.lG2({type:d,selectors:[["","matDatepickerToggleIcon",""]]}),x})(),Dt=(()=>{var d;class x{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=(0,bt.Ig)(e)}constructor(e,n,s){this._intl=e,this._changeDetectorRef=n,this._stateChanges=W.w0.EMPTY;const c=Number(s);this.tabIndex=c||0===c?c:null}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){const e=this.datepicker?this.datepicker.stateChanges:(0,ot.of)(),n=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,ot.of)(),s=this.datepicker?(0,xt.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,ot.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,xt.T)(this._intl.changes,e,n,s).subscribe(()=>this._changeDetectorRef.markForCheck())}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(O),a.Y36(a.sBO),a.$8M("tabindex"))},d.\u0275cmp=a.Xpm({type:d,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,n,s){if(1&e&&a.Suo(s,Q,5),2&e){let c;a.iGM(c=a.CRH())&&(n._customIcon=c.first)}},viewQuery:function(e,n){if(1&e&&a.Gf(Pt,5),2&e){let s;a.iGM(s=a.CRH())&&(n._button=s.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(e,n){1&e&&a.NdJ("click",function(c){return n._open(c)}),2&e&&(a.uIk("tabindex",null)("data-mat-calendar",n.datepicker?n.datepicker.id:null),a.ekj("mat-datepicker-toggle-active",n.datepicker&&n.datepicker.opened)("mat-accent",n.datepicker&&"accent"===n.datepicker.color)("mat-warn",n.datepicker&&"warn"===n.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[a.TTD],ngContentSelectors:_t,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(e,n){1&e&&(a.F$t(q),a.TgZ(0,"button",0,1),a.YNc(2,wt,2,0,"svg",2),a.Hsn(3),a.qZA()),2&e&&(a.Q6J("disabled",n.disabled)("disableRipple",n.disableRipple),a.uIk("aria-haspopup",n.datepicker?"dialog":null)("aria-label",n.ariaLabel||n._intl.openCalendarLabel)("tabindex",n.disabled?-1:n.tabIndex),a.xp6(2),a.Q6J("ngIf",!n._customIcon))},dependencies:[_.O5,Z.RK],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color)}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color)}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0}),x})();function Ut(d){return Gt(d,!0)}function St(d){return d.nodeType===Node.ELEMENT_NODE}function Gt(d,x){if(St(d)&&x){const e=(d.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((n,s)=>{const c=document.getElementById(s);return c&&n.push(c),n},[]);if(e.length)return e.map(n=>Gt(n,!1)).join(" ")}if(St(d)){const g=d.getAttribute("aria-label")?.trim();if(g)return g}if(function Yt(d){return"INPUT"===d.nodeName}(d)||function oe(d){return"TEXTAREA"===d.nodeName}(d)){if(d.labels?.length)return Array.from(d.labels).map(n=>Gt(n,!1)).join(" ");const g=d.getAttribute("placeholder")?.trim();if(g)return g;const e=d.getAttribute("title")?.trim();if(e)return e}return(d.textContent||"").replace(/\s+/g," ").trim()}const ae=new a.OlP("MAT_DATE_RANGE_INPUT_PARENT"),ue=(0,J.FD)((()=>{var d;class x extends h{constructor(e,n,s,c,M,et,Wt,Qt){super(n,Wt,Qt),this._rangeInput=e,this._elementRef=n,this._defaultErrorStateMatcher=s,this._injector=c,this._parentForm=M,this._parentFormGroup=et,this._dir=(0,a.f3M)(ut.Is,{optional:!0})}ngOnInit(){const e=this._injector.get(H.a5,null,{optional:!0,self:!0});e&&(this.ngControl=e)}ngDoCheck(){this.ngControl&&this.updateErrorState()}isEmpty(){return 0===this._elementRef.nativeElement.value.length}_getPlaceholder(){return this._elementRef.nativeElement.placeholder}focus(){this._elementRef.nativeElement.focus()}getMirrorValue(){const e=this._elementRef.nativeElement,n=e.value;return n.length>0?n:e.placeholder}_onInput(e){super._onInput(e),this._rangeInput._handleChildValueChange()}_openPopup(){this._rangeInput._openDatepicker()}_getMinDate(){return this._rangeInput.min}_getMaxDate(){return this._rangeInput.max}_getDateFilter(){return this._rangeInput.dateFilter}_parentDisabled(){return this._rangeInput._groupDisabled}_shouldHandleChangeEvent({source:e}){return e!==this._rangeInput._startInput&&e!==this._rangeInput._endInput}_assignValueProgrammatically(e){super._assignValueProgrammatically(e),(this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)?._validatorOnChange()}_getAccessibleName(){return Ut(this._elementRef.nativeElement)}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(ae),a.Y36(a.SBq),a.Y36(J.rD),a.Y36(a.zs3),a.Y36(H.F,8),a.Y36(H.sg,8),a.Y36(J._A,8),a.Y36(J.sG,8))},d.\u0275dir=a.lG2({type:d,features:[a.qOj]}),x})());let pe=(()=>{var d;class x extends ue{constructor(e,n,s,c,M,et,Wt,Qt){super(e,n,s,c,M,et,Wt,Qt),this._startValidator=le=>{const Jt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(le.value)),re=this._model?this._model.selection.end:null;return!Jt||!re||this._dateAdapter.compareDate(Jt,re)<=0?null:{matStartDateInvalid:{end:re,actual:Jt}}},this._validator=H.kI.compose([...super._getValidators(),this._startValidator])}_getValueFromModel(e){return e.start}_shouldHandleChangeEvent(e){return!(!super._shouldHandleChangeEvent(e)||(e.oldValue?.start?e.selection.start&&!this._dateAdapter.compareDate(e.oldValue.start,e.selection.start):!e.selection.start))}_assignValueToModel(e){if(this._model){const n=new $(e,this._model.selection.end);this._model.updateSelection(n,this)}}_formatValue(e){super._formatValue(e),this._rangeInput._handleChildValueChange()}_onKeydown(e){const n=this._rangeInput._endInput,s=this._elementRef.nativeElement,c="rtl"!==this._dir?.value;(e.keyCode===k.SV&&c||e.keyCode===k.oh&&!c)&&s.selectionStart===s.value.length&&s.selectionEnd===s.value.length?(e.preventDefault(),n._elementRef.nativeElement.setSelectionRange(0,0),n.focus()):super._onKeydown(e)}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(ae),a.Y36(a.SBq),a.Y36(J.rD),a.Y36(a.zs3),a.Y36(H.F,8),a.Y36(H.sg,8),a.Y36(J._A,8),a.Y36(J.sG,8))},d.\u0275dir=a.lG2({type:d,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(e,n){1&e&&a.NdJ("input",function(c){return n._onInput(c.target.value)})("change",function(){return n._onChange()})("keydown",function(c){return n._onKeydown(c)})("blur",function(){return n._onBlur()}),2&e&&(a.Ikx("disabled",n.disabled),a.uIk("aria-haspopup",n._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==n._rangeInput.rangePicker?null:n._rangeInput.rangePicker.opened)&&n._rangeInput.rangePicker.id||null)("min",n._getMinDate()?n._dateAdapter.toIso8601(n._getMinDate()):null)("max",n._getMaxDate()?n._dateAdapter.toIso8601(n._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[a._Bn([{provide:H.JU,useExisting:d,multi:!0},{provide:H.Cf,useExisting:d,multi:!0}]),a.qOj]}),x})(),fe=(()=>{var d;class x extends ue{constructor(e,n,s,c,M,et,Wt,Qt){super(e,n,s,c,M,et,Wt,Qt),this._endValidator=le=>{const Jt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(le.value)),re=this._model?this._model.selection.start:null;return!Jt||!re||this._dateAdapter.compareDate(Jt,re)>=0?null:{matEndDateInvalid:{start:re,actual:Jt}}},this._validator=H.kI.compose([...super._getValidators(),this._endValidator])}_getValueFromModel(e){return e.end}_shouldHandleChangeEvent(e){return!(!super._shouldHandleChangeEvent(e)||(e.oldValue?.end?e.selection.end&&!this._dateAdapter.compareDate(e.oldValue.end,e.selection.end):!e.selection.end))}_assignValueToModel(e){if(this._model){const n=new $(this._model.selection.start,e);this._model.updateSelection(n,this)}}_onKeydown(e){const n=this._rangeInput._startInput,s=this._elementRef.nativeElement,c="rtl"!==this._dir?.value;if(e.keyCode!==k.ZH||s.value)if((e.keyCode===k.oh&&c||e.keyCode===k.SV&&!c)&&0===s.selectionStart&&0===s.selectionEnd){e.preventDefault();const M=n._elementRef.nativeElement.value.length;n._elementRef.nativeElement.setSelectionRange(M,M),n.focus()}else super._onKeydown(e);else n.focus()}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(ae),a.Y36(a.SBq),a.Y36(J.rD),a.Y36(a.zs3),a.Y36(H.F,8),a.Y36(H.sg,8),a.Y36(J._A,8),a.Y36(J.sG,8))},d.\u0275dir=a.lG2({type:d,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(e,n){1&e&&a.NdJ("input",function(c){return n._onInput(c.target.value)})("change",function(){return n._onChange()})("keydown",function(c){return n._onKeydown(c)})("blur",function(){return n._onBlur()}),2&e&&(a.Ikx("disabled",n.disabled),a.uIk("aria-haspopup",n._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==n._rangeInput.rangePicker?null:n._rangeInput.rangePicker.opened)&&n._rangeInput.rangePicker.id||null)("min",n._getMinDate()?n._dateAdapter.toIso8601(n._getMinDate()):null)("max",n._getMaxDate()?n._dateAdapter.toIso8601(n._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[a._Bn([{provide:H.JU,useExisting:d,multi:!0},{provide:H.Cf,useExisting:d,multi:!0}]),a.qOj]}),x})(),_e=0,be=(()=>{var d;class x{get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){const e=this._startInput?._getPlaceholder()||"",n=this._endInput?._getPlaceholder()||"";return e||n?`${e} ${this.separator} ${n}`:""}get rangePicker(){return this._rangePicker}set rangePicker(e){e&&(this._model=e.registerInput(this),this._rangePicker=e,this._closedSubscription.unsubscribe(),this._closedSubscription=e.closedStream.subscribe(()=>{this._startInput?._onTouched(),this._endInput?._onTouched()}),this._registerModel(this._model))}get required(){return this._required??(this._isTargetRequired(this)||this._isTargetRequired(this._startInput)||this._isTargetRequired(this._endInput))??!1}set required(e){this._required=(0,bt.Ig)(e)}get dateFilter(){return this._dateFilter}set dateFilter(e){const n=this._startInput,s=this._endInput,c=n&&n._matchesFilter(n.value),M=s&&s._matchesFilter(n.value);this._dateFilter=e,n&&n._matchesFilter(n.value)!==c&&n._validatorOnChange(),s&&s._matchesFilter(s.value)!==M&&s._validatorOnChange()}get min(){return this._min}set min(e){const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(n,this._min)||(this._min=n,this._revalidate())}get max(){return this._max}set max(e){const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(n,this._max)||(this._max=n,this._revalidate())}get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(e){const n=(0,bt.Ig)(e);n!==this._groupDisabled&&(this._groupDisabled=n,this.stateChanges.next(void 0))}get errorState(){return!(!this._startInput||!this._endInput)&&(this._startInput.errorState||this._endInput.errorState)}get empty(){const e=!!this._startInput&&this._startInput.isEmpty(),n=!!this._endInput&&this._endInput.isEmpty();return e&&n}constructor(e,n,s,c,M){this._changeDetectorRef=e,this._elementRef=n,this._dateAdapter=c,this._formField=M,this._closedSubscription=W.w0.EMPTY,this.id="mat-date-range-input-"+_e++,this.focused=!1,this.controlType="mat-date-range-input",this._groupDisabled=!1,this._ariaDescribedBy=null,this.separator="\u2013",this.comparisonStart=null,this.comparisonEnd=null,this.stateChanges=new N.x,M?._elementRef.nativeElement.classList.contains("mat-mdc-form-field")&&n.nativeElement.classList.add("mat-mdc-input-element","mat-mdc-form-field-input-control","mdc-text-field__input"),this.ngControl=s}setDescribedByIds(e){this._ariaDescribedBy=e.length?e.join(" "):null}onContainerClick(){!this.focused&&!this.disabled&&(this._model&&this._model.selection.start?this._endInput.focus():this._startInput.focus())}ngAfterContentInit(){this._model&&this._registerModel(this._model),(0,xt.T)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(e){o(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._closedSubscription.unsubscribe(),this.stateChanges.complete()}getStartValue(){return this.value?this.value.start:null}getThemePalette(){return this._formField?this._formField.color:void 0}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():null}_getInputMirrorValue(e){const n="start"===e?this._startInput:this._endInput;return n?n.getMirrorValue():""}_shouldHidePlaceholders(){return!!this._startInput&&!this._startInput.isEmpty()}_handleChildValueChange(){this.stateChanges.next(void 0),this._changeDetectorRef.markForCheck()}_openDatepicker(){this._rangePicker&&this._rangePicker.open()}_shouldHideSeparator(){return(!this._formField||this._formField.getLabelId()&&!this._formField._shouldLabelFloat())&&this.empty}_getAriaLabelledby(){const e=this._formField;return e&&e._hasFloatingLabel()?e._labelId:null}_getStartDateAccessibleName(){return this._startInput._getAccessibleName()}_getEndDateAccessibleName(){return this._endInput._getAccessibleName()}_updateFocus(e){this.focused=null!==e,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(e){this._startInput&&this._startInput._registerModel(e),this._endInput&&this._endInput._registerModel(e)}_isTargetRequired(e){return e?.ngControl?.control?.hasValidator(H.kI.required)}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(a.sBO),a.Y36(a.SBq),a.Y36(H.gN,10),a.Y36(J._A,8),a.Y36(rt.G_,8))},d.\u0275cmp=a.Xpm({type:d,selectors:[["mat-date-range-input"]],contentQueries:function(e,n,s){if(1&e&&(a.Suo(s,pe,5),a.Suo(s,fe,5)),2&e){let c;a.iGM(c=a.CRH())&&(n._startInput=c.first),a.iGM(c=a.CRH())&&(n._endInput=c.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(e,n){2&e&&(a.uIk("id",n.id)("aria-labelledby",n._getAriaLabelledby())("aria-describedby",n._ariaDescribedBy)("data-mat-calendar",n.rangePicker?n.rangePicker.id:null),a.ekj("mat-date-range-input-hide-placeholders",n._shouldHidePlaceholders())("mat-date-range-input-required",n.required))},inputs:{rangePicker:"rangePicker",required:"required",dateFilter:"dateFilter",min:"min",max:"max",disabled:"disabled",separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],features:[a._Bn([{provide:rt.Eo,useExisting:d},{provide:ae,useExisting:d}]),a.TTD],ngContentSelectors:b,decls:11,vars:5,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-wrapper","mat-date-range-input-end-wrapper"]],template:function(e,n){1&e&&(a.F$t(X),a.TgZ(0,"div",0),a.NdJ("cdkFocusChange",function(c){return n._updateFocus(c)}),a.TgZ(1,"div",1),a.Hsn(2),a.TgZ(3,"span",2),a._uU(4),a.qZA()(),a.TgZ(5,"span",3),a._uU(6),a.qZA(),a.TgZ(7,"div",4),a.Hsn(8,1),a.TgZ(9,"span",2),a._uU(10),a.qZA()()()),2&e&&(a.xp6(4),a.Oqu(n._getInputMirrorValue("start")),a.xp6(1),a.ekj("mat-date-range-input-separator-hidden",n._shouldHideSeparator()),a.xp6(1),a.Oqu(n.separator),a.xp6(4),a.Oqu(n._getInputMirrorValue("end")))},dependencies:[t.kH],styles:[".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px;color:var(--mat-datepicker-range-input-separator-color)}.mat-form-field-disabled .mat-date-range-input-separator{color:var(--mat-datepicker-range-input-disabled-state-separator-color)}._mat-animation-noopable .mat-date-range-input-separator{transition:none}.mat-date-range-input-separator-hidden{-webkit-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-end-wrapper{flex-grow:1}.mat-date-range-input-inner{position:absolute;top:0;left:0;font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%;height:100%}.mat-date-range-input-inner:-moz-ui-invalid{box-shadow:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner[disabled]{color:var(--mat-datepicker-range-input-disabled-state-text-color)}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-date-range-input-inner::placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-moz-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner:-ms-input-placeholder{transition:none}.mat-date-range-input-mirror{-webkit-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-mdc-form-field-type-mat-date-range-input .mat-mdc-form-field-infix{width:200px}"],encapsulation:2,changeDetection:0}),x})(),ve=(()=>{var d;class x extends ie{_forwardContentValues(e){super._forwardContentValues(e);const n=this.datepickerInput;n&&(e.comparisonStart=n.comparisonStart,e.comparisonEnd=n.comparisonEnd,e.startDateAccessibleName=n._getStartDateAccessibleName(),e.endDateAccessibleName=n._getEndDateAccessibleName())}}return(d=x).\u0275fac=function(){let g;return function(n){return(g||(g=a.n5z(d)))(n||d)}}(),d.\u0275cmp=a.Xpm({type:d,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[a._Bn([se,Y,{provide:ie,useExisting:d}]),a.qOj],decls:0,vars:0,template:function(e,n){},encapsulation:2,changeDetection:0}),x})(),xe=(()=>{var d;class x{constructor(e){this._datepicker=e}_applySelection(){this._datepicker._applyPendingSelection(),this._datepicker.close()}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(ie))},d.\u0275dir=a.lG2({type:d,selectors:[["","matDatepickerApply",""],["","matDateRangePickerApply",""]],hostBindings:function(e,n){1&e&&a.NdJ("click",function(){return n._applySelection()})}}),x})(),ye=(()=>{var d;class x{constructor(e){this._datepicker=e}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(ie))},d.\u0275dir=a.lG2({type:d,selectors:[["","matDatepickerCancel",""],["","matDateRangePickerCancel",""]],hostBindings:function(e,n){1&e&&a.NdJ("click",function(){return n._datepicker.close()})}}),x})(),Ce=(()=>{var d;class x{constructor(e,n){this._datepicker=e,this._viewContainerRef=n}ngAfterViewInit(){this._portal=new P.UE(this._template,this._viewContainerRef),this._datepicker.registerActions(this._portal)}ngOnDestroy(){this._datepicker.removeActions(this._portal),this._portal&&this._portal.isAttached&&this._portal?.detach()}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(ie),a.Y36(a.s_b))},d.\u0275cmp=a.Xpm({type:d,selectors:[["mat-datepicker-actions"],["mat-date-range-picker-actions"]],viewQuery:function(e,n){if(1&e&&a.Gf(a.Rgc,5),2&e){let s;a.iGM(s=a.CRH())&&(n._template=s.first)}},ngContentSelectors:It,decls:1,vars:0,consts:[[1,"mat-datepicker-actions"]],template:function(e,n){1&e&&(a.F$t(),a.YNc(0,S,2,0,"ng-template"))},styles:[".mat-datepicker-actions{display:flex;justify-content:flex-end;align-items:center;padding:0 8px 8px 8px}.mat-datepicker-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),x})(),De=(()=>{var d;class x{}return(d=x).\u0275fac=function(e){return new(e||d)},d.\u0275mod=a.oAB({type:d}),d.\u0275inj=a.cJS({providers:[O,ce],imports:[_.ez,Z.ot,l.U8,t.rt,P.eL,J.BQ,ht.ZD]}),x})()},64170:($t,At,i)=>{i.d(At,{G_:()=>D,TO:()=>ft,KE:()=>zt,Eo:()=>Kt,lN:()=>jt,hX:()=>O,R9:()=>I});var t=i(65879),l=i(49388),P=i(62831),_=i(47394),a=i(78645),Z=i(63019),ht=i(59773),J=i(65592),N=i(32181),W=i(67081);class ot{constructor(V){this._box=V,this._destroyed=new a.x,this._resizeSubject=new a.x,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(R=>this._resizeSubject.next(R)))}observe(V){return this._elementObservables.has(V)||this._elementObservables.set(V,new J.y(R=>{const C=this._resizeSubject.subscribe(R);return this._resizeObserver?.observe(V,{box:this._box}),()=>{this._resizeObserver?.unobserve(V),C.unsubscribe(),this._elementObservables.delete(V)}}).pipe((0,N.h)(R=>R.some(C=>C.target===V)),(0,W.d)({bufferSize:1,refCount:!0}),(0,ht.R)(this._destroyed))),this._elementObservables.get(V)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let k=(()=>{var y;class V{constructor(){this._observers=new Map,this._ngZone=(0,t.f3M)(t.R0b)}ngOnDestroy(){for(const[,C]of this._observers)C.destroy();this._observers.clear()}observe(C,w){const tt=w?.box||"content-box";return this._observers.has(tt)||this._observers.set(tt,new ot(tt)),this._observers.get(tt).observe(C)}}return(y=V).\u0275fac=function(C){return new(C||y)},y.\u0275prov=t.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"}),V})();var ut=i(42495),at=i(86825),st=i(96814),Rt=i(17131),Lt=i(23680);const bt=["notch"],dt=["matFormFieldNotchedOutline",""],H=["*"],rt=["textField"],pt=["iconPrefixContainer"],T=["textPrefixContainer"];function z(y,V){1&y&&t._UZ(0,"span",19)}function gt(y,V){if(1&y&&(t.TgZ(0,"label",17),t.Hsn(1,1),t.YNc(2,z,1,0,"span",18),t.qZA()),2&y){const R=t.oxw(2);t.Q6J("floating",R._shouldLabelFloat())("monitorResize",R._hasOutline())("id",R._labelId),t.uIk("for",R._control.id),t.xp6(2),t.Q6J("ngIf",!R.hideRequiredMarker&&R._control.required)}}function Et(y,V){if(1&y&&t.YNc(0,gt,3,5,"label",16),2&y){const R=t.oxw();t.Q6J("ngIf",R._hasFloatingLabel())}}function yt(y,V){1&y&&t._UZ(0,"div",20)}function Ot(y,V){}function It(y,V){if(1&y&&t.YNc(0,Ot,0,0,"ng-template",22),2&y){t.oxw(2);const R=t.MAs(1);t.Q6J("ngTemplateOutlet",R)}}function Nt(y,V){if(1&y&&(t.TgZ(0,"div",21),t.YNc(1,It,1,1,"ng-template",9),t.qZA()),2&y){const R=t.oxw();t.Q6J("matFormFieldNotchedOutlineOpen",R._shouldLabelFloat()),t.xp6(1),t.Q6J("ngIf",!R._forceDisplayInfixLabel())}}function Bt(y,V){1&y&&(t.TgZ(0,"div",23,24),t.Hsn(2,2),t.qZA())}function Vt(y,V){1&y&&(t.TgZ(0,"div",25,26),t.Hsn(2,3),t.qZA())}function Ft(y,V){}function kt(y,V){if(1&y&&t.YNc(0,Ft,0,0,"ng-template",22),2&y){t.oxw();const R=t.MAs(1);t.Q6J("ngTemplateOutlet",R)}}function Pt(y,V){1&y&&(t.TgZ(0,"div",27),t.Hsn(1,4),t.qZA())}function wt(y,V){1&y&&(t.TgZ(0,"div",28),t.Hsn(1,5),t.qZA())}function q(y,V){1&y&&t._UZ(0,"div",29)}function _t(y,V){if(1&y&&(t.TgZ(0,"div",30),t.Hsn(1,6),t.qZA()),2&y){const R=t.oxw();t.Q6J("@transitionMessages",R._subscriptAnimationState)}}function X(y,V){if(1&y&&(t.TgZ(0,"mat-hint",34),t._uU(1),t.qZA()),2&y){const R=t.oxw(2);t.Q6J("id",R._hintLabelId),t.xp6(1),t.Oqu(R.hintLabel)}}function b(y,V){if(1&y&&(t.TgZ(0,"div",31),t.YNc(1,X,2,2,"mat-hint",32),t.Hsn(2,7),t._UZ(3,"div",33),t.Hsn(4,8),t.qZA()),2&y){const R=t.oxw();t.Q6J("@transitionMessages",R._subscriptAnimationState),t.xp6(1),t.Q6J("ngIf",R.hintLabel)}}const S=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],G=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let O=(()=>{var y;class V{}return(y=V).\u0275fac=function(C){return new(C||y)},y.\u0275dir=t.lG2({type:y,selectors:[["mat-label"]]}),V})(),L=0;const it=new t.OlP("MatError");let ft=(()=>{var y;class V{constructor(C,w){this.id="mat-mdc-error-"+L++,C||w.nativeElement.setAttribute("aria-live","polite")}}return(y=V).\u0275fac=function(C){return new(C||y)(t.$8M("aria-live"),t.Y36(t.SBq))},y.\u0275dir=t.lG2({type:y,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(C,w){2&C&&t.Ikx("id",w.id)},inputs:{id:"id"},features:[t._Bn([{provide:it,useExisting:y}])]}),V})(),vt=0,j=(()=>{var y;class V{constructor(){this.align="start",this.id="mat-mdc-hint-"+vt++}}return(y=V).\u0275fac=function(C){return new(C||y)},y.\u0275dir=t.lG2({type:y,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(C,w){2&C&&(t.Ikx("id",w.id),t.uIk("align",null),t.ekj("mat-mdc-form-field-hint-end","end"===w.align))},inputs:{align:"align",id:"id"}}),V})();const nt=new t.OlP("MatPrefix"),v=new t.OlP("MatSuffix");let I=(()=>{var y;class V{constructor(){this._isText=!1}set _isTextSelector(C){this._isText=!0}}return(y=V).\u0275fac=function(C){return new(C||y)},y.\u0275dir=t.lG2({type:y,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[t._Bn([{provide:v,useExisting:y}])]}),V})();const B=new t.OlP("FloatingLabelParent");let ct=(()=>{var y;class V{get floating(){return this._floating}set floating(C){this._floating=C,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(C){this._monitorResize=C,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(C){this._elementRef=C,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,t.f3M)(k),this._ngZone=(0,t.f3M)(t.R0b),this._parent=(0,t.f3M)(B),this._resizeSubscription=new _.w0}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function Mt(y){if(null!==y.offsetParent)return y.scrollWidth;const R=y.cloneNode(!0);R.style.setProperty("position","absolute"),R.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(R);const C=R.scrollWidth;return R.remove(),C}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}}return(y=V).\u0275fac=function(C){return new(C||y)(t.Y36(t.SBq))},y.\u0275dir=t.lG2({type:y,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(C,w){2&C&&t.ekj("mdc-floating-label--float-above",w.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}}),V})();const $="mdc-line-ripple--active",Ct="mdc-line-ripple--deactivating";let Xt=(()=>{var y;class V{constructor(C,w){this._elementRef=C,this._handleTransitionEnd=tt=>{const mt=this._elementRef.nativeElement.classList,te=mt.contains(Ct);"opacity"===tt.propertyName&&te&&mt.remove($,Ct)},w.runOutsideAngular(()=>{C.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const C=this._elementRef.nativeElement.classList;C.remove(Ct),C.add($)}deactivate(){this._elementRef.nativeElement.classList.add(Ct)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return(y=V).\u0275fac=function(C){return new(C||y)(t.Y36(t.SBq),t.Y36(t.R0b))},y.\u0275dir=t.lG2({type:y,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),V})(),Ht=(()=>{var y;class V{constructor(C,w){this._elementRef=C,this._ngZone=w,this.open=!1}ngAfterViewInit(){const C=this._elementRef.nativeElement.querySelector(".mdc-floating-label");C?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(C.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>C.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(C){this._notch.nativeElement.style.width=this.open&&C?`calc(${C}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}}return(y=V).\u0275fac=function(C){return new(C||y)(t.Y36(t.SBq),t.Y36(t.R0b))},y.\u0275cmp=t.Xpm({type:y,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(C,w){if(1&C&&t.Gf(bt,5),2&C){let tt;t.iGM(tt=t.CRH())&&(w._notch=tt.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(C,w){2&C&&t.ekj("mdc-notched-outline--notched",w.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:dt,ngContentSelectors:H,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(C,w){1&C&&(t.F$t(),t._UZ(0,"div",0),t.TgZ(1,"div",1,2),t.Hsn(3),t.qZA(),t._UZ(4,"div",3))},encapsulation:2,changeDetection:0}),V})();const qt={transitionMessages:(0,at.X$)("transitionMessages",[(0,at.SB)("enter",(0,at.oB)({opacity:1,transform:"translateY(0%)"})),(0,at.eR)("void => enter",[(0,at.oB)({opacity:0,transform:"translateY(-5px)"}),(0,at.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Kt=(()=>{var y;class V{}return(y=V).\u0275fac=function(C){return new(C||y)},y.\u0275dir=t.lG2({type:y}),V})();const D=new t.OlP("MatFormField"),U=new t.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Y=0;const r="fill",F="fixed";let zt=(()=>{var y;class V{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(C){this._hideRequiredMarker=(0,ut.Ig)(C)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(C){C!==this._floatLabel&&(this._floatLabel=C,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(C){const w=this._appearance;this._appearance=C||this._defaults?.appearance||r,"outline"===this._appearance&&this._appearance!==w&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||F}set subscriptSizing(C){this._subscriptSizing=C||this._defaults?.subscriptSizing||F}get hintLabel(){return this._hintLabel}set hintLabel(C){this._hintLabel=C,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(C){this._explicitFormFieldControl=C}constructor(C,w,tt,mt,te,Zt,ne,de){this._elementRef=C,this._changeDetectorRef=w,this._ngZone=tt,this._dir=mt,this._platform=te,this._defaults=Zt,this._animationMode=ne,this._hideRequiredMarker=!1,this.color="primary",this._appearance=r,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+Y++,this._hintLabelId="mat-mdc-hint-"+Y++,this._subscriptAnimationState="",this._destroyed=new a.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,Zt&&(Zt.appearance&&(this.appearance=Zt.appearance),this._hideRequiredMarker=!!Zt?.hideRequiredMarker,Zt.color&&(this.color=Zt.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const C=this._control;C.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${C.controlType}`),C.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),C.ngControl&&C.ngControl.valueChanges&&C.ngControl.valueChanges.pipe((0,ht.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(C=>!C._isText),this._hasTextPrefix=!!this._prefixChildren.find(C=>C._isText),this._hasIconSuffix=!!this._suffixChildren.find(C=>!C._isText),this._hasTextSuffix=!!this._suffixChildren.find(C=>C._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,Z.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,ht.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,ht.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(C){const w=this._control?this._control.ngControl:null;return w&&w[C]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let C=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&C.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const w=this._hintChildren?this._hintChildren.find(mt=>"start"===mt.align):null,tt=this._hintChildren?this._hintChildren.find(mt=>"end"===mt.align):null;w?C.push(w.id):this._hintLabel&&C.push(this._hintLabelId),tt&&C.push(tt.id)}else this._errorChildren&&C.push(...this._errorChildren.map(w=>w.id));this._control.setDescribedByIds(C)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const C=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(C.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const w=this._iconPrefixContainer?.nativeElement,tt=this._textPrefixContainer?.nativeElement,mt=w?.getBoundingClientRect().width??0,te=tt?.getBoundingClientRect().width??0;C.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${mt+te}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const C=this._elementRef.nativeElement;if(C.getRootNode){const w=C.getRootNode();return w&&w!==C}return document.documentElement.contains(C)}}return(y=V).\u0275fac=function(C){return new(C||y)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(t.R0b),t.Y36(l.Is),t.Y36(P.t4),t.Y36(U,8),t.Y36(t.QbO,8),t.Y36(st.K0))},y.\u0275cmp=t.Xpm({type:y,selectors:[["mat-form-field"]],contentQueries:function(C,w,tt){if(1&C&&(t.Suo(tt,O,5),t.Suo(tt,O,7),t.Suo(tt,Kt,5),t.Suo(tt,nt,5),t.Suo(tt,v,5),t.Suo(tt,it,5),t.Suo(tt,j,5)),2&C){let mt;t.iGM(mt=t.CRH())&&(w._labelChildNonStatic=mt.first),t.iGM(mt=t.CRH())&&(w._labelChildStatic=mt.first),t.iGM(mt=t.CRH())&&(w._formFieldControl=mt.first),t.iGM(mt=t.CRH())&&(w._prefixChildren=mt),t.iGM(mt=t.CRH())&&(w._suffixChildren=mt),t.iGM(mt=t.CRH())&&(w._errorChildren=mt),t.iGM(mt=t.CRH())&&(w._hintChildren=mt)}},viewQuery:function(C,w){if(1&C&&(t.Gf(rt,5),t.Gf(pt,5),t.Gf(T,5),t.Gf(ct,5),t.Gf(Ht,5),t.Gf(Xt,5)),2&C){let tt;t.iGM(tt=t.CRH())&&(w._textField=tt.first),t.iGM(tt=t.CRH())&&(w._iconPrefixContainer=tt.first),t.iGM(tt=t.CRH())&&(w._textPrefixContainer=tt.first),t.iGM(tt=t.CRH())&&(w._floatingLabel=tt.first),t.iGM(tt=t.CRH())&&(w._notchedOutline=tt.first),t.iGM(tt=t.CRH())&&(w._lineRipple=tt.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(C,w){2&C&&t.ekj("mat-mdc-form-field-label-always-float",w._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",w._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",w._hasIconSuffix)("mat-form-field-invalid",w._control.errorState)("mat-form-field-disabled",w._control.disabled)("mat-form-field-autofilled",w._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===w._animationMode)("mat-form-field-appearance-fill","fill"==w.appearance)("mat-form-field-appearance-outline","outline"==w.appearance)("mat-form-field-hide-placeholder",w._hasFloatingLabel()&&!w._shouldLabelFloat())("mat-focused",w._control.focused)("mat-primary","accent"!==w.color&&"warn"!==w.color)("mat-accent","accent"===w.color)("mat-warn","warn"===w.color)("ng-untouched",w._shouldForward("untouched"))("ng-touched",w._shouldForward("touched"))("ng-pristine",w._shouldForward("pristine"))("ng-dirty",w._shouldForward("dirty"))("ng-valid",w._shouldForward("valid"))("ng-invalid",w._shouldForward("invalid"))("ng-pending",w._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[t._Bn([{provide:D,useExisting:y},{provide:B,useExisting:y}])],ngContentSelectors:G,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(C,w){1&C&&(t.F$t(S),t.YNc(0,Et,1,1,"ng-template",null,0,t.W1O),t.TgZ(2,"div",1,2),t.NdJ("click",function(mt){return w._control.onContainerClick(mt)}),t.YNc(4,yt,1,0,"div",3),t.TgZ(5,"div",4),t.YNc(6,Nt,2,2,"div",5),t.YNc(7,Bt,3,0,"div",6),t.YNc(8,Vt,3,0,"div",7),t.TgZ(9,"div",8),t.YNc(10,kt,1,1,"ng-template",9),t.Hsn(11),t.qZA(),t.YNc(12,Pt,2,0,"div",10),t.YNc(13,wt,2,0,"div",11),t.qZA(),t.YNc(14,q,1,0,"div",12),t.qZA(),t.TgZ(15,"div",13),t.YNc(16,_t,2,1,"div",14),t.YNc(17,b,5,2,"div",15),t.qZA()),2&C&&(t.xp6(2),t.ekj("mdc-text-field--filled",!w._hasOutline())("mdc-text-field--outlined",w._hasOutline())("mdc-text-field--no-label",!w._hasFloatingLabel())("mdc-text-field--disabled",w._control.disabled)("mdc-text-field--invalid",w._control.errorState),t.xp6(2),t.Q6J("ngIf",!w._hasOutline()&&!w._control.disabled),t.xp6(2),t.Q6J("ngIf",w._hasOutline()),t.xp6(1),t.Q6J("ngIf",w._hasIconPrefix),t.xp6(1),t.Q6J("ngIf",w._hasTextPrefix),t.xp6(2),t.Q6J("ngIf",!w._hasOutline()||w._forceDisplayInfixLabel()),t.xp6(2),t.Q6J("ngIf",w._hasTextSuffix),t.xp6(1),t.Q6J("ngIf",w._hasIconSuffix),t.xp6(1),t.Q6J("ngIf",!w._hasOutline()),t.xp6(1),t.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===w.subscriptSizing),t.Q6J("ngSwitch",w._getDisplayedMessages()),t.xp6(1),t.Q6J("ngSwitchCase","error"),t.xp6(1),t.Q6J("ngSwitchCase","hint"))},dependencies:[st.O5,st.tP,st.RF,st.n9,j,ct,Ht,Xt],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px * 2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{--mdc-filled-text-field-active-indicator-height:1px;--mdc-filled-text-field-focus-active-indicator-height:2px;--mdc-filled-text-field-container-shape:4px;border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined{--mdc-outlined-text-field-outline-width:1px;--mdc-outlined-text-field-focus-outline-width:2px;--mdc-outlined-text-field-container-shape:4px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size) * var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[qt.transitionMessages]},changeDetection:0}),V})(),jt=(()=>{var y;class V{}return(y=V).\u0275fac=function(C){return new(C||y)},y.\u0275mod=t.oAB({type:y}),y.\u0275inj=t.cJS({imports:[Lt.BQ,st.ez,Rt.Q8,Lt.BQ]}),V})()},2032:($t,At,i)=>{i.d(At,{Jk:()=>at,Nt:()=>bt,c:()=>dt});var t=i(42495),l=i(62831),P=i(65879),_=i(36232),a=i(78645);const Z=(0,l.i$)({passive:!0});let ht=(()=>{var H;class rt{constructor(T,z){this._platform=T,this._ngZone=z,this._monitoredElements=new Map}monitor(T){if(!this._platform.isBrowser)return _.E;const z=(0,t.fI)(T),gt=this._monitoredElements.get(z);if(gt)return gt.subject;const Et=new a.x,yt="cdk-text-field-autofilled",Ot=It=>{"cdk-text-field-autofill-start"!==It.animationName||z.classList.contains(yt)?"cdk-text-field-autofill-end"===It.animationName&&z.classList.contains(yt)&&(z.classList.remove(yt),this._ngZone.run(()=>Et.next({target:It.target,isAutofilled:!1}))):(z.classList.add(yt),this._ngZone.run(()=>Et.next({target:It.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{z.addEventListener("animationstart",Ot,Z),z.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(z,{subject:Et,unlisten:()=>{z.removeEventListener("animationstart",Ot,Z)}}),Et}stopMonitoring(T){const z=(0,t.fI)(T),gt=this._monitoredElements.get(z);gt&&(gt.unlisten(),gt.subject.complete(),z.classList.remove("cdk-text-field-autofill-monitored"),z.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(z))}ngOnDestroy(){this._monitoredElements.forEach((T,z)=>this.stopMonitoring(z))}}return(H=rt).\u0275fac=function(T){return new(T||H)(P.LFG(l.t4),P.LFG(P.R0b))},H.\u0275prov=P.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),rt})(),W=(()=>{var H;class rt{}return(H=rt).\u0275fac=function(T){return new(T||H)},H.\u0275mod=P.oAB({type:H}),H.\u0275inj=P.cJS({}),rt})();var xt=i(56223),ot=i(23680),k=i(64170);const at=new P.OlP("MAT_INPUT_VALUE_ACCESSOR"),st=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Rt=0;const Lt=(0,ot.FD)(class{constructor(H,rt,pt,T){this._defaultErrorStateMatcher=H,this._parentForm=rt,this._parentFormGroup=pt,this.ngControl=T,this.stateChanges=new a.x}});let bt=(()=>{var H;class rt extends Lt{get disabled(){return this._disabled}set disabled(T){this._disabled=(0,t.Ig)(T),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(T){this._id=T||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(xt.kI.required)??!1}set required(T){this._required=(0,t.Ig)(T)}get type(){return this._type}set type(T){this._type=T||"text",this._validateType(),!this._isTextarea&&(0,l.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(T){T!==this.value&&(this._inputValueAccessor.value=T,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(T){this._readonly=(0,t.Ig)(T)}constructor(T,z,gt,Et,yt,Ot,It,Nt,Bt,Vt){super(Ot,Et,yt,gt),this._elementRef=T,this._platform=z,this._autofillMonitor=Nt,this._formField=Vt,this._uid="mat-input-"+Rt++,this.focused=!1,this.stateChanges=new a.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(Pt=>(0,l.qK)().has(Pt)),this._iOSKeyupListener=Pt=>{const wt=Pt.target;!wt.value&&0===wt.selectionStart&&0===wt.selectionEnd&&(wt.setSelectionRange(1,1),wt.setSelectionRange(0,0))};const Ft=this._elementRef.nativeElement,kt=Ft.nodeName.toLowerCase();this._inputValueAccessor=It||Ft,this._previousNativeValue=this.value,this.id=this.id,z.IOS&&Bt.runOutsideAngular(()=>{T.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===kt,this._isTextarea="textarea"===kt,this._isInFormField=!!Vt,this._isNativeSelect&&(this.controlType=Ft.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(T=>{this.autofilled=T.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(T){this._elementRef.nativeElement.focus(T)}_focusChanged(T){T!==this.focused&&(this.focused=T,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const T=this._elementRef.nativeElement.value;this._previousNativeValue!==T&&(this._previousNativeValue=T,this.stateChanges.next())}_dirtyCheckPlaceholder(){const T=this._getPlaceholder();if(T!==this._previousPlaceholder){const z=this._elementRef.nativeElement;this._previousPlaceholder=T,T?z.setAttribute("placeholder",T):z.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){st.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let T=this._elementRef.nativeElement.validity;return T&&T.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const T=this._elementRef.nativeElement,z=T.options[0];return this.focused||T.multiple||!this.empty||!!(T.selectedIndex>-1&&z&&z.label)}return this.focused||!this.empty}setDescribedByIds(T){T.length?this._elementRef.nativeElement.setAttribute("aria-describedby",T.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const T=this._elementRef.nativeElement;return this._isNativeSelect&&(T.multiple||T.size>1)}}return(H=rt).\u0275fac=function(T){return new(T||H)(P.Y36(P.SBq),P.Y36(l.t4),P.Y36(xt.a5,10),P.Y36(xt.F,8),P.Y36(xt.sg,8),P.Y36(ot.rD),P.Y36(at,10),P.Y36(ht),P.Y36(P.R0b),P.Y36(k.G_,8))},H.\u0275dir=P.lG2({type:H,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(T,z){1&T&&P.NdJ("focus",function(){return z._focusChanged(!0)})("blur",function(){return z._focusChanged(!1)})("input",function(){return z._onInput()}),2&T&&(P.Ikx("id",z.id)("disabled",z.disabled)("required",z.required),P.uIk("name",z.name||null)("readonly",z.readonly&&!z._isNativeSelect||null)("aria-invalid",z.empty&&z.required?null:z.errorState)("aria-required",z.required)("id",z.id),P.ekj("mat-input-server",z._isServer)("mat-mdc-form-field-textarea-control",z._isInFormField&&z._isTextarea)("mat-mdc-form-field-input-control",z._isInFormField)("mdc-text-field__input",z._isInFormField)("mat-mdc-native-select-inline",z._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:[P._Bn([{provide:k.Eo,useExisting:H}]),P.qOj,P.TTD]}),rt})(),dt=(()=>{var H;class rt{}return(H=rt).\u0275fac=function(T){return new(T||H)},H.\u0275mod=P.oAB({type:H}),H.\u0275inj=P.cJS({imports:[ot.BQ,k.lN,k.lN,W,ot.BQ]}),rt})()},54807:($t,At,i)=>{i.d(At,{A0:()=>ie,C5:()=>Tt,Cm:()=>D,ir:()=>Kt,w9:()=>ce});var t=i(65879),l=i(56223),P=i(59773),_=i(29028),a=i(27921),Z=i(99397),ht=i(83620),J=i(32181),N=i(37398),W=i(80927),xt=i(76410),ot=i(78645),k=i(92438),ut=i(63019),at=i(96814);const st=["content"],Rt=["scroll"],Lt=["padding"],bt=function(p){return{searchTerm:p}};function dt(p,u){if(1&p&&(t.TgZ(0,"div",6),t.GkF(1,7),t.qZA()),2&p){const h=t.oxw();t.xp6(1),t.Q6J("ngTemplateOutlet",h.headerTemplate)("ngTemplateOutletContext",t.VKq(2,bt,h.filterValue))}}function H(p,u){if(1&p&&(t.TgZ(0,"div",8),t.GkF(1,7),t.qZA()),2&p){const h=t.oxw();t.xp6(1),t.Q6J("ngTemplateOutlet",h.footerTemplate)("ngTemplateOutletContext",t.VKq(2,bt,h.filterValue))}}const rt=["*"],pt=["searchInput"];function T(p,u){if(1&p){const h=t.EpF();t.TgZ(0,"span",15),t.NdJ("click",function(){t.CHM(h);const f=t.oxw().$implicit,A=t.oxw(2);return t.KtG(A.unselect(f))}),t._uU(1,"\xd7"),t.qZA(),t._UZ(2,"span",16)}if(2&p){const h=t.oxw().$implicit,o=t.oxw(2);t.xp6(2),t.Q6J("ngItemLabel",h.label)("escape",o.escapeHTML)}}function z(p,u){}const gt=function(p,u,h){return{item:p,clear:u,label:h}};function Et(p,u){if(1&p&&(t.TgZ(0,"div",12),t.YNc(1,T,3,2,"ng-template",null,13,t.W1O),t.YNc(3,z,0,0,"ng-template",14),t.qZA()),2&p){const h=u.$implicit,o=t.MAs(2),f=t.oxw(2);t.ekj("ng-value-disabled",h.disabled),t.xp6(3),t.Q6J("ngTemplateOutlet",f.labelTemplate||o)("ngTemplateOutletContext",t.kEZ(4,gt,h.value,f.clearItem,h.label))}}function yt(p,u){if(1&p&&(t.ynx(0),t.YNc(1,Et,4,8,"div",11),t.BQk()),2&p){const h=t.oxw();t.xp6(1),t.Q6J("ngForOf",h.selectedItems)("ngForTrackBy",h.trackByOption)}}function Ot(p,u){}const It=function(p,u){return{items:p,clear:u}};function Nt(p,u){if(1&p&&t.YNc(0,Ot,0,0,"ng-template",14),2&p){const h=t.oxw();t.Q6J("ngTemplateOutlet",h.multiLabelTemplate)("ngTemplateOutletContext",t.WLB(2,It,h.selectedValues,h.clearItem))}}function Bt(p,u){1&p&&t._UZ(0,"div",19)}function Vt(p,u){}function Ft(p,u){if(1&p&&(t.ynx(0),t.YNc(1,Bt,1,0,"ng-template",null,17,t.W1O),t.YNc(3,Vt,0,0,"ng-template",18),t.BQk()),2&p){const h=t.MAs(2),o=t.oxw();t.xp6(3),t.Q6J("ngTemplateOutlet",o.loadingSpinnerTemplate||h)}}function kt(p,u){if(1&p&&(t.TgZ(0,"span",20)(1,"span",21),t._uU(2,"\xd7"),t.qZA()()),2&p){const h=t.oxw();t.s9C("title",h.clearAllText)}}function Pt(p,u){if(1&p&&t._UZ(0,"span",27),2&p){const h=t.oxw().$implicit,o=t.oxw(2);t.Q6J("ngItemLabel",h.label)("escape",o.escapeHTML)}}function wt(p,u){}const q=function(p,u,h,o){return{item:p,item$:u,index:h,searchTerm:o}};function _t(p,u){if(1&p){const h=t.EpF();t.TgZ(0,"div",25),t.NdJ("click",function(){const A=t.CHM(h).$implicit,E=t.oxw(2);return t.KtG(E.toggleItem(A))})("mouseover",function(){const A=t.CHM(h).$implicit,E=t.oxw(2);return t.KtG(E.onItemHover(A))}),t.YNc(1,Pt,1,2,"ng-template",null,26,t.W1O),t.YNc(3,wt,0,0,"ng-template",14),t.qZA()}if(2&p){const h=u.$implicit,o=t.MAs(2),f=t.oxw(2);t.ekj("ng-option-disabled",h.disabled)("ng-option-selected",h.selected)("ng-optgroup",h.children)("ng-option",!h.children)("ng-option-child",!!h.parent)("ng-option-marked",h===f.itemsList.markedItem),t.uIk("role",h.children?"group":"option")("aria-selected",h.selected)("id",null==h?null:h.htmlId),t.xp6(3),t.Q6J("ngTemplateOutlet",h.children?f.optgroupTemplate||o:f.optionTemplate||o)("ngTemplateOutletContext",t.l5B(17,q,h.value,h,h.index,f.searchTerm))}}function X(p,u){if(1&p&&(t.TgZ(0,"span")(1,"span",30),t._uU(2),t.qZA(),t._uU(3),t.qZA()),2&p){const h=t.oxw(3);t.xp6(2),t.Oqu(h.addTagText),t.xp6(1),t.hij('"',h.searchTerm,'"')}}function b(p,u){}function S(p,u){if(1&p){const h=t.EpF();t.TgZ(0,"div",28),t.NdJ("mouseover",function(){t.CHM(h);const f=t.oxw(2);return t.KtG(f.itemsList.unmarkItem())})("click",function(){t.CHM(h);const f=t.oxw(2);return t.KtG(f.selectTag())}),t.YNc(1,X,4,2,"ng-template",null,29,t.W1O),t.YNc(3,b,0,0,"ng-template",14),t.qZA()}if(2&p){const h=t.MAs(2),o=t.oxw(2);t.ekj("ng-option-marked",!o.itemsList.markedItem),t.xp6(3),t.Q6J("ngTemplateOutlet",o.tagTemplate||h)("ngTemplateOutletContext",t.VKq(4,bt,o.searchTerm))}}function G(p,u){if(1&p&&(t.TgZ(0,"div",32),t._uU(1),t.qZA()),2&p){const h=t.oxw(3);t.xp6(1),t.Oqu(h.notFoundText)}}function O(p,u){}function L(p,u){if(1&p&&(t.ynx(0),t.YNc(1,G,2,1,"ng-template",null,31,t.W1O),t.YNc(3,O,0,0,"ng-template",14),t.BQk()),2&p){const h=t.MAs(2),o=t.oxw(2);t.xp6(3),t.Q6J("ngTemplateOutlet",o.notFoundTemplate||h)("ngTemplateOutletContext",t.VKq(2,bt,o.searchTerm))}}function it(p,u){if(1&p&&(t.TgZ(0,"div",32),t._uU(1),t.qZA()),2&p){const h=t.oxw(3);t.xp6(1),t.Oqu(h.typeToSearchText)}}function ft(p,u){}function vt(p,u){if(1&p&&(t.ynx(0),t.YNc(1,it,2,1,"ng-template",null,33,t.W1O),t.YNc(3,ft,0,0,"ng-template",18),t.BQk()),2&p){const h=t.MAs(2),o=t.oxw(2);t.xp6(3),t.Q6J("ngTemplateOutlet",o.typeToSearchTemplate||h)}}function j(p,u){if(1&p&&(t.TgZ(0,"div",32),t._uU(1),t.qZA()),2&p){const h=t.oxw(3);t.xp6(1),t.Oqu(h.loadingText)}}function nt(p,u){}function lt(p,u){if(1&p&&(t.ynx(0),t.YNc(1,j,2,1,"ng-template",null,34,t.W1O),t.YNc(3,nt,0,0,"ng-template",14),t.BQk()),2&p){const h=t.MAs(2),o=t.oxw(2);t.xp6(3),t.Q6J("ngTemplateOutlet",o.loadingTextTemplate||h)("ngTemplateOutletContext",t.VKq(2,bt,o.searchTerm))}}function v(p,u){if(1&p){const h=t.EpF();t.TgZ(0,"ng-dropdown-panel",22),t.NdJ("update",function(f){t.CHM(h);const A=t.oxw();return t.KtG(A.viewPortItems=f)})("scroll",function(f){t.CHM(h);const A=t.oxw();return t.KtG(A.scroll.emit(f))})("scrollToEnd",function(f){t.CHM(h);const A=t.oxw();return t.KtG(A.scrollToEnd.emit(f))})("outsideClick",function(){t.CHM(h);const f=t.oxw();return t.KtG(f.close())}),t.ynx(1),t.YNc(2,_t,4,22,"div",23),t.YNc(3,S,4,6,"div",24),t.BQk(),t.YNc(4,L,4,4,"ng-container",3),t.YNc(5,vt,4,1,"ng-container",3),t.YNc(6,lt,4,4,"ng-container",3),t.qZA()}if(2&p){const h=t.oxw();t.ekj("ng-select-multiple",h.multiple),t.Q6J("virtualScroll",h.virtualScroll)("bufferAmount",h.bufferAmount)("appendTo",h.appendTo)("position",h.dropdownPosition)("headerTemplate",h.headerTemplate)("footerTemplate",h.footerTemplate)("filterValue",h.searchTerm)("items",h.itemsList.filteredItems)("markedItem",h.itemsList.markedItem)("ngClass",h.appendTo?h.classes:null)("id",h.dropdownId),t.xp6(2),t.Q6J("ngForOf",h.viewPortItems)("ngForTrackBy",h.trackByOption),t.xp6(1),t.Q6J("ngIf",h.showAddTag),t.xp6(1),t.Q6J("ngIf",h.showNoItemsFound()),t.xp6(1),t.Q6J("ngIf",h.showTypeToSearch()),t.xp6(1),t.Q6J("ngIf",h.loading&&0===h.itemsList.filteredItems.length)}}const I=/[&<>"']/g,B=RegExp(I.source),ct={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function $(p){return null!=p}function Ct(p){return"object"==typeof p&&$(p)}function Ht(p){return p instanceof Function}let qt=(()=>{var p;class u{constructor(o){this.element=o,this.escape=!0}ngOnChanges(o){this.element.nativeElement.innerHTML=this.escape?function Mt(p){return p&&B.test(p)?p.replace(I,u=>ct[u]):p}(this.ngItemLabel):this.ngItemLabel}}return(p=u).\u0275fac=function(o){return new(o||p)(t.Y36(t.SBq))},p.\u0275dir=t.lG2({type:p,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[t.TTD]}),u})(),Kt=(()=>{var p;class u{constructor(o){this.template=o}}return(p=u).\u0275fac=function(o){return new(o||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["","ng-option-tmp",""]]}),u})(),Tt=(()=>{var p;class u{constructor(o){this.template=o}}return(p=u).\u0275fac=function(o){return new(o||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["","ng-optgroup-tmp",""]]}),u})(),se=(()=>{var p;class u{constructor(o){this.template=o}}return(p=u).\u0275fac=function(o){return new(o||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["","ng-label-tmp",""]]}),u})(),ee=(()=>{var p;class u{constructor(o){this.template=o}}return(p=u).\u0275fac=function(o){return new(o||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["","ng-multi-label-tmp",""]]}),u})(),D=(()=>{var p;class u{constructor(o){this.template=o}}return(p=u).\u0275fac=function(o){return new(o||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["","ng-header-tmp",""]]}),u})(),U=(()=>{var p;class u{constructor(o){this.template=o}}return(p=u).\u0275fac=function(o){return new(o||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["","ng-footer-tmp",""]]}),u})(),Y=(()=>{var p;class u{constructor(o){this.template=o}}return(p=u).\u0275fac=function(o){return new(o||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["","ng-notfound-tmp",""]]}),u})(),r=(()=>{var p;class u{constructor(o){this.template=o}}return(p=u).\u0275fac=function(o){return new(o||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["","ng-typetosearch-tmp",""]]}),u})(),m=(()=>{var p;class u{constructor(o){this.template=o}}return(p=u).\u0275fac=function(o){return new(o||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["","ng-loadingtext-tmp",""]]}),u})(),F=(()=>{var p;class u{constructor(o){this.template=o}}return(p=u).\u0275fac=function(o){return new(o||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["","ng-tag-tmp",""]]}),u})(),K=(()=>{var p;class u{constructor(o){this.template=o}}return(p=u).\u0275fac=function(o){return new(o||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["","ng-loadingspinner-tmp",""]]}),u})();function zt(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(16*Math.random()|0).toString(16))}const jt={"\u24b6":"A",\uff21:"A",\u00c0:"A",\u00c1:"A",\u00c2:"A",\u1ea6:"A",\u1ea4:"A",\u1eaa:"A",\u1ea8:"A",\u00c3:"A",\u0100:"A",\u0102:"A",\u1eb0:"A",\u1eae:"A",\u1eb4:"A",\u1eb2:"A",\u0226:"A",\u01e0:"A",\u00c4:"A",\u01de:"A",\u1ea2:"A",\u00c5:"A",\u01fa:"A",\u01cd:"A",\u0200:"A",\u0202:"A",\u1ea0:"A",\u1eac:"A",\u1eb6:"A",\u1e00:"A",\u0104:"A",\u023a:"A",\u2c6f:"A",\ua732:"AA",\u00c6:"AE",\u01fc:"AE",\u01e2:"AE",\ua734:"AO",\ua736:"AU",\ua738:"AV",\ua73a:"AV",\ua73c:"AY","\u24b7":"B",\uff22:"B",\u1e02:"B",\u1e04:"B",\u1e06:"B",\u0243:"B",\u0182:"B",\u0181:"B","\u24b8":"C",\uff23:"C",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u00c7:"C",\u1e08:"C",\u0187:"C",\u023b:"C",\ua73e:"C","\u24b9":"D",\uff24:"D",\u1e0a:"D",\u010e:"D",\u1e0c:"D",\u1e10:"D",\u1e12:"D",\u1e0e:"D",\u0110:"D",\u018b:"D",\u018a:"D",\u0189:"D",\ua779:"D",\u01f1:"DZ",\u01c4:"DZ",\u01f2:"Dz",\u01c5:"Dz","\u24ba":"E",\uff25:"E",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u1ec0:"E",\u1ebe:"E",\u1ec4:"E",\u1ec2:"E",\u1ebc:"E",\u0112:"E",\u1e14:"E",\u1e16:"E",\u0114:"E",\u0116:"E",\u00cb:"E",\u1eba:"E",\u011a:"E",\u0204:"E",\u0206:"E",\u1eb8:"E",\u1ec6:"E",\u0228:"E",\u1e1c:"E",\u0118:"E",\u1e18:"E",\u1e1a:"E",\u0190:"E",\u018e:"E","\u24bb":"F",\uff26:"F",\u1e1e:"F",\u0191:"F",\ua77b:"F","\u24bc":"G",\uff27:"G",\u01f4:"G",\u011c:"G",\u1e20:"G",\u011e:"G",\u0120:"G",\u01e6:"G",\u0122:"G",\u01e4:"G",\u0193:"G",\ua7a0:"G",\ua77d:"G",\ua77e:"G","\u24bd":"H",\uff28:"H",\u0124:"H",\u1e22:"H",\u1e26:"H",\u021e:"H",\u1e24:"H",\u1e28:"H",\u1e2a:"H",\u0126:"H",\u2c67:"H",\u2c75:"H",\ua78d:"H","\u24be":"I",\uff29:"I",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u0128:"I",\u012a:"I",\u012c:"I",\u0130:"I",\u00cf:"I",\u1e2e:"I",\u1ec8:"I",\u01cf:"I",\u0208:"I",\u020a:"I",\u1eca:"I",\u012e:"I",\u1e2c:"I",\u0197:"I","\u24bf":"J",\uff2a:"J",\u0134:"J",\u0248:"J","\u24c0":"K",\uff2b:"K",\u1e30:"K",\u01e8:"K",\u1e32:"K",\u0136:"K",\u1e34:"K",\u0198:"K",\u2c69:"K",\ua740:"K",\ua742:"K",\ua744:"K",\ua7a2:"K","\u24c1":"L",\uff2c:"L",\u013f:"L",\u0139:"L",\u013d:"L",\u1e36:"L",\u1e38:"L",\u013b:"L",\u1e3c:"L",\u1e3a:"L",\u0141:"L",\u023d:"L",\u2c62:"L",\u2c60:"L",\ua748:"L",\ua746:"L",\ua780:"L",\u01c7:"LJ",\u01c8:"Lj","\u24c2":"M",\uff2d:"M",\u1e3e:"M",\u1e40:"M",\u1e42:"M",\u2c6e:"M",\u019c:"M","\u24c3":"N",\uff2e:"N",\u01f8:"N",\u0143:"N",\u00d1:"N",\u1e44:"N",\u0147:"N",\u1e46:"N",\u0145:"N",\u1e4a:"N",\u1e48:"N",\u0220:"N",\u019d:"N",\ua790:"N",\ua7a4:"N",\u01ca:"NJ",\u01cb:"Nj","\u24c4":"O",\uff2f:"O",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u1ed2:"O",\u1ed0:"O",\u1ed6:"O",\u1ed4:"O",\u00d5:"O",\u1e4c:"O",\u022c:"O",\u1e4e:"O",\u014c:"O",\u1e50:"O",\u1e52:"O",\u014e:"O",\u022e:"O",\u0230:"O",\u00d6:"O",\u022a:"O",\u1ece:"O",\u0150:"O",\u01d1:"O",\u020c:"O",\u020e:"O",\u01a0:"O",\u1edc:"O",\u1eda:"O",\u1ee0:"O",\u1ede:"O",\u1ee2:"O",\u1ecc:"O",\u1ed8:"O",\u01ea:"O",\u01ec:"O",\u00d8:"O",\u01fe:"O",\u0186:"O",\u019f:"O",\ua74a:"O",\ua74c:"O",\u01a2:"OI",\ua74e:"OO",\u0222:"OU","\u24c5":"P",\uff30:"P",\u1e54:"P",\u1e56:"P",\u01a4:"P",\u2c63:"P",\ua750:"P",\ua752:"P",\ua754:"P","\u24c6":"Q",\uff31:"Q",\ua756:"Q",\ua758:"Q",\u024a:"Q","\u24c7":"R",\uff32:"R",\u0154:"R",\u1e58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1e5a:"R",\u1e5c:"R",\u0156:"R",\u1e5e:"R",\u024c:"R",\u2c64:"R",\ua75a:"R",\ua7a6:"R",\ua782:"R","\u24c8":"S",\uff33:"S",\u1e9e:"S",\u015a:"S",\u1e64:"S",\u015c:"S",\u1e60:"S",\u0160:"S",\u1e66:"S",\u1e62:"S",\u1e68:"S",\u0218:"S",\u015e:"S",\u2c7e:"S",\ua7a8:"S",\ua784:"S","\u24c9":"T",\uff34:"T",\u1e6a:"T",\u0164:"T",\u1e6c:"T",\u021a:"T",\u0162:"T",\u1e70:"T",\u1e6e:"T",\u0166:"T",\u01ac:"T",\u01ae:"T",\u023e:"T",\ua786:"T",\ua728:"TZ","\u24ca":"U",\uff35:"U",\u00d9:"U",\u00da:"U",\u00db:"U",\u0168:"U",\u1e78:"U",\u016a:"U",\u1e7a:"U",\u016c:"U",\u00dc:"U",\u01db:"U",\u01d7:"U",\u01d5:"U",\u01d9:"U",\u1ee6:"U",\u016e:"U",\u0170:"U",\u01d3:"U",\u0214:"U",\u0216:"U",\u01af:"U",\u1eea:"U",\u1ee8:"U",\u1eee:"U",\u1eec:"U",\u1ef0:"U",\u1ee4:"U",\u1e72:"U",\u0172:"U",\u1e76:"U",\u1e74:"U",\u0244:"U","\u24cb":"V",\uff36:"V",\u1e7c:"V",\u1e7e:"V",\u01b2:"V",\ua75e:"V",\u0245:"V",\ua760:"VY","\u24cc":"W",\uff37:"W",\u1e80:"W",\u1e82:"W",\u0174:"W",\u1e86:"W",\u1e84:"W",\u1e88:"W",\u2c72:"W","\u24cd":"X",\uff38:"X",\u1e8a:"X",\u1e8c:"X","\u24ce":"Y",\uff39:"Y",\u1ef2:"Y",\u00dd:"Y",\u0176:"Y",\u1ef8:"Y",\u0232:"Y",\u1e8e:"Y",\u0178:"Y",\u1ef6:"Y",\u1ef4:"Y",\u01b3:"Y",\u024e:"Y",\u1efe:"Y","\u24cf":"Z",\uff3a:"Z",\u0179:"Z",\u1e90:"Z",\u017b:"Z",\u017d:"Z",\u1e92:"Z",\u1e94:"Z",\u01b5:"Z",\u0224:"Z",\u2c7f:"Z",\u2c6b:"Z",\ua762:"Z","\u24d0":"a",\uff41:"a",\u1e9a:"a",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u1ea7:"a",\u1ea5:"a",\u1eab:"a",\u1ea9:"a",\u00e3:"a",\u0101:"a",\u0103:"a",\u1eb1:"a",\u1eaf:"a",\u1eb5:"a",\u1eb3:"a",\u0227:"a",\u01e1:"a",\u00e4:"a",\u01df:"a",\u1ea3:"a",\u00e5:"a",\u01fb:"a",\u01ce:"a",\u0201:"a",\u0203:"a",\u1ea1:"a",\u1ead:"a",\u1eb7:"a",\u1e01:"a",\u0105:"a",\u2c65:"a",\u0250:"a",\ua733:"aa",\u00e6:"ae",\u01fd:"ae",\u01e3:"ae",\ua735:"ao",\ua737:"au",\ua739:"av",\ua73b:"av",\ua73d:"ay","\u24d1":"b",\uff42:"b",\u1e03:"b",\u1e05:"b",\u1e07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24d2":"c",\uff43:"c",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u00e7:"c",\u1e09:"c",\u0188:"c",\u023c:"c",\ua73f:"c",\u2184:"c","\u24d3":"d",\uff44:"d",\u1e0b:"d",\u010f:"d",\u1e0d:"d",\u1e11:"d",\u1e13:"d",\u1e0f:"d",\u0111:"d",\u018c:"d",\u0256:"d",\u0257:"d",\ua77a:"d",\u01f3:"dz",\u01c6:"dz","\u24d4":"e",\uff45:"e",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u1ec1:"e",\u1ebf:"e",\u1ec5:"e",\u1ec3:"e",\u1ebd:"e",\u0113:"e",\u1e15:"e",\u1e17:"e",\u0115:"e",\u0117:"e",\u00eb:"e",\u1ebb:"e",\u011b:"e",\u0205:"e",\u0207:"e",\u1eb9:"e",\u1ec7:"e",\u0229:"e",\u1e1d:"e",\u0119:"e",\u1e19:"e",\u1e1b:"e",\u0247:"e",\u025b:"e",\u01dd:"e","\u24d5":"f",\uff46:"f",\u1e1f:"f",\u0192:"f",\ua77c:"f","\u24d6":"g",\uff47:"g",\u01f5:"g",\u011d:"g",\u1e21:"g",\u011f:"g",\u0121:"g",\u01e7:"g",\u0123:"g",\u01e5:"g",\u0260:"g",\ua7a1:"g",\u1d79:"g",\ua77f:"g","\u24d7":"h",\uff48:"h",\u0125:"h",\u1e23:"h",\u1e27:"h",\u021f:"h",\u1e25:"h",\u1e29:"h",\u1e2b:"h",\u1e96:"h",\u0127:"h",\u2c68:"h",\u2c76:"h",\u0265:"h",\u0195:"hv","\u24d8":"i",\uff49:"i",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u0129:"i",\u012b:"i",\u012d:"i",\u00ef:"i",\u1e2f:"i",\u1ec9:"i",\u01d0:"i",\u0209:"i",\u020b:"i",\u1ecb:"i",\u012f:"i",\u1e2d:"i",\u0268:"i",\u0131:"i","\u24d9":"j",\uff4a:"j",\u0135:"j",\u01f0:"j",\u0249:"j","\u24da":"k",\uff4b:"k",\u1e31:"k",\u01e9:"k",\u1e33:"k",\u0137:"k",\u1e35:"k",\u0199:"k",\u2c6a:"k",\ua741:"k",\ua743:"k",\ua745:"k",\ua7a3:"k","\u24db":"l",\uff4c:"l",\u0140:"l",\u013a:"l",\u013e:"l",\u1e37:"l",\u1e39:"l",\u013c:"l",\u1e3d:"l",\u1e3b:"l",\u017f:"l",\u0142:"l",\u019a:"l",\u026b:"l",\u2c61:"l",\ua749:"l",\ua781:"l",\ua747:"l",\u01c9:"lj","\u24dc":"m",\uff4d:"m",\u1e3f:"m",\u1e41:"m",\u1e43:"m",\u0271:"m",\u026f:"m","\u24dd":"n",\uff4e:"n",\u01f9:"n",\u0144:"n",\u00f1:"n",\u1e45:"n",\u0148:"n",\u1e47:"n",\u0146:"n",\u1e4b:"n",\u1e49:"n",\u019e:"n",\u0272:"n",\u0149:"n",\ua791:"n",\ua7a5:"n",\u01cc:"nj","\u24de":"o",\uff4f:"o",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u1ed3:"o",\u1ed1:"o",\u1ed7:"o",\u1ed5:"o",\u00f5:"o",\u1e4d:"o",\u022d:"o",\u1e4f:"o",\u014d:"o",\u1e51:"o",\u1e53:"o",\u014f:"o",\u022f:"o",\u0231:"o",\u00f6:"o",\u022b:"o",\u1ecf:"o",\u0151:"o",\u01d2:"o",\u020d:"o",\u020f:"o",\u01a1:"o",\u1edd:"o",\u1edb:"o",\u1ee1:"o",\u1edf:"o",\u1ee3:"o",\u1ecd:"o",\u1ed9:"o",\u01eb:"o",\u01ed:"o",\u00f8:"o",\u01ff:"o",\u0254:"o",\ua74b:"o",\ua74d:"o",\u0275:"o",\u01a3:"oi",\u0223:"ou",\ua74f:"oo","\u24df":"p",\uff50:"p",\u1e55:"p",\u1e57:"p",\u01a5:"p",\u1d7d:"p",\ua751:"p",\ua753:"p",\ua755:"p","\u24e0":"q",\uff51:"q",\u024b:"q",\ua757:"q",\ua759:"q","\u24e1":"r",\uff52:"r",\u0155:"r",\u1e59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1e5b:"r",\u1e5d:"r",\u0157:"r",\u1e5f:"r",\u024d:"r",\u027d:"r",\ua75b:"r",\ua7a7:"r",\ua783:"r","\u24e2":"s",\uff53:"s",\u00df:"s",\u015b:"s",\u1e65:"s",\u015d:"s",\u1e61:"s",\u0161:"s",\u1e67:"s",\u1e63:"s",\u1e69:"s",\u0219:"s",\u015f:"s",\u023f:"s",\ua7a9:"s",\ua785:"s",\u1e9b:"s","\u24e3":"t",\uff54:"t",\u1e6b:"t",\u1e97:"t",\u0165:"t",\u1e6d:"t",\u021b:"t",\u0163:"t",\u1e71:"t",\u1e6f:"t",\u0167:"t",\u01ad:"t",\u0288:"t",\u2c66:"t",\ua787:"t",\ua729:"tz","\u24e4":"u",\uff55:"u",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u0169:"u",\u1e79:"u",\u016b:"u",\u1e7b:"u",\u016d:"u",\u00fc:"u",\u01dc:"u",\u01d8:"u",\u01d6:"u",\u01da:"u",\u1ee7:"u",\u016f:"u",\u0171:"u",\u01d4:"u",\u0215:"u",\u0217:"u",\u01b0:"u",\u1eeb:"u",\u1ee9:"u",\u1eef:"u",\u1eed:"u",\u1ef1:"u",\u1ee5:"u",\u1e73:"u",\u0173:"u",\u1e77:"u",\u1e75:"u",\u0289:"u","\u24e5":"v",\uff56:"v",\u1e7d:"v",\u1e7f:"v",\u028b:"v",\ua75f:"v",\u028c:"v",\ua761:"vy","\u24e6":"w",\uff57:"w",\u1e81:"w",\u1e83:"w",\u0175:"w",\u1e87:"w",\u1e85:"w",\u1e98:"w",\u1e89:"w",\u2c73:"w","\u24e7":"x",\uff58:"x",\u1e8b:"x",\u1e8d:"x","\u24e8":"y",\uff59:"y",\u1ef3:"y",\u00fd:"y",\u0177:"y",\u1ef9:"y",\u0233:"y",\u1e8f:"y",\u00ff:"y",\u1ef7:"y",\u1e99:"y",\u1ef5:"y",\u01b4:"y",\u024f:"y",\u1eff:"y","\u24e9":"z",\uff5a:"z",\u017a:"z",\u1e91:"z",\u017c:"z",\u017e:"z",\u1e93:"z",\u1e95:"z",\u01b6:"z",\u0225:"z",\u0240:"z",\u2c6c:"z",\ua763:"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038a:"\u0399",\u03aa:"\u0399",\u038c:"\u039f",\u038e:"\u03a5",\u03ab:"\u03a5",\u038f:"\u03a9",\u03ac:"\u03b1",\u03ad:"\u03b5",\u03ae:"\u03b7",\u03af:"\u03b9",\u03ca:"\u03b9",\u0390:"\u03b9",\u03cc:"\u03bf",\u03cd:"\u03c5",\u03cb:"\u03c5",\u03b0:"\u03c5",\u03c9:"\u03c9",\u03c2:"\u03c3"};function y(p){return p.replace(/[^\u0000-\u007E]/g,h=>jt[h]||h)}class V{constructor(u,h){this._ngSelect=u,this._selectionModel=h,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let u=this.selectedItems.length-1;for(;u>=0;u--){const h=this.selectedItems[u];if(!h.disabled)return h}return null}setItems(u){this._items=u.map((h,o)=>this.mapItem(h,o)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(u){if(u.selected||this.maxItemsSelected)return;const h=this._ngSelect.multiple;h||this.clearSelected(),this._selectionModel.select(u,h,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(u)}unselect(u){u.selected&&(this._selectionModel.unselect(u,this._ngSelect.multiple),this._ngSelect.hideSelected&&$(u.index)&&this._ngSelect.multiple&&this._showSelected(u))}findItem(u){let h;return h=this._ngSelect.compareWith?o=>this._ngSelect.compareWith(o.value,u):this._ngSelect.bindValue?o=>!o.children&&this.resolveNested(o.value,this._ngSelect.bindValue)===u:o=>o.value===u||!o.children&&o.label&&o.label===this.resolveNested(u,this._ngSelect.bindLabel),this._items.find(o=>h(o))}addItem(u){const h=this.mapItem(u,this._items.length);return this._items.push(h),this._filteredItems.push(h),h}clearSelected(u=!1){this._selectionModel.clear(u),this._items.forEach(h=>{h.selected=u&&h.selected&&h.disabled,h.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(u){return u=y(u).toLocaleLowerCase(),this.filteredItems.find(h=>y(h.label).toLocaleLowerCase().substr(0,u.length)===u)}filter(u){if(!u)return void this.resetFilteredItems();this._filteredItems=[],u=this._ngSelect.searchFn?u:y(u).toLocaleLowerCase();const h=this._ngSelect.searchFn||this._defaultSearchFn,o=this._ngSelect.hideSelected;for(const f of Array.from(this._groups.keys())){const A=[];for(const E of this._groups.get(f))o&&(E.parent&&E.parent.selected||E.selected)||h(u,this._ngSelect.searchFn?E.value:E)&&A.push(E);if(A.length>0){const[E]=A.slice(-1);if(E.parent){const Q=this._items.find(Dt=>Dt===E.parent);this._filteredItems.push(Q)}this._filteredItems.push(...A)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected&&this.selectedItems.length>0?this._items.filter(u=>!u.selected):this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(u){this._markedIndex=this._filteredItems.indexOf(u)}markSelectedOrDefault(u){if(0===this._filteredItems.length)return;const h=this._getLastMarkedIndex();this._markedIndex=h>-1?h:u?this.filteredItems.findIndex(o=>!o.disabled):-1}resolveNested(u,h){if(!Ct(u))return u;if(-1===h.indexOf("."))return u[h];{const o=h.split(".");let f=u;for(let A=0,E=o.length;A<E;++A){if(null==f)return null;f=f[o[A]]}return f}}mapItem(u,h){const o=$(u.$ngOptionLabel)?u.$ngOptionLabel:this.resolveNested(u,this._ngSelect.bindLabel),f=$(u.$ngOptionValue)?u.$ngOptionValue:u;return{index:h,label:$(o)?o.toString():"",value:f,disabled:u.disabled,htmlId:`${this._ngSelect.dropdownId}-${h}`}}mapSelectedItems(){const u=this._ngSelect.multiple;for(const h of this.selectedItems){const o=this._ngSelect.bindValue?this.resolveNested(h.value,this._ngSelect.bindValue):h.value,f=$(o)?this.findItem(o):null;this._selectionModel.unselect(h,u),this._selectionModel.select(f||h,u,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(h=>-1===this.selectedItems.indexOf(h)))}_showSelected(u){if(this._filteredItems.push(u),u.parent){const h=u.parent;this._filteredItems.find(f=>f===h)||this._filteredItems.push(h)}else if(u.children)for(const h of u.children)h.selected=!1,this._filteredItems.push(h);this._filteredItems=[...this._filteredItems.sort((h,o)=>h.index-o.index)]}_hideSelected(u){this._filteredItems=this._filteredItems.filter(h=>h!==u),u.parent?u.parent.children.every(o=>o.selected)&&(this._filteredItems=this._filteredItems.filter(o=>o!==u.parent)):u.children&&(this._filteredItems=this.filteredItems.filter(h=>h.parent!==u))}_defaultSearchFn(u,h){return y(h.label).toLocaleLowerCase().indexOf(u)>-1}_getNextItemIndex(u){return u>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(u){0===this._filteredItems.length||this._filteredItems.every(h=>h.disabled)||(this._markedIndex=this._getNextItemIndex(u),this.markedItem.disabled&&this._stepToItem(u))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&void 0===this.markedItem)return-1;const u=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&u<0?-1:Math.max(this.markedIndex,u)}_groupBy(u,h){const o=new Map;if(0===u.length)return o;if(Array.isArray(u[0].value[h])){for(const E of u){const Q=(E.value[h]||[]).map((Dt,Ut)=>this.mapItem(Dt,Ut));o.set(E,Q)}return o}const f=Ht(this._ngSelect.groupBy),A=E=>{const Q=f?h(E.value):E.value[h];return $(Q)?Q:void 0};for(const E of u){const Q=A(E),Dt=o.get(Q);Dt?Dt.push(E):o.set(Q,[E])}return o}_flatten(u){const h=Ht(this._ngSelect.groupBy),o=[];for(const f of Array.from(u.keys())){let A=o.length;if(void 0===f){const Yt=u.get(void 0)||[];o.push(...Yt.map(oe=>(oe.index=A++,oe)));continue}const E=Ct(f),Q={label:E?"":String(f),children:void 0,parent:null,index:A++,disabled:!this._ngSelect.selectableGroup,htmlId:zt()},Dt=h?this._ngSelect.bindLabel:this._ngSelect.groupBy,Ut=this._ngSelect.groupValue||(()=>E?f.value:{[Dt]:f}),St=u.get(f).map(Yt=>(Yt.parent=Q,Yt.children=void 0,Yt.index=A++,Yt));Q.children=St,Q.value=Ut(f,St.map(Yt=>Yt.value)),o.push(Q),o.push(...St)}return o}}var R=function(p){return p[p.Tab=9]="Tab",p[p.Enter=13]="Enter",p[p.Esc=27]="Esc",p[p.Space=32]="Space",p[p.ArrowUp=38]="ArrowUp",p[p.ArrowDown=40]="ArrowDown",p[p.Backspace=8]="Backspace",p}(R||{});let C=(()=>{var p;class u{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(o,f,A){const E=this._dimensions,Q=E.itemHeight*f,Ut=Math.max(0,o)/Q*f;let St=Math.min(f,Math.ceil(Ut)+(E.itemsPerViewport+1));const oe=Math.max(0,St-E.itemsPerViewport);let Gt=Math.min(oe,Math.floor(Ut)),ae=E.itemHeight*Math.ceil(Gt)-E.itemHeight*Math.min(Gt,A);return ae=isNaN(ae)?0:ae,Gt=isNaN(Gt)?-1:Gt,St=isNaN(St)?-1:St,Gt-=A,Gt=Math.max(0,Gt),St+=A,St=Math.min(f,St),{topPadding:ae,scrollHeight:Q,start:Gt,end:St}}setDimensions(o,f){const A=Math.max(1,Math.floor(f/o));this._dimensions={itemHeight:o,panelHeight:f,itemsPerViewport:A}}getScrollTo(o,f,A){const{panelHeight:E}=this.dimensions,Q=o+f,Ut=A+E;return E>=Q&&A===o?null:Q>Ut?A+Q-Ut:o<=A?o:null}}return(p=u).\u0275fac=function(o){return new(o||p)},p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac}),u})();const w=["top","right","bottom","left"],tt=typeof requestAnimationFrame<"u"?W.Z:xt.E;let mt=(()=>{var p;class u{constructor(o,f,A,E,Q){this._renderer=o,this._zone=f,this._panelService=A,this._document=Q,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new t.vpe,this.scroll=new t.vpe,this.scrollToEnd=new t.vpe,this.outsideClick=new t.vpe,this._destroy$=new ot.x,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=E.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(o){o!==this._itemsLength&&(this._itemsLength=o,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){const{itemHeight:o,panelHeight:f}=this._panelService.dimensions,A=this.markedItem.index*o;return f>A?0:A}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(o){if(o.items){const f=o.items;this._onItemsChange(f.currentValue,f.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(o,f=!1){if(!o)return;const A=this.items.indexOf(o);if(A<0||A>=this.itemsLength)return;let E;if(this.virtualScroll){const Q=this._panelService.dimensions.itemHeight;E=this._panelService.getScrollTo(A*Q,Q,this._lastScrollPosition)}else{const Q=this._dropdown.querySelector(`#${o.htmlId}`);E=this._panelService.getScrollTo(Q.offsetTop,Q.clientHeight,f?Q.offsetTop:this._lastScrollPosition)}$(E)&&(this._scrollablePanel.scrollTop=E)}scrollToTag(){const o=this._scrollablePanel;o.scrollTop=o.scrollHeight-o.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),w.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(o){w.forEach(A=>{const E=`ng-select-${A}`;this._renderer.removeClass(this._dropdown,E),this._renderer.removeClass(this._select,E)});const f=`ng-select-${o}`;this._renderer.addClass(this._dropdown,f),this._renderer.addClass(this._select,f)}_handleScroll(){this._zone.runOutsideAngular(()=>{(0,k.R)(this.scrollElementRef.nativeElement,"scroll").pipe((0,P.R)(this._destroy$),(0,_.e)(0,tt)).subscribe(o=>{const f=o.path||o.composedPath&&o.composedPath();this._onContentScrolled(f&&0!==f.length?f[0].scrollTop:o.target.scrollTop)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{(0,ut.T)((0,k.R)(this._document,"touchstart",{capture:!0}),(0,k.R)(this._document,"mousedown",{capture:!0})).pipe((0,P.R)(this._destroy$)).subscribe(o=>this._checkToClose(o))})}_checkToClose(o){if(this._select.contains(o.target)||this._dropdown.contains(o.target))return;const f=o.path||o.composedPath&&o.composedPath();o.target&&o.target.shadowRoot&&f&&f[0]&&this._select.contains(f[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(o,f){this.items=o||[],this._scrollToEndFired=!1,this.itemsLength=o.length,this.virtualScroll?this._updateItemsRange(f):(this._setVirtualHeight(),this._updateItems(f))}_updateItems(o){this.update.emit(this.items),!1!==o&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._panelService.setDimensions(0,this._scrollablePanel.clientHeight),this._handleDropdownPosition(),this.scrollTo(this.markedItem,o)})})}_updateItemsRange(o){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{o?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(o){this.virtualScroll&&this._renderItemsRange(o),this._lastScrollPosition=o,this._fireScrollToEnd(o)}_updateVirtualHeight(o){this._updateScrollHeight&&(this._virtualPadding.style.height=`${o}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(o=null){if(o&&this._lastScrollPosition===o)return;const f=this._panelService.calculateItems(o=o||this._scrollablePanel.scrollTop,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(f.scrollHeight),this._contentPanel.style.transform=`translateY(${f.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(f.start,f.end)),this.scroll.emit({start:f.start,end:f.end})}),$(o)&&0===this._lastScrollPosition&&(this._scrollablePanel.scrollTop=o,this._lastScrollPosition=o)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);const[o]=this.items;return this.update.emit([o]),Promise.resolve().then(()=>{const A=this._dropdown.querySelector(`#${o.htmlId}`).clientHeight;return this._virtualPadding.style.height=A*this.itemsLength+"px",this._panelService.setDimensions(A,this._scrollablePanel.clientHeight),this._panelService.dimensions})}_fireScrollToEnd(o){this._scrollToEndFired||0===o||o+this._dropdown.clientHeight>=(this.virtualScroll?this._virtualPadding:this._contentPanel).clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(o){if("auto"!==this.position)return this.position;const f=this._select.getBoundingClientRect(),A=document.documentElement.scrollTop||document.body.scrollTop;return f.top+window.pageYOffset+f.height+o.getBoundingClientRect().height>A+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){const o=this._select.getBoundingClientRect(),f=this._parent.getBoundingClientRect();this._dropdown.style.left=o.left-f.left+"px",this._dropdown.style.width=o.width+"px",this._dropdown.style.minWidth=o.width+"px"}_updateYPosition(){const o=this._select.getBoundingClientRect(),f=this._parent.getBoundingClientRect(),A=o.height;"top"===this._currentPosition?(this._dropdown.style.bottom=f.bottom-o.bottom+A+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=o.top-f.top+A+"px",this._dropdown.style.bottom="auto")}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{(0,k.R)(this._dropdown,"mousedown").pipe((0,P.R)(this._destroy$)).subscribe(o=>{"INPUT"!==o.target.tagName&&o.preventDefault()})})}}return(p=u).\u0275fac=function(o){return new(o||p)(t.Y36(t.Qsj),t.Y36(t.R0b),t.Y36(C),t.Y36(t.SBq),t.Y36(at.K0,8))},p.\u0275cmp=t.Xpm({type:p,selectors:[["ng-dropdown-panel"]],viewQuery:function(o,f){if(1&o&&(t.Gf(st,7,t.SBq),t.Gf(Rt,7,t.SBq),t.Gf(Lt,7,t.SBq)),2&o){let A;t.iGM(A=t.CRH())&&(f.contentElementRef=A.first),t.iGM(A=t.CRH())&&(f.scrollElementRef=A.first),t.iGM(A=t.CRH())&&(f.paddingElementRef=A.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[t.TTD],ngContentSelectors:rt,decls:9,vars:6,consts:[["class","ng-dropdown-header",4,"ngIf"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],["scroll",""],["padding",""],["content",""],["class","ng-dropdown-footer",4,"ngIf"],[1,"ng-dropdown-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-dropdown-footer"]],template:function(o,f){1&o&&(t.F$t(),t.YNc(0,dt,2,4,"div",0),t.TgZ(1,"div",1,2),t._UZ(3,"div",null,3),t.TgZ(5,"div",null,4),t.Hsn(7),t.qZA()(),t.YNc(8,H,2,4,"div",5)),2&o&&(t.Q6J("ngIf",f.headerTemplate),t.xp6(3),t.ekj("total-padding",f.virtualScroll),t.xp6(2),t.ekj("scrollable-content",f.virtualScroll&&f.items.length),t.xp6(3),t.Q6J("ngIf",f.footerTemplate))},dependencies:[at.O5,at.tP],encapsulation:2,changeDetection:0}),u})(),te=(()=>{var p;class u{get disabled(){return this._disabled}set disabled(o){this._disabled=this._isDisabled(o)}constructor(o){this.elementRef=o,this.stateChange$=new ot.x,this._disabled=!1}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(o){o.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}_isDisabled(o){return null!=o&&"false"!=`${o}`}}return(p=u).\u0275fac=function(o){return new(o||p)(t.Y36(t.SBq))},p.\u0275cmp=t.Xpm({type:p,selectors:[["ng-option"]],inputs:{value:"value",disabled:"disabled"},features:[t.TTD],ngContentSelectors:rt,decls:1,vars:0,template:function(o,f){1&o&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0}),u})(),Zt=(()=>{var p;class u{constructor(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}}return(p=u).\u0275fac=function(o){return new(o||p)},p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),u})(),ne=(()=>{var p;class u{warn(o){console.warn(o)}}return(p=u).\u0275fac=function(o){return new(o||p)},p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),u})();const de=new t.OlP("ng-select-selection-model");let ce=(()=>{var p;class u{get items(){return this._items}set items(o){null===o&&(o=[]),this._itemsAreUsed=!0,this._items=o}get compareWith(){return this._compareWith}set compareWith(o){if(null!=o&&!Ht(o))throw Error("`compareWith` must be a function.");this._compareWith=o}get clearSearchOnAdd(){return $(this._clearSearchOnAdd)?this._clearSearchOnAdd:$(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(o){this._clearSearchOnAdd=o}get deselectOnClick(){return $(this._deselectOnClick)?this._deselectOnClick:$(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple}set deselectOnClick(o){this._deselectOnClick=o}get disabled(){return this.readonly||this._disabled}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}constructor(o,f,A,E,Q,Dt,Ut){this.classes=o,this.autoFocus=f,this.config=A,this._cd=Dt,this._console=Ut,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=St=>!0,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new t.vpe,this.focusEvent=new t.vpe,this.changeEvent=new t.vpe,this.openEvent=new t.vpe,this.closeEvent=new t.vpe,this.searchEvent=new t.vpe,this.clearEvent=new t.vpe,this.addEvent=new t.vpe,this.removeEvent=new t.vpe,this.scroll=new t.vpe,this.scrollToEnd=new t.vpe,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=zt(),this.escapeHTML=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new ot.x,this._keyPress$=new ot.x,this._onChange=St=>{},this._onTouched=()=>{},this.clearItem=St=>{const Yt=this.selectedItems.find(oe=>oe.value===St);this.unselect(Yt)},this.trackByOption=(St,Yt)=>this.trackByFn?this.trackByFn(Yt.value):Yt,this._mergeGlobalConfig(A),this.itemsList=new V(this,E()),this.element=Q.nativeElement}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(o=>o.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(o){o.multiple&&this.itemsList.clearSelected(),o.items&&this._setItems(o.items.currentValue||[]),o.isOpen&&(this._manualOpen=$(o.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),$(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(o){if(R[o.which]){if(!1===this.keyDownFn(o))return;this.handleKeyCode(o)}else o.key&&1===o.key.length&&this._keyPress$.next(o.key.toLocaleLowerCase())}handleKeyCode(o){switch(o.which){case R.ArrowDown:this._handleArrowDown(o);break;case R.ArrowUp:this._handleArrowUp(o);break;case R.Space:this._handleSpace(o);break;case R.Enter:this._handleEnter(o);break;case R.Tab:this._handleTab(o);break;case R.Esc:this.close(),o.preventDefault();break;case R.Backspace:this._handleBackspace()}}handleMousedown(o){const f=o.target;"INPUT"!==f.tagName&&o.preventDefault(),f.classList.contains("ng-clear-wrapper")?this.handleClearClick():f.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():f.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(o){this.itemsList.clearSelected(),this._handleWriteValue(o),this._cd.markForCheck()}registerOnChange(o){this._onChange=o}registerOnTouched(o){this._onTouched=o}setDisabledState(o){this._disabled=o,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(o){!o||o.disabled||this.disabled||(this.deselectOnClick&&o.selected?this.unselect(o):this.select(o),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}select(o){o.selected||(this.itemsList.select(o),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(o.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.readOnly||this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(o){o&&(this.itemsList.unselect(o),this.focus(),this._updateNgModel(),this.removeEvent.emit(o))}selectTag(){let o;o=Ht(this.addTag)?this.addTag(this.searchTerm):this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};const f=A=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(A,null):this.itemsList.addItem(A);!function Xt(p){return p instanceof Promise}(o)?o&&this.select(f(o)):o.then(A=>this.select(f(A))).catch(()=>{})}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}get showAddTag(){if(!this._validTerm)return!1;const o=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(f=>f.label.toLowerCase()===o)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(f=>f.label.toLowerCase()===o))&&!this.loading}showNoItemsFound(){const o=0===this.itemsList.filteredItems.length;return(o&&!this._isTypeahead&&!this.loading||o&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(o){this._isComposing=!1,!this.searchWhileComposing&&this.filter(o)}filter(o){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=o,this._isTypeahead&&(this._validTerm||0===this.minTermLength)&&this.typeahead.next(o),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:o,items:this.itemsList.filteredItems.map(f=>f.value)}),this.open())}onInputFocus(o){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(o),this.focused=!0)}onInputBlur(o){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(o),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(o){o.disabled||this.itemsList.markItem(o)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){const o=this.selectedItems&&this.selectedItems[0];this.searchTerm=o&&o.label||null}_setItems(o){const f=o[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=$(f)?!Ct(f):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(o),o.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&$(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){const o=A=>{this.items=A.map(E=>({$ngOptionValue:E.value,$ngOptionLabel:E.elementRef.nativeElement.innerHTML,disabled:E.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},f=()=>{const A=(0,ut.T)(this.ngOptions.changes,this._destroy$);(0,ut.T)(...this.ngOptions.map(E=>E.stateChange$)).pipe((0,P.R)(A)).subscribe(E=>{const Q=this.itemsList.findItem(E.value);Q.disabled=E.disabled,Q.label=E.label||Q.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe((0,a.O)(this.ngOptions),(0,P.R)(this._destroy$)).subscribe(A=>{this.bindLabel=this._defaultLabel,o(A),f()})}_isValidWriteValue(o){if(!$(o)||this.multiple&&""===o||Array.isArray(o)&&0===o.length)return!1;const f=A=>!(!$(this.compareWith)&&Ct(A)&&this.bindValue&&(this._console.warn(`Setting object(${JSON.stringify(A)}) as your model with bindValue is not allowed unless [compareWith] is used.`),1));return this.multiple?Array.isArray(o)?o.every(A=>f(A)):(this._console.warn("Multiple select ngModel should be array."),!1):f(o)}_handleWriteValue(o){if(!this._isValidWriteValue(o))return;const f=A=>{let E=this.itemsList.findItem(A);if(E)this.itemsList.select(E);else{const Q=Ct(A);Q||!Q&&!this.bindValue?this.itemsList.select(this.itemsList.mapItem(A,null)):this.bindValue&&(E={[this.bindLabel]:null,[this.bindValue]:A},this.itemsList.select(this.itemsList.mapItem(E,null)))}};this.multiple?o.forEach(A=>f(A)):f(o)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe((0,P.R)(this._destroy$),(0,Z.b)(o=>this._pressedKeys.push(o)),(0,ht.b)(200),(0,J.h)(()=>this._pressedKeys.length>0),(0,N.U)(()=>this._pressedKeys.join(""))).subscribe(o=>{const f=this.itemsList.findByLabel(o);f&&(this.isOpen?(this.itemsList.markItem(f),this._scrollToMarked(),this._cd.markForCheck()):this.select(f)),this._pressedKeys=[]})}_setInputAttributes(){const o=this.searchInput.nativeElement,f={type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId,...this.inputAttrs};for(const A of Object.keys(f))o.setAttribute(A,f[A])}_updateNgModel(){const o=[];for(const A of this.selectedItems)if(this.bindValue){let E=null;E=A.children?A.value[(this.groupValue?this.bindValue:this.groupBy)||this.groupBy]:this.itemsList.resolveNested(A.value,this.bindValue),o.push(E)}else o.push(A.value);const f=this.selectedItems.map(A=>A.value);this.multiple?(this._onChange(o),this.changeEvent.emit(f)):(this._onChange($(o[0])?o[0]:null),this.changeEvent.emit(f[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(o){this.searchTerm=o,this._isTypeahead&&this.typeahead.next(o)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.deselectOnClick&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(o){!1===this.isOpen&&!this.addTag||(this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),o.preventDefault()):this.showAddTag?(this.selectTag(),o.preventDefault()):this.close():this.close())}_handleEnter(o){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}o.preventDefault()}_handleSpace(o){this.isOpen||this._manualOpen||(this.open(),o.preventDefault())}_handleArrowDown(o){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),o.preventDefault()}_handleArrowUp(o){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),o.preventDefault())}_nextItemIsTag(o){const f=this.itemsList.markedIndex+o;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(f<0||f===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){const o=this.searchTerm&&this.searchTerm.trim();return o&&o.length>=this.minTermLength}_mergeGlobalConfig(o){this.placeholder=this.placeholder||o.placeholder,this.notFoundText=this.notFoundText||o.notFoundText,this.typeToSearchText=this.typeToSearchText||o.typeToSearchText,this.addTagText=this.addTagText||o.addTagText,this.loadingText=this.loadingText||o.loadingText,this.clearAllText=this.clearAllText||o.clearAllText,this.virtualScroll=$(this.virtualScroll)?this.virtualScroll:!!$(o.disableVirtualScroll)&&!o.disableVirtualScroll,this.openOnEnter=$(this.openOnEnter)?this.openOnEnter:o.openOnEnter,this.appendTo=this.appendTo||o.appendTo,this.bindValue=this.bindValue||o.bindValue,this.bindLabel=this.bindLabel||o.bindLabel,this.appearance=this.appearance||o.appearance}}return(p=u).\u0275fac=function(o){return new(o||p)(t.$8M("class"),t.$8M("autofocus"),t.Y36(Zt),t.Y36(de),t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(ne))},p.\u0275cmp=t.Xpm({type:p,selectors:[["ng-select"]],contentQueries:function(o,f,A){if(1&o&&(t.Suo(A,Kt,5,t.Rgc),t.Suo(A,Tt,5,t.Rgc),t.Suo(A,se,5,t.Rgc),t.Suo(A,ee,5,t.Rgc),t.Suo(A,D,5,t.Rgc),t.Suo(A,U,5,t.Rgc),t.Suo(A,Y,5,t.Rgc),t.Suo(A,r,5,t.Rgc),t.Suo(A,m,5,t.Rgc),t.Suo(A,F,5,t.Rgc),t.Suo(A,K,5,t.Rgc),t.Suo(A,te,5)),2&o){let E;t.iGM(E=t.CRH())&&(f.optionTemplate=E.first),t.iGM(E=t.CRH())&&(f.optgroupTemplate=E.first),t.iGM(E=t.CRH())&&(f.labelTemplate=E.first),t.iGM(E=t.CRH())&&(f.multiLabelTemplate=E.first),t.iGM(E=t.CRH())&&(f.headerTemplate=E.first),t.iGM(E=t.CRH())&&(f.footerTemplate=E.first),t.iGM(E=t.CRH())&&(f.notFoundTemplate=E.first),t.iGM(E=t.CRH())&&(f.typeToSearchTemplate=E.first),t.iGM(E=t.CRH())&&(f.loadingTextTemplate=E.first),t.iGM(E=t.CRH())&&(f.tagTemplate=E.first),t.iGM(E=t.CRH())&&(f.loadingSpinnerTemplate=E.first),t.iGM(E=t.CRH())&&(f.ngOptions=E)}},viewQuery:function(o,f){if(1&o&&(t.Gf(mt,5),t.Gf(pt,7)),2&o){let A;t.iGM(A=t.CRH())&&(f.dropdownPanel=A.first),t.iGM(A=t.CRH())&&(f.searchInput=A.first)}},hostVars:20,hostBindings:function(o,f){1&o&&t.NdJ("keydown",function(E){return f.handleKeyDown(E)}),2&o&&t.ekj("ng-select-typeahead",f.typeahead)("ng-select-multiple",f.multiple)("ng-select-taggable",f.addTag)("ng-select-searchable",f.searchable)("ng-select-clearable",f.clearable)("ng-select-opened",f.isOpen)("ng-select",f.useDefaultClass)("ng-select-disabled",f.disabled)("ng-select-filtered",f.filtered)("ng-select-single",f.single)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",markFirst:"markFirst",placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:"loading",closeOnSelect:"closeOnSelect",hideSelected:"hideSelected",selectOnTab:"selectOnTab",openOnEnter:"openOnEnter",maxSelectedItems:"maxSelectedItems",groupBy:"groupBy",groupValue:"groupValue",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:"clearOnBackspace",labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:"tabIndex",readonly:"readonly",searchWhileComposing:"searchWhileComposing",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",typeahead:"typeahead",multiple:"multiple",addTag:"addTag",searchable:"searchable",clearable:"clearable",isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",deselectOnClick:"deselectOnClick"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[t._Bn([{provide:l.JU,useExisting:(0,t.Gpc)(()=>p),multi:!0},C]),t.TTD],decls:14,vars:19,consts:[[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[4,"ngIf"],["role","combobox","aria-haspopup","listbox",1,"ng-input"],["aria-autocomplete","list",3,"readOnly","disabled","value","input","compositionstart","compositionend","focus","blur","change"],["searchInput",""],["class","ng-clear-wrapper",3,"title",4,"ngIf"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["class","ng-dropdown-panel","role","listbox","aria-label","Options list",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","update","scroll","scrollToEnd","outsideClick",4,"ngIf"],["class","ng-value",3,"ng-value-disabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ng-value"],["defaultLabelTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],["defaultLoadingSpinnerTemplate",""],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],[1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id","update","scroll","scrollToEnd","outsideClick"],["class","ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked","click","mouseover",4,"ngFor","ngForOf","ngForTrackBy"],["class","ng-option","role","option",3,"ng-option-marked","mouseover","click",4,"ngIf"],[1,"ng-option",3,"click","mouseover"],["defaultOptionTemplate",""],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],["defaultTagTemplate",""],[1,"ng-tag-label"],["defaultNotFoundTemplate",""],[1,"ng-option","ng-option-disabled"],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""]],template:function(o,f){if(1&o){const A=t.EpF();t.TgZ(0,"div",0),t.NdJ("mousedown",function(Q){return f.handleMousedown(Q)}),t.TgZ(1,"div",1)(2,"div",2),t._uU(3),t.qZA(),t.YNc(4,yt,2,2,"ng-container",3),t.YNc(5,Nt,1,5,null,3),t.TgZ(6,"div",4)(7,"input",5,6),t.NdJ("input",function(){t.CHM(A);const Q=t.MAs(8);return t.KtG(f.filter(Q.value))})("compositionstart",function(){return f.onCompositionStart()})("compositionend",function(){t.CHM(A);const Q=t.MAs(8);return t.KtG(f.onCompositionEnd(Q.value))})("focus",function(Q){return f.onInputFocus(Q)})("blur",function(Q){return f.onInputBlur(Q)})("change",function(Q){return Q.stopPropagation()}),t.qZA()()(),t.YNc(9,Ft,4,1,"ng-container",3),t.YNc(10,kt,3,1,"span",7),t.TgZ(11,"span",8),t._UZ(12,"span",9),t.qZA()(),t.YNc(13,v,7,19,"ng-dropdown-panel",10)}2&o&&(t.ekj("ng-appearance-outline","outline"===f.appearance)("ng-has-value",f.hasValue),t.xp6(3),t.Oqu(f.placeholder),t.xp6(1),t.Q6J("ngIf",(!f.multiLabelTemplate||!f.multiple)&&f.selectedItems.length>0),t.xp6(1),t.Q6J("ngIf",f.multiple&&f.multiLabelTemplate&&f.selectedValues.length>0),t.xp6(1),t.uIk("aria-expanded",f.isOpen)("aria-owns",f.isOpen?f.dropdownId:null),t.xp6(1),t.Q6J("readOnly",!f.searchable||f.itemsList.maxItemsSelected)("disabled",f.disabled)("value",f.searchTerm?f.searchTerm:""),t.uIk("id",f.labelForId)("tabindex",f.tabIndex)("aria-activedescendant",f.isOpen?null==f.itemsList||null==f.itemsList.markedItem?null:f.itemsList.markedItem.htmlId:null)("aria-controls",f.isOpen?f.dropdownId:null),t.xp6(2),t.Q6J("ngIf",f.loading),t.xp6(1),t.Q6J("ngIf",f.showClear()),t.xp6(3),t.Q6J("ngIf",f.isOpen))},dependencies:[at.mk,at.sg,at.O5,at.tP,mt,qt],styles:['@charset "UTF-8";.ng-select{position:relative;display:block;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:none;user-select:none;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@keyframes load8{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}\n'],encapsulation:2,changeDetection:0}),u})();function me(){return new he}class he{constructor(){this._selected=[]}get value(){return this._selected}select(u,h,o){if(u.selected=!0,(!u.children||!h&&o)&&this._selected.push(u),h)if(u.parent){const f=u.parent.children.length,A=u.parent.children.filter(E=>E.selected).length;u.parent.selected=f===A}else u.children&&(this._setChildrenSelectedState(u.children,!0),this._removeChildren(u),this._selected=o&&this._activeChildren(u)?[...this._selected.filter(f=>f.parent!==u),u]:[...this._selected,...u.children.filter(f=>!f.disabled)])}unselect(u,h){if(this._selected=this._selected.filter(o=>o!==u),u.selected=!1,h)if(u.parent&&u.parent.selected){const o=u.parent.children;this._removeParent(u.parent),this._removeChildren(u.parent),this._selected.push(...o.filter(f=>f!==u&&!f.disabled)),u.parent.selected=!1}else u.children&&(this._setChildrenSelectedState(u.children,!1),this._removeChildren(u))}clear(u){this._selected=u?this._selected.filter(h=>h.disabled):[]}_setChildrenSelectedState(u,h){for(const o of u)o.disabled||(o.selected=h)}_removeChildren(u){this._selected=[...this._selected.filter(h=>h.parent!==u),...u.children.filter(h=>h.parent===u&&h.disabled&&h.selected)]}_removeParent(u){this._selected=this._selected.filter(h=>h!==u)}_activeChildren(u){return u.children.every(h=>!h.disabled||h.selected)}}let ie=(()=>{var p;class u{}return(p=u).\u0275fac=function(o){return new(o||p)},p.\u0275mod=t.oAB({type:p}),p.\u0275inj=t.cJS({providers:[{provide:de,useValue:me}],imports:[at.ez]}),u})()}}]);
1
+ "use strict";(self.webpackChunkPOS=self.webpackChunkPOS||[]).push([[1863],{1863:($t,At,i)=>{i.r(At),i.d(At,{MenuMasterModule:()=>X});var t=i(81180),l=i(56223),P=i(64190),_=i(65879),a=i(41001);let Z=(()=>{var b;class S{constructor(O,L){(0,t.Z)(this,"authService",void 0),(0,t.Z)(this,"router",void 0),this.authService=O,this.router=L}canLoad(O,L){return!this.authService.isTokenExpired()||(this.authService.returnUrl=this.getUrlRedirect(L),this.router.navigate(["/"]),!1)}getUrlRedirect(O){let L="/menu";O.forEach(vt=>L+=`/${vt.path}`);const it=this.router.getCurrentNavigation().extractedUrl.queryParams;return Object.keys(it).forEach((vt,j)=>{L=0==j?`${L}?${vt}=${it[vt]}`:`${L}&${vt}=${it[vt]}`}),L}}return b=S,(0,t.Z)(S,"\u0275fac",function(O){return new(O||b)(_.LFG(a.e),_.LFG(P.F0))}),(0,t.Z)(S,"\u0275prov",_.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"})),S})();var ht=i(10459),J=i(54165);let N=(()=>{var b;class S{constructor(O,L){(0,t.Z)(this,"cookiesService",void 0),(0,t.Z)(this,"reportService",void 0),this.cookiesService=O,this.reportService=L}canDeactivate(O,L,it){return this.cookiesService.delete("ReportFilter","/"),this.reportService.resetFilter(),!0}}return b=S,(0,t.Z)(S,"\u0275fac",function(O){return new(O||b)(_.LFG(ht.N),_.LFG(J.z))}),(0,t.Z)(S,"\u0275prov",_.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"})),S})();var W=i(86864),xt=i(78645),ot=i(32181),k=i(27921),ut=i(59773),at=i(70108),st=i(48807),Rt=i(84023),Lt=i(91925),bt=i(2425);let dt=(()=>{var b;class S{constructor(O){(0,t.Z)(this,"toastrService",void 0),(0,t.Z)(this,"isPermissionGranted",void 0),(0,t.Z)(this,"initPermissionToastr",void 0),this.toastrService=O,this.initPermissionToastr=!1}initPermission(){try{this.initPermissionToastr||Notification.requestPermission().then(L=>{this.isPermissionGranted=!1,"granted"==L&&(this.isPermissionGranted=!0),this.initPermissionToastr=!0})}catch(O){console.error(O)}}showAlert(O,L,it,ft){if(this.isPermissionGranted)try{new Notification(L,{body:O,icon:ft}).onerror=nt=>{this.toastrService.info(this.setBody(O,it),L,{timeOut:6e4,enableHtml:this.hasUrl(it)})}}catch(j){console.error(j)}else this.toastrService.info(this.setBody(O,it),L,{timeOut:6e4,enableHtml:this.hasUrl(it)})}setBody(O,L){return this.hasUrl(L)&&(O=`<a href="${L}" target="_blank" class="ps-0">${O}</a>`),O}hasUrl(O){return!(!O||0===O.length)}}return b=S,(0,t.Z)(S,"\u0275fac",function(O){return new(O||b)(_.LFG(bt._W))}),(0,t.Z)(S,"\u0275prov",_.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"})),S})();var H=i(4508),rt=i(92596),pt=i(96814),T=i(74297);function z(b,S){if(1&b&&(_.TgZ(0,"a",34),_._UZ(1,"i",35),_.TgZ(2,"span"),_._uU(3),_.qZA()()),2&b){const G=S.$implicit;_.Q6J("routerLink",null==G?null:G.U),_.xp6(1),_.Tol((null==G?null:G.I)+" me-2"),_.xp6(2),_.Oqu(null==G?null:G.T)}}const gt=function(b){return[b]};function Et(b,S){if(1&b&&(_.TgZ(0,"li",36,37)(2,"a",38),_._UZ(3,"i"),_.TgZ(4,"p"),_._uU(5),_.qZA()()()),2&b){const G=S.$implicit,O=_.oxw();_.Q6J("routerLinkActiveOptions",O.isActiveMatchOptions),_.uIk("data-cy",null==G?null:G.T),_.xp6(2),_.Q6J("matTooltip",O.toggleSideMenu?null==G?null:G.T:"")("routerLink",_.VKq(7,gt,null==G?null:G.U)),_.xp6(1),_.Tol(null==G?null:G.I),_.xp6(2),_.Oqu(null==G?null:G.T)}}const yt=function(b,S){return{"full-container":b,"subscription-bar-visible":S}};let Ot=(()=>{var b;class S{constructor(O,L,it,ft,vt,j){(0,t.Z)(this,"toggleSidebar",void 0),(0,t.Z)(this,"signalRClientService",void 0),(0,t.Z)(this,"notificationAlertService",void 0),(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"authService",void 0),(0,t.Z)(this,"intercomService",void 0),(0,t.Z)(this,"isActiveMatchOptions",{matrixParams:"subset",queryParams:"subset",paths:"subset",fragment:"exact"}),(0,t.Z)(this,"Menu",{}),(0,t.Z)(this,"KeyMenu","MenuPageData"),(0,t.Z)(this,"toggleSideMenu",!1),(0,t.Z)(this,"isNavOpen",void 0),(0,t.Z)(this,"destroy$",void 0),(0,t.Z)(this,"activeMenu",void 0),(0,t.Z)(this,"appVersion",at.N.version),(0,t.Z)(this,"currentSubStatus",void 0),(0,t.Z)(this,"subsStatusEnum",st.y),(0,t.Z)(this,"isFullContainer",!1),(0,t.Z)(this,"isHideIntercomLauncher",void 0),this.toggleSidebar=O,this.signalRClientService=L,this.notificationAlertService=it,this.router=ft,this.authService=vt,this.intercomService=j,this.Menu=JSON.parse(localStorage.getItem(this.KeyMenu)),this.toggleSidebar.toggleState$.subscribe(nt=>this.isNavOpen=nt),this.destroy$=new xt.x,this.initNotificationPermission()}ngOnInit(){this.subscribeToPushNotification(),this.getCurrentSubscriptionStatus(),this.initFullContainer()}initFullContainer(){this.router.events.pipe((0,ot.h)(O=>O instanceof P.m2),(0,k.O)(null),(0,ut.R)(this.destroy$)).subscribe(O=>{this.isFullContainer=!1,(this.router.url.includes("Sell")&&!this.router.url.includes("v2")&&!this.router.url.includes("Offline")||this.router.url.includes("Buy")&&!this.router.url.includes("V1"))&&(this.isFullContainer=!0)})}initNotificationPermission(){this.notificationAlertService.initPermission()}getCurrentSubscriptionStatus(){this.currentSubStatus=this.authService.getSubscriptionStatus()}subscribeToPushNotification(){let O=localStorage.getItem("NotificationOutletID");W.g.IsNotEmpty(O)&&this.signalRClientService.SubscribeGroup(O),this.signalRClientService.OnReceivePushNotification.pipe((0,ut.R)(this.destroy$),(0,ot.h)(L=>W.g.IsNotEmpty(L))).subscribe(L=>{if(W.g.IsNotEmpty(L)){const it=JSON.parse(L);let ft="//res.cloudinary.com/pos/image/upload/v1657006791/icons/info-new.png";W.g.IsNotEmpty(it.Icon)&&(ft=it.Icon),this.notificationAlertService.showAlert(it.Body,it.Header,it.URL,ft)}})}ngAfterViewInit(){this.intercomService.inititalizeIntercom()}toggleMenu(){this.toggleSideMenu=!this.toggleSideMenu}logout(){this.authService.logout()}isNotEmpty(O){return W.g.IsNotEmpty(O)}onShowDropdown(){this.isHideIntercomLauncher=this.intercomService.isHideLauncher()}chatToggleChange(){0==this.isHideIntercomLauncher?this.intercomService.hideLauncher():this.intercomService.showLauncher(),this.onShowDropdown()}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}}return b=S,(0,t.Z)(S,"\u0275fac",function(O){return new(O||b)(_.Y36(Rt.g),_.Y36(Lt.G),_.Y36(dt),_.Y36(P.F0),_.Y36(a.e),_.Y36(H.f))}),(0,t.Z)(S,"\u0275cmp",_.Xpm({type:b,selectors:[["POS-menu-master"]],decls:52,vars:18,consts:[[1,"wrapper"],["data-color","blue",1,"sidebar",3,"ngClass"],[1,"btn-minimize","d-md-block","d-none","p-0","border-0","bg-white",3,"click"],[1,"fa-solid",3,"ngClass"],[1,"logo"],[1,"navbar","dropdown","bg-transparent","border-0"],["data-cy","companyName","data-bs-toggle","dropdown","aria-expanded","false","matTooltipPosition","above",1,"simple-text","text-start","dropdown-toggle","d-flex","align-items-center","justify-content-center",2,"cursor","pointer",3,"matTooltip","click"],[1,"dropdown-menu"],[1,"dropdown-header","text-dark","border-bottom"],[1,"divider","m-0"],["class","dropdown-item h5",3,"routerLink",4,"ngFor","ngForOf"],[1,"dropdown-item","h5",2,"cursor","pointer"],[1,"d-flex","align-items-center","justify-content-between"],[1,"fa-solid","fa-comment-dots","me-2"],[1,"checkbox_toggle","ms-3",3,"click"],["type","checkbox","id","chatToggle","name","ChatToggle",3,"ngModel","ngModelChange"],["for","chatToggle",1,"position-relative","rounded-pill","pointer"],[1,"dropdown-item","h5",2,"cursor","pointer",3,"click"],["aria-hidden","true",1,"fa-solid","fa-sign-out-alt","me-2"],[1,"divider"],[1,"dropdown-header","border-top"],["target","_blank",1,"dropdown-item","h5","changelog",3,"href"],["aria-hidden","true",1,"fa-solid","fa-sparkles","me-2"],[1,"fa-solid","fa-circle-exclamation","ms-2",2,"font-size","16px"],["target","_blank","href","http://support.dealpos.com",1,"dropdown-item","h5"],["aria-hidden","true",1,"fa-solid","fa-book","me-2"],["target","_blank","href","https://www.dealpos.app/",1,"dropdown-item","h5"],["aria-hidden","true",1,"fa-solid","fa-table-cells-large","me-2"],["target","_blank","href","http://blog.dealpos.com",1,"dropdown-item","h5"],["aria-hidden","true",1,"fa-brands","fa-blogger","me-2"],[1,"sidebar-wrapper"],[1,"nav"],["routerLinkActive","active",3,"routerLinkActiveOptions",4,"ngFor","ngForOf"],[1,"main-panel",3,"ngClass"],[1,"dropdown-item","h5",3,"routerLink"],["aria-hidden","true"],["routerLinkActive","active",3,"routerLinkActiveOptions"],["rla","routerLinkActive"],["matTooltipPosition","above",1,"nav-link","position-relative","d-block",3,"matTooltip","routerLink"]],template:function(O,L){1&O&&(_.TgZ(0,"div",0)(1,"div",1)(2,"button",2),_.NdJ("click",function(){return L.toggleMenu()}),_._UZ(3,"i",3),_.qZA(),_.TgZ(4,"div",4)(5,"div",5)(6,"a",6),_.NdJ("click",function(){return L.onShowDropdown()}),_._uU(7),_.ALo(8,"limitTo"),_.qZA(),_.TgZ(9,"div",7)(10,"div",8),_._uU(11),_.qZA(),_._UZ(12,"div",9),_.YNc(13,z,4,4,"a",10),_.TgZ(14,"a",11)(15,"div",12)(16,"div"),_._UZ(17,"i",13),_.TgZ(18,"span"),_._uU(19,"Chat Support"),_.qZA()(),_.TgZ(20,"div",14),_.NdJ("click",function(ft){return ft.stopPropagation()}),_.TgZ(21,"input",15),_.NdJ("ngModelChange",function(){return L.chatToggleChange()}),_.qZA(),_._UZ(22,"label",16),_.qZA()()(),_.TgZ(23,"a",17),_.NdJ("click",function(){return L.logout()}),_._UZ(24,"i",18),_.TgZ(25,"span"),_._uU(26,"Log Out"),_.qZA()(),_._UZ(27,"div",19),_.TgZ(28,"div",20),_._uU(29," Links "),_.qZA(),_.TgZ(30,"a",21),_._UZ(31,"i",22),_.TgZ(32,"span"),_._uU(33,"What's New"),_._UZ(34,"i",23),_.qZA()(),_.TgZ(35,"a",24),_._UZ(36,"i",25),_.TgZ(37,"span"),_._uU(38,"Help Center"),_.qZA()(),_.TgZ(39,"a",26),_._UZ(40,"i",27),_.TgZ(41,"span"),_._uU(42,"App Store"),_.qZA()(),_.TgZ(43,"a",28),_._UZ(44,"i",29),_.TgZ(45,"span"),_._uU(46,"Company Blog"),_.qZA()()()()(),_.TgZ(47,"div",30)(48,"ul",31),_.YNc(49,Et,6,9,"li",32),_.qZA()()(),_.TgZ(50,"div",33),_._UZ(51,"router-outlet"),_.qZA()()),2&O&&(_.ekj("nav-open",L.isNavOpen),_.xp6(1),_.Q6J("ngClass",L.toggleSideMenu?"collapses":""),_.xp6(2),_.Q6J("ngClass",L.toggleSideMenu?"fa-angle-left cursor":"fa-angle-right cursor"),_.xp6(3),_.s9C("matTooltip",null==L.Menu?null:L.Menu.CompanyName),_.xp6(1),_.Oqu(_.xi3(8,12,null==L.Menu?null:L.Menu.CompanyName,L.toggleSideMenu?1:11)),_.xp6(4),_.hij("",null==L.Menu?null:L.Menu.UserName," "),_.xp6(2),_.Q6J("ngForOf",null==L.Menu?null:L.Menu.Top),_.xp6(8),_.Q6J("ngModel",!L.isHideIntercomLauncher),_.xp6(9),_.MGl("href","https://changelog.dealpos.com/?categories=cat_gAZdRhBYU7QVl&view=complete&v=",L.appVersion,"",_.LSH),_.xp6(19),_.Q6J("ngForOf",null==L.Menu?null:L.Menu.Left),_.xp6(1),_.Q6J("ngClass",_.WLB(15,yt,L.isFullContainer,L.isNotEmpty(L.currentSubStatus)&&L.currentSubStatus!==L.subsStatusEnum.PAID)))},dependencies:[rt.gM,P.lC,P.rH,P.Od,l.Wl,l.JJ,l.On,pt.mk,pt.sg,T.OI],styles:['.sidebar[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%], body[_ngcontent-%COMP%] > .navbar-collapse[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{padding:10px 0 10px 10px!important}.sidebar-wrapper[_ngcontent-%COMP%]{max-height:calc(100% - 61px)!important;min-height:calc(100% - 61px)!important;scrollbar-width:thin}@media (max-width: 991px){.sidebar-wrapper[_ngcontent-%COMP%]{overflow-y:scroll!important}}@media (pointer: coarse){.sidebar-wrapper[_ngcontent-%COMP%]{overflow-y:scroll!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}.changelog[_ngcontent-%COMP%]{color:#0006b1!important}.changelog[_ngcontent-%COMP%]:visited{color:#2e2e2e!important}.changelog[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{position:relative}.changelog[_ngcontent-%COMP%] span[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fe3a00!important;position:absolute;top:-4px;right:-18px}.changelog[_ngcontent-%COMP%]:visited span[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fff!important;position:absolute;top:-4px;right:-18px}.changelog[_ngcontent-%COMP%]:visited:hover span[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#e9ecef!important;position:absolute;top:-4px;right:-18px}.subscription-bar-visible[_ngcontent-%COMP%]{padding-top:98px}.checkbox_toggle[_ngcontent-%COMP%]{position:relative}.checkbox_toggle[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#868686;display:inline-block;padding-right:38px}.checkbox_toggle[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{width:23px;height:14px;background-color:#ccc;top:2.2px;right:0}.checkbox_toggle[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{display:none}.checkbox_toggle[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]{background-color:#1f77d0}.checkbox_toggle[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:after{left:10px}.checkbox_toggle[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:after{content:"";width:12px;height:12px;border-radius:50%;position:absolute;top:.8px;left:1px;transition:all .1s;background-color:#fff}']})),S})();const Nt=(b,S)=>{const G=(0,_.f3M)(a.e),O=G.isTokenExpired(),L=(0,_.f3M)(P.F0);return!O||(G.returnUrl=function It(b){const S=(0,_.f3M)(P.F0);let G="/menu";b.forEach(it=>G+=`/${it.path}`);const O=S.getCurrentNavigation().extractedUrl.queryParams;return Object.keys(O).forEach((it,ft)=>{G=0==ft?`${G}?${it}=${O[it]}`:`${G}&${it}=${O[it]}`}),G}(S),L.navigate(["/"]),!1)},Bt=[{path:"",component:Ot,children:[{path:"Inventory",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(1258),i.e(4982),i.e(3566),i.e(3672),i.e(3212),i.e(1476),i.e(4104),i.e(5313),i.e(9014),i.e(1530),i.e(8592),i.e(5893)]).then(i.bind(i,90759)).then(b=>b.InventoryModule),canLoad:[Z]},{path:"Reports",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(1258),i.e(4982),i.e(3566),i.e(3672),i.e(3212),i.e(1476),i.e(4104),i.e(5313),i.e(9014),i.e(1530),i.e(6436),i.e(1681),i.e(8335),i.e(8592),i.e(1977)]).then(i.bind(i,71977)).then(b=>b.ReportsModule),canLoad:[Z],canDeactivate:[N]},{path:"Sell",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(3212),i.e(4104),i.e(9591),i.e(2279),i.e(3831),i.e(617),i.e(2520),i.e(6142),i.e(9856),i.e(2183),i.e(9069),i.e(7618),i.e(7541),i.e(3576),i.e(8592),i.e(3565)]).then(i.bind(i,13666)).then(b=>b.routes),canLoad:[Z]},{path:"Print",loadChildren:()=>Promise.all([i.e(1119),i.e(2279),i.e(6142),i.e(7683)]).then(i.bind(i,87683)).then(b=>b.PrintModule),canLoad:[Z]},{path:"Buy/V1",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(3566),i.e(3212),i.e(4104),i.e(9591),i.e(3831),i.e(2520),i.e(1222),i.e(8875),i.e(9856),i.e(2183),i.e(9069),i.e(8592),i.e(7893)]).then(i.bind(i,11377)).then(b=>b.BuyModule),canLoad:[Z]},{path:"Buy",loadComponent:()=>Promise.all([i.e(1119),i.e(2735),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(3212),i.e(4104),i.e(9591),i.e(617),i.e(2520),i.e(1222),i.e(9856),i.e(2183),i.e(7541),i.e(8592),i.e(3047)]).then(i.bind(i,25986)).then(b=>b.BuyV2Component),canMatch:[Nt]},{path:"Dashboard/V1",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(6436),i.e(8592),i.e(566)]).then(i.bind(i,31563)).then(b=>b.DashboardModule),canLoad:[Z]},{path:"Dashboard",loadComponent:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(6436),i.e(8592),i.e(7859)]).then(i.bind(i,33475)).then(b=>b.DashboardV2Component),canMatch:[Nt]},{path:"Products",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(1258),i.e(4982),i.e(3566),i.e(3672),i.e(1476),i.e(4104),i.e(9591),i.e(5313),i.e(9014),i.e(1530),i.e(6436),i.e(617),i.e(1222),i.e(1681),i.e(6428),i.e(1190),i.e(8592),i.e(3942)]).then(i.bind(i,53942)).then(b=>b.ProductModule),canLoad:[Z]},{path:"Shift",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(1258),i.e(3566),i.e(3672),i.e(3212),i.e(1476),i.e(4104),i.e(7117)]).then(i.bind(i,17117)).then(b=>b.ShiftModule),canLoad:[Z]},{path:"Debt",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(1258),i.e(4982),i.e(3566),i.e(3672),i.e(3212),i.e(1476),i.e(4104),i.e(9591),i.e(5313),i.e(8592),i.e(4971)]).then(i.bind(i,91930)).then(b=>b.DebtModule),canLoad:[Z]},{path:"Logistics",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(1258),i.e(4982),i.e(3566),i.e(3672),i.e(3212),i.e(4104),i.e(9591),i.e(5313),i.e(9014),i.e(1530),i.e(3831),i.e(2520),i.e(1222),i.e(8875),i.e(3576),i.e(8335),i.e(8592),i.e(3422)]).then(i.bind(i,77818)).then(b=>b.DeliveryModule),canLoad:[Z]},{path:"Users",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(1258),i.e(4982),i.e(3566),i.e(3672),i.e(3212),i.e(1476),i.e(4104),i.e(5313),i.e(5986),i.e(8592),i.e(1775)]).then(i.bind(i,11775)).then(b=>b.UsersModule),canLoad:[Z]},{path:"Setup",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(1258),i.e(4982),i.e(3566),i.e(3212),i.e(1476),i.e(4104),i.e(9591),i.e(5313),i.e(5986),i.e(617),i.e(2358),i.e(8592),i.e(9914)]).then(i.bind(i,9914)).then(b=>b.SetupModule),canLoad:[Z]},{path:"Contacts",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(1258),i.e(4982),i.e(3566),i.e(3672),i.e(3212),i.e(1476),i.e(4104),i.e(9591),i.e(5313),i.e(5986),i.e(2358),i.e(8592),i.e(8053)]).then(i.bind(i,8629)).then(b=>b.ContactsModule),canLoad:[Z]},{path:"Outlets",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(9488),i.e(8820),i.e(1258),i.e(4982),i.e(3672),i.e(1476),i.e(9591),i.e(9014),i.e(1681),i.e(6428),i.e(8592),i.e(6865)]).then(i.bind(i,96865)).then(b=>b.OutletsModule),canLoad:[Z]},{path:"Orders",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(1258),i.e(4982),i.e(3566),i.e(3672),i.e(3212),i.e(1476),i.e(9591),i.e(7618),i.e(8592),i.e(58)]).then(i.bind(i,49235)).then(b=>b.OrdersModule),canLoad:[Z]},{path:"Profile",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(1258),i.e(4982),i.e(1476),i.e(2279),i.e(8592),i.e(6654)]).then(i.bind(i,82197)).then(b=>b.ProfileModule),canLoad:[Z]},{path:"Estimate",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(4104),i.e(9591),i.e(3831),i.e(8875),i.e(9856),i.e(9069),i.e(1880),i.e(8592),i.e(6097)]).then(i.bind(i,46490)).then(b=>b.EstimateModule),canLoad:[Z]},{path:"Adjustment",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(1258),i.e(4982),i.e(3566),i.e(3672),i.e(4104),i.e(9591),i.e(9014),i.e(5986),i.e(1530),i.e(3831),i.e(617),i.e(2520),i.e(1222),i.e(8875),i.e(1190),i.e(1880),i.e(8592),i.e(8117)]).then(i.bind(i,24499)).then(b=>b.AdjustmentModule),canLoad:[Z]},{path:"Payment",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(1258),i.e(4982),i.e(3566),i.e(3672),i.e(1476),i.e(8592),i.e(1145)]).then(i.bind(i,91145)).then(b=>b.PaymentModule),canLoad:[Z]},{path:"Promotion",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(1258),i.e(4982),i.e(3672),i.e(3212),i.e(1476),i.e(5986),i.e(8592),i.e(9484)]).then(i.bind(i,39484)).then(b=>b.PromotionModule),canLoad:[Z]},{path:"Manufacture",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(1258),i.e(3566),i.e(3672),i.e(1476),i.e(8592),i.e(7836)]).then(i.bind(i,37836)).then(b=>b.ManufactureModule),canLoad:[Z]},{path:"Prepaid_Package",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(1258),i.e(4982),i.e(3566),i.e(3672),i.e(3212),i.e(1476),i.e(5986),i.e(6436),i.e(2279),i.e(6142),i.e(7683),i.e(8592),i.e(2210)]).then(i.bind(i,62210)).then(b=>b.PrepaidPackageModule),canLoad:[Z]},{path:"Fulfillment",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(3323),i.e(7221),i.e(9488),i.e(8820),i.e(1258),i.e(4982),i.e(3566),i.e(3672),i.e(3212),i.e(9591),i.e(9014),i.e(5986),i.e(1530),i.e(8592),i.e(7714)]).then(i.bind(i,87714)).then(b=>b.FulfillmentModule),canLoad:[Z]},{path:"Unauthorized",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(222)]).then(i.bind(i,9121)).then(b=>b.UnauthorizedModule),canLoad:[Z]},{path:"Not_Found",loadChildren:()=>Promise.all([i.e(1119),i.e(2735),i.e(3044),i.e(9071)]).then(i.bind(i,52405)).then(b=>b.NotFoundModule),canLoad:[Z]},{path:"",redirectTo:"/menu/Dashboard",pathMatch:"full"},{path:"**",redirectTo:"Not_Found"}]}];let Vt=(()=>{var b;class S{}return b=S,(0,t.Z)(S,"\u0275fac",function(O){return new(O||b)}),(0,t.Z)(S,"\u0275mod",_.oAB({type:b})),(0,t.Z)(S,"\u0275inj",_.cJS({imports:[P.Bz.forChild(Bt),P.Bz]})),S})();var Ft=i(17700),kt=i(38034),Pt=i(24630),wt=i(54807),q=i(22557),_t=i(64170);let X=(()=>{var b;class S{constructor(){}}return b=S,(0,t.Z)(S,"\u0275fac",function(O){return new(O||b)}),(0,t.Z)(S,"\u0275mod",_.oAB({type:b,bootstrap:[Ot]})),(0,t.Z)(S,"\u0275inj",_.cJS({imports:[rt.AV,Vt,T.dr,l.u5,pt.ez,Ft.Is,kt.FA,wt.A0,Pt.Bb,q.Hi,_t.lN]})),S})()},54165:($t,At,i)=>{i.d(At,{z:()=>a});var t=i(81180),l=i(86864),P=i(65879),_=i(10459);let a=(()=>{var Z;class ht{constructor(N){(0,t.Z)(this,"cookieService",void 0),(0,t.Z)(this,"_reportFilter",{from:null,outletIds:[],to:null}),(0,t.Z)(this,"_cookiesName","ReportFilter"),this.cookieService=N}initOutletFilter(N=[]){let W=this.getReportFilter();return l.g.IsNotEmpty(W?.outletIds)?N=W.outletIds:this.setOutletFilter(N),N}initDateFromFilter(N){let W=this.getReportFilter();return l.g.IsNotEmpty(W?.from)?N=W.from:this.setDateFromFilter(N),N}initDateToFilter(N){let W=this.getReportFilter();return l.g.IsNotEmpty(W?.to)?N=W.to:this.setDateToFilter(N),N}setDateFromFilter(N){let W=this.getReportFilter();l.g.IsEmpty(W)&&(W=this._reportFilter),W.from=N,this.saveFilterToCookie(W)}setDateToFilter(N){let W=this.getReportFilter();l.g.IsEmpty(W)&&(W=this._reportFilter),W.to=N,this.saveFilterToCookie(W)}setOutletFilter(N=[]){let W=this.getReportFilter();l.g.IsEmpty(W)&&(W=this._reportFilter),W.outletIds=N,this.saveFilterToCookie(W)}saveFilterToCookie(N){this.cookieService.set(this._cookiesName,JSON.stringify(N),this.getExpiredDate(),"/")}getReportFilter(){if(this.cookieService.check("ReportFilter")){let N=this.cookieService.get("ReportFilter");this._reportFilter=JSON.parse(N)}return this._reportFilter}getExpiredDate(){let N=new Date;return N.setTime(N.getTime()+36e5),N}resetFilter(){this._reportFilter={from:null,outletIds:[],to:null}}}return Z=ht,(0,t.Z)(ht,"\u0275fac",function(N){return new(N||Z)(P.LFG(_.N))}),(0,t.Z)(ht,"\u0275prov",P.Yz7({token:Z,factory:Z.\u0275fac,providedIn:"root"})),ht})()},84023:($t,At,i)=>{i.d(At,{g:()=>_});var t=i(81180),l=i(65619),P=i(65879);let _=(()=>{var a;class Z{toggleSidebar(){this._toggleState.next(!this._toggleState.value)}constructor(){(0,t.Z)(this,"_toggleState",new l.X(!1)),(0,t.Z)(this,"toggleState$",this._toggleState.asObservable())}}return a=Z,(0,t.Z)(Z,"\u0275fac",function(J){return new(J||a)}),(0,t.Z)(Z,"\u0275prov",P.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})),Z})()},5177:($t,At,i)=>{i.d(At,{g:()=>k});var t=i(16321),l=i(35211),P=i(48180),_=i(79360),a=i(8251),Z=i(72420),J=i(21441),N=i(21631),W=i(54829);function xt(ut,at){return at?st=>(0,l.z)(at.pipe((0,P.q)(1),function ht(){return(0,_.e)((ut,at)=>{ut.subscribe((0,a.x)(at,Z.Z))})}()),st.pipe(xt(ut))):(0,N.z)((st,Rt)=>(0,W.Xf)(ut(st,Rt)).pipe((0,P.q)(1),(0,J.h)(st)))}var ot=i(99080);function k(ut,at=t.z){const st=(0,ot.H)(ut,at);return xt(()=>st)}},24630:($t,At,i)=>{i.d(At,{Bb:()=>vt,XC:()=>q,ZL:()=>ft});var t=i(65879),l=i(23680),P=i(96814),_=i(16672),a=i(69594),Z=i(4300),ht=i(42495),J=i(62831),N=i(86825),W=i(47394),xt=i(78645),ot=i(74911),k=i(63019),ut=i(22096),at=i(92438),st=i(36028),Rt=i(68484),Lt=i(56223),bt=i(64170),dt=i(27921),H=i(94664),rt=i(48180),pt=i(32181),T=i(37398),z=i(99397),gt=i(5177),Et=i(49388);const yt=["panel"];function Ot(j,nt){if(1&j){const lt=t.EpF();t.TgZ(0,"div",0,1),t.NdJ("@panelAnimation.done",function(I){t.CHM(lt);const B=t.oxw();return t.KtG(B._animationDone.next(I))}),t.Hsn(2),t.qZA()}if(2&j){const lt=nt.id,v=t.oxw();t.Q6J("id",v.id)("ngClass",v._classList)("@panelAnimation",v.isOpen?"visible":"hidden"),t.uIk("aria-label",v.ariaLabel||null)("aria-labelledby",v._getPanelAriaLabelledby(lt))}}const It=["*"],Nt=(0,N.X$)("panelAnimation",[(0,N.SB)("void, hidden",(0,N.oB)({opacity:0,transform:"scaleY(0.8)"})),(0,N.eR)(":enter, hidden => visible",[(0,N.ru)([(0,N.jt)("0.03s linear",(0,N.oB)({opacity:1})),(0,N.jt)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,N.oB)({transform:"scaleY(1)"}))])]),(0,N.eR)(":leave, visible => hidden",[(0,N.jt)("0.075s linear",(0,N.oB)({opacity:0}))])]);let Bt=0;class Vt{constructor(nt,lt){this.source=nt,this.option=lt}}const Ft=(0,l.Kr)(class{}),kt=new t.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function Pt(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}});let wt=(()=>{var j;class nt extends Ft{get isOpen(){return this._isOpen&&this.showPanel}_setColor(v){this._color=v,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(v){this._autoActiveFirstOption=(0,ht.Ig)(v)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(v){this._autoSelectActiveOption=(0,ht.Ig)(v)}get requireSelection(){return this._requireSelection}set requireSelection(v){this._requireSelection=(0,ht.Ig)(v)}set classList(v){this._classList=v&&v.length?(0,ht.du)(v).reduce((I,B)=>(I[B]=!0,I),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(v,I,B,ct){super(),this._changeDetectorRef=v,this._elementRef=I,this._defaults=B,this._activeOptionChanges=W.w0.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new t.vpe,this.opened=new t.vpe,this.closed=new t.vpe,this.optionActivated=new t.vpe,this._classList={},this.id="mat-autocomplete-"+Bt++,this.inertGroups=ct?.SAFARI||!1,this._autoActiveFirstOption=!!B.autoActiveFirstOption,this._autoSelectActiveOption=!!B.autoSelectActiveOption,this._requireSelection=!!B.requireSelection}ngAfterContentInit(){this._keyManager=new Z.s1(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(v=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[v]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(v){this.panel&&(this.panel.nativeElement.scrollTop=v)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(v){const I=new Vt(this,v);this.optionSelected.emit(I)}_getPanelAriaLabelledby(v){return this.ariaLabel?null:this.ariaLabelledby?(v?v+" ":"")+this.ariaLabelledby:v}_setVisibilityClasses(v){v[this._visibleClass]=this.showPanel,v[this._hiddenClass]=!this.showPanel}_setThemeClasses(v){v["mat-primary"]="primary"===this._color,v["mat-warn"]="warn"===this._color,v["mat-accent"]="accent"===this._color}_skipPredicate(v){return v.disabled}}return(j=nt).\u0275fac=function(v){return new(v||j)(t.Y36(t.sBO),t.Y36(t.SBq),t.Y36(kt),t.Y36(J.t4))},j.\u0275dir=t.lG2({type:j,viewQuery:function(v,I){if(1&v&&(t.Gf(t.Rgc,7),t.Gf(yt,5)),2&v){let B;t.iGM(B=t.CRH())&&(I.template=B.first),t.iGM(B=t.CRH())&&(I.panel=B.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",requireSelection:"requireSelection",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[t.qOj]}),nt})(),q=(()=>{var j;class nt extends wt{constructor(){super(...arguments),this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._animationDone=new t.vpe,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(v){this._hideSingleSelectionIndicator=(0,ht.Ig)(v),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const v of this.options)v._changeDetectorRef.markForCheck()}ngOnDestroy(){super.ngOnDestroy(),this._animationDone.complete()}_skipPredicate(v){return!1}}return(j=nt).\u0275fac=function(){let lt;return function(I){return(lt||(lt=t.n5z(j)))(I||j)}}(),j.\u0275cmp=t.Xpm({type:j,selectors:[["mat-autocomplete"]],contentQueries:function(v,I,B){if(1&v&&(t.Suo(B,l.K7,5),t.Suo(B,l.ey,5)),2&v){let ct;t.iGM(ct=t.CRH())&&(I.optionGroups=ct),t.iGM(ct=t.CRH())&&(I.options=ct)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matAutocomplete"],features:[t._Bn([{provide:l.HF,useExisting:j}]),t.qOj],ngContentSelectors:It,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(v,I){1&v&&(t.F$t(),t.YNc(0,Ot,3,5,"ng-template"))},dependencies:[P.mk],styles:["div.mat-mdc-autocomplete-panel{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[Nt]},changeDetection:0}),nt})();const b={provide:Lt.JU,useExisting:(0,t.Gpc)(()=>ft),multi:!0},G=new t.OlP("mat-autocomplete-scroll-strategy"),L={provide:G,deps:[a.aV],useFactory:function O(j){return()=>j.scrollStrategies.reposition()}};let it=(()=>{var j;class nt{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(v){this._autocompleteDisabled=(0,ht.Ig)(v)}constructor(v,I,B,ct,Mt,$,Ct,Xt,Ht,qt,Kt){this._element=v,this._overlay=I,this._viewContainerRef=B,this._zone=ct,this._changeDetectorRef=Mt,this._dir=Ct,this._formField=Xt,this._document=Ht,this._viewportRuler=qt,this._defaults=Kt,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=W.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new xt.x,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,ot.P)(()=>{const Tt=this.autocomplete?this.autocomplete.options:null;return Tt?Tt.changes.pipe((0,dt.O)(Tt),(0,H.w)(()=>(0,k.T)(...Tt.map(se=>se.onSelectionChange)))):this._zone.onStable.pipe((0,rt.q)(1),(0,H.w)(()=>this.optionSelections))}),this._handlePanelKeydown=Tt=>{(Tt.keyCode===st.hY&&!(0,st.Vb)(Tt)||Tt.keyCode===st.LH&&(0,st.Vb)(Tt,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),Tt.stopPropagation(),Tt.preventDefault())},this._trackedModal=null,this._scrollStrategy=$}ngAfterViewInit(){const v=this._getWindow();typeof v<"u"&&this._zone.runOutsideAngular(()=>v.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(v){v.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const v=this._getWindow();typeof v<"u"&&v.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel(),this._trackedModal&&(0,Z.Zf)(this._trackedModal,"aria-owns",this.autocomplete.id)}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal)&&(0,Z.iD)(this._trackedModal,"aria-owns",this.autocomplete.id)}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,k.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,pt.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,pt.h)(()=>this._overlayAttached)):(0,ut.of)()).pipe((0,T.U)(v=>v instanceof l.rN?v:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,k.T)((0,at.R)(this._document,"click"),(0,at.R)(this._document,"auxclick"),(0,at.R)(this._document,"touchend")).pipe((0,pt.h)(v=>{const I=(0,J.sA)(v),B=this._formField?this._formField._elementRef.nativeElement:null,ct=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&I!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!B||!B.contains(I))&&(!ct||!ct.contains(I))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(I)}))}writeValue(v){Promise.resolve(null).then(()=>this._assignOptionValue(v))}registerOnChange(v){this._onChange=v}registerOnTouched(v){this._onTouched=v}setDisabledState(v){this._element.nativeElement.disabled=v}_handleKeydown(v){const I=v.keyCode,B=(0,st.Vb)(v);if(I===st.hY&&!B&&v.preventDefault(),this.activeOption&&I===st.K5&&this.panelOpen&&!B)this.activeOption._selectViaInteraction(),this._resetActiveItem(),v.preventDefault();else if(this.autocomplete){const ct=this.autocomplete._keyManager.activeItem,Mt=I===st.LH||I===st.JH;I===st.Mf||Mt&&!B&&this.panelOpen?this.autocomplete._keyManager.onKeydown(v):Mt&&this._canOpen()&&this.openPanel(),(Mt||this.autocomplete._keyManager.activeItem!==ct)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(v){let I=v.target,B=I.value;"number"===I.type&&(B=""==B?null:parseFloat(B)),this._previousValue!==B&&(this._previousValue=B,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(B),B||this._clearPreviousSelectedOption(null,!1),this._canOpen()&&this._document.activeElement===v.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(v=!1){this._formField&&"auto"===this._formField.floatLabel&&(v?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const v=this._zone.onStable.pipe((0,rt.q)(1)),I=this.autocomplete.options.changes.pipe((0,z.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,gt.g)(0));return(0,k.T)(v,I).pipe((0,H.w)(()=>(this._zone.run(()=>{const B=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),B!==this.panelOpen&&(this.panelOpen?(this._captureValueOnAttach(),this._emitOpened()):this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,rt.q)(1)).subscribe(B=>this._setValueAndClose(B))}_emitOpened(){this.autocomplete.opened.emit()}_captureValueOnAttach(){this._valueOnAttach=this._element.nativeElement.value}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(v){const I=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(v):v;this._updateNativeInputValue(I??"")}_updateNativeInputValue(v){this._formField?this._formField._control.value=v:this._element.nativeElement.value=v,this._previousValue=v}_setValueAndClose(v){const I=this.autocomplete,B=v?v.source:this._pendingAutoselectedOption;B?(this._clearPreviousSelectedOption(B),this._assignOptionValue(B.value),this._onChange(B.value),I._emitSelectEvent(B),this._element.nativeElement.focus()):I.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),I._animationDone?I._animationDone.pipe((0,rt.q)(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(v,I){this.autocomplete?.options?.forEach(B=>{B!==v&&B.selected&&B.deselect(I)})}_attachOverlay(){let v=this._overlayRef;v?(this._positionStrategy.setOrigin(this._getConnectedElement()),v.updateSize({width:this._getPanelWidth()})):(this._portal=new Rt.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),v=this._overlay.create(this._getOverlayConfig()),this._overlayRef=v,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&v&&v.updateSize({width:this._getPanelWidth()})})),v&&!v.hasAttached()&&(v.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const I=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this._captureValueOnAttach(),this.panelOpen&&I!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const v=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=v.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=v.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new a.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const v=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(v),this._positionStrategy=v,v}_setStrategyPositions(v){const I=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],B=this._aboveClass,ct=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:B},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:B}];let Mt;Mt="above"===this.position?ct:"below"===this.position?I:[...I,...ct],v.withPositions(Mt)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const v=this.autocomplete;if(v.autoActiveFirstOption){let I=-1;for(let B=0;B<v.options.length;B++)if(!v.options.get(B).disabled){I=B;break}v._keyManager.setActiveItem(I)}else v._keyManager.setActiveItem(-1)}_canOpen(){const v=this._element.nativeElement;return!v.readOnly&&!v.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(v){const I=this.autocomplete,B=(0,l.CB)(v,I.options,I.optionGroups);if(0===v&&1===B)I._setScrollTop(0);else if(I.panel){const ct=I.options.toArray()[v];if(ct){const Mt=ct._getHostElement(),$=(0,l.jH)(Mt.offsetTop,Mt.offsetHeight,I._getScrollTop(),I.panel.nativeElement.offsetHeight);I._setScrollTop($)}}}_applyModalPanelOwnership(){const v=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!v)return;const I=this.autocomplete.id;this._trackedModal&&(0,Z.iD)(this._trackedModal,"aria-owns",I),(0,Z.Zf)(v,"aria-owns",I),this._trackedModal=v}_clearFromModal(){this._trackedModal&&((0,Z.iD)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}}return(j=nt).\u0275fac=function(v){return new(v||j)(t.Y36(t.SBq),t.Y36(a.aV),t.Y36(t.s_b),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(G),t.Y36(Et.Is,8),t.Y36(bt.G_,9),t.Y36(P.K0,8),t.Y36(_.rL),t.Y36(kt,8))},j.\u0275dir=t.lG2({type:j,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[t.TTD]}),nt})(),ft=(()=>{var j;class nt extends it{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}}return(j=nt).\u0275fac=function(){let lt;return function(I){return(lt||(lt=t.n5z(j)))(I||j)}}(),j.\u0275dir=t.lG2({type:j,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(v,I){1&v&&t.NdJ("focusin",function(){return I._handleFocus()})("blur",function(){return I._onTouched()})("input",function(ct){return I._handleInput(ct)})("keydown",function(ct){return I._handleKeydown(ct)})("click",function(){return I._handleClick()}),2&v&&t.uIk("autocomplete",I.autocompleteAttribute)("role",I.autocompleteDisabled?null:"combobox")("aria-autocomplete",I.autocompleteDisabled?null:"list")("aria-activedescendant",I.panelOpen&&I.activeOption?I.activeOption.id:null)("aria-expanded",I.autocompleteDisabled?null:I.panelOpen.toString())("aria-controls",I.autocompleteDisabled||!I.panelOpen||null==I.autocomplete?null:I.autocomplete.id)("aria-haspopup",I.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[t._Bn([b]),t.qOj]}),nt})(),vt=(()=>{var j;class nt{}return(j=nt).\u0275fac=function(v){return new(v||j)},j.\u0275mod=t.oAB({type:j}),j.\u0275inj=t.cJS({providers:[L],imports:[a.U8,l.Ng,l.BQ,P.ez,_.ZD,l.Ng,l.BQ]}),nt})()},32296:($t,At,i)=>{i.d(At,{RK:()=>kt,lW:()=>z,ot:()=>wt});var t=i(62831),l=i(65879),P=i(4300),_=i(42495),a=i(23680);const Z=["mat-button",""],ht=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],J=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],ut=["mat-icon-button",""],at=["*"],bt=[{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"]}],dt=(0,a.pj)((0,a.Id)((0,a.Kr)(class{constructor(q){this._elementRef=q}})));let H=(()=>{var q;class _t extends dt{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(b){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,b)}get disableRipple(){return this._disableRipple}set disableRipple(b){this._disableRipple=(0,_.Ig)(b),this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(b){this._disabled=(0,_.Ig)(b),this._updateRippleDisabled()}constructor(b,S,G,O){super(b),this._platform=S,this._ngZone=G,this._animationMode=O,this._focusMonitor=(0,l.f3M)(P.tE),this._rippleLoader=(0,l.f3M)(a.Fq),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const L=b.nativeElement.classList;for(const it of bt)this._hasHostAttributes(it.selector)&&it.mdcClasses.forEach(ft=>{L.add(ft)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(b="program",S){b?this._focusMonitor.focusVia(this._elementRef.nativeElement,b,S):this._elementRef.nativeElement.focus(S)}_hasHostAttributes(...b){return b.some(S=>this._elementRef.nativeElement.hasAttribute(S))}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}}return(q=_t).\u0275fac=function(b){l.$Z()},q.\u0275dir=l.lG2({type:q,features:[l.qOj]}),_t})(),z=(()=>{var q;class _t extends H{constructor(b,S,G,O){super(b,S,G,O)}}return(q=_t).\u0275fac=function(b){return new(b||q)(l.Y36(l.SBq),l.Y36(t.t4),l.Y36(l.R0b),l.Y36(l.QbO,8))},q.\u0275cmp=l.Xpm({type:q,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(b,S){2&b&&(l.uIk("disabled",S.disabled||null),l.ekj("_mat-animation-noopable","NoopAnimations"===S._animationMode)("mat-unthemed",!S.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[l.qOj],attrs:Z,ngContentSelectors:J,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(b,S){1&b&&(l.F$t(ht),l._UZ(0,"span",0),l.Hsn(1),l.TgZ(2,"span",1),l.Hsn(3,1),l.qZA(),l.Hsn(4,2),l._UZ(5,"span",2)(6,"span",3)),2&b&&l.ekj("mdc-button__ripple",!S._isFab)("mdc-fab__ripple",S._isFab)},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-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.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}),_t})(),kt=(()=>{var q;class _t extends H{constructor(b,S,G,O){super(b,S,G,O),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}}return(q=_t).\u0275fac=function(b){return new(b||q)(l.Y36(l.SBq),l.Y36(t.t4),l.Y36(l.R0b),l.Y36(l.QbO,8))},q.\u0275cmp=l.Xpm({type:q,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(b,S){2&b&&(l.uIk("disabled",S.disabled||null),l.ekj("_mat-animation-noopable","NoopAnimations"===S._animationMode)("mat-unthemed",!S.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[l.qOj],attrs:ut,ngContentSelectors:at,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(b,S){1&b&&(l.F$t(),l._UZ(0,"span",0),l.Hsn(1),l._UZ(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',".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}),_t})(),wt=(()=>{var q;class _t{}return(q=_t).\u0275fac=function(b){return new(b||q)},q.\u0275mod=l.oAB({type:q}),q.\u0275inj=l.cJS({imports:[a.BQ,a.si,a.BQ]}),_t})()},22557:($t,At,i)=>{i.d(At,{Hi:()=>ee,RA:()=>qt,oH:()=>Tt,qH:()=>O,z3:()=>lt});var t=i(42495),l=i(65879),P=i(96814),_=i(23680),a=i(4300),Z=i(78645),ht=i(63019),J=i(48180),N=i(59773),W=i(27921),xt=i(94664),ot=i(36028),k=i(49388),ut=i(56223),at=i(64170);function st(D,U){1&D&&(l.TgZ(0,"span",7),l.Hsn(1,1),l.qZA())}function Rt(D,U){1&D&&(l.TgZ(0,"span",8),l.Hsn(1,2),l.qZA())}const Lt=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],bt=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function pt(D,U){1&D&&(l.ynx(0),l._UZ(1,"span",8),l.BQk())}function T(D,U){1&D&&(l.TgZ(0,"span",9),l.Hsn(1),l.qZA())}function z(D,U){1&D&&(l.ynx(0),l.Hsn(1,1),l.BQk())}function gt(D,U){1&D&&l.Hsn(0,2,["*ngIf","contentEditInput; else defaultMatChipEditInput"])}function Et(D,U){1&D&&l._UZ(0,"span",12)}function yt(D,U){if(1&D&&(l.ynx(0),l.YNc(1,gt,1,0,"ng-content",10),l.YNc(2,Et,1,0,"ng-template",null,11,l.W1O),l.BQk()),2&D){const Y=l.MAs(3),r=l.oxw();l.xp6(1),l.Q6J("ngIf",r.contentEditInput)("ngIfElse",Y)}}function Ot(D,U){1&D&&(l.TgZ(0,"span",13),l.Hsn(1,3),l.qZA())}const It=[[["mat-chip-avatar"],["","matChipAvatar",""]],"*",[["","matChipEditInput",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],Nt=["mat-chip-avatar, [matChipAvatar]","*","[matChipEditInput]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],Bt=["*"],Ft=new l.OlP("mat-chips-default-options"),kt=new l.OlP("MatChipAvatar"),Pt=new l.OlP("MatChipTrailingIcon"),wt=new l.OlP("MatChipRemove"),q=new l.OlP("MatChip");class _t{}const X=(0,_.sb)(_t,-1);let b=(()=>{var D;class U extends X{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(r){this._disabled=(0,t.Ig)(r)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(r,m){super(),this._elementRef=r,this._parentChip=m,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===r.nativeElement.nodeName&&r.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(r){!this.disabled&&this.isInteractive&&this._isPrimary&&(r.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(r){(r.keyCode===ot.K5||r.keyCode===ot.L_)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(r.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}}return(D=U).\u0275fac=function(r){return new(r||D)(l.Y36(l.SBq),l.Y36(q))},D.\u0275dir=l.lG2({type:D,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(r,m){1&r&&l.NdJ("click",function(K){return m._handleClick(K)})("keydown",function(K){return m._handleKeydown(K)}),2&r&&(l.uIk("tabindex",m._getTabindex())("disabled",m._getDisabledAttribute())("aria-disabled",m.disabled),l.ekj("mdc-evolution-chip__action--primary",m._isPrimary)("mdc-evolution-chip__action--presentational",!m.isInteractive)("mdc-evolution-chip__action--trailing",!m._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[l.qOj]}),U})(),O=(()=>{var D;class U extends b{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(r){this.disabled||(r.stopPropagation(),r.preventDefault(),this._parentChip.remove())}_handleKeydown(r){(r.keyCode===ot.K5||r.keyCode===ot.L_)&&!this.disabled&&(r.stopPropagation(),r.preventDefault(),this._parentChip.remove())}}return(D=U).\u0275fac=function(){let Y;return function(m){return(Y||(Y=l.n5z(D)))(m||D)}}(),D.\u0275dir=l.lG2({type:D,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-mdc-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(r,m){2&r&&l.uIk("aria-hidden",null)},features:[l._Bn([{provide:wt,useExisting:D}]),l.qOj]}),U})(),L=0;const it=(0,_.sb)((0,_.pj)((0,_.Kr)((0,_.Id)(class{constructor(D){this._elementRef=D}})),"primary"),-1);let ft=(()=>{var D;class U extends it{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(r){this._value=r}get removable(){return this._removable}set removable(r){this._removable=(0,t.Ig)(r)}get highlighted(){return this._highlighted}set highlighted(r){this._highlighted=(0,t.Ig)(r)}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(r){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,r)}constructor(r,m,F,K,zt,jt,y,V){super(m),this._changeDetectorRef=r,this._ngZone=F,this._focusMonitor=K,this._globalRippleOptions=y,this._onFocus=new Z.x,this._onBlur=new Z.x,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+L++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new l.vpe,this.destroyed=new l.vpe,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=(0,l.f3M)(_.Fq),this._document=zt,this._animationsDisabled="NoopAnimations"===jt,null!=V&&(this.tabIndex=parseInt(V)??this.defaultTabIndex),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){const r=this._elementRef.nativeElement;this._isBasicChip=r.hasAttribute(this.basicChipAttrName)||r.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=(0,ht.T)(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(r){(r.keyCode===ot.ZH||r.keyCode===ot.yY)&&(r.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(r){return this._getActions().find(m=>{const F=m._elementRef.nativeElement;return F===r||F.contains(r)})}_getActions(){const r=[];return this.primaryAction&&r.push(this.primaryAction),this.removeIcon&&r.push(this.removeIcon),this.trailingIcon&&r.push(this.trailingIcon),r}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(r=>{const m=null!==r;m!==this._hasFocusInternal&&(this._hasFocusInternal=m,m?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe((0,J.q)(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}}return(D=U).\u0275fac=function(r){return new(r||D)(l.Y36(l.sBO),l.Y36(l.SBq),l.Y36(l.R0b),l.Y36(a.tE),l.Y36(P.K0),l.Y36(l.QbO,8),l.Y36(_.Y2,8),l.$8M("tabindex"))},D.\u0275cmp=l.Xpm({type:D,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(r,m,F){if(1&r&&(l.Suo(F,kt,5),l.Suo(F,Pt,5),l.Suo(F,wt,5),l.Suo(F,kt,5),l.Suo(F,Pt,5),l.Suo(F,wt,5)),2&r){let K;l.iGM(K=l.CRH())&&(m.leadingIcon=K.first),l.iGM(K=l.CRH())&&(m.trailingIcon=K.first),l.iGM(K=l.CRH())&&(m.removeIcon=K.first),l.iGM(K=l.CRH())&&(m._allLeadingIcons=K),l.iGM(K=l.CRH())&&(m._allTrailingIcons=K),l.iGM(K=l.CRH())&&(m._allRemoveIcons=K)}},viewQuery:function(r,m){if(1&r&&l.Gf(b,5),2&r){let F;l.iGM(F=l.CRH())&&(m.primaryAction=F.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(r,m){1&r&&l.NdJ("keydown",function(K){return m._handleKeydown(K)}),2&r&&(l.Ikx("id",m.id),l.uIk("role",m.role)("tabindex",m.role?m.tabIndex:null)("aria-label",m.ariaLabel),l.ekj("mdc-evolution-chip",!m._isBasicChip)("mdc-evolution-chip--disabled",m.disabled)("mdc-evolution-chip--with-trailing-action",m._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",m.leadingIcon)("mdc-evolution-chip--with-primary-icon",m.leadingIcon)("mdc-evolution-chip--with-avatar",m.leadingIcon)("mat-mdc-chip-with-avatar",m.leadingIcon)("mat-mdc-chip-highlighted",m.highlighted)("mat-mdc-chip-disabled",m.disabled)("mat-mdc-basic-chip",m._isBasicChip)("mat-mdc-standard-chip",!m._isBasicChip)("mat-mdc-chip-with-trailing-icon",m._hasTrailingIcon())("_mat-animation-noopable",m._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[l._Bn([{provide:q,useExisting:D}]),l.qOj],ngContentSelectors:bt,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(r,m){1&r&&(l.F$t(Lt),l._UZ(0,"span",0),l.TgZ(1,"span",1)(2,"span",2),l.YNc(3,st,2,0,"span",3),l.TgZ(4,"span",4),l.Hsn(5),l._UZ(6,"span",5),l.qZA()()(),l.YNc(7,Rt,2,0,"span",6)),2&r&&(l.xp6(2),l.Q6J("isInteractive",!1),l.xp6(1),l.Q6J("ngIf",m.leadingIcon),l.xp6(4),l.Q6J("ngIf",m._hasTrailingIcon()))},dependencies:[P.O5,b],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),U})(),nt=(()=>{var D;class U{constructor(r,m){this._elementRef=r,this._document=m}initialize(r){this.getNativeElement().focus(),this.setValue(r)}getNativeElement(){return this._elementRef.nativeElement}setValue(r){this.getNativeElement().textContent=r,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){const r=this._document.createRange();r.selectNodeContents(this.getNativeElement()),r.collapse(!1);const m=window.getSelection();m.removeAllRanges(),m.addRange(r)}}return(D=U).\u0275fac=function(r){return new(r||D)(l.Y36(l.SBq),l.Y36(P.K0))},D.\u0275dir=l.lG2({type:D,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]}),U})(),lt=(()=>{var D;class U extends ft{constructor(r,m,F,K,zt,jt,y,V){super(r,m,F,K,zt,jt,y,V),this.basicChipAttrName="mat-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new l.vpe,this._isEditing=!1,this.role="row",this._onBlur.pipe((0,N.R)(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_handleFocus(){!this._isEditing&&!this.disabled&&this.focus()}_handleKeydown(r){r.keyCode!==ot.K5||this.disabled?this._isEditing?r.stopPropagation():super._handleKeydown(r):this._isEditing?(r.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(r)}_handleDoubleclick(r){!this.disabled&&this.editable&&this._startEditing(r)}_startEditing(r){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(r.target)===this.removeIcon)return;const m=this.value;this._isEditing=this._editStartPending=!0,this._changeDetectorRef.detectChanges(),setTimeout(()=>{this._getEditInput().initialize(m),this._editStartPending=!1})}_onEditFinish(){this._isEditing=this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_isRippleDisabled(){return super._isRippleDisabled()||this._isEditing}_getEditInput(){return this.contentEditInput||this.defaultEditInput}}return(D=U).\u0275fac=function(r){return new(r||D)(l.Y36(l.sBO),l.Y36(l.SBq),l.Y36(l.R0b),l.Y36(a.tE),l.Y36(P.K0),l.Y36(l.QbO,8),l.Y36(_.Y2,8),l.$8M("tabindex"))},D.\u0275cmp=l.Xpm({type:D,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(r,m,F){if(1&r&&l.Suo(F,nt,5),2&r){let K;l.iGM(K=l.CRH())&&(m.contentEditInput=K.first)}},viewQuery:function(r,m){if(1&r&&l.Gf(nt,5),2&r){let F;l.iGM(F=l.CRH())&&(m.defaultEditInput=F.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(r,m){1&r&&l.NdJ("focus",function(K){return m._handleFocus(K)})("dblclick",function(K){return m._handleDoubleclick(K)}),2&r&&(l.Ikx("id",m.id),l.uIk("tabindex",m.disabled?null:-1)("aria-label",null)("aria-description",null)("role",m.role),l.ekj("mat-mdc-chip-with-avatar",m.leadingIcon)("mat-mdc-chip-disabled",m.disabled)("mat-mdc-chip-editing",m._isEditing)("mat-mdc-chip-editable",m.editable)("mdc-evolution-chip--disabled",m.disabled)("mdc-evolution-chip--with-trailing-action",m._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",m.leadingIcon)("mdc-evolution-chip--with-primary-icon",m.leadingIcon)("mdc-evolution-chip--with-avatar",m.leadingIcon)("mat-mdc-chip-highlighted",m.highlighted)("mat-mdc-chip-with-trailing-icon",m._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",editable:"editable"},outputs:{edited:"edited"},features:[l._Bn([{provide:ft,useExisting:D},{provide:q,useExisting:D}]),l.qOj],ngContentSelectors:Nt,decls:10,vars:12,consts:[[4,"ngIf"],["role","gridcell","matChipAction","",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary",3,"tabIndex","disabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label",3,"ngSwitch"],[4,"ngSwitchCase"],["aria-hidden","true",1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing","role","gridcell",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[4,"ngIf","ngIfElse"],["defaultMatChipEditInput",""],["matChipEditInput",""],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(r,m){1&r&&(l.F$t(It),l.YNc(0,pt,2,0,"ng-container",0),l.TgZ(1,"span",1),l.YNc(2,T,2,0,"span",2),l.TgZ(3,"span",3),l.YNc(4,z,2,0,"ng-container",4),l.YNc(5,yt,4,2,"ng-container",4),l._UZ(6,"span",5),l.qZA()(),l.YNc(7,Ot,2,0,"span",6),l.TgZ(8,"span",7),l._uU(9),l.qZA()),2&r&&(l.Q6J("ngIf",!m._isEditing),l.xp6(1),l.Q6J("tabIndex",m.tabIndex)("disabled",m.disabled),l.uIk("aria-label",m.ariaLabel)("aria-describedby",m._ariaDescriptionId),l.xp6(1),l.Q6J("ngIf",m.leadingIcon),l.xp6(1),l.Q6J("ngSwitch",m._isEditing),l.xp6(1),l.Q6J("ngSwitchCase",!1),l.xp6(1),l.Q6J("ngSwitchCase",!0),l.xp6(2),l.Q6J("ngIf",m._hasTrailingIcon()),l.xp6(1),l.Q6J("id",m._ariaDescriptionId),l.xp6(1),l.Oqu(m.ariaDescription))},dependencies:[P.O5,P.RF,P.n9,b,nt],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),U})();class v{constructor(U){}}const I=(0,_.sb)(v);let B=(()=>{var D;class U extends I{get chipFocusChanges(){return this._getChipStream(r=>r._onFocus)}get chipDestroyedChanges(){return this._getChipStream(r=>r.destroyed)}get disabled(){return this._disabled}set disabled(r){this._disabled=(0,t.Ig)(r),this._syncChipsState()}get empty(){return!this._chips||0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(r){this._explicitRole=r}get focused(){return this._hasFocusedChip()}constructor(r,m,F){super(r),this._elementRef=r,this._changeDetectorRef=m,this._dir=F,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new Z.x,this._defaultRole="presentation",this._disabled=!1,this._explicitRole=null,this._chipActions=new l.n_E}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(r=>r._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(r=>{r.disabled=this._disabled,r._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(r){this._originatesFromChip(r)&&this._keyManager.onKeydown(r)}_isValidIndex(r){return r>=0&&r<this._chips.length}_allowFocusEscape(){if(-1!==this.tabIndex){const r=this.tabIndex;this.tabIndex=-1,setTimeout(()=>this.tabIndex=r)}}_getChipStream(r){return this._chips.changes.pipe((0,W.O)(null),(0,xt.w)(()=>(0,ht.T)(...this._chips.map(r))))}_originatesFromChip(r){let m=r.target;for(;m&&m!==this._elementRef.nativeElement;){if(m.classList.contains("mat-mdc-chip"))return!0;m=m.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe((0,W.O)(this._chips)).subscribe(r=>{const m=[];r.forEach(F=>F._getActions().forEach(K=>m.push(K))),this._chipActions.reset(m),this._chipActions.notifyOnChanges()}),this._keyManager=new a.Em(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(r=>this._skipPredicate(r)),this.chipFocusChanges.pipe((0,N.R)(this._destroyed)).subscribe(({chip:r})=>{const m=r._getSourceAction(document.activeElement);m&&this._keyManager.updateActiveItem(m)}),this._dir?.change.pipe((0,N.R)(this._destroyed)).subscribe(r=>this._keyManager.withHorizontalOrientation(r))}_skipPredicate(r){return!r.isInteractive||r.disabled}_trackChipSetChanges(){this._chips.changes.pipe((0,W.O)(null),(0,N.R)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe((0,N.R)(this._destroyed)).subscribe(r=>{const F=this._chips.toArray().indexOf(r.chip);this._isValidIndex(F)&&r.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=F)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const r=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),m=this._chips.toArray()[r];m.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():m.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}}return(D=U).\u0275fac=function(r){return new(r||D)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(k.Is,8))},D.\u0275cmp=l.Xpm({type:D,selectors:[["mat-chip-set"]],contentQueries:function(r,m,F){if(1&r&&l.Suo(F,ft,5),2&r){let K;l.iGM(K=l.CRH())&&(m._chips=K)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(r,m){1&r&&l.NdJ("keydown",function(K){return m._handleKeydown(K)}),2&r&&l.uIk("role",m.role)},inputs:{disabled:"disabled",role:"role"},features:[l.qOj],ngContentSelectors:Bt,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(r,m){1&r&&(l.F$t(),l.TgZ(0,"div",0),l.Hsn(1),l.qZA())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),U})();class Ct{constructor(U,Y){this.source=U,this.value=Y}}class Xt extends B{constructor(U,Y,r,m,F,K,zt){super(U,Y,r),this._defaultErrorStateMatcher=m,this._parentForm=F,this._parentFormGroup=K,this.ngControl=zt,this.stateChanges=new Z.x}}const Ht=(0,_.FD)(Xt);let qt=(()=>{var D;class U extends Ht{get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(r){this._disabled=(0,t.Ig)(r),this._syncChipsState()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||0===this._chips.length)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(r){this._placeholder=r,this.stateChanges.next()}get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(ut.kI.required)??!1}set required(r){this._required=(0,t.Ig)(r),this.stateChanges.next()}get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(r){this._value=r}get chipBlurChanges(){return this._getChipStream(r=>r._onBlur)}constructor(r,m,F,K,zt,jt,y){super(r,m,F,jt,K,zt,y),this.controlType="mat-chip-grid",this._defaultRole="grid",this._ariaDescribedbyIds=[],this._onTouched=()=>{},this._onChange=()=>{},this._value=[],this.change=new l.vpe,this.valueChange=new l.vpe,this._chips=void 0,this.ngControl&&(this.ngControl.valueAccessor=this)}ngAfterContentInit(){this.chipBlurChanges.pipe((0,N.R)(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),(0,ht.T)(this.chipFocusChanges,this._chips.changes).pipe((0,N.R)(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit()}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(r){this._chipInput=r,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(r){!this.disabled&&!this._originatesFromChip(r)&&this.focus()}focus(){this.disabled||this._chipInput.focused||(!this._chips.length||this._chips.first.disabled?Promise.resolve().then(()=>this._chipInput.focus()):this._chips.length&&this._keyManager.setFirstItemActive(),this.stateChanges.next())}setDescribedByIds(r){this._ariaDescribedbyIds=r,this._chipInput?.setDescribedByIds(r)}writeValue(r){this._value=r}registerOnChange(r){this._onChange=r}registerOnTouched(r){this._onTouched=r}setDisabledState(r){this.disabled=r,this.stateChanges.next()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(r){r.keyCode===ot.Mf?this._chipInput.focused&&(0,ot.Vb)(r,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(r.preventDefault(),this._keyManager.activeItem?this._keyManager.setActiveItem(this._keyManager.activeItem):this._focusLastChip()):super._allowFocusEscape():this._chipInput.focused||super._handleKeydown(r),this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){const r=this._chips.length?this._chips.toArray().map(m=>m.value):[];this._value=r,this.change.emit(new Ct(this,r)),this.valueChange.emit(r),this._onChange(r),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}}return(D=U).\u0275fac=function(r){return new(r||D)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(k.Is,8),l.Y36(ut.F,8),l.Y36(ut.sg,8),l.Y36(_.rD),l.Y36(ut.a5,10))},D.\u0275cmp=l.Xpm({type:D,selectors:[["mat-chip-grid"]],contentQueries:function(r,m,F){if(1&r&&l.Suo(F,lt,5),2&r){let K;l.iGM(K=l.CRH())&&(m._chips=K)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(r,m){1&r&&l.NdJ("focus",function(){return m.focus()})("blur",function(){return m._blur()}),2&r&&(l.Ikx("tabIndex",m._chips&&0===m._chips.length?-1:m.tabIndex),l.uIk("role",m.role)("aria-disabled",m.disabled.toString())("aria-invalid",m.errorState),l.ekj("mat-mdc-chip-list-disabled",m.disabled)("mat-mdc-chip-list-invalid",m.errorState)("mat-mdc-chip-list-required",m.required))},inputs:{tabIndex:"tabIndex",disabled:"disabled",placeholder:"placeholder",required:"required",value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[l._Bn([{provide:at.Eo,useExisting:D}]),l.qOj],ngContentSelectors:Bt,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(r,m){1&r&&(l.F$t(),l.TgZ(0,"div",0),l.Hsn(1),l.qZA())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),U})(),Kt=0,Tt=(()=>{var D;class U{set chipGrid(r){r&&(this._chipGrid=r,this._chipGrid.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(r){this._addOnBlur=(0,t.Ig)(r)}get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(r){this._disabled=(0,t.Ig)(r)}get empty(){return!this.inputElement.value}constructor(r,m,F){this._elementRef=r,this.focused=!1,this._addOnBlur=!1,this.chipEnd=new l.vpe,this.placeholder="",this.id="mat-mdc-chip-list-input-"+Kt++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=m.separatorKeyCodes,F&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(r){if(r){if(r.keyCode===ot.ZH&&this._focusLastChipOnBackspace)return this._chipGrid._focusLastChip(),void r.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(r)}_keyup(r){!this._focusLastChipOnBackspace&&r.keyCode===ot.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,r.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipGrid.stateChanges.next()}_emitChipEnd(r){(!r||this._isSeparatorKey(r))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),r?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}setDescribedByIds(r){const m=this._elementRef.nativeElement;r.length?m.setAttribute("aria-describedby",r.join(" ")):m.removeAttribute("aria-describedby")}_isSeparatorKey(r){return!(0,ot.Vb)(r)&&new Set(this.separatorKeyCodes).has(r.keyCode)}}return(D=U).\u0275fac=function(r){return new(r||D)(l.Y36(l.SBq),l.Y36(Ft),l.Y36(at.G_,8))},D.\u0275dir=l.lG2({type:D,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(r,m){1&r&&l.NdJ("keydown",function(K){return m._keydown(K)})("keyup",function(K){return m._keyup(K)})("blur",function(){return m._blur()})("focus",function(){return m._focus()})("input",function(){return m._onInput()}),2&r&&(l.Ikx("id",m.id),l.uIk("disabled",m.disabled||null)("placeholder",m.placeholder||null)("aria-invalid",m._chipGrid&&m._chipGrid.ngControl?m._chipGrid.ngControl.invalid:null)("aria-required",m._chipGrid&&m._chipGrid.required||null)("required",m._chipGrid&&m._chipGrid.required||null))},inputs:{chipGrid:["matChipInputFor","chipGrid"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[l.TTD]}),U})(),ee=(()=>{var D;class U{}return(D=U).\u0275fac=function(r){return new(r||D)},D.\u0275mod=l.oAB({type:D}),D.\u0275inj=l.cJS({providers:[_.rD,{provide:Ft,useValue:{separatorKeyCodes:[ot.K5]}}],imports:[_.BQ,P.ez,_.si,_.BQ]}),U})()},38034:($t,At,i)=>{i.d(At,{By:()=>fe,DK:()=>xe,FA:()=>De,M5:()=>Ce,Mq:()=>p,Ti:()=>tt,_H:()=>mt,_g:()=>ve,dp:()=>ye,hl:()=>E,nW:()=>Dt,wx:()=>be,zY:()=>pe});var t=i(4300),l=i(69594),P=i(68484),_=i(96814),a=i(65879),Z=i(32296),ht=i(16672),J=i(23680),N=i(78645),W=i(47394),xt=i(63019),ot=i(22096),k=i(36028),ut=i(49388),at=i(62831),st=i(48180),Rt=i(27921),Lt=i(32181),bt=i(42495),dt=i(86825),H=i(56223),rt=i(64170),pt=i(2032);const T=["mat-calendar-body",""];function z(d,x){if(1&d&&(a.TgZ(0,"tr",3)(1,"td",4),a._uU(2),a.qZA()()),2&d){const g=a.oxw();a.xp6(1),a.Udp("padding-top",g._cellPadding)("padding-bottom",g._cellPadding),a.uIk("colspan",g.numCols),a.xp6(1),a.hij(" ",g.label," ")}}function gt(d,x){if(1&d&&(a.TgZ(0,"td",4),a._uU(1),a.qZA()),2&d){const g=a.oxw(2);a.Udp("padding-top",g._cellPadding)("padding-bottom",g._cellPadding),a.uIk("colspan",g._firstRowOffset),a.xp6(1),a.hij(" ",g._firstRowOffset>=g.labelMinRequiredCells?g.label:""," ")}}function Et(d,x){if(1&d){const g=a.EpF();a.TgZ(0,"td",8)(1,"button",9),a.NdJ("click",function(n){const c=a.CHM(g).$implicit,M=a.oxw(2);return a.KtG(M._cellClicked(c,n))})("focus",function(n){const c=a.CHM(g).$implicit,M=a.oxw(2);return a.KtG(M._emitActiveDateChange(c,n))}),a.TgZ(2,"span",10),a._uU(3),a.qZA(),a._UZ(4,"span",11),a.qZA()()}if(2&d){const g=x.$implicit,e=x.index,n=a.oxw().index,s=a.oxw();a.Udp("width",s._cellWidth)("padding-top",s._cellPadding)("padding-bottom",s._cellPadding),a.uIk("data-mat-row",n)("data-mat-col",e),a.xp6(1),a.ekj("mat-calendar-body-disabled",!g.enabled)("mat-calendar-body-active",s._isActiveCell(n,e))("mat-calendar-body-range-start",s._isRangeStart(g.compareValue))("mat-calendar-body-range-end",s._isRangeEnd(g.compareValue))("mat-calendar-body-in-range",s._isInRange(g.compareValue))("mat-calendar-body-comparison-bridge-start",s._isComparisonBridgeStart(g.compareValue,n,e))("mat-calendar-body-comparison-bridge-end",s._isComparisonBridgeEnd(g.compareValue,n,e))("mat-calendar-body-comparison-start",s._isComparisonStart(g.compareValue))("mat-calendar-body-comparison-end",s._isComparisonEnd(g.compareValue))("mat-calendar-body-in-comparison-range",s._isInComparisonRange(g.compareValue))("mat-calendar-body-preview-start",s._isPreviewStart(g.compareValue))("mat-calendar-body-preview-end",s._isPreviewEnd(g.compareValue))("mat-calendar-body-in-preview",s._isInPreview(g.compareValue)),a.Q6J("ngClass",g.cssClasses)("tabindex",s._isActiveCell(n,e)?0:-1),a.uIk("aria-label",g.ariaLabel)("aria-disabled",!g.enabled||null)("aria-pressed",s._isSelected(g.compareValue))("aria-current",s.todayValue===g.compareValue?"date":null)("aria-describedby",s._getDescribedby(g.compareValue)),a.xp6(1),a.ekj("mat-calendar-body-selected",s._isSelected(g.compareValue))("mat-calendar-body-comparison-identical",s._isComparisonIdentical(g.compareValue))("mat-calendar-body-today",s.todayValue===g.compareValue),a.xp6(1),a.hij(" ",g.displayValue," ")}}function yt(d,x){if(1&d&&(a.TgZ(0,"tr",5),a.YNc(1,gt,2,6,"td",6),a.YNc(2,Et,5,48,"td",7),a.qZA()),2&d){const g=x.$implicit,e=x.index,n=a.oxw();a.xp6(1),a.Q6J("ngIf",0===e&&n._firstRowOffset),a.xp6(1),a.Q6J("ngForOf",g)}}function Ot(d,x){if(1&d&&(a.TgZ(0,"th",5)(1,"span",6),a._uU(2),a.qZA(),a.TgZ(3,"span",7),a._uU(4),a.qZA()()),2&d){const g=x.$implicit;a.xp6(2),a.Oqu(g.long),a.xp6(2),a.Oqu(g.narrow)}}const It=["*"];function Nt(d,x){}function Bt(d,x){if(1&d){const g=a.EpF();a.TgZ(0,"mat-month-view",5),a.NdJ("activeDateChange",function(n){a.CHM(g);const s=a.oxw();return a.KtG(s.activeDate=n)})("_userSelection",function(n){a.CHM(g);const s=a.oxw();return a.KtG(s._dateSelected(n))})("dragStarted",function(n){a.CHM(g);const s=a.oxw();return a.KtG(s._dragStarted(n))})("dragEnded",function(n){a.CHM(g);const s=a.oxw();return a.KtG(s._dragEnded(n))}),a.qZA()}if(2&d){const g=a.oxw();a.Q6J("activeDate",g.activeDate)("selected",g.selected)("dateFilter",g.dateFilter)("maxDate",g.maxDate)("minDate",g.minDate)("dateClass",g.dateClass)("comparisonStart",g.comparisonStart)("comparisonEnd",g.comparisonEnd)("startDateAccessibleName",g.startDateAccessibleName)("endDateAccessibleName",g.endDateAccessibleName)("activeDrag",g._activeDrag)}}function Vt(d,x){if(1&d){const g=a.EpF();a.TgZ(0,"mat-year-view",6),a.NdJ("activeDateChange",function(n){a.CHM(g);const s=a.oxw();return a.KtG(s.activeDate=n)})("monthSelected",function(n){a.CHM(g);const s=a.oxw();return a.KtG(s._monthSelectedInYearView(n))})("selectedChange",function(n){a.CHM(g);const s=a.oxw();return a.KtG(s._goToDateInView(n,"month"))}),a.qZA()}if(2&d){const g=a.oxw();a.Q6J("activeDate",g.activeDate)("selected",g.selected)("dateFilter",g.dateFilter)("maxDate",g.maxDate)("minDate",g.minDate)("dateClass",g.dateClass)}}function Ft(d,x){if(1&d){const g=a.EpF();a.TgZ(0,"mat-multi-year-view",7),a.NdJ("activeDateChange",function(n){a.CHM(g);const s=a.oxw();return a.KtG(s.activeDate=n)})("yearSelected",function(n){a.CHM(g);const s=a.oxw();return a.KtG(s._yearSelectedInMultiYearView(n))})("selectedChange",function(n){a.CHM(g);const s=a.oxw();return a.KtG(s._goToDateInView(n,"year"))}),a.qZA()}if(2&d){const g=a.oxw();a.Q6J("activeDate",g.activeDate)("selected",g.selected)("dateFilter",g.dateFilter)("maxDate",g.maxDate)("minDate",g.minDate)("dateClass",g.dateClass)}}function kt(d,x){}const Pt=["button"];function wt(d,x){1&d&&(a.O4$(),a.TgZ(0,"svg",3),a._UZ(1,"path",4),a.qZA())}const q=[[["","matDatepickerToggleIcon",""]]],_t=["[matDatepickerToggleIcon]"],X=[[["input","matStartDate",""]],[["input","matEndDate",""]]],b=["input[matStartDate]","input[matEndDate]"];function S(d,x){1&d&&(a.TgZ(0,"div",0),a.Hsn(1),a.qZA())}let O=(()=>{var d;class x{constructor(){this.changes=new N.x,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(e,n){return`${e} \u2013 ${n}`}formatYearRangeLabel(e,n){return`${e} to ${n}`}}return(d=x).\u0275fac=function(e){return new(e||d)},d.\u0275prov=a.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),x})();class L{constructor(x,g,e,n,s={},c=x,M){this.value=x,this.displayValue=g,this.ariaLabel=e,this.enabled=n,this.cssClasses=s,this.compareValue=c,this.rawValue=M}}let it=1;const ft=(0,at.i$)({passive:!1,capture:!0}),vt=(0,at.i$)({passive:!0,capture:!0}),j=(0,at.i$)({passive:!0});let nt=(()=>{var d;class x{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(e,n){this._elementRef=e,this._ngZone=n,this._platform=(0,a.f3M)(at.t4),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new a.vpe,this.previewChange=new a.vpe,this.activeDateChange=new a.vpe,this.dragStarted=new a.vpe,this.dragEnded=new a.vpe,this._didDragSinceMouseDown=!1,this._enterHandler=s=>{if(this._skipNextFocus&&"focus"===s.type)this._skipNextFocus=!1;else if(s.target&&this.isRange){const c=this._getCellFromElement(s.target);c&&this._ngZone.run(()=>this.previewChange.emit({value:c.enabled?c:null,event:s}))}},this._touchmoveHandler=s=>{if(!this.isRange)return;const c=Mt(s),M=c?this._getCellFromElement(c):null;c!==s.target&&(this._didDragSinceMouseDown=!0),v(s.target)&&s.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:M?.enabled?M:null,event:s}))},this._leaveHandler=s=>{null!==this.previewEnd&&this.isRange&&("blur"!==s.type&&(this._didDragSinceMouseDown=!0),s.target&&this._getCellFromElement(s.target)&&(!s.relatedTarget||!this._getCellFromElement(s.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:s})))},this._mousedownHandler=s=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const c=s.target&&this._getCellFromElement(s.target);!c||!this._isInRange(c.rawValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:c.rawValue,event:s})})},this._mouseupHandler=s=>{if(!this.isRange)return;const c=v(s.target);c?c.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const M=this._getCellFromElement(c);this.dragEnded.emit({value:M?.rawValue??null,event:s})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:s})})},this._touchendHandler=s=>{const c=Mt(s);c&&this._mouseupHandler({target:c})},this._id="mat-calendar-body-"+it++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,n.runOutsideAngular(()=>{const s=e.nativeElement;s.addEventListener("touchmove",this._touchmoveHandler,ft),s.addEventListener("mouseenter",this._enterHandler,vt),s.addEventListener("focus",this._enterHandler,vt),s.addEventListener("mouseleave",this._leaveHandler,vt),s.addEventListener("blur",this._leaveHandler,vt),s.addEventListener("mousedown",this._mousedownHandler,j),s.addEventListener("touchstart",this._mousedownHandler,j),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(e,n){this._didDragSinceMouseDown||e.enabled&&this.selectedValueChange.emit({value:e.value,event:n})}_emitActiveDateChange(e,n){e.enabled&&this.activeDateChange.emit({value:e.value,event:n})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){const n=e.numCols,{rows:s,numCols:c}=this;(e.rows||n)&&(this._firstRowOffset=s&&s.length&&s[0].length?c-s[0].length:0),(e.cellAspectRatio||n||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/c+"%"),(n||!this._cellWidth)&&(this._cellWidth=100/c+"%")}ngOnDestroy(){const e=this._elementRef.nativeElement;e.removeEventListener("touchmove",this._touchmoveHandler,ft),e.removeEventListener("mouseenter",this._enterHandler,vt),e.removeEventListener("focus",this._enterHandler,vt),e.removeEventListener("mouseleave",this._leaveHandler,vt),e.removeEventListener("blur",this._leaveHandler,vt),e.removeEventListener("mousedown",this._mousedownHandler,j),e.removeEventListener("touchstart",this._mousedownHandler,j),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(e,n){let s=e*this.numCols+n;return e&&(s-=this._firstRowOffset),s==this.activeCell}_focusActiveCell(e=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,st.q)(1)).subscribe(()=>{setTimeout(()=>{const n=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");n&&(e||(this._skipNextFocus=!0),n.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return I(e,this.startValue,this.endValue)}_isRangeEnd(e){return B(e,this.startValue,this.endValue)}_isInRange(e){return ct(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return I(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,n,s){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let c=this.rows[n][s-1];if(!c){const M=this.rows[n-1];c=M&&M[M.length-1]}return c&&!this._isRangeEnd(c.compareValue)}_isComparisonBridgeEnd(e,n,s){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let c=this.rows[n][s+1];if(!c){const M=this.rows[n+1];c=M&&M[0]}return c&&!this._isRangeStart(c.compareValue)}_isComparisonEnd(e){return B(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return ct(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return I(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return B(e,this.previewStart,this.previewEnd)}_isInPreview(e){return ct(e,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(e){return this.isRange?this.startValue===e&&this.endValue===e?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===e?this._startDateLabelId:this.endValue===e?this._endDateLabelId:null:null}_getCellFromElement(e){const n=v(e);if(n){const s=n.getAttribute("data-mat-row"),c=n.getAttribute("data-mat-col");if(s&&c)return this.rows[parseInt(s)][parseInt(c)]}return null}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(a.SBq),a.Y36(a.R0b))},d.\u0275cmp=a.Xpm({type:d,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[a.TTD],attrs:T,decls:6,vars:6,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],[1,"mat-calendar-body-hidden-label",3,"id"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(e,n){1&e&&(a.YNc(0,z,3,6,"tr",0),a.YNc(1,yt,3,2,"tr",1),a.TgZ(2,"label",2),a._uU(3),a.qZA(),a.TgZ(4,"label",2),a._uU(5),a.qZA()),2&e&&(a.Q6J("ngIf",n._firstRowOffset<n.labelMinRequiredCells),a.xp6(1),a.Q6J("ngForOf",n.rows),a.xp6(1),a.Q6J("id",n._startDateLabelId),a.xp6(1),a.hij(" ",n.startDateAccessibleName,"\n"),a.xp6(1),a.Q6J("id",n._endDateLabelId),a.xp6(1),a.hij(" ",n.endDateAccessibleName,"\n"))},dependencies:[_.mk,_.sg,_.O5],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-outline-color)}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%;font-size:var(--mat-datepicker-calendar-body-label-text-size);font-weight:var(--mat-datepicker-calendar-body-label-text-weight);color:var(--mat-datepicker-calendar-body-label-text-color)}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;display:block;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview{color:var(--mat-datepicker-calendar-date-preview-state-outline-color)}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color)}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color);border-color:var(--mat-datepicker-calendar-date-outline-color)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color)}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color)}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color);color:var(--mat-datepicker-calendar-date-selected-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color)}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color)}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color)}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color)}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}'],encapsulation:2,changeDetection:0}),x})();function lt(d){return"TD"===d?.nodeName}function v(d){let x;return lt(d)?x=d:lt(d.parentNode)?x=d.parentNode:lt(d.parentNode?.parentNode)&&(x=d.parentNode.parentNode),null!=x?.getAttribute("data-mat-row")?x:null}function I(d,x,g){return null!==g&&x!==g&&d<g&&d===x}function B(d,x,g){return null!==x&&x!==g&&d>=x&&d===g}function ct(d,x,g,e){return e&&null!==x&&null!==g&&x!==g&&d>=x&&d<=g}function Mt(d){const x=d.changedTouches[0];return document.elementFromPoint(x.clientX,x.clientY)}class ${constructor(x,g){this.start=x,this.end=g}}let Ct=(()=>{var d;class x{constructor(e,n){this.selection=e,this._adapter=n,this._selectionChanged=new N.x,this.selectionChanged=this._selectionChanged,this.selection=e}updateSelection(e,n){const s=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:n,oldValue:s})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}}return(d=x).\u0275fac=function(e){a.$Z()},d.\u0275prov=a.Yz7({token:d,factory:d.\u0275fac}),x})(),Xt=(()=>{var d;class x extends Ct{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const e=new x(this._adapter);return e.updateSelection(this.selection,this),e}}return(d=x).\u0275fac=function(e){return new(e||d)(a.LFG(J._A))},d.\u0275prov=a.Yz7({token:d,factory:d.\u0275fac}),x})(),Ht=(()=>{var d;class x extends Ct{constructor(e){super(new $(null,null),e)}add(e){let{start:n,end:s}=this.selection;null==n?n=e:null==s?s=e:(n=e,s=null),super.updateSelection(new $(n,s),this)}isValid(){const{start:e,end:n}=this.selection;return null==e&&null==n||(null!=e&&null!=n?this._isValidDateInstance(e)&&this._isValidDateInstance(n)&&this._adapter.compareDate(e,n)<=0:(null==e||this._isValidDateInstance(e))&&(null==n||this._isValidDateInstance(n)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}clone(){const e=new x(this._adapter);return e.updateSelection(this.selection,this),e}}return(d=x).\u0275fac=function(e){return new(e||d)(a.LFG(J._A))},d.\u0275prov=a.Yz7({token:d,factory:d.\u0275fac}),x})();const Kt={provide:Ct,deps:[[new a.FiY,new a.tp0,Ct],J._A],useFactory:function qt(d,x){return d||new Xt(x)}},se={provide:Ct,deps:[[new a.FiY,new a.tp0,Ct],J._A],useFactory:function Tt(d,x){return d||new Ht(x)}},ee=new a.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let D=(()=>{var d;class x{constructor(e){this._dateAdapter=e}selectionFinished(e,n){let{start:s,end:c}=n;return null==s?s=e:null==c&&e&&this._dateAdapter.compareDate(e,s)>=0?c=e:(s=e,c=null),new $(s,c)}createPreview(e,n){let s=null,c=null;return n.start&&!n.end&&e&&(s=n.start,c=e),new $(s,c)}createDrag(e,n,s){let c=n.start,M=n.end;if(!c||!M)return null;const et=this._dateAdapter,Wt=0!==et.compareDate(c,M),Qt=et.getYear(s)-et.getYear(e),le=et.getMonth(s)-et.getMonth(e),Jt=et.getDate(s)-et.getDate(e);return Wt&&et.sameDate(e,n.start)?(c=s,et.compareDate(s,M)>0&&(M=et.addCalendarYears(M,Qt),M=et.addCalendarMonths(M,le),M=et.addCalendarDays(M,Jt))):Wt&&et.sameDate(e,n.end)?(M=s,et.compareDate(s,c)<0&&(c=et.addCalendarYears(c,Qt),c=et.addCalendarMonths(c,le),c=et.addCalendarDays(c,Jt))):(c=et.addCalendarYears(c,Qt),c=et.addCalendarMonths(c,le),c=et.addCalendarDays(c,Jt),M=et.addCalendarYears(M,Qt),M=et.addCalendarMonths(M,le),M=et.addCalendarDays(M,Jt)),new $(c,M)}}return(d=x).\u0275fac=function(e){return new(e||d)(a.LFG(J._A))},d.\u0275prov=a.Yz7({token:d,factory:d.\u0275fac}),x})();const Y={provide:ee,deps:[[new a.FiY,new a.tp0,ee],J._A],useFactory:function U(d,x){return d||new D(x)}};let m=(()=>{var d;class x{get activeDate(){return this._activeDate}set activeDate(e){const n=this._activeDate,s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(s,this.minDate,this.maxDate),this._hasSameMonthAndYear(n,this._activeDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof $?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}constructor(e,n,s,c,M){this._changeDetectorRef=e,this._dateFormats=n,this._dateAdapter=s,this._dir=c,this._rangeStrategy=M,this._rerenderSubscription=W.w0.EMPTY,this.activeDrag=null,this.selectedChange=new a.vpe,this._userSelection=new a.vpe,this.dragStarted=new a.vpe,this.dragEnded=new a.vpe,this.activeDateChange=new a.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Rt.O)(null)).subscribe(()=>this._init())}ngOnChanges(e){const n=e.comparisonStart||e.comparisonEnd;n&&!n.firstChange&&this._setRanges(this.selected),e.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){const n=e.value,s=this._getDateFromDayOfMonth(n);let c,M;this._selected instanceof $?(c=this._getDateInCurrentMonth(this._selected.start),M=this._getDateInCurrentMonth(this._selected.end)):c=M=this._getDateInCurrentMonth(this._selected),(c!==n||M!==n)&&this.selectedChange.emit(s),this._userSelection.emit({value:s,event:e.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(e){const s=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(e.value),this._dateAdapter.compareDate(s,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(e){const n=this._activeDate,s=this._isRtl();switch(e.keyCode){case k.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,s?1:-1);break;case k.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,s?-1:1);break;case k.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case k.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case k.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case k.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case k.Ku:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case k.VM:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case k.K5:case k.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&e.preventDefault());case k.hY:return void(null!=this._previewEnd&&!(0,k.Vb)(e)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:e}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e})),e.preventDefault(),e.stopPropagation()));default:return}this._dateAdapter.compareDate(n,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===k.L_||e.keyCode===k.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:e,value:n}){if(this._rangeStrategy){const s=n?n.rawValue:null,c=this._rangeStrategy.createPreview(s,this.selected,e);if(this._previewStart=this._getCellCompareValue(c.start),this._previewEnd=this._getCellCompareValue(c.end),this.activeDrag&&s){const M=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,s,e);M&&(this._previewStart=this._getCellCompareValue(M.start),this._previewEnd=this._getCellCompareValue(M.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(e){if(this.activeDrag)if(e.value){const n=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,e.value,e.event);this.dragEnded.emit({value:n??null,event:e.event})}else this.dragEnded.emit({value:null,event:e.event})}_getDateFromDayOfMonth(e){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),e)}_initWeekdays(){const e=this._dateAdapter.getFirstDayOfWeek(),n=this._dateAdapter.getDayOfWeekNames("narrow");let c=this._dateAdapter.getDayOfWeekNames("long").map((M,et)=>({long:M,narrow:n[et]}));this._weekdays=c.slice(e).concat(c.slice(0,e))}_createWeekCells(){const e=this._dateAdapter.getNumDaysInMonth(this.activeDate),n=this._dateAdapter.getDateNames();this._weeks=[[]];for(let s=0,c=this._firstWeekOffset;s<e;s++,c++){7==c&&(this._weeks.push([]),c=0);const M=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),s+1),et=this._shouldEnableDate(M),Wt=this._dateAdapter.format(M,this._dateFormats.display.dateA11yLabel),Qt=this.dateClass?this.dateClass(M,"month"):void 0;this._weeks[this._weeks.length-1].push(new L(s+1,n[s],Wt,et,Qt,this._getCellCompareValue(M),M))}}_shouldEnableDate(e){return!!e&&(!this.minDate||this._dateAdapter.compareDate(e,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,n){return!(!e||!n||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(n)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(n))}_getCellCompareValue(e){if(e){const n=this._dateAdapter.getYear(e),s=this._dateAdapter.getMonth(e),c=this._dateAdapter.getDate(e);return new Date(n,s,c).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(e){e instanceof $?(this._rangeStart=this._getCellCompareValue(e.start),this._rangeEnd=this._getCellCompareValue(e.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(e),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(e){return!this.dateFilter||this.dateFilter(e)}_clearPreview(){this._previewStart=this._previewEnd=null}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(a.sBO),a.Y36(J.sG,8),a.Y36(J._A,8),a.Y36(ut.Is,8),a.Y36(ee,8))},d.\u0275cmp=a.Xpm({type:d,selectors:[["mat-month-view"]],viewQuery:function(e,n){if(1&e&&a.Gf(nt,5),2&e){let s;a.iGM(s=a.CRH())&&(n._matCalendarBody=s.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[a.TTD],decls:7,vars:15,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(e,n){1&e&&(a.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),a.YNc(3,Ot,5,2,"th",2),a.qZA(),a.TgZ(4,"tr"),a._UZ(5,"th",3),a.qZA()(),a.TgZ(6,"tbody",4),a.NdJ("selectedValueChange",function(c){return n._dateSelected(c)})("activeDateChange",function(c){return n._updateActiveDate(c)})("previewChange",function(c){return n._previewChanged(c)})("dragStarted",function(c){return n.dragStarted.emit(c)})("dragEnded",function(c){return n._dragEnded(c)})("keyup",function(c){return n._handleCalendarBodyKeyup(c)})("keydown",function(c){return n._handleCalendarBodyKeydown(c)}),a.qZA()()),2&e&&(a.xp6(3),a.Q6J("ngForOf",n._weekdays),a.xp6(3),a.Q6J("label",n._monthLabel)("rows",n._weeks)("todayValue",n._todayDate)("startValue",n._rangeStart)("endValue",n._rangeEnd)("comparisonStart",n._comparisonRangeStart)("comparisonEnd",n._comparisonRangeEnd)("previewStart",n._previewStart)("previewEnd",n._previewEnd)("isRange",n._isRange)("labelMinRequiredCells",3)("activeCell",n._dateAdapter.getDate(n.activeDate)-1)("startDateAccessibleName",n.startDateAccessibleName)("endDateAccessibleName",n.endDateAccessibleName))},dependencies:[_.sg,nt],encapsulation:2,changeDetection:0}),x})();const F=24;let zt=(()=>{var d;class x{get activeDate(){return this._activeDate}set activeDate(e){let n=this._activeDate;const s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(s,this.minDate,this.maxDate),jt(this._dateAdapter,n,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof $?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}constructor(e,n,s){this._changeDetectorRef=e,this._dateAdapter=n,this._dir=s,this._rerenderSubscription=W.w0.EMPTY,this.selectedChange=new a.vpe,this.yearSelected=new a.vpe,this.activeDateChange=new a.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Rt.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const n=this._dateAdapter.getYear(this._activeDate)-y(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let s=0,c=[];s<F;s++)c.push(n+s),4==c.length&&(this._years.push(c.map(M=>this._createCellForYear(M))),c=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){const n=e.value,s=this._dateAdapter.createDate(n,0,1),c=this._getDateFromYear(n);this.yearSelected.emit(s),this.selectedChange.emit(c)}_updateActiveDate(e){const s=this._activeDate;this.activeDate=this._getDateFromYear(e.value),this._dateAdapter.compareDate(s,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){const n=this._activeDate,s=this._isRtl();switch(e.keyCode){case k.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,s?1:-1);break;case k.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,s?-1:1);break;case k.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case k.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case k.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-y(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case k.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,F-y(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case k.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10*-F:-F);break;case k.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10*F:F);break;case k.K5:case k.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===k.L_||e.keyCode===k.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_getActiveCell(){return y(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(e){const n=this._dateAdapter.getMonth(this.activeDate),s=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,n,1));return this._dateAdapter.createDate(e,n,Math.min(this._dateAdapter.getDate(this.activeDate),s))}_createCellForYear(e){const n=this._dateAdapter.createDate(e,0,1),s=this._dateAdapter.getYearName(n),c=this.dateClass?this.dateClass(n,"multi-year"):void 0;return new L(e,s,s,this._shouldEnableYear(e),c)}_shouldEnableYear(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let s=this._dateAdapter.createDate(e,0,1);this._dateAdapter.getYear(s)==e;s=this._dateAdapter.addCalendarDays(s,1))if(this.dateFilter(s))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(e){if(this._selectedYear=null,e instanceof $){const n=e.start||e.end;n&&(this._selectedYear=this._dateAdapter.getYear(n))}else e&&(this._selectedYear=this._dateAdapter.getYear(e))}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(a.sBO),a.Y36(J._A,8),a.Y36(ut.Is,8))},d.\u0275cmp=a.Xpm({type:d,selectors:[["mat-multi-year-view"]],viewQuery:function(e,n){if(1&e&&a.Gf(nt,5),2&e){let s;a.iGM(s=a.CRH())&&(n._matCalendarBody=s.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(e,n){1&e&&(a.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),a._UZ(3,"th",2),a.qZA()(),a.TgZ(4,"tbody",3),a.NdJ("selectedValueChange",function(c){return n._yearSelected(c)})("activeDateChange",function(c){return n._updateActiveDate(c)})("keyup",function(c){return n._handleCalendarBodyKeyup(c)})("keydown",function(c){return n._handleCalendarBodyKeydown(c)}),a.qZA()()),2&e&&(a.xp6(4),a.Q6J("rows",n._years)("todayValue",n._todayYear)("startValue",n._selectedYear)("endValue",n._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",n._getActiveCell()))},dependencies:[nt],encapsulation:2,changeDetection:0}),x})();function jt(d,x,g,e,n){const s=d.getYear(x),c=d.getYear(g),M=V(d,e,n);return Math.floor((s-M)/F)===Math.floor((c-M)/F)}function y(d,x,g,e){return function R(d,x){return(d%x+x)%x}(d.getYear(x)-V(d,g,e),F)}function V(d,x,g){let e=0;return g?e=d.getYear(g)-F+1:x&&(e=d.getYear(x)),e}let C=(()=>{var d;class x{get activeDate(){return this._activeDate}set activeDate(e){let n=this._activeDate;const s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(s,this.minDate,this.maxDate),this._dateAdapter.getYear(n)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof $?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}constructor(e,n,s,c){this._changeDetectorRef=e,this._dateFormats=n,this._dateAdapter=s,this._dir=c,this._rerenderSubscription=W.w0.EMPTY,this.selectedChange=new a.vpe,this.monthSelected=new a.vpe,this.activeDateChange=new a.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Rt.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){const n=e.value,s=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),n,1);this.monthSelected.emit(s);const c=this._getDateFromMonth(n);this.selectedChange.emit(c)}_updateActiveDate(e){const s=this._activeDate;this.activeDate=this._getDateFromMonth(e.value),this._dateAdapter.compareDate(s,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){const n=this._activeDate,s=this._isRtl();switch(e.keyCode){case k.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,s?1:-1);break;case k.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,s?-1:1);break;case k.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case k.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case k.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case k.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case k.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case k.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case k.K5:case k.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===k.L_||e.keyCode===k.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(n=>n.map(s=>this._createCellForMonth(s,e[s]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_getDateFromMonth(e){const n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),s=this._dateAdapter.getNumDaysInMonth(n);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),s))}_createCellForMonth(e,n){const s=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),c=this._dateAdapter.format(s,this._dateFormats.display.monthYearA11yLabel),M=this.dateClass?this.dateClass(s,"year"):void 0;return new L(e,n.toLocaleUpperCase(),c,this._shouldEnableMonth(e),M)}_shouldEnableMonth(e){const n=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(n,e)||this._isYearAndMonthBeforeMinDate(n,e))return!1;if(!this.dateFilter)return!0;for(let c=this._dateAdapter.createDate(n,e,1);this._dateAdapter.getMonth(c)==e;c=this._dateAdapter.addCalendarDays(c,1))if(this.dateFilter(c))return!0;return!1}_isYearAndMonthAfterMaxDate(e,n){if(this.maxDate){const s=this._dateAdapter.getYear(this.maxDate),c=this._dateAdapter.getMonth(this.maxDate);return e>s||e===s&&n>c}return!1}_isYearAndMonthBeforeMinDate(e,n){if(this.minDate){const s=this._dateAdapter.getYear(this.minDate),c=this._dateAdapter.getMonth(this.minDate);return e<s||e===s&&n<c}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(e){this._selectedMonth=e instanceof $?this._getMonthInCurrentYear(e.start)||this._getMonthInCurrentYear(e.end):this._getMonthInCurrentYear(e)}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(a.sBO),a.Y36(J.sG,8),a.Y36(J._A,8),a.Y36(ut.Is,8))},d.\u0275cmp=a.Xpm({type:d,selectors:[["mat-year-view"]],viewQuery:function(e,n){if(1&e&&a.Gf(nt,5),2&e){let s;a.iGM(s=a.CRH())&&(n._matCalendarBody=s.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(e,n){1&e&&(a.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),a._UZ(3,"th",2),a.qZA()(),a.TgZ(4,"tbody",3),a.NdJ("selectedValueChange",function(c){return n._monthSelected(c)})("activeDateChange",function(c){return n._updateActiveDate(c)})("keyup",function(c){return n._handleCalendarBodyKeyup(c)})("keydown",function(c){return n._handleCalendarBodyKeydown(c)}),a.qZA()()),2&e&&(a.xp6(4),a.Q6J("label",n._yearLabel)("rows",n._months)("todayValue",n._todayMonth)("startValue",n._selectedMonth)("endValue",n._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",n._dateAdapter.getMonth(n.activeDate)))},dependencies:[nt],encapsulation:2,changeDetection:0}),x})(),w=1,tt=(()=>{var d;class x{constructor(e,n,s,c,M){this._intl=e,this.calendar=n,this._dateAdapter=s,this._dateFormats=c,this._id="mat-calendar-header-"+w++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>M.markForCheck())}get periodButtonText(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-F)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:F)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(e,n){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(n)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(n):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(n):jt(this._dateAdapter,e,n,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const n=this._dateAdapter.getYear(this.calendar.activeDate)-y(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),s=n+F-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(n,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(s,0,1))]}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(O),a.Y36((0,a.Gpc)(()=>mt)),a.Y36(J._A,8),a.Y36(J.sG,8),a.Y36(a.sBO))},d.\u0275cmp=a.Xpm({type:d,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:It,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"],[1,"mat-calendar-hidden-label",3,"id"]],template:function(e,n){1&e&&(a.F$t(),a.TgZ(0,"div",0)(1,"div",1)(2,"button",2),a.NdJ("click",function(){return n.currentPeriodClicked()}),a.TgZ(3,"span",3),a._uU(4),a.qZA(),a.O4$(),a.TgZ(5,"svg",4),a._UZ(6,"polygon",5),a.qZA()(),a.kcU(),a._UZ(7,"div",6),a.Hsn(8),a.TgZ(9,"button",7),a.NdJ("click",function(){return n.previousClicked()}),a.qZA(),a.TgZ(10,"button",8),a.NdJ("click",function(){return n.nextClicked()}),a.qZA()()(),a.TgZ(11,"label",9),a._uU(12),a.qZA()),2&e&&(a.xp6(2),a.uIk("aria-label",n.periodButtonLabel)("aria-describedby",n._periodButtonLabelId),a.xp6(2),a.Oqu(n.periodButtonText),a.xp6(1),a.ekj("mat-calendar-invert","month"!==n.calendar.currentView),a.xp6(4),a.Q6J("disabled",!n.previousEnabled()),a.uIk("aria-label",n.prevButtonLabel),a.xp6(1),a.Q6J("disabled",!n.nextEnabled()),a.uIk("aria-label",n.nextButtonLabel),a.xp6(1),a.Q6J("id",n._periodButtonLabelId),a.xp6(1),a.Oqu(n.periodButtonDescription))},dependencies:[Z.lW,Z.RK],encapsulation:2,changeDetection:0}),x})(),mt=(()=>{var d;class x{get startAt(){return this._startAt}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get selected(){return this._selected}set selected(e){this._selected=e instanceof $?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(e){const n=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),n&&this.viewChanged.emit(n)}constructor(e,n,s,c){this._dateAdapter=n,this._dateFormats=s,this._changeDetectorRef=c,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new a.vpe,this.yearSelected=new a.vpe,this.monthSelected=new a.vpe,this.viewChanged=new a.vpe(!0),this._userSelection=new a.vpe,this._userDragDrop=new a.vpe,this._activeDrag=null,this.stateChanges=new N.x,this._intlChanges=e.changes.subscribe(()=>{c.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new P.C5(this.headerComponent||tt),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){const n=e.minDate&&!this._dateAdapter.sameDate(e.minDate.previousValue,e.minDate.currentValue)?e.minDate:void 0,s=e.maxDate&&!this._dateAdapter.sameDate(e.maxDate.previousValue,e.maxDate.currentValue)?e.maxDate:void 0,c=n||s||e.dateFilter;if(c&&!c.firstChange){const M=this._getCurrentViewComponent();M&&(this._changeDetectorRef.detectChanges(),M._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(e){const n=e.value;(this.selected instanceof $||n&&!this._dateAdapter.sameDate(n,this.selected))&&this.selectedChange.emit(n),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,n){this.activeDate=e,this.currentView=n}_dragStarted(e){this._activeDrag=e}_dragEnded(e){this._activeDrag&&(e.value&&this._userDragDrop.emit(e),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(O),a.Y36(J._A,8),a.Y36(J.sG,8),a.Y36(a.sBO))},d.\u0275cmp=a.Xpm({type:d,selectors:[["mat-calendar"]],viewQuery:function(e,n){if(1&e&&(a.Gf(m,5),a.Gf(C,5),a.Gf(zt,5)),2&e){let s;a.iGM(s=a.CRH())&&(n.monthView=s.first),a.iGM(s=a.CRH())&&(n.yearView=s.first),a.iGM(s=a.CRH())&&(n.multiYearView=s.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[a._Bn([Kt]),a.TTD],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(e,n){1&e&&(a.YNc(0,Nt,0,0,"ng-template",0),a.TgZ(1,"div",1),a.YNc(2,Bt,1,11,"mat-month-view",2),a.YNc(3,Vt,1,6,"mat-year-view",3),a.YNc(4,Ft,1,6,"mat-multi-year-view",4),a.qZA()),2&e&&(a.Q6J("cdkPortalOutlet",n._calendarHeaderPortal),a.xp6(1),a.Q6J("ngSwitch",n.currentView),a.xp6(1),a.Q6J("ngSwitchCase","month"),a.xp6(1),a.Q6J("ngSwitchCase","year"),a.xp6(1),a.Q6J("ngSwitchCase","multi-year"))},dependencies:[_.RF,_.n9,t.kH,P.Pl,m,C,zt],styles:['.mat-calendar{display:block;font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size);font-weight:var(--mat-datepicker-calendar-period-button-text-weight)}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color)}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-datepicker-content .mat-calendar-previous-button,.mat-datepicker-content .mat-calendar-next-button{color:var(--mat-datepicker-calendar-navigation-button-icon-color)}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color);font-size:var(--mat-datepicker-calendar-header-text-size);font-weight:var(--mat-datepicker-calendar-header-text-weight)}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}.mat-calendar-hidden-label{display:none}'],encapsulation:2,changeDetection:0}),x})();const te={transformPanel:(0,dt.X$)("transformPanel",[(0,dt.eR)("void => enter-dropdown",(0,dt.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,dt.F4)([(0,dt.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,dt.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,dt.eR)("void => enter-dialog",(0,dt.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,dt.F4)([(0,dt.oB)({opacity:0,transform:"scale(0.7)"}),(0,dt.oB)({transform:"none",opacity:1})]))),(0,dt.eR)("* => void",(0,dt.jt)("100ms linear",(0,dt.oB)({opacity:0})))]),fadeInCalendar:(0,dt.X$)("fadeInCalendar",[(0,dt.SB)("void",(0,dt.oB)({opacity:0})),(0,dt.SB)("enter",(0,dt.oB)({opacity:1})),(0,dt.eR)("void => *",(0,dt.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let Zt=0;const ne=new a.OlP("mat-datepicker-scroll-strategy"),ce={provide:ne,deps:[l.aV],useFactory:function de(d){return()=>d.scrollStrategies.reposition()}},me=(0,J.pj)(class{constructor(d){this._elementRef=d}});let he=(()=>{var d;class x extends me{constructor(e,n,s,c,M,et){super(e),this._changeDetectorRef=n,this._globalModel=s,this._dateAdapter=c,this._rangeSelectionStrategy=M,this._subscriptions=new W.w0,this._animationDone=new N.x,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=et.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(e){const n=this._model.selection,s=e.value,c=n instanceof $;if(c&&this._rangeSelectionStrategy){const M=this._rangeSelectionStrategy.selectionFinished(s,n,e.event);this._model.updateSelection(M,this)}else s&&(c||!this._dateAdapter.sameDate(s,n))&&this._model.add(s);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(e){this._model.updateSelection(e.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(e){this._isAnimating="start"===e.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(e,n){this._model=e?this._globalModel.clone():this._globalModel,this._actionsPortal=e,n&&this._changeDetectorRef.detectChanges()}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(Ct),a.Y36(J._A),a.Y36(ee,8),a.Y36(O))},d.\u0275cmp=a.Xpm({type:d,selectors:[["mat-datepicker-content"]],viewQuery:function(e,n){if(1&e&&a.Gf(mt,5),2&e){let s;a.iGM(s=a.CRH())&&(n._calendar=s.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,n){1&e&&a.WFA("@transformPanel.start",function(c){return n._handleAnimationEvent(c)})("@transformPanel.done",function(c){return n._handleAnimationEvent(c)}),2&e&&(a.d8E("@transformPanel",n._animationState),a.ekj("mat-datepicker-content-touch",n.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[a.qOj],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(e,n){if(1&e&&(a.TgZ(0,"div",0)(1,"mat-calendar",1),a.NdJ("yearSelected",function(c){return n.datepicker._selectYear(c)})("monthSelected",function(c){return n.datepicker._selectMonth(c)})("viewChanged",function(c){return n.datepicker._viewChanged(c)})("_userSelection",function(c){return n._handleUserSelection(c)})("_userDragDrop",function(c){return n._handleUserDragDrop(c)}),a.qZA(),a.YNc(2,kt,0,0,"ng-template",2),a.TgZ(3,"button",3),a.NdJ("focus",function(){return n._closeButtonFocused=!0})("blur",function(){return n._closeButtonFocused=!1})("click",function(){return n.datepicker.close()}),a._uU(4),a.qZA()()),2&e){let s;a.ekj("mat-datepicker-content-container-with-custom-header",n.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",n._actionsPortal),a.uIk("aria-modal",!0)("aria-labelledby",null!==(s=n._dialogLabelId)&&void 0!==s?s:void 0),a.xp6(1),a.Q6J("id",n.datepicker.id)("ngClass",n.datepicker.panelClass)("startAt",n.datepicker.startAt)("startView",n.datepicker.startView)("minDate",n.datepicker._getMinDate())("maxDate",n.datepicker._getMaxDate())("dateFilter",n.datepicker._getDateFilter())("headerComponent",n.datepicker.calendarHeaderComponent)("selected",n._getSelected())("dateClass",n.datepicker.dateClass)("comparisonStart",n.comparisonStart)("comparisonEnd",n.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",n.startDateAccessibleName)("endDateAccessibleName",n.endDateAccessibleName),a.xp6(1),a.Q6J("cdkPortalOutlet",n._actionsPortal),a.xp6(1),a.ekj("cdk-visually-hidden",!n._closeButtonFocused),a.Q6J("color",n.color||"primary"),a.xp6(1),a.Oqu(n._closeButtonText)}},dependencies:[_.mk,Z.lW,t.mK,P.Pl,mt],styles:[".mat-datepicker-content{box-shadow: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);display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color);color:var(--mat-datepicker-calendar-container-text-color)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{box-shadow: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);display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[te.transformPanel,te.fadeInCalendar]},changeDetection:0}),x})(),ie=(()=>{var d;class x{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(e){this._color=e}get touchUi(){return this._touchUi}set touchUi(e){this._touchUi=(0,bt.Ig)(e)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){const n=(0,bt.Ig)(e);n!==this._disabled&&(this._disabled=n,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(e){this._restoreFocus=(0,bt.Ig)(e)}get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=(0,bt.du)(e)}get opened(){return this._opened}set opened(e){(0,bt.Ig)(e)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}constructor(e,n,s,c,M,et,Wt){this._overlay=e,this._ngZone=n,this._viewContainerRef=s,this._dateAdapter=M,this._dir=et,this._model=Wt,this._inputStateChanges=W.w0.EMPTY,this._document=(0,a.f3M)(_.K0),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new a.vpe,this.monthSelected=new a.vpe,this.viewChanged=new a.vpe(!0),this.openedStream=new a.vpe,this.closedStream=new a.vpe,this._opened=!1,this.id="mat-datepicker-"+Zt++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new N.x,this._scrollStrategy=c}ngOnChanges(e){const n=e.xPosition||e.yPosition;if(n&&!n.firstChange&&this._overlayRef){const s=this._overlayRef.getConfig().positionStrategy;s instanceof l._G&&(this._setConnectedPositions(s),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(e){this._model.add(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_viewChanged(e){this.viewChanged.emit(e)}registerInput(e){return this._inputStateChanges.unsubscribe(),this.datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(e){this._actionsPortal=e,this._componentRef?.instance._assignActions(e,!0)}removeActions(e){e===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,at.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const e=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,n=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:s,location:c}=this._componentRef;s._startExitAnimation(),s._animationDone.pipe((0,st.q)(1)).subscribe(()=>{const M=this._document.activeElement;e&&(!M||M===this._document.activeElement||c.nativeElement.contains(M))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}e?setTimeout(n):n()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(e){e.datepicker=this,e.color=this.color,e._dialogLabelId=this.datepickerInput.getOverlayLabelId(),e._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const e=this.touchUi,n=new P.C5(he,this._viewContainerRef),s=this._overlayRef=this._overlay.create(new l.X_({positionStrategy:e?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[e?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:e?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(e?"dialog":"popup")}));this._getCloseStream(s).subscribe(c=>{c&&c.preventDefault(),this.close()}),s.keydownEvents().subscribe(c=>{const M=c.keyCode;(M===k.LH||M===k.JH||M===k.oh||M===k.SV||M===k.Ku||M===k.VM)&&c.preventDefault()}),this._componentRef=s.attach(n),this._forwardContentValues(this._componentRef.instance),e||this._ngZone.onStable.pipe((0,st.q)(1)).subscribe(()=>s.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const e=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(e)}_setConnectedPositions(e){const n="end"===this.xPosition?"end":"start",s="start"===n?"end":"start",c="above"===this.yPosition?"bottom":"top",M="top"===c?"bottom":"top";return e.withPositions([{originX:n,originY:M,overlayX:n,overlayY:c},{originX:n,originY:c,overlayX:n,overlayY:M},{originX:s,originY:M,overlayX:s,overlayY:c},{originX:s,originY:c,overlayX:s,overlayY:M}])}_getCloseStream(e){const n=["ctrlKey","shiftKey","metaKey"];return(0,xt.T)(e.backdropClick(),e.detachments(),e.keydownEvents().pipe((0,Lt.h)(s=>s.keyCode===k.hY&&!(0,k.Vb)(s)||this.datepickerInput&&(0,k.Vb)(s,"altKey")&&s.keyCode===k.LH&&n.every(c=>!(0,k.Vb)(s,c)))))}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(l.aV),a.Y36(a.R0b),a.Y36(a.s_b),a.Y36(ne),a.Y36(J._A,8),a.Y36(ut.Is,8),a.Y36(Ct))},d.\u0275dir=a.lG2({type:d,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[a.TTD]}),x})(),p=(()=>{var d;class x extends ie{}return(d=x).\u0275fac=function(){let g;return function(n){return(g||(g=a.n5z(d)))(n||d)}}(),d.\u0275cmp=a.Xpm({type:d,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[a._Bn([Kt,{provide:ie,useExisting:d}]),a.qOj],decls:0,vars:0,template:function(e,n){},encapsulation:2,changeDetection:0}),x})();class u{constructor(x,g){this.target=x,this.targetElement=g,this.value=this.target.value}}let h=(()=>{var d;class x{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(e){this._assignValueProgrammatically(e)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(e){const n=(0,bt.Ig)(e),s=this._elementRef.nativeElement;this._disabled!==n&&(this._disabled=n,this.stateChanges.next(void 0)),n&&this._isInitialized&&s.blur&&s.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(e){this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(n=>{if(this._shouldHandleChangeEvent(n)){const s=this._getValueFromModel(n.selection);this._lastValueValid=this._isValidValue(s),this._cvaOnChange(s),this._onTouched(),this._formatValue(s),this.dateInput.emit(new u(this,this._elementRef.nativeElement)),this.dateChange.emit(new u(this,this._elementRef.nativeElement))}})}constructor(e,n,s){this._elementRef=e,this._dateAdapter=n,this._dateFormats=s,this.dateChange=new a.vpe,this.dateInput=new a.vpe,this.stateChanges=new N.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=W.w0.EMPTY,this._localeSubscription=W.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=c=>{const M=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(c.value));return!M||this._matchesFilter(M)?null:{matDatepickerFilter:!0}},this._minValidator=c=>{const M=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(c.value)),et=this._getMinDate();return!et||!M||this._dateAdapter.compareDate(et,M)<=0?null:{matDatepickerMin:{min:et,actual:M}}},this._maxValidator=c=>{const M=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(c.value)),et=this._getMaxDate();return!et||!M||this._dateAdapter.compareDate(et,M)>=0?null:{matDatepickerMax:{max:et,actual:M}}},this._lastValueValid=!1,this._localeSubscription=n.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){o(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}writeValue(e){this._assignValueProgrammatically(e)}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){(0,k.Vb)(e,"altKey")&&e.keyCode===k.JH&&["ctrlKey","shiftKey","metaKey"].every(c=>!(0,k.Vb)(e,c))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){const n=this._lastValueValid;let s=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(s),s=this._dateAdapter.getValidDateOrNull(s);const c=!this._dateAdapter.sameDate(s,this.value);!s||c?this._cvaOnChange(s):(e&&!this.value&&this._cvaOnChange(s),n!==this._lastValueValid&&this._validatorOnChange()),c&&(this._assignValue(s),this.dateInput.emit(new u(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new u(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=null!=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_assignValue(e){this._model?(this._assignValueToModel(e),this._pendingValue=null):this._pendingValue=e}_isValidValue(e){return!e||this._dateAdapter.isValid(e)}_parentDisabled(){return!1}_assignValueProgrammatically(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=this._isValidValue(e),e=this._dateAdapter.getValidDateOrNull(e),this._assignValue(e),this._formatValue(e)}_matchesFilter(e){const n=this._getDateFilter();return!n||n(e)}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(a.SBq),a.Y36(J._A,8),a.Y36(J.sG,8))},d.\u0275dir=a.lG2({type:d,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[a.TTD]}),x})();function o(d,x){const g=Object.keys(d);for(let e of g){const{previousValue:n,currentValue:s}=d[e];if(!x.isDateInstance(n)||!x.isDateInstance(s))return!0;if(!x.sameDate(n,s))return!0}return!1}const f={provide:H.JU,useExisting:(0,a.Gpc)(()=>E),multi:!0},A={provide:H.Cf,useExisting:(0,a.Gpc)(()=>E),multi:!0};let E=(()=>{var d;class x extends h{set matDatepicker(e){e&&(this._datepicker=e,this._closedSubscription=e.closedStream.subscribe(()=>this._onTouched()),this._registerModel(e.registerInput(this)))}get min(){return this._min}set min(e){const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(n,this._min)||(this._min=n,this._validatorOnChange())}get max(){return this._max}set max(e){const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(n,this._max)||(this._max=n,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(e){const n=this._matchesFilter(this.value);this._dateFilter=e,this._matchesFilter(this.value)!==n&&this._validatorOnChange()}constructor(e,n,s,c){super(e,n,s),this._formField=c,this._closedSubscription=W.w0.EMPTY,this._validator=H.kI.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(e){return e}_assignValueToModel(e){this._model&&this._model.updateSelection(e,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(e){return e.source!==this}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(a.SBq),a.Y36(J._A,8),a.Y36(J.sG,8),a.Y36(rt.G_,8))},d.\u0275dir=a.lG2({type:d,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(e,n){1&e&&a.NdJ("input",function(c){return n._onInput(c.target.value)})("change",function(){return n._onChange()})("blur",function(){return n._onBlur()})("keydown",function(c){return n._onKeydown(c)}),2&e&&(a.Ikx("disabled",n.disabled),a.uIk("aria-haspopup",n._datepicker?"dialog":null)("aria-owns",(null==n._datepicker?null:n._datepicker.opened)&&n._datepicker.id||null)("min",n.min?n._dateAdapter.toIso8601(n.min):null)("max",n.max?n._dateAdapter.toIso8601(n.max):null)("data-mat-calendar",n._datepicker?n._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[a._Bn([f,A,{provide:pt.Jk,useExisting:d}]),a.qOj]}),x})(),Q=(()=>{var d;class x{}return(d=x).\u0275fac=function(e){return new(e||d)},d.\u0275dir=a.lG2({type:d,selectors:[["","matDatepickerToggleIcon",""]]}),x})(),Dt=(()=>{var d;class x{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=(0,bt.Ig)(e)}constructor(e,n,s){this._intl=e,this._changeDetectorRef=n,this._stateChanges=W.w0.EMPTY;const c=Number(s);this.tabIndex=c||0===c?c:null}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){const e=this.datepicker?this.datepicker.stateChanges:(0,ot.of)(),n=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,ot.of)(),s=this.datepicker?(0,xt.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,ot.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,xt.T)(this._intl.changes,e,n,s).subscribe(()=>this._changeDetectorRef.markForCheck())}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(O),a.Y36(a.sBO),a.$8M("tabindex"))},d.\u0275cmp=a.Xpm({type:d,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,n,s){if(1&e&&a.Suo(s,Q,5),2&e){let c;a.iGM(c=a.CRH())&&(n._customIcon=c.first)}},viewQuery:function(e,n){if(1&e&&a.Gf(Pt,5),2&e){let s;a.iGM(s=a.CRH())&&(n._button=s.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(e,n){1&e&&a.NdJ("click",function(c){return n._open(c)}),2&e&&(a.uIk("tabindex",null)("data-mat-calendar",n.datepicker?n.datepicker.id:null),a.ekj("mat-datepicker-toggle-active",n.datepicker&&n.datepicker.opened)("mat-accent",n.datepicker&&"accent"===n.datepicker.color)("mat-warn",n.datepicker&&"warn"===n.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[a.TTD],ngContentSelectors:_t,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(e,n){1&e&&(a.F$t(q),a.TgZ(0,"button",0,1),a.YNc(2,wt,2,0,"svg",2),a.Hsn(3),a.qZA()),2&e&&(a.Q6J("disabled",n.disabled)("disableRipple",n.disableRipple),a.uIk("aria-haspopup",n.datepicker?"dialog":null)("aria-label",n.ariaLabel||n._intl.openCalendarLabel)("tabindex",n.disabled?-1:n.tabIndex),a.xp6(2),a.Q6J("ngIf",!n._customIcon))},dependencies:[_.O5,Z.RK],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color)}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color)}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0}),x})();function Ut(d){return Gt(d,!0)}function St(d){return d.nodeType===Node.ELEMENT_NODE}function Gt(d,x){if(St(d)&&x){const e=(d.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((n,s)=>{const c=document.getElementById(s);return c&&n.push(c),n},[]);if(e.length)return e.map(n=>Gt(n,!1)).join(" ")}if(St(d)){const g=d.getAttribute("aria-label")?.trim();if(g)return g}if(function Yt(d){return"INPUT"===d.nodeName}(d)||function oe(d){return"TEXTAREA"===d.nodeName}(d)){if(d.labels?.length)return Array.from(d.labels).map(n=>Gt(n,!1)).join(" ");const g=d.getAttribute("placeholder")?.trim();if(g)return g;const e=d.getAttribute("title")?.trim();if(e)return e}return(d.textContent||"").replace(/\s+/g," ").trim()}const ae=new a.OlP("MAT_DATE_RANGE_INPUT_PARENT"),ue=(0,J.FD)((()=>{var d;class x extends h{constructor(e,n,s,c,M,et,Wt,Qt){super(n,Wt,Qt),this._rangeInput=e,this._elementRef=n,this._defaultErrorStateMatcher=s,this._injector=c,this._parentForm=M,this._parentFormGroup=et,this._dir=(0,a.f3M)(ut.Is,{optional:!0})}ngOnInit(){const e=this._injector.get(H.a5,null,{optional:!0,self:!0});e&&(this.ngControl=e)}ngDoCheck(){this.ngControl&&this.updateErrorState()}isEmpty(){return 0===this._elementRef.nativeElement.value.length}_getPlaceholder(){return this._elementRef.nativeElement.placeholder}focus(){this._elementRef.nativeElement.focus()}getMirrorValue(){const e=this._elementRef.nativeElement,n=e.value;return n.length>0?n:e.placeholder}_onInput(e){super._onInput(e),this._rangeInput._handleChildValueChange()}_openPopup(){this._rangeInput._openDatepicker()}_getMinDate(){return this._rangeInput.min}_getMaxDate(){return this._rangeInput.max}_getDateFilter(){return this._rangeInput.dateFilter}_parentDisabled(){return this._rangeInput._groupDisabled}_shouldHandleChangeEvent({source:e}){return e!==this._rangeInput._startInput&&e!==this._rangeInput._endInput}_assignValueProgrammatically(e){super._assignValueProgrammatically(e),(this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)?._validatorOnChange()}_getAccessibleName(){return Ut(this._elementRef.nativeElement)}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(ae),a.Y36(a.SBq),a.Y36(J.rD),a.Y36(a.zs3),a.Y36(H.F,8),a.Y36(H.sg,8),a.Y36(J._A,8),a.Y36(J.sG,8))},d.\u0275dir=a.lG2({type:d,features:[a.qOj]}),x})());let pe=(()=>{var d;class x extends ue{constructor(e,n,s,c,M,et,Wt,Qt){super(e,n,s,c,M,et,Wt,Qt),this._startValidator=le=>{const Jt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(le.value)),re=this._model?this._model.selection.end:null;return!Jt||!re||this._dateAdapter.compareDate(Jt,re)<=0?null:{matStartDateInvalid:{end:re,actual:Jt}}},this._validator=H.kI.compose([...super._getValidators(),this._startValidator])}_getValueFromModel(e){return e.start}_shouldHandleChangeEvent(e){return!(!super._shouldHandleChangeEvent(e)||(e.oldValue?.start?e.selection.start&&!this._dateAdapter.compareDate(e.oldValue.start,e.selection.start):!e.selection.start))}_assignValueToModel(e){if(this._model){const n=new $(e,this._model.selection.end);this._model.updateSelection(n,this)}}_formatValue(e){super._formatValue(e),this._rangeInput._handleChildValueChange()}_onKeydown(e){const n=this._rangeInput._endInput,s=this._elementRef.nativeElement,c="rtl"!==this._dir?.value;(e.keyCode===k.SV&&c||e.keyCode===k.oh&&!c)&&s.selectionStart===s.value.length&&s.selectionEnd===s.value.length?(e.preventDefault(),n._elementRef.nativeElement.setSelectionRange(0,0),n.focus()):super._onKeydown(e)}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(ae),a.Y36(a.SBq),a.Y36(J.rD),a.Y36(a.zs3),a.Y36(H.F,8),a.Y36(H.sg,8),a.Y36(J._A,8),a.Y36(J.sG,8))},d.\u0275dir=a.lG2({type:d,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(e,n){1&e&&a.NdJ("input",function(c){return n._onInput(c.target.value)})("change",function(){return n._onChange()})("keydown",function(c){return n._onKeydown(c)})("blur",function(){return n._onBlur()}),2&e&&(a.Ikx("disabled",n.disabled),a.uIk("aria-haspopup",n._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==n._rangeInput.rangePicker?null:n._rangeInput.rangePicker.opened)&&n._rangeInput.rangePicker.id||null)("min",n._getMinDate()?n._dateAdapter.toIso8601(n._getMinDate()):null)("max",n._getMaxDate()?n._dateAdapter.toIso8601(n._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[a._Bn([{provide:H.JU,useExisting:d,multi:!0},{provide:H.Cf,useExisting:d,multi:!0}]),a.qOj]}),x})(),fe=(()=>{var d;class x extends ue{constructor(e,n,s,c,M,et,Wt,Qt){super(e,n,s,c,M,et,Wt,Qt),this._endValidator=le=>{const Jt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(le.value)),re=this._model?this._model.selection.start:null;return!Jt||!re||this._dateAdapter.compareDate(Jt,re)>=0?null:{matEndDateInvalid:{start:re,actual:Jt}}},this._validator=H.kI.compose([...super._getValidators(),this._endValidator])}_getValueFromModel(e){return e.end}_shouldHandleChangeEvent(e){return!(!super._shouldHandleChangeEvent(e)||(e.oldValue?.end?e.selection.end&&!this._dateAdapter.compareDate(e.oldValue.end,e.selection.end):!e.selection.end))}_assignValueToModel(e){if(this._model){const n=new $(this._model.selection.start,e);this._model.updateSelection(n,this)}}_onKeydown(e){const n=this._rangeInput._startInput,s=this._elementRef.nativeElement,c="rtl"!==this._dir?.value;if(e.keyCode!==k.ZH||s.value)if((e.keyCode===k.oh&&c||e.keyCode===k.SV&&!c)&&0===s.selectionStart&&0===s.selectionEnd){e.preventDefault();const M=n._elementRef.nativeElement.value.length;n._elementRef.nativeElement.setSelectionRange(M,M),n.focus()}else super._onKeydown(e);else n.focus()}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(ae),a.Y36(a.SBq),a.Y36(J.rD),a.Y36(a.zs3),a.Y36(H.F,8),a.Y36(H.sg,8),a.Y36(J._A,8),a.Y36(J.sG,8))},d.\u0275dir=a.lG2({type:d,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(e,n){1&e&&a.NdJ("input",function(c){return n._onInput(c.target.value)})("change",function(){return n._onChange()})("keydown",function(c){return n._onKeydown(c)})("blur",function(){return n._onBlur()}),2&e&&(a.Ikx("disabled",n.disabled),a.uIk("aria-haspopup",n._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==n._rangeInput.rangePicker?null:n._rangeInput.rangePicker.opened)&&n._rangeInput.rangePicker.id||null)("min",n._getMinDate()?n._dateAdapter.toIso8601(n._getMinDate()):null)("max",n._getMaxDate()?n._dateAdapter.toIso8601(n._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[a._Bn([{provide:H.JU,useExisting:d,multi:!0},{provide:H.Cf,useExisting:d,multi:!0}]),a.qOj]}),x})(),_e=0,be=(()=>{var d;class x{get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){const e=this._startInput?._getPlaceholder()||"",n=this._endInput?._getPlaceholder()||"";return e||n?`${e} ${this.separator} ${n}`:""}get rangePicker(){return this._rangePicker}set rangePicker(e){e&&(this._model=e.registerInput(this),this._rangePicker=e,this._closedSubscription.unsubscribe(),this._closedSubscription=e.closedStream.subscribe(()=>{this._startInput?._onTouched(),this._endInput?._onTouched()}),this._registerModel(this._model))}get required(){return this._required??(this._isTargetRequired(this)||this._isTargetRequired(this._startInput)||this._isTargetRequired(this._endInput))??!1}set required(e){this._required=(0,bt.Ig)(e)}get dateFilter(){return this._dateFilter}set dateFilter(e){const n=this._startInput,s=this._endInput,c=n&&n._matchesFilter(n.value),M=s&&s._matchesFilter(n.value);this._dateFilter=e,n&&n._matchesFilter(n.value)!==c&&n._validatorOnChange(),s&&s._matchesFilter(s.value)!==M&&s._validatorOnChange()}get min(){return this._min}set min(e){const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(n,this._min)||(this._min=n,this._revalidate())}get max(){return this._max}set max(e){const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(n,this._max)||(this._max=n,this._revalidate())}get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(e){const n=(0,bt.Ig)(e);n!==this._groupDisabled&&(this._groupDisabled=n,this.stateChanges.next(void 0))}get errorState(){return!(!this._startInput||!this._endInput)&&(this._startInput.errorState||this._endInput.errorState)}get empty(){const e=!!this._startInput&&this._startInput.isEmpty(),n=!!this._endInput&&this._endInput.isEmpty();return e&&n}constructor(e,n,s,c,M){this._changeDetectorRef=e,this._elementRef=n,this._dateAdapter=c,this._formField=M,this._closedSubscription=W.w0.EMPTY,this.id="mat-date-range-input-"+_e++,this.focused=!1,this.controlType="mat-date-range-input",this._groupDisabled=!1,this._ariaDescribedBy=null,this.separator="\u2013",this.comparisonStart=null,this.comparisonEnd=null,this.stateChanges=new N.x,M?._elementRef.nativeElement.classList.contains("mat-mdc-form-field")&&n.nativeElement.classList.add("mat-mdc-input-element","mat-mdc-form-field-input-control","mdc-text-field__input"),this.ngControl=s}setDescribedByIds(e){this._ariaDescribedBy=e.length?e.join(" "):null}onContainerClick(){!this.focused&&!this.disabled&&(this._model&&this._model.selection.start?this._endInput.focus():this._startInput.focus())}ngAfterContentInit(){this._model&&this._registerModel(this._model),(0,xt.T)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(e){o(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._closedSubscription.unsubscribe(),this.stateChanges.complete()}getStartValue(){return this.value?this.value.start:null}getThemePalette(){return this._formField?this._formField.color:void 0}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():null}_getInputMirrorValue(e){const n="start"===e?this._startInput:this._endInput;return n?n.getMirrorValue():""}_shouldHidePlaceholders(){return!!this._startInput&&!this._startInput.isEmpty()}_handleChildValueChange(){this.stateChanges.next(void 0),this._changeDetectorRef.markForCheck()}_openDatepicker(){this._rangePicker&&this._rangePicker.open()}_shouldHideSeparator(){return(!this._formField||this._formField.getLabelId()&&!this._formField._shouldLabelFloat())&&this.empty}_getAriaLabelledby(){const e=this._formField;return e&&e._hasFloatingLabel()?e._labelId:null}_getStartDateAccessibleName(){return this._startInput._getAccessibleName()}_getEndDateAccessibleName(){return this._endInput._getAccessibleName()}_updateFocus(e){this.focused=null!==e,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(e){this._startInput&&this._startInput._registerModel(e),this._endInput&&this._endInput._registerModel(e)}_isTargetRequired(e){return e?.ngControl?.control?.hasValidator(H.kI.required)}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(a.sBO),a.Y36(a.SBq),a.Y36(H.gN,10),a.Y36(J._A,8),a.Y36(rt.G_,8))},d.\u0275cmp=a.Xpm({type:d,selectors:[["mat-date-range-input"]],contentQueries:function(e,n,s){if(1&e&&(a.Suo(s,pe,5),a.Suo(s,fe,5)),2&e){let c;a.iGM(c=a.CRH())&&(n._startInput=c.first),a.iGM(c=a.CRH())&&(n._endInput=c.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(e,n){2&e&&(a.uIk("id",n.id)("aria-labelledby",n._getAriaLabelledby())("aria-describedby",n._ariaDescribedBy)("data-mat-calendar",n.rangePicker?n.rangePicker.id:null),a.ekj("mat-date-range-input-hide-placeholders",n._shouldHidePlaceholders())("mat-date-range-input-required",n.required))},inputs:{rangePicker:"rangePicker",required:"required",dateFilter:"dateFilter",min:"min",max:"max",disabled:"disabled",separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],features:[a._Bn([{provide:rt.Eo,useExisting:d},{provide:ae,useExisting:d}]),a.TTD],ngContentSelectors:b,decls:11,vars:5,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-wrapper","mat-date-range-input-end-wrapper"]],template:function(e,n){1&e&&(a.F$t(X),a.TgZ(0,"div",0),a.NdJ("cdkFocusChange",function(c){return n._updateFocus(c)}),a.TgZ(1,"div",1),a.Hsn(2),a.TgZ(3,"span",2),a._uU(4),a.qZA()(),a.TgZ(5,"span",3),a._uU(6),a.qZA(),a.TgZ(7,"div",4),a.Hsn(8,1),a.TgZ(9,"span",2),a._uU(10),a.qZA()()()),2&e&&(a.xp6(4),a.Oqu(n._getInputMirrorValue("start")),a.xp6(1),a.ekj("mat-date-range-input-separator-hidden",n._shouldHideSeparator()),a.xp6(1),a.Oqu(n.separator),a.xp6(4),a.Oqu(n._getInputMirrorValue("end")))},dependencies:[t.kH],styles:[".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px;color:var(--mat-datepicker-range-input-separator-color)}.mat-form-field-disabled .mat-date-range-input-separator{color:var(--mat-datepicker-range-input-disabled-state-separator-color)}._mat-animation-noopable .mat-date-range-input-separator{transition:none}.mat-date-range-input-separator-hidden{-webkit-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-end-wrapper{flex-grow:1}.mat-date-range-input-inner{position:absolute;top:0;left:0;font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%;height:100%}.mat-date-range-input-inner:-moz-ui-invalid{box-shadow:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner[disabled]{color:var(--mat-datepicker-range-input-disabled-state-text-color)}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-date-range-input-inner::placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-moz-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner:-ms-input-placeholder{transition:none}.mat-date-range-input-mirror{-webkit-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-mdc-form-field-type-mat-date-range-input .mat-mdc-form-field-infix{width:200px}"],encapsulation:2,changeDetection:0}),x})(),ve=(()=>{var d;class x extends ie{_forwardContentValues(e){super._forwardContentValues(e);const n=this.datepickerInput;n&&(e.comparisonStart=n.comparisonStart,e.comparisonEnd=n.comparisonEnd,e.startDateAccessibleName=n._getStartDateAccessibleName(),e.endDateAccessibleName=n._getEndDateAccessibleName())}}return(d=x).\u0275fac=function(){let g;return function(n){return(g||(g=a.n5z(d)))(n||d)}}(),d.\u0275cmp=a.Xpm({type:d,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[a._Bn([se,Y,{provide:ie,useExisting:d}]),a.qOj],decls:0,vars:0,template:function(e,n){},encapsulation:2,changeDetection:0}),x})(),xe=(()=>{var d;class x{constructor(e){this._datepicker=e}_applySelection(){this._datepicker._applyPendingSelection(),this._datepicker.close()}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(ie))},d.\u0275dir=a.lG2({type:d,selectors:[["","matDatepickerApply",""],["","matDateRangePickerApply",""]],hostBindings:function(e,n){1&e&&a.NdJ("click",function(){return n._applySelection()})}}),x})(),ye=(()=>{var d;class x{constructor(e){this._datepicker=e}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(ie))},d.\u0275dir=a.lG2({type:d,selectors:[["","matDatepickerCancel",""],["","matDateRangePickerCancel",""]],hostBindings:function(e,n){1&e&&a.NdJ("click",function(){return n._datepicker.close()})}}),x})(),Ce=(()=>{var d;class x{constructor(e,n){this._datepicker=e,this._viewContainerRef=n}ngAfterViewInit(){this._portal=new P.UE(this._template,this._viewContainerRef),this._datepicker.registerActions(this._portal)}ngOnDestroy(){this._datepicker.removeActions(this._portal),this._portal&&this._portal.isAttached&&this._portal?.detach()}}return(d=x).\u0275fac=function(e){return new(e||d)(a.Y36(ie),a.Y36(a.s_b))},d.\u0275cmp=a.Xpm({type:d,selectors:[["mat-datepicker-actions"],["mat-date-range-picker-actions"]],viewQuery:function(e,n){if(1&e&&a.Gf(a.Rgc,5),2&e){let s;a.iGM(s=a.CRH())&&(n._template=s.first)}},ngContentSelectors:It,decls:1,vars:0,consts:[[1,"mat-datepicker-actions"]],template:function(e,n){1&e&&(a.F$t(),a.YNc(0,S,2,0,"ng-template"))},styles:[".mat-datepicker-actions{display:flex;justify-content:flex-end;align-items:center;padding:0 8px 8px 8px}.mat-datepicker-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),x})(),De=(()=>{var d;class x{}return(d=x).\u0275fac=function(e){return new(e||d)},d.\u0275mod=a.oAB({type:d}),d.\u0275inj=a.cJS({providers:[O,ce],imports:[_.ez,Z.ot,l.U8,t.rt,P.eL,J.BQ,ht.ZD]}),x})()},64170:($t,At,i)=>{i.d(At,{G_:()=>D,TO:()=>ft,KE:()=>zt,Eo:()=>Kt,lN:()=>jt,hX:()=>O,R9:()=>I});var t=i(65879),l=i(49388),P=i(62831),_=i(47394),a=i(78645),Z=i(63019),ht=i(59773),J=i(65592),N=i(32181),W=i(67081);class ot{constructor(V){this._box=V,this._destroyed=new a.x,this._resizeSubject=new a.x,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(R=>this._resizeSubject.next(R)))}observe(V){return this._elementObservables.has(V)||this._elementObservables.set(V,new J.y(R=>{const C=this._resizeSubject.subscribe(R);return this._resizeObserver?.observe(V,{box:this._box}),()=>{this._resizeObserver?.unobserve(V),C.unsubscribe(),this._elementObservables.delete(V)}}).pipe((0,N.h)(R=>R.some(C=>C.target===V)),(0,W.d)({bufferSize:1,refCount:!0}),(0,ht.R)(this._destroyed))),this._elementObservables.get(V)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let k=(()=>{var y;class V{constructor(){this._observers=new Map,this._ngZone=(0,t.f3M)(t.R0b)}ngOnDestroy(){for(const[,C]of this._observers)C.destroy();this._observers.clear()}observe(C,w){const tt=w?.box||"content-box";return this._observers.has(tt)||this._observers.set(tt,new ot(tt)),this._observers.get(tt).observe(C)}}return(y=V).\u0275fac=function(C){return new(C||y)},y.\u0275prov=t.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"}),V})();var ut=i(42495),at=i(86825),st=i(96814),Rt=i(17131),Lt=i(23680);const bt=["notch"],dt=["matFormFieldNotchedOutline",""],H=["*"],rt=["textField"],pt=["iconPrefixContainer"],T=["textPrefixContainer"];function z(y,V){1&y&&t._UZ(0,"span",19)}function gt(y,V){if(1&y&&(t.TgZ(0,"label",17),t.Hsn(1,1),t.YNc(2,z,1,0,"span",18),t.qZA()),2&y){const R=t.oxw(2);t.Q6J("floating",R._shouldLabelFloat())("monitorResize",R._hasOutline())("id",R._labelId),t.uIk("for",R._control.id),t.xp6(2),t.Q6J("ngIf",!R.hideRequiredMarker&&R._control.required)}}function Et(y,V){if(1&y&&t.YNc(0,gt,3,5,"label",16),2&y){const R=t.oxw();t.Q6J("ngIf",R._hasFloatingLabel())}}function yt(y,V){1&y&&t._UZ(0,"div",20)}function Ot(y,V){}function It(y,V){if(1&y&&t.YNc(0,Ot,0,0,"ng-template",22),2&y){t.oxw(2);const R=t.MAs(1);t.Q6J("ngTemplateOutlet",R)}}function Nt(y,V){if(1&y&&(t.TgZ(0,"div",21),t.YNc(1,It,1,1,"ng-template",9),t.qZA()),2&y){const R=t.oxw();t.Q6J("matFormFieldNotchedOutlineOpen",R._shouldLabelFloat()),t.xp6(1),t.Q6J("ngIf",!R._forceDisplayInfixLabel())}}function Bt(y,V){1&y&&(t.TgZ(0,"div",23,24),t.Hsn(2,2),t.qZA())}function Vt(y,V){1&y&&(t.TgZ(0,"div",25,26),t.Hsn(2,3),t.qZA())}function Ft(y,V){}function kt(y,V){if(1&y&&t.YNc(0,Ft,0,0,"ng-template",22),2&y){t.oxw();const R=t.MAs(1);t.Q6J("ngTemplateOutlet",R)}}function Pt(y,V){1&y&&(t.TgZ(0,"div",27),t.Hsn(1,4),t.qZA())}function wt(y,V){1&y&&(t.TgZ(0,"div",28),t.Hsn(1,5),t.qZA())}function q(y,V){1&y&&t._UZ(0,"div",29)}function _t(y,V){if(1&y&&(t.TgZ(0,"div",30),t.Hsn(1,6),t.qZA()),2&y){const R=t.oxw();t.Q6J("@transitionMessages",R._subscriptAnimationState)}}function X(y,V){if(1&y&&(t.TgZ(0,"mat-hint",34),t._uU(1),t.qZA()),2&y){const R=t.oxw(2);t.Q6J("id",R._hintLabelId),t.xp6(1),t.Oqu(R.hintLabel)}}function b(y,V){if(1&y&&(t.TgZ(0,"div",31),t.YNc(1,X,2,2,"mat-hint",32),t.Hsn(2,7),t._UZ(3,"div",33),t.Hsn(4,8),t.qZA()),2&y){const R=t.oxw();t.Q6J("@transitionMessages",R._subscriptAnimationState),t.xp6(1),t.Q6J("ngIf",R.hintLabel)}}const S=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],G=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let O=(()=>{var y;class V{}return(y=V).\u0275fac=function(C){return new(C||y)},y.\u0275dir=t.lG2({type:y,selectors:[["mat-label"]]}),V})(),L=0;const it=new t.OlP("MatError");let ft=(()=>{var y;class V{constructor(C,w){this.id="mat-mdc-error-"+L++,C||w.nativeElement.setAttribute("aria-live","polite")}}return(y=V).\u0275fac=function(C){return new(C||y)(t.$8M("aria-live"),t.Y36(t.SBq))},y.\u0275dir=t.lG2({type:y,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(C,w){2&C&&t.Ikx("id",w.id)},inputs:{id:"id"},features:[t._Bn([{provide:it,useExisting:y}])]}),V})(),vt=0,j=(()=>{var y;class V{constructor(){this.align="start",this.id="mat-mdc-hint-"+vt++}}return(y=V).\u0275fac=function(C){return new(C||y)},y.\u0275dir=t.lG2({type:y,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(C,w){2&C&&(t.Ikx("id",w.id),t.uIk("align",null),t.ekj("mat-mdc-form-field-hint-end","end"===w.align))},inputs:{align:"align",id:"id"}}),V})();const nt=new t.OlP("MatPrefix"),v=new t.OlP("MatSuffix");let I=(()=>{var y;class V{constructor(){this._isText=!1}set _isTextSelector(C){this._isText=!0}}return(y=V).\u0275fac=function(C){return new(C||y)},y.\u0275dir=t.lG2({type:y,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[t._Bn([{provide:v,useExisting:y}])]}),V})();const B=new t.OlP("FloatingLabelParent");let ct=(()=>{var y;class V{get floating(){return this._floating}set floating(C){this._floating=C,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(C){this._monitorResize=C,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(C){this._elementRef=C,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,t.f3M)(k),this._ngZone=(0,t.f3M)(t.R0b),this._parent=(0,t.f3M)(B),this._resizeSubscription=new _.w0}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function Mt(y){if(null!==y.offsetParent)return y.scrollWidth;const R=y.cloneNode(!0);R.style.setProperty("position","absolute"),R.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(R);const C=R.scrollWidth;return R.remove(),C}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}}return(y=V).\u0275fac=function(C){return new(C||y)(t.Y36(t.SBq))},y.\u0275dir=t.lG2({type:y,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(C,w){2&C&&t.ekj("mdc-floating-label--float-above",w.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}}),V})();const $="mdc-line-ripple--active",Ct="mdc-line-ripple--deactivating";let Xt=(()=>{var y;class V{constructor(C,w){this._elementRef=C,this._handleTransitionEnd=tt=>{const mt=this._elementRef.nativeElement.classList,te=mt.contains(Ct);"opacity"===tt.propertyName&&te&&mt.remove($,Ct)},w.runOutsideAngular(()=>{C.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const C=this._elementRef.nativeElement.classList;C.remove(Ct),C.add($)}deactivate(){this._elementRef.nativeElement.classList.add(Ct)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return(y=V).\u0275fac=function(C){return new(C||y)(t.Y36(t.SBq),t.Y36(t.R0b))},y.\u0275dir=t.lG2({type:y,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),V})(),Ht=(()=>{var y;class V{constructor(C,w){this._elementRef=C,this._ngZone=w,this.open=!1}ngAfterViewInit(){const C=this._elementRef.nativeElement.querySelector(".mdc-floating-label");C?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(C.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>C.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(C){this._notch.nativeElement.style.width=this.open&&C?`calc(${C}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}}return(y=V).\u0275fac=function(C){return new(C||y)(t.Y36(t.SBq),t.Y36(t.R0b))},y.\u0275cmp=t.Xpm({type:y,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(C,w){if(1&C&&t.Gf(bt,5),2&C){let tt;t.iGM(tt=t.CRH())&&(w._notch=tt.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(C,w){2&C&&t.ekj("mdc-notched-outline--notched",w.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:dt,ngContentSelectors:H,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(C,w){1&C&&(t.F$t(),t._UZ(0,"div",0),t.TgZ(1,"div",1,2),t.Hsn(3),t.qZA(),t._UZ(4,"div",3))},encapsulation:2,changeDetection:0}),V})();const qt={transitionMessages:(0,at.X$)("transitionMessages",[(0,at.SB)("enter",(0,at.oB)({opacity:1,transform:"translateY(0%)"})),(0,at.eR)("void => enter",[(0,at.oB)({opacity:0,transform:"translateY(-5px)"}),(0,at.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Kt=(()=>{var y;class V{}return(y=V).\u0275fac=function(C){return new(C||y)},y.\u0275dir=t.lG2({type:y}),V})();const D=new t.OlP("MatFormField"),U=new t.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Y=0;const r="fill",F="fixed";let zt=(()=>{var y;class V{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(C){this._hideRequiredMarker=(0,ut.Ig)(C)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(C){C!==this._floatLabel&&(this._floatLabel=C,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(C){const w=this._appearance;this._appearance=C||this._defaults?.appearance||r,"outline"===this._appearance&&this._appearance!==w&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||F}set subscriptSizing(C){this._subscriptSizing=C||this._defaults?.subscriptSizing||F}get hintLabel(){return this._hintLabel}set hintLabel(C){this._hintLabel=C,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(C){this._explicitFormFieldControl=C}constructor(C,w,tt,mt,te,Zt,ne,de){this._elementRef=C,this._changeDetectorRef=w,this._ngZone=tt,this._dir=mt,this._platform=te,this._defaults=Zt,this._animationMode=ne,this._hideRequiredMarker=!1,this.color="primary",this._appearance=r,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+Y++,this._hintLabelId="mat-mdc-hint-"+Y++,this._subscriptAnimationState="",this._destroyed=new a.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,Zt&&(Zt.appearance&&(this.appearance=Zt.appearance),this._hideRequiredMarker=!!Zt?.hideRequiredMarker,Zt.color&&(this.color=Zt.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const C=this._control;C.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${C.controlType}`),C.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),C.ngControl&&C.ngControl.valueChanges&&C.ngControl.valueChanges.pipe((0,ht.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(C=>!C._isText),this._hasTextPrefix=!!this._prefixChildren.find(C=>C._isText),this._hasIconSuffix=!!this._suffixChildren.find(C=>!C._isText),this._hasTextSuffix=!!this._suffixChildren.find(C=>C._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,Z.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,ht.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,ht.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(C){const w=this._control?this._control.ngControl:null;return w&&w[C]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let C=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&C.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const w=this._hintChildren?this._hintChildren.find(mt=>"start"===mt.align):null,tt=this._hintChildren?this._hintChildren.find(mt=>"end"===mt.align):null;w?C.push(w.id):this._hintLabel&&C.push(this._hintLabelId),tt&&C.push(tt.id)}else this._errorChildren&&C.push(...this._errorChildren.map(w=>w.id));this._control.setDescribedByIds(C)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const C=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(C.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const w=this._iconPrefixContainer?.nativeElement,tt=this._textPrefixContainer?.nativeElement,mt=w?.getBoundingClientRect().width??0,te=tt?.getBoundingClientRect().width??0;C.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${mt+te}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const C=this._elementRef.nativeElement;if(C.getRootNode){const w=C.getRootNode();return w&&w!==C}return document.documentElement.contains(C)}}return(y=V).\u0275fac=function(C){return new(C||y)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(t.R0b),t.Y36(l.Is),t.Y36(P.t4),t.Y36(U,8),t.Y36(t.QbO,8),t.Y36(st.K0))},y.\u0275cmp=t.Xpm({type:y,selectors:[["mat-form-field"]],contentQueries:function(C,w,tt){if(1&C&&(t.Suo(tt,O,5),t.Suo(tt,O,7),t.Suo(tt,Kt,5),t.Suo(tt,nt,5),t.Suo(tt,v,5),t.Suo(tt,it,5),t.Suo(tt,j,5)),2&C){let mt;t.iGM(mt=t.CRH())&&(w._labelChildNonStatic=mt.first),t.iGM(mt=t.CRH())&&(w._labelChildStatic=mt.first),t.iGM(mt=t.CRH())&&(w._formFieldControl=mt.first),t.iGM(mt=t.CRH())&&(w._prefixChildren=mt),t.iGM(mt=t.CRH())&&(w._suffixChildren=mt),t.iGM(mt=t.CRH())&&(w._errorChildren=mt),t.iGM(mt=t.CRH())&&(w._hintChildren=mt)}},viewQuery:function(C,w){if(1&C&&(t.Gf(rt,5),t.Gf(pt,5),t.Gf(T,5),t.Gf(ct,5),t.Gf(Ht,5),t.Gf(Xt,5)),2&C){let tt;t.iGM(tt=t.CRH())&&(w._textField=tt.first),t.iGM(tt=t.CRH())&&(w._iconPrefixContainer=tt.first),t.iGM(tt=t.CRH())&&(w._textPrefixContainer=tt.first),t.iGM(tt=t.CRH())&&(w._floatingLabel=tt.first),t.iGM(tt=t.CRH())&&(w._notchedOutline=tt.first),t.iGM(tt=t.CRH())&&(w._lineRipple=tt.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(C,w){2&C&&t.ekj("mat-mdc-form-field-label-always-float",w._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",w._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",w._hasIconSuffix)("mat-form-field-invalid",w._control.errorState)("mat-form-field-disabled",w._control.disabled)("mat-form-field-autofilled",w._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===w._animationMode)("mat-form-field-appearance-fill","fill"==w.appearance)("mat-form-field-appearance-outline","outline"==w.appearance)("mat-form-field-hide-placeholder",w._hasFloatingLabel()&&!w._shouldLabelFloat())("mat-focused",w._control.focused)("mat-primary","accent"!==w.color&&"warn"!==w.color)("mat-accent","accent"===w.color)("mat-warn","warn"===w.color)("ng-untouched",w._shouldForward("untouched"))("ng-touched",w._shouldForward("touched"))("ng-pristine",w._shouldForward("pristine"))("ng-dirty",w._shouldForward("dirty"))("ng-valid",w._shouldForward("valid"))("ng-invalid",w._shouldForward("invalid"))("ng-pending",w._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[t._Bn([{provide:D,useExisting:y},{provide:B,useExisting:y}])],ngContentSelectors:G,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(C,w){1&C&&(t.F$t(S),t.YNc(0,Et,1,1,"ng-template",null,0,t.W1O),t.TgZ(2,"div",1,2),t.NdJ("click",function(mt){return w._control.onContainerClick(mt)}),t.YNc(4,yt,1,0,"div",3),t.TgZ(5,"div",4),t.YNc(6,Nt,2,2,"div",5),t.YNc(7,Bt,3,0,"div",6),t.YNc(8,Vt,3,0,"div",7),t.TgZ(9,"div",8),t.YNc(10,kt,1,1,"ng-template",9),t.Hsn(11),t.qZA(),t.YNc(12,Pt,2,0,"div",10),t.YNc(13,wt,2,0,"div",11),t.qZA(),t.YNc(14,q,1,0,"div",12),t.qZA(),t.TgZ(15,"div",13),t.YNc(16,_t,2,1,"div",14),t.YNc(17,b,5,2,"div",15),t.qZA()),2&C&&(t.xp6(2),t.ekj("mdc-text-field--filled",!w._hasOutline())("mdc-text-field--outlined",w._hasOutline())("mdc-text-field--no-label",!w._hasFloatingLabel())("mdc-text-field--disabled",w._control.disabled)("mdc-text-field--invalid",w._control.errorState),t.xp6(2),t.Q6J("ngIf",!w._hasOutline()&&!w._control.disabled),t.xp6(2),t.Q6J("ngIf",w._hasOutline()),t.xp6(1),t.Q6J("ngIf",w._hasIconPrefix),t.xp6(1),t.Q6J("ngIf",w._hasTextPrefix),t.xp6(2),t.Q6J("ngIf",!w._hasOutline()||w._forceDisplayInfixLabel()),t.xp6(2),t.Q6J("ngIf",w._hasTextSuffix),t.xp6(1),t.Q6J("ngIf",w._hasIconSuffix),t.xp6(1),t.Q6J("ngIf",!w._hasOutline()),t.xp6(1),t.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===w.subscriptSizing),t.Q6J("ngSwitch",w._getDisplayedMessages()),t.xp6(1),t.Q6J("ngSwitchCase","error"),t.xp6(1),t.Q6J("ngSwitchCase","hint"))},dependencies:[st.O5,st.tP,st.RF,st.n9,j,ct,Ht,Xt],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px * 2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{--mdc-filled-text-field-active-indicator-height:1px;--mdc-filled-text-field-focus-active-indicator-height:2px;--mdc-filled-text-field-container-shape:4px;border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined{--mdc-outlined-text-field-outline-width:1px;--mdc-outlined-text-field-focus-outline-width:2px;--mdc-outlined-text-field-container-shape:4px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size) * var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[qt.transitionMessages]},changeDetection:0}),V})(),jt=(()=>{var y;class V{}return(y=V).\u0275fac=function(C){return new(C||y)},y.\u0275mod=t.oAB({type:y}),y.\u0275inj=t.cJS({imports:[Lt.BQ,st.ez,Rt.Q8,Lt.BQ]}),V})()},2032:($t,At,i)=>{i.d(At,{Jk:()=>at,Nt:()=>bt,c:()=>dt});var t=i(42495),l=i(62831),P=i(65879),_=i(36232),a=i(78645);const Z=(0,l.i$)({passive:!0});let ht=(()=>{var H;class rt{constructor(T,z){this._platform=T,this._ngZone=z,this._monitoredElements=new Map}monitor(T){if(!this._platform.isBrowser)return _.E;const z=(0,t.fI)(T),gt=this._monitoredElements.get(z);if(gt)return gt.subject;const Et=new a.x,yt="cdk-text-field-autofilled",Ot=It=>{"cdk-text-field-autofill-start"!==It.animationName||z.classList.contains(yt)?"cdk-text-field-autofill-end"===It.animationName&&z.classList.contains(yt)&&(z.classList.remove(yt),this._ngZone.run(()=>Et.next({target:It.target,isAutofilled:!1}))):(z.classList.add(yt),this._ngZone.run(()=>Et.next({target:It.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{z.addEventListener("animationstart",Ot,Z),z.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(z,{subject:Et,unlisten:()=>{z.removeEventListener("animationstart",Ot,Z)}}),Et}stopMonitoring(T){const z=(0,t.fI)(T),gt=this._monitoredElements.get(z);gt&&(gt.unlisten(),gt.subject.complete(),z.classList.remove("cdk-text-field-autofill-monitored"),z.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(z))}ngOnDestroy(){this._monitoredElements.forEach((T,z)=>this.stopMonitoring(z))}}return(H=rt).\u0275fac=function(T){return new(T||H)(P.LFG(l.t4),P.LFG(P.R0b))},H.\u0275prov=P.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),rt})(),W=(()=>{var H;class rt{}return(H=rt).\u0275fac=function(T){return new(T||H)},H.\u0275mod=P.oAB({type:H}),H.\u0275inj=P.cJS({}),rt})();var xt=i(56223),ot=i(23680),k=i(64170);const at=new P.OlP("MAT_INPUT_VALUE_ACCESSOR"),st=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Rt=0;const Lt=(0,ot.FD)(class{constructor(H,rt,pt,T){this._defaultErrorStateMatcher=H,this._parentForm=rt,this._parentFormGroup=pt,this.ngControl=T,this.stateChanges=new a.x}});let bt=(()=>{var H;class rt extends Lt{get disabled(){return this._disabled}set disabled(T){this._disabled=(0,t.Ig)(T),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(T){this._id=T||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(xt.kI.required)??!1}set required(T){this._required=(0,t.Ig)(T)}get type(){return this._type}set type(T){this._type=T||"text",this._validateType(),!this._isTextarea&&(0,l.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(T){T!==this.value&&(this._inputValueAccessor.value=T,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(T){this._readonly=(0,t.Ig)(T)}constructor(T,z,gt,Et,yt,Ot,It,Nt,Bt,Vt){super(Ot,Et,yt,gt),this._elementRef=T,this._platform=z,this._autofillMonitor=Nt,this._formField=Vt,this._uid="mat-input-"+Rt++,this.focused=!1,this.stateChanges=new a.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(Pt=>(0,l.qK)().has(Pt)),this._iOSKeyupListener=Pt=>{const wt=Pt.target;!wt.value&&0===wt.selectionStart&&0===wt.selectionEnd&&(wt.setSelectionRange(1,1),wt.setSelectionRange(0,0))};const Ft=this._elementRef.nativeElement,kt=Ft.nodeName.toLowerCase();this._inputValueAccessor=It||Ft,this._previousNativeValue=this.value,this.id=this.id,z.IOS&&Bt.runOutsideAngular(()=>{T.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===kt,this._isTextarea="textarea"===kt,this._isInFormField=!!Vt,this._isNativeSelect&&(this.controlType=Ft.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(T=>{this.autofilled=T.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(T){this._elementRef.nativeElement.focus(T)}_focusChanged(T){T!==this.focused&&(this.focused=T,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const T=this._elementRef.nativeElement.value;this._previousNativeValue!==T&&(this._previousNativeValue=T,this.stateChanges.next())}_dirtyCheckPlaceholder(){const T=this._getPlaceholder();if(T!==this._previousPlaceholder){const z=this._elementRef.nativeElement;this._previousPlaceholder=T,T?z.setAttribute("placeholder",T):z.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){st.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let T=this._elementRef.nativeElement.validity;return T&&T.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const T=this._elementRef.nativeElement,z=T.options[0];return this.focused||T.multiple||!this.empty||!!(T.selectedIndex>-1&&z&&z.label)}return this.focused||!this.empty}setDescribedByIds(T){T.length?this._elementRef.nativeElement.setAttribute("aria-describedby",T.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const T=this._elementRef.nativeElement;return this._isNativeSelect&&(T.multiple||T.size>1)}}return(H=rt).\u0275fac=function(T){return new(T||H)(P.Y36(P.SBq),P.Y36(l.t4),P.Y36(xt.a5,10),P.Y36(xt.F,8),P.Y36(xt.sg,8),P.Y36(ot.rD),P.Y36(at,10),P.Y36(ht),P.Y36(P.R0b),P.Y36(k.G_,8))},H.\u0275dir=P.lG2({type:H,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(T,z){1&T&&P.NdJ("focus",function(){return z._focusChanged(!0)})("blur",function(){return z._focusChanged(!1)})("input",function(){return z._onInput()}),2&T&&(P.Ikx("id",z.id)("disabled",z.disabled)("required",z.required),P.uIk("name",z.name||null)("readonly",z.readonly&&!z._isNativeSelect||null)("aria-invalid",z.empty&&z.required?null:z.errorState)("aria-required",z.required)("id",z.id),P.ekj("mat-input-server",z._isServer)("mat-mdc-form-field-textarea-control",z._isInFormField&&z._isTextarea)("mat-mdc-form-field-input-control",z._isInFormField)("mdc-text-field__input",z._isInFormField)("mat-mdc-native-select-inline",z._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:[P._Bn([{provide:k.Eo,useExisting:H}]),P.qOj,P.TTD]}),rt})(),dt=(()=>{var H;class rt{}return(H=rt).\u0275fac=function(T){return new(T||H)},H.\u0275mod=P.oAB({type:H}),H.\u0275inj=P.cJS({imports:[ot.BQ,k.lN,k.lN,W,ot.BQ]}),rt})()},54807:($t,At,i)=>{i.d(At,{A0:()=>ie,C5:()=>Tt,Cm:()=>D,ir:()=>Kt,w9:()=>ce});var t=i(65879),l=i(56223),P=i(59773),_=i(29028),a=i(27921),Z=i(99397),ht=i(83620),J=i(32181),N=i(37398),W=i(80927),xt=i(76410),ot=i(78645),k=i(92438),ut=i(63019),at=i(96814);const st=["content"],Rt=["scroll"],Lt=["padding"],bt=function(p){return{searchTerm:p}};function dt(p,u){if(1&p&&(t.TgZ(0,"div",6),t.GkF(1,7),t.qZA()),2&p){const h=t.oxw();t.xp6(1),t.Q6J("ngTemplateOutlet",h.headerTemplate)("ngTemplateOutletContext",t.VKq(2,bt,h.filterValue))}}function H(p,u){if(1&p&&(t.TgZ(0,"div",8),t.GkF(1,7),t.qZA()),2&p){const h=t.oxw();t.xp6(1),t.Q6J("ngTemplateOutlet",h.footerTemplate)("ngTemplateOutletContext",t.VKq(2,bt,h.filterValue))}}const rt=["*"],pt=["searchInput"];function T(p,u){if(1&p){const h=t.EpF();t.TgZ(0,"span",15),t.NdJ("click",function(){t.CHM(h);const f=t.oxw().$implicit,A=t.oxw(2);return t.KtG(A.unselect(f))}),t._uU(1,"\xd7"),t.qZA(),t._UZ(2,"span",16)}if(2&p){const h=t.oxw().$implicit,o=t.oxw(2);t.xp6(2),t.Q6J("ngItemLabel",h.label)("escape",o.escapeHTML)}}function z(p,u){}const gt=function(p,u,h){return{item:p,clear:u,label:h}};function Et(p,u){if(1&p&&(t.TgZ(0,"div",12),t.YNc(1,T,3,2,"ng-template",null,13,t.W1O),t.YNc(3,z,0,0,"ng-template",14),t.qZA()),2&p){const h=u.$implicit,o=t.MAs(2),f=t.oxw(2);t.ekj("ng-value-disabled",h.disabled),t.xp6(3),t.Q6J("ngTemplateOutlet",f.labelTemplate||o)("ngTemplateOutletContext",t.kEZ(4,gt,h.value,f.clearItem,h.label))}}function yt(p,u){if(1&p&&(t.ynx(0),t.YNc(1,Et,4,8,"div",11),t.BQk()),2&p){const h=t.oxw();t.xp6(1),t.Q6J("ngForOf",h.selectedItems)("ngForTrackBy",h.trackByOption)}}function Ot(p,u){}const It=function(p,u){return{items:p,clear:u}};function Nt(p,u){if(1&p&&t.YNc(0,Ot,0,0,"ng-template",14),2&p){const h=t.oxw();t.Q6J("ngTemplateOutlet",h.multiLabelTemplate)("ngTemplateOutletContext",t.WLB(2,It,h.selectedValues,h.clearItem))}}function Bt(p,u){1&p&&t._UZ(0,"div",19)}function Vt(p,u){}function Ft(p,u){if(1&p&&(t.ynx(0),t.YNc(1,Bt,1,0,"ng-template",null,17,t.W1O),t.YNc(3,Vt,0,0,"ng-template",18),t.BQk()),2&p){const h=t.MAs(2),o=t.oxw();t.xp6(3),t.Q6J("ngTemplateOutlet",o.loadingSpinnerTemplate||h)}}function kt(p,u){if(1&p&&(t.TgZ(0,"span",20)(1,"span",21),t._uU(2,"\xd7"),t.qZA()()),2&p){const h=t.oxw();t.s9C("title",h.clearAllText)}}function Pt(p,u){if(1&p&&t._UZ(0,"span",27),2&p){const h=t.oxw().$implicit,o=t.oxw(2);t.Q6J("ngItemLabel",h.label)("escape",o.escapeHTML)}}function wt(p,u){}const q=function(p,u,h,o){return{item:p,item$:u,index:h,searchTerm:o}};function _t(p,u){if(1&p){const h=t.EpF();t.TgZ(0,"div",25),t.NdJ("click",function(){const A=t.CHM(h).$implicit,E=t.oxw(2);return t.KtG(E.toggleItem(A))})("mouseover",function(){const A=t.CHM(h).$implicit,E=t.oxw(2);return t.KtG(E.onItemHover(A))}),t.YNc(1,Pt,1,2,"ng-template",null,26,t.W1O),t.YNc(3,wt,0,0,"ng-template",14),t.qZA()}if(2&p){const h=u.$implicit,o=t.MAs(2),f=t.oxw(2);t.ekj("ng-option-disabled",h.disabled)("ng-option-selected",h.selected)("ng-optgroup",h.children)("ng-option",!h.children)("ng-option-child",!!h.parent)("ng-option-marked",h===f.itemsList.markedItem),t.uIk("role",h.children?"group":"option")("aria-selected",h.selected)("id",null==h?null:h.htmlId),t.xp6(3),t.Q6J("ngTemplateOutlet",h.children?f.optgroupTemplate||o:f.optionTemplate||o)("ngTemplateOutletContext",t.l5B(17,q,h.value,h,h.index,f.searchTerm))}}function X(p,u){if(1&p&&(t.TgZ(0,"span")(1,"span",30),t._uU(2),t.qZA(),t._uU(3),t.qZA()),2&p){const h=t.oxw(3);t.xp6(2),t.Oqu(h.addTagText),t.xp6(1),t.hij('"',h.searchTerm,'"')}}function b(p,u){}function S(p,u){if(1&p){const h=t.EpF();t.TgZ(0,"div",28),t.NdJ("mouseover",function(){t.CHM(h);const f=t.oxw(2);return t.KtG(f.itemsList.unmarkItem())})("click",function(){t.CHM(h);const f=t.oxw(2);return t.KtG(f.selectTag())}),t.YNc(1,X,4,2,"ng-template",null,29,t.W1O),t.YNc(3,b,0,0,"ng-template",14),t.qZA()}if(2&p){const h=t.MAs(2),o=t.oxw(2);t.ekj("ng-option-marked",!o.itemsList.markedItem),t.xp6(3),t.Q6J("ngTemplateOutlet",o.tagTemplate||h)("ngTemplateOutletContext",t.VKq(4,bt,o.searchTerm))}}function G(p,u){if(1&p&&(t.TgZ(0,"div",32),t._uU(1),t.qZA()),2&p){const h=t.oxw(3);t.xp6(1),t.Oqu(h.notFoundText)}}function O(p,u){}function L(p,u){if(1&p&&(t.ynx(0),t.YNc(1,G,2,1,"ng-template",null,31,t.W1O),t.YNc(3,O,0,0,"ng-template",14),t.BQk()),2&p){const h=t.MAs(2),o=t.oxw(2);t.xp6(3),t.Q6J("ngTemplateOutlet",o.notFoundTemplate||h)("ngTemplateOutletContext",t.VKq(2,bt,o.searchTerm))}}function it(p,u){if(1&p&&(t.TgZ(0,"div",32),t._uU(1),t.qZA()),2&p){const h=t.oxw(3);t.xp6(1),t.Oqu(h.typeToSearchText)}}function ft(p,u){}function vt(p,u){if(1&p&&(t.ynx(0),t.YNc(1,it,2,1,"ng-template",null,33,t.W1O),t.YNc(3,ft,0,0,"ng-template",18),t.BQk()),2&p){const h=t.MAs(2),o=t.oxw(2);t.xp6(3),t.Q6J("ngTemplateOutlet",o.typeToSearchTemplate||h)}}function j(p,u){if(1&p&&(t.TgZ(0,"div",32),t._uU(1),t.qZA()),2&p){const h=t.oxw(3);t.xp6(1),t.Oqu(h.loadingText)}}function nt(p,u){}function lt(p,u){if(1&p&&(t.ynx(0),t.YNc(1,j,2,1,"ng-template",null,34,t.W1O),t.YNc(3,nt,0,0,"ng-template",14),t.BQk()),2&p){const h=t.MAs(2),o=t.oxw(2);t.xp6(3),t.Q6J("ngTemplateOutlet",o.loadingTextTemplate||h)("ngTemplateOutletContext",t.VKq(2,bt,o.searchTerm))}}function v(p,u){if(1&p){const h=t.EpF();t.TgZ(0,"ng-dropdown-panel",22),t.NdJ("update",function(f){t.CHM(h);const A=t.oxw();return t.KtG(A.viewPortItems=f)})("scroll",function(f){t.CHM(h);const A=t.oxw();return t.KtG(A.scroll.emit(f))})("scrollToEnd",function(f){t.CHM(h);const A=t.oxw();return t.KtG(A.scrollToEnd.emit(f))})("outsideClick",function(){t.CHM(h);const f=t.oxw();return t.KtG(f.close())}),t.ynx(1),t.YNc(2,_t,4,22,"div",23),t.YNc(3,S,4,6,"div",24),t.BQk(),t.YNc(4,L,4,4,"ng-container",3),t.YNc(5,vt,4,1,"ng-container",3),t.YNc(6,lt,4,4,"ng-container",3),t.qZA()}if(2&p){const h=t.oxw();t.ekj("ng-select-multiple",h.multiple),t.Q6J("virtualScroll",h.virtualScroll)("bufferAmount",h.bufferAmount)("appendTo",h.appendTo)("position",h.dropdownPosition)("headerTemplate",h.headerTemplate)("footerTemplate",h.footerTemplate)("filterValue",h.searchTerm)("items",h.itemsList.filteredItems)("markedItem",h.itemsList.markedItem)("ngClass",h.appendTo?h.classes:null)("id",h.dropdownId),t.xp6(2),t.Q6J("ngForOf",h.viewPortItems)("ngForTrackBy",h.trackByOption),t.xp6(1),t.Q6J("ngIf",h.showAddTag),t.xp6(1),t.Q6J("ngIf",h.showNoItemsFound()),t.xp6(1),t.Q6J("ngIf",h.showTypeToSearch()),t.xp6(1),t.Q6J("ngIf",h.loading&&0===h.itemsList.filteredItems.length)}}const I=/[&<>"']/g,B=RegExp(I.source),ct={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function $(p){return null!=p}function Ct(p){return"object"==typeof p&&$(p)}function Ht(p){return p instanceof Function}let qt=(()=>{var p;class u{constructor(o){this.element=o,this.escape=!0}ngOnChanges(o){this.element.nativeElement.innerHTML=this.escape?function Mt(p){return p&&B.test(p)?p.replace(I,u=>ct[u]):p}(this.ngItemLabel):this.ngItemLabel}}return(p=u).\u0275fac=function(o){return new(o||p)(t.Y36(t.SBq))},p.\u0275dir=t.lG2({type:p,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[t.TTD]}),u})(),Kt=(()=>{var p;class u{constructor(o){this.template=o}}return(p=u).\u0275fac=function(o){return new(o||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["","ng-option-tmp",""]]}),u})(),Tt=(()=>{var p;class u{constructor(o){this.template=o}}return(p=u).\u0275fac=function(o){return new(o||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["","ng-optgroup-tmp",""]]}),u})(),se=(()=>{var p;class u{constructor(o){this.template=o}}return(p=u).\u0275fac=function(o){return new(o||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["","ng-label-tmp",""]]}),u})(),ee=(()=>{var p;class u{constructor(o){this.template=o}}return(p=u).\u0275fac=function(o){return new(o||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["","ng-multi-label-tmp",""]]}),u})(),D=(()=>{var p;class u{constructor(o){this.template=o}}return(p=u).\u0275fac=function(o){return new(o||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["","ng-header-tmp",""]]}),u})(),U=(()=>{var p;class u{constructor(o){this.template=o}}return(p=u).\u0275fac=function(o){return new(o||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["","ng-footer-tmp",""]]}),u})(),Y=(()=>{var p;class u{constructor(o){this.template=o}}return(p=u).\u0275fac=function(o){return new(o||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["","ng-notfound-tmp",""]]}),u})(),r=(()=>{var p;class u{constructor(o){this.template=o}}return(p=u).\u0275fac=function(o){return new(o||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["","ng-typetosearch-tmp",""]]}),u})(),m=(()=>{var p;class u{constructor(o){this.template=o}}return(p=u).\u0275fac=function(o){return new(o||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["","ng-loadingtext-tmp",""]]}),u})(),F=(()=>{var p;class u{constructor(o){this.template=o}}return(p=u).\u0275fac=function(o){return new(o||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["","ng-tag-tmp",""]]}),u})(),K=(()=>{var p;class u{constructor(o){this.template=o}}return(p=u).\u0275fac=function(o){return new(o||p)(t.Y36(t.Rgc))},p.\u0275dir=t.lG2({type:p,selectors:[["","ng-loadingspinner-tmp",""]]}),u})();function zt(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(16*Math.random()|0).toString(16))}const jt={"\u24b6":"A",\uff21:"A",\u00c0:"A",\u00c1:"A",\u00c2:"A",\u1ea6:"A",\u1ea4:"A",\u1eaa:"A",\u1ea8:"A",\u00c3:"A",\u0100:"A",\u0102:"A",\u1eb0:"A",\u1eae:"A",\u1eb4:"A",\u1eb2:"A",\u0226:"A",\u01e0:"A",\u00c4:"A",\u01de:"A",\u1ea2:"A",\u00c5:"A",\u01fa:"A",\u01cd:"A",\u0200:"A",\u0202:"A",\u1ea0:"A",\u1eac:"A",\u1eb6:"A",\u1e00:"A",\u0104:"A",\u023a:"A",\u2c6f:"A",\ua732:"AA",\u00c6:"AE",\u01fc:"AE",\u01e2:"AE",\ua734:"AO",\ua736:"AU",\ua738:"AV",\ua73a:"AV",\ua73c:"AY","\u24b7":"B",\uff22:"B",\u1e02:"B",\u1e04:"B",\u1e06:"B",\u0243:"B",\u0182:"B",\u0181:"B","\u24b8":"C",\uff23:"C",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u00c7:"C",\u1e08:"C",\u0187:"C",\u023b:"C",\ua73e:"C","\u24b9":"D",\uff24:"D",\u1e0a:"D",\u010e:"D",\u1e0c:"D",\u1e10:"D",\u1e12:"D",\u1e0e:"D",\u0110:"D",\u018b:"D",\u018a:"D",\u0189:"D",\ua779:"D",\u01f1:"DZ",\u01c4:"DZ",\u01f2:"Dz",\u01c5:"Dz","\u24ba":"E",\uff25:"E",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u1ec0:"E",\u1ebe:"E",\u1ec4:"E",\u1ec2:"E",\u1ebc:"E",\u0112:"E",\u1e14:"E",\u1e16:"E",\u0114:"E",\u0116:"E",\u00cb:"E",\u1eba:"E",\u011a:"E",\u0204:"E",\u0206:"E",\u1eb8:"E",\u1ec6:"E",\u0228:"E",\u1e1c:"E",\u0118:"E",\u1e18:"E",\u1e1a:"E",\u0190:"E",\u018e:"E","\u24bb":"F",\uff26:"F",\u1e1e:"F",\u0191:"F",\ua77b:"F","\u24bc":"G",\uff27:"G",\u01f4:"G",\u011c:"G",\u1e20:"G",\u011e:"G",\u0120:"G",\u01e6:"G",\u0122:"G",\u01e4:"G",\u0193:"G",\ua7a0:"G",\ua77d:"G",\ua77e:"G","\u24bd":"H",\uff28:"H",\u0124:"H",\u1e22:"H",\u1e26:"H",\u021e:"H",\u1e24:"H",\u1e28:"H",\u1e2a:"H",\u0126:"H",\u2c67:"H",\u2c75:"H",\ua78d:"H","\u24be":"I",\uff29:"I",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u0128:"I",\u012a:"I",\u012c:"I",\u0130:"I",\u00cf:"I",\u1e2e:"I",\u1ec8:"I",\u01cf:"I",\u0208:"I",\u020a:"I",\u1eca:"I",\u012e:"I",\u1e2c:"I",\u0197:"I","\u24bf":"J",\uff2a:"J",\u0134:"J",\u0248:"J","\u24c0":"K",\uff2b:"K",\u1e30:"K",\u01e8:"K",\u1e32:"K",\u0136:"K",\u1e34:"K",\u0198:"K",\u2c69:"K",\ua740:"K",\ua742:"K",\ua744:"K",\ua7a2:"K","\u24c1":"L",\uff2c:"L",\u013f:"L",\u0139:"L",\u013d:"L",\u1e36:"L",\u1e38:"L",\u013b:"L",\u1e3c:"L",\u1e3a:"L",\u0141:"L",\u023d:"L",\u2c62:"L",\u2c60:"L",\ua748:"L",\ua746:"L",\ua780:"L",\u01c7:"LJ",\u01c8:"Lj","\u24c2":"M",\uff2d:"M",\u1e3e:"M",\u1e40:"M",\u1e42:"M",\u2c6e:"M",\u019c:"M","\u24c3":"N",\uff2e:"N",\u01f8:"N",\u0143:"N",\u00d1:"N",\u1e44:"N",\u0147:"N",\u1e46:"N",\u0145:"N",\u1e4a:"N",\u1e48:"N",\u0220:"N",\u019d:"N",\ua790:"N",\ua7a4:"N",\u01ca:"NJ",\u01cb:"Nj","\u24c4":"O",\uff2f:"O",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u1ed2:"O",\u1ed0:"O",\u1ed6:"O",\u1ed4:"O",\u00d5:"O",\u1e4c:"O",\u022c:"O",\u1e4e:"O",\u014c:"O",\u1e50:"O",\u1e52:"O",\u014e:"O",\u022e:"O",\u0230:"O",\u00d6:"O",\u022a:"O",\u1ece:"O",\u0150:"O",\u01d1:"O",\u020c:"O",\u020e:"O",\u01a0:"O",\u1edc:"O",\u1eda:"O",\u1ee0:"O",\u1ede:"O",\u1ee2:"O",\u1ecc:"O",\u1ed8:"O",\u01ea:"O",\u01ec:"O",\u00d8:"O",\u01fe:"O",\u0186:"O",\u019f:"O",\ua74a:"O",\ua74c:"O",\u01a2:"OI",\ua74e:"OO",\u0222:"OU","\u24c5":"P",\uff30:"P",\u1e54:"P",\u1e56:"P",\u01a4:"P",\u2c63:"P",\ua750:"P",\ua752:"P",\ua754:"P","\u24c6":"Q",\uff31:"Q",\ua756:"Q",\ua758:"Q",\u024a:"Q","\u24c7":"R",\uff32:"R",\u0154:"R",\u1e58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1e5a:"R",\u1e5c:"R",\u0156:"R",\u1e5e:"R",\u024c:"R",\u2c64:"R",\ua75a:"R",\ua7a6:"R",\ua782:"R","\u24c8":"S",\uff33:"S",\u1e9e:"S",\u015a:"S",\u1e64:"S",\u015c:"S",\u1e60:"S",\u0160:"S",\u1e66:"S",\u1e62:"S",\u1e68:"S",\u0218:"S",\u015e:"S",\u2c7e:"S",\ua7a8:"S",\ua784:"S","\u24c9":"T",\uff34:"T",\u1e6a:"T",\u0164:"T",\u1e6c:"T",\u021a:"T",\u0162:"T",\u1e70:"T",\u1e6e:"T",\u0166:"T",\u01ac:"T",\u01ae:"T",\u023e:"T",\ua786:"T",\ua728:"TZ","\u24ca":"U",\uff35:"U",\u00d9:"U",\u00da:"U",\u00db:"U",\u0168:"U",\u1e78:"U",\u016a:"U",\u1e7a:"U",\u016c:"U",\u00dc:"U",\u01db:"U",\u01d7:"U",\u01d5:"U",\u01d9:"U",\u1ee6:"U",\u016e:"U",\u0170:"U",\u01d3:"U",\u0214:"U",\u0216:"U",\u01af:"U",\u1eea:"U",\u1ee8:"U",\u1eee:"U",\u1eec:"U",\u1ef0:"U",\u1ee4:"U",\u1e72:"U",\u0172:"U",\u1e76:"U",\u1e74:"U",\u0244:"U","\u24cb":"V",\uff36:"V",\u1e7c:"V",\u1e7e:"V",\u01b2:"V",\ua75e:"V",\u0245:"V",\ua760:"VY","\u24cc":"W",\uff37:"W",\u1e80:"W",\u1e82:"W",\u0174:"W",\u1e86:"W",\u1e84:"W",\u1e88:"W",\u2c72:"W","\u24cd":"X",\uff38:"X",\u1e8a:"X",\u1e8c:"X","\u24ce":"Y",\uff39:"Y",\u1ef2:"Y",\u00dd:"Y",\u0176:"Y",\u1ef8:"Y",\u0232:"Y",\u1e8e:"Y",\u0178:"Y",\u1ef6:"Y",\u1ef4:"Y",\u01b3:"Y",\u024e:"Y",\u1efe:"Y","\u24cf":"Z",\uff3a:"Z",\u0179:"Z",\u1e90:"Z",\u017b:"Z",\u017d:"Z",\u1e92:"Z",\u1e94:"Z",\u01b5:"Z",\u0224:"Z",\u2c7f:"Z",\u2c6b:"Z",\ua762:"Z","\u24d0":"a",\uff41:"a",\u1e9a:"a",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u1ea7:"a",\u1ea5:"a",\u1eab:"a",\u1ea9:"a",\u00e3:"a",\u0101:"a",\u0103:"a",\u1eb1:"a",\u1eaf:"a",\u1eb5:"a",\u1eb3:"a",\u0227:"a",\u01e1:"a",\u00e4:"a",\u01df:"a",\u1ea3:"a",\u00e5:"a",\u01fb:"a",\u01ce:"a",\u0201:"a",\u0203:"a",\u1ea1:"a",\u1ead:"a",\u1eb7:"a",\u1e01:"a",\u0105:"a",\u2c65:"a",\u0250:"a",\ua733:"aa",\u00e6:"ae",\u01fd:"ae",\u01e3:"ae",\ua735:"ao",\ua737:"au",\ua739:"av",\ua73b:"av",\ua73d:"ay","\u24d1":"b",\uff42:"b",\u1e03:"b",\u1e05:"b",\u1e07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24d2":"c",\uff43:"c",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u00e7:"c",\u1e09:"c",\u0188:"c",\u023c:"c",\ua73f:"c",\u2184:"c","\u24d3":"d",\uff44:"d",\u1e0b:"d",\u010f:"d",\u1e0d:"d",\u1e11:"d",\u1e13:"d",\u1e0f:"d",\u0111:"d",\u018c:"d",\u0256:"d",\u0257:"d",\ua77a:"d",\u01f3:"dz",\u01c6:"dz","\u24d4":"e",\uff45:"e",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u1ec1:"e",\u1ebf:"e",\u1ec5:"e",\u1ec3:"e",\u1ebd:"e",\u0113:"e",\u1e15:"e",\u1e17:"e",\u0115:"e",\u0117:"e",\u00eb:"e",\u1ebb:"e",\u011b:"e",\u0205:"e",\u0207:"e",\u1eb9:"e",\u1ec7:"e",\u0229:"e",\u1e1d:"e",\u0119:"e",\u1e19:"e",\u1e1b:"e",\u0247:"e",\u025b:"e",\u01dd:"e","\u24d5":"f",\uff46:"f",\u1e1f:"f",\u0192:"f",\ua77c:"f","\u24d6":"g",\uff47:"g",\u01f5:"g",\u011d:"g",\u1e21:"g",\u011f:"g",\u0121:"g",\u01e7:"g",\u0123:"g",\u01e5:"g",\u0260:"g",\ua7a1:"g",\u1d79:"g",\ua77f:"g","\u24d7":"h",\uff48:"h",\u0125:"h",\u1e23:"h",\u1e27:"h",\u021f:"h",\u1e25:"h",\u1e29:"h",\u1e2b:"h",\u1e96:"h",\u0127:"h",\u2c68:"h",\u2c76:"h",\u0265:"h",\u0195:"hv","\u24d8":"i",\uff49:"i",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u0129:"i",\u012b:"i",\u012d:"i",\u00ef:"i",\u1e2f:"i",\u1ec9:"i",\u01d0:"i",\u0209:"i",\u020b:"i",\u1ecb:"i",\u012f:"i",\u1e2d:"i",\u0268:"i",\u0131:"i","\u24d9":"j",\uff4a:"j",\u0135:"j",\u01f0:"j",\u0249:"j","\u24da":"k",\uff4b:"k",\u1e31:"k",\u01e9:"k",\u1e33:"k",\u0137:"k",\u1e35:"k",\u0199:"k",\u2c6a:"k",\ua741:"k",\ua743:"k",\ua745:"k",\ua7a3:"k","\u24db":"l",\uff4c:"l",\u0140:"l",\u013a:"l",\u013e:"l",\u1e37:"l",\u1e39:"l",\u013c:"l",\u1e3d:"l",\u1e3b:"l",\u017f:"l",\u0142:"l",\u019a:"l",\u026b:"l",\u2c61:"l",\ua749:"l",\ua781:"l",\ua747:"l",\u01c9:"lj","\u24dc":"m",\uff4d:"m",\u1e3f:"m",\u1e41:"m",\u1e43:"m",\u0271:"m",\u026f:"m","\u24dd":"n",\uff4e:"n",\u01f9:"n",\u0144:"n",\u00f1:"n",\u1e45:"n",\u0148:"n",\u1e47:"n",\u0146:"n",\u1e4b:"n",\u1e49:"n",\u019e:"n",\u0272:"n",\u0149:"n",\ua791:"n",\ua7a5:"n",\u01cc:"nj","\u24de":"o",\uff4f:"o",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u1ed3:"o",\u1ed1:"o",\u1ed7:"o",\u1ed5:"o",\u00f5:"o",\u1e4d:"o",\u022d:"o",\u1e4f:"o",\u014d:"o",\u1e51:"o",\u1e53:"o",\u014f:"o",\u022f:"o",\u0231:"o",\u00f6:"o",\u022b:"o",\u1ecf:"o",\u0151:"o",\u01d2:"o",\u020d:"o",\u020f:"o",\u01a1:"o",\u1edd:"o",\u1edb:"o",\u1ee1:"o",\u1edf:"o",\u1ee3:"o",\u1ecd:"o",\u1ed9:"o",\u01eb:"o",\u01ed:"o",\u00f8:"o",\u01ff:"o",\u0254:"o",\ua74b:"o",\ua74d:"o",\u0275:"o",\u01a3:"oi",\u0223:"ou",\ua74f:"oo","\u24df":"p",\uff50:"p",\u1e55:"p",\u1e57:"p",\u01a5:"p",\u1d7d:"p",\ua751:"p",\ua753:"p",\ua755:"p","\u24e0":"q",\uff51:"q",\u024b:"q",\ua757:"q",\ua759:"q","\u24e1":"r",\uff52:"r",\u0155:"r",\u1e59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1e5b:"r",\u1e5d:"r",\u0157:"r",\u1e5f:"r",\u024d:"r",\u027d:"r",\ua75b:"r",\ua7a7:"r",\ua783:"r","\u24e2":"s",\uff53:"s",\u00df:"s",\u015b:"s",\u1e65:"s",\u015d:"s",\u1e61:"s",\u0161:"s",\u1e67:"s",\u1e63:"s",\u1e69:"s",\u0219:"s",\u015f:"s",\u023f:"s",\ua7a9:"s",\ua785:"s",\u1e9b:"s","\u24e3":"t",\uff54:"t",\u1e6b:"t",\u1e97:"t",\u0165:"t",\u1e6d:"t",\u021b:"t",\u0163:"t",\u1e71:"t",\u1e6f:"t",\u0167:"t",\u01ad:"t",\u0288:"t",\u2c66:"t",\ua787:"t",\ua729:"tz","\u24e4":"u",\uff55:"u",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u0169:"u",\u1e79:"u",\u016b:"u",\u1e7b:"u",\u016d:"u",\u00fc:"u",\u01dc:"u",\u01d8:"u",\u01d6:"u",\u01da:"u",\u1ee7:"u",\u016f:"u",\u0171:"u",\u01d4:"u",\u0215:"u",\u0217:"u",\u01b0:"u",\u1eeb:"u",\u1ee9:"u",\u1eef:"u",\u1eed:"u",\u1ef1:"u",\u1ee5:"u",\u1e73:"u",\u0173:"u",\u1e77:"u",\u1e75:"u",\u0289:"u","\u24e5":"v",\uff56:"v",\u1e7d:"v",\u1e7f:"v",\u028b:"v",\ua75f:"v",\u028c:"v",\ua761:"vy","\u24e6":"w",\uff57:"w",\u1e81:"w",\u1e83:"w",\u0175:"w",\u1e87:"w",\u1e85:"w",\u1e98:"w",\u1e89:"w",\u2c73:"w","\u24e7":"x",\uff58:"x",\u1e8b:"x",\u1e8d:"x","\u24e8":"y",\uff59:"y",\u1ef3:"y",\u00fd:"y",\u0177:"y",\u1ef9:"y",\u0233:"y",\u1e8f:"y",\u00ff:"y",\u1ef7:"y",\u1e99:"y",\u1ef5:"y",\u01b4:"y",\u024f:"y",\u1eff:"y","\u24e9":"z",\uff5a:"z",\u017a:"z",\u1e91:"z",\u017c:"z",\u017e:"z",\u1e93:"z",\u1e95:"z",\u01b6:"z",\u0225:"z",\u0240:"z",\u2c6c:"z",\ua763:"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038a:"\u0399",\u03aa:"\u0399",\u038c:"\u039f",\u038e:"\u03a5",\u03ab:"\u03a5",\u038f:"\u03a9",\u03ac:"\u03b1",\u03ad:"\u03b5",\u03ae:"\u03b7",\u03af:"\u03b9",\u03ca:"\u03b9",\u0390:"\u03b9",\u03cc:"\u03bf",\u03cd:"\u03c5",\u03cb:"\u03c5",\u03b0:"\u03c5",\u03c9:"\u03c9",\u03c2:"\u03c3"};function y(p){return p.replace(/[^\u0000-\u007E]/g,h=>jt[h]||h)}class V{constructor(u,h){this._ngSelect=u,this._selectionModel=h,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let u=this.selectedItems.length-1;for(;u>=0;u--){const h=this.selectedItems[u];if(!h.disabled)return h}return null}setItems(u){this._items=u.map((h,o)=>this.mapItem(h,o)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(u){if(u.selected||this.maxItemsSelected)return;const h=this._ngSelect.multiple;h||this.clearSelected(),this._selectionModel.select(u,h,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(u)}unselect(u){u.selected&&(this._selectionModel.unselect(u,this._ngSelect.multiple),this._ngSelect.hideSelected&&$(u.index)&&this._ngSelect.multiple&&this._showSelected(u))}findItem(u){let h;return h=this._ngSelect.compareWith?o=>this._ngSelect.compareWith(o.value,u):this._ngSelect.bindValue?o=>!o.children&&this.resolveNested(o.value,this._ngSelect.bindValue)===u:o=>o.value===u||!o.children&&o.label&&o.label===this.resolveNested(u,this._ngSelect.bindLabel),this._items.find(o=>h(o))}addItem(u){const h=this.mapItem(u,this._items.length);return this._items.push(h),this._filteredItems.push(h),h}clearSelected(u=!1){this._selectionModel.clear(u),this._items.forEach(h=>{h.selected=u&&h.selected&&h.disabled,h.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(u){return u=y(u).toLocaleLowerCase(),this.filteredItems.find(h=>y(h.label).toLocaleLowerCase().substr(0,u.length)===u)}filter(u){if(!u)return void this.resetFilteredItems();this._filteredItems=[],u=this._ngSelect.searchFn?u:y(u).toLocaleLowerCase();const h=this._ngSelect.searchFn||this._defaultSearchFn,o=this._ngSelect.hideSelected;for(const f of Array.from(this._groups.keys())){const A=[];for(const E of this._groups.get(f))o&&(E.parent&&E.parent.selected||E.selected)||h(u,this._ngSelect.searchFn?E.value:E)&&A.push(E);if(A.length>0){const[E]=A.slice(-1);if(E.parent){const Q=this._items.find(Dt=>Dt===E.parent);this._filteredItems.push(Q)}this._filteredItems.push(...A)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected&&this.selectedItems.length>0?this._items.filter(u=>!u.selected):this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(u){this._markedIndex=this._filteredItems.indexOf(u)}markSelectedOrDefault(u){if(0===this._filteredItems.length)return;const h=this._getLastMarkedIndex();this._markedIndex=h>-1?h:u?this.filteredItems.findIndex(o=>!o.disabled):-1}resolveNested(u,h){if(!Ct(u))return u;if(-1===h.indexOf("."))return u[h];{const o=h.split(".");let f=u;for(let A=0,E=o.length;A<E;++A){if(null==f)return null;f=f[o[A]]}return f}}mapItem(u,h){const o=$(u.$ngOptionLabel)?u.$ngOptionLabel:this.resolveNested(u,this._ngSelect.bindLabel),f=$(u.$ngOptionValue)?u.$ngOptionValue:u;return{index:h,label:$(o)?o.toString():"",value:f,disabled:u.disabled,htmlId:`${this._ngSelect.dropdownId}-${h}`}}mapSelectedItems(){const u=this._ngSelect.multiple;for(const h of this.selectedItems){const o=this._ngSelect.bindValue?this.resolveNested(h.value,this._ngSelect.bindValue):h.value,f=$(o)?this.findItem(o):null;this._selectionModel.unselect(h,u),this._selectionModel.select(f||h,u,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(h=>-1===this.selectedItems.indexOf(h)))}_showSelected(u){if(this._filteredItems.push(u),u.parent){const h=u.parent;this._filteredItems.find(f=>f===h)||this._filteredItems.push(h)}else if(u.children)for(const h of u.children)h.selected=!1,this._filteredItems.push(h);this._filteredItems=[...this._filteredItems.sort((h,o)=>h.index-o.index)]}_hideSelected(u){this._filteredItems=this._filteredItems.filter(h=>h!==u),u.parent?u.parent.children.every(o=>o.selected)&&(this._filteredItems=this._filteredItems.filter(o=>o!==u.parent)):u.children&&(this._filteredItems=this.filteredItems.filter(h=>h.parent!==u))}_defaultSearchFn(u,h){return y(h.label).toLocaleLowerCase().indexOf(u)>-1}_getNextItemIndex(u){return u>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(u){0===this._filteredItems.length||this._filteredItems.every(h=>h.disabled)||(this._markedIndex=this._getNextItemIndex(u),this.markedItem.disabled&&this._stepToItem(u))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&void 0===this.markedItem)return-1;const u=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&u<0?-1:Math.max(this.markedIndex,u)}_groupBy(u,h){const o=new Map;if(0===u.length)return o;if(Array.isArray(u[0].value[h])){for(const E of u){const Q=(E.value[h]||[]).map((Dt,Ut)=>this.mapItem(Dt,Ut));o.set(E,Q)}return o}const f=Ht(this._ngSelect.groupBy),A=E=>{const Q=f?h(E.value):E.value[h];return $(Q)?Q:void 0};for(const E of u){const Q=A(E),Dt=o.get(Q);Dt?Dt.push(E):o.set(Q,[E])}return o}_flatten(u){const h=Ht(this._ngSelect.groupBy),o=[];for(const f of Array.from(u.keys())){let A=o.length;if(void 0===f){const Yt=u.get(void 0)||[];o.push(...Yt.map(oe=>(oe.index=A++,oe)));continue}const E=Ct(f),Q={label:E?"":String(f),children:void 0,parent:null,index:A++,disabled:!this._ngSelect.selectableGroup,htmlId:zt()},Dt=h?this._ngSelect.bindLabel:this._ngSelect.groupBy,Ut=this._ngSelect.groupValue||(()=>E?f.value:{[Dt]:f}),St=u.get(f).map(Yt=>(Yt.parent=Q,Yt.children=void 0,Yt.index=A++,Yt));Q.children=St,Q.value=Ut(f,St.map(Yt=>Yt.value)),o.push(Q),o.push(...St)}return o}}var R=function(p){return p[p.Tab=9]="Tab",p[p.Enter=13]="Enter",p[p.Esc=27]="Esc",p[p.Space=32]="Space",p[p.ArrowUp=38]="ArrowUp",p[p.ArrowDown=40]="ArrowDown",p[p.Backspace=8]="Backspace",p}(R||{});let C=(()=>{var p;class u{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(o,f,A){const E=this._dimensions,Q=E.itemHeight*f,Ut=Math.max(0,o)/Q*f;let St=Math.min(f,Math.ceil(Ut)+(E.itemsPerViewport+1));const oe=Math.max(0,St-E.itemsPerViewport);let Gt=Math.min(oe,Math.floor(Ut)),ae=E.itemHeight*Math.ceil(Gt)-E.itemHeight*Math.min(Gt,A);return ae=isNaN(ae)?0:ae,Gt=isNaN(Gt)?-1:Gt,St=isNaN(St)?-1:St,Gt-=A,Gt=Math.max(0,Gt),St+=A,St=Math.min(f,St),{topPadding:ae,scrollHeight:Q,start:Gt,end:St}}setDimensions(o,f){const A=Math.max(1,Math.floor(f/o));this._dimensions={itemHeight:o,panelHeight:f,itemsPerViewport:A}}getScrollTo(o,f,A){const{panelHeight:E}=this.dimensions,Q=o+f,Ut=A+E;return E>=Q&&A===o?null:Q>Ut?A+Q-Ut:o<=A?o:null}}return(p=u).\u0275fac=function(o){return new(o||p)},p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac}),u})();const w=["top","right","bottom","left"],tt=typeof requestAnimationFrame<"u"?W.Z:xt.E;let mt=(()=>{var p;class u{constructor(o,f,A,E,Q){this._renderer=o,this._zone=f,this._panelService=A,this._document=Q,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new t.vpe,this.scroll=new t.vpe,this.scrollToEnd=new t.vpe,this.outsideClick=new t.vpe,this._destroy$=new ot.x,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=E.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(o){o!==this._itemsLength&&(this._itemsLength=o,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){const{itemHeight:o,panelHeight:f}=this._panelService.dimensions,A=this.markedItem.index*o;return f>A?0:A}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(o){if(o.items){const f=o.items;this._onItemsChange(f.currentValue,f.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(o,f=!1){if(!o)return;const A=this.items.indexOf(o);if(A<0||A>=this.itemsLength)return;let E;if(this.virtualScroll){const Q=this._panelService.dimensions.itemHeight;E=this._panelService.getScrollTo(A*Q,Q,this._lastScrollPosition)}else{const Q=this._dropdown.querySelector(`#${o.htmlId}`);E=this._panelService.getScrollTo(Q.offsetTop,Q.clientHeight,f?Q.offsetTop:this._lastScrollPosition)}$(E)&&(this._scrollablePanel.scrollTop=E)}scrollToTag(){const o=this._scrollablePanel;o.scrollTop=o.scrollHeight-o.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),w.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(o){w.forEach(A=>{const E=`ng-select-${A}`;this._renderer.removeClass(this._dropdown,E),this._renderer.removeClass(this._select,E)});const f=`ng-select-${o}`;this._renderer.addClass(this._dropdown,f),this._renderer.addClass(this._select,f)}_handleScroll(){this._zone.runOutsideAngular(()=>{(0,k.R)(this.scrollElementRef.nativeElement,"scroll").pipe((0,P.R)(this._destroy$),(0,_.e)(0,tt)).subscribe(o=>{const f=o.path||o.composedPath&&o.composedPath();this._onContentScrolled(f&&0!==f.length?f[0].scrollTop:o.target.scrollTop)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{(0,ut.T)((0,k.R)(this._document,"touchstart",{capture:!0}),(0,k.R)(this._document,"mousedown",{capture:!0})).pipe((0,P.R)(this._destroy$)).subscribe(o=>this._checkToClose(o))})}_checkToClose(o){if(this._select.contains(o.target)||this._dropdown.contains(o.target))return;const f=o.path||o.composedPath&&o.composedPath();o.target&&o.target.shadowRoot&&f&&f[0]&&this._select.contains(f[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(o,f){this.items=o||[],this._scrollToEndFired=!1,this.itemsLength=o.length,this.virtualScroll?this._updateItemsRange(f):(this._setVirtualHeight(),this._updateItems(f))}_updateItems(o){this.update.emit(this.items),!1!==o&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._panelService.setDimensions(0,this._scrollablePanel.clientHeight),this._handleDropdownPosition(),this.scrollTo(this.markedItem,o)})})}_updateItemsRange(o){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{o?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(o){this.virtualScroll&&this._renderItemsRange(o),this._lastScrollPosition=o,this._fireScrollToEnd(o)}_updateVirtualHeight(o){this._updateScrollHeight&&(this._virtualPadding.style.height=`${o}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(o=null){if(o&&this._lastScrollPosition===o)return;const f=this._panelService.calculateItems(o=o||this._scrollablePanel.scrollTop,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(f.scrollHeight),this._contentPanel.style.transform=`translateY(${f.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(f.start,f.end)),this.scroll.emit({start:f.start,end:f.end})}),$(o)&&0===this._lastScrollPosition&&(this._scrollablePanel.scrollTop=o,this._lastScrollPosition=o)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);const[o]=this.items;return this.update.emit([o]),Promise.resolve().then(()=>{const A=this._dropdown.querySelector(`#${o.htmlId}`).clientHeight;return this._virtualPadding.style.height=A*this.itemsLength+"px",this._panelService.setDimensions(A,this._scrollablePanel.clientHeight),this._panelService.dimensions})}_fireScrollToEnd(o){this._scrollToEndFired||0===o||o+this._dropdown.clientHeight>=(this.virtualScroll?this._virtualPadding:this._contentPanel).clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(o){if("auto"!==this.position)return this.position;const f=this._select.getBoundingClientRect(),A=document.documentElement.scrollTop||document.body.scrollTop;return f.top+window.pageYOffset+f.height+o.getBoundingClientRect().height>A+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){const o=this._select.getBoundingClientRect(),f=this._parent.getBoundingClientRect();this._dropdown.style.left=o.left-f.left+"px",this._dropdown.style.width=o.width+"px",this._dropdown.style.minWidth=o.width+"px"}_updateYPosition(){const o=this._select.getBoundingClientRect(),f=this._parent.getBoundingClientRect(),A=o.height;"top"===this._currentPosition?(this._dropdown.style.bottom=f.bottom-o.bottom+A+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=o.top-f.top+A+"px",this._dropdown.style.bottom="auto")}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{(0,k.R)(this._dropdown,"mousedown").pipe((0,P.R)(this._destroy$)).subscribe(o=>{"INPUT"!==o.target.tagName&&o.preventDefault()})})}}return(p=u).\u0275fac=function(o){return new(o||p)(t.Y36(t.Qsj),t.Y36(t.R0b),t.Y36(C),t.Y36(t.SBq),t.Y36(at.K0,8))},p.\u0275cmp=t.Xpm({type:p,selectors:[["ng-dropdown-panel"]],viewQuery:function(o,f){if(1&o&&(t.Gf(st,7,t.SBq),t.Gf(Rt,7,t.SBq),t.Gf(Lt,7,t.SBq)),2&o){let A;t.iGM(A=t.CRH())&&(f.contentElementRef=A.first),t.iGM(A=t.CRH())&&(f.scrollElementRef=A.first),t.iGM(A=t.CRH())&&(f.paddingElementRef=A.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[t.TTD],ngContentSelectors:rt,decls:9,vars:6,consts:[["class","ng-dropdown-header",4,"ngIf"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],["scroll",""],["padding",""],["content",""],["class","ng-dropdown-footer",4,"ngIf"],[1,"ng-dropdown-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-dropdown-footer"]],template:function(o,f){1&o&&(t.F$t(),t.YNc(0,dt,2,4,"div",0),t.TgZ(1,"div",1,2),t._UZ(3,"div",null,3),t.TgZ(5,"div",null,4),t.Hsn(7),t.qZA()(),t.YNc(8,H,2,4,"div",5)),2&o&&(t.Q6J("ngIf",f.headerTemplate),t.xp6(3),t.ekj("total-padding",f.virtualScroll),t.xp6(2),t.ekj("scrollable-content",f.virtualScroll&&f.items.length),t.xp6(3),t.Q6J("ngIf",f.footerTemplate))},dependencies:[at.O5,at.tP],encapsulation:2,changeDetection:0}),u})(),te=(()=>{var p;class u{get disabled(){return this._disabled}set disabled(o){this._disabled=this._isDisabled(o)}constructor(o){this.elementRef=o,this.stateChange$=new ot.x,this._disabled=!1}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(o){o.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}_isDisabled(o){return null!=o&&"false"!=`${o}`}}return(p=u).\u0275fac=function(o){return new(o||p)(t.Y36(t.SBq))},p.\u0275cmp=t.Xpm({type:p,selectors:[["ng-option"]],inputs:{value:"value",disabled:"disabled"},features:[t.TTD],ngContentSelectors:rt,decls:1,vars:0,template:function(o,f){1&o&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0}),u})(),Zt=(()=>{var p;class u{constructor(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}}return(p=u).\u0275fac=function(o){return new(o||p)},p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),u})(),ne=(()=>{var p;class u{warn(o){console.warn(o)}}return(p=u).\u0275fac=function(o){return new(o||p)},p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),u})();const de=new t.OlP("ng-select-selection-model");let ce=(()=>{var p;class u{get items(){return this._items}set items(o){null===o&&(o=[]),this._itemsAreUsed=!0,this._items=o}get compareWith(){return this._compareWith}set compareWith(o){if(null!=o&&!Ht(o))throw Error("`compareWith` must be a function.");this._compareWith=o}get clearSearchOnAdd(){return $(this._clearSearchOnAdd)?this._clearSearchOnAdd:$(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(o){this._clearSearchOnAdd=o}get deselectOnClick(){return $(this._deselectOnClick)?this._deselectOnClick:$(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple}set deselectOnClick(o){this._deselectOnClick=o}get disabled(){return this.readonly||this._disabled}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}constructor(o,f,A,E,Q,Dt,Ut){this.classes=o,this.autoFocus=f,this.config=A,this._cd=Dt,this._console=Ut,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=St=>!0,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new t.vpe,this.focusEvent=new t.vpe,this.changeEvent=new t.vpe,this.openEvent=new t.vpe,this.closeEvent=new t.vpe,this.searchEvent=new t.vpe,this.clearEvent=new t.vpe,this.addEvent=new t.vpe,this.removeEvent=new t.vpe,this.scroll=new t.vpe,this.scrollToEnd=new t.vpe,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=zt(),this.escapeHTML=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new ot.x,this._keyPress$=new ot.x,this._onChange=St=>{},this._onTouched=()=>{},this.clearItem=St=>{const Yt=this.selectedItems.find(oe=>oe.value===St);this.unselect(Yt)},this.trackByOption=(St,Yt)=>this.trackByFn?this.trackByFn(Yt.value):Yt,this._mergeGlobalConfig(A),this.itemsList=new V(this,E()),this.element=Q.nativeElement}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(o=>o.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(o){o.multiple&&this.itemsList.clearSelected(),o.items&&this._setItems(o.items.currentValue||[]),o.isOpen&&(this._manualOpen=$(o.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),$(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(o){if(R[o.which]){if(!1===this.keyDownFn(o))return;this.handleKeyCode(o)}else o.key&&1===o.key.length&&this._keyPress$.next(o.key.toLocaleLowerCase())}handleKeyCode(o){switch(o.which){case R.ArrowDown:this._handleArrowDown(o);break;case R.ArrowUp:this._handleArrowUp(o);break;case R.Space:this._handleSpace(o);break;case R.Enter:this._handleEnter(o);break;case R.Tab:this._handleTab(o);break;case R.Esc:this.close(),o.preventDefault();break;case R.Backspace:this._handleBackspace()}}handleMousedown(o){const f=o.target;"INPUT"!==f.tagName&&o.preventDefault(),f.classList.contains("ng-clear-wrapper")?this.handleClearClick():f.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():f.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(o){this.itemsList.clearSelected(),this._handleWriteValue(o),this._cd.markForCheck()}registerOnChange(o){this._onChange=o}registerOnTouched(o){this._onTouched=o}setDisabledState(o){this._disabled=o,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(o){!o||o.disabled||this.disabled||(this.deselectOnClick&&o.selected?this.unselect(o):this.select(o),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}select(o){o.selected||(this.itemsList.select(o),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(o.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.readOnly||this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(o){o&&(this.itemsList.unselect(o),this.focus(),this._updateNgModel(),this.removeEvent.emit(o))}selectTag(){let o;o=Ht(this.addTag)?this.addTag(this.searchTerm):this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};const f=A=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(A,null):this.itemsList.addItem(A);!function Xt(p){return p instanceof Promise}(o)?o&&this.select(f(o)):o.then(A=>this.select(f(A))).catch(()=>{})}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}get showAddTag(){if(!this._validTerm)return!1;const o=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(f=>f.label.toLowerCase()===o)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(f=>f.label.toLowerCase()===o))&&!this.loading}showNoItemsFound(){const o=0===this.itemsList.filteredItems.length;return(o&&!this._isTypeahead&&!this.loading||o&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(o){this._isComposing=!1,!this.searchWhileComposing&&this.filter(o)}filter(o){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=o,this._isTypeahead&&(this._validTerm||0===this.minTermLength)&&this.typeahead.next(o),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:o,items:this.itemsList.filteredItems.map(f=>f.value)}),this.open())}onInputFocus(o){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(o),this.focused=!0)}onInputBlur(o){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(o),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(o){o.disabled||this.itemsList.markItem(o)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){const o=this.selectedItems&&this.selectedItems[0];this.searchTerm=o&&o.label||null}_setItems(o){const f=o[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=$(f)?!Ct(f):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(o),o.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&$(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){const o=A=>{this.items=A.map(E=>({$ngOptionValue:E.value,$ngOptionLabel:E.elementRef.nativeElement.innerHTML,disabled:E.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},f=()=>{const A=(0,ut.T)(this.ngOptions.changes,this._destroy$);(0,ut.T)(...this.ngOptions.map(E=>E.stateChange$)).pipe((0,P.R)(A)).subscribe(E=>{const Q=this.itemsList.findItem(E.value);Q.disabled=E.disabled,Q.label=E.label||Q.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe((0,a.O)(this.ngOptions),(0,P.R)(this._destroy$)).subscribe(A=>{this.bindLabel=this._defaultLabel,o(A),f()})}_isValidWriteValue(o){if(!$(o)||this.multiple&&""===o||Array.isArray(o)&&0===o.length)return!1;const f=A=>!(!$(this.compareWith)&&Ct(A)&&this.bindValue&&(this._console.warn(`Setting object(${JSON.stringify(A)}) as your model with bindValue is not allowed unless [compareWith] is used.`),1));return this.multiple?Array.isArray(o)?o.every(A=>f(A)):(this._console.warn("Multiple select ngModel should be array."),!1):f(o)}_handleWriteValue(o){if(!this._isValidWriteValue(o))return;const f=A=>{let E=this.itemsList.findItem(A);if(E)this.itemsList.select(E);else{const Q=Ct(A);Q||!Q&&!this.bindValue?this.itemsList.select(this.itemsList.mapItem(A,null)):this.bindValue&&(E={[this.bindLabel]:null,[this.bindValue]:A},this.itemsList.select(this.itemsList.mapItem(E,null)))}};this.multiple?o.forEach(A=>f(A)):f(o)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe((0,P.R)(this._destroy$),(0,Z.b)(o=>this._pressedKeys.push(o)),(0,ht.b)(200),(0,J.h)(()=>this._pressedKeys.length>0),(0,N.U)(()=>this._pressedKeys.join(""))).subscribe(o=>{const f=this.itemsList.findByLabel(o);f&&(this.isOpen?(this.itemsList.markItem(f),this._scrollToMarked(),this._cd.markForCheck()):this.select(f)),this._pressedKeys=[]})}_setInputAttributes(){const o=this.searchInput.nativeElement,f={type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId,...this.inputAttrs};for(const A of Object.keys(f))o.setAttribute(A,f[A])}_updateNgModel(){const o=[];for(const A of this.selectedItems)if(this.bindValue){let E=null;E=A.children?A.value[(this.groupValue?this.bindValue:this.groupBy)||this.groupBy]:this.itemsList.resolveNested(A.value,this.bindValue),o.push(E)}else o.push(A.value);const f=this.selectedItems.map(A=>A.value);this.multiple?(this._onChange(o),this.changeEvent.emit(f)):(this._onChange($(o[0])?o[0]:null),this.changeEvent.emit(f[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(o){this.searchTerm=o,this._isTypeahead&&this.typeahead.next(o)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.deselectOnClick&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(o){!1===this.isOpen&&!this.addTag||(this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),o.preventDefault()):this.showAddTag?(this.selectTag(),o.preventDefault()):this.close():this.close())}_handleEnter(o){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}o.preventDefault()}_handleSpace(o){this.isOpen||this._manualOpen||(this.open(),o.preventDefault())}_handleArrowDown(o){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),o.preventDefault()}_handleArrowUp(o){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),o.preventDefault())}_nextItemIsTag(o){const f=this.itemsList.markedIndex+o;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(f<0||f===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){const o=this.searchTerm&&this.searchTerm.trim();return o&&o.length>=this.minTermLength}_mergeGlobalConfig(o){this.placeholder=this.placeholder||o.placeholder,this.notFoundText=this.notFoundText||o.notFoundText,this.typeToSearchText=this.typeToSearchText||o.typeToSearchText,this.addTagText=this.addTagText||o.addTagText,this.loadingText=this.loadingText||o.loadingText,this.clearAllText=this.clearAllText||o.clearAllText,this.virtualScroll=$(this.virtualScroll)?this.virtualScroll:!!$(o.disableVirtualScroll)&&!o.disableVirtualScroll,this.openOnEnter=$(this.openOnEnter)?this.openOnEnter:o.openOnEnter,this.appendTo=this.appendTo||o.appendTo,this.bindValue=this.bindValue||o.bindValue,this.bindLabel=this.bindLabel||o.bindLabel,this.appearance=this.appearance||o.appearance}}return(p=u).\u0275fac=function(o){return new(o||p)(t.$8M("class"),t.$8M("autofocus"),t.Y36(Zt),t.Y36(de),t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(ne))},p.\u0275cmp=t.Xpm({type:p,selectors:[["ng-select"]],contentQueries:function(o,f,A){if(1&o&&(t.Suo(A,Kt,5,t.Rgc),t.Suo(A,Tt,5,t.Rgc),t.Suo(A,se,5,t.Rgc),t.Suo(A,ee,5,t.Rgc),t.Suo(A,D,5,t.Rgc),t.Suo(A,U,5,t.Rgc),t.Suo(A,Y,5,t.Rgc),t.Suo(A,r,5,t.Rgc),t.Suo(A,m,5,t.Rgc),t.Suo(A,F,5,t.Rgc),t.Suo(A,K,5,t.Rgc),t.Suo(A,te,5)),2&o){let E;t.iGM(E=t.CRH())&&(f.optionTemplate=E.first),t.iGM(E=t.CRH())&&(f.optgroupTemplate=E.first),t.iGM(E=t.CRH())&&(f.labelTemplate=E.first),t.iGM(E=t.CRH())&&(f.multiLabelTemplate=E.first),t.iGM(E=t.CRH())&&(f.headerTemplate=E.first),t.iGM(E=t.CRH())&&(f.footerTemplate=E.first),t.iGM(E=t.CRH())&&(f.notFoundTemplate=E.first),t.iGM(E=t.CRH())&&(f.typeToSearchTemplate=E.first),t.iGM(E=t.CRH())&&(f.loadingTextTemplate=E.first),t.iGM(E=t.CRH())&&(f.tagTemplate=E.first),t.iGM(E=t.CRH())&&(f.loadingSpinnerTemplate=E.first),t.iGM(E=t.CRH())&&(f.ngOptions=E)}},viewQuery:function(o,f){if(1&o&&(t.Gf(mt,5),t.Gf(pt,7)),2&o){let A;t.iGM(A=t.CRH())&&(f.dropdownPanel=A.first),t.iGM(A=t.CRH())&&(f.searchInput=A.first)}},hostVars:20,hostBindings:function(o,f){1&o&&t.NdJ("keydown",function(E){return f.handleKeyDown(E)}),2&o&&t.ekj("ng-select-typeahead",f.typeahead)("ng-select-multiple",f.multiple)("ng-select-taggable",f.addTag)("ng-select-searchable",f.searchable)("ng-select-clearable",f.clearable)("ng-select-opened",f.isOpen)("ng-select",f.useDefaultClass)("ng-select-disabled",f.disabled)("ng-select-filtered",f.filtered)("ng-select-single",f.single)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",markFirst:"markFirst",placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:"loading",closeOnSelect:"closeOnSelect",hideSelected:"hideSelected",selectOnTab:"selectOnTab",openOnEnter:"openOnEnter",maxSelectedItems:"maxSelectedItems",groupBy:"groupBy",groupValue:"groupValue",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:"clearOnBackspace",labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:"tabIndex",readonly:"readonly",searchWhileComposing:"searchWhileComposing",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",typeahead:"typeahead",multiple:"multiple",addTag:"addTag",searchable:"searchable",clearable:"clearable",isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",deselectOnClick:"deselectOnClick"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[t._Bn([{provide:l.JU,useExisting:(0,t.Gpc)(()=>p),multi:!0},C]),t.TTD],decls:14,vars:19,consts:[[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[4,"ngIf"],["role","combobox","aria-haspopup","listbox",1,"ng-input"],["aria-autocomplete","list",3,"readOnly","disabled","value","input","compositionstart","compositionend","focus","blur","change"],["searchInput",""],["class","ng-clear-wrapper",3,"title",4,"ngIf"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["class","ng-dropdown-panel","role","listbox","aria-label","Options list",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","update","scroll","scrollToEnd","outsideClick",4,"ngIf"],["class","ng-value",3,"ng-value-disabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ng-value"],["defaultLabelTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],["defaultLoadingSpinnerTemplate",""],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],[1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id","update","scroll","scrollToEnd","outsideClick"],["class","ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked","click","mouseover",4,"ngFor","ngForOf","ngForTrackBy"],["class","ng-option","role","option",3,"ng-option-marked","mouseover","click",4,"ngIf"],[1,"ng-option",3,"click","mouseover"],["defaultOptionTemplate",""],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],["defaultTagTemplate",""],[1,"ng-tag-label"],["defaultNotFoundTemplate",""],[1,"ng-option","ng-option-disabled"],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""]],template:function(o,f){if(1&o){const A=t.EpF();t.TgZ(0,"div",0),t.NdJ("mousedown",function(Q){return f.handleMousedown(Q)}),t.TgZ(1,"div",1)(2,"div",2),t._uU(3),t.qZA(),t.YNc(4,yt,2,2,"ng-container",3),t.YNc(5,Nt,1,5,null,3),t.TgZ(6,"div",4)(7,"input",5,6),t.NdJ("input",function(){t.CHM(A);const Q=t.MAs(8);return t.KtG(f.filter(Q.value))})("compositionstart",function(){return f.onCompositionStart()})("compositionend",function(){t.CHM(A);const Q=t.MAs(8);return t.KtG(f.onCompositionEnd(Q.value))})("focus",function(Q){return f.onInputFocus(Q)})("blur",function(Q){return f.onInputBlur(Q)})("change",function(Q){return Q.stopPropagation()}),t.qZA()()(),t.YNc(9,Ft,4,1,"ng-container",3),t.YNc(10,kt,3,1,"span",7),t.TgZ(11,"span",8),t._UZ(12,"span",9),t.qZA()(),t.YNc(13,v,7,19,"ng-dropdown-panel",10)}2&o&&(t.ekj("ng-appearance-outline","outline"===f.appearance)("ng-has-value",f.hasValue),t.xp6(3),t.Oqu(f.placeholder),t.xp6(1),t.Q6J("ngIf",(!f.multiLabelTemplate||!f.multiple)&&f.selectedItems.length>0),t.xp6(1),t.Q6J("ngIf",f.multiple&&f.multiLabelTemplate&&f.selectedValues.length>0),t.xp6(1),t.uIk("aria-expanded",f.isOpen)("aria-owns",f.isOpen?f.dropdownId:null),t.xp6(1),t.Q6J("readOnly",!f.searchable||f.itemsList.maxItemsSelected)("disabled",f.disabled)("value",f.searchTerm?f.searchTerm:""),t.uIk("id",f.labelForId)("tabindex",f.tabIndex)("aria-activedescendant",f.isOpen?null==f.itemsList||null==f.itemsList.markedItem?null:f.itemsList.markedItem.htmlId:null)("aria-controls",f.isOpen?f.dropdownId:null),t.xp6(2),t.Q6J("ngIf",f.loading),t.xp6(1),t.Q6J("ngIf",f.showClear()),t.xp6(3),t.Q6J("ngIf",f.isOpen))},dependencies:[at.mk,at.sg,at.O5,at.tP,mt,qt],styles:['@charset "UTF-8";.ng-select{position:relative;display:block;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:none;user-select:none;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@keyframes load8{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}\n'],encapsulation:2,changeDetection:0}),u})();function me(){return new he}class he{constructor(){this._selected=[]}get value(){return this._selected}select(u,h,o){if(u.selected=!0,(!u.children||!h&&o)&&this._selected.push(u),h)if(u.parent){const f=u.parent.children.length,A=u.parent.children.filter(E=>E.selected).length;u.parent.selected=f===A}else u.children&&(this._setChildrenSelectedState(u.children,!0),this._removeChildren(u),this._selected=o&&this._activeChildren(u)?[...this._selected.filter(f=>f.parent!==u),u]:[...this._selected,...u.children.filter(f=>!f.disabled)])}unselect(u,h){if(this._selected=this._selected.filter(o=>o!==u),u.selected=!1,h)if(u.parent&&u.parent.selected){const o=u.parent.children;this._removeParent(u.parent),this._removeChildren(u.parent),this._selected.push(...o.filter(f=>f!==u&&!f.disabled)),u.parent.selected=!1}else u.children&&(this._setChildrenSelectedState(u.children,!1),this._removeChildren(u))}clear(u){this._selected=u?this._selected.filter(h=>h.disabled):[]}_setChildrenSelectedState(u,h){for(const o of u)o.disabled||(o.selected=h)}_removeChildren(u){this._selected=[...this._selected.filter(h=>h.parent!==u),...u.children.filter(h=>h.parent===u&&h.disabled&&h.selected)]}_removeParent(u){this._selected=this._selected.filter(h=>h!==u)}_activeChildren(u){return u.children.every(h=>!h.disabled||h.selected)}}let ie=(()=>{var p;class u{}return(p=u).\u0275fac=function(o){return new(o||p)},p.\u0275mod=t.oAB({type:p}),p.\u0275inj=t.cJS({providers:[{provide:de,useValue:me}],imports:[at.ez]}),u})()}}]);