| Server IP : 216.238.66.20 / Your IP : 216.73.216.51 Web Server : nginx/1.30.4 System : Linux woropds 5.15.0-187-generic #197-Ubuntu SMP Fri Jul 17 19:17:01 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/gamliel.mx/htdocs/js/ |
Upload File : |
(self.webpackChunknx_getting_started_rc_ui=self.webpackChunknx_getting_started_rc_ui||[]).push([[290],{4290:function(t,e,i){"use strict";i.r(e),i.d(e,{HomeModule:function(){return Ne}});var n=i(2340),s=i(8583),o=i(4655),r=i(5650),a=i(7716);let l=(()=>{class t{constructor(t){this.loadingService=t}toggleLoader(){this.loadingService.showLoading(!0),setTimeout(()=>this.loadingService.showLoading(!1),3e3)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(r.bz))},t.\u0275cmp=a.Xpm({type:t,selectors:[["app-loading"]],decls:8,vars:0,consts:[[1,"headerContainer"],[1,"title-form","title"],[2,"margin-bottom","15px"],["href","https://nx-getting-started-ui-neui.brmdocp.banregio.com/#/loading","target","_blank"]],template:function(t,e){1&t&&(a.TgZ(0,"div",0),a.TgZ(1,"h1",1),a._uU(2,"Pantalla de Carga"),a.qZA(),a.qZA(),a._UZ(3,"hr"),a.TgZ(4,"span",2),a._uU(5,"Visualice los ejemplos en el siguiente enlace: "),a.qZA(),a.TgZ(6,"a",3),a._uU(7,"Next Componets"),a.qZA())},styles:[""]}),t})(),c=(()=>{class t{constructor(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=a.Xpm({type:t,selectors:[["app-form"]],decls:10,vars:0,consts:[[1,"headerContainer"],[1,"title-form","title"],[2,"margin-bottom","15px"],["href","https://nx-getting-started-ui-neui.brmdocp.banregio.com/#/form-field","target","_blank"]],template:function(t,e){1&t&&(a.TgZ(0,"div",0),a.TgZ(1,"h1",1),a._uU(2,"Formulario"),a.qZA(),a.TgZ(3,"h4",1),a._uU(4,"Componentes Material y Jolly Roger"),a.qZA(),a.qZA(),a._UZ(5,"hr"),a.TgZ(6,"span",2),a._uU(7,"Visualice los ejemplos en el siguiente enlace: "),a.qZA(),a.TgZ(8,"a",3),a._uU(9,"Next Componets"),a.qZA())},styles:[""]}),t})();var h=i(3446);let d=(()=>{class t{constructor(t){this.alertService=t}success(t){this.alertService.success(t)}error(t){this.alertService.error(t)}info(t){this.alertService.info(t)}warn(t){this.alertService.warn(t)}clear(){this.alertService.clear()}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(h.c9))},t.\u0275cmp=a.Xpm({type:t,selectors:[["app-alerts"]],decls:8,vars:0,consts:[[1,"headerContainer"],[1,"title-form","title"],[2,"margin-bottom","15px"],["href","https://nx-getting-started-ui-neui.brmdocp.banregio.com/#/alerts","target","_blank"]],template:function(t,e){1&t&&(a.TgZ(0,"div",0),a.TgZ(1,"h1",1),a._uU(2,"Alertas"),a.qZA(),a.qZA(),a._UZ(3,"hr"),a.TgZ(4,"span",2),a._uU(5,"Visualice los ejemplos en el siguiente enlace: "),a.qZA(),a.TgZ(6,"a",3),a._uU(7,"Next Componets"),a.qZA())},styles:[""]}),t})(),p=(()=>{class t{constructor(){this.lineChartSettings={type:"line",data:{labels:["Uno","Dos","Tres"],datasets:[{label:"Dataset 1",data:[123,23,213],borderColor:"#27CD6E",fill:!1},{label:"Dataset 2",data:[223,30,21],borderColor:"#d8d8d8",fill:!1}]},options:{plugins:{legend:{position:"top"},title:{display:!0,text:"Ejemplo de Gr\xe1fica Linear"}}}},this.doughnutSettings={type:"doughnut",data:{labels:["Uno","Dos","Tres"],datasets:[{label:"Dataset 1",data:[10,20,30],backgroundColor:["#ff6384","#36a2eb","#ffcd56"]}]},options:{responsive:!0,plugins:{legend:{position:"top"},title:{display:!0,text:"Ejemplo de Gr\xe1fica de Dona"}}}}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=a.Xpm({type:t,selectors:[["app-charts"]],decls:8,vars:0,consts:[[1,"headerContainer"],[1,"title-form","title"],[2,"margin-bottom","15px"],["href","https://nx-getting-started-ui-neui.brmdocp.banregio.com/#/charts","target","_blank"]],template:function(t,e){1&t&&(a.TgZ(0,"div",0),a.TgZ(1,"h1",1),a._uU(2,"Gr\xe1ficas"),a.qZA(),a.qZA(),a._UZ(3,"hr"),a.TgZ(4,"span",2),a._uU(5,"Visualice los ejemplos en el siguiente enlace: "),a.qZA(),a.TgZ(6,"a",3),a._uU(7,"Next Componets"),a.qZA())},styles:[""]}),t})(),g=(()=>{class t{constructor(t,e){this.alertService=t,this.confirmationService=e}confirmar(){this.confirmationService.confirm({message:"\xbfEst\xe1 seguro de querer realizar esta acci\xf3n?",lblOkBtn:"Si",lblCancelBtn:"No",accept:()=>this.alertService.success("Confirmaci\xf3n \xe9xitosa"),reject:()=>this.alertService.warn("Confirmaci\xf3n cancelada"),header:"Alerta"})}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(h.c9),a.Y36(h.YP))},t.\u0275cmp=a.Xpm({type:t,selectors:[["app-confirmation"]],decls:0,vars:0,template:function(t,e){},styles:[""]}),t})(),u=(()=>{class t{constructor(){this.columns=[{key:"inProgress",title:"En Progreso",data:[]},{key:"validation",title:"Validaci\xf3n",data:[]},{key:"analisis",title:"An\xe1lsis",data:[]}],this.desc="SLA: 2 de 10 d\xedas",this.credits=[{hello:"hello",idModo:"lorem",badge:5,id:"1",type:"inProgress",title:"Comercializadora",description:this.desc,note:"100 mil",warning:!1,progress:70},{hello:"hello",idModo:"lorem",badge:3,id:"2",type:"inProgress",title:"Comercializadora",description:this.desc,note:"100 mil",warning:!1,progress:70},{hello:"hello",idModo:"lorem",badge:0,id:"3",type:"inProgress",title:"Comercializadora Comercializadora Comercializadora",description:this.desc,note:"100 mil",warning:!1,progress:70},{hello:"hello",idModo:"lorem",badge:99,id:"4",type:"inProgress",title:"Comercializadora",description:this.desc,note:"100 mil",warning:!1,progress:70},{hello:"hello",idModo:"lorem",badge:0,id:"5",type:"inProgress",title:"Comercializadora",description:this.desc,note:"100 mil",warning:!1,progress:70},{hello:"hello",idModo:"lorem",badge:0,id:"7",type:"inProgress",title:"Comercializadora",description:this.desc,note:"100 mil",warning:!1,progress:70},{hello:"hello",idModo:"lorem",badge:99,id:"8",type:"inProgress",title:"Comercializadora",description:this.desc,note:"100 mil",warning:!1,progress:70},{hello:"hello",idModo:"lorem",badge:0,id:"9",type:"validation",title:"Comercializadora",description:this.desc,note:"100 mil",warning:!0,progress:80},{hello:"hello",idModo:"lorem",badge:0,id:"10",type:"inProgress",title:"Comercializadora",description:this.desc,note:"100 mil",warning:!1,progress:10},{hello:"hello",idModo:"lorem",badge:3,id:"11",type:"validation",title:"Comercializadora",description:this.desc,note:"100 mil",warning:!1,progress:20}],this.launcherLabel="Nueva Solicitud",this.route="./mi-ruta"}launchEvent(t){console.log(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=a.Xpm({type:t,selectors:[["app-kanban"]],decls:7,vars:0,consts:[[1,"headerContainer"],[1,"title-form","title"]],template:function(t,e){1&t&&(a.TgZ(0,"div",0),a.TgZ(1,"h1",1),a._uU(2,"Kanban"),a.qZA(),a.qZA(),a._UZ(3,"hr"),a.TgZ(4,"div"),a.TgZ(5,"em"),a._uU(6," Pr\xf3ximamente disponible "),a.qZA(),a.qZA())},styles:[""]}),t})(),_=(()=>{class t{constructor(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=a.Xpm({type:t,selectors:[["app-dashboard"]],decls:4,vars:0,consts:[[1,"headerContainer"],[1,"title-form","title"]],template:function(t,e){1&t&&(a.TgZ(0,"div",0),a.TgZ(1,"h1",1),a._uU(2,"Dashboard"),a.qZA(),a.qZA(),a._UZ(3,"hr"))},styles:[""]}),t})();const m=[{path:"",component:(()=>{class t{constructor(t,e){this.authService=t,this.router=e,this.options=[{description:"Dashboard",route:"/"},{description:"Componentes",items:[{description:"Alertas",route:"/alerts"},{description:"Confirmaci\xf3n",route:"/confirmation"},{description:"Gr\xe1ficas",route:"/charts"},{description:"Pantalla de Carga",route:"/loading"},{description:"Kanban",route:"/kanban"},{description:"Formulario",route:"/form"}]}],this.title={}}ngOnInit(){this.title={label:"Base Template",value:"Angular 12"}}logout(){this.authService.logOut().subscribe(()=>{localStorage.clear(),sessionStorage.clear(),this.router.navigateByUrl("/login")})}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(r.e8),a.Y36(o.F0))},t.\u0275cmp=a.Xpm({type:t,selectors:[["app-main"]],decls:8,vars:3,consts:[[1,"oss-router-outlet"],[3,"logoutEvent"],[3,"collection","title","progress"]],template:function(t,e){1&t&&(a._UZ(0,"nx-finder"),a._UZ(1,"nx-alert"),a._UZ(2,"nx-confirm-dialog"),a._UZ(3,"nx-loading"),a.TgZ(4,"div",0),a.TgZ(5,"nx-profile",1),a.NdJ("logoutEvent",function(){return e.logout()}),a.qZA(),a.TgZ(6,"nx-sub-menu-content",2),a._UZ(7,"router-outlet"),a.qZA(),a.qZA()),2&t&&(a.xp6(6),a.Q6J("collection",e.options)("title",e.title)("progress",0))},directives:[h.Ue,h.wx,h.$5,r.NF,r.dk,h.ll,o.lC],styles:[""]}),t})(),children:[{path:"",component:_},{path:"alerts",component:d},{path:"charts",component:p},{path:"confirmation",component:g},{path:"loading",component:l},{path:"form",component:c},{path:"kanban",component:u}],canActivate:[r.a1]}];let f=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[o.Bz.forChild(m)],o.Bz]}),t})();var v=i(3679),b=i(9238);let y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({}),t})();var w=i(6994),S=i(521),x=i(9490),D=i(9765),C=i(5319),P=i(7574),E=i(3637),T=i(6561);function R(t){const{subscriber:e,counter:i,period:n}=t;e.next(i),this.schedule({subscriber:e,counter:i+1,period:n},n)}var A=i(1927),k=i(6682),I=i(6782),L=i(9761),B=(i(8002),i(5257)),O=(i(3342),i(3190),i(946));function Z(t,e,i){for(let n in e)if(e.hasOwnProperty(n)){const s=e[n];s?t.setProperty(n,s,(null==i?void 0:i.has(n))?"important":""):t.removeProperty(n)}return t}function z(t,e){const i=e?"":"none";Z(t.style,{"touch-action":e?"":"none","-webkit-user-drag":e?"":"none","-webkit-tap-highlight-color":e?"":"transparent","user-select":i,"-ms-user-select":i,"-webkit-user-select":i,"-moz-user-select":i})}function Q(t,e,i){Z(t.style,{position:e?"":"fixed",top:e?"":"0",opacity:e?"":"0",left:e?"":"-999em"},i)}function F(t,e){return e&&"none"!=e?t+" "+e:t}function U(t){const e=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*e}function V(t,e){return t.getPropertyValue(e).split(",").map(t=>t.trim())}function M(t){const e=t.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}}function j(t,e,i){const{top:n,bottom:s,left:o,right:r}=t;return i>=n&&i<=s&&e>=o&&e<=r}function N(t,e,i){t.top+=e,t.bottom=t.top+t.height,t.left+=i,t.right=t.left+t.width}function Y(t,e,i,n){const{top:s,right:o,bottom:r,left:a,width:l,height:c}=t,h=l*e,d=c*e;return n>s-d&&n<r+d&&i>a-h&&i<o+h}class q{constructor(t,e){this._document=t,this._viewportRuler=e,this.positions=new Map}clear(){this.positions.clear()}cache(t){this.clear(),this.positions.set(this._document,{scrollPosition:this._viewportRuler.getViewportScrollPosition()}),t.forEach(t=>{this.positions.set(t,{scrollPosition:{top:t.scrollTop,left:t.scrollLeft},clientRect:M(t)})})}handleScroll(t){const e=(0,S.sA)(t),i=this.positions.get(e);if(!i)return null;const n=e===this._document?e.documentElement:e,s=i.scrollPosition;let o,r;if(e===this._document){const t=this._viewportRuler.getViewportScrollPosition();o=t.top,r=t.left}else o=e.scrollTop,r=e.scrollLeft;const a=s.top-o,l=s.left-r;return this.positions.forEach((t,i)=>{t.clientRect&&e!==i&&n.contains(i)&&N(t.clientRect,a,l)}),s.top=o,s.left=r,{top:a,left:l}}}function G(t){const e=t.cloneNode(!0),i=e.querySelectorAll("[id]"),n=t.nodeName.toLowerCase();e.removeAttribute("id");for(let s=0;s<i.length;s++)i[s].removeAttribute("id");return"canvas"===n?W(t,e):"input"!==n&&"select"!==n&&"textarea"!==n||H(t,e),J("canvas",t,e,W),J("input, textarea, select",t,e,H),e}function J(t,e,i,n){const s=e.querySelectorAll(t);if(s.length){const e=i.querySelectorAll(t);for(let t=0;t<s.length;t++)n(s[t],e[t])}}let X=0;function H(t,e){"file"!==e.type&&(e.value=t.value),"radio"===e.type&&e.name&&(e.name=`mat-clone-${e.name}-${X++}`)}function W(t,e){const i=e.getContext("2d");if(i)try{i.drawImage(t,0,0)}catch(n){}}const $=(0,S.i$)({passive:!0}),K=(0,S.i$)({passive:!1}),tt=new Set(["position"]);class et{constructor(t,e,i,n,s,o){this._config=e,this._document=i,this._ngZone=n,this._viewportRuler=s,this._dragDropRegistry=o,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new D.xQ,this._pointerMoveSubscription=C.w.EMPTY,this._pointerUpSubscription=C.w.EMPTY,this._scrollSubscription=C.w.EMPTY,this._resizeSubscription=C.w.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new D.xQ,this.started=new D.xQ,this.released=new D.xQ,this.ended=new D.xQ,this.entered=new D.xQ,this.exited=new D.xQ,this.dropped=new D.xQ,this.moved=this._moveEvents,this._pointerDown=t=>{if(this.beforeStarted.next(),this._handles.length){const e=this._handles.find(e=>{const i=(0,S.sA)(t);return!!i&&(i===e||e.contains(i))});!e||this._disabledHandles.has(e)||this.disabled||this._initializeDragSequence(e,t)}else this.disabled||this._initializeDragSequence(this._rootElement,t)},this._pointerMove=t=>{const e=this._getPointerPositionOnPage(t);if(!this._hasStartedDragging){if(Math.abs(e.x-this._pickupPositionOnPage.x)+Math.abs(e.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const e=Date.now()>=this._dragStartTime+this._getDragStartDelay(t),i=this._dropContainer;if(!e)return void this._endDragSequence(t);i&&(i.isDragging()||i.isReceiving())||(t.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(t)))}return}this._boundaryElement&&(this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect())),t.preventDefault();const i=this._getConstrainedPointerPosition(e);if(this._hasMoved=!0,this._lastKnownPointerPosition=e,this._updatePointerDirectionDelta(i),this._dropContainer)this._updateActiveDropContainer(i,e);else{const t=this._activeTransform;t.x=i.x-this._pickupPositionOnPage.x+this._passiveTransform.x,t.y=i.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(t.x,t.y),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&this._rootElement.setAttribute("transform",`translate(${t.x} ${t.y})`)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:i,event:t,distance:this._getDragDistance(i),delta:this._pointerDirectionDelta})})},this._pointerUp=t=>{this._endDragSequence(t)},this.withRootElement(t).withParent(e.parentDragRef||null),this._parentPositions=new q(i,s),o.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(t){const e=(0,x.Ig)(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>z(t,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){this._handles=t.map(t=>(0,x.fI)(t)),this._handles.forEach(t=>z(t,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(t=>{this._handles.indexOf(t)>-1&&e.add(t)}),this._disabledHandles=e,this}withPreviewTemplate(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=(0,x.fI)(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,K),e.addEventListener("touchstart",this._pointerDown,$)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(t){return this._boundaryElement=t?(0,x.fI)(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(t){return this._parentDragRef=t,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&st(this._rootElement),st(this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),z(t,!0))}enableHandle(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),z(t,this.disabled))}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){const t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}withPreviewContainer(t){return this._previewContainer=t,this}_sortFromLastPointerPosition(){const t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview&&st(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder&&st(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(t);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(t){ot(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,i=t.parentNode,n=this._placeholder=this._createPlaceholderElement(),s=this._anchor=this._anchor||this._document.createComment(""),o=this._getShadowRoot();i.insertBefore(s,t),this._initialTransform=t.style.transform||"",this._preview=this._createPreviewElement(),Q(t,!1,tt),this._document.body.appendChild(i.replaceChild(n,t)),this._getPreviewInsertionPoint(i,o).appendChild(this._preview),this.started.next({source:this}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(t,e){this._parentDragRef&&e.stopPropagation();const i=this.isDragging(),n=ot(e),s=!n&&0!==e.button,o=this._rootElement,r=(0,S.sA)(e),a=!n&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),l=n?(0,b.yG)(e):(0,b.X6)(e);if(r&&r.draggable&&"mousedown"===e.type&&e.preventDefault(),i||s||a||l)return;this._handles.length&&(this._rootElementTapHighlight=o.style.webkitTapHighlightColor||"",o.style.webkitTapHighlightColor="transparent"),this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(t=>this._updateOnScroll(t)),this._boundaryElement&&(this._boundaryRect=M(this._boundaryElement));const c=this._previewTemplate;this._pickupPositionInElement=c&&c.template&&!c.matchSize?{x:0,y:0}:this._getPointerPositionInElement(t,e);const h=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:h.x,y:h.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){Q(this._rootElement,!0,tt),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,i=e.getItemIndex(this),n=this._getPointerPositionOnPage(t),s=this._getDragDistance(n),o=e._isOverContainer(n.x,n.y);this.ended.next({source:this,distance:s,dropPoint:n}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:o,distance:s,dropPoint:n}),e.drop(this,i,this._initialIndex,this._initialContainer,o,s,n),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e},{x:i,y:n}){let s=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!s&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(s=this._initialContainer),s&&s!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=s,this._dropContainer.enter(this,t,e,s===this._initialContainer&&s.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:s,currentIndex:s.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,n),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this._applyPreviewTransform(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const t=this._previewTemplate,e=this.previewClass,i=t?t.template:null;let n;if(i&&t){const e=t.matchSize?this._rootElement.getBoundingClientRect():null,s=t.viewContainer.createEmbeddedView(i,t.context);s.detectChanges(),n=rt(s,this._document),this._previewRef=s,t.matchSize?at(n,e):n.style.transform=it(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const t=this._rootElement;n=G(t),at(n,t.getBoundingClientRect()),this._initialTransform&&(n.style.transform=this._initialTransform)}return Z(n.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},tt),z(n,!1),n.classList.add("cdk-drag-preview"),n.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(t=>n.classList.add(t)):n.classList.add(e)),n}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(t.left,t.top);const e=function(t){const e=getComputedStyle(t),i=V(e,"transition-property"),n=i.find(t=>"transform"===t||"all"===t);if(!n)return 0;const s=i.indexOf(n),o=V(e,"transition-duration"),r=V(e,"transition-delay");return U(o[s])+U(r[s])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const i=e=>{var s;(!e||(0,S.sA)(e)===this._preview&&"transform"===e.propertyName)&&(null===(s=this._preview)||void 0===s||s.removeEventListener("transitionend",i),t(),clearTimeout(n))},n=setTimeout(i,1.5*e);this._preview.addEventListener("transitionend",i)}))}_createPlaceholderElement(){const t=this._placeholderTemplate,e=t?t.template:null;let i;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),this._placeholderRef.detectChanges(),i=rt(this._placeholderRef,this._document)):i=G(this._rootElement),i.classList.add("cdk-drag-placeholder"),i}_getPointerPositionInElement(t,e){const i=this._rootElement.getBoundingClientRect(),n=t===this._rootElement?null:t,s=n?n.getBoundingClientRect():i,o=ot(e)?e.targetTouches[0]:e,r=this._getViewportScrollPosition();return{x:s.left-i.left+(o.pageX-s.left-r.left),y:s.top-i.top+(o.pageY-s.top-r.top)}}_getPointerPositionOnPage(t){const e=this._getViewportScrollPosition(),i=ot(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,n=i.pageX-e.left,s=i.pageY-e.top;if(this._ownerSVGElement){const t=this._ownerSVGElement.getScreenCTM();if(t){const e=this._ownerSVGElement.createSVGPoint();return e.x=n,e.y=s,e.matrixTransform(t.inverse())}}return{x:n,y:s}}_getConstrainedPointerPosition(t){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:i,y:n}=this.constrainPosition?this.constrainPosition(t,this):t;if("x"===this.lockAxis||"x"===e?n=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==e||(i=this._pickupPositionOnPage.x),this._boundaryRect){const{x:t,y:e}=this._pickupPositionInElement,s=this._boundaryRect,o=this._previewRect,r=s.top+e,a=s.bottom-(o.height-e);i=nt(i,s.left+t,s.right-(o.width-t)),n=nt(n,r,a)}return{x:i,y:n}}_updatePointerDirectionDelta(t){const{x:e,y:i}=t,n=this._pointerDirectionDelta,s=this._pointerPositionAtLastDirectionChange,o=Math.abs(e-s.x),r=Math.abs(i-s.y);return o>this._config.pointerDirectionChangeThreshold&&(n.x=e>s.x?1:-1,s.x=e),r>this._config.pointerDirectionChangeThreshold&&(n.y=i>s.y?1:-1,s.y=i),n}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,z(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,K),t.removeEventListener("touchstart",this._pointerDown,$)}_applyRootElementTransform(t,e){const i=it(t,e);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform&&"none"!=this._rootElement.style.transform?this._rootElement.style.transform:""),this._rootElement.style.transform=F(i,this._initialTransform)}_applyPreviewTransform(t,e){var i;const n=(null===(i=this._previewTemplate)||void 0===i?void 0:i.template)?void 0:this._initialTransform,s=it(t,e);this._preview.style.transform=F(s,n)}_getDragDistance(t){const e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:t,y:e}=this._passiveTransform;if(0===t&&0===e||this.isDragging()||!this._boundaryElement)return;const i=this._boundaryElement.getBoundingClientRect(),n=this._rootElement.getBoundingClientRect();if(0===i.width&&0===i.height||0===n.width&&0===n.height)return;const s=i.left-n.left,o=n.right-i.right,r=i.top-n.top,a=n.bottom-i.bottom;i.width>n.width?(s>0&&(t+=s),o>0&&(t-=o)):t=0,i.height>n.height?(r>0&&(e+=r),a>0&&(e-=a)):e=0,t===this._passiveTransform.x&&e===this._passiveTransform.y||this.setFreeDragPosition({y:e,x:t})}_getDragStartDelay(t){const e=this.dragStartDelay;return"number"==typeof e?e:ot(t)?e.touch:e?e.mouse:0}_updateOnScroll(t){const e=this._parentPositions.handleScroll(t);if(e){const i=(0,S.sA)(t);this._boundaryRect&&(i===this._document||i!==this._boundaryElement&&i.contains(this._boundaryElement))&&N(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const t=this._parentPositions.positions.get(this._document);return t?t.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,S.kV)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(t,e){const i=this._previewContainer||"global";if("parent"===i)return t;if("global"===i){const t=this._document;return e||t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement||t.body}return(0,x.fI)(i)}}function it(t,e){return`translate3d(${Math.round(t)}px, ${Math.round(e)}px, 0)`}function nt(t,e,i){return Math.max(e,Math.min(i,t))}function st(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function ot(t){return"t"===t.type[0]}function rt(t,e){const i=t.rootNodes;if(1===i.length&&i[0].nodeType===e.ELEMENT_NODE)return i[0];const n=e.createElement("div");return i.forEach(t=>n.appendChild(t)),n}function at(t,e){t.style.width=`${e.width}px`,t.style.height=`${e.height}px`,t.style.transform=it(e.left,e.top)}function lt(t,e){return Math.max(0,Math.min(e,t))}class ct{constructor(t,e,i,n,s){this._dragDropRegistry=e,this._ngZone=n,this._viewportRuler=s,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new D.xQ,this.entered=new D.xQ,this.exited=new D.xQ,this.dropped=new D.xQ,this.sorted=new D.xQ,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=C.w.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new D.xQ,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function(t=0,e=E.P){return(!(0,T.k)(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=E.P),new P.y(i=>(i.add(e.schedule(R,t,{subscriber:i,counter:0,period:t})),i))}(0,A.Z).pipe((0,I.R)(this._stopScrollTimers)).subscribe(()=>{const t=this._scrollNode,e=this.autoScrollStep;1===this._verticalScrollDirection?dt(t,-e):2===this._verticalScrollDirection&&dt(t,e),1===this._horizontalScrollDirection?pt(t,-e):2===this._horizontalScrollDirection&&pt(t,e)})},this.element=(0,x.fI)(t),this._document=i,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new q(i,s)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(t,e,i,n){let s;this._draggingStarted(),null==n?(s=this.sortingDisabled?this._draggables.indexOf(t):-1,-1===s&&(s=this._getItemIndexFromPointerPosition(t,e,i))):s=n;const o=this._activeDraggables,r=o.indexOf(t),a=t.getPlaceholderElement();let l=o[s];if(l===t&&(l=o[s+1]),r>-1&&o.splice(r,1),l&&!this._dragDropRegistry.isDragging(l)){const e=l.getRootElement();e.parentElement.insertBefore(a,e),o.splice(s,0,t)}else if(this._shouldEnterAsFirstChild(e,i)){const e=o[0].getRootElement();e.parentNode.insertBefore(a,e),o.unshift(t)}else(0,x.fI)(this.element).appendChild(a),o.push(t);a.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,e,i,n,s,o,r){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:i,container:this,previousContainer:n,isPointerOverContainer:s,distance:o,dropPoint:r})}withItems(t){const e=this._draggables;return this._draggables=t,t.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(t=>t.isDragging()).every(e=>-1===t.indexOf(e))?this._reset():this._cacheItems()),this}withDirection(t){return this._direction=t,this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){return this._orientation=t,this}withScrollableParents(t){const e=(0,x.fI)(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e,...t]:t.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?ht("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,e=>e.drag===t):this._draggables.indexOf(t)}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,e,i,n){if(this.sortingDisabled||!this._clientRect||!Y(this._clientRect,.05,e,i))return;const s=this._itemPositions,o=this._getItemIndexFromPointerPosition(t,e,i,n);if(-1===o&&s.length>0)return;const r="horizontal"===this._orientation,a=ht(s,e=>e.drag===t),l=s[o],c=l.clientRect,h=a>o?1:-1,d=this._getItemOffsetPx(s[a].clientRect,c,h),p=this._getSiblingOffsetPx(a,s,h),g=s.slice();!function(t,e,i){const n=lt(e,t.length-1),s=lt(i,t.length-1);if(n===s)return;const o=t[n],r=s<n?-1:1;for(let a=n;a!==s;a+=r)t[a]=t[a+r];t[s]=o}(s,a,o),this.sorted.next({previousIndex:a,currentIndex:o,container:this,item:t}),s.forEach((e,i)=>{if(g[i]===e)return;const n=e.drag===t,s=n?d:p,o=n?t.getPlaceholderElement():e.drag.getRootElement();e.offset+=s,r?(o.style.transform=F(`translate3d(${Math.round(e.offset)}px, 0, 0)`,e.initialTransform),N(e.clientRect,0,s)):(o.style.transform=F(`translate3d(0, ${Math.round(e.offset)}px, 0)`,e.initialTransform),N(e.clientRect,s,0))}),this._previousSwap.overlaps=j(c,e,i),this._previousSwap.drag=l.drag,this._previousSwap.delta=r?n.x:n.y}_startScrollingIfNecessary(t,e){if(this.autoScrollDisabled)return;let i,n=0,s=0;if(this._parentPositions.positions.forEach((o,r)=>{r!==this._document&&o.clientRect&&!i&&Y(o.clientRect,.05,t,e)&&([n,s]=function(t,e,i,n){const s=gt(e,n),o=ut(e,i);let r=0,a=0;if(s){const e=t.scrollTop;1===s?e>0&&(r=1):t.scrollHeight-e>t.clientHeight&&(r=2)}if(o){const e=t.scrollLeft;1===o?e>0&&(a=1):t.scrollWidth-e>t.clientWidth&&(a=2)}return[r,a]}(r,o.clientRect,t,e),(n||s)&&(i=r))}),!n&&!s){const{width:o,height:r}=this._viewportRuler.getViewportSize(),a={width:o,height:r,top:0,right:o,bottom:r,left:0};n=gt(a,e),s=ut(a,t),i=window}!i||n===this._verticalScrollDirection&&s===this._horizontalScrollDirection&&i===this._scrollNode||(this._verticalScrollDirection=n,this._horizontalScrollDirection=s,this._scrollNode=i,(n||s)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const t=(0,x.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const t=(0,x.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}_cacheItemPositions(){const t="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(t=>{const e=t.getVisibleElement();return{drag:t,offset:0,initialTransform:e.style.transform||"",clientRect:M(e)}}).sort((e,i)=>t?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top)}_reset(){this._isDragging=!1;const t=(0,x.fI)(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(t=>{var e;const i=t.getRootElement();if(i){const n=null===(e=this._itemPositions.find(e=>e.drag===t))||void 0===e?void 0:e.initialTransform;i.style.transform=n||""}}),this._siblings.forEach(t=>t._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(t,e,i){const n="horizontal"===this._orientation,s=e[t].clientRect,o=e[t+-1*i];let r=s[n?"width":"height"]*i;if(o){const t=n?"left":"top",e=n?"right":"bottom";-1===i?r-=o.clientRect[t]-s[e]:r+=s[t]-o.clientRect[e]}return r}_getItemOffsetPx(t,e,i){const n="horizontal"===this._orientation;let s=n?e.left-t.left:e.top-t.top;return-1===i&&(s+=n?e.width-t.width:e.height-t.height),s}_shouldEnterAsFirstChild(t,e){if(!this._activeDraggables.length)return!1;const i=this._itemPositions,n="horizontal"===this._orientation;if(i[0].drag!==this._activeDraggables[0]){const s=i[i.length-1].clientRect;return n?t>=s.right:e>=s.bottom}{const s=i[0].clientRect;return n?t<=s.left:e<=s.top}}_getItemIndexFromPointerPosition(t,e,i,n){const s="horizontal"===this._orientation,o=ht(this._itemPositions,({drag:o,clientRect:r},a,l)=>{if(o===t)return l.length<2;if(n){const t=s?n.x:n.y;if(o===this._previousSwap.drag&&this._previousSwap.overlaps&&t===this._previousSwap.delta)return!1}return s?e>=Math.floor(r.left)&&e<Math.floor(r.right):i>=Math.floor(r.top)&&i<Math.floor(r.bottom)});return-1!==o&&this.sortPredicate(o,t,this)?o:-1}_cacheItems(){this._activeDraggables=this._draggables.slice(),this._cacheItemPositions(),this._cacheParentPositions()}_isOverContainer(t,e){return null!=this._clientRect&&j(this._clientRect,t,e)}_getSiblingContainerFromPosition(t,e,i){return this._siblings.find(n=>n._canReceive(t,e,i))}_canReceive(t,e,i){if(!this._clientRect||!j(this._clientRect,e,i)||!this.enterPredicate(t,this))return!1;const n=this._getShadowRoot().elementFromPoint(e,i);if(!n)return!1;const s=(0,x.fI)(this.element);return n===s||s.contains(n)}_startReceiving(t,e){const i=this._activeSiblings;!i.has(t)&&e.every(t=>this.enterPredicate(t,this)||this._draggables.indexOf(t)>-1)&&(i.add(t),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(t=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(t);e&&(this._itemPositions.forEach(({clientRect:t})=>{N(t,e.top,e.left)}),this._itemPositions.forEach(({drag:t})=>{this._dragDropRegistry.isDragging(t)&&t._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const t=(0,S.kV)((0,x.fI)(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const t=this._activeDraggables.filter(t=>t.isDragging());this._siblings.forEach(e=>e._startReceiving(this,t))}}function ht(t,e){for(let i=0;i<t.length;i++)if(e(t[i],i,t))return i;return-1}function dt(t,e){t===window?t.scrollBy(0,e):t.scrollTop+=e}function pt(t,e){t===window?t.scrollBy(e,0):t.scrollLeft+=e}function gt(t,e){const{top:i,bottom:n,height:s}=t,o=.05*s;return e>=i-o&&e<=i+o?1:e>=n-o&&e<=n+o?2:0}function ut(t,e){const{left:i,right:n,width:s}=t,o=.05*s;return e>=i-o&&e<=i+o?1:e>=n-o&&e<=n+o?2:0}const _t=(0,S.i$)({passive:!1,capture:!0});let mt=(()=>{class t{constructor(t,e){this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=t=>t.isDragging(),this.pointerMove=new D.xQ,this.pointerUp=new D.xQ,this.scroll=new D.xQ,this._preventDefaultWhileDragging=t=>{this._activeDragInstances.length>0&&t.preventDefault()},this._persistentTouchmoveListener=t=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&t.preventDefault(),this.pointerMove.next(t))},this._document=e}registerDropContainer(t){this._dropInstances.has(t)||this._dropInstances.add(t)}registerDragItem(t){this._dragInstances.add(t),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,_t)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,_t)}startDragging(t,e){if(!(this._activeDragInstances.indexOf(t)>-1)&&(this._activeDragInstances.push(t),1===this._activeDragInstances.length)){const t=e.type.startsWith("touch");this._globalListeners.set(t?"touchend":"mouseup",{handler:t=>this.pointerUp.next(t),options:!0}).set("scroll",{handler:t=>this.scroll.next(t),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:_t}),t||this._globalListeners.set("mousemove",{handler:t=>this.pointerMove.next(t),options:_t}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((t,e)=>{this._document.addEventListener(e,t.handler,t.options)})})}}stopDragging(t){const e=this._activeDragInstances.indexOf(t);e>-1&&(this._activeDragInstances.splice(e,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(t){return this._activeDragInstances.indexOf(t)>-1}scrolled(t){const e=[this.scroll];return t&&t!==this._document&&e.push(new P.y(e=>this._ngZone.runOutsideAngular(()=>{const i=t=>{this._activeDragInstances.length&&e.next(t)};return t.addEventListener("scroll",i,!0),()=>{t.removeEventListener("scroll",i,!0)}}))),(0,k.T)(...e)}ngOnDestroy(){this._dragInstances.forEach(t=>this.removeDragItem(t)),this._dropInstances.forEach(t=>this.removeDropContainer(t)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((t,e)=>{this._document.removeEventListener(e,t.handler,t.options)}),this._globalListeners.clear()}}return t.\u0275fac=function(e){return new(e||t)(a.LFG(a.R0b),a.LFG(s.K0))},t.\u0275prov=a.Yz7({factory:function(){return new t(a.LFG(a.R0b),a.LFG(s.K0))},token:t,providedIn:"root"}),t})();const ft={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let vt=(()=>{class t{constructor(t,e,i,n){this._document=t,this._ngZone=e,this._viewportRuler=i,this._dragDropRegistry=n}createDrag(t,e=ft){return new et(t,e,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(t){return new ct(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return t.\u0275fac=function(e){return new(e||t)(a.LFG(s.K0),a.LFG(a.R0b),a.LFG(w.rL),a.LFG(mt))},t.\u0275prov=a.Yz7({factory:function(){return new t(a.LFG(s.K0),a.LFG(a.R0b),a.LFG(w.rL),a.LFG(mt))},token:t,providedIn:"root"}),t})(),bt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({providers:[vt],imports:[w.ZD]}),t})();var yt=i(7636),wt=i(6461),St=i(5917);let xt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[O.vT]]}),t})();var Dt=i(552);i(8345),i(6215),i(5639);let Ct=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({}),t})();var Pt=i(2458),Et=i(1439),Tt=(i(2759),i(625)),Rt=i(8295),At=i(5435);i(7393),i(3098);const kt={provide:new a.OlP("mat-autocomplete-scroll-strategy"),deps:[Tt.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let It=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({providers:[kt],imports:[[Tt.U8,Pt.Ng,Pt.BQ,s.ez],w.ZD,Pt.Ng,Pt.BQ]}),t})();var Lt=i(6237);let Bt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[b.rt,Pt.BQ],Pt.BQ]}),t})();i(5072);var Ot=i(7238);let Zt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[Tt.U8,Pt.BQ,yt.eL],Pt.BQ]}),t})();var zt=i(1095);let Qt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[Pt.BQ,Pt.si],Pt.BQ]}),t})(),Ft=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[Pt.BQ],Pt.BQ]}),t})();var Ut=i(7539);const Vt=new a.OlP("mat-chips-default-options"),Mt={separatorKeyCodes:[wt.K5]};let jt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({providers:[Pt.rD,{provide:Vt,useValue:Mt}],imports:[[Pt.BQ]]}),t})();i(205),i(5758),i(5304),i(8939),i(8819),i(1841),i(9075);let Nt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[Pt.BQ],Pt.BQ]}),t})();i(7519);let Yt=(()=>{class t{constructor(){this.changes=new D.xQ,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=a.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();const qt={provide:Yt,deps:[[new a.FiY,new a.tp0,Yt]],useFactory:function(t){return t||new Yt}};let Gt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({providers:[qt,Pt.rD],imports:[[Pt.BQ,s.ez,yt.eL,zt.ot,xt,Nt,Pt.si],Pt.BQ]}),t})();i(9193),i(13);let Jt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[S.ud]]}),t})(),Xt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({providers:[Pt.rD],imports:[[Jt,Rt.lN,Pt.BQ],Jt,Rt.lN]}),t})(),Ht=(()=>{class t{constructor(){this.changes=new D.xQ,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(t,e){return`${t} \u2013 ${e}`}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=a.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();const Wt={provide:new a.OlP("mat-datepicker-scroll-strategy"),deps:[Tt.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let $t=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({providers:[Ht,Wt],imports:[[s.ez,zt.ot,Tt.U8,b.rt,yt.eL,Pt.BQ],w.ZD]}),t})();function Kt(t,e){}class te{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const ee={dialogContainer:(0,Ot.X$)("dialogContainer",[(0,Ot.SB)("void, exit",(0,Ot.oB)({opacity:0,transform:"scale(0.7)"})),(0,Ot.SB)("enter",(0,Ot.oB)({transform:"none"})),(0,Ot.eR)("* => enter",(0,Ot.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,Ot.oB)({transform:"none",opacity:1}))),(0,Ot.eR)("* => void, * => exit",(0,Ot.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,Ot.oB)({opacity:0})))])};let ie=(()=>{class t extends yt.en{constructor(t,e,i,n,s,o){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=i,this._config=s,this._focusMonitor=o,this._animationStateChanged=new a.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=t=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(t)),this._ariaLabelledBy=s.ariaLabelledBy||null,this._document=n}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(t)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){const e=(0,S.ht)(),i=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==i&&!i.contains(e)||(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,S.ht)())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const t=this._elementRef.nativeElement,e=(0,S.ht)();return t===e||t.contains(e)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(b.qV),a.Y36(a.sBO),a.Y36(s.K0,8),a.Y36(te),a.Y36(b.tE))},t.\u0275dir=a.lG2({type:t,viewQuery:function(t,e){if(1&t&&a.Gf(yt.Pl,7),2&t){let t;a.iGM(t=a.CRH())&&(e._portalOutlet=t.first)}},features:[a.qOj]}),t})(),ne=(()=>{class t extends ie{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:t,totalTime:e}){"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:e}))}_onAnimationStart({toState:t,totalTime:e}){"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:e}):"exit"!==t&&"void"!==t||this._animationStateChanged.next({state:"closing",totalTime:e})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=a.n5z(t)))(i||t)}}(),t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&a.WFA("@dialogContainer.start",function(t){return e._onAnimationStart(t)})("@dialogContainer.done",function(t){return e._onAnimationDone(t)}),2&t&&(a.Ikx("id",e._id),a.uIk("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),a.d8E("@dialogContainer",e._state))},features:[a.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&a.YNc(0,Kt,0,0,"ng-template",0)},directives:[yt.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[ee.dialogContainer]}}),t})(),se=0;class oe{constructor(t,e,i="mat-dialog-"+se++){this._overlayRef=t,this._containerInstance=e,this.id=i,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new D.xQ,this._afterClosed=new D.xQ,this._beforeClosed=new D.xQ,this._state=0,e._id=i,e._animationStateChanged.pipe((0,At.h)(t=>"opened"===t.state),(0,B.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,At.h)(t=>"closed"===t.state),(0,B.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe((0,At.h)(t=>t.keyCode===wt.hY&&!this.disableClose&&!(0,wt.Vb)(t))).subscribe(t=>{t.preventDefault(),re(this,"keyboard")}),t.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():re(this,"mouse")})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe((0,At.h)(t=>"closing"===t.state),(0,B.q)(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._overlayRef.updateSize({width:t,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function re(t,e,i){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(i)}const ae=new a.OlP("MatDialogData"),le=new a.OlP("mat-dialog-default-options"),ce=new a.OlP("mat-dialog-scroll-strategy"),he={provide:ce,deps:[Tt.aV],useFactory:function(t){return()=>t.scrollStrategies.block()}};let de=(()=>{class t{constructor(t,e,i,n,s,o,r,a,l){this._overlay=t,this._injector=e,this._defaultOptions=i,this._parentDialog=n,this._overlayContainer=s,this._dialogRefConstructor=r,this._dialogContainerType=a,this._dialogDataToken=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new D.xQ,this._afterOpenedAtThisLevel=new D.xQ,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,Et.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,L.O)(void 0))),this._scrollStrategy=o}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(t,e){(e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new te)).id&&this.getDialogById(e.id);const i=this._createOverlay(e),n=this._attachDialogContainer(i,e),s=this._attachDialogContent(t,n,i,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.afterClosed().subscribe(()=>this._removeOpenDialog(s)),this.afterOpened.next(s),n._initializeWithAttachedContent(),s}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new Tt.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const i=a.zs3.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:te,useValue:e}]}),n=new yt.C5(this._dialogContainerType,e.viewContainerRef,i,e.componentFactoryResolver);return t.attach(n).instance}_attachDialogContent(t,e,i,n){const s=new this._dialogRefConstructor(i,e,n.id);if(t instanceof a.Rgc)e.attachTemplatePortal(new yt.UE(t,null,{$implicit:n.data,dialogRef:s}));else{const i=this._createInjector(n,s,e),o=e.attachComponentPortal(new yt.C5(t,n.viewContainerRef,i));s.componentInstance=o.instance}return s.updateSize(n.width,n.height).updatePosition(n.position),s}_createInjector(t,e,i){const n=t&&t.viewContainerRef&&t.viewContainerRef.injector,s=[{provide:this._dialogContainerType,useValue:i},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:e}];return!t.direction||n&&n.get(O.Is,null,a.XFs.Optional)||s.push({provide:O.Is,useValue:{value:t.direction,change:(0,St.of)()}}),a.zs3.create({parent:n||this._injector,providers:s})}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let i=e.length-1;i>-1;i--){let n=e[i];n===t||"SCRIPT"===n.nodeName||"STYLE"===n.nodeName||n.hasAttribute("aria-live")||(this._ariaHiddenElements.set(n,n.getAttribute("aria-hidden")),n.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(Tt.aV),a.Y36(a.zs3),a.Y36(void 0),a.Y36(void 0),a.Y36(Tt.Xj),a.Y36(void 0),a.Y36(a.DyG),a.Y36(a.DyG),a.Y36(a.OlP))},t.\u0275dir=a.lG2({type:t}),t})(),pe=(()=>{class t extends de{constructor(t,e,i,n,s,o,r){super(t,e,n,o,r,s,oe,ne,ae)}}return t.\u0275fac=function(e){return new(e||t)(a.LFG(Tt.aV),a.LFG(a.zs3),a.LFG(s.Ye,8),a.LFG(le,8),a.LFG(ce),a.LFG(t,12),a.LFG(Tt.Xj))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t})(),ge=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({providers:[pe,he],imports:[[Tt.U8,yt.eL,Pt.BQ],Pt.BQ]}),t})(),ue=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[Pt.BQ],Pt.BQ]}),t})(),_e=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({}),t})(),me=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[s.ez,Pt.BQ,_e,yt.eL]]}),t})(),fe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[Pt.uc,Pt.BQ],Pt.uc,Pt.BQ]}),t})(),ve=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[Pt.uc,Pt.si,Pt.BQ,Pt.us,s.ez],Pt.uc,Pt.BQ,Pt.us,ue]}),t})();i(4581);const be={provide:new a.OlP("mat-menu-scroll-strategy"),deps:[Tt.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let ye=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({providers:[be],imports:[[s.ez,Pt.BQ,Pt.si,Tt.U8],w.ZD,Pt.BQ]}),t})();var we=i(9692);let Se=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[s.ez,Pt.BQ],Pt.BQ]}),t})();function xe(t,e){if(1&t&&(a.O4$(),a._UZ(0,"circle",3)),2&t){const t=a.oxw();a.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),a.uIk("r",t._getCircleRadius())}}function De(t,e){if(1&t&&(a.O4$(),a._UZ(0,"circle",3)),2&t){const t=a.oxw();a.Udp("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),a.uIk("r",t._getCircleRadius())}}const Ce=(0,Pt.pj)(class{constructor(t){this._elementRef=t}},"primary"),Pe=new a.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}});class Ee extends Ce{constructor(t,e,i,n,s){super(t),this._document=i,this._diameter=100,this._value=0,this._fallbackAnimation=!1,this.mode="determinate";const o=Ee._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),o.has(i.head)||o.set(i.head,new Set([100])),this._fallbackAnimation=e.EDGE||e.TRIDENT,this._noopAnimations="NoopAnimations"===n&&!!s&&!s._forceAnimations,s&&(s.diameter&&(this.diameter=s.diameter),s.strokeWidth&&(this.strokeWidth=s.strokeWidth))}get diameter(){return this._diameter}set diameter(t){this._diameter=(0,x.su)(t),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=(0,x.su)(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,(0,x.su)(t)))}ngOnInit(){const t=this._elementRef.nativeElement;this._styleRoot=(0,S.kV)(t)||this._document.head,this._attachStyleNode(),t.classList.add(`mat-progress-spinner-indeterminate${this._fallbackAnimation?"-fallback":""}-animation`)}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const t=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${t} ${t}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._getStrokeCircumference():null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_attachStyleNode(){const t=this._styleRoot,e=this._diameter,i=Ee._diameters;let n=i.get(t);if(!n||!n.has(e)){const s=this._document.createElement("style");s.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),s.textContent=this._getAnimationText(),t.appendChild(s),n||(n=new Set,i.set(t,n)),n.add(e)}}_getAnimationText(){const t=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*t).replace(/END_VALUE/g,""+.2*t).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}Ee.\u0275fac=function(t){return new(t||Ee)(a.Y36(a.SBq),a.Y36(S.t4),a.Y36(s.K0,8),a.Y36(Lt.Qb,8),a.Y36(Pe))},Ee.\u0275cmp=a.Xpm({type:Ee,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(t,e){2&t&&(a.uIk("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),a.Udp("width",e.diameter,"px")("height",e.diameter,"px"),a.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[a.qOj],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(a.O4$(),a.TgZ(0,"svg",0),a.YNc(1,xe,1,9,"circle",1),a.YNc(2,De,1,7,"circle",2),a.qZA()),2&t&&(a.Udp("width",e.diameter,"px")("height",e.diameter,"px"),a.Q6J("ngSwitch","indeterminate"===e.mode),a.uIk("viewBox",e._getViewBox()),a.xp6(1),a.Q6J("ngSwitchCase",!0),a.xp6(1),a.Q6J("ngSwitchCase",!1))},directives:[s.RF,s.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:currentColor;stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03, 0.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}\n"],encapsulation:2,changeDetection:0}),Ee._diameters=new WeakMap;let Te=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[Pt.BQ,s.ez],Pt.BQ]}),t})(),Re=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[Pt.si,Pt.BQ],Pt.BQ]}),t})();var Ae=i(7441);i(4395);let ke=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[s.ez,Pt.BQ,S.ud,w.ZD],w.ZD,Pt.BQ]}),t})(),Ie=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[s.ez,Pt.BQ],Pt.BQ]}),t})();var Le=i(8553);let Be=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({}),t})(),Oe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[Be,Pt.si,Pt.BQ,Le.Q8],Be,Pt.BQ]}),t})(),Ze=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[Tt.U8,yt.eL,s.ez,zt.ot,Pt.BQ],Pt.BQ]}),t})();var ze=i(1494),Qe=i(2091);i(6797);let Fe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[s.ez,Pt.BQ,yt.eL,Pt.si,Le.Q8,b.rt],Pt.BQ]}),t})(),Ue=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[Pt.BQ],Pt.BQ]}),t})();var Ve=i(1436);let Me=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[Ct,Pt.BQ],Pt.BQ]}),t})(),je=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[s.ez,b.rt,y,xt,Dt.HT,Ct,bt,It,Bt,Zt,zt.ot,Qt,Ft,Ut.p9,jt,Gt,$t,ge,ue,me,fe,Nt,Xt,ve,ye,Pt.XK,we.TU,Se,Te,Re,Pt.si,Ae.LD,ke,Ie,Oe,Ze,ze.JX,Qe.p0,Fe,Ue,Ve.AV,Me,Tt.U8,yt.eL,w.Cl],s.ez,b.rt,y,xt,Dt.HT,Ct,bt,It,Bt,Zt,zt.ot,Qt,Ft,Ut.p9,jt,Gt,$t,ge,ue,me,fe,Nt,Xt,ve,ye,Pt.XK,we.TU,Se,Te,Re,Pt.si,Ae.LD,ke,Ie,Oe,Ze,ze.JX,Qe.p0,Fe,Ue,Ve.AV,Me,Tt.U8,yt.eL,w.Cl]}),t})(),Ne=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({providers:[h.c9,h.YP],imports:[[s.ez,f,r.IR.forRoot(n.N.config),h.e$.forRoot(),v.u5,v.UX,je]]}),t})()}}]);