From 9bed418b86540e233d19a8be8f462549bc933947 Mon Sep 17 00:00:00 2001 From: "k.polyntsov" Date: Thu, 21 Nov 2024 20:26:04 +0200 Subject: [PATCH] remove: routing --- docs/3rdpartylicenses.txt | 25 ------------------- ...1bb454675faf2.js => 8.4ae02359ce54e594.js} | 2 +- docs/index.html | 2 +- docs/main.973393f585987415.js | 1 - docs/main.f9cf510f1ad879ef.js | 1 + docs/runtime.d7858bd0f2a6c26c.js | 1 + docs/runtime.ee4adea877d3b309.js | 1 - src/app/app.config.ts | 9 +++---- src/app/app.routes.ts | 3 --- src/assets/.gitkeep | 0 10 files changed, 7 insertions(+), 38 deletions(-) rename docs/{8.5a31bb454675faf2.js => 8.4ae02359ce54e594.js} (99%) delete mode 100644 docs/main.973393f585987415.js create mode 100644 docs/main.f9cf510f1ad879ef.js create mode 100644 docs/runtime.d7858bd0f2a6c26c.js delete mode 100644 docs/runtime.ee4adea877d3b309.js delete mode 100644 src/app/app.routes.ts delete mode 100644 src/assets/.gitkeep diff --git a/docs/3rdpartylicenses.txt b/docs/3rdpartylicenses.txt index 1a2779ff..ebcdef5a 100644 --- a/docs/3rdpartylicenses.txt +++ b/docs/3rdpartylicenses.txt @@ -173,31 +173,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -@angular/router -MIT -The MIT License - -Copyright (c) 2010-2024 Google LLC. https://angular.dev/license - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - escape-string-regexp MIT MIT License diff --git a/docs/8.5a31bb454675faf2.js b/docs/8.4ae02359ce54e594.js similarity index 99% rename from docs/8.5a31bb454675faf2.js rename to docs/8.4ae02359ce54e594.js index e17cbda5..8e7a4b48 100644 --- a/docs/8.5a31bb454675faf2.js +++ b/docs/8.4ae02359ce54e594.js @@ -1 +1 @@ -"use strict";(self.webpackChunkngx_select_ex_demo=self.webpackChunkngx_select_ex_demo||[]).push([[8],{8:(gn,We,se)=>{se.r(We),se.d(We,{AnimationDriver:()=>fs,NoopAnimationDriver:()=>ve,\u0275Animation:()=>hn,\u0275AnimationEngine:()=>Be,\u0275AnimationRenderer:()=>wt,\u0275AnimationRendererFactory:()=>mn,\u0275AnimationStyleNormalizer:()=>xe,\u0275BaseAnimationRenderer:()=>$e,\u0275NoopAnimationStyleNormalizer:()=>Ze,\u0275WebAnimationsDriver:()=>Tt,\u0275WebAnimationsPlayer:()=>Qe,\u0275WebAnimationsStyleNormalizer:()=>rt,\u0275allowPreviousPlayerStylesMerge:()=>it,\u0275camelCaseToDashCase:()=>_s,\u0275containsElement:()=>Ee,\u0275createEngine:()=>cn,\u0275getParentElement:()=>ne,\u0275invokeQuery:()=>Te,\u0275normalizeKeyframes:()=>tt,\u0275validateStyleProperty:()=>Ye,\u0275validateWebAnimatableStyleProperty:()=>cs});var d=se(969),E=se(808);function je(i){return new E.wOt(3e3,!1)}const os=new Set(["-moz-outline-radius","-moz-outline-radius-bottomleft","-moz-outline-radius-bottomright","-moz-outline-radius-topleft","-moz-outline-radius-topright","-ms-grid-columns","-ms-grid-rows","-webkit-line-clamp","-webkit-text-fill-color","-webkit-text-stroke","-webkit-text-stroke-color","accent-color","all","backdrop-filter","background","background-color","background-position","background-size","block-size","border","border-block-end","border-block-end-color","border-block-end-width","border-block-start","border-block-start-color","border-block-start-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-width","border-color","border-end-end-radius","border-end-start-radius","border-image-outset","border-image-slice","border-image-width","border-inline-end","border-inline-end-color","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-width","border-left","border-left-color","border-left-width","border-radius","border-right","border-right-color","border-right-width","border-start-end-radius","border-start-start-radius","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-width","border-width","bottom","box-shadow","caret-color","clip","clip-path","color","column-count","column-gap","column-rule","column-rule-color","column-rule-width","column-width","columns","filter","flex","flex-basis","flex-grow","flex-shrink","font","font-size","font-size-adjust","font-stretch","font-variation-settings","font-weight","gap","grid-column-gap","grid-gap","grid-row-gap","grid-template-columns","grid-template-rows","height","inline-size","input-security","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","left","letter-spacing","line-clamp","line-height","margin","margin-block-end","margin-block-start","margin-bottom","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","mask","mask-border","mask-position","mask-size","max-block-size","max-height","max-inline-size","max-lines","max-width","min-block-size","min-height","min-inline-size","min-width","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","outline","outline-color","outline-offset","outline-width","padding","padding-block-end","padding-block-start","padding-bottom","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","perspective","perspective-origin","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-coordinate","scroll-snap-destination","scrollbar-color","shape-image-threshold","shape-margin","shape-outside","tab-size","text-decoration","text-decoration-color","text-decoration-thickness","text-emphasis","text-emphasis-color","text-indent","text-shadow","text-underline-offset","top","transform","transform-origin","translate","vertical-align","visibility","width","word-spacing","z-index","zoom"]);function $(i){switch(i.length){case 0:return new d.sf;case 1:return i[0];default:return new d.ui(i)}}function Ge(i,e,t=new Map,s=new Map){const n=[],r=[];let a=-1,o=null;if(e.forEach(l=>{const u=l.get("offset"),c=u==a,h=c&&o||new Map;l.forEach((S,_)=>{let m=_,y=S;if("offset"!==_)switch(m=i.normalizePropertyName(m,n),y){case d.FX:y=t.get(_);break;case d.kp:y=s.get(_);break;default:y=i.normalizeStyleValue(_,m,y,n)}h.set(m,y)}),c||r.push(h),o=h,a=u}),n.length)throw function Yt(){return new E.wOt(3502,!1)}();return r}function ye(i,e,t,s){switch(e){case"start":i.onStart(()=>s(t&&_e(t,"start",i)));break;case"done":i.onDone(()=>s(t&&_e(t,"done",i)));break;case"destroy":i.onDestroy(()=>s(t&&_e(t,"destroy",i)))}}function _e(i,e,t){const r=Se(i.element,i.triggerName,i.fromState,i.toState,e||i.phaseName,t.totalTime??i.totalTime,!!t.disabled),a=i._data;return null!=a&&(r._data=a),r}function Se(i,e,t,s,n="",r=0,a){return{element:i,triggerName:e,fromState:t,toState:s,phaseName:n,totalTime:r,disabled:!!a}}function O(i,e,t){let s=i.get(e);return s||i.set(e,s=t),s}function He(i){const e=i.indexOf(":");return[i.substring(1,e),i.slice(e+1)]}const ls=typeof document>"u"?null:document.documentElement;function ne(i){const e=i.parentNode||i.host||null;return e===ls?null:e}let U=null,Xe=!1;function Ye(i){U||(U=function hs(){return typeof document<"u"?document.body:null}()||{},Xe=!!U.style&&"WebkitAppearance"in U.style);let e=!0;return U.style&&!function us(i){return"ebkit"==i.substring(1,6)}(i)&&(e=i in U.style,!e&&Xe&&(e="Webkit"+i.charAt(0).toUpperCase()+i.slice(1)in U.style)),e}function cs(i){return os.has(i)}function Ee(i,e){for(;e;){if(e===i)return!0;e=ne(e)}return!1}function Te(i,e,t){if(t)return Array.from(i.querySelectorAll(e));const s=i.querySelector(e);return s?[s]:[]}let ve=(()=>{class i{validateStyleProperty(t){return Ye(t)}containsElement(t,s){return Ee(t,s)}getParentElement(t){return ne(t)}query(t,s,n){return Te(t,s,n)}computeStyle(t,s,n){return n||""}animate(t,s,n,r,a,o=[],l){return new d.sf(n,r)}static \u0275fac=function(s){return new(s||i)};static \u0275prov=E.jDH({token:i,factory:i.\u0275fac})}return i})();class fs{static NOOP=new ve}class xe{}class Ze{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,s,n){return s}}const we="ng-enter",ie="ng-leave",re="ng-trigger",ae=".ng-trigger",et="ng-animating",be=".ng-animating";function Q(i){if("number"==typeof i)return i;const e=i.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Ae(parseFloat(e[1]),e[2])}function Ae(i,e){return"s"===e?1e3*i:i}function oe(i,e,t){return i.hasOwnProperty("duration")?i:function ps(i,e,t){let n,r=0,a="";if("string"==typeof i){const o=i.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===o)return e.push(je()),{duration:0,delay:0,easing:""};n=Ae(parseFloat(o[1]),o[2]);const l=o[3];null!=l&&(r=Ae(parseFloat(l),o[4]));const u=o[5];u&&(a=u)}else n=i;if(!t){let o=!1,l=e.length;n<0&&(e.push(function Mt(){return new E.wOt(3100,!1)}()),o=!0),r<0&&(e.push(function Ct(){return new E.wOt(3101,!1)}()),o=!0),o&&e.splice(l,0,je())}return{duration:n,delay:r,easing:a}}(i,e,t)}function tt(i){return i.length?i[0]instanceof Map?i:i.map(e=>new Map(Object.entries(e))):[]}function st(i){return Array.isArray(i)?new Map(...i):new Map(i)}function K(i,e,t){e.forEach((s,n)=>{const r=Ne(n);t&&!t.has(n)&&t.set(n,i.style[r]),i.style[r]=s})}function W(i,e){e.forEach((t,s)=>{const n=Ne(s);i.style[n]=""})}function J(i){return Array.isArray(i)?1==i.length?i[0]:(0,d.K2)(i):i}const Pe=new RegExp("{{\\s*(.+?)\\s*}}","g");function nt(i){let e=[];if("string"==typeof i){let t;for(;t=Pe.exec(i);)e.push(t[1]);Pe.lastIndex=0}return e}function ee(i,e,t){const s=`${i}`,n=s.replace(Pe,(r,a)=>{let o=e[a];return null==o&&(t.push(function Dt(){return new E.wOt(3003,!1)}()),o=""),o.toString()});return n==s?i:n}const ys=/-+([a-z0-9])/g;function Ne(i){return i.replace(ys,(...e)=>e[1].toUpperCase())}function _s(i){return i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function it(i,e){return 0===i||0===e}function I(i,e,t){switch(e.type){case d.If.Trigger:return i.visitTrigger(e,t);case d.If.State:return i.visitState(e,t);case d.If.Transition:return i.visitTransition(e,t);case d.If.Sequence:return i.visitSequence(e,t);case d.If.Group:return i.visitGroup(e,t);case d.If.Animate:return i.visitAnimate(e,t);case d.If.Keyframes:return i.visitKeyframes(e,t);case d.If.Style:return i.visitStyle(e,t);case d.If.Reference:return i.visitReference(e,t);case d.If.AnimateChild:return i.visitAnimateChild(e,t);case d.If.AnimateRef:return i.visitAnimateRef(e,t);case d.If.Query:return i.visitQuery(e,t);case d.If.Stagger:return i.visitStagger(e,t);default:throw function Ot(){return new E.wOt(3004,!1)}()}}function Me(i,e){return window.getComputedStyle(i)[e]}const Es=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class rt extends xe{normalizePropertyName(e,t){return Ne(e)}normalizeStyleValue(e,t,s,n){let r="";const a=s.toString().trim();if(Es.has(t)&&0!==s&&"0"!==s)if("number"==typeof s)r="px";else{const o=s.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&0==o[1].length&&n.push(function It(){return new E.wOt(3005,!1)}())}return a+r}}const ue=new Set(["true","1"]),ce=new Set(["false","0"]);function at(i,e){const t=ue.has(i)||ce.has(i),s=ue.has(e)||ce.has(e);return(n,r)=>{let a="*"==i||i==n,o="*"==e||e==r;return!a&&t&&"boolean"==typeof n&&(a=n?ue.has(i):ce.has(i)),!o&&s&&"boolean"==typeof r&&(o=r?ue.has(e):ce.has(e)),a&&o}}const bs=new RegExp("s*:selfs*,?","g");function Ce(i,e,t,s){return new As(i).build(e,t,s)}class As{_driver;constructor(e){this._driver=e}build(e,t,s){const n=new Ms(t);return this._resetContextStyleTimingState(n),I(this,J(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles=new Map,e.collectedStyles.set("",new Map),e.currentTime=0}visitTrigger(e,t){let s=t.queryCount=0,n=t.depCount=0;const r=[],a=[];return"@"==e.name.charAt(0)&&t.errors.push(function Rt(){return new E.wOt(3006,!1)}()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==d.If.State){const l=o,u=l.name;u.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,r.push(this.visitState(l,t))}),l.name=u}else if(o.type==d.If.Transition){const l=this.visitTransition(o,t);s+=l.queryCount,n+=l.depCount,a.push(l)}else t.errors.push(function Ft(){return new E.wOt(3007,!1)}())}),{type:d.If.Trigger,name:e.name,states:r,transitions:a,queryCount:s,depCount:n,options:null}}visitState(e,t){const s=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(s.containsDynamicStyles){const r=new Set,a=n||{};s.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{nt(l).forEach(u=>{a.hasOwnProperty(u)||r.add(u)})})}),r.size&&t.errors.push(function Lt(){return new E.wOt(3008,!1)}(0,r.values()))}return{type:d.If.State,name:e.name,style:s,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const s=I(this,J(e.animation),t),n=function Ts(i,e){const t=[];return"string"==typeof i?i.split(/\s*,\s*/).forEach(s=>function vs(i,e,t){if(":"==i[0]){const l=function ws(i,e){switch(i){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,s)=>parseFloat(s)>parseFloat(t);case":decrement":return(t,s)=>parseFloat(s) *"}}(i,t);if("function"==typeof l)return void e.push(l);i=l}const s=i.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==s||s.length<4)return t.push(function Wt(){return new E.wOt(3015,!1)}()),e;const n=s[1],r=s[2],a=s[3];e.push(at(n,a)),"<"==r[0]&&("*"!=n||"*"!=a)&&e.push(at(a,n))}(s,t,e)):t.push(i),t}(e.expr,t.errors);return{type:d.If.Transition,matchers:n,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:j(e.options)}}visitSequence(e,t){return{type:d.If.Sequence,steps:e.steps.map(s=>I(this,s,t)),options:j(e.options)}}visitGroup(e,t){const s=t.currentTime;let n=0;const r=e.steps.map(a=>{t.currentTime=s;const o=I(this,a,t);return n=Math.max(n,t.currentTime),o});return t.currentTime=n,{type:d.If.Group,steps:r,options:j(e.options)}}visitAnimate(e,t){const s=function ks(i,e){if(i.hasOwnProperty("duration"))return i;if("number"==typeof i)return ke(oe(i,e).duration,0,"");const t=i;if(t.split(/\s+/).some(r=>"{"==r.charAt(0)&&"{"==r.charAt(1))){const r=ke(0,0,"");return r.dynamic=!0,r.strValue=t,r}const n=oe(t,e);return ke(n.duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=s;let n,r=e.styles?e.styles:(0,d.iF)({});if(r.type==d.If.Keyframes)n=this.visitKeyframes(r,t);else{let a=e.styles,o=!1;if(!a){o=!0;const u={};s.easing&&(u.easing=s.easing),a=(0,d.iF)(u)}t.currentTime+=s.duration+s.delay;const l=this.visitStyle(a,t);l.isEmptyStep=o,n=l}return t.currentAnimateTimings=null,{type:d.If.Animate,timings:s,style:n,options:null}}visitStyle(e,t){const s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,t){const s=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of n)"string"==typeof o?o===d.kp?s.push(o):t.errors.push(new E.wOt(3002,!1)):s.push(new Map(Object.entries(o)));let r=!1,a=null;return s.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(a=o.get("easing"),o.delete("easing")),!r))for(let l of o.values())if(l.toString().indexOf("{{")>=0){r=!0;break}}),{type:d.If.Style,styles:s,easing:a,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){const s=t.currentAnimateTimings;let n=t.currentTime,r=t.currentTime;s&&r>0&&(r-=s.duration+s.delay),e.styles.forEach(a=>{"string"!=typeof a&&a.forEach((o,l)=>{const u=t.collectedStyles.get(t.currentQuerySelector),c=u.get(l);let h=!0;c&&(r!=n&&r>=c.startTime&&n<=c.endTime&&(t.errors.push(function Kt(){return new E.wOt(3010,!1)}()),h=!1),r=c.startTime),h&&u.set(l,{startTime:r,endTime:n}),t.options&&function gs(i,e,t){const s=e.params||{},n=nt(i);n.length&&n.forEach(r=>{s.hasOwnProperty(r)||t.push(function kt(){return new E.wOt(3001,!1)}())})}(o,t.options,t.errors)})})}visitKeyframes(e,t){const s={type:d.If.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function Bt(){return new E.wOt(3011,!1)}()),s;let r=0;const a=[];let o=!1,l=!1,u=0;const c=e.steps.map(b=>{const A=this._makeStyleAst(b,t);let C=null!=A.offset?A.offset:function Cs(i){if("string"==typeof i)return null;let e=null;if(Array.isArray(i))i.forEach(t=>{if(t instanceof Map&&t.has("offset")){const s=t;e=parseFloat(s.get("offset")),s.delete("offset")}});else if(i instanceof Map&&i.has("offset")){const t=i;e=parseFloat(t.get("offset")),t.delete("offset")}return e}(A.styles),N=0;return null!=C&&(r++,N=A.offset=C),l=l||N<0||N>1,o=o||N0&&r{const C=S>0?A==_?1:S*A:a[A],N=C*v;t.currentTime=m+y.delay+N,y.duration=N,this._validateStyleAst(b,t),b.offset=C,s.styles.push(b)}),s}visitReference(e,t){return{type:d.If.Reference,animation:I(this,J(e.animation),t),options:j(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:d.If.AnimateChild,options:j(e.options)}}visitAnimateRef(e,t){return{type:d.If.AnimateRef,animation:this.visitReference(e.animation,t),options:j(e.options)}}visitQuery(e,t){const s=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;const[r,a]=function Ps(i){const e=!!i.split(/\s*,\s*/).find(t=>":self"==t);return e&&(i=i.replace(bs,"")),i=i.replace(/@\*/g,ae).replace(/@\w+/g,t=>ae+"-"+t.slice(1)).replace(/:animating/g,be),[i,e]}(e.selector);t.currentQuerySelector=s.length?s+" "+r:r,O(t.collectedStyles,t.currentQuerySelector,new Map);const o=I(this,J(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=s,{type:d.If.Query,selector:r,limit:n.limit||0,optional:!!n.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:j(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(function Vt(){return new E.wOt(3013,!1)}());const s="full"===e.timings?{duration:0,delay:0,easing:"full"}:oe(e.timings,t.errors,!0);return{type:d.If.Stagger,animation:I(this,J(e.animation),t),timings:s,options:null}}}class Ms{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(e){this.errors=e}}function j(i){return i?(i={...i}).params&&(i.params=function Ns(i){return i?{...i}:null}(i.params)):i={},i}function ke(i,e,t){return{duration:i,delay:e,easing:t}}function De(i,e,t,s,n,r,a=null,o=!1){return{type:1,element:i,keyframes:e,preStyleProps:t,postStyleProps:s,duration:n,delay:r,totalTime:n+r,easing:a,subTimeline:o}}class he{_map=new Map;get(e){return this._map.get(e)||[]}append(e,t){let s=this._map.get(e);s||this._map.set(e,s=[]),s.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const Is=new RegExp(":enter","g"),Fs=new RegExp(":leave","g");function Oe(i,e,t,s,n,r=new Map,a=new Map,o,l,u=[]){return(new Ls).buildKeyframes(i,e,t,s,n,r,a,o,l,u)}class Ls{buildKeyframes(e,t,s,n,r,a,o,l,u,c=[]){u=u||new he;const h=new Ie(e,t,u,n,r,c,[]);h.options=l;const S=l.delay?Q(l.delay):0;h.currentTimeline.delayNextStep(S),h.currentTimeline.setStyles([a],null,h.errors,l),I(this,s,h);const _=h.timelines.filter(m=>m.containsAnimation());if(_.length&&o.size){let m;for(let y=_.length-1;y>=0;y--){const v=_[y];if(v.element===t){m=v;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([o],null,h.errors,l)}return _.length?_.map(m=>m.buildKeyframes()):[De(t,[],[],[],0,S,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const s=t.subInstructions.get(t.element);if(s){const n=t.createSubContext(e.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(s,n,n.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}visitAnimateRef(e,t){const s=t.createSubContext(e.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,s),this.visitReference(e.animation,s),t.transformIntoNewTimeline(s.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,s){for(const n of e){const r=n?.delay;if(r){const a="number"==typeof r?r:Q(ee(r,n?.params??{},t.errors));s.delayNextStep(a)}}}_visitSubInstructions(e,t,s){let r=t.currentTimeline.currentTime;const a=null!=s.duration?Q(s.duration):null,o=null!=s.delay?Q(s.delay):null;return 0!==a&&e.forEach(l=>{const u=t.appendInstructionToTimeline(l,a,o);r=Math.max(r,u.duration+u.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),I(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const s=t.subContextCount;let n=t;const r=e.options;if(r&&(r.params||r.delay)&&(n=t.createSubContext(r),n.transformIntoNewTimeline(),null!=r.delay)){n.previousNode.type==d.If.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=fe);const a=Q(r.delay);n.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>I(this,a,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>s&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const s=[];let n=t.currentTimeline.currentTime;const r=e.options&&e.options.delay?Q(e.options.delay):0;e.steps.forEach(a=>{const o=t.createSubContext(e.options);r&&o.delayNextStep(r),I(this,a,o),n=Math.max(n,o.currentTimeline.currentTime),s.push(o.currentTimeline)}),s.forEach(a=>t.currentTimeline.mergeTimelineCollectedStyles(a)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const s=e.strValue;return oe(t.params?ee(s,t.params,t.errors):s,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const s=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;s.delay&&(t.incrementTime(s.delay),n.snapshotCurrentStyles());const r=e.style;r.type==d.If.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(s.duration),this.visitStyle(r,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const s=t.currentTimeline,n=t.currentAnimateTimings;!n&&s.hasCurrentStyleProperties()&&s.forwardFrame();const r=n&&n.easing||e.easing;e.isEmptyStep?s.applyEmptyStep(r):s.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const s=t.currentAnimateTimings,n=t.currentTimeline.duration,r=s.duration,o=t.createSubContext().currentTimeline;o.easing=s.easing,e.styles.forEach(l=>{o.forwardTime((l.offset||0)*r),o.setStyles(l.styles,l.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(n+r),t.previousNode=e}visitQuery(e,t){const s=t.currentTimeline.currentTime,n=e.options||{},r=n.delay?Q(n.delay):0;r&&(t.previousNode.type===d.If.Style||0==s&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=fe);let a=s;const o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((u,c)=>{t.currentQueryIndex=c;const h=t.createSubContext(e.options,u);r&&h.delayNextStep(r),u===t.element&&(l=h.currentTimeline),I(this,e.animation,h),h.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,h.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const s=t.parentContext,n=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1);let l=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=s.currentStaggerTime}const c=t.currentTimeline;l&&c.delayNextStep(l);const h=c.currentTime;I(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=n.currentTime-h+(n.startTime-s.currentTimeline.startTime)}}const fe={};class Ie{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=fe;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,t,s,n,r,a,o,l){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=n,this._leaveClassName=r,this.errors=a,this.timelines=o,this.currentTimeline=l||new de(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const s=e;let n=this.options;null!=s.duration&&(n.duration=Q(s.duration)),null!=s.delay&&(n.delay=Q(s.delay));const r=s.params;if(r){let a=n.params;a||(a=this.options.params={}),Object.keys(r).forEach(o=>{(!t||!a.hasOwnProperty(o))&&(a[o]=ee(r[o],a,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const s=e.params={};Object.keys(t).forEach(n=>{s[n]=t[n]})}}return e}createSubContext(e=null,t,s){const n=t||this.element,r=new Ie(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,s||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=fe,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){const n={duration:t??e.duration,delay:this.currentTimeline.currentTime+(s??0)+e.delay,easing:""},r=new zs(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(r),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,n,r,a){let o=[];if(n&&o.push(this.element),e.length>0){e=(e=e.replace(Is,"."+this._enterClassName)).replace(Fs,"."+this._leaveClassName);let u=this._driver.query(this.element,e,1!=s);0!==s&&(u=s<0?u.slice(u.length+s,u.length):u.slice(0,s)),o.push(...u)}return!r&&0==o.length&&a.push(function Ut(){return new E.wOt(3014,!1)}()),o}}class de{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(e,t,s,n){this._driver=e,this.element=t,this.startTime=s,this._elementTimelineStylesLookup=n,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new de(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,s]of this._globalTimelineStyles)this._backFill.set(t,s||d.kp),this._currentKeyframe.set(t,d.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,n){t&&this._previousKeyframe.set("easing",t);const r=n&&n.params||{},a=function Ks(i,e){const t=new Map;let s;return i.forEach(n=>{if("*"===n){s??=e.keys();for(let r of s)t.set(r,d.kp)}else for(let[r,a]of n)t.set(r,a)}),t}(e,this._globalTimelineStyles);for(let[o,l]of a){const u=ee(l,r,s);this._pendingStyles.set(o,u),this._localTimelineStyles.has(o)||this._backFill.set(o,this._globalTimelineStyles.get(o)??d.kp),this._updateStyle(o,u)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,s)=>{const n=this._styleSummary.get(s);(!n||t.time>n.time)&&this._updateStyle(s,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,s=1===this._keyframes.size&&0===this.duration;let n=[];this._keyframes.forEach((o,l)=>{const u=new Map([...this._backFill,...o]);u.forEach((c,h)=>{c===d.FX?e.add(h):c===d.kp&&t.add(h)}),s||u.set("offset",l/this.duration),n.push(u)});const r=[...e.values()],a=[...t.values()];if(s){const o=n[0],l=new Map(o);o.set("offset",0),l.set("offset",1),n=[o,l]}return De(this.element,n,r,a,this.duration,this.startTime,this.easing,!1)}}class zs extends de{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,t,s,n,r,a,o=!1){super(e,t,a.delay),this.keyframes=s,this.preStyleProps=n,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:s,easing:n}=this.timings;if(this._stretchStartingKeyframe&&t){const r=[],a=s+t,o=t/a,l=new Map(e[0]);l.set("offset",0),r.push(l);const u=new Map(e[0]);u.set("offset",ut(o)),r.push(u);const c=e.length-1;for(let h=1;h<=c;h++){let S=new Map(e[h]);const _=S.get("offset");S.set("offset",ut((t+_*s)/a)),r.push(S)}s=a,t=0,n="",e=r}return De(this.element,e,this.preStyleProps,this.postStyleProps,s,t,n,!0)}}function ut(i,e=3){const t=Math.pow(10,e-1);return Math.round(i*t)/t}function ct(i,e,t,s,n,r,a,o,l,u,c,h,S){return{type:0,element:i,triggerName:e,isRemovalTransition:n,fromState:t,fromStyles:r,toState:s,toStyles:a,timelines:o,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:h,errors:S}}const Re={};class ht{_triggerName;ast;_stateStyles;constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,n){return function Bs(i,e,t,s,n){return i.some(r=>r(e,t,s,n))}(this.ast.matchers,e,t,s,n)}buildStyles(e,t,s){let n=this._stateStyles.get("*");return void 0!==e&&(n=this._stateStyles.get(e?.toString())||n),n?n.buildStyles(t,s):new Map}build(e,t,s,n,r,a,o,l,u,c){const h=[],S=this.ast.options&&this.ast.options.params||Re,m=this.buildStyles(s,o&&o.params||Re,h),y=l&&l.params||Re,v=this.buildStyles(n,y,h),b=new Set,A=new Map,C=new Map,N="void"===n,x={params:ft(y,S),delay:this.ast.options?.delay},B=c?[]:Oe(e,t,this.ast.animation,r,a,m,v,x,u,h);let k=0;return B.forEach(D=>{k=Math.max(D.duration+D.delay,k)}),h.length?ct(t,this._triggerName,s,n,N,m,v,[],[],A,C,k,h):(B.forEach(D=>{const G=D.element,Z=O(A,G,new Set);D.preStyleProps.forEach(H=>Z.add(H));const bt=O(C,G,new Set);D.postStyleProps.forEach(H=>bt.add(H)),G!==t&&b.add(G)}),ct(t,this._triggerName,s,n,N,m,v,B,[...b.values()],A,C,k))}}function ft(i,e){const t={...e};return Object.entries(i).forEach(([s,n])=>{null!=n&&(t[s]=n)}),t}class qs{styles;defaultParams;normalizer;constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){const s=new Map,n=ft(e,this.defaultParams);return this.styles.styles.forEach(r=>{"string"!=typeof r&&r.forEach((a,o)=>{a&&(a=ee(a,n,t));const l=this.normalizer.normalizePropertyName(o,t);a=this.normalizer.normalizeStyleValue(o,l,a,t),s.set(o,a)})}),s}}class $s{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,t,s){this.name=e,this.ast=t,this._normalizer=s,t.states.forEach(n=>{this.states.set(n.name,new qs(n.style,n.options&&n.options.params||{},s))}),dt(this.states,"true","1"),dt(this.states,"false","0"),t.transitions.forEach(n=>{this.transitionFactories.push(new ht(e,n,this.states))}),this.fallbackTransition=function Vs(i,e){return new ht(i,{type:d.If.Transition,animation:{type:d.If.Sequence,steps:[],options:null},matchers:[(a,o)=>!0],options:null,queryCount:0,depCount:0},e)}(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,n){return this.transitionFactories.find(a=>a.match(e,t,s,n))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}}function dt(i,e,t){i.has(e)?i.has(t)||i.set(t,i.get(e)):i.has(t)&&i.set(e,i.get(t))}const Us=new he;class Ws{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,t,s){this.bodyNode=e,this._driver=t,this._normalizer=s}register(e,t){const s=[],r=Ce(this._driver,t,s,[]);if(s.length)throw function xt(){return new E.wOt(3503,!1)}();this._animations.set(e,r)}_buildPlayer(e,t,s){const n=e.element,r=Ge(this._normalizer,e.keyframes,t,s);return this._driver.animate(n,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,s={}){const n=[],r=this._animations.get(e);let a;const o=new Map;if(r?(a=Oe(this._driver,t,r,we,ie,new Map,new Map,s,Us,n),a.forEach(c=>{const h=O(o,c.element,new Map);c.postStyleProps.forEach(S=>h.set(S,null))})):(n.push(function Zt(){return new E.wOt(3300,!1)}()),a=[]),n.length)throw function Jt(){return new E.wOt(3504,!1)}();o.forEach((c,h)=>{c.forEach((S,_)=>{c.set(_,this._driver.computeStyle(h,_,d.kp))})});const u=$(a.map(c=>{const h=o.get(c.element);return this._buildPlayer(c,new Map,h)}));return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){const t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);const s=this.players.indexOf(t);s>=0&&this.players.splice(s,1)}_getPlayer(e){const t=this._playersById.get(e);if(!t)throw function es(){return new E.wOt(3301,!1)}();return t}listen(e,t,s,n){const r=Se(t,"","","");return ye(this._getPlayer(e),s,r,n),()=>{}}command(e,t,s,n){if("register"==s)return void this.register(e,n[0]);if("create"==s)return void this.create(e,t,n[0]||{});const r=this._getPlayer(e);switch(s){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e)}}}const mt="ng-animate-queued",Fe="ng-animate-disabled",Ys=[],pt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},xs={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},z="__ng_removed";class Le{namespaceId;value;options;get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;const s=e&&e.hasOwnProperty("value");if(this.value=function tn(i){return i??null}(s?e.value:e),s){const{value:r,...a}=e;this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){const t=e.params;if(t){const s=this.options.params;Object.keys(t).forEach(n=>{null==s[n]&&(s[n]=t[n])})}}}const te="void",ze=new Le(te);class Zs{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,t,s){this.id=e,this.hostElement=t,this._engine=s,this._hostClassName="ng-tns-"+e,F(t,this._hostClassName)}listen(e,t,s,n){if(!this._triggers.has(t))throw function ts(){return new E.wOt(3302,!1)}();if(null==s||0==s.length)throw function ss(){return new E.wOt(3303,!1)}();if(!function sn(i){return"start"==i||"done"==i}(s))throw function ns(){return new E.wOt(3400,!1)}();const r=O(this._elementListeners,e,[]),a={name:t,phase:s,callback:n};r.push(a);const o=O(this._engine.statesByElement,e,new Map);return o.has(t)||(F(e,re),F(e,re+"-"+t),o.set(t,ze)),()=>{this._engine.afterFlush(()=>{const l=r.indexOf(a);l>=0&&r.splice(l,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return!this._triggers.has(e)&&(this._triggers.set(e,t),!0)}_getTrigger(e){const t=this._triggers.get(e);if(!t)throw function is(){return new E.wOt(3401,!1)}();return t}trigger(e,t,s,n=!0){const r=this._getTrigger(t),a=new Ke(this.id,t,e);let o=this._engine.statesByElement.get(e);o||(F(e,re),F(e,re+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t);const u=new Le(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),o.set(t,u),l||(l=ze),u.value!==te&&l.value===u.value){if(!function an(i,e){const t=Object.keys(i),s=Object.keys(e);if(t.length!=s.length)return!1;for(let n=0;n{W(e,v),K(e,b)})}return}const S=O(this._engine.playersByElement,e,[]);S.forEach(y=>{y.namespaceId==this.id&&y.triggerName==t&&y.queued&&y.destroy()});let _=r.matchTransition(l.value,u.value,e,u.params),m=!1;if(!_){if(!n)return;_=r.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:_,fromState:l,toState:u,player:a,isFallbackTransition:m}),m||(F(e,mt),a.onStart(()=>{Y(e,mt)})),a.onDone(()=>{let y=this.players.indexOf(a);y>=0&&this.players.splice(y,1);const v=this._engine.playersByElement.get(e);if(v){let b=v.indexOf(a);b>=0&&v.splice(b,1)}}),this.players.push(a),S.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,s)=>{this._elementListeners.set(s,t.filter(n=>n.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(s=>s.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const s=this._engine.driver.query(e,ae,!0);s.forEach(n=>{if(n[z])return;const r=this._engine.fetchNamespacesByElement(n);r.size?r.forEach(a=>a.triggerLeaveAnimation(n,t,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,t,s,n){const r=this._engine.statesByElement.get(e),a=new Map;if(r){const o=[];if(r.forEach((l,u)=>{if(a.set(u,l.value),this._triggers.has(u)){const c=this.trigger(e,u,te,n);c&&o.push(c)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,a),s&&$(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),s=this._engine.statesByElement.get(e);if(t&&s){const n=new Set;t.forEach(r=>{const a=r.name;if(n.has(a))return;n.add(a);const l=this._triggers.get(a).fallbackTransition,u=s.get(a)||ze,c=new Le(te),h=new Ke(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:u,toState:c,player:h,isFallbackTransition:!0})})}}removeNode(e,t){const s=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(s.totalAnimations){const r=s.players.length?s.playersByQueriedElement.get(e):[];if(r&&r.length)n=!0;else{let a=e;for(;a=a.parentNode;)if(s.statesByElement.get(a)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)s.markElementAsRemoved(this.id,e,!1,t);else{const r=e[z];(!r||r===pt)&&(s.afterFlush(()=>this.clearElementCache(e)),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){F(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(s=>{const n=s.player;if(n.destroyed)return;const r=s.element,a=this._elementListeners.get(r);a&&a.forEach(o=>{if(o.name==s.triggerName){const l=Se(r,s.triggerName,s.fromState.value,s.toState.value);l._data=e,ye(s.player,o.phase,l,o.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(s)}),this._queue=[],t.sort((s,n)=>{const r=s.transition.ast.depCount,a=n.transition.ast.depCount;return 0==r||0==a?r-a:this._engine.driver.containsElement(s.element,n.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}}class Js{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(e,t)=>{};_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,s){this.bodyNode=e,this.driver=t,this._normalizer=s}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(s=>{s.queued&&e.push(s)})}),e}createNamespace(e,t){const s=new Zs(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(s,t):(this.newHostElements.set(t,s),this.collectEnterElement(t)),this._namespaceLookup[e]=s}_balanceNamespaceList(e,t){const s=this._namespaceList,n=this.namespacesByHostElement;if(s.length-1>=0){let a=!1,o=this.driver.getParentElement(t);for(;o;){const l=n.get(o);if(l){const u=s.indexOf(l);s.splice(u+1,0,e),a=!0;break}o=this.driver.getParentElement(o)}a||s.unshift(e)}else s.push(e);return n.set(t,e),e}register(e,t){let s=this._namespaceLookup[e];return s||(s=this.createNamespace(e,t)),s}registerTrigger(e,t,s){let n=this._namespaceLookup[e];n&&n.register(t,s)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const s=this._fetchNamespace(e);this.namespacesByHostElement.delete(s.hostElement);const n=this._namespaceList.indexOf(s);n>=0&&this._namespaceList.splice(n,1),s.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,s=this.statesByElement.get(e);if(s)for(let n of s.values())if(n.namespaceId){const r=this._fetchNamespace(n.namespaceId);r&&t.add(r)}return t}trigger(e,t,s,n){if(me(t)){const r=this._fetchNamespace(e);if(r)return r.trigger(t,s,n),!0}return!1}insertNode(e,t,s,n){if(!me(t))return;const r=t[z];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){const a=this._fetchNamespace(e);a&&a.insertNode(t,s)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),F(e,Fe)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Y(e,Fe))}removeNode(e,t,s){if(me(t)){const n=e?this._fetchNamespace(e):null;n?n.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);const r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,s)}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,s,n,r){this.collectedLeaveElements.push(t),t[z]={namespaceId:e,setForRemoval:n,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,s,n,r){return me(t)?this._fetchNamespace(e).listen(t,s,n,r):()=>{}}_buildInstruction(e,t,s,n,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,s,n,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,ae,!0);t.forEach(s=>this.destroyActiveAnimationsForElement(s)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,be,!0),t.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return $(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e[z];if(t&&t.setForRemoval){if(e[z]=pt,t.namespaceId){this.destroyInnerAnimations(e);const s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Fe)&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,n)=>this._balanceNamespaceList(s,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;ss()),this._flushFns=[],this._whenQuietFns.length){const s=this._whenQuietFns;this._whenQuietFns=[],t.length?$(t).onDone(()=>{s.forEach(n=>n())}):s.forEach(n=>n())}}reportError(e){throw function rs(){return new E.wOt(3402,!1)}()}_flushAnimations(e,t){const s=new he,n=[],r=new Map,a=[],o=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach(f=>{c.add(f);const p=this.driver.query(f,".ng-animate-queued",!0);for(let g=0;g{const g=we+y++;m.set(p,g),f.forEach(T=>F(T,g))});const v=[],b=new Set,A=new Set;for(let f=0;fb.add(T)):A.add(p))}const C=new Map,N=_t(S,Array.from(b));N.forEach((f,p)=>{const g=ie+y++;C.set(p,g),f.forEach(T=>F(T,g))}),e.push(()=>{_.forEach((f,p)=>{const g=m.get(p);f.forEach(T=>Y(T,g))}),N.forEach((f,p)=>{const g=C.get(p);f.forEach(T=>Y(T,g))}),v.forEach(f=>{this.processLeaveNode(f)})});const x=[],B=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(t).forEach(g=>{const T=g.player,P=g.element;if(x.push(T),this.collectedEnterElements.length){const M=P[z];if(M&&M.setForMove){if(M.previousTriggersValues&&M.previousTriggersValues.has(g.triggerName)){const X=M.previousTriggersValues.get(g.triggerName),L=this.statesByElement.get(g.element);if(L&&L.has(g.triggerName)){const ge=L.get(g.triggerName);ge.value=X,L.set(g.triggerName,ge)}}return void T.destroy()}}const q=!h||!this.driver.containsElement(h,P),R=C.get(P),V=m.get(P),w=this._buildInstruction(g,s,V,R,q);if(w.errors&&w.errors.length)return void B.push(w);if(q)return T.onStart(()=>W(P,w.fromStyles)),T.onDestroy(()=>K(P,w.toStyles)),void n.push(T);if(g.isFallbackTransition)return T.onStart(()=>W(P,w.fromStyles)),T.onDestroy(()=>K(P,w.toStyles)),void n.push(T);const Nt=[];w.timelines.forEach(M=>{M.stretchStartingKeyframe=!0,this.disabledNodes.has(M.element)||Nt.push(M)}),w.timelines=Nt,s.append(P,w.timelines),a.push({instruction:w,player:T,element:P}),w.queriedElements.forEach(M=>O(o,M,[]).push(T)),w.preStyleProps.forEach((M,X)=>{if(M.size){let L=l.get(X);L||l.set(X,L=new Set),M.forEach((ge,Ue)=>L.add(Ue))}}),w.postStyleProps.forEach((M,X)=>{let L=u.get(X);L||u.set(X,L=new Set),M.forEach((ge,Ue)=>L.add(Ue))})});if(B.length){const f=[];B.forEach(p=>{f.push(function as(){return new E.wOt(3505,!1)}())}),x.forEach(p=>p.destroy()),this.reportError(f)}const k=new Map,D=new Map;a.forEach(f=>{const p=f.element;s.has(p)&&(D.set(p,p),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,k))}),n.forEach(f=>{const p=f.element;this._getPreviousPlayers(p,!1,f.namespaceId,f.triggerName,null).forEach(T=>{O(k,p,[]).push(T),T.destroy()})});const G=v.filter(f=>Et(f,l,u)),Z=new Map;yt(Z,this.driver,A,u,d.kp).forEach(f=>{Et(f,l,u)&&G.push(f)});const H=new Map;_.forEach((f,p)=>{yt(H,this.driver,new Set(f),l,d.FX)}),G.forEach(f=>{const p=Z.get(f),g=H.get(f);Z.set(f,new Map([...p?.entries()??[],...g?.entries()??[]]))});const Ve=[],At=[],Pt={};a.forEach(f=>{const{element:p,player:g,instruction:T}=f;if(s.has(p)){if(c.has(p))return g.onDestroy(()=>K(p,T.toStyles)),g.disabled=!0,g.overrideTotalTime(T.totalTime),void n.push(g);let P=Pt;if(D.size>1){let R=p;const V=[];for(;R=R.parentNode;){const w=D.get(R);if(w){P=w;break}V.push(R)}V.forEach(w=>D.set(w,P))}const q=this._buildAnimation(g.namespaceId,T,k,r,H,Z);if(g.setRealPlayer(q),P===Pt)Ve.push(g);else{const R=this.playersByElement.get(P);R&&R.length&&(g.parentPlayer=$(R)),n.push(g)}}else W(p,T.fromStyles),g.onDestroy(()=>K(p,T.toStyles)),At.push(g),c.has(p)&&n.push(g)}),At.forEach(f=>{const p=r.get(f.element);if(p&&p.length){const g=$(p);f.setRealPlayer(g)}}),n.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f!q.destroyed);P.length?nn(this,p,P):this.processLeaveNode(p)}return v.length=0,Ve.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();const p=this.players.indexOf(f);this.players.splice(p,1)}),f.play()}),Ve}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,n,r){let a=[];if(t){const o=this.playersByQueriedElement.get(e);o&&(a=o)}else{const o=this.playersByElement.get(e);if(o){const l=!r||r==te;o.forEach(u=>{u.queued||!l&&u.triggerName!=n||a.push(u)})}}return(s||n)&&(a=a.filter(o=>!(s&&s!=o.namespaceId||n&&n!=o.triggerName))),a}_beforeAnimationBuild(e,t,s){const r=t.element,a=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:t.triggerName;for(const l of t.timelines){const u=l.element,c=u!==r,h=O(s,u,[]);this._getPreviousPlayers(u,c,a,o,t.toState).forEach(_=>{const m=_.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),_.destroy(),h.push(_)})}W(r,t.fromStyles)}_buildAnimation(e,t,s,n,r,a){const o=t.triggerName,l=t.element,u=[],c=new Set,h=new Set,S=t.timelines.map(m=>{const y=m.element;c.add(y);const v=y[z];if(v&&v.removedBeforeQueried)return new d.sf(m.duration,m.delay);const b=y!==l,A=function rn(i){const e=[];return St(i,e),e}((s.get(y)||Ys).map(k=>k.getRealPlayer())).filter(k=>!!k.element&&k.element===y),C=r.get(y),N=a.get(y),x=Ge(this._normalizer,m.keyframes,C,N),B=this._buildPlayer(m,x,A);if(m.subTimeline&&n&&h.add(y),b){const k=new Ke(e,o,y);k.setRealPlayer(B),u.push(k)}return B});u.forEach(m=>{O(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>function en(i,e,t){let s=i.get(e);if(s){if(s.length){const n=s.indexOf(t);s.splice(n,1)}0==s.length&&i.delete(e)}return s}(this.playersByQueriedElement,m.element,m))}),c.forEach(m=>F(m,et));const _=$(S);return _.onDestroy(()=>{c.forEach(m=>Y(m,et)),K(l,t.toStyles)}),h.forEach(m=>{O(n,m,[]).push(_)}),_}_buildPlayer(e,t,s){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,s):new d.sf(e.duration,e.delay)}}class Ke{namespaceId;triggerName;element;_player=new d.sf;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,t,s){this.namespaceId=e,this.triggerName=t,this.element=s}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,s)=>{t.forEach(n=>ye(e,s,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){O(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function me(i){return i&&1===i.nodeType}function gt(i,e){const t=i.style.display;return i.style.display=e??"none",t}function yt(i,e,t,s,n){const r=[];t.forEach(l=>r.push(gt(l)));const a=[];s.forEach((l,u)=>{const c=new Map;l.forEach(h=>{const S=e.computeStyle(u,h,n);c.set(h,S),(!S||0==S.length)&&(u[z]=xs,a.push(u))}),i.set(u,c)});let o=0;return t.forEach(l=>gt(l,r[o++])),a}function _t(i,e){const t=new Map;if(i.forEach(o=>t.set(o,[])),0==e.length)return t;const n=new Set(e),r=new Map;function a(o){if(!o)return 1;let l=r.get(o);if(l)return l;const u=o.parentNode;return l=t.has(u)?u:n.has(u)?1:a(u),r.set(o,l),l}return e.forEach(o=>{const l=a(o);1!==l&&t.get(l).push(o)}),t}function F(i,e){i.classList?.add(e)}function Y(i,e){i.classList?.remove(e)}function nn(i,e,t){$(t).onDone(()=>i.processLeaveNode(e))}function St(i,e){for(let t=0;tn.add(r)):e.set(i,s),t.delete(i),!0}class Be{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,t)=>{};constructor(e,t,s){this._driver=t,this._normalizer=s,this._transitionEngine=new Js(e.body,t,s),this._timelineEngine=new Ws(e.body,t,s),this._transitionEngine.onRemovalComplete=(n,r)=>this.onRemovalComplete(n,r)}registerTrigger(e,t,s,n,r){const a=e+"-"+n;let o=this._triggerCache[a];if(!o){const l=[],c=Ce(this._driver,r,l,[]);if(l.length)throw function Xt(){return new E.wOt(3404,!1)}();o=function Qs(i,e,t){return new $s(i,e,t)}(n,c,this._normalizer),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,n,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,s,n){this._transitionEngine.insertNode(e,t,s,n)}onRemove(e,t,s){this._transitionEngine.removeNode(e,t,s)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,s,n){if("@"==s.charAt(0)){const[r,a]=He(s);this._timelineEngine.command(r,t,a,n)}else this._transitionEngine.trigger(e,t,s,n)}listen(e,t,s,n,r){if("@"==s.charAt(0)){const[a,o]=He(s);return this._timelineEngine.listen(a,t,o,r)}return this._transitionEngine.listen(e,t,s,n,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}}let ln=(()=>{class i{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(t,s,n){this._element=t,this._startStyles=s,this._endStyles=n;let r=i.initialStylesByElement.get(t);r||i.initialStylesByElement.set(t,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&K(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(K(this._element,this._initialStyles),this._endStyles&&(K(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(i.initialStylesByElement.delete(this._element),this._startStyles&&(W(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(W(this._element,this._endStyles),this._endStyles=null),K(this._element,this._initialStyles),this._state=3)}}return i})();function qe(i){let e=null;return i.forEach((t,s)=>{(function un(i){return"display"===i||"position"===i})(s)&&(e=e||new Map,e.set(s,t))}),e}class Qe{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(e,t,s,n){this.element=e,this.keyframes=t,this.options=s,this._specialStyles=n,this._duration=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;const t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){const t=[];return e.forEach(s=>{t.push(Object.fromEntries(s))}),t}_triggerWebAnimation(e,t,s){return e.animate(this._convertKeyframesToObject(t),s)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,n)=>{"offset"!==n&&e.set(n,this._finished?s:Me(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){const t="start"===e?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}}class Tt{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return Ee(e,t)}getParentElement(e){return ne(e)}query(e,t,s){return Te(e,t,s)}computeStyle(e,t,s){return Me(e,t)}animate(e,t,s,n,r,a=[]){const l={duration:s,delay:n,fill:0==n?"both":"forwards"};r&&(l.easing=r);const u=new Map,c=a.filter(_=>_ instanceof Qe);it(s,n)&&c.forEach(_=>{_.currentSnapshot.forEach((m,y)=>u.set(y,m))});let h=tt(t).map(_=>new Map(_));h=function Ss(i,e,t){if(t.size&&e.length){let s=e[0],n=[];if(t.forEach((r,a)=>{s.has(a)||n.push(a),s.set(a,r)}),n.length)for(let r=1;ra.set(o,Me(i,o)))}}return e}(e,h,u);const S=function on(i,e){let t=null,s=null;return Array.isArray(e)&&e.length?(t=qe(e[0]),e.length>1&&(s=qe(e[e.length-1]))):e instanceof Map&&(t=qe(e)),t||s?new ln(i,t,s):null}(e,h);return new Qe(e,h,l,S)}}function cn(i,e){return"noop"===i?new Be(e,new ve,new Ze):new Be(e,new Tt,new rt)}class hn{_driver;_animationAst;constructor(e,t){this._driver=e;const s=[],r=Ce(e,t,s,[]);if(s.length)throw function Gt(){return new E.wOt(3500,!1)}();this._animationAst=r}buildTimelines(e,t,s,n,r){const a=Array.isArray(t)?st(t):t,o=Array.isArray(s)?st(s):s,l=[];r=r||new he;const u=Oe(this._driver,e,this._animationAst,we,ie,a,o,n,r,l);if(l.length)throw function Ht(){return new E.wOt(3501,!1)}();return u}}const vt="@.disabled";class $e{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(e,t,s,n){this.namespaceId=e,this.delegate=t,this.engine=s,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,s,n=!0){this.delegate.insertBefore(e,t,s),this.engine.onInsert(this.namespaceId,t,e,n)}removeChild(e,t,s){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,s,n){this.delegate.setAttribute(e,t,s,n)}removeAttribute(e,t,s){this.delegate.removeAttribute(e,t,s)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,s,n){this.delegate.setStyle(e,t,s,n)}removeStyle(e,t,s){this.delegate.removeStyle(e,t,s)}setProperty(e,t,s){"@"==t.charAt(0)&&t==vt?this.disableAnimations(e,!!s):this.delegate.setProperty(e,t,s)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,s){return this.delegate.listen(e,t,s)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class wt extends $e{factory;constructor(e,t,s,n,r){super(t,s,n,r),this.factory=e,this.namespaceId=t}setProperty(e,t,s){"@"==t.charAt(0)?"."==t.charAt(1)&&t==vt?this.disableAnimations(e,s=void 0===s||!!s):this.engine.process(this.namespaceId,e,t.slice(1),s):this.delegate.setProperty(e,t,s)}listen(e,t,s){if("@"==t.charAt(0)){const n=function fn(i){switch(i){case"body":return document.body;case"document":return document;case"window":return window;default:return i}}(e);let r=t.slice(1),a="";return"@"!=r.charAt(0)&&([r,a]=function dn(i){const e=i.indexOf(".");return[i.substring(0,e),i.slice(e+1)]}(r)),this.engine.listen(this.namespaceId,n,r,a,o=>{this.factory.scheduleListenerCallback(o._data||-1,s,o)})}return this.delegate.listen(e,t,s)}}class mn{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,t.onRemovalComplete=(n,r)=>{r?.removeChild(null,n)}}createRenderer(e,t){const n=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){const u=this._rendererCache;let c=u.get(n);return c||(c=new $e("",n,this.engine,()=>u.delete(n)),u.set(n,c)),c}const r=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const o=u=>{Array.isArray(u)?u.forEach(o):this.engine.registerTrigger(r,a,e,u.name,u)};return t.data.animation.forEach(o),new wt(this,a,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){if(e>=0&&et(s));const n=this._animationCallbacksBuffer;0==n.length&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(r=>{const[a,o]=r;a(o)}),this._animationCallbacksBuffer=[]})}),n.push([t,s])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}}}]); \ No newline at end of file +"use strict";(self.webpackChunkngx_select_ex_demo=self.webpackChunkngx_select_ex_demo||[]).push([[8],{8:(gn,We,se)=>{se.r(We),se.d(We,{AnimationDriver:()=>fs,NoopAnimationDriver:()=>ve,\u0275Animation:()=>hn,\u0275AnimationEngine:()=>Be,\u0275AnimationRenderer:()=>wt,\u0275AnimationRendererFactory:()=>mn,\u0275AnimationStyleNormalizer:()=>xe,\u0275BaseAnimationRenderer:()=>$e,\u0275NoopAnimationStyleNormalizer:()=>Ze,\u0275WebAnimationsDriver:()=>Tt,\u0275WebAnimationsPlayer:()=>Qe,\u0275WebAnimationsStyleNormalizer:()=>rt,\u0275allowPreviousPlayerStylesMerge:()=>it,\u0275camelCaseToDashCase:()=>_s,\u0275containsElement:()=>Ee,\u0275createEngine:()=>cn,\u0275getParentElement:()=>ne,\u0275invokeQuery:()=>Te,\u0275normalizeKeyframes:()=>tt,\u0275validateStyleProperty:()=>Ye,\u0275validateWebAnimatableStyleProperty:()=>cs});var d=se(969),E=se(213);function je(i){return new E.wOt(3e3,!1)}const os=new Set(["-moz-outline-radius","-moz-outline-radius-bottomleft","-moz-outline-radius-bottomright","-moz-outline-radius-topleft","-moz-outline-radius-topright","-ms-grid-columns","-ms-grid-rows","-webkit-line-clamp","-webkit-text-fill-color","-webkit-text-stroke","-webkit-text-stroke-color","accent-color","all","backdrop-filter","background","background-color","background-position","background-size","block-size","border","border-block-end","border-block-end-color","border-block-end-width","border-block-start","border-block-start-color","border-block-start-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-width","border-color","border-end-end-radius","border-end-start-radius","border-image-outset","border-image-slice","border-image-width","border-inline-end","border-inline-end-color","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-width","border-left","border-left-color","border-left-width","border-radius","border-right","border-right-color","border-right-width","border-start-end-radius","border-start-start-radius","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-width","border-width","bottom","box-shadow","caret-color","clip","clip-path","color","column-count","column-gap","column-rule","column-rule-color","column-rule-width","column-width","columns","filter","flex","flex-basis","flex-grow","flex-shrink","font","font-size","font-size-adjust","font-stretch","font-variation-settings","font-weight","gap","grid-column-gap","grid-gap","grid-row-gap","grid-template-columns","grid-template-rows","height","inline-size","input-security","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","left","letter-spacing","line-clamp","line-height","margin","margin-block-end","margin-block-start","margin-bottom","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","mask","mask-border","mask-position","mask-size","max-block-size","max-height","max-inline-size","max-lines","max-width","min-block-size","min-height","min-inline-size","min-width","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","outline","outline-color","outline-offset","outline-width","padding","padding-block-end","padding-block-start","padding-bottom","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","perspective","perspective-origin","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-coordinate","scroll-snap-destination","scrollbar-color","shape-image-threshold","shape-margin","shape-outside","tab-size","text-decoration","text-decoration-color","text-decoration-thickness","text-emphasis","text-emphasis-color","text-indent","text-shadow","text-underline-offset","top","transform","transform-origin","translate","vertical-align","visibility","width","word-spacing","z-index","zoom"]);function $(i){switch(i.length){case 0:return new d.sf;case 1:return i[0];default:return new d.ui(i)}}function Ge(i,e,t=new Map,s=new Map){const n=[],r=[];let a=-1,o=null;if(e.forEach(l=>{const u=l.get("offset"),c=u==a,h=c&&o||new Map;l.forEach((S,_)=>{let m=_,y=S;if("offset"!==_)switch(m=i.normalizePropertyName(m,n),y){case d.FX:y=t.get(_);break;case d.kp:y=s.get(_);break;default:y=i.normalizeStyleValue(_,m,y,n)}h.set(m,y)}),c||r.push(h),o=h,a=u}),n.length)throw function Yt(){return new E.wOt(3502,!1)}();return r}function ye(i,e,t,s){switch(e){case"start":i.onStart(()=>s(t&&_e(t,"start",i)));break;case"done":i.onDone(()=>s(t&&_e(t,"done",i)));break;case"destroy":i.onDestroy(()=>s(t&&_e(t,"destroy",i)))}}function _e(i,e,t){const r=Se(i.element,i.triggerName,i.fromState,i.toState,e||i.phaseName,t.totalTime??i.totalTime,!!t.disabled),a=i._data;return null!=a&&(r._data=a),r}function Se(i,e,t,s,n="",r=0,a){return{element:i,triggerName:e,fromState:t,toState:s,phaseName:n,totalTime:r,disabled:!!a}}function O(i,e,t){let s=i.get(e);return s||i.set(e,s=t),s}function He(i){const e=i.indexOf(":");return[i.substring(1,e),i.slice(e+1)]}const ls=typeof document>"u"?null:document.documentElement;function ne(i){const e=i.parentNode||i.host||null;return e===ls?null:e}let U=null,Xe=!1;function Ye(i){U||(U=function hs(){return typeof document<"u"?document.body:null}()||{},Xe=!!U.style&&"WebkitAppearance"in U.style);let e=!0;return U.style&&!function us(i){return"ebkit"==i.substring(1,6)}(i)&&(e=i in U.style,!e&&Xe&&(e="Webkit"+i.charAt(0).toUpperCase()+i.slice(1)in U.style)),e}function cs(i){return os.has(i)}function Ee(i,e){for(;e;){if(e===i)return!0;e=ne(e)}return!1}function Te(i,e,t){if(t)return Array.from(i.querySelectorAll(e));const s=i.querySelector(e);return s?[s]:[]}let ve=(()=>{class i{validateStyleProperty(t){return Ye(t)}containsElement(t,s){return Ee(t,s)}getParentElement(t){return ne(t)}query(t,s,n){return Te(t,s,n)}computeStyle(t,s,n){return n||""}animate(t,s,n,r,a,o=[],l){return new d.sf(n,r)}static \u0275fac=function(s){return new(s||i)};static \u0275prov=E.jDH({token:i,factory:i.\u0275fac})}return i})();class fs{static NOOP=new ve}class xe{}class Ze{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,s,n){return s}}const we="ng-enter",ie="ng-leave",re="ng-trigger",ae=".ng-trigger",et="ng-animating",be=".ng-animating";function Q(i){if("number"==typeof i)return i;const e=i.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Ae(parseFloat(e[1]),e[2])}function Ae(i,e){return"s"===e?1e3*i:i}function oe(i,e,t){return i.hasOwnProperty("duration")?i:function ps(i,e,t){let n,r=0,a="";if("string"==typeof i){const o=i.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===o)return e.push(je()),{duration:0,delay:0,easing:""};n=Ae(parseFloat(o[1]),o[2]);const l=o[3];null!=l&&(r=Ae(parseFloat(l),o[4]));const u=o[5];u&&(a=u)}else n=i;if(!t){let o=!1,l=e.length;n<0&&(e.push(function Mt(){return new E.wOt(3100,!1)}()),o=!0),r<0&&(e.push(function Ct(){return new E.wOt(3101,!1)}()),o=!0),o&&e.splice(l,0,je())}return{duration:n,delay:r,easing:a}}(i,e,t)}function tt(i){return i.length?i[0]instanceof Map?i:i.map(e=>new Map(Object.entries(e))):[]}function st(i){return Array.isArray(i)?new Map(...i):new Map(i)}function K(i,e,t){e.forEach((s,n)=>{const r=Ne(n);t&&!t.has(n)&&t.set(n,i.style[r]),i.style[r]=s})}function W(i,e){e.forEach((t,s)=>{const n=Ne(s);i.style[n]=""})}function J(i){return Array.isArray(i)?1==i.length?i[0]:(0,d.K2)(i):i}const Pe=new RegExp("{{\\s*(.+?)\\s*}}","g");function nt(i){let e=[];if("string"==typeof i){let t;for(;t=Pe.exec(i);)e.push(t[1]);Pe.lastIndex=0}return e}function ee(i,e,t){const s=`${i}`,n=s.replace(Pe,(r,a)=>{let o=e[a];return null==o&&(t.push(function Dt(){return new E.wOt(3003,!1)}()),o=""),o.toString()});return n==s?i:n}const ys=/-+([a-z0-9])/g;function Ne(i){return i.replace(ys,(...e)=>e[1].toUpperCase())}function _s(i){return i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function it(i,e){return 0===i||0===e}function I(i,e,t){switch(e.type){case d.If.Trigger:return i.visitTrigger(e,t);case d.If.State:return i.visitState(e,t);case d.If.Transition:return i.visitTransition(e,t);case d.If.Sequence:return i.visitSequence(e,t);case d.If.Group:return i.visitGroup(e,t);case d.If.Animate:return i.visitAnimate(e,t);case d.If.Keyframes:return i.visitKeyframes(e,t);case d.If.Style:return i.visitStyle(e,t);case d.If.Reference:return i.visitReference(e,t);case d.If.AnimateChild:return i.visitAnimateChild(e,t);case d.If.AnimateRef:return i.visitAnimateRef(e,t);case d.If.Query:return i.visitQuery(e,t);case d.If.Stagger:return i.visitStagger(e,t);default:throw function Ot(){return new E.wOt(3004,!1)}()}}function Me(i,e){return window.getComputedStyle(i)[e]}const Es=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class rt extends xe{normalizePropertyName(e,t){return Ne(e)}normalizeStyleValue(e,t,s,n){let r="";const a=s.toString().trim();if(Es.has(t)&&0!==s&&"0"!==s)if("number"==typeof s)r="px";else{const o=s.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&0==o[1].length&&n.push(function It(){return new E.wOt(3005,!1)}())}return a+r}}const ue=new Set(["true","1"]),ce=new Set(["false","0"]);function at(i,e){const t=ue.has(i)||ce.has(i),s=ue.has(e)||ce.has(e);return(n,r)=>{let a="*"==i||i==n,o="*"==e||e==r;return!a&&t&&"boolean"==typeof n&&(a=n?ue.has(i):ce.has(i)),!o&&s&&"boolean"==typeof r&&(o=r?ue.has(e):ce.has(e)),a&&o}}const bs=new RegExp("s*:selfs*,?","g");function Ce(i,e,t,s){return new As(i).build(e,t,s)}class As{_driver;constructor(e){this._driver=e}build(e,t,s){const n=new Ms(t);return this._resetContextStyleTimingState(n),I(this,J(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles=new Map,e.collectedStyles.set("",new Map),e.currentTime=0}visitTrigger(e,t){let s=t.queryCount=0,n=t.depCount=0;const r=[],a=[];return"@"==e.name.charAt(0)&&t.errors.push(function Rt(){return new E.wOt(3006,!1)}()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==d.If.State){const l=o,u=l.name;u.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,r.push(this.visitState(l,t))}),l.name=u}else if(o.type==d.If.Transition){const l=this.visitTransition(o,t);s+=l.queryCount,n+=l.depCount,a.push(l)}else t.errors.push(function Ft(){return new E.wOt(3007,!1)}())}),{type:d.If.Trigger,name:e.name,states:r,transitions:a,queryCount:s,depCount:n,options:null}}visitState(e,t){const s=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(s.containsDynamicStyles){const r=new Set,a=n||{};s.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{nt(l).forEach(u=>{a.hasOwnProperty(u)||r.add(u)})})}),r.size&&t.errors.push(function Lt(){return new E.wOt(3008,!1)}(0,r.values()))}return{type:d.If.State,name:e.name,style:s,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const s=I(this,J(e.animation),t),n=function Ts(i,e){const t=[];return"string"==typeof i?i.split(/\s*,\s*/).forEach(s=>function vs(i,e,t){if(":"==i[0]){const l=function ws(i,e){switch(i){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,s)=>parseFloat(s)>parseFloat(t);case":decrement":return(t,s)=>parseFloat(s) *"}}(i,t);if("function"==typeof l)return void e.push(l);i=l}const s=i.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==s||s.length<4)return t.push(function Wt(){return new E.wOt(3015,!1)}()),e;const n=s[1],r=s[2],a=s[3];e.push(at(n,a)),"<"==r[0]&&("*"!=n||"*"!=a)&&e.push(at(a,n))}(s,t,e)):t.push(i),t}(e.expr,t.errors);return{type:d.If.Transition,matchers:n,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:j(e.options)}}visitSequence(e,t){return{type:d.If.Sequence,steps:e.steps.map(s=>I(this,s,t)),options:j(e.options)}}visitGroup(e,t){const s=t.currentTime;let n=0;const r=e.steps.map(a=>{t.currentTime=s;const o=I(this,a,t);return n=Math.max(n,t.currentTime),o});return t.currentTime=n,{type:d.If.Group,steps:r,options:j(e.options)}}visitAnimate(e,t){const s=function ks(i,e){if(i.hasOwnProperty("duration"))return i;if("number"==typeof i)return ke(oe(i,e).duration,0,"");const t=i;if(t.split(/\s+/).some(r=>"{"==r.charAt(0)&&"{"==r.charAt(1))){const r=ke(0,0,"");return r.dynamic=!0,r.strValue=t,r}const n=oe(t,e);return ke(n.duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=s;let n,r=e.styles?e.styles:(0,d.iF)({});if(r.type==d.If.Keyframes)n=this.visitKeyframes(r,t);else{let a=e.styles,o=!1;if(!a){o=!0;const u={};s.easing&&(u.easing=s.easing),a=(0,d.iF)(u)}t.currentTime+=s.duration+s.delay;const l=this.visitStyle(a,t);l.isEmptyStep=o,n=l}return t.currentAnimateTimings=null,{type:d.If.Animate,timings:s,style:n,options:null}}visitStyle(e,t){const s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,t){const s=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of n)"string"==typeof o?o===d.kp?s.push(o):t.errors.push(new E.wOt(3002,!1)):s.push(new Map(Object.entries(o)));let r=!1,a=null;return s.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(a=o.get("easing"),o.delete("easing")),!r))for(let l of o.values())if(l.toString().indexOf("{{")>=0){r=!0;break}}),{type:d.If.Style,styles:s,easing:a,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){const s=t.currentAnimateTimings;let n=t.currentTime,r=t.currentTime;s&&r>0&&(r-=s.duration+s.delay),e.styles.forEach(a=>{"string"!=typeof a&&a.forEach((o,l)=>{const u=t.collectedStyles.get(t.currentQuerySelector),c=u.get(l);let h=!0;c&&(r!=n&&r>=c.startTime&&n<=c.endTime&&(t.errors.push(function Kt(){return new E.wOt(3010,!1)}()),h=!1),r=c.startTime),h&&u.set(l,{startTime:r,endTime:n}),t.options&&function gs(i,e,t){const s=e.params||{},n=nt(i);n.length&&n.forEach(r=>{s.hasOwnProperty(r)||t.push(function kt(){return new E.wOt(3001,!1)}())})}(o,t.options,t.errors)})})}visitKeyframes(e,t){const s={type:d.If.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function Bt(){return new E.wOt(3011,!1)}()),s;let r=0;const a=[];let o=!1,l=!1,u=0;const c=e.steps.map(b=>{const A=this._makeStyleAst(b,t);let C=null!=A.offset?A.offset:function Cs(i){if("string"==typeof i)return null;let e=null;if(Array.isArray(i))i.forEach(t=>{if(t instanceof Map&&t.has("offset")){const s=t;e=parseFloat(s.get("offset")),s.delete("offset")}});else if(i instanceof Map&&i.has("offset")){const t=i;e=parseFloat(t.get("offset")),t.delete("offset")}return e}(A.styles),N=0;return null!=C&&(r++,N=A.offset=C),l=l||N<0||N>1,o=o||N0&&r{const C=S>0?A==_?1:S*A:a[A],N=C*v;t.currentTime=m+y.delay+N,y.duration=N,this._validateStyleAst(b,t),b.offset=C,s.styles.push(b)}),s}visitReference(e,t){return{type:d.If.Reference,animation:I(this,J(e.animation),t),options:j(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:d.If.AnimateChild,options:j(e.options)}}visitAnimateRef(e,t){return{type:d.If.AnimateRef,animation:this.visitReference(e.animation,t),options:j(e.options)}}visitQuery(e,t){const s=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;const[r,a]=function Ps(i){const e=!!i.split(/\s*,\s*/).find(t=>":self"==t);return e&&(i=i.replace(bs,"")),i=i.replace(/@\*/g,ae).replace(/@\w+/g,t=>ae+"-"+t.slice(1)).replace(/:animating/g,be),[i,e]}(e.selector);t.currentQuerySelector=s.length?s+" "+r:r,O(t.collectedStyles,t.currentQuerySelector,new Map);const o=I(this,J(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=s,{type:d.If.Query,selector:r,limit:n.limit||0,optional:!!n.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:j(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(function Vt(){return new E.wOt(3013,!1)}());const s="full"===e.timings?{duration:0,delay:0,easing:"full"}:oe(e.timings,t.errors,!0);return{type:d.If.Stagger,animation:I(this,J(e.animation),t),timings:s,options:null}}}class Ms{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(e){this.errors=e}}function j(i){return i?(i={...i}).params&&(i.params=function Ns(i){return i?{...i}:null}(i.params)):i={},i}function ke(i,e,t){return{duration:i,delay:e,easing:t}}function De(i,e,t,s,n,r,a=null,o=!1){return{type:1,element:i,keyframes:e,preStyleProps:t,postStyleProps:s,duration:n,delay:r,totalTime:n+r,easing:a,subTimeline:o}}class he{_map=new Map;get(e){return this._map.get(e)||[]}append(e,t){let s=this._map.get(e);s||this._map.set(e,s=[]),s.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const Is=new RegExp(":enter","g"),Fs=new RegExp(":leave","g");function Oe(i,e,t,s,n,r=new Map,a=new Map,o,l,u=[]){return(new Ls).buildKeyframes(i,e,t,s,n,r,a,o,l,u)}class Ls{buildKeyframes(e,t,s,n,r,a,o,l,u,c=[]){u=u||new he;const h=new Ie(e,t,u,n,r,c,[]);h.options=l;const S=l.delay?Q(l.delay):0;h.currentTimeline.delayNextStep(S),h.currentTimeline.setStyles([a],null,h.errors,l),I(this,s,h);const _=h.timelines.filter(m=>m.containsAnimation());if(_.length&&o.size){let m;for(let y=_.length-1;y>=0;y--){const v=_[y];if(v.element===t){m=v;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([o],null,h.errors,l)}return _.length?_.map(m=>m.buildKeyframes()):[De(t,[],[],[],0,S,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const s=t.subInstructions.get(t.element);if(s){const n=t.createSubContext(e.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(s,n,n.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}visitAnimateRef(e,t){const s=t.createSubContext(e.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,s),this.visitReference(e.animation,s),t.transformIntoNewTimeline(s.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,s){for(const n of e){const r=n?.delay;if(r){const a="number"==typeof r?r:Q(ee(r,n?.params??{},t.errors));s.delayNextStep(a)}}}_visitSubInstructions(e,t,s){let r=t.currentTimeline.currentTime;const a=null!=s.duration?Q(s.duration):null,o=null!=s.delay?Q(s.delay):null;return 0!==a&&e.forEach(l=>{const u=t.appendInstructionToTimeline(l,a,o);r=Math.max(r,u.duration+u.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),I(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const s=t.subContextCount;let n=t;const r=e.options;if(r&&(r.params||r.delay)&&(n=t.createSubContext(r),n.transformIntoNewTimeline(),null!=r.delay)){n.previousNode.type==d.If.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=fe);const a=Q(r.delay);n.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>I(this,a,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>s&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const s=[];let n=t.currentTimeline.currentTime;const r=e.options&&e.options.delay?Q(e.options.delay):0;e.steps.forEach(a=>{const o=t.createSubContext(e.options);r&&o.delayNextStep(r),I(this,a,o),n=Math.max(n,o.currentTimeline.currentTime),s.push(o.currentTimeline)}),s.forEach(a=>t.currentTimeline.mergeTimelineCollectedStyles(a)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const s=e.strValue;return oe(t.params?ee(s,t.params,t.errors):s,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const s=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;s.delay&&(t.incrementTime(s.delay),n.snapshotCurrentStyles());const r=e.style;r.type==d.If.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(s.duration),this.visitStyle(r,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const s=t.currentTimeline,n=t.currentAnimateTimings;!n&&s.hasCurrentStyleProperties()&&s.forwardFrame();const r=n&&n.easing||e.easing;e.isEmptyStep?s.applyEmptyStep(r):s.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const s=t.currentAnimateTimings,n=t.currentTimeline.duration,r=s.duration,o=t.createSubContext().currentTimeline;o.easing=s.easing,e.styles.forEach(l=>{o.forwardTime((l.offset||0)*r),o.setStyles(l.styles,l.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(n+r),t.previousNode=e}visitQuery(e,t){const s=t.currentTimeline.currentTime,n=e.options||{},r=n.delay?Q(n.delay):0;r&&(t.previousNode.type===d.If.Style||0==s&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=fe);let a=s;const o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((u,c)=>{t.currentQueryIndex=c;const h=t.createSubContext(e.options,u);r&&h.delayNextStep(r),u===t.element&&(l=h.currentTimeline),I(this,e.animation,h),h.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,h.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const s=t.parentContext,n=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1);let l=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=s.currentStaggerTime}const c=t.currentTimeline;l&&c.delayNextStep(l);const h=c.currentTime;I(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=n.currentTime-h+(n.startTime-s.currentTimeline.startTime)}}const fe={};class Ie{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=fe;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,t,s,n,r,a,o,l){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=n,this._leaveClassName=r,this.errors=a,this.timelines=o,this.currentTimeline=l||new de(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const s=e;let n=this.options;null!=s.duration&&(n.duration=Q(s.duration)),null!=s.delay&&(n.delay=Q(s.delay));const r=s.params;if(r){let a=n.params;a||(a=this.options.params={}),Object.keys(r).forEach(o=>{(!t||!a.hasOwnProperty(o))&&(a[o]=ee(r[o],a,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const s=e.params={};Object.keys(t).forEach(n=>{s[n]=t[n]})}}return e}createSubContext(e=null,t,s){const n=t||this.element,r=new Ie(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,s||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=fe,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){const n={duration:t??e.duration,delay:this.currentTimeline.currentTime+(s??0)+e.delay,easing:""},r=new zs(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(r),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,n,r,a){let o=[];if(n&&o.push(this.element),e.length>0){e=(e=e.replace(Is,"."+this._enterClassName)).replace(Fs,"."+this._leaveClassName);let u=this._driver.query(this.element,e,1!=s);0!==s&&(u=s<0?u.slice(u.length+s,u.length):u.slice(0,s)),o.push(...u)}return!r&&0==o.length&&a.push(function Ut(){return new E.wOt(3014,!1)}()),o}}class de{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(e,t,s,n){this._driver=e,this.element=t,this.startTime=s,this._elementTimelineStylesLookup=n,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new de(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,s]of this._globalTimelineStyles)this._backFill.set(t,s||d.kp),this._currentKeyframe.set(t,d.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,n){t&&this._previousKeyframe.set("easing",t);const r=n&&n.params||{},a=function Ks(i,e){const t=new Map;let s;return i.forEach(n=>{if("*"===n){s??=e.keys();for(let r of s)t.set(r,d.kp)}else for(let[r,a]of n)t.set(r,a)}),t}(e,this._globalTimelineStyles);for(let[o,l]of a){const u=ee(l,r,s);this._pendingStyles.set(o,u),this._localTimelineStyles.has(o)||this._backFill.set(o,this._globalTimelineStyles.get(o)??d.kp),this._updateStyle(o,u)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,s)=>{const n=this._styleSummary.get(s);(!n||t.time>n.time)&&this._updateStyle(s,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,s=1===this._keyframes.size&&0===this.duration;let n=[];this._keyframes.forEach((o,l)=>{const u=new Map([...this._backFill,...o]);u.forEach((c,h)=>{c===d.FX?e.add(h):c===d.kp&&t.add(h)}),s||u.set("offset",l/this.duration),n.push(u)});const r=[...e.values()],a=[...t.values()];if(s){const o=n[0],l=new Map(o);o.set("offset",0),l.set("offset",1),n=[o,l]}return De(this.element,n,r,a,this.duration,this.startTime,this.easing,!1)}}class zs extends de{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,t,s,n,r,a,o=!1){super(e,t,a.delay),this.keyframes=s,this.preStyleProps=n,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:s,easing:n}=this.timings;if(this._stretchStartingKeyframe&&t){const r=[],a=s+t,o=t/a,l=new Map(e[0]);l.set("offset",0),r.push(l);const u=new Map(e[0]);u.set("offset",ut(o)),r.push(u);const c=e.length-1;for(let h=1;h<=c;h++){let S=new Map(e[h]);const _=S.get("offset");S.set("offset",ut((t+_*s)/a)),r.push(S)}s=a,t=0,n="",e=r}return De(this.element,e,this.preStyleProps,this.postStyleProps,s,t,n,!0)}}function ut(i,e=3){const t=Math.pow(10,e-1);return Math.round(i*t)/t}function ct(i,e,t,s,n,r,a,o,l,u,c,h,S){return{type:0,element:i,triggerName:e,isRemovalTransition:n,fromState:t,fromStyles:r,toState:s,toStyles:a,timelines:o,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:h,errors:S}}const Re={};class ht{_triggerName;ast;_stateStyles;constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,n){return function Bs(i,e,t,s,n){return i.some(r=>r(e,t,s,n))}(this.ast.matchers,e,t,s,n)}buildStyles(e,t,s){let n=this._stateStyles.get("*");return void 0!==e&&(n=this._stateStyles.get(e?.toString())||n),n?n.buildStyles(t,s):new Map}build(e,t,s,n,r,a,o,l,u,c){const h=[],S=this.ast.options&&this.ast.options.params||Re,m=this.buildStyles(s,o&&o.params||Re,h),y=l&&l.params||Re,v=this.buildStyles(n,y,h),b=new Set,A=new Map,C=new Map,N="void"===n,x={params:ft(y,S),delay:this.ast.options?.delay},B=c?[]:Oe(e,t,this.ast.animation,r,a,m,v,x,u,h);let k=0;return B.forEach(D=>{k=Math.max(D.duration+D.delay,k)}),h.length?ct(t,this._triggerName,s,n,N,m,v,[],[],A,C,k,h):(B.forEach(D=>{const G=D.element,Z=O(A,G,new Set);D.preStyleProps.forEach(H=>Z.add(H));const bt=O(C,G,new Set);D.postStyleProps.forEach(H=>bt.add(H)),G!==t&&b.add(G)}),ct(t,this._triggerName,s,n,N,m,v,B,[...b.values()],A,C,k))}}function ft(i,e){const t={...e};return Object.entries(i).forEach(([s,n])=>{null!=n&&(t[s]=n)}),t}class qs{styles;defaultParams;normalizer;constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){const s=new Map,n=ft(e,this.defaultParams);return this.styles.styles.forEach(r=>{"string"!=typeof r&&r.forEach((a,o)=>{a&&(a=ee(a,n,t));const l=this.normalizer.normalizePropertyName(o,t);a=this.normalizer.normalizeStyleValue(o,l,a,t),s.set(o,a)})}),s}}class $s{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,t,s){this.name=e,this.ast=t,this._normalizer=s,t.states.forEach(n=>{this.states.set(n.name,new qs(n.style,n.options&&n.options.params||{},s))}),dt(this.states,"true","1"),dt(this.states,"false","0"),t.transitions.forEach(n=>{this.transitionFactories.push(new ht(e,n,this.states))}),this.fallbackTransition=function Vs(i,e){return new ht(i,{type:d.If.Transition,animation:{type:d.If.Sequence,steps:[],options:null},matchers:[(a,o)=>!0],options:null,queryCount:0,depCount:0},e)}(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,n){return this.transitionFactories.find(a=>a.match(e,t,s,n))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}}function dt(i,e,t){i.has(e)?i.has(t)||i.set(t,i.get(e)):i.has(t)&&i.set(e,i.get(t))}const Us=new he;class Ws{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,t,s){this.bodyNode=e,this._driver=t,this._normalizer=s}register(e,t){const s=[],r=Ce(this._driver,t,s,[]);if(s.length)throw function xt(){return new E.wOt(3503,!1)}();this._animations.set(e,r)}_buildPlayer(e,t,s){const n=e.element,r=Ge(this._normalizer,e.keyframes,t,s);return this._driver.animate(n,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,s={}){const n=[],r=this._animations.get(e);let a;const o=new Map;if(r?(a=Oe(this._driver,t,r,we,ie,new Map,new Map,s,Us,n),a.forEach(c=>{const h=O(o,c.element,new Map);c.postStyleProps.forEach(S=>h.set(S,null))})):(n.push(function Zt(){return new E.wOt(3300,!1)}()),a=[]),n.length)throw function Jt(){return new E.wOt(3504,!1)}();o.forEach((c,h)=>{c.forEach((S,_)=>{c.set(_,this._driver.computeStyle(h,_,d.kp))})});const u=$(a.map(c=>{const h=o.get(c.element);return this._buildPlayer(c,new Map,h)}));return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){const t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);const s=this.players.indexOf(t);s>=0&&this.players.splice(s,1)}_getPlayer(e){const t=this._playersById.get(e);if(!t)throw function es(){return new E.wOt(3301,!1)}();return t}listen(e,t,s,n){const r=Se(t,"","","");return ye(this._getPlayer(e),s,r,n),()=>{}}command(e,t,s,n){if("register"==s)return void this.register(e,n[0]);if("create"==s)return void this.create(e,t,n[0]||{});const r=this._getPlayer(e);switch(s){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e)}}}const mt="ng-animate-queued",Fe="ng-animate-disabled",Ys=[],pt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},xs={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},z="__ng_removed";class Le{namespaceId;value;options;get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;const s=e&&e.hasOwnProperty("value");if(this.value=function tn(i){return i??null}(s?e.value:e),s){const{value:r,...a}=e;this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){const t=e.params;if(t){const s=this.options.params;Object.keys(t).forEach(n=>{null==s[n]&&(s[n]=t[n])})}}}const te="void",ze=new Le(te);class Zs{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,t,s){this.id=e,this.hostElement=t,this._engine=s,this._hostClassName="ng-tns-"+e,F(t,this._hostClassName)}listen(e,t,s,n){if(!this._triggers.has(t))throw function ts(){return new E.wOt(3302,!1)}();if(null==s||0==s.length)throw function ss(){return new E.wOt(3303,!1)}();if(!function sn(i){return"start"==i||"done"==i}(s))throw function ns(){return new E.wOt(3400,!1)}();const r=O(this._elementListeners,e,[]),a={name:t,phase:s,callback:n};r.push(a);const o=O(this._engine.statesByElement,e,new Map);return o.has(t)||(F(e,re),F(e,re+"-"+t),o.set(t,ze)),()=>{this._engine.afterFlush(()=>{const l=r.indexOf(a);l>=0&&r.splice(l,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return!this._triggers.has(e)&&(this._triggers.set(e,t),!0)}_getTrigger(e){const t=this._triggers.get(e);if(!t)throw function is(){return new E.wOt(3401,!1)}();return t}trigger(e,t,s,n=!0){const r=this._getTrigger(t),a=new Ke(this.id,t,e);let o=this._engine.statesByElement.get(e);o||(F(e,re),F(e,re+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t);const u=new Le(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),o.set(t,u),l||(l=ze),u.value!==te&&l.value===u.value){if(!function an(i,e){const t=Object.keys(i),s=Object.keys(e);if(t.length!=s.length)return!1;for(let n=0;n{W(e,v),K(e,b)})}return}const S=O(this._engine.playersByElement,e,[]);S.forEach(y=>{y.namespaceId==this.id&&y.triggerName==t&&y.queued&&y.destroy()});let _=r.matchTransition(l.value,u.value,e,u.params),m=!1;if(!_){if(!n)return;_=r.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:_,fromState:l,toState:u,player:a,isFallbackTransition:m}),m||(F(e,mt),a.onStart(()=>{Y(e,mt)})),a.onDone(()=>{let y=this.players.indexOf(a);y>=0&&this.players.splice(y,1);const v=this._engine.playersByElement.get(e);if(v){let b=v.indexOf(a);b>=0&&v.splice(b,1)}}),this.players.push(a),S.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,s)=>{this._elementListeners.set(s,t.filter(n=>n.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(s=>s.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const s=this._engine.driver.query(e,ae,!0);s.forEach(n=>{if(n[z])return;const r=this._engine.fetchNamespacesByElement(n);r.size?r.forEach(a=>a.triggerLeaveAnimation(n,t,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,t,s,n){const r=this._engine.statesByElement.get(e),a=new Map;if(r){const o=[];if(r.forEach((l,u)=>{if(a.set(u,l.value),this._triggers.has(u)){const c=this.trigger(e,u,te,n);c&&o.push(c)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,a),s&&$(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),s=this._engine.statesByElement.get(e);if(t&&s){const n=new Set;t.forEach(r=>{const a=r.name;if(n.has(a))return;n.add(a);const l=this._triggers.get(a).fallbackTransition,u=s.get(a)||ze,c=new Le(te),h=new Ke(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:u,toState:c,player:h,isFallbackTransition:!0})})}}removeNode(e,t){const s=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(s.totalAnimations){const r=s.players.length?s.playersByQueriedElement.get(e):[];if(r&&r.length)n=!0;else{let a=e;for(;a=a.parentNode;)if(s.statesByElement.get(a)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)s.markElementAsRemoved(this.id,e,!1,t);else{const r=e[z];(!r||r===pt)&&(s.afterFlush(()=>this.clearElementCache(e)),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){F(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(s=>{const n=s.player;if(n.destroyed)return;const r=s.element,a=this._elementListeners.get(r);a&&a.forEach(o=>{if(o.name==s.triggerName){const l=Se(r,s.triggerName,s.fromState.value,s.toState.value);l._data=e,ye(s.player,o.phase,l,o.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(s)}),this._queue=[],t.sort((s,n)=>{const r=s.transition.ast.depCount,a=n.transition.ast.depCount;return 0==r||0==a?r-a:this._engine.driver.containsElement(s.element,n.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}}class Js{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(e,t)=>{};_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,s){this.bodyNode=e,this.driver=t,this._normalizer=s}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(s=>{s.queued&&e.push(s)})}),e}createNamespace(e,t){const s=new Zs(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(s,t):(this.newHostElements.set(t,s),this.collectEnterElement(t)),this._namespaceLookup[e]=s}_balanceNamespaceList(e,t){const s=this._namespaceList,n=this.namespacesByHostElement;if(s.length-1>=0){let a=!1,o=this.driver.getParentElement(t);for(;o;){const l=n.get(o);if(l){const u=s.indexOf(l);s.splice(u+1,0,e),a=!0;break}o=this.driver.getParentElement(o)}a||s.unshift(e)}else s.push(e);return n.set(t,e),e}register(e,t){let s=this._namespaceLookup[e];return s||(s=this.createNamespace(e,t)),s}registerTrigger(e,t,s){let n=this._namespaceLookup[e];n&&n.register(t,s)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const s=this._fetchNamespace(e);this.namespacesByHostElement.delete(s.hostElement);const n=this._namespaceList.indexOf(s);n>=0&&this._namespaceList.splice(n,1),s.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,s=this.statesByElement.get(e);if(s)for(let n of s.values())if(n.namespaceId){const r=this._fetchNamespace(n.namespaceId);r&&t.add(r)}return t}trigger(e,t,s,n){if(me(t)){const r=this._fetchNamespace(e);if(r)return r.trigger(t,s,n),!0}return!1}insertNode(e,t,s,n){if(!me(t))return;const r=t[z];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){const a=this._fetchNamespace(e);a&&a.insertNode(t,s)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),F(e,Fe)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Y(e,Fe))}removeNode(e,t,s){if(me(t)){const n=e?this._fetchNamespace(e):null;n?n.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);const r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,s)}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,s,n,r){this.collectedLeaveElements.push(t),t[z]={namespaceId:e,setForRemoval:n,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,s,n,r){return me(t)?this._fetchNamespace(e).listen(t,s,n,r):()=>{}}_buildInstruction(e,t,s,n,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,s,n,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,ae,!0);t.forEach(s=>this.destroyActiveAnimationsForElement(s)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,be,!0),t.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return $(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e[z];if(t&&t.setForRemoval){if(e[z]=pt,t.namespaceId){this.destroyInnerAnimations(e);const s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Fe)&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,n)=>this._balanceNamespaceList(s,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;ss()),this._flushFns=[],this._whenQuietFns.length){const s=this._whenQuietFns;this._whenQuietFns=[],t.length?$(t).onDone(()=>{s.forEach(n=>n())}):s.forEach(n=>n())}}reportError(e){throw function rs(){return new E.wOt(3402,!1)}()}_flushAnimations(e,t){const s=new he,n=[],r=new Map,a=[],o=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach(f=>{c.add(f);const p=this.driver.query(f,".ng-animate-queued",!0);for(let g=0;g{const g=we+y++;m.set(p,g),f.forEach(T=>F(T,g))});const v=[],b=new Set,A=new Set;for(let f=0;fb.add(T)):A.add(p))}const C=new Map,N=_t(S,Array.from(b));N.forEach((f,p)=>{const g=ie+y++;C.set(p,g),f.forEach(T=>F(T,g))}),e.push(()=>{_.forEach((f,p)=>{const g=m.get(p);f.forEach(T=>Y(T,g))}),N.forEach((f,p)=>{const g=C.get(p);f.forEach(T=>Y(T,g))}),v.forEach(f=>{this.processLeaveNode(f)})});const x=[],B=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(t).forEach(g=>{const T=g.player,P=g.element;if(x.push(T),this.collectedEnterElements.length){const M=P[z];if(M&&M.setForMove){if(M.previousTriggersValues&&M.previousTriggersValues.has(g.triggerName)){const X=M.previousTriggersValues.get(g.triggerName),L=this.statesByElement.get(g.element);if(L&&L.has(g.triggerName)){const ge=L.get(g.triggerName);ge.value=X,L.set(g.triggerName,ge)}}return void T.destroy()}}const q=!h||!this.driver.containsElement(h,P),R=C.get(P),V=m.get(P),w=this._buildInstruction(g,s,V,R,q);if(w.errors&&w.errors.length)return void B.push(w);if(q)return T.onStart(()=>W(P,w.fromStyles)),T.onDestroy(()=>K(P,w.toStyles)),void n.push(T);if(g.isFallbackTransition)return T.onStart(()=>W(P,w.fromStyles)),T.onDestroy(()=>K(P,w.toStyles)),void n.push(T);const Nt=[];w.timelines.forEach(M=>{M.stretchStartingKeyframe=!0,this.disabledNodes.has(M.element)||Nt.push(M)}),w.timelines=Nt,s.append(P,w.timelines),a.push({instruction:w,player:T,element:P}),w.queriedElements.forEach(M=>O(o,M,[]).push(T)),w.preStyleProps.forEach((M,X)=>{if(M.size){let L=l.get(X);L||l.set(X,L=new Set),M.forEach((ge,Ue)=>L.add(Ue))}}),w.postStyleProps.forEach((M,X)=>{let L=u.get(X);L||u.set(X,L=new Set),M.forEach((ge,Ue)=>L.add(Ue))})});if(B.length){const f=[];B.forEach(p=>{f.push(function as(){return new E.wOt(3505,!1)}())}),x.forEach(p=>p.destroy()),this.reportError(f)}const k=new Map,D=new Map;a.forEach(f=>{const p=f.element;s.has(p)&&(D.set(p,p),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,k))}),n.forEach(f=>{const p=f.element;this._getPreviousPlayers(p,!1,f.namespaceId,f.triggerName,null).forEach(T=>{O(k,p,[]).push(T),T.destroy()})});const G=v.filter(f=>Et(f,l,u)),Z=new Map;yt(Z,this.driver,A,u,d.kp).forEach(f=>{Et(f,l,u)&&G.push(f)});const H=new Map;_.forEach((f,p)=>{yt(H,this.driver,new Set(f),l,d.FX)}),G.forEach(f=>{const p=Z.get(f),g=H.get(f);Z.set(f,new Map([...p?.entries()??[],...g?.entries()??[]]))});const Ve=[],At=[],Pt={};a.forEach(f=>{const{element:p,player:g,instruction:T}=f;if(s.has(p)){if(c.has(p))return g.onDestroy(()=>K(p,T.toStyles)),g.disabled=!0,g.overrideTotalTime(T.totalTime),void n.push(g);let P=Pt;if(D.size>1){let R=p;const V=[];for(;R=R.parentNode;){const w=D.get(R);if(w){P=w;break}V.push(R)}V.forEach(w=>D.set(w,P))}const q=this._buildAnimation(g.namespaceId,T,k,r,H,Z);if(g.setRealPlayer(q),P===Pt)Ve.push(g);else{const R=this.playersByElement.get(P);R&&R.length&&(g.parentPlayer=$(R)),n.push(g)}}else W(p,T.fromStyles),g.onDestroy(()=>K(p,T.toStyles)),At.push(g),c.has(p)&&n.push(g)}),At.forEach(f=>{const p=r.get(f.element);if(p&&p.length){const g=$(p);f.setRealPlayer(g)}}),n.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f!q.destroyed);P.length?nn(this,p,P):this.processLeaveNode(p)}return v.length=0,Ve.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();const p=this.players.indexOf(f);this.players.splice(p,1)}),f.play()}),Ve}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,n,r){let a=[];if(t){const o=this.playersByQueriedElement.get(e);o&&(a=o)}else{const o=this.playersByElement.get(e);if(o){const l=!r||r==te;o.forEach(u=>{u.queued||!l&&u.triggerName!=n||a.push(u)})}}return(s||n)&&(a=a.filter(o=>!(s&&s!=o.namespaceId||n&&n!=o.triggerName))),a}_beforeAnimationBuild(e,t,s){const r=t.element,a=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:t.triggerName;for(const l of t.timelines){const u=l.element,c=u!==r,h=O(s,u,[]);this._getPreviousPlayers(u,c,a,o,t.toState).forEach(_=>{const m=_.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),_.destroy(),h.push(_)})}W(r,t.fromStyles)}_buildAnimation(e,t,s,n,r,a){const o=t.triggerName,l=t.element,u=[],c=new Set,h=new Set,S=t.timelines.map(m=>{const y=m.element;c.add(y);const v=y[z];if(v&&v.removedBeforeQueried)return new d.sf(m.duration,m.delay);const b=y!==l,A=function rn(i){const e=[];return St(i,e),e}((s.get(y)||Ys).map(k=>k.getRealPlayer())).filter(k=>!!k.element&&k.element===y),C=r.get(y),N=a.get(y),x=Ge(this._normalizer,m.keyframes,C,N),B=this._buildPlayer(m,x,A);if(m.subTimeline&&n&&h.add(y),b){const k=new Ke(e,o,y);k.setRealPlayer(B),u.push(k)}return B});u.forEach(m=>{O(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>function en(i,e,t){let s=i.get(e);if(s){if(s.length){const n=s.indexOf(t);s.splice(n,1)}0==s.length&&i.delete(e)}return s}(this.playersByQueriedElement,m.element,m))}),c.forEach(m=>F(m,et));const _=$(S);return _.onDestroy(()=>{c.forEach(m=>Y(m,et)),K(l,t.toStyles)}),h.forEach(m=>{O(n,m,[]).push(_)}),_}_buildPlayer(e,t,s){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,s):new d.sf(e.duration,e.delay)}}class Ke{namespaceId;triggerName;element;_player=new d.sf;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,t,s){this.namespaceId=e,this.triggerName=t,this.element=s}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,s)=>{t.forEach(n=>ye(e,s,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){O(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function me(i){return i&&1===i.nodeType}function gt(i,e){const t=i.style.display;return i.style.display=e??"none",t}function yt(i,e,t,s,n){const r=[];t.forEach(l=>r.push(gt(l)));const a=[];s.forEach((l,u)=>{const c=new Map;l.forEach(h=>{const S=e.computeStyle(u,h,n);c.set(h,S),(!S||0==S.length)&&(u[z]=xs,a.push(u))}),i.set(u,c)});let o=0;return t.forEach(l=>gt(l,r[o++])),a}function _t(i,e){const t=new Map;if(i.forEach(o=>t.set(o,[])),0==e.length)return t;const n=new Set(e),r=new Map;function a(o){if(!o)return 1;let l=r.get(o);if(l)return l;const u=o.parentNode;return l=t.has(u)?u:n.has(u)?1:a(u),r.set(o,l),l}return e.forEach(o=>{const l=a(o);1!==l&&t.get(l).push(o)}),t}function F(i,e){i.classList?.add(e)}function Y(i,e){i.classList?.remove(e)}function nn(i,e,t){$(t).onDone(()=>i.processLeaveNode(e))}function St(i,e){for(let t=0;tn.add(r)):e.set(i,s),t.delete(i),!0}class Be{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,t)=>{};constructor(e,t,s){this._driver=t,this._normalizer=s,this._transitionEngine=new Js(e.body,t,s),this._timelineEngine=new Ws(e.body,t,s),this._transitionEngine.onRemovalComplete=(n,r)=>this.onRemovalComplete(n,r)}registerTrigger(e,t,s,n,r){const a=e+"-"+n;let o=this._triggerCache[a];if(!o){const l=[],c=Ce(this._driver,r,l,[]);if(l.length)throw function Xt(){return new E.wOt(3404,!1)}();o=function Qs(i,e,t){return new $s(i,e,t)}(n,c,this._normalizer),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,n,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,s,n){this._transitionEngine.insertNode(e,t,s,n)}onRemove(e,t,s){this._transitionEngine.removeNode(e,t,s)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,s,n){if("@"==s.charAt(0)){const[r,a]=He(s);this._timelineEngine.command(r,t,a,n)}else this._transitionEngine.trigger(e,t,s,n)}listen(e,t,s,n,r){if("@"==s.charAt(0)){const[a,o]=He(s);return this._timelineEngine.listen(a,t,o,r)}return this._transitionEngine.listen(e,t,s,n,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}}let ln=(()=>{class i{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(t,s,n){this._element=t,this._startStyles=s,this._endStyles=n;let r=i.initialStylesByElement.get(t);r||i.initialStylesByElement.set(t,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&K(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(K(this._element,this._initialStyles),this._endStyles&&(K(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(i.initialStylesByElement.delete(this._element),this._startStyles&&(W(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(W(this._element,this._endStyles),this._endStyles=null),K(this._element,this._initialStyles),this._state=3)}}return i})();function qe(i){let e=null;return i.forEach((t,s)=>{(function un(i){return"display"===i||"position"===i})(s)&&(e=e||new Map,e.set(s,t))}),e}class Qe{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(e,t,s,n){this.element=e,this.keyframes=t,this.options=s,this._specialStyles=n,this._duration=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;const t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){const t=[];return e.forEach(s=>{t.push(Object.fromEntries(s))}),t}_triggerWebAnimation(e,t,s){return e.animate(this._convertKeyframesToObject(t),s)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,n)=>{"offset"!==n&&e.set(n,this._finished?s:Me(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){const t="start"===e?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}}class Tt{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return Ee(e,t)}getParentElement(e){return ne(e)}query(e,t,s){return Te(e,t,s)}computeStyle(e,t,s){return Me(e,t)}animate(e,t,s,n,r,a=[]){const l={duration:s,delay:n,fill:0==n?"both":"forwards"};r&&(l.easing=r);const u=new Map,c=a.filter(_=>_ instanceof Qe);it(s,n)&&c.forEach(_=>{_.currentSnapshot.forEach((m,y)=>u.set(y,m))});let h=tt(t).map(_=>new Map(_));h=function Ss(i,e,t){if(t.size&&e.length){let s=e[0],n=[];if(t.forEach((r,a)=>{s.has(a)||n.push(a),s.set(a,r)}),n.length)for(let r=1;ra.set(o,Me(i,o)))}}return e}(e,h,u);const S=function on(i,e){let t=null,s=null;return Array.isArray(e)&&e.length?(t=qe(e[0]),e.length>1&&(s=qe(e[e.length-1]))):e instanceof Map&&(t=qe(e)),t||s?new ln(i,t,s):null}(e,h);return new Qe(e,h,l,S)}}function cn(i,e){return"noop"===i?new Be(e,new ve,new Ze):new Be(e,new Tt,new rt)}class hn{_driver;_animationAst;constructor(e,t){this._driver=e;const s=[],r=Ce(e,t,s,[]);if(s.length)throw function Gt(){return new E.wOt(3500,!1)}();this._animationAst=r}buildTimelines(e,t,s,n,r){const a=Array.isArray(t)?st(t):t,o=Array.isArray(s)?st(s):s,l=[];r=r||new he;const u=Oe(this._driver,e,this._animationAst,we,ie,a,o,n,r,l);if(l.length)throw function Ht(){return new E.wOt(3501,!1)}();return u}}const vt="@.disabled";class $e{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(e,t,s,n){this.namespaceId=e,this.delegate=t,this.engine=s,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,s,n=!0){this.delegate.insertBefore(e,t,s),this.engine.onInsert(this.namespaceId,t,e,n)}removeChild(e,t,s){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,s,n){this.delegate.setAttribute(e,t,s,n)}removeAttribute(e,t,s){this.delegate.removeAttribute(e,t,s)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,s,n){this.delegate.setStyle(e,t,s,n)}removeStyle(e,t,s){this.delegate.removeStyle(e,t,s)}setProperty(e,t,s){"@"==t.charAt(0)&&t==vt?this.disableAnimations(e,!!s):this.delegate.setProperty(e,t,s)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,s){return this.delegate.listen(e,t,s)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class wt extends $e{factory;constructor(e,t,s,n,r){super(t,s,n,r),this.factory=e,this.namespaceId=t}setProperty(e,t,s){"@"==t.charAt(0)?"."==t.charAt(1)&&t==vt?this.disableAnimations(e,s=void 0===s||!!s):this.engine.process(this.namespaceId,e,t.slice(1),s):this.delegate.setProperty(e,t,s)}listen(e,t,s){if("@"==t.charAt(0)){const n=function fn(i){switch(i){case"body":return document.body;case"document":return document;case"window":return window;default:return i}}(e);let r=t.slice(1),a="";return"@"!=r.charAt(0)&&([r,a]=function dn(i){const e=i.indexOf(".");return[i.substring(0,e),i.slice(e+1)]}(r)),this.engine.listen(this.namespaceId,n,r,a,o=>{this.factory.scheduleListenerCallback(o._data||-1,s,o)})}return this.delegate.listen(e,t,s)}}class mn{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,t.onRemovalComplete=(n,r)=>{r?.removeChild(null,n)}}createRenderer(e,t){const n=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){const u=this._rendererCache;let c=u.get(n);return c||(c=new $e("",n,this.engine,()=>u.delete(n)),u.set(n,c)),c}const r=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const o=u=>{Array.isArray(u)?u.forEach(o):this.engine.registerTrigger(r,a,e,u.name,u)};return t.data.animation.forEach(o),new wt(this,a,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){if(e>=0&&et(s));const n=this._animationCallbacksBuffer;0==n.length&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(r=>{const[a,o]=r;a(o)}),this._animationCallbacksBuffer=[]})}),n.push([t,s])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}}}]); \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 7925ff40..b728e280 100644 --- a/docs/index.html +++ b/docs/index.html @@ -38,5 +38,5 @@ Loading... - + diff --git a/docs/main.973393f585987415.js b/docs/main.973393f585987415.js deleted file mode 100644 index d67262ac..00000000 --- a/docs/main.973393f585987415.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkngx_select_ex_demo=self.webpackChunkngx_select_ex_demo||[]).push([[792],{292:(ce,B,M)=>{"use strict";var u=M(808),L=M(413);let ne=null;function H(){return ne}class se{}const j=new u.nKC("");let fe=(()=>{class o{historyGo(n){throw new Error("")}static \u0275fac=function(i){return new(i||o)};static \u0275prov=u.jDH({token:o,factory:()=>(0,u.WQX)(U),providedIn:"platform"})}return o})(),U=(()=>{class o extends fe{_location;_history;_doc=(0,u.WQX)(j);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return H().getBaseHref(this._doc)}onPopState(n){const i=H().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){const i=H().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",n,!1),()=>i.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,i,c){this._history.pushState(n,i,c)}replaceState(n,i,c){this._history.replaceState(n,i,c)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(i){return new(i||o)};static \u0275prov=u.jDH({token:o,factory:()=>new o,providedIn:"platform"})}return o})();function J(o,a){if(0==o.length)return a;if(0==a.length)return o;let n=0;return o.endsWith("/")&&n++,a.startsWith("/")&&n++,2==n?o+a.substring(1):1==n?o+a:o+"/"+a}function Ze(o){const a=o.match(/#|\?|$/),n=a&&a.index||o.length;return o.slice(0,n-("/"===o[n-1]?1:0))+o.slice(n)}function ue(o){return o&&"?"!==o[0]?"?"+o:o}let Ve=(()=>{class o{historyGo(n){throw new Error("")}static \u0275fac=function(i){return new(i||o)};static \u0275prov=u.jDH({token:o,factory:()=>(0,u.WQX)(Ye),providedIn:"root"})}return o})();const vn=new u.nKC("");let Ye=(()=>{class o extends Ve{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,i){super(),this._platformLocation=n,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??(0,u.WQX)(j).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return J(this._baseHref,n)}path(n=!1){const i=this._platformLocation.pathname+ue(this._platformLocation.search),c=this._platformLocation.hash;return c&&n?`${i}${c}`:i}pushState(n,i,c,h){const m=this.prepareExternalUrl(c+ue(h));this._platformLocation.pushState(n,i,m)}replaceState(n,i,c,h){const m=this.prepareExternalUrl(c+ue(h));this._platformLocation.replaceState(n,i,m)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(i){return new(i||o)(u.KVO(fe),u.KVO(vn,8))};static \u0275prov=u.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),Rt=(()=>{class o{_subject=new L.B;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;const i=this._locationStrategy.getBaseHref();this._basePath=function tt(o){if(new RegExp("^(https?:)?//").test(o)){const[,n]=o.split(/\/\/[^\/]+/);return n}return o}(Ze(oe(i))),this._locationStrategy.onPopState(c=>{this._subject.next({url:this.path(!0),pop:!0,state:c.state,type:c.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,i=""){return this.path()==this.normalize(n+ue(i))}normalize(n){return o.stripTrailingSlash(function ze(o,a){if(!o||!a.startsWith(o))return a;const n=a.substring(o.length);return""===n||["/",";","?","#"].includes(n[0])?n:a}(this._basePath,oe(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",c=null){this._locationStrategy.pushState(c,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ue(i)),c)}replaceState(n,i="",c=null){this._locationStrategy.replaceState(c,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ue(i)),c)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{const i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(c=>c(n,i))}subscribe(n,i,c){return this._subject.subscribe({next:n,error:i??void 0,complete:c??void 0})}static normalizeQueryParams=ue;static joinWithSlash=J;static stripTrailingSlash=Ze;static \u0275fac=function(i){return new(i||o)(u.KVO(Ve))};static \u0275prov=u.jDH({token:o,factory:()=>function an(){return new Rt((0,u.KVO)(Ve))}(),providedIn:"root"})}return o})();function oe(o){return o.replace(/\/index.html$/,"")}const Un=/\s+/,ti=[];let ni=(()=>{class o{_ngEl;_renderer;initialClasses=ti;rawClass;stateMap=new Map;constructor(n,i){this._ngEl=n,this._renderer=i}set klass(n){this.initialClasses=null!=n?n.trim().split(Un):ti}set ngClass(n){this.rawClass="string"==typeof n?n.trim().split(Un):n}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(const i of n)this._updateState(i,!0);else if(null!=n)for(const i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){const c=this.stateMap.get(n);void 0!==c?(c.enabled!==i&&(c.changed=!0,c.enabled=i),c.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const n of this.stateMap){const i=n[0],c=n[1];c.changed?(this._toggleClass(i,c.enabled),c.changed=!1):c.touched||(c.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),c.touched=!1}}_toggleClass(n,i){(n=n.trim()).length>0&&n.split(Un).forEach(c=>{i?this._renderer.addClass(this._ngEl.nativeElement,c):this._renderer.removeClass(this._ngEl.nativeElement,c)})}static \u0275fac=function(i){return new(i||o)(u.rXU(u.aKT),u.rXU(u.sFG))};static \u0275dir=u.FsC({type:o,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return o})();class Nd{$implicit;ngForOf;index;count;constructor(a,n,i,c){this.$implicit=a,this.ngForOf=n,this.index=i,this.count=c}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 de=(()=>{class o{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,i,c){this._viewContainer=n,this._template=i,this._differs=c}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const i=this._viewContainer;n.forEachOperation((c,h,m)=>{if(null==c.previousIndex)i.createEmbeddedView(this._template,new Nd(c.item,this._ngForOf,-1,-1),null===m?void 0:m);else if(null==m)i.remove(null===h?void 0:h);else if(null!==h){const y=i.get(h);i.move(y,m),Qr(y,c)}});for(let c=0,h=i.length;c{Qr(i.get(c.currentIndex),c)})}static ngTemplateContextGuard(n,i){return!0}static \u0275fac=function(i){return new(i||o)(u.rXU(u.c1b),u.rXU(u.C4Q),u.rXU(u._q3))};static \u0275dir=u.FsC({type:o,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return o})();function Qr(o,a){o.context.$implicit=a.item}let Xr=(()=>{class o{_viewContainer;_context=new ns;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,i){this._viewContainer=n,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){wa("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){wa("ngIfElse",n),this._elseTemplateRef=n,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 ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,i){return!0}static \u0275fac=function(i){return new(i||o)(u.rXU(u.c1b),u.rXU(u.C4Q))};static \u0275dir=u.FsC({type:o,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return o})();class ns{$implicit=null;ngIf=null}function wa(o,a){if(a&&!a.createEmbeddedView)throw new Error(`${o} must be a TemplateRef, but received '${(0,u.Tbb)(a)}'.`)}let Mr=(()=>{class o{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const c=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,c,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,i,c)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,i,c),get:(n,i,c)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,c)}})}static \u0275fac=function(i){return new(i||o)(u.rXU(u.c1b))};static \u0275dir=u.FsC({type:o,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[u.OA$]})}return o})(),jt=(()=>{class o{transform(n){return JSON.stringify(n,null,2)}static \u0275fac=function(i){return new(i||o)};static \u0275pipe=u.EJ8({name:"json",type:o,pure:!1})}return o})(),xe=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=u.$C({type:o});static \u0275inj=u.G2t({})}return o})();const yt="browser";function kt(o){return"server"===o}class ps extends se{supportsDOMEvents=!0}class _c extends ps{static makeCurrent(){!function K(o){ne??=o}(new _c)}onAndCancel(a,n,i){return a.addEventListener(n,i),()=>{a.removeEventListener(n,i)}}dispatchEvent(a,n){a.dispatchEvent(n)}remove(a){a.remove()}createElement(a,n){return(n=n||this.getDefaultDocument()).createElement(a)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(a){return a.nodeType===Node.ELEMENT_NODE}isShadowRoot(a){return a instanceof DocumentFragment}getGlobalEventTarget(a,n){return"window"===n?window:"document"===n?a:"body"===n?a.body:null}getBaseHref(a){const n=function vc(){return zn=zn||document.querySelector("base"),zn?zn.getAttribute("href"):null}();return null==n?null:function si(o){return new URL(o,document.baseURI).pathname}(n)}resetBaseElement(){zn=null}getUserAgent(){return window.navigator.userAgent}getCookie(a){return function oc(o,a){a=encodeURIComponent(a);for(const n of o.split(";")){const i=n.indexOf("="),[c,h]=-1==i?[n,""]:[n.slice(0,i),n.slice(i+1)];if(c.trim()===a)return decodeURIComponent(h)}return null}(document.cookie,a)}}let zn=null,ee=(()=>{class o{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||o)};static \u0275prov=u.jDH({token:o,factory:o.\u0275fac})}return o})();const Oa=new u.nKC("");let Wn=(()=>{class o{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,i){this._zone=i,n.forEach(c=>{c.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,c){return this._findPluginFor(i).addEventListener(n,i,c)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(h=>h.supports(n)),!i)throw new u.wOt(5101,!1);return this._eventNameToPlugin.set(n,i),i}static \u0275fac=function(i){return new(i||o)(u.KVO(Oa),u.KVO(u.SKi))};static \u0275prov=u.jDH({token:o,factory:o.\u0275fac})}return o})();class pr{_doc;constructor(a){this._doc=a}manager}const gs="ng-app-id";function ai(o){for(const a of o)a.remove()}function gt(o,a){const n=a.createElement("style");return n.textContent=o,n}function dt(o,a){const n=a.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",o),n}let Mt=(()=>{class o{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(n,i,c,h={}){this.doc=n,this.appId=i,this.nonce=c,this.isServer=kt(h),function yc(o,a,n){const i=o.head?.querySelectorAll(`style[${gs}="${a}"]`);if(i)for(const c of i)c.textContent&&(c.removeAttribute(gs),n.set(c.textContent,{usage:0,elements:[c]}))}(n,i,this.inline),this.hosts.add(n.head)}addStyles(n,i){for(const c of n)this.addUsage(c,this.inline,gt);i?.forEach(c=>this.addUsage(c,this.external,dt))}removeStyles(n,i){for(const c of n)this.removeUsage(c,this.inline);i?.forEach(c=>this.removeUsage(c,this.external))}addUsage(n,i,c){const h=i.get(n);h?h.usage++:i.set(n,{usage:1,elements:[...this.hosts].map(m=>this.addElement(m,c(n,this.doc)))})}removeUsage(n,i){const c=i.get(n);c&&(c.usage--,c.usage<=0&&(ai(c.elements),i.delete(n)))}ngOnDestroy(){for(const[,{elements:n}]of[...this.inline,...this.external])ai(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(const[i,{elements:c}]of this.inline)c.push(this.addElement(n,gt(i,this.doc)));for(const[i,{elements:c}]of this.external)c.push(this.addElement(n,dt(i,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,i){return this.nonce&&i.setAttribute("nonce",this.nonce),this.isServer&&i.setAttribute(gs,this.appId),n.appendChild(i)}static \u0275fac=function(i){return new(i||o)(u.KVO(j),u.KVO(u.sZ2),u.KVO(u.BIS,8),u.KVO(u.Agw))};static \u0275prov=u.jDH({token:o,factory:o.\u0275fac})}return o})();const ka={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Ar=/%COMP%/g,tb=new u.nKC("",{providedIn:"root",factory:()=>!0});function hg(o,a){return a.map(n=>n.replace(Ar,o))}let La=(()=>{class o{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,i,c,h,m,y,b,w=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=c,this.removeStylesOnCompDestroy=h,this.doc=m,this.platformId=y,this.ngZone=b,this.nonce=w,this.platformIsServer=kt(y),this.defaultRenderer=new pg(n,m,b,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===u.gXe.ShadowDom&&(i={...i,encapsulation:u.gXe.Emulated});const c=this.getOrCreateRenderer(n,i);return c instanceof rb?c.applyToHost(n):c instanceof gg&&c.applyStyles(),c}getOrCreateRenderer(n,i){const c=this.rendererByCompId;let h=c.get(i.id);if(!h){const m=this.doc,y=this.ngZone,b=this.eventManager,w=this.sharedStylesHost,x=this.removeStylesOnCompDestroy,N=this.platformIsServer;switch(i.encapsulation){case u.gXe.Emulated:h=new rb(b,w,i,this.appId,x,m,y,N);break;case u.gXe.ShadowDom:return new J0(b,w,n,i,m,y,this.nonce,N);default:h=new gg(b,w,i,x,m,y,N)}c.set(i.id,h)}return h}ngOnDestroy(){this.rendererByCompId.clear()}static \u0275fac=function(i){return new(i||o)(u.KVO(Wn),u.KVO(Mt),u.KVO(u.sZ2),u.KVO(tb),u.KVO(j),u.KVO(u.Agw),u.KVO(u.SKi),u.KVO(u.BIS))};static \u0275prov=u.jDH({token:o,factory:o.\u0275fac})}return o})();class pg{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(a,n,i,c){this.eventManager=a,this.doc=n,this.ngZone=i,this.platformIsServer=c}destroy(){}destroyNode=null;createElement(a,n){return n?this.doc.createElementNS(ka[n]||n,a):this.doc.createElement(a)}createComment(a){return this.doc.createComment(a)}createText(a){return this.doc.createTextNode(a)}appendChild(a,n){(nb(a)?a.content:a).appendChild(n)}insertBefore(a,n,i){a&&(nb(a)?a.content:a).insertBefore(n,i)}removeChild(a,n){n.remove()}selectRootElement(a,n){let i="string"==typeof a?this.doc.querySelector(a):a;if(!i)throw new u.wOt(-5104,!1);return n||(i.textContent=""),i}parentNode(a){return a.parentNode}nextSibling(a){return a.nextSibling}setAttribute(a,n,i,c){if(c){n=c+":"+n;const h=ka[c];h?a.setAttributeNS(h,n,i):a.setAttribute(n,i)}else a.setAttribute(n,i)}removeAttribute(a,n,i){if(i){const c=ka[i];c?a.removeAttributeNS(c,n):a.removeAttribute(`${i}:${n}`)}else a.removeAttribute(n)}addClass(a,n){a.classList.add(n)}removeClass(a,n){a.classList.remove(n)}setStyle(a,n,i,c){c&(u.czy.DashCase|u.czy.Important)?a.style.setProperty(n,i,c&u.czy.Important?"important":""):a.style[n]=i}removeStyle(a,n,i){i&u.czy.DashCase?a.style.removeProperty(n):a.style[n]=""}setProperty(a,n,i){null!=a&&(a[n]=i)}setValue(a,n){a.nodeValue=n}listen(a,n,i){if("string"==typeof a&&!(a=H().getGlobalEventTarget(this.doc,a)))throw new Error(`Unsupported event target ${a} for event ${n}`);return this.eventManager.addEventListener(a,n,this.decoratePreventDefault(i))}decoratePreventDefault(a){return n=>{if("__ngUnwrap__"===n)return a;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>a(n)):a(n))&&n.preventDefault()}}}function nb(o){return"TEMPLATE"===o.tagName&&void 0!==o.content}class J0 extends pg{sharedStylesHost;hostEl;shadowRoot;constructor(a,n,i,c,h,m,y,b){super(a,h,m,b),this.sharedStylesHost=n,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const w=hg(c.id,c.styles);for(const N of w){const q=document.createElement("style");y&&q.setAttribute("nonce",y),q.textContent=N,this.shadowRoot.appendChild(q)}const x=c.getExternalStyles?.();if(x)for(const N of x){const q=dt(N,h);y&&q.setAttribute("nonce",y),this.shadowRoot.appendChild(q)}}nodeOrShadowRoot(a){return a===this.hostEl?this.shadowRoot:a}appendChild(a,n){return super.appendChild(this.nodeOrShadowRoot(a),n)}insertBefore(a,n,i){return super.insertBefore(this.nodeOrShadowRoot(a),n,i)}removeChild(a,n){return super.removeChild(null,n)}parentNode(a){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(a)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class gg extends pg{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(a,n,i,c,h,m,y,b){super(a,h,m,y),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=c,this.styles=b?hg(b,i.styles):i.styles,this.styleUrls=i.getExternalStyles?.(b)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class rb extends gg{contentAttr;hostAttr;constructor(a,n,i,c,h,m,y,b){const w=c+"-"+i.id;super(a,n,i,h,m,y,b,w),this.contentAttr=function Wd(o){return"_ngcontent-%COMP%".replace(Ar,o)}(w),this.hostAttr=function fg(o){return"_nghost-%COMP%".replace(Ar,o)}(w)}applyToHost(a){this.applyStyles(),this.setAttribute(a,this.hostAttr,"")}createElement(a,n){const i=super.createElement(a,n);return super.setAttribute(i,this.contentAttr,""),i}}let eI=(()=>{class o extends pr{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,c){return n.addEventListener(i,c,!1),()=>this.removeEventListener(n,i,c)}removeEventListener(n,i,c){return n.removeEventListener(i,c)}static \u0275fac=function(i){return new(i||o)(u.KVO(j))};static \u0275prov=u.jDH({token:o,factory:o.\u0275fac})}return o})();const ob=["alt","control","meta","shift"],tI={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},nI={alt:o=>o.altKey,control:o=>o.ctrlKey,meta:o=>o.metaKey,shift:o=>o.shiftKey};let rI=(()=>{class o extends pr{constructor(n){super(n)}supports(n){return null!=o.parseEventName(n)}addEventListener(n,i,c){const h=o.parseEventName(i),m=o.eventCallback(h.fullKey,c,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>H().onAndCancel(n,h.domEventName,m))}static parseEventName(n){const i=n.toLowerCase().split("."),c=i.shift();if(0===i.length||"keydown"!==c&&"keyup"!==c)return null;const h=o._normalizeKey(i.pop());let m="",y=i.indexOf("code");if(y>-1&&(i.splice(y,1),m="code."),ob.forEach(w=>{const x=i.indexOf(w);x>-1&&(i.splice(x,1),m+=w+".")}),m+=h,0!=i.length||0===h.length)return null;const b={};return b.domEventName=c,b.fullKey=m,b}static matchEventFullKeyCode(n,i){let c=tI[n.key]||n.key,h="";return i.indexOf("code.")>-1&&(c=n.code,h="code."),!(null==c||!c)&&(c=c.toLowerCase()," "===c?c="space":"."===c&&(c="dot"),ob.forEach(m=>{m!==c&&(0,nI[m])(n)&&(h+=m+".")}),h+=c,h===i)}static eventCallback(n,i,c){return h=>{o.matchEventFullKeyCode(h,n)&&c.runGuarded(()=>i(h))}}static _normalizeKey(n){return"esc"===n?"escape":n}static \u0275fac=function(i){return new(i||o)(u.KVO(j))};static \u0275prov=u.jDH({token:o,factory:o.\u0275fac})}return o})();function sb(o){return{appProviders:[...db,...o?.providers??[]],platformProviders:_g}}const _g=[{provide:u.Agw,useValue:yt},{provide:u.PLl,useValue:function oI(){_c.makeCurrent()},multi:!0},{provide:j,useFactory:function ab(){return(0,u.TL$)(document),document},deps:[]}],db=[{provide:u.H8p,useValue:"root"},{provide:u.zcH,useFactory:function iI(){return new u.zcH},deps:[]},{provide:Oa,useClass:eI,multi:!0,deps:[j,u.SKi,u.Agw]},{provide:Oa,useClass:rI,multi:!0,deps:[j]},La,Mt,Wn,{provide:u._9s,useExisting:La},{provide:class Rn{},useClass:ee,deps:[]},[]];let qd=(()=>{class o{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static \u0275fac=function(i){return new(i||o)(u.KVO(j))};static \u0275prov=u.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),Qd=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275prov=u.jDH({token:o,factory:function(i){let c=null;return c=i?new(i||o):u.KVO(Kn),c},providedIn:"root"})}return o})(),Kn=(()=>{class o extends Qd{_doc;constructor(n){super(),this._doc=n}sanitize(n,i){if(null==i)return null;switch(n){case u.WPN.NONE:return i;case u.WPN.HTML:return(0,u.ZF7)(i,"HTML")?(0,u.rcV)(i):(0,u.h9k)(this._doc,String(i)).toString();case u.WPN.STYLE:return(0,u.ZF7)(i,"Style")?(0,u.rcV)(i):i;case u.WPN.SCRIPT:if((0,u.ZF7)(i,"Script"))return(0,u.rcV)(i);throw new u.wOt(5200,!1);case u.WPN.URL:return(0,u.ZF7)(i,"URL")?(0,u.rcV)(i):(0,u.$MX)(String(i));case u.WPN.RESOURCE_URL:if((0,u.ZF7)(i,"ResourceURL"))return(0,u.rcV)(i);throw new u.wOt(5201,!1);default:throw new u.wOt(5202,!1)}}bypassSecurityTrustHtml(n){return(0,u.Kcf)(n)}bypassSecurityTrustStyle(n){return(0,u.cWb)(n)}bypassSecurityTrustScript(n){return(0,u.UyX)(n)}bypassSecurityTrustUrl(n){return(0,u.osQ)(n)}bypassSecurityTrustResourceUrl(n){return(0,u.e5t)(n)}static \u0275fac=function(i){return new(i||o)(u.KVO(j))};static \u0275prov=u.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var at=M(985),ft=M(71);function Nr(o){return this instanceof Nr?(this.v=o,this):new Nr(o)}function Db(o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,a=o[Symbol.asyncIterator];return a?a.call(o):(o=function Ae(o){var a="function"==typeof Symbol&&Symbol.iterator,n=a&&o[a],i=0;if(n)return n.call(o);if(o&&"number"==typeof o.length)return{next:function(){return o&&i>=o.length&&(o=void 0),{value:o&&o[i++],done:!o}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")}(o),n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n);function i(h){n[h]=o[h]&&function(m){return new Promise(function(y,b){!function c(h,m,y,b){Promise.resolve(b).then(function(w){h({value:w,done:y})},m)}(y,b,(m=o[h](m)).done,m.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Ua=o=>o&&"number"==typeof o.length&&"function"!=typeof o;function wc(o){return(0,ft.T)(o?.then)}var Ha=M(494);function Ng(o){return(0,ft.T)(o[Ha.s])}function nf(o){return Symbol.asyncIterator&&(0,ft.T)(o?.[Symbol.asyncIterator])}function Ec(o){return new TypeError(`You provided ${null!==o&&"object"==typeof o?"an invalid object":`'${o}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const rf=function Og(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function sf(o){return(0,ft.T)(o?.[rf])}function af(o){return function tf(o,a,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var c,i=n.apply(o,a||[]),h=[];return c=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),y("next"),y("throw"),y("return",function m(z){return function(Z){return Promise.resolve(Z).then(z,N)}}),c[Symbol.asyncIterator]=function(){return this},c;function y(z,Z){i[z]&&(c[z]=function(re){return new Promise(function(De,Re){h.push([z,re,De,Re])>1||b(z,re)})},Z&&(c[z]=Z(c[z])))}function b(z,Z){try{!function w(z){z.value instanceof Nr?Promise.resolve(z.value.v).then(x,N):q(h[0][2],z)}(i[z](Z))}catch(re){q(h[0][3],re)}}function x(z){b("next",z)}function N(z){b("throw",z)}function q(z,Z){z(Z),h.shift(),h.length&&b(h[0][0],h[0][1])}}(this,arguments,function*(){const n=o.getReader();try{for(;;){const{value:i,done:c}=yield Nr(n.read());if(c)return yield Nr(void 0);yield yield Nr(i)}}finally{n.releaseLock()}})}function Ic(o){return(0,ft.T)(o?.getReader)}var Mb=M(334);function Ge(o){if(o instanceof at.c)return o;if(null!=o){if(Ng(o))return function ui(o){return new at.c(a=>{const n=o[Ha.s]();if((0,ft.T)(n.subscribe))return n.subscribe(a);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(o);if(Ua(o))return function et(o){return new at.c(a=>{for(let n=0;n{o.then(n=>{a.closed||(a.next(n),a.complete())},n=>a.error(n)).then(null,Mb.m)})}(o);if(nf(o))return kg(o);if(sf(o))return function Sb(o){return new at.c(a=>{for(const n of o)if(a.next(n),a.closed)return;a.complete()})}(o);if(Ic(o))return function xb(o){return kg(af(o))}(o)}throw Ec(o)}function kg(o){return new at.c(a=>{(function Fg(o,a){var n,i,c,h;return function A(o,a,n,i){return new(n||(n=Promise))(function(h,m){function y(x){try{w(i.next(x))}catch(N){m(N)}}function b(x){try{w(i.throw(x))}catch(N){m(N)}}function w(x){x.done?h(x.value):function c(h){return h instanceof n?h:new n(function(m){m(h)})}(x.value).then(y,b)}w((i=i.apply(o,a||[])).next())})}(this,void 0,void 0,function*(){try{for(n=Db(o);!(i=yield n.next()).done;)if(a.next(i.value),a.closed)return}catch(m){c={error:m}}finally{try{i&&!i.done&&(h=n.return)&&(yield h.call(n))}finally{if(c)throw c.error}}a.complete()})})(o,a).catch(n=>a.error(n))})}function Or(o,a,n,i=0,c=!1){const h=a.schedule(function(){n(),c?o.add(this.schedule(null,i)):this.unsubscribe()},i);if(o.add(h),!c)return h}var mt=M(974),rt=M(360);function Pg(o,a=0){return(0,mt.N)((n,i)=>{n.subscribe((0,rt._)(i,c=>Or(i,o,()=>i.next(c),a),()=>Or(i,o,()=>i.complete(),a),c=>Or(i,o,()=>i.error(c),a)))})}function $a(o,a=0){return(0,mt.N)((n,i)=>{i.add(o.schedule(()=>n.subscribe(i),a))})}function cf(o,a){if(!o)throw new Error("Iterable cannot be null");return new at.c(n=>{Or(n,a,()=>{const i=o[Symbol.asyncIterator]();Or(n,a,()=>{i.next().then(c=>{c.done?n.complete():n.next(c.value)})},0,!0)})})}function ut(o,a){return a?function vs(o,a){if(null!=o){if(Ng(o))return function Mc(o,a){return Ge(o).pipe($a(a),Pg(a))}(o,a);if(Ua(o))return function lf(o,a){return new at.c(n=>{let i=0;return a.schedule(function(){i===o.length?n.complete():(n.next(o[i++]),n.closed||this.schedule())})})}(o,a);if(wc(o))return function Tc(o,a){return Ge(o).pipe($a(a),Pg(a))}(o,a);if(nf(o))return cf(o,a);if(sf(o))return function Lg(o,a){return new at.c(n=>{let i;return Or(n,a,()=>{i=o[rf](),Or(n,a,()=>{let c,h;try{({value:c,done:h}=i.next())}catch(m){return void n.error(m)}h?n.complete():n.next(c)},0,!0)}),()=>(0,ft.T)(i?.return)&&i.return()})}(o,a);if(Ic(o))return function Ab(o,a){return cf(af(o),a)}(o,a)}throw Ec(o)}(o,a):Ge(o)}function Vg(o){return o&&(0,ft.T)(o.schedule)}function Ga(o){return o[o.length-1]}function Sc(o){return(0,ft.T)(Ga(o))?o.pop():void 0}function za(o){return Vg(Ga(o))?o.pop():void 0}function ge(...o){return ut(o,za(o))}var en=M(412),Nb=M(350);const{isArray:uf}=Array,{getPrototypeOf:Bg,prototype:jg,keys:Wa}=Object;function df(o){if(1===o.length){const a=o[0];if(uf(a))return{args:a,keys:null};if(function ff(o){return o&&"object"==typeof o&&Bg(o)===jg}(a)){const n=Wa(a);return{args:n.map(i=>a[i]),keys:n}}}return{args:o,keys:null}}var Xn=M(669),Te=M(354);const{isArray:qa}=Array;function di(o){return(0,Te.T)(a=>function Ob(o,a){return qa(a)?o(...a):o(a)}(o,a))}function Ug(o,a){return o.reduce((n,i,c)=>(n[i]=a[c],n),{})}function ro(...o){const a=za(o),n=Sc(o),{args:i,keys:c}=df(o);if(0===i.length)return ut([],a);const h=new at.c(function xc(o,a,n=Xn.D){return i=>{kb(a,()=>{const{length:c}=o,h=new Array(c);let m=c,y=c;for(let b=0;b{const w=ut(o[b],a);let x=!1;w.subscribe((0,rt._)(i,N=>{h[b]=N,x||(x=!0,y--),y||i.next(n(h.slice()))},()=>{--m||i.complete()}))},i)},i)}}(i,a,c?m=>Ug(c,m):Xn.D));return n?h.pipe(di(n)):h}function kb(o,a,n){o?Or(n,o,a):a()}function Dt(o,a,n=1/0){return(0,ft.T)(a)?Dt((i,c)=>(0,Te.T)((h,m)=>a(i,h,c,m))(Ge(o(i,c))),n):("number"==typeof a&&(n=a),(0,mt.N)((i,c)=>function Hg(o,a,n,i,c,h,m,y){const b=[];let w=0,x=0,N=!1;const q=()=>{N&&!b.length&&!w&&a.complete()},z=re=>w{h&&a.next(re),w++;let De=!1;Ge(n(re,x++)).subscribe((0,rt._)(a,Re=>{c?.(Re),h?z(Re):a.next(Re)},()=>{De=!0},void 0,()=>{if(De)try{for(w--;b.length&&wZ(Re)):Z(Re)}q()}catch(Re){a.error(Re)}}))};return o.subscribe((0,rt._)(a,z,()=>{N=!0,q()})),()=>{y?.()}}(i,c,o,n)))}function Ac(o=1/0){return Dt(Xn.D,o)}function Rc(...o){return function kr(){return Ac(1)}()(ut(o,za(o)))}function Ka(o){return new at.c(a=>{Ge(o()).subscribe(a)})}var hf=M(203);function Qa(o,a){const n=(0,ft.T)(o)?o:()=>o,i=c=>c.error(n());return new at.c(a?c=>a.schedule(i,0,c):i)}var hn=M(983),wn=M(359);function pf(){return(0,mt.N)((o,a)=>{let n=null;o._refCount++;const i=(0,rt._)(a,void 0,void 0,void 0,()=>{if(!o||o._refCount<=0||0<--o._refCount)return void(n=null);const c=o._connection,h=n;n=null,c&&(!h||c===h)&&c.unsubscribe(),a.unsubscribe()});o.subscribe(i),i.closed||(n=o.connect())})}class gf extends at.c{constructor(a,n){super(),this.source=a,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,(0,mt.S)(a)&&(this.lift=a.lift)}_subscribe(a){return this.getSubject().subscribe(a)}getSubject(){const a=this._subject;return(!a||a.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:a}=this;this._subject=this._connection=null,a?.unsubscribe()}connect(){let a=this._connection;if(!a){a=this._connection=new wn.yU;const n=this.getSubject();a.add(this.source.subscribe((0,rt._)(n,void 0,()=>{this._teardown(),n.complete()},i=>{this._teardown(),n.error(i)},()=>this._teardown()))),a.closed&&(this._connection=null,a=wn.yU.EMPTY)}return a}refCount(){return pf()(this)}}function _r(o,a){return(0,mt.N)((n,i)=>{let c=null,h=0,m=!1;const y=()=>m&&!c&&i.complete();n.subscribe((0,rt._)(i,b=>{c?.unsubscribe();let w=0;const x=h++;Ge(o(b,x)).subscribe(c=(0,rt._)(i,N=>i.next(a?a(b,N,x,w++):N),()=>{c=null,y()}))},()=>{m=!0,y()}))})}var oo=M(697);function ys(...o){const a=za(o);return(0,mt.N)((n,i)=>{(a?Rc(o,n,a):Rc(o,n)).subscribe(i)})}var En=M(964),Fr=M(594);function Pr(o,a){return(0,ft.T)(a)?Dt(o,a,1):Dt(o,1)}function $t(o,a,n){const i=(0,ft.T)(o)||a||n?{next:o,error:a,complete:n}:o;return i?(0,mt.N)((c,h)=>{var m;null===(m=i.subscribe)||void 0===m||m.call(i);let y=!0;c.subscribe((0,rt._)(h,b=>{var w;null===(w=i.next)||void 0===w||w.call(i,b),h.next(b)},()=>{var b;y=!1,null===(b=i.complete)||void 0===b||b.call(i),h.complete()},b=>{var w;y=!1,null===(w=i.error)||void 0===w||w.call(i,b),h.error(b)},()=>{var b,w;y&&(null===(b=i.unsubscribe)||void 0===b||b.call(i)),null===(w=i.finalize)||void 0===w||w.call(i)}))}):Xn.D}function fi(o){return(0,mt.N)((a,n)=>{let h,i=null,c=!1;i=a.subscribe((0,rt._)(n,void 0,void 0,m=>{h=Ge(o(m,fi(o)(a))),i?(i.unsubscribe(),i=null,h.subscribe(n)):c=!0})),c&&(i.unsubscribe(),i=null,h.subscribe(n))})}function mf(o,a,n,i,c){return(h,m)=>{let y=n,b=a,w=0;h.subscribe((0,rt._)(m,x=>{const N=w++;b=y?o(b,x,N):(y=!0,x),i&&m.next(b)},c&&(()=>{y&&m.next(b),m.complete()})))}}var xo=M(901);function wt(o){return o<=0?()=>hn.w:(0,mt.N)((a,n)=>{let i=[];a.subscribe((0,rt._)(n,c=>{i.push(c),o{for(const c of i)n.next(c);n.complete()},void 0,()=>{i=null}))})}var Fb=M(774);function vf(o){return(0,mt.N)((a,n)=>{try{a.subscribe(n)}finally{n.add(o)}})}var Gg=M(343);function tn(o){return(0,mt.N)((a,n)=>{Ge(o).subscribe((0,rt._)(n,()=>n.complete(),Gg.l)),!n.closed&&a.subscribe(n)})}const Se="primary",Cs=Symbol("RouteTitle");class yf{params;constructor(a){this.params=a||{}}has(a){return Object.prototype.hasOwnProperty.call(this.params,a)}get(a){if(this.has(a)){const n=this.params[a];return Array.isArray(n)?n[0]:n}return null}getAll(a){if(this.has(a)){const n=this.params[a];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function io(o){return new yf(o)}function zg(o,a,n){const i=n.path.split("/");if(i.length>o.length||"full"===n.pathMatch&&(a.hasChildren()||i.lengthi[h]===c)}return o===a}function Wg(o){return o.length>0?o[o.length-1]:null}function so(o){return function Ba(o){return!!o&&(o instanceof at.c||(0,ft.T)(o.lift)&&(0,ft.T)(o.subscribe))}(o)?o:(0,u.jNT)(o)?ut(Promise.resolve(o)):ge(o)}const Lb={exact:function Df(o,a,n){if(!nn(o.segments,a.segments)||!wf(o.segments,a.segments,n)||o.numberOfChildren!==a.numberOfChildren)return!1;for(const i in a.children)if(!o.children[i]||!Df(o.children[i],a.children[i],n))return!1;return!0},subset:Bb},qg={exact:function Kg(o,a){return Lr(o,a)},subset:function Tt(o,a){return Object.keys(a).length<=Object.keys(o).length&&Object.keys(a).every(n=>Cf(o[n],a[n]))},ignored:()=>!0};function Vb(o,a,n){return Lb[n.paths](o.root,a.root,n.matrixParams)&&qg[n.queryParams](o.queryParams,a.queryParams)&&!("exact"===n.fragment&&o.fragment!==a.fragment)}function Bb(o,a,n){return Qg(o,a,a.segments,n)}function Qg(o,a,n,i){if(o.segments.length>n.length){const c=o.segments.slice(0,n.length);return!(!nn(c,n)||a.hasChildren()||!wf(c,n,i))}if(o.segments.length===n.length){if(!nn(o.segments,n)||!wf(o.segments,n,i))return!1;for(const c in a.children)if(!o.children[c]||!Bb(o.children[c],a.children[c],i))return!1;return!0}{const c=n.slice(0,o.segments.length),h=n.slice(o.segments.length);return!!(nn(o.segments,c)&&wf(o.segments,c,i)&&o.children[Se])&&Qg(o.children[Se],a,h,i)}}function wf(o,a,n){return a.every((i,c)=>qg[n](o[c].parameters,i.parameters))}class Ao{root;queryParams;fragment;_queryParamMap;constructor(a=new ke([],{}),n={},i=null){this.root=a,this.queryParams=n,this.fragment=i}get queryParamMap(){return this._queryParamMap??=io(this.queryParams),this._queryParamMap}toString(){return Ef.serialize(this)}}class ke{segments;children;parent=null;constructor(a,n){this.segments=a,this.children=n,Object.values(n).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return vr(this)}}class Ds{path;parameters;_parameterMap;constructor(a,n){this.path=a,this.parameters=n}get parameterMap(){return this._parameterMap??=io(this.parameters),this._parameterMap}toString(){return Oc(this)}}function nn(o,a){return o.length===a.length&&o.every((n,i)=>n.path===a[i].path)}let Za=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275prov=u.jDH({token:o,factory:()=>new Ya,providedIn:"root"})}return o})();class Ya{parse(a){const n=new Sf(a);return new Ao(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(a){const n=`/${Ja(a.root,!0)}`,i=function Hb(o){const a=Object.entries(o).map(([n,i])=>Array.isArray(i)?i.map(c=>`${Zn(n)}=${Zn(c)}`).join("&"):`${Zn(n)}=${Zn(i)}`).filter(n=>n);return a.length?`?${a.join("&")}`:""}(a.queryParams);return`${n}${i}${"string"==typeof a.fragment?`#${function el(o){return encodeURI(o)}(a.fragment)}`:""}`}}const Ef=new Ya;function vr(o){return o.segments.map(a=>Oc(a)).join("/")}function Ja(o,a){if(!o.hasChildren())return vr(o);if(a){const n=o.children[Se]?Ja(o.children[Se],!1):"",i=[];return Object.entries(o.children).forEach(([c,h])=>{c!==Se&&i.push(`${c}:${Ja(h,!1)}`)}),i.length>0?`${n}(${i.join("//")})`:n}{const n=function Xa(o,a){let n=[];return Object.entries(o.children).forEach(([i,c])=>{i===Se&&(n=n.concat(a(c,i)))}),Object.entries(o.children).forEach(([i,c])=>{i!==Se&&(n=n.concat(a(c,i)))}),n}(o,(i,c)=>c===Se?[Ja(o.children[Se],!1)]:[`${c}:${Ja(i,!1)}`]);return 1===Object.keys(o.children).length&&null!=o.children[Se]?`${vr(o)}/${n[0]}`:`${vr(o)}/(${n.join("//")})`}}function Xg(o){return encodeURIComponent(o).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Zn(o){return Xg(o).replace(/%3B/gi,";")}function Nc(o){return Xg(o).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function tl(o){return decodeURIComponent(o)}function Ub(o){return tl(o.replace(/\+/g,"%20"))}function Oc(o){return`${Nc(o.path)}${function kc(o){return Object.entries(o).map(([a,n])=>`;${Nc(a)}=${Nc(n)}`).join("")}(o.parameters)}`}const ht=/^[^\/()?;#]+/;function If(o){const a=o.match(ht);return a?a[0]:""}const Mf=/^[^\/()?;=#]+/,Gb=/^[^=?&#]+/,Zg=/^[^&#]+/;class Sf{url;remaining;constructor(a){this.url=a,this.remaining=a}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ke([],{}):new ke([],this.parseChildren())}parseQueryParams(){const a={};if(this.consumeOptional("?"))do{this.parseQueryParam(a)}while(this.consumeOptional("&"));return a}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const a=[];for(this.peekStartsWith("(")||a.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),a.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(a.length>0||Object.keys(n).length>0)&&(i[Se]=new ke(a,n)),i}parseSegment(){const a=If(this.remaining);if(""===a&&this.peekStartsWith(";"))throw new u.wOt(4009,!1);return this.capture(a),new Ds(tl(a),this.parseMatrixParams())}parseMatrixParams(){const a={};for(;this.consumeOptional(";");)this.parseParam(a);return a}parseParam(a){const n=function $b(o){const a=o.match(Mf);return a?a[0]:""}(this.remaining);if(!n)return;this.capture(n);let i="";if(this.consumeOptional("=")){const c=If(this.remaining);c&&(i=c,this.capture(i))}a[tl(n)]=tl(i)}parseQueryParam(a){const n=function Tf(o){const a=o.match(Gb);return a?a[0]:""}(this.remaining);if(!n)return;this.capture(n);let i="";if(this.consumeOptional("=")){const m=function Yg(o){const a=o.match(Zg);return a?a[0]:""}(this.remaining);m&&(i=m,this.capture(i))}const c=Ub(n),h=Ub(i);if(a.hasOwnProperty(c)){let m=a[c];Array.isArray(m)||(m=[m],a[c]=m),m.push(h)}else a[c]=h}parseParens(a){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=If(this.remaining),c=this.remaining[i.length];if("/"!==c&&")"!==c&&";"!==c)throw new u.wOt(4010,!1);let h;i.indexOf(":")>-1?(h=i.slice(0,i.indexOf(":")),this.capture(h),this.capture(":")):a&&(h=Se);const m=this.parseChildren();n[h]=1===Object.keys(m).length?m[Se]:new ke([],m),this.consumeOptional("//")}return n}peekStartsWith(a){return this.remaining.startsWith(a)}consumeOptional(a){return!!this.peekStartsWith(a)&&(this.remaining=this.remaining.substring(a.length),!0)}capture(a){if(!this.consumeOptional(a))throw new u.wOt(4011,!1)}}function Jg(o){return o.segments.length>0?new ke([],{[Se]:o}):o}function em(o){const a={};for(const[i,c]of Object.entries(o.children)){const h=em(c);if(i===Se&&0===h.segments.length&&h.hasChildren())for(const[m,y]of Object.entries(h.children))a[m]=y;else(h.segments.length>0||h.hasChildren())&&(a[i]=h)}return function tm(o){if(1===o.numberOfChildren&&o.children[Se]){const a=o.children[Se];return new ke(o.segments.concat(a.segments),a.children)}return o}(new ke(o.segments,a))}function hi(o){return o instanceof Ao}function nm(o){let a;const c=Jg(function n(h){const m={};for(const b of h.children){const w=n(b);m[b.outlet]=w}const y=new ke(h.url,m);return h===o&&(a=y),y}(o.root));return a??c}function xf(o,a,n,i){let c=o;for(;c.parent;)c=c.parent;if(0===a.length)return Pc(c,c,c,n,i);const h=function zb(o){if("string"==typeof o[0]&&1===o.length&&"/"===o[0])return new om(!0,0,o);let a=0,n=!1;const i=o.reduce((c,h,m)=>{if("object"==typeof h&&null!=h){if(h.outlets){const y={};return Object.entries(h.outlets).forEach(([b,w])=>{y[b]="string"==typeof w?w.split("/"):w}),[...c,{outlets:y}]}if(h.segmentPath)return[...c,h.segmentPath]}return"string"!=typeof h?[...c,h]:0===m?(h.split("/").forEach((y,b)=>{0==b&&"."===y||(0==b&&""===y?n=!0:".."===y?a++:""!=y&&c.push(y))}),c):[...c,h]},[]);return new om(n,a,i)}(a);if(h.toRoot())return Pc(c,c,new ke([],{}),n,i);const m=function nl(o,a,n){if(o.isAbsolute)return new lo(a,!0,0);if(!n)return new lo(a,!1,NaN);if(null===n.parent)return new lo(n,!0,0);const i=Af(o.commands[0])?0:1;return function im(o,a,n){let i=o,c=a,h=n;for(;h>c;){if(h-=c,i=i.parent,!i)throw new u.wOt(4005,!1);c=i.segments.length}return new lo(i,!1,c-h)}(n,n.segments.length-1+i,o.numberOfDoubleDots)}(h,c,o),y=m.processChildren?co(m.segmentGroup,m.index,h.commands):Rf(m.segmentGroup,m.index,h.commands);return Pc(c,m.segmentGroup,y,n,i)}function Af(o){return"object"==typeof o&&null!=o&&!o.outlets&&!o.segmentPath}function Fc(o){return"object"==typeof o&&null!=o&&o.outlets}function Pc(o,a,n,i,c){let m,h={};i&&Object.entries(i).forEach(([b,w])=>{h[b]=Array.isArray(w)?w.map(x=>`${x}`):`${w}`}),m=o===a?n:rm(o,a,n);const y=Jg(em(m));return new Ao(y,h,c)}function rm(o,a,n){const i={};return Object.entries(o.children).forEach(([c,h])=>{i[c]=h===a?n:rm(h,a,n)}),new ke(o.segments,i)}class om{isAbsolute;numberOfDoubleDots;commands;constructor(a,n,i){if(this.isAbsolute=a,this.numberOfDoubleDots=n,this.commands=i,a&&i.length>0&&Af(i[0]))throw new u.wOt(4003,!1);const c=i.find(Fc);if(c&&c!==Wg(i))throw new u.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class lo{segmentGroup;processChildren;index;constructor(a,n,i){this.segmentGroup=a,this.processChildren=n,this.index=i}}function Rf(o,a,n){if(o??=new ke([],{}),0===o.segments.length&&o.hasChildren())return co(o,a,n);const i=function qb(o,a,n){let i=0,c=a;const h={match:!1,pathIndex:0,commandIndex:0};for(;c=n.length)return h;const m=o.segments[c],y=n[i];if(Fc(y))break;const b=`${y}`,w=i0&&void 0===b)break;if(b&&w&&"object"==typeof w&&void 0===w.outlets){if(!Es(b,w,m))return h;i+=2}else{if(!Es(b,{},m))return h;i++}c++}return{match:!0,pathIndex:c,commandIndex:i}}(o,a,n),c=n.slice(i.commandIndex);if(i.match&&i.pathIndexh!==Se)&&o.children[Se]&&1===o.numberOfChildren&&0===o.children[Se].segments.length){const h=co(o.children[Se],a,n);return new ke(o.segments,h.children)}return Object.entries(i).forEach(([h,m])=>{"string"==typeof m&&(m=[m]),null!==m&&(c[h]=Rf(o.children[h],a,m))}),Object.entries(o.children).forEach(([h,m])=>{void 0===i[h]&&(c[h]=m)}),new ke(o.segments,c)}}function rl(o,a,n){const i=o.segments.slice(0,a);let c=0;for(;c{"string"==typeof i&&(i=[i]),null!==i&&(a[n]=rl(new ke([],{}),0,i))}),a}function ws(o){const a={};return Object.entries(o).forEach(([n,i])=>a[n]=`${i}`),a}function Es(o,a,n){return o==n.path&&Lr(a,n.parameters)}const Is="imperative";var Ne=function(o){return o[o.NavigationStart=0]="NavigationStart",o[o.NavigationEnd=1]="NavigationEnd",o[o.NavigationCancel=2]="NavigationCancel",o[o.NavigationError=3]="NavigationError",o[o.RoutesRecognized=4]="RoutesRecognized",o[o.ResolveStart=5]="ResolveStart",o[o.ResolveEnd=6]="ResolveEnd",o[o.GuardsCheckStart=7]="GuardsCheckStart",o[o.GuardsCheckEnd=8]="GuardsCheckEnd",o[o.RouteConfigLoadStart=9]="RouteConfigLoadStart",o[o.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",o[o.ChildActivationStart=11]="ChildActivationStart",o[o.ChildActivationEnd=12]="ChildActivationEnd",o[o.ActivationStart=13]="ActivationStart",o[o.ActivationEnd=14]="ActivationEnd",o[o.Scroll=15]="Scroll",o[o.NavigationSkipped=16]="NavigationSkipped",o}(Ne||{});class kn{id;url;constructor(a,n){this.id=a,this.url=n}}class Nf extends kn{type=Ne.NavigationStart;navigationTrigger;restoredState;constructor(a,n,i="imperative",c=null){super(a,n),this.navigationTrigger=i,this.restoredState=c}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class pi extends kn{urlAfterRedirects;type=Ne.NavigationEnd;constructor(a,n,i){super(a,n),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Fn=function(o){return o[o.Redirect=0]="Redirect",o[o.SupersededByNewNavigation=1]="SupersededByNewNavigation",o[o.NoDataFromResolver=2]="NoDataFromResolver",o[o.GuardRejected=3]="GuardRejected",o}(Fn||{}),Lc=function(o){return o[o.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",o[o.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",o}(Lc||{});class uo extends kn{reason;code;type=Ne.NavigationCancel;constructor(a,n,i,c){super(a,n),this.reason=i,this.code=c}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ol extends kn{reason;code;type=Ne.NavigationSkipped;constructor(a,n,i,c){super(a,n),this.reason=i,this.code=c}}class Of extends kn{error;target;type=Ne.NavigationError;constructor(a,n,i,c){super(a,n),this.error=i,this.target=c}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class pn extends kn{urlAfterRedirects;state;type=Ne.RoutesRecognized;constructor(a,n,i,c){super(a,n),this.urlAfterRedirects=i,this.state=c}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class kf extends kn{urlAfterRedirects;state;type=Ne.GuardsCheckStart;constructor(a,n,i,c){super(a,n),this.urlAfterRedirects=i,this.state=c}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class am extends kn{urlAfterRedirects;state;shouldActivate;type=Ne.GuardsCheckEnd;constructor(a,n,i,c,h){super(a,n),this.urlAfterRedirects=i,this.state=c,this.shouldActivate=h}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Vc extends kn{urlAfterRedirects;state;type=Ne.ResolveStart;constructor(a,n,i,c){super(a,n),this.urlAfterRedirects=i,this.state=c}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class uI extends kn{urlAfterRedirects;state;type=Ne.ResolveEnd;constructor(a,n,i,c){super(a,n),this.urlAfterRedirects=i,this.state=c}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dI{route;type=Ne.RouteConfigLoadStart;constructor(a){this.route=a}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class rn{route;type=Ne.RouteConfigLoadEnd;constructor(a){this.route=a}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ms{snapshot;type=Ne.ChildActivationStart;constructor(a){this.snapshot=a}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ff{snapshot;type=Ne.ChildActivationEnd;constructor(a){this.snapshot=a}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lm{snapshot;type=Ne.ActivationStart;constructor(a){this.snapshot=a}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Kb{snapshot;type=Ne.ActivationEnd;constructor(a){this.snapshot=a}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Pf{}class il{url;navigationBehaviorOptions;constructor(a,n){this.url=a,this.navigationBehaviorOptions=n}}function Yn(o){return o.outlet||Se}function Ts(o){if(!o)return null;if(o.routeConfig?._injector)return o.routeConfig._injector;for(let a=o.parent;a;a=a.parent){const n=a.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}class hm{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Ts(this.route?.snapshot)??this.rootInjector}constructor(a){this.rootInjector=a,this.children=new sl(this.rootInjector)}}let sl=(()=>{class o{rootInjector;contexts=new Map;constructor(n){this.rootInjector=n}onChildOutletCreated(n,i){const c=this.getOrCreateContext(n);c.outlet=i,this.contexts.set(n,c)}onChildOutletDestroyed(n){const i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let i=this.getContext(n);return i||(i=new hm(this.rootInjector),this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}static \u0275fac=function(i){return new(i||o)(u.KVO(u.uvJ))};static \u0275prov=u.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();class pm{_root;constructor(a){this._root=a}get root(){return this._root.value}parent(a){const n=this.pathFromRoot(a);return n.length>1?n[n.length-2]:null}children(a){const n=Lf(a,this._root);return n?n.children.map(i=>i.value):[]}firstChild(a){const n=Lf(a,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(a){const n=Vf(a,this._root);return n.length<2?[]:n[n.length-2].children.map(c=>c.value).filter(c=>c!==a)}pathFromRoot(a){return Vf(a,this._root).map(n=>n.value)}}function Lf(o,a){if(o===a.value)return a;for(const n of a.children){const i=Lf(o,n);if(i)return i}return null}function Vf(o,a){if(o===a.value)return[a];for(const n of a.children){const i=Vf(o,n);if(i.length)return i.unshift(a),i}return[]}class Jn{value;children;constructor(a,n){this.value=a,this.children=n}toString(){return`TreeNode(${this.value})`}}function al(o){const a={};return o&&o.children.forEach(n=>a[n.value.outlet]=n),a}class Bf extends pm{snapshot;constructor(a,n){super(a),this.snapshot=n,jf(this,a)}toString(){return this.snapshot.toString()}}function gm(o){const a=function Zb(o){const h=new cl([],{},{},"",{},Se,o,null,{});return new Uc("",new Jn(h,[]))}(o),n=new en.t([new Ds("",{})]),i=new en.t({}),c=new en.t({}),h=new en.t({}),m=new en.t(""),y=new ll(n,i,h,m,c,Se,o,a.root);return y.snapshot=a.root,new Bf(new Jn(y,[]),a)}class ll{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(a,n,i,c,h,m,y,b){this.urlSubject=a,this.paramsSubject=n,this.queryParamsSubject=i,this.fragmentSubject=c,this.dataSubject=h,this.outlet=m,this.component=y,this._futureSnapshot=b,this.title=this.dataSubject?.pipe((0,Te.T)(w=>w[Cs]))??ge(void 0),this.url=a,this.params=n,this.queryParams=i,this.fragment=c,this.data=h}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,Te.T)(a=>io(a))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,Te.T)(a=>io(a))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function jc(o,a,n="emptyOnly"){let i;const{routeConfig:c}=o;return i=null===a||"always"!==n&&""!==c?.path&&(a.component||a.routeConfig?.loadComponent)?{params:{...o.params},data:{...o.data},resolve:{...o.data,...o._resolvedData??{}}}:{params:{...a.params,...o.params},data:{...a.data,...o.data},resolve:{...o.data,...a.data,...c?.data,...o._resolvedData}},c&&Hc(c)&&(i.resolve[Cs]=c.title),i}class cl{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Cs]}constructor(a,n,i,c,h,m,y,b,w){this.url=a,this.params=n,this.queryParams=i,this.fragment=c,this.data=h,this.outlet=m,this.component=y,this.routeConfig=b,this._resolve=w}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=io(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=io(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Uc extends pm{url;constructor(a,n){super(n),this.url=a,jf(this,n)}toString(){return yr(this._root)}}function jf(o,a){a.value._routerState=o,a.children.forEach(n=>jf(o,n))}function yr(o){const a=o.children.length>0?` { ${o.children.map(yr).join(", ")} } `:"";return`${o.value}${a}`}function gi(o){if(o.snapshot){const a=o.snapshot,n=o._futureSnapshot;o.snapshot=n,Lr(a.queryParams,n.queryParams)||o.queryParamsSubject.next(n.queryParams),a.fragment!==n.fragment&&o.fragmentSubject.next(n.fragment),Lr(a.params,n.params)||o.paramsSubject.next(n.params),function Pb(o,a){if(o.length!==a.length)return!1;for(let n=0;nLr(n.parameters,a[i].parameters))}(o.url,a.url);return n&&!(!o.parent!=!a.parent)&&(!o.parent||Uf(o.parent,a.parent))}function Hc(o){return"string"==typeof o.title||null===o.title}const Hf=new u.nKC("");let Yb=(()=>{class o{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=Se;activateEvents=new u.bkB;deactivateEvents=new u.bkB;attachEvents=new u.bkB;detachEvents=new u.bkB;routerOutletData=(0,u.hFB)(void 0);parentContexts=(0,u.WQX)(sl);location=(0,u.WQX)(u.c1b);changeDetector=(0,u.WQX)(u.gRc);inputBinder=(0,u.WQX)($c,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(n){if(n.name){const{firstChange:i,previousValue:c}=n.name;if(i)return;this.isTrackedInParentContexts(c)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(c)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new u.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new u.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new u.wOt(4012,!1);this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,i){this.activated=n,this._activatedRoute=i,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,i){if(this.isActivated)throw new u.wOt(4013,!1);this._activatedRoute=n;const c=this.location,m=n.snapshot.component,y=this.parentContexts.getOrCreateContext(this.name).children,b=new $f(n,y,c.injector,this.routerOutletData);this.activated=c.createComponent(m,{index:c.length,injector:b,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(i){return new(i||o)};static \u0275dir=u.FsC({type:o,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[u.OA$]})}return o})();class $f{route;childContexts;parent;outletData;__ngOutletInjector(a){return new $f(this.route,this.childContexts,a,this.outletData)}constructor(a,n,i,c){this.route=a,this.childContexts=n,this.parent=i,this.outletData=c}get(a,n){return a===ll?this.route:a===sl?this.childContexts:a===Hf?this.outletData:this.parent.get(a,n)}}const $c=new u.nKC("");function Gc(o,a,n){if(n&&o.shouldReuseRoute(a.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=a.value;const c=function eC(o,a,n){return a.children.map(i=>{for(const c of n.children)if(o.shouldReuseRoute(i.value,c.value.snapshot))return Gc(o,i,c);return Gc(o,i)})}(o,a,n);return new Jn(i,c)}{if(o.shouldAttach(a.value)){const h=o.retrieve(a.value);if(null!==h){const m=h.route;return m.value._futureSnapshot=a.value,m.children=a.children.map(y=>Gc(o,y)),m}}const i=function Ss(o){return new ll(new en.t(o.url),new en.t(o.params),new en.t(o.queryParams),new en.t(o.fragment),new en.t(o.data),o.outlet,o.component,o)}(a.value),c=a.children.map(h=>Gc(o,h));return new Jn(i,c)}}class Gf{redirectTo;navigationBehaviorOptions;constructor(a,n){this.redirectTo=a,this.navigationBehaviorOptions=n}}const zc="ngNavigationCancelingError";function xs(o,a){const{redirectTo:n,navigationBehaviorOptions:i}=hi(a)?{redirectTo:a,navigationBehaviorOptions:void 0}:a,c=mi(!1,Fn.Redirect);return c.url=n,c.navigationBehaviorOptions=i,c}function mi(o,a){const n=new Error(`NavigationCancelingError: ${o||""}`);return n[zc]=!0,n.cancellationCode=a,n}function qc(o){return!!o&&o[zc]}class Ro{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(a,n,i,c,h){this.routeReuseStrategy=a,this.futureState=n,this.currState=i,this.forwardEvent=c,this.inputBindingEnabled=h}activate(a){const n=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,i,a),gi(this.futureState.root),this.activateChildRoutes(n,i,a)}deactivateChildRoutes(a,n,i){const c=al(n);a.children.forEach(h=>{const m=h.value.outlet;this.deactivateRoutes(h,c[m],i),delete c[m]}),Object.values(c).forEach(h=>{this.deactivateRouteAndItsChildren(h,i)})}deactivateRoutes(a,n,i){const c=a.value,h=n?n.value:null;if(c===h)if(c.component){const m=i.getContext(c.outlet);m&&this.deactivateChildRoutes(a,n,m.children)}else this.deactivateChildRoutes(a,n,i);else h&&this.deactivateRouteAndItsChildren(n,i)}deactivateRouteAndItsChildren(a,n){a.value.component&&this.routeReuseStrategy.shouldDetach(a.value.snapshot)?this.detachAndStoreRouteSubtree(a,n):this.deactivateRouteAndOutlet(a,n)}detachAndStoreRouteSubtree(a,n){const i=n.getContext(a.value.outlet),c=i&&a.value.component?i.children:n,h=al(a);for(const m of Object.values(h))this.deactivateRouteAndItsChildren(m,c);if(i&&i.outlet){const m=i.outlet.detach(),y=i.children.onOutletDeactivated();this.routeReuseStrategy.store(a.value.snapshot,{componentRef:m,route:a,contexts:y})}}deactivateRouteAndOutlet(a,n){const i=n.getContext(a.value.outlet),c=i&&a.value.component?i.children:n,h=al(a);for(const m of Object.values(h))this.deactivateRouteAndItsChildren(m,c);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(a,n,i){const c=al(n);a.children.forEach(h=>{this.activateRoutes(h,c[h.value.outlet],i),this.forwardEvent(new Kb(h.value.snapshot))}),a.children.length&&this.forwardEvent(new Ff(a.value.snapshot))}activateRoutes(a,n,i){const c=a.value,h=n?n.value:null;if(gi(c),c===h)if(c.component){const m=i.getOrCreateContext(c.outlet);this.activateChildRoutes(a,n,m.children)}else this.activateChildRoutes(a,n,i);else if(c.component){const m=i.getOrCreateContext(c.outlet);if(this.routeReuseStrategy.shouldAttach(c.snapshot)){const y=this.routeReuseStrategy.retrieve(c.snapshot);this.routeReuseStrategy.store(c.snapshot,null),m.children.onOutletReAttached(y.contexts),m.attachRef=y.componentRef,m.route=y.route.value,m.outlet&&m.outlet.attach(y.componentRef,y.route.value),gi(y.route.value),this.activateChildRoutes(a,null,m.children)}else m.attachRef=null,m.route=c,m.outlet&&m.outlet.activateWith(c,m.injector),this.activateChildRoutes(a,null,m.children)}else this.activateChildRoutes(a,null,i)}}class Xc{path;route;constructor(a){this.path=a,this.route=this.path[this.path.length-1]}}class _i{component;route;constructor(a,n){this.component=a,this.route=n}}function ul(o,a,n){const i=o._root;return Oo(i,a?a._root:null,n,[i.value])}function No(o,a){const n=Symbol(),i=a.get(o,n);return i===n?"function"!=typeof o||(0,u.LfX)(o)?a.get(o):o:i}function Oo(o,a,n,i,c={canDeactivateChecks:[],canActivateChecks:[]}){const h=al(a);return o.children.forEach(m=>{(function _m(o,a,n,i,c={canDeactivateChecks:[],canActivateChecks:[]}){const h=o.value,m=a?a.value:null,y=n?n.getContext(o.value.outlet):null;if(m&&h.routeConfig===m.routeConfig){const b=function Wf(o,a,n){if("function"==typeof n)return n(o,a);switch(n){case"pathParamsChange":return!nn(o.url,a.url);case"pathParamsOrQueryParamsChange":return!nn(o.url,a.url)||!Lr(o.queryParams,a.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Uf(o,a)||!Lr(o.queryParams,a.queryParams);default:return!Uf(o,a)}}(m,h,h.routeConfig.runGuardsAndResolvers);b?c.canActivateChecks.push(new Xc(i)):(h.data=m.data,h._resolvedData=m._resolvedData),Oo(o,a,h.component?y?y.children:null:n,i,c),b&&y&&y.outlet&&y.outlet.isActivated&&c.canDeactivateChecks.push(new _i(y.outlet.component,m))}else m&&Zc(a,y,c),c.canActivateChecks.push(new Xc(i)),Oo(o,null,h.component?y?y.children:null:n,i,c)})(m,h[m.value.outlet],n,i.concat([m.value]),c),delete h[m.value.outlet]}),Object.entries(h).forEach(([m,y])=>Zc(y,n.getContext(m),c)),c}function Zc(o,a,n){const i=al(o),c=o.value;Object.entries(i).forEach(([h,m])=>{Zc(m,c.component?a?a.children.getContext(h):null:a,n)}),n.canDeactivateChecks.push(new _i(c.component&&a&&a.outlet&&a.outlet.isActivated?a.outlet.component:null,c))}function Vr(o){return"function"==typeof o}function Yc(o){return o instanceof Nb.G||"EmptyError"===o?.name}const dl=Symbol("INITIAL_VALUE");function pt(){return _r(o=>ro(o.map(a=>a.pipe((0,oo.s)(1),ys(dl)))).pipe((0,Te.T)(a=>{for(const n of a)if(!0!==n){if(n===dl)return dl;if(!1===n||_I(n))return n}return!0}),(0,En.p)(a=>a!==dl),(0,oo.s)(1)))}function _I(o){return hi(o)||o instanceof Gf}function rC(o){return(0,hf.F)($t(a=>{if("boolean"!=typeof a)throw xs(0,a)}),(0,Te.T)(a=>!0===a))}class Jc{segmentGroup;constructor(a){this.segmentGroup=a||null}}class eu extends Error{urlTree;constructor(a){super(),this.urlTree=a}}function Xe(o){return Qa(new Jc(o))}class hl{urlSerializer;urlTree;constructor(a,n){this.urlSerializer=a,this.urlTree=n}lineralizeSegments(a,n){let i=[],c=n.root;for(;;){if(i=i.concat(c.segments),0===c.numberOfChildren)return ge(i);if(c.numberOfChildren>1||!c.children[Se])return Qa(new u.wOt(4e3,!1));c=c.children[Se]}}applyRedirectCommands(a,n,i,c,h){if("string"!=typeof n){const y=n,{queryParams:b,fragment:w,routeConfig:x,url:N,outlet:q,params:z,data:Z,title:re}=c,De=(0,u.N4e)(h,()=>y({params:z,data:Z,queryParams:b,fragment:w,routeConfig:x,url:N,outlet:q,title:re}));if(De instanceof Ao)throw new eu(De);n=De}const m=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),a,i);if("/"===n[0])throw new eu(m);return m}applyRedirectCreateUrlTree(a,n,i,c){const h=this.createSegmentGroup(a,n.root,i,c);return new Ao(h,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(a,n){const i={};return Object.entries(a).forEach(([c,h])=>{if("string"==typeof h&&":"===h[0]){const y=h.substring(1);i[c]=n[y]}else i[c]=h}),i}createSegmentGroup(a,n,i,c){const h=this.createSegments(a,n.segments,i,c);let m={};return Object.entries(n.children).forEach(([y,b])=>{m[y]=this.createSegmentGroup(a,b,i,c)}),new ke(h,m)}createSegments(a,n,i,c){return n.map(h=>":"===h.path[0]?this.findPosParam(a,h,c):this.findOrReturn(h,i))}findPosParam(a,n,i){const c=i[n.path.substring(1)];if(!c)throw new u.wOt(4001,!1);return c}findOrReturn(a,n){let i=0;for(const c of n){if(c.path===a.path)return n.splice(i),c;i++}return a}}const Ns={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function oC(o,a,n,i,c){const h=Tm(o,a,n);return h.matched?(i=function cm(o,a){return o.providers&&!o._injector&&(o._injector=(0,u.Ol2)(o.providers,a,`Route: ${o.path}`)),o._injector??a}(a,i),function Et(o,a,n,i){const c=a.canMatch;return c&&0!==c.length?ge(c.map(m=>{const y=No(m,o);return so(function Dm(o){return o&&Vr(o.canMatch)}(y)?y.canMatch(a,n):(0,u.N4e)(o,()=>y(a,n)))})).pipe(pt(),rC()):ge(!0)}(i,a,n).pipe((0,Te.T)(m=>!0===m?h:{...Ns}))):ge(h)}function Tm(o,a,n){if("**"===a.path)return function nu(o){return{matched:!0,parameters:o.length>0?Wg(o).parameters:{},consumedSegments:o,remainingSegments:[],positionalParamSegments:{}}}(n);if(""===a.path)return"full"===a.pathMatch&&(o.hasChildren()||n.length>0)?{...Ns}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const c=(a.matcher||zg)(n,o,a);if(!c)return{...Ns};const h={};Object.entries(c.posParams??{}).forEach(([y,b])=>{h[y]=b.path});const m=c.consumed.length>0?{...h,...c.consumed[c.consumed.length-1].parameters}:h;return{matched:!0,consumedSegments:c.consumed,remainingSegments:n.slice(c.consumed.length),parameters:m,positionalParamSegments:c.posParams??{}}}function ru(o,a,n,i){return n.length>0&&function Sm(o,a,n){return n.some(i=>yi(o,a,i)&&Yn(i)!==Se)}(o,n,i)?{segmentGroup:new ke(a,iC(i,new ke(n,o.children))),slicedSegments:[]}:0===n.length&&function pl(o,a,n){return n.some(i=>yi(o,a,i))}(o,n,i)?{segmentGroup:new ke(o.segments,fo(o,n,i,o.children)),slicedSegments:n}:{segmentGroup:new ke(o.segments,o.children),slicedSegments:n}}function fo(o,a,n,i){const c={};for(const h of n)if(yi(o,a,h)&&!i[Yn(h)]){const m=new ke([],{});c[Yn(h)]=m}return{...i,...c}}function iC(o,a){const n={};n[Se]=a;for(const i of o)if(""===i.path&&Yn(i)!==Se){const c=new ke([],{});n[Yn(i)]=c}return n}function yi(o,a,n){return(!(o.hasChildren()||a.length>0)||"full"!==n.pathMatch)&&""===n.path}class Am{}class sC{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(a,n,i,c,h,m,y){this.injector=a,this.configLoader=n,this.rootComponentType=i,this.config=c,this.urlTree=h,this.paramsInheritanceStrategy=m,this.urlSerializer=y,this.applyRedirects=new hl(this.urlSerializer,this.urlTree)}noMatchError(a){return new u.wOt(4002,`'${a.segmentGroup}'`)}recognize(){const a=ru(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(a).pipe((0,Te.T)(({children:n,rootSnapshot:i})=>{const c=new Jn(i,n),h=new Uc("",c),m=function ao(o,a,n=null,i=null){return xf(nm(o),a,n,i)}(i,[],this.urlTree.queryParams,this.urlTree.fragment);return m.queryParams=this.urlTree.queryParams,h.url=this.urlSerializer.serialize(m),{state:h,tree:m}}))}match(a){const n=new cl([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),Se,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,a,Se,n).pipe((0,Te.T)(i=>({children:i,rootSnapshot:n})),fi(i=>{if(i instanceof eu)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof Jc?this.noMatchError(i):i}))}processSegmentGroup(a,n,i,c,h){return 0===i.segments.length&&i.hasChildren()?this.processChildren(a,n,i,h):this.processSegment(a,n,i,i.segments,c,!0,h).pipe((0,Te.T)(m=>m instanceof Jn?[m]:[]))}processChildren(a,n,i,c){const h=[];for(const m of Object.keys(i.children))"primary"===m?h.unshift(m):h.push(m);return ut(h).pipe(Pr(m=>{const y=i.children[m],b=function fm(o,a){const n=o.filter(i=>Yn(i)===a);return n.push(...o.filter(i=>Yn(i)!==a)),n}(n,m);return this.processSegmentGroup(a,b,y,m,c)}),function bs(o,a){return(0,mt.N)(mf(o,a,arguments.length>=2,!0))}((m,y)=>(m.push(...y),m)),(0,xo.U)(null),function $g(o,a){const n=arguments.length>=2;return i=>i.pipe(o?(0,En.p)((c,h)=>o(c,h,i)):Xn.D,wt(1),n?(0,xo.U)(a):(0,Fb.v)(()=>new Nb.G))}(),Dt(m=>{if(null===m)return Xe(i);const y=Rm(m);return function _t(o){o.sort((a,n)=>a.value.outlet===Se?-1:n.value.outlet===Se?1:a.value.outlet.localeCompare(n.value.outlet))}(y),ge(y)}))}processSegment(a,n,i,c,h,m,y){return ut(n).pipe(Pr(b=>this.processSegmentAgainstRoute(b._injector??a,n,b,i,c,h,m,y).pipe(fi(w=>{if(w instanceof Jc)return ge(null);throw w}))),(0,Fr.$)(b=>!!b),fi(b=>{if(Yc(b))return function xm(o,a,n){return 0===a.length&&!o.children[n]}(i,c,h)?ge(new Am):Xe(i);throw b}))}processSegmentAgainstRoute(a,n,i,c,h,m,y,b){return Yn(i)===m||m!==Se&&yi(c,h,i)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(a,c,i,h,m,b):this.allowRedirects&&y?this.expandSegmentAgainstRouteUsingRedirect(a,c,n,i,h,m,b):Xe(c):Xe(c)}expandSegmentAgainstRouteUsingRedirect(a,n,i,c,h,m,y){const{matched:b,parameters:w,consumedSegments:x,positionalParamSegments:N,remainingSegments:q}=Tm(n,c,h);if(!b)return Xe(n);"string"==typeof c.redirectTo&&"/"===c.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const z=new cl(h,w,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Qf(c),Yn(c),c.component??c._loadedComponent??null,c,Xf(c)),Z=jc(z,y,this.paramsInheritanceStrategy);z.params=Object.freeze(Z.params),z.data=Object.freeze(Z.data);const re=this.applyRedirects.applyRedirectCommands(x,c.redirectTo,N,z,a);return this.applyRedirects.lineralizeSegments(c,re).pipe(Dt(De=>this.processSegment(a,i,n,De.concat(q),m,!1,y)))}matchSegmentAgainstRoute(a,n,i,c,h,m){const y=oC(n,i,c,a);return"**"===i.path&&(n.children={}),y.pipe(_r(b=>b.matched?this.getChildConfig(a=i._injector??a,i,c).pipe(_r(({routes:w})=>{const x=i._loadedInjector??a,{parameters:N,consumedSegments:q,remainingSegments:z}=b,Z=new cl(q,N,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Qf(i),Yn(i),i.component??i._loadedComponent??null,i,Xf(i)),re=jc(Z,m,this.paramsInheritanceStrategy);Z.params=Object.freeze(re.params),Z.data=Object.freeze(re.data);const{segmentGroup:De,slicedSegments:Re}=ru(n,q,z,w);if(0===Re.length&&De.hasChildren())return this.processChildren(x,w,De,Z).pipe((0,Te.T)(ir=>new Jn(Z,ir)));if(0===w.length&&0===Re.length)return ge(new Jn(Z,[]));const xt=Yn(i)===h;return this.processSegment(x,w,De,Re,xt?Se:h,!0,Z).pipe((0,Te.T)(ir=>new Jn(Z,ir instanceof Jn?[ir]:[])))})):Xe(n)))}getChildConfig(a,n,i){return n.children?ge({routes:n.children,injector:a}):n.loadChildren?void 0!==n._loadedRoutes?ge({routes:n._loadedRoutes,injector:n._loadedInjector}):function Mm(o,a,n,i){const c=a.canLoad;return void 0===c||0===c.length?ge(!0):ge(c.map(m=>{const y=No(m,o);return so(function ym(o){return o&&Vr(o.canLoad)}(y)?y.canLoad(a,n):(0,u.N4e)(o,()=>y(a,n)))})).pipe(pt(),rC())}(a,n,i).pipe(Dt(c=>c?this.configLoader.loadChildren(a,n).pipe($t(h=>{n._loadedRoutes=h.routes,n._loadedInjector=h.injector})):function vi(){return Qa(mi(!1,Fn.GuardRejected))}())):ge({routes:[],injector:a})}}function aC(o){const a=o.value.routeConfig;return a&&""===a.path}function Rm(o){const a=[],n=new Set;for(const i of o){if(!aC(i)){a.push(i);continue}const c=a.find(h=>i.value.routeConfig===h.value.routeConfig);void 0!==c?(c.children.push(...i.children),n.add(c)):a.push(i)}for(const i of n){const c=Rm(i.children);a.push(new Jn(i.value,c))}return a.filter(i=>!n.has(i))}function Qf(o){return o.data||{}}function Xf(o){return o.resolve||{}}function Zf(o){const a=o.children.map(n=>Zf(n)).flat();return[o,...a]}function ml(o){return _r(a=>{const n=o(a);return n?ut(n).pipe((0,Te.T)(()=>a)):ge(a)})}let bi=(()=>{class o{buildTitle(n){let i,c=n.root;for(;void 0!==c;)i=this.getResolvedTitleForRoute(c)??i,c=c.children.find(h=>h.outlet===Se);return i}getResolvedTitleForRoute(n){return n.data[Cs]}static \u0275fac=function(i){return new(i||o)};static \u0275prov=u.jDH({token:o,factory:()=>(0,u.WQX)(iu),providedIn:"root"})}return o})(),iu=(()=>{class o extends bi{title;constructor(n){super(),this.title=n}updateTitle(n){const i=this.buildTitle(n);void 0!==i&&this.title.setTitle(i)}static \u0275fac=function(i){return new(i||o)(u.KVO(qd))};static \u0275prov=u.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();const ko=new u.nKC("",{providedIn:"root",factory:()=>({})});let Ci=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275cmp=u.VBU({type:o,selectors:[["ng-component"]],decls:1,vars:0,template:function(i,c){1&i&&u.nrm(0,"router-outlet")},dependencies:[Yb],encapsulation:2})}return o})();function _l(o){const a=o.children&&o.children.map(_l),n=a?{...o,children:a}:{...o};return!n.component&&!n.loadComponent&&(a||n.loadChildren)&&n.outlet&&n.outlet!==Se&&(n.component=Ci),n}const Os=new u.nKC("");let Jf=(()=>{class o{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=(0,u.WQX)(u.Ql9);loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return ge(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const i=so(n.loadComponent()).pipe((0,Te.T)(km),$t(h=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=h}),vf(()=>{this.componentLoaders.delete(n)})),c=new gf(i,()=>new L.B).pipe(pf());return this.componentLoaders.set(n,c),c}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return ge({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const h=function Om(o,a,n,i){return so(o.loadChildren()).pipe((0,Te.T)(km),Dt(c=>c instanceof u.Co$||Array.isArray(c)?ge(c):ut(a.compileModuleAsync(c))),(0,Te.T)(c=>{i&&i(o);let h,m,y=!1;return Array.isArray(c)?(m=c,!0):(h=c.create(n).injector,m=h.get(Os,[],{optional:!0,self:!0}).flat()),{routes:m.map(_l),injector:h}}))}(i,this.compiler,n,this.onLoadEndListener).pipe(vf(()=>{this.childrenLoaders.delete(i)})),m=new gf(h,()=>new L.B).pipe(pf());return this.childrenLoaders.set(i,m),m}static \u0275fac=function(i){return new(i||o)};static \u0275prov=u.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function km(o){return function eh(o){return o&&"object"==typeof o&&"default"in o}(o)?o.default:o}let th=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275prov=u.jDH({token:o,factory:()=>(0,u.WQX)(ks),providedIn:"root"})}return o})(),ks=(()=>{class o{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,i){return n}static \u0275fac=function(i){return new(i||o)};static \u0275prov=u.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();const Fs=new u.nKC(""),nh=new u.nKC("");let rh=(()=>{class o{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new L.B;transitionAbortSubject=new L.B;configLoader=(0,u.WQX)(Jf);environmentInjector=(0,u.WQX)(u.uvJ);urlSerializer=(0,u.WQX)(Za);rootContexts=(0,u.WQX)(sl);location=(0,u.WQX)(Rt);inputBindingEnabled=null!==(0,u.WQX)($c,{optional:!0});titleStrategy=(0,u.WQX)(bi);options=(0,u.WQX)(ko,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=(0,u.WQX)(th);createViewTransition=(0,u.WQX)(Fs,{optional:!0});navigationErrorHandler=(0,u.WQX)(nh,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>ge(void 0);rootComponentType=null;constructor(){this.configLoader.onLoadEndListener=c=>this.events.next(new rn(c)),this.configLoader.onLoadStartListener=c=>this.events.next(new dI(c))}complete(){this.transitions?.complete()}handleNavigationRequest(n){const i=++this.navigationId;this.transitions?.next({...this.transitions.value,...n,id:i})}setupNavigations(n,i,c){return this.transitions=new en.t({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Is,restoredState:null,currentSnapshot:c.snapshot,targetSnapshot:null,currentRouterState:c,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,En.p)(h=>0!==h.id),(0,Te.T)(h=>({...h,extractedUrl:this.urlHandlingStrategy.extract(h.rawUrl)})),_r(h=>{let m=!1,y=!1;return ge(h).pipe(_r(b=>{if(this.navigationId>h.id)return this.cancelNavigationTransition(h,"",Fn.SupersededByNewNavigation),hn.w;this.currentTransition=h,this.currentNavigation={id:b.id,initialUrl:b.rawUrl,extractedUrl:b.extractedUrl,targetBrowserUrl:"string"==typeof b.extras.browserUrl?this.urlSerializer.parse(b.extras.browserUrl):b.extras.browserUrl,trigger:b.source,extras:b.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const w=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!w&&"reload"!==(b.extras.onSameUrlNavigation??n.onSameUrlNavigation)){const N="";return this.events.next(new ol(b.id,this.urlSerializer.serialize(b.rawUrl),N,Lc.IgnoredSameUrlNavigation)),b.resolve(!1),hn.w}if(this.urlHandlingStrategy.shouldProcessUrl(b.rawUrl))return ge(b).pipe(_r(N=>{const q=this.transitions?.getValue();return this.events.next(new Nf(N.id,this.urlSerializer.serialize(N.extractedUrl),N.source,N.restoredState)),q!==this.transitions?.getValue()?hn.w:Promise.resolve(N)}),function lC(o,a,n,i,c,h){return Dt(m=>function gl(o,a,n,i,c,h,m="emptyOnly"){return new sC(o,a,n,i,c,m,h).recognize()}(o,a,n,i,m.extractedUrl,c,h).pipe((0,Te.T)(({state:y,tree:b})=>({...m,targetSnapshot:y,urlAfterRedirects:b}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),$t(N=>{h.targetSnapshot=N.targetSnapshot,h.urlAfterRedirects=N.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:N.urlAfterRedirects};const q=new pn(N.id,this.urlSerializer.serialize(N.extractedUrl),this.urlSerializer.serialize(N.urlAfterRedirects),N.targetSnapshot);this.events.next(q)}));if(w&&this.urlHandlingStrategy.shouldProcessUrl(b.currentRawUrl)){const{id:N,extractedUrl:q,source:z,restoredState:Z,extras:re}=b,De=new Nf(N,this.urlSerializer.serialize(q),z,Z);this.events.next(De);const Re=gm(this.rootComponentType).snapshot;return this.currentTransition=h={...b,targetSnapshot:Re,urlAfterRedirects:q,extras:{...re,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=q,ge(h)}{const N="";return this.events.next(new ol(b.id,this.urlSerializer.serialize(b.extractedUrl),N,Lc.IgnoredByUrlHandlingStrategy)),b.resolve(!1),hn.w}}),$t(b=>{const w=new kf(b.id,this.urlSerializer.serialize(b.extractedUrl),this.urlSerializer.serialize(b.urlAfterRedirects),b.targetSnapshot);this.events.next(w)}),(0,Te.T)(b=>(this.currentTransition=h={...b,guards:ul(b.targetSnapshot,b.currentSnapshot,this.rootContexts)},h)),function As(o,a){return Dt(n=>{const{targetSnapshot:i,currentSnapshot:c,guards:{canActivateChecks:h,canDeactivateChecks:m}}=n;return 0===m.length&&0===h.length?ge({...n,guardsResult:!0}):function Kf(o,a,n,i){return ut(o).pipe(Dt(c=>function nC(o,a,n,i,c){const h=a&&a.routeConfig?a.routeConfig.canDeactivate:null;return h&&0!==h.length?ge(h.map(y=>{const b=Ts(a)??c,w=No(y,b);return so(function Cm(o){return o&&Vr(o.canDeactivate)}(w)?w.canDeactivate(o,a,n,i):(0,u.N4e)(b,()=>w(o,a,n,i))).pipe((0,Fr.$)())})).pipe(pt()):ge(!0)}(c.component,c.route,n,a,i)),(0,Fr.$)(c=>!0!==c,!0))}(m,i,c,o).pipe(Dt(y=>y&&function vm(o){return"boolean"==typeof o}(y)?function wm(o,a,n,i){return ut(a).pipe(Pr(c=>Rc(function Im(o,a){return null!==o&&a&&a(new Ms(o)),ge(!0)}(c.route.parent,i),function Em(o,a){return null!==o&&a&&a(new lm(o)),ge(!0)}(c.route,i),function fl(o,a,n){const i=a[a.length-1],h=a.slice(0,a.length-1).reverse().map(m=>function zf(o){const a=o.routeConfig?o.routeConfig.canActivateChild:null;return a&&0!==a.length?{node:o,guards:a}:null}(m)).filter(m=>null!==m).map(m=>Ka(()=>ge(m.guards.map(b=>{const w=Ts(m.node)??n,x=No(b,w);return so(function qf(o){return o&&Vr(o.canActivateChild)}(x)?x.canActivateChild(i,o):(0,u.N4e)(w,()=>x(i,o))).pipe((0,Fr.$)())})).pipe(pt())));return ge(h).pipe(pt())}(o,c.path,n),function tC(o,a,n){const i=a.routeConfig?a.routeConfig.canActivate:null;if(!i||0===i.length)return ge(!0);const c=i.map(h=>Ka(()=>{const m=Ts(a)??n,y=No(h,m);return so(function bm(o){return o&&Vr(o.canActivate)}(y)?y.canActivate(a,o):(0,u.N4e)(m,()=>y(a,o))).pipe((0,Fr.$)())}));return ge(c).pipe(pt())}(o,c.route,n))),(0,Fr.$)(c=>!0!==c,!0))}(i,h,o,a):ge(y)),(0,Te.T)(y=>({...n,guardsResult:y})))})}(this.environmentInjector,b=>this.events.next(b)),$t(b=>{if(h.guardsResult=b.guardsResult,b.guardsResult&&"boolean"!=typeof b.guardsResult)throw xs(0,b.guardsResult);const w=new am(b.id,this.urlSerializer.serialize(b.extractedUrl),this.urlSerializer.serialize(b.urlAfterRedirects),b.targetSnapshot,!!b.guardsResult);this.events.next(w)}),(0,En.p)(b=>!!b.guardsResult||(this.cancelNavigationTransition(b,"",Fn.GuardRejected),!1)),ml(b=>{if(b.guards.canActivateChecks.length)return ge(b).pipe($t(w=>{const x=new Vc(w.id,this.urlSerializer.serialize(w.extractedUrl),this.urlSerializer.serialize(w.urlAfterRedirects),w.targetSnapshot);this.events.next(x)}),_r(w=>{let x=!1;return ge(w).pipe(function vI(o,a){return Dt(n=>{const{targetSnapshot:i,guards:{canActivateChecks:c}}=n;if(!c.length)return ge(n);const h=new Set(c.map(b=>b.route)),m=new Set;for(const b of h)if(!m.has(b))for(const w of Zf(b))m.add(w);let y=0;return ut(m).pipe(Pr(b=>h.has(b)?function cC(o,a,n,i){const c=o.routeConfig,h=o._resolve;return void 0!==c?.title&&!Hc(c)&&(h[Cs]=c.title),function ou(o,a,n,i){const c=bf(o);if(0===c.length)return ge({});const h={};return ut(c).pipe(Dt(m=>function Yf(o,a,n,i){const c=Ts(a)??i,h=No(o,c);return so(h.resolve?h.resolve(a,n):(0,u.N4e)(c,()=>h(a,n)))}(o[m],a,n,i).pipe((0,Fr.$)(),$t(y=>{if(y instanceof Gf)throw xs(new Ya,y);h[m]=y}))),wt(1),function _f(o){return(0,Te.T)(()=>o)}(h),fi(m=>Yc(m)?hn.w:Qa(m)))}(h,o,a,i).pipe((0,Te.T)(m=>(o._resolvedData=m,o.data=jc(o,o.parent,n).resolve,null)))}(b,i,o,a):(b.data=jc(b,b.parent,o).resolve,ge(void 0))),$t(()=>y++),wt(1),Dt(b=>y===m.size?ge(n):hn.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),$t({next:()=>x=!0,complete:()=>{x||this.cancelNavigationTransition(w,"",Fn.NoDataFromResolver)}}))}),$t(w=>{const x=new uI(w.id,this.urlSerializer.serialize(w.extractedUrl),this.urlSerializer.serialize(w.urlAfterRedirects),w.targetSnapshot);this.events.next(x)}))}),ml(b=>{const w=x=>{const N=[];x.routeConfig?.loadComponent&&!x.routeConfig._loadedComponent&&N.push(this.configLoader.loadComponent(x.routeConfig).pipe($t(q=>{x.component=q}),(0,Te.T)(()=>{})));for(const q of x.children)N.push(...w(q));return N};return ro(w(b.targetSnapshot.root)).pipe((0,xo.U)(null),(0,oo.s)(1))}),ml(()=>this.afterPreactivation()),_r(()=>{const{currentSnapshot:b,targetSnapshot:w}=h,x=this.createViewTransition?.(this.environmentInjector,b.root,w.root);return x?ut(x).pipe((0,Te.T)(()=>h)):ge(h)}),(0,Te.T)(b=>{const w=function Jb(o,a,n){const i=Gc(o,a._root,n?n._root:void 0);return new Bf(i,a)}(n.routeReuseStrategy,b.targetSnapshot,b.currentRouterState);return this.currentTransition=h={...b,targetRouterState:w},this.currentNavigation.targetRouterState=w,h}),$t(()=>{this.events.next(new Pf)}),((o,a,n,i)=>(0,Te.T)(c=>(new Ro(a,c.targetRouterState,c.currentRouterState,n,i).activate(o),c)))(this.rootContexts,n.routeReuseStrategy,b=>this.events.next(b),this.inputBindingEnabled),(0,oo.s)(1),$t({next:b=>{m=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new pi(b.id,this.urlSerializer.serialize(b.extractedUrl),this.urlSerializer.serialize(b.urlAfterRedirects))),this.titleStrategy?.updateTitle(b.targetRouterState.snapshot),b.resolve(!0)},complete:()=>{m=!0}}),tn(this.transitionAbortSubject.pipe($t(b=>{throw b}))),vf(()=>{!m&&!y&&this.cancelNavigationTransition(h,"",Fn.SupersededByNewNavigation),this.currentTransition?.id===h.id&&(this.currentNavigation=null,this.currentTransition=null)}),fi(b=>{if(y=!0,qc(b))this.events.next(new uo(h.id,this.urlSerializer.serialize(h.extractedUrl),b.message,b.cancellationCode)),function Wc(o){return qc(o)&&hi(o.url)}(b)?this.events.next(new il(b.url,b.navigationBehaviorOptions)):h.resolve(!1);else{const w=new Of(h.id,this.urlSerializer.serialize(h.extractedUrl),b,h.targetSnapshot??void 0);try{const x=(0,u.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(w));if(!(x instanceof Gf))throw this.events.next(w),b;{const{message:N,cancellationCode:q}=xs(0,x);this.events.next(new uo(h.id,this.urlSerializer.serialize(h.extractedUrl),N,q)),this.events.next(new il(x.redirectTo,x.navigationBehaviorOptions))}}catch(x){this.options.resolveNavigationPromiseOnError?h.resolve(!1):h.reject(x)}}return hn.w}))}))}cancelNavigationTransition(n,i,c){const h=new uo(n.id,this.urlSerializer.serialize(n.extractedUrl),i,c);this.events.next(h),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(i){return new(i||o)};static \u0275prov=u.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function Pm(o){return o!==Is}let fC=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275prov=u.jDH({token:o,factory:()=>(0,u.WQX)(Fo),providedIn:"root"})}return o})();class Lm{shouldDetach(a){return!1}store(a,n){}shouldAttach(a){return!1}retrieve(a){return null}shouldReuseRoute(a,n){return a.routeConfig===n.routeConfig}}let Fo=(()=>{class o extends Lm{static \u0275fac=(()=>{let n;return function(c){return(n||(n=u.xGo(o)))(c||o)}})();static \u0275prov=u.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),Vm=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275prov=u.jDH({token:o,factory:()=>(0,u.WQX)(yI),providedIn:"root"})}return o})(),yI=(()=>{class o extends Vm{location=(0,u.WQX)(Rt);urlSerializer=(0,u.WQX)(Za);options=(0,u.WQX)(ko,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=(0,u.WQX)(th);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Ao;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}routerState=gm(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(i=>{"popstate"===i.type&&n(i.url,i.state)})}handleRouterEvent(n,i){if(n instanceof Nf)this.stateMemento=this.createStateMemento();else if(n instanceof ol)this.rawUrlTree=i.initialUrl;else if(n instanceof pn){if("eager"===this.urlUpdateStrategy&&!i.extras.skipLocationChange){const c=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(i.targetBrowserUrl??c,i)}}else n instanceof Pf?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,"deferred"===this.urlUpdateStrategy&&!i.extras.skipLocationChange&&this.setBrowserUrl(i.targetBrowserUrl??this.rawUrlTree,i)):n instanceof uo&&(n.code===Fn.GuardRejected||n.code===Fn.NoDataFromResolver)?this.restoreHistory(i):n instanceof Of?this.restoreHistory(i,!0):n instanceof pi&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){const c=n instanceof Ao?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(c)||i.extras.replaceUrl){const m={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId)};this.location.replaceState(c,"",m)}else{const h={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId+1)};this.location.go(c,"",h)}}restoreHistory(n,i=!1){if("computed"===this.canceledNavigationResolution){const h=this.currentPageId-this.browserPageId;0!==h?this.location.historyGo(h):this.currentUrlTree===n.finalUrl&&0===h&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,i){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:i}:{navigationId:n}}static \u0275fac=(()=>{let n;return function(c){return(n||(n=u.xGo(o)))(c||o)}})();static \u0275prov=u.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var Di=function(o){return o[o.COMPLETE=0]="COMPLETE",o[o.FAILED=1]="FAILED",o[o.REDIRECTING=2]="REDIRECTING",o}(Di||{});const vl={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},pC={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ho=(()=>{class o{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=(0,u.WQX)(u.H3F);stateManager=(0,u.WQX)(Vm);options=(0,u.WQX)(ko,{optional:!0})||{};pendingTasks=(0,u.WQX)(u.TgB);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=(0,u.WQX)(rh);urlSerializer=(0,u.WQX)(Za);location=(0,u.WQX)(Rt);urlHandlingStrategy=(0,u.WQX)(th);_events=new L.B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=(0,u.WQX)(fC);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=(0,u.WQX)(Os,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!(0,u.WQX)($c,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}eventsSubscription=new wn.yU;subscribeToNavigationEvents(){const n=this.navigationTransitions.events.subscribe(i=>{try{const c=this.navigationTransitions.currentTransition,h=this.navigationTransitions.currentNavigation;if(null!==c&&null!==h)if(this.stateManager.handleRouterEvent(i,h),i instanceof uo&&i.code!==Fn.Redirect&&i.code!==Fn.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof pi)this.navigated=!0;else if(i instanceof il){const m=i.navigationBehaviorOptions,y=this.urlHandlingStrategy.merge(i.url,c.currentRawUrl),b={browserUrl:c.extras.browserUrl,info:c.extras.info,skipLocationChange:c.extras.skipLocationChange,replaceUrl:c.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Pm(c.source),...m};this.scheduleNavigation(y,Is,null,b,{resolve:c.resolve,reject:c.reject,promise:c.promise})}(function mC(o){return!(o instanceof Pf||o instanceof il)})(i)&&this._events.next(i)}catch(c){this.navigationTransitions.transitionAbortSubject.next(c)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Is,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",i)},0)})}navigateToSyncWithBrowser(n,i,c){const h={replaceUrl:!0},m=c?.navigationId?c:null;if(c){const b={...c};delete b.navigationId,delete b.\u0275routerPageId,0!==Object.keys(b).length&&(h.state=b)}const y=this.parseUrl(n);this.scheduleNavigation(y,i,m,h)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(_l),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,i={}){const{relativeTo:c,queryParams:h,fragment:m,queryParamsHandling:y,preserveFragment:b}=i,w=b?this.currentUrlTree.fragment:m;let N,x=null;switch(y??this.options.defaultQueryParamsHandling){case"merge":x={...this.currentUrlTree.queryParams,...h};break;case"preserve":x=this.currentUrlTree.queryParams;break;default:x=h||null}null!==x&&(x=this.removeEmptyProps(x));try{N=nm(c?c.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof n[0]||"/"!==n[0][0])&&(n=[]),N=this.currentUrlTree.root}return xf(N,n,x,w??null)}navigateByUrl(n,i={skipLocationChange:!1}){const c=hi(n)?n:this.parseUrl(n),h=this.urlHandlingStrategy.merge(c,this.rawUrlTree);return this.scheduleNavigation(h,Is,null,i)}navigate(n,i={skipLocationChange:!1}){return function gC(o){for(let a=0;a(null!=h&&(i[c]=h),i),{})}scheduleNavigation(n,i,c,h,m){if(this.disposed)return Promise.resolve(!1);let y,b,w;m?(y=m.resolve,b=m.reject,w=m.promise):w=new Promise((N,q)=>{y=N,b=q});const x=this.pendingTasks.add();return function hC(o,a){o.events.pipe((0,En.p)(n=>n instanceof pi||n instanceof uo||n instanceof Of||n instanceof ol),(0,Te.T)(n=>n instanceof pi||n instanceof ol?Di.COMPLETE:n instanceof uo&&(n.code===Fn.Redirect||n.code===Fn.SupersededByNewNavigation)?Di.REDIRECTING:Di.FAILED),(0,En.p)(n=>n!==Di.REDIRECTING),(0,oo.s)(1)).subscribe(()=>{a()})}(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(x))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:c,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:h,resolve:y,reject:b,promise:w,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),w.catch(N=>Promise.reject(N))}static \u0275fac=function(i){return new(i||o)};static \u0275prov=u.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();const sh=new u.nKC("");function Ps(o){return o.routerState.root}function CC(){const o=(0,u.WQX)(u.zZn);return a=>{const n=o.get(u.o8S);if(a!==n.components[0])return;const i=o.get(ho),c=o.get(ah);1===o.get(lh)&&i.initialNavigation(),o.get(Po,null,u.$GK.Optional)?.setUpPreloading(),o.get(sh,null,u.$GK.Optional)?.init(),i.resetRootComponentType(n.componentTypes[0]),c.closed||(c.next(),c.complete(),c.unsubscribe())}}const ah=new u.nKC("",{factory:()=>new L.B}),lh=new u.nKC("",{providedIn:"root",factory:()=>1}),Po=new u.nKC("");let Ei=(()=>{class o{doc;delegate;zone;animationType;moduleImpl;_rendererFactoryPromise=null;scheduler=(0,u.WQX)(u.An2,{optional:!0});loadingSchedulerFn=(0,u.WQX)(MC,{optional:!0});_engine;constructor(n,i,c,h,m){this.doc=n,this.delegate=i,this.zone=c,this.animationType=h,this.moduleImpl=m}ngOnDestroy(){this._engine?.flush()}loadImpl(){const n=()=>this.moduleImpl??M.e(8).then(M.bind(M,8)).then(c=>c);let i;return i=this.loadingSchedulerFn?this.loadingSchedulerFn(n):n(),i.catch(c=>{throw new u.wOt(5300,!1)}).then(({\u0275createEngine:c,\u0275AnimationRendererFactory:h})=>{this._engine=c(this.animationType,this.doc);const m=new h(this.delegate,this._engine,this.zone);return this.delegate=m,m})}createRenderer(n,i){const c=this.delegate.createRenderer(n,i);if(0===c.\u0275type)return c;"boolean"==typeof c.throwOnSyntheticProps&&(c.throwOnSyntheticProps=!1);const h=new IC(c);return i?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(m=>{const y=m.createRenderer(n,i);h.use(y),this.scheduler?.notify(11)}).catch(m=>{h.use(c)}),h}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}static \u0275fac=function(i){u.QTQ()};static \u0275prov=u.jDH({token:o,factory:o.\u0275fac})}return o})();class IC{delegate;replay=[];\u0275type=1;constructor(a){this.delegate=a}use(a){if(this.delegate=a,null!==this.replay){for(const n of this.replay)n(a);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(a,n){return this.delegate.createElement(a,n)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}get destroyNode(){return this.delegate.destroyNode}appendChild(a,n){this.delegate.appendChild(a,n)}insertBefore(a,n,i,c){this.delegate.insertBefore(a,n,i,c)}removeChild(a,n,i){this.delegate.removeChild(a,n,i)}selectRootElement(a,n){return this.delegate.selectRootElement(a,n)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,n,i,c){this.delegate.setAttribute(a,n,i,c)}removeAttribute(a,n,i){this.delegate.removeAttribute(a,n,i)}addClass(a,n){this.delegate.addClass(a,n)}removeClass(a,n){this.delegate.removeClass(a,n)}setStyle(a,n,i,c){this.delegate.setStyle(a,n,i,c)}removeStyle(a,n,i){this.delegate.removeStyle(a,n,i)}setProperty(a,n,i){this.shouldReplay(n)&&this.replay.push(c=>c.setProperty(a,n,i)),this.delegate.setProperty(a,n,i)}setValue(a,n){this.delegate.setValue(a,n)}listen(a,n,i){return this.shouldReplay(n)&&this.replay.push(c=>c.listen(a,n,i)),this.delegate.listen(a,n,i)}shouldReplay(a){return null!==this.replay&&a.startsWith("@")}}const MC=new u.nKC(""),SC={providers:[(0,u.Jn2)({eventCoalescing:!0}),function bI(o,...a){return(0,u.EmA)([{provide:Os,multi:!0,useValue:o},[],{provide:ll,useFactory:Ps,deps:[ho]},{provide:u.iLQ,multi:!0,useFactory:CC},a.map(n=>n.\u0275providers)])}([]),function TC(o="animations"){return(0,u.ngT)("NgAsyncAnimations"),(0,u.EmA)([{provide:u._9s,useFactory:(a,n,i)=>new Ei(a,n,i,o),deps:[j,La,u.SKi]},{provide:u.bc$,useValue:"noop"===o?"NoopAnimations":"BrowserAnimations"}])}()]};let jr=(()=>{class o{_renderer;_elementRef;onChange=n=>{};onTouched=()=>{};constructor(n,i){this._renderer=n,this._elementRef=i}setProperty(n,i){this._renderer.setProperty(this._elementRef.nativeElement,n,i)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static \u0275fac=function(i){return new(i||o)(u.rXU(u.sFG),u.rXU(u.aKT))};static \u0275dir=u.FsC({type:o})}return o})(),er=(()=>{class o extends jr{static \u0275fac=(()=>{let n;return function(c){return(n||(n=u.xGo(o)))(c||o)}})();static \u0275dir=u.FsC({type:o,features:[u.Vt3]})}return o})();const br=new u.nKC(""),RC={provide:br,useExisting:(0,u.Rfq)(()=>cu),multi:!0},OC=new u.nKC("");let cu=(()=>{class o extends jr{_compositionMode;_composing=!1;constructor(n,i,c){super(n,i),this._compositionMode=c,null==this._compositionMode&&(this._compositionMode=!function NC(){const o=H()?H().getUserAgent():"";return/android (\d+)/.test(o.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static \u0275fac=function(i){return new(i||o)(u.rXU(u.sFG),u.rXU(u.aKT),u.rXU(OC,8))};static \u0275dir=u.FsC({type:o,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(i,c){1&i&&u.bIt("input",function(m){return c._handleInput(m.target.value)})("blur",function(){return c.onTouched()})("compositionstart",function(){return c._compositionStart()})("compositionend",function(m){return c._compositionEnd(m.target.value)})},standalone:!1,features:[u.Jv_([RC]),u.Vt3]})}return o})();const on=new u.nKC(""),Vo=new u.nKC("");function LC(o){return null!=o}function VC(o){return(0,u.jNT)(o)?ut(o):o}function ph(o){let a={};return o.forEach(n=>{a=null!=n?{...a,...n}:a}),0===Object.keys(a).length?null:a}function Xm(o,a){return a.map(n=>n(o))}function Zm(o){return o.map(a=>function BC(o){return!o.validate}(a)?a:n=>a.validate(n))}function gh(o){return null!=o?function Ym(o){if(!o)return null;const a=o.filter(LC);return 0==a.length?null:function(n){return ph(Xm(n,a))}}(Zm(o)):null}function fu(o){return null!=o?function mh(o){if(!o)return null;const a=o.filter(LC);return 0==a.length?null:function(n){return function xC(...o){const a=Sc(o),{args:n,keys:i}=df(o),c=new at.c(h=>{const{length:m}=n;if(!m)return void h.complete();const y=new Array(m);let b=m,w=m;for(let x=0;x{N||(N=!0,w--),y[x]=q},()=>b--,void 0,()=>{(!b||!N)&&(w||h.next(i?Ug(i,y):y),h.complete())}))}});return a?c.pipe(di(a)):c}(Xm(n,a).map(VC)).pipe((0,Te.T)(ph))}}(Zm(o)):null}function Jm(o,a){return null===o?[a]:Array.isArray(o)?[...o,a]:[o,a]}function e_(o){return o._rawValidators}function _h(o){return o._rawAsyncValidators}function Bs(o){return o?Array.isArray(o)?o:[o]:[]}function Dl(o,a){return Array.isArray(o)?o.includes(a):o===a}function hu(o,a){const n=Bs(a);return Bs(o).forEach(c=>{Dl(n,c)||n.push(c)}),n}function t_(o,a){return Bs(a).filter(n=>!Dl(o,n))}class jo{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}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(a){this._rawValidators=a||[],this._composedValidatorFn=gh(this._rawValidators)}_setAsyncValidators(a){this._rawAsyncValidators=a||[],this._composedAsyncValidatorFn=fu(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(a){this._onDestroyCallbacks.push(a)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(a=>a()),this._onDestroyCallbacks=[]}reset(a=void 0){this.control&&this.control.reset(a)}hasError(a,n){return!!this.control&&this.control.hasError(a,n)}getError(a,n){return this.control?this.control.getError(a,n):null}}class sn extends jo{name;get formDirective(){return null}get path(){return null}}class Uo extends jo{_parent=null;name=null;valueAccessor=null}class vh{_cd;constructor(a){this._cd=a}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let Ii=(()=>{class o extends vh{constructor(n){super(n)}static \u0275fac=function(i){return new(i||o)(u.rXU(Uo,2))};static \u0275dir=u.FsC({type:o,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,c){2&i&&u.AVh("ng-untouched",c.isUntouched)("ng-touched",c.isTouched)("ng-pristine",c.isPristine)("ng-dirty",c.isDirty)("ng-valid",c.isValid)("ng-invalid",c.isInvalid)("ng-pending",c.isPending)},standalone:!1,features:[u.Vt3]})}return o})();const Mi="VALID",bh="INVALID",Il="PENDING",pu="DISABLED";class Ml{}class GC extends Ml{value;source;constructor(a,n){super(),this.value=a,this.source=n}}class Ch extends Ml{pristine;source;constructor(a,n){super(),this.pristine=a,this.source=n}}class js extends Ml{touched;source;constructor(a,n){super(),this.touched=a,this.source=n}}class Ti extends Ml{status;source;constructor(a,n){super(),this.status=a,this.source=n}}function po(o){return null!=o&&!Array.isArray(o)&&"object"==typeof o}class c_{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(a,n){this._assignValidators(a),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(a){this._rawValidators=this._composedValidatorFn=a}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(a){this._rawAsyncValidators=this._composedAsyncValidatorFn=a}get parent(){return this._parent}get status(){return(0,u.O8t)(this.statusReactive)}set status(a){(0,u.O8t)(()=>this.statusReactive.set(a))}_status=(0,u.EWP)(()=>this.statusReactive());statusReactive=(0,u.vPA)(void 0);get valid(){return this.status===Mi}get invalid(){return this.status===bh}get pending(){return this.status==Il}get disabled(){return this.status===pu}get enabled(){return this.status!==pu}errors;get pristine(){return(0,u.O8t)(this.pristineReactive)}set pristine(a){(0,u.O8t)(()=>this.pristineReactive.set(a))}_pristine=(0,u.EWP)(()=>this.pristineReactive());pristineReactive=(0,u.vPA)(!0);get dirty(){return!this.pristine}get touched(){return(0,u.O8t)(this.touchedReactive)}set touched(a){(0,u.O8t)(()=>this.touchedReactive.set(a))}_touched=(0,u.EWP)(()=>this.touchedReactive());touchedReactive=(0,u.vPA)(!1);get untouched(){return!this.touched}_events=new L.B;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(a){this._assignValidators(a)}setAsyncValidators(a){this._assignAsyncValidators(a)}addValidators(a){this.setValidators(hu(a,this._rawValidators))}addAsyncValidators(a){this.setAsyncValidators(hu(a,this._rawAsyncValidators))}removeValidators(a){this.setValidators(t_(a,this._rawValidators))}removeAsyncValidators(a){this.setAsyncValidators(t_(a,this._rawAsyncValidators))}hasValidator(a){return Dl(this._rawValidators,a)}hasAsyncValidator(a){return Dl(this._rawAsyncValidators,a)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(a={}){const n=!1===this.touched;this.touched=!0;const i=a.sourceControl??this;this._parent&&!a.onlySelf&&this._parent.markAsTouched({...a,sourceControl:i}),n&&!1!==a.emitEvent&&this._events.next(new js(!0,i))}markAllAsTouched(a={}){this.markAsTouched({onlySelf:!0,emitEvent:a.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(a))}markAsUntouched(a={}){const n=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const i=a.sourceControl??this;this._forEachChild(c=>{c.markAsUntouched({onlySelf:!0,emitEvent:a.emitEvent,sourceControl:i})}),this._parent&&!a.onlySelf&&this._parent._updateTouched(a,i),n&&!1!==a.emitEvent&&this._events.next(new js(!1,i))}markAsDirty(a={}){const n=!0===this.pristine;this.pristine=!1;const i=a.sourceControl??this;this._parent&&!a.onlySelf&&this._parent.markAsDirty({...a,sourceControl:i}),n&&!1!==a.emitEvent&&this._events.next(new Ch(!1,i))}markAsPristine(a={}){const n=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const i=a.sourceControl??this;this._forEachChild(c=>{c.markAsPristine({onlySelf:!0,emitEvent:a.emitEvent})}),this._parent&&!a.onlySelf&&this._parent._updatePristine(a,i),n&&!1!==a.emitEvent&&this._events.next(new Ch(!0,i))}markAsPending(a={}){this.status=Il;const n=a.sourceControl??this;!1!==a.emitEvent&&(this._events.next(new Ti(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!a.onlySelf&&this._parent.markAsPending({...a,sourceControl:n})}disable(a={}){const n=this._parentMarkedDirty(a.onlySelf);this.status=pu,this.errors=null,this._forEachChild(c=>{c.disable({...a,onlySelf:!0})}),this._updateValue();const i=a.sourceControl??this;!1!==a.emitEvent&&(this._events.next(new GC(this.value,i)),this._events.next(new Ti(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...a,skipPristineCheck:n},this),this._onDisabledChange.forEach(c=>c(!0))}enable(a={}){const n=this._parentMarkedDirty(a.onlySelf);this.status=Mi,this._forEachChild(i=>{i.enable({...a,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:a.emitEvent}),this._updateAncestors({...a,skipPristineCheck:n},this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(a,n){this._parent&&!a.onlySelf&&(this._parent.updateValueAndValidity(a),a.skipPristineCheck||this._parent._updatePristine({},n),this._parent._updateTouched({},n))}setParent(a){this._parent=a}getRawValue(){return this.value}updateValueAndValidity(a={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Mi||this.status===Il)&&this._runAsyncValidator(i,a.emitEvent)}const n=a.sourceControl??this;!1!==a.emitEvent&&(this._events.next(new GC(this.value,n)),this._events.next(new Ti(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!a.onlySelf&&this._parent.updateValueAndValidity({...a,sourceControl:n})}_updateTreeValidity(a={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(a)),this.updateValueAndValidity({onlySelf:!0,emitEvent:a.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?pu:Mi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(a,n){if(this.asyncValidator){this.status=Il,this._hasOwnPendingAsyncValidator={emitEvent:!1!==n};const i=VC(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(c=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(c,{emitEvent:n,shouldHaveEmitted:a})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const a=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,a}return!1}setErrors(a,n={}){this.errors=a,this._updateControlsErrors(!1!==n.emitEvent,this,n.shouldHaveEmitted)}get(a){let n=a;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((i,c)=>i&&i._find(c),this)}getError(a,n){const i=n?this.get(n):this;return i&&i.errors?i.errors[a]:null}hasError(a,n){return!!this.getError(a,n)}get root(){let a=this;for(;a._parent;)a=a._parent;return a}_updateControlsErrors(a,n,i){this.status=this._calculateStatus(),a&&this.statusChanges.emit(this.status),(a||i)&&this._events.next(new Ti(this.status,n)),this._parent&&this._parent._updateControlsErrors(a,n,i)}_initObservables(){this.valueChanges=new u.bkB,this.statusChanges=new u.bkB}_calculateStatus(){return this._allControlsDisabled()?pu:this.errors?bh:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Il)?Il:this._anyControlsHaveStatus(bh)?bh:Mi}_anyControlsHaveStatus(a){return this._anyControls(n=>n.status===a)}_anyControlsDirty(){return this._anyControls(a=>a.dirty)}_anyControlsTouched(){return this._anyControls(a=>a.touched)}_updatePristine(a,n){const i=!this._anyControlsDirty(),c=this.pristine!==i;this.pristine=i,this._parent&&!a.onlySelf&&this._parent._updatePristine(a,n),c&&this._events.next(new Ch(this.pristine,n))}_updateTouched(a={},n){this.touched=this._anyControlsTouched(),this._events.next(new js(this.touched,n)),this._parent&&!a.onlySelf&&this._parent._updateTouched(a,n)}_onDisabledChange=[];_registerOnCollectionChange(a){this._onCollectionChange=a}_setUpdateStrategy(a){po(a)&&null!=a.updateOn&&(this._updateOn=a.updateOn)}_parentMarkedDirty(a){return!a&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(a){return null}_assignValidators(a){this._rawValidators=Array.isArray(a)?a.slice():a,this._composedValidatorFn=function zC(o){return Array.isArray(o)?gh(o):o||null}(this._rawValidators)}_assignAsyncValidators(a){this._rawAsyncValidators=Array.isArray(a)?a.slice():a,this._composedAsyncValidatorFn=function l_(o){return Array.isArray(o)?fu(o):o||null}(this._rawAsyncValidators)}}const Mn=new u.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>Ho}),Ho="always";function Si(o,a,n=Ho){(function vu(o,a){const n=e_(o);null!==a.validator?o.setValidators(Jm(n,a.validator)):"function"==typeof n&&o.setValidators([n]);const i=_h(o);null!==a.asyncValidator?o.setAsyncValidators(Jm(i,a.asyncValidator)):"function"==typeof i&&o.setAsyncValidators([i]);const c=()=>o.updateValueAndValidity();go(a._rawValidators,c),go(a._rawAsyncValidators,c)})(o,a),a.valueAccessor.writeValue(o.value),(o.disabled||"always"===n)&&a.valueAccessor.setDisabledState?.(o.disabled),function yu(o,a){a.valueAccessor.registerOnChange(n=>{o._pendingValue=n,o._pendingChange=!0,o._pendingDirty=!0,"change"===o.updateOn&&f_(o,a)})}(o,a),function h_(o,a){const n=(i,c)=>{a.valueAccessor.writeValue(i),c&&a.viewToModelUpdate(i)};o.registerOnChange(n),a._registerOnDestroy(()=>{o._unregisterOnChange(n)})}(o,a),function d_(o,a){a.valueAccessor.registerOnTouched(()=>{o._pendingTouched=!0,"blur"===o.updateOn&&o._pendingChange&&f_(o,a),"submit"!==o.updateOn&&o.markAsTouched()})}(o,a),function Eh(o,a){if(a.valueAccessor.setDisabledState){const n=i=>{a.valueAccessor.setDisabledState(i)};o.registerOnDisabledChange(n),a._registerOnDestroy(()=>{o._unregisterOnDisabledChange(n)})}}(o,a)}function _u(o,a,n=!0){const i=()=>{};a.valueAccessor&&(a.valueAccessor.registerOnChange(i),a.valueAccessor.registerOnTouched(i)),function Hs(o,a){let n=!1;if(null!==o){if(null!==a.validator){const c=e_(o);if(Array.isArray(c)&&c.length>0){const h=c.filter(m=>m!==a.validator);h.length!==c.length&&(n=!0,o.setValidators(h))}}if(null!==a.asyncValidator){const c=_h(o);if(Array.isArray(c)&&c.length>0){const h=c.filter(m=>m!==a.asyncValidator);h.length!==c.length&&(n=!0,o.setAsyncValidators(h))}}}const i=()=>{};return go(a._rawValidators,i),go(a._rawAsyncValidators,i),n}(o,a),o&&(a._invokeOnDestroyCallbacks(),o._registerOnCollectionChange(()=>{}))}function go(o,a){o.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(a)})}function f_(o,a){o._pendingDirty&&o.markAsDirty(),o.setValue(o._pendingValue,{emitModelToViewChange:!1}),a.viewToModelUpdate(o._pendingValue),o._pendingChange=!1}function Mh(o,a){if(!o.hasOwnProperty("model"))return!1;const n=o.model;return!!n.isFirstChange()||!Object.is(a,n.currentValue)}function Du(o,a){if(!a)return null;let n,i,c;return Array.isArray(a),a.forEach(h=>{h.constructor===cu?n=h:function QC(o){return Object.getPrototypeOf(o.constructor)===er}(h)?i=h:c=h}),c||i||n||null}function Sh(o,a){const n=o.indexOf(a);n>-1&&o.splice(n,1)}function xh(o){return"object"==typeof o&&null!==o&&2===Object.keys(o).length&&"value"in o&&"disabled"in o}Promise.resolve();const wu=class extends c_{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(a=null,n,i){super(function gu(o){return(po(o)?o.validators:o)||null}(n),function mu(o,a){return(po(a)?a.asyncValidators:o)||null}(i,n)),this._applyFormState(a),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),po(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=xh(a)?a.value:a)}setValue(a,n={}){this.value=this._pendingValue=a,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(a,n={}){this.setValue(a,n)}reset(a=this.defaultValue,n={}){this._applyFormState(a),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(a){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(a){this._onChange.push(a)}_unregisterOnChange(a){Sh(this._onChange,a)}registerOnDisabledChange(a){this._onDisabledChange.push(a)}_unregisterOnDisabledChange(a){Sh(this._onDisabledChange,a)}_forEachChild(a){}_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(a){xh(a)?(this.value=this._pendingValue=a.value,a.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=a}},Tl=wu,Mu={provide:Uo,useExisting:(0,u.Rfq)(()=>Ni)},b_=Promise.resolve();let Ni=(()=>{class o extends Uo{_changeDetectorRef;callSetDisabledState;control=new wu;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new u.bkB;constructor(n,i,c,h,m,y){super(),this._changeDetectorRef=m,this.callSetDisabledState=y,this._parent=n,this._setValidators(i),this._setAsyncValidators(c),this.valueAccessor=Du(0,h)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const i=n.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),Mh(n,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(n){this.viewModel=n,this.update.emit(n)}_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(){Si(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){b_.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const i=n.isDisabled.currentValue,c=0!==i&&(0,u.L39)(i);b_.then(()=>{c&&!this.control.disabled?this.control.disable():!c&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function Us(o,a){return[...a.path,o]}(n,this._parent):[n]}static \u0275fac=function(i){return new(i||o)(u.rXU(sn,9),u.rXU(on,10),u.rXU(Vo,10),u.rXU(br,10),u.rXU(u.gRc,8),u.rXU(Mn,8))};static \u0275dir=u.FsC({type:o,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[u.Jv_([Mu]),u.Vt3,u.OA$]})}return o})();const Rh=new u.nKC(""),rD={provide:Uo,useExisting:(0,u.Rfq)(()=>Tn)};let Tn=(()=>{class o extends Uo{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(n){}model;update=new u.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(n,i,c,h,m){super(),this._ngModelWarningConfig=h,this.callSetDisabledState=m,this._setValidators(n),this._setAsyncValidators(i),this.valueAccessor=Du(0,c)}ngOnChanges(n){if(this._isControlChanged(n)){const i=n.form.previousValue;i&&_u(i,this,!1),Si(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Mh(n,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&_u(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_isControlChanged(n){return n.hasOwnProperty("form")}static \u0275fac=function(i){return new(i||o)(u.rXU(on,10),u.rXU(Vo,10),u.rXU(br,10),u.rXU(Rh,8),u.rXU(Mn,8))};static \u0275dir=u.FsC({type:o,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[u.Jv_([rD]),u.Vt3,u.OA$]})}return o})(),gD=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=u.$C({type:o});static \u0275inj=u.G2t({})}return o})(),Ws=(()=>{class o{static withConfig(n){return{ngModule:o,providers:[{provide:Mn,useValue:n.callSetDisabledState??Ho}]}}static \u0275fac=function(i){return new(i||o)};static \u0275mod=u.$C({type:o});static \u0275inj=u.G2t({imports:[gD]})}return o})(),A_=(()=>{class o{static withConfig(n){return{ngModule:o,providers:[{provide:Rh,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:Mn,useValue:n.callSetDisabledState??Ho}]}}static \u0275fac=function(i){return new(i||o)};static \u0275mod=u.$C({type:o});static \u0275inj=u.G2t({imports:[gD]})}return o})();function Ou(...o){const a=za(o),n=function Rb(o,a){return"number"==typeof Ga(o)?o.pop():a}(o,1/0),i=o;return i.length?1===i.length?Ge(i[0]):Ac(n)(ut(i,a)):hn.w}function R_(o,a=Xn.D){return o=o??vD,(0,mt.N)((n,i)=>{let c,h=!0;n.subscribe((0,rt._)(i,m=>{const y=a(m);(h||!o(c,y))&&(h=!1,c=y,i.next(m))}))})}function vD(o,a){return o===a}var ku=M(707);function N_(o={}){const{connector:a=()=>new L.B,resetOnError:n=!0,resetOnComplete:i=!0,resetOnRefCountZero:c=!0}=o;return h=>{let m,y,b,w=0,x=!1,N=!1;const q=()=>{y?.unsubscribe(),y=void 0},z=()=>{q(),m=b=void 0,x=N=!1},Z=()=>{const re=m;z(),re?.unsubscribe()};return(0,mt.N)((re,De)=>{w++,!N&&!x&&q();const Re=b=b??a();De.add(()=>{w--,0===w&&!N&&!x&&(y=tr(Z,c))}),Re.subscribe(De),!m&&w>0&&(m=new ku.Ms({next:xt=>Re.next(xt),error:xt=>{N=!0,q(),y=tr(z,n,xt),Re.error(xt)},complete:()=>{x=!0,q(),y=tr(z,i),Re.complete()}}),Ge(re).subscribe(m))})(h)}}function tr(o,a,...n){if(!0===a)return void o();if(!1===a)return;const i=new ku.Ms({next:()=>{i.unsubscribe(),o()}});return Ge(a(...n)).subscribe(i)}const yD=(o,a)=>(o.push(a),o);function O_(){return(0,mt.N)((o,a)=>{(function Gh(o,a){return(0,mt.N)(mf(o,a,arguments.length>=2,!1,!0))})(yD,[])(o).subscribe(a)})}class k_ extends wn.yU{constructor(a,n){super()}schedule(a,n=0){return this}}const xl={setInterval(o,a,...n){const{delegate:i}=xl;return i?.setInterval?i.setInterval(o,a,...n):setInterval(o,a,...n)},clearInterval(o){const{delegate:a}=xl;return(a?.clearInterval||clearInterval)(o)},delegate:void 0};var Fu=M(908);class Al extends k_{constructor(a,n){super(a,n),this.scheduler=a,this.work=n,this.pending=!1}schedule(a,n=0){var i;if(this.closed)return this;this.state=a;const c=this.id,h=this.scheduler;return null!=c&&(this.id=this.recycleAsyncId(h,c,n)),this.pending=!0,this.delay=n,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(h,this.id,n),this}requestAsyncId(a,n,i=0){return xl.setInterval(a.flush.bind(a,this),i)}recycleAsyncId(a,n,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return n;null!=n&&xl.clearInterval(n)}execute(a,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(a,n);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(a,n){let c,i=!1;try{this.work(a)}catch(h){i=!0,c=h||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),c}unsubscribe(){if(!this.closed){const{id:a,scheduler:n}=this,{actions:i}=n;this.work=this.state=this.scheduler=null,this.pending=!1,(0,Fu.o)(i,this),null!=a&&(this.id=this.recycleAsyncId(n,a,null)),this.delay=null,super.unsubscribe()}}}const F_={now:()=>(F_.delegate||Date).now(),delegate:void 0};class qs{constructor(a,n=qs.now){this.schedulerActionCtor=a,this.now=n}schedule(a,n=0,i){return new this.schedulerActionCtor(this,a).schedule(i,n)}}qs.now=F_.now;class Pu extends qs{constructor(a,n=qs.now){super(a,n),this.actions=[],this._active=!1}flush(a){const{actions:n}=this;if(this._active)return void n.push(a);let i;this._active=!0;do{if(i=a.execute(a.state,a.delay))break}while(a=n.shift());if(this._active=!1,i){for(;a=n.shift();)a.unsubscribe();throw i}}}const Lu=new Pu(Al),Vu=Lu;function Oi(o,a=Lu){return(0,mt.N)((n,i)=>{let c=null,h=null,m=null;const y=()=>{if(c){c.unsubscribe(),c=null;const w=h;h=null,i.next(w)}};function b(){const w=m+o,x=a.now();if(x{h=w,m=a.now(),c||(c=a.schedule(b,o),i.add(c))},()=>{y(),i.complete()},void 0,()=>{h=c=null}))})}var nr=M(667);function P_(o){if("string"!=typeof o)throw new TypeError("Expected a string");return o.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const bD=["*"],Bu=["main"],CD=["input"],Ks=["choiceMenu"],L_=(o,a)=>({"ngx-select_multiple form-control":o,"open show":a}),ki=o=>({"ngx-select__disabled":o}),Qs=o=>({"ngx-select__allow-clear":o}),zh=(o,a)=>({$implicit:o,index:0,text:a}),Rl=(o,a,n)=>({$implicit:o,index:a,text:n}),Wh=o=>[o],V_=(o,a)=>({"ngx-select__item_active active":o,"ngx-select__item_disabled disabled":a}),DD=(o,a,n,i)=>({$implicit:o,text:a,index:n,subIndex:i}),wD=o=>({$implicit:o});function ED(o,a){if(1&o&&(u.j41(0,"span",20),u.nrm(1,"span",21),u.k0s()),2&o){const n=u.XpG(2);u.R7$(),u.Y8G("innerHtml",n.placeholder,u.npT)}}function ID(o,a){if(1&o&&(u.j41(0,"span",22),u.eu8(1,23),u.k0s()),2&o){const n=u.XpG(2),i=u.sdS(8);u.Y8G("ngClass",u.eq3(3,Qs,n.allowClear)),u.R7$(),u.Y8G("ngTemplateOutlet",n.templateSelectedOption||i)("ngTemplateOutletContext",u.l_i(5,zh,n.optionsSelected[0],n.sanitize(n.optionsSelected[0].text)))}}function MD(o,a){if(1&o){const n=u.RV6();u.j41(0,"a",24),u.bIt("click",function(c){u.eBV(n);const h=u.XpG(2);return u.Njj(h.optionRemove(h.optionsSelected[0],c))}),u.nrm(1,"i",25),u.k0s()}if(2&o){const n=u.XpG(2);u.Y8G("ngClass",n.setBtnSize())}}function TD(o,a){if(1&o){const n=u.RV6();u.j41(0,"div",12)(1,"div",13),u.bIt("click",function(){u.eBV(n);const c=u.XpG();return u.Njj(c.optionsOpen())}),u.DNE(2,ED,2,1,"span",14)(3,ID,2,8,"span",15),u.j41(4,"span",16),u.DNE(5,MD,2,1,"a",17),u.nrm(6,"i",18)(7,"i",19),u.k0s()()()}if(2&o){const n=u.XpG();u.R7$(),u.Y8G("ngClass",n.setFormControlSize(n.setBtnSize())),u.R7$(),u.Y8G("ngIf",!n.optionsSelected.length),u.R7$(),u.Y8G("ngIf",n.optionsSelected.length),u.R7$(2),u.Y8G("ngIf",n.canClearNotMultiple())}}function B_(o,a){if(1&o){const n=u.RV6();u.j41(0,"span")(1,"span",28),u.bIt("click",function(c){return u.eBV(n),u.Njj(c.stopPropagation())}),u.eu8(2,23),u.j41(3,"a",29),u.bIt("click",function(c){const h=u.eBV(n).$implicit,m=u.XpG(2);return u.Njj(m.optionRemove(h,c))}),u.nrm(4,"i",25),u.k0s()()()}if(2&o){const n=a.$implicit,i=a.index,c=u.XpG(2),h=u.sdS(8);u.R7$(),u.Y8G("ngClass",c.setBtnSize()),u.R7$(),u.Y8G("ngTemplateOutlet",c.templateSelectedOption||h)("ngTemplateOutletContext",u.sMw(4,Rl,n,i,c.sanitize(n.text))),u.R7$(),u.Y8G("ngClass",c.setBtnSize())}}function j_(o,a){if(1&o){const n=u.RV6();u.j41(0,"div",26),u.bIt("click",function(){u.eBV(n);const c=u.XpG();return u.Njj(c.inputClick(c.inputElRef&&c.inputElRef.value))}),u.DNE(1,B_,5,8,"span",27),u.k0s()}if(2&o){const n=u.XpG();u.R7$(),u.Y8G("ngForOf",n.optionsSelected)("ngForTrackBy",n.trackByOption)}}function SD(o,a){if(1&o){const n=u.RV6();u.j41(0,"input",30,3),u.bIt("keyup",function(c){u.eBV(n);const h=u.sdS(1),m=u.XpG();return u.Njj(m.inputKeyUp(h.value,c))})("click",function(){u.eBV(n);const c=u.sdS(1),h=u.XpG();return u.Njj(h.inputClick(c.value))}),u.k0s()}if(2&o){const n=u.XpG();u.Y8G("ngClass",n.setFormControlSize())("tabindex",!1===n.multiple?-1:0)("disabled",n.disabled)("placeholder",n.optionsSelected.length?"":n.placeholder)("autocomplete",n.autocomplete)}}function ju(o,a){1&o&&u.nrm(0,"div",39)}function xD(o,a){if(1&o&&(u.j41(0,"div",40),u.EFF(1),u.k0s()),2&o){const n=u.XpG().$implicit,i=u.XpG(2);u.R7$(),u.JRh(i.asGroup(n).label)}}function U_(o,a){if(1&o){const n=u.RV6();u.j41(0,"a",41,5),u.bIt("mouseenter",function(){const c=u.eBV(n).$implicit,h=u.XpG(3);return u.Njj(h.onMouseEnter({activeOption:h.asOpt(c),filteredOptionList:h.optionsFiltered,index:h.optionsFiltered.indexOf(c)}))})("click",function(c){const h=u.eBV(n).$implicit,m=u.XpG(3);return u.Njj(m.optionSelect(m.asOpt(h),c))}),u.eu8(2,23),u.k0s()}if(2&o){const n=a.$implicit,i=a.index,c=u.XpG().index,h=u.XpG(2),m=u.sdS(8);u.Y8G("ngClass",u.l_i(3,V_,h.asOpt(n).active,h.asOpt(n).disabled)),u.R7$(2),u.Y8G("ngTemplateOutlet",h.templateOption||m)("ngTemplateOutletContext",u.ziG(6,DD,n,h.asOpt(n).highlightedText,c,i))}}function H_(o,a){if(1&o&&(u.j41(0,"li",35),u.DNE(1,ju,1,0,"div",36)(2,xD,2,1,"div",37)(3,U_,3,11,"a",38),u.k0s()),2&o){const n=a.$implicit,i=a.index,c=u.XpG(2);u.R7$(),u.Y8G("ngIf","optgroup"===n.type&&i>0),u.R7$(),u.Y8G("ngIf","optgroup"===n.type),u.R7$(),u.Y8G("ngForOf",c.asGroup(n).optionsFiltered||u.eq3(4,Wh,n))("ngForTrackBy",c.trackByOption)}}function $_(o,a){if(1&o&&(u.j41(0,"li",42),u.eu8(1,23),u.k0s()),2&o){const n=u.XpG(2),i=u.sdS(10);u.R7$(),u.Y8G("ngTemplateOutlet",n.templateOptionNotFound||i)("ngTemplateOutletContext",u.eq3(2,wD,n.inputText))}}function AD(o,a){if(1&o){const n=u.RV6();u.j41(0,"ngx-select-choices",31),u.bIt("focusin",function(c){u.eBV(n);const h=u.XpG();return u.Njj(h.choiceMenuFocus(c))}),u.j41(1,"ul",32,4),u.DNE(3,H_,4,6,"li",33)(4,$_,2,4,"li",34),u.k0s()()}if(2&o){const n=u.XpG();u.Y8G("appendTo",n.appendTo)("show",n.showChoiceMenu())("selectionChanges",n.selectionChanges),u.R7$(),u.AVh("show",n.showChoiceMenu()),u.Y8G("ngClass",n.dropDownMenuOtherClasses),u.R7$(2),u.Y8G("ngForOf",n.optionsFiltered)("ngForTrackBy",n.trackByOption),u.R7$(),u.Y8G("ngIf",!n.optionsFiltered.length)}}function RD(o,a){1&o&&u.nrm(0,"span",21),2&o&&u.Y8G("innerHtml",a.text,u.npT)}function G_(o,a){if(1&o&&u.EFF(0),2&o){const n=u.XpG();u.SpI(" ",n.noResultsFound," ")}}class $o{value;text;disabled;data;_parent;type="option";highlightedText;active;constructor(a,n,i,c,h=null){this.value=a,this.text=n,this.disabled=i,this.data=c,this._parent=h}get parent(){return this._parent}cacheHighlightText;cacheRenderedText=null;renderText(a,n){return(this.cacheHighlightText!==n||null===this.cacheRenderedText)&&(this.cacheHighlightText=n,this.cacheRenderedText=a.bypassSecurityTrustHtml(this.cacheHighlightText?(this.text+"").replace(new RegExp(P_(this.cacheHighlightText),"gi"),"$&"):this.text)),this.cacheRenderedText}}class Fi{label;options;type="optgroup";optionsFiltered;constructor(a,n=[]){this.label=a,this.options=n,this.filter(()=>!0)}filter(a){this.optionsFiltered=this.options.filter(n=>a(n))}}let Xs=(()=>{class o{template;constructor(n){this.template=n}static \u0275fac=function(i){return new(i||o)(u.rXU(u.C4Q))};static \u0275dir=u.FsC({type:o,selectors:[["","ngx-select-option",""]],standalone:!1})}return o})(),Zs=(()=>{class o{template;constructor(n){this.template=n}static \u0275fac=function(i){return new(i||o)(u.rXU(u.C4Q))};static \u0275dir=u.FsC({type:o,selectors:[["","ngx-select-option-selected",""]],standalone:!1})}return o})(),Ys=(()=>{class o{template;constructor(n){this.template=n}static \u0275fac=function(i){return new(i||o)(u.rXU(u.C4Q))};static \u0275dir=u.FsC({type:o,selectors:[["","ngx-select-option-not-found",""]],standalone:!1})}return o})(),ND=(()=>{class o{renderer;ngZone;appendTo;show;selectionChanges;choiceMenuEl;selectEl;destroy$=new L.B;disposeResizeListener;get position(){return this.appendTo?"absolute":""}constructor(n,i,c){this.renderer=n,this.ngZone=i,this.choiceMenuEl=c.nativeElement}ngOnInit(){this.selectionChanges.pipe(tn(this.destroy$)).subscribe(()=>this.delayedPositionUpdate()),this.selectEl=this.choiceMenuEl.parentElement}ngOnChanges(n){n.show?.currentValue&&this.delayedPositionUpdate()}ngOnDestroy(){this.destroy$.next(),this.appendTo&&(this.renderer.removeChild(this.choiceMenuEl.parentNode,this.choiceMenuEl),this.disposeResizeListener&&this.disposeResizeListener())}ngAfterContentInit(){this.appendTo&&(this.appendChoiceMenu(),this.handleDocumentResize(),this.delayedPositionUpdate())}appendChoiceMenu(){const n=this.getAppendToElement();if(!n)throw new Error(`appendTo selector ${this.appendTo} did not found any element`);this.renderer.appendChild(n,this.choiceMenuEl)}getAppendToElement(){return document.querySelector(this.appendTo)}handleDocumentResize(){this.disposeResizeListener=this.renderer.listen("window","resize",()=>{this.updatePosition()})}delayedPositionUpdate(){this.appendTo&&this.ngZone.runOutsideAngular(()=>{window.requestAnimationFrame(()=>{this.updatePosition()})})}updatePosition(){if(this.show){const n=this.getViewportOffset(this.selectEl),i=this.getParentOffset(this.choiceMenuEl),c=this.getAppendToElement(),m=n.left+c.scrollLeft-i.left;this.choiceMenuEl.style.top=`${n.top+c.scrollTop-i.top+n.height}px`,this.choiceMenuEl.style.bottom="auto",this.choiceMenuEl.style.left=`${m}px`,this.choiceMenuEl.style.width=`${n.width}px`,this.choiceMenuEl.style.minWidth=`${n.width}px`}}getStyles(n){return window.getComputedStyle(n)}getStyleProp(n,i){return this.getStyles(n)[i]}isStatic(n){return"static"===(this.getStyleProp(n,"position")||"static")}getOffsetParent(n){let i=n.offsetParent;for(;i&&i!==document.documentElement&&this.isStatic(i);)i=i.offsetParent;return i||document.documentElement}getViewportOffset(n){const i=n.getBoundingClientRect(),c=window.scrollY-document.documentElement.clientTop,h=window.scrollX-document.documentElement.clientLeft;return{height:i.height||n.offsetHeight,width:i.width||n.offsetWidth,top:i.top+c,bottom:i.bottom+c,left:i.left+h,right:i.right+h}}getParentOffset(n){let i={width:0,height:0,top:0,left:0,right:0,bottom:0};if("fixed"===this.getStyleProp(n,"position"))return i;const c=this.getOffsetParent(n);return c!==document.documentElement&&(i=this.getViewportOffset(c)),i.top+=c.clientTop,i.left+=c.clientLeft,i}static \u0275fac=function(i){return new(i||o)(u.rXU(u.sFG),u.rXU(u.SKi),u.rXU(u.aKT))};static \u0275cmp=u.VBU({type:o,selectors:[["ngx-select-choices"]],hostVars:2,hostBindings:function(i,c){2&i&&u.xc7("position",c.position)},inputs:{appendTo:"appendTo",show:"show",selectionChanges:"selectionChanges"},standalone:!1,features:[u.OA$],ngContentSelectors:bD,decls:1,vars:0,template:function(i,c){1&i&&(u.NAR(),u.SdG(0))},encapsulation:2})}return o})();const z_=new u.nKC("NGX_SELECT_OPTIONS");var gn=function(o){return o[o.first=0]="first",o[o.previous=1]="previous",o[o.next=2]="next",o[o.last=3]="last",o[o.firstSelected=4]="firstSelected",o[o.firstIfOptionActiveInvisible=5]="firstIfOptionActiveInvisible",o}(gn||{});function Ur(o,a){return a in o}let W_,Go=(()=>{class o{sanitizer;cd;items;optionValueField="id";optionTextField="text";optGroupLabelField="label";optGroupOptionsField="options";multiple=!1;allowClear=!1;placeholder="";noAutoComplete=!1;disabled=!1;defaultValue=[];autoSelectSingleOption=!1;autoClearSearch=!1;noResultsFound="No results found";keepSelectedItems=!1;size="default";searchCallback;autoActiveOnMouseEnter=!0;showOptionNotFoundForEmptyItems=!1;isFocused=!1;keepSelectMenuOpened=!1;autocomplete="off";dropDownMenuOtherClasses="";noSanitize=!1;appendTo;keyCodeToRemoveSelected="Delete";keyCodeToOptionsOpen=["Enter","NumpadEnter"];keyCodeToOptionsClose="Escape";keyCodeToOptionsSelect=["Enter","NumpadEnter"];keyCodeToNavigateFirst="ArrowLeft";keyCodeToNavigatePrevious="ArrowUp";keyCodeToNavigateNext="ArrowDown";keyCodeToNavigateLast="ArrowRight";typed=new u.bkB;focus=new u.bkB;blur=new u.bkB;open=new u.bkB;close=new u.bkB;select=new u.bkB;remove=new u.bkB;navigated=new u.bkB;selectionChanges=new u.bkB;mainElRef;inputElRef;choiceMenuElRef;templateOption;templateSelectedOption;templateOptionNotFound;optionsOpened=!1;optionsFiltered;optionActive;itemsDiffer;defaultValueDiffer;actualValue=[];subjOptions=new en.t([]);subjSearchText=new en.t("");subjOptionsSelected=new en.t([]);subjExternalValue=new en.t([]);subjDefaultValue=new en.t([]);subjRegisterOnChange=new L.B;cacheOptionsFilteredFlat;cacheElementOffsetTop;_focusToInput=!1;get inputText(){return this.inputElRef&&this.inputElRef.nativeElement?this.inputElRef.nativeElement.value:""}constructor(n,i,c,h){let m;this.sanitizer=i,this.cd=c,Object.assign(this,h),this.itemsDiffer=n.find([]).create(null),this.defaultValueDiffer=n.find([]).create(null),this.typed.subscribe(b=>this.subjSearchText.next(b)),this.subjOptionsSelected.subscribe(b=>this.selectionChanges.emit(b));const y=ro([Ou(this.subjExternalValue.pipe((0,Te.T)(b=>m=null===b?[]:[].concat(b))),this.subjOptionsSelected.pipe((0,Te.T)(b=>b.map(w=>w.value)))),this.subjDefaultValue]).pipe((0,Te.T)(([b,w])=>{const x=nr(b,w)?[]:b;return x.length?x:w}),R_((b,w)=>nr(b,w)),N_());ro([y,this.subjRegisterOnChange]).pipe((0,Te.T)(([b])=>b)).subscribe(b=>{this.actualValue=b,nr(b,m)||(m=b,this.onChange(this.multiple?b:b.length?b[0]:null))}),ro([this.subjOptions.pipe(Dt(b=>ut(b).pipe(Dt(w=>w instanceof $o?ge(w):w instanceof Fi?ut(w.options):hn.w),O_()))),y]).pipe(Oi(0)).subscribe(([b,w])=>{const x=[];if(w.forEach(N=>{const q=b.find(z=>z.value===N);q&&x.push(q)}),this.keepSelectedItems){const N=x.map(z=>z.value),q=this.subjOptionsSelected.value.filter(z=>-1===N.indexOf(z.value));x.push(...q)}nr(x,this.subjOptionsSelected.value)||(this.subjOptionsSelected.next(x),this.cd.markForCheck())}),ro([this.subjOptions,this.subjOptionsSelected,this.subjSearchText]).pipe((0,Te.T)(([b,w,x])=>(this.optionsFiltered=this.filterOptions(x,b,w).map(N=>(N instanceof $o?N.highlightedText=this.highlightOption(N):N instanceof Fi&&N.options.map(q=>(q.highlightedText=this.highlightOption(q),q)),N)),this.cacheOptionsFilteredFlat=null,this.navigateOption(gn.firstIfOptionActiveInvisible),this.cd.markForCheck(),w)),Dt(b=>this.optionsFilteredFlat().pipe((0,En.p)(w=>this.autoSelectSingleOption&&1===w.length&&!b.length)))).subscribe(b=>{this.subjOptionsSelected.next(b),this.cd.markForCheck()})}asGroup=n=>n;asOpt=n=>n;setFormControlSize(n={},i=!0){return Object.assign(i?{"form-control-sm input-sm":"small"===this.size,"form-control-lg input-lg":"large"===this.size}:{},n)}setBtnSize(){return{"btn-sm":"small"===this.size,"btn-lg":"large"===this.size}}get optionsSelected(){return this.subjOptionsSelected.value}mainClicked(n){n.clickedSelectComponent=this,this.isFocused||(this.isFocused=!0,this.focus.emit())}choiceMenuFocus(n){this.appendTo&&(n.clickedSelectComponent=this)}documentClick(n){n.clickedSelectComponent!==this&&(this.optionsOpened&&(this.optionsClose(),this.cd.detectChanges()),this.isFocused&&(this.isFocused=!1,this.blur.emit()))}optionsFilteredFlat(){return this.cacheOptionsFilteredFlat?ge(this.cacheOptionsFilteredFlat):ut(this.optionsFiltered).pipe(Dt(n=>n instanceof $o?ge(n):n instanceof Fi?ut(n.optionsFiltered):hn.w),(0,En.p)(n=>!n.disabled),O_(),$t(n=>this.cacheOptionsFilteredFlat=n))}navigateOption(n){this.optionsFilteredFlat().pipe((0,Te.T)(i=>{const c={index:-1,activeOption:null,filteredOptionList:i};let h;switch(n){case gn.first:c.index=0;break;case gn.previous:h=i.indexOf(this.optionActive)-1,c.index=h>=0?h:i.length-1;break;case gn.next:h=i.indexOf(this.optionActive)+1,c.index=hy.value===this.optionActive.value))),c.index=m>0?m:0}return c.activeOption=i[c.index],c})).subscribe(i=>this.optionActivate(i))}ngDoCheck(){this.itemsDiffer.diff(this.items)&&this.subjOptions.next(this.buildOptions(this.items));const n=this.defaultValue?[].concat(this.defaultValue):[];this.defaultValueDiffer.diff(n)&&this.subjDefaultValue.next(n)}ngAfterContentChecked(){if(this._focusToInput&&this.checkInputVisibility()&&this.inputElRef&&this.inputElRef.nativeElement!==document.activeElement&&(this._focusToInput=!1,this.inputElRef.nativeElement.focus()),this.choiceMenuElRef){const i=this.choiceMenuElRef.nativeElement.querySelector("a.ngx-select__item_active.active");i&&i.offsetHeight>0&&this.ensureVisibleElement(i)}}ngOnDestroy(){this.cd.detach()}canClearNotMultiple(){return this.allowClear&&!!this.subjOptionsSelected.value.length&&(!this.subjDefaultValue.value.length||this.subjDefaultValue.value[0]!==this.actualValue[0])}focusToInput(){this._focusToInput=!0}inputKeyDown(n){const i=[].concat(this.keyCodeToOptionsSelect,this.keyCodeToNavigateFirst,this.keyCodeToNavigatePrevious,this.keyCodeToNavigateNext,this.keyCodeToNavigateLast),c=[].concat(this.keyCodeToOptionsOpen,this.keyCodeToRemoveSelected);if(this.optionsOpened&&-1!==i.indexOf(n.code))switch(n.preventDefault(),n.stopPropagation(),n.code){case[].concat(this.keyCodeToOptionsSelect).indexOf(n.code)+1&&n.code:this.optionSelect(this.optionActive),this.navigateOption(gn.next);break;case this.keyCodeToNavigateFirst:this.navigateOption(gn.first);break;case this.keyCodeToNavigatePrevious:this.navigateOption(gn.previous);break;case this.keyCodeToNavigateLast:this.navigateOption(gn.last);break;case this.keyCodeToNavigateNext:this.navigateOption(gn.next)}else if(!this.optionsOpened&&-1!==c.indexOf(n.code))switch(n.preventDefault(),n.stopPropagation(),n.code){case[].concat(this.keyCodeToOptionsOpen).indexOf(n.code)+1&&n.code:this.optionsOpen();break;case this.keyCodeToRemoveSelected:(this.multiple||this.canClearNotMultiple())&&this.optionRemove(this.subjOptionsSelected.value[this.subjOptionsSelected.value.length-1],n)}}trackByOption(n,i){return i instanceof $o?i.value:i instanceof Fi?i.label:i}checkInputVisibility(){return!0===this.multiple||this.optionsOpened&&!this.noAutoComplete}inputKeyUp(n="",i){i.code===this.keyCodeToOptionsClose?this.optionsClose():this.optionsOpened&&-1===["ArrowDown","ArrowUp","ArrowLeft","ArrowDown"].indexOf(i.code)?this.typed.emit(n):!this.optionsOpened&&n&&this.optionsOpen(n)}inputClick(n=""){this.optionsOpened||this.optionsOpen(n)}sanitize(n){return this.noSanitize?n||null:n?this.sanitizer.bypassSecurityTrustHtml(n):null}highlightOption(n){return n.renderText(this.sanitizer,this.inputElRef?this.inputElRef.nativeElement.value:"")}optionSelect(n,i=null){i&&(i.preventDefault(),i.stopPropagation()),n&&!n.disabled&&(this.subjOptionsSelected.next((this.multiple?this.subjOptionsSelected.value:[]).concat([n])),this.select.emit(n.value),this.keepSelectMenuOpened||this.optionsClose(),this.onTouched())}optionRemove(n,i){!this.disabled&&n&&(i.stopPropagation(),this.subjOptionsSelected.next((this.multiple?this.subjOptionsSelected.value:[]).filter(c=>c!==n)),this.remove.emit(n.value))}optionActivate(n){this.optionActive!==n.activeOption&&(!n.activeOption||!n.activeOption.disabled)&&(this.optionActive&&(this.optionActive.active=!1),this.optionActive=n.activeOption,this.optionActive&&(this.optionActive.active=!0),this.navigated.emit(n),this.cd.detectChanges())}onMouseEnter(n){this.autoActiveOnMouseEnter&&this.optionActivate(n)}filterOptions(n,i,c){const h=new RegExp(P_(n),"i"),m=y=>this.searchCallback?this.searchCallback(n,y):(!n||h.test(y.text))&&(!this.multiple||-1===c.indexOf(y));return i.filter(y=>{if(y instanceof $o)return m(y);if(y instanceof Fi){const b=y;return b.filter(w=>m(w)),b.optionsFiltered.length}})}ensureVisibleElement(n){if(this.choiceMenuElRef&&this.cacheElementOffsetTop!==n.offsetTop){this.cacheElementOffsetTop=n.offsetTop;const i=this.choiceMenuElRef.nativeElement;this.cacheElementOffsetTopi.scrollTop+i.clientHeight&&(i.scrollTop=this.cacheElementOffsetTop+n.offsetHeight-i.clientHeight)}}showChoiceMenu(){return this.optionsOpened&&(!!this.subjOptions.value.length||this.showOptionNotFoundForEmptyItems)}optionsOpen(n=""){this.disabled||(this.optionsOpened=!0,this.subjSearchText.next(n),this.navigateOption(!this.multiple&&this.subjOptionsSelected.value.length?gn.firstSelected:gn.first),this.focusToInput(),this.open.emit(),this.cd.markForCheck())}optionsClose(){this.optionsOpened=!1,this.close.emit(),this.autoClearSearch&&this.multiple&&this.inputElRef&&(this.inputElRef.nativeElement.value=null)}buildOptions(n){const i=[];return Array.isArray(n)&&n.forEach(c=>{if("object"==typeof c&&null!==c&&Ur(c,this.optGroupLabelField)&&Ur(c,this.optGroupOptionsField)&&Array.isArray(c[this.optGroupOptionsField])){const m=new Fi(c[this.optGroupLabelField]);c[this.optGroupOptionsField].forEach(y=>{const b=this.buildOption(y,m);b&&m.options.push(b)}),i.push(m)}else{const m=this.buildOption(c,null);m&&i.push(m)}}),i}buildOption(n,i){let c,h,m;if("string"==typeof n||"number"==typeof n)c=h=n,m=!1;else{if("object"!=typeof n||null===n||!Ur(n,this.optionValueField)&&!Ur(n,this.optionTextField))return null;c=Ur(n,this.optionValueField)?n[this.optionValueField]:n[this.optionTextField],h=Ur(n,this.optionTextField)?n[this.optionTextField]:n[this.optionValueField],m=!!Ur(n,"disabled")&&n.disabled}return new $o(c,h,m,n,i)}onChange=n=>n;onTouched=()=>null;writeValue(n){this.subjExternalValue.next(n)}registerOnChange(n){this.onChange=n,this.subjRegisterOnChange.next()}registerOnTouched(n){this.onTouched=n}setDisabledState(n){this.disabled=n,this.cd.markForCheck()}static \u0275fac=function(i){return new(i||o)(u.rXU(u._q3),u.rXU(Qd),u.rXU(u.gRc),u.rXU(z_,8))};static \u0275cmp=u.VBU({type:o,selectors:[["ngx-select"]],contentQueries:function(i,c,h){if(1&i&&(u.wni(h,Xs,7,u.C4Q),u.wni(h,Zs,7,u.C4Q),u.wni(h,Ys,7,u.C4Q)),2&i){let m;u.mGM(m=u.lsd())&&(c.templateOption=m.first),u.mGM(m=u.lsd())&&(c.templateSelectedOption=m.first),u.mGM(m=u.lsd())&&(c.templateOptionNotFound=m.first)}},viewQuery:function(i,c){if(1&i&&(u.GBs(Bu,7),u.GBs(CD,5),u.GBs(Ks,5)),2&i){let h;u.mGM(h=u.lsd())&&(c.mainElRef=h.first),u.mGM(h=u.lsd())&&(c.inputElRef=h.first),u.mGM(h=u.lsd())&&(c.choiceMenuElRef=h.first)}},hostBindings:function(i,c){1&i&&u.bIt("focusin",function(m){return c.documentClick(m)},!1,u.EBC)("click",function(m){return c.documentClick(m)},!1,u.EBC)},inputs:{items:"items",optionValueField:"optionValueField",optionTextField:"optionTextField",optGroupLabelField:"optGroupLabelField",optGroupOptionsField:"optGroupOptionsField",multiple:"multiple",allowClear:"allowClear",placeholder:"placeholder",noAutoComplete:"noAutoComplete",disabled:"disabled",defaultValue:"defaultValue",autoSelectSingleOption:"autoSelectSingleOption",autoClearSearch:"autoClearSearch",noResultsFound:"noResultsFound",keepSelectedItems:"keepSelectedItems",size:"size",searchCallback:"searchCallback",autoActiveOnMouseEnter:"autoActiveOnMouseEnter",showOptionNotFoundForEmptyItems:"showOptionNotFoundForEmptyItems",isFocused:"isFocused",keepSelectMenuOpened:"keepSelectMenuOpened",autocomplete:"autocomplete",dropDownMenuOtherClasses:"dropDownMenuOtherClasses",noSanitize:"noSanitize",appendTo:"appendTo"},outputs:{typed:"typed",focus:"focus",blur:"blur",open:"open",close:"close",select:"select",remove:"remove",navigated:"navigated",selectionChanges:"selectionChanges"},standalone:!1,features:[u.Jv_([{provide:br,useExisting:(0,u.Rfq)(()=>o),multi:!0}])],decls:11,vars:12,consts:[["main",""],["defaultTemplateOption",""],["defaultTemplateOptionNotFound",""],["input",""],["choiceMenu",""],["choiceItem",""],[1,"ngx-select","dropdown",3,"click","focusin","focus","keydown","tabindex","ngClass"],[3,"ngClass"],["class","ngx-select__selected",4,"ngIf"],["class","ngx-select__selected",3,"click",4,"ngIf"],["type","text","class","ngx-select__search form-control","autocorrect","off","autocapitalize","off","spellcheck","false","role","combobox",3,"ngClass","tabindex","disabled","placeholder","autocomplete","keyup","click",4,"ngIf"],[3,"appendTo","show","selectionChanges","focusin",4,"ngIf"],[1,"ngx-select__selected"],[1,"ngx-select__toggle","btn","form-control",3,"click","ngClass"],["class","ngx-select__placeholder text-muted",4,"ngIf"],["class","ngx-select__selected-single pull-left float-left",3,"ngClass",4,"ngIf"],[1,"ngx-select__toggle-buttons"],["class","ngx-select__clear btn btn-sm btn-link",3,"ngClass","click",4,"ngIf"],[1,"dropdown-toggle"],[1,"ngx-select__toggle-caret","caret"],[1,"ngx-select__placeholder","text-muted"],[3,"innerHtml"],[1,"ngx-select__selected-single","pull-left","float-left",3,"ngClass"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ngx-select__clear","btn","btn-sm","btn-link",3,"click","ngClass"],[1,"ngx-select__clear-icon"],[1,"ngx-select__selected",3,"click"],[4,"ngFor","ngForOf","ngForTrackBy"],["tabindex","-1",1,"ngx-select__selected-plural","btn","btn-default","btn-secondary","btn-sm","btn-xs",3,"click","ngClass"],[1,"ngx-select__clear","btn","btn-sm","btn-link","pull-right","float-right",3,"click","ngClass"],["type","text","autocorrect","off","autocapitalize","off","spellcheck","false","role","combobox",1,"ngx-select__search","form-control",3,"keyup","click","ngClass","tabindex","disabled","placeholder","autocomplete"],[3,"focusin","appendTo","show","selectionChanges"],["role","menu",1,"ngx-select__choices","dropdown-menu",3,"ngClass"],["class","ngx-select__item-group","role","menuitem",4,"ngFor","ngForOf","ngForTrackBy"],["class","ngx-select__item ngx-select__item_no-found dropdown-header",4,"ngIf"],["role","menuitem",1,"ngx-select__item-group"],["class","divider dropdown-divider",4,"ngIf"],["class","dropdown-header",4,"ngIf"],["href","#","class","ngx-select__item dropdown-item",3,"ngClass","mouseenter","click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"divider","dropdown-divider"],[1,"dropdown-header"],["href","#",1,"ngx-select__item","dropdown-item",3,"mouseenter","click","ngClass"],[1,"ngx-select__item","ngx-select__item_no-found","dropdown-header"]],template:function(i,c){if(1&i){const h=u.RV6();u.j41(0,"div",6,0),u.bIt("click",function(y){return u.eBV(h),u.Njj(c.mainClicked(y))})("focusin",function(y){return u.eBV(h),u.Njj(c.mainClicked(y))})("focus",function(){return u.eBV(h),u.Njj(c.focusToInput())})("keydown",function(y){return u.eBV(h),u.Njj(c.inputKeyDown(y))}),u.nrm(2,"div",7),u.DNE(3,TD,8,4,"div",8)(4,j_,2,2,"div",9)(5,SD,2,5,"input",10)(6,AD,5,9,"ngx-select-choices",11)(7,RD,1,1,"ng-template",null,1,u.C5r)(9,G_,1,1,"ng-template",null,2,u.C5r),u.k0s()}2&i&&(u.Y8G("tabindex",c.disabled?-1:0)("ngClass",c.setFormControlSize(u.l_i(7,L_,!0===c.multiple,c.optionsOpened&&c.optionsFiltered.length),!0===c.multiple)),u.R7$(2),u.Y8G("ngClass",u.eq3(10,ki,c.disabled)),u.R7$(),u.Y8G("ngIf",!1===c.multiple&&(!c.optionsOpened||c.noAutoComplete)),u.R7$(),u.Y8G("ngIf",!0===c.multiple),u.R7$(),u.Y8G("ngIf",c.checkInputVisibility()),u.R7$(),u.Y8G("ngIf",c.isFocused))},dependencies:[ni,de,Xr,Mr,ND],styles:['.ngx-select_multiple[_ngcontent-%COMP%]{height:auto;padding:3px 3px 0}.ngx-select_multiple[_ngcontent-%COMP%] .ngx-select__search[_ngcontent-%COMP%]{background-color:transparent!important;border:none;outline:none;box-shadow:none;height:1.6666em;padding:0;margin-bottom:3px}.ngx-select__disabled[_ngcontent-%COMP%]{background-color:#eceeef;border-radius:4px;position:absolute;width:100%;height:100%;z-index:5;opacity:.6;top:0;left:0;cursor:not-allowed}.ngx-select__toggle[_ngcontent-%COMP%]{outline:0;position:relative;text-align:left!important;color:#333;background-color:#fff;border-color:#ccc;display:inline-flex;align-items:stretch;justify-content:space-between}.ngx-select__toggle[_ngcontent-%COMP%]:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.ngx-select__toggle-buttons[_ngcontent-%COMP%]{flex-shrink:0;display:flex;align-items:center}.ngx-select__toggle-caret[_ngcontent-%COMP%]{position:absolute;height:10px;top:50%;right:10px;margin-top:-2px}.ngx-select__placeholder[_ngcontent-%COMP%]{float:left;max-width:100%;text-overflow:ellipsis;overflow:hidden}.ngx-select__clear[_ngcontent-%COMP%]{margin-right:10px;padding:0;border:none}.ngx-select_multiple[_ngcontent-%COMP%] .ngx-select__clear[_ngcontent-%COMP%]{line-height:initial;margin-left:5px;margin-right:0;color:#000;opacity:.5}.ngx-select__clear-icon[_ngcontent-%COMP%]{display:inline-block;font-size:inherit;cursor:pointer;position:relative;width:1em;height:.75em;padding:0}.ngx-select__clear-icon[_ngcontent-%COMP%]:before, .ngx-select__clear-icon[_ngcontent-%COMP%]:after{content:"";position:absolute;border-top:3px solid;width:100%;top:50%;left:0;margin-top:-1px}.ngx-select__clear-icon[_ngcontent-%COMP%]:before{transform:rotate(45deg)}.ngx-select__clear-icon[_ngcontent-%COMP%]:after{transform:rotate(-45deg)}.ngx-select__choices[_ngcontent-%COMP%]{width:100%;height:auto;max-height:200px;overflow-x:hidden;margin-top:0;position:absolute}.ngx-select_multiple[_ngcontent-%COMP%] .ngx-select__choices[_ngcontent-%COMP%]{margin-top:1px}.ngx-select__item[_ngcontent-%COMP%]{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;white-space:nowrap;cursor:pointer;text-decoration:none}.ngx-select__item_disabled[_ngcontent-%COMP%], .ngx-select__item_no-found[_ngcontent-%COMP%]{cursor:default}.ngx-select__item_active[_ngcontent-%COMP%]{color:#fff;outline:0;background-color:#428bca}.ngx-select__selected-single[_ngcontent-%COMP%], .ngx-select__selected-plural[_ngcontent-%COMP%]{display:inline-flex;align-items:center;overflow:hidden}.ngx-select__selected-single[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .ngx-select__selected-plural[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.ngx-select__selected-plural[_ngcontent-%COMP%]{outline:0;margin:0 3px 3px 0}.input-group[_ngcontent-%COMP%] > .dropdown[_ngcontent-%COMP%]{position:static}'],changeDetection:0})}return o})(),Pi=(()=>{class o{static forRoot(n){return{ngModule:o,providers:[{provide:z_,useValue:n}]}}static \u0275fac=function(i){return new(i||o)};static \u0275mod=u.$C({type:o});static \u0275inj=u.G2t({imports:[xe]})}return o})();try{W_=typeof Intl<"u"&&Intl.v8BreakIterator}catch{W_=!1}let Uu,zo=(()=>{class o{_platformId=(0,u.WQX)(u.Agw);isBrowser=this._platformId?function Je(o){return o===yt}(this._platformId):"object"==typeof document&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!(!window.chrome&&!W_)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(i){return new(i||o)};static \u0275prov=u.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function Nl(o){return function kD(){if(null==Uu&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Uu=!0}))}finally{Uu=Uu||!1}return Uu}()?o:!!o.capture}var Hr=function(o){return o[o.NORMAL=0]="NORMAL",o[o.NEGATED=1]="NEGATED",o[o.INVERTED=2]="INVERTED",o}(Hr||{});let ea,Cr,Hu;function Wo(){if("object"!=typeof document||!document)return Hr.NORMAL;if(null==ea){const o=document.createElement("div"),a=o.style;o.dir="rtl",a.width="1px",a.overflow="auto",a.visibility="hidden",a.pointerEvents="none",a.position="absolute";const n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",o.appendChild(n),document.body.appendChild(o),ea=Hr.NORMAL,0===o.scrollLeft&&(o.scrollLeft=1,ea=0===o.scrollLeft?Hr.NEGATED:Hr.INVERTED),o.remove()}return ea}function $r(o){return o.composedPath?o.composedPath()[0]:o.target}function Pl(o,...a){return a.length?a.some(n=>o[n]):o.altKey||o.shiftKey||o.ctrlKey||o.metaKey}function Ll(o){return(0,En.p)((a,n)=>o<=n)}function tp(o){return Array.isArray(o)?o:[o]}function Vi(o){return o instanceof u.aKT?o.nativeElement:o}const dv=new Set;let Bi,mw=(()=>{class o{_platform=(0,u.WQX)(zo);_nonce=(0,u.WQX)(u.BIS,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):fv}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&function Qu(o,a){if(!dv.has(o))try{Bi||(Bi=document.createElement("style"),a&&Bi.setAttribute("nonce",a),Bi.setAttribute("type","text/css"),document.head.appendChild(Bi)),Bi.sheet&&(Bi.sheet.insertRule(`@media ${o} {body{ }}`,0),dv.add(o))}catch(n){console.error(n)}}(n,this._nonce),this._matchMedia(n)}static \u0275fac=function(i){return new(i||o)};static \u0275prov=u.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function fv(o){return{matches:"all"===o||""===o,media:o,addListener:()=>{},removeListener:()=>{}}}let hv=(()=>{class o{_mediaMatcher=(0,u.WQX)(mw);_zone=(0,u.WQX)(u.SKi);_queries=new Map;_destroySubject=new L.B;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return np(tp(n)).some(c=>this._registerQuery(c).mql.matches)}observe(n){let h=ro(np(tp(n)).map(m=>this._registerQuery(m).observable));return h=Rc(h.pipe((0,oo.s)(1)),h.pipe(Ll(1),Oi(0))),h.pipe((0,Te.T)(m=>{const y={matches:!1,breakpoints:{}};return m.forEach(({matches:b,query:w})=>{y.matches=y.matches||b,y.breakpoints[w]=b}),y}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);const i=this._mediaMatcher.matchMedia(n),h={observable:new at.c(m=>{const y=b=>this._zone.run(()=>m.next(b));return i.addListener(y),()=>{i.removeListener(y)}}).pipe(ys(i),(0,Te.T)(({matches:m})=>({query:n,matches:m})),tn(this._destroySubject)),mql:i};return this._queries.set(n,h),h}static \u0275fac=function(i){return new(i||o)};static \u0275prov=u.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function np(o){return o.map(a=>a.split(",")).reduce((a,n)=>a.concat(n)).map(a=>a.trim())}class ip{_letterKeyStream=new L.B;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new L.B;selectedItem=this._selectedItem;constructor(a,n){const i="number"==typeof n?.debounceInterval?n.debounceInterval:200;n?.skipPredicate&&(this._skipPredicateFn=n.skipPredicate),this.setItems(a),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(a){this._selectedItemIndex=a}setItems(a){this._items=a}handleKey(a){const n=a.keyCode;a.key&&1===a.key.length?this._letterKeyStream.next(a.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(a){this._letterKeyStream.pipe($t(n=>this._pressedLetters.push(n)),Oi(a),(0,En.p)(()=>this._pressedLetters.length>0),(0,Te.T)(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(n=>{for(let i=1;ia.disabled;constructor(a,n){this._items=a,a instanceof u.rOR?this._itemChangesSubscription=a.changes.subscribe(i=>this._itemsChanged(i.toArray())):(0,u.Hps)(a)&&(this._effectRef=(0,u.QZP)(()=>this._itemsChanged(a()),{injector:n}))}tabOut=new L.B;change=new L.B;skipPredicate(a){return this._skipPredicateFn=a,this}withWrap(a=!0){return this._wrap=a,this}withVerticalOrientation(a=!0){return this._vertical=a,this}withHorizontalOrientation(a){return this._horizontal=a,this}withAllowedModifierKeys(a){return this._allowedModifierKeys=a,this}withTypeAhead(a=200){this._typeaheadSubscription.unsubscribe();const n=this._getItemsArray();return this._typeahead=new ip(n,{debounceInterval:"number"==typeof a?a:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(a=!0){return this._homeAndEnd=a,this}withPageUpDown(a=!0,n=10){return this._pageUpAndDown={enabled:a,delta:n},this}setActiveItem(a){const n=this._activeItem();this.updateActiveItem(a),this._activeItem()!==n&&this.change.next(this._activeItemIndex)}onKeydown(a){const n=a.keyCode,c=["altKey","ctrlKey","metaKey","shiftKey"].every(h=>!a[h]||this._allowedModifierKeys.indexOf(h)>-1);switch(n){case 9:return void this.tabOut.next();case 40:if(this._vertical&&c){this.setNextItemActive();break}return;case 38:if(this._vertical&&c){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&c){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&c){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&c){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&c){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&c){const h=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(h>0?h:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&c){const h=this._activeItemIndex+this._pageUpAndDown.delta,m=this._getItemsArray().length;this._setActiveItemByIndex(h-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i))}}}class Yu extends yw{_origin="program";setFocusOrigin(a){return this._origin=a,this}setActiveItem(a){super.setActiveItem(a),this.activeItem&&this.activeItem.focus(this._origin)}}function lp(o){return 0===o.buttons||0===o.detail}function Mv(o){const a=o.touches&&o.touches[0]||o.changedTouches&&o.changedTouches[0];return!(!a||-1!==a.identifier||null!=a.radiusX&&1!==a.radiusX||null!=a.radiusY&&1!==a.radiusY)}const Tw=new u.nKC("cdk-input-modality-detector-options"),Sw={ignoreKeys:[18,17,224,91,16]},ra=Nl({passive:!0,capture:!0});let Sv=(()=>{class o{_platform=(0,u.WQX)(zo);modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new en.t(null);_options;_lastTouchMs=0;_onKeydown=n=>{this._options?.ignoreKeys?.some(i=>i===n.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=$r(n))};_onMousedown=n=>{Date.now()-this._lastTouchMs<650||(this._modality.next(lp(n)?"keyboard":"mouse"),this._mostRecentTarget=$r(n))};_onTouchstart=n=>{Mv(n)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=$r(n))};constructor(){const n=(0,u.WQX)(u.SKi),i=(0,u.WQX)(j),c=(0,u.WQX)(Tw,{optional:!0});this._options={...Sw,...c},this.modalityDetected=this._modality.pipe(Ll(1)),this.modalityChanged=this.modalityDetected.pipe(R_()),this._platform.isBrowser&&n.runOutsideAngular(()=>{i.addEventListener("keydown",this._onKeydown,ra),i.addEventListener("mousedown",this._onMousedown,ra),i.addEventListener("touchstart",this._onTouchstart,ra)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,ra),document.removeEventListener("mousedown",this._onMousedown,ra),document.removeEventListener("touchstart",this._onTouchstart,ra))}static \u0275fac=function(i){return new(i||o)};static \u0275prov=u.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var ed=function(o){return o[o.IMMEDIATE=0]="IMMEDIATE",o[o.EVENTUAL=1]="EVENTUAL",o}(ed||{});const Av=new u.nKC("cdk-focus-monitor-default-options"),td=Nl({passive:!0,capture:!0});let Aw=(()=>{class o{_ngZone=(0,u.WQX)(u.SKi);_platform=(0,u.WQX)(zo);_inputModalityDetector=(0,u.WQX)(Sv);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)};_document=(0,u.WQX)(j,{optional:!0});_stopInputModalityDetector=new L.B;constructor(){const n=(0,u.WQX)(Av,{optional:!0});this._detectionMode=n?.detectionMode||ed.IMMEDIATE}_rootNodeFocusAndBlurListener=n=>{for(let c=$r(n);c;c=c.parentElement)"focus"===n.type?this._onFocus(n,c):this._onBlur(n,c)};monitor(n,i=!1){const c=Vi(n);if(!this._platform.isBrowser||1!==c.nodeType)return ge();const h=function q_(o){if(function Ol(){if(null==Hu){const o=typeof document<"u"?document.head:null;Hu=!(!o||!o.createShadowRoot&&!o.attachShadow)}return Hu}()){const a=o.getRootNode?o.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&a instanceof ShadowRoot)return a}return null}(c)||this._getDocument(),m=this._elementInfo.get(c);if(m)return i&&(m.checkChildren=!0),m.subject;const y={checkChildren:i,subject:new L.B,rootNode:h};return this._elementInfo.set(c,y),this._registerGlobalListeners(y),y.subject}stopMonitoring(n){const i=Vi(n),c=this._elementInfo.get(i);c&&(c.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(c))}focusVia(n,i,c){const h=Vi(n);h===this._getDocument().activeElement?this._getClosestElementsInfo(h).forEach(([y,b])=>this._originChanged(y,i,b)):(this._setOrigin(i),"function"==typeof h.focus&&h.focus(c))}ngOnDestroy(){this._elementInfo.forEach((n,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return this._detectionMode===ed.EVENTUAL||!!n?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(n,i){n.classList.toggle("cdk-focused",!!i),n.classList.toggle("cdk-touch-focused","touch"===i),n.classList.toggle("cdk-keyboard-focused","keyboard"===i),n.classList.toggle("cdk-mouse-focused","mouse"===i),n.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(n,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=n,this._originFromTouchInteraction="touch"===n&&i,this._detectionMode===ed.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(n,i){const c=this._elementInfo.get(i),h=$r(n);!c||!c.checkChildren&&i!==h||this._originChanged(i,this._getFocusOrigin(h),c)}_onBlur(n,i){const c=this._elementInfo.get(i);!c||c.checkChildren&&n.relatedTarget instanceof Node&&i.contains(n.relatedTarget)||(this._setClasses(i),this._emitOrigin(c,null))}_emitOrigin(n,i){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(i))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;const i=n.rootNode,c=this._rootNodeFocusListenerCount.get(i)||0;c||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,td),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,td)}),this._rootNodeFocusListenerCount.set(i,c+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(tn(this._stopInputModalityDetector)).subscribe(h=>{this._setOrigin(h,!0)}))}_removeGlobalListeners(n){const i=n.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const c=this._rootNodeFocusListenerCount.get(i);c>1?this._rootNodeFocusListenerCount.set(i,c-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,td),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,td),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,i,c){this._setClasses(n,i),this._emitOrigin(c,i),this._lastFocusOrigin=i}_getClosestElementsInfo(n){const i=[];return this._elementInfo.forEach((c,h)=>{(h===n||c.checkChildren&&h.contains(n))&&i.push([h,c])}),i}_isLastInteractionFromInputLabel(n){const{_mostRecentTarget:i,mostRecentModality:c}=this._inputModalityDetector;if("mouse"!==c||!i||i===n||"INPUT"!==n.nodeName&&"TEXTAREA"!==n.nodeName||n.disabled)return!1;const h=n.labels;if(h)for(let m=0;m{class o{_elementRef=(0,u.WQX)(u.aKT);_focusMonitor=(0,u.WQX)(Aw);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new u.bkB;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const n=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(n,1===n.nodeType&&n.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(i){return new(i||o)};static \u0275dir=u.FsC({type:o,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return o})();var Gr=function(o){return o[o.NONE=0]="NONE",o[o.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",o[o.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",o}(Gr||{});const Rv="cdk-high-contrast-black-on-white",Nv="cdk-high-contrast-white-on-black",nd="cdk-high-contrast-active";let Ov=(()=>{class o{_platform=(0,u.WQX)(zo);_hasCheckedHighContrastMode;_document=(0,u.WQX)(j);_breakpointSubscription;constructor(){this._breakpointSubscription=(0,u.WQX)(hv).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Gr.NONE;const n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);const i=this._document.defaultView||window,c=i&&i.getComputedStyle?i.getComputedStyle(n):null,h=(c&&c.backgroundColor||"").replace(/ /g,"");switch(n.remove(),h){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Gr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Gr.BLACK_ON_WHITE}return Gr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const n=this._document.body.classList;n.remove(nd,Rv,Nv),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();i===Gr.BLACK_ON_WHITE?n.add(nd,Rv):i===Gr.WHITE_ON_BLACK&&n.add(nd,Nv)}}static \u0275fac=function(i){return new(i||o)};static \u0275prov=u.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();const rd={};let Rw=(()=>{class o{_appId=(0,u.WQX)(u.sZ2);getId(n){return"ng"!==this._appId&&(n+=this._appId),rd.hasOwnProperty(n)||(rd[n]=0),`${n}${rd[n]++}`}static \u0275fac=function(i){return new(i||o)};static \u0275prov=u.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();const Fv=new u.nKC("cdk-dir-doc",{providedIn:"root",factory:function dp(){return(0,u.WQX)(j)}}),Pv=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let fp=(()=>{class o{value="ltr";change=new u.bkB;constructor(){const n=(0,u.WQX)(Fv,{optional:!0});n&&(this.value=function Lv(o){const a=o?.toLowerCase()||"";return"auto"===a&&typeof navigator<"u"&&navigator?.language?Pv.test(navigator.language)?"rtl":"ltr":"rtl"===a?"rtl":"ltr"}((n.body?n.body.dir:null)||(n.documentElement?n.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static \u0275fac=function(i){return new(i||o)};static \u0275prov=u.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),Vv=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=u.$C({type:o});static \u0275inj=u.G2t({})}return o})();const ia=new WeakMap;let od=(()=>{class o{_appRef;_injector=(0,u.WQX)(u.zZn);_environmentInjector=(0,u.WQX)(u.uvJ);load(n){const i=this._appRef=this._appRef||this._injector.get(u.o8S);let c=ia.get(i);c||(c={loaders:new Set,refs:[]},ia.set(i,c),i.onDestroy(()=>{ia.get(i)?.refs.forEach(h=>h.destroy()),ia.delete(i)})),c.loaders.has(n)||(c.loaders.add(n),c.refs.push((0,u.a0P)(n,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(i){return new(i||o)};static \u0275prov=u.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),$v=(()=>{class o{constructor(){(0,u.WQX)(Ov)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||o)};static \u0275mod=u.$C({type:o});static \u0275inj=u.G2t({imports:[Vv,Vv]})}return o})(),gT=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275cmp=u.VBU({type:o,selectors:[["structural-styles"]],decls:0,vars:0,template:function(i,c){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}'],encapsulation:2,changeDetection:0})}return o})();var Ln=function(o){return o[o.FADING_IN=0]="FADING_IN",o[o.VISIBLE=1]="VISIBLE",o[o.FADING_OUT=2]="FADING_OUT",o[o.HIDDEN=3]="HIDDEN",o}(Ln||{});class mT{_renderer;element;config;_animationForciblyDisabledThroughCss;state=Ln.HIDDEN;constructor(a,n,i,c=!1){this._renderer=a,this.element=n,this.config=i,this._animationForciblyDisabledThroughCss=c}fadeOut(){this._renderer.fadeOutRipple(this)}}const $w=Nl({passive:!0,capture:!0});class _T{_events=new Map;addHandler(a,n,i,c){const h=this._events.get(n);if(h){const m=h.get(i);m?m.add(c):h.set(i,new Set([c]))}else this._events.set(n,new Map([[i,new Set([c])]])),a.runOutsideAngular(()=>{document.addEventListener(n,this._delegateEventHandler,$w)})}removeHandler(a,n,i){const c=this._events.get(a);if(!c)return;const h=c.get(n);h&&(h.delete(i),0===h.size&&c.delete(n),0===c.size&&(this._events.delete(a),document.removeEventListener(a,this._delegateEventHandler,$w)))}_delegateEventHandler=a=>{const n=$r(a);n&&this._events.get(a.type)?.forEach((i,c)=>{(c===n||c.contains(n))&&i.forEach(h=>h.handleEvent(a))})}}const Gw={enterDuration:225,exitDuration:150},zw=Nl({passive:!0,capture:!0}),Ww=["mousedown","touchstart"],qw=["mouseup","mouseleave","touchend","touchcancel"];let yT=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275cmp=u.VBU({type:o,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(i,c){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}"],encapsulation:2,changeDetection:0})}return o})();class sd{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new _T;constructor(a,n,i,c,h){this._target=a,this._ngZone=n,this._platform=c,c.isBrowser&&(this._containerElement=Vi(i)),h&&h.get(od).load(yT)}fadeInRipple(a,n,i={}){const c=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),h={...Gw,...i.animation};i.centered&&(a=c.left+c.width/2,n=c.top+c.height/2);const m=i.radius||function aa(o,a,n){const i=Math.max(Math.abs(o-n.left),Math.abs(o-n.right)),c=Math.max(Math.abs(a-n.top),Math.abs(a-n.bottom));return Math.sqrt(i*i+c*c)}(a,n,c),y=a-c.left,b=n-c.top,w=h.enterDuration,x=document.createElement("div");x.classList.add("mat-ripple-element"),x.style.left=y-m+"px",x.style.top=b-m+"px",x.style.height=2*m+"px",x.style.width=2*m+"px",null!=i.color&&(x.style.backgroundColor=i.color),x.style.transitionDuration=`${w}ms`,this._containerElement.appendChild(x);const N=window.getComputedStyle(x),z=N.transitionDuration,Z="none"===N.transitionProperty||"0s"===z||"0s, 0s"===z||0===c.width&&0===c.height,re=new mT(this,x,i,Z);x.style.transform="scale3d(1, 1, 1)",re.state=Ln.FADING_IN,i.persistent||(this._mostRecentTransientRipple=re);let De=null;return!Z&&(w||h.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Re=()=>{De&&(De.fallbackTimer=null),clearTimeout(ir),this._finishRippleTransition(re)},xt=()=>this._destroyRipple(re),ir=setTimeout(xt,w+100);x.addEventListener("transitionend",Re),x.addEventListener("transitioncancel",xt),De={onTransitionEnd:Re,onTransitionCancel:xt,fallbackTimer:ir}}),this._activeRipples.set(re,De),(Z||!w)&&this._finishRippleTransition(re),re}fadeOutRipple(a){if(a.state===Ln.FADING_OUT||a.state===Ln.HIDDEN)return;const n=a.element,i={...Gw,...a.config.animation};n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity="0",a.state=Ln.FADING_OUT,(a._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(a)}fadeOutAll(){this._getActiveRipples().forEach(a=>a.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(a=>{a.config.persistent||a.fadeOut()})}setupTriggerEvents(a){const n=Vi(a);!this._platform.isBrowser||!n||n===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=n,Ww.forEach(i=>{sd._eventManager.addHandler(this._ngZone,i,n,this)}))}handleEvent(a){"mousedown"===a.type?this._onMousedown(a):"touchstart"===a.type?this._onTouchStart(a):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{qw.forEach(n=>{this._triggerElement.addEventListener(n,this,zw)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(a){a.state===Ln.FADING_IN?this._startFadeOutTransition(a):a.state===Ln.FADING_OUT&&this._destroyRipple(a)}_startFadeOutTransition(a){const n=a===this._mostRecentTransientRipple,{persistent:i}=a.config;a.state=Ln.VISIBLE,!i&&(!n||!this._isPointerDown)&&a.fadeOut()}_destroyRipple(a){const n=this._activeRipples.get(a)??null;this._activeRipples.delete(a),this._activeRipples.size||(this._containerRect=null),a===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),a.state=Ln.HIDDEN,null!==n&&(a.element.removeEventListener("transitionend",n.onTransitionEnd),a.element.removeEventListener("transitioncancel",n.onTransitionCancel),null!==n.fallbackTimer&&clearTimeout(n.fallbackTimer)),a.element.remove()}_onMousedown(a){const n=lp(a),i=this._lastTouchStartEvent&&Date.now(){!a.config.persistent&&(a.state===Ln.VISIBLE||a.config.terminateOnPointerUp&&a.state===Ln.FADING_IN)&&a.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const a=this._triggerElement;a&&(Ww.forEach(n=>sd._eventManager.removeHandler(n,a,this)),this._pointerUpEventsRegistered&&(qw.forEach(n=>a.removeEventListener(n,this,zw)),this._pointerUpEventsRegistered=!1))}}const jl=new u.nKC("mat-ripple-global-options");let Kv=(()=>{class o{_elementRef=(0,u.WQX)(u.aKT);_animationMode=(0,u.WQX)(u.bc$,{optional:!0});color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(n){n&&this.fadeOutAllNonPersistent(),this._disabled=n,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(n){this._trigger=n,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){const n=(0,u.WQX)(u.SKi),i=(0,u.WQX)(zo),c=(0,u.WQX)(jl,{optional:!0}),h=(0,u.WQX)(u.zZn);this._globalOptions=c||{},this._rippleRenderer=new sd(this,n,this._elementRef,i,h)}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(n,i=0,c){return"number"==typeof n?this._rippleRenderer.fadeInRipple(n,i,{...this.rippleConfig,...c}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...n})}static \u0275fac=function(i){return new(i||o)};static \u0275dir=u.FsC({type:o,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,c){2&i&&u.AVh("mat-ripple-unbounded",c.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return o})();class mp{_attachedHost;attach(a){return this._attachedHost=a,a.attach(this)}detach(){let a=this._attachedHost;null!=a&&(this._attachedHost=null,a.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(a){this._attachedHost=a}}class Jw extends mp{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(a,n,i,c,h){super(),this.component=a,this.viewContainerRef=n,this.injector=i,this.projectableNodes=h}}class ad extends mp{templateRef;viewContainerRef;context;injector;constructor(a,n,i,c){super(),this.templateRef=a,this.viewContainerRef=n,this.context=i,this.injector=c}get origin(){return this.templateRef.elementRef}attach(a,n=this.context){return this.context=n,super.attach(a)}detach(){return this.context=void 0,super.detach()}}class Xv extends mp{element;constructor(a){super(),this.element=a instanceof u.aKT?a.nativeElement:a}}class ld{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(a){return a instanceof Jw?(this._attachedPortal=a,this.attachComponentPortal(a)):a instanceof ad?(this._attachedPortal=a,this.attachTemplatePortal(a)):this.attachDomPortal&&a instanceof Xv?(this._attachedPortal=a,this.attachDomPortal(a)):void 0}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(a){this._disposeFn=a}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}let Zv=(()=>{class o extends ad{constructor(){super((0,u.WQX)(u.C4Q),(0,u.WQX)(u.c1b))}static \u0275fac=function(i){return new(i||o)};static \u0275dir=u.FsC({type:o,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[u.Vt3]})}return o})(),Yv=(()=>{class o extends ld{_moduleRef=(0,u.WQX)(u.Vns,{optional:!0});_document=(0,u.WQX)(j);_viewContainerRef=(0,u.WQX)(u.c1b);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(n){this.hasAttached()&&!n&&!this._isInitialized||(this.hasAttached()&&super.detach(),n&&super.attach(n),this._attachedPortal=n||null)}attached=new u.bkB;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(n){n.setAttachedHost(this);const i=null!=n.viewContainerRef?n.viewContainerRef:this._viewContainerRef,c=i.createComponent(n.component,{index:i.length,injector:n.injector||i.injector,projectableNodes:n.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return i!==this._viewContainerRef&&this._getRootNode().appendChild(c.hostView.rootNodes[0]),super.setDisposeFn(()=>c.destroy()),this._attachedPortal=n,this._attachedRef=c,this.attached.emit(c),c}attachTemplatePortal(n){n.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=n,this._attachedRef=i,this.attached.emit(i),i}attachDomPortal=n=>{const i=n.element,c=this._document.createComment("dom-portal");n.setAttachedHost(this),i.parentNode.insertBefore(c,i),this._getRootNode().appendChild(i),this._attachedPortal=n,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(i,c)})};_getRootNode(){const n=this._viewContainerRef.element.nativeElement;return n.nodeType===n.ELEMENT_NODE?n:n.parentNode}static \u0275fac=function(i){return new(i||o)};static \u0275dir=u.FsC({type:o,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[u.Vt3]})}return o})();const vp=["addListener","removeListener"],nE=["addEventListener","removeEventListener"],zr=["on","off"];function Dr(o,a,n,i){if((0,ft.T)(n)&&(i=n,n=void 0),i)return Dr(o,a,n).pipe(di(i));const[c,h]=function or(o){return(0,ft.T)(o.addEventListener)&&(0,ft.T)(o.removeEventListener)}(o)?nE.map(m=>y=>o[m](a,y,n)):function ji(o){return(0,ft.T)(o.addListener)&&(0,ft.T)(o.removeListener)}(o)?vp.map(vt(o,a)):function cd(o){return(0,ft.T)(o.on)&&(0,ft.T)(o.off)}(o)?zr.map(vt(o,a)):[];if(!c&&Ua(o))return Dt(m=>Dr(m,a,n))(Ge(o));if(!c)throw new TypeError("Invalid event target");return new at.c(m=>{const y=(...b)=>m.next(1h(y)})}function vt(o,a){return n=>i=>o[n](a,i)}function Jv(o=0,a,n=Vu){let i=-1;return null!=a&&(Vg(a)?n=a:i=a),new at.c(c=>{let h=function la(o){return o instanceof Date&&!isNaN(o)}(o)?+o-n.now():o;h<0&&(h=0);let m=0;return n.schedule(function(){c.closed||(c.next(m++),0<=i?this.schedule(void 0,i):c.complete())},h)})}class Ul extends L.B{constructor(a=1/0,n=1/0,i=F_){super(),this._bufferSize=a,this._windowTime=n,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,a),this._windowTime=Math.max(1,n)}next(a){const{isStopped:n,_buffer:i,_infiniteTimeWindow:c,_timestampProvider:h,_windowTime:m}=this;n||(i.push(a),!c&&i.push(h.now()+m)),this._trimBuffer(),super.next(a)}_subscribe(a){this._throwIfClosed(),this._trimBuffer();const n=this._innerSubscribe(a),{_infiniteTimeWindow:i,_buffer:c}=this,h=c.slice();for(let m=0;mthis._resizeSubject.next(n)))}observe(a){return this._elementObservables.has(a)||this._elementObservables.set(a,new at.c(n=>{const i=this._resizeSubject.subscribe(n);return this._resizeObserver?.observe(a,{box:this._box}),()=>{this._resizeObserver?.unobserve(a),i.unsubscribe(),this._elementObservables.delete(a)}}).pipe((0,En.p)(n=>n.some(i=>i.target===a)),function yp(o,a,n){let i,c=!1;return o&&"object"==typeof o?({bufferSize:i=1/0,windowTime:a=1/0,refCount:c=!1,scheduler:n}=o):i=o??1/0,N_({connector:()=>new Ul(i,a,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:c})}({bufferSize:1,refCount:!0}),tn(this._destroyed))),this._elementObservables.get(a)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let oE=(()=>{class o{_observers=new Map;_ngZone=(0,u.WQX)(u.SKi);constructor(){}ngOnDestroy(){for(const[,n]of this._observers)n.destroy();this._observers.clear()}observe(n,i){const c=i?.box||"content-box";return this._observers.has(c)||this._observers.set(c,new ey(c)),this._observers.get(c).observe(n)}static \u0275fac=function(i){return new(i||o)};static \u0275prov=u.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();const Hl={schedule(o){let a=requestAnimationFrame,n=cancelAnimationFrame;const{delegate:i}=Hl;i&&(a=i.requestAnimationFrame,n=i.cancelAnimationFrame);const c=a(h=>{n=void 0,o(h)});return new wn.yU(()=>n?.(c))},requestAnimationFrame(...o){const{delegate:a}=Hl;return(a?.requestAnimationFrame||requestAnimationFrame)(...o)},cancelAnimationFrame(...o){const{delegate:a}=Hl;return(a?.cancelAnimationFrame||cancelAnimationFrame)(...o)},delegate:void 0};new class iE extends Pu{flush(a){this._active=!0;const n=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let c;a=a||i.shift();do{if(c=a.execute(a.state,a.delay))break}while((a=i[0])&&a.id===n&&i.shift());if(this._active=!1,c){for(;(a=i[0])&&a.id===n&&i.shift();)a.unsubscribe();throw c}}}(class ud extends Al{constructor(a,n){super(a,n),this.scheduler=a,this.work=n}requestAsyncId(a,n,i=0){return null!==i&&i>0?super.requestAsyncId(a,n,i):(a.actions.push(this),a._scheduled||(a._scheduled=Hl.requestAnimationFrame(()=>a.flush(void 0))))}recycleAsyncId(a,n,i=0){var c;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(a,n,i);const{actions:h}=a;null!=n&&(null===(c=h[h.length-1])||void 0===c?void 0:c.id)!==n&&(Hl.cancelAnimationFrame(n),a._scheduled=void 0)}});let fd,dd=1;const hd={};function ty(o){return o in hd&&(delete hd[o],!0)}const LT={setImmediate(o){const a=dd++;return hd[a]=!0,fd||(fd=Promise.resolve()),fd.then(()=>ty(a)&&o()),a},clearImmediate(o){ty(o)}},{setImmediate:bp,clearImmediate:aE}=LT,wr={setImmediate(...o){const{delegate:a}=wr;return(a?.setImmediate||bp)(...o)},clearImmediate(o){const{delegate:a}=wr;return(a?.clearImmediate||aE)(o)},delegate:void 0};new class ny extends Pu{flush(a){this._active=!0;const n=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let c;a=a||i.shift();do{if(c=a.execute(a.state,a.delay))break}while((a=i[0])&&a.id===n&&i.shift());if(this._active=!1,c){for(;(a=i[0])&&a.id===n&&i.shift();)a.unsubscribe();throw c}}}(class lE extends Al{constructor(a,n){super(a,n),this.scheduler=a,this.work=n}requestAsyncId(a,n,i=0){return null!==i&&i>0?super.requestAsyncId(a,n,i):(a.actions.push(this),a._scheduled||(a._scheduled=wr.setImmediate(a.flush.bind(a,void 0))))}recycleAsyncId(a,n,i=0){var c;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(a,n,i);const{actions:h}=a;null!=n&&(null===(c=h[h.length-1])||void 0===c?void 0:c.id)!==n&&(wr.clearImmediate(n),a._scheduled===n&&(a._scheduled=void 0))}});function Ui(o,a=Lu){return function ry(o){return(0,mt.N)((a,n)=>{let i=!1,c=null,h=null,m=!1;const y=()=>{if(h?.unsubscribe(),h=null,i){i=!1;const w=c;c=null,n.next(w)}m&&n.complete()},b=()=>{h=null,m&&n.complete()};a.subscribe((0,rt._)(n,w=>{i=!0,c=w,h||Ge(o(w)).subscribe(h=(0,rt._)(n,y,b))},()=>{m=!0,(!i||!h||h.closed)&&n.complete()}))})}(()=>Jv(o,a))}let Cp=(()=>{class o{_ngZone=(0,u.WQX)(u.SKi);_platform=(0,u.WQX)(zo);_document=(0,u.WQX)(j,{optional:!0});constructor(){}_scrolled=new L.B;_globalSubscription=null;_scrolledCount=0;scrollContainers=new Map;register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){const i=this.scrollContainers.get(n);i&&(i.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=20){return this._platform.isBrowser?new at.c(i=>{this._globalSubscription||this._addGlobalListener();const c=n>0?this._scrolled.pipe(Ui(n)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{c.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):ge()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((n,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(n,i){const c=this.getAncestorScrollContainers(n);return this.scrolled(i).pipe((0,En.p)(h=>!h||c.indexOf(h)>-1))}getAncestorScrollContainers(n){const i=[];return this.scrollContainers.forEach((c,h)=>{this._scrollableContainsElement(h,n)&&i.push(h)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(n,i){let c=Vi(i),h=n.getElementRef().nativeElement;do{if(c==h)return!0}while(c=c.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Dr(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static \u0275fac=function(i){return new(i||o)};static \u0275prov=u.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),Hi=(()=>{class o{elementRef=(0,u.WQX)(u.aKT);scrollDispatcher=(0,u.WQX)(Cp);ngZone=(0,u.WQX)(u.SKi);dir=(0,u.WQX)(fp,{optional:!0});_destroyed=new L.B;_elementScrolled=new at.c(n=>this.ngZone.runOutsideAngular(()=>Dr(this.elementRef.nativeElement,"scroll").pipe(tn(this._destroyed)).subscribe(n)));constructor(){}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(n){const i=this.elementRef.nativeElement,c=this.dir&&"rtl"==this.dir.value;null==n.left&&(n.left=c?n.end:n.start),null==n.right&&(n.right=c?n.start:n.end),null!=n.bottom&&(n.top=i.scrollHeight-i.clientHeight-n.bottom),c&&Wo()!=Hr.NORMAL?(null!=n.left&&(n.right=i.scrollWidth-i.clientWidth-n.left),Wo()==Hr.INVERTED?n.left=n.right:Wo()==Hr.NEGATED&&(n.left=n.right?-n.right:n.right)):null!=n.right&&(n.left=i.scrollWidth-i.clientWidth-n.right),this._applyScrollToOptions(n)}_applyScrollToOptions(n){const i=this.elementRef.nativeElement;!function qh(){if(null==Cr){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Cr=!1,Cr;if("scrollBehavior"in document.documentElement.style)Cr=!0;else{const o=Element.prototype.scrollTo;Cr=!!o&&!/\{\s*\[native code\]\s*\}/.test(o.toString())}}return Cr}()?(null!=n.top&&(i.scrollTop=n.top),null!=n.left&&(i.scrollLeft=n.left)):i.scrollTo(n)}measureScrollOffset(n){const i="left",c="right",h=this.elementRef.nativeElement;if("top"==n)return h.scrollTop;if("bottom"==n)return h.scrollHeight-h.clientHeight-h.scrollTop;const m=this.dir&&"rtl"==this.dir.value;return"start"==n?n=m?c:i:"end"==n&&(n=m?i:c),m&&Wo()==Hr.INVERTED?n==i?h.scrollWidth-h.clientWidth-h.scrollLeft:h.scrollLeft:m&&Wo()==Hr.NEGATED?n==i?h.scrollLeft+h.scrollWidth-h.clientWidth:-h.scrollLeft:n==i?h.scrollLeft:h.scrollWidth-h.clientWidth-h.scrollLeft}static \u0275fac=function(i){return new(i||o)};static \u0275dir=u.FsC({type:o,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return o})(),Dp=(()=>{class o{_platform=(0,u.WQX)(zo);_viewportSize;_change=new L.B;_changeListener=n=>{this._change.next(n)};_document=(0,u.WQX)(j,{optional:!0});constructor(){(0,u.WQX)(u.SKi).runOutsideAngular(()=>{if(this._platform.isBrowser){const i=this._getWindow();i.addEventListener("resize",this._changeListener),i.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const n=this._getWindow();n.removeEventListener("resize",this._changeListener),n.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){const n=this.getViewportScrollPosition(),{width:i,height:c}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+c,right:n.left+i,height:c,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const n=this._document,i=this._getWindow(),c=n.documentElement,h=c.getBoundingClientRect();return{top:-h.top||n.body.scrollTop||i.scrollY||c.scrollTop||0,left:-h.left||n.body.scrollLeft||i.scrollX||c.scrollLeft||0}}change(n=20){return n>0?this._change.pipe(Ui(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}static \u0275fac=function(i){return new(i||o)};static \u0275prov=u.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),gE=(()=>{class o{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}static \u0275fac=function(i){return new(i||o)};static \u0275prov=u.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),Ep=(()=>{class o{_mutationObserverFactory=(0,u.WQX)(gE);_observedElements=new Map;_ngZone=(0,u.WQX)(u.SKi);constructor(){}ngOnDestroy(){this._observedElements.forEach((n,i)=>this._cleanupObserver(i))}observe(n){const i=Vi(n);return new at.c(c=>{const m=this._observeElement(i).pipe((0,Te.T)(y=>y.filter(b=>!function wp(o){if("characterData"===o.type&&o.target instanceof Comment)return!0;if("childList"===o.type){for(let a=0;a!!y.length)).subscribe(y=>{this._ngZone.run(()=>{c.next(y)})});return()=>{m.unsubscribe(),this._unobserveElement(i)}})}_observeElement(n){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(n))this._observedElements.get(n).count++;else{const i=new L.B,c=this._mutationObserverFactory.create(h=>i.next(h));c&&c.observe(n,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(n,{observer:c,stream:i,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:i,stream:c}=this._observedElements.get(n);i&&i.disconnect(),c.complete(),this._observedElements.delete(n)}}static \u0275fac=function(i){return new(i||o)};static \u0275prov=u.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),mE=(()=>{class o{_contentObserver=(0,u.WQX)(Ep);_elementRef=(0,u.WQX)(u.aKT);event=new u.bkB;get disabled(){return this._disabled}set disabled(n){this._disabled=n,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(n){this._debounce=function cv(o,a=0){return function uv(o){return!isNaN(parseFloat(o))&&!isNaN(Number(o))}(o)?Number(o):2===arguments.length?a:0}(n),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const n=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?n.pipe(Oi(this.debounce)):n).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||o)};static \u0275dir=u.FsC({type:o,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",u.L39],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],features:[u.GFd]})}return o})();var mn=M(969);const Wl=["*"];function _E(o,a){1&o&&u.SdG(0)}const vE=["tabListContainer"],yE=["tabList"],bE=["tabListInner"],CE=["nextPaginator"],DE=["previousPaginator"],wE=o=>({animationDuration:o}),EE=(o,a)=>({value:o,params:a});function IE(o,a){}const ME=["tabBodyWrapper"],TE=["tabHeader"];function SE(o,a){}function xE(o,a){if(1&o&&u.DNE(0,SE,0,0,"ng-template",12),2&o){const n=u.XpG().$implicit;u.Y8G("cdkPortalOutlet",n.templateLabel)}}function AE(o,a){if(1&o&&u.EFF(0),2&o){const n=u.XpG().$implicit;u.JRh(n.textLabel)}}function RE(o,a){if(1&o){const n=u.RV6();u.j41(0,"div",7,2),u.bIt("click",function(){const c=u.eBV(n),h=c.$implicit,m=c.$index,y=u.XpG(),b=u.sdS(1);return u.Njj(y._handleClick(h,b,m))})("cdkFocusChange",function(c){const h=u.eBV(n).$index,m=u.XpG();return u.Njj(m._tabFocusChanged(c,h))}),u.nrm(2,"span",8)(3,"div",9),u.j41(4,"span",10)(5,"span",11),u.DNE(6,xE,1,1,null,12)(7,AE,1,1),u.k0s()()()}if(2&o){const n=a.$implicit,i=a.$index,c=u.sdS(1),h=u.XpG();u.HbH(n.labelClass),u.AVh("mdc-tab--active",h.selectedIndex===i),u.Y8G("id",h._getTabLabelId(i))("disabled",n.disabled)("fitInkBarToContent",h.fitInkBarToContent),u.BMQ("tabIndex",h._getTabIndex(i))("aria-posinset",i+1)("aria-setsize",h._tabs.length)("aria-controls",h._getTabContentId(i))("aria-selected",h.selectedIndex===i)("aria-label",n.ariaLabel||null)("aria-labelledby",!n.ariaLabel&&n.ariaLabelledby?n.ariaLabelledby:null),u.R7$(3),u.Y8G("matRippleTrigger",c)("matRippleDisabled",n.disabled||h.disableRipple),u.R7$(3),u.vxM(n.templateLabel?6:7)}}function NE(o,a){1&o&&u.SdG(0)}function OE(o,a){if(1&o){const n=u.RV6();u.j41(0,"mat-tab-body",13),u.bIt("_onCentered",function(){u.eBV(n);const c=u.XpG();return u.Njj(c._removeTabBodyWrapperHeight())})("_onCentering",function(c){u.eBV(n);const h=u.XpG();return u.Njj(h._setTabBodyWrapperHeight(c))}),u.k0s()}if(2&o){const n=a.$implicit,i=a.$index,c=u.XpG();u.HbH(n.bodyClass),u.AVh("mat-mdc-tab-body-active",c.selectedIndex===i),u.Y8G("id",c._getTabContentId(i))("content",n.content)("position",n.position)("origin",n.origin)("animationDuration",c.animationDuration)("preserveContent",c.preserveContent),u.BMQ("tabindex",null!=c.contentTabIndex&&c.selectedIndex===i?c.contentTabIndex:null)("aria-labelledby",c._getTabLabelId(i))("aria-hidden",c.selectedIndex!==i)}}const kE=new u.nKC("MatTabContent");let FE=(()=>{class o{template=(0,u.WQX)(u.C4Q);constructor(){}static \u0275fac=function(i){return new(i||o)};static \u0275dir=u.FsC({type:o,selectors:[["","matTabContent",""]],features:[u.Jv_([{provide:kE,useExisting:o}])]})}return o})();const PE=new u.nKC("MatTabLabel"),ly=new u.nKC("MAT_TAB");let Ip=(()=>{class o extends Zv{_closestTab=(0,u.WQX)(ly,{optional:!0});static \u0275fac=(()=>{let n;return function(c){return(n||(n=u.xGo(o)))(c||o)}})();static \u0275dir=u.FsC({type:o,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[u.Jv_([{provide:PE,useExisting:o}]),u.Vt3]})}return o})();const zi=new u.nKC("MAT_TAB_GROUP");let Qo=(()=>{class o{_viewContainerRef=(0,u.WQX)(u.c1b);_closestTabGroup=(0,u.WQX)(zi,{optional:!0});disabled=!1;get templateLabel(){return this._templateLabel}set templateLabel(n){this._setTemplateLabelInput(n)}_templateLabel;_explicitContent=void 0;_implicitContent;textLabel="";ariaLabel;ariaLabelledby;labelClass;bodyClass;_contentPortal=null;get content(){return this._contentPortal}_stateChanges=new L.B;position=null;origin=null;isActive=!1;constructor(){(0,u.WQX)(od).load(gT)}ngOnChanges(n){(n.hasOwnProperty("textLabel")||n.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new ad(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(n){n&&n._closestTab===this&&(this._templateLabel=n)}static \u0275fac=function(i){return new(i||o)};static \u0275cmp=u.VBU({type:o,selectors:[["mat-tab"]],contentQueries:function(i,c,h){if(1&i&&(u.wni(h,Ip,5),u.wni(h,FE,7,u.C4Q)),2&i){let m;u.mGM(m=u.lsd())&&(c.templateLabel=m.first),u.mGM(m=u.lsd())&&(c._explicitContent=m.first)}},viewQuery:function(i,c){if(1&i&&u.GBs(u.C4Q,7),2&i){let h;u.mGM(h=u.lsd())&&(c._implicitContent=h.first)}},hostAttrs:["hidden",""],inputs:{disabled:[2,"disabled","disabled",u.L39],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[u.Jv_([{provide:ly,useExisting:o}]),u.GFd,u.OA$],ngContentSelectors:Wl,decls:1,vars:0,template:function(i,c){1&i&&(u.NAR(),u.DNE(0,_E,1,0,"ng-template"))},encapsulation:2})}return o})();const Xo="mdc-tab-indicator--active",Wi="mdc-tab-indicator--no-transition";class ca{_items;_currentItem;constructor(a){this._items=a}hide(){this._items.forEach(a=>a.deactivateInkBar())}alignToElement(a){const n=this._items.find(c=>c.elementRef.nativeElement===a),i=this._currentItem;if(n!==i&&(i?.deactivateInkBar(),n)){const c=i?.elementRef.nativeElement.getBoundingClientRect?.();n.activateInkBar(c),this._currentItem=n}}}let ua=(()=>{class o{_elementRef=(0,u.WQX)(u.aKT);_inkBarElement;_inkBarContentElement;_fitToContent=!1;get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(n){this._fitToContent!==n&&(this._fitToContent=n,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(n){const i=this._elementRef.nativeElement;if(!n||!i.getBoundingClientRect||!this._inkBarContentElement)return void i.classList.add(Xo);const c=i.getBoundingClientRect(),h=n.width/c.width,m=n.left-c.left;i.classList.add(Wi),this._inkBarContentElement.style.setProperty("transform",`translateX(${m}px) scaleX(${h})`),i.getBoundingClientRect(),i.classList.remove(Wi),i.classList.add(Xo),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(Xo)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const n=this._elementRef.nativeElement.ownerDocument||document,i=this._inkBarElement=n.createElement("span"),c=this._inkBarContentElement=n.createElement("span");i.className="mdc-tab-indicator",c.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",i.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement).appendChild(this._inkBarElement)}static \u0275fac=function(i){return new(i||o)};static \u0275dir=u.FsC({type:o,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",u.L39]},features:[u.GFd]})}return o})(),qi=(()=>{class o extends ua{elementRef=(0,u.WQX)(u.aKT);disabled=!1;focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static \u0275fac=(()=>{let n;return function(c){return(n||(n=u.xGo(o)))(c||o)}})();static \u0275dir=u.FsC({type:o,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(i,c){2&i&&(u.BMQ("aria-disabled",!!c.disabled),u.AVh("mat-mdc-tab-disabled",c.disabled))},inputs:{disabled:[2,"disabled","disabled",u.L39]},features:[u.GFd,u.Vt3]})}return o})();const Mp=Nl({passive:!0});let dy=(()=>{class o{_elementRef=(0,u.WQX)(u.aKT);_changeDetectorRef=(0,u.WQX)(u.gRc);_viewportRuler=(0,u.WQX)(Dp);_dir=(0,u.WQX)(fp,{optional:!0});_ngZone=(0,u.WQX)(u.SKi);_platform=(0,u.WQX)(zo);_animationMode=(0,u.WQX)(u.bc$,{optional:!0});_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new L.B;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged;_keyManager;_currentTextContent;_stopScrolling=new L.B;disablePagination=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(n){const i=isNaN(n)?0:n;this._selectedIndex!=i&&(this._selectedIndexChanged=!0,this._selectedIndex=i,this._keyManager&&this._keyManager.updateActiveItem(i))}_selectedIndex=0;selectFocusedIndex=new u.bkB;indexFocused=new u.bkB;_sharedResizeObserver=(0,u.WQX)(oE);_injector=(0,u.WQX)(u.zZn);constructor(){this._ngZone.runOutsideAngular(()=>{Dr(this._elementRef.nativeElement,"mouseleave").pipe(tn(this._destroyed)).subscribe(()=>this._stopInterval())})}ngAfterViewInit(){Dr(this._previousPaginator.nativeElement,"touchstart",Mp).pipe(tn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Dr(this._nextPaginator.nativeElement,"touchstart",Mp).pipe(tn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const n=this._dir?this._dir.change:ge("ltr"),i=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(Oi(32),tn(this._destroyed)),c=this._viewportRuler.change(150).pipe(tn(this._destroyed)),h=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Yu(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),(0,u.mal)(h,{injector:this._injector}),Ou(n,c,i,this._items.changes,this._itemsResized()).pipe(tn(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),h()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(m=>{this.indexFocused.emit(m),this._setTabFocus(m)})}_itemsResized(){return"function"!=typeof ResizeObserver?hn.w:this._items.changes.pipe(ys(this._items),_r(n=>new at.c(i=>this._ngZone.runOutsideAngular(()=>{const c=new ResizeObserver(h=>i.next(h));return n.forEach(h=>c.observe(h.elementRef.nativeElement)),()=>{c.disconnect()}}))),Ll(1),(0,En.p)(n=>n.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(n){if(!Pl(n))switch(n.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){const i=this._items.get(this.focusIndex);i&&!i.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(n))}break;default:this._keyManager.onKeydown(n)}}_onContentChanges(){const n=this._elementRef.nativeElement.textContent;n!==this._currentTextContent&&(this._currentTextContent=n||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(n){!this._isValidIndex(n)||this.focusIndex===n||!this._keyManager||this._keyManager.setActiveItem(n)}_isValidIndex(n){return!this._items||!!this._items.toArray()[n]}_setTabFocus(n){if(this._showPaginationControls&&this._scrollToLabel(n),this._items&&this._items.length){this._items.toArray()[n].focus();const i=this._tabListContainer.nativeElement;i.scrollLeft="ltr"==this._getLayoutDirection()?0:i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const n=this.scrollDistance,i="ltr"===this._getLayoutDirection()?-n:n;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(n){this._scrollTo(n)}_scrollHeader(n){return this._scrollTo(this._scrollDistance+("before"==n?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(n){this._stopInterval(),this._scrollHeader(n)}_scrollToLabel(n){if(this.disablePagination)return;const i=this._items?this._items.toArray()[n]:null;if(!i)return;const c=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:h,offsetWidth:m}=i.elementRef.nativeElement;let y,b;"ltr"==this._getLayoutDirection()?(y=h,b=y+m):(b=this._tabListInner.nativeElement.offsetWidth-h,y=b-m);const w=this.scrollDistance,x=this.scrollDistance+c;yx&&(this.scrollDistance+=Math.min(b-x,y-w))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const c=this._tabListInner.nativeElement.scrollWidth-this._elementRef.nativeElement.offsetWidth>=5;c||(this.scrollDistance=0),c!==this._showPaginationControls&&(this._showPaginationControls=c,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const n=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=n?n.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(n,i){i&&null!=i.button&&0!==i.button||(this._stopInterval(),Jv(650,100).pipe(tn(Ou(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:c,distance:h}=this._scrollHeader(n);(0===h||h>=c)&&this._stopInterval()}))}_scrollTo(n){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,n)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}static \u0275fac=function(i){return new(i||o)};static \u0275dir=u.FsC({type:o,inputs:{disablePagination:[2,"disablePagination","disablePagination",u.L39],selectedIndex:[2,"selectedIndex","selectedIndex",u.Udg]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[u.GFd]})}return o})(),fy=(()=>{class o extends dy{_items;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;ariaLabel;ariaLabelledby;disableRipple=!1;ngAfterContentInit(){this._inkBar=new ca(this._items),super.ngAfterContentInit()}_itemSelected(n){n.preventDefault()}static \u0275fac=(()=>{let n;return function(c){return(n||(n=u.xGo(o)))(c||o)}})();static \u0275cmp=u.VBU({type:o,selectors:[["mat-tab-header"]],contentQueries:function(i,c,h){if(1&i&&u.wni(h,qi,4),2&i){let m;u.mGM(m=u.lsd())&&(c._items=m)}},viewQuery:function(i,c){if(1&i&&(u.GBs(vE,7),u.GBs(yE,7),u.GBs(bE,7),u.GBs(CE,5),u.GBs(DE,5)),2&i){let h;u.mGM(h=u.lsd())&&(c._tabListContainer=h.first),u.mGM(h=u.lsd())&&(c._tabList=h.first),u.mGM(h=u.lsd())&&(c._tabListInner=h.first),u.mGM(h=u.lsd())&&(c._nextPaginator=h.first),u.mGM(h=u.lsd())&&(c._previousPaginator=h.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(i,c){2&i&&u.AVh("mat-mdc-tab-header-pagination-controls-enabled",c._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==c._getLayoutDirection())},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",u.L39]},features:[u.GFd,u.Vt3],ngContentSelectors:Wl,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(i,c){if(1&i){const h=u.RV6();u.NAR(),u.j41(0,"div",5,0),u.bIt("click",function(){return u.eBV(h),u.Njj(c._handlePaginatorClick("before"))})("mousedown",function(y){return u.eBV(h),u.Njj(c._handlePaginatorPress("before",y))})("touchend",function(){return u.eBV(h),u.Njj(c._stopInterval())}),u.nrm(2,"div",6),u.k0s(),u.j41(3,"div",7,1),u.bIt("keydown",function(y){return u.eBV(h),u.Njj(c._handleKeydown(y))}),u.j41(5,"div",8,2),u.bIt("cdkObserveContent",function(){return u.eBV(h),u.Njj(c._onContentChanges())}),u.j41(7,"div",9,3),u.SdG(9),u.k0s()()(),u.j41(10,"div",10,4),u.bIt("mousedown",function(y){return u.eBV(h),u.Njj(c._handlePaginatorPress("after",y))})("click",function(){return u.eBV(h),u.Njj(c._handlePaginatorClick("after"))})("touchend",function(){return u.eBV(h),u.Njj(c._stopInterval())}),u.nrm(12,"div",6),u.k0s()}2&i&&(u.AVh("mat-mdc-tab-header-pagination-disabled",c._disableScrollBefore),u.Y8G("matRippleDisabled",c._disableScrollBefore||c.disableRipple),u.R7$(3),u.AVh("_mat-animation-noopable","NoopAnimations"===c._animationMode),u.R7$(2),u.BMQ("aria-label",c.ariaLabel||null)("aria-labelledby",c.ariaLabelledby||null),u.R7$(5),u.AVh("mat-mdc-tab-header-pagination-disabled",c._disableScrollAfter),u.Y8G("matRippleDisabled",c._disableScrollAfter||c.disableRipple))},dependencies:[Kv,mE],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height, 1px);border-bottom-color:var(--mat-tab-header-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height, 1px);border-top-color:var(--mat-tab-header-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-labels,.mat-mdc-tab-labels.cdk-drop-list{min-height:var(--mdc-secondary-navigation-tab-container-height, 48px)}.mat-mdc-tab::before{margin:5px}@media(forced-colors: active){.mat-mdc-tab[aria-disabled=true]{color:GrayText}}"],encapsulation:2})}return o})();const hy=new u.nKC("MAT_TABS_CONFIG"),py={translateTab:(0,mn.hZ)("translateTab",[(0,mn.wk)("center, void, left-origin-center, right-origin-center",(0,mn.iF)({transform:"none",visibility:"visible"})),(0,mn.wk)("left",(0,mn.iF)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,mn.wk)("right",(0,mn.iF)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,mn.kY)("* => left, * => right, left => center, right => center",(0,mn.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,mn.kY)("void => left-origin-center",[(0,mn.iF)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,mn.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,mn.kY)("void => right-origin-center",[(0,mn.iF)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,mn.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let gy=(()=>{class o extends Yv{_host=(0,u.WQX)(Tp);_centeringSub=wn.yU.EMPTY;_leavingSub=wn.yU.EMPTY;constructor(){super()}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(ys(this._host._isCenterPosition(this._host._position))).subscribe(n=>{this._host._content&&n&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static \u0275fac=function(i){return new(i||o)};static \u0275dir=u.FsC({type:o,selectors:[["","matTabBodyHost",""]],features:[u.Vt3]})}return o})(),Tp=(()=>{class o{_elementRef=(0,u.WQX)(u.aKT);_dir=(0,u.WQX)(fp,{optional:!0});_positionIndex;_dirChangeSubscription=wn.yU.EMPTY;_position;_translateTabComplete=new L.B;_onCentering=new u.bkB;_beforeCentering=new u.bkB;_afterLeavingCenter=new u.bkB;_onCentered=new u.bkB(!0);_portalHost;_content;origin;animationDuration="500ms";preserveContent=!1;set position(n){this._positionIndex=n,this._computePositionAnimationState()}constructor(){if(this._dir){const n=(0,u.WQX)(u.gRc);this._dirChangeSubscription=this._dir.change.subscribe(i=>{this._computePositionAnimationState(i),n.markForCheck()})}this._translateTabComplete.subscribe(n=>{this._isCenterPosition(n.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(n.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(n){const i=this._isCenterPosition(n.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(n){return"center"==n||"left-origin-center"==n||"right-origin-center"==n}_computePositionAnimationState(n=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==n?"left":"right":this._positionIndex>0?"ltr"==n?"right":"left":"center"}_computePositionFromOrigin(n){const i=this._getLayoutDirection();return"ltr"==i&&n<=0||"rtl"==i&&n>0?"left-origin-center":"right-origin-center"}static \u0275fac=function(i){return new(i||o)};static \u0275cmp=u.VBU({type:o,selectors:[["mat-tab-body"]],viewQuery:function(i,c){if(1&i&&u.GBs(Yv,5),2&i){let h;u.mGM(h=u.lsd())&&(c._portalHost=h.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[0,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(i,c){if(1&i){const h=u.RV6();u.j41(0,"div",1,0),u.bIt("@translateTab.start",function(y){return u.eBV(h),u.Njj(c._onTranslateTabStarted(y))})("@translateTab.done",function(y){return u.eBV(h),u.Njj(c._translateTabComplete.next(y))}),u.DNE(2,IE,0,0,"ng-template",2),u.k0s()}2&i&&u.Y8G("@translateTab",u.l_i(3,EE,c._position,u.eq3(1,wE,c.animationDuration)))},dependencies:[gy,Hi],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[py.translateTab]}})}return o})(),vo=(()=>{class o{_elementRef=(0,u.WQX)(u.aKT);_changeDetectorRef=(0,u.WQX)(u.gRc);_animationMode=(0,u.WQX)(u.bc$,{optional:!0});_allTabs;_tabBodyWrapper;_tabHeader;_tabs=new u.rOR;_indexToSelect=0;_lastFocusedTabIndex=null;_tabBodyWrapperHeight=0;_tabsSubscription=wn.yU.EMPTY;_tabLabelSubscription=wn.yU.EMPTY;color;get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(n){this._fitInkBarToContent=n,this._changeDetectorRef.markForCheck()}_fitInkBarToContent=!1;stretchTabs=!0;alignTabs=null;dynamicHeight=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(n){this._indexToSelect=isNaN(n)?null:n}_selectedIndex=null;headerPosition="above";get animationDuration(){return this._animationDuration}set animationDuration(n){const i=n+"";this._animationDuration=/^\d+$/.test(i)?n+"ms":i}_animationDuration;get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(n){this._contentTabIndex=isNaN(n)?null:n}_contentTabIndex;disablePagination=!1;disableRipple=!1;preserveContent=!1;get backgroundColor(){return this._backgroundColor}set backgroundColor(n){const i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),n&&i.add("mat-tabs-with-background",`mat-background-${n}`),this._backgroundColor=n}_backgroundColor;ariaLabel;ariaLabelledby;selectedIndexChange=new u.bkB;focusChange=new u.bkB;animationDone=new u.bkB;selectedTabChange=new u.bkB(!0);_groupId;_isServer=!(0,u.WQX)(zo).isBrowser;constructor(){const n=(0,u.WQX)(hy,{optional:!0});this._groupId=(0,u.WQX)(Rw).getId("mat-tab-group-"),this.animationDuration=n&&n.animationDuration?n.animationDuration:"500ms",this.disablePagination=!(!n||null==n.disablePagination)&&n.disablePagination,this.dynamicHeight=!(!n||null==n.dynamicHeight)&&n.dynamicHeight,null!=n?.contentTabIndex&&(this.contentTabIndex=n.contentTabIndex),this.preserveContent=!!n?.preserveContent,this.fitInkBarToContent=!(!n||null==n.fitInkBarToContent)&&n.fitInkBarToContent,this.stretchTabs=!n||null==n.stretchTabs||n.stretchTabs,this.alignTabs=n&&null!=n.alignTabs?n.alignTabs:null}ngAfterContentChecked(){const n=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=n){const i=null==this._selectedIndex;if(!i){this.selectedTabChange.emit(this._createChangeEvent(n));const c=this._tabBodyWrapper.nativeElement;c.style.minHeight=c.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((c,h)=>c.isActive=h===n),i||(this.selectedIndexChange.emit(n),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,c)=>{i.position=c-n,null!=this._selectedIndex&&0==i.position&&!i.origin&&(i.origin=n-this._selectedIndex)}),this._selectedIndex!==n&&(this._selectedIndex=n,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const n=this._clampTabIndex(this._indexToSelect);if(n===this._selectedIndex){const i=this._tabs.toArray();let c;for(let h=0;h{i[n].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(n))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(ys(this._allTabs)).subscribe(n=>{this._tabs.reset(n.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(n){const i=this._tabHeader;i&&(i.focusIndex=n)}_focusChanged(n){this._lastFocusedTabIndex=n,this.focusChange.emit(this._createChangeEvent(n))}_createChangeEvent(n){const i=new LE;return i.index=n,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[n]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Ou(...this._tabs.map(n=>n._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(n){return Math.min(this._tabs.length-1,Math.max(n||0,0))}_getTabLabelId(n){return`${this._groupId}-label-${n}`}_getTabContentId(n){return`${this._groupId}-content-${n}`}_setTabBodyWrapperHeight(n){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return;const i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=n+"px")}_removeTabBodyWrapperHeight(){const n=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=n.clientHeight,n.style.height="",this.animationDone.emit()}_handleClick(n,i,c){i.focusIndex=c,n.disabled||(this.selectedIndex=c)}_getTabIndex(n){return n===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(n,i){n&&"mouse"!==n&&"touch"!==n&&(this._tabHeader.focusIndex=i)}static \u0275fac=function(i){return new(i||o)};static \u0275cmp=u.VBU({type:o,selectors:[["mat-tab-group"]],contentQueries:function(i,c,h){if(1&i&&u.wni(h,Qo,5),2&i){let m;u.mGM(m=u.lsd())&&(c._allTabs=m)}},viewQuery:function(i,c){if(1&i&&(u.GBs(ME,5),u.GBs(TE,5)),2&i){let h;u.mGM(h=u.lsd())&&(c._tabBodyWrapper=h.first),u.mGM(h=u.lsd())&&(c._tabHeader=h.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:11,hostBindings:function(i,c){2&i&&(u.BMQ("mat-align-tabs",c.alignTabs),u.HbH("mat-"+(c.color||"primary")),u.xc7("--mat-tab-animation-duration",c.animationDuration),u.AVh("mat-mdc-tab-group-dynamic-height",c.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===c.headerPosition)("mat-mdc-tab-group-stretch-tabs",c.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",u.L39],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",u.L39],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",u.L39],selectedIndex:[2,"selectedIndex","selectedIndex",u.Udg],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",u.Udg],disablePagination:[2,"disablePagination","disablePagination",u.L39],disableRipple:[2,"disableRipple","disableRipple",u.L39],preserveContent:[2,"preserveContent","preserveContent",u.L39],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[u.Jv_([{provide:zi,useExisting:o}]),u.GFd],ngContentSelectors:Wl,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","id","content","position","origin","animationDuration","preserveContent"]],template:function(i,c){if(1&i){const h=u.RV6();u.NAR(),u.j41(0,"mat-tab-header",3,0),u.bIt("indexFocused",function(y){return u.eBV(h),u.Njj(c._focusChanged(y))})("selectFocusedIndex",function(y){return u.eBV(h),u.Njj(c.selectedIndex=y)}),u.Z7z(2,RE,8,17,"div",4,u.fX1),u.k0s(),u.DNE(4,NE,1,0),u.j41(5,"div",5,1),u.Z7z(7,OE,1,13,"mat-tab-body",6,u.fX1),u.k0s()}2&i&&(u.Y8G("selectedIndex",c.selectedIndex||0)("disableRipple",c.disableRipple)("disablePagination",c.disablePagination)("aria-label",c.ariaLabel)("aria-labelledby",c.ariaLabelledby),u.R7$(2),u.Dyx(c._tabs),u.R7$(2),u.vxM(c._isServer?4:-1),u.R7$(),u.AVh("_mat-animation-noopable","NoopAnimations"===c._animationMode),u.R7$(2),u.Dyx(c._tabs))},dependencies:[fy,qi,oa,Kv,Yv,Tp],styles:['.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height, 48px);font-family:var(--mat-tab-header-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-sys-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-sys-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height, 2px);border-radius:var(--mdc-tab-indicator-active-indicator-shape, 0)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-sys-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}return o})();class LE{index;tab}let gd=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=u.$C({type:o});static \u0275inj=u.G2t({imports:[$v,$v]})}return o})();const VE=["*"];let Sp=(()=>{class o{desc;static \u0275fac=function(i){return new(i||o)};static \u0275cmp=u.VBU({type:o,selectors:[["app-sample-section"]],inputs:{desc:"desc"},ngContentSelectors:VE,decls:12,vars:2,consts:[[1,"card","card-block","panel","panel-default","panel-body"],[1,"card-body"],["label","Markup"],[1,"prettyprint","linenums","lang-html"],["label","TypeScript"],[1,"prettyprint","linenums","lang-js"]],template:function(i,c){1&i&&(u.NAR(),u.SdG(0),u.j41(1,"div",0)(2,"div",1)(3,"mat-tab-group")(4,"mat-tab",2)(5,"div",0)(6,"pre",3),u.EFF(7),u.k0s()()(),u.j41(8,"mat-tab",4)(9,"div",0)(10,"pre",5),u.EFF(11),u.k0s()()()()()()),2&i&&(u.R7$(7),u.JRh(c.desc.html.default),u.R7$(4),u.JRh(c.desc.ts.default))},dependencies:[gd,Qo,vo],encapsulation:2})}return o})(),KT=(()=>{class o{items=["Amsterdam","Antwerp","Athens","Barcelona","Berlin","Birmingham","Bradford","Bremen","Brussels","Bucharest","Budapest","Cologne","Copenhagen","Dortmund","Dresden","Dublin","D\xfcsseldorf","Essen","Frankfurt","Genoa","Glasgow","Gothenburg","Hamburg","Hannover","Helsinki","Krak\xf3w","Leeds","Leipzig","Lisbon","London","Madrid","Manchester","Marseille","Milan","Munich","M\xe1laga","Naples","Palermo","Paris","Pozna\u0144","Prague","Riga","Rome","Rotterdam","Seville","Sheffield","Sofia","Stockholm","Stuttgart","The Hague","Turin","Valencia","Vienna","Vilnius","Warsaw","Wroc\u0142aw","Zagreb","Zaragoza","\u0141\xf3d\u017a"];ngxControl=new Tl;_ngxDefaultTimeout;_ngxDefaultInterval;_ngxDefault;constructor(){this._ngxDefaultTimeout=setTimeout(()=>{this._ngxDefaultInterval=setInterval(()=>{const n=Math.floor(Math.random()*(this.items.length-1));this._ngxDefault=this.items[n]},2e3)},2e3)}ngOnDestroy(){clearTimeout(this._ngxDefaultTimeout),clearInterval(this._ngxDefaultInterval)}doNgxDefault(){return this._ngxDefault}inputTyped=(n,i)=>console.log("SingleDemoComponent.inputTyped",n,i);doFocus=()=>console.log("SingleDemoComponent.doFocus");doBlur=()=>console.log("SingleDemoComponent.doBlur");doOpen=()=>console.log("SingleDemoComponent.doOpen");doClose=()=>console.log("SingleDemoComponent.doClose");doSelect=n=>console.log("SingleDemoComponent.doSelect",n);doRemove=n=>console.log("SingleDemoComponent.doRemove",n);doSelectOptions=n=>console.log("SingleDemoComponent.doSelectOptions",n);static \u0275fac=function(i){return new(i||o)};static \u0275cmp=u.VBU({type:o,selectors:[["app-single-demo"]],decls:13,vars:8,consts:[[1,"example-block"],[1,"example-block__item"],["placeholder","No city selected",3,"typed","focus","blur","open","close","select","remove","selectionChanges","formControl","allowClear","defaultValue","items"],[1,"alert","alert-secondary"],["type","button",1,"btn","btn-primary",3,"click"]],template:function(i,c){1&i&&(u.j41(0,"h3"),u.EFF(1,"Select a single city"),u.k0s(),u.j41(2,"div",0)(3,"div",1)(4,"ngx-select",2),u.bIt("typed",function(m){return c.inputTyped("ngx-select",m)})("focus",function(){return c.doFocus()})("blur",function(){return c.doBlur()})("open",function(){return c.doOpen()})("close",function(){return c.doClose()})("select",function(m){return c.doSelect(m)})("remove",function(m){return c.doRemove(m)})("selectionChanges",function(m){return c.doSelectOptions(m)}),u.k0s(),u.nrm(5,"p"),u.j41(6,"div",3)(7,"pre"),u.EFF(8),u.nI1(9,"json"),u.k0s()(),u.j41(10,"div")(11,"button",4),u.bIt("click",function(){return c.ngxControl.disabled?c.ngxControl.enable():c.ngxControl.disable()}),u.EFF(12),u.k0s()()()()),2&i&&(u.R7$(4),u.Y8G("formControl",c.ngxControl)("allowClear",!0)("defaultValue",c.doNgxDefault())("items",c.items),u.R7$(4),u.JRh(u.bMT(9,6,c.ngxControl.value)),u.R7$(4),u.SpI(" ",c.ngxControl.disabled?"Enable":"Disable"," "))},dependencies:[jt,Pi,Go,A_,Ii,Tn],encapsulation:2})}return o})(),QT=(()=>{class o{items=["Amsterdam","Antwerp","Athens","Barcelona","Berlin","Birmingham","Bradford","Bremen","Brussels","Bucharest","Budapest","Cologne","Copenhagen","Dortmund","Dresden","Dublin","D\xfcsseldorf","Essen","Frankfurt","Genoa","Glasgow","Gothenburg","Hamburg","Hannover","Helsinki","Leeds","Leipzig","Lisbon","\u0141\xf3d\u017a","London","Krak\xf3w","Madrid","M\xe1laga","Manchester","Marseille","Milan","Munich","Naples","Palermo","Paris","Pozna\u0144","Prague","Riga","Rome","Rotterdam","Seville","Sheffield","Sofia","Stockholm","Stuttgart","The Hague","Turin","Valencia","Vienna","Vilnius","Warsaw","Wroc\u0142aw","Zagreb","Zaragoza"];ngxValue=[];ngxDisabled=!1;doSelectOptions=n=>console.log("MultipleDemoComponent.doSelectOptions",n);static \u0275fac=function(i){return new(i||o)};static \u0275cmp=u.VBU({type:o,selectors:[["app-multiple-demo"]],decls:13,vars:9,consts:[[1,"example-block"],[1,"example-block__item"],["placeholder","No city selected",3,"ngModelChange","selectionChanges","multiple","items","disabled","ngModel","autoClearSearch"],[1,"alert","alert-secondary"],[1,"btn","btn-primary",3,"click"]],template:function(i,c){1&i&&(u.j41(0,"h3"),u.EFF(1,"Select multiple cities"),u.k0s(),u.j41(2,"div",0)(3,"div",1)(4,"ngx-select",2),u.mxI("ngModelChange",function(m){return u.DH7(c.ngxValue,m)||(c.ngxValue=m),m}),u.bIt("selectionChanges",function(m){return c.doSelectOptions(m)}),u.k0s(),u.nrm(5,"p"),u.j41(6,"div",3)(7,"pre"),u.EFF(8),u.nI1(9,"json"),u.k0s()(),u.j41(10,"div")(11,"button",4),u.bIt("click",function(){return c.ngxDisabled=!c.ngxDisabled}),u.EFF(12),u.k0s()()()()),2&i&&(u.R7$(4),u.Y8G("multiple",!0)("items",c.items)("disabled",c.ngxDisabled),u.R50("ngModel",c.ngxValue),u.Y8G("autoClearSearch",!0),u.R7$(4),u.JRh(u.bMT(9,7,c.ngxValue)),u.R7$(4),u.SpI(" ",c.ngxDisabled?"Enable":"Disable"," "))},dependencies:[Pi,Go,Ws,Ii,Ni,jt],encapsulation:2})}return o})(),BE=(()=>{class o{items=[{id:100,text:"Austria",children:[{id:54,text:"Vienna"}]},{id:200,text:"Belgium",children:[{id:2,text:"Antwerp"},{id:9,text:"Brussels"}]},{id:300,text:"Bulgaria",children:[{id:48,text:"Sofia"}]},{id:400,text:"Croatia",children:[{id:58,text:"Zagreb"}]},{id:500,text:"Czech Republic",children:[{id:42,text:"Prague"}]},{id:600,text:"Denmark",children:[{id:13,text:"Copenhagen"}]},{id:700,text:"England",children:[{id:6,text:"Birmingham"},{id:7,text:"Bradford"},{id:26,text:"Leeds",disabled:!0},{id:30,text:"London"},{id:34,text:"Manchester"},{id:47,text:"Sheffield"}]},{id:800,text:"Finland",children:[{id:25,text:"Helsinki"}]},{id:900,text:"France",children:[{id:35,text:"Marseille"},{id:40,text:"Paris"}]},{id:1e3,text:"Germany",children:[{id:5,text:"Berlin"},{id:8,text:"Bremen"},{id:12,text:"Cologne"},{id:14,text:"Dortmund"},{id:15,text:"Dresden"},{id:17,text:"D\xfcsseldorf"},{id:18,text:"Essen"},{id:19,text:"Frankfurt"},{id:23,text:"Hamburg"},{id:24,text:"Hannover"},{id:27,text:"Leipzig"},{id:37,text:"Munich"},{id:50,text:"Stuttgart"}]},{id:1100,text:"Greece",children:[{id:3,text:"Athens"}]},{id:1200,text:"Hungary",children:[{id:11,text:"Budapest"}]},{id:1300,text:"Ireland",children:[{id:16,text:"Dublin"}]},{id:1400,text:"Italy",children:[{id:20,text:"Genoa"},{id:36,text:"Milan"},{id:38,text:"Naples"},{id:39,text:"Palermo"},{id:44,text:"Rome"},{id:52,text:"Turin"}]},{id:1500,text:"Latvia",children:[{id:43,text:"Riga"}]},{id:1600,text:"Lithuania",children:[{id:55,text:"Vilnius"}]},{id:1700,text:"Netherlands",children:[{id:1,text:"Amsterdam"},{id:45,text:"Rotterdam"},{id:51,text:"The Hague"}]},{id:1800,text:"Poland",children:[{id:29,text:"\u0141\xf3d\u017a"},{id:31,text:"Krak\xf3w"},{id:41,text:"Pozna\u0144"},{id:56,text:"Warsaw"},{id:57,text:"Wroc\u0142aw"}]},{id:1900,text:"Portugal",children:[{id:28,text:"Lisbon"}]},{id:2e3,text:"Romania",children:[{id:10,text:"Bucharest"}]},{id:2100,text:"Scotland",children:[{id:21,text:"Glasgow"}]},{id:2200,text:"Spain",children:[{id:4,text:"Barcelona"},{id:32,text:"Madrid"},{id:33,text:"M\xe1laga"},{id:46,text:"Seville"},{id:53,text:"Valencia"},{id:59,text:"Zaragoza"}]},{id:2300,text:"Sweden",children:[{id:22,text:"Gothenburg"},{id:49,text:"Stockholm"}]}];ngxValue=[];ngxDisabled=!1;static \u0275fac=function(i){return new(i||o)};static \u0275cmp=u.VBU({type:o,selectors:[["app-children-demo"]],decls:13,vars:8,consts:[[1,"example-block"],[1,"example-block__item"],["optionValueField","id","optionTextField","text","optGroupLabelField","text","optGroupOptionsField","children","placeholder","No city selected",3,"ngModelChange","allowClear","items","disabled","ngModel"],[1,"alert","alert-secondary"],[1,"btn","btn-primary",3,"click"]],template:function(i,c){1&i&&(u.j41(0,"h3"),u.EFF(1,"Select a city by country"),u.k0s(),u.j41(2,"div",0)(3,"div",1)(4,"ngx-select",2),u.mxI("ngModelChange",function(m){return u.DH7(c.ngxValue,m)||(c.ngxValue=m),m}),u.k0s(),u.nrm(5,"p"),u.j41(6,"div",3)(7,"pre"),u.EFF(8),u.nI1(9,"json"),u.k0s()(),u.j41(10,"div")(11,"button",4),u.bIt("click",function(){return c.ngxDisabled=!c.ngxDisabled}),u.EFF(12),u.k0s()()()()),2&i&&(u.R7$(4),u.Y8G("allowClear",!0)("items",c.items)("disabled",c.ngxDisabled),u.R50("ngModel",c.ngxValue),u.R7$(4),u.JRh(u.bMT(9,6,c.ngxValue)),u.R7$(4),u.SpI(" ",c.ngxDisabled?"Enable":"Disable"," "))},dependencies:[Pi,Go,Ws,Ii,Ni,jt],encapsulation:2})}return o})();function jE(o,a){if(1&o&&(u.nrm(0,"span",7)(1,"span",8),u.EFF(2)),2&o){const n=a.$implicit,i=a.text,c=u.XpG();u.Aen(c.style("background-color:"+n.value)),u.R7$(),u.Y8G("innerHtml",i,u.npT),u.R7$(),u.SpI(" (",n.data.hex,") ")}}function _y(o,a){1&o&&u.EFF(0),2&o&&u.SpI(' "',a.$implicit,'" not found ')}const UE=[{name:"Blue 10",hex:"#C0E6FF"},{name:"Blue 20",hex:"#7CC7FF"},{name:"Blue 30",hex:"#5AAAFA",disabled:!0},{name:"Blue 40",hex:"#5596E6"},{name:"Blue 50",hex:"#4178BE"},{name:"Blue 60",hex:"#325C80"},{name:"Blue 70",hex:"#264A60"},{name:"Blue 80",hex:"#1D3649"},{name:"Blue 90",hex:"#152935"},{name:"Blue 100",hex:"#010205"},{name:"Green 10",hex:"#C8F08F"},{name:"Green 20",hex:"#B4E051"},{name:"Green 30",hex:"#8CD211"},{name:"Green 40",hex:"#5AA700"},{name:"Green 50",hex:"#4B8400"},{name:"Green 60",hex:"#2D660A"},{name:"Green 70",hex:"#144D14"},{name:"Green 80",hex:"#0A3C02"},{name:"Green 90",hex:"#0C2808"},{name:"Green 100",hex:"#010200"},{name:"Red 10",hex:"#FFD2DD"},{name:"Red 20",hex:"#FFA5B4"},{name:"Red 30",hex:"#FF7D87"},{name:"Red 40",hex:"#FF5050"},{name:"Red 50",hex:"#E71D32"},{name:"Red 60",hex:"#AD1625"},{name:"Red 70",hex:"#8C101C"},{name:"Red 80",hex:"#6E0A1E"},{name:"Red 90",hex:"#4C0A17"},{name:"Red 100",hex:"#040001"},{name:"Yellow 10",hex:"#FDE876"},{name:"Yellow 20",hex:"#FDD600"},{name:"Yellow 30",hex:"#EFC100"},{name:"Yellow 40",hex:"#BE9B00"},{name:"Yellow 50",hex:"#8C7300"},{name:"Yellow 60",hex:"#735F00"},{name:"Yellow 70",hex:"#574A00"},{name:"Yellow 80",hex:"#3C3200"},{name:"Yellow 90",hex:"#281E00"},{name:"Yellow 100",hex:"#020100"}];let St=(()=>{class o{sanitizer;items=UE;ngxValue=[];ngxDisabled=!1;constructor(n){this.sanitizer=n}style(n){return this.sanitizer.bypassSecurityTrustStyle(n)}static \u0275fac=function(i){return new(i||o)(u.rXU(Qd))};static \u0275cmp=u.VBU({type:o,selectors:[["app-rich-demo"]],decls:15,vars:8,consts:[[1,"example-block"],[1,"example-block__item"],["optionValueField","hex","optionTextField","name","placeholder","No city selected",3,"ngModelChange","allowClear","items","disabled","ngModel"],["ngx-select-option","","ngx-select-option-selected",""],["ngx-select-option-not-found",""],[1,"alert","alert-secondary"],[1,"btn","btn-primary",3,"click"],[1,"color-box"],[3,"innerHtml"]],template:function(i,c){1&i&&(u.j41(0,"h3"),u.EFF(1,"Select a color"),u.k0s(),u.j41(2,"div",0)(3,"div",1)(4,"ngx-select",2),u.mxI("ngModelChange",function(m){return u.DH7(c.ngxValue,m)||(c.ngxValue=m),m}),u.DNE(5,jE,3,4,"ng-template",3)(6,_y,1,1,"ng-template",4),u.k0s(),u.nrm(7,"p"),u.j41(8,"div",5)(9,"pre"),u.EFF(10),u.nI1(11,"json"),u.k0s()(),u.j41(12,"div")(13,"button",6),u.bIt("click",function(){return c.ngxDisabled=!c.ngxDisabled}),u.EFF(14),u.k0s()()()()),2&i&&(u.R7$(4),u.Y8G("allowClear",!0)("items",c.items)("disabled",c.ngxDisabled),u.R50("ngModel",c.ngxValue),u.R7$(6),u.JRh(u.bMT(11,6,c.ngxValue)),u.R7$(4),u.SpI(" ",c.ngxDisabled?"Enable":"Disable"," "))},dependencies:[Pi,Go,Xs,Zs,Ys,Ws,Ii,Ni,jt],styles:[".color-box{display:inline-block;height:14px;width:14px;margin-right:4px;border:1px solid #000}\n"],encapsulation:2})}return o})(),vy=(()=>{class o{_items=["Amsterdam","Antwerp","Athens","Barcelona","Berlin","Birmingham","Bradford","Bremen","Brussels","Bucharest","Budapest","Cologne","Copenhagen","Dortmund","Dresden","Dublin","D\xfcsseldorf","Essen","Frankfurt","Genoa","Glasgow","Gothenburg","Hamburg","Hannover","Helsinki","Krak\xf3w","Leeds","Leipzig","Lisbon","London","Madrid","Manchester","Marseille","Milan","Munich","M\xe1laga","Naples","Palermo","Paris","Pozna\u0144","Prague","Riga","Rome","Rotterdam","Seville","Sheffield","Sofia","Stockholm","Stuttgart","The Hague","Turin","Valencia","Vienna","Vilnius","Warsaw","Wroc\u0142aw","Zagreb","Zaragoza","\u0141\xf3d\u017a"];constructor(){const n=[];for(let i=1;i<=20;i++)this._items.forEach(c=>n.push(i+" "+c));this.items=n}items=[];ngxValue=[];ngxDisabled=!1;static \u0275fac=function(i){return new(i||o)};static \u0275cmp=u.VBU({type:o,selectors:[["app-no-autocomplete-demo"]],decls:13,vars:10,consts:[[1,"example-block"],[1,"example-block__item"],["placeholder","No city selected",3,"ngModelChange","allowClear","items","noAutoComplete","disabled","ngModel"],[1,"alert","alert-secondary"],[1,"btn","btn-primary",3,"click"]],template:function(i,c){1&i&&(u.j41(0,"h3"),u.EFF(1),u.k0s(),u.j41(2,"div",0)(3,"div",1)(4,"ngx-select",2),u.mxI("ngModelChange",function(m){return u.DH7(c.ngxValue,m)||(c.ngxValue=m),m}),u.k0s(),u.nrm(5,"p"),u.j41(6,"div",3)(7,"pre"),u.EFF(8),u.nI1(9,"json"),u.k0s()(),u.j41(10,"div")(11,"button",4),u.bIt("click",function(){return c.ngxDisabled=!c.ngxDisabled}),u.EFF(12),u.k0s()()()()),2&i&&(u.R7$(),u.SpI("Select a single city with ",c.items.length," items"),u.R7$(3),u.Y8G("allowClear",!0)("items",c.items)("noAutoComplete",!0)("disabled",c.ngxDisabled),u.R50("ngModel",c.ngxValue),u.R7$(4),u.JRh(u.bMT(9,8,c.ngxValue)),u.R7$(4),u.SpI(" ",c.ngxDisabled?"Enable":"Disable"," "))},dependencies:[Pi,Go,Ws,Ii,Ni,jt],encapsulation:2})}return o})(),HE=(()=>{class o{items=["Amsterdam","Antwerp","Athens","Barcelona","Berlin","Birmingham","Bradford","Bremen","Brussels","Bucharest","Budapest","Cologne","Copenhagen"];ngxControl1=new Tl;ngxControl2=new Tl;static \u0275fac=function(i){return new(i||o)};static \u0275cmp=u.VBU({type:o,selectors:[["app-append-to-demo"]],decls:33,vars:12,consts:[[1,"example-block"],[1,"example-block__item"],[1,"card",2,"display","block","overflow","scroll","height","300px"],[2,"width","800px","height","800px","padding","200px"],[2,"padding","50px","overflow","hidden","border","1px solid black"],["placeholder","No city selected",3,"formControl","items"],[1,"alert","alert-secondary"],["type","button",1,"btn","btn-primary",3,"click"],["id","scrollable",1,"card",2,"display","block","overflow","scroll","height","300px"],["placeholder","No city selected","appendTo","#scrollable",3,"formControl","items"]],template:function(i,c){1&i&&(u.j41(0,"h3"),u.EFF(1,"Container with fixed height and hidden overflow"),u.k0s(),u.j41(2,"div",0)(3,"div",1)(4,"p"),u.EFF(5,"Default"),u.k0s(),u.j41(6,"div",2)(7,"div",3)(8,"div",4),u.nrm(9,"ngx-select",5),u.k0s()()(),u.nrm(10,"p"),u.j41(11,"div",6)(12,"pre"),u.EFF(13),u.nI1(14,"json"),u.k0s()(),u.j41(15,"div")(16,"button",7),u.bIt("click",function(){return c.ngxControl1.disabled?c.ngxControl1.enable():c.ngxControl1.disable()}),u.EFF(17),u.k0s()()(),u.j41(18,"div",1)(19,"p"),u.EFF(20,"Appended to scrollable"),u.k0s(),u.j41(21,"div",8)(22,"div",3)(23,"div",4),u.nrm(24,"ngx-select",9),u.k0s()()(),u.nrm(25,"p"),u.j41(26,"div",6)(27,"pre"),u.EFF(28),u.nI1(29,"json"),u.k0s()(),u.j41(30,"div")(31,"button",7),u.bIt("click",function(){return c.ngxControl2.disabled?c.ngxControl2.enable():c.ngxControl2.disable()}),u.EFF(32),u.k0s()()()()),2&i&&(u.R7$(9),u.Y8G("formControl",c.ngxControl1)("items",c.items),u.R7$(4),u.JRh(u.bMT(14,8,c.ngxControl1.value)),u.R7$(4),u.SpI(" ",c.ngxControl1.disabled?"Enable":"Disable"," "),u.R7$(7),u.Y8G("formControl",c.ngxControl2)("items",c.items),u.R7$(4),u.JRh(u.bMT(29,10,c.ngxControl2.value)),u.R7$(4),u.SpI(" ",c.ngxControl2.disabled?"Enable":"Disable"," "))},dependencies:[Pi,Go,A_,Ii,Tn,jt],encapsulation:2})}return o})();const $E=M(414).A,yy={single:{heading:"Single",ts:M(249),html:M(205)},multiple:{heading:"Multiple",ts:M(545),html:M(125)},children:{heading:"Children",ts:M(224),html:M(96)},rich:{heading:"Rich",ts:M(379),html:M(499)},noAutoComplete:{heading:"noAutoComplete",ts:M(584),html:M(3)},appendTo:{heading:"appendTo",ts:M(607),html:M(175)}};let GE=(()=>{class o{currentHeading="Single";tabDesc=yy;doc=$E;static \u0275fac=function(i){return new(i||o)};static \u0275cmp=u.VBU({type:o,selectors:[["app-select-section"]],decls:24,vars:7,consts:[["label","Single"],[3,"desc"],["label","Multiple"],["label","Children"],["label","Rich"],["label","No autocomplete"],["label","Append to element"],[1,"card","card-block","panel","panel-default","panel-body"],[1,"card-body","doc-api",3,"innerHTML"]],template:function(i,c){1&i&&(u.j41(0,"section")(1,"mat-tab-group")(2,"mat-tab",0)(3,"app-sample-section",1),u.nrm(4,"app-single-demo"),u.k0s()(),u.j41(5,"mat-tab",2)(6,"app-sample-section",1),u.nrm(7,"app-multiple-demo"),u.k0s()(),u.j41(8,"mat-tab",3)(9,"app-sample-section",1),u.nrm(10,"app-children-demo"),u.k0s()(),u.j41(11,"mat-tab",4)(12,"app-sample-section",1),u.nrm(13,"app-rich-demo"),u.k0s()(),u.j41(14,"mat-tab",5)(15,"app-sample-section",1),u.nrm(16,"app-no-autocomplete-demo"),u.k0s()(),u.j41(17,"mat-tab",6)(18,"app-sample-section",1),u.nrm(19,"app-append-to-demo"),u.k0s()()(),u.j41(20,"h2"),u.EFF(21,"Documentation"),u.k0s(),u.j41(22,"div",7),u.nrm(23,"div",8),u.k0s()()),2&i&&(u.R7$(3),u.Y8G("desc",c.tabDesc.single),u.R7$(3),u.Y8G("desc",c.tabDesc.multiple),u.R7$(3),u.Y8G("desc",c.tabDesc.children),u.R7$(3),u.Y8G("desc",c.tabDesc.rich),u.R7$(3),u.Y8G("desc",c.tabDesc.noAutoComplete),u.R7$(3),u.Y8G("desc",c.tabDesc.appendTo),u.R7$(5),u.Y8G("innerHTML",c.doc,u.npT))},dependencies:[gd,Qo,vo,Sp,KT,QT,BE,St,vy,HE],styles:["[_nghost-%COMP%]{display:block}"]})}return o})();const by=M(330),Cy=M(48).A;(function mg(o,a){return(0,u.TL3)({rootComponent:o,...sb(a)})})((()=>{class o{gettingStarted=Cy;p=by;ngAfterContentInit(){setTimeout(()=>{},150)}static \u0275fac=function(i){return new(i||o)};static \u0275cmp=u.VBU({type:o,selectors:[["app-root"]],decls:33,vars:2,consts:[[1,"bd-pageheader"],[1,"container"],["href","https://getbootstrap.com/docs/3.3/","target","_blank",1,"badge","badge-light"],["href","https://getbootstrap.com/","target","_blank",1,"badge","badge-light"],["href","https://github.com/optimistex/ngx-select-ex",1,"btn","btn-primary"],[1,"row"],[1,"col-lg-1"],["src",u.wXG`https://ghbtns.com/github-btn.html?user=optimistex&repo=ngx-select-ex&type=star&count=true`,"frameborder","0","scrolling","0","width","170px","height","20px"],["src",u.wXG`https://ghbtns.com/github-btn.html?user=optimistex&repo=ngx-select-ex&type=fork&count=true`,"frameborder","0","scrolling","0","width","170px","height","20px"],["id","getting-started",3,"innerHtml"],[1,"footer"],[1,"text-muted","text-center"],["href","https://github.com/optimistex/ngx-select-ex"],["href","https://github.com/optimistex"]],template:function(i,c){1&i&&(u.j41(0,"main",0)(1,"div",1)(2,"h1"),u.EFF(3),u.k0s(),u.j41(4,"p"),u.EFF(5,"Native Angular2 component for Select"),u.k0s(),u.j41(6,"p"),u.EFF(7," Compatible with "),u.j41(8,"a",2),u.EFF(9,"Bootstrap 3"),u.k0s(),u.EFF(10," and "),u.j41(11,"b")(12,"a",3),u.EFF(13,"Bootstrap 4"),u.k0s()()(),u.j41(14,"a",4),u.EFF(15,"View on GitHub"),u.k0s(),u.j41(16,"div",5)(17,"div",6),u.nrm(18,"iframe",7),u.k0s(),u.j41(19,"div",6),u.nrm(20,"iframe",8),u.k0s()()()(),u.j41(21,"div",1),u.nrm(22,"section",9)(23,"app-select-section"),u.k0s(),u.j41(24,"footer",10)(25,"div",1)(26,"p",11)(27,"a",12),u.EFF(28,"ngx-select-ex"),u.k0s(),u.EFF(29," is maintained by "),u.j41(30,"a",13),u.EFF(31,"optimistex"),u.k0s(),u.EFF(32,"."),u.k0s()()()),2&i&&(u.R7$(3),u.SpI("ngx-select-ex v",null==c.p?null:c.p.version,""),u.R7$(19),u.Y8G("innerHtml",c.gettingStarted,u.npT))},dependencies:[Pi,GE],encapsulation:2})}return o})(),SC).catch(o=>console.error(o))},667:(ce,B,M)=>{ce=M.nmd(ce);var L="__lodash_hash_undefined__",K=9007199254740991,se="[object Arguments]",te="[object Array]",fe="[object Boolean]",Y="[object Date]",U="[object Error]",J="[object Function]",ue="[object Map]",Ve="[object Number]",Ye="[object Object]",Lt="[object Promise]",an="[object RegExp]",ze="[object Set]",oe="[object String]",Nt="[object WeakMap]",bt="[object ArrayBuffer]",G="[object DataView]",Up=/^\[object .+?Constructor\]$/,Wr=/^(?:0|[1-9]\d*)$/,We={};We["[object Float32Array]"]=We["[object Float64Array]"]=We["[object Int8Array]"]=We["[object Int16Array]"]=We["[object Int32Array]"]=We["[object Uint8Array]"]=We["[object Uint8ClampedArray]"]=We["[object Uint16Array]"]=We["[object Uint32Array]"]=!0,We[se]=We[te]=We[bt]=We[fe]=We[G]=We[Y]=We[U]=We[J]=We[ue]=We[Ve]=We[Ye]=We[an]=We[ze]=We[oe]=We[Nt]=!1;var Xi="object"==typeof global&&global&&global.Object===Object&&global,Sn="object"==typeof self&&self&&self.Object===Object&&self,ln=Xi||Sn||Function("return this")(),Ed=B&&!B.nodeType&&B,Hp=Ed&&ce&&!ce.nodeType&&ce,ga=Hp&&Hp.exports===Ed,ma=ga&&Xi.process,Jl=function(){try{return ma&&ma.binding&&ma.binding("util")}catch{}}(),Yo=Jl&&Jl.isTypedArray;function Gp(D,S){for(var F=-1,X=null==D?0:D.length;++Fyt))return!1;var Je=Ie.get(D);if(Je&&Ie.get(S))return Je==S;var kt=-1,Zt=!0,Ut=2&F?new Kr:void 0;for(Ie.set(D,S),Ie.set(S,D);++kt-1},ur.prototype.set=function nc(D,S){var F=this.__data__,X=Qr(F,D);return X<0?(++this.size,F.push([D,S])):F[X][1]=S,this},bo.prototype.clear=function Zp(){this.size=0,this.__data__={hash:new cr,map:new(nt||ur),string:new cr}},bo.prototype.delete=function Yp(D){var S=Do(this,D).delete(D);return this.size-=S?1:0,S},bo.prototype.get=function Le(D){return Do(this,D).get(D)},bo.prototype.has=function rc(D){return Do(this,D).has(D)},bo.prototype.set=function ei(D,S){var F=Do(this,D),X=F.size;return F.set(D,S),this.size+=F.size==X?0:1,this},Kr.prototype.add=Kr.prototype.push=function Jp(D){return this.__data__.set(D,L),this},Kr.prototype.has=function oc(D){return this.__data__.has(D)},Un.prototype.clear=function ti(){this.__data__=new ur,this.size=0},Un.prototype.delete=function ni(D){var S=this.__data__,F=S.delete(D);return this.size=S.size,F},Un.prototype.get=function Ca(D){return this.__data__.get(D)},Un.prototype.has=function Da(D){return this.__data__.has(D)},Un.prototype.set=function Nd(D,S){var F=this.__data__;if(F instanceof ur){var X=F.__data__;if(!nt||X.length<199)return X.push([D,S]),this.size=++F.size,this;F=this.__data__=new bo(X)}return F.set(D,S),this.size=F.size,this};var Bt=xd?function(D){return null==D?[]:(D=Object(D),function Id(D,S){for(var F=-1,X=null==D?0:D.length,je=0,Ie=[];++F-1&&D%1==0&&D-1&&D%1==0&&D<=K}function Pd(D){var S=typeof D;return null!=D&&("object"==S||"function"==S)}function jt(D){return null!=D&&"object"==typeof D}var is=Yo?function Jo(D){return function(S){return D(S)}}(Yo):function eg(D){return jt(D)&&Fd(D.length)&&!!We[Xr(D)]};function ss(D){return function Ia(D){return null!=D&&Fd(D.length)&&!Ma(D)}(D)?function de(D,S){var F=Ee(D),X=!F&&Ea(D),je=!F&&!X&&os(D),Ie=!F&&!X&&!je&&is(D),xe=F||X||je||Ie,yt=xe?function qt(D,S){for(var F=-1,X=Array(D);++F{"use strict";M.d(B,{t:()=>L});var u=M(413);class L extends u.B{constructor(H){super(),this._value=H}get value(){return this.getValue()}_subscribe(H){const K=super._subscribe(H);return!K.closed&&H.next(this._value),K}getValue(){const{hasError:H,thrownError:K,_value:se}=this;if(H)throw K;return this._throwIfClosed(),se}next(H){super.next(this._value=H)}}},985:(ce,B,M)=>{"use strict";M.d(B,{c:()=>j});var u=M(707),L=M(359),ne=M(494),H=M(203),K=M(26),se=M(71),te=M(786);let j=(()=>{class J{constructor(ue){ue&&(this._subscribe=ue)}lift(ue){const Ve=new J;return Ve.source=this,Ve.operator=ue,Ve}subscribe(ue,Ve,vn){const Ye=function U(J){return J&&J instanceof u.vU||function Y(J){return J&&(0,se.T)(J.next)&&(0,se.T)(J.error)&&(0,se.T)(J.complete)}(J)&&(0,L.Uv)(J)}(ue)?ue:new u.Ms(ue,Ve,vn);return(0,te.Y)(()=>{const{operator:Lt,source:Rt}=this;Ye.add(Lt?Lt.call(Ye,Rt):Rt?this._subscribe(Ye):this._trySubscribe(Ye))}),Ye}_trySubscribe(ue){try{return this._subscribe(ue)}catch(Ve){ue.error(Ve)}}forEach(ue,Ve){return new(Ve=fe(Ve))((vn,Ye)=>{const Lt=new u.Ms({next:Rt=>{try{ue(Rt)}catch(an){Ye(an),Lt.unsubscribe()}},error:Ye,complete:vn});this.subscribe(Lt)})}_subscribe(ue){var Ve;return null===(Ve=this.source)||void 0===Ve?void 0:Ve.subscribe(ue)}[ne.s](){return this}pipe(...ue){return(0,H.m)(ue)(this)}toPromise(ue){return new(ue=fe(ue))((Ve,vn)=>{let Ye;this.subscribe(Lt=>Ye=Lt,Lt=>vn(Lt),()=>Ve(Ye))})}}return J.create=Ze=>new J(Ze),J})();function fe(J){var Ze;return null!==(Ze=J??K.$.Promise)&&void 0!==Ze?Ze:Promise}},413:(ce,B,M)=>{"use strict";M.d(B,{B:()=>te});var u=M(985),L=M(359);const H=(0,M(853).L)(fe=>function(){fe(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var K=M(908),se=M(786);let te=(()=>{class fe extends u.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(U){const J=new j(this,this);return J.operator=U,J}_throwIfClosed(){if(this.closed)throw new H}next(U){(0,se.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const J of this.currentObservers)J.next(U)}})}error(U){(0,se.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=U;const{observers:J}=this;for(;J.length;)J.shift().error(U)}})}complete(){(0,se.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:U}=this;for(;U.length;)U.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var U;return(null===(U=this.observers)||void 0===U?void 0:U.length)>0}_trySubscribe(U){return this._throwIfClosed(),super._trySubscribe(U)}_subscribe(U){return this._throwIfClosed(),this._checkFinalizedStatuses(U),this._innerSubscribe(U)}_innerSubscribe(U){const{hasError:J,isStopped:Ze,observers:ue}=this;return J||Ze?L.Kn:(this.currentObservers=null,ue.push(U),new L.yU(()=>{this.currentObservers=null,(0,K.o)(ue,U)}))}_checkFinalizedStatuses(U){const{hasError:J,thrownError:Ze,isStopped:ue}=this;J?U.error(Ze):ue&&U.complete()}asObservable(){const U=new u.c;return U.source=this,U}}return fe.create=(Y,U)=>new j(Y,U),fe})();class j extends te{constructor(Y,U){super(),this.destination=Y,this.source=U}next(Y){var U,J;null===(J=null===(U=this.destination)||void 0===U?void 0:U.next)||void 0===J||J.call(U,Y)}error(Y){var U,J;null===(J=null===(U=this.destination)||void 0===U?void 0:U.error)||void 0===J||J.call(U,Y)}complete(){var Y,U;null===(U=null===(Y=this.destination)||void 0===Y?void 0:Y.complete)||void 0===U||U.call(Y)}_subscribe(Y){var U,J;return null!==(J=null===(U=this.source)||void 0===U?void 0:U.subscribe(Y))&&void 0!==J?J:L.Kn}}},707:(ce,B,M)=>{"use strict";M.d(B,{Ms:()=>vn,vU:()=>J});var u=M(71),L=M(359),ne=M(26),H=M(334),K=M(343);const se=fe("C",void 0,void 0);function fe(ze,oe,tt){return{kind:ze,value:oe,error:tt}}var Y=M(270),U=M(786);class J extends L.yU{constructor(oe){super(),this.isStopped=!1,oe?(this.destination=oe,(0,L.Uv)(oe)&&oe.add(this)):this.destination=an}static create(oe,tt,Vt){return new vn(oe,tt,Vt)}next(oe){this.isStopped?Rt(function j(ze){return fe("N",ze,void 0)}(oe),this):this._next(oe)}error(oe){this.isStopped?Rt(function te(ze){return fe("E",void 0,ze)}(oe),this):(this.isStopped=!0,this._error(oe))}complete(){this.isStopped?Rt(se,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(oe){this.destination.next(oe)}_error(oe){try{this.destination.error(oe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Ze=Function.prototype.bind;function ue(ze,oe){return Ze.call(ze,oe)}class Ve{constructor(oe){this.partialObserver=oe}next(oe){const{partialObserver:tt}=this;if(tt.next)try{tt.next(oe)}catch(Vt){Ye(Vt)}}error(oe){const{partialObserver:tt}=this;if(tt.error)try{tt.error(oe)}catch(Vt){Ye(Vt)}else Ye(oe)}complete(){const{partialObserver:oe}=this;if(oe.complete)try{oe.complete()}catch(tt){Ye(tt)}}}class vn extends J{constructor(oe,tt,Vt){let Nt;if(super(),(0,u.T)(oe)||!oe)Nt={next:oe??void 0,error:tt??void 0,complete:Vt??void 0};else{let bt;this&&ne.$.useDeprecatedNextContext?(bt=Object.create(oe),bt.unsubscribe=()=>this.unsubscribe(),Nt={next:oe.next&&ue(oe.next,bt),error:oe.error&&ue(oe.error,bt),complete:oe.complete&&ue(oe.complete,bt)}):Nt=oe}this.destination=new Ve(Nt)}}function Ye(ze){ne.$.useDeprecatedSynchronousErrorHandling?(0,U.l)(ze):(0,H.m)(ze)}function Rt(ze,oe){const{onStoppedNotification:tt}=ne.$;tt&&Y.f.setTimeout(()=>tt(ze,oe))}const an={closed:!0,next:K.l,error:function Lt(ze){throw ze},complete:K.l}},359:(ce,B,M)=>{"use strict";M.d(B,{Kn:()=>se,yU:()=>K,Uv:()=>te});var u=M(71);const ne=(0,M(853).L)(fe=>function(U){fe(this),this.message=U?`${U.length} errors occurred during unsubscription:\n${U.map((J,Ze)=>`${Ze+1}) ${J.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=U});var H=M(908);class K{constructor(Y){this.initialTeardown=Y,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let Y;if(!this.closed){this.closed=!0;const{_parentage:U}=this;if(U)if(this._parentage=null,Array.isArray(U))for(const ue of U)ue.remove(this);else U.remove(this);const{initialTeardown:J}=this;if((0,u.T)(J))try{J()}catch(ue){Y=ue instanceof ne?ue.errors:[ue]}const{_finalizers:Ze}=this;if(Ze){this._finalizers=null;for(const ue of Ze)try{j(ue)}catch(Ve){Y=Y??[],Ve instanceof ne?Y=[...Y,...Ve.errors]:Y.push(Ve)}}if(Y)throw new ne(Y)}}add(Y){var U;if(Y&&Y!==this)if(this.closed)j(Y);else{if(Y instanceof K){if(Y.closed||Y._hasParent(this))return;Y._addParent(this)}(this._finalizers=null!==(U=this._finalizers)&&void 0!==U?U:[]).push(Y)}}_hasParent(Y){const{_parentage:U}=this;return U===Y||Array.isArray(U)&&U.includes(Y)}_addParent(Y){const{_parentage:U}=this;this._parentage=Array.isArray(U)?(U.push(Y),U):U?[U,Y]:Y}_removeParent(Y){const{_parentage:U}=this;U===Y?this._parentage=null:Array.isArray(U)&&(0,H.o)(U,Y)}remove(Y){const{_finalizers:U}=this;U&&(0,H.o)(U,Y),Y instanceof K&&Y._removeParent(this)}}K.EMPTY=(()=>{const fe=new K;return fe.closed=!0,fe})();const se=K.EMPTY;function te(fe){return fe instanceof K||fe&&"closed"in fe&&(0,u.T)(fe.remove)&&(0,u.T)(fe.add)&&(0,u.T)(fe.unsubscribe)}function j(fe){(0,u.T)(fe)?fe():fe.unsubscribe()}},26:(ce,B,M)=>{"use strict";M.d(B,{$:()=>u});const u={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},983:(ce,B,M)=>{"use strict";M.d(B,{w:()=>L});const L=new(M(985).c)(K=>K.complete())},360:(ce,B,M)=>{"use strict";M.d(B,{_:()=>L});var u=M(707);function L(H,K,se,te,j){return new ne(H,K,se,te,j)}class ne extends u.vU{constructor(K,se,te,j,fe,Y){super(K),this.onFinalize=fe,this.shouldUnsubscribe=Y,this._next=se?function(U){try{se(U)}catch(J){K.error(J)}}:super._next,this._error=j?function(U){try{j(U)}catch(J){K.error(J)}finally{this.unsubscribe()}}:super._error,this._complete=te?function(){try{te()}catch(U){K.error(U)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var K;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:se}=this;super.unsubscribe(),!se&&(null===(K=this.onFinalize)||void 0===K||K.call(this))}}}},901:(ce,B,M)=>{"use strict";M.d(B,{U:()=>ne});var u=M(974),L=M(360);function ne(H){return(0,u.N)((K,se)=>{let te=!1;K.subscribe((0,L._)(se,j=>{te=!0,se.next(j)},()=>{te||se.next(H),se.complete()}))})}},964:(ce,B,M)=>{"use strict";M.d(B,{p:()=>ne});var u=M(974),L=M(360);function ne(H,K){return(0,u.N)((se,te)=>{let j=0;se.subscribe((0,L._)(te,fe=>H.call(K,fe,j++)&&te.next(fe)))})}},594:(ce,B,M)=>{"use strict";M.d(B,{$:()=>te});var u=M(350),L=M(964),ne=M(697),H=M(901),K=M(774),se=M(669);function te(j,fe){const Y=arguments.length>=2;return U=>U.pipe(j?(0,L.p)((J,Ze)=>j(J,Ze,U)):se.D,(0,ne.s)(1),Y?(0,H.U)(fe):(0,K.v)(()=>new u.G))}},354:(ce,B,M)=>{"use strict";M.d(B,{T:()=>ne});var u=M(974),L=M(360);function ne(H,K){return(0,u.N)((se,te)=>{let j=0;se.subscribe((0,L._)(te,fe=>{te.next(H.call(K,fe,j++))}))})}},697:(ce,B,M)=>{"use strict";M.d(B,{s:()=>H});var u=M(983),L=M(974),ne=M(360);function H(K){return K<=0?()=>u.w:(0,L.N)((se,te)=>{let j=0;se.subscribe((0,ne._)(te,fe=>{++j<=K&&(te.next(fe),K<=j&&te.complete())}))})}},774:(ce,B,M)=>{"use strict";M.d(B,{v:()=>H});var u=M(350),L=M(974),ne=M(360);function H(se=K){return(0,L.N)((te,j)=>{let fe=!1;te.subscribe((0,ne._)(j,Y=>{fe=!0,j.next(Y)},()=>fe?j.complete():j.error(se())))})}function K(){return new u.G}},270:(ce,B,M)=>{"use strict";M.d(B,{f:()=>u});const u={setTimeout(L,ne,...H){const{delegate:K}=u;return K?.setTimeout?K.setTimeout(L,ne,...H):setTimeout(L,ne,...H)},clearTimeout(L){const{delegate:ne}=u;return(ne?.clearTimeout||clearTimeout)(L)},delegate:void 0}},494:(ce,B,M)=>{"use strict";M.d(B,{s:()=>u});const u="function"==typeof Symbol&&Symbol.observable||"@@observable"},350:(ce,B,M)=>{"use strict";M.d(B,{G:()=>L});const L=(0,M(853).L)(ne=>function(){ne(this),this.name="EmptyError",this.message="no elements in sequence"})},908:(ce,B,M)=>{"use strict";function u(L,ne){if(L){const H=L.indexOf(ne);0<=H&&L.splice(H,1)}}M.d(B,{o:()=>u})},853:(ce,B,M)=>{"use strict";function u(L){const H=L(K=>{Error.call(K),K.stack=(new Error).stack});return H.prototype=Object.create(Error.prototype),H.prototype.constructor=H,H}M.d(B,{L:()=>u})},786:(ce,B,M)=>{"use strict";M.d(B,{Y:()=>ne,l:()=>H});var u=M(26);let L=null;function ne(K){if(u.$.useDeprecatedSynchronousErrorHandling){const se=!L;if(se&&(L={errorThrown:!1,error:null}),K(),se){const{errorThrown:te,error:j}=L;if(L=null,te)throw j}}else K()}function H(K){u.$.useDeprecatedSynchronousErrorHandling&&L&&(L.errorThrown=!0,L.error=K)}},669:(ce,B,M)=>{"use strict";function u(L){return L}M.d(B,{D:()=>u})},71:(ce,B,M)=>{"use strict";function u(L){return"function"==typeof L}M.d(B,{T:()=>u})},974:(ce,B,M)=>{"use strict";M.d(B,{N:()=>ne,S:()=>L});var u=M(71);function L(H){return(0,u.T)(H?.lift)}function ne(H){return K=>{if(L(K))return K.lift(function(se){try{return H(se,this)}catch(te){this.error(te)}});throw new TypeError("Unable to lift unknown Observable type")}}},343:(ce,B,M)=>{"use strict";function u(){}M.d(B,{l:()=>u})},203:(ce,B,M)=>{"use strict";M.d(B,{F:()=>L,m:()=>ne});var u=M(669);function L(...H){return ne(H)}function ne(H){return 0===H.length?u.D:1===H.length?H[0]:function(se){return H.reduce((te,j)=>j(te),se)}}},334:(ce,B,M)=>{"use strict";M.d(B,{m:()=>ne});var u=M(26),L=M(270);function ne(H){L.f.setTimeout(()=>{const{onUnhandledError:K}=u.$;if(!K)throw H;K(H)})}},414:(ce,B,M)=>{"use strict";M.d(B,{A:()=>L});const L='

Usage

  1. Install ngx-select-ex through npm package manager using the following command:

    npm i ngx-select-ex --save\n

    For usage with Angular 4 install using the following command:

    npm i ngx-select-ex@ng4 --save\n
  2. Add NgxSelectModule into your AppModule class. app.module.ts would look like this:

    import {NgModule} from '@angular/core';\nimport {BrowserModule} from '@angular/platform-browser';\nimport {AppComponent} from './app.component';\nimport { NgxSelectModule } from 'ngx-select-ex';\n\n@NgModule({\n  imports: [BrowserModule, NgxSelectModule],\n  declarations: [AppComponent],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {\n}\n

    If you want to change the default options then use next code:

    import {NgModule} from '@angular/core';\nimport {BrowserModule} from '@angular/platform-browser';\nimport {AppComponent} from './app.component';\nimport { NgxSelectModule, INgxSelectOptions } from 'ngx-select-ex';\n\nconst CustomSelectOptions: INgxSelectOptions = { // Check the interface for more options\n    optionValueField: 'id',\n    optionTextField: 'name'\n};\n\n@NgModule({\n  imports: [BrowserModule, NgxSelectModule.forRoot(CustomSelectOptions)],\n  declarations: [AppComponent],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {\n}\n
  3. Include Bootstrap styles. For example add to your index.html

    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">\n
  4. Add the tag <ngx-select> into some html

    <ngx-select [items]="items" [(ngModel)]="itemId"></ngx-select>\n
  5. More information regarding of using ngx-select-ex is located in demo.

API

Any item can be disabled for prevent selection. For disable an item add the property disabled to the item.

Input Type Default Description
[items] any[] [] Items array. Should be an array of objects with id and text properties. As convenience, you may also pass an array of strings, in which case the same string is used for both the ID and the text. Items may be nested by adding a options property to any item, whose value should be another array of items. Items that have children may omit to have an ID.
optionValueField string 'id' Provide an opportunity to change the name an id property of objects in the items
optionTextField string 'text' Provide an opportunity to change the name a text property of objects in the items
optGroupLabelField string 'label' Provide an opportunity to change the name a label property of objects with an options property in the items
optGroupOptionsField string 'options' Provide an opportunity to change the name of an options property of objects in the items
[multiple] boolean false Mode of this component. If set true user can select more than one option
[allowClear] boolean false Set to true to allow the selection to be cleared. This option only applies to single-value inputs
[placeholder] string '' Set to true Placeholder text to display when the element has no focus and selected items
[noAutoComplete] boolean false Set to true to hide the search input. This option only applies to single-value inputs
[keepSelectedItems] boolean false Storing the selected items when the item list is changed
[disabled] boolean false When true, it specifies that the component should be disabled
[defaultValue] any[] [] Use to set default value
autoSelectSingleOption boolean false Auto select a non disabled single option
autoClearSearch boolean false Auto clear a search text after select an option. Has effect for multiple = true
noResultsFound string 'No results found' The default text showed when a search has no results
size 'small'/'default'/'large' 'default' Adding bootstrap classes: form-control-sm, input-sm, form-control-lg input-lg, btn-sm, btn-lg
searchCallback (search: string, item: INgxSelectOption) => boolean null The callback function for custom filtering the select list
autoActiveOnMouseEnter boolean true Automatically activate item when mouse enter on it
isFocused boolean false Makes the component focused
keepSelectMenuOpened boolean false Keeps the select menu opened
autocomplete string 'off' Sets an autocomplete value for the input field
dropDownMenuOtherClasses string '' Add css classes to the element with dropdown-menu class. For example dropdown-menu-right
showOptionNotFoundForEmptyItems boolean false Shows the "Not Found" menu option in case of out of items at all
noSanitize boolean false Disables auto mark an HTML as safe. Turn it on for safety from XSS if you render untrusted content in the options
appendTo string null Append dropdown menu to any element using css selector
Output Description
(typed) Fired on changing search input. Returns string with that value.
(focus) Fired on select focus
(blur) Fired on select blur
(open) Fired on select dropdown open
(close) Fired on select dropdown close
(select) Fired on an item selected by user. Returns value of the selected item.
(remove) Fired on an item removed by user. Returns value of the removed item.
(navigated) Fired on navigate by the dropdown list. Returns: INgxOptionNavigated.
(selectionChanges) Fired on change selected options. Returns: INgxSelectOption[].

Warning! Although the component contains the select and the remove events, the better solution is using valueChanges of the FormControl.

import {Component} from '@angular/core';\nimport {FormControl} from '@angular/forms';\n\n@Component({\n    selector: 'app-example',\n    template: `<ngx-select [items]="['111', '222']" [formControl]="selectControl"></ngx-select>`\n})\nclass ExampleComponent {\n    public selectControl = new FormControl();\n    \n    constructor() {\n        this.selectControl.valueChanges.subscribe(value => console.log(value));\n    }\n}\n

Styles and customization

Currently, the component contains CSS classes named within BEM Methodology. As well it contains the "Bootstrap classes". Recommended use BEM classes for style customization.

List of styles for customization:

  • ngx-select - Main class of the component.
  • ngx-select_multiple - Modifier of the multiple mode. It's available when the property multiple is true.
  • ngx-select__disabled - Layer for the disabled mode.
  • ngx-select__selected - The common container for displaying selected items.
  • ngx-select__toggle - The toggle for single mode. It's available when the property multiple is false.
  • ngx-select__placeholder - The placeholder item. It's available when the property multiple is false.
  • ngx-select__selected-single - The selected item with single mode. It's available when the property multiple is false.
  • ngx-select__selected-plural - The multiple selected item. It's available when the property multiple is true.
  • ngx-select__allow-clear - The indicator that the selected single item can be removed. It's available while properties the multiple is false and the allowClear is true.
  • ngx-select__toggle-buttons - The container of buttons such as the clear and the toggle.
  • ngx-select__toggle-caret - The drop-down button of the single mode. It's available when the property multiple is false.
  • ngx-select__clear - The button clear.
  • ngx-select__clear-icon - The cross icon.
  • ngx-select__search - The input field for full text lives searching.
  • ngx-select__choices - The common container of items.
  • ngx-select__item-group - The group of items.
  • ngx-select__item - An item.
  • ngx-select__item_disabled - Modifier of a disabled item.
  • ngx-select__item_active - Modifier of the activated item.

Templates

For extended rendering customisation you are can use the ng-template:

<ngx-select [items]="items" optionValueField="hex" optionTextField="name" [(ngModel)]="ngxValue">\n\n    <ng-template ngx-select-option-selected let-option let-text="text">\n        <span class="color-box" [style]="style('background-color:' + option.value)"></span>\n        <span [innerHtml]="text"></span>\n        ({{option.data.hex}})\n    </ng-template>\n\n    <ng-template ngx-select-option let-option let-text="text">\n        <span class="color-box" [style]="style('background-color:' + option.value)"></span>\n        <span [innerHtml]="text"></span>\n        ({{option.data.hex}})\n    </ng-template>\n\n    <ng-template ngx-select-option-not-found>\n        Nothing found\n    </ng-template>\n\n</ngx-select>\n

Also, you are can mix directives for reducing template:

<ngx-select [items]="items" optionValueField="hex" optionTextField="name" [(ngModel)]="ngxValue">\n    <ng-template ngx-select-option-selected ngx-select-option let-option let-text="text">\n        <span class="color-box" [style]="style('background-color:' + option.value)"></span>\n        <span [innerHtml]="text"></span>\n        ({{option.data.hex}})\n    </ng-template>\n\n    <ng-template ngx-select-option-not-found let-input>\n        Not found <button (click)="addItem(input)">(+) Add "{{input}}" as new item</button>\n    </ng-template>\n</ngx-select>\n

Description details of the directives:

  1. ngx-select-option-selected - Customization rendering selected options. Representing variables:
    • option (implicit) - object of type INgxSelectOption.
    • text - The text defined by the property optionTextField.
    • index - Number value of index the option in the select list. Always equal to zero for the single select.
  2. ngx-select-option - Customization rendering options in the dropdown menu. Representing variables:
    • option (implicit) - object of type INgxSelectOption.
    • text - The highlighted text defined by the property optionTextField. It is highlighted in the search.
    • index - Number value of index for the top level.
    • subIndex - Number value of index for the second level.
  3. ngx-select-option-not-found - Customization "not found text". Does not represent any variables.
'},48:(ce,B,M)=>{"use strict";M.d(B,{A:()=>L});const L='

Getting started

First of all, Welcome!

'},175:(ce,B,M)=>{"use strict";M.r(B),M.d(B,{default:()=>u});const u='

Container with fixed height and hidden overflow

\n
\n
\n

Default

\n
\n
\n
\n \n \n
\n
\n
\n

\n
\n
{{ ngxControl1.value| json }}
\n
\n
\n \n
\n
\n\n
\n

Appended to scrollable

\n
\n
\n
\n \n \n
\n
\n
\n

\n
\n
{{ ngxControl2.value| json }}
\n
\n
\n \n
\n
\n
\n'},607:(ce,B,M)=>{"use strict";M.r(B),M.d(B,{default:()=>u});const u="import { Component } from '@angular/core';\nimport {ReactiveFormsModule, UntypedFormControl} from '@angular/forms';\nimport {NgxSelectModule} from \"ngx-select-ex\";\nimport {JsonPipe} from \"@angular/common\";\n\n@Component({\n selector: 'app-append-to-demo',\n templateUrl: './append-to-demo.html',\n imports: [\n NgxSelectModule,\n ReactiveFormsModule,\n JsonPipe\n ]\n})\nexport class AppendToDemoComponent {\n public items: string[] = ['Amsterdam', 'Antwerp', 'Athens', 'Barcelona',\n 'Berlin', 'Birmingham', 'Bradford', 'Bremen', 'Brussels', 'Bucharest',\n 'Budapest', 'Cologne', 'Copenhagen'];\n\n public ngxControl1 = new UntypedFormControl();\n public ngxControl2 = new UntypedFormControl();\n}\n"},96:(ce,B,M)=>{"use strict";M.r(B),M.d(B,{default:()=>u});const u='

Select a city by country

\n
\n
\n \n \n

\n
\n
{{ngxValue | json}}
\n
\n
\n \n
\n
\n
\n'},224:(ce,B,M)=>{"use strict";M.r(B),M.d(B,{default:()=>u});const u="import { Component } from '@angular/core';\nimport {NgxSelectModule} from 'ngx-select-ex';\nimport {FormsModule} from '@angular/forms';\nimport {JsonPipe} from '@angular/common';\n\n@Component({\n selector: 'app-children-demo',\n templateUrl: './children-demo.html',\n imports: [\n NgxSelectModule,\n FormsModule,\n JsonPipe\n ]\n})\nexport class ChildrenDemoComponent {\n public items: any[] = [\n {\n id: 100,\n text: 'Austria',\n children: [\n {id: 54, text: 'Vienna'},\n ],\n },\n {\n id: 200,\n text: 'Belgium',\n children: [\n {id: 2, text: 'Antwerp'},\n {id: 9, text: 'Brussels'},\n ],\n },\n {\n id: 300,\n text: 'Bulgaria',\n children: [\n {id: 48, text: 'Sofia'},\n ],\n },\n {\n id: 400,\n text: 'Croatia',\n children: [\n {id: 58, text: 'Zagreb'},\n ],\n },\n {\n id: 500,\n text: 'Czech Republic',\n children: [\n {id: 42, text: 'Prague'},\n ],\n },\n {\n id: 600,\n text: 'Denmark',\n children: [\n {id: 13, text: 'Copenhagen'},\n ],\n },\n {\n id: 700,\n text: 'England',\n children: [\n {id: 6, text: 'Birmingham'},\n {id: 7, text: 'Bradford'},\n {id: 26, text: 'Leeds', disabled: true},\n {id: 30, text: 'London'},\n {id: 34, text: 'Manchester'},\n {id: 47, text: 'Sheffield'},\n ],\n },\n {\n id: 800,\n text: 'Finland',\n children: [\n {id: 25, text: 'Helsinki'},\n ],\n },\n {\n id: 900,\n text: 'France',\n children: [\n {id: 35, text: 'Marseille'},\n {id: 40, text: 'Paris'},\n ],\n },\n {\n id: 1000,\n text: 'Germany',\n children: [\n {id: 5, text: 'Berlin'},\n {id: 8, text: 'Bremen'},\n {id: 12, text: 'Cologne'},\n {id: 14, text: 'Dortmund'},\n {id: 15, text: 'Dresden'},\n {id: 17, text: 'D\xfcsseldorf'},\n {id: 18, text: 'Essen'},\n {id: 19, text: 'Frankfurt'},\n {id: 23, text: 'Hamburg'},\n {id: 24, text: 'Hannover'},\n {id: 27, text: 'Leipzig'},\n {id: 37, text: 'Munich'},\n {id: 50, text: 'Stuttgart'},\n ],\n },\n {\n id: 1100,\n text: 'Greece',\n children: [\n {id: 3, text: 'Athens'},\n ],\n },\n {\n id: 1200,\n text: 'Hungary',\n children: [\n {id: 11, text: 'Budapest'},\n ],\n },\n {\n id: 1300,\n text: 'Ireland',\n children: [\n {id: 16, text: 'Dublin'},\n ],\n },\n {\n id: 1400,\n text: 'Italy',\n children: [\n {id: 20, text: 'Genoa'},\n {id: 36, text: 'Milan'},\n {id: 38, text: 'Naples'},\n {id: 39, text: 'Palermo'},\n {id: 44, text: 'Rome'},\n {id: 52, text: 'Turin'},\n ],\n },\n {\n id: 1500,\n text: 'Latvia',\n children: [\n {id: 43, text: 'Riga'},\n ],\n },\n {\n id: 1600,\n text: 'Lithuania',\n children: [\n {id: 55, text: 'Vilnius'},\n ],\n },\n {\n id: 1700,\n text: 'Netherlands',\n children: [\n {id: 1, text: 'Amsterdam'},\n {id: 45, text: 'Rotterdam'},\n {id: 51, text: 'The Hague'},\n ],\n },\n {\n id: 1800,\n text: 'Poland',\n children: [\n {id: 29, text: '\u0141\xf3d\u017a'},\n {id: 31, text: 'Krak\xf3w'},\n {id: 41, text: 'Pozna\u0144'},\n {id: 56, text: 'Warsaw'},\n {id: 57, text: 'Wroc\u0142aw'},\n ],\n },\n {\n id: 1900,\n text: 'Portugal',\n children: [\n {id: 28, text: 'Lisbon'},\n ],\n },\n {\n id: 2000,\n text: 'Romania',\n children: [\n {id: 10, text: 'Bucharest'},\n ],\n },\n {\n id: 2100,\n text: 'Scotland',\n children: [\n {id: 21, text: 'Glasgow'},\n ],\n },\n {\n id: 2200,\n text: 'Spain',\n children: [\n {id: 4, text: 'Barcelona'},\n {id: 32, text: 'Madrid'},\n {id: 33, text: 'M\xe1laga'},\n {id: 46, text: 'Seville'},\n {id: 53, text: 'Valencia'},\n {id: 59, text: 'Zaragoza'},\n ],\n },\n {\n id: 2300,\n text: 'Sweden',\n children: [\n {id: 22, text: 'Gothenburg'},\n {id: 49, text: 'Stockholm'},\n ],\n },\n ];\n\n public ngxValue: any[] = [];\n public ngxDisabled = false;\n}\n"},125:(ce,B,M)=>{"use strict";M.r(B),M.d(B,{default:()=>u});const u='

Select multiple cities

\n
\n
\n \n \n

\n
\n
{{ngxValue | json}}
\n
\n
\n \n
\n
\n
\n'},545:(ce,B,M)=>{"use strict";M.r(B),M.d(B,{default:()=>u});const u="import {Component} from '@angular/core';\nimport {INgxSelectOption, NgxSelectModule} from 'ngx-select-ex';\nimport {FormsModule} from '@angular/forms';\nimport {JsonPipe} from '@angular/common';\n\n@Component({\n selector: 'app-multiple-demo',\n templateUrl: './multiple-demo.html',\n imports: [\n NgxSelectModule,\n FormsModule,\n JsonPipe\n ]\n})\nexport class MultipleDemoComponent {\n public items: string[] = ['Amsterdam', 'Antwerp', 'Athens', 'Barcelona',\n 'Berlin', 'Birmingham', 'Bradford', 'Bremen', 'Brussels', 'Bucharest',\n 'Budapest', 'Cologne', 'Copenhagen', 'Dortmund', 'Dresden', 'Dublin', 'D\xfcsseldorf',\n 'Essen', 'Frankfurt', 'Genoa', 'Glasgow', 'Gothenburg', 'Hamburg', 'Hannover',\n 'Helsinki', 'Leeds', 'Leipzig', 'Lisbon', '\u0141\xf3d\u017a', 'London', 'Krak\xf3w', 'Madrid',\n 'M\xe1laga', 'Manchester', 'Marseille', 'Milan', 'Munich', 'Naples', 'Palermo',\n 'Paris', 'Pozna\u0144', 'Prague', 'Riga', 'Rome', 'Rotterdam', 'Seville', 'Sheffield',\n 'Sofia', 'Stockholm', 'Stuttgart', 'The Hague', 'Turin', 'Valencia', 'Vienna',\n 'Vilnius', 'Warsaw', 'Wroc\u0142aw', 'Zagreb', 'Zaragoza'];\n\n public ngxValue: any = [];\n public ngxDisabled = false;\n\n public doSelectOptions = (options: INgxSelectOption[]) => console.log('MultipleDemoComponent.doSelectOptions', options);\n}\n"},3:(ce,B,M)=>{"use strict";M.r(B),M.d(B,{default:()=>u});const u='

Select a single city with {{items.length}} items

\n
\n
\n \n \n

\n
\n
{{ngxValue | json}}
\n
\n
\n \n
\n
\n
'},584:(ce,B,M)=>{"use strict";M.r(B),M.d(B,{default:()=>u});const u="import { Component } from '@angular/core';\nimport {NgxSelectModule} from 'ngx-select-ex';\nimport {FormsModule} from '@angular/forms';\nimport {JsonPipe} from '@angular/common';\n\n@Component({\n selector: 'app-no-autocomplete-demo',\n templateUrl: './no-autocomplete-demo.html',\n imports: [\n NgxSelectModule,\n FormsModule,\n JsonPipe\n ]\n})\nexport class NoAutoCompleteDemoComponent {\n public _items: string[] = ['Amsterdam', 'Antwerp', 'Athens', 'Barcelona',\n 'Berlin', 'Birmingham', 'Bradford', 'Bremen', 'Brussels', 'Bucharest',\n 'Budapest', 'Cologne', 'Copenhagen', 'Dortmund', 'Dresden', 'Dublin',\n 'D\xfcsseldorf', 'Essen', 'Frankfurt', 'Genoa', 'Glasgow', 'Gothenburg',\n 'Hamburg', 'Hannover', 'Helsinki', 'Krak\xf3w', 'Leeds', 'Leipzig', 'Lisbon',\n 'London', 'Madrid', 'Manchester', 'Marseille', 'Milan', 'Munich', 'M\xe1laga',\n 'Naples', 'Palermo', 'Paris', 'Pozna\u0144', 'Prague', 'Riga', 'Rome',\n 'Rotterdam', 'Seville', 'Sheffield', 'Sofia', 'Stockholm', 'Stuttgart',\n 'The Hague', 'Turin', 'Valencia', 'Vienna', 'Vilnius', 'Warsaw', 'Wroc\u0142aw',\n 'Zagreb', 'Zaragoza', '\u0141\xf3d\u017a'];\n\n constructor() {\n const a = [];\n for (let i = 1; i <= 20; i++) {\n this._items.forEach(v => a.push(i + ' ' + v));\n }\n this.items = a;\n }\n\n public items: string[] = [];\n public ngxValue: any = [];\n public ngxDisabled = false;\n}\n"},499:(ce,B,M)=>{"use strict";M.r(B),M.d(B,{default:()=>u});const u='

Select a color

\n
\n
\n \n\n \n \n \n ({{option.data.hex}})\n \n\n \n "{{input}}" not found\n \n\n \n

\n
\n
{{ngxValue | json}}
\n
\n
\n \n
\n
\n
\n'},379:(ce,B,M)=>{"use strict";M.r(B),M.d(B,{default:()=>u});const u="import { Component, ViewEncapsulation } from '@angular/core';\nimport { DomSanitizer, SafeStyle } from '@angular/platform-browser';\nimport {NgxSelectModule} from 'ngx-select-ex';\nimport {FormsModule} from '@angular/forms';\nimport {JsonPipe} from '@angular/common';\n\nconst COLORS = [\n {name: 'Blue 10', hex: '#C0E6FF'},\n {name: 'Blue 20', hex: '#7CC7FF'},\n {name: 'Blue 30', hex: '#5AAAFA', disabled: true},\n {name: 'Blue 40', hex: '#5596E6'},\n {name: 'Blue 50', hex: '#4178BE'},\n {name: 'Blue 60', hex: '#325C80'},\n {name: 'Blue 70', hex: '#264A60'},\n {name: 'Blue 80', hex: '#1D3649'},\n {name: 'Blue 90', hex: '#152935'},\n {name: 'Blue 100', hex: '#010205'},\n {name: 'Green 10', hex: '#C8F08F'},\n {name: 'Green 20', hex: '#B4E051'},\n {name: 'Green 30', hex: '#8CD211'},\n {name: 'Green 40', hex: '#5AA700'},\n {name: 'Green 50', hex: '#4B8400'},\n {name: 'Green 60', hex: '#2D660A'},\n {name: 'Green 70', hex: '#144D14'},\n {name: 'Green 80', hex: '#0A3C02'},\n {name: 'Green 90', hex: '#0C2808'},\n {name: 'Green 100', hex: '#010200'},\n {name: 'Red 10', hex: '#FFD2DD'},\n {name: 'Red 20', hex: '#FFA5B4'},\n {name: 'Red 30', hex: '#FF7D87'},\n {name: 'Red 40', hex: '#FF5050'},\n {name: 'Red 50', hex: '#E71D32'},\n {name: 'Red 60', hex: '#AD1625'},\n {name: 'Red 70', hex: '#8C101C'},\n {name: 'Red 80', hex: '#6E0A1E'},\n {name: 'Red 90', hex: '#4C0A17'},\n {name: 'Red 100', hex: '#040001'},\n {name: 'Yellow 10', hex: '#FDE876'},\n {name: 'Yellow 20', hex: '#FDD600'},\n {name: 'Yellow 30', hex: '#EFC100'},\n {name: 'Yellow 40', hex: '#BE9B00'},\n {name: 'Yellow 50', hex: '#8C7300'},\n {name: 'Yellow 60', hex: '#735F00'},\n {name: 'Yellow 70', hex: '#574A00'},\n {name: 'Yellow 80', hex: '#3C3200'},\n {name: 'Yellow 90', hex: '#281E00'},\n {name: 'Yellow 100', hex: '#020100'},\n];\n\n@Component({\n selector: 'app-rich-demo',\n templateUrl: './rich-demo.html',\n styles: [`.color-box {\n display: inline-block;\n height: 14px;\n width: 14px;\n margin-right: 4px;\n border: 1px solid #000;\n }`],\n encapsulation: ViewEncapsulation.None,\n imports: [\n NgxSelectModule,\n FormsModule,\n JsonPipe\n ],\n // Enable dynamic HTML styles\n})\nexport class RichDemoComponent {\n public items: any[] = COLORS;\n\n public ngxValue: any = [];\n public ngxDisabled = false;\n\n constructor(public sanitizer: DomSanitizer) {\n }\n\n public style(data: string): SafeStyle {\n return this.sanitizer.bypassSecurityTrustStyle(data);\n }\n}\n"},205:(ce,B,M)=>{"use strict";M.r(B),M.d(B,{default:()=>u});const u='

Select a single city

\n
\n
\n \n \n

\n
\n
{{ngxControl.value | json}}
\n
\n
\n \n
\n
\n
\n'},249:(ce,B,M)=>{"use strict";M.r(B),M.d(B,{default:()=>u});const u="import { Component, OnDestroy } from '@angular/core';\nimport {ReactiveFormsModule, UntypedFormControl} from '@angular/forms';\nimport {INgxSelectOption, NgxSelectModule} from 'ngx-select-ex';\nimport {JsonPipe} from '@angular/common';\n\n@Component({\n selector: 'app-single-demo',\n templateUrl: './single-demo.html',\n imports: [\n JsonPipe,\n NgxSelectModule,\n ReactiveFormsModule\n ]\n})\nexport class SingleDemoComponent implements OnDestroy {\n public items: string[] = ['Amsterdam', 'Antwerp', 'Athens', 'Barcelona',\n 'Berlin', 'Birmingham', 'Bradford', 'Bremen', 'Brussels', 'Bucharest',\n 'Budapest', 'Cologne', 'Copenhagen', 'Dortmund', 'Dresden', 'Dublin',\n 'D\xfcsseldorf', 'Essen', 'Frankfurt', 'Genoa', 'Glasgow', 'Gothenburg',\n 'Hamburg', 'Hannover', 'Helsinki', 'Krak\xf3w', 'Leeds', 'Leipzig', 'Lisbon',\n 'London', 'Madrid', 'Manchester', 'Marseille', 'Milan', 'Munich', 'M\xe1laga',\n 'Naples', 'Palermo', 'Paris', 'Pozna\u0144', 'Prague', 'Riga', 'Rome',\n 'Rotterdam', 'Seville', 'Sheffield', 'Sofia', 'Stockholm', 'Stuttgart',\n 'The Hague', 'Turin', 'Valencia', 'Vienna', 'Vilnius', 'Warsaw', 'Wroc\u0142aw',\n 'Zagreb', 'Zaragoza', '\u0141\xf3d\u017a'];\n\n public ngxControl = new UntypedFormControl();\n\n private _ngxDefaultTimeout;\n private _ngxDefaultInterval;\n private _ngxDefault;\n\n constructor() {\n this._ngxDefaultTimeout = setTimeout(() => {\n this._ngxDefaultInterval = setInterval(() => {\n const idx = Math.floor(Math.random() * (this.items.length - 1));\n this._ngxDefault = this.items[idx];\n // console.log('new default value = ', this._ngxDefault);\n }, 2000);\n }, 2000);\n }\n\n public ngOnDestroy(): void {\n clearTimeout(this._ngxDefaultTimeout);\n clearInterval(this._ngxDefaultInterval);\n }\n\n public doNgxDefault(): any {\n return this._ngxDefault;\n }\n\n public inputTyped = (source: string, text: string) => console.log('SingleDemoComponent.inputTyped', source, text);\n\n public doFocus = () => console.log('SingleDemoComponent.doFocus');\n\n public doBlur = () => console.log('SingleDemoComponent.doBlur');\n\n public doOpen = () => console.log('SingleDemoComponent.doOpen');\n\n public doClose = () => console.log('SingleDemoComponent.doClose');\n\n public doSelect = (value: any) => console.log('SingleDemoComponent.doSelect', value);\n\n public doRemove = (value: any) => console.log('SingleDemoComponent.doRemove', value);\n\n public doSelectOptions = (options: INgxSelectOption[]) => console.log('SingleDemoComponent.doSelectOptions', options);\n}\n"},969:(ce,B,M)=>{"use strict";M.d(B,{FX:()=>bt,If:()=>u,K2:()=>se,hZ:()=>ne,i0:()=>H,iF:()=>te,kY:()=>Y,kp:()=>L,sf:()=>Vt,ui:()=>Nt,wk:()=>j});var u=function(G){return G[G.State=0]="State",G[G.Transition=1]="Transition",G[G.Sequence=2]="Sequence",G[G.Group=3]="Group",G[G.Animate=4]="Animate",G[G.Keyframes=5]="Keyframes",G[G.Style=6]="Style",G[G.Trigger=7]="Trigger",G[G.Reference=8]="Reference",G[G.AnimateChild=9]="AnimateChild",G[G.AnimateRef=10]="AnimateRef",G[G.Query=11]="Query",G[G.Stagger=12]="Stagger",G}(u||{});const L="*";function ne(G,R){return{type:u.Trigger,name:G,definitions:R,options:{}}}function H(G,R=null){return{type:u.Animate,styles:R,timings:G}}function se(G,R=null){return{type:u.Sequence,steps:G,options:R}}function te(G){return{type:u.Style,styles:G,offset:null}}function j(G,R,ae){return{type:u.State,name:G,styles:R,options:ae}}function Y(G,R,ae=null){return{type:u.Transition,expr:G,animation:R,options:ae}}class Vt{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(R=0,ae=0){this.totalTime=R+ae}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(R=>R()),this._onDoneFns=[])}onStart(R){this._originalOnStartFns.push(R),this._onStartFns.push(R)}onDone(R){this._originalOnDoneFns.push(R),this._onDoneFns.push(R)}onDestroy(R){this._onDestroyFns.push(R)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(R=>R()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(R=>R()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(R){this._position=this.totalTime?R*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(R){const ae="start"==R?this._onStartFns:this._onDoneFns;ae.forEach(we=>we()),ae.length=0}}class Nt{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(R){this.players=R;let ae=0,we=0,Wt=0;const Er=this.players.length;0==Er?queueMicrotask(()=>this._onFinish()):this.players.forEach(Bn=>{Bn.onDone(()=>{++ae==Er&&this._onFinish()}),Bn.onDestroy(()=>{++we==Er&&this._onDestroy()}),Bn.onStart(()=>{++Wt==Er&&this._onStart()})}),this.totalTime=this.players.reduce((Bn,pa)=>Math.max(Bn,pa.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(R=>R()),this._onDoneFns=[])}init(){this.players.forEach(R=>R.init())}onStart(R){this._onStartFns.push(R)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(R=>R()),this._onStartFns=[])}onDone(R){this._onDoneFns.push(R)}onDestroy(R){this._onDestroyFns.push(R)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(R=>R.play())}pause(){this.players.forEach(R=>R.pause())}restart(){this.players.forEach(R=>R.restart())}finish(){this._onFinish(),this.players.forEach(R=>R.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(R=>R.destroy()),this._onDestroyFns.forEach(R=>R()),this._onDestroyFns=[])}reset(){this.players.forEach(R=>R.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(R){const ae=R*this.totalTime;this.players.forEach(we=>{const Wt=we.totalTime?Math.min(1,ae/we.totalTime):1;we.setPosition(Wt)})}getPosition(){const R=this.players.reduce((ae,we)=>null===ae||we.totalTime>ae.totalTime?we:ae,null);return null!=R?R.getPosition():0}beforeDestroy(){this.players.forEach(R=>{R.beforeDestroy&&R.beforeDestroy()})}triggerCallback(R){const ae="start"==R?this._onStartFns:this._onDoneFns;ae.forEach(we=>we()),ae.length=0}}const bt="!"},808:(ce,B,M)=>{"use strict";function ne(e,t){return Object.is(e,t)}M.d(B,{bc$:()=>$f,iLQ:()=>Wu,sZ2:()=>gi,o8S:()=>rr,BIS:()=>$c,gRc:()=>lA,Ql9:()=>tk,Ocv:()=>ck,Z63:()=>$n,aKT:()=>nl,uvJ:()=>Gn,zcH:()=>ao,bkB:()=>Zn,$GK:()=>Ee,nKC:()=>de,zZn:()=>Tt,_q3:()=>T0,MKu:()=>S0,xe9:()=>C0,Co$:()=>K_,Vns:()=>ta,SKi:()=>ht,Agw:()=>Hf,PLl:()=>Hc,rOR:()=>Rf,sFG:()=>FD,_9s:()=>Qh,czy:()=>Ho,WPN:()=>jo,C4Q:()=>Ys,NYb:()=>BM,giA:()=>lw,RxE:()=>Zx,c1b:()=>Gr,gXe:()=>wi,mal:()=>fl,L39:()=>dF,EWP:()=>O0,a0P:()=>PF,Ol2:()=>tv,w6W:()=>lM,QZP:()=>F0,Rfq:()=>lr,WQX:()=>W,hFB:()=>om,Hps:()=>rv,QuC:()=>Eo,EmA:()=>Io,Udg:()=>fF,Jn2:()=>sk,N4e:()=>gc,vPA:()=>sa,O8t:()=>bd,An2:()=>nn,H3F:()=>YD,H8p:()=>cg,KH2:()=>_d,TgB:()=>vr,wOt:()=>Q,WHO:()=>sw,e01:()=>aw,lNU:()=>_a,h9k:()=>Dl,$MX:()=>uu,ZF7:()=>er,Kcf:()=>AC,e5t:()=>OC,UyX:()=>RC,cWb:()=>Km,osQ:()=>NC,H5H:()=>YE,mq5:()=>fS,JZv:()=>qe,TL3:()=>Hk,LfX:()=>Jp,plB:()=>Li,jNT:()=>sv,zjR:()=>cw,ngT:()=>pt,hVU:()=>VM,TL$:()=>jf,Tbb:()=>nt,rcV:()=>jr,Vt3:()=>Qv,GFd:()=>tE,OA$:()=>lb,Jv_:()=>Dx,R7$:()=>E_,BMQ:()=>Ip,HbH:()=>q,AVh:()=>w,vxM:()=>rS,wni:()=>KS,VBU:()=>zD,FsC:()=>qD,jDH:()=>Le,G2t:()=>ei,$C:()=>nv,EJ8:()=>KD,rXU:()=>Gs,nrm:()=>KE,eu8:()=>ZE,k0s:()=>Iy,j41:()=>Ey,RV6:()=>cS,xGo:()=>$g,KVO:()=>xe,kS0:()=>tn,QTQ:()=>I_,bIt:()=>t0,lsd:()=>ZS,XpG:()=>PS,nI1:()=>Ox,bMT:()=>kx,SdG:()=>VS,NAR:()=>LS,Y8G:()=>m,eq3:()=>Ex,l_i:()=>Ix,sMw:()=>Mx,ziG:()=>Tx,mGM:()=>XS,sdS:()=>YS,Dyx:()=>sS,Z7z:()=>iS,fX1:()=>oS,Njj:()=>Mg,EBC:()=>mu,eBV:()=>Dc,npT:()=>sn,n$t:()=>wl,Aen:()=>x,xc7:()=>b,DNE:()=>yp,C5r:()=>Fx,EFF:()=>lx,JRh:()=>s0,SpI:()=>Ay,wXG:()=>n_,DH7:()=>vx,mxI:()=>l0,R50:()=>a0,GBs:()=>QS});let H=null,K=!1,se=1;const te=Symbol("SIGNAL");function j(e){const t=H;return H=e,t}const J={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Ze(e){if(K)throw new Error("");if(null===H)return;H.consumerOnSignalRead(e);const t=H.nextProducerIndex++;G(H),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function oe(e){G(e);for(let t=0;t0}function G(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function R(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function ae(e){return void 0!==e.producerNode}const Wt=Symbol("UNSET"),Er=Symbol("COMPUTING"),Bn=Symbol("ERRORED"),pa={...J,value:Wt,dirty:!0,error:null,equal:ne,producerMustRecompute:e=>e.value===Wt||e.value===Er,producerRecomputeValue(e){if(e.value===Er)throw new Error("Detected cycle in computations.");const t=e.value;e.value=Er;const r=an(e);let s;try{s=e.computation()}catch(l){s=Bn,e.error=l}finally{ze(e,r)}t!==Wt&&t!==Bn&&s!==Bn&&e.equal(t,s)?e.value=t:(e.value=s,e.version++)}};let Yl=function Dd(){throw new Error};function wd(){Yl()}let Wr=null;function ln(e,t){Ye()||wd(),e.equal(e.value,t)||(e.value=t,function ma(e){e.version++,function ue(){se++}(),vn(e),Wr?.()}(e))}const ga={...J,equal:ne,value:void 0};const Yo=()=>{},Id={...J,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Yo};var Gp=M(412),qt=M(413),Jo=M(359),Md=M(354);M(594);const _a="https://g.co/ng/security#xss";class Q extends Error{code;constructor(t,r){super(function yo(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,r)),this.code=t}}const yn=Symbol("InputSignalNode#UNSET"),Oe={...ga,transformFn:void 0,applyValueToInputSignal(e,t){ln(e,t)}};function Kt(e,t){const r=Object.create(Oe);function s(){if(Ze(r),r.value===yn)throw new Q(-950,!1);return r.value}return r.value=e,r.transformFn=t?.transform,s[te]=r,s}function It(e){return{toString:e}.toString()}const Ot="__parameters__";function Pe(e,t,r){return It(()=>{const s=function Zi(e){return function(...r){if(e){const s=e(...r);for(const l in s)this[l]=s[l]}}}(t);function l(...d){if(this instanceof l)return s.apply(this,d),this;const f=new l(...d);return p.annotation=f,p;function p(g,_,v){const C=g.hasOwnProperty(Ot)?g[Ot]:Object.defineProperty(g,Ot,{value:[]})[Ot];for(;C.length<=v;)C.push(null);return(C[v]=C[v]||[]).push(f),g}}return r&&(l.prototype=Object.create(r.prototype)),l.prototype.ngMetadataName=e,l.annotationCls=l,l})}const qe=globalThis;function $e(e){for(let t in e)if(e[t]===$e)return t;throw Error("Could not find renamed property on target object.")}function Yi(e,t){for(const r in t)t.hasOwnProperty(r)&&!e.hasOwnProperty(r)&&(e[r]=t[r])}function nt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(nt).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const r=t.indexOf("\n");return-1===r?t:t.substring(0,r)}function Ir(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ya=$e({__forward_ref__:$e});function lr(e){return e.__forward_ref__=lr,e.toString=function(){return nt(this())},e}function he(e){return es(e)?e():e}function es(e){return"function"==typeof e&&e.hasOwnProperty(ya)&&e.__forward_ref__===lr}function Le(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ei(e){return{providers:e.providers||[],imports:e.imports||[]}}function Kr(e){return oc(e,ni)||oc(e,Da)}function Jp(e){return null!==Kr(e)}function oc(e,t){return e.hasOwnProperty(t)?e[t]:null}function ti(e){return e&&(e.hasOwnProperty(Ca)||e.hasOwnProperty(Nd))?e[Ca]:null}const ni=$e({\u0275prov:$e}),Ca=$e({\u0275inj:$e}),Da=$e({ngInjectableDef:$e}),Nd=$e({ngInjectorDef:$e});class de{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,r){this._desc=t,this.\u0275prov=void 0,"number"==typeof r?this.__NG_ELEMENT_ID__=r:void 0!==r&&(this.\u0275prov=Le({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function ac(e){return e&&!!e.\u0275providers}const Co=$e({\u0275cmp:$e}),rs=$e({\u0275dir:$e}),Do=$e({\u0275pipe:$e}),Mr=$e({\u0275mod:$e}),Tr=$e({\u0275fac:$e}),Bt=$e({__NG_ELEMENT_ID__:$e}),dr=$e({__NG_ENV_ID__:$e});function _e(e){return"string"==typeof e?e:null==e?"":String(e)}function Ea(e,t){throw new Q(-201,!1)}var Ee=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(Ee||{});let Ia;function os(){return Ia}function Xt(e){const t=Ia;return Ia=e,t}function Ma(e,t,r){const s=Kr(e);return s&&"root"==s.providedIn?void 0===s.value?s.value=s.factory():s.value:r&Ee.Optional?null:void 0!==t?t:void Ea()}const jt={},is="__NG_DI_FLAG__",ss="ngTempTokenPath",Ld=/\n/gm,S="__source";let F;function je(e){const t=F;return F=e,t}function Ie(e,t=Ee.Default){if(void 0===F)throw new Q(-203,!1);return null===F?Ma(e,void 0,t):F.get(e,t&Ee.Optional?null:void 0,t)}function xe(e,t=Ee.Default){return(os()||Ie)(he(e),t)}function W(e,t=Ee.Default){return xe(e,Je(t))}function Je(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function kt(e){const t=[];for(let r=0;rArray.isArray(r)?as(r,t):t(r))}function ls(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function Sa(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Nn(e,t,r){let s=cs(e,t);return s>=0?e[1|s]=r:(s=~s,function zy(e,t,r,s){let l=e.length;if(l==t)e.push(r,s);else if(1===l)e.push(s,e[0]),e[0]=r;else{for(l--,e.push(e[l-1],e[l]);l>t;)e[l]=e[l-2],l--;e[t]=r,e[t+1]=s}}(e,s,t,r)),s}function jd(e,t){const r=cs(e,t);if(r>=0)return e[1|r]}function cs(e,t){return function Wy(e,t,r){let s=0,l=e.length>>r;for(;l!==s;){const d=s+(l-s>>1),f=e[d<t?l=d:s=d+1}return~(l<{r.push(f)};return as(t,f=>{const p=f;Ke(p,d,[],s)&&(l||=[],l.push(p))}),void 0!==l&&sg(l,d),r}function sg(e,t){for(let r=0;r{t(d,s)})}}function Ke(e,t,r,s){if(!(e=he(e)))return!1;let l=null,d=ti(e);const f=!d&&Me(e);if(d||f){if(f&&!f.standalone)return!1;l=e}else{const g=e.ngModule;if(d=ti(g),!d)return!1;l=g}const p=s.has(l);if(f){if(p)return!1;if(s.add(l),f.dependencies){const g="function"==typeof f.dependencies?f.dependencies():f.dependencies;for(const _ of g)Ke(_,t,r,s)}}else{if(!d)return!1;{if(null!=d.imports&&!p){let _;s.add(l);try{as(d.imports,v=>{Ke(v,t,r,s)&&(_||=[],_.push(v))})}finally{}void 0!==_&&sg(_,t)}if(!p){const _=fr(l)||(()=>new l);t({provide:l,useFactory:_,deps:He},l),t({provide:ig,useValue:l,multi:!0},l),t({provide:$n,useValue:()=>xe(l),multi:!0},l)}const g=d.providers;if(null!=g&&!p){const _=e;ag(g,v=>{t(v,_)})}}}return l!==e&&void 0!==e.providers}function ag(e,t){for(let r of e)ac(r)&&(r=r.\u0275providers),Array.isArray(r)?ag(r,t):t(r)}const j0=$e({provide:String,useValue:$e});function lg(e){return null!==e&&"object"==typeof e&&j0 in e}function us(e){return"function"==typeof e}const cg=new de(""),Ud={},U0={};let fc;function hc(){return void 0===fc&&(fc=new uc),fc}class Gn{}class Mo extends Gn{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,r,s,l){super(),this.parent=r,this.source=s,this.scopes=l,pc(t,f=>this.processProvider(f)),this.records.set(qy,xa(void 0,this)),l.has("environment")&&this.records.set(Gn,xa(void 0,this));const d=this.records.get(cg);null!=d&&"string"==typeof d.value&&this.scopes.add(d.value),this.injectorDefTypes=new Set(this.get(ig,He,Ee.Self))}destroy(){ds(this),this._destroyed=!0;const t=j(null);try{for(const s of this._ngOnDestroyHooks)s.ngOnDestroy();const r=this._onDestroyHooks;this._onDestroyHooks=[];for(const s of r)s()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),j(t)}}onDestroy(t){return ds(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){ds(this);const r=je(this),s=Xt(void 0);try{return t()}finally{je(r),Xt(s)}}get(t,r=jt,s=Ee.Default){if(ds(this),t.hasOwnProperty(dr))return t[dr](this);s=Je(s);const d=je(this),f=Xt(void 0);try{if(!(s&Ee.SkipSelf)){let g=this.records.get(t);if(void 0===g){const _=function $d(e){return"function"==typeof e||"object"==typeof e&&e instanceof de}(t)&&Kr(t);g=_&&this.injectableDefInScope(_)?xa(oi(t),Ud):null,this.records.set(t,g)}if(null!=g)return this.hydrate(t,g)}return(s&Ee.Self?hc():this.parent).get(t,r=s&Ee.Optional&&r===jt?null:r)}catch(p){if("NullInjectorError"===p.name){if((p[ss]=p[ss]||[]).unshift(nt(t)),d)throw p;return function An(e,t,r,s){const l=e[ss];throw t[S]&&l.unshift(t[S]),e.message=function bn(e,t,r,s=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let l=nt(t);if(Array.isArray(t))l=t.map(nt).join(" -> ");else if("object"==typeof t){let d=[];for(let f in t)if(t.hasOwnProperty(f)){let p=t[f];d.push(f+":"+("string"==typeof p?JSON.stringify(p):nt(p)))}l=`{${d.join(", ")}}`}return`${r}${s?"("+s+")":""}[${l}]: ${e.replace(Ld,"\n ")}`}("\n"+e.message,l,r,s),e.ngTokenPath=l,e[ss]=null,e}(p,t,"R3InjectorError",this.source)}throw p}finally{Xt(f),je(d)}}resolveInjectorInitializers(){const t=j(null),r=je(this),s=Xt(void 0);try{const d=this.get($n,He,Ee.Self);for(const f of d)f()}finally{je(r),Xt(s),j(t)}}toString(){const t=[],r=this.records;for(const s of r.keys())t.push(nt(s));return`R3Injector[${t.join(", ")}]`}processProvider(t){let r=us(t=he(t))?t:he(t&&t.provide);const s=function $0(e){return lg(e)?xa(void 0,e.useValue):xa(Hd(e),Ud)}(t);if(!us(t)&&!0===t.multi){let l=this.records.get(r);l||(l=xa(void 0,Ud,!0),l.factory=()=>kt(l.multi),this.records.set(r,l)),r=t,l.multi.push(t)}this.records.set(r,s)}hydrate(t,r){const s=j(null);try{return r.value===Ud&&(r.value=U0,r.value=r.factory()),"object"==typeof r.value&&r.value&&function z0(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{j(s)}}injectableDefInScope(t){if(!t.providedIn)return!1;const r=he(t.providedIn);return"string"==typeof r?"any"===r||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(t){const r=this._onDestroyHooks.indexOf(t);-1!==r&&this._onDestroyHooks.splice(r,1)}}function oi(e){const t=Kr(e),r=null!==t?t.factory:fr(e);if(null!==r)return r;if(e instanceof de)throw new Q(204,!1);if(e instanceof Function)return function H0(e){if(e.length>0)throw new Q(204,!1);const r=function Un(e){return e&&(e[ni]||e[Da])||null}(e);return null!==r?()=>r.factory(e):()=>new e}(e);throw new Q(204,!1)}function Hd(e,t,r){let s;if(us(e)){const l=he(e);return fr(l)||oi(l)}if(lg(e))s=()=>he(e.useValue);else if(function Qy(e){return!(!e||!e.useFactory)}(e))s=()=>e.useFactory(...kt(e.deps||[]));else if(function Ky(e){return!(!e||!e.useExisting)}(e))s=()=>xe(he(e.useExisting));else{const l=he(e&&(e.useClass||e.provide));if(!function G0(e){return!!e.deps}(e))return fr(l)||oi(l);s=()=>new l(...kt(e.deps))}return s}function ds(e){if(e.destroyed)throw new Q(205,!1)}function xa(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function pc(e,t){for(const r of e)Array.isArray(r)?pc(r,t):r&&ac(r)?pc(r.\u0275providers,t):t(r)}function gc(e,t){e instanceof Mo&&ds(e);const s=je(e),l=Xt(void 0);try{return t()}finally{je(s),Xt(l)}}function ug(){return void 0!==os()||null!=function X(){return F}()}function ii(e){if(!ug())throw new Q(-203,!1)}const it=0,V=1,ie=2,Ct=3,un=4,Ht=5,Dn=6,Aa=7,st=8,Qe=9,Jr=10,ve=11,fs=12,hs=13,Ra=14,ct=15,xr=16,Na=17,To=18,ps=19,_c=20,zn=21,vc=22,si=23,On=24,ee=25,Oa=1,pr=7,ai=9,gt=10;var yc=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(yc||{});function dt(e){return Array.isArray(e)&&"object"==typeof e[Oa]}function Mt(e){return Array.isArray(e)&&!0===e[Oa]}function ka(e){return!!(4&e.flags)}function Ar(e){return e.componentOffset>-1}function Fa(e){return!(1&~e.flags)}function gr(e){return!!e.template}function Pa(e){return!!(512&e[ie])}class ab{previousValue;currentValue;firstChange;constructor(t,r,s){this.previousValue=t,this.currentValue=r,this.firstChange=s}isFirstChange(){return this.firstChange}}function _g(e,t,r,s){null!==t?t.applyValueToInputSignal(t,s):e[r]=s}const lb=(()=>{const e=()=>cb;return e.ngInherit=!0,e})();function cb(e){return e.type.prototype.ngOnChanges&&(e.setInput=db),ub}function ub(){const e=hb(this),t=e?.current;if(t){const r=e.previous;if(r===Sr)e.previous=t;else for(let s in t)r[s]=t[s];e.current=null,this.ngOnChanges(t)}}function db(e,t,r,s,l){const d=this.declaredInputs[s],f=hb(e)||function sI(e,t){return e[fb]=t}(e,{previous:Sr,current:null}),p=f.current||(f.current={}),g=f.previous,_=g[d];p[d]=new ab(_&&_.currentValue,r,g===Sr),_g(e,t,l,r)}const fb="__ngSimpleChanges__";function hb(e){return e[fb]||null}const Rr=function(e,t,r){};function Ue(e){for(;Array.isArray(e);)e=e[it];return e}function bc(e,t){return Ue(t[e])}function dn(e,t){return Ue(t[e.index])}function Va(e,t){return e.data[t]}function ms(e,t){return e[t]}function qn(e,t){const r=t[e];return dt(r)?r:r[it]}function Cg(e){return!(128&~e[ie])}function Kn(e,t){return null==t?null:e[t]}function eo(e){e[Na]=0}function li(e){1024&e[ie]||(e[ie]|=1024,Cg(e)&&Cc(e))}function Xd(e){return!!(9216&e[ie]||e[On]?.dirty)}function Dg(e){e[Jr].changeDetectionScheduler?.notify(9),64&e[ie]&&(e[ie]|=1024),Xd(e)&&Cc(e)}function Cc(e){e[Jr].changeDetectionScheduler?.notify(0);let t=So(e);for(;null!==t&&!(8192&t[ie])&&(t[ie]|=8192,Cg(t));)t=So(t)}function Zd(e,t){if(!(256&~e[ie]))throw new Q(911,!1);null===e[zn]&&(e[zn]=[]),e[zn].push(t)}function So(e){const t=e[Ct];return Mt(t)?t[Ct]:t}const ye={lFrame:rf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Ba=!1;function Ig(){return ye.bindingsEnabled}function ci(){return null!==ye.skipHydrationRootTNode}function A(){return ye.lFrame.lView}function me(){return ye.lFrame.tView}function Dc(e){return ye.lFrame.contextLView=e,e[st]}function Mg(e){return ye.lFrame.contextLView=null,e}function Ae(){let e=Jd();for(;null!==e&&64===e.type;)e=e.parent;return e}function Jd(){return ye.lFrame.currentTNode}function mr(e,t){const r=ye.lFrame;r.currentTNode=e,r.isParent=t}function ef(){return ye.lFrame.isParent}function Nr(){ye.lFrame.isParent=!1}function Sg(){return Ba}function _s(e){const t=Ba;return Ba=e,t}function fn(){const e=ye.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Qn(){return ye.lFrame.bindingIndex++}function no(e){const t=ye.lFrame,r=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,r}function Eb(e,t){const r=ye.lFrame;r.bindingIndex=r.bindingRootIndex=e,Rg(t)}function Rg(e){ye.lFrame.currentDirectiveIndex=e}function wc(){return ye.lFrame.currentQueryIndex}function Ha(e){ye.lFrame.currentQueryIndex=e}function Ng(e){const t=e[V];return 2===t.type?t.declTNode:1===t.type?e[Ht]:null}function nf(e,t,r){if(r&Ee.SkipSelf){let l=t,d=e;for(;!(l=l.parent,null!==l||r&Ee.Host||(l=Ng(d),null===l||(d=d[Ra],10&l.type))););if(null===l)return!1;t=l,e=d}const s=ye.lFrame=Og();return s.currentTNode=t,s.lView=e,!0}function Ec(e){const t=Og(),r=e[V];ye.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex,t.inI18n=!1}function Og(){const e=ye.lFrame,t=null===e?null:e.child;return null===t?rf(e):t}function rf(e){const t={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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function sf(){const e=ye.lFrame;return ye.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const af=sf;function Ic(){const e=sf();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Ge(){return ye.lFrame.selectedIndex}function ui(e){ye.lFrame.selectedIndex=e}function et(){const e=ye.lFrame;return Va(e.tView,e.selectedIndex)}let Or=!0;function mt(){return Or}function rt(e){Or=e}function $a(e,t){for(let r=t.directiveStart,s=t.directiveEnd;r=s)break}else t[g]<0&&(e[Na]+=65536),(p>14>16&&(3&e[ie])===t&&(e[ie]+=16384,cf(p,d)):cf(p,d)}const vs=-1;class ut{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,r,s){this.factory=t,this.canSeeViewProviders=r,this.injectImpl=s}}function uf(e,t,r){let s=0;for(;st){f=d-1;break}}}for(;d>16}(e),s=t;for(;r>0;)s=s[Ra],r--;return s}let ro=!0;function xc(e){const t=ro;return ro=e,t}const Hg=255,Dt=5;let Ac=0;const kr={};function Ka(e,t){const r=Qa(e,t);if(-1!==r)return r;const s=t[V];s.firstCreatePass&&(e.injectorIndex=t.length,hf(s.data,e),hf(t,null),hf(s.blueprint,null));const l=hn(e,t),d=e.injectorIndex;if(Te(l)){const f=qa(l),p=di(l,t),g=p[V].data;for(let _=0;_<8;_++)t[d+_]=p[f+_]|g[f+_]}return t[d+8]=l,d}function hf(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Qa(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function hn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let r=0,s=null,l=t;for(;null!==l;){if(s=Gg(l),null===s)return vs;if(r++,l=l[Ra],-1!==s.injectorIndex)return s.injectorIndex|r<<16}return vs}function wn(e,t,r){!function Rc(e,t,r){let s;"string"==typeof r?s=r.charCodeAt(0)||0:r.hasOwnProperty(Bt)&&(s=r[Bt]),null==s&&(s=r[Bt]=Ac++);const l=s&Hg;t.data[e+(l>>Dt)]|=1<=0?t&Hg:Fb:t}(r);if("function"==typeof d){if(!nf(t,e,s))return s&Ee.Host?gf(l,0,s):_r(t,r,s,l);try{let f;if(f=d(s),null!=f||s&Ee.Optional)return f;Ea()}finally{af()}}else if("number"==typeof d){let f=null,p=Qa(e,t),g=vs,_=s&Ee.Host?t[ct][Ht]:null;for((-1===p||s&Ee.SkipSelf)&&(g=-1===p?hn(e,t):t[p+8],g!==vs&&mf(s,!1)?(f=t[V],p=qa(g),t=di(g,t)):p=-1);-1!==p;){const v=t[V];if(fi(d,p,v.data)){const C=En(p,t,r,f,s,_);if(C!==kr)return C}g=t[p+8],g!==vs&&mf(s,t[V].data[p+8]===_)&&fi(d,p,t)?(f=v,p=qa(g),t=di(g,t)):p=-1}}return l}function En(e,t,r,s,l,d){const f=t[V],p=f.data[e+8],v=Fr(p,f,r,null==s?Ar(p)&&ro:s!=f&&!!(3&p.type),l&Ee.Host&&d===p);return null!==v?Pr(t,f,v,p):kr}function Fr(e,t,r,s,l){const d=e.providerIndexes,f=t.data,p=1048575&d,g=e.directiveStart,v=d>>20,E=l?p+v:e.directiveEnd;for(let I=s?p:p+v;I=g&&T.type===r)return I}if(l){const I=f[g];if(I&&gr(I)&&I.type===r)return g}return null}function Pr(e,t,r,s){let l=e[r];const d=t.data;if(function Vg(e){return e instanceof ut}(l)){const f=l;f.resolving&&function kd(e,t){throw t&&t.join(" > "),new Q(-200,e)}(function Be(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():_e(e)}(d[r]));const p=xc(f.canSeeViewProviders);f.resolving=!0;const _=f.injectImpl?Xt(f.injectImpl):null;nf(e,s,Ee.Default);try{l=e[r]=f.factory(void 0,d,e,s),t.firstCreatePass&&r>=s.directiveStart&&function Pg(e,t,r){const{ngOnChanges:s,ngOnInit:l,ngDoCheck:d}=t.type.prototype;if(s){const f=cb(t);(r.preOrderHooks??=[]).push(e,f),(r.preOrderCheckHooks??=[]).push(e,f)}l&&(r.preOrderHooks??=[]).push(0-e,l),d&&((r.preOrderHooks??=[]).push(e,d),(r.preOrderCheckHooks??=[]).push(e,d))}(r,d[r],t)}finally{null!==_&&Xt(_),xc(p),f.resolving=!1,af()}}return l}function fi(e,t,r){return!!(r[t+(e>>Dt)]&1<{const t=e.prototype.constructor,r=t[Tr]||_f(t),s=Object.prototype;let l=Object.getPrototypeOf(e.prototype).constructor;for(;l&&l!==s;){const d=l[Tr]||_f(l);if(d&&d!==r)return d;l=Object.getPrototypeOf(l)}return d=>new d})}function _f(e){return es(e)?()=>{const t=_f(he(e));return t&&t()}:fr(e)}function Gg(e){const t=e[V],r=t.type;return 2===r?t.declTNode:1===r?e[Ht]:null}function tn(e){return function pf(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const r=e.attrs;if(r){const s=r.length;let l=0;for(;lxe(qy)});static __NG_ELEMENT_ID__=-1}new de("").__NG_ELEMENT_ID__=e=>{const t=Ae();if(null===t)throw new Q(204,!1);if(2&t.type)return t.value;if(e&Ee.Optional)return null;throw new Q(204,!1)};const Ao=!1;let ke=(()=>class e{static __NG_ELEMENT_ID__=jb;static __NG_ENV_ID__=r=>r})();class Ds extends ke{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return Zd(this._lView,t),()=>function wg(e,t){if(null===e[zn])return;const r=e[zn].indexOf(t);-1!==r&&e[zn].splice(r,1)}(this._lView,t)}}function jb(){return new Ds(A())}class nn{}const Xa=new de("",{providedIn:"root",factory:()=>!1}),Ya=new de(""),Ef=new de("");let vr=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Gp.t(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const r=this.taskId++;return this.pendingTasks.add(r),r}has(r){return this.pendingTasks.has(r)}remove(r){this.pendingTasks.delete(r),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=Le({token:e,providedIn:"root",factory:()=>new e})}return e})();const Zn=class Xg extends qt.B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,ug()&&(this.destroyRef=W(ke,{optional:!0})??void 0,this.pendingTasks=W(vr,{optional:!0})??void 0)}emit(t){const r=j(null);try{super.next(t)}finally{j(r)}}subscribe(t,r,s){let l=t,d=r||(()=>null),f=s;if(t&&"object"==typeof t){const g=t;l=g.next?.bind(g),d=g.error?.bind(g),f=g.complete?.bind(g)}this.__isAsync&&(d=this.wrapInTimeout(d),l&&(l=this.wrapInTimeout(l)),f&&(f=this.wrapInTimeout(f)));const p=super.subscribe({next:l,error:d,complete:f});return t instanceof Jo.yU&&t.add(p),p}wrapInTimeout(t){return r=>{const s=this.pendingTasks?.add();setTimeout(()=>{t(r),void 0!==s&&this.pendingTasks?.remove(s)})}}};function el(...e){}function Nc(e){let t,r;function s(){e=el;try{void 0!==r&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(r),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),s()}),"function"==typeof requestAnimationFrame&&(r=requestAnimationFrame(()=>{e(),s()})),()=>s()}function tl(e){return queueMicrotask(()=>e()),()=>{e=el}}const Oc="isAngularZone",kc=Oc+"_ID";let Hb=0;class ht{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Zn(!1);onMicrotaskEmpty=new Zn(!1);onStable=new Zn(!1);onError=new Zn(!1);constructor(t){const{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:s=!1,shouldCoalesceRunChangeDetection:l=!1,scheduleInRootZone:d=Ao}=t;if(typeof Zone>"u")throw new Q(908,!1);Zone.assertZonePatched();const f=this;f._nesting=0,f._outer=f._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(f._inner=f._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(f._inner=f._inner.fork(Zone.longStackTraceZoneSpec)),f.shouldCoalesceEventChangeDetection=!l&&s,f.shouldCoalesceRunChangeDetection=l,f.callbackScheduled=!1,f.scheduleInRootZone=d,function Gb(e){const t=()=>{!function $b(e){function t(){Nc(()=>{e.callbackScheduled=!1,Tf(e),e.isCheckStableRunning=!0,Mf(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Tf(e))}(e)},r=Hb++;e._inner=e._inner.fork({name:"angular",properties:{[Oc]:!0,[kc]:r,[kc+r]:!0},onInvokeTask:(s,l,d,f,p,g)=>{if(function Jg(e){return tm(e,"__ignore_ng_zone__")}(g))return s.invokeTask(d,f,p,g);try{return Zg(e),s.invokeTask(d,f,p,g)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===f.type||e.shouldCoalesceRunChangeDetection)&&t(),Yg(e)}},onInvoke:(s,l,d,f,p,g,_)=>{try{return Zg(e),s.invoke(d,f,p,g,_)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function em(e){return tm(e,"__scheduler_tick__")}(g)&&t(),Yg(e)}},onHasTask:(s,l,d,f)=>{s.hasTask(d,f),l===d&&("microTask"==f.change?(e._hasPendingMicrotasks=f.microTask,Tf(e),Mf(e)):"macroTask"==f.change&&(e.hasPendingMacrotasks=f.macroTask))},onHandleError:(s,l,d,f)=>(s.handleError(d,f),e.runOutsideAngular(()=>e.onError.emit(f)),!1)})}(f)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Oc)}static assertInAngularZone(){if(!ht.isInAngularZone())throw new Q(909,!1)}static assertNotInAngularZone(){if(ht.isInAngularZone())throw new Q(909,!1)}run(t,r,s){return this._inner.run(t,r,s)}runTask(t,r,s,l){const d=this._inner,f=d.scheduleEventTask("NgZoneEvent: "+l,t,If,el,el);try{return d.runTask(f,r,s)}finally{d.cancelTask(f)}}runGuarded(t,r,s){return this._inner.runGuarded(t,r,s)}runOutsideAngular(t){return this._outer.run(t)}}const If={};function Mf(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Tf(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function Zg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Yg(e){e._nesting--,Mf(e)}class Sf{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Zn;onMicrotaskEmpty=new Zn;onStable=new Zn;onError=new Zn;run(t,r,s){return t.apply(r,s)}runGuarded(t,r,s){return t.apply(r,s)}runOutsideAngular(t){return t()}runTask(t,r,s,l){return t.apply(r,s)}}function tm(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class ao{_console=console;handleError(t){this._console.error("ERROR",t)}}const nm=new de("",{providedIn:"root",factory:()=>{const e=W(ht),t=W(ao);return r=>e.runOutsideAngular(()=>t.handleError(r))}});function Pc(e,t){return Kt(e,t)}const om=(Pc.required=function rm(e){return Kt(yn,e)},Pc);function zb(){return lo(Ae(),A())}function lo(e,t){return new nl(dn(e,t))}let nl=(()=>class e{nativeElement;constructor(r){this.nativeElement=r}static __NG_ELEMENT_ID__=zb})();function im(e){return e instanceof nl?e.nativeElement:e}function Wb(){return this._results[Symbol.iterator]()}class Rf{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new qt.B}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,r){return this._results.reduce(t,r)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,r){this.dirty=!1;const s=function Cn(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function og(e,t,r){if(e.length!==t.length)return!1;for(let s=0;sUf}),Uf="ng",Hc=new de(""),Hf=new de("",{providedIn:"platform",factory:()=>"unknown"}),$f=new de(""),$c=new de("",{providedIn:"root",factory:()=>yr().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),ym=new de("",{providedIn:"root",factory:()=>!1}),dl=new Set;function pt(e){dl.has(e)||(dl.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var As=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(As||{});let Kf=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=Le({token:e,providedIn:"root",factory:()=>new e})}return e})();const wm=[As.EarlyRead,As.Write,As.MixedReadWrite,As.Read];let Em=(()=>{class e{ngZone=W(ht);scheduler=W(nn);errorHandler=W(ao,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;execute(){this.executing=!0;for(const r of wm)for(const s of this.sequences)if(!s.erroredOrDestroyed&&s.hooks[r])try{s.pipelinedValue=this.ngZone.runOutsideAngular(()=>s.hooks[r](s.pipelinedValue))}catch(l){s.erroredOrDestroyed=!0,this.errorHandler?.handleError(l)}this.executing=!1;for(const r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(const r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(r){this.executing?this.deferredRegistrations.add(r):(this.sequences.add(r),this.scheduler.notify(7))}unregister(r){this.executing&&this.sequences.has(r)?(r.erroredOrDestroyed=!0,r.pipelinedValue=void 0,r.once=!0):(this.sequences.delete(r),this.deferredRegistrations.delete(r))}static \u0275prov=Le({token:e,providedIn:"root",factory:()=>new e})}return e})();class Im{impl;hooks;once;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,r,s,l){this.impl=t,this.hooks=r,this.once=s,this.unregisterOnDestroy=l?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}}function fl(e,t){!t?.injector&&ii();const r=t?.injector??W(Tt);return pt("NgAfterNextRender"),function Mm(e,t,r,s){const l=t.get(Kf);l.impl??=t.get(Em);const d=r?.phase??As.MixedReadWrite,f=!0!==r?.manualCleanup?t.get(ke):null,p=new Im(l.impl,function nC(e,t){if(e instanceof Function){const r=[void 0,void 0,void 0,void 0];return r[t]=e,r}return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e,d),s,f);return l.impl.register(p),p}(e,r,t,!0)}let ho=()=>null;function yl(e,t,r=!1){return ho(e,t,r)}var wi=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(wi||{});let bl,uh;function $m(){if(void 0===bl&&(bl=null,qe.trustedTypes))try{bl=qe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return bl}function Cl(e){return $m()?.createHTML(e)||e}function Gm(){if(void 0===uh&&(uh=null,qe.trustedTypes))try{uh=qe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return uh}function zm(e){return Gm()?.createHTML(e)||e}function qm(e){return Gm()?.createScriptURL(e)||e}class Ei{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${_a})`}}class IC extends Ei{getTypeName(){return"HTML"}}class MC extends Ei{getTypeName(){return"Style"}}class TC extends Ei{getTypeName(){return"Script"}}class SC extends Ei{getTypeName(){return"URL"}}class xC extends Ei{getTypeName(){return"ResourceURL"}}function jr(e){return e instanceof Ei?e.changingThisBreaksApplicationSecurity:e}function er(e,t){const r=function br(e){return e instanceof Ei&&e.getTypeName()||null}(e);if(null!=r&&r!==t){if("ResourceURL"===r&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${r} (see ${_a})`)}return r===t}function AC(e){return new IC(e)}function Km(e){return new MC(e)}function RC(e){return new TC(e)}function NC(e){return new SC(e)}function OC(e){return new xC(e)}class Lo{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const r=(new window.DOMParser).parseFromString(Cl(t),"text/html").body;return null===r?this.inertDocumentHelper.getInertBodyElement(t):(r.firstChild?.remove(),r)}catch{return null}}}class Qm{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const r=this.inertDocument.createElement("template");return r.innerHTML=Cl(t),r}}const Vo=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function uu(e){return(e=String(e)).match(Vo)?e:"unsafe:"+e}function Bo(e){const t={};for(const r of e.split(","))t[r]=!0;return t}function Ls(...e){const t={};for(const r of e)for(const s in r)r.hasOwnProperty(s)&&(t[s]=!0);return t}const dh=Bo("area,br,col,hr,img,wbr"),fh=Bo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),hh=Bo("rp,rt"),du=Ls(dh,Ls(fh,Bo("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Ls(hh,Bo("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ls(hh,fh)),Vs=Bo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ph=Ls(Vs,Bo("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Bo("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Xm=Bo("script,style,template");class BC{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let r=t.firstChild,s=!0,l=[];for(;r;)if(r.nodeType===Node.ELEMENT_NODE?s=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,s&&r.firstChild)l.push(r),r=gh(r);else for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let d=Ym(r);if(d){r=d;break}r=l.pop()}return this.buf.join("")}startElement(t){const r=mh(t).toLowerCase();if(!du.hasOwnProperty(r))return this.sanitizedSomething=!0,!Xm.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);const s=t.attributes;for(let l=0;l"),!0}endElement(t){const r=mh(t).toLowerCase();du.hasOwnProperty(r)&&!dh.hasOwnProperty(r)&&(this.buf.push(""))}chars(t){this.buf.push(_h(t))}}function Ym(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw fu(t);return t}function gh(e){const t=e.firstChild;if(t&&function Zm(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw fu(t);return t}function mh(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function fu(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const Jm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,e_=/([^\#-~ |!])/g;function _h(e){return e.replace(/&/g,"&").replace(Jm,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(e_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Bs;function Dl(e,t){let r=null;try{Bs=Bs||function cu(e){const t=new Qm(e);return function on(){try{return!!(new window.DOMParser).parseFromString(Cl(""),"text/html")}catch{return!1}}()?new Lo(t):t}(e);let s=t?String(t):"";r=Bs.getInertBodyElement(s);let l=5,d=s;do{if(0===l)throw new Error("Failed to sanitize html because the input is unstable");l--,s=d,d=r.innerHTML,r=Bs.getInertBodyElement(s)}while(s!==d);return Cl((new BC).sanitizeChildren(hu(r)||r))}finally{if(r){const s=hu(r)||r;for(;s.firstChild;)s.firstChild.remove()}}}function hu(e){return"content"in e&&function t_(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var jo=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(jo||{});function sn(e){const t=El();return t?zm(t.sanitize(jo.HTML,e)||""):er(e,"HTML")?zm(jr(e)):Dl(yr(),_e(e))}function vh(e){const t=El();return t?t.sanitize(jo.URL,e)||"":er(e,"URL")?jr(e):uu(_e(e))}function jC(e){const t=El();if(t)return qm(t.sanitize(jo.RESOURCE_URL,e)||"");if(er(e,"ResourceURL"))return qm(jr(e));throw new Q(904,!1)}function n_(e){return function OI(e){return $m()?.createScriptURL(e)||e}(e[0])}function wl(e,t,r){return function yh(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?jC:vh}(t,r)(e)}function El(){const e=A();return e&&e[Jr].sanitizer}const PI=/^>|^->||--!>|)/g;function mu(e){return e.ownerDocument}function In(e){return e instanceof Function?e():e}var Mn=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Mn||{}),Ho=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ho||{});let Us;function Si(e,t){return Us(e,t)}function go(e,t,r,s,l){if(null!=s){let d,f=!1;Mt(s)?d=s:dt(s)&&(f=!0,s=s[it]);const p=Ue(s);0===e&&null!==r?null==l?XC(t,r,p):Ai(t,r,p,l||null,!0):1===e&&null!==r?Ai(t,r,p,l||null,!0):2===e?function Eu(e,t,r){e.removeChild(null,t,r)}(t,p,f):3===e&&t.destroyNode(p),null!=d&&function YC(e,t,r,s,l){const d=r[pr];d!==Ue(r)&&go(t,e,s,d,l);for(let p=gt;pt.replace(UC,"\u200b$1\u200b"))}(t))}function yu(e,t,r){return e.createElement(t,r)}function h_(e,t){t[Jr].changeDetectionScheduler?.notify(10),Mu(e,t,t[ve],2,null,null)}function KC(e,t){const r=e[ai],s=t[Ct];(dt(s)||t[ct]!==s[Ct][ct])&&(e[ie]|=yc.HasTransplantedViews),null===r?e[ai]=[t]:r.push(t)}function Ih(e,t){const r=e[ai],s=r.indexOf(t);r.splice(s,1)}function xi(e,t){if(e.length<=gt)return;const r=gt+t,s=e[r];if(s){const l=s[xr];null!==l&&l!==e&&Ih(l,s),t>0&&(e[r-1][un]=s[un]);const d=Sa(e,gt+t);!function d_(e,t){h_(e,t),t[it]=null,t[Ht]=null}(s[V],s);const f=d[To];null!==f&&f.detachView(d[V]),s[Ct]=null,s[un]=null,s[ie]&=-129}return s}function bu(e,t){if(!(256&t[ie])){const r=t[ve];r.destroyNode&&Mu(e,t,r,3,null,null),function p_(e){let t=e[fs];if(!t)return g_(e[V],e);for(;t;){let r=null;if(dt(t))r=t[fs];else{const s=t[gt];s&&(r=s)}if(!r){for(;t&&!t[un]&&t!==e;)dt(t)&&g_(t[V],t),t=t[Ct];null===t&&(t=e),dt(t)&&g_(t[V],t),r=t&&t[un]}t=r}}(t)}}function g_(e,t){if(256&t[ie])return;const r=j(null);try{t[ie]&=-129,t[ie]|=256,t[On]&&tt(t[On]),function QC(e,t){let r;if(null!=e&&null!=(r=e.destroyHooks))for(let s=0;s=0?s[p]():s[-p].unsubscribe(),f+=2}else r[f].call(s[r[f+1]]);null!==s&&(t[Aa]=null);const l=t[zn];if(null!==l){t[zn]=null;for(let f=0;f-1){const{encapsulation:d}=e.data[s.directiveStart+l];if(d===wi.None||d===wi.Emulated)return null}return dn(s,r)}}(e,t.parent,r)}function Ai(e,t,r,s,l){e.insertBefore(t,r,s,l)}function XC(e,t,r){e.appendChild(t,r)}function m_(e,t,r,s,l){null!==s?Ai(e,t,r,s,l):XC(e,t,r)}function Ri(e,t){return e.parentNode(t)}function Sh(e,t,r){return wu(e,t,r)}let Tl,wu=function xh(e,t,r){return 40&e.type?dn(e,r):null};function Sl(e,t,r,s){const l=Cu(e,s,t),d=t[ve],p=Sh(s.parent||t[Ht],s,t);if(null!=l)if(Array.isArray(r))for(let g=0;g-1){let d;for(;++ld?"":l[v+1].toLowerCase(),2&s&&_!==C){if(Tn(s))return!1;f=!0}}}}else{if(!f&&!Tn(s)&&!Tn(g))return!1;if(f&&Tn(g))continue;f=!1,s=g|1&s}}return Tn(s)||f}function Tn(e){return!(1&e)}function oD(e,t,r,s){if(null===t)return-1;let l=0;if(s||!r){let d=!1;for(;l-1)for(r++;r0?'="'+p+'"':"")+"]"}else 8&s?l+="."+f:4&s&&(l+=" "+f);else""!==l&&!Tn(f)&&(t+=kh(d,l),l=""),s=f,d=d||!Tn(s);r++}return""!==l&&(t+=kh(d,l)),t}const be={};function E_(e=1){xu(me(),A(),Ge()+e,!1)}function xu(e,t,r,s){if(!s)if(3&~t[ie]){const d=e.preOrderHooks;null!==d&&Tc(t,d,0,r)}else{const d=e.preOrderCheckHooks;null!==d&&Mc(t,d,r)}ui(r)}function Gs(e,t=Ee.Default){const r=A();return null===r?xe(e,t):oo(Ae(),r,he(e),t)}function I_(){throw new Error("invalid")}function Fh(e,t,r,s,l,d){const f=j(null);try{let p=null;l&Mn.SignalBased&&(p=t[s][te]),null!==p&&void 0!==p.transformFn&&(d=p.transformFn(d)),l&Mn.HasDecoratorInputTransform&&(d=e.inputTransforms[s].call(t,d)),null!==e.setInput?e.setInput(t,p,d,r,s):_g(t,p,s,d)}finally{j(f)}}function Au(e,t,r,s,l,d,f,p,g,_,v){const C=t.blueprint.slice();return C[it]=l,C[ie]=1228|s,(null!==_||e&&2048&e[ie])&&(C[ie]|=2048),eo(C),C[Ct]=C[Ra]=e,C[st]=r,C[Jr]=f||e&&e[Jr],C[ve]=p||e&&e[ve],C[Qe]=g||e&&e[Qe]||null,C[Ht]=d,C[ps]=function pi(){return Nf++}(),C[Dn]=v,C[_c]=_,C[ct]=2==t.type?e[ct]:C,C}function mo(e,t,r,s,l){let d=e.data[t];if(null===d)d=function Ph(e,t,r,s,l){const d=Jd(),f=ef(),g=e.data[t]=function T_(e,t,r,s,l,d){let f=t?t.injectorIndex:-1,p=0;return ci()&&(p|=128),{type:r,index:s,insertBeforeIndex:null,injectorIndex:f,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:p,providerIndexes:0,value:l,attrs:d,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,f?d:d&&d.parent,r,t,s,l);return null===e.firstChild&&(e.firstChild=g),null!==d&&(f?null==d.child&&null!==g.parent&&(d.child=g):null===d.next&&(d.next=g,g.prev=d)),g}(e,t,r,s,l),function wb(){return ye.lFrame.inI18n}()&&(d.flags|=32);else if(64&d.type){d.type=r,d.value=s,d.attrs=l;const f=function ja(){const e=ye.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();d.injectorIndex=null===f?-1:f.injectorIndex}return mr(d,!0),d}function zs(e,t,r,s){if(0===r)return-1;const l=t.length;for(let d=0;dee&&xu(e,t,ee,!1),Rr(f?2:0,l),r(s,l)}finally{ui(d),Rr(f?3:1,l)}}function _o(e,t,r){if(ka(t)){const s=j(null);try{const d=t.directiveEnd;for(let f=t.directiveStart;fnull;function S_(e,t,r,s,l){for(let d in t){if(!t.hasOwnProperty(d))continue;const f=t[d];if(void 0===f)continue;s??={};let p,g=Mn.None;Array.isArray(f)?(p=f[0],g=f[1]):p=f;let _=d;if(null!==l){if(!l.hasOwnProperty(d))continue;_=l[d]}0===e?Hh(s,r,_,p,g):Hh(s,r,_,p)}return s}function Hh(e,t,r,s,l){let d;e.hasOwnProperty(r)?(d=e[r]).push(t,s):d=e[r]=[t,s],void 0!==l&&d.push(l)}function Pn(e,t,r,s,l,d,f,p){const g=dn(t,r);let v,_=t.inputs;!p&&null!=_&&(v=_[s])?(Oi(e,r,v,s,l),Ar(t)&&function HI(e,t){const r=qn(t,e);16&r[ie]||(r[ie]|=64)}(r,t.index)):3&t.type&&(s=function x_(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(s),l=null!=f?f(l,t.value||"",s):l,d.setProperty(g,s,l))}function $h(e,t,r,s){if(Ig()){const l=null===s?null:{"":-1},d=function KI(e,t){const r=e.directiveRegistry;let s=null,l=null;if(r)for(let d=0;d0;){const r=e[--t];if("number"==typeof r&&r<0)return r}return 0})(f)!=p&&f.push(p),f.push(r,s,d)}}(e,t,s,zs(e,r,l.hostVars,be),l)}function ku(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function tr(e,t,r,s,l,d){const f=dn(e,t);!function Gh(e,t,r,s,l,d,f){if(null==d)e.removeAttribute(t,l,r);else{const p=null==f?_e(d):f(d,s||"",l);e.setAttribute(t,l,p,r)}}(t[ve],f,d,e.value,r,s,l)}function yD(e,t,r,s,l,d){const f=d[t];if(null!==f)for(let p=0;p0&&(r[l-1][un]=t),s{Cc(e.lView)},consumerOnSignalRead(){this.lView[On]=this}},TD={...J,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=So(e.lView);for(;t&&!B_(t[V]);)t=So(t);t&&li(t)},consumerOnSignalRead(){this.lView[On]=this}};function B_(e){return 2!==e.type}function j_(e){if(null===e[si])return;let t=!0;for(;t;){let r=!1;for(const s of e[si])s.dirty&&(r=!0,null===s.zone||Zone.current===s.zone?s.run():s.zone.run(()=>s.run()));t=r&&!!(8192&e[ie])}}function ju(e,t=!0,r=0){const l=e[Jr].rendererFactory;l.begin?.();try{!function xD(e,t){const r=Sg();try{_s(!0),$o(e,t);let s=0;for(;Xd(e);){if(100===s)throw new Q(103,!1);s++,$o(e,1)}}finally{_s(r)}}(e,r)}catch(f){throw t&&Vu(e,f),f}finally{l.end?.()}}function H_(e,t,r,s){const l=t[ie];if(!(256&~l))return;Ec(t);let p=!0,g=null,_=null;B_(e)?(_=function DD(e){return e[On]??function wD(e){const t=V_.pop()??Object.create(ID);return t.lView=e,t}(e)}(t),g=an(_)):null===function fe(){return H}()?(p=!1,_=function MD(e){const t=e[On]??Object.create(TD);return t.lView=e,t}(t),g=an(_)):t[On]&&(tt(t[On]),t[On]=null);try{eo(t),function xg(e){return ye.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==r&&Lh(e,t,r,2,s);const v=!(3&~l);if(v){const I=e.preOrderCheckHooks;null!==I&&Mc(t,I,null)}else{const I=e.preOrderHooks;null!==I&&Tc(t,I,0,null),lf(t,0)}if(function AD(e){for(let t=um(e);null!==t;t=Xb(t)){if(!(t[ie]&yc.HasTransplantedViews))continue;const r=t[ai];for(let s=0;s-1&&(xi(t,s),Sa(r,s))}this._attachedToViewContainer=!1}bu(this._lView[V],this._lView)}onDestroy(t){Zd(this._lView,t)}markForCheck(){Xs(this._cdRefInjectingView||this._lView,4)}markForRefresh(){li(this._cdRefInjectingView||this._lView)}detach(){this._lView[ie]&=-129}reattach(){Dg(this._lView),this._lView[ie]|=128}detectChanges(){this._lView[ie]|=1024,ju(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Q(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=Pa(this._lView),r=this._lView[xr];null!==r&&!t&&Ih(r,this._lView),h_(this._lView[V],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Q(902,!1);this._appRef=t;const r=Pa(this._lView),s=this._lView[xr];null!==s&&!r&&KC(s,this._lView),Dg(this._lView)}}let Ys=(()=>class e{static __NG_ELEMENT_ID__=gn})();const ND=Ys,z_=class extends ND{_declarationLView;_declarationTContainer;elementRef;constructor(t,r,s){super(),this._declarationLView=t,this._declarationTContainer=r,this.elementRef=s}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,s){const l=Ks(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:s});return new Zs(l)}};function gn(){return Ur(Ae(),A())}function Ur(e,t){return 4&e.type?new z_(t,e,lo(e,t)):null}class YI{resolveComponentFactory(t){throw Error(`No component factory found for ${nt(t)}.`)}}class Kh{static NULL=new YI}class ta{}class K_{}class JI{}class Q_{}class Qh{}let FD=(()=>class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>function PD(){const e=A(),r=qn(Ae().index,e);return(dt(r)?r:e)[ve]}()})(),eM=(()=>{class e{static \u0275prov=Le({token:e,providedIn:"root",factory:()=>null})}return e})();function Li(e){return!!Yt(e)}function Zh(e,t,r){let s=r?e.styles:null,l=r?e.classes:null,d=0;if(null!==t)for(let f=0;f0&&D_(e,r,d.join(" "))}}(E,At,T,s),void 0!==r&&function aM(e,t,r){const s=e.projection=[];for(let l=0;lr()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class ev extends K_{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new J_(this.moduleType,t,[])}}class GD extends ta{injector;componentFactoryResolver=new BD(this);instance=null;constructor(t){super();const r=new Mo([...t.providers,{provide:ta,useValue:this},{provide:Kh,useValue:this.componentFactoryResolver}],t.parent||hc(),t.debugName,new Set(["environment"]));this.injector=r,t.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function tv(e,t,r=null){return new GD({providers:e,parent:t,debugName:r,runEnvironmentInitializers:!0}).injector}let cM=(()=>{class e{_injector;cachedInjectors=new Map;constructor(r){this._injector=r}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){const s=dc(0,r.type),l=s.length>0?tv([s],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,l)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(const r of this.cachedInjectors.values())null!==r&&r.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=Le({token:e,providedIn:"environment",factory:()=>new e(xe(Gn))})}return e})();function zD(e){return It(()=>{const t=QD(e),r={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ne.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?l=>l.get(cM).getOrCreateStandaloneInjector(r):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||wi.Emulated,styles:e.styles||He,_:null,schemas:e.schemas||null,tView:null,id:""};t.standalone&&pt("NgStandalone"),XD(r);const s=e.dependencies;return r.directiveDefs=Yh(s,!1),r.pipeDefs=Yh(s,!0),r.id=function hM(e){let t=0;const r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const l of r)t=Math.imul(31,t)+l.charCodeAt(0)|0;return t+=2147483648,"c"+t}(r),r})}function uM(e){return Me(e)||Ft(e)}function dM(e){return null!==e}function nv(e){return It(()=>({type:e.type,bootstrap:e.bootstrap||He,declarations:e.declarations||He,imports:e.imports||He,exports:e.exports||He,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function WD(e,t){if(null==e)return Sr;const r={};for(const s in e)if(e.hasOwnProperty(s)){const l=e[s];let d,f,p=Mn.None;Array.isArray(l)?(p=l[0],d=l[1],f=l[2]??d):(d=l,f=l),t?(r[d]=p!==Mn.None?[s,p]:s,t[d]=f):r[d]=s}return r}function qD(e){return It(()=>{const t=QD(e);return XD(t),t})}function KD(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function QD(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Sr,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||He,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:WD(e.inputs,t),outputs:WD(e.outputs),debugInfo:null}}function XD(e){e.features?.forEach(t=>t(e))}function Yh(e,t){if(!e)return null;const r=t?Jt:uM;return()=>("function"==typeof e?e():e).map(s=>r(s)).filter(dM)}let YD=(()=>{class e{log(r){console.log(r)}warn(r){console.warn(r)}static \u0275fac=function(s){return new(s||e)};static \u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function rv(e){return"function"==typeof e&&void 0!==e[te]}const rw="ng";function VM(e,t){!function iw(e,t){if(typeof COMPILED>"u"||!COMPILED){const r=qe;r[rw]??={},r[rw][e]=t}}(e,t)}const sw=new de(""),aw=new de("");let iv,BM=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];taskTrackingZone=null;constructor(r,s,l){this._ngZone=r,this.registry=s,iv||(function jM(e){iv=e}(l),l.addToWindow(s)),this._watchAngularEvents(),r.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ht.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb()}});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(s=>!s.updateCb||!s.updateCb(r)||(clearTimeout(s.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,s,l){let d=-1;s&&s>0&&(d=setTimeout(()=>{this._callbacks=this._callbacks.filter(f=>f.timeoutId!==d),r()},s)),this._callbacks.push({doneCb:r,timeoutId:d,updateCb:l})}whenStable(r,s,l){if(l&&!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(r,s,l),this._runCallbacksIfReady()}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,s,l){return[]}static \u0275fac=function(s){return new(s||e)(xe(ht),xe(lw),xe(aw))};static \u0275prov=Le({token:e,factory:e.\u0275fac})}return e})(),lw=(()=>{class e{_applications=new Map;registerApplication(r,s){this._applications.set(r,s)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,s=!0){return iv?.findTestabilityInTree(this,r,s)??null}static \u0275fac=function(s){return new(s||e)};static \u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function sv(e){return!!e&&"function"==typeof e.then}function cw(e){return!!e&&"function"==typeof e.subscribe}const uw=new de("");let dw=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((r,s)=>{this.resolve=r,this.reject=s});appInits=W(uw,{optional:!0})??[];injector=W(Tt);constructor(){}runInitializers(){if(this.initialized)return;const r=[];for(const l of this.appInits){const d=gc(this.injector,l);if(sv(d))r.push(d);else if(cw(d)){const f=new Promise((p,g)=>{d.subscribe({complete:p,error:g})});r.push(f)}}const s=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{s()}).catch(l=>{this.reject(l)}),0===r.length&&s(),this.initialized=!0}static \u0275fac=function(s){return new(s||e)};static \u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),av=(()=>{class e{static \u0275prov=Le({token:e,providedIn:"root",factory:()=>new fw})}return e})();class fw{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}enqueue(t){const r=t.zone;this.queues.has(r)||this.queues.set(r,new Set);const s=this.queues.get(r);s.has(t)||(this.queuedEffectCount++,s.add(t))}flush(){for(;this.queuedEffectCount>0;)for(const[t,r]of this.queues)null===t?this.flushQueue(r):t.run(()=>this.flushQueue(r))}flushQueue(t){for(const r of t)t.delete(r),this.queuedEffectCount--,r.run()}}const Wu=new de("");let rr=(()=>{class e{_bootstrapListeners=[];_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=W(nm);afterRenderManager=W(Kf);zonelessEnabled=W(Xa);rootEffectScheduler=W(av);dirtyFlags=0;deferredDirtyFlags=0;externalTestViews=new Set;afterTick=new qt.B;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=W(vr).hasPendingTasks.pipe((0,Md.T)(r=>!r));whenStable(){let r;return new Promise(s=>{r=this.isStable.subscribe({next:l=>{l&&s()}})}).finally(()=>{r.unsubscribe()})}_injector=W(Gn);get injector(){return this._injector}bootstrap(r,s){const l=r instanceof Q_;if(!this._injector.get(dw).done)throw!l&&Eo(r),new Q(405,!1);let f;f=l?r:this._injector.get(Kh).resolveComponentFactory(r),this.componentTypes.push(f.componentType);const p=function UM(e){return e.isBoundToModule}(f)?void 0:this._injector.get(ta),_=f.create(Tt.NULL,[],s||f.selector,p),v=_.location.nativeElement,C=_.injector.get(sw,null);return C?.registerApplication(v),_.onDestroy(()=>{this.detachView(_.hostView),qu(this.components,_),C?.unregisterApplication(v)}),this._loadComponent(_),_}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new Q(101,!1);const r=j(null);try{this._runningTick=!0,this.synchronize()}catch(s){this.internalErrorHandler(s)}finally{this._runningTick=!1,j(r),this.afterTick.next()}}synchronize(){let r=null;this._injector.destroyed||(r=this._injector.get(Qh,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let s=0;for(;0!==this.dirtyFlags&&s++<10;)this.synchronizeOnce(r)}synchronizeOnce(r){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),7&this.dirtyFlags){const s=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:l,notifyErrorHandler:d}of this.allViews)lv(l,d,s,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}else r?.begin?.(),r?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:r})=>Xd(r))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(r){const s=r;this._views.push(s),s.attachToAppRef(this)}detachView(r){const s=r;qu(this._views,s),s.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const s=this._injector.get(Wu,[]);[...this._bootstrapListeners,...s].forEach(l=>l(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>qu(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new Q(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(s){return new(s||e)};static \u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function qu(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}function lv(e,t,r,s){(r||Xd(e))&&ju(e,t,r&&!s?0:1)}let Av=()=>null;function oa(e,t){return Av(e,t)}let Gr=(()=>class e{static __NG_ELEMENT_ID__=Rv})();function Rv(){return rd(Ae(),A())}const Nv=Gr,nd=class extends Nv{_lContainer;_hostTNode;_hostLView;constructor(t,r,s){super(),this._lContainer=t,this._hostTNode=r,this._hostLView=s}get element(){return lo(this._hostTNode,this._hostLView)}get injector(){return new wt(this._hostTNode,this._hostLView)}get parentInjector(){const t=hn(this._hostTNode,this._hostLView);if(Te(t)){const r=di(t,this._hostLView),s=qa(t);return new wt(r[V].data[s+8],r)}return new wt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const r=Ov(this._lContainer);return null!==r&&r[t]||null}get length(){return this._lContainer.length-gt}createEmbeddedView(t,r,s){let l,d;"number"==typeof s?l=s:null!=s&&(l=s.index,d=s.injector);const f=oa(this._lContainer,t.ssrId),p=t.createEmbeddedViewImpl(r||{},d,f);return this.insertImpl(p,l,ki(this._hostTNode,f)),p}createComponent(t,r,s,l,d){const f=t&&!function mc(e){return"function"==typeof e}(t);let p;if(f)p=r;else{const T=r||{};p=T.index,s=T.injector,l=T.projectableNodes,d=T.environmentInjector||T.ngModuleRef}const g=f?t:new Gu(Me(t)),_=s||this.parentInjector;if(!d&&null==g.ngModule){const O=(f?_:this.parentInjector).get(Gn,null);O&&(d=O)}const v=Me(g.componentType??{}),C=oa(this._lContainer,v?.id??null),I=g.create(_,l,C?.firstChild??null,d);return this.insertImpl(I.hostView,p,ki(this._hostTNode,C)),I}insert(t,r){return this.insertImpl(t,r,!0)}insertImpl(t,r,s){const l=t._lView;if(function Qd(e){return Mt(e[Ct])}(l)){const p=this.indexOf(t);if(-1!==p)this.detach(p);else{const g=l[Ct],_=new nd(g,g[Ht],g[Ct]);_.detach(_.indexOf(t))}}const d=this._adjustIndex(r),f=this._lContainer;return Qs(f,l,d,s),t.attachToViewContainerRef(),ls(kv(f),d,t),t}move(t,r){return this.insert(t,r)}indexOf(t){const r=Ov(this._lContainer);return null!==r?r.indexOf(t):-1}remove(t){const r=this._adjustIndex(t,-1),s=xi(this._lContainer,r);s&&(Sa(kv(this._lContainer),r),bu(s[V],s))}detach(t){const r=this._adjustIndex(t,-1),s=xi(this._lContainer,r);return s&&null!=Sa(kv(this._lContainer),r)?new Zs(s):null}_adjustIndex(t,r=0){return t??this.length+r}};function Ov(e){return e[8]}function kv(e){return e[8]||(e[8]=[])}function rd(e,t){let r;const s=t[e.index];return Mt(s)?r=s:(r=k_(s,t,null,e),t[e.index]=r,Fu(t,r)),Fv(r,t,e,s),new nd(r,e,t)}let Fv=function Lv(e,t,r,s){if(e[pr])return;let l;l=8&r.type?Ue(s):function Rw(e,t){const r=e[ve],s=r.createComment(""),l=dn(t,e);return Ai(r,Ri(r,l),s,function Th(e,t){return e.nextSibling(t)}(r,l),!1),s}(t,r),e[pr]=l},dp=()=>!1;class ia{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new ia(this.queryList)}setDirty(){this.queryList.setDirty()}}class od{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){const r=t.queries;if(null!==r){const s=null!==t.contentQueries?t.contentQueries[0]:r.length,l=[];for(let d=0;dt.trim())}(t):t}}class Bv{queries;constructor(t=[]){this.queries=t}elementStart(t,r){for(let s=0;s0)s.push(f[p/2]);else{const _=d[p+1],v=t[-g];for(let C=gt;C(Ze(t),t.value);return r[te]=t,r}(e),s=r[te];return t?.equal&&(s.equal=t.equal),r.set=l=>ln(s,l),r.update=l=>function Ed(e,t){Ye()||wd(),ln(e,t(e.value))}(s,l),r.asReadonly=hp.bind(r),r}function hp(){const e=this[te];if(void 0===e.readonlyFn){const t=()=>this();t[te]=e,e.readonlyFn=t}return e.readonlyFn}function Bw(e){return rv(e)&&"function"==typeof e.set}function Qv(e){let t=function Yw(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),r=!0;const s=[e];for(;t;){let l;if(gr(e))l=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Q(903,!1);l=t.\u0275dir}if(l){if(r){s.push(l);const f=e;f.inputs=gp(e.inputs),f.inputTransforms=gp(e.inputTransforms),f.declaredInputs=gp(e.declaredInputs),f.outputs=gp(e.outputs);const p=l.hostBindings;p&&AT(e,p);const g=l.viewQuery,_=l.contentQueries;if(g&&ST(e,g),_&&xT(e,_),MT(e,l),Yi(e.outputs,l.outputs),gr(l)&&l.data.animation){const v=e.data;v.animation=(v.animation||[]).concat(l.data.animation)}}const d=l.features;if(d)for(let f=0;f=0;s--){const l=e[s];l.hostVars=t+=l.hostVars,l.hostAttrs=Wa(l.hostAttrs,r=Wa(r,l.hostAttrs))}}(s)}function MT(e,t){for(const r in t.inputs){if(!t.inputs.hasOwnProperty(r)||e.inputs.hasOwnProperty(r))continue;const s=t.inputs[r];if(void 0!==s&&(e.inputs[r]=s,e.declaredInputs[r]=t.declaredInputs[r],null!==t.inputTransforms)){const l=Array.isArray(s)?s[0]:s;if(!t.inputTransforms.hasOwnProperty(l))continue;e.inputTransforms??={},e.inputTransforms[l]=t.inputTransforms[l]}}}function gp(e){return e===Sr?{}:e===He?[]:e}function ST(e,t){const r=e.viewQuery;e.viewQuery=r?(s,l)=>{t(s,l),r(s,l)}:t}function xT(e,t){const r=e.contentQueries;e.contentQueries=r?(s,l,d)=>{t(s,l,d),r(s,l,d)}:t}function AT(e,t){const r=e.hostBindings;e.hostBindings=r?(s,l)=>{t(s,l),r(s,l)}:t}function tE(e){const t=e.inputConfig,r={};for(const s in t)if(t.hasOwnProperty(s)){const l=t[s];Array.isArray(l)&&l[3]&&(r[s]=l[3])}e.inputTransforms=r}function _p(e){return!!vp(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function vp(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function zr(e,t,r){return e[t]=r}function vt(e,t,r){return!Object.is(e[t],r)&&(e[t]=r,!0)}function ji(e,t,r,s){const l=vt(e,t,r);return vt(e,t+1,s)||l}function Ul(e,t,r,s,l,d,f,p,g,_){const v=r+ee,C=t.firstCreatePass?function Jv(e,t,r,s,l,d,f,p,g){const _=t.consts,v=mo(t,e,4,f||null,p||null);$h(t,r,v,Kn(_,g)),$a(t,v);const C=v.tView=Nu(2,v,s,l,d,t.directiveRegistry,t.pipeRegistry,null,t.schemas,_,null);return null!==t.queries&&(t.queries.template(t,v),C.queries=t.queries.embeddedTView(v)),v}(v,t,e,s,l,d,f,p,g):t.data[v];mr(C,!1);const E=rE(t,e,C,r);mt()&&Sl(t,e,E,C),rn(E,e);const I=k_(E,e,E,C);return e[v]=I,Fu(e,I),function Pv(e,t,r){return dp(e,t,r)}(I,C,e),Fa(C)&&Vh(t,e,C),null!=g&&Ru(e,C,_),C}function yp(e,t,r,s,l,d,f,p){const g=A(),_=me();return Ul(g,_,e,t,r,s,l,Kn(_.consts,d),f,p),yp}let rE=function ey(e,t,r,s){return rt(!0),t[ve].createComment("")};function Ip(e,t,r,s){const l=A();return vt(l,Qn(),t)&&(me(),tr(et(),l,e,t,r,s)),Ip}function pd(e,t){return e<<17|t<<2}function vo(e){return e>>17&32767}function my(e){return 2|e}function fa(e){return(131068&e)>>2}function gd(e,t){return-131069&e|t<<2}function Sp(e){return 1|e}function _y(e,t,r,s){const l=e[r+1],d=null===t;let f=s?vo(l):fa(l),p=!1;for(;0!==f&&(!1===p||d);){const _=e[f+1];UE(e[f],t)&&(p=!0,e[f+1]=s?Sp(_):my(_)),f=s?vo(_):fa(_)}p&&(e[r+1]=s?my(l):Sp(l))}function UE(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&cs(e,t)>=0}const St={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function vy(e){return e.substring(St.key,St.keyEnd)}function HE(e){return e.substring(St.value,St.valueEnd)}function yy(e,t){const r=St.textEnd;return r===t?-1:(t=St.keyEnd=function o(e,t,r){for(;t32;)t++;return t}(e,St.key=t,r),Kl(e,t,r))}function by(e,t){const r=St.textEnd;let s=St.key=Kl(e,t,r);return r===s?-1:(s=St.keyEnd=function a(e,t,r){let s;for(;t=65&&(-33&s)<=90||s>=48&&s<=57);)t++;return t}(e,s,r),s=n(e,s,r),s=St.value=Kl(e,s,r),s=St.valueEnd=function i(e,t,r){let s=-1,l=-1,d=-1,f=t,p=f;for(;f32&&(p=f),d=l,l=s,s=-33&g}return p}(e,s,r),n(e,s,r))}function Cy(e){St.key=0,St.keyEnd=0,St.value=0,St.valueEnd=0,St.textEnd=e.length}function Kl(e,t,r){for(;t=0;r=by(t,r))XT(e,vy(t),HE(t))}function q(e){re(TR,z,e,!0)}function z(e,t){for(let r=function $E(e){return Cy(e),yy(e,Kl(e,0,St.textEnd))}(t);r>=0;r=yy(t,r))Nn(e,vy(t),!0)}function Z(e,t,r,s){const l=A(),d=me(),f=no(2);d.firstUpdatePass&&Re(d,e,f,s),t!==be&&vt(l,f,t)&&ZT(d,d.data[Ge()],l,l[ve],e,l[f+1]=function xR(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=nt(jr(e)))),e}(t,r),s,f)}function re(e,t,r,s){const l=me(),d=no(2);l.firstUpdatePass&&Re(l,null,d,s);const f=A();if(r!==be&&vt(f,d,r)){const p=l.data[Ge()];if(JT(p,s)&&!De(l,d)){let g=s?p.classesWithoutHost:p.stylesWithoutHost;null!==g&&(r=Ir(g,r||"")),y(l,p,f,r,s)}else!function SR(e,t,r,s,l,d,f,p){l===be&&(l=He);let g=0,_=0,v=0=e.expandoStartIndex}function Re(e,t,r,s){const l=e.data;if(null===l[r+1]){const d=l[Ge()],f=De(e,r);JT(d,s)&&null===t&&!f&&(t=!1),t=function xt(e,t,r,s){const l=function Ua(e){const t=ye.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let d=s?t.residualClasses:t.residualStyles;if(null===l)0===(s?t.classBindings:t.styleBindings)&&(r=Qi(r=Ql(null,e,t,r,s),t.attrs,s),d=null);else{const f=t.directiveStylingLast;if(-1===f||e[f]!==l)if(r=Ql(l,e,t,r,s),null===d){let g=function ir(e,t,r){const s=r?t.classBindings:t.styleBindings;if(0!==fa(s))return e[vo(s)]}(e,t,s);void 0!==g&&Array.isArray(g)&&(g=Ql(null,e,t,g[1],s),g=Qi(g,t.attrs,s),function Zo(e,t,r,s){e[vo(r?t.classBindings:t.styleBindings)]=s}(e,t,s,g))}else d=function Ki(e,t,r){let s;const l=t.directiveEnd;for(let d=1+t.directiveStylingLast;d0)&&(_=!0)):v=r,l)if(0!==g){const E=vo(e[p+1]);e[s+1]=pd(E,p),0!==E&&(e[E+1]=gd(e[E+1],s)),e[p+1]=function qT(e,t){return 131071&e|t<<17}(e[p+1],s)}else e[s+1]=pd(p,0),0!==p&&(e[p+1]=gd(e[p+1],s)),p=s;else e[s+1]=pd(g,0),0===p?p=s:e[g+1]=gd(e[g+1],s),g=s;_&&(e[s+1]=my(e[s+1])),_y(e,v,s,!0),_y(e,v,s,!1),function jE(e,t,r,s,l){const d=l?e.residualClasses:e.residualStyles;null!=d&&"string"==typeof t&&cs(d,t)>=0&&(r[s+1]=Sp(r[s+1]))}(t,v,e,s,d),f=pd(p,g),d?t.classBindings=f:t.styleBindings=f}(l,d,t,r,f,s)}}function Ql(e,t,r,s,l){let d=null;const f=r.directiveEnd;let p=r.directiveStylingLast;for(-1===p?p=r.directiveStart:p++;p0;){const g=e[l],_=Array.isArray(g),v=_?g[1]:g,C=null===v;let E=r[l+1];E===be&&(E=C?He:void 0);let I=C?jd(E,s):v===s?E:void 0;if(_&&!Dy(I)&&(I=jd(g,s)),Dy(I)&&(p=I,f))return p;const T=e[l+1];l=f?vo(T):fa(T)}if(null!==t){let g=d?t.residualClasses:t.residualStyles;null!=g&&(p=jd(g,s))}return p}function Dy(e){return void 0!==e}function JT(e,t){return!!(e.flags&(t?8:16))}class jR{destroy(t){}updateValue(t,r){}swap(t,r){const s=Math.min(t,r),l=Math.max(t,r),d=this.detach(l);if(l-s>1){const f=this.detach(s);this.attach(s,d),this.attach(l,f)}else this.attach(s,d)}move(t,r){this.attach(r,this.detach(t))}}function zE(e,t,r,s,l){return e===r&&Object.is(t,s)?1:Object.is(l(e,t),l(r,s))?-1:0}function WE(e,t,r,s){return!(void 0===t||!t.has(s)||(e.attach(r,t.get(s)),t.delete(s),0))}function eS(e,t,r,s,l){if(WE(e,t,s,r(s,l)))e.updateValue(s,l);else{const d=e.create(s,l);e.attach(s,d)}}function tS(e,t,r,s){const l=new Set;for(let d=t;d<=r;d++)l.add(s(d,e.at(d)));return l}class nS{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const r=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(r)?(this.kvMap.set(t,this._vMap.get(r)),this._vMap.delete(r)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,r){if(this.kvMap.has(t)){let s=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const l=this._vMap;for(;l.has(s);)s=l.get(s);l.set(s,r)}else this.kvMap.set(t,r)}forEach(t){for(let[r,s]of this.kvMap)if(t(s,r),void 0!==this._vMap){const l=this._vMap;for(;l.has(s);)s=l.get(s),t(s,r)}}}function rS(e,t){pt("NgControlFlow");const r=A(),s=Qn(),l=r[s]!==be?r[s]:-1,d=-1!==l?wy(r,ee+l):void 0;if(vt(r,s,e)){const p=j(null);try{if(void 0!==d&&zh(d,0),-1!==e){const g=ee+e,_=wy(r,g),v=qE(r[V],g),C=oa(_,v.tView.ssrId);Qs(_,Ks(r,v,t,{dehydratedView:C}),0,ki(v,C))}}finally{j(p)}}else if(void 0!==d){const p=L_(d,0);void 0!==p&&(p[st]=t)}}class HR{lContainer;$implicit;$index;constructor(t,r,s){this.lContainer=t,this.$implicit=r,this.$index=s}get $count(){return this.lContainer.length-gt}}function oS(e,t){return t}class GR{hasEmptyBlock;trackByFn;liveCollection;constructor(t,r,s){this.hasEmptyBlock=t,this.trackByFn=r,this.liveCollection=s}}function iS(e,t,r,s,l,d,f,p,g,_,v,C,E){pt("NgControlFlow");const I=A(),T=me(),O=void 0!==g,P=A(),$=p?f.bind(P[ct][st]):f,k=new GR(O,$);P[ee+e]=k,Ul(I,T,e+1,t,r,s,l,Kn(T.consts,d)),O&&Ul(I,T,e+2,g,_,v,C,Kn(T.consts,E))}class zR extends jR{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,r,s){super(),this.lContainer=t,this.hostLView=r,this.templateTNode=s}get length(){return this.lContainer.length-gt}at(t){return this.getLView(t)[st].$implicit}attach(t,r){const s=r[Dn];this.needsIndexUpdate||=t!==this.length,Qs(this.lContainer,r,t,ki(this.templateTNode,s))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function WR(e,t){return xi(e,t)}(this.lContainer,t)}create(t,r){const s=oa(this.lContainer,this.templateTNode.tView.ssrId),l=Ks(this.hostLView,this.templateTNode,new HR(this.lContainer,r,t),{dehydratedView:s});return this.operationsCounter?.recordCreate(),l}destroy(t){bu(t[V],t),this.operationsCounter?.recordDestroy()}updateValue(t,r){this.getLView(t)[st].$implicit=r}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t{e.destroy(g)})}(g,e,d.trackByFn),g.updateIndexes(),d.hasEmptyBlock){const _=Qn(),v=0===g.length;if(vt(s,_,v)){const C=r+2,E=wy(s,C);if(v){const I=qE(l,C),T=oa(E,I.tView.ssrId);Qs(E,Ks(s,I,void 0,{dehydratedView:T}),0,ki(I,T))}else zh(E,0)}}}finally{j(t)}}function wy(e,t){return e[t]}function qE(e,t){return Va(e,t)}function Ey(e,t,r,s){const l=A(),d=me(),f=ee+e,p=l[ve],g=d.firstCreatePass?function KR(e,t,r,s,l,d){const f=t.consts,g=mo(t,e,2,s,Kn(f,l));return $h(t,r,g,Kn(f,d)),null!==g.attrs&&Zh(g,g.attrs,!1),null!==g.mergedAttrs&&Zh(g,g.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,g),g}(f,d,l,t,r,s):d.data[f],_=aS(d,l,g,p,t,e);l[f]=_;const v=Fa(g);return mr(g,!0),eD(p,_,g),!function la(e){return!(32&~e.flags)}(g)&&mt()&&Sl(d,l,_,g),0===function gb(){return ye.lFrame.elementDepthCount}()&&rn(_,l),function Yd(){ye.lFrame.elementDepthCount++}(),v&&(Vh(d,l,g),_o(d,g,l)),null!==s&&Ru(l,g),Ey}function Iy(){let e=Ae();ef()?Nr():(e=e.parent,mr(e,!1));const t=e;(function _b(e){return ye.skipHydrationRootTNode===e})(t)&&function Cb(){ye.skipHydrationRootTNode=null}(),function mb(){ye.lFrame.elementDepthCount--}();const r=me();return r.firstCreatePass&&($a(r,e),ka(e)&&r.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Rb(e){return!!(8&e.flags)}(t)&&y(r,t,A(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function ge(e){return!!(16&e.flags)}(t)&&y(r,t,A(),t.stylesWithoutHost,!1),Iy}function KE(e,t,r,s){return Ey(e,t,r,s),Iy(),KE}let aS=(e,t,r,s,l,d)=>(rt(!0),yu(s,l,function Fg(){return ye.lFrame.currentNamespace}()));function QE(e,t,r){const s=A(),l=me(),d=e+ee,f=l.firstCreatePass?function ZR(e,t,r,s,l){const d=t.consts,f=Kn(d,s),p=mo(t,e,8,"ng-container",f);return null!==f&&Zh(p,f,!0),$h(t,r,p,Kn(d,l)),null!==t.queries&&t.queries.elementStart(t,p),p}(d,l,s,t,r):l.data[d];mr(f,!0);const p=lS(l,s,f,e);return s[d]=p,mt()&&Sl(l,s,p,f),rn(p,s),Fa(f)&&(Vh(l,s,f),_o(l,f,s)),null!=r&&Ru(s,f),QE}function XE(){let e=Ae();const t=me();return ef()?Nr():(e=e.parent,mr(e,!1)),t.firstCreatePass&&($a(t,e),ka(e)&&t.queries.elementEnd(e)),XE}function ZE(e,t,r){return QE(e,t,r),XE(),ZE}let lS=(e,t,r,s)=>(rt(!0),Hs(t[ve],""));function cS(){return A()}const Xl=void 0;var tN=["en",[["a","p"],["AM","PM"],Xl],[["AM","PM"],Xl,Xl],[["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"]],Xl,[["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"]],Xl,[["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}",Xl,"{1} 'at' {0}",Xl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function eN(e){const r=Math.floor(Math.abs(e)),s=e.toString().replace(/^[^.]*\.?/,"").length;return 1===r&&0===s?1:5}];let md={};function YE(e){const t=function nN(e){return e.toLowerCase().replace(/_/g,"-")}(e);let r=hS(t);if(r)return r;const s=t.split("-")[0];if(r=hS(s),r)return r;if("en"===s)return tN;throw new Q(701,!1)}function fS(e){return YE(e)[_d.PluralCase]}function hS(e){return e in md||(md[e]=qe.ng&&qe.ng.common&&qe.ng.common.locales&&qe.ng.common.locales[e]),md[e]}var _d=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(_d||{});const My="en-US";let pS=My,NS=(e,t,r)=>{};function t0(e,t,r,s){const l=A(),d=me(),f=Ae();return n0(d,l,l[ve],f,e,t,s),t0}function n0(e,t,r,s,l,d,f){const p=Fa(s),_=e.firstCreatePass&&Pu(e),v=t[st],C=qs(t);let E=!0;if(3&s.type||f){const O=dn(s,t),P=f?f(O):O,$=C.length,k=f?Ce=>f(Ue(Ce[s.index])):s.index;let pe=null;if(!f&&p&&(pe=function zN(e,t,r,s){const l=e.cleanup;if(null!=l)for(let d=0;dg?p[g]:null}"string"==typeof f&&(d+=2)}return null}(e,t,l,s.index)),null!==pe)(pe.__ngLastListenerFn__||pe).__ngNextListenerFn__=d,pe.__ngLastListenerFn__=d,E=!1;else{d=FS(s,t,v,d),NS(O,l,d);const Ce=r.listen(P,l,d);C.push(d,Ce),_&&_.push(l,k,$,$+1)}}else d=FS(s,t,v,d);const I=s.outputs;let T;if(E&&null!==I&&(T=I[l])){const O=T.length;if(O)for(let P=0;P-1?qn(e.index,t):t,5);let p=kS(t,r,s,d),g=l.__ngNextListenerFn__;for(;g;)p=kS(t,r,g,d)&&p,g=g.__ngNextListenerFn__;return p}}function PS(e=1){return function Mb(e){return(ye.lFrame.contextLView=function pb(e,t){for(;e>0;)t=t[Ra],e--;return t}(e,ye.lFrame.contextLView))[st]}(e)}function WN(e,t){let r=null;const s=function iD(e){const t=e.attrs;if(null!=t){const r=t.indexOf(5);if(!(1&r))return t[r+1]}return null}(e);for(let l=0;l(rt(!0),function Eh(e,t){return e.createText(t)}(t[ve],s));function s0(e){return Ay("",e,""),s0}function Ay(e,t,r){const s=A(),l=function Qo(e,t,r,s){return vt(e,Qn(),r)?t+_e(r)+s:be}(s,e,t,r);return l!==be&&function nr(e,t,r){const s=bc(t,e);!function vu(e,t,r){e.setValue(t,r)}(e[ve],s,r)}(s,Ge(),l),Ay}function a0(e,t,r){Bw(t)&&(t=t());const s=A();return vt(s,Qn(),t)&&Pn(me(),et(),s,e,t,s[ve],r,!1),a0}function vx(e,t){const r=Bw(e);return r&&e.set(t),r}function l0(e,t){const r=A(),s=me(),l=Ae();return n0(s,r,r[ve],l,e,t),l0}function c0(e,t,r,s,l){if(e=he(e),Array.isArray(e))for(let d=0;d>20;if(us(e)||!e.multi){const I=new ut(_,l,Gs),T=d0(g,t,l?v:v+E,C);-1===T?(wn(Ka(p,f),d,g),u0(d,e,t.length),t.push(g),p.directiveStart++,p.directiveEnd++,l&&(p.providerIndexes+=1048576),r.push(I),f.push(I)):(r[T]=I,f[T]=I)}else{const I=d0(g,t,v+E,C),T=d0(g,t,v,v+E),P=T>=0&&r[T];if(l&&!P||!l&&!(I>=0&&r[I])){wn(Ka(p,f),d,g);const $=function hO(e,t,r,s,l){const d=new ut(e,r,Gs);return d.multi=[],d.index=t,d.componentProviders=0,Cx(d,l,s&&!r),d}(l?fO:dO,r.length,l,s,_);!l&&P&&(r[T].providerFactory=$),u0(d,e,t.length,0),t.push(g),p.directiveStart++,p.directiveEnd++,l&&(p.providerIndexes+=1048576),r.push($),f.push($)}else u0(d,e,I>-1?I:T,Cx(r[l?T:I],_,!l&&s));!l&&s&&P&&r[T].componentProviders++}}}function u0(e,t,r,s){const l=us(t),d=function Xy(e){return!!e.useClass}(t);if(l||d){const g=(d?he(t.useClass):t).prototype.ngOnDestroy;if(g){const _=e.destroyHooks||(e.destroyHooks=[]);if(!l&&t.multi){const v=_.indexOf(r);-1===v?_.push(r,[s,g]):_[v+1].push(s,g)}else _.push(r,g)}}}function Cx(e,t,r){return r&&e.componentProviders++,e.multi.push(t)-1}function d0(e,t,r,s){for(let l=r;l{r.providersResolver=(s,l)=>function uO(e,t,r){const s=me();if(s.firstCreatePass){const l=gr(e);c0(r,s.data,s.blueprint,l,!0),c0(t,s.data,s.blueprint,l,!1)}}(s,l?l(e):e,t)}}function Ex(e,t,r,s){return Sx(A(),fn(),e,t,r,s)}function Ix(e,t,r,s,l){return function xx(e,t,r,s,l,d,f){const p=t+r;return ji(e,p,l,d)?zr(e,p+2,f?s.call(f,l,d):s(l,d)):kp(e,p+2)}(A(),fn(),e,t,r,s,l)}function Mx(e,t,r,s,l,d){return function Ax(e,t,r,s,l,d,f,p){const g=t+r;return function cd(e,t,r,s,l){const d=ji(e,t,r,s);return vt(e,t+2,l)||d}(e,g,l,d,f)?zr(e,g+3,p?s.call(p,l,d,f):s(l,d,f)):kp(e,g+3)}(A(),fn(),e,t,r,s,l,d)}function Tx(e,t,r,s,l,d,f){return function Rx(e,t,r,s,l,d,f,p,g){const _=t+r;return function or(e,t,r,s,l,d){const f=ji(e,t,r,s);return ji(e,t+2,l,d)||f}(e,_,l,d,f,p)?zr(e,_+4,g?s.call(g,l,d,f,p):s(l,d,f,p)):kp(e,_+4)}(A(),fn(),e,t,r,s,l,d,f)}function kp(e,t){const r=e[t];return r===be?void 0:r}function Sx(e,t,r,s,l,d){const f=t+r;return vt(e,f,l)?zr(e,f+1,d?s.call(d,l):s(l)):kp(e,f+1)}function Ox(e,t){const r=me();let s;const l=e+ee;r.firstCreatePass?(s=function wO(e,t){if(t)for(let r=t.length-1;r>=0;r--){const s=t[r];if(e===s.name)return s}}(t,r.pipeRegistry),r.data[l]=s,s.onDestroy&&(r.destroyHooks??=[]).push(l,s.onDestroy)):s=r.data[l];const d=s.factory||(s.factory=fr(s.type)),p=Xt(Gs);try{const g=xc(!1),_=d();return xc(g),function o0(e,t,r,s){r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=s}(r,A(),l,_),_}finally{Xt(p)}}function kx(e,t,r){const s=e+ee,l=A(),d=ms(l,s);return function Fp(e,t){return e[V].data[t].pure}(l,s)?Sx(l,fn(),t,d.transform,r,d):d.transform(r)}function Fx(e,t){return Ur(e,t)}class Zx{full;major;minor;patch;constructor(t){this.full=t;const r=t.split(".");this.major=r[0],this.minor=r[1],this.patch=r.slice(2).join(".")}}class ek{ngModuleFactory;componentFactories;constructor(t,r){this.ngModuleFactory=t,this.componentFactories=r}}let tk=(()=>{class e{compileModuleSync(r){return new ev(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){const s=this.compileModuleSync(r),d=In(Yt(r).declarations).reduce((f,p)=>{const g=Me(p);return g&&f.push(new Gu(g)),f},[]);return new ek(s,d)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}static \u0275fac=function(s){return new(s||e)};static \u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ok=(()=>{class e{zone=W(ht);changeDetectionScheduler=W(nn);applicationRef=W(rr);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(s){return new(s||e)};static \u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ik=new de("",{factory:()=>!1});function v0({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:r}){return e??=()=>new ht({...y0(),scheduleInRootZone:r}),[{provide:ht,useFactory:e},{provide:$n,multi:!0,useFactory:()=>{const s=W(ok,{optional:!0});return()=>s.initialize()}},{provide:$n,multi:!0,useFactory:()=>{const s=W(ak);return()=>{s.initialize()}}},!0===t?{provide:Ya,useValue:!0}:[],{provide:Ef,useValue:r??Ao}]}function sk(e){const t=e?.ignoreChangesOutsideZone,r=e?.scheduleInRootZone,s=v0({ngZoneFactory:()=>{const l=y0(e);return l.scheduleInRootZone=r,l.shouldCoalesceEventChangeDetection&&pt("NgZone_CoalesceEvent"),new ht(l)},ignoreChangesOutsideZone:t,scheduleInRootZone:r});return Io([{provide:ik,useValue:!0},{provide:Xa,useValue:!1},s])}function y0(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let ak=(()=>{class e{subscription=new Jo.yU;initialized=!1;zone=W(ht);pendingTasks=W(vr);initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ht.assertNotInAngularZone(),queueMicrotask(()=>{null!==r&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ht.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(s){return new(s||e)};static \u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Lp=(()=>{class e{appRef=W(rr);taskService=W(vr);ngZone=W(ht);zonelessEnabled=W(Xa);disableScheduling=W(Ya,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Jo.yU;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(kc):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(W(Ef,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Sf||!this.zoneIsDefined)}notify(r){if(!this.zonelessEnabled&&5===r)return;let s=!1;switch(r){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 8:this.appRef.deferredDirtyFlags|=8;break;case 6:case 14:this.appRef.dirtyFlags|=2,s=!0;break;case 13:this.appRef.dirtyFlags|=16,s=!0;break;case 12:s=!0;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick(s))return;const l=this.useMicrotaskScheduler?tl:Nc;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>l(()=>this.tick())):this.ngZone.runOutsideAngular(()=>l(()=>this.tick()))}shouldScheduleTick(r){return!(this.disableScheduling&&!r||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(kc+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const r=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(s){throw this.taskService.remove(r),s}finally{this.cleanup()}this.useMicrotaskScheduler=!0,tl(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(r)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}static \u0275fac=function(s){return new(s||e)};static \u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const C0=new de("",{providedIn:"root",factory:()=>W(C0,Ee.Optional|Ee.SkipSelf)||function lk(){return typeof $localize<"u"&&$localize.locale||My}()}),ck=new de("",{providedIn:"root",factory:()=>"USD"}),Oy=new de("");function ky(e){return!e.moduleRef}let ha=null;let lA=(()=>class e{static __NG_ELEMENT_ID__=vk})();function vk(e){return function yk(e,t,r){if(Ar(e)&&!r){const s=qn(e.index,t);return new Zs(s,s)}return 175&e.type?new Zs(t[ct],t):null}(Ae(),A(),!(16&~e))}class fA{constructor(){}supports(t){return _p(t)}create(t){return new Ek(t)}}const wk=(e,t)=>t;class Ek{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||wk}forEachItem(t){let r;for(r=this._itHead;null!==r;r=r._next)t(r)}forEachOperation(t){let r=this._itHead,s=this._removalsHead,l=0,d=null;for(;r||s;){const f=!s||r&&r.currentIndex{f=this._trackByFn(l,p),null!==r&&Object.is(r.trackById,f)?(s&&(r=this._verifyReinsertion(r,p,f,l)),Object.is(r.item,p)||this._addIdentityChange(r,p)):(r=this._mismatch(r,p,f,l),s=!0),r=r._next,l++}),this.length=l;return this._truncate(r),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,r,s,l){let d;return null===t?d=this._itTail:(d=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(s,null))?(Object.is(t.item,r)||this._addIdentityChange(t,r),this._reinsertAfter(t,d,l)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(s,l))?(Object.is(t.item,r)||this._addIdentityChange(t,r),this._moveAfter(t,d,l)):t=this._addAfter(new Ik(r,s),d,l),t}_verifyReinsertion(t,r,s,l){let d=null===this._unlinkedRecords?null:this._unlinkedRecords.get(s,null);return null!==d?t=this._reinsertAfter(d,t._prev,l):t.currentIndex!=l&&(t.currentIndex=l,this._addToMoves(t,l)),t}_truncate(t){for(;null!==t;){const r=t._next;this._addToRemovals(this._unlink(t)),t=r}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(t,r,s){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const l=t._prevRemoved,d=t._nextRemoved;return null===l?this._removalsHead=d:l._nextRemoved=d,null===d?this._removalsTail=l:d._prevRemoved=l,this._insertAfter(t,r,s),this._addToMoves(t,s),t}_moveAfter(t,r,s){return this._unlink(t),this._insertAfter(t,r,s),this._addToMoves(t,s),t}_addAfter(t,r,s){return this._insertAfter(t,r,s),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,r,s){const l=null===r?this._itHead:r._next;return t._next=l,t._prev=r,null===l?this._itTail=t:l._prev=t,null===r?this._itHead=t:r._next=t,null===this._linkedRecords&&(this._linkedRecords=new hA),this._linkedRecords.put(t),t.currentIndex=s,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const r=t._prev,s=t._next;return null===r?this._itHead=s:r._next=s,null===s?this._itTail=r:s._prev=r,t}_addToMoves(t,r){return t.previousIndex===r||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new hA),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,r){return t.item=r,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Ik{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,r){this.item=t,this.trackById=r}}class Mk{_head=null;_tail=null;add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,r){let s;for(s=this._head;null!==s;s=s._nextDup)if((null===r||r<=s.currentIndex)&&Object.is(s.trackById,t))return s;return null}remove(t){const r=t._prevDup,s=t._nextDup;return null===r?this._head=s:r._nextDup=s,null===s?this._tail=r:s._prevDup=r,null===this._head}}class hA{map=new Map;put(t){const r=t.trackById;let s=this.map.get(r);s||(s=new Mk,this.map.set(r,s)),s.add(t)}get(t,r){const l=this.map.get(t);return l?l.get(t,r):null}remove(t){const r=t.trackById;return this.map.get(r).remove(t)&&this.map.delete(r),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function pA(e,t,r){const s=e.previousIndex;if(null===s)return s;let l=0;return r&&s{if(r&&r.key===l)this._maybeAddToChanges(r,s),this._appendAfter=r,r=r._next;else{const d=this._getOrCreateRecordForKey(l,s);r=this._insertBeforeOrAppend(r,d)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let s=r;null!==s;s=s._nextRemoved)s===this._mapHead&&(this._mapHead=null),this._records.delete(s.key),s._nextRemoved=s._next,s.previousValue=s.currentValue,s.currentValue=null,s._prev=null,s._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,r){if(t){const s=t._prev;return r._next=t,r._prev=s,t._prev=r,s&&(s._next=r),t===this._mapHead&&(this._mapHead=r),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(t,r){if(this._records.has(t)){const l=this._records.get(t);this._maybeAddToChanges(l,r);const d=l._prev,f=l._next;return d&&(d._next=f),f&&(f._prev=d),l._next=null,l._prev=null,l}const s=new Sk(t);return this._records.set(t,s),s.currentValue=r,this._addToAdditions(s),s}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,r){Object.is(r,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=r,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,r){t instanceof Map?t.forEach(r):Object.keys(t).forEach(s=>r(t[s],s))}}class Sk{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}}function mA(){return new T0([new fA])}let T0=(()=>{class e{factories;static \u0275prov=Le({token:e,providedIn:"root",factory:mA});constructor(r){this.factories=r}static create(r,s){if(null!=s){const l=s.factories.slice();r=r.concat(l)}return new e(r)}static extend(r){return{provide:e,useFactory:s=>e.create(r,s||mA()),deps:[[e,new Ta,new Rn]]}}find(r){const s=this.factories.find(l=>l.supports(r));if(null!=s)return s;throw new Q(901,!1)}}return e})();function _A(){return new S0([new gA])}let S0=(()=>{class e{static \u0275prov=Le({token:e,providedIn:"root",factory:_A});factories;constructor(r){this.factories=r}static create(r,s){if(s){const l=s.factories.slice();r=r.concat(l)}return new e(r)}static extend(r){return{provide:e,useFactory:s=>e.create(r,s||_A()),deps:[[e,new Ta,new Rn]]}}find(r){const s=this.factories.find(l=>l.supports(r));if(s)return s;throw new Q(901,!1)}}return e})();function Hk(e){try{const{rootComponent:t,appProviders:r,platformProviders:s}=e,l=function _k(e=[]){if(ha)return ha;const t=function iA(e=[],t){return Tt.create({name:t,providers:[{provide:cg,useValue:"platform"},{provide:Oy,useValue:new Set([()=>ha=null])},...e]})}(e);return ha=t,function hw(){!function Up(e){Yl=e}(()=>{throw new Q(600,!1)})}(),function sA(e){const t=e.get(Hc,null);gc(e,()=>{t?.forEach(r=>r())})}(t),t}(s),d=[v0({}),{provide:nn,useExisting:Lp},...r||[]];return function nA(e){const t=ky(e)?e.r3Injector:e.moduleRef.injector,r=t.get(ht);return r.run(()=>{ky(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const s=t.get(ao,null);let l;if(r.runOutsideAngular(()=>{l=r.onError.subscribe({next:d=>{s.handleError(d)}})}),ky(e)){const d=()=>t.destroy(),f=e.platformInjector.get(Oy);f.add(d),t.onDestroy(()=>{l.unsubscribe(),f.delete(d)})}else{const d=()=>e.moduleRef.destroy(),f=e.platformInjector.get(Oy);f.add(d),e.moduleRef.onDestroy(()=>{qu(e.allPlatformModules,e.moduleRef),l.unsubscribe(),f.delete(d)})}return function $M(e,t,r){try{const s=r();return sv(s)?s.catch(l=>{throw t.runOutsideAngular(()=>e.handleError(l)),l}):s}catch(s){throw t.runOutsideAngular(()=>e.handleError(s)),s}}(s,r,()=>{const d=t.get(dw);return d.runInitializers(),d.donePromise.then(()=>{if(function sN(e){"string"==typeof e&&(pS=e.toLowerCase().replace(/_/g,"-"))}(t.get(C0,My)||My),ky(e)){const p=t.get(rr);return void 0!==e.rootComponent&&p.bootstrap(e.rootComponent),p}return function pk(e,t){const r=e.injector.get(rr);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(s=>r.bootstrap(s));else{if(!e.instance.ngDoBootstrap)throw new Q(-403,!1);e.instance.ngDoBootstrap(r)}t.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({r3Injector:new GD({providers:d,parent:l,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:l,rootComponent:t})}catch(t){return Promise.reject(t)}}function dF(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function fF(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}function O0(e,t){pt("NgSignals");const r=function we(e){const t=Object.create(pa);t.computation=e;const r=()=>{if(Ve(t),Ze(t),t.value===Bn)throw t.error;return t.value};return r[te]=t,r}(e);return t?.equal&&(r[te].equal=t.equal),r}function bd(e){const t=j(null);try{return e()}finally{j(t)}}let zA=(()=>class e{view;node;constructor(r,s){this.view=r,this.node=s}static __NG_ELEMENT_ID__=vF})();function vF(){return new zA(A(),Ae())}let bF=(()=>{class e extends fw{pendingTasks=W(vr);taskId=null;schedule(r){super.schedule(r),null===this.taskId&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{null!==this.taskId&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=Le({token:e,providedIn:"root",factory:()=>new e})}return e})();class CF{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(t,r,s,l,d,f){this.scheduler=t,this.effectFn=r,this.zone=s,this.injector=d,this.watcher=function Jl(e,t,r){const s=Object.create(Id);r&&(s.consumerAllowSignalWrites=!0),s.fn=e,s.schedule=t;const l=g=>{s.cleanupFn=g};return s.ref={notify:()=>Lt(s),run:()=>{if(null===s.fn)return;if(function Y(){return K}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(s.dirty=!1,s.hasRun&&!oe(s))return;s.hasRun=!0;const g=an(s);try{s.cleanupFn(),s.cleanupFn=Yo,s.fn(l)}finally{ze(s,g)}},cleanup:()=>s.cleanupFn(),destroy:()=>function f(g){(function d(g){return null===g.fn&&null===g.schedule})(g)||(tt(g),g.cleanupFn(),g.fn=null,g.schedule=null,g.cleanupFn=Yo)}(s),[te]:s},s.ref}(p=>this.runEffect(p),()=>this.schedule(),f),this.unregisterOnDestroy=l?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(r){this.injector.get(ao,null,{optional:!0})?.handleError(r)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}let k0=!1;class EF{[te];constructor(t){this[te]=t}destroy(){this[te].destroy()}}function F0(e,t){if(k0)return function wF(e,t){pt("NgSignals"),!t?.injector&&ii();const r=t?.injector??W(Tt),s=!0!==t?.manualCleanup?r.get(ke):null,l=new CF(r.get(bF),e,typeof Zone>"u"?null:Zone.current,s,r,t?.allowSignalWrites??!1),d=r.get(lA,null,{optional:!0});return d&&8&d._lView[ie]?(d._lView[vc]??=[]).push(l.watcher.notify):l.watcher.notify(),l}(e,t);pt("NgSignals"),!t?.injector&&ii();const r=t?.injector??W(Tt);let l,s=!0!==t?.manualCleanup?r.get(ke):null;const d=r.get(zA,null,{optional:!0}),f=r.get(nn);return null===d||t?.forceRoot?l=function SF(e,t,r){const s=Object.create(IF);return s.fn=e,s.scheduler=t,s.notifier=r,s.zone=typeof Zone<"u"?Zone.current:null,s.scheduler.schedule(s),s.notifier.notify(13),s}(e,r.get(av),f):(l=function TF(e,t,r){const s=Object.create(MF);return s.view=e,s.zone=typeof Zone<"u"?Zone.current:null,s.notifier=t,s.fn=r,e[si]??=new Set,e[si].add(s),s.consumerMarkedDirty(s),s}(d.view,f,e),s instanceof Ds&&s._lView===d.view&&(s=null)),l.injector=r,null!==s&&(l.onDestroyFn=s.onDestroy(()=>l.destroy())),new EF(l)}const WA={...J,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:el,run(){if(this.dirty=!1,this.hasRun&&!oe(this))return;this.hasRun=!0;const e=s=>(this.cleanupFns??=[]).push(s),t=an(this),r=_s(!1);try{this.maybeCleanup(),this.fn(e)}finally{_s(r),ze(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}},IF={...WA,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){tt(this),this.onDestroyFn(),this.maybeCleanup()}},MF={...WA,consumerMarkedDirty(){this.view[ie]|=8192,Cc(this.view),this.notifier.notify(14)},destroy(){tt(this),this.onDestroyFn(),this.maybeCleanup(),this.view[si]?.delete(this)}};function PF(e,t){const r=Me(e),s=t.elementInjector||hc();return new Gu(r).create(s,t.projectableNodes,t.hostElement,t.environmentInjector)}},330:ce=>{"use strict";ce.exports=JSON.parse('{"name":"ngx-select-ex","version":"18.0.1","description":"Angular based replacement for select boxes","license":"MIT","private":false,"author":"Konstantin Polyntsov ","repository":{"type":"git","url":"git+ssh://git@github.com:optimistex/ngx-select-ex.git"},"bugs":{"url":"https://github.com/optimistex/ngx-select-ex/issues"},"homepage":"https://github.com/optimistex/ngx-select-ex#readme","scripts":{"build":"npm run lint && npm run build:package && npm run test && npm run build:demo && git add -A","build:demo":"ng build ngx-select-ex-demo","build:package":"ng build ngx-select-ex","lint":"ng lint","lint:quiet":"ng lint --quiet","lint:fix":"ng lint --fix","lint:ngx-select-ex:quiet":"ng lint ngx-select-ex --quiet","lint:ngx-select-ex-demo:quiet":"ng lint ngx-select-ex-demo --quiet","ng":"ng","release":"standard-version --commit-all","release:major":"standard-version --release-as major --commit-all","sync-version":"npm --prefix=projects/ngx-select-ex pkg set version=$(npm pkg get version | xargs)","publish.ng4":"npm publish ./dist --tag ng4","publish":"npm publish ./dist","publish-dev":"npm publish ./dist --tag dev","start":"ng serve","test":"ng test --browsers=ChromeHeadlessNoSandbox --watch false","test:ngx-select-ex":"ng test ngx-select-ex --browsers=ChromeHeadlessNoSandbox --watch false","test:ngx-select-ex-demo":"ng test ngx-select-ex-demo --browsers=ChromeHeadlessNoSandbox --watch false","prepare":"husky"},"standard-version":{"scripts":{"postbump":"npm run sync-version && npm run build"}},"keywords":["ngx-select","ngx-select-ex","angular","angular2","angular4","angular5","angular6","select","select2","ui-select","multiselect","multi-select"],"peerDependencies":{"escape-string-regexp":"^5.0.0","lodash.isequal":"^4.5.0"},"dependencies":{"@angular/animations":"^19.0.0","@angular/cdk":"^19.0.0","@angular/common":"^19.0.0","@angular/compiler":"^19.0.0","@angular/core":"^19.0.0","@angular/forms":"^19.0.0","@angular/material":"^19.0.0","@angular/platform-browser":"^19.0.0","@angular/platform-browser-dynamic":"^19.0.0","@angular/router":"^19.0.0","rxjs":"~7.8.0","tslib":"^2.3.0","zone.js":"~0.15.0"},"devDependencies":{"@angular-devkit/build-angular":"^19.0.0","@angular/cli":"^19.0.0","@angular/compiler-cli":"^19.0.0","@types/jasmine":"~5.1.0","angular-eslint":"18.4.1","eslint":"^9.15.0","html-loader":"^5.1.0","husky":"^9.1.7","jasmine-core":"~5.4.0","karma":"~6.4.0","karma-chrome-launcher":"~3.2.0","karma-coverage":"~2.2.0","karma-jasmine":"~5.1.0","karma-jasmine-html-reporter":"~2.1.0","markdown-loader":"^8.0.0","ng-packagr":"^19.0.0","raw-loader":"^4.0.2","standard-version":"^9.5.0","typescript":"~5.6.2","typescript-eslint":"8.15.0"},"contributors":[{"name":"Konstantin Polyntsov","email":"optimistex@gmail.com","url":"https://github.com/optimistex"},{"name":"Vyacheslav Chub","email":"vyacheslav.chub@valor-software.com","url":"https://github.com/buchslava"},{"name":"Dmitriy Shekhovtsov","email":"valorkin@gmail.com","url":"https://github.com/valorkin"},{"name":"Oleksandr Telnov","email":"otelnov@gmail.com","url":"https://github.com/otelnov"}]}')}},ce=>{ce(ce.s=292)}]); \ No newline at end of file diff --git a/docs/main.f9cf510f1ad879ef.js b/docs/main.f9cf510f1ad879ef.js new file mode 100644 index 00000000..9330b199 --- /dev/null +++ b/docs/main.f9cf510f1ad879ef.js @@ -0,0 +1 @@ +(self.webpackChunkngx_select_ex_demo=self.webpackChunkngx_select_ex_demo||[]).push([[792],{538:(he,U,x)=>{"use strict";var u=x(213);let K=null;function se(){return K}class G{}const Q=new u.nKC(""),nl=/\s+/,ar=[];let du=(()=>{class i{_ngEl;_renderer;initialClasses=ar;rawClass;stateMap=new Map;constructor(r,s){this._ngEl=r,this._renderer=s}set klass(r){this.initialClasses=null!=r?r.trim().split(nl):ar}set ngClass(r){this.rawClass="string"==typeof r?r.trim().split(nl):r}ngDoCheck(){for(const s of this.initialClasses)this._updateState(s,!0);const r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(const s of r)this._updateState(s,!0);else if(null!=r)for(const s of Object.keys(r))this._updateState(s,!!r[s]);this._applyStateDiff()}_updateState(r,s){const d=this.stateMap.get(r);void 0!==d?(d.enabled!==s&&(d.changed=!0,d.enabled=s),d.touched=!0):this.stateMap.set(r,{enabled:s,changed:!0,touched:!0})}_applyStateDiff(){for(const r of this.stateMap){const s=r[0],d=r[1];d.changed?(this._toggleClass(s,d.enabled),d.changed=!1):d.touched||(d.enabled&&this._toggleClass(s,!1),this.stateMap.delete(s)),d.touched=!1}}_toggleClass(r,s){(r=r.trim()).length>0&&r.split(nl).forEach(d=>{s?this._renderer.addClass(this._ngEl.nativeElement,d):this._renderer.removeClass(this._ngEl.nativeElement,d)})}static \u0275fac=function(s){return new(s||i)(u.rXU(u.aKT),u.rXU(u.sFG))};static \u0275dir=u.FsC({type:i,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return i})();class Oe{$implicit;ngForOf;index;count;constructor(l,r,s,d){this.$implicit=l,this.ngForOf=r,this.index=s,this.count=d}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 hu=(()=>{class i{_viewContainer;_template;_differs;set ngForOf(r){this._ngForOf=r,this._ngForOfDirty=!0}set ngForTrackBy(r){this._trackByFn=r}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(r,s,d){this._viewContainer=r,this._template=s,this._differs=d}set ngForTemplate(r){r&&(this._template=r)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const r=this._ngForOf;!this._differ&&r&&(this._differ=this._differs.find(r).create(this.ngForTrackBy))}if(this._differ){const r=this._differ.diff(this._ngForOf);r&&this._applyChanges(r)}}_applyChanges(r){const s=this._viewContainer;r.forEachOperation((d,g,_)=>{if(null==d.previousIndex)s.createEmbeddedView(this._template,new Oe(d.item,this._ngForOf,-1,-1),null===_?void 0:_);else if(null==_)s.remove(null===g?void 0:g);else if(null!==g){const D=s.get(g);s.move(D,_),xo(D,d)}});for(let d=0,g=s.length;d{xo(s.get(d.currentIndex),d)})}static ngTemplateContextGuard(r,s){return!0}static \u0275fac=function(s){return new(s||i)(u.rXU(u.c1b),u.rXU(u.C4Q),u.rXU(u._q3))};static \u0275dir=u.FsC({type:i,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return i})();function xo(i,l){i.context.$implicit=l.item}let pu=(()=>{class i{_viewContainer;_context=new Jr;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(r,s){this._viewContainer=r,this._thenTemplateRef=s}set ngIf(r){this._context.$implicit=this._context.ngIf=r,this._updateView()}set ngIfThen(r){ws("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){ws("ngIfElse",r),this._elseTemplateRef=r,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 ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(r,s){return!0}static \u0275fac=function(s){return new(s||i)(u.rXU(u.c1b),u.rXU(u.C4Q))};static \u0275dir=u.FsC({type:i,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return i})();class Jr{$implicit=null;ngIf=null}function ws(i,l){if(l&&!l.createEmbeddedView)throw new Error(`${i} must be a TemplateRef, but received '${(0,u.Tbb)(l)}'.`)}let Ir=(()=>{class i{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(r){this._viewContainerRef=r}ngOnChanges(r){if(this._shouldRecreateView(r)){const s=this._viewContainerRef;if(this._viewRef&&s.remove(s.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const d=this._createContextForwardProxy();this._viewRef=s.createEmbeddedView(this.ngTemplateOutlet,d,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(r){return!!r.ngTemplateOutlet||!!r.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(r,s,d)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,s,d),get:(r,s,d)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,s,d)}})}static \u0275fac=function(s){return new(s||i)(u.rXU(u.c1b))};static \u0275dir=u.FsC({type:i,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[u.OA$]})}return i})(),cr=(()=>{class i{transform(r){return JSON.stringify(r,null,2)}static \u0275fac=function(s){return new(s||i)};static \u0275pipe=u.EJ8({name:"json",type:i,pure:!1})}return i})(),ge=(()=>{class i{static \u0275fac=function(s){return new(s||i)};static \u0275mod=u.$C({type:i});static \u0275inj=u.G2t({})}return i})();const qe="browser";function Ze(i){return"server"===i}class Ke extends G{supportsDOMEvents=!0}class Pe extends Ke{static makeCurrent(){!function $(i){K??=i}(new Pe)}onAndCancel(l,r,s){return l.addEventListener(r,s),()=>{l.removeEventListener(r,s)}}dispatchEvent(l,r){l.dispatchEvent(r)}remove(l){l.remove()}createElement(l,r){return(r=r||this.getDefaultDocument()).createElement(l)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(l){return l.nodeType===Node.ELEMENT_NODE}isShadowRoot(l){return l instanceof DocumentFragment}getGlobalEventTarget(l,r){return"window"===r?window:"document"===r?l:"body"===r?l.body:null}getBaseHref(l){const r=function de(){return ln=ln||document.querySelector("base"),ln?ln.getAttribute("href"):null}();return null==r?null:function Oo(i){return new URL(i,document.baseURI).pathname}(r)}resetBaseElement(){ln=null}getUserAgent(){return window.navigator.userAgent}getCookie(l){return function ie(i,l){l=encodeURIComponent(l);for(const r of i.split(";")){const s=r.indexOf("="),[d,g]=-1==s?[r,""]:[r.slice(0,s),r.slice(s+1)];if(d.trim()===l)return decodeURIComponent(g)}return null}(document.cookie,l)}}let ln=null,xi=(()=>{class i{build(){return new XMLHttpRequest}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac})}return i})();const Qe=new u.nKC("");let no=(()=>{class i{_zone;_plugins;_eventNameToPlugin=new Map;constructor(r,s){this._zone=s,r.forEach(d=>{d.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,s,d){return this._findPluginFor(s).addEventListener(r,s,d)}getZone(){return this._zone}_findPluginFor(r){let s=this._eventNameToPlugin.get(r);if(s)return s;if(s=this._plugins.find(g=>g.supports(r)),!s)throw new u.wOt(5101,!1);return this._eventNameToPlugin.set(r,s),s}static \u0275fac=function(s){return new(s||i)(u.KVO(Qe),u.KVO(u.SKi))};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac})}return i})();class Ro{_doc;constructor(l){this._doc=l}manager}const Zn="ng-app-id";function Po(i){for(const l of i)l.remove()}function Mu(i,l){const r=l.createElement("style");return r.textContent=i,r}function Si(i,l){const r=l.createElement("link");return r.setAttribute("rel","stylesheet"),r.setAttribute("href",i),r}let oo=(()=>{class i{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(r,s,d,g={}){this.doc=r,this.appId=s,this.nonce=d,this.isServer=Ze(g),function ro(i,l,r){const s=i.head?.querySelectorAll(`style[${Zn}="${l}"]`);if(s)for(const d of s)d.textContent&&(d.removeAttribute(Zn),r.set(d.textContent,{usage:0,elements:[d]}))}(r,s,this.inline),this.hosts.add(r.head)}addStyles(r,s){for(const d of r)this.addUsage(d,this.inline,Mu);s?.forEach(d=>this.addUsage(d,this.external,Si))}removeStyles(r,s){for(const d of r)this.removeUsage(d,this.inline);s?.forEach(d=>this.removeUsage(d,this.external))}addUsage(r,s,d){const g=s.get(r);g?g.usage++:s.set(r,{usage:1,elements:[...this.hosts].map(_=>this.addElement(_,d(r,this.doc)))})}removeUsage(r,s){const d=s.get(r);d&&(d.usage--,d.usage<=0&&(Po(d.elements),s.delete(r)))}ngOnDestroy(){for(const[,{elements:r}]of[...this.inline,...this.external])Po(r);this.hosts.clear()}addHost(r){this.hosts.add(r);for(const[s,{elements:d}]of this.inline)d.push(this.addElement(r,Mu(s,this.doc)));for(const[s,{elements:d}]of this.external)d.push(this.addElement(r,Si(s,this.doc)))}removeHost(r){this.hosts.delete(r)}addElement(r,s){return this.nonce&&s.setAttribute("nonce",this.nonce),this.isServer&&s.setAttribute(Zn,this.appId),r.appendChild(s)}static \u0275fac=function(s){return new(s||i)(u.KVO(Q),u.KVO(u.sZ2),u.KVO(u.BIS,8),u.KVO(u.Agw))};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac})}return i})();const Zt={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Z=/%COMP%/g,Ai=new u.nKC("",{providedIn:"root",factory:()=>!0});function it(i,l){return l.map(r=>r.replace(Z,i))}let pt=(()=>{class i{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(r,s,d,g,_,D,E,T=null){this.eventManager=r,this.sharedStylesHost=s,this.appId=d,this.removeStylesOnCompDestroy=g,this.doc=_,this.platformId=D,this.ngZone=E,this.nonce=T,this.platformIsServer=Ze(D),this.defaultRenderer=new Vs(r,_,E,this.platformIsServer)}createRenderer(r,s){if(!r||!s)return this.defaultRenderer;this.platformIsServer&&s.encapsulation===u.gXe.ShadowDom&&(s={...s,encapsulation:u.gXe.Emulated});const d=this.getOrCreateRenderer(r,s);return d instanceof xh?d.applyToHost(r):d instanceof ml&&d.applyStyles(),d}getOrCreateRenderer(r,s){const d=this.rendererByCompId;let g=d.get(s.id);if(!g){const _=this.doc,D=this.ngZone,E=this.eventManager,T=this.sharedStylesHost,O=this.removeStylesOnCompDestroy,j=this.platformIsServer;switch(s.encapsulation){case u.gXe.Emulated:g=new xh(E,T,s,this.appId,O,_,D,j);break;case u.gXe.ShadowDom:return new Bs(E,T,r,s,_,D,this.nonce,j);default:g=new ml(E,T,s,O,_,D,j)}d.set(s.id,g)}return g}ngOnDestroy(){this.rendererByCompId.clear()}static \u0275fac=function(s){return new(s||i)(u.KVO(no),u.KVO(oo),u.KVO(u.sZ2),u.KVO(Ai),u.KVO(Q),u.KVO(u.Agw),u.KVO(u.SKi),u.KVO(u.BIS))};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac})}return i})();class Vs{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(l,r,s,d){this.eventManager=l,this.doc=r,this.ngZone=s,this.platformIsServer=d}destroy(){}destroyNode=null;createElement(l,r){return r?this.doc.createElementNS(Zt[r]||r,l):this.doc.createElement(l)}createComment(l){return this.doc.createComment(l)}createText(l){return this.doc.createTextNode(l)}appendChild(l,r){(kn(l)?l.content:l).appendChild(r)}insertBefore(l,r,s){l&&(kn(l)?l.content:l).insertBefore(r,s)}removeChild(l,r){r.remove()}selectRootElement(l,r){let s="string"==typeof l?this.doc.querySelector(l):l;if(!s)throw new u.wOt(-5104,!1);return r||(s.textContent=""),s}parentNode(l){return l.parentNode}nextSibling(l){return l.nextSibling}setAttribute(l,r,s,d){if(d){r=d+":"+r;const g=Zt[d];g?l.setAttributeNS(g,r,s):l.setAttribute(r,s)}else l.setAttribute(r,s)}removeAttribute(l,r,s){if(s){const d=Zt[s];d?l.removeAttributeNS(d,r):l.removeAttribute(`${s}:${r}`)}else l.removeAttribute(r)}addClass(l,r){l.classList.add(r)}removeClass(l,r){l.classList.remove(r)}setStyle(l,r,s,d){d&(u.czy.DashCase|u.czy.Important)?l.style.setProperty(r,s,d&u.czy.Important?"important":""):l.style[r]=s}removeStyle(l,r,s){s&u.czy.DashCase?l.style.removeProperty(r):l.style[r]=""}setProperty(l,r,s){null!=l&&(l[r]=s)}setValue(l,r){l.nodeValue=r}listen(l,r,s){if("string"==typeof l&&!(l=se().getGlobalEventTarget(this.doc,l)))throw new Error(`Unsupported event target ${l} for event ${r}`);return this.eventManager.addEventListener(l,r,this.decoratePreventDefault(s))}decoratePreventDefault(l){return r=>{if("__ngUnwrap__"===r)return l;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>l(r)):l(r))&&r.preventDefault()}}}function kn(i){return"TEMPLATE"===i.tagName&&void 0!==i.content}class Bs extends Vs{sharedStylesHost;hostEl;shadowRoot;constructor(l,r,s,d,g,_,D,E){super(l,g,_,E),this.sharedStylesHost=r,this.hostEl=s,this.shadowRoot=s.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const T=it(d.id,d.styles);for(const j of T){const re=document.createElement("style");D&&re.setAttribute("nonce",D),re.textContent=j,this.shadowRoot.appendChild(re)}const O=d.getExternalStyles?.();if(O)for(const j of O){const re=Si(j,g);D&&re.setAttribute("nonce",D),this.shadowRoot.appendChild(re)}}nodeOrShadowRoot(l){return l===this.hostEl?this.shadowRoot:l}appendChild(l,r){return super.appendChild(this.nodeOrShadowRoot(l),r)}insertBefore(l,r,s){return super.insertBefore(this.nodeOrShadowRoot(l),r,s)}removeChild(l,r){return super.removeChild(null,r)}parentNode(l){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(l)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ml extends Vs{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(l,r,s,d,g,_,D,E){super(l,g,_,D),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=d,this.styles=E?it(E,s.styles):s.styles,this.styleUrls=s.getExternalStyles?.(E)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class xh extends ml{contentAttr;hostAttr;constructor(l,r,s,d,g,_,D,E){const T=d+"-"+s.id;super(l,r,s,g,_,D,E,T),this.contentAttr=function ut(i){return"_ngcontent-%COMP%".replace(Z,i)}(T),this.hostAttr=function gl(i){return"_nghost-%COMP%".replace(Z,i)}(T)}applyToHost(l){this.applyStyles(),this.setAttribute(l,this.hostAttr,"")}createElement(l,r){const s=super.createElement(l,r);return super.setAttribute(s,this.contentAttr,""),s}}let xu=(()=>{class i extends Ro{constructor(r){super(r)}supports(r){return!0}addEventListener(r,s,d){return r.addEventListener(s,d,!1),()=>this.removeEventListener(r,s,d)}removeEventListener(r,s,d){return r.removeEventListener(s,d)}static \u0275fac=function(s){return new(s||i)(u.KVO(Q))};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac})}return i})();const Su=["alt","control","meta","shift"],e_={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Au={alt:i=>i.altKey,control:i=>i.ctrlKey,meta:i=>i.metaKey,shift:i=>i.shiftKey};let tC=(()=>{class i extends Ro{constructor(r){super(r)}supports(r){return null!=i.parseEventName(r)}addEventListener(r,s,d){const g=i.parseEventName(s),_=i.eventCallback(g.fullKey,d,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>se().onAndCancel(r,g.domEventName,_))}static parseEventName(r){const s=r.toLowerCase().split("."),d=s.shift();if(0===s.length||"keydown"!==d&&"keyup"!==d)return null;const g=i._normalizeKey(s.pop());let _="",D=s.indexOf("code");if(D>-1&&(s.splice(D,1),_="code."),Su.forEach(T=>{const O=s.indexOf(T);O>-1&&(s.splice(O,1),_+=T+".")}),_+=g,0!=s.length||0===g.length)return null;const E={};return E.domEventName=d,E.fullKey=_,E}static matchEventFullKeyCode(r,s){let d=e_[r.key]||r.key,g="";return s.indexOf("code.")>-1&&(d=r.code,g="code."),!(null==d||!d)&&(d=d.toLowerCase()," "===d?d="space":"."===d&&(d="dot"),Su.forEach(_=>{_!==d&&(0,Au[_])(r)&&(g+=_+".")}),g+=d,g===s)}static eventCallback(r,s,d){return g=>{i.matchEventFullKeyCode(g,r)&&d.runGuarded(()=>s(g))}}static _normalizeKey(r){return"esc"===r?"escape":r}static \u0275fac=function(s){return new(s||i)(u.KVO(Q))};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac})}return i})();function t_(i){return{appProviders:[...Sh,...i?.providers??[]],platformProviders:sC}}const sC=[{provide:u.Agw,useValue:qe},{provide:u.PLl,useValue:function rC(){Pe.makeCurrent()},multi:!0},{provide:Q,useFactory:function iC(){return(0,u.TL$)(document),document},deps:[]}],Sh=[{provide:u.H8p,useValue:"root"},{provide:u.zcH,useFactory:function oC(){return new u.zcH},deps:[]},{provide:Qe,useClass:xu,multi:!0,deps:[Q,u.SKi,u.Agw]},{provide:Qe,useClass:tC,multi:!0,deps:[Q]},pt,oo,no,{provide:u._9s,useExisting:pt},{provide:class ur{},useClass:xi,deps:[]},[]];let _l=(()=>{class i{static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:function(s){let d=null;return d=s?new(s||i):u.KVO(Ae),d},providedIn:"root"})}return i})(),Ae=(()=>{class i extends _l{_doc;constructor(r){super(),this._doc=r}sanitize(r,s){if(null==s)return null;switch(r){case u.WPN.NONE:return s;case u.WPN.HTML:return(0,u.ZF7)(s,"HTML")?(0,u.rcV)(s):(0,u.h9k)(this._doc,String(s)).toString();case u.WPN.STYLE:return(0,u.ZF7)(s,"Style")?(0,u.rcV)(s):s;case u.WPN.SCRIPT:if((0,u.ZF7)(s,"Script"))return(0,u.rcV)(s);throw new u.wOt(5200,!1);case u.WPN.URL:return(0,u.ZF7)(s,"URL")?(0,u.rcV)(s):(0,u.$MX)(String(s));case u.WPN.RESOURCE_URL:if((0,u.ZF7)(s,"ResourceURL"))return(0,u.rcV)(s);throw new u.wOt(5201,!1);default:throw new u.wOt(5202,!1)}}bypassSecurityTrustHtml(r){return(0,u.Kcf)(r)}bypassSecurityTrustStyle(r){return(0,u.cWb)(r)}bypassSecurityTrustScript(r){return(0,u.UyX)(r)}bypassSecurityTrustUrl(r){return(0,u.osQ)(r)}bypassSecurityTrustResourceUrl(r){return(0,u.e5t)(r)}static \u0275fac=function(s){return new(s||i)(u.KVO(Q))};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Oh=(()=>{class i{doc;delegate;zone;animationType;moduleImpl;_rendererFactoryPromise=null;scheduler=(0,u.WQX)(u.An2,{optional:!0});loadingSchedulerFn=(0,u.WQX)(Rh,{optional:!0});_engine;constructor(r,s,d,g,_){this.doc=r,this.delegate=s,this.zone=d,this.animationType=g,this.moduleImpl=_}ngOnDestroy(){this._engine?.flush()}loadImpl(){const r=()=>this.moduleImpl??x.e(8).then(x.bind(x,8)).then(d=>d);let s;return s=this.loadingSchedulerFn?this.loadingSchedulerFn(r):r(),s.catch(d=>{throw new u.wOt(5300,!1)}).then(({\u0275createEngine:d,\u0275AnimationRendererFactory:g})=>{this._engine=d(this.animationType,this.doc);const _=new g(this.delegate,this._engine,this.zone);return this.delegate=_,_})}createRenderer(r,s){const d=this.delegate.createRenderer(r,s);if(0===d.\u0275type)return d;"boolean"==typeof d.throwOnSyntheticProps&&(d.throwOnSyntheticProps=!1);const g=new Fu(d);return s?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(_=>{const D=_.createRenderer(r,s);g.use(D),this.scheduler?.notify(11)}).catch(_=>{g.use(d)}),g}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}static \u0275fac=function(s){u.QTQ()};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac})}return i})();class Fu{delegate;replay=[];\u0275type=1;constructor(l){this.delegate=l}use(l){if(this.delegate=l,null!==this.replay){for(const r of this.replay)r(l);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(l,r){return this.delegate.createElement(l,r)}createComment(l){return this.delegate.createComment(l)}createText(l){return this.delegate.createText(l)}get destroyNode(){return this.delegate.destroyNode}appendChild(l,r){this.delegate.appendChild(l,r)}insertBefore(l,r,s,d){this.delegate.insertBefore(l,r,s,d)}removeChild(l,r,s){this.delegate.removeChild(l,r,s)}selectRootElement(l,r){return this.delegate.selectRootElement(l,r)}parentNode(l){return this.delegate.parentNode(l)}nextSibling(l){return this.delegate.nextSibling(l)}setAttribute(l,r,s,d){this.delegate.setAttribute(l,r,s,d)}removeAttribute(l,r,s){this.delegate.removeAttribute(l,r,s)}addClass(l,r){this.delegate.addClass(l,r)}removeClass(l,r){this.delegate.removeClass(l,r)}setStyle(l,r,s,d){this.delegate.setStyle(l,r,s,d)}removeStyle(l,r,s){this.delegate.removeStyle(l,r,s)}setProperty(l,r,s){this.shouldReplay(r)&&this.replay.push(d=>d.setProperty(l,r,s)),this.delegate.setProperty(l,r,s)}setValue(l,r){this.delegate.setValue(l,r)}listen(l,r,s){return this.shouldReplay(r)&&this.replay.push(d=>d.listen(l,r,s)),this.delegate.listen(l,r,s)}shouldReplay(l){return null!==this.replay&&l.startsWith("@")}}const Rh=new u.nKC(""),ku={providers:[(0,u.Jn2)({eventCoalescing:!0}),function yl(i="animations"){return(0,u.ngT)("NgAsyncAnimations"),(0,u.EmA)([{provide:u._9s,useFactory:(l,r,s)=>new Oh(l,r,s,i),deps:[Q,pt,u.SKi]},{provide:u.bc$,useValue:"noop"===i?"NoopAnimations":"BrowserAnimations"}])}()]};function ne(i){return this instanceof ne?(this.v=i,this):new ne(i)}function Ee(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,l=i[Symbol.asyncIterator];return l?l.call(i):(i=function Pu(i){var l="function"==typeof Symbol&&Symbol.iterator,r=l&&i[l],s=0;if(r)return r.call(i);if(i&&"number"==typeof i.length)return{next:function(){return i&&s>=i.length&&(i=void 0),{value:i&&i[s++],done:!i}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")}(i),r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r);function s(g){r[g]=i[g]&&function(_){return new Promise(function(D,E){!function d(g,_,D,E){Promise.resolve(E).then(function(T){g({value:T,done:D})},_)}(D,E,(_=i[g](_)).done,_.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Cl=i=>i&&"number"==typeof i.length&&"function"!=typeof i;var je=x(71);function gr(i){return(0,je.T)(i?.then)}var vt=x(226),ju=x(494);function Gh(i){return(0,je.T)(i[ju.s])}function zh(i){return Symbol.asyncIterator&&(0,je.T)(i?.[Symbol.asyncIterator])}function wl(i){return new TypeError(`You provided ${null!==i&&"object"==typeof i?"an invalid object":`'${i}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const El=function Hu(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function $s(i){return(0,je.T)(i?.[El])}function Wh(i){return function Lu(i,l,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var d,s=r.apply(i,l||[]),g=[];return d=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),D("next"),D("throw"),D("return",function _(W){return function(_e){return Promise.resolve(_e).then(W,j)}}),d[Symbol.asyncIterator]=function(){return this},d;function D(W,_e){s[W]&&(d[W]=function(De){return new Promise(function(Le,Ve){g.push([W,De,Le,Ve])>1||E(W,De)})},_e&&(d[W]=_e(d[W])))}function E(W,_e){try{!function T(W){W.value instanceof ne?Promise.resolve(W.value.v).then(O,j):re(g[0][2],W)}(s[W](_e))}catch(De){re(g[0][3],De)}}function O(W){E("next",W)}function j(W){E("throw",W)}function re(W,_e){W(_e),g.shift(),g.length&&E(g[0][0],g[0][1])}}(this,arguments,function*(){const r=i.getReader();try{for(;;){const{value:s,done:d}=yield ne(r.read());if(d)return yield ne(void 0);yield yield ne(s)}}finally{r.releaseLock()}})}function Uu(i){return(0,je.T)(i?.getReader)}var $u=x(334);function un(i){if(i instanceof vt.c)return i;if(null!=i){if(Gh(i))return function qh(i){return new vt.c(l=>{const r=i[ju.s]();if((0,je.T)(r.subscribe))return r.subscribe(l);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(i);if(Cl(i))return function Kh(i){return new vt.c(l=>{for(let r=0;r{i.then(r=>{l.closed||(l.next(r),l.complete())},r=>l.error(r)).then(null,$u.m)})}(i);if(zh(i))return Qh(i);if($s(i))return function Gu(i){return new vt.c(l=>{for(const r of i)if(l.next(r),l.closed)return;l.complete()})}(i);if(Uu(i))return function Ot(i){return Qh(Wh(i))}(i)}throw wl(i)}function Qh(i){return new vt.c(l=>{(function Vo(i,l){var r,s,d,g;return function Ph(i,l,r,s){return new(r||(r=Promise))(function(g,_){function D(O){try{T(s.next(O))}catch(j){_(j)}}function E(O){try{T(s.throw(O))}catch(j){_(j)}}function T(O){O.done?g(O.value):function d(g){return g instanceof r?g:new r(function(_){_(g)})}(O.value).then(D,E)}T((s=s.apply(i,l||[])).next())})}(this,void 0,void 0,function*(){try{for(r=Ee(i);!(s=yield r.next()).done;)if(l.next(s.value),l.closed)return}catch(_){d={error:_}}finally{try{s&&!s.done&&(g=r.return)&&(yield g.call(r))}finally{if(d)throw d.error}}l.complete()})})(i,l).catch(r=>l.error(r))})}function Me(i,l,r,s=0,d=!1){const g=l.schedule(function(){r(),d?i.add(this.schedule(null,s)):this.unsubscribe()},s);if(i.add(g),!d)return g}var bn=x(974),dn=x(360);function Xh(i,l=0){return(0,bn.N)((r,s)=>{r.subscribe((0,dn._)(s,d=>Me(s,i,()=>s.next(d),l),()=>Me(s,i,()=>s.complete(),l),d=>Me(s,i,()=>s.error(d),l)))})}function Yh(i,l=0){return(0,bn.N)((r,s)=>{s.add(i.schedule(()=>r.subscribe(s),l))})}function tp(i,l){if(!i)throw new Error("Iterable cannot be null");return new vt.c(r=>{Me(r,l,()=>{const s=i[Symbol.asyncIterator]();Me(r,l,()=>{s.next().then(d=>{d.done?r.complete():r.next(d.value)})},0,!0)})})}function Dn(i,l){return l?function Ml(i,l){if(null!=i){if(Gh(i))return function Jh(i,l){return un(i).pipe(Yh(l),Xh(l))}(i,l);if(Cl(i))return function Gs(i,l){return new vt.c(r=>{let s=0;return l.schedule(function(){s===i.length?r.complete():(r.next(i[s++]),r.closed||this.schedule())})})}(i,l);if(gr(i))return function ep(i,l){return un(i).pipe(Yh(l),Xh(l))}(i,l);if(zh(i))return tp(i,l);if($s(i))return function mr(i,l){return new vt.c(r=>{let s;return Me(r,l,()=>{s=i[El](),Me(r,l,()=>{let d,g;try{({value:d,done:g}=s.next())}catch(_){return void r.error(_)}g?r.complete():r.next(d)},0,!0)}),()=>(0,je.T)(s?.return)&&s.return()})}(i,l);if(Uu(i))return function Il(i,l){return tp(Wh(i),l)}(i,l)}throw wl(i)}(i,l):un(i)}const{isArray:zu}=Array,{getPrototypeOf:np,prototype:rp,keys:h_}=Object;function Bo(i){if(1===i.length){const l=i[0];if(zu(l))return{args:l,keys:null};if(function zs(i){return i&&"object"==typeof i&&np(i)===rp}(l)){const r=h_(l);return{args:r.map(s=>l[s]),keys:r}}}return{args:i,keys:null}}function op(i){return i&&(0,je.T)(i.schedule)}function Ws(i){return i[i.length-1]}function Tl(i){return(0,je.T)(Ws(i))?i.pop():void 0}function qs(i){return op(Ws(i))?i.pop():void 0}var Cn=x(354);const{isArray:yC}=Array;function Ks(i){return(0,Cn.T)(l=>function vC(i,l){return yC(l)?i(...l):i(l)}(i,l))}function Wu(i,l){return i.reduce((r,s,d)=>(r[s]=l[d],r),{})}var We=x(413);let qu=(()=>{class i{_renderer;_elementRef;onChange=r=>{};onTouched=()=>{};constructor(r,s){this._renderer=r,this._elementRef=s}setProperty(r,s){this._renderer.setProperty(this._elementRef.nativeElement,r,s)}registerOnTouched(r){this.onTouched=r}registerOnChange(r){this.onChange=r}setDisabledState(r){this.setProperty("disabled",r)}static \u0275fac=function(s){return new(s||i)(u.rXU(u.sFG),u.rXU(u.aKT))};static \u0275dir=u.FsC({type:i})}return i})(),kr=(()=>{class i extends qu{static \u0275fac=(()=>{let r;return function(d){return(r||(r=u.xGo(i)))(d||i)}})();static \u0275dir=u.FsC({type:i,features:[u.Vt3]})}return i})();const Rt=new u.nKC(""),g_={provide:Rt,useExisting:(0,u.Rfq)(()=>Qs),multi:!0},m_=new u.nKC("");let Qs=(()=>{class i extends qu{_compositionMode;_composing=!1;constructor(r,s,d){super(r,s),this._compositionMode=d,null==this._compositionMode&&(this._compositionMode=!function Zs(){const i=se()?se().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}())}writeValue(r){this.setProperty("value",r??"")}_handleInput(r){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(r)}_compositionStart(){this._composing=!0}_compositionEnd(r){this._composing=!1,this._compositionMode&&this.onChange(r)}static \u0275fac=function(s){return new(s||i)(u.rXU(u.sFG),u.rXU(u.aKT),u.rXU(m_,8))};static \u0275dir=u.FsC({type:i,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(s,d){1&s&&u.bIt("input",function(_){return d._handleInput(_.target.value)})("blur",function(){return d.onTouched()})("compositionstart",function(){return d._compositionStart()})("compositionend",function(_){return d._compositionEnd(_.target.value)})},standalone:!1,features:[u.Jv_([g_]),u.Vt3]})}return i})();const Pt=new u.nKC(""),Or=new u.nKC("");function Xu(i){return null!=i}function Yu(i){return(0,u.jNT)(i)?Dn(i):i}function lp(i){let l={};return i.forEach(r=>{l=null!=r?{...l,...r}:l}),0===Object.keys(l).length?null:l}function ea(i,l){return l.map(r=>r(i))}function cp(i){return i.map(l=>function jo(i){return!i.validate}(l)?l:r=>l.validate(r))}function Al(i){return null!=i?function Ju(i){if(!i)return null;const l=i.filter(Xu);return 0==l.length?null:function(r){return lp(ea(r,l))}}(cp(i)):null}function ao(i){return null!=i?function Ho(i){if(!i)return null;const l=i.filter(Xu);return 0==l.length?null:function(r){return function ip(...i){const l=Tl(i),{args:r,keys:s}=Bo(i),d=new vt.c(g=>{const{length:_}=r;if(!_)return void g.complete();const D=new Array(_);let E=_,T=_;for(let O=0;O<_;O++){let j=!1;un(r[O]).subscribe((0,dn._)(g,re=>{j||(j=!0,T--),D[O]=re},()=>E--,void 0,()=>{(!E||!j)&&(T||g.next(s?Wu(s,D):D),g.complete())}))}});return l?d.pipe(Ks(l)):d}(ea(r,l).map(Yu)).pipe((0,Cn.T)(lp))}}(cp(i)):null}function bt(i,l){return null===i?[l]:Array.isArray(i)?[...i,l]:[i,l]}function up(i){return i._rawValidators}function ed(i){return i._rawAsyncValidators}function ta(i){return i?Array.isArray(i)?i:[i]:[]}function Nl(i,l){return Array.isArray(i)?i.includes(l):i===l}function td(i,l){const r=ta(l);return ta(i).forEach(d=>{Nl(r,d)||r.push(d)}),r}function na(i,l){return ta(l).filter(r=>!Nl(i,r))}class dp{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}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(l){this._rawValidators=l||[],this._composedValidatorFn=Al(this._rawValidators)}_setAsyncValidators(l){this._rawAsyncValidators=l||[],this._composedAsyncValidatorFn=ao(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(l){this._onDestroyCallbacks.push(l)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(l=>l()),this._onDestroyCallbacks=[]}reset(l=void 0){this.control&&this.control.reset(l)}hasError(l,r){return!!this.control&&this.control.hasError(l,r)}getError(l,r){return this.control?this.control.getError(l,r):null}}class $t extends dp{name;get formDirective(){return null}get path(){return null}}class _r extends dp{_parent=null;name=null;valueAccessor=null}class ra{_cd;constructor(l){this._cd=l}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let Uo=(()=>{class i extends ra{constructor(r){super(r)}static \u0275fac=function(s){return new(s||i)(u.rXU(_r,2))};static \u0275dir=u.FsC({type:i,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(s,d){2&s&&u.AVh("ng-untouched",d.isUntouched)("ng-touched",d.isTouched)("ng-pristine",d.isPristine)("ng-dirty",d.isDirty)("ng-valid",d.isValid)("ng-invalid",d.isInvalid)("ng-pending",d.isPending)},standalone:!1,features:[u.Vt3]})}return i})();const Rl="VALID",oa="INVALID",co="PENDING",Yn="DISABLED";class ki{}class pp extends ki{value;source;constructor(l,r){super(),this.value=l,this.source=r}}class Jn extends ki{pristine;source;constructor(l,r){super(),this.pristine=l,this.source=r}}class $o extends ki{touched;source;constructor(l,r){super(),this.touched=l,this.source=r}}class ia extends ki{status;source;constructor(l,r){super(),this.status=l,this.source=r}}function Ll(i){return null!=i&&!Array.isArray(i)&&"object"==typeof i}class id{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(l,r){this._assignValidators(l),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(l){this._rawValidators=this._composedValidatorFn=l}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(l){this._rawAsyncValidators=this._composedAsyncValidatorFn=l}get parent(){return this._parent}get status(){return(0,u.O8t)(this.statusReactive)}set status(l){(0,u.O8t)(()=>this.statusReactive.set(l))}_status=(0,u.EWP)(()=>this.statusReactive());statusReactive=(0,u.vPA)(void 0);get valid(){return this.status===Rl}get invalid(){return this.status===oa}get pending(){return this.status==co}get disabled(){return this.status===Yn}get enabled(){return this.status!==Yn}errors;get pristine(){return(0,u.O8t)(this.pristineReactive)}set pristine(l){(0,u.O8t)(()=>this.pristineReactive.set(l))}_pristine=(0,u.EWP)(()=>this.pristineReactive());pristineReactive=(0,u.vPA)(!0);get dirty(){return!this.pristine}get touched(){return(0,u.O8t)(this.touchedReactive)}set touched(l){(0,u.O8t)(()=>this.touchedReactive.set(l))}_touched=(0,u.EWP)(()=>this.touchedReactive());touchedReactive=(0,u.vPA)(!1);get untouched(){return!this.touched}_events=new We.B;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(l){this._assignValidators(l)}setAsyncValidators(l){this._assignAsyncValidators(l)}addValidators(l){this.setValidators(td(l,this._rawValidators))}addAsyncValidators(l){this.setAsyncValidators(td(l,this._rawAsyncValidators))}removeValidators(l){this.setValidators(na(l,this._rawValidators))}removeAsyncValidators(l){this.setAsyncValidators(na(l,this._rawAsyncValidators))}hasValidator(l){return Nl(this._rawValidators,l)}hasAsyncValidator(l){return Nl(this._rawAsyncValidators,l)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(l={}){const r=!1===this.touched;this.touched=!0;const s=l.sourceControl??this;this._parent&&!l.onlySelf&&this._parent.markAsTouched({...l,sourceControl:s}),r&&!1!==l.emitEvent&&this._events.next(new $o(!0,s))}markAllAsTouched(l={}){this.markAsTouched({onlySelf:!0,emitEvent:l.emitEvent,sourceControl:this}),this._forEachChild(r=>r.markAllAsTouched(l))}markAsUntouched(l={}){const r=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const s=l.sourceControl??this;this._forEachChild(d=>{d.markAsUntouched({onlySelf:!0,emitEvent:l.emitEvent,sourceControl:s})}),this._parent&&!l.onlySelf&&this._parent._updateTouched(l,s),r&&!1!==l.emitEvent&&this._events.next(new $o(!1,s))}markAsDirty(l={}){const r=!0===this.pristine;this.pristine=!1;const s=l.sourceControl??this;this._parent&&!l.onlySelf&&this._parent.markAsDirty({...l,sourceControl:s}),r&&!1!==l.emitEvent&&this._events.next(new Jn(!1,s))}markAsPristine(l={}){const r=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const s=l.sourceControl??this;this._forEachChild(d=>{d.markAsPristine({onlySelf:!0,emitEvent:l.emitEvent})}),this._parent&&!l.onlySelf&&this._parent._updatePristine(l,s),r&&!1!==l.emitEvent&&this._events.next(new Jn(!0,s))}markAsPending(l={}){this.status=co;const r=l.sourceControl??this;!1!==l.emitEvent&&(this._events.next(new ia(this.status,r)),this.statusChanges.emit(this.status)),this._parent&&!l.onlySelf&&this._parent.markAsPending({...l,sourceControl:r})}disable(l={}){const r=this._parentMarkedDirty(l.onlySelf);this.status=Yn,this.errors=null,this._forEachChild(d=>{d.disable({...l,onlySelf:!0})}),this._updateValue();const s=l.sourceControl??this;!1!==l.emitEvent&&(this._events.next(new pp(this.value,s)),this._events.next(new ia(this.status,s)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...l,skipPristineCheck:r},this),this._onDisabledChange.forEach(d=>d(!0))}enable(l={}){const r=this._parentMarkedDirty(l.onlySelf);this.status=Rl,this._forEachChild(s=>{s.enable({...l,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:l.emitEvent}),this._updateAncestors({...l,skipPristineCheck:r},this),this._onDisabledChange.forEach(s=>s(!1))}_updateAncestors(l,r){this._parent&&!l.onlySelf&&(this._parent.updateValueAndValidity(l),l.skipPristineCheck||this._parent._updatePristine({},r),this._parent._updateTouched({},r))}setParent(l){this._parent=l}getRawValue(){return this.value}updateValueAndValidity(l={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const s=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Rl||this.status===co)&&this._runAsyncValidator(s,l.emitEvent)}const r=l.sourceControl??this;!1!==l.emitEvent&&(this._events.next(new pp(this.value,r)),this._events.next(new ia(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!l.onlySelf&&this._parent.updateValueAndValidity({...l,sourceControl:r})}_updateTreeValidity(l={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(l)),this.updateValueAndValidity({onlySelf:!0,emitEvent:l.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Yn:Rl}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(l,r){if(this.asyncValidator){this.status=co,this._hasOwnPendingAsyncValidator={emitEvent:!1!==r};const s=Yu(this.asyncValidator(this));this._asyncValidationSubscription=s.subscribe(d=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(d,{emitEvent:r,shouldHaveEmitted:l})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const l=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,l}return!1}setErrors(l,r={}){this.errors=l,this._updateControlsErrors(!1!==r.emitEvent,this,r.shouldHaveEmitted)}get(l){let r=l;return null==r||(Array.isArray(r)||(r=r.split(".")),0===r.length)?null:r.reduce((s,d)=>s&&s._find(d),this)}getError(l,r){const s=r?this.get(r):this;return s&&s.errors?s.errors[l]:null}hasError(l,r){return!!this.getError(l,r)}get root(){let l=this;for(;l._parent;)l=l._parent;return l}_updateControlsErrors(l,r,s){this.status=this._calculateStatus(),l&&this.statusChanges.emit(this.status),(l||s)&&this._events.next(new ia(this.status,r)),this._parent&&this._parent._updateControlsErrors(l,r,s)}_initObservables(){this.valueChanges=new u.bkB,this.statusChanges=new u.bkB}_calculateStatus(){return this._allControlsDisabled()?Yn:this.errors?oa:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(co)?co:this._anyControlsHaveStatus(oa)?oa:Rl}_anyControlsHaveStatus(l){return this._anyControls(r=>r.status===l)}_anyControlsDirty(){return this._anyControls(l=>l.dirty)}_anyControlsTouched(){return this._anyControls(l=>l.touched)}_updatePristine(l,r){const s=!this._anyControlsDirty(),d=this.pristine!==s;this.pristine=s,this._parent&&!l.onlySelf&&this._parent._updatePristine(l,r),d&&this._events.next(new Jn(this.pristine,r))}_updateTouched(l={},r){this.touched=this._anyControlsTouched(),this._events.next(new $o(this.touched,r)),this._parent&&!l.onlySelf&&this._parent._updateTouched(l,r)}_onDisabledChange=[];_registerOnCollectionChange(l){this._onCollectionChange=l}_setUpdateStrategy(l){Ll(l)&&null!=l.updateOn&&(this._updateOn=l.updateOn)}_parentMarkedDirty(l){return!l&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(l){return null}_assignValidators(l){this._rawValidators=Array.isArray(l)?l.slice():l,this._composedValidatorFn=function Pl(i){return Array.isArray(i)?Al(i):i||null}(this._rawValidators)}_assignAsyncValidators(l){this._rawAsyncValidators=Array.isArray(l)?l.slice():l,this._composedAsyncValidatorFn=function tt(i){return Array.isArray(i)?ao(i):i||null}(this._rawAsyncValidators)}}const uo=new u.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>la}),la="always";function ca(i,l,r=la){(function yp(i,l){const r=up(i);null!==l.validator?i.setValidators(bt(r,l.validator)):"function"==typeof r&&i.setValidators([r]);const s=ed(i);null!==l.asyncValidator?i.setAsyncValidators(bt(s,l.asyncValidator)):"function"==typeof s&&i.setAsyncValidators([s]);const d=()=>i.updateValueAndValidity();sd(l._rawValidators,d),sd(l._rawAsyncValidators,d)})(i,l),l.valueAccessor.writeValue(i.value),(i.disabled||"always"===r)&&l.valueAccessor.setDisabledState?.(i.disabled),function MC(i,l){l.valueAccessor.registerOnChange(r=>{i._pendingValue=r,i._pendingChange=!0,i._pendingDirty=!0,"change"===i.updateOn&&Go(i,l)})}(i,l),function da(i,l){const r=(s,d)=>{l.valueAccessor.writeValue(s),d&&l.viewToModelUpdate(s)};i.registerOnChange(r),l._registerOnDestroy(()=>{i._unregisterOnChange(r)})}(i,l),function T_(i,l){l.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,"blur"===i.updateOn&&i._pendingChange&&Go(i,l),"submit"!==i.updateOn&&i.markAsTouched()})}(i,l),function IC(i,l){if(l.valueAccessor.setDisabledState){const r=s=>{l.valueAccessor.setDisabledState(s)};i.registerOnDisabledChange(r),l._registerOnDestroy(()=>{i._unregisterOnDisabledChange(r)})}}(i,l)}function ua(i,l,r=!0){const s=()=>{};l.valueAccessor&&(l.valueAccessor.registerOnChange(s),l.valueAccessor.registerOnTouched(s)),function ad(i,l){let r=!1;if(null!==i){if(null!==l.validator){const d=up(i);if(Array.isArray(d)&&d.length>0){const g=d.filter(_=>_!==l.validator);g.length!==d.length&&(r=!0,i.setValidators(g))}}if(null!==l.asyncValidator){const d=ed(i);if(Array.isArray(d)&&d.length>0){const g=d.filter(_=>_!==l.asyncValidator);g.length!==d.length&&(r=!0,i.setAsyncValidators(g))}}}const s=()=>{};return sd(l._rawValidators,s),sd(l._rawAsyncValidators,s),r}(i,l),i&&(l._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function sd(i,l){i.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(l)})}function Go(i,l){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),l.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function zo(i,l){if(!i.hasOwnProperty("model"))return!1;const r=i.model;return!!r.isFirstChange()||!Object.is(l,r.currentValue)}function Oi(i,l){if(!l)return null;let r,s,d;return Array.isArray(l),l.forEach(g=>{g.constructor===Qs?r=g:function ha(i){return Object.getPrototypeOf(i.constructor)===kr}(g)?s=g:d=g}),d||s||r||null}function Hl(i,l){const r=i.indexOf(l);r>-1&&i.splice(r,1)}function bp(i){return"object"==typeof i&&null!==i&&2===Object.keys(i).length&&"value"in i&&"disabled"in i}Promise.resolve();const dd=class extends id{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(l=null,r,s){super(function sa(i){return(Ll(i)?i.validators:i)||null}(r),function od(i,l){return(Ll(l)?l.asyncValidators:i)||null}(s,r)),this._applyFormState(l),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ll(r)&&(r.nonNullable||r.initialValueIsDefault)&&(this.defaultValue=bp(l)?l.value:l)}setValue(l,r={}){this.value=this._pendingValue=l,this._onChange.length&&!1!==r.emitModelToViewChange&&this._onChange.forEach(s=>s(this.value,!1!==r.emitViewToModelChange)),this.updateValueAndValidity(r)}patchValue(l,r={}){this.setValue(l,r)}reset(l=this.defaultValue,r={}){this._applyFormState(l),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(l){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(l){this._onChange.push(l)}_unregisterOnChange(l){Hl(this._onChange,l)}registerOnDisabledChange(l){this._onDisabledChange.push(l)}_unregisterOnDisabledChange(l){Hl(this._onDisabledChange,l)}_forEachChild(l){}_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(l){bp(l)?(this.value=this._pendingValue=l.value,l.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=l}},Gt=dd,Dp={provide:_r,useExisting:(0,u.Rfq)(()=>Wo)},Cp=Promise.resolve();let Wo=(()=>{class i extends _r{_changeDetectorRef;callSetDisabledState;control=new dd;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new u.bkB;constructor(r,s,d,g,_,D){super(),this._changeDetectorRef=_,this.callSetDisabledState=D,this._parent=r,this._setValidators(s),this._setAsyncValidators(d),this.valueAccessor=Oi(0,g)}ngOnChanges(r){if(this._checkForErrors(),!this._registered||"name"in r){if(this._registered&&(this._checkName(),this.formDirective)){const s=r.name.previousValue;this.formDirective.removeControl({name:s,path:this._getPath(s)})}this._setUpControl()}"isDisabled"in r&&this._updateDisabled(r),zo(r,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(r){this.viewModel=r,this.update.emit(r)}_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(){ca(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(r){Cp.then(()=>{this.control.setValue(r,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(r){const s=r.isDisabled.currentValue,d=0!==s&&(0,u.L39)(s);Cp.then(()=>{d&&!this.control.disabled?this.control.disable():!d&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(r){return this._parent?function Pn(i,l){return[...l.path,i]}(r,this._parent):[r]}static \u0275fac=function(s){return new(s||i)(u.rXU($t,9),u.rXU(Pt,10),u.rXU(Or,10),u.rXU(Rt,10),u.rXU(u.gRc,8),u.rXU(uo,8))};static \u0275dir=u.FsC({type:i,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[u.Jv_([Dp]),u.Vt3,u.OA$]})}return i})();const $l=new u.nKC(""),Tp={provide:_r,useExisting:(0,u.Rfq)(()=>qo)};let qo=(()=>{class i extends _r{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(r){}model;update=new u.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(r,s,d,g,_){super(),this._ngModelWarningConfig=g,this.callSetDisabledState=_,this._setValidators(r),this._setAsyncValidators(s),this.valueAccessor=Oi(0,d)}ngOnChanges(r){if(this._isControlChanged(r)){const s=r.form.previousValue;s&&ua(s,this,!1),ca(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}zo(r,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&ua(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(r){this.viewModel=r,this.update.emit(r)}_isControlChanged(r){return r.hasOwnProperty("form")}static \u0275fac=function(s){return new(s||i)(u.rXU(Pt,10),u.rXU(Or,10),u.rXU(Rt,10),u.rXU($l,8),u.rXU(uo,8))};static \u0275dir=u.FsC({type:i,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[u.Jv_([Tp]),u.Vt3,u.OA$]})}return i})(),Pi=(()=>{class i{static \u0275fac=function(s){return new(s||i)};static \u0275mod=u.$C({type:i});static \u0275inj=u.G2t({})}return i})(),va=(()=>{class i{static withConfig(r){return{ngModule:i,providers:[{provide:uo,useValue:r.callSetDisabledState??la}]}}static \u0275fac=function(s){return new(s||i)};static \u0275mod=u.$C({type:i});static \u0275inj=u.G2t({imports:[Pi]})}return i})(),Td=(()=>{class i{static withConfig(r){return{ngModule:i,providers:[{provide:$l,useValue:r.warnOnNgModelWithFormControl??"always"},{provide:uo,useValue:r.callSetDisabledState??la}]}}static \u0275fac=function(s){return new(s||i)};static \u0275mod=u.$C({type:i});static \u0275inj=u.G2t({imports:[Pi]})}return i})();var fo=x(412),Li=x(669);function Vi(...i){const l=qs(i),r=Tl(i),{args:s,keys:d}=Bo(i);if(0===s.length)return Dn([],l);const g=new vt.c(function xd(i,l,r=Li.D){return s=>{Sd(l,()=>{const{length:d}=i,g=new Array(d);let _=d,D=d;for(let E=0;E{const T=Dn(i[E],l);let O=!1;T.subscribe((0,dn._)(s,j=>{g[E]=j,O||(O=!0,D--),D||s.next(r(g.slice()))},()=>{--_||s.complete()}))},s)},s)}}(s,l,d?_=>Wu(d,_):Li.D));return r?g.pipe(Ks(r)):g}function Sd(i,l,r){i?Me(r,i,l):l()}function Bi(i,l,r=1/0){return(0,je.T)(l)?Bi((s,d)=>(0,Cn.T)((g,_)=>l(s,g,d,_))(un(i(s,d))),r):("number"==typeof l&&(r=l),(0,bn.N)((s,d)=>function Mt(i,l,r,s,d,g,_,D){const E=[];let T=0,O=0,j=!1;const re=()=>{j&&!E.length&&!T&&l.complete()},W=De=>T{g&&l.next(De),T++;let Le=!1;un(r(De,O++)).subscribe((0,dn._)(l,Ve=>{d?.(Ve),g?W(Ve):l.next(Ve)},()=>{Le=!0},void 0,()=>{if(Le)try{for(T--;E.length&&T_e(Ve)):_e(Ve)}re()}catch(Ve){l.error(Ve)}}))};return i.subscribe((0,dn._)(l,W,()=>{j=!0,re()})),()=>{D?.()}}(s,d,i,r)))}function Xo(i=1/0){return Bi(Li.D,i)}var ji=x(983);function ba(...i){const l=qs(i),r=function p_(i,l){return"number"==typeof Ws(i)?i.pop():l}(i,1/0),s=i;return s.length?1===s.length?un(s[0]):Xo(r)(Dn(s,l)):ji.w}function Vr(...i){return Dn(i,qs(i))}var Lp=x(343);function Vn(i){return(0,bn.N)((l,r)=>{un(i).subscribe((0,dn._)(r,()=>r.complete(),Lp.l)),!r.closed&&l.subscribe(r)})}function Hi(i,l=Li.D){return i=i??G_,(0,bn.N)((r,s)=>{let d,g=!0;r.subscribe((0,dn._)(s,_=>{const D=l(_);(g||!i(d,D))&&(g=!1,d=D,s.next(_))}))})}function G_(i,l){return i===l}var Ad=x(707);function z_(i={}){const{connector:l=()=>new We.B,resetOnError:r=!0,resetOnComplete:s=!0,resetOnRefCountZero:d=!0}=i;return g=>{let _,D,E,T=0,O=!1,j=!1;const re=()=>{D?.unsubscribe(),D=void 0},W=()=>{re(),_=E=void 0,O=j=!1},_e=()=>{const De=_;W(),De?.unsubscribe()};return(0,bn.N)((De,Le)=>{T++,!j&&!O&&re();const Ve=E=E??l();Le.add(()=>{T--,0===T&&!j&&!O&&(D=st(_e,d))}),Ve.subscribe(Le),!_&&T>0&&(_=new Ad.Ms({next:Ft=>Ve.next(Ft),error:Ft=>{j=!0,re(),D=st(W,r,Ft),Ve.error(Ft)},complete:()=>{O=!0,re(),D=st(W,s),Ve.complete()}}),un(De).subscribe(_))})(g)}}function st(i,l,...r){if(!0===l)return void i();if(!1===l)return;const s=new Ad.Ms({next:()=>{s.unsubscribe(),i()}});return un(l(...r)).subscribe(s)}const nt=(i,l)=>(i.push(l),i);function Ui(){return(0,bn.N)((i,l)=>{(function W_(i,l){return(0,bn.N)(function Vp(i,l,r,s,d){return(g,_)=>{let D=r,E=l,T=0;g.subscribe((0,dn._)(_,O=>{const j=T++;E=D?i(E,O,j):(D=!0,O),s&&_.next(E)},d&&(()=>{D&&_.next(E),_.complete()})))}}(i,l,arguments.length>=2,!1,!0))})(nt,[])(i).subscribe(l)})}var fn=x(359);class Yo extends fn.yU{constructor(l,r){super()}schedule(l,r=0){return this}}const ho={setInterval(i,l,...r){const{delegate:s}=ho;return s?.setInterval?s.setInterval(i,l,...r):setInterval(i,l,...r)},clearInterval(i){const{delegate:l}=ho;return(l?.clearInterval||clearInterval)(i)},delegate:void 0};var Ql=x(908);class Nd extends Yo{constructor(l,r){super(l,r),this.scheduler=l,this.work=r,this.pending=!1}schedule(l,r=0){var s;if(this.closed)return this;this.state=l;const d=this.id,g=this.scheduler;return null!=d&&(this.id=this.recycleAsyncId(g,d,r)),this.pending=!0,this.delay=r,this.id=null!==(s=this.id)&&void 0!==s?s:this.requestAsyncId(g,this.id,r),this}requestAsyncId(l,r,s=0){return ho.setInterval(l.flush.bind(l,this),s)}recycleAsyncId(l,r,s=0){if(null!=s&&this.delay===s&&!1===this.pending)return r;null!=r&&ho.clearInterval(r)}execute(l,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const s=this._execute(l,r);if(s)return s;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(l,r){let d,s=!1;try{this.work(l)}catch(g){s=!0,d=g||new Error("Scheduled action threw falsy error")}if(s)return this.unsubscribe(),d}unsubscribe(){if(!this.closed){const{id:l,scheduler:r}=this,{actions:s}=r;this.work=this.state=this.scheduler=null,this.pending=!1,(0,Ql.o)(s,this),null!=l&&(this.id=this.recycleAsyncId(r,l,null)),this.delay=null,super.unsubscribe()}}}const Fd={now:()=>(Fd.delegate||Date).now(),delegate:void 0};class po{constructor(l,r=po.now){this.schedulerActionCtor=l,this.now=r}schedule(l,r=0,s){return new this.schedulerActionCtor(this,l).schedule(s,r)}}po.now=Fd.now;class Da extends po{constructor(l,r=po.now){super(l,r),this.actions=[],this._active=!1}flush(l){const{actions:r}=this;if(this._active)return void r.push(l);let s;this._active=!0;do{if(s=l.execute(l.state,l.delay))break}while(l=r.shift());if(this._active=!1,s){for(;l=r.shift();)l.unsubscribe();throw s}}}const er=new Da(Nd),q_=er;function $i(i,l=er){return(0,bn.N)((r,s)=>{let d=null,g=null,_=null;const D=()=>{if(d){d.unsubscribe(),d=null;const T=g;g=null,s.next(T)}};function E(){const T=_+i,O=l.now();if(O{g=T,_=l.now(),d||(d=l.schedule(E,i),s.add(d))},()=>{D(),s.complete()},void 0,()=>{g=d=null}))})}var Bn=x(964);function Ca(i,l,r){const s=(0,je.T)(i)||l||r?{next:i,error:l,complete:r}:i;return s?(0,bn.N)((d,g)=>{var _;null===(_=s.subscribe)||void 0===_||_.call(s);let D=!0;d.subscribe((0,dn._)(g,E=>{var T;null===(T=s.next)||void 0===T||T.call(s,E),g.next(E)},()=>{var E;D=!1,null===(E=s.complete)||void 0===E||E.call(s),g.complete()},E=>{var T;D=!1,null===(T=s.error)||void 0===T||T.call(s,E),g.error(E)},()=>{var E,T;D&&(null===(E=s.unsubscribe)||void 0===E||E.call(s)),null===(T=s.finalize)||void 0===T||T.call(s)}))}):Li.D}var wa=x(667);function kd(i){if("string"!=typeof i)throw new TypeError("Expected a string");return i.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const Ea=["*"],Lt=["main"],K_=["input"],at=["choiceMenu"],Z_=(i,l)=>({"ngx-select_multiple form-control":i,"open show":l}),Q_=i=>({"ngx-select__disabled":i}),Od=i=>({"ngx-select__allow-clear":i}),Bp=(i,l)=>({$implicit:i,index:0,text:l}),jp=(i,l,r)=>({$implicit:i,index:l,text:r}),X_=i=>[i],OC=(i,l)=>({"ngx-select__item_active active":i,"ngx-select__item_disabled disabled":l}),Hp=(i,l,r,s)=>({$implicit:i,text:l,index:r,subIndex:s}),Y_=i=>({$implicit:i});function Xl(i,l){if(1&i&&(u.j41(0,"span",20),u.nrm(1,"span",21),u.k0s()),2&i){const r=u.XpG(2);u.R7$(),u.Y8G("innerHtml",r.placeholder,u.npT)}}function Rd(i,l){if(1&i&&(u.j41(0,"span",22),u.eu8(1,23),u.k0s()),2&i){const r=u.XpG(2),s=u.sdS(8);u.Y8G("ngClass",u.eq3(3,Od,r.allowClear)),u.R7$(),u.Y8G("ngTemplateOutlet",r.templateSelectedOption||s)("ngTemplateOutletContext",u.l_i(5,Bp,r.optionsSelected[0],r.sanitize(r.optionsSelected[0].text)))}}function Pd(i,l){if(1&i){const r=u.RV6();u.j41(0,"a",24),u.bIt("click",function(d){u.eBV(r);const g=u.XpG(2);return u.Njj(g.optionRemove(g.optionsSelected[0],d))}),u.nrm(1,"i",25),u.k0s()}if(2&i){const r=u.XpG(2);u.Y8G("ngClass",r.setBtnSize())}}function Gi(i,l){if(1&i){const r=u.RV6();u.j41(0,"div",12)(1,"div",13),u.bIt("click",function(){u.eBV(r);const d=u.XpG();return u.Njj(d.optionsOpen())}),u.DNE(2,Xl,2,1,"span",14)(3,Rd,2,8,"span",15),u.j41(4,"span",16),u.DNE(5,Pd,2,1,"a",17),u.nrm(6,"i",18)(7,"i",19),u.k0s()()()}if(2&i){const r=u.XpG();u.R7$(),u.Y8G("ngClass",r.setFormControlSize(r.setBtnSize())),u.R7$(),u.Y8G("ngIf",!r.optionsSelected.length),u.R7$(),u.Y8G("ngIf",r.optionsSelected.length),u.R7$(2),u.Y8G("ngIf",r.canClearNotMultiple())}}function Yl(i,l){if(1&i){const r=u.RV6();u.j41(0,"span")(1,"span",28),u.bIt("click",function(d){return u.eBV(r),u.Njj(d.stopPropagation())}),u.eu8(2,23),u.j41(3,"a",29),u.bIt("click",function(d){const g=u.eBV(r).$implicit,_=u.XpG(2);return u.Njj(_.optionRemove(g,d))}),u.nrm(4,"i",25),u.k0s()()()}if(2&i){const r=l.$implicit,s=l.index,d=u.XpG(2),g=u.sdS(8);u.R7$(),u.Y8G("ngClass",d.setBtnSize()),u.R7$(),u.Y8G("ngTemplateOutlet",d.templateSelectedOption||g)("ngTemplateOutletContext",u.sMw(4,jp,r,s,d.sanitize(r.text))),u.R7$(),u.Y8G("ngClass",d.setBtnSize())}}function Jl(i,l){if(1&i){const r=u.RV6();u.j41(0,"div",26),u.bIt("click",function(){u.eBV(r);const d=u.XpG();return u.Njj(d.inputClick(d.inputElRef&&d.inputElRef.value))}),u.DNE(1,Yl,5,8,"span",27),u.k0s()}if(2&i){const r=u.XpG();u.R7$(),u.Y8G("ngForOf",r.optionsSelected)("ngForTrackBy",r.trackByOption)}}function zi(i,l){if(1&i){const r=u.RV6();u.j41(0,"input",30,3),u.bIt("keyup",function(d){u.eBV(r);const g=u.sdS(1),_=u.XpG();return u.Njj(_.inputKeyUp(g.value,d))})("click",function(){u.eBV(r);const d=u.sdS(1),g=u.XpG();return u.Njj(g.inputClick(d.value))}),u.k0s()}if(2&i){const r=u.XpG();u.Y8G("ngClass",r.setFormControlSize())("tabindex",!1===r.multiple?-1:0)("disabled",r.disabled)("placeholder",r.optionsSelected.length?"":r.placeholder)("autocomplete",r.autocomplete)}}function Ld(i,l){1&i&&u.nrm(0,"div",39)}function Vd(i,l){if(1&i&&(u.j41(0,"div",40),u.EFF(1),u.k0s()),2&i){const r=u.XpG().$implicit,s=u.XpG(2);u.R7$(),u.JRh(s.asGroup(r).label)}}function Up(i,l){if(1&i){const r=u.RV6();u.j41(0,"a",41,5),u.bIt("mouseenter",function(){const d=u.eBV(r).$implicit,g=u.XpG(3);return u.Njj(g.onMouseEnter({activeOption:g.asOpt(d),filteredOptionList:g.optionsFiltered,index:g.optionsFiltered.indexOf(d)}))})("click",function(d){const g=u.eBV(r).$implicit,_=u.XpG(3);return u.Njj(_.optionSelect(_.asOpt(g),d))}),u.eu8(2,23),u.k0s()}if(2&i){const r=l.$implicit,s=l.index,d=u.XpG().index,g=u.XpG(2),_=u.sdS(8);u.Y8G("ngClass",u.l_i(3,OC,g.asOpt(r).active,g.asOpt(r).disabled)),u.R7$(2),u.Y8G("ngTemplateOutlet",g.templateOption||_)("ngTemplateOutletContext",u.ziG(6,Hp,r,g.asOpt(r).highlightedText,d,s))}}function $p(i,l){if(1&i&&(u.j41(0,"li",35),u.DNE(1,Ld,1,0,"div",36)(2,Vd,2,1,"div",37)(3,Up,3,11,"a",38),u.k0s()),2&i){const r=l.$implicit,s=l.index,d=u.XpG(2);u.R7$(),u.Y8G("ngIf","optgroup"===r.type&&s>0),u.R7$(),u.Y8G("ngIf","optgroup"===r.type),u.R7$(),u.Y8G("ngForOf",d.asGroup(r).optionsFiltered||u.eq3(4,X_,r))("ngForTrackBy",d.trackByOption)}}function Bd(i,l){if(1&i&&(u.j41(0,"li",42),u.eu8(1,23),u.k0s()),2&i){const r=u.XpG(2),s=u.sdS(10);u.R7$(),u.Y8G("ngTemplateOutlet",r.templateOptionNotFound||s)("ngTemplateOutletContext",u.eq3(2,Y_,r.inputText))}}function J_(i,l){if(1&i){const r=u.RV6();u.j41(0,"ngx-select-choices",31),u.bIt("focusin",function(d){u.eBV(r);const g=u.XpG();return u.Njj(g.choiceMenuFocus(d))}),u.j41(1,"ul",32,4),u.DNE(3,$p,4,6,"li",33)(4,Bd,2,4,"li",34),u.k0s()()}if(2&i){const r=u.XpG();u.Y8G("appendTo",r.appendTo)("show",r.showChoiceMenu())("selectionChanges",r.selectionChanges),u.R7$(),u.AVh("show",r.showChoiceMenu()),u.Y8G("ngClass",r.dropDownMenuOtherClasses),u.R7$(2),u.Y8G("ngForOf",r.optionsFiltered)("ngForTrackBy",r.trackByOption),u.R7$(),u.Y8G("ngIf",!r.optionsFiltered.length)}}function ey(i,l){1&i&&u.nrm(0,"span",21),2&i&&u.Y8G("innerHtml",l.text,u.npT)}function Wi(i,l){if(1&i&&u.EFF(0),2&i){const r=u.XpG();u.SpI(" ",r.noResultsFound," ")}}class yr{value;text;disabled;data;_parent;type="option";highlightedText;active;constructor(l,r,s,d,g=null){this.value=l,this.text=r,this.disabled=s,this.data=d,this._parent=g}get parent(){return this._parent}cacheHighlightText;cacheRenderedText=null;renderText(l,r){return(this.cacheHighlightText!==r||null===this.cacheRenderedText)&&(this.cacheHighlightText=r,this.cacheRenderedText=l.bypassSecurityTrustHtml(this.cacheHighlightText?(this.text+"").replace(new RegExp(kd(this.cacheHighlightText),"gi"),"$&"):this.text)),this.cacheRenderedText}}class Ia{label;options;type="optgroup";optionsFiltered;constructor(l,r=[]){this.label=l,this.options=r,this.filter(()=>!0)}filter(l){this.optionsFiltered=this.options.filter(r=>l(r))}}let jd=(()=>{class i{template;constructor(r){this.template=r}static \u0275fac=function(s){return new(s||i)(u.rXU(u.C4Q))};static \u0275dir=u.FsC({type:i,selectors:[["","ngx-select-option",""]],standalone:!1})}return i})(),Gp=(()=>{class i{template;constructor(r){this.template=r}static \u0275fac=function(s){return new(s||i)(u.rXU(u.C4Q))};static \u0275dir=u.FsC({type:i,selectors:[["","ngx-select-option-selected",""]],standalone:!1})}return i})(),Hd=(()=>{class i{template;constructor(r){this.template=r}static \u0275fac=function(s){return new(s||i)(u.rXU(u.C4Q))};static \u0275dir=u.FsC({type:i,selectors:[["","ngx-select-option-not-found",""]],standalone:!1})}return i})(),RC=(()=>{class i{renderer;ngZone;appendTo;show;selectionChanges;choiceMenuEl;selectEl;destroy$=new We.B;disposeResizeListener;get position(){return this.appendTo?"absolute":""}constructor(r,s,d){this.renderer=r,this.ngZone=s,this.choiceMenuEl=d.nativeElement}ngOnInit(){this.selectionChanges.pipe(Vn(this.destroy$)).subscribe(()=>this.delayedPositionUpdate()),this.selectEl=this.choiceMenuEl.parentElement}ngOnChanges(r){r.show?.currentValue&&this.delayedPositionUpdate()}ngOnDestroy(){this.destroy$.next(),this.appendTo&&(this.renderer.removeChild(this.choiceMenuEl.parentNode,this.choiceMenuEl),this.disposeResizeListener&&this.disposeResizeListener())}ngAfterContentInit(){this.appendTo&&(this.appendChoiceMenu(),this.handleDocumentResize(),this.delayedPositionUpdate())}appendChoiceMenu(){const r=this.getAppendToElement();if(!r)throw new Error(`appendTo selector ${this.appendTo} did not found any element`);this.renderer.appendChild(r,this.choiceMenuEl)}getAppendToElement(){return document.querySelector(this.appendTo)}handleDocumentResize(){this.disposeResizeListener=this.renderer.listen("window","resize",()=>{this.updatePosition()})}delayedPositionUpdate(){this.appendTo&&this.ngZone.runOutsideAngular(()=>{window.requestAnimationFrame(()=>{this.updatePosition()})})}updatePosition(){if(this.show){const r=this.getViewportOffset(this.selectEl),s=this.getParentOffset(this.choiceMenuEl),d=this.getAppendToElement(),_=r.left+d.scrollLeft-s.left;this.choiceMenuEl.style.top=`${r.top+d.scrollTop-s.top+r.height}px`,this.choiceMenuEl.style.bottom="auto",this.choiceMenuEl.style.left=`${_}px`,this.choiceMenuEl.style.width=`${r.width}px`,this.choiceMenuEl.style.minWidth=`${r.width}px`}}getStyles(r){return window.getComputedStyle(r)}getStyleProp(r,s){return this.getStyles(r)[s]}isStatic(r){return"static"===(this.getStyleProp(r,"position")||"static")}getOffsetParent(r){let s=r.offsetParent;for(;s&&s!==document.documentElement&&this.isStatic(s);)s=s.offsetParent;return s||document.documentElement}getViewportOffset(r){const s=r.getBoundingClientRect(),d=window.scrollY-document.documentElement.clientTop,g=window.scrollX-document.documentElement.clientLeft;return{height:s.height||r.offsetHeight,width:s.width||r.offsetWidth,top:s.top+d,bottom:s.bottom+d,left:s.left+g,right:s.right+g}}getParentOffset(r){let s={width:0,height:0,top:0,left:0,right:0,bottom:0};if("fixed"===this.getStyleProp(r,"position"))return s;const d=this.getOffsetParent(r);return d!==document.documentElement&&(s=this.getViewportOffset(d)),s.top+=d.clientTop,s.left+=d.clientLeft,s}static \u0275fac=function(s){return new(s||i)(u.rXU(u.sFG),u.rXU(u.SKi),u.rXU(u.aKT))};static \u0275cmp=u.VBU({type:i,selectors:[["ngx-select-choices"]],hostVars:2,hostBindings:function(s,d){2&s&&u.xc7("position",d.position)},inputs:{appendTo:"appendTo",show:"show",selectionChanges:"selectionChanges"},standalone:!1,features:[u.OA$],ngContentSelectors:Ea,decls:1,vars:0,template:function(s,d){1&s&&(u.NAR(),u.SdG(0))},encapsulation:2})}return i})();const Ud=new u.nKC("NGX_SELECT_OPTIONS");var Yt=function(i){return i[i.first=0]="first",i[i.previous=1]="previous",i[i.next=2]="next",i[i.last=3]="last",i[i.firstSelected=4]="firstSelected",i[i.firstIfOptionActiveInvisible=5]="firstIfOptionActiveInvisible",i}(Yt||{});function go(i,l){return l in i}let zp,wn=(()=>{class i{sanitizer;cd;items;optionValueField="id";optionTextField="text";optGroupLabelField="label";optGroupOptionsField="options";multiple=!1;allowClear=!1;placeholder="";noAutoComplete=!1;disabled=!1;defaultValue=[];autoSelectSingleOption=!1;autoClearSearch=!1;noResultsFound="No results found";keepSelectedItems=!1;size="default";searchCallback;autoActiveOnMouseEnter=!0;showOptionNotFoundForEmptyItems=!1;isFocused=!1;keepSelectMenuOpened=!1;autocomplete="off";dropDownMenuOtherClasses="";noSanitize=!1;appendTo;keyCodeToRemoveSelected="Delete";keyCodeToOptionsOpen=["Enter","NumpadEnter"];keyCodeToOptionsClose="Escape";keyCodeToOptionsSelect=["Enter","NumpadEnter"];keyCodeToNavigateFirst="ArrowLeft";keyCodeToNavigatePrevious="ArrowUp";keyCodeToNavigateNext="ArrowDown";keyCodeToNavigateLast="ArrowRight";typed=new u.bkB;focus=new u.bkB;blur=new u.bkB;open=new u.bkB;close=new u.bkB;select=new u.bkB;remove=new u.bkB;navigated=new u.bkB;selectionChanges=new u.bkB;mainElRef;inputElRef;choiceMenuElRef;templateOption;templateSelectedOption;templateOptionNotFound;optionsOpened=!1;optionsFiltered;optionActive;itemsDiffer;defaultValueDiffer;actualValue=[];subjOptions=new fo.t([]);subjSearchText=new fo.t("");subjOptionsSelected=new fo.t([]);subjExternalValue=new fo.t([]);subjDefaultValue=new fo.t([]);subjRegisterOnChange=new We.B;cacheOptionsFilteredFlat;cacheElementOffsetTop;_focusToInput=!1;get inputText(){return this.inputElRef&&this.inputElRef.nativeElement?this.inputElRef.nativeElement.value:""}constructor(r,s,d,g){let _;this.sanitizer=s,this.cd=d,Object.assign(this,g),this.itemsDiffer=r.find([]).create(null),this.defaultValueDiffer=r.find([]).create(null),this.typed.subscribe(E=>this.subjSearchText.next(E)),this.subjOptionsSelected.subscribe(E=>this.selectionChanges.emit(E));const D=Vi([ba(this.subjExternalValue.pipe((0,Cn.T)(E=>_=null===E?[]:[].concat(E))),this.subjOptionsSelected.pipe((0,Cn.T)(E=>E.map(T=>T.value)))),this.subjDefaultValue]).pipe((0,Cn.T)(([E,T])=>{const O=wa(E,T)?[]:E;return O.length?O:T}),Hi((E,T)=>wa(E,T)),z_());Vi([D,this.subjRegisterOnChange]).pipe((0,Cn.T)(([E])=>E)).subscribe(E=>{this.actualValue=E,wa(E,_)||(_=E,this.onChange(this.multiple?E:E.length?E[0]:null))}),Vi([this.subjOptions.pipe(Bi(E=>Dn(E).pipe(Bi(T=>T instanceof yr?Vr(T):T instanceof Ia?Dn(T.options):ji.w),Ui()))),D]).pipe($i(0)).subscribe(([E,T])=>{const O=[];if(T.forEach(j=>{const re=E.find(W=>W.value===j);re&&O.push(re)}),this.keepSelectedItems){const j=O.map(W=>W.value),re=this.subjOptionsSelected.value.filter(W=>-1===j.indexOf(W.value));O.push(...re)}wa(O,this.subjOptionsSelected.value)||(this.subjOptionsSelected.next(O),this.cd.markForCheck())}),Vi([this.subjOptions,this.subjOptionsSelected,this.subjSearchText]).pipe((0,Cn.T)(([E,T,O])=>(this.optionsFiltered=this.filterOptions(O,E,T).map(j=>(j instanceof yr?j.highlightedText=this.highlightOption(j):j instanceof Ia&&j.options.map(re=>(re.highlightedText=this.highlightOption(re),re)),j)),this.cacheOptionsFilteredFlat=null,this.navigateOption(Yt.firstIfOptionActiveInvisible),this.cd.markForCheck(),T)),Bi(E=>this.optionsFilteredFlat().pipe((0,Bn.p)(T=>this.autoSelectSingleOption&&1===T.length&&!E.length)))).subscribe(E=>{this.subjOptionsSelected.next(E),this.cd.markForCheck()})}asGroup=r=>r;asOpt=r=>r;setFormControlSize(r={},s=!0){return Object.assign(s?{"form-control-sm input-sm":"small"===this.size,"form-control-lg input-lg":"large"===this.size}:{},r)}setBtnSize(){return{"btn-sm":"small"===this.size,"btn-lg":"large"===this.size}}get optionsSelected(){return this.subjOptionsSelected.value}mainClicked(r){r.clickedSelectComponent=this,this.isFocused||(this.isFocused=!0,this.focus.emit())}choiceMenuFocus(r){this.appendTo&&(r.clickedSelectComponent=this)}documentClick(r){r.clickedSelectComponent!==this&&(this.optionsOpened&&(this.optionsClose(),this.cd.detectChanges()),this.isFocused&&(this.isFocused=!1,this.blur.emit()))}optionsFilteredFlat(){return this.cacheOptionsFilteredFlat?Vr(this.cacheOptionsFilteredFlat):Dn(this.optionsFiltered).pipe(Bi(r=>r instanceof yr?Vr(r):r instanceof Ia?Dn(r.optionsFiltered):ji.w),(0,Bn.p)(r=>!r.disabled),Ui(),Ca(r=>this.cacheOptionsFilteredFlat=r))}navigateOption(r){this.optionsFilteredFlat().pipe((0,Cn.T)(s=>{const d={index:-1,activeOption:null,filteredOptionList:s};let g;switch(r){case Yt.first:d.index=0;break;case Yt.previous:g=s.indexOf(this.optionActive)-1,d.index=g>=0?g:s.length-1;break;case Yt.next:g=s.indexOf(this.optionActive)+1,d.index=gD.value===this.optionActive.value))),d.index=_>0?_:0}return d.activeOption=s[d.index],d})).subscribe(s=>this.optionActivate(s))}ngDoCheck(){this.itemsDiffer.diff(this.items)&&this.subjOptions.next(this.buildOptions(this.items));const r=this.defaultValue?[].concat(this.defaultValue):[];this.defaultValueDiffer.diff(r)&&this.subjDefaultValue.next(r)}ngAfterContentChecked(){if(this._focusToInput&&this.checkInputVisibility()&&this.inputElRef&&this.inputElRef.nativeElement!==document.activeElement&&(this._focusToInput=!1,this.inputElRef.nativeElement.focus()),this.choiceMenuElRef){const s=this.choiceMenuElRef.nativeElement.querySelector("a.ngx-select__item_active.active");s&&s.offsetHeight>0&&this.ensureVisibleElement(s)}}ngOnDestroy(){this.cd.detach()}canClearNotMultiple(){return this.allowClear&&!!this.subjOptionsSelected.value.length&&(!this.subjDefaultValue.value.length||this.subjDefaultValue.value[0]!==this.actualValue[0])}focusToInput(){this._focusToInput=!0}inputKeyDown(r){const s=[].concat(this.keyCodeToOptionsSelect,this.keyCodeToNavigateFirst,this.keyCodeToNavigatePrevious,this.keyCodeToNavigateNext,this.keyCodeToNavigateLast),d=[].concat(this.keyCodeToOptionsOpen,this.keyCodeToRemoveSelected);if(this.optionsOpened&&-1!==s.indexOf(r.code))switch(r.preventDefault(),r.stopPropagation(),r.code){case[].concat(this.keyCodeToOptionsSelect).indexOf(r.code)+1&&r.code:this.optionSelect(this.optionActive),this.navigateOption(Yt.next);break;case this.keyCodeToNavigateFirst:this.navigateOption(Yt.first);break;case this.keyCodeToNavigatePrevious:this.navigateOption(Yt.previous);break;case this.keyCodeToNavigateLast:this.navigateOption(Yt.last);break;case this.keyCodeToNavigateNext:this.navigateOption(Yt.next)}else if(!this.optionsOpened&&-1!==d.indexOf(r.code))switch(r.preventDefault(),r.stopPropagation(),r.code){case[].concat(this.keyCodeToOptionsOpen).indexOf(r.code)+1&&r.code:this.optionsOpen();break;case this.keyCodeToRemoveSelected:(this.multiple||this.canClearNotMultiple())&&this.optionRemove(this.subjOptionsSelected.value[this.subjOptionsSelected.value.length-1],r)}}trackByOption(r,s){return s instanceof yr?s.value:s instanceof Ia?s.label:s}checkInputVisibility(){return!0===this.multiple||this.optionsOpened&&!this.noAutoComplete}inputKeyUp(r="",s){s.code===this.keyCodeToOptionsClose?this.optionsClose():this.optionsOpened&&-1===["ArrowDown","ArrowUp","ArrowLeft","ArrowDown"].indexOf(s.code)?this.typed.emit(r):!this.optionsOpened&&r&&this.optionsOpen(r)}inputClick(r=""){this.optionsOpened||this.optionsOpen(r)}sanitize(r){return this.noSanitize?r||null:r?this.sanitizer.bypassSecurityTrustHtml(r):null}highlightOption(r){return r.renderText(this.sanitizer,this.inputElRef?this.inputElRef.nativeElement.value:"")}optionSelect(r,s=null){s&&(s.preventDefault(),s.stopPropagation()),r&&!r.disabled&&(this.subjOptionsSelected.next((this.multiple?this.subjOptionsSelected.value:[]).concat([r])),this.select.emit(r.value),this.keepSelectMenuOpened||this.optionsClose(),this.onTouched())}optionRemove(r,s){!this.disabled&&r&&(s.stopPropagation(),this.subjOptionsSelected.next((this.multiple?this.subjOptionsSelected.value:[]).filter(d=>d!==r)),this.remove.emit(r.value))}optionActivate(r){this.optionActive!==r.activeOption&&(!r.activeOption||!r.activeOption.disabled)&&(this.optionActive&&(this.optionActive.active=!1),this.optionActive=r.activeOption,this.optionActive&&(this.optionActive.active=!0),this.navigated.emit(r),this.cd.detectChanges())}onMouseEnter(r){this.autoActiveOnMouseEnter&&this.optionActivate(r)}filterOptions(r,s,d){const g=new RegExp(kd(r),"i"),_=D=>this.searchCallback?this.searchCallback(r,D):(!r||g.test(D.text))&&(!this.multiple||-1===d.indexOf(D));return s.filter(D=>{if(D instanceof yr)return _(D);if(D instanceof Ia){const E=D;return E.filter(T=>_(T)),E.optionsFiltered.length}})}ensureVisibleElement(r){if(this.choiceMenuElRef&&this.cacheElementOffsetTop!==r.offsetTop){this.cacheElementOffsetTop=r.offsetTop;const s=this.choiceMenuElRef.nativeElement;this.cacheElementOffsetTops.scrollTop+s.clientHeight&&(s.scrollTop=this.cacheElementOffsetTop+r.offsetHeight-s.clientHeight)}}showChoiceMenu(){return this.optionsOpened&&(!!this.subjOptions.value.length||this.showOptionNotFoundForEmptyItems)}optionsOpen(r=""){this.disabled||(this.optionsOpened=!0,this.subjSearchText.next(r),this.navigateOption(!this.multiple&&this.subjOptionsSelected.value.length?Yt.firstSelected:Yt.first),this.focusToInput(),this.open.emit(),this.cd.markForCheck())}optionsClose(){this.optionsOpened=!1,this.close.emit(),this.autoClearSearch&&this.multiple&&this.inputElRef&&(this.inputElRef.nativeElement.value=null)}buildOptions(r){const s=[];return Array.isArray(r)&&r.forEach(d=>{if("object"==typeof d&&null!==d&&go(d,this.optGroupLabelField)&&go(d,this.optGroupOptionsField)&&Array.isArray(d[this.optGroupOptionsField])){const _=new Ia(d[this.optGroupLabelField]);d[this.optGroupOptionsField].forEach(D=>{const E=this.buildOption(D,_);E&&_.options.push(E)}),s.push(_)}else{const _=this.buildOption(d,null);_&&s.push(_)}}),s}buildOption(r,s){let d,g,_;if("string"==typeof r||"number"==typeof r)d=g=r,_=!1;else{if("object"!=typeof r||null===r||!go(r,this.optionValueField)&&!go(r,this.optionTextField))return null;d=go(r,this.optionValueField)?r[this.optionValueField]:r[this.optionTextField],g=go(r,this.optionTextField)?r[this.optionTextField]:r[this.optionValueField],_=!!go(r,"disabled")&&r.disabled}return new yr(d,g,_,r,s)}onChange=r=>r;onTouched=()=>null;writeValue(r){this.subjExternalValue.next(r)}registerOnChange(r){this.onChange=r,this.subjRegisterOnChange.next()}registerOnTouched(r){this.onTouched=r}setDisabledState(r){this.disabled=r,this.cd.markForCheck()}static \u0275fac=function(s){return new(s||i)(u.rXU(u._q3),u.rXU(_l),u.rXU(u.gRc),u.rXU(Ud,8))};static \u0275cmp=u.VBU({type:i,selectors:[["ngx-select"]],contentQueries:function(s,d,g){if(1&s&&(u.wni(g,jd,7,u.C4Q),u.wni(g,Gp,7,u.C4Q),u.wni(g,Hd,7,u.C4Q)),2&s){let _;u.mGM(_=u.lsd())&&(d.templateOption=_.first),u.mGM(_=u.lsd())&&(d.templateSelectedOption=_.first),u.mGM(_=u.lsd())&&(d.templateOptionNotFound=_.first)}},viewQuery:function(s,d){if(1&s&&(u.GBs(Lt,7),u.GBs(K_,5),u.GBs(at,5)),2&s){let g;u.mGM(g=u.lsd())&&(d.mainElRef=g.first),u.mGM(g=u.lsd())&&(d.inputElRef=g.first),u.mGM(g=u.lsd())&&(d.choiceMenuElRef=g.first)}},hostBindings:function(s,d){1&s&&u.bIt("focusin",function(_){return d.documentClick(_)},!1,u.EBC)("click",function(_){return d.documentClick(_)},!1,u.EBC)},inputs:{items:"items",optionValueField:"optionValueField",optionTextField:"optionTextField",optGroupLabelField:"optGroupLabelField",optGroupOptionsField:"optGroupOptionsField",multiple:"multiple",allowClear:"allowClear",placeholder:"placeholder",noAutoComplete:"noAutoComplete",disabled:"disabled",defaultValue:"defaultValue",autoSelectSingleOption:"autoSelectSingleOption",autoClearSearch:"autoClearSearch",noResultsFound:"noResultsFound",keepSelectedItems:"keepSelectedItems",size:"size",searchCallback:"searchCallback",autoActiveOnMouseEnter:"autoActiveOnMouseEnter",showOptionNotFoundForEmptyItems:"showOptionNotFoundForEmptyItems",isFocused:"isFocused",keepSelectMenuOpened:"keepSelectMenuOpened",autocomplete:"autocomplete",dropDownMenuOtherClasses:"dropDownMenuOtherClasses",noSanitize:"noSanitize",appendTo:"appendTo"},outputs:{typed:"typed",focus:"focus",blur:"blur",open:"open",close:"close",select:"select",remove:"remove",navigated:"navigated",selectionChanges:"selectionChanges"},standalone:!1,features:[u.Jv_([{provide:Rt,useExisting:(0,u.Rfq)(()=>i),multi:!0}])],decls:11,vars:12,consts:[["main",""],["defaultTemplateOption",""],["defaultTemplateOptionNotFound",""],["input",""],["choiceMenu",""],["choiceItem",""],[1,"ngx-select","dropdown",3,"click","focusin","focus","keydown","tabindex","ngClass"],[3,"ngClass"],["class","ngx-select__selected",4,"ngIf"],["class","ngx-select__selected",3,"click",4,"ngIf"],["type","text","class","ngx-select__search form-control","autocorrect","off","autocapitalize","off","spellcheck","false","role","combobox",3,"ngClass","tabindex","disabled","placeholder","autocomplete","keyup","click",4,"ngIf"],[3,"appendTo","show","selectionChanges","focusin",4,"ngIf"],[1,"ngx-select__selected"],[1,"ngx-select__toggle","btn","form-control",3,"click","ngClass"],["class","ngx-select__placeholder text-muted",4,"ngIf"],["class","ngx-select__selected-single pull-left float-left",3,"ngClass",4,"ngIf"],[1,"ngx-select__toggle-buttons"],["class","ngx-select__clear btn btn-sm btn-link",3,"ngClass","click",4,"ngIf"],[1,"dropdown-toggle"],[1,"ngx-select__toggle-caret","caret"],[1,"ngx-select__placeholder","text-muted"],[3,"innerHtml"],[1,"ngx-select__selected-single","pull-left","float-left",3,"ngClass"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ngx-select__clear","btn","btn-sm","btn-link",3,"click","ngClass"],[1,"ngx-select__clear-icon"],[1,"ngx-select__selected",3,"click"],[4,"ngFor","ngForOf","ngForTrackBy"],["tabindex","-1",1,"ngx-select__selected-plural","btn","btn-default","btn-secondary","btn-sm","btn-xs",3,"click","ngClass"],[1,"ngx-select__clear","btn","btn-sm","btn-link","pull-right","float-right",3,"click","ngClass"],["type","text","autocorrect","off","autocapitalize","off","spellcheck","false","role","combobox",1,"ngx-select__search","form-control",3,"keyup","click","ngClass","tabindex","disabled","placeholder","autocomplete"],[3,"focusin","appendTo","show","selectionChanges"],["role","menu",1,"ngx-select__choices","dropdown-menu",3,"ngClass"],["class","ngx-select__item-group","role","menuitem",4,"ngFor","ngForOf","ngForTrackBy"],["class","ngx-select__item ngx-select__item_no-found dropdown-header",4,"ngIf"],["role","menuitem",1,"ngx-select__item-group"],["class","divider dropdown-divider",4,"ngIf"],["class","dropdown-header",4,"ngIf"],["href","#","class","ngx-select__item dropdown-item",3,"ngClass","mouseenter","click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"divider","dropdown-divider"],[1,"dropdown-header"],["href","#",1,"ngx-select__item","dropdown-item",3,"mouseenter","click","ngClass"],[1,"ngx-select__item","ngx-select__item_no-found","dropdown-header"]],template:function(s,d){if(1&s){const g=u.RV6();u.j41(0,"div",6,0),u.bIt("click",function(D){return u.eBV(g),u.Njj(d.mainClicked(D))})("focusin",function(D){return u.eBV(g),u.Njj(d.mainClicked(D))})("focus",function(){return u.eBV(g),u.Njj(d.focusToInput())})("keydown",function(D){return u.eBV(g),u.Njj(d.inputKeyDown(D))}),u.nrm(2,"div",7),u.DNE(3,Gi,8,4,"div",8)(4,Jl,2,2,"div",9)(5,zi,2,5,"input",10)(6,J_,5,9,"ngx-select-choices",11)(7,ey,1,1,"ng-template",null,1,u.C5r)(9,Wi,1,1,"ng-template",null,2,u.C5r),u.k0s()}2&s&&(u.Y8G("tabindex",d.disabled?-1:0)("ngClass",d.setFormControlSize(u.l_i(7,Z_,!0===d.multiple,d.optionsOpened&&d.optionsFiltered.length),!0===d.multiple)),u.R7$(2),u.Y8G("ngClass",u.eq3(10,Q_,d.disabled)),u.R7$(),u.Y8G("ngIf",!1===d.multiple&&(!d.optionsOpened||d.noAutoComplete)),u.R7$(),u.Y8G("ngIf",!0===d.multiple),u.R7$(),u.Y8G("ngIf",d.checkInputVisibility()),u.R7$(),u.Y8G("ngIf",d.isFocused))},dependencies:[du,hu,pu,Ir,RC],styles:['.ngx-select_multiple[_ngcontent-%COMP%]{height:auto;padding:3px 3px 0}.ngx-select_multiple[_ngcontent-%COMP%] .ngx-select__search[_ngcontent-%COMP%]{background-color:transparent!important;border:none;outline:none;box-shadow:none;height:1.6666em;padding:0;margin-bottom:3px}.ngx-select__disabled[_ngcontent-%COMP%]{background-color:#eceeef;border-radius:4px;position:absolute;width:100%;height:100%;z-index:5;opacity:.6;top:0;left:0;cursor:not-allowed}.ngx-select__toggle[_ngcontent-%COMP%]{outline:0;position:relative;text-align:left!important;color:#333;background-color:#fff;border-color:#ccc;display:inline-flex;align-items:stretch;justify-content:space-between}.ngx-select__toggle[_ngcontent-%COMP%]:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.ngx-select__toggle-buttons[_ngcontent-%COMP%]{flex-shrink:0;display:flex;align-items:center}.ngx-select__toggle-caret[_ngcontent-%COMP%]{position:absolute;height:10px;top:50%;right:10px;margin-top:-2px}.ngx-select__placeholder[_ngcontent-%COMP%]{float:left;max-width:100%;text-overflow:ellipsis;overflow:hidden}.ngx-select__clear[_ngcontent-%COMP%]{margin-right:10px;padding:0;border:none}.ngx-select_multiple[_ngcontent-%COMP%] .ngx-select__clear[_ngcontent-%COMP%]{line-height:initial;margin-left:5px;margin-right:0;color:#000;opacity:.5}.ngx-select__clear-icon[_ngcontent-%COMP%]{display:inline-block;font-size:inherit;cursor:pointer;position:relative;width:1em;height:.75em;padding:0}.ngx-select__clear-icon[_ngcontent-%COMP%]:before, .ngx-select__clear-icon[_ngcontent-%COMP%]:after{content:"";position:absolute;border-top:3px solid;width:100%;top:50%;left:0;margin-top:-1px}.ngx-select__clear-icon[_ngcontent-%COMP%]:before{transform:rotate(45deg)}.ngx-select__clear-icon[_ngcontent-%COMP%]:after{transform:rotate(-45deg)}.ngx-select__choices[_ngcontent-%COMP%]{width:100%;height:auto;max-height:200px;overflow-x:hidden;margin-top:0;position:absolute}.ngx-select_multiple[_ngcontent-%COMP%] .ngx-select__choices[_ngcontent-%COMP%]{margin-top:1px}.ngx-select__item[_ngcontent-%COMP%]{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;white-space:nowrap;cursor:pointer;text-decoration:none}.ngx-select__item_disabled[_ngcontent-%COMP%], .ngx-select__item_no-found[_ngcontent-%COMP%]{cursor:default}.ngx-select__item_active[_ngcontent-%COMP%]{color:#fff;outline:0;background-color:#428bca}.ngx-select__selected-single[_ngcontent-%COMP%], .ngx-select__selected-plural[_ngcontent-%COMP%]{display:inline-flex;align-items:center;overflow:hidden}.ngx-select__selected-single[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .ngx-select__selected-plural[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.ngx-select__selected-plural[_ngcontent-%COMP%]{outline:0;margin:0 3px 3px 0}.input-group[_ngcontent-%COMP%] > .dropdown[_ngcontent-%COMP%]{position:static}'],changeDetection:0})}return i})(),Jo=(()=>{class i{static forRoot(r){return{ngModule:i,providers:[{provide:Ud,useValue:r}]}}static \u0275fac=function(s){return new(s||i)};static \u0275mod=u.$C({type:i});static \u0275inj=u.G2t({imports:[ge]})}return i})();try{zp=typeof Intl<"u"&&Intl.v8BreakIterator}catch{zp=!1}let Ki,tr=(()=>{class i{_platformId=(0,u.WQX)(u.Agw);isBrowser=this._platformId?function Et(i){return i===qe}(this._platformId):"object"==typeof document&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!(!window.chrome&&!zp)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function Ma(i){return function ty(){if(null==Ki&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ki=!0}))}finally{Ki=Ki||!1}return Ki}()?i:!!i.capture}var jn=function(i){return i[i.NORMAL=0]="NORMAL",i[i.NEGATED=1]="NEGATED",i[i.INVERTED=2]="INVERTED",i}(jn||{});let Ta,ei,ec;function jr(){if("object"!=typeof document||!document)return jn.NORMAL;if(null==Ta){const i=document.createElement("div"),l=i.style;i.dir="rtl",l.width="1px",l.overflow="auto",l.visibility="hidden",l.pointerEvents="none",l.position="absolute";const r=document.createElement("div"),s=r.style;s.width="2px",s.height="1px",i.appendChild(r),document.body.appendChild(i),Ta=jn.NORMAL,0===i.scrollLeft&&(i.scrollLeft=1,Ta=0===i.scrollLeft?jn.NEGATED:jn.INVERTED),i.remove()}return Ta}function xa(i){return i.composedPath?i.composedPath()[0]:i.target}function Na(i,...l){return l.length?l.some(r=>i[r]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}var ac=x(697);function lc(i){return(0,Bn.p)((l,r)=>i<=r)}function hn(i){return Array.isArray(i)?i:[i]}function Xi(i){return i instanceof u.aKT?i.nativeElement:i}function sg(...i){return function kw(){return Xo(1)}()(Dn(i,qs(i)))}function Fa(...i){const l=qs(i);return(0,bn.N)((r,s)=>{(l?sg(i,r,l):sg(i,r)).subscribe(s)})}const Oy=new Set;let pn,cc=(()=>{class i{_platform=(0,u.WQX)(tr);_nonce=(0,u.WQX)(u.BIS,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Xd}matchMedia(r){return(this._platform.WEBKIT||this._platform.BLINK)&&function Qd(i,l){if(!Oy.has(i))try{pn||(pn=document.createElement("style"),l&&pn.setAttribute("nonce",l),pn.setAttribute("type","text/css"),document.head.appendChild(pn)),pn.sheet&&(pn.sheet.insertRule(`@media ${i} {body{ }}`,0),Oy.add(i))}catch(r){console.error(r)}}(r,this._nonce),this._matchMedia(r)}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function Xd(i){return{matches:"all"===i||""===i,media:i,addListener:()=>{},removeListener:()=>{}}}let Ry=(()=>{class i{_mediaMatcher=(0,u.WQX)(cc);_zone=(0,u.WQX)(u.SKi);_queries=new Map;_destroySubject=new We.B;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(r){return oi(hn(r)).some(d=>this._registerQuery(d).mql.matches)}observe(r){let g=Vi(oi(hn(r)).map(_=>this._registerQuery(_).observable));return g=sg(g.pipe((0,ac.s)(1)),g.pipe(lc(1),$i(0))),g.pipe((0,Cn.T)(_=>{const D={matches:!1,breakpoints:{}};return _.forEach(({matches:E,query:T})=>{D.matches=D.matches||E,D.breakpoints[T]=E}),D}))}_registerQuery(r){if(this._queries.has(r))return this._queries.get(r);const s=this._mediaMatcher.matchMedia(r),g={observable:new vt.c(_=>{const D=E=>this._zone.run(()=>_.next(E));return s.addListener(D),()=>{s.removeListener(D)}}).pipe(Fa(s),(0,Cn.T)(({matches:_})=>({query:r,matches:_})),Vn(this._destroySubject)),mql:s};return this._queries.set(r,g),g}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function oi(i){return i.map(l=>l.split(",")).reduce((l,r)=>l.concat(r)).map(l=>l.trim())}class dc{_letterKeyStream=new We.B;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new We.B;selectedItem=this._selectedItem;constructor(l,r){const s="number"==typeof r?.debounceInterval?r.debounceInterval:200;r?.skipPredicate&&(this._skipPredicateFn=r.skipPredicate),this.setItems(l),this._setupKeyHandler(s)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(l){this._selectedItemIndex=l}setItems(l){this._items=l}handleKey(l){const r=l.keyCode;l.key&&1===l.key.length?this._letterKeyStream.next(l.key.toLocaleUpperCase()):(r>=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(l){this._letterKeyStream.pipe(Ca(r=>this._pressedLetters.push(r)),$i(l),(0,Bn.p)(()=>this._pressedLetters.length>0),(0,Cn.T)(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(r=>{for(let s=1;sl.disabled;constructor(l,r){this._items=l,l instanceof u.rOR?this._itemChangesSubscription=l.changes.subscribe(s=>this._itemsChanged(s.toArray())):(0,u.Hps)(l)&&(this._effectRef=(0,u.QZP)(()=>this._itemsChanged(l()),{injector:r}))}tabOut=new We.B;change=new We.B;skipPredicate(l){return this._skipPredicateFn=l,this}withWrap(l=!0){return this._wrap=l,this}withVerticalOrientation(l=!0){return this._vertical=l,this}withHorizontalOrientation(l){return this._horizontal=l,this}withAllowedModifierKeys(l){return this._allowedModifierKeys=l,this}withTypeAhead(l=200){this._typeaheadSubscription.unsubscribe();const r=this._getItemsArray();return this._typeahead=new dc(r,{debounceInterval:"number"==typeof l?l:void 0,skipPredicate:s=>this._skipPredicateFn(s)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(s=>{this.setActiveItem(s)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(l=!0){return this._homeAndEnd=l,this}withPageUpDown(l=!0,r=10){return this._pageUpAndDown={enabled:l,delta:r},this}setActiveItem(l){const r=this._activeItem();this.updateActiveItem(l),this._activeItem()!==r&&this.change.next(this._activeItemIndex)}onKeydown(l){const r=l.keyCode,d=["altKey","ctrlKey","metaKey","shiftKey"].every(g=>!l[g]||this._allowedModifierKeys.indexOf(g)>-1);switch(r){case 9:return void this.tabOut.next();case 40:if(this._vertical&&d){this.setNextItemActive();break}return;case 38:if(this._vertical&&d){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&d){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&d){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&d){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&d){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&d){const g=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(g>0?g:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&d){const g=this._activeItemIndex+this._pageUpAndDown.delta,_=this._getItemsArray().length;this._setActiveItemByIndex(g<_?g:_-1,-1);break}return;default:return void((d||Na(l,"shiftKey"))&&this._typeahead?.handleKey(l))}this._typeahead?.reset(),l.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(l){const r=this._getItemsArray(),s="number"==typeof l?l:r.indexOf(l);this._activeItem.set(r[s]??null),this._activeItemIndex=s,this._typeahead?.setCurrentSelectedItemIndex(s)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(l){this._wrap?this._setActiveInWrapMode(l):this._setActiveInDefaultMode(l)}_setActiveInWrapMode(l){const r=this._getItemsArray();for(let s=1;s<=r.length;s++){const d=(this._activeItemIndex+l*s+r.length)%r.length;if(!this._skipPredicateFn(r[d]))return void this.setActiveItem(d)}}_setActiveInDefaultMode(l){this._setActiveItemByIndex(this._activeItemIndex+l,l)}_setActiveItemByIndex(l,r){const s=this._getItemsArray();if(s[l]){for(;this._skipPredicateFn(s[l]);)if(!s[l+=r])return;this.setActiveItem(l)}}_getItemsArray(){return(0,u.Hps)(this._items)?this._items():this._items instanceof u.rOR?this._items.toArray():this._items}_itemsChanged(l){this._typeahead?.setItems(l);const r=this._activeItem();if(r){const s=l.indexOf(r);s>-1&&s!==this._activeItemIndex&&(this._activeItemIndex=s,this._typeahead?.setCurrentSelectedItemIndex(s))}}}class tf extends Vy{_origin="program";setFocusOrigin(l){return this._origin=l,this}setActiveItem(l){super.setActiveItem(l),this.activeItem&&this.activeItem.focus(this._origin)}}function hc(i){return 0===i.buttons||0===i.detail}function gg(i){const l=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!(!l||-1!==l.identifier||null!=l.radiusX&&1!==l.radiusX||null!=l.radiusY&&1!==l.radiusY)}const Qy=new u.nKC("cdk-input-modality-detector-options"),nr={ignoreKeys:[18,17,224,91,16]},si=Ma({passive:!0,capture:!0});let Xy=(()=>{class i{_platform=(0,u.WQX)(tr);modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new fo.t(null);_options;_lastTouchMs=0;_onKeydown=r=>{this._options?.ignoreKeys?.some(s=>s===r.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=xa(r))};_onMousedown=r=>{Date.now()-this._lastTouchMs<650||(this._modality.next(hc(r)?"keyboard":"mouse"),this._mostRecentTarget=xa(r))};_onTouchstart=r=>{gg(r)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=xa(r))};constructor(){const r=(0,u.WQX)(u.SKi),s=(0,u.WQX)(Q),d=(0,u.WQX)(Qy,{optional:!0});this._options={...nr,...d},this.modalityDetected=this._modality.pipe(lc(1)),this.modalityChanged=this.modalityDetected.pipe(Hi()),this._platform.isBrowser&&r.runOutsideAngular(()=>{s.addEventListener("keydown",this._onKeydown,si),s.addEventListener("mousedown",this._onMousedown,si),s.addEventListener("touchstart",this._onTouchstart,si)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,si),document.removeEventListener("mousedown",this._onMousedown,si),document.removeEventListener("touchstart",this._onTouchstart,si))}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var pc=function(i){return i[i.IMMEDIATE=0]="IMMEDIATE",i[i.EVENTUAL=1]="EVENTUAL",i}(pc||{});const me=new u.nKC("cdk-focus-monitor-default-options"),Ra=Ma({passive:!0,capture:!0});let _g=(()=>{class i{_ngZone=(0,u.WQX)(u.SKi);_platform=(0,u.WQX)(tr);_inputModalityDetector=(0,u.WQX)(Xy);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)};_document=(0,u.WQX)(Q,{optional:!0});_stopInputModalityDetector=new We.B;constructor(){const r=(0,u.WQX)(me,{optional:!0});this._detectionMode=r?.detectionMode||pc.IMMEDIATE}_rootNodeFocusAndBlurListener=r=>{for(let d=xa(r);d;d=d.parentElement)"focus"===r.type?this._onFocus(r,d):this._onBlur(r,d)};monitor(r,s=!1){const d=Xi(r);if(!this._platform.isBrowser||1!==d.nodeType)return Vr();const g=function ry(i){if(function $d(){if(null==ec){const i=typeof document<"u"?document.head:null;ec=!(!i||!i.createShadowRoot&&!i.attachShadow)}return ec}()){const l=i.getRootNode?i.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&l instanceof ShadowRoot)return l}return null}(d)||this._getDocument(),_=this._elementInfo.get(d);if(_)return s&&(_.checkChildren=!0),_.subject;const D={checkChildren:s,subject:new We.B,rootNode:g};return this._elementInfo.set(d,D),this._registerGlobalListeners(D),D.subject}stopMonitoring(r){const s=Xi(r),d=this._elementInfo.get(s);d&&(d.subject.complete(),this._setClasses(s),this._elementInfo.delete(s),this._removeGlobalListeners(d))}focusVia(r,s,d){const g=Xi(r);g===this._getDocument().activeElement?this._getClosestElementsInfo(g).forEach(([D,E])=>this._originChanged(D,s,E)):(this._setOrigin(s),"function"==typeof g.focus&&g.focus(d))}ngOnDestroy(){this._elementInfo.forEach((r,s)=>this.stopMonitoring(s))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(r){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(r)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:r&&this._isLastInteractionFromInputLabel(r)?"mouse":"program"}_shouldBeAttributedToTouch(r){return this._detectionMode===pc.EVENTUAL||!!r?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(r,s){r.classList.toggle("cdk-focused",!!s),r.classList.toggle("cdk-touch-focused","touch"===s),r.classList.toggle("cdk-keyboard-focused","keyboard"===s),r.classList.toggle("cdk-mouse-focused","mouse"===s),r.classList.toggle("cdk-program-focused","program"===s)}_setOrigin(r,s=!1){this._ngZone.runOutsideAngular(()=>{this._origin=r,this._originFromTouchInteraction="touch"===r&&s,this._detectionMode===pc.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(r,s){const d=this._elementInfo.get(s),g=xa(r);!d||!d.checkChildren&&s!==g||this._originChanged(s,this._getFocusOrigin(g),d)}_onBlur(r,s){const d=this._elementInfo.get(s);!d||d.checkChildren&&r.relatedTarget instanceof Node&&s.contains(r.relatedTarget)||(this._setClasses(s),this._emitOrigin(d,null))}_emitOrigin(r,s){r.subject.observers.length&&this._ngZone.run(()=>r.subject.next(s))}_registerGlobalListeners(r){if(!this._platform.isBrowser)return;const s=r.rootNode,d=this._rootNodeFocusListenerCount.get(s)||0;d||this._ngZone.runOutsideAngular(()=>{s.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ra),s.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ra)}),this._rootNodeFocusListenerCount.set(s,d+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Vn(this._stopInputModalityDetector)).subscribe(g=>{this._setOrigin(g,!0)}))}_removeGlobalListeners(r){const s=r.rootNode;if(this._rootNodeFocusListenerCount.has(s)){const d=this._rootNodeFocusListenerCount.get(s);d>1?this._rootNodeFocusListenerCount.set(s,d-1):(s.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ra),s.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ra),this._rootNodeFocusListenerCount.delete(s))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(r,s,d){this._setClasses(r,s),this._emitOrigin(d,s),this._lastFocusOrigin=s}_getClosestElementsInfo(r){const s=[];return this._elementInfo.forEach((d,g)=>{(g===r||d.checkChildren&&g.contains(r))&&s.push([g,d])}),s}_isLastInteractionFromInputLabel(r){const{_mostRecentTarget:s,mostRecentModality:d}=this._inputModalityDetector;if("mouse"!==d||!s||s===r||"INPUT"!==r.nodeName&&"TEXTAREA"!==r.nodeName||r.disabled)return!1;const g=r.labels;if(g)for(let _=0;_{class i{_elementRef=(0,u.WQX)(u.aKT);_focusMonitor=(0,u.WQX)(_g);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new u.bkB;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const r=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(r,1===r.nodeType&&r.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(s=>{this._focusOrigin=s,this.cdkFocusChange.emit(s)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return i})();var vo=function(i){return i[i.NONE=0]="NONE",i[i.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",i[i.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",i}(vo||{});const cf="cdk-high-contrast-black-on-white",yg="cdk-high-contrast-white-on-black",ai="cdk-high-contrast-active";let li=(()=>{class i{_platform=(0,u.WQX)(tr);_hasCheckedHighContrastMode;_document=(0,u.WQX)(Q);_breakpointSubscription;constructor(){this._breakpointSubscription=(0,u.WQX)(Ry).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return vo.NONE;const r=this._document.createElement("div");r.style.backgroundColor="rgb(1,2,3)",r.style.position="absolute",this._document.body.appendChild(r);const s=this._document.defaultView||window,d=s&&s.getComputedStyle?s.getComputedStyle(r):null,g=(d&&d.backgroundColor||"").replace(/ /g,"");switch(r.remove(),g){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return vo.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return vo.BLACK_ON_WHITE}return vo.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const r=this._document.body.classList;r.remove(ai,cf,yg),this._hasCheckedHighContrastMode=!0;const s=this.getHighContrastMode();s===vo.BLACK_ON_WHITE?r.add(ai,cf):s===vo.WHITE_ON_BLACK&&r.add(ai,yg)}}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();const ci={};let bg=(()=>{class i{_appId=(0,u.WQX)(u.sZ2);getId(r){return"ng"!==this._appId&&(r+=this._appId),ci.hasOwnProperty(r)||(ci[r]=0),`${r}${ci[r]++}`}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();const uf=new u.nKC("cdk-dir-doc",{providedIn:"root",factory:function df(){return(0,u.WQX)(Q)}}),ff=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Pa=(()=>{class i{value="ltr";change=new u.bkB;constructor(){const r=(0,u.WQX)(uf,{optional:!0});r&&(this.value=function hf(i){const l=i?.toLowerCase()||"";return"auto"===l&&typeof navigator<"u"&&navigator?.language?ff.test(navigator.language)?"rtl":"ltr":"rtl"===l?"rtl":"ltr"}((r.body?r.body.dir:null)||(r.documentElement?r.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Dg=(()=>{class i{static \u0275fac=function(s){return new(s||i)};static \u0275mod=u.$C({type:i});static \u0275inj=u.G2t({})}return i})();const gc=new WeakMap;let pf=(()=>{class i{_appRef;_injector=(0,u.WQX)(u.zZn);_environmentInjector=(0,u.WQX)(u.uvJ);load(r){const s=this._appRef=this._appRef||this._injector.get(u.o8S);let d=gc.get(s);d||(d={loaders:new Set,refs:[]},gc.set(s,d),s.onDestroy(()=>{gc.get(s)?.refs.forEach(g=>g.destroy()),gc.delete(s)})),d.loaders.has(r)||(d.loaders.add(r),d.refs.push((0,u.a0P)(r,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),wg=(()=>{class i{constructor(){(0,u.WQX)(li)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(s){return new(s||i)};static \u0275mod=u.$C({type:i});static \u0275inj=u.G2t({imports:[Dg,Dg]})}return i})(),mc=(()=>{class i{static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["structural-styles"]],decls:0,vars:0,template:function(s,d){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}'],encapsulation:2,changeDetection:0})}return i})();var In=function(i){return i[i.FADING_IN=0]="FADING_IN",i[i.VISIBLE=1]="VISIBLE",i[i.FADING_OUT=2]="FADING_OUT",i[i.HIDDEN=3]="HIDDEN",i}(In||{});class _c{_renderer;element;config;_animationForciblyDisabledThroughCss;state=In.HIDDEN;constructor(l,r,s,d=!1){this._renderer=l,this.element=r,this.config=s,this._animationForciblyDisabledThroughCss=d}fadeOut(){this._renderer.fadeOutRipple(this)}}const yc=Ma({passive:!0,capture:!0});class Hr{_events=new Map;addHandler(l,r,s,d){const g=this._events.get(r);if(g){const _=g.get(s);_?_.add(d):g.set(s,new Set([d]))}else this._events.set(r,new Map([[s,new Set([d])]])),l.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,yc)})}removeHandler(l,r,s){const d=this._events.get(l);if(!d)return;const g=d.get(r);g&&(g.delete(s),0===g.size&&d.delete(r),0===d.size&&(this._events.delete(l),document.removeEventListener(l,this._delegateEventHandler,yc)))}_delegateEventHandler=l=>{const r=xa(l);r&&this._events.get(l.type)?.forEach((s,d)=>{(d===r||d.contains(r))&&s.forEach(g=>g.handleEvent(l))})}}const Mg={enterDuration:225,exitDuration:150},La=Ma({passive:!0,capture:!0}),Tg=["mousedown","touchstart"],ui=["mouseup","mouseleave","touchend","touchcancel"];let xg=(()=>{class i{static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(s,d){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}"],encapsulation:2,changeDetection:0})}return i})();class br{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new Hr;constructor(l,r,s,d,g){this._target=l,this._ngZone=r,this._platform=d,d.isBrowser&&(this._containerElement=Xi(s)),g&&g.get(pf).load(xg)}fadeInRipple(l,r,s={}){const d=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),g={...Mg,...s.animation};s.centered&&(l=d.left+d.width/2,r=d.top+d.height/2);const _=s.radius||function ts(i,l,r){const s=Math.max(Math.abs(i-r.left),Math.abs(i-r.right)),d=Math.max(Math.abs(l-r.top),Math.abs(l-r.bottom));return Math.sqrt(s*s+d*d)}(l,r,d),D=l-d.left,E=r-d.top,T=g.enterDuration,O=document.createElement("div");O.classList.add("mat-ripple-element"),O.style.left=D-_+"px",O.style.top=E-_+"px",O.style.height=2*_+"px",O.style.width=2*_+"px",null!=s.color&&(O.style.backgroundColor=s.color),O.style.transitionDuration=`${T}ms`,this._containerElement.appendChild(O);const j=window.getComputedStyle(O),W=j.transitionDuration,_e="none"===j.transitionProperty||"0s"===W||"0s, 0s"===W||0===d.width&&0===d.height,De=new _c(this,O,s,_e);O.style.transform="scale3d(1, 1, 1)",De.state=In.FADING_IN,s.persistent||(this._mostRecentTransientRipple=De);let Le=null;return!_e&&(T||g.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Ve=()=>{Le&&(Le.fallbackTimer=null),clearTimeout(Gr),this._finishRippleTransition(De)},Ft=()=>this._destroyRipple(De),Gr=setTimeout(Ft,T+100);O.addEventListener("transitionend",Ve),O.addEventListener("transitioncancel",Ft),Le={onTransitionEnd:Ve,onTransitionCancel:Ft,fallbackTimer:Gr}}),this._activeRipples.set(De,Le),(_e||!T)&&this._finishRippleTransition(De),De}fadeOutRipple(l){if(l.state===In.FADING_OUT||l.state===In.HIDDEN)return;const r=l.element,s={...Mg,...l.config.animation};r.style.transitionDuration=`${s.exitDuration}ms`,r.style.opacity="0",l.state=In.FADING_OUT,(l._animationForciblyDisabledThroughCss||!s.exitDuration)&&this._finishRippleTransition(l)}fadeOutAll(){this._getActiveRipples().forEach(l=>l.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(l=>{l.config.persistent||l.fadeOut()})}setupTriggerEvents(l){const r=Xi(l);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,Tg.forEach(s=>{br._eventManager.addHandler(this._ngZone,s,r,this)}))}handleEvent(l){"mousedown"===l.type?this._onMousedown(l):"touchstart"===l.type?this._onTouchStart(l):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ui.forEach(r=>{this._triggerElement.addEventListener(r,this,La)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(l){l.state===In.FADING_IN?this._startFadeOutTransition(l):l.state===In.FADING_OUT&&this._destroyRipple(l)}_startFadeOutTransition(l){const r=l===this._mostRecentTransientRipple,{persistent:s}=l.config;l.state=In.VISIBLE,!s&&(!r||!this._isPointerDown)&&l.fadeOut()}_destroyRipple(l){const r=this._activeRipples.get(l)??null;this._activeRipples.delete(l),this._activeRipples.size||(this._containerRect=null),l===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),l.state=In.HIDDEN,null!==r&&(l.element.removeEventListener("transitionend",r.onTransitionEnd),l.element.removeEventListener("transitioncancel",r.onTransitionCancel),null!==r.fallbackTimer&&clearTimeout(r.fallbackTimer)),l.element.remove()}_onMousedown(l){const r=hc(l),s=this._lastTouchStartEvent&&Date.now(){!l.config.persistent&&(l.state===In.VISIBLE||l.config.terminateOnPointerUp&&l.state===In.FADING_IN)&&l.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const l=this._triggerElement;l&&(Tg.forEach(r=>br._eventManager.removeHandler(r,l,this)),this._pointerUpEventsRegistered&&(ui.forEach(r=>l.removeEventListener(r,this,La)),this._pointerUpEventsRegistered=!1))}}const _f=new u.nKC("mat-ripple-global-options");let ns=(()=>{class i{_elementRef=(0,u.WQX)(u.aKT);_animationMode=(0,u.WQX)(u.bc$,{optional:!0});color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(r){r&&this.fadeOutAllNonPersistent(),this._disabled=r,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(r){this._trigger=r,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){const r=(0,u.WQX)(u.SKi),s=(0,u.WQX)(tr),d=(0,u.WQX)(_f,{optional:!0}),g=(0,u.WQX)(u.zZn);this._globalOptions=d||{},this._rippleRenderer=new br(this,r,this._elementRef,s,g)}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(r,s=0,d){return"number"==typeof r?this._rippleRenderer.fadeInRipple(r,s,{...this.rippleConfig,...d}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...r})}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(s,d){2&s&&u.AVh("mat-ripple-unbounded",d.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return i})();class vf{_attachedHost;attach(l){return this._attachedHost=l,l.attach(this)}detach(){let l=this._attachedHost;null!=l&&(this._attachedHost=null,l.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(l){this._attachedHost=l}}class yv extends vf{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(l,r,s,d,g){super(),this.component=l,this.viewContainerRef=r,this.injector=s,this.projectableNodes=g}}class rs extends vf{templateRef;viewContainerRef;context;injector;constructor(l,r,s,d){super(),this.templateRef=l,this.viewContainerRef=r,this.context=s,this.injector=d}get origin(){return this.templateRef.elementRef}attach(l,r=this.context){return this.context=r,super.attach(l)}detach(){return this.context=void 0,super.detach()}}class bf extends vf{element;constructor(l){super(),this.element=l instanceof u.aKT?l.nativeElement:l}}class Ng{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(l){return l instanceof yv?(this._attachedPortal=l,this.attachComponentPortal(l)):l instanceof rs?(this._attachedPortal=l,this.attachTemplatePortal(l)):this.attachDomPortal&&l instanceof bf?(this._attachedPortal=l,this.attachDomPortal(l)):void 0}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(l){this._disposeFn=l}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}let vv=(()=>{class i extends rs{constructor(){super((0,u.WQX)(u.C4Q),(0,u.WQX)(u.c1b))}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[u.Vt3]})}return i})(),Df=(()=>{class i extends Ng{_moduleRef=(0,u.WQX)(u.Vns,{optional:!0});_document=(0,u.WQX)(Q);_viewContainerRef=(0,u.WQX)(u.c1b);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(r){this.hasAttached()&&!r&&!this._isInitialized||(this.hasAttached()&&super.detach(),r&&super.attach(r),this._attachedPortal=r||null)}attached=new u.bkB;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(r){r.setAttachedHost(this);const s=null!=r.viewContainerRef?r.viewContainerRef:this._viewContainerRef,d=s.createComponent(r.component,{index:s.length,injector:r.injector||s.injector,projectableNodes:r.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return s!==this._viewContainerRef&&this._getRootNode().appendChild(d.hostView.rootNodes[0]),super.setDisposeFn(()=>d.destroy()),this._attachedPortal=r,this._attachedRef=d,this.attached.emit(d),d}attachTemplatePortal(r){r.setAttachedHost(this);const s=this._viewContainerRef.createEmbeddedView(r.templateRef,r.context,{injector:r.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=r,this._attachedRef=s,this.attached.emit(s),s}attachDomPortal=r=>{const s=r.element,d=this._document.createComment("dom-portal");r.setAttachedHost(this),s.parentNode.insertBefore(d,s),this._getRootNode().appendChild(s),this._attachedPortal=r,super.setDisposeFn(()=>{d.parentNode&&d.parentNode.replaceChild(s,d)})};_getRootNode(){const r=this._viewContainerRef.element.nativeElement;return r.nodeType===r.ELEMENT_NODE?r:r.parentNode}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[u.Vt3]})}return i})();const bv=["addListener","removeListener"],Cf=["addEventListener","removeEventListener"],Va=["on","off"];function Ur(i,l,r,s){if((0,je.T)(r)&&(s=r,r=void 0),s)return Ur(i,l,r).pipe(Ks(s));const[d,g]=function kg(i){return(0,je.T)(i.addEventListener)&&(0,je.T)(i.removeEventListener)}(i)?Cf.map(_=>D=>i[_](l,D,r)):function Fg(i){return(0,je.T)(i.addListener)&&(0,je.T)(i.removeListener)}(i)?bv.map(Ba(i,l)):function ja(i){return(0,je.T)(i.on)&&(0,je.T)(i.off)}(i)?Va.map(Ba(i,l)):[];if(!d&&Cl(i))return Bi(_=>Ur(_,l,r))(un(i));if(!d)throw new TypeError("Invalid event target");return new vt.c(_=>{const D=(...E)=>_.next(1g(D)})}function Ba(i,l){return r=>s=>i[r](l,s)}function os(i=0,l,r=q_){let s=-1;return null!=l&&(op(l)?r=l:s=l),new vt.c(d=>{let g=function Dv(i){return i instanceof Date&&!isNaN(i)}(i)?+i-r.now():i;g<0&&(g=0);let _=0;return r.schedule(function(){d.closed||(d.next(_++),0<=s?this.schedule(void 0,s):d.complete())},g)})}class Cv extends We.B{constructor(l=1/0,r=1/0,s=Fd){super(),this._bufferSize=l,this._windowTime=r,this._timestampProvider=s,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=r===1/0,this._bufferSize=Math.max(1,l),this._windowTime=Math.max(1,r)}next(l){const{isStopped:r,_buffer:s,_infiniteTimeWindow:d,_timestampProvider:g,_windowTime:_}=this;r||(s.push(l),!d&&s.push(g.now()+_)),this._trimBuffer(),super.next(l)}_subscribe(l){this._throwIfClosed(),this._trimBuffer();const r=this._innerSubscribe(l),{_infiniteTimeWindow:s,_buffer:d}=this,g=d.slice();for(let _=0;_this._resizeSubject.next(r)))}observe(l){return this._elementObservables.has(l)||this._elementObservables.set(l,new vt.c(r=>{const s=this._resizeSubject.subscribe(r);return this._resizeObserver?.observe(l,{box:this._box}),()=>{this._resizeObserver?.unobserve(l),s.unsubscribe(),this._elementObservables.delete(l)}}).pipe((0,Bn.p)(r=>r.some(s=>s.target===l)),function Cc(i,l,r){let s,d=!1;return i&&"object"==typeof i?({bufferSize:s=1/0,windowTime:l=1/0,refCount:d=!1,scheduler:r}=i):s=i??1/0,z_({connector:()=>new Cv(s,l,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:d})}({bufferSize:1,refCount:!0}),Vn(this._destroyed))),this._elementObservables.get(l)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let Ev=(()=>{class i{_observers=new Map;_ngZone=(0,u.WQX)(u.SKi);constructor(){}ngOnDestroy(){for(const[,r]of this._observers)r.destroy();this._observers.clear()}observe(r,s){const d=s?.box||"content-box";return this._observers.has(d)||this._observers.set(d,new wv(d)),this._observers.get(d).observe(r)}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();const ss={schedule(i){let l=requestAnimationFrame,r=cancelAnimationFrame;const{delegate:s}=ss;s&&(l=s.requestAnimationFrame,r=s.cancelAnimationFrame);const d=l(g=>{r=void 0,i(g)});return new fn.yU(()=>r?.(d))},requestAnimationFrame(...i){const{delegate:l}=ss;return(l?.requestAnimationFrame||requestAnimationFrame)(...i)},cancelAnimationFrame(...i){const{delegate:l}=ss;return(l?.cancelAnimationFrame||cancelAnimationFrame)(...i)},delegate:void 0};new class Iv extends Da{flush(l){this._active=!0;const r=this._scheduled;this._scheduled=void 0;const{actions:s}=this;let d;l=l||s.shift();do{if(d=l.execute(l.state,l.delay))break}while((l=s[0])&&l.id===r&&s.shift());if(this._active=!1,d){for(;(l=s[0])&&l.id===r&&s.shift();)l.unsubscribe();throw d}}}(class wf extends Nd{constructor(l,r){super(l,r),this.scheduler=l,this.work=r}requestAsyncId(l,r,s=0){return null!==s&&s>0?super.requestAsyncId(l,r,s):(l.actions.push(this),l._scheduled||(l._scheduled=ss.requestAnimationFrame(()=>l.flush(void 0))))}recycleAsyncId(l,r,s=0){var d;if(null!=s?s>0:this.delay>0)return super.recycleAsyncId(l,r,s);const{actions:g}=l;null!=r&&(null===(d=g[g.length-1])||void 0===d?void 0:d.id)!==r&&(ss.cancelAnimationFrame(r),l._scheduled=void 0)}});let $r,Ef=1;const di={};function If(i){return i in di&&(delete di[i],!0)}const Ha={setImmediate(i){const l=Ef++;return di[l]=!0,$r||($r=Promise.resolve()),$r.then(()=>If(l)&&i()),l},clearImmediate(i){If(i)}},{setImmediate:Tv,clearImmediate:Mf}=Ha,Ua={setImmediate(...i){const{delegate:l}=Ua;return(l?.setImmediate||Tv)(...i)},clearImmediate(i){const{delegate:l}=Ua;return(l?.clearImmediate||Mf)(i)},delegate:void 0};new class $a extends Da{flush(l){this._active=!0;const r=this._scheduled;this._scheduled=void 0;const{actions:s}=this;let d;l=l||s.shift();do{if(d=l.execute(l.state,l.delay))break}while((l=s[0])&&l.id===r&&s.shift());if(this._active=!1,d){for(;(l=s[0])&&l.id===r&&s.shift();)l.unsubscribe();throw d}}}(class bo extends Nd{constructor(l,r){super(l,r),this.scheduler=l,this.work=r}requestAsyncId(l,r,s=0){return null!==s&&s>0?super.requestAsyncId(l,r,s):(l.actions.push(this),l._scheduled||(l._scheduled=Ua.setImmediate(l.flush.bind(l,void 0))))}recycleAsyncId(l,r,s=0){var d;if(null!=s?s>0:this.delay>0)return super.recycleAsyncId(l,r,s);const{actions:g}=l;null!=r&&(null===(d=g[g.length-1])||void 0===d?void 0:d.id)!==r&&(Ua.clearImmediate(r),l._scheduled===r&&(l._scheduled=void 0))}});function xf(i,l=er){return function Og(i){return(0,bn.N)((l,r)=>{let s=!1,d=null,g=null,_=!1;const D=()=>{if(g?.unsubscribe(),g=null,s){s=!1;const T=d;d=null,r.next(T)}_&&r.complete()},E=()=>{g=null,_&&r.complete()};l.subscribe((0,dn._)(r,T=>{s=!0,d=T,g||un(i(T)).subscribe(g=(0,dn._)(r,D,E))},()=>{_=!0,(!s||!g||g.closed)&&r.complete()}))})}(()=>os(i,l))}let Sv=(()=>{class i{_ngZone=(0,u.WQX)(u.SKi);_platform=(0,u.WQX)(tr);_document=(0,u.WQX)(Q,{optional:!0});constructor(){}_scrolled=new We.B;_globalSubscription=null;_scrolledCount=0;scrollContainers=new Map;register(r){this.scrollContainers.has(r)||this.scrollContainers.set(r,r.elementScrolled().subscribe(()=>this._scrolled.next(r)))}deregister(r){const s=this.scrollContainers.get(r);s&&(s.unsubscribe(),this.scrollContainers.delete(r))}scrolled(r=20){return this._platform.isBrowser?new vt.c(s=>{this._globalSubscription||this._addGlobalListener();const d=r>0?this._scrolled.pipe(xf(r)).subscribe(s):this._scrolled.subscribe(s);return this._scrolledCount++,()=>{d.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Vr()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((r,s)=>this.deregister(s)),this._scrolled.complete()}ancestorScrolled(r,s){const d=this.getAncestorScrollContainers(r);return this.scrolled(s).pipe((0,Bn.p)(g=>!g||d.indexOf(g)>-1))}getAncestorScrollContainers(r){const s=[];return this.scrollContainers.forEach((d,g)=>{this._scrollableContainsElement(g,r)&&s.push(g)}),s}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(r,s){let d=Xi(s),g=r.getElementRef().nativeElement;do{if(d==g)return!0}while(d=d.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Ur(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Av=(()=>{class i{elementRef=(0,u.WQX)(u.aKT);scrollDispatcher=(0,u.WQX)(Sv);ngZone=(0,u.WQX)(u.SKi);dir=(0,u.WQX)(Pa,{optional:!0});_destroyed=new We.B;_elementScrolled=new vt.c(r=>this.ngZone.runOutsideAngular(()=>Ur(this.elementRef.nativeElement,"scroll").pipe(Vn(this._destroyed)).subscribe(r)));constructor(){}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(r){const s=this.elementRef.nativeElement,d=this.dir&&"rtl"==this.dir.value;null==r.left&&(r.left=d?r.end:r.start),null==r.right&&(r.right=d?r.start:r.end),null!=r.bottom&&(r.top=s.scrollHeight-s.clientHeight-r.bottom),d&&jr()!=jn.NORMAL?(null!=r.left&&(r.right=s.scrollWidth-s.clientWidth-r.left),jr()==jn.INVERTED?r.left=r.right:jr()==jn.NEGATED&&(r.left=r.right?-r.right:r.right)):null!=r.right&&(r.left=s.scrollWidth-s.clientWidth-r.right),this._applyScrollToOptions(r)}_applyScrollToOptions(r){const s=this.elementRef.nativeElement;!function ny(){if(null==ei){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ei=!1,ei;if("scrollBehavior"in document.documentElement.style)ei=!0;else{const i=Element.prototype.scrollTo;ei=!!i&&!/\{\s*\[native code\]\s*\}/.test(i.toString())}}return ei}()?(null!=r.top&&(s.scrollTop=r.top),null!=r.left&&(s.scrollLeft=r.left)):s.scrollTo(r)}measureScrollOffset(r){const s="left",d="right",g=this.elementRef.nativeElement;if("top"==r)return g.scrollTop;if("bottom"==r)return g.scrollHeight-g.clientHeight-g.scrollTop;const _=this.dir&&"rtl"==this.dir.value;return"start"==r?r=_?d:s:"end"==r&&(r=_?s:d),_&&jr()==jn.INVERTED?r==s?g.scrollWidth-g.clientWidth-g.scrollLeft:g.scrollLeft:_&&jr()==jn.NEGATED?r==s?g.scrollLeft+g.scrollWidth-g.clientWidth:-g.scrollLeft:r==s?g.scrollLeft:g.scrollWidth-g.clientWidth-g.scrollLeft}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return i})(),Fv=(()=>{class i{_platform=(0,u.WQX)(tr);_viewportSize;_change=new We.B;_changeListener=r=>{this._change.next(r)};_document=(0,u.WQX)(Q,{optional:!0});constructor(){(0,u.WQX)(u.SKi).runOutsideAngular(()=>{if(this._platform.isBrowser){const s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const r=this._getWindow();r.removeEventListener("resize",this._changeListener),r.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const r={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),r}getViewportRect(){const r=this.getViewportScrollPosition(),{width:s,height:d}=this.getViewportSize();return{top:r.top,left:r.left,bottom:r.top+d,right:r.left+s,height:d,width:s}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const r=this._document,s=this._getWindow(),d=r.documentElement,g=d.getBoundingClientRect();return{top:-g.top||r.body.scrollTop||s.scrollY||d.scrollTop||0,left:-g.left||r.body.scrollLeft||s.scrollX||d.scrollLeft||0}}change(r=20){return r>0?this._change.pipe(xf(r)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const r=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:r.innerWidth,height:r.innerHeight}:{width:0,height:0}}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),jg=(()=>{class i{create(r){return typeof MutationObserver>"u"?null:new MutationObserver(r)}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Hg=(()=>{class i{_mutationObserverFactory=(0,u.WQX)(jg);_observedElements=new Map;_ngZone=(0,u.WQX)(u.SKi);constructor(){}ngOnDestroy(){this._observedElements.forEach((r,s)=>this._cleanupObserver(s))}observe(r){const s=Xi(r);return new vt.c(d=>{const _=this._observeElement(s).pipe((0,Cn.T)(D=>D.filter(E=>!function Bg(i){if("characterData"===i.type&&i.target instanceof Comment)return!0;if("childList"===i.type){for(let l=0;l!!D.length)).subscribe(D=>{this._ngZone.run(()=>{d.next(D)})});return()=>{_.unsubscribe(),this._unobserveElement(s)}})}_observeElement(r){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(r))this._observedElements.get(r).count++;else{const s=new We.B,d=this._mutationObserverFactory.create(g=>s.next(g));d&&d.observe(r,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(r,{observer:d,stream:s,count:1})}return this._observedElements.get(r).stream})}_unobserveElement(r){this._observedElements.has(r)&&(this._observedElements.get(r).count--,this._observedElements.get(r).count||this._cleanupObserver(r))}_cleanupObserver(r){if(this._observedElements.has(r)){const{observer:s,stream:d}=this._observedElements.get(r);s&&s.disconnect(),d.complete(),this._observedElements.delete(r)}}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Ug=(()=>{class i{_contentObserver=(0,u.WQX)(Hg);_elementRef=(0,u.WQX)(u.aKT);event=new u.bkB;get disabled(){return this._disabled}set disabled(r){this._disabled=r,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(r){this._debounce=function ig(i,l=0){return function Qi(i){return!isNaN(parseFloat(i))&&!isNaN(Number(i))}(i)?Number(i):2===arguments.length?l:0}(r),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const r=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?r.pipe($i(this.debounce)):r).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",u.L39],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],features:[u.GFd]})}return i})();var Jt=x(969);const Af=["*"];function Ec(i,l){1&i&&u.SdG(0)}const RE=["tabListContainer"],Pv=["tabList"],$g=["tabListInner"],PE=["nextPaginator"],Lv=["previousPaginator"],Vv=i=>({animationDuration:i}),Ga=(i,l)=>({value:i,params:l});function Ic(i,l){}const Bv=["tabBodyWrapper"],jv=["tabHeader"];function Hv(i,l){}function Uv(i,l){if(1&i&&u.DNE(0,Hv,0,0,"ng-template",12),2&i){const r=u.XpG().$implicit;u.Y8G("cdkPortalOutlet",r.templateLabel)}}function $v(i,l){if(1&i&&u.EFF(0),2&i){const r=u.XpG().$implicit;u.JRh(r.textLabel)}}function Gv(i,l){if(1&i){const r=u.RV6();u.j41(0,"div",7,2),u.bIt("click",function(){const d=u.eBV(r),g=d.$implicit,_=d.$index,D=u.XpG(),E=u.sdS(1);return u.Njj(D._handleClick(g,E,_))})("cdkFocusChange",function(d){const g=u.eBV(r).$index,_=u.XpG();return u.Njj(_._tabFocusChanged(d,g))}),u.nrm(2,"span",8)(3,"div",9),u.j41(4,"span",10)(5,"span",11),u.DNE(6,Uv,1,1,null,12)(7,$v,1,1),u.k0s()()()}if(2&i){const r=l.$implicit,s=l.$index,d=u.sdS(1),g=u.XpG();u.HbH(r.labelClass),u.AVh("mdc-tab--active",g.selectedIndex===s),u.Y8G("id",g._getTabLabelId(s))("disabled",r.disabled)("fitInkBarToContent",g.fitInkBarToContent),u.BMQ("tabIndex",g._getTabIndex(s))("aria-posinset",s+1)("aria-setsize",g._tabs.length)("aria-controls",g._getTabContentId(s))("aria-selected",g.selectedIndex===s)("aria-label",r.ariaLabel||null)("aria-labelledby",!r.ariaLabel&&r.ariaLabelledby?r.ariaLabelledby:null),u.R7$(3),u.Y8G("matRippleTrigger",d)("matRippleDisabled",r.disabled||g.disableRipple),u.R7$(3),u.vxM(r.templateLabel?6:7)}}function zv(i,l){1&i&&u.SdG(0)}function Gg(i,l){if(1&i){const r=u.RV6();u.j41(0,"mat-tab-body",13),u.bIt("_onCentered",function(){u.eBV(r);const d=u.XpG();return u.Njj(d._removeTabBodyWrapperHeight())})("_onCentering",function(d){u.eBV(r);const g=u.XpG();return u.Njj(g._setTabBodyWrapperHeight(d))}),u.k0s()}if(2&i){const r=l.$implicit,s=l.$index,d=u.XpG();u.HbH(r.bodyClass),u.AVh("mat-mdc-tab-body-active",d.selectedIndex===s),u.Y8G("id",d._getTabContentId(s))("content",r.content)("position",r.position)("origin",r.origin)("animationDuration",d.animationDuration)("preserveContent",d.preserveContent),u.BMQ("tabindex",null!=d.contentTabIndex&&d.selectedIndex===s?d.contentTabIndex:null)("aria-labelledby",d._getTabLabelId(s))("aria-hidden",d.selectedIndex!==s)}}const Wv=new u.nKC("MatTabContent");let qv=(()=>{class i{template=(0,u.WQX)(u.C4Q);constructor(){}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,selectors:[["","matTabContent",""]],features:[u.Jv_([{provide:Wv,useExisting:i}])]})}return i})();const Kv=new u.nKC("MatTabLabel"),Wg=new u.nKC("MAT_TAB");let Zv=(()=>{class i extends vv{_closestTab=(0,u.WQX)(Wg,{optional:!0});static \u0275fac=(()=>{let r;return function(d){return(r||(r=u.xGo(i)))(d||i)}})();static \u0275dir=u.FsC({type:i,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[u.Jv_([{provide:Kv,useExisting:i}]),u.Vt3]})}return i})();const qg=new u.nKC("MAT_TAB_GROUP");let Nf=(()=>{class i{_viewContainerRef=(0,u.WQX)(u.c1b);_closestTabGroup=(0,u.WQX)(qg,{optional:!0});disabled=!1;get templateLabel(){return this._templateLabel}set templateLabel(r){this._setTemplateLabelInput(r)}_templateLabel;_explicitContent=void 0;_implicitContent;textLabel="";ariaLabel;ariaLabelledby;labelClass;bodyClass;_contentPortal=null;get content(){return this._contentPortal}_stateChanges=new We.B;position=null;origin=null;isActive=!1;constructor(){(0,u.WQX)(pf).load(mc)}ngOnChanges(r){(r.hasOwnProperty("textLabel")||r.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new rs(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(r){r&&r._closestTab===this&&(this._templateLabel=r)}static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["mat-tab"]],contentQueries:function(s,d,g){if(1&s&&(u.wni(g,Zv,5),u.wni(g,qv,7,u.C4Q)),2&s){let _;u.mGM(_=u.lsd())&&(d.templateLabel=_.first),u.mGM(_=u.lsd())&&(d._explicitContent=_.first)}},viewQuery:function(s,d){if(1&s&&u.GBs(u.C4Q,7),2&s){let g;u.mGM(g=u.lsd())&&(d._implicitContent=g.first)}},hostAttrs:["hidden",""],inputs:{disabled:[2,"disabled","disabled",u.L39],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[u.Jv_([{provide:Wg,useExisting:i}]),u.GFd,u.OA$],ngContentSelectors:Af,decls:1,vars:0,template:function(s,d){1&s&&(u.NAR(),u.DNE(0,Ec,1,0,"ng-template"))},encapsulation:2})}return i})();const Ff="mdc-tab-indicator--active",Kg="mdc-tab-indicator--no-transition";class Qv{_items;_currentItem;constructor(l){this._items=l}hide(){this._items.forEach(l=>l.deactivateInkBar())}alignToElement(l){const r=this._items.find(d=>d.elementRef.nativeElement===l),s=this._currentItem;if(r!==s&&(s?.deactivateInkBar(),r)){const d=s?.elementRef.nativeElement.getBoundingClientRect?.();r.activateInkBar(d),this._currentItem=r}}}let Xv=(()=>{class i{_elementRef=(0,u.WQX)(u.aKT);_inkBarElement;_inkBarContentElement;_fitToContent=!1;get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(r){this._fitToContent!==r&&(this._fitToContent=r,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(r){const s=this._elementRef.nativeElement;if(!r||!s.getBoundingClientRect||!this._inkBarContentElement)return void s.classList.add(Ff);const d=s.getBoundingClientRect(),g=r.width/d.width,_=r.left-d.left;s.classList.add(Kg),this._inkBarContentElement.style.setProperty("transform",`translateX(${_}px) scaleX(${g})`),s.getBoundingClientRect(),s.classList.remove(Kg),s.classList.add(Ff),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(Ff)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const r=this._elementRef.nativeElement.ownerDocument||document,s=this._inkBarElement=r.createElement("span"),d=this._inkBarContentElement=r.createElement("span");s.className="mdc-tab-indicator",d.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",s.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement).appendChild(this._inkBarElement)}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",u.L39]},features:[u.GFd]})}return i})(),Mc=(()=>{class i extends Xv{elementRef=(0,u.WQX)(u.aKT);disabled=!1;focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static \u0275fac=(()=>{let r;return function(d){return(r||(r=u.xGo(i)))(d||i)}})();static \u0275dir=u.FsC({type:i,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(s,d){2&s&&(u.BMQ("aria-disabled",!!d.disabled),u.AVh("mat-mdc-tab-disabled",d.disabled))},inputs:{disabled:[2,"disabled","disabled",u.L39]},features:[u.GFd,u.Vt3]})}return i})();const Zg=Ma({passive:!0});let tb=(()=>{class i{_elementRef=(0,u.WQX)(u.aKT);_changeDetectorRef=(0,u.WQX)(u.gRc);_viewportRuler=(0,u.WQX)(Fv);_dir=(0,u.WQX)(Pa,{optional:!0});_ngZone=(0,u.WQX)(u.SKi);_platform=(0,u.WQX)(tr);_animationMode=(0,u.WQX)(u.bc$,{optional:!0});_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new We.B;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged;_keyManager;_currentTextContent;_stopScrolling=new We.B;disablePagination=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(r){const s=isNaN(r)?0:r;this._selectedIndex!=s&&(this._selectedIndexChanged=!0,this._selectedIndex=s,this._keyManager&&this._keyManager.updateActiveItem(s))}_selectedIndex=0;selectFocusedIndex=new u.bkB;indexFocused=new u.bkB;_sharedResizeObserver=(0,u.WQX)(Ev);_injector=(0,u.WQX)(u.zZn);constructor(){this._ngZone.runOutsideAngular(()=>{Ur(this._elementRef.nativeElement,"mouseleave").pipe(Vn(this._destroyed)).subscribe(()=>this._stopInterval())})}ngAfterViewInit(){Ur(this._previousPaginator.nativeElement,"touchstart",Zg).pipe(Vn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Ur(this._nextPaginator.nativeElement,"touchstart",Zg).pipe(Vn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const r=this._dir?this._dir.change:Vr("ltr"),s=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe($i(32),Vn(this._destroyed)),d=this._viewportRuler.change(150).pipe(Vn(this._destroyed)),g=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new tf(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),(0,u.mal)(g,{injector:this._injector}),ba(r,d,s,this._items.changes,this._itemsResized()).pipe(Vn(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),g()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(_=>{this.indexFocused.emit(_),this._setTabFocus(_)})}_itemsResized(){return"function"!=typeof ResizeObserver?ji.w:this._items.changes.pipe(Fa(this._items),function Vg(i,l){return(0,bn.N)((r,s)=>{let d=null,g=0,_=!1;const D=()=>_&&!d&&s.complete();r.subscribe((0,dn._)(s,E=>{d?.unsubscribe();let T=0;const O=g++;un(i(E,O)).subscribe(d=(0,dn._)(s,j=>s.next(l?l(E,j,O,T++):j),()=>{d=null,D()}))},()=>{_=!0,D()}))})}(r=>new vt.c(s=>this._ngZone.runOutsideAngular(()=>{const d=new ResizeObserver(g=>s.next(g));return r.forEach(g=>d.observe(g.elementRef.nativeElement)),()=>{d.disconnect()}}))),lc(1),(0,Bn.p)(r=>r.some(s=>s.contentRect.width>0&&s.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(r){if(!Na(r))switch(r.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){const s=this._items.get(this.focusIndex);s&&!s.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(r))}break;default:this._keyManager.onKeydown(r)}}_onContentChanges(){const r=this._elementRef.nativeElement.textContent;r!==this._currentTextContent&&(this._currentTextContent=r||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(r){!this._isValidIndex(r)||this.focusIndex===r||!this._keyManager||this._keyManager.setActiveItem(r)}_isValidIndex(r){return!this._items||!!this._items.toArray()[r]}_setTabFocus(r){if(this._showPaginationControls&&this._scrollToLabel(r),this._items&&this._items.length){this._items.toArray()[r].focus();const s=this._tabListContainer.nativeElement;s.scrollLeft="ltr"==this._getLayoutDirection()?0:s.scrollWidth-s.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const r=this.scrollDistance,s="ltr"===this._getLayoutDirection()?-r:r;this._tabList.nativeElement.style.transform=`translateX(${Math.round(s)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(r){this._scrollTo(r)}_scrollHeader(r){return this._scrollTo(this._scrollDistance+("before"==r?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(r){this._stopInterval(),this._scrollHeader(r)}_scrollToLabel(r){if(this.disablePagination)return;const s=this._items?this._items.toArray()[r]:null;if(!s)return;const d=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:g,offsetWidth:_}=s.elementRef.nativeElement;let D,E;"ltr"==this._getLayoutDirection()?(D=g,E=D+_):(E=this._tabListInner.nativeElement.offsetWidth-g,D=E-_);const T=this.scrollDistance,O=this.scrollDistance+d;DO&&(this.scrollDistance+=Math.min(E-O,D-T))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const d=this._tabListInner.nativeElement.scrollWidth-this._elementRef.nativeElement.offsetWidth>=5;d||(this.scrollDistance=0),d!==this._showPaginationControls&&(this._showPaginationControls=d,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const r=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,s=r?r.elementRef.nativeElement:null;s?this._inkBar.alignToElement(s):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(r,s){s&&null!=s.button&&0!==s.button||(this._stopInterval(),os(650,100).pipe(Vn(ba(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:d,distance:g}=this._scrollHeader(r);(0===g||g>=d)&&this._stopInterval()}))}_scrollTo(r){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const s=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(s,r)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:s,distance:this._scrollDistance}}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,inputs:{disablePagination:[2,"disablePagination","disablePagination",u.L39],selectedIndex:[2,"selectedIndex","selectedIndex",u.Udg]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[u.GFd]})}return i})(),Xg=(()=>{class i extends tb{_items;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;ariaLabel;ariaLabelledby;disableRipple=!1;ngAfterContentInit(){this._inkBar=new Qv(this._items),super.ngAfterContentInit()}_itemSelected(r){r.preventDefault()}static \u0275fac=(()=>{let r;return function(d){return(r||(r=u.xGo(i)))(d||i)}})();static \u0275cmp=u.VBU({type:i,selectors:[["mat-tab-header"]],contentQueries:function(s,d,g){if(1&s&&u.wni(g,Mc,4),2&s){let _;u.mGM(_=u.lsd())&&(d._items=_)}},viewQuery:function(s,d){if(1&s&&(u.GBs(RE,7),u.GBs(Pv,7),u.GBs($g,7),u.GBs(PE,5),u.GBs(Lv,5)),2&s){let g;u.mGM(g=u.lsd())&&(d._tabListContainer=g.first),u.mGM(g=u.lsd())&&(d._tabList=g.first),u.mGM(g=u.lsd())&&(d._tabListInner=g.first),u.mGM(g=u.lsd())&&(d._nextPaginator=g.first),u.mGM(g=u.lsd())&&(d._previousPaginator=g.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(s,d){2&s&&u.AVh("mat-mdc-tab-header-pagination-controls-enabled",d._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==d._getLayoutDirection())},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",u.L39]},features:[u.GFd,u.Vt3],ngContentSelectors:Af,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(s,d){if(1&s){const g=u.RV6();u.NAR(),u.j41(0,"div",5,0),u.bIt("click",function(){return u.eBV(g),u.Njj(d._handlePaginatorClick("before"))})("mousedown",function(D){return u.eBV(g),u.Njj(d._handlePaginatorPress("before",D))})("touchend",function(){return u.eBV(g),u.Njj(d._stopInterval())}),u.nrm(2,"div",6),u.k0s(),u.j41(3,"div",7,1),u.bIt("keydown",function(D){return u.eBV(g),u.Njj(d._handleKeydown(D))}),u.j41(5,"div",8,2),u.bIt("cdkObserveContent",function(){return u.eBV(g),u.Njj(d._onContentChanges())}),u.j41(7,"div",9,3),u.SdG(9),u.k0s()()(),u.j41(10,"div",10,4),u.bIt("mousedown",function(D){return u.eBV(g),u.Njj(d._handlePaginatorPress("after",D))})("click",function(){return u.eBV(g),u.Njj(d._handlePaginatorClick("after"))})("touchend",function(){return u.eBV(g),u.Njj(d._stopInterval())}),u.nrm(12,"div",6),u.k0s()}2&s&&(u.AVh("mat-mdc-tab-header-pagination-disabled",d._disableScrollBefore),u.Y8G("matRippleDisabled",d._disableScrollBefore||d.disableRipple),u.R7$(3),u.AVh("_mat-animation-noopable","NoopAnimations"===d._animationMode),u.R7$(2),u.BMQ("aria-label",d.ariaLabel||null)("aria-labelledby",d.ariaLabelledby||null),u.R7$(5),u.AVh("mat-mdc-tab-header-pagination-disabled",d._disableScrollAfter),u.Y8G("matRippleDisabled",d._disableScrollAfter||d.disableRipple))},dependencies:[ns,Ug],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height, 1px);border-bottom-color:var(--mat-tab-header-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height, 1px);border-top-color:var(--mat-tab-header-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-labels,.mat-mdc-tab-labels.cdk-drop-list{min-height:var(--mdc-secondary-navigation-tab-container-height, 48px)}.mat-mdc-tab::before{margin:5px}@media(forced-colors: active){.mat-mdc-tab[aria-disabled=true]{color:GrayText}}"],encapsulation:2})}return i})();const VE=new u.nKC("MAT_TABS_CONFIG"),nb={translateTab:(0,Jt.hZ)("translateTab",[(0,Jt.wk)("center, void, left-origin-center, right-origin-center",(0,Jt.iF)({transform:"none",visibility:"visible"})),(0,Jt.wk)("left",(0,Jt.iF)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,Jt.wk)("right",(0,Jt.iF)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,Jt.kY)("* => left, * => right, left => center, right => center",(0,Jt.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,Jt.kY)("void => left-origin-center",[(0,Jt.iF)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,Jt.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,Jt.kY)("void => right-origin-center",[(0,Jt.iF)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,Jt.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let BE=(()=>{class i extends Df{_host=(0,u.WQX)(kf);_centeringSub=fn.yU.EMPTY;_leavingSub=fn.yU.EMPTY;constructor(){super()}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Fa(this._host._isCenterPosition(this._host._position))).subscribe(r=>{this._host._content&&r&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,selectors:[["","matTabBodyHost",""]],features:[u.Vt3]})}return i})(),kf=(()=>{class i{_elementRef=(0,u.WQX)(u.aKT);_dir=(0,u.WQX)(Pa,{optional:!0});_positionIndex;_dirChangeSubscription=fn.yU.EMPTY;_position;_translateTabComplete=new We.B;_onCentering=new u.bkB;_beforeCentering=new u.bkB;_afterLeavingCenter=new u.bkB;_onCentered=new u.bkB(!0);_portalHost;_content;origin;animationDuration="500ms";preserveContent=!1;set position(r){this._positionIndex=r,this._computePositionAnimationState()}constructor(){if(this._dir){const r=(0,u.WQX)(u.gRc);this._dirChangeSubscription=this._dir.change.subscribe(s=>{this._computePositionAnimationState(s),r.markForCheck()})}this._translateTabComplete.subscribe(r=>{this._isCenterPosition(r.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(r.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(r){const s=this._isCenterPosition(r.toState);this._beforeCentering.emit(s),s&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(r){return"center"==r||"left-origin-center"==r||"right-origin-center"==r}_computePositionAnimationState(r=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==r?"left":"right":this._positionIndex>0?"ltr"==r?"right":"left":"center"}_computePositionFromOrigin(r){const s=this._getLayoutDirection();return"ltr"==s&&r<=0||"rtl"==s&&r>0?"left-origin-center":"right-origin-center"}static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["mat-tab-body"]],viewQuery:function(s,d){if(1&s&&u.GBs(Df,5),2&s){let g;u.mGM(g=u.lsd())&&(d._portalHost=g.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[0,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(s,d){if(1&s){const g=u.RV6();u.j41(0,"div",1,0),u.bIt("@translateTab.start",function(D){return u.eBV(g),u.Njj(d._onTranslateTabStarted(D))})("@translateTab.done",function(D){return u.eBV(g),u.Njj(d._translateTabComplete.next(D))}),u.DNE(2,Ic,0,0,"ng-template",2),u.k0s()}2&s&&u.Y8G("@translateTab",u.l_i(3,Ga,d._position,u.eq3(1,Vv,d.animationDuration)))},dependencies:[BE,Av],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[nb.translateTab]}})}return i})(),Of=(()=>{class i{_elementRef=(0,u.WQX)(u.aKT);_changeDetectorRef=(0,u.WQX)(u.gRc);_animationMode=(0,u.WQX)(u.bc$,{optional:!0});_allTabs;_tabBodyWrapper;_tabHeader;_tabs=new u.rOR;_indexToSelect=0;_lastFocusedTabIndex=null;_tabBodyWrapperHeight=0;_tabsSubscription=fn.yU.EMPTY;_tabLabelSubscription=fn.yU.EMPTY;color;get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(r){this._fitInkBarToContent=r,this._changeDetectorRef.markForCheck()}_fitInkBarToContent=!1;stretchTabs=!0;alignTabs=null;dynamicHeight=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(r){this._indexToSelect=isNaN(r)?null:r}_selectedIndex=null;headerPosition="above";get animationDuration(){return this._animationDuration}set animationDuration(r){const s=r+"";this._animationDuration=/^\d+$/.test(s)?r+"ms":s}_animationDuration;get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(r){this._contentTabIndex=isNaN(r)?null:r}_contentTabIndex;disablePagination=!1;disableRipple=!1;preserveContent=!1;get backgroundColor(){return this._backgroundColor}set backgroundColor(r){const s=this._elementRef.nativeElement.classList;s.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),r&&s.add("mat-tabs-with-background",`mat-background-${r}`),this._backgroundColor=r}_backgroundColor;ariaLabel;ariaLabelledby;selectedIndexChange=new u.bkB;focusChange=new u.bkB;animationDone=new u.bkB;selectedTabChange=new u.bkB(!0);_groupId;_isServer=!(0,u.WQX)(tr).isBrowser;constructor(){const r=(0,u.WQX)(VE,{optional:!0});this._groupId=(0,u.WQX)(bg).getId("mat-tab-group-"),this.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",this.disablePagination=!(!r||null==r.disablePagination)&&r.disablePagination,this.dynamicHeight=!(!r||null==r.dynamicHeight)&&r.dynamicHeight,null!=r?.contentTabIndex&&(this.contentTabIndex=r.contentTabIndex),this.preserveContent=!!r?.preserveContent,this.fitInkBarToContent=!(!r||null==r.fitInkBarToContent)&&r.fitInkBarToContent,this.stretchTabs=!r||null==r.stretchTabs||r.stretchTabs,this.alignTabs=r&&null!=r.alignTabs?r.alignTabs:null}ngAfterContentChecked(){const r=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=r){const s=null==this._selectedIndex;if(!s){this.selectedTabChange.emit(this._createChangeEvent(r));const d=this._tabBodyWrapper.nativeElement;d.style.minHeight=d.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((d,g)=>d.isActive=g===r),s||(this.selectedIndexChange.emit(r),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((s,d)=>{s.position=d-r,null!=this._selectedIndex&&0==s.position&&!s.origin&&(s.origin=r-this._selectedIndex)}),this._selectedIndex!==r&&(this._selectedIndex=r,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const r=this._clampTabIndex(this._indexToSelect);if(r===this._selectedIndex){const s=this._tabs.toArray();let d;for(let g=0;g{s[r].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(r))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Fa(this._allTabs)).subscribe(r=>{this._tabs.reset(r.filter(s=>s._closestTabGroup===this||!s._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(r){const s=this._tabHeader;s&&(s.focusIndex=r)}_focusChanged(r){this._lastFocusedTabIndex=r,this.focusChange.emit(this._createChangeEvent(r))}_createChangeEvent(r){const s=new rb;return s.index=r,this._tabs&&this._tabs.length&&(s.tab=this._tabs.toArray()[r]),s}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=ba(...this._tabs.map(r=>r._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(r){return Math.min(this._tabs.length-1,Math.max(r||0,0))}_getTabLabelId(r){return`${this._groupId}-label-${r}`}_getTabContentId(r){return`${this._groupId}-content-${r}`}_setTabBodyWrapperHeight(r){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return;const s=this._tabBodyWrapper.nativeElement;s.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(s.style.height=r+"px")}_removeTabBodyWrapperHeight(){const r=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=r.clientHeight,r.style.height="",this.animationDone.emit()}_handleClick(r,s,d){s.focusIndex=d,r.disabled||(this.selectedIndex=d)}_getTabIndex(r){return r===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(r,s){r&&"mouse"!==r&&"touch"!==r&&(this._tabHeader.focusIndex=s)}static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["mat-tab-group"]],contentQueries:function(s,d,g){if(1&s&&u.wni(g,Nf,5),2&s){let _;u.mGM(_=u.lsd())&&(d._allTabs=_)}},viewQuery:function(s,d){if(1&s&&(u.GBs(Bv,5),u.GBs(jv,5)),2&s){let g;u.mGM(g=u.lsd())&&(d._tabBodyWrapper=g.first),u.mGM(g=u.lsd())&&(d._tabHeader=g.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:11,hostBindings:function(s,d){2&s&&(u.BMQ("mat-align-tabs",d.alignTabs),u.HbH("mat-"+(d.color||"primary")),u.xc7("--mat-tab-animation-duration",d.animationDuration),u.AVh("mat-mdc-tab-group-dynamic-height",d.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===d.headerPosition)("mat-mdc-tab-group-stretch-tabs",d.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",u.L39],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",u.L39],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",u.L39],selectedIndex:[2,"selectedIndex","selectedIndex",u.Udg],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",u.Udg],disablePagination:[2,"disablePagination","disablePagination",u.L39],disableRipple:[2,"disableRipple","disableRipple",u.L39],preserveContent:[2,"preserveContent","preserveContent",u.L39],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[u.Jv_([{provide:qg,useExisting:i}]),u.GFd],ngContentSelectors:Af,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","id","content","position","origin","animationDuration","preserveContent"]],template:function(s,d){if(1&s){const g=u.RV6();u.NAR(),u.j41(0,"mat-tab-header",3,0),u.bIt("indexFocused",function(D){return u.eBV(g),u.Njj(d._focusChanged(D))})("selectFocusedIndex",function(D){return u.eBV(g),u.Njj(d.selectedIndex=D)}),u.Z7z(2,Gv,8,17,"div",4,u.fX1),u.k0s(),u.DNE(4,zv,1,0),u.j41(5,"div",5,1),u.Z7z(7,Gg,1,13,"mat-tab-body",6,u.fX1),u.k0s()}2&s&&(u.Y8G("selectedIndex",d.selectedIndex||0)("disableRipple",d.disableRipple)("disablePagination",d.disablePagination)("aria-label",d.ariaLabel)("aria-labelledby",d.ariaLabelledby),u.R7$(2),u.Dyx(d._tabs),u.R7$(2),u.vxM(d._isServer?4:-1),u.R7$(),u.AVh("_mat-animation-noopable","NoopAnimations"===d._animationMode),u.R7$(2),u.Dyx(d._tabs))},dependencies:[Xg,Mc,Yi,ns,Df,kf],styles:['.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height, 48px);font-family:var(--mat-tab-header-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-sys-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-sys-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height, 2px);border-radius:var(--mdc-tab-indicator-active-indicator-shape, 0)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-sys-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}return i})();class rb{index;tab}let Tc=(()=>{class i{static \u0275fac=function(s){return new(s||i)};static \u0275mod=u.$C({type:i});static \u0275inj=u.G2t({imports:[wg,wg]})}return i})();const em=["*"];let tm=(()=>{class i{desc;static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["app-sample-section"]],inputs:{desc:"desc"},ngContentSelectors:em,decls:12,vars:2,consts:[[1,"card","card-block","panel","panel-default","panel-body"],[1,"card-body"],["label","Markup"],[1,"prettyprint","linenums","lang-html"],["label","TypeScript"],[1,"prettyprint","linenums","lang-js"]],template:function(s,d){1&s&&(u.NAR(),u.SdG(0),u.j41(1,"div",0)(2,"div",1)(3,"mat-tab-group")(4,"mat-tab",2)(5,"div",0)(6,"pre",3),u.EFF(7),u.k0s()()(),u.j41(8,"mat-tab",4)(9,"div",0)(10,"pre",5),u.EFF(11),u.k0s()()()()()()),2&s&&(u.R7$(7),u.JRh(d.desc.html.default),u.R7$(4),u.JRh(d.desc.ts.default))},dependencies:[Tc,Nf,Of],encapsulation:2})}return i})(),HE=(()=>{class i{items=["Amsterdam","Antwerp","Athens","Barcelona","Berlin","Birmingham","Bradford","Bremen","Brussels","Bucharest","Budapest","Cologne","Copenhagen","Dortmund","Dresden","Dublin","D\xfcsseldorf","Essen","Frankfurt","Genoa","Glasgow","Gothenburg","Hamburg","Hannover","Helsinki","Krak\xf3w","Leeds","Leipzig","Lisbon","London","Madrid","Manchester","Marseille","Milan","Munich","M\xe1laga","Naples","Palermo","Paris","Pozna\u0144","Prague","Riga","Rome","Rotterdam","Seville","Sheffield","Sofia","Stockholm","Stuttgart","The Hague","Turin","Valencia","Vienna","Vilnius","Warsaw","Wroc\u0142aw","Zagreb","Zaragoza","\u0141\xf3d\u017a"];ngxControl=new Gt;_ngxDefaultTimeout;_ngxDefaultInterval;_ngxDefault;constructor(){this._ngxDefaultTimeout=setTimeout(()=>{this._ngxDefaultInterval=setInterval(()=>{const r=Math.floor(Math.random()*(this.items.length-1));this._ngxDefault=this.items[r]},2e3)},2e3)}ngOnDestroy(){clearTimeout(this._ngxDefaultTimeout),clearInterval(this._ngxDefaultInterval)}doNgxDefault(){return this._ngxDefault}inputTyped=(r,s)=>console.log("SingleDemoComponent.inputTyped",r,s);doFocus=()=>console.log("SingleDemoComponent.doFocus");doBlur=()=>console.log("SingleDemoComponent.doBlur");doOpen=()=>console.log("SingleDemoComponent.doOpen");doClose=()=>console.log("SingleDemoComponent.doClose");doSelect=r=>console.log("SingleDemoComponent.doSelect",r);doRemove=r=>console.log("SingleDemoComponent.doRemove",r);doSelectOptions=r=>console.log("SingleDemoComponent.doSelectOptions",r);static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["app-single-demo"]],decls:13,vars:8,consts:[[1,"example-block"],[1,"example-block__item"],["placeholder","No city selected",3,"typed","focus","blur","open","close","select","remove","selectionChanges","formControl","allowClear","defaultValue","items"],[1,"alert","alert-secondary"],["type","button",1,"btn","btn-primary",3,"click"]],template:function(s,d){1&s&&(u.j41(0,"h3"),u.EFF(1,"Select a single city"),u.k0s(),u.j41(2,"div",0)(3,"div",1)(4,"ngx-select",2),u.bIt("typed",function(_){return d.inputTyped("ngx-select",_)})("focus",function(){return d.doFocus()})("blur",function(){return d.doBlur()})("open",function(){return d.doOpen()})("close",function(){return d.doClose()})("select",function(_){return d.doSelect(_)})("remove",function(_){return d.doRemove(_)})("selectionChanges",function(_){return d.doSelectOptions(_)}),u.k0s(),u.nrm(5,"p"),u.j41(6,"div",3)(7,"pre"),u.EFF(8),u.nI1(9,"json"),u.k0s()(),u.j41(10,"div")(11,"button",4),u.bIt("click",function(){return d.ngxControl.disabled?d.ngxControl.enable():d.ngxControl.disable()}),u.EFF(12),u.k0s()()()()),2&s&&(u.R7$(4),u.Y8G("formControl",d.ngxControl)("allowClear",!0)("defaultValue",d.doNgxDefault())("items",d.items),u.R7$(4),u.JRh(u.bMT(9,6,d.ngxControl.value)),u.R7$(4),u.SpI(" ",d.ngxControl.disabled?"Enable":"Disable"," "))},dependencies:[cr,Jo,wn,Td,Uo,qo],encapsulation:2})}return i})(),nm=(()=>{class i{items=["Amsterdam","Antwerp","Athens","Barcelona","Berlin","Birmingham","Bradford","Bremen","Brussels","Bucharest","Budapest","Cologne","Copenhagen","Dortmund","Dresden","Dublin","D\xfcsseldorf","Essen","Frankfurt","Genoa","Glasgow","Gothenburg","Hamburg","Hannover","Helsinki","Leeds","Leipzig","Lisbon","\u0141\xf3d\u017a","London","Krak\xf3w","Madrid","M\xe1laga","Manchester","Marseille","Milan","Munich","Naples","Palermo","Paris","Pozna\u0144","Prague","Riga","Rome","Rotterdam","Seville","Sheffield","Sofia","Stockholm","Stuttgart","The Hague","Turin","Valencia","Vienna","Vilnius","Warsaw","Wroc\u0142aw","Zagreb","Zaragoza"];ngxValue=[];ngxDisabled=!1;doSelectOptions=r=>console.log("MultipleDemoComponent.doSelectOptions",r);static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["app-multiple-demo"]],decls:13,vars:9,consts:[[1,"example-block"],[1,"example-block__item"],["placeholder","No city selected",3,"ngModelChange","selectionChanges","multiple","items","disabled","ngModel","autoClearSearch"],[1,"alert","alert-secondary"],[1,"btn","btn-primary",3,"click"]],template:function(s,d){1&s&&(u.j41(0,"h3"),u.EFF(1,"Select multiple cities"),u.k0s(),u.j41(2,"div",0)(3,"div",1)(4,"ngx-select",2),u.mxI("ngModelChange",function(_){return u.DH7(d.ngxValue,_)||(d.ngxValue=_),_}),u.bIt("selectionChanges",function(_){return d.doSelectOptions(_)}),u.k0s(),u.nrm(5,"p"),u.j41(6,"div",3)(7,"pre"),u.EFF(8),u.nI1(9,"json"),u.k0s()(),u.j41(10,"div")(11,"button",4),u.bIt("click",function(){return d.ngxDisabled=!d.ngxDisabled}),u.EFF(12),u.k0s()()()()),2&s&&(u.R7$(4),u.Y8G("multiple",!0)("items",d.items)("disabled",d.ngxDisabled),u.R50("ngModel",d.ngxValue),u.Y8G("autoClearSearch",!0),u.R7$(4),u.JRh(u.bMT(9,7,d.ngxValue)),u.R7$(4),u.SpI(" ",d.ngxDisabled?"Enable":"Disable"," "))},dependencies:[Jo,wn,va,Uo,Wo,cr],encapsulation:2})}return i})(),Rf=(()=>{class i{items=[{id:100,text:"Austria",children:[{id:54,text:"Vienna"}]},{id:200,text:"Belgium",children:[{id:2,text:"Antwerp"},{id:9,text:"Brussels"}]},{id:300,text:"Bulgaria",children:[{id:48,text:"Sofia"}]},{id:400,text:"Croatia",children:[{id:58,text:"Zagreb"}]},{id:500,text:"Czech Republic",children:[{id:42,text:"Prague"}]},{id:600,text:"Denmark",children:[{id:13,text:"Copenhagen"}]},{id:700,text:"England",children:[{id:6,text:"Birmingham"},{id:7,text:"Bradford"},{id:26,text:"Leeds",disabled:!0},{id:30,text:"London"},{id:34,text:"Manchester"},{id:47,text:"Sheffield"}]},{id:800,text:"Finland",children:[{id:25,text:"Helsinki"}]},{id:900,text:"France",children:[{id:35,text:"Marseille"},{id:40,text:"Paris"}]},{id:1e3,text:"Germany",children:[{id:5,text:"Berlin"},{id:8,text:"Bremen"},{id:12,text:"Cologne"},{id:14,text:"Dortmund"},{id:15,text:"Dresden"},{id:17,text:"D\xfcsseldorf"},{id:18,text:"Essen"},{id:19,text:"Frankfurt"},{id:23,text:"Hamburg"},{id:24,text:"Hannover"},{id:27,text:"Leipzig"},{id:37,text:"Munich"},{id:50,text:"Stuttgart"}]},{id:1100,text:"Greece",children:[{id:3,text:"Athens"}]},{id:1200,text:"Hungary",children:[{id:11,text:"Budapest"}]},{id:1300,text:"Ireland",children:[{id:16,text:"Dublin"}]},{id:1400,text:"Italy",children:[{id:20,text:"Genoa"},{id:36,text:"Milan"},{id:38,text:"Naples"},{id:39,text:"Palermo"},{id:44,text:"Rome"},{id:52,text:"Turin"}]},{id:1500,text:"Latvia",children:[{id:43,text:"Riga"}]},{id:1600,text:"Lithuania",children:[{id:55,text:"Vilnius"}]},{id:1700,text:"Netherlands",children:[{id:1,text:"Amsterdam"},{id:45,text:"Rotterdam"},{id:51,text:"The Hague"}]},{id:1800,text:"Poland",children:[{id:29,text:"\u0141\xf3d\u017a"},{id:31,text:"Krak\xf3w"},{id:41,text:"Pozna\u0144"},{id:56,text:"Warsaw"},{id:57,text:"Wroc\u0142aw"}]},{id:1900,text:"Portugal",children:[{id:28,text:"Lisbon"}]},{id:2e3,text:"Romania",children:[{id:10,text:"Bucharest"}]},{id:2100,text:"Scotland",children:[{id:21,text:"Glasgow"}]},{id:2200,text:"Spain",children:[{id:4,text:"Barcelona"},{id:32,text:"Madrid"},{id:33,text:"M\xe1laga"},{id:46,text:"Seville"},{id:53,text:"Valencia"},{id:59,text:"Zaragoza"}]},{id:2300,text:"Sweden",children:[{id:22,text:"Gothenburg"},{id:49,text:"Stockholm"}]}];ngxValue=[];ngxDisabled=!1;static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["app-children-demo"]],decls:13,vars:8,consts:[[1,"example-block"],[1,"example-block__item"],["optionValueField","id","optionTextField","text","optGroupLabelField","text","optGroupOptionsField","children","placeholder","No city selected",3,"ngModelChange","allowClear","items","disabled","ngModel"],[1,"alert","alert-secondary"],[1,"btn","btn-primary",3,"click"]],template:function(s,d){1&s&&(u.j41(0,"h3"),u.EFF(1,"Select a city by country"),u.k0s(),u.j41(2,"div",0)(3,"div",1)(4,"ngx-select",2),u.mxI("ngModelChange",function(_){return u.DH7(d.ngxValue,_)||(d.ngxValue=_),_}),u.k0s(),u.nrm(5,"p"),u.j41(6,"div",3)(7,"pre"),u.EFF(8),u.nI1(9,"json"),u.k0s()(),u.j41(10,"div")(11,"button",4),u.bIt("click",function(){return d.ngxDisabled=!d.ngxDisabled}),u.EFF(12),u.k0s()()()()),2&s&&(u.R7$(4),u.Y8G("allowClear",!0)("items",d.items)("disabled",d.ngxDisabled),u.R50("ngModel",d.ngxValue),u.R7$(4),u.JRh(u.bMT(9,6,d.ngxValue)),u.R7$(4),u.SpI(" ",d.ngxDisabled?"Enable":"Disable"," "))},dependencies:[Jo,wn,va,Uo,Wo,cr],encapsulation:2})}return i})();function rm(i,l){if(1&i&&(u.nrm(0,"span",7)(1,"span",8),u.EFF(2)),2&i){const r=l.$implicit,s=l.text,d=u.XpG();u.Aen(d.style("background-color:"+r.value)),u.R7$(),u.Y8G("innerHtml",s,u.npT),u.R7$(),u.SpI(" (",r.data.hex,") ")}}function xc(i,l){1&i&&u.EFF(0),2&i&&u.SpI(' "',l.$implicit,'" not found ')}const UE=[{name:"Blue 10",hex:"#C0E6FF"},{name:"Blue 20",hex:"#7CC7FF"},{name:"Blue 30",hex:"#5AAAFA",disabled:!0},{name:"Blue 40",hex:"#5596E6"},{name:"Blue 50",hex:"#4178BE"},{name:"Blue 60",hex:"#325C80"},{name:"Blue 70",hex:"#264A60"},{name:"Blue 80",hex:"#1D3649"},{name:"Blue 90",hex:"#152935"},{name:"Blue 100",hex:"#010205"},{name:"Green 10",hex:"#C8F08F"},{name:"Green 20",hex:"#B4E051"},{name:"Green 30",hex:"#8CD211"},{name:"Green 40",hex:"#5AA700"},{name:"Green 50",hex:"#4B8400"},{name:"Green 60",hex:"#2D660A"},{name:"Green 70",hex:"#144D14"},{name:"Green 80",hex:"#0A3C02"},{name:"Green 90",hex:"#0C2808"},{name:"Green 100",hex:"#010200"},{name:"Red 10",hex:"#FFD2DD"},{name:"Red 20",hex:"#FFA5B4"},{name:"Red 30",hex:"#FF7D87"},{name:"Red 40",hex:"#FF5050"},{name:"Red 50",hex:"#E71D32"},{name:"Red 60",hex:"#AD1625"},{name:"Red 70",hex:"#8C101C"},{name:"Red 80",hex:"#6E0A1E"},{name:"Red 90",hex:"#4C0A17"},{name:"Red 100",hex:"#040001"},{name:"Yellow 10",hex:"#FDE876"},{name:"Yellow 20",hex:"#FDD600"},{name:"Yellow 30",hex:"#EFC100"},{name:"Yellow 40",hex:"#BE9B00"},{name:"Yellow 50",hex:"#8C7300"},{name:"Yellow 60",hex:"#735F00"},{name:"Yellow 70",hex:"#574A00"},{name:"Yellow 80",hex:"#3C3200"},{name:"Yellow 90",hex:"#281E00"},{name:"Yellow 100",hex:"#020100"}];let om=(()=>{class i{sanitizer;items=UE;ngxValue=[];ngxDisabled=!1;constructor(r){this.sanitizer=r}style(r){return this.sanitizer.bypassSecurityTrustStyle(r)}static \u0275fac=function(s){return new(s||i)(u.rXU(_l))};static \u0275cmp=u.VBU({type:i,selectors:[["app-rich-demo"]],decls:15,vars:8,consts:[[1,"example-block"],[1,"example-block__item"],["optionValueField","hex","optionTextField","name","placeholder","No city selected",3,"ngModelChange","allowClear","items","disabled","ngModel"],["ngx-select-option","","ngx-select-option-selected",""],["ngx-select-option-not-found",""],[1,"alert","alert-secondary"],[1,"btn","btn-primary",3,"click"],[1,"color-box"],[3,"innerHtml"]],template:function(s,d){1&s&&(u.j41(0,"h3"),u.EFF(1,"Select a color"),u.k0s(),u.j41(2,"div",0)(3,"div",1)(4,"ngx-select",2),u.mxI("ngModelChange",function(_){return u.DH7(d.ngxValue,_)||(d.ngxValue=_),_}),u.DNE(5,rm,3,4,"ng-template",3)(6,xc,1,1,"ng-template",4),u.k0s(),u.nrm(7,"p"),u.j41(8,"div",5)(9,"pre"),u.EFF(10),u.nI1(11,"json"),u.k0s()(),u.j41(12,"div")(13,"button",6),u.bIt("click",function(){return d.ngxDisabled=!d.ngxDisabled}),u.EFF(14),u.k0s()()()()),2&s&&(u.R7$(4),u.Y8G("allowClear",!0)("items",d.items)("disabled",d.ngxDisabled),u.R50("ngModel",d.ngxValue),u.R7$(6),u.JRh(u.bMT(11,6,d.ngxValue)),u.R7$(4),u.SpI(" ",d.ngxDisabled?"Enable":"Disable"," "))},dependencies:[Jo,wn,jd,Gp,Hd,va,Uo,Wo,cr],styles:[".color-box{display:inline-block;height:14px;width:14px;margin-right:4px;border:1px solid #000}\n"],encapsulation:2})}return i})(),ib=(()=>{class i{_items=["Amsterdam","Antwerp","Athens","Barcelona","Berlin","Birmingham","Bradford","Bremen","Brussels","Bucharest","Budapest","Cologne","Copenhagen","Dortmund","Dresden","Dublin","D\xfcsseldorf","Essen","Frankfurt","Genoa","Glasgow","Gothenburg","Hamburg","Hannover","Helsinki","Krak\xf3w","Leeds","Leipzig","Lisbon","London","Madrid","Manchester","Marseille","Milan","Munich","M\xe1laga","Naples","Palermo","Paris","Pozna\u0144","Prague","Riga","Rome","Rotterdam","Seville","Sheffield","Sofia","Stockholm","Stuttgart","The Hague","Turin","Valencia","Vienna","Vilnius","Warsaw","Wroc\u0142aw","Zagreb","Zaragoza","\u0141\xf3d\u017a"];constructor(){const r=[];for(let s=1;s<=20;s++)this._items.forEach(d=>r.push(s+" "+d));this.items=r}items=[];ngxValue=[];ngxDisabled=!1;static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["app-no-autocomplete-demo"]],decls:13,vars:10,consts:[[1,"example-block"],[1,"example-block__item"],["placeholder","No city selected",3,"ngModelChange","allowClear","items","noAutoComplete","disabled","ngModel"],[1,"alert","alert-secondary"],[1,"btn","btn-primary",3,"click"]],template:function(s,d){1&s&&(u.j41(0,"h3"),u.EFF(1),u.k0s(),u.j41(2,"div",0)(3,"div",1)(4,"ngx-select",2),u.mxI("ngModelChange",function(_){return u.DH7(d.ngxValue,_)||(d.ngxValue=_),_}),u.k0s(),u.nrm(5,"p"),u.j41(6,"div",3)(7,"pre"),u.EFF(8),u.nI1(9,"json"),u.k0s()(),u.j41(10,"div")(11,"button",4),u.bIt("click",function(){return d.ngxDisabled=!d.ngxDisabled}),u.EFF(12),u.k0s()()()()),2&s&&(u.R7$(),u.SpI("Select a single city with ",d.items.length," items"),u.R7$(3),u.Y8G("allowClear",!0)("items",d.items)("noAutoComplete",!0)("disabled",d.ngxDisabled),u.R50("ngModel",d.ngxValue),u.R7$(4),u.JRh(u.bMT(9,8,d.ngxValue)),u.R7$(4),u.SpI(" ",d.ngxDisabled?"Enable":"Disable"," "))},dependencies:[Jo,wn,va,Uo,Wo,cr],encapsulation:2})}return i})(),$E=(()=>{class i{items=["Amsterdam","Antwerp","Athens","Barcelona","Berlin","Birmingham","Bradford","Bremen","Brussels","Bucharest","Budapest","Cologne","Copenhagen"];ngxControl1=new Gt;ngxControl2=new Gt;static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["app-append-to-demo"]],decls:33,vars:12,consts:[[1,"example-block"],[1,"example-block__item"],[1,"card",2,"display","block","overflow","scroll","height","300px"],[2,"width","800px","height","800px","padding","200px"],[2,"padding","50px","overflow","hidden","border","1px solid black"],["placeholder","No city selected",3,"formControl","items"],[1,"alert","alert-secondary"],["type","button",1,"btn","btn-primary",3,"click"],["id","scrollable",1,"card",2,"display","block","overflow","scroll","height","300px"],["placeholder","No city selected","appendTo","#scrollable",3,"formControl","items"]],template:function(s,d){1&s&&(u.j41(0,"h3"),u.EFF(1,"Container with fixed height and hidden overflow"),u.k0s(),u.j41(2,"div",0)(3,"div",1)(4,"p"),u.EFF(5,"Default"),u.k0s(),u.j41(6,"div",2)(7,"div",3)(8,"div",4),u.nrm(9,"ngx-select",5),u.k0s()()(),u.nrm(10,"p"),u.j41(11,"div",6)(12,"pre"),u.EFF(13),u.nI1(14,"json"),u.k0s()(),u.j41(15,"div")(16,"button",7),u.bIt("click",function(){return d.ngxControl1.disabled?d.ngxControl1.enable():d.ngxControl1.disable()}),u.EFF(17),u.k0s()()(),u.j41(18,"div",1)(19,"p"),u.EFF(20,"Appended to scrollable"),u.k0s(),u.j41(21,"div",8)(22,"div",3)(23,"div",4),u.nrm(24,"ngx-select",9),u.k0s()()(),u.nrm(25,"p"),u.j41(26,"div",6)(27,"pre"),u.EFF(28),u.nI1(29,"json"),u.k0s()(),u.j41(30,"div")(31,"button",7),u.bIt("click",function(){return d.ngxControl2.disabled?d.ngxControl2.enable():d.ngxControl2.disable()}),u.EFF(32),u.k0s()()()()),2&s&&(u.R7$(9),u.Y8G("formControl",d.ngxControl1)("items",d.items),u.R7$(4),u.JRh(u.bMT(14,8,d.ngxControl1.value)),u.R7$(4),u.SpI(" ",d.ngxControl1.disabled?"Enable":"Disable"," "),u.R7$(7),u.Y8G("formControl",d.ngxControl2)("items",d.items),u.R7$(4),u.JRh(u.bMT(29,10,d.ngxControl2.value)),u.R7$(4),u.SpI(" ",d.ngxControl2.disabled?"Enable":"Disable"," "))},dependencies:[Jo,wn,Td,Uo,qo,cr],encapsulation:2})}return i})();const sb=x(414).A,ab={single:{heading:"Single",ts:x(249),html:x(205)},multiple:{heading:"Multiple",ts:x(545),html:x(125)},children:{heading:"Children",ts:x(224),html:x(96)},rich:{heading:"Rich",ts:x(379),html:x(499)},noAutoComplete:{heading:"noAutoComplete",ts:x(203),html:x(3)},appendTo:{heading:"appendTo",ts:x(607),html:x(175)}};let im=(()=>{class i{currentHeading="Single";tabDesc=ab;doc=sb;static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["app-select-section"]],decls:24,vars:7,consts:[["label","Single"],[3,"desc"],["label","Multiple"],["label","Children"],["label","Rich"],["label","No autocomplete"],["label","Append to element"],[1,"card","card-block","panel","panel-default","panel-body"],[1,"card-body","doc-api",3,"innerHTML"]],template:function(s,d){1&s&&(u.j41(0,"section")(1,"mat-tab-group")(2,"mat-tab",0)(3,"app-sample-section",1),u.nrm(4,"app-single-demo"),u.k0s()(),u.j41(5,"mat-tab",2)(6,"app-sample-section",1),u.nrm(7,"app-multiple-demo"),u.k0s()(),u.j41(8,"mat-tab",3)(9,"app-sample-section",1),u.nrm(10,"app-children-demo"),u.k0s()(),u.j41(11,"mat-tab",4)(12,"app-sample-section",1),u.nrm(13,"app-rich-demo"),u.k0s()(),u.j41(14,"mat-tab",5)(15,"app-sample-section",1),u.nrm(16,"app-no-autocomplete-demo"),u.k0s()(),u.j41(17,"mat-tab",6)(18,"app-sample-section",1),u.nrm(19,"app-append-to-demo"),u.k0s()()(),u.j41(20,"h2"),u.EFF(21,"Documentation"),u.k0s(),u.j41(22,"div",7),u.nrm(23,"div",8),u.k0s()()),2&s&&(u.R7$(3),u.Y8G("desc",d.tabDesc.single),u.R7$(3),u.Y8G("desc",d.tabDesc.multiple),u.R7$(3),u.Y8G("desc",d.tabDesc.children),u.R7$(3),u.Y8G("desc",d.tabDesc.rich),u.R7$(3),u.Y8G("desc",d.tabDesc.noAutoComplete),u.R7$(3),u.Y8G("desc",d.tabDesc.appendTo),u.R7$(5),u.Y8G("innerHTML",d.doc,u.npT))},dependencies:[Tc,Nf,Of,tm,HE,nm,Rf,om,ib,$E],styles:["[_nghost-%COMP%]{display:block}"]})}return i})();const Mn=x(330),Sc=x(48).A;(function nC(i,l){return(0,u.TL3)({rootComponent:i,...t_(l)})})((()=>{class i{gettingStarted=Sc;p=Mn;ngAfterContentInit(){setTimeout(()=>{},150)}static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["app-root"]],decls:33,vars:2,consts:[[1,"bd-pageheader"],[1,"container"],["href","https://getbootstrap.com/docs/3.3/","target","_blank",1,"badge","badge-light"],["href","https://getbootstrap.com/","target","_blank",1,"badge","badge-light"],["href","https://github.com/optimistex/ngx-select-ex",1,"btn","btn-primary"],[1,"row"],[1,"col-lg-1"],["src",u.wXG`https://ghbtns.com/github-btn.html?user=optimistex&repo=ngx-select-ex&type=star&count=true`,"frameborder","0","scrolling","0","width","170px","height","20px"],["src",u.wXG`https://ghbtns.com/github-btn.html?user=optimistex&repo=ngx-select-ex&type=fork&count=true`,"frameborder","0","scrolling","0","width","170px","height","20px"],["id","getting-started",3,"innerHtml"],[1,"footer"],[1,"text-muted","text-center"],["href","https://github.com/optimistex/ngx-select-ex"],["href","https://github.com/optimistex"]],template:function(s,d){1&s&&(u.j41(0,"main",0)(1,"div",1)(2,"h1"),u.EFF(3),u.k0s(),u.j41(4,"p"),u.EFF(5,"Native Angular2 component for Select"),u.k0s(),u.j41(6,"p"),u.EFF(7," Compatible with "),u.j41(8,"a",2),u.EFF(9,"Bootstrap 3"),u.k0s(),u.EFF(10," and "),u.j41(11,"b")(12,"a",3),u.EFF(13,"Bootstrap 4"),u.k0s()()(),u.j41(14,"a",4),u.EFF(15,"View on GitHub"),u.k0s(),u.j41(16,"div",5)(17,"div",6),u.nrm(18,"iframe",7),u.k0s(),u.j41(19,"div",6),u.nrm(20,"iframe",8),u.k0s()()()(),u.j41(21,"div",1),u.nrm(22,"section",9)(23,"app-select-section"),u.k0s(),u.j41(24,"footer",10)(25,"div",1)(26,"p",11)(27,"a",12),u.EFF(28,"ngx-select-ex"),u.k0s(),u.EFF(29," is maintained by "),u.j41(30,"a",13),u.EFF(31,"optimistex"),u.k0s(),u.EFF(32,"."),u.k0s()()()),2&s&&(u.R7$(3),u.SpI("ngx-select-ex v",null==d.p?null:d.p.version,""),u.R7$(19),u.Y8G("innerHtml",d.gettingStarted,u.npT))},dependencies:[Jo,im],encapsulation:2})}return i})(),ku).catch(i=>console.error(i))},667:(he,U,x)=>{he=x.nmd(he);var K="__lodash_hash_undefined__",G=9007199254740991,be="[object Arguments]",Q="[object Array]",ve="[object Boolean]",Y="[object Date]",B="[object Error]",pe="[object Function]",ae="[object Map]",xt="[object Number]",Te="[object Object]",jt="[object Promise]",lt="[object RegExp]",xe="[object Set]",te="[object String]",mt="[object WeakMap]",He="[object ArrayBuffer]",L="[object DataView]",hi=/^\[object .+?Constructor\]$/,Cr=/^(?:0|[1-9]\d*)$/,Ue={};Ue["[object Float32Array]"]=Ue["[object Float64Array]"]=Ue["[object Int8Array]"]=Ue["[object Int16Array]"]=Ue["[object Int32Array]"]=Ue["[object Uint8Array]"]=Ue["[object Uint8ClampedArray]"]=Ue["[object Uint16Array]"]=Ue["[object Uint32Array]"]=!0,Ue[be]=Ue[Q]=Ue[He]=Ue[ve]=Ue[L]=Ue[Y]=Ue[B]=Ue[pe]=Ue[ae]=Ue[xt]=Ue[Te]=Ue[lt]=Ue[xe]=Ue[te]=Ue[mt]=!1;var tn="object"==typeof global&&global&&global.Object===Object&&global,Xa="object"==typeof self&&self&&self.Object===Object&&self,$n=tn||Xa||Function("return this")(),ru=U&&!U.nodeType&&U,ih=ru&&he&&!he.nodeType&&he,ps=ih&&ih.exports===ru,gs=ps&&tn.process,ms=function(){try{return gs&&gs.binding&&gs.binding("util")}catch{}}(),pi=ms&&ms.isTypedArray;function nn(b,I){for(var k=-1,X=null==b?0:b.length;++kot))return!1;var Ze=ge.get(b);if(Ze&&ge.get(I))return Ze==I;var rn=-1,mn=!0,ct=2&k?new St:void 0;for(ge.set(b,I),ge.set(I,b);++rn-1},Fn.prototype.set=function ch(b,I){var k=this.__data__,X=Yr(k,b);return X<0?(++this.size,k.push([b,I])):k[X][1]=I,this},Xr.prototype.clear=function uh(){this.size=0,this.__data__={hash:new Nn,map:new(zt||Fn),string:new Nn}},Xr.prototype.delete=function Cs(b){var I=Ir(this,b).delete(b);return this.size-=I?1:0,I},Xr.prototype.get=function el(b){return Ir(this,b).get(b)},Xr.prototype.has=function tl(b){return Ir(this,b).has(b)},Xr.prototype.set=function dh(b,I){var k=Ir(this,b),X=k.size;return k.set(b,I),this.size+=k.size==X?0:1,this},St.prototype.add=St.prototype.push=function ie(b){return this.__data__.set(b,K),this},St.prototype.has=function nl(b){return this.__data__.has(b)},ar.prototype.clear=function du(){this.__data__=new Fn,this.size=0},ar.prototype.delete=function fh(b){var I=this.__data__,k=I.delete(b);return this.size=I.size,k},ar.prototype.get=function fu(b){return this.__data__.get(b)},ar.prototype.has=function Oe(b){return this.__data__.has(b)},ar.prototype.set=function hu(b,I){var k=this.__data__;if(k instanceof Fn){var X=k.__data__;if(!zt||X.length<199)return X.push([b,I]),this.size=++k.size,this;k=this.__data__=new Xr(X)}return k.set(b,I),this.size=k.size,this};var ph=Zr?function(b){return null==b?[]:(b=Object(b),function ou(b,I){for(var k=-1,X=null==b?0:b.length,Ye=0,ge=[];++k-1&&b%1==0&&b-1&&b%1==0&&b<=G}function cr(b){var I=typeof b;return null!=b&&("object"==I||"function"==I)}function vi(b){return null!=b&&"object"==typeof b}var sl=pi?function _s(b){return function(I){return b(I)}}(pi):function rl(b){return vi(b)&&il(b.length)&&!!Ue[Jr(b)]};function bi(b){return function ol(b){return null!=b&&il(b.length)&&!gu(b)}(b)?function xo(b,I){var k=lr(b),X=!k&&Kn(b),Ye=!k&&!X&&ue(b),ge=!k&&!X&&!Ye&&sl(b),qe=k||X||Ye||ge,ot=qe?function wo(b,I){for(var k=-1,X=Array(b);++k{"use strict";x.d(U,{t:()=>K});var u=x(413);class K extends u.B{constructor($){super(),this._value=$}get value(){return this.getValue()}_subscribe($){const G=super._subscribe($);return!G.closed&&$.next(this._value),G}getValue(){const{hasError:$,thrownError:G,_value:be}=this;if($)throw G;return this._throwIfClosed(),be}next($){super.next(this._value=$)}}},226:(he,U,x)=>{"use strict";x.d(U,{c:()=>Y});var u=x(707),K=x(359),se=x(494),$=x(669);var Q=x(26),q=x(71),ve=x(786);let Y=(()=>{class ae{constructor(Be){Be&&(this._subscribe=Be)}lift(Be){const Te=new ae;return Te.source=this,Te.operator=Be,Te}subscribe(Be,Te,jt){const gt=function Ct(ae){return ae&&ae instanceof u.vU||function pe(ae){return ae&&(0,q.T)(ae.next)&&(0,q.T)(ae.error)&&(0,q.T)(ae.complete)}(ae)&&(0,K.Uv)(ae)}(Be)?Be:new u.Ms(Be,Te,jt);return(0,ve.Y)(()=>{const{operator:lt,source:xe}=this;gt.add(lt?lt.call(gt,xe):xe?this._subscribe(gt):this._trySubscribe(gt))}),gt}_trySubscribe(Be){try{return this._subscribe(Be)}catch(Te){Be.error(Te)}}forEach(Be,Te){return new(Te=B(Te))((jt,gt)=>{const lt=new u.Ms({next:xe=>{try{Be(xe)}catch(te){gt(te),lt.unsubscribe()}},error:gt,complete:jt});this.subscribe(lt)})}_subscribe(Be){var Te;return null===(Te=this.source)||void 0===Te?void 0:Te.subscribe(Be)}[se.s](){return this}pipe(...Be){return function be(ae){return 0===ae.length?$.D:1===ae.length?ae[0]:function(Be){return ae.reduce((Te,jt)=>jt(Te),Be)}}(Be)(this)}toPromise(Be){return new(Be=B(Be))((Te,jt)=>{let gt;this.subscribe(lt=>gt=lt,lt=>jt(lt),()=>Te(gt))})}}return ae.create=xt=>new ae(xt),ae})();function B(ae){var xt;return null!==(xt=ae??Q.$.Promise)&&void 0!==xt?xt:Promise}},413:(he,U,x)=>{"use strict";x.d(U,{B:()=>Q});var u=x(226),K=x(359);const $=(0,x(853).L)(ve=>function(){ve(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var G=x(908),be=x(786);let Q=(()=>{class ve extends u.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(B){const pe=new q(this,this);return pe.operator=B,pe}_throwIfClosed(){if(this.closed)throw new $}next(B){(0,be.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const pe of this.currentObservers)pe.next(B)}})}error(B){(0,be.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=B;const{observers:pe}=this;for(;pe.length;)pe.shift().error(B)}})}complete(){(0,be.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:B}=this;for(;B.length;)B.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var B;return(null===(B=this.observers)||void 0===B?void 0:B.length)>0}_trySubscribe(B){return this._throwIfClosed(),super._trySubscribe(B)}_subscribe(B){return this._throwIfClosed(),this._checkFinalizedStatuses(B),this._innerSubscribe(B)}_innerSubscribe(B){const{hasError:pe,isStopped:Ct,observers:ae}=this;return pe||Ct?K.Kn:(this.currentObservers=null,ae.push(B),new K.yU(()=>{this.currentObservers=null,(0,G.o)(ae,B)}))}_checkFinalizedStatuses(B){const{hasError:pe,thrownError:Ct,isStopped:ae}=this;pe?B.error(Ct):ae&&B.complete()}asObservable(){const B=new u.c;return B.source=this,B}}return ve.create=(Y,B)=>new q(Y,B),ve})();class q extends Q{constructor(Y,B){super(),this.destination=Y,this.source=B}next(Y){var B,pe;null===(pe=null===(B=this.destination)||void 0===B?void 0:B.next)||void 0===pe||pe.call(B,Y)}error(Y){var B,pe;null===(pe=null===(B=this.destination)||void 0===B?void 0:B.error)||void 0===pe||pe.call(B,Y)}complete(){var Y,B;null===(B=null===(Y=this.destination)||void 0===Y?void 0:Y.complete)||void 0===B||B.call(Y)}_subscribe(Y){var B,pe;return null!==(pe=null===(B=this.source)||void 0===B?void 0:B.subscribe(Y))&&void 0!==pe?pe:K.Kn}}},707:(he,U,x)=>{"use strict";x.d(U,{Ms:()=>Be,vU:()=>pe});var u=x(71),K=x(359),se=x(26),$=x(334),G=x(343);const be=ve("C",void 0,void 0);function ve(xe,te,ze){return{kind:xe,value:te,error:ze}}var Y=x(270),B=x(786);class pe extends K.yU{constructor(te){super(),this.isStopped=!1,te?(this.destination=te,(0,K.Uv)(te)&&te.add(this)):this.destination=lt}static create(te,ze,wt){return new Be(te,ze,wt)}next(te){this.isStopped?gt(function q(xe){return ve("N",xe,void 0)}(te),this):this._next(te)}error(te){this.isStopped?gt(function Q(xe){return ve("E",void 0,xe)}(te),this):(this.isStopped=!0,this._error(te))}complete(){this.isStopped?gt(be,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(te){this.destination.next(te)}_error(te){try{this.destination.error(te)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Ct=Function.prototype.bind;function ae(xe,te){return Ct.call(xe,te)}class xt{constructor(te){this.partialObserver=te}next(te){const{partialObserver:ze}=this;if(ze.next)try{ze.next(te)}catch(wt){Te(wt)}}error(te){const{partialObserver:ze}=this;if(ze.error)try{ze.error(te)}catch(wt){Te(wt)}else Te(te)}complete(){const{partialObserver:te}=this;if(te.complete)try{te.complete()}catch(ze){Te(ze)}}}class Be extends pe{constructor(te,ze,wt){let mt;if(super(),(0,u.T)(te)||!te)mt={next:te??void 0,error:ze??void 0,complete:wt??void 0};else{let He;this&&se.$.useDeprecatedNextContext?(He=Object.create(te),He.unsubscribe=()=>this.unsubscribe(),mt={next:te.next&&ae(te.next,He),error:te.error&&ae(te.error,He),complete:te.complete&&ae(te.complete,He)}):mt=te}this.destination=new xt(mt)}}function Te(xe){se.$.useDeprecatedSynchronousErrorHandling?(0,B.l)(xe):(0,$.m)(xe)}function gt(xe,te){const{onStoppedNotification:ze}=se.$;ze&&Y.f.setTimeout(()=>ze(xe,te))}const lt={closed:!0,next:G.l,error:function jt(xe){throw xe},complete:G.l}},359:(he,U,x)=>{"use strict";x.d(U,{Kn:()=>be,yU:()=>G,Uv:()=>Q});var u=x(71);const se=(0,x(853).L)(ve=>function(B){ve(this),this.message=B?`${B.length} errors occurred during unsubscription:\n${B.map((pe,Ct)=>`${Ct+1}) ${pe.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=B});var $=x(908);class G{constructor(Y){this.initialTeardown=Y,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let Y;if(!this.closed){this.closed=!0;const{_parentage:B}=this;if(B)if(this._parentage=null,Array.isArray(B))for(const ae of B)ae.remove(this);else B.remove(this);const{initialTeardown:pe}=this;if((0,u.T)(pe))try{pe()}catch(ae){Y=ae instanceof se?ae.errors:[ae]}const{_finalizers:Ct}=this;if(Ct){this._finalizers=null;for(const ae of Ct)try{q(ae)}catch(xt){Y=Y??[],xt instanceof se?Y=[...Y,...xt.errors]:Y.push(xt)}}if(Y)throw new se(Y)}}add(Y){var B;if(Y&&Y!==this)if(this.closed)q(Y);else{if(Y instanceof G){if(Y.closed||Y._hasParent(this))return;Y._addParent(this)}(this._finalizers=null!==(B=this._finalizers)&&void 0!==B?B:[]).push(Y)}}_hasParent(Y){const{_parentage:B}=this;return B===Y||Array.isArray(B)&&B.includes(Y)}_addParent(Y){const{_parentage:B}=this;this._parentage=Array.isArray(B)?(B.push(Y),B):B?[B,Y]:Y}_removeParent(Y){const{_parentage:B}=this;B===Y?this._parentage=null:Array.isArray(B)&&(0,$.o)(B,Y)}remove(Y){const{_finalizers:B}=this;B&&(0,$.o)(B,Y),Y instanceof G&&Y._removeParent(this)}}G.EMPTY=(()=>{const ve=new G;return ve.closed=!0,ve})();const be=G.EMPTY;function Q(ve){return ve instanceof G||ve&&"closed"in ve&&(0,u.T)(ve.remove)&&(0,u.T)(ve.add)&&(0,u.T)(ve.unsubscribe)}function q(ve){(0,u.T)(ve)?ve():ve.unsubscribe()}},26:(he,U,x)=>{"use strict";x.d(U,{$:()=>u});const u={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},983:(he,U,x)=>{"use strict";x.d(U,{w:()=>K});const K=new(x(226).c)(G=>G.complete())},360:(he,U,x)=>{"use strict";x.d(U,{_:()=>K});var u=x(707);function K($,G,be,Q,q){return new se($,G,be,Q,q)}class se extends u.vU{constructor(G,be,Q,q,ve,Y){super(G),this.onFinalize=ve,this.shouldUnsubscribe=Y,this._next=be?function(B){try{be(B)}catch(pe){G.error(pe)}}:super._next,this._error=q?function(B){try{q(B)}catch(pe){G.error(pe)}finally{this.unsubscribe()}}:super._error,this._complete=Q?function(){try{Q()}catch(B){G.error(B)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var G;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:be}=this;super.unsubscribe(),!be&&(null===(G=this.onFinalize)||void 0===G||G.call(this))}}}},964:(he,U,x)=>{"use strict";x.d(U,{p:()=>se});var u=x(974),K=x(360);function se($,G){return(0,u.N)((be,Q)=>{let q=0;be.subscribe((0,K._)(Q,ve=>$.call(G,ve,q++)&&Q.next(ve)))})}},354:(he,U,x)=>{"use strict";x.d(U,{T:()=>se});var u=x(974),K=x(360);function se($,G){return(0,u.N)((be,Q)=>{let q=0;be.subscribe((0,K._)(Q,ve=>{Q.next($.call(G,ve,q++))}))})}},697:(he,U,x)=>{"use strict";x.d(U,{s:()=>$});var u=x(983),K=x(974),se=x(360);function $(G){return G<=0?()=>u.w:(0,K.N)((be,Q)=>{let q=0;be.subscribe((0,se._)(Q,ve=>{++q<=G&&(Q.next(ve),G<=q&&Q.complete())}))})}},270:(he,U,x)=>{"use strict";x.d(U,{f:()=>u});const u={setTimeout(K,se,...$){const{delegate:G}=u;return G?.setTimeout?G.setTimeout(K,se,...$):setTimeout(K,se,...$)},clearTimeout(K){const{delegate:se}=u;return(se?.clearTimeout||clearTimeout)(K)},delegate:void 0}},494:(he,U,x)=>{"use strict";x.d(U,{s:()=>u});const u="function"==typeof Symbol&&Symbol.observable||"@@observable"},908:(he,U,x)=>{"use strict";function u(K,se){if(K){const $=K.indexOf(se);0<=$&&K.splice($,1)}}x.d(U,{o:()=>u})},853:(he,U,x)=>{"use strict";function u(K){const $=K(G=>{Error.call(G),G.stack=(new Error).stack});return $.prototype=Object.create(Error.prototype),$.prototype.constructor=$,$}x.d(U,{L:()=>u})},786:(he,U,x)=>{"use strict";x.d(U,{Y:()=>se,l:()=>$});var u=x(26);let K=null;function se(G){if(u.$.useDeprecatedSynchronousErrorHandling){const be=!K;if(be&&(K={errorThrown:!1,error:null}),G(),be){const{errorThrown:Q,error:q}=K;if(K=null,Q)throw q}}else G()}function $(G){u.$.useDeprecatedSynchronousErrorHandling&&K&&(K.errorThrown=!0,K.error=G)}},669:(he,U,x)=>{"use strict";function u(K){return K}x.d(U,{D:()=>u})},71:(he,U,x)=>{"use strict";function u(K){return"function"==typeof K}x.d(U,{T:()=>u})},974:(he,U,x)=>{"use strict";x.d(U,{N:()=>se});var u=x(71);function se($){return G=>{if(function K($){return(0,u.T)($?.lift)}(G))return G.lift(function(be){try{return $(be,this)}catch(Q){this.error(Q)}});throw new TypeError("Unable to lift unknown Observable type")}}},343:(he,U,x)=>{"use strict";function u(){}x.d(U,{l:()=>u})},334:(he,U,x)=>{"use strict";x.d(U,{m:()=>se});var u=x(26),K=x(270);function se($){K.f.setTimeout(()=>{const{onUnhandledError:G}=u.$;if(!G)throw $;G($)})}},414:(he,U,x)=>{"use strict";x.d(U,{A:()=>K});const K='

Usage

  1. Install ngx-select-ex through npm package manager using the following command:

    npm i ngx-select-ex --save\n

    For usage with Angular 4 install using the following command:

    npm i ngx-select-ex@ng4 --save\n
  2. Add NgxSelectModule into your AppModule class. app.module.ts would look like this:

    import {NgModule} from '@angular/core';\nimport {BrowserModule} from '@angular/platform-browser';\nimport {AppComponent} from './app.component';\nimport { NgxSelectModule } from 'ngx-select-ex';\n\n@NgModule({\n  imports: [BrowserModule, NgxSelectModule],\n  declarations: [AppComponent],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {\n}\n

    If you want to change the default options then use next code:

    import {NgModule} from '@angular/core';\nimport {BrowserModule} from '@angular/platform-browser';\nimport {AppComponent} from './app.component';\nimport { NgxSelectModule, INgxSelectOptions } from 'ngx-select-ex';\n\nconst CustomSelectOptions: INgxSelectOptions = { // Check the interface for more options\n    optionValueField: 'id',\n    optionTextField: 'name'\n};\n\n@NgModule({\n  imports: [BrowserModule, NgxSelectModule.forRoot(CustomSelectOptions)],\n  declarations: [AppComponent],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {\n}\n
  3. Include Bootstrap styles. For example add to your index.html

    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">\n
  4. Add the tag <ngx-select> into some html

    <ngx-select [items]="items" [(ngModel)]="itemId"></ngx-select>\n
  5. More information regarding of using ngx-select-ex is located in demo.

API

Any item can be disabled for prevent selection. For disable an item add the property disabled to the item.

Input Type Default Description
[items] any[] [] Items array. Should be an array of objects with id and text properties. As convenience, you may also pass an array of strings, in which case the same string is used for both the ID and the text. Items may be nested by adding a options property to any item, whose value should be another array of items. Items that have children may omit to have an ID.
optionValueField string 'id' Provide an opportunity to change the name an id property of objects in the items
optionTextField string 'text' Provide an opportunity to change the name a text property of objects in the items
optGroupLabelField string 'label' Provide an opportunity to change the name a label property of objects with an options property in the items
optGroupOptionsField string 'options' Provide an opportunity to change the name of an options property of objects in the items
[multiple] boolean false Mode of this component. If set true user can select more than one option
[allowClear] boolean false Set to true to allow the selection to be cleared. This option only applies to single-value inputs
[placeholder] string '' Set to true Placeholder text to display when the element has no focus and selected items
[noAutoComplete] boolean false Set to true to hide the search input. This option only applies to single-value inputs
[keepSelectedItems] boolean false Storing the selected items when the item list is changed
[disabled] boolean false When true, it specifies that the component should be disabled
[defaultValue] any[] [] Use to set default value
autoSelectSingleOption boolean false Auto select a non disabled single option
autoClearSearch boolean false Auto clear a search text after select an option. Has effect for multiple = true
noResultsFound string 'No results found' The default text showed when a search has no results
size 'small'/'default'/'large' 'default' Adding bootstrap classes: form-control-sm, input-sm, form-control-lg input-lg, btn-sm, btn-lg
searchCallback (search: string, item: INgxSelectOption) => boolean null The callback function for custom filtering the select list
autoActiveOnMouseEnter boolean true Automatically activate item when mouse enter on it
isFocused boolean false Makes the component focused
keepSelectMenuOpened boolean false Keeps the select menu opened
autocomplete string 'off' Sets an autocomplete value for the input field
dropDownMenuOtherClasses string '' Add css classes to the element with dropdown-menu class. For example dropdown-menu-right
showOptionNotFoundForEmptyItems boolean false Shows the "Not Found" menu option in case of out of items at all
noSanitize boolean false Disables auto mark an HTML as safe. Turn it on for safety from XSS if you render untrusted content in the options
appendTo string null Append dropdown menu to any element using css selector
Output Description
(typed) Fired on changing search input. Returns string with that value.
(focus) Fired on select focus
(blur) Fired on select blur
(open) Fired on select dropdown open
(close) Fired on select dropdown close
(select) Fired on an item selected by user. Returns value of the selected item.
(remove) Fired on an item removed by user. Returns value of the removed item.
(navigated) Fired on navigate by the dropdown list. Returns: INgxOptionNavigated.
(selectionChanges) Fired on change selected options. Returns: INgxSelectOption[].

Warning! Although the component contains the select and the remove events, the better solution is using valueChanges of the FormControl.

import {Component} from '@angular/core';\nimport {FormControl} from '@angular/forms';\n\n@Component({\n    selector: 'app-example',\n    template: `<ngx-select [items]="['111', '222']" [formControl]="selectControl"></ngx-select>`\n})\nclass ExampleComponent {\n    public selectControl = new FormControl();\n    \n    constructor() {\n        this.selectControl.valueChanges.subscribe(value => console.log(value));\n    }\n}\n

Styles and customization

Currently, the component contains CSS classes named within BEM Methodology. As well it contains the "Bootstrap classes". Recommended use BEM classes for style customization.

List of styles for customization:

  • ngx-select - Main class of the component.
  • ngx-select_multiple - Modifier of the multiple mode. It's available when the property multiple is true.
  • ngx-select__disabled - Layer for the disabled mode.
  • ngx-select__selected - The common container for displaying selected items.
  • ngx-select__toggle - The toggle for single mode. It's available when the property multiple is false.
  • ngx-select__placeholder - The placeholder item. It's available when the property multiple is false.
  • ngx-select__selected-single - The selected item with single mode. It's available when the property multiple is false.
  • ngx-select__selected-plural - The multiple selected item. It's available when the property multiple is true.
  • ngx-select__allow-clear - The indicator that the selected single item can be removed. It's available while properties the multiple is false and the allowClear is true.
  • ngx-select__toggle-buttons - The container of buttons such as the clear and the toggle.
  • ngx-select__toggle-caret - The drop-down button of the single mode. It's available when the property multiple is false.
  • ngx-select__clear - The button clear.
  • ngx-select__clear-icon - The cross icon.
  • ngx-select__search - The input field for full text lives searching.
  • ngx-select__choices - The common container of items.
  • ngx-select__item-group - The group of items.
  • ngx-select__item - An item.
  • ngx-select__item_disabled - Modifier of a disabled item.
  • ngx-select__item_active - Modifier of the activated item.

Templates

For extended rendering customisation you are can use the ng-template:

<ngx-select [items]="items" optionValueField="hex" optionTextField="name" [(ngModel)]="ngxValue">\n\n    <ng-template ngx-select-option-selected let-option let-text="text">\n        <span class="color-box" [style]="style('background-color:' + option.value)"></span>\n        <span [innerHtml]="text"></span>\n        ({{option.data.hex}})\n    </ng-template>\n\n    <ng-template ngx-select-option let-option let-text="text">\n        <span class="color-box" [style]="style('background-color:' + option.value)"></span>\n        <span [innerHtml]="text"></span>\n        ({{option.data.hex}})\n    </ng-template>\n\n    <ng-template ngx-select-option-not-found>\n        Nothing found\n    </ng-template>\n\n</ngx-select>\n

Also, you are can mix directives for reducing template:

<ngx-select [items]="items" optionValueField="hex" optionTextField="name" [(ngModel)]="ngxValue">\n    <ng-template ngx-select-option-selected ngx-select-option let-option let-text="text">\n        <span class="color-box" [style]="style('background-color:' + option.value)"></span>\n        <span [innerHtml]="text"></span>\n        ({{option.data.hex}})\n    </ng-template>\n\n    <ng-template ngx-select-option-not-found let-input>\n        Not found <button (click)="addItem(input)">(+) Add "{{input}}" as new item</button>\n    </ng-template>\n</ngx-select>\n

Description details of the directives:

  1. ngx-select-option-selected - Customization rendering selected options. Representing variables:
    • option (implicit) - object of type INgxSelectOption.
    • text - The text defined by the property optionTextField.
    • index - Number value of index the option in the select list. Always equal to zero for the single select.
  2. ngx-select-option - Customization rendering options in the dropdown menu. Representing variables:
    • option (implicit) - object of type INgxSelectOption.
    • text - The highlighted text defined by the property optionTextField. It is highlighted in the search.
    • index - Number value of index for the top level.
    • subIndex - Number value of index for the second level.
  3. ngx-select-option-not-found - Customization "not found text". Does not represent any variables.
'},48:(he,U,x)=>{"use strict";x.d(U,{A:()=>K});const K='

Getting started

First of all, Welcome!

'},175:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u='

Container with fixed height and hidden overflow

\n
\n
\n

Default

\n
\n
\n
\n \n \n
\n
\n
\n

\n
\n
{{ ngxControl1.value| json }}
\n
\n
\n \n
\n
\n\n
\n

Appended to scrollable

\n
\n
\n
\n \n \n
\n
\n
\n

\n
\n
{{ ngxControl2.value| json }}
\n
\n
\n \n
\n
\n
\n'},607:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u="import { Component } from '@angular/core';\nimport {ReactiveFormsModule, UntypedFormControl} from '@angular/forms';\nimport {NgxSelectModule} from \"ngx-select-ex\";\nimport {JsonPipe} from \"@angular/common\";\n\n@Component({\n selector: 'app-append-to-demo',\n templateUrl: './append-to-demo.html',\n imports: [\n NgxSelectModule,\n ReactiveFormsModule,\n JsonPipe\n ]\n})\nexport class AppendToDemoComponent {\n public items: string[] = ['Amsterdam', 'Antwerp', 'Athens', 'Barcelona',\n 'Berlin', 'Birmingham', 'Bradford', 'Bremen', 'Brussels', 'Bucharest',\n 'Budapest', 'Cologne', 'Copenhagen'];\n\n public ngxControl1 = new UntypedFormControl();\n public ngxControl2 = new UntypedFormControl();\n}\n"},96:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u='

Select a city by country

\n
\n
\n \n \n

\n
\n
{{ngxValue | json}}
\n
\n
\n \n
\n
\n
\n'},224:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u="import { Component } from '@angular/core';\nimport {NgxSelectModule} from 'ngx-select-ex';\nimport {FormsModule} from '@angular/forms';\nimport {JsonPipe} from '@angular/common';\n\n@Component({\n selector: 'app-children-demo',\n templateUrl: './children-demo.html',\n imports: [\n NgxSelectModule,\n FormsModule,\n JsonPipe\n ]\n})\nexport class ChildrenDemoComponent {\n public items: any[] = [\n {\n id: 100,\n text: 'Austria',\n children: [\n {id: 54, text: 'Vienna'},\n ],\n },\n {\n id: 200,\n text: 'Belgium',\n children: [\n {id: 2, text: 'Antwerp'},\n {id: 9, text: 'Brussels'},\n ],\n },\n {\n id: 300,\n text: 'Bulgaria',\n children: [\n {id: 48, text: 'Sofia'},\n ],\n },\n {\n id: 400,\n text: 'Croatia',\n children: [\n {id: 58, text: 'Zagreb'},\n ],\n },\n {\n id: 500,\n text: 'Czech Republic',\n children: [\n {id: 42, text: 'Prague'},\n ],\n },\n {\n id: 600,\n text: 'Denmark',\n children: [\n {id: 13, text: 'Copenhagen'},\n ],\n },\n {\n id: 700,\n text: 'England',\n children: [\n {id: 6, text: 'Birmingham'},\n {id: 7, text: 'Bradford'},\n {id: 26, text: 'Leeds', disabled: true},\n {id: 30, text: 'London'},\n {id: 34, text: 'Manchester'},\n {id: 47, text: 'Sheffield'},\n ],\n },\n {\n id: 800,\n text: 'Finland',\n children: [\n {id: 25, text: 'Helsinki'},\n ],\n },\n {\n id: 900,\n text: 'France',\n children: [\n {id: 35, text: 'Marseille'},\n {id: 40, text: 'Paris'},\n ],\n },\n {\n id: 1000,\n text: 'Germany',\n children: [\n {id: 5, text: 'Berlin'},\n {id: 8, text: 'Bremen'},\n {id: 12, text: 'Cologne'},\n {id: 14, text: 'Dortmund'},\n {id: 15, text: 'Dresden'},\n {id: 17, text: 'D\xfcsseldorf'},\n {id: 18, text: 'Essen'},\n {id: 19, text: 'Frankfurt'},\n {id: 23, text: 'Hamburg'},\n {id: 24, text: 'Hannover'},\n {id: 27, text: 'Leipzig'},\n {id: 37, text: 'Munich'},\n {id: 50, text: 'Stuttgart'},\n ],\n },\n {\n id: 1100,\n text: 'Greece',\n children: [\n {id: 3, text: 'Athens'},\n ],\n },\n {\n id: 1200,\n text: 'Hungary',\n children: [\n {id: 11, text: 'Budapest'},\n ],\n },\n {\n id: 1300,\n text: 'Ireland',\n children: [\n {id: 16, text: 'Dublin'},\n ],\n },\n {\n id: 1400,\n text: 'Italy',\n children: [\n {id: 20, text: 'Genoa'},\n {id: 36, text: 'Milan'},\n {id: 38, text: 'Naples'},\n {id: 39, text: 'Palermo'},\n {id: 44, text: 'Rome'},\n {id: 52, text: 'Turin'},\n ],\n },\n {\n id: 1500,\n text: 'Latvia',\n children: [\n {id: 43, text: 'Riga'},\n ],\n },\n {\n id: 1600,\n text: 'Lithuania',\n children: [\n {id: 55, text: 'Vilnius'},\n ],\n },\n {\n id: 1700,\n text: 'Netherlands',\n children: [\n {id: 1, text: 'Amsterdam'},\n {id: 45, text: 'Rotterdam'},\n {id: 51, text: 'The Hague'},\n ],\n },\n {\n id: 1800,\n text: 'Poland',\n children: [\n {id: 29, text: '\u0141\xf3d\u017a'},\n {id: 31, text: 'Krak\xf3w'},\n {id: 41, text: 'Pozna\u0144'},\n {id: 56, text: 'Warsaw'},\n {id: 57, text: 'Wroc\u0142aw'},\n ],\n },\n {\n id: 1900,\n text: 'Portugal',\n children: [\n {id: 28, text: 'Lisbon'},\n ],\n },\n {\n id: 2000,\n text: 'Romania',\n children: [\n {id: 10, text: 'Bucharest'},\n ],\n },\n {\n id: 2100,\n text: 'Scotland',\n children: [\n {id: 21, text: 'Glasgow'},\n ],\n },\n {\n id: 2200,\n text: 'Spain',\n children: [\n {id: 4, text: 'Barcelona'},\n {id: 32, text: 'Madrid'},\n {id: 33, text: 'M\xe1laga'},\n {id: 46, text: 'Seville'},\n {id: 53, text: 'Valencia'},\n {id: 59, text: 'Zaragoza'},\n ],\n },\n {\n id: 2300,\n text: 'Sweden',\n children: [\n {id: 22, text: 'Gothenburg'},\n {id: 49, text: 'Stockholm'},\n ],\n },\n ];\n\n public ngxValue: any[] = [];\n public ngxDisabled = false;\n}\n"},125:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u='

Select multiple cities

\n
\n
\n \n \n

\n
\n
{{ngxValue | json}}
\n
\n
\n \n
\n
\n
\n'},545:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u="import {Component} from '@angular/core';\nimport {INgxSelectOption, NgxSelectModule} from 'ngx-select-ex';\nimport {FormsModule} from '@angular/forms';\nimport {JsonPipe} from '@angular/common';\n\n@Component({\n selector: 'app-multiple-demo',\n templateUrl: './multiple-demo.html',\n imports: [\n NgxSelectModule,\n FormsModule,\n JsonPipe\n ]\n})\nexport class MultipleDemoComponent {\n public items: string[] = ['Amsterdam', 'Antwerp', 'Athens', 'Barcelona',\n 'Berlin', 'Birmingham', 'Bradford', 'Bremen', 'Brussels', 'Bucharest',\n 'Budapest', 'Cologne', 'Copenhagen', 'Dortmund', 'Dresden', 'Dublin', 'D\xfcsseldorf',\n 'Essen', 'Frankfurt', 'Genoa', 'Glasgow', 'Gothenburg', 'Hamburg', 'Hannover',\n 'Helsinki', 'Leeds', 'Leipzig', 'Lisbon', '\u0141\xf3d\u017a', 'London', 'Krak\xf3w', 'Madrid',\n 'M\xe1laga', 'Manchester', 'Marseille', 'Milan', 'Munich', 'Naples', 'Palermo',\n 'Paris', 'Pozna\u0144', 'Prague', 'Riga', 'Rome', 'Rotterdam', 'Seville', 'Sheffield',\n 'Sofia', 'Stockholm', 'Stuttgart', 'The Hague', 'Turin', 'Valencia', 'Vienna',\n 'Vilnius', 'Warsaw', 'Wroc\u0142aw', 'Zagreb', 'Zaragoza'];\n\n public ngxValue: any = [];\n public ngxDisabled = false;\n\n public doSelectOptions = (options: INgxSelectOption[]) => console.log('MultipleDemoComponent.doSelectOptions', options);\n}\n"},3:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u='

Select a single city with {{items.length}} items

\n
\n
\n \n \n

\n
\n
{{ngxValue | json}}
\n
\n
\n \n
\n
\n
'},203:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u="import { Component } from '@angular/core';\nimport {NgxSelectModule} from 'ngx-select-ex';\nimport {FormsModule} from '@angular/forms';\nimport {JsonPipe} from '@angular/common';\n\n@Component({\n selector: 'app-no-autocomplete-demo',\n templateUrl: './no-autocomplete-demo.html',\n imports: [\n NgxSelectModule,\n FormsModule,\n JsonPipe\n ]\n})\nexport class NoAutoCompleteDemoComponent {\n public _items: string[] = ['Amsterdam', 'Antwerp', 'Athens', 'Barcelona',\n 'Berlin', 'Birmingham', 'Bradford', 'Bremen', 'Brussels', 'Bucharest',\n 'Budapest', 'Cologne', 'Copenhagen', 'Dortmund', 'Dresden', 'Dublin',\n 'D\xfcsseldorf', 'Essen', 'Frankfurt', 'Genoa', 'Glasgow', 'Gothenburg',\n 'Hamburg', 'Hannover', 'Helsinki', 'Krak\xf3w', 'Leeds', 'Leipzig', 'Lisbon',\n 'London', 'Madrid', 'Manchester', 'Marseille', 'Milan', 'Munich', 'M\xe1laga',\n 'Naples', 'Palermo', 'Paris', 'Pozna\u0144', 'Prague', 'Riga', 'Rome',\n 'Rotterdam', 'Seville', 'Sheffield', 'Sofia', 'Stockholm', 'Stuttgart',\n 'The Hague', 'Turin', 'Valencia', 'Vienna', 'Vilnius', 'Warsaw', 'Wroc\u0142aw',\n 'Zagreb', 'Zaragoza', '\u0141\xf3d\u017a'];\n\n constructor() {\n const a = [];\n for (let i = 1; i <= 20; i++) {\n this._items.forEach(v => a.push(i + ' ' + v));\n }\n this.items = a;\n }\n\n public items: string[] = [];\n public ngxValue: any = [];\n public ngxDisabled = false;\n}\n"},499:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u='

Select a color

\n
\n
\n \n\n \n \n \n ({{option.data.hex}})\n \n\n \n "{{input}}" not found\n \n\n \n

\n
\n
{{ngxValue | json}}
\n
\n
\n \n
\n
\n
\n'},379:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u="import { Component, ViewEncapsulation } from '@angular/core';\nimport { DomSanitizer, SafeStyle } from '@angular/platform-browser';\nimport {NgxSelectModule} from 'ngx-select-ex';\nimport {FormsModule} from '@angular/forms';\nimport {JsonPipe} from '@angular/common';\n\nconst COLORS = [\n {name: 'Blue 10', hex: '#C0E6FF'},\n {name: 'Blue 20', hex: '#7CC7FF'},\n {name: 'Blue 30', hex: '#5AAAFA', disabled: true},\n {name: 'Blue 40', hex: '#5596E6'},\n {name: 'Blue 50', hex: '#4178BE'},\n {name: 'Blue 60', hex: '#325C80'},\n {name: 'Blue 70', hex: '#264A60'},\n {name: 'Blue 80', hex: '#1D3649'},\n {name: 'Blue 90', hex: '#152935'},\n {name: 'Blue 100', hex: '#010205'},\n {name: 'Green 10', hex: '#C8F08F'},\n {name: 'Green 20', hex: '#B4E051'},\n {name: 'Green 30', hex: '#8CD211'},\n {name: 'Green 40', hex: '#5AA700'},\n {name: 'Green 50', hex: '#4B8400'},\n {name: 'Green 60', hex: '#2D660A'},\n {name: 'Green 70', hex: '#144D14'},\n {name: 'Green 80', hex: '#0A3C02'},\n {name: 'Green 90', hex: '#0C2808'},\n {name: 'Green 100', hex: '#010200'},\n {name: 'Red 10', hex: '#FFD2DD'},\n {name: 'Red 20', hex: '#FFA5B4'},\n {name: 'Red 30', hex: '#FF7D87'},\n {name: 'Red 40', hex: '#FF5050'},\n {name: 'Red 50', hex: '#E71D32'},\n {name: 'Red 60', hex: '#AD1625'},\n {name: 'Red 70', hex: '#8C101C'},\n {name: 'Red 80', hex: '#6E0A1E'},\n {name: 'Red 90', hex: '#4C0A17'},\n {name: 'Red 100', hex: '#040001'},\n {name: 'Yellow 10', hex: '#FDE876'},\n {name: 'Yellow 20', hex: '#FDD600'},\n {name: 'Yellow 30', hex: '#EFC100'},\n {name: 'Yellow 40', hex: '#BE9B00'},\n {name: 'Yellow 50', hex: '#8C7300'},\n {name: 'Yellow 60', hex: '#735F00'},\n {name: 'Yellow 70', hex: '#574A00'},\n {name: 'Yellow 80', hex: '#3C3200'},\n {name: 'Yellow 90', hex: '#281E00'},\n {name: 'Yellow 100', hex: '#020100'},\n];\n\n@Component({\n selector: 'app-rich-demo',\n templateUrl: './rich-demo.html',\n styles: [`.color-box {\n display: inline-block;\n height: 14px;\n width: 14px;\n margin-right: 4px;\n border: 1px solid #000;\n }`],\n encapsulation: ViewEncapsulation.None,\n imports: [\n NgxSelectModule,\n FormsModule,\n JsonPipe\n ],\n // Enable dynamic HTML styles\n})\nexport class RichDemoComponent {\n public items: any[] = COLORS;\n\n public ngxValue: any = [];\n public ngxDisabled = false;\n\n constructor(public sanitizer: DomSanitizer) {\n }\n\n public style(data: string): SafeStyle {\n return this.sanitizer.bypassSecurityTrustStyle(data);\n }\n}\n"},205:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u='

Select a single city

\n
\n
\n \n \n

\n
\n
{{ngxControl.value | json}}
\n
\n
\n \n
\n
\n
\n'},249:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u="import { Component, OnDestroy } from '@angular/core';\nimport {ReactiveFormsModule, UntypedFormControl} from '@angular/forms';\nimport {INgxSelectOption, NgxSelectModule} from 'ngx-select-ex';\nimport {JsonPipe} from '@angular/common';\n\n@Component({\n selector: 'app-single-demo',\n templateUrl: './single-demo.html',\n imports: [\n JsonPipe,\n NgxSelectModule,\n ReactiveFormsModule\n ]\n})\nexport class SingleDemoComponent implements OnDestroy {\n public items: string[] = ['Amsterdam', 'Antwerp', 'Athens', 'Barcelona',\n 'Berlin', 'Birmingham', 'Bradford', 'Bremen', 'Brussels', 'Bucharest',\n 'Budapest', 'Cologne', 'Copenhagen', 'Dortmund', 'Dresden', 'Dublin',\n 'D\xfcsseldorf', 'Essen', 'Frankfurt', 'Genoa', 'Glasgow', 'Gothenburg',\n 'Hamburg', 'Hannover', 'Helsinki', 'Krak\xf3w', 'Leeds', 'Leipzig', 'Lisbon',\n 'London', 'Madrid', 'Manchester', 'Marseille', 'Milan', 'Munich', 'M\xe1laga',\n 'Naples', 'Palermo', 'Paris', 'Pozna\u0144', 'Prague', 'Riga', 'Rome',\n 'Rotterdam', 'Seville', 'Sheffield', 'Sofia', 'Stockholm', 'Stuttgart',\n 'The Hague', 'Turin', 'Valencia', 'Vienna', 'Vilnius', 'Warsaw', 'Wroc\u0142aw',\n 'Zagreb', 'Zaragoza', '\u0141\xf3d\u017a'];\n\n public ngxControl = new UntypedFormControl();\n\n private _ngxDefaultTimeout;\n private _ngxDefaultInterval;\n private _ngxDefault;\n\n constructor() {\n this._ngxDefaultTimeout = setTimeout(() => {\n this._ngxDefaultInterval = setInterval(() => {\n const idx = Math.floor(Math.random() * (this.items.length - 1));\n this._ngxDefault = this.items[idx];\n // console.log('new default value = ', this._ngxDefault);\n }, 2000);\n }, 2000);\n }\n\n public ngOnDestroy(): void {\n clearTimeout(this._ngxDefaultTimeout);\n clearInterval(this._ngxDefaultInterval);\n }\n\n public doNgxDefault(): any {\n return this._ngxDefault;\n }\n\n public inputTyped = (source: string, text: string) => console.log('SingleDemoComponent.inputTyped', source, text);\n\n public doFocus = () => console.log('SingleDemoComponent.doFocus');\n\n public doBlur = () => console.log('SingleDemoComponent.doBlur');\n\n public doOpen = () => console.log('SingleDemoComponent.doOpen');\n\n public doClose = () => console.log('SingleDemoComponent.doClose');\n\n public doSelect = (value: any) => console.log('SingleDemoComponent.doSelect', value);\n\n public doRemove = (value: any) => console.log('SingleDemoComponent.doRemove', value);\n\n public doSelectOptions = (options: INgxSelectOption[]) => console.log('SingleDemoComponent.doSelectOptions', options);\n}\n"},969:(he,U,x)=>{"use strict";x.d(U,{FX:()=>He,If:()=>u,K2:()=>be,hZ:()=>se,i0:()=>$,iF:()=>Q,kY:()=>Y,kp:()=>K,sf:()=>wt,ui:()=>mt,wk:()=>q});var u=function(L){return L[L.State=0]="State",L[L.Transition=1]="Transition",L[L.Sequence=2]="Sequence",L[L.Group=3]="Group",L[L.Animate=4]="Animate",L[L.Keyframes=5]="Keyframes",L[L.Style=6]="Style",L[L.Trigger=7]="Trigger",L[L.Reference=8]="Reference",L[L.AnimateChild=9]="AnimateChild",L[L.AnimateRef=10]="AnimateRef",L[L.Query=11]="Query",L[L.Stagger=12]="Stagger",L}(u||{});const K="*";function se(L,F){return{type:u.Trigger,name:L,definitions:F,options:{}}}function $(L,F=null){return{type:u.Animate,styles:F,timings:L}}function be(L,F=null){return{type:u.Sequence,steps:L,options:F}}function Q(L){return{type:u.Style,styles:L,offset:null}}function q(L,F,J){return{type:u.State,name:L,styles:F,options:J}}function Y(L,F,J=null){return{type:u.Transition,expr:L,animation:F,options:J}}class wt{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(F=0,J=0){this.totalTime=F+J}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(F=>F()),this._onDoneFns=[])}onStart(F){this._originalOnStartFns.push(F),this._onStartFns.push(F)}onDone(F){this._originalOnDoneFns.push(F),this._onDoneFns.push(F)}onDestroy(F){this._onDestroyFns.push(F)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(F=>F()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(F=>F()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(F){this._position=this.totalTime?F*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(F){const J="start"==F?this._onStartFns:this._onDoneFns;J.forEach(et=>et()),J.length=0}}class mt{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(F){this.players=F;let J=0,et=0,Ht=0;const or=this.players.length;0==or?queueMicrotask(()=>this._onFinish()):this.players.forEach(xn=>{xn.onDone(()=>{++J==or&&this._onFinish()}),xn.onDestroy(()=>{++et==or&&this._onDestroy()}),xn.onStart(()=>{++Ht==or&&this._onStart()})}),this.totalTime=this.players.reduce((xn,hs)=>Math.max(xn,hs.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(F=>F()),this._onDoneFns=[])}init(){this.players.forEach(F=>F.init())}onStart(F){this._onStartFns.push(F)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(F=>F()),this._onStartFns=[])}onDone(F){this._onDoneFns.push(F)}onDestroy(F){this._onDestroyFns.push(F)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(F=>F.play())}pause(){this.players.forEach(F=>F.pause())}restart(){this.players.forEach(F=>F.restart())}finish(){this._onFinish(),this.players.forEach(F=>F.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(F=>F.destroy()),this._onDestroyFns.forEach(F=>F()),this._onDestroyFns=[])}reset(){this.players.forEach(F=>F.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(F){const J=F*this.totalTime;this.players.forEach(et=>{const Ht=et.totalTime?Math.min(1,J/et.totalTime):1;et.setPosition(Ht)})}getPosition(){const F=this.players.reduce((J,et)=>null===J||et.totalTime>J.totalTime?et:J,null);return null!=F?F.getPosition():0}beforeDestroy(){this.players.forEach(F=>{F.beforeDestroy&&F.beforeDestroy()})}triggerCallback(F){const J="start"==F?this._onStartFns:this._onDoneFns;J.forEach(et=>et()),J.length=0}}const He="!"},213:(he,U,x)=>{"use strict";function se(e,t){return Object.is(e,t)}x.d(U,{bc$:()=>Fp,sZ2:()=>ga,o8S:()=>Mn,BIS:()=>B_,gRc:()=>vT,Ocv:()=>Uk,aKT:()=>da,uvJ:()=>yn,zcH:()=>Pn,bkB:()=>Jn,nKC:()=>le,zZn:()=>It,_q3:()=>ND,MKu:()=>FD,xe9:()=>ID,Vns:()=>is,SKi:()=>tt,Agw:()=>Lr,PLl:()=>Wl,rOR:()=>S_,sFG:()=>Iv,_9s:()=>wf,czy:()=>cc,WPN:()=>Zi,C4Q:()=>Dc,NYb:()=>rb,giA:()=>ob,RxE:()=>lT,c1b:()=>lm,gXe:()=>ni,mal:()=>Hi,L39:()=>GO,EWP:()=>LD,a0P:()=>gR,w6W:()=>Fv,QZP:()=>BD,Rfq:()=>_i,WQX:()=>z,Hps:()=>zg,EmA:()=>Fo,Udg:()=>zO,Jn2:()=>Bk,vPA:()=>Fc,O8t:()=>Yc,An2:()=>Pr,H8p:()=>cl,KH2:()=>Zc,wOt:()=>V,WHO:()=>Yg,e01:()=>Of,lNU:()=>vs,h9k:()=>Iy,$MX:()=>qd,ZF7:()=>Aa,Kcf:()=>YC,e5t:()=>nw,UyX:()=>ew,cWb:()=>JC,osQ:()=>tw,H5H:()=>rD,mq5:()=>wI,JZv:()=>dt,TL3:()=>DO,jNT:()=>Tc,zjR:()=>em,ngT:()=>Mt,TL$:()=>NC,Tbb:()=>rt,rcV:()=>mo,Vt3:()=>Tb,GFd:()=>N0,OA$:()=>Nu,Jv_:()=>kM,R7$:()=>Ra,BMQ:()=>Hb,HbH:()=>oI,AVh:()=>Kb,vxM:()=>pI,wni:()=>iM,VBU:()=>Rv,FsC:()=>Bg,jDH:()=>Oe,G2t:()=>xo,$C:()=>Lg,EJ8:()=>jg,rXU:()=>Yi,nrm:()=>Jb,eu8:()=>nD,k0s:()=>vm,j41:()=>ym,RV6:()=>bI,xGo:()=>ed,KVO:()=>Ge,kS0:()=>na,QTQ:()=>vo,bIt:()=>sD,lsd:()=>lM,XpG:()=>qI,nI1:()=>GM,bMT:()=>zM,SdG:()=>ZI,NAR:()=>KI,Y8G:()=>zb,eq3:()=>RM,l_i:()=>PM,sMw:()=>LM,ziG:()=>VM,mGM:()=>aM,sdS:()=>cM,Dyx:()=>_I,Z7z:()=>mI,fX1:()=>gI,Njj:()=>Bh,EBC:()=>Ny,eBV:()=>Lu,npT:()=>My,Aen:()=>zr,xc7:()=>qb,DNE:()=>Ab,C5r:()=>WM,EFF:()=>vM,JRh:()=>uD,SpI:()=>Em,wXG:()=>Sy,DH7:()=>SM,mxI:()=>fD,R50:()=>dD,GBs:()=>sM});let $=null,G=!1,be=1;const Q=Symbol("SIGNAL");function q(e){const t=$;return $=e,t}const pe={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Ct(e){if(G)throw new Error("");if(null===$)return;$.consumerOnSignalRead(e);const t=$.nextProducerIndex++;L($),t<$.producerNode.length&&$.producerNode[t]!==e&&He($)&&mt($.producerNode[t],$.producerIndexOfThis[t]),$.producerNode[t]!==e&&($.producerNode[t]=e,$.producerIndexOfThis[t]=He($)?wt(e,$,t):0),$.producerLastReadVersion[t]=e.version}function xt(e){if((!He(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==be)){if(!e.producerMustRecompute(e)&&!te(e))return void gt(e);e.producerRecomputeValue(e),gt(e)}}function Be(e){if(void 0===e.liveConsumerNode)return;const t=G;G=!0;try{for(const n of e.liveConsumerNode)n.dirty||jt(n)}finally{G=t}}function Te(){return!1!==$?.consumerAllowSignalWrites}function jt(e){e.dirty=!0,Be(e),e.consumerMarkedDirty?.(e)}function gt(e){e.dirty=!1,e.lastCleanEpoch=be}function lt(e){return e&&(e.nextProducerIndex=0),q(e)}function xe(e,t){if(q(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(He(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function te(e){L(e);for(let t=0;t0}function L(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function F(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function J(e){return void 0!==e.producerNode}const Ht=Symbol("UNSET"),or=Symbol("COMPUTING"),xn=Symbol("ERRORED"),hs={...pe,value:Ht,dirty:!0,error:null,equal:se,producerMustRecompute:e=>e.value===Ht||e.value===or,producerRecomputeValue(e){if(e.value===or)throw new Error("Detected cycle in computations.");const t=e.value;e.value=or;const n=lt(e);let o;try{o=e.computation()}catch(a){o=xn,e.error=a}finally{xe(e,n)}t!==Ht&&t!==xn&&o!==xn&&e.equal(t,o)?e.value=t:(e.value=o,e.version++)}};let tu=function eu(){throw new Error};function nu(){tu()}let Cr=null;function $n(e,t){Te()||nu(),e.equal(e.value,t)||(e.value=t,function gs(e){e.version++,function ae(){be++}(),Be(e),Cr?.()}(e))}const ps={...pe,equal:se,value:void 0};const pi=()=>{},ou={...pe,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:pi};var nn=x(412),wo=x(413),_s=x(359),iu=x(354);(0,x(853).L)(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}),x(964),x(697),x(974),x(360),x(669);const vs="https://g.co/ng/security#xss";class V extends Error{code;constructor(t,n){super(function Gn(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function zn(e){return{toString:e}.toString()}const An="__parameters__";function Wn(e,t,n){return zn(()=>{const o=function Mo(e){return function(...n){if(e){const o=e(...n);for(const a in o)this[a]=o[a]}}}(t);function a(...c){if(this instanceof a)return o.apply(this,c),this;const f=new a(...c);return h.annotation=f,h;function h(p,m,y){const v=p.hasOwnProperty(An)?p[An]:Object.defineProperty(p,An,{value:[]})[An];for(;v.length<=y;)v.push(null);return(v[y]=v[y]||[]).push(f),p}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a})}const dt=globalThis;function ke(e){for(let t in e)if(e[t]===ke)return t;throw Error("Could not find renamed property on target object.")}function lu(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function rt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(rt).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function ir(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const cu=ke({__forward_ref__:ke});function _i(e){return e.__forward_ref__=_i,e.toString=function(){return rt(this())},e}function oe(e){return To(e)?e():e}function To(e){return"function"==typeof e&&e.hasOwnProperty(cu)&&e.__forward_ref__===_i}function Oe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function xo(e){return{providers:e.providers||[],imports:e.imports||[]}}function Yr(e){return Jr(e,eo)||Jr(e,rl)}function Jr(e,t){return e.hasOwnProperty(t)?e[t]:null}function Er(e){return e&&(e.hasOwnProperty(Es)||e.hasOwnProperty(hh))?e[Es]:null}const eo=ke({\u0275prov:ke}),Es=ke({\u0275inj:ke}),rl=ke({ngInjectableDef:ke}),hh=ke({ngInjectorDef:ke});class le{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Oe({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Ts(e){return e&&!!e.\u0275providers}const Ao=ke({\u0275cmp:ke}),xs=ke({\u0275dir:ke}),qn=ke({\u0275pipe:ke}),Ss=ke({\u0275mod:ke}),Kn=ke({\u0275fac:ke}),lr=ke({__NG_ELEMENT_ID__:ke}),ol=ke({__NG_ENV_ID__:ke});function ue(e){return"string"==typeof e?e:null==e?"":String(e)}function bi(e,t){throw new V(-201,!1)}var we=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(we||{});let As;function b(){return As}function I(e){const t=As;return As=e,t}function k(e,t,n){const o=Yr(e);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:n&we.Optional?null:void 0!==t?t:void bi()}const ge={},qe="__NG_DI_FLAG__",ot="ngTempTokenPath",Ze=/\n/gm,mn="__source";let ct;function yt(e){const t=ct;return ct=e,t}function ur(e,t=we.Default){if(void 0===ct)throw new V(-203,!1);return null===ct?k(e,void 0,t):ct.get(e,t&we.Optional?null:void 0,t)}function Ge(e,t=we.Default){return(b()||ur)(oe(e),t)}function z(e,t=we.Default){return Ge(e,to(t))}function to(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function xr(e){const t=[];for(let n=0;nArray.isArray(n)?ks(n,t):t(n))}function $m(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function al(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function _n(e,t,n){let o=Os(e,t);return o>=0?e[1|o]=n:(o=~o,function Gm(e,t,n,o){let a=e.length;if(a==t)e.push(n,o);else if(1===a)e.push(o,e[0]),e[0]=n;else{for(a--,e.push(e[a-1],e[a]);a>t;)e[a]=e[a-2],a--;e[t]=n,e[t+1]=o}}(e,o,t,n)),o}function yu(e,t){const n=Os(e,t);if(n>=0)return e[1|n]}function Os(e,t){return function vh(e,t,n){let o=0,a=e.length>>n;for(;a!==o;){const c=o+(a-o>>1),f=e[c<t?a=c:o=c+1}return~(a<{n.push(f)};return ks(t,f=>{const h=f;Du(h,c,[],o)&&(a||=[],a.push(h))}),void 0!==a&&Wm(a,c),n}function Wm(e,t){for(let n=0;n{t(c,o)})}}function Du(e,t,n,o){if(!(e=oe(e)))return!1;let a=null,c=Er(e);const f=!c&&Ce(e);if(c||f){if(f&&!f.standalone)return!1;a=e}else{const p=e.ngModule;if(c=Er(p),!c)return!1;a=p}const h=o.has(a);if(f){if(h)return!1;if(o.add(a),f.dependencies){const p="function"==typeof f.dependencies?f.dependencies():f.dependencies;for(const m of p)Du(m,t,n,o)}}else{if(!c)return!1;{if(null!=c.imports&&!h){let m;o.add(a);try{ks(c.imports,y=>{Du(y,t,n,o)&&(m||=[],m.push(y))})}finally{}void 0!==m&&Wm(m,t)}if(!h){const m=No(a)||(()=>new a);t({provide:a,useFactory:m,deps:Re},a),t({provide:bu,useValue:a,multi:!0},a),t({provide:fr,useValue:()=>Ge(a),multi:!0},a)}const p=c.providers;if(null!=p&&!h){const m=e;Cu(p,y=>{t(y,m)})}}}return a!==e&&void 0!==e.providers}function Cu(e,t){for(let n of e)Ts(n)&&(n=n.\u0275providers),Array.isArray(n)?Cu(n,t):t(n)}const Km=ke({provide:String,useValue:ke});function Rs(e){return null!==e&&"object"==typeof e&&Km in e}function wi(e){return"function"==typeof e}const cl=new le(""),wu={},GD={};let Ch;function Ei(){return void 0===Ch&&(Ch=new $e),Ch}class yn{}class ko extends yn{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,o,a){super(),this.parent=n,this.source=o,this.scopes=a,Eh(t,f=>this.processProvider(f)),this.records.set(vu,Ps(void 0,this)),a.has("environment")&&this.records.set(yn,Ps(void 0,this));const c=this.records.get(cl);null!=c&&"string"==typeof c.value&&this.scopes.add(c.value),this.injectorDefTypes=new Set(this.get(bu,Re,we.Self))}destroy(){ul(this),this._destroyed=!0;const t=q(null);try{for(const o of this._ngOnDestroyHooks)o.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const o of n)o()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),q(t)}}onDestroy(t){return ul(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){ul(this);const n=yt(this),o=I(void 0);try{return t()}finally{yt(n),I(o)}}get(t,n=ge,o=we.Default){if(ul(this),t.hasOwnProperty(ol))return t[ol](this);o=to(o);const c=yt(this),f=I(void 0);try{if(!(o&we.SkipSelf)){let p=this.records.get(t);if(void 0===p){const m=function qD(e){return"function"==typeof e||"object"==typeof e&&e instanceof le}(t)&&Yr(t);p=m&&this.injectableDefInScope(m)?Ps(Eu(t),wu):null,this.records.set(t,p)}if(null!=p)return this.hydrate(t,p)}return(o&we.Self?Ei():this.parent).get(t,n=o&we.Optional&&n===ge?null:n)}catch(h){if("NullInjectorError"===h.name){if((h[ot]=h[ot]||[]).unshift(rt(t)),c)throw h;return function Fs(e,t,n,o){const a=e[ot];throw t[mn]&&a.unshift(t[mn]),e.message=function _h(e,t,n,o=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let a=rt(t);if(Array.isArray(t))a=t.map(rt).join(" -> ");else if("object"==typeof t){let c=[];for(let f in t)if(t.hasOwnProperty(f)){let h=t[f];c.push(f+":"+("string"==typeof h?JSON.stringify(h):rt(h)))}a=`{${c.join(", ")}}`}return`${n}${o?"("+o+")":""}[${a}]: ${e.replace(Ze,"\n ")}`}("\n"+e.message,a,n,o),e.ngTokenPath=a,e[ot]=null,e}(h,t,"R3InjectorError",this.source)}throw h}finally{I(f),yt(c)}}resolveInjectorInitializers(){const t=q(null),n=yt(this),o=I(void 0);try{const c=this.get(fr,Re,we.Self);for(const f of c)f()}finally{yt(n),I(o),q(t)}}toString(){const t=[],n=this.records;for(const o of n.keys())t.push(rt(o));return`R3Injector[${t.join(", ")}]`}processProvider(t){let n=wi(t=oe(t))?t:oe(t&&t.provide);const o=function Ii(e){return Rs(e)?Ps(void 0,e.useValue):Ps(Qm(e),wu)}(t);if(!wi(t)&&!0===t.multi){let a=this.records.get(n);a||(a=Ps(void 0,wu,!0),a.factory=()=>xr(a.multi),this.records.set(n,a)),n=t,a.multi.push(t)}this.records.set(n,o)}hydrate(t,n){const o=q(null);try{return n.value===wu&&(n.value=GD,n.value=n.factory()),"object"==typeof n.value&&n.value&&function WD(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{q(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=oe(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Eu(e){const t=Yr(e),n=null!==t?t.factory:No(e);if(null!==n)return n;if(e instanceof le)throw new V(204,!1);if(e instanceof Function)return function wh(e){if(e.length>0)throw new V(204,!1);const n=function ws(e){return e&&(e[eo]||e[rl])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new V(204,!1)}function Qm(e,t,n){let o;if(wi(e)){const a=oe(e);return No(a)||Eu(a)}if(Rs(e))o=()=>oe(e.useValue);else if(function Zm(e){return!(!e||!e.useFactory)}(e))o=()=>e.useFactory(...xr(e.deps||[]));else if(function Ci(e){return!(!e||!e.useExisting)}(e))o=()=>Ge(oe(e.useExisting));else{const a=oe(e&&(e.useClass||e.provide));if(!function zD(e){return!!e.deps}(e))return No(a)||Eu(a);o=()=>new a(...xr(e.deps))}return o}function ul(e){if(e.destroyed)throw new V(205,!1)}function Ps(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Eh(e,t){for(const n of e)Array.isArray(n)?Eh(n,t):n&&Ts(n)?Eh(n.\u0275providers,t):t(n)}function Xm(e,t){e instanceof ko&&ul(e);const o=yt(e),a=I(void 0);try{return t()}finally{yt(o),I(a)}}function Ih(){return void 0!==b()||null!=function on(){return ct}()}function Mi(e){if(!Ih())throw new V(-203,!1)}const Je=0,P=1,ee=2,ft=3,kt=4,ht=5,an=6,Ls=7,Ke=8,Pe=9,ln=10,de=11,Oo=12,fl=13,xi=14,Qe=15,no=16,Ro=17,Zn=18,Po=19,Mu=20,ro=21,Si=22,oo=23,Zt=24,Z=25,hl=1,hr=7,Ai=9,ut=10;var gl=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(gl||{});function it(e){return Array.isArray(e)&&"object"==typeof e[hl]}function pt(e){return Array.isArray(e)&&!0===e[hl]}function Vs(e){return!!(4&e.flags)}function io(e){return e.componentOffset>-1}function Tu(e){return!(1&~e.flags)}function kn(e){return!!e.template}function Bs(e){return!!(512&e[ee])}class o_{previousValue;currentValue;firstChange;constructor(t,n,o){this.previousValue=t,this.currentValue=n,this.firstChange=o}isFirstChange(){return this.firstChange}}function Ah(e,t,n,o){null!==t?t.applyValueToInputSignal(t,o):e[n]=o}const Nu=(()=>{const e=()=>i_;return e.ngInherit=!0,e})();function i_(e){return e.type.prototype.ngOnChanges&&(e.setInput=cC),lC}function lC(){const e=s_(this),t=e?.current;if(t){const n=e.previous;if(n===dr)e.previous=t;else for(let o in t)n[o]=t[o];e.current=null,this.ngOnChanges(t)}}function cC(e,t,n,o,a){const c=this.declaredInputs[o],f=s_(e)||function uC(e,t){return e[Nh]=t}(e,{previous:dr,current:null}),h=f.current||(f.current={}),p=f.previous,m=p[c];h[c]=new o_(m&&m.currentValue,n,p===dr),Ah(e,t,a,n)}const Nh="__ngSimpleChanges__";function s_(e){return e[Nh]||null}const Sr=function(e,t,n){};function Ae(e){for(;Array.isArray(e);)e=e[Je];return e}function Ar(e,t){return Ae(t[e])}function cn(e,t){return Ae(t[e.index])}function js(e,t){return e.data[t]}function Ni(e,t){return e[t]}function On(e,t){const n=t[e];return it(n)?n:n[Je]}function kh(e){return!(128&~e[ee])}function Rn(e,t){return null==t?null:e[t]}function Oh(e){e[Ro]=0}function Fu(e){1024&e[ee]||(e[ee]|=1024,kh(e)&&Lo(e))}function yl(e){return!!(9216&e[ee]||e[Zt]?.dirty)}function ku(e){e[ln].changeDetectionScheduler?.notify(9),64&e[ee]&&(e[ee]|=1024),yl(e)&&Lo(e)}function Lo(e){e[ln].changeDetectionScheduler?.notify(0);let t=Nr(e);for(;null!==t&&!(8192&t[ee])&&(t[ee]|=8192,kh(t));)t=Nr(t)}function vl(e,t){if(!(256&~e[ee]))throw new V(911,!1);null===e[ro]&&(e[ro]=[]),e[ro].push(t)}function Nr(e){const t=e[ft];return pt(t)?t[ft]:t}const fe={lFrame:qh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Ru=!1;function Lh(){return fe.bindingsEnabled}function Fr(){return null!==fe.skipHydrationRootTNode}function S(){return fe.lFrame.lView}function ne(){return fe.lFrame.tView}function Lu(e){return fe.lFrame.contextLView=e,e[Ke]}function Bh(e){return fe.lFrame.contextLView=null,e}function Ee(){let e=jh();for(;null!==e&&64===e.type;)e=e.parent;return e}function jh(){return fe.lFrame.currentTNode}function vn(e,t){const n=fe.lFrame;n.currentTNode=e,n.isParent=t}function Vu(){return fe.lFrame.isParent}function Bu(){fe.lFrame.isParent=!1}function $h(){return Ru}function Dl(e){const t=Ru;return Ru=e,t}function Qt(){const e=fe.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function je(){return fe.lFrame.bindingIndex++}function gr(e){const t=fe.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Gh(e,t){const n=fe.lFrame;n.bindingIndex=n.bindingRootIndex=e,wl(t)}function wl(e){fe.lFrame.currentDirectiveIndex=e}function El(){return fe.lFrame.currentQueryIndex}function $s(e){fe.lFrame.currentQueryIndex=e}function Wh(e){const t=e[P];return 2===t.type?t.declTNode:1===t.type?e[ht]:null}function Uu(e,t,n){if(n&we.SkipSelf){let a=t,c=e;for(;!(a=a.parent,null!==a||n&we.Host||(a=Wh(c),null===a||(c=c[xi],10&a.type))););if(null===a)return!1;t=a,e=c}const o=fe.lFrame=un();return o.currentTNode=t,o.lView=e,!0}function $u(e){const t=un(),n=e[P];fe.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function un(){const e=fe.lFrame,t=null===e?null:e.child;return null===t?qh(e):t}function qh(e){const t={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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Kh(){const e=fe.lFrame;return fe.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Zh=Kh;function Gu(){const e=Kh();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Ot(){return fe.lFrame.selectedIndex}function Vo(e){fe.lFrame.selectedIndex=e}function Me(){const e=fe.lFrame;return js(e.tView,e.selectedIndex)}let ep=!0;function Gs(){return ep}function mr(e){ep=e}function Il(e,t){for(let n=t.directiveStart,o=t.directiveEnd;n=o)break}else t[p]<0&&(e[Ro]+=65536),(h>14>16&&(3&e[ee])===t&&(e[ee]+=16384,rp(h,c)):rp(h,c)}const Bo=-1;class zs{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,o){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=o}}function Ks(e,t,n){let o=0;for(;ot){f=c-1;break}}}for(;c>16}(e),o=t;for(;n>0;)o=o[xi],n--;return o}let Qs=!0;function Xn(e){const t=Qs;return Qs=e,t}const Pt=255,Or=5;let y_=0;const Rr={};function Xs(e,t){const n=Zu(e,t);if(-1!==n)return n;const o=t[P];o.firstCreatePass&&(e.injectorIndex=t.length,xl(o.data,e),xl(t,null),xl(o.blueprint,null));const a=Ys(e,t),c=e.injectorIndex;if(Ku(a)){const f=Fi(a),h=Zs(a,t),p=h[P].data;for(let m=0;m<8;m++)t[c+m]=h[f+m]|p[f+m]}return t[c+8]=a,c}function xl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Zu(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ys(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,o=null,a=t;for(;null!==a;){if(o=td(a),null===o)return Bo;if(n++,a=a[xi],-1!==o.injectorIndex)return o.injectorIndex|n<<16}return Bo}function Sl(e,t,n){!function sp(e,t,n){let o;"string"==typeof n?o=n.charCodeAt(0)||0:n.hasOwnProperty(lr)&&(o=n[lr]),null==o&&(o=n[lr]=y_++);const a=o&Pt;t.data[e+(a>>Or)]|=1<=0?t&Pt:up:t}(n);if("function"==typeof c){if(!Uu(t,e,o))return o&we.Host?Qu(a,0,o):Js(t,n,o,a);try{let f;if(f=c(o),null!=f||o&we.Optional)return f;bi()}finally{Zh()}}else if("number"==typeof c){let f=null,h=Zu(e,t),p=Bo,m=o&we.Host?t[Qe][ht]:null;for((-1===h||o&we.SkipSelf)&&(p=-1===h?Ys(e,t):t[h+8],p!==Bo&&Al(o,!1)?(f=t[P],h=Fi(p),t=Zs(p,t)):h=-1);-1!==h;){const y=t[P];if(Ju(c,h,y.data)){const v=lp(h,t,n,f,o,m);if(v!==Rr)return v}p=t[h+8],p!==Bo&&Al(o,t[P].data[h+8]===m)&&Ju(c,h,t)?(f=y,h=Fi(p),t=Zs(p,t)):h=-1}}return a}function lp(e,t,n,o,a,c){const f=t[P],h=f.data[e+8],y=ea(h,f,n,null==o?io(h)&&Qs:o!=f&&!!(3&h.type),a&we.Host&&c===h);return null!==y?jo(t,f,y,h):Rr}function ea(e,t,n,o,a){const c=e.providerIndexes,f=t.data,h=1048575&c,p=e.directiveStart,y=c>>20,C=a?h+y:e.directiveEnd;for(let w=o?h:h+y;w=p&&M.type===n)return w}if(a){const w=f[p];if(w&&kn(w)&&w.type===n)return p}return null}function jo(e,t,n,o){let a=e[n];const c=t.data;if(function op(e){return e instanceof zs}(a)){const f=a;f.resolving&&function cr(e,t){throw t&&t.join(" > "),new V(-200,e)}(function Ne(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ue(e)}(c[n]));const h=Xn(f.canSeeViewProviders);f.resolving=!0;const m=f.injectImpl?I(f.injectImpl):null;Uu(e,o,we.Default);try{a=e[n]=f.factory(void 0,c,e,o),t.firstCreatePass&&n>=o.directiveStart&&function tp(e,t,n){const{ngOnChanges:o,ngOnInit:a,ngDoCheck:c}=t.type.prototype;if(o){const f=i_(t);(n.preOrderHooks??=[]).push(e,f),(n.preOrderCheckHooks??=[]).push(e,f)}a&&(n.preOrderHooks??=[]).push(0-e,a),c&&((n.preOrderHooks??=[]).push(e,c),(n.preOrderCheckHooks??=[]).push(e,c))}(n,c[n],t)}finally{null!==m&&I(m),Xn(h),f.resolving=!1,Zh()}}return a}function Ju(e,t,n){return!!(n[t+(e>>Or)]&1<{const t=e.prototype.constructor,n=t[Kn]||ta(t),o=Object.prototype;let a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==o;){const c=a[Kn]||ta(a);if(c&&c!==n)return c;a=Object.getPrototypeOf(a)}return c=>new c})}function ta(e){return To(e)?()=>{const t=ta(oe(e));return t&&t()}:No(e)}function td(e){const t=e[P],n=t.type;return 2===n?t.declTNode:1===n?e[ht]:null}function na(e){return function ap(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const o=n.length;let a=0;for(;aGe(vu)});static __NG_ELEMENT_ID__=-1}new le("").__NG_ELEMENT_ID__=e=>{const t=Ee();if(null===t)throw new V(204,!1);if(2&t.type)return t.value;if(e&we.Optional)return null;throw new V(204,!1)};const w_=!1;let lo=(()=>class e{static __NG_ELEMENT_ID__=CC;static __NG_ENV_ID__=n=>n})();class rd extends lo{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return vl(this._lView,t),()=>function Hs(e,t){if(null===e[ro])return;const n=e[ro].indexOf(t);-1!==n&&e[ro].splice(n,1)}(this._lView,t)}}function CC(){return new rd(S())}class Pr{}const Ol=new le("",{providedIn:"root",factory:()=>!1}),oa=new le(""),co=new le("");let Yn=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new nn.t(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=Oe({token:e,providedIn:"root",factory:()=>new e})}return e})();const Jn=class pp extends wo.B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Ih()&&(this.destroyRef=z(lo,{optional:!0})??void 0,this.pendingTasks=z(Yn,{optional:!0})??void 0)}emit(t){const n=q(null);try{super.next(t)}finally{q(n)}}subscribe(t,n,o){let a=t,c=n||(()=>null),f=o;if(t&&"object"==typeof t){const p=t;a=p.next?.bind(p),c=p.error?.bind(p),f=p.complete?.bind(p)}this.__isAsync&&(c=this.wrapInTimeout(c),a&&(a=this.wrapInTimeout(a)),f&&(f=this.wrapInTimeout(f)));const h=super.subscribe({next:a,error:c,complete:f});return t instanceof _s.yU&&t.add(h),h}wrapInTimeout(t){return n=>{const o=this.pendingTasks?.add();setTimeout(()=>{t(n),void 0!==o&&this.pendingTasks?.remove(o)})}}};function $o(...e){}function ia(e){let t,n;function o(){e=$o;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),o()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),o()})),()=>o()}function gp(e){return queueMicrotask(()=>e()),()=>{e=$o}}const sa="isAngularZone",Pl=sa+"_ID";let od=0;class tt{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Jn(!1);onMicrotaskEmpty=new Jn(!1);onStable=new Jn(!1);onError=new Jn(!1);constructor(t){const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:o=!1,shouldCoalesceRunChangeDetection:a=!1,scheduleInRootZone:c=w_}=t;if(typeof Zone>"u")throw new V(908,!1);Zone.assertZonePatched();const f=this;f._nesting=0,f._outer=f._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(f._inner=f._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(f._inner=f._inner.fork(Zone.longStackTraceZoneSpec)),f.shouldCoalesceEventChangeDetection=!a&&o,f.shouldCoalesceRunChangeDetection=a,f.callbackScheduled=!1,f.scheduleInRootZone=c,function id(e){const t=()=>{!function mp(e){function t(){ia(()=>{e.callbackScheduled=!1,aa(e),e.isCheckStableRunning=!0,Vl(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),aa(e))}(e)},n=od++;e._inner=e._inner.fork({name:"angular",properties:{[sa]:!0,[Pl]:n,[Pl+n]:!0},onInvokeTask:(o,a,c,f,h,p)=>{if(function M_(e){return uo(e,"__ignore_ng_zone__")}(p))return o.invokeTask(c,f,h,p);try{return E_(e),o.invokeTask(c,f,h,p)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===f.type||e.shouldCoalesceRunChangeDetection)&&t(),I_(e)}},onInvoke:(o,a,c,f,h,p,m)=>{try{return E_(e),o.invoke(c,f,h,p,m)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function EC(e){return uo(e,"__scheduler_tick__")}(p)&&t(),I_(e)}},onHasTask:(o,a,c,f)=>{o.hasTask(c,f),a===c&&("microTask"==f.change?(e._hasPendingMicrotasks=f.microTask,aa(e),Vl(e)):"macroTask"==f.change&&(e.hasPendingMacrotasks=f.macroTask))},onHandleError:(o,a,c,f)=>(o.handleError(c,f),e.runOutsideAngular(()=>e.onError.emit(f)),!1)})}(f)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(sa)}static assertInAngularZone(){if(!tt.isInAngularZone())throw new V(909,!1)}static assertNotInAngularZone(){if(tt.isInAngularZone())throw new V(909,!1)}run(t,n,o){return this._inner.run(t,n,o)}runTask(t,n,o,a){const c=this._inner,f=c.scheduleEventTask("NgZoneEvent: "+a,t,Ll,$o,$o);try{return c.runTask(f,n,o)}finally{c.cancelTask(f)}}runGuarded(t,n,o){return this._inner.runGuarded(t,n,o)}runOutsideAngular(t){return this._outer.run(t)}}const Ll={};function Vl(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function aa(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function E_(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function I_(e){e._nesting--,Vl(e)}class _p{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Jn;onMicrotaskEmpty=new Jn;onStable=new Jn;onError=new Jn;run(t,n,o){return t.apply(n,o)}runGuarded(t,n,o){return t.apply(n,o)}runOutsideAngular(t){return t()}runTask(t,n,o,a){return t.apply(n,o)}}function uo(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class Pn{_console=console;handleError(t){this._console.error("ERROR",t)}}const ca=new le("",{providedIn:"root",factory:()=>{const e=z(tt),t=z(Pn);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function T_(){return Go(Ee(),S())}function Go(e,t){return new da(cn(e,t))}let da=(()=>class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=T_})();function ld(e){return e instanceof da?e.nativeElement:e}function x_(){return this._results[Symbol.iterator]()}class S_{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new wo.B}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const o=function sn(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Um(e,t,n){if(e.length!==t.length)return!1;for(let o=0;oNp}),Np="ng",Wl=new le(""),Lr=new le("",{providedIn:"platform",factory:()=>"unknown"}),Fp=new le(""),B_=new le("",{providedIn:"root",factory:()=>Ln().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),va=new le("",{providedIn:"root",factory:()=>!1}),Sd=new Set;function Mt(e){Sd.has(e)||(Sd.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Xo=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Xo||{});let ji=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=Oe({token:e,providedIn:"root",factory:()=>new e})}return e})();const ba=[Xo.EarlyRead,Xo.Write,Xo.MixedReadWrite,Xo.Read];let Vr=(()=>{class e{ngZone=z(tt);scheduler=z(Pr);errorHandler=z(Pn,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;execute(){this.executing=!0;for(const n of ba)for(const o of this.sequences)if(!o.erroredOrDestroyed&&o.hooks[n])try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>o.hooks[n](o.pipelinedValue))}catch(a){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(a)}this.executing=!1;for(const n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(const n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(7))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static \u0275prov=Oe({token:e,providedIn:"root",factory:()=>new e})}return e})();class Lp{impl;hooks;once;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,o,a){this.impl=t,this.hooks=n,this.once=o,this.unregisterOnDestroy=a?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}}function Hi(e,t){!t?.injector&&Mi();const n=t?.injector??z(It);return Mt("NgAfterNextRender"),function Ad(e,t,n,o){const a=t.get(ji);a.impl??=t.get(Vr);const c=n?.phase??Xo.MixedReadWrite,f=!0!==n?.manualCleanup?t.get(lo):null,h=new Lp(a.impl,function G_(e,t){if(e instanceof Function){const n=[void 0,void 0,void 0,void 0];return n[t]=e,n}return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e,c),o,f);return a.impl.register(h),h}(e,n,t,!0)}let Ki=()=>null;function jn(e,t,n=!1){return Ki(e,t,n)}var ni=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(ni||{});let Wd,rc;function Xp(){if(void 0===Wd&&(Wd=null,dt.trustedTypes))try{Wd=dt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Wd}function Sa(e){return Xp()?.createHTML(e)||e}function py(e){return function Yp(){if(void 0===rc&&(rc=null,dt.trustedTypes))try{rc=dt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return rc}()?.createHTML(e)||e}class ri{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${vs})`}}class WC extends ri{getTypeName(){return"HTML"}}class qC extends ri{getTypeName(){return"Style"}}class KC extends ri{getTypeName(){return"Script"}}class ZC extends ri{getTypeName(){return"URL"}}class QC extends ri{getTypeName(){return"ResourceURL"}}function mo(e){return e instanceof ri?e.changingThisBreaksApplicationSecurity:e}function Aa(e,t){const n=function XC(e){return e instanceof ri&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${vs})`)}return n===t}function YC(e){return new WC(e)}function JC(e){return new qC(e)}function ew(e){return new KC(e)}function tw(e){return new ZC(e)}function nw(e){return new QC(e)}class rw{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(Sa(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class ow{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Sa(t),n}}const sw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function qd(e){return(e=String(e)).match(sw)?e:"unsafe:"+e}function _o(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function oc(...e){const t={};for(const n of e)for(const o in n)n.hasOwnProperty(o)&&(t[o]=!0);return t}const yy=_o("area,br,col,hr,img,wbr"),vy=_o("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),by=_o("rp,rt"),Jp=oc(yy,oc(vy,_o("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),oc(by,_o("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),oc(by,vy)),eg=_o("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Dy=oc(eg,_o("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),_o("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),cw=_o("script,style,template");class uw{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,o=!0,a=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?o=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,o&&n.firstChild)a.push(n),n=hw(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let c=fw(n);if(c){n=c;break}n=a.pop()}return this.buf.join("")}startElement(t){const n=Cy(t).toLowerCase();if(!Jp.hasOwnProperty(n))return this.sanitizedSomething=!0,!cw.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const o=t.attributes;for(let a=0;a"),!0}endElement(t){const n=Cy(t).toLowerCase();Jp.hasOwnProperty(n)&&!yy.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Ey(t))}}function fw(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw wy(t);return t}function hw(e){const t=e.firstChild;if(t&&function dw(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw wy(t);return t}function Cy(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function wy(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const pw=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,gw=/([^\#-~ |!])/g;function Ey(e){return e.replace(/&/g,"&").replace(pw,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(gw,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Kd;function Iy(e,t){let n=null;try{Kd=Kd||function _y(e){const t=new ow(e);return function iw(){try{return!!(new window.DOMParser).parseFromString(Sa(""),"text/html")}catch{return!1}}()?new rw(t):t}(e);let o=t?String(t):"";n=Kd.getInertBodyElement(o);let a=5,c=o;do{if(0===a)throw new Error("Failed to sanitize html because the input is unstable");a--,o=c,c=n.innerHTML,n=Kd.getInertBodyElement(o)}while(o!==c);return Sa((new uw).sanitizeChildren(tg(n)||n))}finally{if(n){const o=tg(n)||n;for(;o.firstChild;)o.firstChild.remove()}}}function tg(e){return"content"in e&&function mw(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Zi=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Zi||{});function My(e){const t=function ic(){const e=S();return e&&e[ln].sanitizer}();return t?py(t.sanitize(Zi.HTML,e)||""):Aa(e,"HTML")?py(mo(e)):Iy(Ln(),ue(e))}function Sy(e){return function zC(e){return Xp()?.createScriptURL(e)||e}(e[0])}const Cw=/^>|^->||--!>|)/g;function Ny(e){return e.ownerDocument}var pn=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(pn||{}),cc=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(cc||{});let Qd;function Xd(e,t){return Qd(e,t)}function oi(e,t,n,o,a){if(null!=o){let c,f=!1;pt(o)?c=o:it(o)&&(f=!0,o=o[Je]);const h=Ae(o);0===e&&null!==n?null==a?nf(t,n,h):yo(t,n,h,a||null,!0):1===e&&null!==n?yo(t,n,h,a||null,!0):2===e?function Oa(e,t,n){e.removeChild(null,t,n)}(t,h,f):3===e&&t.destroyNode(h),null!=c&&function Wy(e,t,n,o,a){const c=n[hr];c!==Ae(n)&&oi(t,e,o,c,a);for(let h=ut;ht.replace(ww,"\u200b$1\u200b"))}(t))}function Jd(e,t,n){return e.createElement(t,n)}function cg(e,t){t[ln].changeDetectionScheduler?.notify(10),lf(e,t,t[de],2,null,null)}function Ly(e,t){const n=e[Ai],o=t[ft];(it(o)||t[Qe]!==o[ft][Qe])&&(e[ee]|=gl.HasTransplantedViews),null===n?e[Ai]=[t]:n.push(t)}function ug(e,t){const n=e[Ai],o=n.indexOf(t);n.splice(o,1)}function uc(e,t){if(e.length<=ut)return;const n=ut+t,o=e[n];if(o){const a=o[no];null!==a&&a!==e&&ug(a,o),t>0&&(e[n-1][kt]=o[kt]);const c=al(e,ut+t);!function ef(e,t){cg(e,t),t[Je]=null,t[ht]=null}(o[P],o);const f=c[Zn];null!==f&&f.detachView(c[P]),o[ft]=null,o[kt]=null,o[ee]&=-129}return o}function ka(e,t){if(!(256&t[ee])){const n=t[de];n.destroyNode&&lf(e,t,n,3,null,null),function Rw(e){let t=e[Oo];if(!t)return dc(e[P],e);for(;t;){let n=null;if(it(t))n=t[Oo];else{const o=t[ut];o&&(n=o)}if(!n){for(;t&&!t[kt]&&t!==e;)it(t)&&dc(t[P],t),t=t[ft];null===t&&(t=e),it(t)&&dc(t[P],t),n=t&&t[kt]}t=n}}(t)}}function dc(e,t){if(256&t[ee])return;const n=q(null);try{t[ee]&=-129,t[ee]|=256,t[Zt]&&ze(t[Zt]),function Pw(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let o=0;o=0?o[h]():o[-h].unsubscribe(),f+=2}else n[f].call(o[n[f+1]]);null!==o&&(t[Ls]=null);const a=t[ro];if(null!==a){t[ro]=null;for(let f=0;f-1){const{encapsulation:c}=e.data[o.directiveStart+a];if(c===ni.None||c===ni.Emulated)return null}return cn(o,n)}}(e,t.parent,n)}function yo(e,t,n,o,a){e.insertBefore(t,n,o,a)}function nf(e,t,n){e.appendChild(t,n)}function By(e,t,n,o,a){null!==o?yo(e,t,n,o,a):nf(e,t,n)}function rf(e,t){return e.parentNode(t)}function Hy(e,t,n){return $y(e,t,n)}let fg,$y=function Uy(e,t,n){return 40&e.type?cn(e,n):null};function fc(e,t,n,o){const a=tf(e,o,t),c=t[de],h=Hy(o.parent||t[ht],o,t);if(null!=a)if(Array.isArray(n))for(let p=0;p-1){let c;for(;++ac?"":a[y+1].toLowerCase(),2&o&&m!==v){if(nr(o))return!1;f=!0}}}}else{if(!f&&!nr(o)&&!nr(p))return!1;if(f&&nr(p))continue;f=!1,o=p|1&o}}return nr(o)||f}function nr(e){return!(1&e)}function mg(e,t,n,o){if(null===t)return-1;let a=0;if(o||!n){let c=!1;for(;a-1)for(n++;n0?'="'+h+'"':"")+"]"}else 8&o?a+="."+f:4&o&&(a+=" "+f);else""!==a&&!nr(f)&&(t+=Jy(c,a),a=""),o=f,c=c||!nr(o);n++}return""!==a&&(t+=Jy(c,a)),t}const me={};function Ra(e=1){_g(ne(),S(),Ot()+e,!1)}function _g(e,t,n,o){if(!o)if(3&~t[ee]){const c=e.preOrderHooks;null!==c&&Dn(t,c,0,n)}else{const c=e.preOrderCheckHooks;null!==c&&Ml(t,c,n)}Vo(n)}function Yi(e,t=we.Default){const n=S();return null===n?Ge(e,t):Xu(Ee(),n,oe(e),t)}function vo(){throw new Error("invalid")}function cf(e,t,n,o,a,c){const f=q(null);try{let h=null;a&pn.SignalBased&&(h=t[o][Q]),null!==h&&void 0!==h.transformFn&&(c=h.transformFn(c)),a&pn.HasDecoratorInputTransform&&(c=e.inputTransforms[o].call(t,c)),null!==e.setInput?e.setInput(t,h,c,n,o):Ah(t,h,o,c)}finally{q(f)}}function ai(e,t,n,o,a,c,f,h,p,m,y){const v=t.blueprint.slice();return v[Je]=a,v[ee]=1228|o,(null!==m||e&&2048&e[ee])&&(v[ee]|=2048),Oh(v),v[ft]=v[xi]=e,v[Ke]=n,v[ln]=f||e&&e[ln],v[de]=h||e&&e[de],v[Pe]=p||e&&e[Pe]||null,v[ht]=c,v[Po]=function N_(){return TC++}(),v[an]=y,v[Mu]=m,v[Qe]=2==t.type?e[Qe]:v,v}function li(e,t,n,o,a){let c=e.data[t];if(null===c)c=function vg(e,t,n,o,a){const c=jh(),f=Vu(),p=e.data[t]=function Qw(e,t,n,o,a,c){let f=t?t.injectorIndex:-1,h=0;return Fr()&&(h|=128),{type:n,index:o,insertBeforeIndex:null,injectorIndex:f,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:h,providerIndexes:0,value:a,attrs:c,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,f?c:c&&c.parent,n,t,o,a);return null===e.firstChild&&(e.firstChild=p),null!==c&&(f?null==c.child&&null!==p.parent&&(c.child=p):null===c.next&&(c.next=p,p.prev=c)),p}(e,t,n,o,a),function vt(){return fe.lFrame.inI18n}()&&(c.flags|=32);else if(64&c.type){c.type=n,c.value=o,c.attrs=a;const f=function Us(){const e=fe.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();c.injectorIndex=null===f?-1:f.injectorIndex}return vn(c,!0),c}function ci(e,t,n,o){if(0===n)return-1;const a=t.length;for(let c=0;cZ&&_g(e,t,Z,!1),Sr(f?2:0,a),n(o,a)}finally{Vo(c),Sr(f?3:1,a)}}function uf(e,t,n){if(Vs(t)){const o=q(null);try{const c=t.directiveEnd;for(let f=t.directiveStart;fnull;function ev(e,t,n,o,a){for(let c in t){if(!t.hasOwnProperty(c))continue;const f=t[c];if(void 0===f)continue;o??={};let h,p=pn.None;Array.isArray(f)?(h=f[0],p=f[1]):h=f;let m=c;if(null!==a){if(!a.hasOwnProperty(c))continue;m=a[c]}0===e?tv(o,n,m,h,p):tv(o,n,m,h)}return o}function tv(e,t,n,o,a){let c;e.hasOwnProperty(n)?(c=e[n]).push(t,o):c=e[n]=[t,o],void 0!==a&&c.push(a)}function En(e,t,n,o,a,c,f,h){const p=cn(t,n);let y,m=t.inputs;!h&&null!=m&&(y=m[o])?(yc(e,n,y,o,a),io(t)&&function Jw(e,t){const n=On(t,e);16&n[ee]||(n[ee]|=64)}(n,t.index)):3&t.type&&(o=function Yw(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(o),a=null!=f?f(a,t.value||"",o):a,c.setProperty(p,o,a))}function Cg(e,t,n,o){if(Lh()){const a=null===o?null:{"":-1},c=function Ji(e,t){const n=e.directiveRegistry;let o=null,a=null;if(n)for(let c=0;c0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(f)!=h&&f.push(h),f.push(n,o,c)}}(e,t,o,ci(e,n,a.hostVars,me),a)}function mf(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function vr(e,t,n,o,a,c){const f=cn(e,t);!function Eg(e,t,n,o,a,c,f){if(null==c)e.removeAttribute(t,a,n);else{const h=null==f?ue(c):f(c,o||"",a);e.setAttribute(t,a,h,n)}}(t[de],f,c,e.value,n,o,a)}function aE(e,t,n,o,a,c){const f=c[t];if(null!==f)for(let h=0;h0&&(n[a-1][kt]=t),o{Lo(e.lView)},consumerOnSignalRead(){this.lView[Zt]=this}},pE={...pe,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Nr(e.lView);for(;t&&!dv(t[P]);)t=Nr(t);t&&Fu(t)},consumerOnSignalRead(){this.lView[Zt]=this}};function dv(e){return 2!==e.type}function fv(e){if(null===e[oo])return;let t=!0;for(;t;){let n=!1;for(const o of e[oo])o.dirty&&(n=!0,null===o.zone||Zone.current===o.zone?o.run():o.zone.run(()=>o.run()));t=n&&!!(8192&e[ee])}}function yf(e,t=!0,n=0){const a=e[ln].rendererFactory;a.begin?.();try{!function mE(e,t){const n=$h();try{Dl(!0),Ag(e,t);let o=0;for(;yl(e);){if(100===o)throw new V(103,!1);o++,Ag(e,1)}}finally{Dl(n)}}(e,n)}catch(f){throw t&&_c(e,f),f}finally{a.end?.()}}function pv(e,t,n,o){const a=t[ee];if(!(256&~a))return;$u(t);let h=!0,p=null,m=null;dv(e)?(m=function cE(e){return e[Zt]??function uE(e){const t=uv.pop()??Object.create(fE);return t.lView=e,t}(e)}(t),p=lt(m)):null===function ve(){return $}()?(h=!1,m=function hE(e){const t=e[Zt]??Object.create(pE);return t.lView=e,t}(t),p=lt(m)):t[Zt]&&(ze(t[Zt]),t[Zt]=null);try{Oh(t),function Cl(e){return fe.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&bg(e,t,n,2,o);const y=!(3&~a);if(y){const w=e.preOrderCheckHooks;null!==w&&Ml(t,w,null)}else{const w=e.preOrderHooks;null!==w&&Dn(t,w,0,null),zu(t,0)}if(function _E(e){for(let t=gd(e);null!==t;t=$l(t)){if(!(t[ee]&gl.HasTransplantedViews))continue;const n=t[Ai];for(let o=0;o-1&&(uc(t,o),al(n,o))}this._attachedToViewContainer=!1}ka(this._lView[P],this._lView)}onDestroy(t){vl(this._lView,t)}markForCheck(){vc(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Fu(this._cdRefInjectingView||this._lView)}detach(){this._lView[ee]&=-129}reattach(){ku(this._lView),this._lView[ee]|=128}detectChanges(){this._lView[ee]|=1024,yf(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new V(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=Bs(this._lView),n=this._lView[no];null!==n&&!t&&ug(n,this._lView),cg(this._lView[P],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new V(902,!1);this._appRef=t;const n=Bs(this._lView),o=this._lView[no];null!==o&&!n&&Ly(o,this._lView),ku(this._lView)}}let Dc=(()=>class e{static __NG_ELEMENT_ID__=yv})();const vE=Dc,vf=class extends vE{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,o){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,o){const a=ui(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:o});return new bc(a)}};function yv(){return rs(Ee(),S())}function rs(e,t){return 4&e.type?new vf(t,e,Go(e,t)):null}class Cv{resolveComponentFactory(t){throw Error(`No component factory found for ${rt(t)}.`)}}class Cc{static NULL=new Cv}class is{}class Ev{}class ss{}class wf{}let Iv=(()=>class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>function Mv(){const e=S(),n=On(Ee().index,e);return(it(n)?n:e)[de]}()})(),wE=(()=>{class e{static \u0275prov=Oe({token:e,providedIn:"root",factory:()=>null})}return e})();function Tf(e,t,n){let o=n?e.styles:null,a=n?e.classes:null,c=0;if(null!==t)for(let f=0;f0&&qy(e,n,c.join(" "))}}(C,Tt,M,o),void 0!==n&&function Av(e,t,n){const o=e.projection=[];for(let a=0;an()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class kv extends is{injector;componentFactoryResolver=new Og(this);instance=null;constructor(t){super();const n=new ko([...t.providers,{provide:is,useValue:this},{provide:Cc,useValue:this.componentFactoryResolver}],t.parent||Ei(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}let FE=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const o=bh(0,n.type),a=o.length>0?function Ov(e,t,n=null){return new kv({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,a)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=Oe({token:e,providedIn:"environment",factory:()=>new e(Ge(yn))})}return e})();function Rv(e){return zn(()=>{const t=Hg(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Oi.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?a=>a.get(FE).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ni.Emulated,styles:e.styles||Re,_:null,schemas:e.schemas||null,tView:null,id:""};t.standalone&&Mt("NgStandalone"),Ug(n);const o=e.dependencies;return n.directiveDefs=Sf(o,!1),n.pipeDefs=Sf(o,!0),n.id=function Af(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const a of n)t=Math.imul(31,t)+a.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function kE(e){return Ce(e)||At(e)}function OE(e){return null!==e}function Lg(e){return zn(()=>({type:e.type,bootstrap:e.bootstrap||Re,declarations:e.declarations||Re,imports:e.imports||Re,exports:e.exports||Re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Vg(e,t){if(null==e)return dr;const n={};for(const o in e)if(e.hasOwnProperty(o)){const a=e[o];let c,f,h=pn.None;Array.isArray(a)?(h=a[0],c=a[1],f=a[2]??c):(c=a,f=a),t?(n[c]=h!==pn.None?[o,h]:o,t[c]=f):n[c]=o}return n}function Bg(e){return zn(()=>{const t=Hg(e);return Ug(t),t})}function jg(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Hg(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||dr,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||Re,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Vg(e.inputs,t),outputs:Vg(e.outputs),debugInfo:null}}function Ug(e){e.features?.forEach(t=>t(e))}function Sf(e,t){if(!e)return null;const n=t?Ut:kE;return()=>("function"==typeof e?e():e).map(o=>n(o)).filter(OE)}function zg(e){return"function"==typeof e&&void 0!==e[Q]}const Yg=new le(""),Of=new le("");let Jg,rb=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];taskTrackingZone=null;constructor(n,o,a){this._ngZone=n,this.registry=o,Jg||(function jE(e){Jg=e}(a),a.addToWindow(o)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{tt.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(n)||(clearTimeout(o.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,o,a){let c=-1;o&&o>0&&(c=setTimeout(()=>{this._callbacks=this._callbacks.filter(f=>f.timeoutId!==c),n()},o)),this._callbacks.push({doneCb:n,timeoutId:c,updateCb:a})}whenStable(n,o,a){if(a&&!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(n,o,a),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,a){return[]}static \u0275fac=function(o){return new(o||e)(Ge(tt),Ge(ob),Ge(Of))};static \u0275prov=Oe({token:e,factory:e.\u0275fac})}return e})(),ob=(()=>{class e{_applications=new Map;registerApplication(n,o){this._applications.set(n,o)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,o=!0){return Jg?.findTestabilityInTree(this,n,o)??null}static \u0275fac=function(o){return new(o||e)};static \u0275prov=Oe({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Tc(e){return!!e&&"function"==typeof e.then}function em(e){return!!e&&"function"==typeof e.subscribe}const tm=new le("");let nm=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o});appInits=z(tm,{optional:!0})??[];injector=z(It);constructor(){}runInitializers(){if(this.initialized)return;const n=[];for(const a of this.appInits){const c=Xm(this.injector,a);if(Tc(c))n.push(c);else if(em(c)){const f=new Promise((h,p)=>{c.subscribe({complete:h,error:p})});n.push(f)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(a=>{this.reject(a)}),0===n.length&&o(),this.initialized=!0}static \u0275fac=function(o){return new(o||e)};static \u0275prov=Oe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Rf=(()=>{class e{static \u0275prov=Oe({token:e,providedIn:"root",factory:()=>new rm})}return e})();class rm{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}enqueue(t){const n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);const o=this.queues.get(n);o.has(t)||(this.queuedEffectCount++,o.add(t))}flush(){for(;this.queuedEffectCount>0;)for(const[t,n]of this.queues)null===t?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(const n of t)t.delete(n),this.queuedEffectCount--,n.run()}}const xc=new le("");let Mn=(()=>{class e{_bootstrapListeners=[];_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=z(ca);afterRenderManager=z(ji);zonelessEnabled=z(Ol);rootEffectScheduler=z(Rf);dirtyFlags=0;deferredDirtyFlags=0;externalTestViews=new Set;afterTick=new wo.B;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=z(Yn).hasPendingTasks.pipe((0,iu.T)(n=>!n));whenStable(){let n;return new Promise(o=>{n=this.isStable.subscribe({next:a=>{a&&o()}})}).finally(()=>{n.unsubscribe()})}_injector=z(yn);get injector(){return this._injector}bootstrap(n,o){const a=n instanceof ss;if(!this._injector.get(nm).done)throw!a&&function Di(e){const t=Ce(e)||At(e)||Ut(e);return null!==t&&t.standalone}(n),new V(405,!1);let f;f=a?n:this._injector.get(Cc).resolveComponentFactory(n),this.componentTypes.push(f.componentType);const h=function ib(e){return e.isBoundToModule}(f)?void 0:this._injector.get(is),m=f.create(It.NULL,[],o||f.selector,h),y=m.location.nativeElement,v=m.injector.get(Yg,null);return v?.registerApplication(y),m.onDestroy(()=>{this.detachView(m.hostView),Sc(this.components,m),v?.unregisterApplication(y)}),this._loadComponent(m),m}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new V(101,!1);const n=q(null);try{this._runningTick=!0,this.synchronize()}catch(o){this.internalErrorHandler(o)}finally{this._runningTick=!1,q(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(wf,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let o=0;for(;0!==this.dirtyFlags&&o++<10;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),7&this.dirtyFlags){const o=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:a,notifyErrorHandler:c}of this.allViews)l(a,c,o,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}else n?.begin?.(),n?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>yl(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){const o=n;Sc(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const o=this._injector.get(xc,[]);[...this._bootstrapListeners,...o].forEach(a=>a(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Sc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new V(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(o){return new(o||e)};static \u0275prov=Oe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Sc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function l(e,t,n,o){(n||yl(e))&&yf(e,t,n&&!o?0:1)}let e0=()=>null;function Nc(e,t){return e0(e,t)}let lm=(()=>class e{static __NG_ELEMENT_ID__=vS})();function vS(){return r0(Ee(),S())}const bS=lm,t0=class extends bS{_lContainer;_hostTNode;_hostLView;constructor(t,n,o){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=o}get element(){return Go(this._hostTNode,this._hostLView)}get injector(){return new bt(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ys(this._hostTNode,this._hostLView);if(Ku(t)){const n=Zs(t,this._hostLView),o=Fi(t);return new bt(n[P].data[o+8],n)}return new bt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=n0(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-ut}createEmbeddedView(t,n,o){let a,c;"number"==typeof o?a=o:null!=o&&(a=o.index,c=o.injector);const f=Nc(this._lContainer,t.ssrId),h=t.createEmbeddedViewImpl(n||{},c,f);return this.insertImpl(h,a,br(this._hostTNode,f)),h}createComponent(t,n,o,a,c){const f=t&&!function dl(e){return"function"==typeof e}(t);let h;if(f)h=n;else{const M=n||{};h=M.index,o=M.injector,a=M.projectableNodes,c=M.environmentInjector||M.ngModuleRef}const p=f?t:new wc(Ce(t)),m=o||this.parentInjector;if(!c&&null==p.ngModule){const A=(f?m:this.parentInjector).get(yn,null);A&&(c=A)}const y=Ce(p.componentType??{}),v=Nc(this._lContainer,y?.id??null),w=p.create(m,a,v?.firstChild??null,c);return this.insertImpl(w.hostView,h,br(this._hostTNode,v)),w}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,o){const a=t._lView;if(function pC(e){return pt(e[ft])}(a)){const h=this.indexOf(t);if(-1!==h)this.detach(h);else{const p=a[ft],m=new t0(p,p[ht],p[ft]);m.detach(m.indexOf(t))}}const c=this._adjustIndex(n),f=this._lContainer;return ts(f,a,c,o),t.attachToViewContainerRef(),$m(mb(f),c,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=n0(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),o=uc(this._lContainer,n);o&&(al(mb(this._lContainer),n),ka(o[P],o))}detach(t){const n=this._adjustIndex(t,-1),o=uc(this._lContainer,n);return o&&null!=al(mb(this._lContainer),n)?new bc(o):null}_adjustIndex(t,n=0){return t??this.length+n}};function n0(e){return e[8]}function mb(e){return e[8]||(e[8]=[])}function r0(e,t){let n;const o=t[e.index];return pt(o)?n=o:(n=sv(o,t,null,e),t[e.index]=n,mc(t,n)),o0(n,t,e,o),new t0(n,e,t)}let o0=function a0(e,t,n,o){if(e[hr])return;let a;a=8&n.type?Ae(o):function DS(e,t){const n=e[de],o=n.createComment(""),a=cn(t,e);return yo(n,rf(n,a),o,function jy(e,t){return e.nextSibling(t)}(n,a),!1),o}(t,n),e[hr]=a},_b=()=>!1;class yb{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new yb(this.queryList)}setDirty(){this.queryList.setDirty()}}class vb{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const o=null!==t.contentQueries?t.contentQueries[0]:n.length,a=[];for(let c=0;ct.trim())}(t):t}}class bb{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let o=0;o0)o.push(f[h/2]);else{const m=c[h+1],y=t[-p];for(let v=ut;v(Ct(t),t.value);return n[Q]=t,n}(e),o=n[Q];return t?.equal&&(o.equal=t.equal),n.set=a=>$n(o,a),n.update=a=>function ru(e,t){Te()||nu(),$n(e,t(e.value))}(o,a),n.asReadonly=Ib.bind(n),n}function Ib(){const e=this[Q];if(void 0===e.readonlyFn){const t=()=>this();t[Q]=e,e.readonlyFn=t}return e.readonlyFn}function g0(e){return zg(e)&&"function"==typeof e.set}function Tb(e){let t=function M0(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const o=[e];for(;t;){let a;if(kn(e))a=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new V(903,!1);a=t.\u0275dir}if(a){if(n){o.push(a);const f=e;f.inputs=um(e.inputs),f.inputTransforms=um(e.inputTransforms),f.declaredInputs=um(e.declaredInputs),f.outputs=um(e.outputs);const h=a.hostBindings;h&&GS(e,h);const p=a.viewQuery,m=a.contentQueries;if(p&&US(e,p),m&&$S(e,m),jS(e,a),lu(e.outputs,a.outputs),kn(a)&&a.data.animation){const y=e.data;y.animation=(y.animation||[]).concat(a.data.animation)}}const c=a.features;if(c)for(let f=0;f=0;o--){const a=e[o];a.hostVars=t+=a.hostVars,a.hostAttrs=We(a.hostAttrs,n=We(n,a.hostAttrs))}}(o)}function jS(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const o=t.inputs[n];if(void 0!==o&&(e.inputs[n]=o,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const a=Array.isArray(o)?o[0]:o;if(!t.inputTransforms.hasOwnProperty(a))continue;e.inputTransforms??={},e.inputTransforms[a]=t.inputTransforms[a]}}}function um(e){return e===dr?{}:e===Re?[]:e}function US(e,t){const n=e.viewQuery;e.viewQuery=n?(o,a)=>{t(o,a),n(o,a)}:t}function $S(e,t){const n=e.contentQueries;e.contentQueries=n?(o,a,c)=>{t(o,a,c),n(o,a,c)}:t}function GS(e,t){const n=e.hostBindings;e.hostBindings=n?(o,a)=>{t(o,a),n(o,a)}:t}function N0(e){const t=e.inputConfig,n={};for(const o in t)if(t.hasOwnProperty(o)){const a=t[o];Array.isArray(a)&&a[3]&&(n[o]=a[3])}e.inputTransforms=n}function dm(e){return!!Sb(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Sb(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Do(e,t,n){return e[t]=n}function Dt(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Wa(e,t,n,o){const a=Dt(e,t,n);return Dt(e,t+1,o)||a}function Gf(e,t,n,o,a,c,f,h,p,m){const y=n+Z,v=t.firstCreatePass?function JS(e,t,n,o,a,c,f,h,p){const m=t.consts,y=li(t,e,4,f||null,h||null);Cg(t,n,y,Rn(m,p)),Il(t,y);const v=y.tView=Pa(2,y,o,a,c,t.directiveRegistry,t.pipeRegistry,null,t.schemas,m,null);return null!==t.queries&&(t.queries.template(t,y),v.queries=t.queries.embeddedTView(y)),y}(y,t,e,o,a,c,f,h,p):t.data[y];vn(v,!1);const C=F0(t,e,v,n);Gs()&&fc(t,e,C,v),Xt(C,e);const w=sv(C,e,C,v);return e[y]=w,mc(e,w),function s0(e,t,n){return _b(e,t,n)}(w,v,e),Tu(v)&&df(t,e,v),null!=p&&ff(e,v,m),v}function Ab(e,t,n,o,a,c,f,h){const p=S(),m=ne();return Gf(p,m,e,t,n,o,a,Rn(m.consts,c),f,h),Ab}let F0=function k0(e,t,n,o){return mr(!0),t[de].createComment("")};function Hb(e,t,n,o){const a=S();return Dt(a,je(),t)&&(ne(),vr(Me(),a,e,t,n,o)),Hb}function gm(e,t){return e<<17|t<<2}function ds(e){return e>>17&32767}function Ub(e){return 2|e}function Ka(e){return(131068&e)>>2}function $b(e,t){return-131069&e|t<<2}function Gb(e){return 1|e}function X0(e,t,n,o){const a=e[n+1],c=null===t;let f=o?ds(a):Ka(a),h=!1;for(;0!==f&&(!1===h||c);){const m=e[f+1];KA(e[f],t)&&(h=!0,e[f+1]=o?Gb(m):Ub(m)),f=o?ds(m):Ka(m)}h&&(e[n+1]=o?Ub(a):Gb(a))}function KA(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Os(e,t)>=0}const Vt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Y0(e){return e.substring(Vt.key,Vt.keyEnd)}function ZA(e){return e.substring(Vt.value,Vt.valueEnd)}function J0(e,t){const n=Vt.textEnd;return n===t?-1:(t=Vt.keyEnd=function YA(e,t,n){for(;t32;)t++;return t}(e,Vt.key=t,n),qc(e,t,n))}function eI(e,t){const n=Vt.textEnd;let o=Vt.key=qc(e,t,n);return n===o?-1:(o=Vt.keyEnd=function JA(e,t,n){let o;for(;t=65&&(-33&o)<=90||o>=48&&o<=57);)t++;return t}(e,o,n),o=nI(e,o,n),o=Vt.value=qc(e,o,n),o=Vt.valueEnd=function eN(e,t,n){let o=-1,a=-1,c=-1,f=t,h=f;for(;f32&&(h=f),c=a,a=o,o=-33&p}return h}(e,o,n),nI(e,o,n))}function tI(e){Vt.key=0,Vt.keyEnd=0,Vt.value=0,Vt.valueEnd=0,Vt.textEnd=e.length}function qc(e,t,n){for(;t=0;n=eI(t,n))aI(e,Y0(t),ZA(t))}function oI(e){qr(aN,Co,e,!0)}function Co(e,t){for(let n=function QA(e){return tI(e),J0(e,qc(e,0,Vt.textEnd))}(t);n>=0;n=J0(t,n))_n(e,Y0(t),!0)}function Wr(e,t,n,o){const a=S(),c=ne(),f=gr(2);c.firstUpdatePass&&sI(c,e,f,o),t!==me&&Dt(a,f,t)&&lI(c,c.data[Ot()],a,a[de],e,a[f+1]=function cN(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=rt(mo(e)))),e}(t,n),o,f)}function qr(e,t,n,o){const a=ne(),c=gr(2);a.firstUpdatePass&&sI(a,null,c,o);const f=S();if(n!==me&&Dt(f,c,n)){const h=a.data[Ot()];if(uI(h,o)&&!iI(a,c)){let p=o?h.classesWithoutHost:h.stylesWithoutHost;null!==p&&(n=ir(p,n||"")),Wb(a,h,f,n,o)}else!function lN(e,t,n,o,a,c,f,h){a===me&&(a=Re);let p=0,m=0,y=0=e.expandoStartIndex}function sI(e,t,n,o){const a=e.data;if(null===a[n+1]){const c=a[Ot()],f=iI(e,n);uI(c,o)&&null===t&&!f&&(t=!1),t=function nN(e,t,n,o){const a=function Hu(e){const t=fe.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let c=o?t.residualClasses:t.residualStyles;if(null===a)0===(o?t.classBindings:t.styleBindings)&&(n=Wf(n=Zb(null,e,t,n,o),t.attrs,o),c=null);else{const f=t.directiveStylingLast;if(-1===f||e[f]!==a)if(n=Zb(a,e,t,n,o),null===c){let p=function rN(e,t,n){const o=n?t.classBindings:t.styleBindings;if(0!==Ka(o))return e[ds(o)]}(e,t,o);void 0!==p&&Array.isArray(p)&&(p=Zb(null,e,t,p[1],o),p=Wf(p,t.attrs,o),function oN(e,t,n,o){e[ds(n?t.classBindings:t.styleBindings)]=o}(e,t,o,p))}else c=function iN(e,t,n){let o;const a=t.directiveEnd;for(let c=1+t.directiveStylingLast;c0)&&(m=!0)):y=n,a)if(0!==p){const C=ds(e[h+1]);e[o+1]=gm(C,h),0!==C&&(e[C+1]=$b(e[C+1],o)),e[h+1]=function GA(e,t){return 131071&e|t<<17}(e[h+1],o)}else e[o+1]=gm(h,0),0!==h&&(e[h+1]=$b(e[h+1],o)),h=o;else e[o+1]=gm(p,0),0===h?h=o:e[p+1]=$b(e[p+1],o),p=o;m&&(e[o+1]=Ub(e[o+1])),X0(e,y,o,!0),X0(e,y,o,!1),function qA(e,t,n,o,a){const c=a?e.residualClasses:e.residualStyles;null!=c&&"string"==typeof t&&Os(c,t)>=0&&(n[o+1]=Gb(n[o+1]))}(t,y,e,o,c),f=gm(h,p),c?t.classBindings=f:t.styleBindings=f}(a,c,t,n,f,o)}}function Zb(e,t,n,o,a){let c=null;const f=n.directiveEnd;let h=n.directiveStylingLast;for(-1===h?h=n.directiveStart:h++;h0;){const p=e[a],m=Array.isArray(p),y=m?p[1]:p,v=null===y;let C=n[a+1];C===me&&(C=v?Re:void 0);let w=v?yu(C,o):y===o?C:void 0;if(m&&!mm(w)&&(w=yu(p,o)),mm(w)&&(h=w,f))return h;const M=e[a+1];a=f?ds(M):Ka(M)}if(null!==t){let p=c?t.residualClasses:t.residualStyles;null!=p&&(h=yu(p,o))}return h}function mm(e){return void 0!==e}function uI(e,t){return!!(e.flags&(t?8:16))}class bN{destroy(t){}updateValue(t,n){}swap(t,n){const o=Math.min(t,n),a=Math.max(t,n),c=this.detach(a);if(a-o>1){const f=this.detach(o);this.attach(o,c),this.attach(a,f)}else this.attach(o,c)}move(t,n){this.attach(n,this.detach(t))}}function Qb(e,t,n,o,a){return e===n&&Object.is(t,o)?1:Object.is(a(e,t),a(n,o))?-1:0}function Xb(e,t,n,o){return!(void 0===t||!t.has(o)||(e.attach(n,t.get(o)),t.delete(o),0))}function dI(e,t,n,o,a){if(Xb(e,t,o,n(o,a)))e.updateValue(o,a);else{const c=e.create(o,a);e.attach(o,c)}}function fI(e,t,n,o){const a=new Set;for(let c=t;c<=n;c++)a.add(o(c,e.at(c)));return a}class hI{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const n=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let o=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const a=this._vMap;for(;a.has(o);)o=a.get(o);a.set(o,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,o]of this.kvMap)if(t(o,n),void 0!==this._vMap){const a=this._vMap;for(;a.has(o);)o=a.get(o),t(o,n)}}}function pI(e,t){Mt("NgControlFlow");const n=S(),o=je(),a=n[o]!==me?n[o]:-1,c=-1!==a?_m(n,Z+a):void 0;if(Dt(n,o,e)){const h=q(null);try{if(void 0!==c&&_f(c,0),-1!==e){const p=Z+e,m=_m(n,p),y=Yb(n[P],p),v=Nc(m,y.tView.ssrId);ts(m,ui(n,y,t,{dehydratedView:v}),0,br(y,v))}}finally{q(h)}}else if(void 0!==c){const h=xg(c,0);void 0!==h&&(h[Ke]=t)}}class CN{lContainer;$implicit;$index;constructor(t,n,o){this.lContainer=t,this.$implicit=n,this.$index=o}get $count(){return this.lContainer.length-ut}}function gI(e,t){return t}class EN{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,o){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=o}}function mI(e,t,n,o,a,c,f,h,p,m,y,v,C){Mt("NgControlFlow");const w=S(),M=ne(),A=void 0!==p,R=S(),H=h?f.bind(R[Qe][Ke]):f,N=new EN(A,H);R[Z+e]=N,Gf(w,M,e+1,t,n,o,a,Rn(M.consts,c)),A&&Gf(w,M,e+2,p,m,y,v,Rn(M.consts,C))}class IN extends bN{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,o){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=o}get length(){return this.lContainer.length-ut}at(t){return this.getLView(t)[Ke].$implicit}attach(t,n){const o=n[an];this.needsIndexUpdate||=t!==this.length,ts(this.lContainer,n,t,br(this.templateTNode,o))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function MN(e,t){return uc(e,t)}(this.lContainer,t)}create(t,n){const o=Nc(this.lContainer,this.templateTNode.tView.ssrId),a=ui(this.hostLView,this.templateTNode,new CN(this.lContainer,n,t),{dehydratedView:o});return this.operationsCounter?.recordCreate(),a}destroy(t){ka(t[P],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[Ke].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t{e.destroy(p)})}(p,e,c.trackByFn),p.updateIndexes(),c.hasEmptyBlock){const m=je(),y=0===p.length;if(Dt(o,m,y)){const v=n+2,C=_m(o,v);if(y){const w=Yb(a,v),M=Nc(C,w.tView.ssrId);ts(C,ui(o,w,void 0,{dehydratedView:M}),0,br(w,M))}else _f(C,0)}}}finally{q(t)}}function _m(e,t){return e[t]}function Yb(e,t){return js(e,t)}function ym(e,t,n,o){const a=S(),c=ne(),f=Z+e,h=a[de],p=c.firstCreatePass?function xN(e,t,n,o,a,c){const f=t.consts,p=li(t,e,2,o,Rn(f,a));return Cg(t,n,p,Rn(f,c)),null!==p.attrs&&Tf(p,p.attrs,!1),null!==p.mergedAttrs&&Tf(p,p.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,p),p}(f,c,a,t,n,o):c.data[f],m=yI(c,a,p,h,t,e);a[f]=m;const y=Tu(p);return vn(p,!0),Ky(h,m,p),!function Oc(e){return!(32&~e.flags)}(p)&&Gs()&&fc(c,a,m,p),0===function l_(){return fe.lFrame.elementDepthCount}()&&Xt(m,a),function c_(){fe.lFrame.elementDepthCount++}(),y&&(df(c,a,p),uf(c,p,a)),null!==o&&ff(a,p),ym}function vm(){let e=Ee();Vu()?Bu():(e=e.parent,vn(e,!1));const t=e;(function u_(e){return fe.skipHydrationRootTNode===e})(t)&&function f_(){fe.skipHydrationRootTNode=null}(),function Ph(){fe.lFrame.elementDepthCount--}();const n=ne();return n.firstCreatePass&&(Il(n,e),Vs(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function p_(e){return!!(8&e.flags)}(t)&&Wb(n,t,S(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Cn(e){return!!(16&e.flags)}(t)&&Wb(n,t,S(),t.stylesWithoutHost,!1),vm}function Jb(e,t,n,o){return ym(e,t,n,o),vm(),Jb}let yI=(e,t,n,o,a,c)=>(mr(!0),Jd(o,a,function Jh(){return fe.lFrame.currentNamespace}()));function eD(e,t,n){const o=S(),a=ne(),c=e+Z,f=a.firstCreatePass?function NN(e,t,n,o,a){const c=t.consts,f=Rn(c,o),h=li(t,e,8,"ng-container",f);return null!==f&&Tf(h,f,!0),Cg(t,n,h,Rn(c,a)),null!==t.queries&&t.queries.elementStart(t,h),h}(c,a,o,t,n):a.data[c];vn(f,!0);const h=vI(a,o,f,e);return o[c]=h,Gs()&&fc(a,o,h,f),Xt(h,o),Tu(f)&&(df(a,o,f),uf(a,f,o)),null!=n&&ff(o,f),eD}function tD(){let e=Ee();const t=ne();return Vu()?Bu():(e=e.parent,vn(e,!1)),t.firstCreatePass&&(Il(t,e),Vs(e)&&t.queries.elementEnd(e)),tD}function nD(e,t,n){return eD(e,t,n),tD(),nD}let vI=(e,t,n,o)=>(mr(!0),lg(t[de],""));function bI(){return S()}const Za=void 0;var RN=["en",[["a","p"],["AM","PM"],Za],[["AM","PM"],Za,Za],[["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"]],Za,[["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"]],Za,[["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}",Za,"{1} 'at' {0}",Za],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function ON(e){const n=Math.floor(Math.abs(e)),o=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===o?1:5}];let Kc={};function rD(e){const t=function PN(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=EI(t);if(n)return n;const o=t.split("-")[0];if(n=EI(o),n)return n;if("en"===o)return RN;throw new V(701,!1)}function wI(e){return rD(e)[Zc.PluralCase]}function EI(e){return e in Kc||(Kc[e]=dt.ng&&dt.ng.common&&dt.ng.common.locales&&dt.ng.common.locales[e]),Kc[e]}var Zc=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Zc||{});const bm="en-US";let II=bm,$I=(e,t,n)=>{};function sD(e,t,n,o){const a=S(),c=ne(),f=Ee();return aD(c,a,a[de],f,e,t,o),sD}function aD(e,t,n,o,a,c,f){const h=Tu(o),m=e.firstCreatePass&&lv(e),y=t[Ke],v=es(t);let C=!0;if(3&o.type||f){const A=cn(o,t),R=f?f(A):A,H=v.length,N=f?ye=>f(Ae(ye[o.index])):o.index;let ce=null;if(!f&&h&&(ce=function IF(e,t,n,o){const a=e.cleanup;if(null!=a)for(let c=0;cp?h[p]:null}"string"==typeof f&&(c+=2)}return null}(e,t,a,o.index)),null!==ce)(ce.__ngLastListenerFn__||ce).__ngNextListenerFn__=c,ce.__ngLastListenerFn__=c,C=!1;else{c=WI(o,t,y,c),$I(A,a,c);const ye=n.listen(R,a,c);v.push(c,ye),m&&m.push(a,N,H,H+1)}}else c=WI(o,t,y,c);const w=o.outputs;let M;if(C&&null!==w&&(M=w[a])){const A=M.length;if(A)for(let R=0;R-1?On(e.index,t):t,5);let h=zI(t,n,o,c),p=a.__ngNextListenerFn__;for(;p;)h=zI(t,n,p,c)&&h,p=p.__ngNextListenerFn__;return h}}function qI(e=1){return function Qh(e){return(fe.lFrame.contextLView=function Rh(e,t){for(;e>0;)t=t[xi],e--;return t}(e,fe.lFrame.contextLView))[Ke]}(e)}function MF(e,t){let n=null;const o=function Xy(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let a=0;a(mr(!0),function ag(e,t){return e.createText(t)}(t[de],o));function uD(e){return Em("",e,""),uD}function Em(e,t,n){const o=S(),a=function Bc(e,t,n,o){return Dt(e,je(),n)?t+ue(n)+o:me}(o,e,t,n);return a!==me&&function Hr(e,t,n){const o=Ar(t,e);!function Yd(e,t,n){e.setValue(t,n)}(e[de],o,n)}(o,Ot(),a),Em}function dD(e,t,n){g0(t)&&(t=t());const o=S();return Dt(o,je(),t)&&En(ne(),Me(),o,e,t,o[de],n,!1),dD}function SM(e,t){const n=g0(e);return n&&e.set(t),n}function fD(e,t){const n=S(),o=ne(),a=Ee();return aD(o,n,n[de],a,e,t),fD}function hD(e,t,n,o,a){if(e=oe(e),Array.isArray(e))for(let c=0;c>20;if(wi(e)||!e.multi){const w=new zs(m,a,Yi),M=gD(p,t,a?y:y+C,v);-1===M?(Sl(Xs(h,f),c,p),pD(c,e,t.length),t.push(p),h.directiveStart++,h.directiveEnd++,a&&(h.providerIndexes+=1048576),n.push(w),f.push(w)):(n[M]=w,f[M]=w)}else{const w=gD(p,t,y+C,v),M=gD(p,t,y,y+C),R=M>=0&&n[M];if(a&&!R||!a&&!(w>=0&&n[w])){Sl(Xs(h,f),c,p);const H=function qF(e,t,n,o,a){const c=new zs(e,n,Yi);return c.multi=[],c.index=t,c.componentProviders=0,FM(c,a,o&&!n),c}(a?WF:zF,n.length,a,o,m);!a&&R&&(n[M].providerFactory=H),pD(c,e,t.length,0),t.push(p),h.directiveStart++,h.directiveEnd++,a&&(h.providerIndexes+=1048576),n.push(H),f.push(H)}else pD(c,e,w>-1?w:M,FM(n[a?M:w],m,!a&&o));!a&&o&&R&&n[M].componentProviders++}}}function pD(e,t,n,o){const a=wi(t),c=function Dh(e){return!!e.useClass}(t);if(a||c){const p=(c?oe(t.useClass):t).prototype.ngOnDestroy;if(p){const m=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){const y=m.indexOf(n);-1===y?m.push(n,[o,p]):m[y+1].push(o,p)}else m.push(n,p)}}}function FM(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function gD(e,t,n,o){for(let a=n;a{n.providersResolver=(o,a)=>function GF(e,t,n){const o=ne();if(o.firstCreatePass){const a=kn(e);hD(n,o.data,o.blueprint,a,!0),hD(t,o.data,o.blueprint,a,!1)}}(o,a?a(e):e,t)}}function RM(e,t,n,o){return BM(S(),Qt(),e,t,n,o)}function PM(e,t,n,o,a){return function jM(e,t,n,o,a,c,f){const h=t+n;return Wa(e,h,a,c)?Do(e,h+2,f?o.call(f,a,c):o(a,c)):Yf(e,h+2)}(S(),Qt(),e,t,n,o,a)}function LM(e,t,n,o,a,c){return function HM(e,t,n,o,a,c,f,h){const p=t+n;return function fm(e,t,n,o,a){const c=Wa(e,t,n,o);return Dt(e,t+2,a)||c}(e,p,a,c,f)?Do(e,p+3,h?o.call(h,a,c,f):o(a,c,f)):Yf(e,p+3)}(S(),Qt(),e,t,n,o,a,c)}function VM(e,t,n,o,a,c,f){return function UM(e,t,n,o,a,c,f,h,p){const m=t+n;return function Dr(e,t,n,o,a,c){const f=Wa(e,t,n,o);return Wa(e,t+2,a,c)||f}(e,m,a,c,f,h)?Do(e,m+4,p?o.call(p,a,c,f,h):o(a,c,f,h)):Yf(e,m+4)}(S(),Qt(),e,t,n,o,a,c,f)}function Yf(e,t){const n=e[t];return n===me?void 0:n}function BM(e,t,n,o,a,c){const f=t+n;return Dt(e,f,a)?Do(e,f+1,c?o.call(c,a):o(a)):Yf(e,f+1)}function GM(e,t){const n=ne();let o;const a=e+Z;n.firstCreatePass?(o=function rk(e,t){if(t)for(let n=t.length-1;n>=0;n--){const o=t[n];if(e===o.name)return o}}(t,n.pipeRegistry),n.data[a]=o,o.onDestroy&&(n.destroyHooks??=[]).push(a,o.onDestroy)):o=n.data[a];const c=o.factory||(o.factory=No(o.type)),h=I(Yi);try{const p=Xn(!1),m=c();return Xn(p),function cD(e,t,n,o){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=o}(n,S(),a,m),m}finally{I(h)}}function zM(e,t,n){const o=e+Z,a=S(),c=Ni(a,o);return function Jf(e,t){return e[P].data[t].pure}(a,o)?BM(a,Qt(),t,c.transform,n,c):c.transform(n)}function WM(e,t){return rs(e,t)}class lT{full;major;minor;patch;constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let Lk=(()=>{class e{zone=z(tt);changeDetectionScheduler=z(Pr);applicationRef=z(Mn);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(o){return new(o||e)};static \u0275prov=Oe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Vk=new le("",{factory:()=>!1});function CD({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new tt({...wD(),scheduleInRootZone:n}),[{provide:tt,useFactory:e},{provide:fr,multi:!0,useFactory:()=>{const o=z(Lk,{optional:!0});return()=>o.initialize()}},{provide:fr,multi:!0,useFactory:()=>{const o=z(jk);return()=>{o.initialize()}}},!0===t?{provide:oa,useValue:!0}:[],{provide:co,useValue:n??w_}]}function Bk(e){const t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,o=CD({ngZoneFactory:()=>{const a=wD(e);return a.scheduleInRootZone=n,a.shouldCoalesceEventChangeDetection&&Mt("NgZone_CoalesceEvent"),new tt(a)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return Fo([{provide:Vk,useValue:!0},{provide:Ol,useValue:!1},o])}function wD(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let jk=(()=>{class e{subscription=new _s.yU;initialized=!1;zone=z(tt);pendingTasks=z(Yn);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{tt.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{tt.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(o){return new(o||e)};static \u0275prov=Oe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),th=(()=>{class e{appRef=z(Mn);taskService=z(Yn);ngZone=z(tt);zonelessEnabled=z(Ol);disableScheduling=z(oa,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new _s.yU;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Pl):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(z(co,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof _p||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)return;let o=!1;switch(n){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 8:this.appRef.deferredDirtyFlags|=8;break;case 6:case 14:this.appRef.dirtyFlags|=2,o=!0;break;case 13:this.appRef.dirtyFlags|=16,o=!0;break;case 12:o=!0;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick(o))return;const a=this.useMicrotaskScheduler?gp:ia;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>a(()=>this.tick())):this.ngZone.runOutsideAngular(()=>a(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Pl+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(o){throw this.taskService.remove(n),o}finally{this.cleanup()}this.useMicrotaskScheduler=!0,gp(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(o){return new(o||e)};static \u0275prov=Oe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ID=new le("",{providedIn:"root",factory:()=>z(ID,we.Optional|we.SkipSelf)||function Hk(){return typeof $localize<"u"&&$localize.locale||bm}()}),Uk=new le("",{providedIn:"root",factory:()=>"USD"}),Tm=new le("");function xm(e){return!e.moduleRef}let fs=null;let vT=(()=>class e{static __NG_ELEMENT_ID__=Xk})();function Xk(e){return function Yk(e,t,n){if(io(e)&&!n){const o=On(e.index,t);return new bc(o,o)}return 175&e.type?new bc(t[Qe],t):null}(Ee(),S(),!(16&~e))}class wT{constructor(){}supports(t){return dm(t)}create(t){return new rO(t)}}const nO=(e,t)=>t;class rO{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||nO}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,o=this._removalsHead,a=0,c=null;for(;n||o;){const f=!o||n&&n.currentIndex{f=this._trackByFn(a,h),null!==n&&Object.is(n.trackById,f)?(o&&(n=this._verifyReinsertion(n,h,f,a)),Object.is(n.item,h)||this._addIdentityChange(n,h)):(n=this._mismatch(n,h,f,a),o=!0),n=n._next,a++}),this.length=a;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,o,a){let c;return null===t?c=this._itTail:(c=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,c,a)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(o,a))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,c,a)):t=this._addAfter(new oO(n,o),c,a),t}_verifyReinsertion(t,n,o,a){let c=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null);return null!==c?t=this._reinsertAfter(c,t._prev,a):t.currentIndex!=a&&(t.currentIndex=a,this._addToMoves(t,a)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}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(t,n,o){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const a=t._prevRemoved,c=t._nextRemoved;return null===a?this._removalsHead=c:a._nextRemoved=c,null===c?this._removalsTail=a:c._prevRemoved=a,this._insertAfter(t,n,o),this._addToMoves(t,o),t}_moveAfter(t,n,o){return this._unlink(t),this._insertAfter(t,n,o),this._addToMoves(t,o),t}_addAfter(t,n,o){return this._insertAfter(t,n,o),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,o){const a=null===n?this._itHead:n._next;return t._next=a,t._prev=n,null===a?this._itTail=t:a._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new ET),this._linkedRecords.put(t),t.currentIndex=o,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,o=t._next;return null===n?this._itHead=o:n._next=o,null===o?this._itTail=n:o._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new ET),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class oO{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}}class iO{_head=null;_tail=null;add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let o;for(o=this._head;null!==o;o=o._nextDup)if((null===n||n<=o.currentIndex)&&Object.is(o.trackById,t))return o;return null}remove(t){const n=t._prevDup,o=t._nextDup;return null===n?this._head=o:n._nextDup=o,null===o?this._tail=n:o._prevDup=n,null===this._head}}class ET{map=new Map;put(t){const n=t.trackById;let o=this.map.get(n);o||(o=new iO,this.map.set(n,o)),o.add(t)}get(t,n){const a=this.map.get(t);return a?a.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function IT(e,t,n){const o=e.previousIndex;if(null===o)return o;let a=0;return n&&o{if(n&&n.key===a)this._maybeAddToChanges(n,o),this._appendAfter=n,n=n._next;else{const c=this._getOrCreateRecordForKey(a,o);n=this._insertBeforeOrAppend(n,c)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let o=n;null!==o;o=o._nextRemoved)o===this._mapHead&&(this._mapHead=null),this._records.delete(o.key),o._nextRemoved=o._next,o.previousValue=o.currentValue,o.currentValue=null,o._prev=null,o._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const o=t._prev;return n._next=t,n._prev=o,t._prev=n,o&&(o._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const a=this._records.get(t);this._maybeAddToChanges(a,n);const c=a._prev,f=a._next;return c&&(c._next=f),f&&(f._prev=c),a._next=null,a._prev=null,a}const o=new aO(t);return this._records.set(t,o),o.currentValue=n,this._addToAdditions(o),o}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(o=>n(t[o],o))}}class aO{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}}function TT(){return new ND([new wT])}let ND=(()=>{class e{factories;static \u0275prov=Oe({token:e,providedIn:"root",factory:TT});constructor(n){this.factories=n}static create(n,o){if(null!=o){const a=o.factories.slice();n=n.concat(a)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||TT()),deps:[[e,new yh,new mu]]}}find(n){const o=this.factories.find(a=>a.supports(n));if(null!=o)return o;throw new V(901,!1)}}return e})();function xT(){return new FD([new MT])}let FD=(()=>{class e{static \u0275prov=Oe({token:e,providedIn:"root",factory:xT});factories;constructor(n){this.factories=n}static create(n,o){if(o){const a=o.factories.slice();n=n.concat(a)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||xT()),deps:[[e,new yh,new mu]]}}find(n){const o=this.factories.find(a=>a.supports(n));if(o)return o;throw new V(901,!1)}}return e})();function DO(e){try{const{rootComponent:t,appProviders:n,platformProviders:o}=e,a=function Qk(e=[]){if(fs)return fs;const t=function mT(e=[],t){return It.create({name:t,providers:[{provide:cl,useValue:"platform"},{provide:Tm,useValue:new Set([()=>fs=null])},...e]})}(e);return fs=t,function om(){!function hi(e){tu=e}(()=>{throw new V(600,!1)})}(),function _T(e){const t=e.get(Wl,null);Xm(e,()=>{t?.forEach(n=>n())})}(t),t}(o),c=[CD({}),{provide:Pr,useExisting:th},...n||[]];return function hT(e){const t=xm(e)?e.r3Injector:e.moduleRef.injector,n=t.get(tt);return n.run(()=>{xm(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const o=t.get(Pn,null);let a;if(n.runOutsideAngular(()=>{a=n.onError.subscribe({next:c=>{o.handleError(c)}})}),xm(e)){const c=()=>t.destroy(),f=e.platformInjector.get(Tm);f.add(c),t.onDestroy(()=>{a.unsubscribe(),f.delete(c)})}else{const c=()=>e.moduleRef.destroy(),f=e.platformInjector.get(Tm);f.add(c),e.moduleRef.onDestroy(()=>{Sc(e.allPlatformModules,e.moduleRef),a.unsubscribe(),f.delete(c)})}return function ab(e,t,n){try{const o=n();return Tc(o)?o.catch(a=>{throw t.runOutsideAngular(()=>e.handleError(a)),a}):o}catch(o){throw t.runOutsideAngular(()=>e.handleError(o)),o}}(o,n,()=>{const c=t.get(nm);return c.runInitializers(),c.donePromise.then(()=>{if(function jN(e){"string"==typeof e&&(II=e.toLowerCase().replace(/_/g,"-"))}(t.get(ID,bm)||bm),xm(e)){const h=t.get(Mn);return void 0!==e.rootComponent&&h.bootstrap(e.rootComponent),h}return function qk(e,t){const n=e.injector.get(Mn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(o=>n.bootstrap(o));else{if(!e.instance.ngDoBootstrap)throw new V(-403,!1);e.instance.ngDoBootstrap(n)}t.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({r3Injector:new kv({providers:c,parent:a,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:a,rootComponent:t})}catch(t){return Promise.reject(t)}}function GO(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function zO(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}function LD(e,t){Mt("NgSignals");const n=function et(e){const t=Object.create(hs);t.computation=e;const n=()=>{if(xt(t),Ct(t),t.value===xn)throw t.error;return t.value};return n[Q]=t,n}(e);return t?.equal&&(n[Q].equal=t.equal),n}function Yc(e){const t=q(null);try{return e()}finally{q(t)}}let nx=(()=>class e{view;node;constructor(n,o){this.view=n,this.node=o}static __NG_ELEMENT_ID__=XO})();function XO(){return new nx(S(),Ee())}let JO=(()=>{class e extends rm{pendingTasks=z(Yn);taskId=null;schedule(n){super.schedule(n),null===this.taskId&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{null!==this.taskId&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=Oe({token:e,providedIn:"root",factory:()=>new e})}return e})();class eR{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(t,n,o,a,c,f){this.scheduler=t,this.effectFn=n,this.zone=o,this.injector=c,this.watcher=function ms(e,t,n){const o=Object.create(ou);n&&(o.consumerAllowSignalWrites=!0),o.fn=e,o.schedule=t;const a=p=>{o.cleanupFn=p};return o.ref={notify:()=>jt(o),run:()=>{if(null===o.fn)return;if(function Y(){return G}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(o.dirty=!1,o.hasRun&&!te(o))return;o.hasRun=!0;const p=lt(o);try{o.cleanupFn(),o.cleanupFn=pi,o.fn(a)}finally{xe(o,p)}},cleanup:()=>o.cleanupFn(),destroy:()=>function f(p){(function c(p){return null===p.fn&&null===p.schedule})(p)||(ze(p),p.cleanupFn(),p.fn=null,p.schedule=null,p.cleanupFn=pi)}(o),[Q]:o},o.ref}(h=>this.runEffect(h),()=>this.schedule(),f),this.unregisterOnDestroy=a?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(Pn,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}let VD=!1;class rR{[Q];constructor(t){this[Q]=t}destroy(){this[Q].destroy()}}function BD(e,t){if(VD)return function nR(e,t){Mt("NgSignals"),!t?.injector&&Mi();const n=t?.injector??z(It),o=!0!==t?.manualCleanup?n.get(lo):null,a=new eR(n.get(JO),e,typeof Zone>"u"?null:Zone.current,o,n,t?.allowSignalWrites??!1),c=n.get(vT,null,{optional:!0});return c&&8&c._lView[ee]?(c._lView[Si]??=[]).push(a.watcher.notify):a.watcher.notify(),a}(e,t);Mt("NgSignals"),!t?.injector&&Mi();const n=t?.injector??z(It);let a,o=!0!==t?.manualCleanup?n.get(lo):null;const c=n.get(nx,null,{optional:!0}),f=n.get(Pr);return null===c||t?.forceRoot?a=function aR(e,t,n){const o=Object.create(oR);return o.fn=e,o.scheduler=t,o.notifier=n,o.zone=typeof Zone<"u"?Zone.current:null,o.scheduler.schedule(o),o.notifier.notify(13),o}(e,n.get(Rf),f):(a=function sR(e,t,n){const o=Object.create(iR);return o.view=e,o.zone=typeof Zone<"u"?Zone.current:null,o.notifier=t,o.fn=n,e[oo]??=new Set,e[oo].add(o),o.consumerMarkedDirty(o),o}(c.view,f,e),o instanceof rd&&o._lView===c.view&&(o=null)),a.injector=n,null!==o&&(a.onDestroyFn=o.onDestroy(()=>a.destroy())),new rR(a)}const rx={...pe,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:$o,run(){if(this.dirty=!1,this.hasRun&&!te(this))return;this.hasRun=!0;const e=o=>(this.cleanupFns??=[]).push(o),t=lt(this),n=Dl(!1);try{this.maybeCleanup(),this.fn(e)}finally{Dl(n),xe(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}},oR={...rx,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){ze(this),this.onDestroyFn(),this.maybeCleanup()}},iR={...rx,consumerMarkedDirty(){this.view[ee]|=8192,Lo(this.view),this.notifier.notify(14)},destroy(){ze(this),this.onDestroyFn(),this.maybeCleanup(),this.view[oo]?.delete(this)}};function gR(e,t){const n=Ce(e),o=t.elementInjector||Ei();return new wc(n).create(o,t.projectableNodes,t.hostElement,t.environmentInjector)}},330:he=>{"use strict";he.exports=JSON.parse('{"name":"ngx-select-ex","version":"18.0.1","description":"Angular based replacement for select boxes","license":"MIT","private":false,"author":"Konstantin Polyntsov ","repository":{"type":"git","url":"git+ssh://git@github.com:optimistex/ngx-select-ex.git"},"bugs":{"url":"https://github.com/optimistex/ngx-select-ex/issues"},"homepage":"https://github.com/optimistex/ngx-select-ex#readme","scripts":{"build":"npm run lint && npm run build:package && npm run test && npm run build:demo && git add -A","build:demo":"ng build ngx-select-ex-demo","build:package":"ng build ngx-select-ex","lint":"ng lint","lint:quiet":"ng lint --quiet","lint:fix":"ng lint --fix","lint:ngx-select-ex:quiet":"ng lint ngx-select-ex --quiet","lint:ngx-select-ex-demo:quiet":"ng lint ngx-select-ex-demo --quiet","ng":"ng","release":"standard-version --commit-all","release:major":"standard-version --release-as major --commit-all","sync-version":"npm --prefix=projects/ngx-select-ex pkg set version=$(npm pkg get version | xargs)","publish.ng4":"npm publish ./dist --tag ng4","publish":"npm publish ./dist","publish-dev":"npm publish ./dist --tag dev","start":"ng serve","test":"ng test --browsers=ChromeHeadlessNoSandbox --watch false","test:ngx-select-ex":"ng test ngx-select-ex --browsers=ChromeHeadlessNoSandbox --watch false","test:ngx-select-ex-demo":"ng test ngx-select-ex-demo --browsers=ChromeHeadlessNoSandbox --watch false","prepare":"husky"},"standard-version":{"scripts":{"postbump":"npm run sync-version && npm run build"}},"keywords":["ngx-select","ngx-select-ex","angular","angular2","angular4","angular5","angular6","select","select2","ui-select","multiselect","multi-select"],"peerDependencies":{"escape-string-regexp":"^5.0.0","lodash.isequal":"^4.5.0"},"dependencies":{"@angular/animations":"^19.0.0","@angular/cdk":"^19.0.0","@angular/common":"^19.0.0","@angular/compiler":"^19.0.0","@angular/core":"^19.0.0","@angular/forms":"^19.0.0","@angular/material":"^19.0.0","@angular/platform-browser":"^19.0.0","@angular/platform-browser-dynamic":"^19.0.0","@angular/router":"^19.0.0","rxjs":"~7.8.0","tslib":"^2.3.0","zone.js":"~0.15.0"},"devDependencies":{"@angular-devkit/build-angular":"^19.0.0","@angular/cli":"^19.0.0","@angular/compiler-cli":"^19.0.0","@types/jasmine":"~5.1.0","angular-eslint":"18.4.1","eslint":"^9.15.0","html-loader":"^5.1.0","husky":"^9.1.7","jasmine-core":"~5.4.0","karma":"~6.4.0","karma-chrome-launcher":"~3.2.0","karma-coverage":"~2.2.0","karma-jasmine":"~5.1.0","karma-jasmine-html-reporter":"~2.1.0","markdown-loader":"^8.0.0","ng-packagr":"^19.0.0","raw-loader":"^4.0.2","standard-version":"^9.5.0","typescript":"~5.6.2","typescript-eslint":"8.15.0"},"contributors":[{"name":"Konstantin Polyntsov","email":"optimistex@gmail.com","url":"https://github.com/optimistex"},{"name":"Vyacheslav Chub","email":"vyacheslav.chub@valor-software.com","url":"https://github.com/buchslava"},{"name":"Dmitriy Shekhovtsov","email":"valorkin@gmail.com","url":"https://github.com/valorkin"},{"name":"Oleksandr Telnov","email":"otelnov@gmail.com","url":"https://github.com/otelnov"}]}')}},he=>{he(he.s=538)}]); \ No newline at end of file diff --git a/docs/runtime.d7858bd0f2a6c26c.js b/docs/runtime.d7858bd0f2a6c26c.js new file mode 100644 index 00000000..1327edff --- /dev/null +++ b/docs/runtime.d7858bd0f2a6c26c.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,v={},m={};function r(e){var o=m[e];if(void 0!==o)return o.exports;var t=m[e]={id:e,loaded:!1,exports:{}};return v[e](t,t.exports,r),t.loaded=!0,t.exports}r.m=v,e=[],r.O=(o,t,i,f)=>{if(!t){var a=1/0;for(n=0;n=f)&&Object.keys(r.O).every(b=>r.O[b](t[l]))?t.splice(l--,1):(s=!1,f0&&e[n-1][2]>f;n--)e[n]=e[n-1];e[n]=[t,i,f]},r.d=(e,o)=>{for(var t in o)r.o(o,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((o,t)=>(r.f[t](e,o),o),[])),r.u=e=>e+".4ae02359ce54e594.js",r.miniCssF=e=>{},r.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),(()=>{var e={},o="ngx-select-ex-demo:";r.l=(t,i,f,n)=>{if(e[t])e[t].push(i);else{var a,s;if(void 0!==f)for(var l=document.getElementsByTagName("script"),d=0;d{a.onerror=a.onload=null,clearTimeout(p);var _=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),_&&_.forEach(h=>h(b)),g)return g(b)},p=setTimeout(c.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=c.bind(null,a.onerror),a.onload=c.bind(null,a.onload),s&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:o=>o},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={121:0};r.f.j=(i,f)=>{var n=r.o(e,i)?e[i]:void 0;if(0!==n)if(n)f.push(n[2]);else if(121!=i){var a=new Promise((u,c)=>n=e[i]=[u,c]);f.push(n[2]=a);var s=r.p+r.u(i),l=new Error;r.l(s,u=>{if(r.o(e,i)&&(0!==(n=e[i])&&(e[i]=void 0),n)){var c=u&&("load"===u.type?"missing":u.type),p=u&&u.target&&u.target.src;l.message="Loading chunk "+i+" failed.\n("+c+": "+p+")",l.name="ChunkLoadError",l.type=c,l.request=p,n[1](l)}},"chunk-"+i,i)}else e[i]=0},r.O.j=i=>0===e[i];var o=(i,f)=>{var l,d,[n,a,s]=f,u=0;if(n.some(p=>0!==e[p])){for(l in a)r.o(a,l)&&(r.m[l]=a[l]);if(s)var c=s(r)}for(i&&i(f);u{"use strict";var e,v={},m={};function r(e){var o=m[e];if(void 0!==o)return o.exports;var t=m[e]={id:e,loaded:!1,exports:{}};return v[e](t,t.exports,r),t.loaded=!0,t.exports}r.m=v,e=[],r.O=(o,t,i,l)=>{if(!t){var a=1/0;for(n=0;n=l)&&Object.keys(r.O).every(b=>r.O[b](t[u]))?t.splice(u--,1):(s=!1,l0&&e[n-1][2]>l;n--)e[n]=e[n-1];e[n]=[t,i,l]},r.d=(e,o)=>{for(var t in o)r.o(o,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((o,t)=>(r.f[t](e,o),o),[])),r.u=e=>e+".5a31bb454675faf2.js",r.miniCssF=e=>{},r.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),(()=>{var e={},o="ngx-select-ex-demo:";r.l=(t,i,l,n)=>{if(e[t])e[t].push(i);else{var a,s;if(void 0!==l)for(var u=document.getElementsByTagName("script"),d=0;d{a.onerror=a.onload=null,clearTimeout(p);var _=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),_&&_.forEach(h=>h(b)),g)return g(b)},p=setTimeout(c.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=c.bind(null,a.onerror),a.onload=c.bind(null,a.onload),s&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:o=>o},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={121:0};r.f.j=(i,l)=>{var n=r.o(e,i)?e[i]:void 0;if(0!==n)if(n)l.push(n[2]);else if(121!=i){var a=new Promise((f,c)=>n=e[i]=[f,c]);l.push(n[2]=a);var s=r.p+r.u(i),u=new Error;r.l(s,f=>{if(r.o(e,i)&&(0!==(n=e[i])&&(e[i]=void 0),n)){var c=f&&("load"===f.type?"missing":f.type),p=f&&f.target&&f.target.src;u.message="Loading chunk "+i+" failed.\n("+c+": "+p+")",u.name="ChunkLoadError",u.type=c,u.request=p,n[1](u)}},"chunk-"+i,i)}else e[i]=0},r.O.j=i=>0===e[i];var o=(i,l)=>{var u,d,[n,a,s]=l,f=0;if(n.some(p=>0!==e[p])){for(u in a)r.o(a,u)&&(r.m[u]=a[u]);if(s)var c=s(r)}for(i&&i(l);f