1"use strict";(self.webpackChunknobleui_angular=self.webpackChunknobleui_angular||[]).push([[7531,7787],{58445:(le,P,_)=>{_.d(P,{J:()=>m});var r=_(22560);let m=(()=>{class D{constructor(d){this.el=d,this.regex=new RegExp(/^\d*\.?\d{0,2}$/g),this.specialKeys=["Backspace","Tab","End","Home","ArrowLeft","ArrowRight","Del","Delete"],this.decimalNumberMaxInt=6}onKeyDown(d){if(-1!==this.specialKeys.indexOf(d.key))return;let b=this.el.nativeElement.value;if(b.length==this.decimalNumberMaxInt&&-1===b.indexOf(".")&&(b=`${b}.`),b.length>=this.decimalNumberMaxInt+3)return void d.preventDefault();const p=this.el.nativeElement.selectionStart,I=[b.slice(0,p),"Decimal"==d.key?".":d.key,b.slice(p)].join("");this.el.nativeElement.value=b,I&&!String(I).match(this.regex)&&d.preventDefault()}}return D.\u0275fac=function(d){return new(d||D)(r.Y36(r.SBq))},D.\u0275dir=r.lG2({type:D,selectors:[["","appAppTwoDIgitDecimalNumber",""]],hostBindings:function(d,b){1&d&&r.NdJ("keydown",function(I){return b.onKeyDown(I)})},inputs:{decimalNumberMaxInt:"decimalNumberMaxInt"}}),D})()},43822:(le,P,_)=>{_.d(P,{W:()=>he});var r=_(22560),m=_(94666),D=_(59462),g=_(71518);const d=function(E){return[E]};function b(E,M){if(1&E){const v=r.EpF();r.TgZ(0,"div",7)(1,"button",8),r.NdJ("click",function(){const B=r.CHM(v).$implicit,V=r.oxw();return r.KtG(V.handleClick.emit(null==B?null:B.buttonName))}),r._uU(2),r.qZA()()}if(2&E){const v=M.$implicit;r.xp6(1),r.Tol(null==v?null:v.className),r.Q6J("disabled",null==v?null:v.disable)("queryParams",null==v?null:v.queryParams)("routerLink",r.VKq(7,d,null==v?null:v.params)),r.xp6(1),r.hij("",null==v?null:v.buttonName," ")}}const p=[[["","TPN",""]]],I=["[TPN]"];let he=(()=>{class E{constructor(){this.handleClick=new r.vpe}ngOnInit(){}}return E.\u0275fac=function(v){return new(v||E)},E.\u0275cmp=r.Xpm({type:E,selectors:[["app-jump-to-buttons-component"]],inputs:{buttonList:"buttonList"},outputs:{handleClick:"handleClick"},ngContentSelectors:I,decls:10,vars:1,consts:[["align","center",1,"mb-0","pb-0"],[1,"p-tag","justify-content-center"],[1,"mdi","mdi-chevron-triple-up"],[1,"font-weight-bold","pl-md-1"],[1,"modal-body","text-center","gap"],[1,"col-md-12","justify-content-around","row","gap"],["class","",4,"ngFor","ngForOf"],[1,""],[3,"disabled","queryParams","routerLink","click"]],template:function(v,z){1&v&&(r.F$t(p),r.TgZ(0,"div")(1,"p-divider",0)(2,"div",1),r._UZ(3,"i",2),r.TgZ(4,"span",3),r._uU(5," Jump To "),r.qZA()()(),r.TgZ(6,"div",4)(7,"div",5),r.YNc(8,b,3,9,"div",6),r.Hsn(9),r.qZA()()()),2&v&&(r.xp6(8),r.Q6J("ngForOf",z.buttonList))},dependencies:[m.sg,D.rH,g.i],styles:[".btn[_ngcontent-%COMP%]{color:#fff}.gap[_ngcontent-%COMP%]{gap:20px}"]}),E})()},81441:(le,P,_)=>{_.d(P,{Zt:()=>Xt,Bh:()=>Qt,Wj:()=>$t,Fd:()=>Zt,_t:()=>qt,bA:()=>Ye,EA:()=>Kt});var r=_(22560),m=_(94666),D=_(85466),g=_(96234),d=_(9561),p=(_(84505),_(92218));_(64139);var W=_(83910),F=(_(16276),_(53298),_(85921)),j=_(77473);_(80823),typeof Element<"u"&∈var k=_(6957),kt=_(13491),Lt=_(58310),Re=_(88623),J=_(25722),Ot=_(86942),xt=_(88759),Nt=_(59095),Ae=_(87511);function X(s,t,e){for(let i in t)if(t.hasOwnProperty(i)){const n=t[i];n?s.setProperty(i,n,e?.has(i)?"important":""):s.removeProperty(i)}return s}function S(s,t){const e=t?"":"none";X(s.style,{"touch-action":t?"":"none","-webkit-user-drag":t?"":"none","-webkit-tap-highlight-color":t?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function Pe(s,t,e){X(s.style,{position:t?"":"fixed",top:t?"":"0",opacity:t?"":"0",left:t?"":"-999em"},e)}
1function H(s,t){return t&&"none"!=t?s+" "+t:s}function Me(s){const t=s.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(s)*t}function q(s,t){return s.getPropertyValue(t).split(",").map(i=>i.trim())}function ee(s){const t=s.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height}}function te(s,t,e){const{top:i,bottom:n,left:o,right:a}=s;return e>=i&&e<=n&&t>=o&&t<=a}function L(s,t,e){s.top+=t,s.bottom=s.top+s.height,s.left+=e,s.right=s.left+s.width}function Fe(s,t,e,i){const{top:n,right:o,bottom:a,left:c,width:l,height:u}=s,h=l*t,f=u*t;return i>n-f&&i<a+f&&e>c-h&&e<o+h}class ke{constructor(t,e){this._document=t,this._viewportRuler=e,this.positions=new Map}clear(){this.positions.clear()}cache(t){this.clear(),this.positions.set(this._document,{scrollPosition:this._viewportRuler.getViewportScrollPosition()}),t.forEach(e=>{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:ee(e)})})}handleScroll(t){const e=(0,g.sA)(t),i=this.positions.get(e);if(!i)return null;const n=e===this._document?e.documentElement:e,o=i.scrollPosition;let a,c;if(e===this._document){const h=this._viewportRuler.getViewportScrollPosition();a=h.top,c=h.left}else a=e.scrollTop,c=e.scrollLeft;const l=o.top-a,u=o.left-c;return this.positions.forEach((h,f)=>{h.clientRect&&e!==f&&n.contains(f)&&L(h.clientRect,l,u)}),o.top=a,o.left=c,{top:l,left:u}}}function Le(s){const t=s.cloneNode(!0),e=t.querySelectorAll("[id]"),i=s.nodeName.toLowerCase();t.removeAttribute("id");for(let n=0;n<e.length;n++)e[n].removeAttribute("id");return"canvas"===i?Ne(s,t):("input"===i||"select"===i||"textarea"===i)&&xe(s,t),Oe("canvas",s,t,Ne),Oe("input, textarea, select",s,t,xe),t}function Oe(s,t,e,i){const n=t.querySelectorAll(s);if(n.length){const o=e.querySelectorAll(s);for(let a=0;a<n.length;a++)i(n[a],o[a])}}let Gt=0;function xe(s,t){"file"!==t.type&&(t.value=s.value),"radio"===t.type&&t.name&&(t.name=`mat-clone-${t.name}-${Gt++}`)}function Ne(s,t){const e=t.getContext("2d");if(e)try{e.drawImage(s,0,0)}catch{}}const Be=(0,g.i$)({passive:!0}),Ge=(0,g.i$)({passive:!1}),ie=new Set(["position"]);class Ut{constructor(t,e,i,n,o,a){this._config=e,this._document=i,this._ngZone=n,this._viewportRuler=o,this._dragDropRegistry=a,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new p.xQ,this._pointerMoveSubscription=k.w.EMPTY,this._pointerUpSubscription=k.w.EMPTY,this._scrollSubscription=k.w.EMPTY,this._resizeSubscription=k.w.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new p.xQ,this.started=new p.xQ,this.released=new p.xQ,this.ended=new p.xQ,this.entered=new p.xQ,this.exited=new p.xQ,this.dropped=new p.xQ,this.moved=this._moveEvents,this._pointerDown=c=>{if(this.beforeStarted.next(),this._handles.length){const l=this._handles.find(u=>{const h=(0,g.sA)(c);return!!h&&(h===u||u.contains(h))});l&&!this._disabledHandles.has(l)&&!this.disabled&&this._initializeDragSequence(l,c)}else this.disabled||this._initializeDragSequence(this._rootElement,c)},this._pointerMove=c=>{const l=this._getPointerPositionOnPage(c);if(!this._hasStartedDragging){if(Math.abs(l.x-this._pickupPositionOnPage.x)+Math.abs(l.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const N=Date.now()>=this._dragStartTime+this._getDragStartDelay(c),T=this._dropContainer;if(!N)return void this._endDragSequence(c);(!T||!T.isDragging()&&!T.isReceiving())&&(c.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(c)))}return}this._boundaryElement&&(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),c.preventDefault();const u=this._getConstrainedPointerPosition(l);if(this._hasMoved=!0,this._lastKnownPointerPosition=l,this._updatePointerDirectionDelta(u),this._dropContainer)this._updateActiveDropContainer(u,l);else{const h=this._activeTransform;h.x=u.x-this._pickupPositionOnPage.x+this._passiveTransform.x,h.y=u.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(h.x,h.y),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&this._rootElement.setAttribute("transform",`translate(${h.x} ${h.y})`)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:u,event:c,distance:this._getDragDistance(u),delta:this._pointerDirectionDelta})})},this._pointerUp=c=>{this._endDragSequence(c)},this.withRootElement(t).withParent(e.parentDragRef||null),this._parentPositions=new ke(i,o),a.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(t){const e=(0,d.Ig)(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEac
1h(i=>S(i,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){this._handles=t.map(i=>(0,d.fI)(i)),this._handles.forEach(i=>S(i,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(i=>{this._handles.indexOf(i)>-1&&e.add(i)}),this._disabledHandles=e,this}withPreviewTemplate(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=(0,d.fI)(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,Ge),e.addEventListener("touchstart",this._pointerDown,Be)}),this._initialTransform=void 0,this._rootElement=e),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(t){return this._boundaryElement=t?(0,d.fI)(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(t){return this._parentDragRef=t,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&K(this._rootElement),K(this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),S(t,!0))}enableHandle(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),S(t,this.disabled))}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){const t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}withPreviewContainer(t){return this._previewContainer=t,this}_sortFromLastPointerPosition(){const t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview&&K(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder&&K(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(t);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}
1_startDragSequence(t){O(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const i=this._rootElement,n=i.parentNode,o=this._placeholder=this._createPlaceholderElement(),a=this._anchor=this._anchor||this._document.createComment(""),c=this._getShadowRoot();n.insertBefore(a,i),this._initialTransform=i.style.transform||"",this._preview=this._createPreviewElement(),Pe(i,!1,ie),this._document.body.appendChild(n.replaceChild(o,i)),this._getPreviewInsertionPoint(n,c).appendChild(this._preview),this.started.next({source:this}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(t,e){this._parentDragRef&&e.stopPropagation();const i=this.isDragging(),n=O(e),o=!n&&0!==e.button,a=this._rootElement,c=(0,g.sA)(e),l=!n&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),u=n?function be(s){const t=s.touches&&s.touches[0]||s.changedTouches&&s.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}(e):function ve(s){return 0===s.offsetX&&0===s.offsetY}(e);if(c&&c.draggable&&"mousedown"===e.type&&e.preventDefault(),i||o||l||u)return;this._handles.length&&(this._rootElementTapHighlight=a.style.webkitTapHighlightColor||"",a.style.webkitTapHighlightColor="transparent"),this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(C=>this._updateOnScroll(C)),this._boundaryElement&&(this._boundaryRect=ee(this._boundaryElement));const h=this._previewTemplate;this._pickupPositionInElement=h&&h.template&&!h.matchSize?{x:0,y:0}:this._getPointerPositionInElement(t,e);const f=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:f.x,y:f.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){Pe(this._rootElement,!0,ie),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,i=e.getItemIndex(this),n=this._getPointerPositionOnPage(t),o=this._getDragDistance(n),a=e._isOverContainer(n.x,n.y);this.ended.next({source:this,distance:o,dropPoint:n}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:a,distance:o,dropPoint:n}),e.drop(this,i,this._initialIndex,this._initialContainer,a,o,n),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e},{x:i,y:n}){let o=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!o&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(o=this._initialContainer),o&&o!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=o,this._dropContainer.enter(this,t,e,o===this._initialContainer&&o.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:o,currentIndex:o.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,n),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this._applyPreviewTransform(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const t=this._previewTemplate,e=this.previewClass,i=t?t.template:null;let n;if(i&&t){const o=t.matchSize?this._rootElement.getBoundingClientRect():null,a=t.viewContainer.createEmbeddedView(i,t.context);a.detectChanges(),n=Ue(a,this._document),this._previewRef=a,t.matchSize?Ke(n,o):n.style.transform=U(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const o=this._rootElement;n=Le(o),Ke(n,o.getBoundingClientRect()),this._initialTransform&&(n.style.transform=this._initialTransform)}return X(n.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`}
1,ie),S(n,!1),n.classList.add("cdk-drag-preview"),n.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(o=>n.classList.add(o)):n.classList.add(e)),n}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(t.left,t.top);const e=function Bt(s){const t=getComputedStyle(s),e=q(t,"transition-property"),i=e.find(c=>"transform"===c||"all"===c);if(!i)return 0;const n=e.indexOf(i),o=q(t,"transition-duration"),a=q(t,"transition-delay");return Me(o[n])+Me(a[n])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(i=>{const n=a=>{var c;(!a||(0,g.sA)(a)===this._preview&&"transform"===a.propertyName)&&(null===(c=this._preview)||void 0===c||c.removeEventListener("transitionend",n),i(),clearTimeout(o))},o=setTimeout(n,1.5*e);this._preview.addEventListener("transitionend",n)}))}_createPlaceholderElement(){const t=this._placeholderTemplate,e=t?t.template:null;let i;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),this._placeholderRef.detectChanges(),i=Ue(this._placeholderRef,this._document)):i=Le(this._rootElement),i.classList.add("cdk-drag-placeholder"),i}_getPointerPositionInElement(t,e){const i=this._rootElement.getBoundingClientRect(),n=t===this._rootElement?null:t,o=n?n.getBoundingClientRect():i,a=O(e)?e.targetTouches[0]:e,c=this._getViewportScrollPosition();return{x:o.left-i.left+(a.pageX-o.left-c.left),y:o.top-i.top+(a.pageY-o.top-c.top)}}_getPointerPositionOnPage(t){const e=this._getViewportScrollPosition(),i=O(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,n=i.pageX-e.left,o=i.pageY-e.top;if(this._ownerSVGElement){const a=this._ownerSVGElement.getScreenCTM();if(a){const c=this._ownerSVGElement.createSVGPoint();return c.x=n,c.y=o,c.matrixTransform(a.inverse())}}return{x:n,y:o}}_getConstrainedPointerPosition(t){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:i,y:n}=this.constrainPosition?this.constrainPosition(t,this):t;if("x"===this.lockAxis||"x"===e?n=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(i=this._pickupPositionOnPage.x),this._boundaryRect){const{x:o,y:a}=this._pickupPositionInElement,c=this._boundaryRect,l=this._previewRect,u=c.top+a,h=c.bottom-(l.height-a);i=He(i,c.left+o,c.right-(l.width-o)),n=He(n,u,h)}return{x:i,y:n}}_updatePointerDirectionDelta(t){const{x:e,y:i}=t,n=this._pointerDirectionDelta,o=this._pointerPositionAtLastDirectionChange,a=Math.abs(e-o.x),c=Math.abs(i-o.y);return a>this._config.pointerDirectionChangeThreshold&&(n.x=e>o.x?1:-1,o.x=e),c>this._config.pointerDirectionChangeThreshold&&(n.y=i>o.y?1:-1,o.y=i),n}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,S(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,Ge),t.removeEventListener("touchstart",this._pointerDown,Be)}_applyRootElementTransform(t,e){const i=U(t,e);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform&&"none"!=this._rootElement.style.transform?this._rootElement.style.transform:""),this._rootElement.style.transform=H(i,this._initialTransform)}_applyPreviewTransform(t,e){var i;const n=null!==(i=this._previewTemplate)&&void 0!==i&&i.template?void 0:this._initialTransform,o=U(t,e);this._preview.style.transform=H(o,n)}_getDragDistance(t){const e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:t,y:e}=this._passiveTransform;if(0===t&&0===e||this.isDragging()||!this._boundaryElement)return;const i=this._boundaryElement.getBoundingClientRect(),n=this._rootElement.getBoundingClientRect();if(0===i.width&&0===i.height||0===n.width&&0===n.height)return;const o=i.left-n.left,a=n.right-i.right,c=i.top-n.top,l=n.bottom-i.bottom;i.width>n.width?(o>0&&(t+=o),a>0&&(t-=a)):t=0,i.height>n.height?(c>0&&(e+=c),l>0&&(e-=l)):e=0,(t!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:t})}_getDragStartDelay(t){const e=this.dragStartDelay;return"number"==typeof e?e:O(t)?e.touch:e?e.mouse:0}_updateOnScroll(t){const e=this._parentPositions.handleScroll(t);if(e){const i=(0,g.sA)(t);this._boundaryRect&&(i===this._document||i!==this._boundaryElement&&i.contains(this._boundaryElement))&&L(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const t=this._parentPositions.positions.get(this._document);return t?t.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,g.kV)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(t,e){const i=this._previewContainer||"global";if("parent"===i)return t;if("global"===i){const n=this._document;return e||n.fullscreenElement||n.webkitFullscreenElement||n.mozFullScreenElement||n.msFullscreenElement||n.body}return(0,d.fI)(i)}}function U(s,t){return`translate3d(${Math.round(s)}px, ${Math.round(t)}
1px, 0)`}function He(s,t,e){return Math.max(t,Math.min(e,s))}function K(s){s&&s.parentNode&&s.parentNode.removeChild(s)}function O(s){return"t"===s.type[0]}function Ue(s,t){const e=s.rootNodes;if(1===e.length&&e[0].nodeType===t.ELEMENT_NODE)return e[0];const i=t.createElement("div");return e.forEach(n=>i.appendChild(n)),i}function Ke(s,t){s.style.width=`${t.width}px`,s.style.height=`${t.height}px`,s.style.transform=U(t.left,t.top)}function Ye(s,t,e){const i=x(t,s.length-1),n=x(e,s.length-1);if(i===n)return;const o=s[i],a=n<i?-1:1;for(let c=i;c!==n;c+=a)s[c]=s[c+a];s[n]=o}function Kt(s,t,e,i){const n=x(e,s.length-1),o=x(i,t.length);s.length&&t.splice(o,0,s.splice(n,1)[0])}function x(s,t){return Math.max(0,Math.min(t,s))}class Yt{constructor(t,e,i,n,o){this._dragDropRegistry=e,this._ngZone=n,this._viewportRuler=o,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new p.xQ,this.entered=new p.xQ,this.exited=new p.xQ,this.dropped=new p.xQ,this.sorted=new p.xQ,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=k.w.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new p.xQ,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),(0,kt.F)(0,Lt.Z).pipe((0,F.R)(this._stopScrollTimers)).subscribe(()=>{const a=this._scrollNode,c=this.autoScrollStep;1===this._verticalScrollDirection?Ze(a,-c):2===this._verticalScrollDirection&&Ze(a,c),1===this._horizontalScrollDirection?We(a,-c):2===this._horizontalScrollDirection&&We(a,c)})},this.element=(0,d.fI)(t),this._document=i,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new ke(i,o)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(t,e,i,n){let o;this._draggingStarted(),null==n?(o=this.sortingDisabled?this._draggables.indexOf(t):-1,-1===o&&(o=this._getItemIndexFromPointerPosition(t,e,i))):o=n;const a=this._activeDraggables,c=a.indexOf(t),l=t.getPlaceholderElement();let u=a[o];if(u===t&&(u=a[o+1]),c>-1&&a.splice(c,1),u&&!this._dragDropRegistry.isDragging(u)){const h=u.getRootElement();h.parentElement.insertBefore(l,h),a.splice(o,0,t)}else if(this._shouldEnterAsFirstChild(e,i)){const h=a[0].getRootElement();h.parentNode.insertBefore(l,h),a.unshift(t)}else(0,d.fI)(this.element).appendChild(l),a.push(t);l.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,e,i,n,o,a,c){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:i,container:this,previousContainer:n,isPointerOverContainer:o,distance:a,dropPoint:c})}withItems(t){const e=this._draggables;return this._draggables=t,t.forEach(i=>i._withDropContainer(this)),this.isDragging()&&(e.filter(n=>n.isDragging()).every(n=>-1===t.indexOf(n))?this._reset():this._cacheItems()),this}withDirection(t){return this._direction=t,this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){return this._orientation=t,this}withScrollableParents(t){const e=(0,d.fI)(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e,...t]:t.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?se("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,i=>i.drag===t):this._draggables.indexOf(t)}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,e,i,n){if(this.sortingDisabled||!this._clientRect||!Fe(this._clientRect,.05,e,i))return;const o=this._itemPositions,a=this._getItemIndexFromPointerPosition(t,e,
1i,n);if(-1===a&&o.length>0)return;const c="horizontal"===this._orientation,l=se(o,y=>y.drag===t),u=o[a],f=u.clientRect,C=l>a?1:-1,N=this._getItemOffsetPx(o[l].clientRect,f,C),T=this._getSiblingOffsetPx(l,o,C),R=o.slice();Ye(o,l,a),this.sorted.next({previousIndex:l,currentIndex:a,container:this,item:t}),o.forEach((y,ei)=>{if(R[ei]===y)return;const it=y.drag===t,ce=it?N:T,st=it?t.getPlaceholderElement():y.drag.getRootElement();y.offset+=ce,c?(st.style.transform=H(`translate3d(${Math.round(y.offset)}px, 0, 0)`,y.initialTransform),L(y.clientRect,0,ce)):(st.style.transform=H(`translate3d(0, ${Math.round(y.offset)}px, 0)`,y.initialTransform),L(y.clientRect,ce,0))}),this._previousSwap.overlaps=te(f,e,i),this._previousSwap.drag=u.drag,this._previousSwap.delta=c?n.x:n.y}_startScrollingIfNecessary(t,e){if(this.autoScrollDisabled)return;let i,n=0,o=0;if(this._parentPositions.positions.forEach((a,c)=>{c===this._document||!a.clientRect||i||Fe(a.clientRect,.05,t,e)&&([n,o]=function zt(s,t,e,i){const n=je(t,i),o=$e(t,e);let a=0,c=0;if(n){const l=s.scrollTop;1===n?l>0&&(a=1):s.scrollHeight-l>s.clientHeight&&(a=2)}if(o){const l=s.scrollLeft;1===o?l>0&&(c=1):s.scrollWidth-l>s.clientWidth&&(c=2)}return[a,c]}(c,a.clientRect,t,e),(n||o)&&(i=c))}),!n&&!o){const{width:a,height:c}=this._viewportRuler.getViewportSize(),l={width:a,height:c,top:0,right:a,bottom:c,left:0};n=je(l,e),o=$e(l,t),i=window}i&&(n!==this._verticalScrollDirection||o!==this._horizontalScrollDirection||i!==this._scrollNode)&&(this._verticalScrollDirection=n,this._horizontalScrollDirection=o,this._scrollNode=i,(n||o)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const t=(0,d.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const t=(0,d.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}_cacheItemPositions(){const t="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(e=>{const i=e.getVisibleElement();return{drag:e,offset:0,initialTransform:i.style.transform||"",clientRect:ee(i)}}).sort((e,i)=>t?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top)}_reset(){this._isDragging=!1;const t=(0,d.fI)(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{var i;const n=e.getRootElement();if(n){const o=null===(i=this._itemPositions.find(a=>a.drag===e))||void 0===i?void 0:i.initialTransform;n.style.transform=o||""}}),this._siblings.forEach(e=>e._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(t,e,i){const n="horizontal"===this._orientation,o=e[t].clientRect,a=e[t+-1*i];let c=o[n?"width":"height"]*i;if(a){const l=n?"left":"top",u=n?"right":"bottom";-1===i?c-=a.clientRect[l]-o[u]:c+=o[l]-a.clientRect[u]}return c}_getItemOffsetPx(t,e,i){const n="horizontal"===this._orientation;let o=n?e.left-t.left:e.top-t.top;return-1===i&&(o+=n?e.width-t.width:e.height-t.height),o}_shouldEnterAsFirstChild(t,e){if(!this._activeDraggables.length)return!1;const i=this._itemPositions,n="horizontal"===this._orientation;if(i[0].drag!==this._activeDraggables[0]){const a=i[i.length-1].clientRect;return n?t>=a.right:e>=a.bottom}{const a=i[0].clientRect;return n?t<=a.left:e<=a.top}}_getItemIndexFromPointerPosition(t,e,i,n){const o="horizontal"===this._orientation,a=se(this._itemPositions,({drag:c,clientRect:l},u,h)=>{if(c===t)return h.length<2;if(n){const f=o?n.x:n.y;if(c===this._previousSwap.drag&&this._previousSwap.overlaps&&f===this._previousSwap.delta)return!1}return o?e>=Math.floor(l.left)&&e<Math.floor(l.right):i>=Math.floor(l.top)&&i<Math.floor(l.bottom)});return-1!==a&&this.sortPredicate(a,t,this)?a:-1}
1_cacheItems(){this._activeDraggables=this._draggables.slice(),this._cacheItemPositions(),this._cacheParentPositions()}_isOverContainer(t,e){return null!=this._clientRect&&te(this._clientRect,t,e)}_getSiblingContainerFromPosition(t,e,i){return this._siblings.find(n=>n._canReceive(t,e,i))}_canReceive(t,e,i){if(!this._clientRect||!te(this._clientRect,e,i)||!this.enterPredicate(t,this))return!1;const n=this._getShadowRoot().elementFromPoint(e,i);if(!n)return!1;const o=(0,d.fI)(this.element);return n===o||o.contains(n)}_startReceiving(t,e){const i=this._activeSiblings;!i.has(t)&&e.every(n=>this.enterPredicate(n,this)||this._draggables.indexOf(n)>-1)&&(i.add(t),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(t=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(t);e&&(this._itemPositions.forEach(({clientRect:i})=>{L(i,e.top,e.left)}),this._itemPositions.forEach(({drag:i})=>{this._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const t=(0,g.kV)((0,d.fI)(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const t=this._activeDraggables.filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,t))}}function se(s,t){for(let e=0;e<s.length;e++)if(t(s[e],e,s))return e;return-1}function Ze(s,t){s===window?s.scrollBy(0,t):s.scrollTop+=t}function We(s,t){s===window?s.scrollBy(t,0):s.scrollLeft+=t}function je(s,t){const{top:e,bottom:i,height:n}=s,o=.05*n;return t>=e-o&&t<=e+o?1:t>=i-o&&t<=i+o?2:0}function $e(s,t){const{left:e,right:i,width:n}=s,o=.05*n;return t>=e-o&&t<=e+o?1:t>=i-o&&t<=i+o?2:0}const Y=(0,g.i$)({passive:!1,capture:!0});let Qe=(()=>{class s{constructor(e,i){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=n=>n.isDragging(),this.pointerMove=new p.xQ,this.pointerUp=new p.xQ,this.scroll=new p.xQ,this._preventDefaultWhileDragging=n=>{this._activeDragInstances.length>0&&n.preventDefault()},this._persistentTouchmoveListener=n=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&n.preventDefault(),this.pointerMove.next(n))},this._document=i}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,Y)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,Y)}startDragging(e,i){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const n=i.type.startsWith("touch");this._globalListeners.set(n?"touchend":"mouseup",{handler:o=>this.pointerUp.next(o),options:!0}).set("scroll",{handler:o=>this.scroll.next(o),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Y}),n||this._globalListeners.set("mousemove",{handler:o=>this.pointerMove.next(o),options:Y}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((o,a)=>{this._document.addEventListener(a,o.handler,o.options)})})}}stopDragging(e){const i=this._activeDragInstances.indexOf(e);i>-1&&(this._activeDragInstances.splice(i,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}scrolled(e){const i=[this.scroll];return e&&e!==this._document&&i.push(new j.y(n=>this._ngZone.runOutsideAngular(()=>{const a=c=>{this._activeDragInstances.length&&n.next(c)};return e.addEventListener("scroll",a,!0),()=>{e.removeEventListener("scroll",a,!0)}}))),(0,Re.T)(...i)}
1ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,i)=>{this._document.removeEventListener(i,e.handler,e.options)}),this._globalListeners.clear()}}return s.\u0275fac=function(e){return new(e||s)(r.LFG(r.R0b),r.LFG(m.K0))},s.\u0275prov=r.Yz7({factory:function(){return new s(r.LFG(r.R0b),r.LFG(m.K0))},token:s,providedIn:"root"}),s})();const Vt={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let ne=(()=>{class s{constructor(e,i,n,o){this._document=e,this._ngZone=i,this._viewportRuler=n,this._dragDropRegistry=o}createDrag(e,i=Vt){return new Ut(e,i,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new Yt(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return s.\u0275fac=function(e){return new(e||s)(r.LFG(m.K0),r.LFG(r.R0b),r.LFG(D.rL),r.LFG(Qe))},s.\u0275prov=r.Yz7({factory:function(){return new s(r.LFG(m.K0),r.LFG(r.R0b),r.LFG(D.rL),r.LFG(Qe))},token:s,providedIn:"root"}),s})();const oe=new r.OlP("CDK_DRAG_PARENT"),re=new r.OlP("CdkDropListGroup");let Zt=(()=>{class s{constructor(){this._items=new Set,this._disabled=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=(0,d.Ig)(e)}ngOnDestroy(){this._items.clear()}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275dir=r.lG2({type:s,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:["cdkDropListGroupDisabled","disabled"]},exportAs:["cdkDropListGroup"],features:[r._Bn([{provide:re,useExisting:s}])]}),s})();const Je=new r.OlP("CDK_DRAG_CONFIG");let Wt=0;const Xe=new r.OlP("CdkDropList");let $t=(()=>{class s{constructor(e,i,n,o,a,c,l){this.element=e,this._changeDetectorRef=n,this._scrollDispatcher=o,this._dir=a,this._group=c,this._destroyed=new p.xQ,this.connectedTo=[],this.id="cdk-drop-list-"+Wt++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new r.vpe,this.entered=new r.vpe,this.exited=new r.vpe,this.sorted=new r.vpe,this._unsortedItems=new Set,this._dropListRef=i.createDropList(e),this._dropListRef.data=this,l&&this._assignDefaults(l),this._dropListRef.enterPredicate=(u,h)=>this.enterPredicate(u.data,h.data),this._dropListRef.sortPredicate=(u,h,f)=>this.sortPredicate(u,h.data,f.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),s._dropLists.push(this),c&&c._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(e){this._dropListRef.disabled=this._disabled=(0,d.Ig)(e)}addItem(e){this._unsortedItems.add(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(e){this._unsortedItems.delete(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((e,i)=>e._dragRef.getVisibleElement().compareDocumentPosition(i._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const e=s._dropLists.indexOf(this);e>-1&&s._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(e){this._dir&&this._dir.change.pipe((0,J.O)(this._dir.value),(0,F.R)(this._destroyed)).subscribe(i=>e.withDirection(i)),e.beforeStarted.subscribe(()=>{const i=(0,d.Eq)(this.connectedTo).map(n=>"string"==typeof n?s._dropLists.find(a=>a.id===n):n);if(this._group&&this._group._items.forEach(n=>{-1===i.indexOf(n)&&i.push(n)}),!this._scrollableParentsResolved){const n=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(o=>o.getElementRef().nativeElement);this._dropListRef.withScrollableParents(n),this._scrollableParentsResolved=!0}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=(0,d.Ig)(this.sortingDisabled),e.autoScrollDisabled=(0,d.Ig)(this.autoScrollDisabled),e.autoScrollStep=(0,d.su)(this.autoScrollStep,2),e.connectedTo(i.filter(n=>n&&n!==this).map(n=>n._dropListRef)).withOrientation(this.orientation)})}_handleEvents(e){e.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(i=>{this.entered.emit({container:this,item:i.item.data,currentIndex:i.currentIndex})}),e.exited.subscribe(i=>{this.exited.emit({container:this,item:i.item.data}),this._changeDetectorRef.markForCheck()}),e.sorted.subscribe(i=>{this.sorted.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,container:this,item:i.item.data})}),e.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,item:i.item.data,isPointerOverContainer:i.isPointerOverContainer,distance:i.distance,dropPoint:i.dropPoint}),this._changeDetectorRef.markForCheck()})}_assignDefaults(e){const{lockAxis:i,draggingDisabled:n,sortingDisabled:o,listAutoScrollDisabled:a,listOrientation:c}=e;this.disabled=n??!1,this.sortingDisabled=o??!1,this.autoScrollDisabled=a??!1,this.orientation=c||"vertical",i&&(this.lockAxis=i)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(e=>e._dragRef))}}return s.\u0275fac=function(e){return new(e||s)(r.Y36(r.SBq),r.Y36(ne),r.Y36(r.sBO),r.Y36(D.mF),r.Y36(Ae.Is,8),r.Y36(re,12),r.Y36(Je,8))},s.\u0275dir=r.lG2({type:s,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(e,i){2&e&&(r.uIk("id",i.id),r.ekj("cdk-drop-list-disabled",i.disabled)("cdk-drop-list-dragging",i._dropListRef.isDragging())("cdk-drop-list-receiving",i._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],id:"id",enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],orientation:["cdkDropListOrientation","orientation"],lockAxis:["cdkDropListLockAxis","lockAxis"],data:["cdkDropListData","data"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[r._Bn([{provide:re,useValue:void 0},{provide:Xe,useExisting:s}])]}),s._dropLists=[],s})();const ae=new r.OlP("CdkDragHandle");let Qt=(()=>{class s{constructor(e,i){this.element=e,this._stateChanges=new p.xQ,this._disabled=!1,this._parentDrag=i}get disabled(){return this._disabled}set disabled(e){this._disabled=(0,d.Ig)(e),this._stateChanges.next(this)}ngOnDestroy(){this._stateChanges.complete()}}return s.\u0275fac=function(e){return new(e||s)(r.Y36(r.SBq),r.Y36(oe,12))},s.\u0275dir=r.lG2({type:s,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]},features:[r._Bn([{provide:ae,useExisting:s}])]}),s})();const qe=new r.OlP("CdkDragPlaceholder"),et=new r.OlP("CdkDragPreview");let Xt=(()=>{class s{constructor(e,i,n,o,a,c,l,u,h,f,C){this.element=e,this.dropContainer=i,this._ngZone=o,this._viewContainerRef
1=a,this._dir=l,this._changeDetectorRef=h,this._selfHandle=f,this._parentDrag=C,this._destroyed=new p.xQ,this.started=new r.vpe,this.released=new r.vpe,this.ended=new r.vpe,this.entered=new r.vpe,this.exited=new r.vpe,this.dropped=new r.vpe,this.moved=new j.y(N=>{const T=this._dragRef.moved.pipe((0,Ot.U)(R=>({source:this,pointerPosition:R.pointerPosition,event:R.event,delta:R.delta,distance:R.distance}))).subscribe(N);return()=>{T.unsubscribe()}}),this._dragRef=u.createDrag(e,{dragStartThreshold:c&&null!=c.dragStartThreshold?c.dragStartThreshold:5,pointerDirectionChangeThreshold:c&&null!=c.pointerDirectionChangeThreshold?c.pointerDirectionChangeThreshold:5,zIndex:c?.zIndex}),this._dragRef.data=this,s._dragInstances.push(this),c&&this._assignDefaults(c),i&&(this._dragRef._withDropContainer(i._dropListRef),i.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(e){this._disabled=(0,d.Ig)(e),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,W.q)(1),(0,F.R)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(e){const i=e.rootElementSelector,n=e.freeDragPosition;i&&!i.firstChange&&this._updateRootElement(),n&&!n.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const e=s._dragInstances.indexOf(this);e>-1&&s._dragInstances.splice(e,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){const e=this.element.nativeElement,i=this.rootElementSelector?tt(e,this.rootElementSelector):e;this._dragRef.withRootElement(i||e)}_getBoundaryElement(){const e=this.boundaryElement;return e?"string"==typeof e?tt(this.element.nativeElement,e):(0,d.fI)(e):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){const i=this._dir,n=this.dragStartDelay,o=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,a=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.dragStartDelay="object"==typeof n&&n?n:(0,d.su)(n),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(o).withPreviewTemplate(a).withPreviewContainer(this.previewContainer||"global"),i&&e.withDirection(i.value)}}),e.beforeStarted.pipe((0,W.q)(1)).subscribe(()=>{var i,n;if(this._parentDrag)return void e.withParent(this._parentDrag._dragRef);let o=this.element.nativeElement.parentElement;for(;o;){if(null!==(i=o.classList)&&void 0!==i&&i.contains("cdk-drag")){e.withParent((null===(n=s._dragInstances.find(a=>a.element.nativeElement===o))||void 0===n?void 0:n._dragRef)||null);break}o=o.parentElement}})}_handleEvents(e){e.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),e.released.subscribe(()=>{this.released.emit({source:this})}),e.ended.subscribe(i=>{this.ended.emit({source:this,distance:i.distance,dropPoint:i.dropPoint}),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(i=>{this.entered.emit({container:i.container.data,item:this,currentIndex:i.currentIndex})}),e.exited.subscribe(i=>{this.exited.emit({container:i.container.data,item:this})}),e.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,isPointerOverContainer:i.isPointerOverContainer,item:this,distance:i.distance,dropPoint:i.dropPoint})})}_assignDefaults(e){const{lockAxis:i,dragStartDelay:n,constrainPosition:o,previewClass:a,boundaryElement:c,draggingDisabled:l,rootElementSelector:u,previewContainer:h}=e;
1this.disabled=l??!1,this.dragStartDelay=n||0,i&&(this.lockAxis=i),o&&(this.constrainPosition=o),a&&(this.previewClass=a),c&&(this.boundaryElement=c),u&&(this.rootElementSelector=u),h&&(this.previewContainer=h)}_setupHandlesListener(){this._handles.changes.pipe((0,J.O)(this._handles),(0,xt.b)(e=>{const i=e.filter(n=>n._parentDrag===this).map(n=>n.element);this._selfHandle&&this.rootElementSelector&&i.push(this.element),this._dragRef.withHandles(i)}),(0,Nt.w)(e=>(0,Re.T)(...e.map(i=>i._stateChanges.pipe((0,J.O)(i))))),(0,F.R)(this._destroyed)).subscribe(e=>{const i=this._dragRef,n=e.element.nativeElement;e.disabled?i.disableHandle(n):i.enableHandle(n)})}}return s.\u0275fac=function(e){return new(e||s)(r.Y36(r.SBq),r.Y36(Xe,12),r.Y36(m.K0),r.Y36(r.R0b),r.Y36(r.s_b),r.Y36(Je,8),r.Y36(Ae.Is,8),r.Y36(ne),r.Y36(r.sBO),r.Y36(ae,10),r.Y36(oe,12))},s.\u0275dir=r.lG2({type:s,selectors:[["","cdkDrag",""]],contentQueries:function(e,i,n){if(1&e&&(r.Suo(n,et,5),r.Suo(n,qe,5),r.Suo(n,ae,5)),2&e){let o;r.iGM(o=r.CRH())&&(i._previewTemplate=o.first),r.iGM(o=r.CRH())&&(i._placeholderTemplate=o.first),r.iGM(o=r.CRH())&&(i._handles=o)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(e,i){2&e&&r.ekj("cdk-drag-disabled",i.disabled)("cdk-drag-dragging",i._dragRef.isDragging())},inputs:{disabled:["cdkDragDisabled","disabled"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],lockAxis:["cdkDragLockAxis","lockAxis"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],boundaryElement:["cdkDragBoundary","boundaryElement"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],previewContainer:["cdkDragPreviewContainer","previewContainer"],data:["cdkDragData","data"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[r._Bn([{provide:oe,useExisting:s}]),r.TTD]}),s._dragInstances=[],s})();function tt(s,t){let e=s.parentElement;for(;e;){if(e.matches?e.matches(t):e.msMatchesSelector(t))return e;e=e.parentElement}return null}let qt=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=r.oAB({type:s}),s.\u0275inj=r.cJS({providers:[ne],imports:[D.ZD]}),s})()}}]); 2//# sourceMappingURL=7531.0b0fb816f193017b.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.