From 8b495347d0042d7b10aeff4540fe3b8e9a2563ae Mon Sep 17 00:00:00 2001
From: alberto-art3ch 0&&q.push({index:B,type:"insert",values:M.slice(B,_t)}),at-B>0&&q.push({index:B+(_t-B),type:"delete",howMany:at-B}),q}(r,b)}function T1(d,r,l){for(let m=0;mat;Be--)Zt[Be]=_e(Be);Zt[at]=_e(at),mn++}while(Zt[at]!==B);return _t[at].slice(1)}function pc(d,r,l){d.insertBefore(l,d.childNodes[r]||null)}function Du(d){const r=d.parentNode;r&&r.removeChild(d)}function Xd(d){if(d){if(d.defaultView)return d instanceof d.defaultView.Document;if(d.ownerDocument&&d.ownerDocument.defaultView)return d instanceof d.ownerDocument.defaultView.Node}return!1}qc.fastDiff=y1;class Fl{constructor(r,l){this.domDocuments=new Set,this.domConverter=r,this.markedAttributes=new Set,this.markedChildren=new Set,this.markedTexts=new Set,this.selection=l,this.isFocused=!1,this._inlineFiller=null,this._fakeSelectionContainer=null}markToSync(r,l){if("text"===r)this.domConverter.mapViewToDom(l.parent)&&this.markedTexts.add(l);else{if(!this.domConverter.mapViewToDom(l))return;if("attributes"===r)this.markedAttributes.add(l);else{if("children"!==r)throw new Qn.b("view-renderer-unknown-type: Unknown type passed to Renderer.markToSync.",this);this.markedChildren.add(l)}}}render(){let r;for(const l of this.markedChildren)this._updateChildrenMappings(l);this._inlineFiller&&!this._isSelectionInInlineFiller()&&this._removeInlineFiller(),this._inlineFiller?r=this._getInlineFillerPosition():this._needsInlineFillerAtSelection()&&(r=this.selection.getFirstPosition(),this.markedChildren.add(r.parent));for(const l of this.markedAttributes)this._updateAttrs(l);for(const l of this.markedChildren)this._updateChildren(l,{inlineFillerPosition:r});for(const l of this.markedTexts)!this.markedChildren.has(l.parent)&&this.domConverter.mapViewToDom(l.parent)&&this._updateText(l,{inlineFillerPosition:r});if(r){const l=this.domConverter.viewPositionToDom(r),m=l.parent.ownerDocument;this._inlineFiller=nc(l.parent)?l.parent:mu(m,l.parent,l.offset)}else this._inlineFiller=null;this._updateSelection(),this._updateFocus(),this.markedTexts.clear(),this.markedAttributes.clear(),this.markedChildren.clear()}_updateChildrenMappings(r){const l=this.domConverter.mapViewToDom(r);if(!l)return;const m=this.domConverter.mapViewToDom(r).childNodes,b=Array.from(this.domConverter.viewChildrenToDom(r,l.ownerDocument,{withChildren:!1})),M=this._diffNodeLists(m,b),S=this._findReplaceActions(M,m,b);if(-1!==S.indexOf("replace")){const q={equal:0,insert:0,delete:0};for(const B of S)if("replace"===B){const at=q.equal+q.insert,_t=q.equal+q.delete,Zt=r.getChild(at);!Zt||Zt.is("uiElement")||Zt.is("rawElement")||this._updateElementMappings(Zt,m[_t]),Du(b[at]),q.equal++}else q[B]++}}_updateElementMappings(r,l){this.domConverter.unbindDomElement(l),this.domConverter.bindElements(l,r),this.markedChildren.add(r),this.markedAttributes.add(r)}_getInlineFillerPosition(){const r=this.selection.getFirstPosition();return r.parent.is("$text")?xi._createBefore(this.selection.getFirstPosition().parent):r}_isSelectionInInlineFiller(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;const r=this.selection.getFirstPosition(),l=this.domConverter.viewPositionToDom(r);return!!(l&&R(l.parent)&&nc(l.parent))}_removeInlineFiller(){const r=this._inlineFiller;if(!nc(r))throw new Qn.b("view-renderer-filler-was-lost: The inline filler node was lost.",this);Ic(r)?r.parentNode.removeChild(r):r.data=r.data.substr(7),this._inlineFiller=null}_needsInlineFillerAtSelection(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;const r=this.selection.getFirstPosition(),l=r.parent,m=r.offset;return!!(this.domConverter.mapViewToDom(l.root)&&l.is("element")&&function(S){if("false"==S.getAttribute("contenteditable"))return!1;const q=S.findAncestor(B=>B.hasAttribute("contenteditable"));return!q||"true"==q.getAttribute("contenteditable")}(l)&&m!==l.getFillerOffset())&&!(r.nodeBefore instanceof or||r.nodeAfter instanceof or)}_updateText(r,l){const m=this.domConverter.findCorrespondingDomText(r),b=this.domConverter.viewToDom(r,m.ownerDocument),M=m.data;let S=b.data;const q=l.inlineFillerPosition;if(q&&q.parent==r.parent&&q.offset==r.index&&(S=lm+S),M!=S){const B=y1(M,S);for(const at of B)"insert"===at.type?m.insertData(at.index,at.values.join("")):m.deleteData(at.index,at.howMany)}}_updateAttrs(r){const l=this.domConverter.mapViewToDom(r);if(!l)return;const m=Array.from(l.attributes).map(M=>M.name),b=r.getAttributeKeys();for(const M of b)l.setAttribute(M,r.getAttribute(M));for(const M of m)r.hasAttribute(M)||l.removeAttribute(M)}_updateChildren(r,l){const m=this.domConverter.mapViewToDom(r);if(!m)return;const b=l.inlineFillerPosition,M=this.domConverter.mapViewToDom(r).childNodes,S=Array.from(this.domConverter.viewChildrenToDom(r,m.ownerDocument,{bind:!0,inlineFillerPosition:b}));b&&b.parent===r&&mu(m.ownerDocument,S,b.offset);const q=this._diffNodeLists(M,S);let B=0;const at=new Set;for(const _t of q)"delete"===_t?(at.add(M[B]),Du(M[B])):"equal"===_t&&B++;B=0;for(const _t of q)"insert"===_t?(pc(m,B,S[B]),B++):"equal"===_t&&(this._markDescendantTextToSync(this.domConverter.domToView(S[B])),B++);for(const _t of at)_t.parentNode||this.domConverter.unbindDomElement(_t)}_diffNodeLists(r,l){return qc(r=function(m,b){const M=Array.from(m);return 0==M.length||!b||M[M.length-1]==b&&M.pop(),M}(r,this._fakeSelectionContainer),l,um.bind(null,this.domConverter))}_findReplaceActions(r,l,m){if(-1===r.indexOf("insert")||-1===r.indexOf("delete"))return r;let b=[],M=[],S=[];const q={equal:0,insert:0,delete:0};for(const B of r)"insert"===B?S.push(m[q.equal+q.insert]):"delete"===B?M.push(l[q.equal+q.delete]):(b=b.concat(qc(M,S,fl).map(at=>"equal"===at?"replace":at)),b.push("equal"),M=[],S=[]),q[B]++;return b.concat(qc(M,S,fl).map(B=>"equal"===B?"replace":B))}_markDescendantTextToSync(r){if(r)if(r.is("$text"))this.markedTexts.add(r);else if(r.is("element"))for(const l of r.getChildren())this._markDescendantTextToSync(l)}_updateSelection(){if(0===this.selection.rangeCount)return this._removeDomSelection(),void this._removeFakeSelection();const r=this.domConverter.mapViewToDom(this.selection.editableElement);this.isFocused&&r&&(this.selection.isFake?this._updateFakeSelection(r):(this._removeFakeSelection(),this._updateDomSelection(r)))}_updateFakeSelection(r){const l=r.ownerDocument;this._fakeSelectionContainer||(this._fakeSelectionContainer=function(S){const q=S.createElement("div");return Object.assign(q.style,{position:"fixed",top:0,left:"-9999px",width:"42px"}),q.textContent="\xa0",q}(l));const m=this._fakeSelectionContainer;if(this.domConverter.bindFakeSelection(m,this.selection),!this._fakeSelectionNeedsUpdate(r))return;m.parentElement&&m.parentElement==r||r.appendChild(m),m.textContent=this.selection.fakeSelectionLabel||"\xa0";const b=l.getSelection(),M=l.createRange();b.removeAllRanges(),M.selectNodeContents(m),b.addRange(M)}_updateDomSelection(r){const l=r.ownerDocument.defaultView.getSelection();if(!this._domSelectionNeedsUpdate(l))return;const m=this.domConverter.viewPositionToDom(this.selection.anchor),b=this.domConverter.viewPositionToDom(this.selection.focus);r.focus(),l.collapse(m.parent,m.offset),l.extend(b.parent,b.offset),Zs_isGecko&&function(M,S){const q=M.parent;if(q.nodeType!=Node.ELEMENT_NODE||M.offset!=q.childNodes.length-1)return;const B=q.childNodes[M.offset];B&&"BR"==B.tagName&&S.addRange(S.getRangeAt(0))}(b,l)}_domSelectionNeedsUpdate(r){if(!this.domConverter.isDomSelectionCorrect(r))return!0;const l=r&&this.domConverter.domSelectionToView(r);return!(l&&this.selection.isEqual(l)||!this.selection.isCollapsed&&this.selection.isSimilar(l))}_fakeSelectionNeedsUpdate(r){const l=this._fakeSelectionContainer,m=r.ownerDocument.getSelection();return!l||l.parentElement!==r||m.anchorNode!==l&&!l.contains(m.anchorNode)||l.textContent!==this.selection.fakeSelectionLabel}_removeDomSelection(){for(const r of this.domDocuments)if(r.getSelection().rangeCount){const l=r.activeElement,m=this.domConverter.mapDomToView(l);l&&m&&r.getSelection().removeAllRanges()}}_removeFakeSelection(){const r=this._fakeSelectionContainer;r&&r.remove()}_updateFocus(){if(this.isFocused){const r=this.selection.editableElement;r&&this.domConverter.focus(r)}}}function mu(d,r,l){const m=r instanceof Array?r:r.childNodes,b=m[l];if(R(b))return b.data=lm+b.data,b;{const M=d.createTextNode(lm);return Array.isArray(r)?m.splice(l,0,M):pc(r,l,M),M}}function fl(d,r){return Xd(d)&&Xd(r)&&!R(d)&&!R(r)&&d.nodeType!==Node.COMMENT_NODE&&r.nodeType!==Node.COMMENT_NODE&&d.tagName.toLowerCase()===r.tagName.toLowerCase()}function um(d,r,l){return r===l||(R(r)&&R(l)?r.data===l.data:!(!d.isBlockFiller(r)||!d.isBlockFiller(l)))}io(Fl,kt);var ft={window,document};function gt(d){let r=0;for(;d.previousSibling;)d=d.previousSibling,r++;return r}function rt(d){const r=[];for(;d&&d.nodeType!=Node.DOCUMENT_NODE;)r.unshift(d),d=d.parentNode;return r}const Ht=e_(document);class ee{constructor(r,l={}){this.document=r,this.blockFillerMode=l.blockFillerMode||"br",this.preElements=["pre"],this.blockElements=["p","div","h1","h2","h3","h4","h5","h6","li","dd","dt","figcaption","td","th"],this._blockFiller="br"==this.blockFillerMode?e_:Mo,this._domToViewMapping=new WeakMap,this._viewToDomMapping=new WeakMap,this._fakeSelectionMapping=new WeakMap}bindFakeSelection(r,l){this._fakeSelectionMapping.set(r,new xa(l))}fakeSelectionToView(r){return this._fakeSelectionMapping.get(r)}bindElements(r,l){this._domToViewMapping.set(r,l),this._viewToDomMapping.set(l,r)}unbindDomElement(r){const l=this._domToViewMapping.get(r);if(l){this._domToViewMapping.delete(r),this._viewToDomMapping.delete(l);for(const m of r.childNodes)this.unbindDomElement(m)}}bindDocumentFragments(r,l){this._domToViewMapping.set(r,l),this._viewToDomMapping.set(l,r)}viewToDom(r,l,m={}){if(r.is("$text")){const b=this._processDataFromViewText(r);return l.createTextNode(b)}{if(this.mapViewToDom(r))return this.mapViewToDom(r);let b;if(r.is("documentFragment"))b=l.createDocumentFragment(),m.bind&&this.bindDocumentFragments(b,r);else{if(r.is("uiElement"))return b=r.render(l),m.bind&&this.bindElements(b,r),b;b=r.hasAttribute("xmlns")?l.createElementNS(r.getAttribute("xmlns"),r.name):l.createElement(r.name),r.is("rawElement")&&r.render(b),m.bind&&this.bindElements(b,r);for(const M of r.getAttributeKeys())b.setAttribute(M,r.getAttribute(M))}if(m.withChildren||void 0===m.withChildren)for(const M of this.viewChildrenToDom(r,l,m))b.appendChild(M);return b}}*viewChildrenToDom(r,l,m={}){const b=r.getFillerOffset&&r.getFillerOffset();let M=0;for(const S of r.getChildren())b===M&&(yield this._blockFiller(l)),yield this.viewToDom(S,l,m),M++;b===M&&(yield this._blockFiller(l))}viewRangeToDom(r){const l=this.viewPositionToDom(r.start),m=this.viewPositionToDom(r.end),b=document.createRange();return b.setStart(l.parent,l.offset),b.setEnd(m.parent,m.offset),b}viewPositionToDom(r){const l=r.parent;if(l.is("$text")){const m=this.findCorrespondingDomText(l);if(!m)return null;let b=r.offset;return nc(m)&&(b+=7),{parent:m,offset:b}}{let m,b,M;if(0===r.offset){if(m=this.mapViewToDom(l),!m)return null;M=m.childNodes[0]}else{const S=r.nodeBefore;if(b=S.is("$text")?this.findCorrespondingDomText(S):this.mapViewToDom(r.nodeBefore),!b)return null;m=b.parentNode,M=b.nextSibling}return R(M)&&nc(M)?{parent:M,offset:7}:{parent:m,offset:b?gt(b)+1:0}}}domToView(r,l={}){if(this.isBlockFiller(r,this.blockFillerMode))return null;const m=this.getHostViewElement(r,this._domToViewMapping);if(m)return m;if(R(r)){if(Ic(r))return null;{const b=this._processDataFromDomText(r);return""===b?null:new or(this.document,b)}}if(this.isComment(r))return null;{if(this.mapDomToView(r))return this.mapDomToView(r);let b;if(this.isDocumentFragment(r))b=new Ll(this.document),l.bind&&this.bindDocumentFragments(r,b);else{const M=l.keepOriginalCase?r.tagName:r.tagName.toLowerCase();b=new ec(this.document,M),l.bind&&this.bindElements(r,b);const S=r.attributes;for(let q=S.length-1;q>=0;q--)b._setAttribute(S[q].name,S[q].value)}if(l.withChildren||void 0===l.withChildren)for(const M of this.domChildrenToView(r,l))b._appendChild(M);return b}}*domChildrenToView(r,l={}){for(let m=0;m
{this.listenTo(r,l,(m,b)=>{this.isEnabled&&this.onDomEvent(b)},{useCapture:this.useCapture})})}fire(r,l,m){this.isEnabled&&this.document.fire(r,new A1(this.view,l,m))}}class op extends U1{constructor(r){super(r),this.domEventType=["keydown","keyup"]}onDomEvent(r){this.fire(r.type,r,{keyCode:r.keyCode,altKey:r.altKey,ctrlKey:r.ctrlKey||r.metaKey,shiftKey:r.shiftKey,get keystroke(){return hr(this)}})}}var t2=function(){return x.a.Date.now()},o_=/^\s+|\s+$/g,oc=/^[-+]0x[0-9a-f]+$/i,a_=/^0b[01]+$/i,wp=/^0o[0-7]+$/i,gl=parseInt,ad=function(d){if("number"==typeof d)return d;if(Ft(d))return NaN;if(Gt(d)){var r="function"==typeof d.valueOf?d.valueOf():d;d=Gt(r)?r+"":r}if("string"!=typeof d)return 0===d?d:+d;d=d.replace(o_,"");var l=a_.test(d);return l||wp.test(d)?gl(d.slice(2),l?2:8):oc.test(d)?NaN:+d},e1=Math.max,Dd=Math.min,r_=function(d,r,l){var m,b,M,S,q,B,at=0,_t=!1,Zt=!1,_e=!0;if("function"!=typeof d)throw new TypeError("Expected a function");function Be(Ji){var Do=m,ba=b;return m=b=void 0,at=Ji,S=d.apply(ba,Do)}function mn(Ji){return at=Ji,q=setTimeout(In,r),_t?Be(Ji):S}function Mn(Ji){var Do=Ji-B;return void 0===B||Do>=r||Do<0||Zt&&Ji-at>=M}function In(){var Do,ba,Ji=t2();if(Mn(Ji))return Gn(Ji);q=setTimeout(In,(ba=r-((Do=Ji)-B),Zt?Dd(ba,M-(Do-at)):ba))}function Gn(Ji){return q=void 0,_e&&m?Be(Ji):(m=b=void 0,S)}function Fi(){var Ji=t2(),Do=Mn(Ji);if(m=arguments,b=this,B=Ji,Do){if(void 0===q)return mn(B);if(Zt)return clearTimeout(q),q=setTimeout(In,r),Be(B)}return void 0===q&&(q=setTimeout(In,r)),S}return r=ad(r)||0,Gt(l)&&(_t=!!l.leading,M=(Zt="maxWait"in l)?e1(ad(l.maxWait)||0,r):M,_e="trailing"in l?!!l.trailing:_e),Fi.cancel=function(){void 0!==q&&clearTimeout(q),at=0,m=B=b=q=void 0},Fi.flush=function(){return void 0===q?S:Gn(t2())},Fi};class vl extends Co{constructor(r){super(r),this._fireSelectionChangeDoneDebounced=r_(l=>this.document.fire("selectionChangeDone",l),200)}observe(){const r=this.document;r.on("keydown",(l,m)=>{var b;r.selection.isFake&&((b=m.keyCode)==sa.arrowright||b==sa.arrowleft||b==sa.arrowup||b==sa.arrowdown)&&this.isEnabled&&(m.preventDefault(),this._handleSelectionMove(m.keyCode))},{priority:"lowest"})}destroy(){super.destroy(),this._fireSelectionChangeDoneDebounced.cancel()}_handleSelectionMove(r){const l=this.document.selection,m=new xa(l.getRanges(),{backward:l.isBackward,fake:!1});r!=sa.arrowleft&&r!=sa.arrowup||m.setTo(m.getFirstPosition()),r!=sa.arrowright&&r!=sa.arrowdown||m.setTo(m.getLastPosition());const b={oldSelection:l,newSelection:m,domSelection:null};this.document.fire("selectionChange",b),this._fireSelectionChangeDoneDebounced(b)}}class e2 extends Co{constructor(r){super(r),this.mutationObserver=r.getObserver(od),this.selection=this.document.selection,this.domConverter=r.domConverter,this._documents=new WeakSet,this._fireSelectionChangeDoneDebounced=r_(l=>this.document.fire("selectionChangeDone",l),200),this._clearInfiniteLoopInterval=setInterval(()=>this._clearInfiniteLoop(),1e3),this._loopbackCounter=0}observe(r){const l=r.ownerDocument;this._documents.has(l)||(this.listenTo(l,"selectionchange",()=>{this._handleSelectionChange(l)}),this._documents.add(l))}destroy(){super.destroy(),clearInterval(this._clearInfiniteLoopInterval),this._fireSelectionChangeDoneDebounced.cancel()}_handleSelectionChange(r){if(!this.isEnabled)return;this.mutationObserver.flush();const l=r.defaultView.getSelection(),m=this.domConverter.domSelectionToView(l);if(0!=m.rangeCount){if(this.view.hasDomSelection=!0,!(this.selection.isEqual(m)&&this.domConverter.isDomSelectionCorrect(l)||++this._loopbackCounter>60))if(this.selection.isSimilar(m))this.view.forceRender();else{const b={oldSelection:this.selection,newSelection:m,domSelection:l};this.document.fire("selectionChange",b),this._fireSelectionChangeDoneDebounced(b)}}else this.view.hasDomSelection=!1}_clearInfiniteLoop(){this._loopbackCounter=0}}class Mp extends U1{constructor(r){super(r),this.domEventType=["focus","blur"],this.useCapture=!0;const l=this.document;l.on("focus",()=>{l.isFocused=!0,this._renderTimeoutId=setTimeout(()=>r.forceRender(),50)}),l.on("blur",(m,b)=>{const M=l.selection.editableElement;null!==M&&M!==b.target||(l.isFocused=!1,r.forceRender())})}onDomEvent(r){this.fire(r.type,r)}destroy(){this._renderTimeoutId&&clearTimeout(this._renderTimeoutId),super.destroy()}}class pm extends U1{constructor(r){super(r),this.domEventType=["compositionstart","compositionupdate","compositionend"];const l=this.document;l.on("compositionstart",()=>{l.isComposing=!0}),l.on("compositionend",()=>{l.isComposing=!1})}onDomEvent(r){this.fire(r.type,r)}}class A extends U1{constructor(r){super(r),this.domEventType=["beforeinput"]}onDomEvent(r){this.fire(r.type,r)}}function vt(d){return"[object Range]"==Object.prototype.toString.apply(d)}function ki(d){const r=d.ownerDocument.defaultView.getComputedStyle(d);return{top:parseInt(r.borderTopWidth,10),right:parseInt(r.borderRightWidth,10),bottom:parseInt(r.borderBottomWidth,10),left:parseInt(r.borderLeftWidth,10)}}const Zp=["top","right","bottom","left","width","height"];class Ds{constructor(r){const l=vt(r);if(Object.defineProperty(this,"_source",{value:r._source||r,writable:!0,enumerable:!1}),As(r)||l)w1(this,l?Ds.getDomRangeRects(r)[0]:r.getBoundingClientRect());else if(qe(r)){const{innerWidth:m,innerHeight:b}=r;w1(this,{top:0,right:m,bottom:b,left:0,width:m,height:b})}else w1(this,r)}clone(){return new Ds(this)}moveTo(r,l){return this.top=l,this.right=r+this.width,this.bottom=l+this.height,this.left=r,this}moveBy(r,l){return this.top+=l,this.right+=r,this.left+=r,this.bottom+=l,this}getIntersection(r){const l={top:Math.max(this.top,r.top),right:Math.min(this.right,r.right),bottom:Math.min(this.bottom,r.bottom),left:Math.max(this.left,r.left)};return l.width=l.right-l.left,l.height=l.bottom-l.top,l.width<0||l.height<0?null:new Ds(l)}getIntersectionArea(r){const l=this.getIntersection(r);return l?l.getArea():0}getArea(){return this.width*this.height}getVisible(){const r=this._source;let l=this.clone();if(!Dp(r)){let m=r.parentNode||r.commonAncestorContainer;for(;m&&!Dp(m);){const b=new Ds(m),M=l.getIntersection(b);if(!M)return null;M.getArea()
").replace(/^\s/," ").replace(/\s$/," ").replace(/\s\s/g," ")).indexOf("
")>-1&&(_t=`
${_t}
`),at=_t),at=this._htmlDataProcessor.toView(at);const Zt=new Va(this,"inputTransformation");this.fire(Zt,{content:at,dataTransfer:B}),Zt.stop.called&&S.stop(),m.scrollToTheSelection()},{priority:"low"}),this.listenTo(this,"inputTransformation",(S,q)=>{if(!q.content.isEmpty){const at=this.editor.model,_t=this.editor.data.toModel(q.content,"$clipboardHolder");if(0==_t.childCount)return;at.insertContent(_t),S.stop()}},{priority:"low"}),this.listenTo(b,"copy",M,{priority:"low"}),this.listenTo(b,"cut",(S,q)=>{r.isReadOnly?q.preventDefault():M(S,q)},{priority:"low"}),this.listenTo(b,"clipboardOutput",(S,q)=>{q.content.isEmpty||(q.dataTransfer.setData("text/html",this._htmlDataProcessor.toData(q.content)),q.dataTransfer.setData("text/plain",function B(at){let _t="";if(at.is("$text")||at.is("$textProxy"))_t=at.data;else if(at.is("element","img")&&at.hasAttribute("alt"))_t=at.getAttribute("alt");else{let Zt=null;for(const _e of at.getChildren()){const Be=B(_e);Zt&&(Zt.is("containerElement")||_e.is("containerElement"))&&(wm.includes(Zt.name)||wm.includes(_e.name)?_t+="\n":_t+="\n\n"),_t+=Be,Zt=_e}}return _t}(q.content))),"cut"==q.method&&r.model.deleteContent(l.selection)},{priority:"low"})}}class Ha{constructor(r){this.editor=r,this.set("value",void 0),this.set("isEnabled",!1),this._disableStack=new Set,this.decorate("execute"),this.listenTo(this.editor.model.document,"change",()=>{this.refresh()}),this.on("execute",l=>{this.isEnabled||l.stop()},{priority:"high"}),this.listenTo(r,"change:isReadOnly",(l,m,b)=>{b?this.forceDisabled("readOnlyMode"):this.clearForceDisabled("readOnlyMode")})}refresh(){this.isEnabled=!0}forceDisabled(r){this._disableStack.add(r),1==this._disableStack.size&&(this.on("set:isEnabled",Zm,{priority:"highest"}),this.isEnabled=!1)}clearForceDisabled(r){this._disableStack.delete(r),0==this._disableStack.size&&(this.off("set:isEnabled",Zm),this.refresh())}execute(){}destroy(){this.stopListening()}}function Zm(d){d.return=!1,d.stop()}function*ig(d,r){for(const l of r)l&&d.getAttributeProperties(l[0]).copyOnEnter&&(yield l)}io(Ha,kt);class I3 extends Ha{execute(){const r=this.editor.model,l=r.document;r.change(m=>{(function(b,M,S,q){const B=S.isCollapsed,at=S.getFirstRange(),_t=at.start.parent,Zt=at.end.parent;if(q.isLimit(_t)||q.isLimit(Zt))B||_t!=Zt||b.deleteContent(S);else if(B){const _e=ig(M.model.schema,S.getAttributes());og(M,at.start),M.setSelectionAttribute(_e)}else{const _e=!(at.start.isAtStart&&at.end.isAtEnd),Be=_t==Zt;b.deleteContent(S,{leaveUnmerged:_e}),_e&&(Be?og(M,S.focus):M.setSelection(Zt,0))}})(this.editor.model,m,l.selection,r.schema),this.fire("afterExecute",{writer:m})})}}function og(d,r){d.split(r),d.setSelection(r.parent.nextSibling,0)}class ao extends Co{constructor(r){super(r);const l=this.document;l.on("keydown",(m,b)=>{if(this.isEnabled&&b.keyCode==sa.enter){let M;l.once("enter",S=>M=S,{priority:"highest"}),l.fire("enter",new A1(l,b.domEvent,{isSoft:b.shiftKey})),M&&M.stop.called&&m.stop()}})}observe(){}}class q3 extends Eo{static get pluginName(){return"Enter"}init(){const r=this.editor,l=r.editing.view,m=l.document;l.addObserver(ao),r.commands.add("enter",new I3(r)),this.listenTo(m,"enter",(b,M)=>{M.preventDefault(),M.isSoft||(r.execute("enter"),l.scrollToTheSelection())},{priority:"low"})}}class C0 extends Ha{execute(){const r=this.editor.model,l=r.document;r.change(m=>{(function(b,M,S){const q=S.isCollapsed,B=S.getFirstRange(),_t=B.end.parent,Zt=B.start.parent==_t;if(q){const _e=ig(b.schema,S.getAttributes());s1(b,M,B.end),M.removeSelectionAttribute(S.getAttributeKeys()),M.setSelectionAttribute(_e)}else{const _e=!(B.start.isAtStart&&B.end.isAtEnd);b.deleteContent(S,{leaveUnmerged:_e}),Zt?s1(b,M,S.focus):_e&&M.setSelection(_t,0)}})(r,m,l.selection),this.fire("afterExecute",{writer:m})})}refresh(){const r=this.editor.model;this.isEnabled=function(m,b){if(b.rangeCount>1)return!1;const M=b.anchor;if(!M||!m.checkChild(M,"softBreak"))return!1;const S=b.getFirstRange(),q=S.start.parent,B=S.end.parent;return!((Ef(q,m)||Ef(B,m))&&q!==B)}(r.schema,r.document.selection)}}function s1(d,r,l){const m=r.createElement("softBreak");d.insertContent(m,l),r.setSelection(m,"after")}function Ef(d,r){return!d.is("rootElement")&&(r.isLimit(d)||Ef(d.parent,r))}class Ff extends Eo{static get pluginName(){return"ShiftEnter"}init(){const r=this.editor,m=r.conversion,b=r.editing.view,M=b.document;r.model.schema.register("softBreak",{allowWhere:"$text",isInline:!0}),m.for("upcast").elementToElement({model:"softBreak",view:"br"}),m.for("downcast").elementToElement({model:"softBreak",view:(S,q)=>q.createEmptyElement("br")}),b.addObserver(ao),r.commands.add("shiftEnter",new C0(r)),this.listenTo(M,"enter",(S,q)=>{q.preventDefault(),q.isSoft&&(r.execute("shiftEnter"),b.scrollToTheSelection())},{priority:"low"})}}class Nf extends Ha{execute(){const r=this.editor.model,l=r.document.selection;let m=r.schema.getLimitElement(l);if(l.containsEntireContent(m)||!y0(r.schema,m))do{if(m=m.parent,!m)return}while(!y0(r.schema,m));r.change(b=>{b.setSelection(m,"in")})}}function y0(d,r){return d.isLimit(r)&&(d.checkChild(r,"$text")||d.checkChild(r,"paragraph"))}const M_=ep("Ctrl+A");class Yp extends Eo{static get pluginName(){return"SelectAllEditing"}init(){const r=this.editor,l=r.editing.view.document;r.commands.add("selectAll",new Nf(r)),this.listenTo(l,"keydown",(m,b)=>{hr(b)===M_&&(r.execute("selectAll"),b.preventDefault())})}}class R3 extends Eo{static get pluginName(){return"SelectAllUI"}init(){const r=this.editor;r.ui.componentFactory.add("selectAll",l=>{const m=r.commands.get("selectAll"),b=new Rs(l);return b.set({label:(0,l.t)("Select all"),icon:'',keystroke:"Ctrl+A",tooltip:!0}),b.bind("isOn","isEnabled").to(m,"value","isEnabled"),this.listenTo(b,"execute",()=>{r.execute("selectAll"),r.editing.view.focus()}),b})}}class ag extends Eo{static get requires(){return[Yp,R3]}static get pluginName(){return"SelectAll"}}class Dm{constructor(r,l=20){this.model=r,this.size=0,this.limit=l,this.isLocked=!1,this._changeCallback=(m,b)=>{"transparent"!=b.type&&b!==this._batch&&this._reset(!0)},this._selectionChangeCallback=()=>{this._reset()},this.model.document.on("change",this._changeCallback),this.model.document.selection.on("change:range",this._selectionChangeCallback),this.model.document.selection.on("change:attribute",this._selectionChangeCallback)}get batch(){return this._batch||(this._batch=this.model.createBatch()),this._batch}input(r){this.size+=r,this.size>=this.limit&&this._reset(!0)}lock(){this.isLocked=!0}unlock(){this.isLocked=!1}destroy(){this.model.document.off("change",this._changeCallback),this.model.document.selection.off("change:range",this._selectionChangeCallback),this.model.document.selection.off("change:attribute",this._selectionChangeCallback)}_reset(r){this.isLocked&&!r||(this._batch=null,this.size=0)}}class rg extends Ha{constructor(r,l){super(r),this._buffer=new Dm(r.model,l),this._batches=new WeakSet}get buffer(){return this._buffer}destroy(){super.destroy(),this._buffer.destroy()}execute(r={}){const l=this.editor.model,m=l.document,b=r.text||"",M=b.length,S=r.range?l.createSelection(r.range):m.selection,q=r.resultRange;l.enqueueChange(this._buffer.batch,B=>{this._buffer.lock(),this._batches.add(this._buffer.batch),l.deleteContent(S),b&&l.insertContent(B.createText(b,m.selection.getAttributes()),S),q?B.setSelection(q):S.is("documentSelection")||B.setSelection(S),this._buffer.unlock(),this._buffer.input(M)})}}const Pm=[hr("arrowUp"),hr("arrowRight"),hr("arrowDown"),hr("arrowLeft"),9,16,17,18,19,20,27,33,34,35,36,45,91,93,144,145,173,174,175,176,177,178,179,255];for(let d=112;d<=135;d++)Pm.push(d);function T2(d){return!!d.ctrlKey||Pm.includes(d.keyCode)}function T0(d){if(d.newChildren.length-d.oldChildren.length!=1)return;const r=function(m,b){const M=[];let S,q=0;return m.forEach(_t=>{"equal"==_t?(B(),q++):"insert"==_t?(at("insert")?S.values.push(b[q]):(B(),S={type:"insert",index:q,values:[b[q]]}),q++):at("delete")?S.howMany++:(B(),S={type:"delete",index:q,howMany:1})}),B(),M;function B(){S&&(M.push(S),S=null)}function at(_t){return S&&S.type==_t}}(qc(d.oldChildren,d.newChildren,km),d.newChildren);if(r.length>1)return;const l=r[0];return l.values[0]&&l.values[0].is("$text")?l:void 0}function km(d,r){return d&&d.is("$text")&&r&&r.is("$text")?d.data===r.data:d===r}class E1{constructor(r){this.editor=r,this.editing=this.editor.editing}handle(r,l){if(function(m){if(0==m.length)return!1;for(const b of m)if("children"===b.type&&!T0(b))return!0;return!1}(r))this._handleContainerChildrenMutations(r,l);else for(const m of r)this._handleTextMutation(m,l),this._handleTextNodeInsertion(m)}_handleContainerChildrenMutations(r,l){const m=function(ol){const _r=ol.map(Mc=>Mc.node).reduce((Mc,Al)=>Mc.getCommonAncestor(Al,{includeSelf:!0}));if(_r)return _r.getAncestors({includeSelf:!0,parentFirst:!0}).find(Mc=>Mc.is("containerElement")||Mc.is("rootElement"))}(r);if(!m)return;const b=this.editor.editing.view.domConverter.mapViewToDom(m),M=new ee(this.editor.editing.view.document),S=this.editor.data.toModel(M.domToView(b)).getChild(0),q=this.editor.editing.mapper.toModelElement(m);if(!q)return;const B=Array.from(S.getChildren()),at=Array.from(q.getChildren()),_t=B[B.length-1],Zt=at[at.length-1],_e=_t&&_t.is("element","softBreak"),Be=Zt&&!Zt.is("element","softBreak");_e&&Be&&B.pop();const mn=this.editor.model.schema;if(!sg(B,mn)||!sg(at,mn))return;const Mn=B.map(ol=>ol.is("$text")?ol.data:"@").join("").replace(/\u00A0/g," "),In=at.map(ol=>ol.is("$text")?ol.data:"@").join("").replace(/\u00A0/g," ");if(In===Mn)return;const Gn=qc(In,Mn),{firstChangeAt:Fi,insertions:Ji,deletions:Do}=cg(Gn);let ba=null;l&&(ba=this.editing.mapper.toModelRange(l.getFirstRange()));const Yc=Mn.substr(Fi,Ji),cs=this.editor.model.createRange(this.editor.model.createPositionAt(q,Fi),this.editor.model.createPositionAt(q,Fi+Do));this.editor.execute("input",{text:Yc,range:cs,resultRange:ba})}_handleTextMutation(r,l){if("text"!=r.type)return;const m=r.newText.replace(/\u00A0/g," "),b=r.oldText.replace(/\u00A0/g," ");if(b===m)return;const M=qc(b,m),{firstChangeAt:S,insertions:q,deletions:B}=cg(M);let at=null;l&&(at=this.editing.mapper.toModelRange(l.getFirstRange()));const _t=this.editing.view.createPositionAt(r.node,S),Zt=this.editing.mapper.toModelPosition(_t),_e=this.editor.model.createRange(Zt,Zt.getShiftedBy(B)),Be=m.substr(S,q);this.editor.execute("input",{text:Be,range:_e,resultRange:at})}_handleTextNodeInsertion(r){if("children"!=r.type)return;const l=T0(r),m=this.editing.view.createPositionAt(r.node,l.index),b=this.editing.mapper.toModelPosition(m);this.editor.execute("input",{text:l.values[0].data.replace(/\u00A0/g," "),range:this.editor.model.createRange(b)})}}function sg(d,r){return d.every(l=>r.isInline(l))}function cg(d){let r=null,l=null;for(let M=0;M=l;)M>b.getAttribute("listIndent")&&(M=b.getAttribute("listIndent")),b.getAttribute("listIndent")==M&&d[r?"unshift":"push"](b),b=b[r?"previousSibling":"nextSibling"]}}function ci(d,r){return r.checkChild(d.parent,"listItem")&&!r.isObject(d)}class fi extends Ha{constructor(r,l){super(r),this._indentBy="forward"==l?1:-1}refresh(){this.isEnabled=this._checkEnabled()}execute(){const r=this.editor.model;let m=Array.from(r.document.selection.getSelectedBlocks());r.change(b=>{const M=m[m.length-1];let S=M.nextSibling;for(;S&&"listItem"==S.name&&S.getAttribute("listIndent")>M.getAttribute("listIndent");)m.push(S),S=S.nextSibling;this._indentBy<0&&(m=m.reverse());for(const q of m){const B=q.getAttribute("listIndent")+this._indentBy;B<0?b.rename(q,"paragraph"):b.setAttribute("listIndent",B,q)}})}_checkEnabled(){const r=eu(this.editor.model.document.selection.getSelectedBlocks());if(!r||!r.is("element","listItem"))return!1;if(this._indentBy>0){const l=r.getAttribute("listIndent"),m=r.getAttribute("listType");let b=r.previousSibling;for(;b&&b.is("element","listItem")&&b.getAttribute("listIndent")>=l;){if(b.getAttribute("listIndent")==l)return b.getAttribute("listType")==m;b=b.previousSibling}return!1}return!0}}function Xi(d,r,l,m){const b=r.parent,M=l.mapper,S=l.writer;let q=M.toViewPosition(m.createPositionBefore(d));const B=jo(d.previousSibling,{sameIndent:!0,smallerIndent:!0,listIndent:d.getAttribute("listIndent")}),at=d.previousSibling;if(B&&B.getAttribute("listIndent")==d.getAttribute("listIndent")){const _t=M.toViewElement(B);q=S.breakContainer(S.createPositionAfter(_t))}else if(at&&"listItem"==at.name){q=M.toViewPosition(m.createPositionAt(at,"end"));const _t=M.findMappedViewAncestor(q),Zt=function(_e){for(const Be of _e.getChildren())if("ul"==Be.name||"ol"==Be.name)return Be;return null}(_t);q=Zt?S.createPositionBefore(Zt):S.createPositionAt(_t,"end")}else q=M.toViewPosition(m.createPositionBefore(d));if(q=Ro(q),S.insert(q,b),at&&"listItem"==at.name){const _t=M.toViewElement(at),Zt=S.createRange(S.createPositionAt(_t,0),q).getWalker({ignoreElementEnd:!0});for(const _e of Zt)if(_e.item.is("element","li")){const Be=S.breakContainer(S.createPositionBefore(_e.item)),mn=_e.item.parent,Mn=S.createPositionAt(r,"end");eo(S,Mn.nodeBefore,Mn.nodeAfter),S.move(S.createRangeOn(mn),Mn),Zt.position=Be}}else{const _t=b.nextSibling;if(_t&&(_t.is("element","ul")||_t.is("element","ol"))){let Zt=null;for(const _e of _t.getChildren()){const Be=M.toModelElement(_e);if(!(Be&&Be.getAttribute("listIndent")>d.getAttribute("listIndent")))break;Zt=_e}Zt&&(S.breakContainer(S.createPositionAfter(Zt)),S.move(S.createRangeOn(Zt.parent),S.createPositionAt(r,"end")))}}eo(S,b,b.nextSibling),eo(S,b.previousSibling,b)}function eo(d,r,l){return!r||!l||"ul"!=r.name&&"ol"!=r.name||r.name!=l.name||r.getAttribute("class")!==l.getAttribute("class")?null:d.mergeContainers(d.createPositionAfter(r))}function Ro(d){return d.getLastMatchingPosition(r=>r.item.is("uiElement"))}function jo(d,r){const l=!!r.sameIndent,m=!!r.smallerIndent,b=r.listIndent;let M=d;for(;M&&"listItem"==M.name;){const S=M.getAttribute("listIndent");if(l&&b==S||m&&b>S)return M;M=M.previousSibling}return null}function ma(d,r,l,m){d.ui.componentFactory.add(r,b=>{const M=d.commands.get(r),S=new Rs(b);return S.set({label:l,icon:m,tooltip:!0,isToggleable:!0}),S.bind("isOn","isEnabled").to(M,"value","isEnabled"),S.on("execute",()=>{d.execute(r),d.editing.view.focus()}),S})}function ua(){const d=!this.isEmpty&&("ul"==this.getChild(0).name||"ol"==this.getChild(0).name);return this.isEmpty||d?0:id.call(this)}function la(d){return(r,l,m)=>{const b=m.consumable;if(!b.test(l.item,"insert")||!b.test(l.item,"attribute:listType")||!b.test(l.item,"attribute:listIndent"))return;b.consume(l.item,"insert"),b.consume(l.item,"attribute:listType"),b.consume(l.item,"attribute:listIndent");const M=l.item;Xi(M,function to(d,r){const l=r.mapper,m=r.writer,b="numbered"==d.getAttribute("listType")?"ol":"ul",M=function(q){const B=q.createContainerElement("li");return B.getFillerOffset=ua,B}(m),S=m.createContainerElement(b,null);return m.insert(m.createPositionAt(S,0),M),l.bindElements(d,M),M}(M,m),m,d)}}function er(d,r,l){if(!l.consumable.consume(r.item,"attribute:listType"))return;const m=l.mapper.toViewElement(r.item),b=l.writer;b.breakContainer(b.createPositionBefore(m)),b.breakContainer(b.createPositionAfter(m)),b.rename("numbered"==r.attributeNewValue?"ol":"ul",m.parent)}function Na(d,r,l){const m=l.mapper.toViewElement(r.item).parent,b=l.writer;eo(b,m,m.nextSibling),eo(b,m.previousSibling,m);for(const M of r.item.getChildren())l.consumable.consume(M,"insert")}function au(d,r,l){if("listItem"!=r.item.name){let m=l.mapper.toViewPosition(r.range.start);const b=l.writer,M=[];for(;("ul"==m.parent.name||"ol"==m.parent.name)&&(m=b.breakContainer(m),"li"==m.parent.name);){const S=m,q=b.createPositionAt(m.parent,"end");if(!S.isEqual(q)){const B=b.remove(b.createRange(S,q));M.push(B)}m=b.createPositionAfter(m.parent)}if(M.length>0){for(let S=0;S0){const B=eo(b,q,q.nextSibling);B&&B.parent==q&&m.offset--}}eo(b,m.nodeBefore,m.nodeAfter)}}}function hc(d,r,l){const m=l.mapper.toViewPosition(r.position);eo(l.writer,m.nodeBefore,m.nodeAfter)}function nl(d,r,l){if(l.consumable.consume(r.viewItem,{name:!0})){const m=l.writer,b=m.createElement("listItem"),M=function(at){let _t=0,Zt=at.parent;for(;Zt;){if(Zt.is("element","li"))_t++;else{const _e=Zt.previousSibling;_e&&_e.is("element","li")&&_t++}Zt=Zt.parent}return _t}(r.viewItem);m.setAttribute("listIndent",M,b),m.setAttribute("listType",r.viewItem.parent&&"ol"==r.viewItem.parent.name?"numbered":"bulleted",b);const q=l.splitToAllowedParent(b,r.modelCursor);if(!q)return;m.insert(b,q.position);const B=function(at,_t,Zt){const{writer:_e,schema:Be}=Zt;let mn=_e.createPositionAfter(at);for(const Mn of _t)if("ul"==Mn.name||"ol"==Mn.name)mn=Zt.convertItem(Mn,mn).modelCursor;else{const In=Zt.convertItem(Mn,_e.createPositionAt(at,"end")),Gn=In.modelRange.start.nodeAfter;Gn&&Gn.is("element")&&!Be.checkChild(at,Gn.name)&&(at=In.modelCursor.parent.is("element","listItem")?In.modelCursor.parent:ph(In.modelCursor),mn=_e.createPositionAfter(at))}return mn}(b,r.viewItem.getChildren(),l);r.modelRange=m.createRange(r.modelCursor,B),r.modelCursor=q.cursorParent?m.createPositionAt(q.cursorParent,0):r.modelRange.end}}function Cs(d,r,l){if(l.consumable.test(r.viewItem,{name:!0})){const m=Array.from(r.viewItem.getChildren());for(const b of m)!b.is("element","li")&&!qd(b)&&b._remove()}}function Hl(d,r,l){if(l.consumable.test(r.viewItem,{name:!0})){if(0===r.viewItem.childCount)return;const m=[...r.viewItem.getChildren()];let b=!1,M=!0;for(const S of m)b&&!qd(S)&&S._remove(),S.is("$text")?(M&&(S._data=S.data.replace(/^\s+/,"")),S.nextSibling&&!qd(S.nextSibling)||(S._data=S.data.replace(/\s+$/,""))):qd(S)&&(b=!0),M=!1}}function ru(d){return(r,l)=>{if(l.isPhantom)return;const m=l.modelPosition.nodeBefore;if(m&&m.is("element","listItem")){const b=l.mapper.toViewElement(m),M=b.getAncestors().find(qd),S=d.createPositionAt(b,0).getWalker();for(const q of S){if("elementStart"==q.type&&q.item.is("element","li")){l.viewPosition=q.previousPosition;break}if("elementEnd"==q.type&&q.item==M){l.viewPosition=q.nextPosition;break}}}}}function zm(d,[r,l]){let m,b=r.is("documentFragment")?r.getChild(0):r;if(m=l?this.createSelection(l):this.document.selection,b&&b.is("element","listItem")){const M=m.getFirstPosition();let S=null;if(M.parent.is("element","listItem")?S=M.parent:M.nodeBefore&&M.nodeBefore.is("element","listItem")&&(S=M.nodeBefore),S){const q=S.getAttribute("listIndent");if(q>0)for(;b&&b.is("element","listItem");)b._setAttribute("listIndent",b.getAttribute("listIndent")+q),b=b.nextSibling}}}function ph(d){const r=new el({startPosition:d});let l;do{l=r.next()}while(!l.value.item.is("element","listItem"));return l.value.item}function B_(d,r,l,m,b,M){const S=jo(r.nodeBefore,{sameIndent:!0,smallerIndent:!0,listIndent:d,foo:"b"}),q=b.mapper,B=b.writer,at=S?S.getAttribute("listIndent"):null;let _t;if(S)if(at==d){const Zt=q.toViewElement(S).parent;_t=B.createPositionAfter(Zt)}else{const Zt=M.createPositionAt(S,"end");_t=q.toViewPosition(Zt)}else _t=l;_t=Ro(_t);for(const Zt of[...m.getChildren()])qd(Zt)&&(_t=B.move(B.createRangeOn(Zt),_t).end,eo(B,Zt,Zt.nextSibling),eo(B,Zt.previousSibling,Zt))}function qd(d){return d.is("element","ol")||d.is("element","ul")}class K3 extends Eo{static get pluginName(){return"ListEditing"}static get requires(){return[Nd]}init(){const r=this.editor;r.model.schema.register("listItem",{inheritAllFrom:"$block",allowAttributes:["listType","listIndent"]});const l=r.data,m=r.editing;var b;r.model.document.registerPostFixer(q=>function(B,at){const _t=B.document.differ.getChanges(),Zt=new Map;let _e=!1;for(const In of _t)if("insert"==In.type&&"listItem"==In.name)Be(In.position);else if("insert"==In.type&&"listItem"!=In.name){if("$text"!=In.name){const Gn=In.position.nodeAfter;Gn.hasAttribute("listIndent")&&(at.removeAttribute("listIndent",Gn),_e=!0),Gn.hasAttribute("listType")&&(at.removeAttribute("listType",Gn),_e=!0);for(const Fi of Array.from(B.createRangeIn(Gn)).filter(Ji=>Ji.item.is("element","listItem")))Be(Fi.previousPosition)}Be(In.position.getShiftedBy(In.length))}else"remove"==In.type&&"listItem"==In.name?Be(In.position):("attribute"==In.type&&"listIndent"==In.attributeKey||"attribute"==In.type&&"listType"==In.attributeKey)&&Be(In.range.start);for(const In of Zt.values())mn(In),Mn(In);return _e;function Be(In){const Gn=In.nodeBefore;if(Gn&&Gn.is("element","listItem")){let Fi=Gn;if(Zt.has(Fi))return;for(let Ji=Fi.previousSibling;Ji&&Ji.is("element","listItem");Ji=Fi.previousSibling)if(Fi=Ji,Zt.has(Fi))return;Zt.set(Gn,Fi)}else{const Fi=In.nodeAfter;Fi&&Fi.is("element","listItem")&&Zt.set(Fi,Fi)}}function mn(In){let Gn=0,Fi=null;for(;In&&In.is("element","listItem");){const Ji=In.getAttribute("listIndent");if(Ji>Gn){let Do;null===Fi?(Fi=Ji-Gn,Do=Gn):(Fi>Ji&&(Fi=Ji),Do=Ji-Fi),at.setAttribute("listIndent",Do,In),_e=!0}else Fi=null,Gn=In.getAttribute("listIndent")+1;In=In.nextSibling}}function Mn(In){let Gn=[],Fi=null;for(;In&&In.is("element","listItem");){const Ji=In.getAttribute("listIndent");if(Fi&&Fi.getAttribute("listIndent")>Ji&&(Gn=Gn.slice(0,Ji+1)),0!=Ji)if(Gn[Ji]){const Do=Gn[Ji];In.getAttribute("listType")!=Do&&(at.setAttribute("listType",Do,In),_e=!0)}else Gn[Ji]=In.getAttribute("listType");Fi=In,In=In.nextSibling}}}(r.model,q)),m.mapper.registerViewToModelLength("li",Ng),l.mapper.registerViewToModelLength("li",Ng),m.mapper.on("modelToViewPosition",ru(m.view)),m.mapper.on("viewToModelPosition",(b=r.model,(q,B)=>{const at=B.viewPosition,_t=at.parent,Zt=B.mapper;if("ul"==_t.name||"ol"==_t.name){if(at.isAtEnd){const _e=Zt.toModelElement(at.nodeBefore),Be=Zt.getModelLength(at.nodeBefore);B.modelPosition=b.createPositionBefore(_e).getShiftedBy(Be)}else{const _e=Zt.toModelElement(at.nodeAfter);B.modelPosition=b.createPositionBefore(_e)}q.stop()}else if("li"==_t.name&&at.nodeBefore&&("ul"==at.nodeBefore.name||"ol"==at.nodeBefore.name)){const _e=Zt.toModelElement(_t);let Be=1,mn=at.nodeBefore;for(;mn&&qd(mn);)Be+=Zt.getModelLength(mn),mn=mn.previousSibling;B.modelPosition=b.createPositionBefore(_e).getShiftedBy(Be),q.stop()}})),l.mapper.on("modelToViewPosition",ru(m.view)),r.conversion.for("editingDowncast").add(q=>{var B;q.on("insert",au,{priority:"high"}),q.on("insert:listItem",la(r.model)),q.on("attribute:listType:listItem",er,{priority:"high"}),q.on("attribute:listType:listItem",Na,{priority:"low"}),q.on("attribute:listIndent:listItem",(B=r.model,(at,_t,Zt)=>{if(!Zt.consumable.consume(_t.item,"attribute:listIndent"))return;const _e=Zt.mapper.toViewElement(_t.item),Be=Zt.writer;Be.breakContainer(Be.createPositionBefore(_e)),Be.breakContainer(Be.createPositionAfter(_e));const mn=_e.parent,Mn=mn.previousSibling,In=Be.createRangeOn(mn);Be.remove(In),Mn&&Mn.nextSibling&&eo(Be,Mn,Mn.nextSibling),B_(_t.attributeOldValue+1,_t.range.start,In.start,_e,Zt,B),Xi(_t.item,_e,Zt,B);for(const Gn of _t.item.getChildren())Zt.consumable.consume(Gn,"insert")})),q.on("remove:listItem",function(B){return(at,_t,Zt)=>{const _e=Zt.mapper.toViewPosition(_t.position).getLastMatchingPosition(Fi=>!Fi.item.is("element","li")).nodeAfter,Be=Zt.writer;Be.breakContainer(Be.createPositionBefore(_e)),Be.breakContainer(Be.createPositionAfter(_e));const mn=_e.parent,Mn=mn.previousSibling,In=Be.createRangeOn(mn),Gn=Be.remove(In);Mn&&Mn.nextSibling&&eo(Be,Mn,Mn.nextSibling),B_(Zt.mapper.toModelElement(_e).getAttribute("listIndent")+1,_t.position,In.start,_e,Zt,B);for(const Fi of Be.createRangeIn(Gn).getItems())Zt.mapper.unbindViewElement(Fi);at.stop()}}(r.model)),q.on("remove",hc,{priority:"low"})}),r.conversion.for("dataDowncast").add(q=>{q.on("insert",au,{priority:"high"}),q.on("insert:listItem",la(r.model))}),r.conversion.for("upcast").add(q=>{q.on("element:ul",Cs,{priority:"high"}),q.on("element:ol",Cs,{priority:"high"}),q.on("element:li",Hl,{priority:"high"}),q.on("element:li",nl)}),r.model.on("insertContent",zm,{priority:"high"}),r.commands.add("numberedList",new dn(r,"numbered")),r.commands.add("bulletedList",new dn(r,"bulleted")),r.commands.add("indentList",new fi(r,"forward")),r.commands.add("outdentList",new fi(r,"backward"));const M=m.view.document;this.listenTo(M,"enter",(q,B)=>{const at=this.editor.model.document,_t=at.selection.getLastPosition().parent;at.selection.isCollapsed&&"listItem"==_t.name&&_t.isEmpty&&(this.editor.execute("outdentList"),B.preventDefault(),q.stop())}),this.listenTo(M,"delete",(q,B)=>{if("backward"!==B.direction)return;const at=this.editor.model.document.selection;if(!at.isCollapsed)return;const _t=at.getFirstPosition();if(!_t.isAtStart)return;const Zt=_t.parent;"listItem"===Zt.name&&(Zt.previousSibling&&"listItem"===Zt.previousSibling.name||(this.editor.execute("outdentList"),B.preventDefault(),q.stop()))},{priority:"high"});const S=q=>(B,at)=>{this.editor.commands.get(q).isEnabled&&(this.editor.execute(q),at())};r.keystrokes.set("Tab",S("indentList")),r.keystrokes.set("Shift+Tab",S("outdentList"))}afterInit(){const r=this.editor.commands,l=r.get("indent"),m=r.get("outdent");l&&l.registerChildCommand(r.get("indentList")),m&&m.registerChildCommand(r.get("outdentList"))}}function Ng(d){let r=1;for(const l of d.getChildren())if("ul"==l.name||"ol"==l.name)for(const m of l.getChildren())r+=Ng(m);return r}class c6 extends Eo{init(){const r=this.editor.t;ma(this.editor,"numberedList",r("Numbered List"),''),ma(this.editor,"bulletedList",r("Bulleted List"),'')}}function $0(d,r){return m=>{m.on("attribute:url:media",l)};function l(m,b,M){if(!M.consumable.consume(b.item,m.name))return;const S=b.attributeNewValue,q=M.writer,B=M.mapper.toViewElement(b.item),at=[...B.getChildren()].find(Zt=>Zt.getCustomProperty("media-content"));q.remove(at);const _t=d.getMediaViewElement(q,S,r);q.insert(q.createPositionAt(B,0),_t)}}function K0(d,r,l,m){const b=d.createContainerElement("figure",{class:"media"});return d.insert(d.createPositionAt(b,0),r.getMediaViewElement(d,l,m)),b}function X3(d){const r=d.getSelectedElement();return r&&r.is("element","media")?r:null}function t4(d,r,l){d.change(m=>{const b=m.createElement("media",{url:r});d.insertContent(b,l),m.setSelection(b,"on")})}class Ig extends Ha{refresh(){const r=this.editor.model,l=r.document.selection,m=r.schema,b=l.getFirstPosition(),M=X3(l);let S=b.parent;S!=S.root&&(S=S.parent),this.value=M?M.getAttribute("url"):null,this.isEnabled=m.checkChild(S,"media")}execute(r){const l=this.editor.model,m=l.document.selection,b=X3(m);if(b)l.change(M=>{M.setAttribute("url",r,b)});else{const M=_p(m,l);t4(l,r,M)}}}class e4{constructor(r,l){const m=l.providers,b=l.extraProviders||[],M=new Set(l.removeProviders),S=m.concat(b).filter(q=>{const B=q.name;return B?!M.has(B):(console.warn(Object(Qn.a)("media-embed-no-provider-name: The configured media provider has no name and cannot be used."),{provider:q}),!1)});this.locale=r,this.providerDefinitions=S}hasMedia(r){return!!this._getMedia(r)}getMediaViewElement(r,l,m){return this._getMedia(l).getViewElement(r,m)}_getMedia(r){if(!r)return new n4(this.locale);r=r.trim();for(const l of this.providerDefinitions){const m=l.html;let b=l.url;Array.isArray(b)||(b=[b]);for(const M of b){const S=this._getUrlMatches(r,M);if(S)return new n4(this.locale,r,S,m)}}return null}_getUrlMatches(r,l){let m=r.match(l);if(m)return m;let b=r.replace(/^https?:\/\//,"");return m=b.match(l),m||(b=b.replace(/^www\./,""),m=b.match(l),m||null)}}class n4{constructor(r,l,m,b){this.url=this._getValidUrl(l),this._t=r.t,this._match=m,this._previewRenderer=b}getViewElement(r,l){const m={};let b;if(l.renderForEditingView||l.renderMediaPreview&&this.url&&this._previewRenderer){this.url&&(m["data-oembed-url"]=this.url),l.renderForEditingView&&(m.class="ck-media__wrapper");const M=this._getPreviewHtml(l);b=r.createRawElement("div",m,function(S){S.innerHTML=M})}else this.url&&(m.url=this.url),b=r.createEmptyElement("oembed",m);return r.setCustomProperty("media-content",!0,b),b}_getPreviewHtml(r){return this._previewRenderer?this._previewRenderer(this._match):this.url&&r.renderForEditingView?this._getPlaceholderHtml():""}_getPlaceholderHtml(){const r=new h0,l=new Tm;return r.text=this._t("Open media in new tab"),l.content='',l.viewBox="0 0 64 42",new yl({tag:"div",attributes:{class:"ck ck-reset_all ck-media__placeholder"},children:[{tag:"div",attributes:{class:"ck-media__placeholder__icon"},children:[l]},{tag:"a",attributes:{class:"ck-media__placeholder__url",target:"_blank",rel:"noopener noreferrer",href:this.url},children:[{tag:"span",attributes:{class:"ck-media__placeholder__url__text"},children:[this.url]},r]}]}).render().outerHTML}_getValidUrl(r){return r?r.match(/^https?/)?r:"https://"+r:null}}p(80);class X0 extends Eo{static get pluginName(){return"MediaEmbedEditing"}constructor(r){super(r),r.config.define("mediaEmbed",{providers:[{name:"dailymotion",url:/^dailymotion\.com\/video\/(\w+)/,html:l=>``},{name:"spotify",url:[/^open\.spotify\.com\/(artist\/\w+)/,/^open\.spotify\.com\/(album\/\w+)/,/^open\.spotify\.com\/(track\/\w+)/],html:l=>``},{name:"youtube",url:[/^(?:m\.)?youtube\.com\/watch\?v=([\w-]+)/,/^(?:m\.)?youtube\.com\/v\/([\w-]+)/,/^youtube\.com\/embed\/([\w-]+)/,/^youtu\.be\/([\w-]+)/],html:l=>``},{name:"vimeo",url:[/^vimeo\.com\/(\d+)/,/^vimeo\.com\/[^/]+\/[^/]+\/video\/(\d+)/,/^vimeo\.com\/album\/[^/]+\/video\/(\d+)/,/^vimeo\.com\/channels\/[^/]+\/(\d+)/,/^vimeo\.com\/groups\/[^/]+\/videos\/(\d+)/,/^vimeo\.com\/ondemand\/[^/]+\/(\d+)/,/^player\.vimeo\.com\/video\/(\d+)/],html:l=>``},{name:"instagram",url:/^instagram\.com\/p\/(\w+)/},{name:"twitter",url:/^twitter\.com/},{name:"googleMaps",url:/^google\.com\/maps/},{name:"flickr",url:/^flickr\.com/},{name:"facebook",url:/^facebook\.com/}]}),this.registry=new e4(r.locale,r.config.get("mediaEmbed"))}init(){const r=this.editor,l=r.model.schema,m=r.t,b=r.conversion,M=r.config.get("mediaEmbed.previewsInData"),S=this.registry;r.commands.add("mediaEmbed",new Ig(r)),l.register("media",{isObject:!0,isBlock:!0,allowWhere:"$block",allowAttributes:["url"]}),b.for("dataDowncast").elementToElement({model:"media",view:(q,B)=>{const at=q.getAttribute("url");return K0(B,S,at,{renderMediaPreview:at&&M})}}),b.for("dataDowncast").add($0(S,{renderMediaPreview:M})),b.for("editingDowncast").elementToElement({model:"media",view:(q,B)=>{const at=q.getAttribute("url");return Zt=K0(B,S,at,{renderForEditingView:!0}),_e=B,Be=m("media widget"),_e.setCustomProperty("media",!0,Zt),c1(Zt,_e,{label:Be});var Zt,_e,Be}}),b.for("editingDowncast").add($0(S,{renderForEditingView:!0})),b.for("upcast").elementToElement({view:{name:"oembed",attributes:{url:!0}},model:(q,B)=>{const at=q.getAttribute("url");if(S.hasMedia(at))return B.createElement("media",{url:at})}}).elementToElement({view:{name:"div",attributes:{"data-oembed-url":!0}},model:(q,B)=>{const at=q.getAttribute("data-oembed-url");if(S.hasMedia(at))return B.createElement("media",{url:at})}})}}const t3=/^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w.-]+)+[\w\-._~:/?#[\]@!$&'()*+,;=]+$/;class l6 extends Eo{static get requires(){return[Mm,Rf]}static get pluginName(){return"AutoMediaEmbed"}constructor(r){super(r),this._timeoutId=null,this._positionToInsert=null}init(){const r=this.editor,l=r.model.document;this.listenTo(r.plugins.get(Mm),"inputTransformation",()=>{const m=l.selection.getFirstRange(),b=rc.fromPosition(m.start);b.stickiness="toPrevious";const M=rc.fromPosition(m.end);M.stickiness="toNext",l.once("change:data",()=>{this._embedMediaBetweenPositions(b,M),b.detach(),M.detach()},{priority:"high"})}),r.commands.get("undo").on("execute",()=>{this._timeoutId&&(ft.window.clearTimeout(this._timeoutId),this._positionToInsert.detach(),this._timeoutId=null,this._positionToInsert=null)},{priority:"high"})}_embedMediaBetweenPositions(r,l){const m=this.editor,b=m.plugins.get(X0).registry,M=new Pp(r,l),S=M.getWalker({ignoreElementEnd:!0});let q="";for(const B of S)B.item.is("$textProxy")&&(q+=B.item.data);q=q.trim(),q.match(t3)&&b.hasMedia(q)&&m.commands.get("mediaEmbed").isEnabled?(this._positionToInsert=rc.fromPosition(r),this._timeoutId=ft.window.setTimeout(()=>{m.model.change(B=>{let at;this._timeoutId=null,B.remove(M),M.detach(),"$graveyard"!==this._positionToInsert.root.rootName&&(at=this._positionToInsert),t4(m.model,q,at),this._positionToInsert.detach(),this._positionToInsert=null})},100)):M.detach()}}p(82);class i4 extends Xo{constructor(r,l){super(l);const m=l.t;this.focusTracker=new Ac,this.keystrokes=new Il,this.urlInputView=this._createUrlInput(),this.saveButtonView=this._createButton(m("Save"),I_,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(m("Cancel"),L2,"ck-button-cancel","cancel"),this._focusables=new O1,this._focusCycler=new Rp({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this._validators=r,this.setTemplate({tag:"form",attributes:{class:["ck","ck-media-form"],tabindex:"-1"},children:[this.urlInputView,this.saveButtonView,this.cancelButtonView]})}render(){super.render(),jr({view:this}),[this.urlInputView,this.saveButtonView,this.cancelButtonView].forEach(l=>{this._focusables.add(l),this.focusTracker.add(l.element)}),this.keystrokes.listenTo(this.element);const r=l=>l.stopPropagation();this.keystrokes.set("arrowright",r),this.keystrokes.set("arrowleft",r),this.keystrokes.set("arrowup",r),this.keystrokes.set("arrowdown",r),this.listenTo(this.urlInputView.element,"selectstart",(l,m)=>{m.stopPropagation()},{priority:"high"})}focus(){this._focusCycler.focusFirst()}get url(){return this.urlInputView.fieldView.element.value.trim()}set url(r){this.urlInputView.fieldView.element.value=r.trim()}isValid(){this.resetFormStatus();for(const r of this._validators){const l=r(this);if(l)return this.urlInputView.errorText=l,!1}return!0}resetFormStatus(){this.urlInputView.errorText=null,this.urlInputView.infoText=this._urlInputViewInfoDefault}_createUrlInput(){const r=this.locale.t,l=new eh(this.locale,Zg),m=l.fieldView;return this._urlInputViewInfoDefault=r("Paste the media URL in the input."),this._urlInputViewInfoTip=r("Tip: Paste the URL into the content to embed faster."),l.label=r("Media URL"),l.infoText=this._urlInputViewInfoDefault,m.placeholder="https://example.com",m.on("input",()=>{l.infoText=m.element.value?this._urlInputViewInfoTip:this._urlInputViewInfoDefault}),l}_createButton(r,l,m,b){const M=new Rs(this.locale);return M.set({label:r,icon:l,tooltip:!0}),M.extendTemplate({attributes:{class:m}}),b&&M.delegate("execute").to(this,b),M}}class l1 extends Eo{static get requires(){return[X0]}static get pluginName(){return"MediaEmbedUI"}init(){const r=this.editor,l=r.commands.get("mediaEmbed"),m=r.plugins.get(X0).registry;r.ui.componentFactory.add("mediaEmbed",b=>{const M=r1(b),S=new i4((q=r.t,B=m,[at=>{if(!at.url.length)return q("The URL must not be empty.")},at=>{if(!B.hasMedia(at.url))return q("This media URL is not supported.")}]),r.locale);var q,B;return this._setUpDropdown(M,S,l,r),this._setUpForm(M,S,l),M})}_setUpDropdown(r,l,m){const b=this.editor,M=b.t,S=r.buttonView;function q(){b.editing.view.focus(),r.isOpen=!1}r.bind("isEnabled").to(m),r.panelView.children.add(l),S.set({label:M("Insert media"),icon:'',tooltip:!0}),S.on("open",()=>{l.url=m.value||"",l.urlInputView.fieldView.select(),l.focus()},{priority:"low"}),r.on("submit",()=>{l.isValid()&&(b.execute("mediaEmbed",l.url),q())}),r.on("change:isOpen",()=>l.resetFormStatus()),r.on("cancel",()=>q())}_setUpForm(r,l,m){l.delegate("submit","cancel").to(r),l.urlInputView.bind("value").to(m,"value"),l.urlInputView.bind("isReadOnly").to(m,"isEnabled",b=>!b),l.saveButtonView.bind("isEnabled").to(m)}}function mh(d,r,l){const m=r.parent,b=l.createElement(d.type),M=m.getChildIndex(r)+1;return l.insertChild(M,b,m),b}function u1(d){const r={},l=d.getStyle("mso-list");if(l){const m=l.match(/(^|\s+)l(\d+)/i),b=l.match(/\s*lfo(\d+)/i),M=l.match(/\s*level(\d+)/i);m&&b&&M&&(r.id=m[2],r.order=b[1],r.indent=M[1])}return r}p(84);const V1=/id=("|')docs-internal-guid-[-0-9a-f]+("|')/i;class e3{constructor(r){this.document=r}isActive(r){return V1.test(r)}execute(r){const l=new oh(this.document);(function(m,b){for(const M of m.getChildren())if(M.is("element","b")&&"normal"===M.getStyle("font-weight")){const S=m.getChildIndex(M);b.remove(M),b.insertChild(S,M.getChildren(),m)}})(r.content,l),function(m,b){for(const M of b.createRangeIn(m)){const S=M.item;if(S.is("element","li")){const q=S.getChild(0);q.is("element","p")&&b.unwrapElement(q)}}}(r.content,l)}}function u6(d){return d.replace(/(\s+)<\/span>/g,(r,l)=>1===l.length?" ":Array(l.length+1).join("\xa0 ").substr(0,l.length))}const _h=//i,d6=/xmlns:o="urn:schemas-microsoft-com/i;class n3{constructor(r){this.document=r}isActive(r){return _h.test(r)||d6.test(r)}execute(r){const{body:l,stylesString:m}=function Rg(d,r){const l=new DOMParser,m=u6(u6(function(B){const at=B.match(/<\/body>(.*?)(<\/html>|$)/);return at&&at[1]&&(B=B.slice(0,at.index)+B.slice(at.index).replace(at[1],"")),B}(d=d.replace(//)>-1||t[O].search(/\]>/)>-1||t[O].search(/!DOCTYPE/)>-1)&&(U=!1)):t[O].search(/-->/)>-1||t[O].search(/\]>/)>-1?(P+=t[O],U=!1):/^<\w/.exec(t[O-1])&&/^<\/\w/.exec(t[O])&&/^<[\w:\-\.\,]+/.exec(t[O-1])==/^<\/[\w:\-\.\,]+/.exec(t[O])[0].replace("/","")?(P+=t[O],U||w--):t[O].search(/<\w/)>-1&&-1==t[O].search(/<\//)&&-1==t[O].search(/\/>/)?P=P+=U?t[O]:L[w++]+t[O]:t[O].search(/<\w/)>-1&&t[O].search(/<\//)>-1?P=P+=U?t[O]:L[w]+t[O]:t[O].search(/<\//)>-1?P=P+=U?t[O]:L[--w]+t[O]:t[O].search(/\/>/)>-1?P=P+=U?t[O]:L[w]+t[O]:t[O].search(/<\?/)>-1||t[O].search(/xmlns\:/)>-1||t[O].search(/xmlns\=/)>-1?P+=L[w]+t[O]:P+=t[O];return"\n"==P[0]?P.slice(1):P},h.prototype.json=function(x,t){return t=t||this.step,typeof JSON>"u"?x:"string"==typeof x?JSON.stringify(JSON.parse(x),null,t):"object"==typeof x?JSON.stringify(x,null,t):x},h.prototype.css=function(x,v){var t=x.replace(/\s{1,}/g," ").replace(/\{/g,"{~::~").replace(/\}/g,"~::~}~::~").replace(/\;/g,";~::~").replace(/\/\*/g,"~::~/*").replace(/\*\//g,"*/~::~").replace(/~::~\s{0,}~::~/g,"~::~").split("~::~"),T=t.length,U=0,w="",P=0,O=v?j(v):this.shift;for(P=0;P /g,"").replace(/[ \r\n\t]{1,}xmlns/g," xmlns")).replace(/>\s{0,}<")},h.prototype.jsonmin=function(x){return typeof JSON>"u"?x:JSON.stringify(JSON.parse(x),null,0)},h.prototype.cssmin=function(x,v){return(v?x:x.replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\//g,"")).replace(/\s{1,}/g," ").replace(/\{\s{1,}/g,"{").replace(/\}\s{1,}/g,"}").replace(/\;\s{1,}/g,";").replace(/\/\*\s{1,}/g,"/*").replace(/\*\/\s{1,}/g,"*/")},h.prototype.sqlmin=function(x){return x.replace(/\s{1,}/g," ").replace(/\s{1,}\(/,"(").replace(/\s{1,}\)/,")")},X.exports=new h},67824:(X,j,h)=>{"use strict";function u(p){for(var x in p)j.hasOwnProperty(x)||(j[x]=p[x])}Object.defineProperty(j,"__esModule",{value:!0}),u(h(95085)),u(h(26243)),u(h(91786)),u(h(30225)),u(h(76767)),u(h(30345)),u(h(15675)),u(h(86461)),u(h(58802)),u(h(33900)),u(h(88866)),u(h(94655)),u(h(4068)),u(h(33858)),u(h(98237)),u(h(83292))},95085:function(X,j,h){"use strict";var t,u=this&&this.__extends||(t=function(T,U){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,P){w.__proto__=P}||function(w,P){for(var O in P)P.hasOwnProperty(O)&&(w[O]=P[O])})(T,U)},function(T,U){function w(){this.constructor=T}t(T,U),T.prototype=null===U?Object.create(U):(w.prototype=U.prototype,new w)});Object.defineProperty(j,"__esModule",{value:!0});var p=h(15675),x=function(t){function T(U){var w=t.call(this)||this,O=U;return O.trigger&&(w.trigger=O.trigger),O.kick&&(w.kick=O.kick),O.drag&&(w.drag=O.drag),O.on&&(w.on=O.on),w.dragstart=w.dragStart=p.Layout.dragStart,w.dragend=w.dragEnd=p.Layout.dragEnd,w}return u(T,t),T.prototype.trigger=function(U){},T.prototype.kick=function(){},T.prototype.drag=function(){},T.prototype.on=function(U,w){return this},T}(p.Layout);j.LayoutAdaptor=x,j.adaptor=function v(t){return new x(t)}},83292:(X,j,h)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});var u=h(15675),p=h(76767);j.gridify=function x(T,U,w,P){T.cola.start(0,0,0,10,!1);var O=function v(T,U,w,P){T.forEach(function(L){L.routerNode={name:L.name,bounds:L.bounds.inflate(-w)}}),U.forEach(function(L){L.routerNode={bounds:L.bounds.inflate(-P),children:(typeof L.groups<"u"?L.groups.map(function(N){return T.length+N.id}):[]).concat(typeof L.leaves<"u"?L.leaves.map(function(N){return N.index}):[])}});var O=T.concat(U).map(function(L,N){return L.routerNode.id=N,L.routerNode});return new p.GridRouter(O,{getChildren:function(L){return L.children},getBounds:function(L){return L.bounds}},w-P)}(T.cola.nodes(),T.cola.groups(),w,P);return O.routeEdges(T.powerGraph.powerEdges,U,function(L){return L.source.routerNode.id},function(L){return L.target.routerNode.id})},j.powerGraphGridLayout=function t(T,U,w){var P;T.nodes.forEach(function(V,W){return V.index=W}),(new u.Layout).avoidOverlaps(!1).nodes(T.nodes).links(T.links).powerGraphGroups(function(V){(P=V).groups.forEach(function(W){return W.padding=w})});var O=T.nodes.length,L=[],N=T.nodes.slice(0);return N.forEach(function(V,W){return V.index=W}),P.groups.forEach(function(V){var W=V.index=V.id+O;N.push(V),typeof V.leaves<"u"&&V.leaves.forEach(function(tt){return L.push({source:W,target:tt.index})}),typeof V.groups<"u"&&V.groups.forEach(function(tt){return L.push({source:W,target:tt.id+O})})}),P.powerEdges.forEach(function(V){L.push({source:V.source.index,target:V.target.index})}),(new u.Layout).size(U).nodes(N).links(L).avoidOverlaps(!1).linkDistance(30).symmetricDiffLinkLengths(5).convergenceThreshold(1e-4).start(100,0,0,0,!1),{cola:(new u.Layout).convergenceThreshold(.001).size(U).avoidOverlaps(!0).nodes(T.nodes).links(T.links).groupCompactness(1e-4).linkDistance(30).symmetricDiffLinkLengths(5).powerGraphGroups(function(V){(P=V).groups.forEach(function(W){W.padding=w})}).start(50,0,100,0,!1),powerGraph:P}}},26243:(X,j,h)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});var u=h(49346),p=h(22487);j.d3adaptor=function x(t){return!t||function v(t){return t.version&&null!==t.version.match(/^3\./)}(t)?new u.D3StyleLayoutAdaptor:new p.D3StyleLayoutAdaptor(t)}},49346:function(X,j,h){"use strict";var t,u=this&&this.__extends||(t=function(T,U){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,P){w.__proto__=P}||function(w,P){for(var O in P)P.hasOwnProperty(O)&&(w[O]=P[O])})(T,U)},function(T,U){function w(){this.constructor=T}t(T,U),T.prototype=null===U?Object.create(U):(w.prototype=U.prototype,new w)});Object.defineProperty(j,"__esModule",{value:!0});var p=h(15675),x=function(t){function T(){var U=t.call(this)||this;U.event=d3.dispatch(p.EventType[p.EventType.start],p.EventType[p.EventType.tick],p.EventType[p.EventType.end]);var w=U;return U.drag=function(){if(!O)var O=d3.behavior.drag().origin(p.Layout.dragOrigin).on("dragstart.d3adaptor",p.Layout.dragStart).on("drag.d3adaptor",function(L){p.Layout.drag(L,d3.event),w.resume()}).on("dragend.d3adaptor",p.Layout.dragEnd);if(!arguments.length)return O;this.call(O)},U}return u(T,t),T.prototype.trigger=function(U){var w={type:p.EventType[U.type],alpha:U.alpha,stress:U.stress};this.event[w.type](w)},T.prototype.kick=function(){var U=this;d3.timer(function(){return t.prototype.tick.call(U)})},T.prototype.on=function(U,w){return this.event.on("string"==typeof U?U:p.EventType[U],w),this},T}(p.Layout);j.D3StyleLayoutAdaptor=x,j.d3adaptor=function v(){return new x}},22487:function(X,j,h){"use strict";var v,u=this&&this.__extends||(v=function(t,T){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(U,w){U.__proto__=w}||function(U,w){for(var P in w)w.hasOwnProperty(P)&&(U[P]=w[P])})(t,T)},function(t,T){function U(){this.constructor=t}v(t,T),t.prototype=null===T?Object.create(T):(U.prototype=T.prototype,new U)});Object.defineProperty(j,"__esModule",{value:!0});var p=h(15675),x=function(v){function t(T){var U=v.call(this)||this;U.d3Context=T,U.event=T.dispatch(p.EventType[p.EventType.start],p.EventType[p.EventType.tick],p.EventType[p.EventType.end]);var w=U;return U.drag=function(){if(!O)var O=T.drag().subject(p.Layout.dragOrigin).on("start.d3adaptor",p.Layout.dragStart).on("drag.d3adaptor",function(L){p.Layout.drag(L,T.event),w.resume()}).on("end.d3adaptor",p.Layout.dragEnd);if(!arguments.length)return O;arguments[0].call(O)},U}return u(t,v),t.prototype.trigger=function(T){var U={type:p.EventType[T.type],alpha:T.alpha,stress:T.stress};this.event.call(U.type,U)},t.prototype.kick=function(){var T=this,U=this.d3Context.timer(function(){return v.prototype.tick.call(T)&&U.stop()})},t.prototype.on=function(T,U){return this.event.on("string"==typeof T?T:p.EventType[T],U),this},t}(p.Layout);j.D3StyleLayoutAdaptor=x},91786:(X,j)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});var h=function(){function x(){this.locks={}}return x.prototype.add=function(v,t){this.locks[v]=t},x.prototype.clear=function(){this.locks={}},x.prototype.isEmpty=function(){for(var v in this.locks)return!1;return!0},x.prototype.apply=function(v){for(var t in this.locks)v(Number(t),this.locks[t])},x}();j.Locks=h;var u=function(){function x(v,t,T){void 0===T&&(T=null),this.D=t,this.G=T,this.threshold=1e-4,this.numGridSnapNodes=0,this.snapGridSize=100,this.snapStrength=1e3,this.scaleSnapByMaxH=!1,this.random=new p,this.project=null,this.x=v,this.k=v.length;var U=this.n=v[0].length;this.H=new Array(this.k),this.g=new Array(this.k),this.Hd=new Array(this.k),this.a=new Array(this.k),this.b=new Array(this.k),this.c=new Array(this.k),this.d=new Array(this.k),this.e=new Array(this.k),this.ia=new Array(this.k),this.ib=new Array(this.k),this.xtmp=new Array(this.k),this.locks=new h,this.minD=Number.MAX_VALUE;for(var P,w=U;w--;)for(P=U;--P>w;){var O=t[w][P];O>0&&O 1e-9)break;var ct=this.offsetDir();for(U=0;U 1&&bt>Dt||!isFinite(Dt)){for(U=0;U 1&&(wt=1);var qt=Dt*Dt,Jt=2*wt*(bt-Dt)/(qt*bt),yt=bt*bt*bt,At=2*-wt/(qt*yt);for(isFinite(Jt)||console.log(Jt),U=0;U 0?ce-(fe+1)*pt:ce-(fe-1)*pt)&&st<=xt&&(this.scaleSnapByMaxH?(this.g[U][N]+=L*Bt*st,this.H[U][N][N]+=L*Bt):(this.g[U][N]+=Bt*st,this.H[U][N][N]+=Bt))}this.locks.isEmpty()||this.locks.apply(function(Fe,Ge){for(U=0;U 0;)for(var w=t;w-- >0;)T(U,w)},x.prototype.matrixApply=function(v){x.mApply(this.k,this.n,v)},x.prototype.computeNextPosition=function(v,t){var T=this;this.computeDerivatives(v);var U=this.computeStepSize(this.g);if(this.stepAndProject(v,t,this.g,U),this.project){this.matrixApply(function(P,O){return T.e[P][O]=v[P][O]-t[P][O]});var w=this.computeStepSize(this.e);w=Math.max(.2,Math.min(w,1)),this.stepAndProject(v,t,this.e,w)}},x.prototype.run=function(v){for(var t=Number.MAX_VALUE,T=!1;!T&&v-- >0;){var U=this.rungeKutta();T=Math.abs(t/U-1) >16)/this.range},x.prototype.getNextBetween=function(v,t){return v+this.getNext()*(t-v)},x}();j.PseudoRandom=p},30225:function(X,j,h){"use strict";var ve,u=this&&this.__extends||(ve=function(fe,Le){return(ve=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Fe,Ge){Fe.__proto__=Ge}||function(Fe,Ge){for(var Gt in Ge)Ge.hasOwnProperty(Gt)&&(Fe[Gt]=Ge[Gt])})(fe,Le)},function(fe,Le){function Fe(){this.constructor=fe}ve(fe,Le),fe.prototype=null===Le?Object.create(Le):(Fe.prototype=Le.prototype,new Fe)});Object.defineProperty(j,"__esModule",{value:!0});var p=h(4068),x=function ve(){};j.Point=x;var v=function ve(fe,Le,Fe,Ge){this.x1=fe,this.y1=Le,this.x2=Fe,this.y2=Ge};j.LineSegment=v;var t=function(ve){function fe(){return null!==ve&&ve.apply(this,arguments)||this}return u(fe,ve),fe}(x);function T(ve,fe,Le){return(fe.x-ve.x)*(Le.y-ve.y)-(Le.x-ve.x)*(fe.y-ve.y)}function U(ve,fe,Le){return T(ve,fe,Le)>0}function w(ve,fe,Le){return T(ve,fe,Le)<0}function V(ve,fe){var Le=fe.slice(0);return Le.push(fe[0]),{rtan:W(ve,Le),ltan:tt(ve,Le)}}function W(ve,fe){var Fe,Ge,Gt,ne,Le=fe.length-1;if(w(ve,fe[1],fe[0])&&!U(ve,fe[Le-1],fe[0]))return 0;for(Fe=0,Ge=Le;;){if(Ge-Fe==1)return U(ve,fe[Fe],fe[Ge])?Fe:Ge;if((ne=w(ve,fe[(Gt=Math.floor((Fe+Ge)/2))+1],fe[Gt]))&&!U(ve,fe[Gt-1],fe[Gt]))return Gt;U(ve,fe[Fe+1],fe[Fe])?ne||U(ve,fe[Fe],fe[Gt])?Ge=Gt:Fe=Gt:ne&&w(ve,fe[Fe],fe[Gt])?Ge=Gt:Fe=Gt}}function tt(ve,fe){var Fe,Ge,Gt,ne,Le=fe.length-1;if(U(ve,fe[Le-1],fe[0])&&!w(ve,fe[1],fe[0]))return 0;for(Fe=0,Ge=Le;;){if(Ge-Fe==1)return w(ve,fe[Fe],fe[Ge])?Fe:Ge;if(ne=w(ve,fe[(Gt=Math.floor((Fe+Ge)/2))+1],fe[Gt]),U(ve,fe[Gt-1],fe[Gt])&&!ne)return Gt;w(ve,fe[Fe+1],fe[Fe])?ne?w(ve,fe[Fe],fe[Gt])?Ge=Gt:Fe=Gt:Ge=Gt:ne?Fe=Gt:U(ve,fe[Fe],fe[Gt])?Ge=Gt:Fe=Gt}}function st(ve,fe,Le,Fe,Ge,Gt){var Te,ne;ne=Fe(ve[Te=Le(fe[0],ve)],fe);for(var jt=!1;!jt;){for(jt=!0;Te===ve.length-1&&(Te=0),!Ge(fe[ne],ve[Te],ve[Te+1]);)++Te;for(;0===ne&&(ne=fe.length-1),!Gt(ve[Te],fe[ne],fe[ne-1]);)--ne,jt=!1}return{t1:Te,t2:ne}}function bt(ve,fe){return st(ve,fe,W,tt,U,w)}j.PolyPoint=t,j.isLeft=T,j.ConvexHull=function P(ve){var Fe,fe=ve.slice(0).sort(function(Me,en){return Me.x!==en.x?en.x-Me.x:en.y-Me.y}),Le=ve.length,Gt=fe[0].x;for(Fe=1;Fe =0&&fe[Fe].x===Xt;Fe--);for(jt=Fe+1,Fe=Te;++Fe<=jt;)if(!(T(fe[0],fe[jt],fe[Fe])>=0&&Fe 1&&!(T(ne[ne.length-2],ne[ne.length-1],fe[Fe])>0);)ne.length-=1;0!=Fe&&ne.push(fe[Fe])}re!=jt&&ne.push(fe[re]);var oe=ne.length;for(Fe=jt;--Fe>=Te;)if(!(T(fe[re],fe[Te],fe[Fe])>=0&&Fe>Te)){for(;ne.length>oe&&!(T(ne[ne.length-2],ne[ne.length-1],fe[Fe])>0);)ne.length-=1;0!=Fe&&ne.push(fe[Fe])}}return ne},j.clockwiseRadialSweep=function O(ve,fe,Le){fe.slice(0).sort(function(Fe,Ge){return Math.atan2(Fe.y-ve.y,Fe.x-ve.x)-Math.atan2(Ge.y-ve.y,Ge.x-ve.x)}).forEach(Le)},j.tangent_PolyPolyC=st,j.LRtangent_PolyPolyC=function ct(ve,fe){var Le=bt(fe,ve);return{t1:Le.t2,t2:Le.t1}},j.RLtangent_PolyPolyC=bt,j.LLtangent_PolyPolyC=function Dt(ve,fe){return st(ve,fe,tt,tt,w,w)},j.RRtangent_PolyPolyC=function wt(ve,fe){return st(ve,fe,W,W,U,U)};var qt=function ve(fe,Le){this.t1=fe,this.t2=Le};j.BiTangent=qt;var Jt=function ve(){};j.BiTangents=Jt;var yt=function(ve){function fe(){return null!==ve&&ve.apply(this,arguments)||this}return u(fe,ve),fe}(x);j.TVGPoint=yt;var At=function ve(fe,Le,Fe,Ge){this.id=fe,this.polyid=Le,this.polyvertid=Fe,this.p=Ge,Ge.vv=this};j.VisibilityVertex=At;var xt=function(){function ve(fe,Le){this.source=fe,this.target=Le}return ve.prototype.length=function(){var fe=this.source.p.x-this.target.p.x,Le=this.source.p.y-this.target.p.y;return Math.sqrt(fe*fe+Le*Le)},ve}();j.VisibilityEdge=xt;var pt=function(){function ve(fe,Le){if(this.P=fe,this.V=[],this.E=[],Le)this.V=Le.V.slice(0),this.E=Le.E.slice(0);else{for(var Fe=fe.length,Ge=0;Ge 0&&this.E.push(new xt(Gt[Te-1].vv,jt))}Gt.length>1&&this.E.push(new xt(Gt[0].vv,Gt[Gt.length-1].vv))}for(Ge=0;Ge 0)return!0;return!1},ve}();function Ot(ve,fe){for(var Le=[],Fe=1,Ge=fe.length;Fe =0&&_n>=0&&xe<0&&vn>=0&&ke>=0&&un<0?Ge.ll=new qt(Gt,Te):en<=0&&_n<=0&&xe>0&&vn<=0&&ke<=0&&un>0?Ge.rr=new qt(Gt,Te):en<=0&&_n>0&&xe<=0&&vn>=0&&ke<0&&un>=0?Ge.rl=new qt(Gt,Te):en>=0&&_n<0&&xe>=0&&vn<=0&&ke>0&&un<=0&&(Ge.lr=new qt(Gt,Te))}return Ge}function ce(ve,fe){return!ve.every(function(Le){return!function St(ve,fe){for(var Le=1,Fe=fe.length;Le 0)return!0}return!1}},76767:(X,j,h)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});var u=h(4068),p=h(98237),x=h(33858),v=function w(P,O,L){this.id=P,this.rect=O,this.children=L,this.leaf=typeof L>"u"||0===L.length};j.NodeWrapper=v;var t=function w(P,O,L,N,V){void 0===N&&(N=null),void 0===V&&(V=null),this.id=P,this.x=O,this.y=L,this.node=N,this.line=V};j.Vert=t;var T=function(){function w(P,O){this.s=P,this.t=O;var L=w.findMatch(P,O),N=O.slice(0).reverse(),V=w.findMatch(P,N);L.length>=V.length?(this.length=L.length,this.si=L.si,this.ti=L.ti,this.reversed=!1):(this.length=V.length,this.si=V.si,this.ti=O.length-V.ti-V.length,this.reversed=!0)}return w.findMatch=function(P,O){for(var L=P.length,N=O.length,V={length:0,si:-1,ti:-1},W=new Array(L),tt=0;tt V.length&&(V.length=ct,V.si=tt-ct+1,V.ti=st-ct+1)}else W[tt][st]=0}return V},w.prototype.getSequence=function(){return this.length>=0?this.s.slice(this.si,this.si+this.length):[]},w}();j.LongestCommonSubsequence=T;var U=function(){function w(P,O,L){var N=this;void 0===L&&(L=12),this.originalnodes=P,this.groupPadding=L,this.leaves=null,this.nodes=P.map(function(yt,At){return new v(At,O.getBounds(yt),O.getChildren(yt))}),this.leaves=this.nodes.filter(function(yt){return yt.leaf}),this.groups=this.nodes.filter(function(yt){return!yt.leaf}),this.cols=this.getGridLines("x"),this.rows=this.getGridLines("y"),this.groups.forEach(function(yt){return yt.children.forEach(function(At){return N.nodes[At].parent=yt})}),this.root={children:[]},this.nodes.forEach(function(yt){typeof yt.parent>"u"&&(yt.parent=N.root,N.root.children.push(yt.id)),yt.ports=[]}),this.backToFront=this.nodes.slice(0),this.backToFront.sort(function(yt,At){return N.getDepth(yt)-N.getDepth(At)}),this.backToFront.slice(0).reverse().filter(function(yt){return!yt.leaf}).forEach(function(yt){var At=u.Rectangle.empty();yt.children.forEach(function(xt){return At=At.union(N.nodes[xt].rect)}),yt.rect=At.inflate(N.groupPadding)});var W=this.midPoints(this.cols.map(function(yt){return yt.pos})),tt=this.midPoints(this.rows.map(function(yt){return yt.pos})),st=W[0],ct=W[W.length-1],bt=tt[0],Dt=tt[tt.length-1],wt=this.rows.map(function(yt){return{x1:st,x2:ct,y1:yt.pos,y2:yt.pos}}).concat(tt.map(function(yt){return{x1:st,x2:ct,y1:yt,y2:yt}})),qt=this.cols.map(function(yt){return{x1:yt.pos,x2:yt.pos,y1:bt,y2:Dt}}).concat(W.map(function(yt){return{x1:yt,x2:yt,y1:bt,y2:Dt}})),Jt=wt.concat(qt);Jt.forEach(function(yt){return yt.verts=[]}),this.verts=[],this.edges=[],wt.forEach(function(yt){return qt.forEach(function(At){var xt=new t(N.verts.length,At.x1,yt.y1);yt.verts.push(xt),At.verts.push(xt),N.verts.push(xt);for(var pt=N.backToFront.length;pt-- >0;){var Ot=N.backToFront[pt],Bt=Ot.rect,St=Math.abs(xt.x-Bt.cx()),ce=Math.abs(xt.y-Bt.cy());if(St 0;){var N=L.filter(function(W){return W.rect["overlap"+P.toUpperCase()](L[0].rect)}),V={nodes:N,pos:this.avg(N.map(function(W){return W.rect["c"+P]()}))};O.push(V),V.nodes.forEach(function(W){return L.splice(L.indexOf(W),1)})}return O.sort(function(W,tt){return W.pos-tt.pos}),O},w.prototype.getDepth=function(P){for(var O=0;P.parent!==this.root;)O++,P=P.parent;return O},w.prototype.midPoints=function(P){for(var O=P[1]-P[0],L=[P[0]-O/2],N=1;N .1)&&bt.push(Dt={pos:st[0][O],segments:[]}),Dt.segments.push(st)}return bt},w.nudgeSegs=function(P,O,L,N,V,W){var tt=N.length;if(!(tt<=1)){for(var st=N.map(function(Ot){return new p.Variable(Ot[0][P])}),ct=[],bt=0;bt=0&&ct.push(new p.Constraint(st[At],st[xt],W))}new p.Solver(st,ct).solve(),st.forEach(function(Ot,Bt){var St=N[Bt],ce=Ot.position();St[0][P]=St[1][P]=ce;var Vt=L[St.edgeid];St.i>0&&(Vt[St.i-1][1][P]=ce),St.i Math.PI||V<-Math.PI)&&(V=N-L),V},w.isLeft=function(P,O,L){return(O.x-P.x)*(L.y-P.y)-(O.y-P.y)*(L.x-P.x)<=0},w.getOrder=function(P){for(var O={},L=0;L "u"&&(O[N.l]={}),O[N.l][N.r]=!0}return function(V,W){return typeof O[V]<"u"&&O[V][W]}},w.orderEdges=function(P){for(var O=[],L=0;L =V.length||tt.ti+tt.length>=W.length)){O.push({l:L,r:N});continue}tt.si+tt.length>=V.length||tt.ti+tt.length>=W.length?(st=V[tt.si+1],bt=V[tt.si-1],ct=W[tt.ti-1]):(st=V[tt.si+tt.length-2],ct=V[tt.si+tt.length],bt=W[tt.ti+tt.length]),w.isLeft(st,ct,bt)?O.push({l:N,r:L}):O.push({l:L,r:N})}}return w.getOrder(O)},w.makeSegments=function(P){function O(ct){return{x:ct.x,y:ct.y}}for(var N=[],V=O(P[0]),W=1;W 1&&ve>1?1e3:0}).reverse().map(function(xt){return L.verts[xt]});return At.push(this.nodes[V.id].ports[0]),At.filter(function(xt,pt){return!(pt 0&&xt.node===V&&At[pt-1].node===V)})},w.getRoutePath=function(P,O,L,N){var tt,st,ct,Vt,ve,V={routepath:"M "+P[0][0].x+" "+P[0][0].y+" ",arrowpath:""};if(P.length>1)for(var W=0;W 0?st-=bt/Math.abs(bt)*O:ct-=Dt/Math.abs(Dt)*O,V.routepath+="L "+st+" "+ct+" ";var wt=P[W+1],qt=wt[0].x,Jt=wt[0].y;bt=wt[1].x-qt,Dt=wt[1].y-Jt;var pt,Ot,xt=w.angleBetween2Lines(tt,wt)<0?1:0;Math.abs(bt)>0?(pt=qt+bt/Math.abs(bt)*O,Ot=Jt):(pt=qt,Ot=Jt+Dt/Math.abs(Dt)*O);var Bt=Math.abs(pt-st),St=Math.abs(Ot-ct);V.routepath+="A "+Bt+" "+St+" 0 0 "+xt+" "+pt+" "+Ot+" "}else{var ce=[st,ct];Math.abs(bt)>0?(Vt=[st-=bt/Math.abs(bt)*N,ct+L],ve=[st,ct-L]):(Vt=[st+L,ct-=Dt/Math.abs(Dt)*N],ve=[st-L,ct]),V.routepath+="L "+st+" "+ct+" ",N>0&&(V.arrowpath="M "+ce[0]+" "+ce[1]+" L "+Vt[0]+" "+Vt[1]+" L "+ve[0]+" "+ve[1])}}else bt=(st=(tt=P[0])[1].x)-tt[0].x,Dt=(ct=tt[1].y)-tt[0].y,ce=[st,ct],Math.abs(bt)>0?(Vt=[st-=bt/Math.abs(bt)*N,ct+L],ve=[st,ct-L]):(Vt=[st+L,ct-=Dt/Math.abs(Dt)*N],ve=[st-L,ct]),V.routepath+="L "+st+" "+ct+" ",N>0&&(V.arrowpath="M "+ce[0]+" "+ce[1]+" L "+Vt[0]+" "+Vt[1]+" L "+ve[0]+" "+ve[1]);return V},w}();j.GridRouter=U},30345:(X,j)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});var h_GOLDEN_SECTION=(1+Math.sqrt(5))/2;j.applyPacking=function u(x,v,t,W,V,w){void 0===V&&(V=1),void 0===w&&(w=!0);var L=v,N=t,tt=(V=typeof V<"u"?V:1,W=typeof W<"u"?W:0,0),st=0,ct=0,bt=0,Dt=[];function yt(Ot,Bt){Dt=[],tt=0,st=0,bt=0;for(var St=0;St =Ot.height&&Dt[ce].x+Dt[ce].width+Ot.width+10-Bt<=1e-4){St=Dt[ce];break}Dt.push(Ot),void 0!==St?(Ot.x=St.x+St.width+10,Ot.y=St.bottom,Ot.space_left=Ot.height,Ot.bottom=Ot.y,St.space_left-=Ot.height+10,St.bottom+=Ot.height+10):(Ot.y=bt,bt+=Ot.height+10,Ot.x=0,Ot.bottom=Ot.y,Ot.space_left=Ot.height),Ot.y+Ot.height-st>-1e-4&&(st=Ot.y+Ot.height-0),Ot.x+Ot.width-tt>-1e-4&&(tt=Ot.x+Ot.width-0)}0!=x.length&&(function wt(Ot){Ot.forEach(function(St){!function Bt(St){var ce=Number.MAX_VALUE,Vt=Number.MAX_VALUE,ve=0,fe=0;St.array.forEach(function(Le){var Fe=typeof Le.width<"u"?Le.width:W,Ge=typeof Le.height<"u"?Le.height:W;Fe/=2,Ge/=2,ve=Math.max(Le.x+Fe,ve),ce=Math.min(Le.x-Fe,ce),fe=Math.max(Le.y+Ge,fe),Vt=Math.min(Le.y-Ge,Vt)}),St.width=ve-ce,St.height=fe-Vt}(St)})}(x),function Jt(Ot,Bt){var St=Number.POSITIVE_INFINITY,ce=0;Ot.sort(function(re,Xt){return Xt.height-re.height});for(var Vt=ne=ct=Ot.reduce(function(re,Xt){return re.width ct||Te>1e-4;){if(1!=Ge){var ne=ve-(ve-Vt)/h_GOLDEN_SECTION;Le=yt(Ot,ne)}if(0!=Ge){var jt=Vt+(ve-Vt)/h_GOLDEN_SECTION;Fe=yt(Ot,jt)}if(Gt=Math.abs(ne-jt),Te=Math.abs(Le-Fe),Le Fe?(Vt=ne,ne=jt,Le=Fe,Ge=1):(ve=jt,jt=ne,Fe=Le,Ge=0),fe++>100)break}yt(Ot,ce)}(x),w&&function qt(Ot){Ot.forEach(function(Bt){var St={x:0,y:0};Bt.array.forEach(function(ve){St.x+=ve.x,St.y+=ve.y}),St.x/=Bt.array.length,St.y/=Bt.array.length;var Vt_x=Bt.x-(St.x-Bt.width/2)+L/2-tt/2,Vt_y=Bt.y-(St.y-Bt.height/2)+N/2-st/2;Bt.array.forEach(function(ve){ve.x+=Vt_x,ve.y+=Vt_y})})}(x))},j.separateGraphs=function p(x,v){for(var t={},T={},U=[],w=0,P=0;P {"use strict";Object.defineProperty(j,"__esModule",{value:!0});var w,L,u=h(33900),p=h(58802),x=h(91786),v=h(4068),t=h(33858),T=h(30225),U=h(30345);function P(L){return typeof L.leaves<"u"||typeof L.groups<"u"}(L=w=j.EventType||(j.EventType={}))[L.start=0]="start",L[L.tick=1]="tick",L[L.end=2]="end";var O=function(){function L(){var N=this;this._canvasSize=[1,1],this._linkDistance=20,this._defaultNodeSize=10,this._linkLengthCalculator=null,this._linkType=null,this._avoidOverlaps=!1,this._handleDisconnected=!0,this._running=!1,this._nodes=[],this._groups=[],this._rootGroup=null,this._links=[],this._constraints=[],this._distanceMatrix=null,this._descent=null,this._directedLinkConstraints=null,this._threshold=.01,this._visibilityGraph=null,this._groupCompactness=1e-6,this.event=null,this.linkAccessor={getSourceIndex:L.getSourceIndex,getTargetIndex:L.getTargetIndex,setLength:L.setLinkLength,getType:function(V){return"function"==typeof N._linkType?N._linkType(V):0}}}return L.prototype.on=function(N,V){return this.event||(this.event={}),"string"==typeof N?this.event[w[N]]=V:this.event[N]=V,this},L.prototype.trigger=function(N){this.event&&typeof this.event[N.type]<"u"&&this.event[N.type](N)},L.prototype.kick=function(){for(;!this.tick(););},L.prototype.tick=function(){if(this._alpha "u"||typeof W.py>"u")&&(W.px=W.x,W.py=W.y),this._descent.locks.add(tt,[W.px,W.py]));var ct=this._descent.rungeKutta();return 0===ct?this._alpha=0:typeof this._lastStress<"u"&&(this._alpha=ct),this._lastStress=ct,this.updateNodePositions(),this.trigger({type:w.tick,alpha:this._alpha,stress:this._lastStress}),!1},L.prototype.updateNodePositions=function(){for(var W,N=this._descent.x[0],V=this._descent.x[1],tt=this._nodes.length;tt--;)(W=this._nodes[tt]).x=N[tt],W.y=V[tt]},L.prototype.nodes=function(N){if(!N){if(0===this._nodes.length&&this._links.length>0){var V=0;this._links.forEach(function(tt){V=Math.max(V,tt.source,tt.target)}),this._nodes=new Array(++V);for(var W=0;W "u"&&(W.padding=1),typeof W.leaves<"u"&&W.leaves.forEach(function(tt,st){"number"==typeof tt&&((W.leaves[st]=V._nodes[tt]).parent=W)}),typeof W.groups<"u"&&W.groups.forEach(function(tt,st){"number"==typeof tt&&((W.groups[st]=V._groups[tt]).parent=W)})}),this._rootGroup.leaves=this._nodes.filter(function(W){return typeof W.parent>"u"}),this._rootGroup.groups=this._groups.filter(function(W){return typeof W.parent>"u"}),this):this._groups},L.prototype.powerGraphGroups=function(N){var V=u.getGroups(this._nodes,this._links,this.linkAccessor,this._rootGroup);return this.groups(V.groups),N(V),this},L.prototype.avoidOverlaps=function(N){return arguments.length?(this._avoidOverlaps=N,this):this._avoidOverlaps},L.prototype.handleDisconnected=function(N){return arguments.length?(this._handleDisconnected=N,this):this._handleDisconnected},L.prototype.flowLayout=function(N,V){return arguments.length||(N="y"),this._directedLinkConstraints={axis:N,getMinSeparation:"number"==typeof V?function(){return V}:V},this},L.prototype.links=function(N){return arguments.length?(this._links=N,this):this._links},L.prototype.constraints=function(N){return arguments.length?(this._constraints=N,this):this._constraints},L.prototype.distanceMatrix=function(N){return arguments.length?(this._distanceMatrix=N,this):this._distanceMatrix},L.prototype.size=function(N){return N?(this._canvasSize=N,this):this._canvasSize},L.prototype.defaultNodeSize=function(N){return N?(this._defaultNodeSize=N,this):this._defaultNodeSize},L.prototype.groupCompactness=function(N){return N?(this._groupCompactness=N,this):this._groupCompactness},L.prototype.linkDistance=function(N){return N?(this._linkDistance="function"==typeof N?N:+N,this._linkLengthCalculator=null,this):this._linkDistance},L.prototype.linkType=function(N){return this._linkType=N,this},L.prototype.convergenceThreshold=function(N){return N?(this._threshold="function"==typeof N?N:+N,this):this._threshold},L.prototype.alpha=function(N){return arguments.length?(N=+N,this._alpha?this._alpha=N>0?N:0:N>0&&(this._running||(this._running=!0,this.trigger({type:w.start,alpha:this._alpha=N}),this.kick())),this):this._alpha},L.prototype.getLinkLength=function(N){return"function"==typeof this._linkDistance?+this._linkDistance(N):this._linkDistance},L.setLinkLength=function(N,V){N.length=V},L.prototype.getLinkType=function(N){return"function"==typeof this._linkType?this._linkType(N):0},L.prototype.symmetricDiffLinkLengths=function(N,V){var W=this;return void 0===V&&(V=1),this.linkDistance(function(tt){return N*tt.length}),this._linkLengthCalculator=function(){return p.symmetricDiffLinkLengths(W._links,W.linkAccessor,V)},this},L.prototype.jaccardLinkLengths=function(N,V){var W=this;return void 0===V&&(V=1),this.linkDistance(function(tt){return N*tt.length}),this._linkLengthCalculator=function(){return p.jaccardLinkLengths(W._links,W.linkAccessor,V)},this},L.prototype.start=function(N,V,W,tt,st,ct){var bt=this;void 0===N&&(N=0),void 0===V&&(V=0),void 0===W&&(W=0),void 0===tt&&(tt=0),void 0===st&&(st=!0),void 0===ct&&(ct=!0);var ce,qt=this.nodes().length,Jt=qt+2*this._groups.length,At=this._canvasSize[0],xt=this._canvasSize[1],pt=new Array(Jt),Ot=new Array(Jt),Bt=null,St=this._avoidOverlaps;this._nodes.forEach(function(Gt,Te){Gt.index=Te,typeof Gt.x>"u"&&(Gt.x=At/2,Gt.y=xt/2),pt[Te]=Gt.x,Ot[Te]=Gt.y}),this._linkLengthCalculator&&this._linkLengthCalculator(),this._distanceMatrix?ce=this._distanceMatrix:(ce=new t.Calculator(Jt,this._links,L.getSourceIndex,L.getTargetIndex,function(Gt){return bt.getLinkLength(Gt)}).DistanceMatrix(),Bt=x.Descent.createSquareMatrix(Jt,function(){return 2}),this._links.forEach(function(Gt){"number"==typeof Gt.source&&(Gt.source=bt._nodes[Gt.source]),"number"==typeof Gt.target&&(Gt.target=bt._nodes[Gt.target])}),this._links.forEach(function(Gt){var Te=L.getSourceIndex(Gt),ne=L.getTargetIndex(Gt);Bt[Te][ne]=Bt[ne][Te]=Gt.weight||1}));var Vt=x.Descent.createSquareMatrix(Jt,function(Gt,Te){return ce[Gt][Te]});if(this._rootGroup&&typeof this._rootGroup.groups<"u"){var Dt=qt;this._groups.forEach(function(Te){(function(Te,ne,jt,re){Bt[Te][ne]=Bt[ne][Te]=jt,Vt[Te][ne]=Vt[ne][Te]=.1})(Dt,Dt+1,bt._groupCompactness),pt[Dt]=0,Ot[Dt++]=0,pt[Dt]=0,Ot[Dt++]=0})}else this._rootGroup={leaves:this._nodes,groups:[]};var fe=this._constraints||[];for(this._directedLinkConstraints&&(this.linkAccessor.getMinSeparation=this._directedLinkConstraints.getMinSeparation,fe=fe.concat(p.generateDirectedEdgeConstraints(qt,this._links,this._directedLinkConstraints.axis,this.linkAccessor))),this.avoidOverlaps(!1),this._descent=new x.Descent([pt,Ot],Vt),this._descent.locks.clear(),Dt=0;Dt 0&&(this._descent.project=new v.Projection(this._nodes,this._groups,this._rootGroup,fe).projectFunctions()),this._descent.run(V),this.separateOverlappingComponents(At,xt,ct),this.avoidOverlaps(St),St&&(this._nodes.forEach(function(Gt,Te){Gt.x=pt[Te],Gt.y=Ot[Te]}),this._descent.project=new v.Projection(this._nodes,this._groups,this._rootGroup,fe,!0).projectFunctions(),this._nodes.forEach(function(Gt,Te){pt[Te]=Gt.x,Ot[Te]=Gt.y})),this._descent.G=Bt,this._descent.run(W),tt){this._descent.snapStrength=1e3,this._descent.snapGridSize=this._nodes[0].width,this._descent.numGridSnapNodes=qt,this._descent.scaleSnapByMaxH=qt!=Jt;var Ge=x.Descent.createSquareMatrix(Jt,function(Gt,Te){return Gt>=qt||Te>=qt?Bt[Gt][Te]:0});this._descent.G=Ge,this._descent.run(tt)}return this.updateNodePositions(),this.separateOverlappingComponents(At,xt,ct),st?this.resume():this},L.prototype.initialLayout=function(N,V,W){if(this._groups.length>0&&N>0){var tt=this._nodes.length,st=this._links.map(function(bt){return{source:bt.source.index,target:bt.target.index}}),ct=this._nodes.map(function(bt){return{index:bt.index}});this._groups.forEach(function(bt,Dt){ct.push({index:bt.index=tt+Dt})}),this._groups.forEach(function(bt,Dt){typeof bt.leaves<"u"&&bt.leaves.forEach(function(wt){return st.push({source:bt.index,target:wt.index})}),typeof bt.groups<"u"&&bt.groups.forEach(function(wt){return st.push({source:bt.index,target:wt.index})})}),(new L).size(this.size()).nodes(ct).links(st).avoidOverlaps(!1).linkDistance(this.linkDistance()).symmetricDiffLinkLengths(5).convergenceThreshold(1e-4).start(N,0,0,0,!1),this._nodes.forEach(function(bt){V[bt.index]=ct[bt.index].x,W[bt.index]=ct[bt.index].y})}else this._descent.run(N)},L.prototype.separateOverlappingComponents=function(N,V,W){var tt=this;if(void 0===W&&(W=!0),!this._distanceMatrix&&this._handleDisconnected){var st=this._descent.x[0],ct=this._descent.x[1];this._nodes.forEach(function(Dt,wt){Dt.x=st[wt],Dt.y=ct[wt]});var bt=U.separateGraphs(this._nodes,this._links);U.applyPacking(bt,N,V,this._defaultNodeSize,1,W),this._nodes.forEach(function(Dt,wt){tt._descent.x[0][wt]=Dt.x,tt._descent.x[1][wt]=Dt.y,Dt.bounds&&(Dt.bounds.setXCentre(Dt.x),Dt.bounds.setYCentre(Dt.y))})}},L.prototype.resume=function(){return this.alpha(.1)},L.prototype.stop=function(){return this.alpha(0)},L.prototype.prepareEdgeRouting=function(N){void 0===N&&(N=0),this._visibilityGraph=new T.TangentVisibilityGraph(this._nodes.map(function(V){return V.bounds.inflate(-N).vertices()}))},L.prototype.routeEdge=function(N,V,W){void 0===V&&(V=5);var tt=[],st=new T.TangentVisibilityGraph(this._visibilityGraph.P,{V:this._visibilityGraph.V,E:this._visibilityGraph.E}),ct={x:N.source.x,y:N.source.y},bt={x:N.target.x,y:N.target.y},Dt=st.addPoint(ct,N.source.index),wt=st.addPoint(bt,N.target.index);st.addEdgeIfVisible(ct,bt,N.source.index,N.target.index),typeof W<"u"&&W(st);var xt=new t.Calculator(st.V.length,st.E,function(Vt){return Vt.source.id},function(Vt){return Vt.target.id},function(Vt){return Vt.length()}).PathFromNodeToNode(Dt.id,wt.id);if(1===xt.length||xt.length===st.V.length){var pt=v.makeEdgeBetween(N.source.innerBounds,N.target.innerBounds,V);tt=[pt.sourceIntersection,pt.arrowStart]}else{for(var Ot=xt.length-2,Bt=st.V[xt[Ot]].p,St=st.V[xt[0]].p,ce=(tt=[N.source.innerBounds.rayIntersection(Bt.x,Bt.y)],Ot);ce>=0;--ce)tt.push(st.V[xt[ce]].p);tt.push(v.makeEdgeTo(St,N.target.innerBounds,V))}return tt},L.getSourceIndex=function(N){return"number"==typeof N.source?N.source:N.source.index},L.getTargetIndex=function(N){return"number"==typeof N.target?N.target:N.target.index},L.linkId=function(N){return L.getSourceIndex(N)+"-"+L.getTargetIndex(N)},L.dragStart=function(N){P(N)?L.storeOffset(N,L.dragOrigin(N)):(L.stopNode(N),N.fixed|=2)},L.stopNode=function(N){N.px=N.x,N.py=N.y},L.storeOffset=function(N,V){typeof N.leaves<"u"&&N.leaves.forEach(function(W){W.fixed|=2,L.stopNode(W),W._dragGroupOffsetX=W.x-V.x,W._dragGroupOffsetY=W.y-V.y}),typeof N.groups<"u"&&N.groups.forEach(function(W){return L.storeOffset(W,V)})},L.dragOrigin=function(N){return P(N)?{x:N.bounds.cx(),y:N.bounds.cy()}:N},L.drag=function(N,V){P(N)?(typeof N.leaves<"u"&&N.leaves.forEach(function(W){N.bounds.setXCentre(V.x),N.bounds.setYCentre(V.y),W.px=W._dragGroupOffsetX+V.x,W.py=W._dragGroupOffsetY+V.y}),typeof N.groups<"u"&&N.groups.forEach(function(W){return L.drag(W,V)})):(N.px=V.x,N.py=V.y)},L.dragEnd=function(N){P(N)?(typeof N.leaves<"u"&&N.leaves.forEach(function(V){L.dragEnd(V),delete V._dragGroupOffsetX,delete V._dragGroupOffsetY}),typeof N.groups<"u"&&N.groups.forEach(L.dragEnd)):N.fixed&=-7},L.mouseOver=function(N){N.fixed|=4,N.px=N.x,N.py=N.y},L.mouseOut=function(N){N.fixed&=-5},L}();j.Layout=O},86461:(X,j,h)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});var u=h(33858),p=h(91786),x=h(4068),v=h(58802),t=function(){function P(O,L){this.source=O,this.target=L}return P.prototype.actualLength=function(O){var L=this;return Math.sqrt(O.reduce(function(N,V){var W=V[L.target]-V[L.source];return N+W*W},0))},P}();j.Link3D=t,j.Node3D=function P(O,L,N){void 0===O&&(O=0),void 0===L&&(L=0),void 0===N&&(N=0),this.x=O,this.y=L,this.z=N};var U=function(){function P(O,L,N){var V=this;void 0===N&&(N=1),this.nodes=O,this.links=L,this.idealLinkLength=N,this.constraints=null,this.useJaccardLinkLengths=!0,this.result=new Array(P.k);for(var W=0;W "u"&&(tt[Dt]=Math.random())}V.result[0][st]=tt.x,V.result[1][st]=tt.y,V.result[2][st]=tt.z})}return P.prototype.linkLength=function(O){return O.actualLength(this.result)},P.prototype.start=function(O){var L=this;void 0===O&&(O=100);var N=this.nodes.length,V=new w;this.useJaccardLinkLengths&&v.jaccardLinkLengths(this.links,V,1.5),this.links.forEach(function(Dt){return Dt.length*=L.idealLinkLength});var W=new u.Calculator(N,this.links,function(Dt){return Dt.source},function(Dt){return Dt.target},function(Dt){return Dt.length}).DistanceMatrix(),tt=p.Descent.createSquareMatrix(N,function(Dt,wt){return W[Dt][wt]}),st=p.Descent.createSquareMatrix(N,function(){return 2});this.links.forEach(function(Dt){var wt=Dt.source,qt=Dt.target;return st[wt][qt]=st[qt][wt]=1}),this.descent=new p.Descent(this.result,tt),this.descent.threshold=.001,this.descent.G=st,this.constraints&&(this.descent.project=new x.Projection(this.nodes,null,null,this.constraints).projectFunctions());for(var ct=0;ct {"use strict";function h(w,P){var O={};for(var L in w)O[L]={};for(var L in P)O[L]={};return Object.keys(O).length}function u(w,P){var O=0;for(var L in w)typeof P[L]<"u"&&++O;return O}function x(w,P,O,L){var N=function p(w,P){var O={},L=function(N,V){typeof O[N]>"u"&&(O[N]={}),O[N][V]={}};return w.forEach(function(N){var V=P.getSourceIndex(N),W=P.getTargetIndex(N);L(V,W),L(W,V)}),O}(w,L);w.forEach(function(V){var W=N[L.getSourceIndex(V)],tt=N[L.getTargetIndex(V)];L.setLength(V,1+P*O(W,tt))})}function U(w,P,O){var L=[],N=0,V=[],W=[];function tt(xt){xt.index=xt.lowlink=N++,V.push(xt),xt.onStack=!0;for(var pt=0,Ot=xt.out;pt "u"?(tt(Bt),xt.lowlink=Math.min(xt.lowlink,Bt.lowlink)):Bt.onStack&&(xt.lowlink=Math.min(xt.lowlink,Bt.index))}if(xt.lowlink===xt.index){for(var St=[];V.length&&((Bt=V.pop()).onStack=!1,St.push(Bt),Bt!==xt););W.push(St.map(function(ce){return ce.id}))}}for(var st=0;st "u"&&tt(At)}return W}Object.defineProperty(j,"__esModule",{value:!0}),j.symmetricDiffLinkLengths=function v(w,P,O){void 0===O&&(O=1),x(w,O,function(L,N){return Math.sqrt(h(L,N)-u(L,N))},P)},j.jaccardLinkLengths=function t(w,P,O){void 0===O&&(O=1),x(w,O,function(L,N){return Math.min(Object.keys(L).length,Object.keys(N).length)<1.1?0:u(L,N)/h(L,N)},P)},j.generateDirectedEdgeConstraints=function T(w,P,O,L){var N=U(w,P,L),V={};N.forEach(function(tt,st){return tt.forEach(function(ct){return V[ct]=st})});var W=[];return P.forEach(function(tt){var st=L.getSourceIndex(tt),ct=L.getTargetIndex(tt);V[st]!==V[ct]&&W.push({axis:O,left:st,right:ct,gap:L.getMinSeparation(tt)})}),W},j.stronglyConnectedComponents=U},33900:(X,j)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});var h=function P(O,L,N){this.source=O,this.target=L,this.type=N};j.PowerEdge=h;var u=function(){function P(O,L,N,V){var W=this;if(this.linkAccessor=N,this.modules=new Array(O),this.roots=[],V)this.initModulesFromGroup(V);else{this.roots.push(new t);for(var tt=0;tt =this.R))return this.merge(N.a,N.b,O),!0}},P.prototype.nEdges=function(O,L){var N=O.incoming.intersection(L.incoming),V=O.outgoing.intersection(L.outgoing);return this.R-N.count()-V.count()},P.prototype.getGroupHierarchy=function(O){var L=this,N=[];return p(this.roots[0],{},N),this.allEdges().forEach(function(tt){var st=L.modules[tt.source],ct=L.modules[tt.target];O.push(new h(typeof st.gid>"u"?tt.source:N[st.gid],typeof ct.gid>"u"?tt.target:N[ct.gid],tt.type))}),N},P.prototype.allEdges=function(){var O=[];return P.getEdges(this.roots[0],O),O},P.getEdges=function(O,L){O.forAll(function(N){N.getEdges(L),P.getEdges(N.children,L)})},P}();function p(P,O,L){P.forAll(function(N){if(N.isLeaf())O.leaves||(O.leaves=[]),O.leaves.push(N.id);else{var V=O;if(N.gid=L.length,!N.isIsland()||N.isPredefined()){if(V={id:N.gid},N.isPredefined())for(var W in N.definition)V[W]=N.definition[W];O.groups||(O.groups=[]),O.groups.push(N.gid),L.push(V)}p(N.children,V,L)}})}j.Configuration=u;var x=function(){function P(O,L,N,V,W){void 0===L&&(L=new T),void 0===N&&(N=new T),void 0===V&&(V=new t),this.id=O,this.outgoing=L,this.incoming=N,this.children=V,this.definition=W}return P.prototype.getEdges=function(O){var L=this;this.outgoing.forAll(function(N,V){N.forAll(function(W){O.push(new h(L.id,W.id,V))})})},P.prototype.isLeaf=function(){return 0===this.children.count()},P.prototype.isIsland=function(){return 0===this.outgoing.count()&&0===this.incoming.count()},P.prototype.isPredefined=function(){return typeof this.definition<"u"},P}();j.Module=x;var t=function(){function P(){this.table={}}return P.prototype.count=function(){return Object.keys(this.table).length},P.prototype.intersection=function(O){var L=new P;return L.table=function v(P,O){var L={};for(var N in P)N in O&&(L[N]=P[N]);return L}(this.table,O.table),L},P.prototype.intersectionCount=function(O){return this.intersection(O).count()},P.prototype.contains=function(O){return O in this.table},P.prototype.add=function(O){this.table[O.id]=O},P.prototype.remove=function(O){delete this.table[O.id]},P.prototype.forAll=function(O){for(var L in this.table)O(this.table[L])},P.prototype.modules=function(){var O=[];return this.forAll(function(L){L.isPredefined()||O.push(L)}),O},P}();j.ModuleSet=t;var T=function(){function P(){this.sets={},this.n=0}return P.prototype.count=function(){return this.n},P.prototype.contains=function(O){var L=!1;return this.forAllModules(function(N){!L&&N.id==O&&(L=!0)}),L},P.prototype.add=function(O,L){(O in this.sets?this.sets[O]:this.sets[O]=new t).add(L),++this.n},P.prototype.remove=function(O,L){var N=this.sets[O];N.remove(L),0===N.count()&&delete this.sets[O],--this.n},P.prototype.forAll=function(O){for(var L in this.sets)O(this.sets[L],Number(L))},P.prototype.forAllModules=function(O){this.forAll(function(L,N){return L.forAll(O)})},P.prototype.intersection=function(O){var L=new P;return this.forAll(function(N,V){if(V in O.sets){var W=N.intersection(O.sets[V]),tt=W.count();tt>0&&(L.sets[V]=W,L.n+=tt)}}),L},P}();j.LinkSets=T,j.getGroups=function w(P,O,L,N){for(var W=new u(P.length,O,L,N);W.greedyMerge(););var tt=[],st=W.getGroupHierarchy(tt);return tt.forEach(function(ct){var bt=function(Dt){var wt=ct[Dt];"number"==typeof wt&&(ct[Dt]=P[wt])};bt("source"),bt("target")}),{groups:st,powerEdges:tt}}},88866:(X,j)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});var h=function(){function p(x){this.elem=x,this.subheaps=[]}return p.prototype.toString=function(x){for(var v="",t=!1,T=0;T 0)}return null}}return t.prototype.clear=function(){this._root=null,this.size=0},t.prototype.find=function(T){for(var U=this._root;null!==U;){var w=this._comparator(T,U.data);if(0===w)return U.data;U=U.get_child(w>0)}return null},t.prototype.lowerBound=function(T){return this._bound(T,this._comparator)},t.prototype.upperBound=function(T){var U=this._comparator;return this._bound(T,function w(P,O){return U(O,P)})},t.prototype.min=function(){var T=this._root;if(null===T)return null;for(;null!==T.left;)T=T.left;return T.data},t.prototype.max=function(){var T=this._root;if(null===T)return null;for(;null!==T.right;)T=T.right;return T.data},t.prototype.iterator=function(){return new p(this)},t.prototype.each=function(T){for(var w,U=this.iterator();null!==(w=U.next());)T(w)},t.prototype.reach=function(T){for(var w,U=this.iterator();null!==(w=U.prev());)T(w)},t.prototype._bound=function(T,U){for(var w=this._root,P=this.iterator();null!==w;){var O=this._comparator(T,w.data);if(0===O)return P._cursor=w,P;P._ancestors.push(w),w=w.get_child(O>0)}for(var L=P._ancestors.length-1;L>=0;--L)if(U(T,(w=P._ancestors[L]).data)>0)return P._cursor=w,P._ancestors.length=L,P;return P._ancestors.length=0,P},t}();j.TreeBase=u;var p=function(){function t(T){this._tree=T,this._ancestors=[],this._cursor=null}return t.prototype.data=function(){return null!==this._cursor?this._cursor.data:null},t.prototype.next=function(){if(null===this._cursor){var T=this._tree._root;null!==T&&this._minNode(T)}else if(null===this._cursor.right){var U;do{if(U=this._cursor,!this._ancestors.length){this._cursor=null;break}this._cursor=this._ancestors.pop()}while(this._cursor.right===U)}else this._ancestors.push(this._cursor),this._minNode(this._cursor.right);return null!==this._cursor?this._cursor.data:null},t.prototype.prev=function(){if(null===this._cursor){var T=this._tree._root;null!==T&&this._maxNode(T)}else if(null===this._cursor.left){var U;do{if(U=this._cursor,!this._ancestors.length){this._cursor=null;break}this._cursor=this._ancestors.pop()}while(this._cursor.left===U)}else this._ancestors.push(this._cursor),this._maxNode(this._cursor.left);return null!==this._cursor?this._cursor.data:null},t.prototype._minNode=function(T){for(;null!==T.left;)this._ancestors.push(T),T=T.left;this._cursor=T},t.prototype._maxNode=function(T){for(;null!==T.right;)this._ancestors.push(T),T=T.right;this._cursor=T},t}();j.Iterator=p;var x=function(){function t(T){this.data=T,this.left=null,this.right=null,this.red=!0}return t.prototype.get_child=function(T){return T?this.right:this.left},t.prototype.set_child=function(T,U){T?this.right=U:this.left=U},t}(),v=function(t){function T(U){var w=t.call(this)||this;return w._root=null,w._comparator=U,w.size=0,w}return h(T,t),T.prototype.insert=function(U){var w=!1;if(null===this._root)this._root=new x(U),w=!0,this.size++;else{var P=new x(void 0),O=!1,L=!1,N=null,V=P,W=null,tt=this._root;for(V.right=this._root;;){if(null===tt?(tt=new x(U),W.set_child(O,tt),w=!0,this.size++):T.is_red(tt.left)&&T.is_red(tt.right)&&(tt.red=!0,tt.left.red=!1,tt.right.red=!1),T.is_red(tt)&&T.is_red(W)){var st=V.right===N;tt===W.get_child(L)?V.set_child(st,T.single_rotate(N,!L)):V.set_child(st,T.double_rotate(N,!L))}var ct=this._comparator(tt.data,U);if(0===ct)break;L=O,null!==N&&(V=N),N=W,W=tt,tt=tt.get_child(O=ct<0)}this._root=P.right}return this._root.red=!1,w},T.prototype.remove=function(U){if(null===this._root)return!1;var w=new x(void 0),P=w;P.right=this._root;for(var O=null,L=null,N=null,V=!0;null!==P.get_child(V);){var W=V;L=O,O=P,P=P.get_child(V);var tt=this._comparator(U,P.data);if(V=tt>0,0===tt&&(N=P),!T.is_red(P)&&!T.is_red(P.get_child(V)))if(T.is_red(P.get_child(!V))){var st=T.single_rotate(P,V);O.set_child(W,st),O=st}else if(!T.is_red(P.get_child(!V))){var ct=O.get_child(!W);if(null!==ct)if(T.is_red(ct.get_child(!W))||T.is_red(ct.get_child(W))){var bt=L.right===O;T.is_red(ct.get_child(W))?L.set_child(bt,T.double_rotate(O,W)):T.is_red(ct.get_child(!W))&&L.set_child(bt,T.single_rotate(O,W));var Dt=L.get_child(bt);Dt.red=!0,P.red=!0,Dt.left.red=!1,Dt.right.red=!1}else O.red=!1,ct.red=!0,P.red=!0}}return null!==N&&(N.data=P.data,O.set_child(O.right===P,P.get_child(null===P.left)),this.size--),this._root=w.right,null!==this._root&&(this._root.red=!1),null!==N},T.is_red=function(U){return null!==U&&U.red},T.single_rotate=function(U,w){var P=U.get_child(!w);return U.set_child(!w,P.get_child(w)),P.set_child(w,U),U.red=!0,P.red=!1,P},T.double_rotate=function(U,w){return U.set_child(!w,T.single_rotate(U.get_child(!w),!w)),T.single_rotate(U,w)},T}(u);j.RBTree=v},4068:function(X,j,h){"use strict";var xt,u=this&&this.__extends||(xt=function(pt,Ot){return(xt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Bt,St){Bt.__proto__=St}||function(Bt,St){for(var ce in St)St.hasOwnProperty(ce)&&(Bt[ce]=St[ce])})(pt,Ot)},function(pt,Ot){function Bt(){this.constructor=pt}xt(pt,Ot),pt.prototype=null===Ot?Object.create(Ot):(Bt.prototype=Ot.prototype,new Bt)});Object.defineProperty(j,"__esModule",{value:!0});var p=h(98237),x=h(94655);function v(xt){return xt.bounds=typeof xt.leaves<"u"?xt.leaves.reduce(function(pt,Ot){return Ot.bounds.union(pt)},t.empty()):t.empty(),typeof xt.groups<"u"&&(xt.bounds=xt.groups.reduce(function(pt,Ot){return v(Ot).union(pt)},xt.bounds)),xt.bounds=xt.bounds.inflate(xt.padding),xt.bounds}j.computeGroupBounds=v;var t=function(){function xt(pt,Ot,Bt,St){this.x=pt,this.X=Ot,this.y=Bt,this.Y=St}return xt.empty=function(){return new xt(Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY)},xt.prototype.cx=function(){return(this.x+this.X)/2},xt.prototype.cy=function(){return(this.y+this.Y)/2},xt.prototype.overlapX=function(pt){var Ot=this.cx(),Bt=pt.cx();return Ot<=Bt&&pt.x 0?Bt[0]:null},xt.prototype.vertices=function(){return[{x:this.x,y:this.y},{x:this.X,y:this.y},{x:this.X,y:this.Y},{x:this.x,y:this.Y}]},xt.lineIntersection=function(pt,Ot,Bt,St,ce,Vt,ve,fe){var Le=Bt-pt,Fe=ve-ce,Ge=St-Ot,Gt=fe-Vt,Te=Gt*Le-Fe*Ge;if(0==Te)return null;var ne=pt-ce,jt=Ot-Vt,Xt=(Fe*jt-Gt*ne)/Te,Me=(Le*jt-Ge*ne)/Te;return Xt>=0&&Xt<=1&&Me>=0&&Me<=1?{x:pt+Xt*Le,y:Ot+Xt*Ge}:null},xt.prototype.inflate=function(pt){return new xt(this.x-pt,this.X+pt,this.y-pt,this.Y+pt)},xt}();j.Rectangle=t,j.makeEdgeBetween=function T(xt,pt,Ot){var Bt=xt.rayIntersection(pt.cx(),pt.cy())||{x:xt.cx(),y:xt.cy()},St=pt.rayIntersection(xt.cx(),xt.cy())||{x:pt.cx(),y:pt.cy()},ce=St.x-Bt.x,Vt=St.y-Bt.y,ve=Math.sqrt(ce*ce+Vt*Vt),fe=ve-Ot;return{sourceIntersection:Bt,targetIntersection:St,arrowStart:{x:Bt.x+fe*ce/ve,y:Bt.y+fe*Vt/ve}}},j.makeEdgeTo=function U(xt,pt,Ot){var Bt=pt.rayIntersection(xt.x,xt.y);Bt||(Bt={x:pt.cx(),y:pt.cy()});var St=Bt.x-xt.x,ce=Bt.y-xt.y,Vt=Math.sqrt(St*St+ce*ce);return{x:Bt.x-Ot*St/Vt,y:Bt.y-Ot*ce/Vt}};var w=function xt(pt,Ot,Bt){this.v=pt,this.r=Ot,this.pos=Bt,this.prev=L(),this.next=L()},P=function xt(pt,Ot,Bt){this.isOpen=pt,this.v=Ot,this.pos=Bt};function O(xt,pt){return xt.pos>pt.pos?1:xt.pos 0&&(xt[Bt].insert(ce),ce[St].insert(xt))};Ot("next","prev"),Ot("prev","next")}};function W(xt,pt,Ot,Bt){void 0===Bt&&(Bt=!1);var St=xt.padding,ce=typeof xt.groups<"u"?xt.groups.length:0,Vt=typeof xt.leaves<"u"?xt.leaves.length:0,ve=ce?xt.groups.reduce(function(_n,xe){return _n.concat(W(xe,pt,Ot,!0))},[]):[],fe=(Bt?2:0)+Vt+ce,Le=new Array(fe),Fe=new Array(fe),Ge=0,Gt=function(_n,xe){Fe[Ge]=_n,Le[Ge++]=xe};if(Bt){var Te=xt.bounds,ne=pt.getCentre(Te),jt=pt.getSize(Te)/2,re=pt.getOpen(Te),Xt=pt.getClose(Te),oe=ne-jt+St/2,Me=ne+jt-St/2;xt.minVar.desiredPosition=oe,Gt(pt.makeRect(re,Xt,oe,St),xt.minVar),xt.maxVar.desiredPosition=Me,Gt(pt.makeRect(re,Xt,Me,St),xt.maxVar)}Vt&&xt.leaves.forEach(function(_n){return Gt(_n.bounds,_n.variable)}),ce&&xt.groups.forEach(function(_n){var xe=_n.bounds;Gt(pt.makeRect(pt.getOpen(xe),pt.getClose(xe),pt.getCentre(xe),pt.getSize(xe)),_n.minVar)});var en=tt(Fe,Le,pt,Ot);return ce&&(Le.forEach(function(_n){_n.cOut=[],_n.cIn=[]}),en.forEach(function(_n){_n.left.cOut.push(_n),_n.right.cIn.push(_n)}),xt.groups.forEach(function(_n){var xe=(_n.padding-pt.getSize(_n.bounds))/2;_n.minVar.cIn.forEach(function(vn){return vn.gap+=xe}),_n.minVar.cOut.forEach(function(vn){vn.left=_n.maxVar,vn.gap+=xe})})),ve.concat(en)}function tt(xt,pt,Ot,Bt){var St,ce=xt.length,Vt=2*ce;console.assert(pt.length>=ce);var ve=new Array(Vt);for(St=0;St ve[Bt]&&(ve[Bt]=fe)}Vt=ve})}},xt.prototype.createAlignment=function(pt){var Ot=this,Bt=this.nodes[pt.offsets[0].node].variable;this.makeFeasible(pt);var St="x"===pt.axis?this.xConstraints:this.yConstraints;pt.offsets.slice(1).forEach(function(ce){St.push(new p.Constraint(Bt,Ot.nodes[ce.node].variable,ce.offset,!0))})},xt.prototype.createConstraints=function(pt){var Ot=this,Bt=function(St){return typeof St.type>"u"||"separation"===St.type};this.xConstraints=pt.filter(function(St){return"x"===St.axis&&Bt(St)}).map(function(St){return Ot.createSeparation(St)}),this.yConstraints=pt.filter(function(St){return"y"===St.axis&&Bt(St)}).map(function(St){return Ot.createSeparation(St)}),pt.filter(function(St){return"alignment"===St.type}).forEach(function(St){return Ot.createAlignment(St)})},xt.prototype.setupVariablesAndBounds=function(pt,Ot,Bt,St){this.nodes.forEach(function(ce,Vt){ce.fixed?(ce.variable.weight=ce.fixedWeight?ce.fixedWeight:1e3,Bt[Vt]=St(ce)):ce.variable.weight=1;var ve=(ce.width||0)/2,fe=(ce.height||0)/2,Le=pt[Vt],Fe=Ot[Vt];ce.bounds=new t(Le-ve,Le+ve,Fe-fe,Fe+fe)})},xt.prototype.xProject=function(pt,Ot,Bt){!this.rootGroup&&!this.avoidOverlaps&&!this.xConstraints||this.project(pt,Ot,pt,Bt,function(St){return St.px},this.xConstraints,wt,function(St){return St.bounds.setXCentre(Bt[St.variable.index]=St.variable.position())},function(St){var ce=Bt[St.minVar.index]=St.minVar.position(),Vt=Bt[St.maxVar.index]=St.maxVar.position(),ve=St.padding/2;St.bounds.x=ce-ve,St.bounds.X=Vt+ve})},xt.prototype.yProject=function(pt,Ot,Bt){!this.rootGroup&&!this.yConstraints||this.project(pt,Ot,Ot,Bt,function(St){return St.py},this.yConstraints,qt,function(St){return St.bounds.setYCentre(Bt[St.variable.index]=St.variable.position())},function(St){var ce=Bt[St.minVar.index]=St.minVar.position(),Vt=Bt[St.maxVar.index]=St.maxVar.position(),ve=St.padding/2;St.bounds.y=ce-ve,St.bounds.Y=Vt+ve})},xt.prototype.projectFunctions=function(){var pt=this;return[function(Ot,Bt,St){return pt.xProject(Ot,Bt,St)},function(Ot,Bt,St){return pt.yProject(Ot,Bt,St)}]},xt.prototype.project=function(pt,Ot,Bt,St,ce,Vt,ve,fe,Le){this.setupVariablesAndBounds(pt,Ot,St,ce),this.rootGroup&&this.avoidOverlaps&&(v(this.rootGroup),Vt=Vt.concat(ve(this.rootGroup))),this.solve(this.variables,Vt,Bt,St),this.nodes.forEach(fe),this.rootGroup&&this.avoidOverlaps&&(this.groups.forEach(Le),v(this.rootGroup))},xt.prototype.solve=function(pt,Ot,Bt,St){var ce=new p.Solver(pt,Ot);ce.setStartingPositions(Bt),ce.setDesiredPositions(St),ce.solve()},xt}();j.Projection=At},33858:(X,j,h)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});var u=h(88866),p=function T(U,w){this.id=U,this.distance=w},x=function T(U){this.id=U,this.neighbours=[]},v=function T(U,w,P){this.node=U,this.prev=w,this.d=P},t=function(){function T(U,w,P,O,L){this.n=U,this.es=w,this.neighbours=new Array(this.n);for(var N=this.n;N--;)this.neighbours[N]=new x(N);for(N=this.es.length;N--;){var V=this.es[N],W=P(V),tt=O(V),st=L(V);this.neighbours[W].neighbours.push(new p(tt,st)),this.neighbours[tt].neighbours.push(new p(W,st))}}return T.prototype.DistanceMatrix=function(){for(var U=new Array(this.n),w=0;w ct&&(tt.d=ct,tt.prev=V,P.reduceKey(tt.q,tt,function(Dt,wt){return Dt.q=wt}))}}return L},T}();j.Calculator=t},98237:(X,j)=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});var h=function(){function U(w){this.scale=w,this.AB=0,this.AD=0,this.A2=0}return U.prototype.addVariable=function(w){var P=this.scale/w.scale,L=w.weight;this.AB+=L*P*(w.offset/w.scale),this.AD+=L*P*w.desiredPosition,this.A2+=L*P*P},U.prototype.getPosn=function(){return(this.AD-this.AB)/this.A2},U}();j.PositionStats=h;var u=function(){function U(w,P,O,L){void 0===L&&(L=!1),this.left=w,this.right=P,this.gap=O,this.equality=L,this.active=!1,this.unsatisfiable=!1,this.left=w,this.right=P,this.gap=O,this.equality=L}return U.prototype.slack=function(){return this.unsatisfiable?Number.MAX_VALUE:this.right.scale*this.right.position()-this.gap-this.left.scale*this.left.position()},U}();j.Constraint=u;var p=function(){function U(w,P,O){void 0===P&&(P=1),void 0===O&&(O=1),this.desiredPosition=w,this.weight=P,this.scale=O,this.offset=0}return U.prototype.dfdv=function(){return 2*this.weight*(this.position()-this.desiredPosition)},U.prototype.position=function(){return(this.block.ps.scale*this.block.posn+this.offset)/this.scale},U.prototype.visitNeighbours=function(w,P){var O=function(L,N){return L.active&&w!==N&&P(L,N)};this.cOut.forEach(function(L){return O(L,L.right)}),this.cIn.forEach(function(L){return O(L,L.left)})},U}();j.Variable=p;var x=function(){function U(w){this.vars=[],w.offset=0,this.ps=new h(w.scale),this.addVariable(w)}return U.prototype.addVariable=function(w){w.block=this,this.vars.push(w),this.ps.addVariable(w),this.posn=this.ps.getPosn()},U.prototype.updateWeightedPosition=function(){this.ps.AB=this.ps.AD=this.ps.A2=0;for(var w=0,P=this.vars.length;w =0?this.inactive.push(w):this.bs.merge(w)}}},U.prototype.solve=function(){this.satisfy();for(var w=Number.MAX_VALUE,P=this.bs.cost();Math.abs(w-P)>1e-4;)this.satisfy(),w=P,P=this.bs.cost();return P},U.LAGRANGIAN_TOLERANCE=-1e-4,U.ZERO_UPPERBOUND=-1e-10,U}();j.Solver=t,j.removeOverlapInOneDimension=function T(U,w,P){for(var O=U.map(function(yt){return new p(yt.desiredCenter)}),L=[],N=U.length,V=0;V
{var u={"./af":27088,"./af.js":27088,"./ar":17038,"./ar-dz":52502,"./ar-dz.js":52502,"./ar-kw":30128,"./ar-kw.js":30128,"./ar-ly":84519,"./ar-ly.js":84519,"./ar-ma":65443,"./ar-ma.js":65443,"./ar-sa":17642,"./ar-sa.js":17642,"./ar-tn":68592,"./ar-tn.js":68592,"./ar.js":17038,"./az":51213,"./az.js":51213,"./be":69191,"./be.js":69191,"./bg":90322,"./bg.js":90322,"./bm":28042,"./bm.js":28042,"./bn":59620,"./bn-bd":65903,"./bn-bd.js":65903,"./bn.js":59620,"./bo":69645,"./bo.js":69645,"./br":45020,"./br.js":45020,"./bs":64792,"./bs.js":64792,"./ca":47980,"./ca.js":47980,"./cs":47322,"./cs.js":47322,"./cv":90365,"./cv.js":90365,"./cy":32092,"./cy.js":32092,"./da":77387,"./da.js":77387,"./de":54307,"./de-at":29459,"./de-at.js":29459,"./de-ch":73694,"./de-ch.js":73694,"./de.js":54307,"./dv":39659,"./dv.js":39659,"./el":3460,"./el.js":3460,"./en-au":94369,"./en-au.js":94369,"./en-ca":60530,"./en-ca.js":60530,"./en-gb":9998,"./en-gb.js":9998,"./en-ie":13391,"./en-ie.js":13391,"./en-il":75414,"./en-il.js":75414,"./en-in":19615,"./en-in.js":19615,"./en-nz":21248,"./en-nz.js":21248,"./en-sg":13767,"./en-sg.js":13767,"./eo":84530,"./eo.js":84530,"./es":86866,"./es-do":18944,"./es-do.js":18944,"./es-mx":29116,"./es-mx.js":29116,"./es-us":83609,"./es-us.js":83609,"./es.js":86866,"./et":96725,"./et.js":96725,"./eu":67931,"./eu.js":67931,"./fa":56417,"./fa.js":56417,"./fi":20944,"./fi.js":20944,"./fil":61766,"./fil.js":61766,"./fo":95867,"./fo.js":95867,"./fr":1636,"./fr-ca":16848,"./fr-ca.js":16848,"./fr-ch":77773,"./fr-ch.js":77773,"./fr.js":1636,"./fy":14940,"./fy.js":14940,"./ga":91402,"./ga.js":91402,"./gd":46924,"./gd.js":46924,"./gl":16398,"./gl.js":16398,"./gom-deva":72457,"./gom-deva.js":72457,"./gom-latn":52545,"./gom-latn.js":52545,"./gu":42641,"./gu.js":42641,"./he":7536,"./he.js":7536,"./hi":96335,"./hi.js":96335,"./hr":7458,"./hr.js":7458,"./hu":56540,"./hu.js":56540,"./hy-am":65283,"./hy-am.js":65283,"./id":98780,"./id.js":98780,"./is":14205,"./is.js":14205,"./it":34211,"./it-ch":29985,"./it-ch.js":29985,"./it.js":34211,"./ja":31003,"./ja.js":31003,"./jv":60420,"./jv.js":60420,"./ka":40851,"./ka.js":40851,"./kk":16074,"./kk.js":16074,"./km":53343,"./km.js":53343,"./kn":44799,"./kn.js":44799,"./ko":13549,"./ko.js":13549,"./ku":91037,"./ku.js":91037,"./ky":93125,"./ky.js":93125,"./lb":69586,"./lb.js":69586,"./lo":32349,"./lo.js":32349,"./lt":92400,"./lt.js":92400,"./lv":39991,"./lv.js":39991,"./me":28477,"./me.js":28477,"./mi":55118,"./mi.js":55118,"./mk":15943,"./mk.js":15943,"./ml":13849,"./ml.js":13849,"./mn":31977,"./mn.js":31977,"./mr":66184,"./mr.js":66184,"./ms":70485,"./ms-my":64524,"./ms-my.js":64524,"./ms.js":70485,"./mt":36681,"./mt.js":36681,"./my":52024,"./my.js":52024,"./nb":42688,"./nb.js":42688,"./ne":68914,"./ne.js":68914,"./nl":11758,"./nl-be":52272,"./nl-be.js":52272,"./nl.js":11758,"./nn":41510,"./nn.js":41510,"./oc-lnc":52797,"./oc-lnc.js":52797,"./pa-in":37944,"./pa-in.js":37944,"./pl":1605,"./pl.js":1605,"./pt":54225,"./pt-br":73840,"./pt-br.js":73840,"./pt.js":54225,"./ro":45128,"./ro.js":45128,"./ru":35127,"./ru.js":35127,"./sd":32525,"./sd.js":32525,"./se":59893,"./se.js":59893,"./si":33123,"./si.js":33123,"./sk":59635,"./sk.js":59635,"./sl":78106,"./sl.js":78106,"./sq":88799,"./sq.js":88799,"./sr":97949,"./sr-cyrl":52872,"./sr-cyrl.js":52872,"./sr.js":97949,"./ss":86167,"./ss.js":86167,"./sv":39713,"./sv.js":39713,"./sw":41982,"./sw.js":41982,"./ta":22732,"./ta.js":22732,"./te":43636,"./te.js":43636,"./tet":2115,"./tet.js":2115,"./tg":69801,"./tg.js":69801,"./th":2868,"./th.js":2868,"./tk":31310,"./tk.js":31310,"./tl-ph":22360,"./tl-ph.js":22360,"./tlh":66645,"./tlh.js":66645,"./tr":98374,"./tr.js":98374,"./tzl":256,"./tzl.js":256,"./tzm":61595,"./tzm-latn":61631,"./tzm-latn.js":61631,"./tzm.js":61595,"./ug-cn":6050,"./ug-cn.js":6050,"./uk":65610,"./uk.js":65610,"./ur":86077,"./ur.js":86077,"./uz":22862,"./uz-latn":12207,"./uz-latn.js":12207,"./uz.js":22862,"./vi":48093,"./vi.js":48093,"./x-pseudo":25590,"./x-pseudo.js":25590,"./yo":9058,"./yo.js":9058,"./zh-cn":77908,"./zh-cn.js":77908,"./zh-hk":8867,"./zh-hk.js":8867,"./zh-mo":31133,"./zh-mo.js":31133,"./zh-tw":83291,"./zh-tw.js":83291};function p(v){var t=x(v);return h(t)}function x(v){if(!h.o(u,v)){var t=new Error("Cannot find module '"+v+"'");throw t.code="MODULE_NOT_FOUND",t}return u[v]}p.keys=function(){return Object.keys(u)},p.resolve=x,X.exports=p,p.id=46700},7100:(X,j,h)=>{"use strict";h.d(j,{AB:()=>Sn,EC:()=>ai,K:()=>on,g2:()=>pn});var u=h(84080),p=h(94650),x=h(42654),v=h(8929),t=h(36787),T=h(29521),U=h(72986),w=h(1059),P=h(7625),O=h(80013),L=h(92198),N=h(99602),V=h(36895),W=h(3238),tt=h(40445),st=h(4859),ct=h(21281),bt=h(98184),Dt=h(24006),wt=h(59549),qt=h(284),Jt=h(97392),yt=h(65412),At=h(83353);const xt=["ngx-mat-calendar-body",""];function pt(Q,Et){if(1&Q&&(p.TgZ(0,"tr",2)(1,"td",3),p._uU(2),p.qZA()()),2&Q){const J=p.oxw();p.xp6(1),p.Udp("padding-top",J._cellPadding)("padding-bottom",J._cellPadding),p.uIk("colspan",J.numCols),p.xp6(1),p.hij(" ",J.label," ")}}function Ot(Q,Et){if(1&Q&&(p.TgZ(0,"td",7),p._uU(1),p.qZA()),2&Q){const J=p.oxw(2);p.Udp("padding-top",J._cellPadding)("padding-bottom",J._cellPadding),p.uIk("colspan",J._firstRowOffset),p.xp6(1),p.hij(" ",J._firstRowOffset>=J.labelMinRequiredCells?J.label:""," ")}}function Bt(Q,Et){if(1&Q){const J=p.EpF();p.TgZ(0,"td",8),p.NdJ("click",function(He){const Ki=p.CHM(J).$implicit,wo=p.oxw(2);return p.KtG(wo._cellClicked(Ki,He))}),p.TgZ(1,"div",9),p._uU(2),p.qZA(),p._UZ(3,"div",10),p.qZA()}if(2&Q){const J=Et.$implicit,Lt=Et.index,He=p.oxw().index,zn=p.oxw();p.Udp("width",zn._cellWidth)("padding-top",zn._cellPadding)("padding-bottom",zn._cellPadding),p.ekj("mat-calendar-body-disabled",!J.enabled)("mat-calendar-body-active",zn._isActiveCell(He,Lt))("mat-calendar-body-range-start",zn._isRangeStart(J.compareValue))("mat-calendar-body-range-end",zn._isRangeEnd(J.compareValue))("mat-calendar-body-in-range",zn._isInRange(J.compareValue))("mat-calendar-body-comparison-bridge-start",zn._isComparisonBridgeStart(J.compareValue,He,Lt))("mat-calendar-body-comparison-bridge-end",zn._isComparisonBridgeEnd(J.compareValue,He,Lt))("mat-calendar-body-comparison-start",zn._isComparisonStart(J.compareValue))("mat-calendar-body-comparison-end",zn._isComparisonEnd(J.compareValue))("mat-calendar-body-in-comparison-range",zn._isInComparisonRange(J.compareValue))("mat-calendar-body-preview-start",zn._isPreviewStart(J.compareValue))("mat-calendar-body-preview-end",zn._isPreviewEnd(J.compareValue))("mat-calendar-body-in-preview",zn._isInPreview(J.compareValue)),p.Q6J("ngClass",J.cssClasses)("tabindex",zn._isActiveCell(He,Lt)?0:-1),p.uIk("data-mat-row",He)("data-mat-col",Lt)("aria-label",J.ariaLabel)("aria-disabled",!J.enabled||null)("aria-selected",zn._isSelected(J)),p.xp6(1),p.ekj("mat-calendar-body-selected",zn._isSelected(J))("mat-calendar-body-today",zn.todayValue===J.compareValue),p.xp6(1),p.hij(" ",J.displayValue," ")}}function St(Q,Et){if(1&Q&&(p.TgZ(0,"tr",4),p.YNc(1,Ot,2,6,"td",5),p.YNc(2,Bt,4,44,"td",6),p.qZA()),2&Q){const J=Et.$implicit,Lt=Et.index,He=p.oxw();p.xp6(1),p.Q6J("ngIf",0===Lt&&He._firstRowOffset),p.xp6(1),p.Q6J("ngForOf",J)}}function ce(Q,Et){if(1&Q&&(p.TgZ(0,"th",5),p._uU(1),p.qZA()),2&Q){const J=Et.$implicit;p.uIk("aria-label",J.long),p.xp6(1),p.Oqu(J.narrow)}}const Vt=["*"];function ve(Q,Et){}function fe(Q,Et){if(1&Q){const J=p.EpF();p.TgZ(0,"ngx-mat-month-view",5),p.NdJ("activeDateChange",function(He){p.CHM(J);const zn=p.oxw();return p.KtG(zn.activeDate=He)})("selectedChange",function(He){p.CHM(J);const zn=p.oxw();return p.KtG(zn._dateSelected(He))})("_userSelection",function(){p.CHM(J);const He=p.oxw();return p.KtG(He._userSelected())}),p.qZA()}if(2&Q){const J=p.oxw();p.Q6J("activeDate",J.activeDate)("selected",J.selected)("dateFilter",J.dateFilter)("maxDate",J.maxDate)("minDate",J.minDate)("dateClass",J.dateClass)}}function Le(Q,Et){if(1&Q){const J=p.EpF();p.TgZ(0,"ngx-mat-year-view",6),p.NdJ("activeDateChange",function(He){p.CHM(J);const zn=p.oxw();return p.KtG(zn.activeDate=He)})("monthSelected",function(He){p.CHM(J);const zn=p.oxw();return p.KtG(zn._monthSelectedInYearView(He))})("selectedChange",function(He){p.CHM(J);const zn=p.oxw();return p.KtG(zn._goToDateInView(He,"month"))}),p.qZA()}if(2&Q){const J=p.oxw();p.Q6J("activeDate",J.activeDate)("selected",J.selected)("dateFilter",J.dateFilter)("maxDate",J.maxDate)("minDate",J.minDate)}}function Fe(Q,Et){if(1&Q){const J=p.EpF();p.TgZ(0,"ngx-mat-multi-year-view",7),p.NdJ("activeDateChange",function(He){p.CHM(J);const zn=p.oxw();return p.KtG(zn.activeDate=He)})("yearSelected",function(He){p.CHM(J);const zn=p.oxw();return p.KtG(zn._yearSelectedInMultiYearView(He))})("selectedChange",function(He){p.CHM(J);const zn=p.oxw();return p.KtG(zn._goToDateInView(He,"year"))}),p.qZA()}if(2&Q){const J=p.oxw();p.Q6J("activeDate",J.activeDate)("selected",J.selected)("dateFilter",J.dateFilter)("maxDate",J.maxDate)("minDate",J.minDate)}}function Ge(Q,Et){if(1&Q){const J=p.EpF();p.TgZ(0,"td")(1,"button",10),p.NdJ("click",function(){p.CHM(J);const He=p.oxw(2);return p.KtG(He.change("second",!0))}),p.TgZ(2,"mat-icon"),p._uU(3,"expand_less"),p.qZA()()()}if(2&Q){const J=p.oxw(2);p.xp6(1),p.Q6J("disabled",J.disabled||J.disableMinute)}}function Gt(Q,Et){1&Q&&p._UZ(0,"td",6)}function Te(Q,Et){1&Q&&p._UZ(0,"td")}function ne(Q,Et){if(1&Q){const J=p.EpF();p.TgZ(0,"tr")(1,"td")(2,"button",10),p.NdJ("click",function(){p.CHM(J);const He=p.oxw();return p.KtG(He.change("hour",!0))}),p.TgZ(3,"mat-icon"),p._uU(4,"expand_less"),p.qZA()()(),p._UZ(5,"td"),p.TgZ(6,"td")(7,"button",10),p.NdJ("click",function(){p.CHM(J);const He=p.oxw();return p.KtG(He.change("minute",!0))}),p.TgZ(8,"mat-icon"),p._uU(9,"expand_less"),p.qZA()()(),p._UZ(10,"td"),p.YNc(11,Ge,4,1,"td",3),p.YNc(12,Gt,1,0,"td",8),p.YNc(13,Te,1,0,"td",3),p.qZA()}if(2&Q){const J=p.oxw();p.xp6(2),p.Q6J("disabled",J.disabled),p.xp6(5),p.Q6J("disabled",J.disabled||J.disableMinute),p.xp6(4),p.Q6J("ngIf",J.showSeconds),p.xp6(1),p.Q6J("ngIf",J.enableMeridian),p.xp6(1),p.Q6J("ngIf",J.enableMeridian)}}function jt(Q,Et){1&Q&&(p.TgZ(0,"td",6),p._uU(1,":"),p.qZA())}function re(Q,Et){if(1&Q){const J=p.EpF();p.TgZ(0,"td")(1,"mat-form-field",4)(2,"input",11),p.NdJ("input",function(He){p.CHM(J);const zn=p.oxw();return p.KtG(zn.formatInput(He.target))})("keydown.ArrowUp",function(He){return p.CHM(J),p.oxw().change("second",!0),p.KtG(He.preventDefault())})("keydown.ArrowDown",function(He){return p.CHM(J),p.oxw().change("second",!1),p.KtG(He.preventDefault())})("blur",function(){p.CHM(J);const He=p.oxw();return p.KtG(He.change("second"))}),p.qZA()()()}}function Xt(Q,Et){1&Q&&p._UZ(0,"td",6)}function oe(Q,Et){if(1&Q){const J=p.EpF();p.TgZ(0,"td",12)(1,"button",13),p.NdJ("click",function(){p.CHM(J);const He=p.oxw();return p.KtG(He.toggleMeridian())}),p._uU(2),p.qZA()()}if(2&Q){const J=p.oxw();p.xp6(1),p.Q6J("color",J.color)("disabled",J.disabled),p.xp6(1),p.hij(" ",J.meridian," ")}}function Me(Q,Et){1&Q&&p._UZ(0,"td")}function en(Q,Et){if(1&Q){const J=p.EpF();p.TgZ(0,"td")(1,"button",14),p.NdJ("click",function(){p.CHM(J);const He=p.oxw(2);return p.KtG(He.change("second",!1))}),p.TgZ(2,"mat-icon"),p._uU(3,"expand_more"),p.qZA()()()}if(2&Q){const J=p.oxw(2);p.xp6(1),p.Q6J("disabled",J.disabled||J.disableMinute)}}function _n(Q,Et){1&Q&&p._UZ(0,"td",6)}function xe(Q,Et){1&Q&&p._UZ(0,"td")}function vn(Q,Et){if(1&Q){const J=p.EpF();p.TgZ(0,"tr")(1,"td")(2,"button",14),p.NdJ("click",function(){p.CHM(J);const He=p.oxw();return p.KtG(He.change("hour",!1))}),p.TgZ(3,"mat-icon"),p._uU(4,"expand_more"),p.qZA()()(),p._UZ(5,"td"),p.TgZ(6,"td")(7,"button",14),p.NdJ("click",function(){p.CHM(J);const He=p.oxw();return p.KtG(He.change("minute",!1))}),p.TgZ(8,"mat-icon"),p._uU(9,"expand_more"),p.qZA()()(),p.YNc(10,Me,1,0,"td",3),p.YNc(11,en,4,1,"td",3),p.YNc(12,_n,1,0,"td",8),p.YNc(13,xe,1,0,"td",3),p.qZA()}if(2&Q){const J=p.oxw();p.xp6(2),p.Q6J("disabled",J.disabled),p.xp6(5),p.Q6J("disabled",J.disabled||J.disableMinute),p.xp6(3),p.Q6J("ngIf",J.showSeconds),p.xp6(1),p.Q6J("ngIf",J.showSeconds),p.xp6(1),p.Q6J("ngIf",J.enableMeridian),p.xp6(1),p.Q6J("ngIf",J.enableMeridian)}}function ke(Q,Et){if(1&Q){const J=p.EpF();p.TgZ(0,"div",6)(1,"ngx-mat-timepicker",7),p.NdJ("ngModelChange",function(He){p.CHM(J);const zn=p.oxw(2);return p.KtG(zn.datepicker._selected=He)}),p.qZA()()}if(2&Q){const J=p.oxw(2);p.ekj("disable-seconds",!J.datepicker._showSeconds),p.xp6(1),p.Q6J("showSpinners",J.datepicker._showSpinners)("showSeconds",J.datepicker._showSeconds)("disabled",J.datepicker._disabled)("stepHour",J.datepicker._stepHour)("stepMinute",J.datepicker._stepMinute)("stepSecond",J.datepicker._stepSecond)("ngModel",J.datepicker._selected)("color",J.datepicker._color)("enableMeridian",J.datepicker._enableMeridian)("disableMinute",J.datepicker._disableMinute)}}function un(Q,Et){1&Q&&(p.TgZ(0,"mat-icon"),p._uU(1,"done"),p.qZA())}function Dn(Q,Et){}function ii(Q,Et){if(1&Q){const J=p.EpF();p.ynx(0),p.YNc(1,ke,2,12,"div",2),p.TgZ(2,"div",3)(3,"button",4),p.NdJ("click",function(){p.CHM(J);const He=p.oxw();return p.KtG(He.datepicker.ok())}),p.YNc(4,un,2,0,"mat-icon",1),p.YNc(5,Dn,0,0,"ng-template",5),p.qZA()(),p.BQk()}if(2&Q){const J=p.oxw();p.xp6(1),p.Q6J("ngIf",!J.datepicker._hideTime),p.xp6(2),p.Q6J("color",J.datepicker._color)("disabled",!J.valid),p.xp6(1),p.Q6J("ngIf",!J.datepicker._customIcon),p.xp6(1),p.Q6J("cdkPortalOutlet",J._templateCustomIconPortal)}}const _i=new p.OlP("ngx-mat-date-formats");class oi{constructor(Et,J,Lt,He,zn={},Ki=Et,wo){this.value=Et,this.displayValue=J,this.ariaLabel=Lt,this.enabled=He,this.cssClasses=zn,this.compareValue=Ki,this.rawValue=wo}}let Qe=(()=>{class Q{constructor(J,Lt){this._elementRef=J,this._ngZone=Lt,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new p.vpe,this.previewChange=new p.vpe,this._enterHandler=He=>{if(this._skipNextFocus&&"focus"===He.type)this._skipNextFocus=!1;else if(He.target&&this.isRange){const zn=this._getCellFromElement(He.target);zn&&this._ngZone.run(()=>this.previewChange.emit({value:zn.enabled?zn:null,event:He}))}},this._leaveHandler=He=>{null!==this.previewEnd&&this.isRange&&He.target&&te(He.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:He}))},Lt.runOutsideAngular(()=>{const He=J.nativeElement;He.addEventListener("mouseenter",this._enterHandler,!0),He.addEventListener("focus",this._enterHandler,!0),He.addEventListener("mouseleave",this._leaveHandler,!0),He.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(J,Lt){J.enabled&&this.selectedValueChange.emit({value:J.value,event:Lt})}_isSelected(J){return this.startValue===J.compareValue||this.endValue===J.compareValue}ngOnChanges(J){const Lt=J.numCols,{rows:He,numCols:zn}=this;(J.rows||Lt)&&(this._firstRowOffset=He&&He.length&&He[0].length?zn-He[0].length:0),(J.cellAspectRatio||Lt||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/zn+"%"),(Lt||!this._cellWidth)&&(this._cellWidth=100/zn+"%")}ngOnDestroy(){const J=this._elementRef.nativeElement;J.removeEventListener("mouseenter",this._enterHandler,!0),J.removeEventListener("focus",this._enterHandler,!0),J.removeEventListener("mouseleave",this._leaveHandler,!0),J.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(J,Lt){let He=J*this.numCols+Lt;return J&&(He-=this._firstRowOffset),He==this.activeCell}_focusActiveCell(J=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.asObservable().pipe((0,U.q)(1)).subscribe(()=>{const Lt=this._elementRef.nativeElement.querySelector(".ngx-mat-calendar-body-active");Lt&&(J||(this._skipNextFocus=!0),Lt.focus())})})}_isRangeStart(J){return it(J,this.startValue,this.endValue)}_isRangeEnd(J){return K(J,this.startValue,this.endValue)}_isInRange(J){return Tt(J,this.startValue,this.endValue,this.isRange)}_isComparisonStart(J){return it(J,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(J,Lt,He){if(!this._isComparisonStart(J)||this._isRangeStart(J)||!this._isInRange(J))return!1;let zn=this.rows[Lt][He-1];if(!zn){const Ki=this.rows[Lt-1];zn=Ki&&Ki[Ki.length-1]}return zn&&!this._isRangeEnd(zn.compareValue)}_isComparisonBridgeEnd(J,Lt,He){if(!this._isComparisonEnd(J)||this._isRangeEnd(J)||!this._isInRange(J))return!1;let zn=this.rows[Lt][He+1];if(!zn){const Ki=this.rows[Lt+1];zn=Ki&&Ki[0]}return zn&&!this._isRangeStart(zn.compareValue)}_isComparisonEnd(J){return K(J,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(J){return Tt(J,this.comparisonStart,this.comparisonEnd,this.isRange)}_isPreviewStart(J){return it(J,this.previewStart,this.previewEnd)}_isPreviewEnd(J){return K(J,this.previewStart,this.previewEnd)}_isInPreview(J){return Tt(J,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(J){let Lt;if(te(J)?Lt=J:te(J.parentNode)&&(Lt=J.parentNode),Lt){const He=Lt.getAttribute("data-ngx-mat-row"),zn=Lt.getAttribute("data-ngx-mat-col");if(He&&zn)return this.rows[parseInt(He)][parseInt(zn)]}return null}}return Q.\u0275fac=function(J){return new(J||Q)(p.Y36(p.SBq),p.Y36(p.R0b))},Q.\u0275cmp=p.Xpm({type:Q,selectors:[["","ngx-mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"ngx-mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["NgxMatCalendarBody"],features:[p.TTD],attrs:xt,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","mat-calendar-body-range-start","mat-calendar-body-range-end","mat-calendar-body-in-range","mat-calendar-body-comparison-bridge-start","mat-calendar-body-comparison-bridge-end","mat-calendar-body-comparison-start","mat-calendar-body-comparison-end","mat-calendar-body-in-comparison-range","mat-calendar-body-preview-start","mat-calendar-body-preview-end","mat-calendar-body-in-preview","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],[1,"mat-calendar-body-cell-preview"]],template:function(J,Lt){1&J&&(p.YNc(0,pt,3,6,"tr",0),p.YNc(1,St,3,2,"tr",1)),2&J&&(p.Q6J("ngIf",Lt._firstRowOffset .mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}@media (hover: none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}\n'],encapsulation:2,changeDetection:0}),Q})();function te(Q){return"TD"===Q.nodeName}function it(Q,Et,J){return null!==J&&Et!==J&&Q =Et&&Q===J}function Tt(Q,Et,J,Lt){return Lt&&null!==Et&&null!==J&&Et!==J&&Q>=Et&&Q<=J}class Rt extends W._A{isSameTime(Et,J){return null==Et||null==J||this.getHour(Et)===this.getHour(J)&&this.getMinute(Et)===this.getMinute(J)&&this.getSecond(Et)===this.getSecond(J)}copyTime(Et,J){this.setHour(Et,this.getHour(J)),this.setMinute(Et,this.getMinute(J)),this.setSecond(Et,this.getSecond(J))}compareDateWithTime(Et,J,Lt){let He=super.compareDate(Et,J)||this.getHour(Et)-this.getHour(J)||this.getMinute(Et)-this.getMinute(J);return Lt&&(He=He||this.getSecond(Et)-this.getSecond(J)),He}setTimeByDefaultValues(Et,J){if(!Array.isArray(J))throw Error("@Input DefaultTime should be an array");this.setHour(Et,J[0]||0),this.setMinute(Et,J[1]||0),this.setSecond(Et,J[2]||0)}}const le=new p.OlP("NGX_MAT_DATE_RANGE_SELECTION_STRATEGY");let be=(()=>{class Q{constructor(J){this._dateAdapter=J}selectionFinished(J,Lt){let{start:He,end:zn}=Lt;return null==He?He=J:null==zn&&J&&this._dateAdapter.compareDate(J,He)>=0?zn=J:(He=J,zn=null),new N.C0(He,zn)}createPreview(J,Lt){let He=null,zn=null;return Lt.start&&!Lt.end&&J&&(He=Lt.start,zn=J),new N.C0(He,zn)}}return Q.\u0275fac=function(J){return new(J||Q)(p.LFG(Rt))},Q.\u0275prov=p.Yz7({token:Q,factory:Q.\u0275fac}),Q})();const De={minHour:0,maxHour:24,minMinute:0,maxMinute:60,minSecond:0,maxSecond:60,meridian:12},mi=/[^0-9]/g,Di=/^(2[0-3]|[0-1][0-9]|[0-9])$/,bo=/^([0-5][0-9]|[0-9])$/,hi=/^([0-5][0-9]|[0-9])$/;function Yn(Q){const Et=Q.toString();return Et.length>1?Et:`0${Et}`}function Vn(Q){return Error(`NgxMatDatepicker: No provider found for ${Q}. You must import one of the following modules at your application root: NgxMatNativeDateModule, NgxMatMomentModule, or provide a custom implementation.`)}let Ye=(()=>{class Q{constructor(J,Lt,He,zn,Ki){if(this._changeDetectorRef=J,this._dateFormats=Lt,this._dateAdapter=He,this._dir=zn,this._rangeStrategy=Ki,this._rerenderSubscription=x.w.EMPTY,this.selectedChange=new p.vpe,this._userSelection=new p.vpe,this.activeDateChange=new p.vpe,!this._dateAdapter)throw Vn("NgxMatDateAdapter");if(!this._dateFormats)throw Vn("NGX_MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(J){const Lt=this._activeDate,He=this._getValidDateOrNull(this._dateAdapter.deserialize(J))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(He,this.minDate,this.maxDate),this._hasSameMonthAndYear(Lt,this._activeDate)||this._init()}get selected(){return this._selected}set selected(J){this._selected=J instanceof N.C0?J:this._getValidDateOrNull(this._dateAdapter.deserialize(J)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(J){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(J))}get maxDate(){return this._maxDate}set maxDate(J){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(J))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,w.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(J){const Lt=J.value,He=this._dateAdapter.getYear(this.activeDate),zn=this._dateAdapter.getMonth(this.activeDate),Ki=this._dateAdapter.createDate(He,zn,Lt);let wo,dr;this._selected instanceof N.C0?(wo=this._getDateInCurrentMonth(this._selected.start),dr=this._getDateInCurrentMonth(this._selected.end)):wo=dr=this._getDateInCurrentMonth(this._selected),(wo!==Lt||dr!==Lt)&&this.selectedChange.emit(Ki),this._userSelection.emit({value:Ki,event:J.event})}_handleCalendarBodyKeydown(J){const Lt=this._activeDate,He=this._isRtl();switch(J.keyCode){case T.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,He?1:-1);break;case T.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,He?-1:1);break;case T.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case T.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case T.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case T.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case T.Ku:this.activeDate=J.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case T.VM:this.activeDate=J.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case T.K5:case T.L_:return void((!this.dateFilter||this.dateFilter(this._activeDate))&&(this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:J}),J.preventDefault()));case T.hY:return void(null!=this._previewEnd&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:J}),J.preventDefault(),J.stopPropagation()));default:return}this._dateAdapter.compareDate(Lt,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),J.preventDefault()}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let J=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(J)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(J){this._matCalendarBody._focusActiveCell(J)}_previewChanged({event:J,value:Lt}){if(this._rangeStrategy){const zn=this._rangeStrategy.createPreview(Lt?Lt.rawValue:null,this.selected,J);this._previewStart=this._getCellCompareValue(zn.start),this._previewEnd=this._getCellCompareValue(zn.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const J=this._dateAdapter.getFirstDayOfWeek(),Lt=this._dateAdapter.getDayOfWeekNames("narrow");let zn=this._dateAdapter.getDayOfWeekNames("long").map((Ki,wo)=>({long:Ki,narrow:Lt[wo]}));this._weekdays=zn.slice(J).concat(zn.slice(0,J))}_createWeekCells(){const J=this._dateAdapter.getNumDaysInMonth(this.activeDate),Lt=this._dateAdapter.getDateNames();this._weeks=[[]];for(let He=0,zn=this._firstWeekOffset;He =0)&&(!this.maxDate||this._dateAdapter.compareDate(J,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(J))}_getDateInCurrentMonth(J){return J&&this._hasSameMonthAndYear(J,this.activeDate)?this._dateAdapter.getDate(J):null}_hasSameMonthAndYear(J,Lt){return!(!J||!Lt||this._dateAdapter.getMonth(J)!=this._dateAdapter.getMonth(Lt)||this._dateAdapter.getYear(J)!=this._dateAdapter.getYear(Lt))}_getCellCompareValue(J){if(J){const Lt=this._dateAdapter.getYear(J),He=this._dateAdapter.getMonth(J),zn=this._dateAdapter.getDate(J);return new Date(Lt,He,zn).getTime()}return null}_getValidDateOrNull(J){return this._dateAdapter.isDateInstance(J)&&this._dateAdapter.isValid(J)?J:null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(J){J instanceof N.C0?(this._rangeStart=this._getCellCompareValue(J.start),this._rangeEnd=this._getCellCompareValue(J.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(J),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}}return Q.\u0275fac=function(J){return new(J||Q)(p.Y36(p.sBO),p.Y36(_i,8),p.Y36(Rt,8),p.Y36(tt.Is,8),p.Y36(le,8))},Q.\u0275cmp=p.Xpm({type:Q,selectors:[["ngx-mat-month-view"]],viewQuery:function(J,Lt){if(1&J&&p.Gf(Qe,5),2&J){let He;p.iGM(He=p.CRH())&&(Lt._matCalendarBody=He.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["ngxMatMonthView"],decls:7,vars:13,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["ngx-mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keydown"],["scope","col"]],template:function(J,Lt){1&J&&(p.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),p.YNc(3,ce,2,2,"th",2),p.qZA(),p.TgZ(4,"tr"),p._UZ(5,"th",3),p.qZA()(),p.TgZ(6,"tbody",4),p.NdJ("selectedValueChange",function(zn){return Lt._dateSelected(zn)})("previewChange",function(zn){return Lt._previewChanged(zn)})("keydown",function(zn){return Lt._handleCalendarBodyKeydown(zn)}),p.qZA()()),2&J&&(p.xp6(3),p.Q6J("ngForOf",Lt._weekdays),p.xp6(3),p.Q6J("label",Lt._monthLabel)("rows",Lt._weeks)("todayValue",Lt._todayDate)("startValue",Lt._rangeStart)("endValue",Lt._rangeEnd)("comparisonStart",Lt._comparisonRangeStart)("comparisonEnd",Lt._comparisonRangeEnd)("previewStart",Lt._previewStart)("previewEnd",Lt._previewEnd)("isRange",Lt._isRange)("labelMinRequiredCells",3)("activeCell",Lt._dateAdapter.getDate(Lt.activeDate)-1))},dependencies:[V.sg,Qe],encapsulation:2,changeDetection:0}),Q})(),se=(()=>{class Q{constructor(J,Lt,He){if(this._changeDetectorRef=J,this._dateAdapter=Lt,this._dir=He,this._rerenderSubscription=x.w.EMPTY,this.selectedChange=new p.vpe,this.yearSelected=new p.vpe,this.activeDateChange=new p.vpe,!this._dateAdapter)throw Vn("NgxMatDateAdapter");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(J){let Lt=this._activeDate;const He=this._getValidDateOrNull(this._dateAdapter.deserialize(J))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(He,this.minDate,this.maxDate),ze(this._dateAdapter,Lt,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(J){this._selected=J instanceof N.C0?J:this._getValidDateOrNull(this._dateAdapter.deserialize(J)),this._setSelectedYear(J)}get minDate(){return this._minDate}set minDate(J){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(J))}get maxDate(){return this._maxDate}set maxDate(J){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(J))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,w.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const Lt=this._dateAdapter.getYear(this._activeDate)-ie(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let He=0,zn=[];He<24;He++)zn.push(Lt+He),4==zn.length&&(this._years.push(zn.map(Ki=>this._createCellForYear(Ki))),zn=[]);this._changeDetectorRef.markForCheck()}_yearSelected(J){const Lt=J.value;this.yearSelected.emit(this._dateAdapter.createDate(Lt,0,1));let He=this._dateAdapter.getMonth(this.activeDate),zn=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(Lt,He,1));this.selectedChange.emit(this._dateAdapter.createDate(Lt,He,Math.min(this._dateAdapter.getDate(this.activeDate),zn)))}_handleCalendarBodyKeydown(J){const Lt=this._activeDate,He=this._isRtl();switch(J.keyCode){case T.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,He?1:-1);break;case T.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,He?-1:1);break;case T.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case T.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case T.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-ie(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case T.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-ie(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case T.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,J.altKey?-240:-24);break;case T.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,J.altKey?240:24);break;case T.K5:case T.L_:this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:J});break;default:return}this._dateAdapter.compareDate(Lt,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),J.preventDefault()}_getActiveCell(){return ie(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(J){let Lt=this._dateAdapter.getYearName(this._dateAdapter.createDate(J,0,1));return new oi(J,Lt,Lt,this._shouldEnableYear(J))}_shouldEnableYear(J){if(null==J||this.maxDate&&J>this._dateAdapter.getYear(this.maxDate)||this.minDate&&J {class Q{constructor(J,Lt,He,zn){if(this._changeDetectorRef=J,this._dateFormats=Lt,this._dateAdapter=He,this._dir=zn,this._rerenderSubscription=x.w.EMPTY,this.selectedChange=new p.vpe,this.monthSelected=new p.vpe,this.activeDateChange=new p.vpe,!this._dateAdapter)throw Vn("NgxMatDateAdapter");if(!this._dateFormats)throw Vn("NGX_MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(J){let Lt=this._activeDate;const He=this._getValidDateOrNull(this._dateAdapter.deserialize(J))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(He,this.minDate,this.maxDate),this._dateAdapter.getYear(Lt)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(J){this._selected=J instanceof N.C0?J:this._getValidDateOrNull(this._dateAdapter.deserialize(J)),this._setSelectedMonth(J)}get minDate(){return this._minDate}set minDate(J){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(J))}get maxDate(){return this._maxDate}set maxDate(J){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(J))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,w.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(J){const Lt=J.value,He=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Lt,1);this.monthSelected.emit(He);const zn=this._dateAdapter.getNumDaysInMonth(He);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Lt,Math.min(this._dateAdapter.getDate(this.activeDate),zn)))}_handleCalendarBodyKeydown(J){const Lt=this._activeDate,He=this._isRtl();switch(J.keyCode){case T.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,He?1:-1);break;case T.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,He?-1:1);break;case T.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case T.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case T.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case T.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case T.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,J.altKey?-10:-1);break;case T.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,J.altKey?10:1);break;case T.K5:case T.L_:this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:J});break;default:return}this._dateAdapter.compareDate(Lt,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),J.preventDefault()}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let J=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(Lt=>Lt.map(He=>this._createCellForMonth(He,J[He]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(J){return J&&this._dateAdapter.getYear(J)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(J):null}_createCellForMonth(J,Lt){let He=this._dateAdapter.format(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),J,1),this._dateFormats.display.monthYearA11yLabel);return new oi(J,Lt.toLocaleUpperCase(),He,this._shouldEnableMonth(J))}_shouldEnableMonth(J){const Lt=this._dateAdapter.getYear(this.activeDate);if(null==J||this._isYearAndMonthAfterMaxDate(Lt,J)||this._isYearAndMonthBeforeMinDate(Lt,J))return!1;if(!this.dateFilter)return!0;for(let zn=this._dateAdapter.createDate(Lt,J,1);this._dateAdapter.getMonth(zn)==J;zn=this._dateAdapter.addCalendarDays(zn,1))if(this.dateFilter(zn))return!0;return!1}_isYearAndMonthAfterMaxDate(J,Lt){if(this.maxDate){const He=this._dateAdapter.getYear(this.maxDate),zn=this._dateAdapter.getMonth(this.maxDate);return J>He||J===He&&Lt>zn}return!1}_isYearAndMonthBeforeMinDate(J,Lt){if(this.minDate){const He=this._dateAdapter.getYear(this.minDate),zn=this._dateAdapter.getMonth(this.minDate);return J {class Q{constructor(J,Lt,He,zn,Ki){this._intl=J,this.calendar=Lt,this._dateAdapter=He,this._dateFormats=zn,this.calendar.stateChanges.subscribe(()=>Ki.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const Lt=this._dateAdapter.getYear(this.calendar.activeDate)-ie(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),He=Lt+24-1;return function Je(Q,Et){return`${Q} \u2013 ${Et}`}(this._dateAdapter.getYearName(this._dateAdapter.createDate(Lt,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(He,0,1)))}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(J,Lt){return"month"==this.calendar.currentView?this._dateAdapter.getYear(J)==this._dateAdapter.getYear(Lt)&&this._dateAdapter.getMonth(J)==this._dateAdapter.getMonth(Lt):"year"==this.calendar.currentView?this._dateAdapter.getYear(J)==this._dateAdapter.getYear(Lt):ze(this._dateAdapter,J,Lt,this.calendar.minDate,this.calendar.maxDate)}}return Q.\u0275fac=function(J){return new(J||Q)(p.Y36(N.S8),p.Y36((0,p.Gpc)(()=>Nt)),p.Y36(Rt,8),p.Y36(_i,8),p.Y36(p.sBO))},Q.\u0275cmp=p.Xpm({type:Q,selectors:[["ngx-mat-calendar-header"]],exportAs:["ngxMatCalendarHeader"],ngContentSelectors:Vt,decls:9,vars:8,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],[1,"mat-calendar-arrow"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(J,Lt){1&J&&(p.F$t(),p.TgZ(0,"div",0)(1,"div",1)(2,"button",2),p.NdJ("click",function(){return Lt.currentPeriodClicked()}),p._uU(3),p._UZ(4,"div",3),p.qZA(),p._UZ(5,"div",4),p.Hsn(6),p.TgZ(7,"button",5),p.NdJ("click",function(){return Lt.previousClicked()}),p.qZA(),p.TgZ(8,"button",6),p.NdJ("click",function(){return Lt.nextClicked()}),p.qZA()()()),2&J&&(p.xp6(2),p.uIk("aria-label",Lt.periodButtonLabel),p.xp6(1),p.hij(" ",Lt.periodButtonText," "),p.xp6(1),p.ekj("mat-calendar-invert","month"!=Lt.calendar.currentView),p.xp6(3),p.Q6J("disabled",!Lt.previousEnabled()),p.uIk("aria-label",Lt.prevButtonLabel),p.xp6(1),p.Q6J("disabled",!Lt.nextEnabled()),p.uIk("aria-label",Lt.nextButtonLabel))},dependencies:[st.lW],encapsulation:2,changeDetection:0}),Q})(),Nt=(()=>{class Q{constructor(J,Lt,He,zn){if(this._dateAdapter=Lt,this._dateFormats=He,this._changeDetectorRef=zn,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new p.vpe,this.yearSelected=new p.vpe,this.monthSelected=new p.vpe,this._userSelection=new p.vpe,this.stateChanges=new v.xQ,!this._dateAdapter)throw Vn("NgxDateAdapter");if(!this._dateFormats)throw Vn("NGX_MAT_DATE_FORMATS");this._intlChanges=J.changes.subscribe(()=>{zn.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(J){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(J))}get selected(){return this._selected}set selected(J){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(J))}get minDate(){return this._minDate}set minDate(J){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(J))}get maxDate(){return this._maxDate}set maxDate(J){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(J))}get activeDate(){return this._clampedActiveDate}set activeDate(J){this._clampedActiveDate=this._dateAdapter.clampDate(J,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(J){this._currentView=J,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck()}ngAfterContentInit(){this._calendarHeaderPortal=new u.C5(this.headerComponent||ge),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(J){const Lt=J.minDate||J.maxDate||J.dateFilter;if(Lt&&!Lt.firstChange){const He=this._getCurrentViewComponent();He&&(this._changeDetectorRef.detectChanges(),He._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell()}updateTodaysDate(){("month"==this.currentView?this.monthView:"year"==this.currentView?this.yearView:this.multiYearView).ngAfterContentInit()}_dateSelected(J){J&&!this._dateAdapter.sameDate(J,this.selected)&&this.selectedChange.emit(J)}_yearSelectedInMultiYearView(J){this.yearSelected.emit(J)}_monthSelectedInYearView(J){this.monthSelected.emit(J)}_userSelected(){this._userSelection.emit()}_goToDateInView(J,Lt){this.activeDate=J,this.currentView=Lt}_getValidDateOrNull(J){return this._dateAdapter.isDateInstance(J)&&this._dateAdapter.isValid(J)?J:null}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return Q.\u0275fac=function(J){return new(J||Q)(p.Y36(N.S8),p.Y36(Rt,8),p.Y36(_i,8),p.Y36(p.sBO))},Q.\u0275cmp=p.Xpm({type:Q,selectors:[["ngx-mat-calendar"]],viewQuery:function(J,Lt){if(1&J&&(p.Gf(Ye,5),p.Gf(sn,5),p.Gf(se,5)),2&J){let He;p.iGM(He=p.CRH())&&(Lt.monthView=He.first),p.iGM(He=p.CRH())&&(Lt.yearView=He.first),p.iGM(He=p.CRH())&&(Lt.multiYearView=He.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",_userSelection:"_userSelection"},exportAs:["ngxMatCalendar"],features:[p.TTD],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","selectedChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","selectedChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","yearSelected","selectedChange"]],template:function(J,Lt){1&J&&(p.YNc(0,ve,0,0,"ng-template",0),p.TgZ(1,"div",1),p.YNc(2,fe,1,6,"ngx-mat-month-view",2),p.YNc(3,Le,1,5,"ngx-mat-year-view",3),p.YNc(4,Fe,1,5,"ngx-mat-multi-year-view",4),p.qZA()),2&J&&(p.Q6J("cdkPortalOutlet",Lt._calendarHeaderPortal),p.xp6(1),p.Q6J("ngSwitch",Lt.currentView),p.xp6(1),p.Q6J("ngSwitchCase","month"),p.xp6(1),p.Q6J("ngSwitchCase","year"),p.xp6(1),p.Q6J("ngSwitchCase","multi-year"))},dependencies:[V.RF,V.n9,u.Pl,Ye,sn,se],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0}.mat-calendar-content{padding:0 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(4.71429% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button:after,.mat-calendar-next-button:after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button:after{border-left-width:2px;transform:translate(2px) rotate(-45deg)}.mat-calendar-next-button:after{border-right-width:2px;transform:translate(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider:after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n'],encapsulation:2,changeDetection:0}),Q})(),Se=(()=>{class Q{constructor(J,Lt,He){if(this._dateAdapter=J,this.cd=Lt,this.formBuilder=He,this.disabled=!1,this.showSpinners=!0,this.stepHour=1,this.stepMinute=1,this.stepSecond=1,this.showSeconds=!1,this.disableMinute=!1,this.enableMeridian=!1,this.color="primary",this.meridian="AM",this._onChange=()=>{},this._onTouched=()=>{},this._destroyed=new v.xQ,this.pattern=Di,!this._dateAdapter)throw Vn("NgxMatDateAdapter");this.form=this.formBuilder.group({hour:[{value:null,disabled:this.disabled},[Dt.kI.required,Dt.kI.pattern(Di)]],minute:[{value:null,disabled:this.disabled},[Dt.kI.required,Dt.kI.pattern(bo)]],second:[{value:null,disabled:this.disabled},[Dt.kI.required,Dt.kI.pattern(hi)]]})}get hour(){let J=Number(this.form.controls.hour.value);return isNaN(J)?0:J}get minute(){let J=Number(this.form.controls.minute.value);return isNaN(J)?0:J}get second(){let J=Number(this.form.controls.second.value);return isNaN(J)?0:J}get valid(){return this.form.valid}ngOnInit(){this.form.valueChanges.pipe((0,P.R)(this._destroyed),(0,O.b)(400)).subscribe(J=>{this._updateModel()})}ngOnChanges(J){(J.disabled||J.disableMinute)&&this._setDisableStates()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}writeValue(J){null!=J?this._model=J:(this._model=this._dateAdapter.today(),null!=this.defaultTime&&this._dateAdapter.setTimeByDefaultValues(this._model,this.defaultTime)),this._updateHourMinuteSecond()}registerOnChange(J){this._onChange=J}registerOnTouched(J){this._onTouched=J}setDisabledState(J){this._disabled=J,this.cd.markForCheck()}formatInput(J){J.value=J.value.replace(mi,"")}toggleMeridian(){this.meridian="AM"===this.meridian?"PM":"AM",this.change("hour")}change(J,Lt){const He=this._getNextValueByProp(J,Lt);this.form.controls[J].setValue(Yn(He),{onlySelf:!1,emitEvent:!1}),this._updateModel()}_updateHourMinuteSecond(){let J=this._dateAdapter.getHour(this._model);const Lt=this._dateAdapter.getMinute(this._model),He=this._dateAdapter.getSecond(this._model);this.enableMeridian&&(J>=De.meridian?(J-=De.meridian,this.meridian="PM"):this.meridian="AM",0===J&&(J=De.meridian)),this.form.controls.hour.setValue(Yn(J)),this.form.controls.minute.setValue(Yn(Lt)),this.form.controls.second.setValue(Yn(He))}_updateModel(){let J=this.hour;this.enableMeridian&&("AM"===this.meridian&&J===De.meridian?J=0:"PM"===this.meridian&&J!==De.meridian&&(J+=De.meridian)),this._dateAdapter.setHour(this._model,J),this._dateAdapter.setMinute(this._model,this.minute),this._dateAdapter.setSecond(this._model,this.second),this._onChange(this._model)}_getNextValueByProp(J,Lt){const He=J[0].toUpperCase()+J.slice(1),zn=De[`min${He}`];let wo,Ki=De[`max${He}`];return"hour"===J&&this.enableMeridian&&(Ki=De.meridian),null==Lt?(wo=this[J]%Ki,"hour"===J&&this.enableMeridian&&0===wo&&(wo=Ki)):(wo=Lt?this[J]+this[`step${He}`]:this[J]-this[`step${He}`],"hour"===J&&this.enableMeridian?(wo%=Ki+1,0===wo&&(wo=Lt?1:Ki)):wo%=Ki,wo=Lt?wo>Ki?wo-Ki+zn:wo:wo Q),multi:!0}]),p.TTD],decls:18,vars:7,consts:[[3,"formGroup"],[1,"ngx-mat-timepicker-table"],[1,"ngx-mat-timepicker-tbody"],[4,"ngIf"],["appearance","legacy"],["type","text","matInput","","maxlength","2","formControlName","hour",3,"input","keydown.ArrowUp","keydown.ArrowDown","blur"],[1,"ngx-mat-timepicker-spacer"],["type","text","matInput","","maxlength","2","formControlName","minute",3,"input","keydown.ArrowUp","keydown.ArrowDown","blur"],["class","ngx-mat-timepicker-spacer",4,"ngIf"],["class","ngx-mat-timepicker-meridian",4,"ngIf"],["type","button","mat-icon-button","","aria-label","expand_less icon",3,"disabled","click"],["type","text","matInput","","maxlength","2","formControlName","second",3,"input","keydown.ArrowUp","keydown.ArrowDown","blur"],[1,"ngx-mat-timepicker-meridian"],["mat-button","","mat-stroked-button","",3,"color","disabled","click"],["type","button","mat-icon-button","","aria-label","expand_more icon",3,"disabled","click"]],template:function(J,Lt){1&J&&(p.TgZ(0,"form",0)(1,"table",1)(2,"tbody",2),p.YNc(3,ne,14,5,"tr",3),p.TgZ(4,"tr")(5,"td")(6,"mat-form-field",4)(7,"input",5),p.NdJ("input",function(zn){return Lt.formatInput(zn.target)})("keydown.ArrowUp",function(zn){return Lt.change("hour",!0),zn.preventDefault()})("keydown.ArrowDown",function(zn){return Lt.change("hour",!1),zn.preventDefault()})("blur",function(){return Lt.change("hour")}),p.qZA()()(),p.TgZ(8,"td",6),p._uU(9,":"),p.qZA(),p.TgZ(10,"td")(11,"mat-form-field",4)(12,"input",7),p.NdJ("input",function(zn){return Lt.formatInput(zn.target)})("keydown.ArrowUp",function(zn){return Lt.change("minute",!0),zn.preventDefault()})("keydown.ArrowDown",function(zn){return Lt.change("minute",!1),zn.preventDefault()})("blur",function(){return Lt.change("minute")}),p.qZA()()(),p.YNc(13,jt,2,0,"td",8),p.YNc(14,re,3,0,"td",3),p.YNc(15,Xt,1,0,"td",8),p.YNc(16,oe,3,3,"td",9),p.qZA(),p.YNc(17,vn,14,6,"tr",3),p.qZA()()()),2&J&&(p.Q6J("formGroup",Lt.form),p.xp6(3),p.Q6J("ngIf",Lt.showSpinners),p.xp6(10),p.Q6J("ngIf",Lt.showSeconds),p.xp6(1),p.Q6J("ngIf",Lt.showSeconds),p.xp6(1),p.Q6J("ngIf",Lt.enableMeridian),p.xp6(1),p.Q6J("ngIf",Lt.enableMeridian),p.xp6(1),p.Q6J("ngIf",Lt.showSpinners))},dependencies:[V.O5,wt.KE,qt.Nt,Dt._Y,Dt.Fj,Dt.JJ,Dt.JL,Dt.nD,Dt.sg,Dt.u,Jt.Hw,st.lW],styles:[".ngx-mat-timepicker{font-size:13px}.ngx-mat-timepicker form{min-width:90px}.ngx-mat-timepicker form .ngx-mat-timepicker-table .ngx-mat-timepicker-tbody tr td{text-align:center}.ngx-mat-timepicker form .ngx-mat-timepicker-table .ngx-mat-timepicker-tbody tr td.ngx-mat-timepicker-spacer{font-weight:bold}.ngx-mat-timepicker form .ngx-mat-timepicker-table .ngx-mat-timepicker-tbody tr td.ngx-mat-timepicker-meridian .mat-button{min-width:64px;line-height:36px;min-width:0;border-radius:50%;width:36px;height:36px;padding:0;flex-shrink:0}.ngx-mat-timepicker form .ngx-mat-timepicker-table .ngx-mat-timepicker-tbody tr td .mat-icon-button{height:24px;width:24px;line-height:24px}.ngx-mat-timepicker form .ngx-mat-timepicker-table .ngx-mat-timepicker-tbody tr td .mat-icon-button .mat-icon{font-size:24px}.ngx-mat-timepicker form .ngx-mat-timepicker-table .ngx-mat-timepicker-tbody tr td .mat-form-field{width:20px;max-width:20px;text-align:center}\n"],encapsulation:2}),Q})(),zt=0;const Ae=(0,W.pj)(class{constructor(Q){this._elementRef=Q}});let Ie=(()=>{class Q extends Ae{constructor(J,Lt,He){super(J),this.cd=Lt,this._viewContainerRef=He}get valid(){return(this.datepicker.hideTime||this._timePicker&&this._timePicker.valid)&&this.datepicker.valid}get isViewMonth(){return!this._calendar||null==this._calendar.currentView||"month"==this._calendar.currentView}ngAfterViewInit(){this._calendar.focusActiveCell(),this.datepicker._customIcon&&(this._templateCustomIconPortal=new u.UE(this.datepicker._customIcon,this._viewContainerRef),this.cd.detectChanges())}}return Q.\u0275fac=function(J){return new(J||Q)(p.Y36(p.SBq),p.Y36(p.sBO),p.Y36(p.s_b))},Q.\u0275cmp=p.Xpm({type:Q,selectors:[["ngx-mat-datetime-content"]],viewQuery:function(J,Lt){if(1&J&&(p.Gf(Nt,5),p.Gf(Se,5)),2&J){let He;p.iGM(He=p.CRH())&&(Lt._calendar=He.first),p.iGM(He=p.CRH())&&(Lt._timePicker=He.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(J,Lt){2&J&&(p.d8E("@transformPanel","enter"),p.ekj("mat-datepicker-content-touch",Lt.datepicker.touchUi))},inputs:{color:"color"},exportAs:["ngxMatDatetimeContent"],features:[p.qOj],decls:2,vars:12,consts:[["cdkTrapFocus","",3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","selectedChange","yearSelected","monthSelected"],[4,"ngIf"],["class","time-container",3,"disable-seconds",4,"ngIf"],[1,"actions"],["mat-button","","mat-stroked-button","","cdkFocusInitial","",3,"color","disabled","click"],[3,"cdkPortalOutlet"],[1,"time-container"],[3,"showSpinners","showSeconds","disabled","stepHour","stepMinute","stepSecond","ngModel","color","enableMeridian","disableMinute","ngModelChange"]],template:function(J,Lt){1&J&&(p.TgZ(0,"ngx-mat-calendar",0),p.NdJ("selectedChange",function(zn){return Lt.datepicker.select(zn)})("yearSelected",function(zn){return Lt.datepicker._selectYear(zn)})("monthSelected",function(zn){return Lt.datepicker._selectMonth(zn)}),p.qZA(),p.YNc(1,ii,6,5,"ng-container",1)),2&J&&(p.Q6J("id",Lt.datepicker.id)("ngClass",Lt.datepicker.panelClass)("startAt",Lt.datepicker.startAt)("startView",Lt.datepicker.startView)("minDate",Lt.datepicker._minDate)("maxDate",Lt.datepicker._maxDate)("dateFilter",Lt.datepicker._dateFilter)("headerComponent",Lt.datepicker.calendarHeaderComponent)("selected",Lt.datepicker._selected)("dateClass",Lt.datepicker.dateClass)("@fadeInCalendar","enter"),p.xp6(1),p.Q6J("ngIf",Lt.isViewMonth))},dependencies:[V.mk,V.O5,u.Pl,Dt.JJ,Dt.On,Jt.Hw,st.lW,Se,Nt],styles:['.mat-datepicker-content{display:block;border-radius:4px;box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-datepicker-content .mat-calendar{width:296px}.mat-datepicker-content .time-container{display:flex;position:relative;padding-top:5px;justify-content:center}.mat-datepicker-content .time-container.disable-seconds .ngx-mat-timepicker .table{margin-left:9px}.mat-datepicker-content .time-container:before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background-color:#0000001f}.mat-datepicker-content .actions{display:flex;padding:5px 15px 10px;justify-content:flex-end}\n'],encapsulation:2,data:{animation:[N.E2.transformPanel,N.E2.fadeInCalendar]},changeDetection:0}),Q})(),Sn=(()=>{class Q{constructor(J,Lt,He,zn,Ki,wo,dr,pr){if(this._dialog=J,this._overlay=Lt,this._ngZone=He,this._viewContainerRef=zn,this._dateAdapter=wo,this._dir=dr,this._document=pr,this.startView="month",this._defaultColor="primary",this._touchUi=!1,this._hideTime=!1,this.yearSelected=new p.vpe,this.monthSelected=new p.vpe,this.openedStream=new p.vpe,this.closedStream=new p.vpe,this._opened=!1,this._showSpinners=!0,this._showSeconds=!1,this._stepHour=1,this._stepMinute=1,this._stepSecond=1,this._enableMeridian=!1,this._hasBackdrop=!0,this.id="mat-datepicker-"+zt++,this._validSelected=null,this._focusedElementBeforeOpen=null,this._inputSubscription=x.w.EMPTY,this.stateChanges=new v.xQ,this._selectedChanged=new v.xQ,this._minValidator=()=>!this._minDate||!this._selected||this._dateAdapter.compareDateWithTime(this._minDate,this._selected,this.showSeconds)<=0?null:{matDatetimePickerMin:{min:this._minDate,actual:this._selected}},this._maxValidator=()=>!this._maxDate||!this._selected||this._dateAdapter.compareDateWithTime(this._maxDate,this._selected,this.showSeconds)>=0?null:{matDatetimePickerMax:{max:this._maxDate,actual:this._selected}},!this._dateAdapter)throw Vn("NgxMatDateAdapter");this._scrollStrategy=Ki}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.value:null)}set startAt(J){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(J))}get defaultColor(){return this._defaultColor}set defaultColor(J){this._defaultColor=J}get color(){return this._color||(this.datepickerInput?this.datepickerInput._getThemePalette():"primary")}set color(J){this._color=J}get touchUi(){return this._touchUi}set touchUi(J){this._touchUi=(0,ct.Ig)(J)}get hideTime(){return this._hideTime}set hideTime(J){this._hideTime=(0,ct.Ig)(J)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(J){const Lt=(0,ct.Ig)(J);Lt!==this._disabled&&(this._disabled=Lt,this.stateChanges.next(Lt))}get opened(){return this._opened}set opened(J){J?this.open():this.close()}get showSpinners(){return this._showSpinners}set showSpinners(J){this._showSpinners=J}get showSeconds(){return this._showSeconds}set showSeconds(J){this._showSeconds=J}get stepHour(){return this._stepHour}set stepHour(J){this._stepHour=J}get stepMinute(){return this._stepMinute}set stepMinute(J){this._stepMinute=J}get stepSecond(){return this._stepSecond}set stepSecond(J){this._stepSecond=J}get enableMeridian(){return this._enableMeridian}set enableMeridian(J){this._enableMeridian=J}get disableMinute(){return this._disableMinute}set disableMinute(J){this._disableMinute=J}get defaultTime(){return this._defaultTime}set defaultTime(J){this._defaultTime=J}get _selected(){return this._validSelected}set _selected(J){this._validSelected=J}get _minDate(){return this.datepickerInput&&this.datepickerInput.min}get _maxDate(){return this.datepickerInput&&this.datepickerInput.max}get valid(){const J=this._minValidator(),Lt=this._maxValidator();return null==J&&null==Lt}get _dateFilter(){return this.datepickerInput&&this.datepickerInput._dateFilter}ngOnDestroy(){this.close(),this._popupRef&&(this._popupRef.dispose(),this._popupComponentRef=null),this._inputSubscription.unsubscribe(),this.stateChanges.complete()}select(J){this._dateAdapter.copyTime(J,this._selected),this._selected=J}_selectYear(J){this.yearSelected.emit(J)}_selectMonth(J){this.monthSelected.emit(J)}ok(){const J=this._dateAdapter.clone(this._selected);this._selectedChanged.next(J),this.close()}cancel(){this._selected=this._rawValue,this.close()}_registerInput(J){if(this.datepickerInput)throw Error("A NgxMatDatepicker can only be associated with a single input.");this.datepickerInput=J,this._inputSubscription=this.datepickerInput._valueChange.subscribe(Lt=>this._selected=Lt)}open(){if(this._rawValue=null!=this._selected?this._dateAdapter.clone(this._selected):null,null==this._selected&&(this._selected=this._dateAdapter.today(),null!=this.defaultTime&&this._dateAdapter.setTimeByDefaultValues(this._selected,this.defaultTime)),!this._opened&&!this.disabled){if(!this.datepickerInput)throw Error("Attempted to open an NgxMatDatepicker with no associated input.");this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit()}}close(){if(!this._opened)return;this._popupRef&&this._popupRef.hasAttached()&&this._popupRef.detach(),this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null),this._calendarPortal&&this._calendarPortal.isAttached&&this._calendarPortal.detach();const J=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(J)):J()}_openAsDialog(){this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(Ie,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog",hasBackdrop:this._hasBackdrop}),this._dialogRef.afterClosed().subscribe(()=>this.close()),this._dialogRef.componentInstance.datepicker=this,this._setColor()}_openAsPopup(){this._calendarPortal||(this._calendarPortal=new u.C5(Ie,this._viewContainerRef)),this._popupRef||this._createPopup(),this._popupRef.hasAttached()||(this._popupComponentRef=this._popupRef.attach(this._calendarPortal),this._popupComponentRef.instance.datepicker=this,this._setColor(),this._ngZone.onStable.asObservable().pipe((0,U.q)(1)).subscribe(()=>{this._popupRef.updatePosition()}))}_createPopup(){const J=new bt.X_({positionStrategy:this._createPopupPositionStrategy(),hasBackdrop:this._hasBackdrop,backdropClass:"mat-overlay-transparent-backdrop",direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(J),this._popupRef.overlayElement.setAttribute("role","dialog"),(0,t.T)(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe((0,L.h)(Lt=>Lt.keyCode===T.hY||this.datepickerInput&&Lt.altKey&&Lt.keyCode===T.LH))).subscribe(Lt=>{Lt&&Lt.preventDefault(),this._hasBackdrop&&Lt?this.cancel():this.close()})}_createPopupPositionStrategy(){return this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition().withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}])}_getValidDateOrNull(J){return this._dateAdapter.isDateInstance(J)&&this._dateAdapter.isValid(J)?J:null}_setColor(){const J=this.color;this._popupComponentRef&&(this._popupComponentRef.instance.color=J),this._dialogRef&&(this._dialogRef.componentInstance.color=J)}}return Q.\u0275fac=function(J){return new(J||Q)(p.Y36(yt.uw),p.Y36(bt.aV),p.Y36(p.R0b),p.Y36(p.s_b),p.Y36(N.Uu),p.Y36(Rt,8),p.Y36(tt.Is,8),p.Y36(V.K0,8))},Q.\u0275cmp=p.Xpm({type:Q,selectors:[["ngx-mat-datetime-picker"]],contentQueries:function(J,Lt,He){if(1&J&&p.Suo(He,p.Rgc,5),2&J){let zn;p.iGM(zn=p.CRH())&&(Lt._customIcon=zn.first)}},inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",defaultColor:"defaultColor",color:"color",touchUi:"touchUi",hideTime:"hideTime",disabled:"disabled",panelClass:"panelClass",dateClass:"dateClass",opened:"opened",showSpinners:"showSpinners",showSeconds:"showSeconds",stepHour:"stepHour",stepMinute:"stepMinute",stepSecond:"stepSecond",enableMeridian:"enableMeridian",disableMinute:"disableMinute",defaultTime:"defaultTime"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",openedStream:"opened",closedStream:"closed"},exportAs:["ngxMatDatetimePicker"],decls:0,vars:0,template:function(J,Lt){},encapsulation:2,changeDetection:0}),Q})();const Ei={provide:Dt.JU,useExisting:(0,p.Gpc)(()=>pn),multi:!0},Vi={provide:Dt.Cf,useExisting:(0,p.Gpc)(()=>pn),multi:!0};class cn{constructor(Et,J){this.target=Et,this.targetElement=J,this.value=this.target.value}}let bi,pn=(()=>{class Q{constructor(J,Lt,He,zn){if(this._elementRef=J,this._dateAdapter=Lt,this._dateFormats=He,this._formField=zn,this.dateChange=new p.vpe,this.dateInput=new p.vpe,this._valueChange=new p.vpe,this.stateChanges=new p.vpe,this._onTouched=()=>{},this._cvaOnChange=()=>{},this._validatorOnChange=()=>{},this._datepickerSubscription=x.w.EMPTY,this._localeSubscription=x.w.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatetimePickerParse:{text:this._elementRef.nativeElement.value}},this._minValidator=Ki=>{const wo=this._getValidDateOrNull(this._dateAdapter.deserialize(Ki.value));return!this.min||!wo||this._dateAdapter.compareDateWithTime(this.min,wo,this._datepicker.showSeconds)<=0?null:{matDatetimePickerMin:{min:this.min,actual:wo}}},this._maxValidator=Ki=>{const wo=this._getValidDateOrNull(this._dateAdapter.deserialize(Ki.value));return!this.max||!wo||this._dateAdapter.compareDateWithTime(this.max,wo,this._datepicker.showSeconds)>=0?null:{matDatetimePickerMax:{max:this.max,actual:wo}}},this._filterValidator=Ki=>{const wo=this._getValidDateOrNull(this._dateAdapter.deserialize(Ki.value));return this._dateFilter&&wo&&!this._dateFilter(wo)?{matDatetimePickerFilter:!0}:null},this._validator=Dt.kI.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw Vn("NgxMatDateAdapter");if(!this._dateFormats)throw Vn("NGX_MAT_DATE_FORMATS");this._localeSubscription=Lt.localeChanges.subscribe(()=>{this.value=this.value})}set ngxMatDatetimePicker(J){!J||(this._datepicker=J,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe(Lt=>{this.value=Lt,this._cvaOnChange(Lt),this._onTouched(),this.dateInput.emit(new cn(this,this._elementRef.nativeElement)),this.dateChange.emit(new cn(this,this._elementRef.nativeElement))}))}set ngxMatDatetimePickerFilter(J){this._dateFilter=J,this._validatorOnChange()}get value(){return this._value}set value(J){J=this._dateAdapter.deserialize(J),this._lastValueValid=!J||this._dateAdapter.isValid(J),J=this._getValidDateOrNull(J);const Lt=this.value;this._value=J,this._formatValue(J),this._dateAdapter.sameDate(Lt,J)||this._valueChange.emit(J)}get min(){return this._min}set min(J){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(J)),this._validatorOnChange()}get max(){return this._max}set max(J){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(J)),this._validatorOnChange()}get disabled(){return!!this._disabled}set disabled(J){const Lt=null!=J&&"false"!=`${J}`,He=this._elementRef.nativeElement;this._disabled!==Lt&&(this._disabled=Lt,this.stateChanges.emit(void 0)),Lt&&He.blur&&He.blur()}ngOnDestroy(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this.stateChanges.complete()}registerOnValidatorChange(J){this._validatorOnChange=J}validate(J){return this._validator?this._validator(J):null}getPopupConnectionElementRef(){return this.getConnectedOverlayOrigin()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}writeValue(J){this.value=J}registerOnChange(J){this._cvaOnChange=J}registerOnTouched(J){this._onTouched=J}setDisabledState(J){this.disabled=J}_onKeydown(J){this._datepicker&&J.altKey&&J.keyCode===T.JH&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),J.preventDefault())}_onInput(J){const Lt=this._lastValueValid;let He=this._dateAdapter.parse(J,this._dateFormats.parse.dateInput);this._lastValueValid=!He||this._dateAdapter.isValid(He),He=this._getValidDateOrNull(He);const zn=this._dateAdapter.isSameTime(He,this._value);null!=He&&(!zn||!this._dateAdapter.sameDate(He,this._value))||null==He&&null!=this._value?(this._value=He,this._cvaOnChange(He),this._valueChange.emit(He),this.dateInput.emit(new cn(this,this._elementRef.nativeElement))):Lt!==this._lastValueValid&&this._validatorOnChange()}_onChange(){this.dateChange.emit(new cn(this,this._elementRef.nativeElement))}_getThemePalette(){return this._formField?this._formField.color:void 0}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_onFocus(){this._datepicker&&this._datepicker.opened&&this._datepicker.cancel()}_formatValue(J){this._elementRef.nativeElement.value=J?this._dateAdapter.format(J,this._dateFormats.display.dateInput):""}_getValidDateOrNull(J){return this._dateAdapter.isDateInstance(J)&&this._dateAdapter.isValid(J)?J:null}}return Q.\u0275fac=function(J){return new(J||Q)(p.Y36(p.SBq),p.Y36(Rt,8),p.Y36(_i,8),p.Y36(wt.KE,8))},Q.\u0275dir=p.lG2({type:Q,selectors:[["input","ngxMatDatetimePicker",""]],hostVars:5,hostBindings:function(J,Lt){1&J&&p.NdJ("input",function(zn){return Lt._onInput(zn.target.value)})("change",function(){return Lt._onChange()})("blur",function(){return Lt._onBlur()})("focus",function(){return Lt._onFocus()})("keydown",function(zn){return Lt._onKeydown(zn)}),2&J&&(p.Ikx("disabled",Lt.disabled),p.uIk("aria-haspopup",Lt._datepicker?"dialog":null)("aria-owns",(null==Lt._datepicker?null:Lt._datepicker.opened)&&Lt._datepicker.id||null)("min",Lt.min?Lt._dateAdapter.toIso8601(Lt.min):null)("max",Lt.max?Lt._dateAdapter.toIso8601(Lt.max):null))},inputs:{ngxMatDatetimePicker:"ngxMatDatetimePicker",ngxMatDatetimePickerFilter:"ngxMatDatetimePickerFilter",value:"value",min:"min",max:"max",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},exportAs:["ngxMatDatetimePickerInput"],features:[p._Bn([Ei,Vi,{provide:qt.Jk,useExisting:Q}])]}),Q})(),We=(()=>{class Q{}return Q.\u0275fac=function(J){return new(J||Q)},Q.\u0275mod=p.oAB({type:Q}),Q.\u0275inj=p.cJS({imports:[V.ez,qt.c,Dt.UX,Dt.u5,Jt.Ps,st.ot]}),Q})(),ai=(()=>{class Q{}return Q.\u0275fac=function(J){return new(J||Q)},Q.\u0275mod=p.oAB({type:Q}),Q.\u0275inj=p.cJS({providers:[N.Lv,{provide:le,useClass:be}],imports:[V.ez,N.FA,yt.Is,u.eL,Dt.u5,Jt.Ps,st.ot,qt.c,We]}),Q})();try{bi=typeof Intl<"u"}catch{bi=!1}const so={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},To=Aa(31,Q=>String(Q+1)),Lo={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},ha=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Aa(Q,Et){const J=Array(Q);for(let Lt=0;Lt {class Q extends Rt{constructor(J,Lt){super(),this.useUtcForDisplay=!0,super.setLocale(J),this.useUtcForDisplay=!Lt.TRIDENT,this._clampDate=Lt.TRIDENT||Lt.EDGE}getYear(J){return J.getFullYear()}getMonth(J){return J.getMonth()}getDate(J){return J.getDate()}getDayOfWeek(J){return J.getDay()}getMonthNames(J){if(bi){const Lt=new Intl.DateTimeFormat(this.locale,{month:J,timeZone:"utc"});return Aa(12,He=>this._stripDirectionalityCharacters(this._format(Lt,new Date(2017,He,1))))}return so[J]}getDateNames(){if(bi){const J=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Aa(31,Lt=>this._stripDirectionalityCharacters(this._format(J,new Date(2017,0,Lt+1))))}return To}getDayOfWeekNames(J){if(bi){const Lt=new Intl.DateTimeFormat(this.locale,{weekday:J,timeZone:"utc"});return Aa(7,He=>this._stripDirectionalityCharacters(this._format(Lt,new Date(2017,0,He+1))))}return Lo[J]}getYearName(J){if(bi){const Lt=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(Lt,J))}return String(this.getYear(J))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(J){return this.getDate(this._createDateWithOverflow(this.getYear(J),this.getMonth(J)+1,0))}clone(J){return new Date(J.getTime())}createDate(J,Lt,He){if(Lt<0||Lt>11)throw Error(`Invalid month index "${Lt}". Month index has to be between 0 and 11.`);if(He<1)throw Error(`Invalid date "${He}". Date has to be greater than 0.`);let zn=this._createDateWithOverflow(J,Lt,He);if(zn.getMonth()!=Lt)throw Error(`Invalid date "${He}" for month with index "${Lt}".`);return zn}today(){return new Date}parse(J){return"number"==typeof J?new Date(J):J?new Date(Date.parse(J)):null}format(J,Lt){if(!this.isValid(J))throw Error("NativeDateAdapter: Cannot format invalid date.");if(bi){this._clampDate&&(J.getFullYear()<1||J.getFullYear()>9999)&&(J=this.clone(J)).setFullYear(Math.max(1,Math.min(9999,J.getFullYear()))),Lt={...Lt,timeZone:"utc"};const He=new Intl.DateTimeFormat(this.locale,Lt);return this._stripDirectionalityCharacters(this._format(He,J))}return this._stripDirectionalityCharacters(J.toDateString())}addCalendarYears(J,Lt){return this.addCalendarMonths(J,12*Lt)}addCalendarMonths(J,Lt){let He=this._createDateWithOverflow(this.getYear(J),this.getMonth(J)+Lt,this.getDate(J));return this.getMonth(He)!=((this.getMonth(J)+Lt)%12+12)%12&&(He=this._createDateWithOverflow(this.getYear(He),this.getMonth(He),0)),He}addCalendarDays(J,Lt){return this._createDateWithOverflow(this.getYear(J),this.getMonth(J),this.getDate(J)+Lt)}toIso8601(J){return[J.getUTCFullYear(),this._2digit(J.getUTCMonth()+1),this._2digit(J.getUTCDate())].join("-")}deserialize(J){if("string"==typeof J){if(!J)return null;if(ha.test(J)){let Lt=new Date(J);if(this.isValid(Lt))return Lt}}return super.deserialize(J)}isDateInstance(J){return J instanceof Date}isValid(J){return!isNaN(J.getTime())}invalid(){return new Date(NaN)}getHour(J){return J.getHours()}getMinute(J){return J.getMinutes()}getSecond(J){return J.getSeconds()}setHour(J,Lt){J.setHours(Lt)}setMinute(J,Lt){J.setMinutes(Lt)}setSecond(J,Lt){J.setSeconds(Lt)}_createDateWithOverflow(J,Lt,He){const zn=new Date(J,Lt,He);return J>=0&&J<100&&zn.setFullYear(this.getYear(zn)-1900),zn}_2digit(J){return("00"+J).slice(-2)}_stripDirectionalityCharacters(J){return J.replace(/[\u200e\u200f]/g,"")}_format(J,Lt){const He=new Date;return He.setUTCFullYear(Lt.getFullYear(),Lt.getMonth(),Lt.getDate()),He.setUTCHours(Lt.getHours(),Lt.getMinutes(),Lt.getSeconds(),Lt.getMilliseconds()),J.format(He)}}return Q.\u0275fac=function(J){return new(J||Q)(p.LFG(W.Ad,8),p.LFG(At.t4))},Q.\u0275prov=p.Yz7({token:Q,factory:Q.\u0275fac}),Q})();const Rn={year:"numeric",month:"numeric",day:"numeric",hour12:!1,hour:"2-digit",minute:"2-digit",second:"2-digit"},Re={parse:{dateInput:Rn},display:{dateInput:Rn,monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let we=(()=>{class Q{}return Q.\u0275fac=function(J){return new(J||Q)},Q.\u0275mod=p.oAB({type:Q}),Q.\u0275inj=p.cJS({providers:[{provide:Rt,useClass:Ne}],imports:[At.ud]}),Q})(),on=(()=>{class Q{}return Q.\u0275fac=function(J){return new(J||Q)},Q.\u0275mod=p.oAB({type:Q}),Q.\u0275inj=p.cJS({providers:[{provide:_i,useValue:Re}],imports:[we]}),Q})()},37340:(X,j,h)=>{"use strict";h.d(j,{F4:()=>O,IO:()=>tt,LC:()=>p,SB:()=>P,X$:()=>v,ZE:()=>Dt,ZN:()=>bt,_j:()=>u,eR:()=>L,jt:()=>t,k1:()=>wt,l3:()=>x,oB:()=>w,pV:()=>V,ru:()=>T,vP:()=>U});class u{}class p{}const x="*";function v(qt,Jt){return{type:7,name:qt,definitions:Jt,options:{}}}function t(qt,Jt=null){return{type:4,styles:Jt,timings:qt}}function T(qt,Jt=null){return{type:3,steps:qt,options:Jt}}function U(qt,Jt=null){return{type:2,steps:qt,options:Jt}}function w(qt){return{type:6,styles:qt,offset:null}}function P(qt,Jt,yt){return{type:0,name:qt,styles:Jt,options:yt}}function O(qt){return{type:5,steps:qt}}function L(qt,Jt,yt=null){return{type:1,expr:qt,animation:Jt,options:yt}}function V(qt=null){return{type:9,options:qt}}function tt(qt,Jt,yt=null){return{type:11,selector:qt,animation:Jt,options:yt}}function ct(qt){Promise.resolve().then(qt)}class bt{constructor(Jt=0,yt=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=Jt+yt}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Jt=>Jt()),this._onDoneFns=[])}onStart(Jt){this._originalOnStartFns.push(Jt),this._onStartFns.push(Jt)}onDone(Jt){this._originalOnDoneFns.push(Jt),this._onDoneFns.push(Jt)}onDestroy(Jt){this._onDestroyFns.push(Jt)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){ct(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Jt=>Jt()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Jt=>Jt()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Jt){this._position=this.totalTime?Jt*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Jt){const yt="start"==Jt?this._onStartFns:this._onDoneFns;yt.forEach(At=>At()),yt.length=0}}class Dt{constructor(Jt){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Jt;let yt=0,At=0,xt=0;const pt=this.players.length;0==pt?ct(()=>this._onFinish()):this.players.forEach(Ot=>{Ot.onDone(()=>{++yt==pt&&this._onFinish()}),Ot.onDestroy(()=>{++At==pt&&this._onDestroy()}),Ot.onStart(()=>{++xt==pt&&this._onStart()})}),this.totalTime=this.players.reduce((Ot,Bt)=>Math.max(Ot,Bt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Jt=>Jt()),this._onDoneFns=[])}init(){this.players.forEach(Jt=>Jt.init())}onStart(Jt){this._onStartFns.push(Jt)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Jt=>Jt()),this._onStartFns=[])}onDone(Jt){this._onDoneFns.push(Jt)}onDestroy(Jt){this._onDestroyFns.push(Jt)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Jt=>Jt.play())}pause(){this.players.forEach(Jt=>Jt.pause())}restart(){this.players.forEach(Jt=>Jt.restart())}finish(){this._onFinish(),this.players.forEach(Jt=>Jt.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Jt=>Jt.destroy()),this._onDestroyFns.forEach(Jt=>Jt()),this._onDestroyFns=[])}reset(){this.players.forEach(Jt=>Jt.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Jt){const yt=Jt*this.totalTime;this.players.forEach(At=>{const xt=At.totalTime?Math.min(1,yt/At.totalTime):1;At.setPosition(xt)})}getPosition(){const Jt=this.players.reduce((yt,At)=>null===yt||At.totalTime>yt.totalTime?At:yt,null);return null!=Jt?Jt.getPosition():0}beforeDestroy(){this.players.forEach(Jt=>{Jt.beforeDestroy&&Jt.beforeDestroy()})}triggerCallback(Jt){const yt="start"==Jt?this._onStartFns:this._onDoneFns;yt.forEach(At=>At()),yt.length=0}}const wt="!"},12687:(X,j,h)=>{"use strict";h.d(j,{$s:()=>Bt,Em:()=>fe,Kd:()=>mi,X6:()=>te,ic:()=>Fe,kH:()=>Vn,mK:()=>un,qV:()=>ke,qm:()=>Ee,rt:()=>Xe,s1:()=>ve,tE:()=>Yn,yG:()=>it});var u=h(36895),p=h(94650),x=h(83353),v=h(8929),t=h(42654),T=h(591),U=h(21086),w=h(29521),P=h(22868),O=h(80013),L=h(92198),N=h(24850),V=h(72986),W=h(31307),tt=h(75778),st=h(7625),ct=h(21281),bt=h(49643),Dt=h(62289);function yt(se,ze){return(se.getAttribute(ze)||"").match(/\S+/g)||[]}const xt="cdk-describedby-message",pt="cdk-describedby-host";let Ot=0,Bt=(()=>{class se{constructor(ie,rn){this._platform=rn,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Ot++,this._document=ie,this._id=(0,p.f3M)(p.AFp)+"-"+Ot++}describe(ie,rn,fn){if(!this._canBeDescribed(ie,rn))return;const sn=St(rn,fn);"string"!=typeof rn?(ce(rn,this._id),this._messageRegistry.set(sn,{messageElement:rn,referenceCount:0})):this._messageRegistry.has(sn)||this._createMessageElement(rn,fn),this._isElementDescribedByMessage(ie,sn)||this._addMessageReference(ie,sn)}removeDescription(ie,rn,fn){if(!rn||!this._isElementNode(ie))return;const sn=St(rn,fn);if(this._isElementDescribedByMessage(ie,sn)&&this._removeMessageReference(ie,sn),"string"==typeof rn){const ge=this._messageRegistry.get(sn);ge&&0===ge.referenceCount&&this._deleteMessageElement(sn)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const ie=this._document.querySelectorAll(`[${pt}="${this._id}"]`);for(let rn=0;rn0!=fn.indexOf(xt));ie.setAttribute("aria-describedby",rn.join(" "))}_addMessageReference(ie,rn){const fn=this._messageRegistry.get(rn);(function qt(se,ze,ie){const rn=yt(se,ze);rn.some(fn=>fn.trim()==ie.trim())||(rn.push(ie.trim()),se.setAttribute(ze,rn.join(" ")))})(ie,"aria-describedby",fn.messageElement.id),ie.setAttribute(pt,this._id),fn.referenceCount++}_removeMessageReference(ie,rn){const fn=this._messageRegistry.get(rn);fn.referenceCount--,function Jt(se,ze,ie){const fn=yt(se,ze).filter(sn=>sn!=ie.trim());fn.length?se.setAttribute(ze,fn.join(" ")):se.removeAttribute(ze)}(ie,"aria-describedby",fn.messageElement.id),ie.removeAttribute(pt)}_isElementDescribedByMessage(ie,rn){const fn=yt(ie,"aria-describedby"),sn=this._messageRegistry.get(rn),ge=sn&&sn.messageElement.id;return!!ge&&-1!=fn.indexOf(ge)}_canBeDescribed(ie,rn){if(!this._isElementNode(ie))return!1;if(rn&&"object"==typeof rn)return!0;const fn=null==rn?"":`${rn}`.trim(),sn=ie.getAttribute("aria-label");return!(!fn||sn&&sn.trim()===fn)}_isElementNode(ie){return ie.nodeType===this._document.ELEMENT_NODE}}return se.\u0275fac=function(ie){return new(ie||se)(p.LFG(u.K0),p.LFG(x.t4))},se.\u0275prov=p.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})();function St(se,ze){return"string"==typeof se?`${ze||""}/${se}`:se}function ce(se,ze){se.id||(se.id=`${xt}-${ze}-${Ot++}`)}class Vt{constructor(ze){this._items=ze,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new v.xQ,this._typeaheadSubscription=t.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=ie=>ie.disabled,this._pressedLetters=[],this.tabOut=new v.xQ,this.change=new v.xQ,ze instanceof p.n_E&&ze.changes.subscribe(ie=>{if(this._activeItem){const fn=ie.toArray().indexOf(this._activeItem);fn>-1&&fn!==this._activeItemIndex&&(this._activeItemIndex=fn)}})}skipPredicate(ze){return this._skipPredicateFn=ze,this}withWrap(ze=!0){return this._wrap=ze,this}withVerticalOrientation(ze=!0){return this._vertical=ze,this}withHorizontalOrientation(ze){return this._horizontal=ze,this}withAllowedModifierKeys(ze){return this._allowedModifierKeys=ze,this}withTypeAhead(ze=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,P.b)(ie=>this._pressedLetters.push(ie)),(0,O.b)(ze),(0,L.h)(()=>this._pressedLetters.length>0),(0,N.U)(()=>this._pressedLetters.join(""))).subscribe(ie=>{const rn=this._getItemsArray();for(let fn=1;fn !ze[sn]||this._allowedModifierKeys.indexOf(sn)>-1);switch(ie){case w.Mf:return void this.tabOut.next();case w.JH:if(this._vertical&&fn){this.setNextItemActive();break}return;case w.LH:if(this._vertical&&fn){this.setPreviousItemActive();break}return;case w.SV:if(this._horizontal&&fn){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case w.oh:if(this._horizontal&&fn){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case w.Sd:if(this._homeAndEnd&&fn){this.setFirstItemActive();break}return;case w.uR:if(this._homeAndEnd&&fn){this.setLastItemActive();break}return;default:return void((fn||(0,w.Vb)(ze,"shiftKey"))&&(ze.key&&1===ze.key.length?this._letterKeyStream.next(ze.key.toLocaleUpperCase()):(ie>=w.A&&ie<=w.Z||ie>=w.xE&&ie<=w.aO)&&this._letterKeyStream.next(String.fromCharCode(ie))))}this._pressedLetters=[],ze.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(ze){const ie=this._getItemsArray(),rn="number"==typeof ze?ze:ie.indexOf(ze);this._activeItem=ie[rn]??null,this._activeItemIndex=rn}_setActiveItemByDelta(ze){this._wrap?this._setActiveInWrapMode(ze):this._setActiveInDefaultMode(ze)}_setActiveInWrapMode(ze){const ie=this._getItemsArray();for(let rn=1;rn<=ie.length;rn++){const fn=(this._activeItemIndex+ze*rn+ie.length)%ie.length;if(!this._skipPredicateFn(ie[fn]))return void this.setActiveItem(fn)}}_setActiveInDefaultMode(ze){this._setActiveItemByIndex(this._activeItemIndex+ze,ze)}_setActiveItemByIndex(ze,ie){const rn=this._getItemsArray();if(rn[ze]){for(;this._skipPredicateFn(rn[ze]);)if(!rn[ze+=ie])return;this.setActiveItem(ze)}}_getItemsArray(){return this._items instanceof p.n_E?this._items.toArray():this._items}}class ve extends Vt{setActiveItem(ze){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(ze),this.activeItem&&this.activeItem.setActiveStyles()}}class fe extends Vt{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(ze){return this._origin=ze,this}setActiveItem(ze){super.setActiveItem(ze),this.activeItem&&this.activeItem.focus(this._origin)}}let Fe=(()=>{class se{constructor(ie){this._platform=ie}isDisabled(ie){return ie.hasAttribute("disabled")}isVisible(ie){return function Gt(se){return!!(se.offsetWidth||se.offsetHeight||"function"==typeof se.getClientRects&&se.getClientRects().length)}(ie)&&"visible"===getComputedStyle(ie).visibility}isTabbable(ie){if(!this._platform.isBrowser)return!1;const rn=function Ge(se){try{return se.frameElement}catch{return null}}(function xe(se){return se.ownerDocument&&se.ownerDocument.defaultView||window}(ie));if(rn&&(-1===Me(rn)||!this.isVisible(rn)))return!1;let fn=ie.nodeName.toLowerCase(),sn=Me(ie);return ie.hasAttribute("contenteditable")?-1!==sn:!("iframe"===fn||"object"===fn||this._platform.WEBKIT&&this._platform.IOS&&!function en(se){let ze=se.nodeName.toLowerCase(),ie="input"===ze&&se.type;return"text"===ie||"password"===ie||"select"===ze||"textarea"===ze}(ie))&&("audio"===fn?!!ie.hasAttribute("controls")&&-1!==sn:"video"===fn?-1!==sn&&(null!==sn||this._platform.FIREFOX||ie.hasAttribute("controls")):ie.tabIndex>=0)}isFocusable(ie,rn){return function _n(se){return!function ne(se){return function re(se){return"input"==se.nodeName.toLowerCase()}(se)&&"hidden"==se.type}(se)&&(function Te(se){let ze=se.nodeName.toLowerCase();return"input"===ze||"select"===ze||"button"===ze||"textarea"===ze}(se)||function jt(se){return function Xt(se){return"a"==se.nodeName.toLowerCase()}(se)&&se.hasAttribute("href")}(se)||se.hasAttribute("contenteditable")||oe(se))}(ie)&&!this.isDisabled(ie)&&(rn?.ignoreVisibility||this.isVisible(ie))}}return se.\u0275fac=function(ie){return new(ie||se)(p.LFG(x.t4))},se.\u0275prov=p.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})();function oe(se){if(!se.hasAttribute("tabindex")||void 0===se.tabIndex)return!1;let ze=se.getAttribute("tabindex");return!(!ze||isNaN(parseInt(ze,10)))}function Me(se){if(!oe(se))return null;const ze=parseInt(se.getAttribute("tabindex")||"",10);return isNaN(ze)?-1:ze}class vn{constructor(ze,ie,rn,fn,sn=!1){this._element=ze,this._checker=ie,this._ngZone=rn,this._document=fn,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,sn||this.attachAnchors()}get enabled(){return this._enabled}set enabled(ze){this._enabled=ze,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ze,this._startAnchor),this._toggleAnchorTabIndex(ze,this._endAnchor))}destroy(){const ze=this._startAnchor,ie=this._endAnchor;ze&&(ze.removeEventListener("focus",this.startAnchorListener),ze.remove()),ie&&(ie.removeEventListener("focus",this.endAnchorListener),ie.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(ze){return new Promise(ie=>{this._executeOnStable(()=>ie(this.focusInitialElement(ze)))})}focusFirstTabbableElementWhenReady(ze){return new Promise(ie=>{this._executeOnStable(()=>ie(this.focusFirstTabbableElement(ze)))})}focusLastTabbableElementWhenReady(ze){return new Promise(ie=>{this._executeOnStable(()=>ie(this.focusLastTabbableElement(ze)))})}_getRegionBoundary(ze){const ie=this._element.querySelectorAll(`[cdk-focus-region-${ze}], [cdkFocusRegion${ze}], [cdk-focus-${ze}]`);return"start"==ze?ie.length?ie[0]:this._getFirstTabbableElement(this._element):ie.length?ie[ie.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(ze){const ie=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(ie){if(!this._checker.isFocusable(ie)){const rn=this._getFirstTabbableElement(ie);return rn?.focus(ze),!!rn}return ie.focus(ze),!0}return this.focusFirstTabbableElement(ze)}focusFirstTabbableElement(ze){const ie=this._getRegionBoundary("start");return ie&&ie.focus(ze),!!ie}focusLastTabbableElement(ze){const ie=this._getRegionBoundary("end");return ie&&ie.focus(ze),!!ie}hasAttached(){return this._hasAttached}_getFirstTabbableElement(ze){if(this._checker.isFocusable(ze)&&this._checker.isTabbable(ze))return ze;const ie=ze.children;for(let rn=0;rn =0;rn--){const fn=ie[rn].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(ie[rn]):null;if(fn)return fn}return null}_createAnchor(){const ze=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,ze),ze.classList.add("cdk-visually-hidden"),ze.classList.add("cdk-focus-trap-anchor"),ze.setAttribute("aria-hidden","true"),ze}_toggleAnchorTabIndex(ze,ie){ze?ie.setAttribute("tabindex","0"):ie.removeAttribute("tabindex")}toggleAnchors(ze){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ze,this._startAnchor),this._toggleAnchorTabIndex(ze,this._endAnchor))}_executeOnStable(ze){this._ngZone.isStable?ze():this._ngZone.onStable.pipe((0,V.q)(1)).subscribe(ze)}}let ke=(()=>{class se{constructor(ie,rn,fn){this._checker=ie,this._ngZone=rn,this._document=fn}create(ie,rn=!1){return new vn(ie,this._checker,this._ngZone,this._document,rn)}}return se.\u0275fac=function(ie){return new(ie||se)(p.LFG(Fe),p.LFG(p.R0b),p.LFG(u.K0))},se.\u0275prov=p.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})(),un=(()=>{class se{constructor(ie,rn,fn){this._elementRef=ie,this._focusTrapFactory=rn,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(ie){this.focusTrap.enabled=(0,ct.Ig)(ie)}get autoCapture(){return this._autoCapture}set autoCapture(ie){this._autoCapture=(0,ct.Ig)(ie)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(ie){const rn=ie.autoCapture;rn&&!rn.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,x.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return se.\u0275fac=function(ie){return new(ie||se)(p.Y36(p.SBq),p.Y36(ke),p.Y36(u.K0))},se.\u0275dir=p.lG2({type:se,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[p.TTD]}),se})();function te(se){return 0===se.buttons||0===se.offsetX&&0===se.offsetY}function it(se){const ze=se.touches&&se.touches[0]||se.changedTouches&&se.changedTouches[0];return!(!ze||-1!==ze.identifier||null!=ze.radiusX&&1!==ze.radiusX||null!=ze.radiusY&&1!==ze.radiusY)}const K=new p.OlP("cdk-input-modality-detector-options"),Tt={ignoreKeys:[w.zL,w.jx,w.b2,w.MW,w.JU]},le=(0,x.i$)({passive:!0,capture:!0});let be=(()=>{class se{constructor(ie,rn,fn,sn){this._platform=ie,this._mostRecentTarget=null,this._modality=new T.X(null),this._lastTouchMs=0,this._onKeydown=ge=>{this._options?.ignoreKeys?.some(Nt=>Nt===ge.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,x.sA)(ge))},this._onMousedown=ge=>{Date.now()-this._lastTouchMs<650||(this._modality.next(te(ge)?"keyboard":"mouse"),this._mostRecentTarget=(0,x.sA)(ge))},this._onTouchstart=ge=>{it(ge)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,x.sA)(ge))},this._options={...Tt,...sn},this.modalityDetected=this._modality.pipe((0,W.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,tt.x)()),ie.isBrowser&&rn.runOutsideAngular(()=>{fn.addEventListener("keydown",this._onKeydown,le),fn.addEventListener("mousedown",this._onMousedown,le),fn.addEventListener("touchstart",this._onTouchstart,le)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,le),document.removeEventListener("mousedown",this._onMousedown,le),document.removeEventListener("touchstart",this._onTouchstart,le))}}return se.\u0275fac=function(ie){return new(ie||se)(p.LFG(x.t4),p.LFG(p.R0b),p.LFG(u.K0),p.LFG(K,8))},se.\u0275prov=p.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})();const De=new p.OlP("liveAnnouncerElement",{providedIn:"root",factory:function hn(){return null}}),qn=new p.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let mi=(()=>{class se{constructor(ie,rn,fn,sn){this._ngZone=rn,this._defaultOptions=sn,this._document=fn,this._liveElement=ie||this._createLiveElement()}announce(ie,...rn){const fn=this._defaultOptions;let sn,ge;return 1===rn.length&&"number"==typeof rn[0]?ge=rn[0]:[sn,ge]=rn,this.clear(),clearTimeout(this._previousTimeout),sn||(sn=fn&&fn.politeness?fn.politeness:"polite"),null==ge&&fn&&(ge=fn.duration),this._liveElement.setAttribute("aria-live",sn),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Nt=>this._currentResolve=Nt)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=ie,"number"==typeof ge&&(this._previousTimeout=setTimeout(()=>this.clear(),ge)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const ie="cdk-live-announcer-element",rn=this._document.getElementsByClassName(ie),fn=this._document.createElement("div");for(let sn=0;sn {class se{constructor(ie,rn,fn,sn,ge){this._ngZone=ie,this._platform=rn,this._inputModalityDetector=fn,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new v.xQ,this._rootNodeFocusAndBlurListener=Nt=>{for(let zt=(0,x.sA)(Nt);zt;zt=zt.parentElement)"focus"===Nt.type?this._onFocus(Nt,zt):this._onBlur(Nt,zt)},this._document=sn,this._detectionMode=ge?.detectionMode||0}monitor(ie,rn=!1){const fn=(0,ct.fI)(ie);if(!this._platform.isBrowser||1!==fn.nodeType)return(0,U.of)(null);const sn=(0,x.kV)(fn)||this._getDocument(),ge=this._elementInfo.get(fn);if(ge)return rn&&(ge.checkChildren=!0),ge.subject;const Nt={checkChildren:rn,subject:new v.xQ,rootNode:sn};return this._elementInfo.set(fn,Nt),this._registerGlobalListeners(Nt),Nt.subject}stopMonitoring(ie){const rn=(0,ct.fI)(ie),fn=this._elementInfo.get(rn);fn&&(fn.subject.complete(),this._setClasses(rn),this._elementInfo.delete(rn),this._removeGlobalListeners(fn))}focusVia(ie,rn,fn){const sn=(0,ct.fI)(ie);sn===this._getDocument().activeElement?this._getClosestElementsInfo(sn).forEach(([Nt,Se])=>this._originChanged(Nt,rn,Se)):(this._setOrigin(rn),"function"==typeof sn.focus&&sn.focus(fn))}ngOnDestroy(){this._elementInfo.forEach((ie,rn)=>this.stopMonitoring(rn))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(ie){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(ie)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:ie&&this._isLastInteractionFromInputLabel(ie)?"mouse":"program"}_shouldBeAttributedToTouch(ie){return 1===this._detectionMode||!!ie?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(ie,rn){ie.classList.toggle("cdk-focused",!!rn),ie.classList.toggle("cdk-touch-focused","touch"===rn),ie.classList.toggle("cdk-keyboard-focused","keyboard"===rn),ie.classList.toggle("cdk-mouse-focused","mouse"===rn),ie.classList.toggle("cdk-program-focused","program"===rn)}_setOrigin(ie,rn=!1){this._ngZone.runOutsideAngular(()=>{this._origin=ie,this._originFromTouchInteraction="touch"===ie&&rn,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(ie,rn){const fn=this._elementInfo.get(rn),sn=(0,x.sA)(ie);!fn||!fn.checkChildren&&rn!==sn||this._originChanged(rn,this._getFocusOrigin(sn),fn)}_onBlur(ie,rn){const fn=this._elementInfo.get(rn);!fn||fn.checkChildren&&ie.relatedTarget instanceof Node&&rn.contains(ie.relatedTarget)||(this._setClasses(rn),this._emitOrigin(fn,null))}_emitOrigin(ie,rn){ie.subject.observers.length&&this._ngZone.run(()=>ie.subject.next(rn))}_registerGlobalListeners(ie){if(!this._platform.isBrowser)return;const rn=ie.rootNode,fn=this._rootNodeFocusListenerCount.get(rn)||0;fn||this._ngZone.runOutsideAngular(()=>{rn.addEventListener("focus",this._rootNodeFocusAndBlurListener,hi),rn.addEventListener("blur",this._rootNodeFocusAndBlurListener,hi)}),this._rootNodeFocusListenerCount.set(rn,fn+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,st.R)(this._stopInputModalityDetector)).subscribe(sn=>{this._setOrigin(sn,!0)}))}_removeGlobalListeners(ie){const rn=ie.rootNode;if(this._rootNodeFocusListenerCount.has(rn)){const fn=this._rootNodeFocusListenerCount.get(rn);fn>1?this._rootNodeFocusListenerCount.set(rn,fn-1):(rn.removeEventListener("focus",this._rootNodeFocusAndBlurListener,hi),rn.removeEventListener("blur",this._rootNodeFocusAndBlurListener,hi),this._rootNodeFocusListenerCount.delete(rn))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(ie,rn,fn){this._setClasses(ie,rn),this._emitOrigin(fn,rn),this._lastFocusOrigin=rn}_getClosestElementsInfo(ie){const rn=[];return this._elementInfo.forEach((fn,sn)=>{(sn===ie||fn.checkChildren&&sn.contains(ie))&&rn.push([sn,fn])}),rn}_isLastInteractionFromInputLabel(ie){const{_mostRecentTarget:rn,mostRecentModality:fn}=this._inputModalityDetector;if("mouse"!==fn||!rn||rn===ie||"INPUT"!==ie.nodeName&&"TEXTAREA"!==ie.nodeName||ie.disabled)return!1;const sn=ie.labels;if(sn)for(let ge=0;ge {class se{constructor(ie,rn){this._elementRef=ie,this._focusMonitor=rn,this._focusOrigin=null,this.cdkFocusChange=new p.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const ie=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(ie,1===ie.nodeType&&ie.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(rn=>{this._focusOrigin=rn,this.cdkFocusChange.emit(rn)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return se.\u0275fac=function(ie){return new(ie||se)(p.Y36(p.SBq),p.Y36(Yn))},se.\u0275dir=p.lG2({type:se,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),se})();const Je="cdk-high-contrast-black-on-white",gn="cdk-high-contrast-white-on-black",Ye="cdk-high-contrast-active";let Ee=(()=>{class se{constructor(ie,rn){this._platform=ie,this._document=rn,this._breakpointSubscription=(0,p.f3M)(Dt.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const ie=this._document.createElement("div");ie.style.backgroundColor="rgb(1,2,3)",ie.style.position="absolute",this._document.body.appendChild(ie);const rn=this._document.defaultView||window,fn=rn&&rn.getComputedStyle?rn.getComputedStyle(ie):null,sn=(fn&&fn.backgroundColor||"").replace(/ /g,"");switch(ie.remove(),sn){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const ie=this._document.body.classList;ie.remove(Ye,Je,gn),this._hasCheckedHighContrastMode=!0;const rn=this.getHighContrastMode();1===rn?ie.add(Ye,Je):2===rn&&ie.add(Ye,gn)}}}return se.\u0275fac=function(ie){return new(ie||se)(p.LFG(x.t4),p.LFG(u.K0))},se.\u0275prov=p.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})(),Xe=(()=>{class se{constructor(ie){ie._applyBodyHighContrastModeCssClasses()}}return se.\u0275fac=function(ie){return new(ie||se)(p.LFG(Ee))},se.\u0275mod=p.oAB({type:se}),se.\u0275inj=p.cJS({imports:[bt.Q8]}),se})()},40445:(X,j,h)=>{"use strict";h.d(j,{Is:()=>U,vT:()=>P});var u=h(94650),p=h(36895);const x=new u.OlP("cdk-dir-doc",{providedIn:"root",factory:function v(){return(0,u.f3M)(p.K0)}}),t=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let U=(()=>{class O{constructor(N){if(this.value="ltr",this.change=new u.vpe,N){const W=N.documentElement?N.documentElement.dir:null;this.value=function T(O){const L=O?.toLowerCase()||"";return"auto"===L&&typeof navigator<"u"&&navigator?.language?t.test(navigator.language)?"rtl":"ltr":"rtl"===L?"rtl":"ltr"}((N.body?N.body.dir:null)||W||"ltr")}}ngOnDestroy(){this.change.complete()}}return O.\u0275fac=function(N){return new(N||O)(u.LFG(x,8))},O.\u0275prov=u.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})(),P=(()=>{class O{}return O.\u0275fac=function(N){return new(N||O)},O.\u0275mod=u.oAB({type:O}),O.\u0275inj=u.cJS({}),O})()},64425:(X,j,h)=>{"use strict";h.d(j,{TU:()=>v});var u=h(36895),p=h(94650);class x{constructor(P,O){this._document=O;const L=this._textarea=this._document.createElement("textarea"),N=L.style;N.position="fixed",N.top=N.opacity="0",N.left="-999em",L.setAttribute("aria-hidden","true"),L.value=P,L.readOnly=!0,this._document.body.appendChild(L)}copy(){const P=this._textarea;let O=!1;try{if(P){const L=this._document.activeElement;P.select(),P.setSelectionRange(0,P.value.length),O=this._document.execCommand("copy"),L&&L.focus()}}catch{}return O}destroy(){const P=this._textarea;P&&(P.remove(),this._textarea=void 0)}}let v=(()=>{class w{constructor(O){this._document=O}copy(O){const L=this.beginCopy(O),N=L.copy();return L.destroy(),N}beginCopy(O){return new x(O,this._document)}}return w.\u0275fac=function(O){return new(O||w)(p.LFG(u.K0))},w.\u0275prov=p.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},21281:(X,j,h)=>{"use strict";h.d(j,{Eq:()=>t,HM:()=>T,Ig:()=>p,du:()=>w,fI:()=>U,su:()=>x,t6:()=>v});var u=h(94650);function p(P){return null!=P&&"false"!=`${P}`}function x(P,O=0){return v(P)?Number(P):O}function v(P){return!isNaN(parseFloat(P))&&!isNaN(Number(P))}function t(P){return Array.isArray(P)?P:[P]}function T(P){return null==P?"":"string"==typeof P?P:`${P}px`}function U(P){return P instanceof u.SBq?P.nativeElement:P}function w(P,O=/\s+/){const L=[];if(null!=P){const N=Array.isArray(P)?P:`${P}`.split(O);for(const V of N){const W=`${V}`.trim();W&&L.push(W)}}return L}},95017:(X,j,h)=>{"use strict";h.d(j,{A8:()=>L,Ov:()=>P,Z9:()=>t,eX:()=>w,k:()=>N,o2:()=>v,yy:()=>U});var u=h(71762),p=h(8929),x=h(94650);class v{}function t(V){return V&&"function"==typeof V.connect&&!(V instanceof u.c)}class U{applyChanges(W,tt,st,ct,bt){W.forEachOperation((Dt,wt,qt)=>{let Jt,yt;if(null==Dt.previousIndex){const At=st(Dt,wt,qt);Jt=tt.createEmbeddedView(At.templateRef,At.context,At.index),yt=1}else null==qt?(tt.remove(wt),yt=3):(Jt=tt.get(wt),tt.move(Jt,qt),yt=2);bt&&bt({context:Jt?.context,operation:yt,record:Dt})})}detach(){}}class w{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(W,tt,st,ct,bt){W.forEachOperation((Dt,wt,qt)=>{let Jt,yt;null==Dt.previousIndex?(Jt=this._insertView(()=>st(Dt,wt,qt),qt,tt,ct(Dt)),yt=Jt?1:0):null==qt?(this._detachAndCacheView(wt,tt),yt=3):(Jt=this._moveView(wt,qt,tt,ct(Dt)),yt=2),bt&&bt({context:Jt?.context,operation:yt,record:Dt})})}detach(){for(const W of this._viewCache)W.destroy();this._viewCache=[]}_insertView(W,tt,st,ct){const bt=this._insertViewFromCache(tt,st);if(bt)return void(bt.context.$implicit=ct);const Dt=W();return st.createEmbeddedView(Dt.templateRef,Dt.context,Dt.index)}_detachAndCacheView(W,tt){const st=tt.detach(W);this._maybeCacheView(st,tt)}_moveView(W,tt,st,ct){const bt=st.get(W);return st.move(bt,tt),bt.context.$implicit=ct,bt}_maybeCacheView(W,tt){if(this._viewCache.length this._markSelected(bt)):this._markSelected(tt[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...W){this._verifyValueAssignment(W),W.forEach(st=>this._markSelected(st));const tt=this._hasQueuedChanges();return this._emitChangeEvent(),tt}deselect(...W){this._verifyValueAssignment(W),W.forEach(st=>this._unmarkSelected(st));const tt=this._hasQueuedChanges();return this._emitChangeEvent(),tt}setSelection(...W){this._verifyValueAssignment(W);const tt=this.selected,st=new Set(W);W.forEach(bt=>this._markSelected(bt)),tt.filter(bt=>!st.has(bt)).forEach(bt=>this._unmarkSelected(bt));const ct=this._hasQueuedChanges();return this._emitChangeEvent(),ct}toggle(W){return this.isSelected(W)?this.deselect(W):this.select(W)}clear(W=!0){this._unmarkAll();const tt=this._hasQueuedChanges();return W&&this._emitChangeEvent(),tt}isSelected(W){if(this.compareWith){for(const tt of this._selection)if(this.compareWith(tt,W))return!0;return!1}return this._selection.has(W)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(W){this._multiple&&this.selected&&this._selected.sort(W)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(W){this.isSelected(W)||(this._multiple||this._unmarkAll(),this.isSelected(W)||this._selection.add(W),this._emitChanges&&this._selectedToEmit.push(W))}_unmarkSelected(W){this.isSelected(W)&&(this._selection.delete(W),this._emitChanges&&this._deselectedToEmit.push(W))}_unmarkAll(){this.isEmpty()||this._selection.forEach(W=>this._unmarkSelected(W))}_verifyValueAssignment(W){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}let L=(()=>{class V{constructor(){this._listeners=[]}notify(tt,st){for(let ct of this._listeners)ct(tt,st)}listen(tt){return this._listeners.push(tt),()=>{this._listeners=this._listeners.filter(st=>tt!==st)}}ngOnDestroy(){this._listeners=[]}}return V.\u0275fac=function(tt){return new(tt||V)},V.\u0275prov=x.Yz7({token:V,factory:V.\u0275fac,providedIn:"root"}),V})();const N=new x.OlP("_ViewRepeater")},53977:(X,j,h)=>{"use strict";h.d(j,{Zt:()=>rn,Wj:()=>Je,_t:()=>fn,bA:()=>un});var u=h(94650),p=h(36895),x=h(67376),v=h(83353),t=h(21281),T=h(12687),U=h(8929),w=h(42654),P=h(56498),O=h(20353),L=h(84241);function V(sn){const{subscriber:ge,counter:Nt,period:Se}=sn;ge.next(Nt),this.schedule({subscriber:ge,counter:Nt+1,period:Se},Se)}var W=h(90352),tt=h(36787),st=h(7625),ct=h(1059),bt=h(24850),Dt=h(72986),wt=h(22868),qt=h(87545),Jt=h(40445);function yt(sn,ge,Nt){for(let Se in ge)if(ge.hasOwnProperty(Se)){const zt=ge[Se];zt?sn.setProperty(Se,zt,Nt?.has(Se)?"important":""):sn.removeProperty(Se)}return sn}function At(sn,ge){const Nt=ge?"":"none";yt(sn.style,{"touch-action":ge?"":"none","-webkit-user-drag":ge?"":"none","-webkit-tap-highlight-color":ge?"":"transparent","user-select":Nt,"-ms-user-select":Nt,"-webkit-user-select":Nt,"-moz-user-select":Nt})}function xt(sn,ge,Nt){yt(sn.style,{position:ge?"":"fixed",top:ge?"":"0",opacity:ge?"":"0",left:ge?"":"-999em"},Nt)}function pt(sn,ge){return ge&&"none"!=ge?sn+" "+ge:sn}function Ot(sn){const ge=sn.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(sn)*ge}function St(sn,ge){return sn.getPropertyValue(ge).split(",").map(Se=>Se.trim())}function ce(sn){const ge=sn.getBoundingClientRect();return{top:ge.top,right:ge.right,bottom:ge.bottom,left:ge.left,width:ge.width,height:ge.height,x:ge.x,y:ge.y}}function Vt(sn,ge,Nt){const{top:Se,bottom:zt,left:Ae,right:Ie}=sn;return Nt>=Se&&Nt<=zt&&ge>=Ae&&ge<=Ie}function ve(sn,ge,Nt){sn.top+=ge,sn.bottom=sn.top+sn.height,sn.left+=Nt,sn.right=sn.left+sn.width}function fe(sn,ge,Nt,Se){const{top:zt,right:Ae,bottom:Ie,left:Sn,width:Ei,height:Vi}=sn,cn=Ei*ge,pn=Vi*ge;return Se>zt-pn&&Se Sn-cn&&Nt {this.positions.set(Nt,{scrollPosition:{top:Nt.scrollTop,left:Nt.scrollLeft},clientRect:ce(Nt)})})}handleScroll(ge){const Nt=(0,v.sA)(ge),Se=this.positions.get(Nt);if(!Se)return null;const zt=Se.scrollPosition;let Ae,Ie;if(Nt===this._document){const Vi=this.getViewportScrollPosition();Ae=Vi.top,Ie=Vi.left}else Ae=Nt.scrollTop,Ie=Nt.scrollLeft;const Sn=zt.top-Ae,Ei=zt.left-Ie;return this.positions.forEach((Vi,cn)=>{Vi.clientRect&&Nt!==cn&&Nt.contains(cn)&&ve(Vi.clientRect,Sn,Ei)}),zt.top=Ae,zt.left=Ie,{top:Sn,left:Ei}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function Fe(sn){const ge=sn.cloneNode(!0),Nt=ge.querySelectorAll("[id]"),Se=sn.nodeName.toLowerCase();ge.removeAttribute("id");for(let zt=0;zt {if(this.beforeStarted.next(),this._handles.length){const Ei=this._getTargetHandle(Sn);Ei&&!this._disabledHandles.has(Ei)&&!this.disabled&&this._initializeDragSequence(Ei,Sn)}else this.disabled||this._initializeDragSequence(this._rootElement,Sn)},this._pointerMove=Sn=>{const Ei=this._getPointerPositionOnPage(Sn);if(!this._hasStartedDragging){if(Math.abs(Ei.x-this._pickupPositionOnPage.x)+Math.abs(Ei.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const ai=Date.now()>=this._dragStartTime+this._getDragStartDelay(Sn),bi=this._dropContainer;if(!ai)return void this._endDragSequence(Sn);(!bi||!bi.isDragging()&&!bi.isReceiving())&&(Sn.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(Sn)))}return}Sn.preventDefault();const Vi=this._getConstrainedPointerPosition(Ei);if(this._hasMoved=!0,this._lastKnownPointerPosition=Ei,this._updatePointerDirectionDelta(Vi),this._dropContainer)this._updateActiveDropContainer(Vi,Ei);else{const cn=this.constrainPosition?this._initialClientRect:this._pickupPositionOnPage,pn=this._activeTransform;pn.x=Vi.x-cn.x+this._passiveTransform.x,pn.y=Vi.y-cn.y+this._passiveTransform.y,this._applyRootElementTransform(pn.x,pn.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:Vi,event:Sn,distance:this._getDragDistance(Vi),delta:this._pointerDirectionDelta})})},this._pointerUp=Sn=>{this._endDragSequence(Sn)},this._nativeDragStart=Sn=>{if(this._handles.length){const Ei=this._getTargetHandle(Sn);Ei&&!this._disabledHandles.has(Ei)&&!this.disabled&&Sn.preventDefault()}else this.disabled||Sn.preventDefault()},this.withRootElement(ge).withParent(Nt.parentDragRef||null),this._parentPositions=new Le(Se),Ie.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(ge){const Nt=(0,t.Ig)(ge);Nt!==this._disabled&&(this._disabled=Nt,this._toggleNativeDragInteractions(),this._handles.forEach(Se=>At(Se,Nt)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(ge){this._handles=ge.map(Se=>(0,t.fI)(Se)),this._handles.forEach(Se=>At(Se,this.disabled)),this._toggleNativeDragInteractions();const Nt=new Set;return this._disabledHandles.forEach(Se=>{this._handles.indexOf(Se)>-1&&Nt.add(Se)}),this._disabledHandles=Nt,this}withPreviewTemplate(ge){return this._previewTemplate=ge,this}withPlaceholderTemplate(ge){return this._placeholderTemplate=ge,this}withRootElement(ge){const Nt=(0,t.fI)(ge);return Nt!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{Nt.addEventListener("mousedown",this._pointerDown,re),Nt.addEventListener("touchstart",this._pointerDown,jt),Nt.addEventListener("dragstart",this._nativeDragStart,re)}),this._initialTransform=void 0,this._rootElement=Nt),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(ge){return this._boundaryElement=ge?(0,t.fI)(ge):null,this._resizeSubscription.unsubscribe(),ge&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(ge){return this._parentDragRef=ge,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),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(ge){!this._disabledHandles.has(ge)&&this._handles.indexOf(ge)>-1&&(this._disabledHandles.add(ge),At(ge,!0))}enableHandle(ge){this._disabledHandles.has(ge)&&(this._disabledHandles.delete(ge),At(ge,this.disabled))}withDirection(ge){return this._direction=ge,this}_withDropContainer(ge){this._dropContainer=ge}getFreeDragPosition(){const ge=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:ge.x,y:ge.y}}setFreeDragPosition(ge){return this._activeTransform={x:0,y:0},this._passiveTransform.x=ge.x,this._passiveTransform.y=ge.y,this._dropContainer||this._applyRootElementTransform(ge.x,ge.y),this}withPreviewContainer(ge){return this._previewContainer=ge,this}_sortFromLastPointerPosition(){const ge=this._lastKnownPointerPosition;ge&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(ge),ge)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview?.remove(),this._previewRef?.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(ge){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,event:ge}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(ge),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const Nt=this._getPointerPositionOnPage(ge);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(Nt),dropPoint:Nt,event:ge})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(ge){xe(ge)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const Nt=this._dropContainer;if(Nt){const Se=this._rootElement,zt=Se.parentNode,Ae=this._placeholder=this._createPlaceholderElement(),Ie=this._anchor=this._anchor||this._document.createComment(""),Sn=this._getShadowRoot();zt.insertBefore(Ie,Se),this._initialTransform=Se.style.transform||"",this._preview=this._createPreviewElement(),xt(Se,!1,oe),this._document.body.appendChild(zt.replaceChild(Ae,Se)),this._getPreviewInsertionPoint(zt,Sn).appendChild(this._preview),this.started.next({source:this,event:ge}),Nt.start(),this._initialContainer=Nt,this._initialIndex=Nt.getItemIndex(this)}else this.started.next({source:this,event:ge}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(Nt?Nt.getScrollableParents():[])}_initializeDragSequence(ge,Nt){this._parentDragRef&&Nt.stopPropagation();const Se=this.isDragging(),zt=xe(Nt),Ae=!zt&&0!==Nt.button,Ie=this._rootElement,Sn=(0,v.sA)(Nt),Ei=!zt&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),Vi=zt?(0,T.yG)(Nt):(0,T.X6)(Nt);if(Sn&&Sn.draggable&&"mousedown"===Nt.type&&Nt.preventDefault(),Se||Ae||Ei||Vi)return;if(this._handles.length){const We=Ie.style;this._rootElementTapHighlight=We.webkitTapHighlightColor||"",We.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._initialClientRect=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(We=>this._updateOnScroll(We)),this._boundaryElement&&(this._boundaryRect=ce(this._boundaryElement));const cn=this._previewTemplate;this._pickupPositionInElement=cn&&cn.template&&!cn.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,ge,Nt);const pn=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(Nt);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:pn.x,y:pn.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,Nt)}_cleanupDragArtifacts(ge){xt(this._rootElement,!0,oe),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const Nt=this._dropContainer,Se=Nt.getItemIndex(this),zt=this._getPointerPositionOnPage(ge),Ae=this._getDragDistance(zt),Ie=Nt._isOverContainer(zt.x,zt.y);this.ended.next({source:this,distance:Ae,dropPoint:zt,event:ge}),this.dropped.next({item:this,currentIndex:Se,previousIndex:this._initialIndex,container:Nt,previousContainer:this._initialContainer,isPointerOverContainer:Ie,distance:Ae,dropPoint:zt,event:ge}),Nt.drop(this,Se,this._initialIndex,this._initialContainer,Ie,Ae,zt,ge),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:ge,y:Nt},{x:Se,y:zt}){let Ae=this._initialContainer._getSiblingContainerFromPosition(this,ge,Nt);!Ae&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(ge,Nt)&&(Ae=this._initialContainer),Ae&&Ae!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=Ae,this._dropContainer.enter(this,ge,Nt,Ae===this._initialContainer&&Ae.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:Ae,currentIndex:Ae.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(Se,zt),this._dropContainer._sortItem(this,ge,Nt,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(ge,Nt):this._applyPreviewTransform(ge-this._pickupPositionInElement.x,Nt-this._pickupPositionInElement.y))}_createPreviewElement(){const ge=this._previewTemplate,Nt=this.previewClass,Se=ge?ge.template:null;let zt;if(Se&&ge){const Ae=ge.matchSize?this._initialClientRect:null,Ie=ge.viewContainer.createEmbeddedView(Se,ge.context);Ie.detectChanges(),zt=vn(Ie,this._document),this._previewRef=Ie,ge.matchSize?ke(zt,Ae):zt.style.transform=en(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else zt=Fe(this._rootElement),ke(zt,this._initialClientRect),this._initialTransform&&(zt.style.transform=this._initialTransform);return yt(zt.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},oe),At(zt,!1),zt.classList.add("cdk-drag-preview"),zt.setAttribute("dir",this._direction),Nt&&(Array.isArray(Nt)?Nt.forEach(Ae=>zt.classList.add(Ae)):zt.classList.add(Nt)),zt}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const ge=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(ge.left,ge.top);const Nt=function Bt(sn){const ge=getComputedStyle(sn),Nt=St(ge,"transition-property"),Se=Nt.find(Sn=>"transform"===Sn||"all"===Sn);if(!Se)return 0;const zt=Nt.indexOf(Se),Ae=St(ge,"transition-duration"),Ie=St(ge,"transition-delay");return Ot(Ae[zt])+Ot(Ie[zt])}(this._preview);return 0===Nt?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(Se=>{const zt=Ie=>{(!Ie||(0,v.sA)(Ie)===this._preview&&"transform"===Ie.propertyName)&&(this._preview?.removeEventListener("transitionend",zt),Se(),clearTimeout(Ae))},Ae=setTimeout(zt,1.5*Nt);this._preview.addEventListener("transitionend",zt)}))}_createPlaceholderElement(){const ge=this._placeholderTemplate,Nt=ge?ge.template:null;let Se;return Nt?(this._placeholderRef=ge.viewContainer.createEmbeddedView(Nt,ge.context),this._placeholderRef.detectChanges(),Se=vn(this._placeholderRef,this._document)):Se=Fe(this._rootElement),Se.style.pointerEvents="none",Se.classList.add("cdk-drag-placeholder"),Se}_getPointerPositionInElement(ge,Nt,Se){const zt=Nt===this._rootElement?null:Nt,Ae=zt?zt.getBoundingClientRect():ge,Ie=xe(Se)?Se.targetTouches[0]:Se,Sn=this._getViewportScrollPosition();return{x:Ae.left-ge.left+(Ie.pageX-Ae.left-Sn.left),y:Ae.top-ge.top+(Ie.pageY-Ae.top-Sn.top)}}_getPointerPositionOnPage(ge){const Nt=this._getViewportScrollPosition(),Se=xe(ge)?ge.touches[0]||ge.changedTouches[0]||{pageX:0,pageY:0}:ge,zt=Se.pageX-Nt.left,Ae=Se.pageY-Nt.top;if(this._ownerSVGElement){const Ie=this._ownerSVGElement.getScreenCTM();if(Ie){const Sn=this._ownerSVGElement.createSVGPoint();return Sn.x=zt,Sn.y=Ae,Sn.matrixTransform(Ie.inverse())}}return{x:zt,y:Ae}}_getConstrainedPointerPosition(ge){const Nt=this._dropContainer?this._dropContainer.lockAxis:null;let{x:Se,y:zt}=this.constrainPosition?this.constrainPosition(ge,this,this._initialClientRect,this._pickupPositionInElement):ge;if("x"===this.lockAxis||"x"===Nt?zt=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===Nt)&&(Se=this._pickupPositionOnPage.x),this._boundaryRect){const{x:Ae,y:Ie}=this._pickupPositionInElement,Sn=this._boundaryRect,{width:Ei,height:Vi}=this._getPreviewRect(),cn=Sn.top+Ie,pn=Sn.bottom-(Vi-Ie);Se=_n(Se,Sn.left+Ae,Sn.right-(Ei-Ae)),zt=_n(zt,cn,pn)}return{x:Se,y:zt}}_updatePointerDirectionDelta(ge){const{x:Nt,y:Se}=ge,zt=this._pointerDirectionDelta,Ae=this._pointerPositionAtLastDirectionChange,Ie=Math.abs(Nt-Ae.x),Sn=Math.abs(Se-Ae.y);return Ie>this._config.pointerDirectionChangeThreshold&&(zt.x=Nt>Ae.x?1:-1,Ae.x=Nt),Sn>this._config.pointerDirectionChangeThreshold&&(zt.y=Se>Ae.y?1:-1,Ae.y=Se),zt}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const ge=this._handles.length>0||!this.isDragging();ge!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=ge,At(this._rootElement,ge))}_removeRootElementListeners(ge){ge.removeEventListener("mousedown",this._pointerDown,re),ge.removeEventListener("touchstart",this._pointerDown,jt),ge.removeEventListener("dragstart",this._nativeDragStart,re)}_applyRootElementTransform(ge,Nt){const Se=en(ge,Nt),zt=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=zt.transform&&"none"!=zt.transform?zt.transform:""),zt.transform=pt(Se,this._initialTransform)}_applyPreviewTransform(ge,Nt){const Se=this._previewTemplate?.template?void 0:this._initialTransform,zt=en(ge,Nt);this._preview.style.transform=pt(zt,Se)}_getDragDistance(ge){const Nt=this._pickupPositionOnPage;return Nt?{x:ge.x-Nt.x,y:ge.y-Nt.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:ge,y:Nt}=this._passiveTransform;if(0===ge&&0===Nt||this.isDragging()||!this._boundaryElement)return;const Se=this._rootElement.getBoundingClientRect(),zt=this._boundaryElement.getBoundingClientRect();if(0===zt.width&&0===zt.height||0===Se.width&&0===Se.height)return;const Ae=zt.left-Se.left,Ie=Se.right-zt.right,Sn=zt.top-Se.top,Ei=Se.bottom-zt.bottom;zt.width>Se.width?(Ae>0&&(ge+=Ae),Ie>0&&(ge-=Ie)):ge=0,zt.height>Se.height?(Sn>0&&(Nt+=Sn),Ei>0&&(Nt-=Ei)):Nt=0,(ge!==this._passiveTransform.x||Nt!==this._passiveTransform.y)&&this.setFreeDragPosition({y:Nt,x:ge})}_getDragStartDelay(ge){const Nt=this.dragStartDelay;return"number"==typeof Nt?Nt:xe(ge)?Nt.touch:Nt?Nt.mouse:0}_updateOnScroll(ge){const Nt=this._parentPositions.handleScroll(ge);if(Nt){const Se=(0,v.sA)(ge);this._boundaryRect&&Se!==this._boundaryElement&&Se.contains(this._boundaryElement)&&ve(this._boundaryRect,Nt.top,Nt.left),this._pickupPositionOnPage.x+=Nt.left,this._pickupPositionOnPage.y+=Nt.top,this._dropContainer||(this._activeTransform.x-=Nt.left,this._activeTransform.y-=Nt.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,v.kV)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(ge,Nt){const Se=this._previewContainer||"global";if("parent"===Se)return ge;if("global"===Se){const zt=this._document;return Nt||zt.fullscreenElement||zt.webkitFullscreenElement||zt.mozFullScreenElement||zt.msFullscreenElement||zt.body}return(0,t.fI)(Se)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect),this._previewRect}_getTargetHandle(ge){return this._handles.find(Nt=>ge.target&&(ge.target===Nt||Nt.contains(ge.target)))}}function en(sn,ge){return`translate3d(${Math.round(sn)}px, ${Math.round(ge)}px, 0)`}function _n(sn,ge,Nt){return Math.max(ge,Math.min(Nt,sn))}function xe(sn){return"t"===sn.type[0]}function vn(sn,ge){const Nt=sn.rootNodes;if(1===Nt.length&&Nt[0].nodeType===ge.ELEMENT_NODE)return Nt[0];const Se=ge.createElement("div");return Nt.forEach(zt=>Se.appendChild(zt)),Se}function ke(sn,ge){sn.style.width=`${ge.width}px`,sn.style.height=`${ge.height}px`,sn.style.transform=en(ge.left,ge.top)}function un(sn,ge,Nt){const Se=_i(ge,sn.length-1),zt=_i(Nt,sn.length-1);if(Se===zt)return;const Ae=sn[Se],Ie=zt 0)return null;const Sn="horizontal"===this.orientation,Ei=Ae.findIndex(To=>To.drag===ge),Vi=Ae[Ie],pn=Vi.clientRect,We=Ei>Ie?1:-1,ai=this._getItemOffsetPx(Ae[Ei].clientRect,pn,We),bi=this._getSiblingOffsetPx(Ei,Ae,We),so=Ae.slice();return un(Ae,Ei,Ie),Ae.forEach((To,Lo)=>{if(so[Lo]===To)return;const ha=To.drag===ge,Aa=ha?ai:bi,Ne=ha?ge.getPlaceholderElement():To.drag.getRootElement();To.offset+=Aa,Sn?(Ne.style.transform=pt(`translate3d(${Math.round(To.offset)}px, 0, 0)`,To.initialTransform),ve(To.clientRect,0,Aa)):(Ne.style.transform=pt(`translate3d(0, ${Math.round(To.offset)}px, 0)`,To.initialTransform),ve(To.clientRect,Aa,0))}),this._previousSwap.overlaps=Vt(pn,Nt,Se),this._previousSwap.drag=Vi.drag,this._previousSwap.delta=Sn?zt.x:zt.y,{previousIndex:Ei,currentIndex:Ie}}enter(ge,Nt,Se,zt){const Ae=null==zt||zt<0?this._getItemIndexFromPointerPosition(ge,Nt,Se):zt,Ie=this._activeDraggables,Sn=Ie.indexOf(ge),Ei=ge.getPlaceholderElement();let Vi=Ie[Ae];if(Vi===ge&&(Vi=Ie[Ae+1]),!Vi&&(null==Ae||-1===Ae||Ae -1&&Ie.splice(Sn,1),Vi&&!this._dragDropRegistry.isDragging(Vi)){const cn=Vi.getRootElement();cn.parentElement.insertBefore(Ei,cn),Ie.splice(Ae,0,ge)}else(0,t.fI)(this._element).appendChild(Ei),Ie.push(ge);Ei.style.transform="",this._cacheItemPositions()}withItems(ge){this._activeDraggables=ge.slice(),this._cacheItemPositions()}withSortPredicate(ge){this._sortPredicate=ge}reset(){this._activeDraggables.forEach(ge=>{const Nt=ge.getRootElement();if(Nt){const Se=this._itemPositions.find(zt=>zt.drag===ge)?.initialTransform;Nt.style.transform=Se||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(ge){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(Se=>Se.drag===ge)}updateOnScroll(ge,Nt){this._itemPositions.forEach(({clientRect:Se})=>{ve(Se,ge,Nt)}),this._itemPositions.forEach(({drag:Se})=>{this._dragDropRegistry.isDragging(Se)&&Se._sortFromLastPointerPosition()})}_cacheItemPositions(){const ge="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(Nt=>{const Se=Nt.getVisibleElement();return{drag:Nt,offset:0,initialTransform:Se.style.transform||"",clientRect:ce(Se)}}).sort((Nt,Se)=>ge?Nt.clientRect.left-Se.clientRect.left:Nt.clientRect.top-Se.clientRect.top)}_getItemOffsetPx(ge,Nt,Se){const zt="horizontal"===this.orientation;let Ae=zt?Nt.left-ge.left:Nt.top-ge.top;return-1===Se&&(Ae+=zt?Nt.width-ge.width:Nt.height-ge.height),Ae}_getSiblingOffsetPx(ge,Nt,Se){const zt="horizontal"===this.orientation,Ae=Nt[ge].clientRect,Ie=Nt[ge+-1*Se];let Sn=Ae[zt?"width":"height"]*Se;if(Ie){const Ei=zt?"left":"top",Vi=zt?"right":"bottom";-1===Se?Sn-=Ie.clientRect[Ei]-Ae[Vi]:Sn+=Ae[Ei]-Ie.clientRect[Vi]}return Sn}_shouldEnterAsFirstChild(ge,Nt){if(!this._activeDraggables.length)return!1;const Se=this._itemPositions,zt="horizontal"===this.orientation;if(Se[0].drag!==this._activeDraggables[0]){const Ie=Se[Se.length-1].clientRect;return zt?ge>=Ie.right:Nt>=Ie.bottom}{const Ie=Se[0].clientRect;return zt?ge<=Ie.left:Nt<=Ie.top}}_getItemIndexFromPointerPosition(ge,Nt,Se,zt){const Ae="horizontal"===this.orientation,Ie=this._itemPositions.findIndex(({drag:Sn,clientRect:Ei})=>{if(Sn===ge)return!1;if(zt){const Vi=Ae?zt.x:zt.y;if(Sn===this._previousSwap.drag&&this._previousSwap.overlaps&&Vi===this._previousSwap.delta)return!1}return Ae?Nt>=Math.floor(Ei.left)&&Nt =Math.floor(Ei.top)&&Se !0,this.sortPredicate=()=>!0,this.beforeStarted=new U.xQ,this.entered=new U.xQ,this.exited=new U.xQ,this.dropped=new U.xQ,this.sorted=new U.xQ,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=w.w.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new U.xQ,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function N(sn=0,ge=O.P){return(!(0,L.k)(sn)||sn<0)&&(sn=0),(!ge||"function"!=typeof ge.schedule)&&(ge=O.P),new P.y(Nt=>(Nt.add(ge.schedule(V,sn,{subscriber:Nt,counter:0,period:sn})),Nt))}(0,W.Z).pipe((0,st.R)(this._stopScrollTimers)).subscribe(()=>{const Ie=this._scrollNode,Sn=this.autoScrollStep;1===this._verticalScrollDirection?Ie.scrollBy(0,-Sn):2===this._verticalScrollDirection&&Ie.scrollBy(0,Sn),1===this._horizontalScrollDirection?Ie.scrollBy(-Sn,0):2===this._horizontalScrollDirection&&Ie.scrollBy(Sn,0)})},this.element=(0,t.fI)(ge),this._document=Se,this.withScrollableParents([this.element]),Nt.registerDropContainer(this),this._parentPositions=new Le(Se),this._sortStrategy=new oi(this.element,Nt),this._sortStrategy.withSortPredicate((Ie,Sn)=>this.sortPredicate(Ie,Sn,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._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(ge,Nt,Se,zt){this._draggingStarted(),null==zt&&this.sortingDisabled&&(zt=this._draggables.indexOf(ge)),this._sortStrategy.enter(ge,Nt,Se,zt),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:ge,container:this,currentIndex:this.getItemIndex(ge)})}exit(ge){this._reset(),this.exited.next({item:ge,container:this})}drop(ge,Nt,Se,zt,Ae,Ie,Sn,Ei={}){this._reset(),this.dropped.next({item:ge,currentIndex:Nt,previousIndex:Se,container:this,previousContainer:zt,isPointerOverContainer:Ae,distance:Ie,dropPoint:Sn,event:Ei})}withItems(ge){const Nt=this._draggables;return this._draggables=ge,ge.forEach(Se=>Se._withDropContainer(this)),this.isDragging()&&(Nt.filter(zt=>zt.isDragging()).every(zt=>-1===ge.indexOf(zt))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(ge){return this._sortStrategy.direction=ge,this}connectedTo(ge){return this._siblings=ge.slice(),this}withOrientation(ge){return this._sortStrategy.orientation=ge,this}withScrollableParents(ge){const Nt=(0,t.fI)(this.element);return this._scrollableElements=-1===ge.indexOf(Nt)?[Nt,...ge]:ge.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(ge){return this._isDragging?this._sortStrategy.getItemIndex(ge):this._draggables.indexOf(ge)}isReceiving(){return this._activeSiblings.size>0}_sortItem(ge,Nt,Se,zt){if(this.sortingDisabled||!this._clientRect||!fe(this._clientRect,.05,Nt,Se))return;const Ae=this._sortStrategy.sort(ge,Nt,Se,zt);Ae&&this.sorted.next({previousIndex:Ae.previousIndex,currentIndex:Ae.currentIndex,container:this,item:ge})}_startScrollingIfNecessary(ge,Nt){if(this.autoScrollDisabled)return;let Se,zt=0,Ae=0;if(this._parentPositions.positions.forEach((Ie,Sn)=>{Sn===this._document||!Ie.clientRect||Se||fe(Ie.clientRect,.05,ge,Nt)&&([zt,Ae]=function Rt(sn,ge,Nt,Se){const zt=K(ge,Se),Ae=Tt(ge,Nt);let Ie=0,Sn=0;if(zt){const Ei=sn.scrollTop;1===zt?Ei>0&&(Ie=1):sn.scrollHeight-Ei>sn.clientHeight&&(Ie=2)}if(Ae){const Ei=sn.scrollLeft;1===Ae?Ei>0&&(Sn=1):sn.scrollWidth-Ei>sn.clientWidth&&(Sn=2)}return[Ie,Sn]}(Sn,Ie.clientRect,ge,Nt),(zt||Ae)&&(Se=Sn))}),!zt&&!Ae){const{width:Ie,height:Sn}=this._viewportRuler.getViewportSize(),Ei={width:Ie,height:Sn,top:0,right:Ie,bottom:Sn,left:0};zt=K(Ei,Nt),Ae=Tt(Ei,ge),Se=window}Se&&(zt!==this._verticalScrollDirection||Ae!==this._horizontalScrollDirection||Se!==this._scrollNode)&&(this._verticalScrollDirection=zt,this._horizontalScrollDirection=Ae,this._scrollNode=Se,(zt||Ae)&&Se?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const ge=(0,t.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=ge.msScrollSnapType||ge.scrollSnapType||"",ge.scrollSnapType=ge.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const ge=(0,t.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(ge).clientRect}_reset(){this._isDragging=!1;const ge=(0,t.fI)(this.element).style;ge.scrollSnapType=ge.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(Nt=>Nt._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(ge,Nt){return null!=this._clientRect&&Vt(this._clientRect,ge,Nt)}_getSiblingContainerFromPosition(ge,Nt,Se){return this._siblings.find(zt=>zt._canReceive(ge,Nt,Se))}_canReceive(ge,Nt,Se){if(!this._clientRect||!Vt(this._clientRect,Nt,Se)||!this.enterPredicate(ge,this))return!1;const zt=this._getShadowRoot().elementFromPoint(Nt,Se);if(!zt)return!1;const Ae=(0,t.fI)(this.element);return zt===Ae||Ae.contains(zt)}_startReceiving(ge,Nt){const Se=this._activeSiblings;!Se.has(ge)&&Nt.every(zt=>this.enterPredicate(zt,this)||this._draggables.indexOf(zt)>-1)&&(Se.add(ge),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(ge){this._activeSiblings.delete(ge),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(ge=>{if(this.isDragging()){const Nt=this._parentPositions.handleScroll(ge);Nt&&this._sortStrategy.updateOnScroll(Nt.top,Nt.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const ge=(0,v.kV)((0,t.fI)(this.element));this._cachedShadowRoot=ge||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const ge=this._sortStrategy.getActiveItemsSnapshot().filter(Nt=>Nt.isDragging());this._siblings.forEach(Nt=>Nt._startReceiving(this,ge))}}function K(sn,ge){const{top:Nt,bottom:Se,height:zt}=sn,Ae=.05*zt;return ge>=Nt-Ae&&ge<=Nt+Ae?1:ge>=Se-Ae&&ge<=Se+Ae?2:0}function Tt(sn,ge){const{left:Nt,right:Se,width:zt}=sn,Ae=.05*zt;return ge>=Nt-Ae&&ge<=Nt+Ae?1:ge>=Se-Ae&&ge<=Se+Ae?2:0}const le=(0,v.i$)({passive:!1,capture:!0});let be=(()=>{class sn{constructor(Nt,Se){this._ngZone=Nt,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=zt=>zt.isDragging(),this.pointerMove=new U.xQ,this.pointerUp=new U.xQ,this.scroll=new U.xQ,this._preventDefaultWhileDragging=zt=>{this._activeDragInstances.length>0&&zt.preventDefault()},this._persistentTouchmoveListener=zt=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&zt.preventDefault(),this.pointerMove.next(zt))},this._document=Se}registerDropContainer(Nt){this._dropInstances.has(Nt)||this._dropInstances.add(Nt)}registerDragItem(Nt){this._dragInstances.add(Nt),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,le)})}removeDropContainer(Nt){this._dropInstances.delete(Nt)}removeDragItem(Nt){this._dragInstances.delete(Nt),this.stopDragging(Nt),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,le)}startDragging(Nt,Se){if(!(this._activeDragInstances.indexOf(Nt)>-1)&&(this._activeDragInstances.push(Nt),1===this._activeDragInstances.length)){const zt=Se.type.startsWith("touch");this._globalListeners.set(zt?"touchend":"mouseup",{handler:Ae=>this.pointerUp.next(Ae),options:!0}).set("scroll",{handler:Ae=>this.scroll.next(Ae),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:le}),zt||this._globalListeners.set("mousemove",{handler:Ae=>this.pointerMove.next(Ae),options:le}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((Ae,Ie)=>{this._document.addEventListener(Ie,Ae.handler,Ae.options)})})}}stopDragging(Nt){const Se=this._activeDragInstances.indexOf(Nt);Se>-1&&(this._activeDragInstances.splice(Se,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(Nt){return this._activeDragInstances.indexOf(Nt)>-1}scrolled(Nt){const Se=[this.scroll];return Nt&&Nt!==this._document&&Se.push(new P.y(zt=>this._ngZone.runOutsideAngular(()=>{const Ie=Sn=>{this._activeDragInstances.length&&zt.next(Sn)};return Nt.addEventListener("scroll",Ie,!0),()=>{Nt.removeEventListener("scroll",Ie,!0)}}))),(0,tt.T)(...Se)}ngOnDestroy(){this._dragInstances.forEach(Nt=>this.removeDragItem(Nt)),this._dropInstances.forEach(Nt=>this.removeDropContainer(Nt)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((Nt,Se)=>{this._document.removeEventListener(Se,Nt.handler,Nt.options)}),this._globalListeners.clear()}}return sn.\u0275fac=function(Nt){return new(Nt||sn)(u.LFG(u.R0b),u.LFG(p.K0))},sn.\u0275prov=u.Yz7({token:sn,factory:sn.\u0275fac,providedIn:"root"}),sn})();const De={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let hn=(()=>{class sn{constructor(Nt,Se,zt,Ae){this._document=Nt,this._ngZone=Se,this._viewportRuler=zt,this._dragDropRegistry=Ae}createDrag(Nt,Se=De){return new Me(Nt,Se,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(Nt){return new it(Nt,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return sn.\u0275fac=function(Nt){return new(Nt||sn)(u.LFG(p.K0),u.LFG(u.R0b),u.LFG(x.rL),u.LFG(be))},sn.\u0275prov=u.Yz7({token:sn,factory:sn.\u0275fac,providedIn:"root"}),sn})();const qn=new u.OlP("CDK_DRAG_PARENT"),mi=new u.OlP("CdkDropListGroup"),bo=new u.OlP("CDK_DRAG_CONFIG");let Yn=0;const Vn=new u.OlP("CdkDropList");let Je=(()=>{class sn{constructor(Nt,Se,zt,Ae,Ie,Sn,Ei){this.element=Nt,this._changeDetectorRef=zt,this._scrollDispatcher=Ae,this._dir=Ie,this._group=Sn,this._destroyed=new U.xQ,this.connectedTo=[],this.id="cdk-drop-list-"+Yn++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new u.vpe,this.entered=new u.vpe,this.exited=new u.vpe,this.sorted=new u.vpe,this._unsortedItems=new Set,this._dropListRef=Se.createDropList(Nt),this._dropListRef.data=this,Ei&&this._assignDefaults(Ei),this._dropListRef.enterPredicate=(Vi,cn)=>this.enterPredicate(Vi.data,cn.data),this._dropListRef.sortPredicate=(Vi,cn,pn)=>this.sortPredicate(Vi,cn.data,pn.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),sn._dropLists.push(this),Sn&&Sn._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(Nt){this._dropListRef.disabled=this._disabled=(0,t.Ig)(Nt)}addItem(Nt){this._unsortedItems.add(Nt),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(Nt){this._unsortedItems.delete(Nt),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((Nt,Se)=>Nt._dragRef.getVisibleElement().compareDocumentPosition(Se._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const Nt=sn._dropLists.indexOf(this);Nt>-1&&sn._dropLists.splice(Nt,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(Nt){this._dir&&this._dir.change.pipe((0,ct.O)(this._dir.value),(0,st.R)(this._destroyed)).subscribe(Se=>Nt.withDirection(Se)),Nt.beforeStarted.subscribe(()=>{const Se=(0,t.Eq)(this.connectedTo).map(zt=>"string"==typeof zt?sn._dropLists.find(Ie=>Ie.id===zt):zt);if(this._group&&this._group._items.forEach(zt=>{-1===Se.indexOf(zt)&&Se.push(zt)}),!this._scrollableParentsResolved){const zt=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(Ae=>Ae.getElementRef().nativeElement);this._dropListRef.withScrollableParents(zt),this._scrollableParentsResolved=!0}Nt.disabled=this.disabled,Nt.lockAxis=this.lockAxis,Nt.sortingDisabled=(0,t.Ig)(this.sortingDisabled),Nt.autoScrollDisabled=(0,t.Ig)(this.autoScrollDisabled),Nt.autoScrollStep=(0,t.su)(this.autoScrollStep,2),Nt.connectedTo(Se.filter(zt=>zt&&zt!==this).map(zt=>zt._dropListRef)).withOrientation(this.orientation)})}_handleEvents(Nt){Nt.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),Nt.entered.subscribe(Se=>{this.entered.emit({container:this,item:Se.item.data,currentIndex:Se.currentIndex})}),Nt.exited.subscribe(Se=>{this.exited.emit({container:this,item:Se.item.data}),this._changeDetectorRef.markForCheck()}),Nt.sorted.subscribe(Se=>{this.sorted.emit({previousIndex:Se.previousIndex,currentIndex:Se.currentIndex,container:this,item:Se.item.data})}),Nt.dropped.subscribe(Se=>{this.dropped.emit({previousIndex:Se.previousIndex,currentIndex:Se.currentIndex,previousContainer:Se.previousContainer.data,container:Se.container.data,item:Se.item.data,isPointerOverContainer:Se.isPointerOverContainer,distance:Se.distance,dropPoint:Se.dropPoint,event:Se.event}),this._changeDetectorRef.markForCheck()})}_assignDefaults(Nt){const{lockAxis:Se,draggingDisabled:zt,sortingDisabled:Ae,listAutoScrollDisabled:Ie,listOrientation:Sn}=Nt;this.disabled=zt??!1,this.sortingDisabled=Ae??!1,this.autoScrollDisabled=Ie??!1,this.orientation=Sn||"vertical",Se&&(this.lockAxis=Se)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(Nt=>Nt._dragRef))}}return sn._dropLists=[],sn.\u0275fac=function(Nt){return new(Nt||sn)(u.Y36(u.SBq),u.Y36(hn),u.Y36(u.sBO),u.Y36(x.mF),u.Y36(Jt.Is,8),u.Y36(mi,12),u.Y36(bo,8))},sn.\u0275dir=u.lG2({type:sn,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(Nt,Se){2&Nt&&(u.uIk("id",Se.id),u.ekj("cdk-drop-list-disabled",Se.disabled)("cdk-drop-list-dragging",Se._dropListRef.isDragging())("cdk-drop-list-receiving",Se._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],data:["cdkDropListData","data"],orientation:["cdkDropListOrientation","orientation"],id:"id",lockAxis:["cdkDropListLockAxis","lockAxis"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[u._Bn([{provide:mi,useValue:void 0},{provide:Vn,useExisting:sn}])]}),sn})();const gn=new u.OlP("CdkDragHandle"),Ee=new u.OlP("CdkDragPlaceholder"),se=new u.OlP("CdkDragPreview");let rn=(()=>{class sn{constructor(Nt,Se,zt,Ae,Ie,Sn,Ei,Vi,cn,pn,We){this.element=Nt,this.dropContainer=Se,this._ngZone=Ae,this._viewContainerRef=Ie,this._dir=Ei,this._changeDetectorRef=cn,this._selfHandle=pn,this._parentDrag=We,this._destroyed=new U.xQ,this.started=new u.vpe,this.released=new u.vpe,this.ended=new u.vpe,this.entered=new u.vpe,this.exited=new u.vpe,this.dropped=new u.vpe,this.moved=new P.y(ai=>{const bi=this._dragRef.moved.pipe((0,bt.U)(so=>({source:this,pointerPosition:so.pointerPosition,event:so.event,delta:so.delta,distance:so.distance}))).subscribe(ai);return()=>{bi.unsubscribe()}}),this._dragRef=Vi.createDrag(Nt,{dragStartThreshold:Sn&&null!=Sn.dragStartThreshold?Sn.dragStartThreshold:5,pointerDirectionChangeThreshold:Sn&&null!=Sn.pointerDirectionChangeThreshold?Sn.pointerDirectionChangeThreshold:5,zIndex:Sn?.zIndex}),this._dragRef.data=this,sn._dragInstances.push(this),Sn&&this._assignDefaults(Sn),Se&&(this._dragRef._withDropContainer(Se._dropListRef),Se.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(Nt){this._disabled=(0,t.Ig)(Nt),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(Nt){this._dragRef.setFreeDragPosition(Nt)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,Dt.q)(1),(0,st.R)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(Nt){const Se=Nt.rootElementSelector,zt=Nt.freeDragPosition;Se&&!Se.firstChange&&this._updateRootElement(),zt&&!zt.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const Nt=sn._dragInstances.indexOf(this);Nt>-1&&sn._dragInstances.splice(Nt,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){const Nt=this.element.nativeElement;let Se=Nt;this.rootElementSelector&&(Se=void 0!==Nt.closest?Nt.closest(this.rootElementSelector):Nt.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(Se||Nt)}_getBoundaryElement(){const Nt=this.boundaryElement;return Nt?"string"==typeof Nt?this.element.nativeElement.closest(Nt):(0,t.fI)(Nt):null}_syncInputs(Nt){Nt.beforeStarted.subscribe(()=>{if(!Nt.isDragging()){const Se=this._dir,zt=this.dragStartDelay,Ae=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,Ie=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;Nt.disabled=this.disabled,Nt.lockAxis=this.lockAxis,Nt.dragStartDelay="object"==typeof zt&&zt?zt:(0,t.su)(zt),Nt.constrainPosition=this.constrainPosition,Nt.previewClass=this.previewClass,Nt.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(Ae).withPreviewTemplate(Ie).withPreviewContainer(this.previewContainer||"global"),Se&&Nt.withDirection(Se.value)}}),Nt.beforeStarted.pipe((0,Dt.q)(1)).subscribe(()=>{if(this._parentDrag)return void Nt.withParent(this._parentDrag._dragRef);let Se=this.element.nativeElement.parentElement;for(;Se;){if(Se.classList.contains("cdk-drag")){Nt.withParent(sn._dragInstances.find(zt=>zt.element.nativeElement===Se)?._dragRef||null);break}Se=Se.parentElement}})}_handleEvents(Nt){Nt.started.subscribe(Se=>{this.started.emit({source:this,event:Se.event}),this._changeDetectorRef.markForCheck()}),Nt.released.subscribe(Se=>{this.released.emit({source:this,event:Se.event})}),Nt.ended.subscribe(Se=>{this.ended.emit({source:this,distance:Se.distance,dropPoint:Se.dropPoint,event:Se.event}),this._changeDetectorRef.markForCheck()}),Nt.entered.subscribe(Se=>{this.entered.emit({container:Se.container.data,item:this,currentIndex:Se.currentIndex})}),Nt.exited.subscribe(Se=>{this.exited.emit({container:Se.container.data,item:this})}),Nt.dropped.subscribe(Se=>{this.dropped.emit({previousIndex:Se.previousIndex,currentIndex:Se.currentIndex,previousContainer:Se.previousContainer.data,container:Se.container.data,isPointerOverContainer:Se.isPointerOverContainer,item:this,distance:Se.distance,dropPoint:Se.dropPoint,event:Se.event})})}_assignDefaults(Nt){const{lockAxis:Se,dragStartDelay:zt,constrainPosition:Ae,previewClass:Ie,boundaryElement:Sn,draggingDisabled:Ei,rootElementSelector:Vi,previewContainer:cn}=Nt;this.disabled=Ei??!1,this.dragStartDelay=zt||0,Se&&(this.lockAxis=Se),Ae&&(this.constrainPosition=Ae),Ie&&(this.previewClass=Ie),Sn&&(this.boundaryElement=Sn),Vi&&(this.rootElementSelector=Vi),cn&&(this.previewContainer=cn)}_setupHandlesListener(){this._handles.changes.pipe((0,ct.O)(this._handles),(0,wt.b)(Nt=>{const Se=Nt.filter(zt=>zt._parentDrag===this).map(zt=>zt.element);this._selfHandle&&this.rootElementSelector&&Se.push(this.element),this._dragRef.withHandles(Se)}),(0,qt.w)(Nt=>(0,tt.T)(...Nt.map(Se=>Se._stateChanges.pipe((0,ct.O)(Se))))),(0,st.R)(this._destroyed)).subscribe(Nt=>{const Se=this._dragRef,zt=Nt.element.nativeElement;Nt.disabled?Se.disableHandle(zt):Se.enableHandle(zt)})}}return sn._dragInstances=[],sn.\u0275fac=function(Nt){return new(Nt||sn)(u.Y36(u.SBq),u.Y36(Vn,12),u.Y36(p.K0),u.Y36(u.R0b),u.Y36(u.s_b),u.Y36(bo,8),u.Y36(Jt.Is,8),u.Y36(hn),u.Y36(u.sBO),u.Y36(gn,10),u.Y36(qn,12))},sn.\u0275dir=u.lG2({type:sn,selectors:[["","cdkDrag",""]],contentQueries:function(Nt,Se,zt){if(1&Nt&&(u.Suo(zt,se,5),u.Suo(zt,Ee,5),u.Suo(zt,gn,5)),2&Nt){let Ae;u.iGM(Ae=u.CRH())&&(Se._previewTemplate=Ae.first),u.iGM(Ae=u.CRH())&&(Se._placeholderTemplate=Ae.first),u.iGM(Ae=u.CRH())&&(Se._handles=Ae)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(Nt,Se){2&Nt&&u.ekj("cdk-drag-disabled",Se.disabled)("cdk-drag-dragging",Se._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[u._Bn([{provide:qn,useExisting:sn}]),u.TTD]}),sn})(),fn=(()=>{class sn{}return sn.\u0275fac=function(Nt){return new(Nt||sn)},sn.\u0275mod=u.oAB({type:sn}),sn.\u0275inj=u.cJS({providers:[hn],imports:[x.ZD]}),sn})()},29521:(X,j,h)=>{"use strict";h.d(j,{A:()=>ne,JH:()=>wt,JU:()=>T,K5:()=>t,Ku:()=>V,LH:()=>bt,L_:()=>N,MW:()=>qn,Mf:()=>x,SV:()=>Dt,Sd:()=>st,VM:()=>W,Vb:()=>cc,Z:()=>hn,ZH:()=>p,aO:()=>Le,b2:()=>Er,hY:()=>L,jx:()=>U,oh:()=>ct,uR:()=>tt,xE:()=>xt,yY:()=>At,zL:()=>w});const p=8,x=9,t=13,T=16,U=17,w=18,L=27,N=32,V=33,W=34,tt=35,st=36,ct=37,bt=38,Dt=39,wt=40,At=46,xt=48,Le=57,ne=65,hn=90,qn=91,Er=224;function cc(nr,...ds){return ds.length?ds.some(Tr=>nr[Tr]):nr.altKey||nr.shiftKey||nr.ctrlKey||nr.metaKey}},62289:(X,j,h)=>{"use strict";h.d(j,{Yg:()=>wt,u3:()=>Jt,xu:()=>W});var u=h(94650),p=h(21281),x=h(8929),v=h(23426),t=h(61221),T=h(56498),U=h(72986),w=h(31307),P=h(80013),O=h(24850),L=h(1059),N=h(7625),V=h(83353);let W=(()=>{class yt{}return yt.\u0275fac=function(xt){return new(xt||yt)},yt.\u0275mod=u.oAB({type:yt}),yt.\u0275inj=u.cJS({}),yt})();const tt=new Set;let st,ct=(()=>{class yt{constructor(xt){this._platform=xt,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Dt}matchMedia(xt){return(this._platform.WEBKIT||this._platform.BLINK)&&function bt(yt){if(!tt.has(yt))try{st||(st=document.createElement("style"),st.setAttribute("type","text/css"),document.head.appendChild(st)),st.sheet&&(st.sheet.insertRule(`@media ${yt} {body{ }}`,0),tt.add(yt))}catch(At){console.error(At)}}(xt),this._matchMedia(xt)}}return yt.\u0275fac=function(xt){return new(xt||yt)(u.LFG(V.t4))},yt.\u0275prov=u.Yz7({token:yt,factory:yt.\u0275fac,providedIn:"root"}),yt})();function Dt(yt){return{matches:"all"===yt||""===yt,media:yt,addListener:()=>{},removeListener:()=>{}}}let wt=(()=>{class yt{constructor(xt,pt){this._mediaMatcher=xt,this._zone=pt,this._queries=new Map,this._destroySubject=new x.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(xt){return qt((0,p.Eq)(xt)).some(Ot=>this._registerQuery(Ot).mql.matches)}observe(xt){const Ot=qt((0,p.Eq)(xt)).map(St=>this._registerQuery(St).observable);let Bt=(0,v.aj)(Ot);return Bt=(0,t.z)(Bt.pipe((0,U.q)(1)),Bt.pipe((0,w.T)(1),(0,P.b)(0))),Bt.pipe((0,O.U)(St=>{const ce={matches:!1,breakpoints:{}};return St.forEach(({matches:Vt,query:ve})=>{ce.matches=ce.matches||Vt,ce.breakpoints[ve]=Vt}),ce}))}_registerQuery(xt){if(this._queries.has(xt))return this._queries.get(xt);const pt=this._mediaMatcher.matchMedia(xt),Bt={observable:new T.y(St=>{const ce=Vt=>this._zone.run(()=>St.next(Vt));return pt.addListener(ce),()=>{pt.removeListener(ce)}}).pipe((0,L.O)(pt),(0,O.U)(({matches:St})=>({query:xt,matches:St})),(0,N.R)(this._destroySubject)),mql:pt};return this._queries.set(xt,Bt),Bt}}return yt.\u0275fac=function(xt){return new(xt||yt)(u.LFG(ct),u.LFG(u.R0b))},yt.\u0275prov=u.Yz7({token:yt,factory:yt.\u0275fac,providedIn:"root"}),yt})();function qt(yt){return yt.map(At=>At.split(",")).reduce((At,xt)=>At.concat(xt)).map(At=>At.trim())}const Jt={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},49643:(X,j,h)=>{"use strict";h.d(j,{Q8:()=>P,wD:()=>w});var u=h(21281),p=h(94650),x=h(56498),v=h(8929),t=h(80013);let T=(()=>{class O{create(N){return typeof MutationObserver>"u"?null:new MutationObserver(N)}}return O.\u0275fac=function(N){return new(N||O)},O.\u0275prov=p.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})(),U=(()=>{class O{constructor(N){this._mutationObserverFactory=N,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((N,V)=>this._cleanupObserver(V))}observe(N){const V=(0,u.fI)(N);return new x.y(W=>{const st=this._observeElement(V).subscribe(W);return()=>{st.unsubscribe(),this._unobserveElement(V)}})}_observeElement(N){if(this._observedElements.has(N))this._observedElements.get(N).count++;else{const V=new v.xQ,W=this._mutationObserverFactory.create(tt=>V.next(tt));W&&W.observe(N,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(N,{observer:W,stream:V,count:1})}return this._observedElements.get(N).stream}_unobserveElement(N){this._observedElements.has(N)&&(this._observedElements.get(N).count--,this._observedElements.get(N).count||this._cleanupObserver(N))}_cleanupObserver(N){if(this._observedElements.has(N)){const{observer:V,stream:W}=this._observedElements.get(N);V&&V.disconnect(),W.complete(),this._observedElements.delete(N)}}}return O.\u0275fac=function(N){return new(N||O)(p.LFG(T))},O.\u0275prov=p.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})(),w=(()=>{class O{constructor(N,V,W){this._contentObserver=N,this._elementRef=V,this._ngZone=W,this.event=new p.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(N){this._disabled=(0,u.Ig)(N),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(N){this._debounce=(0,u.su)(N),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const N=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?N.pipe((0,t.b)(this.debounce)):N).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return O.\u0275fac=function(N){return new(N||O)(p.Y36(U),p.Y36(p.SBq),p.Y36(p.R0b))},O.\u0275dir=p.lG2({type:O,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),O})(),P=(()=>{class O{}return O.\u0275fac=function(N){return new(N||O)},O.\u0275mod=p.oAB({type:O}),O.\u0275inj=p.cJS({providers:[T]}),O})()},98184:(X,j,h)=>{"use strict";h.d(j,{Iu:()=>Le,U8:()=>oi,X_:()=>At,Xj:()=>fe,_G:()=>Gt,aV:()=>xe,pI:()=>Dn,xu:()=>un});var u=h(67376),p=h(36895),x=h(94650),v=h(21281),t=h(83353),T=h(40445),U=h(84080),w=h(8929),P=h(42654),O=h(36787),L=h(72986),N=h(7625),V=h(44290),W=h(29521);const tt=(0,t.Mq)();class st{constructor(it,K){this._viewportRuler=it,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=K}attach(){}enable(){if(this._canBeEnabled()){const it=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=it.style.left||"",this._previousHTMLStyles.top=it.style.top||"",it.style.left=(0,v.HM)(-this._previousScrollPosition.left),it.style.top=(0,v.HM)(-this._previousScrollPosition.top),it.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const it=this._document.documentElement,Tt=it.style,Rt=this._document.body.style,le=Tt.scrollBehavior||"",be=Rt.scrollBehavior||"";this._isEnabled=!1,Tt.left=this._previousHTMLStyles.left,Tt.top=this._previousHTMLStyles.top,it.classList.remove("cdk-global-scrollblock"),tt&&(Tt.scrollBehavior=Rt.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),tt&&(Tt.scrollBehavior=le,Rt.scrollBehavior=be)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const K=this._document.body,Tt=this._viewportRuler.getViewportSize();return K.scrollHeight>Tt.height||K.scrollWidth>Tt.width}}class bt{constructor(it,K,Tt,Rt){this._scrollDispatcher=it,this._ngZone=K,this._viewportRuler=Tt,this._config=Rt,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(it){this._overlayRef=it}enable(){if(this._scrollSubscription)return;const it=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=it.subscribe(()=>{const K=this._viewportRuler.getViewportScrollPosition().top;Math.abs(K-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=it.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Dt{enable(){}disable(){}attach(){}}function wt(te,it){return it.some(K=>te.bottom K.bottom||te.right K.right)}function qt(te,it){return it.some(K=>te.top K.bottom||te.left K.right)}class Jt{constructor(it,K,Tt,Rt){this._scrollDispatcher=it,this._viewportRuler=K,this._ngZone=Tt,this._config=Rt,this._scrollSubscription=null}attach(it){this._overlayRef=it}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const K=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Tt,height:Rt}=this._viewportRuler.getViewportSize();wt(K,[{width:Tt,height:Rt,bottom:Rt,right:Tt,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let yt=(()=>{class te{constructor(K,Tt,Rt,le){this._scrollDispatcher=K,this._viewportRuler=Tt,this._ngZone=Rt,this.noop=()=>new Dt,this.close=be=>new bt(this._scrollDispatcher,this._ngZone,this._viewportRuler,be),this.block=()=>new st(this._viewportRuler,this._document),this.reposition=be=>new Jt(this._scrollDispatcher,this._viewportRuler,this._ngZone,be),this._document=le}}return te.\u0275fac=function(K){return new(K||te)(x.LFG(u.mF),x.LFG(u.rL),x.LFG(x.R0b),x.LFG(p.K0))},te.\u0275prov=x.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})();class At{constructor(it){if(this.scrollStrategy=new Dt,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,it){const K=Object.keys(it);for(const Tt of K)void 0!==it[Tt]&&(this[Tt]=it[Tt])}}}class Ot{constructor(it,K){this.connectionPair=it,this.scrollableViewProperties=K}}let ce=(()=>{class te{constructor(K){this._attachedOverlays=[],this._document=K}ngOnDestroy(){this.detach()}add(K){this.remove(K),this._attachedOverlays.push(K)}remove(K){const Tt=this._attachedOverlays.indexOf(K);Tt>-1&&this._attachedOverlays.splice(Tt,1),0===this._attachedOverlays.length&&this.detach()}}return te.\u0275fac=function(K){return new(K||te)(x.LFG(p.K0))},te.\u0275prov=x.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})(),Vt=(()=>{class te extends ce{constructor(K,Tt){super(K),this._ngZone=Tt,this._keydownListener=Rt=>{const le=this._attachedOverlays;for(let be=le.length-1;be>-1;be--)if(le[be]._keydownEvents.observers.length>0){const De=le[be]._keydownEvents;this._ngZone?this._ngZone.run(()=>De.next(Rt)):De.next(Rt);break}}}add(K){super.add(K),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return te.\u0275fac=function(K){return new(K||te)(x.LFG(p.K0),x.LFG(x.R0b,8))},te.\u0275prov=x.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})(),ve=(()=>{class te extends ce{constructor(K,Tt,Rt){super(K),this._platform=Tt,this._ngZone=Rt,this._cursorStyleIsSet=!1,this._pointerDownListener=le=>{this._pointerDownEventTarget=(0,t.sA)(le)},this._clickListener=le=>{const be=(0,t.sA)(le),De="click"===le.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:be;this._pointerDownEventTarget=null;const hn=this._attachedOverlays.slice();for(let qn=hn.length-1;qn>-1;qn--){const mi=hn[qn];if(mi._outsidePointerEvents.observers.length<1||!mi.hasAttached())continue;if(mi.overlayElement.contains(be)||mi.overlayElement.contains(De))break;const Di=mi._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Di.next(le)):Di.next(le)}}}add(K){if(super.add(K),!this._isAttached){const Tt=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Tt)):this._addEventListeners(Tt),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Tt.style.cursor,Tt.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const K=this._document.body;K.removeEventListener("pointerdown",this._pointerDownListener,!0),K.removeEventListener("click",this._clickListener,!0),K.removeEventListener("auxclick",this._clickListener,!0),K.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(K.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(K){K.addEventListener("pointerdown",this._pointerDownListener,!0),K.addEventListener("click",this._clickListener,!0),K.addEventListener("auxclick",this._clickListener,!0),K.addEventListener("contextmenu",this._clickListener,!0)}}return te.\u0275fac=function(K){return new(K||te)(x.LFG(p.K0),x.LFG(t.t4),x.LFG(x.R0b,8))},te.\u0275prov=x.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})(),fe=(()=>{class te{constructor(K,Tt){this._platform=Tt,this._document=K}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const K="cdk-overlay-container";if(this._platform.isBrowser||(0,t.Oy)()){const Rt=this._document.querySelectorAll(`.${K}[platform="server"], .${K}[platform="test"]`);for(let le=0;le this._backdropClick.next(Di),this._backdropTransitionendHandler=Di=>{this._disposeBackdrop(Di.target)},this._keydownEvents=new w.xQ,this._outsidePointerEvents=new w.xQ,Rt.scrollStrategy&&(this._scrollStrategy=Rt.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Rt.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(it){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const K=this._portalOutlet.attach(it);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,L.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof K?.onDestroy&&K.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),K}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const it=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),it}dispose(){const it=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,it&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(it){it!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=it,this.hasAttached()&&(it.attach(this),this.updatePosition()))}updateSize(it){this._config={...this._config,...it},this._updateElementSize()}setDirection(it){this._config={...this._config,direction:it},this._updateElementDirection()}addPanelClass(it){this._pane&&this._toggleClasses(this._pane,it,!0)}removePanelClass(it){this._pane&&this._toggleClasses(this._pane,it,!1)}getDirection(){const it=this._config.direction;return it?"string"==typeof it?it:it.value:"ltr"}updateScrollStrategy(it){it!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=it,this.hasAttached()&&(it.attach(this),it.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const it=this._pane.style;it.width=(0,v.HM)(this._config.width),it.height=(0,v.HM)(this._config.height),it.minWidth=(0,v.HM)(this._config.minWidth),it.minHeight=(0,v.HM)(this._config.minHeight),it.maxWidth=(0,v.HM)(this._config.maxWidth),it.maxHeight=(0,v.HM)(this._config.maxHeight)}_togglePointerEvents(it){this._pane.style.pointerEvents=it?"":"none"}_attachBackdrop(){const it="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(it)})}):this._backdropElement.classList.add(it)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const it=this._backdropElement;if(it){if(this._animationsDisabled)return void this._disposeBackdrop(it);it.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{it.addEventListener("transitionend",this._backdropTransitionendHandler)}),it.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(it)},500))}}_toggleClasses(it,K,Tt){const Rt=(0,v.Eq)(K||[]).filter(le=>!!le);Rt.length&&(Tt?it.classList.add(...Rt):it.classList.remove(...Rt))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const it=this._ngZone.onStable.pipe((0,N.R)((0,O.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),it.unsubscribe())})})}_disposeScrollStrategy(){const it=this._scrollStrategy;it&&(it.disable(),it.detach&&it.detach())}_disposeBackdrop(it){it&&(it.removeEventListener("click",this._backdropClickHandler),it.removeEventListener("transitionend",this._backdropTransitionendHandler),it.remove(),this._backdropElement===it&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const Fe="cdk-overlay-connected-position-bounding-box",Ge=/([A-Za-z%]+)$/;class Gt{constructor(it,K,Tt,Rt,le){this._viewportRuler=K,this._document=Tt,this._platform=Rt,this._overlayContainer=le,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new w.xQ,this._resizeSubscription=P.w.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(it)}get positions(){return this._preferredPositions}attach(it){this._validatePositions(),it.hostElement.classList.add(Fe),this._overlayRef=it,this._boundingBox=it.hostElement,this._pane=it.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const it=this._originRect,K=this._overlayRect,Tt=this._viewportRect,Rt=this._containerRect,le=[];let be;for(let De of this._preferredPositions){let hn=this._getOriginPoint(it,Rt,De),qn=this._getOverlayPoint(hn,K,De),mi=this._getOverlayFit(qn,K,Tt,De);if(mi.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(De,hn);this._canFitWithFlexibleDimensions(mi,qn,Tt)?le.push({position:De,origin:hn,overlayRect:K,boundingBoxRect:this._calculateBoundingBoxRect(hn,De)}):(!be||be.overlayFit.visibleArea hn&&(hn=mi,De=qn)}return this._isPushed=!1,void this._applyPosition(De.position,De.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(be.position,be.originPoint);this._applyPosition(be.position,be.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Te(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Fe),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const it=this._lastPosition;if(it){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const K=this._getOriginPoint(this._originRect,this._containerRect,it);this._applyPosition(it,K)}else this.apply()}withScrollableContainers(it){return this._scrollables=it,this}withPositions(it){return this._preferredPositions=it,-1===it.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(it){return this._viewportMargin=it,this}withFlexibleDimensions(it=!0){return this._hasFlexibleDimensions=it,this}withGrowAfterOpen(it=!0){return this._growAfterOpen=it,this}withPush(it=!0){return this._canPush=it,this}withLockedPosition(it=!0){return this._positionLocked=it,this}setOrigin(it){return this._origin=it,this}withDefaultOffsetX(it){return this._offsetX=it,this}withDefaultOffsetY(it){return this._offsetY=it,this}withTransformOriginOn(it){return this._transformOriginSelector=it,this}_getOriginPoint(it,K,Tt){let Rt,le;if("center"==Tt.originX)Rt=it.left+it.width/2;else{const be=this._isRtl()?it.right:it.left,De=this._isRtl()?it.left:it.right;Rt="start"==Tt.originX?be:De}return K.left<0&&(Rt-=K.left),le="center"==Tt.originY?it.top+it.height/2:"top"==Tt.originY?it.top:it.bottom,K.top<0&&(le-=K.top),{x:Rt,y:le}}_getOverlayPoint(it,K,Tt){let Rt,le;return Rt="center"==Tt.overlayX?-K.width/2:"start"===Tt.overlayX?this._isRtl()?-K.width:0:this._isRtl()?0:-K.width,le="center"==Tt.overlayY?-K.height/2:"top"==Tt.overlayY?0:-K.height,{x:it.x+Rt,y:it.y+le}}_getOverlayFit(it,K,Tt,Rt){const le=jt(K);let{x:be,y:De}=it,hn=this._getOffset(Rt,"x"),qn=this._getOffset(Rt,"y");hn&&(be+=hn),qn&&(De+=qn);let bo=0-De,hi=De+le.height-Tt.height,Yn=this._subtractOverflows(le.width,0-be,be+le.width-Tt.width),Vn=this._subtractOverflows(le.height,bo,hi),Je=Yn*Vn;return{visibleArea:Je,isCompletelyWithinViewport:le.width*le.height===Je,fitsInViewportVertically:Vn===le.height,fitsInViewportHorizontally:Yn==le.width}}_canFitWithFlexibleDimensions(it,K,Tt){if(this._hasFlexibleDimensions){const Rt=Tt.bottom-K.y,le=Tt.right-K.x,be=ne(this._overlayRef.getConfig().minHeight),De=ne(this._overlayRef.getConfig().minWidth),qn=it.fitsInViewportHorizontally||null!=De&&De<=le;return(it.fitsInViewportVertically||null!=be&&be<=Rt)&&qn}return!1}_pushOverlayOnScreen(it,K,Tt){if(this._previousPushAmount&&this._positionLocked)return{x:it.x+this._previousPushAmount.x,y:it.y+this._previousPushAmount.y};const Rt=jt(K),le=this._viewportRect,be=Math.max(it.x+Rt.width-le.width,0),De=Math.max(it.y+Rt.height-le.height,0),hn=Math.max(le.top-Tt.top-it.y,0),qn=Math.max(le.left-Tt.left-it.x,0);let mi=0,Di=0;return mi=Rt.width<=le.width?qn||-be:it.x Yn&&!this._isInitialRender&&!this._growAfterOpen&&(be=it.y-Yn/2)}if("end"===K.overlayX&&!Rt||"start"===K.overlayX&&Rt)bo=Tt.width-it.x+this._viewportMargin,mi=it.x-this._viewportMargin;else if("start"===K.overlayX&&!Rt||"end"===K.overlayX&&Rt)Di=it.x,mi=Tt.right-it.x;else{const hi=Math.min(Tt.right-it.x+Tt.left,it.x),Yn=this._lastBoundingBoxSize.width;mi=2*hi,Di=it.x-hi,mi>Yn&&!this._isInitialRender&&!this._growAfterOpen&&(Di=it.x-Yn/2)}return{top:be,left:Di,bottom:De,right:bo,width:mi,height:le}}_setBoundingBoxStyles(it,K){const Tt=this._calculateBoundingBoxRect(it,K);!this._isInitialRender&&!this._growAfterOpen&&(Tt.height=Math.min(Tt.height,this._lastBoundingBoxSize.height),Tt.width=Math.min(Tt.width,this._lastBoundingBoxSize.width));const Rt={};if(this._hasExactPosition())Rt.top=Rt.left="0",Rt.bottom=Rt.right=Rt.maxHeight=Rt.maxWidth="",Rt.width=Rt.height="100%";else{const le=this._overlayRef.getConfig().maxHeight,be=this._overlayRef.getConfig().maxWidth;Rt.height=(0,v.HM)(Tt.height),Rt.top=(0,v.HM)(Tt.top),Rt.bottom=(0,v.HM)(Tt.bottom),Rt.width=(0,v.HM)(Tt.width),Rt.left=(0,v.HM)(Tt.left),Rt.right=(0,v.HM)(Tt.right),Rt.alignItems="center"===K.overlayX?"center":"end"===K.overlayX?"flex-end":"flex-start",Rt.justifyContent="center"===K.overlayY?"center":"bottom"===K.overlayY?"flex-end":"flex-start",le&&(Rt.maxHeight=(0,v.HM)(le)),be&&(Rt.maxWidth=(0,v.HM)(be))}this._lastBoundingBoxSize=Tt,Te(this._boundingBox.style,Rt)}_resetBoundingBoxStyles(){Te(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Te(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(it,K){const Tt={},Rt=this._hasExactPosition(),le=this._hasFlexibleDimensions,be=this._overlayRef.getConfig();if(Rt){const mi=this._viewportRuler.getViewportScrollPosition();Te(Tt,this._getExactOverlayY(K,it,mi)),Te(Tt,this._getExactOverlayX(K,it,mi))}else Tt.position="static";let De="",hn=this._getOffset(K,"x"),qn=this._getOffset(K,"y");hn&&(De+=`translateX(${hn}px) `),qn&&(De+=`translateY(${qn}px)`),Tt.transform=De.trim(),be.maxHeight&&(Rt?Tt.maxHeight=(0,v.HM)(be.maxHeight):le&&(Tt.maxHeight="")),be.maxWidth&&(Rt?Tt.maxWidth=(0,v.HM)(be.maxWidth):le&&(Tt.maxWidth="")),Te(this._pane.style,Tt)}_getExactOverlayY(it,K,Tt){let Rt={top:"",bottom:""},le=this._getOverlayPoint(K,this._overlayRect,it);return this._isPushed&&(le=this._pushOverlayOnScreen(le,this._overlayRect,Tt)),"bottom"===it.overlayY?Rt.bottom=this._document.documentElement.clientHeight-(le.y+this._overlayRect.height)+"px":Rt.top=(0,v.HM)(le.y),Rt}_getExactOverlayX(it,K,Tt){let be,Rt={left:"",right:""},le=this._getOverlayPoint(K,this._overlayRect,it);return this._isPushed&&(le=this._pushOverlayOnScreen(le,this._overlayRect,Tt)),be=this._isRtl()?"end"===it.overlayX?"left":"right":"end"===it.overlayX?"right":"left","right"===be?Rt.right=this._document.documentElement.clientWidth-(le.x+this._overlayRect.width)+"px":Rt.left=(0,v.HM)(le.x),Rt}_getScrollVisibility(){const it=this._getOriginRect(),K=this._pane.getBoundingClientRect(),Tt=this._scrollables.map(Rt=>Rt.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:qt(it,Tt),isOriginOutsideView:wt(it,Tt),isOverlayClipped:qt(K,Tt),isOverlayOutsideView:wt(K,Tt)}}_subtractOverflows(it,...K){return K.reduce((Tt,Rt)=>Tt-Math.max(Rt,0),it)}_getNarrowedViewportRect(){const it=this._document.documentElement.clientWidth,K=this._document.documentElement.clientHeight,Tt=this._viewportRuler.getViewportScrollPosition();return{top:Tt.top+this._viewportMargin,left:Tt.left+this._viewportMargin,right:Tt.left+it-this._viewportMargin,bottom:Tt.top+K-this._viewportMargin,width:it-2*this._viewportMargin,height:K-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(it,K){return"x"===K?it.offsetX??this._offsetX:it.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(it){this._pane&&(0,v.Eq)(it).forEach(K=>{""!==K&&-1===this._appliedPanelClasses.indexOf(K)&&(this._appliedPanelClasses.push(K),this._pane.classList.add(K))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(it=>{this._pane.classList.remove(it)}),this._appliedPanelClasses=[])}_getOriginRect(){const it=this._origin;if(it instanceof x.SBq)return it.nativeElement.getBoundingClientRect();if(it instanceof Element)return it.getBoundingClientRect();const K=it.width||0,Tt=it.height||0;return{top:it.y,bottom:it.y+Tt,left:it.x,right:it.x+K,height:Tt,width:K}}}function Te(te,it){for(let K in it)it.hasOwnProperty(K)&&(te[K]=it[K]);return te}function ne(te){if("number"!=typeof te&&null!=te){const[it,K]=te.split(Ge);return K&&"px"!==K?null:parseFloat(it)}return te||null}function jt(te){return{top:Math.floor(te.top),right:Math.floor(te.right),bottom:Math.floor(te.bottom),left:Math.floor(te.left),width:Math.floor(te.width),height:Math.floor(te.height)}}const oe="cdk-global-overlay-wrapper";class Me{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(it){const K=it.getConfig();this._overlayRef=it,this._width&&!K.width&&it.updateSize({width:this._width}),this._height&&!K.height&&it.updateSize({height:this._height}),it.hostElement.classList.add(oe),this._isDisposed=!1}top(it=""){return this._bottomOffset="",this._topOffset=it,this._alignItems="flex-start",this}left(it=""){return this._xOffset=it,this._xPosition="left",this}bottom(it=""){return this._topOffset="",this._bottomOffset=it,this._alignItems="flex-end",this}right(it=""){return this._xOffset=it,this._xPosition="right",this}start(it=""){return this._xOffset=it,this._xPosition="start",this}end(it=""){return this._xOffset=it,this._xPosition="end",this}width(it=""){return this._overlayRef?this._overlayRef.updateSize({width:it}):this._width=it,this}height(it=""){return this._overlayRef?this._overlayRef.updateSize({height:it}):this._height=it,this}centerHorizontally(it=""){return this.left(it),this._xPosition="center",this}centerVertically(it=""){return this.top(it),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const it=this._overlayRef.overlayElement.style,K=this._overlayRef.hostElement.style,Tt=this._overlayRef.getConfig(),{width:Rt,height:le,maxWidth:be,maxHeight:De}=Tt,hn=!("100%"!==Rt&&"100vw"!==Rt||be&&"100%"!==be&&"100vw"!==be),qn=!("100%"!==le&&"100vh"!==le||De&&"100%"!==De&&"100vh"!==De),mi=this._xPosition,Di=this._xOffset,bo="rtl"===this._overlayRef.getConfig().direction;let hi="",Yn="",Vn="";hn?Vn="flex-start":"center"===mi?(Vn="center",bo?Yn=Di:hi=Di):bo?"left"===mi||"end"===mi?(Vn="flex-end",hi=Di):("right"===mi||"start"===mi)&&(Vn="flex-start",Yn=Di):"left"===mi||"start"===mi?(Vn="flex-start",hi=Di):("right"===mi||"end"===mi)&&(Vn="flex-end",Yn=Di),it.position=this._cssPosition,it.marginLeft=hn?"0":hi,it.marginTop=qn?"0":this._topOffset,it.marginBottom=this._bottomOffset,it.marginRight=hn?"0":Yn,K.justifyContent=Vn,K.alignItems=qn?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const it=this._overlayRef.overlayElement.style,K=this._overlayRef.hostElement,Tt=K.style;K.classList.remove(oe),Tt.justifyContent=Tt.alignItems=it.marginTop=it.marginBottom=it.marginLeft=it.marginRight=it.position="",this._overlayRef=null,this._isDisposed=!0}}let en=(()=>{class te{constructor(K,Tt,Rt,le){this._viewportRuler=K,this._document=Tt,this._platform=Rt,this._overlayContainer=le}global(){return new Me}flexibleConnectedTo(K){return new Gt(K,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return te.\u0275fac=function(K){return new(K||te)(x.LFG(u.rL),x.LFG(p.K0),x.LFG(t.t4),x.LFG(fe))},te.\u0275prov=x.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})(),_n=0,xe=(()=>{class te{constructor(K,Tt,Rt,le,be,De,hn,qn,mi,Di,bo,hi){this.scrollStrategies=K,this._overlayContainer=Tt,this._componentFactoryResolver=Rt,this._positionBuilder=le,this._keyboardDispatcher=be,this._injector=De,this._ngZone=hn,this._document=qn,this._directionality=mi,this._location=Di,this._outsideClickDispatcher=bo,this._animationsModuleType=hi}create(K){const Tt=this._createHostElement(),Rt=this._createPaneElement(Tt),le=this._createPortalOutlet(Rt),be=new At(K);return be.direction=be.direction||this._directionality.value,new Le(le,Tt,Rt,be,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(K){const Tt=this._document.createElement("div");return Tt.id="cdk-overlay-"+_n++,Tt.classList.add("cdk-overlay-pane"),K.appendChild(Tt),Tt}_createHostElement(){const K=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(K),K}_createPortalOutlet(K){return this._appRef||(this._appRef=this._injector.get(x.z2F)),new U.u0(K,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return te.\u0275fac=function(K){return new(K||te)(x.LFG(yt),x.LFG(fe),x.LFG(x._Vd),x.LFG(en),x.LFG(Vt),x.LFG(x.zs3),x.LFG(x.R0b),x.LFG(p.K0),x.LFG(T.Is),x.LFG(p.Ye),x.LFG(ve),x.LFG(x.QbO,8))},te.\u0275prov=x.Yz7({token:te,factory:te.\u0275fac}),te})();const vn=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],ke=new x.OlP("cdk-connected-overlay-scroll-strategy");let un=(()=>{class te{constructor(K){this.elementRef=K}}return te.\u0275fac=function(K){return new(K||te)(x.Y36(x.SBq))},te.\u0275dir=x.lG2({type:te,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),te})(),Dn=(()=>{class te{constructor(K,Tt,Rt,le,be){this._overlay=K,this._dir=be,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=P.w.EMPTY,this._attachSubscription=P.w.EMPTY,this._detachSubscription=P.w.EMPTY,this._positionSubscription=P.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new x.vpe,this.positionChange=new x.vpe,this.attach=new x.vpe,this.detach=new x.vpe,this.overlayKeydown=new x.vpe,this.overlayOutsideClick=new x.vpe,this._templatePortal=new U.UE(Tt,Rt),this._scrollStrategyFactory=le,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(K){this._offsetX=K,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(K){this._offsetY=K,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(K){this._hasBackdrop=(0,v.Ig)(K)}get lockPosition(){return this._lockPosition}set lockPosition(K){this._lockPosition=(0,v.Ig)(K)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(K){this._flexibleDimensions=(0,v.Ig)(K)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(K){this._growAfterOpen=(0,v.Ig)(K)}get push(){return this._push}set push(K){this._push=(0,v.Ig)(K)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(K){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),K.origin&&this.open&&this._position.apply()),K.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=vn);const K=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=K.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=K.detachments().subscribe(()=>this.detach.emit()),K.keydownEvents().subscribe(Tt=>{this.overlayKeydown.next(Tt),Tt.keyCode===W.hY&&!this.disableClose&&!(0,W.Vb)(Tt)&&(Tt.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Tt=>{this.overlayOutsideClick.next(Tt)})}_buildConfig(){const K=this._position=this.positionStrategy||this._createPositionStrategy(),Tt=new At({direction:this._dir,positionStrategy:K,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(Tt.width=this.width),(this.height||0===this.height)&&(Tt.height=this.height),(this.minWidth||0===this.minWidth)&&(Tt.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Tt.minHeight=this.minHeight),this.backdropClass&&(Tt.backdropClass=this.backdropClass),this.panelClass&&(Tt.panelClass=this.panelClass),Tt}_updatePositionStrategy(K){const Tt=this.positions.map(Rt=>({originX:Rt.originX,originY:Rt.originY,overlayX:Rt.overlayX,overlayY:Rt.overlayY,offsetX:Rt.offsetX||this.offsetX,offsetY:Rt.offsetY||this.offsetY,panelClass:Rt.panelClass||void 0}));return K.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(Tt).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const K=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(K),K}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof un?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(K=>{this.backdropClick.emit(K)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,V.o)(()=>this.positionChange.observers.length>0)).subscribe(K=>{this.positionChange.emit(K),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return te.\u0275fac=function(K){return new(K||te)(x.Y36(xe),x.Y36(x.Rgc),x.Y36(x.s_b),x.Y36(ke),x.Y36(T.Is,8))},te.\u0275dir=x.lG2({type:te,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[x.TTD]}),te})();const _i={provide:ke,deps:[xe],useFactory:function ii(te){return()=>te.scrollStrategies.reposition()}};let oi=(()=>{class te{}return te.\u0275fac=function(K){return new(K||te)},te.\u0275mod=x.oAB({type:te}),te.\u0275inj=x.cJS({providers:[xe,_i],imports:[T.vT,U.eL,u.Cl,u.Cl]}),te})()},83353:(X,j,h)=>{"use strict";h.d(j,{Mq:()=>W,Oy:()=>qt,_i:()=>tt,ht:()=>Dt,i$:()=>L,kV:()=>bt,qK:()=>w,sA:()=>wt,t4:()=>v,ud:()=>t});var u=h(94650),p=h(36895);let x;try{x=typeof Intl<"u"&&Intl.v8BreakIterator}catch{x=!1}let T,v=(()=>{class Jt{constructor(At){this._platformId=At,this.isBrowser=this._platformId?(0,p.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!x)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return Jt.\u0275fac=function(At){return new(At||Jt)(u.LFG(u.Lbi))},Jt.\u0275prov=u.Yz7({token:Jt,factory:Jt.\u0275fac,providedIn:"root"}),Jt})(),t=(()=>{class Jt{}return Jt.\u0275fac=function(At){return new(At||Jt)},Jt.\u0275mod=u.oAB({type:Jt}),Jt.\u0275inj=u.cJS({}),Jt})();const U=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function w(){if(T)return T;if("object"!=typeof document||!document)return T=new Set(U),T;let Jt=document.createElement("input");return T=new Set(U.filter(yt=>(Jt.setAttribute("type",yt),Jt.type===yt))),T}let P,N,V,st;function L(Jt){return function O(){if(null==P&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>P=!0}))}finally{P=P||!1}return P}()?Jt:!!Jt.capture}function W(){if(null==V){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return V=!1,V;if("scrollBehavior"in document.documentElement.style)V=!0;else{const Jt=Element.prototype.scrollTo;V=!!Jt&&!/\{\s*\[native code\]\s*\}/.test(Jt.toString())}}return V}function tt(){if("object"!=typeof document||!document)return 0;if(null==N){const Jt=document.createElement("div"),yt=Jt.style;Jt.dir="rtl",yt.width="1px",yt.overflow="auto",yt.visibility="hidden",yt.pointerEvents="none",yt.position="absolute";const At=document.createElement("div"),xt=At.style;xt.width="2px",xt.height="1px",Jt.appendChild(At),document.body.appendChild(Jt),N=0,0===Jt.scrollLeft&&(Jt.scrollLeft=1,N=0===Jt.scrollLeft?1:2),Jt.remove()}return N}function bt(Jt){if(function ct(){if(null==st){const Jt=typeof document<"u"?document.head:null;st=!(!Jt||!Jt.createShadowRoot&&!Jt.attachShadow)}return st}()){const yt=Jt.getRootNode?Jt.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&yt instanceof ShadowRoot)return yt}return null}function Dt(){let Jt=typeof document<"u"&&document?document.activeElement:null;for(;Jt&&Jt.shadowRoot;){const yt=Jt.shadowRoot.activeElement;if(yt===Jt)break;Jt=yt}return Jt}function wt(Jt){return Jt.composedPath?Jt.composedPath()[0]:Jt.target}function qt(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},84080:(X,j,h)=>{"use strict";h.d(j,{C5:()=>O,Pl:()=>Dt,UE:()=>L,eL:()=>qt,en:()=>V,ig:()=>ct,u0:()=>tt});var u=h(94650),p=h(36895);class P{attach(At){return this._attachedHost=At,At.attach(this)}detach(){let At=this._attachedHost;null!=At&&(this._attachedHost=null,At.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(At){this._attachedHost=At}}class O extends P{constructor(At,xt,pt,Ot){super(),this.component=At,this.viewContainerRef=xt,this.injector=pt,this.componentFactoryResolver=Ot}}class L extends P{constructor(At,xt,pt,Ot){super(),this.templateRef=At,this.viewContainerRef=xt,this.context=pt,this.injector=Ot}get origin(){return this.templateRef.elementRef}attach(At,xt=this.context){return this.context=xt,super.attach(At)}detach(){return this.context=void 0,super.detach()}}class N extends P{constructor(At){super(),this.element=At instanceof u.SBq?At.nativeElement:At}}class V{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(At){return At instanceof O?(this._attachedPortal=At,this.attachComponentPortal(At)):At instanceof L?(this._attachedPortal=At,this.attachTemplatePortal(At)):this.attachDomPortal&&At instanceof N?(this._attachedPortal=At,this.attachDomPortal(At)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(At){this._disposeFn=At}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class tt extends V{constructor(At,xt,pt,Ot,Bt){super(),this.outletElement=At,this._componentFactoryResolver=xt,this._appRef=pt,this._defaultInjector=Ot,this.attachDomPortal=St=>{const ce=St.element,Vt=this._document.createComment("dom-portal");ce.parentNode.insertBefore(Vt,ce),this.outletElement.appendChild(ce),this._attachedPortal=St,super.setDisposeFn(()=>{Vt.parentNode&&Vt.parentNode.replaceChild(ce,Vt)})},this._document=Bt}attachComponentPortal(At){const pt=(At.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(At.component);let Ot;return At.viewContainerRef?(Ot=At.viewContainerRef.createComponent(pt,At.viewContainerRef.length,At.injector||At.viewContainerRef.injector),this.setDisposeFn(()=>Ot.destroy())):(Ot=pt.create(At.injector||this._defaultInjector||u.zs3.NULL),this._appRef.attachView(Ot.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(Ot.hostView),Ot.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(Ot)),this._attachedPortal=At,Ot}attachTemplatePortal(At){let xt=At.viewContainerRef,pt=xt.createEmbeddedView(At.templateRef,At.context,{injector:At.injector});return pt.rootNodes.forEach(Ot=>this.outletElement.appendChild(Ot)),pt.detectChanges(),this.setDisposeFn(()=>{let Ot=xt.indexOf(pt);-1!==Ot&&xt.remove(Ot)}),this._attachedPortal=At,pt}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(At){return At.hostView.rootNodes[0]}}let ct=(()=>{class yt extends L{constructor(xt,pt){super(xt,pt)}}return yt.\u0275fac=function(xt){return new(xt||yt)(u.Y36(u.Rgc),u.Y36(u.s_b))},yt.\u0275dir=u.lG2({type:yt,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[u.qOj]}),yt})(),Dt=(()=>{class yt extends V{constructor(xt,pt,Ot){super(),this._componentFactoryResolver=xt,this._viewContainerRef=pt,this._isInitialized=!1,this.attached=new u.vpe,this.attachDomPortal=Bt=>{const St=Bt.element,ce=this._document.createComment("dom-portal");Bt.setAttachedHost(this),St.parentNode.insertBefore(ce,St),this._getRootNode().appendChild(St),this._attachedPortal=Bt,super.setDisposeFn(()=>{ce.parentNode&&ce.parentNode.replaceChild(St,ce)})},this._document=Ot}get portal(){return this._attachedPortal}set portal(xt){this.hasAttached()&&!xt&&!this._isInitialized||(this.hasAttached()&&super.detach(),xt&&super.attach(xt),this._attachedPortal=xt||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(xt){xt.setAttachedHost(this);const pt=null!=xt.viewContainerRef?xt.viewContainerRef:this._viewContainerRef,Bt=(xt.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(xt.component),St=pt.createComponent(Bt,pt.length,xt.injector||pt.injector);return pt!==this._viewContainerRef&&this._getRootNode().appendChild(St.hostView.rootNodes[0]),super.setDisposeFn(()=>St.destroy()),this._attachedPortal=xt,this._attachedRef=St,this.attached.emit(St),St}attachTemplatePortal(xt){xt.setAttachedHost(this);const pt=this._viewContainerRef.createEmbeddedView(xt.templateRef,xt.context,{injector:xt.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=xt,this._attachedRef=pt,this.attached.emit(pt),pt}_getRootNode(){const xt=this._viewContainerRef.element.nativeElement;return xt.nodeType===xt.ELEMENT_NODE?xt:xt.parentNode}}return yt.\u0275fac=function(xt){return new(xt||yt)(u.Y36(u._Vd),u.Y36(u.s_b),u.Y36(p.K0))},yt.\u0275dir=u.lG2({type:yt,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[u.qOj]}),yt})(),qt=(()=>{class yt{}return yt.\u0275fac=function(xt){return new(xt||yt)},yt.\u0275mod=u.oAB({type:yt}),yt.\u0275inj=u.cJS({}),yt})()},67376:(X,j,h)=>{"use strict";h.d(j,{Cl:()=>Ge,PQ:()=>yt,ZD:()=>Fe,mF:()=>Jt,rL:()=>xt});var u=h(21281),p=h(94650),x=h(8929),v=h(21086),t=h(56498),T=h(23753),P=(h(90352),h(8139),h(57138)),O=h(92198),L=h(7625),N=h(83353),V=h(36895),W=h(40445);let Jt=(()=>{class Gt{constructor(ne,jt,re){this._ngZone=ne,this._platform=jt,this._scrolled=new x.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=re}register(ne){this.scrollContainers.has(ne)||this.scrollContainers.set(ne,ne.elementScrolled().subscribe(()=>this._scrolled.next(ne)))}deregister(ne){const jt=this.scrollContainers.get(ne);jt&&(jt.unsubscribe(),this.scrollContainers.delete(ne))}scrolled(ne=20){return this._platform.isBrowser?new t.y(jt=>{this._globalSubscription||this._addGlobalListener();const re=ne>0?this._scrolled.pipe((0,P.e)(ne)).subscribe(jt):this._scrolled.subscribe(jt);return this._scrolledCount++,()=>{re.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,v.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((ne,jt)=>this.deregister(jt)),this._scrolled.complete()}ancestorScrolled(ne,jt){const re=this.getAncestorScrollContainers(ne);return this.scrolled(jt).pipe((0,O.h)(Xt=>!Xt||re.indexOf(Xt)>-1))}getAncestorScrollContainers(ne){const jt=[];return this.scrollContainers.forEach((re,Xt)=>{this._scrollableContainsElement(Xt,ne)&&jt.push(Xt)}),jt}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(ne,jt){let re=(0,u.fI)(jt),Xt=ne.getElementRef().nativeElement;do{if(re==Xt)return!0}while(re=re.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const ne=this._getWindow();return(0,T.R)(ne.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return Gt.\u0275fac=function(ne){return new(ne||Gt)(p.LFG(p.R0b),p.LFG(N.t4),p.LFG(V.K0,8))},Gt.\u0275prov=p.Yz7({token:Gt,factory:Gt.\u0275fac,providedIn:"root"}),Gt})(),yt=(()=>{class Gt{constructor(ne,jt,re,Xt){this.elementRef=ne,this.scrollDispatcher=jt,this.ngZone=re,this.dir=Xt,this._destroyed=new x.xQ,this._elementScrolled=new t.y(oe=>this.ngZone.runOutsideAngular(()=>(0,T.R)(this.elementRef.nativeElement,"scroll").pipe((0,L.R)(this._destroyed)).subscribe(oe)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(ne){const jt=this.elementRef.nativeElement,re=this.dir&&"rtl"==this.dir.value;null==ne.left&&(ne.left=re?ne.end:ne.start),null==ne.right&&(ne.right=re?ne.start:ne.end),null!=ne.bottom&&(ne.top=jt.scrollHeight-jt.clientHeight-ne.bottom),re&&0!=(0,N._i)()?(null!=ne.left&&(ne.right=jt.scrollWidth-jt.clientWidth-ne.left),2==(0,N._i)()?ne.left=ne.right:1==(0,N._i)()&&(ne.left=ne.right?-ne.right:ne.right)):null!=ne.right&&(ne.left=jt.scrollWidth-jt.clientWidth-ne.right),this._applyScrollToOptions(ne)}_applyScrollToOptions(ne){const jt=this.elementRef.nativeElement;(0,N.Mq)()?jt.scrollTo(ne):(null!=ne.top&&(jt.scrollTop=ne.top),null!=ne.left&&(jt.scrollLeft=ne.left))}measureScrollOffset(ne){const jt="left",Xt=this.elementRef.nativeElement;if("top"==ne)return Xt.scrollTop;if("bottom"==ne)return Xt.scrollHeight-Xt.clientHeight-Xt.scrollTop;const oe=this.dir&&"rtl"==this.dir.value;return"start"==ne?ne=oe?"right":jt:"end"==ne&&(ne=oe?jt:"right"),oe&&2==(0,N._i)()?ne==jt?Xt.scrollWidth-Xt.clientWidth-Xt.scrollLeft:Xt.scrollLeft:oe&&1==(0,N._i)()?ne==jt?Xt.scrollLeft+Xt.scrollWidth-Xt.clientWidth:-Xt.scrollLeft:ne==jt?Xt.scrollLeft:Xt.scrollWidth-Xt.clientWidth-Xt.scrollLeft}}return Gt.\u0275fac=function(ne){return new(ne||Gt)(p.Y36(p.SBq),p.Y36(Jt),p.Y36(p.R0b),p.Y36(W.Is,8))},Gt.\u0275dir=p.lG2({type:Gt,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),Gt})(),xt=(()=>{class Gt{constructor(ne,jt,re){this._platform=ne,this._change=new x.xQ,this._changeListener=Xt=>{this._change.next(Xt)},this._document=re,jt.runOutsideAngular(()=>{if(ne.isBrowser){const Xt=this._getWindow();Xt.addEventListener("resize",this._changeListener),Xt.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const ne=this._getWindow();ne.removeEventListener("resize",this._changeListener),ne.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const ne={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),ne}getViewportRect(){const ne=this.getViewportScrollPosition(),{width:jt,height:re}=this.getViewportSize();return{top:ne.top,left:ne.left,bottom:ne.top+re,right:ne.left+jt,height:re,width:jt}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const ne=this._document,jt=this._getWindow(),re=ne.documentElement,Xt=re.getBoundingClientRect();return{top:-Xt.top||ne.body.scrollTop||jt.scrollY||re.scrollTop||0,left:-Xt.left||ne.body.scrollLeft||jt.scrollX||re.scrollLeft||0}}change(ne=20){return ne>0?this._change.pipe((0,P.e)(ne)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const ne=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:ne.innerWidth,height:ne.innerHeight}:{width:0,height:0}}}return Gt.\u0275fac=function(ne){return new(ne||Gt)(p.LFG(N.t4),p.LFG(p.R0b),p.LFG(V.K0,8))},Gt.\u0275prov=p.Yz7({token:Gt,factory:Gt.\u0275fac,providedIn:"root"}),Gt})(),Fe=(()=>{class Gt{}return Gt.\u0275fac=function(ne){return new(ne||Gt)},Gt.\u0275mod=p.oAB({type:Gt}),Gt.\u0275inj=p.cJS({}),Gt})(),Ge=(()=>{class Gt{}return Gt.\u0275fac=function(ne){return new(ne||Gt)},Gt.\u0275mod=p.oAB({type:Gt}),Gt.\u0275inj=p.cJS({imports:[W.vT,Fe,W.vT,Fe]}),Gt})()},12138:(X,j,h)=>{"use strict";h.d(j,{B8:()=>wt,KL:()=>V,U5:()=>yt,be:()=>Dt,gx:()=>bt,po:()=>Jt,st:()=>qt,u6:()=>W});var u=h(12687),p=h(40445),x=h(21281),v=h(29521),t=h(94650),T=h(83353),U=h(8929),w=h(21086),P=h(1059),O=h(7625);function L(At,xt){1&At&&t.Hsn(0)}const N=["*"];let V=(()=>{class At{constructor(pt){this._elementRef=pt}focus(){this._elementRef.nativeElement.focus()}}return At.\u0275fac=function(pt){return new(pt||At)(t.Y36(t.SBq))},At.\u0275dir=t.lG2({type:At,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),At})(),W=(()=>{class At{constructor(pt){this.template=pt}}return At.\u0275fac=function(pt){return new(pt||At)(t.Y36(t.Rgc))},At.\u0275dir=t.lG2({type:At,selectors:[["","cdkStepLabel",""]]}),At})(),tt=0;const bt=new t.OlP("STEPPER_GLOBAL_OPTIONS");let Dt=(()=>{class At{constructor(pt,Ot){this._stepper=pt,this.interacted=!1,this.interactedStream=new t.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=Ot||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}get editable(){return this._editable}set editable(pt){this._editable=(0,x.Ig)(pt)}get optional(){return this._optional}set optional(pt){this._optional=(0,x.Ig)(pt)}get completed(){return this._completedOverride??this._getDefaultCompleted()}set completed(pt){this._completedOverride=(0,x.Ig)(pt)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return this._customError??this._getDefaultError()}set hasError(pt){this._customError=(0,x.Ig)(pt)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??null!=this._customError}}return At.\u0275fac=function(pt){return new(pt||At)(t.Y36((0,t.Gpc)(()=>wt)),t.Y36(bt,8))},At.\u0275cmp=t.Xpm({type:At,selectors:[["cdk-step"]],contentQueries:function(pt,Ot,Bt){if(1&pt&&t.Suo(Bt,W,5),2&pt){let St;t.iGM(St=t.CRH())&&(Ot.stepLabel=St.first)}},viewQuery:function(pt,Ot){if(1&pt&&t.Gf(t.Rgc,7),2&pt){let Bt;t.iGM(Bt=t.CRH())&&(Ot.content=Bt.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:"editable",optional:"optional",completed:"completed",hasError:"hasError"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[t.TTD],ngContentSelectors:N,decls:1,vars:0,template:function(pt,Ot){1&pt&&(t.F$t(),t.YNc(0,L,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),At})(),wt=(()=>{class At{constructor(pt,Ot,Bt){this._dir=pt,this._changeDetectorRef=Ot,this._elementRef=Bt,this._destroyed=new U.xQ,this.steps=new t.n_E,this._sortedHeaders=new t.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new t.vpe,this._orientation="horizontal",this._groupId=tt++}get linear(){return this._linear}set linear(pt){this._linear=(0,x.Ig)(pt)}get selectedIndex(){return this._selectedIndex}set selectedIndex(pt){const Ot=(0,x.su)(pt);this.steps&&this._steps?(this._isValidIndex(Ot),this.selected?._markAsInteracted(),this._selectedIndex!==Ot&&!this._anyControlsInvalidOrPending(Ot)&&(Ot>=this._selectedIndex||this.steps.toArray()[Ot].editable)&&this._updateSelectedItemIndex(Ot)):this._selectedIndex=Ot}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(pt){this.selectedIndex=pt&&this.steps?this.steps.toArray().indexOf(pt):-1}get orientation(){return this._orientation}set orientation(pt){this._orientation=pt,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===pt)}ngAfterContentInit(){this._steps.changes.pipe((0,P.O)(this._steps),(0,O.R)(this._destroyed)).subscribe(pt=>{this.steps.reset(pt.filter(Ot=>Ot._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,P.O)(this._stepHeader),(0,O.R)(this._destroyed)).subscribe(pt=>{this._sortedHeaders.reset(pt.toArray().sort((Ot,Bt)=>Ot._elementRef.nativeElement.compareDocumentPosition(Bt._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new u.Em(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,w.of)()).pipe((0,P.O)(this._layoutDirection()),(0,O.R)(this._destroyed)).subscribe(pt=>this._keyManager.withHorizontalOrientation(pt)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(pt=>pt.reset()),this._stateChanged()}_getStepLabelId(pt){return`cdk-step-label-${this._groupId}-${pt}`}_getStepContentId(pt){return`cdk-step-content-${this._groupId}-${pt}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(pt){const Ot=pt-this._selectedIndex;return Ot<0?"rtl"===this._layoutDirection()?"next":"previous":Ot>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(pt,Ot="number"){const Bt=this.steps.toArray()[pt],St=this._isCurrentStep(pt);return Bt._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(Bt,St):this._getGuidelineLogic(Bt,St,Ot)}_getDefaultIndicatorLogic(pt,Ot){return pt._showError()&&pt.hasError&&!Ot?"error":!pt.completed||Ot?"number":pt.editable?"edit":"done"}_getGuidelineLogic(pt,Ot,Bt="number"){return pt._showError()&&pt.hasError&&!Ot?"error":pt.completed&&!Ot?"done":pt.completed&&Ot?Bt:pt.editable&&Ot?"edit":Bt}_isCurrentStep(pt){return this._selectedIndex===pt}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(pt){const Ot=this.steps.toArray();this.selectionChange.emit({selectedIndex:pt,previouslySelectedIndex:this._selectedIndex,selectedStep:Ot[pt],previouslySelectedStep:Ot[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(pt):this._keyManager.updateActiveItem(pt),this._selectedIndex=pt,this._stateChanged()}_onKeydown(pt){const Ot=(0,v.Vb)(pt),Bt=pt.keyCode,St=this._keyManager;null==St.activeItemIndex||Ot||Bt!==v.L_&&Bt!==v.K5?St.onKeydown(pt):(this.selectedIndex=St.activeItemIndex,pt.preventDefault())}_anyControlsInvalidOrPending(pt){return!!(this._linear&&pt>=0)&&this.steps.toArray().slice(0,pt).some(Ot=>{const Bt=Ot.stepControl;return(Bt?Bt.invalid||Bt.pending||!Ot.interacted:!Ot.completed)&&!Ot.optional&&!Ot._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const pt=this._elementRef.nativeElement,Ot=(0,T.ht)();return pt===Ot||pt.contains(Ot)}_isValidIndex(pt){return pt>-1&&(!this.steps||pt {class At{constructor(pt){this._stepper=pt,this.type="submit"}}return At.\u0275fac=function(pt){return new(pt||At)(t.Y36(wt))},At.\u0275dir=t.lG2({type:At,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(pt,Ot){1&pt&&t.NdJ("click",function(){return Ot._stepper.next()}),2&pt&&t.Ikx("type",Ot.type)},inputs:{type:"type"}}),At})(),Jt=(()=>{class At{constructor(pt){this._stepper=pt,this.type="button"}}return At.\u0275fac=function(pt){return new(pt||At)(t.Y36(wt))},At.\u0275dir=t.lG2({type:At,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(pt,Ot){1&pt&&t.NdJ("click",function(){return Ot._stepper.previous()}),2&pt&&t.Ikx("type",Ot.type)},inputs:{type:"type"}}),At})(),yt=(()=>{class At{}return At.\u0275fac=function(pt){return new(pt||At)},At.\u0275mod=t.oAB({type:At}),At.\u0275inj=t.cJS({imports:[p.vT]}),At})()},39349:(X,j,h)=>{"use strict";h.d(j,{IC:()=>V,Ky:()=>W,Lq:()=>L});var u=h(83353),p=h(94650),x=h(21281),v=h(68896),t=h(8929),T=h(23753),U=h(57138),w=h(7625),P=h(36895);const O=(0,u.i$)({passive:!0});let L=(()=>{class tt{constructor(ct,bt){this._platform=ct,this._ngZone=bt,this._monitoredElements=new Map}monitor(ct){if(!this._platform.isBrowser)return v.E;const bt=(0,x.fI)(ct),Dt=this._monitoredElements.get(bt);if(Dt)return Dt.subject;const wt=new t.xQ,qt="cdk-text-field-autofilled",Jt=yt=>{"cdk-text-field-autofill-start"!==yt.animationName||bt.classList.contains(qt)?"cdk-text-field-autofill-end"===yt.animationName&&bt.classList.contains(qt)&&(bt.classList.remove(qt),this._ngZone.run(()=>wt.next({target:yt.target,isAutofilled:!1}))):(bt.classList.add(qt),this._ngZone.run(()=>wt.next({target:yt.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{bt.addEventListener("animationstart",Jt,O),bt.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(bt,{subject:wt,unlisten:()=>{bt.removeEventListener("animationstart",Jt,O)}}),wt}stopMonitoring(ct){const bt=(0,x.fI)(ct),Dt=this._monitoredElements.get(bt);Dt&&(Dt.unlisten(),Dt.subject.complete(),bt.classList.remove("cdk-text-field-autofill-monitored"),bt.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(bt))}ngOnDestroy(){this._monitoredElements.forEach((ct,bt)=>this.stopMonitoring(bt))}}return tt.\u0275fac=function(ct){return new(ct||tt)(p.LFG(u.t4),p.LFG(p.R0b))},tt.\u0275prov=p.Yz7({token:tt,factory:tt.\u0275fac,providedIn:"root"}),tt})(),V=(()=>{class tt{constructor(ct,bt,Dt,wt){this._elementRef=ct,this._platform=bt,this._ngZone=Dt,this._destroyed=new t.xQ,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=qt=>{this._hasFocus="focus"===qt.type},this._document=wt,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(ct){this._minRows=(0,x.su)(ct),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(ct){this._maxRows=(0,x.su)(ct),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(ct){ct=(0,x.Ig)(ct),this._enabled!==ct&&((this._enabled=ct)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(ct){this._cachedPlaceholderHeight=void 0,ct?this._textareaElement.setAttribute("placeholder",ct):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_setMinHeight(){const ct=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;ct&&(this._textareaElement.style.minHeight=ct)}_setMaxHeight(){const ct=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;ct&&(this._textareaElement.style.maxHeight=ct)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const ct=this._getWindow();(0,T.R)(ct,"resize").pipe((0,U.e)(16),(0,w.R)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let ct=this._textareaElement.cloneNode(!1);ct.rows=1,ct.style.position="absolute",ct.style.visibility="hidden",ct.style.border="none",ct.style.padding="0",ct.style.height="",ct.style.minHeight="",ct.style.maxHeight="",ct.style.overflow="hidden",this._textareaElement.parentNode.appendChild(ct),this._cachedLineHeight=ct.clientHeight,ct.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const ct=this._textareaElement,bt=ct.style.marginBottom||"",Dt=this._platform.FIREFOX,wt=Dt&&this._hasFocus,qt=Dt?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";wt&&(ct.style.marginBottom=`${ct.clientHeight}px`),ct.classList.add(qt);const Jt=ct.scrollHeight-4;return ct.classList.remove(qt),wt&&(ct.style.marginBottom=bt),Jt}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const ct=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=ct}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(ct=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const bt=this._elementRef.nativeElement,Dt=bt.value;if(!ct&&this._minRows===this._previousMinRows&&Dt===this._previousValue)return;const wt=this._measureScrollHeight(),qt=Math.max(wt,this._cachedPlaceholderHeight||0);bt.style.height=`${qt}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(bt)):setTimeout(()=>this._scrollToCaretPosition(bt))}),this._previousValue=Dt,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(ct){const{selectionStart:bt,selectionEnd:Dt}=ct;!this._destroyed.isStopped&&this._hasFocus&&ct.setSelectionRange(bt,Dt)}}return tt.\u0275fac=function(ct){return new(ct||tt)(p.Y36(p.SBq),p.Y36(u.t4),p.Y36(p.R0b),p.Y36(P.K0,8))},tt.\u0275dir=p.lG2({type:tt,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(ct,bt){1&ct&&p.NdJ("input",function(){return bt._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),tt})(),W=(()=>{class tt{}return tt.\u0275fac=function(ct){return new(ct||tt)},tt.\u0275mod=p.oAB({type:tt}),tt.\u0275inj=p.cJS({}),tt})()},57851:(X,j,h)=>{"use strict";h.d(j,{C2:()=>V,HI:()=>tt,Hs:()=>xt,Ud:()=>Vt,VY:()=>W,XJ:()=>ce,Xx:()=>Bt,_0:()=>At,cu:()=>st,nZ:()=>fe,rO:()=>bt});var u=h(95017),p=h(54715),x=h(8929),v=h(591),t=h(21086),T=h(72986),U=h(92198),w=h(7625),P=h(94650),O=h(21281),L=h(40445);class N{constructor(){this.expansionModel=new u.Ov(!0)}toggle(Fe){this.expansionModel.toggle(this._trackByValue(Fe))}expand(Fe){this.expansionModel.select(this._trackByValue(Fe))}collapse(Fe){this.expansionModel.deselect(this._trackByValue(Fe))}isExpanded(Fe){return this.expansionModel.isSelected(this._trackByValue(Fe))}toggleDescendants(Fe){this.expansionModel.isSelected(this._trackByValue(Fe))?this.collapseDescendants(Fe):this.expandDescendants(Fe)}collapseAll(){this.expansionModel.clear()}expandDescendants(Fe){let Ge=[Fe];Ge.push(...this.getDescendants(Fe)),this.expansionModel.select(...Ge.map(Gt=>this._trackByValue(Gt)))}collapseDescendants(Fe){let Ge=[Fe];Ge.push(...this.getDescendants(Fe)),this.expansionModel.deselect(...Ge.map(Gt=>this._trackByValue(Gt)))}_trackByValue(Fe){return this.trackBy?this.trackBy(Fe):Fe}}class V extends N{constructor(Fe,Ge,Gt){super(),this.getLevel=Fe,this.isExpandable=Ge,this.options=Gt,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(Fe){const Gt=[];for(let Te=this.dataNodes.indexOf(Fe)+1;Te this._trackByValue(Fe)))}}class W extends N{constructor(Fe,Ge){super(),this.getChildren=Fe,this.options=Ge,this.options&&(this.trackBy=this.options.trackBy)}expandAll(){this.expansionModel.clear();const Fe=this.dataNodes.reduce((Ge,Gt)=>[...Ge,...this.getDescendants(Gt),Gt],[]);this.expansionModel.select(...Fe.map(Ge=>this._trackByValue(Ge)))}getDescendants(Fe){const Ge=[];return this._getDescendants(Ge,Fe),Ge.splice(1)}_getDescendants(Fe,Ge){Fe.push(Ge);const Gt=this.getChildren(Ge);Array.isArray(Gt)?Gt.forEach(Te=>this._getDescendants(Fe,Te)):(0,p.b)(Gt)&&Gt.pipe((0,T.q)(1),(0,U.h)(Boolean)).subscribe(Te=>{for(const ne of Te)this._getDescendants(Fe,ne)})}}const tt=new P.OlP("CDK_TREE_NODE_OUTLET_NODE");let st=(()=>{class Le{constructor(Ge,Gt){this.viewContainer=Ge,this._node=Gt}}return Le.\u0275fac=function(Ge){return new(Ge||Le)(P.Y36(P.s_b),P.Y36(tt,8))},Le.\u0275dir=P.lG2({type:Le,selectors:[["","cdkTreeNodeOutlet",""]]}),Le})();class ct{constructor(Fe){this.$implicit=Fe}}let bt=(()=>{class Le{constructor(Ge){this.template=Ge}}return Le.\u0275fac=function(Ge){return new(Ge||Le)(P.Y36(P.Rgc))},Le.\u0275dir=P.lG2({type:Le,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),Le})(),At=(()=>{class Le{constructor(Ge,Gt){this._differs=Ge,this._changeDetectorRef=Gt,this._onDestroy=new x.xQ,this._levels=new Map,this.viewChange=new v.X({start:0,end:Number.MAX_VALUE})}get dataSource(){return this._dataSource}set dataSource(Ge){this._dataSource!==Ge&&this._switchDataSource(Ge)}ngOnInit(){this._dataDiffer=this._differs.find([]).create(this.trackBy)}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)}ngAfterContentChecked(){const Ge=this._nodeDefs.filter(Gt=>!Gt.when);this._defaultNodeDef=Ge[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(Ge){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),Ge||this._nodeOutlet.viewContainer.clear(),this._dataSource=Ge,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let Ge;(0,u.Z9)(this._dataSource)?Ge=this._dataSource.connect(this):(0,p.b)(this._dataSource)?Ge=this._dataSource:Array.isArray(this._dataSource)&&(Ge=(0,t.of)(this._dataSource)),Ge&&(this._dataSubscription=Ge.pipe((0,w.R)(this._onDestroy)).subscribe(Gt=>this.renderNodeChanges(Gt)))}renderNodeChanges(Ge,Gt=this._dataDiffer,Te=this._nodeOutlet.viewContainer,ne){const jt=Gt.diff(Ge);!jt||(jt.forEachOperation((re,Xt,oe)=>{if(null==re.previousIndex)this.insertNode(Ge[oe],oe,Te,ne);else if(null==oe)Te.remove(Xt),this._levels.delete(re.item);else{const Me=Te.get(Xt);Te.move(Me,oe)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(Ge,Gt){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(ne=>ne.when&&ne.when(Gt,Ge))||this._defaultNodeDef}insertNode(Ge,Gt,Te,ne){const jt=this._getNodeDef(Ge,Gt),re=new ct(Ge);re.level=this.treeControl.getLevel?this.treeControl.getLevel(Ge):typeof ne<"u"&&this._levels.has(ne)?this._levels.get(ne)+1:0,this._levels.set(Ge,re.level),(Te||this._nodeOutlet.viewContainer).createEmbeddedView(jt.template,re,Gt),xt.mostRecentTreeNode&&(xt.mostRecentTreeNode.data=Ge)}}return Le.\u0275fac=function(Ge){return new(Ge||Le)(P.Y36(P.ZZ4),P.Y36(P.sBO))},Le.\u0275cmp=P.Xpm({type:Le,selectors:[["cdk-tree"]],contentQueries:function(Ge,Gt,Te){if(1&Ge&&P.Suo(Te,bt,5),2&Ge){let ne;P.iGM(ne=P.CRH())&&(Gt._nodeDefs=ne)}},viewQuery:function(Ge,Gt){if(1&Ge&&P.Gf(st,7),2&Ge){let Te;P.iGM(Te=P.CRH())&&(Gt._nodeOutlet=Te.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(Ge,Gt){1&Ge&&P.GkF(0,0)},dependencies:[st],encapsulation:2}),Le})(),xt=(()=>{class Le{constructor(Ge,Gt){this._elementRef=Ge,this._tree=Gt,this._destroyed=new x.xQ,this._dataChanges=new x.xQ,Le.mostRecentTreeNode=this,this.role="treeitem"}get role(){return"treeitem"}set role(Ge){this._elementRef.nativeElement.setAttribute("role",Ge)}get data(){return this._data}set data(Ge){Ge!==this._data&&(this._data=Ge,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}ngOnInit(){this._parentNodeAriaLevel=function pt(Le){let Fe=Le.parentElement;for(;Fe&&!Ot(Fe);)Fe=Fe.parentElement;return Fe?Fe.classList.contains("cdk-nested-tree-node")?(0,O.su)(Fe.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){Le.mostRecentTreeNode===this&&(Le.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}}return Le.mostRecentTreeNode=null,Le.\u0275fac=function(Ge){return new(Ge||Le)(P.Y36(P.SBq),P.Y36(At))},Le.\u0275dir=P.lG2({type:Le,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(Ge,Gt){2&Ge&&P.uIk("aria-expanded",Gt.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"]}),Le})();function Ot(Le){const Fe=Le.classList;return!(!Fe?.contains("cdk-nested-tree-node")&&!Fe?.contains("cdk-tree"))}let Bt=(()=>{class Le extends xt{constructor(Ge,Gt,Te){super(Ge,Gt),this._differs=Te}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);const Ge=this._tree.treeControl.getChildren(this.data);Array.isArray(Ge)?this.updateChildrenNodes(Ge):(0,p.b)(Ge)&&Ge.pipe((0,w.R)(this._destroyed)).subscribe(Gt=>this.updateChildrenNodes(Gt)),this.nodeOutlet.changes.pipe((0,w.R)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(Ge){const Gt=this._getNodeOutlet();Ge&&(this._children=Ge),Gt&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,Gt.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const Ge=this._getNodeOutlet();Ge&&(Ge.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const Ge=this.nodeOutlet;return Ge&&Ge.find(Gt=>!Gt._node||Gt._node===this)}}return Le.\u0275fac=function(Ge){return new(Ge||Le)(P.Y36(P.SBq),P.Y36(At),P.Y36(P.ZZ4))},Le.\u0275dir=P.lG2({type:Le,selectors:[["cdk-nested-tree-node"]],contentQueries:function(Ge,Gt,Te){if(1&Ge&&P.Suo(Te,st,5),2&Ge){let ne;P.iGM(ne=P.CRH())&&(Gt.nodeOutlet=ne)}},hostAttrs:[1,"cdk-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[P._Bn([{provide:xt,useExisting:Le},{provide:tt,useExisting:Le}]),P.qOj]}),Le})();const St=/([A-Za-z%]+)$/;let ce=(()=>{class Le{constructor(Ge,Gt,Te,ne){this._treeNode=Ge,this._tree=Gt,this._element=Te,this._dir=ne,this._destroyed=new x.xQ,this.indentUnits="px",this._indent=40,this._setPadding(),ne&&ne.change.pipe((0,w.R)(this._destroyed)).subscribe(()=>this._setPadding(!0)),Ge._dataChanges.subscribe(()=>this._setPadding())}get level(){return this._level}set level(Ge){this._setLevelInput(Ge)}get indent(){return this._indent}set indent(Ge){this._setIndentInput(Ge)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const Ge=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,Gt=this._level??Ge;return"number"==typeof Gt?`${Gt*this._indent}${this.indentUnits}`:null}_setPadding(Ge=!1){const Gt=this._paddingIndent();if(Gt!==this._currentPadding||Ge){const Te=this._element.nativeElement,ne=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",jt="paddingLeft"===ne?"paddingRight":"paddingLeft";Te.style[ne]=Gt||"",Te.style[jt]="",this._currentPadding=Gt}}_setLevelInput(Ge){this._level=(0,O.su)(Ge,null),this._setPadding()}_setIndentInput(Ge){let Gt=Ge,Te="px";if("string"==typeof Ge){const ne=Ge.split(St);Gt=ne[0],Te=ne[1]||Te}this.indentUnits=Te,this._indent=(0,O.su)(Gt),this._setPadding()}}return Le.\u0275fac=function(Ge){return new(Ge||Le)(P.Y36(xt),P.Y36(At),P.Y36(P.SBq),P.Y36(L.Is,8))},Le.\u0275dir=P.lG2({type:Le,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}}),Le})(),Vt=(()=>{class Le{constructor(Ge,Gt){this._tree=Ge,this._treeNode=Gt,this._recursive=!1}get recursive(){return this._recursive}set recursive(Ge){this._recursive=(0,O.Ig)(Ge)}_toggle(Ge){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),Ge.stopPropagation()}}return Le.\u0275fac=function(Ge){return new(Ge||Le)(P.Y36(At),P.Y36(xt))},Le.\u0275dir=P.lG2({type:Le,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(Ge,Gt){1&Ge&&P.NdJ("click",function(ne){return Gt._toggle(ne)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),Le})(),fe=(()=>{class Le{}return Le.\u0275fac=function(Ge){return new(Ge||Le)},Le.\u0275mod=P.oAB({type:Le}),Le.\u0275inj=P.cJS({}),Le})()},36895:(X,j,h)=>{"use strict";h.d(j,{Do:()=>wt,ED:()=>js,EM:()=>Ur,H9:()=>Wl,HT:()=>t,JF:()=>ms,JJ:()=>Dl,K0:()=>U,Mx:()=>zn,NF:()=>$l,Nd:()=>Wc,O5:()=>nr,Ov:()=>uc,PC:()=>ps,PM:()=>Pr,RF:()=>Sc,S$:()=>ct,V_:()=>O,Ye:()=>qt,b0:()=>Dt,bD:()=>qa,ez:()=>ed,i8:()=>Qc,mk:()=>Ki,n9:()=>Ml,q:()=>x,qS:()=>He,rS:()=>$s,sg:()=>ja,tP:()=>Hs,uU:()=>ll,w_:()=>T});var u=h(94650);let p=null;function x(){return p}function t(Pt){p||(p=Pt)}class T{}const U=new u.OlP("DocumentToken");let w=(()=>{class Pt{historyGo(Yt){throw new Error("Not implemented")}}return Pt.\u0275fac=function(Yt){return new(Yt||Pt)},Pt.\u0275prov=u.Yz7({token:Pt,factory:function(){return function P(){return(0,u.LFG)(L)}()},providedIn:"platform"}),Pt})();const O=new u.OlP("Location Initialized");let L=(()=>{class Pt extends w{constructor(Yt){super(),this._doc=Yt,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return x().getBaseHref(this._doc)}onPopState(Yt){const Ve=x().getGlobalEventTarget(this._doc,"window");return Ve.addEventListener("popstate",Yt,!1),()=>Ve.removeEventListener("popstate",Yt)}onHashChange(Yt){const Ve=x().getGlobalEventTarget(this._doc,"window");return Ve.addEventListener("hashchange",Yt,!1),()=>Ve.removeEventListener("hashchange",Yt)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(Yt){this.location.pathname=Yt}pushState(Yt,Ve,Ln){N()?this._history.pushState(Yt,Ve,Ln):this.location.hash=Ln}replaceState(Yt,Ve,Ln){N()?this._history.replaceState(Yt,Ve,Ln):this.location.hash=Ln}forward(){this._history.forward()}back(){this._history.back()}historyGo(Yt=0){this._history.go(Yt)}getState(){return this._history.state}}return Pt.\u0275fac=function(Yt){return new(Yt||Pt)(u.LFG(U))},Pt.\u0275prov=u.Yz7({token:Pt,factory:function(){return function V(){return new L((0,u.LFG)(U))}()},providedIn:"platform"}),Pt})();function N(){return!!window.history.pushState}function W(Pt,de){if(0==Pt.length)return de;if(0==de.length)return Pt;let Yt=0;return Pt.endsWith("/")&&Yt++,de.startsWith("/")&&Yt++,2==Yt?Pt+de.substring(1):1==Yt?Pt+de:Pt+"/"+de}function tt(Pt){const de=Pt.match(/#|\?|$/),Yt=de&&de.index||Pt.length;return Pt.slice(0,Yt-("/"===Pt[Yt-1]?1:0))+Pt.slice(Yt)}function st(Pt){return Pt&&"?"!==Pt[0]?"?"+Pt:Pt}let ct=(()=>{class Pt{historyGo(Yt){throw new Error("Not implemented")}}return Pt.\u0275fac=function(Yt){return new(Yt||Pt)},Pt.\u0275prov=u.Yz7({token:Pt,factory:function(){return(0,u.f3M)(Dt)},providedIn:"root"}),Pt})();const bt=new u.OlP("appBaseHref");let Dt=(()=>{class Pt extends ct{constructor(Yt,Ve){super(),this._platformLocation=Yt,this._removeListenerFns=[],this._baseHref=Ve??this._platformLocation.getBaseHrefFromDOM()??(0,u.f3M)(U).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Yt){this._removeListenerFns.push(this._platformLocation.onPopState(Yt),this._platformLocation.onHashChange(Yt))}getBaseHref(){return this._baseHref}prepareExternalUrl(Yt){return W(this._baseHref,Yt)}path(Yt=!1){const Ve=this._platformLocation.pathname+st(this._platformLocation.search),Ln=this._platformLocation.hash;return Ln&&Yt?`${Ve}${Ln}`:Ve}pushState(Yt,Ve,Ln,kt){const ue=this.prepareExternalUrl(Ln+st(kt));this._platformLocation.pushState(Yt,Ve,ue)}replaceState(Yt,Ve,Ln,kt){const ue=this.prepareExternalUrl(Ln+st(kt));this._platformLocation.replaceState(Yt,Ve,ue)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Yt=0){this._platformLocation.historyGo?.(Yt)}}return Pt.\u0275fac=function(Yt){return new(Yt||Pt)(u.LFG(w),u.LFG(bt,8))},Pt.\u0275prov=u.Yz7({token:Pt,factory:Pt.\u0275fac,providedIn:"root"}),Pt})(),wt=(()=>{class Pt extends ct{constructor(Yt,Ve){super(),this._platformLocation=Yt,this._baseHref="",this._removeListenerFns=[],null!=Ve&&(this._baseHref=Ve)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Yt){this._removeListenerFns.push(this._platformLocation.onPopState(Yt),this._platformLocation.onHashChange(Yt))}getBaseHref(){return this._baseHref}path(Yt=!1){let Ve=this._platformLocation.hash;return null==Ve&&(Ve="#"),Ve.length>0?Ve.substring(1):Ve}prepareExternalUrl(Yt){const Ve=W(this._baseHref,Yt);return Ve.length>0?"#"+Ve:Ve}pushState(Yt,Ve,Ln,kt){let ue=this.prepareExternalUrl(Ln+st(kt));0==ue.length&&(ue=this._platformLocation.pathname),this._platformLocation.pushState(Yt,Ve,ue)}replaceState(Yt,Ve,Ln,kt){let ue=this.prepareExternalUrl(Ln+st(kt));0==ue.length&&(ue=this._platformLocation.pathname),this._platformLocation.replaceState(Yt,Ve,ue)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Yt=0){this._platformLocation.historyGo?.(Yt)}}return Pt.\u0275fac=function(Yt){return new(Yt||Pt)(u.LFG(w),u.LFG(bt,8))},Pt.\u0275prov=u.Yz7({token:Pt,factory:Pt.\u0275fac}),Pt})(),qt=(()=>{class Pt{constructor(Yt){this._subject=new u.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=Yt;const Ve=this._locationStrategy.getBaseHref();this._baseHref=tt(At(Ve)),this._locationStrategy.onPopState(Ln=>{this._subject.emit({url:this.path(!0),pop:!0,state:Ln.state,type:Ln.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Yt=!1){return this.normalize(this._locationStrategy.path(Yt))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Yt,Ve=""){return this.path()==this.normalize(Yt+st(Ve))}normalize(Yt){return Pt.stripTrailingSlash(function yt(Pt,de){return Pt&&de.startsWith(Pt)?de.substring(Pt.length):de}(this._baseHref,At(Yt)))}prepareExternalUrl(Yt){return Yt&&"/"!==Yt[0]&&(Yt="/"+Yt),this._locationStrategy.prepareExternalUrl(Yt)}go(Yt,Ve="",Ln=null){this._locationStrategy.pushState(Ln,"",Yt,Ve),this._notifyUrlChangeListeners(this.prepareExternalUrl(Yt+st(Ve)),Ln)}replaceState(Yt,Ve="",Ln=null){this._locationStrategy.replaceState(Ln,"",Yt,Ve),this._notifyUrlChangeListeners(this.prepareExternalUrl(Yt+st(Ve)),Ln)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Yt=0){this._locationStrategy.historyGo?.(Yt)}onUrlChange(Yt){return this._urlChangeListeners.push(Yt),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(Ve=>{this._notifyUrlChangeListeners(Ve.url,Ve.state)})),()=>{const Ve=this._urlChangeListeners.indexOf(Yt);this._urlChangeListeners.splice(Ve,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Yt="",Ve){this._urlChangeListeners.forEach(Ln=>Ln(Yt,Ve))}subscribe(Yt,Ve,Ln){return this._subject.subscribe({next:Yt,error:Ve,complete:Ln})}}return Pt.normalizeQueryParams=st,Pt.joinWithSlash=W,Pt.stripTrailingSlash=tt,Pt.\u0275fac=function(Yt){return new(Yt||Pt)(u.LFG(ct))},Pt.\u0275prov=u.Yz7({token:Pt,factory:function(){return function Jt(){return new qt((0,u.LFG)(ct))}()},providedIn:"root"}),Pt})();function At(Pt){return Pt.replace(/\/index.html$/,"")}const xt={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var pt=(()=>((pt=pt||{})[pt.Decimal=0]="Decimal",pt[pt.Percent=1]="Percent",pt[pt.Currency=2]="Currency",pt[pt.Scientific=3]="Scientific",pt))(),Bt=(()=>((Bt=Bt||{})[Bt.Format=0]="Format",Bt[Bt.Standalone=1]="Standalone",Bt))(),St=(()=>((St=St||{})[St.Narrow=0]="Narrow",St[St.Abbreviated=1]="Abbreviated",St[St.Wide=2]="Wide",St[St.Short=3]="Short",St))(),ce=(()=>((ce=ce||{})[ce.Short=0]="Short",ce[ce.Medium=1]="Medium",ce[ce.Long=2]="Long",ce[ce.Full=3]="Full",ce))(),Vt=(()=>((Vt=Vt||{})[Vt.Decimal=0]="Decimal",Vt[Vt.Group=1]="Group",Vt[Vt.List=2]="List",Vt[Vt.PercentSign=3]="PercentSign",Vt[Vt.PlusSign=4]="PlusSign",Vt[Vt.MinusSign=5]="MinusSign",Vt[Vt.Exponential=6]="Exponential",Vt[Vt.SuperscriptingExponent=7]="SuperscriptingExponent",Vt[Vt.PerMille=8]="PerMille",Vt[Vt.Infinity=9]="Infinity",Vt[Vt.NaN=10]="NaN",Vt[Vt.TimeSeparator=11]="TimeSeparator",Vt[Vt.CurrencyDecimal=12]="CurrencyDecimal",Vt[Vt.CurrencyGroup=13]="CurrencyGroup",Vt))();function jt(Pt,de){return oi((0,u.cg1)(Pt)[u.wAp.DateFormat],de)}function re(Pt,de){return oi((0,u.cg1)(Pt)[u.wAp.TimeFormat],de)}function Xt(Pt,de){return oi((0,u.cg1)(Pt)[u.wAp.DateTimeFormat],de)}function oe(Pt,de){const Yt=(0,u.cg1)(Pt),Ve=Yt[u.wAp.NumberSymbols][de];if(typeof Ve>"u"){if(de===Vt.CurrencyDecimal)return Yt[u.wAp.NumberSymbols][Vt.Decimal];if(de===Vt.CurrencyGroup)return Yt[u.wAp.NumberSymbols][Vt.Group]}return Ve}function Me(Pt,de){return(0,u.cg1)(Pt)[u.wAp.NumberFormats][de]}function un(Pt){if(!Pt[u.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${Pt[u.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function oi(Pt,de){for(let Yt=de;Yt>-1;Yt--)if(typeof Pt[Yt]<"u")return Pt[Yt];throw new Error("Locale data API: locale data undefined")}function Qe(Pt){const[de,Yt]=Pt.split(":");return{hours:+de,minutes:+Yt}}const Tt=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Rt={},le=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var be=(()=>((be=be||{})[be.Short=0]="Short",be[be.ShortGMT=1]="ShortGMT",be[be.Long=2]="Long",be[be.Extended=3]="Extended",be))(),De=(()=>((De=De||{})[De.FullYear=0]="FullYear",De[De.Month=1]="Month",De[De.Date=2]="Date",De[De.Hours=3]="Hours",De[De.Minutes=4]="Minutes",De[De.Seconds=5]="Seconds",De[De.FractionalSeconds=6]="FractionalSeconds",De[De.Day=7]="Day",De))(),hn=(()=>((hn=hn||{})[hn.DayPeriods=0]="DayPeriods",hn[hn.Days=1]="Days",hn[hn.Months=2]="Months",hn[hn.Eras=3]="Eras",hn))();function qn(Pt,de,Yt,Ve){let Ln=function Ae(Pt){if(Sn(Pt))return Pt;if("number"==typeof Pt&&!isNaN(Pt))return new Date(Pt);if("string"==typeof Pt){if(Pt=Pt.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(Pt)){const[Ln,kt=1,ue=1]=Pt.split("-").map(Ce=>+Ce);return mi(Ln,kt-1,ue)}const Yt=parseFloat(Pt);if(!isNaN(Pt-Yt))return new Date(Yt);let Ve;if(Ve=Pt.match(Tt))return function Ie(Pt){const de=new Date(0);let Yt=0,Ve=0;const Ln=Pt[8]?de.setUTCFullYear:de.setFullYear,kt=Pt[8]?de.setUTCHours:de.setHours;Pt[9]&&(Yt=Number(Pt[9]+Pt[10]),Ve=Number(Pt[9]+Pt[11])),Ln.call(de,Number(Pt[1]),Number(Pt[2])-1,Number(Pt[3]));const ue=Number(Pt[4]||0)-Yt,Ce=Number(Pt[5]||0)-Ve,Ke=Number(Pt[6]||0),bn=Math.floor(1e3*parseFloat("0."+(Pt[7]||0)));return kt.call(de,ue,Ce,Ke,bn),de}(Ve)}const de=new Date(Pt);if(!Sn(de))throw new Error(`Unable to convert "${Pt}" into a date`);return de}(Pt);de=Di(Yt,de)||de;let Ce,ue=[];for(;de;){if(Ce=le.exec(de),!Ce){ue.push(de);break}{ue=ue.concat(Ce.slice(1));const Xn=ue.pop();if(!Xn)break;de=Xn}}let Ke=Ln.getTimezoneOffset();Ve&&(Ke=Nt(Ve,Ke),Ln=function zt(Pt,de,Yt){const Ve=Yt?-1:1,Ln=Pt.getTimezoneOffset();return function Se(Pt,de){return(Pt=new Date(Pt.getTime())).setMinutes(Pt.getMinutes()+de),Pt}(Pt,Ve*(Nt(de,Ln)-Ln))}(Ln,Ve,!0));let bn="";return ue.forEach(Xn=>{const ei=function ge(Pt){if(sn[Pt])return sn[Pt];let de;switch(Pt){case"G":case"GG":case"GGG":de=gn(hn.Eras,St.Abbreviated);break;case"GGGG":de=gn(hn.Eras,St.Wide);break;case"GGGGG":de=gn(hn.Eras,St.Narrow);break;case"y":de=Vn(De.FullYear,1,0,!1,!0);break;case"yy":de=Vn(De.FullYear,2,0,!0,!0);break;case"yyy":de=Vn(De.FullYear,3,0,!1,!0);break;case"yyyy":de=Vn(De.FullYear,4,0,!1,!0);break;case"Y":de=fn(1);break;case"YY":de=fn(2,!0);break;case"YYY":de=fn(3);break;case"YYYY":de=fn(4);break;case"M":case"L":de=Vn(De.Month,1,1);break;case"MM":case"LL":de=Vn(De.Month,2,1);break;case"MMM":de=gn(hn.Months,St.Abbreviated);break;case"MMMM":de=gn(hn.Months,St.Wide);break;case"MMMMM":de=gn(hn.Months,St.Narrow);break;case"LLL":de=gn(hn.Months,St.Abbreviated,Bt.Standalone);break;case"LLLL":de=gn(hn.Months,St.Wide,Bt.Standalone);break;case"LLLLL":de=gn(hn.Months,St.Narrow,Bt.Standalone);break;case"w":de=rn(1);break;case"ww":de=rn(2);break;case"W":de=rn(1,!0);break;case"d":de=Vn(De.Date,1);break;case"dd":de=Vn(De.Date,2);break;case"c":case"cc":de=Vn(De.Day,1);break;case"ccc":de=gn(hn.Days,St.Abbreviated,Bt.Standalone);break;case"cccc":de=gn(hn.Days,St.Wide,Bt.Standalone);break;case"ccccc":de=gn(hn.Days,St.Narrow,Bt.Standalone);break;case"cccccc":de=gn(hn.Days,St.Short,Bt.Standalone);break;case"E":case"EE":case"EEE":de=gn(hn.Days,St.Abbreviated);break;case"EEEE":de=gn(hn.Days,St.Wide);break;case"EEEEE":de=gn(hn.Days,St.Narrow);break;case"EEEEEE":de=gn(hn.Days,St.Short);break;case"a":case"aa":case"aaa":de=gn(hn.DayPeriods,St.Abbreviated);break;case"aaaa":de=gn(hn.DayPeriods,St.Wide);break;case"aaaaa":de=gn(hn.DayPeriods,St.Narrow);break;case"b":case"bb":case"bbb":de=gn(hn.DayPeriods,St.Abbreviated,Bt.Standalone,!0);break;case"bbbb":de=gn(hn.DayPeriods,St.Wide,Bt.Standalone,!0);break;case"bbbbb":de=gn(hn.DayPeriods,St.Narrow,Bt.Standalone,!0);break;case"B":case"BB":case"BBB":de=gn(hn.DayPeriods,St.Abbreviated,Bt.Format,!0);break;case"BBBB":de=gn(hn.DayPeriods,St.Wide,Bt.Format,!0);break;case"BBBBB":de=gn(hn.DayPeriods,St.Narrow,Bt.Format,!0);break;case"h":de=Vn(De.Hours,1,-12);break;case"hh":de=Vn(De.Hours,2,-12);break;case"H":de=Vn(De.Hours,1);break;case"HH":de=Vn(De.Hours,2);break;case"m":de=Vn(De.Minutes,1);break;case"mm":de=Vn(De.Minutes,2);break;case"s":de=Vn(De.Seconds,1);break;case"ss":de=Vn(De.Seconds,2);break;case"S":de=Vn(De.FractionalSeconds,1);break;case"SS":de=Vn(De.FractionalSeconds,2);break;case"SSS":de=Vn(De.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":de=Ee(be.Short);break;case"ZZZZZ":de=Ee(be.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":de=Ee(be.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":de=Ee(be.Long);break;default:return null}return sn[Pt]=de,de}(Xn);bn+=ei?ei(Ln,Yt,Ke):"''"===Xn?"'":Xn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),bn}function mi(Pt,de,Yt){const Ve=new Date(0);return Ve.setFullYear(Pt,de,Yt),Ve.setHours(0,0,0),Ve}function Di(Pt,de){const Yt=function fe(Pt){return(0,u.cg1)(Pt)[u.wAp.LocaleId]}(Pt);if(Rt[Yt]=Rt[Yt]||{},Rt[Yt][de])return Rt[Yt][de];let Ve="";switch(de){case"shortDate":Ve=jt(Pt,ce.Short);break;case"mediumDate":Ve=jt(Pt,ce.Medium);break;case"longDate":Ve=jt(Pt,ce.Long);break;case"fullDate":Ve=jt(Pt,ce.Full);break;case"shortTime":Ve=re(Pt,ce.Short);break;case"mediumTime":Ve=re(Pt,ce.Medium);break;case"longTime":Ve=re(Pt,ce.Long);break;case"fullTime":Ve=re(Pt,ce.Full);break;case"short":const Ln=Di(Pt,"shortTime"),kt=Di(Pt,"shortDate");Ve=bo(Xt(Pt,ce.Short),[Ln,kt]);break;case"medium":const ue=Di(Pt,"mediumTime"),Ce=Di(Pt,"mediumDate");Ve=bo(Xt(Pt,ce.Medium),[ue,Ce]);break;case"long":const Ke=Di(Pt,"longTime"),bn=Di(Pt,"longDate");Ve=bo(Xt(Pt,ce.Long),[Ke,bn]);break;case"full":const Xn=Di(Pt,"fullTime"),ei=Di(Pt,"fullDate");Ve=bo(Xt(Pt,ce.Full),[Xn,ei])}return Ve&&(Rt[Yt][de]=Ve),Ve}function bo(Pt,de){return de&&(Pt=Pt.replace(/\{([^}]+)}/g,function(Yt,Ve){return null!=de&&Ve in de?de[Ve]:Yt})),Pt}function hi(Pt,de,Yt="-",Ve,Ln){let kt="";(Pt<0||Ln&&Pt<=0)&&(Ln?Pt=1-Pt:(Pt=-Pt,kt=Yt));let ue=String(Pt);for(;ue.length 0||Ce>-Yt)&&(Ce+=Yt),Pt===De.Hours)0===Ce&&-12===Yt&&(Ce=12);else if(Pt===De.FractionalSeconds)return function Yn(Pt,de){return hi(Pt,3).substring(0,de)}(Ce,de);const Ke=oe(ue,Vt.MinusSign);return hi(Ce,de,Ke,Ve,Ln)}}function gn(Pt,de,Yt=Bt.Format,Ve=!1){return function(Ln,kt){return function Ye(Pt,de,Yt,Ve,Ln,kt){switch(Yt){case hn.Months:return function Ge(Pt,de,Yt){const Ve=(0,u.cg1)(Pt),kt=oi([Ve[u.wAp.MonthsFormat],Ve[u.wAp.MonthsStandalone]],de);return oi(kt,Yt)}(de,Ln,Ve)[Pt.getMonth()];case hn.Days:return function Fe(Pt,de,Yt){const Ve=(0,u.cg1)(Pt),kt=oi([Ve[u.wAp.DaysFormat],Ve[u.wAp.DaysStandalone]],de);return oi(kt,Yt)}(de,Ln,Ve)[Pt.getDay()];case hn.DayPeriods:const ue=Pt.getHours(),Ce=Pt.getMinutes();if(kt){const bn=function Dn(Pt){const de=(0,u.cg1)(Pt);return un(de),(de[u.wAp.ExtraData][2]||[]).map(Ve=>"string"==typeof Ve?Qe(Ve):[Qe(Ve[0]),Qe(Ve[1])])}(de),Xn=function ii(Pt,de,Yt){const Ve=(0,u.cg1)(Pt);un(Ve);const kt=oi([Ve[u.wAp.ExtraData][0],Ve[u.wAp.ExtraData][1]],de)||[];return oi(kt,Yt)||[]}(de,Ln,Ve),ei=bn.findIndex(Ai=>{if(Array.isArray(Ai)){const[wi,xo]=Ai,xi=ue>=wi.hours&&Ce>=wi.minutes,Yi=ue 0?Math.floor(Ln/60):Math.ceil(Ln/60);switch(Pt){case be.Short:return(Ln>=0?"+":"")+hi(ue,2,kt)+hi(Math.abs(Ln%60),2,kt);case be.ShortGMT:return"GMT"+(Ln>=0?"+":"")+hi(ue,1,kt);case be.Long:return"GMT"+(Ln>=0?"+":"")+hi(ue,2,kt)+":"+hi(Math.abs(Ln%60),2,kt);case be.Extended:return 0===Ve?"Z":(Ln>=0?"+":"")+hi(ue,2,kt)+":"+hi(Math.abs(Ln%60),2,kt);default:throw new Error(`Unknown zone width "${Pt}"`)}}}function ie(Pt){return mi(Pt.getFullYear(),Pt.getMonth(),Pt.getDate()+(4-Pt.getDay()))}function rn(Pt,de=!1){return function(Yt,Ve){let Ln;if(de){const kt=new Date(Yt.getFullYear(),Yt.getMonth(),1).getDay()-1,ue=Yt.getDate();Ln=1+Math.floor((ue+kt)/7)}else{const kt=ie(Yt),ue=function ze(Pt){const de=mi(Pt,0,1).getDay();return mi(Pt,0,1+(de<=4?4:11)-de)}(kt.getFullYear()),Ce=kt.getTime()-ue.getTime();Ln=1+Math.round(Ce/6048e5)}return hi(Ln,Pt,oe(Ve,Vt.MinusSign))}}function fn(Pt,de=!1){return function(Yt,Ve){return hi(ie(Yt).getFullYear(),Pt,oe(Ve,Vt.MinusSign),de)}}const sn={};function Nt(Pt,de){Pt=Pt.replace(/:/g,"");const Yt=Date.parse("Jan 01, 1970 00:00:00 "+Pt)/6e4;return isNaN(Yt)?de:Yt}function Sn(Pt){return Pt instanceof Date&&!isNaN(Pt.valueOf())}const Ei=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Lo(Pt,de,Yt,Ve,Ln,kt,ue=!1){let Ce="",Ke=!1;if(isFinite(Pt)){let bn=function we(Pt){let Ve,Ln,kt,ue,Ce,de=Math.abs(Pt)+"",Yt=0;for((Ln=de.indexOf("."))>-1&&(de=de.replace(".","")),(kt=de.search(/e/i))>0?(Ln<0&&(Ln=kt),Ln+=+de.slice(kt+1),de=de.substring(0,kt)):Ln<0&&(Ln=de.length),kt=0;"0"===de.charAt(kt);kt++);if(kt===(Ce=de.length))Ve=[0],Ln=1;else{for(Ce--;"0"===de.charAt(Ce);)Ce--;for(Ln-=kt,Ve=[],ue=0;kt<=Ce;kt++,ue++)Ve[ue]=Number(de.charAt(kt))}return Ln>22&&(Ve=Ve.splice(0,21),Yt=Ln-1,Ln=1),{digits:Ve,exponent:Yt,integerLen:Ln}}(Pt);ue&&(bn=function Re(Pt){if(0===Pt.digits[0])return Pt;const de=Pt.digits.length-Pt.integerLen;return Pt.exponent?Pt.exponent+=2:(0===de?Pt.digits.push(0,0):1===de&&Pt.digits.push(0),Pt.integerLen+=2),Pt}(bn));let Xn=de.minInt,ei=de.minFrac,Ai=de.maxFrac;if(kt){const oa=kt.match(Ei);if(null===oa)throw new Error(`${kt} is not a valid digit info`);const xa=oa[1],Xr=oa[3],vs=oa[5];null!=xa&&(Xn=Q(xa)),null!=Xr&&(ei=Q(Xr)),null!=vs?Ai=Q(vs):null!=Xr&&ei>Ai&&(Ai=ei)}!function on(Pt,de,Yt){if(de>Yt)throw new Error(`The minimum number of digits after fraction (${de}) is higher than the maximum (${Yt}).`);let Ve=Pt.digits,Ln=Ve.length-Pt.integerLen;const kt=Math.min(Math.max(de,Ln),Yt);let ue=kt+Pt.integerLen,Ce=Ve[ue];if(ue>0){Ve.splice(Math.max(Pt.integerLen,ue));for(let ei=ue;ei =5)if(ue-1<0){for(let ei=0;ei>ue;ei--)Ve.unshift(0),Pt.integerLen++;Ve.unshift(1),Pt.integerLen++}else Ve[ue-1]++;for(;Ln =bn?xo.pop():Ke=!1),Ai>=10?1:0},0);Xn&&(Ve.unshift(Xn),Pt.integerLen++)}(bn,ei,Ai);let wi=bn.digits,xo=bn.integerLen;const xi=bn.exponent;let Yi=[];for(Ke=wi.every(oa=>!oa);xo 0?Yi=wi.splice(xo,wi.length):(Yi=wi,wi=[0]);const pa=[];for(wi.length>=de.lgSize&&pa.unshift(wi.splice(-de.lgSize,wi.length).join(""));wi.length>de.gSize;)pa.unshift(wi.splice(-de.gSize,wi.length).join(""));wi.length&&pa.unshift(wi.join("")),Ce=pa.join(oe(Yt,Ve)),Yi.length&&(Ce+=oe(Yt,Ln)+Yi.join("")),xi&&(Ce+=oe(Yt,Vt.Exponential)+"+"+xi)}else Ce=oe(Yt,Vt.Infinity);return Ce=Pt<0&&!Ke?de.negPre+Ce+de.negSuf:de.posPre+Ce+de.posSuf,Ce}function Rn(Pt,de="-"){const Yt={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Ve=Pt.split(";"),Ln=Ve[0],kt=Ve[1],ue=-1!==Ln.indexOf(".")?Ln.split("."):[Ln.substring(0,Ln.lastIndexOf("0")+1),Ln.substring(Ln.lastIndexOf("0")+1)],Ce=ue[0],Ke=ue[1]||"";Yt.posPre=Ce.substring(0,Ce.indexOf("#"));for(let Xn=0;Xn {class Pt{constructor(Yt,Ve,Ln,kt){this._iterableDiffers=Yt,this._keyValueDiffers=Ve,this._ngEl=Ln,this._renderer=kt,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(Yt){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof Yt?Yt.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(Yt){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof Yt?Yt.split(/\s+/):Yt,this._rawClass&&((0,u.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const Yt=this._iterableDiffer.diff(this._rawClass);Yt&&this._applyIterableChanges(Yt)}else if(this._keyValueDiffer){const Yt=this._keyValueDiffer.diff(this._rawClass);Yt&&this._applyKeyValueChanges(Yt)}}_applyKeyValueChanges(Yt){Yt.forEachAddedItem(Ve=>this._toggleClass(Ve.key,Ve.currentValue)),Yt.forEachChangedItem(Ve=>this._toggleClass(Ve.key,Ve.currentValue)),Yt.forEachRemovedItem(Ve=>{Ve.previousValue&&this._toggleClass(Ve.key,!1)})}_applyIterableChanges(Yt){Yt.forEachAddedItem(Ve=>{if("string"!=typeof Ve.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,u.AaK)(Ve.item)}`);this._toggleClass(Ve.item,!0)}),Yt.forEachRemovedItem(Ve=>this._toggleClass(Ve.item,!1))}_applyClasses(Yt){Yt&&(Array.isArray(Yt)||Yt instanceof Set?Yt.forEach(Ve=>this._toggleClass(Ve,!0)):Object.keys(Yt).forEach(Ve=>this._toggleClass(Ve,!!Yt[Ve])))}_removeClasses(Yt){Yt&&(Array.isArray(Yt)||Yt instanceof Set?Yt.forEach(Ve=>this._toggleClass(Ve,!1)):Object.keys(Yt).forEach(Ve=>this._toggleClass(Ve,!1)))}_toggleClass(Yt,Ve){(Yt=Yt.trim())&&Yt.split(/\s+/g).forEach(Ln=>{Ve?this._renderer.addClass(this._ngEl.nativeElement,Ln):this._renderer.removeClass(this._ngEl.nativeElement,Ln)})}}return Pt.\u0275fac=function(Yt){return new(Yt||Pt)(u.Y36(u.ZZ4),u.Y36(u.aQg),u.Y36(u.SBq),u.Y36(u.Qsj))},Pt.\u0275dir=u.lG2({type:Pt,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),Pt})();class $r{constructor(de,Yt,Ve,Ln){this.$implicit=de,this.ngForOf=Yt,this.index=Ve,this.count=Ln}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ja=(()=>{class Pt{constructor(Yt,Ve,Ln){this._viewContainer=Yt,this._template=Ve,this._differs=Ln,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(Yt){this._ngForOf=Yt,this._ngForOfDirty=!0}set ngForTrackBy(Yt){this._trackByFn=Yt}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(Yt){Yt&&(this._template=Yt)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Yt=this._ngForOf;!this._differ&&Yt&&(this._differ=this._differs.find(Yt).create(this.ngForTrackBy))}if(this._differ){const Yt=this._differ.diff(this._ngForOf);Yt&&this._applyChanges(Yt)}}_applyChanges(Yt){const Ve=this._viewContainer;Yt.forEachOperation((Ln,kt,ue)=>{if(null==Ln.previousIndex)Ve.createEmbeddedView(this._template,new $r(Ln.item,this._ngForOf,-1,-1),null===ue?void 0:ue);else if(null==ue)Ve.remove(null===kt?void 0:kt);else if(null!==kt){const Ce=Ve.get(kt);Ve.move(Ce,ue),Er(Ce,Ln)}});for(let Ln=0,kt=Ve.length;Ln {Er(Ve.get(Ln.currentIndex),Ln)})}static ngTemplateContextGuard(Yt,Ve){return!0}}return Pt.\u0275fac=function(Yt){return new(Yt||Pt)(u.Y36(u.s_b),u.Y36(u.Rgc),u.Y36(u.ZZ4))},Pt.\u0275dir=u.lG2({type:Pt,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),Pt})();function Er(Pt,de){Pt.context.$implicit=de.item}let nr=(()=>{class Pt{constructor(Yt,Ve){this._viewContainer=Yt,this._context=new ds,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Ve}set ngIf(Yt){this._context.$implicit=this._context.ngIf=Yt,this._updateView()}set ngIfThen(Yt){Tr("ngIfThen",Yt),this._thenTemplateRef=Yt,this._thenViewRef=null,this._updateView()}set ngIfElse(Yt){Tr("ngIfElse",Yt),this._elseTemplateRef=Yt,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(Yt,Ve){return!0}}return Pt.\u0275fac=function(Yt){return new(Yt||Pt)(u.Y36(u.s_b),u.Y36(u.Rgc))},Pt.\u0275dir=u.lG2({type:Pt,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),Pt})();class ds{constructor(){this.$implicit=null,this.ngIf=null}}function Tr(Pt,de){if(de&&!de.createEmbeddedView)throw new Error(`${Pt} must be a TemplateRef, but received '${(0,u.AaK)(de)}'.`)}class Ar{constructor(de,Yt){this._viewContainerRef=de,this._templateRef=Yt,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(de){de&&!this._created?this.create():!de&&this._created&&this.destroy()}}let Sc=(()=>{class Pt{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(Yt){this._ngSwitch=Yt,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Yt){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(Yt)}_matchCase(Yt){const Ve=Yt==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||Ve,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Ve}_updateDefaultCases(Yt){if(this._defaultViews&&Yt!==this._defaultUsed){this._defaultUsed=Yt;for(let Ve=0;Ve {class Pt{constructor(Yt,Ve,Ln){this.ngSwitch=Ln,Ln._addCase(),this._view=new Ar(Yt,Ve)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return Pt.\u0275fac=function(Yt){return new(Yt||Pt)(u.Y36(u.s_b),u.Y36(u.Rgc),u.Y36(Sc,9))},Pt.\u0275dir=u.lG2({type:Pt,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),Pt})(),js=(()=>{class Pt{constructor(Yt,Ve,Ln){Ln._addDefault(new Ar(Yt,Ve))}}return Pt.\u0275fac=function(Yt){return new(Yt||Pt)(u.Y36(u.s_b),u.Y36(u.Rgc),u.Y36(Sc,9))},Pt.\u0275dir=u.lG2({type:Pt,selectors:[["","ngSwitchDefault",""]],standalone:!0}),Pt})(),ps=(()=>{class Pt{constructor(Yt,Ve,Ln){this._ngEl=Yt,this._differs=Ve,this._renderer=Ln,this._ngStyle=null,this._differ=null}set ngStyle(Yt){this._ngStyle=Yt,!this._differ&&Yt&&(this._differ=this._differs.find(Yt).create())}ngDoCheck(){if(this._differ){const Yt=this._differ.diff(this._ngStyle);Yt&&this._applyChanges(Yt)}}_setStyle(Yt,Ve){const[Ln,kt]=Yt.split("."),ue=-1===Ln.indexOf("-")?void 0:u.JOm.DashCase;null!=Ve?this._renderer.setStyle(this._ngEl.nativeElement,Ln,kt?`${Ve}${kt}`:Ve,ue):this._renderer.removeStyle(this._ngEl.nativeElement,Ln,ue)}_applyChanges(Yt){Yt.forEachRemovedItem(Ve=>this._setStyle(Ve.key,null)),Yt.forEachAddedItem(Ve=>this._setStyle(Ve.key,Ve.currentValue)),Yt.forEachChangedItem(Ve=>this._setStyle(Ve.key,Ve.currentValue))}}return Pt.\u0275fac=function(Yt){return new(Yt||Pt)(u.Y36(u.SBq),u.Y36(u.aQg),u.Y36(u.Qsj))},Pt.\u0275dir=u.lG2({type:Pt,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),Pt})(),Hs=(()=>{class Pt{constructor(Yt){this._viewContainerRef=Yt,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(Yt){if(Yt.ngTemplateOutlet||Yt.ngTemplateOutletInjector){const Ve=this._viewContainerRef;if(this._viewRef&&Ve.remove(Ve.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:Ln,ngTemplateOutletContext:kt,ngTemplateOutletInjector:ue}=this;this._viewRef=Ve.createEmbeddedView(Ln,kt,ue?{injector:ue}:void 0)}else this._viewRef=null}else this._viewRef&&Yt.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return Pt.\u0275fac=function(Yt){return new(Yt||Pt)(u.Y36(u.s_b))},Pt.\u0275dir=u.lG2({type:Pt,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[u.TTD]}),Pt})();function Fr(Pt,de){return new u.vHH(2100,!1)}class Ud{createSubscription(de,Yt){return de.subscribe({next:Yt,error:Ve=>{throw Ve}})}dispose(de){de.unsubscribe()}}class jd{createSubscription(de,Yt){return de.then(Yt,Ve=>{throw Ve})}dispose(de){}}const Gc=new jd,lc=new Ud;let uc=(()=>{class Pt{constructor(Yt){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=Yt}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Yt){return this._obj?Yt!==this._obj?(this._dispose(),this.transform(Yt)):this._latestValue:(Yt&&this._subscribe(Yt),this._latestValue)}_subscribe(Yt){this._obj=Yt,this._strategy=this._selectStrategy(Yt),this._subscription=this._strategy.createSubscription(Yt,Ve=>this._updateLatestValue(Yt,Ve))}_selectStrategy(Yt){if((0,u.QGY)(Yt))return Gc;if((0,u.F4k)(Yt))return lc;throw Fr()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Yt,Ve){Yt===this._obj&&(this._latestValue=Ve,this._ref.markForCheck())}}return Pt.\u0275fac=function(Yt){return new(Yt||Pt)(u.Y36(u.sBO,16))},Pt.\u0275pipe=u.Yjl({name:"async",type:Pt,pure:!1,standalone:!0}),Pt})(),Qc=(()=>{class Pt{transform(Yt){if(null==Yt)return null;if("string"!=typeof Yt)throw Fr();return Yt.toLowerCase()}}return Pt.\u0275fac=function(Yt){return new(Yt||Pt)},Pt.\u0275pipe=u.Yjl({name:"lowercase",type:Pt,pure:!0,standalone:!0}),Pt})();const jc=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let $s=(()=>{class Pt{transform(Yt){if(null==Yt)return null;if("string"!=typeof Yt)throw Fr();return Yt.replace(jc,Ve=>Ve[0].toUpperCase()+Ve.slice(1).toLowerCase())}}return Pt.\u0275fac=function(Yt){return new(Yt||Pt)},Pt.\u0275pipe=u.Yjl({name:"titlecase",type:Pt,pure:!0,standalone:!0}),Pt})();const Ks=new u.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let ll=(()=>{class Pt{constructor(Yt,Ve){this.locale=Yt,this.defaultTimezone=Ve}transform(Yt,Ve="mediumDate",Ln,kt){if(null==Yt||""===Yt||Yt!=Yt)return null;try{return qn(Yt,Ve,kt||this.locale,Ln??this.defaultTimezone??void 0)}catch(ue){throw Fr()}}}return Pt.\u0275fac=function(Yt){return new(Yt||Pt)(u.Y36(u.soG,16),u.Y36(Ks,24))},Pt.\u0275pipe=u.Yjl({name:"date",type:Pt,pure:!0,standalone:!0}),Pt})(),Wc=(()=>{class Pt{constructor(Yt){this.differs=Yt,this.keyValues=[],this.compareFn=Xs}transform(Yt,Ve=Xs){if(!Yt||!(Yt instanceof Map)&&"object"!=typeof Yt)return null;this.differ||(this.differ=this.differs.find(Yt).create());const Ln=this.differ.diff(Yt),kt=Ve!==this.compareFn;return Ln&&(this.keyValues=[],Ln.forEachItem(ue=>{this.keyValues.push(function Ys(Pt,de){return{key:Pt,value:de}}(ue.key,ue.currentValue))})),(Ln||kt)&&(this.keyValues.sort(Ve),this.compareFn=Ve),this.keyValues}}return Pt.\u0275fac=function(Yt){return new(Yt||Pt)(u.Y36(u.aQg,16))},Pt.\u0275pipe=u.Yjl({name:"keyvalue",type:Pt,pure:!1,standalone:!0}),Pt})();function Xs(Pt,de){const Yt=Pt.key,Ve=de.key;if(Yt===Ve)return 0;if(void 0===Yt)return 1;if(void 0===Ve)return-1;if(null===Yt)return 1;if(null===Ve)return-1;if("string"==typeof Yt&&"string"==typeof Ve)return Yt {class Pt{constructor(Yt){this._locale=Yt}transform(Yt,Ve,Ln){if(!Ca(Yt))return null;Ln=Ln||this._locale;try{return function Ne(Pt,de,Yt){return Lo(Pt,Rn(Me(de,pt.Decimal),oe(de,Vt.MinusSign)),de,Vt.Group,Vt.Decimal,Yt)}(ir(Yt),Ln,Ve)}catch(kt){throw Fr()}}}return Pt.\u0275fac=function(Yt){return new(Yt||Pt)(u.Y36(u.soG,16))},Pt.\u0275pipe=u.Yjl({name:"number",type:Pt,pure:!0,standalone:!0}),Pt})(),Wl=(()=>{class Pt{constructor(Yt,Ve="USD"){this._locale=Yt,this._defaultCurrencyCode=Ve}transform(Yt,Ve=this._defaultCurrencyCode,Ln="symbol",kt,ue){if(!Ca(Yt))return null;ue=ue||this._locale,"boolean"==typeof Ln&&(Ln=Ln?"symbol":"code");let Ce=Ve||this._defaultCurrencyCode;"code"!==Ln&&(Ce="symbol"===Ln||"symbol-narrow"===Ln?function te(Pt,de,Yt="en"){const Ve=function vn(Pt){return(0,u.cg1)(Pt)[u.wAp.Currencies]}(Yt)[Pt]||xt[Pt]||[],Ln=Ve[1];return"narrow"===de&&"string"==typeof Ln?Ln:Ve[0]||Pt}(Ce,"symbol"===Ln?"wide":"narrow",ue):Ln);try{return function ha(Pt,de,Yt,Ve,Ln){const ue=Rn(Me(de,pt.Currency),oe(de,Vt.MinusSign));return ue.minFrac=function K(Pt){let de;const Yt=xt[Pt];return Yt&&(de=Yt[2]),"number"==typeof de?de:2}(Ve),ue.maxFrac=ue.minFrac,Lo(Pt,ue,de,Vt.CurrencyGroup,Vt.CurrencyDecimal,Ln).replace("\xa4",Yt).replace("\xa4","").trim()}(ir(Yt),ue,Ce,Ve,kt)}catch(Ke){throw Fr()}}}return Pt.\u0275fac=function(Yt){return new(Yt||Pt)(u.Y36(u.soG,16),u.Y36(u.EJc,16))},Pt.\u0275pipe=u.Yjl({name:"currency",type:Pt,pure:!0,standalone:!0}),Pt})();function Ca(Pt){return!(null==Pt||""===Pt||Pt!=Pt)}function ir(Pt){if("string"==typeof Pt&&!isNaN(Number(Pt)-parseFloat(Pt)))return Number(Pt);if("number"!=typeof Pt)throw new Error(`${Pt} is not a number`);return Pt}let ed=(()=>{class Pt{}return Pt.\u0275fac=function(Yt){return new(Yt||Pt)},Pt.\u0275mod=u.oAB({type:Pt}),Pt.\u0275inj=u.cJS({}),Pt})();const qa="browser";function $l(Pt){return Pt===qa}function Pr(Pt){return"server"===Pt}let Ur=(()=>{class Pt{}return Pt.\u0275prov=(0,u.Yz7)({token:Pt,providedIn:"root",factory:()=>new vr((0,u.LFG)(U),window)}),Pt})();class vr{constructor(de,Yt){this.document=de,this.window=Yt,this.offset=()=>[0,0]}setOffset(de){this.offset=Array.isArray(de)?()=>de:de}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(de){this.supportsScrolling()&&this.window.scrollTo(de[0],de[1])}scrollToAnchor(de){if(!this.supportsScrolling())return;const Yt=function Qn(Pt,de){const Yt=Pt.getElementById(de)||Pt.getElementsByName(de)[0];if(Yt)return Yt;if("function"==typeof Pt.createTreeWalker&&Pt.body&&(Pt.body.createShadowRoot||Pt.body.attachShadow)){const Ve=Pt.createTreeWalker(Pt.body,NodeFilter.SHOW_ELEMENT);let Ln=Ve.currentNode;for(;Ln;){const kt=Ln.shadowRoot;if(kt){const ue=kt.getElementById(de)||kt.querySelector(`[name="${de}"]`);if(ue)return ue}Ln=Ve.nextNode()}}return null}(this.document,de);Yt&&(this.scrollToElement(Yt),Yt.focus())}setHistoryScrollRestoration(de){if(this.supportScrollRestoration()){const Yt=this.window.history;Yt&&Yt.scrollRestoration&&(Yt.scrollRestoration=de)}}scrollToElement(de){const Yt=de.getBoundingClientRect(),Ve=Yt.left+this.window.pageXOffset,Ln=Yt.top+this.window.pageYOffset,kt=this.offset();this.window.scrollTo(Ve-kt[0],Ln-kt[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const de=as(this.window.history)||as(Object.getPrototypeOf(this.window.history));return!(!de||!de.writable&&!de.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function as(Pt){return Object.getOwnPropertyDescriptor(Pt,"scrollRestoration")}class ms{}},80529:(X,j,h)=>{"use strict";h.d(j,{JF:()=>K,LE:()=>bt,PG:()=>w,TP:()=>Fe,Zn:()=>ce,eN:()=>fe});var u=h(36895),p=h(94650),x=h(21086),v=h(56498),t=h(21406),T=h(92198),U=h(24850);class w{}class P{}class O{constructor(be){this.normalizedNames=new Map,this.lazyUpdate=null,be?this.lazyInit="string"==typeof be?()=>{this.headers=new Map,be.split("\n").forEach(De=>{const hn=De.indexOf(":");if(hn>0){const qn=De.slice(0,hn),mi=qn.toLowerCase(),Di=De.slice(hn+1).trim();this.maybeSetNormalizedName(qn,mi),this.headers.has(mi)?this.headers.get(mi).push(Di):this.headers.set(mi,[Di])}})}:()=>{this.headers=new Map,Object.keys(be).forEach(De=>{let hn=be[De];const qn=De.toLowerCase();"string"==typeof hn&&(hn=[hn]),hn.length>0&&(this.headers.set(qn,hn),this.maybeSetNormalizedName(De,qn))})}:this.headers=new Map}has(be){return this.init(),this.headers.has(be.toLowerCase())}get(be){this.init();const De=this.headers.get(be.toLowerCase());return De&&De.length>0?De[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(be){return this.init(),this.headers.get(be.toLowerCase())||null}append(be,De){return this.clone({name:be,value:De,op:"a"})}set(be,De){return this.clone({name:be,value:De,op:"s"})}delete(be,De){return this.clone({name:be,value:De,op:"d"})}maybeSetNormalizedName(be,De){this.normalizedNames.has(De)||this.normalizedNames.set(De,be)}init(){this.lazyInit&&(this.lazyInit instanceof O?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(be=>this.applyUpdate(be)),this.lazyUpdate=null))}copyFrom(be){be.init(),Array.from(be.headers.keys()).forEach(De=>{this.headers.set(De,be.headers.get(De)),this.normalizedNames.set(De,be.normalizedNames.get(De))})}clone(be){const De=new O;return De.lazyInit=this.lazyInit&&this.lazyInit instanceof O?this.lazyInit:this,De.lazyUpdate=(this.lazyUpdate||[]).concat([be]),De}applyUpdate(be){const De=be.name.toLowerCase();switch(be.op){case"a":case"s":let hn=be.value;if("string"==typeof hn&&(hn=[hn]),0===hn.length)return;this.maybeSetNormalizedName(be.name,De);const qn=("a"===be.op?this.headers.get(De):void 0)||[];qn.push(...hn),this.headers.set(De,qn);break;case"d":const mi=be.value;if(mi){let Di=this.headers.get(De);if(!Di)return;Di=Di.filter(bo=>-1===mi.indexOf(bo)),0===Di.length?(this.headers.delete(De),this.normalizedNames.delete(De)):this.headers.set(De,Di)}else this.headers.delete(De),this.normalizedNames.delete(De)}}forEach(be){this.init(),Array.from(this.normalizedNames.keys()).forEach(De=>be(this.normalizedNames.get(De),this.headers.get(De)))}}class N{encodeKey(be){return st(be)}encodeValue(be){return st(be)}decodeKey(be){return decodeURIComponent(be)}decodeValue(be){return decodeURIComponent(be)}}const W=/%(\d[a-f0-9])/gi,tt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function st(le){return encodeURIComponent(le).replace(W,(be,De)=>tt[De]??be)}function ct(le){return`${le}`}class bt{constructor(be={}){if(this.updates=null,this.cloneFrom=null,this.encoder=be.encoder||new N,be.fromString){if(be.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function V(le,be){const De=new Map;return le.length>0&&le.replace(/^\?/,"").split("&").forEach(qn=>{const mi=qn.indexOf("="),[Di,bo]=-1==mi?[be.decodeKey(qn),""]:[be.decodeKey(qn.slice(0,mi)),be.decodeValue(qn.slice(mi+1))],hi=De.get(Di)||[];hi.push(bo),De.set(Di,hi)}),De}(be.fromString,this.encoder)}else be.fromObject?(this.map=new Map,Object.keys(be.fromObject).forEach(De=>{const hn=be.fromObject[De],qn=Array.isArray(hn)?hn.map(ct):[ct(hn)];this.map.set(De,qn)})):this.map=null}has(be){return this.init(),this.map.has(be)}get(be){this.init();const De=this.map.get(be);return De?De[0]:null}getAll(be){return this.init(),this.map.get(be)||null}keys(){return this.init(),Array.from(this.map.keys())}append(be,De){return this.clone({param:be,value:De,op:"a"})}appendAll(be){const De=[];return Object.keys(be).forEach(hn=>{const qn=be[hn];Array.isArray(qn)?qn.forEach(mi=>{De.push({param:hn,value:mi,op:"a"})}):De.push({param:hn,value:qn,op:"a"})}),this.clone(De)}set(be,De){return this.clone({param:be,value:De,op:"s"})}delete(be,De){return this.clone({param:be,value:De,op:"d"})}toString(){return this.init(),this.keys().map(be=>{const De=this.encoder.encodeKey(be);return this.map.get(be).map(hn=>De+"="+this.encoder.encodeValue(hn)).join("&")}).filter(be=>""!==be).join("&")}clone(be){const De=new bt({encoder:this.encoder});return De.cloneFrom=this.cloneFrom||this,De.updates=(this.updates||[]).concat(be),De}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(be=>this.map.set(be,this.cloneFrom.map.get(be))),this.updates.forEach(be=>{switch(be.op){case"a":case"s":const De=("a"===be.op?this.map.get(be.param):void 0)||[];De.push(ct(be.value)),this.map.set(be.param,De);break;case"d":if(void 0===be.value){this.map.delete(be.param);break}{let hn=this.map.get(be.param)||[];const qn=hn.indexOf(ct(be.value));-1!==qn&&hn.splice(qn,1),hn.length>0?this.map.set(be.param,hn):this.map.delete(be.param)}}}),this.cloneFrom=this.updates=null)}}class wt{constructor(){this.map=new Map}set(be,De){return this.map.set(be,De),this}get(be){return this.map.has(be)||this.map.set(be,be.defaultValue()),this.map.get(be)}delete(be){return this.map.delete(be),this}has(be){return this.map.has(be)}keys(){return this.map.keys()}}function Jt(le){return typeof ArrayBuffer<"u"&&le instanceof ArrayBuffer}function yt(le){return typeof Blob<"u"&&le instanceof Blob}function At(le){return typeof FormData<"u"&&le instanceof FormData}class pt{constructor(be,De,hn,qn){let mi;if(this.url=De,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=be.toUpperCase(),function qt(le){switch(le){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||qn?(this.body=void 0!==hn?hn:null,mi=qn):mi=hn,mi&&(this.reportProgress=!!mi.reportProgress,this.withCredentials=!!mi.withCredentials,mi.responseType&&(this.responseType=mi.responseType),mi.headers&&(this.headers=mi.headers),mi.context&&(this.context=mi.context),mi.params&&(this.params=mi.params)),this.headers||(this.headers=new O),this.context||(this.context=new wt),this.params){const Di=this.params.toString();if(0===Di.length)this.urlWithParams=De;else{const bo=De.indexOf("?");this.urlWithParams=De+(-1===bo?"?":bo Je.set(gn,be.setHeaders[gn]),hi)),be.setParams&&(Yn=Object.keys(be.setParams).reduce((Je,gn)=>Je.set(gn,be.setParams[gn]),Yn)),new pt(De,hn,mi,{params:Yn,headers:hi,context:Vn,reportProgress:bo,responseType:qn,withCredentials:Di})}}var Ot=(()=>((Ot=Ot||{})[Ot.Sent=0]="Sent",Ot[Ot.UploadProgress=1]="UploadProgress",Ot[Ot.ResponseHeader=2]="ResponseHeader",Ot[Ot.DownloadProgress=3]="DownloadProgress",Ot[Ot.Response=4]="Response",Ot[Ot.User=5]="User",Ot))();class Bt{constructor(be,De=200,hn="OK"){this.headers=be.headers||new O,this.status=void 0!==be.status?be.status:De,this.statusText=be.statusText||hn,this.url=be.url||null,this.ok=this.status>=200&&this.status<300}}class St extends Bt{constructor(be={}){super(be),this.type=Ot.ResponseHeader}clone(be={}){return new St({headers:be.headers||this.headers,status:void 0!==be.status?be.status:this.status,statusText:be.statusText||this.statusText,url:be.url||this.url||void 0})}}class ce extends Bt{constructor(be={}){super(be),this.type=Ot.Response,this.body=void 0!==be.body?be.body:null}clone(be={}){return new ce({body:void 0!==be.body?be.body:this.body,headers:be.headers||this.headers,status:void 0!==be.status?be.status:this.status,statusText:be.statusText||this.statusText,url:be.url||this.url||void 0})}}class Vt extends Bt{constructor(be){super(be,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${be.url||"(unknown url)"}`:`Http failure response for ${be.url||"(unknown url)"}: ${be.status} ${be.statusText}`,this.error=be.error||null}}function ve(le,be){return{body:be,headers:le.headers,context:le.context,observe:le.observe,params:le.params,reportProgress:le.reportProgress,responseType:le.responseType,withCredentials:le.withCredentials}}let fe=(()=>{class le{constructor(De){this.handler=De}request(De,hn,qn={}){let mi;if(De instanceof pt)mi=De;else{let hi,Yn;hi=qn.headers instanceof O?qn.headers:new O(qn.headers),qn.params&&(Yn=qn.params instanceof bt?qn.params:new bt({fromObject:qn.params})),mi=new pt(De,hn,void 0!==qn.body?qn.body:null,{headers:hi,context:qn.context,params:Yn,reportProgress:qn.reportProgress,responseType:qn.responseType||"json",withCredentials:qn.withCredentials})}const Di=(0,x.of)(mi).pipe((0,t.b)(hi=>this.handler.handle(hi)));if(De instanceof pt||"events"===qn.observe)return Di;const bo=Di.pipe((0,T.h)(hi=>hi instanceof ce));switch(qn.observe||"body"){case"body":switch(mi.responseType){case"arraybuffer":return bo.pipe((0,U.U)(hi=>{if(null!==hi.body&&!(hi.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return hi.body}));case"blob":return bo.pipe((0,U.U)(hi=>{if(null!==hi.body&&!(hi.body instanceof Blob))throw new Error("Response is not a Blob.");return hi.body}));case"text":return bo.pipe((0,U.U)(hi=>{if(null!==hi.body&&"string"!=typeof hi.body)throw new Error("Response is not a string.");return hi.body}));default:return bo.pipe((0,U.U)(hi=>hi.body))}case"response":return bo;default:throw new Error(`Unreachable: unhandled observe type ${qn.observe}}`)}}delete(De,hn={}){return this.request("DELETE",De,hn)}get(De,hn={}){return this.request("GET",De,hn)}head(De,hn={}){return this.request("HEAD",De,hn)}jsonp(De,hn){return this.request("JSONP",De,{params:(new bt).append(hn,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(De,hn={}){return this.request("OPTIONS",De,hn)}patch(De,hn,qn={}){return this.request("PATCH",De,ve(qn,hn))}post(De,hn,qn={}){return this.request("POST",De,ve(qn,hn))}put(De,hn,qn={}){return this.request("PUT",De,ve(qn,hn))}}return le.\u0275fac=function(De){return new(De||le)(p.LFG(w))},le.\u0275prov=p.Yz7({token:le,factory:le.\u0275fac}),le})();class Le{constructor(be,De){this.next=be,this.interceptor=De}handle(be){return this.interceptor.intercept(be,this.next)}}const Fe=new p.OlP("HTTP_INTERCEPTORS");let Ge=(()=>{class le{intercept(De,hn){return hn.handle(De)}}return le.\u0275fac=function(De){return new(De||le)},le.\u0275prov=p.Yz7({token:le,factory:le.\u0275fac}),le})();const _n=/^\)\]\}',?\n/;let vn=(()=>{class le{constructor(De){this.xhrFactory=De}handle(De){if("JSONP"===De.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new v.y(hn=>{const qn=this.xhrFactory.build();if(qn.open(De.method,De.urlWithParams),De.withCredentials&&(qn.withCredentials=!0),De.headers.forEach((Ye,Ee)=>qn.setRequestHeader(Ye,Ee.join(","))),De.headers.has("Accept")||qn.setRequestHeader("Accept","application/json, text/plain, */*"),!De.headers.has("Content-Type")){const Ye=De.detectContentTypeHeader();null!==Ye&&qn.setRequestHeader("Content-Type",Ye)}if(De.responseType){const Ye=De.responseType.toLowerCase();qn.responseType="json"!==Ye?Ye:"text"}const mi=De.serializeBody();let Di=null;const bo=()=>{if(null!==Di)return Di;const Ye=qn.statusText||"OK",Ee=new O(qn.getAllResponseHeaders()),Xe=function xe(le){return"responseURL"in le&&le.responseURL?le.responseURL:/^X-Request-URL:/m.test(le.getAllResponseHeaders())?le.getResponseHeader("X-Request-URL"):null}(qn)||De.url;return Di=new St({headers:Ee,status:qn.status,statusText:Ye,url:Xe}),Di},hi=()=>{let{headers:Ye,status:Ee,statusText:Xe,url:se}=bo(),ze=null;204!==Ee&&(ze=typeof qn.response>"u"?qn.responseText:qn.response),0===Ee&&(Ee=ze?200:0);let ie=Ee>=200&&Ee<300;if("json"===De.responseType&&"string"==typeof ze){const rn=ze;ze=ze.replace(_n,"");try{ze=""!==ze?JSON.parse(ze):null}catch(fn){ze=rn,ie&&(ie=!1,ze={error:fn,text:ze})}}ie?(hn.next(new ce({body:ze,headers:Ye,status:Ee,statusText:Xe,url:se||void 0})),hn.complete()):hn.error(new Vt({error:ze,headers:Ye,status:Ee,statusText:Xe,url:se||void 0}))},Yn=Ye=>{const{url:Ee}=bo(),Xe=new Vt({error:Ye,status:qn.status||0,statusText:qn.statusText||"Unknown Error",url:Ee||void 0});hn.error(Xe)};let Vn=!1;const Je=Ye=>{Vn||(hn.next(bo()),Vn=!0);let Ee={type:Ot.DownloadProgress,loaded:Ye.loaded};Ye.lengthComputable&&(Ee.total=Ye.total),"text"===De.responseType&&!!qn.responseText&&(Ee.partialText=qn.responseText),hn.next(Ee)},gn=Ye=>{let Ee={type:Ot.UploadProgress,loaded:Ye.loaded};Ye.lengthComputable&&(Ee.total=Ye.total),hn.next(Ee)};return qn.addEventListener("load",hi),qn.addEventListener("error",Yn),qn.addEventListener("timeout",Yn),qn.addEventListener("abort",Yn),De.reportProgress&&(qn.addEventListener("progress",Je),null!==mi&&qn.upload&&qn.upload.addEventListener("progress",gn)),qn.send(mi),hn.next({type:Ot.Sent}),()=>{qn.removeEventListener("error",Yn),qn.removeEventListener("abort",Yn),qn.removeEventListener("load",hi),qn.removeEventListener("timeout",Yn),De.reportProgress&&(qn.removeEventListener("progress",Je),null!==mi&&qn.upload&&qn.upload.removeEventListener("progress",gn)),qn.readyState!==qn.DONE&&qn.abort()}})}}return le.\u0275fac=function(De){return new(De||le)(p.LFG(u.JF))},le.\u0275prov=p.Yz7({token:le,factory:le.\u0275fac}),le})();const ke=new p.OlP("XSRF_COOKIE_NAME"),un=new p.OlP("XSRF_HEADER_NAME");class Dn{}let ii=(()=>{class le{constructor(De,hn,qn){this.doc=De,this.platform=hn,this.cookieName=qn,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const De=this.doc.cookie||"";return De!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,u.Mx)(De,this.cookieName),this.lastCookieString=De),this.lastToken}}return le.\u0275fac=function(De){return new(De||le)(p.LFG(u.K0),p.LFG(p.Lbi),p.LFG(ke))},le.\u0275prov=p.Yz7({token:le,factory:le.\u0275fac}),le})(),_i=(()=>{class le{constructor(De,hn){this.tokenService=De,this.headerName=hn}intercept(De,hn){const qn=De.url.toLowerCase();if("GET"===De.method||"HEAD"===De.method||qn.startsWith("http://")||qn.startsWith("https://"))return hn.handle(De);const mi=this.tokenService.getToken();return null!==mi&&!De.headers.has(this.headerName)&&(De=De.clone({headers:De.headers.set(this.headerName,mi)})),hn.handle(De)}}return le.\u0275fac=function(De){return new(De||le)(p.LFG(Dn),p.LFG(un))},le.\u0275prov=p.Yz7({token:le,factory:le.\u0275fac}),le})(),oi=(()=>{class le{constructor(De,hn){this.backend=De,this.injector=hn,this.chain=null}handle(De){if(null===this.chain){const hn=this.injector.get(Fe,[]);this.chain=hn.reduceRight((qn,mi)=>new Le(qn,mi),this.backend)}return this.chain.handle(De)}}return le.\u0275fac=function(De){return new(De||le)(p.LFG(P),p.LFG(p.zs3))},le.\u0275prov=p.Yz7({token:le,factory:le.\u0275fac}),le})(),it=(()=>{class le{static disable(){return{ngModule:le,providers:[{provide:_i,useClass:Ge}]}}static withOptions(De={}){return{ngModule:le,providers:[De.cookieName?{provide:ke,useValue:De.cookieName}:[],De.headerName?{provide:un,useValue:De.headerName}:[]]}}}return le.\u0275fac=function(De){return new(De||le)},le.\u0275mod=p.oAB({type:le}),le.\u0275inj=p.cJS({providers:[_i,{provide:Fe,useExisting:_i,multi:!0},{provide:Dn,useClass:ii},{provide:ke,useValue:"XSRF-TOKEN"},{provide:un,useValue:"X-XSRF-TOKEN"}]}),le})(),K=(()=>{class le{}return le.\u0275fac=function(De){return new(De||le)},le.\u0275mod=p.oAB({type:le}),le.\u0275inj=p.cJS({providers:[fe,{provide:w,useClass:oi},vn,{provide:P,useExisting:vn}],imports:[it.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),le})()},94650:(X,j,h)=>{"use strict";h.d(j,{$8M:()=>Sl,$Z:()=>_p,AFp:()=>z8,ALo:()=>_8,AaK:()=>w,AsE:()=>U4,B6R:()=>ze,BQk:()=>Hg,CHM:()=>or,CRH:()=>w8,CZH:()=>R4,CqO:()=>Vm,D6c:()=>gy,DdM:()=>s8,Dn7:()=>v8,EJc:()=>H7,EiD:()=>g2,EpF:()=>d6,F$t:()=>Yg,F4k:()=>Gs,FYo:()=>og,FiY:()=>oc,G48:()=>ty,Gf:()=>_v,GfV:()=>s1,GkF:()=>_h,Gpc:()=>L,Gre:()=>p3,HOy:()=>u3,Hsn:()=>r3,Ikx:()=>M,JOm:()=>Lu,JVY:()=>Jh,Jf7:()=>Pm,KtG:()=>Kr,L6k:()=>p2,LAX:()=>xm,LFG:()=>ic,LSH:()=>y_,Lbi:()=>F7,Lck:()=>JC,MAs:()=>i4,MGl:()=>hh,MMx:()=>$5,NdJ:()=>fh,O4$:()=>Si,OlP:()=>Un,Oqu:()=>A4,PXZ:()=>ob,Q6J:()=>l1,QGY:()=>n3,QP$:()=>Sn,QbO:()=>I7,Qsj:()=>ao,R0b:()=>Wp,RDi:()=>rc,Rgc:()=>I4,SBq:()=>Zm,Sil:()=>G8,Suo:()=>U8,TTD:()=>lu,TgZ:()=>u1,Tol:()=>g4,Udp:()=>l3,VKq:()=>c8,W1O:()=>Z8,WFA:()=>o4,WLB:()=>l8,XFs:()=>oi,Xpm:()=>se,Xts:()=>x2,Y36:()=>iu,YKP:()=>O6,YNc:()=>t3,Yjl:()=>Se,Yz7:()=>re,Z0I:()=>en,ZZ4:()=>Rv,_Bn:()=>j5,_UZ:()=>e3,_Vd:()=>wm,_c5:()=>fy,_uU:()=>x6,aQg:()=>Y4,c2e:()=>q7,cJS:()=>oe,cg1:()=>_e,d8E:()=>S,dDg:()=>nb,dqk:()=>qn,dwT:()=>Zt,eBb:()=>Il,eFA:()=>rb,ekj:()=>h4,eoX:()=>ib,evT:()=>T2,f3M:()=>Up,g9A:()=>B8,gM2:()=>E6,h0i:()=>h3,hGG:()=>hy,hij:()=>Jg,iGM:()=>mv,ifc:()=>hn,ip1:()=>Y8,jDz:()=>t8,kL8:()=>mn,kYT:()=>sn,kcU:()=>vo,lG2:()=>Nt,lcZ:()=>h8,lnq:()=>b6,lqb:()=>up,lri:()=>tb,mCW:()=>cd,n5z:()=>Kd,n_E:()=>F6,oAB:()=>fn,oJD:()=>$h,oxw:()=>a4,pB0:()=>Ip,q3G:()=>hs,qLn:()=>Yp,qOj:()=>V2,qZA:()=>V1,qzn:()=>S1,rWj:()=>eb,s9C:()=>zg,sBO:()=>_b,sIi:()=>fi,s_b:()=>N6,soG:()=>G6,tb:()=>J8,tp0:()=>wp,uIk:()=>au,uOi:()=>T_,vHH:()=>tt,vpe:()=>J1,wAp:()=>Gn,xDo:()=>w4,xi3:()=>g8,xp6:()=>qf,ynx:()=>Rg,z2F:()=>t5,z3N:()=>Js,zSh:()=>lp,zs3:()=>dd});var u=h(8929),p=h(42654),x=h(56498),v=h(36787),t=h(12474);function T(f){for(let g in f)if(f[g]===T)return g;throw Error("Could not find renamed property on target object.")}function U(f,g){for(const y in g)g.hasOwnProperty(y)&&!f.hasOwnProperty(y)&&(f[y]=g[y])}function w(f){if("string"==typeof f)return f;if(Array.isArray(f))return"["+f.map(w).join(", ")+"]";if(null==f)return""+f;if(f.overriddenName)return`${f.overriddenName}`;if(f.name)return`${f.name}`;const g=f.toString();if(null==g)return""+g;const y=g.indexOf("\n");return-1===y?g:g.substring(0,y)}function P(f,g){return null==f||""===f?null===g?"":g:null==g||""===g?f:f+" "+g}const O=T({__forward_ref__:T});function L(f){return f.__forward_ref__=L,f.toString=function(){return w(this())},f}function N(f){return V(f)?f():f}function V(f){return"function"==typeof f&&f.hasOwnProperty(O)&&f.__forward_ref__===L}class tt extends Error{constructor(g,y){super(function st(f,g){return`NG0${Math.abs(f)}${g?": "+g.trim():""}`}(g,y)),this.code=g}}function ct(f){return"string"==typeof f?f:null==f?"":String(f)}function Jt(f,g){throw new tt(-201,!1)}function Ge(f,g){null==f&&function Gt(f,g,y,k){throw new Error(`ASSERTION ERROR: ${f}`+(null==k?"":` [Expected=> ${y} ${k} ${g} <=Actual]`))}(g,f,null,"!=")}function re(f){return{token:f.token,providedIn:f.providedIn||null,factory:f.factory,value:void 0}}function oe(f){return{providers:f.providers||[],imports:f.imports||[]}}function Me(f){return _n(f,un)||_n(f,ii)}function en(f){return null!==Me(f)}function _n(f,g){return f.hasOwnProperty(g)?f[g]:null}function ke(f){return f&&(f.hasOwnProperty(Dn)||f.hasOwnProperty(_i))?f[Dn]:null}const un=T({\u0275prov:T}),Dn=T({\u0275inj:T}),ii=T({ngInjectableDef:T}),_i=T({ngInjectorDef:T});var oi=(()=>((oi=oi||{})[oi.Default=0]="Default",oi[oi.Host=1]="Host",oi[oi.Self=2]="Self",oi[oi.SkipSelf=4]="SkipSelf",oi[oi.Optional=8]="Optional",oi))();let Qe;function it(f){const g=Qe;return Qe=f,g}function K(f,g,y){const k=Me(f);return k&&"root"==k.providedIn?void 0===k.value?k.value=k.factory():k.value:y&oi.Optional?null:void 0!==g?g:void Jt(w(f))}function Rt(f){return{toString:f}.toString()}var le=(()=>((le=le||{})[le.OnPush=0]="OnPush",le[le.Default=1]="Default",le))(),hn=(()=>{return(f=hn||(hn={}))[f.Emulated=0]="Emulated",f[f.None=2]="None",f[f.ShadowDom=3]="ShadowDom",hn;var f})();const qn=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),bo={},hi=[],Yn=T({\u0275cmp:T}),Vn=T({\u0275dir:T}),Je=T({\u0275pipe:T}),gn=T({\u0275mod:T}),Ye=T({\u0275fac:T}),Ee=T({__NG_ELEMENT_ID__:T});let Xe=0;function se(f){return Rt(()=>{const y=!0===f.standalone,k={},F={type:f.type,providersResolver:null,decls:f.decls,vars:f.vars,factory:null,template:f.template||null,consts:f.consts||null,ngContentSelectors:f.ngContentSelectors,hostBindings:f.hostBindings||null,hostVars:f.hostVars||0,hostAttrs:f.hostAttrs||null,contentQueries:f.contentQueries||null,declaredInputs:k,inputs:null,outputs:null,exportAs:f.exportAs||null,onPush:f.changeDetection===le.OnPush,directiveDefs:null,pipeDefs:null,standalone:y,dependencies:y&&f.dependencies||null,getStandaloneInjector:null,selectors:f.selectors||hi,viewQuery:f.viewQuery||null,features:f.features||null,data:f.data||{},encapsulation:f.encapsulation||hn.Emulated,id:"c"+Xe++,styles:f.styles||hi,_:null,setInput:null,schemas:f.schemas||null,tView:null},H=f.dependencies,ot=f.features;return F.inputs=ge(f.inputs,k),F.outputs=ge(f.outputs),ot&&ot.forEach(Ct=>Ct(F)),F.directiveDefs=H?()=>("function"==typeof H?H():H).map(ie).filter(rn):null,F.pipeDefs=H?()=>("function"==typeof H?H():H).map(Ie).filter(rn):null,F})}function ze(f,g,y){const k=f.\u0275cmp;k.directiveDefs=()=>("function"==typeof g?g():g).map(ie),k.pipeDefs=()=>("function"==typeof y?y():y).map(Ie)}function ie(f){return zt(f)||Ae(f)}function rn(f){return null!==f}function fn(f){return Rt(()=>({type:f.type,bootstrap:f.bootstrap||hi,declarations:f.declarations||hi,imports:f.imports||hi,exports:f.exports||hi,transitiveCompileScopes:null,schemas:f.schemas||null,id:f.id||null}))}function sn(f,g){return Rt(()=>{const y=Ei(f,!0);y.declarations=g.declarations||hi,y.imports=g.imports||hi,y.exports=g.exports||hi})}function ge(f,g){if(null==f)return bo;const y={};for(const k in f)if(f.hasOwnProperty(k)){let F=f[k],H=F;Array.isArray(F)&&(H=F[1],F=F[0]),y[F]=k,g&&(g[F]=H)}return y}const Nt=se;function Se(f){return{type:f.type,name:f.name,factory:null,pure:!1!==f.pure,standalone:!0===f.standalone,onDestroy:f.type.prototype.ngOnDestroy||null}}function zt(f){return f[Yn]||null}function Ae(f){return f[Vn]||null}function Ie(f){return f[Je]||null}function Sn(f){const g=zt(f)||Ae(f)||Ie(f);return null!==g&&g.standalone}function Ei(f,g){const y=f[gn]||null;if(!y&&!0===g)throw new Error(`Type ${w(f)} does not have '\u0275mod' property.`);return y}const Q=16,J=18;function Tr(f){return Array.isArray(f)&&"object"==typeof f[1]}function Ar(f){return Array.isArray(f)&&!0===f[1]}function Sc(f){return 0!=(8&f.flags)}function Ml(f){return 2==(2&f.flags)}function js(f){return 1==(1&f.flags)}function Ls(f){return null!==f.template}function Ws(f){return 0!=(256&f[2])}function Xs(f,g){return f.hasOwnProperty(Ye)?f[Ye]:null}class Dl{constructor(g,y,k){this.previousValue=g,this.currentValue=y,this.firstChange=k}isFirstChange(){return this.firstChange}}function lu(){return Wl}function Wl(f){return f.type.prototype.ngOnChanges&&(f.setInput=ir),Ca}function Ca(){const f=Tu(this),g=f?.current;if(g){const y=f.previous;if(y===bo)f.previous=g;else for(let k in g)y[k]=g[k];f.current=null,this.ngOnChanges(g)}}function ir(f,g,y,k){const F=Tu(f)||function ed(f,g){return f[bc]=g}(f,{previous:bo,current:null}),H=F.current||(F.current={}),ot=F.previous,Ct=this.declaredInputs[y],It=ot[Ct];H[Ct]=new Dl(It&&It.currentValue,g,ot===bo),f[k]=g}lu.ngInherit=!0;const bc="__ngSimpleChanges__";function Tu(f){return f[bc]||null}function Va(f){for(;Array.isArray(f);)f=f[0];return f}function as(f,g){return Va(g[f])}function Qn(f,g){return Va(g[f.index])}function ms(f,g){return f.data[g]}function Za(f,g){return f[g]}function rs(f,g){const y=g[f];return Tr(y)?y:y[0]}function ws(f){return 64==(64&f[2])}function tc(f,g){return null==g?null:f[g]}function Ns(f){f[J]=0}function Ba(f,g){f[5]+=g;let y=f,k=f[3];for(;null!==k&&(1===g&&1===y[5]||-1===g&&0===y[5]);)k[5]+=g,y=k,k=k[3]}const io={lFrame:ut(null),bindingsEnabled:!0};function Cc(){return io.bindingsEnabled}function Gi(){return io.lFrame.lView}function da(){return io.lFrame.tView}function or(f){return io.lFrame.contextLView=f,f[8]}function Kr(f){return io.lFrame.contextLView=null,f}function Wa(){let f=ae();for(;null!==f&&64===f.type;)f=f.parent;return f}function ae(){return io.lFrame.currentTNode}function Ft(f,g){const y=io.lFrame;y.currentTNode=f,y.isParent=g}function et(){return io.lFrame.isParent}function Mi(){io.lFrame.isParent=!1}function Ir(){const f=io.lFrame;let g=f.bindingRootIndex;return-1===g&&(g=f.bindingRootIndex=f.tView.bindingStartIndex),g}function qr(){return io.lFrame.bindingIndex}function Ja(){return io.lFrame.bindingIndex++}function Kc(f){const g=io.lFrame,y=g.bindingIndex;return g.bindingIndex=g.bindingIndex+f,y}function x1(f,g){const y=io.lFrame;y.bindingIndex=y.bindingRootIndex=f,du(g)}function du(f){io.lFrame.currentDirectiveIndex=f}function Fc(f){const g=io.lFrame.currentDirectiveIndex;return-1===g?null:f[g]}function Nc(){return io.lFrame.currentQueryIndex}function dl(f){io.lFrame.currentQueryIndex=f}function tp(f){const g=f[1];return 2===g.type?g.declTNode:1===g.type?f[6]:null}function Pl(f,g,y){if(y&oi.SkipSelf){let F=g,H=f;for(;!(F=F.parent,null!==F||y&oi.Host||(F=tp(H),null===F||(H=H[15],10&F.type))););if(null===F)return!1;g=F,f=H}const k=io.lFrame=Bi();return k.currentTNode=g,k.lView=f,!0}function yc(f){const g=Bi(),y=f[1];io.lFrame=g,g.currentTNode=y.firstChild,g.lView=f,g.tView=y,g.contextLView=f,g.bindingIndex=y.bindingStartIndex,g.inI18n=!1}function Bi(){const f=io.lFrame,g=null===f?null:f.child;return null===g?ut(f):g}function ut(f){const g={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:f,child:null,inI18n:!1};return null!==f&&(f.child=g),g}function pu(){const f=io.lFrame;return io.lFrame=f.parent,f.currentTNode=null,f.lView=null,f}const Kl=pu;function wa(){const f=pu();f.isParent=!0,f.tView=null,f.selectedIndex=-1,f.contextLView=null,f.elementDepthCount=0,f.currentDirectiveIndex=-1,f.currentNamespace=null,f.bindingRootIndex=-1,f.bindingIndex=-1,f.currentQueryIndex=0}function Rr(){return io.lFrame.selectedIndex}function gs(f){io.lFrame.selectedIndex=f}function Pa(){const f=io.lFrame;return ms(f.tView,f.selectedIndex)}function Si(){io.lFrame.currentNamespace="svg"}function vo(){!function ln(){io.lFrame.currentNamespace=null}()}function Zi(f,g){for(let y=g.directiveStart,k=g.directiveEnd;y =k)break}else g[It]<0&&(f[J]+=65536),(Ct >11 >16&&(3&f[2])===g){f[2]+=2048;try{H.call(Ct)}finally{}}}else try{H.call(Ct)}finally{}}class Uu{constructor(g,y,k){this.factory=g,this.resolving=!1,this.canSeeViewProviders=y,this.injectImpl=k}}function Ve(f,g,y){let k=0;for(;k g){ot=H-1;break}}}for(;H >16}(f),k=g;for(;y>0;)k=k[15],y--;return k}let Ai=!0;function wi(f){const g=Ai;return Ai=f,g}let pa=0;const oa={};function Xr(f,g){const y=Ms(f,g);if(-1!==y)return y;const k=g[1];k.firstCreatePass&&(f.injectorIndex=g.length,vs(k.data,f),vs(g,null),vs(k.blueprint,null));const F=ts(f,g),H=f.injectorIndex;if(Ke(F)){const ot=bn(F),Ct=ei(F,g),It=Ct[1].data;for(let he=0;he<8;he++)g[H+he]=Ct[ot+he]|It[ot+he]}return g[H+8]=F,H}function vs(f,g){f.push(0,0,0,0,0,0,0,0,g)}function Ms(f,g){return-1===f.injectorIndex||f.parent&&f.parent.injectorIndex===f.injectorIndex||null===g[f.injectorIndex+8]?-1:f.injectorIndex}function ts(f,g){if(f.parent&&-1!==f.parent.injectorIndex)return f.parent.injectorIndex;let y=0,k=null,F=g;for(;null!==F;){if(k=ip(F),null===k)return-1;if(y++,F=F[15],-1!==k.injectorIndex)return k.injectorIndex|y<<16}return-1}function Jr(f,g,y){!function xa(f,g,y){let k;"string"==typeof y?k=y.charCodeAt(0)||0:y.hasOwnProperty(Ee)&&(k=y[Ee]),null==k&&(k=y[Ee]=pa++);const F=255&k;g.data[f+(F>>5)]|=1< =0?255&g:Zd:g}(y);if("function"==typeof H){if(!Pl(g,f,k))return k&oi.Host?wr(F,0,k):Vs(g,y,k,F);try{const ot=H(k);if(null!=ot||k&oi.Optional)return ot;Jt()}finally{Kl()}}else if("number"==typeof H){let ot=null,Ct=Ms(f,g),It=-1,he=k&oi.Host?g[Q][6]:null;for((-1===Ct||k&oi.SkipSelf)&&(It=-1===Ct?ts(f,g):g[Ct+8],-1!==It&&Mu(k,!1)?(ot=g[1],Ct=bn(It),g=ei(It,g)):Ct=-1);-1!==Ct;){const je=g[1];if(kl(H,Ct,je.data)){const Tn=mr(Ct,g,y,ot,k,he);if(Tn!==oa)return Tn}It=g[Ct+8],-1!==It&&Mu(k,g[1].data[Ct+8]===he)&&kl(H,Ct,g)?(ot=je,Ct=bn(It),g=ei(It,g)):Ct=-1}}return F}function mr(f,g,y,k,F,H){const ot=g[1],Ct=ot.data[f+8],je=sa(Ct,ot,y,null==k?Ml(Ct)&&Ai:k!=ot&&0!=(3&Ct.type),F&oi.Host&&H===Ct);return null!==je?hr(g,ot,je,Ct):oa}function sa(f,g,y,k,F){const H=f.providerIndexes,ot=g.data,Ct=1048575&H,It=f.directiveStart,je=H>>20,ri=F?Ct+je:f.directiveEnd;for(let Ti=k?Ct:Ct+je;Ti =It&&ji.type===y)return Ti}if(F){const Ti=ot[It];if(Ti&&Ls(Ti)&&Ti.type===y)return It}return null}function hr(f,g,y,k){let F=f[y];const H=g.data;if(function tr(f){return f instanceof Uu}(F)){const ot=F;ot.resolving&&function Dt(f,g){const y=g?`. Dependency path: ${g.join(" > ")} > ${f}`:"";throw new tt(-200,`Circular dependency in DI detected for ${f}${y}`)}(function bt(f){return"function"==typeof f?f.name||f.toString():"object"==typeof f&&null!=f&&"function"==typeof f.type?f.type.name||f.type.toString():ct(f)}(H[y]));const Ct=wi(ot.canSeeViewProviders);ot.resolving=!0;const It=ot.injectImpl?it(ot.injectImpl):null;Pl(f,k,oi.Default);try{F=f[y]=ot.factory(void 0,H,f,k),g.firstCreatePass&&y>=k.directiveStart&&function Oi(f,g,y){const{ngOnChanges:k,ngOnInit:F,ngDoCheck:H}=g.type.prototype;if(k){const ot=Wl(g);(y.preOrderHooks||(y.preOrderHooks=[])).push(f,ot),(y.preOrderCheckHooks||(y.preOrderCheckHooks=[])).push(f,ot)}F&&(y.preOrderHooks||(y.preOrderHooks=[])).push(0-f,F),H&&((y.preOrderHooks||(y.preOrderHooks=[])).push(f,H),(y.preOrderCheckHooks||(y.preOrderCheckHooks=[])).push(f,H))}(y,H[y],g)}finally{null!==It&&it(It),wi(Ct),ot.resolving=!1,Kl()}}return F}function kl(f,g,y){return!!(y[g+(f>>5)]&1< {const g=f.prototype.constructor,y=g[Ye]||Zu(g),k=Object.prototype;let F=Object.getPrototypeOf(f.prototype).constructor;for(;F&&F!==k;){const H=F[Ye]||Zu(F);if(H&&H!==y)return H;F=Object.getPrototypeOf(F)}return H=>new H})}function Zu(f){return V(f)?()=>{const g=Zu(N(f));return g&&g()}:Xs(f)}function ip(f){const g=f[1],y=g.type;return 2===y?g.declTNode:1===y?f[6]:null}function Sl(f){return function es(f,g){if("class"===g)return f.classes;if("style"===g)return f.styles;const y=f.attrs;if(y){const k=y.length;let F=0;for(;F {const k=function b1(f){return function(...y){if(f){const k=f(...y);for(const F in k)this[F]=k[F]}}}(g);function F(...H){if(this instanceof F)return k.apply(this,H),this;const ot=new F(...H);return Ct.annotation=ot,Ct;function Ct(It,he,je){const Tn=It.hasOwnProperty(Ll)?It[Ll]:Object.defineProperty(It,Ll,{value:[]})[Ll];for(;Tn.length<=je;)Tn.push(null);return(Tn[je]=Tn[je]||[]).push(ot),It}}return y&&(F.prototype=Object.create(y.prototype)),F.prototype.ngMetadataName=f,F.annotationCls=F,F})}class Un{constructor(g,y){this._desc=g,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof y?this.__NG_ELEMENT_ID__=y:void 0!==y&&(this.\u0275prov=re({token:this,providedIn:y.providedIn||"root",factory:y.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function pc(f,g){void 0===g&&(g=f);for(let y=0;y Array.isArray(y)?Du(y,g):g(y))}function Xd(f,g,y){g>=f.length?f.push(y):f.splice(g,0,y)}function Fl(f,g){return g>=f.length-1?f.pop():f.splice(g,1)[0]}function mu(f,g){const y=[];for(let k=0;k =0?f[1|k]=y:(k=~k,function ft(f,g,y,k){let F=f.length;if(F==g)f.push(y,k);else if(1===F)f.push(k,f[0]),f[0]=y;else{for(F--,f.push(f[F-1],f[F]);F>g;)f[F]=f[F-2],F--;f[g]=y,f[g+1]=k}}(f,k,g,y)),k}function me(f,g){const y=Pn(f,g);if(y>=0)return f[1|y]}function Pn(f,g){return function qe(f,g,y){let k=0,F=f.length>>y;for(;F!==k;){const H=k+(F-k>>1),ot=f[H< g?F=H:k=H+1}return~(F< ((Lu=Lu||{})[Lu.Important=1]="Important",Lu[Lu.DashCase=2]="DashCase",Lu))();const _m=new Map;let mf=0;const Bs="__ngContext__";function Ps(f,g){Tr(g)?(f[Bs]=g[20],function Pp(f){_m.set(f[20],f)}(g)):f[Bs]=g}function r2(f,g){return undefined(f,g)}function l_(f){const g=f[3];return Ar(g)?g[3]:g}function c2(f){return yf(f[13])}function u_(f){return yf(f[4])}function yf(f){for(;null!==f&&!Ar(f);)f=f[4];return f}function _u(f,g,y,k,F){if(null!=k){let H,ot=!1;Ar(k)?H=k:Tr(k)&&(ot=!0,k=k[0]);const Ct=Va(k);0===f&&null!==y?null==F?ks(g,y,Ct):o1(g,y,Ct,F||null,!0):1===f&&null!==y?o1(g,y,Ct,F||null,!0):2===f?function p_(f,g,y){const k=gm(f,g);k&&function Af(f,g,y,k){f.removeChild(g,y,k)}(f,k,g,y)}(g,Ct,ot):3===f&&g.destroyNode(Ct),null!=H&&function m_(f,g,y,k,F){const H=y[7];H!==Va(y)&&_u(g,f,k,H,F);for(let Ct=10;Ct 0&&(f[y-1][4]=k[4]);const H=Fl(f,10+g);!function c0(f,g){sp(f,g,g[11],2,null,null),g[0]=null,g[6]=null}(k[1],k);const ot=H[19];null!==ot&&ot.detachView(H[1]),k[3]=null,k[4]=null,k[2]&=-65}return k}function Nu(f,g){if(!(128&g[2])){const y=g[11];y.destroyNode&&sp(f,g,y,3,null,null),function Lp(f){let g=f[13];if(!g)return Iu(f[1],f);for(;g;){let y=null;if(Tr(g))y=g[13];else{const k=g[10];k&&(y=k)}if(!y){for(;g&&!g[4]&&g!==f;)Tr(g)&&Iu(g[1],g),g=g[3];null===g&&(g=f),Tr(g)&&Iu(g[1],g),y=g&&g[4]}g=y}}(g)}}function Iu(f,g){if(!(128&g[2])){g[2]&=-65,g[2]|=128,function u2(f,g){let y;if(null!=f&&null!=(y=f.destroyHooks))for(let k=0;k =0?k[F=he]():k[F=-he].unsubscribe(),H+=2}else{const ot=k[F=y[H+1]];y[H].call(ot)}if(null!==k){for(let H=F+1;H f,createScript:f=>f,createScriptURL:f=>f})}catch{}return qu}()?.createHTML(f)||f}function rc(f){tu=f}function bl(){if(void 0===v_&&(v_=null,qn.trustedTypes))try{v_=qn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:f=>f,createScript:f=>f,createScriptURL:f=>f})}catch{}return v_}function Cl(f){return bl()?.createHTML(f)||f}function Uf(f){return bl()?.createScriptURL(f)||f}class a1{constructor(g){this.changingThisBreaksApplicationSecurity=g}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class L3 extends a1{getTypeName(){return"HTML"}}class vm extends a1{getTypeName(){return"Style"}}class k1 extends a1{getTypeName(){return"Script"}}class u0 extends a1{getTypeName(){return"URL"}}class wf extends a1{getTypeName(){return"ResourceURL"}}function Js(f){return f instanceof a1?f.changingThisBreaksApplicationSecurity:f}function S1(f,g){const y=function Mf(f){return f instanceof a1&&f.getTypeName()||null}(f);if(null!=y&&y!==g){if("ResourceURL"===y&&"URL"===g)return!0;throw new Error(`Required a safe ${g}, got a ${y} (see https://g.co/ng/security#xss)`)}return y===g}function Jh(f){return new L3(f)}function p2(f){return new vm(f)}function Il(f){return new k1(f)}function xm(f){return new u0(f)}function Ip(f){return new wf(f)}class x_{constructor(g){this.inertDocumentHelper=g}getInertBodyElement(g){g=" "+g;try{const y=(new window.DOMParser).parseFromString(ac(g),"text/html").body;return null===y?this.inertDocumentHelper.getInertBodyElement(g):(y.removeChild(y.firstChild),y)}catch{return null}}}class Gh{constructor(g){if(this.defaultDoc=g,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const y=this.inertDocument.createElement("html");this.inertDocument.appendChild(y);const k=this.inertDocument.createElement("body");y.appendChild(k)}}getInertBodyElement(g){const y=this.inertDocument.createElement("template");if("content"in y)return y.innerHTML=ac(g),y;const k=this.inertDocument.createElement("body");return k.innerHTML=ac(g),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(k),k}stripCustomNsAttrs(g){const y=g.attributes;for(let F=y.length-1;0 "),!0}endElement(g){const y=g.nodeName.toLowerCase();Qh.hasOwnProperty(y)&&!kd.hasOwnProperty(y)&&(this.buf.push(""),this.buf.push(y),this.buf.push(">"))}chars(g){this.buf.push(Wh(g))}checkClobberedElement(g,y){if(y&&(g.compareDocumentPosition(y)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${g.outerHTML}`);return y}}const d0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,b_=/([^\#-~ |!])/g;function Wh(f){return f.replace(/&/g,"&").replace(d0,function(g){return""+(1024*(g.charCodeAt(0)-55296)+(g.charCodeAt(1)-56320)+65536)+";"}).replace(b_,function(g){return""+g.charCodeAt(0)+";"}).replace(//g,">")}let C_;function g2(f,g){let y=null;try{C_=C_||function Zf(f){const g=new Gh(f);return function m2(){try{return!!(new window.DOMParser).parseFromString(ac(""),"text/html")}catch{return!1}}()?new x_(g):g}(f);let k=g?String(g):"";y=C_.getInertBodyElement(k);let F=5,H=k;do{if(0===F)throw new Error("Failed to sanitize html because the input is unstable");F--,k=H,H=y.innerHTML,y=C_.getInertBodyElement(k)}while(k!==H);return ac((new h2).sanitizeChildren(kf(y)||y))}finally{if(y){const k=kf(y)||y;for(;k.firstChild;)k.removeChild(k.firstChild)}}}function kf(f){return"content"in f&&function p0(f){return f.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===f.nodeName}(f)?f.content:null}var hs=(()=>((hs=hs||{})[hs.NONE=0]="NONE",hs[hs.HTML=1]="HTML",hs[hs.STYLE=2]="STYLE",hs[hs.SCRIPT=3]="SCRIPT",hs[hs.URL=4]="URL",hs[hs.RESOURCE_URL=5]="RESOURCE_URL",hs))();function $h(f){const g=A_();return g?Cl(g.sanitize(hs.HTML,f)||""):S1(f,"HTML")?Cl(Js(f)):g2(function Bh(){return void 0!==tu?tu:typeof document<"u"?document:void 0}(),ct(f))}function y_(f){const g=A_();return g?g.sanitize(hs.URL,f)||"":S1(f,"URL")?Js(f):cd(ct(f))}function T_(f){const g=A_();if(g)return Uf(g.sanitize(hs.RESOURCE_URL,f)||"");if(S1(f,"ResourceURL"))return Uf(Js(f));throw new tt(904,!1)}function A_(){const f=Gi();return f&&f[12]}const x2=new Un("ENVIRONMENT_INITIALIZER"),f0=new Un("INJECTOR",-1),hu=new Un("INJECTOR_DEF_TYPES");class Sd{get(g,y=Is){if(y===Is){const k=new Error(`NullInjectorError: No provider for ${w(g)}!`);throw k.name="NullInjectorError",k}return y}}function F3(...f){return{\u0275providers:Rp(0,f)}}function Rp(f,...g){const y=[],k=new Set;let F;return Du(g,H=>{const ot=H;Sf(ot,y,[],k)&&(F||(F=[]),F.push(ot))}),void 0!==F&&Cm(F,y),y}function Cm(f,g){for(let y=0;y {g.push(H)})}}function Sf(f,g,y,k){if(!(f=N(f)))return!1;let F=null,H=ke(f);const ot=!H&&zt(f);if(H||ot){if(ot&&!ot.standalone)return!1;F=f}else{const It=f.ngModule;if(H=ke(It),!H)return!1;F=It}const Ct=k.has(F);if(ot){if(Ct)return!1;if(k.add(F),ot.dependencies){const It="function"==typeof ot.dependencies?ot.dependencies():ot.dependencies;for(const he of It)Sf(he,g,y,k)}}else{if(!H)return!1;{if(null!=H.imports&&!Ct){let he;k.add(F);try{Du(H.imports,je=>{Sf(je,g,y,k)&&(he||(he=[]),he.push(je))})}finally{}void 0!==he&&Cm(he,g)}if(!Ct){const he=Xs(F)||(()=>new F);g.push({provide:F,useFactory:he,deps:hi},{provide:hu,useValue:F,multi:!0},{provide:x2,useValue:()=>ic(F),multi:!0})}const It=H.providers;null==It||Ct||Du(It,je=>{g.push(je)})}}return F!==f&&void 0!==f.providers}const Kh=T({provide:String,useValue:T});function ym(f){return null!==f&&"object"==typeof f&&Kh in f}function Od(f){return"function"==typeof f}const lp=new Un("Set Injector scope."),Tm={},h0={};let Rs;function C2(){return void 0===Rs&&(Rs=new Sd),Rs}class up{}class g0 extends up{constructor(g,y,k,F){super(),this.parent=y,this.source=k,this.scopes=F,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,eg(g,ot=>this.processProvider(ot)),this.records.set(f0,r1(void 0,this)),F.has("environment")&&this.records.set(up,r1(void 0,this));const H=this.records.get(lp);null!=H&&"string"==typeof H.value&&this.scopes.add(H.value),this.injectorDefTypes=new Set(this.get(hu.multi,hi,oi.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const g of this._ngOnDestroyHooks)g.ngOnDestroy();for(const g of this._onDestroyHooks)g()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(g){this._onDestroyHooks.push(g)}runInContext(g){this.assertNotDestroyed();const y=Tc(this),k=it(void 0);try{return g()}finally{Tc(y),it(k)}}get(g,y=Is,k=oi.Default){this.assertNotDestroyed();const F=Tc(this),H=it(void 0);try{if(!(k&oi.SkipSelf)){let Ct=this.records.get(g);if(void 0===Ct){const It=function N3(f){return"function"==typeof f||"object"==typeof f&&f instanceof Un}(g)&&Me(g);Ct=It&&this.injectableDefInScope(It)?r1(Xh(g),Tm):null,this.records.set(g,Ct)}if(null!=Ct)return this.hydrate(g,Ct)}return(k&oi.Self?C2():this.parent).get(g,y=k&oi.Optional&&y===Is?null:y)}catch(ot){if("NullInjectorError"===ot.name){if((ot[Ap]=ot[Ap]||[]).unshift(w(g)),F)throw ot;return function op(f,g,y,k){const F=f[Ap];throw g[i_]&&F.unshift(g[i_]),f.message=function t2(f,g,y,k=null){f=f&&"\n"===f.charAt(0)&&"\u0275"==f.charAt(1)?f.slice(2):f;let F=w(g);if(Array.isArray(g))F=g.map(w).join(" -> ");else if("object"==typeof g){let H=[];for(let ot in g)if(g.hasOwnProperty(ot)){let Ct=g[ot];H.push(ot+":"+("string"==typeof Ct?JSON.stringify(Ct):w(Ct)))}F=`{${H.join(", ")}}`}return`${y}${k?"("+k+")":""}[${F}]: ${f.replace(lf,"\n ")}`}("\n"+f.message,F,y,k),f.ngTokenPath=F,f[Ap]=null,f}(ot,g,"R3InjectorError",this.source)}throw ot}finally{it(H),Tc(F)}}resolveInjectorInitializers(){const g=Tc(this),y=it(void 0);try{const k=this.get(x2.multi,hi,oi.Self);for(const F of k)F()}finally{Tc(g),it(y)}}toString(){const g=[],y=this.records;for(const k of y.keys())g.push(w(k));return`R3Injector[${g.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new tt(205,!1)}processProvider(g){let y=Od(g=N(g))?g:N(g&&g.provide);const k=function Am(f){return ym(f)?r1(void 0,f.useValue):r1(Um(f),Tm)}(g);if(Od(g)||!0!==g.multi)this.records.get(y);else{let F=this.records.get(y);F||(F=r1(void 0,Tm,!0),F.factory=()=>od(F.multi),this.records.set(y,F)),y=g,F.multi.push(g)}this.records.set(y,k)}hydrate(g,y){return y.value===Tm&&(y.value=h0,y.value=y.factory()),"object"==typeof y.value&&y.value&&function y2(f){return null!==f&&"object"==typeof f&&"function"==typeof f.ngOnDestroy}(y.value)&&this._ngOnDestroyHooks.add(y.value),y.value}injectableDefInScope(g){if(!g.providedIn)return!1;const y=N(g.providedIn);return"string"==typeof y?"any"===y||this.scopes.has(y):this.injectorDefTypes.has(y)}}function Xh(f){const g=Me(f),y=null!==g?g.factory:Xs(f);if(null!==y)return y;if(f instanceof Un)throw new tt(204,!1);if(f instanceof Function)return function tg(f){const g=f.length;if(g>0)throw mu(g,"?"),new tt(204,!1);const y=function xe(f){const g=f&&(f[un]||f[ii]);if(g){const y=function vn(f){if(f.hasOwnProperty("name"))return f.name;const g=(""+f).match(/^function\s*([^\s(]+)/);return null===g?"":g[1]}(f);return console.warn(`DEPRECATED: DI is instantiating a token "${y}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${y}" class.`),g}return null}(f);return null!==y?()=>y.factory(f):()=>new f}(f);throw new tt(204,!1)}function Um(f,g,y){let k;if(Od(f)){const F=N(f);return Xs(F)||Xh(F)}if(ym(f))k=()=>N(f.useValue);else if(function Hp(f){return!(!f||!f.useFactory)}(f))k=()=>f.useFactory(...od(f.deps||[]));else if(function U_(f){return!(!f||!f.useExisting)}(f))k=()=>ic(N(f.useExisting));else{const F=N(f&&(f.useClass||f.provide));if(!function v0(f){return!!f.deps}(f))return Xs(F)||Xh(F);k=()=>new F(...od(f.deps))}return k}function r1(f,g,y=!1){return{factory:f,value:g,multi:y?[]:void 0}}function Of(f){return!!f.\u0275providers}function eg(f,g){for(const y of f)Array.isArray(y)?eg(y,g):Of(y)?eg(y.\u0275providers,g):g(y)}class Lf{}class b0{resolveComponentFactory(g){throw function Eo(f){const g=Error(`No component factory found for ${w(f)}. Did you add it to @NgModule.entryComponents?`);return g.ngComponent=f,g}(g)}}let wm=(()=>{class f{}return f.NULL=new b0,f})();function Mm(){return Ha(Wa(),Gi())}function Ha(f,g){return new Zm(Qn(f,g))}let Zm=(()=>{class f{constructor(y){this.nativeElement=y}}return f.__NG_ELEMENT_ID__=Mm,f})();function ig(f){return f instanceof Zm?f.nativeElement:f}class og{}let ao=(()=>{class f{}return f.__NG_ELEMENT_ID__=()=>function q3(){const f=Gi(),y=rs(Wa().index,f);return(Tr(y)?y:f)[11]}(),f})(),C0=(()=>{class f{}return f.\u0275prov=re({token:f,providedIn:"root",factory:()=>null}),f})();class s1{constructor(g){this.full=g,this.major=g.split(".")[0],this.minor=g.split(".")[1],this.patch=g.split(".").slice(2).join(".")}}const Ef=new s1("14.3.0"),Ff={};function M_(f){return f.ngOriginalError}class Yp{constructor(){this._console=console}handleError(g){const y=this._findOriginalError(g);this._console.error("ERROR",g),y&&this._console.error("ORIGINAL ERROR",y)}_findOriginalError(g){let y=g&&M_(g);for(;y&&M_(y);)y=M_(y);return y||null}}function Pm(f){return f.ownerDocument.defaultView}function T2(f){return f.ownerDocument}function E1(f){return f instanceof Function?f():f}function ug(f,g,y){let k=f.length;for(;;){const F=f.indexOf(g,y);if(-1===F)return F;if(0===F||f.charCodeAt(F-1)<=32){const H=g.length;if(F+H===k||f.charCodeAt(F+H)<=32)return F}y=F+1}}const br="ng-template";function ld(f,g,y){let k=0;for(;k H?"":F[Tn+1].toLowerCase();const Ti=8&k?ri:null;if(Ti&&-1!==ug(Ti,he,0)||2&k&&he!==ri){if(ud(k))return!1;ot=!0}}}}else{if(!ot&&!ud(k)&&!ud(It))return!1;if(ot&&ud(It))continue;ot=!1,k=It|1&k}}return ud(k)||ot}function ud(f){return 0==(1&f)}function pg(f,g,y,k){if(null===g)return-1;let F=0;if(k||!y){let H=!1;for(;F -1)for(y++;y 0?'="'+Ct+'"':"")+"]"}else 8&k?F+="."+ot:4&k&&(F+=" "+ot);else""!==F&&!ud(ot)&&(g+=Sm(H,F),F=""),k=ot,H=H||!ud(k);y++}return""!==F&&(g+=Sm(H,F)),g}const Ea={};function qf(f){Z0(da(),Gi(),Rr()+f,!1)}function Z0(f,g,y,k){if(!k)if(3==(3&g[2])){const H=f.preOrderCheckHooks;null!==H&&No(g,H,y)}else{const H=f.preOrderHooks;null!==H&&ea(g,H,0,y)}gs(y)}function eu(f,g=null,y=null,k){const F=Uc(f,g,y,k);return F.resolveInjectorInitializers(),F}function Uc(f,g=null,y=null,k,F=new Set){const H=[y||hi,F3(f)];return k=k||("object"==typeof f?void 0:w(f)),new g0(H,g||C2(),k||null,F)}let dd=(()=>{class f{static create(y,k){if(Array.isArray(y))return eu({name:""},k,y,"");{const F=y.name??"";return eu({name:F},y.parent,y.providers,F)}}}return f.THROW_IF_NOT_FOUND=Is,f.NULL=new Sd,f.\u0275prov=re({token:f,providedIn:"any",factory:()=>ic(f0)}),f.__NG_ELEMENT_ID__=-1,f})();function iu(f,g=oi.Default){const y=Gi();return null===y?ic(f,g):Zs(Wa(),y,N(f),g)}function _p(){throw new Error("invalid")}function R1(f,g){return f<<17|g<<2}function md(f){return f>>17&32767}function fp(f){return 2|f}function ou(f){return(131068&f)>>2}function hp(f,g){return-131069&f|g<<2}function Sa(f){return 1|f}function O2(f,g){const y=f.contentQueries;if(null!==y)for(let k=0;k 22&&Z0(f,g,22,!1),y(k,F)}finally{gs(H)}}function wg(f,g,y){if(Sc(g)){const F=g.directiveEnd;for(let H=g.directiveStart;H 0;){const y=f[--g];if("number"==typeof y&&y<0)return y}return 0})(Ct)!=It&&Ct.push(It),Ct.push(k,F,ot)}}function kg(f,g){null!==f.hostBindings&&f.hostBindings(1,g)}function vp(f,g){g.flags|=2,(f.components||(f.components=[])).push(g.index)}function F2(f,g,y){if(y){if(g.exportAs)for(let k=0;k 0&&sh(y)}}function sh(f){for(let k=c2(f);null!==k;k=u_(k))for(let F=10;F 0&&sh(H)}const y=f[1].components;if(null!==y)for(let k=0;k 0&&sh(F)}}function ch(f,g){const y=rs(g,f),k=y[1];(function lh(f,g){for(let y=g.length;y -1&&(hm(g,k),Fl(y,k))}this._attachedToViewContainer=!1}Nu(this._lView[1],this._lView)}onDestroy(g){jr(this._lView[1],this._lView,null,g)}markForCheck(){Bp(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){H_(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new tt(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function l0(f,g){sp(f,g,g[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(g){if(this._attachedToViewContainer)throw new tt(902,!1);this._appRef=g}}class Lg extends z_{constructor(g){super(g),this._view=g}detectChanges(){const g=this._view;H_(g[1],g,g[8],!1)}checkNoChanges(){}get context(){return null}}class Hm extends wm{constructor(g){super(),this.ngModule=g}resolveComponentFactory(g){const y=zt(g);return new H2(y,this.ngModule)}}function R2(f){const g=[];for(let y in f)f.hasOwnProperty(y)&&g.push({propName:f[y],templateName:y});return g}class j0{constructor(g,y){this.injector=g,this.parentInjector=y}get(g,y,k){const F=this.injector.get(g,Ff,k);return F!==Ff||y===Ff?F:this.parentInjector.get(g,y,k)}}class H2 extends Lf{constructor(g,y){super(),this.componentDef=g,this.ngModule=y,this.componentType=g.type,this.selector=function M0(f){return f.map(w0).join(",")}(g.selectors),this.ngContentSelectors=g.ngContentSelectors?g.ngContentSelectors:[],this.isBoundToModule=!!y}get inputs(){return R2(this.componentDef.inputs)}get outputs(){return R2(this.componentDef.outputs)}create(g,y,k,F){let H=(F=F||this.ngModule)instanceof up?F:F?.injector;H&&null!==this.componentDef.getStandaloneInjector&&(H=this.componentDef.getStandaloneInjector(H)||H);const ot=H?new j0(g,H):g,Ct=ot.get(og,null);if(null===Ct)throw new tt(407,!1);const It=ot.get(C0,null),he=Ct.createRenderer(null,this.componentDef),je=this.componentDef.selectors[0][0]||"div",Tn=k?function Zg(f,g,y){return f.selectRootElement(g,y===hn.ShadowDom)}(he,k,this.componentDef.encapsulation):Op(he,je,function Q0(f){const g=f.toLowerCase();return"svg"===g?"svg":"math"===g?"math":null}(je)),ri=this.componentDef.onPush?288:272,Ti=th(0,null,null,1,0,null,null,null,null,null),ji=hd(null,Ti,null,ri,null,null,Ct,he,It,ot,null);let Zo,Ho;yc(ji);try{const ca=function Y2(f,g,y,k,F,H){const ot=y[1];y[22]=f;const It=F_(ot,22,2,"#host",null),he=It.mergedAttrs=g.hostAttrs;null!==he&&(q2(It,he,!0),null!==f&&(Ve(F,f,he),null!==It.classes&&Vh(F,f,It.classes),null!==It.styles&&Np(F,f,It.styles)));const je=k.createRenderer(f,g),Tn=hd(y,Mg(g),null,g.onPush?32:16,y[22],It,k,je,H||null,null,null);return ot.firstCreatePass&&(Jr(Xr(It,y),ot,g.type),vp(ot,It),Vp(It,y.length,1)),R_(y,Tn),y[22]=Tn}(Tn,this.componentDef,ji,Ct,he);if(Tn)if(k)Ve(he,Tn,["ng-version",Ef.full]);else{const{attrs:Ta,classes:uo}=function If(f){const g=[],y=[];let k=1,F=2;for(;k 0&&Vh(he,Tn,uo.join(" "))}if(Ho=ms(Ti,22),void 0!==y){const Ta=Ho.projection=[];for(let uo=0;uo =0;k--){const F=f[k];F.hostVars=g+=F.hostVars,F.hostAttrs=ue(F.hostAttrs,y=ue(y,F.hostAttrs))}}(k)}function V_(f){return f===bo?{}:f===hi?[]:f}function $3(f,g){const y=f.viewQuery;f.viewQuery=y?(k,F)=>{g(k,F),y(k,F)}:g}function D(f,g){const y=f.contentQueries;f.contentQueries=y?(k,F,H)=>{g(k,F,H),y(k,F,H)}:g}function I(f,g){const y=f.hostBindings;f.hostBindings=y?(k,F)=>{g(k,F),y(k,F)}:g}let dn=null;function Hn(){if(!dn){const f=qn.Symbol;if(f&&f.iterator)dn=f.iterator;else{const g=Object.getOwnPropertyNames(Map.prototype);for(let y=0;y Ct(Va(is[k.index])):k.index;let Ia=null;if(!Ct&&It&&(Ia=function i3(f,g,y,k){const F=f.cleanup;if(null!=F)for(let H=0;H It?Ct[It]:null}"string"==typeof ot&&(H+=2)}return null}(f,g,F,k.index)),null!==Ia)(Ia.__ngLastListenerFn__||Ia).__ngNextListenerFn__=H,Ia.__ngLastListenerFn__=H,Ti=!1;else{H=a3(k,g,Tn,H,!1);const is=y.listen(ca,F,H);ri.push(H,is),je&&je.push(F,uo,Ta,Ta+1)}}else H=a3(k,g,Tn,H,!1);const ji=k.outputs;let Zo;if(Ti&&null!==ji&&(Zo=ji[F])){const Ho=Zo.length;if(Ho)for(let ca=0;ca 0;)g=g[15],f--;return g}(f,io.lFrame.contextLView))[8]}(f)}function w5(f,g){let y=null;const k=function zp(f){const g=f.attrs;if(null!=g){const y=g.indexOf(5);if(0==(1&y))return g[y+1]}return null}(f);for(let F=0;F =0}const Tl={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function l4(f){return f.substring(Tl.key,Tl.keyEnd)}function u4(f,g){const y=Tl.textEnd;return y===g?-1:(g=Tl.keyEnd=function s3(f,g,y){for(;g 32;)g++;return g}(f,Tl.key=g,y),J2(f,g,y))}function J2(f,g,y){for(;g =0;y=u4(g,y))ee(f,l4(g),!0)}function d1(f,g,y,k){const F=Gi(),H=da(),ot=Kc(2);H.firstUpdatePass&&f6(H,f,ot,k),g!==Ea&&ua(F,ot,g)&&C4(H,H.data[Rr()],F,F[11],f,F[ot+1]=function y4(f,g){return null==f||("string"==typeof g?f+=g:"object"==typeof f&&(f=w(Js(f)))),f}(g,y),k,ot)}function Ju(f,g,y,k){const F=da(),H=Kc(2);F.firstUpdatePass&&f6(F,null,H,k);const ot=Gi();if(y!==Ea&&ua(ot,H,y)){const Ct=F.data[Rr()];if(T4(Ct,k)&&!v4(F,H)){let It=k?Ct.classesWithoutHost:Ct.stylesWithoutHost;null!==It&&(y=P(It,y||"")),qg(F,Ct,ot,y,k)}else!function P5(f,g,y,k,F,H,ot,Ct){F===Ea&&(F=hi);let It=0,he=0,je=0 =f.expandoStartIndex}function f6(f,g,y,k){const F=f.data;if(null===F[y+1]){const H=F[Rr()],ot=v4(f,y);T4(H,k)&&null===g&&!ot&&(g=!1),g=function Z5(f,g,y,k){const F=Fc(f);let H=k?g.residualClasses:g.residualStyles;if(null===F)0===(k?g.classBindings:g.styleBindings)&&(y=Bg(y=x4(null,f,g,y,k),g.attrs,k),H=null);else{const ot=g.directiveStylingLast;if(-1===ot||f[ot]!==F)if(y=x4(F,f,g,y,k),null===H){let It=function h6(f,g,y){const k=y?g.classBindings:g.styleBindings;if(0!==ou(k))return f[md(k)]}(f,g,k);void 0!==It&&Array.isArray(It)&&(It=x4(null,f,g,It[1],k),It=Bg(It,g.attrs,k),function g6(f,g,y,k){f[md(y?g.classBindings:g.styleBindings)]=k}(f,g,k,It))}else H=function Hc(f,g,y){let k;const F=g.directiveEnd;for(let H=1+g.directiveStylingLast;H 0)&&(he=!0)}else je=y;if(F)if(0!==It){const ri=md(f[Ct+1]);f[k+1]=R1(ri,Ct),0!==ri&&(f[ri+1]=hp(f[ri+1],k)),f[Ct+1]=function Bf(f,g){return 131071&f|g<<17}(f[Ct+1],k)}else f[k+1]=R1(Ct,0),0!==Ct&&(f[Ct+1]=hp(f[Ct+1],k)),Ct=k;else f[k+1]=R1(It,0),0===Ct?Ct=k:f[It+1]=hp(f[It+1],k),It=k;he&&(f[k+1]=fp(f[k+1])),Ya(f,je,k,!0),Ya(f,je,k,!1),function c4(f,g,y,k,F){const H=F?f.residualClasses:f.residualStyles;null!=H&&"string"==typeof g&&Pn(H,g)>=0&&(y[k+1]=Sa(y[k+1]))}(g,je,f,k,H),ot=R1(Ct,It),H?g.classBindings=ot:g.styleBindings=ot}(F,H,g,y,ot,k)}}function x4(f,g,y,k,F){let H=null;const ot=y.directiveEnd;let Ct=y.directiveStylingLast;for(-1===Ct?Ct=y.directiveStart:Ct++;Ct 0;){const It=f[F],he=Array.isArray(It),je=he?It[1]:It,Tn=null===je;let ri=y[F+1];ri===Ea&&(ri=Tn?hi:void 0);let Ti=Tn?me(ri,k):je===k?ri:void 0;if(he&&!xh(Ti)&&(Ti=me(It,k)),xh(Ti)&&(Ct=Ti,ot))return Ct;const ji=f[F+1];F=ot?md(ji):ou(ji)}if(null!==g){let It=H?g.residualClasses:g.residualStyles;null!=It&&(Ct=me(It,k))}return Ct}function xh(f){return void 0!==f}function T4(f,g){return 0!=(f.flags&(g?16:32))}function x6(f,g=""){const y=Gi(),k=da(),F=f+22,H=k.firstCreatePass?F_(k,F,1,g,null):k.data[F],ot=y[F]=function Yh(f,g){return f.createText(g)}(y[11],g);Qr(k,y,ot,H),Ft(H,!1)}function A4(f){return Jg("",f,""),A4}function Jg(f,g,y){const k=Gi(),F=nl(k,f,g,y);return F!==Ea&&Id(k,Rr(),F),Jg}function U4(f,g,y,k,F){const H=Gi(),ot=function Cs(f,g,y,k,F,H){const Ct=la(f,qr(),y,F);return Kc(2),Ct?g+ct(y)+k+ct(F)+H:Ea}(H,f,g,y,k,F);return ot!==Ea&&Id(H,Rr(),ot),U4}function b6(f,g,y,k,F,H,ot){const Ct=Gi(),It=function Hl(f,g,y,k,F,H,ot,Ct){const he=er(f,qr(),y,F,ot);return Kc(3),he?g+ct(y)+k+ct(F)+H+ct(ot)+Ct:Ea}(Ct,f,g,y,k,F,H,ot);return It!==Ea&&Id(Ct,Rr(),It),b6}function u3(f,g,y,k,F,H,ot,Ct,It){const he=Gi(),je=function ru(f,g,y,k,F,H,ot,Ct,It,he){const Tn=Na(f,qr(),y,F,ot,It);return Kc(4),Tn?g+ct(y)+k+ct(F)+H+ct(ot)+Ct+ct(It)+he:Ea}(he,f,g,y,k,F,H,ot,Ct,It);return je!==Ea&&Id(he,Rr(),je),u3}function w4(f,g,y,k,F,H,ot,Ct,It,he,je){const Tn=Gi(),ri=function zm(f,g,y,k,F,H,ot,Ct,It,he,je,Tn){const ri=qr();let Ti=Na(f,ri,y,F,ot,It);return Ti=ua(f,ri+4,je)||Ti,Kc(5),Ti?g+ct(y)+k+ct(F)+H+ct(ot)+Ct+ct(It)+he+ct(je)+Tn:Ea}(Tn,f,g,y,k,F,H,ot,Ct,It,he,je);return ri!==Ea&&Id(Tn,Rr(),ri),w4}function p3(f,g,y){Ju(ee,Bu,nl(Gi(),f,g,y),!0)}function M(f,g,y){const k=Gi();return ua(k,Ja(),g)&&Rl(da(),Pa(),k,f,g,k[11],y,!0),M}function S(f,g,y){const k=Gi();if(ua(k,Ja(),g)){const H=da(),ot=Pa();Rl(H,ot,k,f,g,I2(Fc(H.data),ot,k),y,!0)}return S}const q=void 0;var at=["en",[["a","p"],["AM","PM"],q],[["AM","PM"],q,q],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],q,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],q,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",q,"{1} 'at' {0}",q],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function B(f){const y=Math.floor(Math.abs(f)),k=f.toString().replace(/^[^.]*\.?/,"").length;return 1===y&&0===k?1:5}];let _t={};function Zt(f,g,y){"string"!=typeof g&&(y=g,g=f[Gn.LocaleId]),g=g.toLowerCase().replace(/_/g,"-"),_t[g]=f,y&&(_t[g][Gn.ExtraData]=y)}function _e(f){const g=function Fi(f){return f.toLowerCase().replace(/_/g,"-")}(f);let y=Mn(g);if(y)return y;const k=g.split("-")[0];if(y=Mn(k),y)return y;if("en"===k)return at;throw new tt(701,!1)}function mn(f){return _e(f)[Gn.PluralCase]}function Mn(f){return f in _t||(_t[f]=qn.ng&&qn.ng.common&&qn.ng.common.locales&&qn.ng.common.locales[f]),_t[f]}var Gn=(()=>((Gn=Gn||{})[Gn.LocaleId=0]="LocaleId",Gn[Gn.DayPeriodsFormat=1]="DayPeriodsFormat",Gn[Gn.DayPeriodsStandalone=2]="DayPeriodsStandalone",Gn[Gn.DaysFormat=3]="DaysFormat",Gn[Gn.DaysStandalone=4]="DaysStandalone",Gn[Gn.MonthsFormat=5]="MonthsFormat",Gn[Gn.MonthsStandalone=6]="MonthsStandalone",Gn[Gn.Eras=7]="Eras",Gn[Gn.FirstDayOfWeek=8]="FirstDayOfWeek",Gn[Gn.WeekendRange=9]="WeekendRange",Gn[Gn.DateFormat=10]="DateFormat",Gn[Gn.TimeFormat=11]="TimeFormat",Gn[Gn.DateTimeFormat=12]="DateTimeFormat",Gn[Gn.NumberSymbols=13]="NumberSymbols",Gn[Gn.NumberFormats=14]="NumberFormats",Gn[Gn.CurrencyCode=15]="CurrencyCode",Gn[Gn.CurrencySymbol=16]="CurrencySymbol",Gn[Gn.CurrencyName=17]="CurrencyName",Gn[Gn.Currencies=18]="Currencies",Gn[Gn.Directionality=19]="Directionality",Gn[Gn.PluralCase=20]="PluralCase",Gn[Gn.ExtraData=21]="ExtraData",Gn))();const ba="en-US";let Al=ba;function S6(f,g,y,k,F){if(f=N(f),Array.isArray(f))for(let H=0;H >20;if(Od(f)||!f.multi){const Ti=new Uu(It,F,iu),ji=Q5(Ct,g,F?je:je+ri,Tn);-1===ji?(Jr(Xr(he,ot),H,Ct),J5(H,f,g.length),g.push(Ct),he.directiveStart++,he.directiveEnd++,F&&(he.providerIndexes+=1048576),y.push(Ti),ot.push(Ti)):(y[ji]=Ti,ot[ji]=Ti)}else{const Ti=Q5(Ct,g,je+ri,Tn),ji=Q5(Ct,g,je,je+ri),Zo=Ti>=0&&y[Ti],Ho=ji>=0&&y[ji];if(F&&!Ho||!F&&!Zo){Jr(Xr(he,ot),H,Ct);const ca=function gi(f,g,y,k,F){const H=new Uu(f,y,iu);return H.multi=[],H.index=g,H.componentProviders=0,G5(H,F,k&&!y),H}(F?BC:VC,y.length,F,k,It);!F&&Ho&&(y[ji].providerFactory=ca),J5(H,f,g.length,0),g.push(Ct),he.directiveStart++,he.directiveEnd++,F&&(he.providerIndexes+=1048576),y.push(ca),ot.push(ca)}else J5(H,f,Ti>-1?Ti:ji,G5(y[F?ji:Ti],It,!F&&k));!F&&k&&Ho&&y[ji].componentProviders++}}}function J5(f,g,y,k){const F=Od(g),H=function b2(f){return!!f.useClass}(g);if(F||H){const It=(H?N(g.useClass):g).prototype.ngOnDestroy;if(It){const he=f.destroyHooks||(f.destroyHooks=[]);if(!F&&g.multi){const je=he.indexOf(y);-1===je?he.push(y,[k,It]):he[je+1].push(k,It)}else he.push(y,It)}}}function G5(f,g,y){return y&&f.componentProviders++,f.multi.push(g)-1}function Q5(f,g,y,k){for(let F=y;F {y.providersResolver=(k,F)=>function zC(f,g,y){const k=da();if(k.firstCreatePass){const F=Ls(f);S6(y,k.data,k.blueprint,F,!0),S6(g,k.data,k.blueprint,F,!1)}}(k,F?F(f):f,g)}}class h3{}class O6{}function JC(f,g){return new W5(f,g??null)}class W5 extends h3{constructor(g,y){super(),this._parent=y,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Hm(this);const k=Ei(g);this._bootstrapComponents=E1(k.bootstrap),this._r3Injector=Uc(g,y,[{provide:h3,useValue:this},{provide:wm,useValue:this.componentFactoryResolver}],w(g),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(g)}get injector(){return this._r3Injector}destroy(){const g=this._r3Injector;!g.destroyed&&g.destroy(),this.destroyCbs.forEach(y=>y()),this.destroyCbs=null}onDestroy(g){this.destroyCbs.push(g)}}class L6 extends O6{constructor(g){super(),this.moduleType=g}create(g){return new W5(this.moduleType,g)}}class GC extends h3{constructor(g,y,k){super(),this.componentFactoryResolver=new Hm(this),this.instance=null;const F=new g0([...g,{provide:h3,useValue:this},{provide:wm,useValue:this.componentFactoryResolver}],y||C2(),k,new Set(["environment"]));this.injector=F,F.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(g){this.injector.onDestroy(g)}}function $5(f,g,y=null){return new GC(f,g,y).injector}let QC=(()=>{class f{constructor(y){this._injector=y,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(y){if(!y.standalone)return null;if(!this.cachedInjectors.has(y.id)){const k=Rp(0,y.type),F=k.length>0?$5([k],this._injector,`Standalone[${y.type.name}]`):null;this.cachedInjectors.set(y.id,F)}return this.cachedInjectors.get(y.id)}ngOnDestroy(){try{for(const y of this.cachedInjectors.values())null!==y&&y.destroy()}finally{this.cachedInjectors.clear()}}}return f.\u0275prov=re({token:f,providedIn:"environment",factory:()=>new f(ic(up))}),f})();function t8(f){f.getStandaloneInjector=g=>g.get(QC).getOrCreateStandaloneInjector(f)}function s8(f,g,y){const k=Ir()+f,F=Gi();return F[k]===Ea?jo(F,k,y?g.call(y):g()):function ma(f,g){return f[g]}(F,k)}function c8(f,g,y,k){return nv(Gi(),Ir(),f,g,y,k)}function l8(f,g,y,k,F){return d8(Gi(),Ir(),f,g,y,k,F)}function F4(f,g){const y=f[g];return y===Ea?void 0:y}function nv(f,g,y,k,F,H){const ot=g+y;return ua(f,ot,F)?jo(f,ot+1,H?k.call(H,F):k(F)):F4(f,ot+1)}function d8(f,g,y,k,F,H,ot){const Ct=g+y;return la(f,Ct,F,H)?jo(f,Ct+2,ot?k.call(ot,F,H):k(F,H)):F4(f,Ct+2)}function _8(f,g){const y=da();let k;const F=f+22;y.firstCreatePass?(k=function f8(f,g){if(g)for(let y=g.length-1;y>=0;y--){const k=g[y];if(f===k.name)return k}}(g,y.pipeRegistry),y.data[F]=k,k.onDestroy&&(y.destroyHooks||(y.destroyHooks=[])).push(F,k.onDestroy)):k=y.data[F];const H=k.factory||(k.factory=Xs(k.type)),ot=it(iu);try{const Ct=wi(!1),It=H();return wi(Ct),function l6(f,g,y,k){y>=f.data.length&&(f.data[y]=null,f.blueprint[y]=null),g[y]=k}(y,Gi(),F,It),It}finally{it(ot)}}function h8(f,g,y){const k=f+22,F=Gi(),H=Za(F,k);return N4(F,k)?nv(F,Ir(),g,H.transform,y,H):H.transform(y)}function g8(f,g,y,k){const F=f+22,H=Gi(),ot=Za(H,F);return N4(H,F)?d8(H,Ir(),g,ot.transform,y,k,ot):ot.transform(y,k)}function v8(f,g,y,k,F){const H=f+22,ot=Gi(),Ct=Za(ot,H);return N4(ot,H)?function iv(f,g,y,k,F,H,ot,Ct){const It=g+y;return er(f,It,F,H,ot)?jo(f,It+3,Ct?k.call(Ct,F,H,ot):k(F,H,ot)):F4(f,It+3)}(ot,Ir(),g,Ct.transform,y,k,F,Ct):Ct.transform(y,k,F)}function E6(f,g,y,k,F,H){const ot=f+22,Ct=Gi(),It=Za(Ct,ot);return N4(Ct,ot)?function p8(f,g,y,k,F,H,ot,Ct,It){const he=g+y;return Na(f,he,F,H,ot,Ct)?jo(f,he+4,It?k.call(It,F,H,ot,Ct):k(F,H,ot,Ct)):F4(f,he+4)}(Ct,Ir(),g,It.transform,y,k,F,H,It):It.transform(y,k,F,H)}function N4(f,g){return f[1].data[g].pure}function ov(f){return g=>{setTimeout(f,void 0,g)}}const J1=class s7 extends u.xQ{constructor(g=!1){super(),this.__isAsync=g}emit(g){super.next(g)}subscribe(g,y,k){let F=g,H=y||(()=>null),ot=k;if(g&&"object"==typeof g){const It=g;F=It.next?.bind(It),H=It.error?.bind(It),ot=It.complete?.bind(It)}this.__isAsync&&(H=ov(H),F&&(F=ov(F)),ot&&(ot=ov(ot)));const Ct=super.subscribe({next:F,error:H,complete:ot});return g instanceof p.w&&g.add(Ct),Ct}};function c7(){return this._results[Hn()]()}class F6{constructor(g=!1){this._emitDistinctChangesOnly=g,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const y=Hn(),k=F6.prototype;k[y]||(k[y]=c7)}get changes(){return this._changes||(this._changes=new J1)}get(g){return this._results[g]}map(g){return this._results.map(g)}filter(g){return this._results.filter(g)}find(g){return this._results.find(g)}reduce(g,y){return this._results.reduce(g,y)}forEach(g){this._results.forEach(g)}some(g){return this._results.some(g)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(g,y){const k=this;k.dirty=!1;const F=pc(g);(this._changesDetected=!function qc(f,g,y){if(f.length!==g.length)return!1;for(let k=0;k {class f{}return f.__NG_ELEMENT_ID__=l7,f})();const av=I4,x8=class extends av{constructor(g,y,k){super(),this._declarationLView=g,this._declarationTContainer=y,this.elementRef=k}createEmbeddedView(g,y){const k=this._declarationTContainer.tViews,F=hd(this._declarationLView,k,g,16,null,k.declTNode,null,null,null,null,y||null);F[17]=this._declarationLView[this._declarationTContainer.index];const ot=this._declarationLView[19];return null!==ot&&(F[19]=ot.createEmbeddedView(k)),Ug(k,F,g),new z_(F)}};function l7(){return q4(Wa(),Gi())}function q4(f,g){return 4&f.type?new x8(g,f,Ha(f,g)):null}let N6=(()=>{class f{}return f.__NG_ELEMENT_ID__=u7,f})();function u7(){return sv(Wa(),Gi())}const b8=N6,C8=class extends b8{constructor(g,y,k){super(),this._lContainer=g,this._hostTNode=y,this._hostLView=k}get element(){return Ha(this._hostTNode,this._hostLView)}get injector(){return new _l(this._hostTNode,this._hostLView)}get parentInjector(){const g=ts(this._hostTNode,this._hostLView);if(Ke(g)){const y=ei(g,this._hostLView),k=bn(g);return new _l(y[1].data[k+8],y)}return new _l(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(g){const y=y8(this._lContainer);return null!==y&&y[g]||null}get length(){return this._lContainer.length-10}createEmbeddedView(g,y,k){let F,H;"number"==typeof k?F=k:null!=k&&(F=k.index,H=k.injector);const ot=g.createEmbeddedView(y||{},H);return this.insert(ot,F),ot}createComponent(g,y,k,F,H){const ot=g&&!function T1(f){return"function"==typeof f}(g);let Ct;if(ot)Ct=y;else{const Tn=y||{};Ct=Tn.index,k=Tn.injector,F=Tn.projectableNodes,H=Tn.environmentInjector||Tn.ngModuleRef}const It=ot?g:new H2(zt(g)),he=k||this.parentInjector;if(!H&&null==It.ngModule){const ri=(ot?he:this.parentInjector).get(up,null);ri&&(H=ri)}const je=It.create(he,F,void 0,H);return this.insert(je.hostView,Ct),je}insert(g,y){const k=g._lView,F=k[1];if(function Fs(f){return Ar(f[3])}(k)){const je=this.indexOf(g);if(-1!==je)this.detach(je);else{const Tn=k[3],ri=new C8(Tn,Tn[6],Tn[3]);ri.detach(ri.indexOf(g))}}const H=this._adjustIndex(y),ot=this._lContainer;!function qs(f,g,y,k){const F=10+k,H=y.length;k>0&&(y[F-1][4]=g),k 0)k.push(ot[Ct/2]);else{const he=H[Ct+1],je=g[-It];for(let Tn=10;Tn {class f{constructor(y){this.appInits=y,this.resolve=B6,this.reject=B6,this.initialized=!1,this.done=!1,this.donePromise=new Promise((k,F)=>{this.resolve=k,this.reject=F})}runInitializers(){if(this.initialized)return;const y=[],k=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let F=0;F {H.subscribe({complete:Ct,error:It})});y.push(ot)}}Promise.all(y).then(()=>{k()}).catch(F=>{this.reject(F)}),0===y.length&&k(),this.initialized=!0}}return f.\u0275fac=function(y){return new(y||f)(ic(Y8,8))},f.\u0275prov=re({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();const z8=new Un("AppId",{providedIn:"root",factory:function V8(){return`${J6()}${J6()}${J6()}`}});function J6(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const B8=new Un("Platform Initializer"),F7=new Un("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),J8=new Un("appBootstrapListener"),I7=new Un("AnimationModuleType");let q7=(()=>{class f{log(y){console.log(y)}warn(y){console.warn(y)}}return f.\u0275fac=function(y){return new(y||f)},f.\u0275prov=re({token:f,factory:f.\u0275fac,providedIn:"platform"}),f})();const G6=new Un("LocaleId",{providedIn:"root",factory:()=>Up(G6,oi.Optional|oi.SkipSelf)||function R7(){return typeof $localize<"u"&&$localize.locale||ba}()}),H7=new Un("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class z7{constructor(g,y){this.ngModuleFactory=g,this.componentFactories=y}}let G8=(()=>{class f{compileModuleSync(y){return new L6(y)}compileModuleAsync(y){return Promise.resolve(this.compileModuleSync(y))}compileModuleAndAllComponentsSync(y){const k=this.compileModuleSync(y),H=E1(Ei(y).declarations).reduce((ot,Ct)=>{const It=zt(Ct);return It&&ot.push(new H2(It)),ot},[]);return new z7(k,H)}compileModuleAndAllComponentsAsync(y){return Promise.resolve(this.compileModuleAndAllComponentsSync(y))}clearCache(){}clearCacheFor(y){}getModuleId(y){}}return f.\u0275fac=function(y){return new(y||f)},f.\u0275prov=re({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();const B7=(()=>Promise.resolve(0))();function Q6(f){typeof Zone>"u"?B7.then(()=>{f&&f.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",f)}class Wp{constructor({enableLongStackTrace:g=!1,shouldCoalesceEventChangeDetection:y=!1,shouldCoalesceRunChangeDetection:k=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new J1(!1),this.onMicrotaskEmpty=new J1(!1),this.onStable=new J1(!1),this.onError=new J1(!1),typeof Zone>"u")throw new tt(908,!1);Zone.assertZonePatched();const F=this;if(F._nesting=0,F._outer=F._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const H=Zone.AsyncStackTaggingZoneSpec;F._inner=F._inner.fork(new H("Angular"))}Zone.TaskTrackingZoneSpec&&(F._inner=F._inner.fork(new Zone.TaskTrackingZoneSpec)),g&&Zone.longStackTraceZoneSpec&&(F._inner=F._inner.fork(Zone.longStackTraceZoneSpec)),F.shouldCoalesceEventChangeDetection=!k&&y,F.shouldCoalesceRunChangeDetection=k,F.lastRequestAnimationFrameId=-1,F.nativeRequestAnimationFrame=function $8(){let f=qn.requestAnimationFrame,g=qn.cancelAnimationFrame;if(typeof Zone<"u"&&f&&g){const y=f[Zone.__symbol__("OriginalDelegate")];y&&(f=y);const k=g[Zone.__symbol__("OriginalDelegate")];k&&(g=k)}return{nativeRequestAnimationFrame:f,nativeCancelAnimationFrame:g}}().nativeRequestAnimationFrame,function J7(f){const g=()=>{!function wv(f){f.isCheckStableRunning||-1!==f.lastRequestAnimationFrameId||(f.lastRequestAnimationFrameId=f.nativeRequestAnimationFrame.call(qn,()=>{f.fakeTopEventTask||(f.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{f.lastRequestAnimationFrameId=-1,Mv(f),f.isCheckStableRunning=!0,Uv(f),f.isCheckStableRunning=!1},void 0,()=>{},()=>{})),f.fakeTopEventTask.invoke()}),Mv(f))}(f)};f._inner=f._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(y,k,F,H,ot,Ct)=>{try{return X8(f),y.invokeTask(F,H,ot,Ct)}finally{(f.shouldCoalesceEventChangeDetection&&"eventTask"===H.type||f.shouldCoalesceRunChangeDetection)&&g(),Zv(f)}},onInvoke:(y,k,F,H,ot,Ct,It)=>{try{return X8(f),y.invoke(F,H,ot,Ct,It)}finally{f.shouldCoalesceRunChangeDetection&&g(),Zv(f)}},onHasTask:(y,k,F,H)=>{y.hasTask(F,H),k===F&&("microTask"==H.change?(f._hasPendingMicrotasks=H.microTask,Mv(f),Uv(f)):"macroTask"==H.change&&(f.hasPendingMacrotasks=H.macroTask))},onHandleError:(y,k,F,H)=>(y.handleError(F,H),f.runOutsideAngular(()=>f.onError.emit(H)),!1)})}(F)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Wp.isInAngularZone())throw new tt(909,!1)}static assertNotInAngularZone(){if(Wp.isInAngularZone())throw new tt(909,!1)}run(g,y,k){return this._inner.run(g,y,k)}runTask(g,y,k,F){const H=this._inner,ot=H.scheduleEventTask("NgZoneEvent: "+F,g,K8,B6,B6);try{return H.runTask(ot,y,k)}finally{H.cancelTask(ot)}}runGuarded(g,y,k){return this._inner.runGuarded(g,y,k)}runOutsideAngular(g){return this._outer.run(g)}}const K8={};function Uv(f){if(0==f._nesting&&!f.hasPendingMicrotasks&&!f.isStable)try{f._nesting++,f.onMicrotaskEmpty.emit(null)}finally{if(f._nesting--,!f.hasPendingMicrotasks)try{f.runOutsideAngular(()=>f.onStable.emit(null))}finally{f.isStable=!0}}}function Mv(f){f.hasPendingMicrotasks=!!(f._hasPendingMicrotasks||(f.shouldCoalesceEventChangeDetection||f.shouldCoalesceRunChangeDetection)&&-1!==f.lastRequestAnimationFrameId)}function X8(f){f._nesting++,f.isStable&&(f.isStable=!1,f.onUnstable.emit(null))}function Zv(f){f._nesting--,Uv(f)}class Dv{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new J1,this.onMicrotaskEmpty=new J1,this.onStable=new J1,this.onError=new J1}run(g,y,k){return g.apply(y,k)}runGuarded(g,y,k){return g.apply(y,k)}runOutsideAngular(g){return g()}runTask(g,y,k,F){return g.apply(y,k)}}const tb=new Un(""),eb=new Un("");let j6,nb=(()=>{class f{constructor(y,k,F){this._ngZone=y,this.registry=k,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,j6||(function G7(f){j6=f}(F),F.addToWindow(k)),this._watchAngularEvents(),y.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Wp.assertNotInAngularZone(),Q6(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Q6(()=>{for(;0!==this._callbacks.length;){let y=this._callbacks.pop();clearTimeout(y.timeoutId),y.doneCb(this._didWork)}this._didWork=!1});else{let y=this.getPendingTasks();this._callbacks=this._callbacks.filter(k=>!k.updateCb||!k.updateCb(y)||(clearTimeout(k.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(y=>({source:y.source,creationLocation:y.creationLocation,data:y.data})):[]}addCallback(y,k,F){let H=-1;k&&k>0&&(H=setTimeout(()=>{this._callbacks=this._callbacks.filter(ot=>ot.timeoutId!==H),y(this._didWork,this.getPendingTasks())},k)),this._callbacks.push({doneCb:y,timeoutId:H,updateCb:F})}whenStable(y,k,F){if(F&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(y,k,F),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(y){this.registry.registerApplication(y,this)}unregisterApplication(y){this.registry.unregisterApplication(y)}findProviders(y,k,F){return[]}}return f.\u0275fac=function(y){return new(y||f)(ic(Wp),ic(ib),ic(eb))},f.\u0275prov=re({token:f,factory:f.\u0275fac}),f})(),ib=(()=>{class f{constructor(){this._applications=new Map}registerApplication(y,k){this._applications.set(y,k)}unregisterApplication(y){this._applications.delete(y)}unregisterAllApplications(){this._applications.clear()}getTestability(y){return this._applications.get(y)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(y,k=!0){return j6?.findTestabilityInTree(this,y,k)??null}}return f.\u0275fac=function(y){return new(y||f)},f.\u0275prov=re({token:f,factory:f.\u0275fac,providedIn:"platform"}),f})(),Ch=null;const Pv=new Un("AllowMultipleToken"),kv=new Un("PlatformDestroyListeners");class ob{constructor(g,y){this.name=g,this.token=y}}function rb(f,g,y=[]){const k=`Platform: ${g}`,F=new Un(k);return(H=[])=>{let ot=$6();if(!ot||ot.injector.get(Pv,!1)){const Ct=[...y,...H,{provide:F,useValue:!0}];f?f(Ct):function j7(f){if(Ch&&!Ch.get(Pv,!1))throw new tt(400,!1);Ch=f;const g=f.get(Sv);(function ab(f){const g=f.get(B8,null);g&&g.forEach(y=>y())})(f)}(function sb(f=[],g){return dd.create({name:g,providers:[{provide:lp,useValue:"platform"},{provide:kv,useValue:new Set([()=>Ch=null])},...f]})}(Ct,k))}return function $7(f){const g=$6();if(!g)throw new tt(401,!1);return g}()}}function $6(){return Ch?.get(Sv)??null}let Sv=(()=>{class f{constructor(y){this._injector=y,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(y,k){const F=function cb(f,g){let y;return y="noop"===f?new Dv:("zone.js"===f?void 0:f)||new Wp(g),y}(k?.ngZone,function K6(f){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!f||!f.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!f||!f.ngZoneRunCoalescing)||!1}}(k)),H=[{provide:Wp,useValue:F}];return F.run(()=>{const ot=dd.create({providers:H,parent:this.injector,name:y.moduleType.name}),Ct=y.create(ot),It=Ct.injector.get(Yp,null);if(!It)throw new tt(402,!1);return F.runOutsideAngular(()=>{const he=F.onError.subscribe({next:je=>{It.handleError(je)}});Ct.onDestroy(()=>{H4(this._modules,Ct),he.unsubscribe()})}),function lb(f,g,y){try{const k=y();return n3(k)?k.catch(F=>{throw g.runOutsideAngular(()=>f.handleError(F)),F}):k}catch(k){throw g.runOutsideAngular(()=>f.handleError(k)),k}}(It,F,()=>{const he=Ct.injector.get(R4);return he.runInitializers(),he.donePromise.then(()=>(function al(f){Ge(f,"Expected localeId to be defined"),"string"==typeof f&&(Al=f.toLowerCase().replace(/_/g,"-"))}(Ct.injector.get(G6,ba)||ba),this._moduleDoBootstrap(Ct),Ct))})})}bootstrapModule(y,k=[]){const F=X6({},k);return function Q7(f,g,y){const k=new L6(y);return Promise.resolve(k)}(0,0,y).then(H=>this.bootstrapModuleFactory(H,F))}_moduleDoBootstrap(y){const k=y.injector.get(t5);if(y._bootstrapComponents.length>0)y._bootstrapComponents.forEach(F=>k.bootstrap(F));else{if(!y.instance.ngDoBootstrap)throw new tt(403,!1);y.instance.ngDoBootstrap(k)}this._modules.push(y)}onDestroy(y){this._destroyListeners.push(y)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new tt(404,!1);this._modules.slice().forEach(k=>k.destroy()),this._destroyListeners.forEach(k=>k());const y=this._injector.get(kv,null);y&&(y.forEach(k=>k()),y.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return f.\u0275fac=function(y){return new(y||f)(ic(dd))},f.\u0275prov=re({token:f,factory:f.\u0275fac,providedIn:"platform"}),f})();function X6(f,g){return Array.isArray(g)?g.reduce(X6,f):{...f,...g}}let t5=(()=>{class f{constructor(y,k,F){this._zone=y,this._injector=k,this._exceptionHandler=F,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const H=new x.y(Ct=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{Ct.next(this._stable),Ct.complete()})}),ot=new x.y(Ct=>{let It;this._zone.runOutsideAngular(()=>{It=this._zone.onStable.subscribe(()=>{Wp.assertNotInAngularZone(),Q6(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,Ct.next(!0))})})});const he=this._zone.onUnstable.subscribe(()=>{Wp.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{Ct.next(!1)}))});return()=>{It.unsubscribe(),he.unsubscribe()}});this.isStable=(0,v.T)(H,ot.pipe((0,t.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(y,k){const F=y instanceof Lf;if(!this._injector.get(R4).done)throw!F&&Sn(y),new tt(405,false);let ot;ot=F?y:this._injector.get(wm).resolveComponentFactory(y),this.componentTypes.push(ot.componentType);const Ct=function W6(f){return f.isBoundToModule}(ot)?void 0:this._injector.get(h3),he=ot.create(dd.NULL,[],k||ot.selector,Ct),je=he.location.nativeElement,Tn=he.injector.get(tb,null);return Tn?.registerApplication(je),he.onDestroy(()=>{this.detachView(he.hostView),H4(this.components,he),Tn?.unregisterApplication(je)}),this._loadComponent(he),he}tick(){if(this._runningTick)throw new tt(101,!1);try{this._runningTick=!0;for(let y of this._views)y.detectChanges()}catch(y){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(y))}finally{this._runningTick=!1}}attachView(y){const k=y;this._views.push(k),k.attachToAppRef(this)}detachView(y){const k=y;H4(this._views,k),k.detachFromAppRef()}_loadComponent(y){this.attachView(y.hostView),this.tick(),this.components.push(y),this._injector.get(J8,[]).concat(this._bootstrapListeners).forEach(F=>F(y))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(y=>y()),this._views.slice().forEach(y=>y.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(y){return this._destroyListeners.push(y),()=>H4(this._destroyListeners,y)}destroy(){if(this._destroyed)throw new tt(406,!1);const y=this._injector;y.destroy&&!y.destroyed&&y.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return f.\u0275fac=function(y){return new(y||f)(ic(Wp),ic(up),ic(Yp))},f.\u0275prov=re({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();function H4(f,g){const y=f.indexOf(g);y>-1&&f.splice(y,1)}let db=!0;function ty(){db=!1}let _b=(()=>{class f{}return f.__NG_ELEMENT_ID__=ny,f})();function ny(f){return function fb(f,g,y){if(Ml(f)&&!y){const k=rs(f.index,g);return new z_(k,k)}return 47&f.type?new z_(g[Q],g):null}(Wa(),Gi(),16==(16&f))}class vb{constructor(){}supports(g){return fi(g)}create(g){return new cy(g)}}const sy=(f,g)=>g;class cy{constructor(g){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=g||sy}forEachItem(g){let y;for(y=this._itHead;null!==y;y=y._next)g(y)}forEachOperation(g){let y=this._itHead,k=this._removalsHead,F=0,H=null;for(;y||k;){const ot=!k||y&&y.currentIndex {ot=this._trackByFn(F,Ct),null!==y&&Object.is(y.trackById,ot)?(k&&(y=this._verifyReinsertion(y,Ct,ot,F)),Object.is(y.item,Ct)||this._addIdentityChange(y,Ct)):(y=this._mismatch(y,Ct,ot,F),k=!0),y=y._next,F++}),this.length=F;return this._truncate(y),this.collection=g,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let g;for(g=this._previousItHead=this._itHead;null!==g;g=g._next)g._nextPrevious=g._next;for(g=this._additionsHead;null!==g;g=g._nextAdded)g.previousIndex=g.currentIndex;for(this._additionsHead=this._additionsTail=null,g=this._movesHead;null!==g;g=g._nextMoved)g.previousIndex=g.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(g,y,k,F){let H;return null===g?H=this._itTail:(H=g._prev,this._remove(g)),null!==(g=null===this._unlinkedRecords?null:this._unlinkedRecords.get(k,null))?(Object.is(g.item,y)||this._addIdentityChange(g,y),this._reinsertAfter(g,H,F)):null!==(g=null===this._linkedRecords?null:this._linkedRecords.get(k,F))?(Object.is(g.item,y)||this._addIdentityChange(g,y),this._moveAfter(g,H,F)):g=this._addAfter(new ly(y,k),H,F),g}_verifyReinsertion(g,y,k,F){let H=null===this._unlinkedRecords?null:this._unlinkedRecords.get(k,null);return null!==H?g=this._reinsertAfter(H,g._prev,F):g.currentIndex!=F&&(g.currentIndex=F,this._addToMoves(g,F)),g}_truncate(g){for(;null!==g;){const y=g._next;this._addToRemovals(this._unlink(g)),g=y}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(g,y,k){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(g);const F=g._prevRemoved,H=g._nextRemoved;return null===F?this._removalsHead=H:F._nextRemoved=H,null===H?this._removalsTail=F:H._prevRemoved=F,this._insertAfter(g,y,k),this._addToMoves(g,k),g}_moveAfter(g,y,k){return this._unlink(g),this._insertAfter(g,y,k),this._addToMoves(g,k),g}_addAfter(g,y,k){return this._insertAfter(g,y,k),this._additionsTail=null===this._additionsTail?this._additionsHead=g:this._additionsTail._nextAdded=g,g}_insertAfter(g,y,k){const F=null===y?this._itHead:y._next;return g._next=F,g._prev=y,null===F?this._itTail=g:F._prev=g,null===y?this._itHead=g:y._next=g,null===this._linkedRecords&&(this._linkedRecords=new Iv),this._linkedRecords.put(g),g.currentIndex=k,g}_remove(g){return this._addToRemovals(this._unlink(g))}_unlink(g){null!==this._linkedRecords&&this._linkedRecords.remove(g);const y=g._prev,k=g._next;return null===y?this._itHead=k:y._next=k,null===k?this._itTail=y:k._prev=y,g}_addToMoves(g,y){return g.previousIndex===y||(this._movesTail=null===this._movesTail?this._movesHead=g:this._movesTail._nextMoved=g),g}_addToRemovals(g){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Iv),this._unlinkedRecords.put(g),g.currentIndex=null,g._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=g,g._prevRemoved=null):(g._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=g),g}_addIdentityChange(g,y){return g.item=y,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=g:this._identityChangesTail._nextIdentityChange=g,g}}class ly{constructor(g,y){this.item=g,this.trackById=y,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class uy{constructor(){this._head=null,this._tail=null}add(g){null===this._head?(this._head=this._tail=g,g._nextDup=null,g._prevDup=null):(this._tail._nextDup=g,g._prevDup=this._tail,g._nextDup=null,this._tail=g)}get(g,y){let k;for(k=this._head;null!==k;k=k._nextDup)if((null===y||y<=k.currentIndex)&&Object.is(k.trackById,g))return k;return null}remove(g){const y=g._prevDup,k=g._nextDup;return null===y?this._head=k:y._nextDup=k,null===k?this._tail=y:k._prevDup=y,null===this._head}}class Iv{constructor(){this.map=new Map}put(g){const y=g.trackById;let k=this.map.get(y);k||(k=new uy,this.map.set(y,k)),k.add(g)}get(g,y){const F=this.map.get(g);return F?F.get(g,y):null}remove(g){const y=g.trackById;return this.map.get(y).remove(g)&&this.map.delete(y),g}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function xb(f,g,y){const k=f.previousIndex;if(null===k)return k;let F=0;return y&&k {if(y&&y.key===F)this._maybeAddToChanges(y,k),this._appendAfter=y,y=y._next;else{const H=this._getOrCreateRecordForKey(F,k);y=this._insertBeforeOrAppend(y,H)}}),y){y._prev&&(y._prev._next=null),this._removalsHead=y;for(let k=y;null!==k;k=k._nextRemoved)k===this._mapHead&&(this._mapHead=null),this._records.delete(k.key),k._nextRemoved=k._next,k.previousValue=k.currentValue,k.currentValue=null,k._prev=null,k._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(g,y){if(g){const k=g._prev;return y._next=g,y._prev=k,g._prev=y,k&&(k._next=y),g===this._mapHead&&(this._mapHead=y),this._appendAfter=g,g}return this._appendAfter?(this._appendAfter._next=y,y._prev=this._appendAfter):this._mapHead=y,this._appendAfter=y,null}_getOrCreateRecordForKey(g,y){if(this._records.has(g)){const F=this._records.get(g);this._maybeAddToChanges(F,y);const H=F._prev,ot=F._next;return H&&(H._next=ot),ot&&(ot._prev=H),F._next=null,F._prev=null,F}const k=new py(g);return this._records.set(g,k),k.currentValue=y,this._addToAdditions(k),k}_reset(){if(this.isDirty){let g;for(this._previousMapHead=this._mapHead,g=this._previousMapHead;null!==g;g=g._next)g._nextPrevious=g._next;for(g=this._changesHead;null!==g;g=g._nextChanged)g.previousValue=g.currentValue;for(g=this._additionsHead;null!=g;g=g._nextAdded)g.previousValue=g.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(g,y){Object.is(y,g.currentValue)||(g.previousValue=g.currentValue,g.currentValue=y,this._addToChanges(g))}_addToAdditions(g){null===this._additionsHead?this._additionsHead=this._additionsTail=g:(this._additionsTail._nextAdded=g,this._additionsTail=g)}_addToChanges(g){null===this._changesHead?this._changesHead=this._changesTail=g:(this._changesTail._nextChanged=g,this._changesTail=g)}_forEach(g,y){g instanceof Map?g.forEach(y):Object.keys(g).forEach(k=>y(g[k],k))}}class py{constructor(g){this.key=g,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function qv(){return new Rv([new vb])}let Rv=(()=>{class f{constructor(y){this.factories=y}static create(y,k){if(null!=k){const F=k.factories.slice();y=y.concat(F)}return new f(y)}static extend(y){return{provide:f,useFactory:k=>f.create(y,k||qv()),deps:[[f,new wp,new oc]]}}find(y){const k=this.factories.find(F=>F.supports(y));if(null!=k)return k;throw new tt(901,!1)}}return f.\u0275prov=re({token:f,providedIn:"root",factory:qv}),f})();function Cb(){return new Y4([new bb])}let Y4=(()=>{class f{constructor(y){this.factories=y}static create(y,k){if(k){const F=k.factories.slice();y=y.concat(F)}return new f(y)}static extend(y){return{provide:f,useFactory:k=>f.create(y,k||Cb()),deps:[[f,new wp,new oc]]}}find(y){const k=this.factories.find(F=>F.supports(y));if(k)return k;throw new tt(901,!1)}}return f.\u0275prov=re({token:f,providedIn:"root",factory:Cb}),f})();const fy=rb(null,"core",[]);let hy=(()=>{class f{constructor(y){}}return f.\u0275fac=function(y){return new(y||f)(ic(t5))},f.\u0275mod=fn({type:f}),f.\u0275inj=oe({}),f})();function gy(f){return"boolean"==typeof f?f:null!=f&&"false"!==f}},85863:(X,j,h)=>{"use strict";function u(O){for(let L in O){let N=O[L]??"";switch(L){case"display":O.display="flex"===N?["-webkit-flex","flex"]:"inline-flex"===N?["-webkit-inline-flex","inline-flex"]:N;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":O["-webkit-"+L]=N;break;case"flex-direction":O["-webkit-flex-direction"]=N,O["flex-direction"]=N;break;case"order":O.order=O["-webkit-"+L]=isNaN(+N)?"0":N}}return O}h.d(j,{Ar:()=>v,GK:()=>u,iQ:()=>x,kt:()=>P,tj:()=>T});const p="inline",x=["row","column","row-reverse","column-reverse"];function v(O){let[L,N,V]=t(O);return function w(O,L=null,N=!1){return{display:N?"inline-flex":"flex","box-sizing":"border-box","flex-direction":O,"flex-wrap":L||null}}(L,N,V)}function t(O){O=O?.toLowerCase()??"";let[L,N,V]=O.split(" ");return x.find(W=>W===L)||(L=x[0]),N===p&&(N=V!==p?V:"",V=p),[L,U(N),!!V]}function T(O){let[L]=t(O);return L.indexOf("row")>-1}function U(O){if(O)switch(O.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":O="wrap-reverse";break;case"no":case"none":case"nowrap":O="nowrap";break;default:O="wrap"}return O}function P(O,...L){if(null==O)throw TypeError("Cannot convert undefined or null to object");for(let N of L)if(null!=N)for(let V in N)N.hasOwnProperty(V)&&(O[V]=N[V]);return O}},32233:(X,j,h)=>{"use strict";h.d(j,{Bs:()=>Dt,FL:()=>hi,IR:()=>V,Ot:()=>mi,QI:()=>qt,RK:()=>Jt,WU:()=>ct,g5:()=>st,iR:()=>it,wY:()=>bt,yB:()=>Qe});var u=h(94650),p=h(36895),x=h(591),v=h(56498),t=h(36787),T=h(8929),U=h(85863),w=h(92198),P=h(22868);const L={provide:u.tb,useFactory:function O(Yn,Vn){return()=>{if((0,p.NF)(Vn)){const Je=Array.from(Yn.querySelectorAll(`[class*=${N}]`)),gn=/\bflex-layout-.+?\b/g;Je.forEach(Ye=>{Ye.classList.contains(`${N}ssr`)&&Ye.parentNode?Ye.parentNode.removeChild(Ye):Ye.className.replace(gn,"")})}}},deps:[p.K0,u.Lbi],multi:!0},N="flex-layout-";let V=(()=>{class Yn{}return Yn.\u0275fac=function(Je){return new(Je||Yn)},Yn.\u0275mod=u.oAB({type:Yn}),Yn.\u0275inj=u.cJS({providers:[L]}),Yn})();class W{constructor(Vn=!1,Je="all",gn="",Ye="",Ee=0){this.matches=Vn,this.mediaQuery=Je,this.mqAlias=gn,this.suffix=Ye,this.priority=Ee,this.property=""}clone(){return new W(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let tt=(()=>{class Yn{constructor(){this.stylesheet=new Map}addStyleToElement(Je,gn,Ye){const Ee=this.stylesheet.get(Je);Ee?Ee.set(gn,Ye):this.stylesheet.set(Je,new Map([[gn,Ye]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(Je,gn){const Ye=this.stylesheet.get(Je);let Ee="";if(Ye){const Xe=Ye.get(gn);("number"==typeof Xe||"string"==typeof Xe)&&(Ee=Xe+"")}return Ee}}return Yn.\u0275fac=function(Je){return new(Je||Yn)},Yn.\u0275prov=u.Yz7({token:Yn,factory:Yn.\u0275fac,providedIn:"root"}),Yn})();const st={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},ct=new u.OlP("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>st}),bt=new u.OlP("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),Dt=new u.OlP("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function wt(Yn,Vn){return Yn=Yn?.clone()??new W,Vn&&(Yn.mqAlias=Vn.alias,Yn.mediaQuery=Vn.mediaQuery,Yn.suffix=Vn.suffix,Yn.priority=Vn.priority),Yn}class qt{constructor(){this.shouldCache=!0}sideEffect(Vn,Je,gn){}}let Jt=(()=>{class Yn{constructor(Je,gn,Ye,Ee){this._serverStylesheet=Je,this._serverModuleLoaded=gn,this._platformId=Ye,this.layoutConfig=Ee}applyStyleToElement(Je,gn,Ye=null){let Ee={};"string"==typeof gn&&(Ee[gn]=Ye,gn=Ee),Ee=this.layoutConfig.disableVendorPrefixes?gn:(0,U.GK)(gn),this._applyMultiValueStyleToElement(Ee,Je)}applyStyleToElements(Je,gn=[]){const Ye=this.layoutConfig.disableVendorPrefixes?Je:(0,U.GK)(Je);gn.forEach(Ee=>{this._applyMultiValueStyleToElement(Ye,Ee)})}getFlowDirection(Je){const gn="flex-direction";let Ye=this.lookupStyle(Je,gn);return[Ye||"row",this.lookupInlineStyle(Je,gn)||(0,p.PM)(this._platformId)&&this._serverModuleLoaded?Ye:""]}hasWrap(Je){return"wrap"===this.lookupStyle(Je,"flex-wrap")}lookupAttributeValue(Je,gn){return Je.getAttribute(gn)??""}lookupInlineStyle(Je,gn){return(0,p.NF)(this._platformId)?Je.style.getPropertyValue(gn):function yt(Yn,Vn){return pt(Yn)[Vn]??""}(Je,gn)}lookupStyle(Je,gn,Ye=!1){let Ee="";return Je&&((Ee=this.lookupInlineStyle(Je,gn))||((0,p.NF)(this._platformId)?Ye||(Ee=getComputedStyle(Je).getPropertyValue(gn)):this._serverModuleLoaded&&(Ee=this._serverStylesheet.getStyleForElement(Je,gn)))),Ee?Ee.trim():""}_applyMultiValueStyleToElement(Je,gn){Object.keys(Je).sort().forEach(Ye=>{const Ee=Je[Ye],Xe=Array.isArray(Ee)?Ee:[Ee];Xe.sort();for(let se of Xe)se=se?se+"":"",(0,p.NF)(this._platformId)||!this._serverModuleLoaded?(0,p.NF)(this._platformId)?gn.style.setProperty(Ye,se):At(gn,Ye,se):this._serverStylesheet.addStyleToElement(gn,Ye,se)})}}return Yn.\u0275fac=function(Je){return new(Je||Yn)(u.LFG(tt),u.LFG(bt),u.LFG(u.Lbi),u.LFG(ct))},Yn.\u0275prov=u.Yz7({token:Yn,factory:Yn.\u0275fac,providedIn:"root"}),Yn})();function At(Yn,Vn,Je){Vn=Vn.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const gn=pt(Yn);gn[Vn]=Je??"",function xt(Yn,Vn){let Je="";for(const gn in Vn)Vn[gn]&&(Je+=`${gn}:${Vn[gn]};`);Yn.setAttribute("style",Je)}(Yn,gn)}function pt(Yn){const Vn={},Je=Yn.getAttribute("style");if(Je){const gn=Je.split(/;+/g);for(let Ye=0;Ye 0){const Xe=Ee.indexOf(":");if(-1===Xe)throw new Error(`Invalid CSS style: ${Ee}`);Vn[Ee.substr(0,Xe).trim()]=Ee.substr(Xe+1).trim()}}}return Vn}function Ot(Yn,Vn){return(Vn&&Vn.priority||0)-(Yn&&Yn.priority||0)}function Bt(Yn,Vn){return(Yn.priority||0)-(Vn.priority||0)}let St=(()=>{class Yn{constructor(Je,gn,Ye){this._zone=Je,this._platformId=gn,this._document=Ye,this.source=new x.X(new W(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const Je=[];return this.registry.forEach((gn,Ye)=>{gn.matches&&Je.push(Ye)}),Je}isActive(Je){return this.registry.get(Je)?.matches??this.registerQuery(Je).some(Ye=>Ye.matches)}observe(Je,gn=!1){if(Je&&Je.length){const Ye=this._observable$.pipe((0,w.h)(Xe=>!gn||Je.indexOf(Xe.mediaQuery)>-1)),Ee=new v.y(Xe=>{const se=this.registerQuery(Je);if(se.length){const ze=se.pop();se.forEach(ie=>{Xe.next(ie)}),this.source.next(ze)}Xe.complete()});return(0,t.T)(Ee,Ye)}return this._observable$}registerQuery(Je){const gn=Array.isArray(Je)?Je:[Je],Ye=[];return function Vt(Yn,Vn){const Je=Yn.filter(gn=>!ce[gn]);if(Je.length>0){const gn=Je.join(", ");try{const Ye=Vn.createElement("style");Ye.setAttribute("type","text/css"),Ye.styleSheet||Ye.appendChild(Vn.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${gn} {.fx-query-test{ }}\n`)),Vn.head.appendChild(Ye),Je.forEach(Ee=>ce[Ee]=Ye)}catch(Ye){console.error(Ye)}}}(gn,this._document),gn.forEach(Ee=>{const Xe=ze=>{this._zone.run(()=>this.source.next(new W(ze.matches,Ee)))};let se=this.registry.get(Ee);se||(se=this.buildMQL(Ee),se.addListener(Xe),this.pendingRemoveListenerFns.push(()=>se.removeListener(Xe)),this.registry.set(Ee,se)),se.matches&&Ye.push(new W(!0,Ee))}),Ye}ngOnDestroy(){let Je;for(;Je=this.pendingRemoveListenerFns.pop();)Je()}buildMQL(Je){return function fe(Yn,Vn){return Vn&&window.matchMedia("all").addListener?window.matchMedia(Yn):function ve(Yn){const Vn=new EventTarget;return Vn.matches="all"===Yn||""===Yn,Vn.media=Yn,Vn.addListener=()=>{},Vn.removeListener=()=>{},Vn.addEventListener=()=>{},Vn.dispatchEvent=()=>!1,Vn.onchange=null,Vn}(Yn)}(Je,(0,p.NF)(this._platformId))}}return Yn.\u0275fac=function(Je){return new(Je||Yn)(u.LFG(u.R0b),u.LFG(u.Lbi),u.LFG(p.K0))},Yn.\u0275prov=u.Yz7({token:Yn,factory:Yn.\u0275fac,providedIn:"root"}),Yn})();const ce={},Le=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],Fe="(orientation: portrait) and (max-width: 599.98px)",Ge="(orientation: landscape) and (max-width: 959.98px)",Gt="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",Te="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",ne="(orientation: portrait) and (min-width: 840px)",jt="(orientation: landscape) and (min-width: 1280px)",re={HANDSET:`${Fe}, ${Ge}`,TABLET:`${Gt} , ${Te}`,WEB:`${ne}, ${jt} `,HANDSET_PORTRAIT:`${Fe}`,TABLET_PORTRAIT:`${Gt} `,WEB_PORTRAIT:`${ne}`,HANDSET_LANDSCAPE:`${Ge}`,TABLET_LANDSCAPE:`${Te}`,WEB_LANDSCAPE:`${jt}`},Xt=[{alias:"handset",priority:2e3,mediaQuery:re.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:re.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:re.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:re.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:re.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:re.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:re.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:re.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:re.WEB_PORTRAIT,overlapping:!0}],oe=/(\.|-|_)/g;function Me(Yn){let Vn=Yn.length>0?Yn.charAt(0):"",Je=Yn.length>1?Yn.slice(1):"";return Vn.toUpperCase()+Je}const vn=new u.OlP("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const Yn=(0,u.f3M)(Dt),Vn=(0,u.f3M)(ct),Je=[].concat.apply([],(Yn||[]).map(Ye=>Array.isArray(Ye)?Ye:[Ye]));return function xe(Yn,Vn=[]){const Je={};return Yn.forEach(gn=>{Je[gn.alias]=gn}),Vn.forEach(gn=>{Je[gn.alias]?(0,U.kt)(Je[gn.alias],gn):Je[gn.alias]=gn}),function _n(Yn){return Yn.forEach(Vn=>{Vn.suffix||(Vn.suffix=function en(Yn){return Yn.replace(oe,"|").split("|").map(Me).join("")}(Vn.alias),Vn.overlapping=!!Vn.overlapping)}),Yn}(Object.keys(Je).map(gn=>Je[gn]))}((Vn.disableDefaultBps?[]:Le).concat(Vn.addOrientationBps?Xt:[]),Je)}});let ke=(()=>{class Yn{constructor(Je){this.findByMap=new Map,this.items=[...Je].sort(Bt)}findByAlias(Je){return Je?this.findWithPredicate(Je,gn=>gn.alias===Je):null}findByQuery(Je){return this.findWithPredicate(Je,gn=>gn.mediaQuery===Je)}get overlappings(){return this.items.filter(Je=>Je.overlapping)}get aliases(){return this.items.map(Je=>Je.alias)}get suffixes(){return this.items.map(Je=>Je?.suffix??"")}findWithPredicate(Je,gn){let Ye=this.findByMap.get(Je);return Ye||(Ye=this.items.find(gn)??null,this.findByMap.set(Je,Ye)),Ye??null}}return Yn.\u0275fac=function(Je){return new(Je||Yn)(u.LFG(vn))},Yn.\u0275prov=u.Yz7({token:Yn,factory:Yn.\u0275fac,providedIn:"root"}),Yn})();const un="print",Dn={alias:un,mediaQuery:un,priority:1e3};let ii=(()=>{class Yn{constructor(Je,gn,Ye){this.breakpoints=Je,this.layoutConfig=gn,this._document=Ye,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new _i,this.deactivations=[]}withPrintQuery(Je){return[...Je,un]}isPrintEvent(Je){return Je.mediaQuery.startsWith(un)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(Je=>this.breakpoints.findByAlias(Je)).filter(Je=>null!==Je)}getEventBreakpoints({mediaQuery:Je}){const gn=this.breakpoints.findByQuery(Je);return(gn?[...this.printBreakPoints,gn]:this.printBreakPoints).sort(Ot)}updateEvent(Je){let gn=this.breakpoints.findByQuery(Je.mediaQuery);return this.isPrintEvent(Je)&&(gn=this.getEventBreakpoints(Je)[0],Je.mediaQuery=gn?.mediaQuery??""),wt(Je,gn)}registerBeforeAfterPrintHooks(Je){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const gn=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(Je,this.getEventBreakpoints(new W(!0,un))),Je.updateStyles())},Ye=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(Je),Je.updateStyles())};this._document.defaultView.addEventListener("beforeprint",gn),this._document.defaultView.addEventListener("afterprint",Ye),this.beforePrintEventListeners.push(gn),this.afterPrintEventListeners.push(Ye)}interceptEvents(Je){return gn=>{this.isPrintEvent(gn)?gn.matches&&!this.isPrinting?(this.startPrinting(Je,this.getEventBreakpoints(gn)),Je.updateStyles()):!gn.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(Je),Je.updateStyles()):this.collectActivations(Je,gn)}}blockPropagation(){return Je=>!(this.isPrinting||this.isPrintEvent(Je))}startPrinting(Je,gn){this.isPrinting=!0,this.formerActivations=Je.activatedBreakpoints,Je.activatedBreakpoints=this.queue.addPrintBreakpoints(gn)}stopPrinting(Je){Je.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(Je,gn){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!gn.matches){const Ye=this.breakpoints.findByQuery(gn.mediaQuery);if(Ye){const Ee=this.formerActivations&&this.formerActivations.includes(Ye),Xe=!this.formerActivations&&Je.activatedBreakpoints.includes(Ye);(Ee||Xe)&&(this.deactivations.push(Ye),this.deactivations.sort(Ot))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(Je=>this._document.defaultView.removeEventListener("beforeprint",Je)),this.afterPrintEventListeners.forEach(Je=>this._document.defaultView.removeEventListener("afterprint",Je)))}}return Yn.\u0275fac=function(Je){return new(Je||Yn)(u.LFG(ke),u.LFG(ct),u.LFG(p.K0))},Yn.\u0275prov=u.Yz7({token:Yn,factory:Yn.\u0275fac,providedIn:"root"}),Yn})();class _i{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(Vn){return Vn.push(Dn),Vn.sort(Ot),Vn.forEach(Je=>this.addBreakpoint(Je)),this.printBreakpoints}addBreakpoint(Vn){Vn&&void 0===this.printBreakpoints.find(gn=>gn.mediaQuery===Vn.mediaQuery)&&(this.printBreakpoints=function oi(Yn){return Yn?.mediaQuery.startsWith(un)??!1}(Vn)?[Vn,...this.printBreakpoints]:[...this.printBreakpoints,Vn])}clear(){this.printBreakpoints=[]}}let Qe=(()=>{class Yn{constructor(Je,gn,Ye){this.matchMedia=Je,this.breakpoints=gn,this.hook=Ye,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new T.xQ,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(Je){this._activatedBreakpoints=[...Je]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(Je){this._useFallbacks=Je}onMediaChange(Je){const gn=this.findByQuery(Je.mediaQuery);if(gn){Je=wt(Je,gn);const Ye=this.activatedBreakpoints.indexOf(gn);Je.matches&&-1===Ye?(this._activatedBreakpoints.push(gn),this._activatedBreakpoints.sort(Ot),this.updateStyles()):!Je.matches&&-1!==Ye&&(this._activatedBreakpoints.splice(Ye,1),this._activatedBreakpoints.sort(Ot),this.updateStyles())}}init(Je,gn,Ye,Ee,Xe=[]){te(this.updateMap,Je,gn,Ye),te(this.clearMap,Je,gn,Ee),this.buildElementKeyMap(Je,gn),this.watchExtraTriggers(Je,gn,Xe)}getValue(Je,gn,Ye){const Ee=this.elementMap.get(Je);if(Ee){const Xe=void 0!==Ye?Ee.get(Ye):this.getActivatedValues(Ee,gn);if(Xe)return Xe.get(gn)}}hasValue(Je,gn){const Ye=this.elementMap.get(Je);if(Ye){const Ee=this.getActivatedValues(Ye,gn);if(Ee)return void 0!==Ee.get(gn)||!1}return!1}setValue(Je,gn,Ye,Ee){let Xe=this.elementMap.get(Je);if(Xe){const ze=(Xe.get(Ee)??new Map).set(gn,Ye);Xe.set(Ee,ze),this.elementMap.set(Je,Xe)}else Xe=(new Map).set(Ee,(new Map).set(gn,Ye)),this.elementMap.set(Je,Xe);const se=this.getValue(Je,gn);void 0!==se&&this.updateElement(Je,gn,se)}trackValue(Je,gn){return this.subject.asObservable().pipe((0,w.h)(Ye=>Ye.element===Je&&Ye.key===gn))}updateStyles(){this.elementMap.forEach((Je,gn)=>{const Ye=new Set(this.elementKeyMap.get(gn));let Ee=this.getActivatedValues(Je);Ee&&Ee.forEach((Xe,se)=>{this.updateElement(gn,se,Xe),Ye.delete(se)}),Ye.forEach(Xe=>{if(Ee=this.getActivatedValues(Je,Xe),Ee){const se=Ee.get(Xe);this.updateElement(gn,Xe,se)}else this.clearElement(gn,Xe)})})}clearElement(Je,gn){const Ye=this.clearMap.get(Je);if(Ye){const Ee=Ye.get(gn);Ee&&(Ee(),this.subject.next({element:Je,key:gn,value:""}))}}updateElement(Je,gn,Ye){const Ee=this.updateMap.get(Je);if(Ee){const Xe=Ee.get(gn);Xe&&(Xe(Ye),this.subject.next({element:Je,key:gn,value:Ye}))}}releaseElement(Je){const gn=this.watcherMap.get(Je);gn&&(gn.forEach(Ee=>Ee.unsubscribe()),this.watcherMap.delete(Je));const Ye=this.elementMap.get(Je);Ye&&(Ye.forEach((Ee,Xe)=>Ye.delete(Xe)),this.elementMap.delete(Je))}triggerUpdate(Je,gn){const Ye=this.elementMap.get(Je);if(Ye){const Ee=this.getActivatedValues(Ye,gn);Ee&&(gn?this.updateElement(Je,gn,Ee.get(gn)):Ee.forEach((Xe,se)=>this.updateElement(Je,se,Xe)))}}buildElementKeyMap(Je,gn){let Ye=this.elementKeyMap.get(Je);Ye||(Ye=new Set,this.elementKeyMap.set(Je,Ye)),Ye.add(gn)}watchExtraTriggers(Je,gn,Ye){if(Ye&&Ye.length){let Ee=this.watcherMap.get(Je);if(Ee||(Ee=new Map,this.watcherMap.set(Je,Ee)),!Ee.get(gn)){const se=(0,t.T)(...Ye).subscribe(()=>{const ze=this.getValue(Je,gn);this.updateElement(Je,gn,ze)});Ee.set(gn,se)}}}findByQuery(Je){return this.breakpoints.findByQuery(Je)}getActivatedValues(Je,gn){for(let Ee=0;Ee gn.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(Je)).pipe((0,P.b)(this.hook.interceptEvents(this)),(0,w.h)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return Yn.\u0275fac=function(Je){return new(Je||Yn)(u.LFG(St),u.LFG(ke),u.LFG(ii))},Yn.\u0275prov=u.Yz7({token:Yn,factory:Yn.\u0275fac,providedIn:"root"}),Yn})();function te(Yn,Vn,Je,gn){if(void 0!==gn){const Ye=Yn.get(Vn)??new Map;Ye.set(Je,gn),Yn.set(Vn,Ye)}}let it=(()=>{class Yn{constructor(Je,gn,Ye,Ee){this.elementRef=Je,this.styleBuilder=gn,this.styler=Ye,this.marshal=Ee,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new T.xQ,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(Je){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,Je,this.marshal.activatedAlias)}ngOnChanges(Je){Object.keys(Je).forEach(gn=>{if(-1!==this.inputs.indexOf(gn)){const Ye=gn.split(".").slice(1).join(".");this.setValue(Je[gn].currentValue,Ye)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(Je=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),Je)}addStyles(Je,gn){const Ye=this.styleBuilder,Ee=Ye.shouldCache;let Xe=this.styleCache.get(Je);(!Xe||!Ee)&&(Xe=Ye.buildStyles(Je,gn),Ee&&this.styleCache.set(Je,Xe)),this.mru={...Xe},this.applyStyleToElement(Xe),Ye.sideEffect(Je,Xe,gn)}clearStyles(){Object.keys(this.mru).forEach(Je=>{this.mru[Je]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(Je,gn=!1){if(Je){const[Ye,Ee]=this.styler.getFlowDirection(Je);if(!Ee&&gn){const Xe=(0,U.Ar)(Ye);this.styler.applyStyleToElements(Xe,[Je])}return Ye.trim()}return"row"}hasWrap(Je){return this.styler.hasWrap(Je)}applyStyleToElement(Je,gn,Ye=this.nativeElement){this.styler.applyStyleToElement(Ye,Je,gn)}setValue(Je,gn){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,Je,gn)}updateWithValue(Je){this.currentValue!==Je&&(this.addStyles(Je),this.currentValue=Je)}}return Yn.\u0275fac=function(Je){return new(Je||Yn)(u.Y36(u.SBq),u.Y36(qt),u.Y36(Jt),u.Y36(Qe))},Yn.\u0275dir=u.lG2({type:Yn,features:[u.TTD]}),Yn})();function mi(Yn,Vn="1",Je="1"){let gn=[Vn,Je,Yn],Ye=Yn.indexOf("calc");if(Ye>0){gn[2]=Di(Yn.substring(Ye).trim());let Ee=Yn.substr(0,Ye).trim().split(" ");2==Ee.length&&(gn[0]=Ee[0],gn[1]=Ee[1])}else if(0==Ye)gn[2]=Di(Yn.trim());else{let Ee=Yn.split(" ");gn=3===Ee.length?Ee:[Vn,Je,Yn]}return gn}function Di(Yn){return Yn.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}function hi(Yn,Vn){if(void 0===Vn)return Yn;const Je=gn=>{const Ye=+gn.slice(0,-"x".length);return Yn.endsWith("x")&&!isNaN(Ye)?`${Ye*Vn.value}${Vn.unit}`:Yn};return Yn.includes(" ")?Yn.split(" ").map(Je).join(" "):Je(Yn)}EventTarget},55829:(X,j,h)=>{"use strict";h.d(j,{Zl:()=>fe,aT:()=>Ge,b8:()=>Jt,oO:()=>st});var u=h(94650),p=h(32233),x=h(36895),v=h(21281),t=h(7625),T=h(11481);let V=(()=>{class Gt extends p.iR{constructor(ne,jt,re,Xt,oe,Me,en){super(ne,null,jt,re),this.ngClassInstance=en,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new x.mk(Xt,oe,ne,Me)),this.init(),this.setValue("","")}set klass(ne){this.ngClassInstance.klass=ne,this.setValue(ne,"")}updateWithValue(ne){this.ngClassInstance.ngClass=ne,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}return Gt.\u0275fac=function(ne){return new(ne||Gt)(u.Y36(u.SBq),u.Y36(p.RK),u.Y36(p.yB),u.Y36(u.ZZ4),u.Y36(u.aQg),u.Y36(u.Qsj),u.Y36(x.mk,10))},Gt.\u0275dir=u.lG2({type:Gt,inputs:{klass:["class","klass"]},features:[u.qOj]}),Gt})();const W=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"];let st=(()=>{class Gt extends V{constructor(){super(...arguments),this.inputs=W}}return Gt.\u0275fac=function(){let Te;return function(jt){return(Te||(Te=u.n5z(Gt)))(jt||Gt)}}(),Gt.\u0275dir=u.lG2({type:Gt,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[u.qOj]}),Gt})(),ct=(()=>{class Gt extends p.QI{buildStyles(ne,jt){return{display:"true"===ne?jt.display||(jt.isServer?"initial":""):"none"}}}return Gt.\u0275fac=function(){let Te;return function(jt){return(Te||(Te=u.n5z(Gt)))(jt||Gt)}}(),Gt.\u0275prov=u.Yz7({token:Gt,factory:Gt.\u0275fac,providedIn:"root"}),Gt})(),bt=(()=>{class Gt extends p.iR{constructor(ne,jt,re,Xt,oe,Me,en){super(ne,jt,re,Xt),this.layoutConfig=oe,this.platformId=Me,this.serverModuleLoaded=en,this.DIRECTIVE_KEY="show-hide",this.display="",this.hasLayout=!1,this.hasFlexChild=!1}ngAfterViewInit(){this.trackExtraTriggers();const ne=Array.from(this.nativeElement.children);for(let re=0;re {if(-1!==this.inputs.indexOf(jt)){const re=jt.split("."),Xt=re.slice(1).join("."),oe=ne[jt].currentValue;let Me=""===oe||0!==oe&&(0,v.Ig)(oe);"fxHide"===re[0]&&(Me=!Me),this.setValue(Me,Xt)}})}trackExtraTriggers(){this.hasLayout=this.marshal.hasValue(this.nativeElement,"layout"),["layout","layout-align"].forEach(ne=>{this.marshal.trackValue(this.nativeElement,ne).pipe((0,t.R)(this.destroySubject)).subscribe(this.triggerUpdate.bind(this))})}getDisplayStyle(){return this.hasLayout||this.hasFlexChild&&this.layoutConfig.addFlexToParent?"flex":this.styler.lookupStyle(this.nativeElement,"display",!0)}updateWithValue(ne=!0){if(""===ne)return;const jt=(0,x.PM)(this.platformId);this.addStyles(ne?"true":"false",{display:this.display,isServer:jt}),jt&&this.serverModuleLoaded&&this.nativeElement.style.setProperty("display",""),this.marshal.triggerUpdate(this.parentElement,"layout-gap")}}return Gt.\u0275fac=function(ne){return new(ne||Gt)(u.Y36(u.SBq),u.Y36(ct),u.Y36(p.RK),u.Y36(p.yB),u.Y36(p.WU),u.Y36(u.Lbi),u.Y36(p.wY))},Gt.\u0275dir=u.lG2({type:Gt,features:[u.qOj,u.TTD]}),Gt})();const Dt=new WeakMap,wt=["fxShow","fxShow.print","fxShow.xs","fxShow.sm","fxShow.md","fxShow.lg","fxShow.xl","fxShow.lt-sm","fxShow.lt-md","fxShow.lt-lg","fxShow.lt-xl","fxShow.gt-xs","fxShow.gt-sm","fxShow.gt-md","fxShow.gt-lg","fxHide","fxHide.print","fxHide.xs","fxHide.sm","fxHide.md","fxHide.lg","fxHide.xl","fxHide.lt-sm","fxHide.lt-md","fxHide.lt-lg","fxHide.lt-xl","fxHide.gt-xs","fxHide.gt-sm","fxHide.gt-md","fxHide.gt-lg"];let Jt=(()=>{class Gt extends bt{constructor(){super(...arguments),this.inputs=wt}}return Gt.\u0275fac=function(){let Te;return function(jt){return(Te||(Te=u.n5z(Gt)))(jt||Gt)}}(),Gt.\u0275dir=u.lG2({type:Gt,selectors:[["","fxShow",""],["","fxShow.print",""],["","fxShow.xs",""],["","fxShow.sm",""],["","fxShow.md",""],["","fxShow.lg",""],["","fxShow.xl",""],["","fxShow.lt-sm",""],["","fxShow.lt-md",""],["","fxShow.lt-lg",""],["","fxShow.lt-xl",""],["","fxShow.gt-xs",""],["","fxShow.gt-sm",""],["","fxShow.gt-md",""],["","fxShow.gt-lg",""],["","fxHide",""],["","fxHide.print",""],["","fxHide.xs",""],["","fxHide.sm",""],["","fxHide.md",""],["","fxHide.lg",""],["","fxHide.xl",""],["","fxHide.lt-sm",""],["","fxHide.lt-md",""],["","fxHide.lt-lg",""],["","fxHide.lt-xl",""],["","fxHide.gt-xs",""],["","fxHide.gt-sm",""],["","fxHide.gt-md",""],["","fxHide.gt-lg",""]],inputs:{fxShow:"fxShow","fxShow.print":"fxShow.print","fxShow.xs":"fxShow.xs","fxShow.sm":"fxShow.sm","fxShow.md":"fxShow.md","fxShow.lg":"fxShow.lg","fxShow.xl":"fxShow.xl","fxShow.lt-sm":"fxShow.lt-sm","fxShow.lt-md":"fxShow.lt-md","fxShow.lt-lg":"fxShow.lt-lg","fxShow.lt-xl":"fxShow.lt-xl","fxShow.gt-xs":"fxShow.gt-xs","fxShow.gt-sm":"fxShow.gt-sm","fxShow.gt-md":"fxShow.gt-md","fxShow.gt-lg":"fxShow.gt-lg",fxHide:"fxHide","fxHide.print":"fxHide.print","fxHide.xs":"fxHide.xs","fxHide.sm":"fxHide.sm","fxHide.md":"fxHide.md","fxHide.lg":"fxHide.lg","fxHide.xl":"fxHide.xl","fxHide.lt-sm":"fxHide.lt-sm","fxHide.lt-md":"fxHide.lt-md","fxHide.lt-lg":"fxHide.lt-lg","fxHide.lt-xl":"fxHide.lt-xl","fxHide.gt-xs":"fxHide.gt-xs","fxHide.gt-sm":"fxHide.gt-sm","fxHide.gt-md":"fxHide.gt-md","fxHide.gt-lg":"fxHide.gt-lg"},features:[u.qOj]}),Gt})();class yt{constructor(Te,ne,jt=!0){this.key=Te,this.value=ne,this.key=jt?Te.replace(/['"]/g,"").trim():Te.trim(),this.value=jt?ne.replace(/['"]/g,"").trim():ne.trim(),this.value=this.value.replace(/;/,"")}}function At(Gt){let Te=typeof Gt;return"object"===Te?Gt.constructor===Array?"array":Gt.constructor===Set?"set":"object":Te}function Bt(Gt){const[Te,...ne]=Gt.split(":");return new yt(Te,ne.join(":"))}function St(Gt,Te){return Te.key&&(Gt[Te.key]=Te.value),Gt}let ce=(()=>{class Gt extends p.iR{constructor(ne,jt,re,Xt,oe,Me,en,_n,xe){super(ne,null,jt,re),this.sanitizer=Xt,this.ngStyleInstance=en,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new x.PC(ne,oe,Me)),this.init();const vn=this.nativeElement.getAttribute("style")??"";this.fallbackStyles=this.buildStyleMap(vn),this.isServer=_n&&(0,x.PM)(xe)}updateWithValue(ne){const jt=this.buildStyleMap(ne);this.ngStyleInstance.ngStyle={...this.fallbackStyles,...jt},this.isServer&&this.applyStyleToElement(jt),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(ne){const jt=re=>this.sanitizer.sanitize(u.q3G.STYLE,re)??"";if(ne)switch(At(ne)){case"string":return Le(function xt(Gt,Te=";"){return String(Gt).trim().split(Te).map(ne=>ne.trim()).filter(ne=>""!==ne)}(ne),jt);case"array":return Le(ne,jt);default:return function Ot(Gt,Te){let ne=[];return"set"===At(Gt)?Gt.forEach(jt=>ne.push(jt)):Object.keys(Gt).forEach(jt=>{ne.push(`${jt}:${Gt[jt]}`)}),function pt(Gt,Te){return Gt.map(Bt).filter(jt=>!!jt).map(jt=>(Te&&(jt.value=Te(jt.value)),jt)).reduce(St,{})}(ne,Te)}(ne,jt)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return Gt.\u0275fac=function(ne){return new(ne||Gt)(u.Y36(u.SBq),u.Y36(p.RK),u.Y36(p.yB),u.Y36(T.H7),u.Y36(u.aQg),u.Y36(u.Qsj),u.Y36(x.PC,10),u.Y36(p.wY),u.Y36(u.Lbi))},Gt.\u0275dir=u.lG2({type:Gt,features:[u.qOj]}),Gt})();const Vt=["ngStyle","ngStyle.xs","ngStyle.sm","ngStyle.md","ngStyle.lg","ngStyle.xl","ngStyle.lt-sm","ngStyle.lt-md","ngStyle.lt-lg","ngStyle.lt-xl","ngStyle.gt-xs","ngStyle.gt-sm","ngStyle.gt-md","ngStyle.gt-lg"];let fe=(()=>{class Gt extends ce{constructor(){super(...arguments),this.inputs=Vt}}return Gt.\u0275fac=function(){let Te;return function(jt){return(Te||(Te=u.n5z(Gt)))(jt||Gt)}}(),Gt.\u0275dir=u.lG2({type:Gt,selectors:[["","ngStyle",""],["","ngStyle.xs",""],["","ngStyle.sm",""],["","ngStyle.md",""],["","ngStyle.lg",""],["","ngStyle.xl",""],["","ngStyle.lt-sm",""],["","ngStyle.lt-md",""],["","ngStyle.lt-lg",""],["","ngStyle.lt-xl",""],["","ngStyle.gt-xs",""],["","ngStyle.gt-sm",""],["","ngStyle.gt-md",""],["","ngStyle.gt-lg",""]],inputs:{ngStyle:"ngStyle","ngStyle.xs":"ngStyle.xs","ngStyle.sm":"ngStyle.sm","ngStyle.md":"ngStyle.md","ngStyle.lg":"ngStyle.lg","ngStyle.xl":"ngStyle.xl","ngStyle.lt-sm":"ngStyle.lt-sm","ngStyle.lt-md":"ngStyle.lt-md","ngStyle.lt-lg":"ngStyle.lt-lg","ngStyle.lt-xl":"ngStyle.lt-xl","ngStyle.gt-xs":"ngStyle.gt-xs","ngStyle.gt-sm":"ngStyle.gt-sm","ngStyle.gt-md":"ngStyle.gt-md","ngStyle.gt-lg":"ngStyle.gt-lg"},features:[u.qOj]}),Gt})();function Le(Gt,Te){return Gt.map(Bt).filter(jt=>!!jt).map(jt=>(Te&&(jt.value=Te(jt.value)),jt)).reduce(St,{})}let Ge=(()=>{class Gt{}return Gt.\u0275fac=function(ne){return new(ne||Gt)},Gt.\u0275mod=u.oAB({type:Gt}),Gt.\u0275inj=u.cJS({imports:[p.IR]}),Gt})()},1576:(X,j,h)=>{"use strict";h.d(j,{SQ:()=>bt,Wh:()=>mi,XD:()=>it,ae:()=>Xe,s9:()=>Rt,xw:()=>L,yH:()=>ve});var u=h(94650),p=h(40445),x=h(32233),v=h(85863),t=h(8929),T=h(7625);let U=(()=>{class se extends x.QI{buildStyles(ie,{display:rn}){const fn=(0,v.Ar)(ie);return{...fn,display:"none"===rn?rn:fn.display}}}return se.\u0275fac=function(){let ze;return function(rn){return(ze||(ze=u.n5z(se)))(rn||se)}}(),se.\u0275prov=u.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})();const w=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let O=(()=>{class se extends x.iR{constructor(ie,rn,fn,sn,ge){super(ie,fn,rn,sn),this._config=ge,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(ie){const fn=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=N.get(fn)??new Map,N.set(fn,this.styleCache),this.currentValue!==ie&&(this.addStyles(ie,{display:fn}),this.currentValue=ie)}}return se.\u0275fac=function(ie){return new(ie||se)(u.Y36(u.SBq),u.Y36(x.RK),u.Y36(U),u.Y36(x.yB),u.Y36(x.WU))},se.\u0275dir=u.lG2({type:se,features:[u.qOj]}),se})(),L=(()=>{class se extends O{constructor(){super(...arguments),this.inputs=w}}return se.\u0275fac=function(){let ze;return function(rn){return(ze||(ze=u.n5z(se)))(rn||se)}}(),se.\u0275dir=u.lG2({type:se,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[u.qOj]}),se})();const N=new Map,V={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null};let W=(()=>{class se extends x.QI{constructor(ie,rn){super(),this._styler=ie,this._config=rn}buildStyles(ie,rn){return ie.endsWith(yt)?(ie=ie.slice(0,ie.indexOf(yt)),function xt(se,ze){const[ie,rn]=se.split(" "),sn=zt=>`-${zt}`;let ge="0px",Nt=sn(rn??ie),Se="0px";return"rtl"===ze?Se=sn(ie):ge=sn(ie),{margin:`0px ${ge} ${Nt} ${Se}`}}(ie=(0,x.FL)(ie,this._config.multiplier),rn.directionality)):{}}sideEffect(ie,rn,fn){const sn=fn.items;if(ie.endsWith(yt)){ie=ie.slice(0,ie.indexOf(yt));const ge=function At(se,ze){const[ie,rn]=se.split(" ");let sn="0px",Nt="0px";return"rtl"===ze?Nt=ie:sn=ie,{padding:`0px ${sn} ${rn??ie} ${Nt}`}}(ie=(0,x.FL)(ie,this._config.multiplier),fn.directionality);this._styler.applyStyleToElements(ge,fn.items)}else{ie=(0,x.FL)(ie,this._config.multiplier),ie=this.addFallbackUnit(ie);const ge=sn.pop(),Nt=function Ot(se,ze){const ie=pt(ze.directionality,ze.layout),rn={...V};return rn[ie]=se,rn}(ie,fn);this._styler.applyStyleToElements(Nt,sn),this._styler.applyStyleToElements(V,[ge])}}addFallbackUnit(ie){return isNaN(+ie)?ie:`${ie}${this._config.defaultUnit}`}}return se.\u0275fac=function(ie){return new(ie||se)(u.LFG(x.RK),u.LFG(x.WU))},se.\u0275prov=u.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})();const tt=["fxLayoutGap","fxLayoutGap.xs","fxLayoutGap.sm","fxLayoutGap.md","fxLayoutGap.lg","fxLayoutGap.xl","fxLayoutGap.lt-sm","fxLayoutGap.lt-md","fxLayoutGap.lt-lg","fxLayoutGap.lt-xl","fxLayoutGap.gt-xs","fxLayoutGap.gt-sm","fxLayoutGap.gt-md","fxLayoutGap.gt-lg"];let ct=(()=>{class se extends x.iR{constructor(ie,rn,fn,sn,ge,Nt){super(ie,ge,sn,Nt),this.zone=rn,this.directionality=fn,this.styleUtils=sn,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.observerSubject=new t.xQ;const Se=[this.directionality.change,this.observerSubject.asObservable()];this.init(Se),this.marshal.trackValue(this.nativeElement,"layout").pipe((0,T.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}get childrenNodes(){const ie=this.nativeElement.children,rn=[];for(let fn=ie.length;fn--;)rn[fn]=ie[fn];return rn}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(ie){const fn=ie.value.split(" ");this.layout=fn[0],v.iQ.find(sn=>sn===this.layout)||(this.layout="row"),this.triggerUpdate()}updateWithValue(ie){const rn=this.childrenNodes.filter(fn=>1===fn.nodeType&&this.willDisplay(fn)).sort((fn,sn)=>{const ge=+this.styler.lookupStyle(fn,"order"),Nt=+this.styler.lookupStyle(sn,"order");return isNaN(ge)||isNaN(Nt)||ge===Nt?0:ge>Nt?1:-1});if(rn.length>0){const fn=this.directionality.value,sn=this.layout;"row"===sn&&"rtl"===fn?this.styleCache=Dt:"row"===sn&&"rtl"!==fn?this.styleCache=qt:"column"===sn&&"rtl"===fn?this.styleCache=wt:"column"===sn&&"rtl"!==fn&&(this.styleCache=Jt),this.addStyles(ie,{directionality:fn,items:rn,layout:sn})}}clearStyles(){const ie=Object.keys(this.mru).length>0,rn=ie?"padding":pt(this.directionality.value,this.layout);ie&&super.clearStyles(),this.styleUtils.applyStyleToElements({[rn]:""},this.childrenNodes)}willDisplay(ie){const rn=this.marshal.getValue(ie,"show-hide");return!0===rn||void 0===rn&&"none"!==this.styleUtils.lookupStyle(ie,"display")}buildChildObservable(){this.zone.runOutsideAngular(()=>{typeof MutationObserver<"u"&&(this.observer=new MutationObserver(ie=>{ie.some(fn=>fn.addedNodes&&fn.addedNodes.length>0||fn.removedNodes&&fn.removedNodes.length>0)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}}return se.\u0275fac=function(ie){return new(ie||se)(u.Y36(u.SBq),u.Y36(u.R0b),u.Y36(p.Is),u.Y36(x.RK),u.Y36(W),u.Y36(x.yB))},se.\u0275dir=u.lG2({type:se,features:[u.qOj]}),se})(),bt=(()=>{class se extends ct{constructor(){super(...arguments),this.inputs=tt}}return se.\u0275fac=function(){let ze;return function(rn){return(ze||(ze=u.n5z(se)))(rn||se)}}(),se.\u0275dir=u.lG2({type:se,selectors:[["","fxLayoutGap",""],["","fxLayoutGap.xs",""],["","fxLayoutGap.sm",""],["","fxLayoutGap.md",""],["","fxLayoutGap.lg",""],["","fxLayoutGap.xl",""],["","fxLayoutGap.lt-sm",""],["","fxLayoutGap.lt-md",""],["","fxLayoutGap.lt-lg",""],["","fxLayoutGap.lt-xl",""],["","fxLayoutGap.gt-xs",""],["","fxLayoutGap.gt-sm",""],["","fxLayoutGap.gt-md",""],["","fxLayoutGap.gt-lg",""]],inputs:{fxLayoutGap:"fxLayoutGap","fxLayoutGap.xs":"fxLayoutGap.xs","fxLayoutGap.sm":"fxLayoutGap.sm","fxLayoutGap.md":"fxLayoutGap.md","fxLayoutGap.lg":"fxLayoutGap.lg","fxLayoutGap.xl":"fxLayoutGap.xl","fxLayoutGap.lt-sm":"fxLayoutGap.lt-sm","fxLayoutGap.lt-md":"fxLayoutGap.lt-md","fxLayoutGap.lt-lg":"fxLayoutGap.lt-lg","fxLayoutGap.lt-xl":"fxLayoutGap.lt-xl","fxLayoutGap.gt-xs":"fxLayoutGap.gt-xs","fxLayoutGap.gt-sm":"fxLayoutGap.gt-sm","fxLayoutGap.gt-md":"fxLayoutGap.gt-md","fxLayoutGap.gt-lg":"fxLayoutGap.gt-lg"},features:[u.qOj]}),se})();const Dt=new Map,wt=new Map,qt=new Map,Jt=new Map,yt=" grid";function pt(se,ze){switch(ze){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":default:return"rtl"===se?"margin-left":"margin-right";case"row-reverse":return"rtl"===se?"margin-right":"margin-left"}}let Bt=(()=>{class se extends x.QI{constructor(ie){super(),this.layoutConfig=ie}buildStyles(ie,rn){let[fn,sn,...ge]=ie.split(" "),Nt=ge.join(" ");const Se=rn.direction.indexOf("column")>-1?"column":"row",zt=(0,v.tj)(Se)?"max-width":"max-height",Ae=(0,v.tj)(Se)?"min-width":"min-height",Ie=String(Nt).indexOf("calc")>-1,Sn=Ie||"auto"===Nt,Ei=String(Nt).indexOf("%")>-1&&!Ie,Vi=String(Nt).indexOf("px")>-1||String(Nt).indexOf("rem")>-1||String(Nt).indexOf("em")>-1||String(Nt).indexOf("vw")>-1||String(Nt).indexOf("vh")>-1;let cn=Ie||Vi;fn="0"==fn?0:fn,sn="0"==sn?0:sn;const pn=!fn&&!sn;let We={};const ai={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(Nt||""){case"":const bi=!1!==this.layoutConfig.useColumnBasisZero;Nt="row"===Se?"0%":bi?"0.000000001px":"auto";break;case"initial":case"nogrow":fn=0,Nt="auto";break;case"grow":Nt="100%";break;case"noshrink":sn=0,Nt="auto";break;case"auto":break;case"none":fn=0,sn=0,Nt="auto";break;default:!cn&&!Ei&&!isNaN(Nt)&&(Nt+="%"),"0%"===Nt&&(cn=!0),"0px"===Nt&&(Nt="0%"),We=(0,v.kt)(ai,Ie?{"flex-grow":fn,"flex-shrink":sn,"flex-basis":cn?Nt:"100%"}:{flex:`${fn} ${sn} ${cn?Nt:"100%"}`})}return We.flex||We["flex-grow"]||(We=(0,v.kt)(ai,Ie?{"flex-grow":fn,"flex-shrink":sn,"flex-basis":Nt}:{flex:`${fn} ${sn} ${Nt}`})),"0%"!==Nt&&"0px"!==Nt&&"0.000000001px"!==Nt&&"auto"!==Nt&&(We[Ae]=pn||cn&&fn?Nt:null,We[zt]=pn||!Sn&&sn?Nt:null),We[Ae]||We[zt]?rn.hasWrap&&(We[Ie?"flex-basis":"flex"]=We[zt]?Ie?We[zt]:`${fn} ${sn} ${We[zt]}`:Ie?We[Ae]:`${fn} ${sn} ${We[Ae]}`):We=(0,v.kt)(ai,Ie?{"flex-grow":fn,"flex-shrink":sn,"flex-basis":Nt}:{flex:`${fn} ${sn} ${Nt}`}),(0,v.kt)(We,{"box-sizing":"border-box"})}}return se.\u0275fac=function(ie){return new(ie||se)(u.LFG(x.WU))},se.\u0275prov=u.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})();const St=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];let Vt=(()=>{class se extends x.iR{constructor(ie,rn,fn,sn,ge){super(ie,sn,rn,ge),this.layoutConfig=fn,this.marshal=ge,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}get shrink(){return this.flexShrink}set shrink(ie){this.flexShrink=ie||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(ie){this.flexGrow=ie||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe((0,T.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe((0,T.R)(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(ie){const fn=ie.value.split(" ");this.direction=fn[0],this.wrap=void 0!==fn[1]&&"wrap"===fn[1],this.triggerUpdate()}updateWithValue(ie){void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));const fn=this.direction,sn=fn.startsWith("row"),ge=this.wrap;sn&&ge?this.styleCache=Fe:sn&&!ge?this.styleCache=fe:!sn&&ge?this.styleCache=Ge:!sn&&!ge&&(this.styleCache=Le);const Nt=String(ie).replace(";",""),Se=(0,x.Ot)(Nt,this.flexGrow,this.flexShrink);this.addStyles(Se.join(" "),{direction:fn,hasWrap:ge})}triggerReflow(){const ie=this.activatedValue;if(void 0!==ie){const rn=(0,x.Ot)(ie+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,rn.join(" "))}}}return se.\u0275fac=function(ie){return new(ie||se)(u.Y36(u.SBq),u.Y36(x.RK),u.Y36(x.WU),u.Y36(Bt),u.Y36(x.yB))},se.\u0275dir=u.lG2({type:se,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[u.qOj]}),se})(),ve=(()=>{class se extends Vt{constructor(){super(...arguments),this.inputs=St}}return se.\u0275fac=function(){let ze;return function(rn){return(ze||(ze=u.n5z(se)))(rn||se)}}(),se.\u0275dir=u.lG2({type:se,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[u.qOj]}),se})();const fe=new Map,Le=new Map,Fe=new Map,Ge=new Map;let ii=(()=>{class se extends x.QI{buildStyles(ie){const rn={};switch(ie=ie||"stretch"){case"start":rn["align-self"]="flex-start";break;case"end":rn["align-self"]="flex-end";break;default:rn["align-self"]=ie}return rn}}return se.\u0275fac=function(){let ze;return function(rn){return(ze||(ze=u.n5z(se)))(rn||se)}}(),se.\u0275prov=u.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})();const _i=["fxFlexAlign","fxFlexAlign.xs","fxFlexAlign.sm","fxFlexAlign.md","fxFlexAlign.lg","fxFlexAlign.xl","fxFlexAlign.lt-sm","fxFlexAlign.lt-md","fxFlexAlign.lt-lg","fxFlexAlign.lt-xl","fxFlexAlign.gt-xs","fxFlexAlign.gt-sm","fxFlexAlign.gt-md","fxFlexAlign.gt-lg"];let Qe=(()=>{class se extends x.iR{constructor(ie,rn,fn,sn){super(ie,fn,rn,sn),this.DIRECTIVE_KEY="flex-align",this.styleCache=te,this.init()}}return se.\u0275fac=function(ie){return new(ie||se)(u.Y36(u.SBq),u.Y36(x.RK),u.Y36(ii),u.Y36(x.yB))},se.\u0275dir=u.lG2({type:se,features:[u.qOj]}),se})();const te=new Map;let it=(()=>{class se extends Qe{constructor(){super(...arguments),this.inputs=_i}}return se.\u0275fac=function(){let ze;return function(rn){return(ze||(ze=u.n5z(se)))(rn||se)}}(),se.\u0275dir=u.lG2({type:se,selectors:[["","fxFlexAlign",""],["","fxFlexAlign.xs",""],["","fxFlexAlign.sm",""],["","fxFlexAlign.md",""],["","fxFlexAlign.lg",""],["","fxFlexAlign.xl",""],["","fxFlexAlign.lt-sm",""],["","fxFlexAlign.lt-md",""],["","fxFlexAlign.lt-lg",""],["","fxFlexAlign.lt-xl",""],["","fxFlexAlign.gt-xs",""],["","fxFlexAlign.gt-sm",""],["","fxFlexAlign.gt-md",""],["","fxFlexAlign.gt-lg",""]],inputs:{fxFlexAlign:"fxFlexAlign","fxFlexAlign.xs":"fxFlexAlign.xs","fxFlexAlign.sm":"fxFlexAlign.sm","fxFlexAlign.md":"fxFlexAlign.md","fxFlexAlign.lg":"fxFlexAlign.lg","fxFlexAlign.xl":"fxFlexAlign.xl","fxFlexAlign.lt-sm":"fxFlexAlign.lt-sm","fxFlexAlign.lt-md":"fxFlexAlign.lt-md","fxFlexAlign.lt-lg":"fxFlexAlign.lt-lg","fxFlexAlign.lt-xl":"fxFlexAlign.lt-xl","fxFlexAlign.gt-xs":"fxFlexAlign.gt-xs","fxFlexAlign.gt-sm":"fxFlexAlign.gt-sm","fxFlexAlign.gt-md":"fxFlexAlign.gt-md","fxFlexAlign.gt-lg":"fxFlexAlign.gt-lg"},features:[u.qOj]}),se})();const K={margin:0,width:"100%",height:"100%","min-width":"100%","min-height":"100%"};let Tt=(()=>{class se extends x.QI{buildStyles(ie){return K}}return se.\u0275fac=function(){let ze;return function(rn){return(ze||(ze=u.n5z(se)))(rn||se)}}(),se.\u0275prov=u.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})(),Rt=(()=>{class se extends x.iR{constructor(ie,rn,fn,sn){super(ie,fn,rn,sn),this.styleCache=le,this.addStyles("")}}return se.\u0275fac=function(ie){return new(ie||se)(u.Y36(u.SBq),u.Y36(x.RK),u.Y36(Tt),u.Y36(x.yB))},se.\u0275dir=u.lG2({type:se,selectors:[["","fxFill",""],["","fxFlexFill",""]],features:[u.qOj]}),se})();const le=new Map;let be=(()=>{class se extends x.QI{buildStyles(ie,rn){const fn={},[sn,ge]=ie.split(" ");switch(sn){case"center":fn["justify-content"]="center";break;case"space-around":fn["justify-content"]="space-around";break;case"space-between":fn["justify-content"]="space-between";break;case"space-evenly":fn["justify-content"]="space-evenly";break;case"end":case"flex-end":fn["justify-content"]="flex-end";break;default:fn["justify-content"]="flex-start"}switch(ge){case"start":case"flex-start":fn["align-items"]=fn["align-content"]="flex-start";break;case"center":fn["align-items"]=fn["align-content"]="center";break;case"end":case"flex-end":fn["align-items"]=fn["align-content"]="flex-end";break;case"space-between":fn["align-content"]="space-between",fn["align-items"]="stretch";break;case"space-around":fn["align-content"]="space-around",fn["align-items"]="stretch";break;case"baseline":fn["align-content"]="stretch",fn["align-items"]="baseline";break;default:fn["align-items"]=fn["align-content"]="stretch"}return(0,v.kt)(fn,{display:rn.inline?"inline-flex":"flex","flex-direction":rn.layout,"box-sizing":"border-box","max-width":"stretch"===ge?(0,v.tj)(rn.layout)?null:"100%":null,"max-height":"stretch"===ge&&(0,v.tj)(rn.layout)?"100%":null})}}return se.\u0275fac=function(){let ze;return function(rn){return(ze||(ze=u.n5z(se)))(rn||se)}}(),se.\u0275prov=u.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})();const De=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];let qn=(()=>{class se extends x.iR{constructor(ie,rn,fn,sn){super(ie,fn,rn,sn),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe((0,T.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(ie){const rn=this.layout||"row",fn=this.inline;"row"===rn&&fn?this.styleCache=Vn:"row"!==rn||fn?"row-reverse"===rn&&fn?this.styleCache=gn:"row-reverse"!==rn||fn?"column"===rn&&fn?this.styleCache=Je:"column"!==rn||fn?"column-reverse"===rn&&fn?this.styleCache=Ye:"column-reverse"===rn&&!fn&&(this.styleCache=Yn):this.styleCache=bo:this.styleCache=hi:this.styleCache=Di,this.addStyles(ie,{layout:rn,inline:fn})}onLayoutChange(ie){const rn=ie.value.split(" ");this.layout=rn[0],this.inline=ie.value.includes("inline"),v.iQ.find(fn=>fn===this.layout)||(this.layout="row"),this.triggerUpdate()}}return se.\u0275fac=function(ie){return new(ie||se)(u.Y36(u.SBq),u.Y36(x.RK),u.Y36(be),u.Y36(x.yB))},se.\u0275dir=u.lG2({type:se,features:[u.qOj]}),se})(),mi=(()=>{class se extends qn{constructor(){super(...arguments),this.inputs=De}}return se.\u0275fac=function(){let ze;return function(rn){return(ze||(ze=u.n5z(se)))(rn||se)}}(),se.\u0275dir=u.lG2({type:se,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[u.qOj]}),se})();const Di=new Map,bo=new Map,hi=new Map,Yn=new Map,Vn=new Map,Je=new Map,gn=new Map,Ye=new Map;let Xe=(()=>{class se{}return se.\u0275fac=function(ie){return new(ie||se)},se.\u0275mod=u.oAB({type:se}),se.\u0275inj=u.cJS({imports:[x.IR,p.vT]}),se})()},24006:(X,j,h)=>{"use strict";h.d(j,{CE:()=>Ys,Cf:()=>bt,F:()=>pr,Fd:()=>Va,Fj:()=>W,JJ:()=>oi,JL:()=>Qe,JU:()=>w,NI:()=>Er,On:()=>ps,Q7:()=>zs,QS:()=>Kr,UX:()=>ul,Zs:()=>ms,_Y:()=>Hs,a5:()=>un,kI:()=>qt,nD:()=>tc,nJ:()=>Ae,oH:()=>Ks,p4:()=>cc,qQ:()=>vr,qu:()=>da,sg:()=>td,u:()=>Dl,u5:()=>Lc,wV:()=>Fr,x0:()=>Es});var u=h(94650),p=h(36895),x=h(5254),v=h(30567),t=h(24850);let T=(()=>{class ae{constructor(Ft,et){this._renderer=Ft,this._elementRef=et,this.onChange=Mi=>{},this.onTouched=()=>{}}setProperty(Ft,et){this._renderer.setProperty(this._elementRef.nativeElement,Ft,et)}registerOnTouched(Ft){this.onTouched=Ft}registerOnChange(Ft){this.onChange=Ft}setDisabledState(Ft){this.setProperty("disabled",Ft)}}return ae.\u0275fac=function(Ft){return new(Ft||ae)(u.Y36(u.Qsj),u.Y36(u.SBq))},ae.\u0275dir=u.lG2({type:ae}),ae})(),U=(()=>{class ae extends T{}return ae.\u0275fac=function(){let $t;return function(et){return($t||($t=u.n5z(ae)))(et||ae)}}(),ae.\u0275dir=u.lG2({type:ae,features:[u.qOj]}),ae})();const w=new u.OlP("NgValueAccessor"),L={provide:w,useExisting:(0,u.Gpc)(()=>W),multi:!0},V=new u.OlP("CompositionEventMode");let W=(()=>{class ae extends T{constructor(Ft,et,Mi){super(Ft,et),this._compositionMode=Mi,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function N(){const ae=(0,p.q)()?(0,p.q)().getUserAgent():"";return/android (\d+)/.test(ae.toLowerCase())}())}writeValue(Ft){this.setProperty("value",Ft??"")}_handleInput(Ft){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(Ft)}_compositionStart(){this._composing=!0}_compositionEnd(Ft){this._composing=!1,this._compositionMode&&this.onChange(Ft)}}return ae.\u0275fac=function(Ft){return new(Ft||ae)(u.Y36(u.Qsj),u.Y36(u.SBq),u.Y36(V,8))},ae.\u0275dir=u.lG2({type:ae,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(Ft,et){1&Ft&&u.NdJ("input",function(Qo){return et._handleInput(Qo.target.value)})("blur",function(){return et.onTouched()})("compositionstart",function(){return et._compositionStart()})("compositionend",function(Qo){return et._compositionEnd(Qo.target.value)})},features:[u._Bn([L]),u.qOj]}),ae})();function st(ae){return null==ae||("string"==typeof ae||Array.isArray(ae))&&0===ae.length}function ct(ae){return null!=ae&&"number"==typeof ae.length}const bt=new u.OlP("NgValidators"),Dt=new u.OlP("NgAsyncValidators"),wt=/^(?=.{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 qt{static min($t){return Jt($t)}static max($t){return yt($t)}static required($t){return At($t)}static requiredTrue($t){return xt($t)}static email($t){return function pt(ae){return st(ae.value)||wt.test(ae.value)?null:{email:!0}}($t)}static minLength($t){return function Ot(ae){return $t=>st($t.value)||!ct($t.value)?null:$t.value.length {if(st(et.value))return null;const Mi=et.value;return $t.test(Mi)?null:{pattern:{requiredPattern:Ft,actualValue:Mi}}}}($t)}static nullValidator($t){return null}static compose($t){return Gt($t)}static composeAsync($t){return ne($t)}}function Jt(ae){return $t=>{if(st($t.value)||st(ae))return null;const Ft=parseFloat($t.value);return!isNaN(Ft)&&Ft {if(st($t.value)||st(ae))return null;const Ft=parseFloat($t.value);return!isNaN(Ft)&&Ft>ae?{max:{max:ae,actual:$t.value}}:null}}function At(ae){return st(ae.value)?{required:!0}:null}function xt(ae){return!0===ae.value?null:{required:!0}}function Bt(ae){return $t=>ct($t.value)&&$t.value.length>ae?{maxlength:{requiredLength:ae,actualLength:$t.value.length}}:null}function ce(ae){return null}function Vt(ae){return null!=ae}function ve(ae){return(0,u.QGY)(ae)?(0,x.D)(ae):ae}function fe(ae){let $t={};return ae.forEach(Ft=>{$t=null!=Ft?{...$t,...Ft}:$t}),0===Object.keys($t).length?null:$t}function Le(ae,$t){return $t.map(Ft=>Ft(ae))}function Ge(ae){return ae.map($t=>function Fe(ae){return!ae.validate}($t)?$t:Ft=>$t.validate(Ft))}function Gt(ae){if(!ae)return null;const $t=ae.filter(Vt);return 0==$t.length?null:function(Ft){return fe(Le(Ft,$t))}}function Te(ae){return null!=ae?Gt(Ge(ae)):null}function ne(ae){if(!ae)return null;const $t=ae.filter(Vt);return 0==$t.length?null:function(Ft){const et=Le(Ft,$t).map(ve);return(0,v.D)(et).pipe((0,t.U)(fe))}}function jt(ae){return null!=ae?ne(Ge(ae)):null}function re(ae,$t){return null===ae?[$t]:Array.isArray(ae)?[...ae,$t]:[ae,$t]}function Xt(ae){return ae._rawValidators}function oe(ae){return ae._rawAsyncValidators}function Me(ae){return ae?Array.isArray(ae)?ae:[ae]:[]}function en(ae,$t){return Array.isArray(ae)?ae.includes($t):ae===$t}function _n(ae,$t){const Ft=Me($t);return Me(ae).forEach(Mi=>{en(Ft,Mi)||Ft.push(Mi)}),Ft}function xe(ae,$t){return Me($t).filter(Ft=>!en(ae,Ft))}class vn{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($t){this._rawValidators=$t||[],this._composedValidatorFn=Te(this._rawValidators)}_setAsyncValidators($t){this._rawAsyncValidators=$t||[],this._composedAsyncValidatorFn=jt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy($t){this._onDestroyCallbacks.push($t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach($t=>$t()),this._onDestroyCallbacks=[]}reset($t){this.control&&this.control.reset($t)}hasError($t,Ft){return!!this.control&&this.control.hasError($t,Ft)}getError($t,Ft){return this.control?this.control.getError($t,Ft):null}}class ke extends vn{get formDirective(){return null}get path(){return null}}class un extends vn{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Dn{constructor($t){this._cd=$t}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 oi=(()=>{class ae extends Dn{constructor(Ft){super(Ft)}}return ae.\u0275fac=function(Ft){return new(Ft||ae)(u.Y36(un,2))},ae.\u0275dir=u.lG2({type:ae,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Ft,et){2&Ft&&u.ekj("ng-untouched",et.isUntouched)("ng-touched",et.isTouched)("ng-pristine",et.isPristine)("ng-dirty",et.isDirty)("ng-valid",et.isValid)("ng-invalid",et.isInvalid)("ng-pending",et.isPending)},features:[u.qOj]}),ae})(),Qe=(()=>{class ae extends Dn{constructor(Ft){super(Ft)}}return ae.\u0275fac=function(Ft){return new(Ft||ae)(u.Y36(ke,10))},ae.\u0275dir=u.lG2({type:ae,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Ft,et){2&Ft&&u.ekj("ng-untouched",et.isUntouched)("ng-touched",et.isTouched)("ng-pristine",et.isPristine)("ng-dirty",et.isDirty)("ng-valid",et.isValid)("ng-invalid",et.isInvalid)("ng-pending",et.isPending)("ng-submitted",et.isSubmitted)},features:[u.qOj]}),ae})();const Ye="VALID",Ee="INVALID",Xe="PENDING",se="DISABLED";function ze(ae){return(sn(ae)?ae.validators:ae)||null}function ie(ae){return Array.isArray(ae)?Te(ae):ae||null}function rn(ae,$t){return(sn($t)?$t.asyncValidators:ae)||null}function fn(ae){return Array.isArray(ae)?jt(ae):ae||null}function sn(ae){return null!=ae&&!Array.isArray(ae)&&"object"==typeof ae}function ge(ae,$t,Ft){const et=ae.controls;if(!($t?Object.keys(et):et).length)throw new u.vHH(1e3,"");if(!et[Ft])throw new u.vHH(1001,"")}function Nt(ae,$t,Ft){ae._forEachChild((et,Mi)=>{if(void 0===Ft[Mi])throw new u.vHH(1002,"")})}class Se{constructor($t,Ft){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=$t,this._rawAsyncValidators=Ft,this._composedValidatorFn=ie(this._rawValidators),this._composedAsyncValidatorFn=fn(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator($t){this._rawValidators=this._composedValidatorFn=$t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator($t){this._rawAsyncValidators=this._composedAsyncValidatorFn=$t}get parent(){return this._parent}get valid(){return this.status===Ye}get invalid(){return this.status===Ee}get pending(){return this.status==Xe}get disabled(){return this.status===se}get enabled(){return this.status!==se}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators($t){this._rawValidators=$t,this._composedValidatorFn=ie($t)}setAsyncValidators($t){this._rawAsyncValidators=$t,this._composedAsyncValidatorFn=fn($t)}addValidators($t){this.setValidators(_n($t,this._rawValidators))}addAsyncValidators($t){this.setAsyncValidators(_n($t,this._rawAsyncValidators))}removeValidators($t){this.setValidators(xe($t,this._rawValidators))}removeAsyncValidators($t){this.setAsyncValidators(xe($t,this._rawAsyncValidators))}hasValidator($t){return en(this._rawValidators,$t)}hasAsyncValidator($t){return en(this._rawAsyncValidators,$t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched($t={}){this.touched=!0,this._parent&&!$t.onlySelf&&this._parent.markAsTouched($t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild($t=>$t.markAllAsTouched())}markAsUntouched($t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(Ft=>{Ft.markAsUntouched({onlySelf:!0})}),this._parent&&!$t.onlySelf&&this._parent._updateTouched($t)}markAsDirty($t={}){this.pristine=!1,this._parent&&!$t.onlySelf&&this._parent.markAsDirty($t)}markAsPristine($t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(Ft=>{Ft.markAsPristine({onlySelf:!0})}),this._parent&&!$t.onlySelf&&this._parent._updatePristine($t)}markAsPending($t={}){this.status=Xe,!1!==$t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!$t.onlySelf&&this._parent.markAsPending($t)}disable($t={}){const Ft=this._parentMarkedDirty($t.onlySelf);this.status=se,this.errors=null,this._forEachChild(et=>{et.disable({...$t,onlySelf:!0})}),this._updateValue(),!1!==$t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...$t,skipPristineCheck:Ft}),this._onDisabledChange.forEach(et=>et(!0))}enable($t={}){const Ft=this._parentMarkedDirty($t.onlySelf);this.status=Ye,this._forEachChild(et=>{et.enable({...$t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:$t.emitEvent}),this._updateAncestors({...$t,skipPristineCheck:Ft}),this._onDisabledChange.forEach(et=>et(!1))}_updateAncestors($t){this._parent&&!$t.onlySelf&&(this._parent.updateValueAndValidity($t),$t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent($t){this._parent=$t}getRawValue(){return this.value}updateValueAndValidity($t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ye||this.status===Xe)&&this._runAsyncValidator($t.emitEvent)),!1!==$t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!$t.onlySelf&&this._parent.updateValueAndValidity($t)}_updateTreeValidity($t={emitEvent:!0}){this._forEachChild(Ft=>Ft._updateTreeValidity($t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:$t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?se:Ye}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator($t){if(this.asyncValidator){this.status=Xe,this._hasOwnPendingAsyncValidator=!0;const Ft=ve(this.asyncValidator(this));this._asyncValidationSubscription=Ft.subscribe(et=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(et,{emitEvent:$t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors($t,Ft={}){this.errors=$t,this._updateControlsErrors(!1!==Ft.emitEvent)}get($t){let Ft=$t;return null==Ft||(Array.isArray(Ft)||(Ft=Ft.split(".")),0===Ft.length)?null:Ft.reduce((et,Mi)=>et&&et._find(Mi),this)}getError($t,Ft){const et=Ft?this.get(Ft):this;return et&&et.errors?et.errors[$t]:null}hasError($t,Ft){return!!this.getError($t,Ft)}get root(){let $t=this;for(;$t._parent;)$t=$t._parent;return $t}_updateControlsErrors($t){this.status=this._calculateStatus(),$t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors($t)}_initObservables(){this.valueChanges=new u.vpe,this.statusChanges=new u.vpe}_calculateStatus(){return this._allControlsDisabled()?se:this.errors?Ee:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Xe)?Xe:this._anyControlsHaveStatus(Ee)?Ee:Ye}_anyControlsHaveStatus($t){return this._anyControls(Ft=>Ft.status===$t)}_anyControlsDirty(){return this._anyControls($t=>$t.dirty)}_anyControlsTouched(){return this._anyControls($t=>$t.touched)}_updatePristine($t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!$t.onlySelf&&this._parent._updatePristine($t)}_updateTouched($t={}){this.touched=this._anyControlsTouched(),this._parent&&!$t.onlySelf&&this._parent._updateTouched($t)}_registerOnCollectionChange($t){this._onCollectionChange=$t}_setUpdateStrategy($t){sn($t)&&null!=$t.updateOn&&(this._updateOn=$t.updateOn)}_parentMarkedDirty($t){return!$t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find($t){return null}}class zt extends Se{constructor($t,Ft,et){super(ze(Ft),rn(et,Ft)),this.controls=$t,this._initObservables(),this._setUpdateStrategy(Ft),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl($t,Ft){return this.controls[$t]?this.controls[$t]:(this.controls[$t]=Ft,Ft.setParent(this),Ft._registerOnCollectionChange(this._onCollectionChange),Ft)}addControl($t,Ft,et={}){this.registerControl($t,Ft),this.updateValueAndValidity({emitEvent:et.emitEvent}),this._onCollectionChange()}removeControl($t,Ft={}){this.controls[$t]&&this.controls[$t]._registerOnCollectionChange(()=>{}),delete this.controls[$t],this.updateValueAndValidity({emitEvent:Ft.emitEvent}),this._onCollectionChange()}setControl($t,Ft,et={}){this.controls[$t]&&this.controls[$t]._registerOnCollectionChange(()=>{}),delete this.controls[$t],Ft&&this.registerControl($t,Ft),this.updateValueAndValidity({emitEvent:et.emitEvent}),this._onCollectionChange()}contains($t){return this.controls.hasOwnProperty($t)&&this.controls[$t].enabled}setValue($t,Ft={}){Nt(this,0,$t),Object.keys($t).forEach(et=>{ge(this,!0,et),this.controls[et].setValue($t[et],{onlySelf:!0,emitEvent:Ft.emitEvent})}),this.updateValueAndValidity(Ft)}patchValue($t,Ft={}){null!=$t&&(Object.keys($t).forEach(et=>{const Mi=this.controls[et];Mi&&Mi.patchValue($t[et],{onlySelf:!0,emitEvent:Ft.emitEvent})}),this.updateValueAndValidity(Ft))}reset($t={},Ft={}){this._forEachChild((et,Mi)=>{et.reset($t[Mi],{onlySelf:!0,emitEvent:Ft.emitEvent})}),this._updatePristine(Ft),this._updateTouched(Ft),this.updateValueAndValidity(Ft)}getRawValue(){return this._reduceChildren({},($t,Ft,et)=>($t[et]=Ft.getRawValue(),$t))}_syncPendingControls(){let $t=this._reduceChildren(!1,(Ft,et)=>!!et._syncPendingControls()||Ft);return $t&&this.updateValueAndValidity({onlySelf:!0}),$t}_forEachChild($t){Object.keys(this.controls).forEach(Ft=>{const et=this.controls[Ft];et&&$t(et,Ft)})}_setUpControls(){this._forEachChild($t=>{$t.setParent(this),$t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls($t){for(const[Ft,et]of Object.entries(this.controls))if(this.contains(Ft)&&$t(et))return!0;return!1}_reduceValue(){return this._reduceChildren({},(Ft,et,Mi)=>((et.enabled||this.disabled)&&(Ft[Mi]=et.value),Ft))}_reduceChildren($t,Ft){let et=$t;return this._forEachChild((Mi,Qo)=>{et=Ft(et,Mi,Qo)}),et}_allControlsDisabled(){for(const $t of Object.keys(this.controls))if(this.controls[$t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find($t){return this.controls.hasOwnProperty($t)?this.controls[$t]:null}}const Ae=zt;class Sn extends zt{}function Vi(ae,$t){return[...$t.path,ae]}function cn(ae,$t){bi(ae,$t),$t.valueAccessor.writeValue(ae.value),ae.disabled&&$t.valueAccessor.setDisabledState?.(!0),function To(ae,$t){$t.valueAccessor.registerOnChange(Ft=>{ae._pendingValue=Ft,ae._pendingChange=!0,ae._pendingDirty=!0,"change"===ae.updateOn&&ha(ae,$t)})}(ae,$t),function Aa(ae,$t){const Ft=(et,Mi)=>{$t.valueAccessor.writeValue(et),Mi&&$t.viewToModelUpdate(et)};ae.registerOnChange(Ft),$t._registerOnDestroy(()=>{ae._unregisterOnChange(Ft)})}(ae,$t),function Lo(ae,$t){$t.valueAccessor.registerOnTouched(()=>{ae._pendingTouched=!0,"blur"===ae.updateOn&&ae._pendingChange&&ha(ae,$t),"submit"!==ae.updateOn&&ae.markAsTouched()})}(ae,$t),function ai(ae,$t){if($t.valueAccessor.setDisabledState){const Ft=et=>{$t.valueAccessor.setDisabledState(et)};ae.registerOnDisabledChange(Ft),$t._registerOnDestroy(()=>{ae._unregisterOnDisabledChange(Ft)})}}(ae,$t)}function pn(ae,$t,Ft=!0){const et=()=>{};$t.valueAccessor&&($t.valueAccessor.registerOnChange(et),$t.valueAccessor.registerOnTouched(et)),so(ae,$t),ae&&($t._invokeOnDestroyCallbacks(),ae._registerOnCollectionChange(()=>{}))}function We(ae,$t){ae.forEach(Ft=>{Ft.registerOnValidatorChange&&Ft.registerOnValidatorChange($t)})}function bi(ae,$t){const Ft=Xt(ae);null!==$t.validator?ae.setValidators(re(Ft,$t.validator)):"function"==typeof Ft&&ae.setValidators([Ft]);const et=oe(ae);null!==$t.asyncValidator?ae.setAsyncValidators(re(et,$t.asyncValidator)):"function"==typeof et&&ae.setAsyncValidators([et]);const Mi=()=>ae.updateValueAndValidity();We($t._rawValidators,Mi),We($t._rawAsyncValidators,Mi)}function so(ae,$t){let Ft=!1;if(null!==ae){if(null!==$t.validator){const Mi=Xt(ae);if(Array.isArray(Mi)&&Mi.length>0){const Qo=Mi.filter(Ua=>Ua!==$t.validator);Qo.length!==Mi.length&&(Ft=!0,ae.setValidators(Qo))}}if(null!==$t.asyncValidator){const Mi=oe(ae);if(Array.isArray(Mi)&&Mi.length>0){const Qo=Mi.filter(Ua=>Ua!==$t.asyncValidator);Qo.length!==Mi.length&&(Ft=!0,ae.setAsyncValidators(Qo))}}}const et=()=>{};return We($t._rawValidators,et),We($t._rawAsyncValidators,et),Ft}function ha(ae,$t){ae._pendingDirty&&ae.markAsDirty(),ae.setValue(ae._pendingValue,{emitModelToViewChange:!1}),$t.viewToModelUpdate(ae._pendingValue),ae._pendingChange=!1}function Ne(ae,$t){bi(ae,$t)}function Et(ae,$t){if(!ae.hasOwnProperty("model"))return!1;const Ft=ae.model;return!!Ft.isFirstChange()||!Object.is($t,Ft.currentValue)}function Lt(ae,$t){ae._syncPendingControls(),$t.forEach(Ft=>{const et=Ft.control;"submit"===et.updateOn&&et._pendingChange&&(Ft.viewToModelUpdate(et._pendingValue),et._pendingChange=!1)})}function He(ae,$t){if(!$t)return null;let Ft,et,Mi;return Array.isArray($t),$t.forEach(Qo=>{Qo.constructor===W?Ft=Qo:function J(ae){return Object.getPrototypeOf(ae.constructor)===U}(Qo)?et=Qo:Mi=Qo}),Mi||et||Ft||null}const wo={provide:ke,useExisting:(0,u.Gpc)(()=>pr)},dr=(()=>Promise.resolve())();let pr=(()=>{class ae extends ke{constructor(Ft,et){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new u.vpe,this.form=new zt({},Te(Ft),jt(et))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(Ft){dr.then(()=>{const et=this._findContainer(Ft.path);Ft.control=et.registerControl(Ft.name,Ft.control),cn(Ft.control,Ft),Ft.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(Ft)})}getControl(Ft){return this.form.get(Ft.path)}removeControl(Ft){dr.then(()=>{const et=this._findContainer(Ft.path);et&&et.removeControl(Ft.name),this._directives.delete(Ft)})}addFormGroup(Ft){dr.then(()=>{const et=this._findContainer(Ft.path),Mi=new zt({});Ne(Mi,Ft),et.registerControl(Ft.name,Mi),Mi.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(Ft){dr.then(()=>{const et=this._findContainer(Ft.path);et&&et.removeControl(Ft.name)})}getFormGroup(Ft){return this.form.get(Ft.path)}updateModel(Ft,et){dr.then(()=>{this.form.get(Ft.path).setValue(et)})}setValue(Ft){this.control.setValue(Ft)}onSubmit(Ft){return this.submitted=!0,Lt(this.form,this._directives),this.ngSubmit.emit(Ft),"dialog"===Ft?.target?.method}onReset(){this.resetForm()}resetForm(Ft){this.form.reset(Ft),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(Ft){return Ft.pop(),Ft.length?this.form.get(Ft):this.form}}return ae.\u0275fac=function(Ft){return new(Ft||ae)(u.Y36(bt,10),u.Y36(Dt,10))},ae.\u0275dir=u.lG2({type:ae,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Ft,et){1&Ft&&u.NdJ("submit",function(Qo){return et.onSubmit(Qo)})("reset",function(){return et.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[u._Bn([wo]),u.qOj]}),ae})();function $r(ae,$t){const Ft=ae.indexOf($t);Ft>-1&&ae.splice(Ft,1)}function ja(ae){return"object"==typeof ae&&null!==ae&&2===Object.keys(ae).length&&"value"in ae&&"disabled"in ae}const Er=class extends Se{constructor($t=null,Ft,et){super(ze(Ft),rn(et,Ft)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState($t),this._setUpdateStrategy(Ft),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),sn(Ft)&&(Ft.nonNullable||Ft.initialValueIsDefault)&&(this.defaultValue=ja($t)?$t.value:$t)}setValue($t,Ft={}){this.value=this._pendingValue=$t,this._onChange.length&&!1!==Ft.emitModelToViewChange&&this._onChange.forEach(et=>et(this.value,!1!==Ft.emitViewToModelChange)),this.updateValueAndValidity(Ft)}patchValue($t,Ft={}){this.setValue($t,Ft)}reset($t=this.defaultValue,Ft={}){this._applyFormState($t),this.markAsPristine(Ft),this.markAsUntouched(Ft),this.setValue(this.value,Ft),this._pendingChange=!1}_updateValue(){}_anyControls($t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange($t){this._onChange.push($t)}_unregisterOnChange($t){$r(this._onChange,$t)}registerOnDisabledChange($t){this._onDisabledChange.push($t)}_unregisterOnDisabledChange($t){$r(this._onDisabledChange,$t)}_forEachChild($t){}_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($t){ja($t)?(this.value=this._pendingValue=$t.value,$t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=$t}},cc=Er;let ds=(()=>{class ae extends ke{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Vi(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return ae.\u0275fac=function(){let $t;return function(et){return($t||($t=u.n5z(ae)))(et||ae)}}(),ae.\u0275dir=u.lG2({type:ae,features:[u.qOj]}),ae})();const Ws={provide:un,useExisting:(0,u.Gpc)(()=>ps)},Oc=(()=>Promise.resolve())();let ps=(()=>{class ae extends un{constructor(Ft,et,Mi,Qo,Ua){super(),this._changeDetectorRef=Ua,this.control=new Er,this._registered=!1,this.update=new u.vpe,this._parent=Ft,this._setValidators(et),this._setAsyncValidators(Mi),this.valueAccessor=He(0,Qo)}ngOnChanges(Ft){if(this._checkForErrors(),!this._registered||"name"in Ft){if(this._registered&&(this._checkName(),this.formDirective)){const et=Ft.name.previousValue;this.formDirective.removeControl({name:et,path:this._getPath(et)})}this._setUpControl()}"isDisabled"in Ft&&this._updateDisabled(Ft),Et(Ft,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(Ft){this.viewModel=Ft,this.update.emit(Ft)}_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(){cn(this.control,this),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(Ft){Oc.then(()=>{this.control.setValue(Ft,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(Ft){const et=Ft.isDisabled.currentValue,Mi=0!==et&&(0,u.D6c)(et);Oc.then(()=>{Mi&&!this.control.disabled?this.control.disable():!Mi&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(Ft){return this._parent?Vi(Ft,this._parent):[Ft]}}return ae.\u0275fac=function(Ft){return new(Ft||ae)(u.Y36(ke,9),u.Y36(bt,10),u.Y36(Dt,10),u.Y36(w,10),u.Y36(u.sBO,8))},ae.\u0275dir=u.lG2({type:ae,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[u._Bn([Ws]),u.qOj,u.TTD]}),ae})(),Hs=(()=>{class ae{}return ae.\u0275fac=function(Ft){return new(Ft||ae)},ae.\u0275dir=u.lG2({type:ae,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),ae})();const Qd={provide:w,useExisting:(0,u.Gpc)(()=>Fr),multi:!0};let Fr=(()=>{class ae extends U{writeValue(Ft){this.setProperty("value",Ft??"")}registerOnChange(Ft){this.onChange=et=>{Ft(""==et?null:parseFloat(et))}}}return ae.\u0275fac=function(){let $t;return function(et){return($t||($t=u.n5z(ae)))(et||ae)}}(),ae.\u0275dir=u.lG2({type:ae,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Ft,et){1&Ft&&u.NdJ("input",function(Qo){return et.onChange(Qo.target.value)})("blur",function(){return et.onTouched()})},features:[u._Bn([Qd]),u.qOj]}),ae})(),Gc=(()=>{class ae{}return ae.\u0275fac=function(Ft){return new(Ft||ae)},ae.\u0275mod=u.oAB({type:ae}),ae.\u0275inj=u.cJS({}),ae})();const $s=new u.OlP("NgModelWithFormControlWarning"),xc={provide:un,useExisting:(0,u.Gpc)(()=>Ks)};let Ks=(()=>{class ae extends un{constructor(Ft,et,Mi,Qo){super(),this._ngModelWarningConfig=Qo,this.update=new u.vpe,this._ngModelWarningSent=!1,this._setValidators(Ft),this._setAsyncValidators(et),this.valueAccessor=He(0,Mi)}set isDisabled(Ft){}ngOnChanges(Ft){if(this._isControlChanged(Ft)){const et=Ft.form.previousValue;et&&pn(et,this,!1),cn(this.form,this),this.form.updateValueAndValidity({emitEvent:!1})}Et(Ft,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&pn(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(Ft){this.viewModel=Ft,this.update.emit(Ft)}_isControlChanged(Ft){return Ft.hasOwnProperty("form")}}return ae._ngModelWarningSentOnce=!1,ae.\u0275fac=function(Ft){return new(Ft||ae)(u.Y36(bt,10),u.Y36(Dt,10),u.Y36(w,10),u.Y36($s,8))},ae.\u0275dir=u.lG2({type:ae,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[u._Bn([xc]),u.qOj,u.TTD]}),ae})();const ll={provide:ke,useExisting:(0,u.Gpc)(()=>td)};let td=(()=>{class ae extends ke{constructor(Ft,et){super(),this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new u.vpe,this._setValidators(Ft),this._setAsyncValidators(et)}ngOnChanges(Ft){this._checkFormPresent(),Ft.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(so(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(Ft){const et=this.form.get(Ft.path);return cn(et,Ft),et.updateValueAndValidity({emitEvent:!1}),this.directives.push(Ft),et}getControl(Ft){return this.form.get(Ft.path)}removeControl(Ft){pn(Ft.control||null,Ft,!1),function zn(ae,$t){const Ft=ae.indexOf($t);Ft>-1&&ae.splice(Ft,1)}(this.directives,Ft)}addFormGroup(Ft){this._setUpFormContainer(Ft)}removeFormGroup(Ft){this._cleanUpFormContainer(Ft)}getFormGroup(Ft){return this.form.get(Ft.path)}addFormArray(Ft){this._setUpFormContainer(Ft)}removeFormArray(Ft){this._cleanUpFormContainer(Ft)}getFormArray(Ft){return this.form.get(Ft.path)}updateModel(Ft,et){this.form.get(Ft.path).setValue(et)}onSubmit(Ft){return this.submitted=!0,Lt(this.form,this.directives),this.ngSubmit.emit(Ft),"dialog"===Ft?.target?.method}onReset(){this.resetForm()}resetForm(Ft){this.form.reset(Ft),this.submitted=!1}_updateDomValue(){this.directives.forEach(Ft=>{const et=Ft.control,Mi=this.form.get(Ft.path);et!==Mi&&(pn(et||null,Ft),(ae=>ae instanceof Er)(Mi)&&(cn(Mi,Ft),Ft.control=Mi))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(Ft){const et=this.form.get(Ft.path);Ne(et,Ft),et.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(Ft){if(this.form){const et=this.form.get(Ft.path);et&&function Rn(ae,$t){return so(ae,$t)}(et,Ft)&&et.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){bi(this.form,this),this._oldForm&&so(this._oldForm,this)}_checkFormPresent(){}}return ae.\u0275fac=function(Ft){return new(Ft||ae)(u.Y36(bt,10),u.Y36(Dt,10))},ae.\u0275dir=u.lG2({type:ae,selectors:[["","formGroup",""]],hostBindings:function(Ft,et){1&Ft&&u.NdJ("submit",function(Qo){return et.onSubmit(Qo)})("reset",function(){return et.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[u._Bn([ll]),u.qOj,u.TTD]}),ae})();const jl={provide:ke,useExisting:(0,u.Gpc)(()=>Es)};let Es=(()=>{class ae extends ds{constructor(Ft,et,Mi){super(),this._parent=Ft,this._setValidators(et),this._setAsyncValidators(Mi)}_checkParentType(){Wc(this._parent)}}return ae.\u0275fac=function(Ft){return new(Ft||ae)(u.Y36(ke,13),u.Y36(bt,10),u.Y36(Dt,10))},ae.\u0275dir=u.lG2({type:ae,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[u._Bn([jl]),u.qOj]}),ae})();const Zl={provide:ke,useExisting:(0,u.Gpc)(()=>Ys)};let Ys=(()=>{class ae extends ke{constructor(Ft,et,Mi){super(),this._parent=Ft,this._setValidators(et),this._setAsyncValidators(Mi)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Vi(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Wc(this._parent)}}return ae.\u0275fac=function(Ft){return new(Ft||ae)(u.Y36(ke,13),u.Y36(bt,10),u.Y36(Dt,10))},ae.\u0275dir=u.lG2({type:ae,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[u._Bn([Zl]),u.qOj]}),ae})();function Wc(ae){return!(ae instanceof Es||ae instanceof td||ae instanceof Ys)}const Xs={provide:un,useExisting:(0,u.Gpc)(()=>Dl)};let Dl=(()=>{class ae extends un{constructor(Ft,et,Mi,Qo,Ua){super(),this._ngModelWarningConfig=Ua,this._added=!1,this.update=new u.vpe,this._ngModelWarningSent=!1,this._parent=Ft,this._setValidators(et),this._setAsyncValidators(Mi),this.valueAccessor=He(0,Qo)}set isDisabled(Ft){}ngOnChanges(Ft){this._added||this._setUpControl(),Et(Ft,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(Ft){this.viewModel=Ft,this.update.emit(Ft)}get path(){return Vi(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}}return ae._ngModelWarningSentOnce=!1,ae.\u0275fac=function(Ft){return new(Ft||ae)(u.Y36(ke,13),u.Y36(bt,10),u.Y36(Dt,10),u.Y36(w,10),u.Y36($s,8))},ae.\u0275dir=u.lG2({type:ae,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[u._Bn([Xs]),u.qOj,u.TTD]}),ae})();function Pr(ae){return"number"==typeof ae?ae:parseFloat(ae)}let dc=(()=>{class ae{constructor(){this._validator=ce}ngOnChanges(Ft){if(this.inputName in Ft){const et=this.normalizeInput(Ft[this.inputName].currentValue);this._enabled=this.enabled(et),this._validator=this._enabled?this.createValidator(et):ce,this._onChange&&this._onChange()}}validate(Ft){return this._validator(Ft)}registerOnValidatorChange(Ft){this._onChange=Ft}enabled(Ft){return null!=Ft}}return ae.\u0275fac=function(Ft){return new(Ft||ae)},ae.\u0275dir=u.lG2({type:ae,features:[u.TTD]}),ae})();const za={provide:bt,useExisting:(0,u.Gpc)(()=>Va),multi:!0};let Va=(()=>{class ae extends dc{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=Ft=>Pr(Ft),this.createValidator=Ft=>yt(Ft)}}return ae.\u0275fac=function(){let $t;return function(et){return($t||($t=u.n5z(ae)))(et||ae)}}(),ae.\u0275dir=u.lG2({type:ae,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(Ft,et){2&Ft&&u.uIk("max",et._enabled?et.max:null)},inputs:{max:"max"},features:[u._Bn([za]),u.qOj]}),ae})();const Ur={provide:bt,useExisting:(0,u.Gpc)(()=>vr),multi:!0};let vr=(()=>{class ae extends dc{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=Ft=>Pr(Ft),this.createValidator=Ft=>Jt(Ft)}}return ae.\u0275fac=function(){let $t;return function(et){return($t||($t=u.n5z(ae)))(et||ae)}}(),ae.\u0275dir=u.lG2({type:ae,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(Ft,et){2&Ft&&u.uIk("min",et._enabled?et.min:null)},inputs:{min:"min"},features:[u._Bn([Ur]),u.qOj]}),ae})();const as={provide:bt,useExisting:(0,u.Gpc)(()=>zs),multi:!0},Qn={provide:bt,useExisting:(0,u.Gpc)(()=>ms),multi:!0};let zs=(()=>{class ae extends dc{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=u.D6c,this.createValidator=Ft=>At}enabled(Ft){return Ft}}return ae.\u0275fac=function(){let $t;return function(et){return($t||($t=u.n5z(ae)))(et||ae)}}(),ae.\u0275dir=u.lG2({type:ae,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Ft,et){2&Ft&&u.uIk("required",et._enabled?"":null)},inputs:{required:"required"},features:[u._Bn([as]),u.qOj]}),ae})(),ms=(()=>{class ae extends zs{constructor(){super(...arguments),this.createValidator=Ft=>xt}}return ae.\u0275fac=function(){let $t;return function(et){return($t||($t=u.n5z(ae)))(et||ae)}}(),ae.\u0275dir=u.lG2({type:ae,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(Ft,et){2&Ft&&u.uIk("required",et._enabled?"":null)},features:[u._Bn([Qn]),u.qOj]}),ae})();const Fs={provide:bt,useExisting:(0,u.Gpc)(()=>tc),multi:!0};let tc=(()=>{class ae extends dc{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=Ft=>function $l(ae){return"number"==typeof ae?ae:parseInt(ae,10)}(Ft),this.createValidator=Ft=>Bt(Ft)}}return ae.\u0275fac=function(){let $t;return function(et){return($t||($t=u.n5z(ae)))(et||ae)}}(),ae.\u0275dir=u.lG2({type:ae,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(Ft,et){2&Ft&&u.uIk("maxlength",et._enabled?et.maxlength:null)},inputs:{maxlength:"maxlength"},features:[u._Bn([Fs]),u.qOj]}),ae})(),Br=(()=>{class ae{}return ae.\u0275fac=function(Ft){return new(Ft||ae)},ae.\u0275mod=u.oAB({type:ae}),ae.\u0275inj=u.cJS({imports:[Gc]}),ae})(),Lc=(()=>{class ae{}return ae.\u0275fac=function(Ft){return new(Ft||ae)},ae.\u0275mod=u.oAB({type:ae}),ae.\u0275inj=u.cJS({imports:[Br]}),ae})(),ul=(()=>{class ae{static withConfig(Ft){return{ngModule:ae,providers:[{provide:$s,useValue:Ft.warnOnNgModelWithFormControl}]}}}return ae.\u0275fac=function(Ft){return new(Ft||ae)},ae.\u0275mod=u.oAB({type:ae}),ae.\u0275inj=u.cJS({imports:[Br]}),ae})();class Cc extends Se{constructor($t,Ft,et){super(ze(Ft),rn(et,Ft)),this.controls=$t,this._initObservables(),this._setUpdateStrategy(Ft),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at($t){return this.controls[this._adjustIndex($t)]}push($t,Ft={}){this.controls.push($t),this._registerControl($t),this.updateValueAndValidity({emitEvent:Ft.emitEvent}),this._onCollectionChange()}insert($t,Ft,et={}){this.controls.splice($t,0,Ft),this._registerControl(Ft),this.updateValueAndValidity({emitEvent:et.emitEvent})}removeAt($t,Ft={}){let et=this._adjustIndex($t);et<0&&(et=0),this.controls[et]&&this.controls[et]._registerOnCollectionChange(()=>{}),this.controls.splice(et,1),this.updateValueAndValidity({emitEvent:Ft.emitEvent})}setControl($t,Ft,et={}){let Mi=this._adjustIndex($t);Mi<0&&(Mi=0),this.controls[Mi]&&this.controls[Mi]._registerOnCollectionChange(()=>{}),this.controls.splice(Mi,1),Ft&&(this.controls.splice(Mi,0,Ft),this._registerControl(Ft)),this.updateValueAndValidity({emitEvent:et.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue($t,Ft={}){Nt(this,0,$t),$t.forEach((et,Mi)=>{ge(this,!1,Mi),this.at(Mi).setValue(et,{onlySelf:!0,emitEvent:Ft.emitEvent})}),this.updateValueAndValidity(Ft)}patchValue($t,Ft={}){null!=$t&&($t.forEach((et,Mi)=>{this.at(Mi)&&this.at(Mi).patchValue(et,{onlySelf:!0,emitEvent:Ft.emitEvent})}),this.updateValueAndValidity(Ft))}reset($t=[],Ft={}){this._forEachChild((et,Mi)=>{et.reset($t[Mi],{onlySelf:!0,emitEvent:Ft.emitEvent})}),this._updatePristine(Ft),this._updateTouched(Ft),this.updateValueAndValidity(Ft)}getRawValue(){return this.controls.map($t=>$t.getRawValue())}clear($t={}){this.controls.length<1||(this._forEachChild(Ft=>Ft._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:$t.emitEvent}))}_adjustIndex($t){return $t<0?$t+this.length:$t}_syncPendingControls(){let $t=this.controls.reduce((Ft,et)=>!!et._syncPendingControls()||Ft,!1);return $t&&this.updateValueAndValidity({onlySelf:!0}),$t}_forEachChild($t){this.controls.forEach((Ft,et)=>{$t(Ft,et)})}_updateValue(){this.value=this.controls.filter($t=>$t.enabled||this.disabled).map($t=>$t.value)}_anyControls($t){return this.controls.some(Ft=>Ft.enabled&&$t(Ft))}_setUpControls(){this._forEachChild($t=>this._registerControl($t))}_allControlsDisabled(){for(const $t of this.controls)if($t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl($t){$t.setParent(this),$t._registerOnCollectionChange(this._onCollectionChange)}_find($t){return this.at($t)??null}}function Gi(ae){return!!ae&&(void 0!==ae.asyncValidators||void 0!==ae.validators||void 0!==ae.updateOn)}let da=(()=>{class ae{constructor(){this.useNonNullable=!1}get nonNullable(){const Ft=new ae;return Ft.useNonNullable=!0,Ft}group(Ft,et=null){const Mi=this._reduceControls(Ft);let Qo={};return Gi(et)?Qo=et:null!==et&&(Qo.validators=et.validator,Qo.asyncValidators=et.asyncValidator),new zt(Mi,Qo)}record(Ft,et=null){const Mi=this._reduceControls(Ft);return new Sn(Mi,et)}control(Ft,et,Mi){let Qo={};return this.useNonNullable?(Gi(et)?Qo=et:(Qo.validators=et,Qo.asyncValidators=Mi),new Er(Ft,{...Qo,nonNullable:!0})):new Er(Ft,et,Mi)}array(Ft,et,Mi){const Qo=Ft.map(Ua=>this._createControl(Ua));return new Cc(Qo,et,Mi)}_reduceControls(Ft){const et={};return Object.keys(Ft).forEach(Mi=>{et[Mi]=this._createControl(Ft[Mi])}),et}_createControl(Ft){return Ft instanceof Er||Ft instanceof Se?Ft:Array.isArray(Ft)?this.control(Ft[0],Ft.length>1?Ft[1]:null,Ft.length>2?Ft[2]:null):this.control(Ft)}}return ae.\u0275fac=function(Ft){return new(Ft||ae)},ae.\u0275prov=u.Yz7({token:ae,factory:ae.\u0275fac,providedIn:ul}),ae})(),Kr=(()=>{class ae extends da{group(Ft,et=null){return super.group(Ft,et)}control(Ft,et,Mi){return super.control(Ft,et,Mi)}array(Ft,et,Mi){return super.array(Ft,et,Mi)}}return ae.\u0275fac=function(){let $t;return function(et){return($t||($t=u.n5z(ae)))(et||ae)}}(),ae.\u0275prov=u.Yz7({token:ae,factory:ae.\u0275fac,providedIn:ul}),ae})()},47957:(X,j,h)=>{"use strict";h.d(j,{Bb:()=>_n,XC:()=>Ge,ZL:()=>en});var u=h(12687),p=h(21281),x=h(83353),v=h(94650),t=h(3238),T=h(42654),U=h(8929),w=h(88514),P=h(36787),O=h(21086),L=h(23753),N=h(36895),V=h(98184),W=h(67376),tt=h(40445),st=h(29521),ct=h(84080),bt=h(24006),Dt=h(59549),wt=h(1059),qt=h(87545),Jt=h(72986),yt=h(92198),At=h(24850),xt=h(22868),pt=h(18583);const Ot=["panel"];function Bt(xe,vn){if(1&xe&&(v.TgZ(0,"div",0,1),v.Hsn(2),v.qZA()),2&xe){const ke=vn.id,un=v.oxw();v.Q6J("id",un.id)("ngClass",un._classList),v.uIk("aria-label",un.ariaLabel||null)("aria-labelledby",un._getPanelAriaLabelledby(ke))}}const St=["*"];let ce=0;class Vt{constructor(vn,ke){this.source=vn,this.option=ke}}const ve=(0,t.Kr)(class{}),fe=new v.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function Le(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1}}});let Fe=(()=>{class xe extends ve{constructor(ke,un,Dn,ii){super(),this._changeDetectorRef=ke,this._elementRef=un,this._activeOptionChanges=T.w.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new v.vpe,this.opened=new v.vpe,this.closed=new v.vpe,this.optionActivated=new v.vpe,this._classList={},this.id="mat-autocomplete-"+ce++,this.inertGroups=ii?.SAFARI||!1,this._autoActiveFirstOption=!!Dn.autoActiveFirstOption,this._autoSelectActiveOption=!!Dn.autoSelectActiveOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(ke){this._autoActiveFirstOption=(0,p.Ig)(ke)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(ke){this._autoSelectActiveOption=(0,p.Ig)(ke)}set classList(ke){this._classList=ke&&ke.length?(0,p.du)(ke).reduce((un,Dn)=>(un[Dn]=!0,un),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new u.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(ke=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[ke]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(ke){this.panel&&(this.panel.nativeElement.scrollTop=ke)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(ke){const un=new Vt(this,ke);this.optionSelected.emit(un)}_getPanelAriaLabelledby(ke){return this.ariaLabel?null:this.ariaLabelledby?(ke?ke+" ":"")+this.ariaLabelledby:ke}_setVisibilityClasses(ke){ke[this._visibleClass]=this.showPanel,ke[this._hiddenClass]=!this.showPanel}}return xe.\u0275fac=function(ke){return new(ke||xe)(v.Y36(v.sBO),v.Y36(v.SBq),v.Y36(fe),v.Y36(x.t4))},xe.\u0275dir=v.lG2({type:xe,viewQuery:function(ke,un){if(1&ke&&(v.Gf(v.Rgc,7),v.Gf(Ot,5)),2&ke){let Dn;v.iGM(Dn=v.CRH())&&(un.template=Dn.first),v.iGM(Dn=v.CRH())&&(un.panel=Dn.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[v.qOj]}),xe})(),Ge=(()=>{class xe extends Fe{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return xe.\u0275fac=function(){let vn;return function(un){return(vn||(vn=v.n5z(xe)))(un||xe)}}(),xe.\u0275cmp=v.Xpm({type:xe,selectors:[["mat-autocomplete"]],contentQueries:function(ke,un,Dn){if(1&ke&&(v.Suo(Dn,t.K7,5),v.Suo(Dn,t.ey,5)),2&ke){let ii;v.iGM(ii=v.CRH())&&(un.optionGroups=ii),v.iGM(ii=v.CRH())&&(un.options=ii)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[v._Bn([{provide:t.HF,useExisting:xe}]),v.qOj],ngContentSelectors:St,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(ke,un){1&ke&&(v.F$t(),v.YNc(0,Bt,3,4,"ng-template"))},dependencies:[N.mk],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}"],encapsulation:2,changeDetection:0}),xe})();const ne=new v.OlP("mat-autocomplete-scroll-strategy"),re={provide:ne,deps:[V.aV],useFactory:function jt(xe){return()=>xe.scrollStrategies.reposition()}},Xt={provide:bt.JU,useExisting:(0,v.Gpc)(()=>en),multi:!0};let Me=(()=>{class xe{constructor(ke,un,Dn,ii,_i,oi,Qe,te,it,K,Tt){this._element=ke,this._overlay=un,this._viewContainerRef=Dn,this._zone=ii,this._changeDetectorRef=_i,this._dir=Qe,this._formField=te,this._document=it,this._viewportRuler=K,this._defaults=Tt,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=T.w.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new U.xQ,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,w.P)(()=>{const Rt=this.autocomplete?this.autocomplete.options:null;return Rt?Rt.changes.pipe((0,wt.O)(Rt),(0,qt.w)(()=>(0,P.T)(...Rt.map(le=>le.onSelectionChange)))):this._zone.onStable.pipe((0,Jt.q)(1),(0,qt.w)(()=>this.optionSelections))}),this._scrollStrategy=oi}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(ke){this._autocompleteDisabled=(0,p.Ig)(ke)}ngAfterViewInit(){const ke=this._getWindow();typeof ke<"u"&&this._zone.runOutsideAngular(()=>ke.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(ke){ke.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const ke=this._getWindow();typeof ke<"u"&&ke.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,P.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,yt.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,yt.h)(()=>this._overlayAttached)):(0,O.of)()).pipe((0,At.U)(ke=>ke instanceof t.rN?ke:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,P.T)((0,L.R)(this._document,"click"),(0,L.R)(this._document,"auxclick"),(0,L.R)(this._document,"touchend")).pipe((0,yt.h)(ke=>{const un=(0,x.sA)(ke),Dn=this._formField?this._formField._elementRef.nativeElement:null,ii=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&un!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!Dn||!Dn.contains(un))&&(!ii||!ii.contains(un))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(un)}))}writeValue(ke){Promise.resolve(null).then(()=>this._assignOptionValue(ke))}registerOnChange(ke){this._onChange=ke}registerOnTouched(ke){this._onTouched=ke}setDisabledState(ke){this._element.nativeElement.disabled=ke}_handleKeydown(ke){const un=ke.keyCode,Dn=(0,st.Vb)(ke);if(un===st.hY&&!Dn&&ke.preventDefault(),this.activeOption&&un===st.K5&&this.panelOpen&&!Dn)this.activeOption._selectViaInteraction(),this._resetActiveItem(),ke.preventDefault();else if(this.autocomplete){const ii=this.autocomplete._keyManager.activeItem,_i=un===st.LH||un===st.JH;un===st.Mf||_i&&!Dn&&this.panelOpen?this.autocomplete._keyManager.onKeydown(ke):_i&&this._canOpen()&&this.openPanel(),(_i||this.autocomplete._keyManager.activeItem!==ii)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(ke){let un=ke.target,Dn=un.value;"number"===un.type&&(Dn=""==Dn?null:parseFloat(Dn)),this._previousValue!==Dn&&(this._previousValue=Dn,this._pendingAutoselectedOption=null,this._onChange(Dn),this._canOpen()&&this._document.activeElement===ke.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(ke=!1){this._formField&&"auto"===this._formField.floatLabel&&(ke?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const ke=this._zone.onStable.pipe((0,Jt.q)(1)),un=this.autocomplete.options.changes.pipe((0,xt.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,pt.g)(0));return(0,P.T)(ke,un).pipe((0,qt.w)(()=>(this._zone.run(()=>{const Dn=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),Dn!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,Jt.q)(1)).subscribe(Dn=>this._setValueAndClose(Dn))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(ke){const un=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(ke):ke;this._updateNativeInputValue(un??"")}_updateNativeInputValue(ke){this._formField?this._formField._control.value=ke:this._element.nativeElement.value=ke,this._previousValue=ke}_setValueAndClose(ke){const un=ke?ke.source:this._pendingAutoselectedOption;un&&(this._clearPreviousSelectedOption(un),this._assignOptionValue(un.value),this._onChange(un.value),this.autocomplete._emitSelectEvent(un),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(ke){this.autocomplete.options.forEach(un=>{un!==ke&&un.selected&&un.deselect()})}_attachOverlay(){let ke=this._overlayRef;ke?(this._positionStrategy.setOrigin(this._getConnectedElement()),ke.updateSize({width:this._getPanelWidth()})):(this._portal=new ct.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),ke=this._overlay.create(this._getOverlayConfig()),this._overlayRef=ke,this._handleOverlayEvents(ke),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&ke&&ke.updateSize({width:this._getPanelWidth()})})),ke&&!ke.hasAttached()&&(ke.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const un=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&un!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new V.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const ke=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(ke),this._positionStrategy=ke,ke}_setStrategyPositions(ke){const un=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Dn=this._aboveClass,ii=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:Dn},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:Dn}];let _i;_i="above"===this.position?ii:"below"===this.position?un:[...un,...ii],ke.withPositions(_i)}_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 ke=this.autocomplete;ke.autoActiveFirstOption?ke._keyManager.setFirstItemActive():ke._keyManager.setActiveItem(-1)}_canOpen(){const ke=this._element.nativeElement;return!ke.readOnly&&!ke.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(ke){const un=this.autocomplete,Dn=(0,t.CB)(ke,un.options,un.optionGroups);if(0===ke&&1===Dn)un._setScrollTop(0);else if(un.panel){const ii=un.options.toArray()[ke];if(ii){const _i=ii._getHostElement(),oi=(0,t.jH)(_i.offsetTop,_i.offsetHeight,un._getScrollTop(),un.panel.nativeElement.offsetHeight);un._setScrollTop(oi)}}}_handleOverlayEvents(ke){ke.keydownEvents().subscribe(un=>{(un.keyCode===st.hY&&!(0,st.Vb)(un)||un.keyCode===st.LH&&(0,st.Vb)(un,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),un.stopPropagation(),un.preventDefault())}),ke.outsidePointerEvents().subscribe()}}return xe.\u0275fac=function(ke){return new(ke||xe)(v.Y36(v.SBq),v.Y36(V.aV),v.Y36(v.s_b),v.Y36(v.R0b),v.Y36(v.sBO),v.Y36(ne),v.Y36(tt.Is,8),v.Y36(Dt.G_,9),v.Y36(N.K0,8),v.Y36(W.rL),v.Y36(fe,8))},xe.\u0275dir=v.lG2({type:xe,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[v.TTD]}),xe})(),en=(()=>{class xe extends Me{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return xe.\u0275fac=function(){let vn;return function(un){return(vn||(vn=v.n5z(xe)))(un||xe)}}(),xe.\u0275dir=v.lG2({type:xe,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(ke,un){1&ke&&v.NdJ("focusin",function(){return un._handleFocus()})("blur",function(){return un._onTouched()})("input",function(ii){return un._handleInput(ii)})("keydown",function(ii){return un._handleKeydown(ii)})("click",function(){return un._handleClick()}),2&ke&&v.uIk("autocomplete",un.autocompleteAttribute)("role",un.autocompleteDisabled?null:"combobox")("aria-autocomplete",un.autocompleteDisabled?null:"list")("aria-activedescendant",un.panelOpen&&un.activeOption?un.activeOption.id:null)("aria-expanded",un.autocompleteDisabled?null:un.panelOpen.toString())("aria-owns",un.autocompleteDisabled||!un.panelOpen||null==un.autocomplete?null:un.autocomplete.id)("aria-haspopup",un.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[v._Bn([Xt]),v.qOj]}),xe})(),_n=(()=>{class xe{}return xe.\u0275fac=function(ke){return new(ke||xe)},xe.\u0275mod=v.oAB({type:xe}),xe.\u0275inj=v.cJS({providers:[re],imports:[V.U8,t.Ng,t.BQ,N.ez,W.ZD,t.Ng,t.BQ]}),xe})()},42673:(X,j,h)=>{"use strict";h.d(j,{g:()=>P,k:()=>w});var u=h(94650),p=h(3238),x=h(12687),v=h(21281);let t=0;const T=(0,p.Id)(class{}),U="mat-badge-content";let w=(()=>{class O extends T{constructor(N,V,W,tt,st){super(),this._ngZone=N,this._elementRef=V,this._ariaDescriber=W,this._renderer=tt,this._animationMode=st,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=t++,this._isInitialized=!1}get color(){return this._color}set color(N){this._setColor(N),this._color=N}get overlap(){return this._overlap}set overlap(N){this._overlap=(0,v.Ig)(N)}get content(){return this._content}set content(N){this._updateRenderedContent(N)}get description(){return this._description}set description(N){this._updateHostAriaDescription(N)}get hidden(){return this._hidden}set hidden(N){this._hidden=(0,v.Ig)(N)}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&this._renderer.destroyNode(this._badgeElement),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_createBadgeElement(){const N=this._renderer.createElement("span"),V="mat-badge-active";return N.setAttribute("id",`mat-badge-content-${this._id}`),N.setAttribute("aria-hidden","true"),N.classList.add(U),"NoopAnimations"===this._animationMode&&N.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(N),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{N.classList.add(V)})}):N.classList.add(V),N}_updateRenderedContent(N){const V=`${N??""}`.trim();this._isInitialized&&V&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=V),this._content=V}_updateHostAriaDescription(N){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),N&&this._ariaDescriber.describe(this._elementRef.nativeElement,N),this._description=N}_setColor(N){const V=this._elementRef.nativeElement.classList;V.remove(`mat-badge-${this._color}`),N&&V.add(`mat-badge-${N}`)}_clearExistingBadges(){const N=this._elementRef.nativeElement.querySelectorAll(`:scope > .${U}`);for(const V of Array.from(N))V!==this._badgeElement&&V.remove()}}return O.\u0275fac=function(N){return new(N||O)(u.Y36(u.R0b),u.Y36(u.SBq),u.Y36(x.$s),u.Y36(u.Qsj),u.Y36(u.QbO,8))},O.\u0275dir=u.lG2({type:O,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(N,V){2&N&&u.ekj("mat-badge-overlap",V.overlap)("mat-badge-above",V.isAbove())("mat-badge-below",!V.isAbove())("mat-badge-before",!V.isAfter())("mat-badge-after",V.isAfter())("mat-badge-small","small"===V.size)("mat-badge-medium","medium"===V.size)("mat-badge-large","large"===V.size)("mat-badge-hidden",V.hidden||!V.content)("mat-badge-disabled",V.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden"]},features:[u.qOj]}),O})(),P=(()=>{class O{}return O.\u0275fac=function(N){return new(N||O)},O.\u0275mod=u.oAB({type:O}),O.\u0275inj=u.cJS({imports:[x.rt,p.BQ,p.BQ]}),O})()},90811:(X,j,h)=>{"use strict";h.d(j,{A9:()=>W,Yi:()=>st,vV:()=>ct});var u=h(12687),p=h(21281),x=h(95017),v=h(94650),t=h(24006),T=h(3238);const U=["button"],w=["*"],P=new v.OlP("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),O=new v.OlP("MatButtonToggleGroup"),L={provide:t.JU,useExisting:(0,v.Gpc)(()=>W),multi:!0};let N=0;class V{constructor(Dt,wt){this.source=Dt,this.value=wt}}let W=(()=>{class bt{constructor(wt,qt){this._changeDetector=wt,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name="mat-button-toggle-group-"+N++,this.valueChange=new v.vpe,this.change=new v.vpe,this.appearance=qt&&qt.appearance?qt.appearance:"standard"}get name(){return this._name}set name(wt){this._name=wt,this._markButtonsForCheck()}get vertical(){return this._vertical}set vertical(wt){this._vertical=(0,p.Ig)(wt)}get value(){const wt=this._selectionModel?this._selectionModel.selected:[];return this.multiple?wt.map(qt=>qt.value):wt[0]?wt[0].value:void 0}set value(wt){this._setSelectionByValue(wt),this.valueChange.emit(this.value)}get selected(){const wt=this._selectionModel?this._selectionModel.selected:[];return this.multiple?wt:wt[0]||null}get multiple(){return this._multiple}set multiple(wt){this._multiple=(0,p.Ig)(wt),this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(wt){this._disabled=(0,p.Ig)(wt),this._markButtonsForCheck()}ngOnInit(){this._selectionModel=new x.Ov(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(wt=>wt.checked))}writeValue(wt){this.value=wt,this._changeDetector.markForCheck()}registerOnChange(wt){this._controlValueAccessorChangeFn=wt}registerOnTouched(wt){this._onTouched=wt}setDisabledState(wt){this.disabled=wt}_emitChangeEvent(wt){const qt=new V(wt,this.value);this._controlValueAccessorChangeFn(qt.value),this.change.emit(qt)}_syncButtonToggle(wt,qt,Jt=!1,yt=!1){!this.multiple&&this.selected&&!wt.checked&&(this.selected.checked=!1),this._selectionModel?qt?this._selectionModel.select(wt):this._selectionModel.deselect(wt):yt=!0,yt?Promise.resolve().then(()=>this._updateModelValue(wt,Jt)):this._updateModelValue(wt,Jt)}_isSelected(wt){return this._selectionModel&&this._selectionModel.isSelected(wt)}_isPrechecked(wt){return!(typeof this._rawValue>"u")&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(qt=>null!=wt.value&&qt===wt.value):wt.value===this._rawValue)}_setSelectionByValue(wt){this._rawValue=wt,this._buttonToggles&&(this.multiple&&wt?(Array.isArray(wt),this._clearSelection(),wt.forEach(qt=>this._selectValue(qt))):(this._clearSelection(),this._selectValue(wt)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(wt=>wt.checked=!1)}_selectValue(wt){const qt=this._buttonToggles.find(Jt=>null!=Jt.value&&Jt.value===wt);qt&&(qt.checked=!0,this._selectionModel.select(qt))}_updateModelValue(wt,qt){qt&&this._emitChangeEvent(wt),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(wt=>wt._markForCheck())}}return bt.\u0275fac=function(wt){return new(wt||bt)(v.Y36(v.sBO),v.Y36(P,8))},bt.\u0275dir=v.lG2({type:bt,selectors:[["mat-button-toggle-group"]],contentQueries:function(wt,qt,Jt){if(1&wt&&v.Suo(Jt,st,5),2&wt){let yt;v.iGM(yt=v.CRH())&&(qt._buttonToggles=yt)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(wt,qt){2&wt&&(v.uIk("aria-disabled",qt.disabled),v.ekj("mat-button-toggle-vertical",qt.vertical)("mat-button-toggle-group-appearance-standard","standard"===qt.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[v._Bn([L,{provide:O,useExisting:bt}])]}),bt})();const tt=(0,T.Kr)(class{});let st=(()=>{class bt extends tt{constructor(wt,qt,Jt,yt,At,xt){super(),this._changeDetectorRef=qt,this._elementRef=Jt,this._focusMonitor=yt,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new v.vpe;const pt=Number(At);this.tabIndex=pt||0===pt?pt:null,this.buttonToggleGroup=wt,this.appearance=xt&&xt.appearance?xt.appearance:"standard"}get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(wt){this._appearance=wt}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(wt){const qt=(0,p.Ig)(wt);qt!==this._checked&&(this._checked=qt,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(wt){this._disabled=(0,p.Ig)(wt)}ngOnInit(){const wt=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+N++,wt&&(wt._isPrechecked(this)?this.checked=!0:wt._isSelected(this)!==this._checked&&wt._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const wt=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),wt&&wt._isSelected(this)&&wt._syncButtonToggle(this,!1,!1,!0)}focus(wt){this._buttonElement.nativeElement.focus(wt)}_onButtonClick(){const wt=!!this._isSingleSelector()||!this._checked;wt!==this._checked&&(this._checked=wt,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new V(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null}_isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}}return bt.\u0275fac=function(wt){return new(wt||bt)(v.Y36(O,8),v.Y36(v.sBO),v.Y36(v.SBq),v.Y36(u.tE),v.$8M("tabindex"),v.Y36(P,8))},bt.\u0275cmp=v.Xpm({type:bt,selectors:[["mat-button-toggle"]],viewQuery:function(wt,qt){if(1&wt&&v.Gf(U,5),2&wt){let Jt;v.iGM(Jt=v.CRH())&&(qt._buttonElement=Jt.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(wt,qt){1&wt&&v.NdJ("focus",function(){return qt.focus()}),2&wt&&(v.uIk("aria-label",null)("aria-labelledby",null)("id",qt.id)("name",null),v.ekj("mat-button-toggle-standalone",!qt.buttonToggleGroup)("mat-button-toggle-checked",qt.checked)("mat-button-toggle-disabled",qt.disabled)("mat-button-toggle-appearance-standard","standard"===qt.appearance))},inputs:{disableRipple:"disableRipple",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[v.qOj],ngContentSelectors:w,decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(wt,qt){if(1&wt&&(v.F$t(),v.TgZ(0,"button",0,1),v.NdJ("click",function(){return qt._onButtonClick()}),v.TgZ(2,"span",2),v.Hsn(3),v.qZA()(),v._UZ(4,"span",3)(5,"span",4)),2&wt){const Jt=v.MAs(1);v.Q6J("id",qt.buttonId)("disabled",qt.disabled||null),v.uIk("tabindex",qt.disabled?-1:qt.tabIndex)("aria-pressed",qt.checked)("name",qt._getButtonName())("aria-label",qt.ariaLabel)("aria-labelledby",qt.ariaLabelledby),v.xp6(5),v.Q6J("matRippleTrigger",Jt)("matRippleDisabled",qt.disableRipple||qt.disabled)}},dependencies:[T.wG],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}"],encapsulation:2,changeDetection:0}),bt})(),ct=(()=>{class bt{}return bt.\u0275fac=function(wt){return new(wt||bt)},bt.\u0275mod=v.oAB({type:bt}),bt.\u0275inj=v.cJS({imports:[T.BQ,T.si,T.BQ]}),bt})()},4859:(X,j,h)=>{"use strict";h.d(j,{lW:()=>O,ot:()=>N});var u=h(94650),p=h(3238),x=h(12687);const v=["mat-button",""],t=["*"],w=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],P=(0,p.pj)((0,p.Id)((0,p.Kr)(class{constructor(V){this._elementRef=V}})));let O=(()=>{class V extends P{constructor(tt,st,ct){super(tt),this._focusMonitor=st,this._animationMode=ct,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const bt of w)this._hasHostAttributes(bt)&&this._getHostElement().classList.add(bt);tt.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(tt,st){tt?this._focusMonitor.focusVia(this._getHostElement(),tt,st):this._getHostElement().focus(st)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...tt){return tt.some(st=>this._getHostElement().hasAttribute(st))}}return V.\u0275fac=function(tt){return new(tt||V)(u.Y36(u.SBq),u.Y36(x.tE),u.Y36(u.QbO,8))},V.\u0275cmp=u.Xpm({type:V,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(tt,st){if(1&tt&&u.Gf(p.wG,5),2&tt){let ct;u.iGM(ct=u.CRH())&&(st.ripple=ct.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(tt,st){2&tt&&(u.uIk("disabled",st.disabled||null),u.ekj("_mat-animation-noopable","NoopAnimations"===st._animationMode)("mat-button-disabled",st.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[u.qOj],attrs:v,ngContentSelectors:t,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(tt,st){1&tt&&(u.F$t(),u.TgZ(0,"span",0),u.Hsn(1),u.qZA(),u._UZ(2,"span",1)(3,"span",2)),2&tt&&(u.xp6(2),u.ekj("mat-button-ripple-round",st.isRoundButton||st.isIconButton),u.Q6J("matRippleDisabled",st._isRippleDisabled())("matRippleCentered",st.isIconButton)("matRippleTrigger",st._getHostElement()))},dependencies:[p.wG],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}"],encapsulation:2,changeDetection:0}),V})(),N=(()=>{class V{}return V.\u0275fac=function(tt){return new(tt||V)},V.\u0275mod=u.oAB({type:V}),V.\u0275inj=u.cJS({imports:[p.si,p.BQ,p.BQ]}),V})()},73546:(X,j,h)=>{"use strict";h.d(j,{$j:()=>L,C1:()=>Jt,G2:()=>W,QW:()=>yt,a8:()=>wt,dk:()=>qt,dn:()=>P,hq:()=>N,n5:()=>O,nc:()=>st});var u=h(94650),p=h(3238);const x=["*",[["mat-card-footer"]]],v=["*","mat-card-footer"],t=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],T=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],U=[[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],[["img"]],"*"],w=["mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","img","*"];let P=(()=>{class At{}return At.\u0275fac=function(pt){return new(pt||At)},At.\u0275dir=u.lG2({type:At,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),At})(),O=(()=>{class At{}return At.\u0275fac=function(pt){return new(pt||At)},At.\u0275dir=u.lG2({type:At,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),At})(),L=(()=>{class At{}return At.\u0275fac=function(pt){return new(pt||At)},At.\u0275dir=u.lG2({type:At,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),At})(),N=(()=>{class At{constructor(){this.align="start"}}return At.\u0275fac=function(pt){return new(pt||At)},At.\u0275dir=u.lG2({type:At,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(pt,Ot){2&pt&&u.ekj("mat-card-actions-align-end","end"===Ot.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),At})(),W=(()=>{class At{}return At.\u0275fac=function(pt){return new(pt||At)},At.\u0275dir=u.lG2({type:At,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-card-image"]}),At})(),st=(()=>{class At{}return At.\u0275fac=function(pt){return new(pt||At)},At.\u0275dir=u.lG2({type:At,selectors:[["","mat-card-md-image",""],["","matCardImageMedium",""]],hostAttrs:[1,"mat-card-md-image"]}),At})(),wt=(()=>{class At{constructor(pt){this._animationMode=pt}}return At.\u0275fac=function(pt){return new(pt||At)(u.Y36(u.QbO,8))},At.\u0275cmp=u.Xpm({type:At,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(pt,Ot){2&pt&&u.ekj("_mat-animation-noopable","NoopAnimations"===Ot._animationMode)},exportAs:["matCard"],ngContentSelectors:v,decls:2,vars:0,template:function(pt,Ot){1&pt&&(u.F$t(x),u.Hsn(0),u.Hsn(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}.mat-card._mat-animation-noopable{transition:none !important;animation:none !important}.mat-card>.mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card>.mat-divider-horizontal{left:auto;right:0}.mat-card>.mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card>.mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],encapsulation:2,changeDetection:0}),At})(),qt=(()=>{class At{}return At.\u0275fac=function(pt){return new(pt||At)},At.\u0275cmp=u.Xpm({type:At,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:T,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(pt,Ot){1&pt&&(u.F$t(t),u.Hsn(0),u.TgZ(1,"div",0),u.Hsn(2,1),u.qZA(),u.Hsn(3,2))},encapsulation:2,changeDetection:0}),At})(),Jt=(()=>{class At{}return At.\u0275fac=function(pt){return new(pt||At)},At.\u0275cmp=u.Xpm({type:At,selectors:[["mat-card-title-group"]],hostAttrs:[1,"mat-card-title-group"],ngContentSelectors:w,decls:4,vars:0,template:function(pt,Ot){1&pt&&(u.F$t(U),u.TgZ(0,"div"),u.Hsn(1),u.qZA(),u.Hsn(2,1),u.Hsn(3,2))},encapsulation:2,changeDetection:0}),At})(),yt=(()=>{class At{}return At.\u0275fac=function(pt){return new(pt||At)},At.\u0275mod=u.oAB({type:At}),At.\u0275inj=u.cJS({imports:[p.BQ,p.BQ]}),At})()},56709:(X,j,h)=>{"use strict";h.d(j,{e_:()=>qt,oG:()=>Dt,p9:()=>yt});var u=h(12687),p=h(21281),x=h(94650),v=h(24006),t=h(3238),T=h(49643);const U=["input"],w=["label"],P=function(At){return{enterDuration:At}},O=["*"],L=new x.OlP("mat-checkbox-default-options",{providedIn:"root",factory:N});function N(){return{color:"accent",clickAction:"check-indeterminate"}}let V=0;const W=N(),tt={provide:v.JU,useExisting:(0,x.Gpc)(()=>Dt),multi:!0};class st{}const ct=(0,t.sb)((0,t.pj)((0,t.Kr)((0,t.Id)(class{constructor(At){this._elementRef=At}}))));let bt=(()=>{class At extends ct{constructor(pt,Ot,Bt,St,ce,Vt,ve){super(Ot),this._changeDetectorRef=Bt,this._ngZone=St,this._animationMode=Vt,this._options=ve,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new x.vpe,this.indeterminateChange=new x.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||W,this.color=this.defaultColor=this._options.color||W.color,this.tabIndex=parseInt(ce)||0,this.id=this._uniqueId=`${pt}${++V}`}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(pt){this._required=(0,p.Ig)(pt)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(pt){const Ot=(0,p.Ig)(pt);Ot!=this.checked&&(this._checked=Ot,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(pt){const Ot=(0,p.Ig)(pt);Ot!==this.disabled&&(this._disabled=Ot,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(pt){const Ot=pt!=this._indeterminate;this._indeterminate=(0,p.Ig)(pt),Ot&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(pt){this.checked=!!pt}registerOnChange(pt){this._controlValueAccessorChangeFn=pt}registerOnTouched(pt){this._onTouched=pt}setDisabledState(pt){this.disabled=pt}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(pt){let Ot=this._currentCheckState,Bt=this._getAnimationTargetElement();if(Ot!==pt&&Bt&&(this._currentAnimationClass&&Bt.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(Ot,pt),this._currentCheckState=pt,this._currentAnimationClass.length>0)){Bt.classList.add(this._currentAnimationClass);const St=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{Bt.classList.remove(St)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const pt=this._options?.clickAction;this.disabled||"noop"===pt?!this.disabled&&"noop"===pt&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==pt&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(pt){pt.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(pt,Ot){if("NoopAnimations"===this._animationMode)return"";switch(pt){case 0:if(1===Ot)return this._animationClasses.uncheckedToChecked;if(3==Ot)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===Ot?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===Ot?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===Ot?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(pt){const Ot=this._inputElement;Ot&&(Ot.nativeElement.indeterminate=pt)}}return At.\u0275fac=function(pt){x.$Z()},At.\u0275dir=x.lG2({type:At,viewQuery:function(pt,Ot){if(1&pt&&(x.Gf(U,5),x.Gf(w,5),x.Gf(t.wG,5)),2&pt){let Bt;x.iGM(Bt=x.CRH())&&(Ot._inputElement=Bt.first),x.iGM(Bt=x.CRH())&&(Ot._labelElement=Bt.first),x.iGM(Bt=x.CRH())&&(Ot.ripple=Bt.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[x.qOj]}),At})(),Dt=(()=>{class At extends bt{constructor(pt,Ot,Bt,St,ce,Vt,ve){super("mat-checkbox-",pt,Ot,St,ce,Vt,ve),this._focusMonitor=Bt,this._animationClasses={uncheckedToChecked:"mat-checkbox-anim-unchecked-checked",uncheckedToIndeterminate:"mat-checkbox-anim-unchecked-indeterminate",checkedToUnchecked:"mat-checkbox-anim-checked-unchecked",checkedToIndeterminate:"mat-checkbox-anim-checked-indeterminate",indeterminateToChecked:"mat-checkbox-anim-indeterminate-checked",indeterminateToUnchecked:"mat-checkbox-anim-indeterminate-unchecked"}}_createChangeEvent(pt){const Ot=new st;return Ot.source=this,Ot.checked=pt,Ot}_getAnimationTargetElement(){return this._elementRef.nativeElement}ngAfterViewInit(){super.ngAfterViewInit(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(pt=>{pt||this._onBlur()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onInputClick(pt){pt.stopPropagation(),super._handleInputClick()}focus(pt,Ot){pt?this._focusMonitor.focusVia(this._inputElement,pt,Ot):this._inputElement.nativeElement.focus(Ot)}}return At.\u0275fac=function(pt){return new(pt||At)(x.Y36(x.SBq),x.Y36(x.sBO),x.Y36(u.tE),x.Y36(x.R0b),x.$8M("tabindex"),x.Y36(x.QbO,8),x.Y36(L,8))},At.\u0275cmp=x.Xpm({type:At,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(pt,Ot){2&pt&&(x.Ikx("id",Ot.id),x.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),x.ekj("mat-checkbox-indeterminate",Ot.indeterminate)("mat-checkbox-checked",Ot.checked)("mat-checkbox-disabled",Ot.disabled)("mat-checkbox-label-before","before"==Ot.labelPosition)("_mat-animation-noopable","NoopAnimations"===Ot._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[x._Bn([tt]),x.qOj],ngContentSelectors:O,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(pt,Ot){if(1&pt&&(x.F$t(),x.TgZ(0,"label",0,1)(2,"span",2)(3,"input",3,4),x.NdJ("change",function(St){return Ot._onInteractionEvent(St)})("click",function(St){return Ot._onInputClick(St)}),x.qZA(),x.TgZ(5,"span",5),x._UZ(6,"span",6),x.qZA(),x._UZ(7,"span",7),x.TgZ(8,"span",8),x.O4$(),x.TgZ(9,"svg",9),x._UZ(10,"path",10),x.qZA(),x.kcU(),x._UZ(11,"span",11),x.qZA()(),x.TgZ(12,"span",12,13),x.NdJ("cdkObserveContent",function(){return Ot._onLabelTextChange()}),x.TgZ(14,"span",14),x._uU(15,"\xa0"),x.qZA(),x.Hsn(16),x.qZA()()),2&pt){const Bt=x.MAs(1),St=x.MAs(13);x.uIk("for",Ot.inputId),x.xp6(2),x.ekj("mat-checkbox-inner-container-no-side-margin",!St.textContent||!St.textContent.trim()),x.xp6(1),x.Q6J("id",Ot.inputId)("required",Ot.required)("checked",Ot.checked)("disabled",Ot.disabled)("tabIndex",Ot.tabIndex),x.uIk("value",Ot.value)("name",Ot.name)("aria-label",Ot.ariaLabel||null)("aria-labelledby",Ot.ariaLabelledby)("aria-checked",Ot._getAriaChecked())("aria-describedby",Ot.ariaDescribedby),x.xp6(2),x.Q6J("matRippleTrigger",Bt)("matRippleDisabled",Ot._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",x.VKq(19,P,"NoopAnimations"===Ot._animationMode?0:150))}},dependencies:[t.wG,T.wD],styles:['@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.mat-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:rgba(0,0,0,0);transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:rgba(0,0,0,0)}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox-input:focus~.mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),At})();const wt={provide:v.Cf,useExisting:(0,x.Gpc)(()=>qt),multi:!0};let qt=(()=>{class At extends v.Zs{}return At.\u0275fac=function(){let xt;return function(Ot){return(xt||(xt=x.n5z(At)))(Ot||At)}}(),At.\u0275dir=x.lG2({type:At,selectors:[["mat-checkbox","required","","formControlName",""],["mat-checkbox","required","","formControl",""],["mat-checkbox","required","","ngModel",""]],features:[x._Bn([wt]),x.qOj]}),At})(),Jt=(()=>{class At{}return At.\u0275fac=function(pt){return new(pt||At)},At.\u0275mod=x.oAB({type:At}),At.\u0275inj=x.cJS({}),At})(),yt=(()=>{class At{}return At.\u0275fac=function(pt){return new(pt||At)},At.\u0275mod=x.oAB({type:At}),At.\u0275inj=x.cJS({imports:[t.si,t.BQ,T.Q8,Jt,t.BQ,Jt]}),At})()},3238:(X,j,h)=>{"use strict";h.d(j,{yN:()=>bt,mZ:()=>Dt,_A:()=>Le,rD:()=>oe,sG:()=>Fe,Ad:()=>ve,K7:()=>qn,HF:()=>le,Y2:()=>te,BQ:()=>Jt,X2:()=>Me,uc:()=>xe,XK:()=>re,ey:()=>Yn,Ng:()=>gn,rN:()=>bo,nP:()=>Tt,us:()=>Rt,wG:()=>it,si:()=>K,IR:()=>oi,CB:()=>Vn,jH:()=>Je,pj:()=>Ot,Kr:()=>Bt,Id:()=>pt,FD:()=>ce,dB:()=>Vt,sb:()=>St,E0:()=>en});var u=h(94650),p=h(12687),x=h(40445),t=h(36895),T=h(83353),U=h(21281),w=h(56498),P=h(8929),O=h(1059),L=h(29521);function W(Ye,Ee){if(1&Ye&&u._UZ(0,"mat-pseudo-checkbox",4),2&Ye){const Xe=u.oxw();u.Q6J("state",Xe.selected?"checked":"unchecked")("disabled",Xe.disabled)}}function tt(Ye,Ee){if(1&Ye&&(u.TgZ(0,"span",5),u._uU(1),u.qZA()),2&Ye){const Xe=u.oxw();u.xp6(1),u.hij("(",Xe.group.label,")")}}const st=["*"];let bt=(()=>{class Ye{}return Ye.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",Ye.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",Ye.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",Ye.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",Ye})(),Dt=(()=>{class Ye{}return Ye.COMPLEX="375ms",Ye.ENTERING="225ms",Ye.EXITING="195ms",Ye})();const qt=new u.OlP("mat-sanity-checks",{providedIn:"root",factory:function wt(){return!0}});let Jt=(()=>{class Ye{constructor(Xe,se,ze){this._sanityChecks=se,this._document=ze,this._hasDoneGlobalChecks=!1,Xe._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(Xe){return!(0,T.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Xe])}}return Ye.\u0275fac=function(Xe){return new(Xe||Ye)(u.LFG(p.qm),u.LFG(qt,8),u.LFG(t.K0))},Ye.\u0275mod=u.oAB({type:Ye}),Ye.\u0275inj=u.cJS({imports:[x.vT,x.vT]}),Ye})();function pt(Ye){return class extends Ye{constructor(...Ee){super(...Ee),this._disabled=!1}get disabled(){return this._disabled}set disabled(Ee){this._disabled=(0,U.Ig)(Ee)}}}function Ot(Ye,Ee){return class extends Ye{constructor(...Xe){super(...Xe),this.defaultColor=Ee,this.color=Ee}get color(){return this._color}set color(Xe){const se=Xe||this.defaultColor;se!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),se&&this._elementRef.nativeElement.classList.add(`mat-${se}`),this._color=se)}}}function Bt(Ye){return class extends Ye{constructor(...Ee){super(...Ee),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(Ee){this._disableRipple=(0,U.Ig)(Ee)}}}function St(Ye,Ee=0){return class extends Ye{constructor(...Xe){super(...Xe),this._tabIndex=Ee,this.defaultTabIndex=Ee}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(Xe){this._tabIndex=null!=Xe?(0,U.su)(Xe):this.defaultTabIndex}}}function ce(Ye){return class extends Ye{constructor(...Ee){super(...Ee),this.errorState=!1}updateErrorState(){const Ee=this.errorState,ie=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);ie!==Ee&&(this.errorState=ie,this.stateChanges.next())}}}function Vt(Ye){return class extends Ye{constructor(...Ee){super(...Ee),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new w.y(Xe=>{this._isInitialized?this._notifySubscriber(Xe):this._pendingSubscribers.push(Xe)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(Ee){Ee.next(),Ee.complete()}}}const ve=new u.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function fe(){return(0,u.f3M)(u.soG)}});class Le{constructor(){this._localeChanges=new P.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(Ee){return this.isDateInstance(Ee)&&this.isValid(Ee)?Ee:null}deserialize(Ee){return null==Ee||this.isDateInstance(Ee)&&this.isValid(Ee)?Ee:this.invalid()}setLocale(Ee){this.locale=Ee,this._localeChanges.next()}compareDate(Ee,Xe){return this.getYear(Ee)-this.getYear(Xe)||this.getMonth(Ee)-this.getMonth(Xe)||this.getDate(Ee)-this.getDate(Xe)}sameDate(Ee,Xe){if(Ee&&Xe){let se=this.isValid(Ee),ze=this.isValid(Xe);return se&&ze?!this.compareDate(Ee,Xe):se==ze}return Ee==Xe}clampDate(Ee,Xe,se){return Xe&&this.compareDate(Ee,Xe)<0?Xe:se&&this.compareDate(Ee,se)>0?se:Ee}}const Fe=new u.OlP("mat-date-formats"),Ge=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Gt(Ye,Ee){const Xe=Array(Ye);for(let se=0;se {class Ye extends Le{constructor(Xe,se){super(),this.useUtcForDisplay=!1,super.setLocale(Xe)}getYear(Xe){return Xe.getFullYear()}getMonth(Xe){return Xe.getMonth()}getDate(Xe){return Xe.getDate()}getDayOfWeek(Xe){return Xe.getDay()}getMonthNames(Xe){const se=new Intl.DateTimeFormat(this.locale,{month:Xe,timeZone:"utc"});return Gt(12,ze=>this._format(se,new Date(2017,ze,1)))}getDateNames(){const Xe=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Gt(31,se=>this._format(Xe,new Date(2017,0,se+1)))}getDayOfWeekNames(Xe){const se=new Intl.DateTimeFormat(this.locale,{weekday:Xe,timeZone:"utc"});return Gt(7,ze=>this._format(se,new Date(2017,0,ze+1)))}getYearName(Xe){const se=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(se,Xe)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(Xe){return this.getDate(this._createDateWithOverflow(this.getYear(Xe),this.getMonth(Xe)+1,0))}clone(Xe){return new Date(Xe.getTime())}createDate(Xe,se,ze){let ie=this._createDateWithOverflow(Xe,se,ze);return ie.getMonth(),ie}today(){return new Date}parse(Xe,se){return"number"==typeof Xe?new Date(Xe):Xe?new Date(Date.parse(Xe)):null}format(Xe,se){if(!this.isValid(Xe))throw Error("NativeDateAdapter: Cannot format invalid date.");const ze=new Intl.DateTimeFormat(this.locale,{...se,timeZone:"utc"});return this._format(ze,Xe)}addCalendarYears(Xe,se){return this.addCalendarMonths(Xe,12*se)}addCalendarMonths(Xe,se){let ze=this._createDateWithOverflow(this.getYear(Xe),this.getMonth(Xe)+se,this.getDate(Xe));return this.getMonth(ze)!=((this.getMonth(Xe)+se)%12+12)%12&&(ze=this._createDateWithOverflow(this.getYear(ze),this.getMonth(ze),0)),ze}addCalendarDays(Xe,se){return this._createDateWithOverflow(this.getYear(Xe),this.getMonth(Xe),this.getDate(Xe)+se)}toIso8601(Xe){return[Xe.getUTCFullYear(),this._2digit(Xe.getUTCMonth()+1),this._2digit(Xe.getUTCDate())].join("-")}deserialize(Xe){if("string"==typeof Xe){if(!Xe)return null;if(Ge.test(Xe)){let se=new Date(Xe);if(this.isValid(se))return se}}return super.deserialize(Xe)}isDateInstance(Xe){return Xe instanceof Date}isValid(Xe){return!isNaN(Xe.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(Xe,se,ze){const ie=new Date;return ie.setFullYear(Xe,se,ze),ie.setHours(0,0,0,0),ie}_2digit(Xe){return("00"+Xe).slice(-2)}_format(Xe,se){const ze=new Date;return ze.setUTCFullYear(se.getFullYear(),se.getMonth(),se.getDate()),ze.setUTCHours(se.getHours(),se.getMinutes(),se.getSeconds(),se.getMilliseconds()),Xe.format(ze)}}return Ye.\u0275fac=function(Xe){return new(Xe||Ye)(u.LFG(ve,8),u.LFG(T.t4))},Ye.\u0275prov=u.Yz7({token:Ye,factory:Ye.\u0275fac}),Ye})();const ne={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let jt=(()=>{class Ye{}return Ye.\u0275fac=function(Xe){return new(Xe||Ye)},Ye.\u0275mod=u.oAB({type:Ye}),Ye.\u0275inj=u.cJS({providers:[{provide:Le,useClass:Te}]}),Ye})(),re=(()=>{class Ye{}return Ye.\u0275fac=function(Xe){return new(Xe||Ye)},Ye.\u0275mod=u.oAB({type:Ye}),Ye.\u0275inj=u.cJS({providers:[{provide:Fe,useValue:ne}],imports:[jt]}),Ye})(),oe=(()=>{class Ye{isErrorState(Xe,se){return!!(Xe&&Xe.invalid&&(Xe.touched||se&&se.submitted))}}return Ye.\u0275fac=function(Xe){return new(Xe||Ye)},Ye.\u0275prov=u.Yz7({token:Ye,factory:Ye.\u0275fac,providedIn:"root"}),Ye})(),Me=(()=>{class Ye{}return Ye.\u0275fac=function(Xe){return new(Xe||Ye)},Ye.\u0275dir=u.lG2({type:Ye,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),Ye})();function en(Ye,Ee,Xe="mat"){Ye.changes.pipe((0,O.O)(Ye)).subscribe(({length:se})=>{_n(Ee,`${Xe}-2-line`,!1),_n(Ee,`${Xe}-3-line`,!1),_n(Ee,`${Xe}-multi-line`,!1),2===se||3===se?_n(Ee,`${Xe}-${se}-line`,!0):se>3&&_n(Ee,`${Xe}-multi-line`,!0)})}function _n(Ye,Ee,Xe){Ye.nativeElement.classList.toggle(Ee,Xe)}let xe=(()=>{class Ye{}return Ye.\u0275fac=function(Xe){return new(Xe||Ye)},Ye.\u0275mod=u.oAB({type:Ye}),Ye.\u0275inj=u.cJS({imports:[Jt,Jt]}),Ye})();class vn{constructor(Ee,Xe,se,ze=!1){this._renderer=Ee,this.element=Xe,this.config=se,this._animationForciblyDisabledThroughCss=ze,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const ke={enterDuration:225,exitDuration:150},Dn=(0,T.i$)({passive:!0}),ii=["mousedown","touchstart"],_i=["mouseup","mouseleave","touchend","touchcancel"];class oi{constructor(Ee,Xe,se,ze){this._target=Ee,this._ngZone=Xe,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,ze.isBrowser&&(this._containerElement=(0,U.fI)(se))}fadeInRipple(Ee,Xe,se={}){const ze=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),ie={...ke,...se.animation};se.centered&&(Ee=ze.left+ze.width/2,Xe=ze.top+ze.height/2);const rn=se.radius||function Qe(Ye,Ee,Xe){const se=Math.max(Math.abs(Ye-Xe.left),Math.abs(Ye-Xe.right)),ze=Math.max(Math.abs(Ee-Xe.top),Math.abs(Ee-Xe.bottom));return Math.sqrt(se*se+ze*ze)}(Ee,Xe,ze),fn=Ee-ze.left,sn=Xe-ze.top,ge=ie.enterDuration,Nt=document.createElement("div");Nt.classList.add("mat-ripple-element"),Nt.style.left=fn-rn+"px",Nt.style.top=sn-rn+"px",Nt.style.height=2*rn+"px",Nt.style.width=2*rn+"px",null!=se.color&&(Nt.style.backgroundColor=se.color),Nt.style.transitionDuration=`${ge}ms`,this._containerElement.appendChild(Nt);const Se=window.getComputedStyle(Nt),Ae=Se.transitionDuration,Ie="none"===Se.transitionProperty||"0s"===Ae||"0s, 0s"===Ae,Sn=new vn(this,Nt,se,Ie);Nt.style.transform="scale3d(1, 1, 1)",Sn.state=0,se.persistent||(this._mostRecentTransientRipple=Sn);let Ei=null;return!Ie&&(ge||ie.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Vi=()=>this._finishRippleTransition(Sn),cn=()=>this._destroyRipple(Sn);Nt.addEventListener("transitionend",Vi),Nt.addEventListener("transitioncancel",cn),Ei={onTransitionEnd:Vi,onTransitionCancel:cn}}),this._activeRipples.set(Sn,Ei),(Ie||!ge)&&this._finishRippleTransition(Sn),Sn}fadeOutRipple(Ee){if(2===Ee.state||3===Ee.state)return;const Xe=Ee.element,se={...ke,...Ee.config.animation};Xe.style.transitionDuration=`${se.exitDuration}ms`,Xe.style.opacity="0",Ee.state=2,(Ee._animationForciblyDisabledThroughCss||!se.exitDuration)&&this._finishRippleTransition(Ee)}fadeOutAll(){this._getActiveRipples().forEach(Ee=>Ee.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(Ee=>{Ee.config.persistent||Ee.fadeOut()})}setupTriggerEvents(Ee){const Xe=(0,U.fI)(Ee);!Xe||Xe===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Xe,this._registerEvents(ii))}handleEvent(Ee){"mousedown"===Ee.type?this._onMousedown(Ee):"touchstart"===Ee.type?this._onTouchStart(Ee):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(_i),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(Ee){0===Ee.state?this._startFadeOutTransition(Ee):2===Ee.state&&this._destroyRipple(Ee)}_startFadeOutTransition(Ee){const Xe=Ee===this._mostRecentTransientRipple,{persistent:se}=Ee.config;Ee.state=1,!se&&(!Xe||!this._isPointerDown)&&Ee.fadeOut()}_destroyRipple(Ee){const Xe=this._activeRipples.get(Ee)??null;this._activeRipples.delete(Ee),this._activeRipples.size||(this._containerRect=null),Ee===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),Ee.state=3,null!==Xe&&(Ee.element.removeEventListener("transitionend",Xe.onTransitionEnd),Ee.element.removeEventListener("transitioncancel",Xe.onTransitionCancel)),Ee.element.remove()}_onMousedown(Ee){const Xe=(0,p.X6)(Ee),se=this._lastTouchStartEvent&&Date.now() {!Ee.config.persistent&&(1===Ee.state||Ee.config.terminateOnPointerUp&&0===Ee.state)&&Ee.fadeOut()}))}_registerEvents(Ee){this._ngZone.runOutsideAngular(()=>{Ee.forEach(Xe=>{this._triggerElement.addEventListener(Xe,this,Dn)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(ii.forEach(Ee=>{this._triggerElement.removeEventListener(Ee,this,Dn)}),this._pointerUpEventsRegistered&&_i.forEach(Ee=>{this._triggerElement.removeEventListener(Ee,this,Dn)}))}}const te=new u.OlP("mat-ripple-global-options");let it=(()=>{class Ye{constructor(Xe,se,ze,ie,rn){this._elementRef=Xe,this._animationMode=rn,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=ie||{},this._rippleRenderer=new oi(this,se,Xe,ze)}get disabled(){return this._disabled}set disabled(Xe){Xe&&this.fadeOutAllNonPersistent(),this._disabled=Xe,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Xe){this._trigger=Xe,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(Xe,se=0,ze){return"number"==typeof Xe?this._rippleRenderer.fadeInRipple(Xe,se,{...this.rippleConfig,...ze}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...Xe})}}return Ye.\u0275fac=function(Xe){return new(Xe||Ye)(u.Y36(u.SBq),u.Y36(u.R0b),u.Y36(T.t4),u.Y36(te,8),u.Y36(u.QbO,8))},Ye.\u0275dir=u.lG2({type:Ye,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(Xe,se){2&Xe&&u.ekj("mat-ripple-unbounded",se.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),Ye})(),K=(()=>{class Ye{}return Ye.\u0275fac=function(Xe){return new(Xe||Ye)},Ye.\u0275mod=u.oAB({type:Ye}),Ye.\u0275inj=u.cJS({imports:[Jt,Jt]}),Ye})(),Tt=(()=>{class Ye{constructor(Xe){this._animationMode=Xe,this.state="unchecked",this.disabled=!1}}return Ye.\u0275fac=function(Xe){return new(Xe||Ye)(u.Y36(u.QbO,8))},Ye.\u0275cmp=u.Xpm({type:Ye,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(Xe,se){2&Xe&&u.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===se.state)("mat-pseudo-checkbox-checked","checked"===se.state)("mat-pseudo-checkbox-disabled",se.disabled)("_mat-animation-noopable","NoopAnimations"===se._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(Xe,se){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}'],encapsulation:2,changeDetection:0}),Ye})(),Rt=(()=>{class Ye{}return Ye.\u0275fac=function(Xe){return new(Xe||Ye)},Ye.\u0275mod=u.oAB({type:Ye}),Ye.\u0275inj=u.cJS({imports:[Jt]}),Ye})();const le=new u.OlP("MAT_OPTION_PARENT_COMPONENT"),qn=new u.OlP("MatOptgroup");let Di=0;class bo{constructor(Ee,Xe=!1){this.source=Ee,this.isUserInput=Xe}}let hi=(()=>{class Ye{constructor(Xe,se,ze,ie){this._element=Xe,this._changeDetectorRef=se,this._parent=ze,this.group=ie,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Di++,this.onSelectionChange=new u.vpe,this._stateChanges=new P.xQ}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(Xe){this._disabled=(0,U.Ig)(Xe)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(Xe,se){const ze=this._getHostElement();"function"==typeof ze.focus&&ze.focus(se)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(Xe){(Xe.keyCode===L.K5||Xe.keyCode===L.L_)&&!(0,L.Vb)(Xe)&&(this._selectViaInteraction(),Xe.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const Xe=this.viewValue;Xe!==this._mostRecentViewValue&&(this._mostRecentViewValue=Xe,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(Xe=!1){this.onSelectionChange.emit(new bo(this,Xe))}}return Ye.\u0275fac=function(Xe){u.$Z()},Ye.\u0275dir=u.lG2({type:Ye,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),Ye})(),Yn=(()=>{class Ye extends hi{constructor(Xe,se,ze,ie){super(Xe,se,ze,ie)}}return Ye.\u0275fac=function(Xe){return new(Xe||Ye)(u.Y36(u.SBq),u.Y36(u.sBO),u.Y36(le,8),u.Y36(qn,8))},Ye.\u0275cmp=u.Xpm({type:Ye,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(Xe,se){1&Xe&&u.NdJ("click",function(){return se._selectViaInteraction()})("keydown",function(ie){return se._handleKeydown(ie)}),2&Xe&&(u.Ikx("id",se.id),u.uIk("tabindex",se._getTabIndex())("aria-selected",se._getAriaSelected())("aria-disabled",se.disabled.toString()),u.ekj("mat-selected",se.selected)("mat-option-multiple",se.multiple)("mat-active",se.active)("mat-option-disabled",se.disabled))},exportAs:["matOption"],features:[u.qOj],ngContentSelectors:st,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(Xe,se){1&Xe&&(u.F$t(),u.YNc(0,W,1,2,"mat-pseudo-checkbox",0),u.TgZ(1,"span",1),u.Hsn(2),u.qZA(),u.YNc(3,tt,2,1,"span",2),u._UZ(4,"div",3)),2&Xe&&(u.Q6J("ngIf",se.multiple),u.xp6(3),u.Q6J("ngIf",se.group&&se.group._inert),u.xp6(1),u.Q6J("matRippleTrigger",se._getHostElement())("matRippleDisabled",se.disabled||se.disableRipple))},dependencies:[it,t.O5,Tt],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0}),Ye})();function Vn(Ye,Ee,Xe){if(Xe.length){let se=Ee.toArray(),ze=Xe.toArray(),ie=0;for(let rn=0;rn Xe+se?Math.max(0,Ye-se+Ee):Xe}let gn=(()=>{class Ye{}return Ye.\u0275fac=function(Xe){return new(Xe||Ye)},Ye.\u0275mod=u.oAB({type:Ye}),Ye.\u0275inj=u.cJS({imports:[K,t.ez,Jt,Rt]}),Ye})()},99602:(X,j,h)=>{"use strict";h.d(j,{C0:()=>Dn,E2:()=>Xe,FA:()=>Re,Lv:()=>rn,Mq:()=>Nt,S8:()=>Me,Uu:()=>ze,hl:()=>Ei,nW:()=>cn});var u=h(12687),p=h(98184),x=h(84080),v=h(36895),t=h(94650),T=h(4859),U=h(67376),w=h(3238),P=h(8929),O=h(42654),L=h(36787),N=h(21086),V=h(29521),W=h(40445),tt=h(72986),st=h(1059),ct=h(92198),bt=h(21281),Dt=h(83353),wt=h(37340),qt=h(24006),Jt=h(59549),yt=h(284);const At=["mat-calendar-body",""];function xt(we,on){if(1&we&&(t.TgZ(0,"tr",2)(1,"td",3),t._uU(2),t.qZA()()),2&we){const Q=t.oxw();t.xp6(1),t.Udp("padding-top",Q._cellPadding)("padding-bottom",Q._cellPadding),t.uIk("colspan",Q.numCols),t.xp6(1),t.hij(" ",Q.label," ")}}function pt(we,on){if(1&we&&(t.TgZ(0,"td",3),t._uU(1),t.qZA()),2&we){const Q=t.oxw(2);t.Udp("padding-top",Q._cellPadding)("padding-bottom",Q._cellPadding),t.uIk("colspan",Q._firstRowOffset),t.xp6(1),t.hij(" ",Q._firstRowOffset>=Q.labelMinRequiredCells?Q.label:""," ")}}function Ot(we,on){if(1&we){const Q=t.EpF();t.TgZ(0,"td",7)(1,"button",8),t.NdJ("click",function(J){const He=t.CHM(Q).$implicit,zn=t.oxw(2);return t.KtG(zn._cellClicked(He,J))})("focus",function(J){const He=t.CHM(Q).$implicit,zn=t.oxw(2);return t.KtG(zn._emitActiveDateChange(He,J))}),t.TgZ(2,"div",9),t._uU(3),t.qZA(),t._UZ(4,"div",10),t.qZA()()}if(2&we){const Q=on.$implicit,Et=on.index,J=t.oxw().index,Lt=t.oxw();t.Udp("width",Lt._cellWidth)("padding-top",Lt._cellPadding)("padding-bottom",Lt._cellPadding),t.uIk("data-mat-row",J)("data-mat-col",Et),t.xp6(1),t.ekj("mat-calendar-body-disabled",!Q.enabled)("mat-calendar-body-active",Lt._isActiveCell(J,Et))("mat-calendar-body-range-start",Lt._isRangeStart(Q.compareValue))("mat-calendar-body-range-end",Lt._isRangeEnd(Q.compareValue))("mat-calendar-body-in-range",Lt._isInRange(Q.compareValue))("mat-calendar-body-comparison-bridge-start",Lt._isComparisonBridgeStart(Q.compareValue,J,Et))("mat-calendar-body-comparison-bridge-end",Lt._isComparisonBridgeEnd(Q.compareValue,J,Et))("mat-calendar-body-comparison-start",Lt._isComparisonStart(Q.compareValue))("mat-calendar-body-comparison-end",Lt._isComparisonEnd(Q.compareValue))("mat-calendar-body-in-comparison-range",Lt._isInComparisonRange(Q.compareValue))("mat-calendar-body-preview-start",Lt._isPreviewStart(Q.compareValue))("mat-calendar-body-preview-end",Lt._isPreviewEnd(Q.compareValue))("mat-calendar-body-in-preview",Lt._isInPreview(Q.compareValue)),t.Q6J("ngClass",Q.cssClasses)("tabindex",Lt._isActiveCell(J,Et)?0:-1),t.uIk("aria-label",Q.ariaLabel)("aria-disabled",!Q.enabled||null)("aria-pressed",Lt._isSelected(Q.compareValue))("aria-current",Lt.todayValue===Q.compareValue?"date":null),t.xp6(1),t.ekj("mat-calendar-body-selected",Lt._isSelected(Q.compareValue))("mat-calendar-body-comparison-identical",Lt._isComparisonIdentical(Q.compareValue))("mat-calendar-body-today",Lt.todayValue===Q.compareValue),t.xp6(1),t.hij(" ",Q.displayValue," ")}}function Bt(we,on){if(1&we&&(t.TgZ(0,"tr",4),t.YNc(1,pt,2,6,"td",5),t.YNc(2,Ot,5,47,"td",6),t.qZA()),2&we){const Q=on.$implicit,Et=on.index,J=t.oxw();t.xp6(1),t.Q6J("ngIf",0===Et&&J._firstRowOffset),t.xp6(1),t.Q6J("ngForOf",Q)}}function St(we,on){if(1&we&&(t.TgZ(0,"th",5)(1,"span",6),t._uU(2),t.qZA(),t.TgZ(3,"span",7),t._uU(4),t.qZA()()),2&we){const Q=on.$implicit;t.xp6(2),t.Oqu(Q.long),t.xp6(2),t.Oqu(Q.narrow)}}const ce=["*"];function Vt(we,on){}function ve(we,on){if(1&we){const Q=t.EpF();t.TgZ(0,"mat-month-view",5),t.NdJ("activeDateChange",function(J){t.CHM(Q);const Lt=t.oxw();return t.KtG(Lt.activeDate=J)})("_userSelection",function(J){t.CHM(Q);const Lt=t.oxw();return t.KtG(Lt._dateSelected(J))}),t.qZA()}if(2&we){const Q=t.oxw();t.Q6J("activeDate",Q.activeDate)("selected",Q.selected)("dateFilter",Q.dateFilter)("maxDate",Q.maxDate)("minDate",Q.minDate)("dateClass",Q.dateClass)("comparisonStart",Q.comparisonStart)("comparisonEnd",Q.comparisonEnd)}}function fe(we,on){if(1&we){const Q=t.EpF();t.TgZ(0,"mat-year-view",6),t.NdJ("activeDateChange",function(J){t.CHM(Q);const Lt=t.oxw();return t.KtG(Lt.activeDate=J)})("monthSelected",function(J){t.CHM(Q);const Lt=t.oxw();return t.KtG(Lt._monthSelectedInYearView(J))})("selectedChange",function(J){t.CHM(Q);const Lt=t.oxw();return t.KtG(Lt._goToDateInView(J,"month"))}),t.qZA()}if(2&we){const Q=t.oxw();t.Q6J("activeDate",Q.activeDate)("selected",Q.selected)("dateFilter",Q.dateFilter)("maxDate",Q.maxDate)("minDate",Q.minDate)("dateClass",Q.dateClass)}}function Le(we,on){if(1&we){const Q=t.EpF();t.TgZ(0,"mat-multi-year-view",7),t.NdJ("activeDateChange",function(J){t.CHM(Q);const Lt=t.oxw();return t.KtG(Lt.activeDate=J)})("yearSelected",function(J){t.CHM(Q);const Lt=t.oxw();return t.KtG(Lt._yearSelectedInMultiYearView(J))})("selectedChange",function(J){t.CHM(Q);const Lt=t.oxw();return t.KtG(Lt._goToDateInView(J,"year"))}),t.qZA()}if(2&we){const Q=t.oxw();t.Q6J("activeDate",Q.activeDate)("selected",Q.selected)("dateFilter",Q.dateFilter)("maxDate",Q.maxDate)("minDate",Q.minDate)("dateClass",Q.dateClass)}}function Fe(we,on){}const Ge=["button"];function Gt(we,on){1&we&&(t.O4$(),t.TgZ(0,"svg",3),t._UZ(1,"path",4),t.qZA())}const Te=[[["","matDatepickerToggleIcon",""]]],ne=["[matDatepickerToggleIcon]"];let Me=(()=>{class we{constructor(){this.changes=new P.xQ,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(Q,Et){return`${Q} \u2013 ${Et}`}formatYearRangeLabel(Q,Et){return`${Q} to ${Et}`}}return we.\u0275fac=function(Q){return new(Q||we)},we.\u0275prov=t.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we})();class en{constructor(on,Q,Et,J,Lt={},He=on,zn){this.value=on,this.displayValue=Q,this.ariaLabel=Et,this.enabled=J,this.cssClasses=Lt,this.compareValue=He,this.rawValue=zn}}let _n=(()=>{class we{constructor(Q,Et){this._elementRef=Q,this._ngZone=Et,this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new t.vpe,this.previewChange=new t.vpe,this.activeDateChange=new t.vpe,this._enterHandler=J=>{if(this._skipNextFocus&&"focus"===J.type)this._skipNextFocus=!1;else if(J.target&&this.isRange){const Lt=this._getCellFromElement(J.target);Lt&&this._ngZone.run(()=>this.previewChange.emit({value:Lt.enabled?Lt:null,event:J}))}},this._leaveHandler=J=>{null!==this.previewEnd&&this.isRange&&J.target&&this._getCellFromElement(J.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:J}))},Et.runOutsideAngular(()=>{const J=Q.nativeElement;J.addEventListener("mouseenter",this._enterHandler,!0),J.addEventListener("focus",this._enterHandler,!0),J.addEventListener("mouseleave",this._leaveHandler,!0),J.addEventListener("blur",this._leaveHandler,!0)})}ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}_cellClicked(Q,Et){Q.enabled&&this.selectedValueChange.emit({value:Q.value,event:Et})}_emitActiveDateChange(Q,Et){Q.enabled&&this.activeDateChange.emit({value:Q.value,event:Et})}_isSelected(Q){return this.startValue===Q||this.endValue===Q}ngOnChanges(Q){const Et=Q.numCols,{rows:J,numCols:Lt}=this;(Q.rows||Et)&&(this._firstRowOffset=J&&J.length&&J[0].length?Lt-J[0].length:0),(Q.cellAspectRatio||Et||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/Lt+"%"),(Et||!this._cellWidth)&&(this._cellWidth=100/Lt+"%")}ngOnDestroy(){const Q=this._elementRef.nativeElement;Q.removeEventListener("mouseenter",this._enterHandler,!0),Q.removeEventListener("focus",this._enterHandler,!0),Q.removeEventListener("mouseleave",this._leaveHandler,!0),Q.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(Q,Et){let J=Q*this.numCols+Et;return Q&&(J-=this._firstRowOffset),J==this.activeCell}_focusActiveCell(Q=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,tt.q)(1)).subscribe(()=>{setTimeout(()=>{const Et=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");Et&&(Q||(this._skipNextFocus=!0),Et.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(Q){return vn(Q,this.startValue,this.endValue)}_isRangeEnd(Q){return ke(Q,this.startValue,this.endValue)}_isInRange(Q){return un(Q,this.startValue,this.endValue,this.isRange)}_isComparisonStart(Q){return vn(Q,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(Q,Et,J){if(!this._isComparisonStart(Q)||this._isRangeStart(Q)||!this._isInRange(Q))return!1;let Lt=this.rows[Et][J-1];if(!Lt){const He=this.rows[Et-1];Lt=He&&He[He.length-1]}return Lt&&!this._isRangeEnd(Lt.compareValue)}_isComparisonBridgeEnd(Q,Et,J){if(!this._isComparisonEnd(Q)||this._isRangeEnd(Q)||!this._isInRange(Q))return!1;let Lt=this.rows[Et][J+1];if(!Lt){const He=this.rows[Et+1];Lt=He&&He[0]}return Lt&&!this._isRangeStart(Lt.compareValue)}_isComparisonEnd(Q){return ke(Q,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(Q){return un(Q,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(Q){return this.comparisonStart===this.comparisonEnd&&Q===this.comparisonStart}_isPreviewStart(Q){return vn(Q,this.previewStart,this.previewEnd)}_isPreviewEnd(Q){return ke(Q,this.previewStart,this.previewEnd)}_isInPreview(Q){return un(Q,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(Q){let Et;if(xe(Q)?Et=Q:xe(Q.parentNode)&&(Et=Q.parentNode),Et){const J=Et.getAttribute("data-mat-row"),Lt=Et.getAttribute("data-mat-col");if(J&&Lt)return this.rows[parseInt(J)][parseInt(Lt)]}return null}}return we.\u0275fac=function(Q){return new(Q||we)(t.Y36(t.SBq),t.Y36(t.R0b))},we.\u0275cmp=t.Xpm({type:we,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange"},exportAs:["matCalendarBody"],features:[t.TTD],attrs:At,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(Q,Et){1&Q&&(t.YNc(0,xt,3,6,"tr",0),t.YNc(1,Bt,3,2,"tr",1)),2&Q&&(t.Q6J("ngIf",Et._firstRowOffset =on&&we===Q}function un(we,on,Q,Et){return Et&&null!==on&&null!==Q&&on!==Q&&we>=on&&we<=Q}class Dn{constructor(on,Q){this.start=on,this.end=Q}}let ii=(()=>{class we{constructor(Q,Et){this.selection=Q,this._adapter=Et,this._selectionChanged=new P.xQ,this.selectionChanged=this._selectionChanged,this.selection=Q}updateSelection(Q,Et){const J=this.selection;this.selection=Q,this._selectionChanged.next({selection:Q,source:Et,oldValue:J})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(Q){return this._adapter.isDateInstance(Q)&&this._adapter.isValid(Q)}}return we.\u0275fac=function(Q){t.$Z()},we.\u0275prov=t.Yz7({token:we,factory:we.\u0275fac}),we})(),_i=(()=>{class we extends ii{constructor(Q){super(null,Q)}add(Q){super.updateSelection(Q,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const Q=new we(this._adapter);return Q.updateSelection(this.selection,this),Q}}return we.\u0275fac=function(Q){return new(Q||we)(t.LFG(w._A))},we.\u0275prov=t.Yz7({token:we,factory:we.\u0275fac}),we})();const te={provide:ii,deps:[[new t.FiY,new t.tp0,ii],w._A],useFactory:function Qe(we,on){return we||new _i(on)}},Tt=new t.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let hn=(()=>{class we{constructor(Q,Et,J,Lt,He){this._changeDetectorRef=Q,this._dateFormats=Et,this._dateAdapter=J,this._dir=Lt,this._rangeStrategy=He,this._rerenderSubscription=O.w.EMPTY,this.selectedChange=new t.vpe,this._userSelection=new t.vpe,this.activeDateChange=new t.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(Q){const Et=this._activeDate,J=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(J,this.minDate,this.maxDate),this._hasSameMonthAndYear(Et,this._activeDate)||this._init()}get selected(){return this._selected}set selected(Q){this._selected=Q instanceof Dn?Q:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(Q){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q))}get maxDate(){return this._maxDate}set maxDate(Q){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,st.O)(null)).subscribe(()=>this._init())}ngOnChanges(Q){const Et=Q.comparisonStart||Q.comparisonEnd;Et&&!Et.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(Q){const Et=Q.value,J=this._getDateFromDayOfMonth(Et);let Lt,He;this._selected instanceof Dn?(Lt=this._getDateInCurrentMonth(this._selected.start),He=this._getDateInCurrentMonth(this._selected.end)):Lt=He=this._getDateInCurrentMonth(this._selected),(Lt!==Et||He!==Et)&&this.selectedChange.emit(J),this._userSelection.emit({value:J,event:Q.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_updateActiveDate(Q){const J=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(Q.value),this._dateAdapter.compareDate(J,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(Q){const Et=this._activeDate,J=this._isRtl();switch(Q.keyCode){case V.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,J?1:-1);break;case V.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,J?-1:1);break;case V.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case V.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case V.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case V.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case V.Ku:this.activeDate=Q.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case V.VM:this.activeDate=Q.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case V.K5:case V.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&Q.preventDefault());case V.hY:return void(null!=this._previewEnd&&!(0,V.Vb)(Q)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:Q}),Q.preventDefault(),Q.stopPropagation()));default:return}this._dateAdapter.compareDate(Et,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),Q.preventDefault()}_handleCalendarBodyKeyup(Q){(Q.keyCode===V.L_||Q.keyCode===V.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:Q}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let Q=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(Q)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(Q){this._matCalendarBody._focusActiveCell(Q)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:Q,value:Et}){if(this._rangeStrategy){const Lt=this._rangeStrategy.createPreview(Et?Et.rawValue:null,this.selected,Q);this._previewStart=this._getCellCompareValue(Lt.start),this._previewEnd=this._getCellCompareValue(Lt.end),this._changeDetectorRef.detectChanges()}}_getDateFromDayOfMonth(Q){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),Q)}_initWeekdays(){const Q=this._dateAdapter.getFirstDayOfWeek(),Et=this._dateAdapter.getDayOfWeekNames("narrow");let Lt=this._dateAdapter.getDayOfWeekNames("long").map((He,zn)=>({long:He,narrow:Et[zn]}));this._weekdays=Lt.slice(Q).concat(Lt.slice(0,Q))}_createWeekCells(){const Q=this._dateAdapter.getNumDaysInMonth(this.activeDate),Et=this._dateAdapter.getDateNames();this._weeks=[[]];for(let J=0,Lt=this._firstWeekOffset;J =0)&&(!this.maxDate||this._dateAdapter.compareDate(Q,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(Q))}_getDateInCurrentMonth(Q){return Q&&this._hasSameMonthAndYear(Q,this.activeDate)?this._dateAdapter.getDate(Q):null}_hasSameMonthAndYear(Q,Et){return!(!Q||!Et||this._dateAdapter.getMonth(Q)!=this._dateAdapter.getMonth(Et)||this._dateAdapter.getYear(Q)!=this._dateAdapter.getYear(Et))}_getCellCompareValue(Q){if(Q){const Et=this._dateAdapter.getYear(Q),J=this._dateAdapter.getMonth(Q),Lt=this._dateAdapter.getDate(Q);return new Date(Et,J,Lt).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(Q){Q instanceof Dn?(this._rangeStart=this._getCellCompareValue(Q.start),this._rangeEnd=this._getCellCompareValue(Q.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(Q),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(Q){return!this.dateFilter||this.dateFilter(Q)}}return we.\u0275fac=function(Q){return new(Q||we)(t.Y36(t.sBO),t.Y36(w.sG,8),t.Y36(w._A,8),t.Y36(W.Is,8),t.Y36(Tt,8))},we.\u0275cmp=t.Xpm({type:we,selectors:[["mat-month-view"]],viewQuery:function(Q,Et){if(1&Q&&t.Gf(_n,5),2&Q){let J;t.iGM(J=t.CRH())&&(Et._matCalendarBody=J.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[t.TTD],decls:7,vars:13,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","activeDateChange","previewChange","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(Q,Et){1&Q&&(t.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),t.YNc(3,St,5,2,"th",2),t.qZA(),t.TgZ(4,"tr"),t._UZ(5,"th",3),t.qZA()(),t.TgZ(6,"tbody",4),t.NdJ("selectedValueChange",function(Lt){return Et._dateSelected(Lt)})("activeDateChange",function(Lt){return Et._updateActiveDate(Lt)})("previewChange",function(Lt){return Et._previewChanged(Lt)})("keyup",function(Lt){return Et._handleCalendarBodyKeyup(Lt)})("keydown",function(Lt){return Et._handleCalendarBodyKeydown(Lt)}),t.qZA()()),2&Q&&(t.xp6(3),t.Q6J("ngForOf",Et._weekdays),t.xp6(3),t.Q6J("label",Et._monthLabel)("rows",Et._weeks)("todayValue",Et._todayDate)("startValue",Et._rangeStart)("endValue",Et._rangeEnd)("comparisonStart",Et._comparisonRangeStart)("comparisonEnd",Et._comparisonRangeEnd)("previewStart",Et._previewStart)("previewEnd",Et._previewEnd)("isRange",Et._isRange)("labelMinRequiredCells",3)("activeCell",Et._dateAdapter.getDate(Et.activeDate)-1))},dependencies:[v.sg,_n],encapsulation:2,changeDetection:0}),we})(),Di=(()=>{class we{constructor(Q,Et,J){this._changeDetectorRef=Q,this._dateAdapter=Et,this._dir=J,this._rerenderSubscription=O.w.EMPTY,this.selectedChange=new t.vpe,this.yearSelected=new t.vpe,this.activeDateChange=new t.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(Q){let Et=this._activeDate;const J=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(J,this.minDate,this.maxDate),bo(this._dateAdapter,Et,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(Q){this._selected=Q instanceof Dn?Q:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q)),this._setSelectedYear(Q)}get minDate(){return this._minDate}set minDate(Q){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q))}get maxDate(){return this._maxDate}set maxDate(Q){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,st.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const Et=this._dateAdapter.getYear(this._activeDate)-hi(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let J=0,Lt=[];J<24;J++)Lt.push(Et+J),4==Lt.length&&(this._years.push(Lt.map(He=>this._createCellForYear(He))),Lt=[]);this._changeDetectorRef.markForCheck()}_yearSelected(Q){const Et=Q.value,J=this._dateAdapter.createDate(Et,0,1),Lt=this._getDateFromYear(Et);this.yearSelected.emit(J),this.selectedChange.emit(Lt)}_updateActiveDate(Q){const J=this._activeDate;this.activeDate=this._getDateFromYear(Q.value),this._dateAdapter.compareDate(J,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(Q){const Et=this._activeDate,J=this._isRtl();switch(Q.keyCode){case V.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,J?1:-1);break;case V.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,J?-1:1);break;case V.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case V.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case V.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-hi(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case V.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-hi(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case V.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Q.altKey?-240:-24);break;case V.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Q.altKey?240:24);break;case V.K5:case V.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(Et,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),Q.preventDefault()}_handleCalendarBodyKeyup(Q){(Q.keyCode===V.L_||Q.keyCode===V.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:Q}),this._selectionKeyPressed=!1)}_getActiveCell(){return hi(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(Q){const Et=this._dateAdapter.getMonth(this.activeDate),J=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(Q,Et,1));return this._dateAdapter.createDate(Q,Et,Math.min(this._dateAdapter.getDate(this.activeDate),J))}_createCellForYear(Q){const Et=this._dateAdapter.createDate(Q,0,1),J=this._dateAdapter.getYearName(Et),Lt=this.dateClass?this.dateClass(Et,"multi-year"):void 0;return new en(Q,J,J,this._shouldEnableYear(Q),Lt)}_shouldEnableYear(Q){if(null==Q||this.maxDate&&Q>this._dateAdapter.getYear(this.maxDate)||this.minDate&&Q{class we{constructor(Q,Et,J,Lt){this._changeDetectorRef=Q,this._dateFormats=Et,this._dateAdapter=J,this._dir=Lt,this._rerenderSubscription=O.w.EMPTY,this.selectedChange=new t.vpe,this.monthSelected=new t.vpe,this.activeDateChange=new t.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(Q){let Et=this._activeDate;const J=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(J,this.minDate,this.maxDate),this._dateAdapter.getYear(Et)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(Q){this._selected=Q instanceof Dn?Q:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q)),this._setSelectedMonth(Q)}get minDate(){return this._minDate}set minDate(Q){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q))}get maxDate(){return this._maxDate}set maxDate(Q){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,st.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(Q){const Et=Q.value,J=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Et,1);this.monthSelected.emit(J);const Lt=this._getDateFromMonth(Et);this.selectedChange.emit(Lt)}_updateActiveDate(Q){const J=this._activeDate;this.activeDate=this._getDateFromMonth(Q.value),this._dateAdapter.compareDate(J,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(Q){const Et=this._activeDate,J=this._isRtl();switch(Q.keyCode){case V.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,J?1:-1);break;case V.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,J?-1:1);break;case V.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case V.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case V.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case V.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case V.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Q.altKey?-10:-1);break;case V.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Q.altKey?10:1);break;case V.K5:case V.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(Et,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),Q.preventDefault()}_handleCalendarBodyKeyup(Q){(Q.keyCode===V.L_||Q.keyCode===V.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:Q}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let Q=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(Et=>Et.map(J=>this._createCellForMonth(J,Q[J]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(Q){return Q&&this._dateAdapter.getYear(Q)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(Q):null}_getDateFromMonth(Q){const Et=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Q,1),J=this._dateAdapter.getNumDaysInMonth(Et);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Q,Math.min(this._dateAdapter.getDate(this.activeDate),J))}_createCellForMonth(Q,Et){const J=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Q,1),Lt=this._dateAdapter.format(J,this._dateFormats.display.monthYearA11yLabel),He=this.dateClass?this.dateClass(J,"year"):void 0;return new en(Q,Et.toLocaleUpperCase(),Lt,this._shouldEnableMonth(Q),He)}_shouldEnableMonth(Q){const Et=this._dateAdapter.getYear(this.activeDate);if(null==Q||this._isYearAndMonthAfterMaxDate(Et,Q)||this._isYearAndMonthBeforeMinDate(Et,Q))return!1;if(!this.dateFilter)return!0;for(let Lt=this._dateAdapter.createDate(Et,Q,1);this._dateAdapter.getMonth(Lt)==Q;Lt=this._dateAdapter.addCalendarDays(Lt,1))if(this.dateFilter(Lt))return!0;return!1}_isYearAndMonthAfterMaxDate(Q,Et){if(this.maxDate){const J=this._dateAdapter.getYear(this.maxDate),Lt=this._dateAdapter.getMonth(this.maxDate);return Q>J||Q===J&&Et>Lt}return!1}_isYearAndMonthBeforeMinDate(Q,Et){if(this.minDate){const J=this._dateAdapter.getYear(this.minDate),Lt=this._dateAdapter.getMonth(this.minDate);return Q {class we{constructor(Q,Et,J,Lt,He){this._intl=Q,this.calendar=Et,this._dateAdapter=J,this._dateFormats=Lt,this._buttonDescriptionId="mat-calendar-button-"+gn++,this.calendar.stateChanges.subscribe(()=>He.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const Et=this._dateAdapter.getYear(this.calendar.activeDate)-hi(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),J=Et+24-1,Lt=this._dateAdapter.getYearName(this._dateAdapter.createDate(Et,0,1)),He=this._dateAdapter.getYearName(this._dateAdapter.createDate(J,0,1));return this._intl.formatYearRange(Lt,He)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(Q,Et){return"month"==this.calendar.currentView?this._dateAdapter.getYear(Q)==this._dateAdapter.getYear(Et)&&this._dateAdapter.getMonth(Q)==this._dateAdapter.getMonth(Et):"year"==this.calendar.currentView?this._dateAdapter.getYear(Q)==this._dateAdapter.getYear(Et):bo(this._dateAdapter,Q,Et,this.calendar.minDate,this.calendar.maxDate)}}return we.\u0275fac=function(Q){return new(Q||we)(t.Y36(Me),t.Y36((0,t.Gpc)(()=>Ee)),t.Y36(w._A,8),t.Y36(w.sG,8),t.Y36(t.sBO))},we.\u0275cmp=t.Xpm({type:we,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:ce,decls:11,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["viewBox","0 0 10 5","focusable","false",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(Q,Et){1&Q&&(t.F$t(),t.TgZ(0,"div",0)(1,"div",1)(2,"button",2),t.NdJ("click",function(){return Et.currentPeriodClicked()}),t.TgZ(3,"span"),t._uU(4),t.qZA(),t.O4$(),t.TgZ(5,"svg",3),t._UZ(6,"polygon",4),t.qZA()(),t.kcU(),t._UZ(7,"div",5),t.Hsn(8),t.TgZ(9,"button",6),t.NdJ("click",function(){return Et.previousClicked()}),t.qZA(),t.TgZ(10,"button",7),t.NdJ("click",function(){return Et.nextClicked()}),t.qZA()()()),2&Q&&(t.xp6(2),t.uIk("aria-label",Et.periodButtonLabel)("aria-describedby",Et._buttonDescriptionId),t.xp6(1),t.uIk("id",Et._buttonDescriptionId),t.xp6(1),t.Oqu(Et.periodButtonText),t.xp6(1),t.ekj("mat-calendar-invert","month"!==Et.calendar.currentView),t.xp6(4),t.Q6J("disabled",!Et.previousEnabled()),t.uIk("aria-label",Et.prevButtonLabel),t.xp6(1),t.Q6J("disabled",!Et.nextEnabled()),t.uIk("aria-label",Et.nextButtonLabel))},dependencies:[T.lW],encapsulation:2,changeDetection:0}),we})(),Ee=(()=>{class we{constructor(Q,Et,J,Lt){this._dateAdapter=Et,this._dateFormats=J,this._changeDetectorRef=Lt,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new t.vpe,this.yearSelected=new t.vpe,this.monthSelected=new t.vpe,this.viewChanged=new t.vpe(!0),this._userSelection=new t.vpe,this.stateChanges=new P.xQ,this._intlChanges=Q.changes.subscribe(()=>{Lt.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(Q){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q))}get selected(){return this._selected}set selected(Q){this._selected=Q instanceof Dn?Q:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q))}get minDate(){return this._minDate}set minDate(Q){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q))}get maxDate(){return this._maxDate}set maxDate(Q){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q))}get activeDate(){return this._clampedActiveDate}set activeDate(Q){this._clampedActiveDate=this._dateAdapter.clampDate(Q,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(Q){const Et=this._currentView!==Q?Q:null;this._currentView=Q,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),Et&&this.viewChanged.emit(Et)}ngAfterContentInit(){this._calendarHeaderPortal=new x.C5(this.headerComponent||Ye),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(Q){const Et=Q.minDate&&!this._dateAdapter.sameDate(Q.minDate.previousValue,Q.minDate.currentValue)?Q.minDate:void 0,J=Q.maxDate&&!this._dateAdapter.sameDate(Q.maxDate.previousValue,Q.maxDate.currentValue)?Q.maxDate:void 0,Lt=Et||J||Q.dateFilter;if(Lt&&!Lt.firstChange){const He=this._getCurrentViewComponent();He&&(this._changeDetectorRef.detectChanges(),He._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(Q){const Et=Q.value;(this.selected instanceof Dn||Et&&!this._dateAdapter.sameDate(Et,this.selected))&&this.selectedChange.emit(Et),this._userSelection.emit(Q)}_yearSelectedInMultiYearView(Q){this.yearSelected.emit(Q)}_monthSelectedInYearView(Q){this.monthSelected.emit(Q)}_goToDateInView(Q,Et){this.activeDate=Q,this.currentView=Et}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return we.\u0275fac=function(Q){return new(Q||we)(t.Y36(Me),t.Y36(w._A,8),t.Y36(w.sG,8),t.Y36(t.sBO))},we.\u0275cmp=t.Xpm({type:we,selectors:[["mat-calendar"]],viewQuery:function(Q,Et){if(1&Q&&(t.Gf(hn,5),t.Gf(Je,5),t.Gf(Di,5)),2&Q){let J;t.iGM(J=t.CRH())&&(Et.monthView=J.first),t.iGM(J=t.CRH())&&(Et.yearView=J.first),t.iGM(J=t.CRH())&&(Et.multiYearView=J.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[t._Bn([te]),t.TTD],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(Q,Et){1&Q&&(t.YNc(0,Vt,0,0,"ng-template",0),t.TgZ(1,"div",1),t.YNc(2,ve,1,8,"mat-month-view",2),t.YNc(3,fe,1,6,"mat-year-view",3),t.YNc(4,Le,1,6,"mat-multi-year-view",4),t.qZA()),2&Q&&(t.Q6J("cdkPortalOutlet",Et._calendarHeaderPortal),t.xp6(1),t.Q6J("ngSwitch",Et.currentView),t.xp6(1),t.Q6J("ngSwitchCase","month"),t.xp6(1),t.Q6J("ngSwitchCase","year"),t.xp6(1),t.Q6J("ngSwitchCase","multi-year"))},dependencies:[v.RF,v.n9,u.kH,x.Pl,hn,Je,Di],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),we})();const Xe={transformPanel:(0,wt.X$)("transformPanel",[(0,wt.eR)("void => enter-dropdown",(0,wt.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,wt.F4)([(0,wt.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,wt.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,wt.eR)("void => enter-dialog",(0,wt.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,wt.F4)([(0,wt.oB)({opacity:0,transform:"scale(0.7)"}),(0,wt.oB)({transform:"none",opacity:1})]))),(0,wt.eR)("* => void",(0,wt.jt)("100ms linear",(0,wt.oB)({opacity:0})))]),fadeInCalendar:(0,wt.X$)("fadeInCalendar",[(0,wt.SB)("void",(0,wt.oB)({opacity:0})),(0,wt.SB)("enter",(0,wt.oB)({opacity:1})),(0,wt.eR)("void => *",(0,wt.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let se=0;const ze=new t.OlP("mat-datepicker-scroll-strategy"),rn={provide:ze,deps:[p.aV],useFactory:function ie(we){return()=>we.scrollStrategies.reposition()}},fn=(0,w.pj)(class{constructor(we){this._elementRef=we}});let sn=(()=>{class we extends fn{constructor(Q,Et,J,Lt,He,zn){super(Q),this._changeDetectorRef=Et,this._globalModel=J,this._dateAdapter=Lt,this._rangeSelectionStrategy=He,this._subscriptions=new O.w,this._animationDone=new P.xQ,this._actionsPortal=null,this._closeButtonText=zn.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(Q){const Et=this._model.selection,J=Q.value,Lt=Et instanceof Dn;if(Lt&&this._rangeSelectionStrategy){const He=this._rangeSelectionStrategy.selectionFinished(J,Et,Q.event);this._model.updateSelection(He,this)}else J&&(Lt||!this._dateAdapter.sameDate(J,Et))&&this._model.add(J);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(Q,Et){this._model=Q?this._globalModel.clone():this._globalModel,this._actionsPortal=Q,Et&&this._changeDetectorRef.detectChanges()}}return we.\u0275fac=function(Q){return new(Q||we)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(ii),t.Y36(w._A),t.Y36(Tt,8),t.Y36(Me))},we.\u0275cmp=t.Xpm({type:we,selectors:[["mat-datepicker-content"]],viewQuery:function(Q,Et){if(1&Q&&t.Gf(Ee,5),2&Q){let J;t.iGM(J=t.CRH())&&(Et._calendar=J.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(Q,Et){1&Q&&t.WFA("@transformPanel.done",function(){return Et._animationDone.next()}),2&Q&&(t.d8E("@transformPanel",Et._animationState),t.ekj("mat-datepicker-content-touch",Et.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[t.qOj],decls:5,vars:24,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(Q,Et){if(1&Q&&(t.TgZ(0,"div",0)(1,"mat-calendar",1),t.NdJ("yearSelected",function(Lt){return Et.datepicker._selectYear(Lt)})("monthSelected",function(Lt){return Et.datepicker._selectMonth(Lt)})("viewChanged",function(Lt){return Et.datepicker._viewChanged(Lt)})("_userSelection",function(Lt){return Et._handleUserSelection(Lt)}),t.qZA(),t.YNc(2,Fe,0,0,"ng-template",2),t.TgZ(3,"button",3),t.NdJ("focus",function(){return Et._closeButtonFocused=!0})("blur",function(){return Et._closeButtonFocused=!1})("click",function(){return Et.datepicker.close()}),t._uU(4),t.qZA()()),2&Q){let J;t.ekj("mat-datepicker-content-container-with-custom-header",Et.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",Et._actionsPortal),t.uIk("aria-modal",!0)("aria-labelledby",null!==(J=Et._dialogLabelId)&&void 0!==J?J:void 0),t.xp6(1),t.Q6J("id",Et.datepicker.id)("ngClass",Et.datepicker.panelClass)("startAt",Et.datepicker.startAt)("startView",Et.datepicker.startView)("minDate",Et.datepicker._getMinDate())("maxDate",Et.datepicker._getMaxDate())("dateFilter",Et.datepicker._getDateFilter())("headerComponent",Et.datepicker.calendarHeaderComponent)("selected",Et._getSelected())("dateClass",Et.datepicker.dateClass)("comparisonStart",Et.comparisonStart)("comparisonEnd",Et.comparisonEnd)("@fadeInCalendar","enter"),t.xp6(1),t.Q6J("cdkPortalOutlet",Et._actionsPortal),t.xp6(1),t.ekj("cdk-visually-hidden",!Et._closeButtonFocused),t.Q6J("color",Et.color||"primary"),t.xp6(1),t.Oqu(Et._closeButtonText)}},dependencies:[v.mk,T.lW,u.mK,x.Pl,Ee],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[Xe.transformPanel,Xe.fadeInCalendar]},changeDetection:0}),we})(),ge=(()=>{class we{constructor(Q,Et,J,Lt,He,zn,Ki){this._overlay=Q,this._ngZone=Et,this._viewContainerRef=J,this._dateAdapter=He,this._dir=zn,this._model=Ki,this._inputStateChanges=O.w.EMPTY,this._document=(0,t.f3M)(v.K0),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new t.vpe,this.monthSelected=new t.vpe,this.viewChanged=new t.vpe(!0),this.openedStream=new t.vpe,this.closedStream=new t.vpe,this._opened=!1,this.id="mat-datepicker-"+se++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new P.xQ,this._scrollStrategy=Lt}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(Q){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(Q){this._color=Q}get touchUi(){return this._touchUi}set touchUi(Q){this._touchUi=(0,bt.Ig)(Q)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(Q){const Et=(0,bt.Ig)(Q);Et!==this._disabled&&(this._disabled=Et,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(Q){this._restoreFocus=(0,bt.Ig)(Q)}get panelClass(){return this._panelClass}set panelClass(Q){this._panelClass=(0,bt.du)(Q)}get opened(){return this._opened}set opened(Q){(0,bt.Ig)(Q)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(Q){const Et=Q.xPosition||Q.yPosition;if(Et&&!Et.firstChange&&this._overlayRef){const J=this._overlayRef.getConfig().positionStrategy;J instanceof p._G&&(this._setConnectedPositions(J),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(Q){this._model.add(Q)}_selectYear(Q){this.yearSelected.emit(Q)}_selectMonth(Q){this.monthSelected.emit(Q)}_viewChanged(Q){this.viewChanged.emit(Q)}registerInput(Q){return this._inputStateChanges.unsubscribe(),this.datepickerInput=Q,this._inputStateChanges=Q.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(Q){this._actionsPortal=Q,this._componentRef?.instance._assignActions(Q,!0)}removeActions(Q){Q===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||(this._focusedElementBeforeOpen=(0,Dt.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;const Q=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,Et=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:J,location:Lt}=this._componentRef;J._startExitAnimation(),J._animationDone.pipe((0,tt.q)(1)).subscribe(()=>{const He=this._document.activeElement;Q&&(!He||He===this._document.activeElement||Lt.nativeElement.contains(He))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}Q?setTimeout(Et):Et()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(Q){Q.datepicker=this,Q.color=this.color,Q._dialogLabelId=this.datepickerInput.getOverlayLabelId(),Q._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const Q=this.touchUi,Et=new x.C5(sn,this._viewContainerRef),J=this._overlayRef=this._overlay.create(new p.X_({positionStrategy:Q?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[Q?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:Q?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(Q?"dialog":"popup")}));this._getCloseStream(J).subscribe(Lt=>{Lt&&Lt.preventDefault(),this.close()}),J.keydownEvents().subscribe(Lt=>{const He=Lt.keyCode;(He===V.LH||He===V.JH||He===V.oh||He===V.SV||He===V.Ku||He===V.VM)&&Lt.preventDefault()}),this._componentRef=J.attach(Et),this._forwardContentValues(this._componentRef.instance),Q||this._ngZone.onStable.pipe((0,tt.q)(1)).subscribe(()=>J.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const Q=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(Q)}_setConnectedPositions(Q){const Et="end"===this.xPosition?"end":"start",J="start"===Et?"end":"start",Lt="above"===this.yPosition?"bottom":"top",He="top"===Lt?"bottom":"top";return Q.withPositions([{originX:Et,originY:He,overlayX:Et,overlayY:Lt},{originX:Et,originY:Lt,overlayX:Et,overlayY:He},{originX:J,originY:He,overlayX:J,overlayY:Lt},{originX:J,originY:Lt,overlayX:J,overlayY:He}])}_getCloseStream(Q){return(0,L.T)(Q.backdropClick(),Q.detachments(),Q.keydownEvents().pipe((0,ct.h)(Et=>Et.keyCode===V.hY&&!(0,V.Vb)(Et)||this.datepickerInput&&(0,V.Vb)(Et,"altKey")&&Et.keyCode===V.LH)))}}return we.\u0275fac=function(Q){return new(Q||we)(t.Y36(p.aV),t.Y36(t.R0b),t.Y36(t.s_b),t.Y36(ze),t.Y36(w._A,8),t.Y36(W.Is,8),t.Y36(ii))},we.\u0275dir=t.lG2({type:we,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[t.TTD]}),we})(),Nt=(()=>{class we extends ge{}return we.\u0275fac=function(){let on;return function(Et){return(on||(on=t.n5z(we)))(Et||we)}}(),we.\u0275cmp=t.Xpm({type:we,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[t._Bn([te,{provide:ge,useExisting:we}]),t.qOj],decls:0,vars:0,template:function(Q,Et){},encapsulation:2,changeDetection:0}),we})();class Se{constructor(on,Q){this.target=on,this.targetElement=Q,this.value=this.target.value}}let zt=(()=>{class we{constructor(Q,Et,J){this._elementRef=Q,this._dateAdapter=Et,this._dateFormats=J,this.dateChange=new t.vpe,this.dateInput=new t.vpe,this.stateChanges=new P.xQ,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=O.w.EMPTY,this._localeSubscription=O.w.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=Lt=>{const He=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Lt.value));return!He||this._matchesFilter(He)?null:{matDatepickerFilter:!0}},this._minValidator=Lt=>{const He=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Lt.value)),zn=this._getMinDate();return!zn||!He||this._dateAdapter.compareDate(zn,He)<=0?null:{matDatepickerMin:{min:zn,actual:He}}},this._maxValidator=Lt=>{const He=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Lt.value)),zn=this._getMaxDate();return!zn||!He||this._dateAdapter.compareDate(zn,He)>=0?null:{matDatepickerMax:{max:zn,actual:He}}},this._lastValueValid=!1,this._localeSubscription=Et.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(Q){this._assignValueProgrammatically(Q)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(Q){const Et=(0,bt.Ig)(Q),J=this._elementRef.nativeElement;this._disabled!==Et&&(this._disabled=Et,this.stateChanges.next(void 0)),Et&&this._isInitialized&&J.blur&&J.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(Q){this._model=Q,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(Et=>{if(this._shouldHandleChangeEvent(Et)){const J=this._getValueFromModel(Et.selection);this._lastValueValid=this._isValidValue(J),this._cvaOnChange(J),this._onTouched(),this._formatValue(J),this.dateInput.emit(new Se(this,this._elementRef.nativeElement)),this.dateChange.emit(new Se(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(Q){(function Ae(we,on){const Q=Object.keys(we);for(let Et of Q){const{previousValue:J,currentValue:Lt}=we[Et];if(!on.isDateInstance(J)||!on.isDateInstance(Lt))return!0;if(!on.sameDate(J,Lt))return!0}return!1})(Q,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(Q){this._validatorOnChange=Q}validate(Q){return this._validator?this._validator(Q):null}writeValue(Q){this._assignValueProgrammatically(Q)}registerOnChange(Q){this._cvaOnChange=Q}registerOnTouched(Q){this._onTouched=Q}setDisabledState(Q){this.disabled=Q}_onKeydown(Q){Q.altKey&&Q.keyCode===V.JH&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),Q.preventDefault())}_onInput(Q){const Et=this._lastValueValid;let J=this._dateAdapter.parse(Q,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(J),J=this._dateAdapter.getValidDateOrNull(J);const Lt=!this._dateAdapter.sameDate(J,this.value);!J||Lt?this._cvaOnChange(J):(Q&&!this.value&&this._cvaOnChange(J),Et!==this._lastValueValid&&this._validatorOnChange()),Lt&&(this._assignValue(J),this.dateInput.emit(new Se(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Se(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(Q){this._elementRef.nativeElement.value=null!=Q?this._dateAdapter.format(Q,this._dateFormats.display.dateInput):""}_assignValue(Q){this._model?(this._assignValueToModel(Q),this._pendingValue=null):this._pendingValue=Q}_isValidValue(Q){return!Q||this._dateAdapter.isValid(Q)}_parentDisabled(){return!1}_assignValueProgrammatically(Q){Q=this._dateAdapter.deserialize(Q),this._lastValueValid=this._isValidValue(Q),Q=this._dateAdapter.getValidDateOrNull(Q),this._assignValue(Q),this._formatValue(Q)}_matchesFilter(Q){const Et=this._getDateFilter();return!Et||Et(Q)}}return we.\u0275fac=function(Q){return new(Q||we)(t.Y36(t.SBq),t.Y36(w._A,8),t.Y36(w.sG,8))},we.\u0275dir=t.lG2({type:we,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[t.TTD]}),we})();const Ie={provide:qt.JU,useExisting:(0,t.Gpc)(()=>Ei),multi:!0},Sn={provide:qt.Cf,useExisting:(0,t.Gpc)(()=>Ei),multi:!0};let Ei=(()=>{class we extends zt{constructor(Q,Et,J,Lt){super(Q,Et,J),this._formField=Lt,this._closedSubscription=O.w.EMPTY,this._validator=qt.kI.compose(super._getValidators())}set matDatepicker(Q){Q&&(this._datepicker=Q,this._closedSubscription=Q.closedStream.subscribe(()=>this._onTouched()),this._registerModel(Q.registerInput(this)))}get min(){return this._min}set min(Q){const Et=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q));this._dateAdapter.sameDate(Et,this._min)||(this._min=Et,this._validatorOnChange())}get max(){return this._max}set max(Q){const Et=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q));this._dateAdapter.sameDate(Et,this._max)||(this._max=Et,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(Q){const Et=this._matchesFilter(this.value);this._dateFilter=Q,this._matchesFilter(this.value)!==Et&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(Q){return Q}_assignValueToModel(Q){this._model&&this._model.updateSelection(Q,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(Q){return Q.source!==this}}return we.\u0275fac=function(Q){return new(Q||we)(t.Y36(t.SBq),t.Y36(w._A,8),t.Y36(w.sG,8),t.Y36(Jt.G_,8))},we.\u0275dir=t.lG2({type:we,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(Q,Et){1&Q&&t.NdJ("input",function(Lt){return Et._onInput(Lt.target.value)})("change",function(){return Et._onChange()})("blur",function(){return Et._onBlur()})("keydown",function(Lt){return Et._onKeydown(Lt)}),2&Q&&(t.Ikx("disabled",Et.disabled),t.uIk("aria-haspopup",Et._datepicker?"dialog":null)("aria-owns",(null==Et._datepicker?null:Et._datepicker.opened)&&Et._datepicker.id||null)("min",Et.min?Et._dateAdapter.toIso8601(Et.min):null)("max",Et.max?Et._dateAdapter.toIso8601(Et.max):null)("data-mat-calendar",Et._datepicker?Et._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[t._Bn([Ie,Sn,{provide:yt.Jk,useExisting:we}]),t.qOj]}),we})(),Vi=(()=>{class we{}return we.\u0275fac=function(Q){return new(Q||we)},we.\u0275dir=t.lG2({type:we,selectors:[["","matDatepickerToggleIcon",""]]}),we})(),cn=(()=>{class we{constructor(Q,Et,J){this._intl=Q,this._changeDetectorRef=Et,this._stateChanges=O.w.EMPTY;const Lt=Number(J);this.tabIndex=Lt||0===Lt?Lt:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(Q){this._disabled=(0,bt.Ig)(Q)}ngOnChanges(Q){Q.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(Q){this.datepicker&&!this.disabled&&(this.datepicker.open(),Q.stopPropagation())}_watchStateChanges(){const Q=this.datepicker?this.datepicker.stateChanges:(0,N.of)(),Et=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,N.of)(),J=this.datepicker?(0,L.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,N.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,L.T)(this._intl.changes,Q,Et,J).subscribe(()=>this._changeDetectorRef.markForCheck())}}return we.\u0275fac=function(Q){return new(Q||we)(t.Y36(Me),t.Y36(t.sBO),t.$8M("tabindex"))},we.\u0275cmp=t.Xpm({type:we,selectors:[["mat-datepicker-toggle"]],contentQueries:function(Q,Et,J){if(1&Q&&t.Suo(J,Vi,5),2&Q){let Lt;t.iGM(Lt=t.CRH())&&(Et._customIcon=Lt.first)}},viewQuery:function(Q,Et){if(1&Q&&t.Gf(Ge,5),2&Q){let J;t.iGM(J=t.CRH())&&(Et._button=J.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(Q,Et){1&Q&&t.NdJ("click",function(Lt){return Et._open(Lt)}),2&Q&&(t.uIk("tabindex",null)("data-mat-calendar",Et.datepicker?Et.datepicker.id:null),t.ekj("mat-datepicker-toggle-active",Et.datepicker&&Et.datepicker.opened)("mat-accent",Et.datepicker&&"accent"===Et.datepicker.color)("mat-warn",Et.datepicker&&"warn"===Et.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[t.TTD],ngContentSelectors:ne,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(Q,Et){1&Q&&(t.F$t(Te),t.TgZ(0,"button",0,1),t.YNc(2,Gt,2,0,"svg",2),t.Hsn(3),t.qZA()),2&Q&&(t.Q6J("disabled",Et.disabled)("disableRipple",Et.disableRipple),t.uIk("aria-haspopup",Et.datepicker?"dialog":null)("aria-label",Et.ariaLabel||Et._intl.openCalendarLabel)("tabindex",Et.disabled?-1:Et.tabIndex),t.xp6(2),t.Q6J("ngIf",!Et._customIcon))},dependencies:[v.O5,T.lW],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0}),we})(),Re=(()=>{class we{}return we.\u0275fac=function(Q){return new(Q||we)},we.\u0275mod=t.oAB({type:we}),we.\u0275inj=t.cJS({providers:[Me,rn],imports:[v.ez,T.ot,p.U8,u.rt,x.eL,w.BQ,U.ZD]}),we})()},65412:(X,j,h)=>{"use strict";h.d(j,{WI:()=>jt,uw:()=>vn,H8:()=>_i,ZT:()=>un,xY:()=>ii,Is:()=>Qe,so:()=>Te,uh:()=>Dn});var u=h(12687),p=h(98184),x=h(83353),v=h(84080),t=h(36895),T=h(94650),U=h(29521),w=h(8929),P=h(88514),O=h(21086),L=h(40445),N=h(1059);function V(te,it){}class W{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0}}let st=(()=>{class te extends v.en{constructor(K,Tt,Rt,le,be,De,hn,qn){super(),this._elementRef=K,this._focusTrapFactory=Tt,this._config=le,this._interactivityChecker=be,this._ngZone=De,this._overlayRef=hn,this._focusMonitor=qn,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=mi=>{this._portalOutlet.hasAttached();const Di=this._portalOutlet.attachDomPortal(mi);return this._contentAttached(),Di},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=Rt}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(K){this._portalOutlet.hasAttached();const Tt=this._portalOutlet.attachComponentPortal(K);return this._contentAttached(),Tt}attachTemplatePortal(K){this._portalOutlet.hasAttached();const Tt=this._portalOutlet.attachTemplatePortal(K);return this._contentAttached(),Tt}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(K,Tt){this._interactivityChecker.isFocusable(K)||(K.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Rt=()=>{K.removeEventListener("blur",Rt),K.removeEventListener("mousedown",Rt),K.removeAttribute("tabindex")};K.addEventListener("blur",Rt),K.addEventListener("mousedown",Rt)})),K.focus(Tt)}_focusByCssSelector(K,Tt){let Rt=this._elementRef.nativeElement.querySelector(K);Rt&&this._forceFocus(Rt,Tt)}_trapFocus(){const K=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||K.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(Tt=>{Tt||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const K=this._config.restoreFocus;let Tt=null;if("string"==typeof K?Tt=this._document.querySelector(K):"boolean"==typeof K?Tt=K?this._elementFocusedBeforeDialogWasOpened:null:K&&(Tt=K),this._config.restoreFocus&&Tt&&"function"==typeof Tt.focus){const Rt=(0,x.ht)(),le=this._elementRef.nativeElement;(!Rt||Rt===this._document.body||Rt===le||le.contains(Rt))&&(this._focusMonitor?(this._focusMonitor.focusVia(Tt,this._closeInteractionType),this._closeInteractionType=null):Tt.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const K=this._elementRef.nativeElement,Tt=(0,x.ht)();return K===Tt||K.contains(Tt)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,x.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return te.\u0275fac=function(K){return new(K||te)(T.Y36(T.SBq),T.Y36(u.qV),T.Y36(t.K0,8),T.Y36(W),T.Y36(u.ic),T.Y36(T.R0b),T.Y36(p.Iu),T.Y36(u.tE))},te.\u0275cmp=T.Xpm({type:te,selectors:[["cdk-dialog-container"]],viewQuery:function(K,Tt){if(1&K&&T.Gf(v.Pl,7),2&K){let Rt;T.iGM(Rt=T.CRH())&&(Tt._portalOutlet=Rt.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(K,Tt){2&K&&T.uIk("id",Tt._config.id||null)("role",Tt._config.role)("aria-modal",Tt._config.ariaModal)("aria-labelledby",Tt._config.ariaLabel?null:Tt._ariaLabelledBy)("aria-label",Tt._config.ariaLabel)("aria-describedby",Tt._config.ariaDescribedBy||null)},features:[T.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(K,Tt){1&K&&T.YNc(0,V,0,0,"ng-template",0)},dependencies:[v.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),te})();class ct{constructor(it,K){this.overlayRef=it,this.config=K,this.closed=new w.xQ,this.disableClose=K.disableClose,this.backdropClick=it.backdropClick(),this.keydownEvents=it.keydownEvents(),this.outsidePointerEvents=it.outsidePointerEvents(),this.id=K.id,this.keydownEvents.subscribe(Tt=>{Tt.keyCode===U.hY&&!this.disableClose&&!(0,U.Vb)(Tt)&&(Tt.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(it,K){if(this.containerInstance){const Tt=this.closed;this.containerInstance._closeInteractionType=K?.focusOrigin||"program",this.overlayRef.dispose(),Tt.next(it),Tt.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(it="",K=""){return this.overlayRef.updateSize({width:it,height:K}),this}addPanelClass(it){return this.overlayRef.addPanelClass(it),this}removePanelClass(it){return this.overlayRef.removePanelClass(it),this}}const bt=new T.OlP("DialogScrollStrategy"),Dt=new T.OlP("DialogData"),wt=new T.OlP("DefaultDialogConfig"),Jt={provide:bt,deps:[p.aV],useFactory:function qt(te){return()=>te.scrollStrategies.block()}};let yt=0,At=(()=>{class te{constructor(K,Tt,Rt,le,be,De){this._overlay=K,this._injector=Tt,this._defaultOptions=Rt,this._parentDialog=le,this._overlayContainer=be,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new w.xQ,this._afterOpenedAtThisLevel=new w.xQ,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,P.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,N.O)(void 0))),this._scrollStrategy=De}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(K,Tt){(Tt={...this._defaultOptions||new W,...Tt}).id=Tt.id||"cdk-dialog-"+yt++,Tt.id&&this.getDialogById(Tt.id);const le=this._getOverlayConfig(Tt),be=this._overlay.create(le),De=new ct(be,Tt),hn=this._attachContainer(be,De,Tt);return De.containerInstance=hn,this._attachDialogContent(K,De,hn,Tt),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(De),De.closed.subscribe(()=>this._removeOpenDialog(De,!0)),this.afterOpened.next(De),De}closeAll(){xt(this.openDialogs,K=>K.close())}getDialogById(K){return this.openDialogs.find(Tt=>Tt.id===K)}ngOnDestroy(){xt(this._openDialogsAtThisLevel,K=>{!1===K.config.closeOnDestroy&&this._removeOpenDialog(K,!1)}),xt(this._openDialogsAtThisLevel,K=>K.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(K){const Tt=new p.X_({positionStrategy:K.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:K.scrollStrategy||this._scrollStrategy(),panelClass:K.panelClass,hasBackdrop:K.hasBackdrop,direction:K.direction,minWidth:K.minWidth,minHeight:K.minHeight,maxWidth:K.maxWidth,maxHeight:K.maxHeight,width:K.width,height:K.height,disposeOnNavigation:K.closeOnNavigation});return K.backdropClass&&(Tt.backdropClass=K.backdropClass),Tt}_attachContainer(K,Tt,Rt){const le=Rt.injector||Rt.viewContainerRef?.injector,be=[{provide:W,useValue:Rt},{provide:ct,useValue:Tt},{provide:p.Iu,useValue:K}];let De;Rt.container?"function"==typeof Rt.container?De=Rt.container:(De=Rt.container.type,be.push(...Rt.container.providers(Rt))):De=st;const hn=new v.C5(De,Rt.viewContainerRef,T.zs3.create({parent:le||this._injector,providers:be}),Rt.componentFactoryResolver);return K.attach(hn).instance}_attachDialogContent(K,Tt,Rt,le){if(K instanceof T.Rgc){const be=this._createInjector(le,Tt,Rt,void 0);let De={$implicit:le.data,dialogRef:Tt};le.templateContext&&(De={...De,..."function"==typeof le.templateContext?le.templateContext():le.templateContext}),Rt.attachTemplatePortal(new v.UE(K,null,De,be))}else{const be=this._createInjector(le,Tt,Rt,this._injector),De=Rt.attachComponentPortal(new v.C5(K,le.viewContainerRef,be,le.componentFactoryResolver));Tt.componentInstance=De.instance}}_createInjector(K,Tt,Rt,le){const be=K.injector||K.viewContainerRef?.injector,De=[{provide:Dt,useValue:K.data},{provide:ct,useValue:Tt}];return K.providers&&("function"==typeof K.providers?De.push(...K.providers(Tt,K,Rt)):De.push(...K.providers)),K.direction&&(!be||!be.get(L.Is,null,T.XFs.Optional))&&De.push({provide:L.Is,useValue:{value:K.direction,change:(0,O.of)()}}),T.zs3.create({parent:be||le,providers:De})}_removeOpenDialog(K,Tt){const Rt=this.openDialogs.indexOf(K);Rt>-1&&(this.openDialogs.splice(Rt,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((le,be)=>{le?be.setAttribute("aria-hidden",le):be.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),Tt&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const K=this._overlayContainer.getContainerElement();if(K.parentElement){const Tt=K.parentElement.children;for(let Rt=Tt.length-1;Rt>-1;Rt--){const le=Tt[Rt];le!==K&&"SCRIPT"!==le.nodeName&&"STYLE"!==le.nodeName&&!le.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(le,le.getAttribute("aria-hidden")),le.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const K=this._parentDialog;return K?K._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return te.\u0275fac=function(K){return new(K||te)(T.LFG(p.aV),T.LFG(T.zs3),T.LFG(wt,8),T.LFG(te,12),T.LFG(p.Xj),T.LFG(bt))},te.\u0275prov=T.Yz7({token:te,factory:te.\u0275fac}),te})();function xt(te,it){let K=te.length;for(;K--;)it(te[K])}let pt=(()=>{class te{}return te.\u0275fac=function(K){return new(K||te)},te.\u0275mod=T.oAB({type:te}),te.\u0275inj=T.cJS({providers:[At,Jt],imports:[p.U8,v.eL,u.rt,v.eL]}),te})();var Ot=h(3238),Bt=h(36787),St=h(92198),ce=h(72986),Vt=h(37340);function ve(te,it){}const fe={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},Le={dialogContainer:(0,Vt.X$)("dialogContainer",[(0,Vt.SB)("void, exit",(0,Vt.oB)({opacity:0,transform:"scale(0.7)"})),(0,Vt.SB)("enter",(0,Vt.oB)({transform:"none"})),(0,Vt.eR)("* => enter",(0,Vt.ru)([(0,Vt.jt)("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",(0,Vt.oB)({transform:"none",opacity:1})),(0,Vt.IO)("@*",(0,Vt.pV)(),{optional:!0})]),fe),(0,Vt.eR)("* => void, * => exit",(0,Vt.ru)([(0,Vt.jt)("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",(0,Vt.oB)({opacity:0})),(0,Vt.IO)("@*",(0,Vt.pV)(),{optional:!0})]),fe)])};class Fe{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0,this.enterAnimationDuration=fe.params.enterAnimationDuration,this.exitAnimationDuration=fe.params.exitAnimationDuration}}let Ge=(()=>{class te extends st{constructor(K,Tt,Rt,le,be,De,hn,qn){super(K,Tt,Rt,le,be,De,hn,qn),this._animationStateChanged=new T.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(K){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:K})}}return te.\u0275fac=function(K){return new(K||te)(T.Y36(T.SBq),T.Y36(u.qV),T.Y36(t.K0,8),T.Y36(Fe),T.Y36(u.ic),T.Y36(T.R0b),T.Y36(p.Iu),T.Y36(u.tE))},te.\u0275cmp=T.Xpm({type:te,selectors:[["ng-component"]],features:[T.qOj],decls:0,vars:0,template:function(K,Tt){},encapsulation:2}),te})(),Gt=(()=>{class te extends Ge{constructor(K,Tt,Rt,le,be,De,hn,qn,mi){super(K,Tt,Rt,le,be,De,hn,mi),this._changeDetectorRef=qn,this._state="enter"}_onAnimationDone({toState:K,totalTime:Tt}){"enter"===K?this._openAnimationDone(Tt):"exit"===K&&this._animationStateChanged.next({state:"closed",totalTime:Tt})}_onAnimationStart({toState:K,totalTime:Tt}){"enter"===K?this._animationStateChanged.next({state:"opening",totalTime:Tt}):("exit"===K||"void"===K)&&this._animationStateChanged.next({state:"closing",totalTime:Tt})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||fe.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||fe.params.exitAnimationDuration}}}}return te.\u0275fac=function(K){return new(K||te)(T.Y36(T.SBq),T.Y36(u.qV),T.Y36(t.K0,8),T.Y36(Fe),T.Y36(u.ic),T.Y36(T.R0b),T.Y36(p.Iu),T.Y36(T.sBO),T.Y36(u.tE))},te.\u0275cmp=T.Xpm({type:te,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(K,Tt){1&K&&T.WFA("@dialogContainer.start",function(le){return Tt._onAnimationStart(le)})("@dialogContainer.done",function(le){return Tt._onAnimationDone(le)}),2&K&&(T.Ikx("id",Tt._config.id),T.uIk("aria-modal",Tt._config.ariaModal)("role",Tt._config.role)("aria-labelledby",Tt._config.ariaLabel?null:Tt._ariaLabelledBy)("aria-label",Tt._config.ariaLabel)("aria-describedby",Tt._config.ariaDescribedBy||null),T.d8E("@dialogContainer",Tt._getAnimationState()))},features:[T.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(K,Tt){1&K&&T.YNc(0,ve,0,0,"ng-template",0)},dependencies:[v.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,data:{animation:[Le.dialogContainer]}}),te})();class Te{constructor(it,K,Tt){this._ref=it,this._containerInstance=Tt,this._afterOpened=new w.xQ,this._beforeClosed=new w.xQ,this._state=0,this.disableClose=K.disableClose,this.id=it.id,Tt._animationStateChanged.pipe((0,St.h)(Rt=>"opened"===Rt.state),(0,ce.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),Tt._animationStateChanged.pipe((0,St.h)(Rt=>"closed"===Rt.state),(0,ce.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),it.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,Bt.T)(this.backdropClick(),this.keydownEvents().pipe((0,St.h)(Rt=>Rt.keyCode===U.hY&&!this.disableClose&&!(0,U.Vb)(Rt)))).subscribe(Rt=>{this.disableClose||(Rt.preventDefault(),ne(this,"keydown"===Rt.type?"keyboard":"mouse"))})}close(it){this._result=it,this._containerInstance._animationStateChanged.pipe((0,St.h)(K=>"closing"===K.state),(0,ce.q)(1)).subscribe(K=>{this._beforeClosed.next(it),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),K.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(it){let K=this._ref.config.positionStrategy;return it&&(it.left||it.right)?it.left?K.left(it.left):K.right(it.right):K.centerHorizontally(),it&&(it.top||it.bottom)?it.top?K.top(it.top):K.bottom(it.bottom):K.centerVertically(),this._ref.updatePosition(),this}updateSize(it="",K=""){return this._ref.updateSize(it,K),this}addPanelClass(it){return this._ref.addPanelClass(it),this}removePanelClass(it){return this._ref.removePanelClass(it),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function ne(te,it,K){return te._closeInteractionType=it,te.close(K)}const jt=new T.OlP("MatDialogData"),re=new T.OlP("mat-dialog-default-options"),Xt=new T.OlP("mat-dialog-scroll-strategy"),en={provide:Xt,deps:[p.aV],useFactory:function Me(te){return()=>te.scrollStrategies.block()}};let _n=0,xe=(()=>{class te{constructor(K,Tt,Rt,le,be,De,hn,qn,mi,Di){this._overlay=K,this._defaultOptions=Rt,this._parentDialog=le,this._dialogRefConstructor=hn,this._dialogContainerType=qn,this._dialogDataToken=mi,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new w.xQ,this._afterOpenedAtThisLevel=new w.xQ,this._idPrefix="mat-dialog-",this.afterAllClosed=(0,P.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,N.O)(void 0))),this._scrollStrategy=De,this._dialog=Tt.get(At)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const K=this._parentDialog;return K?K._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(K,Tt){let Rt;(Tt={...this._defaultOptions||new Fe,...Tt}).id=Tt.id||`${this._idPrefix}${_n++}`,Tt.scrollStrategy=Tt.scrollStrategy||this._scrollStrategy();const le=this._dialog.open(K,{...Tt,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:Fe,useValue:Tt},{provide:W,useValue:Tt}]},templateContext:()=>({dialogRef:Rt}),providers:(be,De,hn)=>(Rt=new this._dialogRefConstructor(be,Tt,hn),Rt.updatePosition(Tt?.position),[{provide:this._dialogContainerType,useValue:hn},{provide:this._dialogDataToken,useValue:De.data},{provide:this._dialogRefConstructor,useValue:Rt}])});return Rt.componentInstance=le.componentInstance,this.openDialogs.push(Rt),this.afterOpened.next(Rt),Rt.afterClosed().subscribe(()=>{const be=this.openDialogs.indexOf(Rt);be>-1&&(this.openDialogs.splice(be,1),this.openDialogs.length||this._getAfterAllClosed().next())}),Rt}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(K){return this.openDialogs.find(Tt=>Tt.id===K)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(K){let Tt=K.length;for(;Tt--;)K[Tt].close()}}return te.\u0275fac=function(K){T.$Z()},te.\u0275prov=T.Yz7({token:te,factory:te.\u0275fac}),te})(),vn=(()=>{class te extends xe{constructor(K,Tt,Rt,le,be,De,hn,qn){super(K,Tt,le,De,hn,be,Te,Gt,jt,qn)}}return te.\u0275fac=function(K){return new(K||te)(T.LFG(p.aV),T.LFG(T.zs3),T.LFG(t.Ye,8),T.LFG(re,8),T.LFG(Xt),T.LFG(te,12),T.LFG(p.Xj),T.LFG(T.QbO,8))},te.\u0275prov=T.Yz7({token:te,factory:te.\u0275fac}),te})(),ke=0,un=(()=>{class te{constructor(K,Tt,Rt){this.dialogRef=K,this._elementRef=Tt,this._dialog=Rt,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=oi(this._elementRef,this._dialog.openDialogs))}ngOnChanges(K){const Tt=K._matDialogClose||K._matDialogCloseResult;Tt&&(this.dialogResult=Tt.currentValue)}_onButtonClick(K){ne(this.dialogRef,0===K.screenX&&0===K.screenY?"keyboard":"mouse",this.dialogResult)}}return te.\u0275fac=function(K){return new(K||te)(T.Y36(Te,8),T.Y36(T.SBq),T.Y36(vn))},te.\u0275dir=T.lG2({type:te,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(K,Tt){1&K&&T.NdJ("click",function(le){return Tt._onButtonClick(le)}),2&K&&T.uIk("aria-label",Tt.ariaLabel||null)("type",Tt.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[T.TTD]}),te})(),Dn=(()=>{class te{constructor(K,Tt,Rt){this._dialogRef=K,this._elementRef=Tt,this._dialog=Rt,this.id="mat-dialog-title-"+ke++}ngOnInit(){this._dialogRef||(this._dialogRef=oi(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const K=this._dialogRef._containerInstance;K&&!K._ariaLabelledBy&&(K._ariaLabelledBy=this.id)})}}return te.\u0275fac=function(K){return new(K||te)(T.Y36(Te,8),T.Y36(T.SBq),T.Y36(vn))},te.\u0275dir=T.lG2({type:te,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(K,Tt){2&K&&T.Ikx("id",Tt.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),te})(),ii=(()=>{class te{}return te.\u0275fac=function(K){return new(K||te)},te.\u0275dir=T.lG2({type:te,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),te})(),_i=(()=>{class te{constructor(){this.align="start"}}return te.\u0275fac=function(K){return new(K||te)},te.\u0275dir=T.lG2({type:te,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function(K,Tt){2&K&&T.ekj("mat-dialog-actions-align-center","center"===Tt.align)("mat-dialog-actions-align-end","end"===Tt.align)},inputs:{align:"align"}}),te})();function oi(te,it){let K=te.nativeElement.parentElement;for(;K&&!K.classList.contains("mat-dialog-container");)K=K.parentElement;return K?it.find(Tt=>Tt.id===K.id):null}let Qe=(()=>{class te{}return te.\u0275fac=function(K){return new(K||te)},te.\u0275mod=T.oAB({type:te}),te.\u0275inj=T.cJS({providers:[vn,en],imports:[pt,p.U8,v.eL,Ot.BQ,Ot.BQ]}),te})()},44850:(X,j,h)=>{"use strict";h.d(j,{d:()=>v,t:()=>t});var u=h(94650),p=h(21281),x=h(3238);let v=(()=>{class T{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(w){this._vertical=(0,p.Ig)(w)}get inset(){return this._inset}set inset(w){this._inset=(0,p.Ig)(w)}}return T.\u0275fac=function(w){return new(w||T)},T.\u0275cmp=u.Xpm({type:T,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(w,P){2&w&&(u.uIk("aria-orientation",P.vertical?"vertical":"horizontal"),u.ekj("mat-divider-vertical",P.vertical)("mat-divider-horizontal",!P.vertical)("mat-divider-inset",P.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(w,P){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0}),T})(),t=(()=>{class T{}return T.\u0275fac=function(w){return new(w||T)},T.\u0275mod=u.oAB({type:T}),T.\u0275inj=u.cJS({imports:[x.BQ,x.BQ]}),T})()},37084:(X,j,h)=>{"use strict";h.d(j,{pp:()=>en,To:()=>_n,ib:()=>Te,u4:()=>oe,yz:()=>Xt,yK:()=>Me});var u=h(94650),p=h(95017),x=h(21281),v=h(8929),t=h(42654);let T=0;const U=new u.OlP("CdkAccordion");let w=(()=>{class xe{constructor(){this._stateChanges=new v.xQ,this._openCloseAllActions=new v.xQ,this.id="cdk-accordion-"+T++,this._multi=!1}get multi(){return this._multi}set multi(ke){this._multi=(0,x.Ig)(ke)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(ke){this._stateChanges.next(ke)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return xe.\u0275fac=function(ke){return new(ke||xe)},xe.\u0275dir=u.lG2({type:xe,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[u._Bn([{provide:U,useExisting:xe}]),u.TTD]}),xe})(),P=0,O=(()=>{class xe{constructor(ke,un,Dn){this.accordion=ke,this._changeDetectorRef=un,this._expansionDispatcher=Dn,this._openCloseAllSubscription=t.w.EMPTY,this.closed=new u.vpe,this.opened=new u.vpe,this.destroyed=new u.vpe,this.expandedChange=new u.vpe,this.id="cdk-accordion-child-"+P++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=Dn.listen((ii,_i)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===_i&&this.id!==ii&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(ke){ke=(0,x.Ig)(ke),this._expanded!==ke&&(this._expanded=ke,this.expandedChange.emit(ke),ke?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(ke){this._disabled=(0,x.Ig)(ke)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(ke=>{this.disabled||(this.expanded=ke)})}}return xe.\u0275fac=function(ke){return new(ke||xe)(u.Y36(U,12),u.Y36(u.sBO),u.Y36(p.A8))},xe.\u0275dir=u.lG2({type:xe,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[u._Bn([{provide:U,useValue:void 0}])]}),xe})(),L=(()=>{class xe{}return xe.\u0275fac=function(ke){return new(ke||xe)},xe.\u0275mod=u.oAB({type:xe}),xe.\u0275inj=u.cJS({}),xe})();var N=h(84080),V=h(36895),W=h(3238),tt=h(12687),st=h(75778),ct=h(1059),bt=h(92198),Dt=h(72986),wt=h(29521),qt=h(68896),Jt=h(36787),yt=h(37340);const At=["body"];function xt(xe,vn){}const pt=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Ot=["mat-expansion-panel-header","*","mat-action-row"];function Bt(xe,vn){if(1&xe&&u._UZ(0,"span",2),2&xe){const ke=u.oxw();u.Q6J("@indicatorRotate",ke._getExpandedState())}}const St=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],ce=["mat-panel-title","mat-panel-description","*"],Vt=new u.OlP("MAT_ACCORDION"),ve="225ms cubic-bezier(0.4,0.0,0.2,1)",fe={indicatorRotate:(0,yt.X$)("indicatorRotate",[(0,yt.SB)("collapsed, void",(0,yt.oB)({transform:"rotate(0deg)"})),(0,yt.SB)("expanded",(0,yt.oB)({transform:"rotate(180deg)"})),(0,yt.eR)("expanded <=> collapsed, void => collapsed",(0,yt.jt)(ve))]),bodyExpansion:(0,yt.X$)("bodyExpansion",[(0,yt.SB)("collapsed, void",(0,yt.oB)({height:"0px",visibility:"hidden"})),(0,yt.SB)("expanded",(0,yt.oB)({height:"*",visibility:"visible"})),(0,yt.eR)("expanded <=> collapsed, void => collapsed",(0,yt.jt)(ve))])},Le=new u.OlP("MAT_EXPANSION_PANEL");let Fe=(()=>{class xe{constructor(ke,un){this._template=ke,this._expansionPanel=un}}return xe.\u0275fac=function(ke){return new(ke||xe)(u.Y36(u.Rgc),u.Y36(Le,8))},xe.\u0275dir=u.lG2({type:xe,selectors:[["ng-template","matExpansionPanelContent",""]]}),xe})(),Ge=0;const Gt=new u.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let Te=(()=>{class xe extends O{constructor(ke,un,Dn,ii,_i,oi,Qe){super(ke,un,Dn),this._viewContainerRef=ii,this._animationMode=oi,this._hideToggle=!1,this.afterExpand=new u.vpe,this.afterCollapse=new u.vpe,this._inputChanges=new v.xQ,this._headerId="mat-expansion-panel-header-"+Ge++,this._bodyAnimationDone=new v.xQ,this.accordion=ke,this._document=_i,this._bodyAnimationDone.pipe((0,st.x)((te,it)=>te.fromState===it.fromState&&te.toState===it.toState)).subscribe(te=>{"void"!==te.fromState&&("expanded"===te.toState?this.afterExpand.emit():"collapsed"===te.toState&&this.afterCollapse.emit())}),Qe&&(this.hideToggle=Qe.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(ke){this._hideToggle=(0,x.Ig)(ke)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(ke){this._togglePosition=ke}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,ct.O)(null),(0,bt.h)(()=>this.expanded&&!this._portal),(0,Dt.q)(1)).subscribe(()=>{this._portal=new N.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(ke){this._inputChanges.next(ke)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const ke=this._document.activeElement,un=this._body.nativeElement;return ke===un||un.contains(ke)}return!1}}return xe.\u0275fac=function(ke){return new(ke||xe)(u.Y36(Vt,12),u.Y36(u.sBO),u.Y36(p.A8),u.Y36(u.s_b),u.Y36(V.K0),u.Y36(u.QbO,8),u.Y36(Gt,8))},xe.\u0275cmp=u.Xpm({type:xe,selectors:[["mat-expansion-panel"]],contentQueries:function(ke,un,Dn){if(1&ke&&u.Suo(Dn,Fe,5),2&ke){let ii;u.iGM(ii=u.CRH())&&(un._lazyContent=ii.first)}},viewQuery:function(ke,un){if(1&ke&&u.Gf(At,5),2&ke){let Dn;u.iGM(Dn=u.CRH())&&(un._body=Dn.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(ke,un){2&ke&&u.ekj("mat-expanded",un.expanded)("_mat-animation-noopable","NoopAnimations"===un._animationMode)("mat-expansion-panel-spacing",un._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[u._Bn([{provide:Vt,useValue:void 0},{provide:Le,useExisting:xe}]),u.qOj,u.TTD],ngContentSelectors:Ot,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(ke,un){1&ke&&(u.F$t(pt),u.Hsn(0),u.TgZ(1,"div",0,1),u.NdJ("@bodyExpansion.done",function(ii){return un._bodyAnimationDone.next(ii)}),u.TgZ(3,"div",2),u.Hsn(4,1),u.YNc(5,xt,0,0,"ng-template",3),u.qZA(),u.Hsn(6,2),u.qZA()),2&ke&&(u.xp6(1),u.Q6J("@bodyExpansion",un._getExpandedState())("id",un.id),u.uIk("aria-labelledby",un._headerId),u.xp6(4),u.Q6J("cdkPortalOutlet",un._portal))},dependencies:[N.Pl],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[fe.bodyExpansion]},changeDetection:0}),xe})();class jt{}const re=(0,W.sb)(jt);let Xt=(()=>{class xe extends re{constructor(ke,un,Dn,ii,_i,oi,Qe){super(),this.panel=ke,this._element=un,this._focusMonitor=Dn,this._changeDetectorRef=ii,this._animationMode=oi,this._parentChangeSubscription=t.w.EMPTY;const te=ke.accordion?ke.accordion._stateChanges.pipe((0,bt.h)(it=>!(!it.hideToggle&&!it.togglePosition))):qt.E;this.tabIndex=parseInt(Qe||"")||0,this._parentChangeSubscription=(0,Jt.T)(ke.opened,ke.closed,te,ke._inputChanges.pipe((0,bt.h)(it=>!!(it.hideToggle||it.disabled||it.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),ke.closed.pipe((0,bt.h)(()=>ke._containsFocus())).subscribe(()=>Dn.focusVia(un,"program")),_i&&(this.expandedHeight=_i.expandedHeight,this.collapsedHeight=_i.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const ke=this._isExpanded();return ke&&this.expandedHeight?this.expandedHeight:!ke&&this.collapsedHeight?this.collapsedHeight:null}_keydown(ke){switch(ke.keyCode){case wt.L_:case wt.K5:(0,wt.Vb)(ke)||(ke.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(ke))}}focus(ke,un){ke?this._focusMonitor.focusVia(this._element,ke,un):this._element.nativeElement.focus(un)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(ke=>{ke&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return xe.\u0275fac=function(ke){return new(ke||xe)(u.Y36(Te,1),u.Y36(u.SBq),u.Y36(tt.tE),u.Y36(u.sBO),u.Y36(Gt,8),u.Y36(u.QbO,8),u.$8M("tabindex"))},xe.\u0275cmp=u.Xpm({type:xe,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(ke,un){1&ke&&u.NdJ("click",function(){return un._toggle()})("keydown",function(ii){return un._keydown(ii)}),2&ke&&(u.uIk("id",un.panel._headerId)("tabindex",un.tabIndex)("aria-controls",un._getPanelId())("aria-expanded",un._isExpanded())("aria-disabled",un.panel.disabled),u.Udp("height",un._getHeaderHeight()),u.ekj("mat-expanded",un._isExpanded())("mat-expansion-toggle-indicator-after","after"===un._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===un._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===un._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[u.qOj],ngContentSelectors:ce,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(ke,un){1&ke&&(u.F$t(St),u.TgZ(0,"span",0),u.Hsn(1),u.Hsn(2,1),u.Hsn(3,2),u.qZA(),u.YNc(4,Bt,1,1,"span",1)),2&ke&&(u.ekj("mat-content-hide-toggle",!un._showToggle()),u.xp6(4),u.Q6J("ngIf",un._showToggle()))},dependencies:[V.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[fe.indicatorRotate]},changeDetection:0}),xe})(),oe=(()=>{class xe{}return xe.\u0275fac=function(ke){return new(ke||xe)},xe.\u0275dir=u.lG2({type:xe,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),xe})(),Me=(()=>{class xe{}return xe.\u0275fac=function(ke){return new(ke||xe)},xe.\u0275dir=u.lG2({type:xe,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),xe})(),en=(()=>{class xe extends w{constructor(){super(...arguments),this._ownHeaders=new u.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(ke){this._hideToggle=(0,x.Ig)(ke)}ngAfterContentInit(){this._headers.changes.pipe((0,ct.O)(this._headers)).subscribe(ke=>{this._ownHeaders.reset(ke.filter(un=>un.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new tt.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(ke){this._keyManager.onKeydown(ke)}_handleHeaderFocus(ke){this._keyManager.updateActiveItem(ke)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return xe.\u0275fac=function(){let vn;return function(un){return(vn||(vn=u.n5z(xe)))(un||xe)}}(),xe.\u0275dir=u.lG2({type:xe,selectors:[["mat-accordion"]],contentQueries:function(ke,un,Dn){if(1&ke&&u.Suo(Dn,Xt,5),2&ke){let ii;u.iGM(ii=u.CRH())&&(un._headers=ii)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(ke,un){2&ke&&u.ekj("mat-accordion-multi",un.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[u._Bn([{provide:Vt,useExisting:xe}]),u.qOj]}),xe})(),_n=(()=>{class xe{}return xe.\u0275fac=function(ke){return new(ke||xe)},xe.\u0275mod=u.oAB({type:xe}),xe.\u0275inj=u.cJS({imports:[V.ez,W.BQ,L,N.eL]}),xe})()},59549:(X,j,h)=>{"use strict";h.d(j,{Eo:()=>Fe,G_:()=>_i,KE:()=>oi,R9:()=>xe,TO:()=>fe,bx:()=>re,hX:()=>Xt,lN:()=>Qe,o2:()=>ii,qo:()=>en});var u=h(49643),p=h(36895),x=h(94650),v=h(3238),t=h(40445),T=h(21281),U=h(8929),w=h(36787),P=h(23753),O=h(1059),L=h(7625),N=h(72986),V=h(37340),W=h(83353);const tt=["connectionContainer"],st=["inputContainer"],ct=["label"];function bt(te,it){1&te&&(x.ynx(0),x.TgZ(1,"div",14),x._UZ(2,"div",15)(3,"div",16)(4,"div",17),x.qZA(),x.TgZ(5,"div",18),x._UZ(6,"div",15)(7,"div",16)(8,"div",17),x.qZA(),x.BQk())}function Dt(te,it){if(1&te){const K=x.EpF();x.TgZ(0,"div",19),x.NdJ("cdkObserveContent",function(){x.CHM(K);const Rt=x.oxw();return x.KtG(Rt.updateOutlineGap())}),x.Hsn(1,1),x.qZA()}if(2&te){const K=x.oxw();x.Q6J("cdkObserveContentDisabled","outline"!=K.appearance)}}function wt(te,it){if(1&te&&(x.ynx(0),x.Hsn(1,2),x.TgZ(2,"span"),x._uU(3),x.qZA(),x.BQk()),2&te){const K=x.oxw(2);x.xp6(3),x.Oqu(K._control.placeholder)}}function qt(te,it){1&te&&x.Hsn(0,3,["*ngSwitchCase","true"])}function Jt(te,it){1&te&&(x.TgZ(0,"span",23),x._uU(1," *"),x.qZA())}function yt(te,it){if(1&te){const K=x.EpF();x.TgZ(0,"label",20,21),x.NdJ("cdkObserveContent",function(){x.CHM(K);const Rt=x.oxw();return x.KtG(Rt.updateOutlineGap())}),x.YNc(2,wt,4,1,"ng-container",12),x.YNc(3,qt,1,0,"ng-content",12),x.YNc(4,Jt,2,0,"span",22),x.qZA()}if(2&te){const K=x.oxw();x.ekj("mat-empty",K._control.empty&&!K._shouldAlwaysFloat())("mat-form-field-empty",K._control.empty&&!K._shouldAlwaysFloat())("mat-accent","accent"==K.color)("mat-warn","warn"==K.color),x.Q6J("cdkObserveContentDisabled","outline"!=K.appearance)("id",K._labelId)("ngSwitch",K._hasLabel()),x.uIk("for",K._control.id)("aria-owns",K._control.id),x.xp6(2),x.Q6J("ngSwitchCase",!1),x.xp6(1),x.Q6J("ngSwitchCase",!0),x.xp6(1),x.Q6J("ngIf",!K.hideRequiredMarker&&K._control.required&&!K._control.disabled)}}function At(te,it){1&te&&(x.TgZ(0,"div",24),x.Hsn(1,4),x.qZA())}function xt(te,it){if(1&te&&(x.TgZ(0,"div",25),x._UZ(1,"span",26),x.qZA()),2&te){const K=x.oxw();x.xp6(1),x.ekj("mat-accent","accent"==K.color)("mat-warn","warn"==K.color)}}function pt(te,it){if(1&te&&(x.TgZ(0,"div"),x.Hsn(1,5),x.qZA()),2&te){const K=x.oxw();x.Q6J("@transitionMessages",K._subscriptAnimationState)}}function Ot(te,it){if(1&te&&(x.TgZ(0,"div",30),x._uU(1),x.qZA()),2&te){const K=x.oxw(2);x.Q6J("id",K._hintLabelId),x.xp6(1),x.Oqu(K.hintLabel)}}function Bt(te,it){if(1&te&&(x.TgZ(0,"div",27),x.YNc(1,Ot,2,2,"div",28),x.Hsn(2,6),x._UZ(3,"div",29),x.Hsn(4,7),x.qZA()),2&te){const K=x.oxw();x.Q6J("@transitionMessages",K._subscriptAnimationState),x.xp6(1),x.Q6J("ngIf",K.hintLabel)}}const St=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],ce=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let Vt=0;const ve=new x.OlP("MatError");let fe=(()=>{class te{constructor(K,Tt){this.id="mat-error-"+Vt++,K||Tt.nativeElement.setAttribute("aria-live","polite")}}return te.\u0275fac=function(K){return new(K||te)(x.$8M("aria-live"),x.Y36(x.SBq))},te.\u0275dir=x.lG2({type:te,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(K,Tt){2&K&&x.uIk("id",Tt.id)},inputs:{id:"id"},features:[x._Bn([{provide:ve,useExisting:te}])]}),te})();const Le={transitionMessages:(0,V.X$)("transitionMessages",[(0,V.SB)("enter",(0,V.oB)({opacity:1,transform:"translateY(0%)"})),(0,V.eR)("void => enter",[(0,V.oB)({opacity:0,transform:"translateY(-5px)"}),(0,V.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Fe=(()=>{class te{}return te.\u0275fac=function(K){return new(K||te)},te.\u0275dir=x.lG2({type:te}),te})(),ne=0;const jt=new x.OlP("MatHint");let re=(()=>{class te{constructor(){this.align="start",this.id="mat-hint-"+ne++}}return te.\u0275fac=function(K){return new(K||te)},te.\u0275dir=x.lG2({type:te,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(K,Tt){2&K&&(x.uIk("id",Tt.id)("align",null),x.ekj("mat-form-field-hint-end","end"===Tt.align))},inputs:{align:"align",id:"id"},features:[x._Bn([{provide:jt,useExisting:te}])]}),te})(),Xt=(()=>{class te{}return te.\u0275fac=function(K){return new(K||te)},te.\u0275dir=x.lG2({type:te,selectors:[["mat-label"]]}),te})(),oe=(()=>{class te{}return te.\u0275fac=function(K){return new(K||te)},te.\u0275dir=x.lG2({type:te,selectors:[["mat-placeholder"]]}),te})();const Me=new x.OlP("MatPrefix");let en=(()=>{class te{}return te.\u0275fac=function(K){return new(K||te)},te.\u0275dir=x.lG2({type:te,selectors:[["","matPrefix",""]],features:[x._Bn([{provide:Me,useExisting:te}])]}),te})();const _n=new x.OlP("MatSuffix");let xe=(()=>{class te{}return te.\u0275fac=function(K){return new(K||te)},te.\u0275dir=x.lG2({type:te,selectors:[["","matSuffix",""]],features:[x._Bn([{provide:_n,useExisting:te}])]}),te})(),vn=0;const Dn=(0,v.pj)(class{constructor(te){this._elementRef=te}},"primary"),ii=new x.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),_i=new x.OlP("MatFormField");let oi=(()=>{class te extends Dn{constructor(K,Tt,Rt,le,be,De,hn){super(K),this._changeDetectorRef=Tt,this._dir=Rt,this._defaults=le,this._platform=be,this._ngZone=De,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new U.xQ,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+vn++,this._labelId="mat-form-field-label-"+vn++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==hn,this.appearance=le?.appearance||"legacy",le&&(this._hideRequiredMarker=Boolean(le.hideRequiredMarker),le.color&&(this.color=this.defaultColor=le.color))}get appearance(){return this._appearance}set appearance(K){const Tt=this._appearance;this._appearance=K||this._defaults?.appearance||"legacy","outline"===this._appearance&&Tt!==K&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(K){this._hideRequiredMarker=(0,T.Ig)(K)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(K){this._hintLabel=K,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(K){K!==this._floatLabel&&(this._floatLabel=K||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(K){this._explicitFormFieldControl=K}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const K=this._control;K.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${K.controlType}`),K.stateChanges.pipe((0,O.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),K.ngControl&&K.ngControl.valueChanges&&K.ngControl.valueChanges.pipe((0,L.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,L.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,w.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,O.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,O.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,L.R)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(K){const Tt=this._control?this._control.ngControl:null;return Tt&&Tt[K]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,P.R)(this._label.nativeElement,"transitionend").pipe((0,N.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let K=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&K.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const Tt=this._hintChildren?this._hintChildren.find(le=>"start"===le.align):null,Rt=this._hintChildren?this._hintChildren.find(le=>"end"===le.align):null;Tt?K.push(Tt.id):this._hintLabel&&K.push(this._hintLabelId),Rt&&K.push(Rt.id)}else this._errorChildren&&K.push(...this._errorChildren.map(Tt=>Tt.id));this._control.setDescribedByIds(K)}}_validateControlChild(){}updateOutlineGap(){const K=this._label?this._label.nativeElement:null,Tt=this._connectionContainerRef.nativeElement,Rt=".mat-form-field-outline-start",le=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!K||!K.children.length||!K.textContent.trim()){const mi=Tt.querySelectorAll(`${Rt}, ${le}`);for(let Di=0;Di 0?.75*Yn+10:0}for(let mi=0;mi {class te{}return te.\u0275fac=function(K){return new(K||te)},te.\u0275mod=x.oAB({type:te}),te.\u0275inj=x.cJS({imports:[p.ez,v.BQ,u.Q8,v.BQ]}),te})()},90782:(X,j,h)=>{"use strict";h.d(j,{DX:()=>N,Il:()=>xt,N6:()=>pt});var u=h(94650),p=h(3238),x=h(21281),v=h(40445);const t=["*"];class P{constructor(){this.columnIndex=0,this.rowIndex=0}get rowCount(){return this.rowIndex+1}get rowspan(){const St=Math.max(...this.tracker);return St>1?this.rowCount+St-1:this.rowCount}update(St,ce){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(St),this.tracker.fill(0,0,this.tracker.length),this.positions=ce.map(Vt=>this._trackTile(Vt))}_trackTile(St){const ce=this._findMatchingGap(St.colspan);return this._markTilePosition(ce,St),this.columnIndex=ce+St.colspan,new O(this.rowIndex,ce)}_findMatchingGap(St){let ce=-1,Vt=-1;do{this.columnIndex+St>this.tracker.length?(this._nextRow(),ce=this.tracker.indexOf(0,this.columnIndex),Vt=this._findGapEndIndex(ce)):(ce=this.tracker.indexOf(0,this.columnIndex),-1!=ce?(Vt=this._findGapEndIndex(ce),this.columnIndex=ce+1):(this._nextRow(),ce=this.tracker.indexOf(0,this.columnIndex),Vt=this._findGapEndIndex(ce)))}while(Vt-ce {class Bt{constructor(ce,Vt){this._element=ce,this._gridList=Vt,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(ce){this._rowspan=Math.round((0,x.su)(ce))}get colspan(){return this._colspan}set colspan(ce){this._colspan=Math.round((0,x.su)(ce))}_setStyle(ce,Vt){this._element.nativeElement.style[ce]=Vt}}return Bt.\u0275fac=function(ce){return new(ce||Bt)(u.Y36(u.SBq),u.Y36(L,8))},Bt.\u0275cmp=u.Xpm({type:Bt,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(ce,Vt){2&ce&&u.uIk("rowspan",Vt.rowspan)("colspan",Vt.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],ngContentSelectors:t,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(ce,Vt){1&ce&&(u.F$t(),u.TgZ(0,"div",0),u.Hsn(1),u.qZA())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0}),Bt})();const ct=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/;class bt{constructor(){this._rows=0,this._rowspan=0}init(St,ce,Vt,ve){this._gutterSize=yt(St),this._rows=ce.rowCount,this._rowspan=ce.rowspan,this._cols=Vt,this._direction=ve}getBaseTileSize(St,ce){return`(${St}% - (${this._gutterSize} * ${ce}))`}getTilePosition(St,ce){return 0===ce?"0":Jt(`(${St} + ${this._gutterSize}) * ${ce}`)}getTileSize(St,ce){return`(${St} * ${ce}) + (${ce-1} * ${this._gutterSize})`}setStyle(St,ce,Vt){let ve=100/this._cols,fe=(this._cols-1)/this._cols;this.setColStyles(St,Vt,ve,fe),this.setRowStyles(St,ce,ve,fe)}setColStyles(St,ce,Vt,ve){let fe=this.getBaseTileSize(Vt,ve);St._setStyle("rtl"===this._direction?"right":"left",this.getTilePosition(fe,ce)),St._setStyle("width",Jt(this.getTileSize(fe,St.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(St){return`${this._rowspan} * ${this.getTileSize(St,1)}`}getComputedHeight(){return null}}class Dt extends bt{constructor(St){super(),this.fixedRowHeight=St}init(St,ce,Vt,ve){super.init(St,ce,Vt,ve),this.fixedRowHeight=yt(this.fixedRowHeight),ct.test(this.fixedRowHeight)}setRowStyles(St,ce){St._setStyle("top",this.getTilePosition(this.fixedRowHeight,ce)),St._setStyle("height",Jt(this.getTileSize(this.fixedRowHeight,St.rowspan)))}getComputedHeight(){return["height",Jt(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(St){St._setListStyle(["height",null]),St._tiles&&St._tiles.forEach(ce=>{ce._setStyle("top",null),ce._setStyle("height",null)})}}class wt extends bt{constructor(St){super(),this._parseRatio(St)}setRowStyles(St,ce,Vt,ve){this.baseTileHeight=this.getBaseTileSize(Vt/this.rowHeightRatio,ve),St._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,ce)),St._setStyle("paddingTop",Jt(this.getTileSize(this.baseTileHeight,St.rowspan)))}getComputedHeight(){return["paddingBottom",Jt(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(St){St._setListStyle(["paddingBottom",null]),St._tiles.forEach(ce=>{ce._setStyle("marginTop",null),ce._setStyle("paddingTop",null)})}_parseRatio(St){const ce=St.split(":");this.rowHeightRatio=parseFloat(ce[0])/parseFloat(ce[1])}}class qt extends bt{setRowStyles(St,ce){let fe=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);St._setStyle("top",this.getTilePosition(fe,ce)),St._setStyle("height",Jt(this.getTileSize(fe,St.rowspan)))}reset(St){St._tiles&&St._tiles.forEach(ce=>{ce._setStyle("top",null),ce._setStyle("height",null)})}}function Jt(Bt){return`calc(${Bt})`}function yt(Bt){return Bt.match(/([A-Za-z%]+)$/)?Bt:`${Bt}px`}let xt=(()=>{class Bt{constructor(ce,Vt){this._element=ce,this._dir=Vt,this._gutter="1px"}get cols(){return this._cols}set cols(ce){this._cols=Math.max(1,Math.round((0,x.su)(ce)))}get gutterSize(){return this._gutter}set gutterSize(ce){this._gutter=`${ce??""}`}get rowHeight(){return this._rowHeight}set rowHeight(ce){const Vt=`${ce??""}`;Vt!==this._rowHeight&&(this._rowHeight=Vt,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(ce){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler="fit"===ce?new qt:ce&&ce.indexOf(":")>-1?new wt(ce):new Dt(ce)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new P);const ce=this._tileCoordinator,Vt=this._tiles.filter(fe=>!fe._gridList||fe._gridList===this),ve=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,Vt),this._tileStyler.init(this.gutterSize,ce,this.cols,ve),Vt.forEach((fe,Le)=>{const Fe=ce.positions[Le];this._tileStyler.setStyle(fe,Fe.row,Fe.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(ce){ce&&(this._element.nativeElement.style[ce[0]]=ce[1])}}return Bt.\u0275fac=function(ce){return new(ce||Bt)(u.Y36(u.SBq),u.Y36(v.Is,8))},Bt.\u0275cmp=u.Xpm({type:Bt,selectors:[["mat-grid-list"]],contentQueries:function(ce,Vt,ve){if(1&ce&&u.Suo(ve,N,5),2&ce){let fe;u.iGM(fe=u.CRH())&&(Vt._tiles=fe)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(ce,Vt){2&ce&&u.uIk("cols",Vt.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],features:[u._Bn([{provide:L,useExisting:Bt}])],ngContentSelectors:t,decls:2,vars:0,template:function(ce,Vt){1&ce&&(u.F$t(),u.TgZ(0,"div"),u.Hsn(1),u.qZA())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0}),Bt})(),pt=(()=>{class Bt{}return Bt.\u0275fac=function(ce){return new(ce||Bt)},Bt.\u0275mod=u.oAB({type:Bt}),Bt.\u0275inj=u.cJS({imports:[p.uc,p.BQ,p.uc,p.BQ]}),Bt})()},97392:(X,j,h)=>{"use strict";h.d(j,{Hw:()=>ne,Ps:()=>jt});var u=h(94650),p=h(3238),x=h(21281),v=h(36895),t=h(21086),T=h(61737),U=h(30567),w=h(42654),P=h(22868),O=h(24850),L=h(27221),N=h(40537),V=h(12474),W=h(72986),tt=h(80529),st=h(11481);const ct=["*"];let bt;function wt(re){return function Dt(){if(void 0===bt&&(bt=null,typeof window<"u")){const re=window;void 0!==re.trustedTypes&&(bt=re.trustedTypes.createPolicy("angular#components",{createHTML:Xt=>Xt}))}return bt}()?.createHTML(re)||re}function qt(re){return Error(`Unable to find icon with the name "${re}"`)}function yt(re){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${re}".`)}function At(re){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${re}".`)}class xt{constructor(Xt,oe,Me){this.url=Xt,this.svgText=oe,this.options=Me}}let pt=(()=>{class re{constructor(oe,Me,en,_n){this._httpClient=oe,this._sanitizer=Me,this._errorHandler=_n,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=en}addSvgIcon(oe,Me,en){return this.addSvgIconInNamespace("",oe,Me,en)}addSvgIconLiteral(oe,Me,en){return this.addSvgIconLiteralInNamespace("",oe,Me,en)}addSvgIconInNamespace(oe,Me,en,_n){return this._addSvgIconConfig(oe,Me,new xt(en,null,_n))}addSvgIconResolver(oe){return this._resolvers.push(oe),this}addSvgIconLiteralInNamespace(oe,Me,en,_n){const xe=this._sanitizer.sanitize(u.q3G.HTML,en);if(!xe)throw At(en);const vn=wt(xe);return this._addSvgIconConfig(oe,Me,new xt("",vn,_n))}addSvgIconSet(oe,Me){return this.addSvgIconSetInNamespace("",oe,Me)}addSvgIconSetLiteral(oe,Me){return this.addSvgIconSetLiteralInNamespace("",oe,Me)}addSvgIconSetInNamespace(oe,Me,en){return this._addSvgIconSetConfig(oe,new xt(Me,null,en))}addSvgIconSetLiteralInNamespace(oe,Me,en){const _n=this._sanitizer.sanitize(u.q3G.HTML,Me);if(!_n)throw At(Me);const xe=wt(_n);return this._addSvgIconSetConfig(oe,new xt("",xe,en))}registerFontClassAlias(oe,Me=oe){return this._fontCssClassesByAlias.set(oe,Me),this}classNameForFontAlias(oe){return this._fontCssClassesByAlias.get(oe)||oe}setDefaultFontSetClass(...oe){return this._defaultFontSetClass=oe,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(oe){const Me=this._sanitizer.sanitize(u.q3G.RESOURCE_URL,oe);if(!Me)throw yt(oe);const en=this._cachedIconsByUrl.get(Me);return en?(0,t.of)(St(en)):this._loadSvgIconFromConfig(new xt(oe,null)).pipe((0,P.b)(_n=>this._cachedIconsByUrl.set(Me,_n)),(0,O.U)(_n=>St(_n)))}getNamedSvgIcon(oe,Me=""){const en=ce(Me,oe);let _n=this._svgIconConfigs.get(en);if(_n)return this._getSvgFromConfig(_n);if(_n=this._getIconConfigFromResolvers(Me,oe),_n)return this._svgIconConfigs.set(en,_n),this._getSvgFromConfig(_n);const xe=this._iconSetConfigs.get(Me);return xe?this._getSvgFromIconSetConfigs(oe,xe):(0,T._)(qt(en))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(oe){return oe.svgText?(0,t.of)(St(this._svgElementFromConfig(oe))):this._loadSvgIconFromConfig(oe).pipe((0,O.U)(Me=>St(Me)))}_getSvgFromIconSetConfigs(oe,Me){const en=this._extractIconWithNameFromAnySet(oe,Me);if(en)return(0,t.of)(en);const _n=Me.filter(xe=>!xe.svgText).map(xe=>this._loadSvgIconSetFromConfig(xe).pipe((0,L.K)(vn=>{const un=`Loading icon set URL: ${this._sanitizer.sanitize(u.q3G.RESOURCE_URL,xe.url)} failed: ${vn.message}`;return this._errorHandler.handleError(new Error(un)),(0,t.of)(null)})));return(0,U.D)(_n).pipe((0,O.U)(()=>{const xe=this._extractIconWithNameFromAnySet(oe,Me);if(!xe)throw qt(oe);return xe}))}_extractIconWithNameFromAnySet(oe,Me){for(let en=Me.length-1;en>=0;en--){const _n=Me[en];if(_n.svgText&&_n.svgText.toString().indexOf(oe)>-1){const xe=this._svgElementFromConfig(_n),vn=this._extractSvgIconFromSet(xe,oe,_n.options);if(vn)return vn}}return null}_loadSvgIconFromConfig(oe){return this._fetchIcon(oe).pipe((0,P.b)(Me=>oe.svgText=Me),(0,O.U)(()=>this._svgElementFromConfig(oe)))}_loadSvgIconSetFromConfig(oe){return oe.svgText?(0,t.of)(null):this._fetchIcon(oe).pipe((0,P.b)(Me=>oe.svgText=Me))}_extractSvgIconFromSet(oe,Me,en){const _n=oe.querySelector(`[id="${Me}"]`);if(!_n)return null;const xe=_n.cloneNode(!0);if(xe.removeAttribute("id"),"svg"===xe.nodeName.toLowerCase())return this._setSvgAttributes(xe,en);if("symbol"===xe.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(xe),en);const vn=this._svgElementFromString(wt(""));return vn.appendChild(xe),this._setSvgAttributes(vn,en)}_svgElementFromString(oe){const Me=this._document.createElement("DIV");Me.innerHTML=oe;const en=Me.querySelector("svg");if(!en)throw Error("