diff --git a/235.efd56f96a90dccbe.js b/235.ec7a1fb5ee24b758.js similarity index 90% rename from 235.efd56f96a90dccbe.js rename to 235.ec7a1fb5ee24b758.js index 47fe751c..78c682bf 100644 --- a/235.efd56f96a90dccbe.js +++ b/235.ec7a1fb5ee24b758.js @@ -1 +1 @@ -"use strict";(self.webpackChunkngx_ui_tour=self.webpackChunkngx_ui_tour||[]).push([[235],{2235:(_,c,n)=>{n.r(c),n.d(c,{default:()=>L});var d=n(8836),i=n(74),t=n(9212),h=n(7546),s=n(2114),l=n(631),m=n(8689),u=n(4308),v=n(5629),f=n(5593),M=n(8682),T=n(1074),A=n(2444),y=n(1872),Z=n(7868),I=n(3622),U=n(1769),x=n(6798),S=n(8791),b=n(732),C=n(2545),k=n(7765);function P(e,a){if(1&e){const o=t.EpF();t.TgZ(0,"p")(1,"code"),t._uU(2,"ngx-ui-tour"),t.qZA(),t._uU(3," is a UI tour library built for Angular. It's inspired by "),t.TgZ(4,"a",2),t._uU(5,"angular-ui-tour"),t.qZA(),t._uU(6,". "),t.qZA(),t.TgZ(7,"p")(8,"code"),t._uU(9,"TourMatMenuModule"),t.qZA(),t._uU(10," is an implementation of the tour UI that uses "),t.TgZ(11,"a",3),t._uU(12,"Angular Material"),t.qZA(),t._uU(13," MatMenu to display tour steps. "),t.qZA(),t.TgZ(14,"p")(15,"button",4),t.NdJ("click",function(){t.CHM(o);const p=t.oxw();return t.KtG(p.tourService.start())}),t._uU(16," Start Demo Tour "),t.qZA()()}}function O(e,a){1&e&&(t.TgZ(0,"app-header",5),t._uU(1,"Installation"),t.qZA(),t.TgZ(2,"ol")(3,"li")(4,"code"),t._uU(5,"npm install ngx-ui-tour-md-menu @angular/material @angular/cdk"),t.qZA()(),t.TgZ(6,"li"),t._uU(7," Import "),t.TgZ(8,"code"),t._uU(9,"TourMatMenuModule"),t.qZA(),t._uU(10," into your app module "),t.TgZ(11,"tui-notification",6),t._uU(12," If you are using "),t.TgZ(13,"code"),t._uU(14,"v9"),t.qZA(),t._uU(15," or older, you have to import "),t.TgZ(16,"code"),t._uU(17,"TourMatMenuModule.forRoot()"),t.qZA()()(),t.TgZ(18,"li"),t._uU(19," Make sure "),t.TgZ(20,"code"),t._uU(21,"RouterModule"),t.qZA(),t._uU(22," is imported in your app module "),t.qZA(),t.TgZ(23,"li"),t._uU(24," Make sure Angular Material is "),t.TgZ(25,"a",7),t._uU(26,"installed correctly"),t.qZA()()(),t._UZ(27,"app-usage",8))}function B(e,a){1&e&&(t.TgZ(0,"app-step-config",9),t._UZ(1,"app-placement-config",10),t.qZA(),t._UZ(2,"app-tour-service-api")(3,"app-events")),2&e&&t.Q6J("isCloseOnOutsideClickVisible",!0)("isMdMenuShowArrowVisible",!0)}function N(e,a){1&e&&t._UZ(0,"app-faq",11)}function E(e,a){if(1&e&&t._UZ(0,"app-hotkeys")(1,"app-defaults")(2,"app-custom-template",12)(3,"app-styling-active-tour-anchor"),2&e){const o=t.oxw();t.xp6(2),t.Q6J("defaultTemplate",o.defaultTemplate)}}const L=(0,d.Ve)((()=>{class e{constructor(){this.tourSteps=[{anchorId:"start.tour",content:"Welcome to the Ngx-UI-Tour tour!",title:"Welcome"},{anchorId:"angular-ui-tour",content:"Thanks to angular-ui-tour for the inspiration for the library",title:"angular-ui-tour"},{anchorId:"installation",content:"First, install the library...",title:"Installation",route:"md-menu/Setup"},{anchorId:"usage",content:"...then use it.",title:"Usage",route:"md-menu/Setup"},{anchorId:"tourService.start",content:"Don't forget to actually start the tour.",title:"Start the tour",route:"md-menu/Setup"},{anchorId:"config.anchorId",content:"Every step needs an anchor.",title:"Anchor",route:"md-menu/API"},{anchorId:"config.enableBackdrop",content:"You can enable backdrop to highlight active element.",title:"Backdrop",enableBackdrop:!0,route:"md-menu/API"},{anchorId:"config.route",content:"Tours can span multiple routes.",title:"Route",route:"md-menu/API"},{anchorId:"config.placement",content:"Steps can be positioned around an anchor.",title:"Placement",route:"md-menu/API"},{anchorId:"config.centerAnchorOnScroll",content:"Enable this config to keep active anchor element centered when possible.",title:"Center active anchor",route:"md-menu/API"},{anchorId:"config.smoothScroll",content:'Enable "smoothScroll" option to smoothly scroll to an active element.',title:"Smooth scroll",route:"md-menu/API"},{anchorId:"config.buttons.custom",content:"You can set custom step button names",title:"Button Titles",prevBtnTitle:"My Prev",nextBtnTitle:"My Next",endBtnTitle:"My End",route:"md-menu/API"},{anchorId:"config.isAsync",content:"Mark your step as async if anchor element is added to DOM with a delay",title:"Wait for async event",route:"md-menu/API"},{anchorId:"config.nextOnAnchorClick",content:"Click on the config description to go to the next step",title:"Next on Anchor Click",route:"md-menu/API",nextOnAnchorClick:!0},{anchorId:"events",content:"You can subscribe to events",title:"Events",route:"md-menu/API"},{anchorId:"hotkeys",content:"Try using the hotkeys to navigate through the tour.",title:"Hotkeys",route:"md-menu/Misc"}],this.defaultTemplate='\r\n \r\n \r\n \r\n
\r\n \r\n {{ step.title }}\r\n \r\n \r\n close\r\n \r\n
\r\n
\r\n\r\n \r\n\r\n \r\n \r\n chevron_left\r\n {{ step.prevBtnTitle }}\r\n \r\n @if (step.showProgress) {\r\n
{{ tourService.steps?.indexOf(step) + 1 }} / {{ tourService.steps?.length }}
\r\n }\r\n @if (tourService.hasNext(step) && !step.nextOnAnchorClick) {\r\n \r\n {{ step.nextBtnTitle }}\r\n chevron_right\r\n \r\n }\r\n @if (!tourService.hasNext(step)) {\r\n \r\n {{ step.endBtnTitle }}\r\n \r\n }\r\n
\r\n \r\n
\r\n
\r\n',this.tourService=(0,t.f3M)(i.QL),this.delayAfterNavigation=(0,t.f3M)(h.h1)}ngOnInit(){this.tourService.initialize(this.tourSteps,{route:"md-menu",delayAfterNavigation:this.delayAfterNavigation})}static#t=this.\u0275fac=function(r){return new(r||e)};static#n=this.\u0275cmp=t.Xpm({type:e,selectors:[["app-md-menu"]],standalone:!0,features:[t._Bn([(0,v.E)(i.JA)]),t.jDz],decls:7,vars:0,consts:[["header","Material Design","package","ngx-ui-tour-md-menu"],["pageTab",""],["tuiLink","","target","_blank","tourAnchor","angular-ui-tour","href","http://benmarch.github.io/angular-ui-tour"],["tuiLink","","href","http://material.angular.io","target","_blank"],["tuiButton","","type","button","tourAnchor","start.tour",3,"click"],["tourAnchor","installation","id","installation"],[1,"tui-space_top-3"],["tuiLink","","href","https://material.angular.io/guide/getting-started","target","_blank"],["moduleName","TourMatMenuModule"],[3,"isCloseOnOutsideClickVisible","isMdMenuShowArrowVisible"],["type","MdMenuPlacement"],["disablePageScrollingIntroducedIn","7","backdropOffsetIntroducedIn","11"],[3,"defaultTemplate"]],template:function(r,p){1&r&&(t.TgZ(0,"tui-doc-page",0),t.YNc(1,P,17,0,"ng-template",1)(2,O,28,0,"ng-template",1)(3,B,4,2,"ng-template",1)(4,N,1,0,"ng-template",1)(5,E,4,1,"ng-template",1),t.qZA(),t._UZ(6,"tour-step-template"))},dependencies:[u.Lq,u.qo,u.nj,s.j,s.V,i.jo,f.J,M.R,l.fN,l.v0,m.H,m.L,T.G,A.e,y.t,Z.s,I.A,U.H,x.v,S.Q,b.w,C.e,k.J],styles:["app-header[_ngcontent-%COMP%]{margin-top:0}"]})}return e})())}}]); \ No newline at end of file +"use strict";(self.webpackChunkngx_ui_tour=self.webpackChunkngx_ui_tour||[]).push([[235],{2235:(_,c,n)=>{n.r(c),n.d(c,{default:()=>L});var d=n(8836),i=n(74),t=n(9212),h=n(7546),s=n(2114),l=n(631),p=n(8689),u=n(4308),v=n(5629),f=n(5593),M=n(8682),T=n(1074),A=n(2444),y=n(1872),Z=n(7868),I=n(3622),U=n(1769),x=n(6798),S=n(8791),b=n(732),C=n(2545),k=n(7765);function P(e,r){if(1&e){const o=t.EpF();t.TgZ(0,"p")(1,"code"),t._uU(2,"ngx-ui-tour"),t.qZA(),t._uU(3," is a UI tour library built for Angular. It's inspired by "),t.TgZ(4,"a",2),t._uU(5,"angular-ui-tour"),t.qZA(),t._uU(6,". "),t.qZA(),t.TgZ(7,"p")(8,"code"),t._uU(9,"TourMatMenuModule"),t.qZA(),t._uU(10," is an implementation of the tour UI that uses "),t.TgZ(11,"a",3),t._uU(12,"Angular Material"),t.qZA(),t._uU(13," MatMenu to display tour steps. "),t.qZA(),t.TgZ(14,"p")(15,"button",4),t.NdJ("click",function(){t.CHM(o);const m=t.oxw();return t.KtG(m.tourService.start())}),t._uU(16," Start Demo Tour "),t.qZA()()}}function O(e,r){1&e&&(t.TgZ(0,"app-header",5),t._uU(1,"Installation"),t.qZA(),t.TgZ(2,"ol")(3,"li")(4,"code"),t._uU(5,"npm install ngx-ui-tour-md-menu @angular/material @angular/cdk"),t.qZA()(),t.TgZ(6,"li"),t._uU(7," Import "),t.TgZ(8,"code"),t._uU(9,"TourMatMenuModule"),t.qZA(),t._uU(10," into your app module "),t.TgZ(11,"tui-notification",6),t._uU(12," If you are using "),t.TgZ(13,"code"),t._uU(14,"v9"),t.qZA(),t._uU(15," or older, you have to import "),t.TgZ(16,"code"),t._uU(17,"TourMatMenuModule.forRoot()"),t.qZA()()(),t.TgZ(18,"li"),t._uU(19," Make sure "),t.TgZ(20,"code"),t._uU(21,"RouterModule"),t.qZA(),t._uU(22," is imported in your app module "),t.qZA(),t.TgZ(23,"li"),t._uU(24," Make sure Angular Material is "),t.TgZ(25,"a",7),t._uU(26,"installed correctly"),t.qZA()()(),t._UZ(27,"app-usage",8))}function B(e,r){1&e&&(t.TgZ(0,"app-step-config",9),t._UZ(1,"app-placement-config",10),t.qZA(),t._UZ(2,"app-tour-service-api")(3,"app-events")),2&e&&t.Q6J("isCloseOnOutsideClickVisible",!0)("isMdMenuShowArrowVisible",!0)}function N(e,r){1&e&&t._UZ(0,"app-faq",11)}function E(e,r){if(1&e&&t._UZ(0,"app-hotkeys")(1,"app-defaults")(2,"app-custom-template",12)(3,"app-styling-active-tour-anchor"),2&e){const o=t.oxw();t.xp6(2),t.Q6J("defaultTemplate",o.defaultTemplate)}}const L=(0,d.Ve)((()=>{class e{constructor(){this.tourSteps=[{anchorId:"start.tour",content:"Welcome to the Ngx-UI-Tour tour!",title:"Welcome"},{anchorId:"angular-ui-tour",content:"Thanks to angular-ui-tour for the inspiration for the library",title:"angular-ui-tour"},{anchorId:"installation",content:"First, install the library...",title:"Installation",route:"md-menu/Setup"},{anchorId:"usage",content:"...then use it.",title:"Usage",route:"md-menu/Setup"},{anchorId:"tourService.start",content:"Don't forget to actually start the tour.",title:"Start the tour",route:"md-menu/Setup"},{anchorId:"config.anchorId",content:"Every step needs an anchor.",title:"Anchor",route:"md-menu/API"},{anchorId:"config.enableBackdrop",content:"You can enable backdrop to highlight active element.",title:"Backdrop",enableBackdrop:!0,route:"md-menu/API"},{anchorId:"config.route",content:"Tours can span multiple routes.",title:"Route",route:"md-menu/API"},{anchorId:"config.placement",content:"Steps can be positioned around an anchor.",title:"Placement",route:"md-menu/API"},{anchorId:"config.centerAnchorOnScroll",content:"Enable this config to keep active anchor element centered when possible.",title:"Center active anchor",route:"md-menu/API"},{anchorId:"config.smoothScroll",content:'Enable "smoothScroll" option to smoothly scroll to an active element.',title:"Smooth scroll",route:"md-menu/API"},{anchorId:"config.buttons.custom",content:"You can set custom step button names",title:"Button Titles",prevBtnTitle:"My Prev",nextBtnTitle:"My Next",endBtnTitle:"My End",route:"md-menu/API"},{anchorId:"config.isAsync",content:"Mark your step as async if anchor element is added to DOM with a delay",title:"Wait for async event",route:"md-menu/API"},{anchorId:"config.nextOnAnchorClick",content:"Click on the config description to go to the next step",title:"Next on Anchor Click",route:"md-menu/API",nextOnAnchorClick:!0},{anchorId:"events",content:"You can subscribe to events",title:"Events",route:"md-menu/API"},{anchorId:"hotkeys",content:"Try using the hotkeys to navigate through the tour.",title:"Hotkeys",route:"md-menu/Misc"}],this.defaultTemplate='\r\n \r\n \r\n \r\n
\r\n \r\n {{ step.title }}\r\n \r\n \r\n close\r\n \r\n
\r\n
\r\n\r\n \r\n\r\n \r\n \r\n chevron_left\r\n {{ step.prevBtnTitle }}\r\n \r\n @if (step.showProgress) {\r\n
{{ tourService.steps?.indexOf(step) + 1 }} / {{ tourService.steps?.length }}
\r\n }\r\n @if (tourService.hasNext(step) && !step.nextOnAnchorClick) {\r\n \r\n {{ step.nextBtnTitle }}\r\n chevron_right\r\n \r\n }\r\n @if (!tourService.hasNext(step)) {\r\n \r\n {{ step.endBtnTitle }}\r\n \r\n }\r\n \r\n \r\n
\r\n
\r\n',this.tourService=(0,t.f3M)(i.QL),this.delayAfterNavigation=(0,t.f3M)(h.h1)}ngOnInit(){this.tourService.initialize(this.tourSteps,{route:"md-menu",delayAfterNavigation:this.delayAfterNavigation})}static#t=this.\u0275fac=function(a){return new(a||e)};static#n=this.\u0275cmp=t.Xpm({type:e,selectors:[["app-md-menu"]],standalone:!0,features:[t._Bn([(0,v.E)(i.JA)]),t.jDz],decls:7,vars:0,consts:[["header","Material Design","package","ngx-ui-tour-md-menu"],["pageTab",""],["tuiLink","","target","_blank","tourAnchor","angular-ui-tour","href","http://benmarch.github.io/angular-ui-tour"],["tuiLink","","href","http://material.angular.io","target","_blank"],["tuiButton","","type","button","tourAnchor","start.tour",3,"click"],["tourAnchor","installation","id","installation"],[1,"tui-space_top-3"],["tuiLink","","href","https://material.angular.io/guide/getting-started","target","_blank"],["moduleName","TourMatMenuModule"],[3,"isCloseOnOutsideClickVisible","isMdMenuShowArrowVisible"],["type","MdMenuPlacement"],["disablePageScrollingIntroducedIn","7","backdropOffsetIntroducedIn","11"],[3,"defaultTemplate"]],template:function(a,m){1&a&&(t.TgZ(0,"tui-doc-page",0),t.YNc(1,P,17,0,"ng-template",1)(2,O,28,0,"ng-template",1)(3,B,4,2,"ng-template",1)(4,N,1,0,"ng-template",1)(5,E,4,1,"ng-template",1),t.qZA(),t._UZ(6,"tour-step-template"))},dependencies:[u.Lq,u.qo,u.nj,s.j,s.V,i.jo,f.J,M.R,l.fN,l.v0,p.H,p.L,T.G,A.e,y.t,Z.s,I.A,U.H,x.v,S.Q,b.w,C.e,k.J],styles:["app-header[_ngcontent-%COMP%]{margin-top:0}"]})}return e})())}}]); \ No newline at end of file diff --git a/243.0e507608129d4cd8.js b/243.513e6875eacc8929.js similarity index 56% rename from 243.0e507608129d4cd8.js rename to 243.513e6875eacc8929.js index a6d5d9e5..d15d7633 100644 --- a/243.0e507608129d4cd8.js +++ b/243.513e6875eacc8929.js @@ -1 +1 @@ -"use strict";(self.webpackChunkngx_ui_tour=self.webpackChunkngx_ui_tour||[]).push([[243],{4243:(L,c,n)=>{n.r(c),n.d(c,{default:()=>E});var g=n(8836),a=n(7058),t=n(9212),m=n(7546),s=n(2114),p=n(631),l=n(8689),u=n(4308),v=n(5629),f=n(9800),T=n(434),I=n(1074),y=n(2444),A=n(1872),Z=n(7868),U=n(3622),x=n(1769),S=n(6798),D=n(8791),b=n(732),w=n(2545),C=n(7765);function M(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"p")(1,"code"),t._uU(2,"ngx-ui-tour"),t.qZA(),t._uU(3," is a UI tour library built for Angular. It's inspired by "),t.TgZ(4,"a",2),t._uU(5,"angular-ui-tour"),t.qZA(),t._uU(6,". "),t.qZA(),t.TgZ(7,"p")(8,"code"),t._uU(9,"TourTuiDropdownModule"),t.qZA(),t._uU(10," is an implementation of the tour UI that uses "),t.TgZ(11,"a",3),t._uU(12,"Taiga UI"),t.qZA(),t._uU(13," Dropdown to display tour steps. "),t.qZA(),t.TgZ(14,"p")(15,"button",4),t.NdJ("click",function(){t.CHM(e);const d=t.oxw();return t.KtG(d.start())}),t._uU(16," Start Demo Tour "),t.qZA()()}}function P(o,r){1&o&&(t.TgZ(0,"app-header",5),t._uU(1,"Installation"),t.qZA(),t.TgZ(2,"ol")(3,"li")(4,"code"),t._uU(5,"npm install ngx-ui-tour-tui-dropdown @taiga-ui/core @taiga-ui/cdk @taiga-ui/icons"),t.qZA()(),t.TgZ(6,"li"),t._uU(7," Import "),t.TgZ(8,"code"),t._uU(9,"TourTuiDropdownModule"),t.qZA(),t._uU(10," into your app module "),t.TgZ(11,"tui-notification",6),t._uU(12," If you are using "),t.TgZ(13,"code"),t._uU(14,"v3"),t.qZA(),t._uU(15," or older, you have to import "),t.TgZ(16,"code"),t._uU(17,"TourTuiDropdownModule.forRoot()"),t.qZA()()(),t.TgZ(18,"li"),t._uU(19," Make sure "),t.TgZ(20,"code"),t._uU(21,"RouterModule"),t.qZA(),t._uU(22," is imported in your app module "),t.qZA(),t.TgZ(23,"li"),t._uU(24," Make sure Taiga UI is "),t.TgZ(25,"a",7),t._uU(26,"installed correctly"),t.qZA()()(),t._UZ(27,"app-usage",8))}function k(o,r){1&o&&(t.TgZ(0,"app-step-config"),t._UZ(1,"app-placement-config",9),t.qZA(),t._UZ(2,"app-tour-service-api")(3,"app-events"))}function B(o,r){1&o&&t._UZ(0,"app-faq",10)}function N(o,r){if(1&o&&t._UZ(0,"app-hotkeys")(1,"app-defaults")(2,"app-custom-template",11)(3,"app-styling-active-tour-anchor"),2&o){const e=t.oxw();t.xp6(2),t.Q6J("defaultTemplate",e.defaultTemplate)}}const E=(0,g.Ve)((()=>{class o{constructor(){this.tourSteps=[{anchorId:"start.tour",content:"Welcome to the Ngx-UI-Tour tour!",title:"Welcome"},{anchorId:"angular-ui-tour",content:"Thanks to angular-ui-tour for the inspiration for the library",title:"angular-ui-tour"},{anchorId:"installation",content:"First, install the library...",title:"Installation",route:"tui-dropdown/Setup"},{anchorId:"usage",content:"...then use it.",title:"Usage",route:"tui-dropdown/Setup"},{anchorId:"tourService.start",content:"Don't forget to actually start the tour.",title:"Start the tour",route:"tui-dropdown/Setup"},{anchorId:"config.anchorId",content:"Every step needs an anchor.",title:"Anchor",route:"tui-dropdown/API"},{anchorId:"config.enableBackdrop",content:"You can enable backdrop to highlight active element.",title:"Backdrop",enableBackdrop:!0,route:"tui-dropdown/API"},{anchorId:"config.route",content:"Tours can span multiple routes.",title:"Route",route:"tui-dropdown/API"},{anchorId:"config.placement",content:"Steps can be positioned around an anchor.",title:"Placement",route:"tui-dropdown/API"},{anchorId:"config.centerAnchorOnScroll",content:"Enable this config to keep active anchor element centered when possible.",title:"Center active anchor",route:"tui-dropdown/API"},{anchorId:"config.smoothScroll",content:'Enable "smoothScroll" option to smoothly scroll to an active element.',title:"Smooth scroll",route:"tui-dropdown/API"},{anchorId:"config.buttons.custom",content:"You can set custom step button names",title:"Button Titles",prevBtnTitle:"My Prev",nextBtnTitle:"My Next",endBtnTitle:"My End",route:"tui-dropdown/API",stepDimensions:{maxWidth:"340px"}},{anchorId:"config.isAsync",content:"Mark your step as async if anchor element is added to DOM with a delay",title:"Wait for async event",route:"tui-dropdown/API"},{anchorId:"config.nextOnAnchorClick",content:"Click on the config description to go to the next step",title:"Next on Anchor Click",route:"tui-dropdown/API",nextOnAnchorClick:!0},{anchorId:"events",content:"You can subscribe to events",title:"Events",route:"tui-dropdown/API"},{anchorId:"hotkeys",content:"Try using the hotkeys to navigate through the tour.",title:"Hotkeys",route:"tui-dropdown/Misc"}],this.defaultTemplate='\r\n \r\n \r\n
\r\n

{{ step?.title }}

\r\n \r\n
\r\n

\r\n
\r\n \r\n {{ step?.prevBtnTitle }}\r\n \r\n @if (step.showProgress) {\r\n
{{ tourService.steps?.indexOf(step) + 1 }} / {{ tourService.steps?.length }}
\r\n }\r\n @if (tourService.hasNext(step) && !step.nextOnAnchorClick) {\r\n \r\n {{ step?.nextBtnTitle }}\r\n \r\n }\r\n @if (!tourService.hasNext(step)) {\r\n \r\n {{ step?.endBtnTitle }}\r\n \r\n }\r\n
\r\n \r\n
\r\n
\r\n',this.tourService=(0,t.f3M)(a.QL),this.delayAfterNavigation=(0,t.f3M)(m.h1)}ngOnInit(){this.tourService.initialize(this.tourSteps,{route:"tui-dropdown",delayAfterNavigation:this.delayAfterNavigation,disablePageScrolling:!1})}start(){this.tourService.start()}static#t=this.\u0275fac=function(i){return new(i||o)};static#n=this.\u0275cmp=t.Xpm({type:o,selectors:[["app-tui-dropdown"]],standalone:!0,features:[t._Bn([(0,v.E)(a.n3)]),t.jDz],decls:7,vars:0,consts:[["header","Taiga UI Dropdown","package","ngx-ui-tour-tui-dropdown"],["pageTab",""],["tuiLink","","target","_blank","tourAnchor","angular-ui-tour","href","http://benmarch.github.io/angular-ui-tour"],["tuiLink","","href","https://taiga-ui.dev","target","_blank"],["tuiButton","","type","button","tourAnchor","start.tour",3,"click"],["tourAnchor","installation","id","installation"],[1,"tui-space_top-3"],["tuiLink","","href","https://taiga-ui.dev/getting-started","target","_blank"],["moduleName","TourTuiDropdownModule"],["type","TuiDdPlacement"],["backdropOffsetIntroducedIn","5","disablePageScrollingIntroducedIn","4.1"],[3,"defaultTemplate"]],template:function(i,d){1&i&&(t.TgZ(0,"tui-doc-page",0),t.YNc(1,M,17,0,"ng-template",1)(2,P,28,0,"ng-template",1)(3,k,4,0,"ng-template",1)(4,B,1,0,"ng-template",1)(5,N,4,1,"ng-template",1),t.qZA(),t._UZ(6,"tour-step-template"))},dependencies:[u.Lq,u.qo,u.nj,s.j,s.V,a.DE,f.R,T.n,p.fN,p.v0,l.H,l.L,I.G,y.e,A.t,Z.s,U.A,x.H,S.v,D.Q,b.w,w.e,C.J],styles:["app-header[_ngcontent-%COMP%]{margin-top:0}"]})}return o})())}}]); \ No newline at end of file +"use strict";(self.webpackChunkngx_ui_tour=self.webpackChunkngx_ui_tour||[]).push([[243],{4243:(L,s,n)=>{n.r(s),n.d(s,{default:()=>E});var g=n(8836),a=n(7058),t=n(9212),m=n(7546),c=n(2114),p=n(631),l=n(8689),u=n(4308),v=n(5629),f=n(9800),T=n(434),I=n(1074),y=n(2444),A=n(1872),Z=n(7868),U=n(3622),x=n(1769),S=n(6798),w=n(8791),D=n(732),b=n(2545),C=n(7765);function P(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"p")(1,"code"),t._uU(2,"ngx-ui-tour"),t.qZA(),t._uU(3," is a UI tour library built for Angular. It's inspired by "),t.TgZ(4,"a",2),t._uU(5,"angular-ui-tour"),t.qZA(),t._uU(6,". "),t.qZA(),t.TgZ(7,"p")(8,"code"),t._uU(9,"TourTuiDropdownModule"),t.qZA(),t._uU(10," is an implementation of the tour UI that uses "),t.TgZ(11,"a",3),t._uU(12,"Taiga UI"),t.qZA(),t._uU(13," Dropdown to display tour steps. "),t.qZA(),t.TgZ(14,"p")(15,"button",4),t.NdJ("click",function(){t.CHM(e);const d=t.oxw();return t.KtG(d.start())}),t._uU(16," Start Demo Tour "),t.qZA()()}}function M(o,r){1&o&&(t.TgZ(0,"app-header",5),t._uU(1,"Installation"),t.qZA(),t.TgZ(2,"ol")(3,"li")(4,"code"),t._uU(5,"npm install ngx-ui-tour-tui-dropdown @taiga-ui/core @taiga-ui/cdk @taiga-ui/icons"),t.qZA()(),t.TgZ(6,"li"),t._uU(7," Import "),t.TgZ(8,"code"),t._uU(9,"TourTuiDropdownModule"),t.qZA(),t._uU(10," into your app module "),t.TgZ(11,"tui-notification",6),t._uU(12," If you are using "),t.TgZ(13,"code"),t._uU(14,"v3"),t.qZA(),t._uU(15," or older, you have to import "),t.TgZ(16,"code"),t._uU(17,"TourTuiDropdownModule.forRoot()"),t.qZA()()(),t.TgZ(18,"li"),t._uU(19," Make sure "),t.TgZ(20,"code"),t._uU(21,"RouterModule"),t.qZA(),t._uU(22," is imported in your app module "),t.qZA(),t.TgZ(23,"li"),t._uU(24," Make sure Taiga UI is "),t.TgZ(25,"a",7),t._uU(26,"installed correctly"),t.qZA()()(),t._UZ(27,"app-usage",8))}function k(o,r){1&o&&(t.TgZ(0,"app-step-config"),t._UZ(1,"app-placement-config",9),t.qZA(),t._UZ(2,"app-tour-service-api")(3,"app-events"))}function B(o,r){1&o&&t._UZ(0,"app-faq",10)}function N(o,r){if(1&o&&t._UZ(0,"app-hotkeys")(1,"app-defaults")(2,"app-custom-template",11)(3,"app-styling-active-tour-anchor"),2&o){const e=t.oxw();t.xp6(2),t.Q6J("defaultTemplate",e.defaultTemplate)}}const E=(0,g.Ve)((()=>{class o{constructor(){this.tourSteps=[{anchorId:"start.tour",content:"Welcome to the Ngx-UI-Tour tour!",title:"Welcome"},{anchorId:"angular-ui-tour",content:"Thanks to angular-ui-tour for the inspiration for the library",title:"angular-ui-tour"},{anchorId:"installation",content:"First, install the library...",title:"Installation",route:"tui-dropdown/Setup"},{anchorId:"usage",content:"...then use it.",title:"Usage",route:"tui-dropdown/Setup"},{anchorId:"tourService.start",content:"Don't forget to actually start the tour.",title:"Start the tour",route:"tui-dropdown/Setup"},{anchorId:"config.anchorId",content:"Every step needs an anchor.",title:"Anchor",route:"tui-dropdown/API"},{anchorId:"config.enableBackdrop",content:"You can enable backdrop to highlight active element.",title:"Backdrop",enableBackdrop:!0,route:"tui-dropdown/API"},{anchorId:"config.route",content:"Tours can span multiple routes.",title:"Route",route:"tui-dropdown/API"},{anchorId:"config.placement",content:"Steps can be positioned around an anchor.",title:"Placement",route:"tui-dropdown/API"},{anchorId:"config.centerAnchorOnScroll",content:"Enable this config to keep active anchor element centered when possible.",title:"Center active anchor",route:"tui-dropdown/API"},{anchorId:"config.smoothScroll",content:'Enable "smoothScroll" option to smoothly scroll to an active element.',title:"Smooth scroll",route:"tui-dropdown/API"},{anchorId:"config.buttons.custom",content:"You can set custom step button names",title:"Button Titles",prevBtnTitle:"My Prev",nextBtnTitle:"My Next",endBtnTitle:"My End",route:"tui-dropdown/API",stepDimensions:{maxWidth:"340px"}},{anchorId:"config.isAsync",content:"Mark your step as async if anchor element is added to DOM with a delay",title:"Wait for async event",route:"tui-dropdown/API"},{anchorId:"config.nextOnAnchorClick",content:"Click on the config description to go to the next step",title:"Next on Anchor Click",route:"tui-dropdown/API",nextOnAnchorClick:!0},{anchorId:"events",content:"You can subscribe to events",title:"Events",route:"tui-dropdown/API"},{anchorId:"hotkeys",content:"Try using the hotkeys to navigate through the tour.",title:"Hotkeys",route:"tui-dropdown/Misc"}],this.defaultTemplate='\r\n \r\n \r\n
\r\n

{{ step?.title }}

\r\n \r\n
\r\n

\r\n \r\n \r\n {{ step?.prevBtnTitle }}\r\n \r\n @if (step.showProgress) {\r\n
{{ tourService.steps?.indexOf(step) + 1 }} / {{ tourService.steps?.length }}
\r\n }\r\n @if (tourService.hasNext(step) && !step.nextOnAnchorClick) {\r\n \r\n {{ step?.nextBtnTitle }}\r\n \r\n }\r\n @if (!tourService.hasNext(step)) {\r\n \r\n {{ step?.endBtnTitle }}\r\n \r\n }\r\n \r\n \r\n
\r\n
\r\n',this.tourService=(0,t.f3M)(a.QL),this.delayAfterNavigation=(0,t.f3M)(m.h1)}ngOnInit(){this.tourService.initialize(this.tourSteps,{route:"tui-dropdown",delayAfterNavigation:this.delayAfterNavigation,disablePageScrolling:!1})}start(){this.tourService.start()}static#t=this.\u0275fac=function(i){return new(i||o)};static#n=this.\u0275cmp=t.Xpm({type:o,selectors:[["app-tui-dropdown"]],standalone:!0,features:[t._Bn([(0,v.E)(a.n3)]),t.jDz],decls:7,vars:0,consts:[["header","Taiga UI Dropdown","package","ngx-ui-tour-tui-dropdown"],["pageTab",""],["tuiLink","","target","_blank","tourAnchor","angular-ui-tour","href","http://benmarch.github.io/angular-ui-tour"],["tuiLink","","href","https://taiga-ui.dev","target","_blank"],["tuiButton","","type","button","tourAnchor","start.tour",3,"click"],["tourAnchor","installation","id","installation"],[1,"tui-space_top-3"],["tuiLink","","href","https://taiga-ui.dev/getting-started","target","_blank"],["moduleName","TourTuiDropdownModule"],["type","TuiDdPlacement"],["backdropOffsetIntroducedIn","5","disablePageScrollingIntroducedIn","4.1"],[3,"defaultTemplate"]],template:function(i,d){1&i&&(t.TgZ(0,"tui-doc-page",0),t.YNc(1,P,17,0,"ng-template",1)(2,M,28,0,"ng-template",1)(3,k,4,0,"ng-template",1)(4,B,1,0,"ng-template",1)(5,N,4,1,"ng-template",1),t.qZA(),t._UZ(6,"tour-step-template"))},dependencies:[u.Lq,u.qo,u.nj,c.j,c.V,a.DE,f.R,T.n,p.fN,p.v0,l.H,l.L,I.G,y.e,A.t,Z.s,U.A,x.H,S.v,w.Q,D.w,b.e,C.J],styles:["app-header[_ngcontent-%COMP%]{margin-top:0}"]})}return o})())}}]); \ No newline at end of file diff --git a/498.2ffe8ec9293b04b6.js b/498.7907bccf6726607b.js similarity index 59% rename from 498.2ffe8ec9293b04b6.js rename to 498.7907bccf6726607b.js index f7d5ba7e..66beea4c 100644 --- a/498.2ffe8ec9293b04b6.js +++ b/498.7907bccf6726607b.js @@ -1 +1 @@ -"use strict";(self.webpackChunkngx_ui_tour=self.webpackChunkngx_ui_tour||[]).push([[498],{3498:(D,p,o)=>{o.r(p),o.d(p,{default:()=>w});var d=o(8836),i=o(272),t=o(9212),v=o(7546),c=o(2114),l=o(631),u=o(8689),r=o(4308),f=o(5629),g=o(3584),b=o(7170),x=o(1074),T=o(2444),y=o(1872),A=o(7868),Z=o(3622),I=o(1769),U=o(6798),S=o(8791),B=o(732),C=o(2545),N=o(7765);function M(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"p")(1,"code"),t._uU(2,"ngx-ui-tour"),t.qZA(),t._uU(3," is a UI tour library built for Angular. It's inspired by "),t.TgZ(4,"a",2),t._uU(5,"angular-ui-tour"),t.qZA(),t._uU(6,". "),t.qZA(),t.TgZ(7,"p")(8,"code"),t._uU(9,"TourNgxBootstrapModule"),t.qZA(),t._uU(10," is an implementation of the tour UI that uses "),t.TgZ(11,"a",3),t._uU(12,"NgxBootstrap"),t.qZA(),t._uU(13," popovers to display tour steps. "),t.qZA(),t.TgZ(14,"p")(15,"button",4),t.NdJ("click",function(){t.CHM(e);const m=t.oxw();return t.KtG(m.tourService.start())}),t._uU(16," Start Demo Tour "),t.qZA()()}}function P(n,a){if(1&n&&(t.TgZ(0,"app-header",5),t._uU(1,"Installation"),t.qZA(),t.TgZ(2,"ol")(3,"li")(4,"code"),t._uU(5,"npm install ngx-ui-tour-ngx-bootstrap bootstrap ngx-bootstrap"),t.qZA()(),t.TgZ(6,"li"),t._uU(7," Import "),t.TgZ(8,"code"),t._uU(9,"TourNgxBootstrapModule"),t.qZA(),t._uU(10," into your app module "),t.TgZ(11,"tui-notification",6),t._uU(12," If you are using "),t.TgZ(13,"code"),t._uU(14,"v9"),t.qZA(),t._uU(15," or older, you have to import "),t.TgZ(16,"code"),t._uU(17,"TourNgxBootstrapModule.forRoot()"),t.qZA()()(),t.TgZ(18,"li"),t._uU(19," Make sure "),t.TgZ(20,"code"),t._uU(21,"RouterModule"),t.qZA(),t._uU(22," is imported in your app module "),t.qZA(),t.TgZ(23,"li"),t._uU(24," Add bootstrap SCSS to your "),t.TgZ(25,"code"),t._uU(26,"styles.scss"),t.qZA(),t._uU(27,": "),t._UZ(28,"tui-doc-code",7),t.qZA(),t.TgZ(29,"li"),t._uU(30," Make sure Ngx Bootstrap is "),t.TgZ(31,"a",8),t._uU(32,"installed correctly"),t.qZA()()(),t._UZ(33,"app-usage",9)),2&n){const e=t.oxw();t.xp6(28),t.Q6J("code",e.bootstrapScssImport)}}const k=()=>["top","bottom","left","right","auto","top left","top right","right top","right bottom","bottom right","bottom left","left bottom","left top","start","end","top start","top end","end top","end bottom","bottom end","bottom start","start bottom","start top"];function L(n,a){1&n&&(t.TgZ(0,"app-step-config",10),t._UZ(1,"app-placement-config",11),t.qZA(),t._UZ(2,"app-tour-service-api")(3,"app-events")),2&n&&(t.Q6J("isUseLegacyTitleVisible",!0),t.xp6(1),t.Q6J("values",t.DdM(2,k)))}function _(n,a){1&n&&t._UZ(0,"app-faq")}function O(n,a){if(1&n&&t._UZ(0,"app-hotkeys")(1,"app-defaults")(2,"app-custom-template",12)(3,"app-styling-active-tour-anchor"),2&n){const e=t.oxw();t.xp6(2),t.Q6J("defaultTemplate",e.defaultTemplate)}}const w=(0,d.Ve)((()=>{class n{constructor(){this.tourSteps=[{anchorId:"start.tour",content:"Welcome to the Ngx-UI-Tour tour!",placement:"bottom",title:"Welcome"},{anchorId:"angular-ui-tour",content:"Thanks to angular-ui-tour for the inspiration for the library",title:"angular-ui-tour"},{anchorId:"installation",content:"First, install the library...",title:"Installation",route:"ngx-bootstrap/Setup"},{anchorId:"usage",content:"...then use it.",title:"Usage",route:"ngx-bootstrap/Setup"},{anchorId:"tourService.start",content:"Don't forget to actually start the tour.",title:"Start the tour",route:"ngx-bootstrap/Setup"},{anchorId:"config.anchorId",content:"Every step needs an anchor.",title:"Anchor",route:"ngx-bootstrap/API"},{anchorId:"config.enableBackdrop",content:"You can enable backdrop to highlight active element.",title:"Backdrop",enableBackdrop:!0,route:"ngx-bootstrap/API"},{anchorId:"config.route",content:"Tours can span multiple routes.",title:"Route",route:"ngx-bootstrap/API"},{anchorId:"config.popoverClass",content:"You can add custom popover class.",title:"Custom CSS Class",popoverClass:"custom-tour-class",route:"ngx-bootstrap/API"},{anchorId:"config.placement",content:"Steps can be positioned around an anchor.",title:"Placement",route:"ngx-bootstrap/API"},{anchorId:"config.centerAnchorOnScroll",content:"Enable this config to keep active anchor element centered when possible.",title:"Center active anchor",route:"ngx-bootstrap/API"},{anchorId:"config.smoothScroll",content:'Enable "smoothScroll" option to smoothly scroll to an active element.',title:"Smooth scroll",route:"ngx-bootstrap/API"},{anchorId:"config.buttons.custom",content:"You can set custom step button names",title:"Button Titles",prevBtnTitle:"My Prev",nextBtnTitle:"My Next",endBtnTitle:"My End",route:"ngx-bootstrap/API"},{anchorId:"config.isAsync",content:"Mark your step as async if anchor element is added to DOM with a delay",title:"Wait for async event",route:"ngx-bootstrap/API"},{anchorId:"config.nextOnAnchorClick",content:"Click on the config description to go to the next step",title:"Next on Anchor Click",route:"ngx-bootstrap/API",nextOnAnchorClick:!0},{anchorId:"events",content:"You can subscribe to events",title:"Events",route:"ngx-bootstrap/API"},{anchorId:"hotkeys",content:"Try using the hotkeys to navigate through the tour.",title:"Hotkeys",route:"ngx-bootstrap/Misc"}],this.bootstrapScssImport='@import "bootstrap/scss/bootstrap";',this.defaultTemplate='\r\n \r\n \r\n @if (!step?.useLegacyTitle && step?.title) {\r\n
\r\n
{{ step?.title }}
\r\n \r\n
\r\n }\r\n

\r\n
\r\n \r\n \r\n \r\n \r\n {{ step?.prevBtnTitle }}\r\n \r\n @if (step.showProgress) {\r\n
{{ tourService.steps?.indexOf(step) + 1 }} / {{ tourService.steps?.length }}
\r\n }\r\n @if (tourService.hasNext(step) && !step.nextOnAnchorClick) {\r\n \r\n {{ step?.nextBtnTitle }}\r\n \r\n \r\n \r\n \r\n }\r\n @if (!tourService.hasNext(step)) {\r\n \r\n {{ step?.endBtnTitle }}\r\n \r\n }\r\n
\r\n \r\n
\r\n
\r\n',this.tourService=(0,t.f3M)(i.QL),this.delayAfterNavigation=(0,t.f3M)(v.h1)}ngOnInit(){this.tourService.initialize(this.tourSteps,{route:"ngx-bootstrap",delayAfterNavigation:this.delayAfterNavigation})}static#t=this.\u0275fac=function(s){return new(s||n)};static#o=this.\u0275cmp=t.Xpm({type:n,selectors:[["app-ngx-bootstrap"]],standalone:!0,features:[t._Bn([(0,f.E)(i.nr)]),t.jDz],decls:7,vars:0,consts:[["header","Ngx Bootstrap","package","ngx-ui-tour-ngx-bootstrap"],["pageTab",""],["tuiLink","","target","_blank","tourAnchor","angular-ui-tour","href","http://benmarch.github.io/angular-ui-tour"],["tuiLink","","href","https://github.com/valor-software/ngx-bootstrap","rel","nofollow","target","_blank"],["tuiButton","","type","button","tourAnchor","start.tour",3,"click"],["tourAnchor","installation","id","installation"],[1,"tui-space_top-3"],["filename","styles.scss",3,"code"],["tuiLink","","href","https://valor-software.com/ngx-bootstrap/#/documentation#installation","target","_blank"],["moduleName","TourNgxBootstrapModule"],[3,"isUseLegacyTitleVisible"],["value","auto","extraInfo","Accepts Popover placement options.",3,"values"],[3,"defaultTemplate"]],template:function(s,m){1&s&&(t.TgZ(0,"tui-doc-page",0),t.YNc(1,M,17,0,"ng-template",1)(2,P,34,1,"ng-template",1)(3,L,4,3,"ng-template",1)(4,_,1,0,"ng-template",1)(5,O,4,1,"ng-template",1),t.qZA(),t._UZ(6,"tour-step-template"))},dependencies:[r.Lq,r.qo,r.nj,c.j,c.V,i.Hn,g.n,g.H,b.R,l.fN,l.v0,u.H,u.L,r.JF,r.c0,x.G,T.e,y.t,A.s,Z.A,I.H,U.v,S.Q,B.w,C.e,N.J],styles:[".popover.custom-tour-class{--bs-popover-arrow-border: #333;--bs-popover-bg: #333;--bs-popover-border-color: #333;--bs-popover-body-color: #eee} .popover.custom-tour-class .progress{color:#6c757d!important} .popover.custom-tour-class .btn-close{filter:invert(1) grayscale(100%) brightness(200%)}app-header[_ngcontent-%COMP%]{margin-top:0}"]})}return n})())}}]); \ No newline at end of file +"use strict";(self.webpackChunkngx_ui_tour=self.webpackChunkngx_ui_tour||[]).push([[498],{3498:(D,p,o)=>{o.r(p),o.d(p,{default:()=>E});var d=o(8836),i=o(272),t=o(9212),v=o(7546),c=o(2114),l=o(631),u=o(8689),r=o(4308),f=o(5629),g=o(3584),b=o(7170),x=o(1074),T=o(2444),y=o(1872),A=o(7868),Z=o(3622),I=o(1769),U=o(6798),S=o(8791),B=o(732),C=o(2545),N=o(7765);function M(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"p")(1,"code"),t._uU(2,"ngx-ui-tour"),t.qZA(),t._uU(3," is a UI tour library built for Angular. It's inspired by "),t.TgZ(4,"a",2),t._uU(5,"angular-ui-tour"),t.qZA(),t._uU(6,". "),t.qZA(),t.TgZ(7,"p")(8,"code"),t._uU(9,"TourNgxBootstrapModule"),t.qZA(),t._uU(10," is an implementation of the tour UI that uses "),t.TgZ(11,"a",3),t._uU(12,"NgxBootstrap"),t.qZA(),t._uU(13," popovers to display tour steps. "),t.qZA(),t.TgZ(14,"p")(15,"button",4),t.NdJ("click",function(){t.CHM(e);const m=t.oxw();return t.KtG(m.tourService.start())}),t._uU(16," Start Demo Tour "),t.qZA()()}}function P(n,a){if(1&n&&(t.TgZ(0,"app-header",5),t._uU(1,"Installation"),t.qZA(),t.TgZ(2,"ol")(3,"li")(4,"code"),t._uU(5,"npm install ngx-ui-tour-ngx-bootstrap bootstrap ngx-bootstrap"),t.qZA()(),t.TgZ(6,"li"),t._uU(7," Import "),t.TgZ(8,"code"),t._uU(9,"TourNgxBootstrapModule"),t.qZA(),t._uU(10," into your app module "),t.TgZ(11,"tui-notification",6),t._uU(12," If you are using "),t.TgZ(13,"code"),t._uU(14,"v9"),t.qZA(),t._uU(15," or older, you have to import "),t.TgZ(16,"code"),t._uU(17,"TourNgxBootstrapModule.forRoot()"),t.qZA()()(),t.TgZ(18,"li"),t._uU(19," Make sure "),t.TgZ(20,"code"),t._uU(21,"RouterModule"),t.qZA(),t._uU(22," is imported in your app module "),t.qZA(),t.TgZ(23,"li"),t._uU(24," Add bootstrap SCSS to your "),t.TgZ(25,"code"),t._uU(26,"styles.scss"),t.qZA(),t._uU(27,": "),t._UZ(28,"tui-doc-code",7),t.qZA(),t.TgZ(29,"li"),t._uU(30," Make sure Ngx Bootstrap is "),t.TgZ(31,"a",8),t._uU(32,"installed correctly"),t.qZA()()(),t._UZ(33,"app-usage",9)),2&n){const e=t.oxw();t.xp6(28),t.Q6J("code",e.bootstrapScssImport)}}const k=()=>["top","bottom","left","right","auto","top left","top right","right top","right bottom","bottom right","bottom left","left bottom","left top","start","end","top start","top end","end top","end bottom","bottom end","bottom start","start bottom","start top"];function L(n,a){1&n&&(t.TgZ(0,"app-step-config",10),t._UZ(1,"app-placement-config",11),t.qZA(),t._UZ(2,"app-tour-service-api")(3,"app-events")),2&n&&(t.Q6J("isUseLegacyTitleVisible",!0),t.xp6(1),t.Q6J("values",t.DdM(2,k)))}function _(n,a){1&n&&t._UZ(0,"app-faq")}function O(n,a){if(1&n&&t._UZ(0,"app-hotkeys")(1,"app-defaults")(2,"app-custom-template",12)(3,"app-styling-active-tour-anchor"),2&n){const e=t.oxw();t.xp6(2),t.Q6J("defaultTemplate",e.defaultTemplate)}}const E=(0,d.Ve)((()=>{class n{constructor(){this.tourSteps=[{anchorId:"start.tour",content:"Welcome to the Ngx-UI-Tour tour!",placement:"bottom",title:"Welcome"},{anchorId:"angular-ui-tour",content:"Thanks to angular-ui-tour for the inspiration for the library",title:"angular-ui-tour"},{anchorId:"installation",content:"First, install the library...",title:"Installation",route:"ngx-bootstrap/Setup"},{anchorId:"usage",content:"...then use it.",title:"Usage",route:"ngx-bootstrap/Setup"},{anchorId:"tourService.start",content:"Don't forget to actually start the tour.",title:"Start the tour",route:"ngx-bootstrap/Setup"},{anchorId:"config.anchorId",content:"Every step needs an anchor.",title:"Anchor",route:"ngx-bootstrap/API"},{anchorId:"config.enableBackdrop",content:"You can enable backdrop to highlight active element.",title:"Backdrop",enableBackdrop:!0,route:"ngx-bootstrap/API"},{anchorId:"config.route",content:"Tours can span multiple routes.",title:"Route",route:"ngx-bootstrap/API"},{anchorId:"config.popoverClass",content:"You can add custom popover class.",title:"Custom CSS Class",popoverClass:"custom-tour-class",route:"ngx-bootstrap/API"},{anchorId:"config.placement",content:"Steps can be positioned around an anchor.",title:"Placement",route:"ngx-bootstrap/API"},{anchorId:"config.centerAnchorOnScroll",content:"Enable this config to keep active anchor element centered when possible.",title:"Center active anchor",route:"ngx-bootstrap/API"},{anchorId:"config.smoothScroll",content:'Enable "smoothScroll" option to smoothly scroll to an active element.',title:"Smooth scroll",route:"ngx-bootstrap/API"},{anchorId:"config.buttons.custom",content:"You can set custom step button names",title:"Button Titles",prevBtnTitle:"My Prev",nextBtnTitle:"My Next",endBtnTitle:"My End",route:"ngx-bootstrap/API"},{anchorId:"config.isAsync",content:"Mark your step as async if anchor element is added to DOM with a delay",title:"Wait for async event",route:"ngx-bootstrap/API"},{anchorId:"config.nextOnAnchorClick",content:"Click on the config description to go to the next step",title:"Next on Anchor Click",route:"ngx-bootstrap/API",nextOnAnchorClick:!0},{anchorId:"events",content:"You can subscribe to events",title:"Events",route:"ngx-bootstrap/API"},{anchorId:"hotkeys",content:"Try using the hotkeys to navigate through the tour.",title:"Hotkeys",route:"ngx-bootstrap/Misc"}],this.bootstrapScssImport='@import "bootstrap/scss/bootstrap";',this.defaultTemplate='\r\n \r\n \r\n @if (!step?.useLegacyTitle && step?.title) {\r\n
\r\n
{{ step?.title }}
\r\n \r\n
\r\n }\r\n

\r\n \r\n \r\n \r\n \r\n \r\n {{ step?.prevBtnTitle }}\r\n \r\n @if (step.showProgress) {\r\n
{{ tourService.steps?.indexOf(step) + 1 }} / {{ tourService.steps?.length }}
\r\n }\r\n @if (tourService.hasNext(step) && !step.nextOnAnchorClick) {\r\n \r\n {{ step?.nextBtnTitle }}\r\n \r\n \r\n \r\n \r\n }\r\n @if (!tourService.hasNext(step)) {\r\n \r\n {{ step?.endBtnTitle }}\r\n \r\n }\r\n \r\n \r\n
\r\n
\r\n',this.tourService=(0,t.f3M)(i.QL),this.delayAfterNavigation=(0,t.f3M)(v.h1)}ngOnInit(){this.tourService.initialize(this.tourSteps,{route:"ngx-bootstrap",delayAfterNavigation:this.delayAfterNavigation})}static#t=this.\u0275fac=function(s){return new(s||n)};static#o=this.\u0275cmp=t.Xpm({type:n,selectors:[["app-ngx-bootstrap"]],standalone:!0,features:[t._Bn([(0,f.E)(i.nr)]),t.jDz],decls:7,vars:0,consts:[["header","Ngx Bootstrap","package","ngx-ui-tour-ngx-bootstrap"],["pageTab",""],["tuiLink","","target","_blank","tourAnchor","angular-ui-tour","href","http://benmarch.github.io/angular-ui-tour"],["tuiLink","","href","https://github.com/valor-software/ngx-bootstrap","rel","nofollow","target","_blank"],["tuiButton","","type","button","tourAnchor","start.tour",3,"click"],["tourAnchor","installation","id","installation"],[1,"tui-space_top-3"],["filename","styles.scss",3,"code"],["tuiLink","","href","https://valor-software.com/ngx-bootstrap/#/documentation#installation","target","_blank"],["moduleName","TourNgxBootstrapModule"],[3,"isUseLegacyTitleVisible"],["value","auto","extraInfo","Accepts Popover placement options.",3,"values"],[3,"defaultTemplate"]],template:function(s,m){1&s&&(t.TgZ(0,"tui-doc-page",0),t.YNc(1,M,17,0,"ng-template",1)(2,P,34,1,"ng-template",1)(3,L,4,3,"ng-template",1)(4,_,1,0,"ng-template",1)(5,O,4,1,"ng-template",1),t.qZA(),t._UZ(6,"tour-step-template"))},dependencies:[r.Lq,r.qo,r.nj,c.j,c.V,i.Hn,g.n,g.H,b.R,l.fN,l.v0,u.H,u.L,r.JF,r.c0,x.G,T.e,y.t,A.s,Z.A,I.H,U.v,S.Q,B.w,C.e,N.J],styles:[".popover.custom-tour-class{--bs-popover-arrow-border: #333;--bs-popover-bg: #333;--bs-popover-border-color: #333;--bs-popover-body-color: #eee} .popover.custom-tour-class .progress{color:#6c757d!important} .popover.custom-tour-class .btn-close{filter:invert(1) grayscale(100%) brightness(200%)}app-header[_ngcontent-%COMP%]{margin-top:0}"]})}return n})())}}]); \ No newline at end of file diff --git a/545.658cafcac9908165.js b/545.d4e3cc7570d5245b.js similarity index 57% rename from 545.658cafcac9908165.js rename to 545.d4e3cc7570d5245b.js index 2a2e7fd8..22e740ff 100644 --- a/545.658cafcac9908165.js +++ b/545.d4e3cc7570d5245b.js @@ -1 +1 @@ -"use strict";(self.webpackChunkngx_ui_tour=self.webpackChunkngx_ui_tour||[]).push([[545],{7545:(D,s,n)=>{n.r(s),n.d(s,{default:()=>L});var d=n(8836),t=n(9212),r=n(2018),g=n(7546),c=n(2114),l=n(631),p=n(8689),u=n(4308),v=n(5629),f=n(1603),T=n(2666),I=n(1074),A=n(2444),y=n(1872),Z=n(7868),x=n(3622),U=n(1769),S=n(6798),b=n(8791),C=n(732),H=n(2545),M=n(7765);function P(e,i){if(1&e){const o=t.EpF();t.TgZ(0,"p")(1,"code"),t._uU(2,"ngx-ui-tour"),t.qZA(),t._uU(3," is a UI tour library built for Angular. It's inspired by "),t.TgZ(4,"a",2),t._uU(5,"angular-ui-tour"),t.qZA(),t._uU(6,". "),t.qZA(),t.TgZ(7,"p")(8,"code"),t._uU(9,"TourTuiHintModule"),t.qZA(),t._uU(10," is an implementation of the tour UI that uses "),t.TgZ(11,"a",3),t._uU(12,"Taiga UI"),t.qZA(),t._uU(13," Hint to display tour steps. "),t.qZA(),t.TgZ(14,"p")(15,"button",4),t.NdJ("click",function(){t.CHM(o);const h=t.oxw();return t.KtG(h.start())}),t._uU(16," Start Demo Tour "),t.qZA()()}}function k(e,i){1&e&&(t.TgZ(0,"app-header",5),t._uU(1,"Installation"),t.qZA(),t.TgZ(2,"ol")(3,"li")(4,"code"),t._uU(5,"npm install ngx-ui-tour-tui-hint @taiga-ui/core @taiga-ui/cdk @taiga-ui/icons"),t.qZA()(),t.TgZ(6,"li"),t._uU(7," Import "),t.TgZ(8,"code"),t._uU(9,"TourTuiHintModule"),t.qZA(),t._uU(10," into your app module "),t.TgZ(11,"tui-notification",6),t._uU(12," If you are using "),t.TgZ(13,"code"),t._uU(14,"v3"),t.qZA(),t._uU(15," or older, you have to import "),t.TgZ(16,"code"),t._uU(17,"TourTuiHintModule.forRoot()"),t.qZA()()(),t.TgZ(18,"li"),t._uU(19," Make sure "),t.TgZ(20,"code"),t._uU(21,"RouterModule"),t.qZA(),t._uU(22," is imported in your app module "),t.qZA(),t.TgZ(23,"li"),t._uU(24," Make sure Taiga UI is "),t.TgZ(25,"a",7),t._uU(26,"installed correctly"),t.qZA()()(),t._UZ(27,"app-usage",8))}function B(e,i){if(1&e&&(t.TgZ(0,"app-step-config"),t._UZ(1,"app-placement-config",9),t.qZA(),t._UZ(2,"app-tour-service-api")(3,"app-events")),2&e){const o=t.oxw();t.xp6(1),t.Q6J("values",o.hintPlacements)}}function N(e,i){1&e&&t._UZ(0,"app-faq",10)}function O(e,i){if(1&e&&t._UZ(0,"app-hotkeys")(1,"app-defaults")(2,"app-custom-template",11)(3,"app-styling-active-tour-anchor"),2&e){const o=t.oxw();t.xp6(2),t.Q6J("defaultTemplate",o.defaultTemplate)}}const L=(0,d.Ve)((()=>{class e{constructor(){this.tourSteps=[{anchorId:"start.tour",content:"Welcome to the Ngx-UI-Tour tour!",title:"Welcome"},{anchorId:"angular-ui-tour",content:"Thanks to angular-ui-tour for the inspiration for the library",title:"angular-ui-tour"},{anchorId:"installation",content:"First, install the library...",title:"Installation",route:"tui-hint/Setup"},{anchorId:"usage",content:"...then use it.",title:"Usage",route:"tui-hint/Setup"},{anchorId:"tourService.start",content:"Don't forget to actually start the tour.",title:"Start the tour",route:"tui-hint/Setup"},{anchorId:"config.anchorId",content:"Every step needs an anchor.",title:"Anchor",route:"tui-hint/API"},{anchorId:"config.enableBackdrop",content:"You can enable backdrop to highlight active element.",title:"Backdrop",enableBackdrop:!0,route:"tui-hint/API"},{anchorId:"config.route",content:"Tours can span multiple routes.",title:"Route",route:"tui-hint/API"},{anchorId:"config.placement",content:"Steps can be positioned around an anchor.",title:"Placement",route:"tui-hint/API"},{anchorId:"config.centerAnchorOnScroll",content:"Enable this config to keep active anchor element centered when possible.",title:"Center active anchor",route:"tui-hint/API"},{anchorId:"config.smoothScroll",content:'Enable "smoothScroll" option to smoothly scroll to an active element.',title:"Smooth scroll",route:"tui-hint/API"},{anchorId:"config.buttons.custom",content:"You can set custom step button names",title:"Button Titles",prevBtnTitle:"My Prev",nextBtnTitle:"My Next",endBtnTitle:"My End",route:"tui-hint/API",stepDimensions:{maxWidth:"340px"}},{anchorId:"config.isAsync",content:"Mark your step as async if anchor element is added to DOM with a delay",title:"Wait for async event",route:"tui-hint/API"},{anchorId:"config.nextOnAnchorClick",content:"Click on the config description to go to the next step",title:"Next on Anchor Click",route:"tui-hint/API",nextOnAnchorClick:!0},{anchorId:"events",content:"You can subscribe to events",title:"Events",route:"tui-hint/API"},{anchorId:"hotkeys",content:"Try using the hotkeys to navigate through the tour.",title:"Hotkeys",route:"tui-hint/Misc"}],this.defaultTemplate='\r\n \r\n \r\n
\r\n

{{ step?.title }}

\r\n \r\n
\r\n

\r\n
\r\n \r\n {{ step?.prevBtnTitle }}\r\n \r\n @if (step.showProgress) {\r\n
{{ tourService.steps?.indexOf(step) + 1 }} / {{ tourService.steps?.length }}
\r\n }\r\n @if (tourService.hasNext(step) && !step.nextOnAnchorClick) {\r\n \r\n {{ step?.nextBtnTitle }}\r\n \r\n }\r\n @if (!tourService.hasNext(step)) {\r\n \r\n {{ step?.endBtnTitle }}\r\n \r\n }\r\n
\r\n \r\n
\r\n
\r\n',this.hintPlacements=["top-left","top","top-right","bottom-left","bottom","bottom-right","left-top","left","left-bottom","right-top","right","right-bottom"],this.tourService=(0,t.f3M)(r.QL),this.delayAfterNavigation=(0,t.f3M)(g.h1)}ngOnInit(){this.tourService.initialize(this.tourSteps,{route:"tui-hint",delayAfterNavigation:this.delayAfterNavigation})}start(){this.tourService.start()}static#t=this.\u0275fac=function(a){return new(a||e)};static#n=this.\u0275cmp=t.Xpm({type:e,selectors:[["app-tui-hint"]],standalone:!0,features:[t._Bn([(0,v.E)(r.C5)]),t.jDz],decls:7,vars:0,consts:[["header","Taiga UI Hint","package","ngx-ui-tour-tui-hint"],["pageTab",""],["tuiLink","","target","_blank","tourAnchor","angular-ui-tour","href","http://benmarch.github.io/angular-ui-tour"],["tuiLink","","href","https://taiga-ui.dev","target","_blank"],["tuiButton","","type","button","tourAnchor","start.tour",3,"click"],["tourAnchor","installation","id","installation"],[1,"tui-space_top-3"],["tuiLink","","href","https://taiga-ui.dev/getting-started","target","_blank"],["moduleName","TourTuiHintModule"],["value","bottom-right","extraInfo","Accepts HintManual direction options.",3,"values"],["disablePageScrollingIntroducedIn","4.1"],[3,"defaultTemplate"]],template:function(a,h){1&a&&(t.TgZ(0,"tui-doc-page",0),t.YNc(1,P,17,0,"ng-template",1)(2,k,28,0,"ng-template",1)(3,B,4,1,"ng-template",1)(4,N,1,0,"ng-template",1)(5,O,4,1,"ng-template",1),t.qZA(),t._UZ(6,"tour-step-template"))},dependencies:[u.Lq,u.qo,u.nj,c.j,c.V,r.wx,f.R,T.C,l.fN,l.v0,p.H,p.L,I.G,A.e,y.t,Z.s,x.A,U.H,S.v,b.Q,C.w,H.e,M.J],styles:["app-header[_ngcontent-%COMP%]{margin-top:0}"]})}return e})())}}]); \ No newline at end of file +"use strict";(self.webpackChunkngx_ui_tour=self.webpackChunkngx_ui_tour||[]).push([[545],{7545:(D,s,n)=>{n.r(s),n.d(s,{default:()=>L});var g=n(8836),t=n(9212),a=n(2018),d=n(7546),c=n(2114),l=n(631),p=n(8689),u=n(4308),v=n(5629),f=n(1603),T=n(2666),I=n(1074),A=n(2444),y=n(1872),Z=n(7868),x=n(3622),U=n(1769),S=n(6798),b=n(8791),C=n(732),H=n(2545),P=n(7765);function M(e,i){if(1&e){const o=t.EpF();t.TgZ(0,"p")(1,"code"),t._uU(2,"ngx-ui-tour"),t.qZA(),t._uU(3," is a UI tour library built for Angular. It's inspired by "),t.TgZ(4,"a",2),t._uU(5,"angular-ui-tour"),t.qZA(),t._uU(6,". "),t.qZA(),t.TgZ(7,"p")(8,"code"),t._uU(9,"TourTuiHintModule"),t.qZA(),t._uU(10," is an implementation of the tour UI that uses "),t.TgZ(11,"a",3),t._uU(12,"Taiga UI"),t.qZA(),t._uU(13," Hint to display tour steps. "),t.qZA(),t.TgZ(14,"p")(15,"button",4),t.NdJ("click",function(){t.CHM(o);const h=t.oxw();return t.KtG(h.start())}),t._uU(16," Start Demo Tour "),t.qZA()()}}function k(e,i){1&e&&(t.TgZ(0,"app-header",5),t._uU(1,"Installation"),t.qZA(),t.TgZ(2,"ol")(3,"li")(4,"code"),t._uU(5,"npm install ngx-ui-tour-tui-hint @taiga-ui/core @taiga-ui/cdk @taiga-ui/icons"),t.qZA()(),t.TgZ(6,"li"),t._uU(7," Import "),t.TgZ(8,"code"),t._uU(9,"TourTuiHintModule"),t.qZA(),t._uU(10," into your app module "),t.TgZ(11,"tui-notification",6),t._uU(12," If you are using "),t.TgZ(13,"code"),t._uU(14,"v3"),t.qZA(),t._uU(15," or older, you have to import "),t.TgZ(16,"code"),t._uU(17,"TourTuiHintModule.forRoot()"),t.qZA()()(),t.TgZ(18,"li"),t._uU(19," Make sure "),t.TgZ(20,"code"),t._uU(21,"RouterModule"),t.qZA(),t._uU(22," is imported in your app module "),t.qZA(),t.TgZ(23,"li"),t._uU(24," Make sure Taiga UI is "),t.TgZ(25,"a",7),t._uU(26,"installed correctly"),t.qZA()()(),t._UZ(27,"app-usage",8))}function B(e,i){if(1&e&&(t.TgZ(0,"app-step-config"),t._UZ(1,"app-placement-config",9),t.qZA(),t._UZ(2,"app-tour-service-api")(3,"app-events")),2&e){const o=t.oxw();t.xp6(1),t.Q6J("values",o.hintPlacements)}}function N(e,i){1&e&&t._UZ(0,"app-faq",10)}function O(e,i){if(1&e&&t._UZ(0,"app-hotkeys")(1,"app-defaults")(2,"app-custom-template",11)(3,"app-styling-active-tour-anchor"),2&e){const o=t.oxw();t.xp6(2),t.Q6J("defaultTemplate",o.defaultTemplate)}}const L=(0,g.Ve)((()=>{class e{constructor(){this.tourSteps=[{anchorId:"start.tour",content:"Welcome to the Ngx-UI-Tour tour!",title:"Welcome"},{anchorId:"angular-ui-tour",content:"Thanks to angular-ui-tour for the inspiration for the library",title:"angular-ui-tour"},{anchorId:"installation",content:"First, install the library...",title:"Installation",route:"tui-hint/Setup"},{anchorId:"usage",content:"...then use it.",title:"Usage",route:"tui-hint/Setup"},{anchorId:"tourService.start",content:"Don't forget to actually start the tour.",title:"Start the tour",route:"tui-hint/Setup"},{anchorId:"config.anchorId",content:"Every step needs an anchor.",title:"Anchor",route:"tui-hint/API"},{anchorId:"config.enableBackdrop",content:"You can enable backdrop to highlight active element.",title:"Backdrop",enableBackdrop:!0,route:"tui-hint/API"},{anchorId:"config.route",content:"Tours can span multiple routes.",title:"Route",route:"tui-hint/API"},{anchorId:"config.placement",content:"Steps can be positioned around an anchor.",title:"Placement",route:"tui-hint/API"},{anchorId:"config.centerAnchorOnScroll",content:"Enable this config to keep active anchor element centered when possible.",title:"Center active anchor",route:"tui-hint/API"},{anchorId:"config.smoothScroll",content:'Enable "smoothScroll" option to smoothly scroll to an active element.',title:"Smooth scroll",route:"tui-hint/API"},{anchorId:"config.buttons.custom",content:"You can set custom step button names",title:"Button Titles",prevBtnTitle:"My Prev",nextBtnTitle:"My Next",endBtnTitle:"My End",route:"tui-hint/API",stepDimensions:{maxWidth:"340px"}},{anchorId:"config.isAsync",content:"Mark your step as async if anchor element is added to DOM with a delay",title:"Wait for async event",route:"tui-hint/API"},{anchorId:"config.nextOnAnchorClick",content:"Click on the config description to go to the next step",title:"Next on Anchor Click",route:"tui-hint/API",nextOnAnchorClick:!0},{anchorId:"events",content:"You can subscribe to events",title:"Events",route:"tui-hint/API"},{anchorId:"hotkeys",content:"Try using the hotkeys to navigate through the tour.",title:"Hotkeys",route:"tui-hint/Misc"}],this.defaultTemplate='\r\n \r\n \r\n
\r\n

{{ step?.title }}

\r\n \r\n
\r\n

\r\n \r\n \r\n {{ step?.prevBtnTitle }}\r\n \r\n @if (step.showProgress) {\r\n
{{ tourService.steps?.indexOf(step) + 1 }} / {{ tourService.steps?.length }}
\r\n }\r\n @if (tourService.hasNext(step) && !step.nextOnAnchorClick) {\r\n \r\n {{ step?.nextBtnTitle }}\r\n \r\n }\r\n @if (!tourService.hasNext(step)) {\r\n \r\n {{ step?.endBtnTitle }}\r\n \r\n }\r\n \r\n \r\n
\r\n
\r\n',this.hintPlacements=["top-left","top","top-right","bottom-left","bottom","bottom-right","left-top","left","left-bottom","right-top","right","right-bottom"],this.tourService=(0,t.f3M)(a.QL),this.delayAfterNavigation=(0,t.f3M)(d.h1)}ngOnInit(){this.tourService.initialize(this.tourSteps,{route:"tui-hint",delayAfterNavigation:this.delayAfterNavigation})}start(){this.tourService.start()}static#t=this.\u0275fac=function(r){return new(r||e)};static#n=this.\u0275cmp=t.Xpm({type:e,selectors:[["app-tui-hint"]],standalone:!0,features:[t._Bn([(0,v.E)(a.C5)]),t.jDz],decls:7,vars:0,consts:[["header","Taiga UI Hint","package","ngx-ui-tour-tui-hint"],["pageTab",""],["tuiLink","","target","_blank","tourAnchor","angular-ui-tour","href","http://benmarch.github.io/angular-ui-tour"],["tuiLink","","href","https://taiga-ui.dev","target","_blank"],["tuiButton","","type","button","tourAnchor","start.tour",3,"click"],["tourAnchor","installation","id","installation"],[1,"tui-space_top-3"],["tuiLink","","href","https://taiga-ui.dev/getting-started","target","_blank"],["moduleName","TourTuiHintModule"],["value","bottom-right","extraInfo","Accepts HintManual direction options.",3,"values"],["disablePageScrollingIntroducedIn","4.1"],[3,"defaultTemplate"]],template:function(r,h){1&r&&(t.TgZ(0,"tui-doc-page",0),t.YNc(1,M,17,0,"ng-template",1)(2,k,28,0,"ng-template",1)(3,B,4,1,"ng-template",1)(4,N,1,0,"ng-template",1)(5,O,4,1,"ng-template",1),t.qZA(),t._UZ(6,"tour-step-template"))},dependencies:[u.Lq,u.qo,u.nj,c.j,c.V,a.wx,f.R,T.C,l.fN,l.v0,p.H,p.L,I.G,A.e,y.t,Z.s,x.A,U.H,S.v,b.Q,C.w,H.e,P.J],styles:["app-header[_ngcontent-%COMP%]{margin-top:0}"]})}return e})())}}]); \ No newline at end of file diff --git a/568.7c1226d99888ab41.js b/568.e86ef601d19ca7ba.js similarity index 58% rename from 568.7c1226d99888ab41.js rename to 568.e86ef601d19ca7ba.js index 03cf538a..f4fc8796 100644 --- a/568.7c1226d99888ab41.js +++ b/568.e86ef601d19ca7ba.js @@ -1 +1 @@ -"use strict";(self.webpackChunkngx_ui_tour=self.webpackChunkngx_ui_tour||[]).push([[568],{4568:(R,l,o)=>{o.r(l),o.d(l,{default:()=>L});var d=o(8836),a=o(4524),t=o(9212),v=o(7546),p=o(2114),u=o(631),c=o(4308),m=o(5629),g=o(9698),f=o(1990),I=o(1074),T=o(2444),A=o(1872),Z=o(7868),y=o(3622),U=o(1769),P=o(6798),S=o(8791),x=o(732),b=o(2545),k=o(7765);function C(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"p")(1,"code"),t._uU(2,"ngx-ui-tour"),t.qZA(),t._uU(3," is a UI tour library built for Angular. It's inspired by "),t.TgZ(4,"a",2),t._uU(5,"angular-ui-tour"),t.qZA(),t._uU(6,". "),t.qZA(),t.TgZ(7,"p")(8,"code"),t._uU(9,"TourIonPopoverModule"),t.qZA(),t._uU(10," is an implementation of the tour UI that uses "),t.TgZ(11,"a",3),t._uU(12,"Ionic"),t.qZA(),t._uU(13," Popover to display tour steps. "),t.qZA(),t.TgZ(14,"p")(15,"button",4),t.NdJ("click",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.tourService.start())}),t._uU(16," Start Demo Tour "),t.qZA()()}}function M(n,r){1&n&&(t.TgZ(0,"app-header",5),t._uU(1,"Installation"),t.qZA(),t.TgZ(2,"ol")(3,"li")(4,"code"),t._uU(5,"npm install ngx-ui-tour-ionic @ionic/angular"),t.qZA()(),t.TgZ(6,"li"),t._uU(7," Import "),t.TgZ(8,"code"),t._uU(9,"TourIonPopoverModule"),t.qZA(),t._uU(10," into your app module "),t.qZA(),t.TgZ(11,"li"),t._uU(12," Make sure "),t.TgZ(13,"code"),t._uU(14,"RouterModule"),t.qZA(),t._uU(15," is imported in your app module "),t.qZA(),t.TgZ(16,"li"),t._uU(17," Make sure Ionic is "),t.TgZ(18,"a",6),t._uU(19,"installed correctly"),t.qZA()()(),t._UZ(20,"app-usage",7))}function B(n,r){1&n&&(t.TgZ(0,"app-step-config",8),t._UZ(1,"app-placement-config",9),t.qZA(),t._UZ(2,"app-tour-service-api")(3,"app-events")),2&n&&t.Q6J("isIonicShowArrowVisible",!0)}function N(n,r){1&n&&t._UZ(0,"app-faq",10)}function O(n,r){if(1&n&&t._UZ(0,"app-hotkeys")(1,"app-defaults")(2,"app-custom-template",11)(3,"app-styling-active-tour-anchor"),2&n){const e=t.oxw();t.xp6(2),t.Q6J("defaultTemplate",e.defaultTemplate)}}const L=(0,d.Ve)((()=>{class n{constructor(){this.tourSteps=[{anchorId:"start.tour",content:"Welcome to the Ngx-UI-Tour tour!",title:"Welcome"},{anchorId:"angular-ui-tour",content:"Thanks to angular-ui-tour for the inspiration for the library",title:"angular-ui-tour"},{anchorId:"installation",content:"First, install the library...",title:"Installation",route:"ion-popover/Setup"},{anchorId:"usage",content:"...then use it.",title:"Usage",route:"ion-popover/Setup"},{anchorId:"tourService.start",content:"Don't forget to actually start the tour.",title:"Start the tour",route:"ion-popover/Setup"},{anchorId:"config.anchorId",content:"Every step needs an anchor.",title:"Anchor",route:"ion-popover/API"},{anchorId:"config.enableBackdrop",content:"You can enable backdrop to highlight active element.",title:"Backdrop",enableBackdrop:!0,route:"ion-popover/API"},{anchorId:"config.route",content:"Tours can span multiple routes.",title:"Route",route:"ion-popover/API"},{anchorId:"config.placement",content:"Steps can be positioned around an anchor.",title:"Placement",route:"ion-popover/API"},{anchorId:"config.centerAnchorOnScroll",content:"Enable this config to keep active anchor element centered when possible.",title:"Center active anchor",route:"ion-popover/API"},{anchorId:"config.smoothScroll",content:'Enable "smoothScroll" option to smoothly scroll to an active element.',title:"Smooth scroll",route:"ion-popover/API"},{anchorId:"config.buttons.custom",content:"You can set custom step button names",title:"Button Titles",prevBtnTitle:"My Prev",nextBtnTitle:"My Next",endBtnTitle:"My End",route:"ion-popover/API"},{anchorId:"config.isAsync",content:"Mark your step as async if anchor element is added to DOM with a delay",title:"Wait for async event",route:"ion-popover/API"},{anchorId:"config.nextOnAnchorClick",content:"Click on the config description to go to the next step",title:"Next on Anchor Click",route:"ion-popover/API",nextOnAnchorClick:!0},{anchorId:"events",content:"You can subscribe to events",title:"Events",route:"ion-popover/API"},{anchorId:"hotkeys",content:"Try using the hotkeys to navigate through the tour.",title:"Hotkeys",route:"ion-popover/Misc"}],this.defaultTemplate='\r\n \r\n \r\n \r\n {{step.title}}\r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n\r\n',this.tourService=(0,t.f3M)(a.QL),this.delayAfterNavigation=(0,t.f3M)(v.h1)}ngOnInit(){this.tourService.initialize(this.tourSteps,{route:"ion-popover",delayAfterNavigation:this.delayAfterNavigation})}static#t=this.\u0275fac=function(i){return new(i||n)};static#o=this.\u0275cmp=t.Xpm({type:n,selectors:[["app-ion-popover"]],standalone:!0,features:[t._Bn([(0,m.E)(a.kT)]),t.jDz],decls:7,vars:0,consts:[["header","Ionic","package","ngx-ui-tour-ionic"],["pageTab",""],["tuiLink","","target","_blank","tourAnchor","angular-ui-tour","href","http://benmarch.github.io/angular-ui-tour"],["tuiLink","","href","https://ionicframework.com/","target","_blank"],["tuiButton","","type","button","tourAnchor","start.tour",3,"click"],["tourAnchor","installation","id","installation"],["tuiLink","","href","https://ionicframework.com/docs/intro/cli","target","_blank"],["moduleName","TourIonPopoverModule"],[3,"isIonicShowArrowVisible"],["type","IonPopoverPlacement"],["disablePageScrollingIntroducedIn","1.1"],[3,"defaultTemplate"]],template:function(i,s){1&i&&(t.TgZ(0,"tui-doc-page",0),t.YNc(1,C,17,0,"ng-template",1)(2,M,21,0,"ng-template",1)(3,B,4,1,"ng-template",1)(4,N,1,0,"ng-template",1)(5,O,4,1,"ng-template",1),t.qZA(),t._UZ(6,"tour-step-template"))},dependencies:[c.Lq,c.qo,c.nj,p.j,p.V,a.jA,g.R,f.k,u.fN,u.v0,I.G,T.e,A.t,Z.s,y.A,U.H,P.v,S.Q,x.w,b.e,k.J],styles:["app-header[_ngcontent-%COMP%]{margin-top:0}"]})}return n})())}}]); \ No newline at end of file +"use strict";(self.webpackChunkngx_ui_tour=self.webpackChunkngx_ui_tour||[]).push([[568],{4568:(R,l,o)=>{o.r(l),o.d(l,{default:()=>L});var d=o(8836),a=o(4524),t=o(9212),v=o(7546),p=o(2114),s=o(631),c=o(4308),m=o(5629),g=o(9698),f=o(1990),I=o(1074),T=o(2444),A=o(1872),Z=o(7868),y=o(3622),P=o(1769),U=o(6798),S=o(8791),x=o(732),b=o(2545),k=o(7765);function C(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"p")(1,"code"),t._uU(2,"ngx-ui-tour"),t.qZA(),t._uU(3," is a UI tour library built for Angular. It's inspired by "),t.TgZ(4,"a",2),t._uU(5,"angular-ui-tour"),t.qZA(),t._uU(6,". "),t.qZA(),t.TgZ(7,"p")(8,"code"),t._uU(9,"TourIonPopoverModule"),t.qZA(),t._uU(10," is an implementation of the tour UI that uses "),t.TgZ(11,"a",3),t._uU(12,"Ionic"),t.qZA(),t._uU(13," Popover to display tour steps. "),t.qZA(),t.TgZ(14,"p")(15,"button",4),t.NdJ("click",function(){t.CHM(e);const u=t.oxw();return t.KtG(u.tourService.start())}),t._uU(16," Start Demo Tour "),t.qZA()()}}function M(n,r){1&n&&(t.TgZ(0,"app-header",5),t._uU(1,"Installation"),t.qZA(),t.TgZ(2,"ol")(3,"li")(4,"code"),t._uU(5,"npm install ngx-ui-tour-ionic @ionic/angular"),t.qZA()(),t.TgZ(6,"li"),t._uU(7," Import "),t.TgZ(8,"code"),t._uU(9,"TourIonPopoverModule"),t.qZA(),t._uU(10," into your app module "),t.qZA(),t.TgZ(11,"li"),t._uU(12," Make sure "),t.TgZ(13,"code"),t._uU(14,"RouterModule"),t.qZA(),t._uU(15," is imported in your app module "),t.qZA(),t.TgZ(16,"li"),t._uU(17," Make sure Ionic is "),t.TgZ(18,"a",6),t._uU(19,"installed correctly"),t.qZA()()(),t._UZ(20,"app-usage",7))}function B(n,r){1&n&&(t.TgZ(0,"app-step-config",8),t._UZ(1,"app-placement-config",9),t.qZA(),t._UZ(2,"app-tour-service-api")(3,"app-events")),2&n&&t.Q6J("isIonicShowArrowVisible",!0)}function N(n,r){1&n&&t._UZ(0,"app-faq",10)}function O(n,r){if(1&n&&t._UZ(0,"app-hotkeys")(1,"app-defaults")(2,"app-custom-template",11)(3,"app-styling-active-tour-anchor"),2&n){const e=t.oxw();t.xp6(2),t.Q6J("defaultTemplate",e.defaultTemplate)}}const L=(0,d.Ve)((()=>{class n{constructor(){this.tourSteps=[{anchorId:"start.tour",content:"Welcome to the Ngx-UI-Tour tour!",title:"Welcome"},{anchorId:"angular-ui-tour",content:"Thanks to angular-ui-tour for the inspiration for the library",title:"angular-ui-tour"},{anchorId:"installation",content:"First, install the library...",title:"Installation",route:"ion-popover/Setup"},{anchorId:"usage",content:"...then use it.",title:"Usage",route:"ion-popover/Setup"},{anchorId:"tourService.start",content:"Don't forget to actually start the tour.",title:"Start the tour",route:"ion-popover/Setup"},{anchorId:"config.anchorId",content:"Every step needs an anchor.",title:"Anchor",route:"ion-popover/API"},{anchorId:"config.enableBackdrop",content:"You can enable backdrop to highlight active element.",title:"Backdrop",enableBackdrop:!0,route:"ion-popover/API"},{anchorId:"config.route",content:"Tours can span multiple routes.",title:"Route",route:"ion-popover/API"},{anchorId:"config.placement",content:"Steps can be positioned around an anchor.",title:"Placement",route:"ion-popover/API"},{anchorId:"config.centerAnchorOnScroll",content:"Enable this config to keep active anchor element centered when possible.",title:"Center active anchor",route:"ion-popover/API"},{anchorId:"config.smoothScroll",content:'Enable "smoothScroll" option to smoothly scroll to an active element.',title:"Smooth scroll",route:"ion-popover/API"},{anchorId:"config.buttons.custom",content:"You can set custom step button names",title:"Button Titles",prevBtnTitle:"My Prev",nextBtnTitle:"My Next",endBtnTitle:"My End",route:"ion-popover/API"},{anchorId:"config.isAsync",content:"Mark your step as async if anchor element is added to DOM with a delay",title:"Wait for async event",route:"ion-popover/API"},{anchorId:"config.nextOnAnchorClick",content:"Click on the config description to go to the next step",title:"Next on Anchor Click",route:"ion-popover/API",nextOnAnchorClick:!0},{anchorId:"events",content:"You can subscribe to events",title:"Events",route:"ion-popover/API"},{anchorId:"hotkeys",content:"Try using the hotkeys to navigate through the tour.",title:"Hotkeys",route:"ion-popover/Misc"}],this.defaultTemplate='\r\n \r\n \r\n \r\n {{step.title}}\r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n {{ step.prevBtnTitle }}\r\n \r\n @if (step.showProgress) {\r\n
{{ tourService.steps?.indexOf(step) + 1 }} / {{ tourService.steps?.length }}
\r\n }\r\n @if (tourService.hasNext(step) && !step.nextOnAnchorClick) {\r\n \r\n {{ step.nextBtnTitle }}\r\n \r\n \r\n }\r\n @if (!tourService.hasNext(step)) {\r\n \r\n {{ step.endBtnTitle }}\r\n \r\n }\r\n \r\n
\r\n
\r\n
\r\n',this.tourService=(0,t.f3M)(a.QL),this.delayAfterNavigation=(0,t.f3M)(v.h1)}ngOnInit(){this.tourService.initialize(this.tourSteps,{route:"ion-popover",delayAfterNavigation:this.delayAfterNavigation})}static#t=this.\u0275fac=function(i){return new(i||n)};static#o=this.\u0275cmp=t.Xpm({type:n,selectors:[["app-ion-popover"]],standalone:!0,features:[t._Bn([(0,m.E)(a.kT)]),t.jDz],decls:7,vars:0,consts:[["header","Ionic","package","ngx-ui-tour-ionic"],["pageTab",""],["tuiLink","","target","_blank","tourAnchor","angular-ui-tour","href","http://benmarch.github.io/angular-ui-tour"],["tuiLink","","href","https://ionicframework.com/","target","_blank"],["tuiButton","","type","button","tourAnchor","start.tour",3,"click"],["tourAnchor","installation","id","installation"],["tuiLink","","href","https://ionicframework.com/docs/intro/cli","target","_blank"],["moduleName","TourIonPopoverModule"],[3,"isIonicShowArrowVisible"],["type","IonPopoverPlacement"],["disablePageScrollingIntroducedIn","1.1"],[3,"defaultTemplate"]],template:function(i,u){1&i&&(t.TgZ(0,"tui-doc-page",0),t.YNc(1,C,17,0,"ng-template",1)(2,M,21,0,"ng-template",1)(3,B,4,1,"ng-template",1)(4,N,1,0,"ng-template",1)(5,O,4,1,"ng-template",1),t.qZA(),t._UZ(6,"tour-step-template"))},dependencies:[c.Lq,c.qo,c.nj,p.j,p.V,a.jA,g.R,f.k,s.fN,s.v0,I.G,T.e,A.t,Z.s,y.A,P.H,U.v,S.Q,x.w,b.e,k.J],styles:["app-header[_ngcontent-%COMP%]{margin-top:0}"]})}return n})())}}]); \ No newline at end of file diff --git a/629.9aed22d553b58de2.js b/629.9aed22d553b58de2.js deleted file mode 100644 index bf3c8b7e..00000000 --- a/629.9aed22d553b58de2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkngx_ui_tour=self.webpackChunkngx_ui_tour||[]).push([[629],{4440:(kt,ot,c)=>{c.d(ot,{p:()=>k});var t=c(5369),_=c(9212);let k=(()=>{class T{constructor(H,L){this.tourService=H,this.element=L,this.isActive=!1}ngOnInit(){this.tourService.register(this.tourAnchor,this)}ngOnDestroy(){this.tourService.unregister(this.tourAnchor)}showTourStep(H){this.isActive=!0,console.group(H.title),console.log(H.content),console.log(`Anchor id: ${this.tourAnchor}`),console.groupEnd()}hideTourStep(){this.isActive=!1}static#t=this.\u0275fac=function(L){return new(L||T)(_.Y36(t.QL),_.Y36(_.SBq))};static#e=this.\u0275dir=_.lG2({type:T,selectors:[["","tourAnchor",""]],hostVars:2,hostBindings:function(L,G){2&L&&_.ekj("touranchor--is-active",G.isActive)},inputs:{tourAnchor:"tourAnchor"},standalone:!0})}return T})()},3791:(kt,ot,c)=>{c.d(ot,{pY:()=>_.p,U6:()=>x,QL:()=>t.QL});var t=c(5369),_=c(4440),k=c(9212);let x=(()=>{class H{static#t=this.\u0275fac=function(E){return new(E||H)};static#e=this.\u0275mod=k.oAB({type:H});static#n=this.\u0275inj=k.cJS({})}return H})()},9722:(kt,ot,c)=>{c.d(ot,{Z:()=>T});var t=c(154),_=c(9212);const k=["*"];let T=(()=>{class x{constructor(L){this.tourService=L}onEscapeKey(){this.tourService.getStatus()===t.Vs.ON&&this.tourService.isHotkeysEnabled()&&this.tourService.end()}onArrowRightKey(){const L=this.tourService.currentStep;this.tourService.getStatus()===t.Vs.ON&&this.tourService.hasNext(this.tourService.currentStep)&&this.tourService.isHotkeysEnabled()&&!L?.nextOnAnchorClick&&this.tourService.next()}onArrowLeftKey(){this.tourService.getStatus()===t.Vs.ON&&this.tourService.hasPrev(this.tourService.currentStep)&&this.tourService.isHotkeysEnabled()&&this.tourService.prev()}static#t=this.\u0275fac=function(G){return new(G||x)(_.Y36(t.QL))};static#e=this.\u0275cmp=_.Xpm({type:x,selectors:[["tour-hotkey-listener"]],hostBindings:function(G,E){1&G&&_.NdJ("keydown.Escape",function(){return E.onEscapeKey()},!1,_.Jf7)("keydown.ArrowRight",function(){return E.onArrowRightKey()},!1,_.Jf7)("keydown.ArrowLeft",function(){return E.onArrowLeftKey()},!1,_.Jf7)},standalone:!0,features:[_.jDz],ngContentSelectors:k,decls:1,vars:0,template:function(G,E){1&G&&(_.F$t(),_.Hsn(0))},encapsulation:2})}return x})()},154:(kt,ot,c)=>{c.d(ot,{QL:()=>Ue,Vs:()=>Jt});var t=c(5861),_=c(9212),k=c(7586),T=c(8645),x=c(3019),H=c(7398),L=c(2181),G=c(9773),E=c(1374),F=c(932),Z=c(6321),I=c(93),it=c(9360),b=c(4829),at=c(2306),K=c(8251),gt=c(7103);const Q=(0,at.d)(ct=>function(O=null){ct(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=O});function ut(ct,Ct){const{first:O,each:P,with:nt=yt,scheduler:zt=Ct??Z.z,meta:Ft=null}=(0,I.q)(ct)?{first:ct}:"number"==typeof ct?{each:ct}:ct;if(null==O&&null==P)throw new TypeError("No timeout provided.");return(0,it.e)((Vt,be)=>{let te,ee,It=null,Ht=0;const de=Ge=>{ee=(0,gt.f)(be,zt,()=>{try{te.unsubscribe(),(0,b.Xf)(nt({meta:Ft,lastValue:It,seen:Ht})).subscribe(be)}catch(Qe){be.error(Qe)}},Ge)};te=Vt.subscribe((0,K.x)(be,Ge=>{ee?.unsubscribe(),Ht++,be.next(It=Ge),P>0&&de(P)},void 0,void 0,()=>{ee?.closed||ee?.unsubscribe(),It=null})),!Ht&&de(null!=O?"number"==typeof O?O:+O-zt.now():P)})}function yt(ct){throw new Q(ct)}var At=c(2096);function xt(ct,Ct=2){const O=window.innerWidth,P=window.innerHeight,nt=ct.getBoundingClientRect(),zt=nt.left>=0&&nt.right<=O,Ft=nt.top>=0,Vt=nt.bottom<=P;return 0===Ct?Ft&&zt:1===Ct?Vt&&zt:Ft&&Vt&&zt}var Zt=c(4036),ie=c(2438),re=c(3620),fe=c(6814);function ue(ct,Ct=2){const O=ct.getBoundingClientRect(),P=document.elementFromPoint(O.left,O.top),nt=document.elementFromPoint(O.right,O.bottom),zt=!!P&&P!==ct&&!Pt(P,ct),Ft=!!nt&&nt!==ct&&!Pt(nt,ct);return 0===Ct?zt:1===Ct?Ft:zt||Ft}function Pt(ct,Ct){return ct.contains(Ct)||Ct.contains(ct)}class Qt{static getScrollContainer(Ct){return"string"==typeof Ct?document.documentElement.querySelector(Ct):Ct instanceof HTMLElement?Ct:null}}class Pe{static getVisibleSection(Ct,O){return Pe._isHeightOverflowing(Ct,O)?Pe._getOverlap(Ct,O):Ct}static isHeightOverflowing(Ct,O){return Pe._isHeightOverflowing(Ct instanceof HTMLElement?Ct.getBoundingClientRect():Ct,O instanceof HTMLElement?O.getBoundingClientRect():O)}static _isHeightOverflowing(Ct,O){return O.height{class ct{constructor(){this.platformId=(0,_.f3M)(_.Lbi),this.isBrowser=(0,fe.NF)(this.platformId),this.document=(0,_.f3M)(fe.K0),this.window=this.document.defaultView}ensureVisible(O,P){this.scrollOptions=P;const nt=P.smoothScroll&&this.isBrowser?"smooth":"auto",Ft=Qt.getScrollContainer(this.scrollOptions.scrollContainer)??document.documentElement;if(Pe.isHeightOverflowing(O,Ft))O.scrollIntoView({block:"start",inline:"start",behavior:nt});else if(P.center&&!("safari"in this.window))O.scrollIntoView({block:"center",inline:"center",behavior:nt});else if(!xt(O,1)||ue(O,1))O.scrollIntoView({block:"end",inline:"nearest",behavior:nt});else{if(xt(O,0)&&!ue(O,0))return Promise.resolve();O.scrollIntoView({block:"start",inline:"nearest",behavior:nt})}return"smooth"===nt?(0,Zt.z)(this.waitForScrollFinish$):Promise.resolve()}get waitForScrollFinish$(){const P=Qt.getScrollContainer(this.scrollOptions.scrollContainer)??document;return(0,ie.R)(P,"scroll").pipe(ut({each:75,with:()=>(0,At.of)(void 0)}),(0,re.b)(50),(0,H.U)(()=>{}))}static#t=this.\u0275fac=function(P){return new(P||ct)};static#e=this.\u0275prov=_.Yz7({token:ct,factory:ct.\u0275fac,providedIn:"root"})}return ct})(),Ce=(()=>{class ct{constructor(){this.resizeElSubject=new T.x,this.platformId=(0,_.f3M)(_.Lbi),this.isResizeObserverSupported=(0,fe.NF)(this.platformId)&&!!ResizeObserver,this.document=(0,_.f3M)(fe.K0),this.window=this.document.defaultView,this.resize$=(0,x.T)(this.resizeElSubject,(0,ie.R)(this.window,"resize")).pipe((0,re.b)(10))}observeElement(O){this.isResizeObserverSupported&&!this.resizeObserver&&(this.resizeObserver=new ResizeObserver(()=>this.resizeElSubject.next())),this.resizeObserver?.observe(O)}unobserveElement(O){this.resizeObserver?.unobserve(O)}disconnect(){this.resizeObserver?.disconnect(),this.resizeObserver=void 0}static#t=this.\u0275fac=function(P){return new(P||ct)};static#e=this.\u0275prov=_.Yz7({token:ct,factory:ct.\u0275fac,providedIn:"root"})}return ct})(),x1=(()=>{class ct{constructor(){this.isSpotlightClosed=!1,this.rendererFactory=(0,_.f3M)(_.FYo),this.renderer=this.rendererFactory.createRenderer(null,null),this.resizeObserverService=(0,_.f3M)(Ce),this.scrollingService=(0,_.f3M)(Ze),this.document=(0,_.f3M)(fe.K0)}show(O,P){this.targetHtmlElement&&this.resizeObserverService.unobserveElement(this.targetHtmlElement),this.targetHtmlElement=O.nativeElement,this.step=P,this.resizeObserverService.observeElement(this.targetHtmlElement),this.backdropElements||(this.backdropElements=this.createBackdropElements(),this.subscribeToResizeEvents()),this.isSpotlightClosed=!1,this.setBackdropPosition()}closeSpotlight(){if(!this.backdropElements)return;const O=this.targetHtmlElement.getBoundingClientRect(),P=O.left+O.width/2,nt=O.top+O.height/2,zt={top:nt,right:P,bottom:nt,left:P,width:0,height:0};this.isSpotlightClosed=!0,this.setBackdropPosition(zt)}setBackdropPosition(O=null){const P=this.document.documentElement,nt=Qt.getScrollContainer(this.step.scrollContainer)??P,zt=O??this.targetHtmlElement.getBoundingClientRect(),Ft=nt.getBoundingClientRect(),Vt=Pe.getVisibleSection(zt,Ft),be=P.scrollHeight,te=P.scrollWidth,ee=this.document.defaultView,It=ee.scrollX,Ht=ee.scrollY,de=this.isSpotlightClosed?0:this.step.backdropConfig?.offset??0,Me=[{width:Vt.left+It-de,height:be,top:0,left:0},{width:Vt.width+2*de,height:Vt.top+Ht-de,top:0,left:Vt.left+It-de},{width:Vt.width+2*de,height:be-(Vt.bottom+Ht)-de,top:Vt.bottom+Ht+de,left:Vt.left+It-de},{width:te-(Vt.right+It)-de,height:be,top:0,left:Vt.right+It+de}];for(let me=0;me{this.setBackdropPosition(),this.step.disableScrollToAnchor||this.scrollingService.ensureVisible(this.targetHtmlElement,{center:this.step.centerAnchorOnScroll,smoothScroll:!1})})}close(){this.backdropElements&&(this.resizeObserverService.unobserveElement(this.targetHtmlElement),this.removeBackdropElement(),this.resizeSubscription.unsubscribe())}disconnectResizeObserver(){this.resizeObserverService.disconnect()}removeBackdropElement(){this.backdropElements.forEach(O=>this.renderer.removeChild(this.parentContainer,O)),this.backdropElements=void 0}applyStyles(O,P){for(const nt of Object.keys(O))this.renderer.setStyle(P,nt,O[nt])}createBackdropStyles(O){const P=this.step.backdropConfig,nt={...O,width:Math.max(O.width,0),height:Math.max(O.height,0)};return{position:"absolute",width:`${nt.width}px`,height:`${nt.height}px`,top:`${nt.top}px`,left:`${nt.left}px`,backgroundColor:P?.backgroundColor??"rgba(0, 0, 0, 0.7)",zIndex:P?.zIndex??"101"}}createBackdropElement(){const O=this.renderer.createElement("div");return this.renderer.addClass(O,"ngx-ui-tour_backdrop"),this.renderer.appendChild(this.parentContainer,O),O}createBackdropElements(){return Array.from({length:4}).map(()=>this.createBackdropElement())}get parentContainer(){const O=this.step.backdropConfig?.parentContainer;return O instanceof HTMLElement?O:"string"==typeof O?this.document.documentElement.querySelector(O)??this.document.body:this.document.body}static#t=this.\u0275fac=function(P){return new(P||ct)};static#e=this.\u0275prov=_.Yz7({token:ct,factory:ct.\u0275fac,providedIn:"root"})}return ct})(),d1=(()=>{class ct{constructor(){this.rendererFactory=(0,_.f3M)(_.FYo),this.renderer=this.rendererFactory.createRenderer(null,null)}removeListener(){this.unListenToAnchorClickFn&&(this.unListenToAnchorClickFn(),this.unListenToAnchorClickFn=void 0)}addListener(O,P){this.unListenToAnchorClickFn=this.renderer.listen(O,"click",P)}static#t=this.\u0275fac=function(P){return new(P||ct)};static#e=this.\u0275prov=_.Yz7({token:ct,factory:ct.\u0275fac,providedIn:"root"})}return ct})(),pe=(()=>{class ct{constructor(){this.isEnabled=!1,this.platformId=(0,_.f3M)(_.Lbi),this.isBrowser=(0,fe.NF)(this.platformId),this.rendererFactory=(0,_.f3M)(_.FYo),this.renderer=this.rendererFactory.createRenderer(null,null)}enable(O){!this.isBrowser||this.isEnabled||(this.userScrollContainer=O,this.toggleOverflow(),this.isEnabled=!0)}disable(){this.isEnabled&&(this.toggleOverflow(),this.isEnabled=!1)}toggleOverflow(){const O=Qt.getScrollContainer(this.userScrollContainer)??document.documentElement;this.isEnabled?this.renderer.removeStyle(O,"overflow"):this.renderer.setStyle(O,"overflow","hidden")}static#t=this.\u0275fac=function(P){return new(P||ct)};static#e=this.\u0275prov=_.Yz7({token:ct,factory:ct.\u0275fac,providedIn:"root"})}return ct})();function Se(...ct){return ct.reduce((Ct,O)=>{O??={};const P=Object.keys(O);for(const nt of P){const zt=Ct[nt],Ft=O[nt];Ct[nt]=we(zt)&&we(Ft)?Se(zt,Ft):Ft}return Ct},{})}function we(ct){return ct instanceof Object&&ct.constructor===Object}var Jt=function(ct){return ct[ct.OFF=0]="OFF",ct[ct.ON=1]="ON",ct[ct.PAUSED=2]="PAUSED",ct}(Jt||{}),Ee=function(ct){return ct[ct.Forwards=0]="Forwards",ct[ct.Backwards=1]="Backwards",ct}(Ee||{});const We={disableScrollToAnchor:!1,prevBtnTitle:"Prev",nextBtnTitle:"Next",endBtnTitle:"End",enableBackdrop:!1,isAsync:!1,isOptional:!1,delayAfterNavigation:100,delayBeforeStepShow:0,nextOnAnchorClick:!1,duplicateAnchorHandling:"error",centerAnchorOnScroll:!0,disablePageScrolling:!0,smoothScroll:!0,allowUserInitiatedNavigation:!1,stepDimensions:{minWidth:"250px",maxWidth:"280px",width:"auto"},showProgress:!0};let Ue=(()=>{class ct{constructor(){this.stepShow$=new T.x,this.stepHide$=new T.x,this.initialize$=new T.x,this.start$=new T.x,this.end$=new T.x,this.pause$=new T.x,this.resume$=new T.x,this.anchorRegister$=new T.x,this.anchorUnregister$=new T.x,this.events$=(0,x.T)(this.stepShow$.pipe((0,H.U)(O=>({name:"stepShow",value:O}))),this.stepHide$.pipe((0,H.U)(O=>({name:"stepHide",value:O}))),this.initialize$.pipe((0,H.U)(O=>({name:"initialize",value:O}))),this.start$.pipe((0,H.U)(O=>({name:"start",value:O}))),this.end$.pipe((0,H.U)(O=>({name:"end",value:O}))),this.pause$.pipe((0,H.U)(O=>({name:"pause",value:O}))),this.resume$.pipe((0,H.U)(O=>({name:"resume",value:O}))),this.anchorRegister$.pipe((0,H.U)(O=>({name:"anchorRegister",value:O}))),this.anchorUnregister$.pipe((0,H.U)(O=>({name:"anchorUnregister",value:O})))),this.steps=[],this.anchors={},this.status=Jt.OFF,this.isHotKeysEnabled=!0,this.direction=Ee.Forwards,this.waitingForScroll=!1,this.navigationStarted=!1,this.router=(0,_.f3M)(k.F0),this.backdrop=(0,_.f3M)(x1),this.anchorClickService=(0,_.f3M)(d1),this.scrollBlockingService=(0,_.f3M)(pe),this.scrollingService=(0,_.f3M)(Ze)}initialize(O,P){this.status!==Jt.ON?O&&O.length>0&&(this.status=Jt.OFF,this.steps=O.map(nt=>Se(We,this.userDefaults,P,nt)),this.validateSteps(),this.initialize$.next(this.steps),this.subscribeToNavigationStartEvent()):console.warn("Can not re-initialize the UI tour while it's still active")}setDefaults(O){this.userDefaults=O}getDefaults(){return this.userDefaults}validateSteps(){for(const O of this.steps)if(O.isAsync&&O.isOptional&&!O.asyncStepTimeout)throw new Error(`Tour step with anchor id "${O.anchorId}" can only be both "async" and "optional" when "asyncStepTimeout" is specified!`)}subscribeToNavigationStartEvent(){this.router.events.pipe((0,L.h)(O=>O instanceof k.OD),(0,G.R)(this.end$)).subscribe(O=>{const P="popstate"===O.navigationTrigger,nt=this.currentStep?.allowUserInitiatedNavigation;!this.navigationStarted&&(P||!nt)&&this.end()})}disableHotkeys(){this.isHotKeysEnabled=!1}enableHotkeys(){this.isHotKeysEnabled=!0}start(){this.status!==Jt.ON?this.startAt(0):console.warn("tourService.start() called while the tour is already running.")}startAt(O){this.status=Jt.ON,this.goToStep(this.loadStep(O)),this.start$.next()}end(){this.waitingForScroll||this.status!==Jt.OFF&&(this.status=Jt.OFF,this.disableTour(),this.currentStep=void 0,this.end$.next())}pause(){this.status=Jt.PAUSED,this.disableTour(),this.pause$.next()}disableTour(){this.hideStep(this.currentStep),this.anchorClickService.removeListener(),this.backdrop.close(),this.backdrop.disconnectResizeObserver(),this.scrollBlockingService.disable()}resume(){this.status=Jt.ON,this.showStep(this.currentStep),this.resume$.next()}toggle(O){O?this.currentStep?this.pause():this.resume():this.currentStep?this.end():this.start()}next(){this.waitingForScroll||(this.direction=Ee.Forwards,this.hasNext(this.currentStep)&&this.goToStep(this.loadStep(this.currentStep.nextStep??this.getStepIndex(this.currentStep)+1)))}getStepIndex(O){const P=this.steps.indexOf(O);return P<0?0:P}hasNext(O){return O?void 0!==O.nextStep||this.getStepIndex(O)0&&!this.isPrevOptionalAnchorMising(O):(console.warn("Can't get previous step. No currentStep."),!1)}isPrevOptionalAnchorMising(O){for(let nt=this.getStepIndex(O)-1;nt>-1;nt--){const zt=this.steps[nt];if(!zt.isOptional||this.anchors[zt.anchorId])return!1}return!0}goto(O){this.goToStep(this.loadStep(O))}register(O,P){if(O){if(this.anchors[O])switch(this.findStepByAnchorId(O)?.duplicateAnchorHandling??this.userDefaults?.duplicateAnchorHandling??"error"){case"error":throw new Error(`Tour anchor with id "${O}" already registered!`);case"registerFirst":return}this.anchors[O]=P,this.anchorRegister$.next(O)}}findStepByAnchorId(O){return this.steps.find(P=>P.anchorId===O)}unregister(O){O&&(delete this.anchors[O],this.anchorUnregister$.next(O))}getStatus(){return this.status}isHotkeysEnabled(){return this.isHotKeysEnabled}goToStep(O){if(!O)return console.warn("Can't go to non-existent step"),void this.end();this.currentStep&&(this.backdrop.closeSpotlight(),this.hideStep(this.currentStep)),this.anchorClickService.removeListener(),null!=O.route?this.navigateToRouteAndSetStep(O):this.setCurrentStepAsync(O)}listenToOnAnchorClick(O){O.nextOnAnchorClick&&this.anchorClickService.addListener(this.anchors[O.anchorId].element.nativeElement,()=>this.next())}navigateToRouteAndSetStep(O){var P=this;return(0,t.Z)(function*(){const nt="string"==typeof O.route?O.route:P.router.createUrlTree(O.route);if(P.router.isActive(nt,{paths:"exact",matrixParams:"exact",queryParams:"subset",fragment:"exact"}))return void P.setCurrentStepAsync(O);P.navigationStarted=!0;const Vt=yield P.router.navigateByUrl(nt);P.navigationStarted=!1,Vt?P.setCurrentStepAsync(O,O.delayAfterNavigation):(console.warn("Navigation to route failed: ",O.route),P.end())})()}loadStep(O){return"number"==typeof O?this.steps[O]:this.steps.find(P=>P.stepId===O)}setCurrentStep(O){this.currentStep=O,this.showStep(this.currentStep)}setCurrentStepAsync(O,P=0){P=P||O.delayBeforeStepShow,setTimeout(()=>this.setCurrentStep(O),P)}showStep(O,P=!1){var nt=this;return(0,t.Z)(function*(){const zt=nt.anchors[O&&O.anchorId];if(!zt){if(O.isAsync&&!P){let Ft=nt.anchorRegister$.pipe((0,L.h)(Vt=>Vt===O.anchorId),(0,E.P)(),(0,F.g)(0));return O.asyncStepTimeout&&(Ft=Ft.pipe(ut({each:O.asyncStepTimeout,with:()=>(0,At.of)(null)}))),void Ft.subscribe(()=>nt.showStep(O,!0))}return O.isOptional?void(nt.direction===Ee.Forwards?nt.next():nt.prev()):(console.warn(`Can't attach to unregistered anchor with id "${O.anchorId}"`),void nt.end())}nt.listenToOnAnchorClick(O),nt.waitingForScroll=!0,yield nt.scrollToAnchor(O),nt.waitingForScroll=!1,zt.showTourStep(O),nt.toggleBackdrop(O),nt.togglePageScrolling(O),nt.stepShow$.next({step:O,direction:nt.direction})})()}hideStep(O){const P=this.anchors[O&&O.anchorId];P&&(P.hideTourStep(),this.stepHide$.next({step:O,direction:this.direction}))}scrollToAnchor(O){return O.disableScrollToAnchor?Promise.resolve():this.scrollingService.ensureVisible(this.anchors[O?.anchorId].element.nativeElement,{center:O.centerAnchorOnScroll,smoothScroll:O.smoothScroll,scrollContainer:O.scrollContainer})}toggleBackdrop(O){O.enableBackdrop?this.backdrop.show(this.anchors[O?.anchorId].element,O):this.backdrop.close()}togglePageScrolling(O){O.disablePageScrolling?this.scrollBlockingService.enable(O.scrollContainer):this.scrollBlockingService.disable()}static#t=this.\u0275fac=function(P){return new(P||ct)};static#e=this.\u0275prov=_.Yz7({token:ct,factory:ct.\u0275fac,providedIn:"root"})}return ct})()},5369:(kt,ot,c)=>{c.d(ot,{QL:()=>t.QL,Vs:()=>t.Vs,Z5:()=>_.Z});var t=c(154),_=c(9722)},8276:(kt,ot,c)=>{c.d(ot,{_:()=>x});var t=c(5369),_=c(9212),k=c(2555),T=c(6814);let x=(()=>{class H extends t.QL{constructor(){super(...arguments),this.config=(0,_.f3M)(k.De),this.document=(0,_.f3M)(T.K0)}initialize(G,E){const F="ios"===this.config.get("mode");E??={},E.backdropConfig??={},E.backdropConfig.parentContainer??="ion-app",E.delayAfterNavigation??=F?700:500,super.initialize(G,E)}showStep(G){if(G.smoothScroll&&(!G.scrollContainer||"string"!=typeof G.scrollContainer)){const E=this.document.documentElement,F=E.querySelector("ion-router-outlet[tabs=true]"),Z=E.querySelector("ion-router-outlet"),I=F??Z,it=I?I.querySelector(":scope > .ion-page:not(.ion-page-hidden) ion-content"):E.querySelector("ion-content");G.scrollContainer=it?.shadowRoot.querySelector("[part=scroll]")}return super.showStep(G)}static#t=this.\u0275fac=(()=>{let G;return function(F){return(G||(G=_.n5z(H)))(F||H)}})();static#e=this.\u0275prov=_.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})()},1990:(kt,ot,c)=>{c.d(ot,{k:()=>H});var t=c(5861),_=c(9212),k=c(8276),T=c(4755),x=c(4036);let H=(()=>{class L{constructor(){this.element=(0,_.f3M)(_.SBq),this.tourService=(0,_.f3M)(k._),this.stepTemplateService=(0,_.f3M)(T.P)}ngOnInit(){this.tourService.register(this.tourAnchor,this)}ngOnDestroy(){this.tourService.unregister(this.tourAnchor)}showTourStep(E){var F=this;return(0,t.Z)(function*(){const Z=F.stepTemplateService.templateComponent,I=Z.ionPopover;I.isCmpOpen&&(yield(0,x.z)(I.didDismiss)),F.isActive=!0,Z.step=E,I.alignment=E.placement?.alignment,I.side=E.placement?.side??"bottom",I.cssClass=E.popoverClass;const it={target:F.element.nativeElement};yield I.present(it)})()}hideTourStep(){this.isActive=!1,this.stepTemplateService.templateComponent.ionPopover.dismiss()}static#t=this.\u0275fac=function(F){return new(F||L)};static#e=this.\u0275dir=_.lG2({type:L,selectors:[["","tourAnchor",""]],hostVars:2,hostBindings:function(F,Z){2&F&&_.ekj("touranchor--is-active",Z.isActive)},inputs:{tourAnchor:"tourAnchor"},standalone:!0})}return L})()},4755:(kt,ot,c)=>{c.d(ot,{P:()=>_});var t=c(9212);let _=(()=>{class k{static#t=this.\u0275fac=function(H){return new(H||k)};static#e=this.\u0275prov=t.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})()},9698:(kt,ot,c)=>{c.d(ot,{R:()=>jr});var L,t=c(9212),_=c(5369),k=c(9),T=c(1879),x=c(6814),H=c(8276),F=function(vt,Xt){var Nt=function(){if(typeof window>"u")return new Map;if(!L){var vt=window;vt.Ionicons=vt.Ionicons||{},L=vt.Ionicons.map=vt.Ionicons.map||new Map}return L}(),Yt=Nt.get(vt);void 0===Yt?Nt.set(vt,Xt):Yt!==Xt&&console.warn('[Ionicons Warning]: Multiple icons were mapped to name "'.concat(vt,'". Ensure that multiple icons are not mapped to the same icon name.'))},Rr=c(4755);function Pr(vt,Xt){1&vt&&t.GkF(0)}const Lr=vt=>({step:vt});function Nr(vt,Xt){if(1&vt&&t.YNc(0,Pr,1,0,"ng-container",2),2&vt){const Nt=t.oxw(),Yt=t.MAs(3);t.Q6J("ngTemplateOutlet",Nt.stepTemplate||Nt.stepTemplateContent||Yt)("ngTemplateOutletContext",t.VKq(2,Lr,Nt.step))}}function Ir(vt,Xt){if(1&vt&&(t.TgZ(0,"div",11),t._uU(1),t.qZA()),2&vt){const Nt=t.oxw().step,Yt=t.oxw();t.xp6(1),t.AsE("",(null==Yt.tourService.steps?null:Yt.tourService.steps.indexOf(Nt))+1," / ",null==Yt.tourService.steps?null:Yt.tourService.steps.length,"")}}function Hr(vt,Xt){if(1&vt){const Nt=t.EpF();t.TgZ(0,"ion-button",12),t.NdJ("click",function(){t.CHM(Nt);const he=t.oxw(2);return t.KtG(he.tourService.next())}),t._uU(1),t._UZ(2,"ion-icon",13),t.qZA()}if(2&vt){const Nt=t.oxw().step;t.xp6(1),t.hij(" ",Nt.nextBtnTitle," ")}}function Fr(vt,Xt){if(1&vt){const Nt=t.EpF();t.TgZ(0,"ion-button",12),t.NdJ("click",function(){t.CHM(Nt);const he=t.oxw(2);return t.KtG(he.tourService.end())}),t._uU(1),t.qZA()}if(2&vt){const Nt=t.oxw().step;t.xp6(1),t.hij(" ",Nt.endBtnTitle," ")}}function Vr(vt,Xt){if(1&vt){const Nt=t.EpF();t.TgZ(0,"ion-card")(1,"ion-card-header")(2,"ion-card-title"),t._uU(3),t.qZA(),t.TgZ(4,"ion-button",3),t.NdJ("click",function(){t.CHM(Nt);const he=t.oxw();return t.KtG(he.tourService.end())}),t._UZ(5,"ion-icon",4),t.qZA()(),t._UZ(6,"ion-card-content",5),t.TgZ(7,"div",6)(8,"ion-button",7),t.NdJ("click",function(){t.CHM(Nt);const he=t.oxw();return t.KtG(he.tourService.prev())}),t._UZ(9,"ion-icon",8),t._uU(10),t.qZA(),t.YNc(11,Ir,2,2,"div",9)(12,Hr,3,1,"ion-button",10)(13,Fr,2,1,"ion-button",10),t.qZA()()}if(2&vt){const Nt=Xt.step,Yt=t.oxw();t.xp6(3),t.Oqu(Nt.title),t.xp6(3),t.Q6J("innerHTML",Nt.content,t.oJD),t.xp6(2),t.Q6J("disabled",!Yt.tourService.hasPrev(Nt)),t.xp6(2),t.hij(" ",Nt.prevBtnTitle," "),t.xp6(1),t.um2(11,Nt.showProgress?11:-1),t.xp6(1),t.um2(12,Yt.tourService.hasNext(Nt)&&!Nt.nextOnAnchorClick?12:-1),t.xp6(1),t.um2(13,Yt.tourService.hasNext(Nt)?-1:13)}}let jr=(()=>{class vt extends _.Z5{constructor(Nt,Yt){super(Yt),this.tourStepTemplateService=Nt,this.tourService=Yt,this.step={},this.noopLeaveAnimation=()=>(0,k.c)(),this.addIonicIcons()}addIonicIcons(){!function(vt){Object.keys(vt).forEach(function(Xt){F(Xt,vt[Xt]);var Nt=Xt.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase();Xt!==Nt&&F(Nt,vt[Xt])})}({closeOutline:"data:image/svg+xml;utf8,",chevronBackOutline:"data:image/svg+xml;utf8,",chevronForwardOutline:"data:image/svg+xml;utf8,"})}ngAfterViewInit(){this.tourStepTemplateService.templateComponent=this}static#t=this.\u0275fac=function(Yt){return new(Yt||vt)(t.Y36(Rr.P),t.Y36(H._))};static#e=this.\u0275cmp=t.Xpm({type:vt,selectors:[["tour-step-template"]],contentQueries:function(Yt,he,U1){if(1&Yt&&t.Suo(U1,t.Rgc,5),2&Yt){let Cs;t.iGM(Cs=t.CRH())&&(he.stepTemplateContent=Cs.first)}},viewQuery:function(Yt,he){if(1&Yt&&t.Gf(T.d8,7),2&Yt){let U1;t.iGM(U1=t.CRH())&&(he.ionPopover=U1.first)}},inputs:{stepTemplate:"stepTemplate"},standalone:!0,features:[t.qOj,t.jDz],decls:4,vars:12,consts:[[3,"leaveAnimation","backdropDismiss","keyboardClose","showBackdrop","dismissOnSelect","arrow"],["defaultTemplate",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["fill","clear","shape","round",1,"close",3,"click"],["slot","icon-only","name","close-outline"],[3,"innerHTML"],[1,"footer"],["fill","clear",3,"disabled","click"],["slot","start","name","chevron-back-outline"],["class","progress"],["fill","clear"],[1,"progress"],["fill","clear",3,"click"],["slot","end","name","chevron-forward-outline"]],template:function(Yt,he){if(1&Yt&&(t.TgZ(0,"ion-popover",0),t.YNc(1,Nr,1,4,"ng-template"),t.qZA(),t.YNc(2,Vr,14,7,"ng-template",null,1,t.W1O)),2&Yt){let U1;t.Udp("--min-width",null==he.step||null==he.step.stepDimensions?null:he.step.stepDimensions.minWidth)("--max-width",null==he.step||null==he.step.stepDimensions?null:he.step.stepDimensions.maxWidth)("--width",null==he.step||null==he.step.stepDimensions?null:he.step.stepDimensions.width),t.Q6J("leaveAnimation",he.noopLeaveAnimation)("backdropDismiss",!1)("keyboardClose",!1)("showBackdrop",!1)("dismissOnSelect",!1)("arrow",null===(U1=null==he.step?null:he.step.showArrow)||void 0===U1||U1)}},dependencies:[x.tP,T.d8,T.PM,T.Zi,T.Dq,T.YG,T.gu,T.FN],styles:["ion-popover[_ngcontent-%COMP%]{pointer-events:none}ion-card[_ngcontent-%COMP%]{margin:0;pointer-events:auto}ion-card-header[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:8px 16px}ion-card-header[_ngcontent-%COMP%] ion-card-title[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}ion-button.close[_ngcontent-%COMP%]{--padding-start: 5px;--padding-end: 5px;--padding-top: 5px;--padding-bottom: 5px;margin:0 -8px 0 0}.footer[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr auto 1fr;padding:0 8px 8px;align-items:center;gap:8px}.footer[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{max-width:-moz-fit-content;max-width:fit-content}.footer[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{justify-self:flex-end}.footer[_ngcontent-%COMP%] .progress[_ngcontent-%COMP%]{font-size:12px;font-weight:600;color:#00000061;white-space:nowrap}.footer[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%]{text-transform:capitalize}"]})}return vt})()},4524:(kt,ot,c)=>{c.d(ot,{kT:()=>_.k,jA:()=>x,QL:()=>H._});var t=c(9698),_=c(1990),k=c(9212);let x=(()=>{class L{static#t=this.\u0275fac=function(F){return new(F||L)};static#e=this.\u0275mod=k.oAB({type:L});static#n=this.\u0275inj=k.cJS({imports:[t.R]})}return L})();var H=c(8276)},7349:(kt,ot,c)=>{c.d(ot,{T:()=>k});var t=c(5369),_=c(9212);let k=(()=>{class T extends t.QL{initialize(H,L){L??={},L.showArrow??=!0,super.initialize(H,L)}static#t=this.\u0275fac=(()=>{let H;return function(G){return(H||(H=_.n5z(T)))(G||T)}})();static#e=this.\u0275prov=_.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})()},5593:(kt,ot,c)=>{c.d(ot,{J:()=>G});var t=c(5369),_=c(1374),k=c(2263),T=c(9212);let x=(()=>{class E{static#t=this.\u0275fac=function(I){return new(I||E)};static#e=this.\u0275cmp=T.Xpm({type:E,selectors:[["tour-anchor-opener"]],viewQuery:function(I,it){if(1&I&&T.Gf(k.p6,7),2&I){let b;T.iGM(b=T.CRH())&&(it.trigger=b.first)}},standalone:!0,features:[T.jDz],decls:1,vars:1,consts:[["matMenuTriggerFor","",3,"matMenuTriggerRestoreFocus"]],template:function(I,it){1&I&&T._UZ(0,"span",0),2&I&&T.Q6J("matMenuTriggerRestoreFocus",!1)},dependencies:[k.Tx,k.p6],styles:["[_nghost-%COMP%]{display:none}"]})}return E})();var H=c(7349),L=c(8144);let G=(()=>{class E{constructor(Z,I,it,b){this.viewContainer=Z,this.element=I,this.tourService=it,this.tourStepTemplate=b}ngOnInit(){this.tourService.register(this.tourAnchor,this)}ngOnDestroy(){this.tourService.unregister(this.tourAnchor)}createOpener(){this.opener=this.viewContainer.createComponent(x).instance}showTourStep(Z){this.isActive=!0,this.tourStepTemplate.templateComponent.step=Z,this.opener||this.createOpener();const I=this.opener.trigger,it=I;it._element=this.element,it._parentMaterialMenu=null,it._setPosition=(Q,ut)=>this.setPosition(Q,ut,Z);const b=this.tourStepTemplate.templateComponent.tourStep;I.menu=b,b.xPosition=Z.placement?.xPosition||"after",b.yPosition=Z.placement?.yPosition||"below",b.hasBackdrop=!!Z.closeOnOutsideClick,b.panelClass=`tour-step ${Z.popoverClass??""} ${Z.showArrow?"arrow":""} ${Z.placement?.horizontal?"horizontal":""}`,I.openMenu(),this.menuCloseSubscription&&this.menuCloseSubscription.unsubscribe(),this.menuCloseSubscription=I.menuClosed.pipe((0,_.P)()).subscribe(()=>{this.tourService.getStatus()!==t.Vs.OFF&&this.tourService.end()})}setPosition(Z,I,it){let[b,at]="before"===Z.xPosition?["end","start"]:["start","end"];const[K,gt]="above"===Z.yPosition?["bottom","top"]:["top","bottom"];let[Q,ut]=[K,gt],[yt,At]=[b,at];const xt=it.placement?.horizontal;xt?(At=b="before"===Z.xPosition?"start":"end",at=yt="end"===b?"start":"end"):Z.overlapTrigger||(Q="top"===K?"bottom":"top",ut="top"===gt?"bottom":"top");const Zt=it.backdropConfig?.offset??0,ie=xt?Zt:-Zt,re=xt?-Zt:Zt,fe={originX:b,originY:Q,overlayX:yt,overlayY:K,offsetX:ie,offsetY:re};I.withPositions(xt?[fe,{originX:at,originY:Q,overlayX:At,overlayY:K,offsetX:-ie,offsetY:re}]:[fe,{originX:b,originY:ut,overlayX:yt,overlayY:gt,offsetX:ie,offsetY:-re},{originX:at,originY:ut,overlayX:At,overlayY:gt,offsetX:-ie,offsetY:-re}])}hideTourStep(){this.isActive=!1,this.menuCloseSubscription&&this.menuCloseSubscription.unsubscribe(),this.opener.trigger.closeMenu()}static#t=this.\u0275fac=function(I){return new(I||E)(T.Y36(T.s_b),T.Y36(T.SBq),T.Y36(H.T),T.Y36(L.P))};static#e=this.\u0275dir=T.lG2({type:E,selectors:[["","tourAnchor",""]],hostVars:2,hostBindings:function(I,it){2&I&&T.ekj("touranchor--is-active",it.isActive)},inputs:{tourAnchor:"tourAnchor"},standalone:!0})}return E})()},8144:(kt,ot,c)=>{c.d(ot,{P:()=>_});var t=c(9212);let _=(()=>{class k{static#t=this.\u0275fac=function(H){return new(H||k)};static#e=this.\u0275prov=t.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})()},8682:(kt,ot,c)=>{c.d(ot,{R:()=>Ii});var t=c(9212),_=c(5369),k=c(2263),T=c(7349),x=c(6814),H=c(3680);const L=["*"],F=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],Z=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],I=new t.OlP("MAT_CARD_CONFIG");let it=(()=>{class g{constructor(d){this.appearance=d?.appearance||"raised"}static#t=this.\u0275fac=function(m){return new(m||g)(t.Y36(I,8))};static#e=this.\u0275cmp=t.Xpm({type:g,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(m,y){2&m&&t.ekj("mat-mdc-card-outlined","outlined"===y.appearance)("mdc-card--outlined","outlined"===y.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:L,decls:1,vars:0,template:function(m,y){1&m&&(t.F$t(),t.Hsn(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{color:rgba(0, 0, 0, 0.6);flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mdc-card__action--icon:not(:disabled){color:rgba(0, 0, 0, 0.6)}.mat-mdc-card{border-radius:var(--mdc-elevated-card-container-shape);background-color:var(--mdc-elevated-card-container-color);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color);box-shadow:var(--mdc-elevated-card-container-elevation)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape)}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width);border-style:solid;border-color:var(--mdc-outlined-card-outline-color);border-radius:var(--mdc-outlined-card-container-shape);background-color:var(--mdc-outlined-card-container-color);box-shadow:var(--mdc-outlined-card-container-elevation)}.mat-mdc-card-outlined .mdc-card::after{border-radius:var(--mdc-outlined-card-container-shape)}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font);line-height:var(--mat-card-title-text-line-height);font-size:var(--mat-card-title-text-size);letter-spacing:var(--mat-card-title-text-tracking);font-weight:var(--mat-card-title-text-weight)}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color);font-family:var(--mat-card-subtitle-text-font);line-height:var(--mat-card-subtitle-text-line-height);font-size:var(--mat-card-subtitle-text-size);letter-spacing:var(--mat-card-subtitle-text-tracking);font-weight:var(--mat-card-subtitle-text-weight)}.mat-mdc-card{position:relative}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0})}return g})(),b=(()=>{class g{static#t=this.\u0275fac=function(m){return new(m||g)};static#e=this.\u0275dir=t.lG2({type:g,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]})}return g})(),K=(()=>{class g{static#t=this.\u0275fac=function(m){return new(m||g)};static#e=this.\u0275dir=t.lG2({type:g,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]})}return g})(),Q=(()=>{class g{constructor(){this.align="start"}static#t=this.\u0275fac=function(m){return new(m||g)};static#e=this.\u0275dir=t.lG2({type:g,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(m,y){2&m&&t.ekj("mat-mdc-card-actions-align-end","end"===y.align)},inputs:{align:"align"},exportAs:["matCardActions"]})}return g})(),ut=(()=>{class g{static#t=this.\u0275fac=function(m){return new(m||g)};static#e=this.\u0275cmp=t.Xpm({type:g,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:Z,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(m,y){1&m&&(t.F$t(F),t.Hsn(0),t.TgZ(1,"div",0),t.Hsn(2,1),t.qZA(),t.Hsn(3,2))},encapsulation:2,changeDetection:0})}return g})(),Pt=(()=>{class g{static#t=this.\u0275fac=function(m){return new(m||g)};static#e=this.\u0275mod=t.oAB({type:g});static#n=this.\u0275inj=t.cJS({imports:[H.BQ,x.ez,H.BQ]})}return g})();var Qt=c(2831),Pe=c(4191);const Ze=["mat-button",""],Ce=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],x1=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Ee=["mat-icon-button",""],We=["*"],Ct=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}];let O=(()=>{class g{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(d){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,d)}get disableRipple(){return this._disableRipple}set disableRipple(d){this._disableRipple=d,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(d){this._disabled=d,this._updateRippleDisabled()}constructor(d,m,y,Y){this._elementRef=d,this._platform=m,this._ngZone=y,this._animationMode=Y,this._focusMonitor=(0,t.f3M)(Pe.tE),this._rippleLoader=(0,t.f3M)(H.Fq),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const dt=this._elementRef.nativeElement,Et=dt.classList;for(const{attribute:Tt,mdcClasses:ge}of Ct)dt.hasAttribute(Tt)&&Et.add(...ge)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(d="program",m){d?this._focusMonitor.focusVia(this._elementRef.nativeElement,d,m):this._elementRef.nativeElement.focus(m)}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#t=this.\u0275fac=function(m){t.$Z()};static#e=this.\u0275dir=t.lG2({type:g,inputs:{color:"color",disableRipple:["disableRipple","disableRipple",t.VuI],disabled:["disabled","disabled",t.VuI]},features:[t.Xq5]})}return g})(),zt=(()=>{class g extends O{constructor(d,m,y,Y){super(d,m,y,Y)}static#t=this.\u0275fac=function(m){return new(m||g)(t.Y36(t.SBq),t.Y36(Qt.t4),t.Y36(t.R0b),t.Y36(t.QbO,8))};static#e=this.\u0275cmp=t.Xpm({type:g,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:9,hostBindings:function(m,y){2&m&&(t.uIk("disabled",y.disabled||null),t.Tol(y.color?"mat-"+y.color:""),t.ekj("_mat-animation-noopable","NoopAnimations"===y._animationMode)("mat-unthemed",!y.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[t.qOj],attrs:Ze,ngContentSelectors:x1,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(m,y){1&m&&(t.F$t(Ce),t._UZ(0,"span",0),t.Hsn(1),t.TgZ(2,"span",1),t.Hsn(3,1),t.qZA(),t.Hsn(4,2),t._UZ(5,"span",2)(6,"span",3)),2&m&&t.ekj("mdc-button__ripple",!y._isFab)("mdc-fab__ripple",y._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(100% + 4px);width:calc(100% + 4px);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);border-radius:var(--mdc-text-button-container-shape);--mdc-text-button-container-shape:4px;--mdc-text-button-container-height:36px;--mdc-text-button-keep-touch-target:false}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);--mdc-filled-button-container-shape:4px;--mdc-filled-button-container-elevation:0;--mdc-filled-button-disabled-container-elevation:0;--mdc-filled-button-focus-container-elevation:0;--mdc-filled-button-hover-container-elevation:0;--mdc-filled-button-keep-touch-target:false;--mdc-filled-button-pressed-container-elevation:0}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);--mdc-protected-button-container-shape:4px;--mdc-protected-button-keep-touch-target:false}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled][disabled]{box-shadow:none}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);--mdc-outlined-button-keep-touch-target:false;--mdc-outlined-button-outline-width:1px;--mdc-outlined-button-container-shape:4px}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.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)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.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}.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 .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})}return g})(),Ge=(()=>{class g extends O{constructor(d,m,y,Y){super(d,m,y,Y),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#t=this.\u0275fac=function(m){return new(m||g)(t.Y36(t.SBq),t.Y36(Qt.t4),t.Y36(t.R0b),t.Y36(t.QbO,8))};static#e=this.\u0275cmp=t.Xpm({type:g,selectors:[["button","mat-icon-button",""]],hostVars:9,hostBindings:function(m,y){2&m&&(t.uIk("disabled",y.disabled||null),t.Tol(y.color?"mat-"+y.color:""),t.ekj("_mat-animation-noopable","NoopAnimations"===y._animationMode)("mat-unthemed",!y.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[t.qOj],attrs:Ee,ngContentSelectors:We,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(m,y){1&m&&(t.F$t(),t._UZ(0,"span",0),t.Hsn(1),t._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}.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{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;border-radius:50%;flex-shrink:0;text-align:center;font-size:var(--mdc-icon-button-icon-size);-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;color:var(--mdc-icon-button-disabled-icon-color)}.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}.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-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.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})}return g})(),o1=(()=>{class g{static#t=this.\u0275fac=function(m){return new(m||g)};static#e=this.\u0275mod=t.oAB({type:g});static#n=this.\u0275inj=t.cJS({imports:[H.BQ,H.si,H.BQ]})}return g})();var _e=c(2495),Me=c(2096),me=c(8504),s1=c(9315),Ye=c(7394),ce=c(9397),Le=c(7398),p1=c(6306),b1=c(4716),h1=c(3020),a1=c(8180),M1=c(6328),r1=c(2181);class Ne{}class ze{constructor(M){this.normalizedNames=new Map,this.lazyUpdate=null,M?"string"==typeof M?this.lazyInit=()=>{this.headers=new Map,M.split("\n").forEach(d=>{const m=d.indexOf(":");if(m>0){const y=d.slice(0,m),Y=y.toLowerCase(),dt=d.slice(m+1).trim();this.maybeSetNormalizedName(y,Y),this.headers.has(Y)?this.headers.get(Y).push(dt):this.headers.set(Y,[dt])}})}:typeof Headers<"u"&&M instanceof Headers?(this.headers=new Map,M.forEach((d,m)=>{this.setHeaderEntries(m,d)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(M).forEach(([d,m])=>{this.setHeaderEntries(d,m)})}:this.headers=new Map}has(M){return this.init(),this.headers.has(M.toLowerCase())}get(M){this.init();const d=this.headers.get(M.toLowerCase());return d&&d.length>0?d[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(M){return this.init(),this.headers.get(M.toLowerCase())||null}append(M,d){return this.clone({name:M,value:d,op:"a"})}set(M,d){return this.clone({name:M,value:d,op:"s"})}delete(M,d){return this.clone({name:M,value:d,op:"d"})}maybeSetNormalizedName(M,d){this.normalizedNames.has(d)||this.normalizedNames.set(d,M)}init(){this.lazyInit&&(this.lazyInit instanceof ze?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(M=>this.applyUpdate(M)),this.lazyUpdate=null))}copyFrom(M){M.init(),Array.from(M.headers.keys()).forEach(d=>{this.headers.set(d,M.headers.get(d)),this.normalizedNames.set(d,M.normalizedNames.get(d))})}clone(M){const d=new ze;return d.lazyInit=this.lazyInit&&this.lazyInit instanceof ze?this.lazyInit:this,d.lazyUpdate=(this.lazyUpdate||[]).concat([M]),d}applyUpdate(M){const d=M.name.toLowerCase();switch(M.op){case"a":case"s":let m=M.value;if("string"==typeof m&&(m=[m]),0===m.length)return;this.maybeSetNormalizedName(M.name,d);const y=("a"===M.op?this.headers.get(d):void 0)||[];y.push(...m),this.headers.set(d,y);break;case"d":const Y=M.value;if(Y){let dt=this.headers.get(d);if(!dt)return;dt=dt.filter(Et=>-1===Y.indexOf(Et)),0===dt.length?(this.headers.delete(d),this.normalizedNames.delete(d)):this.headers.set(d,dt)}else this.headers.delete(d),this.normalizedNames.delete(d)}}setHeaderEntries(M,d){const m=(Array.isArray(d)?d:[d]).map(Y=>Y.toString()),y=M.toLowerCase();this.headers.set(y,m),this.maybeSetNormalizedName(M,y)}forEach(M){this.init(),Array.from(this.normalizedNames.keys()).forEach(d=>M(this.normalizedNames.get(d),this.headers.get(d)))}}class m1{encodeKey(M){return j(M)}encodeValue(M){return j(M)}decodeKey(M){return decodeURIComponent(M)}decodeValue(M){return decodeURIComponent(M)}}const T1=/%(\d[a-f0-9])/gi,rt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function j(g){return encodeURIComponent(g).replace(T1,(M,d)=>rt[d]??M)}function S(g){return`${g}`}class U{constructor(M={}){if(this.updates=null,this.cloneFrom=null,this.encoder=M.encoder||new m1,M.fromString){if(M.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function c1(g,M){const d=new Map;return g.length>0&&g.replace(/^\?/,"").split("&").forEach(y=>{const Y=y.indexOf("="),[dt,Et]=-1==Y?[M.decodeKey(y),""]:[M.decodeKey(y.slice(0,Y)),M.decodeValue(y.slice(Y+1))],Tt=d.get(dt)||[];Tt.push(Et),d.set(dt,Tt)}),d}(M.fromString,this.encoder)}else M.fromObject?(this.map=new Map,Object.keys(M.fromObject).forEach(d=>{const m=M.fromObject[d],y=Array.isArray(m)?m.map(S):[S(m)];this.map.set(d,y)})):this.map=null}has(M){return this.init(),this.map.has(M)}get(M){this.init();const d=this.map.get(M);return d?d[0]:null}getAll(M){return this.init(),this.map.get(M)||null}keys(){return this.init(),Array.from(this.map.keys())}append(M,d){return this.clone({param:M,value:d,op:"a"})}appendAll(M){const d=[];return Object.keys(M).forEach(m=>{const y=M[m];Array.isArray(y)?y.forEach(Y=>{d.push({param:m,value:Y,op:"a"})}):d.push({param:m,value:y,op:"a"})}),this.clone(d)}set(M,d){return this.clone({param:M,value:d,op:"s"})}delete(M,d){return this.clone({param:M,value:d,op:"d"})}toString(){return this.init(),this.keys().map(M=>{const d=this.encoder.encodeKey(M);return this.map.get(M).map(m=>d+"="+this.encoder.encodeValue(m)).join("&")}).filter(M=>""!==M).join("&")}clone(M){const d=new U({encoder:this.encoder});return d.cloneFrom=this.cloneFrom||this,d.updates=(this.updates||[]).concat(M),d}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(M=>this.map.set(M,this.cloneFrom.map.get(M))),this.updates.forEach(M=>{switch(M.op){case"a":case"s":const d=("a"===M.op?this.map.get(M.param):void 0)||[];d.push(S(M.value)),this.map.set(M.param,d);break;case"d":if(void 0===M.value){this.map.delete(M.param);break}{let m=this.map.get(M.param)||[];const y=m.indexOf(S(M.value));-1!==y&&m.splice(y,1),m.length>0?this.map.set(M.param,m):this.map.delete(M.param)}}}),this.cloneFrom=this.updates=null)}}class Ut{constructor(){this.map=new Map}set(M,d){return this.map.set(M,d),this}get(M){return this.map.has(M)||this.map.set(M,M.defaultValue()),this.map.get(M)}delete(M){return this.map.delete(M),this}has(M){return this.map.has(M)}keys(){return this.map.keys()}}function t1(g){return typeof ArrayBuffer<"u"&&g instanceof ArrayBuffer}function Je(g){return typeof Blob<"u"&&g instanceof Blob}function y1(g){return typeof FormData<"u"&&g instanceof FormData}class B{constructor(M,d,m,y){let Y;if(this.url=d,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=M.toUpperCase(),function se(g){switch(g){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||y?(this.body=void 0!==m?m:null,Y=y):Y=m,Y&&(this.reportProgress=!!Y.reportProgress,this.withCredentials=!!Y.withCredentials,Y.responseType&&(this.responseType=Y.responseType),Y.headers&&(this.headers=Y.headers),Y.context&&(this.context=Y.context),Y.params&&(this.params=Y.params),this.transferCache=Y.transferCache),this.headers||(this.headers=new ze),this.context||(this.context=new Ut),this.params){const dt=this.params.toString();if(0===dt.length)this.urlWithParams=d;else{const Et=d.indexOf("?");this.urlWithParams=d+(-1===Et?"?":Etj1.set(f1,M.setHeaders[f1]),Tt)),M.setParams&&(ge=Object.keys(M.setParams).reduce((j1,f1)=>j1.set(f1,M.setParams[f1]),ge)),new B(d,m,Y,{params:ge,headers:Tt,context:De,reportProgress:Et,responseType:y,withCredentials:dt})}}var C=function(g){return g[g.Sent=0]="Sent",g[g.UploadProgress=1]="UploadProgress",g[g.ResponseHeader=2]="ResponseHeader",g[g.DownloadProgress=3]="DownloadProgress",g[g.Response=4]="Response",g[g.User=5]="User",g}(C||{});class N{constructor(M,d=200,m="OK"){this.headers=M.headers||new ze,this.status=void 0!==M.status?M.status:d,this.statusText=M.statusText||m,this.url=M.url||null,this.ok=this.status>=200&&this.status<300}}class ht extends N{constructor(M={}){super(M),this.type=C.Response,this.body=void 0!==M.body?M.body:null}clone(M={}){return new ht({body:void 0!==M.body?M.body:this.body,headers:M.headers||this.headers,status:void 0!==M.status?M.status:this.status,statusText:M.statusText||this.statusText,url:M.url||this.url||void 0})}}function Gt(g,M){return{body:M,headers:g.headers,context:g.context,observe:g.observe,params:g.params,reportProgress:g.reportProgress,responseType:g.responseType,withCredentials:g.withCredentials,transferCache:g.transferCache}}let Ie=(()=>{class g{constructor(d){this.handler=d}request(d,m,y={}){let Y;if(d instanceof B)Y=d;else{let Tt,ge;Tt=y.headers instanceof ze?y.headers:new ze(y.headers),y.params&&(ge=y.params instanceof U?y.params:new U({fromObject:y.params})),Y=new B(d,m,void 0!==y.body?y.body:null,{headers:Tt,context:y.context,params:ge,reportProgress:y.reportProgress,responseType:y.responseType||"json",withCredentials:y.withCredentials,transferCache:y.transferCache})}const dt=(0,Me.of)(Y).pipe((0,M1.b)(Tt=>this.handler.handle(Tt)));if(d instanceof B||"events"===y.observe)return dt;const Et=dt.pipe((0,r1.h)(Tt=>Tt instanceof ht));switch(y.observe||"body"){case"body":switch(Y.responseType){case"arraybuffer":return Et.pipe((0,Le.U)(Tt=>{if(null!==Tt.body&&!(Tt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Tt.body}));case"blob":return Et.pipe((0,Le.U)(Tt=>{if(null!==Tt.body&&!(Tt.body instanceof Blob))throw new Error("Response is not a Blob.");return Tt.body}));case"text":return Et.pipe((0,Le.U)(Tt=>{if(null!==Tt.body&&"string"!=typeof Tt.body)throw new Error("Response is not a string.");return Tt.body}));default:return Et.pipe((0,Le.U)(Tt=>Tt.body))}case"response":return Et;default:throw new Error(`Unreachable: unhandled observe type ${y.observe}}`)}}delete(d,m={}){return this.request("DELETE",d,m)}get(d,m={}){return this.request("GET",d,m)}head(d,m={}){return this.request("HEAD",d,m)}jsonp(d,m){return this.request("JSONP",d,{params:(new U).append(m,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(d,m={}){return this.request("OPTIONS",d,m)}patch(d,m,y={}){return this.request("PATCH",d,Gt(y,m))}post(d,m,y={}){return this.request("POST",d,Gt(y,m))}put(d,m,y={}){return this.request("PUT",d,Gt(y,m))}static#t=this.\u0275fac=function(m){return new(m||g)(t.LFG(Ne))};static#e=this.\u0275prov=t.Yz7({token:g,factory:g.\u0275fac})}return g})();var Fe=c(6593);const He=["*"];let Ve;function L1(g){return function v1(){if(void 0===Ve&&(Ve=null,typeof window<"u")){const g=window;void 0!==g.trustedTypes&&(Ve=g.trustedTypes.createPolicy("angular#components",{createHTML:M=>M}))}return Ve}()?.createHTML(g)||g}function Yn(g){return Error(`Unable to find icon with the name "${g}"`)}function Jn(g){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${g}".`)}function On(g){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${g}".`)}class V1{constructor(M,d,m){this.url=M,this.svgText=d,this.options=m}}let gn=(()=>{class g{constructor(d,m,y,Y){this._httpClient=d,this._sanitizer=m,this._errorHandler=Y,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=y}addSvgIcon(d,m,y){return this.addSvgIconInNamespace("",d,m,y)}addSvgIconLiteral(d,m,y){return this.addSvgIconLiteralInNamespace("",d,m,y)}addSvgIconInNamespace(d,m,y,Y){return this._addSvgIconConfig(d,m,new V1(y,null,Y))}addSvgIconResolver(d){return this._resolvers.push(d),this}addSvgIconLiteralInNamespace(d,m,y,Y){const dt=this._sanitizer.sanitize(t.q3G.HTML,y);if(!dt)throw On(y);const Et=L1(dt);return this._addSvgIconConfig(d,m,new V1("",Et,Y))}addSvgIconSet(d,m){return this.addSvgIconSetInNamespace("",d,m)}addSvgIconSetLiteral(d,m){return this.addSvgIconSetLiteralInNamespace("",d,m)}addSvgIconSetInNamespace(d,m,y){return this._addSvgIconSetConfig(d,new V1(m,null,y))}addSvgIconSetLiteralInNamespace(d,m,y){const Y=this._sanitizer.sanitize(t.q3G.HTML,m);if(!Y)throw On(m);const dt=L1(Y);return this._addSvgIconSetConfig(d,new V1("",dt,y))}registerFontClassAlias(d,m=d){return this._fontCssClassesByAlias.set(d,m),this}classNameForFontAlias(d){return this._fontCssClassesByAlias.get(d)||d}setDefaultFontSetClass(...d){return this._defaultFontSetClass=d,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(d){const m=this._sanitizer.sanitize(t.q3G.RESOURCE_URL,d);if(!m)throw Jn(d);const y=this._cachedIconsByUrl.get(m);return y?(0,Me.of)(vn(y)):this._loadSvgIconFromConfig(new V1(d,null)).pipe((0,ce.b)(Y=>this._cachedIconsByUrl.set(m,Y)),(0,Le.U)(Y=>vn(Y)))}getNamedSvgIcon(d,m=""){const y=qn(m,d);let Y=this._svgIconConfigs.get(y);if(Y)return this._getSvgFromConfig(Y);if(Y=this._getIconConfigFromResolvers(m,d),Y)return this._svgIconConfigs.set(y,Y),this._getSvgFromConfig(Y);const dt=this._iconSetConfigs.get(m);return dt?this._getSvgFromIconSetConfigs(d,dt):(0,me._)(Yn(y))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(d){return d.svgText?(0,Me.of)(vn(this._svgElementFromConfig(d))):this._loadSvgIconFromConfig(d).pipe((0,Le.U)(m=>vn(m)))}_getSvgFromIconSetConfigs(d,m){const y=this._extractIconWithNameFromAnySet(d,m);if(y)return(0,Me.of)(y);const Y=m.filter(dt=>!dt.svgText).map(dt=>this._loadSvgIconSetFromConfig(dt).pipe((0,p1.K)(Et=>{const ge=`Loading icon set URL: ${this._sanitizer.sanitize(t.q3G.RESOURCE_URL,dt.url)} failed: ${Et.message}`;return this._errorHandler.handleError(new Error(ge)),(0,Me.of)(null)})));return(0,s1.D)(Y).pipe((0,Le.U)(()=>{const dt=this._extractIconWithNameFromAnySet(d,m);if(!dt)throw Yn(d);return dt}))}_extractIconWithNameFromAnySet(d,m){for(let y=m.length-1;y>=0;y--){const Y=m[y];if(Y.svgText&&Y.svgText.toString().indexOf(d)>-1){const dt=this._svgElementFromConfig(Y),Et=this._extractSvgIconFromSet(dt,d,Y.options);if(Et)return Et}}return null}_loadSvgIconFromConfig(d){return this._fetchIcon(d).pipe((0,ce.b)(m=>d.svgText=m),(0,Le.U)(()=>this._svgElementFromConfig(d)))}_loadSvgIconSetFromConfig(d){return d.svgText?(0,Me.of)(null):this._fetchIcon(d).pipe((0,ce.b)(m=>d.svgText=m))}_extractSvgIconFromSet(d,m,y){const Y=d.querySelector(`[id="${m}"]`);if(!Y)return null;const dt=Y.cloneNode(!0);if(dt.removeAttribute("id"),"svg"===dt.nodeName.toLowerCase())return this._setSvgAttributes(dt,y);if("symbol"===dt.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(dt),y);const Et=this._svgElementFromString(L1(""));return Et.appendChild(dt),this._setSvgAttributes(Et,y)}_svgElementFromString(d){const m=this._document.createElement("DIV");m.innerHTML=d;const y=m.querySelector("svg");if(!y)throw Error(" tag not found");return y}_toSvgElement(d){const m=this._svgElementFromString(L1("")),y=d.attributes;for(let Y=0;YL1(ge)),(0,b1.x)(()=>this._inProgressUrlFetches.delete(dt)),(0,h1.B)());return this._inProgressUrlFetches.set(dt,Tt),Tt}_addSvgIconConfig(d,m,y){return this._svgIconConfigs.set(qn(d,m),y),this}_addSvgIconSetConfig(d,m){const y=this._iconSetConfigs.get(d);return y?y.push(m):this._iconSetConfigs.set(d,[m]),this}_svgElementFromConfig(d){if(!d.svgElement){const m=this._svgElementFromString(d.svgText);this._setSvgAttributes(m,d.options),d.svgElement=m}return d.svgElement}_getIconConfigFromResolvers(d,m){for(let y=0;yM?M.pathname+M.search:""}}}),Kn=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Ti=Kn.map(g=>`[${g}]`).join(", "),Oi=/^url\(['"]?#(.*?)['"]?\)$/;let Ai=(()=>{class g extends ki{get inline(){return this._inline}set inline(d){this._inline=(0,_e.Ig)(d)}get svgIcon(){return this._svgIcon}set svgIcon(d){d!==this._svgIcon&&(d?this._updateSvgIcon(d):this._svgIcon&&this._clearSvgElement(),this._svgIcon=d)}get fontSet(){return this._fontSet}set fontSet(d){const m=this._cleanupFontValue(d);m!==this._fontSet&&(this._fontSet=m,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(d){const m=this._cleanupFontValue(d);m!==this._fontIcon&&(this._fontIcon=m,this._updateFontIconClasses())}constructor(d,m,y,Y,dt,Et){super(d),this._iconRegistry=m,this._location=Y,this._errorHandler=dt,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Ye.w0.EMPTY,Et&&(Et.color&&(this.color=this.defaultColor=Et.color),Et.fontSet&&(this.fontSet=Et.fontSet)),y||d.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(d){if(!d)return["",""];const m=d.split(":");switch(m.length){case 1:return["",m[0]];case 2:return m;default:throw Error(`Invalid icon name: "${d}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const d=this._elementsWithExternalReferences;if(d&&d.size){const m=this._location.getPathname();m!==this._previousPath&&(this._previousPath=m,this._prependPathToReferences(m))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(d){this._clearSvgElement();const m=this._location.getPathname();this._previousPath=m,this._cacheChildrenWithExternalReferences(d),this._prependPathToReferences(m),this._elementRef.nativeElement.appendChild(d)}_clearSvgElement(){const d=this._elementRef.nativeElement;let m=d.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();m--;){const y=d.childNodes[m];(1!==y.nodeType||"svg"===y.nodeName.toLowerCase())&&y.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const d=this._elementRef.nativeElement,m=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(y=>y.length>0);this._previousFontSetClass.forEach(y=>d.classList.remove(y)),m.forEach(y=>d.classList.add(y)),this._previousFontSetClass=m,this.fontIcon!==this._previousFontIconClass&&!m.includes("mat-ligature-font")&&(this._previousFontIconClass&&d.classList.remove(this._previousFontIconClass),this.fontIcon&&d.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(d){return"string"==typeof d?d.trim().split(" ")[0]:d}_prependPathToReferences(d){const m=this._elementsWithExternalReferences;m&&m.forEach((y,Y)=>{y.forEach(dt=>{Y.setAttribute(dt.name,`url('${d}#${dt.value}')`)})})}_cacheChildrenWithExternalReferences(d){const m=d.querySelectorAll(Ti),y=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Y=0;Y{const Et=m[Y],Tt=Et.getAttribute(dt),ge=Tt?Tt.match(Oi):null;if(ge){let De=y.get(Et);De||(De=[],y.set(Et,De)),De.push({name:dt,value:ge[1]})}})}_updateSvgIcon(d){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),d){const[m,y]=this._splitIconName(d);m&&(this._svgNamespace=m),y&&(this._svgName=y),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(y,m).pipe((0,a1.q)(1)).subscribe(Y=>this._setSvgElement(Y),Y=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${m}:${y}! ${Y.message}`))})}}static#t=this.\u0275fac=function(m){return new(m||g)(t.Y36(t.SBq),t.Y36(gn),t.$8M("aria-hidden"),t.Y36(Si),t.Y36(t.qLn),t.Y36(Ci,8))};static#e=this.\u0275cmp=t.Xpm({type:g,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(m,y){2&m&&(t.uIk("data-mat-icon-type",y._usingFontIcon()?"font":"svg")("data-mat-icon-name",y._svgName||y.fontIcon)("data-mat-icon-namespace",y._svgNamespace||y.fontSet)("fontIcon",y._usingFontIcon()?y.fontIcon:null),t.ekj("mat-icon-inline",y.inline)("mat-icon-no-color","primary"!==y.color&&"accent"!==y.color&&"warn"!==y.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[t.qOj],ngContentSelectors:He,decls:1,vars:0,template:function(m,y){1&m&&(t.F$t(),t.Hsn(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}return g})(),Di=(()=>{class g{static#t=this.\u0275fac=function(m){return new(m||g)};static#e=this.\u0275mod=t.oAB({type:g});static#n=this.\u0275inj=t.cJS({imports:[H.BQ,H.BQ]})}return g})();var Ei=c(8144);function Bi(g,M){1&g&&t.GkF(0)}function Ri(g,M){if(1&g&&(t.TgZ(0,"div",12),t._uU(1),t.qZA()),2&g){const d=t.oxw().step,m=t.oxw();t.xp6(1),t.AsE("",(null==m.tourService.steps?null:m.tourService.steps.indexOf(d))+1," / ",null==m.tourService.steps?null:m.tourService.steps.length,"")}}function Pi(g,M){if(1&g){const d=t.EpF();t.TgZ(0,"button",13),t.NdJ("click",function(){t.CHM(d);const y=t.oxw(2);return t.KtG(y.tourService.next())}),t._uU(1),t.TgZ(2,"mat-icon",14),t._uU(3,"chevron_right"),t.qZA()()}if(2&g){const d=t.oxw().step;t.xp6(1),t.hij(" ",d.nextBtnTitle," ")}}function An(g,M){if(1&g){const d=t.EpF();t.TgZ(0,"button",15),t.NdJ("click",function(){t.CHM(d);const y=t.oxw(2);return t.KtG(y.tourService.end())}),t._uU(1),t.qZA()}if(2&g){const d=t.oxw().step;t.xp6(1),t.hij(" ",d.endBtnTitle," ")}}function Li(g,M){if(1&g){const d=t.EpF();t.TgZ(0,"mat-card",3),t.NdJ("click",function(y){return y.stopPropagation()}),t.TgZ(1,"mat-card-header")(2,"div",4)(3,"mat-card-title"),t._uU(4),t.qZA(),t.TgZ(5,"button",5),t.NdJ("click",function(){t.CHM(d);const y=t.oxw();return t.KtG(y.tourService.end())}),t.TgZ(6,"mat-icon"),t._uU(7,"close"),t.qZA()()()(),t._UZ(8,"mat-card-content",6),t.TgZ(9,"mat-card-actions",7)(10,"button",8),t.NdJ("click",function(){t.CHM(d);const y=t.oxw();return t.KtG(y.tourService.prev())}),t.TgZ(11,"mat-icon"),t._uU(12,"chevron_left"),t.qZA(),t._uU(13),t.qZA(),t.YNc(14,Ri,2,2,"div",9)(15,Pi,4,1,"button",10)(16,An,2,1,"button",11),t.qZA()()}if(2&g){const d=M.step,m=t.oxw();t.Udp("width",null==d.stepDimensions?null:d.stepDimensions.width)("min-width",null==d.stepDimensions?null:d.stepDimensions.minWidth)("max-width",null==d.stepDimensions?null:d.stepDimensions.maxWidth),t.xp6(4),t.hij(" ",d.title," "),t.xp6(4),t.Q6J("innerHTML",d.content,t.oJD),t.xp6(2),t.Q6J("disabled",!m.tourService.hasPrev(d)),t.xp6(3),t.hij(" ",d.prevBtnTitle," "),t.xp6(1),t.um2(14,d.showProgress?14:-1),t.xp6(1),t.um2(15,m.tourService.hasNext(d)&&!d.nextOnAnchorClick?15:-1),t.xp6(1),t.um2(16,m.tourService.hasNext(d)?-1:16)}}const Ni=g=>({step:g});let Ii=(()=>{class g extends _.Z5{constructor(d,m){super(m),this.tourStepTemplateService=d,this.tourService=m,this.step={}}ngAfterViewInit(){this.tourStepTemplateService.templateComponent=this}static#t=this.\u0275fac=function(m){return new(m||g)(t.Y36(Ei.P),t.Y36(T.T))};static#e=this.\u0275cmp=t.Xpm({type:g,selectors:[["tour-step-template"]],contentQueries:function(m,y,Y){if(1&m&&t.Suo(Y,t.Rgc,5),2&m){let dt;t.iGM(dt=t.CRH())&&(y.stepTemplateContent=dt.first)}},viewQuery:function(m,y){if(1&m&&t.Gf(k.VK,5),2&m){let Y;t.iGM(Y=t.CRH())&&(y.tourStep=Y.first)}},inputs:{stepTemplate:"stepTemplate"},standalone:!0,features:[t.qOj,t.jDz],decls:4,vars:5,consts:[[3,"overlapTrigger"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["defaultTemplate",""],[3,"click"],[1,"header-group"],["mat-icon-button","",1,"close",3,"click"],[1,"mat-body",3,"innerHTML"],["align","end"],["mat-button","",1,"prev",3,"disabled","click"],["class","progress"],["class","next","mat-button",""],["mat-button",""],[1,"progress"],["mat-button","",1,"next",3,"click"],["iconPositionEnd",""],["mat-button","",3,"click"]],template:function(m,y){if(1&m&&(t.TgZ(0,"mat-menu",0),t.YNc(1,Bi,1,0,"ng-container",1),t.qZA(),t.YNc(2,Li,17,13,"ng-template",null,2,t.W1O)),2&m){const Y=t.MAs(3);t.Q6J("overlapTrigger",!1),t.xp6(1),t.Q6J("ngTemplateOutlet",y.stepTemplate||y.stepTemplateContent||Y)("ngTemplateOutletContext",t.VKq(3,Ni,y.step))}},dependencies:[Pt,it,Q,K,ut,b,k.Tx,k.VK,x.tP,o1,zt,Ge,Di,Ai],styles:['.mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{--mdc-icon-button-state-layer-size: 36px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:6px}.mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none} .tour-step .mat-mdc-menu-content{padding:0!important} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step{min-width:unset;max-width:unset;overflow:unset;box-shadow:none;filter:drop-shadow(0px 5px 5px rgba(0,0,0,.2)) drop-shadow(0px 8px 10px rgba(0,0,0,.14))} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow{position:relative} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow:after, .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow:before{bottom:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow:after{border-color:#fff0;border-width:8px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow:before{border-color:#e3e4e600;border-width:9px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-before:not(.horizontal):after, .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-before:not(.horizontal):before{right:10px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-before:not(.horizontal):after, .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-before:not(.horizontal):before{right:20px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-before:not(.horizontal):before{margin-right:-1px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-after:not(.horizontal):after, .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-after:not(.horizontal):before{left:10px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-after:not(.horizontal):after, .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-after:not(.horizontal):before{left:20px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-after:not(.horizontal):after{margin-left:1px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-below:not(.horizontal){margin-top:10px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-below:not(.horizontal):after{border-top-color:transparent;border-bottom-color:#fff} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-below:not(.horizontal):before{border-top-color:transparent;border-bottom-color:#e3e4e6} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-above:not(.horizontal){margin-bottom:10px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-above:not(.horizontal):after, .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-above:not(.horizontal):before{top:100%} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-above:not(.horizontal):after{border-top-color:#fff;border-bottom-color:transparent} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-above:not(.horizontal):before{border-top-color:#e3e4e6;border-bottom-color:transparent} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-before.horizontal{margin-right:10px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-before.horizontal:after, .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-before.horizontal:before{left:100%} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-before.horizontal:after{border-left-color:#fff;border-right-color:transparent} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-before.horizontal:before{border-left-color:#e3e4e6;border-right-color:transparent} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-after.horizontal{margin-left:10px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-after.horizontal:after, .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-after.horizontal:before{right:100%} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-after.horizontal:after{border-left-color:transparent;border-right-color:#fff} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-after.horizontal:before{border-left-color:transparent;border-right-color:#e3e4e6} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-below.horizontal:after, .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-below.horizontal:before{top:16px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-below.horizontal:after{margin-top:1px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-above.horizontal:after, .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-above.horizontal:before{bottom:16px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-above.horizontal:after{margin-bottom:1px}mat-card[_ngcontent-%COMP%]{box-shadow:none}mat-card-content[_ngcontent-%COMP%]{margin:8px 0}mat-card-actions[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px}mat-card-actions[_ngcontent-%COMP%] .progress[_ngcontent-%COMP%]{font-size:12px;font-weight:600;color:#00000061;white-space:nowrap}mat-card-actions[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{max-width:-moz-fit-content;max-width:fit-content}mat-card-actions[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{justify-self:flex-end}mat-card-actions[_ngcontent-%COMP%] button.prev[_ngcontent-%COMP%]{padding-left:4px}mat-card-actions[_ngcontent-%COMP%] button.next[_ngcontent-%COMP%]{padding-right:4px}mat-card-header[_ngcontent-%COMP%] .header-group[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-top:-8px;width:100%}mat-card-header[_ngcontent-%COMP%] .header-group[_ngcontent-%COMP%] mat-card-title[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}mat-card-header[_ngcontent-%COMP%] .header-group[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:-8px}']})}return g})()},74:(kt,ot,c)=>{c.d(ot,{JA:()=>t.J,jo:()=>x,QL:()=>H.T});var t=c(5593),_=c(8682),k=c(9212);let x=(()=>{class L{static#t=this.\u0275fac=function(F){return new(F||L)};static#e=this.\u0275mod=k.oAB({type:L});static#n=this.\u0275inj=k.cJS({imports:[_.R]})}return L})();var H=c(7349)},1750:(kt,ot,c)=>{c.d(ot,{x:()=>k});var t=c(5369),_=c(9212);let k=(()=>{class T extends t.QL{static#t=this.\u0275fac=(()=>{let H;return function(G){return(H||(H=_.n5z(T)))(G||T)}})();static#e=this.\u0275prov=_.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})()},7212:(kt,ot,c)=>{c.d(ot,{Q:()=>L});var t=c(5861),_=c(1750),k=c(4036),T=c(9212),x=c(7705),H=c(2914);let L=(()=>{class G{constructor(F,Z,I,it){this.tourService=F,this.tourStepTemplate=Z,this.element=I,this.popoverDirective=it,this.popoverDirective.autoClose=!1,this.popoverDirective.triggers="",this.popoverDirective.toggle=()=>{}}ngOnInit(){this.tourService.register(this.tourAnchor,this)}ngOnDestroy(){this.tourService.unregister(this.tourAnchor)}showTourStep(F){var Z=this;return(0,t.Z)(function*(){Z.popoverDirective.isOpen()&&(yield(0,k.z)(Z.popoverDirective.hidden)),Z.isActive=!0,Z.popoverDirective.ngbPopover=Z.tourStepTemplate.template,F.useLegacyTitle&&(Z.popoverDirective.popoverTitle=F.title),Z.popoverDirective.container="body",Z.popoverDirective.popoverClass=`tour-step ${F.popoverClass??""}`,Z.popoverDirective.placement=(F.placement||"auto").replace("before","left").replace("after","right").replace("below","bottom").replace("above","top");const it=F.backdropConfig?.offset;it&&(Z.popoverDirective.popperOptions=b=>Z.setOffsetModifier(b,it)),Z.popoverDirective.open({step:F})})()}setOffsetModifier(F,Z){const I=F.modifiers?.find(b=>"offset"===b.name&&b.options);return I&&(I.options.offset=[0,Z+10]),F}hideTourStep(){this.isActive=!1,this.popoverDirective.close()}static#t=this.\u0275fac=function(Z){return new(Z||G)(T.Y36(_.x),T.Y36(x.P),T.Y36(T.SBq),T.Y36(H.o8,1))};static#e=this.\u0275dir=T.lG2({type:G,selectors:[["","tourAnchor",""]],hostVars:2,hostBindings:function(Z,I){2&Z&&T.ekj("touranchor--is-active",I.isActive)},inputs:{tourAnchor:"tourAnchor"},standalone:!0,features:[T.zW0([H.o8])]})}return G})()},7705:(kt,ot,c)=>{c.d(ot,{P:()=>_});var t=c(9212);let _=(()=>{class k{static#t=this.\u0275fac=function(H){return new(H||k)};static#e=this.\u0275prov=t.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})()},9451:(kt,ot,c)=>{c.d(ot,{R:()=>Z});var t=c(9212),_=c(5369),k=c(7705),T=c(1750);const x=["tourStep"];function H(I,it){if(1&I){const b=t.EpF();t.TgZ(0,"div",11)(1,"h5"),t._uU(2),t.qZA(),t.TgZ(3,"button",12),t.NdJ("click",function(){t.CHM(b);const K=t.oxw(2);return t.KtG(K.tourService.end())}),t.qZA()()}if(2&I){const b=t.oxw().step;t.xp6(2),t.Oqu(null==b?null:b.title)}}function L(I,it){if(1&I&&(t.O4$(),t.kcU(),t.TgZ(0,"div",13),t._uU(1),t.qZA()),2&I){const b=t.oxw().step,at=t.oxw();t.xp6(1),t.AsE("",(null==at.tourService.steps?null:at.tourService.steps.indexOf(b))+1," / ",null==at.tourService.steps?null:at.tourService.steps.length,"")}}function G(I,it){if(1&I){const b=t.EpF();t.O4$(),t.kcU(),t.TgZ(0,"button",14),t.NdJ("click",function(){t.CHM(b);const K=t.oxw(2);return t.KtG(K.tourService.next())}),t._uU(1),t.O4$(),t.TgZ(2,"svg",6),t._UZ(3,"path",15),t.qZA()()}if(2&I){const b=t.oxw().step;t.xp6(1),t.hij(" ",null==b?null:b.nextBtnTitle," ")}}function E(I,it){if(1&I){const b=t.EpF();t.O4$(),t.kcU(),t.TgZ(0,"button",16),t.NdJ("click",function(){t.CHM(b);const K=t.oxw(2);return t.KtG(K.tourService.end())}),t._uU(1),t.qZA()}if(2&I){const b=t.oxw().step;t.xp6(1),t.hij(" ",null==b?null:b.endBtnTitle," ")}}function F(I,it){if(1&I){const b=t.EpF();t.TgZ(0,"div",1),t.YNc(1,H,4,1,"div",2),t._UZ(2,"p",3),t.TgZ(3,"div",4)(4,"button",5),t.NdJ("click",function(){t.CHM(b);const K=t.oxw();return t.KtG(K.tourService.prev())}),t.O4$(),t.TgZ(5,"svg",6),t._UZ(6,"path",7),t.qZA(),t._uU(7),t.qZA(),t.YNc(8,L,2,2,"div",8)(9,G,4,1,"button",9)(10,E,2,1,"button",10),t.qZA()()}if(2&I){const b=it.step,at=t.oxw();t.Udp("width",null==b.stepDimensions?null:b.stepDimensions.width)("min-width",null==b.stepDimensions?null:b.stepDimensions.minWidth)("max-width",null==b.stepDimensions?null:b.stepDimensions.maxWidth),t.xp6(1),t.um2(1,null!=b&&b.useLegacyTitle||null==b||!b.title?-1:1),t.xp6(1),t.Q6J("innerHTML",null==b?null:b.content,t.oJD),t.xp6(2),t.Q6J("disabled",!at.tourService.hasPrev(b)),t.xp6(3),t.hij(" ",null==b?null:b.prevBtnTitle," "),t.xp6(1),t.um2(8,b.showProgress?8:-1),t.xp6(1),t.um2(9,at.tourService.hasNext(b)&&!b.nextOnAnchorClick?9:-1),t.xp6(1),t.um2(10,at.tourService.hasNext(b)?-1:10)}}let Z=(()=>{class I extends _.Z5{constructor(){super(...arguments),this.tourStepTemplateService=(0,t.f3M)(k.P),this.tourService=(0,t.f3M)(T.x)}ngAfterContentInit(){this.tourStepTemplateService.template=this.stepTemplate||this.stepTemplateContent||this.defaultTourStepTemplate}static#t=this.\u0275fac=(()=>{let b;return function(K){return(b||(b=t.n5z(I)))(K||I)}})();static#e=this.\u0275cmp=t.Xpm({type:I,selectors:[["tour-step-template"]],contentQueries:function(at,K,gt){if(1&at&&t.Suo(gt,t.Rgc,5),2&at){let Q;t.iGM(Q=t.CRH())&&(K.stepTemplateContent=Q.first)}},viewQuery:function(at,K){if(1&at&&t.Gf(x,7,t.Rgc),2&at){let gt;t.iGM(gt=t.CRH())&&(K.defaultTourStepTemplate=gt.first)}},inputs:{stepTemplate:"stepTemplate"},standalone:!0,features:[t.qOj,t.jDz],decls:2,vars:0,consts:[["tourStep",""],[1,"main-container"],["class","title-container"],[1,"card-text",3,"innerHTML"],[1,"buttons"],[1,"btn","btn-sm","btn-outline-secondary","prev",3,"disabled","click"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","fill","currentColor","viewBox","0 0 16 16"],["d","M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"],["class","progress"],["class","btn btn-sm btn-outline-primary next"],["class","btn btn-sm btn-outline-primary"],[1,"title-container"],["type","button","aria-label","Close",1,"btn-close",3,"click"],[1,"progress"],[1,"btn","btn-sm","btn-outline-primary","next",3,"click"],["d","M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"],[1,"btn","btn-sm","btn-outline-primary",3,"click"]],template:function(at,K){1&at&&t.YNc(0,F,11,13,"ng-template",null,0,t.W1O)},styles:[".tour-step .popover-body{padding:0}.main-container[_ngcontent-%COMP%]{padding:.5rem 1rem .75rem}.title-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem;gap:.25rem}.title-container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:0;line-height:1.5}.buttons[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px}.buttons[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{max-width:-moz-fit-content;max-width:fit-content}.buttons[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{justify-self:flex-end}.buttons[_ngcontent-%COMP%] .progress[_ngcontent-%COMP%]{font-size:12px;font-weight:700;color:#00000073;white-space:nowrap}.buttons[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.25rem}.buttons[_ngcontent-%COMP%] .btn.prev[_ngcontent-%COMP%]{padding-left:.25rem}.buttons[_ngcontent-%COMP%] .btn.next[_ngcontent-%COMP%]{padding-right:.25rem}"]})}return I})()},990:(kt,ot,c)=>{c.d(ot,{Q4:()=>t.Q,yk:()=>x,QL:()=>H.x});var t=c(7212),k=(c(9451),c(9212));let x=(()=>{class L{static#t=this.\u0275fac=function(F){return new(F||L)};static#e=this.\u0275mod=k.oAB({type:L});static#n=this.\u0275inj=k.cJS({})}return L})();var H=c(1750)},559:(kt,ot,c)=>{c.d(ot,{H:()=>k});var t=c(5369),_=c(9212);let k=(()=>{class T extends t.QL{static#t=this.\u0275fac=(()=>{let H;return function(G){return(H||(H=_.n5z(T)))(G||T)}})();static#e=this.\u0275prov=_.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})()},3584:(kt,ot,c)=>{c.d(ot,{n:()=>I1,H:()=>k1});var t=c(9212);class _{constructor(w,f){this.open=w,this.close=f||w}isManual(){return"manual"===this.open||"manual"===this.close}}const k={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function T(p,w=k){const f=(p||"").trim();if(0===f.length)return[];const z=f.split(/\s+/).map(et=>et.split(":")).map(et=>{const st=w[et[0]]||et;return new _(st[0],st[1])}),X=z.filter(et=>et.isManual());if(X.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===X.length&&z.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return z}const E=typeof window<"u"&&window||{};let xt;function Zt(){const p=E.document.createElement("span");p.innerText="testing bs version",p.classList.add("d-none"),p.classList.add("pl-1"),E.document.head.appendChild(p);const w=E.getComputedStyle(p).paddingLeft;return w&&parseFloat(w)?(E.document.head.removeChild(p),"bs4"):(E.document.head.removeChild(p),"bs5")}function ue(){return{isBs4:(xt||(xt=Zt()),"bs4"===xt),isBs5:(xt||(xt=Zt()),"bs5"===xt)}}typeof console>"u"||console;var pe=c(6814),Se=c(8645),we=c(3019),Jt=c(2438),Ee=c(2096),We=c(927),Ue=function(p){return p.top="top",p.bottom="bottom",p.left="left",p.right="right",p.auto="auto",p.end="right",p.start="left",p["top left"]="top left",p["top right"]="top right",p["right top"]="right top",p["right bottom"]="right bottom",p["bottom right"]="bottom right",p["bottom left"]="bottom left",p["left bottom"]="left bottom",p["left top"]="left top",p["top start"]="top left",p["top end"]="top right",p["end top"]="right top",p["end bottom"]="right bottom",p["bottom end"]="bottom right",p["bottom start"]="bottom left",p["start bottom"]="start bottom",p["start top"]="left top",p}(Ue||{}),ct=function(p){return p.top="top",p.bottom="bottom",p.left="start",p.right="end",p.auto="auto",p.end="end",p.start="start",p["top left"]="top start",p["top right"]="top end",p["right top"]="end top",p["right bottom"]="end bottom",p["bottom right"]="bottom end",p["bottom left"]="bottom start",p["left bottom"]="start bottom",p["left top"]="start top",p["top start"]="top start",p["top end"]="top end",p["end top"]="end top",p["end bottom"]="end bottom",p["bottom end"]="bottom end",p["bottom start"]="bottom start",p["start bottom"]="start bottom",p["start top"]="start top",p}(ct||{});function Ct(p,w){if(1!==p.nodeType)return[];const z=p.ownerDocument.defaultView?.getComputedStyle(p,null);return w?z&&z[w]:z}function O(p){if(!p)return document.documentElement;let z,f=p?.offsetParent;for(;null===f&&p.nextElementSibling&&z!==p.nextElementSibling;)z=p.nextElementSibling,f=z.offsetParent;const X=f&&f.nodeName;return X&&"BODY"!==X&&"HTML"!==X?f&&-1!==["TH","TD","TABLE"].indexOf(f.nodeName)&&"static"===Ct(f,"position")?O(f):f:z?z.ownerDocument.documentElement:document.documentElement}function nt(p){return null!==p.parentNode?nt(p.parentNode):p}function zt(p,w){if(!(p&&p.nodeType&&w&&w.nodeType))return document.documentElement;const f=p.compareDocumentPosition(w)&Node.DOCUMENT_POSITION_FOLLOWING,z=f?p:w,X=f?w:p,et=document.createRange();et.setStart(z,0),et.setEnd(X,0);const st=et.commonAncestorContainer;if(p!==st&&w!==st||z.contains(X))return function P(p){const{nodeName:w}=p;return"BODY"!==w&&("HTML"===w||O(p.firstElementChild)===p)}(st)?st:O(st);const lt=nt(p);return lt.host?zt(lt.host,w):zt(p,nt(w).host)}function Ft(p){if(!p||!p.parentElement)return document.documentElement;let w=p.parentElement;for(;w?.parentElement&&"none"===Ct(w,"transform");)w=w.parentElement;return w||document.documentElement}function Vt(p,w){const f="x"===w?"Left":"Top",z="Left"===f?"Right":"Bottom";return parseFloat(p[`border${f}Width`])+parseFloat(p[`border${z}Width`])}function be(p,w,f,z){return Math.max(w[`offset${p}`],w[`scroll${p}`],f[`client${p}`],f[`offset${p}`],f[`scroll${p}`],0)}function te(p){const w=p.body,f=p.documentElement;return{height:be("Height",w,f),width:be("Width",w,f)}}function ee(p){return{...p,right:(p.left||0)+p.width,bottom:(p.top||0)+p.height}}function Ht(p){return"number"==typeof p||"[object Number]"===Object.prototype.toString.call(p)}function de(p){const w=p.getBoundingClientRect();if(!(w&&Ht(w.top)&&Ht(w.left)&&Ht(w.bottom)&&Ht(w.right)))return w;const f={left:w.left,top:w.top,width:w.right-w.left,height:w.bottom-w.top},z="HTML"===p.nodeName?te(p.ownerDocument):void 0,X=z?.width||p.clientWidth||Ht(w.right)&&Ht(f.left)&&w.right-f.left||0,et=z?.height||p.clientHeight||Ht(w.bottom)&&Ht(f.top)&&w.bottom-f.top||0;let st=p.offsetWidth-X,lt=p.offsetHeight-et;if(st||lt){const bt=Ct(p);st-=Vt(bt,"x"),lt-=Vt(bt,"y"),f.width-=st,f.height-=lt}return ee(f)}function Ge(p){return"HTML"===p.nodeName?p:p.parentNode||p.host}function Qe(p){if(!p)return document.body;switch(p.nodeName){case"HTML":case"BODY":return p.ownerDocument.body;case"#document":return p.body}const{overflow:w,overflowX:f,overflowY:z}=Ct(p);return/(auto|scroll|overlay)/.test(String(w)+String(z)+String(f))?p:Qe(Ge(p))}function o1(p,w,f=!1){const z="HTML"===w.nodeName,X=de(p),et=de(w),lt=(Qe(p),Ct(w)),bt=parseFloat(lt.borderTopWidth),Bt=parseFloat(lt.borderLeftWidth);f&&z&&(et.top=Math.max(et.top??0,0),et.left=Math.max(et.left??0,0));const Lt=ee({top:(X.top??0)-(et.top??0)-bt,left:(X.left??0)-(et.left??0)-Bt,width:X.width,height:X.height});if(Lt.marginTop=0,Lt.marginLeft=0,z){const le=parseFloat(lt.marginTop),Re=parseFloat(lt.marginLeft);Ht(Lt.top)&&(Lt.top-=bt-le),Ht(Lt.bottom)&&(Lt.bottom-=bt-le),Ht(Lt.left)&&(Lt.left-=Bt-Re),Ht(Lt.right)&&(Lt.right-=Bt-Re),Lt.marginTop=le,Lt.marginLeft=Re}return Lt}function _e(p,w="top"){const f="top"===w?"scrollTop":"scrollLeft",z=p.nodeName;return"BODY"===z||"HTML"===z?(p.ownerDocument.scrollingElement||p.ownerDocument.documentElement)[f]:p[f]}function me(p){const w=p.nodeName;return"BODY"!==w&&"HTML"!==w&&("fixed"===Ct(p,"position")||me(Ge(p)))}function s1(p,w,f=0,z,X=!1){let et={top:0,left:0};const st=X?Ft(p):zt(p,w);if("viewport"===z)et=function Me(p,w=!1){const f=p.ownerDocument.documentElement,z=o1(p,f),X=Math.max(f.clientWidth,window.innerWidth||0),et=Math.max(f.clientHeight,window.innerHeight||0),st=w?0:_e(f),lt=w?0:_e(f,"left");return ee({top:st-Number(z?.top)+Number(z?.marginTop),left:lt-Number(z?.left)+Number(z?.marginLeft),width:X,height:et})}(st,X);else{let lt;"scrollParent"===z?(lt=Qe(Ge(w)),"BODY"===lt.nodeName&&(lt=p.ownerDocument.documentElement)):lt="window"===z?p.ownerDocument.documentElement:z;const bt=o1(lt,st,X);if(bt&&"HTML"===lt.nodeName&&!me(st)){const{height:Bt,width:Lt}=te(p.ownerDocument);Ht(et.top)&&Ht(bt.top)&&Ht(bt.marginTop)&&(et.top+=bt.top-bt.marginTop),Ht(et.top)&&(et.bottom=Number(Bt)+Number(bt.top)),Ht(et.left)&&Ht(bt.left)&&Ht(bt.marginLeft)&&(et.left+=bt.left-bt.marginLeft),Ht(et.top)&&(et.right=Number(Lt)+Number(bt.left))}else bt&&(et=bt)}return Ht(et.left)&&(et.left+=f),Ht(et.top)&&(et.top+=f),Ht(et.right)&&(et.right-=f),Ht(et.bottom)&&(et.bottom-=f),et}function Ye({width:p,height:w}){return p*w}function ce(p,w,f,z,X=["top","bottom","right","left"],et="viewport",st=0){if(-1===p.indexOf("auto"))return p;const lt=s1(f,z,st,et),bt={top:{width:lt?.width??0,height:(w?.top??0)-(lt?.top??0)},right:{width:(lt?.right??0)-(w?.right??0),height:lt?.height??0},bottom:{width:lt?.width??0,height:(lt?.bottom??0)-(w?.bottom??0)},left:{width:(w.left??0)-(lt?.left??0),height:lt?.height??0}},Bt=Object.keys(bt).map(Oe=>({position:Oe,...bt[Oe],area:Ye(bt[Oe])})).sort((Oe,qe)=>qe.area-Oe.area);let Lt=Bt.filter(({width:Oe,height:qe})=>Oe>=f.clientWidth&&qe>=f.clientHeight);Lt=Lt.filter(({position:Oe})=>X.some(qe=>qe===Oe));const le=Lt.length>0?Lt[0].position:Bt[0].position,Re=p.split(" ")[1];return f.className=f.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${ue().isBs5?ct[le]:le}`),le+(Re?`-${Re}`:"")}const h1=(p,w=0)=>p?parseFloat(p):w;function a1(p){const f=p.ownerDocument.defaultView?.getComputedStyle(p),z=h1(f?.marginTop)+h1(f?.marginBottom),X=h1(f?.marginLeft)+h1(f?.marginRight);return{width:Number(p.offsetWidth)+X,height:Number(p.offsetHeight)+z}}function M1(p,w,f){return o1(w,f?Ft(p):zt(p,w),f)}function r1(p,w,f){const z=f.split(" ")[0],X=a1(p),et={width:X.width,height:X.height},st=-1!==["right","left"].indexOf(z),lt=st?"top":"left",bt=st?"left":"top",Bt=st?"height":"width",Lt=st?"width":"height";return et[lt]=(w[lt]??0)+w[Bt]/2-X[Bt]/2,et[bt]=z===bt?(w[bt]??0)-X[Lt]:w[function p1(p){const w={left:"right",right:"left",bottom:"top",top:"bottom"};return p.replace(/left|right|bottom|top/g,f=>w[f])}(bt)]??0,et}function Ne(p,w){return!!p.modifiers[w]?.enabled}const Be={top:["top","top start","top end"],bottom:["bottom","bottom start","bottom end"],start:["start","start top","start bottom"],end:["end","end top","end bottom"]};function ze(p,w){return!!ue().isBs5&&Be[w].includes(p)}function Te(p){return ue().isBs5?ze(p,"end")?"ms-2":ze(p,"start")?"me-2":ze(p,"top")?"mb-2":ze(p,"bottom")?"mt-2":"":""}function c1(p,w,f){!p||!w||Object.keys(w).forEach(z=>{let X="";-1!==["width","height","top","right","bottom","left"].indexOf(z)&&function It(p){return""!==p&&!isNaN(parseFloat(p))&&isFinite(Number(p))}(w[z])&&(X="px"),f?f.setStyle(p,z,`${String(w[z])}${X}`):p.style[z]=String(w[z])+X})}function T1(p){let w=p.offsets.target;const f=p.instance.target.querySelector(".arrow");if(!f)return p;const z=-1!==["left","right"].indexOf(p.placement.split(" ")[0]),X=z?"height":"width",et=z?"Top":"Left",st=et.toLowerCase(),lt=z?"left":"top",bt=z?"bottom":"right",Bt=a1(f)[X],Lt=p.placement.split(" ")[1];(p.offsets.host[bt]??0)-Bt<(w[st]??0)&&(w[st]-=(w[st]??0)-((p.offsets.host[bt]??0)-Bt)),Number(p.offsets.host[st])+Number(Bt)>(w[bt]??0)&&(w[st]+=Number(p.offsets.host[st])+Number(Bt)-Number(w[bt])),w=ee(w);const le=Ct(p.instance.target),Re=parseFloat(le[`margin${et}`])||0,Oe=parseFloat(le[`border${et}Width`])||0;let qe;if(Lt){const O1=parseFloat(le.borderRadius)||0,Ke=Number(Re+Oe+O1);qe=st===Lt?Number(p.offsets.host[st])+Ke:Number(p.offsets.host[st])+Number(p.offsets.host[X]-Ke)}else qe=Number(p.offsets.host[st])+Number(p.offsets.host[X]/2-Bt/2);let e1=qe-(w[st]??0)-Re-Oe;return e1=Math.max(Math.min(w[X]-(Bt+5),e1),0),p.offsets.arrow={[st]:Math.round(e1),[lt]:""},p.instance.arrow=f,p}function rt(p){if(p.offsets.target=ee(p.offsets.target),!Ne(p.options,"flip"))return p.offsets.target={...p.offsets.target,...r1(p.instance.target,p.offsets.host,p.placement)},p;const w=s1(p.instance.target,p.instance.host,0,"viewport",!1);let f=p.placement.split(" ")[0],z=p.placement.split(" ")[1]||"";const lt=ce("auto",p.offsets.host,p.instance.target,p.instance.host,p.options.allowedPositions),bt=[f,lt];return bt.forEach((Bt,Lt)=>{if(f!==Bt||bt.length===Lt+1)return;f=p.placement.split(" ")[0];const le="left"===f&&Math.floor(p.offsets.target.right??0)>Math.floor(p.offsets.host.left??0)||"right"===f&&Math.floor(p.offsets.target.left??0)Math.floor(p.offsets.host.top??0)||"bottom"===f&&Math.floor(p.offsets.target.top??0)Math.floor(w.right??0),qe=Math.floor(p.offsets.target.top??0)Math.floor(w.bottom??0),O1="left"===f&&Re||"right"===f&&Oe||"top"===f&&qe||"bottom"===f&&e1,Ke=-1!==["top","bottom"].indexOf(f),H1=Ke&&"left"===z&&Re||Ke&&"right"===z&&Oe||!Ke&&"left"===z&&qe||!Ke&&"right"===z&&e1;(le||O1||H1)&&((le||O1)&&(f=bt[Lt+1]),H1&&(z=function b1(p){return"right"===p?"left":"left"===p?"right":p}(z)),p.placement=f+(z?` ${z}`:""),p.offsets.target={...p.offsets.target,...r1(p.instance.target,p.offsets.host,p.placement)})}),p}function S(p){if(!Ne(p.options,"preventOverflow"))return p;const w="transform",f=p.instance.target.style,{top:z,left:X,[w]:et}=f;f.top="",f.left="",f[w]="";const st=s1(p.instance.target,p.instance.host,0,p.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);f.top=z,f.left=X,f[w]=et;const bt={primary(Bt){let Lt=p.offsets.target[Bt];return(p.offsets.target[Bt]??0)<(st[Bt]??0)&&(Lt=Math.max(p.offsets.target[Bt]??0,st[Bt]??0)),{[Bt]:Lt}},secondary(Bt){const Lt="right"===Bt,le=Lt?"left":"top";let Oe=p.offsets.target[le];return(p.offsets.target[Bt]??0)>(st[Bt]??0)&&(Oe=Math.min(p.offsets.target[le]??0,(st[Bt]??0)-p.offsets.target[Lt?"width":"height"])),{[le]:Oe}}};return["left","right","top","bottom"].forEach(Bt=>{const Lt=-1!==["left","top","start"].indexOf(Bt)?bt.primary:bt.secondary;p.offsets.target={...p.offsets.target,...Lt(Bt)}}),p}function U(p){const w=p.placement,f=w.split(" ")[0],z=w.split(" ")[1];if(z){const{host:X,target:et}=p.offsets,st=-1!==["bottom","top"].indexOf(f),lt=st?"left":"top",bt=st?"width":"height",Bt={start:{[lt]:X[lt]},end:{[lt]:(X[lt]??0)+X[bt]-et[bt]}};p.offsets.target={...et,[lt]:lt===z?Bt.start[lt]:Bt.end[lt]}}return p}const Ut=new class mt{position(w,f){return this.offset(w,f)}offset(w,f){return M1(f,w)}positionElements(w,f,z,X,et){const st=[rt,U,S,T1],bt=function j(p,w,f,z){if(!p||!w)return;const X=M1(p,w);!f.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!f.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(f="auto");const et=!!f.match(/auto/g);let st=f.match(/auto\s(left|right|top|bottom|start|end)/)?f.split(" ")[1]||"auto":f;const lt=st.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return lt&&(st=lt[1]+(lt[2]?` ${lt[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(st)&&(st="auto"),st=ce(st,X,p,w,z?z.allowedPositions:void 0),{options:z||{modifiers:{}},instance:{target:p,host:w,arrow:void 0},offsets:{target:r1(p,X,st),host:X,arrow:void 0},positionFixed:!1,placement:st,placementAuto:et}}(f,w,Ue[z],et);if(bt)return st.reduce((Bt,Lt)=>Lt(Bt),bt)}};let t1=(()=>{class p{constructor(f,z,X){this.update$$=new Se.x,this.positionElements=new Map,this.isDisabled=!1,(0,pe.NF)(X)&&f.runOutsideAngular(()=>{this.triggerEvent$=(0,we.T)((0,Jt.R)(window,"scroll",{passive:!0}),(0,Jt.R)(window,"resize",{passive:!0}),(0,Ee.of)(0,We.Z),this.update$$),this.triggerEvent$.subscribe(()=>{this.isDisabled||this.positionElements.forEach(et=>{!function se(p,w,f,z,X,et){const st=Ut.positionElements(p,w,f,z,X);if(!st)return;const lt=function Le(p){return{width:p.offsets.target.width,height:p.offsets.target.height,left:Math.floor(p.offsets.target.left??0),top:Math.round(p.offsets.target.top??0),bottom:Math.round(p.offsets.target.bottom??0),right:Math.floor(p.offsets.target.right??0)}}(st);c1(w,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${lt.left}px, ${lt.top}px, 0px)`},et),st.instance.arrow&&c1(st.instance.arrow,st.offsets.arrow,et),function m1(p,w){const f=p.instance.target;let z=f.className;const X=ue().isBs5?ct[p.placement]:p.placement;p.placementAuto&&(z=z.replace(/bs-popover-auto/g,`bs-popover-${X}`),z=z.replace(/ms-2|me-2|mb-2|mt-2/g,""),z=z.replace(/bs-tooltip-auto/g,`bs-tooltip-${X}`),z=z.replace(/\sauto/g,` ${X}`),-1!==z.indexOf("popover")&&(z=z+" "+Te(X)),-1!==z.indexOf("popover")&&-1===z.indexOf("popover-auto")&&(z+=" popover-auto"),-1!==z.indexOf("tooltip")&&-1===z.indexOf("tooltip-auto")&&(z+=" tooltip-auto")),z=z.replace(/left|right|top|bottom|end|start/g,`${X.split(" ")[0]}`),w?w.setAttribute(f,"class",z):f.className=z}(st,et)}(Je(et.target),Je(et.element),et.attachment,et.appendToBody,this.options,z.createRenderer(null,null))})})})}position(f){this.addPositionElement(f)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(f){this.positionElements.set(Je(f.element),f)}calcPosition(){this.update$$.next(null)}deletePositionElement(f){this.positionElements.delete(Je(f))}setOptions(f){this.options=f}static#t=this.\u0275fac=function(z){return new(z||p)(t.LFG(t.R0b),t.LFG(t.FYo),t.LFG(t.Lbi))};static#e=this.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();function Je(p){return"string"==typeof p?document.querySelector(p):p instanceof t.SBq?p.nativeElement:p??null}class ${constructor(w,f,z){this.nodes=w,this.viewRef=f,this.componentRef=z}}class B{constructor(w,f,z,X,et,st,lt,bt,Bt){this._viewContainerRef=w,this._renderer=f,this._elementRef=z,this._injector=X,this._componentFactoryResolver=et,this._ngZone=st,this._applicationRef=lt,this._posService=bt,this._document=Bt,this.onBeforeShow=new t.vpe,this.onShown=new t.vpe,this.onBeforeHide=new t.vpe,this.onHidden=new t.vpe,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(w){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(w),this}to(w){return this.container=w||this.container,this}position(w){return w?(this.attachment=w.attachment||this.attachment,this._elementRef=w.target||this._elementRef,this):this}provide(w){return this._providers.push(w),this}show(w={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(w.content,w.context,w.initialState);const f=t.zs3.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(f,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,w),this.container instanceof t.SBq&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof this._document<"u"){const z=this._document.querySelector(this.container)||this._document.querySelector(this.containerDefaultSelector);if(!z)return;z.appendChild(this._componentRef.location.nativeElement)}!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(w.id?{id:w.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(w){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const f=this._componentRef.location.nativeElement;return f.parentNode?.removeChild(f),this._contentRef?.componentRef?.destroy(),this._viewContainerRef&&this._contentRef?.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef?.viewRef?.destroy(),this._contentRef=void 0,this._componentRef=void 0,this._removeGlobalListener(),this.onHidden.emit(w?{id:w}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(w){this.triggers=w.triggers||this.triggers,this._listenOpts.outsideClick=w.outsideClick,this._listenOpts.outsideEsc=w.outsideEsc,w.target=w.target||this._elementRef?.nativeElement;const f=this._listenOpts.hide=()=>w.hide?w.hide():void this.hide(),z=this._listenOpts.show=et=>{w.show?w.show(et):this.show(et),et()};return this._renderer&&(this._unregisterListenersFn=function H(p,w){const f=T(w.triggers),z=w.target;if(1===f.length&&f[0].isManual())return Function.prototype;const X=[],et=[],st=()=>{et.forEach(lt=>X.push(lt())),et.length=0};return f.forEach(lt=>{const bt=lt.open===lt.close,Bt=bt?w.toggle:w.show;if(!bt&<.close&&w.hide){const Lt=lt.close,le=w.hide;et.push(()=>p.listen(z,Lt,le))}Bt&&X.push(p.listen(z,lt.open,()=>Bt(st)))}),()=>{X.forEach(lt=>lt())}}(this._renderer,{target:w.target,triggers:w.triggers,show:z,hide:f,toggle:et=>{this.isShown?f():z(et)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(w,f){return w&&f&&(this._inlineViewRef=w.createEmbeddedView(f)),this}_registerOutsideClick(){if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){const w=this._componentRef.location.nativeElement;setTimeout(()=>{this._renderer&&this._elementRef&&(this._globalListener=function L(p,w){return w.outsideClick?p.listen("document","click",f=>{w.target&&w.target.contains(f.target)||w.targets&&w.targets.some(z=>z.contains(f.target))||w.hide&&w.hide()}):Function.prototype}(this._renderer,{targets:[w,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))})}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(this._globalListener=function G(p,w){return w.outsideEsc?p.listen("document","keyup.esc",f=>{w.target&&w.target.contains(f.target)||w.targets&&w.targets.some(z=>z.contains(f.target))||w.hide&&w.hide()}):Function.prototype}(this._renderer,{targets:[this._componentRef.location.nativeElement,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))}}getInnerComponent(){return this._innerComponent}_subscribePositioning(){this._zoneSubscription||!this.attachment||(this.onShown.subscribe(()=>{this._posService.position({element:this._componentRef?.location,target:this._elementRef,attachment:this.attachment,appendToBody:"body"===this.container})}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>{this._componentRef&&this._posService.calcPosition()}))}_unsubscribePositioning(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=void 0)}_getContentRef(w,f,z){if(!w)return new $([]);if(w instanceof t.Rgc){if(this._viewContainerRef){const st=this._viewContainerRef.createEmbeddedView(w,f);return st.markForCheck(),new $([st.rootNodes],st)}const et=w.createEmbeddedView({});return this._applicationRef.attachView(et),new $([et.rootNodes],et)}if("function"==typeof w){const et=this._componentFactoryResolver.resolveComponentFactory(w),st=t.zs3.create({providers:this._providers,parent:this._injector}),lt=et.create(st);return Object.assign(lt.instance,z),this._applicationRef.attachView(lt.hostView),new $([[lt.location.nativeElement]],lt.hostView,lt)}const X=this._renderer?[this._renderer.createText(`${w}`)]:[];return new $([X])}}let C=(()=>{class p{constructor(f,z,X,et,st,lt){this._componentFactoryResolver=f,this._ngZone=z,this._injector=X,this._posService=et,this._applicationRef=st,this._document=lt}createLoader(f,z,X){return new B(z,X,f,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService,this._document)}static#t=this.\u0275fac=function(z){return new(z||p)(t.LFG(t._Vd),t.LFG(t.R0b),t.LFG(t.zs3),t.LFG(t1),t.LFG(t.z2F),t.LFG(pe.K0))};static#e=this.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();var N=c(9080);function tt(p,w){if(1&p&&(t.TgZ(0,"h3",3),t._uU(1),t.qZA()),2&p){const f=t.oxw();t.xp6(1),t.Oqu(f.title)}}const ht=["*"];let Ot=(()=>{class p{constructor(){this.adaptivePosition=!0,this.placement="top",this.triggers="click",this.outsideClick=!1,this.delay=0}static#t=this.\u0275fac=function(z){return new(z||p)};static#e=this.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})(),Gt=(()=>{class p{set placement(f){this._placement=this._bsVersions.isBs5?ct[f]:f}get _bsVersions(){return ue()}constructor(f){this._placement="top",Object.assign(this,f)}checkMarginNecessity(){return Te(this._placement)}static#t=this.\u0275fac=function(z){return new(z||p)(t.Y36(Ot))};static#e=this.\u0275cmp=t.Xpm({type:p,selectors:[["popover-container"]],hostAttrs:["role","tooltip",2,"display","block","position","absolute"],hostVars:7,hostBindings:function(z,X){2&z&&(t.uIk("id",X.popoverId),t.Tol("popover in popover-"+X._placement+" bs-popover-"+X._placement+" "+X._placement+" "+X.containerClass+" "+X.checkMarginNecessity()),t.ekj("show",!X._bsVersions.isBs3)("bs3",X._bsVersions.isBs3))},inputs:{placement:"placement",title:"title"},ngContentSelectors:ht,decls:4,vars:1,consts:[[1,"popover-arrow","arrow"],["class","popover-title popover-header",4,"ngIf"],[1,"popover-content","popover-body"],[1,"popover-title","popover-header"]],template:function(z,X){1&z&&(t.F$t(),t._UZ(0,"div",0),t.YNc(1,tt,2,1,"h3",1),t.TgZ(2,"div",2),t.Hsn(3),t.qZA()),2&z&&(t.xp6(1),t.Q6J("ngIf",X.title))},dependencies:[pe.O5],styles:[".popover.bottom[_nghost-%COMP%] > .arrow[_ngcontent-%COMP%]{margin-left:-4px}[_nghost-%COMP%] .popover-arrow[_ngcontent-%COMP%]{position:absolute}"],changeDetection:0})}return p})(),Ie=0,g1=(()=>{class p{get isOpen(){return this._popover.isShown}set isOpen(f){f?this.show():this.hide()}constructor(f,z,X,et,st,lt){this._elementRef=z,this._renderer=X,this._positionService=lt,this.popoverId=Ie++,this.adaptivePosition=!0,this.placement="top",this.outsideClick=!1,this.triggers="click",this.containerClass="",this.delay=0,this._isInited=!1,this._popover=st.createLoader(z,et,X).provide({provide:Ot,useValue:f}),Object.assign(this,f),this.onShown=this._popover.onShown,this.onHidden=this._popover.onHidden,typeof window<"u"&&z.nativeElement.addEventListener("click",function(){try{z.nativeElement.focus()}catch{return}})}setAriaDescribedBy(){this._ariaDescribedby=this.isOpen?`ngx-popover-${this.popoverId}`:void 0,this._ariaDescribedby?(this._popover.instance&&(this._popover.instance.popoverId=this._ariaDescribedby),this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ariaDescribedby)):this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby")}show(){if(this._popover.isShown||!this.popover||this._delayTimeoutId)return;this._positionService.setOptions({modifiers:{flip:{enabled:this.adaptivePosition},preventOverflow:{enabled:this.adaptivePosition,boundariesElement:this.boundariesElement||"scrollParent"}}});const f=()=>{this._delayTimeoutId&&(this._delayTimeoutId=void 0),this._popover.attach(Gt).to(this.container).position({attachment:this.placement}).show({content:this.popover,context:this.popoverContext,placement:this.placement,title:this.popoverTitle,containerClass:this.containerClass}),!this.adaptivePosition&&this._popover._componentRef&&(this._positionService.calcPosition(),this._positionService.deletePositionElement(this._popover._componentRef.location)),this.isOpen=!0,this.setAriaDescribedBy()},z=()=>{this._popoverCancelShowFn&&this._popoverCancelShowFn()};if(this.delay){const X=(0,N.H)(this.delay).subscribe(()=>{f(),z()});this.triggers&&T(this.triggers).forEach(et=>{et.close&&(this._popoverCancelShowFn=this._renderer.listen(this._elementRef.nativeElement,et.close,()=>{X.unsubscribe(),z()}))})}else f()}hide(){this._delayTimeoutId&&(clearTimeout(this._delayTimeoutId),this._delayTimeoutId=void 0),this.isOpen&&(this._popover.hide(),this.setAriaDescribedBy(),this.isOpen=!1)}toggle(){if(this.isOpen)return this.hide();this.show()}ngOnInit(){this._isInited||(this._isInited=!0,this._popover.listen({triggers:this.triggers,outsideClick:this.outsideClick,show:()=>this.show(),hide:()=>this.hide()}))}ngOnDestroy(){this._popover.dispose()}static#t=this.\u0275fac=function(z){return new(z||p)(t.Y36(Ot),t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(t.s_b),t.Y36(C),t.Y36(t1))};static#e=this.\u0275dir=t.lG2({type:p,selectors:[["","popover",""]],inputs:{adaptivePosition:"adaptivePosition",boundariesElement:"boundariesElement",popover:"popover",popoverContext:"popoverContext",popoverTitle:"popoverTitle",placement:"placement",outsideClick:"outsideClick",triggers:"triggers",container:"container",containerClass:"containerClass",isOpen:"isOpen",delay:"delay"},outputs:{onShown:"onShown",onHidden:"onHidden"},exportAs:["bs-popover"]})}return p})();var ln=c(559),N1=c(4732);let k1=(()=>{class p extends g1{static#t=this.\u0275fac=(()=>{let f;return function(X){return(f||(f=t.n5z(p)))(X||p)}})();static#e=this.\u0275dir=t.lG2({type:p,selectors:[["","tourAnchor",""]],standalone:!0,features:[t.qOj]})}return p})(),I1=(()=>{class p{constructor(f,z,X,et){this.tourService=f,this.tourStepTemplate=z,this.element=X,this.popoverDirective=et,this.popoverDirective.triggers=""}ngOnInit(){this.tourService.register(this.tourAnchor,this)}ngOnDestroy(){this.tourService.unregister(this.tourAnchor)}showTourStep(f){this.isActive=!0,this.popoverDirective.popover=this.tourStepTemplate.template,this.popoverDirective.popoverContext={step:f},f.useLegacyTitle&&(this.popoverDirective.popoverTitle=f.title),this.popoverDirective.container="body",this.popoverDirective.containerClass=`tour-step ${f.popoverClass??""}`,this.popoverDirective.placement=f.placement||"auto",this.popoverDirective.show()}hideTourStep(){this.isActive=!1,this.popoverDirective.hide()}static#t=this.\u0275fac=function(z){return new(z||p)(t.Y36(ln.H),t.Y36(N1.P),t.Y36(t.SBq),t.Y36(k1,1))};static#e=this.\u0275dir=t.lG2({type:p,selectors:[["","tourAnchor",""]],hostVars:2,hostBindings:function(z,X){2&z&&t.ekj("touranchor--is-active",X.isActive)},inputs:{tourAnchor:"tourAnchor"},standalone:!0})}return p})()},4732:(kt,ot,c)=>{c.d(ot,{P:()=>_});var t=c(9212);let _=(()=>{class k{static#t=this.\u0275fac=function(H){return new(H||k)};static#e=this.\u0275prov=t.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})()},7170:(kt,ot,c)=>{c.d(ot,{R:()=>Z});var t=c(9212),_=c(5369),k=c(4732),T=c(559);const x=["tourStep"];function H(I,it){if(1&I){const b=t.EpF();t.TgZ(0,"div",11)(1,"h5"),t._uU(2),t.qZA(),t.TgZ(3,"button",12),t.NdJ("click",function(){t.CHM(b);const K=t.oxw(2);return t.KtG(K.tourService.end())}),t.qZA()()}if(2&I){const b=t.oxw().step;t.xp6(2),t.Oqu(null==b?null:b.title)}}function L(I,it){if(1&I&&(t.O4$(),t.kcU(),t.TgZ(0,"div",13),t._uU(1),t.qZA()),2&I){const b=t.oxw().step,at=t.oxw();t.xp6(1),t.AsE("",(null==at.tourService.steps?null:at.tourService.steps.indexOf(b))+1," / ",null==at.tourService.steps?null:at.tourService.steps.length,"")}}function G(I,it){if(1&I){const b=t.EpF();t.O4$(),t.kcU(),t.TgZ(0,"button",14),t.NdJ("click",function(){t.CHM(b);const K=t.oxw(2);return t.KtG(K.tourService.next())}),t._uU(1),t.O4$(),t.TgZ(2,"svg",6),t._UZ(3,"path",15),t.qZA()()}if(2&I){const b=t.oxw().step;t.xp6(1),t.hij(" ",null==b?null:b.nextBtnTitle," ")}}function E(I,it){if(1&I){const b=t.EpF();t.O4$(),t.kcU(),t.TgZ(0,"button",16),t.NdJ("click",function(){t.CHM(b);const K=t.oxw(2);return t.KtG(K.tourService.end())}),t._uU(1),t.qZA()}if(2&I){const b=t.oxw().step;t.xp6(1),t.hij(" ",null==b?null:b.endBtnTitle," ")}}function F(I,it){if(1&I){const b=t.EpF();t.TgZ(0,"div",1),t.YNc(1,H,4,1,"div",2),t._UZ(2,"p",3),t.TgZ(3,"div",4)(4,"button",5),t.NdJ("click",function(){t.CHM(b);const K=t.oxw();return t.KtG(K.tourService.prev())}),t.O4$(),t.TgZ(5,"svg",6),t._UZ(6,"path",7),t.qZA(),t._uU(7),t.qZA(),t.YNc(8,L,2,2,"div",8)(9,G,4,1,"button",9)(10,E,2,1,"button",10),t.qZA()()}if(2&I){const b=it.step,at=t.oxw();t.Udp("width",null==b.stepDimensions?null:b.stepDimensions.width)("min-width",null==b.stepDimensions?null:b.stepDimensions.minWidth)("max-width",null==b.stepDimensions?null:b.stepDimensions.maxWidth),t.xp6(1),t.um2(1,null!=b&&b.useLegacyTitle||null==b||!b.title?-1:1),t.xp6(1),t.Q6J("innerHTML",null==b?null:b.content,t.oJD),t.xp6(2),t.Q6J("disabled",!at.tourService.hasPrev(b)),t.xp6(3),t.hij(" ",null==b?null:b.prevBtnTitle," "),t.xp6(1),t.um2(8,b.showProgress?8:-1),t.xp6(1),t.um2(9,at.tourService.hasNext(b)&&!b.nextOnAnchorClick?9:-1),t.xp6(1),t.um2(10,at.tourService.hasNext(b)?-1:10)}}let Z=(()=>{class I extends _.Z5{constructor(){super(...arguments),this.tourStepTemplateService=(0,t.f3M)(k.P),this.tourService=(0,t.f3M)(T.H)}ngAfterContentInit(){this.tourStepTemplateService.template=this.stepTemplate||this.stepTemplateContent||this.defaultTourStepTemplate}static#t=this.\u0275fac=(()=>{let b;return function(K){return(b||(b=t.n5z(I)))(K||I)}})();static#e=this.\u0275cmp=t.Xpm({type:I,selectors:[["tour-step-template"]],contentQueries:function(at,K,gt){if(1&at&&t.Suo(gt,t.Rgc,5),2&at){let Q;t.iGM(Q=t.CRH())&&(K.stepTemplateContent=Q.first)}},viewQuery:function(at,K){if(1&at&&t.Gf(x,7,t.Rgc),2&at){let gt;t.iGM(gt=t.CRH())&&(K.defaultTourStepTemplate=gt.first)}},inputs:{stepTemplate:"stepTemplate"},standalone:!0,features:[t.qOj,t.jDz],decls:2,vars:0,consts:[["tourStep",""],[1,"main-container"],["class","title-container"],[1,"card-text",3,"innerHTML"],[1,"buttons"],[1,"btn","btn-sm","btn-outline-secondary","prev",3,"disabled","click"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","fill","currentColor","viewBox","0 0 16 16"],["d","M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"],["class","progress"],["class","btn btn-sm btn-outline-primary next"],["class","btn btn-sm btn-outline-primary"],[1,"title-container"],["type","button","aria-label","Close",1,"btn-close",3,"click"],[1,"progress"],[1,"btn","btn-sm","btn-outline-primary","next",3,"click"],["d","M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"],[1,"btn","btn-sm","btn-outline-primary",3,"click"]],template:function(at,K){1&at&&t.YNc(0,F,11,13,"ng-template",null,0,t.W1O)},styles:[".tour-step .popover-body{padding:0}.main-container[_ngcontent-%COMP%]{padding:.5rem 1rem .75rem}.title-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem;gap:.25rem}.title-container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:0;line-height:1.5}.buttons[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px}.buttons[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{max-width:-moz-fit-content;max-width:fit-content}.buttons[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{justify-self:flex-end}.buttons[_ngcontent-%COMP%] .progress[_ngcontent-%COMP%]{font-size:12px;font-weight:700;color:#00000073;white-space:nowrap}.buttons[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.25rem}.buttons[_ngcontent-%COMP%] .btn.prev[_ngcontent-%COMP%]{padding-left:.25rem}.buttons[_ngcontent-%COMP%] .btn.next[_ngcontent-%COMP%]{padding-right:.25rem}"]})}return I})()},272:(kt,ot,c)=>{c.d(ot,{nr:()=>_.n,HC:()=>_.H,Hn:()=>x,QL:()=>H.H}),c(7170);var _=c(3584),k=c(9212);let x=(()=>{class L{static#t=this.\u0275fac=function(F){return new(F||L)};static#e=this.\u0275mod=k.oAB({type:L});static#n=this.\u0275inj=k.cJS({})}return L})();var H=c(559)},434:(kt,ot,c)=>{c.d(ot,{n:()=>L});var t=c(9650),_=c(9212),k=c(98),T=c(7422);function x(G,E){const F=E.currentStep;return{...G,align:F.placement?.horizontalDirection??G.align,direction:F.placement?.verticalDirection??G.direction,limitWidth:"auto",minHeight:170}}let H=(()=>{class G{constructor(F){this.tourStepTemplateService=F,this.isShown=!1,this.offset=4,this.template=F.templateComponent.template}static#t=this.\u0275fac=function(Z){return new(Z||G)(_.Y36(T.P))};static#e=this.\u0275cmp=_.Xpm({type:G,selectors:[["tour-anchor-opener"]],viewQuery:function(Z,I){if(1&Z&&_.Gf(k.td,7),2&Z){let it;_.iGM(it=_.CRH())&&(I.dropdown=it.first)}},inputs:{isShown:"isShown",offset:"offset"},standalone:!0,features:[_._Bn([{provide:k.vY,useFactory:x,deps:[[new _.tp0,k.vY],t.m]}]),_.jDz],decls:1,vars:3,consts:[[3,"tuiDropdown","tuiDropdownManual","tuiDropdownOffset"]],template:function(Z,I){1&Z&&_._UZ(0,"span",0),2&Z&&_.Q6J("tuiDropdown",I.template)("tuiDropdownManual",I.isShown)("tuiDropdownOffset",I.offset)},dependencies:[k.dp,k.td,k.Ek,k.VC,k.Tp,k.A9],styles:["[_nghost-%COMP%]{display:none}"]})}return G})(),L=(()=>{class G{constructor(F,Z,I,it){this.tourService=F,this.tourStepTemplateService=Z,this.viewContainer=I,this.element=it}ngOnInit(){this.tourService.register(this.tourAnchor,this)}ngOnDestroy(){this.tourService.unregister(this.tourAnchor)}createOpener(){this.opener=this.viewContainer.createComponent(H).instance}showTourStep(F){this.tourStepTemplateService.templateComponent.step=F,this.isActive=!0,this.opener||this.createOpener(),this.opener.dropdown.el=this.element,this.opener.isShown=!0;const it=F.backdropConfig?.offset;it&&(this.opener.offset=it+4)}hideTourStep(){this.isActive=!1,this.opener.isShown=!1}static#t=this.\u0275fac=function(Z){return new(Z||G)(_.Y36(t.m),_.Y36(T.P),_.Y36(_.s_b),_.Y36(_.SBq))};static#e=this.\u0275dir=_.lG2({type:G,selectors:[["","tourAnchor",""]],hostVars:2,hostBindings:function(Z,I){2&Z&&_.ekj("touranchor--is-active",I.isActive)},inputs:{tourAnchor:"tourAnchor"},standalone:!0})}return G})()},7422:(kt,ot,c)=>{c.d(ot,{P:()=>_});var t=c(9212);let _=(()=>{class k{static#t=this.\u0275fac=function(H){return new(H||k)};static#e=this.\u0275prov=t.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})()},9800:(kt,ot,c)=>{c.d(ot,{R:()=>at});var t=c(9212),_=c(9650),k=c(5369),T=c(6814),x=c(631),H=c(7422);const L=["tuiDropdownTemplate"];function G(K,gt){1&K&&t.GkF(0)}const E=K=>({step:K});function F(K,gt){if(1&K&&t.YNc(0,G,1,0,"ng-container",2),2&K){const Q=t.oxw(),ut=t.MAs(3);t.Q6J("ngTemplateOutlet",Q.stepTemplate||Q.stepTemplateContent||ut)("ngTemplateOutletContext",t.VKq(2,E,Q.step))}}function Z(K,gt){if(1&K&&(t.TgZ(0,"div",12),t._uU(1),t.qZA()),2&K){const Q=t.oxw().step,ut=t.oxw();t.xp6(1),t.AsE("",(null==ut.tourService.steps?null:ut.tourService.steps.indexOf(Q))+1," / ",null==ut.tourService.steps?null:ut.tourService.steps.length,"")}}function I(K,gt){if(1&K){const Q=t.EpF();t.TgZ(0,"button",13),t.NdJ("click",function(){t.CHM(Q);const yt=t.oxw(2);return t.KtG(yt.tourService.next())}),t._uU(1),t.qZA()}if(2&K){const Q=t.oxw().step;t.xp6(1),t.hij(" ",null==Q?null:Q.nextBtnTitle," ")}}function it(K,gt){if(1&K){const Q=t.EpF();t.TgZ(0,"button",14),t.NdJ("click",function(){t.CHM(Q);const yt=t.oxw(2);return t.KtG(yt.tourService.end())}),t._uU(1),t.qZA()}if(2&K){const Q=t.oxw().step;t.xp6(1),t.hij(" ",null==Q?null:Q.endBtnTitle," ")}}function b(K,gt){if(1&K){const Q=t.EpF();t.TgZ(0,"div",3)(1,"div",4)(2,"h3"),t._uU(3),t.qZA(),t.TgZ(4,"button",5),t.NdJ("click",function(){t.CHM(Q);const yt=t.oxw();return t.KtG(yt.tourService.end())}),t.qZA()(),t._UZ(5,"p",6),t.TgZ(6,"div",7)(7,"button",8),t.NdJ("click",function(){t.CHM(Q);const yt=t.oxw();return t.KtG(yt.tourService.prev())}),t._uU(8),t.qZA(),t.YNc(9,Z,2,2,"div",9)(10,I,2,1,"button",10)(11,it,2,1,"button",11),t.qZA()()}if(2&K){const Q=gt.step,ut=t.oxw();t.Tol(Q.popoverClass),t.Udp("width",null==Q.stepDimensions?null:Q.stepDimensions.width)("min-width",null==Q.stepDimensions?null:Q.stepDimensions.minWidth)("max-width",null==Q.stepDimensions?null:Q.stepDimensions.maxWidth),t.xp6(3),t.Oqu(null==Q?null:Q.title),t.xp6(2),t.Q6J("innerHTML",null==Q?null:Q.content,t.oJD),t.xp6(2),t.Q6J("disabled",!ut.tourService.hasPrev(Q)),t.xp6(1),t.hij(" ",null==Q?null:Q.prevBtnTitle," "),t.xp6(1),t.um2(9,Q.showProgress?9:-1),t.xp6(1),t.um2(10,ut.tourService.hasNext(Q)&&!Q.nextOnAnchorClick?10:-1),t.xp6(1),t.um2(11,ut.tourService.hasNext(Q)?-1:11)}}let at=(()=>{class K extends k.Z5{constructor(Q,ut){super(ut),this.tourStepTemplateService=Q,this.step={}}ngAfterViewInit(){this.tourStepTemplateService.templateComponent=this}static#t=this.\u0275fac=function(ut){return new(ut||K)(t.Y36(H.P),t.Y36(_.m))};static#e=this.\u0275cmp=t.Xpm({type:K,selectors:[["tour-step-template"]],contentQueries:function(ut,yt,At){if(1&ut&&t.Suo(At,t.Rgc,5),2&ut){let xt;t.iGM(xt=t.CRH())&&(yt.stepTemplateContent=xt.first)}},viewQuery:function(ut,yt){if(1&ut&&t.Gf(L,5),2&ut){let At;t.iGM(At=t.CRH())&&(yt.template=At.first)}},inputs:{stepTemplate:"stepTemplate"},standalone:!0,features:[t.qOj,t.jDz],decls:4,vars:0,consts:[["tuiDropdownTemplate",""],["defaultTemplate",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"main-container"],[1,"title-container"],["tuiIconButton","","icon","tuiIconCloseLarge","appearance","flat","size","m",3,"click"],[1,"content",3,"innerHTML"],[1,"buttons"],["tuiButton","","type","button","icon","tuiIconChevronLeft","appearance","flat","size","m",1,"prev",3,"disabled","click"],["class","progress"],["tuiButton","","type","button","iconRight","tuiIconChevronRight","appearance","flat","size","m","class","next"],["tuiButton","","type","button","appearance","flat","size","m"],[1,"progress"],["tuiButton","","type","button","iconRight","tuiIconChevronRight","appearance","flat","size","m",1,"next",3,"click"],["tuiButton","","type","button","appearance","flat","size","m",3,"click"]],template:function(ut,yt){1&ut&&t.YNc(0,F,1,4,"ng-template",null,0,t.W1O)(2,b,12,15,"ng-template",null,1,t.W1O)},dependencies:[T.tP,x.fN,x.v0],styles:["tui-dropdown-host{z-index:auto!important} tui-dropdown-host tui-dropdown{z-index:150!important}.main-container[_ngcontent-%COMP%]{padding:1rem;box-sizing:border-box}.title-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.title-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:var(--tui-font-heading-6);margin:0}.title-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:-.5rem}.content[_ngcontent-%COMP%]{margin:1rem 0}.buttons[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:.5rem;margin:0 -.5rem -.5rem}.buttons[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{max-width:-moz-fit-content;max-width:fit-content}.buttons[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{justify-self:flex-end}.buttons[_ngcontent-%COMP%] .progress[_ngcontent-%COMP%]{font:var(--tui-font-text-s);font-weight:800;color:var(--tui-text-03);white-space:nowrap}.buttons[_ngcontent-%COMP%] button.prev .t-wrapper{padding-left:1rem}.buttons[_ngcontent-%COMP%] button.next .t-wrapper{padding-right:1rem}"]})}return K})()},9650:(kt,ot,c)=>{c.d(ot,{m:()=>k});var t=c(5369),_=c(9212);let k=(()=>{class T extends t.QL{static#t=this.\u0275fac=(()=>{let H;return function(G){return(H||(H=_.n5z(T)))(G||T)}})();static#e=this.\u0275prov=_.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})()},7058:(kt,ot,c)=>{c.d(ot,{n3:()=>_.n,QL:()=>H.m,DE:()=>x});var t=c(9800),_=c(434),k=c(9212);let x=(()=>{class L{static#t=this.\u0275fac=function(F){return new(F||L)};static#e=this.\u0275mod=k.oAB({type:L});static#n=this.\u0275inj=k.cJS({imports:[t.R]})}return L})();var H=c(9650)},2666:(kt,ot,c)=>{c.d(ot,{C:()=>L});var t=c(7672),_=c(9212),k=c(9259),T=c(1606);function x(G,E){const F=E.currentStep;return{...G,direction:F.placement??G.direction,appearance:"onDark"}}let H=(()=>{class G{constructor(F){this.tourStepTemplateService=F,this.isShown=!1,this.template=F.templateComponent.template}static#t=this.\u0275fac=function(Z){return new(Z||G)(_.Y36(T.P))};static#e=this.\u0275cmp=_.Xpm({type:G,selectors:[["tour-anchor-opener"]],viewQuery:function(Z,I){if(1&Z&&_.Gf(k.D,7),2&Z){let it;_.iGM(it=_.CRH())&&(I.hint=it.first)}},inputs:{isShown:"isShown"},standalone:!0,features:[_._Bn([{provide:k.H3,useFactory:x,deps:[[new _.tp0,k.H3],t.c]}]),_.jDz],decls:1,vars:2,consts:[[3,"tuiHint","tuiHintManual"]],template:function(Z,I){1&Z&&_._UZ(0,"span",0),2&Z&&_.Q6J("tuiHint",I.template)("tuiHintManual",I.isShown)},dependencies:[k.go,k.D,k.xn,k.t6,k.ZY,k.DM],styles:["[_nghost-%COMP%]{display:none}"]})}return G})(),L=(()=>{class G{constructor(F,Z,I,it){this.tourService=F,this.tourStepTemplateService=Z,this.viewContainer=I,this.element=it}ngOnInit(){this.tourService.register(this.tourAnchor,this)}ngOnDestroy(){this.tourService.unregister(this.tourAnchor)}createOpener(){this.opener=this.viewContainer.createComponent(H).instance}showTourStep(F){this.tourStepTemplateService.templateComponent.step=F,this.isActive=!0,this.opener||this.createOpener(),this.opener.hint.el=this.element,this.opener.isShown=!0}hideTourStep(){this.isActive=!1,this.opener.isShown=!1}static#t=this.\u0275fac=function(Z){return new(Z||G)(_.Y36(t.c),_.Y36(T.P),_.Y36(_.s_b),_.Y36(_.SBq))};static#e=this.\u0275dir=_.lG2({type:G,selectors:[["","tourAnchor",""]],hostVars:2,hostBindings:function(Z,I){2&Z&&_.ekj("touranchor--is-active",I.isActive)},inputs:{tourAnchor:"tourAnchor"},standalone:!0})}return G})()},1606:(kt,ot,c)=>{c.d(ot,{P:()=>_});var t=c(9212);let _=(()=>{class k{static#t=this.\u0275fac=function(H){return new(H||k)};static#e=this.\u0275prov=t.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})()},1603:(kt,ot,c)=>{c.d(ot,{R:()=>at});var t=c(9212),_=c(7672),k=c(5369),T=c(6814),x=c(631),H=c(1606);const L=["tuiDropdownTemplate"];function G(K,gt){1&K&&t.GkF(0)}const E=K=>({step:K});function F(K,gt){if(1&K&&t.YNc(0,G,1,0,"ng-container",2),2&K){const Q=t.oxw(),ut=t.MAs(3);t.Q6J("ngTemplateOutlet",Q.stepTemplate||Q.stepTemplateContent||ut)("ngTemplateOutletContext",t.VKq(2,E,Q.step))}}function Z(K,gt){if(1&K&&(t.TgZ(0,"div",11),t._uU(1),t.qZA()),2&K){const Q=t.oxw().step,ut=t.oxw();t.xp6(1),t.AsE("",(null==ut.tourService.steps?null:ut.tourService.steps.indexOf(Q))+1," / ",null==ut.tourService.steps?null:ut.tourService.steps.length,"")}}function I(K,gt){if(1&K){const Q=t.EpF();t.TgZ(0,"button",12),t.NdJ("click",function(){t.CHM(Q);const yt=t.oxw(2);return t.KtG(yt.tourService.next())}),t._uU(1),t.qZA()}if(2&K){const Q=t.oxw().step;t.xp6(1),t.hij(" ",null==Q?null:Q.nextBtnTitle," ")}}function it(K,gt){if(1&K){const Q=t.EpF();t.TgZ(0,"button",13),t.NdJ("click",function(){t.CHM(Q);const yt=t.oxw(2);return t.KtG(yt.tourService.end())}),t._uU(1),t.qZA()}if(2&K){const Q=t.oxw().step;t.xp6(1),t.hij(" ",null==Q?null:Q.endBtnTitle," ")}}function b(K,gt){if(1&K){const Q=t.EpF();t.TgZ(0,"div")(1,"div",3)(2,"h3"),t._uU(3),t.qZA(),t.TgZ(4,"button",4),t.NdJ("click",function(){t.CHM(Q);const yt=t.oxw();return t.KtG(yt.tourService.end())}),t.qZA()(),t._UZ(5,"p",5),t.TgZ(6,"div",6)(7,"button",7),t.NdJ("click",function(){t.CHM(Q);const yt=t.oxw();return t.KtG(yt.tourService.prev())}),t._uU(8),t.qZA(),t.YNc(9,Z,2,2,"div",8)(10,I,2,1,"button",9)(11,it,2,1,"button",10),t.qZA()()}if(2&K){const Q=gt.step,ut=t.oxw();t.Tol(Q.popoverClass),t.Udp("width",null==Q.stepDimensions?null:Q.stepDimensions.width)("min-width",null==Q.stepDimensions?null:Q.stepDimensions.minWidth)("max-width",null==Q.stepDimensions?null:Q.stepDimensions.maxWidth),t.xp6(3),t.Oqu(null==Q?null:Q.title),t.xp6(2),t.Q6J("innerHTML",null==Q?null:Q.content,t.oJD),t.xp6(2),t.Q6J("disabled",!ut.tourService.hasPrev(Q)),t.xp6(1),t.hij(" ",null==Q?null:Q.prevBtnTitle," "),t.xp6(1),t.um2(9,Q.showProgress?9:-1),t.xp6(1),t.um2(10,ut.tourService.hasNext(Q)&&!Q.nextOnAnchorClick?10:-1),t.xp6(1),t.um2(11,ut.tourService.hasNext(Q)?-1:11)}}let at=(()=>{class K extends k.Z5{constructor(Q,ut){super(ut),this.tourStepTemplateService=Q,this.step={}}ngAfterViewInit(){this.tourStepTemplateService.templateComponent=this}static#t=this.\u0275fac=function(ut){return new(ut||K)(t.Y36(H.P),t.Y36(_.c))};static#e=this.\u0275cmp=t.Xpm({type:K,selectors:[["tour-step-template"]],contentQueries:function(ut,yt,At){if(1&ut&&t.Suo(At,t.Rgc,5),2&ut){let xt;t.iGM(xt=t.CRH())&&(yt.stepTemplateContent=xt.first)}},viewQuery:function(ut,yt){if(1&ut&&t.Gf(L,5),2&ut){let At;t.iGM(At=t.CRH())&&(yt.template=At.first)}},inputs:{stepTemplate:"stepTemplate"},standalone:!0,features:[t.qOj,t.jDz],decls:4,vars:0,consts:[["tuiDropdownTemplate",""],["defaultTemplate",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"title-container"],["tuiIconButton","","icon","tuiIconCloseLarge","appearance","flat","size","m",3,"click"],[1,"content",3,"innerHTML"],[1,"buttons"],["tuiButton","","type","button","icon","tuiIconChevronLeft","appearance","flat","size","m",1,"prev",3,"disabled","click"],["class","progress"],["tuiButton","","type","button","iconRight","tuiIconChevronRight","appearance","flat","size","m","class","next"],["tuiButton","","type","button","appearance","flat","size","m"],[1,"progress"],["tuiButton","","type","button","iconRight","tuiIconChevronRight","appearance","flat","size","m",1,"next",3,"click"],["tuiButton","","type","button","appearance","flat","size","m",3,"click"]],template:function(ut,yt){1&ut&&t.YNc(0,F,1,4,"ng-template",null,0,t.W1O)(2,b,12,15,"ng-template",null,1,t.W1O)},dependencies:[T.tP,x.fN,x.v0],styles:["tui-hints-host{z-index:150!important}.title-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.title-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:var(--tui-font-heading-6);margin:0}.title-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:-.25rem -.5rem}.content[_ngcontent-%COMP%]{margin:1rem 0;font:var(--tui-font-text-m)}.buttons[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:.5rem;margin:0 -.5rem -.25rem}.buttons[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{max-width:-moz-fit-content;max-width:fit-content}.buttons[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{justify-self:flex-end}.buttons[_ngcontent-%COMP%] .progress[_ngcontent-%COMP%]{justify-self:center;font:var(--tui-font-text-s);font-weight:800;color:var(--tui-text-03);white-space:nowrap}.buttons[_ngcontent-%COMP%] button.prev .t-wrapper{padding-left:1rem}.buttons[_ngcontent-%COMP%] button.next .t-wrapper{padding-right:1rem}"]})}return K})()},7672:(kt,ot,c)=>{c.d(ot,{c:()=>k});var t=c(5369),_=c(9212);let k=(()=>{class T extends t.QL{static#t=this.\u0275fac=(()=>{let H;return function(G){return(H||(H=_.n5z(T)))(G||T)}})();static#e=this.\u0275prov=_.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})()},2018:(kt,ot,c)=>{c.d(ot,{C5:()=>_.C,QL:()=>H.c,wx:()=>x});var t=c(1603),_=c(2666),k=c(9212);let x=(()=>{class L{static#t=this.\u0275fac=function(F){return new(F||L)};static#e=this.\u0275mod=k.oAB({type:L});static#n=this.\u0275inj=k.cJS({imports:[t.R]})}return L})();var H=c(7672)},2545:(kt,ot,c)=>{c.d(ot,{e:()=>x});var t=c(4308),_=c(8268),k=c(1074),T=c(9212);let x=(()=>{class H{constructor(){this.ngTemplateTag='',this.tourStepTemplateTag=""}static#t=this.\u0275fac=function(E){return new(E||H)};static#e=this.\u0275cmp=T.Xpm({type:H,selectors:[["app-custom-template"]],inputs:{defaultTemplate:"defaultTemplate"},standalone:!0,features:[T.jDz],decls:13,vars:3,consts:[["tourAnchor","template","id","custom-template"],["filename","app.component.html",3,"code"]],template:function(E,F){1&E&&(T.TgZ(0,"app-header",0),T._uU(1,"Custom template"),T.qZA(),T.TgZ(2,"p"),T._uU(3," You can also customize the tour step template by providing a "),T.TgZ(4,"code"),T._uU(5),T.qZA(),T._uU(6," inside the "),T.TgZ(7,"code"),T._uU(8),T.qZA(),T._uU(9,".\n"),T.qZA(),T.TgZ(10,"p"),T._uU(11," The default template is equivalent to this:\n"),T.qZA(),T._UZ(12,"tui-doc-code",1)),2&E&&(T.xp6(5),T.Oqu(F.ngTemplateTag),T.xp6(3),T.Oqu(F.tourStepTemplateTag),T.xp6(4),T.Q6J("code",F.defaultTemplate))},dependencies:[k.G,_.bS,t.JF,t.c0],encapsulation:2})}return H})()},732:(kt,ot,c)=>{c.d(ot,{w:()=>x});var _=c(4308),k=c(1074),T=c(9212);let x=(()=>{class H{constructor(){this.examples={setDefaults:"this.tourService.setDefaults({\r\n route: '',\r\n disablePageScrolling: true,\r\n duplicateAnchorHandling: 'registerFirst'\r\n});\r\nthis.tourService.initialize(steps, {\r\n route: '',\r\n disablePageScrolling: true\r\n});\r\n"}}static#t=this.\u0275fac=function(E){return new(E||H)};static#e=this.\u0275cmp=T.Xpm({type:H,selectors:[["app-defaults"]],standalone:!0,features:[T.jDz],decls:11,vars:1,consts:[["id","defauls"],["filename","app.component.ts",3,"code"]],template:function(E,F){1&E&&(T.TgZ(0,"app-header",0),T._uU(1,"Defaults"),T.qZA(),T.TgZ(2,"p"),T._uU(3," You can set default values using "),T.TgZ(4,"code"),T._uU(5,"TourService.setDefaults()"),T.qZA(),T._uU(6," or "),T.TgZ(7,"code"),T._uU(8,"TourService.initialize()"),T.qZA(),T._uU(9," functions.\n"),T.qZA(),T._UZ(10,"tui-doc-code",1)),2&E&&(T.xp6(10),T.Q6J("code",F.examples.setDefaults))},dependencies:[k.G,_.JF,_.c0],encapsulation:2})}return H})()},1769:(kt,ot,c)=>{c.d(ot,{H:()=>E});var _=c(4308),k=c(1074),T=c(8268),x=c(9212);const H=(F,Z)=>Z.name;function L(F,Z){if(1&F&&x._uU(0),2&F){const I=x.oxw().$implicit;x.hij(" ",I.description," ")}}function G(F,Z){if(1&F&&x.YNc(0,L,1,1,"ng-template",4),2&F){const I=Z.$implicit;x.Q6J("documentationPropertyName",I.name)("documentationPropertyType",I.payload)}}let E=(()=>{class F{constructor(){this.examples={onInitialize:"this.tourService\r\n .initialize$\r\n .subscribe(\r\n (steps: IStepOption[]) => {\r\n console.log('tour configured with these steps:', steps);\r\n }\r\n );\r\n"},this.events=[{name:"stepShow$",payload:"StepChangeParams",description:'A step is shown. "Direction" property indicates if the last pressed button was "Next" or "Prev".'},{name:"stepHide$",payload:"StepChangeParams",description:'A step is hidden. "Direction" property indicates if the last pressed button was "Next" or "Prev".'},{name:"initialize$",payload:"IStepOption[]",description:"The tour is configured with a set of steps"},{name:"start$",payload:"void",description:"The tour starts"},{name:"end$",payload:"void",description:"The tour ends"},{name:"pause$",payload:"void",description:"The tour is paused"},{name:"resume$",payload:"void",description:"The tour resumes"},{name:"anchorRegister$",payload:"string",description:"An anchor is registered with the tour"},{name:"anchorUnregister$",payload:"string",description:"An anchor is unregistered from the tour"}]}static#t=this.\u0275fac=function(it){return new(it||F)};static#e=this.\u0275cmp=x.Xpm({type:F,selectors:[["app-events"]],standalone:!0,features:[x.jDz],decls:12,vars:3,consts:[["tourAnchor","events"],["id","events"],["filename","app.component.ts",3,"code"],[3,"isAPI","showValues"],[3,"documentationPropertyName","documentationPropertyType"]],template:function(it,b){1&it&&(x.TgZ(0,"div",0)(1,"app-header",1),x._uU(2,"Event Observables"),x.qZA(),x.TgZ(3,"p"),x._uU(4," The "),x.TgZ(5,"code"),x._uU(6,"TourService"),x.qZA(),x._uU(7," emits events that can be subscribed to like this: "),x.qZA(),x._UZ(8,"tui-doc-code",2),x.qZA(),x.TgZ(9,"tui-doc-documentation",3),x.SjG(10,G,1,2,null,4,H),x.qZA()),2&it&&(x.xp6(8),x.Q6J("code",b.examples.onInitialize),x.xp6(1),x.Q6J("isAPI",!0)("showValues",!1),x.xp6(1),x.wJu(b.events))},dependencies:[T.bS,k.G,_.JF,_.c0,_.Lx,_.zb,_.B7],styles:["tui-doc-documentation[_ngcontent-%COMP%]{margin-top:1rem}"]})}return F})()},6798:(kt,ot,c)=>{c.d(ot,{v:()=>K});var F=c(8689),Z=c(2114),I=c(4308),it=c(1074),b=c(9212);function at(gt,Q){if(1>&&(b.TgZ(0,"tui-notification",5),b._uU(1," Starting with "),b.TgZ(2,"code"),b._uU(3),b.qZA(),b._uU(4," you can set "),b.TgZ(5,"code"),b._uU(6,"backdropConfig.offset"),b.qZA(),b._uU(7," to add padding around anchor element "),b.qZA()),2>){const ut=b.oxw();b.xp6(3),b.hij("v",ut.backdropOffsetIntroducedIn,"")}}let K=(()=>{class gt{constructor(){this.disablePageScrollingIntroducedIn="10.1",this.examples={centeredStepCss:".centered-tour-element {\r\n position: fixed;\r\n left: 50%;\r\n top: 50%;\r\n /* The anchor should be translated to the left by half of your step width and half height */\r\n /* For example, if your tour step has dimensions of 280 \xd7 156 px, you have to translate by (-140px, -78px) */\r\n transform: translate(-140px, -78px);\r\n}\r\n",centeredStepHtml:'
\r\n',centeredStepTs:"this.tourService.initialize([{\r\n anchorId: 'start-tour',\r\n title: 'Welcome',\r\n content: 'Welcome to the Ngx-UI-Tour tour!'\r\n}]);\r\nthis.tourService.start();\r\n",customTourService:"@Injectable()\r\nexport class MyTourService {\r\n\r\n constructor(\r\n private readonly tourService: TourService\r\n ) {}\r\n\r\n private readonly MAIN_SECTION_CSS_SELECTOR = 'section.main-content';\r\n private readonly NO_SCROLL_CSS_CLASS = 'no-scroll';\r\n\r\n start(steps: IStepOption[]) {\r\n this.tourService.initialize(steps, {\r\n route: 'my-route',\r\n enableBackdrop: true\r\n });\r\n this.tourService.end$.subscribe(() => this.setIsScrollable(true));\r\n this.setIsScrollable(false);\r\n this.tourService.start();\r\n }\r\n\r\n private setIsScrollable(isScrollable: boolean) {\r\n const body = document.body,\r\n mainSection = document.querySelector(this.MAIN_SECTION_CSS_SELECTOR),\r\n addOrRemove = isScrollable ? 'remove' : 'add';\r\n\r\n mainSection.classList[addOrRemove](this.NO_SCROLL_CSS_CLASS);\r\n // You can also optionally disable iOS Safari bounce effect\r\n body[addOrRemove + 'EventListener']('touchmove', this.preventTouchMove, { passive: false });\r\n }\r\n\r\n private preventTouchMove(e) {\r\n e.preventDefault();\r\n }\r\n\r\n}\r\n",noScrollCss:".no-scroll {\r\n overflow: hidden;\r\n}\r\n",customTourServiceUsage:"import {MyTourService} from '@app-utils/my-tour.service';\r\n\r\n@Component({\r\n selector: 'my-app',\r\n templateUrl: './app.component.html',\r\n styleUrls: ['./app.component.css']\r\n})\r\nexport class AppComponent {\r\n\r\n constructor(\r\n private readonly myTourService: MyTourService\r\n ) {\r\n this.myTourService.start([{\r\n anchorId: 'start-tour',\r\n title: 'Welcome',\r\n content: 'Welcome to the Ngx-UI-Tour tour!'\r\n }]);\r\n }\r\n\r\n}\r\n",backdropPadding:".my-anchor-el.touranchor--is-active {\r\n padding: 10px;\r\n margin: -10px;\r\n}",backdropParagraphPadding:"p.touranchor--is-active {\r\n padding: 10px;\r\n margin: -10px -10px 2px;\r\n}",backdropButtonPadding:'
\r\n \r\n
'}}static#t=this.\u0275fac=function(yt){return new(yt||gt)};static#e=this.\u0275cmp=b.Xpm({type:gt,selectors:[["app-faq"]],inputs:{disablePageScrollingIntroducedIn:"disablePageScrollingIntroducedIn",backdropOffsetIntroducedIn:"backdropOffsetIntroducedIn"},standalone:!0,features:[b.jDz],decls:66,vars:11,consts:[["id","center-tour-step"],["filename","app.component.html",3,"code"],["filename","app.component.css",3,"code"],["filename","app.component.ts",3,"code"],["id","disable-scrolling"],["status","warning",1,"tui-space_top-3"],["filename","my-tour.service.ts",3,"code"],["filename","styles.css",3,"code"],["id","backdrop-padding"],["status","warning","class","tui-space_top-3"],["src","https://user-images.githubusercontent.com/768105/215475778-34d275cf-c6a0-436c-b3e5-9159083cfcaa.png","alt","backdrop spacing",1,"backdrop-spacing"],["tuiLink","","target","_blank","href","https://stackblitz.com/edit/angular-wau2z8-ggpcaf?file=src%2Fapp%2Fui-tour-demo.component.scss"]],template:function(yt,At){1&yt&&(b.TgZ(0,"app-header",0),b._uU(1,"How to center tour step?"),b.qZA(),b.TgZ(2,"p"),b._uU(3,"You can create an invisible anchor point for the tour step you want to center."),b.qZA(),b.TgZ(4,"ol")(5,"li"),b._uU(6,"Add a simple div to your html template which will be used as the tour anchor "),b._UZ(7,"tui-doc-code",1),b.qZA(),b.TgZ(8,"li"),b._uU(9," Add CSS for the div "),b._UZ(10,"tui-doc-code",2),b.qZA(),b.TgZ(11,"li"),b._uU(12," Use previously defined tour anchor "),b._UZ(13,"tui-doc-code",3),b.qZA()(),b.TgZ(14,"app-header",4),b._uU(15,"How to disable main content scrolling when UI tour is active?"),b.qZA(),b.TgZ(16,"tui-notification",5),b._uU(17," Starting with "),b.TgZ(18,"code"),b._uU(19),b.qZA(),b._uU(20," you can enable "),b.TgZ(21,"code"),b._uU(22,"disablePageScrolling"),b.qZA(),b._uU(23," option to disable scrolling.\n"),b.qZA(),b.TgZ(24,"p"),b._uU(25,"You can toggle CSS class which disables main content element scrolling when tour starts/ends."),b.qZA(),b.TgZ(26,"ol")(27,"li"),b._uU(28," Create custom "),b.TgZ(29,"code"),b._uU(30,"TourService"),b.qZA(),b._uU(31,": "),b._UZ(32,"tui-doc-code",6),b.qZA(),b.TgZ(33,"li"),b._uU(34," Add the "),b.TgZ(35,"code"),b._uU(36,"no-scroll"),b.qZA(),b._uU(37," CSS class to your global stylesheet "),b._UZ(38,"tui-doc-code",7),b.qZA(),b.TgZ(39,"li"),b._uU(40," Use your custom "),b.TgZ(41,"code"),b._uU(42,"TourService"),b.qZA(),b._uU(43," to start the UI tour: "),b._UZ(44,"tui-doc-code",3),b.qZA()(),b.TgZ(45,"app-header",8),b._uU(46,"How to add space around highlighted anchor element"),b.qZA(),b.YNc(47,at,8,1,"tui-notification",9),b._UZ(48,"img",10),b.TgZ(49,"p"),b._uU(50," To add some space between backdrop edges and active tour anchor element, you can use "),b.TgZ(51,"code"),b._uU(52,".touranchor--is-active"),b.qZA(),b._uU(53," CSS class. Use it to add the required amount of padding and then subtract the same amount using negative margin which will keep overall page layout unchanged.\n"),b.qZA(),b._UZ(54,"tui-doc-code",2),b.TgZ(55,"p"),b._uU(56," In case your anchor element already has some margin applied to it, you'll have to adjust padding and margin values accordingly. For example, if your paragraph already has 12px bottom margin, you can use the following CSS to add 10px spacing around the paragraph without effecting page layout:\n"),b.qZA(),b._UZ(57,"tui-doc-code",2),b.TgZ(58,"p"),b._uU(59," If you want to apply the same trick to an element where changing its padding is not an option, for example, a button element, you can wrap this element with an extra div container and then use the same trick on the container.\n"),b.qZA(),b._UZ(60,"tui-doc-code",1),b.TgZ(61,"p"),b._uU(62," You can also check out "),b.TgZ(63,"a",11),b._uU(64," StackBlitz demo project "),b.qZA(),b._uU(65," to see this approach in action.\n"),b.qZA()),2&yt&&(b.xp6(7),b.Q6J("code",At.examples.centeredStepHtml),b.xp6(3),b.Q6J("code",At.examples.centeredStepCss),b.xp6(3),b.Q6J("code",At.examples.centeredStepTs),b.xp6(6),b.hij("v",At.disablePageScrollingIntroducedIn,""),b.xp6(13),b.Q6J("code",At.examples.customTourService),b.xp6(6),b.Q6J("code",At.examples.noScrollCss),b.xp6(6),b.Q6J("code",At.examples.customTourServiceUsage),b.xp6(3),b.um2(47,At.backdropOffsetIntroducedIn?47:-1),b.xp6(7),b.Q6J("code",At.examples.backdropPadding),b.xp6(3),b.Q6J("code",At.examples.backdropParagraphPadding),b.xp6(3),b.Q6J("code",At.examples.backdropButtonPadding))},dependencies:[it.G,I.JF,I.c0,F.H,F.L,Z.j,Z.V],styles:["app-header[_ngcontent-%COMP%]:first-child{margin-top:0}img.backdrop-spacing[_ngcontent-%COMP%]{margin-top:1rem;max-width:100%}"]})}return gt})()},1074:(kt,ot,c)=>{c.d(ot,{G:()=>I});var t=c(7293),_=c(631),k=c(342),T=c(229),x=c(6925),H=c(3594),L=c(7398),G=c(6814),E=c(9212);function F(it,b){if(1&it){const at=E.EpF();E.TgZ(0,"button",2),E.NdJ("click",function(){E.CHM(at);const gt=E.oxw();return E.KtG(gt.copyExampleLink())}),E.ALo(1,"async"),E.qZA()}if(2&it){const at=E.oxw();E.Q6J("icon","tuiIconLinkLarge")("title",E.lcZ(1,2,at.copy$))}}const Z=["*"];let I=(()=>{class it{constructor(at,K,gt,Q,ut,yt){this.id=at,this.clipboard=K,this.alertService=gt,this.location=Q,this.copyTexts$=ut,this.texts=yt,this.copy$=this.copyTexts$.pipe((0,L.U)(([At])=>At))}copyExampleLink(){const at=this.location.href.indexOf("#"),gt=`${at>-1?this.location.href.substring(0,at):this.location.href}#${this.id}`;this.clipboard.copy(gt),this.alertService.open(this.texts[1],{label:this.texts[2],status:"success"}).subscribe()}static#t=this.\u0275fac=function(K){return new(K||it)(E.$8M("id"),E.Y36(k.TU),E.Y36(t.J9),E.Y36(T.Ct),E.Y36(x.UV),E.Y36(H.mv))};static#e=this.\u0275cmp=E.Xpm({type:it,selectors:[["app-header"]],standalone:!0,features:[E.jDz],ngContentSelectors:Z,decls:3,vars:1,consts:[[1,"title"],["tuiIconButton","","type","button","size","xs","class","link-icon","appearance","icon",3,"icon","title"],["tuiIconButton","","type","button","size","xs","appearance","icon",1,"link-icon",3,"icon","title","click"]],template:function(K,gt){1&K&&(E.F$t(),E.TgZ(0,"h3",0),E.Hsn(1),E.YNc(2,F,2,4,"button",1),E.qZA()),2&K&&(E.xp6(2),E.um2(2,gt.id?2:-1))},dependencies:[_.fN,_.v0,G.Ov],styles:["[_nghost-%COMP%]{position:relative;display:block;clear:right;margin-top:2rem}.title[_ngcontent-%COMP%]{font:var(--tui-font-heading-5);margin:0 0 .5rem}.title[_ngcontent-%COMP%]:first-letter{text-transform:capitalize}.title tui-root._mobile[_nghost-%COMP%], tui-root._mobile [_nghost-%COMP%]{font:var(--tui-font-heading-6)}.title[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:.75rem}"]})}return it})()},8791:(kt,ot,c)=>{c.d(ot,{Q:()=>G});var t=c(8268),_=c(1074),k=c(9212),T=c(6599),x=c(6401);const H=(E,F)=>F.key;function L(E,F){if(1&E&&k._UZ(0,"app-list-item",1),2&E){const Z=F.$implicit;k.Q6J("name",Z.key)("description",Z.action)}}let G=(()=>{class E{constructor(){this.hotkeys=[{key:"left arrow",action:"Previous step"},{key:"right arrow",action:"Next step"},{key:"esc",action:"End tour"}]}static#t=this.\u0275fac=function(I){return new(I||E)};static#e=this.\u0275cmp=k.Xpm({type:E,selectors:[["app-hotkeys"]],standalone:!0,features:[k.jDz],decls:18,vars:0,consts:[["tourAnchor","hotkeys","id","hotkeys"],[3,"name","description"]],template:function(I,it){1&I&&(k.TgZ(0,"app-header",0),k._uU(1,"Hotkeys"),k.qZA(),k.TgZ(2,"p"),k._uU(3," Hotkeys are provided using Angular's "),k.TgZ(4,"code"),k._uU(5,"@HostListener"),k.qZA(),k._uU(6," decorator. Hotkeys are enabled when the tour starts and disabled when the tour ends.\n"),k.qZA(),k.TgZ(7,"p"),k._uU(8," You can disable hotkeys by calling "),k.TgZ(9,"code"),k._uU(10,"tourService.disableHotkeys()"),k.qZA(),k._uU(11," or re-enable with "),k.TgZ(12,"code"),k._uU(13,"tourService.enableHotkeys()"),k.qZA(),k._uU(14,".\n"),k.qZA(),k.TgZ(15,"app-list"),k.SjG(16,L,1,2,"app-list-item",1,H),k.qZA()),2&I&&(k.xp6(16),k.wJu(it.hotkeys))},dependencies:[_.G,t.bS,T.n,x.G],styles:["app-header[_ngcontent-%COMP%]{margin-top:0}"]})}return E})()},5629:(kt,ot,c)=>{c.d(ot,{E:()=>b}),c(2444),c(1872),c(7868),c(3622),c(1769),c(6798),c(8791),c(732),c(7765),c(1074);var Z=c(8268);function b(at){return{provide:Z.JC,useValue:at}}c(2545)},6401:(kt,ot,c)=>{c.d(ot,{G:()=>_});var t=c(9212);let _=(()=>{class k{static#t=this.\u0275fac=function(H){return new(H||k)};static#e=this.\u0275cmp=t.Xpm({type:k,selectors:[["app-list-item"]],inputs:{name:"name",description:"description"},standalone:!0,features:[t.jDz],decls:4,vars:2,consts:[[1,"name"]],template:function(H,L){1&H&&(t.TgZ(0,"div",0),t._uU(1),t.qZA(),t.TgZ(2,"div"),t._uU(3),t.qZA()),2&H&&(t.xp6(1),t.Oqu(L.name),t.xp6(2),t.Oqu(L.description))},styles:["[_nghost-%COMP%]{display:block;font:var(--tui-font-text-s);padding:1rem 0;word-wrap:break-word;color:var(--tui-text-01)}[_nghost-%COMP%]:not(:last-of-type){border-bottom:1px solid var(--tui-base-03)}[_nghost-%COMP%] .name[_ngcontent-%COMP%]{font:var(--tui-font-text-m);margin-bottom:.25rem;font-family:monospace;color:#8f75d1}"],changeDetection:0})}return k})()},6599:(kt,ot,c)=>{c.d(ot,{n:()=>k});var t=c(9212);const _=["*"];let k=(()=>{class T{static#t=this.\u0275fac=function(L){return new(L||T)};static#e=this.\u0275cmp=t.Xpm({type:T,selectors:[["app-list"]],standalone:!0,features:[t.jDz],ngContentSelectors:_,decls:2,vars:0,template:function(L,G){1&L&&(t.F$t(),t.TgZ(0,"div"),t.Hsn(1),t.qZA())},encapsulation:2,changeDetection:0})}return T})()},8268:(kt,ot,c)=>{c.d(ot,{JC:()=>Z,bS:()=>I});var t=c(9212),_=c(74),k=c(990),T=c(2914),x=c(272),H=c(3791),L=c(7058),G=c(2018),E=c(4524);const F=new t.OlP("TourAnchorDirective"),Z=new t.OlP("TourAnchorDirectiveType");let I=(()=>{class it{constructor(at){this.tourAnchorDirective=at,this.isActive=!1,this.overrideShowHideMethods()}ngOnInit(){const at=this.tourAnchorDirective;at.tourAnchor=this.tourAnchor,at.ngOnInit()}ngOnDestroy(){this.tourAnchorDirective.ngOnDestroy()}overrideShowHideMethods(){const at=this.tourAnchorDirective.showTourStep.bind(this.tourAnchorDirective),K=this.tourAnchorDirective.hideTourStep.bind(this.tourAnchorDirective);this.tourAnchorDirective.showTourStep=gt=>{this.isActive=!0,at(gt)},this.tourAnchorDirective.hideTourStep=()=>{this.isActive=!1,K()}}static#t=this.\u0275fac=function(K){return new(K||it)(t.Y36(F))};static#e=this.\u0275dir=t.lG2({type:it,selectors:[["","tourAnchor",""]],hostVars:2,hostBindings:function(K,gt){2&K&&t.ekj("touranchor--is-active",gt.isActive)},inputs:{tourAnchor:"tourAnchor"},standalone:!0,features:[t._Bn([_.JA,x.nr,x.HC,k.Q4,T.o8,H.pY,L.n3,G.C5,E.kT,{provide:F,useFactory:()=>{const at=(0,t.f3M)(Z);return(0,t.f3M)(at)}}])]})}return it})()},7868:(kt,ot,c)=>{c.d(ot,{s:()=>_});var t=c(9212);let _=(()=>{class k{constructor(){this.type="string"}static#t=this.\u0275fac=function(H){return new(H||k)};static#e=this.\u0275cmp=t.Xpm({type:k,selectors:[["app-placement-config"]],inputs:{value:"value",values:"values",type:"type",extraInfo:"extraInfo"},standalone:!0,features:[t.jDz],decls:0,vars:0,template:function(H,L){},encapsulation:2})}return k})()},1872:(kt,ot,c)=>{c.d(ot,{t:()=>O});var t=c(7868),_=c(8268),k=c(4308),T=c(1074),x=c(9212);function H(P,nt){1&P&&x._uU(0," A unique identifier for the step (optional) ")}function L(P,nt){1&P&&(x.TgZ(0,"div",33),x._uU(1,"The anchor to which the step will be attached"),x.qZA())}function G(P,nt){1&P&&x._uU(0," The title of the tour step ")}function E(P,nt){1&P&&x._uU(0," The content text of the tour step ")}function F(P,nt){1&P&&(x.TgZ(0,"div",34),x._uU(1,"Enable active element highlighting"),x.qZA())}function Z(P,nt){1&P&&x._uU(0," Backdrop configuration ")}function I(P,nt){1&P&&x._uU(0,' Step width, min-width and max-width configuration. Accepts CSS property "width" values, ie "250px" or "auto". ')}function it(P,nt){1&P&&(x.TgZ(0,"div",35),x._uU(1,"The route to navigate to before showing the tour step (optional)"),x.qZA())}function b(P,nt){1&P&&(x.TgZ(0,"div",36),x._uU(1,"Custom popover CSS class (optional)"),x.qZA())}function at(P,nt){1&P&&x._uU(0," Enable to close the tour on outside click ")}function K(P,nt){1&P&&x.YNc(0,at,1,0,"ng-template",10),2&P&&x.Q6J("documentationPropertyValue",!1)}function gt(P,nt){1&P&&(x._uU(0," Disables scrolling when the UI tour is active. "),x.TgZ(1,"code"),x._uU(2,"scrollContainer"),x.qZA(),x._uU(3," option can be used to specify affected scroll container. If "),x.TgZ(4,"code"),x._uU(5,"scrollContainer"),x.qZA(),x._uU(6," is not set, disables scrolling on document element. "))}function Q(P,nt){1&P&&x._uU(0," The step index or stepId of the next step (optional) ")}function ut(P,nt){1&P&&x._uU(0," The step index or stepId of the previous step (optional) ")}function yt(P,nt){if(1&P&&(x.TgZ(0,"div",37),x._uU(1," Tour step position with respect to the anchor (optional). "),x._UZ(2,"span",38),x.qZA()),2&P){const zt=x.oxw(2);x.xp6(2),x.Q6J("innerHTML",zt.placementConfig.extraInfo,x.oJD)}}function At(P,nt){if(1&P&&x.YNc(0,yt,3,1,"ng-template",14),2&P){const zt=x.oxw();x.Q6J("documentationPropertyType",zt.placementConfig.type)("documentationPropertyValue",zt.placementConfig.value)("documentationPropertyValues",zt.placementConfig.values)}}function xt(P,nt){1&P&&(x._uU(0," If enabled, shows an arrow that points to the anchor element when running in "),x.TgZ(1,"code"),x._uU(2,"ios"),x.qZA(),x._uU(3," mode. Does not apply in "),x.TgZ(4,"code"),x._uU(5,"md"),x.qZA(),x._uU(6," mode. "))}function Zt(P,nt){1&P&&x.YNc(0,xt,7,0,"ng-template",15),2&P&&x.Q6J("documentationPropertyValue",!0)}function ie(P,nt){1&P&&x._uU(0," If enabled, shows an arrow that points to the anchor element. ")}function re(P,nt){1&P&&x.YNc(0,ie,1,0,"ng-template",15),2&P&&x.Q6J("documentationPropertyValue",!0)}function fe(P,nt){1&P&&x._uU(0," If enabled, shows current step number and total steps. ")}function ue(P,nt){1&P&&x._uU(0," If active, stops automatic page scroll to tour anchor element ")}function Pt(P,nt){1&P&&(x.TgZ(0,"div",39),x._uU(1,' Enable to center active anchor element. "Safari" browser does not support this option. '),x.qZA())}function Qt(P,nt){1&P&&(x.TgZ(0,"div",40),x._uU(1,' Use smooth scroll when animations are enabled on OS level. Controlled by "Animate controls and elements inside windows" setting on Windows OS. '),x.qZA())}function Pe(P,nt){1&P&&x._uU(0,' CSS selector or html element reference. Used to determine scroll container for "smooth scroll" and "disable page scrolling" functions. Defaults to document element if not set. ')}function Ze(P,nt){1&P&&(x.TgZ(0,"div",41),x._uU(1,'"Previous" button title'),x.qZA())}function Ce(P,nt){1&P&&x._uU(0,' "Next" button title ')}function x1(P,nt){1&P&&x._uU(0,' "End" button title ')}function d1(P,nt){1&P&&(x.TgZ(0,"div",42),x._uU(1,'Mark your step as "async" if anchor element is added to DOM with a delay.'),x.qZA())}function pe(P,nt){1&P&&x._uU(0,' Time to wait for async step in ms. Once the time runs out, if the step is also marked as "optional", the step will be skipped, otherwise will end the tour with a warning. ')}function Se(P,nt){1&P&&x._uU(0,' Mark your step as "optional" if it should be skipped when anchor element is not found. Step can only be marked as both "optional" and "async" if "asyncStepTimeout" setting is set. ')}function we(P,nt){1&P&&x._uU(0," Delay between navigation to a different route and showing the tour step in ms. Should be set if the tour tries to show tour step before anchor element is registered or the page is scrolled all the way. ")}function Jt(P,nt){1&P&&x._uU(0," Delay before showing tour step in ms. ")}function Ee(P,nt){1&P&&(x.TgZ(0,"div",43),x._uU(1,' Go to next step on anchor element click instead of "Next" button. '),x.qZA())}function We(P,nt){1&P&&x._uU(0," If your tour anchor is duplicated on purpose, you can choose to either register first or last anchor occurance instead of throwing an error. ")}function Ue(P,nt){1&P&&x._uU(0,' Enable to keep the tour open while the user navigates to a different page. Can cause the tour to get "stuck" if active anchor element is removed from the DOM after the navigation. The option is not related to navigation initiated by the UI tour and should not be enabled in most cases. ')}function ct(P,nt){1&P&&x._uU(0," Enable to use popover title for showing step title like in previous versions of the library. Title style can not be customized using step template when the option is enabled. ")}function Ct(P,nt){1&P&&x.YNc(0,ct,1,0,"ng-template",32),2&P&&x.Q6J("documentationPropertyValue",!1)}let O=(()=>{class P{constructor(){this.isCloseOnOutsideClickVisible=!1,this.isIonicShowArrowVisible=!1,this.isMdMenuShowArrowVisible=!1,this.isUseLegacyTitleVisible=!1,this.duplicateAnchorHandlingValues=["error","registerFirst","registerLast"]}static#t=this.\u0275fac=function(Ft){return new(Ft||P)};static#e=this.\u0275cmp=x.Xpm({type:P,selectors:[["app-step-config"]],contentQueries:function(Ft,Vt,be){if(1&Ft&&x.Suo(be,t.s,5),2&Ft){let te;x.iGM(te=x.CRH())&&(Vt.placementConfig=te.first)}},inputs:{isCloseOnOutsideClickVisible:"isCloseOnOutsideClickVisible",isIonicShowArrowVisible:"isIonicShowArrowVisible",isMdMenuShowArrowVisible:"isMdMenuShowArrowVisible",isUseLegacyTitleVisible:"isUseLegacyTitleVisible"},standalone:!0,features:[x.jDz],decls:38,vars:25,consts:[["id","step-config"],["documentationPropertyName","stepId","documentationPropertyType","string"],["documentationPropertyName","anchorId","documentationPropertyType","string",3,"documentationPropertyValue"],["documentationPropertyName","title","documentationPropertyType","string",3,"documentationPropertyValue"],["documentationPropertyName","content","documentationPropertyType","string",3,"documentationPropertyValue"],["documentationPropertyName","enableBackdrop","documentationPropertyType","boolean",3,"documentationPropertyValue"],["documentationPropertyName","backdropConfig","documentationPropertyType","BackdropConfig"],["documentationPropertyName","stepDimensions","documentationPropertyType","StepDimensions"],["documentationPropertyName","route","documentationPropertyType","string | UrlSegment[]"],["documentationPropertyName","popoverClass","documentationPropertyType","string"],["documentationPropertyName","closeOnOutsideClick","documentationPropertyType","boolean",3,"documentationPropertyValue"],["documentationPropertyName","disablePageScrolling","documentationPropertyType","boolean",3,"documentationPropertyValue"],["documentationPropertyName","nextStep","documentationPropertyType","number | string"],["documentationPropertyName","prevStep","documentationPropertyType","number | string"],["documentationPropertyName","placement",3,"documentationPropertyType","documentationPropertyValue","documentationPropertyValues"],["documentationPropertyName","showArrow","documentationPropertyType","boolean",3,"documentationPropertyValue"],["documentationPropertyName","showProgress","documentationPropertyType","boolean",3,"documentationPropertyValue"],["documentationPropertyName","disableScrollToAnchor","documentationPropertyType","boolean",3,"documentationPropertyValue"],["documentationPropertyName","centerAnchorOnScroll","documentationPropertyType","boolean",3,"documentationPropertyValue"],["documentationPropertyName","smoothScroll","documentationPropertyType","boolean",3,"documentationPropertyValue"],["documentationPropertyName","scrollContainer","documentationPropertyType","string | HTMLElement"],["documentationPropertyName","prevBtnTitle","documentationPropertyType","string",3,"documentationPropertyValue"],["documentationPropertyName","nextBtnTitle","documentationPropertyType","string",3,"documentationPropertyValue"],["documentationPropertyName","endBtnTitle","documentationPropertyType","string",3,"documentationPropertyValue"],["documentationPropertyName","isAsync","documentationPropertyType","boolean",3,"documentationPropertyValue"],["documentationPropertyName","asyncStepTimeout","documentationPropertyType","number"],["documentationPropertyName","isOptional","documentationPropertyType","boolean",3,"documentationPropertyValue"],["documentationPropertyName","delayAfterNavigation","documentationPropertyType","number",3,"documentationPropertyValue"],["documentationPropertyName","delayBeforeStepShow","documentationPropertyType","number",3,"documentationPropertyValue"],["documentationPropertyName","nextOnAnchorClick","documentationPropertyType","boolean",3,"documentationPropertyValue"],["documentationPropertyName","duplicateAnchorHandling","documentationPropertyType","string",3,"documentationPropertyValues","documentationPropertyValue"],["documentationPropertyName","allowUserInitiatedNavigation","documentationPropertyType","boolean",3,"documentationPropertyValue"],["documentationPropertyName","useLegacyTitle","documentationPropertyType","boolean",3,"documentationPropertyValue"],["tourAnchor","config.anchorId"],["tourAnchor","config.enableBackdrop"],["tourAnchor","config.route"],["tourAnchor","config.popoverClass"],["tourAnchor","config.placement"],[3,"innerHTML"],["tourAnchor","config.centerAnchorOnScroll"],["tourAnchor","config.smoothScroll"],["tourAnchor","config.buttons.custom"],["tourAnchor","config.isAsync"],["tourAnchor","config.nextOnAnchorClick",2,"cursor","pointer"]],template:function(Ft,Vt){1&Ft&&(x.TgZ(0,"app-header",0),x._uU(1,"Step Configuration"),x.qZA(),x.TgZ(2,"p"),x._uU(3,"Each step can have the following properties."),x.qZA(),x.TgZ(4,"tui-doc-documentation"),x.YNc(5,H,1,0,"ng-template",1)(6,L,2,0,"ng-template",2)(7,G,1,0,"ng-template",3)(8,E,1,0,"ng-template",4)(9,F,2,0,"ng-template",5)(10,Z,1,0,"ng-template",6)(11,I,1,0,"ng-template",7)(12,it,2,0,"ng-template",8)(13,b,2,0,"ng-template",9)(14,K,1,1,null,10)(15,gt,7,0,"ng-template",11)(16,Q,1,0,"ng-template",12)(17,ut,1,0,"ng-template",13)(18,At,1,3,null,14)(19,Zt,1,1,null,15)(20,re,1,1,null,15)(21,fe,1,0,"ng-template",16)(22,ue,1,0,"ng-template",17)(23,Pt,2,0,"ng-template",18)(24,Qt,2,0,"ng-template",19)(25,Pe,1,0,"ng-template",20)(26,Ze,2,0,"ng-template",21)(27,Ce,1,0,"ng-template",22)(28,x1,1,0,"ng-template",23)(29,d1,2,0,"ng-template",24)(30,pe,1,0,"ng-template",25)(31,Se,1,0,"ng-template",26)(32,we,1,0,"ng-template",27)(33,Jt,1,0,"ng-template",28)(34,Ee,2,0,"ng-template",29)(35,We,1,0,"ng-template",30)(36,Ue,1,0,"ng-template",31)(37,Ct,1,1,null,32),x.qZA()),2&Ft&&(x.xp6(6),x.Q6J("documentationPropertyValue","some.anchor.id"),x.xp6(1),x.Q6J("documentationPropertyValue","My Title"),x.xp6(1),x.Q6J("documentationPropertyValue","Lorem ipsum dolores"),x.xp6(1),x.Q6J("documentationPropertyValue",!1),x.xp6(5),x.um2(14,Vt.isCloseOnOutsideClickVisible?14:-1),x.xp6(1),x.Q6J("documentationPropertyValue",!0),x.xp6(3),x.um2(18,Vt.placementConfig?18:-1),x.xp6(1),x.um2(19,Vt.isIonicShowArrowVisible?19:-1),x.xp6(1),x.um2(20,Vt.isMdMenuShowArrowVisible?20:-1),x.xp6(1),x.Q6J("documentationPropertyValue",!0),x.xp6(1),x.Q6J("documentationPropertyValue",!1),x.xp6(1),x.Q6J("documentationPropertyValue",!0),x.xp6(1),x.Q6J("documentationPropertyValue",!0),x.xp6(2),x.Q6J("documentationPropertyValue","Prev"),x.xp6(1),x.Q6J("documentationPropertyValue","Next"),x.xp6(1),x.Q6J("documentationPropertyValue","End"),x.xp6(1),x.Q6J("documentationPropertyValue",!1),x.xp6(2),x.Q6J("documentationPropertyValue",!1),x.xp6(1),x.Q6J("documentationPropertyValue",100),x.xp6(1),x.Q6J("documentationPropertyValue",0),x.xp6(1),x.Q6J("documentationPropertyValue",!1),x.xp6(1),x.Q6J("documentationPropertyValues",Vt.duplicateAnchorHandlingValues)("documentationPropertyValue","error"),x.xp6(1),x.Q6J("documentationPropertyValue",!1),x.xp6(1),x.um2(37,Vt.isUseLegacyTitleVisible?37:-1))},dependencies:[T.G,k.Lx,k.zb,k.B7,_.bS],styles:["app-header[_ngcontent-%COMP%]{margin-top:0}div[tourAnchor][_ngcontent-%COMP%]{padding:2.75rem 1rem 1rem;margin:-2.75rem -1rem -1rem}"]})}return P})()},7765:(kt,ot,c)=>{c.d(ot,{J:()=>k});var t=c(1074),_=c(9212);let k=(()=>{class T{static#t=this.\u0275fac=function(L){return new(L||T)};static#e=this.\u0275cmp=_.Xpm({type:T,selectors:[["app-styling-active-tour-anchor"]],standalone:!0,features:[_.jDz],decls:7,vars:0,consts:[["id","styling-active-anchor"]],template:function(L,G){1&L&&(_.TgZ(0,"app-header",0),_._uU(1,"Styling Active Tour Anchor"),_.qZA(),_.TgZ(2,"p"),_._uU(3," The currently active tour anchor element has a "),_.TgZ(4,"code"),_._uU(5,"touranchor--is-active"),_.qZA(),_._uU(6," class applied to it, so you can apply your own custom styles to that class to highlight the element being referenced.\n"),_.qZA())},dependencies:[t.G],encapsulation:2})}return T})()},3622:(kt,ot,c)=>{c.d(ot,{A:()=>L});var t=c(1074),_=c(9212),k=c(6599),T=c(6401);const x=(G,E)=>E.name;function H(G,E){if(1&G&&_._UZ(0,"app-list-item",1),2&G){const F=E.$implicit;_.Q6J("name",F.name)("description",F.description)}}let L=(()=>{class G{constructor(){this.methods=[{name:"start()",description:"Starts the tour"},{name:"startAt(stepId: number | string)",description:"Start the tour at the step with stepId or at the specified index"},{name:"end()",description:"Ends the tour"},{name:"pause()",description:"Pauses the tour"},{name:"resume()",description:"Resumes the tour"},{name:"next()",description:"Goes to the next step"},{name:"prev()",description:"Goes to the previous step"}]}static#t=this.\u0275fac=function(Z){return new(Z||G)};static#e=this.\u0275cmp=_.Xpm({type:G,selectors:[["app-tour-service-api"]],standalone:!0,features:[_.jDz],decls:10,vars:0,consts:[["id","tour-service"],[3,"name","description"]],template:function(Z,I){1&Z&&(_.TgZ(0,"app-header",0),_._uU(1,"TourService"),_.qZA(),_.TgZ(2,"p"),_._uU(3," The "),_.TgZ(4,"code"),_._uU(5,"TourService"),_.qZA(),_._uU(6," controls the tour. Some key functions include:\n"),_.qZA(),_.TgZ(7,"app-list"),_.SjG(8,H,1,2,"app-list-item",1,x),_.qZA()),2&Z&&(_.xp6(8),_.wJu(I.methods))},dependencies:[t.G,k.n,T.G],encapsulation:2})}return G})()},2444:(kt,ot,c)=>{c.d(ot,{e:()=>G});var _=c(2114),k=c(8689),T=c(4308),x=c(8268),H=c(1074),L=c(9212);let G=(()=>{class E{constructor(){this.examples={tourSeviceExample:"this.tourService.initialize([{\r\n anchorId: 'some.anchor.id',\r\n content: 'Some content',\r\n title: 'First',\r\n}, {\r\n anchorId: 'another.anchor.id',\r\n content: 'Other content',\r\n title: 'Second',\r\n}]);\r\n"},this.tourStepTag="",this.anchorPoints='
...
'}static#t=this.\u0275fac=function(I){return new(I||E)};static#e=this.\u0275cmp=L.Xpm({type:E,selectors:[["app-usage"]],inputs:{moduleName:"moduleName"},standalone:!0,features:[L.jDz],decls:36,vars:4,consts:[["id","simple-project","tourAnchor","usage"],["status","warning",1,"tui-space_top-3"],["filename","app.component.html",3,"code"],["filename","app.component.ts",3,"code"],["tourAnchor","tourService.start"],["tuiLink","","target","_blank","href","https://github.com/hakimio/ngx-ui-tour/tree/master/src/app/md-menu"]],template:function(I,it){1&I&&(L.TgZ(0,"app-header",0),L._uU(1,"Usage"),L.qZA(),L.TgZ(2,"ol")(3,"li"),L._uU(4,"Add "),L.TgZ(5,"code"),L._uU(6),L.qZA(),L._uU(7," to your root app component "),L.qZA(),L.TgZ(8,"li"),L._uU(9," Define anchor points for the tour steps by adding the "),L.TgZ(10,"code"),L._uU(11,"tourAnchor"),L.qZA(),L._uU(12," directive throughout your app. "),L.TgZ(13,"tui-notification",1),L._uU(14," You have to import "),L.TgZ(15,"code"),L._uU(16),L.qZA(),L._uU(17," in all your modules and standalone components where you use "),L.TgZ(18,"code"),L._uU(19,"tourAnchor"),L.qZA(),L._uU(20," directive. "),L.qZA(),L._UZ(21,"tui-doc-code",2),L.qZA(),L.TgZ(22,"li"),L._uU(23," Define your tour steps using "),L.TgZ(24,"code"),L._uU(25,"tourService.initialize(steps)"),L.qZA(),L._UZ(26,"tui-doc-code",3),L.qZA(),L.TgZ(27,"li"),L._uU(28,"Start the tour with "),L.TgZ(29,"code",4),L._uU(30,"tourService.start()"),L.qZA()(),L.TgZ(31,"li"),L._uU(32,"Check out the "),L.TgZ(33,"a",5),L._uU(34,"demo source code"),L.qZA(),L._uU(35," for an example."),L.qZA()()),2&I&&(L.xp6(6),L.Oqu(it.tourStepTag),L.xp6(10),L.Oqu(it.moduleName),L.xp6(5),L.Q6J("code",it.anchorPoints),L.xp6(5),L.Q6J("code",it.examples.tourSeviceExample))},dependencies:[H.G,x.bS,T.JF,T.c0,_.j,_.V,k.H,k.L],encapsulation:2})}return E})()},4036:(kt,ot,c)=>{c.d(ot,{z:()=>k});var t=c(6973),_=c(305);function k(T,x){const H="object"==typeof x;return new Promise((L,G)=>{const E=new _.Hp({next:F=>{L(F),E.unsubscribe()},error:G,complete:()=>{H?L(x.defaultValue):G(new t.K)}});T.subscribe(E)})}},4191:(kt,ot,c)=>{c.d(ot,{Em:()=>O,tE:()=>U,qm:()=>Je,X6:()=>b1,yG:()=>h1});var t=c(6814),_=c(9212),k=c(2831),T=c(8645),x=c(7394),H=c(5619),L=c(2096),G=c(6028),E=c(9397),F=c(3620),Z=c(2181),I=c(7398),it=c(836),b=c(3997),at=c(9773),K=c(2495),gt=c(2572),Q=c(5211),ut=c(5592),yt=c(8180),At=c(7921);const Zt=new Set;let ie,re=(()=>{class ${constructor(C,N){this._platform=C,this._nonce=N,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):ue}matchMedia(C){return(this._platform.WEBKIT||this._platform.BLINK)&&function fe($,B){if(!Zt.has($))try{ie||(ie=document.createElement("style"),B&&(ie.nonce=B),ie.setAttribute("type","text/css"),document.head.appendChild(ie)),ie.sheet&&(ie.sheet.insertRule(`@media ${$} {body{ }}`,0),Zt.add($))}catch(C){console.error(C)}}(C,this._nonce),this._matchMedia(C)}static#t=this.\u0275fac=function(N){return new(N||$)(_.LFG(k.t4),_.LFG(_.Ojb,8))};static#e=this.\u0275prov=_.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})();function ue($){return{matches:"all"===$||""===$,media:$,addListener:()=>{},removeListener:()=>{}}}let Pt=(()=>{class ${constructor(C,N){this._mediaMatcher=C,this._zone=N,this._queries=new Map,this._destroySubject=new T.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(C){return Qt((0,K.Eq)(C)).some(tt=>this._registerQuery(tt).mql.matches)}observe(C){const tt=Qt((0,K.Eq)(C)).map(Ot=>this._registerQuery(Ot).observable);let ht=(0,gt.a)(tt);return ht=(0,Q.z)(ht.pipe((0,yt.q)(1)),ht.pipe((0,it.T)(1),(0,F.b)(0))),ht.pipe((0,I.U)(Ot=>{const Gt={matches:!1,breakpoints:{}};return Ot.forEach(({matches:Ie,query:g1})=>{Gt.matches=Gt.matches||Ie,Gt.breakpoints[g1]=Ie}),Gt}))}_registerQuery(C){if(this._queries.has(C))return this._queries.get(C);const N=this._mediaMatcher.matchMedia(C),ht={observable:new ut.y(Ot=>{const Gt=Ie=>this._zone.run(()=>Ot.next(Ie));return N.addListener(Gt),()=>{N.removeListener(Gt)}}).pipe((0,At.O)(N),(0,I.U)(({matches:Ot})=>({query:C,matches:Ot})),(0,at.R)(this._destroySubject)),mql:N};return this._queries.set(C,ht),ht}static#t=this.\u0275fac=function(N){return new(N||$)(_.LFG(re),_.LFG(_.R0b))};static#e=this.\u0275prov=_.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})();function Qt($){return $.map(B=>B.split(",")).reduce((B,C)=>B.concat(C)).map(B=>B.trim())}class ct{constructor(B){this._items=B,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new T.x,this._typeaheadSubscription=x.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=C=>C.disabled,this._pressedLetters=[],this.tabOut=new T.x,this.change=new T.x,B instanceof _.n_E&&(this._itemChangesSubscription=B.changes.subscribe(C=>{if(this._activeItem){const tt=C.toArray().indexOf(this._activeItem);tt>-1&&tt!==this._activeItemIndex&&(this._activeItemIndex=tt)}}))}skipPredicate(B){return this._skipPredicateFn=B,this}withWrap(B=!0){return this._wrap=B,this}withVerticalOrientation(B=!0){return this._vertical=B,this}withHorizontalOrientation(B){return this._horizontal=B,this}withAllowedModifierKeys(B){return this._allowedModifierKeys=B,this}withTypeAhead(B=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,E.b)(C=>this._pressedLetters.push(C)),(0,F.b)(B),(0,Z.h)(()=>this._pressedLetters.length>0),(0,I.U)(()=>this._pressedLetters.join(""))).subscribe(C=>{const N=this._getItemsArray();for(let tt=1;tt!B[ht]||this._allowedModifierKeys.indexOf(ht)>-1);switch(C){case G.Mf:return void this.tabOut.next();case G.JH:if(this._vertical&&tt){this.setNextItemActive();break}return;case G.LH:if(this._vertical&&tt){this.setPreviousItemActive();break}return;case G.SV:if(this._horizontal&&tt){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case G.oh:if(this._horizontal&&tt){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case G.Sd:if(this._homeAndEnd&&tt){this.setFirstItemActive();break}return;case G.uR:if(this._homeAndEnd&&tt){this.setLastItemActive();break}return;case G.Ku:if(this._pageUpAndDown.enabled&&tt){const ht=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(ht>0?ht:0,1);break}return;case G.VM:if(this._pageUpAndDown.enabled&&tt){const ht=this._activeItemIndex+this._pageUpAndDown.delta,Ot=this._getItemsArray().length;this._setActiveItemByIndex(ht=G.A&&C<=G.Z||C>=G.xE&&C<=G.aO)&&this._letterKeyStream.next(String.fromCharCode(C))))}this._pressedLetters=[],B.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(B){const C=this._getItemsArray(),N="number"==typeof B?B:C.indexOf(B);this._activeItem=C[N]??null,this._activeItemIndex=N}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(B){this._wrap?this._setActiveInWrapMode(B):this._setActiveInDefaultMode(B)}_setActiveInWrapMode(B){const C=this._getItemsArray();for(let N=1;N<=C.length;N++){const tt=(this._activeItemIndex+B*N+C.length)%C.length;if(!this._skipPredicateFn(C[tt]))return void this.setActiveItem(tt)}}_setActiveInDefaultMode(B){this._setActiveItemByIndex(this._activeItemIndex+B,B)}_setActiveItemByIndex(B,C){const N=this._getItemsArray();if(N[B]){for(;this._skipPredicateFn(N[B]);)if(!N[B+=C])return;this.setActiveItem(B)}}_getItemsArray(){return this._items instanceof _.n_E?this._items.toArray():this._items}}class O extends ct{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(B){return this._origin=B,this}setActiveItem(B){super.setActiveItem(B),this.activeItem&&this.activeItem.focus(this._origin)}}function b1($){return 0===$.buttons||0===$.detail}function h1($){const B=$.touches&&$.touches[0]||$.changedTouches&&$.changedTouches[0];return!(!B||-1!==B.identifier||null!=B.radiusX&&1!==B.radiusX||null!=B.radiusY&&1!==B.radiusY)}const a1=new _.OlP("cdk-input-modality-detector-options"),M1={ignoreKeys:[G.zL,G.jx,G.b2,G.MW,G.JU]},Ne=(0,k.i$)({passive:!0,capture:!0});let Be=(()=>{class ${get mostRecentModality(){return this._modality.value}constructor(C,N,tt,ht){this._platform=C,this._mostRecentTarget=null,this._modality=new H.X(null),this._lastTouchMs=0,this._onKeydown=Ot=>{this._options?.ignoreKeys?.some(Gt=>Gt===Ot.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,k.sA)(Ot))},this._onMousedown=Ot=>{Date.now()-this._lastTouchMs<650||(this._modality.next(b1(Ot)?"keyboard":"mouse"),this._mostRecentTarget=(0,k.sA)(Ot))},this._onTouchstart=Ot=>{h1(Ot)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,k.sA)(Ot))},this._options={...M1,...ht},this.modalityDetected=this._modality.pipe((0,it.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,b.x)()),C.isBrowser&&N.runOutsideAngular(()=>{tt.addEventListener("keydown",this._onKeydown,Ne),tt.addEventListener("mousedown",this._onMousedown,Ne),tt.addEventListener("touchstart",this._onTouchstart,Ne)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ne),document.removeEventListener("mousedown",this._onMousedown,Ne),document.removeEventListener("touchstart",this._onTouchstart,Ne))}static#t=this.\u0275fac=function(N){return new(N||$)(_.LFG(k.t4),_.LFG(_.R0b),_.LFG(t.K0),_.LFG(a1,8))};static#e=this.\u0275prov=_.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})();const j=new _.OlP("cdk-focus-monitor-default-options"),S=(0,k.i$)({passive:!0,capture:!0});let U=(()=>{class ${constructor(C,N,tt,ht,Ot){this._ngZone=C,this._platform=N,this._inputModalityDetector=tt,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new T.x,this._rootNodeFocusAndBlurListener=Gt=>{for(let g1=(0,k.sA)(Gt);g1;g1=g1.parentElement)"focus"===Gt.type?this._onFocus(Gt,g1):this._onBlur(Gt,g1)},this._document=ht,this._detectionMode=Ot?.detectionMode||0}monitor(C,N=!1){const tt=(0,K.fI)(C);if(!this._platform.isBrowser||1!==tt.nodeType)return(0,L.of)();const ht=(0,k.kV)(tt)||this._getDocument(),Ot=this._elementInfo.get(tt);if(Ot)return N&&(Ot.checkChildren=!0),Ot.subject;const Gt={checkChildren:N,subject:new T.x,rootNode:ht};return this._elementInfo.set(tt,Gt),this._registerGlobalListeners(Gt),Gt.subject}stopMonitoring(C){const N=(0,K.fI)(C),tt=this._elementInfo.get(N);tt&&(tt.subject.complete(),this._setClasses(N),this._elementInfo.delete(N),this._removeGlobalListeners(tt))}focusVia(C,N,tt){const ht=(0,K.fI)(C);ht===this._getDocument().activeElement?this._getClosestElementsInfo(ht).forEach(([Gt,Ie])=>this._originChanged(Gt,N,Ie)):(this._setOrigin(N),"function"==typeof ht.focus&&ht.focus(tt))}ngOnDestroy(){this._elementInfo.forEach((C,N)=>this.stopMonitoring(N))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(C){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(C)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:C&&this._isLastInteractionFromInputLabel(C)?"mouse":"program"}_shouldBeAttributedToTouch(C){return 1===this._detectionMode||!!C?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(C,N){C.classList.toggle("cdk-focused",!!N),C.classList.toggle("cdk-touch-focused","touch"===N),C.classList.toggle("cdk-keyboard-focused","keyboard"===N),C.classList.toggle("cdk-mouse-focused","mouse"===N),C.classList.toggle("cdk-program-focused","program"===N)}_setOrigin(C,N=!1){this._ngZone.runOutsideAngular(()=>{this._origin=C,this._originFromTouchInteraction="touch"===C&&N,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(C,N){const tt=this._elementInfo.get(N),ht=(0,k.sA)(C);!tt||!tt.checkChildren&&N!==ht||this._originChanged(N,this._getFocusOrigin(ht),tt)}_onBlur(C,N){const tt=this._elementInfo.get(N);!tt||tt.checkChildren&&C.relatedTarget instanceof Node&&N.contains(C.relatedTarget)||(this._setClasses(N),this._emitOrigin(tt,null))}_emitOrigin(C,N){C.subject.observers.length&&this._ngZone.run(()=>C.subject.next(N))}_registerGlobalListeners(C){if(!this._platform.isBrowser)return;const N=C.rootNode,tt=this._rootNodeFocusListenerCount.get(N)||0;tt||this._ngZone.runOutsideAngular(()=>{N.addEventListener("focus",this._rootNodeFocusAndBlurListener,S),N.addEventListener("blur",this._rootNodeFocusAndBlurListener,S)}),this._rootNodeFocusListenerCount.set(N,tt+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,at.R)(this._stopInputModalityDetector)).subscribe(ht=>{this._setOrigin(ht,!0)}))}_removeGlobalListeners(C){const N=C.rootNode;if(this._rootNodeFocusListenerCount.has(N)){const tt=this._rootNodeFocusListenerCount.get(N);tt>1?this._rootNodeFocusListenerCount.set(N,tt-1):(N.removeEventListener("focus",this._rootNodeFocusAndBlurListener,S),N.removeEventListener("blur",this._rootNodeFocusAndBlurListener,S),this._rootNodeFocusListenerCount.delete(N))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(C,N,tt){this._setClasses(C,N),this._emitOrigin(tt,N),this._lastFocusOrigin=N}_getClosestElementsInfo(C){const N=[];return this._elementInfo.forEach((tt,ht)=>{(ht===C||tt.checkChildren&&ht.contains(C))&&N.push([ht,tt])}),N}_isLastInteractionFromInputLabel(C){const{_mostRecentTarget:N,mostRecentModality:tt}=this._inputModalityDetector;if("mouse"!==tt||!N||N===C||"INPUT"!==C.nodeName&&"TEXTAREA"!==C.nodeName||C.disabled)return!1;const ht=C.labels;if(ht)for(let Ot=0;Ot{class ${constructor(C,N){this._platform=C,this._document=N,this._breakpointSubscription=(0,_.f3M)(Pt).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const C=this._document.createElement("div");C.style.backgroundColor="rgb(1,2,3)",C.style.position="absolute",this._document.body.appendChild(C);const N=this._document.defaultView||window,tt=N&&N.getComputedStyle?N.getComputedStyle(C):null,ht=(tt&&tt.backgroundColor||"").replace(/ /g,"");switch(C.remove(),ht){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const C=this._document.body.classList;C.remove(t1,Ut,se),this._hasCheckedHighContrastMode=!0;const N=this.getHighContrastMode();1===N?C.add(t1,Ut):2===N&&C.add(t1,se)}}static#t=this.\u0275fac=function(N){return new(N||$)(_.LFG(k.t4),_.LFG(t.K0))};static#e=this.\u0275prov=_.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})()},9388:(kt,ot,c)=>{c.d(ot,{Is:()=>L,vT:()=>E});var t=c(9212),_=c(6814);const k=new t.OlP("cdk-dir-doc",{providedIn:"root",factory:function T(){return(0,t.f3M)(_.K0)}}),x=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let L=(()=>{class F{constructor(I){this.value="ltr",this.change=new t.vpe,I&&(this.value=function H(F){const Z=F?.toLowerCase()||"";return"auto"===Z&&typeof navigator<"u"&&navigator?.language?x.test(navigator.language)?"rtl":"ltr":"rtl"===Z?"rtl":"ltr"}((I.body?I.body.dir:null)||(I.documentElement?I.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#t=this.\u0275fac=function(it){return new(it||F)(t.LFG(k,8))};static#e=this.\u0275prov=t.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"})}return F})(),E=(()=>{class F{static#t=this.\u0275fac=function(it){return new(it||F)};static#e=this.\u0275mod=t.oAB({type:F});static#n=this.\u0275inj=t.cJS({})}return F})()},2495:(kt,ot,c)=>{c.d(ot,{Eq:()=>x,HM:()=>H,Ig:()=>_,fI:()=>L});var t=c(9212);function _(E){return null!=E&&"false"!=`${E}`}function x(E){return Array.isArray(E)?E:[E]}function H(E){return null==E?"":"string"==typeof E?E:`${E}px`}function L(E){return E instanceof t.SBq?E.nativeElement:E}},6028:(kt,ot,c)=>{c.d(ot,{A:()=>Ee,JH:()=>yt,JU:()=>H,K5:()=>x,Ku:()=>it,LH:()=>Q,L_:()=>I,MW:()=>Le,Mf:()=>k,SV:()=>ut,Sd:()=>K,VM:()=>b,Vb:()=>O1,Z:()=>ce,aO:()=>d1,b2:()=>e1,hY:()=>Z,jx:()=>L,oh:()=>gt,uR:()=>at,xE:()=>re,zL:()=>G});const k=9,x=13,H=16,L=17,G=18,Z=27,I=32,it=33,b=34,at=35,K=36,gt=37,Q=38,ut=39,yt=40,re=48,d1=57,Ee=65,ce=90,Le=91,e1=224;function O1(Ke,...H1){return H1.length?H1.some(F1=>Ke[F1]):Ke.altKey||Ke.shiftKey||Ke.ctrlKey||Ke.metaKey}},2831:(kt,ot,c)=>{c.d(ot,{Mq:()=>b,Oy:()=>At,i$:()=>Z,kV:()=>Q,sA:()=>yt,t4:()=>T});var t=c(9212),_=c(6814);let k;try{k=typeof Intl<"u"&&Intl.v8BreakIterator}catch{k=!1}let E,it,K,T=(()=>{class xt{constructor(ie){this._platformId=ie,this.isBrowser=this._platformId?(0,_.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!k)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#t=this.\u0275fac=function(re){return new(re||xt)(t.LFG(t.Lbi))};static#e=this.\u0275prov=t.Yz7({token:xt,factory:xt.\u0275fac,providedIn:"root"})}return xt})();function Z(xt){return function F(){if(null==E&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>E=!0}))}finally{E=E||!1}return E}()?xt:!!xt.capture}function b(){if(null==it){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return it=!1,it;if("scrollBehavior"in document.documentElement.style)it=!0;else{const xt=Element.prototype.scrollTo;it=!!xt&&!/\{\s*\[native code\]\s*\}/.test(xt.toString())}}return it}function Q(xt){if(function gt(){if(null==K){const xt=typeof document<"u"?document.head:null;K=!(!xt||!xt.createShadowRoot&&!xt.attachShadow)}return K}()){const Zt=xt.getRootNode?xt.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&Zt instanceof ShadowRoot)return Zt}return null}function yt(xt){return xt.composedPath?xt.composedPath()[0]:xt.target}function At(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},3680:(kt,ot,c)=>{c.d(ot,{BQ:()=>At,wG:()=>o1,Fq:()=>T1,si:()=>_e,pj:()=>fe});var t=c(9212),_=c(4191),k=c(9388),x=c(6814),H=c(2831),L=c(2495);const yt=new t.OlP("mat-sanity-checks",{providedIn:"root",factory:function ut(){return!0}});let At=(()=>{class rt{constructor(S,U,mt){this._sanityChecks=U,this._document=mt,this._hasDoneGlobalChecks=!1,S._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(S){return!(0,H.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[S])}static#t=this.\u0275fac=function(U){return new(U||rt)(t.LFG(_.qm),t.LFG(yt,8),t.LFG(x.K0))};static#e=this.\u0275mod=t.oAB({type:rt});static#n=this.\u0275inj=t.cJS({imports:[k.vT,k.vT]})}return rt})();function fe(rt,j){return class extends rt{get color(){return this._color}set color(S){const U=S||this.defaultColor;U!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),U&&this._elementRef.nativeElement.classList.add(`mat-${U}`),this._color=U)}constructor(...S){super(...S),this.defaultColor=j,this.color=j}}}class zt{constructor(j,S,U,mt=!1){this._renderer=j,this.element=S,this.config=U,this._animationForciblyDisabledThroughCss=mt,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Ft=(0,H.i$)({passive:!0,capture:!0});class Vt{constructor(){this._events=new Map,this._delegateEventHandler=j=>{const S=(0,H.sA)(j);S&&this._events.get(j.type)?.forEach((U,mt)=>{(mt===S||mt.contains(S))&&U.forEach(Ut=>Ut.handleEvent(j))})}}addHandler(j,S,U,mt){const Ut=this._events.get(S);if(Ut){const se=Ut.get(U);se?se.add(mt):Ut.set(U,new Set([mt]))}else this._events.set(S,new Map([[U,new Set([mt])]])),j.runOutsideAngular(()=>{document.addEventListener(S,this._delegateEventHandler,Ft)})}removeHandler(j,S,U){const mt=this._events.get(j);if(!mt)return;const Ut=mt.get(S);Ut&&(Ut.delete(U),0===Ut.size&&mt.delete(S),0===mt.size&&(this._events.delete(j),document.removeEventListener(j,this._delegateEventHandler,Ft)))}}const be={enterDuration:225,exitDuration:150},ee=(0,H.i$)({passive:!0,capture:!0}),It=["mousedown","touchstart"],Ht=["mouseup","mouseleave","touchend","touchcancel"];class de{static#t=this._eventManager=new Vt;constructor(j,S,U,mt){this._target=j,this._ngZone=S,this._platform=mt,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,mt.isBrowser&&(this._containerElement=(0,L.fI)(U))}fadeInRipple(j,S,U={}){const mt=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Ut={...be,...U.animation};U.centered&&(j=mt.left+mt.width/2,S=mt.top+mt.height/2);const se=U.radius||function Ge(rt,j,S){const U=Math.max(Math.abs(rt-S.left),Math.abs(rt-S.right)),mt=Math.max(Math.abs(j-S.top),Math.abs(j-S.bottom));return Math.sqrt(U*U+mt*mt)}(j,S,mt),t1=j-mt.left,Je=S-mt.top,y1=Ut.enterDuration,$=document.createElement("div");$.classList.add("mat-ripple-element"),$.style.left=t1-se+"px",$.style.top=Je-se+"px",$.style.height=2*se+"px",$.style.width=2*se+"px",null!=U.color&&($.style.backgroundColor=U.color),$.style.transitionDuration=`${y1}ms`,this._containerElement.appendChild($);const B=window.getComputedStyle($),N=B.transitionDuration,tt="none"===B.transitionProperty||"0s"===N||"0s, 0s"===N||0===mt.width&&0===mt.height,ht=new zt(this,$,U,tt);$.style.transform="scale3d(1, 1, 1)",ht.state=0,U.persistent||(this._mostRecentTransientRipple=ht);let Ot=null;return!tt&&(y1||Ut.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Gt=()=>this._finishRippleTransition(ht),Ie=()=>this._destroyRipple(ht);$.addEventListener("transitionend",Gt),$.addEventListener("transitioncancel",Ie),Ot={onTransitionEnd:Gt,onTransitionCancel:Ie}}),this._activeRipples.set(ht,Ot),(tt||!y1)&&this._finishRippleTransition(ht),ht}fadeOutRipple(j){if(2===j.state||3===j.state)return;const S=j.element,U={...be,...j.config.animation};S.style.transitionDuration=`${U.exitDuration}ms`,S.style.opacity="0",j.state=2,(j._animationForciblyDisabledThroughCss||!U.exitDuration)&&this._finishRippleTransition(j)}fadeOutAll(){this._getActiveRipples().forEach(j=>j.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(j=>{j.config.persistent||j.fadeOut()})}setupTriggerEvents(j){const S=(0,L.fI)(j);!this._platform.isBrowser||!S||S===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=S,It.forEach(U=>{de._eventManager.addHandler(this._ngZone,U,S,this)}))}handleEvent(j){"mousedown"===j.type?this._onMousedown(j):"touchstart"===j.type?this._onTouchStart(j):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Ht.forEach(S=>{this._triggerElement.addEventListener(S,this,ee)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(j){0===j.state?this._startFadeOutTransition(j):2===j.state&&this._destroyRipple(j)}_startFadeOutTransition(j){const S=j===this._mostRecentTransientRipple,{persistent:U}=j.config;j.state=1,!U&&(!S||!this._isPointerDown)&&j.fadeOut()}_destroyRipple(j){const S=this._activeRipples.get(j)??null;this._activeRipples.delete(j),this._activeRipples.size||(this._containerRect=null),j===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),j.state=3,null!==S&&(j.element.removeEventListener("transitionend",S.onTransitionEnd),j.element.removeEventListener("transitioncancel",S.onTransitionCancel)),j.element.remove()}_onMousedown(j){const S=(0,_.X6)(j),U=this._lastTouchStartEvent&&Date.now(){!j.config.persistent&&(1===j.state||j.config.terminateOnPointerUp&&0===j.state)&&j.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const j=this._triggerElement;j&&(It.forEach(S=>de._eventManager.removeHandler(S,j,this)),this._pointerUpEventsRegistered&&Ht.forEach(S=>j.removeEventListener(S,this,ee)))}}const Qe=new t.OlP("mat-ripple-global-options");let o1=(()=>{class rt{get disabled(){return this._disabled}set disabled(S){S&&this.fadeOutAllNonPersistent(),this._disabled=S,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(S){this._trigger=S,this._setupTriggerEventsIfEnabled()}constructor(S,U,mt,Ut,se){this._elementRef=S,this._animationMode=se,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Ut||{},this._rippleRenderer=new de(this,U,S,mt)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(S,U=0,mt){return"number"==typeof S?this._rippleRenderer.fadeInRipple(S,U,{...this.rippleConfig,...mt}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...S})}static#t=this.\u0275fac=function(U){return new(U||rt)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(H.t4),t.Y36(Qe,8),t.Y36(t.QbO,8))};static#e=this.\u0275dir=t.lG2({type:rt,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(U,mt){2&U&&t.ekj("mat-ripple-unbounded",mt.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return rt})(),_e=(()=>{class rt{static#t=this.\u0275fac=function(U){return new(U||rt)};static#e=this.\u0275mod=t.oAB({type:rt});static#n=this.\u0275inj=t.cJS({imports:[At,At]})}return rt})();const Ne={capture:!0},Be=["focus","click","mouseenter","touchstart"],ze="mat-ripple-loader-uninitialized",Te="mat-ripple-loader-class-name",m1="mat-ripple-loader-centered",c1="mat-ripple-loader-disabled";let T1=(()=>{class rt{constructor(){this._document=(0,t.f3M)(x.K0,{optional:!0}),this._animationMode=(0,t.f3M)(t.QbO,{optional:!0}),this._globalRippleOptions=(0,t.f3M)(Qe,{optional:!0}),this._platform=(0,t.f3M)(H.t4),this._ngZone=(0,t.f3M)(t.R0b),this._onInteraction=S=>{if(!(S.target instanceof HTMLElement))return;const mt=S.target.closest(`[${ze}]`);mt&&this.createRipple(mt)},this._ngZone.runOutsideAngular(()=>{for(const S of Be)this._document?.addEventListener(S,this._onInteraction,Ne)})}ngOnDestroy(){for(const S of Be)this._document?.removeEventListener(S,this._onInteraction,Ne)}configureRipple(S,U){S.setAttribute(ze,""),(U.className||!S.hasAttribute(Te))&&S.setAttribute(Te,U.className||""),U.centered&&S.setAttribute(m1,""),U.disabled&&S.setAttribute(c1,"")}getRipple(S){return S.matRipple?S.matRipple:this.createRipple(S)}setDisabled(S,U){const mt=S.matRipple;mt?mt.disabled=U:U?S.setAttribute(c1,""):S.removeAttribute(c1)}createRipple(S){if(!this._document)return;S.querySelector(".mat-ripple")?.remove();const U=this._document.createElement("span");U.classList.add("mat-ripple",S.getAttribute(Te)),S.append(U);const mt=new o1(new t.SBq(U),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return mt._isInitialized=!0,mt.trigger=S,mt.centered=S.hasAttribute(m1),mt.disabled=S.hasAttribute(c1),this.attachRipple(S,mt),mt}attachRipple(S,U){S.removeAttribute(ze),S.matRipple=U}static#t=this.\u0275fac=function(U){return new(U||rt)};static#e=this.\u0275prov=t.Yz7({token:rt,factory:rt.\u0275fac,providedIn:"root"})}return rt})()},2263:(kt,ot,c)=>{c.d(ot,{VK:()=>Z1,Tx:()=>mn,p6:()=>pn});var t=c(9212),_=c(4191),k=c(6028),T=c(8645),x=c(3019),H=c(7394),L=c(2096),G=c(1954);let F,E=1;const Z={};function I(R){return R in Z&&(delete Z[R],!0)}const it={setImmediate(R){const l=E++;return Z[l]=!0,F||(F=Promise.resolve()),F.then(()=>I(l)&&R()),l},clearImmediate(R){I(R)}},{setImmediate:at,clearImmediate:K}=it,gt={setImmediate(...R){const{delegate:l}=gt;return(l?.setImmediate||at)(...R)},clearImmediate(R){const{delegate:l}=gt;return(l?.clearImmediate||K)(R)},delegate:void 0};var ut=c(2631);const At=new class yt extends ut.v{flush(l){this._active=!0;const a=this._scheduled;this._scheduled=void 0;const{actions:h}=this;let v;l=l||h.shift();do{if(v=l.execute(l.state,l.delay))break}while((l=h[0])&&l.id===a&&h.shift());if(this._active=!1,v){for(;(l=h[0])&&l.id===a&&h.shift();)l.unsubscribe();throw v}}}(class Q extends G.o{constructor(l,a){super(l,a),this.scheduler=l,this.work=a}requestAsyncId(l,a,h=0){return null!==h&&h>0?super.requestAsyncId(l,a,h):(l.actions.push(this),l._scheduled||(l._scheduled=gt.setImmediate(l.flush.bind(l,void 0))))}recycleAsyncId(l,a,h=0){var v;if(null!=h?h>0:this.delay>0)return super.recycleAsyncId(l,a,h);const{actions:D}=l;null!=a&&(null===(v=D[D.length-1])||void 0===v?void 0:v.id)!==a&&(gt.clearImmediate(a),l._scheduled===a&&(l._scheduled=void 0))}});var Zt=c(7921),ie=c(4664),re=c(8180),fe=c(9773),ue=c(2181),Pt=c(932),Qt=c(6814),Pe=c(3680);class we{attach(l){return this._attachedHost=l,l.attach(this)}detach(){let l=this._attachedHost;null!=l&&(this._attachedHost=null,l.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(l){this._attachedHost=l}}class Jt extends we{constructor(l,a,h,v,D){super(),this.component=l,this.viewContainerRef=a,this.injector=h,this.componentFactoryResolver=v,this.projectableNodes=D}}class Ee extends we{constructor(l,a,h,v){super(),this.templateRef=l,this.viewContainerRef=a,this.context=h,this.injector=v}get origin(){return this.templateRef.elementRef}attach(l,a=this.context){return this.context=a,super.attach(l)}detach(){return this.context=void 0,super.detach()}}class We extends we{constructor(l){super(),this.element=l instanceof t.SBq?l.nativeElement:l}}class Ue{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(l){return l instanceof Jt?(this._attachedPortal=l,this.attachComponentPortal(l)):l instanceof Ee?(this._attachedPortal=l,this.attachTemplatePortal(l)):this.attachDomPortal&&l instanceof We?(this._attachedPortal=l,this.attachDomPortal(l)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(l){this._disposeFn=l}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Ct extends Ue{constructor(l,a,h,v,D){super(),this.outletElement=l,this._componentFactoryResolver=a,this._appRef=h,this._defaultInjector=v,this.attachDomPortal=J=>{const _t=J.element,Mt=this._document.createComment("dom-portal");_t.parentNode.insertBefore(Mt,_t),this.outletElement.appendChild(_t),this._attachedPortal=J,super.setDisposeFn(()=>{Mt.parentNode&&Mt.parentNode.replaceChild(_t,Mt)})},this._document=D}attachComponentPortal(l){const h=(l.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(l.component);let v;return l.viewContainerRef?(v=l.viewContainerRef.createComponent(h,l.viewContainerRef.length,l.injector||l.viewContainerRef.injector,l.projectableNodes||void 0),this.setDisposeFn(()=>v.destroy())):(v=h.create(l.injector||this._defaultInjector||t.zs3.NULL),this._appRef.attachView(v.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(v.hostView),v.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(v)),this._attachedPortal=l,v}attachTemplatePortal(l){let a=l.viewContainerRef,h=a.createEmbeddedView(l.templateRef,l.context,{injector:l.injector});return h.rootNodes.forEach(v=>this.outletElement.appendChild(v)),h.detectChanges(),this.setDisposeFn(()=>{let v=a.indexOf(h);-1!==v&&a.remove(v)}),this._attachedPortal=l,h}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(l){return l.hostView.rootNodes[0]}}let Vt=(()=>{class R{static#t=this.\u0275fac=function(h){return new(h||R)};static#e=this.\u0275mod=t.oAB({type:R});static#n=this.\u0275inj=t.cJS({})}return R})();var te=c(6825),ee=c(9388),It=c(2495),Ht=c(5592),de=c(2438),Qe=(c(927),c(6321)),o1=c(9360),_e=c(4829),Me=c(8251),s1=c(9080);function Ye(R,l=Qe.z){return function me(R){return(0,o1.e)((l,a)=>{let h=!1,v=null,D=null,J=!1;const _t=()=>{if(D?.unsubscribe(),D=null,h){h=!1;const St=v;v=null,a.next(St)}J&&a.complete()},Mt=()=>{D=null,J&&a.complete()};l.subscribe((0,Me.x)(a,St=>{h=!0,v=St,D||(0,_e.Xf)(R(St)).subscribe(D=(0,Me.x)(a,_t,Mt))},()=>{J=!0,(!h||!D||D.closed)&&a.complete()}))})}(()=>(0,s1.H)(R,l))}var ce=c(2831);let Ne=(()=>{class R{constructor(a,h,v){this._ngZone=a,this._platform=h,this._scrolled=new T.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=v}register(a){this.scrollContainers.has(a)||this.scrollContainers.set(a,a.elementScrolled().subscribe(()=>this._scrolled.next(a)))}deregister(a){const h=this.scrollContainers.get(a);h&&(h.unsubscribe(),this.scrollContainers.delete(a))}scrolled(a=20){return this._platform.isBrowser?new Ht.y(h=>{this._globalSubscription||this._addGlobalListener();const v=a>0?this._scrolled.pipe(Ye(a)).subscribe(h):this._scrolled.subscribe(h);return this._scrolledCount++,()=>{v.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,L.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((a,h)=>this.deregister(h)),this._scrolled.complete()}ancestorScrolled(a,h){const v=this.getAncestorScrollContainers(a);return this.scrolled(h).pipe((0,ue.h)(D=>!D||v.indexOf(D)>-1))}getAncestorScrollContainers(a){const h=[];return this.scrollContainers.forEach((v,D)=>{this._scrollableContainsElement(D,a)&&h.push(D)}),h}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(a,h){let v=(0,It.fI)(h),D=a.getElementRef().nativeElement;do{if(v==D)return!0}while(v=v.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const a=this._getWindow();return(0,de.R)(a.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#t=this.\u0275fac=function(h){return new(h||R)(t.LFG(t.R0b),t.LFG(ce.t4),t.LFG(Qt.K0,8))};static#e=this.\u0275prov=t.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})(),Te=(()=>{class R{constructor(a,h,v){this._platform=a,this._change=new T.x,this._changeListener=D=>{this._change.next(D)},this._document=v,h.runOutsideAngular(()=>{if(a.isBrowser){const D=this._getWindow();D.addEventListener("resize",this._changeListener),D.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const a=this._getWindow();a.removeEventListener("resize",this._changeListener),a.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const a={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),a}getViewportRect(){const a=this.getViewportScrollPosition(),{width:h,height:v}=this.getViewportSize();return{top:a.top,left:a.left,bottom:a.top+v,right:a.left+h,height:v,width:h}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const a=this._document,h=this._getWindow(),v=a.documentElement,D=v.getBoundingClientRect();return{top:-D.top||a.body.scrollTop||h.scrollY||v.scrollTop||0,left:-D.left||a.body.scrollLeft||h.scrollX||v.scrollLeft||0}}change(a=20){return a>0?this._change.pipe(Ye(a)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const a=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:a.innerWidth,height:a.innerHeight}:{width:0,height:0}}static#t=this.\u0275fac=function(h){return new(h||R)(t.LFG(ce.t4),t.LFG(t.R0b),t.LFG(Qt.K0,8))};static#e=this.\u0275prov=t.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})(),se=(()=>{class R{static#t=this.\u0275fac=function(h){return new(h||R)};static#e=this.\u0275mod=t.oAB({type:R});static#n=this.\u0275inj=t.cJS({})}return R})(),t1=(()=>{class R{static#t=this.\u0275fac=function(h){return new(h||R)};static#e=this.\u0275mod=t.oAB({type:R});static#n=this.\u0275inj=t.cJS({imports:[ee.vT,se,ee.vT,se]})}return R})();const Je=(0,ce.Mq)();class y1{constructor(l,a){this._viewportRuler=l,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=a}attach(){}enable(){if(this._canBeEnabled()){const l=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=l.style.left||"",this._previousHTMLStyles.top=l.style.top||"",l.style.left=(0,It.HM)(-this._previousScrollPosition.left),l.style.top=(0,It.HM)(-this._previousScrollPosition.top),l.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const l=this._document.documentElement,h=l.style,v=this._document.body.style,D=h.scrollBehavior||"",J=v.scrollBehavior||"";this._isEnabled=!1,h.left=this._previousHTMLStyles.left,h.top=this._previousHTMLStyles.top,l.classList.remove("cdk-global-scrollblock"),Je&&(h.scrollBehavior=v.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Je&&(h.scrollBehavior=D,v.scrollBehavior=J)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const a=this._document.body,h=this._viewportRuler.getViewportSize();return a.scrollHeight>h.height||a.scrollWidth>h.width}}class B{constructor(l,a,h,v){this._scrollDispatcher=l,this._ngZone=a,this._viewportRuler=h,this._config=v,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(l){this._overlayRef=l}enable(){if(this._scrollSubscription)return;const l=this._scrollDispatcher.scrolled(0).pipe((0,ue.h)(a=>!a||!this._overlayRef.overlayElement.contains(a.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=l.subscribe(()=>{const a=this._viewportRuler.getViewportScrollPosition().top;Math.abs(a-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=l.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class C{enable(){}disable(){}attach(){}}function N(R,l){return l.some(a=>R.bottoma.bottom||R.righta.right)}function tt(R,l){return l.some(a=>R.topa.bottom||R.lefta.right)}class ht{constructor(l,a,h,v){this._scrollDispatcher=l,this._viewportRuler=a,this._ngZone=h,this._config=v,this._scrollSubscription=null}attach(l){this._overlayRef=l}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const a=this._overlayRef.overlayElement.getBoundingClientRect(),{width:h,height:v}=this._viewportRuler.getViewportSize();N(a,[{width:h,height:v,bottom:v,right:h,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Ot=(()=>{class R{constructor(a,h,v,D){this._scrollDispatcher=a,this._viewportRuler=h,this._ngZone=v,this.noop=()=>new C,this.close=J=>new B(this._scrollDispatcher,this._ngZone,this._viewportRuler,J),this.block=()=>new y1(this._viewportRuler,this._document),this.reposition=J=>new ht(this._scrollDispatcher,this._viewportRuler,this._ngZone,J),this._document=D}static#t=this.\u0275fac=function(h){return new(h||R)(t.LFG(Ne),t.LFG(Te),t.LFG(t.R0b),t.LFG(Qt.K0))};static#e=this.\u0275prov=t.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})();class Gt{constructor(l){if(this.scrollStrategy=new C,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,l){const a=Object.keys(l);for(const h of a)void 0!==l[h]&&(this[h]=l[h])}}}class Y1{constructor(l,a){this.connectionPair=l,this.scrollableViewProperties=a}}let k1=(()=>{class R{constructor(a){this._attachedOverlays=[],this._document=a}ngOnDestroy(){this.detach()}add(a){this.remove(a),this._attachedOverlays.push(a)}remove(a){const h=this._attachedOverlays.indexOf(a);h>-1&&this._attachedOverlays.splice(h,1),0===this._attachedOverlays.length&&this.detach()}static#t=this.\u0275fac=function(h){return new(h||R)(t.LFG(Qt.K0))};static#e=this.\u0275prov=t.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})(),I1=(()=>{class R extends k1{constructor(a,h){super(a),this._ngZone=h,this._keydownListener=v=>{const D=this._attachedOverlays;for(let J=D.length-1;J>-1;J--)if(D[J]._keydownEvents.observers.length>0){const _t=D[J]._keydownEvents;this._ngZone?this._ngZone.run(()=>_t.next(v)):_t.next(v);break}}}add(a){super.add(a),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#t=this.\u0275fac=function(h){return new(h||R)(t.LFG(Qt.K0),t.LFG(t.R0b,8))};static#e=this.\u0275prov=t.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})(),p=(()=>{class R extends k1{constructor(a,h,v){super(a),this._platform=h,this._ngZone=v,this._cursorStyleIsSet=!1,this._pointerDownListener=D=>{this._pointerDownEventTarget=(0,ce.sA)(D)},this._clickListener=D=>{const J=(0,ce.sA)(D),_t="click"===D.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:J;this._pointerDownEventTarget=null;const Mt=this._attachedOverlays.slice();for(let St=Mt.length-1;St>-1;St--){const Dt=Mt[St];if(Dt._outsidePointerEvents.observers.length<1||!Dt.hasAttached())continue;if(Dt.overlayElement.contains(J)||Dt.overlayElement.contains(_t))break;const qt=Dt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>qt.next(D)):qt.next(D)}}}add(a){if(super.add(a),!this._isAttached){const h=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(h)):this._addEventListeners(h),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=h.style.cursor,h.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const a=this._document.body;a.removeEventListener("pointerdown",this._pointerDownListener,!0),a.removeEventListener("click",this._clickListener,!0),a.removeEventListener("auxclick",this._clickListener,!0),a.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(a.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(a){a.addEventListener("pointerdown",this._pointerDownListener,!0),a.addEventListener("click",this._clickListener,!0),a.addEventListener("auxclick",this._clickListener,!0),a.addEventListener("contextmenu",this._clickListener,!0)}static#t=this.\u0275fac=function(h){return new(h||R)(t.LFG(Qt.K0),t.LFG(ce.t4),t.LFG(t.R0b,8))};static#e=this.\u0275prov=t.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})(),w=(()=>{class R{constructor(a,h){this._platform=h,this._document=a}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const a="cdk-overlay-container";if(this._platform.isBrowser||(0,ce.Oy)()){const v=this._document.querySelectorAll(`.${a}[platform="server"], .${a}[platform="test"]`);for(let D=0;Dthis._backdropClick.next(qt),this._backdropTransitionendHandler=qt=>{this._disposeBackdrop(qt.target)},this._keydownEvents=new T.x,this._outsidePointerEvents=new T.x,v.scrollStrategy&&(this._scrollStrategy=v.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=v.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(l){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const a=this._portalOutlet.attach(l);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,re.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof a?.onDestroy&&a.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),a}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const l=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),l}dispose(){const l=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,l&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(l){l!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=l,this.hasAttached()&&(l.attach(this),this.updatePosition()))}updateSize(l){this._config={...this._config,...l},this._updateElementSize()}setDirection(l){this._config={...this._config,direction:l},this._updateElementDirection()}addPanelClass(l){this._pane&&this._toggleClasses(this._pane,l,!0)}removePanelClass(l){this._pane&&this._toggleClasses(this._pane,l,!1)}getDirection(){const l=this._config.direction;return l?"string"==typeof l?l:l.value:"ltr"}updateScrollStrategy(l){l!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=l,this.hasAttached()&&(l.attach(this),l.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const l=this._pane.style;l.width=(0,It.HM)(this._config.width),l.height=(0,It.HM)(this._config.height),l.minWidth=(0,It.HM)(this._config.minWidth),l.minHeight=(0,It.HM)(this._config.minHeight),l.maxWidth=(0,It.HM)(this._config.maxWidth),l.maxHeight=(0,It.HM)(this._config.maxHeight)}_togglePointerEvents(l){this._pane.style.pointerEvents=l?"":"none"}_attachBackdrop(){const l="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(l)})}):this._backdropElement.classList.add(l)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const l=this._backdropElement;if(l){if(this._animationsDisabled)return void this._disposeBackdrop(l);l.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{l.addEventListener("transitionend",this._backdropTransitionendHandler)}),l.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(l)},500))}}_toggleClasses(l,a,h){const v=(0,It.Eq)(a||[]).filter(D=>!!D);v.length&&(h?l.classList.add(...v):l.classList.remove(...v))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const l=this._ngZone.onStable.pipe((0,fe.R)((0,x.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),l.unsubscribe())})})}_disposeScrollStrategy(){const l=this._scrollStrategy;l&&(l.disable(),l.detach&&l.detach())}_disposeBackdrop(l){l&&(l.removeEventListener("click",this._backdropClickHandler),l.removeEventListener("transitionend",this._backdropTransitionendHandler),l.remove(),this._backdropElement===l&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const z="cdk-overlay-connected-position-bounding-box",X=/([A-Za-z%]+)$/;class et{get positions(){return this._preferredPositions}constructor(l,a,h,v,D){this._viewportRuler=a,this._document=h,this._platform=v,this._overlayContainer=D,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new T.x,this._resizeSubscription=H.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(l)}attach(l){this._validatePositions(),l.hostElement.classList.add(z),this._overlayRef=l,this._boundingBox=l.hostElement,this._pane=l.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const l=this._originRect,a=this._overlayRect,h=this._viewportRect,v=this._containerRect,D=[];let J;for(let _t of this._preferredPositions){let Mt=this._getOriginPoint(l,v,_t),St=this._getOverlayPoint(Mt,a,_t),Dt=this._getOverlayFit(St,a,h,_t);if(Dt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(_t,Mt);this._canFitWithFlexibleDimensions(Dt,St,h)?D.push({position:_t,origin:Mt,overlayRect:a,boundingBoxRect:this._calculateBoundingBoxRect(Mt,_t)}):(!J||J.overlayFit.visibleAreaMt&&(Mt=Dt,_t=St)}return this._isPushed=!1,void this._applyPosition(_t.position,_t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(J.position,J.originPoint);this._applyPosition(J.position,J.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&st(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(z),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const l=this._lastPosition;if(l){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const a=this._getOriginPoint(this._originRect,this._containerRect,l);this._applyPosition(l,a)}else this.apply()}withScrollableContainers(l){return this._scrollables=l,this}withPositions(l){return this._preferredPositions=l,-1===l.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(l){return this._viewportMargin=l,this}withFlexibleDimensions(l=!0){return this._hasFlexibleDimensions=l,this}withGrowAfterOpen(l=!0){return this._growAfterOpen=l,this}withPush(l=!0){return this._canPush=l,this}withLockedPosition(l=!0){return this._positionLocked=l,this}setOrigin(l){return this._origin=l,this}withDefaultOffsetX(l){return this._offsetX=l,this}withDefaultOffsetY(l){return this._offsetY=l,this}withTransformOriginOn(l){return this._transformOriginSelector=l,this}_getOriginPoint(l,a,h){let v,D;if("center"==h.originX)v=l.left+l.width/2;else{const J=this._isRtl()?l.right:l.left,_t=this._isRtl()?l.left:l.right;v="start"==h.originX?J:_t}return a.left<0&&(v-=a.left),D="center"==h.originY?l.top+l.height/2:"top"==h.originY?l.top:l.bottom,a.top<0&&(D-=a.top),{x:v,y:D}}_getOverlayPoint(l,a,h){let v,D;return v="center"==h.overlayX?-a.width/2:"start"===h.overlayX?this._isRtl()?-a.width:0:this._isRtl()?0:-a.width,D="center"==h.overlayY?-a.height/2:"top"==h.overlayY?0:-a.height,{x:l.x+v,y:l.y+D}}_getOverlayFit(l,a,h,v){const D=bt(a);let{x:J,y:_t}=l,Mt=this._getOffset(v,"x"),St=this._getOffset(v,"y");Mt&&(J+=Mt),St&&(_t+=St);let Fe=0-_t,He=_t+D.height-h.height,Ve=this._subtractOverflows(D.width,0-J,J+D.width-h.width),v1=this._subtractOverflows(D.height,Fe,He),L1=Ve*v1;return{visibleArea:L1,isCompletelyWithinViewport:D.width*D.height===L1,fitsInViewportVertically:v1===D.height,fitsInViewportHorizontally:Ve==D.width}}_canFitWithFlexibleDimensions(l,a,h){if(this._hasFlexibleDimensions){const v=h.bottom-a.y,D=h.right-a.x,J=lt(this._overlayRef.getConfig().minHeight),_t=lt(this._overlayRef.getConfig().minWidth);return(l.fitsInViewportVertically||null!=J&&J<=v)&&(l.fitsInViewportHorizontally||null!=_t&&_t<=D)}return!1}_pushOverlayOnScreen(l,a,h){if(this._previousPushAmount&&this._positionLocked)return{x:l.x+this._previousPushAmount.x,y:l.y+this._previousPushAmount.y};const v=bt(a),D=this._viewportRect,J=Math.max(l.x+v.width-D.width,0),_t=Math.max(l.y+v.height-D.height,0),Mt=Math.max(D.top-h.top-l.y,0),St=Math.max(D.left-h.left-l.x,0);let Dt=0,qt=0;return Dt=v.width<=D.width?St||-J:l.xVe&&!this._isInitialRender&&!this._growAfterOpen&&(J=l.y-Ve/2)}if("end"===a.overlayX&&!v||"start"===a.overlayX&&v)Fe=h.width-l.x+this._viewportMargin,Dt=l.x-this._viewportMargin;else if("start"===a.overlayX&&!v||"end"===a.overlayX&&v)qt=l.x,Dt=h.right-l.x;else{const He=Math.min(h.right-l.x+h.left,l.x),Ve=this._lastBoundingBoxSize.width;Dt=2*He,qt=l.x-He,Dt>Ve&&!this._isInitialRender&&!this._growAfterOpen&&(qt=l.x-Ve/2)}return{top:J,left:qt,bottom:_t,right:Fe,width:Dt,height:D}}_setBoundingBoxStyles(l,a){const h=this._calculateBoundingBoxRect(l,a);!this._isInitialRender&&!this._growAfterOpen&&(h.height=Math.min(h.height,this._lastBoundingBoxSize.height),h.width=Math.min(h.width,this._lastBoundingBoxSize.width));const v={};if(this._hasExactPosition())v.top=v.left="0",v.bottom=v.right=v.maxHeight=v.maxWidth="",v.width=v.height="100%";else{const D=this._overlayRef.getConfig().maxHeight,J=this._overlayRef.getConfig().maxWidth;v.height=(0,It.HM)(h.height),v.top=(0,It.HM)(h.top),v.bottom=(0,It.HM)(h.bottom),v.width=(0,It.HM)(h.width),v.left=(0,It.HM)(h.left),v.right=(0,It.HM)(h.right),v.alignItems="center"===a.overlayX?"center":"end"===a.overlayX?"flex-end":"flex-start",v.justifyContent="center"===a.overlayY?"center":"bottom"===a.overlayY?"flex-end":"flex-start",D&&(v.maxHeight=(0,It.HM)(D)),J&&(v.maxWidth=(0,It.HM)(J))}this._lastBoundingBoxSize=h,st(this._boundingBox.style,v)}_resetBoundingBoxStyles(){st(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){st(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(l,a){const h={},v=this._hasExactPosition(),D=this._hasFlexibleDimensions,J=this._overlayRef.getConfig();if(v){const Dt=this._viewportRuler.getViewportScrollPosition();st(h,this._getExactOverlayY(a,l,Dt)),st(h,this._getExactOverlayX(a,l,Dt))}else h.position="static";let _t="",Mt=this._getOffset(a,"x"),St=this._getOffset(a,"y");Mt&&(_t+=`translateX(${Mt}px) `),St&&(_t+=`translateY(${St}px)`),h.transform=_t.trim(),J.maxHeight&&(v?h.maxHeight=(0,It.HM)(J.maxHeight):D&&(h.maxHeight="")),J.maxWidth&&(v?h.maxWidth=(0,It.HM)(J.maxWidth):D&&(h.maxWidth="")),st(this._pane.style,h)}_getExactOverlayY(l,a,h){let v={top:"",bottom:""},D=this._getOverlayPoint(a,this._overlayRect,l);return this._isPushed&&(D=this._pushOverlayOnScreen(D,this._overlayRect,h)),"bottom"===l.overlayY?v.bottom=this._document.documentElement.clientHeight-(D.y+this._overlayRect.height)+"px":v.top=(0,It.HM)(D.y),v}_getExactOverlayX(l,a,h){let J,v={left:"",right:""},D=this._getOverlayPoint(a,this._overlayRect,l);return this._isPushed&&(D=this._pushOverlayOnScreen(D,this._overlayRect,h)),J=this._isRtl()?"end"===l.overlayX?"left":"right":"end"===l.overlayX?"right":"left","right"===J?v.right=this._document.documentElement.clientWidth-(D.x+this._overlayRect.width)+"px":v.left=(0,It.HM)(D.x),v}_getScrollVisibility(){const l=this._getOriginRect(),a=this._pane.getBoundingClientRect(),h=this._scrollables.map(v=>v.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:tt(l,h),isOriginOutsideView:N(l,h),isOverlayClipped:tt(a,h),isOverlayOutsideView:N(a,h)}}_subtractOverflows(l,...a){return a.reduce((h,v)=>h-Math.max(v,0),l)}_getNarrowedViewportRect(){const l=this._document.documentElement.clientWidth,a=this._document.documentElement.clientHeight,h=this._viewportRuler.getViewportScrollPosition();return{top:h.top+this._viewportMargin,left:h.left+this._viewportMargin,right:h.left+l-this._viewportMargin,bottom:h.top+a-this._viewportMargin,width:l-2*this._viewportMargin,height:a-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(l,a){return"x"===a?null==l.offsetX?this._offsetX:l.offsetX:null==l.offsetY?this._offsetY:l.offsetY}_validatePositions(){}_addPanelClasses(l){this._pane&&(0,It.Eq)(l).forEach(a=>{""!==a&&-1===this._appliedPanelClasses.indexOf(a)&&(this._appliedPanelClasses.push(a),this._pane.classList.add(a))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(l=>{this._pane.classList.remove(l)}),this._appliedPanelClasses=[])}_getOriginRect(){const l=this._origin;if(l instanceof t.SBq)return l.nativeElement.getBoundingClientRect();if(l instanceof Element)return l.getBoundingClientRect();const a=l.width||0,h=l.height||0;return{top:l.y,bottom:l.y+h,left:l.x,right:l.x+a,height:h,width:a}}}function st(R,l){for(let a in l)l.hasOwnProperty(a)&&(R[a]=l[a]);return R}function lt(R){if("number"!=typeof R&&null!=R){const[l,a]=R.split(X);return a&&"px"!==a?null:parseFloat(l)}return R||null}function bt(R){return{top:Math.floor(R.top),right:Math.floor(R.right),bottom:Math.floor(R.bottom),left:Math.floor(R.left),width:Math.floor(R.width),height:Math.floor(R.height)}}const le="cdk-global-overlay-wrapper";class Re{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(l){const a=l.getConfig();this._overlayRef=l,this._width&&!a.width&&l.updateSize({width:this._width}),this._height&&!a.height&&l.updateSize({height:this._height}),l.hostElement.classList.add(le),this._isDisposed=!1}top(l=""){return this._bottomOffset="",this._topOffset=l,this._alignItems="flex-start",this}left(l=""){return this._xOffset=l,this._xPosition="left",this}bottom(l=""){return this._topOffset="",this._bottomOffset=l,this._alignItems="flex-end",this}right(l=""){return this._xOffset=l,this._xPosition="right",this}start(l=""){return this._xOffset=l,this._xPosition="start",this}end(l=""){return this._xOffset=l,this._xPosition="end",this}width(l=""){return this._overlayRef?this._overlayRef.updateSize({width:l}):this._width=l,this}height(l=""){return this._overlayRef?this._overlayRef.updateSize({height:l}):this._height=l,this}centerHorizontally(l=""){return this.left(l),this._xPosition="center",this}centerVertically(l=""){return this.top(l),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const l=this._overlayRef.overlayElement.style,a=this._overlayRef.hostElement.style,h=this._overlayRef.getConfig(),{width:v,height:D,maxWidth:J,maxHeight:_t}=h,Mt=!("100%"!==v&&"100vw"!==v||J&&"100%"!==J&&"100vw"!==J),St=!("100%"!==D&&"100vh"!==D||_t&&"100%"!==_t&&"100vh"!==_t),Dt=this._xPosition,qt=this._xOffset,Fe="rtl"===this._overlayRef.getConfig().direction;let He="",Ve="",v1="";Mt?v1="flex-start":"center"===Dt?(v1="center",Fe?Ve=qt:He=qt):Fe?"left"===Dt||"end"===Dt?(v1="flex-end",He=qt):("right"===Dt||"start"===Dt)&&(v1="flex-start",Ve=qt):"left"===Dt||"start"===Dt?(v1="flex-start",He=qt):("right"===Dt||"end"===Dt)&&(v1="flex-end",Ve=qt),l.position=this._cssPosition,l.marginLeft=Mt?"0":He,l.marginTop=St?"0":this._topOffset,l.marginBottom=this._bottomOffset,l.marginRight=Mt?"0":Ve,a.justifyContent=v1,a.alignItems=St?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const l=this._overlayRef.overlayElement.style,a=this._overlayRef.hostElement,h=a.style;a.classList.remove(le),h.justifyContent=h.alignItems=l.marginTop=l.marginBottom=l.marginLeft=l.marginRight=l.position="",this._overlayRef=null,this._isDisposed=!0}}let Oe=(()=>{class R{constructor(a,h,v,D){this._viewportRuler=a,this._document=h,this._platform=v,this._overlayContainer=D}global(){return new Re}flexibleConnectedTo(a){return new et(a,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#t=this.\u0275fac=function(h){return new(h||R)(t.LFG(Te),t.LFG(Qt.K0),t.LFG(ce.t4),t.LFG(w))};static#e=this.\u0275prov=t.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})(),qe=0,e1=(()=>{class R{constructor(a,h,v,D,J,_t,Mt,St,Dt,qt,Fe,He){this.scrollStrategies=a,this._overlayContainer=h,this._componentFactoryResolver=v,this._positionBuilder=D,this._keyboardDispatcher=J,this._injector=_t,this._ngZone=Mt,this._document=St,this._directionality=Dt,this._location=qt,this._outsideClickDispatcher=Fe,this._animationsModuleType=He}create(a){const h=this._createHostElement(),v=this._createPaneElement(h),D=this._createPortalOutlet(v),J=new Gt(a);return J.direction=J.direction||this._directionality.value,new f(D,h,v,J,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(a){const h=this._document.createElement("div");return h.id="cdk-overlay-"+qe++,h.classList.add("cdk-overlay-pane"),a.appendChild(h),h}_createHostElement(){const a=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(a),a}_createPortalOutlet(a){return this._appRef||(this._appRef=this._injector.get(t.z2F)),new Ct(a,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#t=this.\u0275fac=function(h){return new(h||R)(t.LFG(Ot),t.LFG(w),t.LFG(t._Vd),t.LFG(Oe),t.LFG(I1),t.LFG(t.zs3),t.LFG(t.R0b),t.LFG(Qt.K0),t.LFG(ee.Is),t.LFG(Qt.Ye),t.LFG(p),t.LFG(t.QbO,8))};static#e=this.\u0275prov=t.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})();const yn={provide:new t.OlP("cdk-connected-overlay-scroll-strategy"),deps:[e1],useFactory:function dn(R){return()=>R.scrollStrategies.reposition()}};let Hn=(()=>{class R{static#t=this.\u0275fac=function(h){return new(h||R)};static#e=this.\u0275mod=t.oAB({type:R});static#n=this.\u0275inj=t.cJS({providers:[e1,yn],imports:[ee.vT,Vt,t1,t1]})}return R})();const Fn=["mat-menu-item",""];function hn(R,l){1&R&&(t.O4$(),t.TgZ(0,"svg",3),t._UZ(1,"polygon",4),t.qZA())}const G1=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],kn=["mat-icon, [matMenuItemIcon]","*"];function Cn(R,l){if(1&R){const a=t.EpF();t.TgZ(0,"div",0),t.NdJ("keydown",function(v){t.CHM(a);const D=t.oxw();return t.KtG(D._handleKeydown(v))})("click",function(){t.CHM(a);const v=t.oxw();return t.KtG(v.closed.emit("click"))})("@transformMenu.start",function(v){t.CHM(a);const D=t.oxw();return t.KtG(D._onAnimationStart(v))})("@transformMenu.done",function(v){t.CHM(a);const D=t.oxw();return t.KtG(D._onAnimationDone(v))}),t.TgZ(1,"div",1),t.Hsn(2),t.qZA()()}if(2&R){const a=t.oxw();t.Q6J("id",a.panelId)("ngClass",a._classList)("@transformMenu",a._panelAnimationState),t.uIk("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby||null)("aria-describedby",a.ariaDescribedby||null)}}const Sn=["*"],$1=new t.OlP("MAT_MENU_PANEL");let J1=(()=>{class R{constructor(a,h,v,D,J){this._elementRef=a,this._document=h,this._focusMonitor=v,this._parentMenu=D,this._changeDetectorRef=J,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new T.x,this._focused=new T.x,this._highlighted=!1,this._triggersSubmenu=!1,D?.addItem?.(this)}focus(a,h){this._focusMonitor&&a?this._focusMonitor.focusVia(this._getHostElement(),a,h):this._getHostElement().focus(h),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(a){this.disabled&&(a.preventDefault(),a.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const a=this._elementRef.nativeElement.cloneNode(!0),h=a.querySelectorAll("mat-icon, .material-icons");for(let v=0;v enter",(0,te.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,te.oB)({opacity:1,transform:"scale(1)"}))),(0,te.eR)("* => void",(0,te.jt)("100ms 25ms linear",(0,te.oB)({opacity:0})))]),fadeInItems:(0,te.X$)("fadeInItems",[(0,te.SB)("showing",(0,te.oB)({opacity:1})),(0,te.eR)("void => *",[(0,te.oB)({opacity:0}),(0,te.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let $n=0;const wi=new t.OlP("mat-menu-default-options",{providedIn:"root",factory:function _i(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Z1=(()=>{class R{get xPosition(){return this._xPosition}set xPosition(a){this._xPosition=a,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(a){this._yPosition=a,this.setPositionClasses()}set panelClass(a){const h=this._previousPanelClass;h&&h.length&&h.split(" ").forEach(v=>{this._classList[v]=!1}),this._previousPanelClass=a,a&&a.length&&(a.split(" ").forEach(v=>{this._classList[v]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(a){this.panelClass=a}constructor(a,h,v,D){this._elementRef=a,this._ngZone=h,this._changeDetectorRef=D,this._elevationPrefix="mat-elevation-z",this._baseElevation=8,this._directDescendantItems=new t.n_E,this._classList={},this._panelAnimationState="void",this._animationDone=new T.x,this.closed=new t.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+$n++,this.overlayPanelClass=v.overlayPanelClass||"",this._xPosition=v.xPosition,this._yPosition=v.yPosition,this.backdropClass=v.backdropClass,this.overlapTrigger=v.overlapTrigger,this.hasBackdrop=v.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new _.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,Zt.O)(this._directDescendantItems),(0,ie.w)(a=>(0,x.T)(...a.map(h=>h._focused)))).subscribe(a=>this._keyManager.updateActiveItem(a)),this._directDescendantItems.changes.subscribe(a=>{const h=this._keyManager;if("enter"===this._panelAnimationState&&h.activeItem?._hasFocus()){const v=a.toArray(),D=Math.max(0,Math.min(v.length-1,h.activeItemIndex||0));v[D]&&!v[D].disabled?h.setActiveItem(D):h.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,Zt.O)(this._directDescendantItems),(0,ie.w)(h=>(0,x.T)(...h.map(v=>v._hovered))))}addItem(a){}removeItem(a){}_handleKeydown(a){const h=a.keyCode,v=this._keyManager;switch(h){case k.hY:(0,k.Vb)(a)||(a.preventDefault(),this.closed.emit("keydown"));break;case k.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case k.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(h===k.LH||h===k.JH)&&v.setFocusOrigin("keyboard"),void v.onKeydown(a)}a.stopPropagation()}focusFirstItem(a="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,re.q)(1)).subscribe(()=>{let h=null;if(this._directDescendantItems.length&&(h=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!h||!h.contains(document.activeElement)){const v=this._keyManager;v.setFocusOrigin(a).setFirstItemActive(),!v.activeItem&&h&&h.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(a){const h=Math.min(this._baseElevation+a,24),v=`${this._elevationPrefix}${h}`,D=Object.keys(this._classList).find(J=>J.startsWith(this._elevationPrefix));(!D||D===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[v]=!0,this._previousElevation=v)}setPositionClasses(a=this.xPosition,h=this.yPosition){const v=this._classList;v["mat-menu-before"]="before"===a,v["mat-menu-after"]="after"===a,v["mat-menu-above"]="above"===h,v["mat-menu-below"]="below"===h,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(a){this._animationDone.next(a),this._isAnimating=!1}_onAnimationStart(a){this._isAnimating=!0,"enter"===a.toState&&0===this._keyManager.activeItemIndex&&(a.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,Zt.O)(this._allItems)).subscribe(a=>{this._directDescendantItems.reset(a.filter(h=>h._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static#t=this.\u0275fac=function(h){return new(h||R)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(wi),t.Y36(t.sBO))};static#e=this.\u0275cmp=t.Xpm({type:R,selectors:[["mat-menu"]],contentQueries:function(h,v,D){if(1&h&&(t.Suo(D,S1,5),t.Suo(D,J1,5),t.Suo(D,J1,4)),2&h){let J;t.iGM(J=t.CRH())&&(v.lazyContent=J.first),t.iGM(J=t.CRH())&&(v._allItems=J),t.iGM(J=t.CRH())&&(v.items=J)}},viewQuery:function(h,v){if(1&h&&t.Gf(t.Rgc,5),2&h){let D;t.iGM(D=t.CRH())&&(v.templateRef=D.first)}},hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(h,v){2&h&&t.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:["overlapTrigger","overlapTrigger",t.VuI],hasBackdrop:["hasBackdrop","hasBackdrop",a=>null==a?null:(0,t.VuI)(a)],panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[t._Bn([{provide:$1,useExisting:R}]),t.Xq5],ngContentSelectors:Sn,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(h,v){1&h&&(t.F$t(),t.YNc(0,Cn,3,6,"ng-template"))},dependencies:[Qt.mk],styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[un.transformMenu,un.fadeInItems]},changeDetection:0})}return R})();const zn=new t.OlP("mat-menu-scroll-strategy"),Wn={provide:zn,deps:[e1],useFactory:function Zn(R){return()=>R.scrollStrategies.reposition()}},Tn=(0,ce.i$)({passive:!0});let pn=(()=>{class R{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(a){this.menu=a}get menu(){return this._menu}set menu(a){a!==this._menu&&(this._menu=a,this._menuCloseSubscription.unsubscribe(),a&&(this._menuCloseSubscription=a.close.subscribe(h=>{this._destroyMenu(h),("click"===h||"tab"===h)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(h)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(a,h,v,D,J,_t,Mt,St,Dt){this._overlay=a,this._element=h,this._viewContainerRef=v,this._menuItemInstance=_t,this._dir=Mt,this._focusMonitor=St,this._ngZone=Dt,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=H.w0.EMPTY,this._hoverSubscription=H.w0.EMPTY,this._menuCloseSubscription=H.w0.EMPTY,this._changeDetectorRef=(0,t.f3M)(t.sBO),this._handleTouchStart=qt=>{(0,_.yG)(qt)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new t.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new t.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=D,this._parentMaterialMenu=J instanceof Z1?J:void 0,h.nativeElement.addEventListener("touchstart",this._handleTouchStart,Tn)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Tn),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const a=this.menu;if(this._menuOpen||!a)return;const h=this._createOverlay(a),v=h.getConfig(),D=v.positionStrategy;this._setPosition(a,D),v.hasBackdrop=null==a.hasBackdrop?!this.triggersSubmenu():a.hasBackdrop,h.attach(this._getPortal(a)),a.lazyContent&&a.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(a),a instanceof Z1&&(a._startAnimation(),a._directDescendantItems.changes.pipe((0,fe.R)(a.close)).subscribe(()=>{D.withLockedPosition(!1).reapplyLastPosition(),D.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(a,h){this._focusMonitor&&a?this._focusMonitor.focusVia(this._element,a,h):this._element.nativeElement.focus(h)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(a){if(!this._overlayRef||!this.menuOpen)return;const h=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===a||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,h instanceof Z1?(h._resetAnimation(),h.lazyContent?h._animationDone.pipe((0,ue.h)(v=>"void"===v.toState),(0,re.q)(1),(0,fe.R)(h.lazyContent._attached)).subscribe({next:()=>h.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),h?.lazyContent?.detach())}_initMenu(a){a.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,a.direction=this.dir,this._setMenuElevation(a),a.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(a){if(a.setElevation){let h=0,v=a.parentMenu;for(;v;)h++,v=v.parentMenu;a.setElevation(h)}}_setIsMenuOpen(a){a!==this._menuOpen&&(this._menuOpen=a,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(a),this._changeDetectorRef.markForCheck())}_createOverlay(a){if(!this._overlayRef){const h=this._getOverlayConfig(a);this._subscribeToPositions(a,h.positionStrategy),this._overlayRef=this._overlay.create(h),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(a){return new Gt({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:a.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:a.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(a,h){a.setPositionClasses&&h.positionChanges.subscribe(v=>{const D="start"===v.connectionPair.overlayX?"after":"before",J="top"===v.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>a.setPositionClasses(D,J)):a.setPositionClasses(D,J)})}_setPosition(a,h){let[v,D]="before"===a.xPosition?["end","start"]:["start","end"],[J,_t]="above"===a.yPosition?["bottom","top"]:["top","bottom"],[Mt,St]=[J,_t],[Dt,qt]=[v,D],Fe=0;if(this.triggersSubmenu()){if(qt=v="before"===a.xPosition?"start":"end",D=Dt="end"===v?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const He=this._parentMaterialMenu.items.first;this._parentInnerPadding=He?He._getHostElement().offsetTop:0}Fe="bottom"===J?this._parentInnerPadding:-this._parentInnerPadding}}else a.overlapTrigger||(Mt="top"===J?"bottom":"top",St="top"===_t?"bottom":"top");h.withPositions([{originX:v,originY:Mt,overlayX:Dt,overlayY:J,offsetY:Fe},{originX:D,originY:Mt,overlayX:qt,overlayY:J,offsetY:Fe},{originX:v,originY:St,overlayX:Dt,overlayY:_t,offsetY:-Fe},{originX:D,originY:St,overlayX:qt,overlayY:_t,offsetY:-Fe}])}_menuClosingActions(){const a=this._overlayRef.backdropClick(),h=this._overlayRef.detachments(),v=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,L.of)(),D=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,ue.h)(J=>J!==this._menuItemInstance),(0,ue.h)(()=>this._menuOpen)):(0,L.of)();return(0,x.T)(a,v,D,h)}_handleMousedown(a){(0,_.X6)(a)||(this._openedBy=0===a.button?"mouse":void 0,this.triggersSubmenu()&&a.preventDefault())}_handleKeydown(a){const h=a.keyCode;(h===k.K5||h===k.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(h===k.SV&&"ltr"===this.dir||h===k.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(a){this.triggersSubmenu()?(a.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,ue.h)(a=>a===this._menuItemInstance&&!a.disabled),(0,Pt.g)(0,At)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Z1&&this.menu._isAnimating?this.menu._animationDone.pipe((0,re.q)(1),(0,Pt.g)(0,At),(0,fe.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(a){return(!this._portal||this._portal.templateRef!==a.templateRef)&&(this._portal=new Ee(a.templateRef,this._viewContainerRef)),this._portal}static#t=this.\u0275fac=function(h){return new(h||R)(t.Y36(e1),t.Y36(t.SBq),t.Y36(t.s_b),t.Y36(zn),t.Y36($1,8),t.Y36(J1,10),t.Y36(ee.Is,8),t.Y36(_.tE),t.Y36(t.R0b))};static#e=this.\u0275dir=t.lG2({type:R,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(h,v){1&h&&t.NdJ("click",function(J){return v._handleClick(J)})("mousedown",function(J){return v._handleMousedown(J)})("keydown",function(J){return v._handleKeydown(J)}),2&h&&t.uIk("aria-haspopup",v.menu?"menu":null)("aria-expanded",v.menuOpen)("aria-controls",v.menuOpen?v.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]})}return R})(),mn=(()=>{class R{static#t=this.\u0275fac=function(h){return new(h||R)};static#e=this.\u0275mod=t.oAB({type:R});static#n=this.\u0275inj=t.cJS({providers:[Wn],imports:[Qt.ez,Pe.si,Pe.BQ,Hn,se,Pe.BQ]})}return R})()},2914:(kt,ot,c)=>{c.d(ot,{o8:()=>as});var t=c(9212),_=c(5592),k=c(9773),L=c(6232),G=c(2096),E=c(8645),F=c(2438),Z=c(9080),I=c(3684),at=(c(3019),c(9278),c(5211)),gt=c(2181),Q=c(8180),ut=c(9397),yt=c(7398),At=c(2460),xt=c(932),Zt=c(1631),Pt=(c(4664),c(7921),c(3997),c(836),c(6814)),Pe=(c(6223),{left:"right",right:"left",bottom:"top",top:"bottom"});function Ze(n){return n.replace(/left|right|bottom|top/g,function(s){return Pe[s]})}function Ce(n){return n.split("-")[0]}var x1={start:"end",end:"start"};function d1(n){return n.replace(/start|end/g,function(s){return x1[s]})}var pe="top",Se="bottom",we="right",Jt="left",Ee="auto",We=[pe,Se,we,Jt],Ue="start",ct="end",O="viewport",P="popper",zt=We.reduce(function(n,s){return n.concat([s+"-"+Ue,s+"-"+ct])},[]),Ft=[].concat(We,[Ee]).reduce(function(n,s){return n.concat([s,s+"-"+Ue,s+"-"+ct])},[]),o1=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function _e(n){if(null==n)return window;if("[object Window]"!==n.toString()){var s=n.ownerDocument;return s&&s.defaultView||window}return n}function Me(n){return n instanceof _e(n).Element||n instanceof Element}function me(n){return n instanceof _e(n).HTMLElement||n instanceof HTMLElement}function s1(n){return!(typeof ShadowRoot>"u")&&(n instanceof _e(n).ShadowRoot||n instanceof ShadowRoot)}function Ye(n){return((Me(n)?n.ownerDocument:n.document)||window.document).documentElement}var ce=Math.max,Le=Math.min,p1=Math.round;function b1(){var n=navigator.userAgentData;return null!=n&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(s){return s.brand+"/"+s.version}).join(" "):navigator.userAgent}function h1(){return!/^((?!chrome|android).)*safari/i.test(b1())}function a1(n,s,e){void 0===s&&(s=!1),void 0===e&&(e=!1);var i=n.getBoundingClientRect(),o=1,r=1;s&&me(n)&&(o=n.offsetWidth>0&&p1(i.width)/n.offsetWidth||1,r=n.offsetHeight>0&&p1(i.height)/n.offsetHeight||1);var A=(Me(n)?_e(n):window).visualViewport,V=!h1()&&e,W=(i.left+(V&&A?A.offsetLeft:0))/o,q=(i.top+(V&&A?A.offsetTop:0))/r,ft=i.width/o,pt=i.height/r;return{width:ft,height:pt,top:q,right:W+ft,bottom:q+pt,left:W,x:W,y:q}}function M1(n){var s=_e(n);return{scrollLeft:s.pageXOffset,scrollTop:s.pageYOffset}}function r1(n){return a1(Ye(n)).left+M1(n).scrollLeft}function Be(n){return _e(n).getComputedStyle(n)}function Te(n){return n?(n.nodeName||"").toLowerCase():null}function m1(n){return"html"===Te(n)?n:n.assignedSlot||n.parentNode||(s1(n)?n.host:null)||Ye(n)}function c1(n){var s=Be(n);return/auto|scroll|overlay|hidden/.test(s.overflow+s.overflowY+s.overflowX)}function T1(n){return["html","body","#document"].indexOf(Te(n))>=0?n.ownerDocument.body:me(n)&&c1(n)?n:T1(m1(n))}function rt(n,s){var e;void 0===s&&(s=[]);var i=T1(n),o=i===(null==(e=n.ownerDocument)?void 0:e.body),r=_e(i),u=o?[r].concat(r.visualViewport||[],c1(i)?i:[]):i,A=s.concat(u);return o?A:A.concat(rt(m1(u)))}function j(n){return["table","td","th"].indexOf(Te(n))>=0}function S(n){return me(n)&&"fixed"!==Be(n).position?n.offsetParent:null}function mt(n){for(var s=_e(n),e=S(n);e&&j(e)&&"static"===Be(e).position;)e=S(e);return e&&("html"===Te(e)||"body"===Te(e)&&"static"===Be(e).position)?s:e||function U(n){var s=/firefox/i.test(b1());if(/Trident/i.test(b1())&&me(n)&&"fixed"===Be(n).position)return null;var o=m1(n);for(s1(o)&&(o=o.host);me(o)&&["html","body"].indexOf(Te(o))<0;){var r=Be(o);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||s&&"filter"===r.willChange||s&&r.filter&&"none"!==r.filter)return o;o=o.parentNode}return null}(n)||s}function Ut(n,s){var e=s.getRootNode&&s.getRootNode();if(n.contains(s))return!0;if(e&&s1(e)){var i=s;do{if(i&&n.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function se(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function Je(n,s,e){return s===O?se(function Ne(n,s){var e=_e(n),i=Ye(n),o=e.visualViewport,r=i.clientWidth,u=i.clientHeight,A=0,V=0;if(o){r=o.width,u=o.height;var W=h1();(W||!W&&"fixed"===s)&&(A=o.offsetLeft,V=o.offsetTop)}return{width:r,height:u,x:A+r1(n),y:V}}(n,e)):Me(s)?function t1(n,s){var e=a1(n,!1,"fixed"===s);return e.top=e.top+n.clientTop,e.left=e.left+n.clientLeft,e.bottom=e.top+n.clientHeight,e.right=e.left+n.clientWidth,e.width=n.clientWidth,e.height=n.clientHeight,e.x=e.left,e.y=e.top,e}(s,e):se(function ze(n){var s,e=Ye(n),i=M1(n),o=null==(s=n.ownerDocument)?void 0:s.body,r=ce(e.scrollWidth,e.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),u=ce(e.scrollHeight,e.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),A=-i.scrollLeft+r1(n),V=-i.scrollTop;return"rtl"===Be(o||e).direction&&(A+=ce(e.clientWidth,o?o.clientWidth:0)-r),{width:r,height:u,x:A,y:V}}(Ye(n)))}function B(n){return n.split("-")[1]}function C(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function N(n){var V,s=n.reference,e=n.element,i=n.placement,o=i?Ce(i):null,r=i?B(i):null,u=s.x+s.width/2-e.width/2,A=s.y+s.height/2-e.height/2;switch(o){case pe:V={x:u,y:s.y-e.height};break;case Se:V={x:u,y:s.y+s.height};break;case we:V={x:s.x+s.width,y:A};break;case Jt:V={x:s.x-e.width,y:A};break;default:V={x:s.x,y:s.y}}var W=o?C(o):null;if(null!=W){var q="y"===W?"height":"width";switch(r){case Ue:V[W]=V[W]-(s[q]/2-e[q]/2);break;case ct:V[W]=V[W]+(s[q]/2-e[q]/2)}}return V}function ht(n){return Object.assign({},{top:0,right:0,bottom:0,left:0},n)}function Ot(n,s){return s.reduce(function(e,i){return e[i]=n,e},{})}function Gt(n,s){void 0===s&&(s={});var i=s.placement,o=void 0===i?n.placement:i,r=s.strategy,u=void 0===r?n.strategy:r,A=s.boundary,V=void 0===A?"clippingParents":A,W=s.rootBoundary,q=void 0===W?O:W,ft=s.elementContext,pt=void 0===ft?P:ft,wt=s.altBoundary,jt=void 0!==wt&&wt,Rt=s.padding,$t=void 0===Rt?0:Rt,ne=ht("number"!=typeof $t?$t:Ot($t,We)),ye=n.rects.popper,Wt=n.elements[jt?pt===P?"reference":P:pt],oe=function $(n,s,e,i){var o="clippingParents"===s?function y1(n){var s=rt(m1(n)),i=["absolute","fixed"].indexOf(Be(n).position)>=0&&me(n)?mt(n):n;return Me(i)?s.filter(function(o){return Me(o)&&Ut(o,i)&&"body"!==Te(o)}):[]}(n):[].concat(s),r=[].concat(o,[e]),A=r.reduce(function(V,W){var q=Je(n,W,i);return V.top=ce(q.top,V.top),V.right=Le(q.right,V.right),V.bottom=Le(q.bottom,V.bottom),V.left=ce(q.left,V.left),V},Je(n,r[0],i));return A.width=A.right-A.left,A.height=A.bottom-A.top,A.x=A.left,A.y=A.top,A}(Me(Wt)?Wt:Wt.contextElement||Ye(n.elements.popper),V,q,u),ae=a1(n.elements.reference),ke=N({reference:ae,element:ye,strategy:"absolute",placement:o}),xe=se(Object.assign({},ye,ke)),Xe=pt===P?xe:ae,$e={top:oe.top-Xe.top+ne.top,bottom:Xe.bottom-oe.bottom+ne.bottom,left:oe.left-Xe.left+ne.left,right:Xe.right-oe.right+ne.right},l1=n.modifiersData.offset;if(pt===P&&l1){var B1=l1[o];Object.keys($e).forEach(function(u1){var on=[we,Se].indexOf(u1)>=0?1:-1,sn=[pe,Se].indexOf(u1)>=0?"y":"x";$e[u1]+=B1[sn]*on})}return $e}const ln={name:"flip",enabled:!0,phase:"main",fn:function Y1(n){var s=n.state,e=n.options,i=n.name;if(!s.modifiersData[i]._skip){for(var o=e.mainAxis,r=void 0===o||o,u=e.altAxis,A=void 0===u||u,V=e.fallbackPlacements,W=e.padding,q=e.boundary,ft=e.rootBoundary,pt=e.altBoundary,wt=e.flipVariations,jt=void 0===wt||wt,Rt=e.allowedAutoPlacements,$t=s.options.placement,ne=Ce($t),ye=V||(ne!==$t&&jt?function g1(n){if(Ce(n)===Ee)return[];var s=Ze(n);return[d1(n),s,d1(s)]}($t):[Ze($t)]),Wt=[$t].concat(ye).reduce(function(Mn,W1){return Mn.concat(Ce(W1)===Ee?function Ie(n,s){void 0===s&&(s={});var o=s.boundary,r=s.rootBoundary,u=s.padding,A=s.flipVariations,V=s.allowedAutoPlacements,W=void 0===V?Ft:V,q=B(s.placement),ft=q?A?zt:zt.filter(function(jt){return B(jt)===q}):We,pt=ft.filter(function(jt){return W.indexOf(jt)>=0});0===pt.length&&(pt=ft);var wt=pt.reduce(function(jt,Rt){return jt[Rt]=Gt(n,{placement:Rt,boundary:o,rootBoundary:r,padding:u})[Ce(Rt)],jt},{});return Object.keys(wt).sort(function(jt,Rt){return wt[jt]-wt[Rt]})}(s,{placement:W1,boundary:q,rootBoundary:ft,padding:W,flipVariations:jt,allowedAutoPlacements:Rt}):W1)},[]),oe=s.rects.reference,ae=s.rects.popper,ke=new Map,xe=!0,Xe=Wt[0],$e=0;$e=0,sn=on?"width":"height",C1=Gt(s,{placement:l1,boundary:q,rootBoundary:ft,altBoundary:pt,padding:W}),R1=on?u1?we:Jt:u1?Se:pe;oe[sn]>ae[sn]&&(R1=Ze(R1));var hi=Ze(R1),an=[];if(r&&an.push(C1[B1]<=0),A&&an.push(C1[R1]<=0,C1[hi]<=0),an.every(function(Mn){return Mn})){Xe=l1,xe=!1;break}ke.set(l1,an)}if(xe)for(var r0=function(W1){var In=Wt.find(function(mi){var rn=ke.get(mi);if(rn)return rn.slice(0,W1).every(function(c0){return c0})});if(In)return Xe=In,"break"},Nn=jt?3:1;Nn>0&&"break"!==r0(Nn);Nn--);s.placement!==Xe&&(s.modifiersData[i]._skip=!0,s.placement=Xe,s.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function k1(n,s,e){return ce(n,Le(s,e))}function p(n){var s=a1(n),e=n.offsetWidth,i=n.offsetHeight;return Math.abs(s.width-e)<=1&&(e=s.width),Math.abs(s.height-i)<=1&&(i=s.height),{x:n.offsetLeft,y:n.offsetTop,width:e,height:i}}const f={name:"preventOverflow",enabled:!0,phase:"main",fn:function w(n){var s=n.state,e=n.options,i=n.name,o=e.mainAxis,r=void 0===o||o,u=e.altAxis,A=void 0!==u&&u,pt=e.tether,wt=void 0===pt||pt,jt=e.tetherOffset,Rt=void 0===jt?0:jt,$t=Gt(s,{boundary:e.boundary,rootBoundary:e.rootBoundary,padding:e.padding,altBoundary:e.altBoundary}),ne=Ce(s.placement),Kt=B(s.placement),ye=!Kt,Wt=C(ne),oe=function N1(n){return"x"===n?"y":"x"}(Wt),ae=s.modifiersData.popperOffsets,ke=s.rects.reference,xe=s.rects.popper,Xe="function"==typeof Rt?Rt(Object.assign({},s.rects,{placement:s.placement})):Rt,$e="number"==typeof Xe?{mainAxis:Xe,altAxis:Xe}:Object.assign({mainAxis:0,altAxis:0},Xe),l1=s.modifiersData.offset?s.modifiersData.offset[s.placement]:null,B1={x:0,y:0};if(ae){if(r){var u1,on="y"===Wt?pe:Jt,sn="y"===Wt?Se:we,C1="y"===Wt?"height":"width",R1=ae[Wt],hi=R1+$t[on],an=R1-$t[sn],ui=wt?-xe[C1]/2:0,r0=Kt===Ue?ke[C1]:xe[C1],Nn=Kt===Ue?-xe[C1]:-ke[C1],pi=s.elements.arrow,Mn=wt&&pi?p(pi):{width:0,height:0},W1=s.modifiersData["arrow#persistent"]?s.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},In=W1[on],mi=W1[sn],rn=k1(0,ke[C1],Mn[C1]),c0=ye?ke[C1]/2-ui-rn-In-$e.mainAxis:r0-rn-In-$e.mainAxis,_s=ye?-ke[C1]/2+ui+rn+mi+$e.mainAxis:Nn+rn+mi+$e.mainAxis,l0=s.elements.arrow&&mt(s.elements.arrow),xs=l0?"y"===Wt?l0.clientTop||0:l0.clientLeft||0:0,eo=null!=(u1=l1?.[Wt])?u1:0,Ms=R1+_s-eo,no=k1(wt?Le(hi,R1+c0-eo-xs):hi,R1,wt?ce(an,Ms):an);ae[Wt]=no,B1[Wt]=no-R1}if(A){var io,cn=ae[oe],gi="y"===oe?"height":"width",oo=cn+$t["x"===Wt?pe:Jt],so=cn-$t["x"===Wt?Se:we],d0=-1!==[pe,Jt].indexOf(ne),ao=null!=(io=l1?.[oe])?io:0,ro=d0?oo:cn-ke[gi]-xe[gi]-ao+$e.altAxis,co=d0?cn+ke[gi]+xe[gi]-ao-$e.altAxis:so,lo=wt&&d0?function I1(n,s,e){var i=k1(n,s,e);return i>e?e:i}(ro,cn,co):k1(wt?ro:oo,cn,wt?co:so);ae[oe]=lo,B1[oe]=lo-cn}s.modifiersData[i]=B1}},requiresIfExists:["offset"]},st={name:"arrow",enabled:!0,phase:"main",fn:function X(n){var s,e=n.state,i=n.name,o=n.options,r=e.elements.arrow,u=e.modifiersData.popperOffsets,A=Ce(e.placement),V=C(A),q=[Jt,we].indexOf(A)>=0?"height":"width";if(r&&u){var ft=function(s,e){return ht("number"!=typeof(s="function"==typeof s?s(Object.assign({},e.rects,{placement:e.placement})):s)?s:Ot(s,We))}(o.padding,e),pt=p(r),wt="y"===V?pe:Jt,jt="y"===V?Se:we,Rt=e.rects.reference[q]+e.rects.reference[V]-u[V]-e.rects.popper[q],$t=u[V]-e.rects.reference[V],ne=mt(r),Kt=ne?"y"===V?ne.clientHeight||0:ne.clientWidth||0:0,ae=Kt/2-pt[q]/2+(Rt/2-$t/2),ke=k1(ft[wt],ae,Kt-pt[q]-ft[jt]);e.modifiersData[i]=((s={})[V]=ke,s.centerOffset=ke-ae,s)}},effect:function et(n){var s=n.state,i=n.options.element,o=void 0===i?"[data-popper-arrow]":i;null!=o&&("string"==typeof o&&!(o=s.elements.popper.querySelector(o))||Ut(s.elements.popper,o)&&(s.elements.arrow=o))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Lt(n,s,e){void 0===e&&(e=!1);var i=me(s),o=me(s)&&function Bt(n){var s=n.getBoundingClientRect(),e=p1(s.width)/n.offsetWidth||1,i=p1(s.height)/n.offsetHeight||1;return 1!==e||1!==i}(s),r=Ye(s),u=a1(n,o,e),A={scrollLeft:0,scrollTop:0},V={x:0,y:0};return(i||!i&&!e)&&(("body"!==Te(s)||c1(r))&&(A=function bt(n){return n!==_e(n)&&me(n)?function lt(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}(n):M1(n)}(s)),me(s)?((V=a1(s,!0)).x+=s.clientLeft,V.y+=s.clientTop):r&&(V.x=r1(r))),{x:u.left+A.scrollLeft-V.x,y:u.top+A.scrollTop-V.y,width:u.width,height:u.height}}function le(n){var s=new Map,e=new Set,i=[];function o(r){e.add(r.name),[].concat(r.requires||[],r.requiresIfExists||[]).forEach(function(A){if(!e.has(A)){var V=s.get(A);V&&o(V)}}),i.push(r)}return n.forEach(function(r){s.set(r.name,r)}),n.forEach(function(r){e.has(r.name)||o(r)}),i}function Oe(n){var s;return function(){return s||(s=new Promise(function(e){Promise.resolve().then(function(){s=void 0,e(n())})})),s}}var e1={placement:"bottom",modifiers:[],strategy:"absolute"};function O1(){for(var n=arguments.length,s=new Array(n),e=0;e=0?-1:1,r="function"==typeof e?e(Object.assign({},s,{placement:n})):e,u=r[0],A=r[1];return u=u||0,A=(A||0)*o,[Jt,we].indexOf(i)>=0?{x:A,y:u}:{x:u,y:A}}(ft,s.rects,r),q},{}),A=u[s.placement],W=A.y;null!=s.modifiersData.popperOffsets&&(s.modifiersData.popperOffsets.x+=A.x,s.modifiersData.popperOffsets.y+=W),s.modifiersData[i]=u}},Un=["*"];function Et(n,s){if(1&n&&t._uU(0),2&n){const e=t.oxw(2);t.Oqu(e.title)}}function Tt(n,s){}function ge(n,s){if(1&n&&(t.TgZ(0,"h3",3),t.YNc(1,Et,1,1,"ng-template",null,4,t.W1O)(3,Tt,0,0,"ng-template",5),t.qZA()),2&n){const e=t.MAs(2),i=t.oxw();t.xp6(3),t.Q6J("ngTemplateOutlet",i.isTitleTemplate()?i.title:e)("ngTemplateOutletContext",i.context)}}const p0={animation:!0,transitionTimerDelayMs:5};let En=(()=>{class n{constructor(){this.animation=p0.animation}static#t=this.\u0275fac=function(i){return new(i||n)};static#e=this.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const yo=()=>{},{transitionTimerDelayMs:ko}=p0,Bn=new Map,z1=(n,s,e,i)=>{let o=i.context||{};const r=Bn.get(s);if(r)switch(i.runningTransition){case"continue":return L.E;case"stop":n.run(()=>r.transition$.complete()),o=Object.assign(r.context,o),Bn.delete(s)}const u=e(s,i.animation,o)||yo;if(!i.animation||"none"===window.getComputedStyle(s).transitionProperty)return n.run(()=>u()),(0,G.of)(void 0).pipe(function Mo(n){return s=>new _.y(e=>s.subscribe({next:u=>n.run(()=>e.next(u)),error:u=>n.run(()=>e.error(u)),complete:()=>n.run(()=>e.complete())}))}(n));const A=new E.x,V=new E.x,W=A.pipe(function K(...n){return s=>(0,at.z)(s,(0,G.of)(...n))}(!0));Bn.set(s,{transition$:A,complete:()=>{V.next(),V.complete()},context:o});const q=function _o(n){const{transitionDelay:s,transitionDuration:e}=window.getComputedStyle(n);return 1e3*(parseFloat(s)+parseFloat(e))}(s);return n.runOutsideAngular(()=>{const ft=(0,F.R)(s,"transitionend").pipe((0,k.R)(W),(0,gt.h)(({target:wt})=>wt===s)),pt=(0,Z.H)(q+ko).pipe((0,k.R)(W));(0,I.S)(pt,ft,V).pipe((0,k.R)(W)).subscribe(()=>{Bn.delete(s),n.run(()=>{u(),A.next(),A.complete()})})}),A.asObservable()};var ve=function(n){return n[n.Tab=9]="Tab",n[n.Enter=13]="Enter",n[n.Escape=27]="Escape",n[n.Space=32]="Space",n[n.PageUp=33]="PageUp",n[n.PageDown=34]="PageDown",n[n.End=35]="End",n[n.Home=36]="Home",n[n.ArrowLeft=37]="ArrowLeft",n[n.ArrowUp=38]="ArrowUp",n[n.ArrowRight=39]="ArrowRight",n[n.ArrowDown=40]="ArrowDown",n}(ve||{});const oi=(n,s)=>!!s&&s.some(e=>e.contains(n)),z0=(n,s)=>!s||null!=function bo(n,s){return!s||typeof n.closest>"u"?null:n.closest(s)}(n,s),t2=typeof navigator<"u"&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");let n2=(()=>{class n{constructor(){this._element=(0,t.f3M)(Pt.K0).documentElement}isRTL(){return"rtl"===(this._element.getAttribute("dir")||"").toLowerCase()}static#t=this.\u0275fac=function(i){return new(i||n)};static#e=this.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const o2=/\s+/,s2=/ +/gi,a2={top:["top"],bottom:["bottom"],start:["left","right"],left:["left"],end:["right","left"],right:["right"],"top-start":["top-start","top-end"],"top-left":["top-start"],"top-end":["top-end","top-start"],"top-right":["top-end"],"bottom-start":["bottom-start","bottom-end"],"bottom-left":["bottom-start"],"bottom-end":["bottom-end","bottom-start"],"bottom-right":["bottom-end"],"start-top":["left-start","right-start"],"left-top":["left-start"],"start-bottom":["left-end","right-end"],"left-bottom":["left-end"],"end-top":["right-start","left-start"],"right-top":["right-start"],"end-bottom":["right-end","left-end"],"right-bottom":["right-end"]},c2=/^left/,D0=/^right/,l2=/^start/,d2=/^end/;function E0({placement:n,baseClass:s},e){let i=Array.isArray(n)?n:n.split(o2),r=i.findIndex(W=>"auto"===W);r>=0&&["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"].forEach(function(W){null==i.find(q=>-1!==q.search("^"+W))&&i.splice(r++,1,W)});const u=i.map(W=>function r2(n,s){const[e,i]=a2[n];return s&&i||e}(W,e.isRTL()));return{placement:u.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!s,phase:"write",fn({state:W}){const q=new RegExp(s+"(-[a-z]+)*","gi"),ft=W.elements.popper,pt=W.placement;let wt=ft.className;wt=wt.replace(q,""),wt+=` ${function h2(n,s){let[e,i]=s.split("-");const o=e.replace(c2,"start").replace(D0,"end");let r=[o];if(i){let u=i;("left"===e||"right"===e)&&(u=u.replace(l2,"top").replace(d2,"bottom")),r.push(`${o}-${u}`)}return n&&(r=r.map(u=>`${n}-${u}`)),r.join(" ")}(s,pt)}`,wt=wt.trim().replace(s2," "),ft.className=wt}},ln,f,st,{enabled:!0,name:"flip",options:{fallbackPlacements:u}},{enabled:!0,name:"preventOverflow",phase:"main",fn:function(){}}]}}function B0(n){return n}new Date(1882,10,12),new Date(2174,10,25);class nn{constructor(s,e,i){this.nodes=s,this.viewRef=e,this.componentRef=i}}class R2{constructor(s){this._componentType=s,this._windowRef=null,this._contentRef=null,this._document=(0,t.f3M)(Pt.K0),this._applicationRef=(0,t.f3M)(t.z2F),this._injector=(0,t.f3M)(t.zs3),this._viewContainerRef=(0,t.f3M)(t.s_b),this._ngZone=(0,t.f3M)(t.R0b)}open(s,e,i=!1){this._windowRef||(this._contentRef=this._getContentRef(s,e),this._windowRef=this._viewContainerRef.createComponent(this._componentType,{injector:this._injector,projectableNodes:this._contentRef.nodes}));const{nativeElement:o}=this._windowRef.location,r=this._ngZone.onStable.pipe((0,Q.q)(1),(0,Zt.z)(()=>z1(this._ngZone,o,({classList:u})=>u.add("show"),{animation:i,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:r}}close(s=!1){return this._windowRef?z1(this._ngZone,this._windowRef.location.nativeElement,({classList:e})=>e.remove("show"),{animation:s,runningTransition:"stop"}).pipe((0,ut.b)(()=>{this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null),this._contentRef?.viewRef&&(this._applicationRef.detachView(this._contentRef.viewRef),this._contentRef.viewRef.destroy(),this._contentRef=null)})):(0,G.of)(void 0)}_getContentRef(s,e){if(s){if(s instanceof t.Rgc){const i=s.createEmbeddedView(e);return this._applicationRef.attachView(i),new nn([i.rootNodes],i)}return new nn([[this._document.createTextNode(`${s}`)]])}return new nn([])}}const ts={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]};let is=(()=>{class n{constructor(){this._ngbConfig=(0,t.f3M)(En),this.autoClose=!0,this.placement="auto",this.popperOptions=e=>e,this.triggers="click",this.disablePopover=!1,this.openDelay=0,this.closeDelay=0}get animation(){return this._animation??this._ngbConfig.animation}set animation(e){this._animation=e}static#t=this.\u0275fac=function(i){return new(i||n)};static#e=this.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),os=0,ss=(()=>{class n{isTitleTemplate(){return this.title instanceof t.Rgc}static#t=this.\u0275fac=function(i){return new(i||n)};static#e=this.\u0275cmp=t.Xpm({type:n,selectors:[["ngb-popover-window"]],hostAttrs:["role","tooltip",2,"position","absolute"],hostVars:5,hostBindings:function(i,o){2&i&&(t.Ikx("id",o.id),t.Tol("popover"+(o.popoverClass?" "+o.popoverClass:"")),t.ekj("fade",o.animation))},inputs:{animation:"animation",title:"title",id:"id",popoverClass:"popoverClass",context:"context"},standalone:!0,features:[t.jDz],ngContentSelectors:Un,decls:4,vars:1,consts:[["data-popper-arrow","",1,"popover-arrow"],["class","popover-header"],[1,"popover-body"],[1,"popover-header"],["simpleTitle",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,o){1&i&&(t.F$t(),t._UZ(0,"div",0),t.YNc(1,ge,4,2,"h3",1),t.TgZ(2,"div",2),t.Hsn(3),t.qZA()),2&i&&(t.xp6(1),t.um2(1,o.title?1:-1))},dependencies:[Pt.tP],encapsulation:2,changeDetection:0})}return n})(),as=(()=>{class n{constructor(){this._config=(0,t.f3M)(is),this.animation=this._config.animation,this.autoClose=this._config.autoClose,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.triggers=this._config.triggers,this.container=this._config.container,this.disablePopover=this._config.disablePopover,this.popoverClass=this._config.popoverClass,this.openDelay=this._config.openDelay,this.closeDelay=this._config.closeDelay,this.shown=new t.vpe,this.hidden=new t.vpe,this._nativeElement=(0,t.f3M)(t.SBq).nativeElement,this._ngZone=(0,t.f3M)(t.R0b),this._document=(0,t.f3M)(Pt.K0),this._changeDetector=(0,t.f3M)(t.sBO),this._ngbPopoverWindowId="ngb-popover-"+os++,this._popupService=new R2(ss),this._windowRef=null,this._positioning=function Ji(){const n=(0,t.f3M)(n2);let s=null;return{createPopper(e){if(!s){let o=(e.updatePopperOptions||B0)(E0(e,n));s=jn(e.hostElement,e.targetElement,o)}},update(){s&&s.update()},setOptions(e){if(s){let o=(e.updatePopperOptions||B0)(E0(e,n));s.setOptions(o)}},destroy(){s&&(s.destroy(),s=null)}}}()}open(e){if(!this._windowRef&&!this._isDisabled()){const{windowRef:i,transition$:o}=this._popupService.open(this.ngbPopover,e??this.popoverContext,this.animation);this._windowRef=i,this._windowRef.setInput("animation",this.animation),this._windowRef.setInput("title",this.popoverTitle),this._windowRef.setInput("context",e??this.popoverContext),this._windowRef.setInput("popoverClass",this.popoverClass),this._windowRef.setInput("id",this._ngbPopoverWindowId),this._getPositionTargetElement().setAttribute("aria-describedby",this._ngbPopoverWindowId),"body"===this.container&&this._document.body.appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._getPositionTargetElement(),targetElement:this._windowRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,baseClass:"bs-popover",updatePopperOptions:r=>this.popperOptions(function qi(n){return s=>(s.modifiers.push(P1,{name:"offset",options:{offset:()=>n}}),s)}([0,8])(r))}),Promise.resolve().then(()=>{this._positioning.update(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update())})}),function Yi(n,s,e,i,o,r,u,A){e&&n.runOutsideAngular((n=>t2?()=>setTimeout(()=>n(),100):n)(()=>{const W=(0,F.R)(s,"keydown").pipe((0,k.R)(o),(0,gt.h)(pt=>pt.which===ve.Escape),(0,ut.b)(pt=>pt.preventDefault())),q=(0,F.R)(s,"mousedown").pipe((0,yt.U)(pt=>{const wt=pt.target;return 2!==pt.button&&!oi(wt,u)&&("inside"===e?oi(wt,r)&&z0(wt,A):"outside"===e?!oi(wt,r):z0(wt,A)||!oi(wt,r))}),(0,k.R)(o)),ft=(0,F.R)(s,"mouseup").pipe((0,At.M)(q),(0,gt.h)(([pt,wt])=>wt),(0,xt.g)(0),(0,k.R)(o));(0,I.S)([W.pipe((0,yt.U)(pt=>0)),ft.pipe((0,yt.U)(pt=>1))]).subscribe(pt=>n.run(()=>i(pt)))}))}(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement]),o.subscribe(()=>this.shown.emit())}}close(e=this.animation){this._windowRef&&(this._getPositionTargetElement().removeAttribute("aria-describedby"),this._popupService.close(e).subscribe(()=>{this._windowRef=null,this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=function ns(n,s,e,i,o,r=0,u=0){const A=function es(n){const s=(n||"").trim();if(0===s.length)return[];const e=s.split(/\s+/).map(o=>o.split(":")).map(o=>ts[o[0]]||o),i=e.filter(o=>o.includes("manual"));if(i.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===i.length&&e.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return i.length?[]:e}(s);if(0===A.length)return()=>{};const V=new Set,W=[];let q;function ft(wt,jt){n.addEventListener(wt,jt),W.push(()=>n.removeEventListener(wt,jt))}function pt(wt,jt){clearTimeout(q),jt>0?q=setTimeout(wt,jt):wt()}for(const[wt,jt]of A)jt?(ft(wt,()=>{V.add(wt),pt(()=>V.size>0&&i(),r)}),ft(jt,()=>{V.delete(wt),pt(()=>0===V.size&&o(),u)})):ft(wt,()=>e()?pt(o,u):pt(i,r));return()=>W.forEach(wt=>wt())}(this._nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({ngbPopover:e,popoverTitle:i,disablePopover:o,popoverClass:r}){r&&this.isOpen()&&this._windowRef.setInput("popoverClass",r.currentValue),(e||i||o)&&this._isDisabled()&&this.close()}ngOnDestroy(){this.close(!1),this._unregisterListenersFn?.()}_isDisabled(){return!!this.disablePopover||!this.ngbPopover&&!this.popoverTitle}_getPositionTargetElement(){return(function q1(n){return"string"==typeof n}(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget)||this._nativeElement}static#t=this.\u0275fac=function(i){return new(i||n)};static#e=this.\u0275dir=t.lG2({type:n,selectors:[["","ngbPopover",""]],inputs:{animation:"animation",autoClose:"autoClose",ngbPopover:"ngbPopover",popoverTitle:"popoverTitle",placement:"placement",popperOptions:"popperOptions",triggers:"triggers",positionTarget:"positionTarget",container:"container",disablePopover:"disablePopover",popoverClass:"popoverClass",popoverContext:"popoverContext",openDelay:"openDelay",closeDelay:"closeDelay"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbPopover"],standalone:!0,features:[t.TTD]})}return n})();new t.OlP("live announcer delay",{providedIn:"root",factory:()=>100})}}]); \ No newline at end of file diff --git a/629.f2f1afcfe3e836e7.js b/629.f2f1afcfe3e836e7.js new file mode 100644 index 00000000..9f59d08d --- /dev/null +++ b/629.f2f1afcfe3e836e7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkngx_ui_tour=self.webpackChunkngx_ui_tour||[]).push([[629],{4440:(kt,ot,c)=>{c.d(ot,{p:()=>k});var t=c(5369),_=c(9212);let k=(()=>{class T{constructor(H,L){this.tourService=H,this.element=L,this.isActive=!1}ngOnInit(){this.tourService.register(this.tourAnchor,this)}ngOnDestroy(){this.tourService.unregister(this.tourAnchor)}showTourStep(H){this.isActive=!0,console.group(H.title),console.log(H.content),console.log(`Anchor id: ${this.tourAnchor}`),console.groupEnd()}hideTourStep(){this.isActive=!1}static#t=this.\u0275fac=function(L){return new(L||T)(_.Y36(t.QL),_.Y36(_.SBq))};static#e=this.\u0275dir=_.lG2({type:T,selectors:[["","tourAnchor",""]],hostVars:2,hostBindings:function(L,G){2&L&&_.ekj("touranchor--is-active",G.isActive)},inputs:{tourAnchor:"tourAnchor"},standalone:!0})}return T})()},3791:(kt,ot,c)=>{c.d(ot,{pY:()=>_.p,U6:()=>x,QL:()=>t.QL});var t=c(5369),_=c(4440),k=c(9212);let x=(()=>{class H{static#t=this.\u0275fac=function(E){return new(E||H)};static#e=this.\u0275mod=k.oAB({type:H});static#n=this.\u0275inj=k.cJS({})}return H})()},9722:(kt,ot,c)=>{c.d(ot,{Z:()=>T});var t=c(154),_=c(9212);const k=["*"];let T=(()=>{class x{constructor(L){this.tourService=L}onEscapeKey(){this.tourService.getStatus()===t.Vs.ON&&this.tourService.isHotkeysEnabled()&&this.tourService.end()}onArrowRightKey(){const L=this.tourService.currentStep;this.tourService.getStatus()===t.Vs.ON&&this.tourService.hasNext(this.tourService.currentStep)&&this.tourService.isHotkeysEnabled()&&!L?.nextOnAnchorClick&&this.tourService.next()}onArrowLeftKey(){this.tourService.getStatus()===t.Vs.ON&&this.tourService.hasPrev(this.tourService.currentStep)&&this.tourService.isHotkeysEnabled()&&this.tourService.prev()}static#t=this.\u0275fac=function(G){return new(G||x)(_.Y36(t.QL))};static#e=this.\u0275cmp=_.Xpm({type:x,selectors:[["tour-hotkey-listener"]],hostBindings:function(G,E){1&G&&_.NdJ("keydown.Escape",function(){return E.onEscapeKey()},!1,_.Jf7)("keydown.ArrowRight",function(){return E.onArrowRightKey()},!1,_.Jf7)("keydown.ArrowLeft",function(){return E.onArrowLeftKey()},!1,_.Jf7)},standalone:!0,features:[_.jDz],ngContentSelectors:k,decls:1,vars:0,template:function(G,E){1&G&&(_.F$t(),_.Hsn(0))},encapsulation:2})}return x})()},154:(kt,ot,c)=>{c.d(ot,{QL:()=>Ue,Vs:()=>Jt});var t=c(5861),_=c(9212),k=c(7586),T=c(8645),x=c(3019),H=c(7398),L=c(2181),G=c(9773),E=c(1374),F=c(932),Z=c(6321),I=c(93),it=c(9360),b=c(4829),at=c(2306),K=c(8251),mt=c(7103);const X=(0,at.d)(ct=>function(O=null){ct(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=O});function ut(ct,Ct){const{first:O,each:P,with:nt=yt,scheduler:zt=Ct??Z.z,meta:Ft=null}=(0,I.q)(ct)?{first:ct}:"number"==typeof ct?{each:ct}:ct;if(null==O&&null==P)throw new TypeError("No timeout provided.");return(0,it.e)((Vt,be)=>{let te,ee,It=null,Ht=0;const de=Ge=>{ee=(0,mt.f)(be,zt,()=>{try{te.unsubscribe(),(0,b.Xf)(nt({meta:Ft,lastValue:It,seen:Ht})).subscribe(be)}catch(Qe){be.error(Qe)}},Ge)};te=Vt.subscribe((0,K.x)(be,Ge=>{ee?.unsubscribe(),Ht++,be.next(It=Ge),P>0&&de(P)},void 0,void 0,()=>{ee?.closed||ee?.unsubscribe(),It=null})),!Ht&&de(null!=O?"number"==typeof O?O:+O-zt.now():P)})}function yt(ct){throw new X(ct)}var At=c(2096);function xt(ct,Ct=2){const O=window.innerWidth,P=window.innerHeight,nt=ct.getBoundingClientRect(),zt=nt.left>=0&&nt.right<=O,Ft=nt.top>=0,Vt=nt.bottom<=P;return 0===Ct?Ft&&zt:1===Ct?Vt&&zt:Ft&&Vt&&zt}var Zt=c(4036),ie=c(2438),re=c(3620),fe=c(6814);function ue(ct,Ct=2){const O=ct.getBoundingClientRect(),P=document.elementFromPoint(O.left,O.top),nt=document.elementFromPoint(O.right,O.bottom),zt=!!P&&P!==ct&&!Lt(P,ct),Ft=!!nt&&nt!==ct&&!Lt(nt,ct);return 0===Ct?zt:1===Ct?Ft:zt||Ft}function Lt(ct,Ct){return ct.contains(Ct)||Ct.contains(ct)}class Qt{static getScrollContainer(Ct){return"string"==typeof Ct?document.documentElement.querySelector(Ct):Ct instanceof HTMLElement?Ct:null}}class Pe{static getVisibleSection(Ct,O){return Pe._isHeightOverflowing(Ct,O)?Pe._getOverlap(Ct,O):Ct}static isHeightOverflowing(Ct,O){return Pe._isHeightOverflowing(Ct instanceof HTMLElement?Ct.getBoundingClientRect():Ct,O instanceof HTMLElement?O.getBoundingClientRect():O)}static _isHeightOverflowing(Ct,O){return O.height{class ct{constructor(){this.platformId=(0,_.f3M)(_.Lbi),this.isBrowser=(0,fe.NF)(this.platformId),this.document=(0,_.f3M)(fe.K0),this.window=this.document.defaultView}ensureVisible(O,P){this.scrollOptions=P;const nt=P.smoothScroll&&this.isBrowser?"smooth":"auto",Ft=Qt.getScrollContainer(this.scrollOptions.scrollContainer)??document.documentElement;if(Pe.isHeightOverflowing(O,Ft))O.scrollIntoView({block:"start",inline:"start",behavior:nt});else if(P.center&&!("safari"in this.window))O.scrollIntoView({block:"center",inline:"center",behavior:nt});else if(!xt(O,1)||ue(O,1))O.scrollIntoView({block:"end",inline:"nearest",behavior:nt});else{if(xt(O,0)&&!ue(O,0))return Promise.resolve();O.scrollIntoView({block:"start",inline:"nearest",behavior:nt})}return"smooth"===nt?(0,Zt.z)(this.waitForScrollFinish$):Promise.resolve()}get waitForScrollFinish$(){const P=Qt.getScrollContainer(this.scrollOptions.scrollContainer)??document;return(0,ie.R)(P,"scroll").pipe(ut({each:75,with:()=>(0,At.of)(void 0)}),(0,re.b)(50),(0,H.U)(()=>{}))}static#t=this.\u0275fac=function(P){return new(P||ct)};static#e=this.\u0275prov=_.Yz7({token:ct,factory:ct.\u0275fac,providedIn:"root"})}return ct})(),Ce=(()=>{class ct{constructor(){this.resizeElSubject=new T.x,this.platformId=(0,_.f3M)(_.Lbi),this.isResizeObserverSupported=(0,fe.NF)(this.platformId)&&!!ResizeObserver,this.document=(0,_.f3M)(fe.K0),this.window=this.document.defaultView,this.resize$=(0,x.T)(this.resizeElSubject,(0,ie.R)(this.window,"resize")).pipe((0,re.b)(10))}observeElement(O){this.isResizeObserverSupported&&!this.resizeObserver&&(this.resizeObserver=new ResizeObserver(()=>this.resizeElSubject.next())),this.resizeObserver?.observe(O)}unobserveElement(O){this.resizeObserver?.unobserve(O)}disconnect(){this.resizeObserver?.disconnect(),this.resizeObserver=void 0}static#t=this.\u0275fac=function(P){return new(P||ct)};static#e=this.\u0275prov=_.Yz7({token:ct,factory:ct.\u0275fac,providedIn:"root"})}return ct})(),x1=(()=>{class ct{constructor(){this.isSpotlightClosed=!1,this.rendererFactory=(0,_.f3M)(_.FYo),this.renderer=this.rendererFactory.createRenderer(null,null),this.resizeObserverService=(0,_.f3M)(Ce),this.scrollingService=(0,_.f3M)(Ze),this.document=(0,_.f3M)(fe.K0)}show(O,P){this.targetHtmlElement&&this.resizeObserverService.unobserveElement(this.targetHtmlElement),this.targetHtmlElement=O.nativeElement,this.step=P,this.resizeObserverService.observeElement(this.targetHtmlElement),this.backdropElements||(this.backdropElements=this.createBackdropElements(),this.subscribeToResizeEvents()),this.isSpotlightClosed=!1,this.setBackdropPosition()}closeSpotlight(){if(!this.backdropElements)return;const O=this.targetHtmlElement.getBoundingClientRect(),P=O.left+O.width/2,nt=O.top+O.height/2,zt={top:nt,right:P,bottom:nt,left:P,width:0,height:0};this.isSpotlightClosed=!0,this.setBackdropPosition(zt)}setBackdropPosition(O=null){const P=this.document.documentElement,nt=Qt.getScrollContainer(this.step.scrollContainer)??P,zt=O??this.targetHtmlElement.getBoundingClientRect(),Ft=nt.getBoundingClientRect(),Vt=Pe.getVisibleSection(zt,Ft),be=P.scrollHeight,te=P.scrollWidth,ee=this.document.defaultView,It=ee.scrollX,Ht=ee.scrollY,de=this.isSpotlightClosed?0:this.step.backdropConfig?.offset??0,Me=[{width:Vt.left+It-de,height:be,top:0,left:0},{width:Vt.width+2*de,height:Vt.top+Ht-de,top:0,left:Vt.left+It-de},{width:Vt.width+2*de,height:be-(Vt.bottom+Ht)-de,top:Vt.bottom+Ht+de,left:Vt.left+It-de},{width:te-(Vt.right+It)-de,height:be,top:0,left:Vt.right+It+de}];for(let ge=0;ge{this.setBackdropPosition(),this.step.disableScrollToAnchor||this.scrollingService.ensureVisible(this.targetHtmlElement,{center:this.step.centerAnchorOnScroll,smoothScroll:!1})})}close(){this.backdropElements&&(this.resizeObserverService.unobserveElement(this.targetHtmlElement),this.removeBackdropElement(),this.resizeSubscription.unsubscribe())}disconnectResizeObserver(){this.resizeObserverService.disconnect()}removeBackdropElement(){this.backdropElements.forEach(O=>this.renderer.removeChild(this.parentContainer,O)),this.backdropElements=void 0}applyStyles(O,P){for(const nt of Object.keys(O))this.renderer.setStyle(P,nt,O[nt])}createBackdropStyles(O){const P=this.step.backdropConfig,nt={...O,width:Math.max(O.width,0),height:Math.max(O.height,0)};return{position:"absolute",width:`${nt.width}px`,height:`${nt.height}px`,top:`${nt.top}px`,left:`${nt.left}px`,backgroundColor:P?.backgroundColor??"rgba(0, 0, 0, 0.7)",zIndex:P?.zIndex??"101"}}createBackdropElement(){const O=this.renderer.createElement("div");return this.renderer.addClass(O,"ngx-ui-tour_backdrop"),this.renderer.appendChild(this.parentContainer,O),O}createBackdropElements(){return Array.from({length:4}).map(()=>this.createBackdropElement())}get parentContainer(){const O=this.step.backdropConfig?.parentContainer;return O instanceof HTMLElement?O:"string"==typeof O?this.document.documentElement.querySelector(O)??this.document.body:this.document.body}static#t=this.\u0275fac=function(P){return new(P||ct)};static#e=this.\u0275prov=_.Yz7({token:ct,factory:ct.\u0275fac,providedIn:"root"})}return ct})(),d1=(()=>{class ct{constructor(){this.rendererFactory=(0,_.f3M)(_.FYo),this.renderer=this.rendererFactory.createRenderer(null,null)}removeListener(){this.unListenToAnchorClickFn&&(this.unListenToAnchorClickFn(),this.unListenToAnchorClickFn=void 0)}addListener(O,P){this.unListenToAnchorClickFn=this.renderer.listen(O,"click",P)}static#t=this.\u0275fac=function(P){return new(P||ct)};static#e=this.\u0275prov=_.Yz7({token:ct,factory:ct.\u0275fac,providedIn:"root"})}return ct})(),pe=(()=>{class ct{constructor(){this.isEnabled=!1,this.platformId=(0,_.f3M)(_.Lbi),this.isBrowser=(0,fe.NF)(this.platformId),this.rendererFactory=(0,_.f3M)(_.FYo),this.renderer=this.rendererFactory.createRenderer(null,null)}enable(O){!this.isBrowser||this.isEnabled||(this.userScrollContainer=O,this.toggleOverflow(),this.isEnabled=!0)}disable(){this.isEnabled&&(this.toggleOverflow(),this.isEnabled=!1)}toggleOverflow(){const O=Qt.getScrollContainer(this.userScrollContainer)??document.documentElement;this.isEnabled?this.renderer.removeStyle(O,"overflow"):this.renderer.setStyle(O,"overflow","hidden")}static#t=this.\u0275fac=function(P){return new(P||ct)};static#e=this.\u0275prov=_.Yz7({token:ct,factory:ct.\u0275fac,providedIn:"root"})}return ct})();function Se(...ct){return ct.reduce((Ct,O)=>{O??={};const P=Object.keys(O);for(const nt of P){const zt=Ct[nt],Ft=O[nt];Ct[nt]=we(zt)&&we(Ft)?Se(zt,Ft):Ft}return Ct},{})}function we(ct){return ct instanceof Object&&ct.constructor===Object}var Jt=function(ct){return ct[ct.OFF=0]="OFF",ct[ct.ON=1]="ON",ct[ct.PAUSED=2]="PAUSED",ct}(Jt||{}),Ee=function(ct){return ct[ct.Forwards=0]="Forwards",ct[ct.Backwards=1]="Backwards",ct}(Ee||{});const We={disableScrollToAnchor:!1,prevBtnTitle:"Prev",nextBtnTitle:"Next",endBtnTitle:"End",enableBackdrop:!1,isAsync:!1,isOptional:!1,delayAfterNavigation:100,delayBeforeStepShow:0,nextOnAnchorClick:!1,duplicateAnchorHandling:"error",centerAnchorOnScroll:!0,disablePageScrolling:!0,smoothScroll:!0,allowUserInitiatedNavigation:!1,stepDimensions:{minWidth:"250px",maxWidth:"280px",width:"auto"},showProgress:!0};let Ue=(()=>{class ct{constructor(){this.stepShow$=new T.x,this.stepHide$=new T.x,this.initialize$=new T.x,this.start$=new T.x,this.end$=new T.x,this.pause$=new T.x,this.resume$=new T.x,this.anchorRegister$=new T.x,this.anchorUnregister$=new T.x,this.events$=(0,x.T)(this.stepShow$.pipe((0,H.U)(O=>({name:"stepShow",value:O}))),this.stepHide$.pipe((0,H.U)(O=>({name:"stepHide",value:O}))),this.initialize$.pipe((0,H.U)(O=>({name:"initialize",value:O}))),this.start$.pipe((0,H.U)(O=>({name:"start",value:O}))),this.end$.pipe((0,H.U)(O=>({name:"end",value:O}))),this.pause$.pipe((0,H.U)(O=>({name:"pause",value:O}))),this.resume$.pipe((0,H.U)(O=>({name:"resume",value:O}))),this.anchorRegister$.pipe((0,H.U)(O=>({name:"anchorRegister",value:O}))),this.anchorUnregister$.pipe((0,H.U)(O=>({name:"anchorUnregister",value:O})))),this.steps=[],this.anchors={},this.status=Jt.OFF,this.isHotKeysEnabled=!0,this.direction=Ee.Forwards,this.waitingForScroll=!1,this.navigationStarted=!1,this.router=(0,_.f3M)(k.F0),this.backdrop=(0,_.f3M)(x1),this.anchorClickService=(0,_.f3M)(d1),this.scrollBlockingService=(0,_.f3M)(pe),this.scrollingService=(0,_.f3M)(Ze)}initialize(O,P){this.status!==Jt.ON?O&&O.length>0&&(this.status=Jt.OFF,this.steps=O.map(nt=>Se(We,this.userDefaults,P,nt)),this.validateSteps(),this.initialize$.next(this.steps),this.subscribeToNavigationStartEvent()):console.warn("Can not re-initialize the UI tour while it's still active")}setDefaults(O){this.userDefaults=O}getDefaults(){return this.userDefaults}validateSteps(){for(const O of this.steps)if(O.isAsync&&O.isOptional&&!O.asyncStepTimeout)throw new Error(`Tour step with anchor id "${O.anchorId}" can only be both "async" and "optional" when "asyncStepTimeout" is specified!`)}subscribeToNavigationStartEvent(){this.router.events.pipe((0,L.h)(O=>O instanceof k.OD),(0,G.R)(this.end$)).subscribe(O=>{const P="popstate"===O.navigationTrigger,nt=this.currentStep?.allowUserInitiatedNavigation;!this.navigationStarted&&(P||!nt)&&this.end()})}disableHotkeys(){this.isHotKeysEnabled=!1}enableHotkeys(){this.isHotKeysEnabled=!0}start(){this.status!==Jt.ON?this.startAt(0):console.warn("tourService.start() called while the tour is already running.")}startAt(O){this.status=Jt.ON,this.goToStep(this.loadStep(O)),this.start$.next()}end(){this.waitingForScroll||this.status!==Jt.OFF&&(this.status=Jt.OFF,this.disableTour(),this.currentStep=void 0,this.end$.next())}pause(){this.status=Jt.PAUSED,this.disableTour(),this.pause$.next()}disableTour(){this.hideStep(this.currentStep),this.anchorClickService.removeListener(),this.backdrop.close(),this.backdrop.disconnectResizeObserver(),this.scrollBlockingService.disable()}resume(){this.status=Jt.ON,this.showStep(this.currentStep),this.resume$.next()}toggle(O){O?this.currentStep?this.pause():this.resume():this.currentStep?this.end():this.start()}next(){this.waitingForScroll||(this.direction=Ee.Forwards,this.hasNext(this.currentStep)&&this.goToStep(this.loadStep(this.currentStep.nextStep??this.getStepIndex(this.currentStep)+1)))}getStepIndex(O){const P=this.steps.indexOf(O);return P<0?0:P}hasNext(O){return O?void 0!==O.nextStep||this.getStepIndex(O)0&&!this.isPrevOptionalAnchorMising(O):(console.warn("Can't get previous step. No currentStep."),!1)}isPrevOptionalAnchorMising(O){for(let nt=this.getStepIndex(O)-1;nt>-1;nt--){const zt=this.steps[nt];if(!zt.isOptional||this.anchors[zt.anchorId])return!1}return!0}goto(O){this.goToStep(this.loadStep(O))}register(O,P){if(O){if(this.anchors[O])switch(this.findStepByAnchorId(O)?.duplicateAnchorHandling??this.userDefaults?.duplicateAnchorHandling??"error"){case"error":throw new Error(`Tour anchor with id "${O}" already registered!`);case"registerFirst":return}this.anchors[O]=P,this.anchorRegister$.next(O)}}findStepByAnchorId(O){return this.steps.find(P=>P.anchorId===O)}unregister(O){O&&(delete this.anchors[O],this.anchorUnregister$.next(O))}getStatus(){return this.status}isHotkeysEnabled(){return this.isHotKeysEnabled}goToStep(O){if(!O)return console.warn("Can't go to non-existent step"),void this.end();this.currentStep&&(this.backdrop.closeSpotlight(),this.hideStep(this.currentStep)),this.anchorClickService.removeListener(),null!=O.route?this.navigateToRouteAndSetStep(O):this.setCurrentStepAsync(O)}listenToOnAnchorClick(O){O.nextOnAnchorClick&&this.anchorClickService.addListener(this.anchors[O.anchorId].element.nativeElement,()=>this.next())}navigateToRouteAndSetStep(O){var P=this;return(0,t.Z)(function*(){const nt="string"==typeof O.route?O.route:P.router.createUrlTree(O.route);if(P.router.isActive(nt,{paths:"exact",matrixParams:"exact",queryParams:"subset",fragment:"exact"}))return void P.setCurrentStepAsync(O);P.navigationStarted=!0;const Vt=yield P.router.navigateByUrl(nt);P.navigationStarted=!1,Vt?P.setCurrentStepAsync(O,O.delayAfterNavigation):(console.warn("Navigation to route failed: ",O.route),P.end())})()}loadStep(O){return"number"==typeof O?this.steps[O]:this.steps.find(P=>P.stepId===O)}setCurrentStep(O){this.currentStep=O,this.showStep(this.currentStep)}setCurrentStepAsync(O,P=0){P=P||O.delayBeforeStepShow,setTimeout(()=>this.setCurrentStep(O),P)}showStep(O,P=!1){var nt=this;return(0,t.Z)(function*(){const zt=nt.anchors[O&&O.anchorId];if(!zt){if(O.isAsync&&!P){let Ft=nt.anchorRegister$.pipe((0,L.h)(Vt=>Vt===O.anchorId),(0,E.P)(),(0,F.g)(0));return O.asyncStepTimeout&&(Ft=Ft.pipe(ut({each:O.asyncStepTimeout,with:()=>(0,At.of)(null)}))),void Ft.subscribe(()=>nt.showStep(O,!0))}return O.isOptional?void(nt.direction===Ee.Forwards?nt.next():nt.prev()):(console.warn(`Can't attach to unregistered anchor with id "${O.anchorId}"`),void nt.end())}nt.listenToOnAnchorClick(O),nt.waitingForScroll=!0,yield nt.scrollToAnchor(O),nt.waitingForScroll=!1,zt.showTourStep(O),nt.toggleBackdrop(O),nt.togglePageScrolling(O),nt.stepShow$.next({step:O,direction:nt.direction})})()}hideStep(O){const P=this.anchors[O&&O.anchorId];P&&(P.hideTourStep(),this.stepHide$.next({step:O,direction:this.direction}))}scrollToAnchor(O){return O.disableScrollToAnchor?Promise.resolve():this.scrollingService.ensureVisible(this.anchors[O?.anchorId].element.nativeElement,{center:O.centerAnchorOnScroll,smoothScroll:O.smoothScroll,scrollContainer:O.scrollContainer})}toggleBackdrop(O){O.enableBackdrop?this.backdrop.show(this.anchors[O?.anchorId].element,O):this.backdrop.close()}togglePageScrolling(O){O.disablePageScrolling?this.scrollBlockingService.enable(O.scrollContainer):this.scrollBlockingService.disable()}static#t=this.\u0275fac=function(P){return new(P||ct)};static#e=this.\u0275prov=_.Yz7({token:ct,factory:ct.\u0275fac,providedIn:"root"})}return ct})()},5369:(kt,ot,c)=>{c.d(ot,{QL:()=>t.QL,Vs:()=>t.Vs,Z5:()=>_.Z});var t=c(154),_=c(9722)},8276:(kt,ot,c)=>{c.d(ot,{_:()=>x});var t=c(5369),_=c(9212),k=c(2555),T=c(6814);let x=(()=>{class H extends t.QL{constructor(){super(...arguments),this.config=(0,_.f3M)(k.De),this.document=(0,_.f3M)(T.K0)}initialize(G,E){const F="ios"===this.config.get("mode");E??={},E.backdropConfig??={},E.backdropConfig.parentContainer??="ion-app",E.delayAfterNavigation??=F?700:500,super.initialize(G,E)}showStep(G){if(G.smoothScroll&&(!G.scrollContainer||"string"!=typeof G.scrollContainer)){const E=this.document.documentElement,F=E.querySelector("ion-router-outlet[tabs=true]"),Z=E.querySelector("ion-router-outlet"),I=F??Z,it=I?I.querySelector(":scope > .ion-page:not(.ion-page-hidden) ion-content"):E.querySelector("ion-content");G.scrollContainer=it?.shadowRoot.querySelector("[part=scroll]")}return super.showStep(G)}static#t=this.\u0275fac=(()=>{let G;return function(F){return(G||(G=_.n5z(H)))(F||H)}})();static#e=this.\u0275prov=_.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})()},1990:(kt,ot,c)=>{c.d(ot,{k:()=>H});var t=c(5861),_=c(9212),k=c(8276),T=c(4755),x=c(4036);let H=(()=>{class L{constructor(){this.element=(0,_.f3M)(_.SBq),this.tourService=(0,_.f3M)(k._),this.stepTemplateService=(0,_.f3M)(T.P)}ngOnInit(){this.tourService.register(this.tourAnchor,this)}ngOnDestroy(){this.tourService.unregister(this.tourAnchor)}showTourStep(E){var F=this;return(0,t.Z)(function*(){const Z=F.stepTemplateService.templateComponent,I=Z.ionPopover;I.isCmpOpen&&(yield(0,x.z)(I.didDismiss)),F.isActive=!0,Z.step=E,I.alignment=E.placement?.alignment,I.side=E.placement?.side??"bottom",I.cssClass=E.popoverClass;const it={target:F.element.nativeElement};yield I.present(it)})()}hideTourStep(){this.isActive=!1,this.stepTemplateService.templateComponent.ionPopover.dismiss()}static#t=this.\u0275fac=function(F){return new(F||L)};static#e=this.\u0275dir=_.lG2({type:L,selectors:[["","tourAnchor",""]],hostVars:2,hostBindings:function(F,Z){2&F&&_.ekj("touranchor--is-active",Z.isActive)},inputs:{tourAnchor:"tourAnchor"},standalone:!0})}return L})()},4755:(kt,ot,c)=>{c.d(ot,{P:()=>_});var t=c(9212);let _=(()=>{class k{static#t=this.\u0275fac=function(H){return new(H||k)};static#e=this.\u0275prov=t.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})()},9698:(kt,ot,c)=>{c.d(ot,{R:()=>jr});var L,t=c(9212),_=c(5369),k=c(9),T=c(1879),x=c(6814),H=c(8276),F=function(vt,Xt){var Pt=function(){if(typeof window>"u")return new Map;if(!L){var vt=window;vt.Ionicons=vt.Ionicons||{},L=vt.Ionicons.map=vt.Ionicons.map||new Map}return L}(),Yt=Pt.get(vt);void 0===Yt?Pt.set(vt,Xt):Yt!==Xt&&console.warn('[Ionicons Warning]: Multiple icons were mapped to name "'.concat(vt,'". Ensure that multiple icons are not mapped to the same icon name.'))},Rr=c(4755);function Pr(vt,Xt){1&vt&&t.GkF(0)}const Lr=vt=>({step:vt});function Nr(vt,Xt){if(1&vt&&t.YNc(0,Pr,1,0,"ng-container",2),2&vt){const Pt=t.oxw(),Yt=t.MAs(3);t.Q6J("ngTemplateOutlet",Pt.stepTemplate||Pt.stepTemplateContent||Yt)("ngTemplateOutletContext",t.VKq(2,Lr,Pt.step))}}function Ir(vt,Xt){if(1&vt&&(t.TgZ(0,"div",11),t._uU(1),t.qZA()),2&vt){const Pt=t.oxw().step,Yt=t.oxw();t.xp6(1),t.AsE("",(null==Yt.tourService.steps?null:Yt.tourService.steps.indexOf(Pt))+1," / ",null==Yt.tourService.steps?null:Yt.tourService.steps.length,"")}}function Hr(vt,Xt){if(1&vt){const Pt=t.EpF();t.TgZ(0,"ion-button",12),t.NdJ("click",function(){t.CHM(Pt);const he=t.oxw(2);return t.KtG(he.tourService.next())}),t._uU(1),t._UZ(2,"ion-icon",13),t.qZA()}if(2&vt){const Pt=t.oxw().step;t.xp6(1),t.hij(" ",Pt.nextBtnTitle," ")}}function Fr(vt,Xt){if(1&vt){const Pt=t.EpF();t.TgZ(0,"ion-button",12),t.NdJ("click",function(){t.CHM(Pt);const he=t.oxw(2);return t.KtG(he.tourService.end())}),t._uU(1),t.qZA()}if(2&vt){const Pt=t.oxw().step;t.xp6(1),t.hij(" ",Pt.endBtnTitle," ")}}function Vr(vt,Xt){if(1&vt){const Pt=t.EpF();t.TgZ(0,"ion-card")(1,"ion-card-header")(2,"ion-card-title"),t._uU(3),t.qZA(),t.TgZ(4,"ion-button",3),t.NdJ("click",function(){t.CHM(Pt);const he=t.oxw();return t.KtG(he.tourService.end())}),t._UZ(5,"ion-icon",4),t.qZA()(),t._UZ(6,"ion-card-content",5),t.TgZ(7,"div",6)(8,"ion-button",7),t.NdJ("click",function(){t.CHM(Pt);const he=t.oxw();return t.KtG(he.tourService.prev())}),t._UZ(9,"ion-icon",8),t._uU(10),t.qZA(),t.YNc(11,Ir,2,2,"div",9)(12,Hr,3,1,"ion-button",10)(13,Fr,2,1,"ion-button",10),t.qZA()()}if(2&vt){const Pt=Xt.step,Yt=t.oxw();t.xp6(3),t.Oqu(Pt.title),t.xp6(3),t.Q6J("innerHTML",Pt.content,t.oJD),t.xp6(1),t.ekj("no-progress",!Pt.showProgress),t.xp6(1),t.Q6J("disabled",!Yt.tourService.hasPrev(Pt)),t.xp6(2),t.hij(" ",Pt.prevBtnTitle," "),t.xp6(1),t.um2(11,Pt.showProgress?11:-1),t.xp6(1),t.um2(12,Yt.tourService.hasNext(Pt)&&!Pt.nextOnAnchorClick?12:-1),t.xp6(1),t.um2(13,Yt.tourService.hasNext(Pt)?-1:13)}}let jr=(()=>{class vt extends _.Z5{constructor(Pt,Yt){super(Yt),this.tourStepTemplateService=Pt,this.tourService=Yt,this.step={},this.noopLeaveAnimation=()=>(0,k.c)(),this.addIonicIcons()}addIonicIcons(){!function(vt){Object.keys(vt).forEach(function(Xt){F(Xt,vt[Xt]);var Pt=Xt.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase();Xt!==Pt&&F(Pt,vt[Xt])})}({closeOutline:"data:image/svg+xml;utf8,",chevronBackOutline:"data:image/svg+xml;utf8,",chevronForwardOutline:"data:image/svg+xml;utf8,"})}ngAfterViewInit(){this.tourStepTemplateService.templateComponent=this}static#t=this.\u0275fac=function(Yt){return new(Yt||vt)(t.Y36(Rr.P),t.Y36(H._))};static#e=this.\u0275cmp=t.Xpm({type:vt,selectors:[["tour-step-template"]],contentQueries:function(Yt,he,U1){if(1&Yt&&t.Suo(U1,t.Rgc,5),2&Yt){let Cs;t.iGM(Cs=t.CRH())&&(he.stepTemplateContent=Cs.first)}},viewQuery:function(Yt,he){if(1&Yt&&t.Gf(T.d8,7),2&Yt){let U1;t.iGM(U1=t.CRH())&&(he.ionPopover=U1.first)}},inputs:{stepTemplate:"stepTemplate"},standalone:!0,features:[t.qOj,t.jDz],decls:4,vars:12,consts:[[3,"leaveAnimation","backdropDismiss","keyboardClose","showBackdrop","dismissOnSelect","arrow"],["defaultTemplate",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["fill","clear","shape","round",1,"close",3,"click"],["slot","icon-only","name","close-outline"],[3,"innerHTML"],[1,"footer"],["fill","clear",3,"disabled","click"],["slot","start","name","chevron-back-outline"],["class","progress"],["fill","clear"],[1,"progress"],["fill","clear",3,"click"],["slot","end","name","chevron-forward-outline"]],template:function(Yt,he){if(1&Yt&&(t.TgZ(0,"ion-popover",0),t.YNc(1,Nr,1,4,"ng-template"),t.qZA(),t.YNc(2,Vr,14,9,"ng-template",null,1,t.W1O)),2&Yt){let U1;t.Udp("--min-width",null==he.step||null==he.step.stepDimensions?null:he.step.stepDimensions.minWidth)("--max-width",null==he.step||null==he.step.stepDimensions?null:he.step.stepDimensions.maxWidth)("--width",null==he.step||null==he.step.stepDimensions?null:he.step.stepDimensions.width),t.Q6J("leaveAnimation",he.noopLeaveAnimation)("backdropDismiss",!1)("keyboardClose",!1)("showBackdrop",!1)("dismissOnSelect",!1)("arrow",null===(U1=null==he.step?null:he.step.showArrow)||void 0===U1||U1)}},dependencies:[x.tP,T.d8,T.PM,T.Zi,T.Dq,T.YG,T.gu,T.FN],styles:["ion-popover[_ngcontent-%COMP%]{pointer-events:none}ion-card[_ngcontent-%COMP%]{margin:0;pointer-events:auto}ion-card-header[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:8px 16px}ion-card-header[_ngcontent-%COMP%] ion-card-title[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}ion-button.close[_ngcontent-%COMP%]{--padding-start: 5px;--padding-end: 5px;--padding-top: 5px;--padding-bottom: 5px;margin:0 -8px 0 0}.footer[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr auto 1fr;padding:0 8px 8px;align-items:center;gap:8px}.footer[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{max-width:-moz-fit-content;max-width:fit-content}.footer[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{justify-self:flex-end}.footer[_ngcontent-%COMP%] .progress[_ngcontent-%COMP%]{font-size:12px;font-weight:600;color:#00000061;white-space:nowrap}.footer.no-progress[_ngcontent-%COMP%]{grid-template-columns:1fr 1fr}.footer[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%]{text-transform:capitalize}"]})}return vt})()},4524:(kt,ot,c)=>{c.d(ot,{kT:()=>_.k,jA:()=>x,QL:()=>H._});var t=c(9698),_=c(1990),k=c(9212);let x=(()=>{class L{static#t=this.\u0275fac=function(F){return new(F||L)};static#e=this.\u0275mod=k.oAB({type:L});static#n=this.\u0275inj=k.cJS({imports:[t.R]})}return L})();var H=c(8276)},7349:(kt,ot,c)=>{c.d(ot,{T:()=>k});var t=c(5369),_=c(9212);let k=(()=>{class T extends t.QL{initialize(H,L){L??={},L.showArrow??=!0,super.initialize(H,L)}static#t=this.\u0275fac=(()=>{let H;return function(G){return(H||(H=_.n5z(T)))(G||T)}})();static#e=this.\u0275prov=_.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})()},5593:(kt,ot,c)=>{c.d(ot,{J:()=>G});var t=c(5369),_=c(1374),k=c(2263),T=c(9212);let x=(()=>{class E{static#t=this.\u0275fac=function(I){return new(I||E)};static#e=this.\u0275cmp=T.Xpm({type:E,selectors:[["tour-anchor-opener"]],viewQuery:function(I,it){if(1&I&&T.Gf(k.p6,7),2&I){let b;T.iGM(b=T.CRH())&&(it.trigger=b.first)}},standalone:!0,features:[T.jDz],decls:1,vars:1,consts:[["matMenuTriggerFor","",3,"matMenuTriggerRestoreFocus"]],template:function(I,it){1&I&&T._UZ(0,"span",0),2&I&&T.Q6J("matMenuTriggerRestoreFocus",!1)},dependencies:[k.Tx,k.p6],styles:["[_nghost-%COMP%]{display:none}"]})}return E})();var H=c(7349),L=c(8144);let G=(()=>{class E{constructor(Z,I,it,b){this.viewContainer=Z,this.element=I,this.tourService=it,this.tourStepTemplate=b}ngOnInit(){this.tourService.register(this.tourAnchor,this)}ngOnDestroy(){this.tourService.unregister(this.tourAnchor)}createOpener(){this.opener=this.viewContainer.createComponent(x).instance}showTourStep(Z){this.isActive=!0,this.tourStepTemplate.templateComponent.step=Z,this.opener||this.createOpener();const I=this.opener.trigger,it=I;it._element=this.element,it._parentMaterialMenu=null,it._setPosition=(X,ut)=>this.setPosition(X,ut,Z);const b=this.tourStepTemplate.templateComponent.tourStep;I.menu=b,b.xPosition=Z.placement?.xPosition||"after",b.yPosition=Z.placement?.yPosition||"below",b.hasBackdrop=!!Z.closeOnOutsideClick,b.panelClass=`tour-step ${Z.popoverClass??""} ${Z.showArrow?"arrow":""} ${Z.placement?.horizontal?"horizontal":""}`,I.openMenu(),this.menuCloseSubscription&&this.menuCloseSubscription.unsubscribe(),this.menuCloseSubscription=I.menuClosed.pipe((0,_.P)()).subscribe(()=>{this.tourService.getStatus()!==t.Vs.OFF&&this.tourService.end()})}setPosition(Z,I,it){let[b,at]="before"===Z.xPosition?["end","start"]:["start","end"];const[K,mt]="above"===Z.yPosition?["bottom","top"]:["top","bottom"];let[X,ut]=[K,mt],[yt,At]=[b,at];const xt=it.placement?.horizontal;xt?(At=b="before"===Z.xPosition?"start":"end",at=yt="end"===b?"start":"end"):Z.overlapTrigger||(X="top"===K?"bottom":"top",ut="top"===mt?"bottom":"top");const Zt=it.backdropConfig?.offset??0,ie=xt?Zt:-Zt,re=xt?-Zt:Zt,fe={originX:b,originY:X,overlayX:yt,overlayY:K,offsetX:ie,offsetY:re};I.withPositions(xt?[fe,{originX:at,originY:X,overlayX:At,overlayY:K,offsetX:-ie,offsetY:re}]:[fe,{originX:b,originY:ut,overlayX:yt,overlayY:mt,offsetX:ie,offsetY:-re},{originX:at,originY:ut,overlayX:At,overlayY:mt,offsetX:-ie,offsetY:-re}])}hideTourStep(){this.isActive=!1,this.menuCloseSubscription&&this.menuCloseSubscription.unsubscribe(),this.opener.trigger.closeMenu()}static#t=this.\u0275fac=function(I){return new(I||E)(T.Y36(T.s_b),T.Y36(T.SBq),T.Y36(H.T),T.Y36(L.P))};static#e=this.\u0275dir=T.lG2({type:E,selectors:[["","tourAnchor",""]],hostVars:2,hostBindings:function(I,it){2&I&&T.ekj("touranchor--is-active",it.isActive)},inputs:{tourAnchor:"tourAnchor"},standalone:!0})}return E})()},8144:(kt,ot,c)=>{c.d(ot,{P:()=>_});var t=c(9212);let _=(()=>{class k{static#t=this.\u0275fac=function(H){return new(H||k)};static#e=this.\u0275prov=t.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})()},8682:(kt,ot,c)=>{c.d(ot,{R:()=>Ii});var t=c(9212),_=c(5369),k=c(2263),T=c(7349),x=c(6814),H=c(3680);const L=["*"],F=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],Z=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],I=new t.OlP("MAT_CARD_CONFIG");let it=(()=>{class m{constructor(d){this.appearance=d?.appearance||"raised"}static#t=this.\u0275fac=function(g){return new(g||m)(t.Y36(I,8))};static#e=this.\u0275cmp=t.Xpm({type:m,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(g,y){2&g&&t.ekj("mat-mdc-card-outlined","outlined"===y.appearance)("mdc-card--outlined","outlined"===y.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:L,decls:1,vars:0,template:function(g,y){1&g&&(t.F$t(),t.Hsn(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{color:rgba(0, 0, 0, 0.6);flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mdc-card__action--icon:not(:disabled){color:rgba(0, 0, 0, 0.6)}.mat-mdc-card{border-radius:var(--mdc-elevated-card-container-shape);background-color:var(--mdc-elevated-card-container-color);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color);box-shadow:var(--mdc-elevated-card-container-elevation)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape)}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width);border-style:solid;border-color:var(--mdc-outlined-card-outline-color);border-radius:var(--mdc-outlined-card-container-shape);background-color:var(--mdc-outlined-card-container-color);box-shadow:var(--mdc-outlined-card-container-elevation)}.mat-mdc-card-outlined .mdc-card::after{border-radius:var(--mdc-outlined-card-container-shape)}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font);line-height:var(--mat-card-title-text-line-height);font-size:var(--mat-card-title-text-size);letter-spacing:var(--mat-card-title-text-tracking);font-weight:var(--mat-card-title-text-weight)}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color);font-family:var(--mat-card-subtitle-text-font);line-height:var(--mat-card-subtitle-text-line-height);font-size:var(--mat-card-subtitle-text-size);letter-spacing:var(--mat-card-subtitle-text-tracking);font-weight:var(--mat-card-subtitle-text-weight)}.mat-mdc-card{position:relative}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0})}return m})(),b=(()=>{class m{static#t=this.\u0275fac=function(g){return new(g||m)};static#e=this.\u0275dir=t.lG2({type:m,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]})}return m})(),K=(()=>{class m{static#t=this.\u0275fac=function(g){return new(g||m)};static#e=this.\u0275dir=t.lG2({type:m,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]})}return m})(),X=(()=>{class m{constructor(){this.align="start"}static#t=this.\u0275fac=function(g){return new(g||m)};static#e=this.\u0275dir=t.lG2({type:m,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(g,y){2&g&&t.ekj("mat-mdc-card-actions-align-end","end"===y.align)},inputs:{align:"align"},exportAs:["matCardActions"]})}return m})(),ut=(()=>{class m{static#t=this.\u0275fac=function(g){return new(g||m)};static#e=this.\u0275cmp=t.Xpm({type:m,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:Z,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(g,y){1&g&&(t.F$t(F),t.Hsn(0),t.TgZ(1,"div",0),t.Hsn(2,1),t.qZA(),t.Hsn(3,2))},encapsulation:2,changeDetection:0})}return m})(),Lt=(()=>{class m{static#t=this.\u0275fac=function(g){return new(g||m)};static#e=this.\u0275mod=t.oAB({type:m});static#n=this.\u0275inj=t.cJS({imports:[H.BQ,x.ez,H.BQ]})}return m})();var Qt=c(2831),Pe=c(4191);const Ze=["mat-button",""],Ce=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],x1=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Ee=["mat-icon-button",""],We=["*"],Ct=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}];let O=(()=>{class m{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(d){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,d)}get disableRipple(){return this._disableRipple}set disableRipple(d){this._disableRipple=d,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(d){this._disabled=d,this._updateRippleDisabled()}constructor(d,g,y,Y){this._elementRef=d,this._platform=g,this._ngZone=y,this._animationMode=Y,this._focusMonitor=(0,t.f3M)(Pe.tE),this._rippleLoader=(0,t.f3M)(H.Fq),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const dt=this._elementRef.nativeElement,Et=dt.classList;for(const{attribute:Tt,mdcClasses:me}of Ct)dt.hasAttribute(Tt)&&Et.add(...me)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(d="program",g){d?this._focusMonitor.focusVia(this._elementRef.nativeElement,d,g):this._elementRef.nativeElement.focus(g)}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#t=this.\u0275fac=function(g){t.$Z()};static#e=this.\u0275dir=t.lG2({type:m,inputs:{color:"color",disableRipple:["disableRipple","disableRipple",t.VuI],disabled:["disabled","disabled",t.VuI]},features:[t.Xq5]})}return m})(),zt=(()=>{class m extends O{constructor(d,g,y,Y){super(d,g,y,Y)}static#t=this.\u0275fac=function(g){return new(g||m)(t.Y36(t.SBq),t.Y36(Qt.t4),t.Y36(t.R0b),t.Y36(t.QbO,8))};static#e=this.\u0275cmp=t.Xpm({type:m,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:9,hostBindings:function(g,y){2&g&&(t.uIk("disabled",y.disabled||null),t.Tol(y.color?"mat-"+y.color:""),t.ekj("_mat-animation-noopable","NoopAnimations"===y._animationMode)("mat-unthemed",!y.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[t.qOj],attrs:Ze,ngContentSelectors:x1,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(g,y){1&g&&(t.F$t(Ce),t._UZ(0,"span",0),t.Hsn(1),t.TgZ(2,"span",1),t.Hsn(3,1),t.qZA(),t.Hsn(4,2),t._UZ(5,"span",2)(6,"span",3)),2&g&&t.ekj("mdc-button__ripple",!y._isFab)("mdc-fab__ripple",y._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(100% + 4px);width:calc(100% + 4px);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);border-radius:var(--mdc-text-button-container-shape);--mdc-text-button-container-shape:4px;--mdc-text-button-container-height:36px;--mdc-text-button-keep-touch-target:false}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);--mdc-filled-button-container-shape:4px;--mdc-filled-button-container-elevation:0;--mdc-filled-button-disabled-container-elevation:0;--mdc-filled-button-focus-container-elevation:0;--mdc-filled-button-hover-container-elevation:0;--mdc-filled-button-keep-touch-target:false;--mdc-filled-button-pressed-container-elevation:0}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);--mdc-protected-button-container-shape:4px;--mdc-protected-button-keep-touch-target:false}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled][disabled]{box-shadow:none}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);--mdc-outlined-button-keep-touch-target:false;--mdc-outlined-button-outline-width:1px;--mdc-outlined-button-container-shape:4px}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.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)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.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}.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 .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})}return m})(),Ge=(()=>{class m extends O{constructor(d,g,y,Y){super(d,g,y,Y),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#t=this.\u0275fac=function(g){return new(g||m)(t.Y36(t.SBq),t.Y36(Qt.t4),t.Y36(t.R0b),t.Y36(t.QbO,8))};static#e=this.\u0275cmp=t.Xpm({type:m,selectors:[["button","mat-icon-button",""]],hostVars:9,hostBindings:function(g,y){2&g&&(t.uIk("disabled",y.disabled||null),t.Tol(y.color?"mat-"+y.color:""),t.ekj("_mat-animation-noopable","NoopAnimations"===y._animationMode)("mat-unthemed",!y.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[t.qOj],attrs:Ee,ngContentSelectors:We,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(g,y){1&g&&(t.F$t(),t._UZ(0,"span",0),t.Hsn(1),t._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}.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{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;border-radius:50%;flex-shrink:0;text-align:center;font-size:var(--mdc-icon-button-icon-size);-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;color:var(--mdc-icon-button-disabled-icon-color)}.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}.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-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.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})}return m})(),o1=(()=>{class m{static#t=this.\u0275fac=function(g){return new(g||m)};static#e=this.\u0275mod=t.oAB({type:m});static#n=this.\u0275inj=t.cJS({imports:[H.BQ,H.si,H.BQ]})}return m})();var _e=c(2495),Me=c(2096),ge=c(8504),s1=c(9315),Ye=c(7394),ce=c(9397),Le=c(7398),p1=c(6306),b1=c(4716),h1=c(3020),a1=c(8180),M1=c(6328),r1=c(2181);class Ne{}class ze{constructor(M){this.normalizedNames=new Map,this.lazyUpdate=null,M?"string"==typeof M?this.lazyInit=()=>{this.headers=new Map,M.split("\n").forEach(d=>{const g=d.indexOf(":");if(g>0){const y=d.slice(0,g),Y=y.toLowerCase(),dt=d.slice(g+1).trim();this.maybeSetNormalizedName(y,Y),this.headers.has(Y)?this.headers.get(Y).push(dt):this.headers.set(Y,[dt])}})}:typeof Headers<"u"&&M instanceof Headers?(this.headers=new Map,M.forEach((d,g)=>{this.setHeaderEntries(g,d)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(M).forEach(([d,g])=>{this.setHeaderEntries(d,g)})}:this.headers=new Map}has(M){return this.init(),this.headers.has(M.toLowerCase())}get(M){this.init();const d=this.headers.get(M.toLowerCase());return d&&d.length>0?d[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(M){return this.init(),this.headers.get(M.toLowerCase())||null}append(M,d){return this.clone({name:M,value:d,op:"a"})}set(M,d){return this.clone({name:M,value:d,op:"s"})}delete(M,d){return this.clone({name:M,value:d,op:"d"})}maybeSetNormalizedName(M,d){this.normalizedNames.has(d)||this.normalizedNames.set(d,M)}init(){this.lazyInit&&(this.lazyInit instanceof ze?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(M=>this.applyUpdate(M)),this.lazyUpdate=null))}copyFrom(M){M.init(),Array.from(M.headers.keys()).forEach(d=>{this.headers.set(d,M.headers.get(d)),this.normalizedNames.set(d,M.normalizedNames.get(d))})}clone(M){const d=new ze;return d.lazyInit=this.lazyInit&&this.lazyInit instanceof ze?this.lazyInit:this,d.lazyUpdate=(this.lazyUpdate||[]).concat([M]),d}applyUpdate(M){const d=M.name.toLowerCase();switch(M.op){case"a":case"s":let g=M.value;if("string"==typeof g&&(g=[g]),0===g.length)return;this.maybeSetNormalizedName(M.name,d);const y=("a"===M.op?this.headers.get(d):void 0)||[];y.push(...g),this.headers.set(d,y);break;case"d":const Y=M.value;if(Y){let dt=this.headers.get(d);if(!dt)return;dt=dt.filter(Et=>-1===Y.indexOf(Et)),0===dt.length?(this.headers.delete(d),this.normalizedNames.delete(d)):this.headers.set(d,dt)}else this.headers.delete(d),this.normalizedNames.delete(d)}}setHeaderEntries(M,d){const g=(Array.isArray(d)?d:[d]).map(Y=>Y.toString()),y=M.toLowerCase();this.headers.set(y,g),this.maybeSetNormalizedName(M,y)}forEach(M){this.init(),Array.from(this.normalizedNames.keys()).forEach(d=>M(this.normalizedNames.get(d),this.headers.get(d)))}}class g1{encodeKey(M){return j(M)}encodeValue(M){return j(M)}decodeKey(M){return decodeURIComponent(M)}decodeValue(M){return decodeURIComponent(M)}}const T1=/%(\d[a-f0-9])/gi,rt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function j(m){return encodeURIComponent(m).replace(T1,(M,d)=>rt[d]??M)}function S(m){return`${m}`}class U{constructor(M={}){if(this.updates=null,this.cloneFrom=null,this.encoder=M.encoder||new g1,M.fromString){if(M.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function c1(m,M){const d=new Map;return m.length>0&&m.replace(/^\?/,"").split("&").forEach(y=>{const Y=y.indexOf("="),[dt,Et]=-1==Y?[M.decodeKey(y),""]:[M.decodeKey(y.slice(0,Y)),M.decodeValue(y.slice(Y+1))],Tt=d.get(dt)||[];Tt.push(Et),d.set(dt,Tt)}),d}(M.fromString,this.encoder)}else M.fromObject?(this.map=new Map,Object.keys(M.fromObject).forEach(d=>{const g=M.fromObject[d],y=Array.isArray(g)?g.map(S):[S(g)];this.map.set(d,y)})):this.map=null}has(M){return this.init(),this.map.has(M)}get(M){this.init();const d=this.map.get(M);return d?d[0]:null}getAll(M){return this.init(),this.map.get(M)||null}keys(){return this.init(),Array.from(this.map.keys())}append(M,d){return this.clone({param:M,value:d,op:"a"})}appendAll(M){const d=[];return Object.keys(M).forEach(g=>{const y=M[g];Array.isArray(y)?y.forEach(Y=>{d.push({param:g,value:Y,op:"a"})}):d.push({param:g,value:y,op:"a"})}),this.clone(d)}set(M,d){return this.clone({param:M,value:d,op:"s"})}delete(M,d){return this.clone({param:M,value:d,op:"d"})}toString(){return this.init(),this.keys().map(M=>{const d=this.encoder.encodeKey(M);return this.map.get(M).map(g=>d+"="+this.encoder.encodeValue(g)).join("&")}).filter(M=>""!==M).join("&")}clone(M){const d=new U({encoder:this.encoder});return d.cloneFrom=this.cloneFrom||this,d.updates=(this.updates||[]).concat(M),d}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(M=>this.map.set(M,this.cloneFrom.map.get(M))),this.updates.forEach(M=>{switch(M.op){case"a":case"s":const d=("a"===M.op?this.map.get(M.param):void 0)||[];d.push(S(M.value)),this.map.set(M.param,d);break;case"d":if(void 0===M.value){this.map.delete(M.param);break}{let g=this.map.get(M.param)||[];const y=g.indexOf(S(M.value));-1!==y&&g.splice(y,1),g.length>0?this.map.set(M.param,g):this.map.delete(M.param)}}}),this.cloneFrom=this.updates=null)}}class Ut{constructor(){this.map=new Map}set(M,d){return this.map.set(M,d),this}get(M){return this.map.has(M)||this.map.set(M,M.defaultValue()),this.map.get(M)}delete(M){return this.map.delete(M),this}has(M){return this.map.has(M)}keys(){return this.map.keys()}}function t1(m){return typeof ArrayBuffer<"u"&&m instanceof ArrayBuffer}function Je(m){return typeof Blob<"u"&&m instanceof Blob}function y1(m){return typeof FormData<"u"&&m instanceof FormData}class B{constructor(M,d,g,y){let Y;if(this.url=d,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=M.toUpperCase(),function se(m){switch(m){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||y?(this.body=void 0!==g?g:null,Y=y):Y=g,Y&&(this.reportProgress=!!Y.reportProgress,this.withCredentials=!!Y.withCredentials,Y.responseType&&(this.responseType=Y.responseType),Y.headers&&(this.headers=Y.headers),Y.context&&(this.context=Y.context),Y.params&&(this.params=Y.params),this.transferCache=Y.transferCache),this.headers||(this.headers=new ze),this.context||(this.context=new Ut),this.params){const dt=this.params.toString();if(0===dt.length)this.urlWithParams=d;else{const Et=d.indexOf("?");this.urlWithParams=d+(-1===Et?"?":Etj1.set(f1,M.setHeaders[f1]),Tt)),M.setParams&&(me=Object.keys(M.setParams).reduce((j1,f1)=>j1.set(f1,M.setParams[f1]),me)),new B(d,g,Y,{params:me,headers:Tt,context:De,reportProgress:Et,responseType:y,withCredentials:dt})}}var C=function(m){return m[m.Sent=0]="Sent",m[m.UploadProgress=1]="UploadProgress",m[m.ResponseHeader=2]="ResponseHeader",m[m.DownloadProgress=3]="DownloadProgress",m[m.Response=4]="Response",m[m.User=5]="User",m}(C||{});class N{constructor(M,d=200,g="OK"){this.headers=M.headers||new ze,this.status=void 0!==M.status?M.status:d,this.statusText=M.statusText||g,this.url=M.url||null,this.ok=this.status>=200&&this.status<300}}class ht extends N{constructor(M={}){super(M),this.type=C.Response,this.body=void 0!==M.body?M.body:null}clone(M={}){return new ht({body:void 0!==M.body?M.body:this.body,headers:M.headers||this.headers,status:void 0!==M.status?M.status:this.status,statusText:M.statusText||this.statusText,url:M.url||this.url||void 0})}}function Gt(m,M){return{body:M,headers:m.headers,context:m.context,observe:m.observe,params:m.params,reportProgress:m.reportProgress,responseType:m.responseType,withCredentials:m.withCredentials,transferCache:m.transferCache}}let Ie=(()=>{class m{constructor(d){this.handler=d}request(d,g,y={}){let Y;if(d instanceof B)Y=d;else{let Tt,me;Tt=y.headers instanceof ze?y.headers:new ze(y.headers),y.params&&(me=y.params instanceof U?y.params:new U({fromObject:y.params})),Y=new B(d,g,void 0!==y.body?y.body:null,{headers:Tt,context:y.context,params:me,reportProgress:y.reportProgress,responseType:y.responseType||"json",withCredentials:y.withCredentials,transferCache:y.transferCache})}const dt=(0,Me.of)(Y).pipe((0,M1.b)(Tt=>this.handler.handle(Tt)));if(d instanceof B||"events"===y.observe)return dt;const Et=dt.pipe((0,r1.h)(Tt=>Tt instanceof ht));switch(y.observe||"body"){case"body":switch(Y.responseType){case"arraybuffer":return Et.pipe((0,Le.U)(Tt=>{if(null!==Tt.body&&!(Tt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Tt.body}));case"blob":return Et.pipe((0,Le.U)(Tt=>{if(null!==Tt.body&&!(Tt.body instanceof Blob))throw new Error("Response is not a Blob.");return Tt.body}));case"text":return Et.pipe((0,Le.U)(Tt=>{if(null!==Tt.body&&"string"!=typeof Tt.body)throw new Error("Response is not a string.");return Tt.body}));default:return Et.pipe((0,Le.U)(Tt=>Tt.body))}case"response":return Et;default:throw new Error(`Unreachable: unhandled observe type ${y.observe}}`)}}delete(d,g={}){return this.request("DELETE",d,g)}get(d,g={}){return this.request("GET",d,g)}head(d,g={}){return this.request("HEAD",d,g)}jsonp(d,g){return this.request("JSONP",d,{params:(new U).append(g,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(d,g={}){return this.request("OPTIONS",d,g)}patch(d,g,y={}){return this.request("PATCH",d,Gt(y,g))}post(d,g,y={}){return this.request("POST",d,Gt(y,g))}put(d,g,y={}){return this.request("PUT",d,Gt(y,g))}static#t=this.\u0275fac=function(g){return new(g||m)(t.LFG(Ne))};static#e=this.\u0275prov=t.Yz7({token:m,factory:m.\u0275fac})}return m})();var Fe=c(6593);const He=["*"];let Ve;function L1(m){return function v1(){if(void 0===Ve&&(Ve=null,typeof window<"u")){const m=window;void 0!==m.trustedTypes&&(Ve=m.trustedTypes.createPolicy("angular#components",{createHTML:M=>M}))}return Ve}()?.createHTML(m)||m}function Yn(m){return Error(`Unable to find icon with the name "${m}"`)}function Jn(m){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${m}".`)}function On(m){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${m}".`)}class V1{constructor(M,d,g){this.url=M,this.svgText=d,this.options=g}}let mn=(()=>{class m{constructor(d,g,y,Y){this._httpClient=d,this._sanitizer=g,this._errorHandler=Y,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=y}addSvgIcon(d,g,y){return this.addSvgIconInNamespace("",d,g,y)}addSvgIconLiteral(d,g,y){return this.addSvgIconLiteralInNamespace("",d,g,y)}addSvgIconInNamespace(d,g,y,Y){return this._addSvgIconConfig(d,g,new V1(y,null,Y))}addSvgIconResolver(d){return this._resolvers.push(d),this}addSvgIconLiteralInNamespace(d,g,y,Y){const dt=this._sanitizer.sanitize(t.q3G.HTML,y);if(!dt)throw On(y);const Et=L1(dt);return this._addSvgIconConfig(d,g,new V1("",Et,Y))}addSvgIconSet(d,g){return this.addSvgIconSetInNamespace("",d,g)}addSvgIconSetLiteral(d,g){return this.addSvgIconSetLiteralInNamespace("",d,g)}addSvgIconSetInNamespace(d,g,y){return this._addSvgIconSetConfig(d,new V1(g,null,y))}addSvgIconSetLiteralInNamespace(d,g,y){const Y=this._sanitizer.sanitize(t.q3G.HTML,g);if(!Y)throw On(g);const dt=L1(Y);return this._addSvgIconSetConfig(d,new V1("",dt,y))}registerFontClassAlias(d,g=d){return this._fontCssClassesByAlias.set(d,g),this}classNameForFontAlias(d){return this._fontCssClassesByAlias.get(d)||d}setDefaultFontSetClass(...d){return this._defaultFontSetClass=d,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(d){const g=this._sanitizer.sanitize(t.q3G.RESOURCE_URL,d);if(!g)throw Jn(d);const y=this._cachedIconsByUrl.get(g);return y?(0,Me.of)(vn(y)):this._loadSvgIconFromConfig(new V1(d,null)).pipe((0,ce.b)(Y=>this._cachedIconsByUrl.set(g,Y)),(0,Le.U)(Y=>vn(Y)))}getNamedSvgIcon(d,g=""){const y=qn(g,d);let Y=this._svgIconConfigs.get(y);if(Y)return this._getSvgFromConfig(Y);if(Y=this._getIconConfigFromResolvers(g,d),Y)return this._svgIconConfigs.set(y,Y),this._getSvgFromConfig(Y);const dt=this._iconSetConfigs.get(g);return dt?this._getSvgFromIconSetConfigs(d,dt):(0,ge._)(Yn(y))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(d){return d.svgText?(0,Me.of)(vn(this._svgElementFromConfig(d))):this._loadSvgIconFromConfig(d).pipe((0,Le.U)(g=>vn(g)))}_getSvgFromIconSetConfigs(d,g){const y=this._extractIconWithNameFromAnySet(d,g);if(y)return(0,Me.of)(y);const Y=g.filter(dt=>!dt.svgText).map(dt=>this._loadSvgIconSetFromConfig(dt).pipe((0,p1.K)(Et=>{const me=`Loading icon set URL: ${this._sanitizer.sanitize(t.q3G.RESOURCE_URL,dt.url)} failed: ${Et.message}`;return this._errorHandler.handleError(new Error(me)),(0,Me.of)(null)})));return(0,s1.D)(Y).pipe((0,Le.U)(()=>{const dt=this._extractIconWithNameFromAnySet(d,g);if(!dt)throw Yn(d);return dt}))}_extractIconWithNameFromAnySet(d,g){for(let y=g.length-1;y>=0;y--){const Y=g[y];if(Y.svgText&&Y.svgText.toString().indexOf(d)>-1){const dt=this._svgElementFromConfig(Y),Et=this._extractSvgIconFromSet(dt,d,Y.options);if(Et)return Et}}return null}_loadSvgIconFromConfig(d){return this._fetchIcon(d).pipe((0,ce.b)(g=>d.svgText=g),(0,Le.U)(()=>this._svgElementFromConfig(d)))}_loadSvgIconSetFromConfig(d){return d.svgText?(0,Me.of)(null):this._fetchIcon(d).pipe((0,ce.b)(g=>d.svgText=g))}_extractSvgIconFromSet(d,g,y){const Y=d.querySelector(`[id="${g}"]`);if(!Y)return null;const dt=Y.cloneNode(!0);if(dt.removeAttribute("id"),"svg"===dt.nodeName.toLowerCase())return this._setSvgAttributes(dt,y);if("symbol"===dt.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(dt),y);const Et=this._svgElementFromString(L1(""));return Et.appendChild(dt),this._setSvgAttributes(Et,y)}_svgElementFromString(d){const g=this._document.createElement("DIV");g.innerHTML=d;const y=g.querySelector("svg");if(!y)throw Error(" tag not found");return y}_toSvgElement(d){const g=this._svgElementFromString(L1("")),y=d.attributes;for(let Y=0;YL1(me)),(0,b1.x)(()=>this._inProgressUrlFetches.delete(dt)),(0,h1.B)());return this._inProgressUrlFetches.set(dt,Tt),Tt}_addSvgIconConfig(d,g,y){return this._svgIconConfigs.set(qn(d,g),y),this}_addSvgIconSetConfig(d,g){const y=this._iconSetConfigs.get(d);return y?y.push(g):this._iconSetConfigs.set(d,[g]),this}_svgElementFromConfig(d){if(!d.svgElement){const g=this._svgElementFromString(d.svgText);this._setSvgAttributes(g,d.options),d.svgElement=g}return d.svgElement}_getIconConfigFromResolvers(d,g){for(let y=0;yM?M.pathname+M.search:""}}}),Kn=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Ti=Kn.map(m=>`[${m}]`).join(", "),Oi=/^url\(['"]?#(.*?)['"]?\)$/;let Ai=(()=>{class m extends ki{get inline(){return this._inline}set inline(d){this._inline=(0,_e.Ig)(d)}get svgIcon(){return this._svgIcon}set svgIcon(d){d!==this._svgIcon&&(d?this._updateSvgIcon(d):this._svgIcon&&this._clearSvgElement(),this._svgIcon=d)}get fontSet(){return this._fontSet}set fontSet(d){const g=this._cleanupFontValue(d);g!==this._fontSet&&(this._fontSet=g,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(d){const g=this._cleanupFontValue(d);g!==this._fontIcon&&(this._fontIcon=g,this._updateFontIconClasses())}constructor(d,g,y,Y,dt,Et){super(d),this._iconRegistry=g,this._location=Y,this._errorHandler=dt,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Ye.w0.EMPTY,Et&&(Et.color&&(this.color=this.defaultColor=Et.color),Et.fontSet&&(this.fontSet=Et.fontSet)),y||d.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(d){if(!d)return["",""];const g=d.split(":");switch(g.length){case 1:return["",g[0]];case 2:return g;default:throw Error(`Invalid icon name: "${d}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const d=this._elementsWithExternalReferences;if(d&&d.size){const g=this._location.getPathname();g!==this._previousPath&&(this._previousPath=g,this._prependPathToReferences(g))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(d){this._clearSvgElement();const g=this._location.getPathname();this._previousPath=g,this._cacheChildrenWithExternalReferences(d),this._prependPathToReferences(g),this._elementRef.nativeElement.appendChild(d)}_clearSvgElement(){const d=this._elementRef.nativeElement;let g=d.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();g--;){const y=d.childNodes[g];(1!==y.nodeType||"svg"===y.nodeName.toLowerCase())&&y.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const d=this._elementRef.nativeElement,g=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(y=>y.length>0);this._previousFontSetClass.forEach(y=>d.classList.remove(y)),g.forEach(y=>d.classList.add(y)),this._previousFontSetClass=g,this.fontIcon!==this._previousFontIconClass&&!g.includes("mat-ligature-font")&&(this._previousFontIconClass&&d.classList.remove(this._previousFontIconClass),this.fontIcon&&d.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(d){return"string"==typeof d?d.trim().split(" ")[0]:d}_prependPathToReferences(d){const g=this._elementsWithExternalReferences;g&&g.forEach((y,Y)=>{y.forEach(dt=>{Y.setAttribute(dt.name,`url('${d}#${dt.value}')`)})})}_cacheChildrenWithExternalReferences(d){const g=d.querySelectorAll(Ti),y=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Y=0;Y{const Et=g[Y],Tt=Et.getAttribute(dt),me=Tt?Tt.match(Oi):null;if(me){let De=y.get(Et);De||(De=[],y.set(Et,De)),De.push({name:dt,value:me[1]})}})}_updateSvgIcon(d){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),d){const[g,y]=this._splitIconName(d);g&&(this._svgNamespace=g),y&&(this._svgName=y),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(y,g).pipe((0,a1.q)(1)).subscribe(Y=>this._setSvgElement(Y),Y=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${g}:${y}! ${Y.message}`))})}}static#t=this.\u0275fac=function(g){return new(g||m)(t.Y36(t.SBq),t.Y36(mn),t.$8M("aria-hidden"),t.Y36(Si),t.Y36(t.qLn),t.Y36(Ci,8))};static#e=this.\u0275cmp=t.Xpm({type:m,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(g,y){2&g&&(t.uIk("data-mat-icon-type",y._usingFontIcon()?"font":"svg")("data-mat-icon-name",y._svgName||y.fontIcon)("data-mat-icon-namespace",y._svgNamespace||y.fontSet)("fontIcon",y._usingFontIcon()?y.fontIcon:null),t.ekj("mat-icon-inline",y.inline)("mat-icon-no-color","primary"!==y.color&&"accent"!==y.color&&"warn"!==y.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[t.qOj],ngContentSelectors:He,decls:1,vars:0,template:function(g,y){1&g&&(t.F$t(),t.Hsn(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}return m})(),Di=(()=>{class m{static#t=this.\u0275fac=function(g){return new(g||m)};static#e=this.\u0275mod=t.oAB({type:m});static#n=this.\u0275inj=t.cJS({imports:[H.BQ,H.BQ]})}return m})();var Ei=c(8144);function Bi(m,M){1&m&&t.GkF(0)}function Ri(m,M){if(1&m&&(t.TgZ(0,"div",11),t._uU(1),t.qZA()),2&m){const d=t.oxw().step,g=t.oxw();t.xp6(1),t.AsE("",(null==g.tourService.steps?null:g.tourService.steps.indexOf(d))+1," / ",null==g.tourService.steps?null:g.tourService.steps.length,"")}}function Pi(m,M){if(1&m){const d=t.EpF();t.TgZ(0,"button",12),t.NdJ("click",function(){t.CHM(d);const y=t.oxw(2);return t.KtG(y.tourService.next())}),t._uU(1),t.TgZ(2,"mat-icon",13),t._uU(3,"chevron_right"),t.qZA()()}if(2&m){const d=t.oxw().step;t.xp6(1),t.hij(" ",d.nextBtnTitle," ")}}function An(m,M){if(1&m){const d=t.EpF();t.TgZ(0,"button",14),t.NdJ("click",function(){t.CHM(d);const y=t.oxw(2);return t.KtG(y.tourService.end())}),t._uU(1),t.qZA()}if(2&m){const d=t.oxw().step;t.xp6(1),t.hij(" ",d.endBtnTitle," ")}}function Li(m,M){if(1&m){const d=t.EpF();t.TgZ(0,"mat-card",3),t.NdJ("click",function(y){return y.stopPropagation()}),t.TgZ(1,"mat-card-header")(2,"div",4)(3,"mat-card-title"),t._uU(4),t.qZA(),t.TgZ(5,"button",5),t.NdJ("click",function(){t.CHM(d);const y=t.oxw();return t.KtG(y.tourService.end())}),t.TgZ(6,"mat-icon"),t._uU(7,"close"),t.qZA()()()(),t._UZ(8,"mat-card-content",6),t.TgZ(9,"mat-card-actions")(10,"button",7),t.NdJ("click",function(){t.CHM(d);const y=t.oxw();return t.KtG(y.tourService.prev())}),t.TgZ(11,"mat-icon"),t._uU(12,"chevron_left"),t.qZA(),t._uU(13),t.qZA(),t.YNc(14,Ri,2,2,"div",8)(15,Pi,4,1,"button",9)(16,An,2,1,"button",10),t.qZA()()}if(2&m){const d=M.step,g=t.oxw();t.Udp("width",null==d.stepDimensions?null:d.stepDimensions.width)("min-width",null==d.stepDimensions?null:d.stepDimensions.minWidth)("max-width",null==d.stepDimensions?null:d.stepDimensions.maxWidth),t.xp6(4),t.hij(" ",d.title," "),t.xp6(4),t.Q6J("innerHTML",d.content,t.oJD),t.xp6(1),t.ekj("no-progress",!d.showProgress),t.xp6(1),t.Q6J("disabled",!g.tourService.hasPrev(d)),t.xp6(3),t.hij(" ",d.prevBtnTitle," "),t.xp6(1),t.um2(14,d.showProgress?14:-1),t.xp6(1),t.um2(15,g.tourService.hasNext(d)&&!d.nextOnAnchorClick?15:-1),t.xp6(1),t.um2(16,g.tourService.hasNext(d)?-1:16)}}const Ni=m=>({step:m});let Ii=(()=>{class m extends _.Z5{constructor(d,g){super(g),this.tourStepTemplateService=d,this.tourService=g,this.step={}}ngAfterViewInit(){this.tourStepTemplateService.templateComponent=this}static#t=this.\u0275fac=function(g){return new(g||m)(t.Y36(Ei.P),t.Y36(T.T))};static#e=this.\u0275cmp=t.Xpm({type:m,selectors:[["tour-step-template"]],contentQueries:function(g,y,Y){if(1&g&&t.Suo(Y,t.Rgc,5),2&g){let dt;t.iGM(dt=t.CRH())&&(y.stepTemplateContent=dt.first)}},viewQuery:function(g,y){if(1&g&&t.Gf(k.VK,5),2&g){let Y;t.iGM(Y=t.CRH())&&(y.tourStep=Y.first)}},inputs:{stepTemplate:"stepTemplate"},standalone:!0,features:[t.qOj,t.jDz],decls:4,vars:5,consts:[[3,"overlapTrigger"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["defaultTemplate",""],[3,"click"],[1,"header-group"],["mat-icon-button","",1,"close",3,"click"],[1,"mat-body",3,"innerHTML"],["mat-button","",1,"prev",3,"disabled","click"],["class","progress"],["class","next","mat-button",""],["mat-button",""],[1,"progress"],["mat-button","",1,"next",3,"click"],["iconPositionEnd",""],["mat-button","",3,"click"]],template:function(g,y){if(1&g&&(t.TgZ(0,"mat-menu",0),t.YNc(1,Bi,1,0,"ng-container",1),t.qZA(),t.YNc(2,Li,17,15,"ng-template",null,2,t.W1O)),2&g){const Y=t.MAs(3);t.Q6J("overlapTrigger",!1),t.xp6(1),t.Q6J("ngTemplateOutlet",y.stepTemplate||y.stepTemplateContent||Y)("ngTemplateOutletContext",t.VKq(3,Ni,y.step))}},dependencies:[Lt,it,X,K,ut,b,k.Tx,k.VK,x.tP,o1,zt,Ge,Di,Ai],styles:['.mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{--mdc-icon-button-state-layer-size: 36px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:6px}.mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none} .tour-step .mat-mdc-menu-content{padding:0!important} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step{min-width:unset;max-width:unset;overflow:unset;box-shadow:none;filter:drop-shadow(0px 5px 5px rgba(0,0,0,.2)) drop-shadow(0px 8px 10px rgba(0,0,0,.14))} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow{position:relative} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow:after, .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow:before{bottom:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow:after{border-color:#fff0;border-width:8px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow:before{border-color:#e3e4e600;border-width:9px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-before:not(.horizontal):after, .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-before:not(.horizontal):before{right:10px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-before:not(.horizontal):after, .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-before:not(.horizontal):before{right:20px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-before:not(.horizontal):before{margin-right:-1px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-after:not(.horizontal):after, .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-after:not(.horizontal):before{left:10px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-after:not(.horizontal):after, .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-after:not(.horizontal):before{left:20px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-after:not(.horizontal):after{margin-left:1px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-below:not(.horizontal){margin-top:10px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-below:not(.horizontal):after{border-top-color:transparent;border-bottom-color:#fff} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-below:not(.horizontal):before{border-top-color:transparent;border-bottom-color:#e3e4e6} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-above:not(.horizontal){margin-bottom:10px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-above:not(.horizontal):after, .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-above:not(.horizontal):before{top:100%} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-above:not(.horizontal):after{border-top-color:#fff;border-bottom-color:transparent} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-above:not(.horizontal):before{border-top-color:#e3e4e6;border-bottom-color:transparent} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-before.horizontal{margin-right:10px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-before.horizontal:after, .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-before.horizontal:before{left:100%} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-before.horizontal:after{border-left-color:#fff;border-right-color:transparent} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-before.horizontal:before{border-left-color:#e3e4e6;border-right-color:transparent} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-after.horizontal{margin-left:10px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-after.horizontal:after, .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-after.horizontal:before{right:100%} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-after.horizontal:after{border-left-color:transparent;border-right-color:#fff} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-after.horizontal:before{border-left-color:transparent;border-right-color:#e3e4e6} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-below.horizontal:after, .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-below.horizontal:before{top:16px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-below.horizontal:after{margin-top:1px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-above.horizontal:after, .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-above.horizontal:before{bottom:16px} .mat-mdc-menu-panel.mat-mdc-menu-panel.tour-step.arrow.mat-menu-above.horizontal:after{margin-bottom:1px}mat-card[_ngcontent-%COMP%]{box-shadow:none}mat-card-content[_ngcontent-%COMP%]{margin:8px 0}mat-card-actions[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px}mat-card-actions[_ngcontent-%COMP%] .progress[_ngcontent-%COMP%]{font-size:12px;font-weight:600;color:#00000061;white-space:nowrap}mat-card-actions.no-progress[_ngcontent-%COMP%]{grid-template-columns:1fr 1fr}mat-card-actions[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{max-width:-moz-fit-content;max-width:fit-content}mat-card-actions[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{justify-self:flex-end}mat-card-actions[_ngcontent-%COMP%] button.prev[_ngcontent-%COMP%]{padding-left:4px}mat-card-actions[_ngcontent-%COMP%] button.next[_ngcontent-%COMP%]{padding-right:4px}mat-card-header[_ngcontent-%COMP%] .header-group[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-top:-8px;width:100%}mat-card-header[_ngcontent-%COMP%] .header-group[_ngcontent-%COMP%] mat-card-title[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}mat-card-header[_ngcontent-%COMP%] .header-group[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:-8px}']})}return m})()},74:(kt,ot,c)=>{c.d(ot,{JA:()=>t.J,jo:()=>x,QL:()=>H.T});var t=c(5593),_=c(8682),k=c(9212);let x=(()=>{class L{static#t=this.\u0275fac=function(F){return new(F||L)};static#e=this.\u0275mod=k.oAB({type:L});static#n=this.\u0275inj=k.cJS({imports:[_.R]})}return L})();var H=c(7349)},1750:(kt,ot,c)=>{c.d(ot,{x:()=>k});var t=c(5369),_=c(9212);let k=(()=>{class T extends t.QL{static#t=this.\u0275fac=(()=>{let H;return function(G){return(H||(H=_.n5z(T)))(G||T)}})();static#e=this.\u0275prov=_.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})()},7212:(kt,ot,c)=>{c.d(ot,{Q:()=>L});var t=c(5861),_=c(1750),k=c(4036),T=c(9212),x=c(7705),H=c(2914);let L=(()=>{class G{constructor(F,Z,I,it){this.tourService=F,this.tourStepTemplate=Z,this.element=I,this.popoverDirective=it,this.popoverDirective.autoClose=!1,this.popoverDirective.triggers="",this.popoverDirective.toggle=()=>{}}ngOnInit(){this.tourService.register(this.tourAnchor,this)}ngOnDestroy(){this.tourService.unregister(this.tourAnchor)}showTourStep(F){var Z=this;return(0,t.Z)(function*(){Z.popoverDirective.isOpen()&&(yield(0,k.z)(Z.popoverDirective.hidden)),Z.isActive=!0,Z.popoverDirective.ngbPopover=Z.tourStepTemplate.template,F.useLegacyTitle&&(Z.popoverDirective.popoverTitle=F.title),Z.popoverDirective.container="body",Z.popoverDirective.popoverClass=`tour-step ${F.popoverClass??""}`,Z.popoverDirective.placement=(F.placement||"auto").replace("before","left").replace("after","right").replace("below","bottom").replace("above","top");const it=F.backdropConfig?.offset;it&&(Z.popoverDirective.popperOptions=b=>Z.setOffsetModifier(b,it)),Z.popoverDirective.open({step:F})})()}setOffsetModifier(F,Z){const I=F.modifiers?.find(b=>"offset"===b.name&&b.options);return I&&(I.options.offset=[0,Z+10]),F}hideTourStep(){this.isActive=!1,this.popoverDirective.close()}static#t=this.\u0275fac=function(Z){return new(Z||G)(T.Y36(_.x),T.Y36(x.P),T.Y36(T.SBq),T.Y36(H.o8,1))};static#e=this.\u0275dir=T.lG2({type:G,selectors:[["","tourAnchor",""]],hostVars:2,hostBindings:function(Z,I){2&Z&&T.ekj("touranchor--is-active",I.isActive)},inputs:{tourAnchor:"tourAnchor"},standalone:!0,features:[T.zW0([H.o8])]})}return G})()},7705:(kt,ot,c)=>{c.d(ot,{P:()=>_});var t=c(9212);let _=(()=>{class k{static#t=this.\u0275fac=function(H){return new(H||k)};static#e=this.\u0275prov=t.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})()},9451:(kt,ot,c)=>{c.d(ot,{R:()=>Z});var t=c(9212),_=c(5369),k=c(7705),T=c(1750);const x=["tourStep"];function H(I,it){if(1&I){const b=t.EpF();t.TgZ(0,"div",11)(1,"h5"),t._uU(2),t.qZA(),t.TgZ(3,"button",12),t.NdJ("click",function(){t.CHM(b);const K=t.oxw(2);return t.KtG(K.tourService.end())}),t.qZA()()}if(2&I){const b=t.oxw().step;t.xp6(2),t.Oqu(null==b?null:b.title)}}function L(I,it){if(1&I&&(t.O4$(),t.kcU(),t.TgZ(0,"div",13),t._uU(1),t.qZA()),2&I){const b=t.oxw().step,at=t.oxw();t.xp6(1),t.AsE("",(null==at.tourService.steps?null:at.tourService.steps.indexOf(b))+1," / ",null==at.tourService.steps?null:at.tourService.steps.length,"")}}function G(I,it){if(1&I){const b=t.EpF();t.O4$(),t.kcU(),t.TgZ(0,"button",14),t.NdJ("click",function(){t.CHM(b);const K=t.oxw(2);return t.KtG(K.tourService.next())}),t._uU(1),t.O4$(),t.TgZ(2,"svg",6),t._UZ(3,"path",15),t.qZA()()}if(2&I){const b=t.oxw().step;t.xp6(1),t.hij(" ",null==b?null:b.nextBtnTitle," ")}}function E(I,it){if(1&I){const b=t.EpF();t.O4$(),t.kcU(),t.TgZ(0,"button",16),t.NdJ("click",function(){t.CHM(b);const K=t.oxw(2);return t.KtG(K.tourService.end())}),t._uU(1),t.qZA()}if(2&I){const b=t.oxw().step;t.xp6(1),t.hij(" ",null==b?null:b.endBtnTitle," ")}}function F(I,it){if(1&I){const b=t.EpF();t.TgZ(0,"div",1),t.YNc(1,H,4,1,"div",2),t._UZ(2,"p",3),t.TgZ(3,"div",4)(4,"button",5),t.NdJ("click",function(){t.CHM(b);const K=t.oxw();return t.KtG(K.tourService.prev())}),t.O4$(),t.TgZ(5,"svg",6),t._UZ(6,"path",7),t.qZA(),t._uU(7),t.qZA(),t.YNc(8,L,2,2,"div",8)(9,G,4,1,"button",9)(10,E,2,1,"button",10),t.qZA()()}if(2&I){const b=it.step,at=t.oxw();t.Udp("width",null==b.stepDimensions?null:b.stepDimensions.width)("min-width",null==b.stepDimensions?null:b.stepDimensions.minWidth)("max-width",null==b.stepDimensions?null:b.stepDimensions.maxWidth),t.xp6(1),t.um2(1,null!=b&&b.useLegacyTitle||null==b||!b.title?-1:1),t.xp6(1),t.Q6J("innerHTML",null==b?null:b.content,t.oJD),t.xp6(1),t.ekj("no-progress",!b.showProgress),t.xp6(1),t.Q6J("disabled",!at.tourService.hasPrev(b)),t.xp6(3),t.hij(" ",null==b?null:b.prevBtnTitle," "),t.xp6(1),t.um2(8,b.showProgress?8:-1),t.xp6(1),t.um2(9,at.tourService.hasNext(b)&&!b.nextOnAnchorClick?9:-1),t.xp6(1),t.um2(10,at.tourService.hasNext(b)?-1:10)}}let Z=(()=>{class I extends _.Z5{constructor(){super(...arguments),this.tourStepTemplateService=(0,t.f3M)(k.P),this.tourService=(0,t.f3M)(T.x)}ngAfterContentInit(){this.tourStepTemplateService.template=this.stepTemplate||this.stepTemplateContent||this.defaultTourStepTemplate}static#t=this.\u0275fac=(()=>{let b;return function(K){return(b||(b=t.n5z(I)))(K||I)}})();static#e=this.\u0275cmp=t.Xpm({type:I,selectors:[["tour-step-template"]],contentQueries:function(at,K,mt){if(1&at&&t.Suo(mt,t.Rgc,5),2&at){let X;t.iGM(X=t.CRH())&&(K.stepTemplateContent=X.first)}},viewQuery:function(at,K){if(1&at&&t.Gf(x,7,t.Rgc),2&at){let mt;t.iGM(mt=t.CRH())&&(K.defaultTourStepTemplate=mt.first)}},inputs:{stepTemplate:"stepTemplate"},standalone:!0,features:[t.qOj,t.jDz],decls:2,vars:0,consts:[["tourStep",""],[1,"main-container"],["class","title-container"],[1,"card-text",3,"innerHTML"],[1,"buttons"],[1,"btn","btn-sm","btn-outline-secondary","prev",3,"disabled","click"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","fill","currentColor","viewBox","0 0 16 16"],["d","M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"],["class","progress"],["class","btn btn-sm btn-outline-primary next"],["class","btn btn-sm btn-outline-primary"],[1,"title-container"],["type","button","aria-label","Close",1,"btn-close",3,"click"],[1,"progress"],[1,"btn","btn-sm","btn-outline-primary","next",3,"click"],["d","M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"],[1,"btn","btn-sm","btn-outline-primary",3,"click"]],template:function(at,K){1&at&&t.YNc(0,F,11,15,"ng-template",null,0,t.W1O)},styles:[".tour-step .popover-body{padding:0}.main-container[_ngcontent-%COMP%]{padding:.5rem 1rem .75rem}.title-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem;gap:.25rem}.title-container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:0;line-height:1.5}.buttons[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px}.buttons[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{max-width:-moz-fit-content;max-width:fit-content}.buttons[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{justify-self:flex-end}.buttons[_ngcontent-%COMP%] .progress[_ngcontent-%COMP%]{font-size:12px;font-weight:700;color:#00000073;white-space:nowrap}.buttons.no-progress[_ngcontent-%COMP%]{grid-template-columns:1fr 1fr}.buttons[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.25rem}.buttons[_ngcontent-%COMP%] .btn.prev[_ngcontent-%COMP%]{padding-left:.25rem}.buttons[_ngcontent-%COMP%] .btn.next[_ngcontent-%COMP%]{padding-right:.25rem}"]})}return I})()},990:(kt,ot,c)=>{c.d(ot,{Q4:()=>t.Q,yk:()=>x,QL:()=>H.x});var t=c(7212),k=(c(9451),c(9212));let x=(()=>{class L{static#t=this.\u0275fac=function(F){return new(F||L)};static#e=this.\u0275mod=k.oAB({type:L});static#n=this.\u0275inj=k.cJS({})}return L})();var H=c(1750)},559:(kt,ot,c)=>{c.d(ot,{H:()=>k});var t=c(5369),_=c(9212);let k=(()=>{class T extends t.QL{static#t=this.\u0275fac=(()=>{let H;return function(G){return(H||(H=_.n5z(T)))(G||T)}})();static#e=this.\u0275prov=_.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})()},3584:(kt,ot,c)=>{c.d(ot,{n:()=>I1,H:()=>k1});var t=c(9212);class _{constructor(w,f){this.open=w,this.close=f||w}isManual(){return"manual"===this.open||"manual"===this.close}}const k={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function T(p,w=k){const f=(p||"").trim();if(0===f.length)return[];const z=f.split(/\s+/).map(et=>et.split(":")).map(et=>{const st=w[et[0]]||et;return new _(st[0],st[1])}),Q=z.filter(et=>et.isManual());if(Q.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===Q.length&&z.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return z}const E=typeof window<"u"&&window||{};let xt;function Zt(){const p=E.document.createElement("span");p.innerText="testing bs version",p.classList.add("d-none"),p.classList.add("pl-1"),E.document.head.appendChild(p);const w=E.getComputedStyle(p).paddingLeft;return w&&parseFloat(w)?(E.document.head.removeChild(p),"bs4"):(E.document.head.removeChild(p),"bs5")}function ue(){return{isBs4:(xt||(xt=Zt()),"bs4"===xt),isBs5:(xt||(xt=Zt()),"bs5"===xt)}}typeof console>"u"||console;var pe=c(6814),Se=c(8645),we=c(3019),Jt=c(2438),Ee=c(2096),We=c(927),Ue=function(p){return p.top="top",p.bottom="bottom",p.left="left",p.right="right",p.auto="auto",p.end="right",p.start="left",p["top left"]="top left",p["top right"]="top right",p["right top"]="right top",p["right bottom"]="right bottom",p["bottom right"]="bottom right",p["bottom left"]="bottom left",p["left bottom"]="left bottom",p["left top"]="left top",p["top start"]="top left",p["top end"]="top right",p["end top"]="right top",p["end bottom"]="right bottom",p["bottom end"]="bottom right",p["bottom start"]="bottom left",p["start bottom"]="start bottom",p["start top"]="left top",p}(Ue||{}),ct=function(p){return p.top="top",p.bottom="bottom",p.left="start",p.right="end",p.auto="auto",p.end="end",p.start="start",p["top left"]="top start",p["top right"]="top end",p["right top"]="end top",p["right bottom"]="end bottom",p["bottom right"]="bottom end",p["bottom left"]="bottom start",p["left bottom"]="start bottom",p["left top"]="start top",p["top start"]="top start",p["top end"]="top end",p["end top"]="end top",p["end bottom"]="end bottom",p["bottom end"]="bottom end",p["bottom start"]="bottom start",p["start bottom"]="start bottom",p["start top"]="start top",p}(ct||{});function Ct(p,w){if(1!==p.nodeType)return[];const z=p.ownerDocument.defaultView?.getComputedStyle(p,null);return w?z&&z[w]:z}function O(p){if(!p)return document.documentElement;let z,f=p?.offsetParent;for(;null===f&&p.nextElementSibling&&z!==p.nextElementSibling;)z=p.nextElementSibling,f=z.offsetParent;const Q=f&&f.nodeName;return Q&&"BODY"!==Q&&"HTML"!==Q?f&&-1!==["TH","TD","TABLE"].indexOf(f.nodeName)&&"static"===Ct(f,"position")?O(f):f:z?z.ownerDocument.documentElement:document.documentElement}function nt(p){return null!==p.parentNode?nt(p.parentNode):p}function zt(p,w){if(!(p&&p.nodeType&&w&&w.nodeType))return document.documentElement;const f=p.compareDocumentPosition(w)&Node.DOCUMENT_POSITION_FOLLOWING,z=f?p:w,Q=f?w:p,et=document.createRange();et.setStart(z,0),et.setEnd(Q,0);const st=et.commonAncestorContainer;if(p!==st&&w!==st||z.contains(Q))return function P(p){const{nodeName:w}=p;return"BODY"!==w&&("HTML"===w||O(p.firstElementChild)===p)}(st)?st:O(st);const lt=nt(p);return lt.host?zt(lt.host,w):zt(p,nt(w).host)}function Ft(p){if(!p||!p.parentElement)return document.documentElement;let w=p.parentElement;for(;w?.parentElement&&"none"===Ct(w,"transform");)w=w.parentElement;return w||document.documentElement}function Vt(p,w){const f="x"===w?"Left":"Top",z="Left"===f?"Right":"Bottom";return parseFloat(p[`border${f}Width`])+parseFloat(p[`border${z}Width`])}function be(p,w,f,z){return Math.max(w[`offset${p}`],w[`scroll${p}`],f[`client${p}`],f[`offset${p}`],f[`scroll${p}`],0)}function te(p){const w=p.body,f=p.documentElement;return{height:be("Height",w,f),width:be("Width",w,f)}}function ee(p){return{...p,right:(p.left||0)+p.width,bottom:(p.top||0)+p.height}}function Ht(p){return"number"==typeof p||"[object Number]"===Object.prototype.toString.call(p)}function de(p){const w=p.getBoundingClientRect();if(!(w&&Ht(w.top)&&Ht(w.left)&&Ht(w.bottom)&&Ht(w.right)))return w;const f={left:w.left,top:w.top,width:w.right-w.left,height:w.bottom-w.top},z="HTML"===p.nodeName?te(p.ownerDocument):void 0,Q=z?.width||p.clientWidth||Ht(w.right)&&Ht(f.left)&&w.right-f.left||0,et=z?.height||p.clientHeight||Ht(w.bottom)&&Ht(f.top)&&w.bottom-f.top||0;let st=p.offsetWidth-Q,lt=p.offsetHeight-et;if(st||lt){const bt=Ct(p);st-=Vt(bt,"x"),lt-=Vt(bt,"y"),f.width-=st,f.height-=lt}return ee(f)}function Ge(p){return"HTML"===p.nodeName?p:p.parentNode||p.host}function Qe(p){if(!p)return document.body;switch(p.nodeName){case"HTML":case"BODY":return p.ownerDocument.body;case"#document":return p.body}const{overflow:w,overflowX:f,overflowY:z}=Ct(p);return/(auto|scroll|overlay)/.test(String(w)+String(z)+String(f))?p:Qe(Ge(p))}function o1(p,w,f=!1){const z="HTML"===w.nodeName,Q=de(p),et=de(w),lt=(Qe(p),Ct(w)),bt=parseFloat(lt.borderTopWidth),Bt=parseFloat(lt.borderLeftWidth);f&&z&&(et.top=Math.max(et.top??0,0),et.left=Math.max(et.left??0,0));const Nt=ee({top:(Q.top??0)-(et.top??0)-bt,left:(Q.left??0)-(et.left??0)-Bt,width:Q.width,height:Q.height});if(Nt.marginTop=0,Nt.marginLeft=0,z){const le=parseFloat(lt.marginTop),Re=parseFloat(lt.marginLeft);Ht(Nt.top)&&(Nt.top-=bt-le),Ht(Nt.bottom)&&(Nt.bottom-=bt-le),Ht(Nt.left)&&(Nt.left-=Bt-Re),Ht(Nt.right)&&(Nt.right-=Bt-Re),Nt.marginTop=le,Nt.marginLeft=Re}return Nt}function _e(p,w="top"){const f="top"===w?"scrollTop":"scrollLeft",z=p.nodeName;return"BODY"===z||"HTML"===z?(p.ownerDocument.scrollingElement||p.ownerDocument.documentElement)[f]:p[f]}function ge(p){const w=p.nodeName;return"BODY"!==w&&"HTML"!==w&&("fixed"===Ct(p,"position")||ge(Ge(p)))}function s1(p,w,f=0,z,Q=!1){let et={top:0,left:0};const st=Q?Ft(p):zt(p,w);if("viewport"===z)et=function Me(p,w=!1){const f=p.ownerDocument.documentElement,z=o1(p,f),Q=Math.max(f.clientWidth,window.innerWidth||0),et=Math.max(f.clientHeight,window.innerHeight||0),st=w?0:_e(f),lt=w?0:_e(f,"left");return ee({top:st-Number(z?.top)+Number(z?.marginTop),left:lt-Number(z?.left)+Number(z?.marginLeft),width:Q,height:et})}(st,Q);else{let lt;"scrollParent"===z?(lt=Qe(Ge(w)),"BODY"===lt.nodeName&&(lt=p.ownerDocument.documentElement)):lt="window"===z?p.ownerDocument.documentElement:z;const bt=o1(lt,st,Q);if(bt&&"HTML"===lt.nodeName&&!ge(st)){const{height:Bt,width:Nt}=te(p.ownerDocument);Ht(et.top)&&Ht(bt.top)&&Ht(bt.marginTop)&&(et.top+=bt.top-bt.marginTop),Ht(et.top)&&(et.bottom=Number(Bt)+Number(bt.top)),Ht(et.left)&&Ht(bt.left)&&Ht(bt.marginLeft)&&(et.left+=bt.left-bt.marginLeft),Ht(et.top)&&(et.right=Number(Nt)+Number(bt.left))}else bt&&(et=bt)}return Ht(et.left)&&(et.left+=f),Ht(et.top)&&(et.top+=f),Ht(et.right)&&(et.right-=f),Ht(et.bottom)&&(et.bottom-=f),et}function Ye({width:p,height:w}){return p*w}function ce(p,w,f,z,Q=["top","bottom","right","left"],et="viewport",st=0){if(-1===p.indexOf("auto"))return p;const lt=s1(f,z,st,et),bt={top:{width:lt?.width??0,height:(w?.top??0)-(lt?.top??0)},right:{width:(lt?.right??0)-(w?.right??0),height:lt?.height??0},bottom:{width:lt?.width??0,height:(lt?.bottom??0)-(w?.bottom??0)},left:{width:(w.left??0)-(lt?.left??0),height:lt?.height??0}},Bt=Object.keys(bt).map(Oe=>({position:Oe,...bt[Oe],area:Ye(bt[Oe])})).sort((Oe,qe)=>qe.area-Oe.area);let Nt=Bt.filter(({width:Oe,height:qe})=>Oe>=f.clientWidth&&qe>=f.clientHeight);Nt=Nt.filter(({position:Oe})=>Q.some(qe=>qe===Oe));const le=Nt.length>0?Nt[0].position:Bt[0].position,Re=p.split(" ")[1];return f.className=f.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${ue().isBs5?ct[le]:le}`),le+(Re?`-${Re}`:"")}const h1=(p,w=0)=>p?parseFloat(p):w;function a1(p){const f=p.ownerDocument.defaultView?.getComputedStyle(p),z=h1(f?.marginTop)+h1(f?.marginBottom),Q=h1(f?.marginLeft)+h1(f?.marginRight);return{width:Number(p.offsetWidth)+Q,height:Number(p.offsetHeight)+z}}function M1(p,w,f){return o1(w,f?Ft(p):zt(p,w),f)}function r1(p,w,f){const z=f.split(" ")[0],Q=a1(p),et={width:Q.width,height:Q.height},st=-1!==["right","left"].indexOf(z),lt=st?"top":"left",bt=st?"left":"top",Bt=st?"height":"width",Nt=st?"width":"height";return et[lt]=(w[lt]??0)+w[Bt]/2-Q[Bt]/2,et[bt]=z===bt?(w[bt]??0)-Q[Nt]:w[function p1(p){const w={left:"right",right:"left",bottom:"top",top:"bottom"};return p.replace(/left|right|bottom|top/g,f=>w[f])}(bt)]??0,et}function Ne(p,w){return!!p.modifiers[w]?.enabled}const Be={top:["top","top start","top end"],bottom:["bottom","bottom start","bottom end"],start:["start","start top","start bottom"],end:["end","end top","end bottom"]};function ze(p,w){return!!ue().isBs5&&Be[w].includes(p)}function Te(p){return ue().isBs5?ze(p,"end")?"ms-2":ze(p,"start")?"me-2":ze(p,"top")?"mb-2":ze(p,"bottom")?"mt-2":"":""}function c1(p,w,f){!p||!w||Object.keys(w).forEach(z=>{let Q="";-1!==["width","height","top","right","bottom","left"].indexOf(z)&&function It(p){return""!==p&&!isNaN(parseFloat(p))&&isFinite(Number(p))}(w[z])&&(Q="px"),f?f.setStyle(p,z,`${String(w[z])}${Q}`):p.style[z]=String(w[z])+Q})}function T1(p){let w=p.offsets.target;const f=p.instance.target.querySelector(".arrow");if(!f)return p;const z=-1!==["left","right"].indexOf(p.placement.split(" ")[0]),Q=z?"height":"width",et=z?"Top":"Left",st=et.toLowerCase(),lt=z?"left":"top",bt=z?"bottom":"right",Bt=a1(f)[Q],Nt=p.placement.split(" ")[1];(p.offsets.host[bt]??0)-Bt<(w[st]??0)&&(w[st]-=(w[st]??0)-((p.offsets.host[bt]??0)-Bt)),Number(p.offsets.host[st])+Number(Bt)>(w[bt]??0)&&(w[st]+=Number(p.offsets.host[st])+Number(Bt)-Number(w[bt])),w=ee(w);const le=Ct(p.instance.target),Re=parseFloat(le[`margin${et}`])||0,Oe=parseFloat(le[`border${et}Width`])||0;let qe;if(Nt){const O1=parseFloat(le.borderRadius)||0,Ke=Number(Re+Oe+O1);qe=st===Nt?Number(p.offsets.host[st])+Ke:Number(p.offsets.host[st])+Number(p.offsets.host[Q]-Ke)}else qe=Number(p.offsets.host[st])+Number(p.offsets.host[Q]/2-Bt/2);let e1=qe-(w[st]??0)-Re-Oe;return e1=Math.max(Math.min(w[Q]-(Bt+5),e1),0),p.offsets.arrow={[st]:Math.round(e1),[lt]:""},p.instance.arrow=f,p}function rt(p){if(p.offsets.target=ee(p.offsets.target),!Ne(p.options,"flip"))return p.offsets.target={...p.offsets.target,...r1(p.instance.target,p.offsets.host,p.placement)},p;const w=s1(p.instance.target,p.instance.host,0,"viewport",!1);let f=p.placement.split(" ")[0],z=p.placement.split(" ")[1]||"";const lt=ce("auto",p.offsets.host,p.instance.target,p.instance.host,p.options.allowedPositions),bt=[f,lt];return bt.forEach((Bt,Nt)=>{if(f!==Bt||bt.length===Nt+1)return;f=p.placement.split(" ")[0];const le="left"===f&&Math.floor(p.offsets.target.right??0)>Math.floor(p.offsets.host.left??0)||"right"===f&&Math.floor(p.offsets.target.left??0)Math.floor(p.offsets.host.top??0)||"bottom"===f&&Math.floor(p.offsets.target.top??0)Math.floor(w.right??0),qe=Math.floor(p.offsets.target.top??0)Math.floor(w.bottom??0),O1="left"===f&&Re||"right"===f&&Oe||"top"===f&&qe||"bottom"===f&&e1,Ke=-1!==["top","bottom"].indexOf(f),H1=Ke&&"left"===z&&Re||Ke&&"right"===z&&Oe||!Ke&&"left"===z&&qe||!Ke&&"right"===z&&e1;(le||O1||H1)&&((le||O1)&&(f=bt[Nt+1]),H1&&(z=function b1(p){return"right"===p?"left":"left"===p?"right":p}(z)),p.placement=f+(z?` ${z}`:""),p.offsets.target={...p.offsets.target,...r1(p.instance.target,p.offsets.host,p.placement)})}),p}function S(p){if(!Ne(p.options,"preventOverflow"))return p;const w="transform",f=p.instance.target.style,{top:z,left:Q,[w]:et}=f;f.top="",f.left="",f[w]="";const st=s1(p.instance.target,p.instance.host,0,p.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);f.top=z,f.left=Q,f[w]=et;const bt={primary(Bt){let Nt=p.offsets.target[Bt];return(p.offsets.target[Bt]??0)<(st[Bt]??0)&&(Nt=Math.max(p.offsets.target[Bt]??0,st[Bt]??0)),{[Bt]:Nt}},secondary(Bt){const Nt="right"===Bt,le=Nt?"left":"top";let Oe=p.offsets.target[le];return(p.offsets.target[Bt]??0)>(st[Bt]??0)&&(Oe=Math.min(p.offsets.target[le]??0,(st[Bt]??0)-p.offsets.target[Nt?"width":"height"])),{[le]:Oe}}};return["left","right","top","bottom"].forEach(Bt=>{const Nt=-1!==["left","top","start"].indexOf(Bt)?bt.primary:bt.secondary;p.offsets.target={...p.offsets.target,...Nt(Bt)}}),p}function U(p){const w=p.placement,f=w.split(" ")[0],z=w.split(" ")[1];if(z){const{host:Q,target:et}=p.offsets,st=-1!==["bottom","top"].indexOf(f),lt=st?"left":"top",bt=st?"width":"height",Bt={start:{[lt]:Q[lt]},end:{[lt]:(Q[lt]??0)+Q[bt]-et[bt]}};p.offsets.target={...et,[lt]:lt===z?Bt.start[lt]:Bt.end[lt]}}return p}const Ut=new class gt{position(w,f){return this.offset(w,f)}offset(w,f){return M1(f,w)}positionElements(w,f,z,Q,et){const st=[rt,U,S,T1],bt=function j(p,w,f,z){if(!p||!w)return;const Q=M1(p,w);!f.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!f.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(f="auto");const et=!!f.match(/auto/g);let st=f.match(/auto\s(left|right|top|bottom|start|end)/)?f.split(" ")[1]||"auto":f;const lt=st.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return lt&&(st=lt[1]+(lt[2]?` ${lt[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(st)&&(st="auto"),st=ce(st,Q,p,w,z?z.allowedPositions:void 0),{options:z||{modifiers:{}},instance:{target:p,host:w,arrow:void 0},offsets:{target:r1(p,Q,st),host:Q,arrow:void 0},positionFixed:!1,placement:st,placementAuto:et}}(f,w,Ue[z],et);if(bt)return st.reduce((Bt,Nt)=>Nt(Bt),bt)}};let t1=(()=>{class p{constructor(f,z,Q){this.update$$=new Se.x,this.positionElements=new Map,this.isDisabled=!1,(0,pe.NF)(Q)&&f.runOutsideAngular(()=>{this.triggerEvent$=(0,we.T)((0,Jt.R)(window,"scroll",{passive:!0}),(0,Jt.R)(window,"resize",{passive:!0}),(0,Ee.of)(0,We.Z),this.update$$),this.triggerEvent$.subscribe(()=>{this.isDisabled||this.positionElements.forEach(et=>{!function se(p,w,f,z,Q,et){const st=Ut.positionElements(p,w,f,z,Q);if(!st)return;const lt=function Le(p){return{width:p.offsets.target.width,height:p.offsets.target.height,left:Math.floor(p.offsets.target.left??0),top:Math.round(p.offsets.target.top??0),bottom:Math.round(p.offsets.target.bottom??0),right:Math.floor(p.offsets.target.right??0)}}(st);c1(w,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${lt.left}px, ${lt.top}px, 0px)`},et),st.instance.arrow&&c1(st.instance.arrow,st.offsets.arrow,et),function g1(p,w){const f=p.instance.target;let z=f.className;const Q=ue().isBs5?ct[p.placement]:p.placement;p.placementAuto&&(z=z.replace(/bs-popover-auto/g,`bs-popover-${Q}`),z=z.replace(/ms-2|me-2|mb-2|mt-2/g,""),z=z.replace(/bs-tooltip-auto/g,`bs-tooltip-${Q}`),z=z.replace(/\sauto/g,` ${Q}`),-1!==z.indexOf("popover")&&(z=z+" "+Te(Q)),-1!==z.indexOf("popover")&&-1===z.indexOf("popover-auto")&&(z+=" popover-auto"),-1!==z.indexOf("tooltip")&&-1===z.indexOf("tooltip-auto")&&(z+=" tooltip-auto")),z=z.replace(/left|right|top|bottom|end|start/g,`${Q.split(" ")[0]}`),w?w.setAttribute(f,"class",z):f.className=z}(st,et)}(Je(et.target),Je(et.element),et.attachment,et.appendToBody,this.options,z.createRenderer(null,null))})})})}position(f){this.addPositionElement(f)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(f){this.positionElements.set(Je(f.element),f)}calcPosition(){this.update$$.next(null)}deletePositionElement(f){this.positionElements.delete(Je(f))}setOptions(f){this.options=f}static#t=this.\u0275fac=function(z){return new(z||p)(t.LFG(t.R0b),t.LFG(t.FYo),t.LFG(t.Lbi))};static#e=this.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();function Je(p){return"string"==typeof p?document.querySelector(p):p instanceof t.SBq?p.nativeElement:p??null}class ${constructor(w,f,z){this.nodes=w,this.viewRef=f,this.componentRef=z}}class B{constructor(w,f,z,Q,et,st,lt,bt,Bt){this._viewContainerRef=w,this._renderer=f,this._elementRef=z,this._injector=Q,this._componentFactoryResolver=et,this._ngZone=st,this._applicationRef=lt,this._posService=bt,this._document=Bt,this.onBeforeShow=new t.vpe,this.onShown=new t.vpe,this.onBeforeHide=new t.vpe,this.onHidden=new t.vpe,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(w){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(w),this}to(w){return this.container=w||this.container,this}position(w){return w?(this.attachment=w.attachment||this.attachment,this._elementRef=w.target||this._elementRef,this):this}provide(w){return this._providers.push(w),this}show(w={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(w.content,w.context,w.initialState);const f=t.zs3.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(f,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,w),this.container instanceof t.SBq&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof this._document<"u"){const z=this._document.querySelector(this.container)||this._document.querySelector(this.containerDefaultSelector);if(!z)return;z.appendChild(this._componentRef.location.nativeElement)}!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(w.id?{id:w.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(w){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const f=this._componentRef.location.nativeElement;return f.parentNode?.removeChild(f),this._contentRef?.componentRef?.destroy(),this._viewContainerRef&&this._contentRef?.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef?.viewRef?.destroy(),this._contentRef=void 0,this._componentRef=void 0,this._removeGlobalListener(),this.onHidden.emit(w?{id:w}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(w){this.triggers=w.triggers||this.triggers,this._listenOpts.outsideClick=w.outsideClick,this._listenOpts.outsideEsc=w.outsideEsc,w.target=w.target||this._elementRef?.nativeElement;const f=this._listenOpts.hide=()=>w.hide?w.hide():void this.hide(),z=this._listenOpts.show=et=>{w.show?w.show(et):this.show(et),et()};return this._renderer&&(this._unregisterListenersFn=function H(p,w){const f=T(w.triggers),z=w.target;if(1===f.length&&f[0].isManual())return Function.prototype;const Q=[],et=[],st=()=>{et.forEach(lt=>Q.push(lt())),et.length=0};return f.forEach(lt=>{const bt=lt.open===lt.close,Bt=bt?w.toggle:w.show;if(!bt&<.close&&w.hide){const Nt=lt.close,le=w.hide;et.push(()=>p.listen(z,Nt,le))}Bt&&Q.push(p.listen(z,lt.open,()=>Bt(st)))}),()=>{Q.forEach(lt=>lt())}}(this._renderer,{target:w.target,triggers:w.triggers,show:z,hide:f,toggle:et=>{this.isShown?f():z(et)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(w,f){return w&&f&&(this._inlineViewRef=w.createEmbeddedView(f)),this}_registerOutsideClick(){if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){const w=this._componentRef.location.nativeElement;setTimeout(()=>{this._renderer&&this._elementRef&&(this._globalListener=function L(p,w){return w.outsideClick?p.listen("document","click",f=>{w.target&&w.target.contains(f.target)||w.targets&&w.targets.some(z=>z.contains(f.target))||w.hide&&w.hide()}):Function.prototype}(this._renderer,{targets:[w,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))})}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(this._globalListener=function G(p,w){return w.outsideEsc?p.listen("document","keyup.esc",f=>{w.target&&w.target.contains(f.target)||w.targets&&w.targets.some(z=>z.contains(f.target))||w.hide&&w.hide()}):Function.prototype}(this._renderer,{targets:[this._componentRef.location.nativeElement,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))}}getInnerComponent(){return this._innerComponent}_subscribePositioning(){this._zoneSubscription||!this.attachment||(this.onShown.subscribe(()=>{this._posService.position({element:this._componentRef?.location,target:this._elementRef,attachment:this.attachment,appendToBody:"body"===this.container})}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>{this._componentRef&&this._posService.calcPosition()}))}_unsubscribePositioning(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=void 0)}_getContentRef(w,f,z){if(!w)return new $([]);if(w instanceof t.Rgc){if(this._viewContainerRef){const st=this._viewContainerRef.createEmbeddedView(w,f);return st.markForCheck(),new $([st.rootNodes],st)}const et=w.createEmbeddedView({});return this._applicationRef.attachView(et),new $([et.rootNodes],et)}if("function"==typeof w){const et=this._componentFactoryResolver.resolveComponentFactory(w),st=t.zs3.create({providers:this._providers,parent:this._injector}),lt=et.create(st);return Object.assign(lt.instance,z),this._applicationRef.attachView(lt.hostView),new $([[lt.location.nativeElement]],lt.hostView,lt)}const Q=this._renderer?[this._renderer.createText(`${w}`)]:[];return new $([Q])}}let C=(()=>{class p{constructor(f,z,Q,et,st,lt){this._componentFactoryResolver=f,this._ngZone=z,this._injector=Q,this._posService=et,this._applicationRef=st,this._document=lt}createLoader(f,z,Q){return new B(z,Q,f,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService,this._document)}static#t=this.\u0275fac=function(z){return new(z||p)(t.LFG(t._Vd),t.LFG(t.R0b),t.LFG(t.zs3),t.LFG(t1),t.LFG(t.z2F),t.LFG(pe.K0))};static#e=this.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();var N=c(9080);function tt(p,w){if(1&p&&(t.TgZ(0,"h3",3),t._uU(1),t.qZA()),2&p){const f=t.oxw();t.xp6(1),t.Oqu(f.title)}}const ht=["*"];let Ot=(()=>{class p{constructor(){this.adaptivePosition=!0,this.placement="top",this.triggers="click",this.outsideClick=!1,this.delay=0}static#t=this.\u0275fac=function(z){return new(z||p)};static#e=this.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})(),Gt=(()=>{class p{set placement(f){this._placement=this._bsVersions.isBs5?ct[f]:f}get _bsVersions(){return ue()}constructor(f){this._placement="top",Object.assign(this,f)}checkMarginNecessity(){return Te(this._placement)}static#t=this.\u0275fac=function(z){return new(z||p)(t.Y36(Ot))};static#e=this.\u0275cmp=t.Xpm({type:p,selectors:[["popover-container"]],hostAttrs:["role","tooltip",2,"display","block","position","absolute"],hostVars:7,hostBindings:function(z,Q){2&z&&(t.uIk("id",Q.popoverId),t.Tol("popover in popover-"+Q._placement+" bs-popover-"+Q._placement+" "+Q._placement+" "+Q.containerClass+" "+Q.checkMarginNecessity()),t.ekj("show",!Q._bsVersions.isBs3)("bs3",Q._bsVersions.isBs3))},inputs:{placement:"placement",title:"title"},ngContentSelectors:ht,decls:4,vars:1,consts:[[1,"popover-arrow","arrow"],["class","popover-title popover-header",4,"ngIf"],[1,"popover-content","popover-body"],[1,"popover-title","popover-header"]],template:function(z,Q){1&z&&(t.F$t(),t._UZ(0,"div",0),t.YNc(1,tt,2,1,"h3",1),t.TgZ(2,"div",2),t.Hsn(3),t.qZA()),2&z&&(t.xp6(1),t.Q6J("ngIf",Q.title))},dependencies:[pe.O5],styles:[".popover.bottom[_nghost-%COMP%] > .arrow[_ngcontent-%COMP%]{margin-left:-4px}[_nghost-%COMP%] .popover-arrow[_ngcontent-%COMP%]{position:absolute}"],changeDetection:0})}return p})(),Ie=0,m1=(()=>{class p{get isOpen(){return this._popover.isShown}set isOpen(f){f?this.show():this.hide()}constructor(f,z,Q,et,st,lt){this._elementRef=z,this._renderer=Q,this._positionService=lt,this.popoverId=Ie++,this.adaptivePosition=!0,this.placement="top",this.outsideClick=!1,this.triggers="click",this.containerClass="",this.delay=0,this._isInited=!1,this._popover=st.createLoader(z,et,Q).provide({provide:Ot,useValue:f}),Object.assign(this,f),this.onShown=this._popover.onShown,this.onHidden=this._popover.onHidden,typeof window<"u"&&z.nativeElement.addEventListener("click",function(){try{z.nativeElement.focus()}catch{return}})}setAriaDescribedBy(){this._ariaDescribedby=this.isOpen?`ngx-popover-${this.popoverId}`:void 0,this._ariaDescribedby?(this._popover.instance&&(this._popover.instance.popoverId=this._ariaDescribedby),this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ariaDescribedby)):this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby")}show(){if(this._popover.isShown||!this.popover||this._delayTimeoutId)return;this._positionService.setOptions({modifiers:{flip:{enabled:this.adaptivePosition},preventOverflow:{enabled:this.adaptivePosition,boundariesElement:this.boundariesElement||"scrollParent"}}});const f=()=>{this._delayTimeoutId&&(this._delayTimeoutId=void 0),this._popover.attach(Gt).to(this.container).position({attachment:this.placement}).show({content:this.popover,context:this.popoverContext,placement:this.placement,title:this.popoverTitle,containerClass:this.containerClass}),!this.adaptivePosition&&this._popover._componentRef&&(this._positionService.calcPosition(),this._positionService.deletePositionElement(this._popover._componentRef.location)),this.isOpen=!0,this.setAriaDescribedBy()},z=()=>{this._popoverCancelShowFn&&this._popoverCancelShowFn()};if(this.delay){const Q=(0,N.H)(this.delay).subscribe(()=>{f(),z()});this.triggers&&T(this.triggers).forEach(et=>{et.close&&(this._popoverCancelShowFn=this._renderer.listen(this._elementRef.nativeElement,et.close,()=>{Q.unsubscribe(),z()}))})}else f()}hide(){this._delayTimeoutId&&(clearTimeout(this._delayTimeoutId),this._delayTimeoutId=void 0),this.isOpen&&(this._popover.hide(),this.setAriaDescribedBy(),this.isOpen=!1)}toggle(){if(this.isOpen)return this.hide();this.show()}ngOnInit(){this._isInited||(this._isInited=!0,this._popover.listen({triggers:this.triggers,outsideClick:this.outsideClick,show:()=>this.show(),hide:()=>this.hide()}))}ngOnDestroy(){this._popover.dispose()}static#t=this.\u0275fac=function(z){return new(z||p)(t.Y36(Ot),t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(t.s_b),t.Y36(C),t.Y36(t1))};static#e=this.\u0275dir=t.lG2({type:p,selectors:[["","popover",""]],inputs:{adaptivePosition:"adaptivePosition",boundariesElement:"boundariesElement",popover:"popover",popoverContext:"popoverContext",popoverTitle:"popoverTitle",placement:"placement",outsideClick:"outsideClick",triggers:"triggers",container:"container",containerClass:"containerClass",isOpen:"isOpen",delay:"delay"},outputs:{onShown:"onShown",onHidden:"onHidden"},exportAs:["bs-popover"]})}return p})();var ln=c(559),N1=c(4732);let k1=(()=>{class p extends m1{static#t=this.\u0275fac=(()=>{let f;return function(Q){return(f||(f=t.n5z(p)))(Q||p)}})();static#e=this.\u0275dir=t.lG2({type:p,selectors:[["","tourAnchor",""]],standalone:!0,features:[t.qOj]})}return p})(),I1=(()=>{class p{constructor(f,z,Q,et){this.tourService=f,this.tourStepTemplate=z,this.element=Q,this.popoverDirective=et,this.popoverDirective.triggers=""}ngOnInit(){this.tourService.register(this.tourAnchor,this)}ngOnDestroy(){this.tourService.unregister(this.tourAnchor)}showTourStep(f){this.isActive=!0,this.popoverDirective.popover=this.tourStepTemplate.template,this.popoverDirective.popoverContext={step:f},f.useLegacyTitle&&(this.popoverDirective.popoverTitle=f.title),this.popoverDirective.container="body",this.popoverDirective.containerClass=`tour-step ${f.popoverClass??""}`,this.popoverDirective.placement=f.placement||"auto",this.popoverDirective.show()}hideTourStep(){this.isActive=!1,this.popoverDirective.hide()}static#t=this.\u0275fac=function(z){return new(z||p)(t.Y36(ln.H),t.Y36(N1.P),t.Y36(t.SBq),t.Y36(k1,1))};static#e=this.\u0275dir=t.lG2({type:p,selectors:[["","tourAnchor",""]],hostVars:2,hostBindings:function(z,Q){2&z&&t.ekj("touranchor--is-active",Q.isActive)},inputs:{tourAnchor:"tourAnchor"},standalone:!0})}return p})()},4732:(kt,ot,c)=>{c.d(ot,{P:()=>_});var t=c(9212);let _=(()=>{class k{static#t=this.\u0275fac=function(H){return new(H||k)};static#e=this.\u0275prov=t.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})()},7170:(kt,ot,c)=>{c.d(ot,{R:()=>Z});var t=c(9212),_=c(5369),k=c(4732),T=c(559);const x=["tourStep"];function H(I,it){if(1&I){const b=t.EpF();t.TgZ(0,"div",11)(1,"h5"),t._uU(2),t.qZA(),t.TgZ(3,"button",12),t.NdJ("click",function(){t.CHM(b);const K=t.oxw(2);return t.KtG(K.tourService.end())}),t.qZA()()}if(2&I){const b=t.oxw().step;t.xp6(2),t.Oqu(null==b?null:b.title)}}function L(I,it){if(1&I&&(t.O4$(),t.kcU(),t.TgZ(0,"div",13),t._uU(1),t.qZA()),2&I){const b=t.oxw().step,at=t.oxw();t.xp6(1),t.AsE("",(null==at.tourService.steps?null:at.tourService.steps.indexOf(b))+1," / ",null==at.tourService.steps?null:at.tourService.steps.length,"")}}function G(I,it){if(1&I){const b=t.EpF();t.O4$(),t.kcU(),t.TgZ(0,"button",14),t.NdJ("click",function(){t.CHM(b);const K=t.oxw(2);return t.KtG(K.tourService.next())}),t._uU(1),t.O4$(),t.TgZ(2,"svg",6),t._UZ(3,"path",15),t.qZA()()}if(2&I){const b=t.oxw().step;t.xp6(1),t.hij(" ",null==b?null:b.nextBtnTitle," ")}}function E(I,it){if(1&I){const b=t.EpF();t.O4$(),t.kcU(),t.TgZ(0,"button",16),t.NdJ("click",function(){t.CHM(b);const K=t.oxw(2);return t.KtG(K.tourService.end())}),t._uU(1),t.qZA()}if(2&I){const b=t.oxw().step;t.xp6(1),t.hij(" ",null==b?null:b.endBtnTitle," ")}}function F(I,it){if(1&I){const b=t.EpF();t.TgZ(0,"div",1),t.YNc(1,H,4,1,"div",2),t._UZ(2,"p",3),t.TgZ(3,"div",4)(4,"button",5),t.NdJ("click",function(){t.CHM(b);const K=t.oxw();return t.KtG(K.tourService.prev())}),t.O4$(),t.TgZ(5,"svg",6),t._UZ(6,"path",7),t.qZA(),t._uU(7),t.qZA(),t.YNc(8,L,2,2,"div",8)(9,G,4,1,"button",9)(10,E,2,1,"button",10),t.qZA()()}if(2&I){const b=it.step,at=t.oxw();t.Udp("width",null==b.stepDimensions?null:b.stepDimensions.width)("min-width",null==b.stepDimensions?null:b.stepDimensions.minWidth)("max-width",null==b.stepDimensions?null:b.stepDimensions.maxWidth),t.xp6(1),t.um2(1,null!=b&&b.useLegacyTitle||null==b||!b.title?-1:1),t.xp6(1),t.Q6J("innerHTML",null==b?null:b.content,t.oJD),t.xp6(1),t.ekj("no-progress",!b.showProgress),t.xp6(1),t.Q6J("disabled",!at.tourService.hasPrev(b)),t.xp6(3),t.hij(" ",null==b?null:b.prevBtnTitle," "),t.xp6(1),t.um2(8,b.showProgress?8:-1),t.xp6(1),t.um2(9,at.tourService.hasNext(b)&&!b.nextOnAnchorClick?9:-1),t.xp6(1),t.um2(10,at.tourService.hasNext(b)?-1:10)}}let Z=(()=>{class I extends _.Z5{constructor(){super(...arguments),this.tourStepTemplateService=(0,t.f3M)(k.P),this.tourService=(0,t.f3M)(T.H)}ngAfterContentInit(){this.tourStepTemplateService.template=this.stepTemplate||this.stepTemplateContent||this.defaultTourStepTemplate}static#t=this.\u0275fac=(()=>{let b;return function(K){return(b||(b=t.n5z(I)))(K||I)}})();static#e=this.\u0275cmp=t.Xpm({type:I,selectors:[["tour-step-template"]],contentQueries:function(at,K,mt){if(1&at&&t.Suo(mt,t.Rgc,5),2&at){let X;t.iGM(X=t.CRH())&&(K.stepTemplateContent=X.first)}},viewQuery:function(at,K){if(1&at&&t.Gf(x,7,t.Rgc),2&at){let mt;t.iGM(mt=t.CRH())&&(K.defaultTourStepTemplate=mt.first)}},inputs:{stepTemplate:"stepTemplate"},standalone:!0,features:[t.qOj,t.jDz],decls:2,vars:0,consts:[["tourStep",""],[1,"main-container"],["class","title-container"],[1,"card-text",3,"innerHTML"],[1,"buttons"],[1,"btn","btn-sm","btn-outline-secondary","prev",3,"disabled","click"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","fill","currentColor","viewBox","0 0 16 16"],["d","M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"],["class","progress"],["class","btn btn-sm btn-outline-primary next"],["class","btn btn-sm btn-outline-primary"],[1,"title-container"],["type","button","aria-label","Close",1,"btn-close",3,"click"],[1,"progress"],[1,"btn","btn-sm","btn-outline-primary","next",3,"click"],["d","M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"],[1,"btn","btn-sm","btn-outline-primary",3,"click"]],template:function(at,K){1&at&&t.YNc(0,F,11,15,"ng-template",null,0,t.W1O)},styles:[".tour-step .popover-body{padding:0}.main-container[_ngcontent-%COMP%]{padding:.5rem 1rem .75rem}.title-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem;gap:.25rem}.title-container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:0;line-height:1.5}.buttons[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px}.buttons[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{max-width:-moz-fit-content;max-width:fit-content}.buttons[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{justify-self:flex-end}.buttons[_ngcontent-%COMP%] .progress[_ngcontent-%COMP%]{font-size:12px;font-weight:700;color:#00000073;white-space:nowrap}.buttons.no-progress[_ngcontent-%COMP%]{grid-template-columns:1fr 1fr}.buttons[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.25rem}.buttons[_ngcontent-%COMP%] .btn.prev[_ngcontent-%COMP%]{padding-left:.25rem}.buttons[_ngcontent-%COMP%] .btn.next[_ngcontent-%COMP%]{padding-right:.25rem}"]})}return I})()},272:(kt,ot,c)=>{c.d(ot,{nr:()=>_.n,HC:()=>_.H,Hn:()=>x,QL:()=>H.H}),c(7170);var _=c(3584),k=c(9212);let x=(()=>{class L{static#t=this.\u0275fac=function(F){return new(F||L)};static#e=this.\u0275mod=k.oAB({type:L});static#n=this.\u0275inj=k.cJS({})}return L})();var H=c(559)},434:(kt,ot,c)=>{c.d(ot,{n:()=>L});var t=c(9650),_=c(9212),k=c(98),T=c(7422);function x(G,E){const F=E.currentStep;return{...G,align:F.placement?.horizontalDirection??G.align,direction:F.placement?.verticalDirection??G.direction,limitWidth:"auto",minHeight:170}}let H=(()=>{class G{constructor(F){this.tourStepTemplateService=F,this.isShown=!1,this.offset=4,this.template=F.templateComponent.template}static#t=this.\u0275fac=function(Z){return new(Z||G)(_.Y36(T.P))};static#e=this.\u0275cmp=_.Xpm({type:G,selectors:[["tour-anchor-opener"]],viewQuery:function(Z,I){if(1&Z&&_.Gf(k.td,7),2&Z){let it;_.iGM(it=_.CRH())&&(I.dropdown=it.first)}},inputs:{isShown:"isShown",offset:"offset"},standalone:!0,features:[_._Bn([{provide:k.vY,useFactory:x,deps:[[new _.tp0,k.vY],t.m]}]),_.jDz],decls:1,vars:3,consts:[[3,"tuiDropdown","tuiDropdownManual","tuiDropdownOffset"]],template:function(Z,I){1&Z&&_._UZ(0,"span",0),2&Z&&_.Q6J("tuiDropdown",I.template)("tuiDropdownManual",I.isShown)("tuiDropdownOffset",I.offset)},dependencies:[k.dp,k.td,k.Ek,k.VC,k.Tp,k.A9],styles:["[_nghost-%COMP%]{display:none}"]})}return G})(),L=(()=>{class G{constructor(F,Z,I,it){this.tourService=F,this.tourStepTemplateService=Z,this.viewContainer=I,this.element=it}ngOnInit(){this.tourService.register(this.tourAnchor,this)}ngOnDestroy(){this.tourService.unregister(this.tourAnchor)}createOpener(){this.opener=this.viewContainer.createComponent(H).instance}showTourStep(F){this.tourStepTemplateService.templateComponent.step=F,this.isActive=!0,this.opener||this.createOpener(),this.opener.dropdown.el=this.element,this.opener.isShown=!0;const it=F.backdropConfig?.offset;it&&(this.opener.offset=it+4)}hideTourStep(){this.isActive=!1,this.opener.isShown=!1}static#t=this.\u0275fac=function(Z){return new(Z||G)(_.Y36(t.m),_.Y36(T.P),_.Y36(_.s_b),_.Y36(_.SBq))};static#e=this.\u0275dir=_.lG2({type:G,selectors:[["","tourAnchor",""]],hostVars:2,hostBindings:function(Z,I){2&Z&&_.ekj("touranchor--is-active",I.isActive)},inputs:{tourAnchor:"tourAnchor"},standalone:!0})}return G})()},7422:(kt,ot,c)=>{c.d(ot,{P:()=>_});var t=c(9212);let _=(()=>{class k{static#t=this.\u0275fac=function(H){return new(H||k)};static#e=this.\u0275prov=t.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})()},9800:(kt,ot,c)=>{c.d(ot,{R:()=>at});var t=c(9212),_=c(9650),k=c(5369),T=c(6814),x=c(631),H=c(7422);const L=["tuiDropdownTemplate"];function G(K,mt){1&K&&t.GkF(0)}const E=K=>({step:K});function F(K,mt){if(1&K&&t.YNc(0,G,1,0,"ng-container",2),2&K){const X=t.oxw(),ut=t.MAs(3);t.Q6J("ngTemplateOutlet",X.stepTemplate||X.stepTemplateContent||ut)("ngTemplateOutletContext",t.VKq(2,E,X.step))}}function Z(K,mt){if(1&K&&(t.TgZ(0,"div",12),t._uU(1),t.qZA()),2&K){const X=t.oxw().step,ut=t.oxw();t.xp6(1),t.AsE("",(null==ut.tourService.steps?null:ut.tourService.steps.indexOf(X))+1," / ",null==ut.tourService.steps?null:ut.tourService.steps.length,"")}}function I(K,mt){if(1&K){const X=t.EpF();t.TgZ(0,"button",13),t.NdJ("click",function(){t.CHM(X);const yt=t.oxw(2);return t.KtG(yt.tourService.next())}),t._uU(1),t.qZA()}if(2&K){const X=t.oxw().step;t.xp6(1),t.hij(" ",null==X?null:X.nextBtnTitle," ")}}function it(K,mt){if(1&K){const X=t.EpF();t.TgZ(0,"button",14),t.NdJ("click",function(){t.CHM(X);const yt=t.oxw(2);return t.KtG(yt.tourService.end())}),t._uU(1),t.qZA()}if(2&K){const X=t.oxw().step;t.xp6(1),t.hij(" ",null==X?null:X.endBtnTitle," ")}}function b(K,mt){if(1&K){const X=t.EpF();t.TgZ(0,"div",3)(1,"div",4)(2,"h3"),t._uU(3),t.qZA(),t.TgZ(4,"button",5),t.NdJ("click",function(){t.CHM(X);const yt=t.oxw();return t.KtG(yt.tourService.end())}),t.qZA()(),t._UZ(5,"p",6),t.TgZ(6,"div",7)(7,"button",8),t.NdJ("click",function(){t.CHM(X);const yt=t.oxw();return t.KtG(yt.tourService.prev())}),t._uU(8),t.qZA(),t.YNc(9,Z,2,2,"div",9)(10,I,2,1,"button",10)(11,it,2,1,"button",11),t.qZA()()}if(2&K){const X=mt.step,ut=t.oxw();t.Tol(X.popoverClass),t.Udp("width",null==X.stepDimensions?null:X.stepDimensions.width)("min-width",null==X.stepDimensions?null:X.stepDimensions.minWidth)("max-width",null==X.stepDimensions?null:X.stepDimensions.maxWidth),t.xp6(3),t.Oqu(null==X?null:X.title),t.xp6(2),t.Q6J("innerHTML",null==X?null:X.content,t.oJD),t.xp6(1),t.ekj("no-progress",!X.showProgress),t.xp6(1),t.Q6J("disabled",!ut.tourService.hasPrev(X)),t.xp6(1),t.hij(" ",null==X?null:X.prevBtnTitle," "),t.xp6(1),t.um2(9,X.showProgress?9:-1),t.xp6(1),t.um2(10,ut.tourService.hasNext(X)&&!X.nextOnAnchorClick?10:-1),t.xp6(1),t.um2(11,ut.tourService.hasNext(X)?-1:11)}}let at=(()=>{class K extends k.Z5{constructor(X,ut){super(ut),this.tourStepTemplateService=X,this.step={}}ngAfterViewInit(){this.tourStepTemplateService.templateComponent=this}static#t=this.\u0275fac=function(ut){return new(ut||K)(t.Y36(H.P),t.Y36(_.m))};static#e=this.\u0275cmp=t.Xpm({type:K,selectors:[["tour-step-template"]],contentQueries:function(ut,yt,At){if(1&ut&&t.Suo(At,t.Rgc,5),2&ut){let xt;t.iGM(xt=t.CRH())&&(yt.stepTemplateContent=xt.first)}},viewQuery:function(ut,yt){if(1&ut&&t.Gf(L,5),2&ut){let At;t.iGM(At=t.CRH())&&(yt.template=At.first)}},inputs:{stepTemplate:"stepTemplate"},standalone:!0,features:[t.qOj,t.jDz],decls:4,vars:0,consts:[["tuiDropdownTemplate",""],["defaultTemplate",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"main-container"],[1,"title-container"],["tuiIconButton","","icon","tuiIconCloseLarge","appearance","flat","size","m",3,"click"],[1,"content",3,"innerHTML"],[1,"buttons"],["tuiButton","","type","button","icon","tuiIconChevronLeft","appearance","flat","size","m",1,"prev",3,"disabled","click"],["class","progress"],["tuiButton","","type","button","iconRight","tuiIconChevronRight","appearance","flat","size","m","class","next"],["tuiButton","","type","button","appearance","flat","size","m"],[1,"progress"],["tuiButton","","type","button","iconRight","tuiIconChevronRight","appearance","flat","size","m",1,"next",3,"click"],["tuiButton","","type","button","appearance","flat","size","m",3,"click"]],template:function(ut,yt){1&ut&&t.YNc(0,F,1,4,"ng-template",null,0,t.W1O)(2,b,12,17,"ng-template",null,1,t.W1O)},dependencies:[T.tP,x.fN,x.v0],styles:["tui-dropdown-host{z-index:auto!important} tui-dropdown-host tui-dropdown{z-index:150!important}.main-container[_ngcontent-%COMP%]{padding:1rem;box-sizing:border-box}.title-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.title-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:var(--tui-font-heading-6);margin:0}.title-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:-.5rem}.content[_ngcontent-%COMP%]{margin:1rem 0}.buttons[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:.5rem;margin:0 -.5rem -.5rem}.buttons[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{max-width:-moz-fit-content;max-width:fit-content}.buttons[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{justify-self:flex-end}.buttons[_ngcontent-%COMP%] .progress[_ngcontent-%COMP%]{font:var(--tui-font-text-s);font-weight:800;color:var(--tui-text-03);white-space:nowrap}.buttons.no-progress[_ngcontent-%COMP%]{grid-template-columns:1fr 1fr}.buttons[_ngcontent-%COMP%] button.prev .t-wrapper{padding-left:1rem}.buttons[_ngcontent-%COMP%] button.next .t-wrapper{padding-right:1rem}"]})}return K})()},9650:(kt,ot,c)=>{c.d(ot,{m:()=>k});var t=c(5369),_=c(9212);let k=(()=>{class T extends t.QL{static#t=this.\u0275fac=(()=>{let H;return function(G){return(H||(H=_.n5z(T)))(G||T)}})();static#e=this.\u0275prov=_.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})()},7058:(kt,ot,c)=>{c.d(ot,{n3:()=>_.n,QL:()=>H.m,DE:()=>x});var t=c(9800),_=c(434),k=c(9212);let x=(()=>{class L{static#t=this.\u0275fac=function(F){return new(F||L)};static#e=this.\u0275mod=k.oAB({type:L});static#n=this.\u0275inj=k.cJS({imports:[t.R]})}return L})();var H=c(9650)},2666:(kt,ot,c)=>{c.d(ot,{C:()=>L});var t=c(7672),_=c(9212),k=c(9259),T=c(1606);function x(G,E){const F=E.currentStep;return{...G,direction:F.placement??G.direction,appearance:"onDark"}}let H=(()=>{class G{constructor(F){this.tourStepTemplateService=F,this.isShown=!1,this.template=F.templateComponent.template}static#t=this.\u0275fac=function(Z){return new(Z||G)(_.Y36(T.P))};static#e=this.\u0275cmp=_.Xpm({type:G,selectors:[["tour-anchor-opener"]],viewQuery:function(Z,I){if(1&Z&&_.Gf(k.D,7),2&Z){let it;_.iGM(it=_.CRH())&&(I.hint=it.first)}},inputs:{isShown:"isShown"},standalone:!0,features:[_._Bn([{provide:k.H3,useFactory:x,deps:[[new _.tp0,k.H3],t.c]}]),_.jDz],decls:1,vars:2,consts:[[3,"tuiHint","tuiHintManual"]],template:function(Z,I){1&Z&&_._UZ(0,"span",0),2&Z&&_.Q6J("tuiHint",I.template)("tuiHintManual",I.isShown)},dependencies:[k.go,k.D,k.xn,k.t6,k.ZY,k.DM],styles:["[_nghost-%COMP%]{display:none}"]})}return G})(),L=(()=>{class G{constructor(F,Z,I,it){this.tourService=F,this.tourStepTemplateService=Z,this.viewContainer=I,this.element=it}ngOnInit(){this.tourService.register(this.tourAnchor,this)}ngOnDestroy(){this.tourService.unregister(this.tourAnchor)}createOpener(){this.opener=this.viewContainer.createComponent(H).instance}showTourStep(F){this.tourStepTemplateService.templateComponent.step=F,this.isActive=!0,this.opener||this.createOpener(),this.opener.hint.el=this.element,this.opener.isShown=!0}hideTourStep(){this.isActive=!1,this.opener.isShown=!1}static#t=this.\u0275fac=function(Z){return new(Z||G)(_.Y36(t.c),_.Y36(T.P),_.Y36(_.s_b),_.Y36(_.SBq))};static#e=this.\u0275dir=_.lG2({type:G,selectors:[["","tourAnchor",""]],hostVars:2,hostBindings:function(Z,I){2&Z&&_.ekj("touranchor--is-active",I.isActive)},inputs:{tourAnchor:"tourAnchor"},standalone:!0})}return G})()},1606:(kt,ot,c)=>{c.d(ot,{P:()=>_});var t=c(9212);let _=(()=>{class k{static#t=this.\u0275fac=function(H){return new(H||k)};static#e=this.\u0275prov=t.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})()},1603:(kt,ot,c)=>{c.d(ot,{R:()=>at});var t=c(9212),_=c(7672),k=c(5369),T=c(6814),x=c(631),H=c(1606);const L=["tuiDropdownTemplate"];function G(K,mt){1&K&&t.GkF(0)}const E=K=>({step:K});function F(K,mt){if(1&K&&t.YNc(0,G,1,0,"ng-container",2),2&K){const X=t.oxw(),ut=t.MAs(3);t.Q6J("ngTemplateOutlet",X.stepTemplate||X.stepTemplateContent||ut)("ngTemplateOutletContext",t.VKq(2,E,X.step))}}function Z(K,mt){if(1&K&&(t.TgZ(0,"div",11),t._uU(1),t.qZA()),2&K){const X=t.oxw().step,ut=t.oxw();t.xp6(1),t.AsE("",(null==ut.tourService.steps?null:ut.tourService.steps.indexOf(X))+1," / ",null==ut.tourService.steps?null:ut.tourService.steps.length,"")}}function I(K,mt){if(1&K){const X=t.EpF();t.TgZ(0,"button",12),t.NdJ("click",function(){t.CHM(X);const yt=t.oxw(2);return t.KtG(yt.tourService.next())}),t._uU(1),t.qZA()}if(2&K){const X=t.oxw().step;t.xp6(1),t.hij(" ",null==X?null:X.nextBtnTitle," ")}}function it(K,mt){if(1&K){const X=t.EpF();t.TgZ(0,"button",13),t.NdJ("click",function(){t.CHM(X);const yt=t.oxw(2);return t.KtG(yt.tourService.end())}),t._uU(1),t.qZA()}if(2&K){const X=t.oxw().step;t.xp6(1),t.hij(" ",null==X?null:X.endBtnTitle," ")}}function b(K,mt){if(1&K){const X=t.EpF();t.TgZ(0,"div")(1,"div",3)(2,"h3"),t._uU(3),t.qZA(),t.TgZ(4,"button",4),t.NdJ("click",function(){t.CHM(X);const yt=t.oxw();return t.KtG(yt.tourService.end())}),t.qZA()(),t._UZ(5,"p",5),t.TgZ(6,"div",6)(7,"button",7),t.NdJ("click",function(){t.CHM(X);const yt=t.oxw();return t.KtG(yt.tourService.prev())}),t._uU(8),t.qZA(),t.YNc(9,Z,2,2,"div",8)(10,I,2,1,"button",9)(11,it,2,1,"button",10),t.qZA()()}if(2&K){const X=mt.step,ut=t.oxw();t.Tol(X.popoverClass),t.Udp("width",null==X.stepDimensions?null:X.stepDimensions.width)("min-width",null==X.stepDimensions?null:X.stepDimensions.minWidth)("max-width",null==X.stepDimensions?null:X.stepDimensions.maxWidth),t.xp6(3),t.Oqu(null==X?null:X.title),t.xp6(2),t.Q6J("innerHTML",null==X?null:X.content,t.oJD),t.xp6(1),t.ekj("no-progress",!X.showProgress),t.xp6(1),t.Q6J("disabled",!ut.tourService.hasPrev(X)),t.xp6(1),t.hij(" ",null==X?null:X.prevBtnTitle," "),t.xp6(1),t.um2(9,X.showProgress?9:-1),t.xp6(1),t.um2(10,ut.tourService.hasNext(X)&&!X.nextOnAnchorClick?10:-1),t.xp6(1),t.um2(11,ut.tourService.hasNext(X)?-1:11)}}let at=(()=>{class K extends k.Z5{constructor(X,ut){super(ut),this.tourStepTemplateService=X,this.step={}}ngAfterViewInit(){this.tourStepTemplateService.templateComponent=this}static#t=this.\u0275fac=function(ut){return new(ut||K)(t.Y36(H.P),t.Y36(_.c))};static#e=this.\u0275cmp=t.Xpm({type:K,selectors:[["tour-step-template"]],contentQueries:function(ut,yt,At){if(1&ut&&t.Suo(At,t.Rgc,5),2&ut){let xt;t.iGM(xt=t.CRH())&&(yt.stepTemplateContent=xt.first)}},viewQuery:function(ut,yt){if(1&ut&&t.Gf(L,5),2&ut){let At;t.iGM(At=t.CRH())&&(yt.template=At.first)}},inputs:{stepTemplate:"stepTemplate"},standalone:!0,features:[t.qOj,t.jDz],decls:4,vars:0,consts:[["tuiDropdownTemplate",""],["defaultTemplate",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"title-container"],["tuiIconButton","","icon","tuiIconCloseLarge","appearance","flat","size","m",3,"click"],[1,"content",3,"innerHTML"],[1,"buttons"],["tuiButton","","type","button","icon","tuiIconChevronLeft","appearance","flat","size","m",1,"prev",3,"disabled","click"],["class","progress"],["tuiButton","","type","button","iconRight","tuiIconChevronRight","appearance","flat","size","m","class","next"],["tuiButton","","type","button","appearance","flat","size","m"],[1,"progress"],["tuiButton","","type","button","iconRight","tuiIconChevronRight","appearance","flat","size","m",1,"next",3,"click"],["tuiButton","","type","button","appearance","flat","size","m",3,"click"]],template:function(ut,yt){1&ut&&t.YNc(0,F,1,4,"ng-template",null,0,t.W1O)(2,b,12,17,"ng-template",null,1,t.W1O)},dependencies:[T.tP,x.fN,x.v0],styles:["tui-hints-host{z-index:150!important}.title-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.title-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:var(--tui-font-heading-6);margin:0}.title-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:-.25rem -.5rem}.content[_ngcontent-%COMP%]{margin:1rem 0;font:var(--tui-font-text-m)}.buttons[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:.5rem;margin:0 -.5rem -.25rem}.buttons[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{max-width:-moz-fit-content;max-width:fit-content}.buttons[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{justify-self:flex-end}.buttons[_ngcontent-%COMP%] .progress[_ngcontent-%COMP%]{justify-self:center;font:var(--tui-font-text-s);font-weight:800;color:var(--tui-text-03);white-space:nowrap}.buttons.no-progress[_ngcontent-%COMP%]{grid-template-columns:1fr 1fr}.buttons[_ngcontent-%COMP%] button.prev .t-wrapper{padding-left:1rem}.buttons[_ngcontent-%COMP%] button.next .t-wrapper{padding-right:1rem}"]})}return K})()},7672:(kt,ot,c)=>{c.d(ot,{c:()=>k});var t=c(5369),_=c(9212);let k=(()=>{class T extends t.QL{static#t=this.\u0275fac=(()=>{let H;return function(G){return(H||(H=_.n5z(T)))(G||T)}})();static#e=this.\u0275prov=_.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})()},2018:(kt,ot,c)=>{c.d(ot,{C5:()=>_.C,QL:()=>H.c,wx:()=>x});var t=c(1603),_=c(2666),k=c(9212);let x=(()=>{class L{static#t=this.\u0275fac=function(F){return new(F||L)};static#e=this.\u0275mod=k.oAB({type:L});static#n=this.\u0275inj=k.cJS({imports:[t.R]})}return L})();var H=c(7672)},2545:(kt,ot,c)=>{c.d(ot,{e:()=>x});var t=c(4308),_=c(8268),k=c(1074),T=c(9212);let x=(()=>{class H{constructor(){this.ngTemplateTag='',this.tourStepTemplateTag=""}static#t=this.\u0275fac=function(E){return new(E||H)};static#e=this.\u0275cmp=T.Xpm({type:H,selectors:[["app-custom-template"]],inputs:{defaultTemplate:"defaultTemplate"},standalone:!0,features:[T.jDz],decls:13,vars:3,consts:[["tourAnchor","template","id","custom-template"],["filename","app.component.html",3,"code"]],template:function(E,F){1&E&&(T.TgZ(0,"app-header",0),T._uU(1,"Custom template"),T.qZA(),T.TgZ(2,"p"),T._uU(3," You can also customize the tour step template by providing a "),T.TgZ(4,"code"),T._uU(5),T.qZA(),T._uU(6," inside the "),T.TgZ(7,"code"),T._uU(8),T.qZA(),T._uU(9,".\n"),T.qZA(),T.TgZ(10,"p"),T._uU(11," The default template is equivalent to this:\n"),T.qZA(),T._UZ(12,"tui-doc-code",1)),2&E&&(T.xp6(5),T.Oqu(F.ngTemplateTag),T.xp6(3),T.Oqu(F.tourStepTemplateTag),T.xp6(4),T.Q6J("code",F.defaultTemplate))},dependencies:[k.G,_.bS,t.JF,t.c0],encapsulation:2})}return H})()},732:(kt,ot,c)=>{c.d(ot,{w:()=>x});var _=c(4308),k=c(1074),T=c(9212);let x=(()=>{class H{constructor(){this.examples={setDefaults:"this.tourService.setDefaults({\r\n route: '',\r\n disablePageScrolling: true,\r\n duplicateAnchorHandling: 'registerFirst'\r\n});\r\nthis.tourService.initialize(steps, {\r\n route: '',\r\n disablePageScrolling: true\r\n});\r\n"}}static#t=this.\u0275fac=function(E){return new(E||H)};static#e=this.\u0275cmp=T.Xpm({type:H,selectors:[["app-defaults"]],standalone:!0,features:[T.jDz],decls:11,vars:1,consts:[["id","defauls"],["filename","app.component.ts",3,"code"]],template:function(E,F){1&E&&(T.TgZ(0,"app-header",0),T._uU(1,"Defaults"),T.qZA(),T.TgZ(2,"p"),T._uU(3," You can set default values using "),T.TgZ(4,"code"),T._uU(5,"TourService.setDefaults()"),T.qZA(),T._uU(6," or "),T.TgZ(7,"code"),T._uU(8,"TourService.initialize()"),T.qZA(),T._uU(9," functions.\n"),T.qZA(),T._UZ(10,"tui-doc-code",1)),2&E&&(T.xp6(10),T.Q6J("code",F.examples.setDefaults))},dependencies:[k.G,_.JF,_.c0],encapsulation:2})}return H})()},1769:(kt,ot,c)=>{c.d(ot,{H:()=>E});var _=c(4308),k=c(1074),T=c(8268),x=c(9212);const H=(F,Z)=>Z.name;function L(F,Z){if(1&F&&x._uU(0),2&F){const I=x.oxw().$implicit;x.hij(" ",I.description," ")}}function G(F,Z){if(1&F&&x.YNc(0,L,1,1,"ng-template",4),2&F){const I=Z.$implicit;x.Q6J("documentationPropertyName",I.name)("documentationPropertyType",I.payload)}}let E=(()=>{class F{constructor(){this.examples={onInitialize:"this.tourService\r\n .initialize$\r\n .subscribe(\r\n (steps: IStepOption[]) => {\r\n console.log('tour configured with these steps:', steps);\r\n }\r\n );\r\n"},this.events=[{name:"stepShow$",payload:"StepChangeParams",description:'A step is shown. "Direction" property indicates if the last pressed button was "Next" or "Prev".'},{name:"stepHide$",payload:"StepChangeParams",description:'A step is hidden. "Direction" property indicates if the last pressed button was "Next" or "Prev".'},{name:"initialize$",payload:"IStepOption[]",description:"The tour is configured with a set of steps"},{name:"start$",payload:"void",description:"The tour starts"},{name:"end$",payload:"void",description:"The tour ends"},{name:"pause$",payload:"void",description:"The tour is paused"},{name:"resume$",payload:"void",description:"The tour resumes"},{name:"anchorRegister$",payload:"string",description:"An anchor is registered with the tour"},{name:"anchorUnregister$",payload:"string",description:"An anchor is unregistered from the tour"}]}static#t=this.\u0275fac=function(it){return new(it||F)};static#e=this.\u0275cmp=x.Xpm({type:F,selectors:[["app-events"]],standalone:!0,features:[x.jDz],decls:12,vars:3,consts:[["tourAnchor","events"],["id","events"],["filename","app.component.ts",3,"code"],[3,"isAPI","showValues"],[3,"documentationPropertyName","documentationPropertyType"]],template:function(it,b){1&it&&(x.TgZ(0,"div",0)(1,"app-header",1),x._uU(2,"Event Observables"),x.qZA(),x.TgZ(3,"p"),x._uU(4," The "),x.TgZ(5,"code"),x._uU(6,"TourService"),x.qZA(),x._uU(7," emits events that can be subscribed to like this: "),x.qZA(),x._UZ(8,"tui-doc-code",2),x.qZA(),x.TgZ(9,"tui-doc-documentation",3),x.SjG(10,G,1,2,null,4,H),x.qZA()),2&it&&(x.xp6(8),x.Q6J("code",b.examples.onInitialize),x.xp6(1),x.Q6J("isAPI",!0)("showValues",!1),x.xp6(1),x.wJu(b.events))},dependencies:[T.bS,k.G,_.JF,_.c0,_.Lx,_.zb,_.B7],styles:["tui-doc-documentation[_ngcontent-%COMP%]{margin-top:1rem}"]})}return F})()},6798:(kt,ot,c)=>{c.d(ot,{v:()=>K});var F=c(8689),Z=c(2114),I=c(4308),it=c(1074),b=c(9212);function at(mt,X){if(1&mt&&(b.TgZ(0,"tui-notification",5),b._uU(1," Starting with "),b.TgZ(2,"code"),b._uU(3),b.qZA(),b._uU(4," you can set "),b.TgZ(5,"code"),b._uU(6,"backdropConfig.offset"),b.qZA(),b._uU(7," to add padding around anchor element "),b.qZA()),2&mt){const ut=b.oxw();b.xp6(3),b.hij("v",ut.backdropOffsetIntroducedIn,"")}}let K=(()=>{class mt{constructor(){this.disablePageScrollingIntroducedIn="10.1",this.examples={centeredStepCss:".centered-tour-element {\r\n position: fixed;\r\n left: 50%;\r\n top: 50%;\r\n /* The anchor should be translated to the left by half of your step width and half height */\r\n /* For example, if your tour step has dimensions of 280 \xd7 156 px, you have to translate by (-140px, -78px) */\r\n transform: translate(-140px, -78px);\r\n}\r\n",centeredStepHtml:'
\r\n',centeredStepTs:"this.tourService.initialize([{\r\n anchorId: 'start-tour',\r\n title: 'Welcome',\r\n content: 'Welcome to the Ngx-UI-Tour tour!'\r\n}]);\r\nthis.tourService.start();\r\n",customTourService:"@Injectable()\r\nexport class MyTourService {\r\n\r\n constructor(\r\n private readonly tourService: TourService\r\n ) {}\r\n\r\n private readonly MAIN_SECTION_CSS_SELECTOR = 'section.main-content';\r\n private readonly NO_SCROLL_CSS_CLASS = 'no-scroll';\r\n\r\n start(steps: IStepOption[]) {\r\n this.tourService.initialize(steps, {\r\n route: 'my-route',\r\n enableBackdrop: true\r\n });\r\n this.tourService.end$.subscribe(() => this.setIsScrollable(true));\r\n this.setIsScrollable(false);\r\n this.tourService.start();\r\n }\r\n\r\n private setIsScrollable(isScrollable: boolean) {\r\n const body = document.body,\r\n mainSection = document.querySelector(this.MAIN_SECTION_CSS_SELECTOR),\r\n addOrRemove = isScrollable ? 'remove' : 'add';\r\n\r\n mainSection.classList[addOrRemove](this.NO_SCROLL_CSS_CLASS);\r\n // You can also optionally disable iOS Safari bounce effect\r\n body[addOrRemove + 'EventListener']('touchmove', this.preventTouchMove, { passive: false });\r\n }\r\n\r\n private preventTouchMove(e) {\r\n e.preventDefault();\r\n }\r\n\r\n}\r\n",noScrollCss:".no-scroll {\r\n overflow: hidden;\r\n}\r\n",customTourServiceUsage:"import {MyTourService} from '@app-utils/my-tour.service';\r\n\r\n@Component({\r\n selector: 'my-app',\r\n templateUrl: './app.component.html',\r\n styleUrls: ['./app.component.css']\r\n})\r\nexport class AppComponent {\r\n\r\n constructor(\r\n private readonly myTourService: MyTourService\r\n ) {\r\n this.myTourService.start([{\r\n anchorId: 'start-tour',\r\n title: 'Welcome',\r\n content: 'Welcome to the Ngx-UI-Tour tour!'\r\n }]);\r\n }\r\n\r\n}\r\n",backdropPadding:".my-anchor-el.touranchor--is-active {\r\n padding: 10px;\r\n margin: -10px;\r\n}",backdropParagraphPadding:"p.touranchor--is-active {\r\n padding: 10px;\r\n margin: -10px -10px 2px;\r\n}",backdropButtonPadding:'
\r\n \r\n
'}}static#t=this.\u0275fac=function(yt){return new(yt||mt)};static#e=this.\u0275cmp=b.Xpm({type:mt,selectors:[["app-faq"]],inputs:{disablePageScrollingIntroducedIn:"disablePageScrollingIntroducedIn",backdropOffsetIntroducedIn:"backdropOffsetIntroducedIn"},standalone:!0,features:[b.jDz],decls:66,vars:11,consts:[["id","center-tour-step"],["filename","app.component.html",3,"code"],["filename","app.component.css",3,"code"],["filename","app.component.ts",3,"code"],["id","disable-scrolling"],["status","warning",1,"tui-space_top-3"],["filename","my-tour.service.ts",3,"code"],["filename","styles.css",3,"code"],["id","backdrop-padding"],["status","warning","class","tui-space_top-3"],["src","https://user-images.githubusercontent.com/768105/215475778-34d275cf-c6a0-436c-b3e5-9159083cfcaa.png","alt","backdrop spacing",1,"backdrop-spacing"],["tuiLink","","target","_blank","href","https://stackblitz.com/edit/angular-wau2z8-ggpcaf?file=src%2Fapp%2Fui-tour-demo.component.scss"]],template:function(yt,At){1&yt&&(b.TgZ(0,"app-header",0),b._uU(1,"How to center tour step?"),b.qZA(),b.TgZ(2,"p"),b._uU(3,"You can create an invisible anchor point for the tour step you want to center."),b.qZA(),b.TgZ(4,"ol")(5,"li"),b._uU(6,"Add a simple div to your html template which will be used as the tour anchor "),b._UZ(7,"tui-doc-code",1),b.qZA(),b.TgZ(8,"li"),b._uU(9," Add CSS for the div "),b._UZ(10,"tui-doc-code",2),b.qZA(),b.TgZ(11,"li"),b._uU(12," Use previously defined tour anchor "),b._UZ(13,"tui-doc-code",3),b.qZA()(),b.TgZ(14,"app-header",4),b._uU(15,"How to disable main content scrolling when UI tour is active?"),b.qZA(),b.TgZ(16,"tui-notification",5),b._uU(17," Starting with "),b.TgZ(18,"code"),b._uU(19),b.qZA(),b._uU(20," you can enable "),b.TgZ(21,"code"),b._uU(22,"disablePageScrolling"),b.qZA(),b._uU(23," option to disable scrolling.\n"),b.qZA(),b.TgZ(24,"p"),b._uU(25,"You can toggle CSS class which disables main content element scrolling when tour starts/ends."),b.qZA(),b.TgZ(26,"ol")(27,"li"),b._uU(28," Create custom "),b.TgZ(29,"code"),b._uU(30,"TourService"),b.qZA(),b._uU(31,": "),b._UZ(32,"tui-doc-code",6),b.qZA(),b.TgZ(33,"li"),b._uU(34," Add the "),b.TgZ(35,"code"),b._uU(36,"no-scroll"),b.qZA(),b._uU(37," CSS class to your global stylesheet "),b._UZ(38,"tui-doc-code",7),b.qZA(),b.TgZ(39,"li"),b._uU(40," Use your custom "),b.TgZ(41,"code"),b._uU(42,"TourService"),b.qZA(),b._uU(43," to start the UI tour: "),b._UZ(44,"tui-doc-code",3),b.qZA()(),b.TgZ(45,"app-header",8),b._uU(46,"How to add space around highlighted anchor element"),b.qZA(),b.YNc(47,at,8,1,"tui-notification",9),b._UZ(48,"img",10),b.TgZ(49,"p"),b._uU(50," To add some space between backdrop edges and active tour anchor element, you can use "),b.TgZ(51,"code"),b._uU(52,".touranchor--is-active"),b.qZA(),b._uU(53," CSS class. Use it to add the required amount of padding and then subtract the same amount using negative margin which will keep overall page layout unchanged.\n"),b.qZA(),b._UZ(54,"tui-doc-code",2),b.TgZ(55,"p"),b._uU(56," In case your anchor element already has some margin applied to it, you'll have to adjust padding and margin values accordingly. For example, if your paragraph already has 12px bottom margin, you can use the following CSS to add 10px spacing around the paragraph without effecting page layout:\n"),b.qZA(),b._UZ(57,"tui-doc-code",2),b.TgZ(58,"p"),b._uU(59," If you want to apply the same trick to an element where changing its padding is not an option, for example, a button element, you can wrap this element with an extra div container and then use the same trick on the container.\n"),b.qZA(),b._UZ(60,"tui-doc-code",1),b.TgZ(61,"p"),b._uU(62," You can also check out "),b.TgZ(63,"a",11),b._uU(64," StackBlitz demo project "),b.qZA(),b._uU(65," to see this approach in action.\n"),b.qZA()),2&yt&&(b.xp6(7),b.Q6J("code",At.examples.centeredStepHtml),b.xp6(3),b.Q6J("code",At.examples.centeredStepCss),b.xp6(3),b.Q6J("code",At.examples.centeredStepTs),b.xp6(6),b.hij("v",At.disablePageScrollingIntroducedIn,""),b.xp6(13),b.Q6J("code",At.examples.customTourService),b.xp6(6),b.Q6J("code",At.examples.noScrollCss),b.xp6(6),b.Q6J("code",At.examples.customTourServiceUsage),b.xp6(3),b.um2(47,At.backdropOffsetIntroducedIn?47:-1),b.xp6(7),b.Q6J("code",At.examples.backdropPadding),b.xp6(3),b.Q6J("code",At.examples.backdropParagraphPadding),b.xp6(3),b.Q6J("code",At.examples.backdropButtonPadding))},dependencies:[it.G,I.JF,I.c0,F.H,F.L,Z.j,Z.V],styles:["app-header[_ngcontent-%COMP%]:first-child{margin-top:0}img.backdrop-spacing[_ngcontent-%COMP%]{margin-top:1rem;max-width:100%}"]})}return mt})()},1074:(kt,ot,c)=>{c.d(ot,{G:()=>I});var t=c(7293),_=c(631),k=c(342),T=c(229),x=c(6925),H=c(3594),L=c(7398),G=c(6814),E=c(9212);function F(it,b){if(1&it){const at=E.EpF();E.TgZ(0,"button",2),E.NdJ("click",function(){E.CHM(at);const mt=E.oxw();return E.KtG(mt.copyExampleLink())}),E.ALo(1,"async"),E.qZA()}if(2&it){const at=E.oxw();E.Q6J("icon","tuiIconLinkLarge")("title",E.lcZ(1,2,at.copy$))}}const Z=["*"];let I=(()=>{class it{constructor(at,K,mt,X,ut,yt){this.id=at,this.clipboard=K,this.alertService=mt,this.location=X,this.copyTexts$=ut,this.texts=yt,this.copy$=this.copyTexts$.pipe((0,L.U)(([At])=>At))}copyExampleLink(){const at=this.location.href.indexOf("#"),mt=`${at>-1?this.location.href.substring(0,at):this.location.href}#${this.id}`;this.clipboard.copy(mt),this.alertService.open(this.texts[1],{label:this.texts[2],status:"success"}).subscribe()}static#t=this.\u0275fac=function(K){return new(K||it)(E.$8M("id"),E.Y36(k.TU),E.Y36(t.J9),E.Y36(T.Ct),E.Y36(x.UV),E.Y36(H.mv))};static#e=this.\u0275cmp=E.Xpm({type:it,selectors:[["app-header"]],standalone:!0,features:[E.jDz],ngContentSelectors:Z,decls:3,vars:1,consts:[[1,"title"],["tuiIconButton","","type","button","size","xs","class","link-icon","appearance","icon",3,"icon","title"],["tuiIconButton","","type","button","size","xs","appearance","icon",1,"link-icon",3,"icon","title","click"]],template:function(K,mt){1&K&&(E.F$t(),E.TgZ(0,"h3",0),E.Hsn(1),E.YNc(2,F,2,4,"button",1),E.qZA()),2&K&&(E.xp6(2),E.um2(2,mt.id?2:-1))},dependencies:[_.fN,_.v0,G.Ov],styles:["[_nghost-%COMP%]{position:relative;display:block;clear:right;margin-top:2rem}.title[_ngcontent-%COMP%]{font:var(--tui-font-heading-5);margin:0 0 .5rem}.title[_ngcontent-%COMP%]:first-letter{text-transform:capitalize}.title tui-root._mobile[_nghost-%COMP%], tui-root._mobile [_nghost-%COMP%]{font:var(--tui-font-heading-6)}.title[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:.75rem}"]})}return it})()},8791:(kt,ot,c)=>{c.d(ot,{Q:()=>G});var t=c(8268),_=c(1074),k=c(9212),T=c(6599),x=c(6401);const H=(E,F)=>F.key;function L(E,F){if(1&E&&k._UZ(0,"app-list-item",1),2&E){const Z=F.$implicit;k.Q6J("name",Z.key)("description",Z.action)}}let G=(()=>{class E{constructor(){this.hotkeys=[{key:"left arrow",action:"Previous step"},{key:"right arrow",action:"Next step"},{key:"esc",action:"End tour"}]}static#t=this.\u0275fac=function(I){return new(I||E)};static#e=this.\u0275cmp=k.Xpm({type:E,selectors:[["app-hotkeys"]],standalone:!0,features:[k.jDz],decls:18,vars:0,consts:[["tourAnchor","hotkeys","id","hotkeys"],[3,"name","description"]],template:function(I,it){1&I&&(k.TgZ(0,"app-header",0),k._uU(1,"Hotkeys"),k.qZA(),k.TgZ(2,"p"),k._uU(3," Hotkeys are provided using Angular's "),k.TgZ(4,"code"),k._uU(5,"@HostListener"),k.qZA(),k._uU(6," decorator. Hotkeys are enabled when the tour starts and disabled when the tour ends.\n"),k.qZA(),k.TgZ(7,"p"),k._uU(8," You can disable hotkeys by calling "),k.TgZ(9,"code"),k._uU(10,"tourService.disableHotkeys()"),k.qZA(),k._uU(11," or re-enable with "),k.TgZ(12,"code"),k._uU(13,"tourService.enableHotkeys()"),k.qZA(),k._uU(14,".\n"),k.qZA(),k.TgZ(15,"app-list"),k.SjG(16,L,1,2,"app-list-item",1,H),k.qZA()),2&I&&(k.xp6(16),k.wJu(it.hotkeys))},dependencies:[_.G,t.bS,T.n,x.G],styles:["app-header[_ngcontent-%COMP%]{margin-top:0}"]})}return E})()},5629:(kt,ot,c)=>{c.d(ot,{E:()=>b}),c(2444),c(1872),c(7868),c(3622),c(1769),c(6798),c(8791),c(732),c(7765),c(1074);var Z=c(8268);function b(at){return{provide:Z.JC,useValue:at}}c(2545)},6401:(kt,ot,c)=>{c.d(ot,{G:()=>_});var t=c(9212);let _=(()=>{class k{static#t=this.\u0275fac=function(H){return new(H||k)};static#e=this.\u0275cmp=t.Xpm({type:k,selectors:[["app-list-item"]],inputs:{name:"name",description:"description"},standalone:!0,features:[t.jDz],decls:4,vars:2,consts:[[1,"name"]],template:function(H,L){1&H&&(t.TgZ(0,"div",0),t._uU(1),t.qZA(),t.TgZ(2,"div"),t._uU(3),t.qZA()),2&H&&(t.xp6(1),t.Oqu(L.name),t.xp6(2),t.Oqu(L.description))},styles:["[_nghost-%COMP%]{display:block;font:var(--tui-font-text-s);padding:1rem 0;word-wrap:break-word;color:var(--tui-text-01)}[_nghost-%COMP%]:not(:last-of-type){border-bottom:1px solid var(--tui-base-03)}[_nghost-%COMP%] .name[_ngcontent-%COMP%]{font:var(--tui-font-text-m);margin-bottom:.25rem;font-family:monospace;color:#8f75d1}"],changeDetection:0})}return k})()},6599:(kt,ot,c)=>{c.d(ot,{n:()=>k});var t=c(9212);const _=["*"];let k=(()=>{class T{static#t=this.\u0275fac=function(L){return new(L||T)};static#e=this.\u0275cmp=t.Xpm({type:T,selectors:[["app-list"]],standalone:!0,features:[t.jDz],ngContentSelectors:_,decls:2,vars:0,template:function(L,G){1&L&&(t.F$t(),t.TgZ(0,"div"),t.Hsn(1),t.qZA())},encapsulation:2,changeDetection:0})}return T})()},8268:(kt,ot,c)=>{c.d(ot,{JC:()=>Z,bS:()=>I});var t=c(9212),_=c(74),k=c(990),T=c(2914),x=c(272),H=c(3791),L=c(7058),G=c(2018),E=c(4524);const F=new t.OlP("TourAnchorDirective"),Z=new t.OlP("TourAnchorDirectiveType");let I=(()=>{class it{constructor(at){this.tourAnchorDirective=at,this.isActive=!1,this.overrideShowHideMethods()}ngOnInit(){const at=this.tourAnchorDirective;at.tourAnchor=this.tourAnchor,at.ngOnInit()}ngOnDestroy(){this.tourAnchorDirective.ngOnDestroy()}overrideShowHideMethods(){const at=this.tourAnchorDirective.showTourStep.bind(this.tourAnchorDirective),K=this.tourAnchorDirective.hideTourStep.bind(this.tourAnchorDirective);this.tourAnchorDirective.showTourStep=mt=>{this.isActive=!0,at(mt)},this.tourAnchorDirective.hideTourStep=()=>{this.isActive=!1,K()}}static#t=this.\u0275fac=function(K){return new(K||it)(t.Y36(F))};static#e=this.\u0275dir=t.lG2({type:it,selectors:[["","tourAnchor",""]],hostVars:2,hostBindings:function(K,mt){2&K&&t.ekj("touranchor--is-active",mt.isActive)},inputs:{tourAnchor:"tourAnchor"},standalone:!0,features:[t._Bn([_.JA,x.nr,x.HC,k.Q4,T.o8,H.pY,L.n3,G.C5,E.kT,{provide:F,useFactory:()=>{const at=(0,t.f3M)(Z);return(0,t.f3M)(at)}}])]})}return it})()},7868:(kt,ot,c)=>{c.d(ot,{s:()=>_});var t=c(9212);let _=(()=>{class k{constructor(){this.type="string"}static#t=this.\u0275fac=function(H){return new(H||k)};static#e=this.\u0275cmp=t.Xpm({type:k,selectors:[["app-placement-config"]],inputs:{value:"value",values:"values",type:"type",extraInfo:"extraInfo"},standalone:!0,features:[t.jDz],decls:0,vars:0,template:function(H,L){},encapsulation:2})}return k})()},1872:(kt,ot,c)=>{c.d(ot,{t:()=>O});var t=c(7868),_=c(8268),k=c(4308),T=c(1074),x=c(9212);function H(P,nt){1&P&&x._uU(0," A unique identifier for the step (optional) ")}function L(P,nt){1&P&&(x.TgZ(0,"div",33),x._uU(1,"The anchor to which the step will be attached"),x.qZA())}function G(P,nt){1&P&&x._uU(0," The title of the tour step ")}function E(P,nt){1&P&&x._uU(0," The content text of the tour step ")}function F(P,nt){1&P&&(x.TgZ(0,"div",34),x._uU(1,"Enable active element highlighting"),x.qZA())}function Z(P,nt){1&P&&x._uU(0," Backdrop configuration ")}function I(P,nt){1&P&&x._uU(0,' Step width, min-width and max-width configuration. Accepts CSS property "width" values, ie "250px" or "auto". ')}function it(P,nt){1&P&&(x.TgZ(0,"div",35),x._uU(1,"The route to navigate to before showing the tour step (optional)"),x.qZA())}function b(P,nt){1&P&&(x.TgZ(0,"div",36),x._uU(1,"Custom popover CSS class (optional)"),x.qZA())}function at(P,nt){1&P&&x._uU(0," Enable to close the tour on outside click ")}function K(P,nt){1&P&&x.YNc(0,at,1,0,"ng-template",10),2&P&&x.Q6J("documentationPropertyValue",!1)}function mt(P,nt){1&P&&(x._uU(0," Disables scrolling when the UI tour is active. "),x.TgZ(1,"code"),x._uU(2,"scrollContainer"),x.qZA(),x._uU(3," option can be used to specify affected scroll container. If "),x.TgZ(4,"code"),x._uU(5,"scrollContainer"),x.qZA(),x._uU(6," is not set, disables scrolling on document element. "))}function X(P,nt){1&P&&x._uU(0," The step index or stepId of the next step (optional) ")}function ut(P,nt){1&P&&x._uU(0," The step index or stepId of the previous step (optional) ")}function yt(P,nt){if(1&P&&(x.TgZ(0,"div",37),x._uU(1," Tour step position with respect to the anchor (optional). "),x._UZ(2,"span",38),x.qZA()),2&P){const zt=x.oxw(2);x.xp6(2),x.Q6J("innerHTML",zt.placementConfig.extraInfo,x.oJD)}}function At(P,nt){if(1&P&&x.YNc(0,yt,3,1,"ng-template",14),2&P){const zt=x.oxw();x.Q6J("documentationPropertyType",zt.placementConfig.type)("documentationPropertyValue",zt.placementConfig.value)("documentationPropertyValues",zt.placementConfig.values)}}function xt(P,nt){1&P&&(x._uU(0," If enabled, shows an arrow that points to the anchor element when running in "),x.TgZ(1,"code"),x._uU(2,"ios"),x.qZA(),x._uU(3," mode. Does not apply in "),x.TgZ(4,"code"),x._uU(5,"md"),x.qZA(),x._uU(6," mode. "))}function Zt(P,nt){1&P&&x.YNc(0,xt,7,0,"ng-template",15),2&P&&x.Q6J("documentationPropertyValue",!0)}function ie(P,nt){1&P&&x._uU(0," If enabled, shows an arrow that points to the anchor element. ")}function re(P,nt){1&P&&x.YNc(0,ie,1,0,"ng-template",15),2&P&&x.Q6J("documentationPropertyValue",!0)}function fe(P,nt){1&P&&x._uU(0," If enabled, shows current step number and total steps. ")}function ue(P,nt){1&P&&x._uU(0," If active, stops automatic page scroll to tour anchor element ")}function Lt(P,nt){1&P&&(x.TgZ(0,"div",39),x._uU(1,' Enable to center active anchor element. "Safari" browser does not support this option. '),x.qZA())}function Qt(P,nt){1&P&&(x.TgZ(0,"div",40),x._uU(1,' Use smooth scroll when animations are enabled on OS level. Controlled by "Animate controls and elements inside windows" setting on Windows OS. '),x.qZA())}function Pe(P,nt){1&P&&x._uU(0,' CSS selector or html element reference. Used to determine scroll container for "smooth scroll" and "disable page scrolling" functions. Defaults to document element if not set. ')}function Ze(P,nt){1&P&&(x.TgZ(0,"div",41),x._uU(1,'"Previous" button title'),x.qZA())}function Ce(P,nt){1&P&&x._uU(0,' "Next" button title ')}function x1(P,nt){1&P&&x._uU(0,' "End" button title ')}function d1(P,nt){1&P&&(x.TgZ(0,"div",42),x._uU(1,'Mark your step as "async" if anchor element is added to DOM with a delay.'),x.qZA())}function pe(P,nt){1&P&&x._uU(0,' Time to wait for async step in ms. Once the time runs out, if the step is also marked as "optional", the step will be skipped, otherwise will end the tour with a warning. ')}function Se(P,nt){1&P&&x._uU(0,' Mark your step as "optional" if it should be skipped when anchor element is not found. Step can only be marked as both "optional" and "async" if "asyncStepTimeout" setting is set. ')}function we(P,nt){1&P&&x._uU(0," Delay between navigation to a different route and showing the tour step in ms. Should be set if the tour tries to show tour step before anchor element is registered or the page is scrolled all the way. ")}function Jt(P,nt){1&P&&x._uU(0," Delay before showing tour step in ms. ")}function Ee(P,nt){1&P&&(x.TgZ(0,"div",43),x._uU(1,' Go to next step on anchor element click instead of "Next" button. '),x.qZA())}function We(P,nt){1&P&&x._uU(0," If your tour anchor is duplicated on purpose, you can choose to either register first or last anchor occurance instead of throwing an error. ")}function Ue(P,nt){1&P&&x._uU(0,' Enable to keep the tour open while the user navigates to a different page. Can cause the tour to get "stuck" if active anchor element is removed from the DOM after the navigation. The option is not related to navigation initiated by the UI tour and should not be enabled in most cases. ')}function ct(P,nt){1&P&&x._uU(0," Enable to use popover title for showing step title like in previous versions of the library. Title style can not be customized using step template when the option is enabled. ")}function Ct(P,nt){1&P&&x.YNc(0,ct,1,0,"ng-template",32),2&P&&x.Q6J("documentationPropertyValue",!1)}let O=(()=>{class P{constructor(){this.isCloseOnOutsideClickVisible=!1,this.isIonicShowArrowVisible=!1,this.isMdMenuShowArrowVisible=!1,this.isUseLegacyTitleVisible=!1,this.duplicateAnchorHandlingValues=["error","registerFirst","registerLast"]}static#t=this.\u0275fac=function(Ft){return new(Ft||P)};static#e=this.\u0275cmp=x.Xpm({type:P,selectors:[["app-step-config"]],contentQueries:function(Ft,Vt,be){if(1&Ft&&x.Suo(be,t.s,5),2&Ft){let te;x.iGM(te=x.CRH())&&(Vt.placementConfig=te.first)}},inputs:{isCloseOnOutsideClickVisible:"isCloseOnOutsideClickVisible",isIonicShowArrowVisible:"isIonicShowArrowVisible",isMdMenuShowArrowVisible:"isMdMenuShowArrowVisible",isUseLegacyTitleVisible:"isUseLegacyTitleVisible"},standalone:!0,features:[x.jDz],decls:38,vars:25,consts:[["id","step-config"],["documentationPropertyName","stepId","documentationPropertyType","string"],["documentationPropertyName","anchorId","documentationPropertyType","string",3,"documentationPropertyValue"],["documentationPropertyName","title","documentationPropertyType","string",3,"documentationPropertyValue"],["documentationPropertyName","content","documentationPropertyType","string",3,"documentationPropertyValue"],["documentationPropertyName","enableBackdrop","documentationPropertyType","boolean",3,"documentationPropertyValue"],["documentationPropertyName","backdropConfig","documentationPropertyType","BackdropConfig"],["documentationPropertyName","stepDimensions","documentationPropertyType","StepDimensions"],["documentationPropertyName","route","documentationPropertyType","string | UrlSegment[]"],["documentationPropertyName","popoverClass","documentationPropertyType","string"],["documentationPropertyName","closeOnOutsideClick","documentationPropertyType","boolean",3,"documentationPropertyValue"],["documentationPropertyName","disablePageScrolling","documentationPropertyType","boolean",3,"documentationPropertyValue"],["documentationPropertyName","nextStep","documentationPropertyType","number | string"],["documentationPropertyName","prevStep","documentationPropertyType","number | string"],["documentationPropertyName","placement",3,"documentationPropertyType","documentationPropertyValue","documentationPropertyValues"],["documentationPropertyName","showArrow","documentationPropertyType","boolean",3,"documentationPropertyValue"],["documentationPropertyName","showProgress","documentationPropertyType","boolean",3,"documentationPropertyValue"],["documentationPropertyName","disableScrollToAnchor","documentationPropertyType","boolean",3,"documentationPropertyValue"],["documentationPropertyName","centerAnchorOnScroll","documentationPropertyType","boolean",3,"documentationPropertyValue"],["documentationPropertyName","smoothScroll","documentationPropertyType","boolean",3,"documentationPropertyValue"],["documentationPropertyName","scrollContainer","documentationPropertyType","string | HTMLElement"],["documentationPropertyName","prevBtnTitle","documentationPropertyType","string",3,"documentationPropertyValue"],["documentationPropertyName","nextBtnTitle","documentationPropertyType","string",3,"documentationPropertyValue"],["documentationPropertyName","endBtnTitle","documentationPropertyType","string",3,"documentationPropertyValue"],["documentationPropertyName","isAsync","documentationPropertyType","boolean",3,"documentationPropertyValue"],["documentationPropertyName","asyncStepTimeout","documentationPropertyType","number"],["documentationPropertyName","isOptional","documentationPropertyType","boolean",3,"documentationPropertyValue"],["documentationPropertyName","delayAfterNavigation","documentationPropertyType","number",3,"documentationPropertyValue"],["documentationPropertyName","delayBeforeStepShow","documentationPropertyType","number",3,"documentationPropertyValue"],["documentationPropertyName","nextOnAnchorClick","documentationPropertyType","boolean",3,"documentationPropertyValue"],["documentationPropertyName","duplicateAnchorHandling","documentationPropertyType","string",3,"documentationPropertyValues","documentationPropertyValue"],["documentationPropertyName","allowUserInitiatedNavigation","documentationPropertyType","boolean",3,"documentationPropertyValue"],["documentationPropertyName","useLegacyTitle","documentationPropertyType","boolean",3,"documentationPropertyValue"],["tourAnchor","config.anchorId"],["tourAnchor","config.enableBackdrop"],["tourAnchor","config.route"],["tourAnchor","config.popoverClass"],["tourAnchor","config.placement"],[3,"innerHTML"],["tourAnchor","config.centerAnchorOnScroll"],["tourAnchor","config.smoothScroll"],["tourAnchor","config.buttons.custom"],["tourAnchor","config.isAsync"],["tourAnchor","config.nextOnAnchorClick",2,"cursor","pointer"]],template:function(Ft,Vt){1&Ft&&(x.TgZ(0,"app-header",0),x._uU(1,"Step Configuration"),x.qZA(),x.TgZ(2,"p"),x._uU(3,"Each step can have the following properties."),x.qZA(),x.TgZ(4,"tui-doc-documentation"),x.YNc(5,H,1,0,"ng-template",1)(6,L,2,0,"ng-template",2)(7,G,1,0,"ng-template",3)(8,E,1,0,"ng-template",4)(9,F,2,0,"ng-template",5)(10,Z,1,0,"ng-template",6)(11,I,1,0,"ng-template",7)(12,it,2,0,"ng-template",8)(13,b,2,0,"ng-template",9)(14,K,1,1,null,10)(15,mt,7,0,"ng-template",11)(16,X,1,0,"ng-template",12)(17,ut,1,0,"ng-template",13)(18,At,1,3,null,14)(19,Zt,1,1,null,15)(20,re,1,1,null,15)(21,fe,1,0,"ng-template",16)(22,ue,1,0,"ng-template",17)(23,Lt,2,0,"ng-template",18)(24,Qt,2,0,"ng-template",19)(25,Pe,1,0,"ng-template",20)(26,Ze,2,0,"ng-template",21)(27,Ce,1,0,"ng-template",22)(28,x1,1,0,"ng-template",23)(29,d1,2,0,"ng-template",24)(30,pe,1,0,"ng-template",25)(31,Se,1,0,"ng-template",26)(32,we,1,0,"ng-template",27)(33,Jt,1,0,"ng-template",28)(34,Ee,2,0,"ng-template",29)(35,We,1,0,"ng-template",30)(36,Ue,1,0,"ng-template",31)(37,Ct,1,1,null,32),x.qZA()),2&Ft&&(x.xp6(6),x.Q6J("documentationPropertyValue","some.anchor.id"),x.xp6(1),x.Q6J("documentationPropertyValue","My Title"),x.xp6(1),x.Q6J("documentationPropertyValue","Lorem ipsum dolores"),x.xp6(1),x.Q6J("documentationPropertyValue",!1),x.xp6(5),x.um2(14,Vt.isCloseOnOutsideClickVisible?14:-1),x.xp6(1),x.Q6J("documentationPropertyValue",!0),x.xp6(3),x.um2(18,Vt.placementConfig?18:-1),x.xp6(1),x.um2(19,Vt.isIonicShowArrowVisible?19:-1),x.xp6(1),x.um2(20,Vt.isMdMenuShowArrowVisible?20:-1),x.xp6(1),x.Q6J("documentationPropertyValue",!0),x.xp6(1),x.Q6J("documentationPropertyValue",!1),x.xp6(1),x.Q6J("documentationPropertyValue",!0),x.xp6(1),x.Q6J("documentationPropertyValue",!0),x.xp6(2),x.Q6J("documentationPropertyValue","Prev"),x.xp6(1),x.Q6J("documentationPropertyValue","Next"),x.xp6(1),x.Q6J("documentationPropertyValue","End"),x.xp6(1),x.Q6J("documentationPropertyValue",!1),x.xp6(2),x.Q6J("documentationPropertyValue",!1),x.xp6(1),x.Q6J("documentationPropertyValue",100),x.xp6(1),x.Q6J("documentationPropertyValue",0),x.xp6(1),x.Q6J("documentationPropertyValue",!1),x.xp6(1),x.Q6J("documentationPropertyValues",Vt.duplicateAnchorHandlingValues)("documentationPropertyValue","error"),x.xp6(1),x.Q6J("documentationPropertyValue",!1),x.xp6(1),x.um2(37,Vt.isUseLegacyTitleVisible?37:-1))},dependencies:[T.G,k.Lx,k.zb,k.B7,_.bS],styles:["app-header[_ngcontent-%COMP%]{margin-top:0}div[tourAnchor][_ngcontent-%COMP%]{padding:2.75rem 1rem 1rem;margin:-2.75rem -1rem -1rem}"]})}return P})()},7765:(kt,ot,c)=>{c.d(ot,{J:()=>k});var t=c(1074),_=c(9212);let k=(()=>{class T{static#t=this.\u0275fac=function(L){return new(L||T)};static#e=this.\u0275cmp=_.Xpm({type:T,selectors:[["app-styling-active-tour-anchor"]],standalone:!0,features:[_.jDz],decls:7,vars:0,consts:[["id","styling-active-anchor"]],template:function(L,G){1&L&&(_.TgZ(0,"app-header",0),_._uU(1,"Styling Active Tour Anchor"),_.qZA(),_.TgZ(2,"p"),_._uU(3," The currently active tour anchor element has a "),_.TgZ(4,"code"),_._uU(5,"touranchor--is-active"),_.qZA(),_._uU(6," class applied to it, so you can apply your own custom styles to that class to highlight the element being referenced.\n"),_.qZA())},dependencies:[t.G],encapsulation:2})}return T})()},3622:(kt,ot,c)=>{c.d(ot,{A:()=>L});var t=c(1074),_=c(9212),k=c(6599),T=c(6401);const x=(G,E)=>E.name;function H(G,E){if(1&G&&_._UZ(0,"app-list-item",1),2&G){const F=E.$implicit;_.Q6J("name",F.name)("description",F.description)}}let L=(()=>{class G{constructor(){this.methods=[{name:"start()",description:"Starts the tour"},{name:"startAt(stepId: number | string)",description:"Start the tour at the step with stepId or at the specified index"},{name:"end()",description:"Ends the tour"},{name:"pause()",description:"Pauses the tour"},{name:"resume()",description:"Resumes the tour"},{name:"next()",description:"Goes to the next step"},{name:"prev()",description:"Goes to the previous step"}]}static#t=this.\u0275fac=function(Z){return new(Z||G)};static#e=this.\u0275cmp=_.Xpm({type:G,selectors:[["app-tour-service-api"]],standalone:!0,features:[_.jDz],decls:10,vars:0,consts:[["id","tour-service"],[3,"name","description"]],template:function(Z,I){1&Z&&(_.TgZ(0,"app-header",0),_._uU(1,"TourService"),_.qZA(),_.TgZ(2,"p"),_._uU(3," The "),_.TgZ(4,"code"),_._uU(5,"TourService"),_.qZA(),_._uU(6," controls the tour. Some key functions include:\n"),_.qZA(),_.TgZ(7,"app-list"),_.SjG(8,H,1,2,"app-list-item",1,x),_.qZA()),2&Z&&(_.xp6(8),_.wJu(I.methods))},dependencies:[t.G,k.n,T.G],encapsulation:2})}return G})()},2444:(kt,ot,c)=>{c.d(ot,{e:()=>G});var _=c(2114),k=c(8689),T=c(4308),x=c(8268),H=c(1074),L=c(9212);let G=(()=>{class E{constructor(){this.examples={tourSeviceExample:"this.tourService.initialize([{\r\n anchorId: 'some.anchor.id',\r\n content: 'Some content',\r\n title: 'First',\r\n}, {\r\n anchorId: 'another.anchor.id',\r\n content: 'Other content',\r\n title: 'Second',\r\n}]);\r\n"},this.tourStepTag="",this.anchorPoints='
...
'}static#t=this.\u0275fac=function(I){return new(I||E)};static#e=this.\u0275cmp=L.Xpm({type:E,selectors:[["app-usage"]],inputs:{moduleName:"moduleName"},standalone:!0,features:[L.jDz],decls:36,vars:4,consts:[["id","simple-project","tourAnchor","usage"],["status","warning",1,"tui-space_top-3"],["filename","app.component.html",3,"code"],["filename","app.component.ts",3,"code"],["tourAnchor","tourService.start"],["tuiLink","","target","_blank","href","https://github.com/hakimio/ngx-ui-tour/tree/master/src/app/md-menu"]],template:function(I,it){1&I&&(L.TgZ(0,"app-header",0),L._uU(1,"Usage"),L.qZA(),L.TgZ(2,"ol")(3,"li"),L._uU(4,"Add "),L.TgZ(5,"code"),L._uU(6),L.qZA(),L._uU(7," to your root app component "),L.qZA(),L.TgZ(8,"li"),L._uU(9," Define anchor points for the tour steps by adding the "),L.TgZ(10,"code"),L._uU(11,"tourAnchor"),L.qZA(),L._uU(12," directive throughout your app. "),L.TgZ(13,"tui-notification",1),L._uU(14," You have to import "),L.TgZ(15,"code"),L._uU(16),L.qZA(),L._uU(17," in all your modules and standalone components where you use "),L.TgZ(18,"code"),L._uU(19,"tourAnchor"),L.qZA(),L._uU(20," directive. "),L.qZA(),L._UZ(21,"tui-doc-code",2),L.qZA(),L.TgZ(22,"li"),L._uU(23," Define your tour steps using "),L.TgZ(24,"code"),L._uU(25,"tourService.initialize(steps)"),L.qZA(),L._UZ(26,"tui-doc-code",3),L.qZA(),L.TgZ(27,"li"),L._uU(28,"Start the tour with "),L.TgZ(29,"code",4),L._uU(30,"tourService.start()"),L.qZA()(),L.TgZ(31,"li"),L._uU(32,"Check out the "),L.TgZ(33,"a",5),L._uU(34,"demo source code"),L.qZA(),L._uU(35," for an example."),L.qZA()()),2&I&&(L.xp6(6),L.Oqu(it.tourStepTag),L.xp6(10),L.Oqu(it.moduleName),L.xp6(5),L.Q6J("code",it.anchorPoints),L.xp6(5),L.Q6J("code",it.examples.tourSeviceExample))},dependencies:[H.G,x.bS,T.JF,T.c0,_.j,_.V,k.H,k.L],encapsulation:2})}return E})()},4036:(kt,ot,c)=>{c.d(ot,{z:()=>k});var t=c(6973),_=c(305);function k(T,x){const H="object"==typeof x;return new Promise((L,G)=>{const E=new _.Hp({next:F=>{L(F),E.unsubscribe()},error:G,complete:()=>{H?L(x.defaultValue):G(new t.K)}});T.subscribe(E)})}},4191:(kt,ot,c)=>{c.d(ot,{Em:()=>O,tE:()=>U,qm:()=>Je,X6:()=>b1,yG:()=>h1});var t=c(6814),_=c(9212),k=c(2831),T=c(8645),x=c(7394),H=c(5619),L=c(2096),G=c(6028),E=c(9397),F=c(3620),Z=c(2181),I=c(7398),it=c(836),b=c(3997),at=c(9773),K=c(2495),mt=c(2572),X=c(5211),ut=c(5592),yt=c(8180),At=c(7921);const Zt=new Set;let ie,re=(()=>{class ${constructor(C,N){this._platform=C,this._nonce=N,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):ue}matchMedia(C){return(this._platform.WEBKIT||this._platform.BLINK)&&function fe($,B){if(!Zt.has($))try{ie||(ie=document.createElement("style"),B&&(ie.nonce=B),ie.setAttribute("type","text/css"),document.head.appendChild(ie)),ie.sheet&&(ie.sheet.insertRule(`@media ${$} {body{ }}`,0),Zt.add($))}catch(C){console.error(C)}}(C,this._nonce),this._matchMedia(C)}static#t=this.\u0275fac=function(N){return new(N||$)(_.LFG(k.t4),_.LFG(_.Ojb,8))};static#e=this.\u0275prov=_.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})();function ue($){return{matches:"all"===$||""===$,media:$,addListener:()=>{},removeListener:()=>{}}}let Lt=(()=>{class ${constructor(C,N){this._mediaMatcher=C,this._zone=N,this._queries=new Map,this._destroySubject=new T.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(C){return Qt((0,K.Eq)(C)).some(tt=>this._registerQuery(tt).mql.matches)}observe(C){const tt=Qt((0,K.Eq)(C)).map(Ot=>this._registerQuery(Ot).observable);let ht=(0,mt.a)(tt);return ht=(0,X.z)(ht.pipe((0,yt.q)(1)),ht.pipe((0,it.T)(1),(0,F.b)(0))),ht.pipe((0,I.U)(Ot=>{const Gt={matches:!1,breakpoints:{}};return Ot.forEach(({matches:Ie,query:m1})=>{Gt.matches=Gt.matches||Ie,Gt.breakpoints[m1]=Ie}),Gt}))}_registerQuery(C){if(this._queries.has(C))return this._queries.get(C);const N=this._mediaMatcher.matchMedia(C),ht={observable:new ut.y(Ot=>{const Gt=Ie=>this._zone.run(()=>Ot.next(Ie));return N.addListener(Gt),()=>{N.removeListener(Gt)}}).pipe((0,At.O)(N),(0,I.U)(({matches:Ot})=>({query:C,matches:Ot})),(0,at.R)(this._destroySubject)),mql:N};return this._queries.set(C,ht),ht}static#t=this.\u0275fac=function(N){return new(N||$)(_.LFG(re),_.LFG(_.R0b))};static#e=this.\u0275prov=_.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})();function Qt($){return $.map(B=>B.split(",")).reduce((B,C)=>B.concat(C)).map(B=>B.trim())}class ct{constructor(B){this._items=B,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new T.x,this._typeaheadSubscription=x.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=C=>C.disabled,this._pressedLetters=[],this.tabOut=new T.x,this.change=new T.x,B instanceof _.n_E&&(this._itemChangesSubscription=B.changes.subscribe(C=>{if(this._activeItem){const tt=C.toArray().indexOf(this._activeItem);tt>-1&&tt!==this._activeItemIndex&&(this._activeItemIndex=tt)}}))}skipPredicate(B){return this._skipPredicateFn=B,this}withWrap(B=!0){return this._wrap=B,this}withVerticalOrientation(B=!0){return this._vertical=B,this}withHorizontalOrientation(B){return this._horizontal=B,this}withAllowedModifierKeys(B){return this._allowedModifierKeys=B,this}withTypeAhead(B=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,E.b)(C=>this._pressedLetters.push(C)),(0,F.b)(B),(0,Z.h)(()=>this._pressedLetters.length>0),(0,I.U)(()=>this._pressedLetters.join(""))).subscribe(C=>{const N=this._getItemsArray();for(let tt=1;tt!B[ht]||this._allowedModifierKeys.indexOf(ht)>-1);switch(C){case G.Mf:return void this.tabOut.next();case G.JH:if(this._vertical&&tt){this.setNextItemActive();break}return;case G.LH:if(this._vertical&&tt){this.setPreviousItemActive();break}return;case G.SV:if(this._horizontal&&tt){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case G.oh:if(this._horizontal&&tt){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case G.Sd:if(this._homeAndEnd&&tt){this.setFirstItemActive();break}return;case G.uR:if(this._homeAndEnd&&tt){this.setLastItemActive();break}return;case G.Ku:if(this._pageUpAndDown.enabled&&tt){const ht=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(ht>0?ht:0,1);break}return;case G.VM:if(this._pageUpAndDown.enabled&&tt){const ht=this._activeItemIndex+this._pageUpAndDown.delta,Ot=this._getItemsArray().length;this._setActiveItemByIndex(ht=G.A&&C<=G.Z||C>=G.xE&&C<=G.aO)&&this._letterKeyStream.next(String.fromCharCode(C))))}this._pressedLetters=[],B.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(B){const C=this._getItemsArray(),N="number"==typeof B?B:C.indexOf(B);this._activeItem=C[N]??null,this._activeItemIndex=N}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(B){this._wrap?this._setActiveInWrapMode(B):this._setActiveInDefaultMode(B)}_setActiveInWrapMode(B){const C=this._getItemsArray();for(let N=1;N<=C.length;N++){const tt=(this._activeItemIndex+B*N+C.length)%C.length;if(!this._skipPredicateFn(C[tt]))return void this.setActiveItem(tt)}}_setActiveInDefaultMode(B){this._setActiveItemByIndex(this._activeItemIndex+B,B)}_setActiveItemByIndex(B,C){const N=this._getItemsArray();if(N[B]){for(;this._skipPredicateFn(N[B]);)if(!N[B+=C])return;this.setActiveItem(B)}}_getItemsArray(){return this._items instanceof _.n_E?this._items.toArray():this._items}}class O extends ct{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(B){return this._origin=B,this}setActiveItem(B){super.setActiveItem(B),this.activeItem&&this.activeItem.focus(this._origin)}}function b1($){return 0===$.buttons||0===$.detail}function h1($){const B=$.touches&&$.touches[0]||$.changedTouches&&$.changedTouches[0];return!(!B||-1!==B.identifier||null!=B.radiusX&&1!==B.radiusX||null!=B.radiusY&&1!==B.radiusY)}const a1=new _.OlP("cdk-input-modality-detector-options"),M1={ignoreKeys:[G.zL,G.jx,G.b2,G.MW,G.JU]},Ne=(0,k.i$)({passive:!0,capture:!0});let Be=(()=>{class ${get mostRecentModality(){return this._modality.value}constructor(C,N,tt,ht){this._platform=C,this._mostRecentTarget=null,this._modality=new H.X(null),this._lastTouchMs=0,this._onKeydown=Ot=>{this._options?.ignoreKeys?.some(Gt=>Gt===Ot.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,k.sA)(Ot))},this._onMousedown=Ot=>{Date.now()-this._lastTouchMs<650||(this._modality.next(b1(Ot)?"keyboard":"mouse"),this._mostRecentTarget=(0,k.sA)(Ot))},this._onTouchstart=Ot=>{h1(Ot)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,k.sA)(Ot))},this._options={...M1,...ht},this.modalityDetected=this._modality.pipe((0,it.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,b.x)()),C.isBrowser&&N.runOutsideAngular(()=>{tt.addEventListener("keydown",this._onKeydown,Ne),tt.addEventListener("mousedown",this._onMousedown,Ne),tt.addEventListener("touchstart",this._onTouchstart,Ne)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ne),document.removeEventListener("mousedown",this._onMousedown,Ne),document.removeEventListener("touchstart",this._onTouchstart,Ne))}static#t=this.\u0275fac=function(N){return new(N||$)(_.LFG(k.t4),_.LFG(_.R0b),_.LFG(t.K0),_.LFG(a1,8))};static#e=this.\u0275prov=_.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})();const j=new _.OlP("cdk-focus-monitor-default-options"),S=(0,k.i$)({passive:!0,capture:!0});let U=(()=>{class ${constructor(C,N,tt,ht,Ot){this._ngZone=C,this._platform=N,this._inputModalityDetector=tt,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new T.x,this._rootNodeFocusAndBlurListener=Gt=>{for(let m1=(0,k.sA)(Gt);m1;m1=m1.parentElement)"focus"===Gt.type?this._onFocus(Gt,m1):this._onBlur(Gt,m1)},this._document=ht,this._detectionMode=Ot?.detectionMode||0}monitor(C,N=!1){const tt=(0,K.fI)(C);if(!this._platform.isBrowser||1!==tt.nodeType)return(0,L.of)();const ht=(0,k.kV)(tt)||this._getDocument(),Ot=this._elementInfo.get(tt);if(Ot)return N&&(Ot.checkChildren=!0),Ot.subject;const Gt={checkChildren:N,subject:new T.x,rootNode:ht};return this._elementInfo.set(tt,Gt),this._registerGlobalListeners(Gt),Gt.subject}stopMonitoring(C){const N=(0,K.fI)(C),tt=this._elementInfo.get(N);tt&&(tt.subject.complete(),this._setClasses(N),this._elementInfo.delete(N),this._removeGlobalListeners(tt))}focusVia(C,N,tt){const ht=(0,K.fI)(C);ht===this._getDocument().activeElement?this._getClosestElementsInfo(ht).forEach(([Gt,Ie])=>this._originChanged(Gt,N,Ie)):(this._setOrigin(N),"function"==typeof ht.focus&&ht.focus(tt))}ngOnDestroy(){this._elementInfo.forEach((C,N)=>this.stopMonitoring(N))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(C){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(C)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:C&&this._isLastInteractionFromInputLabel(C)?"mouse":"program"}_shouldBeAttributedToTouch(C){return 1===this._detectionMode||!!C?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(C,N){C.classList.toggle("cdk-focused",!!N),C.classList.toggle("cdk-touch-focused","touch"===N),C.classList.toggle("cdk-keyboard-focused","keyboard"===N),C.classList.toggle("cdk-mouse-focused","mouse"===N),C.classList.toggle("cdk-program-focused","program"===N)}_setOrigin(C,N=!1){this._ngZone.runOutsideAngular(()=>{this._origin=C,this._originFromTouchInteraction="touch"===C&&N,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(C,N){const tt=this._elementInfo.get(N),ht=(0,k.sA)(C);!tt||!tt.checkChildren&&N!==ht||this._originChanged(N,this._getFocusOrigin(ht),tt)}_onBlur(C,N){const tt=this._elementInfo.get(N);!tt||tt.checkChildren&&C.relatedTarget instanceof Node&&N.contains(C.relatedTarget)||(this._setClasses(N),this._emitOrigin(tt,null))}_emitOrigin(C,N){C.subject.observers.length&&this._ngZone.run(()=>C.subject.next(N))}_registerGlobalListeners(C){if(!this._platform.isBrowser)return;const N=C.rootNode,tt=this._rootNodeFocusListenerCount.get(N)||0;tt||this._ngZone.runOutsideAngular(()=>{N.addEventListener("focus",this._rootNodeFocusAndBlurListener,S),N.addEventListener("blur",this._rootNodeFocusAndBlurListener,S)}),this._rootNodeFocusListenerCount.set(N,tt+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,at.R)(this._stopInputModalityDetector)).subscribe(ht=>{this._setOrigin(ht,!0)}))}_removeGlobalListeners(C){const N=C.rootNode;if(this._rootNodeFocusListenerCount.has(N)){const tt=this._rootNodeFocusListenerCount.get(N);tt>1?this._rootNodeFocusListenerCount.set(N,tt-1):(N.removeEventListener("focus",this._rootNodeFocusAndBlurListener,S),N.removeEventListener("blur",this._rootNodeFocusAndBlurListener,S),this._rootNodeFocusListenerCount.delete(N))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(C,N,tt){this._setClasses(C,N),this._emitOrigin(tt,N),this._lastFocusOrigin=N}_getClosestElementsInfo(C){const N=[];return this._elementInfo.forEach((tt,ht)=>{(ht===C||tt.checkChildren&&ht.contains(C))&&N.push([ht,tt])}),N}_isLastInteractionFromInputLabel(C){const{_mostRecentTarget:N,mostRecentModality:tt}=this._inputModalityDetector;if("mouse"!==tt||!N||N===C||"INPUT"!==C.nodeName&&"TEXTAREA"!==C.nodeName||C.disabled)return!1;const ht=C.labels;if(ht)for(let Ot=0;Ot{class ${constructor(C,N){this._platform=C,this._document=N,this._breakpointSubscription=(0,_.f3M)(Lt).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const C=this._document.createElement("div");C.style.backgroundColor="rgb(1,2,3)",C.style.position="absolute",this._document.body.appendChild(C);const N=this._document.defaultView||window,tt=N&&N.getComputedStyle?N.getComputedStyle(C):null,ht=(tt&&tt.backgroundColor||"").replace(/ /g,"");switch(C.remove(),ht){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const C=this._document.body.classList;C.remove(t1,Ut,se),this._hasCheckedHighContrastMode=!0;const N=this.getHighContrastMode();1===N?C.add(t1,Ut):2===N&&C.add(t1,se)}}static#t=this.\u0275fac=function(N){return new(N||$)(_.LFG(k.t4),_.LFG(t.K0))};static#e=this.\u0275prov=_.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})()},9388:(kt,ot,c)=>{c.d(ot,{Is:()=>L,vT:()=>E});var t=c(9212),_=c(6814);const k=new t.OlP("cdk-dir-doc",{providedIn:"root",factory:function T(){return(0,t.f3M)(_.K0)}}),x=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let L=(()=>{class F{constructor(I){this.value="ltr",this.change=new t.vpe,I&&(this.value=function H(F){const Z=F?.toLowerCase()||"";return"auto"===Z&&typeof navigator<"u"&&navigator?.language?x.test(navigator.language)?"rtl":"ltr":"rtl"===Z?"rtl":"ltr"}((I.body?I.body.dir:null)||(I.documentElement?I.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#t=this.\u0275fac=function(it){return new(it||F)(t.LFG(k,8))};static#e=this.\u0275prov=t.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"})}return F})(),E=(()=>{class F{static#t=this.\u0275fac=function(it){return new(it||F)};static#e=this.\u0275mod=t.oAB({type:F});static#n=this.\u0275inj=t.cJS({})}return F})()},2495:(kt,ot,c)=>{c.d(ot,{Eq:()=>x,HM:()=>H,Ig:()=>_,fI:()=>L});var t=c(9212);function _(E){return null!=E&&"false"!=`${E}`}function x(E){return Array.isArray(E)?E:[E]}function H(E){return null==E?"":"string"==typeof E?E:`${E}px`}function L(E){return E instanceof t.SBq?E.nativeElement:E}},6028:(kt,ot,c)=>{c.d(ot,{A:()=>Ee,JH:()=>yt,JU:()=>H,K5:()=>x,Ku:()=>it,LH:()=>X,L_:()=>I,MW:()=>Le,Mf:()=>k,SV:()=>ut,Sd:()=>K,VM:()=>b,Vb:()=>O1,Z:()=>ce,aO:()=>d1,b2:()=>e1,hY:()=>Z,jx:()=>L,oh:()=>mt,uR:()=>at,xE:()=>re,zL:()=>G});const k=9,x=13,H=16,L=17,G=18,Z=27,I=32,it=33,b=34,at=35,K=36,mt=37,X=38,ut=39,yt=40,re=48,d1=57,Ee=65,ce=90,Le=91,e1=224;function O1(Ke,...H1){return H1.length?H1.some(F1=>Ke[F1]):Ke.altKey||Ke.shiftKey||Ke.ctrlKey||Ke.metaKey}},2831:(kt,ot,c)=>{c.d(ot,{Mq:()=>b,Oy:()=>At,i$:()=>Z,kV:()=>X,sA:()=>yt,t4:()=>T});var t=c(9212),_=c(6814);let k;try{k=typeof Intl<"u"&&Intl.v8BreakIterator}catch{k=!1}let E,it,K,T=(()=>{class xt{constructor(ie){this._platformId=ie,this.isBrowser=this._platformId?(0,_.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!k)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#t=this.\u0275fac=function(re){return new(re||xt)(t.LFG(t.Lbi))};static#e=this.\u0275prov=t.Yz7({token:xt,factory:xt.\u0275fac,providedIn:"root"})}return xt})();function Z(xt){return function F(){if(null==E&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>E=!0}))}finally{E=E||!1}return E}()?xt:!!xt.capture}function b(){if(null==it){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return it=!1,it;if("scrollBehavior"in document.documentElement.style)it=!0;else{const xt=Element.prototype.scrollTo;it=!!xt&&!/\{\s*\[native code\]\s*\}/.test(xt.toString())}}return it}function X(xt){if(function mt(){if(null==K){const xt=typeof document<"u"?document.head:null;K=!(!xt||!xt.createShadowRoot&&!xt.attachShadow)}return K}()){const Zt=xt.getRootNode?xt.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&Zt instanceof ShadowRoot)return Zt}return null}function yt(xt){return xt.composedPath?xt.composedPath()[0]:xt.target}function At(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},3680:(kt,ot,c)=>{c.d(ot,{BQ:()=>At,wG:()=>o1,Fq:()=>T1,si:()=>_e,pj:()=>fe});var t=c(9212),_=c(4191),k=c(9388),x=c(6814),H=c(2831),L=c(2495);const yt=new t.OlP("mat-sanity-checks",{providedIn:"root",factory:function ut(){return!0}});let At=(()=>{class rt{constructor(S,U,gt){this._sanityChecks=U,this._document=gt,this._hasDoneGlobalChecks=!1,S._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(S){return!(0,H.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[S])}static#t=this.\u0275fac=function(U){return new(U||rt)(t.LFG(_.qm),t.LFG(yt,8),t.LFG(x.K0))};static#e=this.\u0275mod=t.oAB({type:rt});static#n=this.\u0275inj=t.cJS({imports:[k.vT,k.vT]})}return rt})();function fe(rt,j){return class extends rt{get color(){return this._color}set color(S){const U=S||this.defaultColor;U!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),U&&this._elementRef.nativeElement.classList.add(`mat-${U}`),this._color=U)}constructor(...S){super(...S),this.defaultColor=j,this.color=j}}}class zt{constructor(j,S,U,gt=!1){this._renderer=j,this.element=S,this.config=U,this._animationForciblyDisabledThroughCss=gt,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Ft=(0,H.i$)({passive:!0,capture:!0});class Vt{constructor(){this._events=new Map,this._delegateEventHandler=j=>{const S=(0,H.sA)(j);S&&this._events.get(j.type)?.forEach((U,gt)=>{(gt===S||gt.contains(S))&&U.forEach(Ut=>Ut.handleEvent(j))})}}addHandler(j,S,U,gt){const Ut=this._events.get(S);if(Ut){const se=Ut.get(U);se?se.add(gt):Ut.set(U,new Set([gt]))}else this._events.set(S,new Map([[U,new Set([gt])]])),j.runOutsideAngular(()=>{document.addEventListener(S,this._delegateEventHandler,Ft)})}removeHandler(j,S,U){const gt=this._events.get(j);if(!gt)return;const Ut=gt.get(S);Ut&&(Ut.delete(U),0===Ut.size&>.delete(S),0===gt.size&&(this._events.delete(j),document.removeEventListener(j,this._delegateEventHandler,Ft)))}}const be={enterDuration:225,exitDuration:150},ee=(0,H.i$)({passive:!0,capture:!0}),It=["mousedown","touchstart"],Ht=["mouseup","mouseleave","touchend","touchcancel"];class de{static#t=this._eventManager=new Vt;constructor(j,S,U,gt){this._target=j,this._ngZone=S,this._platform=gt,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,gt.isBrowser&&(this._containerElement=(0,L.fI)(U))}fadeInRipple(j,S,U={}){const gt=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Ut={...be,...U.animation};U.centered&&(j=gt.left+gt.width/2,S=gt.top+gt.height/2);const se=U.radius||function Ge(rt,j,S){const U=Math.max(Math.abs(rt-S.left),Math.abs(rt-S.right)),gt=Math.max(Math.abs(j-S.top),Math.abs(j-S.bottom));return Math.sqrt(U*U+gt*gt)}(j,S,gt),t1=j-gt.left,Je=S-gt.top,y1=Ut.enterDuration,$=document.createElement("div");$.classList.add("mat-ripple-element"),$.style.left=t1-se+"px",$.style.top=Je-se+"px",$.style.height=2*se+"px",$.style.width=2*se+"px",null!=U.color&&($.style.backgroundColor=U.color),$.style.transitionDuration=`${y1}ms`,this._containerElement.appendChild($);const B=window.getComputedStyle($),N=B.transitionDuration,tt="none"===B.transitionProperty||"0s"===N||"0s, 0s"===N||0===gt.width&&0===gt.height,ht=new zt(this,$,U,tt);$.style.transform="scale3d(1, 1, 1)",ht.state=0,U.persistent||(this._mostRecentTransientRipple=ht);let Ot=null;return!tt&&(y1||Ut.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Gt=()=>this._finishRippleTransition(ht),Ie=()=>this._destroyRipple(ht);$.addEventListener("transitionend",Gt),$.addEventListener("transitioncancel",Ie),Ot={onTransitionEnd:Gt,onTransitionCancel:Ie}}),this._activeRipples.set(ht,Ot),(tt||!y1)&&this._finishRippleTransition(ht),ht}fadeOutRipple(j){if(2===j.state||3===j.state)return;const S=j.element,U={...be,...j.config.animation};S.style.transitionDuration=`${U.exitDuration}ms`,S.style.opacity="0",j.state=2,(j._animationForciblyDisabledThroughCss||!U.exitDuration)&&this._finishRippleTransition(j)}fadeOutAll(){this._getActiveRipples().forEach(j=>j.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(j=>{j.config.persistent||j.fadeOut()})}setupTriggerEvents(j){const S=(0,L.fI)(j);!this._platform.isBrowser||!S||S===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=S,It.forEach(U=>{de._eventManager.addHandler(this._ngZone,U,S,this)}))}handleEvent(j){"mousedown"===j.type?this._onMousedown(j):"touchstart"===j.type?this._onTouchStart(j):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Ht.forEach(S=>{this._triggerElement.addEventListener(S,this,ee)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(j){0===j.state?this._startFadeOutTransition(j):2===j.state&&this._destroyRipple(j)}_startFadeOutTransition(j){const S=j===this._mostRecentTransientRipple,{persistent:U}=j.config;j.state=1,!U&&(!S||!this._isPointerDown)&&j.fadeOut()}_destroyRipple(j){const S=this._activeRipples.get(j)??null;this._activeRipples.delete(j),this._activeRipples.size||(this._containerRect=null),j===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),j.state=3,null!==S&&(j.element.removeEventListener("transitionend",S.onTransitionEnd),j.element.removeEventListener("transitioncancel",S.onTransitionCancel)),j.element.remove()}_onMousedown(j){const S=(0,_.X6)(j),U=this._lastTouchStartEvent&&Date.now(){!j.config.persistent&&(1===j.state||j.config.terminateOnPointerUp&&0===j.state)&&j.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const j=this._triggerElement;j&&(It.forEach(S=>de._eventManager.removeHandler(S,j,this)),this._pointerUpEventsRegistered&&Ht.forEach(S=>j.removeEventListener(S,this,ee)))}}const Qe=new t.OlP("mat-ripple-global-options");let o1=(()=>{class rt{get disabled(){return this._disabled}set disabled(S){S&&this.fadeOutAllNonPersistent(),this._disabled=S,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(S){this._trigger=S,this._setupTriggerEventsIfEnabled()}constructor(S,U,gt,Ut,se){this._elementRef=S,this._animationMode=se,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Ut||{},this._rippleRenderer=new de(this,U,S,gt)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(S,U=0,gt){return"number"==typeof S?this._rippleRenderer.fadeInRipple(S,U,{...this.rippleConfig,...gt}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...S})}static#t=this.\u0275fac=function(U){return new(U||rt)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(H.t4),t.Y36(Qe,8),t.Y36(t.QbO,8))};static#e=this.\u0275dir=t.lG2({type:rt,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(U,gt){2&U&&t.ekj("mat-ripple-unbounded",gt.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return rt})(),_e=(()=>{class rt{static#t=this.\u0275fac=function(U){return new(U||rt)};static#e=this.\u0275mod=t.oAB({type:rt});static#n=this.\u0275inj=t.cJS({imports:[At,At]})}return rt})();const Ne={capture:!0},Be=["focus","click","mouseenter","touchstart"],ze="mat-ripple-loader-uninitialized",Te="mat-ripple-loader-class-name",g1="mat-ripple-loader-centered",c1="mat-ripple-loader-disabled";let T1=(()=>{class rt{constructor(){this._document=(0,t.f3M)(x.K0,{optional:!0}),this._animationMode=(0,t.f3M)(t.QbO,{optional:!0}),this._globalRippleOptions=(0,t.f3M)(Qe,{optional:!0}),this._platform=(0,t.f3M)(H.t4),this._ngZone=(0,t.f3M)(t.R0b),this._onInteraction=S=>{if(!(S.target instanceof HTMLElement))return;const gt=S.target.closest(`[${ze}]`);gt&&this.createRipple(gt)},this._ngZone.runOutsideAngular(()=>{for(const S of Be)this._document?.addEventListener(S,this._onInteraction,Ne)})}ngOnDestroy(){for(const S of Be)this._document?.removeEventListener(S,this._onInteraction,Ne)}configureRipple(S,U){S.setAttribute(ze,""),(U.className||!S.hasAttribute(Te))&&S.setAttribute(Te,U.className||""),U.centered&&S.setAttribute(g1,""),U.disabled&&S.setAttribute(c1,"")}getRipple(S){return S.matRipple?S.matRipple:this.createRipple(S)}setDisabled(S,U){const gt=S.matRipple;gt?gt.disabled=U:U?S.setAttribute(c1,""):S.removeAttribute(c1)}createRipple(S){if(!this._document)return;S.querySelector(".mat-ripple")?.remove();const U=this._document.createElement("span");U.classList.add("mat-ripple",S.getAttribute(Te)),S.append(U);const gt=new o1(new t.SBq(U),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return gt._isInitialized=!0,gt.trigger=S,gt.centered=S.hasAttribute(g1),gt.disabled=S.hasAttribute(c1),this.attachRipple(S,gt),gt}attachRipple(S,U){S.removeAttribute(ze),S.matRipple=U}static#t=this.\u0275fac=function(U){return new(U||rt)};static#e=this.\u0275prov=t.Yz7({token:rt,factory:rt.\u0275fac,providedIn:"root"})}return rt})()},2263:(kt,ot,c)=>{c.d(ot,{VK:()=>Z1,Tx:()=>gn,p6:()=>pn});var t=c(9212),_=c(4191),k=c(6028),T=c(8645),x=c(3019),H=c(7394),L=c(2096),G=c(1954);let F,E=1;const Z={};function I(R){return R in Z&&(delete Z[R],!0)}const it={setImmediate(R){const l=E++;return Z[l]=!0,F||(F=Promise.resolve()),F.then(()=>I(l)&&R()),l},clearImmediate(R){I(R)}},{setImmediate:at,clearImmediate:K}=it,mt={setImmediate(...R){const{delegate:l}=mt;return(l?.setImmediate||at)(...R)},clearImmediate(R){const{delegate:l}=mt;return(l?.clearImmediate||K)(R)},delegate:void 0};var ut=c(2631);const At=new class yt extends ut.v{flush(l){this._active=!0;const a=this._scheduled;this._scheduled=void 0;const{actions:h}=this;let v;l=l||h.shift();do{if(v=l.execute(l.state,l.delay))break}while((l=h[0])&&l.id===a&&h.shift());if(this._active=!1,v){for(;(l=h[0])&&l.id===a&&h.shift();)l.unsubscribe();throw v}}}(class X extends G.o{constructor(l,a){super(l,a),this.scheduler=l,this.work=a}requestAsyncId(l,a,h=0){return null!==h&&h>0?super.requestAsyncId(l,a,h):(l.actions.push(this),l._scheduled||(l._scheduled=mt.setImmediate(l.flush.bind(l,void 0))))}recycleAsyncId(l,a,h=0){var v;if(null!=h?h>0:this.delay>0)return super.recycleAsyncId(l,a,h);const{actions:D}=l;null!=a&&(null===(v=D[D.length-1])||void 0===v?void 0:v.id)!==a&&(mt.clearImmediate(a),l._scheduled===a&&(l._scheduled=void 0))}});var Zt=c(7921),ie=c(4664),re=c(8180),fe=c(9773),ue=c(2181),Lt=c(932),Qt=c(6814),Pe=c(3680);class we{attach(l){return this._attachedHost=l,l.attach(this)}detach(){let l=this._attachedHost;null!=l&&(this._attachedHost=null,l.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(l){this._attachedHost=l}}class Jt extends we{constructor(l,a,h,v,D){super(),this.component=l,this.viewContainerRef=a,this.injector=h,this.componentFactoryResolver=v,this.projectableNodes=D}}class Ee extends we{constructor(l,a,h,v){super(),this.templateRef=l,this.viewContainerRef=a,this.context=h,this.injector=v}get origin(){return this.templateRef.elementRef}attach(l,a=this.context){return this.context=a,super.attach(l)}detach(){return this.context=void 0,super.detach()}}class We extends we{constructor(l){super(),this.element=l instanceof t.SBq?l.nativeElement:l}}class Ue{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(l){return l instanceof Jt?(this._attachedPortal=l,this.attachComponentPortal(l)):l instanceof Ee?(this._attachedPortal=l,this.attachTemplatePortal(l)):this.attachDomPortal&&l instanceof We?(this._attachedPortal=l,this.attachDomPortal(l)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(l){this._disposeFn=l}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Ct extends Ue{constructor(l,a,h,v,D){super(),this.outletElement=l,this._componentFactoryResolver=a,this._appRef=h,this._defaultInjector=v,this.attachDomPortal=J=>{const _t=J.element,Mt=this._document.createComment("dom-portal");_t.parentNode.insertBefore(Mt,_t),this.outletElement.appendChild(_t),this._attachedPortal=J,super.setDisposeFn(()=>{Mt.parentNode&&Mt.parentNode.replaceChild(_t,Mt)})},this._document=D}attachComponentPortal(l){const h=(l.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(l.component);let v;return l.viewContainerRef?(v=l.viewContainerRef.createComponent(h,l.viewContainerRef.length,l.injector||l.viewContainerRef.injector,l.projectableNodes||void 0),this.setDisposeFn(()=>v.destroy())):(v=h.create(l.injector||this._defaultInjector||t.zs3.NULL),this._appRef.attachView(v.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(v.hostView),v.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(v)),this._attachedPortal=l,v}attachTemplatePortal(l){let a=l.viewContainerRef,h=a.createEmbeddedView(l.templateRef,l.context,{injector:l.injector});return h.rootNodes.forEach(v=>this.outletElement.appendChild(v)),h.detectChanges(),this.setDisposeFn(()=>{let v=a.indexOf(h);-1!==v&&a.remove(v)}),this._attachedPortal=l,h}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(l){return l.hostView.rootNodes[0]}}let Vt=(()=>{class R{static#t=this.\u0275fac=function(h){return new(h||R)};static#e=this.\u0275mod=t.oAB({type:R});static#n=this.\u0275inj=t.cJS({})}return R})();var te=c(6825),ee=c(9388),It=c(2495),Ht=c(5592),de=c(2438),Qe=(c(927),c(6321)),o1=c(9360),_e=c(4829),Me=c(8251),s1=c(9080);function Ye(R,l=Qe.z){return function ge(R){return(0,o1.e)((l,a)=>{let h=!1,v=null,D=null,J=!1;const _t=()=>{if(D?.unsubscribe(),D=null,h){h=!1;const St=v;v=null,a.next(St)}J&&a.complete()},Mt=()=>{D=null,J&&a.complete()};l.subscribe((0,Me.x)(a,St=>{h=!0,v=St,D||(0,_e.Xf)(R(St)).subscribe(D=(0,Me.x)(a,_t,Mt))},()=>{J=!0,(!h||!D||D.closed)&&a.complete()}))})}(()=>(0,s1.H)(R,l))}var ce=c(2831);let Ne=(()=>{class R{constructor(a,h,v){this._ngZone=a,this._platform=h,this._scrolled=new T.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=v}register(a){this.scrollContainers.has(a)||this.scrollContainers.set(a,a.elementScrolled().subscribe(()=>this._scrolled.next(a)))}deregister(a){const h=this.scrollContainers.get(a);h&&(h.unsubscribe(),this.scrollContainers.delete(a))}scrolled(a=20){return this._platform.isBrowser?new Ht.y(h=>{this._globalSubscription||this._addGlobalListener();const v=a>0?this._scrolled.pipe(Ye(a)).subscribe(h):this._scrolled.subscribe(h);return this._scrolledCount++,()=>{v.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,L.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((a,h)=>this.deregister(h)),this._scrolled.complete()}ancestorScrolled(a,h){const v=this.getAncestorScrollContainers(a);return this.scrolled(h).pipe((0,ue.h)(D=>!D||v.indexOf(D)>-1))}getAncestorScrollContainers(a){const h=[];return this.scrollContainers.forEach((v,D)=>{this._scrollableContainsElement(D,a)&&h.push(D)}),h}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(a,h){let v=(0,It.fI)(h),D=a.getElementRef().nativeElement;do{if(v==D)return!0}while(v=v.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const a=this._getWindow();return(0,de.R)(a.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#t=this.\u0275fac=function(h){return new(h||R)(t.LFG(t.R0b),t.LFG(ce.t4),t.LFG(Qt.K0,8))};static#e=this.\u0275prov=t.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})(),Te=(()=>{class R{constructor(a,h,v){this._platform=a,this._change=new T.x,this._changeListener=D=>{this._change.next(D)},this._document=v,h.runOutsideAngular(()=>{if(a.isBrowser){const D=this._getWindow();D.addEventListener("resize",this._changeListener),D.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const a=this._getWindow();a.removeEventListener("resize",this._changeListener),a.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const a={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),a}getViewportRect(){const a=this.getViewportScrollPosition(),{width:h,height:v}=this.getViewportSize();return{top:a.top,left:a.left,bottom:a.top+v,right:a.left+h,height:v,width:h}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const a=this._document,h=this._getWindow(),v=a.documentElement,D=v.getBoundingClientRect();return{top:-D.top||a.body.scrollTop||h.scrollY||v.scrollTop||0,left:-D.left||a.body.scrollLeft||h.scrollX||v.scrollLeft||0}}change(a=20){return a>0?this._change.pipe(Ye(a)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const a=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:a.innerWidth,height:a.innerHeight}:{width:0,height:0}}static#t=this.\u0275fac=function(h){return new(h||R)(t.LFG(ce.t4),t.LFG(t.R0b),t.LFG(Qt.K0,8))};static#e=this.\u0275prov=t.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})(),se=(()=>{class R{static#t=this.\u0275fac=function(h){return new(h||R)};static#e=this.\u0275mod=t.oAB({type:R});static#n=this.\u0275inj=t.cJS({})}return R})(),t1=(()=>{class R{static#t=this.\u0275fac=function(h){return new(h||R)};static#e=this.\u0275mod=t.oAB({type:R});static#n=this.\u0275inj=t.cJS({imports:[ee.vT,se,ee.vT,se]})}return R})();const Je=(0,ce.Mq)();class y1{constructor(l,a){this._viewportRuler=l,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=a}attach(){}enable(){if(this._canBeEnabled()){const l=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=l.style.left||"",this._previousHTMLStyles.top=l.style.top||"",l.style.left=(0,It.HM)(-this._previousScrollPosition.left),l.style.top=(0,It.HM)(-this._previousScrollPosition.top),l.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const l=this._document.documentElement,h=l.style,v=this._document.body.style,D=h.scrollBehavior||"",J=v.scrollBehavior||"";this._isEnabled=!1,h.left=this._previousHTMLStyles.left,h.top=this._previousHTMLStyles.top,l.classList.remove("cdk-global-scrollblock"),Je&&(h.scrollBehavior=v.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Je&&(h.scrollBehavior=D,v.scrollBehavior=J)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const a=this._document.body,h=this._viewportRuler.getViewportSize();return a.scrollHeight>h.height||a.scrollWidth>h.width}}class B{constructor(l,a,h,v){this._scrollDispatcher=l,this._ngZone=a,this._viewportRuler=h,this._config=v,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(l){this._overlayRef=l}enable(){if(this._scrollSubscription)return;const l=this._scrollDispatcher.scrolled(0).pipe((0,ue.h)(a=>!a||!this._overlayRef.overlayElement.contains(a.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=l.subscribe(()=>{const a=this._viewportRuler.getViewportScrollPosition().top;Math.abs(a-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=l.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class C{enable(){}disable(){}attach(){}}function N(R,l){return l.some(a=>R.bottoma.bottom||R.righta.right)}function tt(R,l){return l.some(a=>R.topa.bottom||R.lefta.right)}class ht{constructor(l,a,h,v){this._scrollDispatcher=l,this._viewportRuler=a,this._ngZone=h,this._config=v,this._scrollSubscription=null}attach(l){this._overlayRef=l}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const a=this._overlayRef.overlayElement.getBoundingClientRect(),{width:h,height:v}=this._viewportRuler.getViewportSize();N(a,[{width:h,height:v,bottom:v,right:h,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Ot=(()=>{class R{constructor(a,h,v,D){this._scrollDispatcher=a,this._viewportRuler=h,this._ngZone=v,this.noop=()=>new C,this.close=J=>new B(this._scrollDispatcher,this._ngZone,this._viewportRuler,J),this.block=()=>new y1(this._viewportRuler,this._document),this.reposition=J=>new ht(this._scrollDispatcher,this._viewportRuler,this._ngZone,J),this._document=D}static#t=this.\u0275fac=function(h){return new(h||R)(t.LFG(Ne),t.LFG(Te),t.LFG(t.R0b),t.LFG(Qt.K0))};static#e=this.\u0275prov=t.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})();class Gt{constructor(l){if(this.scrollStrategy=new C,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,l){const a=Object.keys(l);for(const h of a)void 0!==l[h]&&(this[h]=l[h])}}}class Y1{constructor(l,a){this.connectionPair=l,this.scrollableViewProperties=a}}let k1=(()=>{class R{constructor(a){this._attachedOverlays=[],this._document=a}ngOnDestroy(){this.detach()}add(a){this.remove(a),this._attachedOverlays.push(a)}remove(a){const h=this._attachedOverlays.indexOf(a);h>-1&&this._attachedOverlays.splice(h,1),0===this._attachedOverlays.length&&this.detach()}static#t=this.\u0275fac=function(h){return new(h||R)(t.LFG(Qt.K0))};static#e=this.\u0275prov=t.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})(),I1=(()=>{class R extends k1{constructor(a,h){super(a),this._ngZone=h,this._keydownListener=v=>{const D=this._attachedOverlays;for(let J=D.length-1;J>-1;J--)if(D[J]._keydownEvents.observers.length>0){const _t=D[J]._keydownEvents;this._ngZone?this._ngZone.run(()=>_t.next(v)):_t.next(v);break}}}add(a){super.add(a),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#t=this.\u0275fac=function(h){return new(h||R)(t.LFG(Qt.K0),t.LFG(t.R0b,8))};static#e=this.\u0275prov=t.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})(),p=(()=>{class R extends k1{constructor(a,h,v){super(a),this._platform=h,this._ngZone=v,this._cursorStyleIsSet=!1,this._pointerDownListener=D=>{this._pointerDownEventTarget=(0,ce.sA)(D)},this._clickListener=D=>{const J=(0,ce.sA)(D),_t="click"===D.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:J;this._pointerDownEventTarget=null;const Mt=this._attachedOverlays.slice();for(let St=Mt.length-1;St>-1;St--){const Dt=Mt[St];if(Dt._outsidePointerEvents.observers.length<1||!Dt.hasAttached())continue;if(Dt.overlayElement.contains(J)||Dt.overlayElement.contains(_t))break;const qt=Dt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>qt.next(D)):qt.next(D)}}}add(a){if(super.add(a),!this._isAttached){const h=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(h)):this._addEventListeners(h),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=h.style.cursor,h.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const a=this._document.body;a.removeEventListener("pointerdown",this._pointerDownListener,!0),a.removeEventListener("click",this._clickListener,!0),a.removeEventListener("auxclick",this._clickListener,!0),a.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(a.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(a){a.addEventListener("pointerdown",this._pointerDownListener,!0),a.addEventListener("click",this._clickListener,!0),a.addEventListener("auxclick",this._clickListener,!0),a.addEventListener("contextmenu",this._clickListener,!0)}static#t=this.\u0275fac=function(h){return new(h||R)(t.LFG(Qt.K0),t.LFG(ce.t4),t.LFG(t.R0b,8))};static#e=this.\u0275prov=t.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})(),w=(()=>{class R{constructor(a,h){this._platform=h,this._document=a}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const a="cdk-overlay-container";if(this._platform.isBrowser||(0,ce.Oy)()){const v=this._document.querySelectorAll(`.${a}[platform="server"], .${a}[platform="test"]`);for(let D=0;Dthis._backdropClick.next(qt),this._backdropTransitionendHandler=qt=>{this._disposeBackdrop(qt.target)},this._keydownEvents=new T.x,this._outsidePointerEvents=new T.x,v.scrollStrategy&&(this._scrollStrategy=v.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=v.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(l){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const a=this._portalOutlet.attach(l);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,re.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof a?.onDestroy&&a.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),a}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const l=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),l}dispose(){const l=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,l&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(l){l!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=l,this.hasAttached()&&(l.attach(this),this.updatePosition()))}updateSize(l){this._config={...this._config,...l},this._updateElementSize()}setDirection(l){this._config={...this._config,direction:l},this._updateElementDirection()}addPanelClass(l){this._pane&&this._toggleClasses(this._pane,l,!0)}removePanelClass(l){this._pane&&this._toggleClasses(this._pane,l,!1)}getDirection(){const l=this._config.direction;return l?"string"==typeof l?l:l.value:"ltr"}updateScrollStrategy(l){l!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=l,this.hasAttached()&&(l.attach(this),l.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const l=this._pane.style;l.width=(0,It.HM)(this._config.width),l.height=(0,It.HM)(this._config.height),l.minWidth=(0,It.HM)(this._config.minWidth),l.minHeight=(0,It.HM)(this._config.minHeight),l.maxWidth=(0,It.HM)(this._config.maxWidth),l.maxHeight=(0,It.HM)(this._config.maxHeight)}_togglePointerEvents(l){this._pane.style.pointerEvents=l?"":"none"}_attachBackdrop(){const l="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(l)})}):this._backdropElement.classList.add(l)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const l=this._backdropElement;if(l){if(this._animationsDisabled)return void this._disposeBackdrop(l);l.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{l.addEventListener("transitionend",this._backdropTransitionendHandler)}),l.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(l)},500))}}_toggleClasses(l,a,h){const v=(0,It.Eq)(a||[]).filter(D=>!!D);v.length&&(h?l.classList.add(...v):l.classList.remove(...v))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const l=this._ngZone.onStable.pipe((0,fe.R)((0,x.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),l.unsubscribe())})})}_disposeScrollStrategy(){const l=this._scrollStrategy;l&&(l.disable(),l.detach&&l.detach())}_disposeBackdrop(l){l&&(l.removeEventListener("click",this._backdropClickHandler),l.removeEventListener("transitionend",this._backdropTransitionendHandler),l.remove(),this._backdropElement===l&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const z="cdk-overlay-connected-position-bounding-box",Q=/([A-Za-z%]+)$/;class et{get positions(){return this._preferredPositions}constructor(l,a,h,v,D){this._viewportRuler=a,this._document=h,this._platform=v,this._overlayContainer=D,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new T.x,this._resizeSubscription=H.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(l)}attach(l){this._validatePositions(),l.hostElement.classList.add(z),this._overlayRef=l,this._boundingBox=l.hostElement,this._pane=l.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const l=this._originRect,a=this._overlayRect,h=this._viewportRect,v=this._containerRect,D=[];let J;for(let _t of this._preferredPositions){let Mt=this._getOriginPoint(l,v,_t),St=this._getOverlayPoint(Mt,a,_t),Dt=this._getOverlayFit(St,a,h,_t);if(Dt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(_t,Mt);this._canFitWithFlexibleDimensions(Dt,St,h)?D.push({position:_t,origin:Mt,overlayRect:a,boundingBoxRect:this._calculateBoundingBoxRect(Mt,_t)}):(!J||J.overlayFit.visibleAreaMt&&(Mt=Dt,_t=St)}return this._isPushed=!1,void this._applyPosition(_t.position,_t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(J.position,J.originPoint);this._applyPosition(J.position,J.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&st(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(z),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const l=this._lastPosition;if(l){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const a=this._getOriginPoint(this._originRect,this._containerRect,l);this._applyPosition(l,a)}else this.apply()}withScrollableContainers(l){return this._scrollables=l,this}withPositions(l){return this._preferredPositions=l,-1===l.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(l){return this._viewportMargin=l,this}withFlexibleDimensions(l=!0){return this._hasFlexibleDimensions=l,this}withGrowAfterOpen(l=!0){return this._growAfterOpen=l,this}withPush(l=!0){return this._canPush=l,this}withLockedPosition(l=!0){return this._positionLocked=l,this}setOrigin(l){return this._origin=l,this}withDefaultOffsetX(l){return this._offsetX=l,this}withDefaultOffsetY(l){return this._offsetY=l,this}withTransformOriginOn(l){return this._transformOriginSelector=l,this}_getOriginPoint(l,a,h){let v,D;if("center"==h.originX)v=l.left+l.width/2;else{const J=this._isRtl()?l.right:l.left,_t=this._isRtl()?l.left:l.right;v="start"==h.originX?J:_t}return a.left<0&&(v-=a.left),D="center"==h.originY?l.top+l.height/2:"top"==h.originY?l.top:l.bottom,a.top<0&&(D-=a.top),{x:v,y:D}}_getOverlayPoint(l,a,h){let v,D;return v="center"==h.overlayX?-a.width/2:"start"===h.overlayX?this._isRtl()?-a.width:0:this._isRtl()?0:-a.width,D="center"==h.overlayY?-a.height/2:"top"==h.overlayY?0:-a.height,{x:l.x+v,y:l.y+D}}_getOverlayFit(l,a,h,v){const D=bt(a);let{x:J,y:_t}=l,Mt=this._getOffset(v,"x"),St=this._getOffset(v,"y");Mt&&(J+=Mt),St&&(_t+=St);let Fe=0-_t,He=_t+D.height-h.height,Ve=this._subtractOverflows(D.width,0-J,J+D.width-h.width),v1=this._subtractOverflows(D.height,Fe,He),L1=Ve*v1;return{visibleArea:L1,isCompletelyWithinViewport:D.width*D.height===L1,fitsInViewportVertically:v1===D.height,fitsInViewportHorizontally:Ve==D.width}}_canFitWithFlexibleDimensions(l,a,h){if(this._hasFlexibleDimensions){const v=h.bottom-a.y,D=h.right-a.x,J=lt(this._overlayRef.getConfig().minHeight),_t=lt(this._overlayRef.getConfig().minWidth);return(l.fitsInViewportVertically||null!=J&&J<=v)&&(l.fitsInViewportHorizontally||null!=_t&&_t<=D)}return!1}_pushOverlayOnScreen(l,a,h){if(this._previousPushAmount&&this._positionLocked)return{x:l.x+this._previousPushAmount.x,y:l.y+this._previousPushAmount.y};const v=bt(a),D=this._viewportRect,J=Math.max(l.x+v.width-D.width,0),_t=Math.max(l.y+v.height-D.height,0),Mt=Math.max(D.top-h.top-l.y,0),St=Math.max(D.left-h.left-l.x,0);let Dt=0,qt=0;return Dt=v.width<=D.width?St||-J:l.xVe&&!this._isInitialRender&&!this._growAfterOpen&&(J=l.y-Ve/2)}if("end"===a.overlayX&&!v||"start"===a.overlayX&&v)Fe=h.width-l.x+this._viewportMargin,Dt=l.x-this._viewportMargin;else if("start"===a.overlayX&&!v||"end"===a.overlayX&&v)qt=l.x,Dt=h.right-l.x;else{const He=Math.min(h.right-l.x+h.left,l.x),Ve=this._lastBoundingBoxSize.width;Dt=2*He,qt=l.x-He,Dt>Ve&&!this._isInitialRender&&!this._growAfterOpen&&(qt=l.x-Ve/2)}return{top:J,left:qt,bottom:_t,right:Fe,width:Dt,height:D}}_setBoundingBoxStyles(l,a){const h=this._calculateBoundingBoxRect(l,a);!this._isInitialRender&&!this._growAfterOpen&&(h.height=Math.min(h.height,this._lastBoundingBoxSize.height),h.width=Math.min(h.width,this._lastBoundingBoxSize.width));const v={};if(this._hasExactPosition())v.top=v.left="0",v.bottom=v.right=v.maxHeight=v.maxWidth="",v.width=v.height="100%";else{const D=this._overlayRef.getConfig().maxHeight,J=this._overlayRef.getConfig().maxWidth;v.height=(0,It.HM)(h.height),v.top=(0,It.HM)(h.top),v.bottom=(0,It.HM)(h.bottom),v.width=(0,It.HM)(h.width),v.left=(0,It.HM)(h.left),v.right=(0,It.HM)(h.right),v.alignItems="center"===a.overlayX?"center":"end"===a.overlayX?"flex-end":"flex-start",v.justifyContent="center"===a.overlayY?"center":"bottom"===a.overlayY?"flex-end":"flex-start",D&&(v.maxHeight=(0,It.HM)(D)),J&&(v.maxWidth=(0,It.HM)(J))}this._lastBoundingBoxSize=h,st(this._boundingBox.style,v)}_resetBoundingBoxStyles(){st(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){st(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(l,a){const h={},v=this._hasExactPosition(),D=this._hasFlexibleDimensions,J=this._overlayRef.getConfig();if(v){const Dt=this._viewportRuler.getViewportScrollPosition();st(h,this._getExactOverlayY(a,l,Dt)),st(h,this._getExactOverlayX(a,l,Dt))}else h.position="static";let _t="",Mt=this._getOffset(a,"x"),St=this._getOffset(a,"y");Mt&&(_t+=`translateX(${Mt}px) `),St&&(_t+=`translateY(${St}px)`),h.transform=_t.trim(),J.maxHeight&&(v?h.maxHeight=(0,It.HM)(J.maxHeight):D&&(h.maxHeight="")),J.maxWidth&&(v?h.maxWidth=(0,It.HM)(J.maxWidth):D&&(h.maxWidth="")),st(this._pane.style,h)}_getExactOverlayY(l,a,h){let v={top:"",bottom:""},D=this._getOverlayPoint(a,this._overlayRect,l);return this._isPushed&&(D=this._pushOverlayOnScreen(D,this._overlayRect,h)),"bottom"===l.overlayY?v.bottom=this._document.documentElement.clientHeight-(D.y+this._overlayRect.height)+"px":v.top=(0,It.HM)(D.y),v}_getExactOverlayX(l,a,h){let J,v={left:"",right:""},D=this._getOverlayPoint(a,this._overlayRect,l);return this._isPushed&&(D=this._pushOverlayOnScreen(D,this._overlayRect,h)),J=this._isRtl()?"end"===l.overlayX?"left":"right":"end"===l.overlayX?"right":"left","right"===J?v.right=this._document.documentElement.clientWidth-(D.x+this._overlayRect.width)+"px":v.left=(0,It.HM)(D.x),v}_getScrollVisibility(){const l=this._getOriginRect(),a=this._pane.getBoundingClientRect(),h=this._scrollables.map(v=>v.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:tt(l,h),isOriginOutsideView:N(l,h),isOverlayClipped:tt(a,h),isOverlayOutsideView:N(a,h)}}_subtractOverflows(l,...a){return a.reduce((h,v)=>h-Math.max(v,0),l)}_getNarrowedViewportRect(){const l=this._document.documentElement.clientWidth,a=this._document.documentElement.clientHeight,h=this._viewportRuler.getViewportScrollPosition();return{top:h.top+this._viewportMargin,left:h.left+this._viewportMargin,right:h.left+l-this._viewportMargin,bottom:h.top+a-this._viewportMargin,width:l-2*this._viewportMargin,height:a-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(l,a){return"x"===a?null==l.offsetX?this._offsetX:l.offsetX:null==l.offsetY?this._offsetY:l.offsetY}_validatePositions(){}_addPanelClasses(l){this._pane&&(0,It.Eq)(l).forEach(a=>{""!==a&&-1===this._appliedPanelClasses.indexOf(a)&&(this._appliedPanelClasses.push(a),this._pane.classList.add(a))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(l=>{this._pane.classList.remove(l)}),this._appliedPanelClasses=[])}_getOriginRect(){const l=this._origin;if(l instanceof t.SBq)return l.nativeElement.getBoundingClientRect();if(l instanceof Element)return l.getBoundingClientRect();const a=l.width||0,h=l.height||0;return{top:l.y,bottom:l.y+h,left:l.x,right:l.x+a,height:h,width:a}}}function st(R,l){for(let a in l)l.hasOwnProperty(a)&&(R[a]=l[a]);return R}function lt(R){if("number"!=typeof R&&null!=R){const[l,a]=R.split(Q);return a&&"px"!==a?null:parseFloat(l)}return R||null}function bt(R){return{top:Math.floor(R.top),right:Math.floor(R.right),bottom:Math.floor(R.bottom),left:Math.floor(R.left),width:Math.floor(R.width),height:Math.floor(R.height)}}const le="cdk-global-overlay-wrapper";class Re{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(l){const a=l.getConfig();this._overlayRef=l,this._width&&!a.width&&l.updateSize({width:this._width}),this._height&&!a.height&&l.updateSize({height:this._height}),l.hostElement.classList.add(le),this._isDisposed=!1}top(l=""){return this._bottomOffset="",this._topOffset=l,this._alignItems="flex-start",this}left(l=""){return this._xOffset=l,this._xPosition="left",this}bottom(l=""){return this._topOffset="",this._bottomOffset=l,this._alignItems="flex-end",this}right(l=""){return this._xOffset=l,this._xPosition="right",this}start(l=""){return this._xOffset=l,this._xPosition="start",this}end(l=""){return this._xOffset=l,this._xPosition="end",this}width(l=""){return this._overlayRef?this._overlayRef.updateSize({width:l}):this._width=l,this}height(l=""){return this._overlayRef?this._overlayRef.updateSize({height:l}):this._height=l,this}centerHorizontally(l=""){return this.left(l),this._xPosition="center",this}centerVertically(l=""){return this.top(l),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const l=this._overlayRef.overlayElement.style,a=this._overlayRef.hostElement.style,h=this._overlayRef.getConfig(),{width:v,height:D,maxWidth:J,maxHeight:_t}=h,Mt=!("100%"!==v&&"100vw"!==v||J&&"100%"!==J&&"100vw"!==J),St=!("100%"!==D&&"100vh"!==D||_t&&"100%"!==_t&&"100vh"!==_t),Dt=this._xPosition,qt=this._xOffset,Fe="rtl"===this._overlayRef.getConfig().direction;let He="",Ve="",v1="";Mt?v1="flex-start":"center"===Dt?(v1="center",Fe?Ve=qt:He=qt):Fe?"left"===Dt||"end"===Dt?(v1="flex-end",He=qt):("right"===Dt||"start"===Dt)&&(v1="flex-start",Ve=qt):"left"===Dt||"start"===Dt?(v1="flex-start",He=qt):("right"===Dt||"end"===Dt)&&(v1="flex-end",Ve=qt),l.position=this._cssPosition,l.marginLeft=Mt?"0":He,l.marginTop=St?"0":this._topOffset,l.marginBottom=this._bottomOffset,l.marginRight=Mt?"0":Ve,a.justifyContent=v1,a.alignItems=St?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const l=this._overlayRef.overlayElement.style,a=this._overlayRef.hostElement,h=a.style;a.classList.remove(le),h.justifyContent=h.alignItems=l.marginTop=l.marginBottom=l.marginLeft=l.marginRight=l.position="",this._overlayRef=null,this._isDisposed=!0}}let Oe=(()=>{class R{constructor(a,h,v,D){this._viewportRuler=a,this._document=h,this._platform=v,this._overlayContainer=D}global(){return new Re}flexibleConnectedTo(a){return new et(a,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#t=this.\u0275fac=function(h){return new(h||R)(t.LFG(Te),t.LFG(Qt.K0),t.LFG(ce.t4),t.LFG(w))};static#e=this.\u0275prov=t.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})(),qe=0,e1=(()=>{class R{constructor(a,h,v,D,J,_t,Mt,St,Dt,qt,Fe,He){this.scrollStrategies=a,this._overlayContainer=h,this._componentFactoryResolver=v,this._positionBuilder=D,this._keyboardDispatcher=J,this._injector=_t,this._ngZone=Mt,this._document=St,this._directionality=Dt,this._location=qt,this._outsideClickDispatcher=Fe,this._animationsModuleType=He}create(a){const h=this._createHostElement(),v=this._createPaneElement(h),D=this._createPortalOutlet(v),J=new Gt(a);return J.direction=J.direction||this._directionality.value,new f(D,h,v,J,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(a){const h=this._document.createElement("div");return h.id="cdk-overlay-"+qe++,h.classList.add("cdk-overlay-pane"),a.appendChild(h),h}_createHostElement(){const a=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(a),a}_createPortalOutlet(a){return this._appRef||(this._appRef=this._injector.get(t.z2F)),new Ct(a,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#t=this.\u0275fac=function(h){return new(h||R)(t.LFG(Ot),t.LFG(w),t.LFG(t._Vd),t.LFG(Oe),t.LFG(I1),t.LFG(t.zs3),t.LFG(t.R0b),t.LFG(Qt.K0),t.LFG(ee.Is),t.LFG(Qt.Ye),t.LFG(p),t.LFG(t.QbO,8))};static#e=this.\u0275prov=t.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})();const yn={provide:new t.OlP("cdk-connected-overlay-scroll-strategy"),deps:[e1],useFactory:function dn(R){return()=>R.scrollStrategies.reposition()}};let Hn=(()=>{class R{static#t=this.\u0275fac=function(h){return new(h||R)};static#e=this.\u0275mod=t.oAB({type:R});static#n=this.\u0275inj=t.cJS({providers:[e1,yn],imports:[ee.vT,Vt,t1,t1]})}return R})();const Fn=["mat-menu-item",""];function hn(R,l){1&R&&(t.O4$(),t.TgZ(0,"svg",3),t._UZ(1,"polygon",4),t.qZA())}const G1=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],kn=["mat-icon, [matMenuItemIcon]","*"];function Cn(R,l){if(1&R){const a=t.EpF();t.TgZ(0,"div",0),t.NdJ("keydown",function(v){t.CHM(a);const D=t.oxw();return t.KtG(D._handleKeydown(v))})("click",function(){t.CHM(a);const v=t.oxw();return t.KtG(v.closed.emit("click"))})("@transformMenu.start",function(v){t.CHM(a);const D=t.oxw();return t.KtG(D._onAnimationStart(v))})("@transformMenu.done",function(v){t.CHM(a);const D=t.oxw();return t.KtG(D._onAnimationDone(v))}),t.TgZ(1,"div",1),t.Hsn(2),t.qZA()()}if(2&R){const a=t.oxw();t.Q6J("id",a.panelId)("ngClass",a._classList)("@transformMenu",a._panelAnimationState),t.uIk("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby||null)("aria-describedby",a.ariaDescribedby||null)}}const Sn=["*"],$1=new t.OlP("MAT_MENU_PANEL");let J1=(()=>{class R{constructor(a,h,v,D,J){this._elementRef=a,this._document=h,this._focusMonitor=v,this._parentMenu=D,this._changeDetectorRef=J,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new T.x,this._focused=new T.x,this._highlighted=!1,this._triggersSubmenu=!1,D?.addItem?.(this)}focus(a,h){this._focusMonitor&&a?this._focusMonitor.focusVia(this._getHostElement(),a,h):this._getHostElement().focus(h),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(a){this.disabled&&(a.preventDefault(),a.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const a=this._elementRef.nativeElement.cloneNode(!0),h=a.querySelectorAll("mat-icon, .material-icons");for(let v=0;v enter",(0,te.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,te.oB)({opacity:1,transform:"scale(1)"}))),(0,te.eR)("* => void",(0,te.jt)("100ms 25ms linear",(0,te.oB)({opacity:0})))]),fadeInItems:(0,te.X$)("fadeInItems",[(0,te.SB)("showing",(0,te.oB)({opacity:1})),(0,te.eR)("void => *",[(0,te.oB)({opacity:0}),(0,te.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let $n=0;const wi=new t.OlP("mat-menu-default-options",{providedIn:"root",factory:function _i(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Z1=(()=>{class R{get xPosition(){return this._xPosition}set xPosition(a){this._xPosition=a,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(a){this._yPosition=a,this.setPositionClasses()}set panelClass(a){const h=this._previousPanelClass;h&&h.length&&h.split(" ").forEach(v=>{this._classList[v]=!1}),this._previousPanelClass=a,a&&a.length&&(a.split(" ").forEach(v=>{this._classList[v]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(a){this.panelClass=a}constructor(a,h,v,D){this._elementRef=a,this._ngZone=h,this._changeDetectorRef=D,this._elevationPrefix="mat-elevation-z",this._baseElevation=8,this._directDescendantItems=new t.n_E,this._classList={},this._panelAnimationState="void",this._animationDone=new T.x,this.closed=new t.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+$n++,this.overlayPanelClass=v.overlayPanelClass||"",this._xPosition=v.xPosition,this._yPosition=v.yPosition,this.backdropClass=v.backdropClass,this.overlapTrigger=v.overlapTrigger,this.hasBackdrop=v.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new _.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,Zt.O)(this._directDescendantItems),(0,ie.w)(a=>(0,x.T)(...a.map(h=>h._focused)))).subscribe(a=>this._keyManager.updateActiveItem(a)),this._directDescendantItems.changes.subscribe(a=>{const h=this._keyManager;if("enter"===this._panelAnimationState&&h.activeItem?._hasFocus()){const v=a.toArray(),D=Math.max(0,Math.min(v.length-1,h.activeItemIndex||0));v[D]&&!v[D].disabled?h.setActiveItem(D):h.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,Zt.O)(this._directDescendantItems),(0,ie.w)(h=>(0,x.T)(...h.map(v=>v._hovered))))}addItem(a){}removeItem(a){}_handleKeydown(a){const h=a.keyCode,v=this._keyManager;switch(h){case k.hY:(0,k.Vb)(a)||(a.preventDefault(),this.closed.emit("keydown"));break;case k.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case k.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(h===k.LH||h===k.JH)&&v.setFocusOrigin("keyboard"),void v.onKeydown(a)}a.stopPropagation()}focusFirstItem(a="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,re.q)(1)).subscribe(()=>{let h=null;if(this._directDescendantItems.length&&(h=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!h||!h.contains(document.activeElement)){const v=this._keyManager;v.setFocusOrigin(a).setFirstItemActive(),!v.activeItem&&h&&h.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(a){const h=Math.min(this._baseElevation+a,24),v=`${this._elevationPrefix}${h}`,D=Object.keys(this._classList).find(J=>J.startsWith(this._elevationPrefix));(!D||D===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[v]=!0,this._previousElevation=v)}setPositionClasses(a=this.xPosition,h=this.yPosition){const v=this._classList;v["mat-menu-before"]="before"===a,v["mat-menu-after"]="after"===a,v["mat-menu-above"]="above"===h,v["mat-menu-below"]="below"===h,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(a){this._animationDone.next(a),this._isAnimating=!1}_onAnimationStart(a){this._isAnimating=!0,"enter"===a.toState&&0===this._keyManager.activeItemIndex&&(a.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,Zt.O)(this._allItems)).subscribe(a=>{this._directDescendantItems.reset(a.filter(h=>h._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static#t=this.\u0275fac=function(h){return new(h||R)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(wi),t.Y36(t.sBO))};static#e=this.\u0275cmp=t.Xpm({type:R,selectors:[["mat-menu"]],contentQueries:function(h,v,D){if(1&h&&(t.Suo(D,S1,5),t.Suo(D,J1,5),t.Suo(D,J1,4)),2&h){let J;t.iGM(J=t.CRH())&&(v.lazyContent=J.first),t.iGM(J=t.CRH())&&(v._allItems=J),t.iGM(J=t.CRH())&&(v.items=J)}},viewQuery:function(h,v){if(1&h&&t.Gf(t.Rgc,5),2&h){let D;t.iGM(D=t.CRH())&&(v.templateRef=D.first)}},hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(h,v){2&h&&t.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:["overlapTrigger","overlapTrigger",t.VuI],hasBackdrop:["hasBackdrop","hasBackdrop",a=>null==a?null:(0,t.VuI)(a)],panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[t._Bn([{provide:$1,useExisting:R}]),t.Xq5],ngContentSelectors:Sn,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(h,v){1&h&&(t.F$t(),t.YNc(0,Cn,3,6,"ng-template"))},dependencies:[Qt.mk],styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[un.transformMenu,un.fadeInItems]},changeDetection:0})}return R})();const zn=new t.OlP("mat-menu-scroll-strategy"),Wn={provide:zn,deps:[e1],useFactory:function Zn(R){return()=>R.scrollStrategies.reposition()}},Tn=(0,ce.i$)({passive:!0});let pn=(()=>{class R{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(a){this.menu=a}get menu(){return this._menu}set menu(a){a!==this._menu&&(this._menu=a,this._menuCloseSubscription.unsubscribe(),a&&(this._menuCloseSubscription=a.close.subscribe(h=>{this._destroyMenu(h),("click"===h||"tab"===h)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(h)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(a,h,v,D,J,_t,Mt,St,Dt){this._overlay=a,this._element=h,this._viewContainerRef=v,this._menuItemInstance=_t,this._dir=Mt,this._focusMonitor=St,this._ngZone=Dt,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=H.w0.EMPTY,this._hoverSubscription=H.w0.EMPTY,this._menuCloseSubscription=H.w0.EMPTY,this._changeDetectorRef=(0,t.f3M)(t.sBO),this._handleTouchStart=qt=>{(0,_.yG)(qt)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new t.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new t.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=D,this._parentMaterialMenu=J instanceof Z1?J:void 0,h.nativeElement.addEventListener("touchstart",this._handleTouchStart,Tn)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Tn),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const a=this.menu;if(this._menuOpen||!a)return;const h=this._createOverlay(a),v=h.getConfig(),D=v.positionStrategy;this._setPosition(a,D),v.hasBackdrop=null==a.hasBackdrop?!this.triggersSubmenu():a.hasBackdrop,h.attach(this._getPortal(a)),a.lazyContent&&a.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(a),a instanceof Z1&&(a._startAnimation(),a._directDescendantItems.changes.pipe((0,fe.R)(a.close)).subscribe(()=>{D.withLockedPosition(!1).reapplyLastPosition(),D.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(a,h){this._focusMonitor&&a?this._focusMonitor.focusVia(this._element,a,h):this._element.nativeElement.focus(h)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(a){if(!this._overlayRef||!this.menuOpen)return;const h=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===a||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,h instanceof Z1?(h._resetAnimation(),h.lazyContent?h._animationDone.pipe((0,ue.h)(v=>"void"===v.toState),(0,re.q)(1),(0,fe.R)(h.lazyContent._attached)).subscribe({next:()=>h.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),h?.lazyContent?.detach())}_initMenu(a){a.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,a.direction=this.dir,this._setMenuElevation(a),a.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(a){if(a.setElevation){let h=0,v=a.parentMenu;for(;v;)h++,v=v.parentMenu;a.setElevation(h)}}_setIsMenuOpen(a){a!==this._menuOpen&&(this._menuOpen=a,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(a),this._changeDetectorRef.markForCheck())}_createOverlay(a){if(!this._overlayRef){const h=this._getOverlayConfig(a);this._subscribeToPositions(a,h.positionStrategy),this._overlayRef=this._overlay.create(h),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(a){return new Gt({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:a.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:a.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(a,h){a.setPositionClasses&&h.positionChanges.subscribe(v=>{const D="start"===v.connectionPair.overlayX?"after":"before",J="top"===v.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>a.setPositionClasses(D,J)):a.setPositionClasses(D,J)})}_setPosition(a,h){let[v,D]="before"===a.xPosition?["end","start"]:["start","end"],[J,_t]="above"===a.yPosition?["bottom","top"]:["top","bottom"],[Mt,St]=[J,_t],[Dt,qt]=[v,D],Fe=0;if(this.triggersSubmenu()){if(qt=v="before"===a.xPosition?"start":"end",D=Dt="end"===v?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const He=this._parentMaterialMenu.items.first;this._parentInnerPadding=He?He._getHostElement().offsetTop:0}Fe="bottom"===J?this._parentInnerPadding:-this._parentInnerPadding}}else a.overlapTrigger||(Mt="top"===J?"bottom":"top",St="top"===_t?"bottom":"top");h.withPositions([{originX:v,originY:Mt,overlayX:Dt,overlayY:J,offsetY:Fe},{originX:D,originY:Mt,overlayX:qt,overlayY:J,offsetY:Fe},{originX:v,originY:St,overlayX:Dt,overlayY:_t,offsetY:-Fe},{originX:D,originY:St,overlayX:qt,overlayY:_t,offsetY:-Fe}])}_menuClosingActions(){const a=this._overlayRef.backdropClick(),h=this._overlayRef.detachments(),v=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,L.of)(),D=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,ue.h)(J=>J!==this._menuItemInstance),(0,ue.h)(()=>this._menuOpen)):(0,L.of)();return(0,x.T)(a,v,D,h)}_handleMousedown(a){(0,_.X6)(a)||(this._openedBy=0===a.button?"mouse":void 0,this.triggersSubmenu()&&a.preventDefault())}_handleKeydown(a){const h=a.keyCode;(h===k.K5||h===k.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(h===k.SV&&"ltr"===this.dir||h===k.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(a){this.triggersSubmenu()?(a.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,ue.h)(a=>a===this._menuItemInstance&&!a.disabled),(0,Lt.g)(0,At)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Z1&&this.menu._isAnimating?this.menu._animationDone.pipe((0,re.q)(1),(0,Lt.g)(0,At),(0,fe.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(a){return(!this._portal||this._portal.templateRef!==a.templateRef)&&(this._portal=new Ee(a.templateRef,this._viewContainerRef)),this._portal}static#t=this.\u0275fac=function(h){return new(h||R)(t.Y36(e1),t.Y36(t.SBq),t.Y36(t.s_b),t.Y36(zn),t.Y36($1,8),t.Y36(J1,10),t.Y36(ee.Is,8),t.Y36(_.tE),t.Y36(t.R0b))};static#e=this.\u0275dir=t.lG2({type:R,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(h,v){1&h&&t.NdJ("click",function(J){return v._handleClick(J)})("mousedown",function(J){return v._handleMousedown(J)})("keydown",function(J){return v._handleKeydown(J)}),2&h&&t.uIk("aria-haspopup",v.menu?"menu":null)("aria-expanded",v.menuOpen)("aria-controls",v.menuOpen?v.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]})}return R})(),gn=(()=>{class R{static#t=this.\u0275fac=function(h){return new(h||R)};static#e=this.\u0275mod=t.oAB({type:R});static#n=this.\u0275inj=t.cJS({providers:[Wn],imports:[Qt.ez,Pe.si,Pe.BQ,Hn,se,Pe.BQ]})}return R})()},2914:(kt,ot,c)=>{c.d(ot,{o8:()=>as});var t=c(9212),_=c(5592),k=c(9773),L=c(6232),G=c(2096),E=c(8645),F=c(2438),Z=c(9080),I=c(3684),at=(c(3019),c(9278),c(5211)),mt=c(2181),X=c(8180),ut=c(9397),yt=c(7398),At=c(2460),xt=c(932),Zt=c(1631),Lt=(c(4664),c(7921),c(3997),c(836),c(6814)),Pe=(c(6223),{left:"right",right:"left",bottom:"top",top:"bottom"});function Ze(n){return n.replace(/left|right|bottom|top/g,function(s){return Pe[s]})}function Ce(n){return n.split("-")[0]}var x1={start:"end",end:"start"};function d1(n){return n.replace(/start|end/g,function(s){return x1[s]})}var pe="top",Se="bottom",we="right",Jt="left",Ee="auto",We=[pe,Se,we,Jt],Ue="start",ct="end",O="viewport",P="popper",zt=We.reduce(function(n,s){return n.concat([s+"-"+Ue,s+"-"+ct])},[]),Ft=[].concat(We,[Ee]).reduce(function(n,s){return n.concat([s,s+"-"+Ue,s+"-"+ct])},[]),o1=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function _e(n){if(null==n)return window;if("[object Window]"!==n.toString()){var s=n.ownerDocument;return s&&s.defaultView||window}return n}function Me(n){return n instanceof _e(n).Element||n instanceof Element}function ge(n){return n instanceof _e(n).HTMLElement||n instanceof HTMLElement}function s1(n){return!(typeof ShadowRoot>"u")&&(n instanceof _e(n).ShadowRoot||n instanceof ShadowRoot)}function Ye(n){return((Me(n)?n.ownerDocument:n.document)||window.document).documentElement}var ce=Math.max,Le=Math.min,p1=Math.round;function b1(){var n=navigator.userAgentData;return null!=n&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(s){return s.brand+"/"+s.version}).join(" "):navigator.userAgent}function h1(){return!/^((?!chrome|android).)*safari/i.test(b1())}function a1(n,s,e){void 0===s&&(s=!1),void 0===e&&(e=!1);var i=n.getBoundingClientRect(),o=1,r=1;s&&ge(n)&&(o=n.offsetWidth>0&&p1(i.width)/n.offsetWidth||1,r=n.offsetHeight>0&&p1(i.height)/n.offsetHeight||1);var A=(Me(n)?_e(n):window).visualViewport,V=!h1()&&e,W=(i.left+(V&&A?A.offsetLeft:0))/o,q=(i.top+(V&&A?A.offsetTop:0))/r,ft=i.width/o,pt=i.height/r;return{width:ft,height:pt,top:q,right:W+ft,bottom:q+pt,left:W,x:W,y:q}}function M1(n){var s=_e(n);return{scrollLeft:s.pageXOffset,scrollTop:s.pageYOffset}}function r1(n){return a1(Ye(n)).left+M1(n).scrollLeft}function Be(n){return _e(n).getComputedStyle(n)}function Te(n){return n?(n.nodeName||"").toLowerCase():null}function g1(n){return"html"===Te(n)?n:n.assignedSlot||n.parentNode||(s1(n)?n.host:null)||Ye(n)}function c1(n){var s=Be(n);return/auto|scroll|overlay|hidden/.test(s.overflow+s.overflowY+s.overflowX)}function T1(n){return["html","body","#document"].indexOf(Te(n))>=0?n.ownerDocument.body:ge(n)&&c1(n)?n:T1(g1(n))}function rt(n,s){var e;void 0===s&&(s=[]);var i=T1(n),o=i===(null==(e=n.ownerDocument)?void 0:e.body),r=_e(i),u=o?[r].concat(r.visualViewport||[],c1(i)?i:[]):i,A=s.concat(u);return o?A:A.concat(rt(g1(u)))}function j(n){return["table","td","th"].indexOf(Te(n))>=0}function S(n){return ge(n)&&"fixed"!==Be(n).position?n.offsetParent:null}function gt(n){for(var s=_e(n),e=S(n);e&&j(e)&&"static"===Be(e).position;)e=S(e);return e&&("html"===Te(e)||"body"===Te(e)&&"static"===Be(e).position)?s:e||function U(n){var s=/firefox/i.test(b1());if(/Trident/i.test(b1())&&ge(n)&&"fixed"===Be(n).position)return null;var o=g1(n);for(s1(o)&&(o=o.host);ge(o)&&["html","body"].indexOf(Te(o))<0;){var r=Be(o);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||s&&"filter"===r.willChange||s&&r.filter&&"none"!==r.filter)return o;o=o.parentNode}return null}(n)||s}function Ut(n,s){var e=s.getRootNode&&s.getRootNode();if(n.contains(s))return!0;if(e&&s1(e)){var i=s;do{if(i&&n.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function se(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function Je(n,s,e){return s===O?se(function Ne(n,s){var e=_e(n),i=Ye(n),o=e.visualViewport,r=i.clientWidth,u=i.clientHeight,A=0,V=0;if(o){r=o.width,u=o.height;var W=h1();(W||!W&&"fixed"===s)&&(A=o.offsetLeft,V=o.offsetTop)}return{width:r,height:u,x:A+r1(n),y:V}}(n,e)):Me(s)?function t1(n,s){var e=a1(n,!1,"fixed"===s);return e.top=e.top+n.clientTop,e.left=e.left+n.clientLeft,e.bottom=e.top+n.clientHeight,e.right=e.left+n.clientWidth,e.width=n.clientWidth,e.height=n.clientHeight,e.x=e.left,e.y=e.top,e}(s,e):se(function ze(n){var s,e=Ye(n),i=M1(n),o=null==(s=n.ownerDocument)?void 0:s.body,r=ce(e.scrollWidth,e.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),u=ce(e.scrollHeight,e.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),A=-i.scrollLeft+r1(n),V=-i.scrollTop;return"rtl"===Be(o||e).direction&&(A+=ce(e.clientWidth,o?o.clientWidth:0)-r),{width:r,height:u,x:A,y:V}}(Ye(n)))}function B(n){return n.split("-")[1]}function C(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function N(n){var V,s=n.reference,e=n.element,i=n.placement,o=i?Ce(i):null,r=i?B(i):null,u=s.x+s.width/2-e.width/2,A=s.y+s.height/2-e.height/2;switch(o){case pe:V={x:u,y:s.y-e.height};break;case Se:V={x:u,y:s.y+s.height};break;case we:V={x:s.x+s.width,y:A};break;case Jt:V={x:s.x-e.width,y:A};break;default:V={x:s.x,y:s.y}}var W=o?C(o):null;if(null!=W){var q="y"===W?"height":"width";switch(r){case Ue:V[W]=V[W]-(s[q]/2-e[q]/2);break;case ct:V[W]=V[W]+(s[q]/2-e[q]/2)}}return V}function ht(n){return Object.assign({},{top:0,right:0,bottom:0,left:0},n)}function Ot(n,s){return s.reduce(function(e,i){return e[i]=n,e},{})}function Gt(n,s){void 0===s&&(s={});var i=s.placement,o=void 0===i?n.placement:i,r=s.strategy,u=void 0===r?n.strategy:r,A=s.boundary,V=void 0===A?"clippingParents":A,W=s.rootBoundary,q=void 0===W?O:W,ft=s.elementContext,pt=void 0===ft?P:ft,wt=s.altBoundary,jt=void 0!==wt&&wt,Rt=s.padding,$t=void 0===Rt?0:Rt,ne=ht("number"!=typeof $t?$t:Ot($t,We)),ye=n.rects.popper,Wt=n.elements[jt?pt===P?"reference":P:pt],oe=function $(n,s,e,i){var o="clippingParents"===s?function y1(n){var s=rt(g1(n)),i=["absolute","fixed"].indexOf(Be(n).position)>=0&&ge(n)?gt(n):n;return Me(i)?s.filter(function(o){return Me(o)&&Ut(o,i)&&"body"!==Te(o)}):[]}(n):[].concat(s),r=[].concat(o,[e]),A=r.reduce(function(V,W){var q=Je(n,W,i);return V.top=ce(q.top,V.top),V.right=Le(q.right,V.right),V.bottom=Le(q.bottom,V.bottom),V.left=ce(q.left,V.left),V},Je(n,r[0],i));return A.width=A.right-A.left,A.height=A.bottom-A.top,A.x=A.left,A.y=A.top,A}(Me(Wt)?Wt:Wt.contextElement||Ye(n.elements.popper),V,q,u),ae=a1(n.elements.reference),ke=N({reference:ae,element:ye,strategy:"absolute",placement:o}),xe=se(Object.assign({},ye,ke)),Xe=pt===P?xe:ae,$e={top:oe.top-Xe.top+ne.top,bottom:Xe.bottom-oe.bottom+ne.bottom,left:oe.left-Xe.left+ne.left,right:Xe.right-oe.right+ne.right},l1=n.modifiersData.offset;if(pt===P&&l1){var B1=l1[o];Object.keys($e).forEach(function(u1){var on=[we,Se].indexOf(u1)>=0?1:-1,sn=[pe,Se].indexOf(u1)>=0?"y":"x";$e[u1]+=B1[sn]*on})}return $e}const ln={name:"flip",enabled:!0,phase:"main",fn:function Y1(n){var s=n.state,e=n.options,i=n.name;if(!s.modifiersData[i]._skip){for(var o=e.mainAxis,r=void 0===o||o,u=e.altAxis,A=void 0===u||u,V=e.fallbackPlacements,W=e.padding,q=e.boundary,ft=e.rootBoundary,pt=e.altBoundary,wt=e.flipVariations,jt=void 0===wt||wt,Rt=e.allowedAutoPlacements,$t=s.options.placement,ne=Ce($t),ye=V||(ne!==$t&&jt?function m1(n){if(Ce(n)===Ee)return[];var s=Ze(n);return[d1(n),s,d1(s)]}($t):[Ze($t)]),Wt=[$t].concat(ye).reduce(function(Mn,W1){return Mn.concat(Ce(W1)===Ee?function Ie(n,s){void 0===s&&(s={});var o=s.boundary,r=s.rootBoundary,u=s.padding,A=s.flipVariations,V=s.allowedAutoPlacements,W=void 0===V?Ft:V,q=B(s.placement),ft=q?A?zt:zt.filter(function(jt){return B(jt)===q}):We,pt=ft.filter(function(jt){return W.indexOf(jt)>=0});0===pt.length&&(pt=ft);var wt=pt.reduce(function(jt,Rt){return jt[Rt]=Gt(n,{placement:Rt,boundary:o,rootBoundary:r,padding:u})[Ce(Rt)],jt},{});return Object.keys(wt).sort(function(jt,Rt){return wt[jt]-wt[Rt]})}(s,{placement:W1,boundary:q,rootBoundary:ft,padding:W,flipVariations:jt,allowedAutoPlacements:Rt}):W1)},[]),oe=s.rects.reference,ae=s.rects.popper,ke=new Map,xe=!0,Xe=Wt[0],$e=0;$e=0,sn=on?"width":"height",C1=Gt(s,{placement:l1,boundary:q,rootBoundary:ft,altBoundary:pt,padding:W}),R1=on?u1?we:Jt:u1?Se:pe;oe[sn]>ae[sn]&&(R1=Ze(R1));var hi=Ze(R1),an=[];if(r&&an.push(C1[B1]<=0),A&&an.push(C1[R1]<=0,C1[hi]<=0),an.every(function(Mn){return Mn})){Xe=l1,xe=!1;break}ke.set(l1,an)}if(xe)for(var r0=function(W1){var In=Wt.find(function(gi){var rn=ke.get(gi);if(rn)return rn.slice(0,W1).every(function(c0){return c0})});if(In)return Xe=In,"break"},Nn=jt?3:1;Nn>0&&"break"!==r0(Nn);Nn--);s.placement!==Xe&&(s.modifiersData[i]._skip=!0,s.placement=Xe,s.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function k1(n,s,e){return ce(n,Le(s,e))}function p(n){var s=a1(n),e=n.offsetWidth,i=n.offsetHeight;return Math.abs(s.width-e)<=1&&(e=s.width),Math.abs(s.height-i)<=1&&(i=s.height),{x:n.offsetLeft,y:n.offsetTop,width:e,height:i}}const f={name:"preventOverflow",enabled:!0,phase:"main",fn:function w(n){var s=n.state,e=n.options,i=n.name,o=e.mainAxis,r=void 0===o||o,u=e.altAxis,A=void 0!==u&&u,pt=e.tether,wt=void 0===pt||pt,jt=e.tetherOffset,Rt=void 0===jt?0:jt,$t=Gt(s,{boundary:e.boundary,rootBoundary:e.rootBoundary,padding:e.padding,altBoundary:e.altBoundary}),ne=Ce(s.placement),Kt=B(s.placement),ye=!Kt,Wt=C(ne),oe=function N1(n){return"x"===n?"y":"x"}(Wt),ae=s.modifiersData.popperOffsets,ke=s.rects.reference,xe=s.rects.popper,Xe="function"==typeof Rt?Rt(Object.assign({},s.rects,{placement:s.placement})):Rt,$e="number"==typeof Xe?{mainAxis:Xe,altAxis:Xe}:Object.assign({mainAxis:0,altAxis:0},Xe),l1=s.modifiersData.offset?s.modifiersData.offset[s.placement]:null,B1={x:0,y:0};if(ae){if(r){var u1,on="y"===Wt?pe:Jt,sn="y"===Wt?Se:we,C1="y"===Wt?"height":"width",R1=ae[Wt],hi=R1+$t[on],an=R1-$t[sn],ui=wt?-xe[C1]/2:0,r0=Kt===Ue?ke[C1]:xe[C1],Nn=Kt===Ue?-xe[C1]:-ke[C1],pi=s.elements.arrow,Mn=wt&&pi?p(pi):{width:0,height:0},W1=s.modifiersData["arrow#persistent"]?s.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},In=W1[on],gi=W1[sn],rn=k1(0,ke[C1],Mn[C1]),c0=ye?ke[C1]/2-ui-rn-In-$e.mainAxis:r0-rn-In-$e.mainAxis,_s=ye?-ke[C1]/2+ui+rn+gi+$e.mainAxis:Nn+rn+gi+$e.mainAxis,l0=s.elements.arrow&>(s.elements.arrow),xs=l0?"y"===Wt?l0.clientTop||0:l0.clientLeft||0:0,eo=null!=(u1=l1?.[Wt])?u1:0,Ms=R1+_s-eo,no=k1(wt?Le(hi,R1+c0-eo-xs):hi,R1,wt?ce(an,Ms):an);ae[Wt]=no,B1[Wt]=no-R1}if(A){var io,cn=ae[oe],mi="y"===oe?"height":"width",oo=cn+$t["x"===Wt?pe:Jt],so=cn-$t["x"===Wt?Se:we],d0=-1!==[pe,Jt].indexOf(ne),ao=null!=(io=l1?.[oe])?io:0,ro=d0?oo:cn-ke[mi]-xe[mi]-ao+$e.altAxis,co=d0?cn+ke[mi]+xe[mi]-ao-$e.altAxis:so,lo=wt&&d0?function I1(n,s,e){var i=k1(n,s,e);return i>e?e:i}(ro,cn,co):k1(wt?ro:oo,cn,wt?co:so);ae[oe]=lo,B1[oe]=lo-cn}s.modifiersData[i]=B1}},requiresIfExists:["offset"]},st={name:"arrow",enabled:!0,phase:"main",fn:function Q(n){var s,e=n.state,i=n.name,o=n.options,r=e.elements.arrow,u=e.modifiersData.popperOffsets,A=Ce(e.placement),V=C(A),q=[Jt,we].indexOf(A)>=0?"height":"width";if(r&&u){var ft=function(s,e){return ht("number"!=typeof(s="function"==typeof s?s(Object.assign({},e.rects,{placement:e.placement})):s)?s:Ot(s,We))}(o.padding,e),pt=p(r),wt="y"===V?pe:Jt,jt="y"===V?Se:we,Rt=e.rects.reference[q]+e.rects.reference[V]-u[V]-e.rects.popper[q],$t=u[V]-e.rects.reference[V],ne=gt(r),Kt=ne?"y"===V?ne.clientHeight||0:ne.clientWidth||0:0,ae=Kt/2-pt[q]/2+(Rt/2-$t/2),ke=k1(ft[wt],ae,Kt-pt[q]-ft[jt]);e.modifiersData[i]=((s={})[V]=ke,s.centerOffset=ke-ae,s)}},effect:function et(n){var s=n.state,i=n.options.element,o=void 0===i?"[data-popper-arrow]":i;null!=o&&("string"==typeof o&&!(o=s.elements.popper.querySelector(o))||Ut(s.elements.popper,o)&&(s.elements.arrow=o))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Nt(n,s,e){void 0===e&&(e=!1);var i=ge(s),o=ge(s)&&function Bt(n){var s=n.getBoundingClientRect(),e=p1(s.width)/n.offsetWidth||1,i=p1(s.height)/n.offsetHeight||1;return 1!==e||1!==i}(s),r=Ye(s),u=a1(n,o,e),A={scrollLeft:0,scrollTop:0},V={x:0,y:0};return(i||!i&&!e)&&(("body"!==Te(s)||c1(r))&&(A=function bt(n){return n!==_e(n)&&ge(n)?function lt(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}(n):M1(n)}(s)),ge(s)?((V=a1(s,!0)).x+=s.clientLeft,V.y+=s.clientTop):r&&(V.x=r1(r))),{x:u.left+A.scrollLeft-V.x,y:u.top+A.scrollTop-V.y,width:u.width,height:u.height}}function le(n){var s=new Map,e=new Set,i=[];function o(r){e.add(r.name),[].concat(r.requires||[],r.requiresIfExists||[]).forEach(function(A){if(!e.has(A)){var V=s.get(A);V&&o(V)}}),i.push(r)}return n.forEach(function(r){s.set(r.name,r)}),n.forEach(function(r){e.has(r.name)||o(r)}),i}function Oe(n){var s;return function(){return s||(s=new Promise(function(e){Promise.resolve().then(function(){s=void 0,e(n())})})),s}}var e1={placement:"bottom",modifiers:[],strategy:"absolute"};function O1(){for(var n=arguments.length,s=new Array(n),e=0;e=0?-1:1,r="function"==typeof e?e(Object.assign({},s,{placement:n})):e,u=r[0],A=r[1];return u=u||0,A=(A||0)*o,[Jt,we].indexOf(i)>=0?{x:A,y:u}:{x:u,y:A}}(ft,s.rects,r),q},{}),A=u[s.placement],W=A.y;null!=s.modifiersData.popperOffsets&&(s.modifiersData.popperOffsets.x+=A.x,s.modifiersData.popperOffsets.y+=W),s.modifiersData[i]=u}},Un=["*"];function Et(n,s){if(1&n&&t._uU(0),2&n){const e=t.oxw(2);t.Oqu(e.title)}}function Tt(n,s){}function me(n,s){if(1&n&&(t.TgZ(0,"h3",3),t.YNc(1,Et,1,1,"ng-template",null,4,t.W1O)(3,Tt,0,0,"ng-template",5),t.qZA()),2&n){const e=t.MAs(2),i=t.oxw();t.xp6(3),t.Q6J("ngTemplateOutlet",i.isTitleTemplate()?i.title:e)("ngTemplateOutletContext",i.context)}}const p0={animation:!0,transitionTimerDelayMs:5};let En=(()=>{class n{constructor(){this.animation=p0.animation}static#t=this.\u0275fac=function(i){return new(i||n)};static#e=this.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const yo=()=>{},{transitionTimerDelayMs:ko}=p0,Bn=new Map,z1=(n,s,e,i)=>{let o=i.context||{};const r=Bn.get(s);if(r)switch(i.runningTransition){case"continue":return L.E;case"stop":n.run(()=>r.transition$.complete()),o=Object.assign(r.context,o),Bn.delete(s)}const u=e(s,i.animation,o)||yo;if(!i.animation||"none"===window.getComputedStyle(s).transitionProperty)return n.run(()=>u()),(0,G.of)(void 0).pipe(function Mo(n){return s=>new _.y(e=>s.subscribe({next:u=>n.run(()=>e.next(u)),error:u=>n.run(()=>e.error(u)),complete:()=>n.run(()=>e.complete())}))}(n));const A=new E.x,V=new E.x,W=A.pipe(function K(...n){return s=>(0,at.z)(s,(0,G.of)(...n))}(!0));Bn.set(s,{transition$:A,complete:()=>{V.next(),V.complete()},context:o});const q=function _o(n){const{transitionDelay:s,transitionDuration:e}=window.getComputedStyle(n);return 1e3*(parseFloat(s)+parseFloat(e))}(s);return n.runOutsideAngular(()=>{const ft=(0,F.R)(s,"transitionend").pipe((0,k.R)(W),(0,mt.h)(({target:wt})=>wt===s)),pt=(0,Z.H)(q+ko).pipe((0,k.R)(W));(0,I.S)(pt,ft,V).pipe((0,k.R)(W)).subscribe(()=>{Bn.delete(s),n.run(()=>{u(),A.next(),A.complete()})})}),A.asObservable()};var ve=function(n){return n[n.Tab=9]="Tab",n[n.Enter=13]="Enter",n[n.Escape=27]="Escape",n[n.Space=32]="Space",n[n.PageUp=33]="PageUp",n[n.PageDown=34]="PageDown",n[n.End=35]="End",n[n.Home=36]="Home",n[n.ArrowLeft=37]="ArrowLeft",n[n.ArrowUp=38]="ArrowUp",n[n.ArrowRight=39]="ArrowRight",n[n.ArrowDown=40]="ArrowDown",n}(ve||{});const oi=(n,s)=>!!s&&s.some(e=>e.contains(n)),z0=(n,s)=>!s||null!=function bo(n,s){return!s||typeof n.closest>"u"?null:n.closest(s)}(n,s),t2=typeof navigator<"u"&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");let n2=(()=>{class n{constructor(){this._element=(0,t.f3M)(Lt.K0).documentElement}isRTL(){return"rtl"===(this._element.getAttribute("dir")||"").toLowerCase()}static#t=this.\u0275fac=function(i){return new(i||n)};static#e=this.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const o2=/\s+/,s2=/ +/gi,a2={top:["top"],bottom:["bottom"],start:["left","right"],left:["left"],end:["right","left"],right:["right"],"top-start":["top-start","top-end"],"top-left":["top-start"],"top-end":["top-end","top-start"],"top-right":["top-end"],"bottom-start":["bottom-start","bottom-end"],"bottom-left":["bottom-start"],"bottom-end":["bottom-end","bottom-start"],"bottom-right":["bottom-end"],"start-top":["left-start","right-start"],"left-top":["left-start"],"start-bottom":["left-end","right-end"],"left-bottom":["left-end"],"end-top":["right-start","left-start"],"right-top":["right-start"],"end-bottom":["right-end","left-end"],"right-bottom":["right-end"]},c2=/^left/,D0=/^right/,l2=/^start/,d2=/^end/;function E0({placement:n,baseClass:s},e){let i=Array.isArray(n)?n:n.split(o2),r=i.findIndex(W=>"auto"===W);r>=0&&["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"].forEach(function(W){null==i.find(q=>-1!==q.search("^"+W))&&i.splice(r++,1,W)});const u=i.map(W=>function r2(n,s){const[e,i]=a2[n];return s&&i||e}(W,e.isRTL()));return{placement:u.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!s,phase:"write",fn({state:W}){const q=new RegExp(s+"(-[a-z]+)*","gi"),ft=W.elements.popper,pt=W.placement;let wt=ft.className;wt=wt.replace(q,""),wt+=` ${function h2(n,s){let[e,i]=s.split("-");const o=e.replace(c2,"start").replace(D0,"end");let r=[o];if(i){let u=i;("left"===e||"right"===e)&&(u=u.replace(l2,"top").replace(d2,"bottom")),r.push(`${o}-${u}`)}return n&&(r=r.map(u=>`${n}-${u}`)),r.join(" ")}(s,pt)}`,wt=wt.trim().replace(s2," "),ft.className=wt}},ln,f,st,{enabled:!0,name:"flip",options:{fallbackPlacements:u}},{enabled:!0,name:"preventOverflow",phase:"main",fn:function(){}}]}}function B0(n){return n}new Date(1882,10,12),new Date(2174,10,25);class nn{constructor(s,e,i){this.nodes=s,this.viewRef=e,this.componentRef=i}}class R2{constructor(s){this._componentType=s,this._windowRef=null,this._contentRef=null,this._document=(0,t.f3M)(Lt.K0),this._applicationRef=(0,t.f3M)(t.z2F),this._injector=(0,t.f3M)(t.zs3),this._viewContainerRef=(0,t.f3M)(t.s_b),this._ngZone=(0,t.f3M)(t.R0b)}open(s,e,i=!1){this._windowRef||(this._contentRef=this._getContentRef(s,e),this._windowRef=this._viewContainerRef.createComponent(this._componentType,{injector:this._injector,projectableNodes:this._contentRef.nodes}));const{nativeElement:o}=this._windowRef.location,r=this._ngZone.onStable.pipe((0,X.q)(1),(0,Zt.z)(()=>z1(this._ngZone,o,({classList:u})=>u.add("show"),{animation:i,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:r}}close(s=!1){return this._windowRef?z1(this._ngZone,this._windowRef.location.nativeElement,({classList:e})=>e.remove("show"),{animation:s,runningTransition:"stop"}).pipe((0,ut.b)(()=>{this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null),this._contentRef?.viewRef&&(this._applicationRef.detachView(this._contentRef.viewRef),this._contentRef.viewRef.destroy(),this._contentRef=null)})):(0,G.of)(void 0)}_getContentRef(s,e){if(s){if(s instanceof t.Rgc){const i=s.createEmbeddedView(e);return this._applicationRef.attachView(i),new nn([i.rootNodes],i)}return new nn([[this._document.createTextNode(`${s}`)]])}return new nn([])}}const ts={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]};let is=(()=>{class n{constructor(){this._ngbConfig=(0,t.f3M)(En),this.autoClose=!0,this.placement="auto",this.popperOptions=e=>e,this.triggers="click",this.disablePopover=!1,this.openDelay=0,this.closeDelay=0}get animation(){return this._animation??this._ngbConfig.animation}set animation(e){this._animation=e}static#t=this.\u0275fac=function(i){return new(i||n)};static#e=this.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),os=0,ss=(()=>{class n{isTitleTemplate(){return this.title instanceof t.Rgc}static#t=this.\u0275fac=function(i){return new(i||n)};static#e=this.\u0275cmp=t.Xpm({type:n,selectors:[["ngb-popover-window"]],hostAttrs:["role","tooltip",2,"position","absolute"],hostVars:5,hostBindings:function(i,o){2&i&&(t.Ikx("id",o.id),t.Tol("popover"+(o.popoverClass?" "+o.popoverClass:"")),t.ekj("fade",o.animation))},inputs:{animation:"animation",title:"title",id:"id",popoverClass:"popoverClass",context:"context"},standalone:!0,features:[t.jDz],ngContentSelectors:Un,decls:4,vars:1,consts:[["data-popper-arrow","",1,"popover-arrow"],["class","popover-header"],[1,"popover-body"],[1,"popover-header"],["simpleTitle",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,o){1&i&&(t.F$t(),t._UZ(0,"div",0),t.YNc(1,me,4,2,"h3",1),t.TgZ(2,"div",2),t.Hsn(3),t.qZA()),2&i&&(t.xp6(1),t.um2(1,o.title?1:-1))},dependencies:[Lt.tP],encapsulation:2,changeDetection:0})}return n})(),as=(()=>{class n{constructor(){this._config=(0,t.f3M)(is),this.animation=this._config.animation,this.autoClose=this._config.autoClose,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.triggers=this._config.triggers,this.container=this._config.container,this.disablePopover=this._config.disablePopover,this.popoverClass=this._config.popoverClass,this.openDelay=this._config.openDelay,this.closeDelay=this._config.closeDelay,this.shown=new t.vpe,this.hidden=new t.vpe,this._nativeElement=(0,t.f3M)(t.SBq).nativeElement,this._ngZone=(0,t.f3M)(t.R0b),this._document=(0,t.f3M)(Lt.K0),this._changeDetector=(0,t.f3M)(t.sBO),this._ngbPopoverWindowId="ngb-popover-"+os++,this._popupService=new R2(ss),this._windowRef=null,this._positioning=function Ji(){const n=(0,t.f3M)(n2);let s=null;return{createPopper(e){if(!s){let o=(e.updatePopperOptions||B0)(E0(e,n));s=jn(e.hostElement,e.targetElement,o)}},update(){s&&s.update()},setOptions(e){if(s){let o=(e.updatePopperOptions||B0)(E0(e,n));s.setOptions(o)}},destroy(){s&&(s.destroy(),s=null)}}}()}open(e){if(!this._windowRef&&!this._isDisabled()){const{windowRef:i,transition$:o}=this._popupService.open(this.ngbPopover,e??this.popoverContext,this.animation);this._windowRef=i,this._windowRef.setInput("animation",this.animation),this._windowRef.setInput("title",this.popoverTitle),this._windowRef.setInput("context",e??this.popoverContext),this._windowRef.setInput("popoverClass",this.popoverClass),this._windowRef.setInput("id",this._ngbPopoverWindowId),this._getPositionTargetElement().setAttribute("aria-describedby",this._ngbPopoverWindowId),"body"===this.container&&this._document.body.appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._getPositionTargetElement(),targetElement:this._windowRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,baseClass:"bs-popover",updatePopperOptions:r=>this.popperOptions(function qi(n){return s=>(s.modifiers.push(P1,{name:"offset",options:{offset:()=>n}}),s)}([0,8])(r))}),Promise.resolve().then(()=>{this._positioning.update(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update())})}),function Yi(n,s,e,i,o,r,u,A){e&&n.runOutsideAngular((n=>t2?()=>setTimeout(()=>n(),100):n)(()=>{const W=(0,F.R)(s,"keydown").pipe((0,k.R)(o),(0,mt.h)(pt=>pt.which===ve.Escape),(0,ut.b)(pt=>pt.preventDefault())),q=(0,F.R)(s,"mousedown").pipe((0,yt.U)(pt=>{const wt=pt.target;return 2!==pt.button&&!oi(wt,u)&&("inside"===e?oi(wt,r)&&z0(wt,A):"outside"===e?!oi(wt,r):z0(wt,A)||!oi(wt,r))}),(0,k.R)(o)),ft=(0,F.R)(s,"mouseup").pipe((0,At.M)(q),(0,mt.h)(([pt,wt])=>wt),(0,xt.g)(0),(0,k.R)(o));(0,I.S)([W.pipe((0,yt.U)(pt=>0)),ft.pipe((0,yt.U)(pt=>1))]).subscribe(pt=>n.run(()=>i(pt)))}))}(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement]),o.subscribe(()=>this.shown.emit())}}close(e=this.animation){this._windowRef&&(this._getPositionTargetElement().removeAttribute("aria-describedby"),this._popupService.close(e).subscribe(()=>{this._windowRef=null,this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=function ns(n,s,e,i,o,r=0,u=0){const A=function es(n){const s=(n||"").trim();if(0===s.length)return[];const e=s.split(/\s+/).map(o=>o.split(":")).map(o=>ts[o[0]]||o),i=e.filter(o=>o.includes("manual"));if(i.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===i.length&&e.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return i.length?[]:e}(s);if(0===A.length)return()=>{};const V=new Set,W=[];let q;function ft(wt,jt){n.addEventListener(wt,jt),W.push(()=>n.removeEventListener(wt,jt))}function pt(wt,jt){clearTimeout(q),jt>0?q=setTimeout(wt,jt):wt()}for(const[wt,jt]of A)jt?(ft(wt,()=>{V.add(wt),pt(()=>V.size>0&&i(),r)}),ft(jt,()=>{V.delete(wt),pt(()=>0===V.size&&o(),u)})):ft(wt,()=>e()?pt(o,u):pt(i,r));return()=>W.forEach(wt=>wt())}(this._nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({ngbPopover:e,popoverTitle:i,disablePopover:o,popoverClass:r}){r&&this.isOpen()&&this._windowRef.setInput("popoverClass",r.currentValue),(e||i||o)&&this._isDisabled()&&this.close()}ngOnDestroy(){this.close(!1),this._unregisterListenersFn?.()}_isDisabled(){return!!this.disablePopover||!this.ngbPopover&&!this.popoverTitle}_getPositionTargetElement(){return(function q1(n){return"string"==typeof n}(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget)||this._nativeElement}static#t=this.\u0275fac=function(i){return new(i||n)};static#e=this.\u0275dir=t.lG2({type:n,selectors:[["","ngbPopover",""]],inputs:{animation:"animation",autoClose:"autoClose",ngbPopover:"ngbPopover",popoverTitle:"popoverTitle",placement:"placement",popperOptions:"popperOptions",triggers:"triggers",positionTarget:"positionTarget",container:"container",disablePopover:"disablePopover",popoverClass:"popoverClass",popoverContext:"popoverContext",openDelay:"openDelay",closeDelay:"closeDelay"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbPopover"],standalone:!0,features:[t.TTD]})}return n})();new t.OlP("live announcer delay",{providedIn:"root",factory:()=>100})}}]); \ No newline at end of file diff --git a/678.ccff1251b7d177e3.js b/678.455b40607d43bc33.js similarity index 52% rename from 678.ccff1251b7d177e3.js rename to 678.455b40607d43bc33.js index 8973e50e..262ea3ec 100644 --- a/678.ccff1251b7d177e3.js +++ b/678.455b40607d43bc33.js @@ -1 +1 @@ -"use strict";(self.webpackChunkngx_ui_tour=self.webpackChunkngx_ui_tour||[]).push([[678],{678:(Q,p,o)=>{o.r(p),o.d(p,{default:()=>D});var d=o(8836),i=o(990),t=o(9212),h=o(7546),c=o(2114),l=o(631),u=o(8689),r=o(4308),v=o(5629),b=o(7212),f=o(9451),T=o(1074),y=o(2444),A=o(1872),Z=o(7868),I=o(3622),x=o(1769),U=o(6798),S=o(8791),B=o(732),N=o(2545),C=o(7765);function M(e,a){if(1&e){const n=t.EpF();t.TgZ(0,"p")(1,"code"),t._uU(2,"ngx-ui-tour"),t.qZA(),t._uU(3," is a UI tour library built for Angular. It's inspired by "),t.TgZ(4,"a",2),t._uU(5,"angular-ui-tour"),t.qZA(),t._uU(6,". "),t.qZA(),t.TgZ(7,"p")(8,"code"),t._uU(9,"TourNgBootstrapModule"),t.qZA(),t._uU(10," is an implementation of the tour UI that uses "),t.TgZ(11,"a",3),t._uU(12,"NgBootstrap"),t.qZA(),t._uU(13," popovers to display tour steps. "),t.qZA(),t.TgZ(14,"p")(15,"button",4),t.NdJ("click",function(){t.CHM(n);const g=t.oxw();return t.KtG(g.tourService.start())}),t._uU(16," Start Demo Tour "),t.qZA()()}}function P(e,a){if(1&e&&(t.TgZ(0,"app-header",5),t._uU(1,"Installation"),t.qZA(),t.TgZ(2,"ol")(3,"li")(4,"code"),t._uU(5,"npm install ngx-ui-tour-ng-bootstrap bootstrap @popperjs/core @ng-bootstrap/ng-bootstrap"),t.qZA()(),t.TgZ(6,"li"),t._uU(7," Import "),t.TgZ(8,"code"),t._uU(9,"TourNgBootstrapModule"),t.qZA(),t._uU(10," into your app module "),t.TgZ(11,"tui-notification",6),t._uU(12," If you are using "),t.TgZ(13,"code"),t._uU(14,"v11"),t.qZA(),t._uU(15," or older, you have to import "),t.TgZ(16,"code"),t._uU(17,"TourNgBootstrapModule.forRoot()"),t.qZA()()(),t.TgZ(18,"li"),t._uU(19," Make sure "),t.TgZ(20,"code"),t._uU(21,"RouterModule"),t.qZA(),t._uU(22," is imported in your app module "),t.qZA(),t.TgZ(23,"li"),t._uU(24," Add bootstrap SCSS to your "),t.TgZ(25,"code"),t._uU(26,"styles.scss"),t.qZA(),t._uU(27,": "),t._UZ(28,"tui-doc-code",7),t.qZA(),t.TgZ(29,"li"),t._uU(30," Make sure NG Bootstrap is "),t.TgZ(31,"a",8),t._uU(32,"installed correctly"),t.qZA()()(),t._UZ(33,"app-usage",9)),2&e){const n=t.oxw();t.xp6(28),t.Q6J("code",n.bootstrapScssImport)}}const k=()=>["auto","top","bottom","start","left","end","right","top-start","top-left","top-end","top-right","bottom-start","bottom-left","bottom-end","bottom-right","start-top","left-top","start-bottom","left-bottom","end-top","right-top","end-bottom","right-bottom"];function L(e,a){1&e&&(t.TgZ(0,"app-step-config",10),t._UZ(1,"app-placement-config",11),t.qZA(),t._UZ(2,"app-tour-service-api")(3,"app-events")),2&e&&(t.Q6J("isUseLegacyTitleVisible",!0),t.xp6(1),t.Q6J("values",t.DdM(2,k)))}function O(e,a){1&e&&t._UZ(0,"app-faq",12)}function _(e,a){if(1&e&&t._UZ(0,"app-hotkeys")(1,"app-defaults")(2,"app-custom-template",13)(3,"app-styling-active-tour-anchor"),2&e){const n=t.oxw();t.xp6(2),t.Q6J("defaultTemplate",n.defaultTemplate)}}const D=(0,d.Ve)((()=>{class e{constructor(){this.tourSteps=[{anchorId:"start.tour",content:"Welcome to the Ngx-UI-Tour tour!",placement:"bottom",title:"Welcome"},{anchorId:"angular-ui-tour",content:"Thanks to angular-ui-tour for the inspiration for the library",title:"angular-ui-tour"},{anchorId:"installation",content:"First, install the library...",title:"Installation",route:"ng-bootstrap/Setup"},{anchorId:"usage",content:"...then use it.",title:"Usage",route:"ng-bootstrap/Setup"},{anchorId:"tourService.start",content:"Don't forget to actually start the tour.",title:"Start the tour",route:"ng-bootstrap/Setup"},{anchorId:"config.anchorId",content:"Every step needs an anchor.",title:"Anchor",route:"ng-bootstrap/API"},{anchorId:"config.enableBackdrop",content:"You can enable backdrop to highlight active element.",title:"Backdrop",enableBackdrop:!0,route:"ng-bootstrap/API"},{anchorId:"config.route",content:"Tours can span multiple routes.",title:"Route",route:"ng-bootstrap/API"},{anchorId:"config.popoverClass",content:"You can add custom popover class.",title:"Custom CSS Class",popoverClass:"custom-tour-class",route:"ng-bootstrap/API"},{anchorId:"config.placement",content:"Steps can be positioned around an anchor.",title:"Placement",route:"ng-bootstrap/API"},{anchorId:"config.centerAnchorOnScroll",content:"Enable this config to keep active anchor element centered when possible.",title:"Center active anchor",route:"ng-bootstrap/API"},{anchorId:"config.smoothScroll",content:'Enable "smoothScroll" option to smoothly scroll to an active element.',title:"Smooth scroll",route:"ng-bootstrap/API"},{anchorId:"config.buttons.custom",content:"You can set custom step button names",title:"Button Titles",prevBtnTitle:"My Prev",nextBtnTitle:"My Next",endBtnTitle:"My End",route:"ng-bootstrap/API"},{anchorId:"config.isAsync",content:"Mark your step as async if anchor element is added to DOM with a delay",title:"Wait for async event",route:"ng-bootstrap/API"},{anchorId:"config.nextOnAnchorClick",content:"Click on the config description to go to the next step",title:"Next on Anchor Click",route:"ng-bootstrap/API",nextOnAnchorClick:!0},{anchorId:"events",content:"You can subscribe to events",title:"Events",route:"ng-bootstrap/API"},{anchorId:"hotkeys",content:"Try using the hotkeys to navigate through the tour.",title:"Hotkeys",route:"ng-bootstrap/Misc"}],this.bootstrapScssImport='@import "bootstrap/scss/bootstrap";',this.defaultTemplate='\r\n \r\n \r\n @if (!step?.useLegacyTitle && step?.title) {\r\n
\r\n
{{ step?.title }}
\r\n \r\n
\r\n }\r\n

\r\n
\r\n \r\n \r\n \r\n \r\n {{ step?.prevBtnTitle }}\r\n \r\n @if (step.showProgress) {\r\n
{{ tourService.steps?.indexOf(step) + 1 }} / {{ tourService.steps?.length }}
\r\n }\r\n @if (tourService.hasNext(step) && !step.nextOnAnchorClick) {\r\n \r\n {{ step?.nextBtnTitle }}\r\n \r\n \r\n \r\n \r\n }\r\n @if (!tourService.hasNext(step)) {\r\n \r\n {{ step?.endBtnTitle }}\r\n \r\n }\r\n
\r\n \r\n
\r\n
\r\n',this.tourService=(0,t.f3M)(i.QL),this.delayAfterNavigation=(0,t.f3M)(h.h1)}ngOnInit(){this.tourService.initialize(this.tourSteps,{route:"ng-bootstrap",delayAfterNavigation:this.delayAfterNavigation})}static#t=this.\u0275fac=function(s){return new(s||e)};static#o=this.\u0275cmp=t.Xpm({type:e,selectors:[["app-ng-bootstrap"]],standalone:!0,features:[t._Bn([(0,v.E)(i.Q4)]),t.jDz],decls:7,vars:0,consts:[["header","NG Bootstrap","package","ngx-ui-tour-ng-bootstrap"],["pageTab",""],["tuiLink","","target","_blank","tourAnchor","angular-ui-tour","href","http://benmarch.github.io/angular-ui-tour"],["tuiLink","","href","https://ng-bootstrap.github.io","target","_blank"],["tuiButton","","type","button","tourAnchor","start.tour",3,"click"],["tourAnchor","installation","id","installation"],[1,"tui-space_top-3"],["filename","styles.scss",3,"code"],["tuiLink","","href","https://ng-bootstrap.github.io/#/getting-started#installation","target","_blank"],["moduleName","TourNgBootstrapModule"],[3,"isUseLegacyTitleVisible"],["value","auto","extraInfo","Accepts NgbPopover placement options.",3,"values"],["disablePageScrollingIntroducedIn","12.1","backdropOffsetIntroducedIn","13"],[3,"defaultTemplate"]],template:function(s,g){1&s&&(t.TgZ(0,"tui-doc-page",0),t.YNc(1,M,17,0,"ng-template",1)(2,P,34,1,"ng-template",1)(3,L,4,3,"ng-template",1)(4,O,1,0,"ng-template",1)(5,_,4,1,"ng-template",1),t.qZA(),t._UZ(6,"tour-step-template"))},dependencies:[r.Lq,r.qo,r.nj,c.j,c.V,i.yk,b.Q,f.R,l.fN,l.v0,u.H,u.L,r.JF,r.c0,T.G,y.e,A.t,Z.s,I.A,x.H,U.v,S.Q,B.w,N.e,C.J],styles:[".popover.custom-tour-class{--bs-popover-arrow-border: #333;--bs-popover-bg: #333;--bs-popover-border-color: #333;--bs-popover-body-color: #eee} .popover.custom-tour-class .progress{color:#6c757d!important} .popover.custom-tour-class .btn-close{filter:invert(1) grayscale(100%) brightness(200%)}app-header[_ngcontent-%COMP%]{margin-top:0}"]})}return e})())}}]); \ No newline at end of file +"use strict";(self.webpackChunkngx_ui_tour=self.webpackChunkngx_ui_tour||[]).push([[678],{678:(Q,p,o)=>{o.r(p),o.d(p,{default:()=>D});var d=o(8836),i=o(990),t=o(9212),h=o(7546),c=o(2114),l=o(631),u=o(8689),r=o(4308),v=o(5629),b=o(7212),f=o(9451),T=o(1074),y=o(2444),A=o(1872),Z=o(7868),I=o(3622),x=o(1769),U=o(6798),S=o(8791),B=o(732),N=o(2545),C=o(7765);function M(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"p")(1,"code"),t._uU(2,"ngx-ui-tour"),t.qZA(),t._uU(3," is a UI tour library built for Angular. It's inspired by "),t.TgZ(4,"a",2),t._uU(5,"angular-ui-tour"),t.qZA(),t._uU(6,". "),t.qZA(),t.TgZ(7,"p")(8,"code"),t._uU(9,"TourNgBootstrapModule"),t.qZA(),t._uU(10," is an implementation of the tour UI that uses "),t.TgZ(11,"a",3),t._uU(12,"NgBootstrap"),t.qZA(),t._uU(13," popovers to display tour steps. "),t.qZA(),t.TgZ(14,"p")(15,"button",4),t.NdJ("click",function(){t.CHM(e);const g=t.oxw();return t.KtG(g.tourService.start())}),t._uU(16," Start Demo Tour "),t.qZA()()}}function P(n,a){if(1&n&&(t.TgZ(0,"app-header",5),t._uU(1,"Installation"),t.qZA(),t.TgZ(2,"ol")(3,"li")(4,"code"),t._uU(5,"npm install ngx-ui-tour-ng-bootstrap bootstrap @popperjs/core @ng-bootstrap/ng-bootstrap"),t.qZA()(),t.TgZ(6,"li"),t._uU(7," Import "),t.TgZ(8,"code"),t._uU(9,"TourNgBootstrapModule"),t.qZA(),t._uU(10," into your app module "),t.TgZ(11,"tui-notification",6),t._uU(12," If you are using "),t.TgZ(13,"code"),t._uU(14,"v11"),t.qZA(),t._uU(15," or older, you have to import "),t.TgZ(16,"code"),t._uU(17,"TourNgBootstrapModule.forRoot()"),t.qZA()()(),t.TgZ(18,"li"),t._uU(19," Make sure "),t.TgZ(20,"code"),t._uU(21,"RouterModule"),t.qZA(),t._uU(22," is imported in your app module "),t.qZA(),t.TgZ(23,"li"),t._uU(24," Add bootstrap SCSS to your "),t.TgZ(25,"code"),t._uU(26,"styles.scss"),t.qZA(),t._uU(27,": "),t._UZ(28,"tui-doc-code",7),t.qZA(),t.TgZ(29,"li"),t._uU(30," Make sure NG Bootstrap is "),t.TgZ(31,"a",8),t._uU(32,"installed correctly"),t.qZA()()(),t._UZ(33,"app-usage",9)),2&n){const e=t.oxw();t.xp6(28),t.Q6J("code",e.bootstrapScssImport)}}const k=()=>["auto","top","bottom","start","left","end","right","top-start","top-left","top-end","top-right","bottom-start","bottom-left","bottom-end","bottom-right","start-top","left-top","start-bottom","left-bottom","end-top","right-top","end-bottom","right-bottom"];function L(n,a){1&n&&(t.TgZ(0,"app-step-config",10),t._UZ(1,"app-placement-config",11),t.qZA(),t._UZ(2,"app-tour-service-api")(3,"app-events")),2&n&&(t.Q6J("isUseLegacyTitleVisible",!0),t.xp6(1),t.Q6J("values",t.DdM(2,k)))}function O(n,a){1&n&&t._UZ(0,"app-faq",12)}function _(n,a){if(1&n&&t._UZ(0,"app-hotkeys")(1,"app-defaults")(2,"app-custom-template",13)(3,"app-styling-active-tour-anchor"),2&n){const e=t.oxw();t.xp6(2),t.Q6J("defaultTemplate",e.defaultTemplate)}}const D=(0,d.Ve)((()=>{class n{constructor(){this.tourSteps=[{anchorId:"start.tour",content:"Welcome to the Ngx-UI-Tour tour!",placement:"bottom",title:"Welcome"},{anchorId:"angular-ui-tour",content:"Thanks to angular-ui-tour for the inspiration for the library",title:"angular-ui-tour"},{anchorId:"installation",content:"First, install the library...",title:"Installation",route:"ng-bootstrap/Setup"},{anchorId:"usage",content:"...then use it.",title:"Usage",route:"ng-bootstrap/Setup"},{anchorId:"tourService.start",content:"Don't forget to actually start the tour.",title:"Start the tour",route:"ng-bootstrap/Setup"},{anchorId:"config.anchorId",content:"Every step needs an anchor.",title:"Anchor",route:"ng-bootstrap/API"},{anchorId:"config.enableBackdrop",content:"You can enable backdrop to highlight active element.",title:"Backdrop",enableBackdrop:!0,route:"ng-bootstrap/API"},{anchorId:"config.route",content:"Tours can span multiple routes.",title:"Route",route:"ng-bootstrap/API"},{anchorId:"config.popoverClass",content:"You can add custom popover class.",title:"Custom CSS Class",popoverClass:"custom-tour-class",route:"ng-bootstrap/API"},{anchorId:"config.placement",content:"Steps can be positioned around an anchor.",title:"Placement",route:"ng-bootstrap/API"},{anchorId:"config.centerAnchorOnScroll",content:"Enable this config to keep active anchor element centered when possible.",title:"Center active anchor",route:"ng-bootstrap/API"},{anchorId:"config.smoothScroll",content:'Enable "smoothScroll" option to smoothly scroll to an active element.',title:"Smooth scroll",route:"ng-bootstrap/API"},{anchorId:"config.buttons.custom",content:"You can set custom step button names",title:"Button Titles",prevBtnTitle:"My Prev",nextBtnTitle:"My Next",endBtnTitle:"My End",route:"ng-bootstrap/API"},{anchorId:"config.isAsync",content:"Mark your step as async if anchor element is added to DOM with a delay",title:"Wait for async event",route:"ng-bootstrap/API"},{anchorId:"config.nextOnAnchorClick",content:"Click on the config description to go to the next step",title:"Next on Anchor Click",route:"ng-bootstrap/API",nextOnAnchorClick:!0},{anchorId:"events",content:"You can subscribe to events",title:"Events",route:"ng-bootstrap/API"},{anchorId:"hotkeys",content:"Try using the hotkeys to navigate through the tour.",title:"Hotkeys",route:"ng-bootstrap/Misc"}],this.bootstrapScssImport='@import "bootstrap/scss/bootstrap";',this.defaultTemplate='\r\n \r\n \r\n @if (!step?.useLegacyTitle && step?.title) {\r\n
\r\n
{{ step?.title }}
\r\n \r\n
\r\n }\r\n

\r\n \r\n \r\n \r\n \r\n \r\n {{ step?.prevBtnTitle }}\r\n \r\n @if (step.showProgress) {\r\n
{{ tourService.steps?.indexOf(step) + 1 }} / {{ tourService.steps?.length }}
\r\n }\r\n @if (tourService.hasNext(step) && !step.nextOnAnchorClick) {\r\n \r\n {{ step?.nextBtnTitle }}\r\n \r\n \r\n \r\n \r\n }\r\n @if (!tourService.hasNext(step)) {\r\n \r\n {{ step?.endBtnTitle }}\r\n \r\n }\r\n \r\n \r\n
\r\n
\r\n',this.tourService=(0,t.f3M)(i.QL),this.delayAfterNavigation=(0,t.f3M)(h.h1)}ngOnInit(){this.tourService.initialize(this.tourSteps,{route:"ng-bootstrap",delayAfterNavigation:this.delayAfterNavigation})}static#t=this.\u0275fac=function(s){return new(s||n)};static#o=this.\u0275cmp=t.Xpm({type:n,selectors:[["app-ng-bootstrap"]],standalone:!0,features:[t._Bn([(0,v.E)(i.Q4)]),t.jDz],decls:7,vars:0,consts:[["header","NG Bootstrap","package","ngx-ui-tour-ng-bootstrap"],["pageTab",""],["tuiLink","","target","_blank","tourAnchor","angular-ui-tour","href","http://benmarch.github.io/angular-ui-tour"],["tuiLink","","href","https://ng-bootstrap.github.io","target","_blank"],["tuiButton","","type","button","tourAnchor","start.tour",3,"click"],["tourAnchor","installation","id","installation"],[1,"tui-space_top-3"],["filename","styles.scss",3,"code"],["tuiLink","","href","https://ng-bootstrap.github.io/#/getting-started#installation","target","_blank"],["moduleName","TourNgBootstrapModule"],[3,"isUseLegacyTitleVisible"],["value","auto","extraInfo","Accepts NgbPopover placement options.",3,"values"],["disablePageScrollingIntroducedIn","12.1","backdropOffsetIntroducedIn","13"],[3,"defaultTemplate"]],template:function(s,g){1&s&&(t.TgZ(0,"tui-doc-page",0),t.YNc(1,M,17,0,"ng-template",1)(2,P,34,1,"ng-template",1)(3,L,4,3,"ng-template",1)(4,O,1,0,"ng-template",1)(5,_,4,1,"ng-template",1),t.qZA(),t._UZ(6,"tour-step-template"))},dependencies:[r.Lq,r.qo,r.nj,c.j,c.V,i.yk,b.Q,f.R,l.fN,l.v0,u.H,u.L,r.JF,r.c0,T.G,y.e,A.t,Z.s,I.A,x.H,U.v,S.Q,B.w,N.e,C.J],styles:[".popover.custom-tour-class{--bs-popover-arrow-border: #333;--bs-popover-bg: #333;--bs-popover-border-color: #333;--bs-popover-body-color: #eee} .popover.custom-tour-class .progress{color:#6c757d!important} .popover.custom-tour-class .btn-close{filter:invert(1) grayscale(100%) brightness(200%)}app-header[_ngcontent-%COMP%]{margin-top:0}"]})}return n})())}}]); \ No newline at end of file diff --git a/index.html b/index.html index 253c74d3..92ad6e56 100644 --- a/index.html +++ b/index.html @@ -68,5 +68,5 @@
Loading...
- + diff --git a/runtime.0e71ad099c426529.js b/runtime.3259af0502457aff.js similarity index 91% rename from runtime.0e71ad099c426529.js rename to runtime.3259af0502457aff.js index 05edf35a..f7297101 100644 --- a/runtime.0e71ad099c426529.js +++ b/runtime.3259af0502457aff.js @@ -1 +1 @@ -(()=>{"use strict";var e,v={},g={};function r(e){var n=g[e];if(void 0!==n)return n.exports;var t=g[e]={exports:{}};return v[e](t,t.exports,r),t.exports}r.m=v,e=[],r.O=(n,t,i,u)=>{if(!t){var a=1/0;for(f=0;f=u)&&Object.keys(r.O).every(p=>r.O[p](t[o]))?t.splice(o--,1):(l=!1,u0&&e[f-1][2]>u;f--)e[f]=e[f-1];e[f]=[t,i,u]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>e+"."+{195:"584493942c743bbd",235:"efd56f96a90dccbe",243:"0e507608129d4cd8",250:"e43db2008f38d99a",266:"8e9b78b9f94a12ca",373:"4328eb343d4546d1",387:"cbe3177246092cb3",498:"2ffe8ec9293b04b6",545:"658cafcac9908165",568:"7c1226d99888ab41",594:"030cbce41721d47a",629:"9aed22d553b58de2",668:"2532a96f6649aa46",678:"ccff1251b7d177e3",746:"78c3d982df89d0c7"}[e]+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="ngx-ui-tour:";r.l=(t,i,u,f)=>{if(e[t])e[t].push(i);else{var a,l;if(void 0!==u)for(var o=document.getElementsByTagName("script"),c=0;c{a.onerror=a.onload=null,clearTimeout(b);var _=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),_&&_.forEach(h=>h(p)),m)return m(p)},b=setTimeout(s.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=s.bind(null,a.onerror),a.onload=s.bind(null,a.onload),l&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={666:0};r.f.j=(i,u)=>{var f=r.o(e,i)?e[i]:void 0;if(0!==f)if(f)u.push(f[2]);else if(666!=i){var a=new Promise((d,s)=>f=e[i]=[d,s]);u.push(f[2]=a);var l=r.p+r.u(i),o=new Error;r.l(l,d=>{if(r.o(e,i)&&(0!==(f=e[i])&&(e[i]=void 0),f)){var s=d&&("load"===d.type?"missing":d.type),b=d&&d.target&&d.target.src;o.message="Loading chunk "+i+" failed.\n("+s+": "+b+")",o.name="ChunkLoadError",o.type=s,o.request=b,f[1](o)}},"chunk-"+i,i)}else e[i]=0},r.O.j=i=>0===e[i];var n=(i,u)=>{var o,c,[f,a,l]=u,d=0;if(f.some(b=>0!==e[b])){for(o in a)r.o(a,o)&&(r.m[o]=a[o]);if(l)var s=l(r)}for(i&&i(u);d{"use strict";var e,v={},g={};function r(e){var n=g[e];if(void 0!==n)return n.exports;var t=g[e]={exports:{}};return v[e](t,t.exports,r),t.exports}r.m=v,e=[],r.O=(n,t,i,u)=>{if(!t){var a=1/0;for(f=0;f=u)&&Object.keys(r.O).every(p=>r.O[p](t[o]))?t.splice(o--,1):(l=!1,u0&&e[f-1][2]>u;f--)e[f]=e[f-1];e[f]=[t,i,u]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>e+"."+{195:"584493942c743bbd",235:"ec7a1fb5ee24b758",243:"513e6875eacc8929",250:"e43db2008f38d99a",266:"8e9b78b9f94a12ca",373:"4328eb343d4546d1",387:"cbe3177246092cb3",498:"7907bccf6726607b",545:"d4e3cc7570d5245b",568:"e86ef601d19ca7ba",594:"030cbce41721d47a",629:"f2f1afcfe3e836e7",668:"2532a96f6649aa46",678:"455b40607d43bc33",746:"78c3d982df89d0c7"}[e]+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="ngx-ui-tour:";r.l=(t,i,u,f)=>{if(e[t])e[t].push(i);else{var a,l;if(void 0!==u)for(var o=document.getElementsByTagName("script"),c=0;c{a.onerror=a.onload=null,clearTimeout(b);var _=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),_&&_.forEach(h=>h(p)),m)return m(p)},b=setTimeout(s.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=s.bind(null,a.onerror),a.onload=s.bind(null,a.onload),l&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={666:0};r.f.j=(i,u)=>{var f=r.o(e,i)?e[i]:void 0;if(0!==f)if(f)u.push(f[2]);else if(666!=i){var a=new Promise((d,s)=>f=e[i]=[d,s]);u.push(f[2]=a);var l=r.p+r.u(i),o=new Error;r.l(l,d=>{if(r.o(e,i)&&(0!==(f=e[i])&&(e[i]=void 0),f)){var s=d&&("load"===d.type?"missing":d.type),b=d&&d.target&&d.target.src;o.message="Loading chunk "+i+" failed.\n("+s+": "+b+")",o.name="ChunkLoadError",o.type=s,o.request=b,f[1](o)}},"chunk-"+i,i)}else e[i]=0},r.O.j=i=>0===e[i];var n=(i,u)=>{var o,c,[f,a,l]=u,d=0;if(f.some(b=>0!==e[b])){for(o in a)r.o(a,o)&&(r.m[o]=a[o]);if(l)var s=l(r)}for(i&&i(u);d