-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path3532.1f1de1c0d3bc738b.js
1 lines (1 loc) · 290 KB
/
3532.1f1de1c0d3bc738b.js
1
"use strict";(self.webpackChunkmaterial_angular_io=self.webpackChunkmaterial_angular_io||[]).push([[3532],{5667:(de,kt,C)=>{C.d(kt,{T1:()=>p,Fb:()=>it,EM:()=>re,r0:()=>Ht,O7:()=>rt,RK:()=>M,HD:()=>bt,eg:()=>Wt});var t=C(4438),i=C(177),X=C(5478),q=C(6860),z=C(4085),K=C(8617),T=C(5286),G=C(4337),W=C(5817),B=C(1080),j=C(9132);function at(u){const{subscriber:s,counter:r,period:d}=u;s.next(r),this.schedule({subscriber:s,counter:r+1,period:d},d)}var $=C(5128),_t=C(4670),Q=C(9928),It=C(7605),J=C(5006),ut=C(9493),Yt=C(5539),Rt=C(9090),Mt=C(3176),Ut=C(8203);function Pt(u,s,r){for(let d in s)if(s.hasOwnProperty(d)){const h=s[d];h?u.setProperty(d,h,r?.has(d)?"important":""):u.removeProperty(d)}return u}function gt(u,s){const r=s?"":"none";Pt(u.style,{"touch-action":s?"":"none","-webkit-user-drag":s?"":"none","-webkit-tap-highlight-color":s?"":"transparent","user-select":r,"-ms-user-select":r,"-webkit-user-select":r,"-moz-user-select":r})}function Tt(u,s,r){Pt(u.style,{position:s?"":"fixed",top:s?"":"0",opacity:s?"":"0",left:s?"":"-999em"},r)}function St(u,s){return s&&"none"!=s?u+" "+s:u}function zt(u,s){u.style.width=`${s.width}px`,u.style.height=`${s.height}px`,u.style.transform=Ft(s.left,s.top)}function Ft(u,s){return`translate3d(${Math.round(u)}px, ${Math.round(s)}px, 0)`}function xt(u){const s=u.getBoundingClientRect();return{top:s.top,right:s.right,bottom:s.bottom,left:s.left,width:s.width,height:s.height,x:s.x,y:s.y}}function yt(u,s,r){const{top:d,bottom:h,left:_,right:b}=u;return r>=d&&r<=h&&s>=_&&s<=b}function vt(u,s,r){u.top+=s,u.bottom=u.top+u.height,u.left+=r,u.right=u.left+u.width}function wt(u,s,r,d){const{top:h,right:_,bottom:b,left:x,width:F,height:k}=u,N=F*s,Y=k*s;return d>h-Y&&d<b+Y&&r>x-N&&r<_+N}class Ct{constructor(s){this._document=s,this.positions=new Map}clear(){this.positions.clear()}cache(s){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),s.forEach(r=>{this.positions.set(r,{scrollPosition:{top:r.scrollTop,left:r.scrollLeft},clientRect:xt(r)})})}handleScroll(s){const r=(0,q.Fb)(s),d=this.positions.get(r);if(!d)return null;const h=d.scrollPosition;let _,b;if(r===this._document){const k=this.getViewportScrollPosition();_=k.top,b=k.left}else _=r.scrollTop,b=r.scrollLeft;const x=h.top-_,F=h.left-b;return this.positions.forEach((k,N)=>{k.clientRect&&r!==N&&r.contains(N)&&vt(k.clientRect,x,F)}),h.top=_,h.left=b,{top:x,left:F}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function Vt(u){const s=u.cloneNode(!0),r=s.querySelectorAll("[id]"),d=u.nodeName.toLowerCase();s.removeAttribute("id");for(let h=0;h<r.length;h++)r[h].removeAttribute("id");return"canvas"===d?Dt(u,s):("input"===d||"select"===d||"textarea"===d)&&ct(u,s),At("canvas",u,s,Dt),At("input, textarea, select",u,s,ct),s}function At(u,s,r,d){const h=s.querySelectorAll(u);if(h.length){const _=r.querySelectorAll(u);for(let b=0;b<h.length;b++)d(h[b],_[b])}}let Lt=0;function ct(u,s){"file"!==s.type&&(s.value=u.value),"radio"===s.type&&s.name&&(s.name=`mat-clone-${s.name}-${Lt++}`)}function Dt(u,s){const r=s.getContext("2d");if(r)try{r.drawImage(u,0,0)}catch{}}function Ot(u,s){const r=u.rootNodes;if(1===r.length&&r[0].nodeType===s.ELEMENT_NODE)return r[0];const d=s.createElement("div");return r.forEach(h=>d.appendChild(h)),d}function ft(u){const s=u.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(u)*s}function ot(u,s){return u.getPropertyValue(s).split(",").map(d=>d.trim())}const Bt=new Set(["position"]);class P{constructor(s,r,d,h,_,b,x,F,k){this._document=s,this._rootElement=r,this._direction=d,this._initialDomRect=h,this._previewTemplate=_,this._previewClass=b,this._pickupPositionOnPage=x,this._initialTransform=F,this._zIndex=k}attach(s){this._preview=this._createPreview(),s.appendChild(this._preview),"showPopover"in this._preview&&this._preview.showPopover()}destroy(){this._preview.remove(),this._previewEmbeddedView?.destroy(),this._preview=this._previewEmbeddedView=null}setTransform(s){this._preview.style.transform=s}getBoundingClientRect(){return this._preview.getBoundingClientRect()}addClass(s){this._preview.classList.add(s)}getTransitionDuration(){return function Kt(u){const s=getComputedStyle(u),r=ot(s,"transition-property"),d=r.find(x=>"transform"===x||"all"===x);if(!d)return 0;const h=r.indexOf(d),_=ot(s,"transition-duration"),b=ot(s,"transition-delay");return ft(_[h])+ft(b[h])}(this._preview)}addEventListener(s,r){this._preview.addEventListener(s,r)}removeEventListener(s,r){this._preview.removeEventListener(s,r)}_createPreview(){const s=this._previewTemplate,r=this._previewClass,d=s?s.template:null;let h;if(d&&s){const _=s.matchSize?this._initialDomRect:null,b=s.viewContainer.createEmbeddedView(d,s.context);b.detectChanges(),h=Ot(b,this._document),this._previewEmbeddedView=b,s.matchSize?zt(h,_):h.style.transform=Ft(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else h=Vt(this._rootElement),zt(h,this._initialDomRect),this._initialTransform&&(h.style.transform=this._initialTransform);return Pt(h.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},Bt),gt(h,!1),h.classList.add("cdk-drag-preview"),h.setAttribute("popover","manual"),h.setAttribute("dir",this._direction),r&&(Array.isArray(r)?r.forEach(_=>h.classList.add(_)):h.classList.add(r)),h}}const ht=(0,q.BQ)({passive:!0}),g=(0,q.BQ)({passive:!1}),y=(0,q.BQ)({passive:!1,capture:!0}),I=new Set(["position"]);class V{get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(s){s!==this._disabled&&(this._disabled=s,this._toggleNativeDragInteractions(),this._handles.forEach(r=>gt(r,s)))}constructor(s,r,d,h,_,b){this._config=r,this._document=d,this._ngZone=h,this._viewportRuler=_,this._dragDropRegistry=b,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new T.B7,this._pointerMoveSubscription=G.y.EMPTY,this._pointerUpSubscription=G.y.EMPTY,this._scrollSubscription=G.y.EMPTY,this._resizeSubscription=G.y.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 T.B7,this.started=new T.B7,this.released=new T.B7,this.ended=new T.B7,this.entered=new T.B7,this.exited=new T.B7,this.dropped=new T.B7,this.moved=this._moveEvents,this._pointerDown=x=>{if(this.beforeStarted.next(),this._handles.length){const F=this._getTargetHandle(x);F&&!this._disabledHandles.has(F)&&!this.disabled&&this._initializeDragSequence(F,x)}else this.disabled||this._initializeDragSequence(this._rootElement,x)},this._pointerMove=x=>{const F=this._getPointerPositionOnPage(x);if(!this._hasStartedDragging){if(Math.abs(F.x-this._pickupPositionOnPage.x)+Math.abs(F.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const te=Date.now()>=this._dragStartTime+this._getDragStartDelay(x),Xt=this._dropContainer;if(!te)return void this._endDragSequence(x);(!Xt||!Xt.isDragging()&&!Xt.isReceiving())&&(x.cancelable&&x.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(x)))}return}x.cancelable&&x.preventDefault();const k=this._getConstrainedPointerPosition(F);if(this._hasMoved=!0,this._lastKnownPointerPosition=F,this._updatePointerDirectionDelta(k),this._dropContainer)this._updateActiveDropContainer(k,F);else{const N=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,Y=this._activeTransform;Y.x=k.x-N.x+this._passiveTransform.x,Y.y=k.y-N.y+this._passiveTransform.y,this._applyRootElementTransform(Y.x,Y.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:k,event:x,distance:this._getDragDistance(k),delta:this._pointerDirectionDelta})})},this._pointerUp=x=>{this._endDragSequence(x)},this._nativeDragStart=x=>{if(this._handles.length){const F=this._getTargetHandle(x);F&&!this._disabledHandles.has(F)&&!this.disabled&&x.preventDefault()}else this.disabled||x.preventDefault()},this.withRootElement(s).withParent(r.parentDragRef||null),this._parentPositions=new Ct(d),b.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(s){this._handles=s.map(d=>(0,z.i8)(d)),this._handles.forEach(d=>gt(d,this.disabled)),this._toggleNativeDragInteractions();const r=new Set;return this._disabledHandles.forEach(d=>{this._handles.indexOf(d)>-1&&r.add(d)}),this._disabledHandles=r,this}withPreviewTemplate(s){return this._previewTemplate=s,this}withPlaceholderTemplate(s){return this._placeholderTemplate=s,this}withRootElement(s){const r=(0,z.i8)(s);return r!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{r.addEventListener("mousedown",this._pointerDown,g),r.addEventListener("touchstart",this._pointerDown,ht),r.addEventListener("dragstart",this._nativeDragStart,g)}),this._initialTransform=void 0,this._rootElement=r),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(s){return this._boundaryElement=s?(0,z.i8)(s):null,this._resizeSubscription.unsubscribe(),s&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(s){return this._parentDragRef=s,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeListeners(),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(s){!this._disabledHandles.has(s)&&this._handles.indexOf(s)>-1&&(this._disabledHandles.add(s),gt(s,!0))}enableHandle(s){this._disabledHandles.has(s)&&(this._disabledHandles.delete(s),gt(s,this.disabled))}withDirection(s){return this._direction=s,this}_withDropContainer(s){this._dropContainer=s}getFreeDragPosition(){const s=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:s.x,y:s.y}}setFreeDragPosition(s){return this._activeTransform={x:0,y:0},this._passiveTransform.x=s.x,this._passiveTransform.y=s.y,this._dropContainer||this._applyRootElementTransform(s.x,s.y),this}withPreviewContainer(s){return this._previewContainer=s,this}_sortFromLastPointerPosition(){const s=this._lastKnownPointerPosition;s&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(s),s)}_removeListeners(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe(),this._getShadowRoot()?.removeEventListener("selectstart",Gt,y)}_destroyPreview(){this._preview?.destroy(),this._preview=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(s){if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:s}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(s),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const r=this._getPointerPositionOnPage(s);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(r),dropPoint:r,event:s})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(s){lt(s)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const r=this._getShadowRoot(),d=this._dropContainer;if(r&&this._ngZone.runOutsideAngular(()=>{r.addEventListener("selectstart",Gt,y)}),d){const h=this._rootElement,_=h.parentNode,b=this._placeholder=this._createPlaceholderElement(),x=this._anchor=this._anchor||this._document.createComment("");_.insertBefore(x,h),this._initialTransform=h.style.transform||"",this._preview=new P(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1e3),this._preview.attach(this._getPreviewInsertionPoint(_,r)),Tt(h,!1,I),this._document.body.appendChild(_.replaceChild(b,h)),this.started.next({source:this,event:s}),d.start(),this._initialContainer=d,this._initialIndex=d.getItemIndex(this)}else this.started.next({source:this,event:s}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(d?d.getScrollableParents():[])}_initializeDragSequence(s,r){this._parentDragRef&&r.stopPropagation();const d=this.isDragging(),h=lt(r),_=!h&&0!==r.button,b=this._rootElement,x=(0,q.Fb)(r),F=!h&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),k=h?(0,K.w6)(r):(0,K._G)(r);if(x&&x.draggable&&"mousedown"===r.type&&r.preventDefault(),d||_||F||k)return;if(this._handles.length){const pt=b.style;this._rootElementTapHighlight=pt.webkitTapHighlightColor||"",pt.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(pt=>this._updateOnScroll(pt)),this._boundaryElement&&(this._boundaryRect=xt(this._boundaryElement));const N=this._previewTemplate;this._pickupPositionInElement=N&&N.template&&!N.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,s,r);const Y=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(r);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:Y.x,y:Y.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,r)}_cleanupDragArtifacts(s){Tt(this._rootElement,!0,I),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const r=this._dropContainer,d=r.getItemIndex(this),h=this._getPointerPositionOnPage(s),_=this._getDragDistance(h),b=r._isOverContainer(h.x,h.y);this.ended.next({source:this,distance:_,dropPoint:h,event:s}),this.dropped.next({item:this,currentIndex:d,previousIndex:this._initialIndex,container:r,previousContainer:this._initialContainer,isPointerOverContainer:b,distance:_,dropPoint:h,event:s}),r.drop(this,d,this._initialIndex,this._initialContainer,b,_,h,s),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:s,y:r},{x:d,y:h}){let _=this._initialContainer._getSiblingContainerFromPosition(this,s,r);!_&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(s,r)&&(_=this._initialContainer),_&&_!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=_,this._dropContainer.enter(this,s,r,_===this._initialContainer&&_.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:_,currentIndex:_.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(d,h),this._dropContainer._sortItem(this,s,r,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(s,r):this._applyPreviewTransform(s-this._pickupPositionInElement.x,r-this._pickupPositionInElement.y))}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const s=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating"),this._applyPreviewTransform(s.left,s.top);const r=this._preview.getTransitionDuration();return 0===r?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(d=>{const h=b=>{(!b||(0,q.Fb)(b)===this._preview&&"transform"===b.propertyName)&&(this._preview?.removeEventListener("transitionend",h),d(),clearTimeout(_))},_=setTimeout(h,1.5*r);this._preview.addEventListener("transitionend",h)}))}_createPlaceholderElement(){const s=this._placeholderTemplate,r=s?s.template:null;let d;return r?(this._placeholderRef=s.viewContainer.createEmbeddedView(r,s.context),this._placeholderRef.detectChanges(),d=Ot(this._placeholderRef,this._document)):d=Vt(this._rootElement),d.style.pointerEvents="none",d.classList.add("cdk-drag-placeholder"),d}_getPointerPositionInElement(s,r,d){const h=r===this._rootElement?null:r,_=h?h.getBoundingClientRect():s,b=lt(d)?d.targetTouches[0]:d,x=this._getViewportScrollPosition();return{x:_.left-s.left+(b.pageX-_.left-x.left),y:_.top-s.top+(b.pageY-_.top-x.top)}}_getPointerPositionOnPage(s){const r=this._getViewportScrollPosition(),d=lt(s)?s.touches[0]||s.changedTouches[0]||{pageX:0,pageY:0}:s,h=d.pageX-r.left,_=d.pageY-r.top;if(this._ownerSVGElement){const b=this._ownerSVGElement.getScreenCTM();if(b){const x=this._ownerSVGElement.createSVGPoint();return x.x=h,x.y=_,x.matrixTransform(b.inverse())}}return{x:h,y:_}}_getConstrainedPointerPosition(s){const r=this._dropContainer?this._dropContainer.lockAxis:null;let{x:d,y:h}=this.constrainPosition?this.constrainPosition(s,this,this._initialDomRect,this._pickupPositionInElement):s;if("x"===this.lockAxis||"x"===r?h=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):("y"===this.lockAxis||"y"===r)&&(d=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){const{x:_,y:b}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,x=this._boundaryRect,{width:F,height:k}=this._getPreviewRect(),N=x.top+b,Y=x.bottom-(k-b);d=Nt(d,x.left+_,x.right-(F-_)),h=Nt(h,N,Y)}return{x:d,y:h}}_updatePointerDirectionDelta(s){const{x:r,y:d}=s,h=this._pointerDirectionDelta,_=this._pointerPositionAtLastDirectionChange,b=Math.abs(r-_.x),x=Math.abs(d-_.y);return b>this._config.pointerDirectionChangeThreshold&&(h.x=r>_.x?1:-1,_.x=r),x>this._config.pointerDirectionChangeThreshold&&(h.y=d>_.y?1:-1,_.y=d),h}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const s=this._handles.length>0||!this.isDragging();s!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=s,gt(this._rootElement,s))}_removeRootElementListeners(s){s.removeEventListener("mousedown",this._pointerDown,g),s.removeEventListener("touchstart",this._pointerDown,ht),s.removeEventListener("dragstart",this._nativeDragStart,g)}_applyRootElementTransform(s,r){const d=Ft(s,r),h=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=h.transform&&"none"!=h.transform?h.transform:""),h.transform=St(d,this._initialTransform)}_applyPreviewTransform(s,r){const d=this._previewTemplate?.template?void 0:this._initialTransform,h=Ft(s,r);this._preview.setTransform(St(h,d))}_getDragDistance(s){const r=this._pickupPositionOnPage;return r?{x:s.x-r.x,y:s.y-r.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:s,y:r}=this._passiveTransform;if(0===s&&0===r||this.isDragging()||!this._boundaryElement)return;const d=this._rootElement.getBoundingClientRect(),h=this._boundaryElement.getBoundingClientRect();if(0===h.width&&0===h.height||0===d.width&&0===d.height)return;const _=h.left-d.left,b=d.right-h.right,x=h.top-d.top,F=d.bottom-h.bottom;h.width>d.width?(_>0&&(s+=_),b>0&&(s-=b)):s=0,h.height>d.height?(x>0&&(r+=x),F>0&&(r-=F)):r=0,(s!==this._passiveTransform.x||r!==this._passiveTransform.y)&&this.setFreeDragPosition({y:r,x:s})}_getDragStartDelay(s){const r=this.dragStartDelay;return"number"==typeof r?r:lt(s)?r.touch:r?r.mouse:0}_updateOnScroll(s){const r=this._parentPositions.handleScroll(s);if(r){const d=(0,q.Fb)(s);this._boundaryRect&&d!==this._boundaryElement&&d.contains(this._boundaryElement)&&vt(this._boundaryRect,r.top,r.left),this._pickupPositionOnPage.x+=r.left,this._pickupPositionOnPage.y+=r.top,this._dropContainer||(this._activeTransform.x-=r.left,this._activeTransform.y-=r.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,q.KT)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(s,r){const d=this._previewContainer||"global";if("parent"===d)return s;if("global"===d){const h=this._document;return r||h.fullscreenElement||h.webkitFullscreenElement||h.mozFullScreenElement||h.msFullscreenElement||h.body}return(0,z.i8)(d)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_getTargetHandle(s){return this._handles.find(r=>s.target&&(s.target===r||r.contains(s.target)))}}function Nt(u,s,r){return Math.max(s,Math.min(r,u))}function lt(u){return"t"===u.type[0]}function Gt(u){u.preventDefault()}function bt(u,s,r){const d=et(s,u.length-1),h=et(r,u.length-1);if(d===h)return;const _=u[d],b=h<d?-1:1;for(let x=d;x!==h;x+=b)u[x]=u[x+b];u[h]=_}function Wt(u,s,r,d){const h=et(r,u.length-1),_=et(d,s.length);u.length&&s.splice(_,0,u.splice(h,1)[0])}function et(u,s){return Math.max(0,Math.min(s,u))}class mt{constructor(s,r){this._element=s,this._dragDropRegistry=r,this._itemPositions=[],this.orientation="vertical",this._previousSwap={drag:null,delta:0,overlaps:!1}}start(s){this.withItems(s)}sort(s,r,d,h){const _=this._itemPositions,b=this._getItemIndexFromPointerPosition(s,r,d,h);if(-1===b&&_.length>0)return null;const x="horizontal"===this.orientation,F=_.findIndex(Et=>Et.drag===s),k=_[b],Y=k.clientRect,pt=F>b?1:-1,te=this._getItemOffsetPx(_[F].clientRect,Y,pt),Xt=this._getSiblingOffsetPx(F,_,pt),jt=_.slice();return bt(_,F,b),_.forEach((Et,we)=>{if(jt[we]===Et)return;const ce=Et.drag===s,he=ce?te:Xt,me=ce?s.getPlaceholderElement():Et.drag.getRootElement();Et.offset+=he,x?(me.style.transform=St(`translate3d(${Math.round(Et.offset)}px, 0, 0)`,Et.initialTransform),vt(Et.clientRect,0,he)):(me.style.transform=St(`translate3d(0, ${Math.round(Et.offset)}px, 0)`,Et.initialTransform),vt(Et.clientRect,he,0))}),this._previousSwap.overlaps=yt(Y,r,d),this._previousSwap.drag=k.drag,this._previousSwap.delta=x?h.x:h.y,{previousIndex:F,currentIndex:b}}enter(s,r,d,h){const _=null==h||h<0?this._getItemIndexFromPointerPosition(s,r,d):h,b=this._activeDraggables,x=b.indexOf(s),F=s.getPlaceholderElement();let k=b[_];if(k===s&&(k=b[_+1]),!k&&(null==_||-1===_||_<b.length-1)&&this._shouldEnterAsFirstChild(r,d)&&(k=b[0]),x>-1&&b.splice(x,1),k&&!this._dragDropRegistry.isDragging(k)){const N=k.getRootElement();N.parentElement.insertBefore(F,N),b.splice(_,0,s)}else(0,z.i8)(this._element).appendChild(F),b.push(s);F.style.transform="",this._cacheItemPositions()}withItems(s){this._activeDraggables=s.slice(),this._cacheItemPositions()}withSortPredicate(s){this._sortPredicate=s}reset(){this._activeDraggables.forEach(s=>{const r=s.getRootElement();if(r){const d=this._itemPositions.find(h=>h.drag===s)?.initialTransform;r.style.transform=d||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(s){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(d=>d.drag===s)}updateOnScroll(s,r){this._itemPositions.forEach(({clientRect:d})=>{vt(d,s,r)}),this._itemPositions.forEach(({drag:d})=>{this._dragDropRegistry.isDragging(d)&&d._sortFromLastPointerPosition()})}_cacheItemPositions(){const s="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(r=>{const d=r.getVisibleElement();return{drag:r,offset:0,initialTransform:d.style.transform||"",clientRect:xt(d)}}).sort((r,d)=>s?r.clientRect.left-d.clientRect.left:r.clientRect.top-d.clientRect.top)}_getItemOffsetPx(s,r,d){const h="horizontal"===this.orientation;let _=h?r.left-s.left:r.top-s.top;return-1===d&&(_+=h?r.width-s.width:r.height-s.height),_}_getSiblingOffsetPx(s,r,d){const h="horizontal"===this.orientation,_=r[s].clientRect,b=r[s+-1*d];let x=_[h?"width":"height"]*d;if(b){const F=h?"left":"top",k=h?"right":"bottom";-1===d?x-=b.clientRect[F]-_[k]:x+=_[F]-b.clientRect[k]}return x}_shouldEnterAsFirstChild(s,r){if(!this._activeDraggables.length)return!1;const d=this._itemPositions,h="horizontal"===this.orientation;if(d[0].drag!==this._activeDraggables[0]){const b=d[d.length-1].clientRect;return h?s>=b.right:r>=b.bottom}{const b=d[0].clientRect;return h?s<=b.left:r<=b.top}}_getItemIndexFromPointerPosition(s,r,d,h){const _="horizontal"===this.orientation,b=this._itemPositions.findIndex(({drag:x,clientRect:F})=>x!==s&&((!h||x!==this._previousSwap.drag||!this._previousSwap.overlaps||(_?h.x:h.y)!==this._previousSwap.delta)&&(_?r>=Math.floor(F.left)&&r<Math.floor(F.right):d>=Math.floor(F.top)&&d<Math.floor(F.bottom))));return-1!==b&&this._sortPredicate(b,s)?b:-1}}var dt=function(u){return u[u.NONE=0]="NONE",u[u.UP=1]="UP",u[u.DOWN=2]="DOWN",u}(dt||{}),nt=function(u){return u[u.NONE=0]="NONE",u[u.LEFT=1]="LEFT",u[u.RIGHT=2]="RIGHT",u}(nt||{});class ne{constructor(s,r,d,h,_){this._dragDropRegistry=r,this._ngZone=h,this._viewportRuler=_,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new T.B7,this.entered=new T.B7,this.exited=new T.B7,this.dropped=new T.B7,this.sorted=new T.B7,this.receivingStarted=new T.B7,this.receivingStopped=new T.B7,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=G.y.EMPTY,this._verticalScrollDirection=dt.NONE,this._horizontalScrollDirection=nt.NONE,this._stopScrollTimers=new T.B7,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function tt(u=0,s=B.b){return(!(0,j.k)(u)||u<0)&&(u=0),(!s||"function"!=typeof s.schedule)&&(s=B.b),new W.c(r=>(r.add(s.schedule(at,u,{subscriber:r,counter:0,period:u})),r))}(0,$.X).pipe((0,It.Q)(this._stopScrollTimers)).subscribe(()=>{const b=this._scrollNode,x=this.autoScrollStep;this._verticalScrollDirection===dt.UP?b.scrollBy(0,-x):this._verticalScrollDirection===dt.DOWN&&b.scrollBy(0,x),this._horizontalScrollDirection===nt.LEFT?b.scrollBy(-x,0):this._horizontalScrollDirection===nt.RIGHT&&b.scrollBy(x,0)})},this.element=(0,z.i8)(s),this._document=d,this.withScrollableParents([this.element]),r.registerDropContainer(this),this._parentPositions=new Ct(d),this._sortStrategy=new mt(this.element,r),this._sortStrategy.withSortPredicate((b,x)=>this.sortPredicate(b,x,this))}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.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(s,r,d,h){this._draggingStarted(),null==h&&this.sortingDisabled&&(h=this._draggables.indexOf(s)),this._sortStrategy.enter(s,r,d,h),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:s,container:this,currentIndex:this.getItemIndex(s)})}exit(s){this._reset(),this.exited.next({item:s,container:this})}drop(s,r,d,h,_,b,x,F={}){this._reset(),this.dropped.next({item:s,currentIndex:r,previousIndex:d,container:this,previousContainer:h,isPointerOverContainer:_,distance:b,dropPoint:x,event:F})}withItems(s){const r=this._draggables;return this._draggables=s,s.forEach(d=>d._withDropContainer(this)),this.isDragging()&&(r.filter(h=>h.isDragging()).every(h=>-1===s.indexOf(h))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(s){return this._sortStrategy.direction=s,this}connectedTo(s){return this._siblings=s.slice(),this}withOrientation(s){return this._sortStrategy.orientation=s,this}withScrollableParents(s){const r=(0,z.i8)(this.element);return this._scrollableElements=-1===s.indexOf(r)?[r,...s]:s.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(s){return this._isDragging?this._sortStrategy.getItemIndex(s):this._draggables.indexOf(s)}isReceiving(){return this._activeSiblings.size>0}_sortItem(s,r,d,h){if(this.sortingDisabled||!this._domRect||!wt(this._domRect,.05,r,d))return;const _=this._sortStrategy.sort(s,r,d,h);_&&this.sorted.next({previousIndex:_.previousIndex,currentIndex:_.currentIndex,container:this,item:s})}_startScrollingIfNecessary(s,r){if(this.autoScrollDisabled)return;let d,h=dt.NONE,_=nt.NONE;if(this._parentPositions.positions.forEach((b,x)=>{x===this._document||!b.clientRect||d||wt(b.clientRect,.05,s,r)&&([h,_]=function se(u,s,r,d,h){const _=oe(s,h),b=ie(s,d);let x=dt.NONE,F=nt.NONE;if(_){const k=u.scrollTop;_===dt.UP?k>0&&(x=dt.UP):u.scrollHeight-k>u.clientHeight&&(x=dt.DOWN)}if(b){const k=u.scrollLeft;"rtl"===r?b===nt.RIGHT?k<0&&(F=nt.RIGHT):u.scrollWidth+k>u.clientWidth&&(F=nt.LEFT):b===nt.LEFT?k>0&&(F=nt.LEFT):u.scrollWidth-k>u.clientWidth&&(F=nt.RIGHT)}return[x,F]}(x,b.clientRect,this._sortStrategy.direction,s,r),(h||_)&&(d=x))}),!h&&!_){const{width:b,height:x}=this._viewportRuler.getViewportSize(),F={width:b,height:x,top:0,right:b,bottom:x,left:0};h=oe(F,r),_=ie(F,s),d=window}d&&(h!==this._verticalScrollDirection||_!==this._horizontalScrollDirection||d!==this._scrollNode)&&(this._verticalScrollDirection=h,this._horizontalScrollDirection=_,this._scrollNode=d,(h||_)&&d?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const s=(0,z.i8)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=s.msScrollSnapType||s.scrollSnapType||"",s.scrollSnapType=s.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const s=(0,z.i8)(this.element);this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(s).clientRect}_reset(){this._isDragging=!1;const s=(0,z.i8)(this.element).style;s.scrollSnapType=s.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(r=>r._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(s,r){return null!=this._domRect&&yt(this._domRect,s,r)}_getSiblingContainerFromPosition(s,r,d){return this._siblings.find(h=>h._canReceive(s,r,d))}_canReceive(s,r,d){if(!this._domRect||!yt(this._domRect,r,d)||!this.enterPredicate(s,this))return!1;const h=this._getShadowRoot().elementFromPoint(r,d);if(!h)return!1;const _=(0,z.i8)(this.element);return h===_||_.contains(h)}_startReceiving(s,r){const d=this._activeSiblings;!d.has(s)&&r.every(h=>this.enterPredicate(h,this)||this._draggables.indexOf(h)>-1)&&(d.add(s),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:s,receiver:this,items:r}))}_stopReceiving(s){this._activeSiblings.delete(s),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:s,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(s=>{if(this.isDragging()){const r=this._parentPositions.handleScroll(s);r&&this._sortStrategy.updateOnScroll(r.top,r.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const s=(0,q.KT)((0,z.i8)(this.element));this._cachedShadowRoot=s||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const s=this._sortStrategy.getActiveItemsSnapshot().filter(r=>r.isDragging());this._siblings.forEach(r=>r._startReceiving(this,s))}}function oe(u,s){const{top:r,bottom:d,height:h}=u,_=.05*h;return s>=r-_&&s<=r+_?dt.UP:s>=d-_&&s<=d+_?dt.DOWN:dt.NONE}function ie(u,s){const{left:r,right:d,width:h}=u,_=.05*h;return s>=r-_&&s<=r+_?nt.LEFT:s>=d-_&&s<=d+_?nt.RIGHT:nt.NONE}const qt=(0,q.BQ)({passive:!1,capture:!0}),$t=new Set;let w=(()=>{class u{static#t=this.\u0275fac=function(d){return new(d||u)};static#e=this.\u0275cmp=t.VBU({type:u,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],standalone:!0,features:[t.aNF],decls:0,vars:0,template:function(d,h){},styles:["@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit}}"],encapsulation:2,changeDetection:0})}return u})(),Z=(()=>{class u{constructor(r,d){this._ngZone=r,this._appRef=(0,t.WQX)(t.o8S),this._environmentInjector=(0,t.WQX)(t.uvJ),this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=h=>h.isDragging(),this.pointerMove=new T.B7,this.pointerUp=new T.B7,this.scroll=new T.B7,this._preventDefaultWhileDragging=h=>{this._activeDragInstances.length>0&&h.preventDefault()},this._persistentTouchmoveListener=h=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&h.preventDefault(),this.pointerMove.next(h))},this._document=d}registerDropContainer(r){this._dropInstances.has(r)||this._dropInstances.add(r)}registerDragItem(r){this._dragInstances.add(r),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,qt)})}removeDropContainer(r){this._dropInstances.delete(r)}removeDragItem(r){this._dragInstances.delete(r),this.stopDragging(r),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,qt)}startDragging(r,d){if(!(this._activeDragInstances.indexOf(r)>-1)&&(this._loadResets(),this._activeDragInstances.push(r),1===this._activeDragInstances.length)){const h=d.type.startsWith("touch");this._globalListeners.set(h?"touchend":"mouseup",{handler:_=>this.pointerUp.next(_),options:!0}).set("scroll",{handler:_=>this.scroll.next(_),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:qt}),h||this._globalListeners.set("mousemove",{handler:_=>this.pointerMove.next(_),options:qt}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((_,b)=>{this._document.addEventListener(b,_.handler,_.options)})})}}stopDragging(r){const d=this._activeDragInstances.indexOf(r);d>-1&&(this._activeDragInstances.splice(d,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(r){return this._activeDragInstances.indexOf(r)>-1}scrolled(r){const d=[this.scroll];return r&&r!==this._document&&d.push(new W.c(h=>this._ngZone.runOutsideAngular(()=>{const b=x=>{this._activeDragInstances.length&&h.next(x)};return r.addEventListener("scroll",b,!0),()=>{r.removeEventListener("scroll",b,!0)}}))),(0,_t.h)(...d)}ngOnDestroy(){this._dragInstances.forEach(r=>this.removeDragItem(r)),this._dropInstances.forEach(r=>this.removeDropContainer(r)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((r,d)=>{this._document.removeEventListener(d,r.handler,r.options)}),this._globalListeners.clear()}_loadResets(){if(!$t.has(this._appRef)){$t.add(this._appRef);const r=(0,t.a0P)(w,{environmentInjector:this._environmentInjector});this._appRef.onDestroy(()=>{$t.delete(this._appRef),0===$t.size&&r.destroy()})}}static#t=this.\u0275fac=function(d){return new(d||u)(t.KVO(t.SKi),t.KVO(i.qQ))};static#e=this.\u0275prov=t.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();const v={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let S=(()=>{class u{constructor(r,d,h,_){this._document=r,this._ngZone=d,this._viewportRuler=h,this._dragDropRegistry=_}createDrag(r,d=v){return new V(r,d,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(r){return new ne(r,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}static#t=this.\u0275fac=function(d){return new(d||u)(t.KVO(i.qQ),t.KVO(t.SKi),t.KVO(X.Xj),t.KVO(Z))};static#e=this.\u0275prov=t.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();const E=new t.nKC("CDK_DRAG_PARENT"),H=new t.nKC("CdkDragHandle");let it=(()=>{class u{get disabled(){return this._disabled}set disabled(r){this._disabled=r,this._stateChanges.next(this)}constructor(r,d){this.element=r,this._parentDrag=d,this._stateChanges=new T.B7,this._disabled=!1,d?._addHandle(this)}ngOnDestroy(){this._parentDrag?._removeHandle(this),this._stateChanges.complete()}static#t=this.\u0275fac=function(d){return new(d||u)(t.rXU(t.aKT),t.rXU(E,12))};static#e=this.\u0275dir=t.FsC({type:u,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:[2,"cdkDragHandleDisabled","disabled",t.L39]},standalone:!0,features:[t.Jv_([{provide:H,useExisting:u}]),t.GFd]})}return u})();const f=new t.nKC("CDK_DRAG_CONFIG"),a=new t.nKC("CdkDropList");let p=(()=>{class u{static#t=this._dragInstances=[];get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(r){this._disabled=r,this._dragRef.disabled=this._disabled}constructor(r,d,h,_,b,x,F,k,N,Y,pt){this.element=r,this.dropContainer=d,this._ngZone=_,this._viewContainerRef=b,this._dir=F,this._changeDetectorRef=N,this._selfHandle=Y,this._parentDrag=pt,this._destroyed=new T.B7,this._handles=new Q.t([]),this.started=new t.bkB,this.released=new t.bkB,this.ended=new t.bkB,this.entered=new t.bkB,this.exited=new t.bkB,this.dropped=new t.bkB,this.moved=new W.c(te=>{const Xt=this._dragRef.moved.pipe((0,J.T)(jt=>({source:this,pointerPosition:jt.pointerPosition,event:jt.event,delta:jt.delta,distance:jt.distance}))).subscribe(te);return()=>{Xt.unsubscribe()}}),this._injector=(0,t.WQX)(t.zZn),this._dragRef=k.createDrag(r,{dragStartThreshold:x&&null!=x.dragStartThreshold?x.dragStartThreshold:5,pointerDirectionChangeThreshold:x&&null!=x.pointerDirectionChangeThreshold?x.pointerDirectionChangeThreshold:5,zIndex:x?.zIndex}),this._dragRef.data=this,u._dragInstances.push(this),x&&this._assignDefaults(x),d&&(this._dragRef._withDropContainer(d._dropListRef),d.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(r){this._dragRef.setFreeDragPosition(r)}ngAfterViewInit(){(0,t.mal)(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)},{injector:this._injector})}ngOnChanges(r){const d=r.rootElementSelector,h=r.freeDragPosition;d&&!d.firstChange&&this._updateRootElement(),h&&!h.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const r=u._dragInstances.indexOf(this);r>-1&&u._dragInstances.splice(r,1),this._ngZone.runOutsideAngular(()=>{this._handles.complete(),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_addHandle(r){const d=this._handles.getValue();d.push(r),this._handles.next(d)}_removeHandle(r){const d=this._handles.getValue(),h=d.indexOf(r);h>-1&&(d.splice(h,1),this._handles.next(d))}_setPreviewTemplate(r){this._previewTemplate=r}_resetPreviewTemplate(r){r===this._previewTemplate&&(this._previewTemplate=null)}_setPlaceholderTemplate(r){this._placeholderTemplate=r}_resetPlaceholderTemplate(r){r===this._placeholderTemplate&&(this._placeholderTemplate=null)}_updateRootElement(){const r=this.element.nativeElement;let d=r;this.rootElementSelector&&(d=void 0!==r.closest?r.closest(this.rootElementSelector):r.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(d||r)}_getBoundaryElement(){const r=this.boundaryElement;return r?"string"==typeof r?this.element.nativeElement.closest(r):(0,z.i8)(r):null}_syncInputs(r){r.beforeStarted.subscribe(()=>{if(!r.isDragging()){const d=this._dir,h=this.dragStartDelay,_=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,b=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;r.disabled=this.disabled,r.lockAxis=this.lockAxis,r.dragStartDelay="object"==typeof h&&h?h:(0,z.OE)(h),r.constrainPosition=this.constrainPosition,r.previewClass=this.previewClass,r.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(_).withPreviewTemplate(b).withPreviewContainer(this.previewContainer||"global"),d&&r.withDirection(d.value)}}),r.beforeStarted.pipe((0,ut.s)(1)).subscribe(()=>{if(this._parentDrag)return void r.withParent(this._parentDrag._dragRef);let d=this.element.nativeElement.parentElement;for(;d;){if(d.classList.contains("cdk-drag")){r.withParent(u._dragInstances.find(h=>h.element.nativeElement===d)?._dragRef||null);break}d=d.parentElement}})}_handleEvents(r){r.started.subscribe(d=>{this.started.emit({source:this,event:d.event}),this._changeDetectorRef.markForCheck()}),r.released.subscribe(d=>{this.released.emit({source:this,event:d.event})}),r.ended.subscribe(d=>{this.ended.emit({source:this,distance:d.distance,dropPoint:d.dropPoint,event:d.event}),this._changeDetectorRef.markForCheck()}),r.entered.subscribe(d=>{this.entered.emit({container:d.container.data,item:this,currentIndex:d.currentIndex})}),r.exited.subscribe(d=>{this.exited.emit({container:d.container.data,item:this})}),r.dropped.subscribe(d=>{this.dropped.emit({previousIndex:d.previousIndex,currentIndex:d.currentIndex,previousContainer:d.previousContainer.data,container:d.container.data,isPointerOverContainer:d.isPointerOverContainer,item:this,distance:d.distance,dropPoint:d.dropPoint,event:d.event})})}_assignDefaults(r){const{lockAxis:d,dragStartDelay:h,constrainPosition:_,previewClass:b,boundaryElement:x,draggingDisabled:F,rootElementSelector:k,previewContainer:N}=r;this.disabled=F??!1,this.dragStartDelay=h||0,d&&(this.lockAxis=d),_&&(this.constrainPosition=_),b&&(this.previewClass=b),x&&(this.boundaryElement=x),k&&(this.rootElementSelector=k),N&&(this.previewContainer=N)}_setupHandlesListener(){this._handles.pipe((0,Yt.M)(r=>{const d=r.map(h=>h.element);this._selfHandle&&this.rootElementSelector&&d.push(this.element),this._dragRef.withHandles(d)}),(0,Rt.n)(r=>(0,_t.h)(...r.map(d=>d._stateChanges.pipe((0,Mt.Z)(d))))),(0,It.Q)(this._destroyed)).subscribe(r=>{const d=this._dragRef,h=r.element.nativeElement;r.disabled?d.disableHandle(h):d.enableHandle(h)})}static#e=this.\u0275fac=function(d){return new(d||u)(t.rXU(t.aKT),t.rXU(a,12),t.rXU(i.qQ),t.rXU(t.SKi),t.rXU(t.c1b),t.rXU(f,8),t.rXU(Ut.dS,8),t.rXU(S),t.rXU(t.gRc),t.rXU(H,10),t.rXU(E,12))};static#i=this.\u0275dir=t.FsC({type:u,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(d,h){2&d&&t.AVh("cdk-drag-disabled",h.disabled)("cdk-drag-dragging",h._dragRef.isDragging())},inputs:{data:[0,"cdkDragData","data"],lockAxis:[0,"cdkDragLockAxis","lockAxis"],rootElementSelector:[0,"cdkDragRootElement","rootElementSelector"],boundaryElement:[0,"cdkDragBoundary","boundaryElement"],dragStartDelay:[0,"cdkDragStartDelay","dragStartDelay"],freeDragPosition:[0,"cdkDragFreeDragPosition","freeDragPosition"],disabled:[2,"cdkDragDisabled","disabled",t.L39],constrainPosition:[0,"cdkDragConstrainPosition","constrainPosition"],previewClass:[0,"cdkDragPreviewClass","previewClass"],previewContainer:[0,"cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[t.Jv_([{provide:E,useExisting:u}]),t.GFd,t.OA$]})}return u})();const c=new t.nKC("CdkDropListGroup");let M=(()=>{class u{constructor(){this._items=new Set,this.disabled=!1}ngOnDestroy(){this._items.clear()}static#t=this.\u0275fac=function(d){return new(d||u)};static#e=this.\u0275dir=t.FsC({type:u,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:[2,"cdkDropListGroupDisabled","disabled",t.L39]},exportAs:["cdkDropListGroup"],standalone:!0,features:[t.Jv_([{provide:c,useExisting:u}]),t.GFd]})}return u})(),O=0,rt=(()=>{class u{static#t=this._dropLists=[];get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(r){this._dropListRef.disabled=this._disabled=r}constructor(r,d,h,_,b,x,F){this.element=r,this._changeDetectorRef=h,this._scrollDispatcher=_,this._dir=b,this._group=x,this._destroyed=new T.B7,this.connectedTo=[],this.id="cdk-drop-list-"+O++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new t.bkB,this.entered=new t.bkB,this.exited=new t.bkB,this.sorted=new t.bkB,this._unsortedItems=new Set,this._dropListRef=d.createDropList(r),this._dropListRef.data=this,F&&this._assignDefaults(F),this._dropListRef.enterPredicate=(k,N)=>this.enterPredicate(k.data,N.data),this._dropListRef.sortPredicate=(k,N,Y)=>this.sortPredicate(k,N.data,Y.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),u._dropLists.push(this),x&&x._items.add(this)}addItem(r){this._unsortedItems.add(r),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(r){this._unsortedItems.delete(r),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((r,d)=>r._dragRef.getVisibleElement().compareDocumentPosition(d._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const r=u._dropLists.indexOf(this);r>-1&&u._dropLists.splice(r,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(r){this._dir&&this._dir.change.pipe((0,Mt.Z)(this._dir.value),(0,It.Q)(this._destroyed)).subscribe(d=>r.withDirection(d)),r.beforeStarted.subscribe(()=>{const d=(0,z.FG)(this.connectedTo).map(h=>"string"==typeof h?u._dropLists.find(b=>b.id===h):h);if(this._group&&this._group._items.forEach(h=>{-1===d.indexOf(h)&&d.push(h)}),!this._scrollableParentsResolved){const h=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(_=>_.getElementRef().nativeElement);this._dropListRef.withScrollableParents(h),this._scrollableParentsResolved=!0}r.disabled=this.disabled,r.lockAxis=this.lockAxis,r.sortingDisabled=this.sortingDisabled,r.autoScrollDisabled=this.autoScrollDisabled,r.autoScrollStep=(0,z.OE)(this.autoScrollStep,2),r.connectedTo(d.filter(h=>h&&h!==this).map(h=>h._dropListRef)).withOrientation(this.orientation)})}_handleEvents(r){r.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),r.entered.subscribe(d=>{this.entered.emit({container:this,item:d.item.data,currentIndex:d.currentIndex})}),r.exited.subscribe(d=>{this.exited.emit({container:this,item:d.item.data}),this._changeDetectorRef.markForCheck()}),r.sorted.subscribe(d=>{this.sorted.emit({previousIndex:d.previousIndex,currentIndex:d.currentIndex,container:this,item:d.item.data})}),r.dropped.subscribe(d=>{this.dropped.emit({previousIndex:d.previousIndex,currentIndex:d.currentIndex,previousContainer:d.previousContainer.data,container:d.container.data,item:d.item.data,isPointerOverContainer:d.isPointerOverContainer,distance:d.distance,dropPoint:d.dropPoint,event:d.event}),this._changeDetectorRef.markForCheck()}),(0,_t.h)(r.receivingStarted,r.receivingStopped).subscribe(()=>this._changeDetectorRef.markForCheck())}_assignDefaults(r){const{lockAxis:d,draggingDisabled:h,sortingDisabled:_,listAutoScrollDisabled:b,listOrientation:x}=r;this.disabled=h??!1,this.sortingDisabled=_??!1,this.autoScrollDisabled=b??!1,this.orientation=x||"vertical",d&&(this.lockAxis=d)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(r=>r._dragRef))}static#e=this.\u0275fac=function(d){return new(d||u)(t.rXU(t.aKT),t.rXU(S),t.rXU(t.gRc),t.rXU(X.R),t.rXU(Ut.dS,8),t.rXU(c,12),t.rXU(f,8))};static#i=this.\u0275dir=t.FsC({type:u,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(d,h){2&d&&(t.BMQ("id",h.id),t.AVh("cdk-drop-list-disabled",h.disabled)("cdk-drop-list-dragging",h._dropListRef.isDragging())("cdk-drop-list-receiving",h._dropListRef.isReceiving()))},inputs:{connectedTo:[0,"cdkDropListConnectedTo","connectedTo"],data:[0,"cdkDropListData","data"],orientation:[0,"cdkDropListOrientation","orientation"],id:"id",lockAxis:[0,"cdkDropListLockAxis","lockAxis"],disabled:[2,"cdkDropListDisabled","disabled",t.L39],sortingDisabled:[2,"cdkDropListSortingDisabled","sortingDisabled",t.L39],enterPredicate:[0,"cdkDropListEnterPredicate","enterPredicate"],sortPredicate:[0,"cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:[2,"cdkDropListAutoScrollDisabled","autoScrollDisabled",t.L39],autoScrollStep:[0,"cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],standalone:!0,features:[t.Jv_([{provide:c,useValue:void 0},{provide:a,useExisting:u}]),t.GFd]})}return u})();const Qt=new t.nKC("CdkDragPreview");let Ht=(()=>{class u{constructor(r){this.templateRef=r,this._drag=(0,t.WQX)(E,{optional:!0}),this.matchSize=!1,this._drag?._setPreviewTemplate(this)}ngOnDestroy(){this._drag?._resetPreviewTemplate(this)}static#t=this.\u0275fac=function(d){return new(d||u)(t.rXU(t.C4Q))};static#e=this.\u0275dir=t.FsC({type:u,selectors:[["ng-template","cdkDragPreview",""]],inputs:{data:"data",matchSize:[2,"matchSize","matchSize",t.L39]},standalone:!0,features:[t.Jv_([{provide:Qt,useExisting:u}]),t.GFd]})}return u})();const be=new t.nKC("CdkDragPlaceholder");let re=(()=>{class u{constructor(r){this.templateRef=r,this._drag=(0,t.WQX)(E,{optional:!0}),this._drag?._setPlaceholderTemplate(this)}ngOnDestroy(){this._drag?._resetPlaceholderTemplate(this)}static#t=this.\u0275fac=function(d){return new(d||u)(t.rXU(t.C4Q))};static#e=this.\u0275dir=t.FsC({type:u,selectors:[["ng-template","cdkDragPlaceholder",""]],inputs:{data:"data"},standalone:!0,features:[t.Jv_([{provide:be,useExisting:u}])]})}return u})()},8170:(de,kt,C)=>{C.d(kt,{a:()=>W});var t=C(4438),i=C(5286),X=C(5817),q=C(8728),z=C(8712),K=C(7605);class G{constructor(j){this._box=j,this._destroyed=new i.B7,this._resizeSubject=new i.B7,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(tt=>this._resizeSubject.next(tt)))}observe(j){return this._elementObservables.has(j)||this._elementObservables.set(j,new X.c(tt=>{const at=this._resizeSubject.subscribe(tt);return this._resizeObserver?.observe(j,{box:this._box}),()=>{this._resizeObserver?.unobserve(j),at.unsubscribe(),this._elementObservables.delete(j)}}).pipe((0,q.p)(tt=>tt.some(at=>at.target===j)),(0,z.t)({bufferSize:1,refCount:!0}),(0,K.Q)(this._destroyed))),this._elementObservables.get(j)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let W=(()=>{class B{constructor(){this._observers=new Map,this._ngZone=(0,t.WQX)(t.SKi)}ngOnDestroy(){for(const[,tt]of this._observers)tt.destroy();this._observers.clear()}observe(tt,at){const $=at?.box||"content-box";return this._observers.has($)||this._observers.set($,new G($)),this._observers.get($).observe(tt)}static#t=this.\u0275fac=function(at){return new(at||B)};static#e=this.\u0275prov=t.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},3532:(de,kt,C)=>{C.r(kt),C.d(kt,{ChipsAutocompleteExample:()=>w,ChipsAvatarExample:()=>it,ChipsDragDropExample:()=>Z,ChipsFormControlExample:()=>H,ChipsHarnessExample:()=>R,ChipsInputExample:()=>v,ChipsOverviewExample:()=>S,ChipsStackedExample:()=>E});var t=C(7336),i=C(4438),X=C(9417),q=C(850),z=C(177),K=C(6600),T=C(8617),G=C(5286),W=C(4670),B=C(7605),j=C(3176),tt=C(9090),at=C(8203),$=C(3719);const _t=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],Q=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function It(f,U){1&f&&(i.j41(0,"span",3),i.SdG(1,1),i.k0s())}function J(f,U){1&f&&(i.j41(0,"span",6),i.SdG(1,2),i.k0s())}function ut(f,U){1&f&&(i.j41(0,"span",3),i.SdG(1,1),i.j41(2,"span",8),i.qSk(),i.j41(3,"svg",9),i.nrm(4,"path",10),i.k0s()()())}function Yt(f,U){1&f&&(i.j41(0,"span",6),i.SdG(1,2),i.k0s())}const Rt='.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused:before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus:before{border-color:var(--mdc-chip-focus-outline-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-disabled-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-hover-state-layer-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-hover-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-selected-hover-state-layer-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color);--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color);--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color);--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color)}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color)}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color);opacity:var(--mdc-chip-hover-state-layer-opacity)}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color);opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color);opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color)}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity)}.mat-mdc-chip-remove::after{background:var(--mat-chip-trailing-action-state-layer-color)}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity)}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity)}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background:var(--mat-chip-selected-trailing-action-state-layer-color)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-2px;bottom:-2px;left:6px;right:6px;border-radius:50%}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}',Mt=[[["mat-chip-avatar"],["","matChipAvatar",""]],[["","matChipEditInput",""]],"*",[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],Ut=["mat-chip-avatar, [matChipAvatar]","[matChipEditInput]","*","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function Pt(f,U){1&f&&i.nrm(0,"span",0)}function gt(f,U){1&f&&(i.j41(0,"span",2),i.SdG(1),i.k0s())}function Tt(f,U){1&f&&i.SdG(0,1)}function St(f,U){1&f&&i.nrm(0,"span",7)}function zt(f,U){if(1&f&&i.DNE(0,Tt,1,0)(1,St,1,0,"span",7),2&f){const a=i.XpG();i.vxM(a.contentEditInput?0:1)}}function Ft(f,U){1&f&&i.SdG(0,2)}function xt(f,U){1&f&&(i.j41(0,"span",5),i.SdG(1,3),i.k0s())}const yt=["*"],vt=".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}",wt=new i.nKC("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[t.Fm]})}),Ct=new i.nKC("MatChipAvatar"),Vt=new i.nKC("MatChipTrailingIcon"),At=new i.nKC("MatChipRemove"),Lt=new i.nKC("MatChip");let ct=(()=>{class f{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(a){this._disabled=a}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(a,p){this._elementRef=a,this._parentChip=p,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this.tabIndex=-1,this._allowFocusWhenDisabled=!1,"BUTTON"===a.nativeElement.nodeName&&a.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(a){!this.disabled&&this.isInteractive&&this._isPrimary&&(a.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(a){(a.keyCode===t.Fm||a.keyCode===t.t6)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(a.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static#t=this.\u0275fac=function(p){return new(p||f)(i.rXU(i.aKT),i.rXU(Lt))};static#e=this.\u0275dir=i.FsC({type:f,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(p,c){1&p&&i.bIt("click",function(O){return c._handleClick(O)})("keydown",function(O){return c._handleKeydown(O)}),2&p&&(i.BMQ("tabindex",c._getTabindex())("disabled",c._getDisabledAttribute())("aria-disabled",c.disabled),i.AVh("mdc-evolution-chip__action--primary",c._isPrimary)("mdc-evolution-chip__action--presentational",!c.isInteractive)("mdc-evolution-chip__action--trailing",!c._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",i.L39],tabIndex:[2,"tabIndex","tabIndex",a=>null==a?-1:(0,i.Udg)(a)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},standalone:!0,features:[i.GFd]})}return f})(),Dt=(()=>{class f{static#t=this.\u0275fac=function(p){return new(p||f)};static#e=this.\u0275dir=i.FsC({type:f,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:["role","img",1,"mat-mdc-chip-avatar","mdc-evolution-chip__icon","mdc-evolution-chip__icon--primary"],standalone:!0,features:[i.Jv_([{provide:Ct,useExisting:f}])]})}return f})(),ft=(()=>{class f extends ct{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(a){this.disabled||(a.stopPropagation(),a.preventDefault(),this._parentChip.remove())}_handleKeydown(a){(a.keyCode===t.Fm||a.keyCode===t.t6)&&!this.disabled&&(a.stopPropagation(),a.preventDefault(),this._parentChip.remove())}static#t=this.\u0275fac=(()=>{let a;return function(c){return(a||(a=i.xGo(f)))(c||f)}})();static#e=this.\u0275dir=i.FsC({type:f,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-mdc-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(p,c){2&p&&i.BMQ("aria-hidden",null)},standalone:!0,features:[i.Jv_([{provide:At,useExisting:f}]),i.Vt3]})}return f})(),Kt=0,ot=(()=>{class f{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(a){this._value=a}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(a){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,a)}constructor(a,p,c,M,O,rt,Qt,Ht){this._changeDetectorRef=a,this._elementRef=p,this._ngZone=c,this._focusMonitor=M,this._globalRippleOptions=Qt,this._onFocus=new G.B7,this._onBlur=new G.B7,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+Kt++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this.removable=!0,this.highlighted=!1,this.disableRipple=!1,this.disabled=!1,this.tabIndex=-1,this.removed=new i.bkB,this.destroyed=new i.bkB,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=(0,i.WQX)(K.Ej),this._injector=(0,i.WQX)(i.zZn),this._document=O,this._animationsDisabled="NoopAnimations"===rt,null!=Ht&&(this.tabIndex=parseInt(Ht)??-1),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){const a=this._elementRef.nativeElement;this._isBasicChip=a.hasAttribute(this.basicChipAttrName)||a.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=(0,W.h)(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(a){(a.keyCode===t.G_&&!a.repeat||a.keyCode===t.SJ)&&(a.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(a){return this._getActions().find(p=>{const c=p._elementRef.nativeElement;return c===a||c.contains(a)})}_getActions(){const a=[];return this.primaryAction&&a.push(this.primaryAction),this.removeIcon&&a.push(this.removeIcon),this.trailingIcon&&a.push(this.trailingIcon),a}_handlePrimaryActionInteraction(){}_getTabIndex(){return this.role?this.disabled?-1:this.tabIndex:null}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(a=>{const p=null!==a;p!==this._hasFocusInternal&&(this._hasFocusInternal=p,p?this._onFocus.next({chip:this}):(0,i.mal)(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})),{injector:this._injector}))})}static#t=this.\u0275fac=function(p){return new(p||f)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi),i.rXU(T.FN),i.rXU(z.qQ),i.rXU(i.bc$,8),i.rXU(K.$E,8),i.kS0("tabindex"))};static#e=this.\u0275cmp=i.VBU({type:f,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(p,c,M){if(1&p&&(i.wni(M,Ct,5),i.wni(M,Vt,5),i.wni(M,At,5),i.wni(M,Ct,5),i.wni(M,Vt,5),i.wni(M,At,5)),2&p){let O;i.mGM(O=i.lsd())&&(c.leadingIcon=O.first),i.mGM(O=i.lsd())&&(c.trailingIcon=O.first),i.mGM(O=i.lsd())&&(c.removeIcon=O.first),i.mGM(O=i.lsd())&&(c._allLeadingIcons=O),i.mGM(O=i.lsd())&&(c._allTrailingIcons=O),i.mGM(O=i.lsd())&&(c._allRemoveIcons=O)}},viewQuery:function(p,c){if(1&p&&i.GBs(ct,5),2&p){let M;i.mGM(M=i.lsd())&&(c.primaryAction=M.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:32,hostBindings:function(p,c){1&p&&i.bIt("keydown",function(O){return c._handleKeydown(O)}),2&p&&(i.Mr5("id",c.id),i.BMQ("role",c.role)("tabindex",c._getTabIndex())("aria-label",c.ariaLabel),i.HbH("mat-"+(c.color||"primary")),i.AVh("mdc-evolution-chip",!c._isBasicChip)("mdc-evolution-chip--disabled",c.disabled)("mdc-evolution-chip--with-trailing-action",c._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",c.leadingIcon)("mdc-evolution-chip--with-primary-icon",c.leadingIcon)("mdc-evolution-chip--with-avatar",c.leadingIcon)("mat-mdc-chip-with-avatar",c.leadingIcon)("mat-mdc-chip-highlighted",c.highlighted)("mat-mdc-chip-disabled",c.disabled)("mat-mdc-basic-chip",c._isBasicChip)("mat-mdc-standard-chip",!c._isBasicChip)("mat-mdc-chip-with-trailing-icon",c._hasTrailingIcon())("_mat-animation-noopable",c._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",i.L39],highlighted:[2,"highlighted","highlighted",i.L39],disableRipple:[2,"disableRipple","disableRipple",i.L39],disabled:[2,"disabled","disabled",i.L39],tabIndex:[2,"tabIndex","tabIndex",a=>null==a?void 0:(0,i.Udg)(a)]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],standalone:!0,features:[i.Jv_([{provide:Lt,useExisting:f}]),i.GFd,i.aNF],ngContentSelectors:Q,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(p,c){1&p&&(i.NAR(_t),i.nrm(0,"span",0),i.j41(1,"span",1)(2,"span",2),i.DNE(3,It,2,0,"span",3),i.j41(4,"span",4),i.SdG(5),i.nrm(6,"span",5),i.k0s()()(),i.DNE(7,J,2,0,"span",6)),2&p&&(i.R7$(2),i.Y8G("isInteractive",!1),i.R7$(),i.vxM(c.leadingIcon?3:-1),i.R7$(4),i.vxM(c._hasTrailingIcon()?7:-1))},dependencies:[ct],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused:before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus:before{border-color:var(--mdc-chip-focus-outline-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-disabled-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-hover-state-layer-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-hover-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-selected-hover-state-layer-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color);--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color);--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color);--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color)}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color)}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color);opacity:var(--mdc-chip-hover-state-layer-opacity)}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color);opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color);opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color)}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity)}.mat-mdc-chip-remove::after{background:var(--mat-chip-trailing-action-state-layer-color)}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity)}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity)}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background:var(--mat-chip-selected-trailing-action-state-layer-color)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-2px;bottom:-2px;left:6px;right:6px;border-radius:50%}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return f})(),P=(()=>{class f extends ot{constructor(){super(...arguments),this._defaultOptions=(0,i.WQX)(wt,{optional:!0}),this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListHideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._selectable=!0,this._selected=!1,this.basicChipAttrName="mat-basic-chip-option",this.selectionChange=new i.bkB}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(a){this._selectable=a,this._changeDetectorRef.markForCheck()}get selected(){return this._selected}set selected(a){this._setSelectedState(a,!1,!0)}get ariaSelected(){return this.selectable?this.selected.toString():null}ngOnInit(){super.ngOnInit(),this.role="presentation"}select(){this._setSelectedState(!0,!1,!0)}deselect(){this._setSelectedState(!1,!1,!0)}selectViaInteraction(){this._setSelectedState(!0,!0,!0)}toggleSelected(a=!1){return this._setSelectedState(!this.selected,a,!0),this.selected}_handlePrimaryActionInteraction(){this.disabled||(this.focus(),this.selectable&&this.toggleSelected(!0))}_hasLeadingGraphic(){return!!this.leadingIcon||!this._chipListHideSingleSelectionIndicator||this._chipListMultiple}_setSelectedState(a,p,c){a!==this.selected&&(this._selected=a,c&&this.selectionChange.emit({source:this,isUserInput:p,selected:this.selected}),this._changeDetectorRef.markForCheck())}static#t=this.\u0275fac=(()=>{let a;return function(c){return(a||(a=i.xGo(f)))(c||f)}})();static#e=this.\u0275cmp=i.VBU({type:f,selectors:[["mat-basic-chip-option"],["","mat-basic-chip-option",""],["mat-chip-option"],["","mat-chip-option",""]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option"],hostVars:37,hostBindings:function(p,c){2&p&&(i.Mr5("id",c.id),i.BMQ("tabindex",null)("aria-label",null)("aria-description",null)("role",c.role),i.AVh("mdc-evolution-chip",!c._isBasicChip)("mdc-evolution-chip--filter",!c._isBasicChip)("mdc-evolution-chip--selectable",!c._isBasicChip)("mat-mdc-chip-selected",c.selected)("mat-mdc-chip-multiple",c._chipListMultiple)("mat-mdc-chip-disabled",c.disabled)("mat-mdc-chip-with-avatar",c.leadingIcon)("mdc-evolution-chip--disabled",c.disabled)("mdc-evolution-chip--selected",c.selected)("mdc-evolution-chip--selecting",!c._animationsDisabled)("mdc-evolution-chip--with-trailing-action",c._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",c.leadingIcon)("mdc-evolution-chip--with-primary-graphic",c._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",c.leadingIcon)("mat-mdc-chip-highlighted",c.highlighted)("mat-mdc-chip-with-trailing-icon",c._hasTrailingIcon()))},inputs:{selectable:[2,"selectable","selectable",i.L39],selected:[2,"selected","selected",i.L39]},outputs:{selectionChange:"selectionChange"},standalone:!0,features:[i.Jv_([{provide:ot,useExisting:f},{provide:Lt,useExisting:f}]),i.GFd,i.Vt3,i.aNF],ngContentSelectors:Q,decls:10,vars:9,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"tabIndex","_allowFocusWhenDisabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"cdk-visually-hidden",3,"id"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false","aria-hidden","true",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"]],template:function(p,c){1&p&&(i.NAR(_t),i.nrm(0,"span",0),i.j41(1,"span",1)(2,"button",2),i.DNE(3,ut,5,0,"span",3),i.j41(4,"span",4),i.SdG(5),i.nrm(6,"span",5),i.k0s()()(),i.DNE(7,Yt,2,0,"span",6),i.j41(8,"span",7),i.EFF(9),i.k0s()),2&p&&(i.R7$(2),i.Y8G("tabIndex",c.tabIndex)("_allowFocusWhenDisabled",!0),i.BMQ("aria-selected",c.ariaSelected)("aria-label",c.ariaLabel)("aria-describedby",c._ariaDescriptionId),i.R7$(),i.vxM(c._hasLeadingGraphic()?3:-1),i.R7$(4),i.vxM(c._hasTrailingIcon()?7:-1),i.R7$(),i.Y8G("id",c._ariaDescriptionId),i.R7$(),i.JRh(c.ariaDescription))},dependencies:[ct],styles:[Rt],encapsulation:2,changeDetection:0})}return f})(),ht=(()=>{class f{constructor(a,p){this._elementRef=a,this._document=p}initialize(a){this.getNativeElement().focus(),this.setValue(a)}getNativeElement(){return this._elementRef.nativeElement}setValue(a){this.getNativeElement().textContent=a,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){const a=this._document.createRange();a.selectNodeContents(this.getNativeElement()),a.collapse(!1);const p=window.getSelection();p.removeAllRanges(),p.addRange(a)}static#t=this.\u0275fac=function(p){return new(p||f)(i.rXU(i.aKT),i.rXU(z.qQ))};static#e=this.\u0275dir=i.FsC({type:f,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"],standalone:!0})}return f})(),g=(()=>{class f extends ot{constructor(a,p,c,M,O,rt,Qt,Ht){super(a,p,c,M,O,rt,Qt,Ht),this.basicChipAttrName="mat-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new i.bkB,this._isEditing=!1,this.role="row",this._onBlur.pipe((0,B.Q)(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_handleFocus(){!this._isEditing&&!this.disabled&&this.focus()}_handleKeydown(a){a.keyCode!==t.Fm||this.disabled?this._isEditing?a.stopPropagation():super._handleKeydown(a):this._isEditing?(a.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(a)}_handleDoubleclick(a){!this.disabled&&this.editable&&this._startEditing(a)}_startEditing(a){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(a.target)===this.removeIcon)return;const p=this.value;this._isEditing=this._editStartPending=!0,this._changeDetectorRef.detectChanges(),setTimeout(()=>{this._getEditInput().initialize(p),this._editStartPending=!1})}_onEditFinish(){this._isEditing=this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_isRippleDisabled(){return super._isRippleDisabled()||this._isEditing}_getEditInput(){return this.contentEditInput||this.defaultEditInput}static#t=this.\u0275fac=function(p){return new(p||f)(i.rXU(i.gRc),i.rXU(i.aKT),i.rXU(i.SKi),i.rXU(T.FN),i.rXU(z.qQ),i.rXU(i.bc$,8),i.rXU(K.$E,8),i.kS0("tabindex"))};static#e=this.\u0275cmp=i.VBU({type:f,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(p,c,M){if(1&p&&i.wni(M,ht,5),2&p){let O;i.mGM(O=i.lsd())&&(c.contentEditInput=O.first)}},viewQuery:function(p,c){if(1&p&&i.GBs(ht,5),2&p){let M;i.mGM(M=i.lsd())&&(c.defaultEditInput=M.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(p,c){1&p&&i.bIt("focus",function(O){return c._handleFocus(O)})("dblclick",function(O){return c._handleDoubleclick(O)}),2&p&&(i.Mr5("id",c.id),i.BMQ("tabindex",c.disabled?null:-1)("aria-label",null)("aria-description",null)("role",c.role),i.AVh("mat-mdc-chip-with-avatar",c.leadingIcon)("mat-mdc-chip-disabled",c.disabled)("mat-mdc-chip-editing",c._isEditing)("mat-mdc-chip-editable",c.editable)("mdc-evolution-chip--disabled",c.disabled)("mdc-evolution-chip--with-trailing-action",c._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",c.leadingIcon)("mdc-evolution-chip--with-primary-icon",c.leadingIcon)("mdc-evolution-chip--with-avatar",c.leadingIcon)("mat-mdc-chip-highlighted",c.highlighted)("mat-mdc-chip-with-trailing-icon",c._hasTrailingIcon()))},inputs:{editable:"editable"},outputs:{edited:"edited"},standalone:!0,features:[i.Jv_([{provide:ot,useExisting:f},{provide:Lt,useExisting:f}]),i.Vt3,i.aNF],ngContentSelectors:Ut,decls:10,vars:10,consts:[[1,"mat-mdc-chip-focus-overlay"],["role","gridcell","matChipAction","",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary",3,"tabIndex","disabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],["aria-hidden","true",1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"cdk-visually-hidden",3,"id"],["matChipEditInput",""]],template:function(p,c){1&p&&(i.NAR(Mt),i.DNE(0,Pt,1,0,"span",0),i.j41(1,"span",1),i.DNE(2,gt,2,0,"span",2),i.j41(3,"span",3),i.DNE(4,zt,2,1)(5,Ft,1,0),i.nrm(6,"span",4),i.k0s()(),i.DNE(7,xt,2,0,"span",5),i.j41(8,"span",6),i.EFF(9),i.k0s()),2&p&&(i.vxM(c._isEditing?-1:0),i.R7$(),i.Y8G("tabIndex",c.tabIndex)("disabled",c.disabled),i.BMQ("aria-label",c.ariaLabel)("aria-describedby",c._ariaDescriptionId),i.R7$(),i.vxM(c.leadingIcon?2:-1),i.R7$(2),i.vxM(c._isEditing?4:5),i.R7$(3),i.vxM(c._hasTrailingIcon()?7:-1),i.R7$(),i.Y8G("id",c._ariaDescriptionId),i.R7$(),i.JRh(c.ariaDescription))},dependencies:[ct,ht],styles:[Rt],encapsulation:2,changeDetection:0})}return f})(),y=(()=>{class f{get chipFocusChanges(){return this._getChipStream(a=>a._onFocus)}get chipDestroyedChanges(){return this._getChipStream(a=>a.destroyed)}get chipRemovedChanges(){return this._getChipStream(a=>a.removed)}get disabled(){return this._disabled}set disabled(a){this._disabled=a,this._syncChipsState()}get empty(){return!this._chips||0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(a){this._explicitRole=a}get focused(){return this._hasFocusedChip()}constructor(a,p,c){this._elementRef=a,this._changeDetectorRef=p,this._dir=c,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new G.B7,this._defaultRole="presentation",this._disabled=!1,this.tabIndex=0,this._explicitRole=null,this._chipActions=new i.rOR}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(a=>a._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(a=>{a.disabled=this._disabled,a._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(a){this._originatesFromChip(a)&&this._keyManager.onKeydown(a)}_isValidIndex(a){return a>=0&&a<this._chips.length}_allowFocusEscape(){if(-1!==this.tabIndex){const a=this.tabIndex;this.tabIndex=-1,setTimeout(()=>this.tabIndex=a)}}_getChipStream(a){return this._chips.changes.pipe((0,j.Z)(null),(0,tt.n)(()=>(0,W.h)(...this._chips.map(a))))}_originatesFromChip(a){let p=a.target;for(;p&&p!==this._elementRef.nativeElement;){if(p.classList.contains("mat-mdc-chip"))return!0;p=p.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe((0,j.Z)(this._chips)).subscribe(a=>{const p=[];a.forEach(c=>c._getActions().forEach(M=>p.push(M))),this._chipActions.reset(p),this._chipActions.notifyOnChanges()}),this._keyManager=new T.Bu(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(a=>this._skipPredicate(a)),this.chipFocusChanges.pipe((0,B.Q)(this._destroyed)).subscribe(({chip:a})=>{const p=a._getSourceAction(document.activeElement);p&&this._keyManager.updateActiveItem(p)}),this._dir?.change.pipe((0,B.Q)(this._destroyed)).subscribe(a=>this._keyManager.withHorizontalOrientation(a))}_skipPredicate(a){return!a.isInteractive||a.disabled}_trackChipSetChanges(){this._chips.changes.pipe((0,j.Z)(null),(0,B.Q)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe((0,B.Q)(this._destroyed)).subscribe(a=>{const c=this._chips.toArray().indexOf(a.chip);this._isValidIndex(c)&&a.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=c)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const a=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),p=this._chips.toArray()[a];p.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():p.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static#t=this.\u0275fac=function(p){return new(p||f)(i.rXU(i.aKT),i.rXU(i.gRc),i.rXU(at.dS,8))};static#e=this.\u0275cmp=i.VBU({type:f,selectors:[["mat-chip-set"]],contentQueries:function(p,c,M){if(1&p&&i.wni(M,ot,5),2&p){let O;i.mGM(O=i.lsd())&&(c._chips=O)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(p,c){1&p&&i.bIt("keydown",function(O){return c._handleKeydown(O)}),2&p&&i.BMQ("role",c.role)},inputs:{disabled:[2,"disabled","disabled",i.L39],role:"role",tabIndex:[2,"tabIndex","tabIndex",a=>null==a?0:(0,i.Udg)(a)]},standalone:!0,features:[i.GFd,i.aNF],ngContentSelectors:yt,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(p,c){1&p&&(i.NAR(),i.j41(0,"div",0),i.SdG(1),i.k0s())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}return f})();class D{constructor(U,a){this.source=U,this.value=a}}const I={provide:X.kq,useExisting:(0,i.Rfq)(()=>V),multi:!0};let V=(()=>{class f extends y{constructor(){super(...arguments),this._onTouched=()=>{},this._onChange=()=>{},this._defaultRole="listbox",this._defaultOptions=(0,i.WQX)(wt,{optional:!0}),this._multiple=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.compareWith=(a,p)=>a===p,this.required=!1,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this.change=new i.bkB,this._chips=void 0}get multiple(){return this._multiple}set multiple(a){this._multiple=a,this._syncListboxProperties()}get selected(){const a=this._chips.toArray().filter(p=>p.selected);return this.multiple?a:a[0]}get selectable(){return this._selectable}set selectable(a){this._selectable=a,this._syncListboxProperties()}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(a){this._hideSingleSelectionIndicator=a,this._syncListboxProperties()}get chipSelectionChanges(){return this._getChipStream(a=>a.selectionChange)}get chipBlurChanges(){return this._getChipStream(a=>a._onBlur)}get value(){return this._value}set value(a){this.writeValue(a),this._value=a}ngAfterContentInit(){void 0!==this._pendingInitialValue&&Promise.resolve().then(()=>{this._setSelectionByValue(this._pendingInitialValue,!1),this._pendingInitialValue=void 0}),this._chips.changes.pipe((0,j.Z)(null),(0,B.Q)(this._destroyed)).subscribe(()=>{this._syncListboxProperties()}),this.chipBlurChanges.pipe((0,B.Q)(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe((0,B.Q)(this._destroyed)).subscribe(a=>{this.multiple||this._chips.forEach(p=>{p!==a.source&&p._setSelectedState(!1,!1,!1)}),a.isUserInput&&this._propagateChanges()})}focus(){if(this.disabled)return;const a=this._getFirstSelectedChip();a&&!a.disabled?a.focus():this._chips.length>0?this._keyManager.setFirstItemActive():this._elementRef.nativeElement.focus()}writeValue(a){this._chips?this._setSelectionByValue(a,!1):null!=a&&(this._pendingInitialValue=a)}registerOnChange(a){this._onChange=a}registerOnTouched(a){this._onTouched=a}setDisabledState(a){this.disabled=a}_setSelectionByValue(a,p=!0){this._clearSelection(),Array.isArray(a)?a.forEach(c=>this._selectValue(c,p)):this._selectValue(a,p)}_blur(){this.disabled||setTimeout(()=>{this.focused||this._markAsTouched()})}_keydown(a){a.keyCode===t.wn&&super._allowFocusEscape()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck()}_propagateChanges(){let a=null;a=Array.isArray(this.selected)?this.selected.map(p=>p.value):this.selected?this.selected.value:void 0,this._value=a,this.change.emit(new D(this,a)),this._onChange(a),this._changeDetectorRef.markForCheck()}_clearSelection(a){this._chips.forEach(p=>{p!==a&&p.deselect()})}_selectValue(a,p){const c=this._chips.find(M=>null!=M.value&&this.compareWith(M.value,a));return c&&(p?c.selectViaInteraction():c.select()),c}_syncListboxProperties(){this._chips&&Promise.resolve().then(()=>{this._chips.forEach(a=>{a._chipListMultiple=this.multiple,a.chipListSelectable=this._selectable,a._chipListHideSingleSelectionIndicator=this.hideSingleSelectionIndicator,a._changeDetectorRef.markForCheck()})})}_getFirstSelectedChip(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected}_skipPredicate(a){return!a.isInteractive}static#t=this.\u0275fac=(()=>{let a;return function(c){return(a||(a=i.xGo(f)))(c||f)}})();static#e=this.\u0275cmp=i.VBU({type:f,selectors:[["mat-chip-listbox"]],contentQueries:function(p,c,M){if(1&p&&i.wni(M,P,5),2&p){let O;i.mGM(O=i.lsd())&&(c._chips=O)}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(p,c){1&p&&i.bIt("focus",function(){return c.focus()})("blur",function(){return c._blur()})("keydown",function(O){return c._keydown(O)}),2&p&&(i.Mr5("tabIndex",c.disabled||c.empty?-1:c.tabIndex),i.BMQ("role",c.role)("aria-describedby",c._ariaDescribedby||null)("aria-required",c.role?c.required:null)("aria-disabled",c.disabled.toString())("aria-multiselectable",c.multiple)("aria-orientation",c.ariaOrientation),i.AVh("mat-mdc-chip-list-disabled",c.disabled)("mat-mdc-chip-list-required",c.required))},inputs:{multiple:[2,"multiple","multiple",i.L39],ariaOrientation:[0,"aria-orientation","ariaOrientation"],selectable:[2,"selectable","selectable",i.L39],compareWith:"compareWith",required:[2,"required","required",i.L39],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",i.L39],value:"value"},outputs:{change:"change"},standalone:!0,features:[i.Jv_([I]),i.GFd,i.Vt3,i.aNF],ngContentSelectors:yt,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(p,c){1&p&&(i.NAR(),i.j41(0,"div",0),i.SdG(1),i.k0s())},styles:[vt],encapsulation:2,changeDetection:0})}return f})();class Nt{constructor(U,a){this.source=U,this.value=a}}let lt=(()=>{class f extends y{get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(a){this._disabled=a,this._syncChipsState()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||0===this._chips.length)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(a){this._placeholder=a,this.stateChanges.next()}get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(X.k0.required)??!1}set required(a){this._required=a,this.stateChanges.next()}get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(a){this._value=a}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(a){this._errorStateTracker.matcher=a}get chipBlurChanges(){return this._getChipStream(a=>a._onBlur)}get errorState(){return this._errorStateTracker.errorState}set errorState(a){this._errorStateTracker.errorState=a}constructor(a,p,c,M,O,rt,Qt){super(a,p,c),this.ngControl=Qt,this.controlType="mat-chip-grid",this._defaultRole="grid",this._ariaDescribedbyIds=[],this._onTouched=()=>{},this._onChange=()=>{},this._value=[],this.change=new i.bkB,this.valueChange=new i.bkB,this._chips=void 0,this.stateChanges=new G.B7,this.ngControl&&(this.ngControl.valueAccessor=this),this._errorStateTracker=new K.X0(rt,Qt,O,M,this.stateChanges)}ngAfterContentInit(){this.chipBlurChanges.pipe((0,B.Q)(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),(0,W.h)(this.chipFocusChanges,this._chips.changes).pipe((0,B.Q)(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit()}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(a){this._chipInput=a,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(a){!this.disabled&&!this._originatesFromChip(a)&&this.focus()}focus(){this.disabled||this._chipInput.focused||(!this._chips.length||this._chips.first.disabled?Promise.resolve().then(()=>this._chipInput.focus()):this._chips.length&&this._keyManager.setFirstItemActive(),this.stateChanges.next())}setDescribedByIds(a){this._ariaDescribedbyIds=a,this._chipInput?.setDescribedByIds(a)}writeValue(a){this._value=a}registerOnChange(a){this._onChange=a}registerOnTouched(a){this._onTouched=a}setDisabledState(a){this.disabled=a,this.stateChanges.next()}updateErrorState(){this._errorStateTracker.updateErrorState()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(a){a.keyCode===t.wn?this._chipInput.focused&&(0,t.rp)(a,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(a.preventDefault(),this._keyManager.activeItem?this._keyManager.setActiveItem(this._keyManager.activeItem):this._focusLastChip()):super._allowFocusEscape():this._chipInput.focused||super._handleKeydown(a),this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){const a=this._chips.length?this._chips.toArray().map(p=>p.value):[];this._value=a,this.change.emit(new Nt(this,a)),this.valueChange.emit(a),this._onChange(a),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}static#t=this.\u0275fac=function(p){return new(p||f)(i.rXU(i.aKT),i.rXU(i.gRc),i.rXU(at.dS,8),i.rXU(X.cV,8),i.rXU(X.j4,8),i.rXU(K.es),i.rXU(X.vO,10))};static#e=this.\u0275cmp=i.VBU({type:f,selectors:[["mat-chip-grid"]],contentQueries:function(p,c,M){if(1&p&&i.wni(M,g,5),2&p){let O;i.mGM(O=i.lsd())&&(c._chips=O)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(p,c){1&p&&i.bIt("focus",function(){return c.focus()})("blur",function(){return c._blur()}),2&p&&(i.BMQ("role",c.role)("tabindex",c.disabled||c._chips&&0===c._chips.length?-1:c.tabIndex)("aria-disabled",c.disabled.toString())("aria-invalid",c.errorState),i.AVh("mat-mdc-chip-list-disabled",c.disabled)("mat-mdc-chip-list-invalid",c.errorState)("mat-mdc-chip-list-required",c.required))},inputs:{disabled:[2,"disabled","disabled",i.L39],placeholder:"placeholder",required:[2,"required","required",i.L39],value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},standalone:!0,features:[i.Jv_([{provide:$.qT,useExisting:f}]),i.GFd,i.Vt3,i.aNF],ngContentSelectors:yt,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(p,c){1&p&&(i.NAR(),i.j41(0,"div",0),i.SdG(1),i.k0s())},styles:[vt],encapsulation:2,changeDetection:0})}return f})(),Gt=0,bt=(()=>{class f{get chipGrid(){return this._chipGrid}set chipGrid(a){a&&(this._chipGrid=a,this._chipGrid.registerInput(this))}get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(a){this._disabled=a}get empty(){return!this.inputElement.value}constructor(a,p,c){this._elementRef=a,this.focused=!1,this.addOnBlur=!1,this.chipEnd=new i.bkB,this.placeholder="",this.id="mat-mdc-chip-list-input-"+Gt++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=p.separatorKeyCodes,c&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}_keydown(a){this.empty&&a.keyCode===t.G_?(a.repeat||this._chipGrid._focusLastChip(),a.preventDefault()):this._emitChipEnd(a)}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._chipGrid.stateChanges.next()}_emitChipEnd(a){(!a||this._isSeparatorKey(a))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),a?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value=""}setDescribedByIds(a){const p=this._elementRef.nativeElement;a.length?p.setAttribute("aria-describedby",a.join(" ")):p.removeAttribute("aria-describedby")}_isSeparatorKey(a){return!(0,t.rp)(a)&&new Set(this.separatorKeyCodes).has(a.keyCode)}static#t=this.\u0275fac=function(p){return new(p||f)(i.rXU(i.aKT),i.rXU(wt),i.rXU($.xb,8))};static#e=this.\u0275dir=i.FsC({type:f,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(p,c){1&p&&i.bIt("keydown",function(O){return c._keydown(O)})("blur",function(){return c._blur()})("focus",function(){return c._focus()})("input",function(){return c._onInput()}),2&p&&(i.Mr5("id",c.id),i.BMQ("disabled",c.disabled||null)("placeholder",c.placeholder||null)("aria-invalid",c._chipGrid&&c._chipGrid.ngControl?c._chipGrid.ngControl.invalid:null)("aria-required",c._chipGrid&&c._chipGrid.required||null)("required",c._chipGrid&&c._chipGrid.required||null))},inputs:{chipGrid:[0,"matChipInputFor","chipGrid"],addOnBlur:[2,"matChipInputAddOnBlur","addOnBlur",i.L39],separatorKeyCodes:[0,"matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:[2,"disabled","disabled",i.L39]},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],standalone:!0,features:[i.GFd,i.OA$]})}return f})(),st=(()=>{class f{static#t=this.\u0275fac=function(p){return new(p||f)};static#e=this.\u0275mod=i.$C({type:f});static#i=this.\u0275inj=i.G2t({providers:[K.es,{provide:wt,useValue:{separatorKeyCodes:[t.Fm]}}],imports:[K.yE,K.pZ,K.yE]})}return f})();var et=C(5006),mt=C(9213),Jt=C(5667),Zt=C(8834);const dt=["fruitInput"];function nt(f,U){if(1&f){const a=i.RV6();i.j41(0,"mat-chip-row",8),i.bIt("removed",function(){const c=i.eBV(a).$implicit,M=i.XpG();return i.Njj(M.remove(c))}),i.EFF(1),i.j41(2,"button",9)(3,"mat-icon"),i.EFF(4,"cancel"),i.k0s()()()}if(2&f){const a=U.$implicit;i.R7$(),i.SpI(" ",a," "),i.R7$(),i.BMQ("aria-label","remove "+a)}}function ne(f,U){if(1&f&&(i.j41(0,"mat-option",7),i.EFF(1),i.k0s()),2&f){const a=U.$implicit;i.Y8G("value",a),i.R7$(),i.JRh(a)}}function oe(f,U){if(1&f&&(i.j41(0,"mat-chip",1),i.EFF(1),i.k0s()),2&f){const a=U.$implicit;i.R7$(),i.JRh(a.name)}}function ie(f,U){if(1&f){const a=i.RV6();i.j41(0,"mat-chip-row",5),i.bIt("removed",function(){const c=i.eBV(a).$implicit,M=i.XpG();return i.Njj(M.remove(c))})("edited",function(c){const M=i.eBV(a).$implicit,O=i.XpG();return i.Njj(O.edit(M,c))}),i.EFF(1),i.j41(2,"button",6)(3,"mat-icon"),i.EFF(4,"cancel"),i.k0s()()()}if(2&f){const a=U.$implicit;i.Y8G("editable",!0)("aria-description","press enter to edit "+a.name),i.R7$(),i.SpI(" ",a.name," "),i.R7$(),i.BMQ("aria-label","remove "+a.name)}}function qt(f,U){if(1&f&&(i.j41(0,"mat-chip-option",1),i.EFF(1),i.k0s()),2&f){const a=U.$implicit;i.Y8G("color",a.color),i.R7$(),i.JRh(a.name)}}function $t(f,U){if(1&f){const a=i.RV6();i.j41(0,"mat-chip-row",6),i.bIt("removed",function(){const c=i.eBV(a).$implicit,M=i.XpG();return i.Njj(M.removeKeyword(c))}),i.EFF(1),i.j41(2,"button",7)(3,"mat-icon"),i.EFF(4,"cancel"),i.k0s()()()}if(2&f){const a=U.$implicit;i.R7$(),i.SpI(" ",a," ")}}let w=(()=>{class f{constructor(){this.separatorKeysCodes=[t.Fm,t.KE],this.fruitCtrl=new X.MJ(""),this.fruits=["Lemon"],this.allFruits=["Apple","Lemon","Lime","Orange","Strawberry"],this.announcer=(0,i.WQX)(T.Ai),this.filteredFruits=this.fruitCtrl.valueChanges.pipe((0,j.Z)(null),(0,et.T)(a=>a?this._filter(a):this.allFruits.slice()))}add(a){const p=(a.value||"").trim();p&&this.fruits.push(p),a.chipInput.clear(),this.fruitCtrl.setValue(null)}remove(a){const p=this.fruits.indexOf(a);p>=0&&(this.fruits.splice(p,1),this.announcer.announce(`Removed ${a}`))}selected(a){this.fruits.push(a.option.viewValue),this.fruitInput.nativeElement.value="",this.fruitCtrl.setValue(null)}_filter(a){const p=a.toLowerCase();return this.allFruits.filter(c=>c.toLowerCase().includes(p))}static#t=this.\u0275fac=function(p){return new(p||f)};static#e=this.\u0275cmp=i.VBU({type:f,selectors:[["chips-autocomplete-example"]],viewQuery:function(p,c){if(1&p&&i.GBs(dt,5),2&p){let M;i.mGM(M=i.lsd())&&(c.fruitInput=M.first)}},standalone:!0,features:[i.aNF],decls:15,vars:6,consts:[["chipGrid",""],["fruitInput",""],["auto","matAutocomplete"],[1,"example-chip-list"],["aria-label","Fruit selection"],["placeholder","New Fruit...",3,"matChipInputTokenEnd","formControl","matChipInputFor","matAutocomplete","matChipInputSeparatorKeyCodes"],[3,"optionSelected"],[3,"value"],[3,"removed"],["matChipRemove",""]],template:function(p,c){if(1&p){const M=i.RV6();i.j41(0,"form")(1,"mat-form-field",3)(2,"mat-label"),i.EFF(3,"Favorite Fruits"),i.k0s(),i.j41(4,"mat-chip-grid",4,0),i.Z7z(6,nt,5,2,"mat-chip-row",null,i.fX1),i.k0s(),i.j41(8,"input",5,1),i.bIt("matChipInputTokenEnd",function(rt){return i.eBV(M),i.Njj(c.add(rt))}),i.k0s(),i.j41(10,"mat-autocomplete",6,2),i.bIt("optionSelected",function(rt){return i.eBV(M),i.Njj(c.selected(rt))}),i.Z7z(12,ne,2,2,"mat-option",7,i.fX1),i.nI1(14,"async"),i.k0s()()()}if(2&p){const M=i.sdS(5),O=i.sdS(11);i.R7$(6),i.Dyx(c.fruits),i.R7$(2),i.Y8G("formControl",c.fruitCtrl)("matChipInputFor",M)("matAutocomplete",O)("matChipInputSeparatorKeyCodes",c.separatorKeysCodes),i.R7$(4),i.Dyx(i.bMT(14,4,c.filteredFruits))}},dependencies:[X.YN,X.qT,X.me,X.BC,X.cb,X.cV,$.RG,$.rl,$.nJ,st,lt,bt,ft,g,mt.m_,mt.An,q.jL,q.$3,K.wT,q.pN,X.X1,X.l_,z.Jj],styles:[".example-chip-list[_ngcontent-%COMP%] {\n width: 100%;\n}"]})}return f})(),Z=(()=>{class f{constructor(){this.vegetables=[{name:"apple"},{name:"banana"},{name:"strawberry"},{name:"orange"},{name:"kiwi"},{name:"cherry"}]}drop(a){(0,Jt.HD)(this.vegetables,a.previousIndex,a.currentIndex)}static#t=this.\u0275fac=function(p){return new(p||f)};static#e=this.\u0275cmp=i.VBU({type:f,selectors:[["chips-drag-drop-example"]],standalone:!0,features:[i.aNF],decls:3,vars:0,consts:[["cdkDropList","","cdkDropListOrientation","horizontal",1,"example-chip",3,"cdkDropListDropped"],["cdkDrag","",1,"example-box"]],template:function(p,c){1&p&&(i.j41(0,"mat-chip-set",0),i.bIt("cdkDropListDropped",function(O){return c.drop(O)}),i.Z7z(1,oe,2,1,"mat-chip",1,i.fX1),i.k0s()),2&p&&(i.R7$(),i.Dyx(c.vegetables))},dependencies:[st,ot,y,Jt.O7,Jt.T1],styles:[".example-box.cdk-drag-animating[_ngcontent-%COMP%] {\n transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);\n}\n\n.example-chip[_ngcontent-%COMP%] .cdk-drop-list-dragging[_ngcontent-%COMP%] {\n transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);\n}"]})}return f})(),v=(()=>{class f{constructor(){this.addOnBlur=!0,this.separatorKeysCodes=[t.Fm,t.KE],this.fruits=[{name:"Lemon"},{name:"Lime"},{name:"Apple"}],this.announcer=(0,i.WQX)(T.Ai)}add(a){const p=(a.value||"").trim();p&&this.fruits.push({name:p}),a.chipInput.clear()}remove(a){const p=this.fruits.indexOf(a);p>=0&&(this.fruits.splice(p,1),this.announcer.announce(`Removed ${a}`))}edit(a,p){const c=p.value.trim();if(!c)return void this.remove(a);const M=this.fruits.indexOf(a);M>=0&&(this.fruits[M].name=c)}static#t=this.\u0275fac=function(p){return new(p||f)};static#e=this.\u0275cmp=i.VBU({type:f,selectors:[["chips-input-example"]],standalone:!0,features:[i.aNF],decls:8,vars:3,consts:[["chipGrid",""],[1,"example-chip-list"],["aria-label","Enter fruits"],[3,"editable","aria-description"],["placeholder","New fruit...",3,"matChipInputTokenEnd","matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur"],[3,"removed","edited","editable","aria-description"],["matChipRemove",""]],template:function(p,c){if(1&p){const M=i.RV6();i.j41(0,"mat-form-field",1)(1,"mat-label"),i.EFF(2,"Favorite Fruits"),i.k0s(),i.j41(3,"mat-chip-grid",2,0),i.Z7z(5,ie,5,4,"mat-chip-row",3,i.fX1),i.j41(7,"input",4),i.bIt("matChipInputTokenEnd",function(rt){return i.eBV(M),i.Njj(c.add(rt))}),i.k0s()()()}if(2&p){const M=i.sdS(4);i.R7$(5),i.Dyx(c.fruits),i.R7$(2),i.Y8G("matChipInputFor",M)("matChipInputSeparatorKeyCodes",c.separatorKeysCodes)("matChipInputAddOnBlur",c.addOnBlur)}},dependencies:[$.RG,$.rl,$.nJ,st,lt,bt,ft,g,mt.m_,mt.An],styles:[".example-chip-list[_ngcontent-%COMP%] {\n width: 100%;\n}"]})}return f})(),S=(()=>{class f{static#t=this.\u0275fac=function(p){return new(p||f)};static#e=this.\u0275cmp=i.VBU({type:f,selectors:[["chips-overview-example"]],standalone:!0,features:[i.aNF],decls:9,vars:0,consts:[["aria-label","Fish selection"],["color","accent","selected",""],["color","warn"]],template:function(p,c){1&p&&(i.j41(0,"mat-chip-listbox",0)(1,"mat-chip-option"),i.EFF(2,"One fish"),i.k0s(),i.j41(3,"mat-chip-option"),i.EFF(4,"Two fish"),i.k0s(),i.j41(5,"mat-chip-option",1),i.EFF(6,"Accent fish"),i.k0s(),i.j41(7,"mat-chip-option",2),i.EFF(8,"Warn fish"),i.k0s()())},dependencies:[st,V,P],encapsulation:2})}return f})(),E=(()=>{class f{constructor(){this.availableColors=[{name:"none",color:void 0},{name:"Primary",color:"primary"},{name:"Accent",color:"accent"},{name:"Warn",color:"warn"}]}static#t=this.\u0275fac=function(p){return new(p||f)};static#e=this.\u0275cmp=i.VBU({type:f,selectors:[["chips-stacked-example"]],standalone:!0,features:[i.aNF],decls:3,vars:0,consts:[["aria-label","Color selection",1,"mat-mdc-chip-set-stacked"],["selected","",3,"color"]],template:function(p,c){1&p&&(i.j41(0,"mat-chip-listbox",0),i.Z7z(1,qt,2,2,"mat-chip-option",1,i.fX1),i.k0s()),2&p&&(i.R7$(),i.Dyx(c.availableColors))},dependencies:[st,V,P],styles:[".mat-mdc-chip-set[_ngcontent-%COMP%] {\n max-width: 200px;\n}"]})}return f})(),R=(()=>{class f{constructor(){this.isDisabled=!1,this.remove=jasmine.createSpy("remove spy"),this.add=jasmine.createSpy("add spy")}static#t=this.\u0275fac=function(p){return new(p||f)};static#e=this.\u0275cmp=i.VBU({type:f,selectors:[["chips-harness-example"]],standalone:!0,features:[i.aNF],decls:12,vars:2,consts:[[3,"disabled","aria-orientation"],[3,"removed"],["matChipRemove","","aria-label","remove Chip 2"]],template:function(p,c){1&p&&(i.j41(0,"mat-chip-listbox",0)(1,"mat-chip-option",1),i.bIt("removed",function(){return c.remove()}),i.EFF(2,"Chip 1"),i.k0s(),i.j41(3,"mat-chip-option",1),i.bIt("removed",function(){return c.remove()}),i.EFF(4," Chip 2 "),i.j41(5,"button",2)(6,"mat-icon"),i.EFF(7,"remove_icon"),i.k0s()()(),i.j41(8,"mat-chip-option",1),i.bIt("removed",function(){return c.remove()}),i.j41(9,"mat-chip-avatar"),i.EFF(10,"C"),i.k0s(),i.EFF(11,"Chip 4"),i.k0s()()),2&p&&i.Y8G("disabled",c.isDisabled)("aria-orientation","horizontal")},dependencies:[st,Dt,V,P,ft,mt.m_,mt.An],encapsulation:2})}return f})(),H=(()=>{class f{constructor(){this.keywords=["angular","how-to","tutorial","accessibility"],this.formControl=new X.MJ(["angular"]),this.announcer=(0,i.WQX)(T.Ai)}removeKeyword(a){const p=this.keywords.indexOf(a);p>=0&&(this.keywords.splice(p,1),this.announcer.announce(`removed ${a}`))}add(a){const p=(a.value||"").trim();p&&this.keywords.push(p),a.chipInput.clear()}static#t=this.\u0275fac=function(p){return new(p||f)};static#e=this.\u0275cmp=i.VBU({type:f,selectors:[["chips-form-control-example"]],standalone:!0,features:[i.aNF],decls:20,vars:3,consts:[["chipGrid",""],[1,"example-button-container"],["mat-raised-button","",3,"click"],[1,"example-form-field"],["aria-label","Enter keywords",3,"formControl"],["placeholder","New keyword...",3,"matChipInputTokenEnd","matChipInputFor"],[3,"removed"],["matChipRemove","","aria-label","'remove ' + keyword"]],template:function(p,c){if(1&p){const M=i.RV6();i.j41(0,"div",1)(1,"button",2),i.bIt("click",function(){return i.eBV(M),i.Njj(c.formControl.disable())}),i.EFF(2,"Disable form control"),i.k0s(),i.j41(3,"button",2),i.bIt("click",function(){return i.eBV(M),i.Njj(c.formControl.enable())}),i.EFF(4,"Enable form control"),i.k0s()(),i.j41(5,"p")(6,"em"),i.EFF(7,"Enter video keywords"),i.k0s()(),i.j41(8,"mat-form-field",3)(9,"mat-label"),i.EFF(10,"Video keywords"),i.k0s(),i.j41(11,"mat-chip-grid",4,0),i.Z7z(13,$t,5,1,"mat-chip-row",null,i.fX1),i.k0s(),i.j41(15,"input",5),i.bIt("matChipInputTokenEnd",function(rt){return i.eBV(M),i.Njj(c.add(rt))}),i.k0s()(),i.j41(16,"p")(17,"strong"),i.EFF(18,"The following keywords are entered:"),i.k0s(),i.EFF(19),i.k0s()}if(2&p){const M=i.sdS(12);i.R7$(11),i.Y8G("formControl",c.formControl),i.R7$(2),i.Dyx(c.keywords),i.R7$(2),i.Y8G("matChipInputFor",M),i.R7$(4),i.SpI(" ",c.formControl.value,"\n")}},dependencies:[Zt.Hl,Zt.$z,$.RG,$.rl,$.nJ,st,lt,bt,ft,g,X.YN,X.BC,X.X1,X.l_,mt.m_,mt.An],styles:[".example-form-field[_ngcontent-%COMP%] {\n width: 100%;\n}\n\n.example-button-container[_ngcontent-%COMP%] > button[_ngcontent-%COMP%] {\n margin: 0 12px;\n}"]})}return f})(),it=(()=>{class f{static#t=this.\u0275fac=function(p){return new(p||f)};static#e=this.\u0275cmp=i.VBU({type:f,selectors:[["chips-avatar-example"]],standalone:!0,features:[i.aNF],decls:10,vars:0,consts:[["aria-label","Dog selection"],["matChipAvatar","","src","https://material.angular.io/assets/img/examples/shiba1.jpg","alt","Photo of a Shiba Inu"],["color","primary"],["color","accent"]],template:function(p,c){1&p&&(i.j41(0,"mat-chip-set",0)(1,"mat-chip"),i.nrm(2,"img",1),i.EFF(3," Dog one "),i.k0s(),i.j41(4,"mat-chip",2),i.nrm(5,"img",1),i.EFF(6," Dog two "),i.k0s(),i.j41(7,"mat-chip",3),i.nrm(8,"img",1),i.EFF(9," Dog three "),i.k0s()())},dependencies:[st,ot,Dt,y]})}return f})()},9417:(de,kt,C)=>{C.d(kt,{BC:()=>Gt,JD:()=>Re,MJ:()=>le,MR:()=>Fe,Q0:()=>Se,X1:()=>Bi,YN:()=>Li,YS:()=>ge,ZU:()=>D,Zm:()=>j,cV:()=>ue,cb:()=>bt,cz:()=>J,gE:()=>s,j4:()=>fe,k0:()=>Rt,kq:()=>W,l_:()=>Oe,me:()=>_t,ok:()=>Vi,qT:()=>He,vO:()=>I,vS:()=>Me,wz:()=>_e,xH:()=>We,xq:()=>Te,y7:()=>Qe});var t=C(4438),i=C(177),X=C(4787),q=C(696),z=C(5286),K=C(5006);let T=(()=>{class n{constructor(e,l){this._renderer=e,this._elementRef=l,this.onChange=m=>{},this.onTouched=()=>{}}setProperty(e,l){this._renderer.setProperty(this._elementRef.nativeElement,e,l)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static#t=this.\u0275fac=function(l){return new(l||n)(t.rXU(t.sFG),t.rXU(t.aKT))};static#e=this.\u0275dir=t.FsC({type:n})}return n})(),G=(()=>{class n extends T{static#t=this.\u0275fac=(()=>{let e;return function(m){return(e||(e=t.xGo(n)))(m||n)}})();static#e=this.\u0275dir=t.FsC({type:n,features:[t.Vt3]})}return n})();const W=new t.nKC(""),B={provide:W,useExisting:(0,t.Rfq)(()=>j),multi:!0};let j=(()=>{class n extends G{writeValue(e){this.setProperty("checked",e)}static#t=this.\u0275fac=(()=>{let e;return function(m){return(e||(e=t.xGo(n)))(m||n)}})();static#e=this.\u0275dir=t.FsC({type:n,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(l,m){1&l&&t.bIt("change",function(L){return m.onChange(L.target.checked)})("blur",function(){return m.onTouched()})},features:[t.Jv_([B]),t.Vt3]})}return n})();const tt={provide:W,useExisting:(0,t.Rfq)(()=>_t),multi:!0},$=new t.nKC("");let _t=(()=>{class n extends T{constructor(e,l,m){super(e,l),this._compositionMode=m,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function at(){const n=(0,i.QT)()?(0,i.QT)().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static#t=this.\u0275fac=function(l){return new(l||n)(t.rXU(t.sFG),t.rXU(t.aKT),t.rXU($,8))};static#e=this.\u0275dir=t.FsC({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(l,m){1&l&&t.bIt("input",function(L){return m._handleInput(L.target.value)})("blur",function(){return m.onTouched()})("compositionstart",function(){return m._compositionStart()})("compositionend",function(L){return m._compositionEnd(L.target.value)})},features:[t.Jv_([tt]),t.Vt3]})}return n})();function Q(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function It(n){return null!=n&&"number"==typeof n.length}const J=new t.nKC(""),ut=new t.nKC(""),Yt=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Rt{static min(o){return function Mt(n){return o=>{if(Q(o.value)||Q(n))return null;const e=parseFloat(o.value);return!isNaN(e)&&e<n?{min:{min:n,actual:o.value}}:null}}(o)}static max(o){return function Ut(n){return o=>{if(Q(o.value)||Q(n))return null;const e=parseFloat(o.value);return!isNaN(e)&&e>n?{max:{max:n,actual:o.value}}:null}}(o)}static required(o){return Pt(o)}static requiredTrue(o){return gt(o)}static email(o){return function Tt(n){return Q(n.value)||Yt.test(n.value)?null:{email:!0}}(o)}static minLength(o){return function St(n){return o=>Q(o.value)||!It(o.value)?null:o.value.length<n?{minlength:{requiredLength:n,actualLength:o.value.length}}:null}(o)}static maxLength(o){return function zt(n){return o=>It(o.value)&&o.value.length>n?{maxlength:{requiredLength:n,actualLength:o.value.length}}:null}(o)}static pattern(o){return function Ft(n){if(!n)return xt;let o,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),o=new RegExp(e)):(e=n.toString(),o=n),l=>{if(Q(l.value))return null;const m=l.value;return o.test(m)?null:{pattern:{requiredPattern:e,actualValue:m}}}}(o)}static nullValidator(o){return null}static compose(o){return Lt(o)}static composeAsync(o){return Dt(o)}}function Pt(n){return Q(n.value)?{required:!0}:null}function gt(n){return!0===n.value?null:{required:!0}}function xt(n){return null}function yt(n){return null!=n}function vt(n){return(0,t.jNT)(n)?(0,X.H)(n):n}function wt(n){let o={};return n.forEach(e=>{o=null!=e?{...o,...e}:o}),0===Object.keys(o).length?null:o}function Ct(n,o){return o.map(e=>e(n))}function At(n){return n.map(o=>function Vt(n){return!n.validate}(o)?o:e=>o.validate(e))}function Lt(n){if(!n)return null;const o=n.filter(yt);return 0==o.length?null:function(e){return wt(Ct(e,o))}}function ct(n){return null!=n?Lt(At(n)):null}function Dt(n){if(!n)return null;const o=n.filter(yt);return 0==o.length?null:function(e){const l=Ct(e,o).map(vt);return(0,q.p)(l).pipe((0,K.T)(wt))}}function Ot(n){return null!=n?Dt(At(n)):null}function ft(n,o){return null===n?[o]:Array.isArray(n)?[...n,o]:[n,o]}function Kt(n){return n._rawValidators}function ot(n){return n._rawAsyncValidators}function Bt(n){return n?Array.isArray(n)?n:[n]:[]}function P(n,o){return Array.isArray(n)?n.includes(o):n===o}function ht(n,o){const e=Bt(o);return Bt(n).forEach(m=>{P(e,m)||e.push(m)}),e}function g(n,o){return Bt(o).filter(e=>!P(n,e))}class y{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(o){this._rawValidators=o||[],this._composedValidatorFn=ct(this._rawValidators)}_setAsyncValidators(o){this._rawAsyncValidators=o||[],this._composedAsyncValidatorFn=Ot(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(o){this._onDestroyCallbacks.push(o)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(o=>o()),this._onDestroyCallbacks=[]}reset(o=void 0){this.control&&this.control.reset(o)}hasError(o,e){return!!this.control&&this.control.hasError(o,e)}getError(o,e){return this.control?this.control.getError(o,e):null}}class D extends y{get formDirective(){return null}get path(){return null}}class I extends y{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class V{constructor(o){this._cd=o}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Gt=(()=>{class n extends V{constructor(e){super(e)}static#t=this.\u0275fac=function(l){return new(l||n)(t.rXU(I,2))};static#e=this.\u0275dir=t.FsC({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(l,m){2&l&&t.AVh("ng-untouched",m.isUntouched)("ng-touched",m.isTouched)("ng-pristine",m.isPristine)("ng-dirty",m.isDirty)("ng-valid",m.isValid)("ng-invalid",m.isInvalid)("ng-pending",m.isPending)},features:[t.Vt3]})}return n})(),bt=(()=>{class n extends V{constructor(e){super(e)}static#t=this.\u0275fac=function(l){return new(l||n)(t.rXU(D,10))};static#e=this.\u0275dir=t.FsC({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(l,m){2&l&&t.AVh("ng-untouched",m.isUntouched)("ng-touched",m.isTouched)("ng-pristine",m.isPristine)("ng-dirty",m.isDirty)("ng-valid",m.isValid)("ng-invalid",m.isInvalid)("ng-pending",m.isPending)("ng-submitted",m.isSubmitted)},features:[t.Vt3]})}return n})();const E="VALID",R="INVALID",H="PENDING",it="DISABLED";class f{}class U extends f{constructor(o,e){super(),this.value=o,this.source=e}}class a extends f{constructor(o,e){super(),this.pristine=o,this.source=e}}class p extends f{constructor(o,e){super(),this.touched=o,this.source=e}}class c extends f{constructor(o,e){super(),this.status=o,this.source=e}}class M extends f{constructor(o){super(),this.source=o}}class O extends f{constructor(o){super(),this.source=o}}function rt(n){return(re(n)?n.validators:n)||null}function Ht(n,o){return(re(o)?o.asyncValidators:n)||null}function re(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}function xe(n,o,e){const l=n.controls;if(!(o?Object.keys(l):l).length)throw new t.wOt(1e3,"");if(!l[e])throw new t.wOt(1001,"")}function ye(n,o,e){n._forEachChild((l,m)=>{if(void 0===e[m])throw new t.wOt(1002,"")})}class u{constructor(o,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._events=new z.B7,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(o),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(o){this._rawValidators=this._composedValidatorFn=o}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(o){this._rawAsyncValidators=this._composedAsyncValidatorFn=o}get parent(){return this._parent}get valid(){return this.status===E}get invalid(){return this.status===R}get pending(){return this.status==H}get disabled(){return this.status===it}get enabled(){return this.status!==it}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(o){this._assignValidators(o)}setAsyncValidators(o){this._assignAsyncValidators(o)}addValidators(o){this.setValidators(ht(o,this._rawValidators))}addAsyncValidators(o){this.setAsyncValidators(ht(o,this._rawAsyncValidators))}removeValidators(o){this.setValidators(g(o,this._rawValidators))}removeAsyncValidators(o){this.setAsyncValidators(g(o,this._rawAsyncValidators))}hasValidator(o){return P(this._rawValidators,o)}hasAsyncValidator(o){return P(this._rawAsyncValidators,o)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(o={}){const e=!1===this.touched;this.touched=!0;const l=o.sourceControl??this;this._parent&&!o.onlySelf&&this._parent.markAsTouched({...o,sourceControl:l}),e&&!1!==o.emitEvent&&this._events.next(new p(!0,l))}markAllAsTouched(o={}){this.markAsTouched({onlySelf:!0,emitEvent:o.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(o))}markAsUntouched(o={}){const e=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const l=o.sourceControl??this;this._forEachChild(m=>{m.markAsUntouched({onlySelf:!0,emitEvent:o.emitEvent,sourceControl:l})}),this._parent&&!o.onlySelf&&this._parent._updateTouched(o,l),e&&!1!==o.emitEvent&&this._events.next(new p(!1,l))}markAsDirty(o={}){const e=!0===this.pristine;this.pristine=!1;const l=o.sourceControl??this;this._parent&&!o.onlySelf&&this._parent.markAsDirty({...o,sourceControl:l}),e&&!1!==o.emitEvent&&this._events.next(new a(!1,l))}markAsPristine(o={}){const e=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const l=o.sourceControl??this;this._forEachChild(m=>{m.markAsPristine({onlySelf:!0,emitEvent:o.emitEvent})}),this._parent&&!o.onlySelf&&this._parent._updatePristine(o,l),e&&!1!==o.emitEvent&&this._events.next(new a(!0,l))}markAsPending(o={}){this.status=H;const e=o.sourceControl??this;!1!==o.emitEvent&&(this._events.next(new c(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!o.onlySelf&&this._parent.markAsPending({...o,sourceControl:e})}disable(o={}){const e=this._parentMarkedDirty(o.onlySelf);this.status=it,this.errors=null,this._forEachChild(m=>{m.disable({...o,onlySelf:!0})}),this._updateValue();const l=o.sourceControl??this;!1!==o.emitEvent&&(this._events.next(new U(this.value,l)),this._events.next(new c(this.status,l)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...o,skipPristineCheck:e},this),this._onDisabledChange.forEach(m=>m(!0))}enable(o={}){const e=this._parentMarkedDirty(o.onlySelf);this.status=E,this._forEachChild(l=>{l.enable({...o,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent}),this._updateAncestors({...o,skipPristineCheck:e},this),this._onDisabledChange.forEach(l=>l(!1))}_updateAncestors(o,e){this._parent&&!o.onlySelf&&(this._parent.updateValueAndValidity(o),o.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(o){this._parent=o}getRawValue(){return this.value}updateValueAndValidity(o={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const l=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===E||this.status===H)&&this._runAsyncValidator(l,o.emitEvent)}const e=o.sourceControl??this;!1!==o.emitEvent&&(this._events.next(new U(this.value,e)),this._events.next(new c(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!o.onlySelf&&this._parent.updateValueAndValidity({...o,sourceControl:e})}_updateTreeValidity(o={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(o)),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?it:E}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(o,e){if(this.asyncValidator){this.status=H,this._hasOwnPendingAsyncValidator={emitEvent:!1!==e};const l=vt(this.asyncValidator(this));this._asyncValidationSubscription=l.subscribe(m=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(m,{emitEvent:e,shouldHaveEmitted:o})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const o=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,o}return!1}setErrors(o,e={}){this.errors=o,this._updateControlsErrors(!1!==e.emitEvent,this,e.shouldHaveEmitted)}get(o){let e=o;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((l,m)=>l&&l._find(m),this)}getError(o,e){const l=e?this.get(e):this;return l&&l.errors?l.errors[o]:null}hasError(o,e){return!!this.getError(o,e)}get root(){let o=this;for(;o._parent;)o=o._parent;return o}_updateControlsErrors(o,e,l){this.status=this._calculateStatus(),o&&this.statusChanges.emit(this.status),(o||l)&&this._events.next(new c(this.status,e)),this._parent&&this._parent._updateControlsErrors(o,e,l)}_initObservables(){this.valueChanges=new t.bkB,this.statusChanges=new t.bkB}_calculateStatus(){return this._allControlsDisabled()?it:this.errors?R:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(H)?H:this._anyControlsHaveStatus(R)?R:E}_anyControlsHaveStatus(o){return this._anyControls(e=>e.status===o)}_anyControlsDirty(){return this._anyControls(o=>o.dirty)}_anyControlsTouched(){return this._anyControls(o=>o.touched)}_updatePristine(o,e){const l=!this._anyControlsDirty(),m=this.pristine!==l;this.pristine=l,this._parent&&!o.onlySelf&&this._parent._updatePristine(o,e),m&&this._events.next(new a(this.pristine,e))}_updateTouched(o={},e){this.touched=this._anyControlsTouched(),this._events.next(new p(this.touched,e)),this._parent&&!o.onlySelf&&this._parent._updateTouched(o,e)}_registerOnCollectionChange(o){this._onCollectionChange=o}_setUpdateStrategy(o){re(o)&&null!=o.updateOn&&(this._updateOn=o.updateOn)}_parentMarkedDirty(o){return!o&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(o){return null}_assignValidators(o){this._rawValidators=Array.isArray(o)?o.slice():o,this._composedValidatorFn=function Qt(n){return Array.isArray(n)?ct(n):n||null}(this._rawValidators)}_assignAsyncValidators(o){this._rawAsyncValidators=Array.isArray(o)?o.slice():o,this._composedAsyncValidatorFn=function be(n){return Array.isArray(n)?Ot(n):n||null}(this._rawAsyncValidators)}}class s extends u{constructor(o,e,l){super(rt(e),Ht(l,e)),this.controls=o,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(o,e){return this.controls[o]?this.controls[o]:(this.controls[o]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(o,e,l={}){this.registerControl(o,e),this.updateValueAndValidity({emitEvent:l.emitEvent}),this._onCollectionChange()}removeControl(o,e={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(o,e,l={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],e&&this.registerControl(o,e),this.updateValueAndValidity({emitEvent:l.emitEvent}),this._onCollectionChange()}contains(o){return this.controls.hasOwnProperty(o)&&this.controls[o].enabled}setValue(o,e={}){ye(this,0,o),Object.keys(o).forEach(l=>{xe(this,!0,l),this.controls[l].setValue(o[l],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(o,e={}){null!=o&&(Object.keys(o).forEach(l=>{const m=this.controls[l];m&&m.patchValue(o[l],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(o={},e={}){this._forEachChild((l,m)=>{l.reset(o?o[m]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(o,e,l)=>(o[l]=e.getRawValue(),o))}_syncPendingControls(){let o=this._reduceChildren(!1,(e,l)=>!!l._syncPendingControls()||e);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_forEachChild(o){Object.keys(this.controls).forEach(e=>{const l=this.controls[e];l&&o(l,e)})}_setUpControls(){this._forEachChild(o=>{o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(o){for(const[e,l]of Object.entries(this.controls))if(this.contains(e)&&o(l))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,l,m)=>((l.enabled||this.disabled)&&(e[m]=l.value),e))}_reduceChildren(o,e){let l=o;return this._forEachChild((m,A)=>{l=e(l,m,A)}),l}_allControlsDisabled(){for(const o of Object.keys(this.controls))if(this.controls[o].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(o){return this.controls.hasOwnProperty(o)?this.controls[o]:null}}class _ extends s{}const x=new t.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>F}),F="always";function k(n,o){return[...o.path,n]}function N(n,o,e=F){Xt(n,o),o.valueAccessor.writeValue(n.value),(n.disabled||"always"===e)&&o.valueAccessor.setDisabledState?.(n.disabled),function Et(n,o){o.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&ce(n,o)})}(n,o),function he(n,o){const e=(l,m)=>{o.valueAccessor.writeValue(l),m&&o.viewToModelUpdate(l)};n.registerOnChange(e),o._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,o),function we(n,o){o.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&ce(n,o),"submit"!==n.updateOn&&n.markAsTouched()})}(n,o),function te(n,o){if(o.valueAccessor.setDisabledState){const e=l=>{o.valueAccessor.setDisabledState(l)};n.registerOnDisabledChange(e),o._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,o)}function Y(n,o,e=!0){const l=()=>{};o.valueAccessor&&(o.valueAccessor.registerOnChange(l),o.valueAccessor.registerOnTouched(l)),jt(n,o),n&&(o._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function pt(n,o){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(o)})}function Xt(n,o){const e=Kt(n);null!==o.validator?n.setValidators(ft(e,o.validator)):"function"==typeof e&&n.setValidators([e]);const l=ot(n);null!==o.asyncValidator?n.setAsyncValidators(ft(l,o.asyncValidator)):"function"==typeof l&&n.setAsyncValidators([l]);const m=()=>n.updateValueAndValidity();pt(o._rawValidators,m),pt(o._rawAsyncValidators,m)}function jt(n,o){let e=!1;if(null!==n){if(null!==o.validator){const m=Kt(n);if(Array.isArray(m)&&m.length>0){const A=m.filter(L=>L!==o.validator);A.length!==m.length&&(e=!0,n.setValidators(A))}}if(null!==o.asyncValidator){const m=ot(n);if(Array.isArray(m)&&m.length>0){const A=m.filter(L=>L!==o.asyncValidator);A.length!==m.length&&(e=!0,n.setAsyncValidators(A))}}}const l=()=>{};return pt(o._rawValidators,l),pt(o._rawAsyncValidators,l),e}function ce(n,o){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),o.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function me(n,o){Xt(n,o)}function De(n,o){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(o,e.currentValue)}function Le(n,o){n._syncPendingControls(),o.forEach(e=>{const l=e.control;"submit"===l.updateOn&&l._pendingChange&&(e.viewToModelUpdate(l._pendingValue),l._pendingChange=!1)})}function Ee(n,o){if(!o)return null;let e,l,m;return Array.isArray(o),o.forEach(A=>{A.constructor===_t?e=A:function di(n){return Object.getPrototypeOf(n.constructor)===G}(A)?l=A:m=A}),m||l||e||null}const hi={provide:D,useExisting:(0,t.Rfq)(()=>ue)},pe=Promise.resolve();let ue=(()=>{class n extends D{constructor(e,l,m){super(),this.callSetDisabledState=m,this.submitted=!1,this._directives=new Set,this.ngSubmit=new t.bkB,this.form=new s({},ct(e),Ot(l))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){pe.then(()=>{const l=this._findContainer(e.path);e.control=l.registerControl(e.name,e.control),N(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){pe.then(()=>{const l=this._findContainer(e.path);l&&l.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){pe.then(()=>{const l=this._findContainer(e.path),m=new s({});me(m,e),l.registerControl(e.name,m),m.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){pe.then(()=>{const l=this._findContainer(e.path);l&&l.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,l){pe.then(()=>{this.form.get(e.path).setValue(l)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,Le(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static#t=this.\u0275fac=function(l){return new(l||n)(t.rXU(J,10),t.rXU(ut,10),t.rXU(x,8))};static#e=this.\u0275dir=t.FsC({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(l,m){1&l&&t.bIt("submit",function(L){return m.onSubmit(L)})("reset",function(){return m.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t.Jv_([hi]),t.Vt3]})}return n})();function Be(n,o){const e=n.indexOf(o);e>-1&&n.splice(e,1)}function Ne(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const le=class extends u{constructor(o=null,e,l){super(rt(e),Ht(l,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(o),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),re(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=Ne(o)?o.value:o)}setValue(o,e={}){this.value=this._pendingValue=o,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(l=>l(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(o,e={}){this.setValue(o,e)}reset(o=this.defaultValue,e={}){this._applyFormState(o),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(o){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(o){this._onChange.push(o)}_unregisterOnChange(o){Be(this._onChange,o)}registerOnDisabledChange(o){this._onDisabledChange.push(o)}_unregisterOnDisabledChange(o){Be(this._onDisabledChange,o)}_forEachChild(o){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(o){Ne(o)?(this.value=this._pendingValue=o.value,o.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=o}},ui={provide:I,useExisting:(0,t.Rfq)(()=>Me)},ze=Promise.resolve();let Me=(()=>{class n extends I{constructor(e,l,m,A,L,ee){super(),this._changeDetectorRef=L,this.callSetDisabledState=ee,this.control=new le,this._registered=!1,this.name="",this.update=new t.bkB,this._parent=e,this._setValidators(l),this._setAsyncValidators(m),this.valueAccessor=Ee(0,A)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const l=e.name.previousValue;this.formDirective.removeControl({name:l,path:this._getPath(l)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),De(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){N(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){ze.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const l=e.isDisabled.currentValue,m=0!==l&&(0,t.L39)(l);ze.then(()=>{m&&!this.control.disabled?this.control.disable():!m&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?k(e,this._parent):[e]}static#t=this.\u0275fac=function(l){return new(l||n)(t.rXU(D,9),t.rXU(J,10),t.rXU(ut,10),t.rXU(W,10),t.rXU(t.gRc,8),t.rXU(x,8))};static#e=this.\u0275dir=t.FsC({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[t.Jv_([ui]),t.Vt3,t.OA$]})}return n})(),He=(()=>{class n{static#t=this.\u0275fac=function(l){return new(l||n)};static#e=this.\u0275dir=t.FsC({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return n})();const fi={provide:W,useExisting:(0,t.Rfq)(()=>Se),multi:!0};let Se=(()=>{class n extends G{writeValue(e){this.setProperty("value",e??"")}registerOnChange(e){this.onChange=l=>{e(""==l?null:parseFloat(l))}}static#t=this.\u0275fac=(()=>{let e;return function(m){return(e||(e=t.xGo(n)))(m||n)}})();static#e=this.\u0275dir=t.FsC({type:n,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(l,m){1&l&&t.bIt("input",function(L){return m.onChange(L.target.value)})("blur",function(){return m.onTouched()})},features:[t.Jv_([fi]),t.Vt3]})}return n})();const vi={provide:W,useExisting:(0,t.Rfq)(()=>Fe),multi:!0};let Fe=(()=>{class n extends G{writeValue(e){this.setProperty("value",parseFloat(e))}registerOnChange(e){this.onChange=l=>{e(""==l?null:parseFloat(l))}}static#t=this.\u0275fac=(()=>{let e;return function(m){return(e||(e=t.xGo(n)))(m||n)}})();static#e=this.\u0275dir=t.FsC({type:n,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(l,m){1&l&&t.bIt("change",function(L){return m.onChange(L.target.value)})("input",function(L){return m.onChange(L.target.value)})("blur",function(){return m.onTouched()})},features:[t.Jv_([vi]),t.Vt3]})}return n})();const Ae=new t.nKC(""),bi={provide:I,useExisting:(0,t.Rfq)(()=>Oe)};let Oe=(()=>{class n extends I{set isDisabled(e){}static#t=this._ngModelWarningSentOnce=!1;constructor(e,l,m,A,L){super(),this._ngModelWarningConfig=A,this.callSetDisabledState=L,this.update=new t.bkB,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(l),this.valueAccessor=Ee(0,m)}ngOnChanges(e){if(this._isControlChanged(e)){const l=e.form.previousValue;l&&Y(l,this,!1),N(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}De(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Y(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static#e=this.\u0275fac=function(l){return new(l||n)(t.rXU(J,10),t.rXU(ut,10),t.rXU(W,10),t.rXU(Ae,8),t.rXU(x,8))};static#i=this.\u0275dir=t.FsC({type:n,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[t.Jv_([bi]),t.Vt3,t.OA$]})}return n})();const xi={provide:D,useExisting:(0,t.Rfq)(()=>fe)};let fe=(()=>{class n extends D{constructor(e,l,m){super(),this.callSetDisabledState=m,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new t.bkB,this._setValidators(e),this._setAsyncValidators(l)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(jt(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const l=this.form.get(e.path);return N(l,e,this.callSetDisabledState),l.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),l}getControl(e){return this.form.get(e.path)}removeControl(e){Y(e.control||null,e,!1),function ci(n,o){const e=n.indexOf(o);e>-1&&n.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,l){this.form.get(e.path).setValue(l)}onSubmit(e){return this.submitted=!0,Le(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new M(this.control)),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1,this.form._events.next(new O(this.form))}_updateDomValue(){this.directives.forEach(e=>{const l=e.control,m=this.form.get(e.path);l!==m&&(Y(l||null,e),(n=>n instanceof le)(m)&&(N(m,e,this.callSetDisabledState),e.control=m))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const l=this.form.get(e.path);me(l,e),l.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const l=this.form.get(e.path);l&&function si(n,o){return jt(n,o)}(l,e)&&l.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Xt(this.form,this),this._oldForm&&jt(this._oldForm,this)}_checkFormPresent(){}static#t=this.\u0275fac=function(l){return new(l||n)(t.rXU(J,10),t.rXU(ut,10),t.rXU(x,8))};static#e=this.\u0275dir=t.FsC({type:n,selectors:[["","formGroup",""]],hostBindings:function(l,m){1&l&&t.bIt("submit",function(L){return m.onSubmit(L)})("reset",function(){return m.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t.Jv_([xi]),t.Vt3,t.OA$]})}return n})();const Ci={provide:I,useExisting:(0,t.Rfq)(()=>Re)};let Re=(()=>{class n extends I{set isDisabled(e){}static#t=this._ngModelWarningSentOnce=!1;constructor(e,l,m,A,L){super(),this._ngModelWarningConfig=L,this._added=!1,this.name=null,this.update=new t.bkB,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(l),this._setAsyncValidators(m),this.valueAccessor=Ee(0,A)}ngOnChanges(e){this._added||this._setUpControl(),De(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return k(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#e=this.\u0275fac=function(l){return new(l||n)(t.rXU(D,13),t.rXU(J,10),t.rXU(ut,10),t.rXU(W,10),t.rXU(Ae,8))};static#i=this.\u0275dir=t.FsC({type:n,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[t.Jv_([Ci]),t.Vt3,t.OA$]})}return n})();const Di={provide:W,useExisting:(0,t.Rfq)(()=>_e),multi:!0};function Ke(n,o){return null==n?`${o}`:(o&&"object"==typeof o&&(o="Object"),`${n}: ${o}`.slice(0,50))}let _e=(()=>{class n extends G{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){this.value=e;const m=Ke(this._getOptionId(e),e);this.setProperty("value",m)}registerOnChange(e){this.onChange=l=>{this.value=this._getOptionValue(l),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const l of this._optionMap.keys())if(this._compareWith(this._optionMap.get(l),e))return l;return null}_getOptionValue(e){const l=function Ei(n){return n.split(":")[0]}(e);return this._optionMap.has(l)?this._optionMap.get(l):e}static#t=this.\u0275fac=(()=>{let e;return function(m){return(e||(e=t.xGo(n)))(m||n)}})();static#e=this.\u0275dir=t.FsC({type:n,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(l,m){1&l&&t.bIt("change",function(L){return m.onChange(L.target.value)})("blur",function(){return m.onTouched()})},inputs:{compareWith:"compareWith"},features:[t.Jv_([Di]),t.Vt3]})}return n})(),We=(()=>{class n{constructor(e,l,m){this._element=e,this._renderer=l,this._select=m,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(Ke(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#t=this.\u0275fac=function(l){return new(l||n)(t.rXU(t.aKT),t.rXU(t.sFG),t.rXU(_e,9))};static#e=this.\u0275dir=t.FsC({type:n,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return n})();const Mi={provide:W,useExisting:(0,t.Rfq)(()=>Pe),multi:!0};function $e(n,o){return null==n?`${o}`:("string"==typeof o&&(o=`'${o}'`),o&&"object"==typeof o&&(o="Object"),`${n}: ${o}`.slice(0,50))}let Pe=(()=>{class n extends G{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){let l;if(this.value=e,Array.isArray(e)){const m=e.map(A=>this._getOptionId(A));l=(A,L)=>{A._setSelected(m.indexOf(L.toString())>-1)}}else l=(m,A)=>{m._setSelected(!1)};this._optionMap.forEach(l)}registerOnChange(e){this.onChange=l=>{const m=[],A=l.selectedOptions;if(void 0!==A){const L=A;for(let ee=0;ee<L.length;ee++){const Ve=this._getOptionValue(L[ee].value);m.push(Ve)}}else{const L=l.options;for(let ee=0;ee<L.length;ee++){const ve=L[ee];if(ve.selected){const Ve=this._getOptionValue(ve.value);m.push(Ve)}}}this.value=m,e(m)}}_registerOption(e){const l=(this._idCounter++).toString();return this._optionMap.set(l,e),l}_getOptionId(e){for(const l of this._optionMap.keys())if(this._compareWith(this._optionMap.get(l)._value,e))return l;return null}_getOptionValue(e){const l=function Si(n){return n.split(":")[0]}(e);return this._optionMap.has(l)?this._optionMap.get(l)._value:e}static#t=this.\u0275fac=(()=>{let e;return function(m){return(e||(e=t.xGo(n)))(m||n)}})();static#e=this.\u0275dir=t.FsC({type:n,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(l,m){1&l&&t.bIt("change",function(L){return m.onChange(L.target)})("blur",function(){return m.onTouched()})},inputs:{compareWith:"compareWith"},features:[t.Jv_([Mi]),t.Vt3]})}return n})(),Qe=(()=>{class n{constructor(e,l,m){this._element=e,this._renderer=l,this._select=m,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue($e(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue($e(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#t=this.\u0275fac=function(l){return new(l||n)(t.rXU(t.aKT),t.rXU(t.sFG),t.rXU(Pe,9))};static#e=this.\u0275dir=t.FsC({type:n,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return n})(),ae=(()=>{class n{constructor(){this._validator=xt}ngOnChanges(e){if(this.inputName in e){const l=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(l),this._validator=this._enabled?this.createValidator(l):xt,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}static#t=this.\u0275fac=function(l){return new(l||n)};static#e=this.\u0275dir=t.FsC({type:n,features:[t.OA$]})}return n})();const Oi={provide:J,useExisting:(0,t.Rfq)(()=>ge),multi:!0},ki={provide:J,useExisting:(0,t.Rfq)(()=>Te),multi:!0};let ge=(()=>{class n extends ae{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=t.L39,this.createValidator=e=>Pt}enabled(e){return e}static#t=this.\u0275fac=(()=>{let e;return function(m){return(e||(e=t.xGo(n)))(m||n)}})();static#e=this.\u0275dir=t.FsC({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(l,m){2&l&&t.BMQ("required",m._enabled?"":null)},inputs:{required:"required"},features:[t.Jv_([Oi]),t.Vt3]})}return n})(),Te=(()=>{class n extends ge{constructor(){super(...arguments),this.createValidator=e=>gt}static#t=this.\u0275fac=(()=>{let e;return function(m){return(e||(e=t.xGo(n)))(m||n)}})();static#e=this.\u0275dir=t.FsC({type:n,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(l,m){2&l&&t.BMQ("required",m._enabled?"":null)},features:[t.Jv_([ki]),t.Vt3]})}return n})(),oi=(()=>{class n{static#t=this.\u0275fac=function(l){return new(l||n)};static#e=this.\u0275mod=t.$C({type:n});static#i=this.\u0275inj=t.G2t({})}return n})();class ri extends u{constructor(o,e,l){super(rt(e),Ht(l,e)),this.controls=o,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(o){return this.controls[this._adjustIndex(o)]}push(o,e={}){this.controls.push(o),this._registerControl(o),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(o,e,l={}){this.controls.splice(o,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:l.emitEvent})}removeAt(o,e={}){let l=this._adjustIndex(o);l<0&&(l=0),this.controls[l]&&this.controls[l]._registerOnCollectionChange(()=>{}),this.controls.splice(l,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(o,e,l={}){let m=this._adjustIndex(o);m<0&&(m=0),this.controls[m]&&this.controls[m]._registerOnCollectionChange(()=>{}),this.controls.splice(m,1),e&&(this.controls.splice(m,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:l.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(o,e={}){ye(this,0,o),o.forEach((l,m)=>{xe(this,!1,m),this.at(m).setValue(l,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(o,e={}){null!=o&&(o.forEach((l,m)=>{this.at(m)&&this.at(m).patchValue(l,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(o=[],e={}){this._forEachChild((l,m)=>{l.reset(o[m],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(o=>o.getRawValue())}clear(o={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:o.emitEvent}))}_adjustIndex(o){return o<0?o+this.length:o}_syncPendingControls(){let o=this.controls.reduce((e,l)=>!!l._syncPendingControls()||e,!1);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_forEachChild(o){this.controls.forEach((e,l)=>{o(e,l)})}_updateValue(){this.value=this.controls.filter(o=>o.enabled||this.disabled).map(o=>o.value)}_anyControls(o){return this.controls.some(e=>e.enabled&&o(e))}_setUpControls(){this._forEachChild(o=>this._registerControl(o))}_allControlsDisabled(){for(const o of this.controls)if(o.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(o){o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)}_find(o){return this.at(o)??null}}function ai(n){return!!n&&(void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn)}let Vi=(()=>{class n{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new n;return e.useNonNullable=!0,e}group(e,l=null){const m=this._reduceControls(e);let A={};return ai(l)?A=l:null!==l&&(A.validators=l.validator,A.asyncValidators=l.asyncValidator),new s(m,A)}record(e,l=null){const m=this._reduceControls(e);return new _(m,l)}control(e,l,m){let A={};return this.useNonNullable?(ai(l)?A=l:(A.validators=l,A.asyncValidators=m),new le(e,{...A,nonNullable:!0})):new le(e,l,m)}array(e,l,m){const A=e.map(L=>this._createControl(L));return new ri(A,l,m)}_reduceControls(e){const l={};return Object.keys(e).forEach(m=>{l[m]=this._createControl(e[m])}),l}_createControl(e){return e instanceof le||e instanceof u?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}static#t=this.\u0275fac=function(l){return new(l||n)};static#e=this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Li=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:x,useValue:e.callSetDisabledState??F}]}}static#t=this.\u0275fac=function(l){return new(l||n)};static#e=this.\u0275mod=t.$C({type:n});static#i=this.\u0275inj=t.G2t({imports:[oi]})}return n})(),Bi=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:Ae,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:x,useValue:e.callSetDisabledState??F}]}}static#t=this.\u0275fac=function(l){return new(l||n)};static#e=this.\u0275mod=t.$C({type:n});static#i=this.\u0275inj=t.G2t({imports:[oi]})}return n})()},850:(de,kt,C)=>{C.d(kt,{$3:()=>At,jL:()=>Bt,pN:()=>ot});var t=C(4438),i=C(6600),X=C(177),q=C(5478),z=C(2753),K=C(8617),T=C(6860),G=C(9969),W=C(4337),B=C(5286),j=C(9418),tt=C(4670),at=C(4421),$=C(3586),_t=C(5817),Q=C(7336),It=C(6939),J=C(9417),ut=C(3719),Yt=C(3176),Rt=C(9090),Mt=C(8728),Ut=C(5006),Pt=C(5539),gt=C(8002),Tt=C(9493),St=C(8203);const zt=["panel"],Ft=["*"];function xt(P,ht){if(1&P){const g=t.RV6();t.j41(0,"div",1,0),t.bIt("@panelAnimation.done",function(D){t.eBV(g);const I=t.XpG();return t.Njj(I._animationDone.next(D))}),t.SdG(2),t.k0s()}if(2&P){const g=ht.id,y=t.XpG();t.HbH(y._classList),t.AVh("mat-mdc-autocomplete-visible",y.showPanel)("mat-mdc-autocomplete-hidden",!y.showPanel)("mat-primary","primary"===y._color)("mat-accent","accent"===y._color)("mat-warn","warn"===y._color),t.Y8G("id",y.id)("@panelAnimation",y.isOpen?"visible":"hidden"),t.BMQ("aria-label",y.ariaLabel||null)("aria-labelledby",y._getPanelAriaLabelledby(g))}}const yt=(0,G.hZ)("panelAnimation",[(0,G.wk)("void, hidden",(0,G.iF)({opacity:0,transform:"scaleY(0.8)"})),(0,G.kY)(":enter, hidden => visible",[(0,G.Os)([(0,G.i0)("0.03s linear",(0,G.iF)({opacity:1})),(0,G.i0)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,G.iF)({transform:"scaleY(1)"}))])]),(0,G.kY)(":leave, visible => hidden",[(0,G.i0)("0.075s linear",(0,G.iF)({opacity:0}))])]);let vt=0;class wt{constructor(ht,g){this.source=ht,this.option=g}}const Ct=new t.nKC("mat-autocomplete-default-options",{providedIn:"root",factory:function Vt(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}});let At=(()=>{class P{get isOpen(){return this._isOpen&&this.showPanel}_setColor(g){this._color=g,this._changeDetectorRef.markForCheck()}set classList(g){this._classList=g,this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(g){this._hideSingleSelectionIndicator=g,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const g of this.options)g._changeDetectorRef.markForCheck()}constructor(g,y,D,I){this._changeDetectorRef=g,this._elementRef=y,this._defaults=D,this._activeOptionChanges=W.y.EMPTY,this._animationDone=new t.bkB,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new t.bkB,this.opened=new t.bkB,this.closed=new t.bkB,this.optionActivated=new t.bkB,this.id="mat-autocomplete-"+vt++,this.inertGroups=I?.SAFARI||!1,this.autoActiveFirstOption=!!D.autoActiveFirstOption,this.autoSelectActiveOption=!!D.autoSelectActiveOption,this.requireSelection=!!D.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new K.Au(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(g=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[g]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(g){this.panel&&(this.panel.nativeElement.scrollTop=g)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(g){const y=new wt(this,g);this.optionSelected.emit(y)}_getPanelAriaLabelledby(g){return this.ariaLabel?null:this.ariaLabelledby?(g?g+" ":"")+this.ariaLabelledby:g}_skipPredicate(){return!1}static#t=this.\u0275fac=function(y){return new(y||P)(t.rXU(t.gRc),t.rXU(t.aKT),t.rXU(Ct),t.rXU(T.OD))};static#e=this.\u0275cmp=t.VBU({type:P,selectors:[["mat-autocomplete"]],contentQueries:function(y,D,I){if(1&y&&(t.wni(I,i.wT,5),t.wni(I,i.QC,5)),2&y){let V;t.mGM(V=t.lsd())&&(D.options=V),t.mGM(V=t.lsd())&&(D.optionGroups=V)}},viewQuery:function(y,D){if(1&y&&(t.GBs(t.C4Q,7),t.GBs(zt,5)),2&y){let I;t.mGM(I=t.lsd())&&(D.template=I.first),t.mGM(I=t.lsd())&&(D.panel=I.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",t.L39],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",t.L39],requireSelection:[2,"requireSelection","requireSelection",t.L39],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",t.L39],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",t.L39]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],standalone:!0,features:[t.Jv_([{provide:i.is,useExisting:P}]),t.GFd,t.aNF],ngContentSelectors:Ft,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(y,D){1&y&&(t.NAR(),t.DNE(0,xt,3,16,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape);box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[yt]},changeDetection:0})}return P})();const ct={provide:J.kq,useExisting:(0,t.Rfq)(()=>ot),multi:!0},Ot=new t.nKC("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{const P=(0,t.WQX)(z.hJ);return()=>P.scrollStrategies.reposition()}}),Kt={provide:Ot,deps:[z.hJ],useFactory:function ft(P){return()=>P.scrollStrategies.reposition()}};let ot=(()=>{class P{constructor(g,y,D,I,V,Nt,lt,Gt,bt,Wt,st){this._element=g,this._overlay=y,this._viewContainerRef=D,this._zone=I,this._changeDetectorRef=V,this._dir=lt,this._formField=Gt,this._document=bt,this._viewportRuler=Wt,this._defaults=st,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=W.y.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new B.B7,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._initialized=new B.B7,this._injector=(0,t.WQX)(t.zZn),this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=(0,j.v)(()=>{const et=this.autocomplete?this.autocomplete.options:null;return et?et.changes.pipe((0,Yt.Z)(et),(0,Rt.n)(()=>(0,tt.h)(...et.map(mt=>mt.onSelectionChange)))):this._initialized.pipe((0,Rt.n)(()=>this.optionSelections))}),this._handlePanelKeydown=et=>{(et.keyCode===Q._f&&!(0,Q.rp)(et)||et.keyCode===Q.i7&&(0,Q.rp)(et,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),et.stopPropagation(),et.preventDefault())},this._trackedModal=null,this._scrollStrategy=Nt}ngAfterViewInit(){this._initialized.next(),this._initialized.complete();const g=this._getWindow();typeof g<"u"&&this._zone.runOutsideAngular(()=>g.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(g){g.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const g=this._getWindow();typeof g<"u"&&g.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&(0,K.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,tt.h)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,Mt.p)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,Mt.p)(()=>this._overlayAttached)):(0,at.of)()).pipe((0,Ut.T)(g=>g instanceof i.MI?g:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,tt.h)((0,$.R)(this._document,"click"),(0,$.R)(this._document,"auxclick"),(0,$.R)(this._document,"touchend")).pipe((0,Mt.p)(g=>{const y=(0,T.Fb)(g),D=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,I=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&y!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!D||!D.contains(y))&&(!I||!I.contains(y))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(y)}))}writeValue(g){Promise.resolve(null).then(()=>this._assignOptionValue(g))}registerOnChange(g){this._onChange=g}registerOnTouched(g){this._onTouched=g}setDisabledState(g){this._element.nativeElement.disabled=g}_handleKeydown(g){const y=g.keyCode,D=(0,Q.rp)(g);if(y===Q._f&&!D&&g.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&y===Q.Fm&&this.panelOpen&&!D)this.activeOption._selectViaInteraction(),this._resetActiveItem(),g.preventDefault();else if(this.autocomplete){const I=this.autocomplete._keyManager.activeItem,V=y===Q.i7||y===Q.n6;y===Q.wn||V&&!D&&this.panelOpen?this.autocomplete._keyManager.onKeydown(g):V&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(V||this.autocomplete._keyManager.activeItem!==I)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(g){let y=g.target,D=y.value;if("number"===y.type&&(D=""==D?null:parseFloat(D)),this._previousValue!==D){if(this._previousValue=D,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(D),D){if(this.panelOpen&&!this.autocomplete.requireSelection){const I=this.autocomplete.options?.find(V=>V.selected);I&&D!==this._getDisplayValue(I.value)&&I.deselect(!1)}}else this._clearPreviousSelectedOption(null,!1);if(this._canOpen()&&this._document.activeElement===g.target){const I=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(I)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_floatLabel(g=!1){this._formField&&"auto"===this._formField.floatLabel&&(g?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const g=new _t.c(D=>{(0,t.mal)(()=>{D.next()},{injector:this._injector})}),y=this.autocomplete.options.changes.pipe((0,Pt.M)(()=>this._positionStrategy.reapplyLastPosition()),(0,gt.c)(0));return(0,tt.h)(g,y).pipe((0,Rt.n)(()=>this._zone.run(()=>{const D=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),D!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),(0,Tt.s)(1)).subscribe(D=>this._setValueAndClose(D))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(g){const y=this.autocomplete;return y&&y.displayWith?y.displayWith(g):g}_assignOptionValue(g){const y=this._getDisplayValue(g);null==g&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(y??"")}_updateNativeInputValue(g){this._formField?this._formField._control.value=g:this._element.nativeElement.value=g,this._previousValue=g}_setValueAndClose(g){const y=this.autocomplete,D=g?g.source:this._pendingAutoselectedOption;D?(this._clearPreviousSelectedOption(D),this._assignOptionValue(D.value),this._onChange(D.value),y._emitSelectEvent(D),this._element.nativeElement.focus()):y.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),y._animationDone?y._animationDone.pipe((0,Tt.s)(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(g,y){this.autocomplete?.options?.forEach(D=>{D!==g&&D.selected&&D.deselect(y)})}_openPanelInternal(g=this._element.nativeElement.value){this._attachOverlay(g),this._floatLabel(),this._trackedModal&&(0,K.px)(this._trackedModal,"aria-owns",this.autocomplete.id)}_attachOverlay(g){let y=this._overlayRef;y?(this._positionStrategy.setOrigin(this._getConnectedElement()),y.updateSize({width:this._getPanelWidth()})):(this._portal=new It.VA(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),y=this._overlay.create(this._getOverlayConfig()),this._overlayRef=y,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&y&&y.updateSize({width:this._getPanelWidth()})})),y&&!y.hasAttached()&&(y.attach(this._portal),this._valueOnAttach=g,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());const D=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&D!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const g=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=g.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=g.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new z.rR({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const g=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(g),this._positionStrategy=g,g}_setStrategyPositions(g){const y=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],D=this._aboveClass,I=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:D},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:D}];let V;V="above"===this.position?I:"below"===this.position?y:[...y,...I],g.withPositions(V)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const g=this.autocomplete;if(g.autoActiveFirstOption){let y=-1;for(let D=0;D<g.options.length;D++)if(!g.options.get(D).disabled){y=D;break}g._keyManager.setActiveItem(y)}else g._keyManager.setActiveItem(-1)}_canOpen(){const g=this._element.nativeElement;return!g.readOnly&&!g.disabled&&!this.autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(g){const y=this.autocomplete,D=(0,i.jb)(g,y.options,y.optionGroups);if(0===g&&1===D)y._setScrollTop(0);else if(y.panel){const I=y.options.toArray()[g];if(I){const V=I._getHostElement(),Nt=(0,i.TL)(V.offsetTop,V.offsetHeight,y._getScrollTop(),y.panel.nativeElement.offsetHeight);y._setScrollTop(Nt)}}}_applyModalPanelOwnership(){const g=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!g)return;const y=this.autocomplete.id;this._trackedModal&&(0,K.Ae)(this._trackedModal,"aria-owns",y),(0,K.px)(g,"aria-owns",y),this._trackedModal=g}_clearFromModal(){this._trackedModal&&((0,K.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static#t=this.\u0275fac=function(y){return new(y||P)(t.rXU(t.aKT),t.rXU(z.hJ),t.rXU(t.c1b),t.rXU(t.SKi),t.rXU(t.gRc),t.rXU(Ot),t.rXU(St.dS,8),t.rXU(ut.xb,9),t.rXU(X.qQ,8),t.rXU(q.Xj),t.rXU(Ct,8))};static#e=this.\u0275dir=t.FsC({type:P,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(y,D){1&y&&t.bIt("focusin",function(){return D._handleFocus()})("blur",function(){return D._onTouched()})("input",function(V){return D._handleInput(V)})("keydown",function(V){return D._handleKeydown(V)})("click",function(){return D._handleClick()}),2&y&&t.BMQ("autocomplete",D.autocompleteAttribute)("role",D.autocompleteDisabled?null:"combobox")("aria-autocomplete",D.autocompleteDisabled?null:"list")("aria-activedescendant",D.panelOpen&&D.activeOption?D.activeOption.id:null)("aria-expanded",D.autocompleteDisabled?null:D.panelOpen.toString())("aria-controls",D.autocompleteDisabled||!D.panelOpen||null==D.autocomplete?null:D.autocomplete.id)("aria-haspopup",D.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",t.L39]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[t.Jv_([ct]),t.GFd,t.OA$]})}return P})(),Bt=(()=>{class P{static#t=this.\u0275fac=function(y){return new(y||P)};static#e=this.\u0275mod=t.$C({type:P});static#i=this.\u0275inj=t.G2t({providers:[Kt],imports:[z.z_,i.Sy,i.yE,X.MD,q.Gj,i.Sy,i.yE]})}return P})()},3719:(de,kt,C)=>{C.d(kt,{JW:()=>ht,MV:()=>Bt,RG:()=>$t,TL:()=>Kt,nJ:()=>Dt,qT:()=>st,rl:()=>qt,xb:()=>Zt,yw:()=>y});var t=C(4438),i=C(8203),X=C(6860),q=C(4337),z=C(5286),K=C(4670),T=C(7605),G=C(8170),W=C(4085),B=C(9969),j=C(177),tt=C(2318),at=C(6600);const $=["notch"],_t=["matFormFieldNotchedOutline",""],Q=["*"],It=["textField"],J=["iconPrefixContainer"],ut=["textPrefixContainer"],Yt=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Rt=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function Mt(w,Z){1&w&&t.nrm(0,"span",19)}function Ut(w,Z){if(1&w&&(t.j41(0,"label",18),t.SdG(1,1),t.DNE(2,Mt,1,0,"span",19),t.k0s()),2&w){const v=t.XpG(2);t.Y8G("floating",v._shouldLabelFloat())("monitorResize",v._hasOutline())("id",v._labelId),t.BMQ("for",v._control.disableAutomaticLabeling?null:v._control.id),t.R7$(2),t.vxM(!v.hideRequiredMarker&&v._control.required?2:-1)}}function Pt(w,Z){if(1&w&&t.DNE(0,Ut,3,5,"label",18),2&w){const v=t.XpG();t.vxM(v._hasFloatingLabel()?0:-1)}}function gt(w,Z){1&w&&t.nrm(0,"div",5)}function Tt(w,Z){}function St(w,Z){if(1&w&&t.DNE(0,Tt,0,0,"ng-template",11),2&w){t.XpG(2);const v=t.sdS(1);t.Y8G("ngTemplateOutlet",v)}}function zt(w,Z){if(1&w&&(t.j41(0,"div",7),t.DNE(1,St,1,1,null,11),t.k0s()),2&w){const v=t.XpG();t.Y8G("matFormFieldNotchedOutlineOpen",v._shouldLabelFloat()),t.R7$(),t.vxM(v._forceDisplayInfixLabel()?-1:1)}}function Ft(w,Z){1&w&&(t.j41(0,"div",8,2),t.SdG(2,2),t.k0s())}function xt(w,Z){1&w&&(t.j41(0,"div",9,3),t.SdG(2,3),t.k0s())}function yt(w,Z){}function vt(w,Z){if(1&w&&t.DNE(0,yt,0,0,"ng-template",11),2&w){t.XpG();const v=t.sdS(1);t.Y8G("ngTemplateOutlet",v)}}function wt(w,Z){1&w&&(t.j41(0,"div",12),t.SdG(1,4),t.k0s())}function Ct(w,Z){1&w&&(t.j41(0,"div",13),t.SdG(1,5),t.k0s())}function Vt(w,Z){1&w&&t.nrm(0,"div",14)}function At(w,Z){if(1&w&&(t.j41(0,"div",16),t.SdG(1,6),t.k0s()),2&w){const v=t.XpG();t.Y8G("@transitionMessages",v._subscriptAnimationState)}}function Lt(w,Z){if(1&w&&(t.j41(0,"mat-hint",20),t.EFF(1),t.k0s()),2&w){const v=t.XpG(2);t.Y8G("id",v._hintLabelId),t.R7$(),t.JRh(v.hintLabel)}}function ct(w,Z){if(1&w&&(t.j41(0,"div",17),t.DNE(1,Lt,2,2,"mat-hint",20),t.SdG(2,7),t.nrm(3,"div",21),t.SdG(4,8),t.k0s()),2&w){const v=t.XpG();t.Y8G("@transitionMessages",v._subscriptAnimationState),t.R7$(),t.vxM(v.hintLabel?1:-1)}}let Dt=(()=>{class w{static#t=this.\u0275fac=function(S){return new(S||w)};static#e=this.\u0275dir=t.FsC({type:w,selectors:[["mat-label"]],standalone:!0})}return w})(),Ot=0;const ft=new t.nKC("MatError");let Kt=(()=>{class w{constructor(v,S){this.id="mat-mdc-error-"+Ot++,v||S.nativeElement.setAttribute("aria-live","polite")}static#t=this.\u0275fac=function(S){return new(S||w)(t.kS0("aria-live"),t.rXU(t.aKT))};static#e=this.\u0275dir=t.FsC({type:w,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(S,E){2&S&&t.Mr5("id",E.id)},inputs:{id:"id"},standalone:!0,features:[t.Jv_([{provide:ft,useExisting:w}])]})}return w})(),ot=0,Bt=(()=>{class w{constructor(){this.align="start",this.id="mat-mdc-hint-"+ot++}static#t=this.\u0275fac=function(S){return new(S||w)};static#e=this.\u0275dir=t.FsC({type:w,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(S,E){2&S&&(t.Mr5("id",E.id),t.BMQ("align",null),t.AVh("mat-mdc-form-field-hint-end","end"===E.align))},inputs:{align:"align",id:"id"},standalone:!0})}return w})();const P=new t.nKC("MatPrefix");let ht=(()=>{class w{constructor(){this._isText=!1}set _isTextSelector(v){this._isText=!0}static#t=this.\u0275fac=function(S){return new(S||w)};static#e=this.\u0275dir=t.FsC({type:w,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},standalone:!0,features:[t.Jv_([{provide:P,useExisting:w}])]})}return w})();const g=new t.nKC("MatSuffix");let y=(()=>{class w{constructor(){this._isText=!1}set _isTextSelector(v){this._isText=!0}static#t=this.\u0275fac=function(S){return new(S||w)};static#e=this.\u0275dir=t.FsC({type:w,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[t.Jv_([{provide:g,useExisting:w}])]})}return w})();const D=new t.nKC("FloatingLabelParent");let I=(()=>{class w{get floating(){return this._floating}set floating(v){this._floating=v,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(v){this._monitorResize=v,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(v){this._elementRef=v,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,t.WQX)(G.a),this._ngZone=(0,t.WQX)(t.SKi),this._parent=(0,t.WQX)(D),this._resizeSubscription=new q.y}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function V(w){if(null!==w.offsetParent)return w.scrollWidth;const v=w.cloneNode(!0);v.style.setProperty("position","absolute"),v.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(v);const S=v.scrollWidth;return v.remove(),S}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static#t=this.\u0275fac=function(S){return new(S||w)(t.rXU(t.aKT))};static#e=this.\u0275dir=t.FsC({type:w,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(S,E){2&S&&t.AVh("mdc-floating-label--float-above",E.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}return w})();const Nt="mdc-line-ripple--active",lt="mdc-line-ripple--deactivating";let Gt=(()=>{class w{constructor(v,S){this._elementRef=v,this._handleTransitionEnd=E=>{const R=this._elementRef.nativeElement.classList,H=R.contains(lt);"opacity"===E.propertyName&&H&&R.remove(Nt,lt)},S.runOutsideAngular(()=>{v.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const v=this._elementRef.nativeElement.classList;v.remove(lt),v.add(Nt)}deactivate(){this._elementRef.nativeElement.classList.add(lt)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static#t=this.\u0275fac=function(S){return new(S||w)(t.rXU(t.aKT),t.rXU(t.SKi))};static#e=this.\u0275dir=t.FsC({type:w,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}return w})(),bt=(()=>{class w{constructor(v,S){this._elementRef=v,this._ngZone=S,this.open=!1}ngAfterViewInit(){const v=this._elementRef.nativeElement.querySelector(".mdc-floating-label");v?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(v.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>v.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(v){this._notch.nativeElement.style.width=this.open&&v?`calc(${v}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static#t=this.\u0275fac=function(S){return new(S||w)(t.rXU(t.aKT),t.rXU(t.SKi))};static#e=this.\u0275cmp=t.VBU({type:w,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(S,E){if(1&S&&t.GBs($,5),2&S){let R;t.mGM(R=t.lsd())&&(E._notch=R.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(S,E){2&S&&t.AVh("mdc-notched-outline--notched",E.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[t.aNF],attrs:_t,ngContentSelectors:Q,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(S,E){1&S&&(t.NAR(),t.nrm(0,"div",1),t.j41(1,"div",2,0),t.SdG(3),t.k0s(),t.nrm(4,"div",3))},encapsulation:2,changeDetection:0})}return w})();const Wt={transitionMessages:(0,B.hZ)("transitionMessages",[(0,B.wk)("enter",(0,B.iF)({opacity:1,transform:"translateY(0%)"})),(0,B.kY)("void => enter",[(0,B.iF)({opacity:0,transform:"translateY(-5px)"}),(0,B.i0)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let st=(()=>{class w{static#t=this.\u0275fac=function(S){return new(S||w)};static#e=this.\u0275dir=t.FsC({type:w})}return w})();const Zt=new t.nKC("MatFormField"),dt=new t.nKC("MAT_FORM_FIELD_DEFAULT_OPTIONS");let nt=0,qt=(()=>{class w{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(v){this._hideRequiredMarker=(0,W.he)(v)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(v){v!==this._floatLabel&&(this._floatLabel=v,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(v){const S=this._appearance;this._appearance=v||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==S&&(this._needsOutlineLabelOffsetUpdate=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(v){this._subscriptSizing=v||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(v){this._hintLabel=v,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(v){this._explicitFormFieldControl=v}constructor(v,S,E,R,H,it,f,U){this._elementRef=v,this._changeDetectorRef=S,this._dir=R,this._platform=H,this._defaults=it,this._animationMode=f,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+nt++,this._hintLabelId="mat-mdc-hint-"+nt++,this._subscriptAnimationState="",this._destroyed=new z.B7,this._isFocused=null,this._needsOutlineLabelOffsetUpdate=!1,this._injector=(0,t.WQX)(t.zZn),it&&(it.appearance&&(this.appearance=it.appearance),this._hideRequiredMarker=!!it?.hideRequiredMarker,it.color&&(this.color=it.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const v=this._control;v.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${v.controlType}`),v.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),v.ngControl&&v.ngControl.valueChanges&&v.ngControl.valueChanges.pipe((0,T.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(v=>!v._isText),this._hasTextPrefix=!!this._prefixChildren.find(v=>v._isText),this._hasIconSuffix=!!this._suffixChildren.find(v=>!v._isText),this._hasTextSuffix=!!this._suffixChildren.find(v=>v._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,K.h)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),(0,t.Tzd)(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe((0,T.Q)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(v){const S=this._control?this._control.ngControl:null;return S&&S[v]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let v=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&v.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const S=this._hintChildren?this._hintChildren.find(R=>"start"===R.align):null,E=this._hintChildren?this._hintChildren.find(R=>"end"===R.align):null;S?v.push(S.id):this._hintLabel&&v.push(this._hintLabelId),E&&v.push(E.id)}else this._errorChildren&&v.push(...this._errorChildren.map(S=>S.id));this._control.setDescribedByIds(v)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;const v=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(v.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdate=!0);const S=this._iconPrefixContainer?.nativeElement,E=this._textPrefixContainer?.nativeElement,R=S?.getBoundingClientRect().width??0,H=E?.getBoundingClientRect().width??0;v.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${R+H}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const v=this._elementRef.nativeElement;if(v.getRootNode){const S=v.getRootNode();return S&&S!==v}return document.documentElement.contains(v)}static#t=this.\u0275fac=function(S){return new(S||w)(t.rXU(t.aKT),t.rXU(t.gRc),t.rXU(t.SKi),t.rXU(i.dS),t.rXU(X.OD),t.rXU(dt,8),t.rXU(t.bc$,8),t.rXU(j.qQ))};static#e=this.\u0275cmp=t.VBU({type:w,selectors:[["mat-form-field"]],contentQueries:function(S,E,R){if(1&S&&(t.wni(R,Dt,5),t.wni(R,Dt,7),t.wni(R,st,5),t.wni(R,P,5),t.wni(R,g,5),t.wni(R,ft,5),t.wni(R,Bt,5)),2&S){let H;t.mGM(H=t.lsd())&&(E._labelChildNonStatic=H.first),t.mGM(H=t.lsd())&&(E._labelChildStatic=H.first),t.mGM(H=t.lsd())&&(E._formFieldControl=H.first),t.mGM(H=t.lsd())&&(E._prefixChildren=H),t.mGM(H=t.lsd())&&(E._suffixChildren=H),t.mGM(H=t.lsd())&&(E._errorChildren=H),t.mGM(H=t.lsd())&&(E._hintChildren=H)}},viewQuery:function(S,E){if(1&S&&(t.GBs(It,5),t.GBs(J,5),t.GBs(ut,5),t.GBs(I,5),t.GBs(bt,5),t.GBs(Gt,5)),2&S){let R;t.mGM(R=t.lsd())&&(E._textField=R.first),t.mGM(R=t.lsd())&&(E._iconPrefixContainer=R.first),t.mGM(R=t.lsd())&&(E._textPrefixContainer=R.first),t.mGM(R=t.lsd())&&(E._floatingLabel=R.first),t.mGM(R=t.lsd())&&(E._notchedOutline=R.first),t.mGM(R=t.lsd())&&(E._lineRipple=R.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(S,E){2&S&&t.AVh("mat-mdc-form-field-label-always-float",E._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",E._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",E._hasIconSuffix)("mat-form-field-invalid",E._control.errorState)("mat-form-field-disabled",E._control.disabled)("mat-form-field-autofilled",E._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===E._animationMode)("mat-form-field-appearance-fill","fill"==E.appearance)("mat-form-field-appearance-outline","outline"==E.appearance)("mat-form-field-hide-placeholder",E._hasFloatingLabel()&&!E._shouldLabelFloat())("mat-focused",E._control.focused)("mat-primary","accent"!==E.color&&"warn"!==E.color)("mat-accent","accent"===E.color)("mat-warn","warn"===E.color)("ng-untouched",E._shouldForward("untouched"))("ng-touched",E._shouldForward("touched"))("ng-pristine",E._shouldForward("pristine"))("ng-dirty",E._shouldForward("dirty"))("ng-valid",E._shouldForward("valid"))("ng-invalid",E._shouldForward("invalid"))("ng-pending",E._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[t.Jv_([{provide:Zt,useExisting:w},{provide:D,useExisting:w}]),t.aNF],ngContentSelectors:Rt,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(S,E){if(1&S){const R=t.RV6();t.NAR(Yt),t.DNE(0,Pt,1,1,"ng-template",null,0,t.C5r),t.j41(2,"div",4,1),t.bIt("click",function(it){return t.eBV(R),t.Njj(E._control.onContainerClick(it))}),t.DNE(4,gt,1,0,"div",5),t.j41(5,"div",6),t.DNE(6,zt,2,2,"div",7)(7,Ft,3,0,"div",8)(8,xt,3,0,"div",9),t.j41(9,"div",10),t.DNE(10,vt,1,1,null,11),t.SdG(11),t.k0s(),t.DNE(12,wt,2,0,"div",12)(13,Ct,2,0,"div",13),t.k0s(),t.DNE(14,Vt,1,0,"div",14),t.k0s(),t.j41(15,"div",15),t.DNE(16,At,2,1,"div",16)(17,ct,5,2,"div",17),t.k0s()}if(2&S){let R;t.R7$(2),t.AVh("mdc-text-field--filled",!E._hasOutline())("mdc-text-field--outlined",E._hasOutline())("mdc-text-field--no-label",!E._hasFloatingLabel())("mdc-text-field--disabled",E._control.disabled)("mdc-text-field--invalid",E._control.errorState),t.R7$(2),t.vxM(E._hasOutline()||E._control.disabled?-1:4),t.R7$(2),t.vxM(E._hasOutline()?6:-1),t.R7$(),t.vxM(E._hasIconPrefix?7:-1),t.R7$(),t.vxM(E._hasTextPrefix?8:-1),t.R7$(2),t.vxM(!E._hasOutline()||E._forceDisplayInfixLabel()?10:-1),t.R7$(2),t.vxM(E._hasTextSuffix?12:-1),t.R7$(),t.vxM(E._hasIconSuffix?13:-1),t.R7$(),t.vxM(E._hasOutline()?-1:14),t.R7$(),t.AVh("mat-mdc-form-field-subscript-dynamic-size","dynamic"===E.subscriptSizing),t.R7$(),t.vxM("error"===(R=E._getDisplayedMessages())?16:"hint"===R?17:-1)}},dependencies:[I,bt,j.T3,Gt,Bt],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[Wt.transitionMessages]},changeDetection:0})}return w})(),$t=(()=>{class w{static#t=this.\u0275fac=function(S){return new(S||w)};static#e=this.\u0275mod=t.$C({type:w});static#i=this.\u0275inj=t.G2t({imports:[at.yE,j.MD,tt.w5,at.yE]})}return w})()}}]);