Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@esm-bundle/angular

Package Overview
Dependencies
Maintainers
0
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@esm-bundle/angular - npm Package Compare versions

Comparing version 18.2.10 to 18.2.11

2

es2022/angular-animations-browser.min.js

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/animations/browser@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/animations/browser@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import{NoopAnimationPlayer as e,AnimationMetadataType as t,style as s,AUTO_STYLE as n,ɵPRE_STYLE as i,ɵAnimationGroupPlayer as r,sequence as a}from"@angular/animations";import*as o from"@angular/core";import{Injectable as l,ɵRuntimeError as h}from"@angular/core";function c(e){return new h(3e3,!1)}const u=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 m(t){switch(t.length){case 0:return new e;case 1:return t[0];default:return new r(t)}}function d(e,t,s=new Map,r=new Map){const a=[],o=[];let l=-1,c=null;if(t.forEach((t=>{const h=t.get("offset"),u=h==l,m=u&&c||new Map;t.forEach(((t,o)=>{let l=o,h=t;if("offset"!==o)switch(l=e.normalizePropertyName(l,a),h){case i:h=s.get(o);break;case n:h=r.get(o);break;default:h=e.normalizeStyleValue(o,l,h,a)}m.set(l,h)})),u||o.push(m),c=m,l=h})),a.length)throw new h(3502,!1);return o}function p(e,t,s,n){switch(t){case"start":e.onStart((()=>n(s&&y(s,"start",e))));break;case"done":e.onDone((()=>n(s&&y(s,"done",e))));break;case"destroy":e.onDestroy((()=>n(s&&y(s,"destroy",e))))}}function y(e,t,s){const n=s.totalTime,i=!!s.disabled,r=f(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==n?e.totalTime:n,i),a=e._data;return null!=a&&(r._data=a),r}function f(e,t,s,n,i="",r=0,a){return{element:e,triggerName:t,fromState:s,toState:n,phaseName:i,totalTime:r,disabled:!!a}}function g(e,t,s){let n=e.get(t);return n||e.set(t,n=s),n}function _(e){const t=e.indexOf(":");return[e.substring(1,t),e.slice(t+1)]}const S=(()=>"undefined"==typeof document?null:document.documentElement)();function E(e){const t=e.parentNode||e.host||null;return t===S?null:t}let w=null,v=!1;function b(e){w||(w=function(){if("undefined"!=typeof document)return document.body;return null}()||{},v=!!w.style&&"WebkitAppearance"in w.style);let t=!0;if(w.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in w.style,!t&&v)){t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in w.style}return t}function T(e){return u.has(e)}function k(e,t){for(;t;){if(t===e)return!0;t=E(t)}return!1}function A(e,t,s){if(s)return Array.from(e.querySelectorAll(t));const n=e.querySelector(t);return n?[n]:[]}class N{validateStyleProperty(e){return b(e)}containsElement(e,t){return k(e,t)}getParentElement(e){return E(e)}query(e,t,s){return A(e,t,s)}computeStyle(e,t,s){return s||""}animate(t,s,n,i,r,a=[],o){return new e(n,i)}static{this.ɵfac=function(e){return new(e||N)}}static{this.ɵprov=o.ɵɵdefineInjectable({token:N,factory:N.ɵfac})}}class C{static{this.NOOP=new N}}class P{}class M{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,s,n){return s}}const F=1e3,x="ng-enter",R="ng-leave",D="ng-trigger",I=".ng-trigger",z="ng-animating",q=".ng-animating";function L(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:B(parseFloat(t[1]),t[2])}function B(e,t){return"s"===t?e*F:e}function K(e,t,s){return e.hasOwnProperty("duration")?e:function(e,t,s){const n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;let i,r=0,a="";if("string"==typeof e){const s=e.match(n);if(null===s)return t.push(c()),{duration:0,delay:0,easing:""};i=B(parseFloat(s[1]),s[2]);const o=s[3];null!=o&&(r=B(parseFloat(o),s[4]));const l=s[5];l&&(a=l)}else i=e;if(!s){let e=!1,s=t.length;i<0&&(t.push(new h(3100,!1)),e=!0),r<0&&(t.push(new h(3101,!1)),e=!0),e&&t.splice(s,0,c())}return{duration:i,delay:r,easing:a}}(e,t,s)}function Q(e){return e.length?e[0]instanceof Map?e:e.map((e=>new Map(Object.entries(e)))):[]}function O(e){return Array.isArray(e)?new Map(...e):new Map(e)}function W(e,t,s){t.forEach(((t,n)=>{const i=Z(n);s&&!s.has(n)&&s.set(n,e.style[i]),e.style[i]=t}))}function j(e,t){t.forEach(((t,s)=>{const n=Z(s);e.style[n]=""}))}function V(e){return Array.isArray(e)?1==e.length?e[0]:a(e):e}function H(e,t,s){const n=t.params||{},i=G(e);i.length&&i.forEach((e=>{n.hasOwnProperty(e)||s.push(new h(3001,!1))}))}const $=new RegExp("{{\\s*(.+?)\\s*}}","g");function G(e){let t=[];if("string"==typeof e){let s;for(;s=$.exec(e);)t.push(s[1]);$.lastIndex=0}return t}function U(e,t,s){const n=`${e}`,i=n.replace($,((e,n)=>{let i=t[n];return null==i&&(s.push(new h(3003,!1)),i=""),i.toString()}));return i==n?e:i}const Y=/-+([a-z0-9])/g;function Z(e){return e.replace(Y,((...e)=>e[1].toUpperCase()))}function J(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function X(e,t){return 0===e||0===t}function ee(e,s,n){switch(s.type){case t.Trigger:return e.visitTrigger(s,n);case t.State:return e.visitState(s,n);case t.Transition:return e.visitTransition(s,n);case t.Sequence:return e.visitSequence(s,n);case t.Group:return e.visitGroup(s,n);case t.Animate:return e.visitAnimate(s,n);case t.Keyframes:return e.visitKeyframes(s,n);case t.Style:return e.visitStyle(s,n);case t.Reference:return e.visitReference(s,n);case t.AnimateChild:return e.visitAnimateChild(s,n);case t.AnimateRef:return e.visitAnimateRef(s,n);case t.Query:return e.visitQuery(s,n);case t.Stagger:return e.visitStagger(s,n);default:throw s.type,new h(3004,!1)}}function te(e,t){return window.getComputedStyle(e)[t]}const se=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 ne extends P{normalizePropertyName(e,t){return Z(e)}normalizeStyleValue(e,t,s,n){let i="";const r=s.toString().trim();if(se.has(t)&&0!==s&&"0"!==s)if("number"==typeof s)i="px";else{const e=s.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&n.push(new h(3005,!1))}return r+i}}const ie="*";function re(e,t){const s=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach((e=>function(e,t,s){if(":"==e[0]){const n=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t)<parseFloat(e);default:return t.push(new h(3016,!1)),"* => *"}}(e,s);if("function"==typeof n)return void t.push(n);e=n}const n=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==n||n.length<4)return s.push(new h(3015,!1)),t;const i=n[1],r=n[2],a=n[3];t.push(le(i,a));const o=i==ie&&a==ie;"<"!=r[0]||o||t.push(le(a,i));return}(e,s,t))):s.push(e),s}const ae=new Set(["true","1"]),oe=new Set(["false","0"]);function le(e,t){const s=ae.has(e)||oe.has(e),n=ae.has(t)||oe.has(t);return(i,r)=>{let a=e==ie||e==i,o=t==ie||t==r;return!a&&s&&"boolean"==typeof i&&(a=i?ae.has(e):oe.has(e)),!o&&n&&"boolean"==typeof r&&(o=r?ae.has(t):oe.has(t)),a&&o}}const he=":self",ce=new RegExp(`s*${he}s*,?`,"g");function ue(e,t,s,n){return new me(e).build(t,s,n)}class me{constructor(e){this._driver=e}build(e,t,s){const n=new de(t);this._resetContextStyleTimingState(n);return ee(this,V(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles=new Map,e.collectedStyles.set("",new Map),e.currentTime=0}visitTrigger(e,s){let n=s.queryCount=0,i=s.depCount=0;const r=[],a=[];return"@"==e.name.charAt(0)&&s.errors.push(new h(3006,!1)),e.definitions.forEach((e=>{if(this._resetContextStyleTimingState(s),e.type==t.State){const t=e,n=t.name;n.toString().split(/\s*,\s*/).forEach((e=>{t.name=e,r.push(this.visitState(t,s))})),t.name=n}else if(e.type==t.Transition){const t=this.visitTransition(e,s);n+=t.queryCount,i+=t.depCount,a.push(t)}else s.errors.push(new h(3007,!1))})),{type:t.Trigger,name:e.name,states:r,transitions:a,queryCount:n,depCount:i,options:null}}visitState(e,s){const n=this.visitStyle(e.styles,s),i=e.options&&e.options.params||null;if(n.containsDynamicStyles){const t=new Set,r=i||{};n.styles.forEach((e=>{e instanceof Map&&e.forEach((e=>{G(e).forEach((e=>{r.hasOwnProperty(e)||t.add(e)}))}))})),t.size&&s.errors.push((e.name,t.values(),new h(3008,!1)))}return{type:t.State,name:e.name,style:n,options:i?{params:i}:null}}visitTransition(e,s){s.queryCount=0,s.depCount=0;const n=ee(this,V(e.animation),s),i=re(e.expr,s.errors);return{type:t.Transition,matchers:i,animation:n,queryCount:s.queryCount,depCount:s.depCount,options:pe(e.options)}}visitSequence(e,s){return{type:t.Sequence,steps:e.steps.map((e=>ee(this,e,s))),options:pe(e.options)}}visitGroup(e,s){const n=s.currentTime;let i=0;const r=e.steps.map((e=>{s.currentTime=n;const t=ee(this,e,s);return i=Math.max(i,s.currentTime),t}));return s.currentTime=i,{type:t.Group,steps:r,options:pe(e.options)}}visitAnimate(e,n){const i=function(e,t){if(e.hasOwnProperty("duration"))return e;if("number"==typeof e){return ye(K(e,t).duration,0,"")}const s=e;if(s.split(/\s+/).some((e=>"{"==e.charAt(0)&&"{"==e.charAt(1)))){const e=ye(0,0,"");return e.dynamic=!0,e.strValue=s,e}const n=K(s,t);return ye(n.duration,n.delay,n.easing)}(e.timings,n.errors);let r;n.currentAnimateTimings=i;let a=e.styles?e.styles:s({});if(a.type==t.Keyframes)r=this.visitKeyframes(a,n);else{let t=e.styles,a=!1;if(!t){a=!0;const e={};i.easing&&(e.easing=i.easing),t=s(e)}n.currentTime+=i.duration+i.delay;const o=this.visitStyle(t,n);o.isEmptyStep=a,r=o}return n.currentAnimateTimings=null,{type:t.Animate,timings:i,style:r,options:null}}visitStyle(e,t){const s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,s){const i=[],r=Array.isArray(e.styles)?e.styles:[e.styles];for(let e of r)"string"==typeof e?e===n?i.push(e):s.errors.push(new h(3002,!1)):i.push(new Map(Object.entries(e)));let a=!1,o=null;return i.forEach((e=>{if(e instanceof Map&&(e.has("easing")&&(o=e.get("easing"),e.delete("easing")),!a))for(let t of e.values())if(t.toString().indexOf("{{")>=0){a=!0;break}})),{type:t.Style,styles:i,easing:o,offset:e.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(e,t){const s=t.currentAnimateTimings;let n=t.currentTime,i=t.currentTime;s&&i>0&&(i-=s.duration+s.delay),e.styles.forEach((e=>{"string"!=typeof e&&e.forEach(((e,s)=>{const r=t.collectedStyles.get(t.currentQuerySelector),a=r.get(s);let o=!0;a&&(i!=n&&i>=a.startTime&&n<=a.endTime&&(t.errors.push((a.startTime,a.endTime,new h(3010,!1))),o=!1),i=a.startTime),o&&r.set(s,{startTime:i,endTime:n}),t.options&&H(e,t.options,t.errors)}))}))}visitKeyframes(e,s){const n={type:t.Keyframes,styles:[],options:null};if(!s.currentAnimateTimings)return s.errors.push(new h(3011,!1)),n;let i=0;const r=[];let a=!1,o=!1,l=0;const c=e.steps.map((e=>{const t=this._makeStyleAst(e,s);let n=null!=t.offset?t.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach((e=>{if(e instanceof Map&&e.has("offset")){const s=e;t=parseFloat(s.get("offset")),s.delete("offset")}}));else if(e instanceof Map&&e.has("offset")){const s=e;t=parseFloat(s.get("offset")),s.delete("offset")}return t}(t.styles),h=0;return null!=n&&(i++,h=t.offset=n),o=o||h<0||h>1,a=a||h<l,l=h,r.push(h),t}));o&&s.errors.push(new h(3012,!1)),a&&s.errors.push(new h(3200,!1));const u=e.steps.length;let m=0;i>0&&i<u?s.errors.push(new h(3202,!1)):0==i&&(m=1/(u-1));const d=u-1,p=s.currentTime,y=s.currentAnimateTimings,f=y.duration;return c.forEach(((e,t)=>{const i=m>0?t==d?1:m*t:r[t],a=i*f;s.currentTime=p+y.delay+a,y.duration=a,this._validateStyleAst(e,s),e.offset=i,n.styles.push(e)})),n}visitReference(e,s){return{type:t.Reference,animation:ee(this,V(e.animation),s),options:pe(e.options)}}visitAnimateChild(e,s){return s.depCount++,{type:t.AnimateChild,options:pe(e.options)}}visitAnimateRef(e,s){return{type:t.AnimateRef,animation:this.visitReference(e.animation,s),options:pe(e.options)}}visitQuery(e,s){const n=s.currentQuerySelector,i=e.options||{};s.queryCount++,s.currentQuery=e;const[r,a]=function(e){const t=!!e.split(/\s*,\s*/).find((e=>e==he));t&&(e=e.replace(ce,""));return e=e.replace(/@\*/g,I).replace(/@\w+/g,(e=>I+"-"+e.slice(1))).replace(/:animating/g,q),[e,t]}(e.selector);s.currentQuerySelector=n.length?n+" "+r:r,g(s.collectedStyles,s.currentQuerySelector,new Map);const o=ee(this,V(e.animation),s);return s.currentQuery=null,s.currentQuerySelector=n,{type:t.Query,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:pe(e.options)}}visitStagger(e,s){s.currentQuery||s.errors.push(new h(3013,!1));const n="full"===e.timings?{duration:0,delay:0,easing:"full"}:K(e.timings,s.errors,!0);return{type:t.Stagger,animation:ee(this,V(e.animation),s),timings:n,options:null}}}class de{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function pe(e){var t;return e?(e={...e}).params&&(e.params=(t=e.params)?{...t}:null):e={},e}function ye(e,t,s){return{duration:e,delay:t,easing:s}}function fe(e,t,s,n,i,r,a=null,o=!1){return{type:1,element:e,keyframes:t,preStyleProps:s,postStyleProps:n,duration:i,delay:r,totalTime:i+r,easing:a,subTimeline:o}}class ge{constructor(){this._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 _e=new RegExp(":enter","g"),Se=new RegExp(":leave","g");function Ee(e,t,s,n,i,r=new Map,a=new Map,o,l,h=[]){return(new we).buildKeyframes(e,t,s,n,i,r,a,o,l,h)}class we{buildKeyframes(e,t,s,n,i,r,a,o,l,h=[]){l=l||new ge;const c=new be(e,t,l,n,i,h,[]);c.options=o;const u=o.delay?L(o.delay):0;c.currentTimeline.delayNextStep(u),c.currentTimeline.setStyles([r],null,c.errors,o),ee(this,s,c);const m=c.timelines.filter((e=>e.containsAnimation()));if(m.length&&a.size){let e;for(let s=m.length-1;s>=0;s--){const n=m[s];if(n.element===t){e=n;break}}e&&!e.allowOnlyTimelineStyles()&&e.setStyles([a],null,c.errors,o)}return m.length?m.map((e=>e.buildKeyframes())):[fe(t,[],[],[],0,u,"",!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),i=t.currentTimeline.currentTime,r=this._visitSubInstructions(s,n,n.options);i!=r&&t.transformIntoNewTimeline(r)}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 e=n?.delay;if(e){const i="number"==typeof e?e:L(U(e,n?.params??{},t.errors));s.delayNextStep(i)}}}_visitSubInstructions(e,t,s){let n=t.currentTimeline.currentTime;const i=null!=s.duration?L(s.duration):null,r=null!=s.delay?L(s.delay):null;return 0!==i&&e.forEach((e=>{const s=t.appendInstructionToTimeline(e,i,r);n=Math.max(n,s.duration+s.delay)})),n}visitReference(e,t){t.updateOptions(e.options,!0),ee(this,e.animation,t),t.previousNode=e}visitSequence(e,s){const n=s.subContextCount;let i=s;const r=e.options;if(r&&(r.params||r.delay)&&(i=s.createSubContext(r),i.transformIntoNewTimeline(),null!=r.delay)){i.previousNode.type==t.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ve);const e=L(r.delay);i.delayNextStep(e)}e.steps.length&&(e.steps.forEach((e=>ee(this,e,i))),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),s.previousNode=e}visitGroup(e,t){const s=[];let n=t.currentTimeline.currentTime;const i=e.options&&e.options.delay?L(e.options.delay):0;e.steps.forEach((r=>{const a=t.createSubContext(e.options);i&&a.delayNextStep(i),ee(this,r,a),n=Math.max(n,a.currentTimeline.currentTime),s.push(a.currentTimeline)})),s.forEach((e=>t.currentTimeline.mergeTimelineCollectedStyles(e))),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const s=e.strValue;return K(t.params?U(s,t.params,t.errors):s,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,s){const n=s.currentAnimateTimings=this._visitTiming(e.timings,s),i=s.currentTimeline;n.delay&&(s.incrementTime(n.delay),i.snapshotCurrentStyles());const r=e.style;r.type==t.Keyframes?this.visitKeyframes(r,s):(s.incrementTime(n.duration),this.visitStyle(r,s),i.applyStylesToKeyframe()),s.currentAnimateTimings=null,s.previousNode=e}visitStyle(e,t){const s=t.currentTimeline,n=t.currentAnimateTimings;!n&&s.hasCurrentStyleProperties()&&s.forwardFrame();const i=n&&n.easing||e.easing;e.isEmptyStep?s.applyEmptyStep(i):s.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const s=t.currentAnimateTimings,n=t.currentTimeline.duration,i=s.duration,r=t.createSubContext().currentTimeline;r.easing=s.easing,e.styles.forEach((e=>{const s=e.offset||0;r.forwardTime(s*i),r.setStyles(e.styles,e.easing,t.errors,t.options),r.applyStylesToKeyframe()})),t.currentTimeline.mergeTimelineCollectedStyles(r),t.transformIntoNewTimeline(n+i),t.previousNode=e}visitQuery(e,s){const n=s.currentTimeline.currentTime,i=e.options||{},r=i.delay?L(i.delay):0;r&&(s.previousNode.type===t.Style||0==n&&s.currentTimeline.hasCurrentStyleProperties())&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=ve);let a=n;const o=s.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,s.errors);s.currentQueryTotal=o.length;let l=null;o.forEach(((t,n)=>{s.currentQueryIndex=n;const i=s.createSubContext(e.options,t);r&&i.delayNextStep(r),t===s.element&&(l=i.currentTimeline),ee(this,e.animation,i),i.currentTimeline.applyStylesToKeyframe();const o=i.currentTimeline.currentTime;a=Math.max(a,o)})),s.currentQueryIndex=0,s.currentQueryTotal=0,s.transformIntoNewTimeline(a),l&&(s.currentTimeline.mergeTimelineCollectedStyles(l),s.currentTimeline.snapshotCurrentStyles()),s.previousNode=e}visitStagger(e,t){const s=t.parentContext,n=t.currentTimeline,i=e.timings,r=Math.abs(i.duration),a=r*(t.currentQueryTotal-1);let o=r*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":o=a-o;break;case"full":o=s.currentStaggerTime}const l=t.currentTimeline;o&&l.delayNextStep(o);const h=l.currentTime;ee(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=n.currentTime-h+(n.startTime-s.currentTimeline.startTime)}}const ve={};class be{constructor(e,t,s,n,i,r,a,o){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=n,this._leaveClassName=i,this.errors=r,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ve,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=o||new Te(this._driver,t,0),a.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=L(s.duration)),null!=s.delay&&(n.delay=L(s.delay));const i=s.params;if(i){let e=n.params;e||(e=this.options.params={}),Object.keys(i).forEach((s=>{t&&e.hasOwnProperty(s)||(e[s]=U(i[s],e,this.errors))}))}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const s=e.params={};Object.keys(t).forEach((e=>{s[e]=t[e]}))}}return e}createSubContext(e=null,t,s){const n=t||this.element,i=new be(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,s||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(e),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(e){return this.previousNode=ve,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){const n={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=s?s:0)+e.delay,easing:""},i=new ke(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(i),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,n,i,r){let a=[];if(n&&a.push(this.element),e.length>0){e=(e=e.replace(_e,"."+this._enterClassName)).replace(Se,"."+this._leaveClassName);const t=1!=s;let n=this._driver.query(this.element,e,t);0!==s&&(n=s<0?n.slice(n.length+s,n.length):n.slice(0,s)),a.push(...n)}return i||0!=a.length||r.push(new h(3014,!1)),a}}class Te{constructor(e,t,s,n){this._driver=e,this.element=t,this.startTime=s,this._elementTimelineStylesLookup=n,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,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 Te(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[e,t]of this._globalTimelineStyles)this._backFill.set(e,t||n),this._currentKeyframe.set(e,n);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,i){t&&this._previousKeyframe.set("easing",t);const r=i&&i.params||{},a=function(e,t){const s=new Map;let i;return e.forEach((e=>{if("*"===e){i??=t.keys();for(let e of i)s.set(e,n)}else for(let[t,n]of e)s.set(t,n)})),s}(e,this._globalTimelineStyles);for(let[e,t]of a){const i=U(t,r,s);this._pendingStyles.set(e,i),this._localTimelineStyles.has(e)||this._backFill.set(e,this._globalTimelineStyles.get(e)??n),this._updateStyle(e,i)}}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(((e,t)=>{const s=this._styleSummary.get(t);(!s||e.time>s.time)&&this._updateStyle(t,e.value)}))}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,s=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach(((a,o)=>{const l=new Map([...this._backFill,...a]);l.forEach(((s,r)=>{s===i?e.add(r):s===n&&t.add(r)})),s||l.set("offset",o/this.duration),r.push(l)}));const a=[...e.values()],o=[...t.values()];if(s){const e=r[0],t=new Map(e);e.set("offset",0),t.set("offset",1),r=[e,t]}return fe(this.element,r,a,o,this.duration,this.startTime,this.easing,!1)}}class ke extends Te{constructor(e,t,s,n,i,r,a=!1){super(e,t,r.delay),this.keyframes=s,this.preStyleProps=n,this.postStyleProps=i,this._stretchStartingKeyframe=a,this.timings={duration:r.duration,delay:r.delay,easing:r.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 i=[],r=s+t,a=t/r,o=new Map(e[0]);o.set("offset",0),i.push(o);const l=new Map(e[0]);l.set("offset",Ae(a)),i.push(l);const h=e.length-1;for(let n=1;n<=h;n++){let a=new Map(e[n]);const o=t+a.get("offset")*s;a.set("offset",Ae(o/r)),i.push(a)}s=r,t=0,n="",e=i}return fe(this.element,e,this.preStyleProps,this.postStyleProps,s,t,n,!0)}}function Ae(e,t=3){const s=Math.pow(10,t-1);return Math.round(e*s)/s}function Ne(e,t,s,n,i,r,a,o,l,h,c,u,m){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:s,fromStyles:r,toState:n,toStyles:a,timelines:o,queriedElements:l,preStyleProps:h,postStyleProps:c,totalTime:u,errors:m}}const Ce={};class Pe{constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,n){return function(e,t,s,n,i){return e.some((e=>e(t,s,n,i)))}(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,i,r,a,o,l,h){const c=[],u=this.ast.options&&this.ast.options.params||Ce,m=a&&a.params||Ce,d=this.buildStyles(s,m,c),p=o&&o.params||Ce,y=this.buildStyles(n,p,c),f=new Set,_=new Map,S=new Map,E="void"===n,w={params:Me(p,u),delay:this.ast.options?.delay},v=h?[]:Ee(e,t,this.ast.animation,i,r,d,y,w,l,c);let b=0;return v.forEach((e=>{b=Math.max(e.duration+e.delay,b)})),c.length?Ne(t,this._triggerName,s,n,E,d,y,[],[],_,S,b,c):(v.forEach((e=>{const s=e.element,n=g(_,s,new Set);e.preStyleProps.forEach((e=>n.add(e)));const i=g(S,s,new Set);e.postStyleProps.forEach((e=>i.add(e))),s!==t&&f.add(s)})),Ne(t,this._triggerName,s,n,E,d,y,v,[...f.values()],_,S,b))}}function Me(e,t){const s={...t};return Object.entries(e).forEach((([e,t])=>{null!=t&&(s[e]=t)})),s}class Fe{constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){const s=new Map,n=Me(e,this.defaultParams);return this.styles.styles.forEach((e=>{"string"!=typeof e&&e.forEach(((e,i)=>{e&&(e=U(e,n,t));const r=this.normalizer.normalizePropertyName(i,t);e=this.normalizer.normalizeStyleValue(i,r,e,t),s.set(i,e)}))})),s}}class xe{constructor(e,s,n){this.name=e,this.ast=s,this._normalizer=n,this.transitionFactories=[],this.states=new Map,s.states.forEach((e=>{const t=e.options&&e.options.params||{};this.states.set(e.name,new Fe(e.style,t,n))})),Re(this.states,"true","1"),Re(this.states,"false","0"),s.transitions.forEach((t=>{this.transitionFactories.push(new Pe(e,t,this.states))})),this.fallbackTransition=function(e,s,n){const i=[(e,t)=>!0],r={type:t.Sequence,steps:[],options:null},a={type:t.Transition,animation:r,matchers:i,options:null,queryCount:0,depCount:0};return new Pe(e,a,s)}(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,n){return this.transitionFactories.find((i=>i.match(e,t,s,n)))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}}function Re(e,t,s){e.has(t)?e.has(s)||e.set(s,e.get(t)):e.has(s)&&e.set(t,e.get(s))}const De=new ge;class Ie{constructor(e,t,s){this.bodyNode=e,this._driver=t,this._normalizer=s,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){const s=[],n=[],i=ue(this._driver,t,s,n);if(s.length)throw new h(3503,!1);this._animations.set(e,i)}_buildPlayer(e,t,s){const n=e.element,i=d(this._normalizer,e.keyframes,t,s);return this._driver.animate(n,i,e.duration,e.delay,e.easing,[],!0)}create(e,t,s={}){const i=[],r=this._animations.get(e);let a;const o=new Map;if(r?(a=Ee(this._driver,t,r,x,R,new Map,new Map,s,De,i),a.forEach((e=>{const t=g(o,e.element,new Map);e.postStyleProps.forEach((e=>t.set(e,null)))}))):(i.push(new h(3300,!1)),a=[]),i.length)throw new h(3504,!1);o.forEach(((e,t)=>{e.forEach(((s,i)=>{e.set(i,this._driver.computeStyle(t,i,n))}))}));const l=m(a.map((e=>{const t=o.get(e.element);return this._buildPlayer(e,new Map,t)})));return this._playersById.set(e,l),l.onDestroy((()=>this.destroy(e))),this.players.push(l),l}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 new h(3301,!1);return t}listen(e,t,s,n){const i=f(t,"","","");return p(this._getPlayer(e),s,i,n),()=>{}}command(e,t,s,n){if("register"==s)return void this.register(e,n[0]);if("create"==s){const s=n[0]||{};return void this.create(e,t,s)}const i=this._getPlayer(e);switch(s){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e)}}}const ze="ng-animate-queued",qe="ng-animate-disabled",Le=[],Be={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ke={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Qe="__ng_removed";class Oe{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;const s=e&&e.hasOwnProperty("value"),n=s?e.value:e;if(this.value=function(e){return null!=e?e:null}(n),s){const{value:t,...s}=e;this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach((s=>{null==e[s]&&(e[s]=t[s])}))}}}const We="void",je=new Oe(We);class Ve{constructor(e,t,s){this.id=e,this.hostElement=t,this._engine=s,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Je(t,this._hostClassName)}listen(e,t,s,n){if(!this._triggers.has(t))throw new h(3302,!1);if(null==s||0==s.length)throw new h(3303,!1);if("start"!=(i=s)&&"done"!=i)throw new h(3400,!1);var i;const r=g(this._elementListeners,e,[]),a={name:t,phase:s,callback:n};r.push(a);const o=g(this._engine.statesByElement,e,new Map);return o.has(t)||(Je(e,D),Je(e,D+"-"+t),o.set(t,je)),()=>{this._engine.afterFlush((()=>{const e=r.indexOf(a);e>=0&&r.splice(e,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 new h(3401,!1);return t}trigger(e,t,s,n=!0){const i=this._getTrigger(t),r=new $e(this.id,t,e);let a=this._engine.statesByElement.get(e);a||(Je(e,D),Je(e,D+"-"+t),this._engine.statesByElement.set(e,a=new Map));let o=a.get(t);const l=new Oe(s,this.id);!(s&&s.hasOwnProperty("value"))&&o&&l.absorbOptions(o.options),a.set(t,l),o||(o=je);if(!(l.value===We)&&o.value===l.value){if(!function(e,t){const s=Object.keys(e),n=Object.keys(t);if(s.length!=n.length)return!1;for(let n=0;n<s.length;n++){const i=s[n];if(!t.hasOwnProperty(i)||e[i]!==t[i])return!1}return!0}(o.params,l.params)){const t=[],s=i.matchStyles(o.value,o.params,t),n=i.matchStyles(l.value,l.params,t);t.length?this._engine.reportError(t):this._engine.afterFlush((()=>{j(e,s),W(e,n)}))}return}const h=g(this._engine.playersByElement,e,[]);h.forEach((e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()}));let c=i.matchTransition(o.value,l.value,e,l.params),u=!1;if(!c){if(!n)return;c=i.fallbackTransition,u=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:c,fromState:o,toState:l,player:r,isFallbackTransition:u}),u||(Je(e,ze),r.onStart((()=>{Xe(e,ze)}))),r.onDone((()=>{let t=this.players.indexOf(r);t>=0&&this.players.splice(t,1);const s=this._engine.playersByElement.get(e);if(s){let e=s.indexOf(r);e>=0&&s.splice(e,1)}})),this.players.push(r),h.push(r),r}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((t=>t.name!=e)))}))}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach((e=>e.destroy())),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const s=this._engine.driver.query(e,I,!0);s.forEach((e=>{if(e[Qe])return;const s=this._engine.fetchNamespacesByElement(e);s.size?s.forEach((s=>s.triggerLeaveAnimation(e,t,!1,!0))):this.clearElementCache(e)})),this._engine.afterFlushAnimationsDone((()=>s.forEach((e=>this.clearElementCache(e)))))}triggerLeaveAnimation(e,t,s,n){const i=this._engine.statesByElement.get(e),r=new Map;if(i){const a=[];if(i.forEach(((t,s)=>{if(r.set(s,t.value),this._triggers.has(s)){const t=this.trigger(e,s,We,n);t&&a.push(t)}})),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,r),s&&m(a).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((t=>{const i=t.name;if(n.has(i))return;n.add(i);const r=this._triggers.get(i).fallbackTransition,a=s.get(i)||je,o=new Oe(We),l=new $e(this.id,i,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:r,fromState:a,toState:o,player:l,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 t=s.players.length?s.playersByQueriedElement.get(e):[];if(t&&t.length)n=!0;else{let t=e;for(;t=t.parentNode;){if(s.statesByElement.get(t)){n=!0;break}}}}if(this.prepareLeaveAnimationListeners(e),n)s.markElementAsRemoved(this.id,e,!1,t);else{const n=e[Qe];n&&n!==Be||(s.afterFlush((()=>this.clearElementCache(e))),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){Je(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach((s=>{const n=s.player;if(n.destroyed)return;const i=s.element,r=this._elementListeners.get(i);r&&r.forEach((t=>{if(t.name==s.triggerName){const n=f(i,s.triggerName,s.fromState.value,s.toState.value);n._data=e,p(s.player,t.phase,n,t.callback)}})),n.markedForDestroy?this._engine.afterFlush((()=>{n.destroy()})):t.push(s)})),this._queue=[],t.sort(((e,t)=>{const s=e.transition.ast.depCount,n=t.transition.ast.depCount;return 0==s||0==n?s-n:this._engine.driver.containsElement(e.element,t.element)?1:-1}))}destroy(e){this.players.forEach((e=>e.destroy())),this._signalRemovalForInnerTriggers(this.hostElement,e)}}class He{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,s){this.bodyNode=e,this.driver=t,this._normalizer=s,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(e,t)=>{}}get queuedPlayers(){const e=[];return this._namespaceList.forEach((t=>{t.players.forEach((t=>{t.queued&&e.push(t)}))})),e}createNamespace(e,t){const s=new Ve(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 i=!1,r=this.driver.getParentElement(t);for(;r;){const t=n.get(r);if(t){const n=s.indexOf(t);s.splice(n+1,0,e),i=!0;break}r=this.driver.getParentElement(r)}i||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 e of s.values())if(e.namespaceId){const s=this._fetchNamespace(e.namespaceId);s&&t.add(s)}return t}trigger(e,t,s,n){if(Ge(t)){const i=this._fetchNamespace(e);if(i)return i.trigger(t,s,n),!0}return!1}insertNode(e,t,s,n){if(!Ge(t))return;const i=t[Qe];if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;const e=this.collectedLeaveElements.indexOf(t);e>=0&&this.collectedLeaveElements.splice(e,1)}if(e){const n=this._fetchNamespace(e);n&&n.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),Je(e,qe)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Xe(e,qe))}removeNode(e,t,s){if(Ge(t)){const n=e?this._fetchNamespace(e):null;n?n.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);const i=this.namespacesByHostElement.get(t);i&&i.id!==e&&i.removeNode(t,s)}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,s,n,i){this.collectedLeaveElements.push(t),t[Qe]={namespaceId:e,setForRemoval:n,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:i}}listen(e,t,s,n,i){return Ge(t)?this._fetchNamespace(e).listen(t,s,n,i):()=>{}}_buildInstruction(e,t,s,n,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,s,n,e.fromState.options,e.toState.options,t,i)}destroyInnerAnimations(e){let t=this.driver.query(e,I,!0);t.forEach((e=>this.destroyActiveAnimationsForElement(e))),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,q,!0),t.forEach((e=>this.finishActiveQueriedAnimationOnElement(e))))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach((e=>{e.queued?e.markedForDestroy=!0:e.destroy()}))}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach((e=>e.finish()))}whenRenderingDone(){return new Promise((e=>{if(this.players.length)return m(this.players).onDone((()=>e()));e()}))}processLeaveNode(e){const t=e[Qe];if(t&&t.setForRemoval){if(e[Qe]=Be,t.namespaceId){this.destroyInnerAnimations(e);const s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(qe)&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach((e=>{this.markElementAsDisabled(e,!1)}))}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach(((e,t)=>this._balanceNamespaceList(e,t))),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let e=0;e<this.collectedEnterElements.length;e++){Je(this.collectedEnterElements[e],"ng-star-inserted")}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const s=[];try{t=this._flushAnimations(s,e)}finally{for(let e=0;e<s.length;e++)s[e]()}}else for(let e=0;e<this.collectedLeaveElements.length;e++){const t=this.collectedLeaveElements[e];this.processLeaveNode(t)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach((e=>e())),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?m(t).onDone((()=>{e.forEach((e=>e()))})):e.forEach((e=>e()))}}reportError(e){throw new h(3402,!1)}_flushAnimations(e,t){const s=new ge,r=[],a=new Map,o=[],l=new Map,c=new Map,u=new Map,d=new Set;this.disabledNodes.forEach((e=>{d.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let e=0;e<t.length;e++)d.add(t[e])}));const p=this.bodyNode,y=Array.from(this.statesByElement.keys()),f=Ze(y,this.collectedEnterElements),_=new Map;let S=0;f.forEach(((e,t)=>{const s=x+S++;_.set(t,s),e.forEach((e=>Je(e,s)))}));const E=[],w=new Set,v=new Set;for(let e=0;e<this.collectedLeaveElements.length;e++){const t=this.collectedLeaveElements[e],s=t[Qe];s&&s.setForRemoval&&(E.push(t),w.add(t),s.hasAnimation?this.driver.query(t,".ng-star-inserted",!0).forEach((e=>w.add(e))):v.add(t))}const b=new Map,T=Ze(y,Array.from(w));T.forEach(((e,t)=>{const s=R+S++;b.set(t,s),e.forEach((e=>Je(e,s)))})),e.push((()=>{f.forEach(((e,t)=>{const s=_.get(t);e.forEach((e=>Xe(e,s)))})),T.forEach(((e,t)=>{const s=b.get(t);e.forEach((e=>Xe(e,s)))})),E.forEach((e=>{this.processLeaveNode(e)}))}));const k=[],A=[];for(let e=this._namespaceList.length-1;e>=0;e--){this._namespaceList[e].drainQueuedTransitions(t).forEach((e=>{const t=e.player,n=e.element;if(k.push(t),this.collectedEnterElements.length){const s=n[Qe];if(s&&s.setForMove){if(s.previousTriggersValues&&s.previousTriggersValues.has(e.triggerName)){const t=s.previousTriggersValues.get(e.triggerName),n=this.statesByElement.get(e.element);if(n&&n.has(e.triggerName)){const s=n.get(e.triggerName);s.value=t,n.set(e.triggerName,s)}}return void t.destroy()}}const i=!p||!this.driver.containsElement(p,n),a=b.get(n),h=_.get(n),m=this._buildInstruction(e,s,h,a,i);if(m.errors&&m.errors.length)return void A.push(m);if(i)return t.onStart((()=>j(n,m.fromStyles))),t.onDestroy((()=>W(n,m.toStyles))),void r.push(t);if(e.isFallbackTransition)return t.onStart((()=>j(n,m.fromStyles))),t.onDestroy((()=>W(n,m.toStyles))),void r.push(t);const d=[];m.timelines.forEach((e=>{e.stretchStartingKeyframe=!0,this.disabledNodes.has(e.element)||d.push(e)})),m.timelines=d,s.append(n,m.timelines);const y={instruction:m,player:t,element:n};o.push(y),m.queriedElements.forEach((e=>g(l,e,[]).push(t))),m.preStyleProps.forEach(((e,t)=>{if(e.size){let s=c.get(t);s||c.set(t,s=new Set),e.forEach(((e,t)=>s.add(t)))}})),m.postStyleProps.forEach(((e,t)=>{let s=u.get(t);s||u.set(t,s=new Set),e.forEach(((e,t)=>s.add(t)))}))}))}if(A.length){const e=[];A.forEach((t=>{e.push((t.triggerName,t.errors,new h(3505,!1)))})),k.forEach((e=>e.destroy())),this.reportError(e)}const N=new Map,C=new Map;o.forEach((e=>{const t=e.element;s.has(t)&&(C.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,N))})),r.forEach((e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach((e=>{g(N,t,[]).push(e),e.destroy()}))}));const P=E.filter((e=>st(e,c,u))),M=new Map;Ye(M,this.driver,v,u,n).forEach((e=>{st(e,c,u)&&P.push(e)}));const F=new Map;f.forEach(((e,t)=>{Ye(F,this.driver,new Set(e),c,i)})),P.forEach((e=>{const t=M.get(e),s=F.get(e);M.set(e,new Map([...t?.entries()??[],...s?.entries()??[]]))}));const D=[],I=[],z={};o.forEach((e=>{const{element:t,player:n,instruction:i}=e;if(s.has(t)){if(d.has(t))return n.onDestroy((()=>W(t,i.toStyles))),n.disabled=!0,n.overrideTotalTime(i.totalTime),void r.push(n);let e=z;if(C.size>1){let s=t;const n=[];for(;s=s.parentNode;){const t=C.get(s);if(t){e=t;break}n.push(s)}n.forEach((t=>C.set(t,e)))}const s=this._buildAnimation(n.namespaceId,i,N,a,F,M);if(n.setRealPlayer(s),e===z)D.push(n);else{const t=this.playersByElement.get(e);t&&t.length&&(n.parentPlayer=m(t)),r.push(n)}}else j(t,i.fromStyles),n.onDestroy((()=>W(t,i.toStyles))),I.push(n),d.has(t)&&r.push(n)})),I.forEach((e=>{const t=a.get(e.element);if(t&&t.length){const s=m(t);e.setRealPlayer(s)}})),r.forEach((e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()}));for(let e=0;e<E.length;e++){const t=E[e],s=t[Qe];if(Xe(t,R),s&&s.hasAnimation)continue;let n=[];if(l.size){let e=l.get(t);e&&e.length&&n.push(...e);let s=this.driver.query(t,q,!0);for(let e=0;e<s.length;e++){let t=l.get(s[e]);t&&t.length&&n.push(...t)}}const i=n.filter((e=>!e.destroyed));i.length?et(this,t,i):this.processLeaveNode(t)}return E.length=0,D.forEach((e=>{this.players.push(e),e.onDone((()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)})),e.play()})),D}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,n,i){let r=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(r=t)}else{const t=this.playersByElement.get(e);if(t){const e=!i||i==We;t.forEach((t=>{t.queued||(e||t.triggerName==n)&&r.push(t)}))}}return(s||n)&&(r=r.filter((e=>(!s||s==e.namespaceId)&&(!n||n==e.triggerName)))),r}_beforeAnimationBuild(e,t,s){const n=t.triggerName,i=t.element,r=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:n;for(const e of t.timelines){const n=e.element,o=n!==i,l=g(s,n,[]);this._getPreviousPlayers(n,o,r,a,t.toState).forEach((e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)}))}j(i,t.fromStyles)}_buildAnimation(t,s,n,i,r,a){const o=s.triggerName,l=s.element,h=[],c=new Set,u=new Set,p=s.timelines.map((s=>{const m=s.element;c.add(m);const p=m[Qe];if(p&&p.removedBeforeQueried)return new e(s.duration,s.delay);const y=m!==l,f=function(e){const t=[];return tt(e,t),t}((n.get(m)||Le).map((e=>e.getRealPlayer()))).filter((e=>{const t=e;return!!t.element&&t.element===m})),g=r.get(m),_=a.get(m),S=d(this._normalizer,s.keyframes,g,_),E=this._buildPlayer(s,S,f);if(s.subTimeline&&i&&u.add(m),y){const e=new $e(t,o,m);e.setRealPlayer(E),h.push(e)}return E}));h.forEach((e=>{g(this.playersByQueriedElement,e.element,[]).push(e),e.onDone((()=>function(e,t,s){let n=e.get(t);if(n){if(n.length){const e=n.indexOf(s);n.splice(e,1)}0==n.length&&e.delete(t)}return n}(this.playersByQueriedElement,e.element,e)))})),c.forEach((e=>Je(e,z)));const y=m(p);return y.onDestroy((()=>{c.forEach((e=>Xe(e,z))),W(l,s.toStyles)})),u.forEach((e=>{g(i,e,[]).push(y)})),y}_buildPlayer(t,s,n){return s.length>0?this.driver.animate(t.element,s,t.duration,t.delay,t.easing,n):new e(t.duration,t.delay)}}class $e{constructor(t,s,n){this.namespaceId=t,this.triggerName=s,this.element=n,this._player=new e,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach(((t,s)=>{t.forEach((t=>p(e,s,void 0,t)))})),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){g(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 Ge(e){return e&&1===e.nodeType}function Ue(e,t){const s=e.style.display;return e.style.display=null!=t?t:"none",s}function Ye(e,t,s,n,i){const r=[];s.forEach((e=>r.push(Ue(e))));const a=[];n.forEach(((s,n)=>{const r=new Map;s.forEach((e=>{const s=t.computeStyle(n,e,i);r.set(e,s),s&&0!=s.length||(n[Qe]=Ke,a.push(n))})),e.set(n,r)}));let o=0;return s.forEach((e=>Ue(e,r[o++]))),a}function Ze(e,t){const s=new Map;if(e.forEach((e=>s.set(e,[]))),0==t.length)return s;const n=new Set(t),i=new Map;function r(e){if(!e)return 1;let t=i.get(e);if(t)return t;const a=e.parentNode;return t=s.has(a)?a:n.has(a)?1:r(a),i.set(e,t),t}return t.forEach((e=>{const t=r(e);1!==t&&s.get(t).push(e)})),s}function Je(e,t){e.classList?.add(t)}function Xe(e,t){e.classList?.remove(t)}function et(e,t,s){m(s).onDone((()=>e.processLeaveNode(t)))}function tt(e,t){for(let s=0;s<e.length;s++){const n=e[s];n instanceof r?tt(n.players,t):t.push(n)}}function st(e,t,s){const n=s.get(e);if(!n)return!1;let i=t.get(e);return i?n.forEach((e=>i.add(e))):t.set(e,n),s.delete(e),!0}class nt{constructor(e,t,s){this._driver=t,this._normalizer=s,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new He(e.body,t,s),this._timelineEngine=new Ie(e.body,t,s),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,s,n,i){const r=e+"-"+n;let a=this._triggerCache[r];if(!a){const e=[],t=[],s=ue(this._driver,i,e,t);if(e.length)throw new h(3404,!1);t.length,a=function(e,t,s){return new xe(e,t,s)}(n,s,this._normalizer),this._triggerCache[r]=a}this._transitionEngine.registerTrigger(t,n,a)}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[e,i]=_(s),r=n;this._timelineEngine.command(e,t,i,r)}else this._transitionEngine.trigger(e,t,s,n)}listen(e,t,s,n,i){if("@"==s.charAt(0)){const[e,n]=_(s);return this._timelineEngine.listen(e,t,n,i)}return this._transitionEngine.listen(e,t,s,n,i)}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)}}class it{static{this.initialStylesByElement=new WeakMap}constructor(e,t,s){this._element=e,this._startStyles=t,this._endStyles=s,this._state=0;let n=it.initialStylesByElement.get(e);n||it.initialStylesByElement.set(e,n=new Map),this._initialStyles=n}start(){this._state<1&&(this._startStyles&&W(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(W(this._element,this._initialStyles),this._endStyles&&(W(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(it.initialStylesByElement.delete(this._element),this._startStyles&&(j(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(j(this._element,this._endStyles),this._endStyles=null),W(this._element,this._initialStyles),this._state=3)}}function rt(e){let t=null;return e.forEach(((e,s)=>{(function(e){return"display"===e||"position"===e})(s)&&(t=t||new Map,t.set(s,e))})),t}class at{constructor(e,t,s,n){this.element=e,this.keyframes=t,this.options=s,this._specialStyles=n,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,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((e=>{t.push(Object.fromEntries(e))})),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;if(this.hasStarted()){this._finalKeyframe.forEach(((t,s)=>{"offset"!==s&&e.set(s,this._finished?t:te(this.element,s))}))}this.currentSnapshot=e}triggerCallback(e){const t="start"===e?this._onStartFns:this._onDoneFns;t.forEach((e=>e())),t.length=0}}class ot{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return k(e,t)}getParentElement(e){return E(e)}query(e,t,s){return A(e,t,s)}computeStyle(e,t,s){return te(e,t)}animate(e,t,s,n,i,r=[]){const a={duration:s,delay:n,fill:0==n?"both":"forwards"};i&&(a.easing=i);const o=new Map,l=r.filter((e=>e instanceof at));X(s,n)&&l.forEach((e=>{e.currentSnapshot.forEach(((e,t)=>o.set(t,e)))}));let h=Q(t).map((e=>new Map(e)));h=function(e,t,s){if(s.size&&t.length){let n=t[0],i=[];if(s.forEach(((e,t)=>{n.has(t)||i.push(t),n.set(t,e)})),i.length)for(let s=1;s<t.length;s++){let n=t[s];i.forEach((t=>n.set(t,te(e,t))))}}return t}(e,h,o);const c=function(e,t){let s=null,n=null;return Array.isArray(t)&&t.length?(s=rt(t[0]),t.length>1&&(n=rt(t[t.length-1]))):t instanceof Map&&(s=rt(t)),s||n?new it(e,s,n):null}(e,h);return new at(e,h,a,c)}}function lt(e,t){return"noop"===e?new nt(t,new N,new M):new nt(t,new ot,new ne)}class ht{constructor(e,t){this._driver=e;const s=[],n=[],i=ue(e,t,s,n);if(s.length)throw new h(3500,!1);this._animationAst=i}buildTimelines(e,t,s,n,i){const r=Array.isArray(t)?O(t):t,a=Array.isArray(s)?O(s):s,o=[];i=i||new ge;const l=Ee(this._driver,e,this._animationAst,x,R,r,a,n,i,o);if(o.length)throw new h(3501,!1);return l}}const ct="@",ut="@.disabled";class mt{constructor(e,t,s,n){this.namespaceId=e,this.delegate=t,this.engine=s,this._onDestroy=n,this.ɵtype=0}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)==ct&&t==ut?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 dt extends mt{constructor(e,t,s,n,i){super(t,s,n,i),this.factory=e,this.namespaceId=t}setProperty(e,t,s){t.charAt(0)==ct?"."==t.charAt(1)&&t==ut?(s=void 0===s||!!s,this.disableAnimations(e,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)==ct){const n=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let i=t.slice(1),r="";return i.charAt(0)!=ct&&([i,r]=function(e){const t=e.indexOf("."),s=e.substring(0,t),n=e.slice(t+1);return[s,n]}(i)),this.engine.listen(this.namespaceId,n,i,r,(e=>{const t=e._data||-1;this.factory.scheduleListenerCallback(t,s,e)}))}return this.delegate.listen(e,t,s)}}class pt{constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(e,t)=>{t?.removeChild(null,e)}}createRenderer(e,t){const s=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){const e=this._rendererCache;let t=e.get(s);if(!t){const n=()=>e.delete(s);t=new mt("",s,this.engine,n),e.set(s,t)}return t}const n=t.id,i=t.id+"-"+this._currentId;this._currentId++,this.engine.register(i,e);const r=t=>{Array.isArray(t)?t.forEach(r):this.engine.registerTrigger(n,i,e,t.name,t)};return t.data.animation.forEach(r),new dt(this,i,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask((()=>{this._microtaskId++}))}scheduleListenerCallback(e,t,s){if(e>=0&&e<this._microtaskId)return void this._zone.run((()=>t(s)));const n=this._animationCallbacksBuffer;0==n.length&&queueMicrotask((()=>{this._zone.run((()=>{n.forEach((e=>{const[t,s]=e;t(s)})),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()}}export{C as AnimationDriver,N as NoopAnimationDriver,ht as ɵAnimation,nt as ɵAnimationEngine,dt as ɵAnimationRenderer,pt as ɵAnimationRendererFactory,P as ɵAnimationStyleNormalizer,mt as ɵBaseAnimationRenderer,M as ɵNoopAnimationStyleNormalizer,ot as ɵWebAnimationsDriver,at as ɵWebAnimationsPlayer,ne as ɵWebAnimationsStyleNormalizer,X as ɵallowPreviousPlayerStylesMerge,J as ɵcamelCaseToDashCase,k as ɵcontainsElement,lt as ɵcreateEngine,E as ɵgetParentElement,A as ɵinvokeQuery,Q as ɵnormalizeKeyframes,b as ɵvalidateStyleProperty,T as ɵvalidateWebAnimatableStyleProperty};
//# sourceMappingURL=angular-animations-browser.min.js.map

@@ -1,2 +0,2 @@

/* esm-bundle - @angular/animations@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/animations@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import { DOCUMENT } from '@angular/common';

@@ -7,3 +7,3 @@ import * as i0 from '@angular/core';

/**
* @license Angular v18.2.10
* @license Angular v18.2.11
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -10,0 +10,0 @@ * License: MIT

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/animations@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/animations@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import{DOCUMENT as t}from"@angular/common";import*as s from"@angular/core";import{inject as n,Injectable as e,ANIMATION_MODULE_TYPE as i,ViewEncapsulation as r,ɵRuntimeError as o,Inject as a}from"@angular/core";var h;!function(t){t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger"}(h||(h={}));const l="*";function c(t,s){return{type:h.Trigger,name:t,definitions:s,options:{}}}function _(t,s=null){return{type:h.Animate,styles:s,timings:t}}function u(t,s=null){return{type:h.Group,steps:t,options:s}}function d(t,s=null){return{type:h.Sequence,steps:t,options:s}}function y(t){return{type:h.Style,styles:t,offset:null}}function p(t,s,n){return{type:h.State,name:t,styles:s,options:n}}function f(t){return{type:h.Keyframes,steps:t}}function m(t,s,n=null){return{type:h.Transition,expr:t,animation:s,options:n}}function F(t,s=null){return{type:h.Reference,animation:t,options:s}}function S(t=null){return{type:h.AnimateChild,options:t}}function g(t,s=null){return{type:h.AnimateRef,animation:t,options:s}}function D(t,s,n=null){return{type:h.Query,selector:t,animation:s,options:n}}function T(t,s){return{type:h.Stagger,timings:t,animation:s}}class E{static{this.ɵfac=function(t){return new(t||E)}}static{this.ɵprov=s.ɵɵdefineInjectable({token:E,factory:()=>n(P),providedIn:"root"})}}class A{}class P extends E{constructor(t,s){super(),this.animationModuleType=n(i,{optional:!0}),this._nextAnimationId=0;const e={id:"0",encapsulation:r.None,styles:[],data:{animation:[]}};if(this._renderer=t.createRenderer(s.body,e),null===this.animationModuleType&&!function(t){const s=t.ɵtype;return 0===s||1===s}(this._renderer))throw new o(3600,!1)}build(t){const s=this._nextAnimationId;this._nextAnimationId++;const n=Array.isArray(t)?d(t):t;return k(this._renderer,null,s,"register",[n]),new R(s,this._renderer)}static{this.ɵfac=function(n){return new(n||P)(s.ɵɵinject(s.RendererFactory2),s.ɵɵinject(t))}}static{this.ɵprov=s.ɵɵdefineInjectable({token:P,factory:P.ɵfac,providedIn:"root"})}}class R extends A{constructor(t,s){super(),this._id=t,this._renderer=s}create(t,s){return new b(this._id,t,s||{},this._renderer)}}class b{constructor(t,s,n,e){this.id=t,this.element=s,this._renderer=e,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,s){return this._renderer.listen(this.element,`@@${this.id}:${t}`,s)}_command(t,...s){k(this._renderer,this.element,this.id,t,s)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){return function(t){const s=t.ɵtype;if(0===s)return t;if(1===s)return t.animationRenderer;return null}(this._renderer)?.engine?.players[this.id]?.getPosition()??0}}function k(t,s,n,e,i){t.setProperty(s,`@@${n}:${e}`,i)}class x{constructor(t=0,s=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+s}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((t=>t())),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask((()=>this._onFinish()))}_onStart(){this._onStartFns.forEach((t=>t())),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((t=>t())),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const s="start"==t?this._onStartFns:this._onDoneFns;s.forEach((t=>t())),s.length=0}}class M{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let s=0,n=0,e=0;const i=this.players.length;0==i?queueMicrotask((()=>this._onFinish())):this.players.forEach((t=>{t.onDone((()=>{++s==i&&this._onFinish()})),t.onDestroy((()=>{++n==i&&this._onDestroy()})),t.onStart((()=>{++e==i&&this._onStart()}))})),this.totalTime=this.players.reduce(((t,s)=>Math.max(t,s.totalTime)),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((t=>t())),this._onDoneFns=[])}init(){this.players.forEach((t=>t.init()))}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((t=>t())),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((t=>t.play()))}pause(){this.players.forEach((t=>t.pause()))}restart(){this.players.forEach((t=>t.restart()))}finish(){this._onFinish(),this.players.forEach((t=>t.finish()))}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((t=>t.destroy())),this._onDestroyFns.forEach((t=>t())),this._onDestroyFns=[])}reset(){this.players.forEach((t=>t.reset())),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const s=t*this.totalTime;this.players.forEach((t=>{const n=t.totalTime?Math.min(1,s/t.totalTime):1;t.setPosition(n)}))}getPosition(){const t=this.players.reduce(((t,s)=>null===t||s.totalTime>t.totalTime?s:t),null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach((t=>{t.beforeDestroy&&t.beforeDestroy()}))}triggerCallback(t){const s="start"==t?this._onStartFns:this._onDoneFns;s.forEach((t=>t())),s.length=0}}const w="!";export{l as AUTO_STYLE,E as AnimationBuilder,A as AnimationFactory,h as AnimationMetadataType,x as NoopAnimationPlayer,_ as animate,S as animateChild,F as animation,u as group,f as keyframes,D as query,d as sequence,T as stagger,p as state,y as style,m as transition,c as trigger,g as useAnimation,M as ɵAnimationGroupPlayer,P as ɵBrowserAnimationBuilder,w as ɵPRE_STYLE};
//# sourceMappingURL=angular-animations.min.js.map

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/common/http@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/common/http@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import*as e from"@angular/core";import{Injectable as t,inject as s,NgZone as r,InjectionToken as n,ɵPendingTasks as o,PLATFORM_ID as a,ɵConsole as i,ɵformatRuntimeError as c,Inject as u,runInInjectionContext as d,ɵRuntimeError as l,NgModule as h,makeEnvironmentProviders as p,ɵperformanceMarkFeature as f,TransferState as m,APP_BOOTSTRAP_LISTENER as y,ApplicationRef as b,ɵwhenStable as g,makeStateKey as w,ɵtruncateMiddle as v}from"@angular/core";import{of as T,Observable as x,from as C}from"rxjs";import{concatMap as E,filter as P,map as R,finalize as N,switchMap as S,tap as k}from"rxjs/operators";import*as j from"@angular/common";import{isPlatformServer as A,DOCUMENT as I,ɵparseCookieValue as L}from"@angular/common";class O{}class U{}class q{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?"string"==typeof e?this.lazyInit=()=>{this.headers=new Map,e.split("\n").forEach((e=>{const t=e.indexOf(":");if(t>0){const s=e.slice(0,t),r=s.toLowerCase(),n=e.slice(t+1).trim();this.maybeSetNormalizedName(s,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}}))}:"undefined"!=typeof Headers&&e instanceof Headers?(this.headers=new Map,e.forEach(((e,t)=>{this.setHeaderEntries(t,e)}))):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach((([e,t])=>{this.setHeaderEntries(e,t)}))}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof q?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((e=>this.applyUpdate(e))),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach((t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))}))}clone(e){const t=new q;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof q?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let s=e.value;if("string"==typeof s&&(s=[s]),0===s.length)return;this.maybeSetNormalizedName(e.name,t);const r=("a"===e.op?this.headers.get(t):void 0)||[];r.push(...s),this.headers.set(t,r);break;case"d":const n=e.value;if(n){let e=this.headers.get(t);if(!e)return;e=e.filter((e=>-1===n.indexOf(e))),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}setHeaderEntries(e,t){const s=(Array.isArray(t)?t:[t]).map((e=>e.toString())),r=e.toLowerCase();this.headers.set(r,s),this.maybeSetNormalizedName(e,r)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach((t=>e(this.normalizedNames.get(t),this.headers.get(t))))}}class F{encodeKey(e){return z(e)}encodeValue(e){return z(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}const H=/%(\d[a-f0-9])/gi,M={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function z(e){return encodeURIComponent(e).replace(H,((e,t)=>M[t]??e))}function B(e){return`${e}`}class V{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new F,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const s=new Map;e.length>0&&e.replace(/^\?/,"").split("&").forEach((e=>{const r=e.indexOf("="),[n,o]=-1==r?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,r)),t.decodeValue(e.slice(r+1))],a=s.get(n)||[];a.push(o),s.set(n,a)}));return s}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach((t=>{const s=e.fromObject[t],r=Array.isArray(s)?s.map(B):[B(s)];this.map.set(t,r)}))):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){const t=[];return Object.keys(e).forEach((s=>{const r=e[s];Array.isArray(r)?r.forEach((e=>{t.push({param:s,value:e,op:"a"})})):t.push({param:s,value:r,op:"a"})})),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map((e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map((e=>t+"="+this.encoder.encodeValue(e))).join("&")})).filter((e=>""!==e)).join("&")}clone(e){const t=new V({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((e=>this.map.set(e,this.cloneFrom.map.get(e)))),this.updates.forEach((e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(B(e.value)),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const s=t.indexOf(B(e.value));-1!==s&&t.splice(s,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}})),this.cloneFrom=this.updates=null)}}class D{constructor(e){this.defaultValue=e}}class J{constructor(){this.map=new Map}set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}}function X(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function K(e){return"undefined"!=typeof Blob&&e instanceof Blob}function W(e){return"undefined"!=typeof FormData&&e instanceof FormData}class ${constructor(e,t,s,r){let n;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==s?s:null,n=r):n=s,n&&(this.reportProgress=!!n.reportProgress,this.withCredentials=!!n.withCredentials,n.responseType&&(this.responseType=n.responseType),n.headers&&(this.headers=n.headers),n.context&&(this.context=n.context),n.params&&(this.params=n.params),this.transferCache=n.transferCache),this.headers??=new q,this.context??=new J,this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const s=t.indexOf("?"),r=-1===s?"?":s<t.length-1?"&":"";this.urlWithParams=t+r+e}}else this.params=new V,this.urlWithParams=t}serializeBody(){return null===this.body?null:"string"==typeof this.body||X(this.body)||K(this.body)||W(this.body)||(e=this.body,"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams)?this.body:this.body instanceof V?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString();var e}detectContentTypeHeader(){return null===this.body||W(this.body)?null:K(this.body)?this.body.type||null:X(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof V?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(e={}){const t=e.method||this.method,s=e.url||this.url,r=e.responseType||this.responseType,n=e.transferCache??this.transferCache,o=void 0!==e.body?e.body:this.body,a=e.withCredentials??this.withCredentials,i=e.reportProgress??this.reportProgress;let c=e.headers||this.headers,u=e.params||this.params;const d=e.context??this.context;return void 0!==e.setHeaders&&(c=Object.keys(e.setHeaders).reduce(((t,s)=>t.set(s,e.setHeaders[s])),c)),e.setParams&&(u=Object.keys(e.setParams).reduce(((t,s)=>t.set(s,e.setParams[s])),u)),new $(t,s,o,{params:u,headers:c,context:d,reportProgress:i,responseType:r,withCredentials:a,transferCache:n})}}var _;!function(e){e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User"}(_||(_={}));class G{constructor(e,t=200,s="OK"){this.headers=e.headers||new q,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||s,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class Z extends G{constructor(e={}){super(e),this.type=_.ResponseHeader}clone(e={}){return new Z({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class Q extends G{constructor(e={}){super(e),this.type=_.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new Q({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class Y extends G{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}var ee;function te(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}!function(e){e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired"}(ee||(ee={}));class se{constructor(e){this.handler=e}request(e,t,s={}){let r;if(e instanceof $)r=e;else{let n,o;n=s.headers instanceof q?s.headers:new q(s.headers),s.params&&(o=s.params instanceof V?s.params:new V({fromObject:s.params})),r=new $(e,t,void 0!==s.body?s.body:null,{headers:n,context:s.context,params:o,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials,transferCache:s.transferCache})}const n=T(r).pipe(E((e=>this.handler.handle(e))));if(e instanceof $||"events"===s.observe)return n;const o=n.pipe(P((e=>e instanceof Q)));switch(s.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return o.pipe(R((e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body})));case"blob":return o.pipe(R((e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body})));case"text":return o.pipe(R((e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body})));default:return o.pipe(R((e=>e.body)))}case"response":return o;default:throw new Error(`Unreachable: unhandled observe type ${s.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new V).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,s={}){return this.request("PATCH",e,te(s,t))}post(e,t,s={}){return this.request("POST",e,te(s,t))}put(e,t,s={}){return this.request("PUT",e,te(s,t))}static{this.ɵfac=function(t){return new(t||se)(e.ɵɵinject(O))}}static{this.ɵprov=e.ɵɵdefineInjectable({token:se,factory:se.ɵfac})}}const re=/^\)\]\}',?\n/,ne="X-Request-URL";function oe(e){if(e.url)return e.url;const t=ne.toLocaleLowerCase();return e.headers.get(t)}class ae{constructor(){this.fetchImpl=s(ie,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e)),this.ngZone=s(r)}handle(e){return new x((t=>{const s=new AbortController;return this.doRequest(e,s.signal,t).then(ce,(e=>t.error(new Y({error:e})))),()=>s.abort()}))}async doRequest(e,t,s){const r=this.createRequestInit(e);let n;try{const o=this.ngZone.runOutsideAngular((()=>this.fetchImpl(e.urlWithParams,{signal:t,...r})));o.then(ce,ce),s.next({type:_.Sent}),n=await o}catch(t){return void s.error(new Y({error:t,status:t.status??0,statusText:t.statusText,url:e.urlWithParams,headers:t.headers}))}const o=new q(n.headers),a=n.statusText,i=oe(n)??e.urlWithParams;let c=n.status,u=null;if(e.reportProgress&&s.next(new Z({headers:o,status:c,statusText:a,url:i})),n.body){const t=n.headers.get("content-length"),r=[],o=n.body.getReader();let a,i,c=0;const d="undefined"!=typeof Zone&&Zone.current;await this.ngZone.runOutsideAngular((async()=>{for(;;){const{done:n,value:u}=await o.read();if(n)break;if(r.push(u),c+=u.length,e.reportProgress){i="text"===e.responseType?(i??"")+(a??=new TextDecoder).decode(u,{stream:!0}):void 0;const r=()=>s.next({type:_.DownloadProgress,total:t?+t:void 0,loaded:c,partialText:i});d?d.run(r):r()}}}));const l=this.concatChunks(r,c);try{const t=n.headers.get("Content-Type")??"";u=this.parseBody(e,l,t)}catch(t){return void s.error(new Y({error:t,headers:new q(n.headers),status:n.status,statusText:n.statusText,url:oe(n)??e.urlWithParams}))}}0===c&&(c=u?200:0);c>=200&&c<300?(s.next(new Q({body:u,headers:o,status:c,statusText:a,url:i})),s.complete()):s.error(new Y({error:u,headers:o,status:c,statusText:a,url:i}))}parseBody(e,t,s){switch(e.responseType){case"json":const e=(new TextDecoder).decode(t).replace(re,"");return""===e?null:JSON.parse(e);case"text":return(new TextDecoder).decode(t);case"blob":return new Blob([t],{type:s});case"arraybuffer":return t.buffer}}createRequestInit(e){const t={},s=e.withCredentials?"include":void 0;if(e.headers.forEach(((e,s)=>t[e]=s.join(","))),e.headers.has("Accept")||(t.Accept="application/json, text/plain, */*"),!e.headers.has("Content-Type")){const s=e.detectContentTypeHeader();null!==s&&(t["Content-Type"]=s)}return{body:e.serializeBody(),method:e.method,headers:t,credentials:s}}concatChunks(e,t){const s=new Uint8Array(t);let r=0;for(const t of e)s.set(t,r),r+=t.length;return s}static{this.ɵfac=function(e){return new(e||ae)}}static{this.ɵprov=e.ɵɵdefineInjectable({token:ae,factory:ae.ɵfac})}}class ie{}function ce(){}function ue(e,t){return t(e)}function de(e,t){return(s,r)=>t.intercept(s,{handle:t=>e(t,r)})}const le=new n(""),he=new n(""),pe=new n(""),fe=new n("",{providedIn:"root",factory:()=>!0});function me(){let e=null;return(t,r)=>{if(null===e){const t=s(le,{optional:!0})??[];e=t.reduceRight(de,ue)}const n=s(o);if(s(fe)){const s=n.add();return e(t,r).pipe(N((()=>n.remove(s))))}return e(t,r)}}class ye extends O{constructor(e,t){super(),this.backend=e,this.injector=t,this.chain=null,this.pendingTasks=s(o),this.contributeToStability=s(fe)}handle(e){if(null===this.chain){const e=Array.from(new Set([...this.injector.get(he),...this.injector.get(pe,[])]));this.chain=e.reduceRight(((e,t)=>function(e,t,s){return(r,n)=>d(s,(()=>t(r,(t=>e(t,n)))))}(e,t,this.injector)),ue)}if(this.contributeToStability){const t=this.pendingTasks.add();return this.chain(e,(e=>this.backend.handle(e))).pipe(N((()=>this.pendingTasks.remove(t))))}return this.chain(e,(e=>this.backend.handle(e)))}static{this.ɵfac=function(t){return new(t||ye)(e.ɵɵinject(U),e.ɵɵinject(e.EnvironmentInjector))}}static{this.ɵprov=e.ɵɵdefineInjectable({token:ye,factory:ye.ɵfac})}}let be,ge=0;class we{}function ve(){return"object"==typeof window?window:{}}class Te{constructor(e,t){this.callbackMap=e,this.document=t,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+ge++}handle(e){if("JSONP"!==e.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==e.responseType)throw new Error("JSONP requests must use Json response type.");if(e.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new x((t=>{const s=this.nextCallback(),r=e.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${s}$1`),n=this.document.createElement("script");n.src=r;let o=null,a=!1;this.callbackMap[s]=e=>{delete this.callbackMap[s],o=e,a=!0};const i=()=>{n.removeEventListener("load",c),n.removeEventListener("error",u),n.remove(),delete this.callbackMap[s]},c=e=>{this.resolvedPromise.then((()=>{i(),a?(t.next(new Q({body:o,status:200,statusText:"OK",url:r})),t.complete()):t.error(new Y({url:r,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))}))},u=e=>{i(),t.error(new Y({error:e,status:0,statusText:"JSONP Error",url:r}))};return n.addEventListener("load",c),n.addEventListener("error",u),this.document.body.appendChild(n),t.next({type:_.Sent}),()=>{a||this.removeListeners(n),i()}}))}removeListeners(e){be??=this.document.implementation.createHTMLDocument(),be.adoptNode(e)}static{this.ɵfac=function(t){return new(t||Te)(e.ɵɵinject(we),e.ɵɵinject(I))}}static{this.ɵprov=e.ɵɵdefineInjectable({token:Te,factory:Te.ɵfac})}}function xe(e,t){return"JSONP"===e.method?s(Te).handle(e):t(e)}class Ce{constructor(e){this.injector=e}intercept(e,t){return d(this.injector,(()=>xe(e,(e=>t.handle(e)))))}static{this.ɵfac=function(t){return new(t||Ce)(e.ɵɵinject(e.EnvironmentInjector))}}static{this.ɵprov=e.ɵɵdefineInjectable({token:Ce,factory:Ce.ɵfac})}}const Ee=/^\)\]\}',?\n/;class Pe{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new l(-2800,!1);const t=this.xhrFactory;return(t.ɵloadImpl?C(t.ɵloadImpl()):T(null)).pipe(S((()=>new x((s=>{const r=t.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach(((e,t)=>r.setRequestHeader(e,t.join(",")))),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&r.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();r.responseType="json"!==t?t:"text"}const n=e.serializeBody();let o=null;const a=()=>{if(null!==o)return o;const t=r.statusText||"OK",s=new q(r.getAllResponseHeaders()),n=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(r)||e.url;return o=new Z({headers:s,status:r.status,statusText:t,url:n}),o},i=()=>{let{headers:t,status:n,statusText:o,url:i}=a(),c=null;204!==n&&(c=void 0===r.response?r.responseText:r.response),0===n&&(n=c?200:0);let u=n>=200&&n<300;if("json"===e.responseType&&"string"==typeof c){const e=c;c=c.replace(Ee,"");try{c=""!==c?JSON.parse(c):null}catch(t){c=e,u&&(u=!1,c={error:t,text:c})}}u?(s.next(new Q({body:c,headers:t,status:n,statusText:o,url:i||void 0})),s.complete()):s.error(new Y({error:c,headers:t,status:n,statusText:o,url:i||void 0}))},c=e=>{const{url:t}=a(),n=new Y({error:e,status:r.status||0,statusText:r.statusText||"Unknown Error",url:t||void 0});s.error(n)};let u=!1;const d=t=>{u||(s.next(a()),u=!0);let n={type:_.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),"text"===e.responseType&&r.responseText&&(n.partialText=r.responseText),s.next(n)},l=e=>{let t={type:_.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),s.next(t)};return r.addEventListener("load",i),r.addEventListener("error",c),r.addEventListener("timeout",c),r.addEventListener("abort",c),e.reportProgress&&(r.addEventListener("progress",d),null!==n&&r.upload&&r.upload.addEventListener("progress",l)),r.send(n),s.next({type:_.Sent}),()=>{r.removeEventListener("error",c),r.removeEventListener("abort",c),r.removeEventListener("load",i),r.removeEventListener("timeout",c),e.reportProgress&&(r.removeEventListener("progress",d),null!==n&&r.upload&&r.upload.removeEventListener("progress",l)),r.readyState!==r.DONE&&r.abort()}})))))}static{this.ɵfac=function(t){return new(t||Pe)(e.ɵɵinject(j.XhrFactory))}}static{this.ɵprov=e.ɵɵdefineInjectable({token:Pe,factory:Pe.ɵfac})}}const Re=new n(""),Ne="XSRF-TOKEN",Se=new n("",{providedIn:"root",factory:()=>Ne}),ke="X-XSRF-TOKEN",je=new n("",{providedIn:"root",factory:()=>ke});class Ae{}class Ie{constructor(e,t,s){this.doc=e,this.platform=t,this.cookieName=s,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=L(e,this.cookieName),this.lastCookieString=e),this.lastToken}static{this.ɵfac=function(t){return new(t||Ie)(e.ɵɵinject(I),e.ɵɵinject(a),e.ɵɵinject(Se))}}static{this.ɵprov=e.ɵɵdefineInjectable({token:Ie,factory:Ie.ɵfac})}}function Le(e,t){const r=e.url.toLowerCase();if(!s(Re)||"GET"===e.method||"HEAD"===e.method||r.startsWith("http://")||r.startsWith("https://"))return t(e);const n=s(Ae).getToken(),o=s(je);return null==n||e.headers.has(o)||(e=e.clone({headers:e.headers.set(o,n)})),t(e)}class Oe{constructor(e){this.injector=e}intercept(e,t){return d(this.injector,(()=>Le(e,(e=>t.handle(e)))))}static{this.ɵfac=function(t){return new(t||Oe)(e.ɵɵinject(e.EnvironmentInjector))}}static{this.ɵprov=e.ɵɵdefineInjectable({token:Oe,factory:Oe.ɵfac})}}var Ue;function qe(e,t){return{ɵkind:e,ɵproviders:t}}function Fe(...e){const t=[se,Pe,ye,{provide:O,useExisting:ye},{provide:U,useFactory:()=>s(ae,{optional:!0})??s(Pe)},{provide:he,useValue:Le,multi:!0},{provide:Re,useValue:!0},{provide:Ae,useClass:Ie}];for(const s of e)t.push(...s.ɵproviders);return p(t)}function He(e){return qe(Ue.Interceptors,e.map((e=>({provide:he,useValue:e,multi:!0}))))}!function(e){e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch"}(Ue||(Ue={}));const Me=new n("");function ze(){return qe(Ue.LegacyInterceptors,[{provide:Me,useFactory:me},{provide:he,useExisting:Me,multi:!0}])}function Be({cookieName:e,headerName:t}){const s=[];return void 0!==e&&s.push({provide:Se,useValue:e}),void 0!==t&&s.push({provide:je,useValue:t}),qe(Ue.CustomXsrfConfiguration,s)}function Ve(){return qe(Ue.NoXsrfProtection,[{provide:Re,useValue:!1}])}function De(){return qe(Ue.JsonpSupport,[Te,{provide:we,useFactory:ve},{provide:he,useValue:xe,multi:!0}])}function Je(){return qe(Ue.RequestsMadeViaParent,[{provide:U,useFactory:()=>{const e=s(O,{skipSelf:!0,optional:!0});return e}}])}function Xe(){return qe(Ue.Fetch,[ae,{provide:U,useExisting:ae}])}class Ke{static disable(){return{ngModule:Ke,providers:[Ve().ɵproviders]}}static withOptions(e={}){return{ngModule:Ke,providers:Be(e).ɵproviders}}static{this.ɵfac=function(e){return new(e||Ke)}}static{this.ɵmod=e.ɵɵdefineNgModule({type:Ke})}static{this.ɵinj=e.ɵɵdefineInjector({providers:[Oe,{provide:le,useExisting:Oe,multi:!0},{provide:Ae,useClass:Ie},Be({cookieName:Ne,headerName:ke}).ɵproviders,{provide:Re,useValue:!0}]})}}class We{static{this.ɵfac=function(e){return new(e||We)}}static{this.ɵmod=e.ɵɵdefineNgModule({type:We})}static{this.ɵinj=e.ɵɵdefineInjector({providers:[Fe(ze())]})}}class $e{static{this.ɵfac=function(e){return new(e||$e)}}static{this.ɵmod=e.ɵɵdefineNgModule({type:$e})}static{this.ɵinj=e.ɵɵdefineInjector({providers:[De().ɵproviders]})}}const _e=new n(""),Ge="b",Ze="h",Qe="s",Ye="st",et="u",tt="rt",st=new n(""),rt=["GET","HEAD"];function nt(e,t){const{isCacheActive:r,...n}=s(st),{transferCache:o,method:i}=e;if(!r||!1===o||"POST"===i&&!n.includePostRequests&&!o||"POST"!==i&&!rt.includes(i)||!n.includeRequestsWithAuthHeaders&&function(e){return e.headers.has("authorization")||e.headers.has("proxy-authorization")}(e)||!1===n.filter?.(e))return t(e);const c=s(m),u=s(_e,{optional:!0}),d=A(s(a));if(u&&!d)throw new l(2803,!1);const h=d&&u?function(e,t){const s=new URL(e,"resolve://").origin,r=t[s];if(!r)return e;0;return e.replace(s,r)}(e.url,u):e.url,p=function(e,t){const{params:s,method:r,responseType:n}=e,o=at(s);let a=e.serializeBody();a instanceof URLSearchParams?a=at(a):"string"!=typeof a&&(a="");const i=function(e){let t=0;for(const s of e)t=Math.imul(31,t)+s.charCodeAt(0)|0;return t+=2147483648,t.toString()}([r,n,t,a,o].join("|"));return w(i)}(e,h),f=c.get(p,null);let y=n.includeHeaders;if("object"==typeof o&&o.includeHeaders&&(y=o.includeHeaders),f){const{[Ge]:e,[tt]:t,[Ze]:s,[Qe]:r,[Ye]:n,[et]:o}=f;let a=e;switch(t){case"arraybuffer":a=(new TextEncoder).encode(e).buffer;break;case"blob":a=new Blob([e])}let i=new q(s);return T(new Q({body:a,headers:i,status:r,statusText:n,url:o}))}return t(e).pipe(k((t=>{t instanceof Q&&d&&c.set(p,{[Ge]:t.body,[Ze]:ot(t.headers,y),[Qe]:t.status,[Ye]:t.statusText,[et]:h,[tt]:e.responseType})})))}function ot(e,t){if(!t)return{};const s={};for(const r of t){const t=e.getAll(r);null!==t&&(s[r]=t)}return s}function at(e){return[...e.keys()].sort().map((t=>`${t}=${e.getAll(t)}`)).join("&")}function it(e){return[{provide:st,useFactory:()=>(f("NgHttpTransferCache"),{isCacheActive:!0,...e})},{provide:pe,useValue:nt,multi:!0,deps:[m,st]},{provide:y,multi:!0,useFactory:()=>{const e=s(b),t=s(st);return()=>{g(e).then((()=>{t.isCacheActive=!1}))}}}]}export{ae as FetchBackend,le as HTTP_INTERCEPTORS,_e as HTTP_TRANSFER_CACHE_ORIGIN_MAP,U as HttpBackend,se as HttpClient,$e as HttpClientJsonpModule,We as HttpClientModule,Ke as HttpClientXsrfModule,J as HttpContext,D as HttpContextToken,Y as HttpErrorResponse,_ as HttpEventType,Ue as HttpFeatureKind,O as HttpHandler,Z as HttpHeaderResponse,q as HttpHeaders,V as HttpParams,$ as HttpRequest,Q as HttpResponse,G as HttpResponseBase,ee as HttpStatusCode,F as HttpUrlEncodingCodec,Pe as HttpXhrBackend,Ae as HttpXsrfTokenExtractor,Te as JsonpClientBackend,Ce as JsonpInterceptor,Fe as provideHttpClient,Xe as withFetch,He as withInterceptors,ze as withInterceptorsFromDi,De as withJsonpSupport,Ve as withNoXsrfProtection,Je as withRequestsMadeViaParent,Be as withXsrfConfiguration,pe as ɵHTTP_ROOT_INTERCEPTOR_FNS,ye as ɵHttpInterceptingHandler,ye as ɵHttpInterceptorHandler,fe as ɵREQUESTS_CONTRIBUTE_TO_STABILITY,it as ɵwithHttpTransferCache};
//# sourceMappingURL=angular-common-http.min.js.map

@@ -1,2 +0,2 @@

/* esm-bundle - @angular/common/upgrade@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/common/upgrade@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import * as i0 from '@angular/core';

@@ -9,3 +9,3 @@ import { InjectionToken, Inject, Optional, NgModule, ɵisPromise as _isPromise } from '@angular/core';

/**
* @license Angular v18.2.10
* @license Angular v18.2.11
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -12,0 +12,0 @@ * License: MIT

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/common/upgrade@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/common/upgrade@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import*as t from"@angular/core";import{InjectionToken as e,Inject as r,Optional as s,NgModule as i,ɵisPromise as a}from"@angular/core";import{ReplaySubject as h}from"rxjs";import{Location as o,PlatformLocation as n,LocationStrategy as c,APP_BASE_HREF as l,CommonModule as $,HashLocationStrategy as p,PathLocationStrategy as u}from"@angular/common";import{UpgradeModule as d}from"@angular/upgrade/static";const g=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,f=/^\s*[\\/]{2,}/,w=/^\s*(javascript|mailto):/i,S={"http:":80,"https:":443,"ftp:":21};class m{constructor(t,e,r,s,i){this.location=e,this.platformLocation=r,this.urlCodec=s,this.locationStrategy=i,this.initializing=!0,this.updateBrowser=!1,this.$$absUrl="",this.$$url="",this.$$host="",this.$$replace=!1,this.$$path="",this.$$search="",this.$$hash="",this.$$changeListeners=[],this.cachedState=null,this.urlChanges=new h(1),this.lastBrowserUrl="",this.lastCachedState=null;const o=this.browserUrl();let n=this.urlCodec.parse(o);if("string"==typeof n)throw"Invalid URL";this.$$protocol=n.protocol,this.$$host=n.hostname,this.$$port=parseInt(n.port)||S[n.protocol]||null,this.$$parseLinkUrl(o,o),this.cacheState(),this.$$state=this.browserState(),this.location.onUrlChange(((t,e)=>{this.urlChanges.next({newUrl:t,newState:e})})),a(t)?t.then((t=>this.initialize(t))):this.initialize(t)}initialize(t){const e=t.get("$rootScope"),r=t.get("$rootElement");r.on("click",(t=>{if(t.ctrlKey||t.metaKey||t.shiftKey||2===t.which||2===t.button)return;let s=t.target;for(;s&&"a"!==s.nodeName.toLowerCase();)if(s===r[0]||!(s=s.parentNode))return;if(void 0===s.href)return;const i=s.href,a=s.getAttribute("href");w.test(i)||!i||s.getAttribute("target")||t.isDefaultPrevented()||this.$$parseLinkUrl(i,a)&&(t.preventDefault(),this.absUrl()!==this.browserUrl()&&e.$apply())})),this.urlChanges.subscribe((({newUrl:t,newState:r})=>{const s=this.absUrl(),i=this.$$state;this.$$parse(t),t=this.absUrl(),this.$$state=r;const a=e.$broadcast("$locationChangeStart",t,s,r,i).defaultPrevented;this.absUrl()===t&&(a?(this.$$parse(s),this.state(i),this.setBrowserUrlWithFallback(s,!1,i),this.$$notifyChangeListeners(this.url(),this.$$state,s,i)):(this.initializing=!1,e.$broadcast("$locationChangeSuccess",t,s,r,i),this.resetBrowserUpdate()),e.$$phase||e.$digest())})),e.$watch((()=>{if(this.initializing||this.updateBrowser){this.updateBrowser=!1;const t=this.browserUrl(),r=this.absUrl(),s=this.browserState();let i=this.$$replace;const a=!this.urlCodec.areEqual(t,r)||s!==this.$$state;(this.initializing||a)&&(this.initializing=!1,e.$evalAsync((()=>{const r=this.absUrl(),h=e.$broadcast("$locationChangeStart",r,t,this.$$state,s).defaultPrevented;this.absUrl()===r&&(h?(this.$$parse(t),this.$$state=s):(a&&(this.setBrowserUrlWithFallback(r,i,s===this.$$state?null:this.$$state),this.$$replace=!1),e.$broadcast("$locationChangeSuccess",r,t,this.$$state,s),a&&this.$$notifyChangeListeners(this.url(),this.$$state,t,s)))})))}this.$$replace=!1}))}resetBrowserUpdate(){this.$$replace=!1,this.$$state=this.browserState(),this.updateBrowser=!1,this.lastBrowserUrl=this.browserUrl()}browserUrl(t,e,r){if(void 0===r&&(r=null),t){let s=this.lastHistoryState===r;return t=this.urlCodec.parse(t).href,this.lastBrowserUrl===t&&s?this:(this.lastBrowserUrl=t,this.lastHistoryState=r,t=this.stripBaseUrl(this.getServerBase(),t)||t,e?this.locationStrategy.replaceState(r,"",t,""):this.locationStrategy.pushState(r,"",t,""),this.cacheState(),this)}return this.platformLocation.href}cacheState(){this.cachedState=this.platformLocation.getState(),void 0===this.cachedState&&(this.cachedState=null),function(t,e){if(t===e)return!0;if(!t||!e)return!1;try{return!(t.prototype!==e.prototype||Array.isArray(t)&&Array.isArray(e))&&JSON.stringify(t)===JSON.stringify(e)}catch(t){return!1}}(this.cachedState,this.lastCachedState)&&(this.cachedState=this.lastCachedState),this.lastCachedState=this.cachedState,this.lastHistoryState=this.cachedState}browserState(){return this.cachedState}stripBaseUrl(t,e){if(e.startsWith(t))return e.slice(t.length)}getServerBase(){const{protocol:t,hostname:e,port:r}=this.platformLocation;let s=`${t}//${e}${r?":"+r:""}${this.locationStrategy.getBaseHref()||"/"}`;return s.endsWith("/")?s:s+"/"}parseAppUrl(t){if(f.test(t))throw new Error(`Bad Path - URL cannot start with double slashes: ${t}`);let e="/"!==t.charAt(0);e&&(t="/"+t);let r=this.urlCodec.parse(t,this.getServerBase());if("string"==typeof r)throw new Error(`Bad URL - Cannot parse URL: ${t}`);let s=e&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname;this.$$path=this.urlCodec.decodePath(s),this.$$search=this.urlCodec.decodeSearch(r.search),this.$$hash=this.urlCodec.decodeHash(r.hash),this.$$path&&"/"!==this.$$path.charAt(0)&&(this.$$path="/"+this.$$path)}onChange(t,e=t=>{}){this.$$changeListeners.push([t,e])}$$notifyChangeListeners(t="",e,r="",s){this.$$changeListeners.forEach((([i,a])=>{try{i(t,e,r,s)}catch(t){a(t)}}))}$$parse(t){let e;if(e=t.startsWith("/")?t:this.stripBaseUrl(this.getServerBase(),t),void 0===e)throw new Error(`Invalid url "${t}", missing path prefix "${this.getServerBase()}".`);this.parseAppUrl(e),this.$$path||="/",this.composeUrls()}$$parseLinkUrl(t,e){if(e&&"#"===e[0])return this.hash(e.slice(1)),!0;let r,s=this.stripBaseUrl(this.getServerBase(),t);return void 0!==s?r=this.getServerBase()+s:this.getServerBase()===t+"/"&&(r=this.getServerBase()),r&&this.$$parse(r),!!r}setBrowserUrlWithFallback(t,e,r){const s=this.url(),i=this.$$state;try{this.browserUrl(t,e,r),this.$$state=this.browserState()}catch(t){throw this.url(s),this.$$state=i,t}}composeUrls(){this.$$url=this.urlCodec.normalize(this.$$path,this.$$search,this.$$hash),this.$$absUrl=this.getServerBase()+this.$$url.slice(1),this.updateBrowser=!0}absUrl(){return this.$$absUrl}url(t){if("string"==typeof t){t.length||(t="/");const e=g.exec(t);return e?((e[1]||""===t)&&this.path(this.urlCodec.decodePath(e[1])),(e[2]||e[1]||""===t)&&this.search(e[3]||""),this.hash(e[5]||""),this):this}return this.$$url}protocol(){return this.$$protocol}host(){return this.$$host}port(){return this.$$port}path(t){return void 0===t?this.$$path:(t="/"===(t=null!==t?t.toString():"").charAt(0)?t:"/"+t,this.$$path=t,this.composeUrls(),this)}search(t,e){switch(arguments.length){case 0:return this.$$search;case 1:if("string"==typeof t||"number"==typeof t)this.$$search=this.urlCodec.decodeSearch(t.toString());else{if("object"!=typeof t||null===t)throw new Error("LocationProvider.search(): First argument must be a string or an object.");t={...t};for(const e in t)null==t[e]&&delete t[e];this.$$search=t}break;default:if("string"==typeof t){const r=this.search();return null==e?(delete r[t],this.search(r)):(r[t]=e,this.search(r))}}return this.composeUrls(),this}hash(t){return void 0===t?this.$$hash:(this.$$hash=null!==t?t.toString():"",this.composeUrls(),this)}replace(){return this.$$replace=!0,this}state(t){return void 0===t?this.$$state:(this.$$state=t,this)}}class U{constructor(t,e,r,s,i){this.ngUpgrade=t,this.location=e,this.platformLocation=r,this.urlCodec=s,this.locationStrategy=i}$get(){return new m(this.ngUpgrade.$injector,this.location,this.platformLocation,this.urlCodec,this.locationStrategy)}hashPrefix(t){throw new Error("Configure LocationUpgrade through LocationUpgradeModule.config method.")}html5Mode(t){throw new Error("Configure LocationUpgrade through LocationUpgradeModule.config method.")}}class y{}class b{encodePath(t){const e=t.split("/");let r=e.length;for(;r--;)e[r]=B(e[r].replace(/%2F/g,"/"));return t=e.join("/"),((t&&"/"!==t[0]?"/":"")+t).replace(/\/index.html$/,"")}encodeSearch(t){return"string"==typeof t&&(t=v(t)),(t=function(t){const e=[];for(const r in t){let s=t[r];Array.isArray(s)?s.forEach((t=>{e.push(L(r,!0)+(!0===t?"":"="+L(t,!0)))})):e.push(L(r,!0)+(!0===s?"":"="+L(s,!0)))}return e.length?e.join("&"):""}(t))?"?"+t:""}encodeHash(t){return(t=B(t))?"#"+t:""}decodePath(t,e=!0){const r=t.split("/");let s=r.length;for(;s--;)r[s]=decodeURIComponent(r[s]),e&&(r[s]=r[s].replace(/\//g,"%2F"));return r.join("/")}decodeSearch(t){return v(t)}decodeHash(t){return"#"===(t=decodeURIComponent(t))[0]?t.substring(1):t}normalize(t,e,r,s){if(1===arguments.length){const e=this.parse(t,s);if("string"==typeof e)return e;const r=`${e.protocol}://${e.hostname}${e.port?":"+e.port:""}`;return this.normalize(this.decodePath(e.pathname),this.decodeSearch(e.search),this.decodeHash(e.hash),r)}{const i=this.encodePath(t),a=e&&this.encodeSearch(e)||"",h=r&&this.encodeHash(r)||"";let o=(s||"")+i;return o.length&&"/"===o[0]||(o="/"+o),o+a+h}}areEqual(t,e){return this.normalize(t)===this.normalize(e)}parse(t,e){try{const r=e?new URL(t,e):new URL(t);return{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}catch(r){throw new Error(`Invalid URL (${t}) with base (${e})`)}}}function C(t){try{return decodeURIComponent(t)}catch(t){return}}function v(t){const e={};return(t||"").split("&").forEach((t=>{let r,s,i;t&&(s=t=t.replace(/\+/g,"%20"),r=t.indexOf("="),-1!==r&&(s=t.substring(0,r),i=t.substring(r+1)),s=C(s),void 0!==s&&(i=void 0===i||C(i),e.hasOwnProperty(s)?Array.isArray(e[s])?e[s].push(i):e[s]=[e[s],i]:e[s]=i))})),e}function B(t){return L(t,!0).replace(/%26/g,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function L(t,e=!1){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,e?"%20":"+")}const A=new e(""),P=new e("");class z{static config(t){return{ngModule:z,providers:[o,{provide:m,useFactory:j,deps:[d,o,n,y,c]},{provide:A,useValue:t||{}},{provide:y,useFactory:H,deps:[A]},{provide:P,useFactory:E,deps:[A,[new r(l),new s]]},{provide:c,useFactory:R,deps:[n,P,A]}]}}static{this.ɵfac=function(t){return new(t||z)}}static{this.ɵmod=t.ɵɵdefineNgModule({type:z})}static{this.ɵinj=t.ɵɵdefineInjector({imports:[$]})}}function E(t,e){return t&&null!=t.appBaseHref?t.appBaseHref:null!=e?e:""}function H(t){return new(t&&t.urlCodec||b)}function R(t,e,r={}){return r.useHash?new p(t,e):new u(t,e)}function j(t,e,r,s,i){return new U(t,e,r,s,i).$get()}export{m as $locationShim,U as $locationShimProvider,b as AngularJSUrlCodec,A as LOCATION_UPGRADE_CONFIGURATION,z as LocationUpgradeModule,y as UrlCodec};
//# sourceMappingURL=angular-common-upgrade.min.js.map

@@ -1,4 +0,4 @@

/* esm-bundle - @angular/core/primitives/event-dispatch@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/core/primitives/event-dispatch@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/**
* @license Angular v18.2.10
* @license Angular v18.2.11
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -5,0 +5,0 @@ * License: MIT

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/core/primitives/event-dispatch@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/core/primitives/event-dispatch@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
const e={JSACTION:"jsaction"},t={JSACTION:"__jsaction",OWNER:"__owner"},n={};function o(e){return e[t.JSACTION]}function i(e){const t=o(e)??{};return r(e,t),t}function r(e,n){e[t.JSACTION]=n}const s="click",a="clickmod",c="mouseover",p="mouseout",l="mouseenter",u="mouseleave",h="pointerover",v="pointerout",d="pointerenter",f="pointerleave",E=[l,u,"pointerenter","pointerleave"],y=["focus","blur","error","load","toggle"],g=e=>y.indexOf(e)>=0,m=[s,"dblclick","focusin","focusout","keydown","keyup","keypress",c,p,"submit","touchstart","touchend","touchmove","touchcancel","auxclick","change","compositionstart","compositionupdate","compositionend","beforeinput","input","select","copy","cut","paste","mousedown","mouseup","wheel","contextmenu","dragover","dragenter","dragleave","drop","dragstart","dragend","pointerdown","pointermove","pointerup","pointercancel","pointerover","pointerout","gotpointercapture","lostpointercapture","ended","loadedmetadata","pagehide","pageshow","visibilitychange","beforematch"].concat(y),I=e=>m.indexOf(e)>=0;let T="undefined"!=typeof navigator&&/Macintosh/.test(navigator.userAgent);const A="undefined"!=typeof navigator&&/iPhone|iPad|iPod/.test(navigator.userAgent);class w{constructor(e){this.element=e,this.handlerInfos=[]}addEventListener(e,t){A&&(this.element.style.cursor="pointer"),this.handlerInfos.push(function(e,t,n){let o=!1;return g(t)&&(o=!0),e.addEventListener(t,n,o),{eventType:t,handler:n,capture:o}}(this.element,e,t(this.element)))}cleanUp(){for(let n=0;n<this.handlerInfos.length;n++)e=this.element,t=this.handlerInfos[n],e.removeEventListener?e.removeEventListener(t.eventType,t.handler,t.capture):e.detachEvent&&e.detachEvent(`on${t.eventType}`,t.handler);var e,t;this.handlerInfos=[]}}const S=":";function R(e){return e.eventType}function k(e,t){e.eventType=t}function _(e){return e.event}function C(e,t){e.event=t}function O(e){return e.targetElement}function b(e,t){e.targetElement=t}function M(e){return e.eic}function P(e){return e.eia}function D(e,t,n){e.eia=[t,n]}function N(e){e.eia=void 0}function j(e){return e[1]}function x(e,t){e.eirp=t}function L(e){return e.eir}function F(e,t){e.eir=t}function q(e){return{eventType:e.eventType,event:e.event,targetElement:e.targetElement,eic:e.eic,eia:e.eia,timeStamp:e.timeStamp,eirp:e.eirp,eiack:e.eiack,eir:e.eir}}function W(e,t,n,o,i,r,s,a){return{eventType:e,event:t,targetElement:n,eic:o,timeStamp:i,eia:r,eirp:s,eiack:a}}class H{constructor(e){this.eventInfo=e}getEventType(){return R(this.eventInfo)}setEventType(e){k(this.eventInfo,e)}getEvent(){return _(this.eventInfo)}setEvent(e){C(this.eventInfo,e)}getTargetElement(){return O(this.eventInfo)}setTargetElement(e){b(this.eventInfo,e)}getContainer(){return M(this.eventInfo)}setContainer(e){!function(e,t){e.eic=t}(this.eventInfo,e)}getTimestamp(){return this.eventInfo.timeStamp}setTimestamp(e){!function(e,t){e.timeStamp=t}(this.eventInfo,e)}getAction(){const e=P(this.eventInfo);if(e)return{name:e[0],element:e[1]}}setAction(e){e?D(this.eventInfo,e.name,e.element):N(this.eventInfo)}getIsReplay(){return this.eventInfo.eirp}setIsReplay(e){x(this.eventInfo,e)}getResolved(){return L(this.eventInfo)}setResolved(e){F(this.eventInfo,e)}clone(){return new H(q(this.eventInfo))}}const J={},U=/\s*;\s*/,K=s;class B{constructor({syntheticMouseEventSupport:e=!1,clickModSupport:t=!0}={}){this.a11yClickSupport=!1,this.clickModSupport=!0,this.updateEventInfoForA11yClick=void 0,this.preventDefaultForA11yClick=void 0,this.populateClickOnlyAction=void 0,this.syntheticMouseEventSupport=e,this.clickModSupport=t}resolveEventType(e){var t;this.clickModSupport&&R(e)===s&&(t=_(e),T&&t.metaKey||!T&&t.ctrlKey||function(e){return 2===e.which||null==e.which&&4===e.button}(t)||t.shiftKey)?k(e,a):this.a11yClickSupport&&this.updateEventInfoForA11yClick(e)}resolveAction(e){L(e)||(this.populateAction(e,O(e)),F(e,!0))}resolveParentAction(e){const t=P(e),n=t&&j(t);N(e);const o=n&&this.getParentNode(n);o&&this.populateAction(e,o)}populateAction(e,t){let n=t;for(;n&&n!==M(e)&&(n.nodeType===Node.ELEMENT_NODE&&this.populateActionOnElement(n,e),!P(e));)n=this.getParentNode(n);const o=P(e);if(o&&(this.a11yClickSupport&&this.preventDefaultForA11yClick(e),this.syntheticMouseEventSupport&&(R(e)===l||R(e)===u||R(e)===d||R(e)===f)))if(function(e,t,n){const o=e.relatedTarget;return(e.type===c&&t===l||e.type===p&&t===u||e.type===h&&t===d||e.type===v&&t===f)&&(!o||o!==n&&!n.contains(o))}(_(e),R(e),j(o))){C(e,function(e,t){const n={};for(const t in e){if("srcElement"===t||"target"===t)continue;const o=t,i=e[o];"function"!=typeof i&&(n[o]=i)}return e.type===c?n.type=l:e.type===p?n.type=u:e.type===h?n.type=d:n.type=f,n.target=n.srcElement=t,n.bubbles=!1,n}(_(e),j(o))),b(e,j(o))}else N(e)}getParentNode(e){const n=e[t.OWNER];if(n)return n;const o=e.parentNode;return"#document-fragment"===o?.nodeName?o?.host??null:o}populateActionOnElement(e,t){const n=this.parseActions(e),o=n[R(t)];void 0!==o&&D(t,o,e),this.a11yClickSupport&&this.populateClickOnlyAction(e,t,n)}parseActions(t){let i=o(t);if(!i){const o=t.getAttribute(e.JSACTION);if(o){if(i=n[o],!i){i={};const e=o.split(U);for(let t=0;t<e.length;t++){const n=e[t];if(!n)continue;const o=n.indexOf(S),r=-1!==o,s=r?n.substr(0,o).trim():K,a=r?n.substr(o+1).trim():n;i[s]=a}!function(e,t){n[e]=t}(o,i)}r(t,i)}else i=J,r(t,i)}return i}addA11yClickSupport(e,t,n){this.a11yClickSupport=!0,this.updateEventInfoForA11yClick=e,this.preventDefaultForA11yClick=t,this.populateClickOnlyAction=n}}var Y;!function(e){e[e.I_AM_THE_JSACTION_FRAMEWORK=0]="I_AM_THE_JSACTION_FRAMEWORK"}(Y||(Y={}));class V{constructor(e,{actionResolver:t,eventReplayer:n}={}){this.dispatchDelegate=e,this.eventReplayScheduled=!1,this.replayEventInfoWrappers=[],this.actionResolver=t,this.eventReplayer=n}dispatch(e){const t=new H(e);this.actionResolver?.resolveEventType(e),this.actionResolver?.resolveAction(e);const n=t.getAction();var o;n&&function(e,t){return"A"===e.tagName&&(t.getEventType()===s||t.getEventType()===a)}(n.element,t)&&((o=t.getEvent()).preventDefault?o.preventDefault():o.returnValue=!1),this.eventReplayer&&t.getIsReplay()?this.scheduleEventInfoWrapperReplay(t):this.dispatchDelegate(t)}scheduleEventInfoWrapperReplay(e){this.replayEventInfoWrappers.push(e),this.eventReplayScheduled||(this.eventReplayScheduled=!0,Promise.resolve().then((()=>{this.eventReplayScheduled=!1,this.eventReplayer(this.replayEventInfoWrappers)})))}}const $=Symbol.for("propagationStopped"),z={REPLAY:101},G="`preventDefault` called during event replay.",Q="`composedPath` called during event replay.";class X{constructor(e,t=!0){this.dispatchDelegate=e,this.clickModSupport=t,this.actionResolver=new B({clickModSupport:t}),this.dispatcher=new V((e=>{this.dispatchToDelegate(e)}),{actionResolver:this.actionResolver})}dispatch(e){this.dispatcher.dispatch(e)}dispatchToDelegate(e){for(e.getIsReplay()&&function(e){const t=e.getEvent(),n=e.getTargetElement(),o=t.preventDefault.bind(t);te(t,"target",n),te(t,"eventPhase",z.REPLAY),te(t,"preventDefault",(()=>{throw o(),new Error(G+"")})),te(t,"composedPath",(()=>{throw new Error(Q+"")}))}(e),function(e){const t=e.getEvent(),n=e.getEvent().stopPropagation.bind(t),o=()=>{t[$]=!0,n()};te(t,"stopPropagation",o),te(t,"stopImmediatePropagation",o)}(e);e.getAction();){if(ee(e),g(e.getEventType())&&e.getAction().element!==e.getTargetElement())return;if(this.dispatchDelegate(e.getEvent(),e.getAction().name),Z(e))return;this.actionResolver.resolveParentAction(e.eventInfo)}}}function Z(e){return!!e.getEvent()[$]}function ee(e){const t=e.getEvent(),n=e.getAction()?.element;n&&te(t,"currentTarget",n,{configurable:!0})}function te(e,t,n,{configurable:o=!1}={}){Object.defineProperty(e,t,{value:n,configurable:o})}function ne(e,t){e.ecrd((e=>{t.dispatch(e)}),Y.I_AM_THE_JSACTION_FRAMEWORK)}function oe(e,t,n){for(let o=0;o<t.length;o++){const i=t[o];(n?e.etc:e.et).push(i),e.c.addEventListener(i,e.h,n)}}function ie(e){e&&(re(e.c,e.et,e.h),re(e.c,e.etc,e.h,!0))}function re(e,t,n,o){for(let i=0;i<t.length;i++)e.removeEventListener(t[i],n,o)}class se{static{this.MOUSE_SPECIAL_SUPPORT=false}constructor(e){this.eventHandlers={},this.browserEventTypeToExtraEventTypes={},this.dispatcher=null,this.queuedEventInfos=[],this.containerManager=e}handleEvent(e,t,n){const o=W(e,t,t.target,n,Date.now());this.handleEventInfo(o)}handleEventInfo(e){if(!this.dispatcher)return x(e,!0),void this.queuedEventInfos?.push(e);this.dispatcher(e)}addEvent(e,t){if(e in this.eventHandlers||!this.containerManager)return;if(!se.MOUSE_SPECIAL_SUPPORT&&E.indexOf(e)>=0)return;const n=(e,t,n)=>{this.handleEvent(e,t,n)};this.eventHandlers[e]=n;const o=function(e){return e===l?c:e===u?p:e===d?h:e===f?v:e}(t||e);if(o!==e){const t=this.browserEventTypeToExtraEventTypes[o]||[];t.push(e),this.browserEventTypeToExtraEventTypes[o]=t}this.containerManager.addEventListener(o,(t=>o=>{n(e,o,t)}))}replayEarlyEvents(e=window._ejsa){e&&(this.replayEarlyEventInfos(e.q),ie(e),delete window._ejsa)}replayEarlyEventInfos(e){for(let t=0;t<e.length;t++){const n=e[t],o=this.getEventTypesForBrowserEventType(n.eventType);for(let e=0;e<o.length;e++){const t=q(n);k(t,o[e]),this.handleEventInfo(t)}}}getEventTypesForBrowserEventType(e){const t=[];return this.eventHandlers[e]&&t.push(e),this.browserEventTypeToExtraEventTypes[e]&&t.push(...this.browserEventTypeToExtraEventTypes[e]),t}handler(e){return this.eventHandlers[e]}cleanUp(){this.containerManager.cleanUp(),this.containerManager=null,this.eventHandlers={},this.browserEventTypeToExtraEventTypes={},this.dispatcher=null,this.queuedEventInfos=[]}registerDispatcher(e,t){this.ecrd(e,t)}ecrd(e,t){if(this.dispatcher=e,this.queuedEventInfos?.length){for(let e=0;e<this.queuedEventInfos.length;e++)this.handleEventInfo(this.queuedEventInfos[e]);this.queuedEventInfos=null}}}function ae(e,t,n,o,i=window){const r=function(e){const t=[],n=e=>{t.push(e)};return{c:e,q:t,et:[],etc:[],d:n,h:t=>{n(W(t.type,t,t.target,e,Date.now()))}}}(e);i._ejsas||(i._ejsas={}),i._ejsas[t]=r,oe(r,n),oe(r,o,!0)}function ce(e,t=window){return n=t._ejsas?.[e],n?.q??[];var n}function pe(e,t,n,o=window){!function(e,t){e&&(e.d=t)}(o._ejsas?.[t],n)}function le(e,t=window){ie(t._ejsas?.[e])}function ue(e,t=window){t._ejsas&&(t._ejsas[e]=void 0)}export{e as Attribute,se as EventContract,w as EventContractContainer,X as EventDispatcher,H as EventInfoWrapper,z as EventPhase,ae as bootstrapAppScopedEarlyEventContract,ue as clearAppScopedEarlyEventContract,i as getActionCache,ce as getAppScopedQueuedEventInfos,g as isCaptureEventType,I as isEarlyEventType,pe as registerAppScopedDispatcher,ne as registerDispatcher,le as removeAllAppScopedEventListeners};
//# sourceMappingURL=angular-core-primitives-event-dispatch.min.js.map

@@ -1,4 +0,4 @@

/* esm-bundle - @angular/core/primitives/signals@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/core/primitives/signals@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/**
* @license Angular v18.2.10
* @license Angular v18.2.11
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -5,0 +5,0 @@ * License: MIT

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/core/primitives/signals@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/core/primitives/signals@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
function e(e,n){return Object.is(e,n)}let n=null,r=!1,o=1;const u=Symbol("SIGNAL");function t(e){const r=n;return n=e,r}function c(){return n}function i(){return r}function d(e){return void 0!==e[u]}const l={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 s(e){if(r)throw new Error("");if(null===n)return;n.consumerOnSignalRead(e);const o=n.nextProducerIndex++;if(g(n),o<n.producerNode.length&&n.producerNode[o]!==e&&O(n)){C(n.producerNode[o],n.producerIndexOfThis[o])}n.producerNode[o]!==e&&(n.producerNode[o]=e,n.producerIndexOfThis[o]=O(n)?I(e,n,o):0),n.producerLastReadVersion[o]=e.version}function f(){o++}function a(e){if((!O(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==o)){if(!e.producerMustRecompute(e)&&!x(e))return e.dirty=!1,void(e.lastCleanEpoch=o);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=o}}function p(e){if(void 0===e.liveConsumerNode)return;const n=r;r=!0;try{for(const n of e.liveConsumerNode)n.dirty||v(n)}finally{r=n}}function h(){return!1!==n?.consumerAllowSignalWrites}function v(e){e.dirty=!0,p(e),e.consumerMarkedDirty?.(e)}function m(e){return e&&(e.nextProducerIndex=0),t(e)}function N(e,n){if(t(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(O(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)C(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function x(e){g(e);for(let n=0;n<e.producerNode.length;n++){const r=e.producerNode[n],o=e.producerLastReadVersion[n];if(o!==r.version)return!0;if(a(r),o!==r.version)return!0}return!1}function y(e){if(g(e),O(e))for(let n=0;n<e.producerNode.length;n++)C(e.producerNode[n],e.producerIndexOfThis[n]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function I(e,n,r){if(T(e),0===e.liveConsumerNode.length&&R(e))for(let n=0;n<e.producerNode.length;n++)e.producerIndexOfThis[n]=I(e.producerNode[n],e,n);return e.liveConsumerIndexOfThis.push(r),e.liveConsumerNode.push(n)-1}function C(e,n){if(T(e),1===e.liveConsumerNode.length&&R(e))for(let n=0;n<e.producerNode.length;n++)C(e.producerNode[n],e.producerIndexOfThis[n]);const r=e.liveConsumerNode.length-1;if(e.liveConsumerNode[n]=e.liveConsumerNode[r],e.liveConsumerIndexOfThis[n]=e.liveConsumerIndexOfThis[r],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,n<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[n],o=e.liveConsumerNode[n];g(o),o.producerIndexOfThis[r]=n}}function O(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function g(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function T(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function R(e){return void 0!==e.producerNode}function w(e){const n=Object.create(V);n.computation=e;const r=()=>{if(a(n),s(n),n.value===L)throw n.error;return n.value};return r[u]=n,r}const S=Symbol("UNSET"),E=Symbol("COMPUTING"),L=Symbol("ERRORED"),V=(()=>({...l,value:S,dirty:!0,error:null,equal:e,producerMustRecompute:e=>e.value===S||e.value===E,producerRecomputeValue(e){if(e.value===E)throw new Error("Detected cycle in computations.");const n=e.value;e.value=E;const r=m(e);let o;try{o=e.computation()}catch(n){o=L,e.error=n}finally{N(e,r)}n!==S&&n!==L&&o!==L&&e.equal(n,o)?e.value=n:(e.value=o,e.version++)}}))();let b=function(){throw new Error};function A(){b()}function F(e){b=e}let M=null;function P(e){const n=Object.create(k);n.value=e;const r=()=>(s(n),n.value);return r[u]=n,r}function D(e){const n=M;return M=e,n}function j(e,n){h()||A(),e.equal(e.value,n)||(e.value=n,function(e){e.version++,f(),p(e),M?.()}(e))}function q(e,n){h()||A(),j(e,n(e.value))}function W(){M?.()}const k=(()=>({...l,equal:e,value:void 0}))();function G(e,n,r){const o=Object.create(z);r&&(o.consumerAllowSignalWrites=!0),o.fn=e,o.schedule=n;const t=e=>{o.cleanupFn=e};return o.ref={notify:()=>v(o),run:()=>{if(null===o.fn)return;if(i())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(o.dirty=!1,o.hasRun&&!x(o))return;o.hasRun=!0;const e=m(o);try{o.cleanupFn(),o.cleanupFn=U,o.fn(t)}finally{N(o,e)}},cleanup:()=>o.cleanupFn(),destroy:()=>function(e){(function(e){return null===e.fn&&null===e.schedule})(e)||(y(e),e.cleanupFn(),e.fn=null,e.schedule=null,e.cleanupFn=U)}(o),[u]:o},o.ref}const U=()=>{},z=(()=>({...l,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:U}))();function B(e){}export{l as REACTIVE_NODE,u as SIGNAL,k as SIGNAL_NODE,N as consumerAfterComputation,m as consumerBeforeComputation,y as consumerDestroy,v as consumerMarkDirty,x as consumerPollProducersForChange,w as createComputed,P as createSignal,G as createWatch,e as defaultEquals,c as getActiveConsumer,i as isInNotificationPhase,d as isReactive,s as producerAccessed,f as producerIncrementEpoch,p as producerNotifyConsumers,a as producerUpdateValueVersion,h as producerUpdatesAllowed,W as runPostSignalSetFn,t as setActiveConsumer,B as setAlternateWeakRefImpl,D as setPostSignalSetFn,F as setThrowInvalidWriteToSignalError,j as signalSetFn,q as signalUpdateFn};
//# sourceMappingURL=angular-core-primitives-signals.min.js.map

@@ -1,2 +0,2 @@

/* esm-bundle - @angular/core/rxjs-interop@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/core/rxjs-interop@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import { assertInInjectionContext, inject, DestroyRef, ɵgetOutputDestroyRef as _getOutputDestroyRef, Injector, effect, untracked, assertNotInReactiveContext, signal, ɵRuntimeError as _RuntimeError, computed } from '@angular/core';

@@ -7,3 +7,3 @@ import { Observable, ReplaySubject } from 'rxjs';

/**
* @license Angular v18.2.10
* @license Angular v18.2.11
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -10,0 +10,0 @@ * License: MIT

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/core/rxjs-interop@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/core/rxjs-interop@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import{assertInInjectionContext as e,inject as r,DestroyRef as t,ɵgetOutputDestroyRef as n,Injector as o,effect as s,untracked as i,assertNotInReactiveContext as u,signal as c,ɵRuntimeError as a,computed as l}from"@angular/core";import{Observable as b,ReplaySubject as d}from"rxjs";import{takeUntil as f}from"rxjs/operators";function y(n){n||(e(y),n=r(t));const o=new b((e=>n.onDestroy(e.next.bind(e))));return e=>e.pipe(f(o))}class h{constructor(e){this.source=e,this.destroyed=!1,this.destroyRef=r(t),this.destroyRef.onDestroy((()=>{this.destroyed=!0}))}subscribe(e){if(this.destroyed)throw new a(953,!1);const r=this.source.pipe(y(this.destroyRef)).subscribe({next:r=>e(r)});return{unsubscribe:()=>r.unsubscribe()}}}function p(e,r){return new h(e)}function w(e){const r=n(e);return new b((t=>{r?.onDestroy((()=>t.complete()));const n=e.subscribe((e=>t.next(e)));return()=>n.unsubscribe()}))}function m(n,u){!u?.injector&&e(m);const c=u?.injector??r(o),a=new d(1),l=s((()=>{let e;try{e=n()}catch(e){return void i((()=>a.error(e)))}i((()=>a.next(e)))}),{injector:c,manualCleanup:!0});return c.get(t).onDestroy((()=>{l.destroy(),a.complete()})),a.asObservable()}function j(n,o){const s=!o?.manualCleanup;s&&!o?.injector&&e(j);const i=s?o?.injector?.get(t)??r(t):null,u=function(e=Object.is){return(r,t)=>1===r.kind&&1===t.kind&&e(r.value,t.value)}(o?.equal);let b;b=c(o?.requireSync?{kind:0}:{kind:1,value:o?.initialValue},{equal:u});const d=n.subscribe({next:e=>b.set({kind:1,value:e}),error:e=>{if(o?.rejectErrors)throw e;b.set({kind:2,error:e})}});if(o?.requireSync&&0===b().kind)throw new a(601,!1);return i?.onDestroy(d.unsubscribe.bind(d)),l((()=>{const e=b();switch(e.kind){case 1:return e.value;case 2:throw e.error;case 0:throw new a(601,!1)}}),{equal:o?.equal})}export{p as outputFromObservable,w as outputToObservable,y as takeUntilDestroyed,m as toObservable,j as toSignal};
//# sourceMappingURL=angular-core-rxjs-interop.min.js.map

@@ -1,2 +0,2 @@

/* esm-bundle - @angular/elements@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/elements@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import { Version, ComponentFactoryResolver, NgZone, Injector, ChangeDetectorRef, ApplicationRef, SimpleChange } from '@angular/core';

@@ -7,3 +7,3 @@ import { ReplaySubject, merge } from 'rxjs';

/**
* @license Angular v18.2.10
* @license Angular v18.2.11
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -532,5 +532,5 @@ * License: MIT

*/
const VERSION = new Version('18.2.10');
const VERSION = new Version('18.2.11');
export { NgElement, VERSION, createCustomElement };
//# sourceMappingURL=angular-elements.js.map

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/elements@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import{Version as e,ComponentFactoryResolver as t,NgZone as n,Injector as s,ChangeDetectorRef as i,ApplicationRef as o,SimpleChange as h}from"@angular/core";import{ReplaySubject as r,merge as c}from"rxjs";import{switchMap as a,map as u}from"rxjs/operators";const l={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)},scheduleBeforeRender(e){if("undefined"==typeof window)return l.schedule(e,0);if(void 0===window.requestAnimationFrame){const t=16;return l.schedule(e,t)}const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};let p;function m(e,t,n){let s=n;return function(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some(((t,n)=>!("*"===t||!function(e,t){if(!p){const e=Element.prototype;p=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&p.call(e,t)}(e,t))&&(s=n,!0))),s}class g{constructor(e,n){this.componentFactory=n.get(t).resolveComponentFactory(e)}create(e){return new d(this.componentFactory,e)}}class d{constructor(e,t){this.componentFactory=e,this.injector=t,this.eventEmitters=new r(1),this.events=this.eventEmitters.pipe(a((e=>c(...e)))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map((({propName:e})=>e))),this.ngZone=this.injector.get(n),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run((()=>Zone.current))}connect(e){this.runInZone((()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(e)}))}disconnect(){this.runInZone((()=>{null!==this.componentRef&&null===this.scheduledDestroyFn&&(this.scheduledDestroyFn=l.schedule((()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)}),10))}))}getInputValue(e){return this.runInZone((()=>null===this.componentRef?this.initialInputValues.get(e):this.componentRef.instance[e]))}setInputValue(e,t,n){this.runInZone((()=>{var s,i;(n&&(t=n.call(this.componentRef?.instance,t)),null!==this.componentRef)?(s=t,i=this.getInputValue(e),(s!==i&&(s==s||i==i)||void 0===t&&this.unchangedInputs.has(e))&&(this.recordInputChange(e,t),this.unchangedInputs.delete(e),this.hasInputChanges=!0,this.componentRef.instance[e]=t,this.scheduleDetectChanges())):this.initialInputValues.set(e,t)}))}initializeComponent(e){const t=s.create({providers:[],parent:this.injector}),n=function(e,t){const n=e.childNodes,s=t.map((()=>[]));let i=-1;t.some(((e,t)=>"*"===e&&(i=t,!0)));for(let e=0,o=n.length;e<o;++e){const o=n[e],h=m(o,t,i);-1!==h&&s[h].push(o)}return s}(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,n,e),this.viewChangeDetectorRef=this.componentRef.injector.get(i),this.implementsOnChanges="function"==typeof this.componentRef.instance.ngOnChanges,this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges();this.injector.get(o).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach((({propName:e,transform:t})=>{this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e),t)})),this.initialInputValues.clear()}initializeOutputs(e){const t=this.componentFactory.outputs.map((({propName:t,templateName:n})=>e.instance[t].pipe(u((e=>({name:n,value:e}))))));this.eventEmitters.next(t)}callNgOnChanges(e){if(!this.implementsOnChanges||null===this.inputChanges)return;const t=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(t)}markViewForCheck(e){this.hasInputChanges&&(this.hasInputChanges=!1,e.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=l.scheduleBeforeRender((()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()})))}recordInputChange(e,t){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const n=this.inputChanges[e];if(n)return void(n.currentValue=t);const s=this.unchangedInputs.has(e),i=s?void 0:this.getInputValue(e);this.inputChanges[e]=new h(i,t,s)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}}class f extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function C(e,n){const s=function(e,n){return n.get(t).resolveComponentFactory(e).inputs}(e,n.injector),i=n.strategyFactory||new g(e,n.injector),o=function(e){const t={};return e.forEach((({propName:e,templateName:n,transform:s})=>{var i;t[(i=n,i.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)))]=[e,s]})),t}(s);class h extends f{static{this.observedAttributes=Object.keys(o)}get ngElementStrategy(){if(!this._ngElementStrategy){const e=this._ngElementStrategy=i.create(this.injector||n.injector);s.forEach((({propName:t,transform:n})=>{if(!this.hasOwnProperty(t))return;const s=this[t];delete this[t],e.setInputValue(t,s,n)}))}return this._ngElementStrategy}constructor(e){super(),this.injector=e}attributeChangedCallback(e,t,n,s){const[i,h]=o[e];this.ngElementStrategy.setInputValue(i,n,h)}connectedCallback(){let e=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),e=!0),this.ngElementStrategy.connect(this),e||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe((e=>{const t=new CustomEvent(e.name,{detail:e.value});this.dispatchEvent(t)}))}}return s.forEach((({propName:e,transform:t})=>{Object.defineProperty(h.prototype,e,{get(){return this.ngElementStrategy.getInputValue(e)},set(n){this.ngElementStrategy.setInputValue(e,n,t)},configurable:!0,enumerable:!0})})),h}const E=new e("18.2.10");export{f as NgElement,E as VERSION,C as createCustomElement};
/* esm-bundle - @angular/elements@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import{Version as e,ComponentFactoryResolver as t,NgZone as n,Injector as s,ChangeDetectorRef as i,ApplicationRef as o,SimpleChange as h}from"@angular/core";import{ReplaySubject as r,merge as c}from"rxjs";import{switchMap as a,map as u}from"rxjs/operators";const l={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)},scheduleBeforeRender(e){if("undefined"==typeof window)return l.schedule(e,0);if(void 0===window.requestAnimationFrame){const t=16;return l.schedule(e,t)}const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};let p;function m(e,t,n){let s=n;return function(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some(((t,n)=>!("*"===t||!function(e,t){if(!p){const e=Element.prototype;p=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&p.call(e,t)}(e,t))&&(s=n,!0))),s}class g{constructor(e,n){this.componentFactory=n.get(t).resolveComponentFactory(e)}create(e){return new d(this.componentFactory,e)}}class d{constructor(e,t){this.componentFactory=e,this.injector=t,this.eventEmitters=new r(1),this.events=this.eventEmitters.pipe(a((e=>c(...e)))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map((({propName:e})=>e))),this.ngZone=this.injector.get(n),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run((()=>Zone.current))}connect(e){this.runInZone((()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(e)}))}disconnect(){this.runInZone((()=>{null!==this.componentRef&&null===this.scheduledDestroyFn&&(this.scheduledDestroyFn=l.schedule((()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)}),10))}))}getInputValue(e){return this.runInZone((()=>null===this.componentRef?this.initialInputValues.get(e):this.componentRef.instance[e]))}setInputValue(e,t,n){this.runInZone((()=>{var s,i;(n&&(t=n.call(this.componentRef?.instance,t)),null!==this.componentRef)?(s=t,i=this.getInputValue(e),(s!==i&&(s==s||i==i)||void 0===t&&this.unchangedInputs.has(e))&&(this.recordInputChange(e,t),this.unchangedInputs.delete(e),this.hasInputChanges=!0,this.componentRef.instance[e]=t,this.scheduleDetectChanges())):this.initialInputValues.set(e,t)}))}initializeComponent(e){const t=s.create({providers:[],parent:this.injector}),n=function(e,t){const n=e.childNodes,s=t.map((()=>[]));let i=-1;t.some(((e,t)=>"*"===e&&(i=t,!0)));for(let e=0,o=n.length;e<o;++e){const o=n[e],h=m(o,t,i);-1!==h&&s[h].push(o)}return s}(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,n,e),this.viewChangeDetectorRef=this.componentRef.injector.get(i),this.implementsOnChanges="function"==typeof this.componentRef.instance.ngOnChanges,this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges();this.injector.get(o).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach((({propName:e,transform:t})=>{this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e),t)})),this.initialInputValues.clear()}initializeOutputs(e){const t=this.componentFactory.outputs.map((({propName:t,templateName:n})=>e.instance[t].pipe(u((e=>({name:n,value:e}))))));this.eventEmitters.next(t)}callNgOnChanges(e){if(!this.implementsOnChanges||null===this.inputChanges)return;const t=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(t)}markViewForCheck(e){this.hasInputChanges&&(this.hasInputChanges=!1,e.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=l.scheduleBeforeRender((()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()})))}recordInputChange(e,t){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const n=this.inputChanges[e];if(n)return void(n.currentValue=t);const s=this.unchangedInputs.has(e),i=s?void 0:this.getInputValue(e);this.inputChanges[e]=new h(i,t,s)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}}class f extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function C(e,n){const s=function(e,n){return n.get(t).resolveComponentFactory(e).inputs}(e,n.injector),i=n.strategyFactory||new g(e,n.injector),o=function(e){const t={};return e.forEach((({propName:e,templateName:n,transform:s})=>{var i;t[(i=n,i.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)))]=[e,s]})),t}(s);class h extends f{static{this.observedAttributes=Object.keys(o)}get ngElementStrategy(){if(!this._ngElementStrategy){const e=this._ngElementStrategy=i.create(this.injector||n.injector);s.forEach((({propName:t,transform:n})=>{if(!this.hasOwnProperty(t))return;const s=this[t];delete this[t],e.setInputValue(t,s,n)}))}return this._ngElementStrategy}constructor(e){super(),this.injector=e}attributeChangedCallback(e,t,n,s){const[i,h]=o[e];this.ngElementStrategy.setInputValue(i,n,h)}connectedCallback(){let e=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),e=!0),this.ngElementStrategy.connect(this),e||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe((e=>{const t=new CustomEvent(e.name,{detail:e.value});this.dispatchEvent(t)}))}}return s.forEach((({propName:e,transform:t})=>{Object.defineProperty(h.prototype,e,{get(){return this.ngElementStrategy.getInputValue(e)},set(n){this.ngElementStrategy.setInputValue(e,n,t)},configurable:!0,enumerable:!0})})),h}const E=new e("18.2.11");export{f as NgElement,E as VERSION,C as createCustomElement};
//# sourceMappingURL=angular-elements.min.js.map

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/forms@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import*as t from"@angular/core";import{Directive as e,InjectionToken as i,forwardRef as n,Optional as s,Inject as r,Self as o,untracked as a,computed as l,signal as h,EventEmitter as u,Input as c,Host as d,SkipSelf as p,booleanAttribute as g,ChangeDetectorRef as m,Output as f,Injectable as _,inject as v,ɵRuntimeError as y,NgModule as C,Version as V,ɵisPromise as b,ɵisSubscribable as D}from"@angular/core";import{ɵgetDOM as A}from"@angular/common";import{forkJoin as E,Subject as w,from as F}from"rxjs";import{map as I}from"rxjs/operators";class O{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}setProperty(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static{this.ɵfac=function(e){return new(e||O)(t.ɵɵdirectiveInject(t.Renderer2),t.ɵɵdirectiveInject(t.ElementRef))}}static{this.ɵdir=t.ɵɵdefineDirective({type:O})}}class S extends O{static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(S)))(i||S)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:S,features:[t.ɵɵInheritDefinitionFeature]})}}const x=new i(""),P={provide:x,useExisting:n((()=>M)),multi:!0};class M extends S{writeValue(t){this.setProperty("checked",t)}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(M)))(i||M)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:M,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,i){1&e&&t.ɵɵlistener("change",(function(t){return i.onChange(t.target.checked)}))("blur",(function(){return i.onTouched()}))},features:[t.ɵɵProvidersFeature([P]),t.ɵɵInheritDefinitionFeature]})}}const k={provide:x,useExisting:n((()=>N)),multi:!0};const j=new i("");class N extends O{constructor(t,e,i){super(t,e),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=A()?A().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){const e=null==t?"":t;this.setProperty("value",e)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static{this.ɵfac=function(e){return new(e||N)(t.ɵɵdirectiveInject(t.Renderer2),t.ɵɵdirectiveInject(t.ElementRef),t.ɵɵdirectiveInject(j,8))}}static{this.ɵdir=t.ɵɵdefineDirective({type:N,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,i){1&e&&t.ɵɵlistener("input",(function(t){return i._handleInput(t.target.value)}))("blur",(function(){return i.onTouched()}))("compositionstart",(function(){return i._compositionStart()}))("compositionend",(function(t){return i._compositionEnd(t.target.value)}))},features:[t.ɵɵProvidersFeature([k]),t.ɵɵInheritDefinitionFeature]})}}function T(t){return null==t||("string"==typeof t||Array.isArray(t))&&0===t.length}function R(t){return null!=t&&"number"==typeof t.length}const U=new i(""),G=new i(""),B=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class W{static min(t){return q(t)}static max(t){return z(t)}static required(t){return $(t)}static requiredTrue(t){return L(t)}static email(t){return Z(t)}static minLength(t){return H(t)}static maxLength(t){return J(t)}static pattern(t){return K(t)}static nullValidator(t){return null}static compose(t){return nt(t)}static composeAsync(t){return rt(t)}}function q(t){return e=>{if(T(e.value)||T(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i<t?{min:{min:t,actual:e.value}}:null}}function z(t){return e=>{if(T(e.value)||T(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i>t?{max:{max:t,actual:e.value}}:null}}function $(t){return T(t.value)?{required:!0}:null}function L(t){return!0===t.value?null:{required:!0}}function Z(t){return T(t.value)||B.test(t.value)?null:{email:!0}}function H(t){return e=>T(e.value)||!R(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}function J(t){return e=>R(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function K(t){if(!t)return Q;let e,i;return"string"==typeof t?(i="","^"!==t.charAt(0)&&(i+="^"),i+=t,"$"!==t.charAt(t.length-1)&&(i+="$"),e=new RegExp(i)):(i=t.toString(),e=t),t=>{if(T(t.value))return null;const n=t.value;return e.test(n)?null:{pattern:{requiredPattern:i,actualValue:n}}}}function Q(t){return null}function X(t){return null!=t}function Y(t){const e=b(t)?F(t):t;return e}function tt(t){let e={};return t.forEach((t=>{e=null!=t?{...e,...t}:e})),0===Object.keys(e).length?null:e}function et(t,e){return e.map((e=>e(t)))}function it(t){return t.map((t=>function(t){return!t.validate}(t)?t:e=>t.validate(e)))}function nt(t){if(!t)return null;const e=t.filter(X);return 0==e.length?null:function(t){return tt(et(t,e))}}function st(t){return null!=t?nt(it(t)):null}function rt(t){if(!t)return null;const e=t.filter(X);return 0==e.length?null:function(t){const i=et(t,e).map(Y);return E(i).pipe(I(tt))}}function ot(t){return null!=t?rt(it(t)):null}function at(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function lt(t){return t._rawValidators}function ht(t){return t._rawAsyncValidators}function ut(t){return t?Array.isArray(t)?t:[t]:[]}function ct(t,e){return Array.isArray(t)?t.includes(e):t===e}function dt(t,e){const i=ut(e);return ut(t).forEach((t=>{ct(i,t)||i.push(t)})),i}function pt(t,e){return ut(e).filter((e=>!ct(t,e)))}class gt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=st(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=ot(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach((t=>t())),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class mt extends gt{get formDirective(){return null}get path(){return null}}class ft extends gt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class _t{constructor(t){this._cd=t}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}}const vt={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"};class yt extends _t{constructor(t){super(t)}static{this.ɵfac=function(e){return new(e||yt)(t.ɵɵdirectiveInject(ft,2))}}static{this.ɵdir=t.ɵɵdefineDirective({type:yt,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&t.ɵɵclassProp("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[t.ɵɵInheritDefinitionFeature]})}}class Ct extends _t{constructor(t){super(t)}static{this.ɵfac=function(e){return new(e||Ct)(t.ɵɵdirectiveInject(mt,10))}}static{this.ɵdir=t.ɵɵdefineDirective({type:Ct,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,i){2&e&&t.ɵɵclassProp("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[t.ɵɵInheritDefinitionFeature]})}}const Vt="VALID",bt="INVALID",Dt="PENDING",At="DISABLED";class Et{}class wt extends Et{constructor(t,e){super(),this.value=t,this.source=e}}class Ft extends Et{constructor(t,e){super(),this.pristine=t,this.source=e}}class It extends Et{constructor(t,e){super(),this.touched=t,this.source=e}}class Ot extends Et{constructor(t,e){super(),this.status=t,this.source=e}}class St extends Et{constructor(t){super(),this.source=t}}class xt extends Et{constructor(t){super(),this.source=t}}function Pt(t){return(kt(t)?t.validators:t)||null}function Mt(t,e){return(kt(e)?e.asyncValidators:t)||null}function kt(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}function jt(t,e,i){const n=t.controls;if(!(e?Object.keys(n):n).length)throw new y(1e3,"");if(!n[i])throw new y(1001,"")}function Nt(t,e,i){t._forEachChild(((t,e)=>{if(void 0===i[e])throw new y(1002,"")}))}class Tt{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=l((()=>this.statusReactive())),this.statusReactive=h(void 0),this._pristine=l((()=>this.pristineReactive())),this.pristineReactive=h(!0),this._touched=l((()=>this.touchedReactive())),this.touchedReactive=h(!1),this._events=new w,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return a(this.statusReactive)}set status(t){a((()=>this.statusReactive.set(t)))}get valid(){return this.status===Vt}get invalid(){return this.status===bt}get pending(){return this.status==Dt}get disabled(){return this.status===At}get enabled(){return this.status!==At}get pristine(){return a(this.pristineReactive)}set pristine(t){a((()=>this.pristineReactive.set(t)))}get dirty(){return!this.pristine}get touched(){return a(this.touchedReactive)}set touched(t){a((()=>this.touchedReactive.set(t)))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(dt(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(dt(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(pt(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(pt(t,this._rawAsyncValidators))}hasValidator(t){return ct(this._rawValidators,t)}hasAsyncValidator(t){return ct(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){const e=!1===this.touched;this.touched=!0;const i=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched({...t,sourceControl:i}),e&&!1!==t.emitEvent&&this._events.next(new It(!0,i))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild((e=>e.markAllAsTouched(t)))}markAsUntouched(t={}){const e=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const i=t.sourceControl??this;this._forEachChild((e=>{e.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:i})})),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,i),e&&!1!==t.emitEvent&&this._events.next(new It(!1,i))}markAsDirty(t={}){const e=!0===this.pristine;this.pristine=!1;const i=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty({...t,sourceControl:i}),e&&!1!==t.emitEvent&&this._events.next(new Ft(!1,i))}markAsPristine(t={}){const e=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const i=t.sourceControl??this;this._forEachChild((e=>{e.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})})),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,i),e&&!1!==t.emitEvent&&this._events.next(new Ft(!0,i))}markAsPending(t={}){this.status=Dt;const e=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new Ot(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending({...t,sourceControl:e})}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=At,this.errors=null,this._forEachChild((e=>{e.disable({...t,onlySelf:!0})})),this._updateValue();const i=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new wt(this.value,i)),this._events.next(new Ot(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e},this),this._onDisabledChange.forEach((t=>t(!0)))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Vt,this._forEachChild((e=>{e.enable({...t,onlySelf:!0})})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:e},this),this._onDisabledChange.forEach((t=>t(!1)))}_updateAncestors(t,e){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const e=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==Vt&&this.status!==Dt||this._runAsyncValidator(e,t.emitEvent)}const e=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new wt(this.value,e)),this._events.next(new Ot(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity({...t,sourceControl:e})}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild((e=>e._updateTreeValidity(t))),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?At:Vt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,e){if(this.asyncValidator){this.status=Dt,this._hasOwnPendingAsyncValidator={emitEvent:!1!==e};const i=Y(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe((i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:e,shouldHaveEmitted:t})}))}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const t=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent,this,e.shouldHaveEmitted)}get(t){let e=t;return null==e?null:(Array.isArray(e)||(e=e.split(".")),0===e.length?null:e.reduce(((t,e)=>t&&t._find(e)),this))}getError(t,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,e,i){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||i)&&this._events.next(new Ot(this.status,e)),this._parent&&this._parent._updateControlsErrors(t,e,i)}_initObservables(){this.valueChanges=new u,this.statusChanges=new u}_calculateStatus(){return this._allControlsDisabled()?At:this.errors?bt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Dt)?Dt:this._anyControlsHaveStatus(bt)?bt:Vt}_anyControlsHaveStatus(t){return this._anyControls((e=>e.status===t))}_anyControlsDirty(){return this._anyControls((t=>t.dirty))}_anyControlsTouched(){return this._anyControls((t=>t.touched))}_updatePristine(t,e){const i=!this._anyControlsDirty(),n=this.pristine!==i;this.pristine=i,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,e),n&&this._events.next(new Ft(this.pristine,e))}_updateTouched(t={},e){this.touched=this._anyControlsTouched(),this._events.next(new It(this.touched,e)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,e)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){kt(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){const e=this._parent&&this._parent.dirty;return!t&&!!e&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){var e;this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=(e=this._rawValidators,Array.isArray(e)?st(e):e||null)}_assignAsyncValidators(t){var e;this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=(e=this._rawAsyncValidators,Array.isArray(e)?ot(e):e||null)}}class Rt extends Tt{constructor(t,e,i){super(Pt(e),Mt(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange((()=>{})),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange((()=>{})),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){Nt(this,0,t),Object.keys(t).forEach((i=>{jt(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach((i=>{const n=this.controls[i];n&&n.patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild(((i,n)=>{i.reset(t?t[n]:null,{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},((t,e,i)=>(t[i]=e.getRawValue(),t)))}_syncPendingControls(){let t=this._reduceChildren(!1,((t,e)=>!!e._syncPendingControls()||t));return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach((e=>{const i=this.controls[e];i&&t(i,e)}))}_setUpControls(){this._forEachChild((t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}))}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&t(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},((t,e,i)=>((e.enabled||this.disabled)&&(t[i]=e.value),t)))}_reduceChildren(t,e){let i=t;return this._forEachChild(((t,n)=>{i=e(i,t,n)})),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const Ut=Rt,Gt=t=>t instanceof Rt;class Bt extends Rt{}const Wt=t=>t instanceof Bt,qt=new i("CallSetDisabledState",{providedIn:"root",factory:()=>zt}),zt="always";function $t(t,e){return[...e.path,t]}function Lt(t,e,i=zt){Jt(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||"always"===i)&&e.valueAccessor.setDisabledState?.(t.disabled),function(t,e){e.valueAccessor.registerOnChange((i=>{t._pendingValue=i,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Qt(t,e)}))}(t,e),function(t,e){const i=(t,i)=>{e.valueAccessor.writeValue(t),i&&e.viewToModelUpdate(t)};t.registerOnChange(i),e._registerOnDestroy((()=>{t._unregisterOnChange(i)}))}(t,e),function(t,e){e.valueAccessor.registerOnTouched((()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Qt(t,e),"submit"!==t.updateOn&&t.markAsTouched()}))}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const i=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(i),e._registerOnDestroy((()=>{t._unregisterOnDisabledChange(i)}))}}(t,e)}function Zt(t,e,i=!0){const n=()=>{0};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),Kt(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange((()=>{})))}function Ht(t,e){t.forEach((t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)}))}function Jt(t,e){const i=lt(t);null!==e.validator?t.setValidators(at(i,e.validator)):"function"==typeof i&&t.setValidators([i]);const n=ht(t);null!==e.asyncValidator?t.setAsyncValidators(at(n,e.asyncValidator)):"function"==typeof n&&t.setAsyncValidators([n]);const s=()=>t.updateValueAndValidity();Ht(e._rawValidators,s),Ht(e._rawAsyncValidators,s)}function Kt(t,e){let i=!1;if(null!==t){if(null!==e.validator){const n=lt(t);if(Array.isArray(n)&&n.length>0){const s=n.filter((t=>t!==e.validator));s.length!==n.length&&(i=!0,t.setValidators(s))}}if(null!==e.asyncValidator){const n=ht(t);if(Array.isArray(n)&&n.length>0){const s=n.filter((t=>t!==e.asyncValidator));s.length!==n.length&&(i=!0,t.setAsyncValidators(s))}}}const n=()=>{};return Ht(e._rawValidators,n),Ht(e._rawAsyncValidators,n),i}function Qt(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Xt(t,e){Jt(t,e)}function Yt(t,e){if(!t.hasOwnProperty("model"))return!1;const i=t.model;return!!i.isFirstChange()||!Object.is(e,i.currentValue)}function te(t,e){t._syncPendingControls(),e.forEach((t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)}))}function ee(t,e){if(!e)return null;let i,n,s;return Array.isArray(e),e.forEach((t=>{var e;t.constructor===N?i=t:(e=t,Object.getPrototypeOf(e.constructor)===S?n=t:s=t)})),s||(n||(i||null))}const ie={provide:mt,useExisting:n((()=>se))},ne=Promise.resolve();class se extends mt{get submitted(){return a(this.submittedReactive)}constructor(t,e,i){super(),this.callSetDisabledState=i,this._submitted=l((()=>this.submittedReactive())),this.submittedReactive=h(!1),this._directives=new Set,this.ngSubmit=new u,this.form=new Rt({},st(t),ot(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){ne.then((()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),Lt(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)}))}getControl(t){return this.form.get(t.path)}removeControl(t){ne.then((()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),this._directives.delete(t)}))}addFormGroup(t){ne.then((()=>{const e=this._findContainer(t.path),i=new Rt({});Xt(i,t),e.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})}))}removeFormGroup(t){ne.then((()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)}))}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){ne.then((()=>{this.form.get(t.path).setValue(e)}))}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),te(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static{this.ɵfac=function(e){return new(e||se)(t.ɵɵdirectiveInject(U,10),t.ɵɵdirectiveInject(G,10),t.ɵɵdirectiveInject(qt,8))}}static{this.ɵdir=t.ɵɵdefineDirective({type:se,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&t.ɵɵlistener("submit",(function(t){return i.onSubmit(t)}))("reset",(function(){return i.onReset()}))},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t.ɵɵProvidersFeature([ie]),t.ɵɵInheritDefinitionFeature]})}}function re(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}function oe(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const ae=class extends Tt{constructor(t=null,e,i){super(Pt(e),Mt(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),kt(e)&&(e.nonNullable||e.initialValueIsDefault)&&(oe(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach((t=>t(this.value,!1!==e.emitViewToModelChange))),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){re(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){re(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange))&&(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0)}_applyFormState(t){oe(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},le=ae,he=t=>t instanceof ae;class ue extends mt{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return $t(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(ue)))(i||ue)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:ue,features:[t.ɵɵInheritDefinitionFeature]})}}const ce={provide:mt,useExisting:n((()=>de))};class de extends ue{constructor(t,e,i){super(),this.name="",this._parent=t,this._setValidators(e),this._setAsyncValidators(i)}_checkParentType(){!(this._parent instanceof de)&&this._parent,0}static{this.ɵfac=function(e){return new(e||de)(t.ɵɵdirectiveInject(mt,5),t.ɵɵdirectiveInject(U,10),t.ɵɵdirectiveInject(G,10))}}static{this.ɵdir=t.ɵɵdefineDirective({type:de,selectors:[["","ngModelGroup",""]],inputs:{name:[0,"ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[t.ɵɵProvidersFeature([ce]),t.ɵɵInheritDefinitionFeature]})}}const pe={provide:ft,useExisting:n((()=>me))},ge=Promise.resolve();class me extends ft{constructor(t,e,i,n,s,r){super(),this._changeDetectorRef=s,this.callSetDisabledState=r,this.control=new ae,this._registered=!1,this.name="",this.update=new u,this._parent=t,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=ee(0,n)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const e=t.name.previousValue;this.formDirective.removeControl({name:e,path:this._getPath(e)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),Yt(t,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(t){this.viewModel=t,this.update.emit(t)}_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(){Lt(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){0}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){ge.then((()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()}))}_updateDisabled(t){const e=t.isDisabled.currentValue,i=0!==e&&g(e);ge.then((()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()}))}_getPath(t){return this._parent?$t(t,this._parent):[t]}static{this.ɵfac=function(e){return new(e||me)(t.ɵɵdirectiveInject(mt,9),t.ɵɵdirectiveInject(U,10),t.ɵɵdirectiveInject(G,10),t.ɵɵdirectiveInject(x,10),t.ɵɵdirectiveInject(m,8),t.ɵɵdirectiveInject(qt,8))}}static{this.ɵdir=t.ɵɵdefineDirective({type:me,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[t.ɵɵProvidersFeature([pe]),t.ɵɵInheritDefinitionFeature,t.ɵɵNgOnChangesFeature]})}}class fe{static{this.ɵfac=function(t){return new(t||fe)}}static{this.ɵdir=t.ɵɵdefineDirective({type:fe,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}const _e={provide:x,useExisting:n((()=>ve)),multi:!0};class ve extends S{writeValue(t){const e=null==t?"":t;this.setProperty("value",e)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(ve)))(i||ve)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:ve,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,i){1&e&&t.ɵɵlistener("input",(function(t){return i.onChange(t.target.value)}))("blur",(function(){return i.onTouched()}))},features:[t.ɵɵProvidersFeature([_e]),t.ɵɵInheritDefinitionFeature]})}}const ye={provide:x,useExisting:n((()=>Ve)),multi:!0};class Ce{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach((e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)}))}_isSameGroup(t,e){return!!t[0].control&&(t[0]._parent===e._control._parent&&t[1].name===e.name)}static{this.ɵfac=function(t){return new(t||Ce)}}static{this.ɵprov=t.ɵɵdefineInjectable({token:Ce,factory:Ce.ɵfac,providedIn:"root"})}}class Ve extends S{constructor(t,e,i,n){super(t,e),this._registry=i,this._injector=n,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=v(qt,{optional:!0})??zt}ngOnInit(){this._control=this._injector.get(ft),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this.setProperty("checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}setDisabledState(t){(this.setDisabledStateFired||t||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",t),this.setDisabledStateFired=!0}fireUncheck(t){this.writeValue(t)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}static{this.ɵfac=function(e){return new(e||Ve)(t.ɵɵdirectiveInject(t.Renderer2),t.ɵɵdirectiveInject(t.ElementRef),t.ɵɵdirectiveInject(Ce),t.ɵɵdirectiveInject(t.Injector))}}static{this.ɵdir=t.ɵɵdefineDirective({type:Ve,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,i){1&e&&t.ɵɵlistener("change",(function(){return i.onChange()}))("blur",(function(){return i.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[t.ɵɵProvidersFeature([ye]),t.ɵɵInheritDefinitionFeature]})}}const be={provide:x,useExisting:n((()=>De)),multi:!0};class De extends S{writeValue(t){this.setProperty("value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(De)))(i||De)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:De,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,i){1&e&&t.ɵɵlistener("change",(function(t){return i.onChange(t.target.value)}))("input",(function(t){return i.onChange(t.target.value)}))("blur",(function(){return i.onTouched()}))},features:[t.ɵɵProvidersFeature([be]),t.ɵɵInheritDefinitionFeature]})}}const Ae=new i(""),Ee={provide:ft,useExisting:n((()=>we))};class we extends ft{set isDisabled(t){0}static{this._ngModelWarningSentOnce=!1}constructor(t,e,i,n,s){super(),this._ngModelWarningConfig=n,this.callSetDisabledState=s,this.update=new u,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(e),this.valueAccessor=ee(0,i)}ngOnChanges(t){if(this._isControlChanged(t)){const e=t.form.previousValue;e&&Zt(e,this,!1),Lt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Yt(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Zt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}static{this.ɵfac=function(e){return new(e||we)(t.ɵɵdirectiveInject(U,10),t.ɵɵdirectiveInject(G,10),t.ɵɵdirectiveInject(x,10),t.ɵɵdirectiveInject(Ae,8),t.ɵɵdirectiveInject(qt,8))}}static{this.ɵdir=t.ɵɵdefineDirective({type:we,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[t.ɵɵProvidersFeature([Ee]),t.ɵɵInheritDefinitionFeature,t.ɵɵNgOnChangesFeature]})}}const Fe={provide:mt,useExisting:n((()=>Ie))};class Ie extends mt{get submitted(){return a(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}constructor(t,e,i){super(),this.callSetDisabledState=i,this._submitted=l((()=>this._submittedReactive())),this._submittedReactive=h(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new u,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Kt(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange((()=>{})))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return Lt(e,t,this.callSetDisabledState),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){Zt(t.control||null,t,!1),function(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this._submittedReactive.set(!0),te(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new St(this.control)),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this._submittedReactive.set(!1),this.form._events.next(new xt(this.form))}_updateDomValue(){this.directives.forEach((t=>{const e=t.control,i=this.form.get(t.path);e!==i&&(Zt(e||null,t),he(i)&&(Lt(i,t,this.callSetDisabledState),t.control=i))})),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);Xt(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);if(e){const i=function(t,e){return Kt(t,e)}(e,t);i&&e.updateValueAndValidity({emitEvent:!1})}}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange((()=>{}))}_updateValidators(){Jt(this.form,this),this._oldForm&&Kt(this._oldForm,this)}_checkFormPresent(){this.form,0}static{this.ɵfac=function(e){return new(e||Ie)(t.ɵɵdirectiveInject(U,10),t.ɵɵdirectiveInject(G,10),t.ɵɵdirectiveInject(qt,8))}}static{this.ɵdir=t.ɵɵdefineDirective({type:Ie,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&t.ɵɵlistener("submit",(function(t){return i.onSubmit(t)}))("reset",(function(){return i.onReset()}))},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t.ɵɵProvidersFeature([Fe]),t.ɵɵInheritDefinitionFeature,t.ɵɵNgOnChangesFeature]})}}const Oe={provide:mt,useExisting:n((()=>Se))};class Se extends ue{constructor(t,e,i){super(),this.name=null,this._parent=t,this._setValidators(e),this._setAsyncValidators(i)}_checkParentType(){Me(this._parent),0}static{this.ɵfac=function(e){return new(e||Se)(t.ɵɵdirectiveInject(mt,13),t.ɵɵdirectiveInject(U,10),t.ɵɵdirectiveInject(G,10))}}static{this.ɵdir=t.ɵɵdefineDirective({type:Se,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},features:[t.ɵɵProvidersFeature([Oe]),t.ɵɵInheritDefinitionFeature]})}}const xe={provide:mt,useExisting:n((()=>Pe))};class Pe extends mt{constructor(t,e,i){super(),this.name=null,this._parent=t,this._setValidators(e),this._setAsyncValidators(i)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return $t(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Me(this._parent),0}static{this.ɵfac=function(e){return new(e||Pe)(t.ɵɵdirectiveInject(mt,13),t.ɵɵdirectiveInject(U,10),t.ɵɵdirectiveInject(G,10))}}static{this.ɵdir=t.ɵɵdefineDirective({type:Pe,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},features:[t.ɵɵProvidersFeature([xe]),t.ɵɵInheritDefinitionFeature]})}}function Me(t){return!(t instanceof Se||t instanceof Ie||t instanceof Pe)}const ke={provide:ft,useExisting:n((()=>je))};class je extends ft{set isDisabled(t){0}static{this._ngModelWarningSentOnce=!1}constructor(t,e,i,n,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new u,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=ee(0,n)}ngOnChanges(t){this._added||this._setUpControl(),Yt(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return $t(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static{this.ɵfac=function(e){return new(e||je)(t.ɵɵdirectiveInject(mt,13),t.ɵɵdirectiveInject(U,10),t.ɵɵdirectiveInject(G,10),t.ɵɵdirectiveInject(x,10),t.ɵɵdirectiveInject(Ae,8))}}static{this.ɵdir=t.ɵɵdefineDirective({type:je,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[t.ɵɵProvidersFeature([ke]),t.ɵɵInheritDefinitionFeature,t.ɵɵNgOnChangesFeature]})}}const Ne={provide:x,useExisting:n((()=>Re)),multi:!0};function Te(t,e){return null==t?`${e}`:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}class Re extends S{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const e=Te(this._getOptionId(t),t);this.setProperty("value",e)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of this._optionMap.keys())if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(Re)))(i||Re)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:Re,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,i){1&e&&t.ɵɵlistener("change",(function(t){return i.onChange(t.target.value)}))("blur",(function(){return i.onTouched()}))},inputs:{compareWith:"compareWith"},features:[t.ɵɵProvidersFeature([Ne]),t.ɵɵInheritDefinitionFeature]})}}class Ue{constructor(t,e,i){this._element=t,this._renderer=e,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(Te(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.ɵfac=function(e){return new(e||Ue)(t.ɵɵdirectiveInject(t.ElementRef),t.ɵɵdirectiveInject(t.Renderer2),t.ɵɵdirectiveInject(Re,9))}}static{this.ɵdir=t.ɵɵdefineDirective({type:Ue,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}const Ge={provide:x,useExisting:n((()=>We)),multi:!0};function Be(t,e){return null==t?`${e}`:("string"==typeof e&&(e=`'${e}'`),e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}class We extends S{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const i=t.map((t=>this._getOptionId(t)));e=(t,e)=>{t._setSelected(i.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const i=[],n=e.selectedOptions;if(void 0!==n){const t=n;for(let e=0;e<t.length;e++){const n=t[e],s=this._getOptionValue(n.value);i.push(s)}}else{const t=e.options;for(let e=0;e<t.length;e++){const n=t[e];if(n.selected){const t=this._getOptionValue(n.value);i.push(t)}}}this.value=i,t(i)}}_registerOption(t){const e=(this._idCounter++).toString();return this._optionMap.set(e,t),e}_getOptionId(t){for(const e of this._optionMap.keys())if(this._compareWith(this._optionMap.get(e)._value,t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(We)))(i||We)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:We,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,i){1&e&&t.ɵɵlistener("change",(function(t){return i.onChange(t.target)}))("blur",(function(){return i.onTouched()}))},inputs:{compareWith:"compareWith"},features:[t.ɵɵProvidersFeature([Ge]),t.ɵɵInheritDefinitionFeature]})}}class qe{constructor(t,e,i){this._element=t,this._renderer=e,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(Be(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(Be(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.ɵfac=function(e){return new(e||qe)(t.ɵɵdirectiveInject(t.ElementRef),t.ɵɵdirectiveInject(t.Renderer2),t.ɵɵdirectiveInject(We,9))}}static{this.ɵdir=t.ɵɵdefineDirective({type:qe,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}function ze(t){return"number"==typeof t?t:parseInt(t,10)}function $e(t){return"number"==typeof t?t:parseFloat(t)}class Le{constructor(){this._validator=Q}ngOnChanges(t){if(this.inputName in t){const e=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(e),this._validator=this._enabled?this.createValidator(e):Q,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return null!=t}static{this.ɵfac=function(t){return new(t||Le)}}static{this.ɵdir=t.ɵɵdefineDirective({type:Le,features:[t.ɵɵNgOnChangesFeature]})}}const Ze={provide:U,useExisting:n((()=>He)),multi:!0};class He extends Le{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=t=>$e(t),this.createValidator=t=>z(t)}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(He)))(i||He)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:He,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(e,i){2&e&&t.ɵɵattribute("max",i._enabled?i.max:null)},inputs:{max:"max"},features:[t.ɵɵProvidersFeature([Ze]),t.ɵɵInheritDefinitionFeature]})}}const Je={provide:U,useExisting:n((()=>Ke)),multi:!0};class Ke extends Le{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=t=>$e(t),this.createValidator=t=>q(t)}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(Ke)))(i||Ke)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:Ke,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(e,i){2&e&&t.ɵɵattribute("min",i._enabled?i.min:null)},inputs:{min:"min"},features:[t.ɵɵProvidersFeature([Je]),t.ɵɵInheritDefinitionFeature]})}}const Qe={provide:U,useExisting:n((()=>Ye)),multi:!0},Xe={provide:U,useExisting:n((()=>ti)),multi:!0};class Ye extends Le{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=g,this.createValidator=t=>$}enabled(t){return t}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(Ye)))(i||Ye)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:Ye,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,i){2&e&&t.ɵɵattribute("required",i._enabled?"":null)},inputs:{required:"required"},features:[t.ɵɵProvidersFeature([Qe]),t.ɵɵInheritDefinitionFeature]})}}class ti extends Ye{constructor(){super(...arguments),this.createValidator=t=>L}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(ti)))(i||ti)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:ti,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(e,i){2&e&&t.ɵɵattribute("required",i._enabled?"":null)},features:[t.ɵɵProvidersFeature([Xe]),t.ɵɵInheritDefinitionFeature]})}}const ei={provide:U,useExisting:n((()=>ii)),multi:!0};class ii extends Le{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=g,this.createValidator=t=>Z}enabled(t){return t}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(ii)))(i||ii)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:ii,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[t.ɵɵProvidersFeature([ei]),t.ɵɵInheritDefinitionFeature]})}}const ni={provide:U,useExisting:n((()=>si)),multi:!0};class si extends Le{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=t=>ze(t),this.createValidator=t=>H(t)}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(si)))(i||si)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:si,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(e,i){2&e&&t.ɵɵattribute("minlength",i._enabled?i.minlength:null)},inputs:{minlength:"minlength"},features:[t.ɵɵProvidersFeature([ni]),t.ɵɵInheritDefinitionFeature]})}}const ri={provide:U,useExisting:n((()=>oi)),multi:!0};class oi extends Le{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=t=>ze(t),this.createValidator=t=>J(t)}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(oi)))(i||oi)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:oi,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,i){2&e&&t.ɵɵattribute("maxlength",i._enabled?i.maxlength:null)},inputs:{maxlength:"maxlength"},features:[t.ɵɵProvidersFeature([ri]),t.ɵɵInheritDefinitionFeature]})}}const ai={provide:U,useExisting:n((()=>li)),multi:!0};class li extends Le{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=t=>t,this.createValidator=t=>K(t)}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(li)))(i||li)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:li,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,i){2&e&&t.ɵɵattribute("pattern",i._enabled?i.pattern:null)},inputs:{pattern:"pattern"},features:[t.ɵɵProvidersFeature([ai]),t.ɵɵInheritDefinitionFeature]})}}class hi{static{this.ɵfac=function(t){return new(t||hi)}}static{this.ɵmod=t.ɵɵdefineNgModule({type:hi})}static{this.ɵinj=t.ɵɵdefineInjector({})}}class ui extends Tt{constructor(t,e,i){super(Pt(e),Mt(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,i={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(t,e={}){let i=this._adjustIndex(t);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange((()=>{})),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,i={}){let n=this._adjustIndex(t);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange((()=>{})),this.controls.splice(n,1),e&&(this.controls.splice(n,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){Nt(this,0,t),t.forEach(((t,i)=>{jt(this,!1,i),this.at(i).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach(((t,i)=>{this.at(i)&&this.at(i).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild(((i,n)=>{i.reset(t[n],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map((t=>t.getRawValue()))}clear(t={}){this.controls.length<1||(this._forEachChild((t=>t._registerOnCollectionChange((()=>{})))),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce(((t,e)=>!!e._syncPendingControls()||t),!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach(((e,i)=>{t(e,i)}))}_updateValue(){this.value=this.controls.filter((t=>t.enabled||this.disabled)).map((t=>t.value))}_anyControls(t){return this.controls.some((e=>e.enabled&&t(e)))}_setUpControls(){this._forEachChild((t=>this._registerControl(t)))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}}const ci=ui,di=t=>t instanceof ui;function pi(t){return!!t&&(void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn)}class gi{constructor(){this.useNonNullable=!1}get nonNullable(){const t=new gi;return t.useNonNullable=!0,t}group(t,e=null){const i=this._reduceControls(t);let n={};return pi(e)?n=e:null!==e&&(n.validators=e.validator,n.asyncValidators=e.asyncValidator),new Rt(i,n)}record(t,e=null){const i=this._reduceControls(t);return new Bt(i,e)}control(t,e,i){let n={};return this.useNonNullable?(pi(e)?n=e:(n.validators=e,n.asyncValidators=i),new ae(t,{...n,nonNullable:!0})):new ae(t,e,i)}array(t,e,i){const n=t.map((t=>this._createControl(t)));return new ui(n,e,i)}_reduceControls(t){const e={};return Object.keys(t).forEach((i=>{e[i]=this._createControl(t[i])})),e}_createControl(t){if(t instanceof ae)return t;if(t instanceof Tt)return t;if(Array.isArray(t)){const e=t[0],i=t.length>1?t[1]:null,n=t.length>2?t[2]:null;return this.control(e,i,n)}return this.control(t)}static{this.ɵfac=function(t){return new(t||gi)}}static{this.ɵprov=t.ɵɵdefineInjectable({token:gi,factory:gi.ɵfac,providedIn:"root"})}}class mi{static{this.ɵfac=function(t){return new(t||mi)}}static{this.ɵprov=t.ɵɵdefineInjectable({token:mi,factory:()=>v(gi).nonNullable,providedIn:"root"})}}class fi extends gi{group(t,e=null){return super.group(t,e)}control(t,e,i){return super.control(t,e,i)}array(t,e,i){return super.array(t,e,i)}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(fi)))(i||fi)}})()}static{this.ɵprov=t.ɵɵdefineInjectable({token:fi,factory:fi.ɵfac,providedIn:"root"})}}const _i=new V("18.2.10");class vi{static withConfig(t){return{ngModule:vi,providers:[{provide:qt,useValue:t.callSetDisabledState??zt}]}}static{this.ɵfac=function(t){return new(t||vi)}}static{this.ɵmod=t.ɵɵdefineNgModule({type:vi})}static{this.ɵinj=t.ɵɵdefineInjector({imports:[hi]})}}class yi{static withConfig(t){return{ngModule:yi,providers:[{provide:Ae,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:qt,useValue:t.callSetDisabledState??zt}]}}static{this.ɵfac=function(t){return new(t||yi)}}static{this.ɵmod=t.ɵɵdefineNgModule({type:yi})}static{this.ɵinj=t.ɵɵdefineInjector({imports:[hi]})}}export{Tt as AbstractControl,gt as AbstractControlDirective,ue as AbstractFormGroupDirective,j as COMPOSITION_BUFFER_MODE,M as CheckboxControlValueAccessor,ti as CheckboxRequiredValidator,mt as ControlContainer,Et as ControlEvent,N as DefaultValueAccessor,ii as EmailValidator,ui as FormArray,Pe as FormArrayName,gi as FormBuilder,ae as FormControl,we as FormControlDirective,je as FormControlName,Rt as FormGroup,Ie as FormGroupDirective,Se as FormGroupName,Bt as FormRecord,xt as FormResetEvent,St as FormSubmittedEvent,vi as FormsModule,oi as MaxLengthValidator,He as MaxValidator,si as MinLengthValidator,Ke as MinValidator,G as NG_ASYNC_VALIDATORS,U as NG_VALIDATORS,x as NG_VALUE_ACCESSOR,ft as NgControl,yt as NgControlStatus,Ct as NgControlStatusGroup,se as NgForm,me as NgModel,de as NgModelGroup,Ue as NgSelectOption,mi as NonNullableFormBuilder,ve as NumberValueAccessor,li as PatternValidator,Ft as PristineChangeEvent,Ve as RadioControlValueAccessor,De as RangeValueAccessor,yi as ReactiveFormsModule,Ye as RequiredValidator,Re as SelectControlValueAccessor,We as SelectMultipleControlValueAccessor,Ot as StatusChangeEvent,It as TouchedChangeEvent,ci as UntypedFormArray,fi as UntypedFormBuilder,le as UntypedFormControl,Ut as UntypedFormGroup,_i as VERSION,W as Validators,wt as ValueChangeEvent,di as isFormArray,he as isFormControl,Gt as isFormGroup,Wt as isFormRecord,hi as ɵInternalFormsSharedModule,fe as ɵNgNoValidate,qe as ɵNgSelectMultipleOption};
/* esm-bundle - @angular/forms@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import*as t from"@angular/core";import{Directive as e,InjectionToken as i,forwardRef as n,Optional as s,Inject as r,Self as o,untracked as a,computed as l,signal as h,EventEmitter as u,Input as c,Host as d,SkipSelf as p,booleanAttribute as g,ChangeDetectorRef as m,Output as f,Injectable as _,inject as v,ɵRuntimeError as y,NgModule as C,Version as V,ɵisPromise as b,ɵisSubscribable as D}from"@angular/core";import{ɵgetDOM as A}from"@angular/common";import{forkJoin as E,Subject as w,from as F}from"rxjs";import{map as I}from"rxjs/operators";class O{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}setProperty(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static{this.ɵfac=function(e){return new(e||O)(t.ɵɵdirectiveInject(t.Renderer2),t.ɵɵdirectiveInject(t.ElementRef))}}static{this.ɵdir=t.ɵɵdefineDirective({type:O})}}class S extends O{static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(S)))(i||S)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:S,features:[t.ɵɵInheritDefinitionFeature]})}}const x=new i(""),P={provide:x,useExisting:n((()=>M)),multi:!0};class M extends S{writeValue(t){this.setProperty("checked",t)}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(M)))(i||M)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:M,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,i){1&e&&t.ɵɵlistener("change",(function(t){return i.onChange(t.target.checked)}))("blur",(function(){return i.onTouched()}))},features:[t.ɵɵProvidersFeature([P]),t.ɵɵInheritDefinitionFeature]})}}const k={provide:x,useExisting:n((()=>N)),multi:!0};const j=new i("");class N extends O{constructor(t,e,i){super(t,e),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=A()?A().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){const e=null==t?"":t;this.setProperty("value",e)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static{this.ɵfac=function(e){return new(e||N)(t.ɵɵdirectiveInject(t.Renderer2),t.ɵɵdirectiveInject(t.ElementRef),t.ɵɵdirectiveInject(j,8))}}static{this.ɵdir=t.ɵɵdefineDirective({type:N,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,i){1&e&&t.ɵɵlistener("input",(function(t){return i._handleInput(t.target.value)}))("blur",(function(){return i.onTouched()}))("compositionstart",(function(){return i._compositionStart()}))("compositionend",(function(t){return i._compositionEnd(t.target.value)}))},features:[t.ɵɵProvidersFeature([k]),t.ɵɵInheritDefinitionFeature]})}}function T(t){return null==t||("string"==typeof t||Array.isArray(t))&&0===t.length}function R(t){return null!=t&&"number"==typeof t.length}const U=new i(""),G=new i(""),B=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class W{static min(t){return q(t)}static max(t){return z(t)}static required(t){return $(t)}static requiredTrue(t){return L(t)}static email(t){return Z(t)}static minLength(t){return H(t)}static maxLength(t){return J(t)}static pattern(t){return K(t)}static nullValidator(t){return null}static compose(t){return nt(t)}static composeAsync(t){return rt(t)}}function q(t){return e=>{if(T(e.value)||T(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i<t?{min:{min:t,actual:e.value}}:null}}function z(t){return e=>{if(T(e.value)||T(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i>t?{max:{max:t,actual:e.value}}:null}}function $(t){return T(t.value)?{required:!0}:null}function L(t){return!0===t.value?null:{required:!0}}function Z(t){return T(t.value)||B.test(t.value)?null:{email:!0}}function H(t){return e=>T(e.value)||!R(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}function J(t){return e=>R(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function K(t){if(!t)return Q;let e,i;return"string"==typeof t?(i="","^"!==t.charAt(0)&&(i+="^"),i+=t,"$"!==t.charAt(t.length-1)&&(i+="$"),e=new RegExp(i)):(i=t.toString(),e=t),t=>{if(T(t.value))return null;const n=t.value;return e.test(n)?null:{pattern:{requiredPattern:i,actualValue:n}}}}function Q(t){return null}function X(t){return null!=t}function Y(t){const e=b(t)?F(t):t;return e}function tt(t){let e={};return t.forEach((t=>{e=null!=t?{...e,...t}:e})),0===Object.keys(e).length?null:e}function et(t,e){return e.map((e=>e(t)))}function it(t){return t.map((t=>function(t){return!t.validate}(t)?t:e=>t.validate(e)))}function nt(t){if(!t)return null;const e=t.filter(X);return 0==e.length?null:function(t){return tt(et(t,e))}}function st(t){return null!=t?nt(it(t)):null}function rt(t){if(!t)return null;const e=t.filter(X);return 0==e.length?null:function(t){const i=et(t,e).map(Y);return E(i).pipe(I(tt))}}function ot(t){return null!=t?rt(it(t)):null}function at(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function lt(t){return t._rawValidators}function ht(t){return t._rawAsyncValidators}function ut(t){return t?Array.isArray(t)?t:[t]:[]}function ct(t,e){return Array.isArray(t)?t.includes(e):t===e}function dt(t,e){const i=ut(e);return ut(t).forEach((t=>{ct(i,t)||i.push(t)})),i}function pt(t,e){return ut(e).filter((e=>!ct(t,e)))}class gt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=st(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=ot(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach((t=>t())),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class mt extends gt{get formDirective(){return null}get path(){return null}}class ft extends gt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class _t{constructor(t){this._cd=t}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}}const vt={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"};class yt extends _t{constructor(t){super(t)}static{this.ɵfac=function(e){return new(e||yt)(t.ɵɵdirectiveInject(ft,2))}}static{this.ɵdir=t.ɵɵdefineDirective({type:yt,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&t.ɵɵclassProp("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[t.ɵɵInheritDefinitionFeature]})}}class Ct extends _t{constructor(t){super(t)}static{this.ɵfac=function(e){return new(e||Ct)(t.ɵɵdirectiveInject(mt,10))}}static{this.ɵdir=t.ɵɵdefineDirective({type:Ct,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,i){2&e&&t.ɵɵclassProp("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[t.ɵɵInheritDefinitionFeature]})}}const Vt="VALID",bt="INVALID",Dt="PENDING",At="DISABLED";class Et{}class wt extends Et{constructor(t,e){super(),this.value=t,this.source=e}}class Ft extends Et{constructor(t,e){super(),this.pristine=t,this.source=e}}class It extends Et{constructor(t,e){super(),this.touched=t,this.source=e}}class Ot extends Et{constructor(t,e){super(),this.status=t,this.source=e}}class St extends Et{constructor(t){super(),this.source=t}}class xt extends Et{constructor(t){super(),this.source=t}}function Pt(t){return(kt(t)?t.validators:t)||null}function Mt(t,e){return(kt(e)?e.asyncValidators:t)||null}function kt(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}function jt(t,e,i){const n=t.controls;if(!(e?Object.keys(n):n).length)throw new y(1e3,"");if(!n[i])throw new y(1001,"")}function Nt(t,e,i){t._forEachChild(((t,e)=>{if(void 0===i[e])throw new y(1002,"")}))}class Tt{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=l((()=>this.statusReactive())),this.statusReactive=h(void 0),this._pristine=l((()=>this.pristineReactive())),this.pristineReactive=h(!0),this._touched=l((()=>this.touchedReactive())),this.touchedReactive=h(!1),this._events=new w,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return a(this.statusReactive)}set status(t){a((()=>this.statusReactive.set(t)))}get valid(){return this.status===Vt}get invalid(){return this.status===bt}get pending(){return this.status==Dt}get disabled(){return this.status===At}get enabled(){return this.status!==At}get pristine(){return a(this.pristineReactive)}set pristine(t){a((()=>this.pristineReactive.set(t)))}get dirty(){return!this.pristine}get touched(){return a(this.touchedReactive)}set touched(t){a((()=>this.touchedReactive.set(t)))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(dt(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(dt(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(pt(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(pt(t,this._rawAsyncValidators))}hasValidator(t){return ct(this._rawValidators,t)}hasAsyncValidator(t){return ct(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){const e=!1===this.touched;this.touched=!0;const i=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched({...t,sourceControl:i}),e&&!1!==t.emitEvent&&this._events.next(new It(!0,i))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild((e=>e.markAllAsTouched(t)))}markAsUntouched(t={}){const e=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const i=t.sourceControl??this;this._forEachChild((e=>{e.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:i})})),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,i),e&&!1!==t.emitEvent&&this._events.next(new It(!1,i))}markAsDirty(t={}){const e=!0===this.pristine;this.pristine=!1;const i=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty({...t,sourceControl:i}),e&&!1!==t.emitEvent&&this._events.next(new Ft(!1,i))}markAsPristine(t={}){const e=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const i=t.sourceControl??this;this._forEachChild((e=>{e.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})})),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,i),e&&!1!==t.emitEvent&&this._events.next(new Ft(!0,i))}markAsPending(t={}){this.status=Dt;const e=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new Ot(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending({...t,sourceControl:e})}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=At,this.errors=null,this._forEachChild((e=>{e.disable({...t,onlySelf:!0})})),this._updateValue();const i=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new wt(this.value,i)),this._events.next(new Ot(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e},this),this._onDisabledChange.forEach((t=>t(!0)))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Vt,this._forEachChild((e=>{e.enable({...t,onlySelf:!0})})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:e},this),this._onDisabledChange.forEach((t=>t(!1)))}_updateAncestors(t,e){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const e=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==Vt&&this.status!==Dt||this._runAsyncValidator(e,t.emitEvent)}const e=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new wt(this.value,e)),this._events.next(new Ot(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity({...t,sourceControl:e})}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild((e=>e._updateTreeValidity(t))),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?At:Vt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,e){if(this.asyncValidator){this.status=Dt,this._hasOwnPendingAsyncValidator={emitEvent:!1!==e};const i=Y(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe((i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:e,shouldHaveEmitted:t})}))}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const t=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent,this,e.shouldHaveEmitted)}get(t){let e=t;return null==e?null:(Array.isArray(e)||(e=e.split(".")),0===e.length?null:e.reduce(((t,e)=>t&&t._find(e)),this))}getError(t,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,e,i){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||i)&&this._events.next(new Ot(this.status,e)),this._parent&&this._parent._updateControlsErrors(t,e,i)}_initObservables(){this.valueChanges=new u,this.statusChanges=new u}_calculateStatus(){return this._allControlsDisabled()?At:this.errors?bt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Dt)?Dt:this._anyControlsHaveStatus(bt)?bt:Vt}_anyControlsHaveStatus(t){return this._anyControls((e=>e.status===t))}_anyControlsDirty(){return this._anyControls((t=>t.dirty))}_anyControlsTouched(){return this._anyControls((t=>t.touched))}_updatePristine(t,e){const i=!this._anyControlsDirty(),n=this.pristine!==i;this.pristine=i,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,e),n&&this._events.next(new Ft(this.pristine,e))}_updateTouched(t={},e){this.touched=this._anyControlsTouched(),this._events.next(new It(this.touched,e)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,e)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){kt(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){const e=this._parent&&this._parent.dirty;return!t&&!!e&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){var e;this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=(e=this._rawValidators,Array.isArray(e)?st(e):e||null)}_assignAsyncValidators(t){var e;this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=(e=this._rawAsyncValidators,Array.isArray(e)?ot(e):e||null)}}class Rt extends Tt{constructor(t,e,i){super(Pt(e),Mt(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange((()=>{})),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange((()=>{})),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){Nt(this,0,t),Object.keys(t).forEach((i=>{jt(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach((i=>{const n=this.controls[i];n&&n.patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild(((i,n)=>{i.reset(t?t[n]:null,{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},((t,e,i)=>(t[i]=e.getRawValue(),t)))}_syncPendingControls(){let t=this._reduceChildren(!1,((t,e)=>!!e._syncPendingControls()||t));return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach((e=>{const i=this.controls[e];i&&t(i,e)}))}_setUpControls(){this._forEachChild((t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}))}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&t(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},((t,e,i)=>((e.enabled||this.disabled)&&(t[i]=e.value),t)))}_reduceChildren(t,e){let i=t;return this._forEachChild(((t,n)=>{i=e(i,t,n)})),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const Ut=Rt,Gt=t=>t instanceof Rt;class Bt extends Rt{}const Wt=t=>t instanceof Bt,qt=new i("CallSetDisabledState",{providedIn:"root",factory:()=>zt}),zt="always";function $t(t,e){return[...e.path,t]}function Lt(t,e,i=zt){Jt(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||"always"===i)&&e.valueAccessor.setDisabledState?.(t.disabled),function(t,e){e.valueAccessor.registerOnChange((i=>{t._pendingValue=i,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Qt(t,e)}))}(t,e),function(t,e){const i=(t,i)=>{e.valueAccessor.writeValue(t),i&&e.viewToModelUpdate(t)};t.registerOnChange(i),e._registerOnDestroy((()=>{t._unregisterOnChange(i)}))}(t,e),function(t,e){e.valueAccessor.registerOnTouched((()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Qt(t,e),"submit"!==t.updateOn&&t.markAsTouched()}))}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const i=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(i),e._registerOnDestroy((()=>{t._unregisterOnDisabledChange(i)}))}}(t,e)}function Zt(t,e,i=!0){const n=()=>{0};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),Kt(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange((()=>{})))}function Ht(t,e){t.forEach((t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)}))}function Jt(t,e){const i=lt(t);null!==e.validator?t.setValidators(at(i,e.validator)):"function"==typeof i&&t.setValidators([i]);const n=ht(t);null!==e.asyncValidator?t.setAsyncValidators(at(n,e.asyncValidator)):"function"==typeof n&&t.setAsyncValidators([n]);const s=()=>t.updateValueAndValidity();Ht(e._rawValidators,s),Ht(e._rawAsyncValidators,s)}function Kt(t,e){let i=!1;if(null!==t){if(null!==e.validator){const n=lt(t);if(Array.isArray(n)&&n.length>0){const s=n.filter((t=>t!==e.validator));s.length!==n.length&&(i=!0,t.setValidators(s))}}if(null!==e.asyncValidator){const n=ht(t);if(Array.isArray(n)&&n.length>0){const s=n.filter((t=>t!==e.asyncValidator));s.length!==n.length&&(i=!0,t.setAsyncValidators(s))}}}const n=()=>{};return Ht(e._rawValidators,n),Ht(e._rawAsyncValidators,n),i}function Qt(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Xt(t,e){Jt(t,e)}function Yt(t,e){if(!t.hasOwnProperty("model"))return!1;const i=t.model;return!!i.isFirstChange()||!Object.is(e,i.currentValue)}function te(t,e){t._syncPendingControls(),e.forEach((t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)}))}function ee(t,e){if(!e)return null;let i,n,s;return Array.isArray(e),e.forEach((t=>{var e;t.constructor===N?i=t:(e=t,Object.getPrototypeOf(e.constructor)===S?n=t:s=t)})),s||(n||(i||null))}const ie={provide:mt,useExisting:n((()=>se))},ne=Promise.resolve();class se extends mt{get submitted(){return a(this.submittedReactive)}constructor(t,e,i){super(),this.callSetDisabledState=i,this._submitted=l((()=>this.submittedReactive())),this.submittedReactive=h(!1),this._directives=new Set,this.ngSubmit=new u,this.form=new Rt({},st(t),ot(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){ne.then((()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),Lt(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)}))}getControl(t){return this.form.get(t.path)}removeControl(t){ne.then((()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),this._directives.delete(t)}))}addFormGroup(t){ne.then((()=>{const e=this._findContainer(t.path),i=new Rt({});Xt(i,t),e.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})}))}removeFormGroup(t){ne.then((()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)}))}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){ne.then((()=>{this.form.get(t.path).setValue(e)}))}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),te(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static{this.ɵfac=function(e){return new(e||se)(t.ɵɵdirectiveInject(U,10),t.ɵɵdirectiveInject(G,10),t.ɵɵdirectiveInject(qt,8))}}static{this.ɵdir=t.ɵɵdefineDirective({type:se,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&t.ɵɵlistener("submit",(function(t){return i.onSubmit(t)}))("reset",(function(){return i.onReset()}))},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t.ɵɵProvidersFeature([ie]),t.ɵɵInheritDefinitionFeature]})}}function re(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}function oe(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const ae=class extends Tt{constructor(t=null,e,i){super(Pt(e),Mt(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),kt(e)&&(e.nonNullable||e.initialValueIsDefault)&&(oe(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach((t=>t(this.value,!1!==e.emitViewToModelChange))),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){re(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){re(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange))&&(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0)}_applyFormState(t){oe(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},le=ae,he=t=>t instanceof ae;class ue extends mt{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return $t(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(ue)))(i||ue)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:ue,features:[t.ɵɵInheritDefinitionFeature]})}}const ce={provide:mt,useExisting:n((()=>de))};class de extends ue{constructor(t,e,i){super(),this.name="",this._parent=t,this._setValidators(e),this._setAsyncValidators(i)}_checkParentType(){!(this._parent instanceof de)&&this._parent,0}static{this.ɵfac=function(e){return new(e||de)(t.ɵɵdirectiveInject(mt,5),t.ɵɵdirectiveInject(U,10),t.ɵɵdirectiveInject(G,10))}}static{this.ɵdir=t.ɵɵdefineDirective({type:de,selectors:[["","ngModelGroup",""]],inputs:{name:[0,"ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[t.ɵɵProvidersFeature([ce]),t.ɵɵInheritDefinitionFeature]})}}const pe={provide:ft,useExisting:n((()=>me))},ge=Promise.resolve();class me extends ft{constructor(t,e,i,n,s,r){super(),this._changeDetectorRef=s,this.callSetDisabledState=r,this.control=new ae,this._registered=!1,this.name="",this.update=new u,this._parent=t,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=ee(0,n)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const e=t.name.previousValue;this.formDirective.removeControl({name:e,path:this._getPath(e)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),Yt(t,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(t){this.viewModel=t,this.update.emit(t)}_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(){Lt(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){0}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){ge.then((()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()}))}_updateDisabled(t){const e=t.isDisabled.currentValue,i=0!==e&&g(e);ge.then((()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()}))}_getPath(t){return this._parent?$t(t,this._parent):[t]}static{this.ɵfac=function(e){return new(e||me)(t.ɵɵdirectiveInject(mt,9),t.ɵɵdirectiveInject(U,10),t.ɵɵdirectiveInject(G,10),t.ɵɵdirectiveInject(x,10),t.ɵɵdirectiveInject(m,8),t.ɵɵdirectiveInject(qt,8))}}static{this.ɵdir=t.ɵɵdefineDirective({type:me,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[t.ɵɵProvidersFeature([pe]),t.ɵɵInheritDefinitionFeature,t.ɵɵNgOnChangesFeature]})}}class fe{static{this.ɵfac=function(t){return new(t||fe)}}static{this.ɵdir=t.ɵɵdefineDirective({type:fe,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}const _e={provide:x,useExisting:n((()=>ve)),multi:!0};class ve extends S{writeValue(t){const e=null==t?"":t;this.setProperty("value",e)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(ve)))(i||ve)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:ve,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,i){1&e&&t.ɵɵlistener("input",(function(t){return i.onChange(t.target.value)}))("blur",(function(){return i.onTouched()}))},features:[t.ɵɵProvidersFeature([_e]),t.ɵɵInheritDefinitionFeature]})}}const ye={provide:x,useExisting:n((()=>Ve)),multi:!0};class Ce{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach((e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)}))}_isSameGroup(t,e){return!!t[0].control&&(t[0]._parent===e._control._parent&&t[1].name===e.name)}static{this.ɵfac=function(t){return new(t||Ce)}}static{this.ɵprov=t.ɵɵdefineInjectable({token:Ce,factory:Ce.ɵfac,providedIn:"root"})}}class Ve extends S{constructor(t,e,i,n){super(t,e),this._registry=i,this._injector=n,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=v(qt,{optional:!0})??zt}ngOnInit(){this._control=this._injector.get(ft),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this.setProperty("checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}setDisabledState(t){(this.setDisabledStateFired||t||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",t),this.setDisabledStateFired=!0}fireUncheck(t){this.writeValue(t)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}static{this.ɵfac=function(e){return new(e||Ve)(t.ɵɵdirectiveInject(t.Renderer2),t.ɵɵdirectiveInject(t.ElementRef),t.ɵɵdirectiveInject(Ce),t.ɵɵdirectiveInject(t.Injector))}}static{this.ɵdir=t.ɵɵdefineDirective({type:Ve,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,i){1&e&&t.ɵɵlistener("change",(function(){return i.onChange()}))("blur",(function(){return i.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[t.ɵɵProvidersFeature([ye]),t.ɵɵInheritDefinitionFeature]})}}const be={provide:x,useExisting:n((()=>De)),multi:!0};class De extends S{writeValue(t){this.setProperty("value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(De)))(i||De)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:De,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,i){1&e&&t.ɵɵlistener("change",(function(t){return i.onChange(t.target.value)}))("input",(function(t){return i.onChange(t.target.value)}))("blur",(function(){return i.onTouched()}))},features:[t.ɵɵProvidersFeature([be]),t.ɵɵInheritDefinitionFeature]})}}const Ae=new i(""),Ee={provide:ft,useExisting:n((()=>we))};class we extends ft{set isDisabled(t){0}static{this._ngModelWarningSentOnce=!1}constructor(t,e,i,n,s){super(),this._ngModelWarningConfig=n,this.callSetDisabledState=s,this.update=new u,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(e),this.valueAccessor=ee(0,i)}ngOnChanges(t){if(this._isControlChanged(t)){const e=t.form.previousValue;e&&Zt(e,this,!1),Lt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Yt(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Zt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}static{this.ɵfac=function(e){return new(e||we)(t.ɵɵdirectiveInject(U,10),t.ɵɵdirectiveInject(G,10),t.ɵɵdirectiveInject(x,10),t.ɵɵdirectiveInject(Ae,8),t.ɵɵdirectiveInject(qt,8))}}static{this.ɵdir=t.ɵɵdefineDirective({type:we,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[t.ɵɵProvidersFeature([Ee]),t.ɵɵInheritDefinitionFeature,t.ɵɵNgOnChangesFeature]})}}const Fe={provide:mt,useExisting:n((()=>Ie))};class Ie extends mt{get submitted(){return a(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}constructor(t,e,i){super(),this.callSetDisabledState=i,this._submitted=l((()=>this._submittedReactive())),this._submittedReactive=h(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new u,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Kt(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange((()=>{})))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return Lt(e,t,this.callSetDisabledState),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){Zt(t.control||null,t,!1),function(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this._submittedReactive.set(!0),te(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new St(this.control)),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this._submittedReactive.set(!1),this.form._events.next(new xt(this.form))}_updateDomValue(){this.directives.forEach((t=>{const e=t.control,i=this.form.get(t.path);e!==i&&(Zt(e||null,t),he(i)&&(Lt(i,t,this.callSetDisabledState),t.control=i))})),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);Xt(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);if(e){const i=function(t,e){return Kt(t,e)}(e,t);i&&e.updateValueAndValidity({emitEvent:!1})}}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange((()=>{}))}_updateValidators(){Jt(this.form,this),this._oldForm&&Kt(this._oldForm,this)}_checkFormPresent(){this.form,0}static{this.ɵfac=function(e){return new(e||Ie)(t.ɵɵdirectiveInject(U,10),t.ɵɵdirectiveInject(G,10),t.ɵɵdirectiveInject(qt,8))}}static{this.ɵdir=t.ɵɵdefineDirective({type:Ie,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&t.ɵɵlistener("submit",(function(t){return i.onSubmit(t)}))("reset",(function(){return i.onReset()}))},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t.ɵɵProvidersFeature([Fe]),t.ɵɵInheritDefinitionFeature,t.ɵɵNgOnChangesFeature]})}}const Oe={provide:mt,useExisting:n((()=>Se))};class Se extends ue{constructor(t,e,i){super(),this.name=null,this._parent=t,this._setValidators(e),this._setAsyncValidators(i)}_checkParentType(){Me(this._parent),0}static{this.ɵfac=function(e){return new(e||Se)(t.ɵɵdirectiveInject(mt,13),t.ɵɵdirectiveInject(U,10),t.ɵɵdirectiveInject(G,10))}}static{this.ɵdir=t.ɵɵdefineDirective({type:Se,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},features:[t.ɵɵProvidersFeature([Oe]),t.ɵɵInheritDefinitionFeature]})}}const xe={provide:mt,useExisting:n((()=>Pe))};class Pe extends mt{constructor(t,e,i){super(),this.name=null,this._parent=t,this._setValidators(e),this._setAsyncValidators(i)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return $t(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Me(this._parent),0}static{this.ɵfac=function(e){return new(e||Pe)(t.ɵɵdirectiveInject(mt,13),t.ɵɵdirectiveInject(U,10),t.ɵɵdirectiveInject(G,10))}}static{this.ɵdir=t.ɵɵdefineDirective({type:Pe,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},features:[t.ɵɵProvidersFeature([xe]),t.ɵɵInheritDefinitionFeature]})}}function Me(t){return!(t instanceof Se||t instanceof Ie||t instanceof Pe)}const ke={provide:ft,useExisting:n((()=>je))};class je extends ft{set isDisabled(t){0}static{this._ngModelWarningSentOnce=!1}constructor(t,e,i,n,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new u,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=ee(0,n)}ngOnChanges(t){this._added||this._setUpControl(),Yt(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return $t(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static{this.ɵfac=function(e){return new(e||je)(t.ɵɵdirectiveInject(mt,13),t.ɵɵdirectiveInject(U,10),t.ɵɵdirectiveInject(G,10),t.ɵɵdirectiveInject(x,10),t.ɵɵdirectiveInject(Ae,8))}}static{this.ɵdir=t.ɵɵdefineDirective({type:je,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[t.ɵɵProvidersFeature([ke]),t.ɵɵInheritDefinitionFeature,t.ɵɵNgOnChangesFeature]})}}const Ne={provide:x,useExisting:n((()=>Re)),multi:!0};function Te(t,e){return null==t?`${e}`:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}class Re extends S{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const e=Te(this._getOptionId(t),t);this.setProperty("value",e)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of this._optionMap.keys())if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(Re)))(i||Re)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:Re,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,i){1&e&&t.ɵɵlistener("change",(function(t){return i.onChange(t.target.value)}))("blur",(function(){return i.onTouched()}))},inputs:{compareWith:"compareWith"},features:[t.ɵɵProvidersFeature([Ne]),t.ɵɵInheritDefinitionFeature]})}}class Ue{constructor(t,e,i){this._element=t,this._renderer=e,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(Te(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.ɵfac=function(e){return new(e||Ue)(t.ɵɵdirectiveInject(t.ElementRef),t.ɵɵdirectiveInject(t.Renderer2),t.ɵɵdirectiveInject(Re,9))}}static{this.ɵdir=t.ɵɵdefineDirective({type:Ue,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}const Ge={provide:x,useExisting:n((()=>We)),multi:!0};function Be(t,e){return null==t?`${e}`:("string"==typeof e&&(e=`'${e}'`),e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}class We extends S{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const i=t.map((t=>this._getOptionId(t)));e=(t,e)=>{t._setSelected(i.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const i=[],n=e.selectedOptions;if(void 0!==n){const t=n;for(let e=0;e<t.length;e++){const n=t[e],s=this._getOptionValue(n.value);i.push(s)}}else{const t=e.options;for(let e=0;e<t.length;e++){const n=t[e];if(n.selected){const t=this._getOptionValue(n.value);i.push(t)}}}this.value=i,t(i)}}_registerOption(t){const e=(this._idCounter++).toString();return this._optionMap.set(e,t),e}_getOptionId(t){for(const e of this._optionMap.keys())if(this._compareWith(this._optionMap.get(e)._value,t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(We)))(i||We)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:We,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,i){1&e&&t.ɵɵlistener("change",(function(t){return i.onChange(t.target)}))("blur",(function(){return i.onTouched()}))},inputs:{compareWith:"compareWith"},features:[t.ɵɵProvidersFeature([Ge]),t.ɵɵInheritDefinitionFeature]})}}class qe{constructor(t,e,i){this._element=t,this._renderer=e,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(Be(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(Be(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.ɵfac=function(e){return new(e||qe)(t.ɵɵdirectiveInject(t.ElementRef),t.ɵɵdirectiveInject(t.Renderer2),t.ɵɵdirectiveInject(We,9))}}static{this.ɵdir=t.ɵɵdefineDirective({type:qe,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}function ze(t){return"number"==typeof t?t:parseInt(t,10)}function $e(t){return"number"==typeof t?t:parseFloat(t)}class Le{constructor(){this._validator=Q}ngOnChanges(t){if(this.inputName in t){const e=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(e),this._validator=this._enabled?this.createValidator(e):Q,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return null!=t}static{this.ɵfac=function(t){return new(t||Le)}}static{this.ɵdir=t.ɵɵdefineDirective({type:Le,features:[t.ɵɵNgOnChangesFeature]})}}const Ze={provide:U,useExisting:n((()=>He)),multi:!0};class He extends Le{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=t=>$e(t),this.createValidator=t=>z(t)}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(He)))(i||He)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:He,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(e,i){2&e&&t.ɵɵattribute("max",i._enabled?i.max:null)},inputs:{max:"max"},features:[t.ɵɵProvidersFeature([Ze]),t.ɵɵInheritDefinitionFeature]})}}const Je={provide:U,useExisting:n((()=>Ke)),multi:!0};class Ke extends Le{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=t=>$e(t),this.createValidator=t=>q(t)}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(Ke)))(i||Ke)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:Ke,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(e,i){2&e&&t.ɵɵattribute("min",i._enabled?i.min:null)},inputs:{min:"min"},features:[t.ɵɵProvidersFeature([Je]),t.ɵɵInheritDefinitionFeature]})}}const Qe={provide:U,useExisting:n((()=>Ye)),multi:!0},Xe={provide:U,useExisting:n((()=>ti)),multi:!0};class Ye extends Le{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=g,this.createValidator=t=>$}enabled(t){return t}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(Ye)))(i||Ye)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:Ye,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,i){2&e&&t.ɵɵattribute("required",i._enabled?"":null)},inputs:{required:"required"},features:[t.ɵɵProvidersFeature([Qe]),t.ɵɵInheritDefinitionFeature]})}}class ti extends Ye{constructor(){super(...arguments),this.createValidator=t=>L}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(ti)))(i||ti)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:ti,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(e,i){2&e&&t.ɵɵattribute("required",i._enabled?"":null)},features:[t.ɵɵProvidersFeature([Xe]),t.ɵɵInheritDefinitionFeature]})}}const ei={provide:U,useExisting:n((()=>ii)),multi:!0};class ii extends Le{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=g,this.createValidator=t=>Z}enabled(t){return t}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(ii)))(i||ii)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:ii,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[t.ɵɵProvidersFeature([ei]),t.ɵɵInheritDefinitionFeature]})}}const ni={provide:U,useExisting:n((()=>si)),multi:!0};class si extends Le{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=t=>ze(t),this.createValidator=t=>H(t)}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(si)))(i||si)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:si,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(e,i){2&e&&t.ɵɵattribute("minlength",i._enabled?i.minlength:null)},inputs:{minlength:"minlength"},features:[t.ɵɵProvidersFeature([ni]),t.ɵɵInheritDefinitionFeature]})}}const ri={provide:U,useExisting:n((()=>oi)),multi:!0};class oi extends Le{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=t=>ze(t),this.createValidator=t=>J(t)}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(oi)))(i||oi)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:oi,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,i){2&e&&t.ɵɵattribute("maxlength",i._enabled?i.maxlength:null)},inputs:{maxlength:"maxlength"},features:[t.ɵɵProvidersFeature([ri]),t.ɵɵInheritDefinitionFeature]})}}const ai={provide:U,useExisting:n((()=>li)),multi:!0};class li extends Le{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=t=>t,this.createValidator=t=>K(t)}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(li)))(i||li)}})()}static{this.ɵdir=t.ɵɵdefineDirective({type:li,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,i){2&e&&t.ɵɵattribute("pattern",i._enabled?i.pattern:null)},inputs:{pattern:"pattern"},features:[t.ɵɵProvidersFeature([ai]),t.ɵɵInheritDefinitionFeature]})}}class hi{static{this.ɵfac=function(t){return new(t||hi)}}static{this.ɵmod=t.ɵɵdefineNgModule({type:hi})}static{this.ɵinj=t.ɵɵdefineInjector({})}}class ui extends Tt{constructor(t,e,i){super(Pt(e),Mt(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,i={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(t,e={}){let i=this._adjustIndex(t);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange((()=>{})),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,i={}){let n=this._adjustIndex(t);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange((()=>{})),this.controls.splice(n,1),e&&(this.controls.splice(n,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){Nt(this,0,t),t.forEach(((t,i)=>{jt(this,!1,i),this.at(i).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach(((t,i)=>{this.at(i)&&this.at(i).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild(((i,n)=>{i.reset(t[n],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map((t=>t.getRawValue()))}clear(t={}){this.controls.length<1||(this._forEachChild((t=>t._registerOnCollectionChange((()=>{})))),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce(((t,e)=>!!e._syncPendingControls()||t),!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach(((e,i)=>{t(e,i)}))}_updateValue(){this.value=this.controls.filter((t=>t.enabled||this.disabled)).map((t=>t.value))}_anyControls(t){return this.controls.some((e=>e.enabled&&t(e)))}_setUpControls(){this._forEachChild((t=>this._registerControl(t)))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}}const ci=ui,di=t=>t instanceof ui;function pi(t){return!!t&&(void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn)}class gi{constructor(){this.useNonNullable=!1}get nonNullable(){const t=new gi;return t.useNonNullable=!0,t}group(t,e=null){const i=this._reduceControls(t);let n={};return pi(e)?n=e:null!==e&&(n.validators=e.validator,n.asyncValidators=e.asyncValidator),new Rt(i,n)}record(t,e=null){const i=this._reduceControls(t);return new Bt(i,e)}control(t,e,i){let n={};return this.useNonNullable?(pi(e)?n=e:(n.validators=e,n.asyncValidators=i),new ae(t,{...n,nonNullable:!0})):new ae(t,e,i)}array(t,e,i){const n=t.map((t=>this._createControl(t)));return new ui(n,e,i)}_reduceControls(t){const e={};return Object.keys(t).forEach((i=>{e[i]=this._createControl(t[i])})),e}_createControl(t){if(t instanceof ae)return t;if(t instanceof Tt)return t;if(Array.isArray(t)){const e=t[0],i=t.length>1?t[1]:null,n=t.length>2?t[2]:null;return this.control(e,i,n)}return this.control(t)}static{this.ɵfac=function(t){return new(t||gi)}}static{this.ɵprov=t.ɵɵdefineInjectable({token:gi,factory:gi.ɵfac,providedIn:"root"})}}class mi{static{this.ɵfac=function(t){return new(t||mi)}}static{this.ɵprov=t.ɵɵdefineInjectable({token:mi,factory:()=>v(gi).nonNullable,providedIn:"root"})}}class fi extends gi{group(t,e=null){return super.group(t,e)}control(t,e,i){return super.control(t,e,i)}array(t,e,i){return super.array(t,e,i)}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=t.ɵɵgetInheritedFactory(fi)))(i||fi)}})()}static{this.ɵprov=t.ɵɵdefineInjectable({token:fi,factory:fi.ɵfac,providedIn:"root"})}}const _i=new V("18.2.11");class vi{static withConfig(t){return{ngModule:vi,providers:[{provide:qt,useValue:t.callSetDisabledState??zt}]}}static{this.ɵfac=function(t){return new(t||vi)}}static{this.ɵmod=t.ɵɵdefineNgModule({type:vi})}static{this.ɵinj=t.ɵɵdefineInjector({imports:[hi]})}}class yi{static withConfig(t){return{ngModule:yi,providers:[{provide:Ae,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:qt,useValue:t.callSetDisabledState??zt}]}}static{this.ɵfac=function(t){return new(t||yi)}}static{this.ɵmod=t.ɵɵdefineNgModule({type:yi})}static{this.ɵinj=t.ɵɵdefineInjector({imports:[hi]})}}export{Tt as AbstractControl,gt as AbstractControlDirective,ue as AbstractFormGroupDirective,j as COMPOSITION_BUFFER_MODE,M as CheckboxControlValueAccessor,ti as CheckboxRequiredValidator,mt as ControlContainer,Et as ControlEvent,N as DefaultValueAccessor,ii as EmailValidator,ui as FormArray,Pe as FormArrayName,gi as FormBuilder,ae as FormControl,we as FormControlDirective,je as FormControlName,Rt as FormGroup,Ie as FormGroupDirective,Se as FormGroupName,Bt as FormRecord,xt as FormResetEvent,St as FormSubmittedEvent,vi as FormsModule,oi as MaxLengthValidator,He as MaxValidator,si as MinLengthValidator,Ke as MinValidator,G as NG_ASYNC_VALIDATORS,U as NG_VALIDATORS,x as NG_VALUE_ACCESSOR,ft as NgControl,yt as NgControlStatus,Ct as NgControlStatusGroup,se as NgForm,me as NgModel,de as NgModelGroup,Ue as NgSelectOption,mi as NonNullableFormBuilder,ve as NumberValueAccessor,li as PatternValidator,Ft as PristineChangeEvent,Ve as RadioControlValueAccessor,De as RangeValueAccessor,yi as ReactiveFormsModule,Ye as RequiredValidator,Re as SelectControlValueAccessor,We as SelectMultipleControlValueAccessor,Ot as StatusChangeEvent,It as TouchedChangeEvent,ci as UntypedFormArray,fi as UntypedFormBuilder,le as UntypedFormControl,Ut as UntypedFormGroup,_i as VERSION,W as Validators,wt as ValueChangeEvent,di as isFormArray,he as isFormControl,Gt as isFormGroup,Wt as isFormRecord,hi as ɵInternalFormsSharedModule,fe as ɵNgNoValidate,qe as ɵNgSelectMultipleOption};
//# sourceMappingURL=angular-forms.min.js.map

@@ -1,2 +0,2 @@

/* esm-bundle - @angular/localize/init@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/localize/init@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import { ɵ$localize as _$localize } from '@angular/localize';

@@ -6,3 +6,3 @@ export { ɵ$localize as $localize } from '@angular/localize';

/**
* @license Angular v18.2.10
* @license Angular v18.2.11
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -9,0 +9,0 @@ * License: MIT

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/localize/init@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/localize/init@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import{ɵ$localize as l}from"@angular/localize";export{ɵ$localize as $localize}from"@angular/localize";globalThis.$localize=l;
//# sourceMappingURL=angular-localize-init.min.js.map

@@ -1,4 +0,4 @@

/* esm-bundle - @angular/localize@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/localize@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/**
* @license Angular v18.2.10
* @license Angular v18.2.11
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -5,0 +5,0 @@ * License: MIT

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/localize@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/localize@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
const t=":",e="|",n="@@",s="␟";let a;function i(t){a??=new TextEncoder;const e=a.encode(t),n=new DataView(e.buffer,e.byteOffset,e.byteLength);let s=o(n,e.length,0),i=o(n,e.length,102072);return 0!=s||0!=i&&1!=i||(s^=319790063,i^=-1801410264),BigInt.asUintN(32,BigInt(s))<<BigInt(32)|BigInt.asUintN(32,BigInt(i))}function r(t,e=""){let n=i(t);return e&&(n=BigInt.asUintN(64,n<<BigInt(1))|n>>BigInt(63)&BigInt(1),n+=i(e)),BigInt.asUintN(63,n).toString()}function o(t,e,n){let s=2654435769,a=2654435769,i=0;const r=e-12;for(;i<=r;i+=12){s+=t.getUint32(i,!0),a+=t.getUint32(i+4,!0);const e=c(s,a,n+=t.getUint32(i+8,!0));s=e[0],a=e[1],n=e[2]}const o=e-i;return n+=e,o>=4?(s+=t.getUint32(i,!0),i+=4,o>=8?(a+=t.getUint32(i,!0),i+=4,o>=9&&(n+=t.getUint8(i++)<<8),o>=10&&(n+=t.getUint8(i++)<<16),11===o&&(n+=t.getUint8(i++)<<24)):(o>=5&&(a+=t.getUint8(i++)),o>=6&&(a+=t.getUint8(i++)<<8),7===o&&(a+=t.getUint8(i++)<<16))):(o>=1&&(s+=t.getUint8(i++)),o>=2&&(s+=t.getUint8(i++)<<8),3===o&&(s+=t.getUint8(i++)<<16)),c(s,a,n)[2]}function c(t,e,n){return t-=e,t-=n,e-=n,e-=t^=n>>>13,n-=t,n-=e^=t<<8,t-=e,t-=n^=e>>>13,e-=n,e-=t^=n>>>12,n-=t,n-=e^=t<<16,t-=e,t-=n^=e>>>5,e-=n,e-=t^=n>>>3,n-=t,n-=e^=t<<10,[t,e,n^=e>>>15]}var l;function g(t,e,n,s,a=[]){const i={},o={},c={},l=u(t[0],t.raw[0]),g=[l.text],f=[];let m=l.text;for(let n=1;n<t.length;n++){const{messagePart:s,placeholderName:r=h(n),associatedMessageId:l}=d(t[n],t.raw[n]);m+=`{$${r}}${s}`,void 0!==e&&(i[r]=e[n-1],o[r]=a[n-1]),f.push(r),void 0!==l&&(c[r]=l),g.push(s)}const p=l.customId||r(m,l.meaning||""),I=l.legacyIds?l.legacyIds.filter((t=>t!==p)):[];return{id:p,legacyIds:I,substitutions:i,substitutionLocations:o,text:m,customId:l.customId,meaning:l.meaning||"",description:l.description||"",messageParts:g,messagePartLocations:s,placeholderNames:f,associatedMessageIds:c,location:n}}function u(t,a){const{text:i,block:r}=f(t,a);if(void 0===r)return{text:i};{const[t,...a]=r.split(s),[o,c]=t.split(n,2);let[l,g]=o.split(e,2);return void 0===g&&(g=l,l=void 0),""===g&&(g=void 0),{text:i,meaning:l,description:g,customId:c,legacyIds:a}}}function d(t,e){const{text:s,block:a}=f(t,e);if(void 0===a)return{messagePart:s};{const[t,e]=a.split(n);return{messagePart:s,placeholderName:t,associatedMessageId:e}}}function f(e,n){if(n.charAt(0)!==t)return{text:e};{const t=m(e,n);return{block:e.substring(1,t),text:e.substring(t+1)}}}function h(t){return 1===t?"PH":"PH_"+(t-1)}function m(e,n){for(let s=1,a=1;s<e.length;s++,a++)if("\\"===n[a])a++;else if(e[s]===t)return s;throw new Error(`Unterminated $localize metadata block in "${n}".`)}!function(t){t[t.Little=0]="Little",t[t.Big=1]="Big"}(l||(l={}));class p extends Error{constructor(t){super(`No translation found for ${U(t)}.`),this.parsedMessage=t,this.type="MissingTranslationError"}}function I(t){return"MissingTranslationError"===t.type}function $(t,e,n){const s=g(e,n);let a=t[s.id];if(void 0!==s.legacyIds)for(let e=0;e<s.legacyIds.length&&void 0===a;e++)a=t[s.legacyIds[e]];if(void 0===a)throw new p(s);return[a.messageParts,a.placeholderNames.map((t=>{if(s.substitutions.hasOwnProperty(t))return s.substitutions[t];throw new Error(`There is a placeholder name mismatch with the translation provided for the message ${U(s)}.\nThe translation contains a placeholder with name ${t}, which does not exist in the message.`)}))]}function N(e){const n=e.split(/{\$([^}]*)}/),s=[n[0]],a=[];for(let t=1;t<n.length-1;t+=2)a.push(n[t]),s.push(`${n[t+1]}`);const i=s.map((e=>e.charAt(0)===t?"\\"+e:e));return{text:e,messageParts:w(s,i),placeholderNames:a}}function T(t,e=[]){let n=t[0];for(let s=0;s<e.length;s++)n+=`{$${e[s]}}${t[s+1]}`;return{text:n,messageParts:w(t,t),placeholderNames:e}}function w(t,e){return Object.defineProperty(t,"raw",{value:e}),t}function U(t){const e=t.meaning&&` - "${t.meaning}"`,n=t.legacyIds&&t.legacyIds.length>0?` [${t.legacyIds.map((t=>`"${t}"`)).join(", ")}]`:"";return`"${t.id}"${n} ("${t.text}"${e})`}function y(t){$localize.translate||($localize.translate=x),$localize.TRANSLATIONS||($localize.TRANSLATIONS={}),Object.keys(t).forEach((e=>{$localize.TRANSLATIONS[e]=N(t[e])}))}function b(){$localize.translate=void 0,$localize.TRANSLATIONS={}}function x(t,e){try{return $($localize.TRANSLATIONS,t,e)}catch(n){return console.warn(n.message),[t,e]}}const v=function(t,...e){if(v.translate){const n=v.translate(t,e);t=n[0],e=n[1]}let n=A(t[0],t.raw[0]);for(let s=1;s<t.length;s++)n+=e[s-1]+A(t[s],t.raw[s]);return n},B=":";function A(t,e){return e.charAt(0)===B?t.substring(m(t,e)+1):t}export{b as clearTranslations,y as loadTranslations,v as ɵ$localize,p as ɵMissingTranslationError,r as ɵcomputeMsgId,m as ɵfindEndOfBlock,I as ɵisMissingTranslationError,T as ɵmakeParsedTranslation,w as ɵmakeTemplateObject,g as ɵparseMessage,u as ɵparseMetadata,N as ɵparseTranslation,f as ɵsplitBlock,$ as ɵtranslate};
//# sourceMappingURL=angular-localize.min.js.map

@@ -1,2 +0,2 @@

/* esm-bundle - @angular/platform-browser/animations/async@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/platform-browser/animations/async@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import { DOCUMENT } from '@angular/common';

@@ -8,3 +8,3 @@ import * as i0 from '@angular/core';

/**
* @license Angular v18.2.10
* @license Angular v18.2.11
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -11,0 +11,0 @@ * License: MIT

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/platform-browser/animations/async@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/platform-browser/animations/async@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import{DOCUMENT as e}from"@angular/common";import*as t from"@angular/core";import{inject as r,ɵChangeDetectionScheduler as s,ɵRuntimeError as n,Injectable as i,InjectionToken as a,ɵperformanceMarkFeature as o,makeEnvironmentProviders as l,RendererFactory2 as h,NgZone as d,ANIMATION_MODULE_TYPE as c}from"@angular/core";import{ɵDomRendererFactory2 as u}from"@angular/platform-browser";class g{constructor(e,t,n,i,a){this.doc=e,this.delegate=t,this.zone=n,this.animationType=i,this.moduleImpl=a,this._rendererFactoryPromise=null,this.scheduler=r(s,{optional:!0}),this.loadingSchedulerFn=r(p,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){const e=()=>this.moduleImpl??import("@angular/animations/browser").then((e=>e));let t;return t=this.loadingSchedulerFn?this.loadingSchedulerFn(e):e(),t.catch((e=>{throw new n(5300,!1)})).then((({ɵcreateEngine:e,ɵAnimationRendererFactory:t})=>{this._engine=e(this.animationType,this.doc);const r=new t(this.delegate,this._engine,this.zone);return this.delegate=r,r}))}createRenderer(e,t){const r=this.delegate.createRenderer(e,t);if(0===r.ɵtype)return r;"boolean"==typeof r.throwOnSyntheticProps&&(r.throwOnSyntheticProps=!1);const s=new m(r);return t?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then((r=>{const n=r.createRenderer(e,t);s.use(n),this.scheduler?.notify(10)})).catch((e=>{s.use(r)})),s}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}static{this.ɵfac=function(e){t.ɵɵinvalidFactory()}}static{this.ɵprov=t.ɵɵdefineInjectable({token:g,factory:g.ɵfac})}}class m{constructor(e){this.delegate=e,this.replay=[],this.ɵtype=1}use(e){if(this.delegate=e,null!==this.replay){for(const t of this.replay)t(e);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}get destroyNode(){return this.delegate.destroyNode}appendChild(e,t){this.delegate.appendChild(e,t)}insertBefore(e,t,r,s){this.delegate.insertBefore(e,t,r,s)}removeChild(e,t,r){this.delegate.removeChild(e,t,r)}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,r,s){this.delegate.setAttribute(e,t,r,s)}removeAttribute(e,t,r){this.delegate.removeAttribute(e,t,r)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,r,s){this.delegate.setStyle(e,t,r,s)}removeStyle(e,t,r){this.delegate.removeStyle(e,t,r)}setProperty(e,t,r){this.shouldReplay(t)&&this.replay.push((s=>s.setProperty(e,t,r))),this.delegate.setProperty(e,t,r)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,r){return this.shouldReplay(t)&&this.replay.push((s=>s.listen(e,t,r))),this.delegate.listen(e,t,r)}shouldReplay(e){return null!==this.replay&&e.startsWith("@")}}const p=new a("");function y(t="animations"){return o("NgAsyncAnimations"),l([{provide:h,useFactory:(e,r,s)=>new g(e,r,s,t),deps:[e,u,d]},{provide:c,useValue:"noop"===t?"NoopAnimations":"BrowserAnimations"}])}export{y as provideAnimationsAsync,p as ɵASYNC_ANIMATION_LOADING_SCHEDULER_FN,g as ɵAsyncAnimationRendererFactory};
//# sourceMappingURL=angular-platform-browser-animations-async.min.js.map

@@ -1,2 +0,2 @@

/* esm-bundle - @angular/platform-browser/animations@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/platform-browser/animations@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import * as i0 from '@angular/core';

@@ -11,3 +11,3 @@ import { Injectable, Inject, NgModule, ANIMATION_MODULE_TYPE, ɵperformanceMarkFeature as _performanceMarkFeature, RendererFactory2, NgZone } from '@angular/core';

/**
* @license Angular v18.2.10
* @license Angular v18.2.11
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -14,0 +14,0 @@ * License: MIT

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/platform-browser/animations@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/platform-browser/animations@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import*as r from"@angular/core";import{Injectable as e,Inject as n,NgModule as t,ANIMATION_MODULE_TYPE as i,ɵperformanceMarkFeature as o,RendererFactory2 as a,NgZone as s}from"@angular/core";export{ANIMATION_MODULE_TYPE}from"@angular/core";import{BrowserModule as c,ɵDomRendererFactory2 as m}from"@angular/platform-browser";import*as u from"@angular/animations/browser";import{ɵAnimationEngine as f,AnimationDriver as l,ɵWebAnimationsDriver as p,NoopAnimationDriver as d,ɵAnimationStyleNormalizer as g,ɵWebAnimationsStyleNormalizer as A,ɵAnimationRendererFactory as v}from"@angular/animations/browser";import{DOCUMENT as y}from"@angular/common";class h extends f{constructor(r,e,n){super(r,e,n)}ngOnDestroy(){this.flush()}static{this.ɵfac=function(e){return new(e||h)(r.ɵɵinject(y),r.ɵɵinject(u.AnimationDriver),r.ɵɵinject(u.ɵAnimationStyleNormalizer))}}static{this.ɵprov=r.ɵɵdefineInjectable({token:h,factory:h.ɵfac})}}const w=[{provide:g,useFactory:function(){return new A}},{provide:f,useClass:h},{provide:a,useFactory:function(r,e,n){return new v(r,e,n)},deps:[m,f,s]}],j=[{provide:l,useFactory:()=>new p},{provide:i,useValue:"BrowserAnimations"},...w],N=[{provide:l,useClass:d},{provide:i,useValue:"NoopAnimations"},...w];class b{static withConfig(r){return{ngModule:b,providers:r.disableAnimations?N:j}}static{this.ɵfac=function(r){return new(r||b)}}static{this.ɵmod=r.ɵɵdefineNgModule({type:b})}static{this.ɵinj=r.ɵɵdefineInjector({providers:j,imports:[c]})}}function F(){return o("NgEagerAnimations"),[...j]}class I{static{this.ɵfac=function(r){return new(r||I)}}static{this.ɵmod=r.ɵɵdefineNgModule({type:I})}static{this.ɵinj=r.ɵɵdefineInjector({providers:N,imports:[c]})}}function M(){return[...N]}export{b as BrowserAnimationsModule,I as NoopAnimationsModule,F as provideAnimations,M as provideNoopAnimations,h as ɵInjectableAnimationEngine};
//# sourceMappingURL=angular-platform-browser-animations.min.js.map

@@ -1,2 +0,2 @@

/* esm-bundle - @angular/platform-browser-dynamic@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/platform-browser-dynamic@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import * as i0 from '@angular/core';

@@ -9,3 +9,3 @@ import { createPlatformFactory, platformCore, COMPILER_OPTIONS, CompilerFactory, Injectable, Version, ViewEncapsulation, Injector, Compiler, PLATFORM_ID } from '@angular/core';

/**
* @license Angular v18.2.10
* @license Angular v18.2.11
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -164,3 +164,3 @@ * License: MIT

*/
const VERSION = new Version('18.2.10');
const VERSION = new Version('18.2.11');

@@ -167,0 +167,0 @@ /**

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/platform-browser-dynamic@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import*as e from"@angular/core";import{createPlatformFactory as t,platformCore as r,COMPILER_OPTIONS as o,CompilerFactory as s,Injectable as a,Version as n,ViewEncapsulation as i,Injector as p,Compiler as c,PLATFORM_ID as u}from"@angular/core";import{ResourceLoader as l,CompilerConfig as d}from"@angular/compiler";import{ɵPLATFORM_BROWSER_ID as f}from"@angular/common";import{ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS as m}from"@angular/platform-browser";const v=[{provide:c,useFactory:()=>new c}];class R{constructor(e){const t={defaultEncapsulation:i.Emulated};this._defaultOptions=[t,...e]}createCompiler(e=[]){const t={defaultEncapsulation:E((r=this._defaultOptions.concat(e)).map((e=>e.defaultEncapsulation))),providers:h(r.map((e=>e.providers))),preserveWhitespaces:E(r.map((e=>e.preserveWhitespaces)))};var r;return p.create({providers:[v,{provide:d,useFactory:()=>new d({defaultEncapsulation:t.defaultEncapsulation,preserveWhitespaces:t.preserveWhitespaces}),deps:[]},t.providers]}).get(c)}}function E(e){for(let t=e.length-1;t>=0;t--)if(void 0!==e[t])return e[t]}function h(e){const t=[];return e.forEach((e=>e&&t.push(...e))),t}const _=t(r,"coreDynamic",[{provide:o,useValue:{},multi:!0},{provide:s,useClass:R,deps:[o]}]);class O extends l{get(e){let t,r;const o=new Promise(((e,o)=>{t=e,r=o})),s=new XMLHttpRequest;return s.open("GET",e,!0),s.responseType="text",s.onload=function(){const o=s.response;let a=s.status;0===a&&(a=o?200:0),200<=a&&a<=300?t(o):r(`Failed to load ${e}`)},s.onerror=function(){r(`Failed to load ${e}`)},s.send(),o}static{this.ɵfac=(()=>{let t;return function(r){return(t||(t=e.ɵɵgetInheritedFactory(O)))(r||O)}})()}static{this.ɵprov=e.ɵɵdefineInjectable({token:O,factory:O.ɵfac})}}const g=[m,{provide:o,useValue:{providers:[{provide:l,useClass:O,deps:[]}]},multi:!0},{provide:u,useValue:f}],y=new n("18.2.10"),F=t(_,"browserDynamic",g);export{R as JitCompilerFactory,y as VERSION,F as platformBrowserDynamic,g as ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS,_ as ɵplatformCoreDynamic};
/* esm-bundle - @angular/platform-browser-dynamic@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import*as e from"@angular/core";import{createPlatformFactory as t,platformCore as r,COMPILER_OPTIONS as o,CompilerFactory as s,Injectable as a,Version as n,ViewEncapsulation as i,Injector as p,Compiler as c,PLATFORM_ID as u}from"@angular/core";import{ResourceLoader as l,CompilerConfig as d}from"@angular/compiler";import{ɵPLATFORM_BROWSER_ID as f}from"@angular/common";import{ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS as m}from"@angular/platform-browser";const v=[{provide:c,useFactory:()=>new c}];class R{constructor(e){const t={defaultEncapsulation:i.Emulated};this._defaultOptions=[t,...e]}createCompiler(e=[]){const t={defaultEncapsulation:E((r=this._defaultOptions.concat(e)).map((e=>e.defaultEncapsulation))),providers:h(r.map((e=>e.providers))),preserveWhitespaces:E(r.map((e=>e.preserveWhitespaces)))};var r;return p.create({providers:[v,{provide:d,useFactory:()=>new d({defaultEncapsulation:t.defaultEncapsulation,preserveWhitespaces:t.preserveWhitespaces}),deps:[]},t.providers]}).get(c)}}function E(e){for(let t=e.length-1;t>=0;t--)if(void 0!==e[t])return e[t]}function h(e){const t=[];return e.forEach((e=>e&&t.push(...e))),t}const _=t(r,"coreDynamic",[{provide:o,useValue:{},multi:!0},{provide:s,useClass:R,deps:[o]}]);class O extends l{get(e){let t,r;const o=new Promise(((e,o)=>{t=e,r=o})),s=new XMLHttpRequest;return s.open("GET",e,!0),s.responseType="text",s.onload=function(){const o=s.response;let a=s.status;0===a&&(a=o?200:0),200<=a&&a<=300?t(o):r(`Failed to load ${e}`)},s.onerror=function(){r(`Failed to load ${e}`)},s.send(),o}static{this.ɵfac=(()=>{let t;return function(r){return(t||(t=e.ɵɵgetInheritedFactory(O)))(r||O)}})()}static{this.ɵprov=e.ɵɵdefineInjectable({token:O,factory:O.ɵfac})}}const g=[m,{provide:o,useValue:{providers:[{provide:l,useClass:O,deps:[]}]},multi:!0},{provide:u,useValue:f}],y=new n("18.2.11"),F=t(_,"browserDynamic",g);export{R as JitCompilerFactory,y as VERSION,F as platformBrowserDynamic,g as ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS,_ as ɵplatformCoreDynamic};
//# sourceMappingURL=angular-platform-browser-dynamic.min.js.map

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/platform-browser@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import{isPlatformServer as e,DOCUMENT as t,ɵgetDOM as n,XhrFactory as s,CommonModule as r,ɵsetRootDomAdapter as o,ɵparseCookieValue as i,ɵPLATFORM_BROWSER_ID as a,ɵDomAdapter as c}from"@angular/common";export{ɵgetDOM}from"@angular/common";import*as l from"@angular/core";import{Injectable as u,InjectionToken as d,ɵRuntimeError as h,Inject as p,APP_ID as f,CSP_NONCE as m,PLATFORM_ID as y,Optional as g,ViewEncapsulation as v,RendererStyleFlags2 as w,createPlatformFactory as S,platformCore as E,ɵINJECTOR_SCOPE as T,ErrorHandler as C,NgZone as b,RendererFactory2 as A,ApplicationModule as R,NgModule as _,SkipSelf as I,ɵConsole as O,forwardRef as N,ɵXSS_SECURITY_URL as H,SecurityContext as D,ɵallowSanitizationBypassAndThrow as M,ɵunwrapSafeValue as L,ɵ_sanitizeUrl as j,ɵ_sanitizeHtml as k,ɵbypassSanitizationTrustHtml as x,ɵbypassSanitizationTrustStyle as P,ɵbypassSanitizationTrustScript as U,ɵbypassSanitizationTrustUrl as B,ɵbypassSanitizationTrustResourceUrl as z,Version as K,ɵglobal as $,ɵinternalCreateApplication as F,PLATFORM_INITIALIZER as Z,ɵTESTABILITY_GETTER as G,ɵTESTABILITY as V,Testability as q,TestabilityRegistry as W,ɵwithI18nSupport as Y,ɵwithEventReplay as X,makeEnvironmentProviders as J,ɵwithDomHydration as Q,ɵsetDocument as ee,ApplicationRef as te,ENVIRONMENT_INITIALIZER as ne,inject as se,ɵZONELESS_ENABLED as re,ɵformatRuntimeError as oe}from"@angular/core";import{ɵwithHttpTransferCache as ie}from"@angular/common/http";class ae extends c{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class ce extends ae{static makeCurrent(){o(new ce)}onAndCancel(e,t,n){return e.addEventListener(t,n),()=>{e.removeEventListener(t,n)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.remove()}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getBaseHref(e){const t=(le=le||document.querySelector("base"),le?le.getAttribute("href"):null);return null==t?null:new URL(t,document.baseURI).pathname}resetBaseElement(){le=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return i(document.cookie,e)}}let le=null;class ue{addToWindow(e){$.getAngularTestability=(t,n=!0)=>{const s=e.findTestabilityInTree(t,n);if(null==s)throw new h(5103,!1);return s},$.getAllAngularTestabilities=()=>e.getAllTestabilities(),$.getAllAngularRootElements=()=>e.getAllRootElements();$.frameworkStabilizers||($.frameworkStabilizers=[]),$.frameworkStabilizers.push((e=>{const t=$.getAllAngularTestabilities();let n=t.length;const s=function(){n--,0==n&&e()};t.forEach((e=>{e.whenStable(s)}))}))}findTestabilityInTree(e,t,s){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:s?n().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}class de{build(){return new XMLHttpRequest}static{this.ɵfac=function(e){return new(e||de)}}static{this.ɵprov=l.ɵɵdefineInjectable({token:de,factory:de.ɵfac})}}const he=new d("");class pe{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach((e=>{e.manager=this})),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find((t=>t.supports(e))),!t)throw new h(5101,!1);return this._eventNameToPlugin.set(e,t),t}static{this.ɵfac=function(e){return new(e||pe)(l.ɵɵinject(he),l.ɵɵinject(l.NgZone))}}static{this.ɵprov=l.ɵɵdefineInjectable({token:pe,factory:pe.ɵfac})}}class fe{constructor(e){this._doc=e}}const me="ng-app-id";class ye{constructor(t,n,s,r={}){this.doc=t,this.appId=n,this.nonce=s,this.platformId=r,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=e(r),this.resetHostNodes()}addStyles(e){for(const t of e){1===this.changeUsageCount(t,1)&&this.onStyleAdded(t)}}removeStyles(e){for(const t of e){this.changeUsageCount(t,-1)<=0&&this.onStyleRemoved(t)}}ngOnDestroy(){const e=this.styleNodesInDOM;e&&(e.forEach((e=>e.remove())),e.clear());for(const e of this.getAllStyles())this.onStyleRemoved(e);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const t of this.getAllStyles())this.addStyleToHost(e,t)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(const t of this.hostNodes)this.addStyleToHost(t,e)}onStyleRemoved(e){const t=this.styleRef;t.get(e)?.elements?.forEach((e=>e.remove())),t.delete(e)}collectServerRenderedStyles(){const e=this.doc.head?.querySelectorAll(`style[${me}="${this.appId}"]`);if(e?.length){const t=new Map;return e.forEach((e=>{null!=e.textContent&&t.set(e.textContent,e)})),t}return null}changeUsageCount(e,t){const n=this.styleRef;if(n.has(e)){const s=n.get(e);return s.usage+=t,s.usage}return n.set(e,{usage:t,elements:[]}),t}getStyleElement(e,t){const n=this.styleNodesInDOM,s=n?.get(t);if(s?.parentNode===e)return n.delete(t),s.removeAttribute(me),s;{const n=this.doc.createElement("style");return this.nonce&&n.setAttribute("nonce",this.nonce),n.textContent=t,this.platformIsServer&&n.setAttribute(me,this.appId),e.appendChild(n),n}}addStyleToHost(e,t){const n=this.getStyleElement(e,t),s=this.styleRef,r=s.get(t)?.elements;r?r.push(n):s.set(t,{elements:[n],usage:1})}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}static{this.ɵfac=function(e){return new(e||ye)(l.ɵɵinject(t),l.ɵɵinject(f),l.ɵɵinject(m,8),l.ɵɵinject(y))}}static{this.ɵprov=l.ɵɵdefineInjectable({token:ye,factory:ye.ɵfac})}}const ge={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"},ve=/%COMP%/g,we="%COMP%",Se=`_nghost-${we}`,Ee=`_ngcontent-${we}`,Te=new d("",{providedIn:"root",factory:()=>true});function Ce(e,t){return t.map((t=>t.replace(ve,e)))}class be{constructor(t,n,s,r,o,i,a,c=null){this.eventManager=t,this.sharedStylesHost=n,this.appId=s,this.removeStylesOnCompDestroy=r,this.doc=o,this.platformId=i,this.ngZone=a,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=e(i),this.defaultRenderer=new Ae(t,o,a,this.platformIsServer)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;this.platformIsServer&&t.encapsulation===v.ShadowDom&&(t={...t,encapsulation:v.Emulated});const n=this.getOrCreateRenderer(e,t);return n instanceof Oe?n.applyToHost(e):n instanceof Ie&&n.applyStyles(),n}getOrCreateRenderer(e,t){const n=this.rendererByCompId;let s=n.get(t.id);if(!s){const r=this.doc,o=this.ngZone,i=this.eventManager,a=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,l=this.platformIsServer;switch(t.encapsulation){case v.Emulated:s=new Oe(i,a,t,this.appId,c,r,o,l);break;case v.ShadowDom:return new _e(i,a,e,t,r,o,this.nonce,l);default:s=new Ie(i,a,t,c,r,o,l)}n.set(t.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}static{this.ɵfac=function(e){return new(e||be)(l.ɵɵinject(pe),l.ɵɵinject(ye),l.ɵɵinject(f),l.ɵɵinject(Te),l.ɵɵinject(t),l.ɵɵinject(y),l.ɵɵinject(l.NgZone),l.ɵɵinject(m))}}static{this.ɵprov=l.ɵɵdefineInjectable({token:be,factory:be.ɵfac})}}class Ae{constructor(e,t,n,s){this.eventManager=e,this.doc=t,this.ngZone=n,this.platformIsServer=s,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,t){return t?this.doc.createElementNS(ge[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(Re(e)?e.content:e).appendChild(t)}insertBefore(e,t,n){if(e){(Re(e)?e.content:e).insertBefore(t,n)}}removeChild(e,t){t.remove()}selectRootElement(e,t){let n="string"==typeof e?this.doc.querySelector(e):e;if(!n)throw new h(-5104,!1);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,s){if(s){t=s+":"+t;const r=ge[s];r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const s=ge[n];s?e.removeAttributeNS(s,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,s){s&(w.DashCase|w.Important)?e.style.setProperty(t,n,s&w.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&w.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){null!=e&&(e[t]=n)}setValue(e,t){e.nodeValue=t}listen(e,t,s){if("string"==typeof e&&!(e=n().getGlobalEventTarget(this.doc,e)))throw new Error(`Unsupported event target ${e} for event ${t}`);return this.eventManager.addEventListener(e,t,this.decoratePreventDefault(s))}decoratePreventDefault(e){return t=>{if("__ngUnwrap__"===t)return e;!1===(this.platformIsServer?this.ngZone.runGuarded((()=>e(t))):e(t))&&t.preventDefault()}}}"@".charCodeAt(0);function Re(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class _e extends Ae{constructor(e,t,n,s,r,o,i,a){super(e,r,o,a),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=Ce(s.id,s.styles);for(const e of c){const t=document.createElement("style");i&&t.setAttribute("nonce",i),t.textContent=e,this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(null,t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Ie extends Ae{constructor(e,t,n,s,r,o,i,a){super(e,r,o,i),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=s,this.styles=a?Ce(a,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Oe extends Ie{constructor(e,t,n,s,r,o,i,a){const c=s+"-"+n.id;var l;super(e,t,n,r,o,i,a,c),this.contentAttr=(l=c,Ee.replace(ve,l)),this.hostAttr=function(e){return Se.replace(ve,e)}(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class Ne extends fe{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}static{this.ɵfac=function(e){return new(e||Ne)(l.ɵɵinject(t))}}static{this.ɵprov=l.ɵɵdefineInjectable({token:Ne,factory:Ne.ɵfac})}}const He=["alt","control","meta","shift"],De={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Me={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};class Le extends fe{constructor(e){super(e)}supports(e){return null!=Le.parseEventName(e)}addEventListener(e,t,s){const r=Le.parseEventName(t),o=Le.eventCallback(r.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>n().onAndCancel(e,r.domEventName,o)))}static parseEventName(e){const t=e.toLowerCase().split("."),n=t.shift();if(0===t.length||"keydown"!==n&&"keyup"!==n)return null;const s=Le._normalizeKey(t.pop());let r="",o=t.indexOf("code");if(o>-1&&(t.splice(o,1),r="code."),He.forEach((e=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),r+=e+".")})),r+=s,0!=t.length||0===s.length)return null;const i={};return i.domEventName=n,i.fullKey=r,i}static matchEventFullKeyCode(e,t){let n=De[e.key]||e.key,s="";return t.indexOf("code.")>-1&&(n=e.code,s="code."),!(null==n||!n)&&(n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),He.forEach((t=>{if(t!==n){(0,Me[t])(e)&&(s+=t+".")}})),s+=n,s===t)}static eventCallback(e,t,n){return s=>{Le.matchEventFullKeyCode(s,e)&&n.runGuarded((()=>t(s)))}}static _normalizeKey(e){return"esc"===e?"escape":e}static{this.ɵfac=function(e){return new(e||Le)(l.ɵɵinject(t))}}static{this.ɵprov=l.ɵɵdefineInjectable({token:Le,factory:Le.ɵfac})}}function je(e,t){return F({rootComponent:e,...xe(t)})}function ke(e){return F(xe(e))}function xe(e){return{appProviders:[...Fe,...e?.providers??[]],platformProviders:Be}}function Pe(){return[...$e]}function Ue(){ce.makeCurrent()}const Be=[{provide:y,useValue:a},{provide:Z,useValue:Ue,multi:!0},{provide:t,useFactory:function(){return ee(document),document},deps:[]}],ze=S(E,"browser",Be),Ke=new d(""),$e=[{provide:G,useClass:ue,deps:[]},{provide:V,useClass:q,deps:[b,W,G]},{provide:q,useClass:q,deps:[b,W,G]}],Fe=[{provide:T,useValue:"root"},{provide:C,useFactory:function(){return new C},deps:[]},{provide:he,useClass:Ne,multi:!0,deps:[t,b,y]},{provide:he,useClass:Le,multi:!0,deps:[t]},be,ye,pe,{provide:A,useExisting:be},{provide:s,useClass:de,deps:[]},[]];class Ze{constructor(e){0}static withServerTransition(e){return{ngModule:Ze,providers:[{provide:f,useValue:e.appId}]}}static{this.ɵfac=function(e){return new(e||Ze)(l.ɵɵinject(Ke,12))}}static{this.ɵmod=l.ɵɵdefineNgModule({type:Ze})}static{this.ɵinj=l.ɵɵdefineInjector({providers:[...Fe,...$e],imports:[r,R]})}}class Ge{constructor(e){this._doc=e,this._dom=n()}addTag(e,t=!1){return e?this._getOrCreateElement(e,t):null}addTags(e,t=!1){return e?e.reduce(((e,n)=>(n&&e.push(this._getOrCreateElement(n,t)),e)),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];const t=this._doc.querySelectorAll(`meta[${e}]`);return t?[].slice.call(t):[]}updateTag(e,t){if(!e)return null;t=t||this._parseSelector(e);const n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,t=!1){if(!t){const t=this._parseSelector(e),n=this.getTags(t).filter((t=>this._containsAttributes(e,t)))[0];if(void 0!==n)return n}const n=this._dom.createElement("meta");this._setMetaElementAttributes(e,n);return this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(e,t){return Object.keys(e).forEach((n=>t.setAttribute(this._getMetaKeyMap(n),e[n]))),t}_parseSelector(e){const t=e.name?"name":"property";return`${t}="${e[t]}"`}_containsAttributes(e,t){return Object.keys(e).every((n=>t.getAttribute(this._getMetaKeyMap(n))===e[n]))}_getMetaKeyMap(e){return Ve[e]||e}static{this.ɵfac=function(e){return new(e||Ge)(l.ɵɵinject(t))}}static{this.ɵprov=l.ɵɵdefineInjectable({token:Ge,factory:Ge.ɵfac,providedIn:"root"})}}const Ve={httpEquiv:"http-equiv"};class qe{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static{this.ɵfac=function(e){return new(e||qe)(l.ɵɵinject(t))}}static{this.ɵprov=l.ɵɵdefineInjectable({token:qe,factory:qe.ɵfac,providedIn:"root"})}}function We(e,t){if("undefined"==typeof COMPILED||!COMPILED){($.ng=$.ng||{})[e]=t}}class Ye{constructor(e,t){this.msPerTick=e,this.numTicks=t}}class Xe{constructor(e){this.appRef=e.injector.get(te)}timeChangeDetection(e){const t=e&&e.record,n="Change Detection";t&&"profile"in console&&"function"==typeof console.profile&&console.profile(n);const s=performance.now();let r=0;for(;r<5||performance.now()-s<500;)this.appRef.tick(),r++;const o=performance.now();t&&"profileEnd"in console&&"function"==typeof console.profileEnd&&console.profileEnd(n);const i=(o-s)/r;return console.log(`ran ${r} change detection cycles`),console.log(`${i.toFixed(2)} ms per check`),new Ye(i,r)}}const Je="profiler";function Qe(e){return We(Je,new Xe(e)),e}function et(){We(Je,null)}class tt{static all(){return()=>!0}static css(e){return t=>null!=t.nativeElement&&function(e,t){if(n().isElementNode(e))return e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t);return!1}(t.nativeElement,e)}static directive(e){return t=>-1!==t.providerTokens.indexOf(e)}}const nt={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},st=new d("HammerGestureConfig"),rt=new d("HammerLoader");class ot{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const e in this.overrides)t.get(e).set(this.overrides[e]);return t}static{this.ɵfac=function(e){return new(e||ot)}}static{this.ɵprov=l.ɵɵdefineInjectable({token:ot,factory:ot.ɵfac})}}class it extends fe{constructor(e,t,n,s){super(e),this._config=t,this.console=n,this.loader=s,this._loaderPromise=null}supports(e){return!(!nt.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e))&&!(!window.Hammer&&!this.loader)}addEventListener(e,t,n){const s=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||s.runOutsideAngular((()=>this.loader()));let r=!1,o=()=>{r=!0};return s.runOutsideAngular((()=>this._loaderPromise.then((()=>{window.Hammer?r||(o=this.addEventListener(e,t,n)):o=()=>{}})).catch((()=>{o=()=>{}})))),()=>{o()}}return s.runOutsideAngular((()=>{const r=this._config.buildHammer(e),o=function(e){s.runGuarded((function(){n(e)}))};return r.on(t,o),()=>{r.off(t,o),"function"==typeof r.destroy&&r.destroy()}}))}isCustomEvent(e){return this._config.events.indexOf(e)>-1}static{this.ɵfac=function(e){return new(e||it)(l.ɵɵinject(t),l.ɵɵinject(st),l.ɵɵinject(l.ɵConsole),l.ɵɵinject(rt,8))}}static{this.ɵprov=l.ɵɵdefineInjectable({token:it,factory:it.ɵfac})}}class at{static{this.ɵfac=function(e){return new(e||at)}}static{this.ɵmod=l.ɵɵdefineNgModule({type:at})}static{this.ɵinj=l.ɵɵdefineInjector({providers:[{provide:he,useClass:it,multi:!0,deps:[t,st,O,[new g,rt]]},{provide:st,useClass:ot,deps:[]}]})}}class ct{static{this.ɵfac=function(e){return new(e||ct)}}static{this.ɵprov=l.ɵɵdefineInjectable({token:ct,factory:function(e){let t=null;return t=e?new(e||ct):l.ɵɵinject(lt),t},providedIn:"root"})}}class lt extends ct{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case D.NONE:return t;case D.HTML:return M(t,"HTML")?L(t):k(this._doc,String(t)).toString();case D.STYLE:return M(t,"Style")?L(t):t;case D.SCRIPT:if(M(t,"Script"))return L(t);throw new h(5200,!1);case D.URL:return M(t,"URL")?L(t):j(String(t));case D.RESOURCE_URL:if(M(t,"ResourceURL"))return L(t);throw new h(5201,!1);default:throw new h(5202,!1)}}bypassSecurityTrustHtml(e){return x(e)}bypassSecurityTrustStyle(e){return P(e)}bypassSecurityTrustScript(e){return U(e)}bypassSecurityTrustUrl(e){return B(e)}bypassSecurityTrustResourceUrl(e){return z(e)}static{this.ɵfac=function(e){return new(e||lt)(l.ɵɵinject(t))}}static{this.ɵprov=l.ɵɵdefineInjectable({token:lt,factory:lt.ɵfac,providedIn:"root"})}}var ut;function dt(e,t=[],n={}){return{ɵkind:e,ɵproviders:t}}function ht(){return dt(ut.NoHttpTransferCache)}function pt(e){return dt(ut.HttpTransferCacheOptions,ie(e))}function ft(){return dt(ut.I18nSupport,Y())}function mt(){return dt(ut.EventReplay,X())}function yt(...e){const t=[],n=new Set,s=n.has(ut.HttpTransferCacheOptions);for(const{ɵproviders:s,ɵkind:r}of e)n.add(r),s.length&&t.push(s);return J([[],Q(),n.has(ut.NoHttpTransferCache)||s?[]:ie({}),t])}!function(e){e[e.NoHttpTransferCache=0]="NoHttpTransferCache",e[e.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",e[e.I18nSupport=2]="I18nSupport",e[e.EventReplay=3]="EventReplay"}(ut||(ut={}));const gt=new K("18.2.10");export{Ze as BrowserModule,tt as By,ct as DomSanitizer,he as EVENT_MANAGER_PLUGINS,pe as EventManager,fe as EventManagerPlugin,st as HAMMER_GESTURE_CONFIG,rt as HAMMER_LOADER,ot as HammerGestureConfig,at as HammerModule,ut as HydrationFeatureKind,Ge as Meta,Te as REMOVE_STYLES_ON_COMPONENT_DESTROY,qe as Title,gt as VERSION,je as bootstrapApplication,ke as createApplication,et as disableDebugTools,Qe as enableDebugTools,ze as platformBrowser,yt as provideClientHydration,Pe as provideProtractorTestingSupport,mt as withEventReplay,pt as withHttpTransferCacheOptions,ft as withI18nSupport,ht as withNoHttpTransferCache,ce as ɵBrowserDomAdapter,ue as ɵBrowserGetTestability,Ne as ɵDomEventsPlugin,be as ɵDomRendererFactory2,lt as ɵDomSanitizerImpl,it as ɵHammerGesturesPlugin,Be as ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS,Le as ɵKeyEventsPlugin,ye as ɵSharedStylesHost,Ue as ɵinitDomAdapter};
/* esm-bundle - @angular/platform-browser@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import{isPlatformServer as e,DOCUMENT as t,ɵgetDOM as n,XhrFactory as s,CommonModule as r,ɵsetRootDomAdapter as o,ɵparseCookieValue as i,ɵPLATFORM_BROWSER_ID as a,ɵDomAdapter as c}from"@angular/common";export{ɵgetDOM}from"@angular/common";import*as l from"@angular/core";import{Injectable as u,InjectionToken as d,ɵRuntimeError as h,Inject as p,APP_ID as f,CSP_NONCE as m,PLATFORM_ID as y,Optional as g,ViewEncapsulation as v,RendererStyleFlags2 as w,createPlatformFactory as S,platformCore as E,ɵINJECTOR_SCOPE as T,ErrorHandler as C,NgZone as b,RendererFactory2 as A,ApplicationModule as R,NgModule as _,SkipSelf as I,ɵConsole as O,forwardRef as N,ɵXSS_SECURITY_URL as H,SecurityContext as D,ɵallowSanitizationBypassAndThrow as M,ɵunwrapSafeValue as L,ɵ_sanitizeUrl as j,ɵ_sanitizeHtml as k,ɵbypassSanitizationTrustHtml as x,ɵbypassSanitizationTrustStyle as P,ɵbypassSanitizationTrustScript as U,ɵbypassSanitizationTrustUrl as B,ɵbypassSanitizationTrustResourceUrl as z,Version as K,ɵglobal as $,ɵinternalCreateApplication as F,PLATFORM_INITIALIZER as Z,ɵTESTABILITY_GETTER as G,ɵTESTABILITY as V,Testability as q,TestabilityRegistry as W,ɵwithI18nSupport as Y,ɵwithEventReplay as X,makeEnvironmentProviders as J,ɵwithDomHydration as Q,ɵsetDocument as ee,ApplicationRef as te,ENVIRONMENT_INITIALIZER as ne,inject as se,ɵZONELESS_ENABLED as re,ɵformatRuntimeError as oe}from"@angular/core";import{ɵwithHttpTransferCache as ie}from"@angular/common/http";class ae extends c{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class ce extends ae{static makeCurrent(){o(new ce)}onAndCancel(e,t,n){return e.addEventListener(t,n),()=>{e.removeEventListener(t,n)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.remove()}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getBaseHref(e){const t=(le=le||document.querySelector("base"),le?le.getAttribute("href"):null);return null==t?null:new URL(t,document.baseURI).pathname}resetBaseElement(){le=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return i(document.cookie,e)}}let le=null;class ue{addToWindow(e){$.getAngularTestability=(t,n=!0)=>{const s=e.findTestabilityInTree(t,n);if(null==s)throw new h(5103,!1);return s},$.getAllAngularTestabilities=()=>e.getAllTestabilities(),$.getAllAngularRootElements=()=>e.getAllRootElements();$.frameworkStabilizers||($.frameworkStabilizers=[]),$.frameworkStabilizers.push((e=>{const t=$.getAllAngularTestabilities();let n=t.length;const s=function(){n--,0==n&&e()};t.forEach((e=>{e.whenStable(s)}))}))}findTestabilityInTree(e,t,s){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:s?n().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}class de{build(){return new XMLHttpRequest}static{this.ɵfac=function(e){return new(e||de)}}static{this.ɵprov=l.ɵɵdefineInjectable({token:de,factory:de.ɵfac})}}const he=new d("");class pe{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach((e=>{e.manager=this})),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find((t=>t.supports(e))),!t)throw new h(5101,!1);return this._eventNameToPlugin.set(e,t),t}static{this.ɵfac=function(e){return new(e||pe)(l.ɵɵinject(he),l.ɵɵinject(l.NgZone))}}static{this.ɵprov=l.ɵɵdefineInjectable({token:pe,factory:pe.ɵfac})}}class fe{constructor(e){this._doc=e}}const me="ng-app-id";class ye{constructor(t,n,s,r={}){this.doc=t,this.appId=n,this.nonce=s,this.platformId=r,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=e(r),this.resetHostNodes()}addStyles(e){for(const t of e){1===this.changeUsageCount(t,1)&&this.onStyleAdded(t)}}removeStyles(e){for(const t of e){this.changeUsageCount(t,-1)<=0&&this.onStyleRemoved(t)}}ngOnDestroy(){const e=this.styleNodesInDOM;e&&(e.forEach((e=>e.remove())),e.clear());for(const e of this.getAllStyles())this.onStyleRemoved(e);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const t of this.getAllStyles())this.addStyleToHost(e,t)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(const t of this.hostNodes)this.addStyleToHost(t,e)}onStyleRemoved(e){const t=this.styleRef;t.get(e)?.elements?.forEach((e=>e.remove())),t.delete(e)}collectServerRenderedStyles(){const e=this.doc.head?.querySelectorAll(`style[${me}="${this.appId}"]`);if(e?.length){const t=new Map;return e.forEach((e=>{null!=e.textContent&&t.set(e.textContent,e)})),t}return null}changeUsageCount(e,t){const n=this.styleRef;if(n.has(e)){const s=n.get(e);return s.usage+=t,s.usage}return n.set(e,{usage:t,elements:[]}),t}getStyleElement(e,t){const n=this.styleNodesInDOM,s=n?.get(t);if(s?.parentNode===e)return n.delete(t),s.removeAttribute(me),s;{const n=this.doc.createElement("style");return this.nonce&&n.setAttribute("nonce",this.nonce),n.textContent=t,this.platformIsServer&&n.setAttribute(me,this.appId),e.appendChild(n),n}}addStyleToHost(e,t){const n=this.getStyleElement(e,t),s=this.styleRef,r=s.get(t)?.elements;r?r.push(n):s.set(t,{elements:[n],usage:1})}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}static{this.ɵfac=function(e){return new(e||ye)(l.ɵɵinject(t),l.ɵɵinject(f),l.ɵɵinject(m,8),l.ɵɵinject(y))}}static{this.ɵprov=l.ɵɵdefineInjectable({token:ye,factory:ye.ɵfac})}}const ge={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"},ve=/%COMP%/g,we="%COMP%",Se=`_nghost-${we}`,Ee=`_ngcontent-${we}`,Te=new d("",{providedIn:"root",factory:()=>true});function Ce(e,t){return t.map((t=>t.replace(ve,e)))}class be{constructor(t,n,s,r,o,i,a,c=null){this.eventManager=t,this.sharedStylesHost=n,this.appId=s,this.removeStylesOnCompDestroy=r,this.doc=o,this.platformId=i,this.ngZone=a,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=e(i),this.defaultRenderer=new Ae(t,o,a,this.platformIsServer)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;this.platformIsServer&&t.encapsulation===v.ShadowDom&&(t={...t,encapsulation:v.Emulated});const n=this.getOrCreateRenderer(e,t);return n instanceof Oe?n.applyToHost(e):n instanceof Ie&&n.applyStyles(),n}getOrCreateRenderer(e,t){const n=this.rendererByCompId;let s=n.get(t.id);if(!s){const r=this.doc,o=this.ngZone,i=this.eventManager,a=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,l=this.platformIsServer;switch(t.encapsulation){case v.Emulated:s=new Oe(i,a,t,this.appId,c,r,o,l);break;case v.ShadowDom:return new _e(i,a,e,t,r,o,this.nonce,l);default:s=new Ie(i,a,t,c,r,o,l)}n.set(t.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}static{this.ɵfac=function(e){return new(e||be)(l.ɵɵinject(pe),l.ɵɵinject(ye),l.ɵɵinject(f),l.ɵɵinject(Te),l.ɵɵinject(t),l.ɵɵinject(y),l.ɵɵinject(l.NgZone),l.ɵɵinject(m))}}static{this.ɵprov=l.ɵɵdefineInjectable({token:be,factory:be.ɵfac})}}class Ae{constructor(e,t,n,s){this.eventManager=e,this.doc=t,this.ngZone=n,this.platformIsServer=s,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,t){return t?this.doc.createElementNS(ge[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(Re(e)?e.content:e).appendChild(t)}insertBefore(e,t,n){if(e){(Re(e)?e.content:e).insertBefore(t,n)}}removeChild(e,t){t.remove()}selectRootElement(e,t){let n="string"==typeof e?this.doc.querySelector(e):e;if(!n)throw new h(-5104,!1);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,s){if(s){t=s+":"+t;const r=ge[s];r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const s=ge[n];s?e.removeAttributeNS(s,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,s){s&(w.DashCase|w.Important)?e.style.setProperty(t,n,s&w.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&w.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){null!=e&&(e[t]=n)}setValue(e,t){e.nodeValue=t}listen(e,t,s){if("string"==typeof e&&!(e=n().getGlobalEventTarget(this.doc,e)))throw new Error(`Unsupported event target ${e} for event ${t}`);return this.eventManager.addEventListener(e,t,this.decoratePreventDefault(s))}decoratePreventDefault(e){return t=>{if("__ngUnwrap__"===t)return e;!1===(this.platformIsServer?this.ngZone.runGuarded((()=>e(t))):e(t))&&t.preventDefault()}}}"@".charCodeAt(0);function Re(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class _e extends Ae{constructor(e,t,n,s,r,o,i,a){super(e,r,o,a),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=Ce(s.id,s.styles);for(const e of c){const t=document.createElement("style");i&&t.setAttribute("nonce",i),t.textContent=e,this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(null,t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Ie extends Ae{constructor(e,t,n,s,r,o,i,a){super(e,r,o,i),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=s,this.styles=a?Ce(a,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Oe extends Ie{constructor(e,t,n,s,r,o,i,a){const c=s+"-"+n.id;var l;super(e,t,n,r,o,i,a,c),this.contentAttr=(l=c,Ee.replace(ve,l)),this.hostAttr=function(e){return Se.replace(ve,e)}(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class Ne extends fe{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}static{this.ɵfac=function(e){return new(e||Ne)(l.ɵɵinject(t))}}static{this.ɵprov=l.ɵɵdefineInjectable({token:Ne,factory:Ne.ɵfac})}}const He=["alt","control","meta","shift"],De={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Me={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};class Le extends fe{constructor(e){super(e)}supports(e){return null!=Le.parseEventName(e)}addEventListener(e,t,s){const r=Le.parseEventName(t),o=Le.eventCallback(r.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>n().onAndCancel(e,r.domEventName,o)))}static parseEventName(e){const t=e.toLowerCase().split("."),n=t.shift();if(0===t.length||"keydown"!==n&&"keyup"!==n)return null;const s=Le._normalizeKey(t.pop());let r="",o=t.indexOf("code");if(o>-1&&(t.splice(o,1),r="code."),He.forEach((e=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),r+=e+".")})),r+=s,0!=t.length||0===s.length)return null;const i={};return i.domEventName=n,i.fullKey=r,i}static matchEventFullKeyCode(e,t){let n=De[e.key]||e.key,s="";return t.indexOf("code.")>-1&&(n=e.code,s="code."),!(null==n||!n)&&(n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),He.forEach((t=>{if(t!==n){(0,Me[t])(e)&&(s+=t+".")}})),s+=n,s===t)}static eventCallback(e,t,n){return s=>{Le.matchEventFullKeyCode(s,e)&&n.runGuarded((()=>t(s)))}}static _normalizeKey(e){return"esc"===e?"escape":e}static{this.ɵfac=function(e){return new(e||Le)(l.ɵɵinject(t))}}static{this.ɵprov=l.ɵɵdefineInjectable({token:Le,factory:Le.ɵfac})}}function je(e,t){return F({rootComponent:e,...xe(t)})}function ke(e){return F(xe(e))}function xe(e){return{appProviders:[...Fe,...e?.providers??[]],platformProviders:Be}}function Pe(){return[...$e]}function Ue(){ce.makeCurrent()}const Be=[{provide:y,useValue:a},{provide:Z,useValue:Ue,multi:!0},{provide:t,useFactory:function(){return ee(document),document},deps:[]}],ze=S(E,"browser",Be),Ke=new d(""),$e=[{provide:G,useClass:ue,deps:[]},{provide:V,useClass:q,deps:[b,W,G]},{provide:q,useClass:q,deps:[b,W,G]}],Fe=[{provide:T,useValue:"root"},{provide:C,useFactory:function(){return new C},deps:[]},{provide:he,useClass:Ne,multi:!0,deps:[t,b,y]},{provide:he,useClass:Le,multi:!0,deps:[t]},be,ye,pe,{provide:A,useExisting:be},{provide:s,useClass:de,deps:[]},[]];class Ze{constructor(e){0}static withServerTransition(e){return{ngModule:Ze,providers:[{provide:f,useValue:e.appId}]}}static{this.ɵfac=function(e){return new(e||Ze)(l.ɵɵinject(Ke,12))}}static{this.ɵmod=l.ɵɵdefineNgModule({type:Ze})}static{this.ɵinj=l.ɵɵdefineInjector({providers:[...Fe,...$e],imports:[r,R]})}}class Ge{constructor(e){this._doc=e,this._dom=n()}addTag(e,t=!1){return e?this._getOrCreateElement(e,t):null}addTags(e,t=!1){return e?e.reduce(((e,n)=>(n&&e.push(this._getOrCreateElement(n,t)),e)),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];const t=this._doc.querySelectorAll(`meta[${e}]`);return t?[].slice.call(t):[]}updateTag(e,t){if(!e)return null;t=t||this._parseSelector(e);const n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,t=!1){if(!t){const t=this._parseSelector(e),n=this.getTags(t).filter((t=>this._containsAttributes(e,t)))[0];if(void 0!==n)return n}const n=this._dom.createElement("meta");this._setMetaElementAttributes(e,n);return this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(e,t){return Object.keys(e).forEach((n=>t.setAttribute(this._getMetaKeyMap(n),e[n]))),t}_parseSelector(e){const t=e.name?"name":"property";return`${t}="${e[t]}"`}_containsAttributes(e,t){return Object.keys(e).every((n=>t.getAttribute(this._getMetaKeyMap(n))===e[n]))}_getMetaKeyMap(e){return Ve[e]||e}static{this.ɵfac=function(e){return new(e||Ge)(l.ɵɵinject(t))}}static{this.ɵprov=l.ɵɵdefineInjectable({token:Ge,factory:Ge.ɵfac,providedIn:"root"})}}const Ve={httpEquiv:"http-equiv"};class qe{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static{this.ɵfac=function(e){return new(e||qe)(l.ɵɵinject(t))}}static{this.ɵprov=l.ɵɵdefineInjectable({token:qe,factory:qe.ɵfac,providedIn:"root"})}}function We(e,t){if("undefined"==typeof COMPILED||!COMPILED){($.ng=$.ng||{})[e]=t}}class Ye{constructor(e,t){this.msPerTick=e,this.numTicks=t}}class Xe{constructor(e){this.appRef=e.injector.get(te)}timeChangeDetection(e){const t=e&&e.record,n="Change Detection";t&&"profile"in console&&"function"==typeof console.profile&&console.profile(n);const s=performance.now();let r=0;for(;r<5||performance.now()-s<500;)this.appRef.tick(),r++;const o=performance.now();t&&"profileEnd"in console&&"function"==typeof console.profileEnd&&console.profileEnd(n);const i=(o-s)/r;return console.log(`ran ${r} change detection cycles`),console.log(`${i.toFixed(2)} ms per check`),new Ye(i,r)}}const Je="profiler";function Qe(e){return We(Je,new Xe(e)),e}function et(){We(Je,null)}class tt{static all(){return()=>!0}static css(e){return t=>null!=t.nativeElement&&function(e,t){if(n().isElementNode(e))return e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t);return!1}(t.nativeElement,e)}static directive(e){return t=>-1!==t.providerTokens.indexOf(e)}}const nt={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},st=new d("HammerGestureConfig"),rt=new d("HammerLoader");class ot{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const e in this.overrides)t.get(e).set(this.overrides[e]);return t}static{this.ɵfac=function(e){return new(e||ot)}}static{this.ɵprov=l.ɵɵdefineInjectable({token:ot,factory:ot.ɵfac})}}class it extends fe{constructor(e,t,n,s){super(e),this._config=t,this.console=n,this.loader=s,this._loaderPromise=null}supports(e){return!(!nt.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e))&&!(!window.Hammer&&!this.loader)}addEventListener(e,t,n){const s=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||s.runOutsideAngular((()=>this.loader()));let r=!1,o=()=>{r=!0};return s.runOutsideAngular((()=>this._loaderPromise.then((()=>{window.Hammer?r||(o=this.addEventListener(e,t,n)):o=()=>{}})).catch((()=>{o=()=>{}})))),()=>{o()}}return s.runOutsideAngular((()=>{const r=this._config.buildHammer(e),o=function(e){s.runGuarded((function(){n(e)}))};return r.on(t,o),()=>{r.off(t,o),"function"==typeof r.destroy&&r.destroy()}}))}isCustomEvent(e){return this._config.events.indexOf(e)>-1}static{this.ɵfac=function(e){return new(e||it)(l.ɵɵinject(t),l.ɵɵinject(st),l.ɵɵinject(l.ɵConsole),l.ɵɵinject(rt,8))}}static{this.ɵprov=l.ɵɵdefineInjectable({token:it,factory:it.ɵfac})}}class at{static{this.ɵfac=function(e){return new(e||at)}}static{this.ɵmod=l.ɵɵdefineNgModule({type:at})}static{this.ɵinj=l.ɵɵdefineInjector({providers:[{provide:he,useClass:it,multi:!0,deps:[t,st,O,[new g,rt]]},{provide:st,useClass:ot,deps:[]}]})}}class ct{static{this.ɵfac=function(e){return new(e||ct)}}static{this.ɵprov=l.ɵɵdefineInjectable({token:ct,factory:function(e){let t=null;return t=e?new(e||ct):l.ɵɵinject(lt),t},providedIn:"root"})}}class lt extends ct{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case D.NONE:return t;case D.HTML:return M(t,"HTML")?L(t):k(this._doc,String(t)).toString();case D.STYLE:return M(t,"Style")?L(t):t;case D.SCRIPT:if(M(t,"Script"))return L(t);throw new h(5200,!1);case D.URL:return M(t,"URL")?L(t):j(String(t));case D.RESOURCE_URL:if(M(t,"ResourceURL"))return L(t);throw new h(5201,!1);default:throw new h(5202,!1)}}bypassSecurityTrustHtml(e){return x(e)}bypassSecurityTrustStyle(e){return P(e)}bypassSecurityTrustScript(e){return U(e)}bypassSecurityTrustUrl(e){return B(e)}bypassSecurityTrustResourceUrl(e){return z(e)}static{this.ɵfac=function(e){return new(e||lt)(l.ɵɵinject(t))}}static{this.ɵprov=l.ɵɵdefineInjectable({token:lt,factory:lt.ɵfac,providedIn:"root"})}}var ut;function dt(e,t=[],n={}){return{ɵkind:e,ɵproviders:t}}function ht(){return dt(ut.NoHttpTransferCache)}function pt(e){return dt(ut.HttpTransferCacheOptions,ie(e))}function ft(){return dt(ut.I18nSupport,Y())}function mt(){return dt(ut.EventReplay,X())}function yt(...e){const t=[],n=new Set,s=n.has(ut.HttpTransferCacheOptions);for(const{ɵproviders:s,ɵkind:r}of e)n.add(r),s.length&&t.push(s);return J([[],Q(),n.has(ut.NoHttpTransferCache)||s?[]:ie({}),t])}!function(e){e[e.NoHttpTransferCache=0]="NoHttpTransferCache",e[e.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",e[e.I18nSupport=2]="I18nSupport",e[e.EventReplay=3]="EventReplay"}(ut||(ut={}));const gt=new K("18.2.11");export{Ze as BrowserModule,tt as By,ct as DomSanitizer,he as EVENT_MANAGER_PLUGINS,pe as EventManager,fe as EventManagerPlugin,st as HAMMER_GESTURE_CONFIG,rt as HAMMER_LOADER,ot as HammerGestureConfig,at as HammerModule,ut as HydrationFeatureKind,Ge as Meta,Te as REMOVE_STYLES_ON_COMPONENT_DESTROY,qe as Title,gt as VERSION,je as bootstrapApplication,ke as createApplication,et as disableDebugTools,Qe as enableDebugTools,ze as platformBrowser,yt as provideClientHydration,Pe as provideProtractorTestingSupport,mt as withEventReplay,pt as withHttpTransferCacheOptions,ft as withI18nSupport,ht as withNoHttpTransferCache,ce as ɵBrowserDomAdapter,ue as ɵBrowserGetTestability,Ne as ɵDomEventsPlugin,be as ɵDomRendererFactory2,lt as ɵDomSanitizerImpl,it as ɵHammerGesturesPlugin,Be as ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS,Le as ɵKeyEventsPlugin,ye as ɵSharedStylesHost,Ue as ɵinitDomAdapter};
//# sourceMappingURL=angular-platform-browser.min.js.map

@@ -1,2 +0,2 @@

/* esm-bundle - @angular/router/upgrade@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/router/upgrade@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import { Location } from '@angular/common';

@@ -8,3 +8,3 @@ import { APP_BOOTSTRAP_LISTENER } from '@angular/core';

/**
* @license Angular v18.2.10
* @license Angular v18.2.11
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -11,0 +11,0 @@ * License: MIT

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/router/upgrade@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/router/upgrade@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import{Location as t}from"@angular/common";import{APP_BOOTSTRAP_LISTENER as e}from"@angular/core";import{Router as r}from"@angular/router";import{UpgradeModule as a}from"@angular/upgrade/static";const o={provide:e,multi:!0,useFactory:n,deps:[a]};function n(t){return()=>{i(t)}}function i(e,a="path"){if(!e.$injector)throw new Error("\n RouterUpgradeInitializer can be used only after UpgradeModule.bootstrap has been called.\n Remove RouterUpgradeInitializer and call setUpLocationSync after UpgradeModule.bootstrap.\n ");const o=e.injector.get(r),n=e.injector.get(t);e.$injector.get("$rootScope").$on("$locationChangeStart",((t,e,r,i,c)=>{const p=o.getCurrentNavigation()?.id,u=i?.navigationId;if(void 0!==u&&u===p)return;let h;if("path"===a)h=s(e);else{if("hash"!==a)throw"Invalid URLType passed to setUpLocationSync: "+a;{const t=e.indexOf("#");h=s(e.substring(0,t)+e.substring(t+1))}}const l=n.normalize(h.pathname);o.navigateByUrl(l+h.search+h.hash)}))}let c;function s(t){return c??=document.createElement("a"),c.setAttribute("href",t),c.setAttribute("href",c.href),{pathname:`/${c.pathname.replace(/^\//,"")}`,search:c.search,hash:c.hash}}export{o as RouterUpgradeInitializer,n as locationSyncBootstrapListener,i as setUpLocationSync};
//# sourceMappingURL=angular-router-upgrade.min.js.map

@@ -1,4 +0,4 @@

/* esm-bundle - @angular/service-worker/config@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/service-worker/config@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/**
* @license Angular v18.2.10
* @license Angular v18.2.11
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -5,0 +5,0 @@ * License: MIT

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/service-worker/config@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/service-worker/config@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
const e=/([0-9]+[^0-9]+)/g,t=/^([0-9]+)([dhmsu]+)$/;function s(s){const r=[];let a;for(;null!==(a=e.exec(s));)r.push(a[0]);return r.map((e=>{const s=t.exec(e);if(null===s)throw new Error(`Not a valid duration: ${e}`);let r=0;switch(s[2]){case"d":r=864e5;break;case"h":r=36e5;break;case"m":r=6e4;break;case"s":r=1e3;break;case"u":r=1;break;default:throw new Error(`Not a valid duration unit: ${s[2]}`)}return parseInt(s[1])*r})).reduce(((e,t)=>e+t),0)}const r="(?:.+\\/)?",a=[{replace:/\./g,with:"\\."},{replace:/\+/g,with:"\\+"},{replace:/\*/g,with:"[^/]*"}],n=[...a,{replace:/\?/g,with:"[^/]"}],o=[...a,{replace:/\?/g,with:"\\?"}];function i(e,t=!1){const s=t?o:n,a=e.split("/").reverse();let i="";for(;a.length>0;){const e=a.pop();if("**"===e)a.length>0?i+=r:i+=".*";else{const t=s.reduce(((e,t)=>e.replace(t.replace,t.with)),e);i+=t,a.length>0&&(i+="\\/")}}return i}const c=["/**","!/**/*.*","!/**/*__*","!/**/*__*/**"];class u{constructor(e,t){this.fs=e,this.baseHref=t}async process(e){const t={},s=await this.processAssetGroups(e,t);return{configVersion:1,timestamp:Date.now(),appData:e.appData,index:f(this.baseHref,e.index),assetGroups:s,dataGroups:this.processDataGroups(e),hashTable:g(t),navigationUrls:p(this.baseHref,e.navigationUrls),navigationRequestStrategy:e.navigationRequestStrategy??"performance"}}async processAssetGroups(e,t){const s=await this.fs.list("/"),r=new Set,a=new Map;for(const t of e.assetGroups||[]){if(t.resources.versionedFiles)throw new Error(`Asset-group '${t.name}' in 'ngsw-config.json' uses the 'versionedFiles' option, which is no longer supported. Use 'files' instead.`);const e=h(t.resources.files||[]),n=s.filter(e).filter((e=>!r.has(e))).sort();n.forEach((e=>r.add(e))),a.set(t,n)}const n=[].concat(...Array.from(a.values())).sort(),o=await async function(e,t,s){const r=[];for(let s=0;s<e.length;s+=t)r.push(e.slice(s,s+t));return r.reduce((async(e,t)=>(await e).concat(await Promise.all(t.map((e=>s(e)))))),Promise.resolve([]))}(n,500,(e=>this.fs.hash(e)));return n.forEach(((e,s)=>{t[f(this.baseHref,e)]=o[s]})),Array.from(a.entries()).map((([e,t])=>({name:e.name,installMode:e.installMode||"prefetch",updateMode:e.updateMode||e.installMode||"prefetch",cacheQueryOptions:d(e.cacheQueryOptions),urls:t.map((e=>f(this.baseHref,e))),patterns:(e.resources.urls||[]).map((e=>l(e,this.baseHref,!0)))})))}processDataGroups(e){return(e.dataGroups||[]).map((e=>({name:e.name,patterns:e.urls.map((e=>l(e,this.baseHref,!0))),strategy:e.cacheConfig.strategy||"performance",maxSize:e.cacheConfig.maxSize,maxAge:s(e.cacheConfig.maxAge),timeoutMs:e.cacheConfig.timeout&&s(e.cacheConfig.timeout),cacheOpaqueResponses:e.cacheConfig.cacheOpaqueResponses,cacheQueryOptions:d(e.cacheQueryOptions),version:void 0!==e.version?e.version:1})))}}function p(e,t=c){return t.map((t=>{const s=!t.startsWith("!");return{positive:s,regex:`^${l(t=s?t:t.slice(1),e)}$`}}))}function h(e){const t=e.map((e=>e.startsWith("!")?{positive:!1,regex:new RegExp("^"+i(e.slice(1))+"$")}:{positive:!0,regex:new RegExp("^"+i(e)+"$")}));return e=>function(e,t){return t.reduce(((t,s)=>s.positive?t||s.regex.test(e):t&&!s.regex.test(e)),!1)}(e,t)}function l(e,t,s){return e.startsWith("/")||-1!==e.indexOf("://")||(e=f(t.replace(/^\.(?=\/)/,""),e)),i(e,s)}function f(e,t){return e.endsWith("/")&&t.startsWith("/")?e+t.slice(1):e.endsWith("/")||t.startsWith("/")?e+t:e+"/"+t}function g(e){const t={};return Object.keys(e).sort().forEach((s=>t[s]=e[s])),t}function d(e){return{ignoreVary:!0,...e}}export{u as Generator};
//# sourceMappingURL=angular-service-worker-config.min.js.map

@@ -1,2 +0,2 @@

/* esm-bundle - @angular/service-worker@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/service-worker@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import * as i0 from '@angular/core';

@@ -9,3 +9,3 @@ import { Injectable, InjectionToken, NgModule, makeEnvironmentProviders, PLATFORM_ID, APP_INITIALIZER, Injector, NgZone, ApplicationRef } from '@angular/core';

/**
* @license Angular v18.2.10
* @license Angular v18.2.11
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -12,0 +12,0 @@ * License: MIT

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/service-worker@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/service-worker@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import*as e from"@angular/core";import{Injectable as t,InjectionToken as r,NgModule as s,makeEnvironmentProviders as i,PLATFORM_ID as n,APP_INITIALIZER as o,Injector as a,NgZone as c,ApplicationRef as p}from"@angular/core";import{isPlatformBrowser as u}from"@angular/common";import{Subject as h,NEVER as l,merge as g,fromEvent as d,defer as f,of as w,concat as b,throwError as E,from as v}from"rxjs";import{map as m,switchMap as y,take as O,filter as T,publish as k,tap as I,delay as S}from"rxjs/operators";const C="Service workers are disabled or not supported by this browser";class A{constructor(e){if(this.serviceWorker=e,e){const t=d(e,"controllerchange").pipe(m((()=>e.controller))),r=f((()=>w(e.controller))),s=b(r,t);this.worker=s.pipe(T((e=>!!e))),this.registration=this.worker.pipe(y((()=>e.getRegistration())));const i=d(e,"message").pipe(m((e=>e.data))).pipe(T((e=>e&&e.type))).pipe(k());i.connect(),this.events=i}else this.worker=this.events=this.registration=(t=C,f((()=>E(new Error(t)))));var t}postMessage(e,t){return this.worker.pipe(O(1),I((r=>{r.postMessage({action:e,...t})}))).toPromise().then((()=>{}))}postMessageWithOperation(e,t,r){const s=this.waitForOperationCompleted(r),i=this.postMessage(e,t);return Promise.all([i,s]).then((([,e])=>e))}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(e){let t;return t="string"==typeof e?t=>t.type===e:t=>e.includes(t.type),this.events.pipe(T(t))}nextEventOfType(e){return this.eventsOfType(e).pipe(O(1))}waitForOperationCompleted(e){return this.eventsOfType("OPERATION_COMPLETED").pipe(T((t=>t.nonce===e)),O(1),m((e=>{if(void 0!==e.result)return e.result;throw new Error(e.error)}))).toPromise()}get isEnabled(){return!!this.serviceWorker}}class M{get isEnabled(){return this.sw.isEnabled}constructor(e){if(this.sw=e,this.pushManager=null,this.subscriptionChanges=new h,!e.isEnabled)return this.messages=l,this.notificationClicks=l,void(this.subscription=l);this.messages=this.sw.eventsOfType("PUSH").pipe(m((e=>e.data))),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(m((e=>e.data))),this.pushManager=this.sw.registration.pipe(m((e=>e.pushManager)));const t=this.pushManager.pipe(y((e=>e.getSubscription())));this.subscription=g(t,this.subscriptionChanges)}requestSubscription(e){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(C));const t={userVisibleOnly:!0};let r=this.decodeBase64(e.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),s=new Uint8Array(new ArrayBuffer(r.length));for(let e=0;e<r.length;e++)s[e]=r.charCodeAt(e);return t.applicationServerKey=s,this.pushManager.pipe(y((e=>e.subscribe(t))),O(1)).toPromise().then((e=>(this.subscriptionChanges.next(e),e)))}unsubscribe(){if(!this.sw.isEnabled)return Promise.reject(new Error(C));return this.subscription.pipe(O(1),y((e=>{if(null===e)throw new Error("Not subscribed to push notifications.");return e.unsubscribe().then((e=>{if(!e)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)}))}))).toPromise()}decodeBase64(e){return atob(e)}static{this.ɵfac=function(t){return new(t||M)(e.ɵɵinject(A))}}static{this.ɵprov=e.ɵɵdefineInjectable({token:M,factory:M.ɵfac})}}class N{get isEnabled(){return this.sw.isEnabled}constructor(e){if(this.sw=e,!e.isEnabled)return this.versionUpdates=l,void(this.unrecoverable=l);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(C));const e=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:e},e)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(C));const e=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:e},e)}static{this.ɵfac=function(t){return new(t||N)(e.ɵɵinject(A))}}static{this.ɵprov=e.ɵɵdefineInjectable({token:N,factory:N.ɵfac})}}const P=new r("");function W(e,t,r,s){return()=>{if(!u(s)||!("serviceWorker"in navigator)||!1===r.enabled)return;const i=e.get(c),n=e.get(p);let o;if(i.runOutsideAngular((()=>{const e=navigator.serviceWorker,t=()=>e.controller?.postMessage({action:"INITIALIZE"});e.addEventListener("controllerchange",t),n.onDestroy((()=>{e.removeEventListener("controllerchange",t)}))})),"function"==typeof r.registrationStrategy)o=r.registrationStrategy();else{const[t,...s]=(r.registrationStrategy||"registerWhenStable:30000").split(":");switch(t){case"registerImmediately":o=w(null);break;case"registerWithDelay":o=_(+s[0]||0);break;case"registerWhenStable":const t=v(e.get(p).whenStable());o=s[0]?g(t,_(+s[0])):t;break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${r.registrationStrategy}`)}}i.runOutsideAngular((()=>o.pipe(O(1)).subscribe((()=>navigator.serviceWorker.register(t,{scope:r.scope}).catch((e=>console.error("Service worker registration failed with:",e)))))))}}function _(e){return w(null).pipe(S(e))}function j(e,t){return new A(u(t)&&!1!==e.enabled?navigator.serviceWorker:void 0)}class D{}function U(e,t={}){return i([M,N,{provide:P,useValue:e},{provide:D,useValue:t},{provide:A,useFactory:j,deps:[D,n]},{provide:o,useFactory:W,deps:[a,P,D,n],multi:!0}])}class R{static register(e,t={}){return{ngModule:R,providers:[U(e,t)]}}static{this.ɵfac=function(e){return new(e||R)}}static{this.ɵmod=e.ɵɵdefineNgModule({type:R})}static{this.ɵinj=e.ɵɵdefineInjector({providers:[M,N]})}}export{R as ServiceWorkerModule,M as SwPush,D as SwRegistrationOptions,N as SwUpdate,U as provideServiceWorker};
//# sourceMappingURL=angular-service-worker.min.js.map

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/upgrade/static@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import*as t from"@angular/core";import{Version as e,EventEmitter as n,Directive as o,NgModule as r,ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR as i,PlatformRef as s,Testability as c,ɵNG_MOD_DEF as a,NgZone as l,ComponentFactoryResolver as u,Injector as h,ChangeDetectorRef as p,TestabilityRegistry as d,ApplicationRef as g,SimpleChange as m,ɵSIGNAL as f}from"@angular/core";import{platformBrowser as $}from"@angular/platform-browser";function y(){throw new Error("AngularJS v1.x is not loaded!")}const w=()=>y();w.cleanData=y;let b={bootstrap:y,module:y,element:w,injector:y,version:void 0,resumeBootstrap:y,getTestability:y};try{window.hasOwnProperty("angular")&&(b=window.angular)}catch{}function E(t){v(t)}function O(){return C()}function v(t){b=t}function C(){return b}const T=(t,e,n)=>b.bootstrap(t,e,n),j=(t,e)=>b.module(t,e),A=t=>b.element(t);A.cleanData=t=>b.element.cleanData(t);var D=Object.freeze({__proto__:null,setAngularLib:E,getAngularLib:O,setAngularJSGlobal:v,getAngularJSGlobal:C,bootstrap:T,module_:j,element:A,injector:(t,e)=>b.injector(t,e),resumeBootstrap:()=>b.resumeBootstrap(),getTestability:t=>b.getTestability(t)});const _="$compile",N="$controller",S="$delegate",I="$httpBackend",P="$injector",k="$interval",R="$parse",M="$provide",L="$rootElement",B="$rootScope",U="$scope",F="$templateCache",q="$$testability",x="$$angularDowngradedModuleCount",V="$$angularInjector",G="$$angularLazyModuleRef",K="$$angularUpgradeAppType",Z="?^^"+V,z="?ngModel",H="$$UpgradeModule";var J=Object.freeze({__proto__:null,$COMPILE:_,$CONTROLLER:N,$DELEGATE:S,$EXCEPTION_HANDLER:"$exceptionHandler",$HTTP_BACKEND:I,$INJECTOR:P,$INTERVAL:k,$PARSE:R,$PROVIDE:M,$ROOT_ELEMENT:L,$ROOT_SCOPE:B,$SCOPE:U,$TEMPLATE_CACHE:F,$TEMPLATE_REQUEST:"$templateRequest",$$TESTABILITY:q,COMPILER_KEY:"$$angularCompiler",DOWNGRADED_MODULE_COUNT_KEY:x,GROUP_PROJECTABLE_NODES_KEY:"$$angularGroupProjectableNodes",INJECTOR_KEY:V,LAZY_MODULE_REF:G,NG_ZONE_KEY:"$$angularNgZone",UPGRADE_APP_TYPE_KEY:K,REQUIRE_INJECTOR:Z,REQUIRE_NG_MODEL:z,UPGRADE_MODULE_NAME:H});class W{constructor(t,e){this.prop=t,this.attr=e,this.bracketAttr=`[${this.attr}]`,this.parenAttr=`(${this.attr})`,this.bracketParenAttr=`[(${this.attr})]`;const n=this.attr.charAt(0).toUpperCase()+this.attr.slice(1);this.onAttr=`on${n}`,this.bindAttr=`bind${n}`,this.bindonAttr=`bindon${n}`}}const Y=/^(?:x|data)[:\-_]/i,Q=/[:\-_]+(.)/g;function X(t){A.cleanData([t]),function(t){return st(t.querySelectorAll)}(t)&&A.cleanData(t.querySelectorAll("*"))}function tt(t){return"$"+t+"Controller"}function et(t){const e=t.get(L);t.get(B).$destroy(),X(e[0])}function nt(t){return t.replace(Y,"").replace(Q,((t,e)=>e.toUpperCase()))}function ot(t){return t.overriddenName||t.name||t.toString().split("\n")[0]}function rt(t){return t.has(x)?t.get(x):0}function it(t){return t.has(K)?t.get(K):0}function st(t){return"function"==typeof t}function ct(t){return st(t)&&!!t[a]}function at(t,e,n,o){const r=it(t),i=rt(t);switch(r){case 1:case 2:if(e)throw new Error(`Error while ${o}: 'downgradedModule' unexpectedly specified.\nYou should not specify a value for 'downgradedModule', unless you are downgrading more than one Angular module (via 'downgradeModule()').`);break;case 3:if(!e&&i>=2)throw new Error(`Error while ${o}: 'downgradedModule' not specified.\nThis application contains more than one downgraded Angular module, thus you need to always specify 'downgradedModule' when downgrading components and injectables.`);if(!t.has(n))throw new Error(`Error while ${o}: Unable to find the specified downgraded module.\nDid you forget to downgrade an Angular module or include it in the AngularJS application?`);break;default:throw new Error(`Error while ${o}: Not a valid '@angular/upgrade' application.\nDid you forget to downgrade an Angular module or include it in the AngularJS application?`)}}function lt(t,e){t&&function(t){return"function"==typeof t.writeValue&&"function"==typeof t.registerOnChange}(e)&&(t.$render=()=>{e.writeValue(t.$viewValue)},e.registerOnChange(t.$setViewValue.bind(t)),"function"==typeof e.registerOnTouched&&e.registerOnTouched(t.$setTouched.bind(t)))}function ut(t,e){return t===e||t!=t&&e!=e}var ht=Object.freeze({__proto__:null,onError:function(t){throw console.error(t,t.stack),t},cleanData:X,controllerKey:tt,destroyApp:et,directiveNormalize:nt,getTypeName:ot,getDowngradedModuleCount:rt,getUpgradeAppType:it,isFunction:st,isNgModuleType:ct,validateInjectionKey:at,Deferred:class{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}},hookupNgModel:lt,strictEquals:ut});const pt={__UNINITIALIZED__:!0};class dt{constructor(t,e,n,o,r,i,s,c,a,l){this.element=t,this.attrs=e,this.scope=n,this.ngModel=o,this.parentInjector=r,this.$compile=i,this.$parse=s,this.componentFactory=c,this.wrapCallback=a,this.unsafelyOverwriteSignalInputs=l,this.implementsOnChanges=!1,this.inputChangeCount=0,this.inputChanges={},this.componentScope=n.$new()}compileContents(){const t=[],e=this.groupProjectableNodes().map((t=>this.$compile(t)));return this.element.empty(),e.forEach((e=>{e(this.scope,(e=>{t.push(e),this.element.append(e)}))})),t}createComponentAndSetup(t,e=!1,n=!0){const o=this.createComponent(t);return this.setupInputs(e,n,o),this.setupOutputs(o.componentRef),this.registerCleanup(o.componentRef),o.componentRef}createComponent(t){const e=[{provide:U,useValue:this.componentScope}],n=h.create({providers:e,parent:this.parentInjector,name:"DowngradeComponentAdapter"}),o=this.componentFactory.create(n,t,this.element[0]),r=o.injector.get(p),i=o.changeDetectorRef,s=o.injector.get(c,null);return s&&o.injector.get(d).registerApplication(o.location.nativeElement,s),lt(this.ngModel,o.instance),{viewChangeDetector:r,componentRef:o,changeDetector:i}}setupInputs(t,e=!0,{componentRef:n,changeDetector:o,viewChangeDetector:r}){const i=this.attrs,s=this.componentFactory.inputs||[];for(const t of s){const e=new W(t.propName,t.templateName);let o=null;if(i.hasOwnProperty(e.attr)){const o=((t,e)=>{let o=pt;return r=>{ut(o,r)||(o===pt&&(o=r),this.updateInput(n,t,o,r,e),o=r)}})(e.prop,t.isSignal);i.$observe(e.attr,o);let r=this.componentScope.$watch((()=>{r(),r=null,o(i[e.attr])}))}else i.hasOwnProperty(e.bindAttr)?o=i[e.bindAttr]:i.hasOwnProperty(e.bracketAttr)?o=i[e.bracketAttr]:i.hasOwnProperty(e.bindonAttr)?o=i[e.bindonAttr]:i.hasOwnProperty(e.bracketParenAttr)&&(o=i[e.bracketParenAttr]);if(null!=o){const r=((t,e)=>(o,r)=>this.updateInput(n,t,r,o,e))(e.prop,t.isSignal);this.componentScope.$watch(o,r)}}const c=()=>o.detectChanges(),a=this.componentFactory.componentType.prototype;if(this.implementsOnChanges=!(!a||!a.ngOnChanges),this.componentScope.$watch((()=>this.inputChangeCount),this.wrapCallback((()=>{if(this.implementsOnChanges){const t=this.inputChanges;this.inputChanges={},n.instance.ngOnChanges(t)}r.markForCheck(),e||c()}))),e&&this.componentScope.$watch(this.wrapCallback(c)),t||!e){let t=this.componentScope.$watch((()=>{t(),t=null;this.parentInjector.get(g).attachView(n.hostView)}))}}setupOutputs(t){const e=this.attrs,n=this.componentFactory.outputs||[];for(const o of n){const n=new W(o.propName,o.templateName),r=n.bindonAttr.substring(0,n.bindonAttr.length-6),i=`[(${n.bracketParenAttr.substring(2,n.bracketParenAttr.length-8)})]`;e.hasOwnProperty(r)&&this.subscribeToOutput(t,n,e[r],!0),e.hasOwnProperty(i)&&this.subscribeToOutput(t,n,e[i],!0),e.hasOwnProperty(n.onAttr)&&this.subscribeToOutput(t,n,e[n.onAttr]),e.hasOwnProperty(n.parenAttr)&&this.subscribeToOutput(t,n,e[n.parenAttr])}}subscribeToOutput(t,e,n,o=!1){const r=this.$parse(n),i=r.assign;if(o&&!i)throw new Error(`Expression '${n}' is not assignable!`);const s=t.instance[e.prop];if(!s)throw new Error(`Missing emitter '${e.prop}' on component '${ot(this.componentFactory.componentType)}'!`);{const e=s.subscribe({next:o?t=>i(this.scope,t):t=>r(this.scope,{$event:t})});t.onDestroy((()=>e.unsubscribe()))}}registerCleanup(t){const e=t.injector.get(d),n=this.wrapCallback((()=>t.destroy()));let o=!1;this.element.on("$destroy",(()=>{o||this.componentScope.$destroy()})),this.componentScope.$on("$destroy",(()=>{o||(o=!0,e.unregisterApplication(t.location.nativeElement),X(this.element[0]),n())}))}updateInput(t,e,n,o,r){if(this.implementsOnChanges&&(this.inputChanges[e]=new m(n,o,n===o)),this.inputChangeCount++,r&&!this.unsafelyOverwriteSignalInputs){const n=t.instance[e][f];n.applyValueToInputSignal(n,o)}else t.instance[e]=o}groupProjectableNodes(){return function(t,e){const n=[];for(let e=0,o=t.length;e<o;++e)n[e]=[];for(let o=0,r=e.length;o<r;++o){const r=e[o],i=gt(r,t);null!=i&&n[i].push(r)}return n}(this.componentFactory.ngContentSelectors,this.element.contents())}}function gt(t,e){const n=[];let o=-1;for(let r=0;r<e.length;r++){const i=e[r];"*"===i?o=r:mt(t,i)&&n.push(r)}return n.sort(),-1!==o&&n.push(o),n.length?n[0]:null}function mt(t,e){const n=Element.prototype;return t.nodeType===Node.ELEMENT_NODE&&(n.matches??n.msMatchesSelector).call(t,e)}class ft{constructor(){this.resolved=!1,this.callbacks=[]}static all(t){const e=new ft;let n=0;const o=[],r=(r,i)=>{o[r]=i,++n===t.length&&e.resolve(o)};return t.forEach(((t,e)=>{var n;(n=t)&&st(n.then)?t.then((t=>r(e,t))):r(e,t)})),e}resolve(t){this.resolved||(this.value=t,this.resolved=!0,this.callbacks.forEach((e=>e(t))),this.callbacks.length=0)}then(t){this.resolved?t(this.value):this.callbacks.push(t)}}function $t(t){const e=function(e,n,o){const r=t.unsafelyOverwriteSignalInputs??!1,i=3===it(n),s=i?t=>()=>l.isInAngularZone()?t():c.run(t):t=>t;let c;const a=i&&rt(n)>1;return{restrict:"E",terminal:!0,require:[Z,z],controller:function(){},link:(h,p,d,g)=>{const m=g[1],f=g[0];let $,y=!1;if(!f||a){const e=t.downgradedModule||"",o=`${G}${e}`,r=`instantiating component '${ot(t.component)}'`;at(n,e,o,r);const i=n.get(o);$=i.injector??i.promise}const w=f||$,b=$||f,E=(n,c)=>{const a=c.get(u).resolveComponentFactory(t.component);if(!a)throw new Error(`Expecting ComponentFactory for: ${ot(t.component)}`);const l=new yt(p),g=new dt(p,d,h,m,n,e,o,a,s,r),f=g.compileContents(),$=g.createComponentAndSetup(f,i,t.propagateDigest);l.resolve($.injector),y&&h.$evalAsync((()=>{}))},O=i?(t,e)=>{c||(c=t.get(l)),s((()=>E(t,e)))()}:E;ft.all([w,b]).then((([t,e])=>O(t,e))),y=!0}}};return e.$inject=[_,P,R],e}class yt extends ft{constructor(t){super(),this.element=t,this.injectorKey=tt(V),t.data(this.injectorKey,this)}resolve(t){this.element.data(this.injectorKey,t),this.element=null,super.resolve(t)}}function wt(t,e=""){const n=function(n){const o=`${V}${e}`,r=`instantiating injectable '${st(t)?ot(t):String(t)}'`;at(n,e,o,r);try{return n.get(o).get(t)}catch(t){throw new Error(`Error while ${r}: ${t.message||t}`)}};return n.$inject=[P],n}const bt=new e("18.2.10");let Et;function Ot(t){return function(){if(void 0===Et){Et=null;const t=window;if(t.trustedTypes)try{Et=t.trustedTypes.createPolicy("angular#unsafe-upgrade",{createHTML:t=>t})}catch{}}return Et}()?.createHTML(t)||t}const vt=/^(\^\^?)?(\?)?(\^\^?)?/;class Ct{constructor(t,e,n,o){this.name=e,this.$injector=t.get(P),this.$compile=this.$injector.get(_),this.$controller=this.$injector.get(N),this.element=n.nativeElement,this.$element=A(this.element),this.directive=o??Ct.getDirective(this.$injector,e)}static getDirective(t,e){const n=t.get(e+"Directive");if(n.length>1)throw new Error(`Only support single directive definition for: ${e}`);const o=n[0];return o.compile&&!o.link&&At(e,"compile"),o.replace&&At(e,"replace"),o.terminal&&At(e,"terminal"),o}static getTemplate(t,e,n=!1,o){if(void 0!==e.template)return Ot(Tt(e.template,o));if(e.templateUrl){const r=t.get(F),i=Tt(e.templateUrl,o),s=r.get(i);if(void 0!==s)return Ot(s);if(!n)throw new Error("loading directive templates asynchronously is not supported");return new Promise(((e,n)=>{t.get(I)("GET",i,null,((t,o)=>{200===t?e(Ot(r.put(i,o))):n(`GET component template from '${i}' returned '${t}: ${o}'`)}))}))}throw new Error(`Directive '${e.name}' is not a component, it is missing template.`)}buildController(t,e){const n={$scope:e,$element:this.$element},o=this.$controller(t,n,null,this.directive.controllerAs);return this.$element.data?.(tt(this.directive.name),o),o}compileTemplate(t){return void 0===t&&(t=Ct.getTemplate(this.$injector,this.directive,!1,this.$element)),this.compileHtml(t)}onDestroy(t,e){e&&st(e.$onDestroy)&&e.$onDestroy(),t.$destroy(),X(this.element)}prepareTransclusion(){const t=this.directive.transclude,e=this.extractChildNodes(),n=(t,e)=>e(o,t=t||{$destroy:()=>{}});let o=e;if(t){const r=Object.create(null);if("object"==typeof t){o=[];const n=Object.create(null),i=Object.create(null);Object.keys(t).forEach((e=>{let o=t[e];const s="?"===o.charAt(0);o=s?o.substring(1):o,n[o]=e,r[e]=null,i[e]=s})),e.forEach((t=>{const e=n[nt(t.nodeName.toLowerCase())];e?(i[e]=!0,r[e]=r[e]||[],r[e].push(t)):o.push(t)})),Object.keys(i).forEach((t=>{if(!i[t])throw new Error(`Required transclusion slot '${t}' on directive: ${this.name}`)})),Object.keys(r).filter((t=>r[t])).forEach((t=>{const e=r[t];r[t]=(t,n)=>n(e,t)}))}n.$$slots=r,o.forEach((t=>{t.nodeType!==Node.TEXT_NODE||t.nodeValue||(t.nodeValue="‌")}))}return n}resolveAndBindRequiredControllers(t){const e=this.getDirectiveRequire(),n=this.resolveRequire(e);if(t&&this.directive.bindToController&&jt(e)){const e=n;Object.keys(e).forEach((n=>{t[n]=e[n]}))}return n}compileHtml(t){return this.element.innerHTML=t,this.$compile(this.element.childNodes)}extractChildNodes(){const t=[];let e;for(;e=this.element.firstChild;)e.remove(),t.push(e);return t}getDirectiveRequire(){const t=this.directive.require||this.directive.controller&&this.directive.name;return jt(t)&&Object.entries(t).forEach((([e,n])=>{const o=n.match(vt);n.substring(o[0].length)||(t[e]=o[0]+e)})),t}resolveRequire(t){if(t){if(Array.isArray(t))return t.map((t=>this.resolveRequire(t)));if("object"==typeof t){const e={};return Object.keys(t).forEach((n=>e[n]=this.resolveRequire(t[n]))),e}if("string"==typeof t){const e=t.match(vt),n=e[1]||e[3],o=t.substring(e[0].length),r=!!e[2],i=!!n,s="^^"===n,c=tt(o),a=s?this.$element.parent():this.$element,l=i?a.inheritedData(c):a.data(c);if(!l&&!r)throw new Error(`Unable to find required '${t}' in upgraded directive '${this.name}'.`);return l}throw new Error(`Unrecognized 'require' syntax on upgraded directive '${this.name}': ${t}`)}return null}}function Tt(t,...e){return st(t)?t(...e):t}function jt(t){return t&&!Array.isArray(t)&&"object"==typeof t}function At(t,e){throw new Error(`Upgraded directive '${t}' contains unsupported feature: '${e}'.`)}var Dt=Object.freeze({__proto__:null,UpgradeHelper:Ct});let _t=null;function Nt(t){_t=t}const St=[{provide:"$injector",useFactory:function(){if(!_t)throw new Error("Trying to get the AngularJS injector before it being set.");const t=_t;return _t=null,t},deps:[]},{provide:"$rootScope",useFactory:function(t){return t.get("$rootScope")},deps:["$injector"]},{provide:"$compile",useFactory:function(t){return t.get("$compile")},deps:["$injector"]},{provide:"$parse",useFactory:function(t){return t.get("$parse")},deps:["$injector"]}];class It{constructor(t){this.modInjector=t}get(t,e){return e===i?e:this.modInjector.get(t,e)}}let Pt=0;function kt(t){const e=`${H}.lazy${++Pt}`,n=`${G}${e}`,o=`${V}${e}`;let r,i;return r=ct(t)?e=>$(e).bootstrapModule(t):st(t)?t:e=>$(e).bootstrapModuleFactory(t),j(e,[]).constant(K,3).factory(V,[o,Rt]).factory(o,(()=>{if(!i)throw new Error("Trying to get the Angular injector before bootstrapping the corresponding Angular module.");return i})).factory(G,[n,Rt]).factory(n,[P,t=>{Nt(t);const e={promise:r(St).then((n=>(i=e.injector=new It(n.injector),i.get(P),i.get(s).onDestroy((()=>et(t))),i)))};return e}]).config([P,M,(t,e)=>{e.constant(x,rt(t)+1)}]),e}function Rt(t){return t}const Mt="NOT_SUPPORTED",Lt={__UNINITIALIZED__:!0};class Bt{constructor(){this.twoWayBoundProperties=[],this.twoWayBoundLastValues=[],this.expressionBoundProperties=[],this.propertyToOutputMap={}}}class Ut{constructor(t,e,n){this.pendingChanges=null,this.helper=new Ct(n,t,e),this.$element=this.helper.$element,this.directive=this.helper.directive,this.bindings=this.initializeBindings(this.directive,t);const o=n.get(U);this.$componentScope=o.$new(!!this.directive.scope),this.initializeOutputs()}ngOnInit(){const t=this.helper.prepareTransclusion(),e=this.helper.compileTemplate(),n=this.directive.controller,o=this.directive.bindToController;let r,i=n?this.helper.buildController(n,this.$componentScope):void 0;if(o){if(!n||!i)throw new Error(`Upgraded directive '${this.directive.name}' specifies 'bindToController' but no controller.`);r=i}else r=this.$componentScope;this.controllerInstance=i,this.bindingDestination=r,this.bindOutputs(r);const s=this.helper.resolveAndBindRequiredControllers(i);if(this.pendingChanges&&(this.forwardChanges(this.pendingChanges,r),this.pendingChanges=null),this.controllerInstance&&st(this.controllerInstance.$onInit)&&this.controllerInstance.$onInit(),i&&st(i.$doCheck)){const t=()=>i?.$doCheck?.();this.unregisterDoCheckWatcher=this.$componentScope.$parent.$watch(t),t()}const c=this.directive.link,a="object"==typeof c&&c.pre,l="object"==typeof c?c.post:c,u=Mt,h=Mt;a&&a(this.$componentScope,this.$element,u,s,h),e(this.$componentScope,null,{parentBoundTranscludeFn:t}),l&&l(this.$componentScope,this.$element,u,s,h),this.controllerInstance&&st(this.controllerInstance.$postLink)&&this.controllerInstance.$postLink()}ngOnChanges(t){this.bindingDestination?this.forwardChanges(t,this.bindingDestination):this.pendingChanges=t}ngDoCheck(){const t=this.bindings.twoWayBoundProperties,e=this.bindings.twoWayBoundLastValues,n=this.bindings.propertyToOutputMap;t.forEach(((t,o)=>{const r=this.bindingDestination?.[t],i=e[o];if(!Object.is(r,i)){this[n[t]].emit(r),e[o]=r}}))}ngOnDestroy(){st(this.unregisterDoCheckWatcher)&&this.unregisterDoCheckWatcher(),this.helper.onDestroy(this.$componentScope,this.controllerInstance)}initializeBindings(t,e){const n="object"==typeof t.bindToController;if(n&&Object.keys(t.scope).length)throw new Error("Binding definitions on scope and controller at the same time is not supported.");const o=n?t.bindToController:t.scope,r=new Bt;return"object"==typeof o&&Object.keys(o).forEach((t=>{const n=o[t].charAt(0);switch(n){case"@":case"<":break;case"=":r.twoWayBoundProperties.push(t),r.twoWayBoundLastValues.push(Lt),r.propertyToOutputMap[t]=t+"Change";break;case"&":r.expressionBoundProperties.push(t),r.propertyToOutputMap[t]=t;break;default:let i=JSON.stringify(o);throw new Error(`Unexpected mapping '${n}' in '${i}' in '${e}' directive.`)}})),r}initializeOutputs(){this.bindings.twoWayBoundProperties.concat(this.bindings.expressionBoundProperties).forEach((t=>{this[this.bindings.propertyToOutputMap[t]]=new n}))}bindOutputs(t){this.bindings.expressionBoundProperties.forEach((e=>{const n=this[this.bindings.propertyToOutputMap[e]];t[e]=t=>n.emit(t)}))}forwardChanges(t,e){Object.keys(t).forEach((n=>e[n]=t[n].currentValue)),st(e.$onChanges)&&e.$onChanges(t)}static{this.ɵfac=function(e){t.ɵɵinvalidFactory()}}static{this.ɵdir=t.ɵɵdefineDirective({type:Ut,features:[t.ɵɵNgOnChangesFeature]})}}class Ft{constructor(t,e,n){this.ngZone=e,this.platformRef=n,this.injector=new It(t)}bootstrap(t,e=[],n){const o=H+".init";j(o,[]).constant(K,2).value(V,this.injector).factory(G,[V,t=>({injector:t})]).config([M,P,(t,e)=>{e.has(q)&&t.decorator(q,[S,t=>{const e=t.whenStable,n=this.injector,o=function(r){e.call(t,(function(){const e=n.get(c);e.isStable()?r():e.whenStable(o.bind(t,r))}))};return t.whenStable=o,t}]),e.has(k)&&t.decorator(k,[S,t=>{let e=(e,n,o,r,...i)=>this.ngZone.runOutsideAngular((()=>t(((...t)=>{setTimeout((()=>{this.ngZone.run((()=>e(...t)))}))}),n,o,r,...i)));return Object.keys(t).forEach((n=>e[n]=t[n])),t.hasOwnProperty("flush")&&(e.flush=()=>(t.flush(),e)),e}])}]).run([P,e=>{this.$injector=e;const n=e.get("$rootScope");Nt(e),this.injector.get(P),A(t).data(tt(V),this.injector),this.platformRef.onDestroy((()=>et(e))),setTimeout((()=>{const t=this.ngZone.onMicrotaskEmpty.subscribe((()=>n.$$phase?n.$evalAsync():n.$digest()));n.$on("$destroy",(()=>{t.unsubscribe()}))}),0)}]);const r=j(H,[o].concat(e)),i=window.angular;i.resumeBootstrap=void 0;const s=this.ngZone.run((()=>T(t,[r.name],n)));if(i.resumeBootstrap){const t=i.resumeBootstrap,e=this.ngZone;i.resumeBootstrap=function(){let n=arguments;return i.resumeBootstrap=t,e.run((()=>i.resumeBootstrap.apply(this,n)))}}return s}static{this.ɵfac=function(e){return new(e||Ft)(t.ɵɵinject(t.Injector),t.ɵɵinject(t.NgZone),t.ɵɵinject(t.PlatformRef))}}static{this.ɵmod=t.ɵɵdefineNgModule({type:Ft})}static{this.ɵinj=t.ɵɵdefineInjector({providers:[St]})}}export{Ut as UpgradeComponent,Ft as UpgradeModule,bt as VERSION,$t as downgradeComponent,wt as downgradeInjectable,kt as downgradeModule,C as getAngularJSGlobal,O as getAngularLib,v as setAngularJSGlobal,E as setAngularLib,D as ɵangular1,J as ɵconstants,Dt as ɵupgradeHelper,ht as ɵutil};
/* esm-bundle - @angular/upgrade/static@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import*as t from"@angular/core";import{Version as e,EventEmitter as n,Directive as o,NgModule as r,ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR as i,PlatformRef as s,Testability as c,ɵNG_MOD_DEF as a,NgZone as l,ComponentFactoryResolver as u,Injector as h,ChangeDetectorRef as p,TestabilityRegistry as d,ApplicationRef as g,SimpleChange as m,ɵSIGNAL as f}from"@angular/core";import{platformBrowser as $}from"@angular/platform-browser";function y(){throw new Error("AngularJS v1.x is not loaded!")}const w=()=>y();w.cleanData=y;let b={bootstrap:y,module:y,element:w,injector:y,version:void 0,resumeBootstrap:y,getTestability:y};try{window.hasOwnProperty("angular")&&(b=window.angular)}catch{}function E(t){v(t)}function O(){return C()}function v(t){b=t}function C(){return b}const T=(t,e,n)=>b.bootstrap(t,e,n),j=(t,e)=>b.module(t,e),A=t=>b.element(t);A.cleanData=t=>b.element.cleanData(t);var D=Object.freeze({__proto__:null,setAngularLib:E,getAngularLib:O,setAngularJSGlobal:v,getAngularJSGlobal:C,bootstrap:T,module_:j,element:A,injector:(t,e)=>b.injector(t,e),resumeBootstrap:()=>b.resumeBootstrap(),getTestability:t=>b.getTestability(t)});const _="$compile",N="$controller",S="$delegate",I="$httpBackend",P="$injector",k="$interval",R="$parse",M="$provide",L="$rootElement",B="$rootScope",U="$scope",F="$templateCache",q="$$testability",x="$$angularDowngradedModuleCount",V="$$angularInjector",G="$$angularLazyModuleRef",K="$$angularUpgradeAppType",Z="?^^"+V,z="?ngModel",H="$$UpgradeModule";var J=Object.freeze({__proto__:null,$COMPILE:_,$CONTROLLER:N,$DELEGATE:S,$EXCEPTION_HANDLER:"$exceptionHandler",$HTTP_BACKEND:I,$INJECTOR:P,$INTERVAL:k,$PARSE:R,$PROVIDE:M,$ROOT_ELEMENT:L,$ROOT_SCOPE:B,$SCOPE:U,$TEMPLATE_CACHE:F,$TEMPLATE_REQUEST:"$templateRequest",$$TESTABILITY:q,COMPILER_KEY:"$$angularCompiler",DOWNGRADED_MODULE_COUNT_KEY:x,GROUP_PROJECTABLE_NODES_KEY:"$$angularGroupProjectableNodes",INJECTOR_KEY:V,LAZY_MODULE_REF:G,NG_ZONE_KEY:"$$angularNgZone",UPGRADE_APP_TYPE_KEY:K,REQUIRE_INJECTOR:Z,REQUIRE_NG_MODEL:z,UPGRADE_MODULE_NAME:H});class W{constructor(t,e){this.prop=t,this.attr=e,this.bracketAttr=`[${this.attr}]`,this.parenAttr=`(${this.attr})`,this.bracketParenAttr=`[(${this.attr})]`;const n=this.attr.charAt(0).toUpperCase()+this.attr.slice(1);this.onAttr=`on${n}`,this.bindAttr=`bind${n}`,this.bindonAttr=`bindon${n}`}}const Y=/^(?:x|data)[:\-_]/i,Q=/[:\-_]+(.)/g;function X(t){A.cleanData([t]),function(t){return st(t.querySelectorAll)}(t)&&A.cleanData(t.querySelectorAll("*"))}function tt(t){return"$"+t+"Controller"}function et(t){const e=t.get(L);t.get(B).$destroy(),X(e[0])}function nt(t){return t.replace(Y,"").replace(Q,((t,e)=>e.toUpperCase()))}function ot(t){return t.overriddenName||t.name||t.toString().split("\n")[0]}function rt(t){return t.has(x)?t.get(x):0}function it(t){return t.has(K)?t.get(K):0}function st(t){return"function"==typeof t}function ct(t){return st(t)&&!!t[a]}function at(t,e,n,o){const r=it(t),i=rt(t);switch(r){case 1:case 2:if(e)throw new Error(`Error while ${o}: 'downgradedModule' unexpectedly specified.\nYou should not specify a value for 'downgradedModule', unless you are downgrading more than one Angular module (via 'downgradeModule()').`);break;case 3:if(!e&&i>=2)throw new Error(`Error while ${o}: 'downgradedModule' not specified.\nThis application contains more than one downgraded Angular module, thus you need to always specify 'downgradedModule' when downgrading components and injectables.`);if(!t.has(n))throw new Error(`Error while ${o}: Unable to find the specified downgraded module.\nDid you forget to downgrade an Angular module or include it in the AngularJS application?`);break;default:throw new Error(`Error while ${o}: Not a valid '@angular/upgrade' application.\nDid you forget to downgrade an Angular module or include it in the AngularJS application?`)}}function lt(t,e){t&&function(t){return"function"==typeof t.writeValue&&"function"==typeof t.registerOnChange}(e)&&(t.$render=()=>{e.writeValue(t.$viewValue)},e.registerOnChange(t.$setViewValue.bind(t)),"function"==typeof e.registerOnTouched&&e.registerOnTouched(t.$setTouched.bind(t)))}function ut(t,e){return t===e||t!=t&&e!=e}var ht=Object.freeze({__proto__:null,onError:function(t){throw console.error(t,t.stack),t},cleanData:X,controllerKey:tt,destroyApp:et,directiveNormalize:nt,getTypeName:ot,getDowngradedModuleCount:rt,getUpgradeAppType:it,isFunction:st,isNgModuleType:ct,validateInjectionKey:at,Deferred:class{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}},hookupNgModel:lt,strictEquals:ut});const pt={__UNINITIALIZED__:!0};class dt{constructor(t,e,n,o,r,i,s,c,a,l){this.element=t,this.attrs=e,this.scope=n,this.ngModel=o,this.parentInjector=r,this.$compile=i,this.$parse=s,this.componentFactory=c,this.wrapCallback=a,this.unsafelyOverwriteSignalInputs=l,this.implementsOnChanges=!1,this.inputChangeCount=0,this.inputChanges={},this.componentScope=n.$new()}compileContents(){const t=[],e=this.groupProjectableNodes().map((t=>this.$compile(t)));return this.element.empty(),e.forEach((e=>{e(this.scope,(e=>{t.push(e),this.element.append(e)}))})),t}createComponentAndSetup(t,e=!1,n=!0){const o=this.createComponent(t);return this.setupInputs(e,n,o),this.setupOutputs(o.componentRef),this.registerCleanup(o.componentRef),o.componentRef}createComponent(t){const e=[{provide:U,useValue:this.componentScope}],n=h.create({providers:e,parent:this.parentInjector,name:"DowngradeComponentAdapter"}),o=this.componentFactory.create(n,t,this.element[0]),r=o.injector.get(p),i=o.changeDetectorRef,s=o.injector.get(c,null);return s&&o.injector.get(d).registerApplication(o.location.nativeElement,s),lt(this.ngModel,o.instance),{viewChangeDetector:r,componentRef:o,changeDetector:i}}setupInputs(t,e=!0,{componentRef:n,changeDetector:o,viewChangeDetector:r}){const i=this.attrs,s=this.componentFactory.inputs||[];for(const t of s){const e=new W(t.propName,t.templateName);let o=null;if(i.hasOwnProperty(e.attr)){const o=((t,e)=>{let o=pt;return r=>{ut(o,r)||(o===pt&&(o=r),this.updateInput(n,t,o,r,e),o=r)}})(e.prop,t.isSignal);i.$observe(e.attr,o);let r=this.componentScope.$watch((()=>{r(),r=null,o(i[e.attr])}))}else i.hasOwnProperty(e.bindAttr)?o=i[e.bindAttr]:i.hasOwnProperty(e.bracketAttr)?o=i[e.bracketAttr]:i.hasOwnProperty(e.bindonAttr)?o=i[e.bindonAttr]:i.hasOwnProperty(e.bracketParenAttr)&&(o=i[e.bracketParenAttr]);if(null!=o){const r=((t,e)=>(o,r)=>this.updateInput(n,t,r,o,e))(e.prop,t.isSignal);this.componentScope.$watch(o,r)}}const c=()=>o.detectChanges(),a=this.componentFactory.componentType.prototype;if(this.implementsOnChanges=!(!a||!a.ngOnChanges),this.componentScope.$watch((()=>this.inputChangeCount),this.wrapCallback((()=>{if(this.implementsOnChanges){const t=this.inputChanges;this.inputChanges={},n.instance.ngOnChanges(t)}r.markForCheck(),e||c()}))),e&&this.componentScope.$watch(this.wrapCallback(c)),t||!e){let t=this.componentScope.$watch((()=>{t(),t=null;this.parentInjector.get(g).attachView(n.hostView)}))}}setupOutputs(t){const e=this.attrs,n=this.componentFactory.outputs||[];for(const o of n){const n=new W(o.propName,o.templateName),r=n.bindonAttr.substring(0,n.bindonAttr.length-6),i=`[(${n.bracketParenAttr.substring(2,n.bracketParenAttr.length-8)})]`;e.hasOwnProperty(r)&&this.subscribeToOutput(t,n,e[r],!0),e.hasOwnProperty(i)&&this.subscribeToOutput(t,n,e[i],!0),e.hasOwnProperty(n.onAttr)&&this.subscribeToOutput(t,n,e[n.onAttr]),e.hasOwnProperty(n.parenAttr)&&this.subscribeToOutput(t,n,e[n.parenAttr])}}subscribeToOutput(t,e,n,o=!1){const r=this.$parse(n),i=r.assign;if(o&&!i)throw new Error(`Expression '${n}' is not assignable!`);const s=t.instance[e.prop];if(!s)throw new Error(`Missing emitter '${e.prop}' on component '${ot(this.componentFactory.componentType)}'!`);{const e=s.subscribe({next:o?t=>i(this.scope,t):t=>r(this.scope,{$event:t})});t.onDestroy((()=>e.unsubscribe()))}}registerCleanup(t){const e=t.injector.get(d),n=this.wrapCallback((()=>t.destroy()));let o=!1;this.element.on("$destroy",(()=>{o||this.componentScope.$destroy()})),this.componentScope.$on("$destroy",(()=>{o||(o=!0,e.unregisterApplication(t.location.nativeElement),X(this.element[0]),n())}))}updateInput(t,e,n,o,r){if(this.implementsOnChanges&&(this.inputChanges[e]=new m(n,o,n===o)),this.inputChangeCount++,r&&!this.unsafelyOverwriteSignalInputs){const n=t.instance[e][f];n.applyValueToInputSignal(n,o)}else t.instance[e]=o}groupProjectableNodes(){return function(t,e){const n=[];for(let e=0,o=t.length;e<o;++e)n[e]=[];for(let o=0,r=e.length;o<r;++o){const r=e[o],i=gt(r,t);null!=i&&n[i].push(r)}return n}(this.componentFactory.ngContentSelectors,this.element.contents())}}function gt(t,e){const n=[];let o=-1;for(let r=0;r<e.length;r++){const i=e[r];"*"===i?o=r:mt(t,i)&&n.push(r)}return n.sort(),-1!==o&&n.push(o),n.length?n[0]:null}function mt(t,e){const n=Element.prototype;return t.nodeType===Node.ELEMENT_NODE&&(n.matches??n.msMatchesSelector).call(t,e)}class ft{constructor(){this.resolved=!1,this.callbacks=[]}static all(t){const e=new ft;let n=0;const o=[],r=(r,i)=>{o[r]=i,++n===t.length&&e.resolve(o)};return t.forEach(((t,e)=>{var n;(n=t)&&st(n.then)?t.then((t=>r(e,t))):r(e,t)})),e}resolve(t){this.resolved||(this.value=t,this.resolved=!0,this.callbacks.forEach((e=>e(t))),this.callbacks.length=0)}then(t){this.resolved?t(this.value):this.callbacks.push(t)}}function $t(t){const e=function(e,n,o){const r=t.unsafelyOverwriteSignalInputs??!1,i=3===it(n),s=i?t=>()=>l.isInAngularZone()?t():c.run(t):t=>t;let c;const a=i&&rt(n)>1;return{restrict:"E",terminal:!0,require:[Z,z],controller:function(){},link:(h,p,d,g)=>{const m=g[1],f=g[0];let $,y=!1;if(!f||a){const e=t.downgradedModule||"",o=`${G}${e}`,r=`instantiating component '${ot(t.component)}'`;at(n,e,o,r);const i=n.get(o);$=i.injector??i.promise}const w=f||$,b=$||f,E=(n,c)=>{const a=c.get(u).resolveComponentFactory(t.component);if(!a)throw new Error(`Expecting ComponentFactory for: ${ot(t.component)}`);const l=new yt(p),g=new dt(p,d,h,m,n,e,o,a,s,r),f=g.compileContents(),$=g.createComponentAndSetup(f,i,t.propagateDigest);l.resolve($.injector),y&&h.$evalAsync((()=>{}))},O=i?(t,e)=>{c||(c=t.get(l)),s((()=>E(t,e)))()}:E;ft.all([w,b]).then((([t,e])=>O(t,e))),y=!0}}};return e.$inject=[_,P,R],e}class yt extends ft{constructor(t){super(),this.element=t,this.injectorKey=tt(V),t.data(this.injectorKey,this)}resolve(t){this.element.data(this.injectorKey,t),this.element=null,super.resolve(t)}}function wt(t,e=""){const n=function(n){const o=`${V}${e}`,r=`instantiating injectable '${st(t)?ot(t):String(t)}'`;at(n,e,o,r);try{return n.get(o).get(t)}catch(t){throw new Error(`Error while ${r}: ${t.message||t}`)}};return n.$inject=[P],n}const bt=new e("18.2.11");let Et;function Ot(t){return function(){if(void 0===Et){Et=null;const t=window;if(t.trustedTypes)try{Et=t.trustedTypes.createPolicy("angular#unsafe-upgrade",{createHTML:t=>t})}catch{}}return Et}()?.createHTML(t)||t}const vt=/^(\^\^?)?(\?)?(\^\^?)?/;class Ct{constructor(t,e,n,o){this.name=e,this.$injector=t.get(P),this.$compile=this.$injector.get(_),this.$controller=this.$injector.get(N),this.element=n.nativeElement,this.$element=A(this.element),this.directive=o??Ct.getDirective(this.$injector,e)}static getDirective(t,e){const n=t.get(e+"Directive");if(n.length>1)throw new Error(`Only support single directive definition for: ${e}`);const o=n[0];return o.compile&&!o.link&&At(e,"compile"),o.replace&&At(e,"replace"),o.terminal&&At(e,"terminal"),o}static getTemplate(t,e,n=!1,o){if(void 0!==e.template)return Ot(Tt(e.template,o));if(e.templateUrl){const r=t.get(F),i=Tt(e.templateUrl,o),s=r.get(i);if(void 0!==s)return Ot(s);if(!n)throw new Error("loading directive templates asynchronously is not supported");return new Promise(((e,n)=>{t.get(I)("GET",i,null,((t,o)=>{200===t?e(Ot(r.put(i,o))):n(`GET component template from '${i}' returned '${t}: ${o}'`)}))}))}throw new Error(`Directive '${e.name}' is not a component, it is missing template.`)}buildController(t,e){const n={$scope:e,$element:this.$element},o=this.$controller(t,n,null,this.directive.controllerAs);return this.$element.data?.(tt(this.directive.name),o),o}compileTemplate(t){return void 0===t&&(t=Ct.getTemplate(this.$injector,this.directive,!1,this.$element)),this.compileHtml(t)}onDestroy(t,e){e&&st(e.$onDestroy)&&e.$onDestroy(),t.$destroy(),X(this.element)}prepareTransclusion(){const t=this.directive.transclude,e=this.extractChildNodes(),n=(t,e)=>e(o,t=t||{$destroy:()=>{}});let o=e;if(t){const r=Object.create(null);if("object"==typeof t){o=[];const n=Object.create(null),i=Object.create(null);Object.keys(t).forEach((e=>{let o=t[e];const s="?"===o.charAt(0);o=s?o.substring(1):o,n[o]=e,r[e]=null,i[e]=s})),e.forEach((t=>{const e=n[nt(t.nodeName.toLowerCase())];e?(i[e]=!0,r[e]=r[e]||[],r[e].push(t)):o.push(t)})),Object.keys(i).forEach((t=>{if(!i[t])throw new Error(`Required transclusion slot '${t}' on directive: ${this.name}`)})),Object.keys(r).filter((t=>r[t])).forEach((t=>{const e=r[t];r[t]=(t,n)=>n(e,t)}))}n.$$slots=r,o.forEach((t=>{t.nodeType!==Node.TEXT_NODE||t.nodeValue||(t.nodeValue="‌")}))}return n}resolveAndBindRequiredControllers(t){const e=this.getDirectiveRequire(),n=this.resolveRequire(e);if(t&&this.directive.bindToController&&jt(e)){const e=n;Object.keys(e).forEach((n=>{t[n]=e[n]}))}return n}compileHtml(t){return this.element.innerHTML=t,this.$compile(this.element.childNodes)}extractChildNodes(){const t=[];let e;for(;e=this.element.firstChild;)e.remove(),t.push(e);return t}getDirectiveRequire(){const t=this.directive.require||this.directive.controller&&this.directive.name;return jt(t)&&Object.entries(t).forEach((([e,n])=>{const o=n.match(vt);n.substring(o[0].length)||(t[e]=o[0]+e)})),t}resolveRequire(t){if(t){if(Array.isArray(t))return t.map((t=>this.resolveRequire(t)));if("object"==typeof t){const e={};return Object.keys(t).forEach((n=>e[n]=this.resolveRequire(t[n]))),e}if("string"==typeof t){const e=t.match(vt),n=e[1]||e[3],o=t.substring(e[0].length),r=!!e[2],i=!!n,s="^^"===n,c=tt(o),a=s?this.$element.parent():this.$element,l=i?a.inheritedData(c):a.data(c);if(!l&&!r)throw new Error(`Unable to find required '${t}' in upgraded directive '${this.name}'.`);return l}throw new Error(`Unrecognized 'require' syntax on upgraded directive '${this.name}': ${t}`)}return null}}function Tt(t,...e){return st(t)?t(...e):t}function jt(t){return t&&!Array.isArray(t)&&"object"==typeof t}function At(t,e){throw new Error(`Upgraded directive '${t}' contains unsupported feature: '${e}'.`)}var Dt=Object.freeze({__proto__:null,UpgradeHelper:Ct});let _t=null;function Nt(t){_t=t}const St=[{provide:"$injector",useFactory:function(){if(!_t)throw new Error("Trying to get the AngularJS injector before it being set.");const t=_t;return _t=null,t},deps:[]},{provide:"$rootScope",useFactory:function(t){return t.get("$rootScope")},deps:["$injector"]},{provide:"$compile",useFactory:function(t){return t.get("$compile")},deps:["$injector"]},{provide:"$parse",useFactory:function(t){return t.get("$parse")},deps:["$injector"]}];class It{constructor(t){this.modInjector=t}get(t,e){return e===i?e:this.modInjector.get(t,e)}}let Pt=0;function kt(t){const e=`${H}.lazy${++Pt}`,n=`${G}${e}`,o=`${V}${e}`;let r,i;return r=ct(t)?e=>$(e).bootstrapModule(t):st(t)?t:e=>$(e).bootstrapModuleFactory(t),j(e,[]).constant(K,3).factory(V,[o,Rt]).factory(o,(()=>{if(!i)throw new Error("Trying to get the Angular injector before bootstrapping the corresponding Angular module.");return i})).factory(G,[n,Rt]).factory(n,[P,t=>{Nt(t);const e={promise:r(St).then((n=>(i=e.injector=new It(n.injector),i.get(P),i.get(s).onDestroy((()=>et(t))),i)))};return e}]).config([P,M,(t,e)=>{e.constant(x,rt(t)+1)}]),e}function Rt(t){return t}const Mt="NOT_SUPPORTED",Lt={__UNINITIALIZED__:!0};class Bt{constructor(){this.twoWayBoundProperties=[],this.twoWayBoundLastValues=[],this.expressionBoundProperties=[],this.propertyToOutputMap={}}}class Ut{constructor(t,e,n){this.pendingChanges=null,this.helper=new Ct(n,t,e),this.$element=this.helper.$element,this.directive=this.helper.directive,this.bindings=this.initializeBindings(this.directive,t);const o=n.get(U);this.$componentScope=o.$new(!!this.directive.scope),this.initializeOutputs()}ngOnInit(){const t=this.helper.prepareTransclusion(),e=this.helper.compileTemplate(),n=this.directive.controller,o=this.directive.bindToController;let r,i=n?this.helper.buildController(n,this.$componentScope):void 0;if(o){if(!n||!i)throw new Error(`Upgraded directive '${this.directive.name}' specifies 'bindToController' but no controller.`);r=i}else r=this.$componentScope;this.controllerInstance=i,this.bindingDestination=r,this.bindOutputs(r);const s=this.helper.resolveAndBindRequiredControllers(i);if(this.pendingChanges&&(this.forwardChanges(this.pendingChanges,r),this.pendingChanges=null),this.controllerInstance&&st(this.controllerInstance.$onInit)&&this.controllerInstance.$onInit(),i&&st(i.$doCheck)){const t=()=>i?.$doCheck?.();this.unregisterDoCheckWatcher=this.$componentScope.$parent.$watch(t),t()}const c=this.directive.link,a="object"==typeof c&&c.pre,l="object"==typeof c?c.post:c,u=Mt,h=Mt;a&&a(this.$componentScope,this.$element,u,s,h),e(this.$componentScope,null,{parentBoundTranscludeFn:t}),l&&l(this.$componentScope,this.$element,u,s,h),this.controllerInstance&&st(this.controllerInstance.$postLink)&&this.controllerInstance.$postLink()}ngOnChanges(t){this.bindingDestination?this.forwardChanges(t,this.bindingDestination):this.pendingChanges=t}ngDoCheck(){const t=this.bindings.twoWayBoundProperties,e=this.bindings.twoWayBoundLastValues,n=this.bindings.propertyToOutputMap;t.forEach(((t,o)=>{const r=this.bindingDestination?.[t],i=e[o];if(!Object.is(r,i)){this[n[t]].emit(r),e[o]=r}}))}ngOnDestroy(){st(this.unregisterDoCheckWatcher)&&this.unregisterDoCheckWatcher(),this.helper.onDestroy(this.$componentScope,this.controllerInstance)}initializeBindings(t,e){const n="object"==typeof t.bindToController;if(n&&Object.keys(t.scope).length)throw new Error("Binding definitions on scope and controller at the same time is not supported.");const o=n?t.bindToController:t.scope,r=new Bt;return"object"==typeof o&&Object.keys(o).forEach((t=>{const n=o[t].charAt(0);switch(n){case"@":case"<":break;case"=":r.twoWayBoundProperties.push(t),r.twoWayBoundLastValues.push(Lt),r.propertyToOutputMap[t]=t+"Change";break;case"&":r.expressionBoundProperties.push(t),r.propertyToOutputMap[t]=t;break;default:let i=JSON.stringify(o);throw new Error(`Unexpected mapping '${n}' in '${i}' in '${e}' directive.`)}})),r}initializeOutputs(){this.bindings.twoWayBoundProperties.concat(this.bindings.expressionBoundProperties).forEach((t=>{this[this.bindings.propertyToOutputMap[t]]=new n}))}bindOutputs(t){this.bindings.expressionBoundProperties.forEach((e=>{const n=this[this.bindings.propertyToOutputMap[e]];t[e]=t=>n.emit(t)}))}forwardChanges(t,e){Object.keys(t).forEach((n=>e[n]=t[n].currentValue)),st(e.$onChanges)&&e.$onChanges(t)}static{this.ɵfac=function(e){t.ɵɵinvalidFactory()}}static{this.ɵdir=t.ɵɵdefineDirective({type:Ut,features:[t.ɵɵNgOnChangesFeature]})}}class Ft{constructor(t,e,n){this.ngZone=e,this.platformRef=n,this.injector=new It(t)}bootstrap(t,e=[],n){const o=H+".init";j(o,[]).constant(K,2).value(V,this.injector).factory(G,[V,t=>({injector:t})]).config([M,P,(t,e)=>{e.has(q)&&t.decorator(q,[S,t=>{const e=t.whenStable,n=this.injector,o=function(r){e.call(t,(function(){const e=n.get(c);e.isStable()?r():e.whenStable(o.bind(t,r))}))};return t.whenStable=o,t}]),e.has(k)&&t.decorator(k,[S,t=>{let e=(e,n,o,r,...i)=>this.ngZone.runOutsideAngular((()=>t(((...t)=>{setTimeout((()=>{this.ngZone.run((()=>e(...t)))}))}),n,o,r,...i)));return Object.keys(t).forEach((n=>e[n]=t[n])),t.hasOwnProperty("flush")&&(e.flush=()=>(t.flush(),e)),e}])}]).run([P,e=>{this.$injector=e;const n=e.get("$rootScope");Nt(e),this.injector.get(P),A(t).data(tt(V),this.injector),this.platformRef.onDestroy((()=>et(e))),setTimeout((()=>{const t=this.ngZone.onMicrotaskEmpty.subscribe((()=>n.$$phase?n.$evalAsync():n.$digest()));n.$on("$destroy",(()=>{t.unsubscribe()}))}),0)}]);const r=j(H,[o].concat(e)),i=window.angular;i.resumeBootstrap=void 0;const s=this.ngZone.run((()=>T(t,[r.name],n)));if(i.resumeBootstrap){const t=i.resumeBootstrap,e=this.ngZone;i.resumeBootstrap=function(){let n=arguments;return i.resumeBootstrap=t,e.run((()=>i.resumeBootstrap.apply(this,n)))}}return s}static{this.ɵfac=function(e){return new(e||Ft)(t.ɵɵinject(t.Injector),t.ɵɵinject(t.NgZone),t.ɵɵinject(t.PlatformRef))}}static{this.ɵmod=t.ɵɵdefineNgModule({type:Ft})}static{this.ɵinj=t.ɵɵdefineInjector({providers:[St]})}}export{Ut as UpgradeComponent,Ft as UpgradeModule,bt as VERSION,$t as downgradeComponent,wt as downgradeInjectable,kt as downgradeModule,C as getAngularJSGlobal,O as getAngularLib,v as setAngularJSGlobal,E as setAngularLib,D as ɵangular1,J as ɵconstants,Dt as ɵupgradeHelper,ht as ɵutil};
//# sourceMappingURL=angular-upgrade-static.min.js.map

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/upgrade@18.2.10 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import*as t from"@angular/core";import{Version as e,EventEmitter as n,Directive as o,NgZone as r,Injector as s,Compiler as i,NgModule as c,resolveForwardRef as a,Inject as l,ElementRef as p,Testability as h,ComponentFactoryResolver as u,ChangeDetectorRef as d,TestabilityRegistry as m,ApplicationRef as g,SimpleChange as f,ɵSIGNAL as y}from"@angular/core";import{__decorate as $,__metadata as w}from"tslib";import{platformBrowserDynamic as b}from"@angular/platform-browser-dynamic";const v=new e("18.2.10");function C(){throw new Error("AngularJS v1.x is not loaded!")}const O=()=>C();O.cleanData=C;let j={bootstrap:C,module:C,element:O,injector:C,version:void 0,resumeBootstrap:C,getTestability:C};try{window.hasOwnProperty("angular")&&(j=window.angular)}catch{}const A=t=>j.element(t);A.cleanData=t=>j.element.cleanData(t);const E="$compile",k="$injector",T="$rootScope",S="$scope",I="$$testability",P="$$angularDowngradedModuleCount",D="$$angularInjector",M="$$angularLazyModuleRef",R="$$angularUpgradeAppType",N="?^^"+D;class _{constructor(t,e){this.prop=t,this.attr=e,this.bracketAttr=`[${this.attr}]`,this.parenAttr=`(${this.attr})`,this.bracketParenAttr=`[(${this.attr})]`;const n=this.attr.charAt(0).toUpperCase()+this.attr.slice(1);this.onAttr=`on${n}`,this.bindAttr=`bind${n}`,this.bindonAttr=`bindon${n}`}}const B=/^(?:x|data)[:\-_]/i,F=/[:\-_]+(.)/g;function U(t){throw console.error(t,t.stack),t}function x(t){A.cleanData([t]),function(t){return G(t.querySelectorAll)}(t)&&A.cleanData(t.querySelectorAll("*"))}function L(t){return"$"+t+"Controller"}function q(t){return t.overriddenName||t.name||t.toString().split("\n")[0]}function V(t){return t.has(P)?t.get(P):0}function Z(t){return t.has(R)?t.get(R):0}function G(t){return"function"==typeof t}function H(t,e,n,o){const r=Z(t),s=V(t);switch(r){case 1:case 2:if(e)throw new Error(`Error while ${o}: 'downgradedModule' unexpectedly specified.\nYou should not specify a value for 'downgradedModule', unless you are downgrading more than one Angular module (via 'downgradeModule()').`);break;case 3:if(!e&&s>=2)throw new Error(`Error while ${o}: 'downgradedModule' not specified.\nThis application contains more than one downgraded Angular module, thus you need to always specify 'downgradedModule' when downgrading components and injectables.`);if(!t.has(n))throw new Error(`Error while ${o}: Unable to find the specified downgraded module.\nDid you forget to downgrade an Angular module or include it in the AngularJS application?`);break;default:throw new Error(`Error while ${o}: Not a valid '@angular/upgrade' application.\nDid you forget to downgrade an Angular module or include it in the AngularJS application?`)}}class J{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}}function K(t,e){return t===e||t!=t&&e!=e}const z={__UNINITIALIZED__:!0};class X{constructor(t,e,n,o,r,s,i,c,a,l){this.element=t,this.attrs=e,this.scope=n,this.ngModel=o,this.parentInjector=r,this.$compile=s,this.$parse=i,this.componentFactory=c,this.wrapCallback=a,this.unsafelyOverwriteSignalInputs=l,this.implementsOnChanges=!1,this.inputChangeCount=0,this.inputChanges={},this.componentScope=n.$new()}compileContents(){const t=[],e=this.groupProjectableNodes().map((t=>this.$compile(t)));return this.element.empty(),e.forEach((e=>{e(this.scope,(e=>{t.push(e),this.element.append(e)}))})),t}createComponentAndSetup(t,e=!1,n=!0){const o=this.createComponent(t);return this.setupInputs(e,n,o),this.setupOutputs(o.componentRef),this.registerCleanup(o.componentRef),o.componentRef}createComponent(t){const e=[{provide:S,useValue:this.componentScope}],n=s.create({providers:e,parent:this.parentInjector,name:"DowngradeComponentAdapter"}),o=this.componentFactory.create(n,t,this.element[0]),r=o.injector.get(d),i=o.changeDetectorRef,c=o.injector.get(h,null);var a,l;return c&&o.injector.get(m).registerApplication(o.location.nativeElement,c),a=this.ngModel,l=o.instance,a&&function(t){return"function"==typeof t.writeValue&&"function"==typeof t.registerOnChange}(l)&&(a.$render=()=>{l.writeValue(a.$viewValue)},l.registerOnChange(a.$setViewValue.bind(a)),"function"==typeof l.registerOnTouched&&l.registerOnTouched(a.$setTouched.bind(a))),{viewChangeDetector:r,componentRef:o,changeDetector:i}}setupInputs(t,e=!0,{componentRef:n,changeDetector:o,viewChangeDetector:r}){const s=this.attrs,i=this.componentFactory.inputs||[];for(const t of i){const e=new _(t.propName,t.templateName);let o=null;if(s.hasOwnProperty(e.attr)){const o=((t,e)=>{let o=z;return r=>{K(o,r)||(o===z&&(o=r),this.updateInput(n,t,o,r,e),o=r)}})(e.prop,t.isSignal);s.$observe(e.attr,o);let r=this.componentScope.$watch((()=>{r(),r=null,o(s[e.attr])}))}else s.hasOwnProperty(e.bindAttr)?o=s[e.bindAttr]:s.hasOwnProperty(e.bracketAttr)?o=s[e.bracketAttr]:s.hasOwnProperty(e.bindonAttr)?o=s[e.bindonAttr]:s.hasOwnProperty(e.bracketParenAttr)&&(o=s[e.bracketParenAttr]);if(null!=o){const r=((t,e)=>(o,r)=>this.updateInput(n,t,r,o,e))(e.prop,t.isSignal);this.componentScope.$watch(o,r)}}const c=()=>o.detectChanges(),a=this.componentFactory.componentType.prototype;if(this.implementsOnChanges=!(!a||!a.ngOnChanges),this.componentScope.$watch((()=>this.inputChangeCount),this.wrapCallback((()=>{if(this.implementsOnChanges){const t=this.inputChanges;this.inputChanges={},n.instance.ngOnChanges(t)}r.markForCheck(),e||c()}))),e&&this.componentScope.$watch(this.wrapCallback(c)),t||!e){let t=this.componentScope.$watch((()=>{t(),t=null;this.parentInjector.get(g).attachView(n.hostView)}))}}setupOutputs(t){const e=this.attrs,n=this.componentFactory.outputs||[];for(const o of n){const n=new _(o.propName,o.templateName),r=n.bindonAttr.substring(0,n.bindonAttr.length-6),s=`[(${n.bracketParenAttr.substring(2,n.bracketParenAttr.length-8)})]`;e.hasOwnProperty(r)&&this.subscribeToOutput(t,n,e[r],!0),e.hasOwnProperty(s)&&this.subscribeToOutput(t,n,e[s],!0),e.hasOwnProperty(n.onAttr)&&this.subscribeToOutput(t,n,e[n.onAttr]),e.hasOwnProperty(n.parenAttr)&&this.subscribeToOutput(t,n,e[n.parenAttr])}}subscribeToOutput(t,e,n,o=!1){const r=this.$parse(n),s=r.assign;if(o&&!s)throw new Error(`Expression '${n}' is not assignable!`);const i=t.instance[e.prop];if(!i)throw new Error(`Missing emitter '${e.prop}' on component '${q(this.componentFactory.componentType)}'!`);{const e=i.subscribe({next:o?t=>s(this.scope,t):t=>r(this.scope,{$event:t})});t.onDestroy((()=>e.unsubscribe()))}}registerCleanup(t){const e=t.injector.get(m),n=this.wrapCallback((()=>t.destroy()));let o=!1;this.element.on("$destroy",(()=>{o||this.componentScope.$destroy()})),this.componentScope.$on("$destroy",(()=>{o||(o=!0,e.unregisterApplication(t.location.nativeElement),x(this.element[0]),n())}))}updateInput(t,e,n,o,r){if(this.implementsOnChanges&&(this.inputChanges[e]=new f(n,o,n===o)),this.inputChangeCount++,r&&!this.unsafelyOverwriteSignalInputs){const n=t.instance[e][y];n.applyValueToInputSignal(n,o)}else t.instance[e]=o}groupProjectableNodes(){return function(t,e){const n=[];for(let e=0,o=t.length;e<o;++e)n[e]=[];for(let o=0,r=e.length;o<r;++o){const r=e[o],s=Y(r,t);null!=s&&n[s].push(r)}return n}(this.componentFactory.ngContentSelectors,this.element.contents())}}function Y(t,e){const n=[];let o=-1;for(let r=0;r<e.length;r++){const s=e[r];"*"===s?o=r:Q(t,s)&&n.push(r)}return n.sort(),-1!==o&&n.push(o),n.length?n[0]:null}function Q(t,e){const n=Element.prototype;return t.nodeType===Node.ELEMENT_NODE&&(n.matches??n.msMatchesSelector).call(t,e)}class W{constructor(){this.resolved=!1,this.callbacks=[]}static all(t){const e=new W;let n=0;const o=[],r=(r,s)=>{o[r]=s,++n===t.length&&e.resolve(o)};return t.forEach(((t,e)=>{var n;(n=t)&&G(n.then)?t.then((t=>r(e,t))):r(e,t)})),e}resolve(t){this.resolved||(this.value=t,this.resolved=!0,this.callbacks.forEach((e=>e(t))),this.callbacks.length=0)}then(t){this.resolved?t(this.value):this.callbacks.push(t)}}class tt extends W{constructor(t){super(),this.element=t,this.injectorKey=L(D),t.data(this.injectorKey,this)}resolve(t){this.element.data(this.injectorKey,t),this.element=null,super.resolve(t)}}let et;function nt(t){return function(){if(void 0===et){et=null;const t=window;if(t.trustedTypes)try{et=t.trustedTypes.createPolicy("angular#unsafe-upgrade",{createHTML:t=>t})}catch{}}return et}()?.createHTML(t)||t}const ot=/^(\^\^?)?(\?)?(\^\^?)?/;class rt{constructor(t,e,n,o){this.name=e,this.$injector=t.get(k),this.$compile=this.$injector.get(E),this.$controller=this.$injector.get("$controller"),this.element=n.nativeElement,this.$element=A(this.element),this.directive=o??rt.getDirective(this.$injector,e)}static getDirective(t,e){const n=t.get(e+"Directive");if(n.length>1)throw new Error(`Only support single directive definition for: ${e}`);const o=n[0];return o.compile&&!o.link&&ct(e,"compile"),o.replace&&ct(e,"replace"),o.terminal&&ct(e,"terminal"),o}static getTemplate(t,e,n=!1,o){if(void 0!==e.template)return nt(st(e.template,o));if(e.templateUrl){const r=t.get("$templateCache"),s=st(e.templateUrl,o),i=r.get(s);if(void 0!==i)return nt(i);if(!n)throw new Error("loading directive templates asynchronously is not supported");return new Promise(((e,n)=>{t.get("$httpBackend")("GET",s,null,((t,o)=>{200===t?e(nt(r.put(s,o))):n(`GET component template from '${s}' returned '${t}: ${o}'`)}))}))}throw new Error(`Directive '${e.name}' is not a component, it is missing template.`)}buildController(t,e){const n={$scope:e,$element:this.$element},o=this.$controller(t,n,null,this.directive.controllerAs);return this.$element.data?.(L(this.directive.name),o),o}compileTemplate(t){return void 0===t&&(t=rt.getTemplate(this.$injector,this.directive,!1,this.$element)),this.compileHtml(t)}onDestroy(t,e){e&&G(e.$onDestroy)&&e.$onDestroy(),t.$destroy(),x(this.element)}prepareTransclusion(){const t=this.directive.transclude,e=this.extractChildNodes(),n=(t,e)=>e(o,t=t||{$destroy:()=>{}});let o=e;if(t){const r=Object.create(null);if("object"==typeof t){o=[];const n=Object.create(null),s=Object.create(null);Object.keys(t).forEach((e=>{let o=t[e];const i="?"===o.charAt(0);o=i?o.substring(1):o,n[o]=e,r[e]=null,s[e]=i})),e.forEach((t=>{const e=n[(i=t.nodeName.toLowerCase(),i.replace(B,"").replace(F,((t,e)=>e.toUpperCase())))];var i;e?(s[e]=!0,r[e]=r[e]||[],r[e].push(t)):o.push(t)})),Object.keys(s).forEach((t=>{if(!s[t])throw new Error(`Required transclusion slot '${t}' on directive: ${this.name}`)})),Object.keys(r).filter((t=>r[t])).forEach((t=>{const e=r[t];r[t]=(t,n)=>n(e,t)}))}n.$$slots=r,o.forEach((t=>{t.nodeType!==Node.TEXT_NODE||t.nodeValue||(t.nodeValue="‌")}))}return n}resolveAndBindRequiredControllers(t){const e=this.getDirectiveRequire(),n=this.resolveRequire(e);if(t&&this.directive.bindToController&&it(e)){const e=n;Object.keys(e).forEach((n=>{t[n]=e[n]}))}return n}compileHtml(t){return this.element.innerHTML=t,this.$compile(this.element.childNodes)}extractChildNodes(){const t=[];let e;for(;e=this.element.firstChild;)e.remove(),t.push(e);return t}getDirectiveRequire(){const t=this.directive.require||this.directive.controller&&this.directive.name;return it(t)&&Object.entries(t).forEach((([e,n])=>{const o=n.match(ot);n.substring(o[0].length)||(t[e]=o[0]+e)})),t}resolveRequire(t){if(t){if(Array.isArray(t))return t.map((t=>this.resolveRequire(t)));if("object"==typeof t){const e={};return Object.keys(t).forEach((n=>e[n]=this.resolveRequire(t[n]))),e}if("string"==typeof t){const e=t.match(ot),n=e[1]||e[3],o=t.substring(e[0].length),r=!!e[2],s=!!n,i="^^"===n,c=L(o),a=i?this.$element.parent():this.$element,l=s?a.inheritedData(c):a.data(c);if(!l&&!r)throw new Error(`Unable to find required '${t}' in upgraded directive '${this.name}'.`);return l}throw new Error(`Unrecognized 'require' syntax on upgraded directive '${this.name}': ${t}`)}return null}}function st(t,...e){return G(t)?t(...e):t}function it(t){return t&&!Array.isArray(t)&&"object"==typeof t}function ct(t,e){throw new Error(`Upgraded directive '${t}' contains unsupported feature: '${e}'.`)}const at=/([A-Z])/g,lt={__UNINITIALIZED__:!0},pt="NOT_SUPPORTED";class ht{constructor(t){this.name=t,this.inputs=[],this.inputsRename=[],this.outputs=[],this.outputsRename=[],this.propertyOutputs=[],this.checkProperties=[],this.propertyMap={},this.directive=null;const e=t.replace(at,((t,e)=>"-"+e.toLowerCase())),n=this;let r=class extends ut{constructor(e,o,r){super(new rt(o,t,r,n.directive||void 0),e,n.template,n.inputs,n.outputs,n.propertyOutputs,n.checkProperties,n.propertyMap)}static{this.ctorParameters=()=>[{type:void 0,decorators:[{type:l,args:[S]}]},{type:s},{type:p}]}};r=$([o({jit:!0,selector:e,inputs:this.inputsRename,outputs:this.outputsRename}),w("design:paramtypes",[Object,s,p])],r),this.type=r}extractBindings(){const t="object"==typeof this.directive.bindToController;if(t&&Object.keys(this.directive.scope).length)throw new Error("Binding definitions on scope and controller at the same time are not supported.");const e=t?this.directive.bindToController:this.directive.scope;"object"==typeof e&&Object.keys(e).forEach((t=>{const n=e[t],o=n.charAt(0),r=n.charAt(1),s=n.substring("?"===r?2:1)||t,i=`input_${s}`;const c=`${i}: ${s}`,a=function(t){return`output_${t}`}(s),l=`${a}: ${s}`,p=`${l}Change`;switch(o){case"@":case"<":this.inputs.push(i),this.inputsRename.push(c),this.propertyMap[i]=t;break;case"=":this.inputs.push(i),this.inputsRename.push(c),this.propertyMap[i]=t,this.outputs.push(a),this.outputsRename.push(p),this.propertyMap[a]=t,this.checkProperties.push(t),this.propertyOutputs.push(a);break;case"&":this.outputs.push(a),this.outputsRename.push(l),this.propertyMap[a]=t;break;default:let n=JSON.stringify(e);throw new Error(`Unexpected mapping '${o}' in '${n}' in '${this.name}' directive.`)}}))}static resolve(t,e){const n=Object.entries(t).map((([t,n])=>(n.directive=rt.getDirective(e,t),n.extractBindings(),Promise.resolve(rt.getTemplate(e,n.directive,!0)).then((t=>n.template=t)))));return Promise.all(n)}}class ut{constructor(t,e,o,r,s,i,c,a){this.helper=t,this.template=o,this.inputs=r,this.outputs=s,this.propOuts=i,this.checkProperties=c,this.propertyMap=a,this.controllerInstance=null,this.destinationObj=null,this.checkLastValues=[],this.$element=null,this.directive=t.directive,this.element=t.element,this.$element=t.$element,this.componentScope=e.$new(!!this.directive.scope);const l=this.directive.controller;this.directive.bindToController&&l?(this.controllerInstance=this.helper.buildController(l,this.componentScope),this.destinationObj=this.controllerInstance):this.destinationObj=this.componentScope;for(const t of this.inputs)this[t]=null;for(const t of this.outputs){const e=this[t]=new n;-1===this.propOuts.indexOf(t)&&this.setComponentProperty(t,(t=>e=>t.emit(e))(e))}this.checkLastValues.push(...Array(i.length).fill(lt))}ngOnInit(){const t=this.helper.prepareTransclusion(),e=this.helper.compileTemplate(nt(this.template)),n=this.directive.controller,o=this.directive.bindToController;n&&!o&&(this.controllerInstance=this.helper.buildController(n,this.componentScope));const r=this.helper.resolveAndBindRequiredControllers(this.controllerInstance);this.controllerInstance&&G(this.controllerInstance.$onInit)&&this.controllerInstance.$onInit();const s=this.directive.link,i="object"==typeof s&&s.pre,c="object"==typeof s?s.post:s,a=pt,l=pt;i&&i(this.componentScope,this.$element,a,r,l),e(this.componentScope,null,{parentBoundTranscludeFn:t}),c&&c(this.componentScope,this.$element,a,r,l),this.controllerInstance&&G(this.controllerInstance.$postLink)&&this.controllerInstance.$postLink()}ngOnChanges(t){const e={};Object.keys(t).forEach((n=>{const o=t[n];this.setComponentProperty(n,o.currentValue),e[this.propertyMap[n]]=o})),G(this.destinationObj.$onChanges)&&this.destinationObj.$onChanges(e)}ngDoCheck(){const t=this.destinationObj,e=this.checkLastValues,n=this.checkProperties,o=this.propOuts;n.forEach(((n,r)=>{const s=t[n];if(!K(e[r],s)){this[o[r]].emit(e[r]=s)}})),this.controllerInstance&&G(this.controllerInstance.$doCheck)&&this.controllerInstance.$doCheck()}ngOnDestroy(){this.helper.onDestroy(this.componentScope,this.controllerInstance)}setComponentProperty(t,e){this.destinationObj[this.propertyMap[t]]=e}static{this.ɵfac=function(e){t.ɵɵinvalidFactory()}}static{this.ɵdir=t.ɵɵdefineDirective({type:ut,features:[t.ɵɵNgOnChangesFeature]})}}let dt=0;class mt{constructor(t,e){if(this.ng2AppModule=t,this.compilerOptions=e,this.idPrefix=`NG2_UPGRADE_${dt++}_`,this.downgradedComponents=[],this.ng1ComponentsToBeUpgraded={},this.upgradedProviders=[],this.moduleRef=null,!t)throw new Error("UpgradeAdapter cannot be instantiated without an NgModule of the Angular app.")}downgradeNg2Component(t){return this.downgradedComponents.push(t),function(t){const e=function(e,n,o){const s=t.unsafelyOverwriteSignalInputs??!1,i=3===Z(n),c=i?t=>()=>r.isInAngularZone()?t():a.run(t):t=>t;let a;const l=i&&V(n)>1;return{restrict:"E",terminal:!0,require:[N,"?ngModel"],controller:function(){},link:(p,h,d,m)=>{const g=m[1],f=m[0];let y,$=!1;if(!f||l){const e=t.downgradedModule||"",o=`${M}${e}`,r=`instantiating component '${q(t.component)}'`;H(n,e,o,r);const s=n.get(o);y=s.injector??s.promise}const w=f||y,b=y||f,v=(n,r)=>{const a=r.get(u).resolveComponentFactory(t.component);if(!a)throw new Error(`Expecting ComponentFactory for: ${q(t.component)}`);const l=new tt(h),m=new X(h,d,p,g,n,e,o,a,c,s),f=m.compileContents(),y=m.createComponentAndSetup(f,i,t.propagateDigest);l.resolve(y.injector),$&&p.$evalAsync((()=>{}))},C=i?(t,e)=>{a||(a=t.get(r)),c((()=>v(t,e)))()}:v;W.all([w,b]).then((([t,e])=>C(t,e))),$=!0}}};return e.$inject=[E,k,"$parse"],e}({component:t})}upgradeNg1Component(t){return this.ng1ComponentsToBeUpgraded.hasOwnProperty(t)?this.ng1ComponentsToBeUpgraded[t].type:(this.ng1ComponentsToBeUpgraded[t]=new ht(t)).type}registerForNg1Tests(t){const e=window.angular.mock;if(!e||!e.module)throw new Error("Failed to find 'angular.mock.module'.");const{ng1Module:n,ng2BootstrapDeferred:o}=this.declareNg1Module(t);e.module(n.name);const r=new gt;return o.promise.then((t=>{r._bootstrapDone(this.moduleRef,t)}),U),r}bootstrap(t,e,n){const{ng1Module:o,ng2BootstrapDeferred:s,ngZone:i}=this.declareNg1Module(e),c=new gt,a=window.angular;a.resumeBootstrap=void 0,i.run((()=>{((t,e,n)=>{j.bootstrap(t,e,n)})(t,[o.name],n)}));const l=new Promise((t=>{if(a.resumeBootstrap){const e=a.resumeBootstrap;a.resumeBootstrap=function(){a.resumeBootstrap=e;const n=a.resumeBootstrap.apply(this,arguments);return t(),n}}else t()}));return Promise.all([s.promise,l]).then((([e])=>{A(t).data(L(D),this.moduleRef.injector),this.moduleRef.injector.get(r).run((()=>{c._bootstrapDone(this.moduleRef,e)}))}),U),c}upgradeNg1Provider(t,e){const n=e&&e.asToken||t;this.upgradedProviders.push({provide:n,useFactory:e=>e.get(t),deps:[k]})}downgradeNg2Provider(t){return function(t,e=""){const n=function(n){const o=`${D}${e}`,r=`instantiating injectable '${G(t)?q(t):String(t)}'`;H(n,e,o,r);try{return n.get(o).get(t)}catch(t){throw new Error(`Error while ${r}: ${t.message||t}`)}};return n.$inject=[k],n}(t)}declareNg1Module(t=[]){const e=[];let n,o;const l=this,p=(u=this.idPrefix,d=t,j.module(u,d));var u,d;const m=b(),g=new r({enableLongStackTrace:Zone.hasOwnProperty("longStackTraceZoneSpec")}),f=new J;return p.constant(R,1).factory(D,(()=>this.moduleRef.injector.get(s))).factory(M,[D,t=>({injector:t})]).constant("$$angularNgZone",g).factory("$$angularCompiler",(()=>this.moduleRef.injector.get(i))).config(["$provide","$injector",(t,r)=>{t.decorator(T,["$delegate",function(t){if(o=t.constructor.prototype,!o.hasOwnProperty("$apply"))throw new Error("Failed to find '$apply' on '$rootScope'!");return n=o.$apply,o.$apply=t=>e.push(t),t}]),r.has(I)&&t.decorator(I,["$delegate",function(t){const e=t.whenStable,n=function(t){e.call(this,(function(){const e=l.moduleRef.injector.get(h);e.isStable()?t.apply(this,arguments):e.whenStable(n.bind(this,t))}))};return t.whenStable=n,t}])}]),p.run(["$injector","$rootScope",(t,r)=>{ht.resolve(this.ng1ComponentsToBeUpgraded,t).then((()=>{let s=class{ngDoBootstrap(){}};s=$([c({jit:!0,providers:[{provide:k,useFactory:()=>t},{provide:E,useFactory:()=>t.get(E)},this.upgradedProviders],imports:[a(this.ng2AppModule)]})],s),m.bootstrapModule(s,[this.compilerOptions,{ngZone:g}]).then((t=>{this.moduleRef=t,g.run((()=>{if(o){for(o.$apply=n;e.length;)r.$apply(e.shift());o=null}}))})).then((()=>f.resolve(t)),U).then((()=>{let e=g.onMicrotaskEmpty.subscribe({next:()=>r.$$phase?r.$evalAsync((()=>{})):r.$digest()});r.$on("$destroy",(()=>{e.unsubscribe()})),m.onDestroy((()=>function(t){const e=t.get("$rootElement");t.get(T).$destroy(),x(e[0])}(t)))}))})).catch((t=>f.reject(t)))}]),{ng1Module:p,ng2BootstrapDeferred:f,ngZone:g}}}class gt{constructor(){this._readyFn=null,this.ng1RootScope=null,this.ng1Injector=null,this.ng2ModuleRef=null,this.ng2Injector=null}_bootstrapDone(t,e){this.ng2ModuleRef=t,this.ng2Injector=t.injector,this.ng1Injector=e,this.ng1RootScope=e.get(T),this._readyFn&&this._readyFn(this)}ready(t){this._readyFn=t}dispose(){this.ng1Injector.get(T).$destroy(),this.ng2ModuleRef.destroy()}}export{mt as UpgradeAdapter,gt as UpgradeAdapterRef,v as VERSION};
/* esm-bundle - @angular/upgrade@18.2.11 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import*as t from"@angular/core";import{Version as e,EventEmitter as n,Directive as o,NgZone as r,Injector as s,Compiler as i,NgModule as c,resolveForwardRef as a,Inject as l,ElementRef as p,Testability as h,ComponentFactoryResolver as u,ChangeDetectorRef as d,TestabilityRegistry as m,ApplicationRef as g,SimpleChange as f,ɵSIGNAL as y}from"@angular/core";import{__decorate as $,__metadata as w}from"tslib";import{platformBrowserDynamic as b}from"@angular/platform-browser-dynamic";const v=new e("18.2.11");function C(){throw new Error("AngularJS v1.x is not loaded!")}const O=()=>C();O.cleanData=C;let j={bootstrap:C,module:C,element:O,injector:C,version:void 0,resumeBootstrap:C,getTestability:C};try{window.hasOwnProperty("angular")&&(j=window.angular)}catch{}const A=t=>j.element(t);A.cleanData=t=>j.element.cleanData(t);const E="$compile",k="$injector",T="$rootScope",S="$scope",I="$$testability",P="$$angularDowngradedModuleCount",D="$$angularInjector",M="$$angularLazyModuleRef",R="$$angularUpgradeAppType",N="?^^"+D;class _{constructor(t,e){this.prop=t,this.attr=e,this.bracketAttr=`[${this.attr}]`,this.parenAttr=`(${this.attr})`,this.bracketParenAttr=`[(${this.attr})]`;const n=this.attr.charAt(0).toUpperCase()+this.attr.slice(1);this.onAttr=`on${n}`,this.bindAttr=`bind${n}`,this.bindonAttr=`bindon${n}`}}const B=/^(?:x|data)[:\-_]/i,F=/[:\-_]+(.)/g;function U(t){throw console.error(t,t.stack),t}function x(t){A.cleanData([t]),function(t){return G(t.querySelectorAll)}(t)&&A.cleanData(t.querySelectorAll("*"))}function L(t){return"$"+t+"Controller"}function q(t){return t.overriddenName||t.name||t.toString().split("\n")[0]}function V(t){return t.has(P)?t.get(P):0}function Z(t){return t.has(R)?t.get(R):0}function G(t){return"function"==typeof t}function H(t,e,n,o){const r=Z(t),s=V(t);switch(r){case 1:case 2:if(e)throw new Error(`Error while ${o}: 'downgradedModule' unexpectedly specified.\nYou should not specify a value for 'downgradedModule', unless you are downgrading more than one Angular module (via 'downgradeModule()').`);break;case 3:if(!e&&s>=2)throw new Error(`Error while ${o}: 'downgradedModule' not specified.\nThis application contains more than one downgraded Angular module, thus you need to always specify 'downgradedModule' when downgrading components and injectables.`);if(!t.has(n))throw new Error(`Error while ${o}: Unable to find the specified downgraded module.\nDid you forget to downgrade an Angular module or include it in the AngularJS application?`);break;default:throw new Error(`Error while ${o}: Not a valid '@angular/upgrade' application.\nDid you forget to downgrade an Angular module or include it in the AngularJS application?`)}}class J{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}}function K(t,e){return t===e||t!=t&&e!=e}const z={__UNINITIALIZED__:!0};class X{constructor(t,e,n,o,r,s,i,c,a,l){this.element=t,this.attrs=e,this.scope=n,this.ngModel=o,this.parentInjector=r,this.$compile=s,this.$parse=i,this.componentFactory=c,this.wrapCallback=a,this.unsafelyOverwriteSignalInputs=l,this.implementsOnChanges=!1,this.inputChangeCount=0,this.inputChanges={},this.componentScope=n.$new()}compileContents(){const t=[],e=this.groupProjectableNodes().map((t=>this.$compile(t)));return this.element.empty(),e.forEach((e=>{e(this.scope,(e=>{t.push(e),this.element.append(e)}))})),t}createComponentAndSetup(t,e=!1,n=!0){const o=this.createComponent(t);return this.setupInputs(e,n,o),this.setupOutputs(o.componentRef),this.registerCleanup(o.componentRef),o.componentRef}createComponent(t){const e=[{provide:S,useValue:this.componentScope}],n=s.create({providers:e,parent:this.parentInjector,name:"DowngradeComponentAdapter"}),o=this.componentFactory.create(n,t,this.element[0]),r=o.injector.get(d),i=o.changeDetectorRef,c=o.injector.get(h,null);var a,l;return c&&o.injector.get(m).registerApplication(o.location.nativeElement,c),a=this.ngModel,l=o.instance,a&&function(t){return"function"==typeof t.writeValue&&"function"==typeof t.registerOnChange}(l)&&(a.$render=()=>{l.writeValue(a.$viewValue)},l.registerOnChange(a.$setViewValue.bind(a)),"function"==typeof l.registerOnTouched&&l.registerOnTouched(a.$setTouched.bind(a))),{viewChangeDetector:r,componentRef:o,changeDetector:i}}setupInputs(t,e=!0,{componentRef:n,changeDetector:o,viewChangeDetector:r}){const s=this.attrs,i=this.componentFactory.inputs||[];for(const t of i){const e=new _(t.propName,t.templateName);let o=null;if(s.hasOwnProperty(e.attr)){const o=((t,e)=>{let o=z;return r=>{K(o,r)||(o===z&&(o=r),this.updateInput(n,t,o,r,e),o=r)}})(e.prop,t.isSignal);s.$observe(e.attr,o);let r=this.componentScope.$watch((()=>{r(),r=null,o(s[e.attr])}))}else s.hasOwnProperty(e.bindAttr)?o=s[e.bindAttr]:s.hasOwnProperty(e.bracketAttr)?o=s[e.bracketAttr]:s.hasOwnProperty(e.bindonAttr)?o=s[e.bindonAttr]:s.hasOwnProperty(e.bracketParenAttr)&&(o=s[e.bracketParenAttr]);if(null!=o){const r=((t,e)=>(o,r)=>this.updateInput(n,t,r,o,e))(e.prop,t.isSignal);this.componentScope.$watch(o,r)}}const c=()=>o.detectChanges(),a=this.componentFactory.componentType.prototype;if(this.implementsOnChanges=!(!a||!a.ngOnChanges),this.componentScope.$watch((()=>this.inputChangeCount),this.wrapCallback((()=>{if(this.implementsOnChanges){const t=this.inputChanges;this.inputChanges={},n.instance.ngOnChanges(t)}r.markForCheck(),e||c()}))),e&&this.componentScope.$watch(this.wrapCallback(c)),t||!e){let t=this.componentScope.$watch((()=>{t(),t=null;this.parentInjector.get(g).attachView(n.hostView)}))}}setupOutputs(t){const e=this.attrs,n=this.componentFactory.outputs||[];for(const o of n){const n=new _(o.propName,o.templateName),r=n.bindonAttr.substring(0,n.bindonAttr.length-6),s=`[(${n.bracketParenAttr.substring(2,n.bracketParenAttr.length-8)})]`;e.hasOwnProperty(r)&&this.subscribeToOutput(t,n,e[r],!0),e.hasOwnProperty(s)&&this.subscribeToOutput(t,n,e[s],!0),e.hasOwnProperty(n.onAttr)&&this.subscribeToOutput(t,n,e[n.onAttr]),e.hasOwnProperty(n.parenAttr)&&this.subscribeToOutput(t,n,e[n.parenAttr])}}subscribeToOutput(t,e,n,o=!1){const r=this.$parse(n),s=r.assign;if(o&&!s)throw new Error(`Expression '${n}' is not assignable!`);const i=t.instance[e.prop];if(!i)throw new Error(`Missing emitter '${e.prop}' on component '${q(this.componentFactory.componentType)}'!`);{const e=i.subscribe({next:o?t=>s(this.scope,t):t=>r(this.scope,{$event:t})});t.onDestroy((()=>e.unsubscribe()))}}registerCleanup(t){const e=t.injector.get(m),n=this.wrapCallback((()=>t.destroy()));let o=!1;this.element.on("$destroy",(()=>{o||this.componentScope.$destroy()})),this.componentScope.$on("$destroy",(()=>{o||(o=!0,e.unregisterApplication(t.location.nativeElement),x(this.element[0]),n())}))}updateInput(t,e,n,o,r){if(this.implementsOnChanges&&(this.inputChanges[e]=new f(n,o,n===o)),this.inputChangeCount++,r&&!this.unsafelyOverwriteSignalInputs){const n=t.instance[e][y];n.applyValueToInputSignal(n,o)}else t.instance[e]=o}groupProjectableNodes(){return function(t,e){const n=[];for(let e=0,o=t.length;e<o;++e)n[e]=[];for(let o=0,r=e.length;o<r;++o){const r=e[o],s=Y(r,t);null!=s&&n[s].push(r)}return n}(this.componentFactory.ngContentSelectors,this.element.contents())}}function Y(t,e){const n=[];let o=-1;for(let r=0;r<e.length;r++){const s=e[r];"*"===s?o=r:Q(t,s)&&n.push(r)}return n.sort(),-1!==o&&n.push(o),n.length?n[0]:null}function Q(t,e){const n=Element.prototype;return t.nodeType===Node.ELEMENT_NODE&&(n.matches??n.msMatchesSelector).call(t,e)}class W{constructor(){this.resolved=!1,this.callbacks=[]}static all(t){const e=new W;let n=0;const o=[],r=(r,s)=>{o[r]=s,++n===t.length&&e.resolve(o)};return t.forEach(((t,e)=>{var n;(n=t)&&G(n.then)?t.then((t=>r(e,t))):r(e,t)})),e}resolve(t){this.resolved||(this.value=t,this.resolved=!0,this.callbacks.forEach((e=>e(t))),this.callbacks.length=0)}then(t){this.resolved?t(this.value):this.callbacks.push(t)}}class tt extends W{constructor(t){super(),this.element=t,this.injectorKey=L(D),t.data(this.injectorKey,this)}resolve(t){this.element.data(this.injectorKey,t),this.element=null,super.resolve(t)}}let et;function nt(t){return function(){if(void 0===et){et=null;const t=window;if(t.trustedTypes)try{et=t.trustedTypes.createPolicy("angular#unsafe-upgrade",{createHTML:t=>t})}catch{}}return et}()?.createHTML(t)||t}const ot=/^(\^\^?)?(\?)?(\^\^?)?/;class rt{constructor(t,e,n,o){this.name=e,this.$injector=t.get(k),this.$compile=this.$injector.get(E),this.$controller=this.$injector.get("$controller"),this.element=n.nativeElement,this.$element=A(this.element),this.directive=o??rt.getDirective(this.$injector,e)}static getDirective(t,e){const n=t.get(e+"Directive");if(n.length>1)throw new Error(`Only support single directive definition for: ${e}`);const o=n[0];return o.compile&&!o.link&&ct(e,"compile"),o.replace&&ct(e,"replace"),o.terminal&&ct(e,"terminal"),o}static getTemplate(t,e,n=!1,o){if(void 0!==e.template)return nt(st(e.template,o));if(e.templateUrl){const r=t.get("$templateCache"),s=st(e.templateUrl,o),i=r.get(s);if(void 0!==i)return nt(i);if(!n)throw new Error("loading directive templates asynchronously is not supported");return new Promise(((e,n)=>{t.get("$httpBackend")("GET",s,null,((t,o)=>{200===t?e(nt(r.put(s,o))):n(`GET component template from '${s}' returned '${t}: ${o}'`)}))}))}throw new Error(`Directive '${e.name}' is not a component, it is missing template.`)}buildController(t,e){const n={$scope:e,$element:this.$element},o=this.$controller(t,n,null,this.directive.controllerAs);return this.$element.data?.(L(this.directive.name),o),o}compileTemplate(t){return void 0===t&&(t=rt.getTemplate(this.$injector,this.directive,!1,this.$element)),this.compileHtml(t)}onDestroy(t,e){e&&G(e.$onDestroy)&&e.$onDestroy(),t.$destroy(),x(this.element)}prepareTransclusion(){const t=this.directive.transclude,e=this.extractChildNodes(),n=(t,e)=>e(o,t=t||{$destroy:()=>{}});let o=e;if(t){const r=Object.create(null);if("object"==typeof t){o=[];const n=Object.create(null),s=Object.create(null);Object.keys(t).forEach((e=>{let o=t[e];const i="?"===o.charAt(0);o=i?o.substring(1):o,n[o]=e,r[e]=null,s[e]=i})),e.forEach((t=>{const e=n[(i=t.nodeName.toLowerCase(),i.replace(B,"").replace(F,((t,e)=>e.toUpperCase())))];var i;e?(s[e]=!0,r[e]=r[e]||[],r[e].push(t)):o.push(t)})),Object.keys(s).forEach((t=>{if(!s[t])throw new Error(`Required transclusion slot '${t}' on directive: ${this.name}`)})),Object.keys(r).filter((t=>r[t])).forEach((t=>{const e=r[t];r[t]=(t,n)=>n(e,t)}))}n.$$slots=r,o.forEach((t=>{t.nodeType!==Node.TEXT_NODE||t.nodeValue||(t.nodeValue="‌")}))}return n}resolveAndBindRequiredControllers(t){const e=this.getDirectiveRequire(),n=this.resolveRequire(e);if(t&&this.directive.bindToController&&it(e)){const e=n;Object.keys(e).forEach((n=>{t[n]=e[n]}))}return n}compileHtml(t){return this.element.innerHTML=t,this.$compile(this.element.childNodes)}extractChildNodes(){const t=[];let e;for(;e=this.element.firstChild;)e.remove(),t.push(e);return t}getDirectiveRequire(){const t=this.directive.require||this.directive.controller&&this.directive.name;return it(t)&&Object.entries(t).forEach((([e,n])=>{const o=n.match(ot);n.substring(o[0].length)||(t[e]=o[0]+e)})),t}resolveRequire(t){if(t){if(Array.isArray(t))return t.map((t=>this.resolveRequire(t)));if("object"==typeof t){const e={};return Object.keys(t).forEach((n=>e[n]=this.resolveRequire(t[n]))),e}if("string"==typeof t){const e=t.match(ot),n=e[1]||e[3],o=t.substring(e[0].length),r=!!e[2],s=!!n,i="^^"===n,c=L(o),a=i?this.$element.parent():this.$element,l=s?a.inheritedData(c):a.data(c);if(!l&&!r)throw new Error(`Unable to find required '${t}' in upgraded directive '${this.name}'.`);return l}throw new Error(`Unrecognized 'require' syntax on upgraded directive '${this.name}': ${t}`)}return null}}function st(t,...e){return G(t)?t(...e):t}function it(t){return t&&!Array.isArray(t)&&"object"==typeof t}function ct(t,e){throw new Error(`Upgraded directive '${t}' contains unsupported feature: '${e}'.`)}const at=/([A-Z])/g,lt={__UNINITIALIZED__:!0},pt="NOT_SUPPORTED";class ht{constructor(t){this.name=t,this.inputs=[],this.inputsRename=[],this.outputs=[],this.outputsRename=[],this.propertyOutputs=[],this.checkProperties=[],this.propertyMap={},this.directive=null;const e=t.replace(at,((t,e)=>"-"+e.toLowerCase())),n=this;let r=class extends ut{constructor(e,o,r){super(new rt(o,t,r,n.directive||void 0),e,n.template,n.inputs,n.outputs,n.propertyOutputs,n.checkProperties,n.propertyMap)}static{this.ctorParameters=()=>[{type:void 0,decorators:[{type:l,args:[S]}]},{type:s},{type:p}]}};r=$([o({jit:!0,selector:e,inputs:this.inputsRename,outputs:this.outputsRename}),w("design:paramtypes",[Object,s,p])],r),this.type=r}extractBindings(){const t="object"==typeof this.directive.bindToController;if(t&&Object.keys(this.directive.scope).length)throw new Error("Binding definitions on scope and controller at the same time are not supported.");const e=t?this.directive.bindToController:this.directive.scope;"object"==typeof e&&Object.keys(e).forEach((t=>{const n=e[t],o=n.charAt(0),r=n.charAt(1),s=n.substring("?"===r?2:1)||t,i=`input_${s}`;const c=`${i}: ${s}`,a=function(t){return`output_${t}`}(s),l=`${a}: ${s}`,p=`${l}Change`;switch(o){case"@":case"<":this.inputs.push(i),this.inputsRename.push(c),this.propertyMap[i]=t;break;case"=":this.inputs.push(i),this.inputsRename.push(c),this.propertyMap[i]=t,this.outputs.push(a),this.outputsRename.push(p),this.propertyMap[a]=t,this.checkProperties.push(t),this.propertyOutputs.push(a);break;case"&":this.outputs.push(a),this.outputsRename.push(l),this.propertyMap[a]=t;break;default:let n=JSON.stringify(e);throw new Error(`Unexpected mapping '${o}' in '${n}' in '${this.name}' directive.`)}}))}static resolve(t,e){const n=Object.entries(t).map((([t,n])=>(n.directive=rt.getDirective(e,t),n.extractBindings(),Promise.resolve(rt.getTemplate(e,n.directive,!0)).then((t=>n.template=t)))));return Promise.all(n)}}class ut{constructor(t,e,o,r,s,i,c,a){this.helper=t,this.template=o,this.inputs=r,this.outputs=s,this.propOuts=i,this.checkProperties=c,this.propertyMap=a,this.controllerInstance=null,this.destinationObj=null,this.checkLastValues=[],this.$element=null,this.directive=t.directive,this.element=t.element,this.$element=t.$element,this.componentScope=e.$new(!!this.directive.scope);const l=this.directive.controller;this.directive.bindToController&&l?(this.controllerInstance=this.helper.buildController(l,this.componentScope),this.destinationObj=this.controllerInstance):this.destinationObj=this.componentScope;for(const t of this.inputs)this[t]=null;for(const t of this.outputs){const e=this[t]=new n;-1===this.propOuts.indexOf(t)&&this.setComponentProperty(t,(t=>e=>t.emit(e))(e))}this.checkLastValues.push(...Array(i.length).fill(lt))}ngOnInit(){const t=this.helper.prepareTransclusion(),e=this.helper.compileTemplate(nt(this.template)),n=this.directive.controller,o=this.directive.bindToController;n&&!o&&(this.controllerInstance=this.helper.buildController(n,this.componentScope));const r=this.helper.resolveAndBindRequiredControllers(this.controllerInstance);this.controllerInstance&&G(this.controllerInstance.$onInit)&&this.controllerInstance.$onInit();const s=this.directive.link,i="object"==typeof s&&s.pre,c="object"==typeof s?s.post:s,a=pt,l=pt;i&&i(this.componentScope,this.$element,a,r,l),e(this.componentScope,null,{parentBoundTranscludeFn:t}),c&&c(this.componentScope,this.$element,a,r,l),this.controllerInstance&&G(this.controllerInstance.$postLink)&&this.controllerInstance.$postLink()}ngOnChanges(t){const e={};Object.keys(t).forEach((n=>{const o=t[n];this.setComponentProperty(n,o.currentValue),e[this.propertyMap[n]]=o})),G(this.destinationObj.$onChanges)&&this.destinationObj.$onChanges(e)}ngDoCheck(){const t=this.destinationObj,e=this.checkLastValues,n=this.checkProperties,o=this.propOuts;n.forEach(((n,r)=>{const s=t[n];if(!K(e[r],s)){this[o[r]].emit(e[r]=s)}})),this.controllerInstance&&G(this.controllerInstance.$doCheck)&&this.controllerInstance.$doCheck()}ngOnDestroy(){this.helper.onDestroy(this.componentScope,this.controllerInstance)}setComponentProperty(t,e){this.destinationObj[this.propertyMap[t]]=e}static{this.ɵfac=function(e){t.ɵɵinvalidFactory()}}static{this.ɵdir=t.ɵɵdefineDirective({type:ut,features:[t.ɵɵNgOnChangesFeature]})}}let dt=0;class mt{constructor(t,e){if(this.ng2AppModule=t,this.compilerOptions=e,this.idPrefix=`NG2_UPGRADE_${dt++}_`,this.downgradedComponents=[],this.ng1ComponentsToBeUpgraded={},this.upgradedProviders=[],this.moduleRef=null,!t)throw new Error("UpgradeAdapter cannot be instantiated without an NgModule of the Angular app.")}downgradeNg2Component(t){return this.downgradedComponents.push(t),function(t){const e=function(e,n,o){const s=t.unsafelyOverwriteSignalInputs??!1,i=3===Z(n),c=i?t=>()=>r.isInAngularZone()?t():a.run(t):t=>t;let a;const l=i&&V(n)>1;return{restrict:"E",terminal:!0,require:[N,"?ngModel"],controller:function(){},link:(p,h,d,m)=>{const g=m[1],f=m[0];let y,$=!1;if(!f||l){const e=t.downgradedModule||"",o=`${M}${e}`,r=`instantiating component '${q(t.component)}'`;H(n,e,o,r);const s=n.get(o);y=s.injector??s.promise}const w=f||y,b=y||f,v=(n,r)=>{const a=r.get(u).resolveComponentFactory(t.component);if(!a)throw new Error(`Expecting ComponentFactory for: ${q(t.component)}`);const l=new tt(h),m=new X(h,d,p,g,n,e,o,a,c,s),f=m.compileContents(),y=m.createComponentAndSetup(f,i,t.propagateDigest);l.resolve(y.injector),$&&p.$evalAsync((()=>{}))},C=i?(t,e)=>{a||(a=t.get(r)),c((()=>v(t,e)))()}:v;W.all([w,b]).then((([t,e])=>C(t,e))),$=!0}}};return e.$inject=[E,k,"$parse"],e}({component:t})}upgradeNg1Component(t){return this.ng1ComponentsToBeUpgraded.hasOwnProperty(t)?this.ng1ComponentsToBeUpgraded[t].type:(this.ng1ComponentsToBeUpgraded[t]=new ht(t)).type}registerForNg1Tests(t){const e=window.angular.mock;if(!e||!e.module)throw new Error("Failed to find 'angular.mock.module'.");const{ng1Module:n,ng2BootstrapDeferred:o}=this.declareNg1Module(t);e.module(n.name);const r=new gt;return o.promise.then((t=>{r._bootstrapDone(this.moduleRef,t)}),U),r}bootstrap(t,e,n){const{ng1Module:o,ng2BootstrapDeferred:s,ngZone:i}=this.declareNg1Module(e),c=new gt,a=window.angular;a.resumeBootstrap=void 0,i.run((()=>{((t,e,n)=>{j.bootstrap(t,e,n)})(t,[o.name],n)}));const l=new Promise((t=>{if(a.resumeBootstrap){const e=a.resumeBootstrap;a.resumeBootstrap=function(){a.resumeBootstrap=e;const n=a.resumeBootstrap.apply(this,arguments);return t(),n}}else t()}));return Promise.all([s.promise,l]).then((([e])=>{A(t).data(L(D),this.moduleRef.injector),this.moduleRef.injector.get(r).run((()=>{c._bootstrapDone(this.moduleRef,e)}))}),U),c}upgradeNg1Provider(t,e){const n=e&&e.asToken||t;this.upgradedProviders.push({provide:n,useFactory:e=>e.get(t),deps:[k]})}downgradeNg2Provider(t){return function(t,e=""){const n=function(n){const o=`${D}${e}`,r=`instantiating injectable '${G(t)?q(t):String(t)}'`;H(n,e,o,r);try{return n.get(o).get(t)}catch(t){throw new Error(`Error while ${r}: ${t.message||t}`)}};return n.$inject=[k],n}(t)}declareNg1Module(t=[]){const e=[];let n,o;const l=this,p=(u=this.idPrefix,d=t,j.module(u,d));var u,d;const m=b(),g=new r({enableLongStackTrace:Zone.hasOwnProperty("longStackTraceZoneSpec")}),f=new J;return p.constant(R,1).factory(D,(()=>this.moduleRef.injector.get(s))).factory(M,[D,t=>({injector:t})]).constant("$$angularNgZone",g).factory("$$angularCompiler",(()=>this.moduleRef.injector.get(i))).config(["$provide","$injector",(t,r)=>{t.decorator(T,["$delegate",function(t){if(o=t.constructor.prototype,!o.hasOwnProperty("$apply"))throw new Error("Failed to find '$apply' on '$rootScope'!");return n=o.$apply,o.$apply=t=>e.push(t),t}]),r.has(I)&&t.decorator(I,["$delegate",function(t){const e=t.whenStable,n=function(t){e.call(this,(function(){const e=l.moduleRef.injector.get(h);e.isStable()?t.apply(this,arguments):e.whenStable(n.bind(this,t))}))};return t.whenStable=n,t}])}]),p.run(["$injector","$rootScope",(t,r)=>{ht.resolve(this.ng1ComponentsToBeUpgraded,t).then((()=>{let s=class{ngDoBootstrap(){}};s=$([c({jit:!0,providers:[{provide:k,useFactory:()=>t},{provide:E,useFactory:()=>t.get(E)},this.upgradedProviders],imports:[a(this.ng2AppModule)]})],s),m.bootstrapModule(s,[this.compilerOptions,{ngZone:g}]).then((t=>{this.moduleRef=t,g.run((()=>{if(o){for(o.$apply=n;e.length;)r.$apply(e.shift());o=null}}))})).then((()=>f.resolve(t)),U).then((()=>{let e=g.onMicrotaskEmpty.subscribe({next:()=>r.$$phase?r.$evalAsync((()=>{})):r.$digest()});r.$on("$destroy",(()=>{e.unsubscribe()})),m.onDestroy((()=>function(t){const e=t.get("$rootElement");t.get(T).$destroy(),x(e[0])}(t)))}))})).catch((t=>f.reject(t)))}]),{ng1Module:p,ng2BootstrapDeferred:f,ngZone:g}}}class gt{constructor(){this._readyFn=null,this.ng1RootScope=null,this.ng1Injector=null,this.ng2ModuleRef=null,this.ng2Injector=null}_bootstrapDone(t,e){this.ng2ModuleRef=t,this.ng2Injector=t.injector,this.ng1Injector=e,this.ng1RootScope=e.get(T),this._readyFn&&this._readyFn(this)}ready(t){this._readyFn=t}dispose(){this.ng1Injector.get(T).$destroy(),this.ng2ModuleRef.destroy()}}export{mt as UpgradeAdapter,gt as UpgradeAdapterRef,v as VERSION};
//# sourceMappingURL=angular-upgrade.min.js.map

@@ -1,2 +0,2 @@

/* esm-bundle - tslib@2.8.0 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - tslib@2.8.1 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/******************************************************************************

@@ -415,6 +415,14 @@ Copyright (c) Microsoft Corporation.

};
var ownKeys = function (o) {
ownKeys = Object.getOwnPropertyNames || function (o) {
var ar = [];
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
function __importStar(mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
__setModuleDefault(result, mod);

@@ -421,0 +429,0 @@ return result;

@@ -1,3 +0,3 @@

/* esm-bundle - tslib@2.8.0 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};function t(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}var r=function(){return r=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};function n(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function o(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a}function i(e,t){return function(r,n){t(r,n,e)}}function a(e,t,r,n,o,i){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var c,u=n.kind,f="getter"===u?"get":"setter"===u?"set":"value",s=!t&&e?n.static?e:e.prototype:null,l=t||(s?Object.getOwnPropertyDescriptor(s,n.name):{}),p=!1,y=r.length-1;y>=0;y--){var d={};for(var h in n)d[h]="access"===h?{}:n[h];for(var h in n.access)d.access[h]=n.access[h];d.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");i.push(a(e||null))};var b=(0,r[y])("accessor"===u?{get:l.get,set:l.set}:l[f],d);if("accessor"===u){if(void 0===b)continue;if(null===b||"object"!=typeof b)throw new TypeError("Object expected");(c=a(b.get))&&(l.get=c),(c=a(b.set))&&(l.set=c),(c=a(b.init))&&o.unshift(c)}else(c=a(b))&&("field"===u?o.unshift(c):l[f]=c)}s&&Object.defineProperty(s,n.name,l),p=!0}function c(e,t,r){for(var n=arguments.length>2,o=0;o<t.length;o++)r=n?t[o].call(e,r):t[o].call(e);return n?r:void 0}function u(e){return"symbol"==typeof e?e:"".concat(e)}function f(e,t,r){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function s(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{u(n.next(e))}catch(e){i(e)}}function c(e){try{u(n.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,c)}u((n=n.apply(e,t||[])).next())}))}function p(e,t){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=c(0),a.throw=c(1),a.return=c(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(c){return function(u){return function(c){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&c[0]?n.return:c[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,c[1])).done)return o;switch(n=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,n=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==c[0]&&2!==c[0])){i=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){i.label=c[1];break}if(6===c[0]&&i.label<o[1]){i.label=o[1],o=c;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(c);break}o[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e],n=0}finally{r=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,u])}}}var y=Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]};function d(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||y(t,e,r)}function h(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function v(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function w(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var i=arguments[t],a=0,c=i.length;a<c;a++,o++)n[o]=i[a];return n}function _(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function m(e){return this instanceof m?(this.v=e,this):new m(e)}function j(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),i=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",(function(e){return function(t){return Promise.resolve(t).then(e,f)}})),n[Symbol.asyncIterator]=function(){return this},n;function a(e,t){o[e]&&(n[e]=function(t){return new Promise((function(r,n){i.push([e,t,r,n])>1||c(e,t)}))},t&&(n[e]=t(n[e])))}function c(e,t){try{(r=o[e](t)).value instanceof m?Promise.resolve(r.value.v).then(u,f):s(i[0][2],r)}catch(e){s(i[0][3],e)}var r}function u(e){c("next",e)}function f(e){c("throw",e)}function s(e,t){e(t),i.shift(),i.length&&c(i[0][0],i[0][1])}}function O(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:m(e[n](t)),done:!1}:o?o(t):t}:o}}function g(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=h(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,o,(t=e[r](t)).done,t.value)}))}}}function P(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var S=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function E(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&y(t,e,r);return S(t,e),t}function x(e){return e&&e.__esModule?e:{default:e}}function T(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function I(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r}function k(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function D(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var n,o;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(o=n)}if("function"!=typeof n)throw new TypeError("Object not disposable.");o&&(n=function(){try{o.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var A="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function R(e){function t(t){e.error=e.hasError?new A(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,n=0;return function o(){for(;r=e.stack.pop();)try{if(!r.async&&1===n)return n=0,e.stack.push(r),Promise.resolve().then(o);if(r.dispose){var i=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(i).then(o,(function(e){return t(e),o()}))}else n|=1}catch(e){t(e)}if(1===n)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function C(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,(function(e,r,n,o,i){return r?t?".jsx":".js":!n||o&&i?n+o+"."+i.toLowerCase()+"js":e})):e}var F={__extends:t,__assign:r,__rest:n,__decorate:o,__param:i,__esDecorate:a,__runInitializers:c,__propKey:u,__setFunctionName:f,__metadata:s,__awaiter:l,__generator:p,__createBinding:y,__exportStar:d,__values:h,__read:b,__spread:v,__spreadArrays:w,__spreadArray:_,__await:m,__asyncGenerator:j,__asyncDelegator:O,__asyncValues:g,__makeTemplateObject:P,__importStar:E,__importDefault:x,__classPrivateFieldGet:T,__classPrivateFieldSet:I,__classPrivateFieldIn:k,__addDisposableResource:D,__disposeResources:R,__rewriteRelativeImportExtension:C};export{D as __addDisposableResource,r as __assign,O as __asyncDelegator,j as __asyncGenerator,g as __asyncValues,m as __await,l as __awaiter,T as __classPrivateFieldGet,k as __classPrivateFieldIn,I as __classPrivateFieldSet,y as __createBinding,o as __decorate,R as __disposeResources,a as __esDecorate,d as __exportStar,t as __extends,p as __generator,x as __importDefault,E as __importStar,P as __makeTemplateObject,s as __metadata,i as __param,u as __propKey,b as __read,n as __rest,C as __rewriteRelativeImportExtension,c as __runInitializers,f as __setFunctionName,v as __spread,_ as __spreadArray,w as __spreadArrays,h as __values,F as default};
/* esm-bundle - tslib@2.8.1 - es format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};function t(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}var r=function(){return r=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};function n(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function o(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a}function i(e,t){return function(r,n){t(r,n,e)}}function a(e,t,r,n,o,i){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var c,u=n.kind,f="getter"===u?"get":"setter"===u?"set":"value",s=!t&&e?n.static?e:e.prototype:null,l=t||(s?Object.getOwnPropertyDescriptor(s,n.name):{}),p=!1,y=r.length-1;y>=0;y--){var d={};for(var h in n)d[h]="access"===h?{}:n[h];for(var h in n.access)d.access[h]=n.access[h];d.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");i.push(a(e||null))};var v=(0,r[y])("accessor"===u?{get:l.get,set:l.set}:l[f],d);if("accessor"===u){if(void 0===v)continue;if(null===v||"object"!=typeof v)throw new TypeError("Object expected");(c=a(v.get))&&(l.get=c),(c=a(v.set))&&(l.set=c),(c=a(v.init))&&o.unshift(c)}else(c=a(v))&&("field"===u?o.unshift(c):l[f]=c)}s&&Object.defineProperty(s,n.name,l),p=!0}function c(e,t,r){for(var n=arguments.length>2,o=0;o<t.length;o++)r=n?t[o].call(e,r):t[o].call(e);return n?r:void 0}function u(e){return"symbol"==typeof e?e:"".concat(e)}function f(e,t,r){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function s(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{u(n.next(e))}catch(e){i(e)}}function c(e){try{u(n.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,c)}u((n=n.apply(e,t||[])).next())}))}function p(e,t){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=c(0),a.throw=c(1),a.return=c(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(c){return function(u){return function(c){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&c[0]?n.return:c[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,c[1])).done)return o;switch(n=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,n=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==c[0]&&2!==c[0])){i=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){i.label=c[1];break}if(6===c[0]&&i.label<o[1]){i.label=o[1],o=c;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(c);break}o[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e],n=0}finally{r=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,u])}}}var y=Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]};function d(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||y(t,e,r)}function h(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function b(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}function w(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var i=arguments[t],a=0,c=i.length;a<c;a++,o++)n[o]=i[a];return n}function _(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function m(e){return this instanceof m?(this.v=e,this):new m(e)}function g(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),i=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",(function(e){return function(t){return Promise.resolve(t).then(e,f)}})),n[Symbol.asyncIterator]=function(){return this},n;function a(e,t){o[e]&&(n[e]=function(t){return new Promise((function(r,n){i.push([e,t,r,n])>1||c(e,t)}))},t&&(n[e]=t(n[e])))}function c(e,t){try{(r=o[e](t)).value instanceof m?Promise.resolve(r.value.v).then(u,f):s(i[0][2],r)}catch(e){s(i[0][3],e)}var r}function u(e){c("next",e)}function f(e){c("throw",e)}function s(e,t){e(t),i.shift(),i.length&&c(i[0][0],i[0][1])}}function O(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:m(e[n](t)),done:!1}:o?o(t):t}:o}}function j(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=h(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,o,(t=e[r](t)).done,t.value)}))}}}function P(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var S=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},E=function(e){return E=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t},E(e)};function x(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=E(e),n=0;n<r.length;n++)"default"!==r[n]&&y(t,e,r[n]);return S(t,e),t}function T(e){return e&&e.__esModule?e:{default:e}}function I(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function k(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r}function D(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function A(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var n,o;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(o=n)}if("function"!=typeof n)throw new TypeError("Object not disposable.");o&&(n=function(){try{o.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var R="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function C(e){function t(t){e.error=e.hasError?new R(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,n=0;return function o(){for(;r=e.stack.pop();)try{if(!r.async&&1===n)return n=0,e.stack.push(r),Promise.resolve().then(o);if(r.dispose){var i=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(i).then(o,(function(e){return t(e),o()}))}else n|=1}catch(e){t(e)}if(1===n)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function F(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,(function(e,r,n,o,i){return r?t?".jsx":".js":!n||o&&i?n+o+"."+i.toLowerCase()+"js":e})):e}var z={__extends:t,__assign:r,__rest:n,__decorate:o,__param:i,__esDecorate:a,__runInitializers:c,__propKey:u,__setFunctionName:f,__metadata:s,__awaiter:l,__generator:p,__createBinding:y,__exportStar:d,__values:h,__read:v,__spread:b,__spreadArrays:w,__spreadArray:_,__await:m,__asyncGenerator:g,__asyncDelegator:O,__asyncValues:j,__makeTemplateObject:P,__importStar:x,__importDefault:T,__classPrivateFieldGet:I,__classPrivateFieldSet:k,__classPrivateFieldIn:D,__addDisposableResource:A,__disposeResources:C,__rewriteRelativeImportExtension:F};export{A as __addDisposableResource,r as __assign,O as __asyncDelegator,g as __asyncGenerator,j as __asyncValues,m as __await,l as __awaiter,I as __classPrivateFieldGet,D as __classPrivateFieldIn,k as __classPrivateFieldSet,y as __createBinding,o as __decorate,C as __disposeResources,a as __esDecorate,d as __exportStar,t as __extends,p as __generator,T as __importDefault,x as __importStar,P as __makeTemplateObject,s as __metadata,i as __param,u as __propKey,v as __read,n as __rest,F as __rewriteRelativeImportExtension,c as __runInitializers,f as __setFunctionName,b as __spread,_ as __spreadArray,w as __spreadArrays,h as __values,z as default};
//# sourceMappingURL=tslib.min.js.map
{
"name": "@esm-bundle/angular",
"version": "18.2.10",
"version": "18.2.11",
"description": "All Angular packages in ESM and SystemJS formats",

@@ -39,15 +39,15 @@ "main": "index.js",

"devDependencies": {
"@angular/animations": "18.2.10",
"@angular/common": "18.2.10",
"@angular/compiler": "18.2.10",
"@angular/compiler-cli": "18.2.10",
"@angular/core": "18.2.10",
"@angular/elements": "18.2.10",
"@angular/forms": "18.2.10",
"@angular/localize": "18.2.10",
"@angular/platform-browser": "18.2.10",
"@angular/platform-browser-dynamic": "18.2.10",
"@angular/router": "18.2.10",
"@angular/service-worker": "18.2.10",
"@angular/upgrade": "18.2.10",
"@angular/animations": "18.2.11",
"@angular/common": "18.2.11",
"@angular/compiler": "18.2.11",
"@angular/compiler-cli": "18.2.11",
"@angular/core": "18.2.11",
"@angular/elements": "18.2.11",
"@angular/forms": "18.2.11",
"@angular/localize": "18.2.11",
"@angular/platform-browser": "18.2.11",
"@angular/platform-browser-dynamic": "18.2.11",
"@angular/router": "18.2.11",
"@angular/service-worker": "18.2.11",
"@angular/upgrade": "18.2.11",
"@rollup/plugin-babel": "6.0.4",

@@ -57,3 +57,3 @@ "@rollup/plugin-replace": "6.0.1",

"chai": "5.1.2",
"concurrently": "9.0.1",
"concurrently": "9.1.0",
"husky": "9.1.6",

@@ -70,5 +70,5 @@ "karma": "6.4.4",

"rimraf": "6.0.1",
"rollup": "4.24.3",
"rollup": "4.24.4",
"rxjs": "7.8.1",
"tslib": "2.8.0",
"tslib": "2.8.1",
"typescript": "5.6.3"

@@ -75,0 +75,0 @@ },

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/animations/browser@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/animations/browser@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(["@angular/animations","@angular/core"],(function(e){"use strict";var t,s,n,i,r,a,o,l,h;return{setters:[function(e){t=e.NoopAnimationPlayer,s=e.AnimationMetadataType,n=e.style,i=e.AUTO_STYLE,r=e.ɵPRE_STYLE,a=e.ɵAnimationGroupPlayer,o=e.sequence},function(e){l=e,e.Injectable,h=e.ɵRuntimeError}],execute:function(){e({ɵallowPreviousPlayerStylesMerge:X,ɵcamelCaseToDashCase:J,ɵcontainsElement:k,ɵcreateEngine:function(e,t){if("noop"===e)return new nt(t,new N,new M);return new nt(t,new ot,new ne)},ɵgetParentElement:E,ɵinvokeQuery:A,ɵnormalizeKeyframes:Q,ɵvalidateStyleProperty:b,ɵvalidateWebAnimatableStyleProperty:T});function c(e){return new h(3e3,!1)}const u=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 m(e){switch(e.length){case 0:return new t;case 1:return e[0];default:return new a(e)}}function d(e,t,s=new Map,n=new Map){const a=[],o=[];let l=-1,c=null;if(t.forEach((t=>{const h=t.get("offset"),u=h==l,m=u&&c||new Map;t.forEach(((t,o)=>{let l=o,h=t;if("offset"!==o)switch(l=e.normalizePropertyName(l,a),h){case r:h=s.get(o);break;case i:h=n.get(o);break;default:h=e.normalizeStyleValue(o,l,h,a)}m.set(l,h)})),u||o.push(m),c=m,l=h})),a.length)throw new h(3502,!1);return o}function p(e,t,s,n){switch(t){case"start":e.onStart((()=>n(s&&y(s,"start",e))));break;case"done":e.onDone((()=>n(s&&y(s,"done",e))));break;case"destroy":e.onDestroy((()=>n(s&&y(s,"destroy",e))))}}function y(e,t,s){const n=s.totalTime,i=!!s.disabled,r=f(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==n?e.totalTime:n,i),a=e._data;return null!=a&&(r._data=a),r}function f(e,t,s,n,i="",r=0,a){return{element:e,triggerName:t,fromState:s,toState:n,phaseName:i,totalTime:r,disabled:!!a}}function g(e,t,s){let n=e.get(t);return n||e.set(t,n=s),n}function _(e){const t=e.indexOf(":");return[e.substring(1,t),e.slice(t+1)]}const S=(()=>"undefined"==typeof document?null:document.documentElement)();function E(e){const t=e.parentNode||e.host||null;return t===S?null:t}let v=null,w=!1;function b(e){v||(v=function(){if("undefined"!=typeof document)return document.body;return null}()||{},w=!!v.style&&"WebkitAppearance"in v.style);let t=!0;if(v.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in v.style,!t&&w)){t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in v.style}return t}function T(e){return u.has(e)}function k(e,t){for(;t;){if(t===e)return!0;t=E(t)}return!1}function A(e,t,s){if(s)return Array.from(e.querySelectorAll(t));const n=e.querySelector(t);return n?[n]:[]}class N{validateStyleProperty(e){return b(e)}containsElement(e,t){return k(e,t)}getParentElement(e){return E(e)}query(e,t,s){return A(e,t,s)}computeStyle(e,t,s){return s||""}animate(e,s,n,i,r,a=[],o){return new t(n,i)}static{this.ɵfac=function(e){return new(e||N)}}static{this.ɵprov=l.ɵɵdefineInjectable({token:N,factory:N.ɵfac})}}e("NoopAnimationDriver",N);class C{static{this.NOOP=new N}}e("AnimationDriver",C);class P{}e("ɵAnimationStyleNormalizer",P);class M{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,s,n){return s}}e("ɵNoopAnimationStyleNormalizer",M);const F=1e3,x="ng-enter",R="ng-leave",D="ng-trigger",I=".ng-trigger",z="ng-animating",q=".ng-animating";function L(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:B(parseFloat(t[1]),t[2])}function B(e,t){return"s"===t?e*F:e}function K(e,t,s){return e.hasOwnProperty("duration")?e:function(e,t,s){const n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;let i,r=0,a="";if("string"==typeof e){const s=e.match(n);if(null===s)return t.push(c()),{duration:0,delay:0,easing:""};i=B(parseFloat(s[1]),s[2]);const o=s[3];null!=o&&(r=B(parseFloat(o),s[4]));const l=s[5];l&&(a=l)}else i=e;if(!s){let e=!1,s=t.length;i<0&&(t.push(new h(3100,!1)),e=!0),r<0&&(t.push(new h(3101,!1)),e=!0),e&&t.splice(s,0,c())}return{duration:i,delay:r,easing:a}}(e,t,s)}function Q(e){return e.length?e[0]instanceof Map?e:e.map((e=>new Map(Object.entries(e)))):[]}function O(e){return Array.isArray(e)?new Map(...e):new Map(e)}function W(e,t,s){t.forEach(((t,n)=>{const i=Z(n);s&&!s.has(n)&&s.set(n,e.style[i]),e.style[i]=t}))}function j(e,t){t.forEach(((t,s)=>{const n=Z(s);e.style[n]=""}))}function V(e){return Array.isArray(e)?1==e.length?e[0]:o(e):e}function H(e,t,s){const n=t.params||{},i=G(e);i.length&&i.forEach((e=>{n.hasOwnProperty(e)||s.push(new h(3001,!1))}))}const $=new RegExp("{{\\s*(.+?)\\s*}}","g");function G(e){let t=[];if("string"==typeof e){let s;for(;s=$.exec(e);)t.push(s[1]);$.lastIndex=0}return t}function U(e,t,s){const n=`${e}`,i=n.replace($,((e,n)=>{let i=t[n];return null==i&&(s.push(new h(3003,!1)),i=""),i.toString()}));return i==n?e:i}const Y=/-+([a-z0-9])/g;function Z(e){return e.replace(Y,((...e)=>e[1].toUpperCase()))}function J(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function X(e,t){return 0===e||0===t}function ee(e,t,n){switch(t.type){case s.Trigger:return e.visitTrigger(t,n);case s.State:return e.visitState(t,n);case s.Transition:return e.visitTransition(t,n);case s.Sequence:return e.visitSequence(t,n);case s.Group:return e.visitGroup(t,n);case s.Animate:return e.visitAnimate(t,n);case s.Keyframes:return e.visitKeyframes(t,n);case s.Style:return e.visitStyle(t,n);case s.Reference:return e.visitReference(t,n);case s.AnimateChild:return e.visitAnimateChild(t,n);case s.AnimateRef:return e.visitAnimateRef(t,n);case s.Query:return e.visitQuery(t,n);case s.Stagger:return e.visitStagger(t,n);default:throw t.type,new h(3004,!1)}}function te(e,t){return window.getComputedStyle(e)[t]}const se=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 ne extends P{normalizePropertyName(e,t){return Z(e)}normalizeStyleValue(e,t,s,n){let i="";const r=s.toString().trim();if(se.has(t)&&0!==s&&"0"!==s)if("number"==typeof s)i="px";else{const e=s.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&n.push(new h(3005,!1))}return r+i}}e("ɵWebAnimationsStyleNormalizer",ne);const ie="*";function re(e,t){const s=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach((e=>function(e,t,s){if(":"==e[0]){const n=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t)<parseFloat(e);default:return t.push(new h(3016,!1)),"* => *"}}(e,s);if("function"==typeof n)return void t.push(n);e=n}const n=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==n||n.length<4)return s.push(new h(3015,!1)),t;const i=n[1],r=n[2],a=n[3];t.push(le(i,a));const o=i==ie&&a==ie;"<"!=r[0]||o||t.push(le(a,i));return}(e,s,t))):s.push(e),s}const ae=new Set(["true","1"]),oe=new Set(["false","0"]);function le(e,t){const s=ae.has(e)||oe.has(e),n=ae.has(t)||oe.has(t);return(i,r)=>{let a=e==ie||e==i,o=t==ie||t==r;return!a&&s&&"boolean"==typeof i&&(a=i?ae.has(e):oe.has(e)),!o&&n&&"boolean"==typeof r&&(o=r?ae.has(t):oe.has(t)),a&&o}}const he=":self",ce=new RegExp(`s*${he}s*,?`,"g");function ue(e,t,s,n){return new me(e).build(t,s,n)}class me{constructor(e){this._driver=e}build(e,t,s){const n=new de(t);this._resetContextStyleTimingState(n);return ee(this,V(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles=new Map,e.collectedStyles.set("",new Map),e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,i=t.depCount=0;const r=[],a=[];return"@"==e.name.charAt(0)&&t.errors.push(new h(3006,!1)),e.definitions.forEach((e=>{if(this._resetContextStyleTimingState(t),e.type==s.State){const s=e,n=s.name;n.toString().split(/\s*,\s*/).forEach((e=>{s.name=e,r.push(this.visitState(s,t))})),s.name=n}else if(e.type==s.Transition){const s=this.visitTransition(e,t);n+=s.queryCount,i+=s.depCount,a.push(s)}else t.errors.push(new h(3007,!1))})),{type:s.Trigger,name:e.name,states:r,transitions:a,queryCount:n,depCount:i,options:null}}visitState(e,t){const n=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(n.containsDynamicStyles){const s=new Set,r=i||{};n.styles.forEach((e=>{e instanceof Map&&e.forEach((e=>{G(e).forEach((e=>{r.hasOwnProperty(e)||s.add(e)}))}))})),s.size&&t.errors.push((e.name,s.values(),new h(3008,!1)))}return{type:s.State,name:e.name,style:n,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const n=ee(this,V(e.animation),t),i=re(e.expr,t.errors);return{type:s.Transition,matchers:i,animation:n,queryCount:t.queryCount,depCount:t.depCount,options:pe(e.options)}}visitSequence(e,t){return{type:s.Sequence,steps:e.steps.map((e=>ee(this,e,t))),options:pe(e.options)}}visitGroup(e,t){const n=t.currentTime;let i=0;const r=e.steps.map((e=>{t.currentTime=n;const s=ee(this,e,t);return i=Math.max(i,t.currentTime),s}));return t.currentTime=i,{type:s.Group,steps:r,options:pe(e.options)}}visitAnimate(e,t){const i=function(e,t){if(e.hasOwnProperty("duration"))return e;if("number"==typeof e){return ye(K(e,t).duration,0,"")}const s=e;if(s.split(/\s+/).some((e=>"{"==e.charAt(0)&&"{"==e.charAt(1)))){const e=ye(0,0,"");return e.dynamic=!0,e.strValue=s,e}const n=K(s,t);return ye(n.duration,n.delay,n.easing)}(e.timings,t.errors);let r;t.currentAnimateTimings=i;let a=e.styles?e.styles:n({});if(a.type==s.Keyframes)r=this.visitKeyframes(a,t);else{let s=e.styles,a=!1;if(!s){a=!0;const e={};i.easing&&(e.easing=i.easing),s=n(e)}t.currentTime+=i.duration+i.delay;const o=this.visitStyle(s,t);o.isEmptyStep=a,r=o}return t.currentAnimateTimings=null,{type:s.Animate,timings:i,style:r,options:null}}visitStyle(e,t){const s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,t){const n=[],r=Array.isArray(e.styles)?e.styles:[e.styles];for(let e of r)"string"==typeof e?e===i?n.push(e):t.errors.push(new h(3002,!1)):n.push(new Map(Object.entries(e)));let a=!1,o=null;return n.forEach((e=>{if(e instanceof Map&&(e.has("easing")&&(o=e.get("easing"),e.delete("easing")),!a))for(let t of e.values())if(t.toString().indexOf("{{")>=0){a=!0;break}})),{type:s.Style,styles:n,easing:o,offset:e.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(e,t){const s=t.currentAnimateTimings;let n=t.currentTime,i=t.currentTime;s&&i>0&&(i-=s.duration+s.delay),e.styles.forEach((e=>{"string"!=typeof e&&e.forEach(((e,s)=>{const r=t.collectedStyles.get(t.currentQuerySelector),a=r.get(s);let o=!0;a&&(i!=n&&i>=a.startTime&&n<=a.endTime&&(t.errors.push((a.startTime,a.endTime,new h(3010,!1))),o=!1),i=a.startTime),o&&r.set(s,{startTime:i,endTime:n}),t.options&&H(e,t.options,t.errors)}))}))}visitKeyframes(e,t){const n={type:s.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(new h(3011,!1)),n;let i=0;const r=[];let a=!1,o=!1,l=0;const c=e.steps.map((e=>{const s=this._makeStyleAst(e,t);let n=null!=s.offset?s.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach((e=>{if(e instanceof Map&&e.has("offset")){const s=e;t=parseFloat(s.get("offset")),s.delete("offset")}}));else if(e instanceof Map&&e.has("offset")){const s=e;t=parseFloat(s.get("offset")),s.delete("offset")}return t}(s.styles),h=0;return null!=n&&(i++,h=s.offset=n),o=o||h<0||h>1,a=a||h<l,l=h,r.push(h),s}));o&&t.errors.push(new h(3012,!1)),a&&t.errors.push(new h(3200,!1));const u=e.steps.length;let m=0;i>0&&i<u?t.errors.push(new h(3202,!1)):0==i&&(m=1/(u-1));const d=u-1,p=t.currentTime,y=t.currentAnimateTimings,f=y.duration;return c.forEach(((e,s)=>{const i=m>0?s==d?1:m*s:r[s],a=i*f;t.currentTime=p+y.delay+a,y.duration=a,this._validateStyleAst(e,t),e.offset=i,n.styles.push(e)})),n}visitReference(e,t){return{type:s.Reference,animation:ee(this,V(e.animation),t),options:pe(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:s.AnimateChild,options:pe(e.options)}}visitAnimateRef(e,t){return{type:s.AnimateRef,animation:this.visitReference(e.animation,t),options:pe(e.options)}}visitQuery(e,t){const n=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;const[r,a]=function(e){const t=!!e.split(/\s*,\s*/).find((e=>e==he));t&&(e=e.replace(ce,""));return e=e.replace(/@\*/g,I).replace(/@\w+/g,(e=>I+"-"+e.slice(1))).replace(/:animating/g,q),[e,t]}(e.selector);t.currentQuerySelector=n.length?n+" "+r:r,g(t.collectedStyles,t.currentQuerySelector,new Map);const o=ee(this,V(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:s.Query,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:pe(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(new h(3013,!1));const n="full"===e.timings?{duration:0,delay:0,easing:"full"}:K(e.timings,t.errors,!0);return{type:s.Stagger,animation:ee(this,V(e.animation),t),timings:n,options:null}}}class de{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function pe(e){var t;return e?(e={...e}).params&&(e.params=(t=e.params)?{...t}:null):e={},e}function ye(e,t,s){return{duration:e,delay:t,easing:s}}function fe(e,t,s,n,i,r,a=null,o=!1){return{type:1,element:e,keyframes:t,preStyleProps:s,postStyleProps:n,duration:i,delay:r,totalTime:i+r,easing:a,subTimeline:o}}class ge{constructor(){this._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 _e=new RegExp(":enter","g"),Se=new RegExp(":leave","g");function Ee(e,t,s,n,i,r=new Map,a=new Map,o,l,h=[]){return(new ve).buildKeyframes(e,t,s,n,i,r,a,o,l,h)}class ve{buildKeyframes(e,t,s,n,i,r,a,o,l,h=[]){l=l||new ge;const c=new be(e,t,l,n,i,h,[]);c.options=o;const u=o.delay?L(o.delay):0;c.currentTimeline.delayNextStep(u),c.currentTimeline.setStyles([r],null,c.errors,o),ee(this,s,c);const m=c.timelines.filter((e=>e.containsAnimation()));if(m.length&&a.size){let e;for(let s=m.length-1;s>=0;s--){const n=m[s];if(n.element===t){e=n;break}}e&&!e.allowOnlyTimelineStyles()&&e.setStyles([a],null,c.errors,o)}return m.length?m.map((e=>e.buildKeyframes())):[fe(t,[],[],[],0,u,"",!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),i=t.currentTimeline.currentTime,r=this._visitSubInstructions(s,n,n.options);i!=r&&t.transformIntoNewTimeline(r)}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 e=n?.delay;if(e){const i="number"==typeof e?e:L(U(e,n?.params??{},t.errors));s.delayNextStep(i)}}}_visitSubInstructions(e,t,s){let n=t.currentTimeline.currentTime;const i=null!=s.duration?L(s.duration):null,r=null!=s.delay?L(s.delay):null;return 0!==i&&e.forEach((e=>{const s=t.appendInstructionToTimeline(e,i,r);n=Math.max(n,s.duration+s.delay)})),n}visitReference(e,t){t.updateOptions(e.options,!0),ee(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const n=t.subContextCount;let i=t;const r=e.options;if(r&&(r.params||r.delay)&&(i=t.createSubContext(r),i.transformIntoNewTimeline(),null!=r.delay)){i.previousNode.type==s.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=we);const e=L(r.delay);i.delayNextStep(e)}e.steps.length&&(e.steps.forEach((e=>ee(this,e,i))),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const s=[];let n=t.currentTimeline.currentTime;const i=e.options&&e.options.delay?L(e.options.delay):0;e.steps.forEach((r=>{const a=t.createSubContext(e.options);i&&a.delayNextStep(i),ee(this,r,a),n=Math.max(n,a.currentTimeline.currentTime),s.push(a.currentTimeline)})),s.forEach((e=>t.currentTimeline.mergeTimelineCollectedStyles(e))),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const s=e.strValue;return K(t.params?U(s,t.params,t.errors):s,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const n=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),i.snapshotCurrentStyles());const r=e.style;r.type==s.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(n.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const s=t.currentTimeline,n=t.currentAnimateTimings;!n&&s.hasCurrentStyleProperties()&&s.forwardFrame();const i=n&&n.easing||e.easing;e.isEmptyStep?s.applyEmptyStep(i):s.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const s=t.currentAnimateTimings,n=t.currentTimeline.duration,i=s.duration,r=t.createSubContext().currentTimeline;r.easing=s.easing,e.styles.forEach((e=>{const s=e.offset||0;r.forwardTime(s*i),r.setStyles(e.styles,e.easing,t.errors,t.options),r.applyStylesToKeyframe()})),t.currentTimeline.mergeTimelineCollectedStyles(r),t.transformIntoNewTimeline(n+i),t.previousNode=e}visitQuery(e,t){const n=t.currentTimeline.currentTime,i=e.options||{},r=i.delay?L(i.delay):0;r&&(t.previousNode.type===s.Style||0==n&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=we);let a=n;const o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach(((s,n)=>{t.currentQueryIndex=n;const i=t.createSubContext(e.options,s);r&&i.delayNextStep(r),s===t.element&&(l=i.currentTimeline),ee(this,e.animation,i),i.currentTimeline.applyStylesToKeyframe();const o=i.currentTimeline.currentTime;a=Math.max(a,o)})),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,i=e.timings,r=Math.abs(i.duration),a=r*(t.currentQueryTotal-1);let o=r*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":o=a-o;break;case"full":o=s.currentStaggerTime}const l=t.currentTimeline;o&&l.delayNextStep(o);const h=l.currentTime;ee(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=n.currentTime-h+(n.startTime-s.currentTimeline.startTime)}}const we={};class be{constructor(e,t,s,n,i,r,a,o){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=n,this._leaveClassName=i,this.errors=r,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=we,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=o||new Te(this._driver,t,0),a.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=L(s.duration)),null!=s.delay&&(n.delay=L(s.delay));const i=s.params;if(i){let e=n.params;e||(e=this.options.params={}),Object.keys(i).forEach((s=>{t&&e.hasOwnProperty(s)||(e[s]=U(i[s],e,this.errors))}))}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const s=e.params={};Object.keys(t).forEach((e=>{s[e]=t[e]}))}}return e}createSubContext(e=null,t,s){const n=t||this.element,i=new be(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,s||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(e),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(e){return this.previousNode=we,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){const n={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=s?s:0)+e.delay,easing:""},i=new ke(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(i),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,n,i,r){let a=[];if(n&&a.push(this.element),e.length>0){e=(e=e.replace(_e,"."+this._enterClassName)).replace(Se,"."+this._leaveClassName);const t=1!=s;let n=this._driver.query(this.element,e,t);0!==s&&(n=s<0?n.slice(n.length+s,n.length):n.slice(0,s)),a.push(...n)}return i||0!=a.length||r.push(new h(3014,!1)),a}}class Te{constructor(e,t,s,n){this._driver=e,this.element=t,this.startTime=s,this._elementTimelineStylesLookup=n,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,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 Te(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[e,t]of this._globalTimelineStyles)this._backFill.set(e,t||i),this._currentKeyframe.set(e,i);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,n){t&&this._previousKeyframe.set("easing",t);const r=n&&n.params||{},a=function(e,t){const s=new Map;let n;return e.forEach((e=>{if("*"===e){n??=t.keys();for(let e of n)s.set(e,i)}else for(let[t,n]of e)s.set(t,n)})),s}(e,this._globalTimelineStyles);for(let[e,t]of a){const n=U(t,r,s);this._pendingStyles.set(e,n),this._localTimelineStyles.has(e)||this._backFill.set(e,this._globalTimelineStyles.get(e)??i),this._updateStyle(e,n)}}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(((e,t)=>{const s=this._styleSummary.get(t);(!s||e.time>s.time)&&this._updateStyle(t,e.value)}))}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,s=1===this._keyframes.size&&0===this.duration;let n=[];this._keyframes.forEach(((a,o)=>{const l=new Map([...this._backFill,...a]);l.forEach(((s,n)=>{s===r?e.add(n):s===i&&t.add(n)})),s||l.set("offset",o/this.duration),n.push(l)}));const a=[...e.values()],o=[...t.values()];if(s){const e=n[0],t=new Map(e);e.set("offset",0),t.set("offset",1),n=[e,t]}return fe(this.element,n,a,o,this.duration,this.startTime,this.easing,!1)}}class ke extends Te{constructor(e,t,s,n,i,r,a=!1){super(e,t,r.delay),this.keyframes=s,this.preStyleProps=n,this.postStyleProps=i,this._stretchStartingKeyframe=a,this.timings={duration:r.duration,delay:r.delay,easing:r.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 i=[],r=s+t,a=t/r,o=new Map(e[0]);o.set("offset",0),i.push(o);const l=new Map(e[0]);l.set("offset",Ae(a)),i.push(l);const h=e.length-1;for(let n=1;n<=h;n++){let a=new Map(e[n]);const o=t+a.get("offset")*s;a.set("offset",Ae(o/r)),i.push(a)}s=r,t=0,n="",e=i}return fe(this.element,e,this.preStyleProps,this.postStyleProps,s,t,n,!0)}}function Ae(e,t=3){const s=Math.pow(10,t-1);return Math.round(e*s)/s}function Ne(e,t,s,n,i,r,a,o,l,h,c,u,m){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:s,fromStyles:r,toState:n,toStyles:a,timelines:o,queriedElements:l,preStyleProps:h,postStyleProps:c,totalTime:u,errors:m}}const Ce={};class Pe{constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,n){return function(e,t,s,n,i){return e.some((e=>e(t,s,n,i)))}(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,i,r,a,o,l,h){const c=[],u=this.ast.options&&this.ast.options.params||Ce,m=a&&a.params||Ce,d=this.buildStyles(s,m,c),p=o&&o.params||Ce,y=this.buildStyles(n,p,c),f=new Set,_=new Map,S=new Map,E="void"===n,v={params:Me(p,u),delay:this.ast.options?.delay},w=h?[]:Ee(e,t,this.ast.animation,i,r,d,y,v,l,c);let b=0;return w.forEach((e=>{b=Math.max(e.duration+e.delay,b)})),c.length?Ne(t,this._triggerName,s,n,E,d,y,[],[],_,S,b,c):(w.forEach((e=>{const s=e.element,n=g(_,s,new Set);e.preStyleProps.forEach((e=>n.add(e)));const i=g(S,s,new Set);e.postStyleProps.forEach((e=>i.add(e))),s!==t&&f.add(s)})),Ne(t,this._triggerName,s,n,E,d,y,w,[...f.values()],_,S,b))}}function Me(e,t){const s={...t};return Object.entries(e).forEach((([e,t])=>{null!=t&&(s[e]=t)})),s}class Fe{constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){const s=new Map,n=Me(e,this.defaultParams);return this.styles.styles.forEach((e=>{"string"!=typeof e&&e.forEach(((e,i)=>{e&&(e=U(e,n,t));const r=this.normalizer.normalizePropertyName(i,t);e=this.normalizer.normalizeStyleValue(i,r,e,t),s.set(i,e)}))})),s}}class xe{constructor(e,t,n){this.name=e,this.ast=t,this._normalizer=n,this.transitionFactories=[],this.states=new Map,t.states.forEach((e=>{const t=e.options&&e.options.params||{};this.states.set(e.name,new Fe(e.style,t,n))})),Re(this.states,"true","1"),Re(this.states,"false","0"),t.transitions.forEach((t=>{this.transitionFactories.push(new Pe(e,t,this.states))})),this.fallbackTransition=function(e,t,n){const i=[(e,t)=>!0],r={type:s.Sequence,steps:[],options:null},a={type:s.Transition,animation:r,matchers:i,options:null,queryCount:0,depCount:0};return new Pe(e,a,t)}(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,n){return this.transitionFactories.find((i=>i.match(e,t,s,n)))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}}function Re(e,t,s){e.has(t)?e.has(s)||e.set(s,e.get(t)):e.has(s)&&e.set(t,e.get(s))}const De=new ge;class Ie{constructor(e,t,s){this.bodyNode=e,this._driver=t,this._normalizer=s,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){const s=[],n=[],i=ue(this._driver,t,s,n);if(s.length)throw new h(3503,!1);this._animations.set(e,i)}_buildPlayer(e,t,s){const n=e.element,i=d(this._normalizer,e.keyframes,t,s);return this._driver.animate(n,i,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=Ee(this._driver,t,r,x,R,new Map,new Map,s,De,n),a.forEach((e=>{const t=g(o,e.element,new Map);e.postStyleProps.forEach((e=>t.set(e,null)))}))):(n.push(new h(3300,!1)),a=[]),n.length)throw new h(3504,!1);o.forEach(((e,t)=>{e.forEach(((s,n)=>{e.set(n,this._driver.computeStyle(t,n,i))}))}));const l=m(a.map((e=>{const t=o.get(e.element);return this._buildPlayer(e,new Map,t)})));return this._playersById.set(e,l),l.onDestroy((()=>this.destroy(e))),this.players.push(l),l}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 new h(3301,!1);return t}listen(e,t,s,n){const i=f(t,"","","");return p(this._getPlayer(e),s,i,n),()=>{}}command(e,t,s,n){if("register"==s)return void this.register(e,n[0]);if("create"==s){const s=n[0]||{};return void this.create(e,t,s)}const i=this._getPlayer(e);switch(s){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e)}}}const ze="ng-animate-queued",qe="ng-animate-disabled",Le=[],Be={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ke={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Qe="__ng_removed";class Oe{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;const s=e&&e.hasOwnProperty("value"),n=s?e.value:e;if(this.value=function(e){return null!=e?e:null}(n),s){const{value:t,...s}=e;this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach((s=>{null==e[s]&&(e[s]=t[s])}))}}}const We="void",je=new Oe(We);class Ve{constructor(e,t,s){this.id=e,this.hostElement=t,this._engine=s,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Je(t,this._hostClassName)}listen(e,t,s,n){if(!this._triggers.has(t))throw new h(3302,!1);if(null==s||0==s.length)throw new h(3303,!1);if("start"!=(i=s)&&"done"!=i)throw new h(3400,!1);var i;const r=g(this._elementListeners,e,[]),a={name:t,phase:s,callback:n};r.push(a);const o=g(this._engine.statesByElement,e,new Map);return o.has(t)||(Je(e,D),Je(e,D+"-"+t),o.set(t,je)),()=>{this._engine.afterFlush((()=>{const e=r.indexOf(a);e>=0&&r.splice(e,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 new h(3401,!1);return t}trigger(e,t,s,n=!0){const i=this._getTrigger(t),r=new $e(this.id,t,e);let a=this._engine.statesByElement.get(e);a||(Je(e,D),Je(e,D+"-"+t),this._engine.statesByElement.set(e,a=new Map));let o=a.get(t);const l=new Oe(s,this.id);!(s&&s.hasOwnProperty("value"))&&o&&l.absorbOptions(o.options),a.set(t,l),o||(o=je);if(!(l.value===We)&&o.value===l.value){if(!function(e,t){const s=Object.keys(e),n=Object.keys(t);if(s.length!=n.length)return!1;for(let n=0;n<s.length;n++){const i=s[n];if(!t.hasOwnProperty(i)||e[i]!==t[i])return!1}return!0}(o.params,l.params)){const t=[],s=i.matchStyles(o.value,o.params,t),n=i.matchStyles(l.value,l.params,t);t.length?this._engine.reportError(t):this._engine.afterFlush((()=>{j(e,s),W(e,n)}))}return}const h=g(this._engine.playersByElement,e,[]);h.forEach((e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()}));let c=i.matchTransition(o.value,l.value,e,l.params),u=!1;if(!c){if(!n)return;c=i.fallbackTransition,u=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:c,fromState:o,toState:l,player:r,isFallbackTransition:u}),u||(Je(e,ze),r.onStart((()=>{Xe(e,ze)}))),r.onDone((()=>{let t=this.players.indexOf(r);t>=0&&this.players.splice(t,1);const s=this._engine.playersByElement.get(e);if(s){let e=s.indexOf(r);e>=0&&s.splice(e,1)}})),this.players.push(r),h.push(r),r}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((t=>t.name!=e)))}))}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach((e=>e.destroy())),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const s=this._engine.driver.query(e,I,!0);s.forEach((e=>{if(e[Qe])return;const s=this._engine.fetchNamespacesByElement(e);s.size?s.forEach((s=>s.triggerLeaveAnimation(e,t,!1,!0))):this.clearElementCache(e)})),this._engine.afterFlushAnimationsDone((()=>s.forEach((e=>this.clearElementCache(e)))))}triggerLeaveAnimation(e,t,s,n){const i=this._engine.statesByElement.get(e),r=new Map;if(i){const a=[];if(i.forEach(((t,s)=>{if(r.set(s,t.value),this._triggers.has(s)){const t=this.trigger(e,s,We,n);t&&a.push(t)}})),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,r),s&&m(a).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((t=>{const i=t.name;if(n.has(i))return;n.add(i);const r=this._triggers.get(i).fallbackTransition,a=s.get(i)||je,o=new Oe(We),l=new $e(this.id,i,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:r,fromState:a,toState:o,player:l,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 t=s.players.length?s.playersByQueriedElement.get(e):[];if(t&&t.length)n=!0;else{let t=e;for(;t=t.parentNode;){if(s.statesByElement.get(t)){n=!0;break}}}}if(this.prepareLeaveAnimationListeners(e),n)s.markElementAsRemoved(this.id,e,!1,t);else{const n=e[Qe];n&&n!==Be||(s.afterFlush((()=>this.clearElementCache(e))),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){Je(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach((s=>{const n=s.player;if(n.destroyed)return;const i=s.element,r=this._elementListeners.get(i);r&&r.forEach((t=>{if(t.name==s.triggerName){const n=f(i,s.triggerName,s.fromState.value,s.toState.value);n._data=e,p(s.player,t.phase,n,t.callback)}})),n.markedForDestroy?this._engine.afterFlush((()=>{n.destroy()})):t.push(s)})),this._queue=[],t.sort(((e,t)=>{const s=e.transition.ast.depCount,n=t.transition.ast.depCount;return 0==s||0==n?s-n:this._engine.driver.containsElement(e.element,t.element)?1:-1}))}destroy(e){this.players.forEach((e=>e.destroy())),this._signalRemovalForInnerTriggers(this.hostElement,e)}}class He{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,s){this.bodyNode=e,this.driver=t,this._normalizer=s,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(e,t)=>{}}get queuedPlayers(){const e=[];return this._namespaceList.forEach((t=>{t.players.forEach((t=>{t.queued&&e.push(t)}))})),e}createNamespace(e,t){const s=new Ve(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 i=!1,r=this.driver.getParentElement(t);for(;r;){const t=n.get(r);if(t){const n=s.indexOf(t);s.splice(n+1,0,e),i=!0;break}r=this.driver.getParentElement(r)}i||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 e of s.values())if(e.namespaceId){const s=this._fetchNamespace(e.namespaceId);s&&t.add(s)}return t}trigger(e,t,s,n){if(Ge(t)){const i=this._fetchNamespace(e);if(i)return i.trigger(t,s,n),!0}return!1}insertNode(e,t,s,n){if(!Ge(t))return;const i=t[Qe];if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;const e=this.collectedLeaveElements.indexOf(t);e>=0&&this.collectedLeaveElements.splice(e,1)}if(e){const n=this._fetchNamespace(e);n&&n.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),Je(e,qe)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Xe(e,qe))}removeNode(e,t,s){if(Ge(t)){const n=e?this._fetchNamespace(e):null;n?n.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);const i=this.namespacesByHostElement.get(t);i&&i.id!==e&&i.removeNode(t,s)}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,s,n,i){this.collectedLeaveElements.push(t),t[Qe]={namespaceId:e,setForRemoval:n,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:i}}listen(e,t,s,n,i){return Ge(t)?this._fetchNamespace(e).listen(t,s,n,i):()=>{}}_buildInstruction(e,t,s,n,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,s,n,e.fromState.options,e.toState.options,t,i)}destroyInnerAnimations(e){let t=this.driver.query(e,I,!0);t.forEach((e=>this.destroyActiveAnimationsForElement(e))),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,q,!0),t.forEach((e=>this.finishActiveQueriedAnimationOnElement(e))))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach((e=>{e.queued?e.markedForDestroy=!0:e.destroy()}))}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach((e=>e.finish()))}whenRenderingDone(){return new Promise((e=>{if(this.players.length)return m(this.players).onDone((()=>e()));e()}))}processLeaveNode(e){const t=e[Qe];if(t&&t.setForRemoval){if(e[Qe]=Be,t.namespaceId){this.destroyInnerAnimations(e);const s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(qe)&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach((e=>{this.markElementAsDisabled(e,!1)}))}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach(((e,t)=>this._balanceNamespaceList(e,t))),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let e=0;e<this.collectedEnterElements.length;e++){Je(this.collectedEnterElements[e],"ng-star-inserted")}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const s=[];try{t=this._flushAnimations(s,e)}finally{for(let e=0;e<s.length;e++)s[e]()}}else for(let e=0;e<this.collectedLeaveElements.length;e++){const t=this.collectedLeaveElements[e];this.processLeaveNode(t)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach((e=>e())),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?m(t).onDone((()=>{e.forEach((e=>e()))})):e.forEach((e=>e()))}}reportError(e){throw new h(3402,!1)}_flushAnimations(e,t){const s=new ge,n=[],a=new Map,o=[],l=new Map,c=new Map,u=new Map,d=new Set;this.disabledNodes.forEach((e=>{d.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let e=0;e<t.length;e++)d.add(t[e])}));const p=this.bodyNode,y=Array.from(this.statesByElement.keys()),f=Ze(y,this.collectedEnterElements),_=new Map;let S=0;f.forEach(((e,t)=>{const s=x+S++;_.set(t,s),e.forEach((e=>Je(e,s)))}));const E=[],v=new Set,w=new Set;for(let e=0;e<this.collectedLeaveElements.length;e++){const t=this.collectedLeaveElements[e],s=t[Qe];s&&s.setForRemoval&&(E.push(t),v.add(t),s.hasAnimation?this.driver.query(t,".ng-star-inserted",!0).forEach((e=>v.add(e))):w.add(t))}const b=new Map,T=Ze(y,Array.from(v));T.forEach(((e,t)=>{const s=R+S++;b.set(t,s),e.forEach((e=>Je(e,s)))})),e.push((()=>{f.forEach(((e,t)=>{const s=_.get(t);e.forEach((e=>Xe(e,s)))})),T.forEach(((e,t)=>{const s=b.get(t);e.forEach((e=>Xe(e,s)))})),E.forEach((e=>{this.processLeaveNode(e)}))}));const k=[],A=[];for(let e=this._namespaceList.length-1;e>=0;e--){this._namespaceList[e].drainQueuedTransitions(t).forEach((e=>{const t=e.player,i=e.element;if(k.push(t),this.collectedEnterElements.length){const s=i[Qe];if(s&&s.setForMove){if(s.previousTriggersValues&&s.previousTriggersValues.has(e.triggerName)){const t=s.previousTriggersValues.get(e.triggerName),n=this.statesByElement.get(e.element);if(n&&n.has(e.triggerName)){const s=n.get(e.triggerName);s.value=t,n.set(e.triggerName,s)}}return void t.destroy()}}const r=!p||!this.driver.containsElement(p,i),a=b.get(i),h=_.get(i),m=this._buildInstruction(e,s,h,a,r);if(m.errors&&m.errors.length)return void A.push(m);if(r)return t.onStart((()=>j(i,m.fromStyles))),t.onDestroy((()=>W(i,m.toStyles))),void n.push(t);if(e.isFallbackTransition)return t.onStart((()=>j(i,m.fromStyles))),t.onDestroy((()=>W(i,m.toStyles))),void n.push(t);const d=[];m.timelines.forEach((e=>{e.stretchStartingKeyframe=!0,this.disabledNodes.has(e.element)||d.push(e)})),m.timelines=d,s.append(i,m.timelines);const y={instruction:m,player:t,element:i};o.push(y),m.queriedElements.forEach((e=>g(l,e,[]).push(t))),m.preStyleProps.forEach(((e,t)=>{if(e.size){let s=c.get(t);s||c.set(t,s=new Set),e.forEach(((e,t)=>s.add(t)))}})),m.postStyleProps.forEach(((e,t)=>{let s=u.get(t);s||u.set(t,s=new Set),e.forEach(((e,t)=>s.add(t)))}))}))}if(A.length){const e=[];A.forEach((t=>{e.push((t.triggerName,t.errors,new h(3505,!1)))})),k.forEach((e=>e.destroy())),this.reportError(e)}const N=new Map,C=new Map;o.forEach((e=>{const t=e.element;s.has(t)&&(C.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,N))})),n.forEach((e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach((e=>{g(N,t,[]).push(e),e.destroy()}))}));const P=E.filter((e=>st(e,c,u))),M=new Map;Ye(M,this.driver,w,u,i).forEach((e=>{st(e,c,u)&&P.push(e)}));const F=new Map;f.forEach(((e,t)=>{Ye(F,this.driver,new Set(e),c,r)})),P.forEach((e=>{const t=M.get(e),s=F.get(e);M.set(e,new Map([...t?.entries()??[],...s?.entries()??[]]))}));const D=[],I=[],z={};o.forEach((e=>{const{element:t,player:i,instruction:r}=e;if(s.has(t)){if(d.has(t))return i.onDestroy((()=>W(t,r.toStyles))),i.disabled=!0,i.overrideTotalTime(r.totalTime),void n.push(i);let e=z;if(C.size>1){let s=t;const n=[];for(;s=s.parentNode;){const t=C.get(s);if(t){e=t;break}n.push(s)}n.forEach((t=>C.set(t,e)))}const s=this._buildAnimation(i.namespaceId,r,N,a,F,M);if(i.setRealPlayer(s),e===z)D.push(i);else{const t=this.playersByElement.get(e);t&&t.length&&(i.parentPlayer=m(t)),n.push(i)}}else j(t,r.fromStyles),i.onDestroy((()=>W(t,r.toStyles))),I.push(i),d.has(t)&&n.push(i)})),I.forEach((e=>{const t=a.get(e.element);if(t&&t.length){const s=m(t);e.setRealPlayer(s)}})),n.forEach((e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()}));for(let e=0;e<E.length;e++){const t=E[e],s=t[Qe];if(Xe(t,R),s&&s.hasAnimation)continue;let n=[];if(l.size){let e=l.get(t);e&&e.length&&n.push(...e);let s=this.driver.query(t,q,!0);for(let e=0;e<s.length;e++){let t=l.get(s[e]);t&&t.length&&n.push(...t)}}const i=n.filter((e=>!e.destroyed));i.length?et(this,t,i):this.processLeaveNode(t)}return E.length=0,D.forEach((e=>{this.players.push(e),e.onDone((()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)})),e.play()})),D}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,n,i){let r=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(r=t)}else{const t=this.playersByElement.get(e);if(t){const e=!i||i==We;t.forEach((t=>{t.queued||(e||t.triggerName==n)&&r.push(t)}))}}return(s||n)&&(r=r.filter((e=>(!s||s==e.namespaceId)&&(!n||n==e.triggerName)))),r}_beforeAnimationBuild(e,t,s){const n=t.triggerName,i=t.element,r=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:n;for(const e of t.timelines){const n=e.element,o=n!==i,l=g(s,n,[]);this._getPreviousPlayers(n,o,r,a,t.toState).forEach((e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)}))}j(i,t.fromStyles)}_buildAnimation(e,s,n,i,r,a){const o=s.triggerName,l=s.element,h=[],c=new Set,u=new Set,p=s.timelines.map((s=>{const m=s.element;c.add(m);const p=m[Qe];if(p&&p.removedBeforeQueried)return new t(s.duration,s.delay);const y=m!==l,f=function(e){const t=[];return tt(e,t),t}((n.get(m)||Le).map((e=>e.getRealPlayer()))).filter((e=>{const t=e;return!!t.element&&t.element===m})),g=r.get(m),_=a.get(m),S=d(this._normalizer,s.keyframes,g,_),E=this._buildPlayer(s,S,f);if(s.subTimeline&&i&&u.add(m),y){const t=new $e(e,o,m);t.setRealPlayer(E),h.push(t)}return E}));h.forEach((e=>{g(this.playersByQueriedElement,e.element,[]).push(e),e.onDone((()=>function(e,t,s){let n=e.get(t);if(n){if(n.length){const e=n.indexOf(s);n.splice(e,1)}0==n.length&&e.delete(t)}return n}(this.playersByQueriedElement,e.element,e)))})),c.forEach((e=>Je(e,z)));const y=m(p);return y.onDestroy((()=>{c.forEach((e=>Xe(e,z))),W(l,s.toStyles)})),u.forEach((e=>{g(i,e,[]).push(y)})),y}_buildPlayer(e,s,n){return s.length>0?this.driver.animate(e.element,s,e.duration,e.delay,e.easing,n):new t(e.duration,e.delay)}}class $e{constructor(e,s,n){this.namespaceId=e,this.triggerName=s,this.element=n,this._player=new t,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach(((t,s)=>{t.forEach((t=>p(e,s,void 0,t)))})),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){g(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 Ge(e){return e&&1===e.nodeType}function Ue(e,t){const s=e.style.display;return e.style.display=null!=t?t:"none",s}function Ye(e,t,s,n,i){const r=[];s.forEach((e=>r.push(Ue(e))));const a=[];n.forEach(((s,n)=>{const r=new Map;s.forEach((e=>{const s=t.computeStyle(n,e,i);r.set(e,s),s&&0!=s.length||(n[Qe]=Ke,a.push(n))})),e.set(n,r)}));let o=0;return s.forEach((e=>Ue(e,r[o++]))),a}function Ze(e,t){const s=new Map;if(e.forEach((e=>s.set(e,[]))),0==t.length)return s;const n=new Set(t),i=new Map;function r(e){if(!e)return 1;let t=i.get(e);if(t)return t;const a=e.parentNode;return t=s.has(a)?a:n.has(a)?1:r(a),i.set(e,t),t}return t.forEach((e=>{const t=r(e);1!==t&&s.get(t).push(e)})),s}function Je(e,t){e.classList?.add(t)}function Xe(e,t){e.classList?.remove(t)}function et(e,t,s){m(s).onDone((()=>e.processLeaveNode(t)))}function tt(e,t){for(let s=0;s<e.length;s++){const n=e[s];n instanceof a?tt(n.players,t):t.push(n)}}function st(e,t,s){const n=s.get(e);if(!n)return!1;let i=t.get(e);return i?n.forEach((e=>i.add(e))):t.set(e,n),s.delete(e),!0}class nt{constructor(e,t,s){this._driver=t,this._normalizer=s,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new He(e.body,t,s),this._timelineEngine=new Ie(e.body,t,s),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,s,n,i){const r=e+"-"+n;let a=this._triggerCache[r];if(!a){const e=[],t=[],s=ue(this._driver,i,e,t);if(e.length)throw new h(3404,!1);t.length,a=function(e,t,s){return new xe(e,t,s)}(n,s,this._normalizer),this._triggerCache[r]=a}this._transitionEngine.registerTrigger(t,n,a)}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[e,i]=_(s),r=n;this._timelineEngine.command(e,t,i,r)}else this._transitionEngine.trigger(e,t,s,n)}listen(e,t,s,n,i){if("@"==s.charAt(0)){const[e,n]=_(s);return this._timelineEngine.listen(e,t,n,i)}return this._transitionEngine.listen(e,t,s,n,i)}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)}}e("ɵAnimationEngine",nt);class it{static{this.initialStylesByElement=new WeakMap}constructor(e,t,s){this._element=e,this._startStyles=t,this._endStyles=s,this._state=0;let n=it.initialStylesByElement.get(e);n||it.initialStylesByElement.set(e,n=new Map),this._initialStyles=n}start(){this._state<1&&(this._startStyles&&W(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(W(this._element,this._initialStyles),this._endStyles&&(W(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(it.initialStylesByElement.delete(this._element),this._startStyles&&(j(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(j(this._element,this._endStyles),this._endStyles=null),W(this._element,this._initialStyles),this._state=3)}}function rt(e){let t=null;return e.forEach(((e,s)=>{(function(e){return"display"===e||"position"===e})(s)&&(t=t||new Map,t.set(s,e))})),t}class at{constructor(e,t,s,n){this.element=e,this.keyframes=t,this.options=s,this._specialStyles=n,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,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((e=>{t.push(Object.fromEntries(e))})),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;if(this.hasStarted()){this._finalKeyframe.forEach(((t,s)=>{"offset"!==s&&e.set(s,this._finished?t:te(this.element,s))}))}this.currentSnapshot=e}triggerCallback(e){const t="start"===e?this._onStartFns:this._onDoneFns;t.forEach((e=>e())),t.length=0}}e("ɵWebAnimationsPlayer",at);class ot{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return k(e,t)}getParentElement(e){return E(e)}query(e,t,s){return A(e,t,s)}computeStyle(e,t,s){return te(e,t)}animate(e,t,s,n,i,r=[]){const a={duration:s,delay:n,fill:0==n?"both":"forwards"};i&&(a.easing=i);const o=new Map,l=r.filter((e=>e instanceof at));X(s,n)&&l.forEach((e=>{e.currentSnapshot.forEach(((e,t)=>o.set(t,e)))}));let h=Q(t).map((e=>new Map(e)));h=function(e,t,s){if(s.size&&t.length){let n=t[0],i=[];if(s.forEach(((e,t)=>{n.has(t)||i.push(t),n.set(t,e)})),i.length)for(let s=1;s<t.length;s++){let n=t[s];i.forEach((t=>n.set(t,te(e,t))))}}return t}(e,h,o);const c=function(e,t){let s=null,n=null;return Array.isArray(t)&&t.length?(s=rt(t[0]),t.length>1&&(n=rt(t[t.length-1]))):t instanceof Map&&(s=rt(t)),s||n?new it(e,s,n):null}(e,h);return new at(e,h,a,c)}}e("ɵWebAnimationsDriver",ot);e("ɵAnimation",class{constructor(e,t){this._driver=e;const s=[],n=[],i=ue(e,t,s,n);if(s.length)throw new h(3500,!1);this._animationAst=i}buildTimelines(e,t,s,n,i){const r=Array.isArray(t)?O(t):t,a=Array.isArray(s)?O(s):s,o=[];i=i||new ge;const l=Ee(this._driver,e,this._animationAst,x,R,r,a,n,i,o);if(o.length)throw new h(3501,!1);return l}});const lt="@",ht="@.disabled";class ct{constructor(e,t,s,n){this.namespaceId=e,this.delegate=t,this.engine=s,this._onDestroy=n,this.ɵtype=0}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)==lt&&t==ht?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)}}e("ɵBaseAnimationRenderer",ct);class ut extends ct{constructor(e,t,s,n,i){super(t,s,n,i),this.factory=e,this.namespaceId=t}setProperty(e,t,s){t.charAt(0)==lt?"."==t.charAt(1)&&t==ht?(s=void 0===s||!!s,this.disableAnimations(e,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)==lt){const n=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let i=t.slice(1),r="";return i.charAt(0)!=lt&&([i,r]=function(e){const t=e.indexOf("."),s=e.substring(0,t),n=e.slice(t+1);return[s,n]}(i)),this.engine.listen(this.namespaceId,n,i,r,(e=>{const t=e._data||-1;this.factory.scheduleListenerCallback(t,s,e)}))}return this.delegate.listen(e,t,s)}}e("ɵAnimationRenderer",ut);e("ɵAnimationRendererFactory",class{constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(e,t)=>{t?.removeChild(null,e)}}createRenderer(e,t){const s=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){const e=this._rendererCache;let t=e.get(s);if(!t){const n=()=>e.delete(s);t=new ct("",s,this.engine,n),e.set(s,t)}return t}const n=t.id,i=t.id+"-"+this._currentId;this._currentId++,this.engine.register(i,e);const r=t=>{Array.isArray(t)?t.forEach(r):this.engine.registerTrigger(n,i,e,t.name,t)};return t.data.animation.forEach(r),new ut(this,i,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask((()=>{this._microtaskId++}))}scheduleListenerCallback(e,t,s){if(e>=0&&e<this._microtaskId)return void this._zone.run((()=>t(s)));const n=this._animationCallbacksBuffer;0==n.length&&queueMicrotask((()=>{this._zone.run((()=>{n.forEach((e=>{const[t,s]=e;t(s)})),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()}})}}}));
//# sourceMappingURL=angular-animations-browser.min.js.map

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/animations@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/animations@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(["@angular/common","@angular/core"],(function(t){"use strict";var n,e,s,i,r,o;return{setters:[function(t){n=t.DOCUMENT},function(t){e=t,s=t.inject,t.Injectable,i=t.ANIMATION_MODULE_TYPE,r=t.ViewEncapsulation,o=t.ɵRuntimeError,t.Inject}],execute:function(){var a;t({animate:function(t,n=null){return{type:a.Animate,styles:n,timings:t}},animateChild:function(t=null){return{type:a.AnimateChild,options:t}},animation:function(t,n=null){return{type:a.Reference,animation:t,options:n}},group:function(t,n=null){return{type:a.Group,steps:t,options:n}},keyframes:function(t){return{type:a.Keyframes,steps:t}},query:function(t,n,e=null){return{type:a.Query,selector:t,animation:n,options:e}},sequence:h,stagger:function(t,n){return{type:a.Stagger,timings:t,animation:n}},state:function(t,n,e){return{type:a.State,name:t,styles:n,options:e}},style:function(t){return{type:a.Style,styles:t,offset:null}},transition:function(t,n,e=null){return{type:a.Transition,expr:t,animation:n,options:e}},trigger:function(t,n){return{type:a.Trigger,name:t,definitions:n,options:{}}},useAnimation:function(t,n=null){return{type:a.AnimateRef,animation:t,options:n}}}),t("AnimationMetadataType",a),function(t){t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger"}(a||t("AnimationMetadataType",a={}));t("AUTO_STYLE","*");function h(t,n=null){return{type:a.Sequence,steps:t,options:n}}class l{static{this.ɵfac=function(t){return new(t||l)}}static{this.ɵprov=e.ɵɵdefineInjectable({token:l,factory:()=>s(u),providedIn:"root"})}}t("AnimationBuilder",l);class c{}t("AnimationFactory",c);class u extends l{constructor(t,n){super(),this.animationModuleType=s(i,{optional:!0}),this._nextAnimationId=0;const e={id:"0",encapsulation:r.None,styles:[],data:{animation:[]}};if(this._renderer=t.createRenderer(n.body,e),null===this.animationModuleType&&!function(t){const n=t.ɵtype;return 0===n||1===n}(this._renderer))throw new o(3600,!1)}build(t){const n=this._nextAnimationId;this._nextAnimationId++;const e=Array.isArray(t)?h(t):t;return y(this._renderer,null,n,"register",[e]),new _(n,this._renderer)}static{this.ɵfac=function(t){return new(t||u)(e.ɵɵinject(e.RendererFactory2),e.ɵɵinject(n))}}static{this.ɵprov=e.ɵɵdefineInjectable({token:u,factory:u.ɵfac,providedIn:"root"})}}t("ɵBrowserAnimationBuilder",u);class _ extends c{constructor(t,n){super(),this._id=t,this._renderer=n}create(t,n){return new d(this._id,t,n||{},this._renderer)}}class d{constructor(t,n,e,s){this.id=t,this.element=n,this._renderer=s,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",e)}_listen(t,n){return this._renderer.listen(this.element,`@@${this.id}:${t}`,n)}_command(t,...n){y(this._renderer,this.element,this.id,t,n)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){return function(t){const n=t.ɵtype;if(0===n)return t;if(1===n)return t.animationRenderer;return null}(this._renderer)?.engine?.players[this.id]?.getPosition()??0}}function y(t,n,e,s,i){t.setProperty(n,`@@${e}:${s}`,i)}t("NoopAnimationPlayer",class{constructor(t=0,n=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((t=>t())),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask((()=>this._onFinish()))}_onStart(){this._onStartFns.forEach((t=>t())),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((t=>t())),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const n="start"==t?this._onStartFns:this._onDoneFns;n.forEach((t=>t())),n.length=0}});t("ɵAnimationGroupPlayer",class{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let n=0,e=0,s=0;const i=this.players.length;0==i?queueMicrotask((()=>this._onFinish())):this.players.forEach((t=>{t.onDone((()=>{++n==i&&this._onFinish()})),t.onDestroy((()=>{++e==i&&this._onDestroy()})),t.onStart((()=>{++s==i&&this._onStart()}))})),this.totalTime=this.players.reduce(((t,n)=>Math.max(t,n.totalTime)),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((t=>t())),this._onDoneFns=[])}init(){this.players.forEach((t=>t.init()))}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((t=>t())),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((t=>t.play()))}pause(){this.players.forEach((t=>t.pause()))}restart(){this.players.forEach((t=>t.restart()))}finish(){this._onFinish(),this.players.forEach((t=>t.finish()))}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((t=>t.destroy())),this._onDestroyFns.forEach((t=>t())),this._onDestroyFns=[])}reset(){this.players.forEach((t=>t.reset())),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const n=t*this.totalTime;this.players.forEach((t=>{const e=t.totalTime?Math.min(1,n/t.totalTime):1;t.setPosition(e)}))}getPosition(){const t=this.players.reduce(((t,n)=>null===t||n.totalTime>t.totalTime?n:t),null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach((t=>{t.beforeDestroy&&t.beforeDestroy()}))}triggerCallback(t){const n="start"==t?this._onStartFns:this._onDoneFns;n.forEach((t=>t())),n.length=0}});t("ɵPRE_STYLE","!")}}}));
//# sourceMappingURL=angular-animations.min.js.map

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/common/http@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/common/http@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(["@angular/core","rxjs","rxjs/operators","@angular/common"],(function(e){"use strict";var t,s,r,n,o,a,i,c,u,d,l,h,p,f,y,m,b,w,g,v,T,C,E,P,x,R,N,S;return{setters:[function(e){t=e,e.Injectable,s=e.inject,r=e.NgZone,n=e.InjectionToken,o=e.ɵPendingTasks,a=e.PLATFORM_ID,e.ɵConsole,e.ɵformatRuntimeError,e.Inject,i=e.runInInjectionContext,c=e.ɵRuntimeError,e.NgModule,u=e.makeEnvironmentProviders,d=e.ɵperformanceMarkFeature,l=e.TransferState,h=e.APP_BOOTSTRAP_LISTENER,p=e.ApplicationRef,f=e.ɵwhenStable,y=e.makeStateKey,e.ɵtruncateMiddle},function(e){m=e.of,b=e.Observable,w=e.from},function(e){g=e.concatMap,v=e.filter,T=e.map,C=e.finalize,E=e.switchMap,P=e.tap},function(e){x=e.isPlatformServer,R=e.DOCUMENT,N=e,S=e.ɵparseCookieValue}],execute:function(){e({provideHttpClient:He,withFetch:function(){return je(ke.Fetch,[ee,{provide:j,useExisting:ee}])},withInterceptors:function(e){return je(ke.Interceptors,e.map((e=>({provide:ae,useValue:e,multi:!0}))))},withInterceptorsFromDi:Ae,withJsonpSupport:Ue,withNoXsrfProtection:Oe,withRequestsMadeViaParent:function(){return je(ke.RequestsMadeViaParent,[{provide:j,useFactory:()=>{const e=s(k,{skipSelf:!0,optional:!0});return e}}])},withXsrfConfiguration:Le,ɵwithHttpTransferCache:function(e){return[{provide:Ke,useFactory:()=>(d("NgHttpTransferCache"),{isCacheActive:!0,...e})},{provide:ie,useValue:$e,multi:!0,deps:[l,Ke]},{provide:h,multi:!0,useFactory:()=>{const e=s(p),t=s(Ke);return()=>{f(e).then((()=>{t.isCacheActive=!1}))}}}]}});class k{}e("HttpHandler",k);class j{}e("HttpBackend",j);class H{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?"string"==typeof e?this.lazyInit=()=>{this.headers=new Map,e.split("\n").forEach((e=>{const t=e.indexOf(":");if(t>0){const s=e.slice(0,t),r=s.toLowerCase(),n=e.slice(t+1).trim();this.maybeSetNormalizedName(s,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}}))}:"undefined"!=typeof Headers&&e instanceof Headers?(this.headers=new Map,e.forEach(((e,t)=>{this.setHeaderEntries(t,e)}))):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach((([e,t])=>{this.setHeaderEntries(e,t)}))}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof H?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((e=>this.applyUpdate(e))),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach((t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))}))}clone(e){const t=new H;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof H?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let s=e.value;if("string"==typeof s&&(s=[s]),0===s.length)return;this.maybeSetNormalizedName(e.name,t);const r=("a"===e.op?this.headers.get(t):void 0)||[];r.push(...s),this.headers.set(t,r);break;case"d":const n=e.value;if(n){let e=this.headers.get(t);if(!e)return;e=e.filter((e=>-1===n.indexOf(e))),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}setHeaderEntries(e,t){const s=(Array.isArray(t)?t:[t]).map((e=>e.toString())),r=e.toLowerCase();this.headers.set(r,s),this.maybeSetNormalizedName(e,r)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach((t=>e(this.normalizedNames.get(t),this.headers.get(t))))}}e("HttpHeaders",H);class I{encodeKey(e){return O(e)}encodeValue(e){return O(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}e("HttpUrlEncodingCodec",I);const A=/%(\d[a-f0-9])/gi,L={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function O(e){return encodeURIComponent(e).replace(A,((e,t)=>L[t]??e))}function U(e){return`${e}`}class F{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new I,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const s=new Map;e.length>0&&e.replace(/^\?/,"").split("&").forEach((e=>{const r=e.indexOf("="),[n,o]=-1==r?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,r)),t.decodeValue(e.slice(r+1))],a=s.get(n)||[];a.push(o),s.set(n,a)}));return s}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach((t=>{const s=e.fromObject[t],r=Array.isArray(s)?s.map(U):[U(s)];this.map.set(t,r)}))):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){const t=[];return Object.keys(e).forEach((s=>{const r=e[s];Array.isArray(r)?r.forEach((e=>{t.push({param:s,value:e,op:"a"})})):t.push({param:s,value:r,op:"a"})})),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map((e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map((e=>t+"="+this.encoder.encodeValue(e))).join("&")})).filter((e=>""!==e)).join("&")}clone(e){const t=new F({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((e=>this.map.set(e,this.cloneFrom.map.get(e)))),this.updates.forEach((e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(U(e.value)),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const s=t.indexOf(U(e.value));-1!==s&&t.splice(s,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}})),this.cloneFrom=this.updates=null)}}e("HttpParams",F);e("HttpContextToken",class{constructor(e){this.defaultValue=e}});class q{constructor(){this.map=new Map}set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}}function M(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function z(e){return"undefined"!=typeof Blob&&e instanceof Blob}function B(e){return"undefined"!=typeof FormData&&e instanceof FormData}e("HttpContext",q);class D{constructor(e,t,s,r){let n;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==s?s:null,n=r):n=s,n&&(this.reportProgress=!!n.reportProgress,this.withCredentials=!!n.withCredentials,n.responseType&&(this.responseType=n.responseType),n.headers&&(this.headers=n.headers),n.context&&(this.context=n.context),n.params&&(this.params=n.params),this.transferCache=n.transferCache),this.headers??=new H,this.context??=new q,this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const s=t.indexOf("?"),r=-1===s?"?":s<t.length-1?"&":"";this.urlWithParams=t+r+e}}else this.params=new F,this.urlWithParams=t}serializeBody(){return null===this.body?null:"string"==typeof this.body||M(this.body)||z(this.body)||B(this.body)||(e=this.body,"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams)?this.body:this.body instanceof F?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString();var e}detectContentTypeHeader(){return null===this.body||B(this.body)?null:z(this.body)?this.body.type||null:M(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof F?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(e={}){const t=e.method||this.method,s=e.url||this.url,r=e.responseType||this.responseType,n=e.transferCache??this.transferCache,o=void 0!==e.body?e.body:this.body,a=e.withCredentials??this.withCredentials,i=e.reportProgress??this.reportProgress;let c=e.headers||this.headers,u=e.params||this.params;const d=e.context??this.context;return void 0!==e.setHeaders&&(c=Object.keys(e.setHeaders).reduce(((t,s)=>t.set(s,e.setHeaders[s])),c)),e.setParams&&(u=Object.keys(e.setParams).reduce(((t,s)=>t.set(s,e.setParams[s])),u)),new D(t,s,o,{params:u,headers:c,context:d,reportProgress:i,responseType:r,withCredentials:a,transferCache:n})}}var J;e("HttpRequest",D),e("HttpEventType",J),function(e){e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User"}(J||e("HttpEventType",J={}));class V{constructor(e,t=200,s="OK"){this.headers=e.headers||new H,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||s,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}e("HttpResponseBase",V);class _ extends V{constructor(e={}){super(e),this.type=J.ResponseHeader}clone(e={}){return new _({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}e("HttpHeaderResponse",_);class X extends V{constructor(e={}){super(e),this.type=J.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new X({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}e("HttpResponse",X);class K extends V{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}e("HttpErrorResponse",K);var W;function $(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}e("HttpStatusCode",W),function(e){e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired"}(W||e("HttpStatusCode",W={}));class G{constructor(e){this.handler=e}request(e,t,s={}){let r;if(e instanceof D)r=e;else{let n,o;n=s.headers instanceof H?s.headers:new H(s.headers),s.params&&(o=s.params instanceof F?s.params:new F({fromObject:s.params})),r=new D(e,t,void 0!==s.body?s.body:null,{headers:n,context:s.context,params:o,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials,transferCache:s.transferCache})}const n=m(r).pipe(g((e=>this.handler.handle(e))));if(e instanceof D||"events"===s.observe)return n;const o=n.pipe(v((e=>e instanceof X)));switch(s.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return o.pipe(T((e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body})));case"blob":return o.pipe(T((e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body})));case"text":return o.pipe(T((e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body})));default:return o.pipe(T((e=>e.body)))}case"response":return o;default:throw new Error(`Unreachable: unhandled observe type ${s.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new F).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,s={}){return this.request("PATCH",e,$(s,t))}post(e,t,s={}){return this.request("POST",e,$(s,t))}put(e,t,s={}){return this.request("PUT",e,$(s,t))}static{this.ɵfac=function(e){return new(e||G)(t.ɵɵinject(k))}}static{this.ɵprov=t.ɵɵdefineInjectable({token:G,factory:G.ɵfac})}}e("HttpClient",G);const Z=/^\)\]\}',?\n/,Q="X-Request-URL";function Y(e){if(e.url)return e.url;const t=Q.toLocaleLowerCase();return e.headers.get(t)}class ee{constructor(){this.fetchImpl=s(te,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e)),this.ngZone=s(r)}handle(e){return new b((t=>{const s=new AbortController;return this.doRequest(e,s.signal,t).then(se,(e=>t.error(new K({error:e})))),()=>s.abort()}))}async doRequest(e,t,s){const r=this.createRequestInit(e);let n;try{const o=this.ngZone.runOutsideAngular((()=>this.fetchImpl(e.urlWithParams,{signal:t,...r})));o.then(se,se),s.next({type:J.Sent}),n=await o}catch(t){return void s.error(new K({error:t,status:t.status??0,statusText:t.statusText,url:e.urlWithParams,headers:t.headers}))}const o=new H(n.headers),a=n.statusText,i=Y(n)??e.urlWithParams;let c=n.status,u=null;if(e.reportProgress&&s.next(new _({headers:o,status:c,statusText:a,url:i})),n.body){const t=n.headers.get("content-length"),r=[],o=n.body.getReader();let a,i,c=0;const d="undefined"!=typeof Zone&&Zone.current;await this.ngZone.runOutsideAngular((async()=>{for(;;){const{done:n,value:u}=await o.read();if(n)break;if(r.push(u),c+=u.length,e.reportProgress){i="text"===e.responseType?(i??"")+(a??=new TextDecoder).decode(u,{stream:!0}):void 0;const r=()=>s.next({type:J.DownloadProgress,total:t?+t:void 0,loaded:c,partialText:i});d?d.run(r):r()}}}));const l=this.concatChunks(r,c);try{const t=n.headers.get("Content-Type")??"";u=this.parseBody(e,l,t)}catch(t){return void s.error(new K({error:t,headers:new H(n.headers),status:n.status,statusText:n.statusText,url:Y(n)??e.urlWithParams}))}}0===c&&(c=u?200:0);c>=200&&c<300?(s.next(new X({body:u,headers:o,status:c,statusText:a,url:i})),s.complete()):s.error(new K({error:u,headers:o,status:c,statusText:a,url:i}))}parseBody(e,t,s){switch(e.responseType){case"json":const e=(new TextDecoder).decode(t).replace(Z,"");return""===e?null:JSON.parse(e);case"text":return(new TextDecoder).decode(t);case"blob":return new Blob([t],{type:s});case"arraybuffer":return t.buffer}}createRequestInit(e){const t={},s=e.withCredentials?"include":void 0;if(e.headers.forEach(((e,s)=>t[e]=s.join(","))),e.headers.has("Accept")||(t.Accept="application/json, text/plain, */*"),!e.headers.has("Content-Type")){const s=e.detectContentTypeHeader();null!==s&&(t["Content-Type"]=s)}return{body:e.serializeBody(),method:e.method,headers:t,credentials:s}}concatChunks(e,t){const s=new Uint8Array(t);let r=0;for(const t of e)s.set(t,r),r+=t.length;return s}static{this.ɵfac=function(e){return new(e||ee)}}static{this.ɵprov=t.ɵɵdefineInjectable({token:ee,factory:ee.ɵfac})}}e("FetchBackend",ee);class te{}function se(){}function re(e,t){return t(e)}function ne(e,t){return(s,r)=>t.intercept(s,{handle:t=>e(t,r)})}const oe=e("HTTP_INTERCEPTORS",new n("")),ae=new n(""),ie=e("ɵHTTP_ROOT_INTERCEPTOR_FNS",new n("")),ce=e("ɵREQUESTS_CONTRIBUTE_TO_STABILITY",new n("",{providedIn:"root",factory:()=>!0}));function ue(){let e=null;return(t,r)=>{if(null===e){const t=s(oe,{optional:!0})??[];e=t.reduceRight(ne,re)}const n=s(o);if(s(ce)){const s=n.add();return e(t,r).pipe(C((()=>n.remove(s))))}return e(t,r)}}class de extends k{constructor(e,t){super(),this.backend=e,this.injector=t,this.chain=null,this.pendingTasks=s(o),this.contributeToStability=s(ce)}handle(e){if(null===this.chain){const e=Array.from(new Set([...this.injector.get(ae),...this.injector.get(ie,[])]));this.chain=e.reduceRight(((e,t)=>function(e,t,s){return(r,n)=>i(s,(()=>t(r,(t=>e(t,n)))))}(e,t,this.injector)),re)}if(this.contributeToStability){const t=this.pendingTasks.add();return this.chain(e,(e=>this.backend.handle(e))).pipe(C((()=>this.pendingTasks.remove(t))))}return this.chain(e,(e=>this.backend.handle(e)))}static{this.ɵfac=function(e){return new(e||de)(t.ɵɵinject(j),t.ɵɵinject(t.EnvironmentInjector))}}static{this.ɵprov=t.ɵɵdefineInjectable({token:de,factory:de.ɵfac})}}e({ɵHttpInterceptingHandler:de,ɵHttpInterceptorHandler:de});let le,he=0;class pe{}function fe(){return"object"==typeof window?window:{}}class ye{constructor(e,t){this.callbackMap=e,this.document=t,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+he++}handle(e){if("JSONP"!==e.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==e.responseType)throw new Error("JSONP requests must use Json response type.");if(e.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new b((t=>{const s=this.nextCallback(),r=e.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${s}$1`),n=this.document.createElement("script");n.src=r;let o=null,a=!1;this.callbackMap[s]=e=>{delete this.callbackMap[s],o=e,a=!0};const i=()=>{n.removeEventListener("load",c),n.removeEventListener("error",u),n.remove(),delete this.callbackMap[s]},c=e=>{this.resolvedPromise.then((()=>{i(),a?(t.next(new X({body:o,status:200,statusText:"OK",url:r})),t.complete()):t.error(new K({url:r,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))}))},u=e=>{i(),t.error(new K({error:e,status:0,statusText:"JSONP Error",url:r}))};return n.addEventListener("load",c),n.addEventListener("error",u),this.document.body.appendChild(n),t.next({type:J.Sent}),()=>{a||this.removeListeners(n),i()}}))}removeListeners(e){le??=this.document.implementation.createHTMLDocument(),le.adoptNode(e)}static{this.ɵfac=function(e){return new(e||ye)(t.ɵɵinject(pe),t.ɵɵinject(R))}}static{this.ɵprov=t.ɵɵdefineInjectable({token:ye,factory:ye.ɵfac})}}function me(e,t){return"JSONP"===e.method?s(ye).handle(e):t(e)}e("JsonpClientBackend",ye);class be{constructor(e){this.injector=e}intercept(e,t){return i(this.injector,(()=>me(e,(e=>t.handle(e)))))}static{this.ɵfac=function(e){return new(e||be)(t.ɵɵinject(t.EnvironmentInjector))}}static{this.ɵprov=t.ɵɵdefineInjectable({token:be,factory:be.ɵfac})}}e("JsonpInterceptor",be);const we=/^\)\]\}',?\n/;class ge{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new c(-2800,!1);const t=this.xhrFactory;return(t.ɵloadImpl?w(t.ɵloadImpl()):m(null)).pipe(E((()=>new b((s=>{const r=t.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach(((e,t)=>r.setRequestHeader(e,t.join(",")))),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&r.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();r.responseType="json"!==t?t:"text"}const n=e.serializeBody();let o=null;const a=()=>{if(null!==o)return o;const t=r.statusText||"OK",s=new H(r.getAllResponseHeaders()),n=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(r)||e.url;return o=new _({headers:s,status:r.status,statusText:t,url:n}),o},i=()=>{let{headers:t,status:n,statusText:o,url:i}=a(),c=null;204!==n&&(c=void 0===r.response?r.responseText:r.response),0===n&&(n=c?200:0);let u=n>=200&&n<300;if("json"===e.responseType&&"string"==typeof c){const e=c;c=c.replace(we,"");try{c=""!==c?JSON.parse(c):null}catch(t){c=e,u&&(u=!1,c={error:t,text:c})}}u?(s.next(new X({body:c,headers:t,status:n,statusText:o,url:i||void 0})),s.complete()):s.error(new K({error:c,headers:t,status:n,statusText:o,url:i||void 0}))},c=e=>{const{url:t}=a(),n=new K({error:e,status:r.status||0,statusText:r.statusText||"Unknown Error",url:t||void 0});s.error(n)};let u=!1;const d=t=>{u||(s.next(a()),u=!0);let n={type:J.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),"text"===e.responseType&&r.responseText&&(n.partialText=r.responseText),s.next(n)},l=e=>{let t={type:J.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),s.next(t)};return r.addEventListener("load",i),r.addEventListener("error",c),r.addEventListener("timeout",c),r.addEventListener("abort",c),e.reportProgress&&(r.addEventListener("progress",d),null!==n&&r.upload&&r.upload.addEventListener("progress",l)),r.send(n),s.next({type:J.Sent}),()=>{r.removeEventListener("error",c),r.removeEventListener("abort",c),r.removeEventListener("load",i),r.removeEventListener("timeout",c),e.reportProgress&&(r.removeEventListener("progress",d),null!==n&&r.upload&&r.upload.removeEventListener("progress",l)),r.readyState!==r.DONE&&r.abort()}})))))}static{this.ɵfac=function(e){return new(e||ge)(t.ɵɵinject(N.XhrFactory))}}static{this.ɵprov=t.ɵɵdefineInjectable({token:ge,factory:ge.ɵfac})}}e("HttpXhrBackend",ge);const ve=new n(""),Te="XSRF-TOKEN",Ce=new n("",{providedIn:"root",factory:()=>Te}),Ee="X-XSRF-TOKEN",Pe=new n("",{providedIn:"root",factory:()=>Ee});class xe{}e("HttpXsrfTokenExtractor",xe);class Re{constructor(e,t,s){this.doc=e,this.platform=t,this.cookieName=s,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=S(e,this.cookieName),this.lastCookieString=e),this.lastToken}static{this.ɵfac=function(e){return new(e||Re)(t.ɵɵinject(R),t.ɵɵinject(a),t.ɵɵinject(Ce))}}static{this.ɵprov=t.ɵɵdefineInjectable({token:Re,factory:Re.ɵfac})}}function Ne(e,t){const r=e.url.toLowerCase();if(!s(ve)||"GET"===e.method||"HEAD"===e.method||r.startsWith("http://")||r.startsWith("https://"))return t(e);const n=s(xe).getToken(),o=s(Pe);return null==n||e.headers.has(o)||(e=e.clone({headers:e.headers.set(o,n)})),t(e)}class Se{constructor(e){this.injector=e}intercept(e,t){return i(this.injector,(()=>Ne(e,(e=>t.handle(e)))))}static{this.ɵfac=function(e){return new(e||Se)(t.ɵɵinject(t.EnvironmentInjector))}}static{this.ɵprov=t.ɵɵdefineInjectable({token:Se,factory:Se.ɵfac})}}var ke;function je(e,t){return{ɵkind:e,ɵproviders:t}}function He(...e){const t=[G,ge,de,{provide:k,useExisting:de},{provide:j,useFactory:()=>s(ee,{optional:!0})??s(ge)},{provide:ae,useValue:Ne,multi:!0},{provide:ve,useValue:!0},{provide:xe,useClass:Re}];for(const s of e)t.push(...s.ɵproviders);return u(t)}e("HttpFeatureKind",ke),function(e){e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch"}(ke||e("HttpFeatureKind",ke={}));const Ie=new n("");function Ae(){return je(ke.LegacyInterceptors,[{provide:Ie,useFactory:ue},{provide:ae,useExisting:Ie,multi:!0}])}function Le({cookieName:e,headerName:t}){const s=[];return void 0!==e&&s.push({provide:Ce,useValue:e}),void 0!==t&&s.push({provide:Pe,useValue:t}),je(ke.CustomXsrfConfiguration,s)}function Oe(){return je(ke.NoXsrfProtection,[{provide:ve,useValue:!1}])}function Ue(){return je(ke.JsonpSupport,[ye,{provide:pe,useFactory:fe},{provide:ae,useValue:me,multi:!0}])}class Fe{static disable(){return{ngModule:Fe,providers:[Oe().ɵproviders]}}static withOptions(e={}){return{ngModule:Fe,providers:Le(e).ɵproviders}}static{this.ɵfac=function(e){return new(e||Fe)}}static{this.ɵmod=t.ɵɵdefineNgModule({type:Fe})}static{this.ɵinj=t.ɵɵdefineInjector({providers:[Se,{provide:oe,useExisting:Se,multi:!0},{provide:xe,useClass:Re},Le({cookieName:Te,headerName:Ee}).ɵproviders,{provide:ve,useValue:!0}]})}}e("HttpClientXsrfModule",Fe);class qe{static{this.ɵfac=function(e){return new(e||qe)}}static{this.ɵmod=t.ɵɵdefineNgModule({type:qe})}static{this.ɵinj=t.ɵɵdefineInjector({providers:[He(Ae())]})}}e("HttpClientModule",qe);class Me{static{this.ɵfac=function(e){return new(e||Me)}}static{this.ɵmod=t.ɵɵdefineNgModule({type:Me})}static{this.ɵinj=t.ɵɵdefineInjector({providers:[Ue().ɵproviders]})}}e("HttpClientJsonpModule",Me);const ze=e("HTTP_TRANSFER_CACHE_ORIGIN_MAP",new n("")),Be="b",De="h",Je="s",Ve="st",_e="u",Xe="rt",Ke=new n(""),We=["GET","HEAD"];function $e(e,t){const{isCacheActive:r,...n}=s(Ke),{transferCache:o,method:i}=e;if(!r||!1===o||"POST"===i&&!n.includePostRequests&&!o||"POST"!==i&&!We.includes(i)||!n.includeRequestsWithAuthHeaders&&function(e){return e.headers.has("authorization")||e.headers.has("proxy-authorization")}(e)||!1===n.filter?.(e))return t(e);const u=s(l),d=s(ze,{optional:!0}),h=x(s(a));if(d&&!h)throw new c(2803,!1);const p=h&&d?function(e,t){const s=new URL(e,"resolve://").origin,r=t[s];if(!r)return e;0;return e.replace(s,r)}(e.url,d):e.url,f=function(e,t){const{params:s,method:r,responseType:n}=e,o=Ze(s);let a=e.serializeBody();a instanceof URLSearchParams?a=Ze(a):"string"!=typeof a&&(a="");const i=function(e){let t=0;for(const s of e)t=Math.imul(31,t)+s.charCodeAt(0)|0;return t+=2147483648,t.toString()}([r,n,t,a,o].join("|"));return y(i)}(e,p),b=u.get(f,null);let w=n.includeHeaders;if("object"==typeof o&&o.includeHeaders&&(w=o.includeHeaders),b){const{[Be]:e,[Xe]:t,[De]:s,[Je]:r,[Ve]:n,[_e]:o}=b;let a=e;switch(t){case"arraybuffer":a=(new TextEncoder).encode(e).buffer;break;case"blob":a=new Blob([e])}let i=new H(s);return m(new X({body:a,headers:i,status:r,statusText:n,url:o}))}return t(e).pipe(P((t=>{t instanceof X&&h&&u.set(f,{[Be]:t.body,[De]:Ge(t.headers,w),[Je]:t.status,[Ve]:t.statusText,[_e]:p,[Xe]:e.responseType})})))}function Ge(e,t){if(!t)return{};const s={};for(const r of t){const t=e.getAll(r);null!==t&&(s[r]=t)}return s}function Ze(e){return[...e.keys()].sort().map((t=>`${t}=${e.getAll(t)}`)).join("&")}}}}));
//# sourceMappingURL=angular-common-http.min.js.map

@@ -1,2 +0,2 @@

/* esm-bundle - @angular/common/upgrade@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/common/upgrade@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(['@angular/core', 'rxjs', '@angular/common', '@angular/upgrade/static'], (function (exports) {

@@ -29,3 +29,3 @@ 'use strict';

/**
* @license Angular v18.2.10
* @license Angular v18.2.11
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -32,0 +32,0 @@ * License: MIT

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/common/upgrade@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/common/upgrade@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(["@angular/core","rxjs","@angular/common","@angular/upgrade/static"],(function(t){"use strict";var e,r,s,i,a,h,o,n,c,l,$,p,u,d;return{setters:[function(t){e=t.InjectionToken,r=t.Inject,s=t.Optional,i=t,t.NgModule,a=t.ɵisPromise},function(t){h=t.ReplaySubject},function(t){o=t.Location,n=t.PlatformLocation,c=t.LocationStrategy,l=t.APP_BASE_HREF,$=t.CommonModule,p=t.HashLocationStrategy,u=t.PathLocationStrategy},function(t){d=t.UpgradeModule}],execute:function(){const g=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,f=/^\s*[\\/]{2,}/,S=/^\s*(javascript|mailto):/i,U={"http:":80,"https:":443,"ftp:":21};class w{constructor(t,e,r,s,i){this.location=e,this.platformLocation=r,this.urlCodec=s,this.locationStrategy=i,this.initializing=!0,this.updateBrowser=!1,this.$$absUrl="",this.$$url="",this.$$host="",this.$$replace=!1,this.$$path="",this.$$search="",this.$$hash="",this.$$changeListeners=[],this.cachedState=null,this.urlChanges=new h(1),this.lastBrowserUrl="",this.lastCachedState=null;const o=this.browserUrl();let n=this.urlCodec.parse(o);if("string"==typeof n)throw"Invalid URL";this.$$protocol=n.protocol,this.$$host=n.hostname,this.$$port=parseInt(n.port)||U[n.protocol]||null,this.$$parseLinkUrl(o,o),this.cacheState(),this.$$state=this.browserState(),this.location.onUrlChange(((t,e)=>{this.urlChanges.next({newUrl:t,newState:e})})),a(t)?t.then((t=>this.initialize(t))):this.initialize(t)}initialize(t){const e=t.get("$rootScope"),r=t.get("$rootElement");r.on("click",(t=>{if(t.ctrlKey||t.metaKey||t.shiftKey||2===t.which||2===t.button)return;let s=t.target;for(;s&&"a"!==s.nodeName.toLowerCase();)if(s===r[0]||!(s=s.parentNode))return;if(void 0===s.href)return;const i=s.href,a=s.getAttribute("href");S.test(i)||!i||s.getAttribute("target")||t.isDefaultPrevented()||this.$$parseLinkUrl(i,a)&&(t.preventDefault(),this.absUrl()!==this.browserUrl()&&e.$apply())})),this.urlChanges.subscribe((({newUrl:t,newState:r})=>{const s=this.absUrl(),i=this.$$state;this.$$parse(t),t=this.absUrl(),this.$$state=r;const a=e.$broadcast("$locationChangeStart",t,s,r,i).defaultPrevented;this.absUrl()===t&&(a?(this.$$parse(s),this.state(i),this.setBrowserUrlWithFallback(s,!1,i),this.$$notifyChangeListeners(this.url(),this.$$state,s,i)):(this.initializing=!1,e.$broadcast("$locationChangeSuccess",t,s,r,i),this.resetBrowserUpdate()),e.$$phase||e.$digest())})),e.$watch((()=>{if(this.initializing||this.updateBrowser){this.updateBrowser=!1;const t=this.browserUrl(),r=this.absUrl(),s=this.browserState();let i=this.$$replace;const a=!this.urlCodec.areEqual(t,r)||s!==this.$$state;(this.initializing||a)&&(this.initializing=!1,e.$evalAsync((()=>{const r=this.absUrl(),h=e.$broadcast("$locationChangeStart",r,t,this.$$state,s).defaultPrevented;this.absUrl()===r&&(h?(this.$$parse(t),this.$$state=s):(a&&(this.setBrowserUrlWithFallback(r,i,s===this.$$state?null:this.$$state),this.$$replace=!1),e.$broadcast("$locationChangeSuccess",r,t,this.$$state,s),a&&this.$$notifyChangeListeners(this.url(),this.$$state,t,s)))})))}this.$$replace=!1}))}resetBrowserUpdate(){this.$$replace=!1,this.$$state=this.browserState(),this.updateBrowser=!1,this.lastBrowserUrl=this.browserUrl()}browserUrl(t,e,r){if(void 0===r&&(r=null),t){let s=this.lastHistoryState===r;return t=this.urlCodec.parse(t).href,this.lastBrowserUrl===t&&s?this:(this.lastBrowserUrl=t,this.lastHistoryState=r,t=this.stripBaseUrl(this.getServerBase(),t)||t,e?this.locationStrategy.replaceState(r,"",t,""):this.locationStrategy.pushState(r,"",t,""),this.cacheState(),this)}return this.platformLocation.href}cacheState(){this.cachedState=this.platformLocation.getState(),void 0===this.cachedState&&(this.cachedState=null),function(t,e){if(t===e)return!0;if(!t||!e)return!1;try{return!(t.prototype!==e.prototype||Array.isArray(t)&&Array.isArray(e))&&JSON.stringify(t)===JSON.stringify(e)}catch(t){return!1}}(this.cachedState,this.lastCachedState)&&(this.cachedState=this.lastCachedState),this.lastCachedState=this.cachedState,this.lastHistoryState=this.cachedState}browserState(){return this.cachedState}stripBaseUrl(t,e){if(e.startsWith(t))return e.slice(t.length)}getServerBase(){const{protocol:t,hostname:e,port:r}=this.platformLocation;let s=`${t}//${e}${r?":"+r:""}${this.locationStrategy.getBaseHref()||"/"}`;return s.endsWith("/")?s:s+"/"}parseAppUrl(t){if(f.test(t))throw new Error(`Bad Path - URL cannot start with double slashes: ${t}`);let e="/"!==t.charAt(0);e&&(t="/"+t);let r=this.urlCodec.parse(t,this.getServerBase());if("string"==typeof r)throw new Error(`Bad URL - Cannot parse URL: ${t}`);let s=e&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname;this.$$path=this.urlCodec.decodePath(s),this.$$search=this.urlCodec.decodeSearch(r.search),this.$$hash=this.urlCodec.decodeHash(r.hash),this.$$path&&"/"!==this.$$path.charAt(0)&&(this.$$path="/"+this.$$path)}onChange(t,e=t=>{}){this.$$changeListeners.push([t,e])}$$notifyChangeListeners(t="",e,r="",s){this.$$changeListeners.forEach((([i,a])=>{try{i(t,e,r,s)}catch(t){a(t)}}))}$$parse(t){let e;if(e=t.startsWith("/")?t:this.stripBaseUrl(this.getServerBase(),t),void 0===e)throw new Error(`Invalid url "${t}", missing path prefix "${this.getServerBase()}".`);this.parseAppUrl(e),this.$$path||="/",this.composeUrls()}$$parseLinkUrl(t,e){if(e&&"#"===e[0])return this.hash(e.slice(1)),!0;let r,s=this.stripBaseUrl(this.getServerBase(),t);return void 0!==s?r=this.getServerBase()+s:this.getServerBase()===t+"/"&&(r=this.getServerBase()),r&&this.$$parse(r),!!r}setBrowserUrlWithFallback(t,e,r){const s=this.url(),i=this.$$state;try{this.browserUrl(t,e,r),this.$$state=this.browserState()}catch(t){throw this.url(s),this.$$state=i,t}}composeUrls(){this.$$url=this.urlCodec.normalize(this.$$path,this.$$search,this.$$hash),this.$$absUrl=this.getServerBase()+this.$$url.slice(1),this.updateBrowser=!0}absUrl(){return this.$$absUrl}url(t){if("string"==typeof t){t.length||(t="/");const e=g.exec(t);return e?((e[1]||""===t)&&this.path(this.urlCodec.decodePath(e[1])),(e[2]||e[1]||""===t)&&this.search(e[3]||""),this.hash(e[5]||""),this):this}return this.$$url}protocol(){return this.$$protocol}host(){return this.$$host}port(){return this.$$port}path(t){return void 0===t?this.$$path:(t="/"===(t=null!==t?t.toString():"").charAt(0)?t:"/"+t,this.$$path=t,this.composeUrls(),this)}search(t,e){switch(arguments.length){case 0:return this.$$search;case 1:if("string"==typeof t||"number"==typeof t)this.$$search=this.urlCodec.decodeSearch(t.toString());else{if("object"!=typeof t||null===t)throw new Error("LocationProvider.search(): First argument must be a string or an object.");t={...t};for(const e in t)null==t[e]&&delete t[e];this.$$search=t}break;default:if("string"==typeof t){const r=this.search();return null==e?(delete r[t],this.search(r)):(r[t]=e,this.search(r))}}return this.composeUrls(),this}hash(t){return void 0===t?this.$$hash:(this.$$hash=null!==t?t.toString():"",this.composeUrls(),this)}replace(){return this.$$replace=!0,this}state(t){return void 0===t?this.$$state:(this.$$state=t,this)}}t("$locationShim",w);class m{constructor(t,e,r,s,i){this.ngUpgrade=t,this.location=e,this.platformLocation=r,this.urlCodec=s,this.locationStrategy=i}$get(){return new w(this.ngUpgrade.$injector,this.location,this.platformLocation,this.urlCodec,this.locationStrategy)}hashPrefix(t){throw new Error("Configure LocationUpgrade through LocationUpgradeModule.config method.")}html5Mode(t){throw new Error("Configure LocationUpgrade through LocationUpgradeModule.config method.")}}t("$locationShimProvider",m);class y{}t("UrlCodec",y);class b{encodePath(t){const e=t.split("/");let r=e.length;for(;r--;)e[r]=B(e[r].replace(/%2F/g,"/"));return t=e.join("/"),((t&&"/"!==t[0]?"/":"")+t).replace(/\/index.html$/,"")}encodeSearch(t){return"string"==typeof t&&(t=v(t)),(t=function(t){const e=[];for(const r in t){let s=t[r];Array.isArray(s)?s.forEach((t=>{e.push(L(r,!0)+(!0===t?"":"="+L(t,!0)))})):e.push(L(r,!0)+(!0===s?"":"="+L(s,!0)))}return e.length?e.join("&"):""}(t))?"?"+t:""}encodeHash(t){return(t=B(t))?"#"+t:""}decodePath(t,e=!0){const r=t.split("/");let s=r.length;for(;s--;)r[s]=decodeURIComponent(r[s]),e&&(r[s]=r[s].replace(/\//g,"%2F"));return r.join("/")}decodeSearch(t){return v(t)}decodeHash(t){return"#"===(t=decodeURIComponent(t))[0]?t.substring(1):t}normalize(t,e,r,s){if(1===arguments.length){const e=this.parse(t,s);if("string"==typeof e)return e;const r=`${e.protocol}://${e.hostname}${e.port?":"+e.port:""}`;return this.normalize(this.decodePath(e.pathname),this.decodeSearch(e.search),this.decodeHash(e.hash),r)}{const i=this.encodePath(t),a=e&&this.encodeSearch(e)||"",h=r&&this.encodeHash(r)||"";let o=(s||"")+i;return o.length&&"/"===o[0]||(o="/"+o),o+a+h}}areEqual(t,e){return this.normalize(t)===this.normalize(e)}parse(t,e){try{const r=e?new URL(t,e):new URL(t);return{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}catch(r){throw new Error(`Invalid URL (${t}) with base (${e})`)}}}function C(t){try{return decodeURIComponent(t)}catch(t){return}}function v(t){const e={};return(t||"").split("&").forEach((t=>{let r,s,i;t&&(s=t=t.replace(/\+/g,"%20"),r=t.indexOf("="),-1!==r&&(s=t.substring(0,r),i=t.substring(r+1)),s=C(s),void 0!==s&&(i=void 0===i||C(i),e.hasOwnProperty(s)?Array.isArray(e[s])?e[s].push(i):e[s]=[e[s],i]:e[s]=i))})),e}function B(t){return L(t,!0).replace(/%26/g,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function L(t,e=!1){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,e?"%20":"+")}t("AngularJSUrlCodec",b);const A=t("LOCATION_UPGRADE_CONFIGURATION",new e("")),P=new e("");class E{static config(t){return{ngModule:E,providers:[o,{provide:w,useFactory:j,deps:[d,o,n,y,c]},{provide:A,useValue:t||{}},{provide:y,useFactory:H,deps:[A]},{provide:P,useFactory:R,deps:[A,[new r(l),new s]]},{provide:c,useFactory:I,deps:[n,P,A]}]}}static{this.ɵfac=function(t){return new(t||E)}}static{this.ɵmod=i.ɵɵdefineNgModule({type:E})}static{this.ɵinj=i.ɵɵdefineInjector({imports:[$]})}}function R(t,e){return t&&null!=t.appBaseHref?t.appBaseHref:null!=e?e:""}function H(t){return new(t&&t.urlCodec||b)}function I(t,e,r={}){return r.useHash?new p(t,e):new u(t,e)}function j(t,e,r,s,i){return new m(t,e,r,s,i).$get()}t("LocationUpgradeModule",E)}}}));
//# sourceMappingURL=angular-common-upgrade.min.js.map

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/core/primitives/event-dispatch@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/core/primitives/event-dispatch@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register([],(function(e){"use strict";return{execute:function(){e({bootstrapAppScopedEarlyEventContract:function(e,t,n,o,i=window){const r=function(e){const t=[],n=e=>{t.push(e)},o=t=>{n(W(t.type,t,t.target,e,Date.now()))};return{c:e,q:t,et:[],etc:[],d:n,h:o}}(e);i._ejsas||(i._ejsas={});i._ejsas[t]=r,ee(r,n),ee(r,o,!0)},clearAppScopedEarlyEventContract:function(e,t=window){if(!t._ejsas)return;t._ejsas[e]=void 0},getActionCache:function(e){const t=i(e)??{};return r(e,t),t},getAppScopedQueuedEventInfos:function(e,t=window){return n=t._ejsas?.[e],n?.q??[];var n},registerAppScopedDispatcher:function(e,t,n,o=window){!function(e,t){if(!e)return;e.d=t}(o._ejsas?.[t],n)},registerDispatcher:function(e,t){e.ecrd((e=>{t.dispatch(e)}),B.I_AM_THE_JSACTION_FRAMEWORK)},removeAllAppScopedEventListeners:function(e,t=window){te(t._ejsas?.[e])}});const t=e("Attribute",{JSACTION:"jsaction"}),n={JSACTION:"__jsaction",OWNER:"__owner"},o={};function i(e){return e[n.JSACTION]}function r(e,t){e[n.JSACTION]=t}const s="click",a="clickmod",c="mouseover",p="mouseout",u="mouseenter",l="mouseleave",h="pointerover",v="pointerout",d="pointerenter",f="pointerleave",E=[u,l,"pointerenter","pointerleave"],y=[s,"dblclick","focusin","focusout","keydown","keyup","keypress",c,p,"submit","touchstart","touchend","touchmove","touchcancel","auxclick","change","compositionstart","compositionupdate","compositionend","beforeinput","input","select","copy","cut","paste","mousedown","mouseup","wheel","contextmenu","dragover","dragenter","dragleave","drop","dragstart","dragend","pointerdown","pointermove","pointerup","pointercancel","pointerover","pointerout","gotpointercapture","lostpointercapture","ended","loadedmetadata","pagehide","pageshow","visibilitychange","beforematch"],g=["focus","blur","error","load","toggle"],m=e("isCaptureEventType",(e=>g.indexOf(e)>=0)),I=y.concat(g);e("isEarlyEventType",(e=>I.indexOf(e)>=0));let T="undefined"!=typeof navigator&&/Macintosh/.test(navigator.userAgent);const A="undefined"!=typeof navigator&&/iPhone|iPad|iPod/.test(navigator.userAgent);e("EventContractContainer",class{constructor(e){this.element=e,this.handlerInfos=[]}addEventListener(e,t){A&&(this.element.style.cursor="pointer"),this.handlerInfos.push(function(e,t,n){let o=!1;return m(t)&&(o=!0),e.addEventListener(t,n,o),{eventType:t,handler:n,capture:o}}(this.element,e,t(this.element)))}cleanUp(){for(let n=0;n<this.handlerInfos.length;n++)e=this.element,t=this.handlerInfos[n],e.removeEventListener?e.removeEventListener(t.eventType,t.handler,t.capture):e.detachEvent&&e.detachEvent(`on${t.eventType}`,t.handler);var e,t;this.handlerInfos=[]}});const S=":";function w(e){return e.eventType}function R(e,t){e.eventType=t}function C(e){return e.event}function k(e,t){e.event=t}function _(e){return e.targetElement}function b(e,t){e.targetElement=t}function O(e){return e.eic}function P(e){return e.eia}function M(e,t,n){e.eia=[t,n]}function D(e){e.eia=void 0}function N(e){return e[1]}function j(e,t){e.eirp=t}function x(e){return e.eir}function L(e,t){e.eir=t}function F(e){return{eventType:e.eventType,event:e.event,targetElement:e.targetElement,eic:e.eic,eia:e.eia,timeStamp:e.timeStamp,eirp:e.eirp,eiack:e.eiack,eir:e.eir}}function W(e,t,n,o,i,r,s,a){return{eventType:e,event:t,targetElement:n,eic:o,timeStamp:i,eia:r,eirp:s,eiack:a}}class q{constructor(e){this.eventInfo=e}getEventType(){return w(this.eventInfo)}setEventType(e){R(this.eventInfo,e)}getEvent(){return C(this.eventInfo)}setEvent(e){k(this.eventInfo,e)}getTargetElement(){return _(this.eventInfo)}setTargetElement(e){b(this.eventInfo,e)}getContainer(){return O(this.eventInfo)}setContainer(e){!function(e,t){e.eic=t}(this.eventInfo,e)}getTimestamp(){return this.eventInfo.timeStamp}setTimestamp(e){!function(e,t){e.timeStamp=t}(this.eventInfo,e)}getAction(){const e=P(this.eventInfo);if(e)return{name:e[0],element:e[1]}}setAction(e){e?M(this.eventInfo,e.name,e.element):D(this.eventInfo)}getIsReplay(){return this.eventInfo.eirp}setIsReplay(e){j(this.eventInfo,e)}getResolved(){return x(this.eventInfo)}setResolved(e){L(this.eventInfo,e)}clone(){return new q(F(this.eventInfo))}}e("EventInfoWrapper",q);const H={},J=/\s*;\s*/,U=s;class K{constructor({syntheticMouseEventSupport:e=!1,clickModSupport:t=!0}={}){this.a11yClickSupport=!1,this.clickModSupport=!0,this.updateEventInfoForA11yClick=void 0,this.preventDefaultForA11yClick=void 0,this.populateClickOnlyAction=void 0,this.syntheticMouseEventSupport=e,this.clickModSupport=t}resolveEventType(e){var t;this.clickModSupport&&w(e)===s&&(t=C(e),T&&t.metaKey||!T&&t.ctrlKey||function(e){return 2===e.which||null==e.which&&4===e.button}(t)||t.shiftKey)?R(e,a):this.a11yClickSupport&&this.updateEventInfoForA11yClick(e)}resolveAction(e){x(e)||(this.populateAction(e,_(e)),L(e,!0))}resolveParentAction(e){const t=P(e),n=t&&N(t);D(e);const o=n&&this.getParentNode(n);o&&this.populateAction(e,o)}populateAction(e,t){let n=t;for(;n&&n!==O(e)&&(n.nodeType===Node.ELEMENT_NODE&&this.populateActionOnElement(n,e),!P(e));)n=this.getParentNode(n);const o=P(e);if(o&&(this.a11yClickSupport&&this.preventDefaultForA11yClick(e),this.syntheticMouseEventSupport&&(w(e)===u||w(e)===l||w(e)===d||w(e)===f)))if(function(e,t,n){const o=e.relatedTarget;return(e.type===c&&t===u||e.type===p&&t===l||e.type===h&&t===d||e.type===v&&t===f)&&(!o||o!==n&&!n.contains(o))}(C(e),w(e),N(o))){k(e,function(e,t){const n={};for(const t in e){if("srcElement"===t||"target"===t)continue;const o=t,i=e[o];"function"!=typeof i&&(n[o]=i)}return e.type===c?n.type=u:e.type===p?n.type=l:e.type===h?n.type=d:n.type=f,n.target=n.srcElement=t,n.bubbles=!1,n}(C(e),N(o))),b(e,N(o))}else D(e)}getParentNode(e){const t=e[n.OWNER];if(t)return t;const o=e.parentNode;return"#document-fragment"===o?.nodeName?o?.host??null:o}populateActionOnElement(e,t){const n=this.parseActions(e),o=n[w(t)];void 0!==o&&M(t,o,e),this.a11yClickSupport&&this.populateClickOnlyAction(e,t,n)}parseActions(e){let n=i(e);if(!n){const i=e.getAttribute(t.JSACTION);if(i){if(n=o[i],!n){n={};const e=i.split(J);for(let t=0;t<e.length;t++){const o=e[t];if(!o)continue;const i=o.indexOf(S),r=-1!==i,s=r?o.substr(0,i).trim():U,a=r?o.substr(i+1).trim():o;n[s]=a}!function(e,t){o[e]=t}(i,n)}r(e,n)}else n=H,r(e,n)}return n}addA11yClickSupport(e,t,n){this.a11yClickSupport=!0,this.updateEventInfoForA11yClick=e,this.preventDefaultForA11yClick=t,this.populateClickOnlyAction=n}}var B;!function(e){e[e.I_AM_THE_JSACTION_FRAMEWORK=0]="I_AM_THE_JSACTION_FRAMEWORK"}(B||(B={}));class Y{constructor(e,{actionResolver:t,eventReplayer:n}={}){this.dispatchDelegate=e,this.eventReplayScheduled=!1,this.replayEventInfoWrappers=[],this.actionResolver=t,this.eventReplayer=n}dispatch(e){const t=new q(e);this.actionResolver?.resolveEventType(e),this.actionResolver?.resolveAction(e);const n=t.getAction();var o;n&&function(e,t){return"A"===e.tagName&&(t.getEventType()===s||t.getEventType()===a)}(n.element,t)&&((o=t.getEvent()).preventDefault?o.preventDefault():o.returnValue=!1),this.eventReplayer&&t.getIsReplay()?this.scheduleEventInfoWrapperReplay(t):this.dispatchDelegate(t)}scheduleEventInfoWrapperReplay(e){this.replayEventInfoWrappers.push(e),this.eventReplayScheduled||(this.eventReplayScheduled=!0,Promise.resolve().then((()=>{this.eventReplayScheduled=!1,this.eventReplayer(this.replayEventInfoWrappers)})))}}const Q=Symbol.for("propagationStopped"),V=e("EventPhase",{REPLAY:101}),$="`preventDefault` called during event replay.",z="`composedPath` called during event replay.";function G(e){return!!e.getEvent()[Q]}function X(e){const t=e.getEvent(),n=e.getAction()?.element;n&&Z(t,"currentTarget",n,{configurable:!0})}function Z(e,t,n,{configurable:o=!1}={}){Object.defineProperty(e,t,{value:n,configurable:o})}function ee(e,t,n){for(let o=0;o<t.length;o++){const i=t[o];(n?e.etc:e.et).push(i),e.c.addEventListener(i,e.h,n)}}function te(e){e&&(ne(e.c,e.et,e.h),ne(e.c,e.etc,e.h,!0))}function ne(e,t,n,o){for(let i=0;i<t.length;i++)e.removeEventListener(t[i],n,o)}e("EventDispatcher",class{constructor(e,t=!0){this.dispatchDelegate=e,this.clickModSupport=t,this.actionResolver=new K({clickModSupport:t}),this.dispatcher=new Y((e=>{this.dispatchToDelegate(e)}),{actionResolver:this.actionResolver})}dispatch(e){this.dispatcher.dispatch(e)}dispatchToDelegate(e){for(e.getIsReplay()&&function(e){const t=e.getEvent(),n=e.getTargetElement(),o=t.preventDefault.bind(t);Z(t,"target",n),Z(t,"eventPhase",V.REPLAY),Z(t,"preventDefault",(()=>{throw o(),new Error($+"")})),Z(t,"composedPath",(()=>{throw new Error(z+"")}))}(e),function(e){const t=e.getEvent(),n=e.getEvent().stopPropagation.bind(t),o=()=>{t[Q]=!0,n()};Z(t,"stopPropagation",o),Z(t,"stopImmediatePropagation",o)}(e);e.getAction();){if(X(e),m(e.getEventType())&&e.getAction().element!==e.getTargetElement())return;if(this.dispatchDelegate(e.getEvent(),e.getAction().name),G(e))return;this.actionResolver.resolveParentAction(e.eventInfo)}}});class oe{static{this.MOUSE_SPECIAL_SUPPORT=false}constructor(e){this.eventHandlers={},this.browserEventTypeToExtraEventTypes={},this.dispatcher=null,this.queuedEventInfos=[],this.containerManager=e}handleEvent(e,t,n){const o=W(e,t,t.target,n,Date.now());this.handleEventInfo(o)}handleEventInfo(e){if(!this.dispatcher)return j(e,!0),void this.queuedEventInfos?.push(e);this.dispatcher(e)}addEvent(e,t){if(e in this.eventHandlers||!this.containerManager)return;if(!oe.MOUSE_SPECIAL_SUPPORT&&E.indexOf(e)>=0)return;const n=(e,t,n)=>{this.handleEvent(e,t,n)};this.eventHandlers[e]=n;const o=function(e){return e===u?c:e===l?p:e===d?h:e===f?v:e}(t||e);if(o!==e){const t=this.browserEventTypeToExtraEventTypes[o]||[];t.push(e),this.browserEventTypeToExtraEventTypes[o]=t}this.containerManager.addEventListener(o,(t=>o=>{n(e,o,t)}))}replayEarlyEvents(e=window._ejsa){e&&(this.replayEarlyEventInfos(e.q),te(e),delete window._ejsa)}replayEarlyEventInfos(e){for(let t=0;t<e.length;t++){const n=e[t],o=this.getEventTypesForBrowserEventType(n.eventType);for(let e=0;e<o.length;e++){const t=F(n);R(t,o[e]),this.handleEventInfo(t)}}}getEventTypesForBrowserEventType(e){const t=[];return this.eventHandlers[e]&&t.push(e),this.browserEventTypeToExtraEventTypes[e]&&t.push(...this.browserEventTypeToExtraEventTypes[e]),t}handler(e){return this.eventHandlers[e]}cleanUp(){this.containerManager.cleanUp(),this.containerManager=null,this.eventHandlers={},this.browserEventTypeToExtraEventTypes={},this.dispatcher=null,this.queuedEventInfos=[]}registerDispatcher(e,t){this.ecrd(e,t)}ecrd(e,t){if(this.dispatcher=e,this.queuedEventInfos?.length){for(let e=0;e<this.queuedEventInfos.length;e++)this.handleEventInfo(this.queuedEventInfos[e]);this.queuedEventInfos=null}}}e("EventContract",oe)}}}));
//# sourceMappingURL=angular-core-primitives-event-dispatch.min.js.map

@@ -1,2 +0,2 @@

/* esm-bundle - @angular/core/primitives/signals@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/core/primitives/signals@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register([], (function (exports) {

@@ -35,3 +35,3 @@ 'use strict';

/**
* @license Angular v18.2.10
* @license Angular v18.2.11
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -38,0 +38,0 @@ * License: MIT

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/core/primitives/signals@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/core/primitives/signals@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register([],(function(e){"use strict";return{execute:function(){function n(e,n){return Object.is(e,n)}e({consumerAfterComputation:m,consumerBeforeComputation:v,consumerDestroy:C,consumerMarkDirty:h,consumerPollProducersForChange:N,createComputed:function(e){const n=Object.create(E);n.computation=e;const r=()=>{if(a(n),l(n),n.value===w)throw n.error;return n.value};return r[t]=n,r},createSignal:function(e){const n=Object.create(P);n.value=e;const r=()=>(l(n),n.value);return r[t]=n,r},createWatch:function(e,n,r){const o=Object.create(b);r&&(o.consumerAllowSignalWrites=!0);o.fn=e,o.schedule=n;const u=e=>{o.cleanupFn=e};return o.ref={notify:()=>h(o),run:()=>{if(null===o.fn)return;if(i())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(o.dirty=!1,o.hasRun&&!N(o))return;o.hasRun=!0;const e=v(o);try{o.cleanupFn(),o.cleanupFn=D,o.fn(u)}finally{m(o,e)}},cleanup:()=>o.cleanupFn(),destroy:()=>function(e){(function(e){return null===e.fn&&null===e.schedule})(e)||(C(e),e.cleanupFn(),e.fn=null,e.schedule=null,e.cleanupFn=D)}(o),[t]:o},o.ref},defaultEquals:n,getActiveConsumer:function(){return r},isInNotificationPhase:i,isReactive:function(e){return void 0!==e[t]},producerAccessed:l,producerIncrementEpoch:s,producerNotifyConsumers:f,producerUpdateValueVersion:a,producerUpdatesAllowed:p,runPostSignalSetFn:function(){V?.()},setActiveConsumer:c,setAlternateWeakRefImpl:function(e){},setPostSignalSetFn:function(e){const n=V;return V=e,n},setThrowInvalidWriteToSignalError:function(e){A=e},signalSetFn:F,signalUpdateFn:function(e,n){p()||L();F(e,n(e.value))}});let r=null,o=!1,u=1;const t=e("SIGNAL",Symbol("SIGNAL"));function c(e){const n=r;return r=e,n}function i(){return o}const d=e("REACTIVE_NODE",{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 l(e){if(o)throw new Error("");if(null===r)return;r.consumerOnSignalRead(e);const n=r.nextProducerIndex++;if(x(r),n<r.producerNode.length&&r.producerNode[n]!==e&&y(r)){g(r.producerNode[n],r.producerIndexOfThis[n])}r.producerNode[n]!==e&&(r.producerNode[n]=e,r.producerIndexOfThis[n]=y(r)?I(e,r,n):0),r.producerLastReadVersion[n]=e.version}function s(){u++}function a(e){if((!y(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==u)){if(!e.producerMustRecompute(e)&&!N(e))return e.dirty=!1,void(e.lastCleanEpoch=u);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=u}}function f(e){if(void 0===e.liveConsumerNode)return;const n=o;o=!0;try{for(const n of e.liveConsumerNode)n.dirty||h(n)}finally{o=n}}function p(){return!1!==r?.consumerAllowSignalWrites}function h(e){e.dirty=!0,f(e),e.consumerMarkedDirty?.(e)}function v(e){return e&&(e.nextProducerIndex=0),c(e)}function m(e,n){if(c(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(y(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)g(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function N(e){x(e);for(let n=0;n<e.producerNode.length;n++){const r=e.producerNode[n],o=e.producerLastReadVersion[n];if(o!==r.version)return!0;if(a(r),o!==r.version)return!0}return!1}function C(e){if(x(e),y(e))for(let n=0;n<e.producerNode.length;n++)g(e.producerNode[n],e.producerIndexOfThis[n]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function I(e,n,r){if(O(e),0===e.liveConsumerNode.length&&T(e))for(let n=0;n<e.producerNode.length;n++)e.producerIndexOfThis[n]=I(e.producerNode[n],e,n);return e.liveConsumerIndexOfThis.push(r),e.liveConsumerNode.push(n)-1}function g(e,n){if(O(e),1===e.liveConsumerNode.length&&T(e))for(let n=0;n<e.producerNode.length;n++)g(e.producerNode[n],e.producerIndexOfThis[n]);const r=e.liveConsumerNode.length-1;if(e.liveConsumerNode[n]=e.liveConsumerNode[r],e.liveConsumerIndexOfThis[n]=e.liveConsumerIndexOfThis[r],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,n<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[n],o=e.liveConsumerNode[n];x(o),o.producerIndexOfThis[r]=n}}function y(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function x(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function O(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function T(e){return void 0!==e.producerNode}const R=Symbol("UNSET"),S=Symbol("COMPUTING"),w=Symbol("ERRORED"),E=(()=>({...d,value:R,dirty:!0,error:null,equal:n,producerMustRecompute:e=>e.value===R||e.value===S,producerRecomputeValue(e){if(e.value===S)throw new Error("Detected cycle in computations.");const n=e.value;e.value=S;const r=v(e);let o;try{o=e.computation()}catch(n){o=w,e.error=n}finally{m(e,r)}n!==R&&n!==w&&o!==w&&e.equal(n,o)?e.value=n:(e.value=o,e.version++)}}))();let A=function(){throw new Error};function L(){A()}let V=null;function F(e,n){p()||L(),e.equal(e.value,n)||(e.value=n,function(e){e.version++,s(),f(e),V?.()}(e))}const P=e("SIGNAL_NODE",(()=>({...d,equal:n,value:void 0}))());const D=()=>{},b=(()=>({...d,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:D}))()}}}));
//# sourceMappingURL=angular-core-primitives-signals.min.js.map

@@ -1,2 +0,2 @@

/* esm-bundle - @angular/core/rxjs-interop@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/core/rxjs-interop@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(['@angular/core', 'rxjs', 'rxjs/operators'], (function (exports) {

@@ -35,3 +35,3 @@ 'use strict';

/**
* @license Angular v18.2.10
* @license Angular v18.2.11
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -38,0 +38,0 @@ * License: MIT

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/core/rxjs-interop@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/core/rxjs-interop@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(["@angular/core","rxjs","rxjs/operators"],(function(e){"use strict";var t,r,n,s,o,u,i,c,a,l,b,d,f;return{setters:[function(e){t=e.assertInInjectionContext,r=e.inject,n=e.DestroyRef,s=e.ɵgetOutputDestroyRef,o=e.Injector,u=e.effect,i=e.untracked,e.assertNotInReactiveContext,c=e.signal,a=e.ɵRuntimeError,l=e.computed},function(e){b=e.Observable,d=e.ReplaySubject},function(e){f=e.takeUntil}],execute:function(){function y(e){e||(t(y),e=r(n));const s=new b((t=>e.onDestroy(t.next.bind(t))));return e=>e.pipe(f(s))}e({outputFromObservable:function(e,t){return new h(e)},outputToObservable:function(e){const t=s(e);return new b((r=>{t?.onDestroy((()=>r.complete()));const n=e.subscribe((e=>r.next(e)));return()=>n.unsubscribe()}))},takeUntilDestroyed:y,toObservable:function e(s,c){!c?.injector&&t(e);const a=c?.injector??r(o),l=new d(1),b=u((()=>{let e;try{e=s()}catch(e){return void i((()=>l.error(e)))}i((()=>l.next(e)))}),{injector:a,manualCleanup:!0});return a.get(n).onDestroy((()=>{b.destroy(),l.complete()})),l.asObservable()},toSignal:function e(s,o){const u=!o?.manualCleanup;u&&!o?.injector&&t(e);const i=u?o?.injector?.get(n)??r(n):null,b=function(e=Object.is){return(t,r)=>1===t.kind&&1===r.kind&&e(t.value,r.value)}(o?.equal);let d;d=c(o?.requireSync?{kind:0}:{kind:1,value:o?.initialValue},{equal:b});const f=s.subscribe({next:e=>d.set({kind:1,value:e}),error:e=>{if(o?.rejectErrors)throw e;d.set({kind:2,error:e})}});if(o?.requireSync&&0===d().kind)throw new a(601,!1);return i?.onDestroy(f.unsubscribe.bind(f)),l((()=>{const e=d();switch(e.kind){case 1:return e.value;case 2:throw e.error;case 0:throw new a(601,!1)}}),{equal:o?.equal})}});class h{constructor(e){this.source=e,this.destroyed=!1,this.destroyRef=r(n),this.destroyRef.onDestroy((()=>{this.destroyed=!0}))}subscribe(e){if(this.destroyed)throw new a(953,!1);const t=this.source.pipe(y(this.destroyRef)).subscribe({next:t=>e(t)});return{unsubscribe:()=>t.unsubscribe()}}}}}}));
//# sourceMappingURL=angular-core-rxjs-interop.min.js.map

@@ -1,2 +0,2 @@

/* esm-bundle - @angular/elements@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/elements@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(['@angular/core', 'rxjs', 'rxjs/operators'], (function (exports) {

@@ -26,3 +26,3 @@ 'use strict';

/**
* @license Angular v18.2.10
* @license Angular v18.2.11
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -551,3 +551,3 @@ * License: MIT

*/
const VERSION = exports("VERSION", new Version('18.2.10'));
const VERSION = exports("VERSION", new Version('18.2.11'));

@@ -554,0 +554,0 @@ })

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/elements@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(["@angular/core","rxjs","rxjs/operators"],(function(e){"use strict";var t,n,s,i,o,c,r,h,a,u,l;return{setters:[function(e){t=e.Version,n=e.ComponentFactoryResolver,s=e.NgZone,i=e.Injector,o=e.ChangeDetectorRef,c=e.ApplicationRef,r=e.SimpleChange},function(e){h=e.ReplaySubject,a=e.merge},function(e){u=e.switchMap,l=e.map}],execute:function(){e("createCustomElement",(function(e,t){const s=function(e,t){const s=t.get(n).resolveComponentFactory(e);return s.inputs}(e,t.injector),i=t.strategyFactory||new d(e,t.injector),o=function(e){const t={};return e.forEach((({propName:e,templateName:n,transform:s})=>{var i;t[(i=n,i.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)))]=[e,s]})),t}(s);class c extends C{static{this.observedAttributes=Object.keys(o)}get ngElementStrategy(){if(!this._ngElementStrategy){const e=this._ngElementStrategy=i.create(this.injector||t.injector);s.forEach((({propName:t,transform:n})=>{if(!this.hasOwnProperty(t))return;const s=this[t];delete this[t],e.setInputValue(t,s,n)}))}return this._ngElementStrategy}constructor(e){super(),this.injector=e}attributeChangedCallback(e,t,n,s){const[i,c]=o[e];this.ngElementStrategy.setInputValue(i,n,c)}connectedCallback(){let e=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),e=!0),this.ngElementStrategy.connect(this),e||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe((e=>{const t=new CustomEvent(e.name,{detail:e.value});this.dispatchEvent(t)}))}}return s.forEach((({propName:e,transform:t})=>{Object.defineProperty(c.prototype,e,{get(){return this.ngElementStrategy.getInputValue(e)},set(n){this.ngElementStrategy.setInputValue(e,n,t)},configurable:!0,enumerable:!0})})),c}));const p={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)},scheduleBeforeRender(e){if("undefined"==typeof window)return p.schedule(e,0);if(void 0===window.requestAnimationFrame){const t=16;return p.schedule(e,t)}const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};let m;function g(e,t,n){let s=n;return function(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some(((t,n)=>!("*"===t||!function(e,t){if(!m){const e=Element.prototype;m=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&m.call(e,t)}(e,t))&&(s=n,!0))),s}class d{constructor(e,t){this.componentFactory=t.get(n).resolveComponentFactory(e)}create(e){return new f(this.componentFactory,e)}}class f{constructor(e,t){this.componentFactory=e,this.injector=t,this.eventEmitters=new h(1),this.events=this.eventEmitters.pipe(u((e=>a(...e)))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map((({propName:e})=>e))),this.ngZone=this.injector.get(s),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run((()=>Zone.current))}connect(e){this.runInZone((()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(e)}))}disconnect(){this.runInZone((()=>{null!==this.componentRef&&null===this.scheduledDestroyFn&&(this.scheduledDestroyFn=p.schedule((()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)}),10))}))}getInputValue(e){return this.runInZone((()=>null===this.componentRef?this.initialInputValues.get(e):this.componentRef.instance[e]))}setInputValue(e,t,n){this.runInZone((()=>{var s,i;(n&&(t=n.call(this.componentRef?.instance,t)),null!==this.componentRef)?(s=t,i=this.getInputValue(e),(s!==i&&(s==s||i==i)||void 0===t&&this.unchangedInputs.has(e))&&(this.recordInputChange(e,t),this.unchangedInputs.delete(e),this.hasInputChanges=!0,this.componentRef.instance[e]=t,this.scheduleDetectChanges())):this.initialInputValues.set(e,t)}))}initializeComponent(e){const t=i.create({providers:[],parent:this.injector}),n=function(e,t){const n=e.childNodes,s=t.map((()=>[]));let i=-1;t.some(((e,t)=>"*"===e&&(i=t,!0)));for(let e=0,o=n.length;e<o;++e){const o=n[e],c=g(o,t,i);-1!==c&&s[c].push(o)}return s}(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,n,e),this.viewChangeDetectorRef=this.componentRef.injector.get(o),this.implementsOnChanges="function"==typeof this.componentRef.instance.ngOnChanges,this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges();this.injector.get(c).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach((({propName:e,transform:t})=>{this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e),t)})),this.initialInputValues.clear()}initializeOutputs(e){const t=this.componentFactory.outputs.map((({propName:t,templateName:n})=>e.instance[t].pipe(l((e=>({name:n,value:e}))))));this.eventEmitters.next(t)}callNgOnChanges(e){if(!this.implementsOnChanges||null===this.inputChanges)return;const t=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(t)}markViewForCheck(e){this.hasInputChanges&&(this.hasInputChanges=!1,e.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=p.scheduleBeforeRender((()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()})))}recordInputChange(e,t){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const n=this.inputChanges[e];if(n)return void(n.currentValue=t);const s=this.unchangedInputs.has(e),i=s?void 0:this.getInputValue(e);this.inputChanges[e]=new r(i,t,s)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}}class C extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}e("NgElement",C);e("VERSION",new t("18.2.10"))}}}));
/* esm-bundle - @angular/elements@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(["@angular/core","rxjs","rxjs/operators"],(function(e){"use strict";var t,n,s,i,o,c,r,h,a,u,l;return{setters:[function(e){t=e.Version,n=e.ComponentFactoryResolver,s=e.NgZone,i=e.Injector,o=e.ChangeDetectorRef,c=e.ApplicationRef,r=e.SimpleChange},function(e){h=e.ReplaySubject,a=e.merge},function(e){u=e.switchMap,l=e.map}],execute:function(){e("createCustomElement",(function(e,t){const s=function(e,t){const s=t.get(n).resolveComponentFactory(e);return s.inputs}(e,t.injector),i=t.strategyFactory||new d(e,t.injector),o=function(e){const t={};return e.forEach((({propName:e,templateName:n,transform:s})=>{var i;t[(i=n,i.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)))]=[e,s]})),t}(s);class c extends C{static{this.observedAttributes=Object.keys(o)}get ngElementStrategy(){if(!this._ngElementStrategy){const e=this._ngElementStrategy=i.create(this.injector||t.injector);s.forEach((({propName:t,transform:n})=>{if(!this.hasOwnProperty(t))return;const s=this[t];delete this[t],e.setInputValue(t,s,n)}))}return this._ngElementStrategy}constructor(e){super(),this.injector=e}attributeChangedCallback(e,t,n,s){const[i,c]=o[e];this.ngElementStrategy.setInputValue(i,n,c)}connectedCallback(){let e=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),e=!0),this.ngElementStrategy.connect(this),e||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe((e=>{const t=new CustomEvent(e.name,{detail:e.value});this.dispatchEvent(t)}))}}return s.forEach((({propName:e,transform:t})=>{Object.defineProperty(c.prototype,e,{get(){return this.ngElementStrategy.getInputValue(e)},set(n){this.ngElementStrategy.setInputValue(e,n,t)},configurable:!0,enumerable:!0})})),c}));const p={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)},scheduleBeforeRender(e){if("undefined"==typeof window)return p.schedule(e,0);if(void 0===window.requestAnimationFrame){const t=16;return p.schedule(e,t)}const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};let m;function g(e,t,n){let s=n;return function(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some(((t,n)=>!("*"===t||!function(e,t){if(!m){const e=Element.prototype;m=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&m.call(e,t)}(e,t))&&(s=n,!0))),s}class d{constructor(e,t){this.componentFactory=t.get(n).resolveComponentFactory(e)}create(e){return new f(this.componentFactory,e)}}class f{constructor(e,t){this.componentFactory=e,this.injector=t,this.eventEmitters=new h(1),this.events=this.eventEmitters.pipe(u((e=>a(...e)))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map((({propName:e})=>e))),this.ngZone=this.injector.get(s),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run((()=>Zone.current))}connect(e){this.runInZone((()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(e)}))}disconnect(){this.runInZone((()=>{null!==this.componentRef&&null===this.scheduledDestroyFn&&(this.scheduledDestroyFn=p.schedule((()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)}),10))}))}getInputValue(e){return this.runInZone((()=>null===this.componentRef?this.initialInputValues.get(e):this.componentRef.instance[e]))}setInputValue(e,t,n){this.runInZone((()=>{var s,i;(n&&(t=n.call(this.componentRef?.instance,t)),null!==this.componentRef)?(s=t,i=this.getInputValue(e),(s!==i&&(s==s||i==i)||void 0===t&&this.unchangedInputs.has(e))&&(this.recordInputChange(e,t),this.unchangedInputs.delete(e),this.hasInputChanges=!0,this.componentRef.instance[e]=t,this.scheduleDetectChanges())):this.initialInputValues.set(e,t)}))}initializeComponent(e){const t=i.create({providers:[],parent:this.injector}),n=function(e,t){const n=e.childNodes,s=t.map((()=>[]));let i=-1;t.some(((e,t)=>"*"===e&&(i=t,!0)));for(let e=0,o=n.length;e<o;++e){const o=n[e],c=g(o,t,i);-1!==c&&s[c].push(o)}return s}(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,n,e),this.viewChangeDetectorRef=this.componentRef.injector.get(o),this.implementsOnChanges="function"==typeof this.componentRef.instance.ngOnChanges,this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges();this.injector.get(c).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach((({propName:e,transform:t})=>{this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e),t)})),this.initialInputValues.clear()}initializeOutputs(e){const t=this.componentFactory.outputs.map((({propName:t,templateName:n})=>e.instance[t].pipe(l((e=>({name:n,value:e}))))));this.eventEmitters.next(t)}callNgOnChanges(e){if(!this.implementsOnChanges||null===this.inputChanges)return;const t=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(t)}markViewForCheck(e){this.hasInputChanges&&(this.hasInputChanges=!1,e.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=p.scheduleBeforeRender((()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()})))}recordInputChange(e,t){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const n=this.inputChanges[e];if(n)return void(n.currentValue=t);const s=this.unchangedInputs.has(e),i=s?void 0:this.getInputValue(e);this.inputChanges[e]=new r(i,t,s)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}}class C extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}e("NgElement",C);e("VERSION",new t("18.2.11"))}}}));
//# sourceMappingURL=angular-elements.min.js.map

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/forms@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(["@angular/core","@angular/common","rxjs","rxjs/operators"],(function(t){"use strict";var e,i,n,s,r,o,a,l,u,c,h,d,p,g,m,f,_,v;return{setters:[function(t){e=t,t.Directive,i=t.InjectionToken,n=t.forwardRef,t.Optional,t.Inject,t.Self,s=t.untracked,r=t.computed,o=t.signal,a=t.EventEmitter,t.Input,t.Host,t.SkipSelf,l=t.booleanAttribute,u=t.ChangeDetectorRef,t.Output,t.Injectable,c=t.inject,h=t.ɵRuntimeError,t.NgModule,d=t.Version,p=t.ɵisPromise,t.ɵisSubscribable},function(t){g=t.ɵgetDOM},function(t){m=t.forkJoin,f=t.Subject,_=t.from},function(t){v=t.map}],execute:function(){class y{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}setProperty(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static{this.ɵfac=function(t){return new(t||y)(e.ɵɵdirectiveInject(e.Renderer2),e.ɵɵdirectiveInject(e.ElementRef))}}static{this.ɵdir=e.ɵɵdefineDirective({type:y})}}class C extends y{static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(C)))(i||C)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:C,features:[e.ɵɵInheritDefinitionFeature]})}}const V=t("NG_VALUE_ACCESSOR",new i("")),b={provide:V,useExisting:n((()=>A)),multi:!0};class A extends C{writeValue(t){this.setProperty("checked",t)}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(A)))(i||A)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:A,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,i){1&t&&e.ɵɵlistener("change",(function(t){return i.onChange(t.target.checked)}))("blur",(function(){return i.onTouched()}))},features:[e.ɵɵProvidersFeature([b]),e.ɵɵInheritDefinitionFeature]})}}t("CheckboxControlValueAccessor",A);const D={provide:V,useExisting:n((()=>F)),multi:!0};const E=t("COMPOSITION_BUFFER_MODE",new i(""));class F extends y{constructor(t,e,i){super(t,e),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=g()?g().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){const e=null==t?"":t;this.setProperty("value",e)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static{this.ɵfac=function(t){return new(t||F)(e.ɵɵdirectiveInject(e.Renderer2),e.ɵɵdirectiveInject(e.ElementRef),e.ɵɵdirectiveInject(E,8))}}static{this.ɵdir=e.ɵɵdefineDirective({type:F,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(t,i){1&t&&e.ɵɵlistener("input",(function(t){return i._handleInput(t.target.value)}))("blur",(function(){return i.onTouched()}))("compositionstart",(function(){return i._compositionStart()}))("compositionend",(function(t){return i._compositionEnd(t.target.value)}))},features:[e.ɵɵProvidersFeature([D]),e.ɵɵInheritDefinitionFeature]})}}function w(t){return null==t||("string"==typeof t||Array.isArray(t))&&0===t.length}function S(t){return null!=t&&"number"==typeof t.length}t("DefaultValueAccessor",F);const I=t("NG_VALIDATORS",new i("")),O=t("NG_ASYNC_VALIDATORS",new i("")),x=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;function M(t){return e=>{if(w(e.value)||w(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i<t?{min:{min:t,actual:e.value}}:null}}function P(t){return e=>{if(w(e.value)||w(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i>t?{max:{max:t,actual:e.value}}:null}}function N(t){return w(t.value)?{required:!0}:null}function k(t){return!0===t.value?null:{required:!0}}function j(t){return w(t.value)||x.test(t.value)?null:{email:!0}}function R(t){return e=>w(e.value)||!S(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}function T(t){return e=>S(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function U(t){if(!t)return G;let e,i;return"string"==typeof t?(i="","^"!==t.charAt(0)&&(i+="^"),i+=t,"$"!==t.charAt(t.length-1)&&(i+="$"),e=new RegExp(i)):(i=t.toString(),e=t),t=>{if(w(t.value))return null;const n=t.value;return e.test(n)?null:{pattern:{requiredPattern:i,actualValue:n}}}}function G(t){return null}function B(t){return null!=t}function q(t){const e=p(t)?_(t):t;return e}function W(t){let e={};return t.forEach((t=>{e=null!=t?{...e,...t}:e})),0===Object.keys(e).length?null:e}function z(t,e){return e.map((e=>e(t)))}function L(t){return t.map((t=>function(t){return!t.validate}(t)?t:e=>t.validate(e)))}function $(t){if(!t)return null;const e=t.filter(B);return 0==e.length?null:function(t){return W(z(t,e))}}function Z(t){return null!=t?$(L(t)):null}function H(t){if(!t)return null;const e=t.filter(B);return 0==e.length?null:function(t){const i=z(t,e).map(q);return m(i).pipe(v(W))}}function J(t){return null!=t?H(L(t)):null}function Y(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function K(t){return t._rawValidators}function Q(t){return t._rawAsyncValidators}function X(t){return t?Array.isArray(t)?t:[t]:[]}function tt(t,e){return Array.isArray(t)?t.includes(e):t===e}function et(t,e){const i=X(e);return X(t).forEach((t=>{tt(i,t)||i.push(t)})),i}function it(t,e){return X(e).filter((e=>!tt(t,e)))}t("Validators",class{static min(t){return M(t)}static max(t){return P(t)}static required(t){return N(t)}static requiredTrue(t){return k(t)}static email(t){return j(t)}static minLength(t){return R(t)}static maxLength(t){return T(t)}static pattern(t){return U(t)}static nullValidator(t){return null}static compose(t){return $(t)}static composeAsync(t){return H(t)}});class nt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Z(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=J(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach((t=>t())),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}t("AbstractControlDirective",nt);class st extends nt{get formDirective(){return null}get path(){return null}}t("ControlContainer",st);class rt extends nt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}t("NgControl",rt);class ot{constructor(t){this._cd=t}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}}const at={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"};class lt extends ot{constructor(t){super(t)}static{this.ɵfac=function(t){return new(t||lt)(e.ɵɵdirectiveInject(rt,2))}}static{this.ɵdir=e.ɵɵdefineDirective({type:lt,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,i){2&t&&e.ɵɵclassProp("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[e.ɵɵInheritDefinitionFeature]})}}t("NgControlStatus",lt);class ut extends ot{constructor(t){super(t)}static{this.ɵfac=function(t){return new(t||ut)(e.ɵɵdirectiveInject(st,10))}}static{this.ɵdir=e.ɵɵdefineDirective({type:ut,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,i){2&t&&e.ɵɵclassProp("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[e.ɵɵInheritDefinitionFeature]})}}t("NgControlStatusGroup",ut);const ct="VALID",ht="INVALID",dt="PENDING",pt="DISABLED";class gt{}t("ControlEvent",gt);class mt extends gt{constructor(t,e){super(),this.value=t,this.source=e}}t("ValueChangeEvent",mt);class ft extends gt{constructor(t,e){super(),this.pristine=t,this.source=e}}t("PristineChangeEvent",ft);class _t extends gt{constructor(t,e){super(),this.touched=t,this.source=e}}t("TouchedChangeEvent",_t);class vt extends gt{constructor(t,e){super(),this.status=t,this.source=e}}t("StatusChangeEvent",vt);class yt extends gt{constructor(t){super(),this.source=t}}t("FormSubmittedEvent",yt);class Ct extends gt{constructor(t){super(),this.source=t}}function Vt(t){return(At(t)?t.validators:t)||null}function bt(t,e){return(At(e)?e.asyncValidators:t)||null}function At(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}function Dt(t,e,i){const n=t.controls;if(!(e?Object.keys(n):n).length)throw new h(1e3,"");if(!n[i])throw new h(1001,"")}function Et(t,e,i){t._forEachChild(((t,e)=>{if(void 0===i[e])throw new h(1002,"")}))}t("FormResetEvent",Ct);class Ft{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=r((()=>this.statusReactive())),this.statusReactive=o(void 0),this._pristine=r((()=>this.pristineReactive())),this.pristineReactive=o(!0),this._touched=r((()=>this.touchedReactive())),this.touchedReactive=o(!1),this._events=new f,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return s(this.statusReactive)}set status(t){s((()=>this.statusReactive.set(t)))}get valid(){return this.status===ct}get invalid(){return this.status===ht}get pending(){return this.status==dt}get disabled(){return this.status===pt}get enabled(){return this.status!==pt}get pristine(){return s(this.pristineReactive)}set pristine(t){s((()=>this.pristineReactive.set(t)))}get dirty(){return!this.pristine}get touched(){return s(this.touchedReactive)}set touched(t){s((()=>this.touchedReactive.set(t)))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(et(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(et(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(it(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(it(t,this._rawAsyncValidators))}hasValidator(t){return tt(this._rawValidators,t)}hasAsyncValidator(t){return tt(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){const e=!1===this.touched;this.touched=!0;const i=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched({...t,sourceControl:i}),e&&!1!==t.emitEvent&&this._events.next(new _t(!0,i))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild((e=>e.markAllAsTouched(t)))}markAsUntouched(t={}){const e=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const i=t.sourceControl??this;this._forEachChild((e=>{e.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:i})})),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,i),e&&!1!==t.emitEvent&&this._events.next(new _t(!1,i))}markAsDirty(t={}){const e=!0===this.pristine;this.pristine=!1;const i=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty({...t,sourceControl:i}),e&&!1!==t.emitEvent&&this._events.next(new ft(!1,i))}markAsPristine(t={}){const e=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const i=t.sourceControl??this;this._forEachChild((e=>{e.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})})),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,i),e&&!1!==t.emitEvent&&this._events.next(new ft(!0,i))}markAsPending(t={}){this.status=dt;const e=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new vt(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending({...t,sourceControl:e})}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=pt,this.errors=null,this._forEachChild((e=>{e.disable({...t,onlySelf:!0})})),this._updateValue();const i=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new mt(this.value,i)),this._events.next(new vt(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e},this),this._onDisabledChange.forEach((t=>t(!0)))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=ct,this._forEachChild((e=>{e.enable({...t,onlySelf:!0})})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:e},this),this._onDisabledChange.forEach((t=>t(!1)))}_updateAncestors(t,e){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const e=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==ct&&this.status!==dt||this._runAsyncValidator(e,t.emitEvent)}const e=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new mt(this.value,e)),this._events.next(new vt(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity({...t,sourceControl:e})}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild((e=>e._updateTreeValidity(t))),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?pt:ct}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,e){if(this.asyncValidator){this.status=dt,this._hasOwnPendingAsyncValidator={emitEvent:!1!==e};const i=q(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe((i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:e,shouldHaveEmitted:t})}))}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const t=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent,this,e.shouldHaveEmitted)}get(t){let e=t;return null==e?null:(Array.isArray(e)||(e=e.split(".")),0===e.length?null:e.reduce(((t,e)=>t&&t._find(e)),this))}getError(t,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,e,i){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||i)&&this._events.next(new vt(this.status,e)),this._parent&&this._parent._updateControlsErrors(t,e,i)}_initObservables(){this.valueChanges=new a,this.statusChanges=new a}_calculateStatus(){return this._allControlsDisabled()?pt:this.errors?ht:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(dt)?dt:this._anyControlsHaveStatus(ht)?ht:ct}_anyControlsHaveStatus(t){return this._anyControls((e=>e.status===t))}_anyControlsDirty(){return this._anyControls((t=>t.dirty))}_anyControlsTouched(){return this._anyControls((t=>t.touched))}_updatePristine(t,e){const i=!this._anyControlsDirty(),n=this.pristine!==i;this.pristine=i,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,e),n&&this._events.next(new ft(this.pristine,e))}_updateTouched(t={},e){this.touched=this._anyControlsTouched(),this._events.next(new _t(this.touched,e)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,e)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){At(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){const e=this._parent&&this._parent.dirty;return!t&&!!e&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){var e;this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=(e=this._rawValidators,Array.isArray(e)?Z(e):e||null)}_assignAsyncValidators(t){var e;this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=(e=this._rawAsyncValidators,Array.isArray(e)?J(e):e||null)}}t("AbstractControl",Ft);class wt extends Ft{constructor(t,e,i){super(Vt(e),bt(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange((()=>{})),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange((()=>{})),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){Et(this,0,t),Object.keys(t).forEach((i=>{Dt(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach((i=>{const n=this.controls[i];n&&n.patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild(((i,n)=>{i.reset(t?t[n]:null,{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},((t,e,i)=>(t[i]=e.getRawValue(),t)))}_syncPendingControls(){let t=this._reduceChildren(!1,((t,e)=>!!e._syncPendingControls()||t));return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach((e=>{const i=this.controls[e];i&&t(i,e)}))}_setUpControls(){this._forEachChild((t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}))}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&t(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},((t,e,i)=>((e.enabled||this.disabled)&&(t[i]=e.value),t)))}_reduceChildren(t,e){let i=t;return this._forEachChild(((t,n)=>{i=e(i,t,n)})),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}t("FormGroup",wt);t("UntypedFormGroup",wt),t("isFormGroup",(t=>t instanceof wt));class St extends wt{}t("FormRecord",St);t("isFormRecord",(t=>t instanceof St));const It=new i("CallSetDisabledState",{providedIn:"root",factory:()=>Ot}),Ot="always";function xt(t,e){return[...e.path,t]}function Mt(t,e,i=Ot){kt(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||"always"===i)&&e.valueAccessor.setDisabledState?.(t.disabled),function(t,e){e.valueAccessor.registerOnChange((i=>{t._pendingValue=i,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Rt(t,e)}))}(t,e),function(t,e){const i=(t,i)=>{e.valueAccessor.writeValue(t),i&&e.viewToModelUpdate(t)};t.registerOnChange(i),e._registerOnDestroy((()=>{t._unregisterOnChange(i)}))}(t,e),function(t,e){e.valueAccessor.registerOnTouched((()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Rt(t,e),"submit"!==t.updateOn&&t.markAsTouched()}))}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const i=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(i),e._registerOnDestroy((()=>{t._unregisterOnDisabledChange(i)}))}}(t,e)}function Pt(t,e,i=!0){const n=()=>{0};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),jt(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange((()=>{})))}function Nt(t,e){t.forEach((t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)}))}function kt(t,e){const i=K(t);null!==e.validator?t.setValidators(Y(i,e.validator)):"function"==typeof i&&t.setValidators([i]);const n=Q(t);null!==e.asyncValidator?t.setAsyncValidators(Y(n,e.asyncValidator)):"function"==typeof n&&t.setAsyncValidators([n]);const s=()=>t.updateValueAndValidity();Nt(e._rawValidators,s),Nt(e._rawAsyncValidators,s)}function jt(t,e){let i=!1;if(null!==t){if(null!==e.validator){const n=K(t);if(Array.isArray(n)&&n.length>0){const s=n.filter((t=>t!==e.validator));s.length!==n.length&&(i=!0,t.setValidators(s))}}if(null!==e.asyncValidator){const n=Q(t);if(Array.isArray(n)&&n.length>0){const s=n.filter((t=>t!==e.asyncValidator));s.length!==n.length&&(i=!0,t.setAsyncValidators(s))}}}const n=()=>{};return Nt(e._rawValidators,n),Nt(e._rawAsyncValidators,n),i}function Rt(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Tt(t,e){kt(t,e)}function Ut(t,e){if(!t.hasOwnProperty("model"))return!1;const i=t.model;return!!i.isFirstChange()||!Object.is(e,i.currentValue)}function Gt(t,e){t._syncPendingControls(),e.forEach((t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)}))}function Bt(t,e){if(!e)return null;let i,n,s;return Array.isArray(e),e.forEach((t=>{var e;t.constructor===F?i=t:(e=t,Object.getPrototypeOf(e.constructor)===C?n=t:s=t)})),s||(n||(i||null))}const qt={provide:st,useExisting:n((()=>zt))},Wt=Promise.resolve();class zt extends st{get submitted(){return s(this.submittedReactive)}constructor(t,e,i){super(),this.callSetDisabledState=i,this._submitted=r((()=>this.submittedReactive())),this.submittedReactive=o(!1),this._directives=new Set,this.ngSubmit=new a,this.form=new wt({},Z(t),J(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Wt.then((()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),Mt(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)}))}getControl(t){return this.form.get(t.path)}removeControl(t){Wt.then((()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),this._directives.delete(t)}))}addFormGroup(t){Wt.then((()=>{const e=this._findContainer(t.path),i=new wt({});Tt(i,t),e.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})}))}removeFormGroup(t){Wt.then((()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)}))}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){Wt.then((()=>{this.form.get(t.path).setValue(e)}))}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),Gt(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static{this.ɵfac=function(t){return new(t||zt)(e.ɵɵdirectiveInject(I,10),e.ɵɵdirectiveInject(O,10),e.ɵɵdirectiveInject(It,8))}}static{this.ɵdir=e.ɵɵdefineDirective({type:zt,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,i){1&t&&e.ɵɵlistener("submit",(function(t){return i.onSubmit(t)}))("reset",(function(){return i.onReset()}))},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e.ɵɵProvidersFeature([qt]),e.ɵɵInheritDefinitionFeature]})}}function Lt(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}function $t(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}t("NgForm",zt);const Zt=t("FormControl",class extends Ft{constructor(t=null,e,i){super(Vt(e),bt(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),At(e)&&(e.nonNullable||e.initialValueIsDefault)&&($t(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach((t=>t(this.value,!1!==e.emitViewToModelChange))),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Lt(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Lt(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange))&&(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0)}_applyFormState(t){$t(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}),Ht=(t("UntypedFormControl",Zt),t("isFormControl",(t=>t instanceof Zt)));class Jt extends st{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return xt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(Jt)))(i||Jt)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:Jt,features:[e.ɵɵInheritDefinitionFeature]})}}t("AbstractFormGroupDirective",Jt);const Yt={provide:st,useExisting:n((()=>Kt))};class Kt extends Jt{constructor(t,e,i){super(),this.name="",this._parent=t,this._setValidators(e),this._setAsyncValidators(i)}_checkParentType(){!(this._parent instanceof Kt)&&this._parent,0}static{this.ɵfac=function(t){return new(t||Kt)(e.ɵɵdirectiveInject(st,5),e.ɵɵdirectiveInject(I,10),e.ɵɵdirectiveInject(O,10))}}static{this.ɵdir=e.ɵɵdefineDirective({type:Kt,selectors:[["","ngModelGroup",""]],inputs:{name:[0,"ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[e.ɵɵProvidersFeature([Yt]),e.ɵɵInheritDefinitionFeature]})}}t("NgModelGroup",Kt);const Qt={provide:rt,useExisting:n((()=>te))},Xt=Promise.resolve();class te extends rt{constructor(t,e,i,n,s,r){super(),this._changeDetectorRef=s,this.callSetDisabledState=r,this.control=new Zt,this._registered=!1,this.name="",this.update=new a,this._parent=t,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=Bt(0,n)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const e=t.name.previousValue;this.formDirective.removeControl({name:e,path:this._getPath(e)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),Ut(t,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(t){this.viewModel=t,this.update.emit(t)}_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(){Mt(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){0}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){Xt.then((()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()}))}_updateDisabled(t){const e=t.isDisabled.currentValue,i=0!==e&&l(e);Xt.then((()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()}))}_getPath(t){return this._parent?xt(t,this._parent):[t]}static{this.ɵfac=function(t){return new(t||te)(e.ɵɵdirectiveInject(st,9),e.ɵɵdirectiveInject(I,10),e.ɵɵdirectiveInject(O,10),e.ɵɵdirectiveInject(V,10),e.ɵɵdirectiveInject(u,8),e.ɵɵdirectiveInject(It,8))}}static{this.ɵdir=e.ɵɵdefineDirective({type:te,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[e.ɵɵProvidersFeature([Qt]),e.ɵɵInheritDefinitionFeature,e.ɵɵNgOnChangesFeature]})}}t("NgModel",te);class ee{static{this.ɵfac=function(t){return new(t||ee)}}static{this.ɵdir=e.ɵɵdefineDirective({type:ee,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}t("ɵNgNoValidate",ee);const ie={provide:V,useExisting:n((()=>ne)),multi:!0};class ne extends C{writeValue(t){const e=null==t?"":t;this.setProperty("value",e)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(ne)))(i||ne)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:ne,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,i){1&t&&e.ɵɵlistener("input",(function(t){return i.onChange(t.target.value)}))("blur",(function(){return i.onTouched()}))},features:[e.ɵɵProvidersFeature([ie]),e.ɵɵInheritDefinitionFeature]})}}t("NumberValueAccessor",ne);const se={provide:V,useExisting:n((()=>oe)),multi:!0};class re{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach((e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)}))}_isSameGroup(t,e){return!!t[0].control&&(t[0]._parent===e._control._parent&&t[1].name===e.name)}static{this.ɵfac=function(t){return new(t||re)}}static{this.ɵprov=e.ɵɵdefineInjectable({token:re,factory:re.ɵfac,providedIn:"root"})}}class oe extends C{constructor(t,e,i,n){super(t,e),this._registry=i,this._injector=n,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=c(It,{optional:!0})??Ot}ngOnInit(){this._control=this._injector.get(rt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this.setProperty("checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}setDisabledState(t){(this.setDisabledStateFired||t||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",t),this.setDisabledStateFired=!0}fireUncheck(t){this.writeValue(t)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}static{this.ɵfac=function(t){return new(t||oe)(e.ɵɵdirectiveInject(e.Renderer2),e.ɵɵdirectiveInject(e.ElementRef),e.ɵɵdirectiveInject(re),e.ɵɵdirectiveInject(e.Injector))}}static{this.ɵdir=e.ɵɵdefineDirective({type:oe,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,i){1&t&&e.ɵɵlistener("change",(function(){return i.onChange()}))("blur",(function(){return i.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[e.ɵɵProvidersFeature([se]),e.ɵɵInheritDefinitionFeature]})}}t("RadioControlValueAccessor",oe);const ae={provide:V,useExisting:n((()=>le)),multi:!0};class le extends C{writeValue(t){this.setProperty("value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(le)))(i||le)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:le,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,i){1&t&&e.ɵɵlistener("change",(function(t){return i.onChange(t.target.value)}))("input",(function(t){return i.onChange(t.target.value)}))("blur",(function(){return i.onTouched()}))},features:[e.ɵɵProvidersFeature([ae]),e.ɵɵInheritDefinitionFeature]})}}t("RangeValueAccessor",le);const ue=new i(""),ce={provide:rt,useExisting:n((()=>he))};class he extends rt{set isDisabled(t){0}static{this._ngModelWarningSentOnce=!1}constructor(t,e,i,n,s){super(),this._ngModelWarningConfig=n,this.callSetDisabledState=s,this.update=new a,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(e),this.valueAccessor=Bt(0,i)}ngOnChanges(t){if(this._isControlChanged(t)){const e=t.form.previousValue;e&&Pt(e,this,!1),Mt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Ut(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Pt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}static{this.ɵfac=function(t){return new(t||he)(e.ɵɵdirectiveInject(I,10),e.ɵɵdirectiveInject(O,10),e.ɵɵdirectiveInject(V,10),e.ɵɵdirectiveInject(ue,8),e.ɵɵdirectiveInject(It,8))}}static{this.ɵdir=e.ɵɵdefineDirective({type:he,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[e.ɵɵProvidersFeature([ce]),e.ɵɵInheritDefinitionFeature,e.ɵɵNgOnChangesFeature]})}}t("FormControlDirective",he);const de={provide:st,useExisting:n((()=>pe))};class pe extends st{get submitted(){return s(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}constructor(t,e,i){super(),this.callSetDisabledState=i,this._submitted=r((()=>this._submittedReactive())),this._submittedReactive=o(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new a,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(jt(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange((()=>{})))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return Mt(e,t,this.callSetDisabledState),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){Pt(t.control||null,t,!1),function(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this._submittedReactive.set(!0),Gt(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new yt(this.control)),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this._submittedReactive.set(!1),this.form._events.next(new Ct(this.form))}_updateDomValue(){this.directives.forEach((t=>{const e=t.control,i=this.form.get(t.path);e!==i&&(Pt(e||null,t),Ht(i)&&(Mt(i,t,this.callSetDisabledState),t.control=i))})),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);Tt(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);if(e){const i=function(t,e){return jt(t,e)}(e,t);i&&e.updateValueAndValidity({emitEvent:!1})}}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange((()=>{}))}_updateValidators(){kt(this.form,this),this._oldForm&&jt(this._oldForm,this)}_checkFormPresent(){this.form,0}static{this.ɵfac=function(t){return new(t||pe)(e.ɵɵdirectiveInject(I,10),e.ɵɵdirectiveInject(O,10),e.ɵɵdirectiveInject(It,8))}}static{this.ɵdir=e.ɵɵdefineDirective({type:pe,selectors:[["","formGroup",""]],hostBindings:function(t,i){1&t&&e.ɵɵlistener("submit",(function(t){return i.onSubmit(t)}))("reset",(function(){return i.onReset()}))},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e.ɵɵProvidersFeature([de]),e.ɵɵInheritDefinitionFeature,e.ɵɵNgOnChangesFeature]})}}t("FormGroupDirective",pe);const ge={provide:st,useExisting:n((()=>me))};class me extends Jt{constructor(t,e,i){super(),this.name=null,this._parent=t,this._setValidators(e),this._setAsyncValidators(i)}_checkParentType(){ve(this._parent),0}static{this.ɵfac=function(t){return new(t||me)(e.ɵɵdirectiveInject(st,13),e.ɵɵdirectiveInject(I,10),e.ɵɵdirectiveInject(O,10))}}static{this.ɵdir=e.ɵɵdefineDirective({type:me,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},features:[e.ɵɵProvidersFeature([ge]),e.ɵɵInheritDefinitionFeature]})}}t("FormGroupName",me);const fe={provide:st,useExisting:n((()=>_e))};class _e extends st{constructor(t,e,i){super(),this.name=null,this._parent=t,this._setValidators(e),this._setAsyncValidators(i)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return xt(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){ve(this._parent),0}static{this.ɵfac=function(t){return new(t||_e)(e.ɵɵdirectiveInject(st,13),e.ɵɵdirectiveInject(I,10),e.ɵɵdirectiveInject(O,10))}}static{this.ɵdir=e.ɵɵdefineDirective({type:_e,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},features:[e.ɵɵProvidersFeature([fe]),e.ɵɵInheritDefinitionFeature]})}}function ve(t){return!(t instanceof me||t instanceof pe||t instanceof _e)}t("FormArrayName",_e);const ye={provide:rt,useExisting:n((()=>Ce))};class Ce extends rt{set isDisabled(t){0}static{this._ngModelWarningSentOnce=!1}constructor(t,e,i,n,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new a,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=Bt(0,n)}ngOnChanges(t){this._added||this._setUpControl(),Ut(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return xt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static{this.ɵfac=function(t){return new(t||Ce)(e.ɵɵdirectiveInject(st,13),e.ɵɵdirectiveInject(I,10),e.ɵɵdirectiveInject(O,10),e.ɵɵdirectiveInject(V,10),e.ɵɵdirectiveInject(ue,8))}}static{this.ɵdir=e.ɵɵdefineDirective({type:Ce,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[e.ɵɵProvidersFeature([ye]),e.ɵɵInheritDefinitionFeature,e.ɵɵNgOnChangesFeature]})}}t("FormControlName",Ce);const Ve={provide:V,useExisting:n((()=>Ae)),multi:!0};function be(t,e){return null==t?`${e}`:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}class Ae extends C{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const e=be(this._getOptionId(t),t);this.setProperty("value",e)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of this._optionMap.keys())if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(Ae)))(i||Ae)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:Ae,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,i){1&t&&e.ɵɵlistener("change",(function(t){return i.onChange(t.target.value)}))("blur",(function(){return i.onTouched()}))},inputs:{compareWith:"compareWith"},features:[e.ɵɵProvidersFeature([Ve]),e.ɵɵInheritDefinitionFeature]})}}t("SelectControlValueAccessor",Ae);class De{constructor(t,e,i){this._element=t,this._renderer=e,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(be(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.ɵfac=function(t){return new(t||De)(e.ɵɵdirectiveInject(e.ElementRef),e.ɵɵdirectiveInject(e.Renderer2),e.ɵɵdirectiveInject(Ae,9))}}static{this.ɵdir=e.ɵɵdefineDirective({type:De,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}t("NgSelectOption",De);const Ee={provide:V,useExisting:n((()=>we)),multi:!0};function Fe(t,e){return null==t?`${e}`:("string"==typeof e&&(e=`'${e}'`),e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}class we extends C{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const i=t.map((t=>this._getOptionId(t)));e=(t,e)=>{t._setSelected(i.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const i=[],n=e.selectedOptions;if(void 0!==n){const t=n;for(let e=0;e<t.length;e++){const n=t[e],s=this._getOptionValue(n.value);i.push(s)}}else{const t=e.options;for(let e=0;e<t.length;e++){const n=t[e];if(n.selected){const t=this._getOptionValue(n.value);i.push(t)}}}this.value=i,t(i)}}_registerOption(t){const e=(this._idCounter++).toString();return this._optionMap.set(e,t),e}_getOptionId(t){for(const e of this._optionMap.keys())if(this._compareWith(this._optionMap.get(e)._value,t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(we)))(i||we)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:we,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(t,i){1&t&&e.ɵɵlistener("change",(function(t){return i.onChange(t.target)}))("blur",(function(){return i.onTouched()}))},inputs:{compareWith:"compareWith"},features:[e.ɵɵProvidersFeature([Ee]),e.ɵɵInheritDefinitionFeature]})}}t("SelectMultipleControlValueAccessor",we);class Se{constructor(t,e,i){this._element=t,this._renderer=e,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(Fe(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(Fe(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.ɵfac=function(t){return new(t||Se)(e.ɵɵdirectiveInject(e.ElementRef),e.ɵɵdirectiveInject(e.Renderer2),e.ɵɵdirectiveInject(we,9))}}static{this.ɵdir=e.ɵɵdefineDirective({type:Se,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}function Ie(t){return"number"==typeof t?t:parseInt(t,10)}function Oe(t){return"number"==typeof t?t:parseFloat(t)}t("ɵNgSelectMultipleOption",Se);class xe{constructor(){this._validator=G}ngOnChanges(t){if(this.inputName in t){const e=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(e),this._validator=this._enabled?this.createValidator(e):G,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return null!=t}static{this.ɵfac=function(t){return new(t||xe)}}static{this.ɵdir=e.ɵɵdefineDirective({type:xe,features:[e.ɵɵNgOnChangesFeature]})}}const Me={provide:I,useExisting:n((()=>Pe)),multi:!0};class Pe extends xe{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=t=>Oe(t),this.createValidator=t=>P(t)}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(Pe)))(i||Pe)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:Pe,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(t,i){2&t&&e.ɵɵattribute("max",i._enabled?i.max:null)},inputs:{max:"max"},features:[e.ɵɵProvidersFeature([Me]),e.ɵɵInheritDefinitionFeature]})}}t("MaxValidator",Pe);const Ne={provide:I,useExisting:n((()=>ke)),multi:!0};class ke extends xe{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=t=>Oe(t),this.createValidator=t=>M(t)}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(ke)))(i||ke)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:ke,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(t,i){2&t&&e.ɵɵattribute("min",i._enabled?i.min:null)},inputs:{min:"min"},features:[e.ɵɵProvidersFeature([Ne]),e.ɵɵInheritDefinitionFeature]})}}t("MinValidator",ke);const je={provide:I,useExisting:n((()=>Te)),multi:!0},Re={provide:I,useExisting:n((()=>Ue)),multi:!0};class Te extends xe{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=l,this.createValidator=t=>N}enabled(t){return t}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(Te)))(i||Te)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:Te,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,i){2&t&&e.ɵɵattribute("required",i._enabled?"":null)},inputs:{required:"required"},features:[e.ɵɵProvidersFeature([je]),e.ɵɵInheritDefinitionFeature]})}}t("RequiredValidator",Te);class Ue extends Te{constructor(){super(...arguments),this.createValidator=t=>k}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(Ue)))(i||Ue)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:Ue,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,i){2&t&&e.ɵɵattribute("required",i._enabled?"":null)},features:[e.ɵɵProvidersFeature([Re]),e.ɵɵInheritDefinitionFeature]})}}t("CheckboxRequiredValidator",Ue);const Ge={provide:I,useExisting:n((()=>Be)),multi:!0};class Be extends xe{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=l,this.createValidator=t=>j}enabled(t){return t}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(Be)))(i||Be)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:Be,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[e.ɵɵProvidersFeature([Ge]),e.ɵɵInheritDefinitionFeature]})}}t("EmailValidator",Be);const qe={provide:I,useExisting:n((()=>We)),multi:!0};class We extends xe{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=t=>Ie(t),this.createValidator=t=>R(t)}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(We)))(i||We)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:We,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(t,i){2&t&&e.ɵɵattribute("minlength",i._enabled?i.minlength:null)},inputs:{minlength:"minlength"},features:[e.ɵɵProvidersFeature([qe]),e.ɵɵInheritDefinitionFeature]})}}t("MinLengthValidator",We);const ze={provide:I,useExisting:n((()=>Le)),multi:!0};class Le extends xe{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=t=>Ie(t),this.createValidator=t=>T(t)}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(Le)))(i||Le)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:Le,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,i){2&t&&e.ɵɵattribute("maxlength",i._enabled?i.maxlength:null)},inputs:{maxlength:"maxlength"},features:[e.ɵɵProvidersFeature([ze]),e.ɵɵInheritDefinitionFeature]})}}t("MaxLengthValidator",Le);const $e={provide:I,useExisting:n((()=>Ze)),multi:!0};class Ze extends xe{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=t=>t,this.createValidator=t=>U(t)}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(Ze)))(i||Ze)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:Ze,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(t,i){2&t&&e.ɵɵattribute("pattern",i._enabled?i.pattern:null)},inputs:{pattern:"pattern"},features:[e.ɵɵProvidersFeature([$e]),e.ɵɵInheritDefinitionFeature]})}}t("PatternValidator",Ze);class He{static{this.ɵfac=function(t){return new(t||He)}}static{this.ɵmod=e.ɵɵdefineNgModule({type:He})}static{this.ɵinj=e.ɵɵdefineInjector({})}}t("ɵInternalFormsSharedModule",He);class Je extends Ft{constructor(t,e,i){super(Vt(e),bt(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,i={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(t,e={}){let i=this._adjustIndex(t);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange((()=>{})),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,i={}){let n=this._adjustIndex(t);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange((()=>{})),this.controls.splice(n,1),e&&(this.controls.splice(n,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){Et(this,0,t),t.forEach(((t,i)=>{Dt(this,!1,i),this.at(i).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach(((t,i)=>{this.at(i)&&this.at(i).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild(((i,n)=>{i.reset(t[n],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map((t=>t.getRawValue()))}clear(t={}){this.controls.length<1||(this._forEachChild((t=>t._registerOnCollectionChange((()=>{})))),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce(((t,e)=>!!e._syncPendingControls()||t),!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach(((e,i)=>{t(e,i)}))}_updateValue(){this.value=this.controls.filter((t=>t.enabled||this.disabled)).map((t=>t.value))}_anyControls(t){return this.controls.some((e=>e.enabled&&t(e)))}_setUpControls(){this._forEachChild((t=>this._registerControl(t)))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}}t("FormArray",Je);t("UntypedFormArray",Je),t("isFormArray",(t=>t instanceof Je));function Ye(t){return!!t&&(void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn)}class Ke{constructor(){this.useNonNullable=!1}get nonNullable(){const t=new Ke;return t.useNonNullable=!0,t}group(t,e=null){const i=this._reduceControls(t);let n={};return Ye(e)?n=e:null!==e&&(n.validators=e.validator,n.asyncValidators=e.asyncValidator),new wt(i,n)}record(t,e=null){const i=this._reduceControls(t);return new St(i,e)}control(t,e,i){let n={};return this.useNonNullable?(Ye(e)?n=e:(n.validators=e,n.asyncValidators=i),new Zt(t,{...n,nonNullable:!0})):new Zt(t,e,i)}array(t,e,i){const n=t.map((t=>this._createControl(t)));return new Je(n,e,i)}_reduceControls(t){const e={};return Object.keys(t).forEach((i=>{e[i]=this._createControl(t[i])})),e}_createControl(t){if(t instanceof Zt)return t;if(t instanceof Ft)return t;if(Array.isArray(t)){const e=t[0],i=t.length>1?t[1]:null,n=t.length>2?t[2]:null;return this.control(e,i,n)}return this.control(t)}static{this.ɵfac=function(t){return new(t||Ke)}}static{this.ɵprov=e.ɵɵdefineInjectable({token:Ke,factory:Ke.ɵfac,providedIn:"root"})}}t("FormBuilder",Ke);class Qe{static{this.ɵfac=function(t){return new(t||Qe)}}static{this.ɵprov=e.ɵɵdefineInjectable({token:Qe,factory:()=>c(Ke).nonNullable,providedIn:"root"})}}t("NonNullableFormBuilder",Qe);class Xe extends Ke{group(t,e=null){return super.group(t,e)}control(t,e,i){return super.control(t,e,i)}array(t,e,i){return super.array(t,e,i)}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(Xe)))(i||Xe)}})()}static{this.ɵprov=e.ɵɵdefineInjectable({token:Xe,factory:Xe.ɵfac,providedIn:"root"})}}t("UntypedFormBuilder",Xe);t("VERSION",new d("18.2.10"));class ti{static withConfig(t){return{ngModule:ti,providers:[{provide:It,useValue:t.callSetDisabledState??Ot}]}}static{this.ɵfac=function(t){return new(t||ti)}}static{this.ɵmod=e.ɵɵdefineNgModule({type:ti})}static{this.ɵinj=e.ɵɵdefineInjector({imports:[He]})}}t("FormsModule",ti);class ei{static withConfig(t){return{ngModule:ei,providers:[{provide:ue,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:It,useValue:t.callSetDisabledState??Ot}]}}static{this.ɵfac=function(t){return new(t||ei)}}static{this.ɵmod=e.ɵɵdefineNgModule({type:ei})}static{this.ɵinj=e.ɵɵdefineInjector({imports:[He]})}}t("ReactiveFormsModule",ei)}}}));
/* esm-bundle - @angular/forms@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(["@angular/core","@angular/common","rxjs","rxjs/operators"],(function(t){"use strict";var e,i,n,s,r,o,a,l,u,c,h,d,p,g,m,f,_,v;return{setters:[function(t){e=t,t.Directive,i=t.InjectionToken,n=t.forwardRef,t.Optional,t.Inject,t.Self,s=t.untracked,r=t.computed,o=t.signal,a=t.EventEmitter,t.Input,t.Host,t.SkipSelf,l=t.booleanAttribute,u=t.ChangeDetectorRef,t.Output,t.Injectable,c=t.inject,h=t.ɵRuntimeError,t.NgModule,d=t.Version,p=t.ɵisPromise,t.ɵisSubscribable},function(t){g=t.ɵgetDOM},function(t){m=t.forkJoin,f=t.Subject,_=t.from},function(t){v=t.map}],execute:function(){class y{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}setProperty(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static{this.ɵfac=function(t){return new(t||y)(e.ɵɵdirectiveInject(e.Renderer2),e.ɵɵdirectiveInject(e.ElementRef))}}static{this.ɵdir=e.ɵɵdefineDirective({type:y})}}class C extends y{static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(C)))(i||C)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:C,features:[e.ɵɵInheritDefinitionFeature]})}}const V=t("NG_VALUE_ACCESSOR",new i("")),b={provide:V,useExisting:n((()=>A)),multi:!0};class A extends C{writeValue(t){this.setProperty("checked",t)}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(A)))(i||A)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:A,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,i){1&t&&e.ɵɵlistener("change",(function(t){return i.onChange(t.target.checked)}))("blur",(function(){return i.onTouched()}))},features:[e.ɵɵProvidersFeature([b]),e.ɵɵInheritDefinitionFeature]})}}t("CheckboxControlValueAccessor",A);const D={provide:V,useExisting:n((()=>F)),multi:!0};const E=t("COMPOSITION_BUFFER_MODE",new i(""));class F extends y{constructor(t,e,i){super(t,e),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=g()?g().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){const e=null==t?"":t;this.setProperty("value",e)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static{this.ɵfac=function(t){return new(t||F)(e.ɵɵdirectiveInject(e.Renderer2),e.ɵɵdirectiveInject(e.ElementRef),e.ɵɵdirectiveInject(E,8))}}static{this.ɵdir=e.ɵɵdefineDirective({type:F,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(t,i){1&t&&e.ɵɵlistener("input",(function(t){return i._handleInput(t.target.value)}))("blur",(function(){return i.onTouched()}))("compositionstart",(function(){return i._compositionStart()}))("compositionend",(function(t){return i._compositionEnd(t.target.value)}))},features:[e.ɵɵProvidersFeature([D]),e.ɵɵInheritDefinitionFeature]})}}function w(t){return null==t||("string"==typeof t||Array.isArray(t))&&0===t.length}function S(t){return null!=t&&"number"==typeof t.length}t("DefaultValueAccessor",F);const I=t("NG_VALIDATORS",new i("")),O=t("NG_ASYNC_VALIDATORS",new i("")),x=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;function M(t){return e=>{if(w(e.value)||w(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i<t?{min:{min:t,actual:e.value}}:null}}function P(t){return e=>{if(w(e.value)||w(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i>t?{max:{max:t,actual:e.value}}:null}}function N(t){return w(t.value)?{required:!0}:null}function k(t){return!0===t.value?null:{required:!0}}function j(t){return w(t.value)||x.test(t.value)?null:{email:!0}}function R(t){return e=>w(e.value)||!S(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}function T(t){return e=>S(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function U(t){if(!t)return G;let e,i;return"string"==typeof t?(i="","^"!==t.charAt(0)&&(i+="^"),i+=t,"$"!==t.charAt(t.length-1)&&(i+="$"),e=new RegExp(i)):(i=t.toString(),e=t),t=>{if(w(t.value))return null;const n=t.value;return e.test(n)?null:{pattern:{requiredPattern:i,actualValue:n}}}}function G(t){return null}function B(t){return null!=t}function q(t){const e=p(t)?_(t):t;return e}function W(t){let e={};return t.forEach((t=>{e=null!=t?{...e,...t}:e})),0===Object.keys(e).length?null:e}function z(t,e){return e.map((e=>e(t)))}function L(t){return t.map((t=>function(t){return!t.validate}(t)?t:e=>t.validate(e)))}function $(t){if(!t)return null;const e=t.filter(B);return 0==e.length?null:function(t){return W(z(t,e))}}function Z(t){return null!=t?$(L(t)):null}function H(t){if(!t)return null;const e=t.filter(B);return 0==e.length?null:function(t){const i=z(t,e).map(q);return m(i).pipe(v(W))}}function J(t){return null!=t?H(L(t)):null}function Y(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function K(t){return t._rawValidators}function Q(t){return t._rawAsyncValidators}function X(t){return t?Array.isArray(t)?t:[t]:[]}function tt(t,e){return Array.isArray(t)?t.includes(e):t===e}function et(t,e){const i=X(e);return X(t).forEach((t=>{tt(i,t)||i.push(t)})),i}function it(t,e){return X(e).filter((e=>!tt(t,e)))}t("Validators",class{static min(t){return M(t)}static max(t){return P(t)}static required(t){return N(t)}static requiredTrue(t){return k(t)}static email(t){return j(t)}static minLength(t){return R(t)}static maxLength(t){return T(t)}static pattern(t){return U(t)}static nullValidator(t){return null}static compose(t){return $(t)}static composeAsync(t){return H(t)}});class nt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Z(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=J(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach((t=>t())),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}t("AbstractControlDirective",nt);class st extends nt{get formDirective(){return null}get path(){return null}}t("ControlContainer",st);class rt extends nt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}t("NgControl",rt);class ot{constructor(t){this._cd=t}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}}const at={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"};class lt extends ot{constructor(t){super(t)}static{this.ɵfac=function(t){return new(t||lt)(e.ɵɵdirectiveInject(rt,2))}}static{this.ɵdir=e.ɵɵdefineDirective({type:lt,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,i){2&t&&e.ɵɵclassProp("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[e.ɵɵInheritDefinitionFeature]})}}t("NgControlStatus",lt);class ut extends ot{constructor(t){super(t)}static{this.ɵfac=function(t){return new(t||ut)(e.ɵɵdirectiveInject(st,10))}}static{this.ɵdir=e.ɵɵdefineDirective({type:ut,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,i){2&t&&e.ɵɵclassProp("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[e.ɵɵInheritDefinitionFeature]})}}t("NgControlStatusGroup",ut);const ct="VALID",ht="INVALID",dt="PENDING",pt="DISABLED";class gt{}t("ControlEvent",gt);class mt extends gt{constructor(t,e){super(),this.value=t,this.source=e}}t("ValueChangeEvent",mt);class ft extends gt{constructor(t,e){super(),this.pristine=t,this.source=e}}t("PristineChangeEvent",ft);class _t extends gt{constructor(t,e){super(),this.touched=t,this.source=e}}t("TouchedChangeEvent",_t);class vt extends gt{constructor(t,e){super(),this.status=t,this.source=e}}t("StatusChangeEvent",vt);class yt extends gt{constructor(t){super(),this.source=t}}t("FormSubmittedEvent",yt);class Ct extends gt{constructor(t){super(),this.source=t}}function Vt(t){return(At(t)?t.validators:t)||null}function bt(t,e){return(At(e)?e.asyncValidators:t)||null}function At(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}function Dt(t,e,i){const n=t.controls;if(!(e?Object.keys(n):n).length)throw new h(1e3,"");if(!n[i])throw new h(1001,"")}function Et(t,e,i){t._forEachChild(((t,e)=>{if(void 0===i[e])throw new h(1002,"")}))}t("FormResetEvent",Ct);class Ft{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=r((()=>this.statusReactive())),this.statusReactive=o(void 0),this._pristine=r((()=>this.pristineReactive())),this.pristineReactive=o(!0),this._touched=r((()=>this.touchedReactive())),this.touchedReactive=o(!1),this._events=new f,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return s(this.statusReactive)}set status(t){s((()=>this.statusReactive.set(t)))}get valid(){return this.status===ct}get invalid(){return this.status===ht}get pending(){return this.status==dt}get disabled(){return this.status===pt}get enabled(){return this.status!==pt}get pristine(){return s(this.pristineReactive)}set pristine(t){s((()=>this.pristineReactive.set(t)))}get dirty(){return!this.pristine}get touched(){return s(this.touchedReactive)}set touched(t){s((()=>this.touchedReactive.set(t)))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(et(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(et(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(it(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(it(t,this._rawAsyncValidators))}hasValidator(t){return tt(this._rawValidators,t)}hasAsyncValidator(t){return tt(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){const e=!1===this.touched;this.touched=!0;const i=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched({...t,sourceControl:i}),e&&!1!==t.emitEvent&&this._events.next(new _t(!0,i))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild((e=>e.markAllAsTouched(t)))}markAsUntouched(t={}){const e=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const i=t.sourceControl??this;this._forEachChild((e=>{e.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:i})})),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,i),e&&!1!==t.emitEvent&&this._events.next(new _t(!1,i))}markAsDirty(t={}){const e=!0===this.pristine;this.pristine=!1;const i=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty({...t,sourceControl:i}),e&&!1!==t.emitEvent&&this._events.next(new ft(!1,i))}markAsPristine(t={}){const e=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const i=t.sourceControl??this;this._forEachChild((e=>{e.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})})),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,i),e&&!1!==t.emitEvent&&this._events.next(new ft(!0,i))}markAsPending(t={}){this.status=dt;const e=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new vt(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending({...t,sourceControl:e})}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=pt,this.errors=null,this._forEachChild((e=>{e.disable({...t,onlySelf:!0})})),this._updateValue();const i=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new mt(this.value,i)),this._events.next(new vt(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e},this),this._onDisabledChange.forEach((t=>t(!0)))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=ct,this._forEachChild((e=>{e.enable({...t,onlySelf:!0})})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:e},this),this._onDisabledChange.forEach((t=>t(!1)))}_updateAncestors(t,e){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const e=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==ct&&this.status!==dt||this._runAsyncValidator(e,t.emitEvent)}const e=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new mt(this.value,e)),this._events.next(new vt(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity({...t,sourceControl:e})}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild((e=>e._updateTreeValidity(t))),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?pt:ct}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,e){if(this.asyncValidator){this.status=dt,this._hasOwnPendingAsyncValidator={emitEvent:!1!==e};const i=q(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe((i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:e,shouldHaveEmitted:t})}))}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const t=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent,this,e.shouldHaveEmitted)}get(t){let e=t;return null==e?null:(Array.isArray(e)||(e=e.split(".")),0===e.length?null:e.reduce(((t,e)=>t&&t._find(e)),this))}getError(t,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,e,i){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||i)&&this._events.next(new vt(this.status,e)),this._parent&&this._parent._updateControlsErrors(t,e,i)}_initObservables(){this.valueChanges=new a,this.statusChanges=new a}_calculateStatus(){return this._allControlsDisabled()?pt:this.errors?ht:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(dt)?dt:this._anyControlsHaveStatus(ht)?ht:ct}_anyControlsHaveStatus(t){return this._anyControls((e=>e.status===t))}_anyControlsDirty(){return this._anyControls((t=>t.dirty))}_anyControlsTouched(){return this._anyControls((t=>t.touched))}_updatePristine(t,e){const i=!this._anyControlsDirty(),n=this.pristine!==i;this.pristine=i,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,e),n&&this._events.next(new ft(this.pristine,e))}_updateTouched(t={},e){this.touched=this._anyControlsTouched(),this._events.next(new _t(this.touched,e)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,e)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){At(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){const e=this._parent&&this._parent.dirty;return!t&&!!e&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){var e;this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=(e=this._rawValidators,Array.isArray(e)?Z(e):e||null)}_assignAsyncValidators(t){var e;this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=(e=this._rawAsyncValidators,Array.isArray(e)?J(e):e||null)}}t("AbstractControl",Ft);class wt extends Ft{constructor(t,e,i){super(Vt(e),bt(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange((()=>{})),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange((()=>{})),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){Et(this,0,t),Object.keys(t).forEach((i=>{Dt(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach((i=>{const n=this.controls[i];n&&n.patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild(((i,n)=>{i.reset(t?t[n]:null,{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},((t,e,i)=>(t[i]=e.getRawValue(),t)))}_syncPendingControls(){let t=this._reduceChildren(!1,((t,e)=>!!e._syncPendingControls()||t));return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach((e=>{const i=this.controls[e];i&&t(i,e)}))}_setUpControls(){this._forEachChild((t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}))}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&t(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},((t,e,i)=>((e.enabled||this.disabled)&&(t[i]=e.value),t)))}_reduceChildren(t,e){let i=t;return this._forEachChild(((t,n)=>{i=e(i,t,n)})),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}t("FormGroup",wt);t("UntypedFormGroup",wt),t("isFormGroup",(t=>t instanceof wt));class St extends wt{}t("FormRecord",St);t("isFormRecord",(t=>t instanceof St));const It=new i("CallSetDisabledState",{providedIn:"root",factory:()=>Ot}),Ot="always";function xt(t,e){return[...e.path,t]}function Mt(t,e,i=Ot){kt(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||"always"===i)&&e.valueAccessor.setDisabledState?.(t.disabled),function(t,e){e.valueAccessor.registerOnChange((i=>{t._pendingValue=i,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Rt(t,e)}))}(t,e),function(t,e){const i=(t,i)=>{e.valueAccessor.writeValue(t),i&&e.viewToModelUpdate(t)};t.registerOnChange(i),e._registerOnDestroy((()=>{t._unregisterOnChange(i)}))}(t,e),function(t,e){e.valueAccessor.registerOnTouched((()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Rt(t,e),"submit"!==t.updateOn&&t.markAsTouched()}))}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const i=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(i),e._registerOnDestroy((()=>{t._unregisterOnDisabledChange(i)}))}}(t,e)}function Pt(t,e,i=!0){const n=()=>{0};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),jt(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange((()=>{})))}function Nt(t,e){t.forEach((t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)}))}function kt(t,e){const i=K(t);null!==e.validator?t.setValidators(Y(i,e.validator)):"function"==typeof i&&t.setValidators([i]);const n=Q(t);null!==e.asyncValidator?t.setAsyncValidators(Y(n,e.asyncValidator)):"function"==typeof n&&t.setAsyncValidators([n]);const s=()=>t.updateValueAndValidity();Nt(e._rawValidators,s),Nt(e._rawAsyncValidators,s)}function jt(t,e){let i=!1;if(null!==t){if(null!==e.validator){const n=K(t);if(Array.isArray(n)&&n.length>0){const s=n.filter((t=>t!==e.validator));s.length!==n.length&&(i=!0,t.setValidators(s))}}if(null!==e.asyncValidator){const n=Q(t);if(Array.isArray(n)&&n.length>0){const s=n.filter((t=>t!==e.asyncValidator));s.length!==n.length&&(i=!0,t.setAsyncValidators(s))}}}const n=()=>{};return Nt(e._rawValidators,n),Nt(e._rawAsyncValidators,n),i}function Rt(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Tt(t,e){kt(t,e)}function Ut(t,e){if(!t.hasOwnProperty("model"))return!1;const i=t.model;return!!i.isFirstChange()||!Object.is(e,i.currentValue)}function Gt(t,e){t._syncPendingControls(),e.forEach((t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)}))}function Bt(t,e){if(!e)return null;let i,n,s;return Array.isArray(e),e.forEach((t=>{var e;t.constructor===F?i=t:(e=t,Object.getPrototypeOf(e.constructor)===C?n=t:s=t)})),s||(n||(i||null))}const qt={provide:st,useExisting:n((()=>zt))},Wt=Promise.resolve();class zt extends st{get submitted(){return s(this.submittedReactive)}constructor(t,e,i){super(),this.callSetDisabledState=i,this._submitted=r((()=>this.submittedReactive())),this.submittedReactive=o(!1),this._directives=new Set,this.ngSubmit=new a,this.form=new wt({},Z(t),J(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Wt.then((()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),Mt(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)}))}getControl(t){return this.form.get(t.path)}removeControl(t){Wt.then((()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),this._directives.delete(t)}))}addFormGroup(t){Wt.then((()=>{const e=this._findContainer(t.path),i=new wt({});Tt(i,t),e.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})}))}removeFormGroup(t){Wt.then((()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)}))}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){Wt.then((()=>{this.form.get(t.path).setValue(e)}))}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),Gt(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static{this.ɵfac=function(t){return new(t||zt)(e.ɵɵdirectiveInject(I,10),e.ɵɵdirectiveInject(O,10),e.ɵɵdirectiveInject(It,8))}}static{this.ɵdir=e.ɵɵdefineDirective({type:zt,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,i){1&t&&e.ɵɵlistener("submit",(function(t){return i.onSubmit(t)}))("reset",(function(){return i.onReset()}))},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e.ɵɵProvidersFeature([qt]),e.ɵɵInheritDefinitionFeature]})}}function Lt(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}function $t(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}t("NgForm",zt);const Zt=t("FormControl",class extends Ft{constructor(t=null,e,i){super(Vt(e),bt(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),At(e)&&(e.nonNullable||e.initialValueIsDefault)&&($t(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach((t=>t(this.value,!1!==e.emitViewToModelChange))),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Lt(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Lt(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange))&&(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0)}_applyFormState(t){$t(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}),Ht=(t("UntypedFormControl",Zt),t("isFormControl",(t=>t instanceof Zt)));class Jt extends st{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return xt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(Jt)))(i||Jt)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:Jt,features:[e.ɵɵInheritDefinitionFeature]})}}t("AbstractFormGroupDirective",Jt);const Yt={provide:st,useExisting:n((()=>Kt))};class Kt extends Jt{constructor(t,e,i){super(),this.name="",this._parent=t,this._setValidators(e),this._setAsyncValidators(i)}_checkParentType(){!(this._parent instanceof Kt)&&this._parent,0}static{this.ɵfac=function(t){return new(t||Kt)(e.ɵɵdirectiveInject(st,5),e.ɵɵdirectiveInject(I,10),e.ɵɵdirectiveInject(O,10))}}static{this.ɵdir=e.ɵɵdefineDirective({type:Kt,selectors:[["","ngModelGroup",""]],inputs:{name:[0,"ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[e.ɵɵProvidersFeature([Yt]),e.ɵɵInheritDefinitionFeature]})}}t("NgModelGroup",Kt);const Qt={provide:rt,useExisting:n((()=>te))},Xt=Promise.resolve();class te extends rt{constructor(t,e,i,n,s,r){super(),this._changeDetectorRef=s,this.callSetDisabledState=r,this.control=new Zt,this._registered=!1,this.name="",this.update=new a,this._parent=t,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=Bt(0,n)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const e=t.name.previousValue;this.formDirective.removeControl({name:e,path:this._getPath(e)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),Ut(t,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(t){this.viewModel=t,this.update.emit(t)}_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(){Mt(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){0}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){Xt.then((()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()}))}_updateDisabled(t){const e=t.isDisabled.currentValue,i=0!==e&&l(e);Xt.then((()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()}))}_getPath(t){return this._parent?xt(t,this._parent):[t]}static{this.ɵfac=function(t){return new(t||te)(e.ɵɵdirectiveInject(st,9),e.ɵɵdirectiveInject(I,10),e.ɵɵdirectiveInject(O,10),e.ɵɵdirectiveInject(V,10),e.ɵɵdirectiveInject(u,8),e.ɵɵdirectiveInject(It,8))}}static{this.ɵdir=e.ɵɵdefineDirective({type:te,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[e.ɵɵProvidersFeature([Qt]),e.ɵɵInheritDefinitionFeature,e.ɵɵNgOnChangesFeature]})}}t("NgModel",te);class ee{static{this.ɵfac=function(t){return new(t||ee)}}static{this.ɵdir=e.ɵɵdefineDirective({type:ee,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}t("ɵNgNoValidate",ee);const ie={provide:V,useExisting:n((()=>ne)),multi:!0};class ne extends C{writeValue(t){const e=null==t?"":t;this.setProperty("value",e)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(ne)))(i||ne)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:ne,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,i){1&t&&e.ɵɵlistener("input",(function(t){return i.onChange(t.target.value)}))("blur",(function(){return i.onTouched()}))},features:[e.ɵɵProvidersFeature([ie]),e.ɵɵInheritDefinitionFeature]})}}t("NumberValueAccessor",ne);const se={provide:V,useExisting:n((()=>oe)),multi:!0};class re{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach((e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)}))}_isSameGroup(t,e){return!!t[0].control&&(t[0]._parent===e._control._parent&&t[1].name===e.name)}static{this.ɵfac=function(t){return new(t||re)}}static{this.ɵprov=e.ɵɵdefineInjectable({token:re,factory:re.ɵfac,providedIn:"root"})}}class oe extends C{constructor(t,e,i,n){super(t,e),this._registry=i,this._injector=n,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=c(It,{optional:!0})??Ot}ngOnInit(){this._control=this._injector.get(rt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this.setProperty("checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}setDisabledState(t){(this.setDisabledStateFired||t||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",t),this.setDisabledStateFired=!0}fireUncheck(t){this.writeValue(t)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}static{this.ɵfac=function(t){return new(t||oe)(e.ɵɵdirectiveInject(e.Renderer2),e.ɵɵdirectiveInject(e.ElementRef),e.ɵɵdirectiveInject(re),e.ɵɵdirectiveInject(e.Injector))}}static{this.ɵdir=e.ɵɵdefineDirective({type:oe,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,i){1&t&&e.ɵɵlistener("change",(function(){return i.onChange()}))("blur",(function(){return i.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[e.ɵɵProvidersFeature([se]),e.ɵɵInheritDefinitionFeature]})}}t("RadioControlValueAccessor",oe);const ae={provide:V,useExisting:n((()=>le)),multi:!0};class le extends C{writeValue(t){this.setProperty("value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(le)))(i||le)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:le,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,i){1&t&&e.ɵɵlistener("change",(function(t){return i.onChange(t.target.value)}))("input",(function(t){return i.onChange(t.target.value)}))("blur",(function(){return i.onTouched()}))},features:[e.ɵɵProvidersFeature([ae]),e.ɵɵInheritDefinitionFeature]})}}t("RangeValueAccessor",le);const ue=new i(""),ce={provide:rt,useExisting:n((()=>he))};class he extends rt{set isDisabled(t){0}static{this._ngModelWarningSentOnce=!1}constructor(t,e,i,n,s){super(),this._ngModelWarningConfig=n,this.callSetDisabledState=s,this.update=new a,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(e),this.valueAccessor=Bt(0,i)}ngOnChanges(t){if(this._isControlChanged(t)){const e=t.form.previousValue;e&&Pt(e,this,!1),Mt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Ut(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Pt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}static{this.ɵfac=function(t){return new(t||he)(e.ɵɵdirectiveInject(I,10),e.ɵɵdirectiveInject(O,10),e.ɵɵdirectiveInject(V,10),e.ɵɵdirectiveInject(ue,8),e.ɵɵdirectiveInject(It,8))}}static{this.ɵdir=e.ɵɵdefineDirective({type:he,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[e.ɵɵProvidersFeature([ce]),e.ɵɵInheritDefinitionFeature,e.ɵɵNgOnChangesFeature]})}}t("FormControlDirective",he);const de={provide:st,useExisting:n((()=>pe))};class pe extends st{get submitted(){return s(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}constructor(t,e,i){super(),this.callSetDisabledState=i,this._submitted=r((()=>this._submittedReactive())),this._submittedReactive=o(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new a,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(jt(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange((()=>{})))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return Mt(e,t,this.callSetDisabledState),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){Pt(t.control||null,t,!1),function(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this._submittedReactive.set(!0),Gt(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new yt(this.control)),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this._submittedReactive.set(!1),this.form._events.next(new Ct(this.form))}_updateDomValue(){this.directives.forEach((t=>{const e=t.control,i=this.form.get(t.path);e!==i&&(Pt(e||null,t),Ht(i)&&(Mt(i,t,this.callSetDisabledState),t.control=i))})),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);Tt(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);if(e){const i=function(t,e){return jt(t,e)}(e,t);i&&e.updateValueAndValidity({emitEvent:!1})}}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange((()=>{}))}_updateValidators(){kt(this.form,this),this._oldForm&&jt(this._oldForm,this)}_checkFormPresent(){this.form,0}static{this.ɵfac=function(t){return new(t||pe)(e.ɵɵdirectiveInject(I,10),e.ɵɵdirectiveInject(O,10),e.ɵɵdirectiveInject(It,8))}}static{this.ɵdir=e.ɵɵdefineDirective({type:pe,selectors:[["","formGroup",""]],hostBindings:function(t,i){1&t&&e.ɵɵlistener("submit",(function(t){return i.onSubmit(t)}))("reset",(function(){return i.onReset()}))},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e.ɵɵProvidersFeature([de]),e.ɵɵInheritDefinitionFeature,e.ɵɵNgOnChangesFeature]})}}t("FormGroupDirective",pe);const ge={provide:st,useExisting:n((()=>me))};class me extends Jt{constructor(t,e,i){super(),this.name=null,this._parent=t,this._setValidators(e),this._setAsyncValidators(i)}_checkParentType(){ve(this._parent),0}static{this.ɵfac=function(t){return new(t||me)(e.ɵɵdirectiveInject(st,13),e.ɵɵdirectiveInject(I,10),e.ɵɵdirectiveInject(O,10))}}static{this.ɵdir=e.ɵɵdefineDirective({type:me,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},features:[e.ɵɵProvidersFeature([ge]),e.ɵɵInheritDefinitionFeature]})}}t("FormGroupName",me);const fe={provide:st,useExisting:n((()=>_e))};class _e extends st{constructor(t,e,i){super(),this.name=null,this._parent=t,this._setValidators(e),this._setAsyncValidators(i)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return xt(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){ve(this._parent),0}static{this.ɵfac=function(t){return new(t||_e)(e.ɵɵdirectiveInject(st,13),e.ɵɵdirectiveInject(I,10),e.ɵɵdirectiveInject(O,10))}}static{this.ɵdir=e.ɵɵdefineDirective({type:_e,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},features:[e.ɵɵProvidersFeature([fe]),e.ɵɵInheritDefinitionFeature]})}}function ve(t){return!(t instanceof me||t instanceof pe||t instanceof _e)}t("FormArrayName",_e);const ye={provide:rt,useExisting:n((()=>Ce))};class Ce extends rt{set isDisabled(t){0}static{this._ngModelWarningSentOnce=!1}constructor(t,e,i,n,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new a,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=Bt(0,n)}ngOnChanges(t){this._added||this._setUpControl(),Ut(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return xt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static{this.ɵfac=function(t){return new(t||Ce)(e.ɵɵdirectiveInject(st,13),e.ɵɵdirectiveInject(I,10),e.ɵɵdirectiveInject(O,10),e.ɵɵdirectiveInject(V,10),e.ɵɵdirectiveInject(ue,8))}}static{this.ɵdir=e.ɵɵdefineDirective({type:Ce,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[e.ɵɵProvidersFeature([ye]),e.ɵɵInheritDefinitionFeature,e.ɵɵNgOnChangesFeature]})}}t("FormControlName",Ce);const Ve={provide:V,useExisting:n((()=>Ae)),multi:!0};function be(t,e){return null==t?`${e}`:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}class Ae extends C{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const e=be(this._getOptionId(t),t);this.setProperty("value",e)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of this._optionMap.keys())if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(Ae)))(i||Ae)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:Ae,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,i){1&t&&e.ɵɵlistener("change",(function(t){return i.onChange(t.target.value)}))("blur",(function(){return i.onTouched()}))},inputs:{compareWith:"compareWith"},features:[e.ɵɵProvidersFeature([Ve]),e.ɵɵInheritDefinitionFeature]})}}t("SelectControlValueAccessor",Ae);class De{constructor(t,e,i){this._element=t,this._renderer=e,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(be(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.ɵfac=function(t){return new(t||De)(e.ɵɵdirectiveInject(e.ElementRef),e.ɵɵdirectiveInject(e.Renderer2),e.ɵɵdirectiveInject(Ae,9))}}static{this.ɵdir=e.ɵɵdefineDirective({type:De,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}t("NgSelectOption",De);const Ee={provide:V,useExisting:n((()=>we)),multi:!0};function Fe(t,e){return null==t?`${e}`:("string"==typeof e&&(e=`'${e}'`),e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}class we extends C{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const i=t.map((t=>this._getOptionId(t)));e=(t,e)=>{t._setSelected(i.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const i=[],n=e.selectedOptions;if(void 0!==n){const t=n;for(let e=0;e<t.length;e++){const n=t[e],s=this._getOptionValue(n.value);i.push(s)}}else{const t=e.options;for(let e=0;e<t.length;e++){const n=t[e];if(n.selected){const t=this._getOptionValue(n.value);i.push(t)}}}this.value=i,t(i)}}_registerOption(t){const e=(this._idCounter++).toString();return this._optionMap.set(e,t),e}_getOptionId(t){for(const e of this._optionMap.keys())if(this._compareWith(this._optionMap.get(e)._value,t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(we)))(i||we)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:we,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(t,i){1&t&&e.ɵɵlistener("change",(function(t){return i.onChange(t.target)}))("blur",(function(){return i.onTouched()}))},inputs:{compareWith:"compareWith"},features:[e.ɵɵProvidersFeature([Ee]),e.ɵɵInheritDefinitionFeature]})}}t("SelectMultipleControlValueAccessor",we);class Se{constructor(t,e,i){this._element=t,this._renderer=e,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(Fe(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(Fe(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.ɵfac=function(t){return new(t||Se)(e.ɵɵdirectiveInject(e.ElementRef),e.ɵɵdirectiveInject(e.Renderer2),e.ɵɵdirectiveInject(we,9))}}static{this.ɵdir=e.ɵɵdefineDirective({type:Se,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}function Ie(t){return"number"==typeof t?t:parseInt(t,10)}function Oe(t){return"number"==typeof t?t:parseFloat(t)}t("ɵNgSelectMultipleOption",Se);class xe{constructor(){this._validator=G}ngOnChanges(t){if(this.inputName in t){const e=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(e),this._validator=this._enabled?this.createValidator(e):G,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return null!=t}static{this.ɵfac=function(t){return new(t||xe)}}static{this.ɵdir=e.ɵɵdefineDirective({type:xe,features:[e.ɵɵNgOnChangesFeature]})}}const Me={provide:I,useExisting:n((()=>Pe)),multi:!0};class Pe extends xe{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=t=>Oe(t),this.createValidator=t=>P(t)}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(Pe)))(i||Pe)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:Pe,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(t,i){2&t&&e.ɵɵattribute("max",i._enabled?i.max:null)},inputs:{max:"max"},features:[e.ɵɵProvidersFeature([Me]),e.ɵɵInheritDefinitionFeature]})}}t("MaxValidator",Pe);const Ne={provide:I,useExisting:n((()=>ke)),multi:!0};class ke extends xe{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=t=>Oe(t),this.createValidator=t=>M(t)}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(ke)))(i||ke)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:ke,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(t,i){2&t&&e.ɵɵattribute("min",i._enabled?i.min:null)},inputs:{min:"min"},features:[e.ɵɵProvidersFeature([Ne]),e.ɵɵInheritDefinitionFeature]})}}t("MinValidator",ke);const je={provide:I,useExisting:n((()=>Te)),multi:!0},Re={provide:I,useExisting:n((()=>Ue)),multi:!0};class Te extends xe{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=l,this.createValidator=t=>N}enabled(t){return t}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(Te)))(i||Te)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:Te,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,i){2&t&&e.ɵɵattribute("required",i._enabled?"":null)},inputs:{required:"required"},features:[e.ɵɵProvidersFeature([je]),e.ɵɵInheritDefinitionFeature]})}}t("RequiredValidator",Te);class Ue extends Te{constructor(){super(...arguments),this.createValidator=t=>k}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(Ue)))(i||Ue)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:Ue,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,i){2&t&&e.ɵɵattribute("required",i._enabled?"":null)},features:[e.ɵɵProvidersFeature([Re]),e.ɵɵInheritDefinitionFeature]})}}t("CheckboxRequiredValidator",Ue);const Ge={provide:I,useExisting:n((()=>Be)),multi:!0};class Be extends xe{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=l,this.createValidator=t=>j}enabled(t){return t}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(Be)))(i||Be)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:Be,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[e.ɵɵProvidersFeature([Ge]),e.ɵɵInheritDefinitionFeature]})}}t("EmailValidator",Be);const qe={provide:I,useExisting:n((()=>We)),multi:!0};class We extends xe{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=t=>Ie(t),this.createValidator=t=>R(t)}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(We)))(i||We)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:We,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(t,i){2&t&&e.ɵɵattribute("minlength",i._enabled?i.minlength:null)},inputs:{minlength:"minlength"},features:[e.ɵɵProvidersFeature([qe]),e.ɵɵInheritDefinitionFeature]})}}t("MinLengthValidator",We);const ze={provide:I,useExisting:n((()=>Le)),multi:!0};class Le extends xe{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=t=>Ie(t),this.createValidator=t=>T(t)}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(Le)))(i||Le)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:Le,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,i){2&t&&e.ɵɵattribute("maxlength",i._enabled?i.maxlength:null)},inputs:{maxlength:"maxlength"},features:[e.ɵɵProvidersFeature([ze]),e.ɵɵInheritDefinitionFeature]})}}t("MaxLengthValidator",Le);const $e={provide:I,useExisting:n((()=>Ze)),multi:!0};class Ze extends xe{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=t=>t,this.createValidator=t=>U(t)}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(Ze)))(i||Ze)}})()}static{this.ɵdir=e.ɵɵdefineDirective({type:Ze,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(t,i){2&t&&e.ɵɵattribute("pattern",i._enabled?i.pattern:null)},inputs:{pattern:"pattern"},features:[e.ɵɵProvidersFeature([$e]),e.ɵɵInheritDefinitionFeature]})}}t("PatternValidator",Ze);class He{static{this.ɵfac=function(t){return new(t||He)}}static{this.ɵmod=e.ɵɵdefineNgModule({type:He})}static{this.ɵinj=e.ɵɵdefineInjector({})}}t("ɵInternalFormsSharedModule",He);class Je extends Ft{constructor(t,e,i){super(Vt(e),bt(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,i={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(t,e={}){let i=this._adjustIndex(t);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange((()=>{})),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,i={}){let n=this._adjustIndex(t);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange((()=>{})),this.controls.splice(n,1),e&&(this.controls.splice(n,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){Et(this,0,t),t.forEach(((t,i)=>{Dt(this,!1,i),this.at(i).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach(((t,i)=>{this.at(i)&&this.at(i).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild(((i,n)=>{i.reset(t[n],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map((t=>t.getRawValue()))}clear(t={}){this.controls.length<1||(this._forEachChild((t=>t._registerOnCollectionChange((()=>{})))),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce(((t,e)=>!!e._syncPendingControls()||t),!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach(((e,i)=>{t(e,i)}))}_updateValue(){this.value=this.controls.filter((t=>t.enabled||this.disabled)).map((t=>t.value))}_anyControls(t){return this.controls.some((e=>e.enabled&&t(e)))}_setUpControls(){this._forEachChild((t=>this._registerControl(t)))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}}t("FormArray",Je);t("UntypedFormArray",Je),t("isFormArray",(t=>t instanceof Je));function Ye(t){return!!t&&(void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn)}class Ke{constructor(){this.useNonNullable=!1}get nonNullable(){const t=new Ke;return t.useNonNullable=!0,t}group(t,e=null){const i=this._reduceControls(t);let n={};return Ye(e)?n=e:null!==e&&(n.validators=e.validator,n.asyncValidators=e.asyncValidator),new wt(i,n)}record(t,e=null){const i=this._reduceControls(t);return new St(i,e)}control(t,e,i){let n={};return this.useNonNullable?(Ye(e)?n=e:(n.validators=e,n.asyncValidators=i),new Zt(t,{...n,nonNullable:!0})):new Zt(t,e,i)}array(t,e,i){const n=t.map((t=>this._createControl(t)));return new Je(n,e,i)}_reduceControls(t){const e={};return Object.keys(t).forEach((i=>{e[i]=this._createControl(t[i])})),e}_createControl(t){if(t instanceof Zt)return t;if(t instanceof Ft)return t;if(Array.isArray(t)){const e=t[0],i=t.length>1?t[1]:null,n=t.length>2?t[2]:null;return this.control(e,i,n)}return this.control(t)}static{this.ɵfac=function(t){return new(t||Ke)}}static{this.ɵprov=e.ɵɵdefineInjectable({token:Ke,factory:Ke.ɵfac,providedIn:"root"})}}t("FormBuilder",Ke);class Qe{static{this.ɵfac=function(t){return new(t||Qe)}}static{this.ɵprov=e.ɵɵdefineInjectable({token:Qe,factory:()=>c(Ke).nonNullable,providedIn:"root"})}}t("NonNullableFormBuilder",Qe);class Xe extends Ke{group(t,e=null){return super.group(t,e)}control(t,e,i){return super.control(t,e,i)}array(t,e,i){return super.array(t,e,i)}static{this.ɵfac=(()=>{let t;return function(i){return(t||(t=e.ɵɵgetInheritedFactory(Xe)))(i||Xe)}})()}static{this.ɵprov=e.ɵɵdefineInjectable({token:Xe,factory:Xe.ɵfac,providedIn:"root"})}}t("UntypedFormBuilder",Xe);t("VERSION",new d("18.2.11"));class ti{static withConfig(t){return{ngModule:ti,providers:[{provide:It,useValue:t.callSetDisabledState??Ot}]}}static{this.ɵfac=function(t){return new(t||ti)}}static{this.ɵmod=e.ɵɵdefineNgModule({type:ti})}static{this.ɵinj=e.ɵɵdefineInjector({imports:[He]})}}t("FormsModule",ti);class ei{static withConfig(t){return{ngModule:ei,providers:[{provide:ue,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:It,useValue:t.callSetDisabledState??Ot}]}}static{this.ɵfac=function(t){return new(t||ei)}}static{this.ɵmod=e.ɵɵdefineNgModule({type:ei})}static{this.ɵinj=e.ɵɵdefineInjector({imports:[He]})}}t("ReactiveFormsModule",ei)}}}));
//# sourceMappingURL=angular-forms.min.js.map

@@ -1,2 +0,2 @@

/* esm-bundle - @angular/localize/init@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/localize/init@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(['@angular/localize'], (function (exports) {

@@ -13,3 +13,3 @@ 'use strict';

/**
* @license Angular v18.2.10
* @license Angular v18.2.11
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -16,0 +16,0 @@ * License: MIT

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/localize/init@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/localize/init@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(["@angular/localize"],(function(e){"use strict";var l;return{setters:[function(i){l=i.ɵ$localize,e("$localize",i.ɵ$localize)}],execute:function(){globalThis.$localize=l}}}));
//# sourceMappingURL=angular-localize-init.min.js.map

@@ -1,2 +0,2 @@

/* esm-bundle - @angular/localize@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/localize@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register([], (function (exports) {

@@ -23,3 +23,3 @@ 'use strict';

/**
* @license Angular v18.2.10
* @license Angular v18.2.11
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -26,0 +26,0 @@ * License: MIT

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/localize@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/localize@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register([],(function(t){"use strict";return{execute:function(){t({clearTranslations:function(){$localize.translate=void 0,$localize.TRANSLATIONS={}},loadTranslations:function(t){$localize.translate||($localize.translate=y);$localize.TRANSLATIONS||($localize.TRANSLATIONS={});Object.keys(t).forEach((e=>{$localize.TRANSLATIONS[e]=T(t[e])}))},ɵcomputeMsgId:o,ɵfindEndOfBlock:p,ɵisMissingTranslationError:function(t){return"MissingTranslationError"===t.type},ɵmakeParsedTranslation:function(t,e=[]){let n=t[0];for(let s=0;s<e.length;s++)n+=`{$${e[s]}}${t[s+1]}`;return{text:n,messageParts:N(t,t),placeholderNames:e}},ɵmakeTemplateObject:N,ɵparseMessage:u,ɵparseMetadata:d,ɵparseTranslation:T,ɵsplitBlock:h,ɵtranslate:$});const e=":",n="|",s="@@",i="␟";let r;function a(t){r??=new TextEncoder;const e=r.encode(t),n=new DataView(e.buffer,e.byteOffset,e.byteLength);let s=c(n,e.length,0),i=c(n,e.length,102072);return 0!=s||0!=i&&1!=i||(s^=319790063,i^=-1801410264),BigInt.asUintN(32,BigInt(s))<<BigInt(32)|BigInt.asUintN(32,BigInt(i))}function o(t,e=""){let n=a(t);return e&&(n=BigInt.asUintN(64,n<<BigInt(1))|n>>BigInt(63)&BigInt(1),n+=a(e)),BigInt.asUintN(63,n).toString()}function c(t,e,n){let s=2654435769,i=2654435769,r=0;const a=e-12;for(;r<=a;r+=12){s+=t.getUint32(r,!0),i+=t.getUint32(r+4,!0);const e=l(s,i,n+=t.getUint32(r+8,!0));s=e[0],i=e[1],n=e[2]}const o=e-r;return n+=e,o>=4?(s+=t.getUint32(r,!0),r+=4,o>=8?(i+=t.getUint32(r,!0),r+=4,o>=9&&(n+=t.getUint8(r++)<<8),o>=10&&(n+=t.getUint8(r++)<<16),11===o&&(n+=t.getUint8(r++)<<24)):(o>=5&&(i+=t.getUint8(r++)),o>=6&&(i+=t.getUint8(r++)<<8),7===o&&(i+=t.getUint8(r++)<<16))):(o>=1&&(s+=t.getUint8(r++)),o>=2&&(s+=t.getUint8(r++)<<8),3===o&&(s+=t.getUint8(r++)<<16)),l(s,i,n)[2]}function l(t,e,n){return t-=e,t-=n,e-=n,e-=t^=n>>>13,n-=t,n-=e^=t<<8,t-=e,t-=n^=e>>>13,e-=n,e-=t^=n>>>12,n-=t,n-=e^=t<<16,t-=e,t-=n^=e>>>5,e-=n,e-=t^=n>>>3,n-=t,n-=e^=t<<10,[t,e,n^=e>>>15]}var g;function u(t,e,n,s,i=[]){const r={},a={},c={},l=d(t[0],t.raw[0]),g=[l.text],u=[];let h=l.text;for(let n=1;n<t.length;n++){const{messagePart:s,placeholderName:o=m(n),associatedMessageId:l}=f(t[n],t.raw[n]);h+=`{$${o}}${s}`,void 0!==e&&(r[o]=e[n-1],a[o]=i[n-1]),u.push(o),void 0!==l&&(c[o]=l),g.push(s)}const p=l.customId||o(h,l.meaning||""),I=l.legacyIds?l.legacyIds.filter((t=>t!==p)):[];return{id:p,legacyIds:I,substitutions:r,substitutionLocations:a,text:h,customId:l.customId,meaning:l.meaning||"",description:l.description||"",messageParts:g,messagePartLocations:s,placeholderNames:u,associatedMessageIds:c,location:n}}function d(t,e){const{text:r,block:a}=h(t,e);if(void 0===a)return{text:r};{const[t,...e]=a.split(i),[o,c]=t.split(s,2);let[l,g]=o.split(n,2);return void 0===g&&(g=l,l=void 0),""===g&&(g=void 0),{text:r,meaning:l,description:g,customId:c,legacyIds:e}}}function f(t,e){const{text:n,block:i}=h(t,e);if(void 0===i)return{messagePart:n};{const[t,e]=i.split(s);return{messagePart:n,placeholderName:t,associatedMessageId:e}}}function h(t,n){if(n.charAt(0)!==e)return{text:t};{const e=p(t,n);return{block:t.substring(1,e),text:t.substring(e+1)}}}function m(t){return 1===t?"PH":"PH_"+(t-1)}function p(t,n){for(let s=1,i=1;s<t.length;s++,i++)if("\\"===n[i])i++;else if(t[s]===e)return s;throw new Error(`Unterminated $localize metadata block in "${n}".`)}!function(t){t[t.Little=0]="Little",t[t.Big=1]="Big"}(g||(g={}));class I extends Error{constructor(t){super(`No translation found for ${w(t)}.`),this.parsedMessage=t,this.type="MissingTranslationError"}}function $(t,e,n){const s=u(e,n);let i=t[s.id];if(void 0!==s.legacyIds)for(let e=0;e<s.legacyIds.length&&void 0===i;e++)i=t[s.legacyIds[e]];if(void 0===i)throw new I(s);return[i.messageParts,i.placeholderNames.map((t=>{if(s.substitutions.hasOwnProperty(t))return s.substitutions[t];throw new Error(`There is a placeholder name mismatch with the translation provided for the message ${w(s)}.\nThe translation contains a placeholder with name ${t}, which does not exist in the message.`)}))]}function T(t){const n=t.split(/{\$([^}]*)}/),s=[n[0]],i=[];for(let t=1;t<n.length-1;t+=2)i.push(n[t]),s.push(`${n[t+1]}`);const r=s.map((t=>t.charAt(0)===e?"\\"+t:t));return{text:t,messageParts:N(s,r),placeholderNames:i}}function N(t,e){return Object.defineProperty(t,"raw",{value:e}),t}function w(t){const e=t.meaning&&` - "${t.meaning}"`,n=t.legacyIds&&t.legacyIds.length>0?` [${t.legacyIds.map((t=>`"${t}"`)).join(", ")}]`:"";return`"${t.id}"${n} ("${t.text}"${e})`}function y(t,e){try{return $($localize.TRANSLATIONS,t,e)}catch(n){return console.warn(n.message),[t,e]}}t("ɵMissingTranslationError",I);const U=t("ɵ$localize",(function(t,...e){if(U.translate){const n=U.translate(t,e);t=n[0],e=n[1]}let n=x(t[0],t.raw[0]);for(let s=1;s<t.length;s++)n+=e[s-1]+x(t[s],t.raw[s]);return n})),b=":";function x(t,e){return e.charAt(0)===b?t.substring(p(t,e)+1):t}}}}));
//# sourceMappingURL=angular-localize.min.js.map

@@ -1,2 +0,2 @@

/* esm-bundle - @angular/platform-browser/animations/async@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/platform-browser/animations/async@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(['@angular/common', '@angular/core', '@angular/platform-browser'], (function (exports, module) {

@@ -28,3 +28,3 @@ 'use strict';

/**
* @license Angular v18.2.10
* @license Angular v18.2.11
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -31,0 +31,0 @@ * License: MIT

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/platform-browser/animations/async@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/platform-browser/animations/async@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(["@angular/common","@angular/core","@angular/platform-browser"],(function(e,t){"use strict";var r,n,i,s,a,o,l,h,d,c,u,g;return{setters:[function(e){r=e.DOCUMENT},function(e){n=e.inject,i=e.ɵChangeDetectionScheduler,s=e.ɵRuntimeError,a=e,e.Injectable,o=e.InjectionToken,l=e.ɵperformanceMarkFeature,h=e.makeEnvironmentProviders,d=e.RendererFactory2,c=e.NgZone,u=e.ANIMATION_MODULE_TYPE},function(e){g=e.ɵDomRendererFactory2}],execute:function(){e("provideAnimationsAsync",(function(e="animations"){return l("NgAsyncAnimations"),h([{provide:d,useFactory:(t,r,n)=>new m(t,r,n,e),deps:[r,g,c]},{provide:u,useValue:"noop"===e?"NoopAnimations":"BrowserAnimations"}])}));class m{constructor(e,t,r,s,a){this.doc=e,this.delegate=t,this.zone=r,this.animationType=s,this.moduleImpl=a,this._rendererFactoryPromise=null,this.scheduler=n(i,{optional:!0}),this.loadingSchedulerFn=n(p,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){const e=()=>this.moduleImpl??t.import("@angular/animations/browser").then((e=>e));let r;return r=this.loadingSchedulerFn?this.loadingSchedulerFn(e):e(),r.catch((e=>{throw new s(5300,!1)})).then((({ɵcreateEngine:e,ɵAnimationRendererFactory:t})=>{this._engine=e(this.animationType,this.doc);const r=new t(this.delegate,this._engine,this.zone);return this.delegate=r,r}))}createRenderer(e,t){const r=this.delegate.createRenderer(e,t);if(0===r.ɵtype)return r;"boolean"==typeof r.throwOnSyntheticProps&&(r.throwOnSyntheticProps=!1);const n=new y(r);return t?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then((r=>{const i=r.createRenderer(e,t);n.use(i),this.scheduler?.notify(10)})).catch((e=>{n.use(r)})),n}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}static{this.ɵfac=function(e){a.ɵɵinvalidFactory()}}static{this.ɵprov=a.ɵɵdefineInjectable({token:m,factory:m.ɵfac})}}e("ɵAsyncAnimationRendererFactory",m);class y{constructor(e){this.delegate=e,this.replay=[],this.ɵtype=1}use(e){if(this.delegate=e,null!==this.replay){for(const t of this.replay)t(e);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}get destroyNode(){return this.delegate.destroyNode}appendChild(e,t){this.delegate.appendChild(e,t)}insertBefore(e,t,r,n){this.delegate.insertBefore(e,t,r,n)}removeChild(e,t,r){this.delegate.removeChild(e,t,r)}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,r,n){this.delegate.setAttribute(e,t,r,n)}removeAttribute(e,t,r){this.delegate.removeAttribute(e,t,r)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,r,n){this.delegate.setStyle(e,t,r,n)}removeStyle(e,t,r){this.delegate.removeStyle(e,t,r)}setProperty(e,t,r){this.shouldReplay(t)&&this.replay.push((n=>n.setProperty(e,t,r))),this.delegate.setProperty(e,t,r)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,r){return this.shouldReplay(t)&&this.replay.push((n=>n.listen(e,t,r))),this.delegate.listen(e,t,r)}shouldReplay(e){return null!==this.replay&&e.startsWith("@")}}const p=e("ɵASYNC_ANIMATION_LOADING_SCHEDULER_FN",new o(""))}}}));
//# sourceMappingURL=angular-platform-browser-animations-async.min.js.map

@@ -1,2 +0,2 @@

/* esm-bundle - @angular/platform-browser/animations@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/platform-browser/animations@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(['@angular/core', '@angular/platform-browser', '@angular/animations/browser', '@angular/common'], (function (exports) {

@@ -39,3 +39,3 @@ 'use strict';

/**
* @license Angular v18.2.10
* @license Angular v18.2.11
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -42,0 +42,0 @@ * License: MIT

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/platform-browser/animations@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/platform-browser/animations@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(["@angular/core","@angular/platform-browser","@angular/animations/browser","@angular/common"],(function(e){"use strict";var n,i,t,r,o,s,a,c,u,d,m,l,f,p,A,N;return{setters:[function(s){n=s,s.Injectable,s.Inject,s.NgModule,i=s.ANIMATION_MODULE_TYPE,t=s.ɵperformanceMarkFeature,r=s.RendererFactory2,o=s.NgZone,e("ANIMATION_MODULE_TYPE",s.ANIMATION_MODULE_TYPE)},function(e){s=e.BrowserModule,a=e.ɵDomRendererFactory2},function(e){c=e.ɵAnimationEngine,u=e,d=e.AnimationDriver,m=e.ɵWebAnimationsDriver,l=e.NoopAnimationDriver,f=e.ɵAnimationStyleNormalizer,p=e.ɵWebAnimationsStyleNormalizer,A=e.ɵAnimationRendererFactory},function(e){N=e.DOCUMENT}],execute:function(){e({provideAnimations:function(){return t("NgEagerAnimations"),[...M]},provideNoopAnimations:function(){return[...y]}});class v extends c{constructor(e,n,i){super(e,n,i)}ngOnDestroy(){this.flush()}static{this.ɵfac=function(e){return new(e||v)(n.ɵɵinject(N),n.ɵɵinject(u.AnimationDriver),n.ɵɵinject(u.ɵAnimationStyleNormalizer))}}static{this.ɵprov=n.ɵɵdefineInjectable({token:v,factory:v.ɵfac})}}e("ɵInjectableAnimationEngine",v);const g=[{provide:f,useFactory:function(){return new p}},{provide:c,useClass:v},{provide:r,useFactory:function(e,n,i){return new A(e,n,i)},deps:[a,c,o]}],M=[{provide:d,useFactory:()=>new m},{provide:i,useValue:"BrowserAnimations"},...g],y=[{provide:d,useClass:l},{provide:i,useValue:"NoopAnimations"},...g];class w{static withConfig(e){return{ngModule:w,providers:e.disableAnimations?y:M}}static{this.ɵfac=function(e){return new(e||w)}}static{this.ɵmod=n.ɵɵdefineNgModule({type:w})}static{this.ɵinj=n.ɵɵdefineInjector({providers:M,imports:[s]})}}e("BrowserAnimationsModule",w);class I{static{this.ɵfac=function(e){return new(e||I)}}static{this.ɵmod=n.ɵɵdefineNgModule({type:I})}static{this.ɵinj=n.ɵɵdefineInjector({providers:y,imports:[s]})}}e("NoopAnimationsModule",I)}}}));
//# sourceMappingURL=angular-platform-browser-animations.min.js.map

@@ -1,2 +0,2 @@

/* esm-bundle - @angular/platform-browser-dynamic@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/platform-browser-dynamic@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(['@angular/core', '@angular/compiler', '@angular/common', '@angular/platform-browser'], (function (exports) {

@@ -29,3 +29,3 @@ 'use strict';

/**
* @license Angular v18.2.10
* @license Angular v18.2.11
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -184,3 +184,3 @@ * License: MIT

*/
const VERSION = exports("VERSION", new Version('18.2.10'));
const VERSION = exports("VERSION", new Version('18.2.11'));

@@ -187,0 +187,0 @@ /**

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/platform-browser-dynamic@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(["@angular/core","@angular/compiler","@angular/common","@angular/platform-browser"],(function(e){"use strict";var t,r,o,n,s,a,i,c,u,p,l,d,f,m;return{setters:[function(e){t=e.createPlatformFactory,r=e.platformCore,o=e.COMPILER_OPTIONS,n=e.CompilerFactory,s=e,e.Injectable,a=e.Version,i=e.ViewEncapsulation,c=e.Injector,u=e.Compiler,p=e.PLATFORM_ID},function(e){l=e.ResourceLoader,d=e.CompilerConfig},function(e){f=e.ɵPLATFORM_BROWSER_ID},function(e){m=e.ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS}],execute:function(){const v=[{provide:u,useFactory:()=>new u}];class R{constructor(e){const t={defaultEncapsulation:i.Emulated};this._defaultOptions=[t,...e]}createCompiler(e=[]){const t={defaultEncapsulation:E((r=this._defaultOptions.concat(e)).map((e=>e.defaultEncapsulation))),providers:O(r.map((e=>e.providers))),preserveWhitespaces:E(r.map((e=>e.preserveWhitespaces)))};var r;return c.create({providers:[v,{provide:d,useFactory:()=>new d({defaultEncapsulation:t.defaultEncapsulation,preserveWhitespaces:t.preserveWhitespaces}),deps:[]},t.providers]}).get(u)}}function E(e){for(let t=e.length-1;t>=0;t--)if(void 0!==e[t])return e[t]}function O(e){const t=[];return e.forEach((e=>e&&t.push(...e))),t}e("JitCompilerFactory",R);const I=e("ɵplatformCoreDynamic",t(r,"coreDynamic",[{provide:o,useValue:{},multi:!0},{provide:n,useClass:R,deps:[o]}]));class y extends l{get(e){let t,r;const o=new Promise(((e,o)=>{t=e,r=o})),n=new XMLHttpRequest;return n.open("GET",e,!0),n.responseType="text",n.onload=function(){const o=n.response;let s=n.status;0===s&&(s=o?200:0),200<=s&&s<=300?t(o):r(`Failed to load ${e}`)},n.onerror=function(){r(`Failed to load ${e}`)},n.send(),o}static{this.ɵfac=(()=>{let e;return function(t){return(e||(e=s.ɵɵgetInheritedFactory(y)))(t||y)}})()}static{this.ɵprov=s.ɵɵdefineInjectable({token:y,factory:y.ɵfac})}}const _=e("ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS",[m,{provide:o,useValue:{providers:[{provide:l,useClass:y,deps:[]}]},multi:!0},{provide:p,useValue:f}]);e("VERSION",new a("18.2.10")),e("platformBrowserDynamic",t(I,"browserDynamic",_))}}}));
/* esm-bundle - @angular/platform-browser-dynamic@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(["@angular/core","@angular/compiler","@angular/common","@angular/platform-browser"],(function(e){"use strict";var t,r,o,n,s,a,i,c,u,p,l,d,f,m;return{setters:[function(e){t=e.createPlatformFactory,r=e.platformCore,o=e.COMPILER_OPTIONS,n=e.CompilerFactory,s=e,e.Injectable,a=e.Version,i=e.ViewEncapsulation,c=e.Injector,u=e.Compiler,p=e.PLATFORM_ID},function(e){l=e.ResourceLoader,d=e.CompilerConfig},function(e){f=e.ɵPLATFORM_BROWSER_ID},function(e){m=e.ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS}],execute:function(){const v=[{provide:u,useFactory:()=>new u}];class R{constructor(e){const t={defaultEncapsulation:i.Emulated};this._defaultOptions=[t,...e]}createCompiler(e=[]){const t={defaultEncapsulation:E((r=this._defaultOptions.concat(e)).map((e=>e.defaultEncapsulation))),providers:O(r.map((e=>e.providers))),preserveWhitespaces:E(r.map((e=>e.preserveWhitespaces)))};var r;return c.create({providers:[v,{provide:d,useFactory:()=>new d({defaultEncapsulation:t.defaultEncapsulation,preserveWhitespaces:t.preserveWhitespaces}),deps:[]},t.providers]}).get(u)}}function E(e){for(let t=e.length-1;t>=0;t--)if(void 0!==e[t])return e[t]}function O(e){const t=[];return e.forEach((e=>e&&t.push(...e))),t}e("JitCompilerFactory",R);const I=e("ɵplatformCoreDynamic",t(r,"coreDynamic",[{provide:o,useValue:{},multi:!0},{provide:n,useClass:R,deps:[o]}]));class y extends l{get(e){let t,r;const o=new Promise(((e,o)=>{t=e,r=o})),n=new XMLHttpRequest;return n.open("GET",e,!0),n.responseType="text",n.onload=function(){const o=n.response;let s=n.status;0===s&&(s=o?200:0),200<=s&&s<=300?t(o):r(`Failed to load ${e}`)},n.onerror=function(){r(`Failed to load ${e}`)},n.send(),o}static{this.ɵfac=(()=>{let e;return function(t){return(e||(e=s.ɵɵgetInheritedFactory(y)))(t||y)}})()}static{this.ɵprov=s.ɵɵdefineInjectable({token:y,factory:y.ɵfac})}}const _=e("ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS",[m,{provide:o,useValue:{providers:[{provide:l,useClass:y,deps:[]}]},multi:!0},{provide:p,useValue:f}]);e("VERSION",new a("18.2.11")),e("platformBrowserDynamic",t(I,"browserDynamic",_))}}}));
//# sourceMappingURL=angular-platform-browser-dynamic.min.js.map

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/platform-browser@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(["@angular/common","@angular/core","@angular/common/http"],(function(e){"use strict";var t,n,r,s,o,i,a,c,l,u,d,h,p,f,m,y,g,v,w,S,E,T,C,b,R,I,A,_,O,N,M,H,D,L,j,k,P,x,U,B,F,z,K,V,G,Z,$,q,Y,W,X;return{setters:[function(u){t=u.isPlatformServer,n=u.DOCUMENT,r=u.ɵgetDOM,s=u.XhrFactory,o=u.CommonModule,i=u.ɵsetRootDomAdapter,a=u.ɵparseCookieValue,c=u.ɵPLATFORM_BROWSER_ID,l=u.ɵDomAdapter,e("ɵgetDOM",u.ɵgetDOM)},function(e){u=e,e.Injectable,d=e.InjectionToken,h=e.ɵRuntimeError,e.Inject,p=e.APP_ID,f=e.CSP_NONCE,m=e.PLATFORM_ID,y=e.Optional,g=e.ViewEncapsulation,v=e.RendererStyleFlags2,w=e.createPlatformFactory,S=e.platformCore,E=e.ɵINJECTOR_SCOPE,T=e.ErrorHandler,C=e.NgZone,b=e.RendererFactory2,R=e.ApplicationModule,e.NgModule,e.SkipSelf,I=e.ɵConsole,e.forwardRef,e.ɵXSS_SECURITY_URL,A=e.SecurityContext,_=e.ɵallowSanitizationBypassAndThrow,O=e.ɵunwrapSafeValue,N=e.ɵ_sanitizeUrl,M=e.ɵ_sanitizeHtml,H=e.ɵbypassSanitizationTrustHtml,D=e.ɵbypassSanitizationTrustStyle,L=e.ɵbypassSanitizationTrustScript,j=e.ɵbypassSanitizationTrustUrl,k=e.ɵbypassSanitizationTrustResourceUrl,P=e.Version,x=e.ɵglobal,U=e.ɵinternalCreateApplication,B=e.PLATFORM_INITIALIZER,F=e.ɵTESTABILITY_GETTER,z=e.ɵTESTABILITY,K=e.Testability,V=e.TestabilityRegistry,G=e.ɵwithI18nSupport,Z=e.ɵwithEventReplay,$=e.makeEnvironmentProviders,q=e.ɵwithDomHydration,Y=e.ɵsetDocument,W=e.ApplicationRef,e.ENVIRONMENT_INITIALIZER,e.inject,e.ɵZONELESS_ENABLED,e.ɵformatRuntimeError},function(e){X=e.ɵwithHttpTransferCache}],execute:function(){e({bootstrapApplication:function(e,t){return U({rootComponent:e,...Ie(t)})},createApplication:function(e){return U(Ie(e))},disableDebugTools:function(){ke(Ue,null)},enableDebugTools:function(e){return ke(Ue,new xe(e)),e},provideClientHydration:function(...e){const t=[],n=new Set,r=n.has(qe.HttpTransferCacheOptions);for(const{ɵproviders:r,ɵkind:s}of e)n.add(s),r.length&&t.push(r);0;return $([[],q(),n.has(qe.NoHttpTransferCache)||r?[]:X({}),t])},provideProtractorTestingSupport:function(){return[...Ne]},withEventReplay:function(){return Ye(qe.EventReplay,Z())},withHttpTransferCacheOptions:function(e){return Ye(qe.HttpTransferCacheOptions,X(e))},withI18nSupport:function(){return Ye(qe.I18nSupport,G())},withNoHttpTransferCache:function(){return Ye(qe.NoHttpTransferCache)},ɵinitDomAdapter:Ae});class J extends l{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Q extends J{static makeCurrent(){i(new Q)}onAndCancel(e,t,n){return e.addEventListener(t,n),()=>{e.removeEventListener(t,n)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.remove()}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getBaseHref(e){const t=(ee=ee||document.querySelector("base"),ee?ee.getAttribute("href"):null);return null==t?null:new URL(t,document.baseURI).pathname}resetBaseElement(){ee=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return a(document.cookie,e)}}e("ɵBrowserDomAdapter",Q);let ee=null;class te{addToWindow(e){x.getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new h(5103,!1);return r},x.getAllAngularTestabilities=()=>e.getAllTestabilities(),x.getAllAngularRootElements=()=>e.getAllRootElements();x.frameworkStabilizers||(x.frameworkStabilizers=[]),x.frameworkStabilizers.push((e=>{const t=x.getAllAngularTestabilities();let n=t.length;const r=function(){n--,0==n&&e()};t.forEach((e=>{e.whenStable(r)}))}))}findTestabilityInTree(e,t,n){if(null==t)return null;const s=e.getTestability(t);return null!=s?s:n?r().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}e("ɵBrowserGetTestability",te);class ne{build(){return new XMLHttpRequest}static{this.ɵfac=function(e){return new(e||ne)}}static{this.ɵprov=u.ɵɵdefineInjectable({token:ne,factory:ne.ɵfac})}}const re=e("EVENT_MANAGER_PLUGINS",new d(""));class se{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach((e=>{e.manager=this})),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find((t=>t.supports(e))),!t)throw new h(5101,!1);return this._eventNameToPlugin.set(e,t),t}static{this.ɵfac=function(e){return new(e||se)(u.ɵɵinject(re),u.ɵɵinject(u.NgZone))}}static{this.ɵprov=u.ɵɵdefineInjectable({token:se,factory:se.ɵfac})}}e("EventManager",se);class oe{constructor(e){this._doc=e}}e("EventManagerPlugin",oe);const ie="ng-app-id";class ae{constructor(e,n,r,s={}){this.doc=e,this.appId=n,this.nonce=r,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=t(s),this.resetHostNodes()}addStyles(e){for(const t of e){1===this.changeUsageCount(t,1)&&this.onStyleAdded(t)}}removeStyles(e){for(const t of e){this.changeUsageCount(t,-1)<=0&&this.onStyleRemoved(t)}}ngOnDestroy(){const e=this.styleNodesInDOM;e&&(e.forEach((e=>e.remove())),e.clear());for(const e of this.getAllStyles())this.onStyleRemoved(e);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const t of this.getAllStyles())this.addStyleToHost(e,t)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(const t of this.hostNodes)this.addStyleToHost(t,e)}onStyleRemoved(e){const t=this.styleRef;t.get(e)?.elements?.forEach((e=>e.remove())),t.delete(e)}collectServerRenderedStyles(){const e=this.doc.head?.querySelectorAll(`style[${ie}="${this.appId}"]`);if(e?.length){const t=new Map;return e.forEach((e=>{null!=e.textContent&&t.set(e.textContent,e)})),t}return null}changeUsageCount(e,t){const n=this.styleRef;if(n.has(e)){const r=n.get(e);return r.usage+=t,r.usage}return n.set(e,{usage:t,elements:[]}),t}getStyleElement(e,t){const n=this.styleNodesInDOM,r=n?.get(t);if(r?.parentNode===e)return n.delete(t),r.removeAttribute(ie),r;{const n=this.doc.createElement("style");return this.nonce&&n.setAttribute("nonce",this.nonce),n.textContent=t,this.platformIsServer&&n.setAttribute(ie,this.appId),e.appendChild(n),n}}addStyleToHost(e,t){const n=this.getStyleElement(e,t),r=this.styleRef,s=r.get(t)?.elements;s?s.push(n):r.set(t,{elements:[n],usage:1})}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}static{this.ɵfac=function(e){return new(e||ae)(u.ɵɵinject(n),u.ɵɵinject(p),u.ɵɵinject(f,8),u.ɵɵinject(m))}}static{this.ɵprov=u.ɵɵdefineInjectable({token:ae,factory:ae.ɵfac})}}e("ɵSharedStylesHost",ae);const ce={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"},le=/%COMP%/g,ue="%COMP%",de=`_nghost-${ue}`,he=`_ngcontent-${ue}`,pe=e("REMOVE_STYLES_ON_COMPONENT_DESTROY",new d("",{providedIn:"root",factory:()=>true}));function fe(e,t){return t.map((t=>t.replace(le,e)))}class me{constructor(e,n,r,s,o,i,a,c=null){this.eventManager=e,this.sharedStylesHost=n,this.appId=r,this.removeStylesOnCompDestroy=s,this.doc=o,this.platformId=i,this.ngZone=a,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=t(i),this.defaultRenderer=new ye(e,o,a,this.platformIsServer)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;this.platformIsServer&&t.encapsulation===g.ShadowDom&&(t={...t,encapsulation:g.Emulated});const n=this.getOrCreateRenderer(e,t);return n instanceof Se?n.applyToHost(e):n instanceof we&&n.applyStyles(),n}getOrCreateRenderer(e,t){const n=this.rendererByCompId;let r=n.get(t.id);if(!r){const s=this.doc,o=this.ngZone,i=this.eventManager,a=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,l=this.platformIsServer;switch(t.encapsulation){case g.Emulated:r=new Se(i,a,t,this.appId,c,s,o,l);break;case g.ShadowDom:return new ve(i,a,e,t,s,o,this.nonce,l);default:r=new we(i,a,t,c,s,o,l)}n.set(t.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}static{this.ɵfac=function(e){return new(e||me)(u.ɵɵinject(se),u.ɵɵinject(ae),u.ɵɵinject(p),u.ɵɵinject(pe),u.ɵɵinject(n),u.ɵɵinject(m),u.ɵɵinject(u.NgZone),u.ɵɵinject(f))}}static{this.ɵprov=u.ɵɵdefineInjectable({token:me,factory:me.ɵfac})}}e("ɵDomRendererFactory2",me);class ye{constructor(e,t,n,r){this.eventManager=e,this.doc=t,this.ngZone=n,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,t){return t?this.doc.createElementNS(ce[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(ge(e)?e.content:e).appendChild(t)}insertBefore(e,t,n){if(e){(ge(e)?e.content:e).insertBefore(t,n)}}removeChild(e,t){t.remove()}selectRootElement(e,t){let n="string"==typeof e?this.doc.querySelector(e):e;if(!n)throw new h(-5104,!1);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;const s=ce[r];s?e.setAttributeNS(s,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=ce[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&(v.DashCase|v.Important)?e.style.setProperty(t,n,r&v.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&v.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){null!=e&&(e[t]=n)}setValue(e,t){e.nodeValue=t}listen(e,t,n){if("string"==typeof e&&!(e=r().getGlobalEventTarget(this.doc,e)))throw new Error(`Unsupported event target ${e} for event ${t}`);return this.eventManager.addEventListener(e,t,this.decoratePreventDefault(n))}decoratePreventDefault(e){return t=>{if("__ngUnwrap__"===t)return e;!1===(this.platformIsServer?this.ngZone.runGuarded((()=>e(t))):e(t))&&t.preventDefault()}}}"@".charCodeAt(0);function ge(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class ve extends ye{constructor(e,t,n,r,s,o,i,a){super(e,s,o,a),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=fe(r.id,r.styles);for(const e of c){const t=document.createElement("style");i&&t.setAttribute("nonce",i),t.textContent=e,this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(null,t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class we extends ye{constructor(e,t,n,r,s,o,i,a){super(e,s,o,i),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=a?fe(a,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Se extends we{constructor(e,t,n,r,s,o,i,a){const c=r+"-"+n.id;var l;super(e,t,n,s,o,i,a,c),this.contentAttr=(l=c,he.replace(le,l)),this.hostAttr=function(e){return de.replace(le,e)}(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class Ee extends oe{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}static{this.ɵfac=function(e){return new(e||Ee)(u.ɵɵinject(n))}}static{this.ɵprov=u.ɵɵdefineInjectable({token:Ee,factory:Ee.ɵfac})}}e("ɵDomEventsPlugin",Ee);const Te=["alt","control","meta","shift"],Ce={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},be={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};class Re extends oe{constructor(e){super(e)}supports(e){return null!=Re.parseEventName(e)}addEventListener(e,t,n){const s=Re.parseEventName(t),o=Re.eventCallback(s.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>r().onAndCancel(e,s.domEventName,o)))}static parseEventName(e){const t=e.toLowerCase().split("."),n=t.shift();if(0===t.length||"keydown"!==n&&"keyup"!==n)return null;const r=Re._normalizeKey(t.pop());let s="",o=t.indexOf("code");if(o>-1&&(t.splice(o,1),s="code."),Te.forEach((e=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),s+=e+".")})),s+=r,0!=t.length||0===r.length)return null;const i={};return i.domEventName=n,i.fullKey=s,i}static matchEventFullKeyCode(e,t){let n=Ce[e.key]||e.key,r="";return t.indexOf("code.")>-1&&(n=e.code,r="code."),!(null==n||!n)&&(n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Te.forEach((t=>{if(t!==n){(0,be[t])(e)&&(r+=t+".")}})),r+=n,r===t)}static eventCallback(e,t,n){return r=>{Re.matchEventFullKeyCode(r,e)&&n.runGuarded((()=>t(r)))}}static _normalizeKey(e){return"esc"===e?"escape":e}static{this.ɵfac=function(e){return new(e||Re)(u.ɵɵinject(n))}}static{this.ɵprov=u.ɵɵdefineInjectable({token:Re,factory:Re.ɵfac})}}function Ie(e){return{appProviders:[...Me,...e?.providers??[]],platformProviders:_e}}function Ae(){Q.makeCurrent()}e("ɵKeyEventsPlugin",Re);const _e=e("ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS",[{provide:m,useValue:c},{provide:B,useValue:Ae,multi:!0},{provide:n,useFactory:function(){return Y(document),document},deps:[]}]),Oe=(e("platformBrowser",w(S,"browser",_e)),new d("")),Ne=[{provide:F,useClass:te,deps:[]},{provide:z,useClass:K,deps:[C,V,F]},{provide:K,useClass:K,deps:[C,V,F]}],Me=[{provide:E,useValue:"root"},{provide:T,useFactory:function(){return new T},deps:[]},{provide:re,useClass:Ee,multi:!0,deps:[n,C,m]},{provide:re,useClass:Re,multi:!0,deps:[n]},me,ae,se,{provide:b,useExisting:me},{provide:s,useClass:ne,deps:[]},[]];class He{constructor(e){0}static withServerTransition(e){return{ngModule:He,providers:[{provide:p,useValue:e.appId}]}}static{this.ɵfac=function(e){return new(e||He)(u.ɵɵinject(Oe,12))}}static{this.ɵmod=u.ɵɵdefineNgModule({type:He})}static{this.ɵinj=u.ɵɵdefineInjector({providers:[...Me,...Ne],imports:[o,R]})}}e("BrowserModule",He);class De{constructor(e){this._doc=e,this._dom=r()}addTag(e,t=!1){return e?this._getOrCreateElement(e,t):null}addTags(e,t=!1){return e?e.reduce(((e,n)=>(n&&e.push(this._getOrCreateElement(n,t)),e)),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];const t=this._doc.querySelectorAll(`meta[${e}]`);return t?[].slice.call(t):[]}updateTag(e,t){if(!e)return null;t=t||this._parseSelector(e);const n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,t=!1){if(!t){const t=this._parseSelector(e),n=this.getTags(t).filter((t=>this._containsAttributes(e,t)))[0];if(void 0!==n)return n}const n=this._dom.createElement("meta");this._setMetaElementAttributes(e,n);return this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(e,t){return Object.keys(e).forEach((n=>t.setAttribute(this._getMetaKeyMap(n),e[n]))),t}_parseSelector(e){const t=e.name?"name":"property";return`${t}="${e[t]}"`}_containsAttributes(e,t){return Object.keys(e).every((n=>t.getAttribute(this._getMetaKeyMap(n))===e[n]))}_getMetaKeyMap(e){return Le[e]||e}static{this.ɵfac=function(e){return new(e||De)(u.ɵɵinject(n))}}static{this.ɵprov=u.ɵɵdefineInjectable({token:De,factory:De.ɵfac,providedIn:"root"})}}e("Meta",De);const Le={httpEquiv:"http-equiv"};class je{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static{this.ɵfac=function(e){return new(e||je)(u.ɵɵinject(n))}}static{this.ɵprov=u.ɵɵdefineInjectable({token:je,factory:je.ɵfac,providedIn:"root"})}}function ke(e,t){if("undefined"==typeof COMPILED||!COMPILED){(x.ng=x.ng||{})[e]=t}}e("Title",je);class Pe{constructor(e,t){this.msPerTick=e,this.numTicks=t}}class xe{constructor(e){this.appRef=e.injector.get(W)}timeChangeDetection(e){const t=e&&e.record,n="Change Detection";t&&"profile"in console&&"function"==typeof console.profile&&console.profile(n);const r=performance.now();let s=0;for(;s<5||performance.now()-r<500;)this.appRef.tick(),s++;const o=performance.now();t&&"profileEnd"in console&&"function"==typeof console.profileEnd&&console.profileEnd(n);const i=(o-r)/s;return console.log(`ran ${s} change detection cycles`),console.log(`${i.toFixed(2)} ms per check`),new Pe(i,s)}}const Ue="profiler";e("By",class{static all(){return()=>!0}static css(e){return t=>null!=t.nativeElement&&function(e,t){if(r().isElementNode(e))return e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t);return!1}(t.nativeElement,e)}static directive(e){return t=>-1!==t.providerTokens.indexOf(e)}});const Be={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},Fe=e("HAMMER_GESTURE_CONFIG",new d("HammerGestureConfig")),ze=e("HAMMER_LOADER",new d("HammerLoader"));class Ke{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const e in this.overrides)t.get(e).set(this.overrides[e]);return t}static{this.ɵfac=function(e){return new(e||Ke)}}static{this.ɵprov=u.ɵɵdefineInjectable({token:Ke,factory:Ke.ɵfac})}}e("HammerGestureConfig",Ke);class Ve extends oe{constructor(e,t,n,r){super(e),this._config=t,this.console=n,this.loader=r,this._loaderPromise=null}supports(e){return!(!Be.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e))&&!(!window.Hammer&&!this.loader)}addEventListener(e,t,n){const r=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||r.runOutsideAngular((()=>this.loader()));let s=!1,o=()=>{s=!0};return r.runOutsideAngular((()=>this._loaderPromise.then((()=>{window.Hammer?s||(o=this.addEventListener(e,t,n)):o=()=>{}})).catch((()=>{o=()=>{}})))),()=>{o()}}return r.runOutsideAngular((()=>{const s=this._config.buildHammer(e),o=function(e){r.runGuarded((function(){n(e)}))};return s.on(t,o),()=>{s.off(t,o),"function"==typeof s.destroy&&s.destroy()}}))}isCustomEvent(e){return this._config.events.indexOf(e)>-1}static{this.ɵfac=function(e){return new(e||Ve)(u.ɵɵinject(n),u.ɵɵinject(Fe),u.ɵɵinject(u.ɵConsole),u.ɵɵinject(ze,8))}}static{this.ɵprov=u.ɵɵdefineInjectable({token:Ve,factory:Ve.ɵfac})}}e("ɵHammerGesturesPlugin",Ve);class Ge{static{this.ɵfac=function(e){return new(e||Ge)}}static{this.ɵmod=u.ɵɵdefineNgModule({type:Ge})}static{this.ɵinj=u.ɵɵdefineInjector({providers:[{provide:re,useClass:Ve,multi:!0,deps:[n,Fe,I,[new y,ze]]},{provide:Fe,useClass:Ke,deps:[]}]})}}e("HammerModule",Ge);class Ze{static{this.ɵfac=function(e){return new(e||Ze)}}static{this.ɵprov=u.ɵɵdefineInjectable({token:Ze,factory:function(e){let t=null;return t=e?new(e||Ze):u.ɵɵinject($e),t},providedIn:"root"})}}e("DomSanitizer",Ze);class $e extends Ze{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case A.NONE:return t;case A.HTML:return _(t,"HTML")?O(t):M(this._doc,String(t)).toString();case A.STYLE:return _(t,"Style")?O(t):t;case A.SCRIPT:if(_(t,"Script"))return O(t);throw new h(5200,!1);case A.URL:return _(t,"URL")?O(t):N(String(t));case A.RESOURCE_URL:if(_(t,"ResourceURL"))return O(t);throw new h(5201,!1);default:throw new h(5202,!1)}}bypassSecurityTrustHtml(e){return H(e)}bypassSecurityTrustStyle(e){return D(e)}bypassSecurityTrustScript(e){return L(e)}bypassSecurityTrustUrl(e){return j(e)}bypassSecurityTrustResourceUrl(e){return k(e)}static{this.ɵfac=function(e){return new(e||$e)(u.ɵɵinject(n))}}static{this.ɵprov=u.ɵɵdefineInjectable({token:$e,factory:$e.ɵfac,providedIn:"root"})}}var qe;function Ye(e,t=[],n={}){return{ɵkind:e,ɵproviders:t}}e("ɵDomSanitizerImpl",$e),e("HydrationFeatureKind",qe),function(e){e[e.NoHttpTransferCache=0]="NoHttpTransferCache",e[e.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",e[e.I18nSupport=2]="I18nSupport",e[e.EventReplay=3]="EventReplay"}(qe||e("HydrationFeatureKind",qe={}));e("VERSION",new P("18.2.10"))}}}));
/* esm-bundle - @angular/platform-browser@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(["@angular/common","@angular/core","@angular/common/http"],(function(e){"use strict";var t,n,r,s,o,i,a,c,l,u,d,h,p,f,m,y,g,v,w,S,E,T,C,b,R,I,A,_,O,N,M,H,D,L,j,k,P,x,U,B,F,z,K,V,G,Z,$,q,Y,W,X;return{setters:[function(u){t=u.isPlatformServer,n=u.DOCUMENT,r=u.ɵgetDOM,s=u.XhrFactory,o=u.CommonModule,i=u.ɵsetRootDomAdapter,a=u.ɵparseCookieValue,c=u.ɵPLATFORM_BROWSER_ID,l=u.ɵDomAdapter,e("ɵgetDOM",u.ɵgetDOM)},function(e){u=e,e.Injectable,d=e.InjectionToken,h=e.ɵRuntimeError,e.Inject,p=e.APP_ID,f=e.CSP_NONCE,m=e.PLATFORM_ID,y=e.Optional,g=e.ViewEncapsulation,v=e.RendererStyleFlags2,w=e.createPlatformFactory,S=e.platformCore,E=e.ɵINJECTOR_SCOPE,T=e.ErrorHandler,C=e.NgZone,b=e.RendererFactory2,R=e.ApplicationModule,e.NgModule,e.SkipSelf,I=e.ɵConsole,e.forwardRef,e.ɵXSS_SECURITY_URL,A=e.SecurityContext,_=e.ɵallowSanitizationBypassAndThrow,O=e.ɵunwrapSafeValue,N=e.ɵ_sanitizeUrl,M=e.ɵ_sanitizeHtml,H=e.ɵbypassSanitizationTrustHtml,D=e.ɵbypassSanitizationTrustStyle,L=e.ɵbypassSanitizationTrustScript,j=e.ɵbypassSanitizationTrustUrl,k=e.ɵbypassSanitizationTrustResourceUrl,P=e.Version,x=e.ɵglobal,U=e.ɵinternalCreateApplication,B=e.PLATFORM_INITIALIZER,F=e.ɵTESTABILITY_GETTER,z=e.ɵTESTABILITY,K=e.Testability,V=e.TestabilityRegistry,G=e.ɵwithI18nSupport,Z=e.ɵwithEventReplay,$=e.makeEnvironmentProviders,q=e.ɵwithDomHydration,Y=e.ɵsetDocument,W=e.ApplicationRef,e.ENVIRONMENT_INITIALIZER,e.inject,e.ɵZONELESS_ENABLED,e.ɵformatRuntimeError},function(e){X=e.ɵwithHttpTransferCache}],execute:function(){e({bootstrapApplication:function(e,t){return U({rootComponent:e,...Ie(t)})},createApplication:function(e){return U(Ie(e))},disableDebugTools:function(){ke(Ue,null)},enableDebugTools:function(e){return ke(Ue,new xe(e)),e},provideClientHydration:function(...e){const t=[],n=new Set,r=n.has(qe.HttpTransferCacheOptions);for(const{ɵproviders:r,ɵkind:s}of e)n.add(s),r.length&&t.push(r);0;return $([[],q(),n.has(qe.NoHttpTransferCache)||r?[]:X({}),t])},provideProtractorTestingSupport:function(){return[...Ne]},withEventReplay:function(){return Ye(qe.EventReplay,Z())},withHttpTransferCacheOptions:function(e){return Ye(qe.HttpTransferCacheOptions,X(e))},withI18nSupport:function(){return Ye(qe.I18nSupport,G())},withNoHttpTransferCache:function(){return Ye(qe.NoHttpTransferCache)},ɵinitDomAdapter:Ae});class J extends l{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Q extends J{static makeCurrent(){i(new Q)}onAndCancel(e,t,n){return e.addEventListener(t,n),()=>{e.removeEventListener(t,n)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.remove()}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getBaseHref(e){const t=(ee=ee||document.querySelector("base"),ee?ee.getAttribute("href"):null);return null==t?null:new URL(t,document.baseURI).pathname}resetBaseElement(){ee=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return a(document.cookie,e)}}e("ɵBrowserDomAdapter",Q);let ee=null;class te{addToWindow(e){x.getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new h(5103,!1);return r},x.getAllAngularTestabilities=()=>e.getAllTestabilities(),x.getAllAngularRootElements=()=>e.getAllRootElements();x.frameworkStabilizers||(x.frameworkStabilizers=[]),x.frameworkStabilizers.push((e=>{const t=x.getAllAngularTestabilities();let n=t.length;const r=function(){n--,0==n&&e()};t.forEach((e=>{e.whenStable(r)}))}))}findTestabilityInTree(e,t,n){if(null==t)return null;const s=e.getTestability(t);return null!=s?s:n?r().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}e("ɵBrowserGetTestability",te);class ne{build(){return new XMLHttpRequest}static{this.ɵfac=function(e){return new(e||ne)}}static{this.ɵprov=u.ɵɵdefineInjectable({token:ne,factory:ne.ɵfac})}}const re=e("EVENT_MANAGER_PLUGINS",new d(""));class se{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach((e=>{e.manager=this})),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find((t=>t.supports(e))),!t)throw new h(5101,!1);return this._eventNameToPlugin.set(e,t),t}static{this.ɵfac=function(e){return new(e||se)(u.ɵɵinject(re),u.ɵɵinject(u.NgZone))}}static{this.ɵprov=u.ɵɵdefineInjectable({token:se,factory:se.ɵfac})}}e("EventManager",se);class oe{constructor(e){this._doc=e}}e("EventManagerPlugin",oe);const ie="ng-app-id";class ae{constructor(e,n,r,s={}){this.doc=e,this.appId=n,this.nonce=r,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=t(s),this.resetHostNodes()}addStyles(e){for(const t of e){1===this.changeUsageCount(t,1)&&this.onStyleAdded(t)}}removeStyles(e){for(const t of e){this.changeUsageCount(t,-1)<=0&&this.onStyleRemoved(t)}}ngOnDestroy(){const e=this.styleNodesInDOM;e&&(e.forEach((e=>e.remove())),e.clear());for(const e of this.getAllStyles())this.onStyleRemoved(e);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const t of this.getAllStyles())this.addStyleToHost(e,t)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(const t of this.hostNodes)this.addStyleToHost(t,e)}onStyleRemoved(e){const t=this.styleRef;t.get(e)?.elements?.forEach((e=>e.remove())),t.delete(e)}collectServerRenderedStyles(){const e=this.doc.head?.querySelectorAll(`style[${ie}="${this.appId}"]`);if(e?.length){const t=new Map;return e.forEach((e=>{null!=e.textContent&&t.set(e.textContent,e)})),t}return null}changeUsageCount(e,t){const n=this.styleRef;if(n.has(e)){const r=n.get(e);return r.usage+=t,r.usage}return n.set(e,{usage:t,elements:[]}),t}getStyleElement(e,t){const n=this.styleNodesInDOM,r=n?.get(t);if(r?.parentNode===e)return n.delete(t),r.removeAttribute(ie),r;{const n=this.doc.createElement("style");return this.nonce&&n.setAttribute("nonce",this.nonce),n.textContent=t,this.platformIsServer&&n.setAttribute(ie,this.appId),e.appendChild(n),n}}addStyleToHost(e,t){const n=this.getStyleElement(e,t),r=this.styleRef,s=r.get(t)?.elements;s?s.push(n):r.set(t,{elements:[n],usage:1})}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}static{this.ɵfac=function(e){return new(e||ae)(u.ɵɵinject(n),u.ɵɵinject(p),u.ɵɵinject(f,8),u.ɵɵinject(m))}}static{this.ɵprov=u.ɵɵdefineInjectable({token:ae,factory:ae.ɵfac})}}e("ɵSharedStylesHost",ae);const ce={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"},le=/%COMP%/g,ue="%COMP%",de=`_nghost-${ue}`,he=`_ngcontent-${ue}`,pe=e("REMOVE_STYLES_ON_COMPONENT_DESTROY",new d("",{providedIn:"root",factory:()=>true}));function fe(e,t){return t.map((t=>t.replace(le,e)))}class me{constructor(e,n,r,s,o,i,a,c=null){this.eventManager=e,this.sharedStylesHost=n,this.appId=r,this.removeStylesOnCompDestroy=s,this.doc=o,this.platformId=i,this.ngZone=a,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=t(i),this.defaultRenderer=new ye(e,o,a,this.platformIsServer)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;this.platformIsServer&&t.encapsulation===g.ShadowDom&&(t={...t,encapsulation:g.Emulated});const n=this.getOrCreateRenderer(e,t);return n instanceof Se?n.applyToHost(e):n instanceof we&&n.applyStyles(),n}getOrCreateRenderer(e,t){const n=this.rendererByCompId;let r=n.get(t.id);if(!r){const s=this.doc,o=this.ngZone,i=this.eventManager,a=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,l=this.platformIsServer;switch(t.encapsulation){case g.Emulated:r=new Se(i,a,t,this.appId,c,s,o,l);break;case g.ShadowDom:return new ve(i,a,e,t,s,o,this.nonce,l);default:r=new we(i,a,t,c,s,o,l)}n.set(t.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}static{this.ɵfac=function(e){return new(e||me)(u.ɵɵinject(se),u.ɵɵinject(ae),u.ɵɵinject(p),u.ɵɵinject(pe),u.ɵɵinject(n),u.ɵɵinject(m),u.ɵɵinject(u.NgZone),u.ɵɵinject(f))}}static{this.ɵprov=u.ɵɵdefineInjectable({token:me,factory:me.ɵfac})}}e("ɵDomRendererFactory2",me);class ye{constructor(e,t,n,r){this.eventManager=e,this.doc=t,this.ngZone=n,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,t){return t?this.doc.createElementNS(ce[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(ge(e)?e.content:e).appendChild(t)}insertBefore(e,t,n){if(e){(ge(e)?e.content:e).insertBefore(t,n)}}removeChild(e,t){t.remove()}selectRootElement(e,t){let n="string"==typeof e?this.doc.querySelector(e):e;if(!n)throw new h(-5104,!1);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;const s=ce[r];s?e.setAttributeNS(s,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=ce[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&(v.DashCase|v.Important)?e.style.setProperty(t,n,r&v.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&v.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){null!=e&&(e[t]=n)}setValue(e,t){e.nodeValue=t}listen(e,t,n){if("string"==typeof e&&!(e=r().getGlobalEventTarget(this.doc,e)))throw new Error(`Unsupported event target ${e} for event ${t}`);return this.eventManager.addEventListener(e,t,this.decoratePreventDefault(n))}decoratePreventDefault(e){return t=>{if("__ngUnwrap__"===t)return e;!1===(this.platformIsServer?this.ngZone.runGuarded((()=>e(t))):e(t))&&t.preventDefault()}}}"@".charCodeAt(0);function ge(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class ve extends ye{constructor(e,t,n,r,s,o,i,a){super(e,s,o,a),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=fe(r.id,r.styles);for(const e of c){const t=document.createElement("style");i&&t.setAttribute("nonce",i),t.textContent=e,this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(null,t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class we extends ye{constructor(e,t,n,r,s,o,i,a){super(e,s,o,i),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=a?fe(a,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Se extends we{constructor(e,t,n,r,s,o,i,a){const c=r+"-"+n.id;var l;super(e,t,n,s,o,i,a,c),this.contentAttr=(l=c,he.replace(le,l)),this.hostAttr=function(e){return de.replace(le,e)}(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class Ee extends oe{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}static{this.ɵfac=function(e){return new(e||Ee)(u.ɵɵinject(n))}}static{this.ɵprov=u.ɵɵdefineInjectable({token:Ee,factory:Ee.ɵfac})}}e("ɵDomEventsPlugin",Ee);const Te=["alt","control","meta","shift"],Ce={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},be={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};class Re extends oe{constructor(e){super(e)}supports(e){return null!=Re.parseEventName(e)}addEventListener(e,t,n){const s=Re.parseEventName(t),o=Re.eventCallback(s.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>r().onAndCancel(e,s.domEventName,o)))}static parseEventName(e){const t=e.toLowerCase().split("."),n=t.shift();if(0===t.length||"keydown"!==n&&"keyup"!==n)return null;const r=Re._normalizeKey(t.pop());let s="",o=t.indexOf("code");if(o>-1&&(t.splice(o,1),s="code."),Te.forEach((e=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),s+=e+".")})),s+=r,0!=t.length||0===r.length)return null;const i={};return i.domEventName=n,i.fullKey=s,i}static matchEventFullKeyCode(e,t){let n=Ce[e.key]||e.key,r="";return t.indexOf("code.")>-1&&(n=e.code,r="code."),!(null==n||!n)&&(n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Te.forEach((t=>{if(t!==n){(0,be[t])(e)&&(r+=t+".")}})),r+=n,r===t)}static eventCallback(e,t,n){return r=>{Re.matchEventFullKeyCode(r,e)&&n.runGuarded((()=>t(r)))}}static _normalizeKey(e){return"esc"===e?"escape":e}static{this.ɵfac=function(e){return new(e||Re)(u.ɵɵinject(n))}}static{this.ɵprov=u.ɵɵdefineInjectable({token:Re,factory:Re.ɵfac})}}function Ie(e){return{appProviders:[...Me,...e?.providers??[]],platformProviders:_e}}function Ae(){Q.makeCurrent()}e("ɵKeyEventsPlugin",Re);const _e=e("ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS",[{provide:m,useValue:c},{provide:B,useValue:Ae,multi:!0},{provide:n,useFactory:function(){return Y(document),document},deps:[]}]),Oe=(e("platformBrowser",w(S,"browser",_e)),new d("")),Ne=[{provide:F,useClass:te,deps:[]},{provide:z,useClass:K,deps:[C,V,F]},{provide:K,useClass:K,deps:[C,V,F]}],Me=[{provide:E,useValue:"root"},{provide:T,useFactory:function(){return new T},deps:[]},{provide:re,useClass:Ee,multi:!0,deps:[n,C,m]},{provide:re,useClass:Re,multi:!0,deps:[n]},me,ae,se,{provide:b,useExisting:me},{provide:s,useClass:ne,deps:[]},[]];class He{constructor(e){0}static withServerTransition(e){return{ngModule:He,providers:[{provide:p,useValue:e.appId}]}}static{this.ɵfac=function(e){return new(e||He)(u.ɵɵinject(Oe,12))}}static{this.ɵmod=u.ɵɵdefineNgModule({type:He})}static{this.ɵinj=u.ɵɵdefineInjector({providers:[...Me,...Ne],imports:[o,R]})}}e("BrowserModule",He);class De{constructor(e){this._doc=e,this._dom=r()}addTag(e,t=!1){return e?this._getOrCreateElement(e,t):null}addTags(e,t=!1){return e?e.reduce(((e,n)=>(n&&e.push(this._getOrCreateElement(n,t)),e)),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];const t=this._doc.querySelectorAll(`meta[${e}]`);return t?[].slice.call(t):[]}updateTag(e,t){if(!e)return null;t=t||this._parseSelector(e);const n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,t=!1){if(!t){const t=this._parseSelector(e),n=this.getTags(t).filter((t=>this._containsAttributes(e,t)))[0];if(void 0!==n)return n}const n=this._dom.createElement("meta");this._setMetaElementAttributes(e,n);return this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(e,t){return Object.keys(e).forEach((n=>t.setAttribute(this._getMetaKeyMap(n),e[n]))),t}_parseSelector(e){const t=e.name?"name":"property";return`${t}="${e[t]}"`}_containsAttributes(e,t){return Object.keys(e).every((n=>t.getAttribute(this._getMetaKeyMap(n))===e[n]))}_getMetaKeyMap(e){return Le[e]||e}static{this.ɵfac=function(e){return new(e||De)(u.ɵɵinject(n))}}static{this.ɵprov=u.ɵɵdefineInjectable({token:De,factory:De.ɵfac,providedIn:"root"})}}e("Meta",De);const Le={httpEquiv:"http-equiv"};class je{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static{this.ɵfac=function(e){return new(e||je)(u.ɵɵinject(n))}}static{this.ɵprov=u.ɵɵdefineInjectable({token:je,factory:je.ɵfac,providedIn:"root"})}}function ke(e,t){if("undefined"==typeof COMPILED||!COMPILED){(x.ng=x.ng||{})[e]=t}}e("Title",je);class Pe{constructor(e,t){this.msPerTick=e,this.numTicks=t}}class xe{constructor(e){this.appRef=e.injector.get(W)}timeChangeDetection(e){const t=e&&e.record,n="Change Detection";t&&"profile"in console&&"function"==typeof console.profile&&console.profile(n);const r=performance.now();let s=0;for(;s<5||performance.now()-r<500;)this.appRef.tick(),s++;const o=performance.now();t&&"profileEnd"in console&&"function"==typeof console.profileEnd&&console.profileEnd(n);const i=(o-r)/s;return console.log(`ran ${s} change detection cycles`),console.log(`${i.toFixed(2)} ms per check`),new Pe(i,s)}}const Ue="profiler";e("By",class{static all(){return()=>!0}static css(e){return t=>null!=t.nativeElement&&function(e,t){if(r().isElementNode(e))return e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t);return!1}(t.nativeElement,e)}static directive(e){return t=>-1!==t.providerTokens.indexOf(e)}});const Be={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},Fe=e("HAMMER_GESTURE_CONFIG",new d("HammerGestureConfig")),ze=e("HAMMER_LOADER",new d("HammerLoader"));class Ke{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const e in this.overrides)t.get(e).set(this.overrides[e]);return t}static{this.ɵfac=function(e){return new(e||Ke)}}static{this.ɵprov=u.ɵɵdefineInjectable({token:Ke,factory:Ke.ɵfac})}}e("HammerGestureConfig",Ke);class Ve extends oe{constructor(e,t,n,r){super(e),this._config=t,this.console=n,this.loader=r,this._loaderPromise=null}supports(e){return!(!Be.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e))&&!(!window.Hammer&&!this.loader)}addEventListener(e,t,n){const r=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||r.runOutsideAngular((()=>this.loader()));let s=!1,o=()=>{s=!0};return r.runOutsideAngular((()=>this._loaderPromise.then((()=>{window.Hammer?s||(o=this.addEventListener(e,t,n)):o=()=>{}})).catch((()=>{o=()=>{}})))),()=>{o()}}return r.runOutsideAngular((()=>{const s=this._config.buildHammer(e),o=function(e){r.runGuarded((function(){n(e)}))};return s.on(t,o),()=>{s.off(t,o),"function"==typeof s.destroy&&s.destroy()}}))}isCustomEvent(e){return this._config.events.indexOf(e)>-1}static{this.ɵfac=function(e){return new(e||Ve)(u.ɵɵinject(n),u.ɵɵinject(Fe),u.ɵɵinject(u.ɵConsole),u.ɵɵinject(ze,8))}}static{this.ɵprov=u.ɵɵdefineInjectable({token:Ve,factory:Ve.ɵfac})}}e("ɵHammerGesturesPlugin",Ve);class Ge{static{this.ɵfac=function(e){return new(e||Ge)}}static{this.ɵmod=u.ɵɵdefineNgModule({type:Ge})}static{this.ɵinj=u.ɵɵdefineInjector({providers:[{provide:re,useClass:Ve,multi:!0,deps:[n,Fe,I,[new y,ze]]},{provide:Fe,useClass:Ke,deps:[]}]})}}e("HammerModule",Ge);class Ze{static{this.ɵfac=function(e){return new(e||Ze)}}static{this.ɵprov=u.ɵɵdefineInjectable({token:Ze,factory:function(e){let t=null;return t=e?new(e||Ze):u.ɵɵinject($e),t},providedIn:"root"})}}e("DomSanitizer",Ze);class $e extends Ze{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case A.NONE:return t;case A.HTML:return _(t,"HTML")?O(t):M(this._doc,String(t)).toString();case A.STYLE:return _(t,"Style")?O(t):t;case A.SCRIPT:if(_(t,"Script"))return O(t);throw new h(5200,!1);case A.URL:return _(t,"URL")?O(t):N(String(t));case A.RESOURCE_URL:if(_(t,"ResourceURL"))return O(t);throw new h(5201,!1);default:throw new h(5202,!1)}}bypassSecurityTrustHtml(e){return H(e)}bypassSecurityTrustStyle(e){return D(e)}bypassSecurityTrustScript(e){return L(e)}bypassSecurityTrustUrl(e){return j(e)}bypassSecurityTrustResourceUrl(e){return k(e)}static{this.ɵfac=function(e){return new(e||$e)(u.ɵɵinject(n))}}static{this.ɵprov=u.ɵɵdefineInjectable({token:$e,factory:$e.ɵfac,providedIn:"root"})}}var qe;function Ye(e,t=[],n={}){return{ɵkind:e,ɵproviders:t}}e("ɵDomSanitizerImpl",$e),e("HydrationFeatureKind",qe),function(e){e[e.NoHttpTransferCache=0]="NoHttpTransferCache",e[e.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",e[e.I18nSupport=2]="I18nSupport",e[e.EventReplay=3]="EventReplay"}(qe||e("HydrationFeatureKind",qe={}));e("VERSION",new P("18.2.11"))}}}));
//# sourceMappingURL=angular-platform-browser.min.js.map

@@ -1,2 +0,2 @@

/* esm-bundle - @angular/router/upgrade@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/router/upgrade@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(['@angular/common', '@angular/core', '@angular/router', '@angular/upgrade/static'], (function (exports) {

@@ -23,3 +23,3 @@ 'use strict';

/**
* @license Angular v18.2.10
* @license Angular v18.2.11
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -26,0 +26,0 @@ * License: MIT

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/router/upgrade@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/router/upgrade@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(["@angular/common","@angular/core","@angular/router","@angular/upgrade/static"],(function(t){"use strict";var e,n,r,a;return{setters:[function(t){e=t.Location},function(t){n=t.APP_BOOTSTRAP_LISTENER},function(t){r=t.Router},function(t){a=t.UpgradeModule}],execute:function(){t({locationSyncBootstrapListener:o,setUpLocationSync:i});t("RouterUpgradeInitializer",{provide:n,multi:!0,useFactory:o,deps:[a]});function o(t){return()=>{i(t)}}function i(t,n="path"){if(!t.$injector)throw new Error("\n RouterUpgradeInitializer can be used only after UpgradeModule.bootstrap has been called.\n Remove RouterUpgradeInitializer and call setUpLocationSync after UpgradeModule.bootstrap.\n ");const a=t.injector.get(r),o=t.injector.get(e);t.$injector.get("$rootScope").$on("$locationChangeStart",((t,e,r,i,c)=>{const u=a.getCurrentNavigation()?.id,l=i?.navigationId;if(void 0!==l&&l===u)return;let p;if("path"===n)p=s(e);else{if("hash"!==n)throw"Invalid URLType passed to setUpLocationSync: "+n;{const t=e.indexOf("#");p=s(e.substring(0,t)+e.substring(t+1))}}const h=o.normalize(p.pathname);a.navigateByUrl(h+p.search+p.hash)}))}let c;function s(t){return c??=document.createElement("a"),c.setAttribute("href",t),c.setAttribute("href",c.href),{pathname:`/${c.pathname.replace(/^\//,"")}`,search:c.search,hash:c.hash}}}}}));
//# sourceMappingURL=angular-router-upgrade.min.js.map

@@ -1,2 +0,2 @@

/* esm-bundle - @angular/service-worker/config@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/service-worker/config@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register([], (function (exports) {

@@ -8,3 +8,3 @@ 'use strict';

/**
* @license Angular v18.2.10
* @license Angular v18.2.11
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -11,0 +11,0 @@ * License: MIT

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/service-worker/config@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/service-worker/config@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register([],(function(e){"use strict";return{execute:function(){const t=/([0-9]+[^0-9]+)/g,s=/^([0-9]+)([dhmsu]+)$/;function r(e){const r=[];let a;for(;null!==(a=t.exec(e));)r.push(a[0]);return r.map((e=>{const t=s.exec(e);if(null===t)throw new Error(`Not a valid duration: ${e}`);let r=0;switch(t[2]){case"d":r=864e5;break;case"h":r=36e5;break;case"m":r=6e4;break;case"s":r=1e3;break;case"u":r=1;break;default:throw new Error(`Not a valid duration unit: ${t[2]}`)}return parseInt(t[1])*r})).reduce(((e,t)=>e+t),0)}const a="(?:.+\\/)?",n=[{replace:/\./g,with:"\\."},{replace:/\+/g,with:"\\+"},{replace:/\*/g,with:"[^/]*"}],o=[...n,{replace:/\?/g,with:"[^/]"}],i=[...n,{replace:/\?/g,with:"\\?"}];function c(e,t=!1){const s=t?i:o,r=e.split("/").reverse();let n="";for(;r.length>0;){const e=r.pop();if("**"===e)r.length>0?n+=a:n+=".*";else{const t=s.reduce(((e,t)=>e.replace(t.replace,t.with)),e);n+=t,r.length>0&&(n+="\\/")}}return n}const u=["/**","!/**/*.*","!/**/*__*","!/**/*__*/**"];function p(e,t=u){return t.map((t=>{const s=!t.startsWith("!");return{positive:s,regex:`^${l(t=s?t:t.slice(1),e)}$`}}))}function h(e){const t=e.map((e=>e.startsWith("!")?{positive:!1,regex:new RegExp("^"+c(e.slice(1))+"$")}:{positive:!0,regex:new RegExp("^"+c(e)+"$")}));return e=>function(e,t){return t.reduce(((t,s)=>s.positive?t||s.regex.test(e):t&&!s.regex.test(e)),!1)}(e,t)}function l(e,t,s){return e.startsWith("/")||-1!==e.indexOf("://")||(e=f(t.replace(/^\.(?=\/)/,""),e)),c(e,s)}function f(e,t){return e.endsWith("/")&&t.startsWith("/")?e+t.slice(1):e.endsWith("/")||t.startsWith("/")?e+t:e+"/"+t}function g(e){const t={};return Object.keys(e).sort().forEach((s=>t[s]=e[s])),t}function d(e){return{ignoreVary:!0,...e}}e("Generator",class{constructor(e,t){this.fs=e,this.baseHref=t}async process(e){const t={},s=await this.processAssetGroups(e,t);return{configVersion:1,timestamp:Date.now(),appData:e.appData,index:f(this.baseHref,e.index),assetGroups:s,dataGroups:this.processDataGroups(e),hashTable:g(t),navigationUrls:p(this.baseHref,e.navigationUrls),navigationRequestStrategy:e.navigationRequestStrategy??"performance"}}async processAssetGroups(e,t){const s=await this.fs.list("/"),r=new Set,a=new Map;for(const t of e.assetGroups||[]){if(t.resources.versionedFiles)throw new Error(`Asset-group '${t.name}' in 'ngsw-config.json' uses the 'versionedFiles' option, which is no longer supported. Use 'files' instead.`);const e=h(t.resources.files||[]),n=s.filter(e).filter((e=>!r.has(e))).sort();n.forEach((e=>r.add(e))),a.set(t,n)}const n=[].concat(...Array.from(a.values())).sort(),o=await async function(e,t,s){const r=[];for(let s=0;s<e.length;s+=t)r.push(e.slice(s,s+t));return r.reduce((async(e,t)=>(await e).concat(await Promise.all(t.map((e=>s(e)))))),Promise.resolve([]))}(n,500,(e=>this.fs.hash(e)));return n.forEach(((e,s)=>{t[f(this.baseHref,e)]=o[s]})),Array.from(a.entries()).map((([e,t])=>({name:e.name,installMode:e.installMode||"prefetch",updateMode:e.updateMode||e.installMode||"prefetch",cacheQueryOptions:d(e.cacheQueryOptions),urls:t.map((e=>f(this.baseHref,e))),patterns:(e.resources.urls||[]).map((e=>l(e,this.baseHref,!0)))})))}processDataGroups(e){return(e.dataGroups||[]).map((e=>({name:e.name,patterns:e.urls.map((e=>l(e,this.baseHref,!0))),strategy:e.cacheConfig.strategy||"performance",maxSize:e.cacheConfig.maxSize,maxAge:r(e.cacheConfig.maxAge),timeoutMs:e.cacheConfig.timeout&&r(e.cacheConfig.timeout),cacheOpaqueResponses:e.cacheConfig.cacheOpaqueResponses,cacheQueryOptions:d(e.cacheQueryOptions),version:void 0!==e.version?e.version:1})))}})}}}));
//# sourceMappingURL=angular-service-worker-config.min.js.map

@@ -1,2 +0,2 @@

/* esm-bundle - @angular/service-worker@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/service-worker@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(['@angular/core', '@angular/common', 'rxjs', 'rxjs/operators'], (function (exports) {

@@ -43,3 +43,3 @@ 'use strict';

/**
* @license Angular v18.2.10
* @license Angular v18.2.11
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -46,0 +46,0 @@ * License: MIT

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/service-worker@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/service-worker@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(["@angular/core","@angular/common","rxjs","rxjs/operators"],(function(e){"use strict";var t,r,s,i,n,o,a,c,u,p,h,l,g,d,f,w,v,E,b,y,O,m,I,S,T;return{setters:[function(e){t=e,e.Injectable,r=e.InjectionToken,e.NgModule,s=e.makeEnvironmentProviders,i=e.PLATFORM_ID,n=e.APP_INITIALIZER,o=e.Injector,a=e.NgZone,c=e.ApplicationRef},function(e){u=e.isPlatformBrowser},function(e){p=e.Subject,h=e.NEVER,l=e.merge,g=e.fromEvent,d=e.defer,f=e.of,w=e.concat,v=e.throwError,E=e.from},function(e){b=e.map,y=e.switchMap,O=e.take,m=e.filter,I=e.publish,S=e.tap,T=e.delay}],execute:function(){e("provideServiceWorker",R);const k="Service workers are disabled or not supported by this browser";class A{constructor(e){if(this.serviceWorker=e,e){const t=g(e,"controllerchange").pipe(b((()=>e.controller))),r=d((()=>f(e.controller))),s=w(r,t);this.worker=s.pipe(m((e=>!!e))),this.registration=this.worker.pipe(y((()=>e.getRegistration())));const i=g(e,"message").pipe(b((e=>e.data))).pipe(m((e=>e&&e.type))).pipe(I());i.connect(),this.events=i}else this.worker=this.events=this.registration=(t=k,d((()=>v(new Error(t)))));var t}postMessage(e,t){return this.worker.pipe(O(1),S((r=>{r.postMessage({action:e,...t})}))).toPromise().then((()=>{}))}postMessageWithOperation(e,t,r){const s=this.waitForOperationCompleted(r),i=this.postMessage(e,t);return Promise.all([i,s]).then((([,e])=>e))}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(e){let t;return t="string"==typeof e?t=>t.type===e:t=>e.includes(t.type),this.events.pipe(m(t))}nextEventOfType(e){return this.eventsOfType(e).pipe(O(1))}waitForOperationCompleted(e){return this.eventsOfType("OPERATION_COMPLETED").pipe(m((t=>t.nonce===e)),O(1),b((e=>{if(void 0!==e.result)return e.result;throw new Error(e.error)}))).toPromise()}get isEnabled(){return!!this.serviceWorker}}class M{get isEnabled(){return this.sw.isEnabled}constructor(e){if(this.sw=e,this.pushManager=null,this.subscriptionChanges=new p,!e.isEnabled)return this.messages=h,this.notificationClicks=h,void(this.subscription=h);this.messages=this.sw.eventsOfType("PUSH").pipe(b((e=>e.data))),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(b((e=>e.data))),this.pushManager=this.sw.registration.pipe(b((e=>e.pushManager)));const t=this.pushManager.pipe(y((e=>e.getSubscription())));this.subscription=l(t,this.subscriptionChanges)}requestSubscription(e){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(k));const t={userVisibleOnly:!0};let r=this.decodeBase64(e.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),s=new Uint8Array(new ArrayBuffer(r.length));for(let e=0;e<r.length;e++)s[e]=r.charCodeAt(e);return t.applicationServerKey=s,this.pushManager.pipe(y((e=>e.subscribe(t))),O(1)).toPromise().then((e=>(this.subscriptionChanges.next(e),e)))}unsubscribe(){if(!this.sw.isEnabled)return Promise.reject(new Error(k));return this.subscription.pipe(O(1),y((e=>{if(null===e)throw new Error("Not subscribed to push notifications.");return e.unsubscribe().then((e=>{if(!e)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)}))}))).toPromise()}decodeBase64(e){return atob(e)}static{this.ɵfac=function(e){return new(e||M)(t.ɵɵinject(A))}}static{this.ɵprov=t.ɵɵdefineInjectable({token:M,factory:M.ɵfac})}}e("SwPush",M);class N{get isEnabled(){return this.sw.isEnabled}constructor(e){if(this.sw=e,!e.isEnabled)return this.versionUpdates=h,void(this.unrecoverable=h);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(k));const e=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:e},e)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(k));const e=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:e},e)}static{this.ɵfac=function(e){return new(e||N)(t.ɵɵinject(A))}}static{this.ɵprov=t.ɵɵdefineInjectable({token:N,factory:N.ɵfac})}}e("SwUpdate",N);const P=new r("");function C(e,t,r,s){return()=>{if(!u(s)||!("serviceWorker"in navigator)||!1===r.enabled)return;const i=e.get(a),n=e.get(c);let o;if(i.runOutsideAngular((()=>{const e=navigator.serviceWorker,t=()=>e.controller?.postMessage({action:"INITIALIZE"});e.addEventListener("controllerchange",t),n.onDestroy((()=>{e.removeEventListener("controllerchange",t)}))})),"function"==typeof r.registrationStrategy)o=r.registrationStrategy();else{const[t,...s]=(r.registrationStrategy||"registerWhenStable:30000").split(":");switch(t){case"registerImmediately":o=f(null);break;case"registerWithDelay":o=j(+s[0]||0);break;case"registerWhenStable":const t=E(e.get(c).whenStable());o=s[0]?l(t,j(+s[0])):t;break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${r.registrationStrategy}`)}}i.runOutsideAngular((()=>o.pipe(O(1)).subscribe((()=>navigator.serviceWorker.register(t,{scope:r.scope}).catch((e=>console.error("Service worker registration failed with:",e)))))))}}function j(e){return f(null).pipe(T(e))}function W(e,t){return new A(u(t)&&!1!==e.enabled?navigator.serviceWorker:void 0)}class _{}function R(e,t={}){return s([M,N,{provide:P,useValue:e},{provide:_,useValue:t},{provide:A,useFactory:W,deps:[_,i]},{provide:n,useFactory:C,deps:[o,P,_,i],multi:!0}])}e("SwRegistrationOptions",_);class D{static register(e,t={}){return{ngModule:D,providers:[R(e,t)]}}static{this.ɵfac=function(e){return new(e||D)}}static{this.ɵmod=t.ɵɵdefineNgModule({type:D})}static{this.ɵinj=t.ɵɵdefineInjector({providers:[M,N]})}}e("ServiceWorkerModule",D)}}}));
//# sourceMappingURL=angular-service-worker.min.js.map

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/upgrade/static@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(["@angular/core","@angular/platform-browser"],(function(t){"use strict";var e,n,o,r,i,s,c,a,l,u,p,h,d,g,m,f;return{setters:[function(t){e=t.Version,n=t.EventEmitter,o=t,t.Directive,t.NgModule,r=t.ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR,i=t.PlatformRef,s=t.Testability,c=t.ɵNG_MOD_DEF,a=t.NgZone,l=t.ComponentFactoryResolver,u=t.Injector,p=t.ChangeDetectorRef,h=t.TestabilityRegistry,d=t.ApplicationRef,g=t.SimpleChange,m=t.ɵSIGNAL},function(t){f=t.platformBrowser}],execute:function(){function $(){throw new Error("AngularJS v1.x is not loaded!")}t({downgradeComponent:function(t){const e=function(e,n,o){const r=t.unsafelyOverwriteSignalInputs??!1,i=3===nt(n),s=i?t=>()=>a.isInAngularZone()?t():c.run(t):t=>t;let c;const u=i&&et(n)>1;return{restrict:"E",terminal:!0,require:[G,J],controller:function(){},link:(p,h,d,g)=>{const m=g[1],f=g[0];let $,y=!1;if(!f||u){const e=t.downgradedModule||"",o=`${q}${e}`,r=`instantiating component '${tt(t.component)}'`;it(n,e,o,r);const i=n.get(o);$=i.injector??i.promise}const b=f||$,w=$||f,E=(n,c)=>{const a=c.get(l).resolveComponentFactory(t.component);if(!a)throw new Error(`Expecting ComponentFactory for: ${tt(t.component)}`);const u=new dt(h),g=new lt(h,d,p,m,n,e,o,a,s,r),f=g.compileContents(),$=g.createComponentAndSetup(f,i,t.propagateDigest);u.resolve($.injector),y&&p.$evalAsync((()=>{}))},O=i?(t,e)=>{c||(c=t.get(a)),s((()=>E(t,e)))()}:E;ht.all([b,w]).then((([t,e])=>O(t,e))),y=!0}}};return e.$inject=[j,N,P],e},downgradeInjectable:function(t,e=""){const n=function(n){const o=`${V}${e}`,r=`instantiating injectable '${ot(t)?tt(t):String(t)}'`;it(n,e,o,r);try{return n.get(o).get(t)}catch(t){throw new Error(`Error while ${r}: ${t.message||t}`)}};return n.$inject=[N],n},downgradeModule:function(t){const e=`${Z}.lazy${++Tt}`,n=`${q}${e}`,o=`${V}${e}`;let r,s;r=rt(t)?e=>f(e).bootstrapModule(t):ot(t)?t:e=>f(e).bootstrapModuleFactory(t);return T(e,[]).constant(x,3).factory(V,[o,At]).factory(o,(()=>{if(!s)throw new Error("Trying to get the Angular injector before bootstrapping the corresponding Angular module.");return s})).factory(q,[n,At]).factory(n,[N,t=>{Ot(t);const e={promise:r(Ct).then((n=>(s=e.injector=new vt(n.injector),s.get(N),s.get(i).onDestroy((()=>Q(t))),s)))};return e}]).config([N,R,(t,e)=>{e.constant(F,et(t)+1)}]),e},getAngularJSGlobal:C,getAngularLib:E,setAngularJSGlobal:O,setAngularLib:w});const y=()=>$();y.cleanData=$;let b={bootstrap:$,module:$,element:y,injector:$,version:void 0,resumeBootstrap:$,getTestability:$};try{window.hasOwnProperty("angular")&&(b=window.angular)}catch{}function w(t){O(t)}function E(){return C()}function O(t){b=t}function C(){return b}const v=(t,e,n)=>b.bootstrap(t,e,n),T=(t,e)=>b.module(t,e),A=t=>b.element(t);A.cleanData=t=>b.element.cleanData(t);t("ɵangular1",Object.freeze({__proto__:null,setAngularLib:w,getAngularLib:E,setAngularJSGlobal:O,getAngularJSGlobal:C,bootstrap:v,module_:T,element:A,injector:(t,e)=>b.injector(t,e),resumeBootstrap:()=>b.resumeBootstrap(),getTestability:t=>b.getTestability(t)}));const j="$compile",D="$controller",_="$delegate",S="$httpBackend",N="$injector",I="$interval",P="$parse",R="$provide",k="$rootElement",M="$rootScope",L="$scope",B="$templateCache",U="$$testability",F="$$angularDowngradedModuleCount",V="$$angularInjector",q="$$angularLazyModuleRef",x="$$angularUpgradeAppType",G="?^^"+V,J="?ngModel",Z="$$UpgradeModule";t("ɵconstants",Object.freeze({__proto__:null,$COMPILE:j,$CONTROLLER:D,$DELEGATE:_,$EXCEPTION_HANDLER:"$exceptionHandler",$HTTP_BACKEND:S,$INJECTOR:N,$INTERVAL:I,$PARSE:P,$PROVIDE:R,$ROOT_ELEMENT:k,$ROOT_SCOPE:M,$SCOPE:L,$TEMPLATE_CACHE:B,$TEMPLATE_REQUEST:"$templateRequest",$$TESTABILITY:U,COMPILER_KEY:"$$angularCompiler",DOWNGRADED_MODULE_COUNT_KEY:F,GROUP_PROJECTABLE_NODES_KEY:"$$angularGroupProjectableNodes",INJECTOR_KEY:V,LAZY_MODULE_REF:q,NG_ZONE_KEY:"$$angularNgZone",UPGRADE_APP_TYPE_KEY:x,REQUIRE_INJECTOR:G,REQUIRE_NG_MODEL:J,UPGRADE_MODULE_NAME:Z}));class K{constructor(t,e){this.prop=t,this.attr=e,this.bracketAttr=`[${this.attr}]`,this.parenAttr=`(${this.attr})`,this.bracketParenAttr=`[(${this.attr})]`;const n=this.attr.charAt(0).toUpperCase()+this.attr.slice(1);this.onAttr=`on${n}`,this.bindAttr=`bind${n}`,this.bindonAttr=`bindon${n}`}}const z=/^(?:x|data)[:\-_]/i,H=/[:\-_]+(.)/g;function W(t){A.cleanData([t]),function(t){return ot(t.querySelectorAll)}(t)&&A.cleanData(t.querySelectorAll("*"))}function Y(t){return"$"+t+"Controller"}function Q(t){const e=t.get(k);t.get(M).$destroy(),W(e[0])}function X(t){return t.replace(z,"").replace(H,((t,e)=>e.toUpperCase()))}function tt(t){return t.overriddenName||t.name||t.toString().split("\n")[0]}function et(t){return t.has(F)?t.get(F):0}function nt(t){return t.has(x)?t.get(x):0}function ot(t){return"function"==typeof t}function rt(t){return ot(t)&&!!t[c]}function it(t,e,n,o){const r=nt(t),i=et(t);switch(r){case 1:case 2:if(e)throw new Error(`Error while ${o}: 'downgradedModule' unexpectedly specified.\nYou should not specify a value for 'downgradedModule', unless you are downgrading more than one Angular module (via 'downgradeModule()').`);break;case 3:if(!e&&i>=2)throw new Error(`Error while ${o}: 'downgradedModule' not specified.\nThis application contains more than one downgraded Angular module, thus you need to always specify 'downgradedModule' when downgrading components and injectables.`);if(!t.has(n))throw new Error(`Error while ${o}: Unable to find the specified downgraded module.\nDid you forget to downgrade an Angular module or include it in the AngularJS application?`);break;default:throw new Error(`Error while ${o}: Not a valid '@angular/upgrade' application.\nDid you forget to downgrade an Angular module or include it in the AngularJS application?`)}}function st(t,e){t&&function(t){return"function"==typeof t.writeValue&&"function"==typeof t.registerOnChange}(e)&&(t.$render=()=>{e.writeValue(t.$viewValue)},e.registerOnChange(t.$setViewValue.bind(t)),"function"==typeof e.registerOnTouched&&e.registerOnTouched(t.$setTouched.bind(t)))}function ct(t,e){return t===e||t!=t&&e!=e}t("ɵutil",Object.freeze({__proto__:null,onError:function(t){throw console.error(t,t.stack),t},cleanData:W,controllerKey:Y,destroyApp:Q,directiveNormalize:X,getTypeName:tt,getDowngradedModuleCount:et,getUpgradeAppType:nt,isFunction:ot,isNgModuleType:rt,validateInjectionKey:it,Deferred:class{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}},hookupNgModel:st,strictEquals:ct}));const at={__UNINITIALIZED__:!0};class lt{constructor(t,e,n,o,r,i,s,c,a,l){this.element=t,this.attrs=e,this.scope=n,this.ngModel=o,this.parentInjector=r,this.$compile=i,this.$parse=s,this.componentFactory=c,this.wrapCallback=a,this.unsafelyOverwriteSignalInputs=l,this.implementsOnChanges=!1,this.inputChangeCount=0,this.inputChanges={},this.componentScope=n.$new()}compileContents(){const t=[],e=this.groupProjectableNodes().map((t=>this.$compile(t)));return this.element.empty(),e.forEach((e=>{e(this.scope,(e=>{t.push(e),this.element.append(e)}))})),t}createComponentAndSetup(t,e=!1,n=!0){const o=this.createComponent(t);return this.setupInputs(e,n,o),this.setupOutputs(o.componentRef),this.registerCleanup(o.componentRef),o.componentRef}createComponent(t){const e=[{provide:L,useValue:this.componentScope}],n=u.create({providers:e,parent:this.parentInjector,name:"DowngradeComponentAdapter"}),o=this.componentFactory.create(n,t,this.element[0]),r=o.injector.get(p),i=o.changeDetectorRef,c=o.injector.get(s,null);return c&&o.injector.get(h).registerApplication(o.location.nativeElement,c),st(this.ngModel,o.instance),{viewChangeDetector:r,componentRef:o,changeDetector:i}}setupInputs(t,e=!0,{componentRef:n,changeDetector:o,viewChangeDetector:r}){const i=this.attrs,s=this.componentFactory.inputs||[];for(const t of s){const e=new K(t.propName,t.templateName);let o=null;if(i.hasOwnProperty(e.attr)){const o=((t,e)=>{let o=at;return r=>{ct(o,r)||(o===at&&(o=r),this.updateInput(n,t,o,r,e),o=r)}})(e.prop,t.isSignal);i.$observe(e.attr,o);let r=this.componentScope.$watch((()=>{r(),r=null,o(i[e.attr])}))}else i.hasOwnProperty(e.bindAttr)?o=i[e.bindAttr]:i.hasOwnProperty(e.bracketAttr)?o=i[e.bracketAttr]:i.hasOwnProperty(e.bindonAttr)?o=i[e.bindonAttr]:i.hasOwnProperty(e.bracketParenAttr)&&(o=i[e.bracketParenAttr]);if(null!=o){const r=((t,e)=>(o,r)=>this.updateInput(n,t,r,o,e))(e.prop,t.isSignal);this.componentScope.$watch(o,r)}}const c=()=>o.detectChanges(),a=this.componentFactory.componentType.prototype;if(this.implementsOnChanges=!(!a||!a.ngOnChanges),this.componentScope.$watch((()=>this.inputChangeCount),this.wrapCallback((()=>{if(this.implementsOnChanges){const t=this.inputChanges;this.inputChanges={},n.instance.ngOnChanges(t)}r.markForCheck(),e||c()}))),e&&this.componentScope.$watch(this.wrapCallback(c)),t||!e){let t=this.componentScope.$watch((()=>{t(),t=null;this.parentInjector.get(d).attachView(n.hostView)}))}}setupOutputs(t){const e=this.attrs,n=this.componentFactory.outputs||[];for(const o of n){const n=new K(o.propName,o.templateName),r=n.bindonAttr.substring(0,n.bindonAttr.length-6),i=`[(${n.bracketParenAttr.substring(2,n.bracketParenAttr.length-8)})]`;e.hasOwnProperty(r)&&this.subscribeToOutput(t,n,e[r],!0),e.hasOwnProperty(i)&&this.subscribeToOutput(t,n,e[i],!0),e.hasOwnProperty(n.onAttr)&&this.subscribeToOutput(t,n,e[n.onAttr]),e.hasOwnProperty(n.parenAttr)&&this.subscribeToOutput(t,n,e[n.parenAttr])}}subscribeToOutput(t,e,n,o=!1){const r=this.$parse(n),i=r.assign;if(o&&!i)throw new Error(`Expression '${n}' is not assignable!`);const s=t.instance[e.prop];if(!s)throw new Error(`Missing emitter '${e.prop}' on component '${tt(this.componentFactory.componentType)}'!`);{const e=s.subscribe({next:o?t=>i(this.scope,t):t=>r(this.scope,{$event:t})});t.onDestroy((()=>e.unsubscribe()))}}registerCleanup(t){const e=t.injector.get(h),n=this.wrapCallback((()=>t.destroy()));let o=!1;this.element.on("$destroy",(()=>{o||this.componentScope.$destroy()})),this.componentScope.$on("$destroy",(()=>{o||(o=!0,e.unregisterApplication(t.location.nativeElement),W(this.element[0]),n())}))}updateInput(t,e,n,o,r){if(this.implementsOnChanges&&(this.inputChanges[e]=new g(n,o,n===o)),this.inputChangeCount++,r&&!this.unsafelyOverwriteSignalInputs){const n=t.instance[e][m];n.applyValueToInputSignal(n,o)}else t.instance[e]=o}groupProjectableNodes(){return function(t,e){const n=[];for(let e=0,o=t.length;e<o;++e)n[e]=[];for(let o=0,r=e.length;o<r;++o){const r=e[o],i=ut(r,t);null!=i&&n[i].push(r)}return n}(this.componentFactory.ngContentSelectors,this.element.contents())}}function ut(t,e){const n=[];let o=-1;for(let r=0;r<e.length;r++){const i=e[r];"*"===i?o=r:pt(t,i)&&n.push(r)}return n.sort(),-1!==o&&n.push(o),n.length?n[0]:null}function pt(t,e){const n=Element.prototype;return t.nodeType===Node.ELEMENT_NODE&&(n.matches??n.msMatchesSelector).call(t,e)}class ht{constructor(){this.resolved=!1,this.callbacks=[]}static all(t){const e=new ht;let n=0;const o=[],r=(r,i)=>{o[r]=i,++n===t.length&&e.resolve(o)};return t.forEach(((t,e)=>{var n;(n=t)&&ot(n.then)?t.then((t=>r(e,t))):r(e,t)})),e}resolve(t){this.resolved||(this.value=t,this.resolved=!0,this.callbacks.forEach((e=>e(t))),this.callbacks.length=0)}then(t){this.resolved?t(this.value):this.callbacks.push(t)}}class dt extends ht{constructor(t){super(),this.element=t,this.injectorKey=Y(V),t.data(this.injectorKey,this)}resolve(t){this.element.data(this.injectorKey,t),this.element=null,super.resolve(t)}}t("VERSION",new e("18.2.10"));let gt;function mt(t){return function(){if(void 0===gt){gt=null;const t=window;if(t.trustedTypes)try{gt=t.trustedTypes.createPolicy("angular#unsafe-upgrade",{createHTML:t=>t})}catch{}}return gt}()?.createHTML(t)||t}const ft=/^(\^\^?)?(\?)?(\^\^?)?/;class $t{constructor(t,e,n,o){this.name=e,this.$injector=t.get(N),this.$compile=this.$injector.get(j),this.$controller=this.$injector.get(D),this.element=n.nativeElement,this.$element=A(this.element),this.directive=o??$t.getDirective(this.$injector,e)}static getDirective(t,e){const n=t.get(e+"Directive");if(n.length>1)throw new Error(`Only support single directive definition for: ${e}`);const o=n[0];return o.compile&&!o.link&&wt(e,"compile"),o.replace&&wt(e,"replace"),o.terminal&&wt(e,"terminal"),o}static getTemplate(t,e,n=!1,o){if(void 0!==e.template)return mt(yt(e.template,o));if(e.templateUrl){const r=t.get(B),i=yt(e.templateUrl,o),s=r.get(i);if(void 0!==s)return mt(s);if(!n)throw new Error("loading directive templates asynchronously is not supported");return new Promise(((e,n)=>{t.get(S)("GET",i,null,((t,o)=>{200===t?e(mt(r.put(i,o))):n(`GET component template from '${i}' returned '${t}: ${o}'`)}))}))}throw new Error(`Directive '${e.name}' is not a component, it is missing template.`)}buildController(t,e){const n={$scope:e,$element:this.$element},o=this.$controller(t,n,null,this.directive.controllerAs);return this.$element.data?.(Y(this.directive.name),o),o}compileTemplate(t){return void 0===t&&(t=$t.getTemplate(this.$injector,this.directive,!1,this.$element)),this.compileHtml(t)}onDestroy(t,e){e&&ot(e.$onDestroy)&&e.$onDestroy(),t.$destroy(),W(this.element)}prepareTransclusion(){const t=this.directive.transclude,e=this.extractChildNodes(),n=(t,e)=>e(o,t=t||{$destroy:()=>{}});let o=e;if(t){const r=Object.create(null);if("object"==typeof t){o=[];const n=Object.create(null),i=Object.create(null);Object.keys(t).forEach((e=>{let o=t[e];const s="?"===o.charAt(0);o=s?o.substring(1):o,n[o]=e,r[e]=null,i[e]=s})),e.forEach((t=>{const e=n[X(t.nodeName.toLowerCase())];e?(i[e]=!0,r[e]=r[e]||[],r[e].push(t)):o.push(t)})),Object.keys(i).forEach((t=>{if(!i[t])throw new Error(`Required transclusion slot '${t}' on directive: ${this.name}`)})),Object.keys(r).filter((t=>r[t])).forEach((t=>{const e=r[t];r[t]=(t,n)=>n(e,t)}))}n.$$slots=r,o.forEach((t=>{t.nodeType!==Node.TEXT_NODE||t.nodeValue||(t.nodeValue="‌")}))}return n}resolveAndBindRequiredControllers(t){const e=this.getDirectiveRequire(),n=this.resolveRequire(e);if(t&&this.directive.bindToController&&bt(e)){const e=n;Object.keys(e).forEach((n=>{t[n]=e[n]}))}return n}compileHtml(t){return this.element.innerHTML=t,this.$compile(this.element.childNodes)}extractChildNodes(){const t=[];let e;for(;e=this.element.firstChild;)e.remove(),t.push(e);return t}getDirectiveRequire(){const t=this.directive.require||this.directive.controller&&this.directive.name;return bt(t)&&Object.entries(t).forEach((([e,n])=>{const o=n.match(ft);n.substring(o[0].length)||(t[e]=o[0]+e)})),t}resolveRequire(t){if(t){if(Array.isArray(t))return t.map((t=>this.resolveRequire(t)));if("object"==typeof t){const e={};return Object.keys(t).forEach((n=>e[n]=this.resolveRequire(t[n]))),e}if("string"==typeof t){const e=t.match(ft),n=e[1]||e[3],o=t.substring(e[0].length),r=!!e[2],i=!!n,s="^^"===n,c=Y(o),a=s?this.$element.parent():this.$element,l=i?a.inheritedData(c):a.data(c);if(!l&&!r)throw new Error(`Unable to find required '${t}' in upgraded directive '${this.name}'.`);return l}throw new Error(`Unrecognized 'require' syntax on upgraded directive '${this.name}': ${t}`)}return null}}function yt(t,...e){return ot(t)?t(...e):t}function bt(t){return t&&!Array.isArray(t)&&"object"==typeof t}function wt(t,e){throw new Error(`Upgraded directive '${t}' contains unsupported feature: '${e}'.`)}t("ɵupgradeHelper",Object.freeze({__proto__:null,UpgradeHelper:$t}));let Et=null;function Ot(t){Et=t}const Ct=[{provide:"$injector",useFactory:function(){if(!Et)throw new Error("Trying to get the AngularJS injector before it being set.");const t=Et;return Et=null,t},deps:[]},{provide:"$rootScope",useFactory:function(t){return t.get("$rootScope")},deps:["$injector"]},{provide:"$compile",useFactory:function(t){return t.get("$compile")},deps:["$injector"]},{provide:"$parse",useFactory:function(t){return t.get("$parse")},deps:["$injector"]}];class vt{constructor(t){this.modInjector=t}get(t,e){return e===r?e:this.modInjector.get(t,e)}}let Tt=0;function At(t){return t}const jt="NOT_SUPPORTED",Dt={__UNINITIALIZED__:!0};class _t{constructor(){this.twoWayBoundProperties=[],this.twoWayBoundLastValues=[],this.expressionBoundProperties=[],this.propertyToOutputMap={}}}class St{constructor(t,e,n){this.pendingChanges=null,this.helper=new $t(n,t,e),this.$element=this.helper.$element,this.directive=this.helper.directive,this.bindings=this.initializeBindings(this.directive,t);const o=n.get(L);this.$componentScope=o.$new(!!this.directive.scope),this.initializeOutputs()}ngOnInit(){const t=this.helper.prepareTransclusion(),e=this.helper.compileTemplate(),n=this.directive.controller,o=this.directive.bindToController;let r,i=n?this.helper.buildController(n,this.$componentScope):void 0;if(o){if(!n||!i)throw new Error(`Upgraded directive '${this.directive.name}' specifies 'bindToController' but no controller.`);r=i}else r=this.$componentScope;this.controllerInstance=i,this.bindingDestination=r,this.bindOutputs(r);const s=this.helper.resolveAndBindRequiredControllers(i);if(this.pendingChanges&&(this.forwardChanges(this.pendingChanges,r),this.pendingChanges=null),this.controllerInstance&&ot(this.controllerInstance.$onInit)&&this.controllerInstance.$onInit(),i&&ot(i.$doCheck)){const t=()=>i?.$doCheck?.();this.unregisterDoCheckWatcher=this.$componentScope.$parent.$watch(t),t()}const c=this.directive.link,a="object"==typeof c&&c.pre,l="object"==typeof c?c.post:c,u=jt,p=jt;a&&a(this.$componentScope,this.$element,u,s,p),e(this.$componentScope,null,{parentBoundTranscludeFn:t}),l&&l(this.$componentScope,this.$element,u,s,p),this.controllerInstance&&ot(this.controllerInstance.$postLink)&&this.controllerInstance.$postLink()}ngOnChanges(t){this.bindingDestination?this.forwardChanges(t,this.bindingDestination):this.pendingChanges=t}ngDoCheck(){const t=this.bindings.twoWayBoundProperties,e=this.bindings.twoWayBoundLastValues,n=this.bindings.propertyToOutputMap;t.forEach(((t,o)=>{const r=this.bindingDestination?.[t],i=e[o];if(!Object.is(r,i)){this[n[t]].emit(r),e[o]=r}}))}ngOnDestroy(){ot(this.unregisterDoCheckWatcher)&&this.unregisterDoCheckWatcher(),this.helper.onDestroy(this.$componentScope,this.controllerInstance)}initializeBindings(t,e){const n="object"==typeof t.bindToController;if(n&&Object.keys(t.scope).length)throw new Error("Binding definitions on scope and controller at the same time is not supported.");const o=n?t.bindToController:t.scope,r=new _t;return"object"==typeof o&&Object.keys(o).forEach((t=>{const n=o[t].charAt(0);switch(n){case"@":case"<":break;case"=":r.twoWayBoundProperties.push(t),r.twoWayBoundLastValues.push(Dt),r.propertyToOutputMap[t]=t+"Change";break;case"&":r.expressionBoundProperties.push(t),r.propertyToOutputMap[t]=t;break;default:let i=JSON.stringify(o);throw new Error(`Unexpected mapping '${n}' in '${i}' in '${e}' directive.`)}})),r}initializeOutputs(){this.bindings.twoWayBoundProperties.concat(this.bindings.expressionBoundProperties).forEach((t=>{this[this.bindings.propertyToOutputMap[t]]=new n}))}bindOutputs(t){this.bindings.expressionBoundProperties.forEach((e=>{const n=this[this.bindings.propertyToOutputMap[e]];t[e]=t=>n.emit(t)}))}forwardChanges(t,e){Object.keys(t).forEach((n=>e[n]=t[n].currentValue)),ot(e.$onChanges)&&e.$onChanges(t)}static{this.ɵfac=function(t){o.ɵɵinvalidFactory()}}static{this.ɵdir=o.ɵɵdefineDirective({type:St,features:[o.ɵɵNgOnChangesFeature]})}}t("UpgradeComponent",St);class Nt{constructor(t,e,n){this.ngZone=e,this.platformRef=n,this.injector=new vt(t)}bootstrap(t,e=[],n){const o=Z+".init";T(o,[]).constant(x,2).value(V,this.injector).factory(q,[V,t=>({injector:t})]).config([R,N,(t,e)=>{e.has(U)&&t.decorator(U,[_,t=>{const e=t.whenStable,n=this.injector,o=function(r){e.call(t,(function(){const e=n.get(s);e.isStable()?r():e.whenStable(o.bind(t,r))}))};return t.whenStable=o,t}]),e.has(I)&&t.decorator(I,[_,t=>{let e=(e,n,o,r,...i)=>this.ngZone.runOutsideAngular((()=>t(((...t)=>{setTimeout((()=>{this.ngZone.run((()=>e(...t)))}))}),n,o,r,...i)));return Object.keys(t).forEach((n=>e[n]=t[n])),t.hasOwnProperty("flush")&&(e.flush=()=>(t.flush(),e)),e}])}]).run([N,e=>{this.$injector=e;const n=e.get("$rootScope");Ot(e),this.injector.get(N),A(t).data(Y(V),this.injector),this.platformRef.onDestroy((()=>Q(e))),setTimeout((()=>{const t=this.ngZone.onMicrotaskEmpty.subscribe((()=>n.$$phase?n.$evalAsync():n.$digest()));n.$on("$destroy",(()=>{t.unsubscribe()}))}),0)}]);const r=T(Z,[o].concat(e)),i=window.angular;i.resumeBootstrap=void 0;const c=this.ngZone.run((()=>v(t,[r.name],n)));if(i.resumeBootstrap){const t=i.resumeBootstrap,e=this.ngZone;i.resumeBootstrap=function(){let n=arguments;return i.resumeBootstrap=t,e.run((()=>i.resumeBootstrap.apply(this,n)))}}return c}static{this.ɵfac=function(t){return new(t||Nt)(o.ɵɵinject(o.Injector),o.ɵɵinject(o.NgZone),o.ɵɵinject(o.PlatformRef))}}static{this.ɵmod=o.ɵɵdefineNgModule({type:Nt})}static{this.ɵinj=o.ɵɵdefineInjector({providers:[Ct]})}}t("UpgradeModule",Nt)}}}));
/* esm-bundle - @angular/upgrade/static@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(["@angular/core","@angular/platform-browser"],(function(t){"use strict";var e,n,o,r,i,s,c,a,l,u,p,h,d,g,m,f;return{setters:[function(t){e=t.Version,n=t.EventEmitter,o=t,t.Directive,t.NgModule,r=t.ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR,i=t.PlatformRef,s=t.Testability,c=t.ɵNG_MOD_DEF,a=t.NgZone,l=t.ComponentFactoryResolver,u=t.Injector,p=t.ChangeDetectorRef,h=t.TestabilityRegistry,d=t.ApplicationRef,g=t.SimpleChange,m=t.ɵSIGNAL},function(t){f=t.platformBrowser}],execute:function(){function $(){throw new Error("AngularJS v1.x is not loaded!")}t({downgradeComponent:function(t){const e=function(e,n,o){const r=t.unsafelyOverwriteSignalInputs??!1,i=3===nt(n),s=i?t=>()=>a.isInAngularZone()?t():c.run(t):t=>t;let c;const u=i&&et(n)>1;return{restrict:"E",terminal:!0,require:[G,J],controller:function(){},link:(p,h,d,g)=>{const m=g[1],f=g[0];let $,y=!1;if(!f||u){const e=t.downgradedModule||"",o=`${q}${e}`,r=`instantiating component '${tt(t.component)}'`;it(n,e,o,r);const i=n.get(o);$=i.injector??i.promise}const b=f||$,w=$||f,E=(n,c)=>{const a=c.get(l).resolveComponentFactory(t.component);if(!a)throw new Error(`Expecting ComponentFactory for: ${tt(t.component)}`);const u=new dt(h),g=new lt(h,d,p,m,n,e,o,a,s,r),f=g.compileContents(),$=g.createComponentAndSetup(f,i,t.propagateDigest);u.resolve($.injector),y&&p.$evalAsync((()=>{}))},O=i?(t,e)=>{c||(c=t.get(a)),s((()=>E(t,e)))()}:E;ht.all([b,w]).then((([t,e])=>O(t,e))),y=!0}}};return e.$inject=[j,N,P],e},downgradeInjectable:function(t,e=""){const n=function(n){const o=`${V}${e}`,r=`instantiating injectable '${ot(t)?tt(t):String(t)}'`;it(n,e,o,r);try{return n.get(o).get(t)}catch(t){throw new Error(`Error while ${r}: ${t.message||t}`)}};return n.$inject=[N],n},downgradeModule:function(t){const e=`${Z}.lazy${++Tt}`,n=`${q}${e}`,o=`${V}${e}`;let r,s;r=rt(t)?e=>f(e).bootstrapModule(t):ot(t)?t:e=>f(e).bootstrapModuleFactory(t);return T(e,[]).constant(x,3).factory(V,[o,At]).factory(o,(()=>{if(!s)throw new Error("Trying to get the Angular injector before bootstrapping the corresponding Angular module.");return s})).factory(q,[n,At]).factory(n,[N,t=>{Ot(t);const e={promise:r(Ct).then((n=>(s=e.injector=new vt(n.injector),s.get(N),s.get(i).onDestroy((()=>Q(t))),s)))};return e}]).config([N,R,(t,e)=>{e.constant(F,et(t)+1)}]),e},getAngularJSGlobal:C,getAngularLib:E,setAngularJSGlobal:O,setAngularLib:w});const y=()=>$();y.cleanData=$;let b={bootstrap:$,module:$,element:y,injector:$,version:void 0,resumeBootstrap:$,getTestability:$};try{window.hasOwnProperty("angular")&&(b=window.angular)}catch{}function w(t){O(t)}function E(){return C()}function O(t){b=t}function C(){return b}const v=(t,e,n)=>b.bootstrap(t,e,n),T=(t,e)=>b.module(t,e),A=t=>b.element(t);A.cleanData=t=>b.element.cleanData(t);t("ɵangular1",Object.freeze({__proto__:null,setAngularLib:w,getAngularLib:E,setAngularJSGlobal:O,getAngularJSGlobal:C,bootstrap:v,module_:T,element:A,injector:(t,e)=>b.injector(t,e),resumeBootstrap:()=>b.resumeBootstrap(),getTestability:t=>b.getTestability(t)}));const j="$compile",D="$controller",_="$delegate",S="$httpBackend",N="$injector",I="$interval",P="$parse",R="$provide",k="$rootElement",M="$rootScope",L="$scope",B="$templateCache",U="$$testability",F="$$angularDowngradedModuleCount",V="$$angularInjector",q="$$angularLazyModuleRef",x="$$angularUpgradeAppType",G="?^^"+V,J="?ngModel",Z="$$UpgradeModule";t("ɵconstants",Object.freeze({__proto__:null,$COMPILE:j,$CONTROLLER:D,$DELEGATE:_,$EXCEPTION_HANDLER:"$exceptionHandler",$HTTP_BACKEND:S,$INJECTOR:N,$INTERVAL:I,$PARSE:P,$PROVIDE:R,$ROOT_ELEMENT:k,$ROOT_SCOPE:M,$SCOPE:L,$TEMPLATE_CACHE:B,$TEMPLATE_REQUEST:"$templateRequest",$$TESTABILITY:U,COMPILER_KEY:"$$angularCompiler",DOWNGRADED_MODULE_COUNT_KEY:F,GROUP_PROJECTABLE_NODES_KEY:"$$angularGroupProjectableNodes",INJECTOR_KEY:V,LAZY_MODULE_REF:q,NG_ZONE_KEY:"$$angularNgZone",UPGRADE_APP_TYPE_KEY:x,REQUIRE_INJECTOR:G,REQUIRE_NG_MODEL:J,UPGRADE_MODULE_NAME:Z}));class K{constructor(t,e){this.prop=t,this.attr=e,this.bracketAttr=`[${this.attr}]`,this.parenAttr=`(${this.attr})`,this.bracketParenAttr=`[(${this.attr})]`;const n=this.attr.charAt(0).toUpperCase()+this.attr.slice(1);this.onAttr=`on${n}`,this.bindAttr=`bind${n}`,this.bindonAttr=`bindon${n}`}}const z=/^(?:x|data)[:\-_]/i,H=/[:\-_]+(.)/g;function W(t){A.cleanData([t]),function(t){return ot(t.querySelectorAll)}(t)&&A.cleanData(t.querySelectorAll("*"))}function Y(t){return"$"+t+"Controller"}function Q(t){const e=t.get(k);t.get(M).$destroy(),W(e[0])}function X(t){return t.replace(z,"").replace(H,((t,e)=>e.toUpperCase()))}function tt(t){return t.overriddenName||t.name||t.toString().split("\n")[0]}function et(t){return t.has(F)?t.get(F):0}function nt(t){return t.has(x)?t.get(x):0}function ot(t){return"function"==typeof t}function rt(t){return ot(t)&&!!t[c]}function it(t,e,n,o){const r=nt(t),i=et(t);switch(r){case 1:case 2:if(e)throw new Error(`Error while ${o}: 'downgradedModule' unexpectedly specified.\nYou should not specify a value for 'downgradedModule', unless you are downgrading more than one Angular module (via 'downgradeModule()').`);break;case 3:if(!e&&i>=2)throw new Error(`Error while ${o}: 'downgradedModule' not specified.\nThis application contains more than one downgraded Angular module, thus you need to always specify 'downgradedModule' when downgrading components and injectables.`);if(!t.has(n))throw new Error(`Error while ${o}: Unable to find the specified downgraded module.\nDid you forget to downgrade an Angular module or include it in the AngularJS application?`);break;default:throw new Error(`Error while ${o}: Not a valid '@angular/upgrade' application.\nDid you forget to downgrade an Angular module or include it in the AngularJS application?`)}}function st(t,e){t&&function(t){return"function"==typeof t.writeValue&&"function"==typeof t.registerOnChange}(e)&&(t.$render=()=>{e.writeValue(t.$viewValue)},e.registerOnChange(t.$setViewValue.bind(t)),"function"==typeof e.registerOnTouched&&e.registerOnTouched(t.$setTouched.bind(t)))}function ct(t,e){return t===e||t!=t&&e!=e}t("ɵutil",Object.freeze({__proto__:null,onError:function(t){throw console.error(t,t.stack),t},cleanData:W,controllerKey:Y,destroyApp:Q,directiveNormalize:X,getTypeName:tt,getDowngradedModuleCount:et,getUpgradeAppType:nt,isFunction:ot,isNgModuleType:rt,validateInjectionKey:it,Deferred:class{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}},hookupNgModel:st,strictEquals:ct}));const at={__UNINITIALIZED__:!0};class lt{constructor(t,e,n,o,r,i,s,c,a,l){this.element=t,this.attrs=e,this.scope=n,this.ngModel=o,this.parentInjector=r,this.$compile=i,this.$parse=s,this.componentFactory=c,this.wrapCallback=a,this.unsafelyOverwriteSignalInputs=l,this.implementsOnChanges=!1,this.inputChangeCount=0,this.inputChanges={},this.componentScope=n.$new()}compileContents(){const t=[],e=this.groupProjectableNodes().map((t=>this.$compile(t)));return this.element.empty(),e.forEach((e=>{e(this.scope,(e=>{t.push(e),this.element.append(e)}))})),t}createComponentAndSetup(t,e=!1,n=!0){const o=this.createComponent(t);return this.setupInputs(e,n,o),this.setupOutputs(o.componentRef),this.registerCleanup(o.componentRef),o.componentRef}createComponent(t){const e=[{provide:L,useValue:this.componentScope}],n=u.create({providers:e,parent:this.parentInjector,name:"DowngradeComponentAdapter"}),o=this.componentFactory.create(n,t,this.element[0]),r=o.injector.get(p),i=o.changeDetectorRef,c=o.injector.get(s,null);return c&&o.injector.get(h).registerApplication(o.location.nativeElement,c),st(this.ngModel,o.instance),{viewChangeDetector:r,componentRef:o,changeDetector:i}}setupInputs(t,e=!0,{componentRef:n,changeDetector:o,viewChangeDetector:r}){const i=this.attrs,s=this.componentFactory.inputs||[];for(const t of s){const e=new K(t.propName,t.templateName);let o=null;if(i.hasOwnProperty(e.attr)){const o=((t,e)=>{let o=at;return r=>{ct(o,r)||(o===at&&(o=r),this.updateInput(n,t,o,r,e),o=r)}})(e.prop,t.isSignal);i.$observe(e.attr,o);let r=this.componentScope.$watch((()=>{r(),r=null,o(i[e.attr])}))}else i.hasOwnProperty(e.bindAttr)?o=i[e.bindAttr]:i.hasOwnProperty(e.bracketAttr)?o=i[e.bracketAttr]:i.hasOwnProperty(e.bindonAttr)?o=i[e.bindonAttr]:i.hasOwnProperty(e.bracketParenAttr)&&(o=i[e.bracketParenAttr]);if(null!=o){const r=((t,e)=>(o,r)=>this.updateInput(n,t,r,o,e))(e.prop,t.isSignal);this.componentScope.$watch(o,r)}}const c=()=>o.detectChanges(),a=this.componentFactory.componentType.prototype;if(this.implementsOnChanges=!(!a||!a.ngOnChanges),this.componentScope.$watch((()=>this.inputChangeCount),this.wrapCallback((()=>{if(this.implementsOnChanges){const t=this.inputChanges;this.inputChanges={},n.instance.ngOnChanges(t)}r.markForCheck(),e||c()}))),e&&this.componentScope.$watch(this.wrapCallback(c)),t||!e){let t=this.componentScope.$watch((()=>{t(),t=null;this.parentInjector.get(d).attachView(n.hostView)}))}}setupOutputs(t){const e=this.attrs,n=this.componentFactory.outputs||[];for(const o of n){const n=new K(o.propName,o.templateName),r=n.bindonAttr.substring(0,n.bindonAttr.length-6),i=`[(${n.bracketParenAttr.substring(2,n.bracketParenAttr.length-8)})]`;e.hasOwnProperty(r)&&this.subscribeToOutput(t,n,e[r],!0),e.hasOwnProperty(i)&&this.subscribeToOutput(t,n,e[i],!0),e.hasOwnProperty(n.onAttr)&&this.subscribeToOutput(t,n,e[n.onAttr]),e.hasOwnProperty(n.parenAttr)&&this.subscribeToOutput(t,n,e[n.parenAttr])}}subscribeToOutput(t,e,n,o=!1){const r=this.$parse(n),i=r.assign;if(o&&!i)throw new Error(`Expression '${n}' is not assignable!`);const s=t.instance[e.prop];if(!s)throw new Error(`Missing emitter '${e.prop}' on component '${tt(this.componentFactory.componentType)}'!`);{const e=s.subscribe({next:o?t=>i(this.scope,t):t=>r(this.scope,{$event:t})});t.onDestroy((()=>e.unsubscribe()))}}registerCleanup(t){const e=t.injector.get(h),n=this.wrapCallback((()=>t.destroy()));let o=!1;this.element.on("$destroy",(()=>{o||this.componentScope.$destroy()})),this.componentScope.$on("$destroy",(()=>{o||(o=!0,e.unregisterApplication(t.location.nativeElement),W(this.element[0]),n())}))}updateInput(t,e,n,o,r){if(this.implementsOnChanges&&(this.inputChanges[e]=new g(n,o,n===o)),this.inputChangeCount++,r&&!this.unsafelyOverwriteSignalInputs){const n=t.instance[e][m];n.applyValueToInputSignal(n,o)}else t.instance[e]=o}groupProjectableNodes(){return function(t,e){const n=[];for(let e=0,o=t.length;e<o;++e)n[e]=[];for(let o=0,r=e.length;o<r;++o){const r=e[o],i=ut(r,t);null!=i&&n[i].push(r)}return n}(this.componentFactory.ngContentSelectors,this.element.contents())}}function ut(t,e){const n=[];let o=-1;for(let r=0;r<e.length;r++){const i=e[r];"*"===i?o=r:pt(t,i)&&n.push(r)}return n.sort(),-1!==o&&n.push(o),n.length?n[0]:null}function pt(t,e){const n=Element.prototype;return t.nodeType===Node.ELEMENT_NODE&&(n.matches??n.msMatchesSelector).call(t,e)}class ht{constructor(){this.resolved=!1,this.callbacks=[]}static all(t){const e=new ht;let n=0;const o=[],r=(r,i)=>{o[r]=i,++n===t.length&&e.resolve(o)};return t.forEach(((t,e)=>{var n;(n=t)&&ot(n.then)?t.then((t=>r(e,t))):r(e,t)})),e}resolve(t){this.resolved||(this.value=t,this.resolved=!0,this.callbacks.forEach((e=>e(t))),this.callbacks.length=0)}then(t){this.resolved?t(this.value):this.callbacks.push(t)}}class dt extends ht{constructor(t){super(),this.element=t,this.injectorKey=Y(V),t.data(this.injectorKey,this)}resolve(t){this.element.data(this.injectorKey,t),this.element=null,super.resolve(t)}}t("VERSION",new e("18.2.11"));let gt;function mt(t){return function(){if(void 0===gt){gt=null;const t=window;if(t.trustedTypes)try{gt=t.trustedTypes.createPolicy("angular#unsafe-upgrade",{createHTML:t=>t})}catch{}}return gt}()?.createHTML(t)||t}const ft=/^(\^\^?)?(\?)?(\^\^?)?/;class $t{constructor(t,e,n,o){this.name=e,this.$injector=t.get(N),this.$compile=this.$injector.get(j),this.$controller=this.$injector.get(D),this.element=n.nativeElement,this.$element=A(this.element),this.directive=o??$t.getDirective(this.$injector,e)}static getDirective(t,e){const n=t.get(e+"Directive");if(n.length>1)throw new Error(`Only support single directive definition for: ${e}`);const o=n[0];return o.compile&&!o.link&&wt(e,"compile"),o.replace&&wt(e,"replace"),o.terminal&&wt(e,"terminal"),o}static getTemplate(t,e,n=!1,o){if(void 0!==e.template)return mt(yt(e.template,o));if(e.templateUrl){const r=t.get(B),i=yt(e.templateUrl,o),s=r.get(i);if(void 0!==s)return mt(s);if(!n)throw new Error("loading directive templates asynchronously is not supported");return new Promise(((e,n)=>{t.get(S)("GET",i,null,((t,o)=>{200===t?e(mt(r.put(i,o))):n(`GET component template from '${i}' returned '${t}: ${o}'`)}))}))}throw new Error(`Directive '${e.name}' is not a component, it is missing template.`)}buildController(t,e){const n={$scope:e,$element:this.$element},o=this.$controller(t,n,null,this.directive.controllerAs);return this.$element.data?.(Y(this.directive.name),o),o}compileTemplate(t){return void 0===t&&(t=$t.getTemplate(this.$injector,this.directive,!1,this.$element)),this.compileHtml(t)}onDestroy(t,e){e&&ot(e.$onDestroy)&&e.$onDestroy(),t.$destroy(),W(this.element)}prepareTransclusion(){const t=this.directive.transclude,e=this.extractChildNodes(),n=(t,e)=>e(o,t=t||{$destroy:()=>{}});let o=e;if(t){const r=Object.create(null);if("object"==typeof t){o=[];const n=Object.create(null),i=Object.create(null);Object.keys(t).forEach((e=>{let o=t[e];const s="?"===o.charAt(0);o=s?o.substring(1):o,n[o]=e,r[e]=null,i[e]=s})),e.forEach((t=>{const e=n[X(t.nodeName.toLowerCase())];e?(i[e]=!0,r[e]=r[e]||[],r[e].push(t)):o.push(t)})),Object.keys(i).forEach((t=>{if(!i[t])throw new Error(`Required transclusion slot '${t}' on directive: ${this.name}`)})),Object.keys(r).filter((t=>r[t])).forEach((t=>{const e=r[t];r[t]=(t,n)=>n(e,t)}))}n.$$slots=r,o.forEach((t=>{t.nodeType!==Node.TEXT_NODE||t.nodeValue||(t.nodeValue="‌")}))}return n}resolveAndBindRequiredControllers(t){const e=this.getDirectiveRequire(),n=this.resolveRequire(e);if(t&&this.directive.bindToController&&bt(e)){const e=n;Object.keys(e).forEach((n=>{t[n]=e[n]}))}return n}compileHtml(t){return this.element.innerHTML=t,this.$compile(this.element.childNodes)}extractChildNodes(){const t=[];let e;for(;e=this.element.firstChild;)e.remove(),t.push(e);return t}getDirectiveRequire(){const t=this.directive.require||this.directive.controller&&this.directive.name;return bt(t)&&Object.entries(t).forEach((([e,n])=>{const o=n.match(ft);n.substring(o[0].length)||(t[e]=o[0]+e)})),t}resolveRequire(t){if(t){if(Array.isArray(t))return t.map((t=>this.resolveRequire(t)));if("object"==typeof t){const e={};return Object.keys(t).forEach((n=>e[n]=this.resolveRequire(t[n]))),e}if("string"==typeof t){const e=t.match(ft),n=e[1]||e[3],o=t.substring(e[0].length),r=!!e[2],i=!!n,s="^^"===n,c=Y(o),a=s?this.$element.parent():this.$element,l=i?a.inheritedData(c):a.data(c);if(!l&&!r)throw new Error(`Unable to find required '${t}' in upgraded directive '${this.name}'.`);return l}throw new Error(`Unrecognized 'require' syntax on upgraded directive '${this.name}': ${t}`)}return null}}function yt(t,...e){return ot(t)?t(...e):t}function bt(t){return t&&!Array.isArray(t)&&"object"==typeof t}function wt(t,e){throw new Error(`Upgraded directive '${t}' contains unsupported feature: '${e}'.`)}t("ɵupgradeHelper",Object.freeze({__proto__:null,UpgradeHelper:$t}));let Et=null;function Ot(t){Et=t}const Ct=[{provide:"$injector",useFactory:function(){if(!Et)throw new Error("Trying to get the AngularJS injector before it being set.");const t=Et;return Et=null,t},deps:[]},{provide:"$rootScope",useFactory:function(t){return t.get("$rootScope")},deps:["$injector"]},{provide:"$compile",useFactory:function(t){return t.get("$compile")},deps:["$injector"]},{provide:"$parse",useFactory:function(t){return t.get("$parse")},deps:["$injector"]}];class vt{constructor(t){this.modInjector=t}get(t,e){return e===r?e:this.modInjector.get(t,e)}}let Tt=0;function At(t){return t}const jt="NOT_SUPPORTED",Dt={__UNINITIALIZED__:!0};class _t{constructor(){this.twoWayBoundProperties=[],this.twoWayBoundLastValues=[],this.expressionBoundProperties=[],this.propertyToOutputMap={}}}class St{constructor(t,e,n){this.pendingChanges=null,this.helper=new $t(n,t,e),this.$element=this.helper.$element,this.directive=this.helper.directive,this.bindings=this.initializeBindings(this.directive,t);const o=n.get(L);this.$componentScope=o.$new(!!this.directive.scope),this.initializeOutputs()}ngOnInit(){const t=this.helper.prepareTransclusion(),e=this.helper.compileTemplate(),n=this.directive.controller,o=this.directive.bindToController;let r,i=n?this.helper.buildController(n,this.$componentScope):void 0;if(o){if(!n||!i)throw new Error(`Upgraded directive '${this.directive.name}' specifies 'bindToController' but no controller.`);r=i}else r=this.$componentScope;this.controllerInstance=i,this.bindingDestination=r,this.bindOutputs(r);const s=this.helper.resolveAndBindRequiredControllers(i);if(this.pendingChanges&&(this.forwardChanges(this.pendingChanges,r),this.pendingChanges=null),this.controllerInstance&&ot(this.controllerInstance.$onInit)&&this.controllerInstance.$onInit(),i&&ot(i.$doCheck)){const t=()=>i?.$doCheck?.();this.unregisterDoCheckWatcher=this.$componentScope.$parent.$watch(t),t()}const c=this.directive.link,a="object"==typeof c&&c.pre,l="object"==typeof c?c.post:c,u=jt,p=jt;a&&a(this.$componentScope,this.$element,u,s,p),e(this.$componentScope,null,{parentBoundTranscludeFn:t}),l&&l(this.$componentScope,this.$element,u,s,p),this.controllerInstance&&ot(this.controllerInstance.$postLink)&&this.controllerInstance.$postLink()}ngOnChanges(t){this.bindingDestination?this.forwardChanges(t,this.bindingDestination):this.pendingChanges=t}ngDoCheck(){const t=this.bindings.twoWayBoundProperties,e=this.bindings.twoWayBoundLastValues,n=this.bindings.propertyToOutputMap;t.forEach(((t,o)=>{const r=this.bindingDestination?.[t],i=e[o];if(!Object.is(r,i)){this[n[t]].emit(r),e[o]=r}}))}ngOnDestroy(){ot(this.unregisterDoCheckWatcher)&&this.unregisterDoCheckWatcher(),this.helper.onDestroy(this.$componentScope,this.controllerInstance)}initializeBindings(t,e){const n="object"==typeof t.bindToController;if(n&&Object.keys(t.scope).length)throw new Error("Binding definitions on scope and controller at the same time is not supported.");const o=n?t.bindToController:t.scope,r=new _t;return"object"==typeof o&&Object.keys(o).forEach((t=>{const n=o[t].charAt(0);switch(n){case"@":case"<":break;case"=":r.twoWayBoundProperties.push(t),r.twoWayBoundLastValues.push(Dt),r.propertyToOutputMap[t]=t+"Change";break;case"&":r.expressionBoundProperties.push(t),r.propertyToOutputMap[t]=t;break;default:let i=JSON.stringify(o);throw new Error(`Unexpected mapping '${n}' in '${i}' in '${e}' directive.`)}})),r}initializeOutputs(){this.bindings.twoWayBoundProperties.concat(this.bindings.expressionBoundProperties).forEach((t=>{this[this.bindings.propertyToOutputMap[t]]=new n}))}bindOutputs(t){this.bindings.expressionBoundProperties.forEach((e=>{const n=this[this.bindings.propertyToOutputMap[e]];t[e]=t=>n.emit(t)}))}forwardChanges(t,e){Object.keys(t).forEach((n=>e[n]=t[n].currentValue)),ot(e.$onChanges)&&e.$onChanges(t)}static{this.ɵfac=function(t){o.ɵɵinvalidFactory()}}static{this.ɵdir=o.ɵɵdefineDirective({type:St,features:[o.ɵɵNgOnChangesFeature]})}}t("UpgradeComponent",St);class Nt{constructor(t,e,n){this.ngZone=e,this.platformRef=n,this.injector=new vt(t)}bootstrap(t,e=[],n){const o=Z+".init";T(o,[]).constant(x,2).value(V,this.injector).factory(q,[V,t=>({injector:t})]).config([R,N,(t,e)=>{e.has(U)&&t.decorator(U,[_,t=>{const e=t.whenStable,n=this.injector,o=function(r){e.call(t,(function(){const e=n.get(s);e.isStable()?r():e.whenStable(o.bind(t,r))}))};return t.whenStable=o,t}]),e.has(I)&&t.decorator(I,[_,t=>{let e=(e,n,o,r,...i)=>this.ngZone.runOutsideAngular((()=>t(((...t)=>{setTimeout((()=>{this.ngZone.run((()=>e(...t)))}))}),n,o,r,...i)));return Object.keys(t).forEach((n=>e[n]=t[n])),t.hasOwnProperty("flush")&&(e.flush=()=>(t.flush(),e)),e}])}]).run([N,e=>{this.$injector=e;const n=e.get("$rootScope");Ot(e),this.injector.get(N),A(t).data(Y(V),this.injector),this.platformRef.onDestroy((()=>Q(e))),setTimeout((()=>{const t=this.ngZone.onMicrotaskEmpty.subscribe((()=>n.$$phase?n.$evalAsync():n.$digest()));n.$on("$destroy",(()=>{t.unsubscribe()}))}),0)}]);const r=T(Z,[o].concat(e)),i=window.angular;i.resumeBootstrap=void 0;const c=this.ngZone.run((()=>v(t,[r.name],n)));if(i.resumeBootstrap){const t=i.resumeBootstrap,e=this.ngZone;i.resumeBootstrap=function(){let n=arguments;return i.resumeBootstrap=t,e.run((()=>i.resumeBootstrap.apply(this,n)))}}return c}static{this.ɵfac=function(t){return new(t||Nt)(o.ɵɵinject(o.Injector),o.ɵɵinject(o.NgZone),o.ɵɵinject(o.PlatformRef))}}static{this.ɵmod=o.ɵɵdefineNgModule({type:Nt})}static{this.ɵinj=o.ɵɵdefineInjector({providers:[Ct]})}}t("UpgradeModule",Nt)}}}));
//# sourceMappingURL=angular-upgrade-static.min.js.map

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/upgrade@18.2.10 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(["@angular/core","tslib","@angular/platform-browser-dynamic"],(function(t){"use strict";var e,n,o,r,s,i,c,a,l,p,h,u,d,g,m,f,y,$,w,b,v;return{setters:[function(t){e=t.Version,n=t.EventEmitter,o=t,r=t.Directive,s=t.NgZone,i=t.Injector,c=t.Compiler,a=t.NgModule,l=t.resolveForwardRef,p=t.Inject,h=t.ElementRef,u=t.Testability,d=t.ComponentFactoryResolver,g=t.ChangeDetectorRef,m=t.TestabilityRegistry,f=t.ApplicationRef,y=t.SimpleChange,$=t.ɵSIGNAL},function(t){w=t.__decorate,b=t.__metadata},function(t){v=t.platformBrowserDynamic}],execute:function(){t("VERSION",new e("18.2.10"));function C(){throw new Error("AngularJS v1.x is not loaded!")}const j=()=>C();j.cleanData=C;let O={bootstrap:C,module:C,element:j,injector:C,version:void 0,resumeBootstrap:C,getTestability:C};try{window.hasOwnProperty("angular")&&(O=window.angular)}catch{}const E=t=>O.element(t);E.cleanData=t=>O.element.cleanData(t);const A="$compile",k="$injector",T="$rootScope",S="$scope",I="$$testability",D="$$angularDowngradedModuleCount",R="$$angularInjector",P="$$angularLazyModuleRef",M="$$angularUpgradeAppType",N="?^^"+R;class _{constructor(t,e){this.prop=t,this.attr=e,this.bracketAttr=`[${this.attr}]`,this.parenAttr=`(${this.attr})`,this.bracketParenAttr=`[(${this.attr})]`;const n=this.attr.charAt(0).toUpperCase()+this.attr.slice(1);this.onAttr=`on${n}`,this.bindAttr=`bind${n}`,this.bindonAttr=`bindon${n}`}}const F=/^(?:x|data)[:\-_]/i,B=/[:\-_]+(.)/g;function U(t){throw console.error(t,t.stack),t}function x(t){E.cleanData([t]),function(t){return G(t.querySelectorAll)}(t)&&E.cleanData(t.querySelectorAll("*"))}function V(t){return"$"+t+"Controller"}function L(t){return t.overriddenName||t.name||t.toString().split("\n")[0]}function q(t){return t.has(D)?t.get(D):0}function Z(t){return t.has(M)?t.get(M):0}function G(t){return"function"==typeof t}function H(t,e,n,o){const r=Z(t),s=q(t);switch(r){case 1:case 2:if(e)throw new Error(`Error while ${o}: 'downgradedModule' unexpectedly specified.\nYou should not specify a value for 'downgradedModule', unless you are downgrading more than one Angular module (via 'downgradeModule()').`);break;case 3:if(!e&&s>=2)throw new Error(`Error while ${o}: 'downgradedModule' not specified.\nThis application contains more than one downgraded Angular module, thus you need to always specify 'downgradedModule' when downgrading components and injectables.`);if(!t.has(n))throw new Error(`Error while ${o}: Unable to find the specified downgraded module.\nDid you forget to downgrade an Angular module or include it in the AngularJS application?`);break;default:throw new Error(`Error while ${o}: Not a valid '@angular/upgrade' application.\nDid you forget to downgrade an Angular module or include it in the AngularJS application?`)}}class J{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}}function K(t,e){return t===e||t!=t&&e!=e}const z={__UNINITIALIZED__:!0};class X{constructor(t,e,n,o,r,s,i,c,a,l){this.element=t,this.attrs=e,this.scope=n,this.ngModel=o,this.parentInjector=r,this.$compile=s,this.$parse=i,this.componentFactory=c,this.wrapCallback=a,this.unsafelyOverwriteSignalInputs=l,this.implementsOnChanges=!1,this.inputChangeCount=0,this.inputChanges={},this.componentScope=n.$new()}compileContents(){const t=[],e=this.groupProjectableNodes().map((t=>this.$compile(t)));return this.element.empty(),e.forEach((e=>{e(this.scope,(e=>{t.push(e),this.element.append(e)}))})),t}createComponentAndSetup(t,e=!1,n=!0){const o=this.createComponent(t);return this.setupInputs(e,n,o),this.setupOutputs(o.componentRef),this.registerCleanup(o.componentRef),o.componentRef}createComponent(t){const e=[{provide:S,useValue:this.componentScope}],n=i.create({providers:e,parent:this.parentInjector,name:"DowngradeComponentAdapter"}),o=this.componentFactory.create(n,t,this.element[0]),r=o.injector.get(g),s=o.changeDetectorRef,c=o.injector.get(u,null);var a,l;return c&&o.injector.get(m).registerApplication(o.location.nativeElement,c),a=this.ngModel,l=o.instance,a&&function(t){return"function"==typeof t.writeValue&&"function"==typeof t.registerOnChange}(l)&&(a.$render=()=>{l.writeValue(a.$viewValue)},l.registerOnChange(a.$setViewValue.bind(a)),"function"==typeof l.registerOnTouched&&l.registerOnTouched(a.$setTouched.bind(a))),{viewChangeDetector:r,componentRef:o,changeDetector:s}}setupInputs(t,e=!0,{componentRef:n,changeDetector:o,viewChangeDetector:r}){const s=this.attrs,i=this.componentFactory.inputs||[];for(const t of i){const e=new _(t.propName,t.templateName);let o=null;if(s.hasOwnProperty(e.attr)){const o=((t,e)=>{let o=z;return r=>{K(o,r)||(o===z&&(o=r),this.updateInput(n,t,o,r,e),o=r)}})(e.prop,t.isSignal);s.$observe(e.attr,o);let r=this.componentScope.$watch((()=>{r(),r=null,o(s[e.attr])}))}else s.hasOwnProperty(e.bindAttr)?o=s[e.bindAttr]:s.hasOwnProperty(e.bracketAttr)?o=s[e.bracketAttr]:s.hasOwnProperty(e.bindonAttr)?o=s[e.bindonAttr]:s.hasOwnProperty(e.bracketParenAttr)&&(o=s[e.bracketParenAttr]);if(null!=o){const r=((t,e)=>(o,r)=>this.updateInput(n,t,r,o,e))(e.prop,t.isSignal);this.componentScope.$watch(o,r)}}const c=()=>o.detectChanges(),a=this.componentFactory.componentType.prototype;if(this.implementsOnChanges=!(!a||!a.ngOnChanges),this.componentScope.$watch((()=>this.inputChangeCount),this.wrapCallback((()=>{if(this.implementsOnChanges){const t=this.inputChanges;this.inputChanges={},n.instance.ngOnChanges(t)}r.markForCheck(),e||c()}))),e&&this.componentScope.$watch(this.wrapCallback(c)),t||!e){let t=this.componentScope.$watch((()=>{t(),t=null;this.parentInjector.get(f).attachView(n.hostView)}))}}setupOutputs(t){const e=this.attrs,n=this.componentFactory.outputs||[];for(const o of n){const n=new _(o.propName,o.templateName),r=n.bindonAttr.substring(0,n.bindonAttr.length-6),s=`[(${n.bracketParenAttr.substring(2,n.bracketParenAttr.length-8)})]`;e.hasOwnProperty(r)&&this.subscribeToOutput(t,n,e[r],!0),e.hasOwnProperty(s)&&this.subscribeToOutput(t,n,e[s],!0),e.hasOwnProperty(n.onAttr)&&this.subscribeToOutput(t,n,e[n.onAttr]),e.hasOwnProperty(n.parenAttr)&&this.subscribeToOutput(t,n,e[n.parenAttr])}}subscribeToOutput(t,e,n,o=!1){const r=this.$parse(n),s=r.assign;if(o&&!s)throw new Error(`Expression '${n}' is not assignable!`);const i=t.instance[e.prop];if(!i)throw new Error(`Missing emitter '${e.prop}' on component '${L(this.componentFactory.componentType)}'!`);{const e=i.subscribe({next:o?t=>s(this.scope,t):t=>r(this.scope,{$event:t})});t.onDestroy((()=>e.unsubscribe()))}}registerCleanup(t){const e=t.injector.get(m),n=this.wrapCallback((()=>t.destroy()));let o=!1;this.element.on("$destroy",(()=>{o||this.componentScope.$destroy()})),this.componentScope.$on("$destroy",(()=>{o||(o=!0,e.unregisterApplication(t.location.nativeElement),x(this.element[0]),n())}))}updateInput(t,e,n,o,r){if(this.implementsOnChanges&&(this.inputChanges[e]=new y(n,o,n===o)),this.inputChangeCount++,r&&!this.unsafelyOverwriteSignalInputs){const n=t.instance[e][$];n.applyValueToInputSignal(n,o)}else t.instance[e]=o}groupProjectableNodes(){return function(t,e){const n=[];for(let e=0,o=t.length;e<o;++e)n[e]=[];for(let o=0,r=e.length;o<r;++o){const r=e[o],s=Y(r,t);null!=s&&n[s].push(r)}return n}(this.componentFactory.ngContentSelectors,this.element.contents())}}function Y(t,e){const n=[];let o=-1;for(let r=0;r<e.length;r++){const s=e[r];"*"===s?o=r:Q(t,s)&&n.push(r)}return n.sort(),-1!==o&&n.push(o),n.length?n[0]:null}function Q(t,e){const n=Element.prototype;return t.nodeType===Node.ELEMENT_NODE&&(n.matches??n.msMatchesSelector).call(t,e)}class W{constructor(){this.resolved=!1,this.callbacks=[]}static all(t){const e=new W;let n=0;const o=[],r=(r,s)=>{o[r]=s,++n===t.length&&e.resolve(o)};return t.forEach(((t,e)=>{var n;(n=t)&&G(n.then)?t.then((t=>r(e,t))):r(e,t)})),e}resolve(t){this.resolved||(this.value=t,this.resolved=!0,this.callbacks.forEach((e=>e(t))),this.callbacks.length=0)}then(t){this.resolved?t(this.value):this.callbacks.push(t)}}class tt extends W{constructor(t){super(),this.element=t,this.injectorKey=V(R),t.data(this.injectorKey,this)}resolve(t){this.element.data(this.injectorKey,t),this.element=null,super.resolve(t)}}let et;function nt(t){return function(){if(void 0===et){et=null;const t=window;if(t.trustedTypes)try{et=t.trustedTypes.createPolicy("angular#unsafe-upgrade",{createHTML:t=>t})}catch{}}return et}()?.createHTML(t)||t}const ot=/^(\^\^?)?(\?)?(\^\^?)?/;class rt{constructor(t,e,n,o){this.name=e,this.$injector=t.get(k),this.$compile=this.$injector.get(A),this.$controller=this.$injector.get("$controller"),this.element=n.nativeElement,this.$element=E(this.element),this.directive=o??rt.getDirective(this.$injector,e)}static getDirective(t,e){const n=t.get(e+"Directive");if(n.length>1)throw new Error(`Only support single directive definition for: ${e}`);const o=n[0];return o.compile&&!o.link&&ct(e,"compile"),o.replace&&ct(e,"replace"),o.terminal&&ct(e,"terminal"),o}static getTemplate(t,e,n=!1,o){if(void 0!==e.template)return nt(st(e.template,o));if(e.templateUrl){const r=t.get("$templateCache"),s=st(e.templateUrl,o),i=r.get(s);if(void 0!==i)return nt(i);if(!n)throw new Error("loading directive templates asynchronously is not supported");return new Promise(((e,n)=>{t.get("$httpBackend")("GET",s,null,((t,o)=>{200===t?e(nt(r.put(s,o))):n(`GET component template from '${s}' returned '${t}: ${o}'`)}))}))}throw new Error(`Directive '${e.name}' is not a component, it is missing template.`)}buildController(t,e){const n={$scope:e,$element:this.$element},o=this.$controller(t,n,null,this.directive.controllerAs);return this.$element.data?.(V(this.directive.name),o),o}compileTemplate(t){return void 0===t&&(t=rt.getTemplate(this.$injector,this.directive,!1,this.$element)),this.compileHtml(t)}onDestroy(t,e){e&&G(e.$onDestroy)&&e.$onDestroy(),t.$destroy(),x(this.element)}prepareTransclusion(){const t=this.directive.transclude,e=this.extractChildNodes(),n=(t,e)=>e(o,t=t||{$destroy:()=>{}});let o=e;if(t){const r=Object.create(null);if("object"==typeof t){o=[];const n=Object.create(null),s=Object.create(null);Object.keys(t).forEach((e=>{let o=t[e];const i="?"===o.charAt(0);o=i?o.substring(1):o,n[o]=e,r[e]=null,s[e]=i})),e.forEach((t=>{const e=n[(i=t.nodeName.toLowerCase(),i.replace(F,"").replace(B,((t,e)=>e.toUpperCase())))];var i;e?(s[e]=!0,r[e]=r[e]||[],r[e].push(t)):o.push(t)})),Object.keys(s).forEach((t=>{if(!s[t])throw new Error(`Required transclusion slot '${t}' on directive: ${this.name}`)})),Object.keys(r).filter((t=>r[t])).forEach((t=>{const e=r[t];r[t]=(t,n)=>n(e,t)}))}n.$$slots=r,o.forEach((t=>{t.nodeType!==Node.TEXT_NODE||t.nodeValue||(t.nodeValue="‌")}))}return n}resolveAndBindRequiredControllers(t){const e=this.getDirectiveRequire(),n=this.resolveRequire(e);if(t&&this.directive.bindToController&&it(e)){const e=n;Object.keys(e).forEach((n=>{t[n]=e[n]}))}return n}compileHtml(t){return this.element.innerHTML=t,this.$compile(this.element.childNodes)}extractChildNodes(){const t=[];let e;for(;e=this.element.firstChild;)e.remove(),t.push(e);return t}getDirectiveRequire(){const t=this.directive.require||this.directive.controller&&this.directive.name;return it(t)&&Object.entries(t).forEach((([e,n])=>{const o=n.match(ot);n.substring(o[0].length)||(t[e]=o[0]+e)})),t}resolveRequire(t){if(t){if(Array.isArray(t))return t.map((t=>this.resolveRequire(t)));if("object"==typeof t){const e={};return Object.keys(t).forEach((n=>e[n]=this.resolveRequire(t[n]))),e}if("string"==typeof t){const e=t.match(ot),n=e[1]||e[3],o=t.substring(e[0].length),r=!!e[2],s=!!n,i="^^"===n,c=V(o),a=i?this.$element.parent():this.$element,l=s?a.inheritedData(c):a.data(c);if(!l&&!r)throw new Error(`Unable to find required '${t}' in upgraded directive '${this.name}'.`);return l}throw new Error(`Unrecognized 'require' syntax on upgraded directive '${this.name}': ${t}`)}return null}}function st(t,...e){return G(t)?t(...e):t}function it(t){return t&&!Array.isArray(t)&&"object"==typeof t}function ct(t,e){throw new Error(`Upgraded directive '${t}' contains unsupported feature: '${e}'.`)}const at=/([A-Z])/g,lt={__UNINITIALIZED__:!0},pt="NOT_SUPPORTED";class ht{constructor(t){this.name=t,this.inputs=[],this.inputsRename=[],this.outputs=[],this.outputsRename=[],this.propertyOutputs=[],this.checkProperties=[],this.propertyMap={},this.directive=null;const e=t.replace(at,((t,e)=>"-"+e.toLowerCase())),n=this;let o=class extends ut{constructor(e,o,r){super(new rt(o,t,r,n.directive||void 0),e,n.template,n.inputs,n.outputs,n.propertyOutputs,n.checkProperties,n.propertyMap)}static{this.ctorParameters=()=>[{type:void 0,decorators:[{type:p,args:[S]}]},{type:i},{type:h}]}};o=w([r({jit:!0,selector:e,inputs:this.inputsRename,outputs:this.outputsRename}),b("design:paramtypes",[Object,i,h])],o),this.type=o}extractBindings(){const t="object"==typeof this.directive.bindToController;if(t&&Object.keys(this.directive.scope).length)throw new Error("Binding definitions on scope and controller at the same time are not supported.");const e=t?this.directive.bindToController:this.directive.scope;"object"==typeof e&&Object.keys(e).forEach((t=>{const n=e[t],o=n.charAt(0),r=n.charAt(1),s=n.substring("?"===r?2:1)||t,i=`input_${s}`;const c=`${i}: ${s}`,a=function(t){return`output_${t}`}(s),l=`${a}: ${s}`,p=`${l}Change`;switch(o){case"@":case"<":this.inputs.push(i),this.inputsRename.push(c),this.propertyMap[i]=t;break;case"=":this.inputs.push(i),this.inputsRename.push(c),this.propertyMap[i]=t,this.outputs.push(a),this.outputsRename.push(p),this.propertyMap[a]=t,this.checkProperties.push(t),this.propertyOutputs.push(a);break;case"&":this.outputs.push(a),this.outputsRename.push(l),this.propertyMap[a]=t;break;default:let n=JSON.stringify(e);throw new Error(`Unexpected mapping '${o}' in '${n}' in '${this.name}' directive.`)}}))}static resolve(t,e){const n=Object.entries(t).map((([t,n])=>(n.directive=rt.getDirective(e,t),n.extractBindings(),Promise.resolve(rt.getTemplate(e,n.directive,!0)).then((t=>n.template=t)))));return Promise.all(n)}}class ut{constructor(t,e,o,r,s,i,c,a){this.helper=t,this.template=o,this.inputs=r,this.outputs=s,this.propOuts=i,this.checkProperties=c,this.propertyMap=a,this.controllerInstance=null,this.destinationObj=null,this.checkLastValues=[],this.$element=null,this.directive=t.directive,this.element=t.element,this.$element=t.$element,this.componentScope=e.$new(!!this.directive.scope);const l=this.directive.controller;this.directive.bindToController&&l?(this.controllerInstance=this.helper.buildController(l,this.componentScope),this.destinationObj=this.controllerInstance):this.destinationObj=this.componentScope;for(const t of this.inputs)this[t]=null;for(const t of this.outputs){const e=this[t]=new n;-1===this.propOuts.indexOf(t)&&this.setComponentProperty(t,(t=>e=>t.emit(e))(e))}this.checkLastValues.push(...Array(i.length).fill(lt))}ngOnInit(){const t=this.helper.prepareTransclusion(),e=this.helper.compileTemplate(nt(this.template)),n=this.directive.controller,o=this.directive.bindToController;n&&!o&&(this.controllerInstance=this.helper.buildController(n,this.componentScope));const r=this.helper.resolveAndBindRequiredControllers(this.controllerInstance);this.controllerInstance&&G(this.controllerInstance.$onInit)&&this.controllerInstance.$onInit();const s=this.directive.link,i="object"==typeof s&&s.pre,c="object"==typeof s?s.post:s,a=pt,l=pt;i&&i(this.componentScope,this.$element,a,r,l),e(this.componentScope,null,{parentBoundTranscludeFn:t}),c&&c(this.componentScope,this.$element,a,r,l),this.controllerInstance&&G(this.controllerInstance.$postLink)&&this.controllerInstance.$postLink()}ngOnChanges(t){const e={};Object.keys(t).forEach((n=>{const o=t[n];this.setComponentProperty(n,o.currentValue),e[this.propertyMap[n]]=o})),G(this.destinationObj.$onChanges)&&this.destinationObj.$onChanges(e)}ngDoCheck(){const t=this.destinationObj,e=this.checkLastValues,n=this.checkProperties,o=this.propOuts;n.forEach(((n,r)=>{const s=t[n];if(!K(e[r],s)){this[o[r]].emit(e[r]=s)}})),this.controllerInstance&&G(this.controllerInstance.$doCheck)&&this.controllerInstance.$doCheck()}ngOnDestroy(){this.helper.onDestroy(this.componentScope,this.controllerInstance)}setComponentProperty(t,e){this.destinationObj[this.propertyMap[t]]=e}static{this.ɵfac=function(t){o.ɵɵinvalidFactory()}}static{this.ɵdir=o.ɵɵdefineDirective({type:ut,features:[o.ɵɵNgOnChangesFeature]})}}let dt=0;t("UpgradeAdapter",class{constructor(t,e){if(this.ng2AppModule=t,this.compilerOptions=e,this.idPrefix=`NG2_UPGRADE_${dt++}_`,this.downgradedComponents=[],this.ng1ComponentsToBeUpgraded={},this.upgradedProviders=[],this.moduleRef=null,!t)throw new Error("UpgradeAdapter cannot be instantiated without an NgModule of the Angular app.")}downgradeNg2Component(t){return this.downgradedComponents.push(t),function(t){const e=function(e,n,o){const r=t.unsafelyOverwriteSignalInputs??!1,i=3===Z(n),c=i?t=>()=>s.isInAngularZone()?t():a.run(t):t=>t;let a;const l=i&&q(n)>1;return{restrict:"E",terminal:!0,require:[N,"?ngModel"],controller:function(){},link:(p,h,u,g)=>{const m=g[1],f=g[0];let y,$=!1;if(!f||l){const e=t.downgradedModule||"",o=`${P}${e}`,r=`instantiating component '${L(t.component)}'`;H(n,e,o,r);const s=n.get(o);y=s.injector??s.promise}const w=f||y,b=y||f,v=(n,s)=>{const a=s.get(d).resolveComponentFactory(t.component);if(!a)throw new Error(`Expecting ComponentFactory for: ${L(t.component)}`);const l=new tt(h),g=new X(h,u,p,m,n,e,o,a,c,r),f=g.compileContents(),y=g.createComponentAndSetup(f,i,t.propagateDigest);l.resolve(y.injector),$&&p.$evalAsync((()=>{}))},C=i?(t,e)=>{a||(a=t.get(s)),c((()=>v(t,e)))()}:v;W.all([w,b]).then((([t,e])=>C(t,e))),$=!0}}};return e.$inject=[A,k,"$parse"],e}({component:t})}upgradeNg1Component(t){return this.ng1ComponentsToBeUpgraded.hasOwnProperty(t)?this.ng1ComponentsToBeUpgraded[t].type:(this.ng1ComponentsToBeUpgraded[t]=new ht(t)).type}registerForNg1Tests(t){const e=window.angular.mock;if(!e||!e.module)throw new Error("Failed to find 'angular.mock.module'.");const{ng1Module:n,ng2BootstrapDeferred:o}=this.declareNg1Module(t);e.module(n.name);const r=new gt;return o.promise.then((t=>{r._bootstrapDone(this.moduleRef,t)}),U),r}bootstrap(t,e,n){const{ng1Module:o,ng2BootstrapDeferred:r,ngZone:i}=this.declareNg1Module(e),c=new gt,a=window.angular;a.resumeBootstrap=void 0,i.run((()=>{((t,e,n)=>{O.bootstrap(t,e,n)})(t,[o.name],n)}));const l=new Promise((t=>{if(a.resumeBootstrap){const e=a.resumeBootstrap;a.resumeBootstrap=function(){a.resumeBootstrap=e;const n=a.resumeBootstrap.apply(this,arguments);return t(),n}}else t()}));return Promise.all([r.promise,l]).then((([e])=>{E(t).data(V(R),this.moduleRef.injector),this.moduleRef.injector.get(s).run((()=>{c._bootstrapDone(this.moduleRef,e)}))}),U),c}upgradeNg1Provider(t,e){const n=e&&e.asToken||t;this.upgradedProviders.push({provide:n,useFactory:e=>e.get(t),deps:[k]})}downgradeNg2Provider(t){return function(t,e=""){const n=function(n){const o=`${R}${e}`,r=`instantiating injectable '${G(t)?L(t):String(t)}'`;H(n,e,o,r);try{return n.get(o).get(t)}catch(t){throw new Error(`Error while ${r}: ${t.message||t}`)}};return n.$inject=[k],n}(t)}declareNg1Module(t=[]){const e=[];let n,o;const r=this,p=(h=this.idPrefix,d=t,O.module(h,d));var h,d;const g=v(),m=new s({enableLongStackTrace:Zone.hasOwnProperty("longStackTraceZoneSpec")}),f=new J;return p.constant(M,1).factory(R,(()=>this.moduleRef.injector.get(i))).factory(P,[R,t=>({injector:t})]).constant("$$angularNgZone",m).factory("$$angularCompiler",(()=>this.moduleRef.injector.get(c))).config(["$provide","$injector",(t,s)=>{t.decorator(T,["$delegate",function(t){if(o=t.constructor.prototype,!o.hasOwnProperty("$apply"))throw new Error("Failed to find '$apply' on '$rootScope'!");return n=o.$apply,o.$apply=t=>e.push(t),t}]),s.has(I)&&t.decorator(I,["$delegate",function(t){const e=t.whenStable,n=function(t){e.call(this,(function(){const e=r.moduleRef.injector.get(u);e.isStable()?t.apply(this,arguments):e.whenStable(n.bind(this,t))}))};return t.whenStable=n,t}])}]),p.run(["$injector","$rootScope",(t,r)=>{ht.resolve(this.ng1ComponentsToBeUpgraded,t).then((()=>{let s=class{ngDoBootstrap(){}};s=w([a({jit:!0,providers:[{provide:k,useFactory:()=>t},{provide:A,useFactory:()=>t.get(A)},this.upgradedProviders],imports:[l(this.ng2AppModule)]})],s),g.bootstrapModule(s,[this.compilerOptions,{ngZone:m}]).then((t=>{this.moduleRef=t,m.run((()=>{if(o){for(o.$apply=n;e.length;)r.$apply(e.shift());o=null}}))})).then((()=>f.resolve(t)),U).then((()=>{let e=m.onMicrotaskEmpty.subscribe({next:()=>r.$$phase?r.$evalAsync((()=>{})):r.$digest()});r.$on("$destroy",(()=>{e.unsubscribe()})),g.onDestroy((()=>function(t){const e=t.get("$rootElement");t.get(T).$destroy(),x(e[0])}(t)))}))})).catch((t=>f.reject(t)))}]),{ng1Module:p,ng2BootstrapDeferred:f,ngZone:m}}});class gt{constructor(){this._readyFn=null,this.ng1RootScope=null,this.ng1Injector=null,this.ng2ModuleRef=null,this.ng2Injector=null}_bootstrapDone(t,e){this.ng2ModuleRef=t,this.ng2Injector=t.injector,this.ng1Injector=e,this.ng1RootScope=e.get(T),this._readyFn&&this._readyFn(this)}ready(t){this._readyFn=t}dispose(){this.ng1Injector.get(T).$destroy(),this.ng2ModuleRef.destroy()}}t("UpgradeAdapterRef",gt)}}}));
/* esm-bundle - @angular/upgrade@18.2.11 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(["@angular/core","tslib","@angular/platform-browser-dynamic"],(function(t){"use strict";var e,n,o,r,s,i,c,a,l,p,h,u,d,g,m,f,y,$,w,b,v;return{setters:[function(t){e=t.Version,n=t.EventEmitter,o=t,r=t.Directive,s=t.NgZone,i=t.Injector,c=t.Compiler,a=t.NgModule,l=t.resolveForwardRef,p=t.Inject,h=t.ElementRef,u=t.Testability,d=t.ComponentFactoryResolver,g=t.ChangeDetectorRef,m=t.TestabilityRegistry,f=t.ApplicationRef,y=t.SimpleChange,$=t.ɵSIGNAL},function(t){w=t.__decorate,b=t.__metadata},function(t){v=t.platformBrowserDynamic}],execute:function(){t("VERSION",new e("18.2.11"));function C(){throw new Error("AngularJS v1.x is not loaded!")}const j=()=>C();j.cleanData=C;let O={bootstrap:C,module:C,element:j,injector:C,version:void 0,resumeBootstrap:C,getTestability:C};try{window.hasOwnProperty("angular")&&(O=window.angular)}catch{}const E=t=>O.element(t);E.cleanData=t=>O.element.cleanData(t);const A="$compile",k="$injector",T="$rootScope",S="$scope",I="$$testability",D="$$angularDowngradedModuleCount",R="$$angularInjector",P="$$angularLazyModuleRef",M="$$angularUpgradeAppType",N="?^^"+R;class _{constructor(t,e){this.prop=t,this.attr=e,this.bracketAttr=`[${this.attr}]`,this.parenAttr=`(${this.attr})`,this.bracketParenAttr=`[(${this.attr})]`;const n=this.attr.charAt(0).toUpperCase()+this.attr.slice(1);this.onAttr=`on${n}`,this.bindAttr=`bind${n}`,this.bindonAttr=`bindon${n}`}}const F=/^(?:x|data)[:\-_]/i,B=/[:\-_]+(.)/g;function U(t){throw console.error(t,t.stack),t}function x(t){E.cleanData([t]),function(t){return G(t.querySelectorAll)}(t)&&E.cleanData(t.querySelectorAll("*"))}function V(t){return"$"+t+"Controller"}function L(t){return t.overriddenName||t.name||t.toString().split("\n")[0]}function q(t){return t.has(D)?t.get(D):0}function Z(t){return t.has(M)?t.get(M):0}function G(t){return"function"==typeof t}function H(t,e,n,o){const r=Z(t),s=q(t);switch(r){case 1:case 2:if(e)throw new Error(`Error while ${o}: 'downgradedModule' unexpectedly specified.\nYou should not specify a value for 'downgradedModule', unless you are downgrading more than one Angular module (via 'downgradeModule()').`);break;case 3:if(!e&&s>=2)throw new Error(`Error while ${o}: 'downgradedModule' not specified.\nThis application contains more than one downgraded Angular module, thus you need to always specify 'downgradedModule' when downgrading components and injectables.`);if(!t.has(n))throw new Error(`Error while ${o}: Unable to find the specified downgraded module.\nDid you forget to downgrade an Angular module or include it in the AngularJS application?`);break;default:throw new Error(`Error while ${o}: Not a valid '@angular/upgrade' application.\nDid you forget to downgrade an Angular module or include it in the AngularJS application?`)}}class J{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}}function K(t,e){return t===e||t!=t&&e!=e}const z={__UNINITIALIZED__:!0};class X{constructor(t,e,n,o,r,s,i,c,a,l){this.element=t,this.attrs=e,this.scope=n,this.ngModel=o,this.parentInjector=r,this.$compile=s,this.$parse=i,this.componentFactory=c,this.wrapCallback=a,this.unsafelyOverwriteSignalInputs=l,this.implementsOnChanges=!1,this.inputChangeCount=0,this.inputChanges={},this.componentScope=n.$new()}compileContents(){const t=[],e=this.groupProjectableNodes().map((t=>this.$compile(t)));return this.element.empty(),e.forEach((e=>{e(this.scope,(e=>{t.push(e),this.element.append(e)}))})),t}createComponentAndSetup(t,e=!1,n=!0){const o=this.createComponent(t);return this.setupInputs(e,n,o),this.setupOutputs(o.componentRef),this.registerCleanup(o.componentRef),o.componentRef}createComponent(t){const e=[{provide:S,useValue:this.componentScope}],n=i.create({providers:e,parent:this.parentInjector,name:"DowngradeComponentAdapter"}),o=this.componentFactory.create(n,t,this.element[0]),r=o.injector.get(g),s=o.changeDetectorRef,c=o.injector.get(u,null);var a,l;return c&&o.injector.get(m).registerApplication(o.location.nativeElement,c),a=this.ngModel,l=o.instance,a&&function(t){return"function"==typeof t.writeValue&&"function"==typeof t.registerOnChange}(l)&&(a.$render=()=>{l.writeValue(a.$viewValue)},l.registerOnChange(a.$setViewValue.bind(a)),"function"==typeof l.registerOnTouched&&l.registerOnTouched(a.$setTouched.bind(a))),{viewChangeDetector:r,componentRef:o,changeDetector:s}}setupInputs(t,e=!0,{componentRef:n,changeDetector:o,viewChangeDetector:r}){const s=this.attrs,i=this.componentFactory.inputs||[];for(const t of i){const e=new _(t.propName,t.templateName);let o=null;if(s.hasOwnProperty(e.attr)){const o=((t,e)=>{let o=z;return r=>{K(o,r)||(o===z&&(o=r),this.updateInput(n,t,o,r,e),o=r)}})(e.prop,t.isSignal);s.$observe(e.attr,o);let r=this.componentScope.$watch((()=>{r(),r=null,o(s[e.attr])}))}else s.hasOwnProperty(e.bindAttr)?o=s[e.bindAttr]:s.hasOwnProperty(e.bracketAttr)?o=s[e.bracketAttr]:s.hasOwnProperty(e.bindonAttr)?o=s[e.bindonAttr]:s.hasOwnProperty(e.bracketParenAttr)&&(o=s[e.bracketParenAttr]);if(null!=o){const r=((t,e)=>(o,r)=>this.updateInput(n,t,r,o,e))(e.prop,t.isSignal);this.componentScope.$watch(o,r)}}const c=()=>o.detectChanges(),a=this.componentFactory.componentType.prototype;if(this.implementsOnChanges=!(!a||!a.ngOnChanges),this.componentScope.$watch((()=>this.inputChangeCount),this.wrapCallback((()=>{if(this.implementsOnChanges){const t=this.inputChanges;this.inputChanges={},n.instance.ngOnChanges(t)}r.markForCheck(),e||c()}))),e&&this.componentScope.$watch(this.wrapCallback(c)),t||!e){let t=this.componentScope.$watch((()=>{t(),t=null;this.parentInjector.get(f).attachView(n.hostView)}))}}setupOutputs(t){const e=this.attrs,n=this.componentFactory.outputs||[];for(const o of n){const n=new _(o.propName,o.templateName),r=n.bindonAttr.substring(0,n.bindonAttr.length-6),s=`[(${n.bracketParenAttr.substring(2,n.bracketParenAttr.length-8)})]`;e.hasOwnProperty(r)&&this.subscribeToOutput(t,n,e[r],!0),e.hasOwnProperty(s)&&this.subscribeToOutput(t,n,e[s],!0),e.hasOwnProperty(n.onAttr)&&this.subscribeToOutput(t,n,e[n.onAttr]),e.hasOwnProperty(n.parenAttr)&&this.subscribeToOutput(t,n,e[n.parenAttr])}}subscribeToOutput(t,e,n,o=!1){const r=this.$parse(n),s=r.assign;if(o&&!s)throw new Error(`Expression '${n}' is not assignable!`);const i=t.instance[e.prop];if(!i)throw new Error(`Missing emitter '${e.prop}' on component '${L(this.componentFactory.componentType)}'!`);{const e=i.subscribe({next:o?t=>s(this.scope,t):t=>r(this.scope,{$event:t})});t.onDestroy((()=>e.unsubscribe()))}}registerCleanup(t){const e=t.injector.get(m),n=this.wrapCallback((()=>t.destroy()));let o=!1;this.element.on("$destroy",(()=>{o||this.componentScope.$destroy()})),this.componentScope.$on("$destroy",(()=>{o||(o=!0,e.unregisterApplication(t.location.nativeElement),x(this.element[0]),n())}))}updateInput(t,e,n,o,r){if(this.implementsOnChanges&&(this.inputChanges[e]=new y(n,o,n===o)),this.inputChangeCount++,r&&!this.unsafelyOverwriteSignalInputs){const n=t.instance[e][$];n.applyValueToInputSignal(n,o)}else t.instance[e]=o}groupProjectableNodes(){return function(t,e){const n=[];for(let e=0,o=t.length;e<o;++e)n[e]=[];for(let o=0,r=e.length;o<r;++o){const r=e[o],s=Y(r,t);null!=s&&n[s].push(r)}return n}(this.componentFactory.ngContentSelectors,this.element.contents())}}function Y(t,e){const n=[];let o=-1;for(let r=0;r<e.length;r++){const s=e[r];"*"===s?o=r:Q(t,s)&&n.push(r)}return n.sort(),-1!==o&&n.push(o),n.length?n[0]:null}function Q(t,e){const n=Element.prototype;return t.nodeType===Node.ELEMENT_NODE&&(n.matches??n.msMatchesSelector).call(t,e)}class W{constructor(){this.resolved=!1,this.callbacks=[]}static all(t){const e=new W;let n=0;const o=[],r=(r,s)=>{o[r]=s,++n===t.length&&e.resolve(o)};return t.forEach(((t,e)=>{var n;(n=t)&&G(n.then)?t.then((t=>r(e,t))):r(e,t)})),e}resolve(t){this.resolved||(this.value=t,this.resolved=!0,this.callbacks.forEach((e=>e(t))),this.callbacks.length=0)}then(t){this.resolved?t(this.value):this.callbacks.push(t)}}class tt extends W{constructor(t){super(),this.element=t,this.injectorKey=V(R),t.data(this.injectorKey,this)}resolve(t){this.element.data(this.injectorKey,t),this.element=null,super.resolve(t)}}let et;function nt(t){return function(){if(void 0===et){et=null;const t=window;if(t.trustedTypes)try{et=t.trustedTypes.createPolicy("angular#unsafe-upgrade",{createHTML:t=>t})}catch{}}return et}()?.createHTML(t)||t}const ot=/^(\^\^?)?(\?)?(\^\^?)?/;class rt{constructor(t,e,n,o){this.name=e,this.$injector=t.get(k),this.$compile=this.$injector.get(A),this.$controller=this.$injector.get("$controller"),this.element=n.nativeElement,this.$element=E(this.element),this.directive=o??rt.getDirective(this.$injector,e)}static getDirective(t,e){const n=t.get(e+"Directive");if(n.length>1)throw new Error(`Only support single directive definition for: ${e}`);const o=n[0];return o.compile&&!o.link&&ct(e,"compile"),o.replace&&ct(e,"replace"),o.terminal&&ct(e,"terminal"),o}static getTemplate(t,e,n=!1,o){if(void 0!==e.template)return nt(st(e.template,o));if(e.templateUrl){const r=t.get("$templateCache"),s=st(e.templateUrl,o),i=r.get(s);if(void 0!==i)return nt(i);if(!n)throw new Error("loading directive templates asynchronously is not supported");return new Promise(((e,n)=>{t.get("$httpBackend")("GET",s,null,((t,o)=>{200===t?e(nt(r.put(s,o))):n(`GET component template from '${s}' returned '${t}: ${o}'`)}))}))}throw new Error(`Directive '${e.name}' is not a component, it is missing template.`)}buildController(t,e){const n={$scope:e,$element:this.$element},o=this.$controller(t,n,null,this.directive.controllerAs);return this.$element.data?.(V(this.directive.name),o),o}compileTemplate(t){return void 0===t&&(t=rt.getTemplate(this.$injector,this.directive,!1,this.$element)),this.compileHtml(t)}onDestroy(t,e){e&&G(e.$onDestroy)&&e.$onDestroy(),t.$destroy(),x(this.element)}prepareTransclusion(){const t=this.directive.transclude,e=this.extractChildNodes(),n=(t,e)=>e(o,t=t||{$destroy:()=>{}});let o=e;if(t){const r=Object.create(null);if("object"==typeof t){o=[];const n=Object.create(null),s=Object.create(null);Object.keys(t).forEach((e=>{let o=t[e];const i="?"===o.charAt(0);o=i?o.substring(1):o,n[o]=e,r[e]=null,s[e]=i})),e.forEach((t=>{const e=n[(i=t.nodeName.toLowerCase(),i.replace(F,"").replace(B,((t,e)=>e.toUpperCase())))];var i;e?(s[e]=!0,r[e]=r[e]||[],r[e].push(t)):o.push(t)})),Object.keys(s).forEach((t=>{if(!s[t])throw new Error(`Required transclusion slot '${t}' on directive: ${this.name}`)})),Object.keys(r).filter((t=>r[t])).forEach((t=>{const e=r[t];r[t]=(t,n)=>n(e,t)}))}n.$$slots=r,o.forEach((t=>{t.nodeType!==Node.TEXT_NODE||t.nodeValue||(t.nodeValue="‌")}))}return n}resolveAndBindRequiredControllers(t){const e=this.getDirectiveRequire(),n=this.resolveRequire(e);if(t&&this.directive.bindToController&&it(e)){const e=n;Object.keys(e).forEach((n=>{t[n]=e[n]}))}return n}compileHtml(t){return this.element.innerHTML=t,this.$compile(this.element.childNodes)}extractChildNodes(){const t=[];let e;for(;e=this.element.firstChild;)e.remove(),t.push(e);return t}getDirectiveRequire(){const t=this.directive.require||this.directive.controller&&this.directive.name;return it(t)&&Object.entries(t).forEach((([e,n])=>{const o=n.match(ot);n.substring(o[0].length)||(t[e]=o[0]+e)})),t}resolveRequire(t){if(t){if(Array.isArray(t))return t.map((t=>this.resolveRequire(t)));if("object"==typeof t){const e={};return Object.keys(t).forEach((n=>e[n]=this.resolveRequire(t[n]))),e}if("string"==typeof t){const e=t.match(ot),n=e[1]||e[3],o=t.substring(e[0].length),r=!!e[2],s=!!n,i="^^"===n,c=V(o),a=i?this.$element.parent():this.$element,l=s?a.inheritedData(c):a.data(c);if(!l&&!r)throw new Error(`Unable to find required '${t}' in upgraded directive '${this.name}'.`);return l}throw new Error(`Unrecognized 'require' syntax on upgraded directive '${this.name}': ${t}`)}return null}}function st(t,...e){return G(t)?t(...e):t}function it(t){return t&&!Array.isArray(t)&&"object"==typeof t}function ct(t,e){throw new Error(`Upgraded directive '${t}' contains unsupported feature: '${e}'.`)}const at=/([A-Z])/g,lt={__UNINITIALIZED__:!0},pt="NOT_SUPPORTED";class ht{constructor(t){this.name=t,this.inputs=[],this.inputsRename=[],this.outputs=[],this.outputsRename=[],this.propertyOutputs=[],this.checkProperties=[],this.propertyMap={},this.directive=null;const e=t.replace(at,((t,e)=>"-"+e.toLowerCase())),n=this;let o=class extends ut{constructor(e,o,r){super(new rt(o,t,r,n.directive||void 0),e,n.template,n.inputs,n.outputs,n.propertyOutputs,n.checkProperties,n.propertyMap)}static{this.ctorParameters=()=>[{type:void 0,decorators:[{type:p,args:[S]}]},{type:i},{type:h}]}};o=w([r({jit:!0,selector:e,inputs:this.inputsRename,outputs:this.outputsRename}),b("design:paramtypes",[Object,i,h])],o),this.type=o}extractBindings(){const t="object"==typeof this.directive.bindToController;if(t&&Object.keys(this.directive.scope).length)throw new Error("Binding definitions on scope and controller at the same time are not supported.");const e=t?this.directive.bindToController:this.directive.scope;"object"==typeof e&&Object.keys(e).forEach((t=>{const n=e[t],o=n.charAt(0),r=n.charAt(1),s=n.substring("?"===r?2:1)||t,i=`input_${s}`;const c=`${i}: ${s}`,a=function(t){return`output_${t}`}(s),l=`${a}: ${s}`,p=`${l}Change`;switch(o){case"@":case"<":this.inputs.push(i),this.inputsRename.push(c),this.propertyMap[i]=t;break;case"=":this.inputs.push(i),this.inputsRename.push(c),this.propertyMap[i]=t,this.outputs.push(a),this.outputsRename.push(p),this.propertyMap[a]=t,this.checkProperties.push(t),this.propertyOutputs.push(a);break;case"&":this.outputs.push(a),this.outputsRename.push(l),this.propertyMap[a]=t;break;default:let n=JSON.stringify(e);throw new Error(`Unexpected mapping '${o}' in '${n}' in '${this.name}' directive.`)}}))}static resolve(t,e){const n=Object.entries(t).map((([t,n])=>(n.directive=rt.getDirective(e,t),n.extractBindings(),Promise.resolve(rt.getTemplate(e,n.directive,!0)).then((t=>n.template=t)))));return Promise.all(n)}}class ut{constructor(t,e,o,r,s,i,c,a){this.helper=t,this.template=o,this.inputs=r,this.outputs=s,this.propOuts=i,this.checkProperties=c,this.propertyMap=a,this.controllerInstance=null,this.destinationObj=null,this.checkLastValues=[],this.$element=null,this.directive=t.directive,this.element=t.element,this.$element=t.$element,this.componentScope=e.$new(!!this.directive.scope);const l=this.directive.controller;this.directive.bindToController&&l?(this.controllerInstance=this.helper.buildController(l,this.componentScope),this.destinationObj=this.controllerInstance):this.destinationObj=this.componentScope;for(const t of this.inputs)this[t]=null;for(const t of this.outputs){const e=this[t]=new n;-1===this.propOuts.indexOf(t)&&this.setComponentProperty(t,(t=>e=>t.emit(e))(e))}this.checkLastValues.push(...Array(i.length).fill(lt))}ngOnInit(){const t=this.helper.prepareTransclusion(),e=this.helper.compileTemplate(nt(this.template)),n=this.directive.controller,o=this.directive.bindToController;n&&!o&&(this.controllerInstance=this.helper.buildController(n,this.componentScope));const r=this.helper.resolveAndBindRequiredControllers(this.controllerInstance);this.controllerInstance&&G(this.controllerInstance.$onInit)&&this.controllerInstance.$onInit();const s=this.directive.link,i="object"==typeof s&&s.pre,c="object"==typeof s?s.post:s,a=pt,l=pt;i&&i(this.componentScope,this.$element,a,r,l),e(this.componentScope,null,{parentBoundTranscludeFn:t}),c&&c(this.componentScope,this.$element,a,r,l),this.controllerInstance&&G(this.controllerInstance.$postLink)&&this.controllerInstance.$postLink()}ngOnChanges(t){const e={};Object.keys(t).forEach((n=>{const o=t[n];this.setComponentProperty(n,o.currentValue),e[this.propertyMap[n]]=o})),G(this.destinationObj.$onChanges)&&this.destinationObj.$onChanges(e)}ngDoCheck(){const t=this.destinationObj,e=this.checkLastValues,n=this.checkProperties,o=this.propOuts;n.forEach(((n,r)=>{const s=t[n];if(!K(e[r],s)){this[o[r]].emit(e[r]=s)}})),this.controllerInstance&&G(this.controllerInstance.$doCheck)&&this.controllerInstance.$doCheck()}ngOnDestroy(){this.helper.onDestroy(this.componentScope,this.controllerInstance)}setComponentProperty(t,e){this.destinationObj[this.propertyMap[t]]=e}static{this.ɵfac=function(t){o.ɵɵinvalidFactory()}}static{this.ɵdir=o.ɵɵdefineDirective({type:ut,features:[o.ɵɵNgOnChangesFeature]})}}let dt=0;t("UpgradeAdapter",class{constructor(t,e){if(this.ng2AppModule=t,this.compilerOptions=e,this.idPrefix=`NG2_UPGRADE_${dt++}_`,this.downgradedComponents=[],this.ng1ComponentsToBeUpgraded={},this.upgradedProviders=[],this.moduleRef=null,!t)throw new Error("UpgradeAdapter cannot be instantiated without an NgModule of the Angular app.")}downgradeNg2Component(t){return this.downgradedComponents.push(t),function(t){const e=function(e,n,o){const r=t.unsafelyOverwriteSignalInputs??!1,i=3===Z(n),c=i?t=>()=>s.isInAngularZone()?t():a.run(t):t=>t;let a;const l=i&&q(n)>1;return{restrict:"E",terminal:!0,require:[N,"?ngModel"],controller:function(){},link:(p,h,u,g)=>{const m=g[1],f=g[0];let y,$=!1;if(!f||l){const e=t.downgradedModule||"",o=`${P}${e}`,r=`instantiating component '${L(t.component)}'`;H(n,e,o,r);const s=n.get(o);y=s.injector??s.promise}const w=f||y,b=y||f,v=(n,s)=>{const a=s.get(d).resolveComponentFactory(t.component);if(!a)throw new Error(`Expecting ComponentFactory for: ${L(t.component)}`);const l=new tt(h),g=new X(h,u,p,m,n,e,o,a,c,r),f=g.compileContents(),y=g.createComponentAndSetup(f,i,t.propagateDigest);l.resolve(y.injector),$&&p.$evalAsync((()=>{}))},C=i?(t,e)=>{a||(a=t.get(s)),c((()=>v(t,e)))()}:v;W.all([w,b]).then((([t,e])=>C(t,e))),$=!0}}};return e.$inject=[A,k,"$parse"],e}({component:t})}upgradeNg1Component(t){return this.ng1ComponentsToBeUpgraded.hasOwnProperty(t)?this.ng1ComponentsToBeUpgraded[t].type:(this.ng1ComponentsToBeUpgraded[t]=new ht(t)).type}registerForNg1Tests(t){const e=window.angular.mock;if(!e||!e.module)throw new Error("Failed to find 'angular.mock.module'.");const{ng1Module:n,ng2BootstrapDeferred:o}=this.declareNg1Module(t);e.module(n.name);const r=new gt;return o.promise.then((t=>{r._bootstrapDone(this.moduleRef,t)}),U),r}bootstrap(t,e,n){const{ng1Module:o,ng2BootstrapDeferred:r,ngZone:i}=this.declareNg1Module(e),c=new gt,a=window.angular;a.resumeBootstrap=void 0,i.run((()=>{((t,e,n)=>{O.bootstrap(t,e,n)})(t,[o.name],n)}));const l=new Promise((t=>{if(a.resumeBootstrap){const e=a.resumeBootstrap;a.resumeBootstrap=function(){a.resumeBootstrap=e;const n=a.resumeBootstrap.apply(this,arguments);return t(),n}}else t()}));return Promise.all([r.promise,l]).then((([e])=>{E(t).data(V(R),this.moduleRef.injector),this.moduleRef.injector.get(s).run((()=>{c._bootstrapDone(this.moduleRef,e)}))}),U),c}upgradeNg1Provider(t,e){const n=e&&e.asToken||t;this.upgradedProviders.push({provide:n,useFactory:e=>e.get(t),deps:[k]})}downgradeNg2Provider(t){return function(t,e=""){const n=function(n){const o=`${R}${e}`,r=`instantiating injectable '${G(t)?L(t):String(t)}'`;H(n,e,o,r);try{return n.get(o).get(t)}catch(t){throw new Error(`Error while ${r}: ${t.message||t}`)}};return n.$inject=[k],n}(t)}declareNg1Module(t=[]){const e=[];let n,o;const r=this,p=(h=this.idPrefix,d=t,O.module(h,d));var h,d;const g=v(),m=new s({enableLongStackTrace:Zone.hasOwnProperty("longStackTraceZoneSpec")}),f=new J;return p.constant(M,1).factory(R,(()=>this.moduleRef.injector.get(i))).factory(P,[R,t=>({injector:t})]).constant("$$angularNgZone",m).factory("$$angularCompiler",(()=>this.moduleRef.injector.get(c))).config(["$provide","$injector",(t,s)=>{t.decorator(T,["$delegate",function(t){if(o=t.constructor.prototype,!o.hasOwnProperty("$apply"))throw new Error("Failed to find '$apply' on '$rootScope'!");return n=o.$apply,o.$apply=t=>e.push(t),t}]),s.has(I)&&t.decorator(I,["$delegate",function(t){const e=t.whenStable,n=function(t){e.call(this,(function(){const e=r.moduleRef.injector.get(u);e.isStable()?t.apply(this,arguments):e.whenStable(n.bind(this,t))}))};return t.whenStable=n,t}])}]),p.run(["$injector","$rootScope",(t,r)=>{ht.resolve(this.ng1ComponentsToBeUpgraded,t).then((()=>{let s=class{ngDoBootstrap(){}};s=w([a({jit:!0,providers:[{provide:k,useFactory:()=>t},{provide:A,useFactory:()=>t.get(A)},this.upgradedProviders],imports:[l(this.ng2AppModule)]})],s),g.bootstrapModule(s,[this.compilerOptions,{ngZone:m}]).then((t=>{this.moduleRef=t,m.run((()=>{if(o){for(o.$apply=n;e.length;)r.$apply(e.shift());o=null}}))})).then((()=>f.resolve(t)),U).then((()=>{let e=m.onMicrotaskEmpty.subscribe({next:()=>r.$$phase?r.$evalAsync((()=>{})):r.$digest()});r.$on("$destroy",(()=>{e.unsubscribe()})),g.onDestroy((()=>function(t){const e=t.get("$rootElement");t.get(T).$destroy(),x(e[0])}(t)))}))})).catch((t=>f.reject(t)))}]),{ng1Module:p,ng2BootstrapDeferred:f,ngZone:m}}});class gt{constructor(){this._readyFn=null,this.ng1RootScope=null,this.ng1Injector=null,this.ng2ModuleRef=null,this.ng2Injector=null}_bootstrapDone(t,e){this.ng2ModuleRef=t,this.ng2Injector=t.injector,this.ng1Injector=e,this.ng1RootScope=e.get(T),this._readyFn&&this._readyFn(this)}ready(t){this._readyFn=t}dispose(){this.ng1Injector.get(T).$destroy(),this.ng2ModuleRef.destroy()}}t("UpgradeAdapterRef",gt)}}}));
//# sourceMappingURL=angular-upgrade.min.js.map

@@ -1,2 +0,2 @@

/* esm-bundle - tslib@2.8.0 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - tslib@2.8.1 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register([], (function (exports) {

@@ -453,6 +453,14 @@ 'use strict';

};
var ownKeys = function (o) {
ownKeys = Object.getOwnPropertyNames || function (o) {
var ar = [];
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
function __importStar(mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
__setModuleDefault(result, mod);

@@ -459,0 +467,0 @@ return result;

@@ -1,3 +0,3 @@

/* esm-bundle - tslib@2.8.0 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register([],(function(e){"use strict";return{execute:function(){e({__addDisposableResource:k,__asyncDelegator:O,__asyncGenerator:j,__asyncValues:P,__await:g,__awaiter:p,__classPrivateFieldGet:I,__classPrivateFieldIn:R,__classPrivateFieldSet:D,__decorate:a,__disposeResources:F,__esDecorate:c,__exportStar:d,__extends:r,__generator:y,__importDefault:T,__importStar:x,__makeTemplateObject:S,__metadata:l,__param:i,__propKey:u,__read:v,__rest:o,__rewriteRelativeImportExtension:C,__runInitializers:s,__setFunctionName:f,__spread:b,__spreadArray:m,__spreadArrays:w,__values:h});var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},t(e,r)};function r(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}var n=e("__assign",(function(){return e("__assign",n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}),n.apply(this,arguments)}));function o(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function a(e,t,r,n){var o,a=arguments.length,i=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(i=(a<3?o(i):a>3?o(t,r,i):o(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i}function i(e,t){return function(r,n){t(r,n,e)}}function c(e,t,r,n,o,a){function i(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var c,s=n.kind,u="getter"===s?"get":"setter"===s?"set":"value",f=!t&&e?n.static?e:e.prototype:null,l=t||(f?Object.getOwnPropertyDescriptor(f,n.name):{}),p=!1,y=r.length-1;y>=0;y--){var _={};for(var d in n)_[d]="access"===d?{}:n[d];for(var d in n.access)_.access[d]=n.access[d];_.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");a.push(i(e||null))};var h=(0,r[y])("accessor"===s?{get:l.get,set:l.set}:l[u],_);if("accessor"===s){if(void 0===h)continue;if(null===h||"object"!=typeof h)throw new TypeError("Object expected");(c=i(h.get))&&(l.get=c),(c=i(h.set))&&(l.set=c),(c=i(h.init))&&o.unshift(c)}else(c=i(h))&&("field"===s?o.unshift(c):l[u]=c)}f&&Object.defineProperty(f,n.name,l),p=!0}function s(e,t,r){for(var n=arguments.length>2,o=0;o<t.length;o++)r=n?t[o].call(e,r):t[o].call(e);return n?r:void 0}function u(e){return"symbol"==typeof e?e:"".concat(e)}function f(e,t,r){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function l(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function p(e,t,r,n){return new(r||(r=Promise))((function(o,a){function i(e){try{s(n.next(e))}catch(e){a(e)}}function c(e){try{s(n.throw(e))}catch(e){a(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,c)}s((n=n.apply(e,t||[])).next())}))}function y(e,t){var r,n,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=c(0),i.throw=c(1),i.return=c(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(c){return function(s){return function(c){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(a=0)),a;)try{if(r=1,n&&(o=2&c[0]?n.return:c[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,c[1])).done)return o;switch(n=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,n=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==c[0]&&2!==c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(6===c[0]&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(e){c=[6,e],n=0}finally{r=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,s])}}}var _=e("__createBinding",Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]});function d(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||_(t,e,r)}function h(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}function b(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}function w(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var a=arguments[t],i=0,c=a.length;i<c;i++,o++)n[o]=a[i];return n}function m(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function g(e){return this instanceof g?(this.v=e,this):new g(e)}function j(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),a=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),i("next"),i("throw"),i("return",(function(e){return function(t){return Promise.resolve(t).then(e,u)}})),n[Symbol.asyncIterator]=function(){return this},n;function i(e,t){o[e]&&(n[e]=function(t){return new Promise((function(r,n){a.push([e,t,r,n])>1||c(e,t)}))},t&&(n[e]=t(n[e])))}function c(e,t){try{(r=o[e](t)).value instanceof g?Promise.resolve(r.value.v).then(s,u):f(a[0][2],r)}catch(e){f(a[0][3],e)}var r}function s(e){c("next",e)}function u(e){c("throw",e)}function f(e,t){e(t),a.shift(),a.length&&c(a[0][0],a[0][1])}}function O(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:g(e[n](t)),done:!1}:o?o(t):t}:o}}function P(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=h(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,o,(t=e[r](t)).done,t.value)}))}}}function S(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var E=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function x(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&_(t,e,r);return E(t,e),t}function T(e){return e&&e.__esModule?e:{default:e}}function I(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function D(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r}function R(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function k(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var n,o;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(o=n)}if("function"!=typeof n)throw new TypeError("Object not disposable.");o&&(n=function(){try{o.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var A="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function F(e){function t(t){e.error=e.hasError?new A(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,n=0;return function o(){for(;r=e.stack.pop();)try{if(!r.async&&1===n)return n=0,e.stack.push(r),Promise.resolve().then(o);if(r.dispose){var a=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(a).then(o,(function(e){return t(e),o()}))}else n|=1}catch(e){t(e)}if(1===n)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function C(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,(function(e,r,n,o,a){return r?t?".jsx":".js":!n||o&&a?n+o+"."+a.toLowerCase()+"js":e})):e}e("default",{__extends:r,__assign:n,__rest:o,__decorate:a,__param:i,__esDecorate:c,__runInitializers:s,__propKey:u,__setFunctionName:f,__metadata:l,__awaiter:p,__generator:y,__createBinding:_,__exportStar:d,__values:h,__read:v,__spread:b,__spreadArrays:w,__spreadArray:m,__await:g,__asyncGenerator:j,__asyncDelegator:O,__asyncValues:P,__makeTemplateObject:S,__importStar:x,__importDefault:T,__classPrivateFieldGet:I,__classPrivateFieldSet:D,__classPrivateFieldIn:R,__addDisposableResource:k,__disposeResources:F,__rewriteRelativeImportExtension:C})}}}));
/* esm-bundle - tslib@2.8.1 - system format - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register([],(function(e){"use strict";return{execute:function(){e({__addDisposableResource:A,__asyncDelegator:j,__asyncGenerator:O,__asyncValues:P,__await:g,__awaiter:p,__classPrivateFieldGet:D,__classPrivateFieldIn:k,__classPrivateFieldSet:R,__decorate:a,__disposeResources:C,__esDecorate:c,__exportStar:d,__extends:r,__generator:y,__importDefault:I,__importStar:T,__makeTemplateObject:S,__metadata:l,__param:i,__propKey:u,__read:v,__rest:o,__rewriteRelativeImportExtension:G,__runInitializers:s,__setFunctionName:f,__spread:b,__spreadArray:m,__spreadArrays:w,__values:h});var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},t(e,r)};function r(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}var n=e("__assign",(function(){return e("__assign",n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}),n.apply(this,arguments)}));function o(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function a(e,t,r,n){var o,a=arguments.length,i=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(i=(a<3?o(i):a>3?o(t,r,i):o(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i}function i(e,t){return function(r,n){t(r,n,e)}}function c(e,t,r,n,o,a){function i(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var c,s=n.kind,u="getter"===s?"get":"setter"===s?"set":"value",f=!t&&e?n.static?e:e.prototype:null,l=t||(f?Object.getOwnPropertyDescriptor(f,n.name):{}),p=!1,y=r.length-1;y>=0;y--){var _={};for(var d in n)_[d]="access"===d?{}:n[d];for(var d in n.access)_.access[d]=n.access[d];_.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");a.push(i(e||null))};var h=(0,r[y])("accessor"===s?{get:l.get,set:l.set}:l[u],_);if("accessor"===s){if(void 0===h)continue;if(null===h||"object"!=typeof h)throw new TypeError("Object expected");(c=i(h.get))&&(l.get=c),(c=i(h.set))&&(l.set=c),(c=i(h.init))&&o.unshift(c)}else(c=i(h))&&("field"===s?o.unshift(c):l[u]=c)}f&&Object.defineProperty(f,n.name,l),p=!0}function s(e,t,r){for(var n=arguments.length>2,o=0;o<t.length;o++)r=n?t[o].call(e,r):t[o].call(e);return n?r:void 0}function u(e){return"symbol"==typeof e?e:"".concat(e)}function f(e,t,r){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function l(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function p(e,t,r,n){return new(r||(r=Promise))((function(o,a){function i(e){try{s(n.next(e))}catch(e){a(e)}}function c(e){try{s(n.throw(e))}catch(e){a(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,c)}s((n=n.apply(e,t||[])).next())}))}function y(e,t){var r,n,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=c(0),i.throw=c(1),i.return=c(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(c){return function(s){return function(c){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(a=0)),a;)try{if(r=1,n&&(o=2&c[0]?n.return:c[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,c[1])).done)return o;switch(n=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,n=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==c[0]&&2!==c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(6===c[0]&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(e){c=[6,e],n=0}finally{r=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,s])}}}var _=e("__createBinding",Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]});function d(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||_(t,e,r)}function h(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}function b(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}function w(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var a=arguments[t],i=0,c=a.length;i<c;i++,o++)n[o]=a[i];return n}function m(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function g(e){return this instanceof g?(this.v=e,this):new g(e)}function O(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),a=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),i("next"),i("throw"),i("return",(function(e){return function(t){return Promise.resolve(t).then(e,u)}})),n[Symbol.asyncIterator]=function(){return this},n;function i(e,t){o[e]&&(n[e]=function(t){return new Promise((function(r,n){a.push([e,t,r,n])>1||c(e,t)}))},t&&(n[e]=t(n[e])))}function c(e,t){try{(r=o[e](t)).value instanceof g?Promise.resolve(r.value.v).then(s,u):f(a[0][2],r)}catch(e){f(a[0][3],e)}var r}function s(e){c("next",e)}function u(e){c("throw",e)}function f(e,t){e(t),a.shift(),a.length&&c(a[0][0],a[0][1])}}function j(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:g(e[n](t)),done:!1}:o?o(t):t}:o}}function P(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=h(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,o,(t=e[r](t)).done,t.value)}))}}}function S(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var E=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},x=function(e){return x=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t},x(e)};function T(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=x(e),n=0;n<r.length;n++)"default"!==r[n]&&_(t,e,r[n]);return E(t,e),t}function I(e){return e&&e.__esModule?e:{default:e}}function D(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function R(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r}function k(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function A(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var n,o;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(o=n)}if("function"!=typeof n)throw new TypeError("Object not disposable.");o&&(n=function(){try{o.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var F="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function C(e){function t(t){e.error=e.hasError?new F(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,n=0;return function o(){for(;r=e.stack.pop();)try{if(!r.async&&1===n)return n=0,e.stack.push(r),Promise.resolve().then(o);if(r.dispose){var a=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(a).then(o,(function(e){return t(e),o()}))}else n|=1}catch(e){t(e)}if(1===n)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function G(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,(function(e,r,n,o,a){return r?t?".jsx":".js":!n||o&&a?n+o+"."+a.toLowerCase()+"js":e})):e}e("default",{__extends:r,__assign:n,__rest:o,__decorate:a,__param:i,__esDecorate:c,__runInitializers:s,__propKey:u,__setFunctionName:f,__metadata:l,__awaiter:p,__generator:y,__createBinding:_,__exportStar:d,__values:h,__read:v,__spread:b,__spreadArrays:w,__spreadArray:m,__await:g,__asyncGenerator:O,__asyncDelegator:j,__asyncValues:P,__makeTemplateObject:S,__importStar:T,__importDefault:I,__classPrivateFieldGet:D,__classPrivateFieldSet:R,__classPrivateFieldIn:k,__addDisposableResource:A,__disposeResources:C,__rewriteRelativeImportExtension:G})}}}));
//# sourceMappingURL=tslib.min.js.map

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc