vendor: 5,743 bytes, lines 1-3
1var LA=Object.defineProperty,s4=Object.defineProperties;var l4=Object.getOwnPropertyDescriptors;var vg=Object.getOwnPropertySymbols;var VA=Object.prototype.hasOwnProperty,jA=Object.prototype.propertyIsEnumerable;var FA=(t,i,e)=>i in t?LA(t,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[i]=e,x=(t,i)=>{for(var e in i||={})VA.call(i,e)&&FA(t,e,i[e]);if(vg)for(var e of vg(i))jA.call(i,e)&&FA(t,e,i[e]);return t},Y=(t,i)=>s4(t,l4(i));var Ld=(t,i)=>{var e={};for(var n in t)VA.call(t,n)&&i.indexOf(n)<0&&(e[n]=t[n]);if(t!=null&&vg)for(var n of vg(t))i.indexOf(n)<0&&jA.call(t,n)&&(e[n]=t[n]);return e};var yg=(t,i)=>{for(var e in i)LA(t,e,{get:i[e],enumerable:!0})};var St=(t,i,e)=>new Promise((n,r)=>{var o=l=>{try{s(e.next(l))}catch(c){r(c)}},a=l=>{try{s(e.throw(l))}catch(c){r(c)}},s=l=>l.done?n(l.value):Promise.resolve(l.value).then(o,a);s((e=e.apply(t,i)).next())});var Ci=null,bg=!1,SC=1,c4=null,Tn=Symbol("SIGNAL");function Le(t){let i=Ci;return Ci=t,i}function Cg(){return Ci}var Zs={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function cs(t){if(bg)throw new Error("");if(Ci===null)return;Ci.consumerOnSignalRead(t);let i=Ci.producersTail;if(i!==void 0&&i.producer===t)return;let e,n=Ci.recomputing;if(n&&(e=i!==void 0?i.nextProducer:Ci.producers,e!==void 0&&e.producer===t)){Ci.producersTail=e,e.lastReadVersion=t.version;return}let r=t.consumersTail;if(r!==void 0&&r.consumer===Ci&&(!n||u4(r,Ci)))return;let o=Bd(Ci),a={producer:t,consumer:Ci,nextProducer:e,prevConsumer:r,lastReadVersion:t.version,nextConsumer:void 0};Ci.producersTail=a,i!==void 0?i.nextProducer=a:Ci.producers=a,o&&zA(t,a)}function BA(){SC++}function rc(t){if(!(Bd(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===SC)){if(!t.producerMustRecompute(t)&&!jd(t)){Vd(t);return}t.producerRecomputeValue(t),Vd(t)}}function TC(t){if(t.consumers===void 0)return;let i=bg;bg=!0;try{for(let e=t.consumers;e!==void 0;e=e.nextConsumer){let n=e.consumer;n.dirty||d4(n)}}finally{bg=i}}function IC(){return Ci?.consumerAllowSignalWrites!==!1}function d4(t){t.dirty=!0,TC(t),t.consumerMarkedDirty?.(t)}function Vd(t){t.dirty=!1,t.lastCleanEpoch=SC}function ds(t){return t&&UA(t),Le(t)}function UA(t){t.producersTail=void 0,t.recomputing=!0}function Ks(t,i){Le(i),t&&HA(t)}function HA(t){t.recomputing=!1;let i=t.producersTail,e=i!==void 0?i.nextProducer:t.producers;if(e!==void 0){if(Bd(t))do e=AC(e);while(e!==void 0);i!==void 0?i.nextProducer=void 0:t.producers=void 0}}function jd(t){for(let i=t.producers;i!==void 0;i=i.nextProducer){let e=i.producer,n=i.lastReadVersion;if(n!==e.version||(rc(e),n!==e.version))return!0}return!1}function Xs(t){if(Bd(t)){let i=t.producers;for(;i!==void 0;)i=AC(i)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function zA(t,i){let e=t.consumersTail,n=Bd(t);if(e!==void 0?(i.nextConsumer=e.nextConsumer,e.nextConsumer=i):(i.nextConsumer=void 0,t.consumers=i),i.prevConsumer=e,t.consumersTail=i,!n)for(let r=t.producers;r!==void 0;r=r.nextProducer)zA(r.producer,r)}function AC(t){let i=t.producer,e=t.nextProducer,n=t.nextConsumer,r=t.prevConsumer;if(t.nextConsumer=void 0,t.prevConsumer=void 0,n!==void 0?n.prevConsumer=r:i.consumersTail=r,r!==void 0)r.nextConsumer=n;else if(i.consumers=n,!Bd(i)){let o=i.producers;for(;o!==void 0;)o=AC(o)}return e}function Bd(t){return t.consumerIsAlwaysLive||t.consumers!==void 0}function rf(t){c4?.(t)}function u4(t,i){let e=i.producersTail;if(e!==void 0){let n=i.producers;do{if(n===t)return!0;if(n===e)break;n=n.nextProducer}while(n!==void 0)}return!1}function of(t,i){return Object.is(t,i)}function af(t,i){let e=Object.create(h4);e.computation=t,i!==void 0&&(e.equal=i);let n=()=>{if(rc(e),cs(e),e.value===ga)throw e.error;return e.value};return n[Tn]=e,rf(e),n}var nc=Symbol("UNSET"),ic=Symbol("COMPUTING"),ga=Symbol("ERRORED"),h4=Y(x({},Zs),{value:nc,dirty:!0,error:null,equal:of,kind:"computed",producerMustRecompute(t){return t.value===nc||t.value===ic},producerRecomputeValue(t){if(t.value===ic)throw new Error("");let i=t.value;t.value=ic;let e=ds(t),n,r=!1;try{n=t.computation(),Le(null),r=i!==nc&&i!==ga&&n!==ga&&t.equal(i,n)}catch(o){n=ga,t.error=o}finally{Ks(t,e)}if(r){t.value=i;return}t.value=n,t.version++}});function f4(){throw new Error}var $A=f4;function WA(t){$A(t)}function kC(t){$A=t}var m4=null;function OC(t,i){let e=Object.create(sf);e.value=t,i!==void 0&&(e.equal=i);let n=()=>qA(e);return n[Tn]=e,rf(e),[n,a=>Js(e,a),a=>wg(e,a)]}function qA(t){return cs(t),t.value}function Js(t,i){IC()||WA(t),t.equal(t.value,i)||(t.value=i,p4(t))}function wg(t,i){IC()||WA(t),Js(t,i(t.value))}var sf=Y(x({},Zs),{equal:of,value:void 0,kind:"signal"});function p4(t){t.version++,BA(),TC(t),m4?.(t)}var NC=Y(x({},Zs),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function RC(t){if(t.dirty=!1,t.version>0&&!jd(t))return;t.version++;let i=ds(t);try{t.cleanup(),t.fn()}finally{Ks(t,i)}}function He(t){return typeof t=="function"}function el(t){let e=t(n=>{Error.call(n),n.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var xg=el(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription: 2${e.map((n,r)=>`${r+1}) ${n.toString()}`).join(` 3 `)}`:"",this.name="UnsubscriptionError",this.errors=e});function oc(t,i){if(t){let e=t.indexOf(i);0<=e&&t.splice(e,1)}}var Re=class t{constructor(i){this.initialTeardown=i,this.closed=!1,this._parentage=null,this._finalizers=null}
vendor: 9,470 bytes, line 3
3unsubscribe(){let i;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let o of e)o.remove(this);else e.remove(this);let{initialTeardown:n}=this;if(He(n))try{n()}catch(o){i=o instanceof xg?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{GA(o)}catch(a){i=i??[],a instanceof xg?i=[...i,...a.errors]:i.push(a)}}if(i)throw new xg(i)}}add(i){var e;if(i&&i!==this)if(this.closed)GA(i);else{if(i instanceof t){if(i.closed||i._hasParent(this))return;i._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(i)}}_hasParent(i){let{_parentage:e}=this;return e===i||Array.isArray(e)&&e.includes(i)}_addParent(i){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(i),e):e?[e,i]:i}_removeParent(i){let{_parentage:e}=this;e===i?this._parentage=null:Array.isArray(e)&&oc(e,i)}remove(i){let{_finalizers:e}=this;e&&oc(e,i),i instanceof t&&i._removeParent(this)}};Re.EMPTY=(()=>{let t=new Re;return t.closed=!0,t})();var PC=Re.EMPTY;function Dg(t){return t instanceof Re||t&&"closed"in t&&He(t.remove)&&He(t.add)&&He(t.unsubscribe)}function GA(t){He(t)?t():t.unsubscribe()}var So={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ud={setTimeout(t,i,...e){let{delegate:n}=Ud;return n?.setTimeout?n.setTimeout(t,i,...e):setTimeout(t,i,...e)},clearTimeout(t){let{delegate:i}=Ud;return(i?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Mg(t){Ud.setTimeout(()=>{let{onUnhandledError:i}=So;if(i)i(t);else throw t})}function To(){}var YA=FC("C",void 0,void 0);function QA(t){return FC("E",void 0,t)}function ZA(t){return FC("N",t,void 0)}function FC(t,i,e){return{kind:t,value:i,error:e}}var ac=null;function Hd(t){if(So.useDeprecatedSynchronousErrorHandling){let i=!ac;if(i&&(ac={errorThrown:!1,error:null}),t(),i){let{errorThrown:e,error:n}=ac;if(ac=null,e)throw n}}else t()}function KA(t){So.useDeprecatedSynchronousErrorHandling&&ac&&(ac.errorThrown=!0,ac.error=t)}var sc=class extends Re{constructor(i){super(),this.isStopped=!1,i?(this.destination=i,Dg(i)&&i.add(this)):this.destination=v4}static create(i,e,n){return new Io(i,e,n)}next(i){this.isStopped?VC(ZA(i),this):this._next(i)}error(i){this.isStopped?VC(QA(i),this):(this.isStopped=!0,this._error(i))}complete(){this.isStopped?VC(YA,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(i){this.destination.next(i)}_error(i){try{this.destination.error(i)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},g4=Function.prototype.bind;function LC(t,i){return g4.call(t,i)}var jC=class{constructor(i){this.partialObserver=i}next(i){let{partialObserver:e}=this;if(e.next)try{e.next(i)}catch(n){Eg(n)}}error(i){let{partialObserver:e}=this;if(e.error)try{e.error(i)}catch(n){Eg(n)}else Eg(i)}complete(){let{partialObserver:i}=this;if(i.complete)try{i.complete()}catch(e){Eg(e)}}},Io=class extends sc{constructor(i,e,n){super();let r;if(He(i)||!i)r={next:i??void 0,error:e??void 0,complete:n??void 0};else{let o;this&&So.useDeprecatedNextContext?(o=Object.create(i),o.unsubscribe=()=>this.unsubscribe(),r={next:i.next&&LC(i.next,o),error:i.error&&LC(i.error,o),complete:i.complete&&LC(i.complete,o)}):r=i}this.destination=new jC(r)}};function Eg(t){So.useDeprecatedSynchronousErrorHandling?KA(t):Mg(t)}function _4(t){throw t}function VC(t,i){let{onStoppedNotification:e}=So;e&&Ud.setTimeout(()=>e(t,i))}var v4={closed:!0,next:To,error:_4,complete:To};var zd=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ji(t){return t}function BC(...t){return UC(t)}function UC(t){return t.length===0?ji:t.length===1?t[0]:function(e){return t.reduce((n,r)=>r(n),e)}}var De=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let n=new t;return n.source=this,n.operator=e,n}subscribe(e,n,r){let o=b4(e)?e:new Io(e,n,r);return Hd(()=>{let{operator:a,source:s}=this;o.add(a?a.call(o,s):s?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(n){e.error(n)}}forEach(e,n){return n=XA(n),new n((r,o)=>{let a=new Io({next:s=>{try{e(s)}catch(l){o(l),a.unsubscribe()}},error:o,complete:r});this.subscribe(a)})}_subscribe(e){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(e)}[zd](){return this}pipe(...e){return UC(e)(this)}toPromise(e){return e=XA(e),new e((n,r)=>{let o;this.subscribe(a=>o=a,a=>r(a),()=>n(o))})}}return t.create=i=>new t(i),t})();function XA(t){var i;return(i=t??So.Promise)!==null&&i!==void 0?i:Promise}function y4(t){return t&&He(t.next)&&He(t.error)&&He(t.complete)}function b4(t){return t&&t instanceof sc||y4(t)&&Dg(t)}function C4(t){return He(t?.lift)}function Oe(t){return i=>{if(C4(i))return i.lift(function(e){try{return t(e,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function Me(t,i,e,n,r){return new lf(t,i,e,n,r)}var lf=class extends sc{constructor(i,e,n,r,o,a){super(i),this.onFinalize=o,this.shouldUnsubscribe=a,this._next=e?function(s){try{e(s)}catch(l){i.error(l)}}:super._next,this._error=r?function(s){try{r(s)}catch(l){i.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(s){i.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var i;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((i=this.onFinalize)===null||i===void 0||i.call(this))}}};var $d={schedule(t){let i=requestAnimationFrame,e=cancelAnimationFrame,{delegate:n}=$d;n&&(i=n.requestAnimationFrame,e=n.cancelAnimationFrame);let r=i(o=>{e=void 0,t(o)});return new Re(()=>e?.(r))},requestAnimationFrame(...t){let{delegate:i}=$d;return(i?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:i}=$d;return(i?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var JA=el(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var V=(()=>{class t extends De{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let n=new Sg(this,this);return n.operator=e,n}_throwIfClosed(){if(this.closed)throw new JA}next(e){Hd(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(e)}})}error(e){Hd(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:n}=this;for(;n.length;)n.shift().error(e)}})}complete(){Hd(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:n,isStopped:r,observers:o}=this;return n||r?PC:(this.currentObservers=null,o.push(e),new Re(()=>{this.currentObservers=null,oc(o,e)}))}_checkFinalizedStatuses(e){let{hasError:n,thrownError:r,isStopped:o}=this;n?e.error(r):o&&e.complete()}asObservable(){let e=new De;return e.source=this,e}}return t.create=(i,e)=>new Sg(i,e),t})(),Sg=class extends V{constructor(i,e){super(),this.destination=i,this.source=e}next(i){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.next)===null||n===void 0||n.call(e,i)}error(i){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.error)===null||n===void 0||n.call(e,i)}complete(){var i,e;(e=(i=this.destination)===null||i===void 0?void 0:i.complete)===null||e===void 0||e.call(i)}_subscribe(i){var e,n;return(n=(e=this.source)===null||e===void 0?void 0:e.subscribe(i))!==null&&n!==void 0?n:PC}};var pt=class extends V{constructor(i){super(),this._value=i}get value(){return this.getValue()}_subscribe(i){let e=super._subscribe(i);return!e.closed&&i.next(this._value),e}getValue(){let{hasError:i,thrownError:e,_value:n}=this;if(i)throw e;return this._throwIfClosed(),n}next(i){super.next(this._value=i)}};var cf={now(){return(cf.delegate||Date).now()},delegate:void 0};var Ao=class extends V{constructor(i=1/0,e=1/0,n=cf){super(),this._bufferSize=i,this._windowTime=e,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,i),this._windowTime=Math.max(1,e)}next(i){let{isStopped:e,_buffer:n,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:a}=this;e||(n.push(i),!r&&n.push(o.now()+a)),this._trimBuffer(),super.next(i)}_subscribe(i){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(i),{_infiniteTimeWindow:n,_buffer:r}=this,o=r.slice();for(let a=0;a<o.length&&!i.closed;a+=n?1:2)i.next(o[a]);return this._checkFinalizedStatuses(i),e}_trimBuffer(){let{_bufferSize:i,_timestampProvider:e,_buffer:n,_infiniteTimeWindow:r}=this,o=(r?1:2)*i;if(i<1/0&&o<n.length&&n.splice(0,n.length-o),!r){let a=e.now(),s=0;for(let l=1;l<n.length&&n[l]<=a;l+=2)s=l;s&&n.splice(0,s+1)}}};var Tg=class extends Re{constructor(i,e){super()}schedule(i,e=0){return this}};
vendor: 6,737 bytes, line 3
3var df={setInterval(t,i,...e){let{delegate:n}=df;return n?.setInterval?n.setInterval(t,i,...e):setInterval(t,i,...e)},clearInterval(t){let{delegate:i}=df;return(i?.clearInterval||clearInterval)(t)},delegate:void 0};var _a=class extends Tg{constructor(i,e){super(i,e),this.scheduler=i,this.work=e,this.pending=!1}schedule(i,e=0){var n;if(this.closed)return this;this.state=i;let r=this.id,o=this.scheduler;return r!=null&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(o,this.id,e),this}requestAsyncId(i,e,n=0){return df.setInterval(i.flush.bind(i,this),n)}recycleAsyncId(i,e,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return e;e!=null&&df.clearInterval(e)}execute(i,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(i,e);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(i,e){let n=!1,r;try{this.work(i)}catch(o){n=!0,r=o||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){let{id:i,scheduler:e}=this,{actions:n}=e;this.work=this.state=this.scheduler=null,this.pending=!1,oc(n,this),i!=null&&(this.id=this.recycleAsyncId(e,i,null)),this.delay=null,super.unsubscribe()}}};var w4=1,HC,zC={};function e1(t){return t in zC?(delete zC[t],!0):!1}var t1={setImmediate(t){let i=w4++;return zC[i]=!0,HC||(HC=Promise.resolve()),HC.then(()=>e1(i)&&t()),i},clearImmediate(t){e1(t)}};var{setImmediate:x4,clearImmediate:D4}=t1,uf={setImmediate(...t){let{delegate:i}=uf;return(i?.setImmediate||x4)(...t)},clearImmediate(t){let{delegate:i}=uf;return(i?.clearImmediate||D4)(t)},delegate:void 0};var Ig=class extends _a{constructor(i,e){super(i,e),this.scheduler=i,this.work=e}requestAsyncId(i,e,n=0){return n!==null&&n>0?super.requestAsyncId(i,e,n):(i.actions.push(this),i._scheduled||(i._scheduled=uf.setImmediate(i.flush.bind(i,void 0))))}recycleAsyncId(i,e,n=0){var r;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(i,e,n);let{actions:o}=i;e!=null&&((r=o[o.length-1])===null||r===void 0?void 0:r.id)!==e&&(uf.clearImmediate(e),i._scheduled===e&&(i._scheduled=void 0))}};var Wd=class t{constructor(i,e=t.now){this.schedulerActionCtor=i,this.now=e}schedule(i,e=0,n){return new this.schedulerActionCtor(this,i).schedule(n,e)}};Wd.now=cf.now;var va=class extends Wd{constructor(i,e=Wd.now){super(i,e),this.actions=[],this._active=!1}flush(i){let{actions:e}=this;if(this._active){e.push(i);return}let n;this._active=!0;do if(n=i.execute(i.state,i.delay))break;while(i=e.shift());if(this._active=!1,n){for(;i=e.shift();)i.unsubscribe();throw n}}};var Ag=class extends va{flush(i){this._active=!0;let e=this._scheduled;this._scheduled=void 0;let{actions:n}=this,r;i=i||n.shift();do if(r=i.execute(i.state,i.delay))break;while((i=n[0])&&i.id===e&&n.shift());if(this._active=!1,r){for(;(i=n[0])&&i.id===e&&n.shift();)i.unsubscribe();throw r}}};var kg=new Ag(Ig);var ko=new va(_a),n1=ko;var Og=class extends _a{constructor(i,e){super(i,e),this.scheduler=i,this.work=e}schedule(i,e=0){return e>0?super.schedule(i,e):(this.delay=e,this.state=i,this.scheduler.flush(this),this)}execute(i,e){return e>0||this.closed?super.execute(i,e):this._execute(i,e)}requestAsyncId(i,e,n=0){return n!=null&&n>0||n==null&&this.delay>0?super.requestAsyncId(i,e,n):(i.flush(this),0)}};var Ng=class extends va{};var hf=new Ng(Og);var Rg=class extends _a{constructor(i,e){super(i,e),this.scheduler=i,this.work=e}requestAsyncId(i,e,n=0){return n!==null&&n>0?super.requestAsyncId(i,e,n):(i.actions.push(this),i._scheduled||(i._scheduled=$d.requestAnimationFrame(()=>i.flush(void 0))))}recycleAsyncId(i,e,n=0){var r;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(i,e,n);let{actions:o}=i;e!=null&&e===i._scheduled&&((r=o[o.length-1])===null||r===void 0?void 0:r.id)!==e&&($d.cancelAnimationFrame(e),i._scheduled=void 0)}};var Pg=class extends va{flush(i){this._active=!0;let e;i?e=i.id:(e=this._scheduled,this._scheduled=void 0);let{actions:n}=this,r;i=i||n.shift();do if(r=i.execute(i.state,i.delay))break;while((i=n[0])&&i.id===e&&n.shift());if(this._active=!1,r){for(;(i=n[0])&&i.id===e&&n.shift();)i.unsubscribe();throw r}}};var Fg=new Pg(Rg);var an=new De(t=>t.complete());function Lg(t){return t&&He(t.schedule)}function $C(t){return t[t.length-1]}function qd(t){return He($C(t))?t.pop():void 0}function ya(t){return Lg($C(t))?t.pop():void 0}function i1(t,i){return typeof $C(t)=="number"?t.pop():i}function o1(t,i,e,n){function r(o){return o instanceof e?o:new e(function(a){a(o)})}return new(e||(e=Promise))(function(o,a){function s(u){try{c(n.next(u))}catch(h){a(h)}}function l(u){try{c(n.throw(u))}catch(h){a(h)}}function c(u){u.done?o(u.value):r(u.value).then(s,l)}c((n=n.apply(t,i||[])).next())})}function r1(t){var i=typeof Symbol=="function"&&Symbol.iterator,e=i&&t[i],n=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")}function lc(t){return this instanceof lc?(this.v=t,this):new lc(t)}function a1(t,i,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e.apply(t,i||[]),r,o=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",a),r[Symbol.asyncIterator]=function(){return this},r;function a(p){return function(b){return Promise.resolve(b).then(p,h)}}function s(p,b){n[p]&&(r[p]=function(D){return new Promise(function(A,k){o.push([p,D,A,k])>1||l(p,D)})},b&&(r[p]=b(r[p])))}function l(p,b){try{c(n[p](b))}catch(D){m(o[0][3],D)}}function c(p){p.value instanceof lc?Promise.resolve(p.value.v).then(u,h):m(o[0][2],p)}function u(p){l("next",p)}function h(p){l("throw",p)}function m(p,b){p(b),o.shift(),o.length&&l(o[0][0],o[0][1])}}function s1(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=t[Symbol.asyncIterator],e;return i?i.call(t):(t=typeof r1=="function"?r1(t):t[Symbol.iterator](),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(o){e[o]=t[o]&&function(a){return new Promise(function(s,l){a=t[o](a),r(s,l,a.done,a.value)})}}function r(o,a,s,l){Promise.resolve(l).then(function(c){o({value:c,done:s})},a)}}var Gd=t=>t&&typeof t.length=="number"&&typeof t!="function";function Vg(t){return He(t?.then)}function jg(t){return He(t[zd])}function Bg(t){return Symbol.asyncIterator&&He(t?.[Symbol.asyncIterator])}function Ug(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invali
3d object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function M4(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Hg=M4();function zg(t){return He(t?.[Hg])}function $g(t){return a1(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:n,done:r}=yield lc(e.read());if(r)return yield lc(void 0);yield yield lc(n)}}finally{e.releaseLock()}})}function Wg(t){return He(t?.getReader)}function rt(t){if(t instanceof De)return t;if(t!=null){if(jg(t))return E4(t);if(Gd(t))return S4(t);if(Vg(t))return T4(t);if(Bg(t))return l1(t);if(zg(t))return I4(t);if(Wg(t))return A4(t)}throw Ug(t)}function E4(t){return new De(i=>{let e=t[zd]();if(He(e.subscribe))return e.subscribe(i);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function S4(t){return new De(i=>{for(let e=0;e<t.length&&!i.closed;e++)i.next(t[e]);i.complete()})}function T4(t){return new De(i=>{t.then(e=>{i.closed||(i.next(e),i.complete())},e=>i.error(e)).then(null,Mg)})}function I4(t){return new De(i=>{for(let e of t)if(i.next(e),i.closed)return;i.complete()})}function l1(t){return new De(i=>{k4(t,i).catch(e=>i.error(e))})}function A4(t){return l1($g(t))}function k4(t,i){var e,n,r,o;return o1(this,void 0,void 0,function*(){try{for(e=s1(t);n=yield e.next(),!n.done;){let a=n.value;if(i.next(a),i.closed)return}}catch(a){r={error:a}}finally{try{n&&!n.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}i.complete()})}function wi(t,i,e,n=0,r=!1){let o=i.schedule(function(){e(),r?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!r)return o}function us(t,i=0){return Oe((e,n)=>{e.subscribe(Me(n,r=>wi(n,t,()=>n.next(r),i),()=>wi(n,t,()=>n.complete(),i),r=>wi(n,t,()=>n.error(r),i)))})}function qg(t,i=0){return Oe((e,n)=>{n.add(t.schedule(()=>e.subscribe(n),i))})}function c1(t,i){return rt(t).pipe(qg(i),us(i))}function d1(t,i){return rt(t).pipe(qg(i),us(i))}function u1(t,i){return new De(e=>{let n=0;return i.schedule(function(){n===t.length?e.complete():(e.next(t[n++]),e.closed||this.schedule())})})}function h1(t,i){return new De(e=>{let n;return wi(e,i,()=>{n=t[Hg](),wi(e,i,()=>{let r,o;try{({value:r,done:o}=n.next())}catch(a){e.error(a);return}o?e.complete():e.next(r)},0,!0)}),()=>He(n?.return)&&n.return()})}function Gg(t,i){if(!t)throw new Error("Iterable cannot be null");return new De(e=>{wi(e,i,()=>{let n=t[Symbol.asyncIterator]();wi(e,i,()=>{n.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function f1(t,i){return Gg($g(t),i)}function m1(t,i){if(t!=null){if(jg(t))return c1(t,i);if(Gd(t))return u1(t,i);if(Vg(t))return d1(t,i);if(Bg(t))return Gg(t,i);if(zg(t))return h1(t,i);if(Wg(t))return f1(t,i)}throw Ug(t)}function jt(t,i){return i?m1(t,i):rt(t)}function K(...t){let i=ya(t);return jt(t,i)}function xr(t,i){let e=He(t)?t:()=>t,n=r=>r.error(e());return new De(i?r=>i.schedule(n,0,r):n)}var tl=class t{constructor(i,e,n){this.kind=i,this.value=e,this.error=n,this.hasValue=i==="N"}observe(i){return WC(this,i)}do(i,e,n){let{kind:r,value:o,error:a}=this;return r==="N"?i?.(o):r==="E"?e?.(a):n?.()}accept(i,e,n){var r;return He((r=i)===null||r===void 0?void 0:r.next)?this.observe(i):this.do(i,e,n)}toObservable(){let{kind:i,value:e,error:n}=this,r=i==="N"?K(e):i==="E"?xr(()=>n):i==="C"?an:0;if(!r)throw new TypeError(`Unexpected notification kind ${i}`);return r}static createNext(i){return new t("N",i)}static createError(i){return new t("E",void 0,i)}static createComplete(){return t.completeNotification}};tl.completeNotification=new tl("C");function WC(t,i){var e,n,r;let{kind:o,value:a,error:s}=t;if(typeof o!="string")throw new TypeError('Invalid notification, missing "kind"');o==="N"?(e=i.next)===null||e===void 0||e.call(i,a):o==="E"?(n=i.error)===null||n===void 0||n.call(i,s):(r=i.complete)===null||r===void 0||r.call(i)}function ff(t){return!!t&&(t instanceof De||He(t.lift)&&He(t.subscribe))}var hs=el(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function mf(t,i){let e=typeof i=="object";return new Promise((n,r)=>{let o=new Io({next:a=>{n(a),o.unsubscribe()},error:r,complete:()=>{e?n(i.defaultValue):r(new hs)}});t.subscribe(o)})}function Yg(t){return t instanceof Date&&!isNaN(t)}var O4=el(t=>function(e=null){t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=e});function pf(t,i){let{first:e,each:n,with:r=N4,scheduler:o=i??ko,meta:a=null}=Yg(t)?{first:t}:typeof t=="number"?{each:t}:t;if(e==null&&n==null)throw new TypeError("No timeout provided.");return Oe((s,l)=>{let c,u,h=null,m=0,p=b=>{u=wi(l,o,()=>
vendor: 8,507 bytes, line 3
3{try{c.unsubscribe(),rt(r({meta:a,lastValue:h,seen:m})).subscribe(l)}catch(D){l.error(D)}},b)};c=s.subscribe(Me(l,b=>{u?.unsubscribe(),m++,l.next(h=b),n>0&&p(n)},void 0,void 0,()=>{u?.closed||u?.unsubscribe(),h=null})),!m&&p(e!=null?typeof e=="number"?e:+e-o.now():n)})}function N4(t){throw new O4(t)}function X(t,i){return Oe((e,n)=>{let r=0;e.subscribe(Me(n,o=>{n.next(t.call(i,o,r++))}))})}var{isArray:R4}=Array;function P4(t,i){return R4(i)?t(...i):t(i)}function Yd(t){return X(i=>P4(t,i))}var{isArray:F4}=Array,{getPrototypeOf:L4,prototype:V4,keys:j4}=Object;function Qg(t){if(t.length===1){let i=t[0];if(F4(i))return{args:i,keys:null};if(B4(i)){let e=j4(i);return{args:e.map(n=>i[n]),keys:e}}}return{args:t,keys:null}}function B4(t){return t&&typeof t=="object"&&L4(t)===V4}function Zg(t,i){return t.reduce((e,n,r)=>(e[n]=i[r],e),{})}function nl(...t){let i=ya(t),e=qd(t),{args:n,keys:r}=Qg(t);if(n.length===0)return jt([],i);let o=new De(U4(n,i,r?a=>Zg(r,a):ji));return e?o.pipe(Yd(e)):o}function U4(t,i,e=ji){return n=>{p1(i,()=>{let{length:r}=t,o=new Array(r),a=r,s=r;for(let l=0;l<r;l++)p1(i,()=>{let c=jt(t[l],i),u=!1;c.subscribe(Me(n,h=>{o[l]=h,u||(u=!0,s--),s||n.next(e(o.slice()))},()=>{--a||n.complete()}))},n)},n)}}function p1(t,i,e){t?wi(e,t,i):i()}function g1(t,i,e,n,r,o,a,s){let l=[],c=0,u=0,h=!1,m=()=>{h&&!l.length&&!c&&i.complete()},p=D=>c<n?b(D):l.push(D),b=D=>{o&&i.next(D),c++;let A=!1;rt(e(D,u++)).subscribe(Me(i,k=>{r?.(k),o?p(k):i.next(k)},()=>{A=!0},void 0,()=>{if(A)try{for(c--;l.length&&c<n;){let k=l.shift();a?wi(i,a,()=>b(k)):b(k)}m()}catch(k){i.error(k)}}))};return t.subscribe(Me(i,p,()=>{h=!0,m()})),()=>{s?.()}}function Ct(t,i,e=1/0){return He(i)?Ct((n,r)=>X((o,a)=>i(n,o,r,a))(rt(t(n,r))),e):(typeof i=="number"&&(e=i),Oe((n,r)=>g1(n,r,t,e)))}function ba(t=1/0){return Ct(ji,t)}function _1(){return ba(1)}function Ca(...t){return _1()(jt(t,ya(t)))}function Oo(t){return new De(i=>{rt(t()).subscribe(i)})}function cc(...t){let i=qd(t),{args:e,keys:n}=Qg(t),r=new De(o=>{let{length:a}=e;if(!a){o.complete();return}let s=new Array(a),l=a,c=a;for(let u=0;u<a;u++){let h=!1;rt(e[u]).subscribe(Me(o,m=>{h||(h=!0,c--),s[u]=m},()=>l--,void 0,()=>{(!l||!h)&&(c||o.next(n?Zg(n,s):s),o.complete())}))}});return i?r.pipe(Yd(i)):r}var H4=["addListener","removeListener"],z4=["addEventListener","removeEventListener"],$4=["on","off"];function il(t,i,e,n){if(He(e)&&(n=e,e=void 0),n)return il(t,i,e).pipe(Yd(n));let[r,o]=G4(t)?z4.map(a=>s=>t[a](i,s,e)):W4(t)?H4.map(v1(t,i)):q4(t)?$4.map(v1(t,i)):[];if(!r&&Gd(t))return Ct(a=>il(a,i,e))(rt(t));if(!r)throw new TypeError("Invalid event target");return new De(a=>{let s=(...l)=>a.next(1<l.length?l:l[0]);return r(s),()=>o(s)})}function v1(t,i){return e=>n=>t[e](i,n)}function W4(t){return He(t.addListener)&&He(t.removeListener)}function q4(t){return He(t.on)&&He(t.off)}function G4(t){return He(t.addEventListener)&&He(t.removeEventListener)}function fs(t=0,i,e=n1){let n=-1;return i!=null&&(Lg(i)?e=i:n=i),new De(r=>{let o=Yg(t)?+t-e.now():t;o<0&&(o=0);let a=0;return e.schedule(function(){r.closed||(r.next(a++),0<=n?this.schedule(void 0,n):r.complete())},o)})}function qt(...t){let i=ya(t),e=i1(t,1/0),n=t;return n.length?n.length===1?rt(n[0]):ba(e)(jt(n,i)):an}var gf=new De(To);var{isArray:Y4}=Array;function y1(t){return t.length===1&&Y4(t[0])?t[0]:t}function J(t,i){return Oe((e,n)=>{let r=0;e.subscribe(Me(n,o=>t.call(i,o,r++)&&n.next(o)))})}function qC(...t){return t=y1(t),t.length===1?rt(t[0]):new De(Q4(t))}function Q4(t){return i=>{let e=[];for(let n=0;e&&!i.closed&&n<t.length;n++)e.push(rt(t[n]).subscribe(Me(i,r=>{if(e){for(let o=0;o<e.length;o++)o!==n&&e[o].unsubscribe();e=null}i.next(r)})))}}function b1(t){return Oe((i,e)=>{let n=!1,r=null,o=null,a=!1,s=()=>{if(o?.unsubscribe(),o=null,n){n=!1;let c=r;r=null,e.next(c)}a&&e.complete()},l=()=>{o=null,a&&e.complete()};i.subscribe(Me(e,c=>{n=!0,r=c,o||rt(t(c)).subscribe(o=Me(e,s,l))},()=>{a=!0,(!n||!o||o.closed)&&e.complete()}))})}function dc(t,i=ko){return b1(()=>fs(t,i))}function Rt(t){return Oe((i,e)=>{let n=null,r=!1,o;n=i.subscribe(Me(e,void 0,void 0,a=>{o=rt(t(a,Rt(t)(i))),n?(n.unsubscribe(),n=null,o.subscribe(e)):r=!0})),r&&(n.unsubscribe(),n=null,o.subscribe(e))})}function C1(t,i,e,n,r){return(o,a)=>{let s=e,l=i,c=0;o.subscribe(Me(a,u=>{let h=c++;l=s?t(l,u,h):(s=!0,u),n&&a.next(l)},r&&(()=>{s&&a.next(l),a.complete()})))}}function Bi(t,i){return He(i)?Ct(t,i,1):Ct(t,1)}function ii(t,i=ko){return Oe((e,n)=>{let r=null,o=null,a=null,s=()=>{if(r){r.unsubscribe(),r=null;let c=o;o=null,n.next(c)}};function l(){let c=a+t,u=i.now();if(u<c){r=this.schedule(void 0,c-u),n.add(r);return}s()}e.subscribe(Me(n,c=>{o=c,a=i.now(),r||(r=i.schedule(l,t),n.add(r))},()=>{s(),n.complete()},void 0,()=>{o=r=null}))})}function w1(t){return Oe((i,e)=>{let n=!1;i.subscribe(Me(e,r=>{n=!0,e.next(r)},()=>{n||e.next(t),e.complete()}))})}function Fe(t){return t<=0?()=>an:Oe((i,e)=>{let n=0;i.subscribe(Me(e,r=>{++n<=t&&(e.next(r),t<=n&&e.complete())}))})}function _f(){return Oe((t,i)=>{t.subscribe(Me(i,To))})}function rl(t){return X(()=>t)}function GC(t,i){return i?e=>Ca(i.pipe(Fe(1),_f()),e.pipe(GC(t))):Ct((e,n)=>rt(t(e,n)).pipe(Fe(1),rl(e)))}function wa(t,i=ko){let e=fs(t,i);return GC(()=>e)}function YC(){return Oe((t,i)=>{t.subscribe(Me(i,e=>WC(e,i)))})}function Dr(t,i=ji){return t=t??Z4,Oe((e,n)=>{let r,o=!0;e.subscribe(Me(n,a=>{let s=i(a);(o||!t(r,s))&&(o=!1,r=s,n.next(a))}))})}function Z4(t,i){return t===i}function x1(t=K4){return Oe((i,e)=>{let n=!1;i.subscribe(Me(e,r=>{n=!0,e.next(r)},()=>n?e.complete():e.error(t())))})}function K4(){return new hs}function uc(t,i){return i?e=>e.pipe(uc((n,r)=>rt(t(n,r)).pipe(X((o,a)=>i(n,o,r,a))))):Oe((e,n)=>{let r=0,o=null,a=!1;e.subscribe(Me(n,s=>{o||(o=Me(n,void 0,()=>{o=null,a&&n.complete()}),rt(t(s,r++)).subscribe(o))},()=>{a=!0,!o&&n.complete()}))})}function ms(t){return Oe((i,e)=>{try{i.subscribe(e)}finally{e.add(t)}})}function Mr(t,i){let e=arguments.length>=2;return n=>n.pipe(t?J((r,o)=>t(r,o,n)):ji,Fe(1),e?w1(i):x1(()=>new hs))}function Kg(t,i,e,n){return Oe((r,o)=>{let a;!i||typeof i=="function"?a=i:{duration:e,element:a,connector:n}=i;let s=new Map,l=b=>{s.forEach(b),b(o)},c=b=>l(D=>D.error(b)),u=0,h=!1,m=new lf(o,b=>{try{let D=t(b),A=s.get(D);if(!A){s.set(D,A=n?n():new V);let k=p(D,A);if(o.next(k),e){let L=Me(A,()=>{A.complete(),L?.unsubscribe()},void 0,void 0,()=>s.delete(D));m.add(rt(e(k)).subscribe(L))}}A.next(a?a(b):b)}catch(D){c(D)}},()=>l(b=>b.complete()),c,()=>s.clear(),()=>(h=!0,u===0));r.subscribe(m);function p(b,D){let A=new De(k=>{u++;let L=D.subscribe(k);return()=>{L.unsubscribe(),--u===0&&h&&m.unsubscribe()}});return A.key=b,A}})}function Xg(t){return t<=0?()=>an:Oe((i,e)=>{let n=[];i.subscribe(Me(e,r=>{n.push(r),t<n.length&&n.shift()},()=>{for(let r of n)e.next(r);e.complete()},void 0,()=>{n=null}))})}function QC(){return Oe((t,i)=>{t.subscribe(Me(i,e=>{i.next(tl.createNext(e))},()=>{i.next(tl.createComplete()),i.complete()},e=>{i.next(tl.createError(e)),i.complete()}))})}function Jg(){return Oe((t,i)=>{let e,n=!1;t.subscribe(Me(i,r=>{let o=e;e=r,n&&i.next([o,r]),n=!0}))})}function ZC(...t){let i=t.length;if(i===0)throw new Error("list of properties cannot be empty.");return X(e=>{let n=e;for(let r=0;r<i;r++){let o=n?.[t[r]];if(typeof o<"u")n=o;else return}return n})}function vf(t,i){return Oe(C1(t,i,arguments.length>=2,!0))}function yf(t={}){let{connector:i=()=>new V,resetOnError:e=!0,resetOnComplete:n=!0,resetOnRefCountZero:r=!0}=t;return o=>{let a,s,l,c=0,u=!1,h=!1,m=()=>{s?.unsubscribe(),s=void 0},p=()=>{m(),a=l=void 0,u=h=!1},b=()=>{let D=a;p(),D?.unsubscribe()};return Oe((D,A)=>{c++,!h&&!u&&m();let k=l=l??i();A.add(()=>{c--,c===0&&!h&&!u&&(s=KC(b,r))}),k.subscribe(A),!a&&c>0&&(a=new Io({next:L=>k.next(L),error:L=>{h=!0,m(),s=KC(p,e,L),k.error(L)},complete:()=>{u=!0,m(),s=KC(p,n),k.complete()}}),rt(D).subscribe(a))})(o)}}function KC(t,i,...e){if(i===!0){t();return}if(i===!1)return;let n=new Io({next:()=>{n.unsubscribe(),t()}});return rt(i(...e)).subscribe(n)}function Qd(t,i,e){let n,r=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:i=1/0,refCount:r=!1,scheduler:e}=t:n=t??1/0,yf({connector:()=>new Ao(n,i,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function ps(t){return J((i,e)=>t<=e)}function Ot(...t){let i=ya(t);return Oe((e,n)=>{(i?Ca(t,e,i):Ca(t,e)).subscribe(n)})}function lt(t,i){return Oe((e,n)=>{let r=null,o=0,a=!1,s=()=>a&&!r&&n.complete();e.subscribe(Me(n,l=>{r?.unsubscribe();let c=0,u=o++;
3rt(t(l,u)).subscribe(r=Me(n,h=>n.next(i?i(l,h,u,c++):h),()=>{r=null,s()}))},()=>{a=!0,s()}))})}function Ee(t){return Oe((i,e)=>{rt(t).subscribe(Me(e,()=>e.complete(),To)),!e.closed&&i.subscribe(e)})}function bf(t,i=!1){return Oe((e,n)=>{let r=0;e.subscribe(Me(n,o=>{let a=t(o,r++);(a||i)&&n.next(o),!a&&n.complete()}))})}function vt(t,i,e){let n=He(t)||i||e?{next:t,error:i,complete:e}:t;return n?Oe((r,o)=>{var a;(a=n.subscribe)===null||a===void 0||a.call(n);let s=!0;r.subscribe(Me(o,l=>{var c;(c=n.next)===null||c===void 0||c.call(n,l),o.next(l)},()=>{var l;s=!1,(l=n.complete)===null||l===void 0||l.call(n),o.complete()},l=>{var c;s=!1,(c=n.error)===null||c===void 0||c.call(n,l),o.error(l)},()=>{var l,c;s&&((l=n.unsubscribe)===null||l===void 0||l.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):ji}function D1(t,i){return Oe((e,n)=>{let{leading:r=!0,trailing:o=!1}=i??{},a=!1,s=null,l=null,c=!1,u=()=>{l?.unsubscribe(),l=null,o&&(p(),c&&n.complete())},h=()=>{l=null,c&&n.complete()},m=b=>l=rt(t(b)).subscribe(Me(n,u,h)),p=()=>{if(a){a=!1;let b=s;s=null,n.next(b),!c&&m(b)}};e.subscribe(Me(n,b=>{a=!0,s=b,!(l&&!l.closed)&&(r?p():m(b))},()=>{c=!0,!(o&&a&&l&&!l.closed)&&n.complete()}))})}function XC(t,i=ko,e){let n=fs(t,i);return D1(()=>n,e)}function xa(...t){let i=qd(t);return Oe((e,n)=>{let r=t.length,o=new Array(r),a=t.map(()=>!1),s=!1;for(let l=0;l<r;l++)rt(t[l]).subscribe(Me(n,c=>{o[l]=c,!s&&!a[l]&&(a[l]=!0,(s=a.every(ji))&&(a=null))},To));e.subscribe(Me(n,l=>{if(s){let c=[l,...o];n.next(i?i(...c):c)}}))})}var JC;function e_(){return JC}function Da(t){let i=JC;return JC=t,i}var M1=Symbol("NotFound");function Zd(t){return t===M1||t?.name==="\u0275NotFound"}function ew(t,i,e){let n=Object.create(X4);n.source=t,n.computation=i,e!=null&&(n.equal=e);let o=()=>{if(rc(n),cs(n),n.value===ga)throw n.error;return n.value};return o[Tn]=n,rf(n),o}function E1(t,i){rc(t),Js(t,i),Vd(t)}function S1(t,i){if(rc(t),t.value===ga)throw t.error;wg(t,i),Vd(t)}var X4=Y(x({},Zs),{value:nc,dirty:!0,error:null,equal:of,kind:"linkedSignal",producerMustRecompute(t){return t.value===nc||t.value===ic},producerRecomputeValue(t){if(t.value===ic)throw new Error("");let i=t.value;t.value=ic;let e=ds(t),n,r=!1;try{let o=t.source(),a=i!==nc&&i!==ga,s=a?{source:t.sourceValue,value:i}:void 0;n=t.computation(o,s),t.sourceValue=o,Le(null),r=a&&n!==ga&&t.equal(i,n)}catch(o){n=ga,t.error=o}finally{Ks(t,e)}if(r){t.value=i;return}t.value=n,t.version++}});function T1(t){let i=Le(null);try{return t()}finally{Le(i)}}var s_="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",$=class extends Error{code;constructor(i,e){super(Qr(i,e)),this.code=i}};function J4(t){return`NG0${Math.abs(t)}`}function Qr(t,i){return`${J4(t)}${i?": "+i:""}`}var Zr=globalThis;function Gt(t){for(let i in t)if(t[i]===Gt)return i;throw Error("")}function N1(t,i){for(let e in i)i.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=i[e])}function Sf(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(Sf).join(", ")}]`;if(t==null)return""+t;let i=t.overriddenName||t.name;if(i)return`${i}`;let e=t.toString();if(e==null)return""+e;let n=e.indexOf(` 4`);return n>=0?e.slice(0,n):e}function l_(t,i){return t?i?`${t} ${i}`:t:i||""}var ez=Gt({__forward_ref__:Gt});function vn(t){return t.__forward_ref__=vn,t}function qn(t){return mw(t)?t():t}function mw(t){return typeof t=="function"&&t.hasOwnProperty(ez)&&t.__forward_ref__===vn}function M(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function q(t){return{providers:t.providers||[],imports:t.imports||[]}}function Tf(t){return tz(t,c_)}function pw(t){return Tf(t)!==null}function tz(t,i){return t.hasOwnProperty(i)&&t[i]||null}function nz(t){let i=t?.[c_]??null;return i||null}function nw(t){return t&&t.hasOwnProperty(n_)?t[n_]:null}var c_=Gt({\u0275prov:Gt}),n_=Gt({\u0275inj:Gt}),T=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(i,e){this._desc=i,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=M({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function gw(t){return t&&!!t.\u0275providers}var If=Gt({\u0275cmp:Gt}),Af=Gt({\u0275dir:Gt}),_w=Gt({\u0275pipe:Gt}),vw=Gt({\u0275mod:Gt}),wf=Gt({\u0275fac:Gt}),gc=Gt({__NG_ELEMENT_ID__:Gt}),I1=Gt({__NG_ENV_ID__:Gt});function yw(t){return u_(t,"@NgModule"),t[vw]||null}function Ma(t){return u_(t,"@Component"),t[If]||null}function d_(t){return u_(t,"@Directive"),t[Af]||null}function R1(t){return u_(t,"@Pipe"),t[_w]||null}function u_(t,i){if(t==null)throw new $(-919,!1)}function Ro(t){return typeof t=="string"?t:t==null?"":String(t)}var P1=Gt({ngErrorCode:Gt}),iz=Gt({ngErrorMessage:Gt}),rz=Gt({ngTokenPath:Gt});function bw(t,i){return F1("",-200,i)}function h_(t,i){throw new $(-201,!1)}function F1(t,i,e){let n=new $(i,t);return n[P1]=i,n[iz]=t,e&&(n[rz]=e),n}function oz(t){return t[P1]}var iw;function L1(){return iw}function Ui(t){let i=iw;return iw=t,i}function Cw(t,i,e){let n=Tf(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(e&8)return null;if(i!==void 0)return i;h_(t,"")}var az={},hc=az,rw="__NG_DI_FLAG__",ow=class{injector;constructor(i){this.injector=i}retrieve(i,e){let n=fc(e)||0;try{return this.injector.get(i,n&8?null:hc,n)}catch(r){if(Zd(r))return r;throw r}}};function sz(t,i=0){let e=e_();if(e===void 0)throw new $(-203,!1);if(e===null)return Cw(t,void 0,i);{let n=lz(i),r=e.retrieve(t,n);if(Zd(r)){if(n.optional)return null;throw r}return r}}function j(t,i=0){return(L1()||sz)(qn(t),i)}function d(t,i){return j(t,fc(i))}function fc(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function lz(t){return{optional:!!(t&8),host:!!(t&1),self:!!(t&2),skipSelf:!!(t&4)}}function aw(t){let i=[];for(let e=0;e<t.length;e++){let n=qn(t[e]);if(Array.isArray(n)){if(n.length===0)throw new $(900,!1);let r,o=0;for(let a=0;a<n.length;a++){let s=n[a],l=cz(s);typeof l=="number"?l===-1?r=s.token:o|=l:r=s}i.push(j(r,o))}else i.push(j(n))}return i}function V1(t,i){return t[rw]=i,t.prototype[rw]=i,t}function cz(t){return t[rw]}function ol(t,i){let e=t.hasOwnProperty(wf);return e?t[wf]:null}function j1(t,i,e){if(t.length!==i.length)return!1;for(let n=0;n<t.length;n++){let r=t[n],o=i[n];if(e&&(r=e(r),o=e(o)),o!==r)return!1}return!0}function B1(t){return t.flat(Number.POSITIVE_INFINITY)}
vendor: 6,491 bytes, line 4
4function f_(t,i){t.forEach(e=>Array.isArray(e)?f_(e,i):i(e))}function ww(t,i,e){i>=t.length?t.push(e):t.splice(i,0,e)}function kf(t,i){return i>=t.length-1?t.pop():t.splice(i,1)[0]}function U1(t,i){let e=[];for(let n=0;n<t;n++)e.push(i);return e}function H1(t,i,e,n){let r=t.length;if(r==i)t.push(e,n);else if(r===1)t.push(n,t[0]),t[0]=e;else{for(r--,t.push(t[r-1],t[r]);r>i;){let o=r-2;t[r]=t[o],r--}t[i]=e,t[i+1]=n}}function m_(t,i,e){let n=Xd(t,i);return n>=0?t[n|1]=e:(n=~n,H1(t,n,i,e)),n}function p_(t,i){let e=Xd(t,i);if(e>=0)return t[e|1]}function Xd(t,i){return dz(t,i,1)}function dz(t,i,e){let n=0,r=t.length>>e;for(;r!==n;){let o=n+(r-n>>1),a=t[o<<e];if(i===a)return o<<e;a>i?r=o:n=o+1}return~(r<<e)}var Po={},xi=[],Ea=new T(""),xw=new T("",-1),Dw=new T(""),xf=class{get(i,e=hc){if(e===hc){let r=F1("",-201);throw r.name="\u0275NotFound",r}return e}};function ri(t){return{\u0275providers:t}}function _c(t){return ri([{provide:Ea,multi:!0,useValue:t}])}function g_(...t){return{\u0275providers:Mw(!0,t),\u0275fromNgModule:!0}}function Mw(t,...i){let e=[],n=new Set,r,o=a=>{e.push(a)};return f_(i,a=>{let s=a;i_(s,o,[],n)&&(r||=[],r.push(s))}),r!==void 0&&z1(r,o),e}function z1(t,i){for(let e=0;e<t.length;e++){let{ngModule:n,providers:r}=t[e];Ew(r,o=>{i(o,n)})}}function i_(t,i,e,n){if(t=qn(t),!t)return!1;let r=null,o=nw(t),a=!o&&Ma(t);if(!o&&!a){let l=t.ngModule;if(o=nw(l),o)r=l;else return!1}else{if(a&&!a.standalone)return!1;r=t}let s=n.has(r);if(a){if(s)return!1;if(n.add(r),a.dependencies){let l=typeof a.dependencies=="function"?a.dependencies():a.dependencies;for(let c of l)i_(c,i,e,n)}}else if(o){if(o.imports!=null&&!s){n.add(r);let c;f_(o.imports,u=>{i_(u,i,e,n)&&(c||=[],c.push(u))}),c!==void 0&&z1(c,i)}if(!s){let c=ol(r)||(()=>new r);i({provide:r,useFactory:c,deps:xi},r),i({provide:Dw,useValue:r,multi:!0},r),i({provide:Ea,useValue:()=>j(r),multi:!0},r)}let l=o.providers;if(l!=null&&!s){let c=t;Ew(l,u=>{i(u,c)})}}else return!1;return r!==t&&t.providers!==void 0}function Ew(t,i){for(let e of t)gw(e)&&(e=e.\u0275providers),Array.isArray(e)?Ew(e,i):i(e)}var uz=Gt({provide:String,useValue:Gt});function $1(t){return t!==null&&typeof t=="object"&&uz in t}function hz(t){return!!(t&&t.useExisting)}function fz(t){return!!(t&&t.useFactory)}function mc(t){return typeof t=="function"}function W1(t){return!!t.useClass}var Of=new T(""),t_={},A1={},tw;function Jd(){return tw===void 0&&(tw=new xf),tw}var Bt=class{},pc=class extends Bt{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(i,e,n,r){super(),this.parent=e,this.source=n,this.scopes=r,lw(i,a=>this.processProvider(a)),this.records.set(xw,Kd(void 0,this)),r.has("environment")&&this.records.set(Bt,Kd(void 0,this));let o=this.records.get(Of);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Dw,xi,{self:!0}))}retrieve(i,e){let n=fc(e)||0;try{return this.get(i,hc,n)}catch(r){if(Zd(r))return r;throw r}}destroy(){Cf(this),this._destroyed=!0;let i=Le(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of e)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Le(i)}}onDestroy(i){return Cf(this),this._onDestroyHooks.push(i),()=>this.removeOnDestroy(i)}runInContext(i){Cf(this);let e=Da(this),n=Ui(void 0),r;try{return i()}finally{Da(e),Ui(n)}}get(i,e=hc,n){if(Cf(this),i.hasOwnProperty(I1))return i[I1](this);let r=fc(n),o,a=Da(this),s=Ui(void 0);try{if(!(r&4)){let c=this.records.get(i);if(c===void 0){let u=vz(i)&&Tf(i);u&&this.injectableDefInScope(u)?c=Kd(sw(i),t_):c=null,this.records.set(i,c)}if(c!=null)return this.hydrate(i,c,r)}let l=r&2?Jd():this.parent;return e=r&8&&e===hc?null:e,l.get(i,e)}catch(l){let c=oz(l);throw c===-200||c===-201?new $(c,null):l}finally{Ui(s),Da(a)}}resolveInjectorInitializers(){let i=Le(null),e=Da(this),n=Ui(void 0),r;try{let o=this.get(Ea,xi,{self:!0});for(let a of o)a()}finally{Da(e),Ui(n),Le(i)}}toString(){return"R3Injector[...]"}processProvider(i){i=qn(i);let e=mc(i)?i:qn(i&&i.provide),n=pz(i);if(!mc(i)&&i.multi===!0){let r=this.records.get(e);r||(r=Kd(void 0,t_,!0),r.factory=()=>aw(r.multi),this.records.set(e,r)),e=i,r.multi.push(i)}this.records.set(e,n)}hydrate(i,e,n){let r=Le(null);try{if(e.value===A1)throw bw("");return e.value===t_&&(e.value=A1,e.value=e.factory(void 0,n)),typeof e.value=="object"&&e.value&&_z(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{Le(r)}}injectableDefInScope(i){if(!i.providedIn)return!1;let e=qn(i.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(i){let e=this._onDestroyHooks.indexOf(i);e!==-1&&this._onDestroyHooks.splice(e,1)}};function sw(t){let i=Tf(t),e=i!==null?i.factory:ol(t);if(e!==null)return e;if(t instanceof T)throw new $(-204,!1);if(t instanceof Function)return mz(t);throw new $(-204,!1)}function mz(t){if(t.length>0)throw new $(-204,!1);let e=nz(t);return e!==null?()=>e.factory(t):()=>new t}function pz(t){if($1(t))return Kd(void 0,t.useValue);{let i=Sw(t);return Kd(i,t_)}}function Sw(t,i,e){let n;if(mc(t)){let r=qn(t);return ol(r)||sw(r)}else if($1(t))n=()=>qn(t.useValue);else if(fz(t))n=()=>t.useFactory(...aw(t.deps||[]));else if(hz(t))n=(r,o)=>j(qn(t.useExisting),o!==void 0&&o&8?8:void 0);else{let r=qn(t&&(t.useClass||t.provide));if(gz(t))n=()=>new r(...aw(t.deps));else return ol(r)||sw(r)}return n}function Cf(t){if(t.destroyed)throw new $(-205,!1)}function Kd(t,i,e=!1){return{factory:t,value:i,multi:e?[]:void 0}}function gz(t){return!!t.deps}function _z(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function vz(t){return typeof t=="function"||typeof t=="object"&&t.ngMetadataName==="InjectionToken"}function lw(t,i){for(let e of t)Array.isArray(e)?lw(e,i):e&&gw(e)?lw(e.\u0275providers,i):i(e)}function Yn(t,i){let e;t instanceof pc?(Cf(t),e=t):e=new ow(t);let n,r=Da(e),o=Ui(void 0);try{return i()}finally{Da(r),Ui(o)}}function q1(){return L1()!==void 0||e_()!=null}var Fo=0,ze=1,Xe=2,Gn=3,Kr=4,Hi=5,vc=6,eu=7,In=8,_s=9,Lo=10,Jt=11,tu=12,Tw=13,yc=14,Di=15,ll=16,bc=17,Sa=18,vs=19,Iw=20,gs=21,__=22,al=23,Er=24,Cc=25,cl=26,mn=27,G1=1,Aw=6,dl=7,Nf=8,wc=9,An=10;function ys(t){return Array.isArray(t)&&typeof t[G1]=="object"}function Vo(t){return Array.isArray(t)&&t[G1]===!0}function kw(t){return(t.flags&4)!==0}
vendor: 4,847 bytes, line 4
4function Ta(t){return t.componentOffset>-1}function nu(t){return(t.flags&1)===1}function jo(t){return!!t.template}function iu(t){return(t[Xe]&512)!==0}function xc(t){return(t[Xe]&256)===256}var Ow="svg",Y1="math";function Xr(t){for(;Array.isArray(t);)t=t[Fo];return t}function Nw(t,i){return Xr(i[t])}function Jr(t,i){return Xr(i[t.index])}function v_(t,i){return t.data[i]}function Rf(t,i){return t[i]}function Rw(t,i,e,n){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),i[e]=n}function eo(t,i){let e=i[t];return ys(e)?e:e[Fo]}function Q1(t){return(t[Xe]&4)===4}function y_(t){return(t[Xe]&128)===128}function Z1(t){return Vo(t[Gn])}function Sr(t,i){return i==null?null:t[i]}function Pw(t){t[bc]=0}function Fw(t){t[Xe]&1024||(t[Xe]|=1024,y_(t)&&Dc(t))}function K1(t,i){for(;t>0;)i=i[yc],t--;return i}function Pf(t){return!!(t[Xe]&9216||t[Er]?.dirty)}function b_(t){t[Lo].changeDetectionScheduler?.notify(8),t[Xe]&64&&(t[Xe]|=1024),Pf(t)&&Dc(t)}function Dc(t){t[Lo].changeDetectionScheduler?.notify(0);let i=sl(t);for(;i!==null&&!(i[Xe]&8192||(i[Xe]|=8192,!y_(i)));)i=sl(i)}function Lw(t,i){if(xc(t))throw new $(911,!1);t[gs]===null&&(t[gs]=[]),t[gs].push(i)}function X1(t,i){if(t[gs]===null)return;let e=t[gs].indexOf(i);e!==-1&&t[gs].splice(e,1)}function sl(t){let i=t[Gn];return Vo(i)?i[Gn]:i}function Vw(t){return t[eu]??=[]}function jw(t){return t.cleanup??=[]}function J1(t,i,e,n){let r=Vw(i);r.push(e),t.firstCreatePass&&jw(t).push(n,r.length-1)}var mt={lFrame:dk(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var cw=!1;function ek(){return mt.lFrame.elementDepthCount}function tk(){mt.lFrame.elementDepthCount++}function Bw(){mt.lFrame.elementDepthCount--}function C_(){return mt.bindingsEnabled}function Uw(){return mt.skipHydrationRootTNode!==null}function Hw(t){return mt.skipHydrationRootTNode===t}function zw(){mt.skipHydrationRootTNode=null}function Se(){return mt.lFrame.lView}function sn(){return mt.lFrame.tView}function B(t){return mt.lFrame.contextLView=t,t[In]}function U(t){return mt.lFrame.contextLView=null,t}function Qn(){let t=$w();for(;t!==null&&t.type===64;)t=t.parent;return t}function $w(){return mt.lFrame.currentTNode}function nk(){let t=mt.lFrame,i=t.currentTNode;return t.isParent?i:i.parent}function ru(t,i){let e=mt.lFrame;e.currentTNode=t,e.isParent=i}function Ww(){return mt.lFrame.isParent}function qw(){mt.lFrame.isParent=!1}function ik(){return mt.lFrame.contextLView}function Gw(){return cw}function Df(t){let i=cw;return cw=t,i}function Bo(){let t=mt.lFrame,i=t.bindingRootIndex;return i===-1&&(i=t.bindingRootIndex=t.tView.bindingStartIndex),i}function Yw(){return mt.lFrame.bindingIndex}function rk(t){return mt.lFrame.bindingIndex=t}function Ia(){return mt.lFrame.bindingIndex++}function Ff(t){let i=mt.lFrame,e=i.bindingIndex;return i.bindingIndex=i.bindingIndex+t,e}function ok(){return mt.lFrame.inI18n}function ak(t,i){let e=mt.lFrame;e.bindingIndex=e.bindingRootIndex=t,w_(i)}function sk(){return mt.lFrame.currentDirectiveIndex}function w_(t){mt.lFrame.currentDirectiveIndex=t}function lk(t){let i=mt.lFrame.currentDirectiveIndex;return i===-1?null:t[i]}function x_(){return mt.lFrame.currentQueryIndex}function Lf(t){mt.lFrame.currentQueryIndex=t}function yz(t){let i=t[ze];return i.type===2?i.declTNode:i.type===1?t[Hi]:null}function Qw(t,i,e){if(e&4){let r=i,o=t;for(;r=r.parent,r===null&&!(e&1);)if(r=yz(o),r===null||(o=o[yc],r.type&10))break;if(r===null)return!1;i=r,t=o}let n=mt.lFrame=ck();return n.currentTNode=i,n.lView=t,!0}function D_(t){let i=ck(),e=t[ze];mt.lFrame=i,i.currentTNode=e.firstChild,i.lView=t,i.tView=e,i.contextLView=t,i.bindingIndex=e.bindingStartIndex,i.inI18n=!1}function ck(){let t=mt.lFrame,i=t===null?null:t.child;return i===null?dk(t):i}function dk(t){let i={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=i),i}function uk(){let t=mt.lFrame;return mt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Zw=uk;function M_(){let t=uk();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function hk(t){return(mt.lFrame.contextLView=K1(t,mt.lFrame.contextLView))[In]}function Uo(){return mt.lFrame.selectedIndex}function ul(t){mt.lFrame.selectedIndex=t}function ou(){let t=mt.lFrame;return v_(t.tView,t.selectedIndex)}function Ho(){mt.lFrame.currentNamespace=Ow}function Vf(){bz()}function bz(){mt.lFrame.currentNamespace=null}function Kw(){return mt.lFrame.currentNamespace}var fk=!0;function E_(){return fk}function jf(t){fk=t}function dw(t,i=null,e=null,n){let r=Xw(t,i,e,n);
vendor: 25,344 bytes, line 4
4return r.resolveInjectorInitializers(),r}function Xw(t,i=null,e=null,n,r=new Set){let o=[e||xi,g_(t)],a;return new pc(o,i||Jd(),a||null,r)}var he=class t{static THROW_IF_NOT_FOUND=hc;static NULL=new xf;static create(i,e){if(Array.isArray(i))return dw({name:""},e,i,"");{let n=i.name??"";return dw({name:n},i.parent,i.providers,n)}}static \u0275prov=M({token:t,providedIn:"any",factory:()=>j(xw)});static __NG_ELEMENT_ID__=-1},ve=new T(""),yn=(()=>{class t{static __NG_ELEMENT_ID__=Cz;static __NG_ENV_ID__=e=>e}return t})(),r_=class extends yn{_lView;constructor(i){super(),this._lView=i}get destroyed(){return xc(this._lView)}onDestroy(i){let e=this._lView;return Lw(e,i),()=>X1(e,i)}};function Cz(){return new r_(Se())}var Jw=!1,mk=new T(""),Aa=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new pt(!1);debugTaskTracker=d(mk,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new De(e=>{e.next(!1),e.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),this.debugTaskTracker?.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.debugTaskTracker?.remove(e),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=M({token:t,providedIn:"root",factory:()=>new t})}return t})(),uw=class extends V{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(i=!1){super(),this.__isAsync=i,q1()&&(this.destroyRef=d(yn,{optional:!0})??void 0,this.pendingTasks=d(Aa,{optional:!0})??void 0)}emit(i){let e=Le(null);try{super.next(i)}finally{Le(e)}}subscribe(i,e,n){let r=i,o=e||(()=>null),a=n;if(i&&typeof i=="object"){let l=i;r=l.next?.bind(l),o=l.error?.bind(l),a=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),a&&(a=this.wrapInTimeout(a)));let s=super.subscribe({next:r,error:o,complete:a});return i instanceof Re&&i.add(s),s}wrapInTimeout(i){return e=>{let n=this.pendingTasks?.add();setTimeout(()=>{try{i(e)}finally{n!==void 0&&this.pendingTasks?.remove(n)}})}}},z=uw;function o_(...t){}function ex(t){let i,e;function n(){t=o_;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),i!==void 0&&clearTimeout(i)}catch(r){}}return i=setTimeout(()=>{t(),n()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),n()})),()=>n()}function pk(t){return queueMicrotask(()=>t()),()=>{t=o_}}var tx="isAngularZone",Mf=tx+"_ID",wz=0,ne=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new z(!1);onMicrotaskEmpty=new z(!1);onStable=new z(!1);onError=new z(!1);constructor(i){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=Jw}=i;if(typeof Zone>"u")throw new $(908,!1);Zone.assertZonePatched();let a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!r&&n,a.shouldCoalesceRunChangeDetection=r,a.callbackScheduled=!1,a.scheduleInRootZone=o,Mz(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(tx)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new $(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new $(909,!1)}run(i,e,n){return this._inner.run(i,e,n)}runTask(i,e,n,r){let o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,i,xz,o_,o_);try{return o.runTask(a,e,n)}finally{o.cancelTask(a)}}runGuarded(i,e,n){return this._inner.runGuarded(i,e,n)}runOutsideAngular(i){return this._outer.run(i)}},xz={};function nx(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Dz(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function i(){ex(()=>{t.callbackScheduled=!1,hw(t),t.isCheckStableRunning=!0,nx(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{i()}):t._outer.run(()=>{i()}),hw(t)}function Mz(t){let i=()=>{Dz(t)},e=wz++;t._inner=t._inner.fork({name:"angular",properties:{[tx]:!0,[Mf]:e,[Mf+e]:!0},onInvokeTask:(n,r,o,a,s,l)=>{if(Ez(l))return n.invokeTask(o,a,s,l);try{return k1(t),n.invokeTask(o,a,s,l)}finally{(t.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&i(),O1(t)}},onInvoke:(n,r,o,a,s,l,c)=>{try{return k1(t),n.invoke(o,a,s,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!Sz(l)&&i(),O1(t)}},onHasTask:(n,r,o,a)=>{n.hasTask(o,a),r===o&&(a.change=="microTask"?(t._hasPendingMicrotasks=a.microTask,hw(t),nx(t)):a.change=="macroTask"&&(t.hasPendingMacrotasks=a.macroTask))},onHandleError:(n,r,o,a)=>(n.handleError(o,a),t.runOutsideAngular(()=>t.onError.emit(a)),!1)})}function hw(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function k1(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function O1(t){t._nesting--,nx(t)}var Ef=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new z;onMicrotaskEmpty=new z;onStable=new z;onError=new z;run(i,e,n){return i.apply(e,n)}runGuarded(i,e,n){return i.apply(e,n)}runOutsideAngular(i){return i()}runTask(i,e,n,r){return i.apply(e,n)}};function Ez(t){return gk(t,"__ignore_ng_zone__")}function Sz(t){return gk(t,"__scheduler_tick__")}function gk(t,i){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[i]===!0}var Hn=class{_console=console;handleError(i){this._console.error("ERROR",i)}},Xi=new T("",{factory:()=>{let t=d(ne),i=d(Bt),e;return n=>{t.runOutsideAngular(()=>{i.destroyed&&!e?setTimeout(()=>{throw n}):(e??=i.get(Hn),e.handleError(n))})}}}),_k={provide:Ea,useValue:()=>{let t=d(Hn,{optional:!0})},multi:!0};function re(t,i){let[e,n,r]=OC(t,i?.equal),o=e,a=o[Tn];return o.set=n,o.update=r,o.asReadonly=Bf.bind(o),o}function Bf(){let t=this[Tn];if(t.readonlyFn===void 0){let i=()=>this();i[Tn]=t,t.readonlyFn=i}return t.readonlyFn}var au=(()=>{class t{view;node;constructor(e,n){this.view=e,this.node=n}static __NG_ELEMENT_ID__=Tz}return t})();function Tz(){return new au(Se(),Qn())}var No=class{},su=new T("",{factory:()=>!0});var S_=new T(""),Mc=(()=>{class t{internalPendingTasks=d(Aa);scheduler=d(No);errorHandler=d(Xi);add(){let e=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(e)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(e))}}run(e){let n=this.add();e().catch(this.errorHandler).finally(n)}static \u0275prov=M({token:t,providedIn:"root",factory:()=>new t})}return t})(),T_=(()=>{class t{static \u0275prov=M({token:t,providedIn:"root",factory:()=>new fw})}return t})(),fw=class{dirtyEffectCount=0;queues=new Map;add(i){this.enqueue(i),this.schedule(i)}schedule(i){i.dirty&&this.dirtyEffectCount++}remove(i){let e=i.zone,n=this.queues.get(e);n.has(i)&&(n.delete(i),i.dirty&&this.dirtyEffectCount--)}enqueue(i){let e=i.zone;this.queues.has(e)||this.queues.set(e,new Set);let n=this.queues.get(e);n.has(i)||n.add(i)}flush(){for(;this.dirtyEffectCount>0;){let i=!1;for(let[e,n]of this.queues)e===null?i||=this.flushQueue(n):i||=e.run(()=>this.flushQueue(n));i||(this.dirtyEffectCount=0)}}flushQueue(i){let e=!1;for(let n of i)n.dirty&&(this.dirtyEffectCount--,e=!0,n.run());return e}},a_=class{[Tn];constructor(i){this[Tn]=i}destroy(){this[Tn].destroy()}};function Zn(t,i){let e=i?.injector??d(he),n=i?.manualCleanup!==!0?e.get(yn):null,r,o=e.get(au,null,{optional:!0}),a=e.get(No);return o!==null?(r=kz(o.view,a,t),n instanceof r_&&n._lView===o.view&&(n=null)):r=Oz(t,e.get(T_),a),r.injector=e,n!==null&&(r.onDestroyFns=[n.onDestroy(()=>r.destroy())]),new a_(r)}var vk=Y(x({},NC),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let t=Df(!1);try{RC(this)}finally{Df(t)}},cleanup(){if(!this.cleanupFns?.length)return;let t=Le(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],Le(t)}}}),Iz=Y(x({},vk),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Xs(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.scheduler.remove(this)}}),Az=Y(x({},vk),{consumerMarkedDirty(){this.view[Xe]|=8192,Dc(this.view),this.notifier.notify(13)},destroy(){if(Xs(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.view[al]?.delete(this)}});function kz(t,i,e){let n=Object.create(Az);return n.view=t,n.zone=typeof Zone<"u"?Zone.current:null,n.notifier=i,n.fn=yk(n,e),t[al]??=new Set,t[al].add(n),n.consumerMarkedDirty(n),n}function Oz(t,i,e){let n=Object.create(Iz);return n.fn=yk(n,t),n.scheduler=i,n.notifier=e,n.zone=typeof Zone<"u"?Zone.current:null,n.scheduler.add(n),n.notifier.notify(12),n}function yk(t,i){return()=>{i(e=>(t.cleanupFns??=[]).push(e))}}function gu(t){return{toString:t}.toString()}var I_="__parameters__";function jz(t){return function(...e){if(t){let n=t(...e);for(let r in n)this[r]=n[r]}}}function Bz(t,i,e){return gu(()=>{let n=jz(i);function r(...o){if(this instanceof r)return n.apply(this,o),this;let a=new r(...o);return s.annotation=a,s;function s(l,c,u){let h=l.hasOwnProperty(I_)?l[I_]:Object.defineProperty(l,I_,{value:[]})[I_];for(;h.length<=u;)h.push(null);return(h[u]=h[u]||[]).push(a),l}}return r.prototype.ngMetadataName=t,r.annotationCls=r,r})}var _u=V1(Bz("Inject",t=>({token:t})),-1);function Uz(t){return typeof t=="function"}function iO(t,i,e,n){i!==null?i.applyValueToInputSignal(i,n):t[e]=n}var j_=class{previousValue;currentValue;firstChange;constructor(i,e,n){this.previousValue=i,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}},Ze=(()=>{let t=()=>rO;return t.ngInherit=!0,t})();function rO(t){return t.type.prototype.ngOnChanges&&(t.setInput=zz),Hz}function Hz(){let t=aO(this),i=t?.current;if(i){let e=t.previous;if(e===Po)t.previous=i;else for(let n in i)e[n]=i[n];t.current=null,this.ngOnChanges(i)}}function zz(t,i,e,n,r){let o=this.declaredInputs[n],a=aO(t)||$z(t,{previous:Po,current:null}),s=a.current||(a.current={}),l=a.previous,c=l[o];s[o]=new j_(c&&c.currentValue,e,l===Po),iO(t,i,r,e)}var oO="__ngSimpleChanges__";function aO(t){return t[oO]||null}function $z(t,i){return t[oO]=i}var bk=[];var Yt=function(t,i=null,e){for(let n=0;n<bk.length;n++){let r=bk[n];r(t,i,e)}},Pt=(function(t){return t[t.TemplateCreateStart=0]="TemplateCreateStart",t[t.TemplateCreateEnd=1]="TemplateCreateEnd",t[t.TemplateUpdateStart=2]="TemplateUpdateStart",t[t.TemplateUpdateEnd=3]="TemplateUpdateEnd",t[t.LifecycleHookStart=4]="LifecycleHookStart",t[t.LifecycleHookEnd=5]="LifecycleHookEnd",t[t.OutputStart=6]="OutputStart",t[t.OutputEnd=7]="OutputEnd",t[t.BootstrapApplicationStart=8]="BootstrapApplicationStart",t[t.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",t[t.BootstrapComponentStart=10]="BootstrapComponentStart",t[t.BootstrapComponentEnd=11]="BootstrapComponentEnd",t[t.ChangeDetectionStart=12]="ChangeDetectionStart",t[t.ChangeDetectionEnd=13]="ChangeDetectionEnd",t[t.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",t[t.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",t[t.AfterRenderHooksStart=16]="AfterRenderHooksStart",t[t.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",t[t.ComponentStart=18]="ComponentStart",t[t.ComponentEnd=19]="ComponentEnd",t[t.DeferBlockStateStart=20]="DeferBlockStateStart",t[t.DeferBlockStateEnd=21]="DeferBlockStateEnd",t[t.DynamicComponentStart=22]="DynamicComponentStart",t[t.DynamicComponentEnd=23]="DynamicComponentEnd",t[t.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",t[t.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",t})(Pt||{});function Wz(t,i,e){let{ngOnChanges:n,ngOnInit:r,ngDoCheck:o}=i.type.prototype;if(n){let a=rO(i);(e.preOrderHooks??=[]).push(t,a),(e.preOrderCheckHooks??=[]).push(t,a)}r&&(e.preOrderHooks??=[]).push(0-t,r),o&&((e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o))}function sO(t,i){for(let e=i.directiveStart,n=i.directiveEnd;e<n;e++){let o=t.data[e].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:s,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=o;a&&(t.contentHooks??=[]).push(-e,a),s&&((t.contentHooks??=[]).push(e,s),(t.contentCheckHooks??=[]).push(e,s)),l&&(t.viewHooks??=[]).push(-e,l),c&&((t.viewHooks??=[]).push(e,c),(t.viewCheckHooks??=[]).push(e,c)),u!=null&&(t.destroyHooks??=[]).push(e,u)}}function R_(t,i,e){lO(t,i,3,e)}function P_(t,i,e,n){(t[Xe]&3)===e&&lO(t,i,e,n)}function ix(t,i){let e=t[Xe];(e&3)===i&&(e&=16383,e+=1,t[Xe]=e)}function lO(t,i,e,n){let r=n!==void 0?t[bc]&65535:0,o=n??-1,a=i.length-1,s=0;for(let l=r;l<a;l++)if(typeof i[l+1]=="number"){if(s=i[l],n!=null&&s>=n)break}else i[l]<0&&(t[bc]+=65536),(s<o||o==-1)&&(qz(t,e,i,l),t[bc]=(t[bc]&4294901760)+l+2),l++}function Ck(t,i){Yt(Pt.LifecycleHookStart,t,i);let e=Le(null);try{i.call(t)}finally{Le(e),Yt(Pt.LifecycleHookEnd,t,i)}}function qz(t,i,e,n){let r=e[n]<0,o=e[n+1],a=r?-e[n]:e[n],s=t[a];r?t[Xe]>>14<t[bc]>>16&&(t[Xe]&3)===i&&(t[Xe]+=16384,Ck(s,o)):Ck(s,o)}var cu=-1,Sc=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(i,e,n,r){this.factory=i,this.name=r,this.canSeeViewProviders=e,this.injectImpl=n}};function Gz(t){return(t.flags&8)!==0}function Yz(t){return(t.flags&16)!==0}function Qz(t,i,e){let n=0;for(;n<e.length;){let r=e[n];if(typeof r=="number"){if(r!==0)break;n++;let o=e[n++],a=e[n++],s=e[n++];t.setAttribute(i,a,s,o)}else{let o=r,a=e[++n];Zz(o)?t.setProperty(i,o,a):t.setAttribute(i,o,a),n++}}return n}function cO(t){return t===3||t===4||t===6}function Zz(t){return t.charCodeAt(0)===64}function du(t,i){if(!(i===null||i.length===0))if(t===null||t.length===0)t=i.slice();else{let e=-1;for(let n=0;n<i.length;n++){let r=i[n];typeof r=="number"?e=r:e===0||(e===-1||e===2?wk(t,e,r,null,i[++n]):wk(t,e,r,null,null))}}return t}function wk(t,i,e,n,r){let o=0,a=t.length;if(i===-1)a=-1;else for(;o<t.length;){let s=t[o++];if(typeof s=="number"){if(s===i){a=-1;break}else if(s>i){a=o-1;break}}}for(;o<t.length;){let s=t[o];if(typeof s=="number")break;if(s===e){r!==null&&(t[o+1]=r);return}o++,r!==null&&o++}a!==-1&&(t.splice(a,0,i),o=a+1),t.splice(o++,0,e),r!==null&&t.splice(o++,0,r)}function dO(t){return t!==cu}function B_(t){return t&32767}function Kz(t){return t>>16}function U_(t,i){let e=Kz(t),n=i;for(;e>0;)n=n[yc],e--;return n}var mx=!0;function H_(t){let i=mx;return mx=t,i}var Xz=256,uO=Xz-1,hO=5,Jz=0,ka={};function e$(t,i,e){let n;typeof e=="string"?n=e.charCodeAt(0)||0:e.hasOwnProperty(gc)&&(n=e[gc]),n==null&&(n=e[gc]=Jz++);let r=n&uO,o=1<<r;i.data[t+(r>>hO)]|=o}function z_(t,i){let e=fO(t,i);if(e!==-1)return e;let n=i[ze];n.firstCreatePass&&(t.injectorIndex=i.length,rx(n.data,t),rx(i,null),rx(n.blueprint,null));let r=Xx(t,i),o=t.injectorIndex;if(dO(r)){let a=B_(r),s=U_(r,i),l=s[ze].data;for(let c=0;c<8;c++)i[o+c]=s[a+c]|l[a+c]}return i[o+8]=r,o}function rx(t,i){t.push(0,0,0,0,0,0,0,0,i)}function fO(t,i){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||i[t.injectorIndex+8]===null?-1:t.injectorIndex}function Xx(t,i){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,n=null,r=i;for(;r!==null;){if(n=vO(r),n===null)return cu;if(e++,r=r[yc],n.injectorIndex!==-1)return n.injectorIndex|e<<16}return cu}function px(t,i,e){e$(t,i,e)}function t$(t,i){if(i==="class")return t.classes;if(i==="style")return t.styles;let e=t.attrs;if(e){let n=e.length,r=0;for(;r<n;){let o=e[r];if(cO(o))break;if(o===0)r=r+2;else if(typeof o=="number")for(r++;r<n&&typeof e[r]=="string";)r++;else{if(o===i)return e[r+1];r=r+2}}}return null}function mO(t,i,e){if(e&8||t!==void 0)return t;h_(i,"NodeInjector")}function pO(t,i,e,n){if(e&8&&n===void 0&&(n=null),(e&3)===0){let r=t[_s],o=Ui(void 0);try{return r?r.get(i,n,e&8):Cw(i,n,e&8)}finally{Ui(o)}}return mO(n,i,e)}function gO(t,i,e,n=0,r){if(t!==null){if(i[Xe]&2048&&!(n&2)){let a=o$(t,i,e,n,ka);if(a!==ka)return a}let o=_O(t,i,e,n,ka);if(o!==ka)return o}return pO(i,e,n,r)}function _O(t,i,e,n,r){let o=i$(e);if(typeof o=="function"){if(!Qw(i,t,n))return n&1?mO(r,e,n):pO(i,e,n,r);try{let a;if(a=o(n),a==null&&!(n&8))h_(e);else return a}finally{Zw()}}else if(typeof o=="number"){let a=null,s=fO(t,i),l=cu,c=n&1?i[Di][Hi]:null;for((s===-1||n&4)&&(l=s===-1?Xx(t,i):i[s+8],l===cu||!Dk(n,!1)?s=-1:(a=i[ze],s=B_(l),i=U_(l,i)));s!==-1;){let u=i[ze];if(xk(o,s,u.data)){let h=n$(s,i,e,a,n,c);if(h!==ka)return h}l=i[s+8],l!==cu&&Dk(n,i[ze].data[s+8]===c)&&xk(o,s,i)?(a=u,s=B_(l),i=U_(l,i)):s=-1}}return r}function n$(t,i,e,n,r,o){let a=i[ze],s=a.data[t+8],l=n==null?Ta(s)&&mx:n!=a&&(s.type&3)!==0,c=r&1&&o===s,u=F_(s,a,e,l,c);return u!==null?Wf(i,a,u,s,r):ka}function F_(t,i,e,n,r){let o=t.providerIndexes,a=i.data,s=o&1048575,l=t.directiveStart,c=t.directiveEnd,u=o>>20,h=n?s:s+u,m=r?s+u:c;for(let p=h;p<m;p++){let b=a[p];if(p<l&&e===b||p>=l&&b.type===e)return p}if(r){let p=a[l];if(p&&jo(p)&&p.type===e)return l}return null}function Wf(t,i,e,n,r){let o=t[e],a=i.data;if(o instanceof Sc){let s=o;if(s.resolving)throw bw("");let l=H_(s.canSeeViewProviders);s.resolving=!0;let c=a[e].type||a[e],u,h=s.injectImpl?Ui(s.injectImpl):null,m=Qw(t,n,0);try{o=t[e]=s.factory(void 0,r,a,t,n),i.firstCreatePass&&e>=n.directiveStart&&Wz(e,a[e],i)}finally{h!==null&&Ui(h),H_(l),s.resolving=!1,Zw()}}return o}function i$(t){if(typeof t=="string")return t.charCodeAt(0)||0;let i=t.hasOwnProperty(gc)?t[gc]:void 0;return typeof i=="number"?i>=0?i&uO:r$:i}function xk(t,i,e){let n=1<<t;return!!(e[i+(t>>hO)]&n)}function Dk(t,i){return!(t&2)&&!(t&1&&i)}var Ec=class{_tNode;_lView;constructor(i,e){this._tNode=i,this._lView=e}get(i,e,n){return gO(this._tNode,this._lView,i,fc(n),e)}};function r$(){return new Ec(Qn(),Se())}function Dt(t){return gu(()=>{let i=t.prototype.constructor,e=i[wf]||gx(i),n=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==n;){let o=r[wf]||gx(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function gx(t){return mw(t)?()=>{let i=gx(qn(t));return i&&i()}:ol(t)}function o$(t,i,e,n,r){let o=t,a=i;for(;o!==null&&a!==null&&a[Xe]&2048&&!iu(a);){let s=_O(o,a,e,n|2,ka);if(s!==ka)return s;let l=o.parent;if(!l){let c=a[Iw];if(c){let u=c.get(e,ka,n&-5);if(u!==ka)return u}l=vO(a),a=a[yc]}o=l}return r}function vO(t){let i=t[ze],e=i.type;return e===2?i.declTNode:e===1?t[Hi]:null}function Kf(t){return t$(Qn(),t)}function a$(){return vu(Qn(),Se())}function vu(t,i){return new Q(Jr(t,i))}var Q=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=a$}return t})();function yO(t){return t instanceof Q?t.nativeElement:t}function s$(){return this._results[Symbol.iterator]()}var Tr=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new V}constructor(i=!1){this._emitDistinctChangesOnly=i}get(i){return this._results[i]}map(i){return this._results.map(i)}filter(i){return this._results.filter(i)}find(i){return this._results.find(i)}reduce(i,e){return this._results.reduce(i,e)}forEach(i){this._results.forEach(i)}some(i){return this._results.some(i)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(i,e){this.dirty=!1;let n=B1(i);(this._changesDetected=!j1(this._results,n,e))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(i){this._onDirty=i}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=s$};function bO(t){return(t.flags&128)===128}var Jx=(function(t){return t[t.OnPush=0]="OnPush",t[t.Eager=1]="Eager",t[t.Default=1]="Default",t})(Jx||{}),CO=new Map,l$=0;function c$(){return l$++}function d$(t){CO.set(t[vs],t)}function _x(t){CO.delete(t[vs])}var Mk="__ngContext__";function uu(t,i){ys(i)?(t[Mk]=i[vs],d$(i)):t[Mk]=i}function wO(t){return DO(t[tu])}function xO(t){return DO(t[Kr])}function DO(t){for(;t!==null&&!Vo(t);)t=t[Kr];return t}var vx;function eD(t){vx=t}function MO(){if(vx!==void 0)return vx;if(typeof document<"u")return document;throw new $(210,!1)}var ml=new T("",{factory:()=>u$}),u$="ng";var iv=new T(""),Ac=new T("",{providedIn:"platform",factory:()=>"unknown"}),pl=new T(""),kc=new T("",{factory:()=>d(ve).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var EO="r";var SO="di";var TO=!1,IO=new T("",{factory:()=>TO});var rv=new T("");var Ek=new WeakMap;function h$(t,i){if(t==null||typeof t!="object")return;let e=Ek.get(t);e||(e=new WeakSet,Ek.set(t,e)),e.add(i)}var f$=(t,i,e,n)=>{};function m$(t,i,e,n){f$(t,i,e,n)}function ov(t){return(t.flags&32)===32}var p$=()=>null;function AO(t,i,e=!1){return p$(t,i,e)}function kO(t,i){let e=t.contentQueries;if(e!==null){let n=Le(null);try{for(let r=0;r<e.length;r+=2){let o=e[r],a=e[r+1];if(a!==-1){let s=t.data[a];Lf(o),s.contentQueries(2,i[a],a)}}}finally{Le(n)}}}function yx(t,i,e){Lf(0);let n=Le(null);try{i(t,e)}finally{Le(n)}}function tD(t,i,e){if(kw(i)){let n=Le(null);try{let r=i.directiveStart,o=i.directiveEnd;for(let a=r;a<o;a++){let s=t.data[a];if(s.contentQueries){let l=e[a];s.contentQueries(1,l,a)}}}finally{Le(n)}}}var Wo=(function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t[t.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",t})(Wo||{});var A_;function g$(){if(A_===void 0&&(A_=null,Zr.trustedTypes))try{A_=Zr.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return A_}function av(t){return g$()?.createHTML(t)||t}var k_;function OO(){if(k_===void 0&&(k_=null,Zr.trustedTypes))try{k_=Zr.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return k_}function Sk(t){return OO()?.createHTML(t)||t}function Tk(t){return OO()?.createScriptURL(t)||t}var bs=class{changingThisBreaksApplicationSecurity;constructor(i){this.changingThisBreaksApplicationSecurity=i}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${s_})`}},bx=class extends bs{getTypeName(){return"HTML"}},Cx=class extends bs{getTypeName(){return"Style"}},wx=class extends bs{getTypeName(){return"Script"}},xx=class extends bs{getTypeName(){return"URL"}},Dx=class extends bs{getTypeName(){return"ResourceURL"}};function Ir(t){return t instanceof bs?t.changingThisBreaksApplicationSecurity:t}function Na(t,i){let e=NO(t);if(e!=null&&e!==i){if(e==="ResourceURL"&&i==="URL")return!0;throw new Error(`Required a safe ${i}, got a ${e} (see ${s_})`)}return e===i}function NO(t){return t instanceof bs&&t.getTypeName()||null}function nD(t){return new bx(t)}function iD(t){return new Cx(t)}function rD(t){return new wx(t)}function oD(t){return new xx(t)}function aD(t){return new Dx(t)}function _$(t){let i=new Ex(t);return v$()?new Mx(i):i}var Mx=class{inertDocumentHelper;constructor(i){this.inertDocumentHelper=i}getInertBodyElement(i){i="<body><remove></remove>"+i;try{let e=new window.DOMParser().parseFromString(av(i),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(i):(e.firstChild?.remove(),e)}catch(e){return null}}},Ex=class{defaultDoc;inertDocument;constructor(i){this.defaultDoc=i,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(i){let e=this.inertDocument.createElement("template");return e.innerHTML=av(i),e}};function v$(){try{return!!new window.DOMParser().parseFromString(av(""),"text/html")}catch(t){return!1}}var y$=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Xf(t){return t=String(t),t.match(y$)?t:"unsafe:"+t}function Cs(t){let i={};for(let e of t.split(","))i[e]=!0;return i}function Jf(...t){let i={};for(let e of t)for(let n in e)e.hasOwnProperty(n)&&(i[n]=!0);return i}var RO=Cs("area,br,col,hr,img,wbr"),PO=Cs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),FO=Cs("rp,rt"),b$=Jf(FO,PO),C$=Jf(PO,Cs("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),w$=Jf(FO,Cs("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ik=Jf(RO,C$,w$,b$),LO=Cs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),x$=Cs("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,c
4olspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),D$=Cs("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),M$=Jf(LO,x$,D$),E$=Cs("script,style,template"),Sx=class{sanitizedSomething=!1;buf=[];sanitizeChildren(i){let e=i.firstChild,n=!0,r=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild){r.push(e),e=I$(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=T$(e);if(o){e=o;break}e=r.pop()}}return this.buf.join("")}startElement(i){let e=Ak(i).toLowerCase();if(!Ik.hasOwnProperty(e))return this.sanitizedSomething=!0,!E$.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let n=i.attributes;for(let r=0;r<n.length;r++){let o=n.item(r),a=o.name,s=a.toLowerCase();if(!M$.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let l=o.value;LO[s]&&(l=Xf(l)),this.buf.push(" ",a,'="',kk(l),'"')}return this.buf.push(">"),!0}endElement(i){let e=Ak(i).toLowerCase();Ik.hasOwnProperty(e)&&!RO.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(i){this.buf.push(kk(i))}};function S$(t,i){return(t.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function T$(t){let i=t.nextSibling;if(i&&t!==i.previousSibling)throw VO(i);return i}function I$(t){let i=t.firstChild;if(i&&S$(t,i))throw VO(i);return i}function Ak(t){let i=t.nodeName;return typeof i=="string"?i:"FORM"}function VO(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var A$=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,k$=/([^\#-~ |!])/g;function kk(t){return t.replace(/&/g,"&").replace(A$,function(i){let e=i.charCodeAt(0),n=i.charCodeAt(1);return"&#"+((e-55296)*1024+(n-56320)+65536)+";"}).replace(k$,function(i){return"&#"+i.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var O_;function sv(t,i){let e=null;try{O_=O_||_$(t);let n=i?String(i):"";e=O_.getInertBodyElement(n);let r=5,o=n;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,n=o,o=e.innerHTML,e=O_.getInertBodyElement(n)}while(n!==o);let s=new Sx().sanitizeChildren(Ok(e)||e);return av(s)}finally{if(e){let n=Ok(e)||e;for(;n.firstChild;)n.firstChild.remove()}}}function Ok(t){return"content"in t&&O$(t)?t.content:null}function O$(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var N$=/^>|^->|<!--|-->|--!>|<!-$/g,R$=/(<|>)/g,P$="\u200B$1\u200B";function F$(t){return t.replace(N$,i=>i.replace(R$,P$))}function L$(t,i){return t.createText(i)}function V$(t,i,e){t.setValue(i,e)}function j$(t,i){return t.createComment(F$(i))}function jO(t,i,e){return t.createElement(i,e)}function $_(t,i,e,n,r){t.insertBefore(i,e,n,r)}function BO(t,i,e){t.appendChild(i,e)}function Nk(t,i,e,n,r){n!==null?$_(t,i,e,n,r):BO(t,i,e)}function UO(t,i,e,n){t.removeChild(null,i,e,n)}function B$(t,i,e){t.setAttribute(i,"style",e)}function U$(t,i,e){e===""?t.removeAttribute(i,"class"):t.setAttribute(i,"class",e)}function HO(t,i,e){let{mergedAttrs:n,classes:r,styles:o}=e;n!==null&&Qz(t,i,n),r!==null&&U$(t,i,r),o!==null&&B$(t,i,o)}var Ji=(function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t[t.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",t})(Ji||{});function Mi(t){let i=lD();return i?Sk(i.sanitize(Ji.HTML,t)||""):Na(t,"HTML")?Sk(Ir(t)):sv(MO(),Ro(t))}function Qt(t){let i=lD();return i?i.sanitize(Ji.URL,t)||"":Na(t,"URL")?Ir(t):Xf(Ro(t))}function zO(t){let i=lD();if(i)return Tk(i.sanitize(Ji.RESOURCE_URL,t)||"");if(Na(t,"ResourceURL"))return Tk(Ir(t));throw new $(904,!1)}var H$={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function z$(t,i){return H$[t.toLowerCase()]?.[i.toLowerCase()]===!0?zO:Qt}function sD(t,i,e){return z$(i,e)(t)}function lD(){let t=Se();return t&&t[Lo].sanitizer}function ws(t){return t.ownerDocument.defaultView}function em(t){return t.ownerDocument}function $O(t){return t instanceof Function?t():t}function $$(t,i,e){let n=t.length;for(;;){let r=t.indexOf(i,e);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let o=i.length;if(r+o===n||t.charCodeAt(r+o)<=32)return r}e=r+1}}var WO="ng-template";function W$(t,i,e,n){let r=0;if(n){for(;
vendor: 3,481 bytes, line 4
4r<i.length&&typeof i[r]=="string";r+=2)if(i[r]==="class"&&$$(i[r+1].toLowerCase(),e,0)!==-1)return!0}else if(cD(t))return!1;if(r=i.indexOf(1,r),r>-1){let o;for(;++r<i.length&&typeof(o=i[r])=="string";)if(o.toLowerCase()===e)return!0}return!1}function cD(t){return t.type===4&&t.value!==WO}function q$(t,i,e){let n=t.type===4&&!e?WO:t.value;return i===n}function G$(t,i,e){let n=4,r=t.attrs,o=r!==null?Z$(r):0,a=!1;for(let s=0;s<i.length;s++){let l=i[s];if(typeof l=="number"){if(!a&&!zo(n)&&!zo(l))return!1;if(a&&zo(l))continue;a=!1,n=l|n&1;continue}if(!a)if(n&4){if(n=2|n&1,l!==""&&!q$(t,l,e)||l===""&&i.length===1){if(zo(n))return!1;a=!0}}else if(n&8){if(r===null||!W$(t,r,l,e)){if(zo(n))return!1;a=!0}}else{let c=i[++s],u=Y$(l,r,cD(t),e);if(u===-1){if(zo(n))return!1;a=!0;continue}if(c!==""){let h;if(u>o?h="":h=r[u+1].toLowerCase(),n&2&&c!==h){if(zo(n))return!1;a=!0}}}}return zo(n)||a}function zo(t){return(t&1)===0}function Y$(t,i,e,n){if(i===null)return-1;let r=0;if(n||!e){let o=!1;for(;r<i.length;){let a=i[r];if(a===t)return r;if(a===3||a===6)o=!0;else if(a===1||a===2){let s=i[++r];for(;typeof s=="string";)s=i[++r];continue}else{if(a===4)break;if(a===0){r+=4;continue}}r+=o?1:2}return-1}else return K$(i,t)}function qO(t,i,e=!1){for(let n=0;n<i.length;n++)if(G$(t,i[n],e))return!0;return!1}function Q$(t){let i=t.attrs;if(i!=null){let e=i.indexOf(5);if((e&1)===0)return i[e+1]}return null}function Z$(t){for(let i=0;i<t.length;i++){let e=t[i];if(cO(e))return i}return t.length}function K$(t,i){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let n=t[e];if(typeof n=="number")return-1;if(n===i)return e;e++}return-1}function X$(t,i){e:for(let e=0;e<i.length;e++){let n=i[e];if(t.length===n.length){for(let r=0;r<t.length;r++)if(t[r]!==n[r])continue e;return!0}}return!1}function Rk(t,i){return t?":not("+i.trim()+")":i}function J$(t){let i=t[0],e=1,n=2,r="",o=!1;for(;e<t.length;){let a=t[e];if(typeof a=="string")if(n&2){let s=t[++e];r+="["+a+(s.length>0?'="'+s+'"':"")+"]"}else n&8?r+="."+a:n&4&&(r+=" "+a);else r!==""&&!zo(a)&&(i+=Rk(o,r),r=""),n=a,o=o||!zo(n);e++}return r!==""&&(i+=Rk(o,r)),i}function e8(t){return t.map(J$).join(",")}function t8(t){let i=[],e=[],n=1,r=2;for(;n<t.length;){let o=t[n];if(typeof o=="string")r===2?o!==""&&i.push(o,t[++n]):r===8&&e.push(o);else{if(!zo(r))break;r=o}n++}return e.length&&i.push(1,...e),i}var oi={};function dD(t,i,e,n,r,o,a,s,l,c,u){let h=mn+n,m=h+r,p=n8(h,m),b=typeof c=="function"?c():c;return p[ze]={type:t,blueprint:p,template:e,queries:null,viewQuery:s,declTNode:i,data:p.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:m,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof a=="function"?a():a,firstChild:null,schemas:l,consts:b,incompleteFirstPass:!1,ssrId:u}}function n8(t,i){let e=[];for(let n=0;n<i;n++)e.push(n<t?null:oi);return e}function i8(t){let i=t.tView;return i===null||i.incompleteFirstPass?t.tView=dD(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):i}function uD(t,i,e,n,r,o,a,s,l,c,u){let h=i.blueprint.slice();return h[Fo]=r,h[Xe]=n|4|128|8|64|1024,(c!==null||t&&t[Xe]&2048)&&(h[Xe]|=2048),Pw(h),h[Gn]=h[yc]=t,h[In]=e,h[Lo]=a||t&&t[
vendor: 27,974 bytes, line 4
4Lo],h[Jt]=s||t&&t[Jt],h[_s]=l||t&&t[_s]||null,h[Hi]=o,h[vs]=c$(),h[vc]=u,h[Iw]=c,h[Di]=i.type==2?t[Di]:h,h}function r8(t,i,e){let n=Jr(i,t),r=i8(e),o=t[Lo].rendererFactory,a=hD(t,uD(t,r,null,GO(e),n,i,null,o.createRenderer(n,e),null,null,null));return t[i.index]=a}function GO(t){let i=16;return t.signals?i=4096:t.onPush&&(i=64),i}function YO(t,i,e,n){if(e===0)return-1;let r=i.length;for(let o=0;o<e;o++)i.push(n),t.blueprint.push(n),t.data.push(null);return r}function hD(t,i){return t[tu]?t[Tw][Kr]=i:t[tu]=i,t[Tw]=i,i}function f(t=1){QO(sn(),Se(),Uo()+t,!1)}function QO(t,i,e,n){if(!n)if((i[Xe]&3)===3){let o=t.preOrderCheckHooks;o!==null&&R_(i,o,e)}else{let o=t.preOrderHooks;o!==null&&P_(i,o,0,e)}ul(e)}var lv=(function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t})(lv||{});function Tx(t,i,e,n){let r=Le(null);try{let[o,a,s]=t.inputs[e],l=null;(a&lv.SignalBased)!==0&&(l=i[o][Tn]),l!==null&&l.transformFn!==void 0?n=l.transformFn(n):s!==null&&(n=s.call(i,n)),t.setInput!==null?t.setInput(i,l,n,e,o):iO(i,l,o,n)}finally{Le(r)}}var qo=(function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t})(qo||{}),o8;function fD(t,i){return o8(t,i)}var E0e=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Ix=new WeakMap,Hf=new WeakSet;function a8(t,i){let e=Ix.get(t);if(!e||e.length===0)return;let n=i.parentNode,r=i.previousSibling;for(let o=e.length-1;o>=0;o--){let a=e[o],s=a.parentNode;a===i?(e.splice(o,1),Hf.add(a),a.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(r&&a===r||s&&n&&s!==n)&&(e.splice(o,1),a.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),a.parentNode?.removeChild(a))}}function s8(t,i){let e=Ix.get(t);e?e.includes(i)||e.push(i):Ix.set(t,[i])}var Tc=new Set,cv=(function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t})(cv||{}),Go=new T(""),Pk=new Set;function er(t){Pk.has(t)||(Pk.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var dv=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=M({token:t,providedIn:"root",factory:()=>new t})}return t})(),mD=[0,1,2,3],pD=(()=>{class t{ngZone=d(ne);scheduler=d(No);errorHandler=d(Hn,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){d(Go,{optional:!0})}execute(){let e=this.sequences.size>0;e&&Yt(Pt.AfterRenderHooksStart),this.executing=!0;for(let n of mD)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[n]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=r.hooks[n];return o(r.pipelinedValue)},r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&Yt(Pt.AfterRenderHooksEnd)}register(e){let{view:n}=e;n!==void 0?((n[Cc]??=[]).push(e),Dc(n),n[Xe]|=8192):this.executing?this.deferredRegistrations.add(e):this.addSequence(e)}addSequence(e){this.sequences.add(e),this.scheduler.notify(7)}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,n){return n?n.run(cv.AFTER_NEXT_RENDER,e):e()}static \u0275prov=M({token:t,providedIn:"root",factory:()=>new t})}return t})(),qf=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(i,e,n,r,o,a=null){this.impl=i,this.hooks=e,this.view=n,this.once=r,this.snapshot=a,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let i=this.view?.[Cc];i&&(this.view[Cc]=i.filter(e=>e!==this))}};function gD(t,i){let e=i?.injector??d(he);return er("NgAfterRender"),ZO(t,e,i,!1)}function en(t,i){let e=i?.injector??d(he);return er("NgAfterNextRender"),ZO(t,e,i,!0)}function l8(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function ZO(t,i,e,n){let r=i.get(dv);r.impl??=i.get(pD);let o=i.get(Go,null,{optional:!0}),a=e?.manualCleanup!==!0?i.get(yn):null,s=i.get(au,null,{optional:!0}),l=new qf(r.impl,l8(t),s?.view,n,a,o?.snapshot(null));return r.impl.register(l),l}var KO=new T("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:d(Bt)})});function XO(t,i,e){let n=t.get(KO);if(Array.isArray(i))for(let r of i)n.queue.add(r),e?.detachedLeaveAnimationFns?.push(r);else n.queue.add(i),e?.detachedLeaveAnimationFns?.push(i);n.scheduler&&n.scheduler(t)}function c8(t,i){let e=t.get(KO);if(i.detachedLeaveAnimationFns){for(let n of i.detachedLeaveAnimationFns)e.queue.delete(n);i.detachedLeaveAnimationFns=void 0}}function d8(t,i){for(let[e,n]of i)XO(t,n.animateFns)}function Fk(t,i,e,n){let r=t?.[cl]?.enter;i!==null&&r&&r.has(e.index)&&d8(n,r)}function lu(t,i,e,n,r,o,a,s){if(r!=null){let l,c=!1;Vo(r)?l=r:ys(r)&&(c=!0,r=r[Fo]);let u=Xr(r);t===0&&n!==null?(Fk(s,n,o,e),a==null?BO(i,n,u):$_(i,n,u,a||null,!0)):t===1&&n!==null?(Fk(s,n,o,e),$_(i,n,u,a||null,!0),a8(o,u)):t===2?(s?.[cl]?.leave?.has(o.index)&&s8(o,u),Hf.delete(u),Lk(s,o,e,h=>{if(Hf.has(u)){Hf.delete(u);return}UO(i,u,c,h)})):t===3&&(Hf.delete(u),Lk(s,o,e,()=>{i.destroyNode(u)})),l!=null&&C8(i,t,e,l,o,n,a)}}function u8(t,i){JO(t,i),i[Fo]=null,i[Hi]=null}function h8(t,i,e,n,r,o){n[Fo]=r,n[Hi]=i,hv(t,n,e,1,r,o)}function JO(t,i){i[Lo].changeDetectionScheduler?.notify(9),hv(t,i,i[Jt],2,null,null)}function f8(t){let i=t[tu];if(!i)return ox(t[ze],t);for(;i;){let e=null;if(ys(i))e=i[tu];else{let n=i[An];n&&(e=n)}if(!e){for(;i&&!i[Kr]&&i!==t;)ys(i)&&ox(i[ze],i),i=i[Gn];i===null&&(i=t),ys(i)&&ox(i[ze],i),e=i&&i[Kr]}i=e}}function _D(t,i){let e=t[wc],n=e.indexOf(i);e.splice(n,1)}function uv(t,i){if(xc(i))return;let e=i[Jt];e.destroyNode&&hv(t,i,e,3,null,null),f8(i)}function ox(t,i){if(xc(i))return;let e=Le(null);try{i[Xe]&=-129,i[Xe]|=256,i[Er]&&Xs(i[Er]),g8(t,i),p8(t,i),i[ze].type===1&&i[Jt].destroy();let n=i[ll];if(n!==null&&Vo(i[Gn])){n!==i[Gn]&&_D(n,i);let r=i[Sa];r!==null&&r.detachView(t)}_x(i)}finally{Le(e)}}function Lk(t,i,e,n){let r=t?.[cl];if(r==null||r.leave==null||!r.leave.has(i.index))return n(!1);t&&Tc.add(t[vs]),XO(e,()=>{if(r.leave&&r.leave.has(i.index)){let a=r.leave.get(i.index),s=[];if(a){for(let l=0;l<a.animateFns.length;l++){let c=a.animateFns[l],{promise:u}=c();s.push(u)}r.detachedLeaveAnimationFns=void 0}r.running=Promise.allSettled(s),m8(t,n)}else t&&Tc.delete(t[vs]),n(!1)},r)}function m8(t,i){let e=t[cl]?.running;if(e){e.then(()=>{t[cl].running=void 0,Tc.delete(t[vs]),i(!0)});return}i(!1)}function p8(t,i){let e=t.cleanup,n=i[eu];if(e!==null)for(let a=0;a<e.length-1;a+=2)if(typeof e[a]=="string"){let s=e[a+3];s>=0?n[s]():n[-s].unsubscribe(),a+=2}else{let s=n[e[a+1]];e[a].call(s)}n!==null&&(i[eu]=null);let r=i[gs];if(r!==null){i[gs]=null;for(let a=0;a<r.length;a++){let s=r[a];s()}}let o=i[al];if(o!==null){i[al]=null;for(let a of o)a.destroy()}}function g8(t,i){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let n=0;n<e.length;n+=2){let r=i[e[n]];if(!(r instanceof Sc)){let o=e[n+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){let s=r[o[a]],l=o[a+1];Yt(Pt.LifecycleHookStart,s,l);try{l.call(s)}finally{Yt(Pt.LifecycleHookEnd,s,l)}}else{Yt(Pt.LifecycleHookStart,r,o);try{o.call(r)}finally{Yt(Pt.LifecycleHookEnd,r,o)}}}}}function eN(t,i,e){return _8(t,i.parent,e)}function _8(t,i,e){let n=i;for(;n!==null&&n.type&168;)i=n,n=i.parent;if(n===null)return e[Fo];if(Ta(n)){let{encapsulation:r}=t.data[n.directiveStart+n.componentOffset];if(r===Wo.None||r===Wo.Emulated)return null}return Jr(n,e)}function tN(t,i,e){return y8(t,i,e)}function v8(t,i,e){return t.type&40?Jr(t,e):null}var y8=v8,Vk;function vD(t,i,e,n){let r=eN(t,n,i),o=i[Jt],a=n.parent||i[Hi],s=tN(a,n,i);if(r!=null)if(Array.isArray(e))for(let l=0;l<e.length;l++)Nk(o,r,e[l],s,!1);else Nk(o,r,e,s,!1);Vk!==void 0&&Vk(o,n,i,e,r)}function zf(t,i){if(i!==null){let e=i.type;if(e&3)return Jr(i,t);if(e&4)return Ax(-1,t[i.index]);if(e&8){let n=i.child;if(n!==null)return zf(t,n);{let r=t[i.index];return Vo(r)?Ax(-1,r):Xr(r)}}else{if(e&128)return zf(t,i.next);if(e&32)return fD(i,t)()||Xr(t[i.index]);{let n=nN(t,i);if(n!==null){if(Array.isArray(n))return n[0];let r=sl(t[Di]);return zf(r,n)}else return zf(t,i.next)}}}return null}function nN(t,i){if(i!==null){let n=t[Di][Hi],r=i.projection;return n.projection[r]}return null}function Ax(t,i){let e=An+t+1;if(e<i.length){let n=i[e],r=n[ze].firstChild;if(r!==null)return zf(n,r)}return i[dl]}function yD(t,i,e,n,r,o,a){for(;e!=null;){let s=n[_s];if(e.type===128){e=e.next;continue}let l=n[e.index],c=e.type;if(a&&i===0&&(l&&uu(Xr(l),n),e.flags|=2),!ov(e))if(c&8)yD(t,i,e.child,n,r,o,!1),lu(i,t,s,r,l,e,o,n);else if(c&32){let u=fD(e,n),h;for(;h=u();)lu(i,t,s,r,h,e,o,n);lu(i,t,s,r,l,e,o,n)}else c&16?iN(t,i,n,e,r,o):lu(i,t,s,r,l,e,o,n);e=a?e.projectionNext:e.next}}function hv(t,i,e,n,r,o){yD(e,n,t.firstChild,i,r,o,!1)}function b8(t,i,e){let n=i[Jt],r=eN(t,e,i),o=e.parent||i[Hi],a=tN(o,e,i);iN(n,0,i,e,r,a)}function iN(t,i,e,n,r,o){let a=e[Di],l=a[Hi].projection[n.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let u=l[c];lu(i,t,e[_s],r,u,n,o,e)}else{let c=l,u=a[Gn];bO(n)&&(c.flags|=128),yD(t,i,c,u,r,o,!0)}}function C8(t,i,e,n,r,o,a){let s=n[dl],l=Xr(n);s!==l&&lu(i,t,e,o,s,r,a);for(let c=An;c<n.length;c++){let u=n[c];hv(u[ze],u,t,i,o,s)}}function w8(t,i,e,n,r){if(i)r?t.addClass(e,n):t.removeClass(e,n);else{let o=n.indexOf("-")===-1?void 0:qo.DashCase;r==null?t.removeStyle(e,n,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=qo.Important),t.setStyle(e,n,r,o))}}function rN(t,i,e,n,r){let o=Uo(),a=n&2;try{ul(-1),a&&i.length>mn&&QO(t,i,mn,!1);let s=a?Pt.TemplateUpdateStart:Pt.TemplateCreateStart;Yt(s,r,e),e(n,r)}finally{ul(o);let s=a?Pt.TemplateUpdateEnd:Pt.TemplateCreateEnd;Yt(s,r,e)}}function fv(t,i,e){S8(t,i,e),(e.flags&64)===64&&T8(t,i,e)}function tm(t,i,e=Jr){let n=i.localNames;if(n!==null){let r=i.index+1;for(let o=0;o<n.length;o+=2){let a=n[o+1],s=a===-1?e(i,t):t[a];t[r++]=s}}}function x8(t,i,e,n){let o=n.get(IO,TO)||e===Wo.ShadowDom||e===Wo.ExperimentalIsolatedShadowDom,a=t.selectRootElement(i,o);return D8(a),a}function D8(t){M8(t)}var M8=()=>null;function E8(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function oN(t,i,e,n,r,o){let a=i[ze];if(mv(t,a,i,e,n)){Ta(t)&&sN(i,t.index);return}t.type&3&&(e=E8(e)),aN(t,i,e,n,r,o)}function aN(t,i,e,n,r,o){if(t.type&3){let a=Jr(t,i);n=o!=null?o(n,t.value||"",e):n,r.setProperty(a,e,n)}else t.type&12}function sN(t,i){let e=eo(i,t);e[Xe]&16||(e[Xe]|=64)}function S8(t,i,e){let n=e.directiveStart,r=e.directiveEnd;Ta(e)&&r8(i,e,t.data[n+e.componentOffset]),t.firstCreatePass||z_(e,i);let o=e.initialInputs;for(let a=n;a<r;a++){let s=t.data[a],l=Wf(i,t,a,e);if(uu(l,i),o!==null&&k8(i,a-n,l,s,e,o),jo(s)){let c=eo(e.index,i);c[In]=Wf(i,t,a,e)}}}function T8(t,i,e){let n=e.directiveStart,r=e.directiveEnd,o=e.index,a=sk();try{ul(o);for(let s=n;s<r;s++){let l=t.data[s],c=i[s];w_(s),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&I8(l,c)}}finally{ul(-1),w_(a)}}function I8(t,i){t.hostBindings!==null&&t.hostBindings(1,i)}function bD(t,i){let e=t.directiveRegistry,n=null;if(e)for(let r=0;r<e.length;r++){let o=e[r];qO(i,o.selectors,!1)&&(n??=[],jo(o)?n.unshift(o):n.push(o))}return n}function A8(t,i,e,n,r,o){let a=Jr(t,i);lN(i[Jt],a,o,t.value,e,n,r)}function lN(t,i,e,n,r,o,a){if(o==null)t.removeAttribute(i,r,e);else{let s=a==null?Ro(o):a(o,n||"",r);t.setAttribute(i,r,s,e)}}function k8(t,i,e,n,r,o){let a=o[i];if(a!==null)for(let s=0;s<a.length;s+=2){let l=a[s],c=a[s+1];Tx(n,e,l,c)}}function CD(t,i,e,n,r){let o=mn+e,a=i[ze],s=r(a,i,t,n,e);i[o]=s,ru(t,!0);let l=t.type===2;return l?(HO(i[Jt],s,t),(ek()===0||nu(t))&&uu(s,i),tk()):uu(s,i),E_()&&(!l||!ov(t))&&vD(a,i,s,t),t}function wD(t){let i=t;return Ww()?qw():(i=i.parent,ru(i,!1)),i}function O8(t,i){let e=t[_s];if(!e)return;let n;try{n=e.get(Xi,null)}catch(r){n=null}n?.(i)}function mv(t,i,e,n,r){let o=t.inputs?.[n],a=t.hostDirectiveInputs?.[n],s=!1;if(a)for(let l=0;l<a.length;l+=2){let c=a[l],u=a[l+1],h=i.data[c];Tx(h,e[c],u,r),s=!0}if(o)for(let l of o){let c=e[l],u=i.data[l];Tx(u,c,n,r),s=!0}return s}function N8(t,i){let e=eo(i,t),n=e[ze];R8(n,e);let r=e[Fo];r!==null&&e[vc]===null&&(e[vc]=AO(r,e[_s])),Yt(Pt.ComponentStart);try{xD(n,e,e[In])}finally{Yt(Pt.ComponentEnd,e[In])}}function R8(t,i){for(let e=i.length;e<t.blueprint.length;e++)i.push(t.blueprint[e])}function xD(t,i,e){D_(i);try{let n=t.viewQuery;n!==null&&yx(1,n,e);let r=t.template;r!==null&&rN(t,i,r,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),i[Sa]?.finishViewCreation(t),t.staticContentQueries&&kO(t,i),t.staticViewQueries&&yx(2,t.viewQuery,e);let o=t.components;o!==null&&P8(i,o)}catch(n){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),n}finally{i[Xe]&=-5,M_()}}function P8(t,i){for(let e=0;e<i.length;e++)N8(t,i[e])}function nm(t,i,e,n){let r=Le(null);try{let o=i.tView,s=t[Xe]&4096?4096:16,l=uD(t,o,e,s,null,i,null,null,n?.injector??null,n?.embeddedViewInjector??null,n?.dehydratedView??null),c=t[i.index];l[ll]=c;let u=t[Sa];return u!==null&&(l[Sa]=u.createEmbeddedView(o)),xD(o,l,e),l}finally{Le(r)}}function hu(t,i){return!i||i.firstChild===null||bO(t)}function Gf(t,i,e,n,r=!1){for(;e!==null;){if(e.type===128){e=r?e.projectionNext:e.next;continue}let o=i[e.index];o!==null&&n.push(Xr(o)),Vo(o)&&cN(o,n);let a=e.type;if(a&8)Gf(t,i,e.child,n);else if(a&32){let s=fD(e,i),l;for(;l=s();)n.push(l)}else if(a&16){let s=nN(i,e);if(Array.isArray(s))n.push(...s);else{let l=sl(i[Di]);Gf(l[ze],l,s,n,!0)}}e=r?e.projectionNext:e.next}return n}function cN(t,i){for(let e=An;e<t.length;e++){let n=t[e],r=n[ze].firstChild;r!==null&&Gf(n[ze],n,r,i)}t[dl]!==t[Fo]&&i.push(t[dl])}function dN(t){if(t[Cc]!==null){for(let i of t[Cc])i.impl.addSequence(i);t[Cc].length=0}}var uN=[];function F8(t){return t[Er]??L8(t)}function L8(t){let i=uN.pop()??Object.create(j8);return i.lView=t,i}function V8(t){t.lView[Er]!==t&&(t.lView=null,uN.push(t))}var j8=Y(x({},Zs),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{Dc(t.lView)},consumerOnSignalRead(){this.lView[Er]=this}});function B8(t){let i=t[Er]??Object.create(U8);return i.lView=t,i}var U8=Y(x({},Zs),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let i=sl(t.lView);for(;i&&!hN(i[ze]);)i=sl(i);i&&Fw(i)},consumerOnSignalRead(){this.lView[Er]=this}});function hN(t){return t.type!==2}function fN(t){if(t[al]===null)return;let i=!0;for(;i;){let e=!1;for(let n of t[al])n.dirty&&(e=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));i=e&&!!(t[Xe]&8192)}}var H8=100;function mN(t,i=0){let n=t[Lo].rendererFactory,r=!1;r||n.begin?.();try{z8(t,i)}finally{r||n.end?.()}}function z8(t,i){let e=Gw();try{Df(!0),kx(t,i);let n=0;for(;Pf(t);){if(n===H8)throw new $(103,!1);n++,kx(t,1)}}finally{Df(e)}}function $8(t,i,e,n){if(xc(i))return;let r=i[Xe],o=!1,a=!1;D_(i);let s=!0,l=null,c=null;o||(hN(t)?(c=F8(i),l=ds(c)):Cg()===null?(s=!1,c=B8(i),l=ds(c)):i[Er]&&(Xs(i[Er]),i[Er]=null));try{Pw(i),rk(t.bindingStartIndex),e!==null&&rN(t,i,e,2,n);let u=(r&3)===3;if(!o)if(u){let p=t.preOrderCheckHooks;p!==null&&R_(i,p,null)}else{let p=t.preOrderHooks;p!==null&&P_(i,p,0,null),ix(i,0)}if(a||W8(i),fN(i),pN(i,0),t.contentQueries!==null&&kO(t,i),!o)if(u){let p=t.contentCheckHooks;p!==null&&R_(i,p)}else{let p=t.contentHooks;p!==null&&P_(i,p,1),ix(i,1)}G8(t,i);let h=t.components;h!==null&&_N(i,h,0);let m=t.viewQuery;if(m!==null&&yx(2,m,n),!o)if(u){let p=t.viewCheckHooks;p!==null&&R_(i,p)}else{let p=t.viewHooks;p!==null&&P_(i,p,2),ix(i,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),i[__]){for(let p of i[__])p();i[__]=null}o||(dN(i),i[Xe]&=-73)}catch(u){throw o||Dc(i),u}finally{c!==null&&(Ks(c,l),s&&V8(c)),M_()}}function pN(t,i){for(let e=wO(t);e!==null;e=xO(e))for(let n=An;n<e.length;n++){let r=e[n];gN(r,i)}}function W8(t){for(let i=wO(t);i!==null;i=xO(i)){if(!(i[Xe]&2))continue;let e=i[wc];for(let n=0;n<e.length;n++){let r=e[n];Fw(r)}}}function q8(t,i,e){Yt(Pt.ComponentStart);let n=eo(i,t);try{gN(n,e)}finally{Yt(Pt.ComponentEnd,n[In])}}function gN(t,i){y_(t)&&kx(t,i)}function kx(t,i){let n=t[ze],r=t[Xe],o=t[Er],a=!!(i===0&&r&16);if(a||=!!(r&64&&i===0),a||=!!(r&1024),a||=!!(o?.dirty&&jd(o)),a||=!1,o&&(o.dirty=!1),t[Xe]&=-9217,a)$8(n,t,n.template,t[In]);else if(r&8192){let s=Le(null);try{fN(t),pN(t,1);let l=n.components;l!==null&&_N(t,l,1),dN(t)}finally{Le(s)}}}function _N(t,i,e){for(let n=0;n<i.length;n++)q8(t,i[n],e)}function G8(t,i){let e=t.hostBindingOpCodes;if(e!==null)try{for(let n=0;n<e.length;n++){let r=e[n];if(r<0)ul(~r);else{let o=r,a=e[++n],s=e[++n];ak(a,o);let l=i[o];Yt(Pt.HostBindingsUpdateStart,l);try{s(2,l)}finally{Yt(Pt.HostBindingsUpdateEnd,l)}}}}finally{ul(-1)}}function DD(t,i){let e=Gw()?64:1088;for(t[Lo].changeDetectionScheduler?.notify(i);t;){t[Xe]|=e;let n=sl(t);if(iu(t)&&!n)return t;t=n}return null}function vN(t,i,e,n){return[t,!0,0,i,null,n,null,e,null,null]}function yN(t,i){let e=An+i;if(e<t.length)return t[e]}function im(t,i,e,n=!0){let r=i[ze];if(Y8(r,i,t,e),n){let a=Ax(e,t),s=i[Jt],l=s.parentNode(t[dl]);l!==null&&h8(r,t[Hi],s,i,l,a)}let o=i[vc];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function bN(t,i){let e=Yf(t,i);return e!==void 0&&uv(e[ze],e),e}function Yf(t,i){if(t.length<=An)return;let e=An+i,n=t[e];if(n){let r=n[ll];r!==null&&r!==t&&_D(r,n),i>0&&(t[e-1][Kr]=n[Kr]);let o=kf(t,An+i);u8(n[ze],n);let a=o[Sa];a!==null&&a.detachView(o[ze]),n[Gn]=null,n[Kr]=null,n[Xe]&=-129}return n}function Y8(t,i,e,n){let r=An+n,o=e.length;n>0&&(e[r-1][Kr]=i),n<o-An?(i[Kr]=e[r],ww(e,An+n,i)):(e.push(i),i[Kr]=null),i[Gn]=e;let a=i[ll];a!==null&&e!==a&&CN(a,i);let s=i[Sa];s!==null&&s.insertView(t),b_(i),i[Xe]|=128}function CN(t,i){let e=t[wc],n=i[Gn];if(ys(n))t[Xe]|=2;else{let r=n[Gn][Di];i[Di]!==r&&(t[Xe]|=2)}e===null?t[wc]=[i]:e.push(i)}var hl=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let i=this._lView,e=i[ze];return Gf(e,i,e.firstChild,[])}constructor(i,e){this._lView=i,this._cdRefInjectingView=e}get context(){return this._lView[In]}set context(i){this._lView[In]=i}get destroyed(){return xc(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let i=this._lView[Gn];if(Vo(i)){let e=i[Nf],n=e?e.indexOf(this):-1;n>-1&&(Yf(i,n),kf(e,n))}this._attachedToViewContainer=!1}uv(this._lView[ze],this._lView)}onDestroy(i){Lw(this._lView,i)}markForCheck(){DD(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Xe]&=-129}reattach(){b_(this._lView),this._lView[Xe]|=128}detectChanges(){this._lView[Xe]|=1024,mN(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new $(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let i=iu(this._lView),e=this._lView[ll];e!==null&&!i&&_D(e,this._lView),JO(this._lView[ze],this._lView)}attachToAppRef(i){if(this._attachedToViewContainer)throw new $(902,!1);this._appRef=i;let e=iu(this._lView),n=this._lView[ll];n!==null&&!e&&CN(n,this._lView),b_(this._lView)}};var fe=(()=>{class t{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=Q8;constructor(e,n,r){this._declarationLView=e,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,r){let o=nm(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:n,dehydratedView:r});return new hl(o)}}return t})();function Q8(){return pv(Qn(),Se())}function pv(t,i){return t.type&4?new fe(i,t,vu(t,i)):null}function yu(t,i,e,n,r){let o=t.data[i];if(o===null)o=Z8(t,i,e,n,r),ok()&&(o.flags|=32);else if(o.type&64){o.type=e,o.value=n,o.attrs=r;let a=nk();o.injectorIndex=a===null?-1:a.injectorIndex}return ru(o,!0),o}function Z8(t,i,e,n,r){let o=$w(),a=Ww(),s=a?o:o&&o.parent,l=t.data[i]=X8(t,s,e,i,n,r);return K8(t,l,o,a),l}function K8(t,i,e,n){t.firstChild===null&&(t.firstChild=i),e!==null&&(n?e.child==null&&i.parent!==null&&(e.child=i):e.next===null&&(e.next=i,i.prev=e))}function X8(t,i,e,n,r,o){let a=i?i.injectorIndex:-1,s=0;return Uw()&&(s|=128),{type:e,index:n,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:s,providerIndexes:0,value:r,namespace:Kw(),attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:i,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function J8(t){let i=t[Aw]??[],n=t[Gn][Jt],r=[];for(let o of i)o.data[SO]!==void 0?r.push(o):e5(o,n);t[Aw]=r}function e5(t,i){let e=0,n=t.firstChild;if(n){let r=t.data[EO];for(;e<r;){let o=n.nextSibling;UO(i,n,!1),n=o,e++}}}var t5=()=>null,n5=()=>null;function W_(t,i){return t5(t,i)}function wN(t,i,e){return n5(t,i,e)}var xN=class{},gv=class{},Ox=class{resolveComponentFactory(i){throw new $(917,!1)}},rm=class{static NULL=new Ox},kn=class{},Ge=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>i5()}return t})();function i5(){let t=Se(),i=Qn(),e=eo(i.index,t);return(ys(e)?e:t)[Jt]}var DN=(()=>{class t{static \u0275prov=M({token:t,providedIn:"root",factory:()=>null})}return t})();var L_={},Nx=class{injector;parentInjector;constructor(i,e){this.injector=i,this.parentInjector=e}get(i,e,n){let r=this.injector.get(i,L_,n);return r!==L_||e===L_?r:this.parentInjector.get(i,e,n)}};function q_(t,i,e){let n=e?t.styles:null,r=e?t.classes:null,o=0;if(i!==null)for(let a=0;a<i.length;a++){let s=i[a];if(typeof s=="number")o=s;else if(o==1)r=l_(r,s);else if(o==2){let l=s,c=i[++a];n=l_(n,l+": "+c+";")}}e?t.styles=n:t.stylesWithoutHost=n,e?t.classes=r:t.classesWithoutHost=r}function Ve(t,i=0){let e=Se();if(e===null)return j(t,i);let n=Qn();return gO(n,e,qn(t),i)}function Oc(){let t="invalid";throw new Error(t)}function MN(t,i,e,n,r){let o=n===null?null:{"":-1},a=r(t,e);if(a!==null){let s=a,l=null,c=null;for(let u of a)if(u.resolveHostDirectives!==null){[s,l,c]=u.resolveHostDirectives(a);break}a5(t,i,e,s,o,l,c)}o!==null&&n!==null&&r5(e,n,o)}function r5(t,i,e){let n=t.localNames=[];for(let r=0;r<i.length;r+=2){let o=e[i[r+1]];if(o==null)throw new $(-301,!1);n.push(i[r],o)}}function o5(t,i,e){i.componentOffset=e,(t.components??=[]).push(i.index)}function a5(t,i,e,n,r,o,a){let s=n.length,l=null;for(let m=0;m<s;m++){let p=n[m];l===null&&jo(p)&&(l=p,o5(t,e,m)),px(z_(e,i),t,p.type)}h5(e,t.data.length,s),l?.viewProvidersResolver&&l.viewProvidersResolver(l);for(let m=0;m<s;m++){let p=n[m];p.providersResolver&&p.providersResolver(p)}let c=!1,u=!1,h=YO(t,i,s,null);s>0&&(e.directiveToIndex=new Map);for(let m=0;m<s;m++){let p=n[m];if(e.mergedAttrs=du(e.mergedAttrs,p.hostAttrs),l5(t,e,i,h,p),u5(h,p,r),a!==null&&a.has(p)){let[D,A]=a.get(p);e.directiveToIndex.set(p.type,[h,D+e.directiveStart,A+e.directiveStart])}else(o===null||!o.has(p))&&e.directiveToIndex.set(p.type,h);p.contentQueries!==null&&(e.flags|=4),(p.hostBindings!==null||p.hostAttrs!==null||p.hostVars!==0)&&(e.flags|=64);let b=p.type.prototype;!c&&(b.ngOnChanges||b.ngOnInit||b.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),c=!0),!u&&(b.ngOnChanges||b.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),u=!0),h++}s5(t,e,o)}function s5(t,i,e){for(let n=i.directiveStart;n<i.directiveEnd;n++){let r=t.data[n];if(e===null||!e.has(r))jk(0,i,r,n),jk(1,i,r,n),Uk(i,n,!1);else{let o=e.get(r);Bk(0,i,o,n),Bk(1,i,o,n),Uk(i,n,!0)}}}function jk(t,i,e,n){let r=t===0?e.inputs:e.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a;t===0?a=i.inputs??={}:a=i.outputs??={},a[o]??=[],a[o].push(n),EN(i,o)}}function Bk(t,i,e,n){let r=t===0?e.inputs:e.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a=r[o],s;t===0?s=i.hostDirectiveInputs??={}:s=i.hostDirectiveOutputs??={},s[a]??=[],s[a].push(n,o),EN(i,a)}}function EN(t,i){i==="class"?t.flags|=8:i==="style"&&(t.flags|=16)}function Uk(t,i,e){let{attrs:n,inputs:r,hostDirectiveInputs:o}=t;if(n===null||!e&&r===null||e&&o===null||cD(t)){t.initialInputs??=[],t.initialInputs.push(null);return}let a=null,s=0;for(;s<n.length;){let l=n[s];if(l===0){s+=4;continue}else if(l===5){s+=2;continue}else if(typeof l=="number")break;if(!e&&r.hasOwnProperty(l)){let c=r[l];for(let u of c)if(u===i){a??=[],a.push(l,n[s+1]);break}}else if(e&&o.hasOwnProperty(l)){let c=o[l];for(let u=0;u<c.length;u+=2)if(c[u]===i){a??=[],a.push(c[u+1],n[s+1]);break}}s+=2}t.initialInputs??=[],t.initialInputs.push(a)}function l5(t,i,e,n,r){t.data[n]=r;let o=r.factory||(r.factory=ol(r.type,!0)),a=new Sc(o,jo(r),Ve,null);t.blueprint[n]=a,e[n]=a,c5(t,i,n,YO(t,e,r.hostVars,oi),r)}function c5(t,i,e,n,r){let o=r.hostBindings;if(o){let a=t.hostBindingOpCodes;a===null&&(a=t.hostBindingOpCodes=[]);let s=~i.index;d5(a)!=s&&a.push(s),a.push(e,n,o)}}function d5(t){let i=t.length;for(;i>0;){let e=t[--i];if(typeof e=="number"&&e<0)return e}return 0}function u5(t,i,e){if(e){if(i.exportAs)for(let n=0;n<i.exportAs.length;n++)e[i.exportAs[n]]=t;jo(i)&&(e[""]=t)}}function h5(t,i,e){t.flags|=1,t.directiveStart=i,t.directiveEnd=i+e,t.providerIndexes=i}function MD(t,i,e,n,r,o,a,s){let l=i[ze],c=l.consts,u=Sr(c,a),h=yu(l,t,e,n,u);return o&&MN(l,i,h,Sr(c,s),r),h.mergedAttrs=du(h.mergedAttrs,h.attrs),h.attrs!==null&&q_(h,h.attrs,!1),h.mergedAttrs!==null&&q_(h,h.mergedAttrs,!0),l.queries!==null&&l.queries.elementStart(l,h),h}function ED(t,i){sO(t,i),kw(i)&&t.queries.elementEnd(i)}function f5(t,i,e,n,r,o){let a=i.consts,s=Sr(a,r),l=yu(i,t,e,n,s);if(l.mergedAttrs=du(l.mergedAttrs,l.attrs),o!=null){let c=Sr(a,o);l.localNames=[];for(let u=0;u<c.length;u+=2)l.localNames.push(c[u],-1)}return l.attrs!==null&&q_(l,l.attrs,!1),l.mergedAttrs!==null&&q_(l,l.mergedAttrs,!0),i.queries!==null&&i.queries.elementStart(i,l),l}function SD(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Nc(t,i,e){return t[i]=e}function TD(t,i){return t[i]}function zi(t,i,e){if(e===oi)return!1;let n=t[i];return Object.is(n,e)?!1:(t[i]=e,!0)}function fu(t,i,e,n){let r=zi(t,i,e);return zi(t,i+1,n)||r}function SN(t,i,e,n,r){let o=fu(t,i,e,n);return zi(t,i+2,r)||o}function G_(t,i,e,n,r,o){let a=fu(t,i,e,n);return fu(t,i+2,r,o)||a}function V_(t,i,e){return function n(r){let o=n.__ngNativeEl__;o!==void 0&&h$(r,o);let a=Ta(t)?eo(t.index,i):i;DD(a,5);let s=i[In],l=Hk(i,s,e,r),c=n.__ngNextListenerFn__;for(;c;)l=Hk(i,s,c,r)&&l,c=c.__ngNextListenerFn__;return l}}function Hk(t,i,e,n){let r=Le(null);try{return Yt(Pt.OutputStart,i,e),e(n)!==!1}catch(o){return O8(t,o),!1}finally{Yt(Pt.OutputEnd,i,e),Le(r)}}function TN(t,i,e,n,r,o,a,s){let l=nu(t),c=!1,u=null;if(!n&&l&&(u=p5(i,e,o,t.index)),u!==null){let h=u.__ngLastListenerFn__||u;h.__ngNextListenerFn__=a,u.__ngLastListenerFn__=a,c=!0}else{let h=Jr(t,e),m=n?n(h):h;m$(e,m,o,s),n||(s.__ngNativeEl__=h);let p=r.listen(m,o,s);if(!m5(o)){let b=n?D=>n(Xr(D[t.index])):t.index;IN(b,i,e,o,s,p,!1)}}return c}function m5(t){return t.startsWith("animation")||t.startsWith("transition")}function p5(t,i,e,n){let r=t.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let a=r[o];if(a===e&&r[o+1]===n){let s=i[eu],l=r[o+2];return s&&s.length>l?s[l]:null}
vendor: 11,737 bytes, line 4
4typeof a=="string"&&(o+=2)}return null}function IN(t,i,e,n,r,o,a){let s=i.firstCreatePass?jw(i):null,l=Vw(e),c=l.length;l.push(r,o),s&&s.push(n,t,c,(c+1)*(a?-1:1))}function zk(t,i,e,n,r,o){let a=i[e],s=i[ze],c=s.data[e].outputs[n],h=a[c].subscribe(o);IN(t.index,s,i,r,o,h,!0)}var Rx=Symbol("BINDING");function AN(t){return t.debugInfo?.className||t.type.name||null}var Y_=class extends rm{ngModule;constructor(i){super(),this.ngModule=i}resolveComponentFactory(i){let e=Ma(i);return new fl(e,this.ngModule)}};function g5(t){return Object.keys(t).map(i=>{let[e,n,r]=t[i],o={propName:e,templateName:i,isSignal:(n&lv.SignalBased)!==0};return r&&(o.transform=r),o})}function _5(t){return Object.keys(t).map(i=>({propName:t[i],templateName:i}))}function v5(t,i,e){let n=i instanceof Bt?i:i?.injector;return n&&t.getStandaloneInjector!==null&&(n=t.getStandaloneInjector(n)||n),n?new Nx(e,n):e}function y5(t){let i=t.get(kn,null);if(i===null)throw new $(407,!1);let e=t.get(DN,null),n=t.get(No,null),r=t.get(Go,null,{optional:!0});return{rendererFactory:i,sanitizer:e,changeDetectionScheduler:n,ngReflect:!1,tracingService:r}}function b5(t,i){let e=kN(t);return jO(i,e,e==="svg"?Ow:e==="math"?Y1:null)}function C5(t){if(t?.toLowerCase()==="script")throw new $(905,!1)}function kN(t){return(t.selectors[0][0]||"div").toLowerCase()}var fl=class extends gv{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=g5(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=_5(this.componentDef.outputs),this.cachedOutputs}constructor(i,e){super(),this.componentDef=i,this.ngModule=e,this.componentType=i.type,this.selector=e8(i.selectors),this.ngContentSelectors=i.ngContentSelectors??[],this.isBoundToModule=!!e}create(i,e,n,r,o,a){Yt(Pt.DynamicComponentStart);let s=Le(null);try{let l=this.componentDef,c=v5(l,r||this.ngModule,i),u=y5(c),h=u.tracingService;return h&&h.componentCreate?h.componentCreate(AN(l),()=>this.createComponentRef(u,c,e,n,o,a)):this.createComponentRef(u,c,e,n,o,a)}finally{Le(s)}}createComponentRef(i,e,n,r,o,a){let s=this.componentDef,l=w5(r,s,a,o),c=i.rendererFactory.createRenderer(null,s),u=r?x8(c,r,s.encapsulation,e):b5(s,c);C5(u?.tagName);let h=a?.some($k)||o?.some(b=>typeof b!="function"&&b.bindings.some($k)),m=uD(null,l,null,512|GO(s),null,null,i,c,e,null,AO(u,e,!0));m[mn]=u,D_(m);let p=null;try{let b=MD(mn,m,2,"#host",()=>l.directiveRegistry,!0,0);HO(c,u,b),uu(u,m),fv(l,m,b),tD(l,b,m),ED(l,b),n!==void 0&&D5(b,this.ngContentSelectors,n),p=eo(b.index,m),m[In]=p[In],xD(l,m,null)}catch(b){throw p!==null&&_x(p),_x(m),b}finally{Yt(Pt.DynamicComponentEnd),M_()}return new Q_(this.componentType,m,!!h)}};function w5(t,i,e,n){let r=t?["ng-version","21.2.19"]:t8(i.selectors[0]),o=null,a=null,s=0;if(e)for(let u of e)s+=u[Rx].requiredVars,u.create&&(u.targetIdx=0,(o??=[]).push(u)),u.update&&(u.targetIdx=0,(a??=[]).push(u));if(n)for(let u=0;u<n.length;u++){let h=n[u];if(typeof h!="function")for(let m of h.bindings){s+=m[Rx].requiredVars;let p=u+1;m.create&&(m.targetIdx=p,(o??=[]).push(m)),m.update&&(m.targetIdx=p,(a??=[]).push(m))}}let l=[i];if(n)for(let u of n){let h=typeof u=="function"?u:u.type,m=d_(h);l.push(m)}return dD(0,null,x5(o,a),1,s,l,null,null,null,[r],null)}function x5(t,i){return!t&&!i?null:e=>{if(e&1&&t)for(let n of t)n.create();if(e&2&&i)for(let n of i)n.update()}}function $k(t){let i=t[Rx].kind;return i==="input"||i==="twoWay"}var Q_=class extends xN{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(i,e,n){super(),this._rootLView=e,this._hasInputBindings=n,this._tNode=v_(e[ze],mn),this.location=vu(this._tNode,e),this.instance=eo(this._tNode.index,e)[In],this.hostView=this.changeDetectorRef=new hl(e,void 0),this.componentType=i}setInput(i,e){this._hasInputBindings;let n=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(i)&&Object.is(this.previousInputValues.get(i),e))return;let r=this._rootLView,o=mv(n,r[ze],r,i,e);this.previousInputValues.set(i,e);let a=eo(n.index,r);DD(a,1)}get injector(){return new Ec(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(i){this.hostView.onDestroy(i)}};function D5(t,i,e){let n=t.projection=[];for(let r=0;r<i.length;r++){let o=e[r];n.push(o!=null&&o.length?Array.from(o):null)}}var wn=(()=>{class t{static __NG_ELEMENT_ID__=M5}return t})();function M5(){let t=Qn();return ON(t,Se())}var Px=class t extends wn{_lContainer;_hostTNode;_hostLView;constructor(i,e,n){super(),this._lContainer=i,this._hostTNode=e,this._hostLView=n}get element(){return vu(this._hostTNode,this._hostLView)}get injector(){return new Ec(this._hostTNode,this._hostLView)}get parentInjector(){let i=Xx(this._hostTNode,this._hostLView);if(dO(i)){let e=U_(i,this._hostLView),n=B_(i),r=e[ze].data[n+8];return new Ec(r,e)}else return new Ec(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(i){let e=Wk(this._lContainer);return e!==null&&e[i]||null}get length(){return this._lContainer.length-An}createEmbeddedView(i,e,n){let r,o;typeof n=="number"?r=n:n!=null&&(r=n.index,o=n.injector);let a=W_(this._lContainer,i.ssrId),s=i.createEmbeddedViewImpl(e||{},o,a);return this.insertImpl(s,r,hu(this._hostTNode,a)),s}createComponent(i,e,n,r,o,a,s){let l=i&&!Uz(i),c;if(l)c=e;else{let A=e||{};c=A.index,n=A.injector,r=A.projectableNodes,o=A.environmentInjector||A.ngModuleRef,a=A.directives,s=A.bindings}let u=l?i:new fl(Ma(i)),h=n||this.parentInjector;if(!o&&u.ngModule==null){let k=(l?h:this.parentInjector).get(Bt,null);k&&(o=k)}let m=Ma(u.componentType??{}),p=W_(this._lContainer,m?.id??null),b=p?.firstChild??null,D=u.create(h,r,b,o,a,s);return this.insertImpl(D.hostView,c,hu(this._hostTNode,p)),D}insert(i,e){return this.insertImpl(i,e,!0)}insertImpl(i,e,n){let r=i._lView;if(Z1(r)){let s=this.indexOf(i);if(s!==-1)this.detach(s);else{let l=r[Gn],c=new t(l,l[Hi],l[Gn]);c.detach(c.indexOf(i))}}let o=this._adjustIndex(e),a=this._lContainer;return im(a,r,o,n),i.attachToViewContainerRef(),ww(ax(a),o,i),i}move(i,e){return this.insert(i,e)}indexOf(i){let e=Wk(this._lContainer);return e!==null?e.indexOf(i):-1}remove(i){let e=this._adjustIndex(i,-1),n=Yf(this._lContainer,e);n&&(kf(ax(this._lContainer),e),uv(n[ze],n))}detach(i){let e=this._adjustIndex(i,-1),n=Yf(this._lContainer,e);return n&&kf(ax(this._lContainer),e)!=null?new hl(n):null}_adjustIndex(i,e=0){return i??this.length+e}};function Wk(t){return t[Nf]}function ax(t){return t[Nf]||(t[Nf]=[])}function ON(t,i){let e,n=i[t.index];return Vo(n)?e=n:(e=vN(n,i,null,t),i[t.index]=e,hD(i,e)),S5(e,i,t,n),new Px(e,t,i)}function E5(t,i){let e=t[Jt],n=e.createComment(""),r=Jr(i,t),o=e.parentNode(r);return $_(e,o,n,e.nextSibling(r),!1),n}var S5=A5,T5=()=>!1;function I5(t,i,e){return T5(t,i,e)}function A5(t,i,e,n){if(t[dl])return;let r;e.type&8?r=Xr(n):r=E5(i,e),t[dl]=r}var Fx=class t{queryList;matches=null;constructor(i){this.queryList=i}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Lx=class t{queries;constructor(i=[]){this.queries=i}createEmbeddedView(i){let e=i.queries;if(e!==null){let n=i.contentQueries!==null?i.contentQueries[0]:e.length,r=[];for(let o=0;o<n;o++){let a=e.getByIndex(o),s=this.queries[a.indexInDeclarationView];r.push(s.clone())}return new t(r)}return null}insertView(i){this.dirtyQueriesWithMatches(i)}detachView(i){this.dirtyQueriesWithMatches(i)}finishViewCreation(i){this.dirtyQueriesWithMatches(i)}dirtyQueriesWithMatches(i){for(let e=0;e<this.queries.length;e++)AD(i,e).matches!==null&&this.queries[e].setDirty()}},Z_=class{flags;read;predicate;constructor(i,e,n=null){this.flags=e,this.read=n,typeof i=="string"?this.predicate=P5(i):this.predicate=i}},Vx=class t{queries;constructor(i=[]){this.queries=i}elementStart(i,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(i,e)}elementEnd(i){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(i)}embeddedTView(i){let e=null;for(let n=0;n<this.length;n++){let r=e!==null?e.length:0,o=this.getByIndex(n).embeddedTView(i,r);o&&(o.indexInDeclarationView=n,e!==null?e.push(o):e=[o])}return e!==null?new t(e):null}template(i,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(i,e)}getByIndex(i){return this.queries[i]}get length(){return this.queries.length}track(i){this.queries.push(i)}},jx=class t{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(i,e=-1){this.metadata=i,this._declarationNodeIndex=e}elementStart(i,e){this.isApplyingToNode(e)&&this.matchTNode(i,e)}elementEnd(i){this._declarationNodeIndex===i.index&&(this._appliesToNextNode=!1)}template(i,e){this.elementStart(i,e)}embeddedTView(i,e){return this.isApplyingToNode(i)?(this.crossesNgTemplate=!0,this.addMatch(-i.index,e),new t(this.metadata)):null}isApplyingToNode(i){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,n=i.parent;for(;n!==null&&n.type&8&&n.index!==e;)n=n.parent;return e===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(i,e){let n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){let o=n[r];this.matchTNodeWithReadOption(i,e,k5(e,o)),this.matchTNodeWithReadOption(i,e,F_(e,i,o,!1,!1))}else n===fe?e.type&4&&this.matchTNodeWithReadOption(i,e,-1):this.matchTNodeWithReadOption(i,e,F_(e,i,n,!1,!1))}matchTNodeWithReadOption(i,e,n){if(n!==null){let r=this.metadata.read;if(r!==null)if(r===Q||r===wn||r===fe&&e.type&4)this.addMatch(e.index,-2);else{let o=F_(e,i,r,!1,!1);o!==null&&this.addMatch(e.index,o)}else this.addMatch(e.index,n)}}addMatch(i,e){this.matches===null?this.matches=[i,e]:this.matches.push(i,e)}};function k5(t,i){let e=t.localNames;if(e!==null){for(let n=0;n<e.length;n+=2)if(e[n]===i)return e[n+1]}return null}function O5(t,i){return t.type&11?vu(t,i):t.type&4?pv(t,i):null}function N5(t,i,e,n){return e===-1?O5(i,t):e===-2?R5(t,i,n):Wf(t,t[ze],e,i)}function R5(t,i,e){if(e===Q)return vu(i,t);if(e===fe)return pv(i,t);if(e===wn)return ON(i,t)}function NN(t,i,e,n){let r=i[Sa].queries[n];if(r.matches===null){let o=t.data,a=e.matches,s=[];for(let l=0;a!==null&&l<a.length;l+=2){let c=a[l];if(c<0)s.push(null);else{let u=o[c];s.push(N5(i,u,a[l+1],e.metadata.read))}}r.matches=s}return r.matches}function Bx(t,i,e,n){let r=t.queries.getByIndex(e),o=r.matches;if(o!==null){let a=NN(t,i,r,e);for(let s=0;s<o.length;s+=2){let l=o[s];if(l>0)n.push(a[s/2]);else{let c=o[s+1],u=i[-l];for(let h=An;h<u.length;h++){let m=u[h];m[ll]===m[Gn]&&Bx(m[ze],m,c,n)}if(u[wc]!==null){let h=u[wc];for(let m=0;m<h.length;m++){let p=h[m];Bx(p[ze],p,c,n)}}}}}return n}function ID(t,i){return t[Sa].queries[i].queryList}function RN(t,i,e){let n=new Tr((e&4)===4);return J1(t,i,n,n.destroy),(i[Sa]??=new Lx).queries.push(new Fx(n))-1}function PN(t,i,e){let n=sn();return n.firstCreatePass&&(LN(n,new Z_(t,i,e),-1),(i&2)===2&&(n.staticViewQueries=!0)),RN(n,Se(),i)}function FN(t,i,e,n){let r=sn();if(r.firstCreatePass){let o=Qn();LN(r,new Z_(i,e,n),o.index),F5(r,t),(e&2)===2&&(r.staticContentQueries=!0)}return RN(r,Se(),e)}function P5(t){return t.split(",").map(i=>i.trim())}function LN(t,i,e){t.queries===null&&(t.queries=new Vx),t.queries.track(new jx(i,e))}function F5(t,i){let e=t.contentQueries||(t.contentQueries=[]),n=e.length?e[e.length-1]:-1;i!==n&&e.push(t.queries.length-1,i)}function AD(t,i){return t.queries.getByIndex(i)}function VN(t,i){let e=t[ze],n=AD(e,i);return n.crossesNgTemplate?Bx(e,t,i,[]):NN(e,t,n,i)}function kD(t,i,e){let n,r=af(()=>{n._dirtyCounter();let o=L5(n,t);if(i&&o===void 0)throw new $(-951,!1);return o}
vendor: 21,481 bytes, line 4
4);return n=r[Tn],n._dirtyCounter=re(0),n._flatValue=void 0,r}function OD(t){return kD(!0,!1,t)}function ND(t){return kD(!0,!0,t)}function RD(t){return kD(!1,!1,t)}function jN(t,i){let e=t[Tn];e._lView=Se(),e._queryIndex=i,e._queryList=ID(e._lView,i),e._queryList.onDirty(()=>e._dirtyCounter.update(n=>n+1))}function L5(t,i){let e=t._lView,n=t._queryIndex;if(e===void 0||n===void 0||e[Xe]&4)return i?void 0:xi;let r=ID(e,n),o=VN(e,n);return r.reset(o,yO),i?r.first:r._changesDetected||t._flatValue===void 0?t._flatValue=r.toArray():t._flatValue}var Oa=class{},_v=class{};var K_=class extends Oa{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Y_(this);constructor(i,e,n,r=!0){super(),this.ngModuleType=i,this._parent=e;let o=yw(i);this._bootstrapComponents=$O(o.bootstrap),this._r3Injector=Xw(i,e,[{provide:Oa,useValue:this},{provide:rm,useValue:this.componentFactoryResolver},...n],Sf(i),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let i=this._r3Injector;!i.destroyed&&i.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(i){this.destroyCbs.push(i)}},X_=class extends _v{moduleType;constructor(i){super(),this.moduleType=i}create(i){return new K_(this.moduleType,i,[])}};var Qf=class extends Oa{injector;componentFactoryResolver=new Y_(this);instance=null;constructor(i){super();let e=new pc([...i.providers,{provide:Oa,useValue:this},{provide:rm,useValue:this.componentFactoryResolver}],i.parent||Jd(),i.debugName,new Set(["environment"]));this.injector=e,i.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(i){this.injector.onDestroy(i)}};function bu(t,i,e=null){return new Qf({providers:t,parent:i,debugName:e,runEnvironmentInitializers:!0}).injector}var V5=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let n=Mw(!1,e.type),r=n.length>0?bu([n],this._injector,""):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=M({token:t,providedIn:"environment",factory:()=>new t(j(Bt))})}return t})();function F(t){return gu(()=>{let i=BN(t),e=Y(x({},i),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Jx.OnPush,directiveDefs:null,pipeDefs:null,dependencies:i.standalone&&t.dependencies||null,getStandaloneInjector:i.standalone?r=>r.get(V5).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Wo.Emulated,styles:t.styles||xi,_:null,schemas:t.schemas||null,tView:null,id:""});i.standalone&&er("NgStandalone"),UN(e);let n=t.dependencies;return e.directiveDefs=qk(n,j5),e.pipeDefs=qk(n,R1),e.id=H5(e),e})}function j5(t){return Ma(t)||d_(t)}function G(t){return gu(()=>({type:t.type,bootstrap:t.bootstrap||xi,declarations:t.declarations||xi,imports:t.imports||xi,exports:t.exports||xi,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function B5(t,i){if(t==null)return Po;let e={};for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o,a,s,l;Array.isArray(r)?(s=r[0],o=r[1],a=r[2]??o,l=r[3]||null):(o=r,a=r,s=lv.None,l=null),e[o]=[n,s,l],i[o]=a}return e}function U5(t){if(t==null)return Po;let i={};for(let e in t)t.hasOwnProperty(e)&&(i[t[e]]=e);return i}function W(t){return gu(()=>{let i=BN(t);return UN(i),i})}function Rc(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function BN(t){let i={};return{type:t.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:i,inputConfig:t.inputs||Po,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||xi,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:B5(t.inputs,i),outputs:U5(t.outputs),debugInfo:null}}function UN(t){t.features?.forEach(i=>i(t))}function qk(t,i){return t?()=>{let e=typeof t=="function"?t():t,n=[];for(let r of e){let o=i(r);o!==null&&n.push(o)}return n}:null}function H5(t){let i=0,e=typeof t.consts=="function"?"":t.consts,n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,e,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(let o of n.join("|"))i=Math.imul(31,i)+o.charCodeAt(0)<<0;return i+=2147483648,"c"+i}function PD(t){let i=e=>{let n=Array.isArray(t);e.hostDirectives===null?(e.resolveHostDirectives=z5,e.hostDirectives=n?t.map(Ux):[t]):n?e.hostDirectives.unshift(...t.map(Ux)):e.hostDirectives.unshift(t)};return i.ngInherit=!0,i}function z5(t){let i=[],e=!1,n=null,r=null;for(let o=0;o<t.length;o++){let a=t[o];if(a.hostDirectives!==null){let s=i.length;n??=new Map,r??=new Map,HN(a,i,n),r.set(a,[s,i.length-1])}o===0&&jo(a)&&(e=!0,i.push(a))}for(let o=e?1:0;o<t.length;o++)i.push(t[o]);return[i,n,r]}function HN(t,i,e){if(t.hostDirectives!==null)for(let n of t.hostDirectives)if(typeof n=="function"){let r=n();for(let o of r)Gk(Ux(o),i,e)}else Gk(n,i,e)}function Gk(t,i,e){let n=d_(t.directive);$5(n.declaredInputs,t.inputs),HN(n,i,e),e.set(n,t),i.push(n)}function Ux(t){return typeof t=="function"?{directive:qn(t),inputs:Po,outputs:Po}:{directive:qn(t.directive),inputs:Yk(t.inputs),outputs:Yk(t.outputs)}}function Yk(t){if(t===void 0||t.length===0)return Po;let i={};for(let e=0;e<t.length;e+=2)i[t[e]]=t[e+1];return i}function $5(t,i){for(let e in i)if(i.hasOwnProperty(e)){let n=i[e],r=t[e];t[n]=r}}function W5(t){return Object.getPrototypeOf(t.prototype).constructor}function Je(t){let i=W5(t.type),e=!0,n=[t];for(;i&&i!==Function.prototype&&i!==Object.prototype;){let r,o=Object.hasOwn(i,If)?i[If]:void 0,a=Object.hasOwn(i,Af)?i[Af]:void 0;if(jo(t))r=o??a;else{if(o)throw new $(903,!1);r=a}if(r){if(e){n.push(r);let l=t;l.inputs=sx(t.inputs),l.declaredInputs=sx(t.declaredInputs),l.outputs=sx(t.outputs);let c=r.hostBindings;c&&Z5(t,c);let u=r.viewQuery,h=r.contentQueries;if(u&&Y5(t,u),h&&Q5(t,h),q5(t,r),N1(t.outputs,r.outputs),jo(r)&&r.data.animation){let m=t.data;m.animation=(m.animation||[]).concat(r.data.animation)}}let s=r.features;if(s)for(let l=0;l<s.length;l++){let c=s[l];c&&c.ngInherit&&c(t),c===Je&&(e=!1)}}i=Object.getPrototypeOf(i)}G5(n)}function q5(t,i){for(let e in i.inputs){if(!i.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let n=i.inputs[e];n!==void 0&&(t.inputs[e]=n,t.declaredInputs[e]=i.declaredInputs[e])}}function G5(t){let i=0,e=null;for(let n=t.length-1;n>=0;n--){let r=t[n];r.hostVars=i+=r.hostVars,r.hostAttrs=du(r.hostAttrs,e=du(e,r.hostAttrs))}}function sx(t){return t===Po?{}:t===xi?[]:t}function Y5(t,i){let e=t.viewQuery;e?t.viewQuery=(n,r)=>{i(n,r),e(n,r)}:t.viewQuery=i}function Q5(t,i){let e=t.contentQueries;e?t.contentQueries=(n,r,o)=>{i(n,r,o),e(n,r,o)}:t.contentQueries=i}function Z5(t,i){let e=t.hostBindings;e?t.hostBindings=(n,r)=>{i(n,r),e(n,r)}:t.hostBindings=i}function zN(t,i,e,n,r,o,a,s){if(e.firstCreatePass){t.mergedAttrs=du(t.mergedAttrs,t.attrs);let u=t.tView=dD(2,t,r,o,a,e.directiveRegistry,e.pipeRegistry,null,e.schemas,e.consts,null);e.queries!==null&&(e.queries.template(e,t),u.queries=e.queries.embeddedTView(t))}s&&(t.flags|=s),ru(t,!1);let l=X5(e,i,t,n);E_()&&vD(e,i,l,t),uu(l,i);let c=vN(l,i,l,t);i[n+mn]=c,hD(i,c),I5(c,t,i)}function K5(t,i,e,n,r,o,a,s,l,c,u){let h=e+mn,m;return i.firstCreatePass?(m=yu(i,h,4,a||null,s||null),C_()&&MN(i,t,m,Sr(i.consts,c),bD),sO(i,m)):m=i.data[h],zN(m,t,i,e,n,r,o,l),nu(m)&&fv(i,t,m),c!=null&&tm(t,m,u),m}function mu(t,i,e,n,r,o,a,s,l,c,u){let h=e+mn,m;if(i.firstCreatePass){if(m=yu(i,h,4,a||null,s||null),c!=null){let p=Sr(i.consts,c);m.localNames=[];for(let b=0;b<p.length;b+=2)m.localNames.push(p[b],-1)}}else m=i.data[h];return zN(m,t,i,e,n,r,o,l),c!=null&&tm(t,m,u),m}function se(t,i,e,n,r,o,a,s){let l=Se(),c=sn(),u=Sr(c.consts,o);return K5(l,c,t,i,e,n,r,u,void 0,a,s),se}function Pc(t,i,e,n,r,o,a,s){let l=Se(),c=sn(),u=Sr(c.consts,o);return mu(l,c,t,i,e,n,r,u,void 0,a,s),Pc}var X5=J5;function J5(t,i,e,n){return jf(!0),i[Jt].createComment("")}var vv=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function Ra(t){return typeof t=="function"&&t[Tn]!==void 0}function FD(t){return Ra(t)&&typeof t.set=="function"}var LD=new T("");function xs(t){return!!t&&typeof t.then=="function"}function yv(t){return!!t&&typeof t.subscribe=="function"}var VD=new T("");function gl(t){return ri([{provide:VD,multi:!0,useValue:t}])}var jD=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,n)=>{this.resolve=e,this.reject=n});appInits=d(VD,{optional:!0})??[];injector=d(he);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let o=Yn(this.injector,r);if(xs(o))e.push(o);else if(yv(o)){let a=new Promise((s,l)=>{o.subscribe({complete:s,error:l})});e.push(a)}}let n=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{n()}).catch(r=>{this.reject(r)}),e.length===0&&n(),this.initialized=!0}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Fc=new T("");function $N(){kC(()=>{let t="";throw new $(600,t)})}function WN(t){return t.isBoundToModule}var e6=10;var $i=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=d(Xi);afterRenderManager=d(dv);zonelessEnabled=d(su);rootEffectScheduler=d(T_);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new V;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=d(Aa);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(X(e=>!e))}constructor(){d(Go,{optional:!0})}whenStable(){let e;return new Promise(n=>{e=this.isStable.subscribe({next:r=>{r&&n()}})}).finally(()=>{e.unsubscribe()})}_injector=d(Bt);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,n){return this.bootstrapImpl(e,n)}bootstrapImpl(e,n,r=he.NULL){return this._injector.get(ne).run(()=>{Yt(Pt.BootstrapComponentStart);let a=e instanceof gv;if(!this._injector.get(jD).done){let b="";throw new $(405,b)}let l;a?l=e:l=this._injector.get(rm).resolveComponentFactory(e),this.componentTypes.push(l.componentType);let c=WN(l)?void 0:this._injector.get(Oa),u=n||l.selector,h=l.create(r,[],u,c),m=h.location.nativeElement,p=h.injector.get(LD,null);return p?.registerApplication(m),h.onDestroy(()=>{this.detachView(h.hostView),$f(this.components,h),p?.unregisterApplication(m)}),this._loadComponent(h),Yt(Pt.BootstrapComponentEnd,h),h})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Yt(Pt.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(cv.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw Yt(Pt.ChangeDetectionEnd),new $(101,!1);let e=Le(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,Le(e),this.afterTick.next(),Yt(Pt.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(kn,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++<e6;){Yt(Pt.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{Yt(Pt.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let e=!1;if(this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r}of this.allViews){if(!n&&!Pf(r))continue;let o=n&&!this.zonelessEnabled?0:1;mN(r,o),e=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}e||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:e})=>Pf(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let n=e;this._views.push(n),n.attachToAppRef(this)}detachView(e){let n=e;$f(this._views,n),n.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView);try{this.tick()}catch(r){this.internalErrorHandler(r)}this.components.push(e),this._injector.get(Fc,[]).forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>$f(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new $(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function $f(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}function _l(t,i){let e=Se(),n=Ia();if(zi(e,n,i)){let r=sn(),o=ou();if(mv(o,r,e,t,i))Ta(o)&&sN(e,o.index);else{let s=Jr(o,e);lN(e[Jt],s,null,o.value,t,i,null)}}return _l}function N(t,i,e,n){let r=Se(),o=Ia();if(zi(r,o,i)){let a=sn(),s=ou();A8(s,r,t,i,e,n)}return N}function bv(){return Se()[Di][In]}var Hx=class{destroy(i){}updateValue(i,e){}swap(i,e){let n=Math.min(i,e),r=Math.max(i,e),o=this.detach(r);if(r-n>1){let a=this.detach(n);this.attach(n,o),this.attach(r,a)}else this.attach(n,o)}move(i,e){this.attach(e,this.detach(i))}};function lx(t,i,e,n,r){return t===e&&Object.is(i,n)?1:Object.is(r(t,i),r(e,n))?-1:0}function t6(t,i,e,n){let r,o,a=0,s=t.length-1,l=void 0;if(Array.isArray(i)){Le(n);let c=i.length-1;for(Le(null);a<=s&&a<=c;){let u=t.at(a),h=i[a],m=lx(a,u,a,h,e);if(m!==0){m<0&&t.updateValue(a,h),a++;continue}let p=t.at(s),b=i[c],D=lx(s,p,c,b,e);if(D!==0){D<0&&t.updateValue(s,b),s--,c--;continue}let A=e(a,u),k=e(s,p),L=e(a,h);if(Object.is(L,k)){let ce=e(c,b);Object.is(ce,A)?(t.swap(a,s),t.updateValue(s,b),c--,s--):t.move(s,a),t.updateValue(a,h),a++;continue}if(r??=new J_,o??=Zk(t,a,s,e),zx(t,r,a,L))t.updateValue(a,h),a++,s++;else if(o.has(L))r.set(A,t.detach(a)),s--;else{let ce=t.create(a,i[a]);t.attach(a,ce),a++,s++}}for(;a<=c;)Qk(t,r,e,a,i[a]),a++}else if(i!=null){Le(n);let c=i[Symbol.iterator]();Le(null);let u=c.next();for(;!u.done&&a<=s;){let h=t.at(a),m=u.value,p=lx(a,h,a,m,e);if(p!==0)p<0&&t.updateValue(a,m),a++,u=c.next();else{r??=new J_,o??=Zk(t,a,s,e);let b=e(a,m);if(zx(t,r,a,b))t.updateValue(a,m),a++,s++,u=c.next();else if(!o.has(b))t.attach(a,t.create(a,m)),a++,s++,u=c.next();else{let D=e(a,h);r.set(D,t.detach(a)),s--}}}for(;!u.done;)Qk(t,r,e,t.length,u.value),u=c.next()}for(;a<=s;)t.destroy(t.detach(s--));r?.forEach(c=>{t.destroy(c)})}function zx(t,i,e,n){return i!==void 0&&i.has(n)?(t.attach(e,i.get(n)),i.delete(n),!0):!1}function Qk(t,i,e,n,r){if(zx(t,i,n,e(n,r)))t.updateValue(n,r);else{let o=t.create(n,r);t.attach(n,o)}}function Zk(t,i,e,n){let r=new Set;for(let o=i;o<=e;o++)r.add(n(o,t.at(o)));return r}var J_=class{kvMap=new Map;_vMap=void 0;has(i){return this.kvMap.has(i)}delete(i){if(!this.has(i))return!1;let e=this.kvMap.get(i);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(i,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(i),!0}get(i){return this.kvMap.get(i)}set(i,e){if(this.kvMap.has(i)){let n=this.kvMap.get(i);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(n);)n=r.get(n);r.set(n,e)}else this.kvMap.set(i,e)}forEach(i){for(let[e,n]of this.kvMap)if(i(n,e),this._vMap!==void 0){let r=this._vMap;for(;r.has(n);)n=r.get(n),i(n,e)}}};function E(t,i,e,n,r,o,a,s){er("NgControlFlow");let l=Se(),c=sn(),u=Sr(c.consts,o);return mu(l,c,t,i,e,n,r,u,256,a,s),om}function om(t,i,e,n,r,o,a,s){er("NgControlFlow");let l=Se(),c=sn(),u=Sr(c.consts,o);return mu(l,c,t,i,e,n,r,u,512,a,s),om}function S(t,i){er("NgControlFlow");let e=Se(),n=Ia(),r=e[n]!==oi?e[n]:-1,o=r!==-1?ev(e,mn+r):void 0,a=0;if(zi(e,n,t)){let s=Le(null);try{if(o!==void 0&&bN(o,a),t!==-1){let l=mn+t,c=ev(e,l),u=Gx(e[ze],l),h=wN(c,u,e),m=nm(e,u,i,{dehydratedView:h});im(c,m,a,hu(u,h))}}finally{Le(s)}}else if(o!==void 0){let s=yN(o,a);s!==void 0&&(s[In]=i)}}var $x=class{lContainer;$implicit;$index;constructor(i,e,n){this.lContainer=i,this.$implicit=e,this.$index=n}get $count(){return this.lContainer.length-An}};function Ft(t,i){return i}var Wx=class{hasEmptyBlock;trackByFn;liveCollection;constructor(i,e,n){this.hasEmptyBlock=i,this.trackByFn=e,this.liveCollection=n}};function tt(t,i,e,n,r,o,a,s,l,c,u,h,m){er("NgControlFlow");let p=Se(),b=sn(),D=l!==void 0,A=Se(),k=s?a.bind(A[Di][In]):a,L=new Wx(D,k);A[mn+t]=L,mu(p,b,t+1,i,e,n,r,Sr(b.consts,o),256),D&&mu(p,b,t+2,l,c,u,h,Sr(b.consts,m),512)}var qx=class extends Hx{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(i,e,n){super(),this.lContainer=i,this.hostLView=e,this.templateTNode=n}get length(){return this.lContainer.length-An}at(i){return this.getLView(i)[In].$implicit}attach(i,e){let n=e[vc];this.needsIndexUpdate||=i!==this.length,im(this.lContainer,e,i,hu(this.templateTNode,n)),n6(this.lContainer,i)}detach(i){return this.needsIndexUpdate||=i!==this.length-1,i6(this.lContainer,i),r6(this.lContainer,i)}create(i,e){let n=W_(this.lContainer,this.templateTNode.tView.ssrId);return nm(this.hostLView,this.templateTNode,new $x(this.lContainer,e,i),{dehydratedView:n})}destroy(i){uv(i[ze],i)}updateValue(i,e){this.getLView(i)[In].$implicit=e}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let i=0;i<this.length;i++)this.getLView(i)[In].$index=i}getLView(i){return o6(this.lContainer,i)}};function nt(t){let i=Le(null),e=Uo();try{let n=Se(),r=n[ze],o=n[e],a=e+1,s=ev(n,a);if(o.liveCollection===void 0){let c=Gx(r,a);o.liveCollection=new qx(s,n,c)}else o.liveCollection.reset();let l=o.liveCollection;if(t6(l,t,o.trackByFn,i),l.updateIndexes(),o.hasEmptyBlock){let c=Ia(),u=l.length===0;if(zi(n,c,u)){let h=e+2,m=ev(n,h);if(u){let p=Gx(r,h),b=wN(m,p,n),D=nm(n,p,void 0,{dehydratedView:b});im(m,D,0,hu(p,b))}else r.firstUpdatePass&&J8(m),bN(m,0)}}}finally{Le(i)}}function ev(t,i){return t[i]}function n6(t,i){if(t.length<=An)return;let e=An+i,n=t[e],r=n?n[cl]:void 0;if(n&&r&&r.detachedLeaveAnimationFns&&r.detachedLeaveAnimationFns.length>0){let o=n[_s];c8(o,r),Tc.delete(n[vs]),r.detachedLeaveAnimationFns=void 0}}function i6(t,i){if(t.length<=An)return;let e=An+i,n=t[e],r=n?n[cl]:void 0;r&&r.leave&&r.leave.size>0&&(r.detachedLeaveAnimationFns=[])}function r6(t,i){return Yf(t,i)}function o6(t,i){return yN(t,i)}function Gx(t,i){return v_(t,i)}function w(t,i,e){let n=Se(),r=Ia();if(zi(n,r,i)){let o=sn(),a=ou();oN(a,n,t,i,n[Jt],e)}return w}function Yx(t,i,e,n,r){mv(i,t,e,r?"class":"style",n)}function g(t,i,e,n){let r=Se(),o=r[ze],a=t+mn,s=o.firstCreatePass?MD(a,r,2,i,bD,C_(),e,n):o.data[a];if(Ta(s)){let l=r[Lo].tracingService;if(l&&l.componentCreate){let c=o.data[s.directiveStart+s.componentOffset];return l.componentCreate(AN(c),()=>(Kk(t,i,r,s,n),g))}}return Kk(t,i,r,s,n),g}function Kk(t,i,e,n,r){if(CD(n,e,t,i,qN),nu(n)){let o=e[ze];fv(o,e,n),tD(o,n,e)}r!=null&&tm(e,n)}function _(){let t=sn(),i=Qn(),e=wD(i);return t.firstCreatePass&&ED(t,e),Hw(e)&&zw(),Bw(),e.classesWithoutHost!=null&&Gz(e)&&Yx(t,e,Se(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&Yz(e)&&Yx(t,e,Se(),e.stylesWithoutHost,!1),_}function O(t,i,e,n){return g(t,i,e,n),_(),O}function Tt(t,i,e,n){let r=Se(),o=r[ze],a=t+mn,s=o.firstCreatePass?f5(a,o,2,i,e,n):o.data[a];return CD(s,r,t,i,qN),n!=null&&tm(r,s),Tt}function Ut(){let t=Qn(),i=wD(t);return Hw(i)&&zw(),Bw(),Ut}function On(t,i,e,n){return Tt(t,i,e,n),Ut(),On}var qN=(t,i,e,n,r)=>(jf(!0),jO(i[Jt],n,Kw()));function Ar(t,i,e){let n=Se(),r=n[ze],o=t+mn,a=r.firstCreatePass?MD(o,n,8,"ng-container",bD,C_(),i,e):r.data[o];if(CD(a,n,t,"ng-container",a6),nu(a)){let s=n[ze];fv(s,n,a),tD(s,a,n)}return e!=null&&tm(n,a),Ar}function kr(){let t=sn(),i=Qn(),e=wD(i);return t.firstCreatePass&&ED(t,e),kr}function Kn(t,i,e){return Ar(t,i,e),kr(),Kn}var a6=(t,i,e,n,r)=>(jf(!0),j$(i[Jt],""));function le(){return Se()}function wt(t,i,e){let n=Se(),r=Ia();if(zi(n,r,i)){let o=sn(),a=ou();aN(a,n,t,i,n[Jt],e)}return wt}var Uf=void 0;function s6(t){let i=Math.floor(Math.abs(t)),e=t.toString().replace(/^[^.]*\.?/,"").length;return i===1&&e===0?1:5}var l6=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
4ay","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Uf,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Uf,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",Uf,Uf,Uf],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",s6],cx=Object.create(null);function Cv(t){let i=c6(t),e=Xk(i);if(e)return e;let n=i.split("-")[0];if(e=Xk(n),e)return e;if(n==="en")return l6;throw new $(701,!1)}function Xk(t){if(!(t in cx)){let i=Zr.ng&&Zr.ng.common&&Zr.ng.common.locales&&Zr.ng.common.locales[t];return i!==void 0&&(cx[t]=i),i}return cx[t]}var Lc=(function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t})(Lc||{});function c6(t){return t.toLowerCase().replace(/_/g,"-")}var am="en-US";var d6=am;function GN(t){typeof t=="string"&&(d6=t.toLowerCase().replace(/_/g,"-"))}function P(t,i,e){let n=Se(),r=sn(),o=Qn();return YN(r,n,n[Jt],o,t,i,e),P}function vl(t,i,e){let n=Se(),r=sn(),o=Qn();return(o.type&3||e)&&TN(o,r,n,e,n[Jt],t,i,V_(o,n,i)),vl}function YN(t,i,e,n,r,o,a){let s=!0,l=null;if((n.type&3||a)&&(l??=V_(n,i,o),TN(n,t,i,a,e,r,o,l)&&(s=!1)),s){let c=n.outputs?.[r],u=n.hostDirectiveOutputs?.[r];if(u&&u.length)for(let h=0;h<u.length;h+=2){let m=u[h],p=u[h+1];l??=V_(n,i,o),zk(n,i,m,p,r,l)}if(c&&c.length)for(let h of c)l??=V_(n,i,o),zk(n,i,h,r,r,l)}}function v(t=1){return hk(t)}function u6(t,i){let e=null,n=Q$(t);for(let r=0;r<i.length;r++){let o=i[r];if(o==="*"){e=r;continue}if(n===null?qO(t,o,!0):X$(n,o))return r}return e}function We(t){let i=Se()[Di][Hi];if(!i.projection){let e=t?t.length:1,n=i.projection=U1(e,null),r=n.slice(),o=i.child;for(;o!==null;){if(o.type!==128){let a=t?u6(o,t):0;a!==null&&(r[a]?r[a].projectionNext=o:n[a]=o,r[a]=o)}o=o.next}}}function ae(t,i=0,e,n,r,o){let a=Se(),s=sn(),l=n?t+1:null;l!==null&&mu(a,s,l,n,r,o,null,e);let c=yu(s,mn+t,16,null,e||null);c.projection===null&&(c.projection=i),qw();let h=!a[vc]||Uw();a[Di][Hi].projection[c.projection]===null&&l!==null?h6(a,s,l):h&&!ov(c)&&b8(s,a,c)}function h6(t,i,e){let n=mn+e,r=i.data[n],o=t[n],a=W_(o,r.tView.ssrId),s=nm(t,r,void 0,{dehydratedView:a});im(o,s,0,hu(r,a))}function Nn(t,i,e,n){return FN(t,i,e,n),Nn}function Zt(t,i,e){return PN(t,i,e),Zt}function we(t){let i=Se(),e=sn(),n=x_();Lf(n+1);let r=AD(e,n);if(t.dirty&&Q1(i)===((r.metadata.flags&2)===2)){if(r.matches===null)t.reset([]);else{let o=VN(i,n);t.reset(o,yO),t.notifyOnChanges()}return!0}return!1}function xe(){return ID(Se(),x_())}function Ei(t,i,e,n,r){return jN(i,FN(t,e,n,r)),Ei}function It(t,i,e,n){return jN(t,PN(i,e,n)),It}function ct(t=1){Lf(x_()+t)}function Ie(t){let i=ik();return Rf(i,mn+t)}function N_(t,i){return t<<17|i<<2}function Ic(t){return t>>17&32767}function f6(t){return(t&2)==2}function m6(t,i){return t&131071|i<<17}function Qx(t){return t|2}function pu(t){return(t&131068)>>2}function dx(t,i){return t&-131069|i<<2}function p6(t){return(t&1)===1}function Zx(t){return t|1}function g6(t,i,e,n,r,o){let a=o?i.classBindings:i.styleBindings,s=Ic(a),l=pu(a);t[n]=e;let c=!1,u;if(Array.isArray(e)){let h=e;u=h[1],(u===null||Xd(h,u)>0)&&(c=!0)}else u=e;if(r)if(l!==0){let m=Ic(t[s+1]);t[n+1]=N_(m,s),m!==0&&(t[m+1]=dx(t[m+1],n)),t[s+1]=m6(t[s+1],n)}else t[n+1]=N_(s,0),s!==0&&(t[s+1]=dx(t[s+1],n)),s=n;else t[n+1]=N_(l,0),s===0?s=n:t[l+1]=dx(t[l+1],n),l=n;c&&(t[n+1]=Qx(t[n+1])),Jk(t,u,n,!0),Jk(t,u,n,!1),_6(i,u,t,n,o),a=N_(s,l),o?i.classBindings=a:i.styleBindings=a}function _6(t,i,e,n,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof i=="string"&&Xd(o,i)>=0&&(e[n+1]=Zx(e[n+1]))}function Jk(t,i,e,n){let r=t[e+1],o=i===null,a=n?Ic(r):pu(r),s=!1;for(;a!==0&&(s===!1||o);){let l=t[a],c=t[a+1];v6(l,i)&&(s=!0,t[a+1]=n?Zx(c):Qx(c)),a=n?Ic(c):pu(c)}s&&(t[e+1]=n?Qx(r):Zx(r))}function v6(t,i){return t===null||i==null||(Array.isArray(t)?t[1]:t)===i?!0:Array.isArray(t)&&typeof i=="string"?Xd(t,i)>=0:!1}var $o={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0}
vendor: 4,399 bytes, line 4
4;function y6(t){return t.substring($o.key,$o.keyEnd)}function b6(t){return C6(t),QN(t,ZN(t,0,$o.textEnd))}function QN(t,i){let e=$o.textEnd;return e===i?-1:(i=$o.keyEnd=w6(t,$o.key=i,e),ZN(t,i,e))}function C6(t){$o.key=0,$o.keyEnd=0,$o.value=0,$o.valueEnd=0,$o.textEnd=t.length}function ZN(t,i,e){for(;i<e&&t.charCodeAt(i)<=32;)i++;return i}function w6(t,i,e){for(;i<e&&t.charCodeAt(i)>32;)i++;return i}function Rn(t,i,e){return KN(t,i,e,!1),Rn}function ie(t,i){return KN(t,i,null,!0),ie}function bn(t){D6(A6,x6,t,!0)}function x6(t,i){for(let e=b6(i);e>=0;e=QN(i,e))m_(t,y6(i),!0)}function KN(t,i,e,n){let r=Se(),o=sn(),a=Ff(2);if(o.firstUpdatePass&&JN(o,t,a,n),i!==oi&&zi(r,a,i)){let s=o.data[Uo()];eR(o,s,r,r[Jt],t,r[a+1]=O6(i,e),n,a)}}function D6(t,i,e,n){let r=sn(),o=Ff(2);r.firstUpdatePass&&JN(r,null,o,n);let a=Se();if(e!==oi&&zi(a,o,e)){let s=r.data[Uo()];if(tR(s,n)&&!XN(r,o)){let l=n?s.classesWithoutHost:s.stylesWithoutHost;l!==null&&(e=l_(l,e||"")),Yx(r,s,a,e,n)}else k6(r,s,a,a[Jt],a[o+1],a[o+1]=I6(t,i,e),n,o)}}function XN(t,i){return i>=t.expandoStartIndex}function JN(t,i,e,n){let r=t.data;if(r[e+1]===null){let o=r[Uo()],a=XN(t,e);tR(o,n)&&i===null&&!a&&(i=!1),i=M6(r,o,i,n),g6(r,o,i,e,a,n)}}function M6(t,i,e,n){let r=lk(t),o=n?i.residualClasses:i.residualStyles;if(r===null)(n?i.classBindings:i.styleBindings)===0&&(e=ux(null,t,i,e,n),e=Zf(e,i.attrs,n),o=null);else{let a=i.directiveStylingLast;if(a===-1||t[a]!==r)if(e=ux(r,t,i,e,n),o===null){let l=E6(t,i,n);l!==void 0&&Array.isArray(l)&&(l=ux(null,t,i,l[1],n),l=Zf(l,i.attrs,n),S6(t,i,n,l))}else o=T6(t,i,n)}return o!==void 0&&(n?i.residualClasses=o:i.residualStyles=o),e}function E6(t,i,e){let n=e?i.classBindings:i.styleBindings;if(pu(n)!==0)return t[Ic(n)]}function S6(t,i,e,n){let r=e?i.classBindings:i.styleBindings;t[Ic(r)]=n}function T6(t,i,e){let n,r=i.directiveEnd;for(let o=1+i.directiveStylingLast;o<r;o++){let a=t[o].hostAttrs;n=Zf(n,a,e)}return Zf(n,i.attrs,e)}function ux(t,i,e,n,r){let o=null,a=e.directiveEnd,s=e.directiveStylingLast;for(s===-1?s=e.directiveStart:s++;s<a&&(o=i[s],n=Zf(n,o.hostAttrs,r),o!==t);)s++;return t!==null&&(e.directiveStylingLast=s),n}function Zf(t,i,e){let n=e?1:2,r=-1;if(i!==null)for(let o=0;o<i.length;o++){let a=i[o];typeof a=="number"?r=a:r===n&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),m_(t,a,e?!0:i[++o]))}return t===void 0?null:t}function I6(t,i,e){if(e==null||e==="")return xi;let n=[],r=Ir(e);if(Array.isArray(r))for(let o=0;o<r.length;o++)t(n,r[o],!0);else if(r instanceof Set)for(let o of r)t(n,o,!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&t(n,o,r[o]);else typeof r=="string"&&i(n,r);return n}function A6(t,i,e){let n=String(i);n!==""&&!n.includes(" ")&&m_(t,n,e)}function k6(t,i,e,n,r,o,a,s){r===oi&&(r=xi);let l=0,c=0,u=0<r.length?r[0]:null,h=0<o.length?o[0]:null;for(;u!==null||h!==null;){let m=l<r.length?r[l+1]:void 0,p=c<o.length?o[c+1]:void 0,b=null,D;u===h?(l+=2,c+=2,m!==p&&(b=h,D=p)):h===null||u!==null&&u<h?(l+=2,b=u):(c+=2,b=h,D=p),b!==null&&eR(t,i,e,n,b,D,a,s),u=l<r.length?r[l]:null,h=c<o.length?o[c]:null}}function eR(t,i,e,n,r,o,a,s){if(!(i.type&3))return;let l=t.data,c=l[s+1],u=p6(c)?eO(l,i,e,r,pu(c),a):void 0;if(!tv(u)){tv(o)||f6(c)&&(o=eO(l,null,e,r,s,a));let h=Nw(Uo(),e);w8(n,a,h,r,o)}}function eO(t,i,e,n,r,o){let a=i===null,s;for(;r>0;){let l=t[r],c=Array.isArray(l),u=c?l[1]:l,h=u===null,m=e[r+1];m===oi&&(m=h?xi:void 0);let p=h?p_(m,n):u===n?m:void 0;if(c&&!tv(p)&&(p=p_(l,n)),tv(p)&&(s=p,a))return s;let b=t[r+1];r=a?Ic(b):pu(b)}if(i!==null){let l=o?i.residualClasses:i.residualStyles;l!=null&&(s=p_(l,n))}return s}function tv(t){return t!==void 0}function O6(t,i){return t==null||t===""||(typeof i=="string"?t=t+i:typeof t=="object"&&(t=Sf(Ir(t)))),t}function tR(t,i){return(t.flags&(i?8:16))!==0}function I(t,i=""){let e=Se(),n=sn(),r=t+mn,o=n.firstCreatePass?yu(n,r,1,i,null):n.data[r],a=N6(n,e,o,i);e[r]=a,E_()&&vD(n,e,a,o),ru(o,!1)}var N6=(t,i,e,n)=>(jf(!0),L$(i[Jt],n));function nR(t,i,e,n=""){return zi(t,Ia(),e)?i+Ro(e)+n:oi}function R6(t,i,e,n,r,o=""){let a=Yw(),s=fu(t,a,e,r);return Ff(2),s?i+Ro(e)+n+Ro(r)+o:oi}function P6(t,i,e,n,r,o,a,s=""){let l=Yw(),c=SN(t,l,e,r,a);return Ff(3),c?i+Ro(e)+n+Ro(r)+o+Ro(a)+s:oi}function qe(t){return pe("",t),qe}function pe(t,i,e){let n=Se(),r=nR(n,t,i,e);return r!==oi&&BD(n,Uo(),r),pe}function tr(t,i,e,n,r){let o=Se(),a=R6(o,t,i,e,n,r);return a!==oi&&BD(o,Uo(),a),tr}
vendor: 5,009 bytes, line 4
4function wv(t,i,e,n,r,o,a){let s=Se(),l=P6(s,t,i,e,n,r,o,a);return l!==oi&&BD(s,Uo(),l),wv}function BD(t,i,e){let n=Nw(i,t);V$(t[Jt],n,e)}function Or(t,i,e){FD(i)&&(i=i());let n=Se(),r=Ia();if(zi(n,r,i)){let o=sn(),a=ou();oN(a,n,t,i,n[Jt],e)}return Or}function to(t,i){let e=FD(t);return e&&t.set(i),e}function Nr(t,i){let e=Se(),n=sn(),r=Qn();return YN(n,e,e[Jt],r,t,i),Nr}function UD(t){return zi(Se(),Ia(),t)?Ro(t):oi}function nr(t,i,e=""){return nR(Se(),t,i,e)}function tO(t,i,e){let n=sn();n.firstCreatePass&&iR(i,n.data,n.blueprint,jo(t),e)}function iR(t,i,e,n,r){if(t=qn(t),Array.isArray(t))for(let o=0;o<t.length;o++)iR(t[o],i,e,n,r);else{let o=sn(),a=Se(),s=Qn(),l=mc(t)?t:qn(t.provide),c=Sw(t),u=s.providerIndexes&1048575,h=s.directiveStart,m=s.providerIndexes>>20;if(mc(t)||!t.multi){let p=new Sc(c,r,Ve,null),b=fx(l,i,r?u:u+m,h);b===-1?(px(z_(s,a),o,l),hx(o,t,i.length),i.push(l),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(p),a.push(p)):(e[b]=p,a[b]=p)}else{let p=fx(l,i,u+m,h),b=fx(l,i,u,u+m),D=p>=0&&e[p],A=b>=0&&e[b];if(r&&!A||!r&&!D){px(z_(s,a),o,l);let k=V6(r?L6:F6,e.length,r,n,c,t);!r&&A&&(e[b].providerFactory=k),hx(o,t,i.length,0),i.push(l),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(k),a.push(k)}else{let k=rR(e[r?b:p],c,!r&&n);hx(o,t,p>-1?p:b,k)}!r&&n&&A&&e[b].componentProviders++}}}function hx(t,i,e,n){let r=mc(i),o=W1(i);if(r||o){let l=(o?qn(i.useClass):i).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&i.multi){let u=c.indexOf(e);u===-1?c.push(e,[n,l]):c[u+1].push(n,l)}else c.push(e,l)}}}function rR(t,i,e){return e&&t.componentProviders++,t.multi.push(i)-1}function fx(t,i,e,n){for(let r=e;r<n;r++)if(i[r]===t)return r;return-1}function F6(t,i,e,n,r){return Kx(this.multi,[])}function L6(t,i,e,n,r){let o=this.multi,a;if(this.providerFactory){let s=this.providerFactory.componentProviders,l=Wf(n,n[ze],this.providerFactory.index,r);a=l.slice(0,s),Kx(o,a);for(let c=s;c<l.length;c++)a.push(l[c])}else a=[],Kx(o,a);return a}function Kx(t,i){for(let e=0;e<t.length;e++){let n=t[e];i.push(n())}return i}function V6(t,i,e,n,r,o){let a=new Sc(t,e,Ve,null);return a.multi=[],a.index=i,a.componentProviders=0,rR(a,r,n&&!e),a}function Ye(t,i){return e=>{e.providersResolver=(n,r)=>tO(n,r?r(t):t,!1),i&&(e.viewProvidersResolver=(n,r)=>tO(n,r?r(i):i,!0))}}function Mt(t,i){let e=Bo()+t,n=Se();return n[e]===oi?Nc(n,e,i()):TD(n,e)}function Be(t,i,e){return oR(Se(),Bo(),t,i,e)}function tn(t,i,e,n){return aR(Se(),Bo(),t,i,e,n)}function yt(t,i,e,n,r){return sR(Se(),Bo(),t,i,e,n,r)}function sm(t,i,e,n,r,o,a){return j6(Se(),Bo(),t,i,e,n,r,o)}function lm(t,i,e,n,r,o,a,s){let l=Bo()+t,c=Se(),u=G_(c,l,e,n,r,o);return fu(c,l+4,a,s)||u?Nc(c,l+6,i(e,n,r,o,a,s)):TD(c,l+6)}function cm(t,i,e,n,r,o,a,s,l,c){let u=Bo()+t,h=Se(),m=G_(h,u,e,n,r,o);return G_(h,u+4,a,s,l,c)||m?Nc(h,u+8,i(e,n,r,o,a,s,l,c)):TD(h,u+8)}function xv(t,i){let e=t[i];return e===oi?void 0:e}function oR(t,i,e,n,r,o){let a=i+e;return zi(t,a,r)?Nc(t,a+1,o?n.call(o,r):n(r)):xv(t,a+1)}function aR(t,i,e,n,r,o,a){let s=i+e;return fu(t,s,r,o)?Nc(t,s+2,a?n.call(a,r,o):n(r,o)):xv(t,s+2)}function sR(t,i,e,n,r,o,a,s){let l=i+e;return SN(t,l,r,o,a)?Nc(t,l+3,s?n.call(s,r,o,a):n(r,o,a)):xv(t,l+3)}function j6(t,i,e,n,r,o,a,s,l){let c=i+e;return G_(t,c,r,o,a,s)?Nc(t,c+4,l?n.call(l,r,o,a,s):n(r,o,a,s)):xv(t,c+4)}function nn(t,i){let e=sn(),n,r=t+mn;e.firstCreatePass?(n=B6(i,e.pipeRegistry),e.data[r]=n,n.onDestroy&&(e.destroyHooks??=[]).push(r,n.onDestroy)):n=e.data[r];let o=n.factory||(n.factory=ol(n.type,!0)),a,s=Ui(Ve);try{let l=H_(!1),c=o();return H_(l),Rw(e,Se(),r,c),c}finally{Ui(s)}}function B6(t,i){if(i)for(let e=i.length-1;e>=0;e--){let n=i[e];if(t===n.name)return n}}function ai(t,i,e){let n=t+mn,r=Se(),o=Rf(r,n);return HD(r,n)?oR(r,Bo(),i,o.transform,e,o):o.transform(e)}function yl(t,i,e,n){let r=t+mn,o=Se(),a=Rf(o,r);return HD(o,r)?aR(o,Bo(),i,a.transform,e,n,a):a.transform(e,n)}function Dv(t,i,e,n,r){let o=t+mn,a=Se(),s=Rf(a,o);return HD(a,o)?sR(a,Bo(),i,s.transform,e,n,r,s):s.transform(e,n,r)}function HD(t,i){return t[ze].data[i].pure}function zn(t,i){return pv(t,i)}var nv=class{ngModuleFactory;componentFactories;constructor(i,e){this.ngModuleFactory=i,this.componentFactories=e}},zD=(()=>{class t{compileModuleSync(e){return new X_(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let n=this.compileModuleSync(e),r=yw(e),o=$O(r.declarations).reduce((a,s)=>{let l=Ma(s);return l&&a.push(new fl(l)),a},[]);return new nv(n,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var lR=(()=>{class t{applicationErrorHandler=d(Xi);appRef=d($i);taskService=d(Aa);ngZone=d(ne);zonelessEnabled=d(su);tracing=d(Go,{optional:!0});
4zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Re;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Mf):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(d(S_,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let e=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(e);return}this.switchToMicrotaskScheduler(),this.taskService.remove(e)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let e=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})})}notify(e){if(!this.zonelessEnabled&&e===5)return;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let n=this.useMicrotaskScheduler?pk:ex;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>n(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>n(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Mf+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(n){this.applicationErrorHandler(n)}finally{this.taskService.remove(e),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function cR(){return[{provide:No,useExisting:lR},{provide:ne,useClass:Ef},{provide:su,useValue:!0}]}function U6(){return typeof $localize<"u"&&$localize.locale||am}var Vc=new T("",{factory:()=>d(Vc,{optional:!0,skipSelf:!0})||U6()});var dm=class{destroyed=!1;listeners=null;errorHandler=d(Hn,{optional:!0});destroyRef=d(yn);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(i){if(this.destroyed)throw new $(953,!1);return(this.listeners??=[]).push(i),{unsubscribe:()=>{let e=this.listeners?.indexOf(i);e!==void 0&&e!==-1&&this.listeners?.splice(e,1)}}}emit(i){if(this.destroyed){console.warn(Qr(953,!1));return}if(this.listeners===null)return;let e=Le(null);try{for(let n of this.listeners)try{n(i)}catch(r){this.errorHandler?.handleError(r)}}finally{Le(e)}}};function xt(t){return T1(t)}function Z(t,i){return af(t,i?.equal)}var H6=t=>t;function $e(t,i){if(typeof t=="function"){let e=ew(t,H6,i?.equal);return dR(e,i?.debugName)}else{let e=ew(t.source,t.computation,t.equal);return dR(e,t.debugName)}}function dR(t,i){let e=t[Tn],n=t;return n.set=r=>E1(e,r),n.update=r=>S1(e,r),n.asReadonly=Bf.bind(t),n}var Sv=Symbol("InputSignalNode#UNSET"),vR=Y(x({},sf),{transformFn:void 0,applyValueToInputSignal(t,i){Js(t,i)}});function yR(t,i){let e=Object.create(vR);e.value=t,e.transformFn=i?.transform;function n(){if(cs(e),e.value===Sv){let r=null;throw new $(-950,r)}return e.value}return n[Tn]=e,n}var Yo=class{attributeName;constructor(i){this.attributeName=i}__NG_ELEMENT_ID__=()=>Kf(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function Si(t){return new dm}function uR(t,i){return yR(t,i)}function rW(t){return yR(Sv,t)}var C=(uR.required=rW,uR);function hR(t,i){return OD(i)}function oW(t,i){return ND(i)}var Qe=(hR.required=oW,hR);function Tv(t,i){return RD(i)}function fR(t,i){return OD(i)}function aW(t,i){return ND(i)}var ln=(fR.required=aW,fR);function bR(t,i){return RD(i)}function CR(t,i){let e=Object.create(vR),n=new dm;e.value=t;function r(){return cs(e),mR(e.value),e.value}return r[Tn]=e,r.asReadonly=Bf.bind(r),r.set=o=>{e.equal(e.value,o)||(Js(e,o),n.emit(o))},r.update=o=>{mR(e.value),r.set(o(e.value))},r.subscribe=n.subscribe.bind(n),r.destroyRef=n.destroyRef,r}function mR(t){if(t===Sv)throw new $(952,!1)}function pR(t,i){return CR(t,i)}function sW(t){return CR(Sv,t)}var Cu=(pR.required=sW,pR);var lW=(()=>{class t{zone=d(ne);
4changeDetectionScheduler=d(No);applicationRef=d($i);applicationErrorHandler=d(Xi);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(e){this.applicationErrorHandler(e)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),cW=new T("",{factory:()=>!1});function dW({ngZoneFactory:t,scheduleInRootZone:i}){return t??=()=>new ne(Y(x({},xR()),{scheduleInRootZone:i})),[{provide:su,useValue:!1},{provide:ne,useFactory:t},{provide:Ea,multi:!0,useFactory:()=>{let e=d(lW,{optional:!0});return()=>e.initialize()}},{provide:Ea,multi:!0,useFactory:()=>{let e=d(uW);return()=>{e.initialize()}}},{provide:S_,useValue:i??Jw}]}function wR(t){let i=t?.scheduleInRootZone,e=dW({ngZoneFactory:()=>{let n=xR(t);return n.scheduleInRootZone=i,n.shouldCoalesceEventChangeDetection&&er("NgZone_CoalesceEvent"),new ne(n)},scheduleInRootZone:i});return ri([{provide:cW,useValue:!0},e])}function xR(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var uW=(()=>{class t{subscription=new Re;initialized=!1;zone=d(ne);pendingTasks=d(Aa);initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ne.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ne.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var WD=new T(""),hW=new T("");function um(t){return!t.moduleRef}function fW(t){let i=um(t)?t.r3Injector:t.moduleRef.injector,e=i.get(ne);return e.run(()=>{um(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let n=i.get(Xi),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:n})}),um(t)){let o=()=>i.destroy(),a=t.platformInjector.get(WD);a.add(o),i.onDestroy(()=>{r.unsubscribe(),a.delete(o)})}else{let o=()=>t.moduleRef.destroy(),a=t.platformInjector.get(WD);a.add(o),t.moduleRef.onDestroy(()=>{$f(t.allPlatformModules,t.moduleRef),r.unsubscribe(),a.delete(o)})}return pW(n,e,()=>{let o=i.get(Aa),a=o.add(),s=i.get(jD);return s.runInitializers(),s.donePromise.then(()=>{let l=i.get(Vc,am);if(GN(l||am),!i.get(hW,!0))return um(t)?i.get($i):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(um(t)){let u=i.get($i);return t.rootComponent!==void 0&&u.bootstrap(t.rootComponent),u}else return mW?.(t.moduleRef,t.allPlatformModules),t.moduleRef}).finally(()=>{o.remove(a)})})})}var mW;function pW(t,i,e){try{let n=e();return xs(n)?n.catch(r=>{throw i.runOutsideAngular(()=>t(r)),r}):n}catch(n){throw i.runOutsideAngular(()=>t(n)),n}}var Mv=null;function gW(t=[],i){return he.create({name:i,providers:[{provide:Of,useValue:"platform"},{provide:WD,useValue:new Set([()=>Mv=null])},...t]})}function _W(t=[]){if(Mv)return Mv;let i=gW(t);return Mv=i,$N(),vW(i),i}function vW(t){let i=t.get(iv,null);Yn(t,()=>{i?.forEach(e=>e())})}function hm(){return!1}var yW=1e4;var JMe=yW-1e3;var Pe=(()=>{class t{static __NG_ELEMENT_ID__=bW}return t})();function bW(t){return CW(Qn(),Se(),(t&16)===16)}function CW(t,i,e){if(Ta(t)&&!e){let n=eo(t.index,i);return new hl(n,n)}else if(t.type&175){let n=i[Di];return new hl(n,i)}return null}var qD=class{supports(i){return i instanceof Map||SD(i)}create(){return new GD}},GD=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(i){let e;for(e=this._mapHead;e!==null;e=e._next)i(e)}forEachPreviousItem(i){let e;for(e=this._previousMapHead;e!==null;e=e._nextPrevious)i(e)}forEachChangedItem(i){let e;for(e=this._changesHead;e!==null;e=e._nextChanged)i(e)}forEachAddedItem(i){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)i(e)}forEachRemovedItem(i){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)i(e)}diff(i){if(!i)i=new Map;else if(!(i instanceof Map||SD(i)))throw new $(900,!1);return this.check(i)?this:null}check(i){this._reset();let e=this._mapHead;
vendor: 2,052 bytes, line 4
4if(this._appendAfter=null,this._forEach(i,(n,r)=>{if(e&&e.key===r)this._maybeAddToChanges(e,n),this._appendAfter=e,e=e._next;else{let o=this._getOrCreateRecordForKey(r,n);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let n=e;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(i,e){if(i){let n=i._prev;return e._next=i,e._prev=n,i._prev=e,n&&(n._next=e),i===this._mapHead&&(this._mapHead=e),this._appendAfter=i,i}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(i,e){if(this._records.has(i)){let r=this._records.get(i);this._maybeAddToChanges(r,e);let o=r._prev,a=r._next;return o&&(o._next=a),a&&(a._prev=o),r._next=null,r._prev=null,r}let n=new YD(i);return this._records.set(i,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let i;for(this._previousMapHead=this._mapHead,i=this._previousMapHead;i!==null;i=i._next)i._nextPrevious=i._next;for(i=this._changesHead;i!==null;i=i._nextChanged)i.previousValue=i.currentValue;for(i=this._additionsHead;i!=null;i=i._nextAdded)i.previousValue=i.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(i,e){Object.is(e,i.currentValue)||(i.previousValue=i.currentValue,i.currentValue=e,this._addToChanges(i))}_addToAdditions(i){this._additionsHead===null?this._additionsHead=this._additionsTail=i:(this._additionsTail._nextAdded=i,this._additionsTail=i)}_addToChanges(i){this._changesHead===null?this._changesHead=this._changesTail=i:(this._changesTail._nextChanged=i,this._changesTail=i)}_forEach(i,e){i instanceof Map?i.forEach(e):Object.keys(i).forEac
4h(n=>e(i[n],n))}},YD=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(i){this.key=i}};function gR(){return new Iv([new qD])}var Iv=(()=>{class t{static \u0275prov=M({token:t,providedIn:"root",factory:gR});factories;constructor(e){this.factories=e}static create(e,n){if(n){let r=n.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{let n=d(t,{optional:!0,skipSelf:!0});return t.create(e,n||gR())}}}find(e){let n=this.factories.find(r=>r.supports(e));if(n)return n;throw new $(901,!1)}}return t})();function DR(t){let{rootComponent:i,appProviders:e,platformProviders:n,platformRef:r}=t;Yt(Pt.BootstrapApplicationStart);try{let o=r?.injector??_W(n),a=[cR(),_k,...e||[]],s=new Qf({providers:a,parent:o,debugName:"",runEnvironmentInitializers:!1});return fW({r3Injector:s.injector,platformInjector:o,rootComponent:i})}catch(o){return Promise.reject(o)}finally{Yt(Pt.BootstrapApplicationEnd)}}function ue(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Pa(t,i=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):i}var $D=Symbol("NOT_SET"),MR=new Set,wW=Y(x({},sf),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:$D,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(t){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==$D&&!jd(this))return this.signal;try{for(let r of this.cleanup??MR)r()}finally{this.cleanup?.clear()}let i=[];t!==void 0&&i.push(t),i.push(this.registerCleanupFn);let e=ds(this),n;try{n=this.userFn.apply(null,i)}finally{Ks(this,e)}return(this.value===$D||!this.equal(this.value,n))&&(this.value=n,this.version++),this.signal}}),QD=class extends qf{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(i,e,n,r,o,a=null){super(i,[void 0,void 0,void 0,void 0],n,!1,o.get(yn),a),this.scheduler=r;for(let s of mD){let l=e[s];if(l===void 0)continue;let c=Object.create(wW);c.sequence=this,c.phase=s,c.userFn=l,c.dirty=!0,c.signal=()=>(cs(c),c.value),c.signal[Tn]=c,c.registerCleanupFn=u=>(c.cleanup??=new Set).add(u),this.nodes[s]=c,this.hooks[s]=u=>c.phaseFn(u)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let i of this.onDestroyFns)i();super.destroy();for(let i of this.nodes)if(i)try{for(let e of i.cleanup??MR)e()}finally{Xs(i)}}};function ER(t,i){let e=i?.injector??d(he),n=e.get(No),r=e.get(dv),o=e.get(Go,null,{optional:!0});r.impl??=e.get(pD);let a=t;typeof a=="function"&&(a={mixedReadWrite:t});let s=e.get(au,null,{optional:!0}),l=new QD(r.impl,[a.earlyRead,a.write,a.mixedReadWrite,a.read],s?.view,n,e,o?.snapshot(null));return r.impl.register(l),l}function Av(t,i){let e=Ma(t),n=i.elementInjector||Jd();return new fl(e).create(n,i.projectableNodes,i.hostElement,i.environmentInjector,i.directives,i.bindings)}function SR(t){let i=Ma(t);if(!i)return null;let e=new fl(i);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return i.standalone},get isSignal(){return i.signals}}}var TR=null;function no(){return TR}function ZD(t){TR??=t}var fm=class{},Ds=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:()=>d(IR),providedIn:"platform"})}return t})(),KD=new T(""),IR=(()=>{class t extends Ds{_location;_history;_doc=d(ve);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return no().getBaseHref(this._doc)}onPopState(e){let n=no().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",e,!1),()=>n.removeEventListener("popstate",e)}onHashChange(e){let n=no().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",e,!1),()=>n.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,n,r){this._history.pushState(e,n,r)}replaceState(e,n,r){this._history.replaceState(e,n,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function kv(t,i){return t?i?t.endsWith("/")?i.startsWith("/")?t+i.slice(1):t+i:i.startsWith("/")?t+i:`${t}/${i}`:t:i}function AR(t){let i=t.search(/#|\?|$/);return t[i-1]==="/"?t.slice(0,i-1)+t.slice(i):t}function Qo(t){return t&&t[0]!=="?"?`?${t}`:t}var io=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:()=>d(Nv),providedIn:"root"})}return t})(),Ov=new T(""),Nv=(()=>{class t extends io{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??d(ve).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.on
vendor: 44,350 bytes, lines 4-5
4HashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return kv(this._baseHref,e)}path(e=!1){let n=this._platformLocation.pathname+Qo(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${n}${r}`:n}pushState(e,n,r,o){let a=this.prepareExternalUrl(r+Qo(o));this._platformLocation.pushState(e,n,a)}replaceState(e,n,r,o){let a=this.prepareExternalUrl(r+Qo(o));this._platformLocation.replaceState(e,n,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(n){return new(n||t)(j(Ds),j(Ov,8))};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Fa=(()=>{class t{_subject=new V;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let n=this._locationStrategy.getBaseHref();this._basePath=MW(AR(kR(n))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,n=""){return this.path()==this.normalize(e+Qo(n))}normalize(e){return t.stripTrailingSlash(DW(this._basePath,kR(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,n="",r=null){this._locationStrategy.pushState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Qo(n)),r)}replaceState(e,n="",r=null){this._locationStrategy.replaceState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Qo(n)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)}),()=>{let n=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",n){this._urlChangeListeners.forEach(r=>r(e,n))}subscribe(e,n,r){return this._subject.subscribe({next:e,error:n??void 0,complete:r??void 0})}static normalizeQueryParams=Qo;static joinWithSlash=kv;static stripTrailingSlash=AR;static \u0275fac=function(n){return new(n||t)(j(io))};static \u0275prov=M({token:t,factory:()=>xW(),providedIn:"root"})}return t})();function xW(){return new Fa(j(io))}function DW(t,i){if(!t||!i.startsWith(t))return i;let e=i.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:i}function kR(t){return t.replace(/\/index\.html$/,"")}function MW(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var Pv=(()=>{class t extends io{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,n!=null&&(this._baseHref=n)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let n=this._platformLocation.hash??"#";return n.length>0?n.substring(1):n}prepareExternalUrl(e){let n=kv(this._baseHref,e);return n.length>0?"#"+n:n}pushState(e,n,r,o){let a=this.prepareExternalUrl(r+Qo(o))||this._platformLocation.pathname;this._platformLocation.pushState(e,n,a)}replaceState(e,n,r,o){let a=this.prepareExternalUrl(r+Qo(o))||this._platformLocation.pathname;this._platformLocation.replaceState(e,n,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(n){return new(n||t)(j(Ds),j(Ov,8))};static \u0275prov=M({token:t,factory:t.\u0275fac})}return t})();var iM=(function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t})(iM||{});var La={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function wu(t,i){let e=Cv(t),n=e[Lc.NumberSymbols][i];if(typeof n>"u"){if(i===La.CurrencyDecimal)return e[Lc.NumberSymbols][La.Decimal];if(i===La.CurrencyGroup)return e[Lc.NumberSymbols][La.Group]}return n}function PR(t,i){return Cv(t)[Lc.NumberFormats][i]}var SW=/^(\d+)?\.((\d+)(-(\d+))?)?$/,OR=22,Rv=".",mm="0",TW=";",IW=",",XD="#";function AW(t,i,e,n,r,o,a=!1){let s="",l=!1;if(!isFinite(t))s=wu(e,La.Infinity);else{let c=NW(t);a&&(c=OW(c));let u=i.minInt,h=i.minFrac,m=i.maxFrac;if(o){let L=o.match(SW);if(L===null)throw new $(2306,!1);let ce=L[1],oe=L[3],_e=L[5];ce!=null&&(u=JD(ce)),oe!=null&&(h=JD(oe)),_e!=null?m=JD(_e):oe!=null&&h>m&&(m=h);let ye=100;if(u>ye||h>ye||m>ye)throw new $(2306,!1)}RW(c,h,m);let p=c.digits,b=c.integerLen,D=c.exponent,A=[];for(l=p.every(L=>!L);b<u;b++)p.unshift(0);for(;b<0;b++)p.unshift(0);b>0?A=p.splice(b,p.length):(A=p,p=[0]);let k=[];for(p.length>=i.lgSize&&k.unshift(p.splice(-i.lgSize,p.length).join(""));p.length>i.gSize;)k.unshift(p.splice(-i.gSize,p.length).join(""));p.length&&k.unshift(p.join("")),s=k.join(wu(e,n)),A.length&&(s+=wu(e,r)+A.join("")),D&&(s+=wu(e,La.Exponential)+"+"+D)}return t<0&&!l?s=i.negPre+s+i.negSuf:s=i.posPre+s+i.posSuf,s}function FR(t,i,e){let n=PR(i,iM.Decimal),r=kW(n,wu(i,La.MinusSign));return AW(t,r,i,La.Group,La.Decimal,e)}function kW(t,i="-"){let e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(TW),r=n[0],o=n[1],a=r.indexOf(Rv)!==-1?r.split(Rv):[r.substring(0,r.lastIndexOf(mm)+1),r.substring(r.lastIndexOf(mm)+1)],s=a[0],l=a[1]||"";e.posPre=s.substring(0,s.indexOf(XD));for(let u=0;u<l.length;u++){let h=l.charAt(u);h===mm?e.minFrac=e.maxFrac=u+1:h===XD?e.maxFrac=u+1:e.posSuf+=h}let c=s.split(IW);if(e.gSize=c[1]?c[1].length:0,e.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,o){let u=r.length-e.posPre.length-e.posSuf.length,h=o.indexOf(XD);e.negPre=o.substring(0,h).replace(/'/g,""),e.negSuf=o.slice(h+u).replace(/'/g,"")}else e.negPre=i+e.posPre,e.negSuf=e.posSuf;return e}function OW(t){if(t.digits[0]===0)return t;let i=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(i===0?t.digits.push(0,0):i===1&&t.digits.push(0),t.integerLen+=2),t}function NW(t){let i=Math.abs(t)+"",e=0,n,r,o,a,s;for((r=i.indexOf(Rv))>-1&&(i=i.replace(Rv,"")),(o=i.search(/e/i))>0?(r<0&&(r=o),r+=+i.slice(o+1),i=i.substring(0,o)):r<0&&(r=i.length),o=0;i.charAt(o)===mm;o++);if(o===(s=i.length))n=[0],r=1;else{for(s--;i.charAt(s)===mm;)s--;for(r-=o,n=[],a=0;o<=s;o++,a++)n[a]=Number(i.charAt(o))}return r>OR&&(n=n.splice(0,OR-1),e=r-1,r=1),{digits:n,exponent:e,integerLen:r}}function RW(t,i,e){if(i>e)throw new $(2307,!1);let n=t.digits,r=n.length-t.integerLen,o=Math.min(Math.max(i,r),e),a=o+t.integerLen,s=n[a];if(a>0){n.splice(Math.max(t.integerLen,a));for(let h=a;h<n.length;h++)n[h]=0}else{r=Math.max(0,r),t.integerLen=1,n.length=Math.max(1,a=o+1),n[0]=0;for(let h=1;h<a;h++)n[h]=0}if(s>=5)if(a-1<0){for(let h=0;h>a;h--)n.unshift(0),t.integerLen++;n.unshift(1),t.integerLen++}else n[a-1]++;for(;r<Math.max(0,o);r++)n.push(0);let l=o!==0,c=i+t.integerLen,u=n.reduceRight(function(h,m,p,b){return m=m+h,b[p]=m<10?m:m-10,l&&(b[p]===0&&p>=c?b.pop():l=!1),m>=10?1:0},0);u&&(n.unshift(u),t.integerLen++)}function JD(t){let i=parseInt(t);if(isNaN(i))throw new $(2305,!1);return i}var eM=/\s+/,NR=[],ot=(()=>{class t{_ngEl;_renderer;initialClasses=NR;rawClass;stateMap=new Map;constructor(e,n){this._ngEl=e,this._renderer=n}set klass(e){this.initialClasses=e!=null?e.trim().split(eM):NR}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(eM):e}ngDoCheck(){for(let n of this.initialClasses)this._updateState(n,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let n of e)this._updateState(n,!0);else if(e!=null)for(let n of Object.keys(e))this._updateState(n,!!e[n]);this._applyStateDiff()}_updateState(e,n){let r=this.stateMap.get(e);r!==void 0?(r.enabled!==n&&(r.changed=!0,r.enabled=n),r.touched=!0):this.stateMap.set(e,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let n=e[0],r=e[1];r.changed?(this._toggleClass(n,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),r.touched=!1}}_toggleClass(e,n){e=e.trim(),e.length>0&&e.split(eM).forEach(r=>{n?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(n){return new(n||t)(Ve(Q),Ve(Ge))};static \u0275dir=W({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var Ms=(()=>{class t{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,n,r){this._ngEl=e,this._differs=n,this._renderer=r}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,n){let[r,o]=e.split("."),a=r.indexOf("-")===-1?void 0:qo.DashCase;n!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${n}${o}`:n,a):this._renderer.removeStyle(this._ngEl.nativeElement,r,a)}_applyChanges(e){e.forEachRemovedItem(n=>this._setStyle(n.key,null)),e.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),e.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue))}static \u0275fac=function(n){return new(n||t)(Ve(Q),Ve(Iv),Ve(Ge))};static \u0275dir=W({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),Pn=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=d(he);constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=n.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,n,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,n,r):!1,get:(e,n,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,r)}})}static \u0275fac=function(n){return new(n||t)(Ve(wn))};static \u0275dir=W({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Ze]})}return t})();function rM(t,i){return new $(2100,!1)}var tM=class{createSubscription(i,e,n){return xt(()=>i.subscribe({next:e,error:n}))}dispose(i){xt(()=>i.unsubscribe())}},nM=class{createSubscription(i,e,n){return i.then(r=>e?.(r),r=>n?.(r)),{unsubscribe:()=>{e=null,n=null}}}dispose(i){i.unsubscribe()}},PW=new nM,FW=new tM,Zo=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=d(Xi);constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,n=>this._updateLatestValue(e,n),n=>this.applicationErrorHandler(n))}_selectStrategy(e){if(xs(e))return PW;if(yv(e))return FW;throw rM(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,n){e===this._obj&&(this._latestValue=n,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(n){return new(n||t)(Ve(Pe,16))};static \u0275pipe=Rc({name:"async",type:t,pure:!1})}return t})();var oM=(()=>{class t{transform(e){return JSON.stringify(e,null,2)}static \u0275fac=function(n){return new(n||t)};static \u0275pipe=Rc({name:"json",type:t,pure:!1})}return t})();function LW(t,i){return{key:t,value:i}}var pm=(()=>{class t{differs;constructor(e){this.differs=e}differ;keyValues=[];compareFn=RR;transform(e,n=RR){if(!e||!(e instanceof Map)&&typeof e!="object")return null;this.differ??=this.differs.find(e).create();let r=this.differ.diff(e),o=n!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(a=>{this.keyValues.push(LW(a.key,a.currentValue))})),(r||o)&&(n&&this.keyValues.sort(n),this.compareFn=n),this.keyValues}static \u0275fac=function(n){return new(n||t)(Ve(Iv,16))};static \u0275pipe=Rc({name:"keyvalue",type:t,pure:!1})}return t})();function RR(t,i){let e=t.key,n=i.key;if(e===n)return 0;if(e==null)return 1;if(n==null)return-1;if(typeof e=="string"&&typeof n=="string")return e<n?-1:1;if(typeof e=="number"&&typeof n=="number")return e-n;if(typeof e=="boolean"&&typeof n=="boolean")return e<n?-1:1;let r=String(e),o=String(n);return r==o?0:r<o?-1:1}var aM=(()=>{class t{_locale;constructor(e){this._locale=e}transform(e,n,r){if(!VW(e))return null;r||=this._locale;try{let o=jW(e);return FR(o,r,n)}catch(o){throw rM(t,o.message)}}static \u0275fac=function(n){return new(n||t)(Ve(Vc,16))};static \u0275pipe=Rc({name:"number",type:t,pure:!0})}return t})();function VW(t){return!(t==null||t===""||t!==t)}function jW(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new $(2309,!1);return t}var sM=(()=>{class t{transform(e,n,r){if(e==null)return null;if(!(typeof e=="string"||Array.isArray(e)))throw rM(t,e);return e.slice(n,r)}static \u0275fac=function(n){return new(n||t)};static \u0275pipe=Rc({name:"slice",type:t,pure:!1})}return t})();var Ue=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({})}return t})();function gm(t,i){i=encodeURIComponent(i);for(let e of t.split(";")){let n=e.indexOf("="),[r,o]=n==-1?[e,""]:[e.slice(0,n),e.slice(n+1)];if(r.trim()===i)return decodeURIComponent(o)}return null}var jc=class{};var cM="browser";function LR(t){return t===cM}var dM=(()=>{class t{static \u0275prov=M({token:t,providedIn:"root",factory:()=>new lM(d(ve),window)})}return t})(),lM=class{document;window;offset=()=>[0,0];constructor(i,e){this.document=i,this.window=e}setOffset(i){Array.isArray(i)?this.offset=()=>i:this.offset=i}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(i,e){this.window.scrollTo(Y(x({},e),{left:i[0],top:i[1]}))}scrollToAnchor(i,e){let n=UW(this.document,i);n&&(this.scrollToElement(n,e),n.focus({preventScroll:!0}))}setHistoryScrollRestoration(i){try{this.window.history.scrollRestoration=i}catch(e){console.warn(Qr(2400,!1))}}scrollToElement(i,e){let n=i.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,a=this.offset();this.window.scrollTo(Y(x({},e),{left:r-a[0],top:o-a[1]}))}};function UW(t,i){let e=t.getElementById(i)||t.getElementsByName(i)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=n.currentNode;for(;r;){let o=r.shadowRoot;if(o){let a=o.getElementById(i)||o.querySelector(`[name="${i}"]`);if(a)return a}r=n.nextNode()}}return null}var _m=class{_doc;constructor(i){this._doc=i}manager},Fv=(()=>{class t extends _m{constructor(e){super(e)}supports(e){return!0}addEventListener(e,n,r,o){return e.addEventListener(n,r,o),()=>this.removeEventListener(e,n,r,o)}removeEventListener(e,n,r,o){return e.removeEventListener(n,r,o)}static \u0275fac=function(n){return new(n||t)(j(ve))};static \u0275prov=M({token:t,factory:t.\u0275fac})}return t})(),jv=new T(""),mM=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,n){this._zone=n,e.forEach(a=>{a.manager=this});let r=e.filter(a=>!(a instanceof Fv));this._plugins=r.slice().reverse();let o=e.find(a=>a instanceof Fv);o&&this._plugins.push(o)}addEventListener(e,n,r,o){return this._findPluginFor(n).addEventListener(e,n,r,o)}getZone(){return this._zone}_findPluginFor(e){let n=this._eventNameToPlugin.get(e);if(n)return n;if(n=this._plugins.find(o=>o.supports(e)),!n)throw new $(5101,!1);return this._eventNameToPlugin.set(e,n),n}static \u0275fac=function(n){return new(n||t)(j(jv),j(ne))};static \u0275prov=M({token:t,factory:t.\u0275fac})}return t})(),uM="ng-app-id";function VR(t){for(let i of t)i.remove()}function jR(t,i){let e=i.createElement("style");return e.textContent=t,e}function HW(t,i,e,n){let r=t.head?.querySelectorAll(`style[${uM}="${i}"],link[${uM}="${i}"]`);if(r)for(let o of r)o.removeAttribute(uM),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function fM(t,i){let e=i.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var pM=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,n,r,o={}){this.doc=e,this.appId=n,this.nonce=r,HW(e,n,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,n){for(let r of e)this.addUsage(r,this.inline,jR);n?.forEach(r=>this.addUsage(r,this.external,fM))}removeStyles(e,n){for(let r of e)this.removeUsage(r,this.inline);n?.forEach(r=>this.removeUsage(r,this.external))}addUsage(e,n,r){let o=n.get(e);o?o.usage++:n.set(e,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,r(e,this.doc)))})}removeUsage(e,n){let r=n.get(e);r&&(r.usage--,r.usage<=0&&(VR(r.elements),n.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])VR(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[n,{elements:r}]of this.inline)r.push(this.addElement(e,jR(n,this.doc)));for(let[n,{elements:r}]of this.external)r.push(this.addElement(e,fM(n,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,n){return this.nonce&&n.setAttribute("nonce",this.nonce),e.appendChild(n)}static \u0275fac=function(n){return new(n||t)(j(ve),j(ml),j(kc,8),j(Ac))};static \u0275prov=M({token:t,factory:t.\u0275fac})}return t})(),hM={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"},gM=/%COMP%/g;var UR="%COMP%",zW=`_nghost-${UR}`,$W=`_ngcontent-${UR}`,WW=!0,qW=new T("",{factory:()=>WW});function GW(t){return $W.replace(gM,t)}function YW(t){return zW.replace(gM,t)}function HR(t,i){return i.map(e=>e.replace(gM,t))}var bm=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,n,r,o,a,s,l=null,c=null){this.eventManager=e,this.sharedStylesHost=n,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=a,this.ngZone=s,this.nonce=l,this.tracingService=c,this.defaultRenderer=new vm(e,a,s,this.tracingService)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;let r=this.getOrCreateRenderer(e,n);return r instanceof Vv?r.applyToHost(e):r instanceof ym&&r.applyStyles(),r}getOrCreateRenderer(e,n){let r=this.rendererByCompId,o=r.get(n.id);if(!o){let a=this.doc,s=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,h=this.tracingService;switch(n.encapsulation){case Wo.Emulated:o=new Vv(l,c,n,this.appId,u,a,s,h);break;case Wo.ShadowDom:return new Lv(l,e,n,a,s,this.nonce,h,c);case Wo.ExperimentalIsolatedShadowDom:return new Lv(l,e,n,a,s,this.nonce,h);default:o=new ym(l,c,n,u,a,s,h);break}r.set(n.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(n){return new(n||t)(j(mM),j(pM),j(ml),j(qW),j(ve),j(ne),j(kc),j(Go,8))};static \u0275prov=M({token:t,factory:t.\u0275fac})}return t})(),vm=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(i,e,n,r){this.eventManager=i,this.doc=e,this.ngZone=n,this.tracingService=r}destroy(){}destroyNode=null;createElement(i,e){return e?this.doc.createElementNS(hM[e]||e,i):this.doc.createElement(i)}createComment(i){return this.doc.createComment(i)}createText(i){return this.doc.createTextNode(i)}appendChild(i,e){(BR(i)?i.content:i).appendChild(e)}insertBefore(i,e,n){i&&(BR(i)?i.content:i).insertBefore(e,n)}removeChild(i,e){e.remove()}selectRootElement(i,e){let n=typeof i=="string"?this.doc.querySelector(i):i;if(!n)throw new $(-5104,!1);return e||(n.textContent=""),n}parentNode(i){return i.parentNode}nextSibling(i){return i.nextSibling}setAttribute(i,e,n,r){if(r){e=r+":"+e;let o=hM[r];o?i.setAttributeNS(o,e,n):i.setAttribute(e,n)}else i.setAttribute(e,n)}removeAttribute(i,e,n){if(n){let r=hM[n];r?i.removeAttributeNS(r,e):i.removeAttribute(`${n}:${e}`)}else i.removeAttribute(e)}addClass(i,e){i.classList.add(e)}removeClass(i,e){i.classList.remove(e)}setStyle(i,e,n,r){r&(qo.DashCase|qo.Important)?i.style.setProperty(e,n,r&qo.Important?"important":""):i.style[e]=n}removeStyle(i,e,n){n&qo.DashCase?i.style.removeProperty(e):i.style[e]=""}setProperty(i,e,n){i!=null&&(i[e]=n)}setValue(i,e){i.nodeValue=e}listen(i,e,n,r){if(typeof i=="string"&&(i=no().getGlobalEventTarget(this.doc,i),!i))throw new $(5102,!1);let o=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(i,e,o)),this.eventManager.addEventListener(i,e,o,r)}decoratePreventDefault(i){return e=>{if(e==="__ngUnwrap__")return i;i(e)===!1&&e.preventDefault()}}};function BR(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Lv=class extends vm{hostEl;sharedStylesHost;shadowRoot;constructor(i,e,n,r,o,a,s,l){super(i,r,o,s),this.hostEl=e,this.sharedStylesHost=l,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let c=n.styles;c=HR(n.id,c);for(let h of c){let m=document.createElement("style");a&&m.setAttribute("nonce",a),m.textContent=h,this.shadowRoot.appendChild(m)}let u=n.getExternalStyles?.();if(u)for(let h of u){let m=fM(h,r);a&&m.setAttribute("nonce",a),this.shadowRoot.appendChild(m)}}nodeOrShadowRoot(i){return i===this.hostEl?this.shadowRoot:i}appendChild(i,e){return super.appendChild(this.nodeOrShadowRoot(i),e)}insertBefore(i,e,n){return super.insertBefore(this.nodeOrShadowRoot(i),e,n)}removeChild(i,e){return super.removeChild(null,e)}parentNode(i){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(i)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},ym=class extends vm{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(i,e,n,r,o,a,s,l){super(i,o,a,s),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let c=n.styles;this.styles=l?HR(l,c):c,this.styleUrls=n.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Tc.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Vv=class extends ym{contentAttr;hostAttr;constructor(i,e,n,r,o,a,s,l){let c=r+"-"+n.id;super(i,e,n,o,a,s,l,c),this.contentAttr=GW(c),this.hostAttr=YW(c)}applyToHost(i){this.applyStyles(),this.setAttribute(i,this.hostAttr,"")}createElement(i,e){let n=super.createElement(i,e);return super.setAttribute(n,this.contentAttr,""),n}};var Bv=class t extends fm{supportsDOMEvents=!0;static makeCurrent(){ZD(new t)}onAndCancel(i,e,n,r){return i.addEventListener(e,n,r),()=>{i.removeEventListener(e,n,r)}}dispatchEvent(i,e){i.dispatchEvent(e)}remove(i){i.remove()}createElement(i,e){return e=e||this.getDefaultDocument(),e.createElement(i)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(i){return i.nodeType===Node.ELEMENT_NODE}isShadowRoot(i){return i instanceof DocumentFragment}getGlobalEventTarget(i,e){return e==="window"?window:e==="document"?i:e==="body"?i.body:null}getBaseHref(i){let e=QW();return e==null?null:ZW(e)}resetBaseElement(){Cm=null}getUserAgent(){return window.navigator.userAgent}getCookie(i){return gm(document.cookie,i)}},Cm=null;function QW(){return Cm=Cm||document.head.querySelector("base"),Cm?Cm.getAttribute("href"):null}function ZW(t){return new URL(t,document.baseURI).pathname}var KW=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac})}return t})(),zR=["alt","control","meta","shift"],XW={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},JW={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},$R=(()=>{class t extends _m{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,n,r,o){let a=t.parseEventName(n),s=t.eventCallback(a.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>no().onAndCancel(e,a.domEventName,s,o))}static parseEventName(e){let n=e.toLowerCase().split("."),r=n.shift();if(n.length===0||!(r==="keydown"||r==="keyup"))return null;let o=t._normalizeKey(n.pop()),a="",s=n.indexOf("code");if(s>-1&&(n.splice(s,1),a="code."),zR.forEach(c=>{let u=n.indexOf(c);u>-1&&(n.splice(u,1),a+=c+".")}),a+=o,n.length!=0||o.length===0)return null;let l={};return l.domEventName=r,l.fullKey=a,l}static matchEventFullKeyCode(e,n){let r=XW[e.key]||e.key,o="";return n.indexOf("code.")>-1&&(r=e.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),zR.forEach(a=>{if(a!==r){let s=JW[a];s(e)&&(o+=a+".")}}),o+=r,o===n)}static eventCallback(e,n,r){return o=>{t.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>n(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(n){return new(n||t)(j(ve))};static \u0275prov=M({token:t,factory:t.\u0275fac})}return t})();function _M(t,i,e){return St(this,null,function*(){let n=x({rootComponent:t},eq(i,e));return DR(n)})}function eq(t,i){return{platformRef:i?.platformRef,appProviders:[...oq,...t?.providers??[]],platformProviders:rq}}function tq(){Bv.makeCurrent()}function nq(){return new Hn}function iq(){return eD(document),document}var rq=[{provide:Ac,useValue:cM},{provide:iv,useValue:tq,multi:!0},{provide:ve,useFactory:iq}];var oq=[{provide:Of,useValue:"root"},{provide:Hn,useFactory:nq},{provide:jv,useClass:Fv,multi:!0},{provide:jv,useClass:$R,multi:!0},bm,pM,mM,{provide:kn,useExisting:bm},{provide:jc,useClass:KW},[]];var si=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(i){i?typeof i=="string"?this.lazyInit=()=>{this.headers=new Map,i.split(` 5`).forEach(e=>{let n=e.indexOf(":");if(n>0){let r=e.slice(0,n),o=e.slice(n+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&i instanceof Headers?(this.headers=new Map,i.forEach((e,n)=>{this.addHeaderEntry(n,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(i).forEach(([e,n])=>{this.setHeaderEntries(e,n)})}:this.headers=new Map}has(i){return this.init(),this.headers.has(i.toLowerCase())}get(i){this.init();let e=this.headers.get(i.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(i){return this.init(),this.headers.get(i.toLowerCase())||null}append(i,e){return this.clone({name:i,value:e,op:"a"})}set(i,e){return this.clone({name:i,value:e,op:"s"})}delete(i,e){return this.clone({name:i,value:e,op:"d"})}maybeSetNormalizedName(i,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,i)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(i=>this.applyUpdate(i)),this.lazyUpdate=null))}copyFrom(i){i.init(),Array.from(i.headers.keys()).forEach(e=>{this.headers.set(e,i.headers.get(e)),this.normalizedNames.set(e,i.normalizedNames.get(e))})}clone(i){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([i]),e}applyUpdate(i){let e=i.name.toLowerCase();switch(i.op){case"a":case"s":let n=i.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(i.name,e);let r=(i.op==="a"?this.headers.get(e):void 0)||[];r.push(...n),this.headers.set(e,r);break;case"d":let o=i.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let a=this.headers.get(e);if(!a)return;a=a.filter(s=>o.indexOf(s)===-1),a.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}break}}addHeaderEntry(i,e){let n=i.toLowerCase();this.maybeSetNormalizedName(i,n),this.headers.has(n)?this.headers.get(n).push(e):this.headers.set(n,[e])}setHeaderEntries(i,e){let n=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=i.toLowerCase();this.headers.set(r,n),this.maybeSetNormalizedName(i,r)}forEach(i){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>i(this.normalizedNames.get(e),this.headers.get(e)))}};var Hv=class{map=new Map;set(i,e){return this.map.set(i,e),this}get(i){return this.map.has(i)||this.map.set(i,i.defaultValue()),this.map.get(i)}delete(i){return this.map.delete(i),this}has(i){return this.map.has(i)}keys(){return this.map.keys()}},zv=class{encodeKey(i){return WR(i)}encodeValue(i){return WR(i)}decodeKey(i){return decodeURIComponent(i)}decodeValue(i){return decodeURIComponent(i)}};function aq(t,i){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[a,s]=o==-1?[i.decodeKey(r),""]:[i.decodeKey(r.slice(0,o)),i.decodeValue(r.slice(o+1))],l=e.get(a)||[];l.push(s),e.set(a,l)}),e}var sq=/%(\d[a-f0-9])/gi,lq={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function WR(t){return encodeURIComponent(t).replace(sq,(i,e)=>lq[e]??i)}function Uv(t){return`${t}`}var Wi=class t{map;encoder;updates=null;cloneFrom=null;constructor(i={}){if(this.encoder=i.encoder||new zv,i.fromString){if(i.fromObject)throw new $(2805,!1);this.map=aq(i.fromString,this.encoder)}else i.fromObject?(this.map=new Map,Object.keys(i.fromObject).forEach(e=>{let n=i.fromObject[e],r=Array.isArray(n)?n.map(Uv):[Uv(n)];this.map.set(e,r)})):this.map=null}has(i){return this.init(),this.map.has(i)}get(i){this.init();let e=this.map.get(i);return e?e[0]:null}getAll(i){return this.init(),this.map.get(i)||null}keys(){return this.init(),Array.from(this.map.keys())}append(i,e){return this.clone({param:i,value:e,op:"a"})}appendAll(i){let e=[];return Object.keys(i).forEach(n=>{let r=i[n];Array.isArray(r)?r.forEach(o=>{e.push({param:n,value:o,op:"a"})}):e.push({param:n,value:r,op:"a"})}),this.clone(e)}set(i,e){return this.clone({param:i,value:e,op:"s"})}delete(i,e){return this.clone({param:i,value:e,op:"d"})}toString(){return this.init(),this.keys().map(i=>{let e=this.encoder.encodeKey(i);return this.map.get(i).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(i=>i!=="").join("&")}clone(i){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(i),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(i=>this.map.set(i,this.cloneFrom.map.get(i))),this.updates.forEach(i=>{switch(i.op){case"a":case"s":let e=(i.op==="a"?this.map.get(i.param):void 0)||[];e.push(Uv(i.value)),this.map.set(i.param,e);break;case"d":if(i.value!==void 0){let n=this.map.get(i.param)||[],r=n.indexOf(Uv(i.value));r!==-1&&n.splice(r,1),n.length>0?this.map.set(i.param,n):this.map.delete(i.param)}else{this.map.delete(i.param);break}}}),this.cloneFrom=this.updates=null)}};function cq(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function qR(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function GR(t){return typeof Blob<"u"&&t instanceof Blob}function YR(t){return typeof FormData<"u"&&t instanceof FormData}function dq(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var QR="Content-Type",ZR="Accept",XR="text/plain",JR="application/json",uq=`${JR}, ${XR}, */*`,xu=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(i,e,n,r){this.url=e,this.method=i.toUpperCase();let o;if(cq(this.method)||r?(this.body=n!==void 0?n:null,o=r):o=n,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new $(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer!==void 0&&(this.referrer=o.referrer),o.referrerPolicy&&(this.referrerPolicy=o.referrerPolicy),this.transferCache=o.transferCache}if(this.headers??=new si,this.context??=new Hv,!this.params)this.params=new Wi,this.urlWithParams=e;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=e;else{let s=e.indexOf("?"),l=s===-1?"?":s<e.length-1?"&":"";this.urlWithParams=e+l+a}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||qR(this.body)||GR(this.body)||YR(this.body)||dq(this.body)?this.body:this.body instanceof Wi?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||YR(this.body)?null:GR(this.body)?this.body.type||null:qR(this.body)?null:typeof this.body=="string"?XR:this.body instanceof Wi?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?JR:null}clone(i={}){let e=i.method||this.method,n=i.url||this.url,r=i.responseType||this.responseType,o=i.keepalive??this.keepalive,a=i.priority||this.priority,s=i.cache||this.cache,l=i.mode||this.mode,c=i.redirect||this.redirect,u=i.credentials||this.credentials,h=i.referrer??this.referrer,m=i.integrity||this.integrity,p=i.referrerPolicy||this.referrerPolicy,b=i.transferCache??this.transferCache,D=i.timeout??this.timeout,A=i.body!==void 0?i.body:this.body,k=i.withCredentials??this.withCredentials,L=i.reportProgress??this.reportProgress,ce=i.headers||this.headers,oe=i.params||this.params,_e=i.context??this.context;return i.setHeaders!==void 0&&(ce=Object.keys(i.setHeaders).reduce((ye,ge)=>ye.set(ge,i.setHeaders[ge]),ce)),i.setParams&&(oe=Object.keys(i.setParams).reduce((ye,ge)=>ye.set(ge,i.setParams[ge]),oe)),new t(e,n,A,{params:oe,headers:ce,context:_e,reportProgress:L,responseType:r,withCredentials:k,transferCache:b,keepalive:o,cache:s,priority:a,timeout:D,mode:l,redirect:c,credentials:u,referrer:h,integrity:m,referrerPolicy:p})}},Bc=(function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t})(Bc||{}),Du=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(i,e=200,n="OK"){this.headers=i.headers||new si,this.status=i.status!==void 0?i.status:e,this.statusText=i.statusText||n,this.url=i.url||null,this.redirected=i.redirected,this.responseType=i.responseType,this.ok=this.status>=200&&this.status<300}},$v=class t extends Du{constructor(i={}){super(i)}type=Bc.ResponseHeader;clone(i={}){return new t({headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},wm=class t extends Du{body;constructor(i={}){super(i),this.body=i.body!==void 0?i.body:null}type=Bc.Response;clone(i={}){return new t({body:i.body!==void 0?i.body:this.body,headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0,redirected:i.redirected??this.redirected,responseType:i.responseType??this.responseType})}},bl=class extends Du{name="HttpErrorResponse";message;error;ok=!1;constructor(i){super(i,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${i.url||"(unknown url)"}`:this.message=`Http failure response for ${i.url||"(unknown url)"}: ${i.status} ${i.statusText}`,this.error=i.error||null}},hq=200,fq=204;var mq=new T("");var pq=/^\)\]\}',?\n/;var yM=(()=>{class t{xhrFactory;tracingService=d(Go,{optional:!0});constructor(e){this.xhrFactory=e}maybePropagateTrace(e){return this.tracingService?.propagate?this.tracingService.propagate(e):e}handle(e){if(e.method==="JSONP")throw new $(-2800,!1);let n=this.xhrFactory;return K(null).pipe(lt(()=>new De(o=>{let a=n.build();if(a.open(e.method,e.urlWithParams),e.withCredentials&&(a.withCredentials=!0),e.headers.forEach((A,k)=>a.setRequestHeader(A,k.join(","))),e.headers.has(ZR)||a.setRequestHeader(ZR,uq),!e.headers.has(QR)){let A=e.detectContentTypeHeader();A!==null&&a.setRequestHeader(QR,A)}if(e.timeout&&(a.timeout=e.timeout),e.responseType){let A=e.responseType.toLowerCase();a.responseType=A!=="json"?A:"text"}let s=e.serializeBody(),l=null,c=()=>{if(l!==null)return l;let A=a.statusText||"OK",k=new si(a.getAllResponseHeaders()),L=a.responseURL||e.url;return l=new $v({headers:k,status:a.status,statusText:A,url:L}),l},u=this.maybePropagateTrace(()=>{let{headers:A,status:k,statusText:L,url:ce}=c(),oe=null;k!==fq&&(oe=typeof a.response>"u"?a.responseText:a.response),k===0&&(k=oe?hq:0);let _e=k>=200&&k<300;if(e.responseType==="json"&&typeof oe=="string"){let ye=oe;oe=oe.replace(pq,"");try{oe=oe!==""?JSON.parse(oe):null}catch(ge){oe=ye,_e&&(_e=!1,oe={error:ge,text:oe})}}_e?(o.next(new wm({body:oe,headers:A,status:k,statusText:L,url:ce||void 0})),o.complete()):o.error(new bl({error:oe,headers:A,status:k,statusText:L,url:ce||void 0}))}),h=this.maybePropagateTrace(A=>{let{url:k}=c(),L=new bl({error:A,status:a.status||0,statusText:a.statusText||"Unknown Error",url:k||void 0});o.error(L)}),m=h;e.timeout&&(m=this.maybePropagateTrace(A=>{let{url:k}=c(),L=new bl({error:new DOMException("Request timed out","TimeoutError"),status:a.status||0,statusText:a.statusText||"Request timeout",url:k||void 0});o.error(L)}));let p=!1,b=this.maybePropagateTrace(A=>{p||(o.next(c()),p=!0);let k={type:Bc.DownloadProgress,loaded:A.loaded};A.lengthComputable&&(k.total=A.total),e.responseType==="text"&&a.responseText&&(k.partialText=a.responseText),o.next(k)}),D=this.maybePropagateTrace(A=>{let k={type:Bc.UploadProgress,loaded:A.loaded};A.lengthComputable&&(k.total=A.total),o.next(k)});return a.addEventListener("load",u),a.addEventListener("error",h),a.addEventListener("timeout",m),a.addEventListener("abort",h),e.reportProgress&&(a.addEventListener("progress",b),s!==null&&a.upload&&a.upload.addEventListener("progress",D)),a.send(s),o.next({type:Bc.Sent}),()=>{a.removeEventListener("error",h),a.removeEventListener("abort",h),a.removeEventListener("load",u),a.removeEventListener("timeout",m),e.reportProgress&&(a.removeEventListener("progress",b),s!==null&&a.upload&&a.upload.removeEventListener("progress",D)),a.readyState!==a.DONE&&a.abort()}})))}static \u0275fac=function(n){return new(n||t)(j(jc))};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),gq=new T("",{factory:()=>!0}),_q="XSRF-TOKEN",vq=new T("",{factory:()=>_q}),yq="X-XSRF-TOKEN",bq=new T("",{factory:()=>yq}),Cq=(()=>{class t{cookieName=d(vq);doc=d(ve);lastCookieString="";lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=gm(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),eP=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=j(Cq),r},providedIn:"root"})}return t})();function tP(t,i){if(!d(gq)||t.method==="GET"||t.method==="HEAD")return i(t);try{let r=d(Ds).href,{origin:o}=new URL(r),{origin:a}=new URL(t.url,o);if(o!==a)return i(t)}catch(r){return i(t)}let e=d(eP).getToken(),n=d(bq);return e!=null&&!t.headers.has(n)&&(t=t.clone({headers:t.headers.set(n,e)})),i(t)}function nP(t,i){return i(t)}function wq(t,i){return(e,n)=>i.intercept(e,{handle:r=>t(r,n)})}function xq(t,i,e){return(n,r)=>Yn(e,()=>i(n,o=>t(o,r)))}var Va=new T(""),bM=new T("",{factory:()=>[tP]}),iP=new T(""),CM=new T("",{factory:()=>!0});function Dq(){let t=null;return(i,e)=>{t===null&&(t=(d(Va,{optional:!0})??[]).reduceRight(wq,nP));let n=d(Mc);if(d(CM)){let o=n.add();return t(i,e).pipe(ms(o))}else return t(i,e)}}var wM=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=j(yM),r},providedIn:"root"})}return t})();var Wv=(()=>{class t{backend;injector;chain=null;pendingTasks=d(Mc);contributeToStability=d(CM);constructor(e,n){this.backend=e,this.injector=n}handle(e){if(this.chain===null){let n=Array.from(new Set([...this.injector.get(bM),...this.injector.get(iP,[])]));this.chain=n.reduceRight((r,o)=>xq(r,o,this.injector),nP)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(ms(n))}else return this.chain(e,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||t)(j(wM),j(Bt))};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),xM=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=j(Wv),r},providedIn:"root"})}return t})();function vM(t,i){return{body:i,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,credentials:t.credentials,transferCache:t.transferCache,timeout:t.timeout,keepalive:t.keepalive,priority:t.priority,cache:t.cache,mode:t.mode,redirect:t.redirect,integrity:t.integrity,referrer:t.referrer,referrerPolicy:t.referrerPolicy}}var ro=(()=>{class t{handler;constructor(e){this.handler=e}request(e,n,r={}){let o;if(e instanceof xu)o=e;else{let l;r.headers instanceof si?l=r.headers:l=new si(r.headers);let c;r.params&&(r.params instanceof Wi?c=r.params:c=new Wi({fromObject:r.params})),o=new xu(e,n,r.body!==void 0?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache,keepalive:r.keepalive,priority:r.priority,cache:r.cache,mode:r.mode,redirect:r.redirect,credentials:r.credentials,referrer:r.referrer,referrerPolicy:r.referrerPolicy,integrity:r.integrity,timeout:r.timeout})}let a=K(o).pipe(Bi(l=>this.handler.handle(l)));if(e instanceof xu||r.observe==="events")return a;let s=a.pipe(J(l=>l instanceof wm));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return s.pipe(X(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new $(2806,
5!1);return l.body}));case"blob":return s.pipe(X(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new $(2807,!1);return l.body}));case"text":return s.pipe(X(l=>{if(l.body!==null&&typeof l.body!="string")throw new $(2808,!1);return l.body}));default:return s.pipe(X(l=>l.body))}case"response":return s;default:throw new $(2809,!1)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:new Wi().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,r={}){return this.request("PATCH",e,vM(r,n))}post(e,n,r={}){return this.request("POST",e,vM(r,n))}put(e,n,r={}){return this.request("PUT",e,vM(r,n))}static \u0275fac=function(n){return new(n||t)(j(xM))};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var DM=(function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t})(DM||{});function Mq(t,i){return{\u0275kind:t,\u0275providers:i}}function Es(...t){let i=[ro,Wv,{provide:xM,useExisting:Wv},{provide:wM,useFactory:()=>d(mq,{optional:!0})??d(yM)},{provide:bM,useValue:tP,multi:!0}];for(let e of t)i.push(...e.\u0275providers);return ri(i)}var KR=new T("");function Ss(){return Mq(DM.LegacyInterceptors,[{provide:KR,useFactory:Dq},{provide:bM,useExisting:KR,multi:!0}])}var qv=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(n){return new(n||t)(j(ve))};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var MM=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=j(Sq),r},providedIn:"root"})}return t})(),Sq=(()=>{class t extends MM{_doc;constructor(e){super(),this._doc=e}sanitize(e,n){if(n==null)return null;switch(e){case Ji.NONE:return n;case Ji.HTML:return Na(n,"HTML")?Ir(n):sv(this._doc,String(n)).toString();case Ji.STYLE:return Na(n,"Style")?Ir(n):n;case Ji.SCRIPT:if(Na(n,"Script"))return Ir(n);throw new $(5200,!1);case Ji.URL:return Na(n,"URL")?Ir(n):Xf(String(n));case Ji.RESOURCE_URL:if(Na(n,"ResourceURL"))return Ir(n);throw new $(5201,!1);default:throw new $(5202,!1)}}bypassSecurityTrustHtml(e){return nD(e)}bypassSecurityTrustStyle(e){return iD(e)}bypassSecurityTrustScript(e){return rD(e)}bypassSecurityTrustUrl(e){return oD(e)}bypassSecurityTrustResourceUrl(e){return aD(e)}static \u0275fac=function(n){return new(n||t)(j(ve))};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var dt=(function(t){return 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",t})(dt||{}),oo="*";function EM(t,i){return{type:dt.Trigger,name:t,definitions:i,options:{}}}function SM(t,i=null){return{type:dt.Animate,styles:i,timings:t}}function rP(t,i=null){return{type:dt.Sequence,steps:t,options:i}}function Hc(t){return{type:dt.Style,styles:t,offset:null}}function Gv(t,i,e){return{type:dt.State,name:t,styles:i,options:e}}function TM(t,i,e=null){return{type:dt.Transition,expr:t,animation:i,options:e}}var ja=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(i=0,e=0){this.totalTime=i+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(i=>i()),this._onDoneFns=[])}onStart(i){this._originalOnStartFns.push(i),this._onStartFns.push(i)}onDone(i){this._originalOnDoneFns.push(i),this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(i=>
vendor: 59,410 bytes, line 5
5i()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(i=>i()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(i){this._position=this.totalTime?i*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(i){let e=i=="start"?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}},Uc=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(i){this.players=i;let e=0,n=0,r=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++e==o&&this._onFinish()}),a.onDestroy(()=>{++n==o&&this._onDestroy()}),a.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((a,s)=>Math.max(a,s.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(i=>i()),this._onDoneFns=[])}init(){this.players.forEach(i=>i.init())}onStart(i){this._onStartFns.push(i)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(i=>i()),this._onStartFns=[])}onDone(i){this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(i=>i.play())}pause(){this.players.forEach(i=>i.pause())}restart(){this.players.forEach(i=>i.restart())}finish(){this._onFinish(),this.players.forEach(i=>i.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(i=>i.destroy()),this._onDestroyFns.forEach(i=>i()),this._onDestroyFns=[])}reset(){this.players.forEach(i=>i.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(i){let e=i*this.totalTime;this.players.forEach(n=>{let r=n.totalTime?Math.min(1,e/n.totalTime):1;n.setPosition(r)})}getPosition(){let i=this.players.reduce((e,n)=>e===null||n.totalTime>e.totalTime?n:e,null);return i!=null?i.getPosition():0}beforeDestroy(){this.players.forEach(i=>{i.beforeDestroy&&i.beforeDestroy()})}triggerCallback(i){let e=i=="start"?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}},Mu="!";function oP(t){return new $(3e3,!1)}function Iq(){return new $(3100,!1)}function Aq(){return new $(3101,!1)}function kq(t){return new $(3001,!1)}function Oq(t){return new $(3003,!1)}function Nq(t){return new $(3004,!1)}function sP(t,i){return new $(3005,!1)}function lP(){return new $(3006,!1)}function cP(){return new $(3007,!1)}function dP(t,i){return new $(3008,!1)}function uP(t){return new $(3002,!1)}function hP(t,i,e,n,r){return new $(3010,!1)}function fP(){return new $(3011,!1)}function mP(){return new $(3012,!1)}function pP(){return new $(3200,!1)}function gP(){return new $(3202,!1)}function _P(){return new $(3013,!1)}function vP(t){return new $(3014,!1)}function yP(t){return new $(3015,!1)}function bP(t){return new $(3016,!1)}function CP(t,i){return new $(3404,!1)}function Rq(t){return new $(3502,!1)}function wP(t){return new $(3503,!1)}function xP(){return new $(3300,!1)}function DP(t){return new $(3504,!1)}function MP(t){return new $(3301,!1)}function EP(t,i){return new $(3302,!1)}function SP(t){return new $(3303,!1)}function TP(t,i){return new $(3400,!1)}function IP(t){return new $(3401,!1)}function AP(t){return new $(3402,!1)}function kP(t,i){return new $(3505,!1)}function Ts(t){switch(t.length){case 0:return new ja;case 1:return t[0];default:return new Uc(t)}}function OM(t,i,e=new Map,n=new Map){let r=[],o=[],a=-1,s=null;if(i.forEach(l=>{let c=l.get("offset"),u=c==a,h=u&&s||new Map;l.forEach((m,p)=>{let b=p,D=m;if(p!=="offset")switch(b=t.normalizePropertyName(b,r),D){case Mu:D=e.get(p);break;case oo:D=n.get(p);break;default:D=t.normalizeStyleValue(p,b,D,r);break}h.set(b,D)}),u||o.push(h),s=h,a=c}),r.length)throw Rq(r);return o}function Yv(t,i,e,n){switch(i){case"start":t.onStart(()=>n(e&&IM(e,"start",t)));break;case"done":t.onDone(()=>n(e&&IM(e,"done",t)));break;case"destroy":t.onDestroy(()=>n(e&&IM(e,"destroy",t)));break}}function IM(t,i,e){let n=e.totalTime,r=!!e.disabled,o=Qv(t.element,t.triggerName,t.fromState,t.toState,i||t.phaseName,n??t.totalTime,r),a=t._data;return a!=null&&(o._data=a),o}function Qv(t,i,e,n,r="",o=0,a){return{element:t,triggerName:i,fromState:e,toState:n,phaseName:r,totalTime:o,disabled:!!a}}function ir(t,i,e){let n=t.get(i);return n||t.set(i,n=e),n}function NM(t){let i=t.indexOf(":"),e=t.substring(1,i),n=t.slice(i+1);return[e,n]}var Pq=typeof document>"u"?null:document.documentElement;function Zv(t){let i=t.parentNode||t.host||null;return i===Pq?null:i}function Fq(t){return t.substring(1,6)=="ebkit"}var zc=null,aP=!1;function OP(t){zc||(zc=Lq()||{},aP=zc.style?"WebkitAppearance"in zc.style:!1);let i=!0;return zc.style&&!Fq(t)&&(i=t in zc.style,!i&&aP&&(i="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in zc.style)),i}function Lq(){return typeof document<"u"?document.body:null}function RM(t,i){for(;i;){if(i===t)return!0;i=Zv(i)}return!1}function PM(t,i,e){if(e)return Array.from(t.querySelectorAll(i));let n=t.querySelector(i);return n?[n]:[]}var Vq=1e3,FM="{{",jq="}}",LM="ng-enter",Kv="ng-leave",xm="ng-trigger",Dm=".ng-trigger",VM="ng-animating",Xv=".ng-animating";function Ba(t){if(typeof t=="number")return t;let i=t.match(/^(-?[\.\d]+)(m?s)/);return!i||i.length<2?0:AM(parseFloat(i[1]),i[2])}function AM(t,i){return i==="s"?t*Vq:t}function Mm(t,i,e){return t.hasOwnProperty("duration")?t:Uq(t,i,e)}var Bq=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function Uq(t,i,e){let n,r=0,o="";if(typeof t=="string"){let a=t.match(Bq);if(a===null)return i.push(oP(t)),{duration:0,delay:0,easing:""};n=AM(parseFloat(a[1]),a[2]);let s=a[3];s!=null&&(r=AM(parseFloat(s),a[4]));let l=a[5];l&&(o=l)}else n=t;if(!e){let a=!1,s=i.length;n<0&&(i.push(Iq()),a=!0),r<0&&(i.push(Aq()),a=!0),a&&i.splice(s,0,oP(t))}return{duration:n,delay:r,easing:o}}function NP(t){return t.length?t[0]instanceof Map?t:t.map(i=>new Map(Object.entries(i))):[]}function Ko(t,i,e){i.forEach((n,r)=>{let o=Jv(r);e&&!e.has(r)&&e.set(r,t.style[o]),t.style[o]=n})}function Cl(t,i){i.forEach((e,n)=>{let r=Jv(n);t.style[r]=""})}function Eu(t){return Array.isArray(t)?t.length==1?t[0]:rP(t):t}function RP(t,i,e){let n=i.params||{},r=jM(t);r.length&&r.forEach(o=>{n.hasOwnProperty(o)||e.push(kq(o))})}var kM=new RegExp(`${FM}\\s*(.+?)\\s*${jq}`,"g");function jM(t){let i=[];if(typeof t=="string"){let e;for(;e=kM.exec(t);)i.push(e[1]);kM.lastIndex=0}return i}function Su(t,i,e){let n=`${t}`,r=n.replace(kM,(o,a)=>{let s=i[a];return s==null&&(e.push(Oq(a)),s=""),s.toString()});return r==n?t:r}var Hq=/-+([a-z0-9])/g;function Jv(t){return t.replace(Hq,(...i)=>i[1].toUpperCase())}function PP(t,i){return t===0||i===0}function FP(t,i,e){if(e.size&&i.length){let n=i[0],r=[];if(e.forEach((o,a)=>{n.has(a)||r.push(a),n.set(a,o)}),r.length)for(let o=1;o<i.length;o++){let a=i[o];r.forEach(s=>a.set(s,ey(t,s)))}}return i}function rr(t,i,e){switch(i.type){case dt.Trigger:return t.visitTrigger(i,e);case dt.State:return t.visitState(i,e);case dt.Transition:return t.visitTransition(i,e);case dt.Sequence:return t.visitSequence(i,e);case dt.Group:return t.visitGroup(i,e);case dt.Animate:return t.visitAnimate(i,e);case dt.Keyframes:return t.visitKeyframes(i,e);case dt.Style:return t.visitStyle(i,e);case dt.Reference:return t.visitReference(i,e);case dt.AnimateChild:return t.visitAnimateChild(i,e);case dt.AnimateRef:return t.visitAnimateRef(i,e);case dt.Query:return t.visitQuery(i,e);case dt.Stagger:return t.visitStagger(i,e);default:throw Nq(i.type)}}function ey(t,i){return window.getComputedStyle(t)[i]}var nE=(()=>{class t{validateStyleProperty(e){return OP(e)}containsElement(e,n){return RM(e,n)}getParentElement(e){return Zv(e)}query(e,n,r){return PM(e,n,r)}computeStyle(e,n,r){return r||""}animate(e,n,r,o,a,s=[],l){return new ja(r,o)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac})}return t})(),Wc=class{static NOOP=new nE},qc=class{};var zq=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"]),oy=class extends qc{normalizePropertyName(i,e){return Jv(i)}normalizeStyleValue(i,e,n,r){let o="",a=n.toString().trim();if(zq.has(e)&&n!==0&&n!=="0")if(typeof n=="number")o="px";else{let s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&s[1].length==0&&r.push(sP(i,n))}return a+o}};var ay="*";function $q(t,i){let e=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(n=>Wq(n,e,i)):e.push(t),e}function Wq(t,i,e){if(t[0]==":"){let l=qq(t,e);if(typeof l=="function"){i.push(l);return}t=l}let n=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return e.push(yP(t)),i;let r=n[1],o=n[2],a=n[3];i.push(LP(r,a));let s=r==ay&&a==ay;o[0]=="<"&&!s&&i.push(LP(a,r))}function qq(t,i){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,n)=>parseFloat(n)>parseFloat(e);case":decrement":return(e,n)=>parseFloat(n)<parseFloat(e);default:return i.push(bP(t)),"* => *"}}var ty=new Set(["true","1"]),ny=new Set(["false","0"]);function LP(t,i){let e=ty.has(t)||ny.has(t),n=ty.has(i)||ny.has(i);return(r,o)=>{let a=t==ay||t==r,s=i==ay||i==o;return!a&&e&&typeof r=="boolean"&&(a=r?ty.has(t):ny.has(t)),!s&&n&&typeof o=="boolean"&&(s=o?ty.has(i):ny.has(i)),a&&s}}var GP=":self",Gq=new RegExp(`s*${GP}s*,?`,"g");function YP(t,i,e,n){return new WM(t).build(i,e,n)}var VP="",WM=class{_driver;constructor(i){this._driver=i}build(i,e,n){let r=new qM(e);return this._resetContextStyleTimingState(r),rr(this,Eu(i),r)}_resetContextStyleTimingState(i){i.currentQuerySelector=VP,i.collectedStyles=new Map,i.collectedStyles.set(VP,new Map),i.currentTime=0}visitTrigger(i,e){let n=e.queryCount=0,r=e.depCount=0,o=[],a=[];return i.name.charAt(0)=="@"&&e.errors.push(lP()),i.definitions.forEach(s=>{if(this._resetContextStyleTimingState(e),s.type==dt.State){let l=s,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,o.push(this.visitState(l,e))}),l.name=c}else if(s.type==dt.Transition){let l=this.visitTransition(s,e);n+=l.queryCount,r+=l.depCount,a.push(l)}else e.errors.push(cP())}),{type:dt.Trigger,name:i.name,states:o,transitions:a,queryCount:n,depCount:r,options:null}}visitState(i,e){let n=this.visitStyle(i.styles,e),r=i.options&&i.options.params||null;if(n.containsDynamicStyles){let o=new Set,a=r||{};n.styles.forEach(s=>{s instanceof Map&&s.forEach(l=>{jM(l).forEach(c=>{a.hasOwnProperty(c)||o.add(c)})})}),o.size&&e.errors.push(dP(i.name,[...o.values()]))}return{type:dt.State,name:i.name,style:n,options:r?{params:r}:null}}visitTransition(i,e){e.queryCount=0,e.depCount=0;let n=rr(this,Eu(i.animation),e),r=$q(i.expr,e.errors);return{type:dt.Transition,matchers:r,animation:n,queryCount:e.queryCount,depCount:e.depCount,options:$c(i.options)}}visitSequence(i,e){return{type:dt.Sequence,steps:i.steps.map(n=>rr(this,n,e)),options:$c(i.options)}}visitGroup(i,e){let n=e.currentTime,r=0,o=i.steps.map(a=>{e.currentTime=n;let s=rr(this,a,e);return r=Math.max(r,e.currentTime),s});return e.currentTime=r,{type:dt.Group,steps:o,options:$c(i.options)}}visitAnimate(i,e){let n=Kq(i.timings,e.errors);e.currentAnimateTimings=n;let r,o=i.styles?i.styles:Hc({});if(o.type==dt.Keyframes)r=this.visitKeyframes(o,e);else{let a=i.styles,s=!1;if(!a){s=!0;let c={};n.easing&&(c.easing=n.easing),a=Hc(c)}e.currentTime+=n.duration+n.delay;let l=this.visitStyle(a,e);l.isEmptyStep=s,r=l}return e.currentAnimateTimings=null,{type:dt.Animate,timings:n,style:r,options:null}}visitStyle(i,e){let n=this._makeStyleAst(i,e);return this._validateStyleAst(n,e),n}_makeStyleAst(i,e){let n=[],r=Array.isArray(i.styles)?i.styles:[i.styles];for(let s of r)typeof s=="string"?s===oo?n.push(s):e.errors.push(uP(s)):n.push(new Map(Object.entries(s)));let o=!1,a=null;return n.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(a=s.get("easing"),s.delete("easing")),!o)){for(let l of s.values())if(l.toString().indexOf(FM)>=0){o=!0;break}}}),{type:dt.Style,styles:n,easing:a,offset:i.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(i,e){let n=e.currentAnimateTimings,r=e.currentTime,o=e.currentTime;n&&o>0&&(o-=n.duration+n.delay),i.styles.forEach(a=>{typeof a!="string"&&a.forEach((s,l)=>{let c=e.collectedStyles.get(e.currentQuerySelector),u=c.get(l),h=!0;u&&(o!=r&&o>=u.startTime&&r<=u.endTime&&(e.errors.push(hP(l,u.startTime,u.endTime,o,r)),h=!1),o=u.startTime),h&&c.set(l,{startTime:o,endTime:r}),e.options&&RP(s,e.options,e.errors)})})}visitKeyframes(i,e){let n={type:dt.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(fP()),n;let r=1,o=0,a=[],s=!1,l=!1,c=0,u=i.steps.map(k=>{let L=this._makeStyleAst(k,e),ce=L.offset!=null?L.offset:Zq(L.styles),oe=0;return ce!=null&&(o++,oe=L.offset=ce),l=l||oe<0||oe>1,s=s||oe<c,c=oe,a.push(oe),L});l&&e.errors.push(mP()),s&&e.errors.push(pP());let h=i.steps.length,m=0;o>0&&o<h?e.errors.push(gP()):o==0&&(m=r/(h-1));let p=h-1,b=e.currentTime,D=e.currentAnimateTimings,A=D.duration;return u.forEach((k,L)=>{let ce=m>0?L==p?1:m*L:a[L],oe=ce*A;e.currentTime=b+D.delay+oe,D.duration=oe,this._validateStyleAst(k,e),k.offset=ce,n.styles.push(k)}),n}visitReference(i,e){return{type:dt.Reference,animation:rr(this,Eu(i.animation),e),options:$c(i.options)}}visitAnimateChild(i,e){return e.depCount++,{type:dt.AnimateChild,options:$c(i.options)}}visitAnimateRef(i,e){return{type:dt.AnimateRef,animation:this.visitReference(i.animation,e),options:$c(i.options)}}visitQuery(i,e){let n=e.currentQuerySelector,r=i.options||{};e.queryCount++,e.currentQuery=i;let[o,a]=Yq(i.selector);e.currentQuerySelector=n.length?n+" "+o:o,ir(e.collectedStyles,e.currentQuerySelector,new Map);let s=rr(this,Eu(i.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:dt.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:i.selector,options:$c(i.options)}}visitStagger(i,e){e.currentQuery||e.errors.push(_P());let n=i.timings==="full"?{duration:0,delay:0,easing:"full"}:Mm(i.timings,e.errors,!0);return{type:dt.Stagger,animation:rr(this,Eu(i.animation),e),timings:n,options:null}}};function Yq(t){let i=!!t.split(/\s*,\s*/).find(e=>e==GP);return i&&(t=t.replace(Gq,"")),t=t.replace(/@\*/g,Dm).replace(/@\w+/g,e=>Dm+"-"+e.slice(1)).replace(/:animating/g,Xv),[t,i]}function Qq(t){return t?x({},t):null}var qM=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(i){this.errors=i}};function Zq(t){if(typeof t=="string")return null;let i=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){let n=e;i=parseFloat(n.get("offset")),n.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let e=t;i=parseFloat(e.get("offset")),e.delete("offset")}return i}function Kq(t,i){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=Mm(t,i).duration;return BM(o,0,"")}let e=t;if(e.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=BM(0,0,"");return o.dynamic=!0,o.strValue=e,o}let r=Mm(e,i);return BM(r.duration,r.delay,r.easing)}function $c(t){return t?(t=x({},t),t.params&&(t.params=Qq(t.params))):t={},t}function BM(t,i,e){return{duration:t,delay:i,easing:e}}function iE(t,i,e,n,r,o,a=null,s=!1){return{type:1,element:t,keyframes:i,preStyleProps:e,postStyleProps:n,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:s}}var Sm=class{_map=new Map;get(i){return this._map.get(i)||[]}append(i,e){let n=this._map.get(i);n||this._map.set(i,n=[]),n.push(...e)}has(i){return this._map.has(i)}clear(){this._map.clear()}},Xq=1,Jq=":enter",eG=new RegExp(Jq,"g"),tG=":leave",nG=new RegExp(tG,"g");function QP(t,i,e,n,r,o=new Map,a=new Map,s,l,c=[]){return new GM().buildKeyframes(t,i,e,n,r,o,a,s,l,c)}var GM=class{buildKeyframes(i,e,n,r,o,a,s,l,c,u=[]){c=c||new Sm;let h=new YM(i,e,c,r,o,u,[]);h.options=l;let m=l.delay?Ba(l.delay):0;h.currentTimeline.delayNextStep(m),h.currentTimeline.setStyles([a],null,h.errors,l),rr(this,n,h);let p=h.timelines.filter(b=>b.containsAnimation());if(p.length&&s.size){let b;for(let D=p.length-1;D>=0;D--){let A=p[D];if(A.element===e){b=A;break}}b&&!b.allowOnlyTimelineStyles()&&b.setStyles([s],null,h.errors,l)}return p.length?p.map(b=>b.buildKeyframes()):[iE(e,[],[],[],0,m,"",!1)]}visitTrigger(i,e){}visitState(i,e){}visitTransition(i,e){}visitAnimateChild(i,e){let n=e.subInstructions.get(e.element);if(n){let r=e.createSubContext(i.options),o=e.currentTimeline.currentTime,a=this._visitSubInstructions(n,r,r.options);o!=a&&e.transformIntoNewTimeline(a)}e.previousNode=i}visitAnimateRef(i,e){let n=e.createSubContext(i.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([i.options,i.animation.options],e,n),this.visitReference(i.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=i}_applyAnimationRefDelays(i,e,n){for(let r of i){let o=r?.delay;if(o){let a=typeof o=="number"?o:Ba(Su(o,r?.params??{},e.errors));n.delayNextStep(a)}}}_visitSubInstructions(i,e,n){let o=e.currentTimeline.currentTime,a=n.duration!=null?Ba(n.duration):null,s=n.delay!=null?Ba(n.delay):null;return a!==0&&i.forEach(l=>{let c=e.appendInstructionToTimeline(l,a,s);o=Math.max(o,c.duration+c.delay)}),o}visitReference(i,e){e.updateOptions(i.options,!0),rr(this,i.animation,e),e.previousNode=i}visitSequence(i,e){let n=e.subContextCount,r=e,o=i.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),o.delay!=null)){r.previousNode.type==dt.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=sy);let a=Ba(o.delay);r.delayNextStep(a)}i.steps.length&&(i.steps.forEach(a=>rr(this,a,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),e.previousNode=i}visitGroup(i,e){let n=[],r=e.currentTimeline.currentTime,o=i.options&&i.options.delay?Ba(i.options.delay):0;i.steps.forEach(a=>{let s=e.createSubContext(i.options);o&&s.delayNextStep(o),rr(this,a,s),r=Math.max(r,s.currentTimeline.currentTime),n.push(s.currentTimeline)}),n.forEach(a=>e.currentTimeline.mergeTimelineCollectedStyles(a)),e.transformIntoNewTimeline(r),e.previousNode=i}_visitTiming(i,e){if(i.dynamic){let n=i.strValue,r=e.params?Su(n,e.params,e.errors):n;return Mm(r,e.errors)}else return{duration:i.duration,delay:i.delay,easing:i.easing}}visitAnimate(i,e){let n=e.currentAnimateTimings=this._visitTiming(i.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());let o=i.style;o.type==dt.Keyframes?this.visitKeyframes(o,e):(e.incrementTime(n.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=i}visitStyle(i,e){let n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.hasCurrentStyleProperties()&&n.forwardFrame();let o=r&&r.easing||i.easing;i.isEmptyStep?n.applyEmptyStep(o):n.setStyles(i.styles,o,e.errors,e.options),e.previousNode=i}visitKeyframes(i,e){let n=e.currentAnimateTimings,r=e.currentTimeline.duration,o=n.duration,s=e.createSubContext().currentTimeline;s.easing=n.easing,i.styles.forEach(l=>{let c=l.offset||0;s.forwardTime(c*o),s.setStyles(l.styles,l.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(r+o),e.previousNode=i}visitQuery(i,e){let n=e.currentTimeline.currentTime,r=i.options||{},o=r.delay?Ba(r.delay):0;o&&(e.previousNode.type===dt.Style||n==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=sy);let a=n,s=e.invokeQuery(i.selector,i.originalSelector,i.limit,i.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=s.length;let l=null;s.forEach((c,u)=>{e.currentQueryIndex=u;let h=e.createSubContext(i.options,c);o&&h.delayNextStep(o),c===e.element&&(l=h.currentTimeline),rr(this,i.animation,h),h.currentTimeline.applyStylesToKeyframe();let m=h.currentTimeline.currentTime;a=Math.max(a,m)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=i}visitStagger(i,e){let n=e.parentContext,r=e.currentTimeline,o=i.timings,a=Math.abs(o.duration),s=a*(e.currentQueryTotal-1),l=a*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=s-l;break;case"full":l=n.currentStaggerTime;break}let u=e.currentTimeline;l&&u.delayNextStep(l);let h=u.currentTime;rr(this,i.animation,e),e.previousNode=i,n.currentStaggerTime=r.currentTime-h+(r.startTime-n.currentTimeline.startTime)}},sy={},YM=class t{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=sy;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(i,e,n,r,o,a,s,l){this._driver=i,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=o,this.errors=a,this.timelines=s,this.currentTimeline=l||new ly(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(i,e){if(!i)return;let n=i,r=this.options;n.duration!=null&&(r.duration=Ba(n.duration)),n.delay!=null&&(r.delay=Ba(n.delay));let o=n.params;if(o){let a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(s=>{(!e||!a.hasOwnProperty(s))&&(a[s]=Su(o[s],a,this.errors))})}}_copyOptions(){let i={};if(this.options){let e=this.options.params;if(e){let n=i.params={};Object.keys(e).forEach(r=>{n[r]=e[r]})}}return i}createSubContext(i=null,e,n){let r=e||this.element,o=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(i),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(i){return this.previousNode=sy,this.currentTimeline=this.currentTimeline.fork(this.element,i),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(i,e,n){let r={duration:e??i.duration,delay:this.currentTimeline.currentTime+(n??0)+i.delay,easing:""},o=new QM(this._driver,i.element,i.keyframes,i.preStyleProps,i.postStyleProps,r,i.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(i){this.currentTimeline.forwardTime(this.currentTimeline.duration+i)}delayNextStep(i){i>0&&this.currentTimeline.delayNextStep(i)}invokeQuery(i,e,n,r,o,a){let s=[];if(r&&s.push(this.element),i.length>0){i=i.replace(eG,"."+this._enterClassName),i=i.replace(nG,"."+this._leaveClassName);let l=n!=1,c=this._driver.query(this.element,i,l);n!==0&&(c=n<0?c.slice(c.length+n,c.length):c.slice(0,n)),s.push(...c)}return!o&&s.length==0&&a.push(vP(e)),s}},ly=class t{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(i,e,n,r){this._driver=i,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,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(i){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+i),e&&this.snapshotCurrentStyles()):this.startTime+=i}fork(i,e){return this.applyStylesToKeyframe(),new t(this._driver,i,e||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+=Xq,this._loadKeyframe()}forwardTime(i){this.applyStylesToKeyframe(),this.duration=i,this._loadKeyframe()}_updateStyle(i,e){this._localTimelineStyles.set(i,e),this._globalTimelineStyles.set(i,e),this._styleSummary.set(i,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(i){i&&this._previousKeyframe.set("easing",i);for(let[e,n]of this._globalTimelineStyles)this._backFill.set(e,n||oo),this._currentKeyframe.set(e,oo);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(i,e,n,r){e&&this._previousKeyframe.set("easing",e);let o=r&&r.params||{},a=iG(i,this._globalTimelineStyles);for(let[s,l]of a){let c=Su(l,o,n);this._pendingStyles.set(s,c),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??oo),this._updateStyle(s,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((i,e)=>{this._currentKeyframe.set(e,i)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((i,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,i)}))}snapshotCurrentStyles(){for(let[i,e]of this._localTimelineStyles)this._pendingStyles.set(i,e),this._updateStyle(i,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let i=[];for(let e in this._currentKeyframe)i.push(e);return i}mergeTimelineCollectedStyles(i){i._styleSummary.forEach((e,n)=>{let r=this._styleSummary.get(n);(!r||e.time>r.time)&&this._updateStyle(n,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let i=new Set,e=new Set,n=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((s,l)=>{let c=new Map([...this._backFill,...s]);c.forEach((u,h)=>{u===Mu?i.add(h):u===oo&&e.add(h)}),n||c.set("offset",l/this.duration),r.push(c)});let o=[...i.values()],a=[...e.values()];if(n){let s=r[0],l=new Map(s);s.set("offset",0),l.set("offset",1),r=[s,l]}return iE(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)}},QM=class extends ly{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(i,e,n,r,o,a,s=!1){super(i,e,a.delay),this.keyframes=n,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=s,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let i=this.keyframes,{delay:e,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){let o=[],a=n+e,s=e/a,l=new Map(i[0]);l.set("offset",0),o.push(l);let c=new Map(i[0]);c.set("offset",jP(s)),o.push(c);let u=i.length-1;for(let h=1;h<=u;h++){let m=new Map(i[h]),p=m.get("offset"),b=e+p*n;m.set("offset",jP(b/a)),o.push(m)}n=a,e=0,r="",i=o}return iE(this.element,i,this.preStyleProps,this.postStyleProps,n,e,r,!0)}};function jP(t,i=3){let e=Math.pow(10,i-1);return Math.round(t*e)/e}function iG(t,i){let e=new Map,n;return t.forEach(r=>{if(r==="*"){n??=i.keys();for(let o of n)e.set(o,oo)}else for(let[o,a]of r)e.set(o,a)}),e}function BP(t,i,e,n,r,o,a,s,l,c,u,h,m){return{type:0,element:t,triggerName:i,isRemovalTransition:r,fromState:e,fromStyles:o,toState:n,toStyles:a,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:m}}var UM={},cy=class{_triggerName;ast;_stateStyles;constructor(i,e,n){this._triggerName=i,this.ast=e,this._stateStyles=n}match(i,e,n,r){return rG(this.ast.matchers,i,e,n,r)}buildStyles(i,e,n){let r=this._stateStyles.get("*");return i!==void 0&&(r=this._stateStyles.get(i?.toString())||r),r?r.buildStyles(e,n):new Map}build(i,e,n,r,o,a,s,l,c,u){let h=[],m=this.ast.options&&this.ast.options.params||UM,p=s&&s.params||UM,b=this.buildStyles(n,p,h),D=l&&l.params||UM,A=this.buildStyles(r,D,h),k=new Set,L=new Map,ce=new Map,oe=r==="void",_e={params:ZP(D,m),delay:this.ast.options?.delay},ye=u?[]:QP(i,e,this.ast.animation,o,a,b,A,_e,c,h),ge=0;return ye.forEach(Ae=>{ge=Math.max(Ae.duration+Ae.delay,ge)}),h.length?BP(e,this._triggerName,n,r,oe,b,A,[],[],L,ce,ge,h):(ye.forEach(Ae=>{let Wt=Ae.element,be=ir(L,Wt,new Set);Ae.preStyleProps.forEach(Kt=>be.add(Kt));let Vt=ir(ce,Wt,new Set);Ae.postStyleProps.forEach(Kt=>Vt.add(Kt)),Wt!==e&&k.add(Wt)}),BP(e,this._triggerName,n,r,oe,b,A,ye,[...k.values()],L,ce,ge))}};function rG(t,i,e,n,r){return t.some(o=>o(i,e,n,r))}function ZP(t,i){let e=x({},i);return Object.entries(t).forEach(([n,r])=>{r!=null&&(e[n]=r)}),e}var ZM=class{styles;defaultParams;normalizer;constructor(i,e,n){this.styles=i,this.defaultParams=e,this.normalizer=n}buildStyles(i,e){let n=new Map,r=ZP(i,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,s)=>{a&&(a=Su(a,r,e));let l=this.normalizer.normalizePropertyName(s,e);a=this.normalizer.normalizeStyleValue(s,l,a,e),n.set(s,a)})}),n}};function oG(t,i,e){return new KM(t,i,e)}var KM=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(i,e,n){this.name=i,this.ast=e,this._normalizer=n,e.states.forEach(r=>{let o=r.options&&r.options.params||{};this.states.set(r.name,new ZM(r.style,o,n))}),UP(this.states,"true","1"),UP(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new cy(i,r,this.states))}),this.fallbackTransition=aG(i,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(i,e,n,r){return this.transitionFactories.find(a=>a.match(i,e,n,r))||null}matchStyles(i,e,n){return this.fallbackTransition.buildStyles(i,e,n)}};function aG(t,i,e){let n=[(a,s)=>!0],r={type:dt.Sequence,steps:[],options:null},o={type:dt.Transition,animation:r,matchers:n,options:null,queryCount:0,depCount:0};return new cy(t,o,i)}function UP(t,i,e){t.has(i)?t.has(e)||t.set(e,t.get(i)):t.has(e)&&t.set(i,t.get(e))}var sG=new Sm,XM=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(i,e,n){this.bodyNode=i,this._driver=e,this._normalizer=n}register(i,e){let n=[],r=[],o=YP(this._driver,e,n,r);if(n.length)throw wP(n);this._animations.set(i,o)}_buildPlayer(i,e,n){let r=i.element,o=OM(this._normalizer,i.keyframes,e,n);return this._driver.animate(r,o,i.duration,i.delay,i.easing,[],!0)}create(i,e,n={}){let r=[],o=this._animations.get(i),a,s=new Map;if(o?(a=QP(this._driver,e,o,LM,Kv,new Map,new Map,n,sG,r),a.forEach(u=>{let h=ir(s,u.element,new Map);u.postStyleProps.forEach(m=>h.set(m,null))})):(r.push(xP()),a=[]),r.length)throw DP(r);s.forEach((u,h)=>{u.forEach((m,p)=>{u.set(p,this._driver.computeStyle(h,p,oo))})});let l=a.map(u=>{let h=s.get(u.element);return this._buildPlayer(u,new Map,h)}),c=Ts(l);return this._playersById.set(i,c),c.onDestroy(()=>this.destroy(i)),this.players.push(c),c}destroy(i){let e=this._getPlayer(i);e.destroy(),this._playersById.delete(i);let n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(i){let e=this._playersById.get(i);if(!e)throw MP(i);return e}listen(i,e,n,r){let o=Qv(e,"","","");return Yv(this._getPlayer(i),n,o,r),()=>{}}command(i,e,n,r){if(n=="register"){this.register(i,r[0]);return}if(n=="create"){let a=r[0]||{};this.create(i,e,a);return}let o=this._getPlayer(i);switch(n){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(i);break}}},HP="ng-animate-queued",lG=".ng-animate-queued",HM="ng-animate-disabled",cG=".ng-animate-disabled",dG="ng-star-inserted",uG=".ng-star-inserted",hG=[],KP={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},fG={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Xo="__ng_removed",Tm=class{namespaceId;value;options;get params(){return this.options.params}constructor(i,e=""){this.namespaceId=e;let n=i&&i.hasOwnProperty("value"),r=n?i.value:i;if(this.value=pG(r),n){let o=i,{value:a}=o,s=Ld(o,["value"]);this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(i){let e=i.params;if(e){let n=this.options.params;Object.keys(e).forEach(r=>{n[r]==null&&(n[r]=e[r])})}}},Em="void",zM=new Tm(Em),JM=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(i,e,n){this.id=i,this.hostElement=e,this._engine=n,this._hostClassName="ng-tns-"+i,ao(e,this._hostClassName)}listen(i,e,n,r){if(!this._triggers.has(e))throw EP(n,e);if(n==null||n.length==0)throw SP(e);if(!gG(n))throw TP(n,e);let o=ir(this._elementListeners,i,[]),a={name:e,phase:n,callback:r};o.push(a);let s=ir(this._engine.statesByElement,i,new Map);return s.has(e)||(ao(i,xm),ao(i,xm+"-"+e),s.set(e,zM)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(a);l>=0&&o.splice(l,1),this._triggers.has(e)||s.delete(e)})}}register(i,e){return this._triggers.has(i)?!1:(this._triggers.set(i,e),!0)}_getTrigger(i){let e=this._triggers.get(i);if(!e)throw IP(i);return e}trigger(i,e,n,r=!0){let o=this._getTrigger(e),a=new Im(this.id,e,i),s=this._engine.statesByElement.get(i);s||(ao(i,xm),ao(i,xm+"-"+e),this._engine.statesByElement.set(i,s=new Map));let l=s.get(e),c=new Tm(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),s.set(e,c),l||(l=zM),!(c.value===Em)&&l.value===c.value){if(!yG(l.params,c.params)){let D=[],A=o.matchStyles(l.value,l.params,D),k=o.matchStyles(c.value,c.params,D);D.length?this._engine.reportError(D):this._engine.afterFlush(()=>{Cl(i,A),Ko(i,k)})}return}let m=ir(this._engine.playersByElement,i,[]);m.forEach(D=>{D.namespaceId==this.id&&D.triggerName==e&&D.queued&&D.destroy()});let p=o.matchTransition(l.value,c.value,i,c.params),b=!1;if(!p){if(!r)return;p=o.fallbackTransition,b=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:e,transition:p,fromState:l,toState:c,player:a,isFallbackTransition:b}),b||(ao(i,HP),a.onStart(()=>{Tu(i,HP)})),a.onDone(()=>{let D=this.players.indexOf(a);D>=0&&this.players.splice(D,1);let A=this._engine.playersByElement.get(i);if(A){let k=A.indexOf(a);k>=0&&A.splice(k,1)}}),this.players.push(a),m.push(a),a}deregister(i){this._triggers.delete(i),this._engine.statesByElement.forEach(e=>e.delete(i)),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(r=>r.name!=i))})}clearElementCache(i){this._engine.statesByElement.delete(i),this._elementListeners.delete(i);let e=this._engine.playersByElement.get(i);e&&(e.forEach(n=>n.destroy()),this._engine.playersByElement.delete(i))}_signalRemovalForInnerTriggers(i,e){let n=this._engine.driver.query(i,Dm,!0);n.forEach(r=>{if(r[Xo])return;let o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(a=>a.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(i,e,n,r){let o=this._engine.statesByElement.get(i),a=new Map;if(o){let s=[];if(o.forEach((l,c)=>{if(a.set(c,l.value),this._triggers.has(c)){let u=this.trigger(i,c,Em,r);u&&s.push(u)}}),s.length)return this._engine.markElementAsRemoved(this.id,i,!0,e,a),n&&Ts(s).onDone(()=>this._engine.processLeaveNode(i)),!0}return!1}prepareLeaveAnimationListeners(i){let e=this._elementListeners.get(i),n=this._engine.statesByElement.get(i);if(e&&n){let r=new Set;e.forEach(o=>{let a=o.name;if(r.has(a))return;r.add(a);let l=this._triggers.get(a).fallbackTransition,c=n.get(a)||zM,u=new Tm(Em),h=new Im(this.id,a,i);this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:a,transition:l,fromState:c,toState:u,player:h,isFallbackTransition:!0})})}}removeNode(i,e){let n=this._engine;if(i.childElementCount&&this._signalRemovalForInnerTriggers(i,e),this.triggerLeaveAnimation(i,e,!0))return;let r=!1;if(n.totalAnimations){let o=n.players.length?n.playersByQueriedElement.get(i):[];if(o&&o.length)r=!0;else{let a=i;for(;a=a.parentNode;)if(n.statesByElement.get(a)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(i),r)n.markElementAsRemoved(this.id,i,!1,e);else{let o=i[Xo];(!o||o===KP)&&(n.afterFlush(()=>this.clearElementCache(i)),n.destroyInnerAnimations(i),n._onRemovalComplete(i,e))}}insertNode(i,e){ao(i,this._hostClassName)}drainQueuedTransitions(i){let e=[];return this._queue.forEach(n=>{let r=n.player;if(r.destroyed)return;let o=n.element,a=this._elementListeners.get(o);a&&a.forEach(s=>{if(s.name==n.triggerName){let l=Qv(o,n.triggerName,n.fromState.value,n.toState.value);l._data=i,Yv(n.player,s.phase,l,s.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(n)}),this._queue=[],e.sort((n,r)=>{let o=n.transition.ast.depCount,a=r.transition.ast.depCount;return o==0||a==0?o-a:this._engine.driver.containsElement(n.element,r.element)?1:-1})}destroy(i){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,i)}},eE=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(i,e)=>{};_onRemovalComplete(i,e){this.onRemovalComplete(i,e)}constructor(i,e,n){this.bodyNode=i,this.driver=e,this._normalizer=n}get queuedPlayers(){let i=[];return this._namespaceList.forEach(e=>{e.players.forEach(n=>{n.queued&&i.push(n)})}),i}createNamespace(i,e){let n=new JM(i,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[i]=n}_balanceNamespaceList(i,e){let n=this._namespaceList,r=this.namespacesByHostElement;if(n.length-1>=0){let a=!1,s=this.driver.getParentElement(e);for(;s;){let l=r.get(s);if(l){let c=n.indexOf(l);n.splice(c+1,0,i),a=!0;break}s=this.driver.getParentElement(s)}a||n.unshift(i)}else n.push(i);return r.set(e,i),i}register(i,e){let n=this._namespaceLookup[i];return n||(n=this.createNamespace(i,e)),n}registerTrigger(i,e,n){let r=this._namespaceLookup[i];r&&r.register(e,n)&&this.totalAnimations++}destroy(i,e){i&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let n=this._fetchNamespace(i);this.namespacesByHostElement.delete(n.hostElement);let r=this._namespaceList.indexOf(n);r>=0&&this._namespaceList.splice(r,1),n.destroy(e),delete this._namespaceLookup[i]}))}_fetchNamespace(i){return this._namespaceLookup[i]}fetchNamespacesByElement(i){let e=new Set,n=this.statesByElement.get(i);if(n){for(let r of n.values())if(r.namespaceId){let o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}}return e}trigger(i,e,n,r){if(iy(e)){let o=this._fetchNamespace(i);if(o)return o.trigger(e,n,r),!0}return!1}insertNode(i,e,n,r){if(!iy(e))return;let o=e[Xo];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let a=this.collectedLeaveElements.indexOf(e);a>=0&&this.collectedLeaveElements.splice(a,1)}if(i){let a=this._fetchNamespace(i);a&&a.insertNode(e,n)}r&&this.collectEnterElement(e)}collectEnterElement(i){this.collectedEnterElements.push(i)}markElementAsDisabled(i,e){e?this.disabledNodes.has(i)||(this.disabledNodes.add(i),ao(i,HM)):this.disabledNodes.has(i)&&(this.disabledNodes.delete(i),Tu(i,HM))}removeNode(i,e,n){if(iy(e)){let r=i?this._fetchNamespace(i):null;r?r.removeNode(e,n):this.markElementAsRemoved(i,e,!1,n);let o=this.namespacesByHostElement.get(e);o&&o.id!==i&&o.removeNode(e,n)}else this._onRemovalComplete(e,n)}markElementAsRemoved(i,e,n,r,o){this.collectedLeaveElements.push(e),e[Xo]={namespaceId:i,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:o}}listen(i,e,n,r,o){return iy(e)?this._fetchNamespace(i).listen(e,n,r,o):()=>{}}_buildInstruction(i,e,n,r,o){return i.transition.build(this.driver,i.element,i.fromState.value,i.toState.value,n,r,i.fromState.options,i.toState.options,e,o)}destroyInnerAnimations(i){let e=this.driver.query(i,Dm,!0);e.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(i,Xv,!0),e.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(i){let e=this.playersByElement.get(i);e&&e.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(i){let e=this.playersByQueriedElement.get(i);e&&e.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(i=>{if(this.players.length)return Ts(this.players).onDone(()=>i());i()})}processLeaveNode(i){let e=i[Xo];if(e&&e.setForRemoval){if(i[Xo]=KP,e.namespaceId){this.destroyInnerAnimations(i);let n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(i)}this._onRemovalComplete(i,e.setForRemoval)}i.classList?.contains(HM)&&this.markElementAsDisabled(i,!1),this.driver.query(i,cG,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(i=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,r)=>this._balanceNamespaceList(n,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++){let r=this.collectedEnterElements[n];ao(r,dG)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let n=[];try{e=this._flushAnimations(n,i)}finally{for(let r=0;r<n.length;r++)n[r]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++){let r=this.collectedLeaveElements[n];this.processLeaveNode(r)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(n=>n()),this._flushFns=[],this._whenQuietFns.length){let n=this._whenQuietFns;this._whenQuietFns=[],e.length?Ts(e).onDone(()=>{n.forEach(r=>r())}):n.forEach(r=>r())}}reportError(i){throw AP(i)}_flushAnimations(i,e){let n=new Sm,r=[],o=new Map,a=[],s=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(Ce=>{u.add(Ce);let Ne=this.driver.query(Ce,lG,!0);for(let ke=0;ke<Ne.length;ke++)u.add(Ne[ke])});let h=this.bodyNode,m=Array.from(this.statesByElement.keys()),p=WP(m,this.collectedEnterElements),b=new Map,D=0;p.forEach((Ce,Ne)=>{let ke=LM+D++;b.set(Ne,ke),Ce.forEach(je=>ao(je,ke))});let A=[],k=new Set,L=new Set;for(let Ce=0;Ce<this.collectedLeaveElements.length;Ce++){let Ne=this.collectedLeaveElements[Ce],ke=Ne[Xo];ke&&ke.setForRemoval&&(A.push(Ne),k.add(Ne),ke.hasAnimation?this.driver.query(Ne,uG,!0).forEach(je=>k.add(je)):L.add(Ne))}let ce=new Map,oe=WP(m,Array.from(k));oe.forEach((Ce,Ne)=>{let ke=Kv+D++;ce.set(Ne,ke),Ce.forEach(je=>ao(je,ke))}),i.push(()=>{p.forEach((Ce,Ne)=>{let ke=b.get(Ne);Ce.forEach(je=>Tu(je,ke))}),oe.forEach((Ce,Ne)=>{let ke=ce.get(Ne);Ce.forEach(je=>Tu(je,ke))}),A.forEach(Ce=>{this.processLeaveNode(Ce)})});let _e=[],ye=[];for(let Ce=this._namespaceList.length-1;Ce>=0;Ce--)this._namespaceList[Ce].drainQueuedTransitions(e).forEach(ke=>{let je=ke.player,Ln=ke.element;if(_e.push(je),this.collectedEnterElements.length){let Vn=Ln[Xo];if(Vn&&Vn.setForMove){if(Vn.previousTriggersValues&&Vn.previousTriggersValues.has(ke.triggerName)){let pi=Vn.previousTriggersValues.get(ke.triggerName),Vi=this.statesByElement.get(ke.element);if(Vi&&Vi.has(ke.triggerName)){let Qs=Vi.get(ke.triggerName);Qs.value=pi,Vi.set(ke.triggerName,Qs)}}je.destroy();return}}let mi=!h||!this.driver.containsElement(h,Ln),ni=ce.get(Ln),wr=b.get(Ln),fn=this._buildInstruction(ke,n,wr,ni,mi);if(fn.errors&&fn.errors.length){ye.push(fn);return}if(mi){je.onStart(()=>Cl(Ln,fn.fromStyles)),je.onDestroy(()=>Ko(Ln,fn.toStyles)),r.push(je);return}if(ke.isFallbackTransition){je.onStart(()=>Cl(Ln,fn.fromStyles)),je.onDestroy(()=>Ko(Ln,fn.toStyles)),r.push(je);return}let tf=[];fn.timelines.forEach(Vn=>{Vn.stretchStartingKeyframe=!0,this.disabledNodes.has(Vn.element)||tf.push(Vn)}),fn.timelines=tf,n.append(Ln,fn.timelines);let _g={instruction:fn,player:je,element:Ln};a.push(_g),fn.queriedElements.forEach(Vn=>ir(s,Vn,[]).push(je)),fn.preStyleProps.forEach((Vn,pi)=>{if(Vn.size){let Vi=l.get(pi);Vi||l.set(pi,Vi=new Set),Vn.forEach((Qs,pa)=>Vi.add(pa))}}),fn.postStyleProps.forEach((Vn,pi)=>{let Vi=c.get(pi);Vi||c.set(pi,Vi=new Set),Vn.forEach((Qs,pa)=>Vi.add(pa))})});if(ye.length){let Ce=[];ye.forEach(Ne=>{Ce.push(kP(Ne.triggerName,Ne.errors))}),_e.forEach(Ne=>Ne.destroy()),this.reportError(Ce)}let ge=new Map,Ae=new Map;a.forEach(Ce=>{let Ne=Ce.element;n.has(Ne)&&(Ae.set(Ne,Ne),this._beforeAnimationBuild(Ce.player.namespaceId,Ce.instruction,ge))}),r.forEach(Ce=>{let Ne=Ce.element;this._getPreviousPlayers(Ne,!1,Ce.namespaceId,Ce.triggerName,null).forEach(je=>{ir(ge,Ne,[]).push(je),je.destroy()})});let Wt=A.filter(Ce=>qP(Ce,l,c)),be=new Map;$P(be,this.driver,L,c,oo).forEach(Ce=>{qP(Ce,l,c)&&Wt.push(Ce)});let Kt=new Map;p.forEach((Ce,Ne)=>{$P(Kt,this.driver,new Set(Ce),l,Mu)}),Wt.forEach(Ce=>{let Ne=be.get(Ce),ke=Kt.get(Ce);be.set(Ce,new Map([...Ne?.entries()??[],...ke?.entries()??[]]))});let Li=[],ma=[],ef={};a.forEach(Ce=>{let{element:Ne,player:ke,instruction:je}=Ce;if(n.has(Ne)){if(u.has(Ne)){ke.onDestroy(()=>Ko(Ne,je.toStyles)),ke.disabled=!0,ke.overrideTotalTime(je.totalTime),r.push(ke);return}let Ln=ef;if(Ae.size>1){let ni=Ne,wr=[];for(;ni=ni.parentNode;){let fn=Ae.get(ni);if(fn){Ln=fn;break}wr.push(ni)}wr.forEach(fn=>Ae.set(fn,Ln))}let mi=this._buildAnimation(ke.namespaceId,je,ge,o,Kt,be);if(ke.setRealPlayer(mi),Ln===ef)Li.push(ke);else{let ni=this.playersByElement.get(Ln);ni&&ni.length&&(ke.parentPlayer=Ts(ni)),r.push(ke)}}else Cl(Ne,je.fromStyles),ke.onDestroy(()=>Ko(Ne,je.toStyles)),ma.push(ke),u.has(Ne)&&r.push(ke)}),ma.forEach(Ce=>{let Ne=o.get(Ce.element);if(Ne&&Ne.length){let ke=Ts(Ne);Ce.setRealPlayer(ke)}}),r.forEach(Ce=>{Ce.parentPlayer?Ce.syncPlayerEvents(Ce.parentPlayer):Ce.destroy()});for(let Ce=0;Ce<A.length;Ce++){let Ne=A[Ce],ke=Ne[Xo];if(Tu(Ne,Kv),ke&&ke.hasAnimation)continue;let je=[];if(s.size){let mi=s.get(Ne);mi&&mi.length&&je.push(...mi);let ni=this.driver.query(Ne,Xv,!0);for(let wr=0;wr<ni.length;wr++){let fn=s.get(ni[wr]);fn&&fn.length&&je.push(...fn)}}let Ln=je.filter(mi=>!mi.destroyed);Ln.length?_G(this,Ne,Ln):this.processLeaveNode(Ne)}return A.length=0,Li.forEach(Ce=>{this.players.push(Ce),Ce.onDone(()=>{Ce.destroy();let Ne=this.players.indexOf(Ce);this.players.splice(Ne,1)}),Ce.play()}),Li}afterFlush(i){this._flushFns.push(i)}afterFlushAnimationsDone(i){this._whenQuietFns.push(i)}_getPreviousPlayers(i,e,n,r,o){let a=[];if(e){let s=this.playersByQueriedElement.get(i);s&&(a=s)}else{let s=this.playersByElement.get(i);if(s){let l=!o||o==Em;s.forEach(c=>{c.queued||!l&&c.triggerName!=r||a.push(c)})}}return(n||r)&&(a=a.filter(s=>!(n&&n!=s.namespaceId||r&&r!=s.triggerName))),a}_beforeAnimationBuild(i,e,n){let r=e.triggerName,o=e.element,a=e.isRemovalTransition?void 0:i,s=e.isRemovalTransition?void 0:r;for(let l of e.timelines){let c=l.element,u=c!==o,h=ir(n,c,[]);this._getPreviousPlayers(c,u,a,s,e.toState).forEach(p=>{let b=p.getRealPlayer();b.beforeDestroy&&b.beforeDestroy(),p.destroy(),h.push(p)})}Cl(o,e.fromStyles)}_buildAnimation(i,e,n,r,o,a){let s=e.triggerName,l=e.element,c=[],u=new Set,h=new Set,m=e.timelines.map(b=>{let D=b.element;u.add(D);let A=D[Xo];if(A&&A.removedBeforeQueried)return new ja(b.duration,b.delay);let k=D!==l,L=vG((n.get(D)||hG).map(ge=>ge.getRealPlayer())).filter(ge=>{let Ae=ge;return Ae.element?Ae.element===D:!1}),ce=o.get(D),oe=a.get(D),_e=OM(this._normalizer,b.keyframes,ce,oe),ye=this._buildPlayer(b,_e,L);if(b.subTimeline&&r&&h.add(D),k){let ge=new Im(i,s,D);ge.setRealPlayer(ye),c.push(ge)}return ye});c.forEach(b=>{ir(this.playersByQueriedElement,b.element,[]).push(b),b.onDone(()=>mG(this.playersByQueriedElement,b.element,b))}),u.forEach(b=>ao(b,VM));let p=Ts(m);return p.onDestroy(()=>{u.forEach(b=>Tu(b,VM)),Ko(l,e.toStyles)}),h.forEach(b=>{ir(r,b,[]).push(p)}),p}_buildPlayer(i,e,n){return e.length>0?this.driver.animate(i.element,e,i.duration,i.delay,i.easing,n):new ja(i.duration,i.delay)}},Im=class{namespaceId;triggerName;element;_player=new ja;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(i,e,n){this.namespaceId=i,this.triggerName=e,this.element=n}setRealPlayer(i){this._containsRealPlayer||(this._player=i,this._queuedCallbacks.forEach((e,n)=>{e.forEach(r=>Yv(i,n,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(i.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(i){this.totalTime=i}syncPlayerEvents(i){let e=this._player;e.triggerCallback&&i.onStart(()=>e.triggerCallback("start")),i.onDone(()=>this.finish()),i.onDestroy(()=>this.destroy())}_queueEvent(i,e){ir(this._queuedCallbacks,i,[]).push(e)}onDone(i){this.queued&&this._queueEvent("done",i),this._player.onDone(i)}onStart(i){this.queued&&this._queueEvent("start",i),this._player.onStart(i)}onDestroy(i){this.queued&&this._queueEvent("destroy",i),this._player.onDestroy(i)}init(){this._player.init()}hasStarted(){return this.queued?!1: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(i){this.queued||this._player.setPosition(i)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(i){let e=this._player;e.triggerCallback&&e.triggerCallback(i)}};function mG(t,i,e){let n=t.get(i);if(n){if(n.length){let r=n.indexOf(e);n.splice(r,1)}n.length==0&&t.delete(i)}return n}function pG(t){return t??null}function iy(t){return t&&t.nodeType===1}function gG(t){return t=="start"||t=="done"}function zP(t,i){let e=t.style.display;return t.style.display=i??"none",e}function $P(t,i,e,n,r){let o=[];e.forEach(l=>o.push(zP(l)));let a=[];n.forEach((l,c)=>{let u=new Map;l.forEach(h=>{let m=i.computeStyle(c,h,r);u.set(h,m),(!m||m.length==0)&&(c[Xo]=fG,a.push(c))}),t.set(c,u)});let s=0;return e.forEach(l=>zP(l,o[s++])),a}function WP(t,i){let e=new Map;if(t.forEach(s=>e.set(s,[])),i.length==0)return e;let n=1,r=new Set(i),o=new Map;function a(s){if(!s)return n;let l=o.get(s);if(l)return l;let c=s.parentNode;return e.has(c)?l=c:r.has(c)?l=n:l=a(c),o.set(s,l),l}return i.forEach(s=>{let l=a(s);l!==n&&e.get(l).push(s)}),e}function ao(t,i){t.classList?.add(i)}function Tu(t,i){t.classList?.remove(i)}function _G(t,i,e){Ts(e).onDone(()=>t.processLeaveNode(i))}function vG(t){let i=[];return XP(t,i),i}function XP(t,i){for(let e=0;e<t.length;e++){let n=t[e];n instanceof Uc?XP(n.players,i):i.push(n)}}function yG(t,i){let e=Object.keys(t),n=Object.keys(i);if(e.length!=n.length)return!1;for(let r=0;r<e.length;r++){let o=e[r];if(!i.hasOwnProperty(o)||t[o]!==i[o])return!1}return!0}function qP(t,i,e){let n=e.get(t);if(!n)return!1;let r=i.get(t);return r?n.forEach(o=>r.add(o)):i.set(t,n),e.delete(t),!0}var Iu=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(i,e)=>{};constructor(i,e,n){this._driver=e,this._normalizer=n,this._transitionEngine=new eE(i.body,e,n),this._timelineEngine=new XM(i.body,e,n),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(i,e,n,r,o){let a=i+"-"+r,s=this._triggerCache[a];if(!s){let l=[],c=[],u=YP(this._driver,o,l,c);if(l.length)throw CP(r,l);s=oG(r,u,this._normalizer),this._triggerCache[a]=s}this._transitionEngine.registerTrigger(e,r,s)}register(i,e){this._transitionEngine.register(i,e)}destroy(i,e){this._transitionEngine.destroy(i,e)}onInsert(i,e,n,r){this._transitionEngine.insertNode(i,e,n,r)}onRemove(i,e,n){this._transitionEngine.removeNode(i,e,n)}disableAnimations(i,e){this._transitionEngine.markElementAsDisabled(i,e)}process(i,e,n,r){if(n.charAt(0)=="@"){let[o,a]=NM(n),s=r;this._timelineEngine.command(o,e,a,s)}else this._transitionEngine.trigger(i,e,n,r)}listen(i,e,n,r,o){if(n.charAt(0)=="@"){let[a,s]=NM(n);return this._timelineEngine.listen(a,e,s,o)}return this._transitionEngine.listen(i,e,n,r,o)}flush(i=-1){this._transitionEngine.flush(i)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(i){this._transitionEngine.afterFlushAnimationsDone(i)}};function bG(t,i){let e=null,n=null;return Array.isArray(i)&&i.length?(e=$M(i[0]),i.length>1&&(n=$M(i[i.length-1]))):i instanceof Map&&(e=$M(i)),e||n?new CG(t,e,n):null}var CG=(()=>{class t{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r;let o=t.initialStylesByElement.get(e);o||t.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Ko(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ko(this._element,this._initialStyles),this._endStyles&&(Ko(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Cl(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Cl(this._element,this._endStyles),this._endStyles=null),Ko(this._element,this._initialStyles),this._state=3)}}return t})();function $M(t){let i=null;return t.forEach((e,n)=>{wG(n)&&(i=i||new Map,i.set(n,e))}),i}function wG(t){return t==="display"||t==="position"}var dy=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(i,e,n,r){this.element=i,this.keyframes=e,this.options=n,this._specialStyles=r,this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(i=>i()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;let i=this.keyframes,e=this._triggerWebAnimation(this.element,i,this.options);if(!e)return this._onFinish(),null;this.domPlayer=e,this._finalKeyframe=i.length?i[i.length-1]:new Map;let n=()=>this._onFinish();return e.addEventListener("finish",n),this.onDestroy(()=>{e.removeEventListener("finish",n)}),e}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(i){let e=[];return i.forEach(n=>{e.push(Object.fromEntries(n))}),e}_triggerWebAnimation(i,e,n){let r=this._convertKeyframesToObject(e);try{return i.animate(r,n)}catch(o){return null}}onStart(i){this._originalOnStartFns.push(i),this._onStartFns.push(i)}onDone(i){this._originalOnDoneFns.push(i),this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}play(){let i=this._buildPlayer();i&&(this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),i.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(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?.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(i=>i()),this._onDestroyFns=[])}setPosition(i){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=i*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){let i=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,r)=>{r!=="offset"&&i.set(r,this._finished?n:ey(this.element,r))}),this.currentSnapshot=i}triggerCallback(i){let e=i==="start"?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}},uy=class{validateStyleProperty(i){return!0}validateAnimatableStyleProperty(i){return!0}containsElement(i,e){return RM(i,e)}getParentElement(i){return Zv(i)}query(i,e,n){return PM(i,e,n)}computeStyle(i,e,n){return ey(i,e)}animate(i,e,n,r,o,a=[]){let s=r==0?"both":"forwards",l={duration:n,delay:r,fill:s};o&&(l.easing=o);let c=new Map,u=a.filter(p=>p instanceof dy);PP(n,r)&&u.forEach(p=>{p.currentSnapshot.forEach((b,D)=>c.set(D,b))});let h=NP(e).map(p=>new Map(p));h=FP(i,h,c);let m=bG(i,h);return new dy(i,h,l,m)}};var ry="@",JP="@.disabled",hy=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(i,e,n,r){this.namespaceId=i,this.delegate=e,this.engine=n,this._onDestroy=r}get data(){return this.delegate.data}destroyNode(i){this.delegate.destroyNode?.(i)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(i,e){return this.delegate.createElement(i,e)}createComment(i){return this.delegate.createComment(i)}createText(i){return this.delegate.createText(i)}appendChild(i,e){this.delegate.appendChild(i,e),this.engine.onInsert(this.namespaceId,e,i,!1)}insertBefore(i,e,n,r=!0){this.delegate.insertBefore(i,e,n),this.engine.onInsert(this.namespaceId,e,i,r)}removeChild(i,e,n,r){if(r){this.delegate.removeChild(i,e,n,r);return}this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(i,e){return this.delegate.selectRootElement(i,e)}parentNode(i){return this.delegate.parentNode(i)}nextSibling(i){return this.delegate.nextSibling(i)}setAttribute(i,e,n,r){this.delegate.setAttribute(i,e,n,r)}removeAttribute(i,e,n){this.delegate.removeAttribute(i,e,n)}addClass(i,e){this.delegate.addClass(i,e)}removeClass(i,e){this.delegate.removeClass(i,e)}
5setStyle(i,e,n,r){this.delegate.setStyle(i,e,n,r)}removeStyle(i,e,n){this.delegate.removeStyle(i,e,n)}setProperty(i,e,n){e.charAt(0)==ry&&e==JP?this.disableAnimations(i,!!n):this.delegate.setProperty(i,e,n)}setValue(i,e){this.delegate.setValue(i,e)}listen(i,e,n,r){return this.delegate.listen(i,e,n,r)}disableAnimations(i,e){this.engine.disableAnimations(i,e)}},tE=class extends hy{factory;constructor(i,e,n,r,o){super(e,n,r,o),this.factory=i,this.namespaceId=e}setProperty(i,e,n){e.charAt(0)==ry?e.charAt(1)=="."&&e==JP?(n=n===void 0?!0:!!n,this.disableAnimations(i,n)):this.engine.process(this.namespaceId,i,e.slice(1),n):this.delegate.setProperty(i,e,n)}listen(i,e,n,r){if(e.charAt(0)==ry){let o=xG(i),a=e.slice(1),s="";return a.charAt(0)!=ry&&([a,s]=DG(a)),this.engine.listen(this.namespaceId,o,a,s,l=>{let c=l._data||-1;this.factory.scheduleListenerCallback(c,n,l)})}return this.delegate.listen(i,e,n,r)}};function xG(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function DG(t){let i=t.indexOf("."),e=t.substring(0,i),n=t.slice(i+1);return[e,n]}var fy=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(i,e,n){this.delegate=i,this.engine=e,this._zone=n,e.onRemovalComplete=(r,o)=>{o?.removeChild(null,r)}}createRenderer(i,e){let r=this.delegate.createRenderer(i,e);if(!i||!e?.data?.animation){let c=this._rendererCache,u=c.get(r);if(!u){let h=()=>c.delete(r);u=new hy("",r,this.engine,h),c.set(r,u)}return u}let o=e.id,a=e.id+"-"+this._currentId;this._currentId++,this.engine.register(a,i);let s=c=>{Array.isArray(c)?c.forEach(s):this.engine.registerTrigger(o,a,i,c.name,c)};return e.data.animation.forEach(s),new tE(this,a,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(i,e,n){if(i>=0&&i<this._microtaskId){this._zone.run(()=>e(n));return}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{let[a,s]=o;a(s)}),this._animationCallbacksBuffer=[]})}),r.push([e,n])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(i){this.engine.flush(),this.delegate.componentReplaced?.(i)}};var EG=(()=>{class t extends Iu{constructor(e,n,r){super(e,n,r)}ngOnDestroy(){this.flush()}static \u0275fac=function(n){return new(n||t)(j(ve),j(Wc),j(qc))};static \u0275prov=M({token:t,factory:t.\u0275fac})}return t})();function SG(){return new oy}function TG(){return new fy(d(bm),d(Iu),d(ne))}var eF=[{provide:qc,useFactory:SG},{provide:Iu,useClass:EG},{provide:kn,useFactory:TG}],pIe=[{provide:Wc,useClass:nE},{provide:pl,useValue:"NoopAnimations"},...eF],IG=[{provide:Wc,useFactory:()=>new uy},{provide:pl,useFactory:()=>"BrowserAnimations"},...eF];function tF(){return er("NgEagerAnimations"),[...IG]}var ut="primary",Um=Symbol("RouteTitle"),lE=class{params;constructor(i){this.params=i||{}}has(i){return Object.prototype.hasOwnProperty.call(this.params,i)}get(i){if(this.has(i)){let e=this.params[i];return Array.isArray(e)?e[0]:e}return null}getAll(i){if(this.has(i)){let e=this.params[i];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function Yc(t){return new lE(t)}function rE(t,i,e){for(let n=0;n<t.length;n++){let r=t[n],o=i[n];if(r[0]===":")e[r.substring(1)]=o;else if(r!==o.path)return!1}return!0}function lF(t,i,e){let n=e.path.split("/"),r=n.indexOf("**");if(r===-1){if(n.length>t.length||e.pathMatch==="full"&&(i.hasChildren()||n.length<t.length))return null;let l={},c=t.slice(0,n.length);return rE(n,c,l)?{consumed:c,posParams:l}:null}if(r!==n.lastIndexOf("**"))return null;let o=n.slice(0,r),a=n.slice(r+1);if(o.length+a.length>t.length||e.pathMatch==="full"&&i.hasChildren()&&e.path!=="**")return null;let s={};return!rE(o,t.slice(0,o.length),s)||!rE(a,t.slice(t.length-a.length),s)?null:{consumed:t,posParams:s}}function yy(t){return new Promise((i,e)=>{t.pipe(Mr()).subscribe({next:n=>i(n),error:n=>e(n)})})}function AG(t,i){if(t.length!==i.length)return!1;for(let e=0;e<t.length;++e)if(!Ua(t[e],i[e]))return!1;return!0}function Ua(t,i){let e=t?cE(t):void 0,n=i?cE(i):void 0;if(!e||!n||e.length!=n.length)return!1;let r;for(let o=0;o<e.length;o++)if(r=e[o],!cF(t[r],i[r]))return!1;return!0}function cE(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function cF(t,i){if(Array.isArray(t)&&Array.isArray(i)){if(t.length!==i.length)return!1;let e=[...t].sort(),n=[...i].sort();return e.every((r,o)=>n[o]===r)}else return t===i}function kG(t){return t.length>0?t[t.length-1]:null}function Qc(t){return ff(t)?t:xs(t)?jt(Promise.resolve(t)):K(t)}function dF(t){return ff(t)?yy(t):Promise.resolve(t)}var OG={exact:hF,subset:fF},uF={exact:NG,subset:RG,ignored:()=>!0},xE={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Rm={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function DE(t,i,e){let n=t instanceof qi?t:i.parseUrl(t);return Z(()=>dE(i.lastSuccessfulNavigation()?.finalUrl??new qi,n,x(x({},Rm),e)))}function dE(t,i,e){return OG[e.paths](t.root,i.root,e.matrixParams)&&uF[e.queryParams](t.queryParams,i.queryParams)&&!(e.fragment==="exact"&&t.fragment!==i.fragment)}function NG(t,i){return Ua(t,i)}function hF(t,i,e){if(!Gc(t.segments,i.segments)||!gy(t.segments,i.segments,e)||t.numberOfChildren!==i.numberOfChildren)return!1;
vendor: 12,428 bytes, line 5
5for(let n in i.children)if(!t.children[n]||!hF(t.children[n],i.children[n],e))return!1;return!0}function RG(t,i){return Object.keys(i).length<=Object.keys(t).length&&Object.keys(i).every(e=>cF(t[e],i[e]))}function fF(t,i,e){return mF(t,i,i.segments,e)}function mF(t,i,e,n){if(t.segments.length>e.length){let r=t.segments.slice(0,e.length);return!(!Gc(r,e)||i.hasChildren()||!gy(r,e,n))}else if(t.segments.length===e.length){if(!Gc(t.segments,e)||!gy(t.segments,e,n))return!1;for(let r in i.children)if(!t.children[r]||!fF(t.children[r],i.children[r],n))return!1;return!0}else{let r=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!Gc(t.segments,r)||!gy(t.segments,r,n)||!t.children[ut]?!1:mF(t.children[ut],i,o,n)}}function gy(t,i,e){return i.every((n,r)=>uF[e](t[r].parameters,n.parameters))}var qi=class{root;queryParams;fragment;_queryParamMap;constructor(i=new Ht([],{}),e={},n=null){this.root=i,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Yc(this.queryParams),this._queryParamMap}toString(){return LG.serialize(this)}},Ht=class{segments;children;parent=null;constructor(i,e){this.segments=i,this.children=e,Object.values(e).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return _y(this)}},wl=class{path;parameters;_parameterMap;constructor(i,e){this.path=i,this.parameters=e}get parameterMap(){return this._parameterMap??=Yc(this.parameters),this._parameterMap}toString(){return gF(this)}};function PG(t,i){return Gc(t,i)&&t.every((e,n)=>Ua(e.parameters,i[n].parameters))}function Gc(t,i){return t.length!==i.length?!1:t.every((e,n)=>e.path===i[n].path)}function FG(t,i){let e=[];return Object.entries(t.children).forEach(([n,r])=>{n===ut&&(e=e.concat(i(r,n)))}),Object.entries(t.children).forEach(([n,r])=>{n!==ut&&(e=e.concat(i(r,n)))}),e}var Ml=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:()=>new As,providedIn:"root"})}return t})(),As=class{parse(i){let e=new hE(i);return new qi(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(i){let e=`/${Am(i.root,!0)}`,n=BG(i.queryParams),r=typeof i.fragment=="string"?`#${VG(i.fragment)}`:"";return`${e}${n}${r}`}},LG=new As;function _y(t){return t.segments.map(i=>gF(i)).join("/")}function Am(t,i){if(!t.hasChildren())return _y(t);if(i){let e=t.children[ut]?Am(t.children[ut],!1):"",n=[];return Object.entries(t.children).forEach(([r,o])=>{r!==ut&&n.push(`${r}:${Am(o,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}else{let e=FG(t,(n,r)=>r===ut?[Am(t.children[ut],!1)]:[`${r}:${Am(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[ut]!=null?`${_y(t)}/${e[0]}`:`${_y(t)}/(${e.join("//")})`}}function pF(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function my(t){return pF(t).replace(/%3B/gi,";")}function VG(t){return encodeURI(t)}function uE(t){return pF(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function vy(t){return decodeURIComponent(t)}function nF(t){return vy(t.replace(/\+/g,"%20"))}function gF(t){return`${uE(t.path)}${jG(t.parameters)}`}function jG(t){return Object.entries(t).map(([i,e])=>`;${uE(i)}=${uE(e)}`).join("")}function BG(t){let i=Object.entries(t).map(([e,n])=>Array.isArray(n)?n.map(r=>`${my(e)}=${my(r)}`).join("&"):`${my(e)}=${my(n)}`).filter(e=>e);return i.length?`?${i.join("&")}`:""}var UG=/^[^\/()?;#]+/;function oE(t){let i=t.match(UG);return i?i[0]:""}var HG=/^[^\/()?;=#]+/;function zG(t){let i=t.match(HG);return i?i[0]:""}var $G=/^[^=?&#]+/;function WG(t){let i=t.match($G);return i?i[0]:""}var qG=/^[^&#]+/;function GG(t){let i=t.match(qG);return i?i[0]:""}var hE=class{url;remaining;constructor(i){this.url=i,this.remaining=i}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ht([],{}):new Ht([],this.parseChildren())}parseQueryParams(){let i={};if(this.consumeOptional("?"))do this.parseQueryParam(i);while(this.consumeOptional("&"));return i}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(i=0){if(i>50)throw new $(4010,!1);if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0,i));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1,i)),(e.length>0||Object.keys(n).length>0)&&(r[ut]=new Ht(e,n)),r}parseSegment(){let i=oE(this.remaining);if(i===""&&this.peekStartsWith(";"))throw new $(4009,!1);return this.capture(i),new wl(vy(i),this.parseMatrixParams())}parseMatrixParams(){let i={};for(;this.consumeOptional(";");)this.parseParam(i);return i}parseParam(i){let e=zG(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let r=oE(this.remaining);r&&(n=r,this.capture(n))}i[vy(e)]=vy(n)}parseQueryParam(i){let e=WG(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let a=GG(this.remaining);a&&(n=a,this.capture(n))}let r=nF(e),o=nF(n);if(i.hasOwnProperty(r)){let a=i[r];Array.isArray(a)||(a=[a],i[r]=a),a.push(o)}else i[r]=o}parseParens(i,e){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=oE(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new $(4010,!1);let a;r.indexOf(":")>-1?(a=r.slice(0,r.indexOf(":")),this.capture(a),this.capture(":")):i&&(a=ut);let s=this.parseChildren(e+1);n[a??ut]=Object.keys(s).length===1&&s[ut]?s[ut]:new Ht([],s),this.consumeOptional("//")}return n}peekStartsWith(i){return this.remaining.startsWith(i)}consumeOptional(i){return this.peekStartsWith(i)?(this.remaining=this.remaining.substring(i.length),!0):!1}capture(i){if(!this.consumeOptional(i))throw new $(4011,!1)}};function _F(t){return t.segments.length>0?new Ht([],{[ut]:t}):t}function vF(t){let i={};for(let[n,r]of Object.entries(t.children)){let o=vF(r);if(n===ut&&o.segments.length===0&&o.hasChildren())for(let[a,s]of Object.entries(o.children))i[a]=s;else(o.segments.length>0||o.hasChildren())&&(i[n]=o)}let e=new Ht(t.segments,i);return YG(e)}function YG(t){if(t.numberOfChildren===1&&t.children[ut]){let i=t.children[ut];return new Ht(t.segments.concat(i.segments),i.children)}return t}function xl(t){return t instanceof qi}function yF(t,i,e=null,n=null,r=new As){let o=bF(t);return CF(o,i,e,n,r)}function bF(t){let i;function e(o){let a={};for(let l of o.children){let c=e(l);a[l.outlet]=c}let s=new Ht(o.url,a);return o===t&&(i=s),s}let n=e(t.root),r=_F(n);return i??r}function CF(t,i,e,n,r){let o=t;for(;o.parent;)o=o.parent;if(i.length===0)return aE(o,o,o,e,n,r);let a=QG(i);if(a.toRoot())return aE(o,o,new Ht([],{}),e,n,r);let s=ZG(a,o,t),l=s.processChildren?Om(s.segmentGroup,s.index,a.commands):xF(s.segmentGroup,s.index,a.commands);return aE(o,s.segmentGroup,l,e,n,r)}function by(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Pm(t){return typeof t=="object"&&t!=null&&t.outlets}function iF(t,i,e){t||="\u0275";let n=new qi;return n.queryParams={[t]:i},e.parse(e.serialize(n)).queryParams[t]}function aE(t,i,e,n,r,o){let a={};for(let[c,u]of Object.entries(n??{}))a[c]=Array.isArray(u)?u.map(h=>iF(c,h,o)):iF(c,u,o);let s;t===i?s=e:s=wF(t,i,e);let l=_F(vF(s));return new qi(l,a,r)}function wF(t,i,e){let n={};return Object.entries(t.children).forEach(([r,o])=>{o===i?n[r]=e:n[r]=wF(o,i,e)}),new Ht(t.segments,n)}var Cy=class{isAbsolute;numberOfDoubleDots;commands;constructor(i,e,n){if(this.isAbsolute=i,this.numberOfDoubleDots=e,this.commands=n,i&&n.length>0&&by(n[0]))throw new $(4003,!1);let r=n.find(Pm);if(r&&r!==kG(n))throw new $(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function QG(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Cy(!0,0,t);let i=0,e=!1,n=t.reduce((r,o,a)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let s={};return Object.entries(o.outlets).forEach(([l,c])=>{s[l]=typeof c=="string"?c.split("/"):c}),[...r,{outlets:s}]}if(o.segmentPath)return[...r,o.segmentPath]}return typeof o!="string"?[...r,o]:a===0?(o.split("/").forEach((s,l)=>{l==0&&s==="."||(l==0&&s===""?e=!0:s===".."?i++:s!=""&&r.push(s))}),r):[...r,o]},[]);return new Cy(e,i,n)}var ku=class{segmentGroup;processChildren;index;constructor(i,e,n){this.segmentGroup=i,this.processChildren=e,this.index=n}};function ZG(t,i,e){if(t.isAbsolute)return new ku(i,!0,0);if(!e)return new ku(i,!1,NaN);if(e.parent===null)return new ku(e,!0,0);let n=by(t.commands[0])?0:1,r=e.segments.length-1+n;return KG(e,r,t.numberOfDoubleDots)}function KG(t,i,e){let n=t,r=i,o=e;for(;o>r;){if(o-=r,n=n.parent,!n)throw new $(4005,!1);r=n.segments.length}return new ku(n,!1,r-o)}function XG(t){return Pm(t[0])?t[0].outlets:{[ut]:t}}function xF(t,i,e){if(t??=new Ht([],{}),t.segments.length===0&&t.hasChildren())return Om(t,i,e);let n=JG(t,i,e),r=e.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let o=new Ht(t.segments.slice(0,n.pathIndex),{});return o.children[ut]=new Ht(t.segments.slice(n.pathIndex),t.children),Om(o,0,r)}else return n.match&&r.length===0?new Ht(t.segments,{}):n.match&&!t.hasChildren()?fE(t,i,e):n.match?Om(t,0,r):fE(t,i,e)}function Om(t,i,e){if(e.length===0)return new Ht(t.segments,{});{let n=XG(e),r={};if(Object.keys(n).some(o=>o!==ut)&&t.children[ut]&&t.numberOfChildren===1&&t.children[ut].segments.length===0){let o=Om(t.children[ut],i,e);return new Ht(t.segments,o.children)}return Object.entries(n).forEach(([o,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(r[o]=xF(t.children[o],i,a))}),Object.entries(t.children).forEach(([o,a])=>{n[o]===void 0&&(r[o]=a)}),new Ht(t.segments,r)}}function JG(t,i,e){let n=0,r=i,o={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(n>=e.length)return o;let a=t.segments[r],s=e[n];if(Pm(s))break;let l=`${s}`,c=n<e.length-1?e[n+1]:null;if(r>0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!oF(l,c,a))return o;n+=2}else{if(!oF(l,{},a))return o;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}function fE(t,i,e){let n=t.segments.slice(0,i),r=0;for(;r<e.length;){let o=e[r];if(Pm(o)){let l=e9(o.outlets);return new Ht(n,l)}if(r===0&&by(e[0])){let l=t.segments[i];n.push(new wl(l.path,rF(e[0]))),r++;continue}let a=Pm(o)?o.outlets[ut]:`${o}`,s=r<e.length-1?e[r+1]:null;a&&s&&by(s)?(n.push(new wl(a,rF(s))),r+=2):(n.push(new wl(a,{})),r++)}return new Ht(n,{})}function e9(t){let i={};return Object.entries(t).forEach(([e,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(i[e]=fE(new Ht([],{}),0,n))}),i}function rF(t){let i={};return Object.entries(t).forEach(([e,n])=>i[e]=`${n}`),i}function oF(t,i,e){return t==e.path&&Ua(i,e.parameters)}var Ou="imperative",Xn=(function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t})(Xn||{}),Pr=class{id;url;constructor(i,e){this.id=i,this.url=e}},Fr=class extends Pr{type=Xn.NavigationStart;navigationTrigger;restoredState;constructor(i,e,n="imperative",r=null){super(i,e),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},En=class extends Pr{urlAfterRedirects;type=Xn.NavigationEnd;constructor(i,e,n){super(i,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Ti=(function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromRe
5solver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t})(Ti||{}),Ru=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(Ru||{}),or=class extends Pr{reason;code;type=Xn.NavigationCancel;constructor(i,e,n,r){super(i,e),this.reason=n,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function DF(t){return t instanceof or&&(t.code===Ti.Redirect||t.code===Ti.SupersededByNewNavigation)}var Ha=class extends Pr{reason;code;type=Xn.NavigationSkipped;constructor(i,e,n,r){super(i,e),this.reason=n,this.code=r}},za=class extends Pr{error;target;type=Xn.NavigationError;constructor(i,e,n,r){super(i,e),this.error=n,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Dl=class extends Pr{urlAfterRedirects;state;type=Xn.RoutesRecognized;constructor(i,e,n,r){super(i,e),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},wy=class extends Pr{urlAfterRedirects;state;type=Xn.GuardsCheckStart;constructor(i,e,n,r){super(i,e),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},xy=class extends Pr{urlAfterRedirects;state;shouldActivate;type=Xn.GuardsCheckEnd;constructor(i,e,n,r,o){super(i,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Dy=class extends Pr{urlAfterRedirects;state;type=Xn.ResolveStart;constructor(i,e,n,r){super(i,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},My=class extends Pr{urlAfterRedirects;state;type=Xn.ResolveEnd;constructor(i,e,n,r){super(i,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ey=class{route;type=Xn.RouteConfigLoadStart;constructor(i){this.route=i}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Sy=class{route;type=Xn.RouteConfigLoadEnd;constructor(i){this.route=i}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Ty=class{snapshot;type=Xn.ChildActivationStart;constructor(i){this.snapshot=i}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Iy=class{snapshot;type=Xn.ChildActivationEnd;constructor(i){this.snapshot=i}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ay=class{snapshot;type=Xn.ActivationStart;constructor(i){this.snapshot=i}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ky=class{snapshot;type=Xn.ActivationEnd;constructor(i){this.snapshot=i}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Pu=class{routerEvent;position;anchor;scrollBehavior;type=Xn.Scroll;constructor(i,e,n,r){this.routerEvent=i,this.position=e,this.anchor=n,this.scrollBehavior=r}toString(){let i=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${i}')`}},Fu=class{},Fm=class{},Lu=class{url;navigationBehaviorOptions;constructor(i,e){this.url=i,this.navigationBehaviorOptions=e}};function t9(t){return!(t instanceof Fu)&&!(t instanceof Lu)&&!(t instanceof Fm)}var Oy=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(i){this.rootInjector=i,this.children=new Zc(this.rootInjector)}},Zc=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,n){let r=this.getOrCreateContext(e);r.outlet=n,this.contexts.set(e,r)}onChildOutletDestroyed(e){let n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new Oy(this.rootInjector),this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(n){return new(n||t)(j(Bt))};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ny=class{_root;constructor(i){this._root=i}get root(){return this._root.value}
vendor: 17,506 bytes, line 5
5parent(i){let e=this.pathFromRoot(i);return e.length>1?e[e.length-2]:null}children(i){let e=mE(i,this._root);return e?e.children.map(n=>n.value):[]}firstChild(i){let e=mE(i,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(i){let e=pE(i,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==i)}pathFromRoot(i){return pE(i,this._root).map(e=>e.value)}};function mE(t,i){if(t===i.value)return i;for(let e of i.children){let n=mE(t,e);if(n)return n}return null}function pE(t,i){if(t===i.value)return[i];for(let e of i.children){let n=pE(t,e);if(n.length)return n.unshift(i),n}return[]}var Rr=class{value;children;constructor(i,e){this.value=i,this.children=e}toString(){return`TreeNode(${this.value})`}};function Au(t){let i={};return t&&t.children.forEach(e=>i[e.value.outlet]=e),i}var Lm=class extends Ny{snapshot;constructor(i,e){super(i),this.snapshot=e,EE(this,i)}toString(){return this.snapshot.toString()}};function MF(t,i){let e=n9(t,i),n=new pt([new wl("",{})]),r=new pt({}),o=new pt({}),a=new pt({}),s=new pt(""),l=new so(n,r,a,s,o,ut,t,e.root);return l.snapshot=e.root,new Lm(new Rr(l,[]),e)}function n9(t,i){let e={},n={},r={},a=new Vu([],e,r,"",n,ut,t,null,{},i);return new Vm("",new Rr(a,[]))}var so=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(i,e,n,r,o,a,s,l){this.urlSubject=i,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=r,this.dataSubject=o,this.outlet=a,this.component=s,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(X(c=>c[Um]))??K(void 0),this.url=i,this.params=e,this.queryParams=n,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(X(i=>Yc(i))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(X(i=>Yc(i))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function ME(t,i,e="emptyOnly"){let n,{routeConfig:r}=t;return i!==null&&(e==="always"||r?.path===""||!i.component&&!i.routeConfig?.loadComponent)?n={params:x(x({},i.params),t.params),data:x(x({},i.data),t.data),resolve:x(x(x(x({},t.data),i.data),r?.data),t._resolvedData)}:n={params:x({},t.params),data:x({},t.data),resolve:x(x({},t.data),t._resolvedData??{})},r&&SF(r)&&(n.resolve[Um]=r.title),n}var Vu=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[Um]}constructor(i,e,n,r,o,a,s,l,c,u){this.url=i,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this.routeConfig=l,this._resolve=c,this._environmentInjector=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Yc(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Yc(this.queryParams),this._queryParamMap}toString(){let i=this.url.map(n=>n.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${i}', path:'${e}')`}},Vm=class extends Ny{url;constructor(i,e){super(e),this.url=i,EE(this,e)}toString(){return EF(this._root)}};function EE(t,i){i.value._routerState=t,i.children.forEach(e=>EE(t,e))}function EF(t){let i=t.children.length>0?` { ${t.children.map(EF).join(", ")} } `:"";return`${t.value}${i}`}function sE(t){if(t.snapshot){let i=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Ua(i.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),i.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),Ua(i.params,e.params)||t.paramsSubject.next(e.params),AG(i.url,e.url)||t.urlSubject.next(e.url),Ua(i.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function gE(t,i){let e=Ua(t.params,i.params)&&PG(t.url,i.url),n=!t.parent!=!i.parent;return e&&!n&&(!t.parent||gE(t.parent,i.parent))}function SF(t){return typeof t.title=="string"||t.title===null}var TF=new T(""),Hm=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=ut;activateEvents=new z;deactivateEvents=new z;attachEvents=new z;detachEvents=new z;routerOutletData=C();parentContexts=d(Zc);location=d(wn);changeDetector=d(Pe);inputBinder=d(zm,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:n,previousValue:r}=e.name;if(n)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new $(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new $(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new $(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,n){this.activated=e,this._activatedRoute=n,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,n){if(this.isActivated)throw new $(4013,!1);this._activatedRoute=e;let r=this.location,a=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,l=new _E(e,s,r.injector,this.routerOutletData);this.activated=r.createComponent(a,{index:r.length,injector:l,environmentInjector:n}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Ze]})}return t})(),_E=class{route;childContexts;parent;outletData;constructor(i,e,n,r){this.route=i,this.childContexts=e,this.parent=n,this.outletData=r}get(i,e){return i===so?this.route:i===Zc?this.childContexts:i===TF?this.outletData:this.parent.get(i,e)}},zm=new T(""),SE=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:n}=e,r=nl([n.queryParams,n.params,n.data]).pipe(lt(([o,a,s],l)=>(s=x(x(x({},o),a),s),l===0?K(s):Promise.resolve(s)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(e);return}let a=SR(n.component);if(!a){this.unsubscribeFromRouteData(e);return}for(let{templateName:s}of a.inputs)e.activatedComponentRef.setInput(s,o[s])});this.outletDataSubscriptions.set(e,r)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac})}return t})(),TE=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(n,r){n&1&&O(0,"router-outlet")},dependencies:[Hm],encapsulation:2})}return t})();function IE(t){let i=t.children&&t.children.map(IE),e=i?Y(x({},t),{children:i}):x({},t);return!e.component&&!e.loadComponent&&(i||e.loadChildren)&&e.outlet&&e.outlet!==ut&&(e.component=TE),e}function i9(t,i,e){let n=jm(t,i._root,e?e._root:void 0);return new Lm(n,i)}function jm(t,i,e){if(e&&t.shouldReuseRoute(i.value,e.value.snapshot)){let n=e.value;n._futureSnapshot=i.value;let r=r9(t,i,e);return new Rr(n,r)}else{if(t.shouldAttach(i.value)){let o=t.retrieve(i.value);if(o!==null){let a=o.route;return a.value._futureSnapshot=i.value,a.children=i.children.map(s=>jm(t,s)),a}}let n=o9(i.value),r=i.children.map(o=>jm(t,o));return new Rr(n,r)}}function r9(t,i,e){return i.children.map(n=>{for(let r of e.children)if(t.shouldReuseRoute(n.value,r.value.snapshot))return jm(t,n,r);return jm(t,n)})}function o9(t){return new so(new pt(t.url),new pt(t.params),new pt(t.queryParams),new pt(t.fragment),new pt(t.data),t.outlet,t.component,t)}var ju=class{redirectTo;navigationBehaviorOptions;constructor(i,e){this.redirectTo=i,this.navigationBehaviorOptions=e}},IF="ngNavigationCancelingError";function Ry(t,i){let{redirectTo:e,navigationBehaviorOptions:n}=xl(i)?{redirectTo:i,navigationBehaviorOptions:void 0}:i,r=AF(!1,Ti.Redirect);return r.url=e,r.navigationBehaviorOptions=n,r}function AF(t,i){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[IF]=!0,e.cancellationCode=i,e}function a9(t){return kF(t)&&xl(t.url)}function kF(t){return!!t&&t[IF]}var vE=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(i,e,n,r,o){this.routeReuseStrategy=i,this.futureState=e,this.currState=n,this.forwardEvent=r,this.inputBindingEnabled=o}activate(i){let e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,i),sE(this.futureState.root),this.activateChildRoutes(e,n,i)}deactivateChildRoutes(i,e,n){let r=Au(e);i.children.forEach(o=>{let a=o.value.outlet;this.deactivateRoutes(o,r[a],n),delete r[a]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(i,e,n){let r=i.value,o=e?e.value:null;if(r===o)if(r.component){let a=n.getContext(r.outlet);a&&this.deactivateChildRoutes(i,e,a.children)}else this.deactivateChildRoutes(i,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(i,e){i.value.component&&this.routeReuseStrategy.shouldDetach(i.value.snapshot)?this.detachAndStoreRouteSubtree(i,e):this.deactivateRouteAndOutlet(i,e)}detachAndStoreRouteSubtree(i,e){let n=e.getContext(i.value.outlet),r=n&&i.value.component?n.children:e,o=Au(i);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,r);if(n&&n.outlet){let a=n.outlet.detach(),s=n.children.onOutletDeactivated();this.routeReuseStrategy.store(i.value.snapshot,{componentRef:a,route:i,contexts:s})}}deactivateRouteAndOutlet(i,e){let n=e.getContext(i.value.outlet),r=n&&i.value.component?n.children:e,o=Au(i);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,r);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(i,e,n){let r=Au(e);i.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],n),this.forwardEvent(new ky(o.value.snapshot))}),i.children.length&&this.forwardEvent(new Iy(i.value.snapshot))}activateRoutes(i,e,n){let r=i.value,o=e?e.value:null;if(sE(r),r===o)if(r.component){let a=n.getOrCreateContext(r.outlet);this.activateChildRoutes(i,e,a.children)}else this.activateChildRoutes(i,e,n);else if(r.component){let a=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),sE(s.route.value),this.activateChildRoutes(i,null,a.children)}else a.attachRef=null,a.route=r,a.outlet&&a.outlet.activateWith(r,a.injector),this.activateChildRoutes(i,null,a.children)}else this.activateChildRoutes(i,null,n)}},Py=class{path;route;constructor(i){this.path=i,this.route=this.path[this.path.length-1]}},Nu=class{component;route;constructor(i,e){this.component=i,this.route=e}};function s9(t,i,e){let n=t._root,r=i?i._root:null;return km(n,r,e,[n.value])}function l9(t){let i=t.routeConfig?t.routeConfig.canActivateChild:null;return!i||i.length===0?null:{node:t,guards:i}}function Uu(t,i){let e=Symbol(),n=i.get(t,e);return n===e?typeof t=="function"&&!pw(t)?t:i.get(t):n}function km(t,i,e,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=Au(i);return t.children.forEach(a=>{c9(a,o[a.value.outlet],e,n.concat([a.value]),r),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,s])=>Nm(s,e.getContext(a),r)),r}function c9(t,i,e,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,a=i?i.value:null,s=e?e.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){let l=d9(a,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Py(n)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?km(t,i,s?s.children:null,n,r):km(t,i,e,n,r),l&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new Nu(s.outlet.component,a))}else a&&Nm(i,s,r),r.canActivateChecks.push(new Py(n)),o.component?km(t,null,s?s.children:null,n,r):km(t,null,e,n,r);return r}function d9(t,i,e){if(typeof e=="function")return Yn(i._environmentInjector,()=>e(t,i));switch(e){case"pathParamsChange":return!Gc(t.url,i.url);case"pathParamsOrQueryParamsChange":return!Gc(t.url,i.url)||!Ua(t.queryParams,i.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!gE(t,i)||!Ua(t.queryParams,i.queryParams);default:return!gE(t,i)}}function Nm(t,i,e){let n=Au(t),r=t.value;Object.entries(n).forEach(([o,a])=>{r.component?i?Nm(a,i.children.getContext(o),e):Nm(a,null,e):Nm(a,i,e)}),r.component?i&&i.outlet&&i.outlet.isActivated?e.canDeactivateChecks.push(new Nu(i.outlet.component,r)):e.canDeactivateChecks.push(new Nu(null,r)):e.canDeactivateChecks.push(new Nu(null,r))}function $m(t){return typeof t=="function"}function u9(t){return typeof t=="boolean"}function h9(t){return t&&$m(t.canLoad)}function f9(t){return t&&$m(t.canActivate)}function m9(t){return t&&$m(t.canActivateChild)}function p9(t){return t&&$m(t.canDeactivate)}function g9(t){return t&&$m(t.canMatch)}function OF(t){return t instanceof hs||t?.name==="EmptyError"}var py=Symbol("INITIAL_VALUE");function Bu(){return lt(t=>nl(t.map(i=>i.pipe(Fe(1),Ot(py)))).pipe(X(i=>{for(let e of i)if(e!==!0){if(e===py)return py;if(e===!1||_9(e))return e}return!0}),J(i=>i!==py),Fe(1)))}function _9(t){return xl(t)||t instanceof ju}function NF(t){return t.aborted?K(void 0).pipe(Fe(1)):new De(i=>{let e=()=>{i.next(),i.complete()};return t.addEventListener("abort",e),()=>t.removeEventListener("abort",e)})}function RF(t){return Ee(NF(t))}function v9(t){return Ct(i=>{let{targetSnapshot:e,currentSnapshot:n,guards:{canActivateChecks:r,canDeactivateChecks:o}}=i;return o.length===0&&r.length===0?K(Y(x({},i),{guardsResult:!0})):y9(o,e,n).pipe(Ct(a=>a&&u9(a)?b9(e,r,t):K(a)),X(a=>Y(x({},i),{guardsResult:a})))})}function y9(t,i,e){return jt(t).pipe(Ct(n=>M9(n.component,n.route,e,i)),Mr(n=>n!==!0,!0))}function b9(t,i,e){return jt(i).pipe(Bi(n=>Ca(w9(n.route.parent,e),C9(n.route,e),D9(t,n.path),x9(t,n.route))),Mr(n=>n!==!0,!0))}function C9(t,i){return t!==null&&i&&i(new Ay(t)),K(!0)}function w9(t,i){return t!==null&&i&&i(new Ty(t)),K(!0)}function x9(t,i){let e=i.routeConfig?i.routeConfig.canActivate:null;if(!e||e.length===0)return K(!0);let n=e.map(r=>Oo(()=>{let o=i._environmentInjector,a=Uu(r,o),s=f9(a)?a.canActivate(i,t):Yn(o,()=>a(i,t));return Qc(s).pipe(Mr())}));return K(n).pipe(Bu())}function D9(t,i){let e=i[i.length-1],r=i.slice(0,i.length-1).reverse().map(o=>l9(o)).filter(o=>o!==null).map(o=>Oo(()=>{let a=o.guards.map(s=>{let l=o.node._environmentInjector,c=Uu(s,l),u=m9(c)?c.canActivateChild(e,t):Yn(l,()=>c(e,t));return Qc(u).pipe(Mr())});return K(a).pipe(Bu())}));return K(r).pipe(Bu())}function M9(t,i,e,n){let r=i&&i.routeConfig?i.routeConfig.canDeactivate:null;if(!r||r.length===0)return K(!0);let o=r.map(a=>{let s=i._environmentInjector,l=Uu(a,s),c=p9(l)?l.canDeactivate(t,i,e,n):Yn(s,()=>l(t,i,e,n));return Qc(c).pipe(Mr())});return K(o).pipe(Bu())}function E9(t,i,e,n,r){let o=i.canLoad;if(o===void 0||o.length===0)return K(!0);let a=o.map(s=>{let l=Uu(s,t),c=h9(l)?l.canLoad(i,e):Yn(t,()=>l(i,e)),u=Qc(c);return r?u.pipe(RF(r)):u});return K(a).pipe(Bu(),PF(n))}function PF(t){return BC(vt(i=>{if(typeof i!="boolean")throw Ry(t,i)}),X(i=>i===!0))}function S9(t,i,e,n,r,o){let a=i.canMatch;if(!a||a.length===0)return K(!0);
5let s=a.map(l=>{let c=Uu(l,t),u=g9(c)?c.canMatch(i,e,r):Yn(t,()=>c(i,e,r));return Qc(u).pipe(RF(o))});return K(s).pipe(Bu(),PF(n))}var Is=class t extends Error{segmentGroup;constructor(i){super(),this.segmentGroup=i||null,Object.setPrototypeOf(this,t.prototype)}},Bm=class t extends Error{urlTree;constructor(i){super(),this.urlTree=i,Object.setPrototypeOf(this,t.prototype)}};function T9(t){throw new $(4e3,!1)}function I9(t){throw AF(!1,Ti.GuardRejected)}var yE=class{urlSerializer;urlTree;constructor(i,e){this.urlSerializer=i,this.urlTree=e}lineralizeSegments(i,e){return St(this,null,function*(){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),r.numberOfChildren===0)return n;if(r.numberOfChildren>1||!r.children[ut])throw T9(`${i.redirectTo}`);r=r.children[ut]}})}applyRedirectCommands(i,e,n,r,o){return St(this,null,function*(){let a=yield A9(e,r,o);if(a instanceof qi)throw new Bm(a);let s=this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),i,n);if(a[0]==="/")throw new Bm(s);return s})}applyRedirectCreateUrlTree(i,e,n,r){let o=this.createSegmentGroup(i,e.root,n,r);return new qi(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(i,e){let n={};return Object.entries(i).forEach(([r,o])=>{if(typeof o=="string"&&o[0]===":"){let s=o.substring(1);n[r]=e[s]}else n[r]=o}),n}createSegmentGroup(i,e,n,r){let o=this.createSegments(i,e.segments,n,r),a={};return Object.entries(e.children).forEach(([s,l])=>{a[s]=this.createSegmentGroup(i,l,n,r)}),new Ht(o,a)}createSegments(i,e,n,r){return e.map(o=>o.path[0]===":"?this.findPosParam(i,o,r):this.findOrReturn(o,n))}findPosParam(i,e,n){let r=n[e.path.substring(1)];if(!r)throw new $(4001,!1);return r}findOrReturn(i,e){let n=0;for(let r of e){if(r.path===i.path)return e.splice(n),r;n++}return i}};function A9(t,i,e){if(typeof t=="string")return Promise.resolve(t);let n=t;return yy(Qc(Yn(e,()=>n(i))))}function k9(t,i){return t.providers&&!t._injector&&(t._injector=bu(t.providers,i,`Route: ${t.path}`)),t._injector??i}function Jo(t){return t.outlet||ut}function O9(t,i){let e=t.filter(n=>Jo(n)===i);return e.push(...t.filter(n=>Jo(n)!==i)),e}var bE={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function FF(t){return{routeConfig:t.routeConfig,url:t.url,params:t.params,queryParams:t.queryParams,fragment:t.fragment,data:t.data,outlet:t.outlet,title:t.title,paramMap:t.paramMap,queryParamMap:t.queryParamMap}}function N9(t,i,e,n,r,o,a){let s=LF(t,i,e);if(!s.matched)return K(s);let l=FF(o(s));return n=k9(i,n),S9(n,i,e,r,l,a).pipe(X(c=>c===!0?s:x({},bE)))}function LF(t,i,e){if(i.path==="")return i.pathMatch==="full"&&(t.hasChildren()||e.length>0)?x({},bE):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let r=(i.matcher||lF)(e,t,i);if(!r)return x({},bE);let o={};Object.entries(r.posParams??{}).forEach(([s,l])=>{o[s]=l.path});let a=r.consumed.length>0?x(x({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:a,positionalParamSegments:r.posParams??{}}}function aF(t,i,e,n,r){return e.length>0&&F9(t,e,n,r)?{segmentGroup:new Ht(i,P9(n,new Ht(e,t.children))),slicedSegments:[]}:e.length===0&&L9(t,e,n)?{segmentGroup:new Ht(t.segments,R9(t,e,n,t.children)),slicedSegments:e}:{segmentGroup:new Ht(t.segments,t.children),slicedSegments:e}}function R9(t,i,e,n){let r={};for(let o of e)if(Ly(t,i,o)&&!n[Jo(o)]){let a=new Ht([],{});r[Jo(o)]=a}return x(x({},n),r)}function P9(t,i){let e={};e[ut]=i;for(let n of t)if(n.path===""&&Jo(n)!==ut){let r=new Ht([],{});e[Jo(n)]=r}return e}function F9(t,i,e,n){return e.some(r=>!Ly(t,i,r)||!(Jo(r)!==ut)?!1:!(n!==void 0&&Jo(r)===n))}function L9(t,i,e){return e.some(n=>Ly(t,i,n))}function Ly(t,i,e){return(t.hasChildren()||i.length>0)&&e.pathMatch==="full"?!1:e.path===""}function V9(t,i,e){return i.length===0&&!t.children[e]}var CE=class{};function j9(t,i,e,n,r,o,a="emptyOnly",s){return St(this,null,function*(){return new wE(t,i,e,n,r,a,o,s).recognize()})}var B9=31,wE=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;
5constructor(i,e,n,r,o,a,s,l){this.injector=i,this.configLoader=e,this.rootComponentType=n,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.abortSignal=l,this.applyRedirects=new yE(this.urlSerializer,this.urlTree)}noMatchError(i){return new $(4002,`'${i.segmentGroup}'`)}recognize(){return St(this,null,function*(){let i=aF(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:n}=yield this.match(i),r=new Rr(n,e),o=new Vm("",r),a=yF(n,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),{state:o,tree:a}})}match(i){return St(this,null,function*(){let e=new Vu([],Object.freeze({}),Object.freeze(x({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),ut,this.rootComponentType,null,{},this.injector);try{return{children:yield this.processSegmentGroup(this.injector,this.config,i,ut,e),rootSnapshot:e}}catch(n){if(n instanceof Bm)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Is?this.noMatchError(n):n}})}processSegmentGroup(i,e,n,r,o){return St(this,null,function*(){if(n.segments.length===0&&n.hasChildren())return this.processChildren(i,e,n,o);let a=yield this.processSegment(i,e,n,n.segments,r,!0,o);return a instanceof Rr?[a]:[]})}processChildren(i,e,n,r){return St(this,null,function*(){let o=[];for(let l of Object.keys(n.children))l==="primary"?o.unshift(l):o.push(l);let a=[];for(let l of o){let c=n.children[l],u=O9(e,l),h=yield this.processSegmentGroup(i,u,c,l,r);a.push(...h)}let s=VF(a);return U9(s),s})}processSegment(i,e,n,r,o,a,s){return St(this,null,function*(){for(let l of e)try{return yield this.processSegmentAgainstRoute(l._injector??i,e,l,n,r,o,a,s)}catch(c){if(c instanceof Is||OF(c))continue;throw c}if(V9(n,r,o))return new CE;throw new Is(n)})}processSegmentAgainstRoute(i,e,n,r,o,a,s,l){return St(this,null,function*(){if(Jo(n)!==a&&(a===ut||!Ly(r,o,n)))throw new Is(r);if(n.redirectTo===void 0)return this.matchSegmentAgainstRoute(i,r,n,o,a,l);if(this.allowRedirects&&s)return this.expandSegmentAgainstRouteUsingRedirect(i,r,e,n,o,a,l);throw new Is(r)})}expandSegmentAgainstRouteUsingRedirect(i,e,n,r,o,a,s){return St(this,null,function*(){let{matched:l,parameters:c,consumedSegments:u,positionalParamSegments:h,remainingSegments:m}=LF(e,r,o);if(!l)throw new Is(e);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>B9&&(this.allowRedirects=!1));let p=this.createSnapshot(i,r,o,c,s);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let b=yield this.applyRedirects.applyRedirectCommands(u,r.redirectTo,h,FF(p),i),D=yield this.applyRedirects.lineralizeSegments(r,b);return this.processSegment(i,n,e,D.concat(m),a,!1,s)})}createSnapshot(i,e,n,r,o){let a=new Vu(n,r,Object.freeze(x({},this.urlTree.queryParams)),this.urlTree.fragment,z9(e),Jo(e),e.component??e._loadedComponent??null,e,$9(e),i),s=ME(a,o,this.paramsInheritanceStrategy);return a.params=Object.freeze(s.params),a.data=Object.freeze(s.data),a}matchSegmentAgainstRoute(i,e,n,r,o,a){return St(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let s=ce=>this.createSnapshot(i,n,ce.consumedSegments,ce.parameters,a),l=yield yy(N9(e,n,r,i,this.urlSerializer,s,this.abortSignal));if(n.path==="**"&&(e.children={}),!l?.matched)throw new Is(e);i=n._injector??i;let{routes:c}=yield this.getChildConfig(i,n,r),u=n._loadedInjector??i,{parameters:h,consumedSegments:m,remainingSegments:p}=l,b=this.createSnapshot(i,n,m,h,a),{segmentGroup:D,slicedSegments:A}=aF(e,m,p,c,o);if(A.length===0&&D.hasChildren()){let ce=yield this.processChildren(u,c,D,b);return new Rr(b,ce)}if(c.length===0&&A.length===0)return new Rr(b,[]);let k=Jo(n)===o,L=yield this.processSegment(u,c,D,A,k?ut:o,!0,b);return new Rr(b,L instanceof Rr?[L]:[])})}getChildConfig(i,e,n){return St(this,null,function*(){if(e.children)return{routes:e.children,injector:i};if(e.loadChildren){if(e._loadedRoutes!==void 0){let o=e._loadedNgModuleFactory;return o&&!e._loadedInjector&&(e._loadedInjector=o.create(i).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}
5if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(yield yy(E9(i,e,n,this.urlSerializer,this.abortSignal))){let o=yield this.configLoader.loadChildren(i,e);return e._loadedRoutes=o.routes,e._loadedInjector=o.injector,e._loadedNgModuleFactory=o.factory,o}throw I9(e)}return{routes:[],injector:i}})}};function U9(t){t.sort((i,e)=>i.value.outlet===ut?-1:e.value.outlet===ut?1:i.value.outlet.localeCompare(e.value.outlet))}function H9(t){let i=t.value.routeConfig;return i&&i.path===""}function VF(t){let i=[],e=new Set;for(let n of t){if(!H9(n)){i.push(n);continue}let r=i.find(o=>n.value.routeConfig===o.value.routeConfig);r!==void 0?(r.children.push(...n.children),e.add(r)):i.push(n)}for(let n of e){let r=VF(n.children);i.push(new Rr(n.value,r))}return i.filter(n=>!e.has(n))}function z9(t){return t.data||{}}function $9(t){return t.resolve||{}}function W9(t,i,e,n,r,o,a){return Ct(s=>St(null,null,function*(){let{state:l,tree:c}=yield j9(t,i,e,n,s.extractedUrl,r,o,a);return Y(x({},s),{targetSnapshot:l,urlAfterRedirects:c})}))}function q9(t){return Ct(i=>{let{targetSnapshot:e,guards:{canActivateChecks:n}}=i;if(!n.length)return K(i);let r=new Set(n.map(s=>s.route)),o=new Set;for(let s of r)if(!o.has(s))for(let l of jF(s))o.add(l);let a=0;return jt(o).pipe(Bi(s=>r.has(s)?G9(s,e,t):(s.data=ME(s,s.parent,t).resolve,K(void 0))),vt(()=>a++),Xg(1),Ct(s=>a===o.size?K(i):an))})}function jF(t){let i=t.children.map(e=>jF(e)).flat();return[t,...i]}function G9(t,i,e){let n=t.routeConfig,r=t._resolve;return n?.title!==void 0&&!SF(n)&&(r[Um]=n.title),Oo(()=>(t.data=ME(t,t.parent,e).resolve,Y9(r,t,i).pipe(X(o=>(t._resolvedData=o,t.data=x(x({},t.data),o),null)))))}function Y9(t,i,e){let n=cE(t);if(n.length===0)return K({});let r={};return jt(n).pipe(Ct(o=>Q9(t[o],i,e).pipe(Mr(),vt(a=>{if(a instanceof ju)throw Ry(new As,a);r[o]=a}))),Xg(1),X(()=>r),Rt(o=>OF(o)?an:xr(o)))}function Q9(t,i,e){let n=i._environmentInjector,r=Uu(t,n),o=r.resolve?r.resolve(i,e):Yn(n,()=>r(i,e));return Qc(o)}function sF(t){return lt(i=>{let e=t(i);return e?jt(e).pipe(X(()=>i)):K(i)})}var AE=(()=>{class t{buildTitle(e){let n,r=e.root;for(;r!==void 0;)n=this.getResolvedTitleForRoute(r)??n,r=r.children.find(o=>o.outlet===ut);return n}getResolvedTitleForRoute(e){return e.data[Um]}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:()=>d(BF),providedIn:"root"})}return t})(),BF=(()=>{class t extends AE{title;constructor(e){super(),this.title=e}updateTitle(e){let n=this.buildTitle(e);n!==void 0&&this.title.setTitle(n)}static \u0275fac=function(n){return new(n||t)(j(qv))};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),El=new T("",{factory:()=>({})}),Kc=new T(""),Vy=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=d(zD);loadComponent(e,n){return St(this,null,function*(){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return Promise.resolve(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let r=St(this,null,function*(){try{let o=yield dF(Yn(e,()=>n.loadComponent())),a=yield zF(HF(o));return this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=a,a}finally{this.componentLoaders.delete(n)}});return this.componentLoaders.set(n,r),r})}loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return Promise.resolve({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let r=St(this,null,function*(){try{let o=yield UF(n,this.compiler,e,this.onLoadEndListener);return n._loadedRoutes=o.routes,n._loadedInjector=o.injector,n._loadedNgModuleFactory=o.factory,o}finally{this.childrenLoaders.delete(n)}});return this.childrenLoaders.set(n,r),r}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function UF(t,i,e,n){return St(this,null,function*(){let r=yield dF(Yn(e,()=>t.loadChildren())),o=yield zF(HF(r)),a;o instanceof _v||Array.isArray(o)?a=o:a=yield i.compileModuleAsync(o),n&&n(t);let s,l,c=!1,u;return Array.isArray(a)?(l=a,c=!0):(s=a.create(e).injector,u=a,l=s.get(Kc,[],{optional:!0,self:!0}).flat()),{routes:l.map(IE),injector:s,factory:u}})}function Z9(t){return t&&typeof t=="object"&&"default"in t}function HF(t){return Z9(t)?t.default:t}function zF(t){return St(this,null,function*(){return t})}var jy=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:()=>d(K9),providedIn:"root"})}return t})(),K9=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,n){return e}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),kE=new T(""),OE=new T("");function $F(t,i,e){let n=t.get(OE),r=t.get(ve);if(!r.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,a=new Promise(c=>{o=c}),s=r.startViewTransition(()=>(o(),X9(t)));s.updateCallbackDone.catch(c=>{}),s.ready.catch(c=>{}),s.finished.catch(c=>{});let{onViewTransitionCreated:l}=n;return l&&Yn(t,()=>l({transition:s,from:i,to:e})),a}function X9(t){return new Promise(i=>{en({read:()=>setTimeout(i)},{injector:t})})}var J9=()=>{},NE=new T(""),By=(()=>{class t{currentNavigation=re(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=re(null);events=new V;
5transitionAbortWithErrorSubject=new V;configLoader=d(Vy);environmentInjector=d(Bt);destroyRef=d(yn);urlSerializer=d(Ml);rootContexts=d(Zc);location=d(Fa);inputBindingEnabled=d(zm,{optional:!0})!==null;titleStrategy=d(AE);options=d(El,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=d(jy);createViewTransition=d(kE,{optional:!0});navigationErrorHandler=d(NE,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>K(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=r=>this.events.next(new Ey(r)),n=r=>this.events.next(new Sy(r));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let n=++this.navigationId;xt(()=>{this.transitions?.next(Y(x({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:n,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(e){return this.transitions=new pt(null),this.transitions.pipe(J(n=>n!==null),lt(n=>{let r=!1,o=new AbortController,a=()=>!r&&this.currentTransition?.id===n.id;return K(n).pipe(lt(s=>{if(this.navigationId>n.id)return this.cancelNavigationTransition(n,"",Ti.SupersededByNewNavigation),an;this.currentTransition=n;let l=this.lastSuccessfulNavigation();this.currentNavigation.set({id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,targetBrowserUrl:typeof s.extras.browserUrl=="string"?this.urlSerializer.parse(s.extras.browserUrl):s.extras.browserUrl,trigger:s.source,extras:s.extras,previousNavigation:l?Y(x({},l),{previousNavigation:null}):null,abort:()=>o.abort(),routesRecognizeHandler:s.routesRecognizeHandler,beforeActivateHandler:s.beforeActivateHandler});let c=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=s.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!c&&u!=="reload")return this.events.next(new Ha(s.id,this.urlSerializer.serialize(s.rawUrl),"",Ru.IgnoredSameUrlNavigation)),s.resolve(!1),an;if(this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return K(s).pipe(lt(h=>(this.events.next(new Fr(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),h.id!==this.navigationId?an:Promise.resolve(h))),W9(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,o.signal),vt(h=>{n.targetSnapshot=h.targetSnapshot,n.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation.update(m=>(m.finalUrl=h.urlAfterRedirects,m)),this.events.next(new Fm)}),lt(h=>jt(n.routesRecognizeHandler.deferredHandle??K(void 0)).pipe(X(()=>h))),vt(()=>{let h=new Dl(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(h)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(s.currentRawUrl)){let{id:h,extractedUrl:m,source:p,restoredState:b,extras:D}=s,A=new Fr(h,this.urlSerializer.serialize(m),p,b);this.events.next(A);let k=MF(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=n=Y(x({},s),{targetSnapshot:k,urlAfterRedirects:m,extras:Y(x({},D),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(L=>(L.finalUrl=m,L)),K(n)}else return this.events.next(new Ha(s.id,this.urlSerializer.serialize(s.extractedUrl),"",Ru.IgnoredByUrlHandlingStrategy)),s.resolve(!1),an}),X(s=>{let l=new wy(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);return this.events.next(l),this.currentTransition=n=Y(x({},s),{guards:s9(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),n}),v9(s=>this.events.next(s)),lt(s=>{if(n.guardsResult=s.guardsResult,s.guardsResult&&typeof s.guardsResult!="boolean")throw Ry(this.urlSerializer,s.guardsResult);let l=new xy(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);if(this.events.next(l),!a())return an;if(!s.guardsResult)return this.cancelNavigationTransition(s,"",Ti.GuardRejected),an;if(s.guards.canActivateChecks.length===0)return K(s);let c=new Dy(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);if(this.events.next(c),!a())return an;let u=!1;return K(s).pipe(q9(this.paramsInheritanceStrategy),vt({next:()=>{u=!0;let h=new My(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(h)},complete:()=>
5{u||this.cancelNavigationTransition(s,"",Ti.NoDataFromResolver)}}))}),sF(s=>{let l=u=>{let h=[];if(u.routeConfig?._loadedComponent)u.component=u.routeConfig?._loadedComponent;else if(u.routeConfig?.loadComponent){let m=u._environmentInjector;h.push(this.configLoader.loadComponent(m,u.routeConfig).then(p=>{u.component=p}))}for(let m of u.children)h.push(...l(m));return h},c=l(s.targetSnapshot.root);return c.length===0?K(s):jt(Promise.all(c).then(()=>s))}),sF(()=>this.afterPreactivation()),lt(()=>{let{currentSnapshot:s,targetSnapshot:l}=n,c=this.createViewTransition?.(this.environmentInjector,s.root,l.root);return c?jt(c).pipe(X(()=>n)):K(n)}),Fe(1),lt(s=>{let l=i9(e.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);this.currentTransition=n=s=Y(x({},s),{targetRouterState:l}),this.currentNavigation.update(u=>(u.targetRouterState=l,u)),this.events.next(new Fu);let c=n.beforeActivateHandler.deferredHandle;return c?jt(c.then(()=>s)):K(s)}),vt(s=>{new vE(e.routeReuseStrategy,n.targetRouterState,n.currentRouterState,l=>this.events.next(l),this.inputBindingEnabled).activate(this.rootContexts),a()&&(r=!0,this.currentNavigation.update(l=>(l.abort=J9,l)),this.lastSuccessfulNavigation.set(xt(this.currentNavigation)),this.events.next(new En(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects))),this.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0))}),Ee(NF(o.signal).pipe(J(()=>!r&&!n.targetRouterState),vt(()=>{this.cancelNavigationTransition(n,o.signal.reason+"",Ti.Aborted)}))),vt({complete:()=>{r=!0}}),Ee(this.transitionAbortWithErrorSubject.pipe(vt(s=>{throw s}))),ms(()=>{o.abort(),r||this.cancelNavigationTransition(n,"",Ti.SupersededByNewNavigation),this.currentTransition?.id===n.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),Rt(s=>{if(r=!0,this.destroyed)return n.resolve(!1),an;if(kF(s))this.events.next(new or(n.id,this.urlSerializer.serialize(n.extractedUrl),s.message,s.cancellationCode)),a9(s)?this.events.next(new Lu(s.url,s.navigationBehaviorOptions)):n.resolve(!1);else{let l=new za(n.id,this.urlSerializer.serialize(n.extractedUrl),s,n.targetSnapshot??void 0);try{let c=Yn(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(c instanceof ju){let{message:u,cancellationCode:h}=Ry(this.urlSerializer,c);this.events.next(new or(n.id,this.urlSerializer.serialize(n.extractedUrl),u,h)),this.events.next(new Lu(c.redirectTo,c.navigationBehaviorOptions))}else throw this.events.next(l),s}catch(c){this.options.resolveNavigationPromiseOnError?n.resolve(!1):n.reject(c)}}return an}))}))}cancelNavigationTransition(e,n,r){let o=new or(e.id,this.urlSerializer.serialize(e.extractedUrl),n,r);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),n=xt(this.currentNavigation),r=n?.targetBrowserUrl??n?.extractedUrl;return e.toString()!==r?.toString()&&!n?.extras.skipLocationChange}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function e7(t){return t!==Ou}var WF=new T("");var qF=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:()=>d(t7),providedIn:"root"})}return t})(),Fy=class{shouldDetach(i){return!1}store(i,e){}shouldAttach(i){return!1}retrieve(i){return null}shouldReuseRoute(i,e){return i.routeConfig===e.routeConfig}shouldDestroyInjector(i){return!0}},t7=(()=>{class t extends Fy{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Dt(t)))(r||t)}})();static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Uy=(()=>{class t{urlSerializer=d(Ml);options=d(El,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=d(Fa);urlHandlingStrategy=d(jy);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new qi;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:n,targetBrowserUrl:r}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,n):n,a=r??o;return a instanceof qi?this.urlSerializer.serialize(a):a}commitTransition({targetRouterState:e,finalUrl:n,initialUrl:r}){n&&e?(this.currentUrlTree=n,this.rawUrlTree=this.urlHandlingStrategy.merge(n,r),this.routerState=e):this.rawUrlTree=r}routerState=MF(null,d(Bt));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:()=>d(n7),providedIn:"root"})}return t})(),n7=(()=>{class t extends Uy{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(n=>{n.type==="popstate"&&setTimeout(()=>{e(n.url,n.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(e,n){e instanceof Fr?this.updateStateMemento():e instanceof Ha?this.commitTransition(n):e instanceof Dl?this.urlUpdateStrategy==="eager"&&(n.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof Fu?(this.commitTransition(n),this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof or&&!DF(e)?this.restoreHistory(n):e instanceof za?this.restoreHistory(n,!0):e instanceof En&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:n,id:r}){let{replaceUrl:o,state:a}=n;
vendor: 5,443 bytes, line 5
5if(this.location.isCurrentPathEqualTo(e)||o){let s=this.browserPageId,l=x(x({},a),this.generateNgRouterState(r,s));this.location.replaceState(e,"",l)}else{let s=x(x({},a),this.generateNgRouterState(r,this.browserPageId+1));this.location.go(e,"",s)}}restoreHistory(e,n=!1){if(this.canceledNavigationResolution==="computed"){let r=this.browserPageId,o=this.currentPageId-r;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,n){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:n}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Dt(t)))(r||t)}})();static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Hy(t,i){t.events.pipe(J(e=>e instanceof En||e instanceof or||e instanceof za||e instanceof Ha),X(e=>e instanceof En||e instanceof Ha?0:(e instanceof or?e.code===Ti.Redirect||e.code===Ti.SupersededByNewNavigation:!1)?2:1),J(e=>e!==2),Fe(1)).subscribe(()=>{i()})}var At=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=d(vv);stateManager=d(Uy);options=d(El,{optional:!0})||{};pendingTasks=d(Aa);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=d(By);urlSerializer=d(Ml);location=d(Fa);urlHandlingStrategy=d(jy);injector=d(Bt);_events=new V;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=d(qF);injectorCleanup=d(WF,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=d(Kc,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!d(zm,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new Re;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(n=>{try{let r=this.navigationTransitions.currentTransition,o=xt(this.navigationTransitions.currentNavigation);if(r!==null&&o!==null){if(this.stateManager.handleRouterEvent(n,o),n instanceof or&&n.code!==Ti.Redirect&&n.code!==Ti.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof En)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(n instanceof Lu){let a=n.navigationBehaviorOptions,s=this.urlHandlingStrategy.merge(n.url,r.currentRawUrl),l=x({scroll:r.extras.scroll,browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||this.urlUpdateStrategy==="eager"||e7(r.source)},a);this.scheduleNavigation(s,Ou,null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise})}}t9(n)&&this._events.next(n)}catch(r){this.navigationTransitions.transitionAbortWithErrorSubject.next(r)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ou,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,n,r,o)=>{this.navigateToSyncWithBrowser(e,r,n,o)})}navigateToSyncWithBrowser(e,n,r,o){let a=r?.navigationId?r:null;if(r){let l=x({},r);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(o.state=l)}let s=this.parseUrl(e);this.scheduleNavigation(s,n,a,o).catch(l=>{this.disposed||this.injector.get(Xi)(l)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return xt(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(IE),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,n={}){let{relativeTo:r,queryParams:o,fragment:a,queryParamsHandling:s,preserveFragment:l}=n,c=l?this.currentUrlTree.fragment:a,u=null;switch(s??this.options.defaultQueryParamsHandling){case"merge":u=x(x({},this.currentUrlTree.queryParams),o);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}u!==null&&(u=this.removeEmptyProps(u));let h;try{let m=r?r.snapshot:this.routerState.snapshot.root;h=bF(m)}
5catch(m){(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),h=this.currentUrlTree.root}return CF(h,e,u,c??null,this.urlSerializer)}navigateByUrl(e,n={skipLocationChange:!1}){let r=xl(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,Ou,null,n)}navigate(e,n={skipLocationChange:!1}){return i7(e),this.navigateByUrl(this.createUrlTree(e,n),n)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch(n){return this.console.warn(Qr(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,n){let r;if(n===!0?r=x({},xE):n===!1?r=x({},Rm):r=x(x({},Rm),n),xl(e))return dE(this.currentUrlTree,e,r);let o=this.parseUrl(e);return dE(this.currentUrlTree,o,r)}removeEmptyProps(e){return Object.entries(e).reduce((n,[r,o])=>(o!=null&&(n[r]=o),n),{})}scheduleNavigation(e,n,r,o,a){if(this.disposed)return Promise.resolve(!1);let s,l,c;a?(s=a.resolve,l=a.reject,c=a.promise):c=new Promise((h,m)=>{s=h,l=m});let u=this.pendingTasks.add();return Hy(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:s,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(Promise.reject.bind(Promise))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function i7(t){for(let i=0;i<t.length;i++)if(t[i]==null)throw new $(4008,!1)}var r7=(()=>{class t{router=d(At);stateManager=d(Uy);fragment=re("");queryParams=re({});path=re("");serializer=d(Ml);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof En&&this.updateState()})}updateState(){let{fragment:e,root:n,queryParams:r}=this.stateManager.getCurrentUrlTree();this.fragment.set(e),this.queryParams.set(r),this.path.set(this.serializer.serialize(new qi(n)))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),rn=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=d(new Yo("href"),{optional:!0});reactiveHref=$e(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return xt(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}set target(e){this._target.set(e)}get target(){return xt(this._target)}_target=re(void 0);set queryParams(e){this._queryParams.set(e)}get queryParams(){return xt(this._queryParams)}_queryParams=re(void 0,{equal:()=>!1});set fragment(e){this._fragment.set(e)}get fragment(){return xt(this._fragment)}_fragment=re(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e)}get queryParamsHandling(){return xt(this._queryParamsHandling)}_queryParamsHandling=re(void 0);set state(e){this._state.set(e)}get state(){return xt(this._state)}_state=re(void 0,{equal:()=>!1});set info(e){this._info.set(e)}get info(){return xt(this._info)}_info=re(void 0,{equal:()=>!1});set relativeTo(e){this._relativeTo.set(e)}get relativeTo(){return xt(this._relativeTo)}_relativeTo=re(void 0);set preserveFragment(e){this._preserveFragment.set(e)}get preserveFragment(){return xt(this._preserveFragment)}_preserveFragment=re(!1);set skipLocationChange(e){this._skipLocationChange.set(e)}get skipLocationChange(){return xt(this._skipLocationChange)}_skipLocationChange=re(!1);set replaceUrl(e){this._replaceUrl.set(e)}get replaceUrl(){return xt(this._replaceUrl)}_replaceUrl=re(!1);isAnchorElement;onChanges=new V;applicationErrorHandler=d(Xi);options=d(El,{optional:!0});reactiveRouterState=d(r7);constructor(e,n,r,o,a,s){this.router=e,this.route=n,this.tabIndexAttribute=r,this.renderer=o,this.el=a,this.locationStrategy=s;let l=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area"||!!(typeof customElements=="object"&&customElements.get(l)?.observedAttributes?.includes?.("href"))}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.onChanges.next(this)}routerLinkInput=re(null);set routerLink(e){e==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(xl(e)?this.routerLinkInput.set(e):this.routerLinkInput.set(Array.isArray(e)?e:[e]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,n,r,o,a){let s=this._urlTree();if(s===null||this.isAnchorElement&&(e!==0||n||r||o||a||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(s,l)?.catch(c=>{this.applicationErrorHandler(c)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(e,n){let r=this.renderer,o=this.el.nativeElement;n!==null?r.setAttribute(o,e,n):r.removeAttribute(o,e)}_urlTree=Z(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let e=r=>r==="preserve"||r==="merge";(e(this._queryParamsHandling())||e(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();let n=this.routerLinkInput();return n===null||!this.router.createUrlTree?null:xl(n)?n:this.router.createUrlTree(n,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(e,n)=>this.computeHref(e)===this.computeHref(n)});get urlTree(){return xt(this._urlTree)}computeHref(e){return e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null}static \u0275fac=function(n){return new(n||t)(Ve(At),Ve(so),Kf("tabindex"),Ve(Ge),Ve(Q),Ve(io))};static \u0275dir=W({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(n,r){n&1&&P("click",function(a){return r.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),n&2&&N("href",r.reactiveHref(),sD)("target",r._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",ue],skipLocationChange:[2,"skipLocationChange","skipLocationChange",ue],replaceUrl:[2,"replaceUrl","replaceUrl",ue],routerLink:"routerLink"},features:[Ze]})}return t})(),ea=(()=>{class t{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new z;link=d(rn,{optional:!0});constructor(e,n,r,o){this.router=e,this.element=n,this.renderer=r,this.cdr=o,this.routerEventsSubscription=e.events.subscribe(a=>{a instanceof En&&this.update()})}ngAfterContentInit(){K(this.links.changes,K(null)).pipe(ba()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(n=>!!n).map(n=>n.onChanges);
5this.linkInputChangesSubscription=jt(e).pipe(ba()).subscribe(n=>{this._isActive!==this.isLinkActive(this.router)(n)&&this.update()})}set routerLinkActive(e){let n=Array.isArray(e)?e:e.split(" ");this.classes=n.filter(r=>!!r)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(n=>{e?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let n=o7(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact??!1?x({},xE):x({},Rm);return r=>{let o=r.urlTree;return o?xt(DE(o,e,n)):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(n){return new(n||t)(Ve(At),Ve(Q),Ve(Ge),Ve(Pe))};static \u0275dir=W({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(n,r,o){if(n&1&&Nn(o,rn,5),n&2){let a;we(a=xe())&&(r.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Ze]})}return t})();function o7(t){let i=t;return!!(i.paths||i.matrixParams||i.queryParams||i.fragment)}var Wm=class{};var GF=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,n,r,o){this.router=e,this.injector=n,this.preloadingStrategy=r,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(J(e=>e instanceof En),Bi(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(e,n){let r=[];for(let o of n){o.providers&&!o._injector&&(o._injector=bu(o.providers,e,""));let a=o._injector??e;o._loadedNgModuleFactory&&!o._loadedInjector&&(o._loadedInjector=o._loadedNgModuleFactory.create(a).injector);let s=o._loadedInjector??a;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&r.push(this.preloadConfig(a,o)),(o.children||o._loadedRoutes)&&r.push(this.processRoutes(s,o.children??o._loadedRoutes))}return jt(r).pipe(ba())}preloadConfig(e,n){return this.preloadingStrategy.preload(n,()=>{if(e.destroyed)return K(null);let r;n.loadChildren&&n.canLoad===void 0?r=jt(this.loader.loadChildren(e,n)):r=K(null);let o=r.pipe(Ct(a=>a===null?K(void 0):(n._loadedRoutes=a.routes,n._loadedInjector=a.injector,n._loadedNgModuleFactory=a.factory,this.processRoutes(a.injector??e,a.routes))));if(n.loadComponent&&!n._loadedComponent){let a=this.loader.loadComponent(e,n);return jt([o,a]).pipe(ba())}else return o})}static \u0275fac=function(n){return new(n||t)(j(At),j(Bt),j(Wm),j(Vy))};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),YF=new T(""),a7=(()=>{class t{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=Ou;restoredId=0;store={};urlSerializer=d(Ml);zone=d(ne);viewportScroller=d(dM);transitions=d(By);constructor(e){this.options=e,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Fr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof En?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof Ha&&e.code===Ru.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof Pu)||e.scrollBehavior==="manual")return;let n={behavior:"instant"};e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],n):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position,n):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(e,n){let r=xt(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(()=>St(this,null,function*(){yield new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<"u"&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new Pu(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,n,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(n){Oc()};static \u0275prov=M({token:t,factory:t.\u0275fac})}return t})();function PE(t,...i){return ri([{provide:Kc,multi:!0,useValue:t},[],{provide:so,useFactory:QF},{provide:Fc,multi:!0,useFactory:ZF},i.map(e=>e.\u0275providers)])}function QF(){return d(At).routerState.root}function Hu(t,i){return{\u0275kind:t,\u0275providers:i}}function ZF(){let t=d(he);return i=>{let e=t.get($i);if(i!==e.components[0])return;let n=t.get(At),r=t.get(KF);t.get(FE)===1&&n.initialNavigation(),t.get(eL,null,{optional:!0})?.setUpPreloading(),t.get(YF,null,{optional:!0})?.init(),n.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var KF=new T("",{factory:()=>new V}),FE=new T("",{factory:()=>1});function XF(){let t=[{provide:rv,useValue:!0},{provide:FE,useValue:0},gl(()=>{let i=d(he);return i.get(KD,Promise.resolve()).then(()=>new Promise(n=>{let r=i.get(At),o=i.get(KF);Hy(r,()=>{n(!0)}),i.get(By).afterPreactivation=()=>(n(!0),o.closed?K(void 0):o),r.initialNavigation()}))})];return Hu(2,t)}function JF(){let t=[gl(()=>{d(At).setUpLocationChangeListener()}),{provide:FE,useValue:2}];return Hu(3,t)}var eL=new T("");function tL(t){return Hu(0,[{provide:eL,useExisting:GF},{provide:Wm,useExisting:t}])}function LE(){return Hu(6,[{provide:io,useClass:Pv}])}function nL(){return Hu(8,[SE,{provide:zm,useExisting:SE}])}function iL(t){er("NgRouterViewTransitions");let i=[{provide:kE,useValue:$F},{provide:OE,useValue:x({skipNextTransition:!!t?.skipInitialTransition},t)}];return Hu(9,i)}var rL=[Fa,{provide:Ml,useClass:As},At,Zc,{provide:so,useFactory:QF},Vy,[]],jn=(()=>{class t{constructor(){}static forRoot(e,n){return{ngModule:t,providers:[rL,[],{provide:Kc,multi:!0,useValue:e},[],n?.errorHandler?{provide:NE,useValue:n.errorHandler}:[],{provide:El,useValue:n||{}},n?.useHash?l7():c7(),s7(),n?.preloadingStrategy?tL(n.preloadingStrategy).\u0275providers:[],n?.initialNavigation?d7(n):[],n?.bindToComponentInputs?nL().\u0275providers:[],n?.enableViewTransitions?iL().\u0275providers:[],u7()]}}static forChild(e){return{ngModule:t,providers:[{provide:Kc,multi:!0,useValue:e}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({})}return t})();function s7(){return{provide:YF,useFactory:()=>{let t=d(dM),i=d(El);return i.scrollOffset&&t.setOffset(i.scrollOffset),new a7(i)}}}function l7(){return{provide:io,useClass:Pv}}function c7(){return{provide:io,useClass:Nv}}function d7(t){return[t.initialNavigation==="disabled"?JF().\u0275providers:[],t.initialNavigation==="enabledBlocking"?XF().\u0275providers:[]]}var RE=new T("");function u7(){return[{provide:RE,useFactory:ZF},{provide:Fc,multi:!0,useExisting:RE}]}function ks(t){t||(t=d(yn));let i=new De(e=>{if(t.destroyed){e.next();return}return t.onDestroy(e.next.bind(e))});return e=>e.pipe(Ee(i))}function Sl(t,i){let n=!i?.manualCleanup?i?.injector?.get(yn)??d(yn):null,r=h7(i?.equal),o;i?.requireSync?o=re({kind:0},{equal:r}):o=re({kind:1,value:i?.initialValue},{equal:r});let a,s=t.subscribe({next:l=>o.set({kind:1,value:l}),error:l=>{o.set({kind:2,error:l}),a?.()},complete:()=>{a?.()}});if(i?.requireSync&&o().kind===0)throw new $(601,!1);return a=n?.onDestroy(s.unsubscribe.bind(s)),Z(()=>{let l=o();switch(l.kind){case 1:return l.value;case 2:throw l.error;case 0:throw new $(601,!1)}},{equal:i?.equal})}function h7(t=Object.is){return(i,e)=>i.kind===1&&e.kind===1&&t(i.value,e.value)}var UE={};function ar(t,i){if(UE[t]=(UE[t]||0)+1,typeof i=="function")return VE(t,(...n)=>Y(x({},i(...n)),{type:t}));switch(i?i._as:"empty"){case"empty":return VE(t,()=>({type:t}));case"props":return VE(t,n=>Y(x({},n),{type:t}));default:throw new Error("Unexpected config.")}}function co(){return{_as:"props",_p:void 0}}function VE(t,i){return Object.defineProperty(i,"type",{value:t,writable:!1})}function f7(t,i){if(t==null)throw new Error(`${i} must be defined.`)}var qm="@ngrx/store/init",gi=(()=>{class t extends pt{constructor(){super({type:qm})}next(e){if(typeof e=="function")throw new TypeError(` 6 Dispatch expected an object, instead it received a function. 7 If you're using the createAction function, make sure to invoke the function 8 before dispatching the action. For example, someAction should be someAction().`);if(typeof e>"u")throw new TypeError("Actions must be objects");if(typeof e.type>"u")throw new TypeError("Actions must have a type property");super.next(e)}complete(){}ngOnDestroy(){super.complete()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac})}}return t})(),m7=[gi],qE=new T("@ngrx/store Internal Root Guard"),oL=new T("@ngrx/store Internal Initial State"),Os=new T("@ngrx/store Initial State"),bL=new T("@ngrx/store Reducer Factory"),aL=new T("@ngrx/store Internal Reducer Factory Provider"),CL=new T("@ngrx/store Initial Reducers"),jE=new T("@ngrx/store Internal Initial Reducers"),sL=new T("@ngrx/store Store Features"),lL=new T("@ngrx/store Internal Store Reducers"),BE=new T("@ngrx/store Internal Feature Reducers"),cL=new T("@ngrx/store Internal Feature Configs"),GE=new T("@ngrx/store Internal Store Features"),dL=new T("@ngrx/store Internal Feature Reducers Token"),YE=new T("@ngrx/store Feature Reducers"),uL=new T("@ngrx/store User Provided Meta Reducers"),zy=new T("@ngrx/store Meta Reducers"),hL=new T("@ngrx/store Internal Resolved Meta Reducers"),fL=new T("@ngrx/store User Runtime Checks Config"),mL=new T("@ngrx/store Internal User Runtime Checks Config"),Xc=new T("@ngrx/store Internal Runtime Checks"),Gm=new T("@ngrx/store Check if Action types are unique"),$y=new T("@ngrx/store Root Store Provider"),HE=new T("@ngrx/store Feature State Provider");function QE(t,i={}){let e=Object.keys(t),n={};for(let o=0;o<e.length;o++){let a=e[o];typeof t[a]=="function"&&(n[a]=t[a])}let r=Object.keys(n);return function(a,s){a=a===void 0?i:a;let l=!1,c={};for(let u=0;u<r.length;u++){let h=r[u],m=n[h],p=a[h],b=m(p,s);c[h]=b,l=l||b!==p}return l?c:a}}function p7(t,i){return Object.keys(t).filter(e=>e!==i).reduce((e,n)=>Object.assign(e,{[n]:t[n]}),{})}function wL(...t){return function(i){if(t.length===0)return i;let e=t[t.length-1];return t.slice(0,-1).reduceRight((r,o)=>o(r),e(i))}}function xL(t,i){return Array.isArray(i)&&i.length>0&&(t=wL.apply(null,[...i,t])),(e,n)=>{let r=t(e);return(o,a)=>(o=o===void 0?n:o,r(o,a))}}function g7(t){let i=Array.isArray(t)&&t.length>0?wL(...t):e=>e;return(e,n)=>(e=i(e),(r,o)=>(r=r===void 0?n:r,e(r,o)))}var Tl=class extends De{},zu=class extends gi{},Wy="@ngrx/store/update-reducers",$a=(()=>{class t extends pt{get currentReducers(){return this.reducers}constructor(e,n,r,o){super(o(r,n)),this.dispatcher=e,this.initialState=n,this.reducers=r,this.reducerFactory=o}
8addFeature(e){this.addFeatures([e])}addFeatures(e){let n=e.reduce((r,{reducers:o,reducerFactory:a,metaReducers:s,initialState:l,key:c})=>{let u=typeof o=="function"?g7(s)(o,l):xL(a,s)(o,l);return r[c]=u,r},{});this.addReducers(n)}removeFeature(e){this.removeFeatures([e])}removeFeatures(e){this.removeReducers(e.map(n=>n.key))}addReducer(e,n){this.addReducers({[e]:n})}addReducers(e){this.reducers=x(x({},this.reducers),e),this.updateReducers(Object.keys(e))}removeReducer(e){this.removeReducers([e])}removeReducers(e){e.forEach(n=>{this.reducers=p7(this.reducers,n)}),this.updateReducers(e)}updateReducers(e){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:Wy,features:e})}ngOnDestroy(){this.complete()}static{this.\u0275fac=function(n){return new(n||t)(j(zu),j(Os),j(CL),j(bL))}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac})}}return t})(),_7=[$a,{provide:Tl,useExisting:$a},{provide:zu,useExisting:gi}],Al=(()=>{class t extends V{ngOnDestroy(){this.complete()}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Dt(t)))(r||t)}})()}static{this.\u0275prov=M({token:t,factory:t.\u0275fac})}}return t})(),v7=[Al],Il=class extends De{},pL=(()=>{class t extends pt{static{this.INIT=qm}constructor(e,n,r,o){super(o);let s=e.pipe(us(hf)).pipe(xa(n)),l={state:o},c=s.pipe(vf(y7,l));this.stateSubscription=c.subscribe(({state:u,action:h})=>{this.next(u),r.next(h)}),this.state=Sl(this,{manualCleanup:!0,requireSync:!0})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}static{this.\u0275fac=function(n){return new(n||t)(j(gi),j(Tl),j(Al),j(Os))}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac})}}return t})();function y7(t={state:void 0},[i,e]){let{state:n}=t;return{state:e(n,i),action:i}}var b7=[pL,{provide:Il,useExisting:pL}],ht=(()=>{class t extends De{constructor(e,n,r,o){super(),this.actionsObserver=n,this.reducerManager=r,this.injector=o,this.source=e,this.state=e.state}select(e,...n){return cn.call(null,e,...n)(this)}selectSignal(e,n){return Z(()=>e(this.state()),n)}lift(e){let n=new t(this,this.actionsObserver,this.reducerManager);return n.operator=e,n}dispatch(e,n){if(typeof e=="function")return this.processDispatchFn(e,n);this.actionsObserver.next(e)}next(e){this.actionsObserver.next(e)}error(e){this.actionsObserver.error(e)}complete(){this.actionsObserver.complete()}addReducer(e,n){this.reducerManager.addReducer(e,n)}removeReducer(e){this.reducerManager.removeReducer(e)}processDispatchFn(e,n){f7(this.injector,"Store Injector");let r=n?.injector??w7()??this.injector;return Zn(()=>{let o=e();xt(()=>this.dispatch(o))},{injector:r})}static{this.\u0275fac=function(n){return new(n||t)(j(Il),j(gi),j($a),j(he))}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac})}}return t})(),C7=[ht];function cn(t,i,...e){return function(r){let o;if(typeof t=="string"){let a=[i,...e].filter(Boolean);o=r.pipe(ZC(t,...a))}else if(typeof t=="function")o=r.pipe(X(a=>t(a,i)));else throw new TypeError(`Unexpected type '${typeof t}' in select operator, expected 'string' or 'function'`);return o.pipe(Dr())}}function w7(){try{return d(he)}catch(t){return}}var ZE="https://ngrx.io/guide/store/configuration/runtime-checks";function gL(t){return t===void 0}function _L(t){return t===null}function DL(t){return Array.isArray(t)}function x7(t){return typeof t=="string"}function D7(t){return typeof t=="boolean"}function M7(t){return typeof t=="number"}function ML(t){return typeof t=="object"&&t!==null}function E7(t){return ML(t)&&!DL(t)}function S7(t){if(!E7(t))return!1;let i=Object.getPrototypeOf(t);return i===Object.prototype||i===null}function zE(t){return typeof t=="function"}function T7(t){return zE(t)&&t.hasOwnProperty("\u0275cmp")}function I7(t,i){return Object.prototype.hasOwnProperty.call(t,i)}var EL=!1;function SL(t){EL=t}function KE(){return EL}function vL(t,i){return t===i}function A7(t,i,e){for(let n=0;n<t.length;n++)if(!e(t[n],i[n]))return!0;return!1}function TL(t,i=vL,e=vL){let n=null,r=null,o;function a(){n=null,r=null}function s(u=void 0){o={result:u}}function l(){o=void 0}function c(){if(o!==void 0)return o.result;if(!n)return r=t.apply(null,arguments),n=arguments,r;if(!A7(arguments,n,i))return r;let u=t.apply(null,arguments);return n=arguments,e(r,u)?r:(r=u,u)}return{memoized:c,reset:a,setResult:s,clearResult:l}}function uo(...t){return O7(TL)(...t)}function k7(t,i,e,n){if(e===void 0){let o=i.map(a=>a(t));return n.memoized.apply(null,o)}let r=i.map(o=>o(t,e));return n.memoized.apply(null,[...r,e])}function O7(t,i={stateFn:k7}){return function(...e){let n=e;if(Array.isArray(n[0])){let[u,...h]=n;n=[...u,...h]}else n.length===1&&N7(n[0])&&(n=R7(n[0]));let r=n.slice(0,n.length-1),o=n[n.length-1],a=r.filter(u=>u.release&&typeof u.release=="function"),s=t(function(...u){return o.apply(null,u)}),l=TL(function(u,h){return i.stateFn.apply(null,[u,r,h,s])});function c(){l.reset(),s.reset(),a.forEach(u=>
8u.release())}return Object.assign(l.memoized,{release:c,projector:s.memoized,setResult:l.setResult,clearResult:l.clearResult})}}function XE(t){return uo(i=>{let e=i[t];return!KE()&&hm()&&!(t in i)&&console.warn(`@ngrx/store: The feature name "${t}" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('${t}', ...) or StoreModule.forFeature('${t}', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),e},i=>i)}function N7(t){return!!t&&typeof t=="object"&&Object.values(t).every(i=>typeof i=="function")}function R7(t){let i=Object.values(t),e=Object.keys(t),n=(...r)=>e.reduce((o,a,s)=>Y(x({},o),{[a]:r[s]}),{});return[...i,n]}function P7(t){return t instanceof T?d(t):t}function F7(t,i){return i.map((e,n)=>{if(t[n]instanceof T){let r=d(t[n]);return{key:e.key,reducerFactory:r.reducerFactory?r.reducerFactory:QE,metaReducers:r.metaReducers?r.metaReducers:[],initialState:r.initialState}}return e})}function L7(t){return t.map(i=>i instanceof T?d(i):i)}function JE(t){return typeof t=="function"?t():t}function V7(t,i){return t.concat(i)}function j7(){if(d(ht,{optional:!0,skipSelf:!0}))throw new TypeError("The root Store has been provided more than once. Feature modules should provide feature states instead.");return"guarded"}function B7(t,i){return function(e,n){let r=i.action(n)?$E(n):n,o=t(e,r);return i.state()?$E(o):o}}function $E(t){Object.freeze(t);let i=zE(t);return Object.getOwnPropertyNames(t).forEach(e=>{if(!e.startsWith("\u0275")&&I7(t,e)&&(!i||e!=="caller"&&e!=="callee"&&e!=="arguments")){let n=t[e];(ML(n)||zE(n))&&!Object.isFrozen(n)&&$E(n)}}),t}function U7(t,i){return function(e,n){if(i.action(n)){let o=WE(n);yL(o,"action")}let r=t(e,n);if(i.state()){let o=WE(r);yL(o,"state")}return r}}function WE(t,i=[]){return(gL(t)||_L(t))&&i.length===0?{path:["root"],value:t}:Object.keys(t).reduce((n,r)=>{if(n)return n;let o=t[r];return T7(o)?n:gL(o)||_L(o)||M7(o)||D7(o)||x7(o)||DL(o)?!1:S7(o)?WE(o,[...i,r]):{path:[...i,r],value:o}},!1)}function yL(t,i){if(t===!1)return;let e=t.path.join("."),n=new Error(`Detected unserializable ${i} at "${e}". ${ZE}#strict${i}serializability`);throw n.value=t.value,n.unserializablePath=e,n}function H7(t,i){return function(e,n){if(i.action(n)&&!ne.isInAngularZone())throw new Error(`Action '${n.type}' running outside NgZone. ${ZE}#strictactionwithinngzone`);return t(e,n)}}function z7(t){return hm()?x({strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1},t):{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function $7({strictActionSerializability:t,strictStateSerializability:i}){return e=>t||i?U7(e,{action:n=>
8t&&!eS(n),state:()=>i}):e}function W7({strictActionImmutability:t,strictStateImmutability:i}){return e=>t||i?B7(e,{action:n=>t&&!eS(n),state:()=>i}):e}function eS(t){return t.type.startsWith("@ngrx")}function q7({strictActionWithinNgZone:t}){return i=>t?H7(i,{action:e=>t&&!eS(e)}):i}function G7(t){return[{provide:mL,useValue:t},{provide:fL,useFactory:Y7,deps:[mL]},{provide:Xc,deps:[fL],useFactory:z7},{provide:zy,multi:!0,deps:[Xc],useFactory:W7},{provide:zy,multi:!0,deps:[Xc],useFactory:$7},{provide:zy,multi:!0,deps:[Xc],useFactory:q7}]}function IL(){return[{provide:Gm,multi:!0,deps:[Xc],useFactory:Q7}]}function Y7(t){return t}function Q7(t){if(!t.strictActionTypeUniqueness)return;let i=Object.entries(UE).filter(([,e])=>e>1).map(([e])=>e);if(i.length)throw new Error(`Action types are registered more than once, ${i.map(e=>`"${e}"`).join(", ")}. ${ZE}#strictactiontypeuniqueness`)}function Z7(t={},i={}){return[{provide:qE,useFactory:j7},{provide:oL,useValue:i.initialState},{provide:Os,useFactory:JE,deps:[oL]},{provide:jE,useValue:t},{provide:lL,useExisting:t instanceof T?t:jE},{provide:CL,deps:[jE,[new _u(lL)]],useFactory:P7},{provide:uL,useValue:i.metaReducers?i.metaReducers:[]},{provide:hL,deps:[zy,uL],useFactory:V7},{provide:aL,useValue:i.reducerFactory?i.reducerFactory:QE},{provide:bL,deps:[aL,hL],useFactory:xL},m7,_7,v7,b7,C7,G7(i.runtimeChecks),IL()]}function K7(){d(gi),d(Tl),d(Al),d(ht),d(qE,{optional:!0}),d(Gm,{optional:!0})}var EAe=[{provide:$y,useFactory:K7},_c(()=>d($y))];function X7(){d($y);let t=d(GE),i=d(YE),e=d($a);d(Gm,{optional:!0});let n=t.map((r,o)=>{let s=i.shift()[o];return Y(x({},r),{reducers:s,initialState:JE(r.initialState)})});e.addFeatures(n)}var SAe=[{provide:HE,useFactory:X7},_c(()=>d(HE))];function J7(t,i,e={}){return[{provide:cL,multi:!0,useValue:t instanceof Object?{}:e},{provide:sL,multi:!0,useValue:{key:t instanceof Object?t.name:t,reducerFactory:!(e instanceof T)&&e.reducerFactory?e.reducerFactory:QE,metaReducers:!(e instanceof T)&&e.metaReducers?e.metaReducers:[],initialState:!(e instanceof T)&&e.initialState?e.initialState:void 0}},{provide:GE,deps:[cL,sL],useFactory:F7},{provide:BE,multi:!0,useValue:t instanceof Object?t.reducer:i},{provide:dL,multi:!0,useExisting:i instanceof T?i:BE},{provide:YE,multi:!0,deps:[BE,[new _u(dL)]],useFactory:L7},IL()]}var Ym=(()=>{class t{constructor(e,n,r,o,a,s){}static{this.\u0275fac=function(n){return new(n||t)(j(gi),j(Tl),j(Al),j(ht),j(qE,8),j(Gm,8))}}static{this.\u0275mod=G({type:t})}static{this.\u0275inj=q({})}}return t})(),qy=(()=>{class t{constructor(e,n,r,o,a){this.features=e,this.featureReducers=n,this.reducerManager=r;let s=e.map((l,c)=>{let h=n.shift()[c];return Y(x({},l),{reducers:h,initialState:JE(l.initialState)})});r.addFeatures(s)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}static{this.\u0275fac=function(n){return new(n||t)(j(GE),j(YE),j($a),j(Ym),j(Gm,8))}}static{this.\u0275mod=G({type:t})}static{this.\u0275inj=q({})}}return t})(),$u=(()=>{class t{static forRoot(e,n){return{ngModule:Ym,providers:[...Z7(e,n)]}}static forFeature(e,n,r={}){return{ngModule:qy,providers:[...J7(e,n,r)]}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=G({type:t})}static{this.\u0275inj=q({})}}return t})();function Wu(...t){let i=t.pop(),e=t.map(n=>n.type);return{reducer:i,types:e}}function AL(t,...i){let e=new Map;for(let n of i)for(let r of n.types){let o=e.get(r);if(o){let a=(s,l)=>n.reducer(o(s,l),l);e.set(r,a)}else e.set(r,n.reducer)}return function(n=t,r){let o=e.get(r.type);return o?o(n,r):n}}var eY={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},Qy="__@ngrx/effects_create__";function sr(t,i={}){let e=i.functional?t:t(),n=x(x({},eY),i);return Object.defineProperty(e,Qy,{value:n}),e}function tY(t){return Object.getOwnPropertyNames(t).filter(n=>t[n]&&t[n].hasOwnProperty(Qy)?t[n][Qy].hasOwnProperty("dispatch"):!1).map(n=>{let r=t[n][Qy];return x({propertyName:n},r)})}function nY(t){return tY(t)}function RL(t){return Object.getPrototypeOf(t)}function iY(t){return!!t.constructor&&t.constructor.name!=="Object"&&t.constructor.name!=="Function"}function PL(t){return typeof t=="function"}function kL(t){return t.filter(PL)}function rY(t){return t instanceof T||PL(t)}function oY(t,i,e){let n=RL(t),o=!!n&&n.constructor.name!=="Object"?n.c
8onstructor.name:null,a=nY(t).map(({propertyName:s,dispatch:l,useEffectsErrorHandler:c})=>{let u=typeof t[s]=="function"?t[s]():t[s],h=c?e(u,i):u;return l===!1?h.pipe(_f()):h.pipe(QC()).pipe(X(p=>({effect:t[s],notification:p,propertyName:s,sourceName:o,sourceInstance:t})))});return qt(...a)}var aY=10;function FL(t,i,e=aY){return t.pipe(Rt(n=>(i&&i.handleError(n),e<=1?t:FL(t,i,e-1))))}var LL=(()=>{class t extends De{constructor(e){super(),e&&(this.source=e)}lift(e){let n=new t;return n.source=this,n.operator=e,n}static{this.\u0275fac=function(n){return new(n||t)(j(Al))}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function lr(...t){return J(i=>t.some(e=>typeof e=="string"?e===i.type:e.type===i.type))}var VL=new T("@ngrx/effects Internal Root Guard"),Yy=new T("@ngrx/effects User Provided Effects"),tS=new T("@ngrx/effects Internal Root Effects"),jL=new T("@ngrx/effects Internal Root Effects Instances"),OL=new T("@ngrx/effects Internal Feature Effects"),BL=new T("@ngrx/effects Internal Feature Effects Instance Groups"),sY=new T("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>FL}),UL="@ngrx/effects/init",LAe=ar(UL);function lY(t,i){if(t.notification.kind==="N"){let e=t.notification.value;!cY(e)&&i.handleError(new Error(`Effect ${dY(t)} dispatched an invalid action: ${uY(e)}`))}}function cY(t){return typeof t!="function"&&t&&t.type&&typeof t.type=="string"}function dY({propertyName:t,sourceInstance:i,sourceName:e}){let n=typeof i[t]=="function";return!!e?`"${e}.${String(t)}${n?"()":""}"`:`"${String(t)}()"`}function uY(t){try{return JSON.stringify(t)}catch(i){return t}}var hY="ngrxOnIdentifyEffects";function fY(t){return nS(t,hY)}var mY="ngrxOnRunEffects";function pY(t){return nS(t,mY)}var gY="ngrxOnInitEffects";function _Y(t){return nS(t,gY)}function nS(t,i){return t&&i in t&&typeof t[i]=="function"}var Zy=(()=>{class t extends V{constructor(e,n){super(),this.errorHandler=e,this.effectsErrorHandler=n}addEffects(e){this.next(e)}toActions(){return this.pipe(Kg(e=>iY(e)?RL(e):e),Ct(e=>e.pipe(Kg(vY))),Ct(e=>{let n=e.pipe(uc(o=>yY(this.errorHandler,this.effectsErrorHandler)(o)),X(o=>(lY(o,this.errorHandler),o.notification)),J(o=>o.kind==="N"&&o.value!=null),YC()),r=e.pipe(Fe(1),J(_Y),X(o=>o.ngrxOnInitEffects()));return qt(n,r)}))}static{this.\u0275fac=function(n){return new(n||t)(j(Hn),j(sY))}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function vY(t){return fY(t)?t.ngrxOnIdentifyEffects():""}function yY(t,i){return e=>{let n=oY(e,t,i);return pY(e)?e.ngrxOnRunEffects(n):n}}var HL=(()=>{class t{get isStarted(){return!!this.effectsSubscription}constructor(e,n){this.effectSources=e,this.store=n,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}static{this.\u0275fac=function(n){return new(n||t)(j(Zy),j(ht))}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),zL=(()=>{class t{constructor(e,n,r,o,a,s,l){this.sources=e,n.start();for(let c of o)e.addEffects(c);r.dispatch({type:UL})}addEffects(e){this.sources.addEffects(e)}static{this.\u0275fac=function(n){return new(n||t)(j(Zy),j(HL),j(ht),j(jL),j(Ym,8),j(qy,8),j(VL,8))}}static{this.\u0275mod=G({type:t})}static{this.\u0275inj=q({})}}return t})(),bY=(()=>{class t{constructor(e,n,r,o){let a=n.flat();for(let s of a)e.addEffects(s)}static{this.\u0275fac=function(n){return new(n||t)(j(zL),j(BL),j(Ym,8),j(qy,8))}}static{this.\u0275mod=G({type:t})}static{this.\u0275inj=q({})}}return t})(),Ky=(()=>{class t{static forFeature(...e){let n=e.flat(),r=kL(n);return{ngModule:bY,providers:[r,{provide:OL,multi:!0,useValue:n},{provide:Yy,multi:!0,useValue:[]},{provide:BL,multi:!0,useFactory:NL,deps:[OL,Yy]}]}}static forRoot(...e){let n=e.flat(),r=kL(n);return{ngModule:zL,providers:[r,{provide:tS,useValue:[n]},{provide:VL,useFactory:CY},{provide:Yy,multi:!0,useValue:[]},{provide:jL,useFactory:NL,deps:[tS,Yy]}]}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=G({type:t})}static{this.\u0275inj=q({})}}return t})();function NL(t,i){let e=[];for(let n of t)e.push(...n);for(let n of i)e.push(...n);return e.map(n=>rY(n)?d(n):n)}function CY(){let t=d(HL,{optional:!0,skipSelf:!0}),i=d(tS,{self:!0});if(!(i.length===1&&i[0].length===0)&&t)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature
8() instead.");return"guarded"}var Zm="PERFORM_ACTION",wY="REFRESH",QL="RESET",ZL="ROLLBACK",KL="COMMIT",XL="SWEEP",JL="TOGGLE_ACTION",xY="SET_ACTIONS_ACTIVE",e2="JUMP_TO_STATE",t2="JUMP_TO_ACTION",pS="IMPORT_STATE",n2="LOCK_CHANGES",i2="PAUSE_RECORDING",qu=class{constructor(i,e){if(this.action=i,this.timestamp=e,this.type=Zm,typeof i.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}},iS=class{constructor(){this.type=wY}},rS=class{constructor(i){this.timestamp=i,this.type=QL}},oS=class{constructor(i){this.timestamp=i,this.type=ZL}},aS=class{constructor(i){this.timestamp=i,this.type=KL}},sS=class{constructor(){this.type=XL}},lS=class{constructor(i){this.id=i,this.type=JL}};var cS=class{constructor(i){this.index=i,this.type=e2}},dS=class{constructor(i){this.actionId=i,this.type=t2}},uS=class{constructor(i){this.nextLiftedState=i,this.type=pS}},hS=class{constructor(i){this.status=i,this.type=n2}},fS=class{constructor(i){this.status=i,this.type=i2}};var tb=new T("@ngrx/store-devtools Options"),$L=new T("@ngrx/store-devtools Initial Config");function r2(){return null}var DY="NgRx Store DevTools";function MY(t){let i={maxAge:!1,monitor:r2,actionSanitizer:void 0,stateSanitizer:void 0,name:DY,serialize:!1,logOnly:!1,autoPause:!1,trace:!1,traceLimit:75,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0},connectInZone:!1},e=typeof t=="function"?t():t,n=e.logOnly?{pause:!0,export:!0,test:!0}:!1,r=e.features||n||i.features;r.import===!0&&(r.import="custom");let o=Object.assign({},i,{features:r},e);if(o.maxAge&&o.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${o.maxAge}`);return o}function WL(t,i){return t.filter(e=>i.indexOf(e)<0)}function o2(t){let{computedStates:i,currentStateIndex:e}=t;if(e>=i.length){let{state:r}=i[i.length-1];return r}let{state:n}=i[e];return n}function Qm(t){return new qu(t,+Date.now())}function EY(t,i){return Object.keys(i).reduce((e,n)=>{let r=Number(n);return e[r]=a2(t,i[r],r),e},{})}function a2(t,i,e){return Y(x({},i),{action:t(i.action,e)})}function SY(t,i){return i.map((e,n)=>({state:s2(t,e.state,n),error:e.error}))}function s2(t,i,e){return t(i,e)}function l2(t){return t.predicate||t.actionsSafelist||t.actionsBlocklist}function TY(t,i,e,n){let r=[],o={},a=[];return t.stagedActionIds.forEach((s,l)=>{let c=t.actionsById[s];c&&(l&&gS(t.computedStates[l],c,i,e,n)||(o[s]=c,r.push(s),a.push(t.computedStates[l])))}),Y(x({},t),{stagedActionIds:r,actionsById:o,computedStates:a})}function gS(t,i,e,n,r){let o=e&&!e(t,i.action),a=n&&!i.action.type.match(n.map(l=>qL(l)).join("|")),s=r&&i.action.type.match(r.map(l=>qL(l)).join("|"));return o||a||s}function qL(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function c2(t){return{ngZone:t?d(ne):null,connectInZone:t}}var nb=(()=>{class t extends gi{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Dt(t)))(r||t)}})()}static{this.\u0275prov=M({token:t,factory:t.\u0275fac})}}return t})(),Xy={START:"START",DISPATCH:"DISPATCH",STOP:"STOP",ACTION:"ACTION"},mS=new T("@ngrx/store-devtools Redux Devtools Extension"),d2=(()=>{class t{constructor(e,n,r){this.config=n,this.dispatcher=r,this.zoneConfig=c2(this.config.connectInZone),this.devtoolsExtension=e,this.createActionStreams()}notify(e,n){if(this.devtoolsExtension)if(e.type===Zm){if(n.isLocked||n.isPaused)return;let r=o2(n);if(l2(this.config)&&gS(r,e,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;let o=this.config.stateSanitizer?s2(this.config.stateSanitizer,r,n.currentStateIndex):r,a=this.config.actionSanitizer?a2(this.config.actionSanitizer,e,n.nextActionId):e;this.sendToReduxDevtools(()=>this.extensionConnection.send(a,o))}else{let r=Y(x({},n),{stagedActionIds:n.stagedActionIds,actionsById:this.config.actionSanitizer?EY(this.config.actionSanitizer,n.actionsById):n.actionsById,computedStates:this.config.stateSanitizer?SY(this.config.stateSanitizer,n.computedStates):n.computedStates});this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,r,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new De(e=>{let n=this.zoneConfig.connectInZone?this.zoneConfig.ngZone.runOutsideAngular(()=>this.devtoolsExtension.connect(this.getExtensionConfig(this.config))):this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=n,n.init(),n.subscribe(r=>e.next(r)),n.unsubscribe}):an}
8createActionStreams(){let e=this.createChangesObservable().pipe(yf()),n=e.pipe(J(c=>c.type===Xy.START)),r=e.pipe(J(c=>c.type===Xy.STOP)),o=e.pipe(J(c=>c.type===Xy.DISPATCH),X(c=>this.unwrapAction(c.payload)),Bi(c=>c.type===pS?this.dispatcher.pipe(J(u=>u.type===Wy),pf(1e3),ii(1e3),X(()=>c),Rt(()=>K(c)),Fe(1)):K(c))),s=e.pipe(J(c=>c.type===Xy.ACTION),X(c=>this.unwrapAction(c.payload))).pipe(Ee(r)),l=o.pipe(Ee(r));this.start$=n.pipe(Ee(r)),this.actions$=this.start$.pipe(lt(()=>s)),this.liftedActions$=this.start$.pipe(lt(()=>l))}unwrapAction(e){return typeof e=="string"?(0,eval)(`(${e})`):e}getExtensionConfig(e){let n={name:e.name,features:e.features,serialize:e.serialize,autoPause:e.autoPause??!1,trace:e.trace??!1,traceLimit:e.traceLimit??75};return e.maxAge!==!1&&(n.maxAge=e.maxAge),n}sendToReduxDevtools(e){try{e()}catch(n){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",n)}}static{this.\u0275fac=function(n){return new(n||t)(j(mS),j(tb),j(nb))}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac})}}return t})(),eb={type:qm},IY="@ngrx/store-devtools/recompute",AY={type:IY};function u2(t,i,e,n,r){if(n)return{state:e,error:"Interrupted by an error up the chain"};let o=e,a;try{o=t(e,i)}catch(s){a=s.toString(),r.handleError(s)}return{state:o,error:a}}function Jy(t,i,e,n,r,o,a,s,l){if(i>=t.length&&t.length===o.length)return t;let c=t.slice(0,i),u=o.length-(l?1:0);for(let h=i;h<u;h++){let m=o[h],p=r[m].action,b=c[h-1],D=b?b.state:n,A=b?b.error:void 0,L=a.indexOf(m)>-1?b:u2(e,p,D,A,s);c.push(L)}return l&&c.push(t[t.length-1]),c}function kY(t,i){return{monitorState:i(void 0,{}),nextActionId:1,actionsById:{0:Qm(eb)},stagedActionIds:[0],skippedActionIds:[],committedState:t,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function OY(t,i,e,n,r={}){return o=>(a,s)=>{let{monitorState:l,actionsById:c,nextActionId:u,stagedActionIds:h,skippedActionIds:m,committedState:p,currentStateIndex:b,computedStates:D,isLocked:A,isPaused:k}=a||i;a||(c=Object.create(c));function L(_e){let ye=_e,ge=h.slice(1,ye+1);for(let Ae=0;Ae<ge.length;Ae++)if(D[Ae+1].error){ye=Ae,ge=h.slice(1,ye+1);break}else delete c[ge[Ae]];m=m.filter(Ae=>ge.indexOf(Ae)===-1),h=[0,...h.slice(ye+1)],p=D[ye].state,D=D.slice(ye),b=b>ye?b-ye:0}function ce(){c={0:Qm(eb)},u=1,h=[0],m=[],p=D[b].state,b=0,D=[]}let oe=0;switch(s.type){case n2:{A=s.status,oe=1/0;break}case i2:{k=s.status,k?(h=[...h,u],c[u]=new qu({type:"@ngrx/devtools/pause"},+Date.now()),u++,oe=h.length-1,D=D.concat(D[D.length-1]),b===h.length-2&&b++,oe=1/0):ce();break}case QL:{c={0:Qm(eb)},u=1,h=[0],m=[],p=t,b=0,D=[];break}case KL:{ce();break}case ZL:{c={0:Qm(eb)},u=1,h=[0],m=[],b=0,D=[];break}case JL:{let{id:_e}=s;m.indexOf(_e)===-1?m=[_e,...m]:m=m.filter(ge=>ge!==_e),oe=h.indexOf(_e);break}case xY:{let{start:_e,end:ye,active:ge}=s,Ae=[];for(let Wt=_e;Wt<ye;Wt++)Ae.push(Wt);ge?m=WL(m,Ae):m=[...m,...Ae],oe=h.indexOf(_e);break}case e2:{b=s.index,oe=1/0;break}case t2:{let _e=h.indexOf(s.actionId);_e!==-1&&(b=_e),oe=1/0;break}case XL:{h=WL(h,m),m=[],b=Math.min(b,h.length-1);break}case Zm:{if(A)return a||i;if(k||a&&gS(a.computedStates[b],s,r.predicate,r.actionsSafelist,r.actionsBlocklist)){let ye=D[D.length-1];D=[...D.slice(0,-1),u2(o,s.action,ye.state,ye.error,e)],oe=1/0;break}r.maxAge&&h.length===r.maxAge&&L(1),b===h.length-1&&b++;let _e=u++;c[_e]=s,h=[...h,_e],oe=h.length-1;break}case pS:{({monitorState:l,actionsById:c,nextActionId:u,stagedActionIds:h,skippedActionIds:m,committedState:p,currentStateIndex:b,computedStates:D,isLocked:A,isPaused:k}=s.nextLiftedState);break}case qm:{oe=0,r.maxAge&&h.length>r.maxAge&&(D=Jy(D,oe,o,p,c,h,m,e,k),L(h.length-r.maxAge),oe=1/0);break}case Wy:{if(D.filter(ye=>ye.error).length>0)oe=0,r.maxAge&&h.length>r.maxAge&&(D=Jy(D,oe,o,p,c,h,m,e,k),L(h.length-r.maxAge),oe=1/0);else{if(!k&&!A){b===h.length-1&&b++;let ye=u++;c[ye]=new qu(s,+Date.now()),h=[...h,ye],oe=h.length-1,D=Jy(D,oe,o,p,c,h,m,e,k)}D=D.map(ye=>Y(x({},ye),{state:o(ye.state,AY)})),b=h.length-1,r.maxAge&&h.length>r.maxAge&&L(h.length-r.maxAge),oe=1/0}break}default:{oe=1/0;break}}return D=Jy(D,oe,o,p,c,h,m,e,k),l=n(l,s),{monitorState:l,actionsById:c,nextActionId:u,stagedActionIds:h,skippedActionIds:m,committedState:p,currentStateIndex:b,computedStates:D,isLocked:A,isPaused:k}}}var GL=(()=>{class t{constructor(e,n,r,o,a,s,l,c){let u=kY(l,c.monitor),h=OY(l,u,s,c.monitor,c),m=qt(qt(n.asObservable().pipe(ps(1)),o.actions$).pipe(X(Qm)),e,o.liftedActions$).pipe(us(hf)),p=r.pipe(X(h)),b=c2(c.connectInZone),D=new Ao(1);this.liftedStateSubscription=m.pipe(xa(p),YL(b),vf(({state:L},[ce,oe])=>{let _e=oe(L,ce);return ce.type!==Zm&&l2(c)&&(_e=TY(_e,c.predicate,c.actionsSafelist,c.actionsBlocklist)),o.notify(ce,_e),{state:_e,action:ce}},{state:u,action:null})).subscribe(({state:L,action:ce})=>
8{if(D.next(L),ce.type===Zm){let oe=ce.action;a.next(oe)}}),this.extensionStartSubscription=o.start$.pipe(YL(b)).subscribe(()=>{this.refresh()});let A=D.asObservable(),k=A.pipe(X(o2));Object.defineProperty(k,"state",{value:Sl(k,{manualCleanup:!0,requireSync:!0})}),this.dispatcher=e,this.liftedState=A,this.state=k}ngOnDestroy(){this.liftedStateSubscription.unsubscribe(),this.extensionStartSubscription.unsubscribe()}dispatch(e){this.dispatcher.next(e)}next(e){this.dispatcher.next(e)}error(e){}complete(){}performAction(e){this.dispatch(new qu(e,+Date.now()))}refresh(){this.dispatch(new iS)}reset(){this.dispatch(new rS(+Date.now()))}rollback(){this.dispatch(new oS(+Date.now()))}commit(){this.dispatch(new aS(+Date.now()))}sweep(){this.dispatch(new sS)}toggleAction(e){this.dispatch(new lS(e))}jumpToAction(e){this.dispatch(new dS(e))}jumpToState(e){this.dispatch(new cS(e))}importState(e){this.dispatch(new uS(e))}lockChanges(e){this.dispatch(new hS(e))}pauseRecording(e){this.dispatch(new fS(e))}static{this.\u0275fac=function(n){return new(n||t)(j(nb),j(gi),j(Tl),j(d2),j(Al),j(Hn),j(Os),j(tb))}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac})}}return t})();function YL({ngZone:t,connectInZone:i}){return e=>i?new De(n=>e.subscribe({next:r=>t.run(()=>n.next(r)),error:r=>t.run(()=>n.error(r)),complete:()=>t.run(()=>n.complete())})):e}var NY=new T("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function RY(t,i){return!!t||i.monitor!==r2}function PY(){let t="__REDUX_DEVTOOLS_EXTENSION__";return typeof window=="object"&&typeof window[t]<"u"?window[t]:null}function FY(t){return t.state}function h2(t={}){return ri([d2,nb,GL,{provide:$L,useValue:t},{provide:NY,deps:[mS,tb],useFactory:RY},{provide:mS,useFactory:PY},{provide:tb,deps:[$L],useFactory:MY},{provide:Il,deps:[GL],useFactory:FY},{provide:zu,useExisting:nb}])}var g2="@ngrx/router-store/request",i1e=ar(g2,co()),_S="@ngrx/router-store/navigation",r1e=ar(_S,co()),vS="@ngrx/router-store/cancel",o1e=ar(vS,co()),yS="@ngrx/router-store/error",a1e=ar(yS,co()),_2="@ngrx/router-store/navigated",s1e=ar(_2,co());function v2(t,i){let e=i;switch(e.type){case _S:case yS:case vS:return{state:e.payload.routerState,navigationId:e.payload.event.id};default:return t}}var ib=class{serialize(i){return{root:this.serializeRoute(i.root),url:i.url}}serializeRoute(i){let e=i.children.map(n=>this.serializeRoute(n));return{params:i.params,data:i.data,url:i.url,outlet:i.outlet,title:i.title,routeConfig:i.routeConfig?{path:i.routeConfig.path,pathMatch:i.routeConfig.pathMatch,redirectTo:i.routeConfig.redirectTo,outlet:i.routeConfig.outlet,title:typeof i.routeConfig.title=="string"?i.routeConfig.title:void 0}:null,queryParams:i.queryParams,fragment:i.fragment,firstChild:e[0],children:e}}},bS=(function(t){return t[t.PreActivation=1]="PreActivation",t[t.PostActivation=2]="PostActivation",t})(bS||{}),LY="router",f2=new T("@ngrx/router-store Internal Configuration"),y2=new T("@ngrx/router-store Configuration"),CS=(function(t){return t[t.Full=0]="Full",t[t.Minimal=1]="Minimal",t})(CS||{});function VY(t){return x({stateKey:LY,serializer:ib,navigationActionTiming:bS.PreActivation},t)}var Gu=class{serialize(i){return{root:this.serializeRoute(i.root),url:i.url}}serializeRoute(i){let e=i.children.map(n=>this.serializeRoute(n));return{params:i.params,paramMap:i.paramMap,data:i.data,url:i.url,outlet:i.outlet,title:i.title,routeConfig:i.routeConfig?{component:i.routeConfig.component,path:i.routeConfig.path,pathMatch:i.routeConfig.pathMatch,redirectTo:i.routeConfig.redirectTo,outlet:i.routeConfig.outlet,title:i.routeConfig.title}:null,queryParams:i.queryParams,queryParamMap:i.queryParamMap,fragment:i.fragment,component:i.routeConfig?i.routeConfig.component:void 0,root:void 0,parent:void 0,firstChild:e[0],pathFromRoot:void 0,children:e}}},Yu=class{},Wa=(function(t){return t[t.NONE=1]="NONE",t[t.ROUTER=2]="ROUTER",t[t.STORE=3]="STORE",t})(Wa||{}),m2=(()=>{class t{constructor(e,n,r,o,a,s){this.store=e,this.router=n,this.serializer=r,this.errorHandler=o,this.config=a,this.activeRuntimeChecks=s,this.lastEvent=null,this.routerState=null,this.trigger=Wa.NONE,this.stateKey=this.config.stateKey,!KE()&&hm()&&(s?.strictActionSerializability||s?.strictStateSeri
8alizability)&&this.serializer instanceof Gu&&console.warn("@ngrx/router-store: The serializability runtime checks cannot be enabled with the FullRouterStateSerializer. The FullRouterStateSerializer has an unserializable router state and actions that are not serializable. To use the serializability runtime checks either use the MinimalRouterStateSerializer or implement a custom router state serializer."),this.setUpStoreStateListener(),this.setUpRouterEventsListener()}setUpStoreStateListener(){this.store.pipe(cn(this.stateKey),xa(this.store)).subscribe(([e,n])=>{this.navigateIfNeeded(e,n)})}navigateIfNeeded(e,n){if(!e||!e.state||this.trigger===Wa.ROUTER||this.lastEvent instanceof Fr)return;let r=e.state.url;jY(this.router.url,r)||(this.storeState=n,this.trigger=Wa.STORE,this.router.navigateByUrl(r).catch(o=>{this.errorHandler.handleError(o)}))}setUpRouterEventsListener(){let e=this.config.navigationActionTiming===bS.PostActivation,n;this.router.events.pipe(xa(this.store)).subscribe(([r,o])=>{this.lastEvent=r,r instanceof Fr?(this.routerState=this.serializer.serialize(this.router.routerState.snapshot),this.trigger!==Wa.STORE&&(this.storeState=o,this.dispatchRouterRequest(r))):r instanceof Dl?(n=r,!e&&this.trigger!==Wa.STORE&&this.dispatchRouterNavigation(r)):r instanceof or?(this.dispatchRouterCancel(r),this.reset()):r instanceof za?(this.dispatchRouterError(r),this.reset()):r instanceof En&&(this.trigger!==Wa.STORE&&(e&&this.dispatchRouterNavigation(n),this.dispatchRouterNavigated(r)),this.reset())})}dispatchRouterRequest(e){this.dispatchRouterAction(g2,{event:e})}dispatchRouterNavigation(e){let n=this.serializer.serialize(e.state);this.dispatchRouterAction(_S,{routerState:n,event:new Dl(e.id,e.url,e.urlAfterRedirects,n)})}dispatchRouterCancel(e){this.dispatchRouterAction(vS,{storeState:this.storeState,event:e})}dispatchRouterError(e){this.dispatchRouterAction(yS,{storeState:this.storeState,event:new za(e.id,e.url,`${e}`)})}dispatchRouterNavigated(e){let n=this.serializer.serialize(this.router.routerState.snapshot);this.dispatchRouterAction(_2,{event:e,routerState:n})}dispatchRouterAction(e,n){this.trigger=Wa.ROUTER;try{this.store.dispatch({type:e,payload:Y(x({routerState:this.routerState},n),{event:this.config.routerState===CS.Full?n.event:{id:n.event.id,url:n.event.url,urlAfterRedirects:n.event.urlAfterRedirects}})})}finally{this.trigger=Wa.NONE}}reset(){this.trigger=Wa.NONE,this.storeState=null,this.routerState=null}static{this.\u0275fac=function(n){return new(n||t)(j(ht),j(At),j(Yu),j(Hn),j(y2),j(Xc))}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac})}}return t})();function jY(t,i){return p2(t)===p2(i)}function p2(t){return t?.length>0&&t[t.length-1]==="/"?t.substring(0,t.length-1):t}function b2(t={}){return ri([{provide:f2,useValue:t},{provide:y2,useFactory:VY,deps:[f2]},{provide:Yu,useClass:t.serializer?t.serializer:t.routerState===CS.Full?Gu:ib},_c(()=>d(m2)),m2])}var wS={requireAuthentication:!0,appCode:"AAMC"},Ns=new T("CoreConfiguration");var xS={ci:"github",build:"36006801737",run:"13329",workflow:"Build & Deployment Workflow",date:"Thu Sep 24 2026 14:11:39 GMT+0000 (Coordinated Universal Time)",package_version:"21.7.2",tag:"21.7.2-20260924.141139",commit:"9c8f0111f68e7dfa434dd6f17efa37970dfbc7a8",shortCommit:"9c8f01"};var rb=class{validateSignature(i){return Promise.resolve(null)}validateAtHash(i){return Promise.resolve(!0)}},ob=class{};var Km=class{},BY=(()=>{class t extends Km{now(){return Date.now()}new(){return new Date}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Dt(t)))(r||t)}})()}static{this.\u0275prov=M({token:t,factory:t.\u0275fac})}}return t})();var ab=class{},sb=class{},UY=(()=>{class t{constructor(){this.data=new Map}getItem(e){return this.data.get(e)}removeItem(e){this.data.delete(e)}setItem(e,n){this.data.set(e,n)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac})}}return t})();var Xm=class{constructor(i){this.type=i}},Gi=class extends Xm{constructor(i,e=null){super(i),this.info=e}},ta=class extends Xm{constructor(i,e=null){super(i),this.info=e}}
8,Cn=class extends Xm{constructor(i,e,n=null){super(i),this.reason=e,this.params=n}};function C2(t){let i=t.replace(/-/g,"+").replace(/_/g,"/");return decodeURIComponent(atob(i).split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function w2(t){return btoa(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}var Qu=class{constructor(i){this.clientId="",this.redirectUri="",this.postLogoutRedirectUri="",this.redirectUriAsPostLogoutRedirectUriFallback=!0,this.loginUrl="",this.scope="openid profile",this.resource="",this.rngUrl="",this.oidc=!0,this.requestAccessToken=!0,this.options=null,this.issuer="",this.logoutUrl="",this.clearHashAfterLogin=!0,this.tokenEndpoint=null,this.revocationEndpoint=null,this.customTokenParameters=[],this.userinfoEndpoint=null,this.responseType="",this.showDebugInformation=!1,this.silentRefreshRedirectUri="",this.silentRefreshMessagePrefix="",this.silentRefreshShowIFrame=!1,this.siletRefreshTimeout=1e3*20,this.silentRefreshTimeout=1e3*20,this.dummyClientSecret="",this.requireHttps="remoteOnly",this.strictDiscoveryDocumentValidation=!0,this.jwks=null,this.customQueryParams=null,this.silentRefresh
8IFrameName="angular-oauth-oidc-silent-refresh-iframe",this.timeoutFactor=.75,this.sessionChecksEnabled=!1,this.sessionCheckIntervall=3*1e3,this.sessionCheckIFrameUrl=null,this.sessionCheckIFrameName="angular-oauth-oidc-check-session-iframe",this.disableAtHashCheck=!1,this.skipSubjectCheck=!1,this.useIdTokenHintForSilentRefresh=!1,this.skipIssuerCheck=!1,this.nonceStateSeparator=";",this.useHttpBasicAuth=!1,this.decreaseExpirationBySec=0,this.waitForTokenInMsec=0,this.disablePKCE=!1,this.preserveRequestedRoute=!1,this.disableIdTokenTimer=!1,this.checkOrigin=!1,this.openUri=e=>{location.href=e},i&&Object.assign(this,i)}},Jc=class{encodeKey(i){return encodeURIComponent(i)}encodeValue(i){return encodeURIComponent(i)}decodeKey(i){return decodeURIComponent(i)}decodeValue(i){return decodeURIComponent(i)}},lb=class{};var x2=(()=>{class t{getHashFragmentParams(e){let n=e||window.location.hash;if(n=decodeURIComponent(n),n.indexOf("#")!==0)return{};let r=n.indexOf("?");return r>-1?n=n.substr(r+1):n=n.substr(1),this.parseQueryString(n)}parseQueryString(e){let n={},r,o,a,s,l,c;if(e===null)return n;let u=e.split("&");for(let h=0;h<u.length;h++)r=u[h],o=r.indexOf("="),o===-1?(a=r,s=null):(a=r.substr(0,o),s=r.substr(o+1)),l=decodeURIComponent(a),c=decodeURIComponent(s),l.substr(0,1)==="/"&&(l=l.substr(1)),n[l]=c;return n}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac})}}return t})(),D2=32,HY=64,zY=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function DS(t,i,e,n,r){let o,a,s,l,c,u,h,m,p,b,D,A,k;for(;r>=64;){for(o=i[0],a=i[1],s=i[2],l=i[3],c=i[4],u=i[5],h=i[6],m=i[7],b=0;b<16;b++)D=n+b*4,t[b]=(e[D]&255)<<24|(e[D+1]&255)<<16|(e[D+2]&255)<<8|e[D+3]&255;for(b=16;b<64;b++)p=t[b-2],A=(p>>>17|p<<15)^(p>>>19|p<<13)^p>>>10,p=t[b-15],k=(p>>>7|p<<25)^(p>>>18|p<<14)^p>>>3,t[b]=(A+t[b-7]|0)+(k+t[b-16]|0);for(b=0;b<64;b++)A=(((c>>>6|c<<26)^(c>>>11|c<<21)^(c>>>25|c<<7))+(c&u^~c&h)|0)+(m+(zY[b]+t[b]|0)|0)|0,k=((o>>>2|o<<30)^(o>>>13|o<<19)^(o>>>22|o<<10))+(o&a^o&s^a&s)|0,m=h,h=u,u=c,c=l+A|0,l=s,s=a,a=o,o=A+k|0;i[0]+=o,i[1]+=a,i[2]+=s,i[3]+=l,i[4]+=c,i[5]+=u,i[6]+=h,i[7]+=m,n+=64,r-=64}return n}var MS=class{constructor(){this.digestLength=D2,this.blockSize=HY,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}reset(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this}clean(){for(let i=0;i<this.buffer.length;i++)this.buffer[i]=0;for(let i=0;i<this.temp.length;i++)this.temp[i]=0;this.reset()}update(i,e=i.length){if(this.finished)throw new Error("SHA256: can't update because hash was finished.");let n=0;if(this.bytesHashed+=e,this.bufferLength>0){for(;this.bufferLength<64&&e>0;)this.buffer[this.bufferLength++]=i[n++],e--;this.bufferLength===64&&(DS(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(e>=64&&(n=DS(this.temp,this.state,i,n,e),e%=64);e>0;)this.buffer[this.bufferLength++]=i[n++],e--;return this}finish(i){if(!this.finished){let e=this.bytesHashed,n=this.bufferLength,r=e/536870912|0,o=e<<3,a=e%64<56?64:128;this.buffer[n]=128;for(let s=n+1;s<a-8;s++)this.buffer[s]=0;this.buffer[a-8]=r>>>24&255,this.buffer[a-7]=r>>>16&255,this.buffer[a-6]=r>>>8&255,this.buffer[a-5]=r>>>0&255,this.buffer[a-4]=o>>>24&255,this.buffer[a-3]=o>>>16&255,this.buffer[a-2]=o>>>8&255,this.buffer[a-1]=o>>>0&255,DS(this.temp,this.state,this.buffer,0,a),this.finished=!0}for(let e=0;e<8;e++)i[e*4+0]=this.state[e]>>>24&255,i[e*4+1]=this.state[e]>>>16&255,i[e*4+2]=this.state[e]>>>8&255,i[e*4+3]=this.state[e]>>>0&255;return this}
8digest(){let i=new Uint8Array(this.digestLength);return this.finish(i),i}_saveState(i){for(let e=0;e<this.state.length;e++)i[e]=this.state[e]}_restoreState(i,e){for(let n=0;n<this.state.length;n++)this.state[n]=i[n];this.bytesHashed=e,this.finished=!1,this.bufferLength=0}};function $Y(t){let i=new MS().update(t),e=i.digest();return i.clean(),e}var w1e=new Uint8Array(D2);var cb=class{};function WY(t){if(typeof t!="string")throw new TypeError("expected string");let i=t,e=new Uint8Array(i.length);for(let n=0;n<i.length;n++)e[n]=i.charCodeAt(n);return e}function qY(t){let i=[];for(let e=0;e<t.length;e++)i.push(String.fromCharCode(t[e]));return i.join("")}var GY=(()=>{class t{calcHash(e,n){return St(this,null,function*(){return qY($Y(WY(e)))})}toHashString2(e){let n="";for(let r of e)n+=String.fromCharCode(r);return n}toHashString(e){let n=new Uint8Array(e),r="";for(let o of n)r+=String.fromCharCode(o);return r}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac})}}return t})(),Zu=(()=>{class t extends Qu{constructor(e,n,r,o,a,s,l,c,u,h){super(),this.ngZone=e,this.http=n,this.config=a,this.urlHelper=s,this.logger=l,this.crypto=c,this.dateTimeService=h,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new V,this.discoveryDocumentLoadedSubject=new V,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=u,a||(a={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),o&&(this.tokenValidationHandler=o),a&&this.configure(a);try{r?this.setStorage(r):typeof sessionStorage<"u"&&this.setStorage(sessionStorage)}catch(m){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",m)}if(this.checkLocalStorageAccessable()){let m=window?.navigator?.userAgent;(m?.includes("MSIE ")||m?.includes("Trident"))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if(typeof window>"u")return!1;let e="test";try{return typeof window.localStorage>"u"?!1:(localStorage.setItem(e,e),localStorage.removeItem(e),!0)}catch(n){return!1}}configure(e){Object.assign(this,new Qu,e),this.config=Object.assign({},new Qu,e),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe(J(e=>e.type==="token_received")).subscribe(()=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(e={},n,r=!0){let o=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe(vt(a=>{a.type==="token_received"?o=!0:a.type==="logout"&&(o=!1)}),J(a=>a.type==="token_expires"&&(n==null||n==="any"||a.info===n)),ii(1e3)).subscribe(()=>{o&&this.refreshInternal(e,r).catch(()=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(e,n){return!this.useSilentRefresh&&this.responseType==="code"?this.refreshToken():this.silentRefresh(e,n)}loadDiscoveryDocumentAndTryLogin(e=null){return this.loadDiscoveryDocument().then(()=>this.tryLogin(e))}loadDiscoveryDocumentAndLogin(e=null){return e=e||{},this.loadDiscoveryDocumentAndTryLogin(e).then(()=>{if(!this.hasValidIdToken()||!this.hasValidAccessToken()){let n=typeof e.state=="string"?e.state:"";return this.initLoginFlow(n),!1}else return!0})}debug(...e){this.showDebugInformation&&this.logger.debug(...e)}validateUrlFromDiscoveryDocument(e){let n=[],r=this.validateUrlForHttps(e),o=this.validateUrlAgainstIssuer(e);return r||n.push("https for all urls required. Also for urls received by discovery."),o||n.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),n}validateUrlForHttps(e){if(!e)return!0;let n=e.toLowerCase();return this.requireHttps===!1||(n.match(/^http:\/\/localhost($|[:/])/)||n.match(/^http:\/\/localhost($|[:/])/))&&this.requireHttps==="remoteOnly"?!0:n.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(e,n){if(!e)throw new Error(`'${n}' should not be null`);if(!this.validateUrlForHttps(e))throw new Error(`'${n}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(e){return!this.strictDiscoveryDocumentValidation||!e?!0:e.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){if(typeof window>"u"){this.debug("timer not supported on this plattform");return}(this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe(J(e=>e.type==="token_received")).subscribe(()=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()})}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),!this.disableIdTokenTimer&&this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){let e=this.getAccessTokenExpiration(),n=this.getAccessTokenStoredAt(),r=this.calcTimeout(n,e);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=K(new ta("token_expires","access_token")).pipe(wa(r)).subscribe(o=>{this.ngZone.run(()=>{this.eventsSubject.next(o)})})})}setupIdTokenTimer(){let e=this.getIdTokenExpiration(),n=this.getIdTokenStoredAt(),r=this.calcTimeout(n,e);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=K(new ta("token_expires","id_token")).pipe(wa(r)).subscribe(o=>{this.ngZone.run(()=>{this.eventsSubject.next(o)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.clearAutomaticRefreshTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}clearAutomaticRefreshTimer(){this.automaticRefreshSubscription&&this.automaticRefreshSubscription.unsubscribe()}
8calcTimeout(e,n){let r=this.dateTimeService.now(),o=(n-e)*this.timeoutFactor-(r-e),a=Math.max(0,o),s=2147483647;return a>s?s:a}setStorage(e){this._storage=e,this.configChanged()}loadDiscoveryDocument(e=null){return new Promise((n,r)=>{if(e||(e=this.issuer||"",e.endsWith("/")||(e+="/"),e+=".well-known/openid-configuration"),!this.validateUrlForHttps(e)){r("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return}this.http.get(e).subscribe(o=>{if(!this.validateDiscoveryDocument(o)){this.eventsSubject.next(new Cn("discovery_document_validation_error",null)),r("discovery_document_validation_error");return}this.loginUrl=o.authorization_endpoint,this.logoutUrl=o.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=o.grant_types_supported,this.issuer=o.issuer,this.tokenEndpoint=o.token_endpoint,this.userinfoEndpoint=o.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=o.jwks_uri,this.sessionCheckIFrameUrl=o.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(o),this.revocationEndpoint=o.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(a=>{let s={discoveryDocument:o,jwks:a},l=new Gi("discovery_document_loaded",s);this.eventsSubject.next(l),n(l)}).catch(a=>{this.eventsSubject.next(new Cn("discovery_document_load_error",a)),r(a)})},o=>{this.logger.error("error loading discovery document",o),this.eventsSubject.next(new Cn("discovery_document_load_error",o)),r(o)})})}loadJwks(){return new Promise((e,n)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(r=>{this.jwks=r,e(r)},r=>{this.logger.error("error loading jwks",r),this.eventsSubject.next(new Cn("jwks_load_error",r)),n(r)}):e(null)})}validateDiscoveryDocument(e){let n;return!this.skipIssuerCheck&&e.issuer!==this.issuer?(this.logger.error("invalid issuer in discovery document","expected: "+this.issuer,"current: "+e.issuer),!1):(n=this.validateUrlFromDiscoveryDocument(e.authorization_endpoint),n.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",n),!1):(n=this.validateUrlFromDiscoveryDocument(e.end_session_endpoint),n.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",n),!1):(n=this.validateUrlFromDiscoveryDocument(e.token_endpoint),n.length>0&&this.logger.error("error validating token_endpoint in discovery document",n),n=this.validateUrlFromDiscoveryDocument(e.revocation_endpoint),n.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",n),n=this.validateUrlFromDiscoveryDocument(e.userinfo_endpoint),n.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",n),!1):(n=this.validateUrlFromDiscoveryDocument(e.jwks_uri),n.length>0?(this.logger.error("error validating jwks_uri in discovery document",n),!1):(this.sessionChecksEnabled&&!e.check_session_iframe&&this.logger.warn("sessionChecksEnabled is activated but discovery document does not contain a check_session_iframe field"),!0)))))}fetchTokenUsingPasswordFlowAndLoadUserProfile(e,n,r=new si){return this.fetchTokenUsingPasswordFlow(e,n,r).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((e,n)=>{let r=new si().set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:r,observe:"response",responseType:"text"}).subscribe(o=>{if(this.debug("userinfo received",JSON.stringify(o)),o.headers.get("content-type").startsWith("application/json")){let a=JSON.parse(o.body),s=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!s.sub||a.sub!==s.sub)){n(`if property oidc is true, the received user-id (sub) has to be the user-id of the user that has logged in with oidc. 9if you are not using oidc but just oauth2 password flow set oidc to fal
9se`);return}a=Object.assign({},s,a),this._storage.setItem("id_token_claims_obj",JSON.stringify(a)),this.eventsSubject.next(new Gi("user_profile_loaded")),e({info:a})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new Gi("user_profile_loaded")),e(JSON.parse(o.body))},o=>{this.logger.error("error loading user info",o),this.eventsSubject.next(new Cn("user_profile_load_error",o)),n(o)})})}fetchTokenUsingPasswordFlow(e,n,r=new si){let o={username:e,password:n};return this.fetchTokenUsingGrant("password",o,r)}fetchTokenUsingGrant(e,n,r=new si){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let o=new Wi({encoder:new Jc}).set("grant_type",e).set("scope",this.scope);if(this.useHttpBasicAuth){let a=btoa(`${this.clientId}:${this.dummyClientSecret}`);r=r.set("Authorization","Basic "+a)}if(this.useHttpBasicAuth||(o=o.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(o=o.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(let a of Object.getOwnPropertyNames(this.customQueryParams))o=o.set(a,this.customQueryParams[a]);for(let a of Object.keys(n))o=o.set(a,n[a]);return r=r.set("Content-Type","application/x-www-form-urlencoded"),new Promise((a,s)=>{this.http.post(this.tokenEndpoint,o,{headers:r}).subscribe(l=>{this.debug("tokenResponse",l),this.storeAccessTokenResponse(l.access_token,l.refresh_token,l.expires_in||this.fallbackAccessTokenExpirationTimeInSec,l.scope,this.extractRecognizedCustomParameters(l)),this.oidc&&l.id_token&&this.processIdToken(l.id_token,l.access_token).then(c=>{this.storeIdToken(c),a(l)}),this.eventsSubject.next(new Gi("token_received")),a(l)},l=>{this.logger.error("Error performing ${grantType} flow",l),this.eventsSubject.next(new Cn("token_error",l)),s(l)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((e,n)=>{let r=new Wi({encoder:new Jc}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),o=new si().set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){let a=btoa(`${this.clientId}:${this.dummyClientSecret}`);o=o.set("Authorization","Basic "+a)}if(this.useHttpBasicAuth||(r=r.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(r=r.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(let a of Object.getOwnPropertyNames(this.customQueryParams))r=r.set(a,this.customQueryParams[a]);this.http.post(this.tokenEndpoint,r,{headers:o}).pipe(lt(a=>this.oidc&&a.id_token?jt(this.processIdToken(a.id_token,a.access_token,!0)).pipe(vt(s=>this.storeIdToken(s)),X(()=>a)):K(a))).subscribe(a=>{this.debug("refresh tokenResponse",a),this.storeAccessTokenResponse(a.access_token,a.refresh_token,a.expires_in||this.fallbackAccessTokenExpirationTimeInSec,a.scope,this.extractRecognizedCustomParameters(a)),this.eventsSubject.next(new Gi("token_received")),this.eventsSubject.next(new Gi("token_refreshed")),e(a)},a=>{this.logger.error("Error refreshing token",a),this.eventsSubject.next(new Cn("token_refresh_error",a)),n(a)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=e=>{let n=this.processMessageEventMessage(e);this.checkOrigin&&e.origin!==location.origin&&console.error("wrong origin requested silent refresh!"),this.tryLogin({customHashFragment:n,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(r=>this.debug("tryLogin during silent refresh failed",r))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(e={},n=!0){let r=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(e.id_token_hint=this.getIdToken()),!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(typeof this.document>"u")throw new Error("silent refresh is not supported on this platform");
9let o=this.document.getElementById(this.silentRefreshIFrameName);o&&this.document.body.removeChild(o),this.silentRefreshSubject=r.sub;let a=this.document.createElement("iframe");a.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener();let s=this.silentRefreshRedirectUri||this.redirectUri;this.createLoginUrl(null,null,s,n,e).then(h=>{a.setAttribute("src",h),this.silentRefreshShowIFrame||(a.style.display="none"),this.document.body.appendChild(a)});let l=this.events.pipe(J(h=>h instanceof Cn),Mr()),c=this.events.pipe(J(h=>h.type==="token_received"),Mr()),u=K(new Cn("silent_refresh_timeout",null)).pipe(wa(this.silentRefreshTimeout));return qC([l,c,u]).pipe(X(h=>{if(h instanceof Cn)throw h.type==="silent_refresh_timeout"?this.eventsSubject.next(h):(h=new Cn("silent_refresh_error",h),this.eventsSubject.next(h)),h;return h.type==="token_received"&&(h=new Gi("silently_refreshed"),this.eventsSubject.next(h)),h})).toPromise()}initImplicitFlowInPopup(e){return this.initLoginFlowInPopup(e)}initLoginFlowInPopup(e){return e=e||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(n=>new Promise((r,o)=>{let s=null;e.windowRef?e.windowRef&&!e.windowRef.closed&&(s=e.windowRef,s.location.href=n):s=window.open(n,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(e));let l,c=b=>{this.tryLogin({customHashFragment:b,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{h(),r(!0)},D=>{h(),o(D)})},u=()=>{(!s||s.closed)&&(h(),o(new Cn("popup_closed",{})))};s?l=window.setInterval(u,500):o(new Cn("popup_blocked",{}));let h=()=>{window.clearInterval(l),window.removeEventListener("storage",p),window.removeEventListener("message",m),s!==null&&s.close(),s=null},m=b=>{let D=this.processMessageEventMessage(b);D&&D!==null?(window.removeEventListener("storage",p),c(D)):console.log("false event firing")},p=b=>{b.key==="auth_hash"&&(window.removeEventListener("message",m),c(b.newValue))};window.addEventListener("message",m),window.addEventListener("storage",p)}))}calculatePopupFeatures(e){let n=e.height||470,r=e.width||500,o=window.screenLeft+(window.outerWidth-r)/2,a=window.screenTop+(window.outerHeight-n)/2;return`location=no,toolbar=no,width=${r},height=${n},top=${a},left=${o}`}processMessageEventMessage(e){let n="#";if(this.silentRefreshMessagePrefix&&(n+=this.silentRefreshMessagePrefix),!e||!e.data||typeof e.data!="string")return;let r=e.data;if(r.startsWith(n))return"#"+r.substr(n.length)}canPerformSessionCheck(){return this.sessionChecksEnabled?this.sessionCheckIFrameUrl?this.get
9SessionState()?!(typeof this.document>"u"):(console.warn("sessionChecksEnabled is activated but there is no session_state"),!1):(console.warn("sessionChecksEnabled is activated but there is no sessionCheckIFrameUrl"),!1):!1}setupSessionCheckEventListener(){this.removeSessionCheckEventListener(),this.sessionCheckEventListener=e=>{let n=e.origin.toLowerCase(),r=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),!r.startsWith(n)){this.debug("sessionCheckEventListener","wrong origin",n,"expected",r,"event",e);return}switch(e.data){case"unchanged":this.ngZone.run(()=>{this.handleSessionUnchanged()});break;case"changed":this.ngZone.run(()=>{this.handleSessionChange()});break;case"error":this.ngZone.run(()=>{this.handleSessionError()});break}this.debug("got info from session check inframe",e)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new ta("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new ta("session_changed")),this.stopSessionCheckTimer(),!this.useSilentRefresh&&this.responseType==="code"?this.refreshToken().then(()=>{this.debug("token refresh after session change worked")}).catch(()=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new ta("session_terminated")),this.logOut(!0)}):this.silentRefreshRedirectUri?(this.silentRefresh().catch(()=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new ta("session_terminated")),this.logOut(!0))}waitForSilentRefreshAfterSessionChange(){this.events.pipe(J(e=>e.type==="silently_refreshed"||e.type==="silent_refresh_timeout"||e.type==="silent_refresh_error"),Mr()).subscribe(e=>{e.type!=="silently_refreshed"&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new ta("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new ta("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;let e=this.document.getElementById(this.sessionCheckIFrameName);e&&this.document.body.removeChild(e);let n=this.document.createElement("iframe");n.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener();let r=this.sessionCheckIFrameUrl;n.setAttribute("src",r),n.style.display="none",this.document.body.appendChild(n),this.startSessionCheckTimer()}startSessionCheckTimer(){this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(()=>{this.sessionCheckTimer=setInterval(this.checkSession.bind(this),this.sessionCheckIntervall)})}stopSessionCheckTimer(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}checkSession(){let e=this.document.getElementById(this.sessionCheckIFrameName);e||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);let n=this.getSessionState();n||this.stopSessionCheckTimer();let r=this.clientId+" "+n;e.contentWindow.postMessage(r,this.issuer)}createLoginUrl(){return St(this,arguments,function*(e="",n="",r="",o=!1,a={}){let s=this,l;r?l=r:l=this.redirectUri;let c=yield this.createAndSaveNonce();if(e?e=c+this.config.nonceStateSeparator+encodeURIComponent(e):e=c,!this.requestAccessToken&&!this.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");this.config.responseType?this.responseType=this.config.responseType:this.oidc&&this.requestAccessToken?this.responseType="id_token token":this.oidc&&!this.requestAccessToken?this.responseType="id_token":this.responseType="token";let u=s.loginUrl.indexOf("?")>-1?"&":"?",h=s.scope;this.oidc&&!h.match(/(^|\s)openid($|\s)/)&&(h="openid "+h);let m=s.loginUrl+u+"response_type="+encodeURIComponent(s.responseType)+"&client_id="+encodeURIComponent(s.clientId)+"&state="+encodeURIComponent(e)+"&redirect_uri="+encodeURIComponent(l)+"&scope="+encodeURIComponent(h);if(this.responseType.includes("code")&&!this.disablePKCE){let[p,b]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("PKCE_verifier",b):this._storage.setItem("PKCE_verifier",b),m+="&code_challenge="+p,m+="&code_challenge_method=S256"}n&&(m+="&login_hint="+encodeURIComponent(n)),s.resource&&(m+="&resource="+encodeURIComponent(s.resource)),s.oidc&&(m+="&nonce="+encodeURIComponent(c)),o&&(m+="&prompt=none");for(let p of Object.keys(a))m+="&"+encodeURIComponent(p)+"="+encodeURIComponent(a[p]);if(this.customQueryParams)for(let p of Object.getOwnPropertyNames(this.customQueryParams))m+="&"+p+"="+encodeURIComponent(this.customQueryParams[p]);return m})}initImplicitFlowInternal(e="",n=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let r={},o=null;typeof n=="string"?o=n:typeof n=="object"&&(r=n),this.createLoginUrl(e,o,null,!1,r).then(this.config.openUri).catch(a=>{console.error("Error in initImplicitFlow",a),this.inImplicitFlow=!1})}initImplicitFlow(e="",n=""){this.loginUrl!==""?this.initImplicitFlowInternal(e,n):this.events.pipe(J(r=>r.type==="discovery_document_loaded")).subscribe(()=>this.initImplicitFlowInternal(e,n))}resetImplicitFlow(){this.inImplicitFlow=!1}
9callOnTokenReceivedIfExists(e){let n=this;if(e.onTokenReceived){let r={idClaims:n.getIdentityClaims(),idToken:n.getIdToken(),accessToken:n.getAccessToken(),state:n.state};e.onTokenReceived(r)}}storeAccessTokenResponse(e,n,r,o,a){if(this._storage.setItem("access_token",e),o&&!Array.isArray(o)?this._storage.setItem("granted_scopes",JSON.stringify(o.split(" "))):o&&Array.isArray(o)&&this._storage.setItem("granted_scopes",JSON.stringify(o)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),r){let s=r*1e3,c=this.dateTimeService.new().getTime()+s;this._storage.setItem("expires_at",""+c)}n&&this._storage.setItem("refresh_token",n),a&&a.forEach((s,l)=>{this._storage.setItem(l,s)})}tryLogin(e=null){return this.config.responseType==="code"?this.tryLoginCodeFlow(e).then(()=>!0):this.tryLoginImplicitFlow(e)}parseQueryString(e){return!e||e.length===0?{}:(e.charAt(0)==="?"&&(e=e.substr(1)),this.urlHelper.parseQueryString(e))}tryLoginCodeFlow(e=null){return St(this,null,function*(){e=e||{};let n=e.customHashFragment?e.customHashFragment.substring(1):window.location.search,r=this.getCodePartsFromUrl(n),o=r.code,a=r.state,s=r.session_state;if(!e.preventClearHashAfterLogin){let u=location.origin+location.pathname+location.search.replace(/code=[^&$]*/,"").replace(/scope=[^&$]*/,"").replace(/state=[^&$]*/,"").replace(/session_state=[^&$]*/,"").replace(/^\?&/,"?").replace(/&$/,"").replace(/^\?$/,"").replace(/&+/g,"&").replace(/\?&/,"?").replace(/\?$/,"")+location.hash;history.replaceState(null,window.name,u)}let[l,c]=this.parseState(a);if(this.state=c,r.error){this.debug("error trying to login"),this.handleLoginError(e,r);let u=new Cn("code_error",{},r);return this.eventsSubject.next(u),Promise.reject(u)}if(!e.disableNonceCheck){if(!l)return this.saveRequestedRoute(),Promise.resolve();if(!e.disableOAuth2StateCheck&&!this.validateNonce(l)){let h=new Cn("invalid_nonce_in_state",null);return this.eventsSubject.next(h),Promise.reject(h)}}return this.storeSessionState(s),o&&(yield this.getTokenFromCode(o,e),this.restoreRequestedRoute()),Promise.resolve()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){let e=this._storage.getItem("requested_route");e&&history.replaceState(null,"",window.location.origin+e)}getCodePartsFromUrl(e){return!e||e.length===0?this.urlHelper.getHashFragmentParams():(e.charAt(0)==="?"&&(e=e.substr(1)),this.urlHelper.parseQueryString(e))}getTokenFromCode(e,n){let r=new Wi({encoder:new Jc}).set("grant_type","authorization_code").set("code",e).set("redirect_uri",n.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let o;this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?o=localStorage.getItem("PKCE_verifier"):o=this._storage.getItem("PKCE_verifier"),o?r=r.set("code_verifier",o):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(r,n)}fetchAndProcessToken(e,n){n=n||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let r=new si().set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){let o=btoa(`${this.clientId}:${this.dummyClientSecret}`);r=r.set("Authorization","Basic "+o)}return this.useHttpBasicAuth||(e=e.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(e=e.set("client_secret",this.dummyClientSecret)),new Promise((o,a)=>{if(this.customQueryParams)for(let s of Object.getOwnPropertyNames(this.customQueryParams))e=e.set(s,this.customQueryParams[s]);this.http.post(this.tokenEndpoint,e,{headers:r}).subscribe(s=>{this.debug("refresh tokenResponse",s),this.storeAccessTokenResponse(s.access_token,s.refresh_token,s.expires_in||this.fallbackAccessTokenExpirationTimeInSec,s.scope,this.extractRecognizedCustomParameters(s)),this.oidc&&s.id_token?this.processIdToken(s.id_token,s.access_token,n.disableNonceCheck).then(l=>{this.storeIdToken(l),this.eventsSubject.next(new Gi("token_received")),this.eventsSubject.next(new Gi("token_refreshed")),o(s)}).catch(l=>{this.eventsSubject.next(new Cn("token_validation_error",l)),console.error("Error validating tokens"),console.error(l),a(l)}):(this.eventsSubject.next(new Gi("token_received")),this.eventsSubject.next(new Gi("token_refreshed")),o(s))},s=>{console.error("Error getting token",s),this.eventsSubject.next(new Cn("token_error",s)),a(s)})})}tryLoginImplicitFlow(e=null){e=e||{};let n;
9e.customHashFragment?n=this.urlHelper.getHashFragmentParams(e.customHashFragment):n=this.urlHelper.getHashFragmentParams(),this.debug("parsed url",n);let r=n.state,[o,a]=this.parseState(r);if(this.state=a,n.error){this.debug("error trying to login"),this.handleLoginError(e,n);let h=new Cn("token_error",{},n);return this.eventsSubject.next(h),Promise.reject(h)}let s=n.access_token,l=n.id_token,c=n.session_state,u=n.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!s||this.requestAccessToken&&!e.disableOAuth2StateCheck&&!r||this.oidc&&!l)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!c&&this.logger.warn("session checks (Session Status Change Notification) were activated in the configuration but the id_token does not contain a session_state claim"),this.requestAccessToken&&!e.disableNonceCheck&&!this.validateNonce(o)){let m=new Cn("invalid_nonce_in_state",null);return this.eventsSubject.next(m),Promise.reject(m)}return this.requestAccessToken&&this.storeAccessTokenResponse(s,null,n.expires_in||this.fallbackAccessTokenExpirationTimeInSec,u),this.oidc?this.processIdToken(l,s,e.disableNonceCheck).then(h=>e.validationHandler?e.validationHandler({accessToken:s,idClaims:h.idTokenClaims,idToken:h.idToken,state:r}).then(()=>h):h).then(h=>(this.storeIdToken(h),this.storeSessionState(c),this.clearHashAfterLogin&&!e.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new Gi("token_received")),this.callOnTokenReceivedIfExists(e),this.inImplicitFlow=!1,!0)).catch(h=>(this.eventsSubject.next(new Cn("token_validation_error",h)),this.logger.error("Error validating tokens"),this.logger.error(h),Promise.reject(h))):(this.eventsSubject.next(new Gi("token_received")),this.clearHashAfterLogin&&!e.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(e),Promise.resolve(!0))}parseState(e){let n=e,r="";if(e){let o=e.indexOf(this.config.nonceStateSeparator);o>-1&&(n=e.substr(0,o),r=e.substr(o+this.config.nonceStateSeparator.length))}return[n,r]}validateNonce(e){let n;return this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?n=localStorage.getItem("nonce"):n=this._storage.getItem("nonce"),n!==e?(console.error("Validating access_token failed, wrong state/nonce.",n,e),!1):!0}storeIdToken(e){this._storage.setItem("id_token",e.idToken),this._storage.setItem("id_token_claims_obj",e.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+e.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.n
9ow())}storeSessionState(e){this._storage.setItem("session_state",e)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(e,n){e.onLoginError&&e.onLoginError(n),this.clearHashAfterLogin&&!e.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(e=6e5){return!this.clockSkewInSec&&this.clockSkewInSec!==0?e:this.clockSkewInSec*1e3}processIdToken(e,n,r=!1){let o=e.split("."),a=this.padBase64(o[0]),s=C2(a),l=JSON.parse(s),c=this.padBase64(o[1]),u=C2(c),h=JSON.parse(u),m;if(this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?m=localStorage.getItem("nonce"):m=this._storage.getItem("nonce"),Array.isArray(h.aud)){if(h.aud.every(L=>L!==this.clientId)){let L="Wrong audience: "+h.aud.join(",");return this.logger.warn(L),Promise.reject(L)}}else if(h.aud!==this.clientId){let L="Wrong audience: "+h.aud;return this.logger.warn(L),Promise.reject(L)}if(!h.sub){let L="No sub claim in id_token";return this.logger.warn(L),Promise.reject(L)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==h.sub){let L=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${h.sub}`;return this.logger.warn(L),Promise.reject(L)}if(!h.iat){let L="No iat claim in id_token";return this.logger.warn(L),Promise.reject(L)}if(!this.skipIssuerCheck&&h.iss!==this.issuer){let L="Wrong issuer: "+h.iss;return this.logger.warn(L),Promise.reject(L)}if(!r&&h.nonce!==m){let L="Wrong nonce: "+h.nonce;return this.logger.warn(L),Promise.reject(L)}if(Object.prototype.hasOwnProperty.call(this,"responseType")&&(this.responseType==="code"||this.responseType==="id_token")&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!h.at_hash){let L="An at_hash is needed!";return this.logger.warn(L),Promise.reject(L)}
9let p=this.dateTimeService.now(),b=h.iat*1e3,D=h.exp*1e3,A=this.getClockSkewInMsec();if(b-A>=p||D+A-this.decreaseExpirationBySec<=p){let L="Token has expired";return console.error(L),console.error({now:p,issuedAtMSec:b,expiresAtMSec:D}),Promise.reject(L)}let k={accessToken:n,idToken:e,jwks:this.jwks,idTokenClaims:h,idTokenHeader:l,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(k).then(()=>({idToken:e,idTokenClaims:h,idTokenClaimsJson:u,idTokenHeader:l,idTokenHeaderJson:s,idTokenExpiresAt:D})):this.checkAtHash(k).then(L=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!L){let ce="Wrong at_hash";return this.logger.warn(ce),Promise.reject(ce)}return this.checkSignature(k).then(()=>{let ce=!this.disableAtHashCheck,oe={idToken:e,idTokenClaims:h,idTokenClaimsJson:u,idTokenHeader:l,idTokenHeaderJson:s,idTokenExpiresAt:D};return ce?this.checkAtHash(k).then(_e=>{if(this.requestAccessToken&&!_e){let ye="Wrong at_hash";return this.logger.warn(ye),Promise.reject(ye)}else return oe}):oe})})}getIdentityClaims(){let e=this._storage.getItem("id_token_claims_obj");return e?JSON.parse(e):null}getGrantedScopes(){let e=this._storage.getItem("granted_scopes");return e?JSON.parse(e):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(e){for(;e.length%4!==0;)e+="=";return e}getAccessToken(){return this._storage?this._storage.getItem("access_token"):null}getRefreshToken(){return this._storage?this._storage.getItem("refresh_token"):null}getAccessTokenExpiration(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}getAccessTokenStoredAt(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}getIdTokenStoredAt(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}getIdTokenExpiration(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}hasValidAccessToken(){if(this.getAccessToken()){let e=this._storage.getItem("expires_at"),n=this.dateTimeService.new();return!(e&&parseInt(e,10)-this.decreaseExpirationBySec<n.getTime()-this.getClockSkewInMsec())}return!1}hasValidIdToken(){if(this.getIdToken()){let e=this._storage.getItem("id_token_expires_at"),n=this.dateTimeService.new();return!(e&&parseInt(e,10)-this.decreaseExpirationBySec<n.getTime()-this.getClockSkewInMsec())}return!1}getCustomTokenResponseProperty(e){return this._storage&&this.config.customTokenParameters&&this.config.customTokenParameters.indexOf(e)>=0&&this._storage.getItem(e)!==null?JSON.parse(this._storage.getItem(e)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(e={},n=""){let r=!1;typeof e=="boolean"&&(r=e,e={});let o=this.getIdToken();if(this._storage.removeItem("access_token"),this._storage.removeItem("id_token"),this._storage.removeItem("refresh_token"),this.saveNoncesInLocalStorage?(localStorage.removeItem("nonce"),localStorage.removeItem("PKCE_verifier")):(this._storage.removeItem("nonce"),this._storage.removeItem("PKCE_verifier")),this._storage.removeItem("expires_at"),this._storage.removeItem("id_token_claims_obj"),this._storage.removeItem("id_token_expires_at"),this._storage.removeItem("id_token_stored_at"),this._storage.removeItem("access_token_stored_at"),this._storage.removeItem("granted_scopes"),this._storage.removeItem("session_state"),this.config.customTokenParameters&&this.config.customTokenParameters.forEach(s=>this._storage.removeItem(s)),this.silentRefreshSubject=null,this.eventsSubject.next(new ta("logout")),!this.logoutUrl||r)return;let a;if(!this.validateUrlForHttps(this.logoutUrl))throw new Error("logoutUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(this.logoutUrl.indexOf("{{")>-1)a=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(o)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let s=new Wi({encoder:new Jc});o&&(s=s.set("id_token_hint",o));let l=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";l&&(s=s.set("post_logout_redirect_uri",l),n&&(s=s.set("state",n)));for(let c in e)s=s.set(c,e[c]);a=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+s.toString()}this.config.openUri(a)}createAndSaveNonce(){let e=this;return this.createNonce().then(function(n){return e.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("nonce",n):e._storage.setItem("nonce",n),n})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();
9let e=this.document.getElementById(this.silentRefreshIFrameName);e&&e.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();let n=this.document.getElementById(this.sessionCheckIFrameName);n&&n.remove()}createNonce(){return new Promise(e=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");let n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",r=45,o="",a=typeof self>"u"?null:self.crypto||self.msCrypto;if(a){let s=new Uint8Array(r);a.getRandomValues(s),s.map||(s.map=Array.prototype.map),s=s.map(l=>n.charCodeAt(l%n.length)),o=String.fromCharCode.apply(null,s)}else for(;0<r--;)o+=n[Math.random()*n.length|0];e(w2(o))})}checkAtHash(e){return St(this,null,function*(){return this.tokenValidationHandler?this.tokenValidationHandler.validateAtHash(e):(this.logger.warn("No tokenValidationHandler configured. Cannot check at_hash."),!0)})}checkSignature(e){return this.tokenValidationHandler?this.tokenValidationHandler.validateSignature(e):(this.logger.warn("No tokenValidationHandler configured. Cannot check signature."),Promise.resolve(null))}initLoginFlow(e="",n={}){return this.responseType==="code"?this.initCodeFlow(e,n):this.initImplicitFlow(e,n)}initCodeFlow(e="",n={}){this.loginUrl!==""?this.initCodeFlowInternal(e,n):this.events.pipe(J(r=>r.type==="discovery_document_loaded")).subscribe(()=>this.initCodeFlowInternal(e,n))}initCodeFlowInternal(e="",n={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let r={},o=null;typeof n=="string"?o=n:typeof n=="object"&&(r=n),this.createLoginUrl(e,o,null,!1,r).then(this.config.openUri).catch(a=>{console.error("Error in initAuthorizationCodeFlow"),console.error(a)})}createChallangeVerifierPairForPKCE(){return St(this,null,function*(){if(!this.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");let e=yield this.createNonce(),n=yield this.crypto.calcHash(e,"sha-256");return[w2(n),e]})}extractRecognizedCustomParameters(e){let n=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(r=>{e[r]&&n.set(r,JSON.stringify(e[r]))}),n}revokeTokenAndLogout(e={},n=!1){let r=this.revocationEndpoint,o=this.getAccessToken(),a=this.getRefreshToken();if(!o)return Promise.resolve();let s=new Wi({encoder:new Jc}),l=new si().set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){let c=btoa(`${this.clientId}:${this.dummyClientSecret}`);l=l.set("Authorization","Basic "+c)}if(this.useHttpBasicAuth||(s=s.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(s=s.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(let c of Object.getOwnPropertyNames(this.customQueryParams))s=s.set(c,this.customQueryParams[c]);return new Promise((c,u)=>{let h,m;if(o){let p=s.set("token",o).set("token_type_hint","access_token");h=this.http.post(r,p,{headers:l})}else h=K(null);if(a){let p=s.set("token",a).set("token_type_hint","refresh_token");m=this.http.post(r,p,{headers:l})}else m=K(null);n&&(h=h.pipe(Rt(p=>p.status===0?K(null):xr(p))),m=m.pipe(Rt(p=>p.status===0?K(null):xr(p)))),nl([h,m]).subscribe(p=>{this.logOut(e),c(p),this.logger.info("Token successfully revoked")},p=>{this.logger.error("Error revoking token",p),this.eventsSubject.next(new Cn("token_revoke_error",p)),u(p)})})}clearLocationHash(){location.hash!=""&&(location.hash="")}static{this.\u0275fac=function(n){return new(n||t)(j(ne),j(ro),j(sb,8),j(lb,8),j(Qu,8),j(x2),j(ab),j(cb,8),j(ve),j(Km))}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac})}}return t})(),db=class{},ES=class{handleError(i){return xr(i)}},YY=(()=>{class t{constructor(e,n,r){this.oAuthService=e,this.errorHandler=n,this.moduleConfig=r}checkUrl(e){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(e):this.moduleConfig.resourceServer.allowedUrls?!!this.moduleConfig.resourceServer.allowedUrls.find(n=>e.toLowerCase().startsWith(n.toLowerCase())):!0}intercept(e,n){let r=e.url.toLowerCase();return!this.moduleConfig||!this.moduleConfig.resourceServer||!this.checkUrl(r)?n.handle(e):this.moduleConfig.resourceServer.sendAccessToken?qt(K(this.oAuthService.getAccessToken()).pipe(J(a=>!!a)),this.oAuthService.events.pipe(J(a=>a.type==="token_received"),pf(this.oAuthService.waitForTokenInMsec||0),Rt(()=>K(null)),X(()=>this.oAuthService.getAccessToken()))).pipe(Fe(1),Ct(a=>{if(a){let s="Bearer "+a,l=e.headers.set("Authorization",s);e=e.clone({headers:l})}return n.handle(e).pipe(Rt(s=>this.errorHandler.handleError(s)))})):n.handle(e).pipe(Rt(a=>this.errorHandler.handleError(a)))}static{this.\u0275fac=function(n){return new(n||t)(j(Zu),j(db),j(ob,8))}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac})}}return t})();function QY(){return console}function ZY(){return typeof sessionStorage<"u"?sessionStorage:new UY}function KY(t=null,i=rb){return ri([Zu,x2,{provide:ab,useFactory:QY},{provide:sb,useFactory:ZY},{provide:lb,useClass:i},{provide:cb,useClass:GY},{provide:db,useClass:ES},{provide:ob,useValue:t},{provide:Va,useClass:YY,multi:!0},{provide:Km,useClass:BY}])}var M2=(()=>{class t{static forRoot(e=null,n=rb){return{ngModule:t,providers:[KY(e,n)]}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=G({type:t})}static{this.\u0275inj=q({imports:[Ue]})}}return t})();var ub=(()=>{class t{constructor(){this.oauthService=d(Zu),this.isRefreshing=!1}refreshAccessToken(){return this.isRefreshing||(this.isRefreshing=!0,this.refreshAccessTokenReqeust=jt(this.oauthService.silentRefresh()).pipe(vt(e=>{this.isRefreshing=!1}),X(()=>this.oauthService.getAccessToken()),Qd({bufferSize:1,refCount:!0}))),this.refreshAccessTokenReqeust}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var E2=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=G({type:t})}static{this.\u0275inj=q({providers:[Es(Ss())],imports:[Ue]})}}return t})();var ho=(()=>{class t{constructor(){this.$http=d(ro),this.config={}}setConfig(e){this.config=e}setContext(e){this.context=e}handleError(e){this.config.LOG_ERRORS==="true"&&this.logError(e),console.error(e)}log(e){let n=this.getStringMessage(e),r=this.createLogMessage(n);if(this.config.SEND_LOGS==="true"&&this.context?.aamcId){let o={withCredentials:"false"};return mf(this.$http.post(this.config.LOG_SERVICE_URL,r,{headers:o})).then(()=>r)}return new Promise(o=>{o(null)})}logAnonymous(e){let n=this.createAnonymousLogMessage(e);if(this.config.SEND_LOGS==="true"&&this.config.LOG_SERVICE_API_KEY){let r={"x-api-key":this.config.LOG_SERVICE_API_KEY},o=this.config.LOG_SERVICE_URL??"";o=o.replace(/log$/,"");let a=`${o}anonymous/log`;return mf(this.$http.post(a,n,{headers:r}))}else return new Promise(r=>{r(null)})}event(e,n,r=""){let o=this.getStringMessage(n),a=this.createEventMessage(e,o,r);if(this.config.SEND_LOGS==="true"){let s={withCredentials:"false"};return this.$http.post(this.config.EVENTLOG_SERVICE_URL,a,{headers:s})}return K()}
9logError(e){let{columnNumber:n,fileName:r,lineNumber:o,message:a,stack:s}=e,l={columnNumber:n,fileName:r,lineNumber:o,message:a,stack:s},c=this.getStringMessage(l),u=this.createLogMessage(c),h={withCredentials:"false"};return this.config.SEND_LOGS==="true"&&this.context?.aamcId?mf(this.$http.post(this.config.LOG_SERVICE_URL,u,{headers:h})).then(()=>u):new Promise(m=>{m({})})}createLogMessage(e){let n=null,r=null;return this.context&&(n=this.context.aamcId,r=this.context.wamId),{date:new Date(Date.now()),sourceSystemCd:this.config.APP_CODE,appCode:this.config.APP_CODE,userAgent:window.navigator.userAgent,url:window.location.href,aamcId:n,wamId:r,eventDetail:e,message:e}}createAnonymousLogMessage(e){return{eventTimestamp:new Date().toISOString(),sourceSystemCd:this.config.APP_CODE,userAgent:window.navigator.userAgent,eventDetail:e}}createEventMessage(e,n,r){let o=null,a=null;this.context&&(o=this.context.aamcId,a=this.context.wamId);let s={eventTimestamp:new Date(Date.now())+"",sourceSystemCd:this.config.APP_CODE,userAgent:window.navigator.userAgent,aamcId:o,wamId:a,eventType:e,eventDetail:n};return r&&(s.eventId=r),s}transformToEventLogObject(e,n){let r={eventId:n,userAgent:window.navigator.userAgent,url:window.location.href,appCode:this.config.APP_CODE};try{this.context&&(r.aamcId=this.context.aamcId,r.userId=this.context.username,r.wamId=this.context.wamId)}catch(o){}return typeof e=="string"?r.message=e:typeof e=="object"&&Object.keys(e).forEach(o=>{r[o]=e[o]+""}),r}getStringMessage(e){if(typeof e=="string")return e;{let n=[];try{return JSON.stringify(e,(o,a)=>{if(typeof a=="object"&&a!==null){if(n.indexOf(a+"")!==-1)return"";n.push(a+"")}return a})}catch(r){return""}}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var hb=ar("[FeatureFlags] Launch Darkly Initializing...",co()),Jm=ar("[FeatureFlags] Launch Darkly User Update...",co()),fb=ar("[FeatureFlags] Launch Darkly Ready & Feature Flags are fetched successfully!",co()),mb=ar("[FeatureFlags] Launch Darkly refresh all Feature Flags successfully!",co()),ep=ar("[FeatureFlags] Launch Darkly Failed!",co());var pb="featureFlags",XY={initialized:!1,clientIds:null,userContext:null,projects:{},error:null},JY=AL(XY,Wu(hb,(t,i)=>Y(x({},t),{initialized:!1,userContext:i.userContext,clientIds:i.clientIds})),Wu(Jm,(t,i)=>Y(x({},t),{initialized:!0,userContext:x(x({},t.userContext),i.userContext)})),Wu(fb,(t,i)=>Y(x({},t),{initialized:!0,projects:Y(x({},t.projects),{[i.clientId]:{initialized:!0,clientId:i.clientId,featureFlags:i.featureFlags,error:null}})})),Wu(mb,(t,i)=>Y(x({},t),{initialized:!0,projects:Y(x({},t.projects),{[i.clientId]:{initialized:!0,clientId:i.clientId,featureFlags:i.featureFlags,error:null}})})),Wu(ep,(t,i)=>Y(x({},t),{initialized:!0,error:i.error,projects:Y(x({},t.projects),{[i.clientId]:{initialized:!0,clientId:i.clientId,featureFlags:{},error:i.error}})})));function T2(t,i){return JY(t,i)}var ed=new T("FeatureFlagsConfiguration"),tp=new T("FeatureFlagsTargetedUserService");var Ku={};yg(Ku,{TargetedUserStrategy:()=>kl});var kl=(function(t){return t.Untargeted="Untargeted",t.TargetUserProfile="TargetUserProfile",t.Custom="Custom",t})(kl||{});var eQ=t=>({initialized:t.auth?t.auth.initialized:!1,valid:t.auth?t.auth.valid:!1,user:t.auth?t.auth.user:null}),gb=(()=>{class t{constructor(){this.featureFlagConfig=d(ed),this.authStore=d(ht)}getTargetedUser(){switch(this.featureFlagConfig?.targetedUserStrategy){case kl.TargetUserProfile:return this.getTargetedUserProfile();case kl.Custom:throw new Error("AamcFeatureFlagsModule: TargetedUserStrategy set to Custom, but DefaultTargetedUserService is not overridden. You must provide a FeatureFlagsTargetedUserService in the app module to override the default targeted user service.");case kl.Untargeted:default:return K(this.getAnonymousUser())}}getAnonymousUser(){return{kind:"user",anonymous:!0,bypass:this.getQueryParam("bypass")}}getTargetedUserProfile(){return this.authStore.pipe(cn(eQ),J(e=>e.initialized===!0&&(e.valid===!1||e.user!==null)),X(e=>{let n=this.getAnonymousUser();
9return e.user&&(n={kind:"user",key:e.user.aamcId.toString(),anonymous:!1,appCode:e.user.appCode??"",username:e.user.username,wamId:e.user.wamId,roles:this.getRoleString(e.user),bypass:this.getQueryParam("bypass")}),n}))}getRoleString(e){return e===null?[]:e.authorities.map(o=>`${o.authority}_${o.groupId}_${o.institutionId}`)}getQueryParam(e){let n=null,r=window.location.href,o=r.indexOf("?");return o>-1&&o<r.length&&(n=new URLSearchParams(r.substring(o+1)).get(e)),n}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var SS=(()=>{class t{static forRoot(e){return{ngModule:t,providers:[{provide:ed,useValue:e},{provide:tp,useClass:gb}]}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=G({type:t})}static{this.\u0275inj=q({imports:[Ue,$u.forFeature(pb,T2)]})}}return t})();var np=XE(pb),I2=uo(np,t=>t?.initialized),A2=uo(np,t=>t?.error),k2=t=>{let i=!0;return t.clientIds&&t.clientIds.forEach(e=>{(!t.projects||!t.projects[e]||t.projects[e].initialized===!1)&&(i=!1)}),t.initialized&&i},lke=uo(np,t=>k2(t)),tQ=t=>{let i=Object.values(t.projects),e={};return i.forEach(n=>{n.initialized&&(e=x(x({},e),n.featureFlags))}),e},TS=uo(np,t=>({inited:k2(t),featureFlags:tQ(t)})),cke=uo(np,t=>t?.error);function Ol(t){function i(e,n){Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.message=e,this.code=n}return i.prototype=new Error,i.prototype.name=t,i.prototype.constructor=i,i}var iQ=Ol("LaunchDarklyUnexpectedResponseError"),rQ=Ol("LaunchDarklyInvalidEnvironmentIdError"),oQ=Ol("LaunchDarklyInvalidUserError"),aQ=Ol("LaunchDarklyInvalidEventKeyError"),sQ=Ol("LaunchDarklyInvalidArgumentError"),lQ=Ol("LaunchDarklyFlagFetchError");for(Sn={LDUnexpectedResponseError:iQ,LDInvalidEnvironmentIdError:rQ,LDInvalidUserError:oQ,LDInvalidEventKeyError:aQ,LDInvalidArgumentError:sQ,LDInvalidDataError:Ol("LaunchDarklyInvalidDataError"),LDFlagFetchError:lQ,LDTimeoutError:Ol("LaunchDarklyTimeoutError"),isHttpErrorRecoverable:function(t){return!(t>=400&&t<500)||t===400||t===408||t===429}},nV=function(t){var i=N2(t),e=i[0],n=i[1];return 3*(e+n)/4-n},iV=function(t){var i,e,n=N2(t),r=n[0],o=n[1],a=new O2((function(c,u,h){return 3*(u+h)/4-h})(0,r,o)),s=0,l=o>0?r-4:r;for(e=0;e<l;e+=4)i=Lr[t.charCodeAt(e)]<<18|Lr[t.charCodeAt(e+1)]<<12|Lr[t.charCodeAt(e+2)]<<6|Lr[t.charCodeAt(e+3)],a[s++]=i>>16&255,a[s++]=i>>8&255,a[s++]=255&i;return o===2&&(i=Lr[t.charCodeAt(e)]<<2|Lr[t.charCodeAt(e+1)]>>4,a[s++]=255&i),o===1&&(i=Lr[t.charCodeAt(e)]<<10|Lr[t.charCodeAt(e+1)]<<4|Lr[t.charCodeAt(e+2)]>>2,a[s++]=i>>8&255,a[s++]=255&i),a},rV=function(t){for(var i,e=t.length,n=e%3,r=[],o=16383,a=0,s=e-n;a<s;a+=o)r.push(dQ(t,a,a+o>s?s:a+o));return n===1?(i=t[e-1],r.push(na[i>>2]+na[i<<4&63]+"==")):n===2&&(i=(t[e-2]<<8)+t[e-1],r.push(na[i>>10]+na[i>>4&63]+na[i<<2&63]+"=")),r.join("")},na=[],Lr=[],O2=typeof Uint8Array<"u"?Uint8Array:Array,IS="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",td=0;td<64;++td)na[td]=IS[td],Lr[IS.charCodeAt(td)]=td;var Sn,nV,iV,rV,na,Lr,O2,IS,td;function N2(t){var i=t.length;if(i%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");return e===-1&&(e=i),[e,e===i?0:4-e%4]}function cQ(t){return na[t>>18&63]+na[t>>12&63]+na[t>>6&63]+na[63&t]}function dQ(t,i,e){for(var n,r=[],o=i;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(255&t[o+2]),r.push(cQ(n));return r.join("")}Lr[45]=62,Lr[95]=63;var uQ={byteLength:nV,toByteArray:iV,fromByteArray:rV},R2=Array.isArray,P2=Object.keys,hQ=Object.prototype.hasOwnProperty,fQ=function t(i,e){if(i===e)return!0;if(i&&e&&typeof i=="object"&&typeof e=="object"){var n,r,o,a=R2(i),s=R2(e);if(a&&s){if((r=i.length)!=e.length)return!1;for(n=r;n--!==0;)if(!t(i[n],e[n]))return!1;return!0}if(a!=s)return!1;var l=i instanceof Date,c=e instanceof Date;if(l!=c)return!1;if(l&&c)return i.getTime()==e.getTime();var u=i instanceof RegExp,h=e instanceof RegExp;if(u!=h)return!1;if(u&&h)return i.toString()==e.toString();var m=P2(i);if((r=m.length)!==P2(e).length)return!1;for(n=r;n--!==0;)if(!hQ.call(e,m[n]))return!1;for(n=r;n--!==0;)if(!t(i[o=m[n]],e[o]))return!1;return!0}return i!=i&&e!=e},mQ=["key","ip","country","email","firstName","lastName","avatar","name"];function F2(t){let i=unescape(encodeURIComponent(t));return uQ.fromByteArray((function(e){let n=[];for(let r=0;r<e.length;r++)n.push(e.charCodeAt(r));return n})(i))}function AS(t,i){return Object.prototype.hasOwnProperty.call(t,i)}var at={appendUrlPath:function(t,i){return(t.endsWith("/")?t.substring(0,t.length-1):t)+(i.startsWith("/")?"":"/")+i},base64URLEncode:function(t){return F2(t).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},btoa:F2,clone:function(t){return JSON.parse(JSON.stringify(t))},deepEquals:function(t,i){return fQ(t,i)},extend:function(...t){return t.reduce((i,e)=>x(x({},i),e),{})}
9,getLDUserAgentString:function(t){let i=t.version||"?";return t.userAgent+"/"+i},objectHasOwnProperty:AS,onNextTick:function(t){setTimeout(t,0)},sanitizeContext:function(t){if(!t)return t;let i;return t.kind!==null&&t.kind!==void 0||mQ.forEach(e=>{let n=t[e];n!==void 0&&typeof n!="string"&&(i=i||x({},t),i[e]=String(n))}),i||t},transformValuesToVersionedValues:function(t){let i={};for(let e in t)AS(t,e)&&(i[e]={value:t[e],version:0});return i},transformVersionedValuesToValues:function(t){let i={};for(let e in t)AS(t,e)&&(i[e]=t[e].value);return i},wrapPromiseCallback:function(t,i){let e=t.then(n=>(i&&setTimeout(()=>{i(null,n)},0),n),n=>{if(!i)return Promise.reject(n);setTimeout(()=>{i(n,null)},0)});return i?void 0:e},once:function(t){let i,e=!1;return function(...n){return e||(e=!0,i=t.apply(this,n)),i}}},pQ={start:0,end:3},gQ={start:4,end:5},kS={start:6,end:7},OS={start:8,end:8},_Q={start:9,end:9},vQ={start:10,end:15};function Xu(t,i){let e="";for(let n=i.start;n<=i.end;n+=1)e+=t[n].toString(16).padStart(2,"0");return e}function oV(t){return t[OS.start]=191&t[OS.start]|128,t[kS.start]=15&t[kS.start]|64,`${Xu(t,pQ)}-${Xu(t,gQ)}-${Xu(t,kS)}-${Xu(t,OS)}${Xu(t,_Q)}-${Xu(t,vQ)}`}function L2(){let t=(function(){if(typeof crypto<"u"&&crypto.getRandomValues){let e=new Uint8Array(16);return crypto.getRandomValues(e),[...e.values()]}let i=[];for(let e=0;e<16;e+=1)i.push(Math.floor(256*Math.random()));return i})();return oV(t)}var BS={randomUuidV4:function(){return typeof crypto<"u"&&typeof crypto.randomUUID=="function"?crypto.randomUUID():L2()},fallbackUuidV4:L2,formatDataAsUuidV4:oV},ip=["debug","info","warn","error","none"],US={commonBasicLogger:function(t,i){if(t&&t.destination&&typeof t.destination!="function")throw new Error("destination for basicLogger was set to a non-function");function e(c){return function(u){console&&console[c]&&console[c].call(console,u)}}let n=t&&t.destination?[t.destination,t.destination,t.destination,t.destination]:[e("log"),e("info"),e("warn"),e("error")],r=!(!t||!t.destination),o=t&&t.prefix!==void 0&&t.prefix!==null?t.prefix:"[LaunchDarkly] ",a=1;if(t&&t.level)for(let c=0;c<ip.length;c++)ip[c]===t.level&&(a=c);function s(c,u,h){if(h.length<1)return;let m,p=r?u+": "+o:o;if(h.length!==1&&i){let b=[...h];b[0]=p+b[0],m=i(...b)}else m=p+h[0];try{n[c](m)}catch(b){console&&console.log&&console.log("[LaunchDarkly] Configured logger's "+u+" method threw an exception: "+b)}}let l={};for(let c=0;c<ip.length;c++){let u=ip[c];if(u!=="none")if(c<a)l[u]=()=>{};else{let h=c;l[u]=function(){s(h,u,arguments)}}}return l},validateLogger:function(t){ip.forEach(i=>{if(i!=="none"&&(!t[i]||typeof t[i]!="function"))throw new Error("Provided logger instance must support logger."+i+"(...) method")})}};function _b(t){return t&&t.message?t.message:typeof t=="string"||t instanceof String?t:JSON.stringify(t)}var Ju=" Please see https://docs.launchdarkly.com/sdk/client-side/javascript#initialize-the-client for instructions on SDK initialization.",Ke={bootstrapInvalid:function(){return"LaunchDarkly bootstrap data is not available because the back end could not read the flags."},bootstrapOldFormat:function(){return"LaunchDarkly client was initialized with bootstrap data that did not include flag metadata. Events may not be sent correctly."+Ju},clientInitialized:function(){return"LaunchDarkly client initialized"},clientNotReady:function(){return"LaunchDarkly client is not ready"},debugEnqueueingEvent:function(t){return'enqueueing "'+t+'" event'},debugPostingDiagnosticEvent:function(t){return"sending diagnostic event ("+t.kind+")"},debugPostingEvents:function(t){return"sending "+t+" events"},debugStreamDelete:function(t){return'received streaming deletion for flag "'+t+'"'},debugStreamDeleteIgnored:function(t){return'received streaming deletion for flag "'+t+'" but ignored due to version check'},debugStreamPatch:function(t){return'received streaming update for flag "'+t+'"'},debugStreamPatchIgnored:function(t){return'received streaming update for flag "'+t+'" but ignored due to version check'},debugStreamPing:function(){return"received ping message from stream"},debugPolling:function(t){return"polling for feature flags at "+t},debugStreamPut:function(){return"received streaming update for all flags"},deprecated:function(t,i){return i?'"'+t+'" is deprecated, please use "'+i+'"':'"'+t+'" is deprecated'},environmentNotFound:function(){return"Environment not found. Double check that you specified a valid environment/client-side ID."+Ju},environmentNotSpecified:function(){return"No environment/client-side ID was specified."+Ju},errorFetchingFlags:function(t){return"Error fetching flag settings: "+_b(t)},eventCapacityExceeded:function(){return"Exceeded event queue capacity. Increase capacity to avoid dropping events."},eventWithoutContext:function(){return"Be sure to call `identify` in the LaunchDarkly client: https://docs.lau
9nchdarkly.com/sdk/features/identify#javascript"},httpErrorMessage:function(t,i,e){return"Received error "+t+(t===401?" (invalid SDK key)":"")+" for "+i+" - "+(Sn.isHttpErrorRecoverable(t)?e:"giving up permanently")},httpUnavailable:function(){return"Cannot make HTTP requests in this environment."+Ju},identifyDisabled:function(){return"identify() has no effect here; it must be called on the main client instance"},inspectorMethodError:(t,i)=>`an inspector: "${i}" of type: "${t}" generated an exception`,invalidContentType:function(t){return'Expected application/json content type but got "'+t+'"'},invalidData:function(){return"Invalid data received from LaunchDarkly; connection may have been interrupted"},invalidInspector:(t,i)=>`an inspector: "${i}" of an invalid type (${t}) was configured`,invalidKey:function(){return"Event key must be a string"},invalidMetricValue:t=>`The track function was called with a non-numeric "metricValue" (${t}), only numeric metric values are supported.`,invalidContext:function(){return"Invalid context specified."+Ju},invalidTagValue:t=>`Config option "${t}" must only contain letters, numbers, ., _ or -.`,localStorageUnavailable:function(t){return"local storage is unavailable: "+_b(t)},networkError:t=>"network error"+(t?" ("+t+")":""),optionBelowMinimum:(t,i,e)=>'Config option "'+t+'" was set to '+i+", changing to minimum value of "+e,streamClosing:function(){return"Closing stream connection"},streamConnecting:function(t){return"Opening stream connection to "+t},streamError:function(t,i){return"Error on stream connection: "+_b(t)+", will c
9ontinue retrying after "+i+" milliseconds."},tagValueTooLong:t=>`Value of "${t}" was longer than 64 characters and was discarded.`,unknownCustomEventKey:function(t){return'Custom event "'+t+'" does not exist'},unknownOption:t=>'Ignoring unknown config option "'+t+'"',contextNotSpecified:function(){return"No context specified."+Ju},unrecoverableStreamError:t=>`Error on stream connection ${_b(t)}, giving up permanently`,wrongOptionType:(t,i,e)=>'Config option "'+t+'" should be of type '+i+", got "+e+", using default value",wrongOptionTypeBoolean:(t,i)=>'Config option "'+t+'" should be a boolean, got '+i+", converting to boolean"},{validateLogger:yQ}=US,V2={baseUrl:{default:"https://app.launchdarkly.com"},streamUrl:{default:"https://clientstream.launchdarkly.com"},eventsUrl:{default:"https://events.launchdarkly.com"},sendEvents:{default:!0},streaming:{type:"boolean"},sendLDHeaders:{default:!0},requestHeaderTransform:{type:"function"},sendEventsOnlyForVariation:{default:!1},useReport:{default:!1},evaluationReasons:{default:!1},eventCapacity:{default:100,minimum:1},flushInterval:{default:2e3,minimum:2e3},samplingInterval:{default:0,minimum:0},streamReconnectDelay:{default:1e3,minimum:0},allAttributesPrivate:{default:!1},privateAttributes:{default:[]},bootstrap:{type:"string|object"},diagnosticRecordingInterval:{default:9e5,minimum:2e3},diagnosticOptOut:{default:!1},wrapperName:{type:"string"},wrapperVersion:{type:"string"},stateProvider:{type:"object"},application:{validator:function(t,i,e){let n={};return i.id&&(n.id=j2(`${t}.id`,i.id,e)),i.version&&(n.version=j2(`${t}.version`,i.version,e)),n}},inspectors:{default:[]},hooks:{default:[]},plugins:{default:[]}},bQ=/^(\w|\.|-)+$/;function NS(t){return t&&t.replace(/\/+$/,"")}function j2(t,i,e){if(typeof i=="string"&&i.match(bQ)){if(!(i.length>64))return i;e.warn(Ke.tagValueTooLong(t))}else e.warn(Ke.invalidTagValue(t))}var HS={baseOptionDefs:V2,validate:function(t,i,e,n){let r=at.extend({logger:{default:n}},V2,e),o={};function a(l){at.onNextTick(()=>{i&&i.maybeReportError(new Sn.LDInvalidArgumentError(l))})}let s=at.extend({},t||{});return(function(l){let c=l;Object.keys(o).forEach(u=>{if(c[u]!==void 0){let h=o[u];n&&n.warn(Ke.deprecated(u,h)),h&&(c[h]===void 0&&(c[h]=c[u]),delete c[u])}})})(s),s=(function(l){let c=at.extend({},l);return Object.keys(r).forEach(u=>{c[u]!==void 0&&c[u]!==null||(c[u]=r[u]&&r[u].default)}),c})(s),s=(function(l){let c=at.extend({},l),u=h=>{if(h===null)return"any";if(h===void 0)return;if(Array.isArray(h))return"array";let m=typeof h;return m==="boolean"||m==="string"||m==="number"||m==="function"?m:"object"};return Object.keys(l).forEach(h=>{let m=l[h];if(m!=null){let p=r[h];if(p===void 0)a(Ke.unknownOption(h));else{let b=p.type||u(p.default),D=p.validator;if(D){let A=D(h,l[h],n);A!==void 0?c[h]=A:delete c[h]}else if(b!=="any"){let A=b.split("|"),k=u(m);A.indexOf(k)<0?b==="boolean"?(c[h]=!!m,a(Ke.wrongOptionTypeBoolean(h,k))):(a(Ke.wrongOptionType(h,b,k)),c[h]=p.default):k==="number"&&p.minimum!==void 0&&m<p.minimum&&(a(Ke.optionBelowMinimum(h,m,p.minimum)),c[h]=p.minimum)}}}}),c.baseUrl=NS(c.baseUrl),c.streamUrl=NS(c.streamUrl),c.eventsUrl=NS(c.eventsUrl),c})(s),yQ(s.logger),s},getTags:function(t){let i={};return t&&(t.application&&t.application.id!==void 0&&t.application.id!==null&&(i["application-id"]=[t.application.id]),t.application&&t.application.version!==void 0&&t.application.id!==null&&(i["application-version"]=[t.application.version])),i}},{getLDUserAgentString:CQ}=at,zS={getLDHeaders:function(t,i){if(i&&!i.sendLDHeaders)return{};let e={};e[t.userAgentHeaderName||"User-Agent"]=CQ(t),i&&i.wrapperName&&(e["X-LaunchDarkly-Wrapper"]=i.wrapperVersion?i.wrapperName+"/"+i.wrapperVersion:i.wrapperName);let n=HS.getTags(i),r=Object.keys(n);return r.length&&(e["x-launchdarkly-tags"]=r.sort().map(o=>Array.isArray(n[o])?n[o].sort().map(a=>`${o}/${a}`):[`${o}/${n[o]}`]).reduce((o,a)=>o.concat(a),[]).join(" ")),e},transformHeaders:function(t,i){return i&&i.requestHeaderTransform?i.requestHeaderTransform(x({},t)):t}},{randomUuidV4:wQ}=BS,{getLDHeaders:xQ,transformHeaders:DQ}=zS,aV=function(t,i,e){let n=at.extend({"Content-Type":"application/json"},xQ(t,e)),r={};return r.sendEvents=(o,a,s)=>{if(!t.httpRequest)return Promise.resolve();let l=JSON.stringify(o),c=s?null:wQ();return(function u(h){let m=s?n:at.extend({},n,{"X-LaunchDarkly-Event-Schema":"4","X-LaunchDarkly-Payload-ID":c});return t.httpRequest("POST",a,DQ(m,e),l).promise.then(p=>{if(p)return p.status>=400&&Sn.isHttpErrorRecoverable(p.status)&&h?u(!1):(function(b){let D={status:b.status},A=b.header("date");if(A){let k=Date.parse(A);k&&(D.serverTime=k)}return D})(p)}).catch(()=>h?u(!1):Promise.reject())})(!0).catch(()=>{})},r},MQ=function t(i,e=[]){if(i===null||typeof i!="object")return JSON.stringify(i);if(e.includes(i))throw new Error("Cycle detected");return Array.isArray(i)?`[${i.map(n=>t(n,[...e,i])).map(n=>n===void 0?"null":n).join(",")}]`:`{${Object.keys(i).sort().map(n=>{let r=t(i[n],[...e,i]);if(r!==void 0)return`${JSON.stringify(n)}:${r}`}).filter(n=>n!==void 0).join(",")}}`},{commonBasicLogger:EQ}=US;function B2(t){return typeof t=="string"&&t!=="kind"&&t.match(/^(\w|\.|-)+$/)}function U2(t){return t.includes("%")||t.includes(":")?t.replace(/%/g,"%25").replace(/:/g,"%3A"):t}var Db={checkContext:function(t,i){if(t){if(i&&(t.kind===void 0||t.kind===null))return t.key!==void 0&&t.key!==null;let e=t.key,n=t.kind===void 0?"user":t.kind,r=B2(n),o=n==="multi"||e!=null&&e!=="";if(n==="multi"){let a=Object.keys(t).filter(s=>s!=="kind");return o&&a.every(s=>B2(s))&&a.every(s=>{let l=t[s].key;return l!=null&&l!==""})}return o&&r}return!1},getContextKeys:function(t,i=EQ()){if(!t)return;let e={},{kind:n,key:r}=t;switch(n){case void 0:e.user=`${r}`;break;case"multi":Object.entries(t).filter(([o])=>o!=="kind").forEach(([o,a])=>
9{a&&a.key&&(e[o]=a.key)});break;case null:i.warn(`null is not a valid context kind: ${t}`);break;case"":i.warn(`'' is not a valid context kind: ${t}`);break;default:e[n]=`${r}`}return e},getContextKinds:function(t){return t?t.kind===null||t.kind===void 0?["user"]:t.kind!=="multi"?[t.kind]:Object.keys(t).filter(i=>i!=="kind"):[]},getCanonicalKey:function(t){if(t){if((t.kind===void 0||t.kind===null||t.kind==="user")&&t.key)return t.key;if(t.kind!=="multi"&&t.key)return`${t.kind}:${U2(t.key)}`;if(t.kind==="multi")return Object.keys(t).sort().filter(i=>i!=="kind").map(i=>`${i}:${U2(t[i].key)}`).join(":")}}},{getContextKinds:SQ}=Db,TQ=function(){let t={},i=0,e=0,n={},r={};return t.summarizeEvent=o=>{if(o.kind==="feature"){let a=o.key+":"+(o.variation!==null&&o.variation!==void 0?o.variation:"")+":"+(o.version!==null&&o.version!==void 0?o.version:""),s=n[a],l=r[o.key];l||(l=new Set,r[o.key]=l),(function(c){return c.context?SQ(c.context):c.contextKeys?Object.keys(c.contextKeys):[]})(o).forEach(c=>l.add(c)),s?s.count=s.count+1:n[a]={count:1,key:o.key,version:o.version,variation:o.variation,value:o.value,default:o.default},(i===0||o.creationDate<i)&&(i=o.creationDate),o.creationDate>e&&(e=o.creationDate)}},t.getSummary=()=>{let o={},a=!0;for(let s of Object.values(n)){let l=o[s.key];l||(l={default:s.default,counters:[],contextKinds:[...r[s.key]]},o[s.key]=l);let c={value:s.value,count:s.count};s.variation!==void 0&&s.variation!==null&&(c.variation=s.variation),s.version!==void 0&&s.version!==null?c.version=s.version:c.unknown=!0,l.counters.push(c),a=!1}return a?null:{startDate:i,endDate:e,features:o,kind:"summary"}},t.clearSummary=()=>{i=0,e=0,n={},r={}},t},IQ=function(t){let i={},e={};return{summarizeEvent:function(n){if(n.kind==="feature"){let r=MQ(n.context);if(!r)return;let o=i[r];o||(i[r]=TQ(),o=i[r],e[r]=n.context),o.summarizeEvent(n)}},getSummaries:function(){let n=i,r=e;return i={},e={},Object.entries(n).map(([o,a])=>{let s=a.getSummary();return s.context=t.filter(r[o]),s})}}};function sV(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}function H2(t){return(t.startsWith("/")?t.substring(1):t).split("/").map(i=>i.indexOf("~")>=0?i.replace(/~1/g,"/").replace(/~0/g,"~"):i)}function z2(t){return!t.startsWith("/")}function $2(t,i){let e=z2(t),n=z2(i);if(e&&n)return t===i;if(e){let r=H2(i);return r.length===1&&t===r[0]}if(n){let r=H2(t);return r.length===1&&i===r[0]}return t===i}function W2(t){return`/${sV(t)}`}var RS={cloneExcluding:function(t,i){let e=[],n={},r=[];for(e.push(...Object.keys(t).map(o=>({key:o,ptr:W2(o),source:t,parent:n,visited:[t]})));e.length;){let o=e.pop();if(i.some(a=>$2(a,o.ptr)))r.push(o.ptr);else{let a=o.source[o.key];if(a===null)o.parent[o.key]=a;else if(Array.isArray(a))o.parent[o.key]=[...a];else if(typeof a=="object"){if(o.visited.includes(a))continue;o.parent[o.key]={},e.push(...Object.keys(a).map(s=>{return{key:s,ptr:(l=o.ptr,c=sV(s),`${l}/${c}`),source:a,parent:o.parent[o.key],visited:[...o.visited,a]};var l,c}))}else o.parent[o.key]=a}}return{cloned:n,excluded:r.sort()}},compare:$2,literalToReference:W2},AQ=function(t){let i={},e=t.allAttributesPrivate,n=t.privateAttributes||[],r=["key","kind","_meta","anonymous"],o=["name","ip","firstName","lastName","email","avatar","country"],a=(s,l)=>{if(typeof s!="object"||s===null||Array.isArray(s))return;let{cloned:c,excluded:u}=RS.cloneExcluding(s,((h,m)=>(e||m&&h.anonymous?Object.keys(h):[...n,...h._meta&&h._meta.privateAttributes||[]]).filter(p=>!r.some(b=>RS.compare(p,b))))(s,l));return c.key=String(c.key),u.length&&(c._meta||(c._meta={}),c._meta.redactedAttributes=u),c._meta&&(delete c._meta.privateAttributes,Object.keys(c._meta).length===0&&delete c._meta),c.anonymous!==void 0&&(c.anonymous=!!c.anonymous),c};return i.filter=(s,l=!1)=>s.kind===void 0||s.kind===null?a((c=>{let u=Y(x({},c.custom||{}),{kind:"user",key:c.key});c.anonymous!==void 0&&(u.anonymous=!!c.anonymous);for(let h of o)delete u[h],c[h]!==void 0&&c[h]!==null&&(u[h]=String(c[h]));return c.privateAttributeNames!==void 0&&c.privateAttributeNames!==null&&(u._meta=u._meta||{},u._meta.privateAttributes=c.privateAttributeNames.map(h=>
9h.startsWith("/")?RS.literalToReference(h):h)),u})(s),l):s.kind==="multi"?((c,u)=>{let h={kind:c.kind},m=Object.keys(c);for(let p of m)if(p!=="kind"){let b=a(c[p],u);b&&(h[p]=b)}return h})(s,l):a(s,l),i},{getContextKeys:kQ}=Db,OQ=function(t,i,e,n=null,r=null,o=null){let a={},s=o||aV(t,e,i),l=at.appendUrlPath(i.eventsUrl,"/events/bulk/"+e),c=AQ(i),u=IQ(c),h=i.samplingInterval,m=i.eventCapacity,p=i.flushInterval,b=i.logger,D,A=[],k=0,L=!1,ce=!1;function oe(){return h===0||Math.floor(Math.random()*h)===0}function _e(ge){let Ae=at.extend({},ge);return ge.kind==="identify"||ge.kind==="feature"||ge.kind==="custom"?Ae.context=c.filter(ge.context):(Ae.contextKeys=kQ(ge.context,b),delete Ae.context),ge.kind==="feature"&&(delete Ae.trackEvents,delete Ae.debugEventsUntilDate),Ae}function ye(ge){A.length<m?(A.push(ge),ce=!1):(ce||(ce=!0,b.warn(Ke.eventCapacityExceeded())),n&&n.incrementDroppedEvents())}return a.enqueue=function(ge){if(L)return;let Ae=!1,Wt=!1;var be;if(u.summarizeEvent(ge),ge.kind==="feature"?oe()&&(Ae=!!ge.trackEvents,Wt=!!(be=ge).debugEventsUntilDate&&be.debugEventsUntilDate>k&&be.debugEventsUntilDate>new Date().getTime()):Ae=oe(),Ae&&ye(_e(ge)),Wt){let Vt=at.extend({},ge,{kind:"debug"});Vt.context=c.filter(Vt.context),delete Vt.trackEvents,delete Vt.debugEventsUntilDate,ye(Vt)}},a.flush=function(){return St(this,null,function*(){if(L)return Promise.resolve();let ge=A;return u.getSummaries().forEach(Ae=>{Object.keys(Ae.features).length&&ge.push(Ae)}),n&&n.setEventsInLastBatch(ge.length),ge.length===0?Promise.resolve():(A=[],b.debug(Ke.debugPostingEvents(ge.length)),s.sendEvents(ge,l).then(Ae=>{Ae&&(Ae.serverTime&&(k=Ae.serverTime),Sn.isHttpErrorRecoverable(Ae.status)||(L=!0),Ae.status>=400&&at.onNextTick(()=>{r.maybeReportError(new Sn.LDUnexpectedResponseError(Ke.httpErrorMessage(Ae.status,"event posting","some events were dropped")))}))}))})},a.start=function(){let ge=()=>{a.flush(),D=setTimeout(ge,p)};D=setTimeout(ge,p)},a.stop=function(){clearTimeout(D)},a},NQ=function(t){let i={},e={};return i.on=function(n,r,o){e[n]=e[n]||[],e[n]=e[n].concat({handler:r,context:o})},i.off=function(n,r,o){if(e[n])for(let a=0;a<e[n].length;a++)e[n][a].handler===r&&e[n][a].context===o&&(e[n]=e[n].slice(0,a).concat(e[n].slice(a+1)))},i.emit=function(n){if(!e[n])return;let r=e[n].slice(0);for(let o=0;o<r.length;o++)r[o].handler.apply(r[o].context,Array.prototype.slice.call(arguments,1))},i.getEvents=function(){return Object.keys(e)},i.getEventListenerCount=function(n){return e[n]?e[n].length:0},i.maybeReportError=function(n){n&&(e.error?this.emit("error",n):(t||console).error(n.message))},i},vb="ready",PS="initialized",FS="failed",RQ=function(t){let i=!1,e=!1,n=null,r=null,o=new Promise(a=>{let s=()=>{t.off(vb,s),a()};t.on(vb,s)}).catch(()=>{});return{getInitializationPromise:()=>r||(i?Promise.resolve():e?Promise.reject(n):(r=new Promise((a,s)=>{let l=()=>{t.off(PS,l),a()},c=u=>{t.off(FS,c),s(u)};t.on(PS,l),t.on(FS,c)}),r)),getReadyPromise:()=>o,signalSuccess:()=>{i||e||(i=!0,t.emit(PS),t.emit(vb))},signalFailure:a=>{i||e||(e=!0,n=a,t.emit(FS,a),t.emit(vb)),t.maybeReportError(a)}}},PQ=function(t,i,e,n){let r={};function o(){let a="",s=n.getContext();return s&&(a=e||at.btoa(JSON.stringify(s))),"ld:"+i+":"+a}return r.loadFlags=()=>t.get(o()).then(a=>{if(a==null)return null;try{let s=JSON.parse(a);if(s){let l=s.$schema;l===void 0||l<1?s=at.transformValuesToVersionedValues(s):delete s.$schema}return s}catch(s){return r.clearFlags().then(()=>null)}}),r.saveFlags=a=>{let s=at.extend({},a,{$schema:1});return t.set(o(),JSON.stringify(s))},r.clearFlags=()=>t.clear(o()),r},FQ=function(t,i){let e={},n=!1,r=o=>{n||(n=!0,i.warn(Ke.localStorageUnavailable(o)))};return e.isEnabled=()=>!!t,e.get=o=>new Promise(a=>{t?t.get(o).then(a).catch(s=>{r(s),a(void 0)}):a(void 0)}),e.set=(o,a)=>new Promise(s=>{t?t.set(o,a).then(()=>s(!0)).catch(l=>{r(l),s(!1)}):s(!1)}),e.clear=o=>new Promise(a=>{t?t.clear(o).then(()=>a(!0)).catch(s=>{r(s),a(!1)}):a(!1)}),e},{appendUrlPath:q2,base64URLEncode:LQ,objectHasOwnProperty:VQ}=at,{getLDHeaders:jQ,transformHeaders:BQ}=zS,{isHttpErrorRecoverable:UQ}=Sn,HQ=function(t,i,e,n){let r=i.streamUrl,o=i.logger,a={},s=q2(r,"/eval/"+e),l=i.useReport,c=i.evaluationReasons,u=i.streamReconnectDelay,h=jQ(t,i),m,p=!1,b=null,D=null,A=null,k=null,L=null,ce=0;function oe(){let be=(Vt=(function(){let Kt=u*Math.pow(2,ce);return Kt>3e4?3e4:Kt})(),Vt-Math.trunc(.5*Math.random()*Vt));var Vt;return ce+=1,be}function _e(be){if(be.status&&typeof be.status=="number"&&!UQ(be.status))return Ae(),o.error(Ke.unrecoverableStreamError(be)),void(D&&(clearTimeout(D),D=null));let Vt=oe();p||(o.warn(Ke.streamError(be,Vt)),p=!0),Wt(!1),Ae(),ye(Vt)}function ye(be){D||(be?D=setTimeout(ge,be):ge())}function ge(){let be;D=null;let Vt="",Kt={headers:h,readTimeoutMillis:3e5};
9if(t.eventSourceFactory){k!=null&&(Vt="h="+k),l?t.eventSourceAllowsReport?(be=s,Kt.method="REPORT",Kt.headers["Content-Type"]="application/json",Kt.body=JSON.stringify(A)):(be=q2(r,"/ping/"+e),Vt=""):be=s+"/"+LQ(JSON.stringify(A)),Kt.headers=BQ(Kt.headers,i),c&&(Vt=Vt+(Vt?"&":"")+"withReasons=true"),be=be+(Vt?"?":"")+Vt,Ae(),o.info(Ke.streamConnecting(be)),m=new Date().getTime(),b=t.eventSourceFactory(be,Kt);for(let Li in L)VQ(L,Li)&&b.addEventListener(Li,L[Li]);b.onerror=_e,b.onopen=()=>{ce=0}}}function Ae(){b&&(o.info(Ke.streamClosing()),b.close(),b=null)}function Wt(be){m&&n&&n.recordStreamInit(m,!be,new Date().getTime()-m),m=null}return a.connect=function(be,Vt,Kt){A=be,k=Vt,L={};for(let Li in Kt||{})L[Li]=function(ma){p=!1,Wt(!0),Kt[Li]&&Kt[Li](ma)};ye()},a.disconnect=function(){clearTimeout(D),D=null,Ae()},a.isConnected=function(){return!!(b&&t.eventSourceIsActive&&t.eventSourceIsActive(b))},a},zQ=function(t){let i,e,n,r,o={addPromise:(a,s)=>{i=a,e&&e(),e=s,a.then(l=>{i===a&&(n(l),t&&t())},l=>{i===a&&(r(l),t&&t())})}};return o.resultPromise=new Promise((a,s)=>{n=a,r=s}),o},{transformHeaders:$Q,getLDHeaders:WQ}=zS,G2="application/json",qQ=function(t,i,e){let n=i.baseUrl,r=i.useReport,o=i.evaluationReasons,a=i.logger,s={},l={};function c(u,h){if(!t.httpRequest)return new Promise((k,L)=>{L(new Sn.LDFlagFetchError(Ke.httpUnavailable()))});let m=h?"REPORT":"GET",p=WQ(t,i);h&&(p["Content-Type"]=G2);let b=l[u];b||(b=zQ(()=>{delete l[u]}),l[u]=b);let D=t.httpRequest(m,u,$Q(p,i),h),A=D.promise.then(k=>{if(k.status===200){if(k.header("content-type")&&k.header("content-type").substring(0,16)===G2)return JSON.parse(k.body);{let L=Ke.invalidContentType(k.header("content-type")||"");return Promise.reject(new Sn.LDFlagFetchError(L))}}return Promise.reject((function(L){return L.status===404?new Sn.LDInvalidEnvironmentIdError(Ke.environmentNotFound()):new Sn.LDFlagFetchError(Ke.errorFetchingFlags(L.statusText||String(L.status)))})(k))},k=>Promise.reject(new Sn.LDFlagFetchError(Ke.networkError(k))));return b.addPromise(A,()=>{D.cancel&&D.cancel()}),b.resultPromise}return s.fetchJSON=function(u){return c(at.appendUrlPath(n,u),null)},s.fetchFlagSettings=function(u,h){let m,p,b,D="";return r?(p=[n,"/sdk/evalx/",e,"/context"].join(""),b=JSON.stringify(u)):(m=at.base64URLEncode(JSON.stringify(u)),p=[n,"/sdk/evalx/",e,"/contexts/",m].join("")),h&&(D="h="+h),o&&(D=D+(D?"&":"")+"withReasons=true"),p=p+(D?"?":"")+D,a.debug(Ke.debugPolling(p)),c(p,b)},s},GQ=function(t,i){let e={},n;return e.setContext=function(r){n=at.sanitizeContext(r),n&&i&&i(at.clone(n))},e.getContext=function(){return n?at.clone(n):null},t&&e.setContext(t),e},{randomUuidV4:YQ}=BS,{getContextKinds:QQ}=Db,ZQ=function(t){function i(n){return n==null||n==="user"?"ld:$anonUserId":`ld:$contextKey:${n}`}function e(n,r){return r.key!==null&&r.key!==void 0?(r.key=r.key.toString(),Promise.resolve(r)):r.anonymous?(function(o){return t.get(i(o))})(n).then(o=>{if(o)return r.key=o,r;{let a=YQ();return r.key=a,(function(s,l){return t.set(i(l),s)})(a,n).then(()=>r)}}):Promise.reject(new Sn.LDInvalidUserError(Ke.invalidContext()))}this.processContext=n=>{if(!n)return Promise.reject(new Sn.LDInvalidUserError(Ke.contextNotSpecified()));let r=at.clone(n);if(n.kind==="multi"){let o=QQ(r);return Promise.all(o.map(a=>e(a,r[a]))).then(()=>r)}return e(n.kind,r)}},{randomUuidV4:KQ}=BS,{baseOptionDefs:LS}=HS,{appendUrlPath:XQ}=at,VS={DiagnosticId:function(t){let i={diagnosticId:KQ()};return t&&(i.sdkKeySuffix=t.length>6?t.substring(t.length-6):t),i},DiagnosticsAccumulator:function(t){let i,e,n,r;function o(a){i=a,e=0,n=0,r=[]}return o(t),{getProps:()=>({dataSinceDate:i,droppedEvents:e,eventsInLastBatch:n,streamInits:r}),setProps:a=>{i=a.dataSinceDate,e=a.droppedEvents||0,n=a.eventsInLastBatch||0,r=a.streamInits||[]},incrementDroppedEvents:()=>{e++},setEventsInLastBatch:a=>{n=a},recordStreamInit:(a,s,l)=>{let c={timestamp:a,failed:s,durationMillis:l};r.push(c)},reset:o}},DiagnosticsManager:function(t,i,e,n,r,o,a){let s=!!t.diagnosticUseCombinedEvent,l="ld:"+r+":$diagnostics",c=XQ(o.eventsUrl,"/events/diagnostic/"+r),u=o.diagnosticRecordingInterval,h=e,m,p,b=!!o.streaming,D={};function A(){return{sdk:ce(),configuration:oe(),platform:t.diagnosticPlatformData}}function k(_e){o.logger&&o.logger.debug(Ke.debugPostingDiagnosticEvent(_e)),n.sendEvents(_e,c,!0).then(()=>{}).catch(()=>{})}function L(){k((function(){let _e=new Date().getTime(),ye=x({kind:s?"diagnostic-combined":"diagnostic",id:a,creationDate:_e},h.getProps());return s&&(ye=x(x({},ye),A())),h.reset(_e),ye})()),p=setTimeout(L,u),m=new Date().getTime(),s&&(function(){if(i.isEnabled()){let _e=x({},h.getProps());i.set(l,JSON.stringify(_e))}})()}function ce(){let _e=x({},t.diagnosticSdkData);return o.wrapperName&&(_e.wrapperName=o.wrapperName),o.wrapperVersion&&(_e.wrapperVersion=o.wrapperVersion),_e}function oe(){return{customBaseURI:o.baseUrl!==LS.baseUrl.default,customStreamURI:o.streamUrl!==LS.streamUrl.default,customEventsURI:o.eventsUrl!==LS.eventsUrl.default,eventsCapacity:o.eventCapacity,eventsFlushIntervalMillis:o.flushInterval,reconnectTimeMillis:o.streamReconnectDelay,streamingDisabled:!b,allAttributesPrivate:!!o.allAttributesPrivate,diagnosticRecordingIntervalMillis:o.diagnosticRecordingInterval,usingSecureMode:!!o.hash,bootstrapMode:!!o.bootstrap,fetchGoalsDisabled:!o.fetchGoals,sendEventsOnlyForVariation:!!o.sendEventsOnlyForVariation}}return D.start=()=>{s?(function(_e){if(!i.isEnabled())return _e(!1);i.get(l).then(ye=>{if(ye)try{let ge=JSON.parse(ye);h.setProps(ge),m=ge.dataSinceDate}catch(ge){}_e(!0)}).catch(()=>{_e(!1)})})(_e=>{if(_e){let ye=(m||0)+u,ge=new Date().getTime();ge>=ye?L():p=setTimeout(L,ye-ge)}else Math.floor(4*Math.random())===0?L():p=setTimeout(L,u)}):(k(x({kind:"diagnostic-init",id:a,creationDate:h.getProps().dataSinceDate},A())),p=setTimeout(L,u))},D.stop=()=>{p&&clearTimeout(p)},D.setStreaming=_e=>{b=_e},D}},JQ=function(t,i){let e=!1,n={type:t.type,name:t.name,synchronous:t.synchronous,method:(...r)=>{try{t.method(...r)}catch(o){e||(e=!0,i.warn(Ke.inspectorMethodError(n.type,n.name)))}}};return n},{onNextTick:yb}=at,cr={flagUsed:"flag-used",flagDetailsChanged:"flag-details-changed",flagDetailChanged:"flag-detail-changed",clientIdentityChanged:"client-identity-changed"};Object.freeze(cr);var eZ={InspectorTypes:cr,InspectorManager:function(t,i){let e={},n={[cr.flagUsed]:[],[cr.flagDetailsChanged]:[],[cr.flagDetailChanged]:[],[cr.clientIdentityChanged]:[]}
9,r={[cr.flagUsed]:[],[cr.flagDetailsChanged]:[],[cr.flagDetailChanged]:[],[cr.clientIdentityChanged]:[]},o=t&&t.map(a=>JQ(a,i));return o&&o.forEach(a=>{Object.prototype.hasOwnProperty.call(n,a.type)&&!a.synchronous?n[a.type].push(a):Object.prototype.hasOwnProperty.call(r,a.type)&&a.synchronous?r[a.type].push(a):i.warn(Ke.invalidInspector(a.type,a.name))}),e.hasListeners=a=>n[a]&&n[a].length||r[a]&&r[a].length,e.onFlagUsed=(a,s,l)=>{let c=cr.flagUsed;r[c].length&&r[c].forEach(u=>u.method(a,s,l)),n[c].length&&yb(()=>{n[c].forEach(u=>u.method(a,s,l))})},e.onFlags=a=>{let s=cr.flagDetailsChanged;r[s].length&&r[s].forEach(l=>l.method(a)),n[s].length&&yb(()=>{n[s].forEach(l=>l.method(a))})},e.onFlagChanged=(a,s)=>{let l=cr.flagDetailChanged;r[l].length&&r[l].forEach(c=>c.method(a,s)),n[l].length&&yb(()=>{n[l].forEach(c=>c.method(a,s))})},e.onIdentityChanged=a=>{let s=cr.clientIdentityChanged;r[s].length&&r[s].forEach(l=>l.method(a)),n[s].length&&yb(()=>{n[s].forEach(l=>l.method(a))})},e}},{LDTimeoutError:tZ}=Sn,nZ=function(t,i){return new Promise((e,n)=>{setTimeout(()=>{n(new tZ(`${i} timed out after ${t} seconds.`))},1e3*t)})},Y2="unknown hook";function rp(t,i,e,n,r){try{return n()}catch(o){return t?.error(`An error was encountered in "${i}" of the "${e}" hook: ${o}`),r}}function op(t,i){try{return i.getMetadata().name||Y2}catch(e){return t.error("Exception thrown getting metadata for hook. Unable to get hook name."),Y2}}var iZ=function(t,i){let e=i?[...i]:[];return{withEvaluation:function(n,r,o,a){if(e.length===0)return a();let s=[...e],l={flagKey:n,context:r,defaultValue:o},c=(function(h,m,p){return m.map(b=>rp(h,"beforeEvaluation",op(h,b),()=>b?.beforeEvaluation?.(p,{})??{},{}))})(t,s,l),u=a();return(function(h,m,p,b,D){for(let A=m.length-1;A>=0;A-=1){let k=m[A],L=b[A];rp(h,"afterEvaluation",op(h,k),()=>k?.afterEvaluation?.(p,L,D)??{},{})}})(t,s,l,c,u),u},identify:function(n,r){let o=[...e],a={context:n,timeout:r},s=(function(l,c,u){return c.map(h=>rp(l,"beforeIdentify",op(l,h),()=>h?.beforeIdentify?.(u,{})??{},{}))})(t,o,a);return l=>{(function(c,u,h,m,p){for(let b=u.length-1;b>=0;b-=1){let D=u[b],A=m[b];rp(c,"afterIdentify",op(c,D),()=>D?.afterIdentify?.(h,A,p)??{},{})}})(t,o,a,s,l)}},addHook:function(n){e.push(n)},afterTrack:function(n){if(e.length===0)return;let r=[...e];(function(o,a,s){for(let l=a.length-1;l>=0;l-=1){let c=a[l];rp(o,"afterTrack",op(o,c),()=>c?.afterTrack?.(s),void 0)}})(t,r,n)}}},rZ=function(){let t,i={};function e(n){return t&&at.objectHasOwnProperty(t,n)&&t[n]?t[n]:i&&at.objectHasOwnProperty(i,n)&&i[n]&&!i[n].deleted?i[n]:null}return{clearAllOverrides:function(){if(!t)return{};let n=x({},t);return t=void 0,n},get:e,getFlagOverrides:function(){return t||{}},getFlags:function(){return i},getFlagsWithOverrides:function(){let n={};for(let r in i){let o=e(r);o&&(n[r]=o)}if(t)for(let r in t){let o=e(r);o&&(n[r]=o)}return n},removeOverride:function(n){t&&t[n]&&(delete t[n],Object.keys(t).length===0&&(t=void 0))},setFlags:function(n){i=x({},n)},setOverride:function(n,r){t||(t={}),t[n]={value:r}}}},Q2="unknown plugin";function bb(t,i){try{return i.getMetadata().name||Q2}catch(e){return t.error("Exception thrown getting metadata for plugin. Unable to get plugin name."),Q2}}var oZ={getPluginHooks:function(t,i,e){let n=[];return e.forEach(r=>{try{let o=r.getHooks?.(i);o===void 0?t.error(`Plugin ${bb(t,r)} returned undefined from getHooks.`):o&&o.length>0&&n.push(...o)}catch(o){t.error(`Exception thrown getting hooks for plugin ${bb(t,r)}. Unable to get hooks.`)}}),n},registerPlugins:function(t,i,e,n){n.forEach(r=>{try{r.register(e,i)}catch(o){t.error(`Exception thrown registering plugin ${bb(t,r)}.`)}})},registerPluginsForDebugOverride:function(t,i,e){e.forEach(n=>{try{n.registerDebug?.(i)}catch(r){t.error(`Exception thrown registering debug override with plugin ${bb(t,n)}.`)}})},createPluginEnvironment:function(t,i,e){let n={};t.userAgent&&(n.name=t.userAgent),t.version&&(n.version=t.version),e.wrapperName&&(n.wrapperName=e.wrapperName),e.wrapperVersion&&(n.wrapperVersion=e.wrapperVersion);let r={};e.application&&(e.application.name&&(r.name=e.application.name),e.a
9pplication.version&&(r.version=e.application.version));let o={sdk:n,clientSideId:i};return Object.keys(r).length>0&&(o.application=r),o}},{commonBasicLogger:Z2}=US,{checkContext:aZ,getContextKeys:sZ}=Db,{InspectorTypes:Cb,InspectorManager:lZ}=eZ,{getPluginHooks:cZ,registerPlugins:dZ,registerPluginsForDebugOverride:uZ,createPluginEnvironment:hZ}=oZ,wb="change",K2="internal-change",Mb={initialize:function(t,i,e,n,r){let o=(function(){return e&&e.logger?e.logger:r&&r.logger&&r.logger.default||Z2("warn")})(),a=NQ(o),s=RQ(a),l=HS.validate(e,a,r,o),c=lZ(l.inspectors,o),u=l.sendEvents,h=t,m=l.hash,p=[...l.plugins],b=hZ(n,t,l),D=cZ(o,b,p),A=iZ(o,[...l.hooks,...D]),k=FQ(n.localStorage,o),L=aV(n,h,l),ce=l.sendEvents&&!l.diagnosticOptOut,oe=ce?VS.DiagnosticId(h):null,_e=ce?VS.DiagnosticsAccumulator(new Date().getTime()):null,ye=ce?VS.DiagnosticsManager(n,k,_e,L,h,l,oe):null,ge=HQ(n,l,h,_e),Ae=l.eventProcessor||OQ(n,l,h,_e,a,L),Wt=qQ(n,l,h),be=rZ(),Vt,Kt,Li,ma=l.streaming,ef=!1,Ce=!1,Ne=!0,ke=l.stateProvider,je=GQ(null,function(H){(function(ee){ke||ee&&ni({kind:"identify",context:ee,creationDate:new Date().getTime()})})(H),c.hasListeners(Cb.clientIdentityChanged)&&c.onIdentityChanged(je.getContext())}),Ln=new ZQ(k),mi=k.isEnabled()?PQ(k,h,m,je):null;
9function ni(H){h&&(ke&&ke.enqueueEvent&&ke.enqueueEvent(H)||(H.context?(Ne=!1,!u||Ce||n.isDoNotTrack()||(o.debug(Ke.debugEnqueueingEvent(H.kind)),Ae.enqueue(H))):Ne&&(o.warn(Ke.eventWithoutContext()),Ne=!1)))}function wr(H,ee){c.hasListeners(Cb.flagDetailChanged)&&c.onFlagChanged(H.key,pi(ee))}function fn(){c.hasListeners(Cb.flagDetailsChanged)&&c.onFlags(Object.entries(be.getFlagsWithOverrides()).map(([H,ee])=>({key:H,detail:pi(ee)})).reduce((H,ee)=>(H[ee.key]=ee.detail,H),{}))}function tf(H,ee,te,de){let ft=je.getContext(),Xt=new Date,kt={kind:"feature",key:H,context:ft,value:ee?ee.value:null,variation:ee?ee.variationIndex:null,default:te,creationDate:Xt.getTime()},_n=be.getFlags()[H];_n&&(kt.version=_n.flagVersion?_n.flagVersion:_n.version,kt.trackEvents=_n.trackEvents,kt.debugEventsUntilDate=_n.debugEventsUntilDate),(de||_n&&_n.trackReason)&&ee&&(kt.reason=ee.reason),ni(kt)}function _g(H){return aZ(H,!1)?Promise.resolve(H):Promise.reject(new Sn.LDInvalidUserError(Ke.invalidContext()))}function Vn(H,ee,te,de,ft,Xt){let kt,_n=be.get(H);return _n?(kt=pi(_n),_n.value!==null&&_n.value!==void 0||(kt.value=ee)):kt={value:ee,variationIndex:null,reason:{kind:"ERROR",errorKind:"FLAG_NOT_FOUND"}},te&&(ft||_n?.prerequisites?.forEach(EC=>{Vn(EC,void 0,te,!1,!1,!1)}),tf(H,kt,ee,de)),!ft&&Xt&&(function(EC,a4){c.hasListeners(Cb.flagUsed)&&c.onFlagUsed(EC,a4,je.getContext())})(H,kt),kt}function pi(H){return{value:H.value,variationIndex:H.variation===void 0?null:H.variation,reason:H.reason||null}}function Vi(){if(Kt=!0,!je.getContext())return;let H=ee=>{try{return JSON.parse(ee)}catch(te){return void a.maybeReportError(new Sn.LDInvalidDataError(Ke.invalidData()))}};ge.connect(je.getContext(),m,{ping:function(){o.debug(Ke.debugStreamPing());let ee=je.getContext();Wt.fetchFlagSettings(ee,m).then(te=>{at.deepEquals(ee,je.getContext())&&pa(te||{})}).catch(te=>{a.maybeReportError(new Sn.LDFlagFetchError(Ke.errorFetchingFlags(te)))})},put:function(ee){let te=H(ee.data);te&&(o.debug(Ke.debugStreamPut()),pa(te))},patch:function(ee){let te=H(ee.data);if(!te)return;let de=be.getFlags(),ft=de[te.key];if(!ft||!ft.version||!te.version||ft.version<te.version){o.debug(Ke.debugStreamPatch(te.key));let Xt={},kt=at.extend({},te);delete kt.key,de[te.key]=kt,be.setFlags(de);let _n=pi(kt);Xt[te.key]=ft?{previous:ft.value,current:_n}:{current:_n},wr(te,kt),Fd(Xt)}else o.debug(Ke.debugStreamPatchIgnored(te.key))},delete:function(ee){let te=H(ee.data);if(!te)return;let de=be.getFlags();if(!de[te.key]||de[te.key].version<te.version){o.debug(Ke.debugStreamDelete(te.key));let ft={};de[te.key]&&!de[te.key].deleted&&(ft[te.key]={previous:de[te.key].value}),de[te.key]={version:te.version,deleted:!0},be.setFlags(de),wr(te,de[te.key]),Fd(ft)}else o.debug(Ke.debugStreamDeleteIgnored(te.key))}})}function Qs(){Kt&&(ge.disconnect(),Kt=!1)}function pa(H){let ee={};if(!H)return Promise.resolve();let te=be.getFlags();for(let de in te)at.objectHasOwnProperty(te,de)&&te[de]&&(H[de]&&!at.deepEquals(H[de].value,te[de].value)?ee[de]={previous:te[de].value,current:pi(H[de])}:H[de]&&!H[de].deleted||(ee[de]={previous:te[de].value}));for(let de in H)at.objectHasOwnProperty(H,de)&&H[de]&&(!te[de]||te[de].deleted)&&(ee[de]={current:pi(H[de])});return be.setFlags(x({},H)),fn(),Fd(ee).catch(()=>{})}function Fd(H){let ee=Object.keys(H);if(ee.length>0){let te={};ee.forEach(de=>{let ft=H[de].current,Xt=ft?ft.value:void 0,kt=H[de].previous;a.emit(wb+":"+de,Xt,kt),te[de]=ft?{current:Xt,previous:kt}:{previous:kt}}),a.emit(wb,te),a.emit(K2,be.getFlagsWithOverrides()),l.sendEventsOnlyForVariation||ke||ee.forEach(de=>{tf(de,H[de].current)})}return Vt&&mi?mi.saveFlags(be.getFlags()):Promise.resolve()}function xC(){let H=ma||Li&&ma===void 0;H&&!Kt?Vi():!H&&Kt&&Qs(),ye&&ye.setStreaming(H)}function DC(H){return H===wb||H.substr(0,7)===wb+":"}if(typeof l.bootstrap=="string"&&l.bootstrap.toUpperCase()==="LOCALSTORAGE"&&(mi?Vt=!0:o.warn(Ke.localStorageUnavailable())),typeof l.bootstrap=="object"&&be.setFlags((function(H){let ee=Object.keys(H),te="$flagsState",de="$valid",ft=H[te];!ft&&ee.length&&o.warn(Ke.bootstrapOldFormat()),H[de]===!1&&o.warn(Ke.bootstrapInvalid());let Xt={};return ee.forEach(kt=>{if(kt!==te&&kt!==de){let _n={value:H[kt]};ft&&ft[kt]?_n=at.extend(_n,ft[kt]):_n.version=0,Xt[kt]=_n}}),Xt})(l.bootstrap)),ke){let H=ke.getInitialState();H?RA(H):ke.on("init",RA),ke.on("update",function(ee){ee.context&&je.setContext(ee.context),ee.flags&&pa(ee.flags)})}else(function(){if(!t)return Promise.reject(new Sn.LDInvalidEnvironmentIdError(Ke.environmentNotSpecified()));let H;return Ln.processContext(i).then(_g).then(ee=>(H=at.once(A.identify(ee,void 0)),ee)).then(ee=>(H?.({status:"completed"}),je.setContext(ee),typeof l.bootstrap=="object"?nf():Vt?mi.loadFlags().then(te=>te==null?(be.setFlags({}),Wt.fetchFlagSettings(je.getContext(),m).then(de=>pa(de||{})).then(nf).catch(de=>{MC(new Sn.LDFlagFetchError(Ke.errorFetchingFlags(de)))})):(be.setFlags(te),at.onNextTick(nf),Wt.fetchFlagSettings(je.getContext(),m).then(de=>pa(de)).catch(de=>a.maybeReportError(de)))):Wt.fetchFlagSettings(je.getContext(),m).then(te=>{be.setFlags(te||{}),fn(),nf()}).catch(te=>{be.setFlags({}),MC(te)}))).catch(ee=>{throw H?.({status:"error"}),ee})})().catch(MC);function RA(H){h=H.environment,je.setContext(H.context),be.setFlags(x({},H.flags)),at.onNextTick(nf)}function nf(){o.info(Ke.clientInitialized()),ef=!0,xC(),s.signalSuccess()}function MC(H){s.signalFailure(H)}let PA={waitForInitialization:function(H=void 0){if(H!=null){if(typeof H=="number")return(function(ee){ee>5&&o.warn("The waitForInitialization function was called with a timeout greater than 5 seconds. We recommend a timeout of 5 seconds or less.");let te=s.getInitializationPromise(),de=nZ(ee,"waitForInitialization");return Promise.race([de,te]).catch(ft=>{throw ft instanceof Sn.LDTimeoutError&&o.error(`waitForInitialization error: ${ft}`),ft})})(H);o.warn("The waitForInitialization method was provided with a non-numeric timeout.")}return o.warn("The waitForInitialization function was called without a timeout specified. In a future version a default timeout will be applied."),s.getInitializationPromise()},waitUntilReady:()=>s.getReadyPromise(),identify:function(H,ee,te){if(Ce)return at.wrapPromiseCallback(Promise.resolve({}),te);if(ke)return o.warn(Ke.identifyDisabled()),at.wrapPromiseCallback(Promise.resolve(at.transformVersionedValuesToValues(be.getFlagsWithOverrides())),te);let de,ft=Vt&&mi?mi.clearFlags():Promise.resolve();return at.wrapPromiseCallback(ft.then(()=>Ln.processContext(H)).then(_g).then(Xt=>(de=at.once(A.identify(Xt,void 0)),Xt)).then(Xt=>Wt.fetchFlagSettings(Xt,ee).then(kt=>{let _n=at.transformVersionedValuesToValues(kt);return je.setContext(Xt),m=ee,kt?pa(kt).then(()=>_n):_n})).then(Xt=>(de?.({status:"completed"}),Kt&&Vi(),Xt)).catch(Xt=>(de?.({status:"error"}),a.maybeReportError(Xt),Promise.reject(Xt))),te)},getContext:function(){return je.getContext()},variation:function(H,ee){let{value:te}=A.withEvaluation(H,je.getContext(),ee,()=>Vn(H,ee,!0,!1,!1,!0));return te},variationDetail:function(H,ee){return A.withEvaluation(H,je.getContext(),ee,()=>Vn(H,ee,!0,!0,!1,!0))},track:function(H,ee,te){if(typeof H!="string")return void a.maybeReportError(new Sn.LDInvalidEventKeyError(Ke.unknownCustomEventKey(H)));te!==void 0&&typeof te!="number"&&o.warn(Ke.invalidMetricValue(typeof te)),n.customEventFilter&&!n.customEventFilter(H)&&o.warn(Ke.unknownCustomEventKey(H));let de=je.getContext(),ft={kind:"custom",key:H,context:de,url:n.getCurrentUrl(),creationDate:new Date().getTime()};de&&de.anonymous&&(ft.contextKind=de.anonymous?"anonymousUser":"user"),ee!=null&&(ft.data=ee),te!=null&&(ft.metricValue=te),ni(ft),A.afterTrack({context:de,key:H,data:ee,metricValue:te})},on:function(H,ee,te){DC(H)?(Li=!0,ef&&xC(),a.on(H,ee,te)):a.on(...arguments)},off:function(H){if(a.off(...arguments),DC(H)){let ee=!1;
9a.getEvents().forEach(te=>{DC(te)&&a.getEventListenerCount(te)>0&&(ee=!0)}),ee||(Li=!1,Kt&&ma===void 0&&Qs())}},setStreaming:function(H){let ee=H===null?void 0:H;ee!==ma&&(ma=ee,xC())},flush:function(H){return at.wrapPromiseCallback(u?Ae.flush():Promise.resolve(),H)},allFlags:function(){let H={},ee=be.getFlagsWithOverrides();if(!ee)return H;for(let te in ee)H[te]=Vn(te,null,!l.sendEventsOnlyForVariation,!1,!0,!1).value;return H},close:function(H){if(Ce)return at.wrapPromiseCallback(Promise.resolve(),H);let ee=()=>{Ce=!0,be.setFlags({})},te=Promise.resolve().then(()=>{if(Qs(),ye&&ye.stop(),u)return Ae.stop(),Ae.flush()}).then(ee).catch(ee);return at.wrapPromiseCallback(te,H)},addHook:function(H){A.addHook(H)}};return dZ(o,b,PA,p),uZ(o,{setOverride:function(H,ee){let te={},de=be.get(H),ft=de?de.value:null;if(ft===ee)return void o.debug(`setOverride: No change needed for ${H}, value already ${ee}`);be.setOverride(H,ee);let Xt=be.get(H),kt=pi(Xt);te[H]={previous:ft,current:kt},wr({key:H},Xt),Fd(te)},removeOverride:function(H){let ee=be.getFlagOverrides();if(!ee[H])return;let te={},de=ee[H],ft=be.getFlags()[H];te[H]={previous:de.value,current:ft?pi(ft):void 0},be.removeOverride(H),wr({key:H},ft),Fd(te)},clearAllOverrides:function(){let H=be.getFlagOverrides();if(Object.keys(H).length===0)return;let ee={},te=be.getFlags();Object.keys(H).forEach(de=>{let ft=H[de],Xt=te[de];ee[de]={previous:ft.value,current:Xt?pi(Xt):void 0}}),be.clearAllOverrides(),Object.keys(ee).length>0&&Fd(ee)},getAllOverrides:function(){let H=be.getFlagOverrides();if(!H)return{};let ee={};return Object.keys(H).forEach(te=>{let de=H[te];de&&(ee[te]=de.value)}),ee}},p),{client:PA,options:l,emitter:a,ident:je,logger:o,requestor:Wt,start:function(){u&&(ye&&ye.start(),Ae.start())},enqueueEvent:ni,getFlagsInternal:function(){return be.getFlagsWithOverrides()},getEnvironmentId:()=>h,internalChangeEventName:K2}},commonBasicLogger:Z2,errors:Sn,messages:Ke,utils:at,getContextKeys:sZ},fZ=Mb.initialize,mZ=Mb.errors,uke=Mb.messages;function pZ(t,i,e){return(i=(function(n){var r=(function(o,a){if(typeof o!="object"||!o)return o;var s=o[Symbol.toPrimitive];if(s!==void 0){var l=s.call(o,a||"default");if(typeof l!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(o)})(n,"string");return typeof r=="symbol"?r:r+""})(i))in t?Object.defineProperty(t,i,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[i]=e,t}function X2(t,i){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),e.push.apply(e,n)}return e}function J2(t){for(var i=1;i<arguments.length;i++){var e=arguments[i]!=null?arguments[i]:{};i%2?X2(Object(e),!0).forEach(function(n){pZ(t,n,e[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):X2(Object(e)).forEac
9h(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})}return t}var hke=Mb.commonBasicLogger;var eV={promise:Promise.resolve({status:200,header:function(){return null},body:null})};function gZ(t,i,e,n,r){if(r&&!(function(){var c=window.navigator&&window.navigator.userAgent;if(c){var u=c.match(/Chrom(e|ium)\/([0-9]+)\./);if(u)return parseInt(u[2],10)<73}return!0})())return eV;var o=new window.XMLHttpRequest;for(var a in o.open(t,i,!r),e||{})Object.prototype.hasOwnProperty.call(e,a)&&o.setRequestHeader(a,e[a]);if(r){try{o.send(n)}catch(c){}return eV}var s,l=new Promise(function(c,u){o.addEventListener("load",function(){s||c({status:o.status,header:function(h){return o.getResponseHeader(h)},body:o.responseText})}),o.addEventListener("error",function(){s||u(new Error)}),o.send(n)});return{promise:l,cancel:function(){s=!0,o.abort()}}}var jS=t=>{if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")};function _Z(t,i,e,n){var r,o,a=((t.kind==="substring"||t.kind==="regex")&&n.includes("/")?i:i.replace(n,"")).replace(e,"");switch(t.kind){case"exact":o=i,r=new RegExp("^"+jS(t.url)+"/?$");break;case"canonical":o=a,r=new RegExp("^"+jS(t.url)+"/?$");break;case"substring":o=a,r=new RegExp(".*"+jS(t.substring)+".*$");break;case"regex":o=a,r=new RegExp(t.pattern);break;default:return!1}return r.test(o)}function tV(t,i){for(var e={},n=null,r=[],o=0;o<t.length;o++)for(var a=t[o],s=a.urls||[],l=0;l<s.length;l++)if(_Z(s[l],window.location.href,window.location.search,window.location.hash)){a.kind==="pageview"?i("pageview",a):(r.push(a),i("click_pageview",a));break}return r.length>0&&(n=function(c){for(var u=(function(m,p){for(var b=[],D=0;D<p.length;D++)for(var A=m.target,k=p[D],L=k.selector,ce=document.querySelectorAll(L);A&&ce.length>0;){for(var oe=0;oe<ce.length;oe++)A===ce[oe]&&b.push(k);A=A.parentNode}return b})(c,r),h=0;h<u.length;h++)i("click",u[h])},document.addEventListener("click",n)),e.dispose=function(){document.removeEventListener("click",n)},e}function vZ(t,i){var e,n;function r(){n&&n.dispose(),e&&e.length&&(n=tV(e,o))}function o(a,s){var l=t.ident.getContext(),c={kind:a,key:s.key,data:null,url:window.location.href,creationDate:new Date().getTime(),context:l};return a==="click"&&(c.selector=s.selector),t.enqueueEvent(c)}return t.requestor.fetchJSON("/sdk/goals/"+t.getEnvironmentId()).then(function(a){a&&a.length>0&&(n=tV(e=a,o),(function(s,l){var c,u=window.location.href;function h(){(c=window.location.href)!==u&&(u=c,l())}(function m(p,b){p(),setTimeout(function(){m(p,b)},b)})(h,s),window.history&&window.history.pushState?window.addEventListener("popstate",h):window.addEventListener("hashchange",h)})(300,r)),i()}).catch(function(a){t.emitter.maybeReportError(new mZ.LDUnexpectedResponseError((a&&a.message,a.message))),i()}),{}}var xb="goalsReady",yZ={fetchGoals:{default:!0},hash:{type:"string"},eventProcessor:{type:"object"},eventUrlTransformer:{type:"function"},disableSyncEventPost:{default:!1}};function lV(t,i){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=(function(u){var h,m={userAgentHeaderName:"X-LaunchDarkly-User-Agent",synchronousFlush:!1};if(window.XMLHttpRequest){var p=u&&u.disableSyncEventPost;m.httpRequest=function(k,L,ce,oe){var _e=m.synchronousFlush&!p;return m.synchronousFlush=!1,gZ(k,L,ce,oe,_e)}}m.httpAllowsPost=function(){return h===void 0&&(h=!!window.XMLHttpRequest&&"withCredentials"in new window.XMLHttpRequest),h},m.httpFallbackPing=function(k){new window.Image().src=k};var b,D=u&&u.eventUrlTransformer;m.getCurrentUrl=function(){return D?D(window.location.href):window.location.href},m.isDoNotTrack=function(){var k;return(k=window.navigator&&window.navigator.doNotTrack!==void 0?window.navigator.doNotTrack:window.navigator&&window.navigator.msDoNotTrack!==void 0?window.navigator.msDoNotTrack:window.doNotTrack)===1||k===!0||k==="1"||k==="yes"};try{window.localStorage&&(m.localStorage={get:function(k){return new Promise(function(L){L(window.localStorage.getItem(k))})},set:function(k,L){return new Promise(function(ce){window.localStorage.setItem(k,L),ce()})},clear:function(k){return new Promise(function(L){window.localStorage.removeItem(k),L()})}})}catch(k){m.localStorage=null}if(u&&u.useReport&&typeof window.EventSourcePolyfill=="function"&&window.EventSourcePolyfill.supp
9ortedOptions&&window.EventSourcePolyfill.supportedOptions.method?(m.eventSourceAllowsReport=!0,b=window.EventSourcePolyfill):(m.eventSourceAllowsReport=!1,b=window.EventSource),window.EventSource){var A=3e5;m.eventSourceFactory=function(k,L){var ce=J2(J2({},{heartbeatTimeout:A,silentTimeout:A,skipDefaultHeaders:!0}),L);return new b(k,ce)},m.eventSourceIsActive=function(k){return k.readyState===window.EventSource.OPEN||k.readyState===window.EventSource.CONNECTING}}return m.userAgent="JSClient",m.version="3.9.2",m.diagnosticSdkData={name:"js-client-sdk",version:"3.9.2"},m.diagnosticPlatformData={name:"JS"},m.diagnosticUseCombinedEvent=!0,m})(e),r=fZ(t,i,e,n,yZ),o=r.client,a=r.options,s=r.emitter,l=new Promise(function(u){var h=s.on(xb,function(){s.off(xb,h),u()})});o.waitUntilGoalsReady=function(){return l},a.fetchGoals?vZ(r,function(){return s.emit(xb)}):s.emit(xb),document.readyState!=="complete"?window.addEventListener("load",r.start):r.start();var c=function(){n.synchronousFlush=!0,o.flush().catch(function(){}),n.synchronousFlush=!1};return document.addEventListener("visibilitychange",function(){document.visibilityState==="hidden"&&c()}),window.addEventListener("pagehide",c),o}var ap=(()=>{class t{constructor(){this.targetedUserService=d(tp,{optional:!0}),this.featureFlagConfig=d(ed,{optional:!0}),this.flagStore=d(ht),this.logService=d(ho),this.initialized=!1,this.initializing=!1,this.launchDarklyClients={},this.privateUserAttributes=["email","firstName","lastName","roles"]}loadFlags(){if(this.targetedUserService){if(this.featureFlagConfig?.targetedUserStrategy!==kl.Custom&&!(this.targetedUserService instanceof gb))throw new Error("AamcFeatureFlagsModule - targetedUserStrategy not set to custom but the default targetedUserStrategy is not being used. Please set the targetedUserStrategy to custom when providing your own targetedUserService.");this.targetedUserService.getTargetedUser().pipe(Dr((e,n)=>JSON.stringify(e)===JSON.stringify(n))).subscribe(e=>{this.initializing?this.updateUserContext(e):this.initializeLaunchDarkly(e)})}}loadFlagsAnonymously(){this.initializeLaunchDarkly({kind:"user",anonymous:!0})}initializeLaunchDarkly(e){if(this.initialized){this.flagStore.dispatch(Jm({userContext:e}));for(let n in this.launchDarklyClients)this.launchDarklyClients.hasOwnProperty(n)&&this.launchDarklyClients[n].identify(e)}else if(this.initializing=!0,this.featureFlagConfig)if(this.flagStore.dispatch(hb({userContext:e,clientIds:this.featureFlagConfig.clientIds})),this.featureFlagConfig?.clientIds?.length>0)for(let n of this.featureFlagConfig.clientIds){let r=lV(n,e,{privateAttributes:this.privateUserAttributes,useReport:!0});this.launchDarklyClients[n]=r,r.on("ready",()=>{this.initialized=!0;let o=r.allFlags();this.flagStore.dispatch(fb({clientId:n,featureFlags:o}))}),r.on("change",()=>{let o=r.allFlags();this.flagStore.dispatch(mb({clientId:n,featureFlags:o}))}),r.on("error",o=>{this.flagStore.dispatch(ep({clientId:n,error:o.message})),this.logService.log(`LaunchDarkly - Failed to load flags. ClientID: ${n} Error: ${o.message}`)})}else this.flagStore.dispatch(ep({clientId:"N/A",error:"AamcFeatureFlagsModule - No clientIds provided. Please provide at least one clientId."}))}updateUserContext(e){this.flagStore.dispatch(Jm({userContext:e}));for(let n in this.launchDarklyClients)this.launchDarklyClients.hasOwnProperty(n)&&this.launchDarklyClients[n].identify(e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var sp=(()=>{class t{constructor(){this.flagStore=d(ht),this.ldService=d(ap),this.ldService.loadFlags(),this.errorInitializing$=this.flagStore.pipe(cn(A2),J(n=>n!==null))}isInitialized(){return this.flagStore.pipe(cn(I2),J(e=>e!==void 0))}getFeatureFlag(e,n,r=!0){return this.flagStore.pipe(cn(TS),J(o=>o.inited||!r),X(o=>o.featureFlags[e]!==void 0?o.featureFlags[e]:n))}getFeatureFlagsByPrefix(e="",n=!0){return this.flagStore.pipe(cn(TS),J(r=>r.inited||!n),X(r=>{let o={},a=new RegExp(e);for(let s in r.featureFlags)r.featureFlags.hasOwnProperty(s)&&a.test(s)&&(o[s]=r.featureFlags[s]);return o}
9))}updateUserContext(){this.ldService.loadFlags()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function $S(t,i){return()=>t.load(i)}var $n=(()=>{class t{constructor(){this.http=d(ro),this.logService=d(ho),this.featureFlagsService=d(sp,{optional:!0}),this.launchDarklyService=d(ap,{optional:!0}),this.coreConfigService=d(Ns),this.loaded=new pt(!1),this.configServiceUrl="/configurations/",this.loaded$=this.loaded.asObservable()}retrieveConfiguration(e){let n={withCredentials:"false"};return this.http.get(this.configServiceUrl+(e||"AAMC"),{headers:n}).pipe(Rt(()=>this.coreConfigService?.fallbackConfigFlag&&this.featureFlagsService?(this.launchDarklyService?.loadFlagsAnonymously(),this.featureFlagsService.getFeatureFlag(this.coreConfigService?.fallbackConfigFlag,{}).pipe(X(r=>r.global?this.transformConfigValues(r):r))):(this.errorTakeover(),gf)))}transformConfigValues(e){return x(x({},e.global),e[this.coreConfigService?.appCode])}getConfigServiceUrl(){return this.http.get("/config/env.json").pipe(Rt(e=>(console.warn(e),this.http.get("./assets/env.json"))))}load(e="AAMC"){return new Promise((n,r)=>{this.getConfigServiceUrl().subscribe(o=>{this.configServiceUrl=o.CONFIG_SERVICE_URL,this.retrieveConfiguration(e).subscribe(a=>{this.appConfig=a,this.logService.setConfig(this.appConfig),this.loaded.next(!0),n(!0)},a=>{console.log(a)})},()=>{this.retrieveConfiguration(e).subscribe(o=>{this.appConfig=o,this.logService.setConfig(this.appConfig),this.loaded.next(!0),n(!0)})})})}errorTakeover(){let e=` 10 <div class="bg-secondary pl-10 h-[72px] pt-2.5"> 11 <img height="48" width="58" class="mt-1" src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIGlkPSJMYXllcl8yIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MjkuMTkgMTUwLjIzIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9PC9zdHlsZT48L2RlZnM+PGcgaWQ9IkxheWVyXzEiPjxwb2x5Z29uIGNsYXNzPSJjbHMtMSIgcG9pbnRzPSIzMS4yNCAwIDIwLjk4IDE3Ljc4IDEwLjcxIDAgMzEuMjQgMCIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTQwLjUsNTkuMzJjLTMuMDMtNi44NC05LjctMTAuOTItMTYuNzItMTAuOTh2MTguNjZsLTEyLjgxLDUuNjdjLTkuMjgsNC4wOS0xMy40OSwxNC45Mi05LjQsMjQuMiwzLjAyLDYuODIsOS42OCwxMC44OSwxNi42OCwxMC45NHYtMTguNTVsMTMtNS43NWM5LjE5LTQuMTUsMTMuMzQtMTQuOTUsOS4yNi0yNC4yWiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTQwLjUsMTAxLjczYy0zLjAzLTYuODQtOS43LTEwLjkyLTE2LjcyLTEwLjk4djE4LjY2bC0xMi44OCw1LjdjLTkuMjQsNC4xMS0xMy40MSwxNC45Mi05LjMzLDI0LjE3LDMuMDIsNi44Miw5LjY4LDEwLjg5LDE2LjY4LDEwLjk1di0xOC41NGwxMy01Ljc1YzkuMTktNC4xNiwxMy4zNC0xNC45NSw5LjI2LTI0LjIxWiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTU1Ljg4LDEwLjc5TDEwLjc3LDMwLjczQzEuNjQsMzQuODgtMi40Niw0NS42MSwxLjU5LDU0LjgxYzMuMDEsNi44MSw5LjY1LDEwLjg3LDE2LjY1LDEwLjkzdi0xOC41MWwyOC40LTEyLjU2YzkuMTQtNC4wNCwxMy4yOC0xNC43Miw5LjI0LTIzLjg4Wk00OC4yMSwyMi41OWMtMS4xNC41MS0yLjQ4LS4wMS0yLjk4LTEuMTYtLjUxLTEuMTUuMDEtMi40OCwxLjE2LTIuOTgsMS4xNC0uNSwyLjQ4LjAyLDIuOTgsMS4xNS41MSwxLjE1LDAsMi40OC0xLjE1LDIuOTlaIi8+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMTQ3LjA4LDgyLjI2aC00Ni40M2wtOC44NiwyMS40M2gtMjMuNzFMMTEyLjY1LDMuNjloMjIuODZsNDQuNzEsMTAwaC0yNC4yOWwtOC44Ni0yMS40M1pNMTM5Ljc5LDY0LjY5bC0xNS44Ni0zOC4yOC0xNS44NiwzOC4yOGgzMS43MVoiLz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik0yNjcuMjEsODIuMjZoLTQ2LjQzbC04Ljg2LDIxLjQzaC0yMy43MUwyMzIuNzgsMy42OWgyMi44Nmw0NC43MSwxMDBoLTI0LjI5bC04Ljg2LTIxLjQzWk0yNTkuOTMsNjQuNjlsLTE1Ljg2LTM4LjI4LTE1Ljg2LDM4LjI4aDMxLjcxWiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTQwMS43NywxMDMuNjlsLS4xNC02MC0yOS40Myw0OS40M2gtMTAuNDNsLTI5LjI5LTQ4LjE0djU4LjcxaC0yMS43MVYzLjY5aDE5LjE0bDM3LjQzLDYyLjE0TDQwNC4yLDMuNjloMTlsLjI5LDEwMGgtMjEuNzFaIi8+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNDMzLjc3LDUzLjY5YzAtMzAuMTQsMjMuMTQtNTEuNzEsNTQuMjgtNTEuNzEsMTcuMjksMCwzMS43MSw2LjI5LDQxLjE0LDE3LjcxbC0xNC44NiwxMy43MWMtNi43MS03LjcxLTE1LjE0LTExLjcxLTI1LjE0LTExLjcxLTE4LjcxLDAtMzIsMTMuMTQtMzIsMzJzMTMuMjksMzIsMzIsMzJjMTAsMCwxOC40My00LDI1LjE0LTExLjg2bDE0Ljg2LDEzLjcxYy05LjQzLDExLjU3LTIzLjg2LDE3Ljg2LTQxLjI4LDE3Ljg2LTMxLDAtNTQuMTQtMjEuNTctNTQuMTQtNTEuNzFaIi8+PC9nPjwvc3ZnPg==" /> 12 </div> 13 <div class="content-well text-center pt-[150px]"> 14 <div class="medium-content pt-[15vh] text-center"> 15 <h1>We're Sorry</h1> 16 <p> 17 This application is not responding correctly at the moment. 18 <br /> 19 Please try again later. 20 </p> 21 </div> 22 </div> 23 `,n=document.querySelector("body");n&&(n.innerHTML=e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function dV(t=!1){sessionStorage.getItem("from-cypress-test")||(sessionStorage.removeItem("access_token"),sessionStorage.removeItem("id_token"),sessionStorage.removeItem("refresh_token"),sessionStorage.removeItem("expires_at"),sessionStorage.removeItem("id_token_claims_obj"),sessionStorage.removeItem("id_token_expires_at"),sessionStorage.removeItem("id_token_stored_at"),sessionStorage.removeItem("access_token_stored_at"),sessionStorage.removeItem("granted_scopes"),sessionStorage.removeItem("session_state"),t||(sessionStorage.removeItem("nonce"),sessionStorage.removeItem("PKCI_verifier")))}dV(!0);var CZ=window.location.origin,wZ=window.location.pathname.replace("index.html","").replace(/^\/|\/$/g,""),cV=`${CZ}/${wZ}`,Nl=(()=>{class t{setConfig(e){let n="openid profile";e.scopes&&(n=`${n} ${e.scopes}`);let r=n.split(" ");r=r.filter((o,a,s)=>s.indexOf(o)===a),this.config=Y(x(Y(x({},this.config),{issuer:this.appConfigService.appConfig.OAUTH_ISSUER_URL}),e),{scope:r.join(" ")})}constructor(){this.oauthService=d(Zu),this.router=d(At),this.appConfigService=d($n),this.http=d(ro),this._state=new pt({initComplete:!1,loggedIn:!1,criticalError:"",_accessToken:"",_idToken:""}),this.state=this._state.asObservable(),this.initedState=this._state.asObservable().pipe(J(e=>e.initComplete)),this.config={issuer:"NEED_ISSUER_URL",clientId:"NEED_CLIENT_ID",responseType:"code",redirectUri:`${cV}/index.html`,silentRefreshRedirectUri:`${cV}/oauth-callback.html`,scope:"openid profile",skipIssuerCheck:!0,useSilentRefresh:!1,timeoutFactor:.75,sessionChecksEnabled:!1,showDebugInformation:!1,clearHashAfterLogin:!1,nonceStateSeparator:"semicolon"},this.postLoginStateNavigated=!1,this.oauthService.events.subscribe(e=>{e instanceof Cn?console.error("OAuthErrorEvent Object:",e):this.config.showDebugInformation&&console.warn("OAuthEvent Object:",e)}),window.addEventListener("storage",e=>{e.key!=="access_token"&&e.key!==null||(console.warn("Noticed changes to access_token (most likely from another tab), updating isAuthenticated"),this.updateState({loggedIn:this.oauthService.hasValidAccessToken(),_accessToken:this.oauthService.getAccessToken()}))}),this.oauthService.events.subscribe(e=>{if(this.isNonRecoverableError(e)){let n=e.params.error;this.updateState({criticalError:n})}else this.updateState({loggedIn:this.oauthService.hasValidAccessToken(),_accessToken:this.oauthService.getAccessToken(),_idToken:this.oauthService.getIdToken(),_claim:this.oauthService.getIdentityClaims()})})}isNonRecoverableError(e){let n=!1;return e.type==="code_error"&&(e.params.error==="invalid_scope"||e.params.error==="invalid_client")&&(n=!0),n}login(e){this.oauthService.initLoginFlow(e||this.router.url)}start(e){this.setConfig(e),this.oauthService.configure(this.config),this.oauthService.setupAutomaticSilentRefresh(),this.runInitialLoginSequence()}revokeToken(){if(this.oauthService.getAccessToken()){let e=`${this.appConfigService.appConfig.OAUTH_ISSUER_URL}/token/revoke`,n={headers:new si({"Content-Type":"application/x-www-form-urlencoded"})},r=this.oauthService.getAccessToken(),o=this.oauthService.getRefreshToken(),a=this.config.clientId,s=encodeURI(r),l=encodeURI(o),c=encodeURI(a||""),u=`token=${s}&client_id=${c}`,h=`token=${l}&client_id=${c}`,m=this.http.post(e,u,n),p=this.http.post(e,h,n);return cc([m,p]).pipe(Rt(b=>(console.error("could not revoke token correctly"),K(b))))}else return K(null)}clearAllStorage(){dV()}logoutSession(){let e=this.oauthService.getIdToken();if(this.clearAllStorage(),e){let n=`${this.appConfigService.appConfig.OAUTH_ISSUER_URL}
23/connect/endSession?id_token_hint=${e}`;return this.http.get(n)}else return K(null)}logout(){return this.revokeToken().pipe(Ct(()=>this.logoutSession()))}hasValidToken(){return this.oauthService.hasValidAccessToken()}getAccessToken(){return this.oauthService.getAccessToken()}runInitialLoginSequence(){return this.postLoginState=this.getPostLoginState(),this.oauthService.strictDiscoveryDocumentValidation=!1,this.oauthService.loadDiscoveryDocument().then(()=>this._state.getValue().criticalError?Promise.reject(this._state.getValue().criticalError):this.oauthService.tryLogin()).then(()=>this.oauthService.hasValidAccessToken()?Promise.resolve():this.oauthService.silentRefresh().then(()=>Promise.resolve()).catch(e=>{let n=["interaction_required","login_required","account_selection_required","consent_required"];return e&&e.reason&&n.indexOf(e.reason.error)>=0?(console.warn("User interaction is needed to log in, we will wait for the user to manually log in."),Promise.resolve()):Promise.reject(e)})).then(()=>{let e=location.origin+location.pathname.replace("index.html","")+location.search.replace(/iss=[^&$]*/,"").replace(/client_id=[^&$]*/,"").replace(/^\?&/,"?").replace(/&$/,"").replace(/^\?$/,"").replace(/&+/g,"&").replace(/\?&/,"?").replace(/\?$/,"")+location.hash;history.replaceState(null,window.name,e),this.postLoginState&&this.router.navigateByUrl(this.postLoginState,{replaceUrl:!0}),this.updateState({initComplete:!0})}).catch(e=>{this.isNonRecoverableError(e)||this.updateState({initComplete:!0})})}navigateToPostLoginState(){return this.postLoginStateNavigated?!1:this.postLoginState?(this.router.navigateByUrl(this.postLoginState),this.postLoginState=void 0,this.postLoginStateNavigated=!0,!0):!1}updateState(e){this._state.next(x(x({},this._state.getValue()),e))}getPostLoginState(){let e="",n=new URL(window.location.href);if(n.pathname.substr(-10)==="index.html"&&n.searchParams.get("state")){let r=n.searchParams.get("state")||"";r.indexOf("semicolon")>0&&(e=r.substring(r.indexOf("semicolon")+9),e=decodeURIComponent(e))}return e}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Jn=(function(t){return t.Session="Session",t.OAuth="OAuth",t})(Jn||{}),lp=(function(t){return t.ALL="all",t.DIRECT="direct",t.GROUP="group",t})(lp||{}),uV={strategy:Jn.Session,grantType:lp.DIRECT,appPermissions:[]},dr=new T("AamcOAuthConfig");var hV=(()=>{class t{constructor(){this.oauthAuthService=d(Nl),this.oauthRefreshService=d(ub),this.aamcOAuthConfig=d(dr)}intercept(e,n){let r=new URL(e.url,window.location.href);return this.aamcOAuthConfig.strategy===Jn.Session||e.headers.get("Authorization")||this.validForBearerInjection(r.hostname,e.url)===!1?n.handle(e):this.oauthAuthService.initedState.pipe(Fe(1),lt(()=>{let o=this.oauthAuthService.getAccessToken();return o&&(e=this.addToken(e,o)),n.handle(e)}),Rt(o=>o instanceof bl&&o.status===401&&this.shouldRefreshToken(r.hostname,e.url)?this.handle401Error(e,n,o):xr(o)))}handle401Error(e,n,r){return this.oauthRefreshService.refreshAccessToken().pipe(Ct(o=>o?n.handle(this.addToken(e,o)):xr(r)),Rt(o=>(console.error("The token refresh has failed"),xr(r))))}validForBearerInjection(e,n){let r=n.toLowerCase().replace(/\/\//g,"/"),o=["/config/env.json","/assets/env.json","aamc.org/auth-service/","/token/revoke","/realms/external/access_token","/realms/external/.well-known/openid-configuration","/realms/external/connect/jwk_uri","/iam/sessions/validate","/iam/sessions/info","/idm/groups","/config-service/services-rs/config","aamc.org/user-account-service/accountmanagement","aamc.org/referencedataservice/services-rs/refdata","aamc.org/user-account-service/registration/validateemail","aamc.org/configurations/","aamc.org/system-access-management-service/reference/application/uam","aamc.org/access-code-service/accesscodes/
23details","aamc.org/mcat-shared-service","aamc.org/eras-application-service","aamc.org/eras-inst-service","aamc.org/eras-program-service","aamc.org/eras-dws-doc-service","aamc.org/event-scheduler-service","aamc.org/eras-restful-services","aamc.org/eras-dws-service","aamc.org/eras-pdws-service","aamc.org/eras-pdws-web","aamc.org/letter-writer/guests/requests/","aamc.org/log-service","aamc.org/event-log-service","aamc.org/smdep-service","aamc.org/system-access-management-service","aamc.org/access-code-service","aamc.org/user-account-service","aamc.org/user-management-tool-service","aamc.org/paymentinvoiceservice","aamc.org/paymentsearchservice","aamc.org/paymentmanagerservice","aamc.org/payment-settlement-service","aamc.org/payment-status-service","aamc.org/sjt-service","aamc.org/visiting-student-service","aamc.org/msar-service","aamc.org/convey-service","aamc.org/log/anonymous/log"].every(a=>r.indexOf(a)===-1);return o=o&&r.indexOf("/configurations/")!==0,e.lastIndexOf("aamc.org")===e.length-8&&o}shouldRefreshToken(e,n){return n.toLowerCase().indexOf("/iam/sessions/authnosession")===-1}addToken(e,n){return e.clone({setHeaders:{Authorization:`Bearer ${n}`}})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac})}}return t})();var Eb=(()=>{class t{static forRoot(e=uV){return{ngModule:t,providers:[Nl,ub,{provide:Va,useClass:hV,multi:!0},{provide:dr,useValue:e}]}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=G({type:t})}static{this.\u0275inj=q({providers:[Es(Ss())],imports:[M2.forRoot()]})}}return t})();var WS=(()=>{class t{constructor(){this.titleService=d(qv),this.router=d(At),this.activatedRoute=d(so)}start(e){this.appName=e,this.router.events.pipe(J(n=>n instanceof En),X(()=>{let n=this.activatedRoute.firstChild,r="";for(;n;)n?.snapshot?.data?.title&&(r=n.snapshot.data.title),n=n.firstChild;return r})).subscribe(n=>{this.setTitle(n)})}setTitle(e){if(!e){this.appName&&this.titleService.setTitle(this.appName);return}let n="";this.appName&&(n=`${this.appName} | `),this.appName&&this.appName==="AMCAS for Schools"&&(n=""),this.titleService.setTitle(n+e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Rs=(()=>{class t{constructor(){this._goToUrl=new pt(""),this.goToUrl$=this._goToUrl.asObservable()}getGoToUrlString(){return this._goToUrl.value}setGoToUrl(e){this._goToUrl.next(e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Bn=(function(t){return t.AccountO="account-o",t.Account="account",t.AddReminder="add-reminder",t.Add="add",t.AdobePdfSecure="adobe-pdf-secure",t.AdobePdf="adobe-pdf",t.Amex="amex",t.ArchivesO="archives-o",t.ArrowDown="arrow-down",t.ArrowUp="arrow-up",t.Assignment="assignment",t.Attachment="attachment",t.AutoText="auto-text",t.Back="back",t.Ban="ban",t.BarcodeScanner="barcode-scanner",t.Chat="chat",t.Check="check",t.ChevronDown="chevron-down",t.ChevronLeftSkip="chevron-left-skip",t.ChevronLeft="chevron-left",t.ChevronRightSkip="chevron-right-skip",t.ChevronRight="chevron-right",t.ChevronUp="chevron-up",t.CircleAdd="circle-add",t.CircleCheckO="circle-check-o",t.CircleCheck="circle-check",t.CircleDash="circle-dash",t.CircleMove="circle-move",t.CircleO="circle-o",t.CircleX="circle-x",t.Circle="circle",t.Clock="clock",t.Close="close",t.CloudDownload="cloud-download",t.CloudUpload="cloud-upload",t.Code="code",t.Cog="cog",t.ConnectWithoutContact="connect-without-contact",t.Copy="copy",t.DataUsage="data-usage",t.DateDay="date-day",t.Date="date",t.DescO="desc-o",t.Desktop="desktop",t.Discover="discover",t.DocumentCsv="document-csv",t.DocumentPdf="document-pdf",t.Document="document",t.Domain="domain",t.DoneAll="done-all",t.DoubleArrow="double-arrow",t.DownArrow="down-arrow",t.Download="download",t.Drafts="drafts",t.DropdownArrowUp="dropdown-arrow-up",t.DropdownArrow="dropdown-arrow",t.DropdownDown="dropdown-down",t.DropdownUp="dropdown-up",t.EditReminder="edit-reminder",t.EditTitle="edit-title",t.Edit="edit",t.Email="email",t.EventO="event-o",t.Facebook="facebook",t.FavoriteFilled="favorite-filled",t.Favorite="favorite",t.Fax="fax",t.FilterActive="filter-active",t.Filter="filter",t.FolderClosed="folder-closed",t.FolderMove="folder-move",t.FolderOpen="folder-open",t.Folder="folder",t.Forward="forward",t.GraduationCap="graduation-cap",t.GridView="grid-view",t.Grid="grid",t.Healthcheck="healthcheck",t.HelpO="help-o",t.Help="help",t.Hide="hide",t.History="history",t.HomeO="home-o",t.Home="home",t.ImageMode="image-mode",t.InProgress="in-progress",t.Inbox="inbox",t.Info="info",t.InsertChart="insert-chart",t.Instagram="instagram",t.Issue="issue",t.Link="link",t.Linkedin="linkedin",t.List="list",t.Lock="lock",t.Login="login",t.Logout="logout",t.MailInStroked="mail-in-stroked",t.MailOutStroked="mail-
23out-stroked",t.MailStroked="mail-stroked",t.ManageAccounts="manage-accounts",t.Mastercard="mastercard",t.Menu="menu",t.Minus="minus",t.Mobile="mobile",t.Money="money",t.MoreH="more-h",t.MoreV="more-v",t.MyLocation="my-location",t.NewWindow="new-window",t.NoteAdd="note-add",t.Note="note",t.NotificationO="notification-o",t.Notification="notification",t.PauseO="pause-o",t.Phone="phone",t.Photo="photo",t.Pin="pin",t.Play="play",t.Print="print",t.Processing="processing",t.RankingsO="rankings-o",t.Redo="redo",t.Refresh="refresh",t.ReorderMode="reorder-mode",t.Reorder="reorder",t.Reply="reply",t.ReportsO="reports-o",t.Resort="resort",t.Save="save",t.Search="search",t.Sent="sent",t.Share="share",t.Shield="shield",t.ShoppingCart="shopping-cart",t.Show="show",t.SignOut="sign-out",t.Signal="signal",t.Sms="sms",t.Snapshot="snapshot",t.Sort="sort",t.Sync="sync",t.TableChart="table-chart",t.Tag="tag",t.Timer="timer",t.Trash="trash",t.X="x",t.Undo="undo",t.University="university",t.UpArrow="up-arrow",t.Upload="upload",t.UserAdd="user-add",t.Visa="visa",t.Warning="warning",t.Web="web",t.Youtube="youtube",t.ZoomIn="zoom-in",t.ZoomOut="zoom-out",t.Bluesky="bluesky",t.Discord="discord",t.Threads="threads",t.Tiktok="tiktok",t.Vimeo="vimeo",t.Whatsapp="whatsapp",t})(Bn||{});var Lt=(function(t){return t.Primary="Primary",t.Secondary="Secondary",t.Emphasis="Emphasis",t.Warning="Warning",t.Cta="Cta",t})(Lt||{}),Ps=(function(t){return t.Left="left",t.Right="right",t})(Ps||{}),nd=(function(t){return t.Large="large",t.Medium="medium",t.Small="small",t})(nd||{}
23),Fs=(function(t){return t.LightBackground="LightBackground",t.DarkBackground="DarkBackground",t})(Fs||{});function li(t){return t===void 0?"":t.length>0&&t.length===1?t[0]:t.toString()}function fV(t){return{authority:t.permission,institutionId:t.institutionId,groupId:"0"}}function qS(t,i,e){return{aamcFirstConsentDate:parseInt(t.aamcFirstConsentDate,10),appCode:e,aamcId:parseInt(t.aamcId,10),username:t.uid,authorities:i.map(n=>fV(n)),emailAddress:t.mail,givenName:t.givenName,wamId:t.aamcWamId,commonName:t.cn,surname:t.sn||"",accountLevel:t.aamcLevelOfAssurance,initials:`${t.cn.charAt(0)}${t.sn?.charAt(0)||""}`,middleName:t.initials,suffix:t.suffix,prefix:t.prefix,postNominalSuffix:t.postNominalSuffix,aamcLastConsentDate:parseInt(t.aamcLastConsentDate,10)}}function Sb(t,i,e){return{aamcFirstConsentDate:li(t.aamcFirstConsentDate),appCode:e,aamcId:parseInt(li(t.aamcId),10),username:li(t.uid),authorities:i.map(n=>fV(n)),emailAddress:li(t.mail),givenName:li(t.givenName),wamId:li(t.aamcWamId),commonName:li(t.cn),surname:li(t.sn),accountLevel:li(t.aamcLevelOfAssurance),initials:li(t.initials),suffix:t.suffix?li(t.suffix):"",prefix:t.prefix?li(t.prefix):"",postNominalSuffix:t.postNominalSuffix?li(t.postNominalSuffix):"",aamcLastConsentDate:li(t.aamcLastConsentDate)}}var GS=new T("HTML_EDITOR_COMPONENT");var ra={};yg(ra,{AamcRedirect:()=>Ib,Auth:()=>YS,AuthActionTypes:()=>it,CriticalError:()=>fp,GoToProfile:()=>QS,LoadAuth:()=>cp,LoadAuthNotLoggedIn:()=>Rl,LoadAuthRolesSuccess:()=>hp,LoadAuthSuccess:()=>up,LoadRoles:()=>dp,LoginRedirect:()=>eh,Logout:()=>fo,LogoutSuccess:()=>ZS,LogoutTimerCreated:()=>KS,LogoutTimerExpired:()=>XS,RefreshPage:()=>pp,RefreshSession:()=>ia,Reset:()=>JS,RetrieveSessionDetails:()=>id,RetrieveSessionDetailsSuccess:()=>th,UnauthorizedRedirect:()=>Tb,VerifySession:()=>mp});var it=(function(t){return t.LoadAuth="[Auth] Load Auth",t.LoadRoles="[Auth] Load Roles",t.LoadAuthSuccess="[Auth] Load Auth Success",t.LoadAuthNotLoggedIn="[Auth] Load Auth Not Logged In (Probably)",t.Auth="[Auth] Retrieve Auth",t.LoginRedirect="[Auth] LoginRedirect",t.UnauthorizedRedirect="[Auth] UnauthorizedRedirect",t.Logout="[Auth] Logout",t.GoToProfile="[Auth] Go To AAMC Profile",t.LogoutSuccess="[Auth] Logout Success",t.LoadAuthRolesSuccess="[Auth] Load Auth Success with Roles",t.RefreshSessionTimerStart="[Auth] Session refresh timer has been (re)started",t.LogoutTimerCreated="[Auth] User has been prompted to refresh session",t.LogoutTimerExpired="[Auth] Session timer has expired. Logging user out...",t.RefreshSession="[Auth] Session is being refreshed",t.RefreshSessionSuccess="[Auth] Session has been refreshed",t.AamcRedirect="[Auth] Redirect to URL on aamc.org domain",t.RetrieveSessionDetails="[Auth] Retrieving session details...",t.RetrieveSessionDetailsSuccess="[Auth] Retrieving session details... success",t.CriticalError="[Auth] Critical error, can not recover.",t.Reset="[Auth] Clear the auth store",t.VerifySession="[Auth] Verify Session is active on page focus.",t.RefreshPage="[Auth] Refresh the page in the browser.",t})(it||{}),cp=class{constructor(i){this.payload=i,this.type=it.LoadAuth}},dp=class{constructor(i){this.payload=i,this.type=it.LoadRoles}},up=class{constructor(i){this.payload=i,this.type=it.LoadAuthSuccess}},Rl=class{constructor(i){this.payload=i,this.type=it.LoadAuthNotLoggedIn}},hp=class{constructor(i){this.payload=i,this.type=it.LoadAuthRolesSuccess}},YS=class{constructor(i){this.payload=i,this.type=it.Auth}},QS=class{constructor(i){this.urlTarget=i,this.type=it.GoToProfile}},eh=class{constructor(i){this.payload=i,this.type=it.LoginRedirect}},Tb=class{constructor(){this.type=it.UnauthorizedRedirect}},fo=class{constructor(i){this.payload=i,this.type=it.Logout}},ZS=class{constructor(i){this.payload=i,this.type=it.LogoutSuccess}},KS=class{constructor(){this.type=it.LogoutTimerCreated}},XS=class{constructor(){this.type=it.LogoutTimerExpired}},ia=class{constructor(){this.type=it.RefreshSession}},Ib=class{constructor(i){this.payload=i,this.type=it.AamcRedirect}}
23,id=class{constructor(){this.type=it.RetrieveSessionDetails}},th=class{constructor(i){this.payload=i,this.type=it.RetrieveSessionDetailsSuccess}},fp=class{constructor(i){this.payload=i,this.type=it.CriticalError}},JS=class{constructor(){this.type=it.Reset}},mp=class{constructor(){this.type=it.VerifySession}},pp=class{constructor(){this.type=it.RefreshPage}};var Ab=(()=>{class t{constructor(){this.authStore=d(ht),this.isListening=!1}startPageFocusListening(){this.isListening||(window.addEventListener("focus",e=>{this.onWindowFocus(e)}),this.isListening=!0)}onWindowFocus(e){this.authStore.dispatch(new mp)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var _i={};yg(_i,{getCriticalError:()=>DZ,getInitialized:()=>gp,getInitializedUser:()=>xZ,getLoggedIn:()=>rd,getRoles:()=>Ob,getSessionDetails:()=>eT,getSessionResolved:()=>MZ,getUser:()=>_p,initialState:()=>Pl,reducer:()=>kb});var Pl={valid:!1,user:null,initialized:!1,sessionDetails:null,criticalError:""};function kb(t=Pl,i){switch(i.type){case it.RetrieveSessionDetailsSuccess:return Y(x({},t),{sessionDetails:i.payload});case it.LoadAuthSuccess:return Y(x({},t),{valid:i.payload.auth.valid,initialized:!0});case it.LoadAuthNotLoggedIn:return Y(x({},Pl),{initialized:!0});case it.LoadAuthRolesSuccess:return Y(x({},t),{valid:!0,user:i.payload.user,initialized:!0});case it.CriticalError:return Y(x({},t),{criticalError:i.payload.error});case it.Logout:return Y(x({},Pl),{initialized:!0});case it.Reset:return x({},Pl);default:return t}}var rd=t=>t.auth?t.auth.valid:!1,gp=t=>t.auth?t.auth.initialized:!1,xZ=t=>({initialized:t.auth?t.auth.initialized:!1,valid:t.auth?t.auth.valid:!1,user:t.auth?t.auth.user:null}),_p=t=>t.auth?t.auth.user:null,Ob=t=>t.auth&&t.auth.user&&t.auth.user.authorities?t.auth.user.authorities:[],eT=t=>t.auth?t.auth.sessionDetails:null,DZ=t=>t.auth?t.auth.criticalError:"",MZ=uo(gp,rd,_p,(t,i,e)=>t&&!i||i&&e!==null&&e!==void 0);var Nb=(()=>{class t{constructor(){this.router=d(At),this.authStore=d(ht),this.isListening=!1}startRefreshSessionOnNavigate(){this.isListening||(this.router.events.pipe(J(e=>e instanceof En),lt(()=>this.authStore.select(_p)),J(e=>!!e)).subscribe({next:()=>{this.authStore.dispatch(new ia)}}),this.isListening=!0)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac})}}return t})();var tT;try{tT=typeof Intl<"u"&&Intl.v8BreakIterator}catch(t){tT=!1}var st=(()=>{class t{_platformId=d(Ac);isBrowser=this._platformId?LR(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||tT)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var nT;function mV(){if(nT==null){let t=typeof document<"u"?document.head:null;nT=!!(t&&(t.createShadowRoot||t.attachShadow))}return nT}function iT(t){if(mV()){let i=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&i instanceof ShadowRoot)return i}return null}function mo(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let i=t.shadowRoot.activeElement;if(i===t)break;t=i}return t}function Ii(t){return t.composedPath?t.composedPath()[0]:t.target}function rT(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Rb=new WeakMap,dn=(()=>{class t{_appRef;_injector=d(he);_environmentInjector=d(Bt);load(e){let n=this._appRef=this._appRef||this._injector.get($i),r=Rb.get(n);r||(r={loaders:new Set,refs:[]},Rb.set(n,r),n.onDestroy(()=>
vendor: 5,479 bytes, line 23
23{Rb.get(n)?.refs.forEach(o=>o.destroy()),Rb.delete(n)})),r.loaders.has(e)||(r.loaders.add(e),r.refs.push(Av(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Un(t){return t==null?"":typeof t=="string"?t:`${t}px`}function Ls(t){return Array.isArray(t)?t:[t]}function po(t,i=0){return pV(t)?Number(t):arguments.length===2?i:0}function pV(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Vr(t){return t instanceof Q?t.nativeElement:t}var EZ=new T("cdk-dir-doc",{providedIn:"root",factory:()=>d(ve)}),SZ=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function gV(t){let i=t?.toLowerCase()||"";return i==="auto"&&typeof navigator<"u"&&navigator?.language?SZ.test(navigator.language)?"rtl":"ltr":i==="rtl"?"rtl":"ltr"}var xn=(()=>{class t{get value(){return this.valueSignal()}valueSignal=re("ltr");change=new z;constructor(){let e=d(EZ,{optional:!0});if(e){let n=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(gV(n||r||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var oa=(function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t})(oa||{}),Pb,od;function Fb(){if(od==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return od=!1,od;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)od=!0;else{let t=Element.prototype.scrollTo;t?od=!/\{\s*\[native code\]\s*\}/.test(t.toString()):od=!1}}return od}function nh(){if(typeof document!="object"||!document)return oa.NORMAL;if(Pb==null){let t=document.createElement("div"),i=t.style;t.dir="rtl",i.width="1px",i.overflow="auto",i.visibility="hidden",i.pointerEvents="none",i.position="absolute";let e=document.createElement("div"),n=e.style;n.width="2px",n.height="1px",t.appendChild(e),document.body.appendChild(t),Pb=oa.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,Pb=t.scrollLeft===0?oa.NEGATED:oa.INVERTED),t.remove()}return Pb}var gt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({})}return t})();var TZ=20,qa=(()=>{class t{_ngZone=d(ne);_platform=d(st);_renderer=d(kn).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new V;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let n=this.scrollContainers.get(e);n&&(n.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=TZ){return this._platform.isBrowser?new De(n=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=e>0?this._scrolled.pipe(dc(e)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):K()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(e,n){let r=this.getAncestorScrollContainers(e);return this.scrolled(n).pipe(J(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){let n=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&n.push(o)}),n}_scrollableContainsElement(e,n){let r=Vr(n),o=e.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Vs=(()=>{class t{elementRef=d(Q);scrollDispatcher=d(qa);ngZone=d(ne);dir=d(xn,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new V;_renderer=d(Ge);_cleanupScroll;_elementScrolled=new V;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let n=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=n.scrollHeight-n.clientHeight-e.bottom),r&&nh()!=oa.NORMAL?(e.left!=null&&(e.right=n.scrollWidth-n.clientWidth-e.left),nh()==oa.INVERTED?e.left=e.right:nh()==oa.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=n.scrollWidth-n.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let n=this.elementRef.nativeElement;Fb()?n.scrollTo(e):(e.top!=null&&(n.scrollTop=e.top),e.left!=null&&(n.scrollLeft=e.left))}measureScrollOffset(e){let n="left",r="right",o=this.elementRef.nativeElement;if(e=="top")return o.scrollTop;if(e=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let a=this.dir&&this.dir.value=="rtl";
23return e=="start"?e=a?r:n:e=="end"&&(e=a?n:r),a&&nh()==oa.INVERTED?e==n?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:a&&nh()==oa.NEGATED?e==n?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==n?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return t})(),IZ=20,aa=(()=>{class t{_platform=d(st);_listeners;_viewportSize=null;_change=new V;_document=d(ve);constructor(){let e=d(ne),n=d(kn).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let r=o=>this._change.next(o);this._listeners=[n.listen("window","resize",r),n.listen("window","orientationchange",r)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:n,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+n,height:r,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,n=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect(),a=-o.top||e.body?.scrollTop||n.scrollY||r.scrollTop||0,s=-o.left||e.body?.scrollLeft||n.scrollX||r.scrollLeft||0;return{top:a,left:s}}change(e=IZ){return e>0?this._change.pipe(dc(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ur=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({})}return t})(),oT=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({imports:[gt,ur,gt,ur]})}return t})();var aT={},Et=class t{_appId=d(ml);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(i,e=!1){return this._appId!=="ng"&&(i+=this._appId),aT.hasOwnProperty(i)||(aT[i]=0),`${i}${e?t._infix+"-":""}${aT[i]++}`}static \u0275fac=function(e){return new(e||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})};var vp=class{_attachedHost=null;attach(i){return this._attachedHost=i,i.attach(this)}detach(){let i=this._attachedHost;i!=null&&(this._attachedHost=null,i.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(i){this._attachedHost=i}},ci=class extends vp{component;viewContainerRef;injector;projectableNodes;bindings;constructor(i,e,n,r,o){super(),this.component=i,this.viewContainerRef=e,this.injector=n,this.projectableNodes=r,this.bindings=o||null}},Yi=class extends vp{templateRef;viewContainerRef;context;injector;constructor(i,e,n,r){super(),this.templateRef=i,this.viewContainerRef=e,this.context=n,this.injector=r}get origin(){return this.templateRef.elementRef}attach(i,e=this.context){return this.context=e,super.attach(i)}detach(){return this.context=void 0,super.detach()}},sT=class extends vp{element;constructor(i){super(),this.element=i instanceof Q?i.nativeElement:i}},Fl=class{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(i){if(i instanceof ci)return this._attachedPortal=i,this.attachComponentPortal(i);if(i instanceof Yi)return this._attachedPortal=i,this.attachTemplatePortal(i);if(this.attachDomPortal&&i instanceof sT)return this._attachedPortal=i,this.attachDomPortal(i)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(i){this._disposeFn=i}
vendor: 5,391 bytes, line 23
23_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},yp=class extends Fl{outletElement;_appRef;_defaultInjector;constructor(i,e,n){super(),this.outletElement=i,this._appRef=e,this._defaultInjector=n}attachComponentPortal(i){let e;if(i.viewContainerRef){let n=i.injector||i.viewContainerRef.injector,r=n.get(Oa,null,{optional:!0})||void 0;e=i.viewContainerRef.createComponent(i.component,{index:i.viewContainerRef.length,injector:n,ngModuleRef:r,projectableNodes:i.projectableNodes||void 0,bindings:i.bindings||void 0}),this.setDisposeFn(()=>e.destroy())}else{let n=this._appRef,r=i.injector||this._defaultInjector||he.NULL,o=r.get(Bt,n.injector);e=Av(i.component,{elementInjector:r,environmentInjector:o,projectableNodes:i.projectableNodes||void 0,bindings:i.bindings||void 0}),n.attachView(e.hostView),this.setDisposeFn(()=>{n.viewCount>0&&n.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=i,e}attachTemplatePortal(i){let e=i.viewContainerRef,n=e.createEmbeddedView(i.templateRef,i.context,{injector:i.injector});return n.rootNodes.forEach(r=>this.outletElement.appendChild(r)),n.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(n);r!==-1&&e.remove(r)}),this._attachedPortal=i,n}attachDomPortal=i=>{let e=i.element;e.parentNode;let n=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),this._attachedPortal=i,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(i){return i.hostView.rootNodes[0]}};var jr=(()=>{class t extends Fl{_moduleRef=d(Oa,{optional:!0});_document=d(ve);_viewContainerRef=d(wn);_isInitialized=!1;_attachedRef=null;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new z;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let n=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,r=n.createComponent(e.component,{index:n.length,injector:e.injector||n.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0,bindings:e.bindings||void 0});return n!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(e){e.setAttachedHost(this);let n=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=n,this.attached.emit(n),n}attachDomPortal=e=>{let n=e.element;n.parentNode;let r=this._document.createComment("dom-portal");e.setAttachedHost(this),n.parentNode.insertBefore(r,n),this._getRootNode().appendChild(n),this._attachedPortal=e,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(n,r)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Je]})}return t})(),go=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({})}return t})();function un(t,...i){return i.length?i.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var _V=Fb();function Ll(t){return new Lb(t.get(aa),t.get(ve))}var Lb=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(i,e){this._viewportRuler=i,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let i=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=i.style.left||"",this._previousHTMLStyles.top=i.style.top||"",i.style.left=Un(-this._previousScrollPosition.left),i.style.top=Un(-this._previousScrollPosition.top),i.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let i=this._document.documentElement,e=this._document.body,n=i.style,r=e.style,o=n.scrollBehavior||"",a=r.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,i.classList.remove("cdk-global-scrollblock"),_V&&(n.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),_V&&(n.scrollBehavior=o,r.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,n=this._viewportRuler.getViewportSize();return e.scrollHeight>n.height||e.scrollWidth>n.width}};function DV(t,i){return new Vb(t.get(qa),t.get(ne),t.get(aa),i)}var Vb=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;
23constructor(i,e,n,r){this._scrollDispatcher=i,this._ngZone=e,this._viewportRuler=n,this._config=r}attach(i){this._overlayRef,this._overlayRef=i}enable(){if(this._scrollSubscription)return;let i=this._scrollDispatcher.scrolled(0).pipe(J(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=i.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=i.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}};var bp=class{enable(){}disable(){}attach(){}};function lT(t,i){return i.some(e=>{let n=t.bottom<e.top,r=t.top>e.bottom,o=t.right<e.left,a=t.left>e.right;return n||r||o||a})}function vV(t,i){return i.some(e=>{let n=t.top<e.top,r=t.bottom>e.bottom,o=t.left<e.left,a=t.right>e.right;return n||r||o||a})}function Ga(t,i){return new jb(t.get(qa),t.get(aa),t.get(ne),i)}var jb=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(i,e,n,r){this._scrollDispatcher=i,this._viewportRuler=e,this._ngZone=n,this._config=r}attach(i){this._overlayRef,this._overlayRef=i}enable(){if(!this._scrollSubscription){let i=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(i).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:n,height:r}=this._viewportRuler.getViewportSize();lT(e,[{width:n,height:r,bottom:r,right:n,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},MV=(()=>{class t{_injector=d(he);constructor(){}noop=()=>new bp;close=e=>DV(this._injector,e);block=()=>Ll(this._injector);reposition=e=>Ga(this._injector,e);static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ai=class{positionStrategy;scrollStrategy=new bp;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;usePopover;eventPredicate;constructor(i){if(i){let e=Object.keys(i);for(let n of e)i[n]!==void 0&&(this[n]=i[n])}}};var Bb=class{connectionPair;scrollableViewProperties;constructor(i,e){this.connectionPair=i,this.scrollableViewProperties=e}};var EV=(()=>{class t{_attachedOverlays=[];_document=d(ve);_isAttached=!1;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let n=this._attachedOverlays.indexOf(e);n>-1&&this._attachedOverlays.splice(n,1),this._attachedOverlays.length===0&&this.detach()}canReceiveEvent(e,n,r){return r.observers.length<1?!1:e.eventPredicate?e.eventPredicate(n):!0}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),SV=(()=>{class t extends EV{_ngZone=d(ne);_renderer=d(kn).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let n=this._attachedOverlays;for(let r=n.length-1;r>-1;r--){let o=n[r];if(this.canReceiveEvent(o,e,o._keydownEvents)){this._ngZone.run(()=>o._keydownEvents.next(e));break}}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=Dt(t)))(r||t)}})();static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),TV=(()=>
23{class t extends EV{_platform=d(st);_ngZone=d(ne);_renderer=d(kn).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget=null;_cleanups;add(e){if(super.add(e),!this._isAttached){let n=this._document.body,r={capture:!0},o=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[o.listen(n,"pointerdown",this._pointerDownListener,r),o.listen(n,"click",this._clickListener,r),o.listen(n,"auxclick",this._clickListener,r),o.listen(n,"contextmenu",this._clickListener,r)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=Ii(e)};_clickListener=e=>{let n=Ii(e),r=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:n;this._pointerDownEventTarget=null;let o=this._attachedOverlays.slice();for(let a=o.length-1;a>-1;a--){let s=o[a],l=s._outsidePointerEvents;if(!(!s.hasAttached()||!this.canReceiveEvent(s,e,l))){if(yV(s.overlayElement,n)||yV(s.overlayElement,r))break;this._ngZone?this._ngZone.run(()=>l.next(e)):l.next(e)}}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=Dt(t)))(r||t)}})();static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function yV(t,i){let e=typeof ShadowRoot<"u"&&ShadowRoot,n=i;for(;n;){if(n===t)return!0;n=e&&n instanceof ShadowRoot?n.host:n.parentNode}return!1}var IV=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(n,r){},styles:[`.cdk-overlay-container, .cdk-global-overlay-wrapper { 24 pointer-events: none; 25 top: 0; 26 left: 0; 27 height: 100%; 28 width: 100%; 29} 30 31.cdk-overlay-container { 32 position: fixed; 33} 34@layer cdk-overlay { 35 .cdk-overlay-container { 36 z-index: 1000; 37 } 38} 39.cdk-overlay-container:empty { 40 display: none; 41} 42 43.cdk-global-overlay-wrapper { 44 display: flex; 45 position: absolute; 46} 47@layer cdk-overlay { 48 .cdk-global-overlay-wrapper { 49 z-index: 1000; 50 } 51} 52 53.cdk-overlay-pane { 54 position: absolute; 55 pointer-events: auto; 56 box-sizing: border-box; 57 display: flex; 58 max-width: 100%; 59 max-height: 100%; 60} 61@layer cdk-overlay { 62 .cdk-overlay-pane { 63 z-index: 1000; 64 } 65} 66 67.cdk-overlay-backdrop { 68 position: absolute; 69 top: 0; 70 bottom: 0; 71 left: 0; 72 right: 0; 73 pointer-events: auto; 74 -webkit-tap-highlight-color: transparent; 75 opacity: 0; 76 touch-action: manipulation; 77} 78@layer cdk-overlay { 79 .cdk-overlay-backdrop { 80 z-index: 1000; 81 transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1); 82 } 83} 84@media (prefers-reduced-motion) { 85 .cdk-overlay-backdrop { 86 transition-duration: 1ms; 87 } 88} 89 90.cdk-overlay-backdrop-showing { 91 opacity: 1; 92} 93@media (forced-colors: active) { 94 .cdk-overlay-backdrop-showing { 95 opacity: 0.6; 96 } 97} 98 99@layer cdk-overlay { 100 .cdk-overlay-dark-backdrop { 101 background: rgba(0, 0, 0, 0.32); 102 } 103} 104 105.cdk-overlay-transparent-backdrop { 106 transition: visibility 1ms linear, opacity 1ms linear; 107 visibility: hidden; 108 opacity: 1; 109} 110.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing, .cdk-high-contrast-active .cdk-overlay-transparent-backdrop { 111 opacity: 0; 112 visibility: visible; 113} 114 115.cdk-overlay-backdrop-noop-animation { 116 transition: none; 117} 118 119.cdk-overlay-connected-position-bounding-box { 120 position: absolute; 121 display: flex; 122 flex-direction: column; 123 min-width: 1px; 124 min-height: 1px; 125} 126@layer cdk-overlay { 127 .cdk-overlay-connected-position-bounding-box { 128 z-index: 1000; 129 } 130} 131 132.cdk-global-scrollblock { 133 position: fixed; 134 width: 100%; 135 overflow-y: scroll; 136} 137 138.cdk-overlay-popover { 139 background: none; 140 border: none; 141 padding: 0; 142 outline: 0; 143 overflow: visible; 144 position: fixed; 145 pointer-events: none; 146 white-space: normal; 147 color: inherit; 148 text-decoration: none; 149 width: 100%; 150 height: 100%; 151 inset: auto; 152 top: 0; 153 left: 0; 154} 155.cdk-overlay-popover::backdrop { 156 display: none; 157} 158.cdk-overlay-popover .cdk-overlay-backdrop { 159 position: fixed;
160 z-index: auto; 161} 162`],encapsulation:2,changeDetection:0})}return t})(),Hb=(()=>{class t{_platform=d(st);_containerElement;_document=d(ve);_styleLoader=d(dn);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||rT()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}let n=this._document.createElement("div");n.classList.add(e),rT()?n.setAttribute("platform","test"):this._platform.isBrowser||n.setAttribute("platform","server"),this._document.body.appendChild(n),this._containerElement=n}_loadStyles(){this._styleLoader.load(IV)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),cT=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(i,e,n,r){this._renderer=e,this._ngZone=n,this.element=i.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",r)}detach(){this._ngZone.runOutsideAngular(()=>{let i=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(i,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),i.style.pointerEvents="none",i.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}};function dT(t){return t&&t.nodeType===1}var ih=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new V;_attachments=new V;_detachments=new V;_positionStrategy;_scrollStrategy;_locationChanges=Re.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new V;_outsidePointerEvents=new V;_afterNextRenderRef;constructor(i,e,n,r,o,a,s,l,c,u=!1,h,m){this._portalOutlet=i,this._host=e,this._pane=n,this._config=r,this._ngZone=o,this._keyboardDispatcher=a,this._document=s,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=u,this._injector=h,this._renderer=m,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}get eventPredicate(){return this._config?.eventPredicate||null}attach(i){if(this._disposed)return null;this._attachHost();let e=this._portalOutlet.attach(i);return this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=en(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let i=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),i}dispose(){if(this._disposed)return;let i=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dis
162pose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,i&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent(),this._disposed=!0}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(i){i!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=i,this.hasAttached()&&(i.attach(this),this.updatePosition()))}updateSize(i){this._config=x(x({},this._config),i),this._updateElementSize()}setDirection(i){this._config=Y(x({},this._config),{direction:i}),this._updateElementDirection()}addPanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!0)}removePanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!1)}getDirection(){let i=this._config.direction;return i?typeof i=="string"?i:i.value:"ltr"}updateScrollStrategy(i){i!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=i,this.hasAttached()&&(i.attach(this),i.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let i=this._pane.style;i.width=Un(this._config.width),i.height=Un(this._config.height),i.minWidth=Un(this._config.minWidth),i.minHeight=Un(this._config.minHeight),i.maxWidth=Un(this._config.maxWidth),i.maxHeight=Un(this._config.maxHeight)}_togglePointerEvents(i){this._pane.style.pointerEvents=i?"":"none"}_attachHost(){if(!this._host.parentElement){let i=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;dT(i)?i.after(this._host):i?.type==="parent"?i.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host)}if(this._config.usePopover)try{this._host.showPopover()}catch(i){}}_attachBackdrop(){let i="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new cT(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._config.usePopover?this._host.prepend(this._backdropRef.element):this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(i))}):this._backdropRef.element.classList.add(i)}_updateStackingOrder(){!this._config.usePopover&&this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(i,e,n){let r=Ls(e||[]).filter(o=>!!o);r.length&&(n?i.classList.add(...r):i.classList.remove(...r))}_detachContentWhenEmpty(){let i=!1;try{this._detachContentAfterRenderRef=en(()=>{i=!0,this._detachContent()},{injector:this._injector})}catch(e){if(i)throw e;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let i=this._scrollStrategy;i?.disable(),i?.detach?.()}},bV="cdk-overlay-connected-position-bounding-box",kZ=/([A-Za-z%]+)$/;function Ya(t,i){return new rh(i,t.get(aa),t.get(ve),t.get(st),t.get(Hb))}var rh=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender=!1;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed=!1;_boundingBox=null;_lastPosition=null;_lastScrollVisibility=null;_positionChanges=new V;_resizeSubscription=Re.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";positionChanges=this._positionChanges;get positions(){return this._preferredPositions}
vendor: 6,169 bytes, line 162
162constructor(i,e,n,r,o){this._viewportRuler=e,this._document=n,this._platform=r,this._overlayContainer=o,this.setOrigin(i)}attach(i){this._overlayRef&&this._overlayRef,this._validatePositions(),i.hostElement.classList.add(bV),this._overlayRef=i,this._boundingBox=i.hostElement,this._pane=i.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._getContainerRect();let i=this._originRect,e=this._overlayRect,n=this._viewportRect,r=this._containerRect,o=[],a;for(let s of this._preferredPositions){let l=this._getOriginPoint(i,r,s),c=this._getOverlayPoint(l,e,s),u=this._getOverlayFit(c,e,n,s);if(u.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,l);return}if(this._canFitWithFlexibleDimensions(u,c,n)){o.push({position:s,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,s)});continue}(!a||a.overlayFit.visibleArea<u.visibleArea)&&(a={overlayFit:u,overlayPoint:c,originPoint:l,position:s,overlayRect:e})}if(o.length){let s=null,l=-1;for(let c of o){let u=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);u>l&&(l=u,s=c)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ad(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(bV),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let i=this._lastPosition;i?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(i,this._getOriginPoint(this._originRect,this._containerRect,i))):this.apply()}withScrollableContainers(i){return this._scrollables=i,this}withPositions(i){return this._preferredPositions=i,i.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(i){return this._viewportMargin=i,this}withFlexibleDimensions(i=!0){return this._hasFlexibleDimensions=i,this}withGrowAfterOpen(i=!0){return this._growAfterOpen=i,this}withPush(i=!0){return this._canPush=i,this}withLockedPosition(i=!0){return this._positionLocked=i,this}setOrigin(i){return this._origin=i,this}withDefaultOffsetX(i){return this._offsetX=i,this}withDefaultOffsetY(i){return this._offsetY=i,this}withTransformOriginOn(i){return this._transformOriginSelector=i,this}withPopoverLocation(i){return this._popoverLocation=i,this}getPopoverInsertionPoint(){return this._popoverLocation==="global"?null:this._popoverLocation!=="inline"?this._popoverLocation:this._origin instanceof Q?this._origin.nativeElement:dT(this._origin)?this._origin:null}_getOriginPoint(i,e,n){let r;if(n.originX=="center")r=i.left+i.width/2;else{let a=this._isRtl()?i.right:i.left,s=this._isRtl()?i.left:i.right;r=n.originX=="start"?a:s}e.left<0&&(r-=e.left);let o;return n.originY=="center"?o=i.top+i.height/2:o=n.originY=="top"?i.top:i.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(i,e,n){let r;n.overlayX=="center"?r=-e.width/2:n.overlayX==="start"?r=this._isRtl()?-e.width:0:r=this._isRtl()?0:-e.width;let o;return n.overlayY=="center"?o=-e.height/2:o=n.overlayY=="top"?0:-e.height,{x:i.x+r,y:i.y+o}}_getOverlayFit(i,e,n,r){let o=wV(e),{x:a,y:s}=i,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(a+=l),c&&(s+=c);let u=0-a,h=a+o.width-n.width,m=0-s,p=s+o.height-n.height,b=this._subtractOverflows(o.width,u,h),D=this._subtractOverflows(o.height,m,p),A=b*D;return{visibleArea:A,isCompletelyWithinViewport:o.width*o.height===A,fitsInViewportVertically:D===o.height,fitsInViewportHorizontally:b==o.width}}_canFitWithFlexibleDimensions(i,e,n){if(this._hasFlexibleDimensions){let r=n.bottom-e.y,o=n.right-e.x,a=CV(this._overlayRef.getConfig().minHeight),s=CV(this._overlayRef.getConfig().minWidth),l=i.fitsInViewportVertically||a!=null&&a<=r,c=i.fitsInViewportHorizontally||s!=null&&s<=o;return l&&c}return!1}_pushOverlayOnScreen(i,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:i.x+this._previousPushAmount.x,y:i.y+this._previousPushAmount.y};let r=wV(e),o=this._viewportRect,a=Math.max(i.x+r.width-o.width,0),s=Math.max(i.y+r.height-o.height,0),l=Math.max(o.top-n.top-i.y,0),c=Math.max(o.left-n.left-i.x,0),u=0,h=0;return r.width<=o.width?u=c||-a:u=i.x<this._getViewportMarginStart()?o.left-n.left-i.x:0,r.height<=o.height?h=l||-s:h=i.y<this._getViewportMarginTop()?o.top-n.top-i.y:0,this._previousPushAmount={x:u,y:h},{x:i.x+u,y:i.y+h}}_applyPosition(i,e){if(this._setTransformOrigin(i),this._setOverlayElementStyles(e,i),this._setBoundingBoxStyles(e,i),i.panelClass&&this._addPanelClasses(i.panelClass),this._positionChanges.observers.length){let n=this._getScrollVisibility();if(i!==this._lastPosition||!this._lastScrollVisibility||!OZ(this._lastScrollVisibility,n)){let r=new Bb(i,n);this._positionChanges.next(r)}this._lastScrollVisibility=n}this._lastPosition=i,this._isInitialRender=!1}_setTransformOrigin(i){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),n,r=i.overlayY;
162i.overlayX==="center"?n="center":this._isRtl()?n=i.overlayX==="start"?"right":"left":n=i.overlayX==="start"?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${n} ${r}`}_calculateBoundingBoxRect(i,e){let n=this._viewportRect,r=this._isRtl(),o,a,s;if(e.overlayY==="top")a=i.y,o=n.height-a+this._getViewportMarginBottom();else if(e.overlayY==="bottom")s=n.height-i.y+this._getViewportMarginTop()+this._getViewportMarginBottom(),o=n.height-s+this._getViewportMarginTop();else{let p=Math.min(n.bottom-i.y+n.top,i.y),b=this._lastBoundingBoxSize.height;o=p*2,a=i.y-p,o>b&&!this._isInitialRender&&!this._growAfterOpen&&(a=i.y-b/2)}let l=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,c=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,u,h,m;if(c)m=n.width-i.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),u=i.x-this._getViewportMarginStart();else if(l)h=i.x,u=n.right-i.x-this._getViewportMarginEnd();else{let p=Math.min(n.right-i.x+n.left,i.x),b=this._lastBoundingBoxSize.width;u=p*2,h=i.x-p,u>b&&!this._isInitialRender&&!this._growAfterOpen&&(h=i.x-b/2)}return{top:a,left:h,bottom:s,right:m,width:u,height:o}}_setBoundingBoxStyles(i,e){let n=this._calculateBoundingBoxRect(i,e);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right="auto",r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;r.width=Un(n.width),r.height=Un(n.height),r.top=Un(n.top)||"auto",r.bottom=Un(n.bottom)||"auto",r.left=Un(n.left)||"auto",r.right=Un(n.right)||"auto",e.overlayX==="center"?r.alignItems="center":r.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?r.justifyContent="center":r.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=Un(o)),a&&(r.maxWidth=Un(a))}this._lastBoundingBoxSize=n,ad(this._boundingBox.style,r)}_resetBoundingBoxStyles(){ad(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ad(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(i,e){let n={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(r){let u=this._viewportRuler.getViewportScrollPosition();ad(n,this._getExactOverlayY(e,i,u)),ad(n,this._getExactOverlayX(e,i,u))}else n.position="static";let s="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(s+=`translateX(${l}px) `),c&&(s+=`translateY(${c}px)`),n.transform=s.trim(),a.maxHeight&&(r?n.maxHeight=Un(a.maxHeight):o&&(n.maxHeight="")),a.maxWidth&&(r?n.maxWidth=Un(a.maxWidth):o&&(n.maxWidth="")),ad(this._pane.style,n)}_getExactOverlayY(i,e,n){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,i);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),i.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;r.bottom=`${a-(o.y+this._overlayRect.height)}px`}else r.top=Un(o.y);return r}_getExactOverlayX(i,e,n){let r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,i);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n));let a;if(this._isRtl()?a=i.overlayX==="end"?"left":"right":a=i.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;r.right=`${s-(o.x+this._overlayRect.width)}px`}else r.left=Un(o.x);return r}_getScrollVisibility(){let i=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:vV(i,n),isOriginOutsideView:lT(i,n),isOverlayClipped:vV(e,n),isOverlayOutsideView:lT(e,n)}}_subtractOverflows(i,...e){return e.reduce((n,r)=>n-Math.max(r,0),i)}_getNarrowedViewportRect(){let i=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._getViewportMarginTop(),left:n.left+this._getViewportMarginStart(),right:n.left+i-this._getViewportMarginEnd(),bottom:n.top+e-this._getViewportMarginBottom(),width:i-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:e-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(i,e){return e==="x"?i.offsetX==null?this._offsetX:i.offsetX:i.offsetY==null?this._offsetY:i.offsetY}_validatePositions(){}
162_addPanelClasses(i){this._pane&&Ls(i).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(i=>{this._pane.classList.remove(i)}),this._appliedPanelClasses=[])}_getViewportMarginStart(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.start??0}_getViewportMarginEnd(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.end??0}_getViewportMarginTop(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.top??0}_getViewportMarginBottom(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.bottom??0}_getOriginRect(){let i=this._origin;if(i instanceof Q)return i.nativeElement.getBoundingClientRect();if(i instanceof Element)return i.getBoundingClientRect();let e=i.width||0,n=i.height||0;return{top:i.y,bottom:i.y+n,left:i.x,right:i.x+e,height:n,width:e}}_getContainerRect(){let i=this._overlayRef.getConfig().usePopover&&this._popoverLocation!=="global",e=this._overlayContainer.getContainerElement();i&&(e.style.display="block");let n=e.getBoundingClientRect();return i&&(e.style.display=""),n}};function ad(t,i){for(let e in i)i.hasOwnProperty(e)&&(t[e]=i[e]);return t}function CV(t){if(typeof t!="number"&&t!=null){let[i,e]=t.split(kZ);return!e||e==="px"?parseFloat(i):null}return t||null}function wV(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function OZ(t,i){return t===i?!0:t.isOriginClipped===i.isOriginClipped&&t.isOriginOutsideView===i.isOriginOutsideView&&t.isOverlayClipped===i.isOverlayClipped&&t.isOverlayOutsideView===i.isOverlayOutsideView}var xV="cdk-global-overlay-wrapper";function Qa(t){return new Ub}var Ub=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(i){let e=i.getConfig();this._overlayRef=i,this._width&&!e.width&&i.updateSize({width:this._width}),this._height&&!e.height&&i.updateSize({height:this._height}),i.hostElement.classList.add(xV),this._isDisposed=!1}top(i=""){return this._bottomOffset="",this._topOffset=i,this._alignItems="flex-start",this}left(i=""){return this._xOffset=i,this._xPosition="left",this}bottom(i=""){return this._topOffset="",this._bottomOffset=i,this._alignItems="flex-end",this}right(i=""){return this._xOffset=i,this._xPosition="right",this}start(i=""){return this._xOffset=i,this._xPosition="start",this}end(i=""){return this._xOffset=i,this._xPosition="end",this}width(i=""){return this._overlayRef?this._overlayRef.updateSize({width:i}):this._width=i,this}height(i=""){return this._overlayRef?this._overlayRef.updateSize({height:i}):this._height=i,this}centerHorizontally(i=""){return this.left(i),this._xPosition="center",this}centerVertically(i=""){return this.top(i),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let i=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:a,maxHeight:s}=n,l=(r==="100%"||r==="100vw")&&(!a||a==="100%"||a==="100vw"),c=(o==="100%"||o==="100vh")&&(!s||s==="100%"||s==="100vh"),u=this._xPosition,h=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",p="",b="",D="";l?D="flex-start":u==="center"?(D="center",m?b=h:p=h):m?u==="left"||u==="end"?(D="flex-end",p=h):(u==="right"||u==="start")&&(D="flex-start",b=h):u==="left"||u==="start"?(D="flex-start",p=h):(u==="right"||u==="end")&&(D="flex-end",b=h),i.position=this._cssPosition,i.marginLeft=l?"0":p,i.marginTop=c?"0":this._topOffset,i.marginBottom=this._bottomOffset,i.marginRight=l?"0":b,e.justifyContent=D,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let i=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove(xV),n.justifyContent=n.alignItems=i.marginTop=i.marginBottom=i.marginLeft=i.marginRight=i.position="",this._overlayRef=null,this._isDisposed=!0}},zb=(()=>{class t{_injector=d(he);constructor(){}global(){return Qa()}flexibleConnectedTo(e){return Ya(this._injector,e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),$b=new T("OVERLAY_DEFAULT_CONFIG");function hr(t,i){t.get(dn).load(IV);let e=t.get(Hb),n=t.get(ve),r=t.get(Et),o=t.get($i),a=t.get(xn),s=t.get(Ge,null,{optional:!0})||t.get(kn).createRenderer(null,null),l=new Ai(i),c=t.get($b,null,{optional:!0})?.usePopover??!0;l.direction=l.direction||a.value,"showPopover"in n.body?l.usePopover=i?.usePopover??c:l.usePopover=!1;let u=n.createElement("div"),h=n.createElement("div");u.id=r.getId("cdk-overlay-"),u.classList.add("cdk-overlay-pane"),h.appendChild(u),l.usePopover&&(h.setAttribute("popover","manual"),h.classList.add("cdk-overlay-popover"));let m=l.usePopover?l.positionStrategy?.getPopoverInsertionPoint?.():null;return dT(m)?m.after(h):m?.type==="parent"?m.element.appendChild(h):e.getContainerElement().appendChild(h),new ih(new yp(u,o,t),h,u,l,t.get(ne),t.get(SV),n,t.get(Fa),t.get(TV),i?.disableAnimations??t.get(pl,null,{optional:!0})==="NoopAnimations",t.get(Bt),s)}var oh=(()=>{class t{scrollStrategies=d(MV);_positionBuilder=d(zb);_injector=d(he);constructor(){}create(e){return hr(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var fr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({providers:[oh],imports:[gt,go,oT,oT]})}return t})();function sd(t){return t.buttons===0||t.detail===0}function ld(t){let i=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!i&&i.identifier===-1&&(i.radiusX==null||i.radiusX===1)&&(i.radiusY==null||i.radiusY===1)}var Cp;function AV(){if(Cp==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Cp=!0}))}finally{Cp=Cp||!1}return Cp}function ah(t){return AV()?t:!!t.capture}var kV=new T("cdk-input-modality-detector-options"),OV={ignoreKeys:[18,17,224,91,16]},NV=650,uT={passive:!0,capture:!0},RV=(()=>{class t{_platform=d(st);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new pt(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(n=>
162n===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Ii(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<NV||(this._modality.next(sd(e)?"keyboard":"mouse"),this._mostRecentTarget=Ii(e))};_onTouchstart=e=>{if(ld(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Ii(e)};constructor(){let e=d(ne),n=d(ve),r=d(kV,{optional:!0});if(this._options=x(x({},OV),r),this.modalityDetected=this._modality.pipe(ps(1)),this.modalityChanged=this.modalityDetected.pipe(Dr()),this._platform.isBrowser){let o=d(kn).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[o.listen(n,"keydown",this._onKeydown,uT),o.listen(n,"mousedown",this._onMousedown,uT),o.listen(n,"touchstart",this._onTouchstart,uT)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),wp=(function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t})(wp||{}),PV=new T("cdk-focus-monitor-default-options"),Wb=ah({passive:!0,capture:!0}),Qi=(()=>{class t{_ngZone=d(ne);_platform=d(st);_inputModalityDetector=d(RV);_origin=null;_lastFocusOrigin=null;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=d(ve);_stopInputModalityDetector=new V;constructor(){let e=d(PV,{optional:!0});this._detectionMode=e?.detectionMode||wp.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let n=Ii(e);for(let r=n;r;r=r.parentElement)e.type==="focus"?this._onFocus(e,r):this._onBlur(e,r)};monitor(e,n=!1){let r=Vr(e);if(!this._platform.isBrowser||r.nodeType!==1)return K();let o=iT(r)||this._document,a=this._elementInfo.get(r);if(a)return n&&(a.checkChildren=!0),a.subject;let s={checkChildren:n,subject:new V,rootNode:o};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let n=Vr(e),r=this._elementInfo.get(n);r&&(r.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(r))}focusVia(e,n,r){let o=Vr(e),a=this._document.activeElement;o===a?this._getClosestElementsInfo(o).forEach(([s,l])=>this._originChanged(s,n,l)):(this._setOrigin(n),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,n)=>this.stopMonitoring(n))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===wp.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,n){e.classList.toggle("cdk-focused",!!n),e.classList.toggle("cdk-touch-focused",n==="touch"),e.classList.toggle("cdk-keyboard-focused",n==="keyboard"),e.classList.toggle("cdk-mouse-focused",n==="mouse"),e.classList.toggle("cdk-program-focused",n==="program")}_setOrigin(e,n=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&n,this._detectionMode===wp.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?NV:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,n){let r=this._elementInfo.get(n),o=Ii(e);!r||!r.checkChildren&&n!==o||this._originChanged(n,this._getFocusOrigin(o),r)}_onBlur(e,n){let r=this._elementInfo.get(n);!r||r.checkChildren&&e.relatedTarget instanceof Node&&n.contains(e.relatedTarget)||(this._setClasses(n),this._emitOrigin(r,null))}_emitOrigin(e,n){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(n))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let n=e.rootNode,r=this._rootNodeFocusListenerCount.get(n)||0;r||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,Wb),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,Wb)}),this._rootNodeFocusListenerCount.set(n,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Ee(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let n=e.rootNode;if(this._rootNodeFocusListenerCount.has(n)){let r=this._rootNodeFocusListenerCount.get(n);r>1?this._rootNodeFocusListenerCount.set(n,r-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Wb),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Wb),this._rootNodeFocusListenerCount.delete(n))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,n,r){this._setClasses(e,n),this._emitOrigin(r,n),this._lastFocusOrigin=n}_getClosestElementsInfo(e){let n=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&n.push([o,r])}),n}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:n,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!n||n===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let a=0;a<o.length;a++)if(o[a].contains(n))return!0}return!1}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),qb=(()=>{class t{_elementRef=d(Q);_focusMonitor=d(Qi);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new z;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(n=>{this._focusOrigin=n,this.cdkFocusChange.emit(n)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription?.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();var _o=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(n,r){},styles:[`.cdk-visually-hidden { 163 border: 0; 164 clip: rect(0 0 0 0); 165 height: 1px; 166 margin: -1px; 167 overflow: hidden; 168 padding: 0; 169 position: absolute; 170 width: 1px; 171 white-space: nowrap; 172 outline: 0; 173 -webkit-appearance: none; 174 -moz-appearance: none; 175 left: 0; 176} 177[dir=rtl] .cdk-visually-hidden { 178 left: auto; 179 right: 0; 180} 181`],encapsulation:2,changeDetection:0})}return t})(),Gb;function NZ(){if(Gb===void 0&&(Gb=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(Gb=t.trustedTypes.createPolicy("angular#components",{createHTML:i=>i}))}return Gb}function RZ(t){return NZ()?.createHTML(t)||t}function FV(t,i,e){let n=e.sanitize(Ji.HTML,i);t.innerHTML=RZ(n||"")}var LV=new Set,cd,sh=(()=>{class t{_platform=d(st);_nonce=d(kc,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):FZ}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&PZ(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function PZ(t,i){if(!LV.has(t))try{cd||(cd=document.createElement("style"),i&&cd.setAttribute("nonce",i),cd.setAttribute("type","text/css"),document.head.appendChild(cd)),cd.sheet&&(cd.sheet.insertRule(`@media ${t} {body{ }}`,0),LV.add(t))}catch(e){console.error(e)}}function FZ(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var js=(()=>{class t{_mediaMatcher=d(sh);_zone=d(ne);_queries=new Map;
181_destroySubject=new V;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return VV(Ls(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=VV(Ls(e)).map(a=>this._registerQuery(a).observable),o=nl(r);return o=Ca(o.pipe(Fe(1)),o.pipe(ps(1),ii(0))),o.pipe(X(a=>{let s={matches:!1,breakpoints:{}};return a.forEach(({matches:l,query:c})=>{s.matches=s.matches||l,s.breakpoints[c]=l}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let n=this._mediaMatcher.matchMedia(e),o={observable:new De(a=>{let s=l=>this._zone.run(()=>a.next(l));return n.addListener(s),()=>{n.removeListener(s)}}).pipe(Ot(n),X(({matches:a})=>({query:e,matches:a})),Ee(this._destroySubject)),mql:n};return this._queries.set(e,o),o}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function VV(t){return t.map(i=>i.split(",")).reduce((i,e)=>i.concat(e)).map(i=>i.trim())}var LZ=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Yb=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({providers:[LZ]})}return t})();var jl=(()=>{class t{_platform=d(st);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return jZ(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let n=VZ(GZ(e));if(n&&(jV(n)===-1||!this.isVisible(n)))return!1;let r=e.nodeName.toLowerCase(),o=jV(e);return e.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!WZ(e)?!1:r==="audio"?e.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,n){return qZ(e)&&!this.isDisabled(e)&&(n?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function VZ(t){try{return t.frameElement}catch(i){return null}}function jZ(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function BZ(t){let i=t.nodeName.toLowerCase();return i==="input"||i==="select"||i==="button"||i==="textarea"}function UZ(t){return zZ(t)&&t.type=="hidden"}function HZ(t){return $Z(t)&&t.hasAttribute("href")}function zZ(t){return t.nodeName.toLowerCase()=="input"}function $Z(t){return t.nodeName.toLowerCase()=="a"}function HV(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let i=t.getAttribute("tabindex");return!!(i&&!isNaN(parseInt(i,10)))}function jV(t){if(!HV(t))return null;let i=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(i)?-1:i}function WZ(t){let i=t.nodeName.toLowerCase(),e=i==="input"&&t.type;return e==="text"||e==="password"||i==="select"||i==="textarea"}function qZ(t){return UZ(t)?!1:BZ(t)||HZ(t)||t.hasAttribute("contenteditable")||HV(t)}function GZ(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var Qb=class{_element;_checker;_ngZone;_document;_injector;_startAnchor=null;_endAnchor=null;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(i){this._enabled=i,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_enabled=!0;constructor(i,e,n,r,o=!1,a){this._element=i,this._checker=e,this._ngZone=n,this._document=r,this._injector=a,o||this.attachAnchors()}destroy(){let i=this._startAnchor,e=this._endAnchor;i&&(i.removeEventListener("focus",this.startAnchorListener),i.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(i)))})}focusFirstTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(i)))})}focusLastTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(i)))})}_getRegionBoundary(i){let e=this._element.querySelectorAll(`[cdk-focus-region-${i}], [cdkFocusRegion${i}], [cdk-focus-${i}]`);return i=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(i){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let n=this._getFirstTabbableElement(e);return n?.focus(i),!!n}return e.focus(i),!0}return this.focusFirstTabbableElement(i)}focusFirstTabbableElement(i){let e=this._getRegionBoundary("start");return e&&e.focus(i),!!e}focusLastTabbableElement(i){let e=this._getRegionBoundary("end");return e&&e.focus(i),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(i){if(this._checker.isFocusable(i)&&this._checker.isTabbable(i))return i;let e=i.children;for(let n=0;n<e.length;n++){let r=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(r)return r}return null}_getLastTabbableElement(i){if(this._checker.isFocusable(i)&&this._checker.isTabbable(i))return i;let e=i.children;for(let n=e.length-1;n>=0;n--){let r=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(r)return r}return null}_createAnchor(){let i=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,i),i.classList.add("cdk-visually-hidden"),i.classList.add("cdk-focus-trap-anchor"),i.setAttribute("aria-hidden","true"),i}_toggleAnchorTabIndex(i,e){i?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(i){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_executeOnStable(i){this._injector?en(i,{injector:this._injector}):setTimeout(i)}},lh=(()=>{class t{_checker=d(jl);_ngZone=d(ne);_document=d(ve);_injector=d(he);constructor(){d(dn).load(_o)}create(e,n=!1){return new Qb(e,this._checker,this._ngZone,this._document,n,this._injector)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),fT=(()=>{class t{_elementRef=d(Q);_focusTrapFactory=d(lh);focusTrap=void 0;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e)}autoCapture=!1;constructor(){d(st).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(e){let n=e.autoCapture;n&&!n.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=mo(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",ue],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",ue]},exportAs:["cdkTrapFocus"],features:[Ze]})}return t})(),zV=new T("liveAnnouncerElement",{providedIn:"root",factory:()=>null}),$V=new T("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),YZ=0,dd=(()=>{class t{_ngZone=d(ne);_defaultOptions=d($V,{optional:!0});_liveElement;_document=d(ve);_sanitizer=d(MM);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=d(zV,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...n){let r=this._defaultOptions,o,a;return n.length===1&&typeof n[0]=="number"?a=n[0]:[o,a]=n,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),a==null&&r&&(a=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{!e||typeof e=="string"?this._liveElement.textContent=e:FV(this._liveElement,e,this._sanitizer),typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",n=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o<n.length;o++)n[o].remove();return r.classList.add(e),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id=`cdk-live-announcer-${YZ++}`,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(e){let n=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<n.length;r++){let o=n[r],a=o.getAttribute("aria-owns");a?a.indexOf(e)===-1&&o.setAttribute("aria-owns",a+" "+e):o.setAttribute("aria-owns",e)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Vl=(function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t})(Vl||{}),BV="cdk-high-contrast-black-on-white",UV="cdk-high-contrast-white-on-black",hT="cdk-high-contrast-active",WV=(()=>{class t{_platform=d(st);_hasCheckedHighContrastMode=!1;_document=d(ve);_breakpointSubscription;constructor(){this._breakpointSubscription=d(js).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasse
vendor: 11,010 bytes, lines 181-188
181s())})}getHighContrastMode(){if(!this._platform.isBrowser)return Vl.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let n=this._document.defaultView||window,r=n&&n.getComputedStyle?n.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Vl.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Vl.BLACK_ON_WHITE}return Vl.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(hT,BV,UV),this._hasCheckedHighContrastMode=!0;let n=this.getHighContrastMode();n===Vl.BLACK_ON_WHITE?e.add(hT,BV):n===Vl.WHITE_ON_BLACK&&e.add(hT,UV)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Bs=(()=>{class t{constructor(){d(WV)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({imports:[Yb]})}return t})();function QZ(t,i){}var Bl=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext};var pT=(()=>{class t extends Fl{_elementRef=d(Q);_focusTrapFactory=d(lh);_config;_interactivityChecker=d(jl);_ngZone=d(ne);_focusMonitor=d(Qi);_renderer=d(Ge);_changeDetectorRef=d(Pe);_injector=d(he);_platform=d(st);_document=d(ve);_portalOutlet;_focusTrapped=new V;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=d(Bl,{optional:!0})||new Bl,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let n=this._ariaLabelledByQueue.indexOf(e);n>-1&&(this._ariaLabelledByQueue.splice(n,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let n=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),n}attachTemplatePortal(e){this._portalOutlet.hasAttached();let n=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),n}attachDomPortal=e=>{this._portalOutlet.hasAttached();let n=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),n};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,n){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{o(),a(),e.removeAttribute("tabindex")},o=this._renderer.listen(e,"blur",r),a=this._renderer.listen(e,"mousedown",r)})),e.focus(n)}_focusByCssSelector(e,n){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,n)}_trapFocus(e){this._isDestroyed||en(()=>{let n=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||n.focus(e);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',e);break;default:this._focusByCssSelector(this._config.autoFocus,e);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,n=null;if(typeof e=="string"?n=this._document.querySelector(e):typeof e=="boolean"?n=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(n=e),this._config.restoreFocus&&n&&typeof n.focus=="function"){let r=mo(),o=this._elementRef.nativeElement;(!r||r===this._document.body||r===o||o.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(n,this._closeInteractionType),this._closeInteractionType=null):n.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(e){this._elementRef.nativeElement.focus?.(e)}_containsFocus(){let e=this._elementRef.nativeElement,n=mo();return e===n||e.contains(n)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=mo()))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(n,r){if(n&1&&Zt(jr,7),n&2){let o;we(o=xe())&&(r._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(n,r){n&2&&N("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},features:[Je],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(n,r){n&1&&se(0,QZ,0,0,"ng-template",0)},dependencies:[jr],styles:[`.cdk-dialog-container { 182 display: block; 183 width: 100%; 184 height: 100%; 185 min-height: inherit; 186 max-height: inherit; 187} 188`],encapsulation:2})}return t})(),xp=class{overlayRef;config;componentInstance=null;componentRef=null;containerInstance;disableClose;closed=new V;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(i,e){this.overlayRef=i,this.config=e,this.disableClose=e.disableClose,this.backdropClick=i.backdropClick(),this.keydownEvents=i.keydownEvents(),this.outsidePointerEvents=i.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(n=>{n.keyCode===27&&!this.disableClose&&!un(n)&&(n.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=i.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(i,e){if(this._canClose(i)){let n=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),n.next(i),n.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(i="",e=""){return this.overlayRef.updateSize({width:i,height:e}),this}addPanelClass(i){return this.overlayRef.addPanelClass(i),this}removePanelClass(i){return this.overlayRef.removePanelClass(i),this}_canClose(i){let e=this.config;return!!this.containerInstance&&(!e.closePredicate||e.closePredicate(i,e,this.componentInstance))}},ZZ=new T("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=d(he);return()=>Ll(t)}}),KZ=new T("DialogData"),XZ=new T("DefaultDialogConfig");function JZ(t){let i=re(t),e=new z;return{valueSignal:i,get value(){return i()},change:e,ngOnDestroy(){e.complete()}}}var gT=(()=>{class t{_injector=d(he);_defaultOptions=d(XZ,{optional:!0});_parentDialog=d(t,{optional:!0,skipSelf:!0});_overlayContainer=d(Hb);_idGenerator=d(Et);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new V;_afterOpenedAtThisLevel=new V;_ariaHiddenElements=new Map;_scrollStrategy=d(ZZ);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=Oo(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ot(void 0)));constructor(){}open(e,n){let r=this._defaultOptions||new Bl;n=x(x({},r),n),n.id=n.id||this._idGenerator.getId("cdk-dialog-"),n.id&&this.getDialogById(n.id);let o=this._getOverlayConfig(n),a=hr(this._injector,o),s=new xp(a,n),l=this._attachContainer(a,s,n);if(s.containerInstance=l,!this.openDialogs.length){let c=this._overlayContainer.getContainerElement();l._focusTrapped?l._focusTrapped.pipe(Fe(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(c)}):this._hideNonDialogContentFromAssistiveTechnology(c)}return this._attachDialogContent(e,s,l,n),this.openDialogs.push(s),s.closed.subscribe(()=>this._removeOpenDialog(s,!0)),this.afterOpened.next(s),s}closeAll(){mT(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(n=>n.id===e)}ngOnDestroy(){mT(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),mT(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let n=new Ai({positionStrategy:e.positionStrategy||Qa().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation,disableAnimations:e.disableAnimations});return e.backdropClass&&(n.backdropClass=e.backdropClass),n}_attachContainer(e,n,r){let o=r.injector||r.viewContainerRef?.injector,a=[{provide:Bl,useValue:r},{provide:xp,useValue:n},{provide:ih,useValue:e}],s;r.container?typeof r.container=="function"?s=r.container:(s=r.container.type,a.push(...r.container.providers(r))):s=pT;let l=new ci(s,r.viewContainerRef,he.create({parent:o||this._injector,providers:a}));return e.attach(l).instance}_attachDialogContent(e,n,r,o){if(e instanceof fe){let a=this._createInjector(o,n,r,void 0),s={$implicit:o.data,dialogRef:n};o.templateContext&&(s=x(x({},s),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),r.attachTemplatePortal(new Yi(e,null,s,a))}else{let a=this._createInjector(o,n,r,this._injector),s=r.attachComponentPortal(new ci(e,o.viewContainerRef,a));n.componentRef=s,n.componentInstance=s.instance}}_createInjector(e,n,r,o){let a=e.injector||e.viewContainerRef?.injector,s=[{provide:KZ,useValue:e.data},{provide:xp,useValue:n}];return e.providers&&(typeof e.providers=="function"?s.push(...e.providers(n,e,r)):s.push(...e.providers)),e.direction&&(!a||!a.get(xn,null,{optional:!0}))&&s.push({provide:xn,useValue:JZ(e.direction)}),he.create({parent:a||o,providers:s})}_removeOpenDialog(e,n){let r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEac
188h((o,a)=>{o?a.setAttribute("aria-hidden",o):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),n&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let n=e.parentElement.children;for(let r=n.length-1;r>-1;r--){let o=n[r];o!==e&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&!o.hasAttribute("popover")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function mT(t,i){let e=t.length;for(;e--;)i(t[e])}var qV=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({providers:[gT],imports:[fr,go,Bs,go]})}return t})();function ki(t){return t!=null&&`${t}`!="false"}function GV(t,i=/\s+/){let e=[];
vendor: 4,992 bytes, line 188
188if(t!=null){let n=Array.isArray(t)?t:`${t}`.split(i);for(let r of n){let o=`${r}`.trim();o&&e.push(o)}}return e}var Zb={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var eK=new T("MATERIAL_ANIMATIONS"),YV=null;function tK(){return d(eK,{optional:!0})?.animationsDisabled||d(pl,{optional:!0})==="NoopAnimations"?"di-disabled":(YV??=d(sh).matchMedia("(prefers-reduced-motion)").matches,YV?"reduced-motion":"enabled")}function Nt(){return tK()!=="enabled"}var nK=200,Kb=class{_letterKeyStream=new V;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new V;selectedItem=this._selectedItem;constructor(i,e){let n=typeof e?.debounceInterval=="number"?e.debounceInterval:nK;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(i),this._setupKeyHandler(n)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(i){this._selectedItemIndex=i}setItems(i){this._items=i}handleKey(i){let e=i.keyCode;i.key&&i.key.length===1?this._letterKeyStream.next(i.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(i){this._letterKeyStream.pipe(vt(e=>this._pressedLetters.push(e)),ii(i),J(()=>this._pressedLetters.length>0),X(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let n=1;n<this._items.length+1;n++){let r=(this._selectedItemIndex+n)%this._items.length,o=this._items[r];if(!this._skipPredicateFn?.(o)&&o.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(o);break}}this._pressedLetters=[]})}};var ch=class{_items;_activeItemIndex=re(-1);_activeItem=re(null);_wrap=!1;_typeaheadSubscription=Re.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal=null;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=i=>i.disabled;constructor(i,e){this._items=i,i instanceof Tr?this._itemChangesSubscription=i.changes.subscribe(n=>this._itemsChanged(n.toArray())):Ra(i)&&(this._effectRef=Zn(()=>this._itemsChanged(i()),{injector:e}))}tabOut=new V;change=new V;skipPredicate(i){return this._skipPredicateFn=i,this}withWrap(i=!0){return this._wrap=i,this}withVerticalOrientation(i=!0){return this._vertical=i,this}withHorizontalOrientation(i){return this._horizontal=i,this}withAllowedModifierKeys(i){return this._allowedModifierKeys=i,this}withTypeAhead(i=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new Kb(e,{debounceInterval:typeof i=="number"?i:void 0,skipPredicate:n=>this._skipPredicateFn(n)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(n=>{this.setActiveItem(n)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(i=!0){return this._homeAndEnd=i,this}withPageUpDown(i=!0,e=10){return this._pageUpAndDown={enabled:i,delta:e},this}setActiveItem(i){let e=this._activeItem();this.updateActiveItem(i),this._activeItem()!==e&&this.change.next(this._activeItemIndex())}onKeydown(i){let e=i.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!i[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>
1880?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex()+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o<a?o:a-1,-1);break}else return;default:(r||un(i,"shiftKey"))&&this._typeahead?.handleKey(i);return}this._typeahead?.reset(),i.preventDefault()}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex()<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex()<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(i){let e=this._getItemsArray(),n=typeof i=="number"?i:e.indexOf(i),r=e[n];this._activeItem.set(r??null),this._activeItemIndex.set(n),this._typeahead?.setCurrentSelectedItemIndex(n)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(i){this._wrap?this._setActiveInWrapMode(i):this._setActiveInDefaultMode(i)}_setActiveInWrapMode(i){let e=this._getItemsArray();for(let n=1;n<=e.length;n++){let r=(this._activeItemIndex()+i*n+e.length)%e.length,o=e[r];if(!this._skipPredicateFn(o)){this.setActiveItem(r);return}}}_setActiveInDefaultMode(i){this._setActiveItemByIndex(this._activeItemIndex()+i,i)}_setActiveItemByIndex(i,e){let n=this._getItemsArray();if(n[i]){for(;this._skipPredicateFn(n[i]);)if(i+=e,!n[i])return;this.setActiveItem(i)}}_getItemsArray(){return Ra(this._items)?this._items():this._items instanceof Tr?this._items.toArray():this._items}_itemsChanged(i){this._typeahead?.setItems(i);let e=this._activeItem();if(e){let n=i.indexOf(e);n>-1&&n!==this._activeItemIndex()&&(this._activeItemIndex.set(n),this._typeahead?.setCurrentSelectedItemIndex(n))}}};var Ep=class extends ch{setActiveItem(i){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(i),this.activeItem&&this.activeItem.setActiveStyles()}};var ud=class extends ch{_origin="program";setFocusOrigin(i){return this._origin=i,this}setActiveItem(i){super.setActiveItem(i),this.activeItem&&this.activeItem.focus(this._origin)}};var KV=" ";function n0(t,i,e){let n=t0(t,i);e=e.trim(),!n.some(r=>r.trim()===e)&&(n.push(e),t.setAttribute(i,n.join(KV)))}function Sp(t,i,e){let n=t0(t,i);e=e.trim();let r=n.filter(o=>o!==e);r.length?t.setAttribute(i,r.join(KV)):t.removeAttribute(i)}function t0(t,i){return t.getAttribute(i)?.match(/\S+/g)??[]}var XV="cdk-describedby-message",e0="cdk-describedby-host",vT=0,i0=(()=>{class t{_platform=d(st);_document=d(ve);_messageRegistry=new Map;_messagesContainer=null;_id=`${vT++}`;constructor(){d(dn).load(_o),this._id=d(ml)+"-"+vT++}describe(e,n,r){if(!this._canBeDescribed(e,n))return;let o=_T(n,r);typeof n!="string"?(ZV(n,this._id),this._messageRegistry.set(o,{messageElement:n,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(n,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,n,r){if(!n||!this._isElementNode(e))return;let o=_T(n,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),typeof n=="string"){let a=this._messageRegistry.get(o);a&&a.referenceCount===0&&this._deleteMessageElement(o)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${e0}="${this._id}"]`);for(let n=0;n<e.length;n++)this._removeCdkDescribedByReferenceIds(e[n]),e[n].removeAttribute(e0);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,n){let r=this._document.createElement("div");ZV(r,this._id),r.textContent=e,n&&r.setAttribute("role",n),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(_T(e,n),{messageElement:r,referenceCount:0})}_deleteMessageElement(e){this._messageRegistry.get(e)?.messageElement?.remove(),this._messageRegistry.delete(e)}_createMessagesContainer(){if(this._messagesContainer)return;let e="cdk-describedby-message-container",n=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let o=0;o<n.length;o++)n[o].remove();let r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(e),r.classList.add("cdk-visually-hidden"),this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(e){let n=t0(e,"aria-describedby").filter(r=>r.indexOf(XV)!=0);e.setAttribute("aria-describedby",n.join(" "))}_addMessageReference(e,n){let r=this._messageRegistry.get(n);n0(e,"aria-describedby",r.messageElement.id),e.setAttribute(e0,this._id),r.referenceCount++}_removeMessageReference(e,n){let r=this._messageRegistry.get(n);r.referenceCount--,Sp(e,"aria-describedby",r.messageElement.id),e.removeAttribute(e0)}_isElementDescribedByMessage(e,n){let r=t0(e,"aria-describedby"),o=this._messageRegistry.get(n),a=o&&o.messageElement.id;return!!a&&r.indexOf(a)!=-1}_canBeDescribed(e,n){if(!this._isElementNode(e))return!1;if(n&&typeof n=="object")return!0;let r=n==null?"":`${n}`.trim(),o=e.getAttribute("aria-label");return r?!o||o.trim()!==r:!1}
vendor: 9,486 bytes, lines 188-360
188_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function _T(t,i){return typeof t=="string"?`${i||""}/${t}`:t}function ZV(t,i){t.id||(t.id=`${XV}-${i}-${vT++}`)}function iK(t,i){}var dh=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration},yT="mdc-dialog--open",JV="mdc-dialog--opening",ej="mdc-dialog--closing",rK=150,oK=75,aK=(()=>{class t extends pT{_animationStateChanged=new z;_animationsEnabled=!Nt();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?nj(this._config.enterAnimationDuration)??rK:0;_exitAnimationDuration=this._animationsEnabled?nj(this._config.exitAnimationDuration)??oK:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(tj,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(JV,yT)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(yT),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(yT),this._animationsEnabled?(this._hostElement.style.setProperty(tj,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(ej)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(JV,ej)}_waitForAnimationToComplete(e,n){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(n,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let n=super.attachComponentPortal(e);return n.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),n}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Dt(t)))(r||t)}})();static \u0275cmp=F({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(n,r){n&2&&(wt("id",r._config.id),N("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),ie("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},features:[Je],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(n,r){n&1&&(g(0,"div",0)(1,"div",1),se(2,iK,0,0,"ng-template",2),_()())},dependencies:[jr],styles:[`.mat-mdc-dialog-container { 189 width: 100%; 190 height: 100%; 191 display: block; 192 box-sizing: border-box; 193 max-height: inherit; 194 min-height: inherit; 195 min-width: inherit; 196 max-width: inherit; 197 outline: 0; 198} 199 200.cdk-overlay-pane.mat-mdc-dialog-panel { 201 max-width: var(--mat-dialog-container-max-width, 560px); 202 min-width: var(--mat-dialog-container-min-width, 280px); 203} 204@media (max-width: 599px) { 205 .cdk-overlay-pane.mat-mdc-dialog-panel { 206 max-width: var(--mat-dialog-container-small-max-width, calc(100vw - 32px)); 207 } 208} 209 210.mat-mdc-dialog-inner-container { 211 display: flex; 212 flex-direction: row; 213 align-items: center; 214 justify-content: space-around; 215 box-sizing: border-box; 216 height: 100%; 217 opacity: 0; 218 transition: opacity linear var(--mat-dialog-transition-duration, 0ms); 219 max-height: inherit; 220 min-height: inherit; 221 min-width: inherit; 222 max-width: inherit; 223} 224.mdc-dialog--closing .mat-mdc-dialog-inner-container { 225 transition: opacity 75ms linear; 226 transform: none; 227} 228.mdc-dialog--open .mat-mdc-dialog-inner-container { 229 opacity: 1; 230} 231._mat-animation-noopable .mat-mdc-dialog-inner-container { 232 transition: none; 233} 234 235.mat-mdc-dialog-surface { 236 display: flex; 237 flex-direction: column; 238 flex-grow: 0; 239 flex-shrink: 0; 240 box-sizing: border-box; 241 width: 100%; 242 height: 100%; 243 position: relative; 244 overflow-y: auto; 245 outline: 0; 246 transform: scale(0.8); 247 transition: transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1); 248 max-height: inherit; 249 min-height: inherit; 250 min-width: inherit; 251 max-width: inherit; 252 box-shadow: var(--mat-dialog-container-elevation-shadow, none); 253 border-radius: var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px)); 254 background-color: var(--mat-dialog-container-color, var(--mat-sys-surface, white)); 255} 256[dir=rtl] .mat-mdc-dialog-surface { 257 text-align: right; 258} 259.mdc-dialog--open .mat-mdc-dialog-surface, .mdc-dialog--closing .mat-mdc-dialog-surface { 260 transform: none; 261} 262._mat-animation-noopable .mat-mdc-dialog-surface { 263 transition: none; 264} 265.mat-mdc-dialog-surface::before { 266 position: absolute; 267 box-sizing: border-box; 268 width: 100%; 269 height: 100%; 270 top: 0; 271 left: 0; 272 border: 2px solid transparent; 273 border-radius: inherit; 274 content: ""; 275 pointer-events: none; 276} 277 278.mat-mdc-dialog-title { 279 display: block; 280 position: relative; 281 flex-shrink: 0; 282 box-sizing: border-box; 283 margin: 0 0 1px; 284 padding: var(--mat-dialog-headline-padding, 6px 24px 13px); 285} 286.mat-mdc-dialog-title::before { 287 display: inline-block; 288 width: 0; 289 height: 40px; 290 content: ""; 291 vertical-align: 0; 292} 293[dir=rtl] .mat-mdc-dialog-title { 294 text-align: right; 295} 296.mat-mdc-dialog-container .mat-mdc-dialog-title { 297 color: var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87))); 298 font-family: var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit)); 299 line-height: var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem)); 300 font-size: var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem)); 301 font-weight: var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400)); 302 letter-spacing: var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em)); 303} 304 305.mat-mdc-dialog-content { 306 display: block; 307 flex-grow: 1; 308 box-sizing: border-box; 309 margin: 0; 310 overflow: auto; 311 max-height: 65vh; 312} 313.mat-mdc-dialog-content > :first-child { 314 margin-top: 0; 315} 316.mat-mdc-dialog-content > :last-child { 317 margin-bottom: 0; 318} 319.mat-mdc-dialog-container .mat-mdc-dialog-content { 320 color: var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6))); 321 font-family: var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit)); 322 line-height: var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem)); 323 font-size: var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem)); 324 font-weight: var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400)); 325 letter-spacing: var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em)); 326} 327.mat-mdc-dialog-container .mat-mdc-dialog-content { 328 padding: var(--mat-dialog-content-padding, 20px 24px); 329} 330.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content { 331 padding: var(--mat-dialog-with-actions-content-padding, 20px 24px 0); 332} 333.mat-mdc-dialog-container .mat-mdc-dialog-title + .mat-mdc-dialog-content { 334 padding-top: 0; 335} 336 337.mat-mdc-dialog-actions { 338 display: flex; 339 position: relative; 340 flex-shrink: 0; 341 flex-wrap: wrap; 342 align-items: center; 343 box-sizing: border-box; 344 min-height: 52px; 345 margin: 0; 346 border-top: 1px solid transparent; 347 padding: var(--mat-dialog-actions-padding, 16px 24px); 348 justify-content: var(--mat-dialog-actions-alignment, flex-end); 349} 350@media (forced-colors: active) { 351 .mat-mdc-dialog-actions { 352 border-top-color: CanvasText; 353 } 354} 355.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start, .mat-mdc-dialog-actions[align=start] { 356 justify-content: start; 357} 358.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center, .mat-mdc-dialog-actions[align=center] { 359 justify-content: center; 360}
361.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end, .mat-mdc-dialog-actions[align=end] { 362 justify-content: flex-end; 363} 364.mat-mdc-dialog-actions .mat-button-base + .mat-button-base, 365.mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base { 366 margin-left: 8px; 367} 368[dir=rtl] .mat-mdc-dialog-actions .mat-button-base + .mat-button-base, 369[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base { 370 margin-left: 0; 371 margin-right: 8px; 372} 373 374.mat-mdc-dialog-component-host { 375 display: contents; 376} 377`],encapsulation:2})}return t})(),tj="--mat-dialog-transition-duration";function nj(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?po(t.substring(0,t.length-2)):t.endsWith("s")?po(t.substring(0,t.length-1))*1e3:t==="0"?0:null}var r0=(function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t})(r0||{}),uh=class{_ref;_config;_containerInstance;componentInstance;componentRef=null;disableClose;id;_afterOpened=new Ao(1);_beforeClosed=new Ao(1);_result;_closeFallbackTimeout;_state=r0.OPEN;_closeInteractionType;constructor(i,e,n){this._ref=i,this._config=e,this._containerInstance=n,this.disableClose=e.disableClose,this.id=i.id,i.addPanelClass("mat-mdc-dialog-panel"),n._animationStateChanged.pipe(J(r=>r.state==="opened"),Fe(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe(J(r=>r.state==="closed"),Fe(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),i.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),qt(this.backdropClick(),this.keydownEvents().pipe(J(r=>r.keyCode===27&&!this.disableClose&&!un(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),sK(this,r.type==="keydown"?"keyboard":"mouse"))})}close(i){let e=this._config.closePredicate;e&&!e(i,this._config,this.componentInstance)||(this._result=i,this._containerInstance._animationStateChanged.pipe(J(n=>n.state==="closing"),Fe(1)).subscribe(n=>{this._beforeClosed.next(i),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),n.totalTime+100)}),this._state=r0.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(i){let e=this._ref.config.positionStrategy;return i&&(i.left||i.right)?i.left?e.left(i.left):e.right(i.right):e.centerHorizontally(),i&&(i.top||i.bottom)?i.top?e.top(i.top):e.bottom(i.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(i="",e=""){return this._ref.updateSize(i,e),this}addPanelClass(i){return this._ref.addPanelClass(i),this}removePanelClass(i){return this._ref.removePanelClass(i),this}getState(){return this._state}_finishDialogClose(){this._state=r0.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function sK(t,i,e){return t._closeInteractionType=i,t.close(e)}var lK=new T("MatMdcDialogData"),cK=new T("mat-mdc-dialog-default-options"),dK=new T("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=d(he);return()=>Ll(t)}}),hh=(()=>{class t{_defaultOptions=d(cK,{optional:!0});_scrollStrategy=d(dK);_parentDialog=d(t,{optional:!0,skipSelf:!0});_idGenerator=d(Et);_injector=d(he);_dialog=d(gT);_animationsDisabled=Nt();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new V;_afterOpenedAtThisLevel=new V;dialogConfigClass=dh;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=Oo(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ot(void 0)));constructor(){this._dialogRefConstructor=uh,this._dialogContainerType=aK,this._dialogDataToken=lK}open(e,n){let r;n=x(x({},this._defaultOptions||new dh),n),n.id=n.id||this._idGenerator.getId("mat-mdc-dialog-"),n.scrollStrategy=n.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(e,Y(x({},n),{positionStrategy:Qa(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||n.enterAnimationDuration?.toLocaleStr
377ing()==="0"||n.exitAnimationDuration?.toString()==="0",container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:n},{provide:Bl,useValue:n}]},templateContext:()=>({dialogRef:r}),providers:(a,s,l)=>(r=new this._dialogRefConstructor(a,n,l),r.updatePosition(n?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:s.data},{provide:this._dialogRefConstructor,useValue:r}])}));return r.componentRef=o.componentRef,r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let a=this.openDialogs.indexOf(r);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(n=>n.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let n=e.length;for(;n--;)e[n].close()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ij=(()=>{class t{_dialogRef=d(uh,{optional:!0});_elementRef=d(Q);_dialog=d(hh);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=uK(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t})}return t})(),rj=(()=>{class t extends ij{id=d(Et).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Dt(t)))(r||t)}})();static \u0275dir=W({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(n,r){n&2&&wt("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[Je]})}return t})(),oj=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[PD([Vs])]})}return t})(),aj=(()=>{class t extends ij{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Dt(t)))(r||t)}})();static \u0275dir=W({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(n,r){n&2&&ie("mat-mdc-dialog-actions-align-start",r.align==="start")("mat-mdc-dialog-actions-align-center",r.align==="center")("mat-mdc-dialog-actions-align-end",r.align==="end")},inputs:{align:"align"},features:[Je]})}return t})();function uK(t,i){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?i.find(n=>n.id===e.id):null}var hd=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({providers:[hh],imports:[qV,fr,go,gt]})}return t})();function o0(t,i=!0){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,i?"%20":"+")}function sj(t){try{return decodeURIComponent(t)}catch(i){return null}}function fK(t){let i={},e,n;return t.split("&").forEach(r=>{if(r&&(e=r.split("="),n=sj(e[0]),typeof n<"u"&&n!==null)){let o=typeof e[1]<"u"?sj(e[1]):!0;i.hasOwnProperty.call(i,n)?Array.isArray(i[n])?i[n].push(o):i[n]=[i[n],o]:i[n]=o}}),i}function mK(t){let i=[];return Object.keys(t).forEach(e=>{let n=t[e];
377Array.isArray(n)?n.forEach(r=>{i.push(o0(e,!0)+(r===!0?"":"="+o0(r,!0)))}):i.push(o0(e,!0)+(n===!0?"":"="+o0(n,!0)))}),i.length?i.join("&"):""}function pK(t,i){return t+"?"+mK(i)}function gK(t){let i,e,n;return n={url:t,query:""},i=t.indexOf("?"),e=i!==-1&&i+1<t.length,e&&(n.url=t.split("?")[0],n.query=t.substr(i+1)),n}function Tp(t,i,e){let n,r,o={};return e||(e={}),n=gK(t),t=n.url,r=fK(n.query),Object.assign(o,i,r,e),pK(t,o)}var Zi=(()=>{class t{constructor(){this.http=d(ro),this.dialog=d(hh),this.appConfigService=d($n),this.logService=d(ho),this.aamcOauthService=d(Nl),this.aamcOAuthConfig=d(dr),this.sessions="",this.dialogConfig=new dh,this.dialogConfig.disableClose=!0,this.dialogConfig.autoFocus=!0}getSessionInfo(e){return this.sessions=`${this.appConfigService.appConfig.API_GATEWAY_URL}/iam/sessions/info`,this.http.get(this.sessions,{withCredentials:!0})}getSessionExpirationTime(){return this.getSessionInfo(this.appConfigService.appConfig.OPENAM_BASE_URL).pipe(X(e=>new Date(e.maxIdleExpirationTime)))}getSecondsLeftInSession(){return this.getSessionInfo(this.appConfigService.appConfig.OPENAM_BASE_URL).pipe(X(e=>e.maxIdleExpirationTime),X(e=>this.getRemainingSeconds(e)))}getRemainingSeconds(e){let n=e instanceof Date?e:new Date(e),r=new Date(n).getTime(),o=new Date().getTime();return Math.floor((r-o)/1e3)}refresh(){return this.fetchUserFromSession(!0)}fetchUserFromToken(){let e;return this.fetchUserFromSession().pipe(vt(n=>e=n),Bi(()=>(this.aamcOauthService.start(this.aamcOAuthConfig),this.aamcOauthService.state)),J(n=>n.initComplete||n.criticalError!==""),Fe(1),X(n=>{if(n.criticalError)throw new Error("CRITICAL_ERROR");return n.initComplete?e:null}))}fetchUserFromSession(e=!0){let n="?refresh=false";return e&&(n="?refresh=true"),this.http.get(`${this.appConfigService.appConfig.API_GATEWAY_URL}/iam/sessions/validate${n}`,{withCredentials:!0})}getTokenUserInfo(){return this.http.get(`${this.appConfigService.appConfig.API_GATEWAY_URL}/iam/oauth2/realms/root/realms/external/userinfo`,{withCredentials:!0}).pipe(vt(e=>{this.logService.setContext(e)}))}getUserProfile(e){return this.http.get(`${this.appConfigService.appConfig.API_GATEWAY_URL}/iam/users/${e}/profile`,{withCredentials:!0}).pipe(vt(n=>{let r={aamcId:li(n.aamcId),username:n.username,wamId:li(n.aamcWamId)};this.logService.setContext(r)}))}getUserPermissions(e,n,r){let o=e.map(a=>{let s=r||"direct",l=`${this.appConfigService.appConfig.API_GATEWAY_URL}/iam/users/${n}/permissions`;return this.http.get(l,{params:{appCd:a,grantType:s},withCredentials:!0}).pipe(X(c=>c.permissions))});return cc(o).pipe(X(a=>a.reduce((s,l)=>s.concat(l),[])))}getRoles(e){let n=`${this.appConfigService.appConfig.AUTH_SERVICE_URL}/services-rs/authentication/attributes`;return this.http.get(n,{params:{APP_CODE:e,TS:new Date().getTime().toString()},withCredentials:!0}).pipe(vt(r=>{this.logService.setContext(r)}))}checkRoles(e,n,r){let o=(n||[]).map(h=>h.toLowerCase()),a=(r||[]).map(h=>h.toLowerCase()),s=e.map(h=>h.authority.toLowerCase()),l=[];s.map(h=>{l.indexOf(h)===-1&&l.push(h)});let c=l.filter(h=>o.indexOf(h)!==-1),u=l.filter(h=>a.indexOf(h)!==-1);return c.length===o.length&&o.length!==0?!(a.length>0&&u.length===0):o.length===0&&a.length>0&&u.length!==0}login(e){if(this.aamcOAuthConfig.strategy===Jn.OAuth){let n;if(e?.length){let r=e.indexOf("#");r!==-1&&e.length>=r+1&&(n=e?.substring(r+1))}this.aamcOauthService.login(n)}else{let n=this.getLoginUrl(e);window.open(n,"_self")}}getLoginUrl(e=""){e||(e=window.location.href);let n={goto:e};return Tp(this.appConfigService.appConfig.LOGIN_URL,n)}getProfileUrl(e=""){e||(e=window.location.href);let n={goto:e};return Tp(this.appConfigService.appConfig.ACCOUNT_MANAGER_URL,n)}getLogoutUrl(e=""){e||(e=window.location.href);let n={goto:e};return Tp(this.appConfigService.appConfig.LOGOUT_URL,n)}passwordChallenge(e){return this.http.post(`${this.appConfigService.appConfig.API_GATEWAY_URL}/iam/sessions/authNoSession`,{password:e}).pipe(X(n=>n.message==="Authentication Successful"),Rt(n=>(console.error(n),K(!1))))}logout(e){let n=K("logout").pipe(Fe(1));this.aamcOAuthConfig.strategy===Jn.OAuth&&(n=this.aamcOauthService.logout().pipe(Rt(r=>K(r)))),n.subscribe({complete:()=>{let r=this.getLogoutUrl(e);window.open(r,"_self")}})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac})}}return t})();var fh=(()=>{class t{constructor(){this.actions$=d(LL),this.authService=d(Zi),this.router=d(At),this.appConfigService=d($n),this.authPageFocusService=d(Ab),this.authRefreshTokenService=d(Nb),this.coreConfig=d(Ns),this.aamcOAuthConfig=d(dr),this.authStore=d(ht),this.gotoUrlService=d(Rs),this.loadAuth$=sr(()=>this.actions$.pipe(lr(it.LoadAuth),lt(()=>{this.authPageFocusService.startPageFocusListening(),this.authRefreshTokenService.startRefreshSessionOnNavigate();let e=this.authService.fetchUserFromSession();return this.aamcOAuthConfig.strategy===Jn.OAuth&&(e=this.authService.fetchUserFromToken()),e.pipe(lt(n=>this.handleUserSessionFetch(n,!0)),Rt(n=>{let r=K(new Rl(n));return n.message==="CRITICAL_ERROR"&&(r=K(new fp({error:"Could not loadAuth"}))),r}))}))),this.loadRoles$=sr(()=>this.actions$.pipe(lr(it.LoadRoles),X(e=>e.payload),uc(({appCode:e,aamcUserId:n})=>{let r=[e,...this.aamcOAuthConfig.appPermissions||[]];return r=r.filter((o,a,s)=>s.indexOf(o)===a),this.aamcOAuthConfig.strategy===Jn.OAuth?this.authService.getTokenUserInfo().pipe(Bi(o=>this.authService.getUserPermissions(r,o.uid,this.aamcOAuthConfig.grantType).pipe(X(a=>qS(o,a,e))))):this.authService.getUserProfile(n).pipe(Bi(o=>o?.realm!=="/Internal"?this.authService.getUserPermissions(r,n,this.aamcOAuthConfig.grantType).pipe(X(a=>Sb(o,a,e))):K(Sb(o,[],e))),Rt(o=>(this.authStore.dispatch(new Rl(o)),gf)))}),X(e=>new hp({user:e})))),this.unauthorized$=sr(()=>this.actions$.pipe(lr(it.UnauthorizedRedirect),vt(()=>{this.router.navigate(["/unauthorized"],{queryParamsHandling:"merge"})})),{dispatch:!1}),this.loginRedirect$=sr(()=>this.actions$.pipe(lr(it.LoginRedirect),X(e=>e.payload),vt(e=>{let n=e&&e.gotoUrl?e.gotoUrl:null;this.authService.login(n)})),{dispatch:!1}),this.logout$=sr(()=>this.actions$.pipe(lr(it.Logout),X(e=>e.payload),vt(e=>{let n=e&&e.gotoUrl?e.gotoUrl:null;this.authService.logout(n)})),{dispatch:!1}),this.goToProfile$=sr(()=>this.actions$.pipe(lr(it.GoToProfile),X(e=>e.urlTarget),vt(e=>{let n=this.authService.getProfileUrl();this.windowRedirect(n,e)})),{dispatch:!1}
377),this.retrieveSessionDetailsEffect$=sr(()=>this.actions$.pipe(lr(it.LoadAuthSuccess),X(e=>e.payload),X(()=>new id))),this.retrieveSessionDetails$=sr(()=>this.actions$.pipe(lr(it.RetrieveSessionDetails),lt(()=>this.authService.getSessionInfo(this.appConfigService.appConfig.OPENAM_BASE_URL).pipe(X(e=>new th(e)))))),this.refreshSessionEffect$=sr(()=>this.actions$.pipe(lr(it.RefreshSession),uc(()=>this.authService.refresh().pipe(lt(e=>this.handleUserSessionFetch(e,!1)),Rt(e=>K(new Rl(e))))))),this.handleSessionTimeout=sr(()=>this.actions$.pipe(lr(it.LogoutTimerExpired),rl({type:it.Logout}))),this.aamcRedirect$=sr(()=>this.actions$.pipe(lr(it.AamcRedirect),X(e=>e.payload),vt(e=>{this.windowRedirect(e.redirectUrl,e.target)})),{dispatch:!1}),this.VerifySession$=sr(()=>this.actions$.pipe(lr(it.VerifySession),xa(this.authStore),J(([e,n])=>n.auth.valid),lt(([e,n])=>this.authService.getSessionInfo(this.appConfigService.appConfig.OPENAM_BASE_URL).pipe(X(r=>n.auth.sessionDetails?.username&&n.auth.sessionDetails?.username===r.username?new th(r):new pp),Rt(()=>{let r=this.gotoUrlService?.getGoToUrlString()??"";return K(new fo({gotoUrl:r}))}))))),this.refreshPage$=sr(()=>this.actions$.pipe(lr(it.RefreshPage),vt(()=>{window.location.reload()})),{dispatch:!1})}windowRedirect(e,n="_blank"){window.open(e,n)}handleUserSessionFetch(e,n=!0){let r=[];return e?.valid?(r.push(new up({auth:e})),n&&this.appConfigService.appConfig.APP_CODE&&e.uid&&r.push(new dp({appCode:this.appConfigService.appConfig.APP_CODE,aamcUserId:e.uid}))):(r.push(new Rl("Not logged in")),this.coreConfig.requireAuthentication&&r.push(new eh({gotoUrl:document.location.href}))),r}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac})}}return t})();var Ki=(()=>{class t{constructor(){this.store=d(ht),this.viewContainer=d(wn),this.templateRef=d(fe),this.authService=d(Zi),this.aamcUiCoreSecure=null,this.active=!0}ngOnInit(){this.aamcUiCoreSecure&&((this.aamcUiCoreSecure.allOf||[]).length!==0||(this.aamcUiCoreSecure.atLeastOneOf||[]).length!==0)?this.selectRoles().subscribe(e=>this.checkAuthorization(e)):this.aamcUiCoreSecure&&(this.aamcUiCoreSecure.unsecure||!1)!==!0?this.selectLoggedIn().subscribe(e=>{let n=!!(this.aamcUiCoreSecure&&this.aamcUiCoreSecure.loggedOut);e?n?this.hideComponent():this.showComponent():n?this.showComponent():this.hideComponent()}):this.showComponent()}selectRoles(){return this.store.pipe(cn(Ob),bf(()=>this.active))}selectLoggedIn(){return this.store.pipe(cn(rd),bf(()=>this.active))}checkAuthorization(e){if(!this.aamcUiCoreSecure)return;this.authService.checkRoles(e,this.aamcUiCoreSecure.allOf||[],this.aamcUiCoreSecure.atLeastOneOf||[])?this.showComponent():this.hideComponent()}showComponent(){this.viewContainer.clear(),this.viewContainer.createEmbeddedView(this.templateRef)}hideComponent(){this.viewContainer.clear()}ngOnDestroy(){this.active=!1}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=W({type:t,selectors:[["","aamcUiCoreSecure",""]],inputs:{aamcUiCoreSecure:"aamcUiCoreSecure"}})}}return t})();var mh,lj=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function bT(){if(mh)return mh;if(typeof document!="object"||!document)return mh=new Set(lj),mh;let t=document.createElement("input");return mh=new Set(lj.filter(i=>(t.setAttribute("type",i),t.type===i))),mh}var vo=(function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t})(vo||{}),CT=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=vo.HIDDEN;constructor(i,e,n,r=!1){this._renderer=i,this.element=e,this.config=n,this._animationForciblyDisabledThroughCss=r}fadeOut(){this._renderer.fadeOutRipple(this)}},cj=ah({passive:!0,capture:!0}),wT=class{_events=new Map;addHandler(i,e,n,r){let o=this._events.get(e);if(o){let a=o.get(n);a?a.add(r):o.set(n,new Set([r]))}else this._events.set(e,new Map([[n,new Set([r])]])),i.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,cj)})}removeHandler(i,e,n){let r=this._events.get(i);if(!r)return;let o=r.get(e);o&&(o.delete(n),o.size===0&&r.delete(e),r.size===0&&(this._events.delete(i),document.removeEventListener(i,this._delegateEventHandler,cj)))}_delegateEventHandler=i=>{let e=Ii(i);e&&this._events.get(i.type)?.forEach((n,r)=>
vendor: 5,046 bytes, lines 377-405
377{(r===e||r.contains(e))&&n.forEach(o=>o.handleEvent(i))})}},Ip={enterDuration:225,exitDuration:150},_K=800,dj=ah({passive:!0,capture:!0}),uj=["mousedown","touchstart"],hj=["mouseup","mouseleave","touchend","touchcancel"],vK=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(n,r){},styles:[`.mat-ripple { 378 overflow: hidden; 379 position: relative; 380} 381.mat-ripple:not(:empty) { 382 transform: translateZ(0); 383} 384 385.mat-ripple.mat-ripple-unbounded { 386 overflow: visible; 387} 388 389.mat-ripple-element { 390 position: absolute; 391 border-radius: 50%; 392 pointer-events: none; 393 transition: opacity, transform 0ms cubic-bezier(0, 0, 0.2, 1); 394 transform: scale3d(0, 0, 0); 395 background-color: var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent)); 396} 397@media (forced-colors: active) { 398 .mat-ripple-element { 399 display: none; 400 } 401} 402.cdk-drag-preview .mat-ripple-element, .cdk-drag-placeholder .mat-ripple-element { 403 display: none; 404} 405`],encapsulation:2,changeDetection:0})}return t})(),Ap=class t{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new wT;constructor(i,e,n,r,o){this._target=i,this._ngZone=e,this._platform=r,r.isBrowser&&(this._containerElement=Vr(n)),o&&o.get(dn).load(vK)}fadeInRipple(i,e,n={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=x(x({},Ip),n.animation);n.centered&&(i=r.left+r.width/2,e=r.top+r.height/2);let a=n.radius||yK(i,e,r),s=i-r.left,l=e-r.top,c=o.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=`${s-a}px`,u.style.top=`${l-a}px`,u.style.height=`${a*2}px`,u.style.width=`${a*2}px`,n.color!=null&&(u.style.backgroundColor=n.color),u.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(u);let h=window.getComputedStyle(u),m=h.transitionProperty,p=h.transitionDuration,b=m==="none"||p==="0s"||p==="0s, 0s"||r.width===0&&r.height===0,D=new CT(this,u,n,b);u.style.transform="scale3d(1, 1, 1)",D.state=vo.FADING_IN,n.persistent||(this._mostRecentTransientRipple=D);let A=null;return!b&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let k=()=>{A&&(A.fallbackTimer=null),clearTimeout(ce),this._finishRippleTransition(D)},L=()=>this._destroyRipple(D),ce=setTimeout(L,c+100);u.addEventListener("transitionend",k),u.addEventListener("transitioncancel",L),A={onTransitionEnd:k,onTransitionCancel:L,fallbackTimer:ce}}),this._activeRipples.set(D,A),(b||!c)&&this._finishRippleTransition(D),D}fadeOutRipple(i){if(i.state===vo.FADING_OUT||i.state===vo.HIDDEN)return;let e=i.element,n=x(x({},Ip),i.config.animation);e.style.transitionDuration=`${n.exitDuration}ms`,e.style.opacity="0",i.state=vo.FADING_OUT,(i._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(i)}fadeOutAll(){this._getActiveRipples().forEach(i=>i.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(i=>{i.config.persistent||i.fadeOut()})}setupTriggerEvents(i){let e=Vr(i);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,uj.forEach(n=>{t._eventManager.addHandler(this._ngZone,n,e,this)}))}handleEvent(i){i.type==="mousedown"?this._onMousedown(i):i.type==="touchstart"?this._onTouchStart(i):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{hj.forEach(e=>{this._triggerElement.addEventListener(e,this,dj)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(i){i.state===vo.FADING_IN?this._startFadeOutTransition(i):i.state===vo.FADING_OUT&&this._destroyRipple(i)}_startFadeOutTransition(i){let e=i===this._mostRecentTransientRipple,{persistent:n}=i.config;i.state=vo.VISIBLE,!n&&(!e||!this._isPointerDown)&&i.fadeOut()}_destroyRipple(i){let e=this._activeRipples.get(i)??null;this._activeRipples.delete(i),this._activeRipples.size||(this._containerRect=null),i===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),i.state=vo.HIDDEN,e!==null&&(i.element.removeEventListener("transitionend",e.onTransitionEnd),i.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),i.element.remove()}_onMousedown(i){let e=sd(i),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+_K;!this._target.rippleDisabled&&!e&&!n&&(this._isPointerDown=!0,this.fadeInRipple(i.clientX,i.clientY,this._target.rippleConfig))}_onTouchStart(i){if(!this._target.rippleDisabled&&!ld(i)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=i.changedTouches;if(e)for(let n=0;n<e.length;n++)this.fadeInRipple(e[n].clientX,e[n].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEac
405h(i=>{let e=i.state===vo.VISIBLE||i.config.terminateOnPointerUp&&i.state===vo.FADING_IN;!i.config.persistent&&e&&i.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let i=this._triggerElement;i&&(uj.forEach(e=>t._eventManager.removeHandler(e,i,this)),this._pointerUpEventsRegistered&&(hj.forEach(e=>i.removeEventListener(e,this,dj)),this._pointerUpEventsRegistered=!1))}};function yK(t,i,e){let n=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),r=Math.max(Math.abs(i-e.top),Math.abs(i-e.bottom));return Math.sqrt(n*n+r*r)}var xT=new T("mat-ripple-global-options"),a0=(()=>{class t{_elementRef=d(Q);_animationsDisabled=Nt();color;unbounded=!1;centered=!1;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=d(ne),n=d(st),r=d(xT,{optional:!0}),o=d(he);this._globalOptions=r||{},this._rippleRenderer=new Ap(this,e,this._elementRef,n,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:x(x(x({},this._globalOptions.animation),this._animationsDisabled?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,n=0,r){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,n,x(x({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,x(x({},this.rippleConfig),e))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(n,r){n&2&&ie("mat-ripple-unbounded",r.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return t})();var bK={capture:!0},CK=["focus","mousedown","mouseenter","touchstart"],DT="mat-ripple-loader-uninitialized",MT="mat-ripple-loader-class-name",fj="mat-ripple-loader-centered",s0="mat-ripple-loader-disabled",mj=(()=>{class t{_document=d(ve);_animationsDisabled=Nt();_globalRippleOptions=d(xT,{optional:!0});_platform=d(st);_ngZone=d(ne);_injector=d(he);_eventCleanups;_hosts=new Map;constructor(){let e=d(kn).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>CK.map(n=>e.listen(this._document,n,this._onInteraction,bK)))}ngOnDestroy(){let e=this._hosts.keys();for(let n of e)this.destroyRipple(n);this._eventCleanups.forEach(n=>n())}configureRipple(e,n){e.setAttribute(DT,this._globalRippleOptions?.namespace??""),(n.className||!e.hasAttribute(MT))&&e.setAttribute(MT,n.className||""),n.centered&&e.setAttribute(fj,""),n.disabled&&e.setAttribute(s0,"")}setDisabled(e,n){let r=this._hosts.get(e);r?(r.target.rippleDisabled=n,!n&&!r.hasSetUpEvents&&(r.hasSetUpEvents=!0,r.renderer.setupTriggerEvents(e))):n?e.setAttribute(s0,""):e.removeAttribute(s0)}_onInteraction=e=>{let n=Ii(e);if(n instanceof HTMLElement){let r=n.closest(`[${DT}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let n=this._document.createElement("span");n.classList.add("mat-ripple",e.getAttribute(MT)),e.append(n);let r=this._globalRippleOptions,o=this._animationsDisabled?0:r?.animation?.enterDuration??Ip.enterDuration,a=this._animationsDisabled?0:r?.animation?.exitDuration??Ip.exitDuration,s={rippleDisabled:this._animationsDisabled||r?.disabled||e.hasAttribute(s0),rippleConfig:{centered:e.hasAttribute(fj),terminateOnPointerUp:r?.terminateOnPointerUp,animation:{enterDuration:o,exitDuration:a}}},l=new Ap(s,this._ngZone,n,this._platform,this._injector),c=!s.rippleDisabled;c&&l.setupTriggerEvents(e),this._hosts.set(e,{target:s,renderer:l,hasSetUpEvents:c}),e.removeAttribute(DT)}destroyRipple(e){let n=this._hosts.get(e);n&&(n.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ja=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(n,r){},styles:[`.mat-focus-indicator { 406 position: relative; 407} 408.mat-focus-indicator::before { 409 top: 0; 410 left: 0; 411 right: 0; 412 bottom: 0; 413 position: absolute; 414 box-sizing: border-box; 415 pointer-events: none; 416 display: var(--mat-focus-indicator-display, none); 417 border-width: var(--mat-focus-indicator-border-width, 3px); 418 border-style: var(--mat-focus-indicator-border-style, solid); 419 border-color: var(--mat-focus-indicator-border-color, transparent); 420 border-radius: var(--mat-focus-indicator-border-radius, 4px); 421} 422.mat-focus-indicator:focus-visible::before { 423 content: ""; 424} 425 426@media (forced-colors: active) { 427 html { 428 --mat-focus-indicator-display: block; 429 } 430} 431`],encapsulation:2,changeDetection:0})}return t})();var wK=["mat-icon-button",""],xK=["*"],DK=new T("MAT_BUTTON_CONFIG");function pj(t){return t==null?void 0:Pa(t)}var ET=(()=>{class t{_elementRef=d(Q);_ngZone=d(ne);_animationsDisabled=Nt();_config=d(DK,{optional:!0});_focusMonitor=d(Qi);_cleanupClick;_renderer=d(Ge);_rippleLoader=d(mj);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(e){this.tabIndex=e}constructor(){d(dn).load(Ja);let e=this._elementRef.nativeElement;this._isAnchor=e.tagName==="A",this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(e,{className:"mat-mdc-button-ripple"})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",n){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,n):this._elementRef.nativeElement.focus(n)}
431_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this._isAnchor?this.disabled||null:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}_getTabIndex(){return this._isAnchor?this.disabled&&!this.disabledInteractive?-1:this.tabIndex:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(n,r){n&2&&(N("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled())("tabindex",r._getTabIndex()),bn(r.color?"mat-"+r.color:""),ie("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("mat-unthemed",!r.color)("_mat-animation-noopable",r._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",ue],disabled:[2,"disabled","disabled",ue],ariaDisabled:[2,"aria-disabled","ariaDisabled",ue],disabledInteractive:[2,"disabledInteractive","disabledInteractive",ue],tabIndex:[2,"tabIndex","tabIndex",pj],_tabindex:[2,"tabindex","_tabindex",pj]}})}return t})(),Oi=(()=>{class t extends ET{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[Je],attrs:wK,ngContentSelectors:xK,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,r){n&1&&(We(),On(0,"span",0),ae(1),On(2,"span",1)(3,"span",2))},styles:[`.mat-mdc-icon-button { 432 -webkit-user-select: none; 433 user-select: none; 434 display: inline-block; 435 position: relative; 436 box-sizing: border-box; 437 border: none; 438 outline: none; 439 background-color: transparent; 440 fill: currentColor; 441 text-decoration: none; 442 cursor: pointer; 443 z-index: 0; 444 overflow: visible; 445 border-radius: var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%)); 446 flex-shrink: 0; 447 text-align: center; 448 width: var(--mat-icon-button-state-layer-size, 40px); 449 height: var(--mat-icon-button-state-layer-size, 40px); 450 padding: calc(calc(var(--mat-icon-button-state-layer-size, 40px) - var(--mat-icon-button-icon-size, 24px)) / 2); 451 font-size: var(--mat-icon-button-icon-size, 24px); 452 color: var(--mat-icon-button-icon-color, var(--mat-sys-on-surface-variant)); 453 -webkit-tap-highlight-color: transparent; 454} 455.mat-mdc-icon-button .mat-mdc-button-ripple, 456.mat-mdc-icon-button .mat-mdc-button-persistent-ripple, 457.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before { 458 top: 0; 459 left: 0; 460 right: 0; 461 bottom: 0; 462 position: absolute; 463 pointer-events: none; 464 border-radius: inherit; 465} 466.mat-mdc-icon-button .mat-mdc-button-ripple { 467 overflow: hidden; 468} 469.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before { 470 content: ""; 471 opacity: 0; 472} 473.mat-mdc-icon-button .mdc-button__label, 474.mat-mdc-icon-button .mat-icon { 475 z-index: 1; 476 position: relative; 477} 478.mat-mdc-icon-button .mat-focus-indicator { 479 top: 0; 480 left: 0; 481 right: 0; 482 bottom: 0; 483 position: absolute; 484 border-radius: inherit; 485} 486.mat-mdc-icon-button:focus-visible > .mat-focus-indicator::before { 487 content: ""; 488 border-radius: inherit; 489} 490.mat-mdc-icon-button .mat-ripple-element { 491 background-color: var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent)); 492} 493.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before { 494 background-color: var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant)); 495} 496.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { 497 background-color: var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant)); 498} 499.mat-mdc-icon-button:hover > .mat-mdc-button-persistent-ripple::before { 500 opacity: var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 501} 502.mat-mdc-icon-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-icon-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { 503 opacity: var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 504} 505.mat-mdc-icon-button:active > .mat-mdc-button-persistent-ripple::before { 506 opacity: var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); 507} 508.mat-mdc-icon-button .mat-mdc-button-touch-target { 509 position: absolute; 510 top: 50%; 511 height: var(--mat-icon-button-touch-target-size, 48px); 512 display: var(--mat-icon-button-touch-target-display, block); 513 left: 50%; 514 width: var(--mat-icon-button-touch-target-size, 48px); 515 transform: translate(-50%, -50%); 516} 517.mat-mdc-icon-button._mat-animation-noopable { 518 transition: none !important; 519 animation: none !important; 520} 521.mat-mdc-icon-button[disabled], .mat-mdc-icon-button.mat-mdc-button-disabled { 522 cursor: default; 523 pointer-events: none; 524 color: var(--mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 525} 526.mat-mdc-icon-button.mat-mdc-button-disabled-interactive { 527 pointer-events: auto; 528} 529.mat-mdc-icon-button img, 530.mat-mdc-icon-button svg { 531 width: var(--mat-icon-button-icon-size, 24px); 532 height: var(--mat-icon-button-icon-size, 24px); 533 vertical-align: baseline; 534} 535.mat-mdc-icon-button .mat-mdc-button-persistent-ripple { 536 border-radius: var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%)); 537} 538.mat-mdc-icon-button[hidden] { 539 display: none; 540} 541.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before { 542 background: transparent; 543 opacity: 1; 544} 545`,`@media (forced-colors: active) { 546 .mat-mdc-button:not(.mdc-button--outlined), 547 .mat-mdc-unelevated-button:not(.mdc-button--outlined), 548 .mat-mdc-raised-button:not(.mdc-button--outlined), 549 .mat-mdc-outlined-button:not(.mdc-button--outlined), 550 .mat-mdc-button-base.mat-tonal-button, 551 .mat-mdc-icon-button.mat-mdc-icon-button, 552 .mat-mdc-outlined-button .mdc-button__ripple { 553 outline: solid 1px; 554 } 555} 556`],encapsulation:2,changeDetection:0})}return t})();var ph=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({imports:[gt]})}return t})();var MK=["matButton",""],EK=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],SK=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var gj=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],["tonal",["mat-tonal-button"]]]),zt=(()=>
vendor: 16,384 bytes, lines 556-869
556{class t extends ET{get appearance(){return this._appearance}set appearance(e){this.setAppearance(e||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let e=TK(this._elementRef.nativeElement);e&&this.setAppearance(e)}setAppearance(e){if(e===this._appearance)return;let n=this._elementRef.nativeElement.classList,r=this._appearance?gj.get(this._appearance):null,o=gj.get(e);r&&n.remove(...r),n.add(...o),this._appearance=e}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]},exportAs:["matButton","matAnchor"],features:[Je],attrs:MK,ngContentSelectors:SK,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,r){n&1&&(We(EK),On(0,"span",0),ae(1),Tt(2,"span",1),ae(3,1),Ut(),ae(4,2),On(5,"span",2)(6,"span",3)),n&2&&ie("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[`.mat-mdc-button-base { 557 text-decoration: none; 558} 559.mat-mdc-button-base .mat-icon { 560 min-height: fit-content; 561 flex-shrink: 0; 562} 563@media (hover: none) { 564 .mat-mdc-button-base:hover > span.mat-mdc-button-persistent-ripple::before { 565 opacity: 0; 566 } 567} 568 569.mdc-button { 570 -webkit-user-select: none; 571 user-select: none; 572 position: relative; 573 display: inline-flex; 574 align-items: center; 575 justify-content: center; 576 box-sizing: border-box; 577 min-width: 64px; 578 border: none; 579 outline: none; 580 line-height: inherit; 581 -webkit-appearance: none; 582 overflow: visible; 583 vertical-align: middle; 584 background: transparent; 585 padding: 0 8px; 586} 587.mdc-button::-moz-focus-inner { 588 padding: 0; 589 border: 0; 590} 591.mdc-button:active { 592 outline: none; 593} 594.mdc-button:hover { 595 cursor: pointer; 596} 597.mdc-button:disabled { 598 cursor: default; 599 pointer-events: none; 600} 601.mdc-button[hidden] { 602 display: none; 603} 604.mdc-button .mdc-button__label { 605 position: relative; 606} 607 608.mat-mdc-button { 609 padding: 0 var(--mat-button-text-horizontal-padding, 12px); 610 height: var(--mat-button-text-container-height, 40px); 611 font-family: var(--mat-button-text-label-text-font, var(--mat-sys-label-large-font)); 612 font-size: var(--mat-button-text-label-text-size, var(--mat-sys-label-large-size)); 613 letter-spacing: var(--mat-button-text-label-text-tracking, var(--mat-sys-label-large-tracking)); 614 text-transform: var(--mat-button-text-label-text-transform); 615 font-weight: var(--mat-button-text-label-text-weight, var(--mat-sys-label-large-weight)); 616} 617.mat-mdc-button, .mat-mdc-button .mdc-button__ripple { 618 border-radius: var(--mat-button-text-container-shape, var(--mat-sys-corner-full)); 619} 620.mat-mdc-button:not(:disabled) { 621 color: var(--mat-button-text-label-text-color, var(--mat-sys-primary)); 622} 623.mat-mdc-button[disabled], .mat-mdc-button.mat-mdc-button-disabled { 624 cursor: default; 625 pointer-events: none; 626 color: var(--mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 627} 628.mat-mdc-button.mat-mdc-button-disabled-interactive { 629 pointer-events: auto; 630} 631.mat-mdc-button:has(.material-icons, mat-icon, [matButtonIcon]) { 632 padding: 0 var(--mat-button-text-with-icon-horizontal-padding, 16px); 633} 634.mat-mdc-button > .mat-icon { 635 margin-right: var(--mat-button-text-icon-spacing, 8px); 636 margin-left: var(--mat-button-text-icon-offset, -4px); 637} 638[dir=rtl] .mat-mdc-button > .mat-icon { 639 margin-right: var(--mat-button-text-icon-offset, -4px); 640 margin-left: var(--mat-button-text-icon-spacing, 8px); 641} 642.mat-mdc-button .mdc-button__label + .mat-icon { 643 margin-right: var(--mat-button-text-icon-offset, -4px); 644 margin-left: var(--mat-button-text-icon-spacing, 8px); 645} 646[dir=rtl] .mat-mdc-button .mdc-button__label + .mat-icon { 647 margin-right: var(--mat-button-text-icon-spacing, 8px); 648 margin-left: var(--mat-button-text-icon-offset, -4px); 649} 650.mat-mdc-button .mat-ripple-element { 651 background-color: var(--mat-button-text-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent)); 652} 653.mat-mdc-button .mat-mdc-button-persistent-ripple::before { 654 background-color: var(--mat-button-text-state-layer-color, var(--mat-sys-primary)); 655} 656.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { 657 background-color: var(--mat-button-text-disabled-state-layer-color, var(--mat-sys-on-surface-variant)); 658} 659.mat-mdc-button:hover > .mat-mdc-button-persistent-ripple::before { 660 opacity: var(--mat-button-text-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 661} 662.mat-mdc-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { 663 opacity: var(--mat-button-text-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 664} 665.mat-mdc-button:active > .mat-mdc-button-persistent-ripple::before { 666 opacity: var(--mat-button-text-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); 667} 668.mat-mdc-button .mat-mdc-button-touch-target { 669 position: absolute; 670 top: 50%; 671 height: var(--mat-button-text-touch-target-size, 48px); 672 display: var(--mat-button-text-touch-target-display, block); 673 left: 0; 674 right: 0; 675 transform: translateY(-50%); 676} 677 678.mat-mdc-unelevated-button { 679 transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); 680 height: var(--mat-button-filled-container-height, 40px); 681 font-family: var(--mat-button-filled-label-text-font, var(--mat-sys-label-large-font)); 682 font-size: var(--mat-button-filled-label-text-size, var(--mat-sys-label-large-size)); 683 letter-spacing: var(--mat-button-filled-label-text-tracking, var(--mat-sys-label-large-tracking)); 684 text-transform: var(--mat-button-filled-label-text-transform); 685 font-weight: var(--mat-button-filled-label-text-weight, var(--mat-sys-label-large-weight)); 686 padding: 0 var(--mat-button-filled-horizontal-padding, 24px); 687} 688.mat-mdc-unelevated-button > .mat-icon { 689 margin-right: var(--mat-button-filled-icon-spacing, 8px); 690 margin-left: var(--mat-button-filled-icon-offset, -8px); 691} 692[dir=rtl] .mat-mdc-unelevated-button > .mat-icon { 693 margin-right: var(--mat-button-filled-icon-offset, -8px); 694 margin-left: var(--mat-button-filled-icon-spacing, 8px); 695} 696.mat-mdc-unelevated-button .mdc-button__label + .mat-icon { 697 margin-right: var(--mat-button-filled-icon-offset, -8px); 698 margin-left: var(--mat-button-filled-icon-spacing, 8px); 699} 700[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label + .mat-icon { 701 margin-right: var(--mat-button-filled-icon-spacing, 8px); 702 margin-left: var(--mat-button-filled-icon-offset, -8px); 703} 704.mat-mdc-unelevated-button .mat-ripple-element { 705 background-color: var(--mat-button-filled-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent)); 706} 707.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before { 708 background-color: var(--mat-button-filled-state-layer-color, var(--mat-sys-on-primary)); 709} 710.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { 711 background-color: var(--mat-button-filled-disabled-state-layer-color, var(--mat-sys-on-surface-variant)); 712} 713.mat-mdc-unelevated-button:hover > .mat-mdc-button-persistent-ripple::before { 714 opacity: var(--mat-button-filled-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 715} 716.mat-mdc-unelevated-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-unelevated-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { 717 opacity: var(--mat-button-filled-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 718} 719.mat-mdc-unelevated-button:active > .mat-mdc-button-persistent-ripple::before { 720 opacity: var(--mat-button-filled-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); 721} 722.mat-mdc-unelevated-button .mat-mdc-button-touch-target { 723 position: absolute; 724 top: 50%; 725 height: var(--mat-button-filled-touch-target-size, 48px); 726 display: var(--mat-button-filled-touch-target-display, block); 727 left: 0; 728 right: 0; 729 transform: translateY(-50%); 730} 731.mat-mdc-unelevated-button:not(:disabled) { 732 color: var(--mat-button-filled-label-text-color, var(--mat-sys-on-primary)); 733 background-color: var(--mat-button-filled-container-color, var(--mat-sys-primary)); 734} 735.mat-mdc-unelevated-button, .mat-mdc-unelevated-button .mdc-button__ripple { 736 border-radius: var(--mat-button-filled-container-shape, var(--mat-sys-corner-full)); 737} 738.mat-mdc-unelevated-button[disabled], .mat-mdc-unelevated-button.mat-mdc-button-disabled { 739 cursor: default; 740 pointer-events: none; 741 color: var(--mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 742 background-color: var(--mat-button-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent)); 743} 744.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive { 745 pointer-events: auto; 746} 747 748.mat-mdc-raised-button { 749 transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); 750 box-shadow: var(--mat-button-protected-container-elevation-shadow, var(--mat-sys-level1)); 751 height: var(--mat-button-protected-container-height, 40px); 752 font-family: var(--mat-button-protected-label-text-font, var(--mat-sys-label-large-font)); 753 font-size: var(--mat-button-protected-label-text-size, var(--mat-sys-label-large-size)); 754 letter-spacing: var(--mat-button-protected-label-text-tracking, var(--mat-sys-label-large-tracking)); 755 text-transform: var(--mat-button-protected-label-text-transform); 756 font-weight: var(--mat-button-protected-label-text-weight, var(--mat-sys-label-large-weight)); 757 padding: 0 var(--mat-button-protected-horizontal-padding, 24px); 758} 759.mat-mdc-raised-button > .mat-icon { 760 margin-right: var(--mat-button-protected-icon-spacing, 8px); 761 margin-left: var(--mat-button-protected-icon-offset, -8px); 762} 763[dir=rtl] .mat-mdc-raised-button > .mat-icon { 764 margin-right: var(--mat-button-protected-icon-offset, -8px); 765 margin-left: var(--mat-button-protected-icon-spacing, 8px); 766} 767.mat-mdc-raised-button .mdc-button__label + .mat-icon { 768 margin-right: var(--mat-button-protected-icon-offset, -8px); 769 margin-left: var(--mat-button-protected-icon-spacing, 8px); 770} 771[dir=rtl] .mat-mdc-raised-button .mdc-button__label + .mat-icon { 772 margin-right: var(--mat-button-protected-icon-spacing, 8px); 773 margin-left: var(--mat-button-protected-icon-offset, -8px); 774} 775.mat-mdc-raised-button .mat-ripple-element { 776 background-color: var(--mat-button-protected-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent)); 777} 778.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before { 779 background-color: var(--mat-button-protected-state-layer-color, var(--mat-sys-primary)); 780} 781.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { 782 background-color: var(--mat-button-protected-disabled-state-layer-color, var(--mat-sys-on-surface-variant)); 783} 784.mat-mdc-raised-button:hover > .mat-mdc-button-persistent-ripple::before { 785 opacity: var(--mat-button-protected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 786} 787.mat-mdc-raised-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-raised-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { 788 opacity: var(--mat-button-protected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 789} 790.mat-mdc-raised-button:active > .mat-mdc-button-persistent-ripple::before { 791 opacity: var(--mat-button-protected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); 792} 793.mat-mdc-raised-button .mat-mdc-button-touch-target { 794 position: absolute; 795 top: 50%; 796 height: var(--mat-button-protected-touch-target-size, 48px); 797 display: var(--mat-button-protected-touch-target-display, block); 798 left: 0; 799 right: 0; 800 transform: translateY(-50%); 801} 802.mat-mdc-raised-button:not(:disabled) { 803 color: var(--mat-button-protected-label-text-color, var(--mat-sys-primary)); 804 background-color: var(--mat-button-protected-container-color, var(--mat-sys-surface)); 805} 806.mat-mdc-raised-button, .mat-mdc-raised-button .mdc-button__ripple { 807 border-radius: var(--mat-button-protected-container-shape, var(--mat-sys-corner-full)); 808} 809@media (hover: hover) { 810 .mat-mdc-raised-button:hover { 811 box-shadow: var(--mat-button-protected-hover-container-elevation-shadow, var(--mat-sys-level2)); 812 } 813} 814.mat-mdc-raised-button:focus { 815 box-shadow: var(--mat-button-protected-focus-container-elevation-shadow, var(--mat-sys-level1)); 816} 817.mat-mdc-raised-button:active, .mat-mdc-raised-button:focus:active { 818 box-shadow: var(--mat-button-protected-pressed-container-elevation-shadow, var(--mat-sys-level1)); 819} 820.mat-mdc-raised-button[disabled], .mat-mdc-raised-button.mat-mdc-button-disabled { 821 cursor: default; 822 pointer-events: none; 823 color: var(--mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 824 background-color: var(--mat-button-protected-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent)); 825} 826.mat-mdc-raised-button[disabled].mat-mdc-button-disabled, .mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled { 827 box-shadow: var(--mat-button-protected-disabled-container-elevation-shadow, var(--mat-sys-level0)); 828} 829.mat-mdc-raised-button.mat-mdc-button-disabled-interactive { 830 pointer-events: auto; 831} 832 833.mat-mdc-outlined-button { 834 border-style: solid; 835 transition: border 280ms cubic-bezier(0.4, 0, 0.2, 1); 836 height: var(--mat-button-outlined-container-height, 40px); 837 font-family: var(--mat-button-outlined-label-text-font, var(--mat-sys-label-large-font)); 838 font-size: var(--mat-button-outlined-label-text-size, var(--mat-sys-label-large-size)); 839 letter-spacing: var(--mat-button-outlined-label-text-tracking, var(--mat-sys-label-large-tracking)); 840 text-transform: var(--mat-button-outlined-label-text-transform); 841 font-weight: var(--mat-button-outlined-label-text-weight, var(--mat-sys-label-large-weight)); 842 border-radius: var(--mat-button-outlined-container-shape, var(--mat-sys-corner-full)); 843 border-width: var(--mat-button-outlined-outline-width, 1px); 844 padding: 0 var(--mat-button-outlined-horizontal-padding, 24px); 845} 846.mat-mdc-outlined-button > .mat-icon { 847 margin-right: var(--mat-button-outlined-icon-spacing, 8px); 848 margin-left: var(--mat-button-outlined-icon-offset, -8px); 849} 850[dir=rtl] .mat-mdc-outlined-button > .mat-icon { 851 margin-right: var(--mat-button-outlined-icon-offset, -8px); 852 margin-left: var(--mat-button-outlined-icon-spacing, 8px); 853} 854.mat-mdc-outlined-button .mdc-button__label + .mat-icon { 855 margin-right: var(--mat-button-outlined-icon-offset, -8px); 856 margin-left: var(--mat-button-outlined-icon-spacing, 8px); 857} 858[dir=rtl] .mat-mdc-outlined-button .mdc-button__label + .mat-icon { 859 margin-right: var(--mat-button-outlined-icon-spacing, 8px); 860 margin-left: var(--mat-button-outlined-icon-offset, -8px); 861} 862.mat-mdc-outlined-button .mat-ripple-element { 863 background-color: var(--mat-button-outlined-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent)); 864} 865.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before { 866 background-color: var(--mat-button-outlined-state-layer-color, var(--mat-sys-primary)); 867} 868.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { 869 background-color: var(--mat-button-outlined-disabled-state-layer-color, var(--mat-sys-on
869-surface-variant)); 870} 871.mat-mdc-outlined-button:hover > .mat-mdc-button-persistent-ripple::before { 872 opacity: var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 873} 874.mat-mdc-outlined-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-outlined-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { 875 opacity: var(--mat-button-outlined-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 876} 877.mat-mdc-outlined-button:active > .mat-mdc-button-persistent-ripple::before { 878 opacity: var(--mat-button-outlined-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); 879} 880.mat-mdc-outlined-button .mat-mdc-button-touch-target { 881 position: absolute; 882 top: 50%; 883 height: var(--mat-button-outlined-touch-target-size, 48px); 884 display: var(--mat-button-outlined-touch-target-display, block); 885 left: 0; 886 right: 0; 887 transform: translateY(-50%); 888} 889.mat-mdc-outlined-button:not(:disabled) { 890 color: var(--mat-button-outlined-label-text-color, var(--mat-sys-primary)); 891 border-color: var(--mat-button-outlined-outline-color, var(--mat-sys-outline)); 892} 893.mat-mdc-outlined-button[disabled], .mat-mdc-outlined-button.mat-mdc-button-disabled { 894 cursor: default; 895 pointer-events: none; 896 color: var(--mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 897 border-color: var(--mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent)); 898} 899.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive { 900 pointer-events: auto; 901} 902 903.mat-tonal-button { 904 transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); 905 height: var(--mat-button-tonal-container-height, 40px); 906 font-family: var(--mat-button-tonal-label-text-font, var(--mat-sys-label-large-font)); 907 font-size: var(--mat-button-tonal-label-text-size, var(--mat-sys-label-large-size)); 908 letter-spacing: var(--mat-button-tonal-label-text-tracking, var(--mat-sys-label-large-tracking)); 909 text-transform: var(--mat-button-tonal-label-text-transform); 910 font-weight: var(--mat-button-tonal-label-text-weight, var(--mat-sys-label-large-weight)); 911 padding: 0 var(--mat-button-tonal-horizontal-padding, 24px); 912} 913.mat-tonal-button:not(:disabled) { 914 color: var(--mat-button-tonal-label-text-color, var(--mat-sys-on-secondary-container)); 915 background-color: var(--mat-button-tonal-container-color, var(--mat-sys-secondary-container)); 916} 917.mat-tonal-button, .mat-tonal-button .mdc-button__ripple { 918 border-radius: var(--mat-button-tonal-container-shape, var(--mat-sys-corner-full)); 919} 920.mat-tonal-button[disabled], .mat-tonal-button.mat-mdc-button-disabled { 921 cursor: default; 922 pointer-events: none; 923 color: var(--mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 924 background-color: var(--mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent)); 925} 926.mat-tonal-button.mat-mdc-button-disabled-interactive { 927 pointer-events: auto; 928} 929.mat-tonal-button > .mat-icon { 930 margin-right: var(--mat-button-tonal-icon-spacing, 8px); 931 margin-left: var(--mat-button-tonal-icon-offset, -8px); 932} 933[dir=rtl] .mat-tonal-button > .mat-icon { 934 margin-right: var(--mat-button-tonal-icon-offset, -8px); 935 margin-left: var(--mat-button-tonal-icon-spacing, 8px); 936} 937.mat-tonal-button .mdc-button__label + .mat-icon { 938 margin-right: var(--mat-button-tonal-icon-offset, -8px); 939 margin-left: var(--mat-button-tonal-icon-spacing, 8px); 940} 941[dir=rtl] .mat-tonal-button .mdc-button__label + .mat-icon { 942 margin-right: var(--mat-button-tonal-icon-spacing, 8px); 943 margin-left: var(--mat-button-tonal-icon-offset, -8px); 944} 945.mat-tonal-button .mat-ripple-element { 946 background-color: var(--mat-button-tonal-ripple-color, color-mix(in srgb, var(--mat-sys-on-secondary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent)); 947} 948.mat-tonal-button .mat-mdc-button-persistent-ripple::before { 949 background-color: var(--mat-button-tonal-state-layer-color, var(--mat-sys-on-secondary-container)); 950} 951.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { 952 background-color: var(--mat-button-tonal-disabled-state-layer-color, var(--mat-sys-on-surface-variant)); 953} 954.mat-tonal-button:hover > .mat-mdc-button-persistent-ripple::before { 955 opacity: var(--mat-button-tonal-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 956} 957.mat-tonal-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-tonal-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-tonal-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { 958 opacity: var(--mat-button-tonal-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 959} 960.mat-tonal-button:active > .mat-mdc-button-persistent-ripple::before { 961 opacity: var(--mat-button-tonal-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); 962} 963.mat-tonal-button .mat-mdc-button-touch-target { 964 position: absolute; 965 top: 50%; 966 height: var(--mat-button-tonal-touch-target-size, 48px); 967 display: var(--mat-button-tonal-touch-target-display, block); 968 left: 0; 969 right: 0; 970 transform: translateY(-50%); 971} 972 973.mat-mdc-button, 974.mat-mdc-unelevated-button, 975.mat-mdc-raised-button, 976.mat-mdc-outlined-button, 977.mat-tonal-button { 978 -webkit-tap-highlight-color: transparent; 979} 980.mat-mdc-button .mat-mdc-button-ripple, 981.mat-mdc-button .mat-mdc-button-persistent-ripple, 982.mat-mdc-button .mat-mdc-button-persistent-ripple::before, 983.mat-mdc-unelevated-button .mat-mdc-button-ripple, 984.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple, 985.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before, 986.mat-mdc-raised-button .mat-mdc-button-ripple, 987.mat-mdc-raised-button .mat-mdc-button-persistent-ripple, 988.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before, 989.mat-mdc-outlined-button .mat-mdc-button-ripple, 990.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple, 991.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before, 992.mat-tonal-button .mat-mdc-button-ripple, 993.mat-tonal-button .mat-mdc-button-persistent-ripple, 994.mat-tonal-button .mat-mdc-button-persistent-ripple::before { 995 top: 0; 996 left: 0; 997 right: 0; 998 bottom: 0; 999 position: absolute; 1000 pointer-events: none; 1001 border-radius: inherit; 1002} 1003.mat-mdc-button .mat-mdc-button-ripple, 1004.mat-mdc-unelevated-button .mat-mdc-button-ripple, 1005.mat-mdc-raised-button .mat-mdc-button-ripple, 1006.mat-mdc-outlined-button .mat-mdc-button-ripple, 1007.mat-tonal-button .mat-mdc-button-ripple { 1008 overflow: hidden; 1009} 1010.mat-mdc-button .mat-mdc-button-persistent-ripple::before, 1011.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before, 1012.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before, 1013.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before, 1014.mat-tonal-button .mat-mdc-button-persistent-ripple::before { 1015 content: ""; 1016 opacity: 0; 1017} 1018.mat-mdc-button .mdc-button__label, 1019.mat-mdc-button .mat-icon, 1020.mat-mdc-unelevated-button .mdc-button__label, 1021.mat-mdc-unelevated-button .mat-icon, 1022.mat-mdc-raised-button .mdc-button__label, 1023.mat-mdc-raised-button .mat-icon, 1024.mat-mdc-outlined-button .mdc-button__label, 1025.mat-mdc-outlined-button .mat-icon, 1026.mat-tonal-button .mdc-button__label, 1027.mat-tonal-button .mat-icon { 1028 z-index: 1; 1029 position: relative; 1030} 1031.mat-mdc-button .mat-focus-indicator, 1032.mat-mdc-unelevated-button .mat-focus-indicator, 1033.mat-mdc-raised-button .mat-focus-indicator, 1034.mat-mdc-outlined-button .mat-focus-indicator, 1035.mat-tonal-button .mat-focus-indicator { 1036 top: 0; 1037 left: 0; 1038 right: 0; 1039 bottom: 0; 1040 position: absolute; 1041 border-radius: inherit; 1042} 1043.mat-mdc-button:focus-visible > .mat-focus-indicator::before, 1044.mat-mdc-unelevated-button:focus-visible > .mat-focus-indicator::before, 1045.mat-mdc-raised-button:focus-visible > .mat-focus-indicator::before, 1046.mat-mdc-outlined-button:focus-visible > .mat-focus-indicator::before, 1047.mat-tonal-button:focus-visible > .mat-focus-indicator::before { 1048 content: ""; 1049 border-radius: inherit; 1050} 1051.mat-mdc-button._mat-animation-noopable, 1052.mat-mdc-unelevated-button._mat-animation-noopable, 1053.mat-mdc-raised-button._mat-animation-noopable, 1054.mat-mdc-outlined-button._mat-animation-noopable, 1055.mat-tonal-button._mat-animation-noopable { 1056 transition: none !important; 1057 animation: none !important; 1058} 1059.mat-mdc-button > .mat-icon, 1060.mat-mdc-unelevated-button > .mat-icon, 1061.mat-mdc-raised-button > .mat-icon, 1062.mat-mdc-outlined-button > .mat-icon, 1063.mat-tonal-button > .mat-icon { 1064 display: inline-block; 1065 position: relative; 1066 vertical-align: top; 1067 font-size: 1.125rem; 1068 height: 1.125rem; 1069 width: 1.125rem; 1070} 1071 1072.mat-mdc-outlined-button .mat-mdc-button-ripple, 1073.mat-mdc-outlined-button .mdc-button__ripple { 1074 top: -1px; 1075 left: -1px; 1076 bottom: -1px; 1077 right: -1px; 1078} 1079 1080.mat-mdc-unelevated-button .mat-focus-indicator::before, 1081.mat-tonal-button .mat-focus-indicator::before, 1082.mat-mdc-raised-button .mat-focus-indicator::before { 1083 margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1); 1084} 1085 1086.mat-mdc-outlined-button .mat-focus-indicator::before { 1087 margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1); 1088} 1089`,`@media (forced-colors: active) { 1090 .mat-mdc-button:not(.mdc-button--outlined), 1091 .mat-mdc-unelevated-button:not(.mdc-button--outlined), 1092 .mat-mdc-raised-button:not(.mdc-button--outlined), 1093 .mat-mdc-outlined-button:not(.mdc-button--outlined), 1094 .mat-mdc-button-base.mat-tonal-button, 1095 .mat-mdc-icon-button.mat-mdc-icon-button, 1096 .mat-mdc-outlined-button .mdc-button__ripple { 1097 outline: solid 1px; 1098 } 1099} 1100`],encapsulation:2,changeDetection:0})}return t})();function TK(t){return t.hasAttribute("mat-raised-button")?"elevated":t.hasAttribute("mat-stroked-button")?"outlined":t.hasAttribute("mat-flat-button")?"filled":t.hasAttribute("mat-button")?"text":null}var bt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({imports:[ph,gt]})}return t})();function IK(t,i){if(t&1){let e=le();g(0,"div",1)(1,"button",2),P("click",function(){B(e);let r=v();return U(r.action())}),I(2),_()()}if(t&2){let e=v();f(2),pe(" ",e.data.action," ")}}var AK=["label"];function kK(t,i){}var OK=Math.pow(2,31)-1,md=class{_overlayRef;instance;containerInstance;_afterDismissed=new V;_afterOpened=new V;_onAction=new V;_durationTimeoutId;_dismissedByAction=!1;constructor(i,e){this._overlayRef=e,this.containerInstance=i,i._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(i){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(i,OK))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},l0=new T("MatSnackBarData"),gh=class{politeness="polite";announcementMessage="";viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition="center";verticalPosition="bottom"},NK=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return t})(),RK=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return t}
1100)(),PK=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return t})(),FK=(()=>{class t{snackBarRef=d(md);data=d(l0);constructor(){}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["matButton","","matSnackBarAction","",3,"click"]],template:function(n,r){n&1&&(g(0,"div",0),I(1),_(),E(2,IK,3,1,"div",1)),n&2&&(f(),pe(" ",r.data.message,` 1101`),f(),S(r.hasAction?2:-1))},dependencies:[zt,NK,RK,PK],styles:[`.mat-mdc-simple-snack-bar { 1102 display: flex; 1103} 1104.mat-mdc-simple-snack-bar .mat-mdc-snack-bar-label { 1105 max-height: 50vh; 1106 overflow: auto; 1107} 1108`],encapsulation:2,changeDetection:0})}return t})(),ST="_mat-snack-bar-enter",TT="_mat-snack-bar-exit",LK=(()=>{class t extends Fl{_ngZone=d(ne);_elementRef=d(Q);_changeDetectorRef=d(Pe);_platform=d(st);_animationsDisabled=Nt();snackBarConfig=d(gh);_document=d(ve);_trackedModals=new Set;_enterFallback;_exitFallback;_injector=d(he);_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;_onAnnounce=new V;_onExit=new V;_onEnter=new V;_animationState="void";_live;_label;_role;_liveElementId=d(Et).getId("mat-snack-bar-container-live-");constructor(){super();let e=this.snackBarConfig;e.politeness==="assertive"&&!e.announcementMessage?this._live="assertive":e.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();let n=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),n}attachTemplatePortal(e){this._assertNotAttached();let n=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),n}attachDomPortal=e=>{this._assertNotAttached();let n=this._portalOutlet.attachDomPortal(e);return this._afterPortalAttached(),n};onAnimationEnd(e){e===TT?this._completeExit():e===ST&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete()}))}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?en(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(ST)))},{injector:this._injector}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(ST)},200)))}exit(){return this._destroyed?K(void 0):(this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._animationsDisabled?en(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(TT)))},{injector:this._injector}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(TT),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let e=this._elementRef.nativeElement,n=this.snackBarConfig.panelClass;
1108n&&(Array.isArray(n)?n.forEach(a=>e.classList.add(a)):e.classList.add(n)),this._exposeToModals();let r=this._label.nativeElement,o="mdc-snackbar__label";r.classList.toggle(o,!r.querySelector(`.${o}`))}_exposeToModals(){let e=this._liveElementId,n=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<n.length;r++){let o=n[r],a=o.getAttribute("aria-owns");this._trackedModals.add(o),a?a.indexOf(e)===-1&&o.setAttribute("aria-owns",a+" "+e):o.setAttribute("aria-owns",e)}}_clearFromModals(){this._trackedModals.forEach(e=>{let n=e.getAttribute("aria-owns");if(n){let r=n.replace(this._liveElementId,"").trim();r.length>0?e.setAttribute("aria-owns",r):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let e=this._elementRef.nativeElement,n=e.querySelector("[aria-hidden]"),r=e.querySelector("[aria-live]");if(n&&r){let o=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&n.contains(document.activeElement)&&(o=document.activeElement),n.removeAttribute("aria-hidden"),r.appendChild(n),o?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(n,r){if(n&1&&Zt(jr,7)(AK,7),n&2){let o;we(o=xe())&&(r._portalOutlet=o.first),we(o=xe())&&(r._label=o.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(n,r){n&1&&P("animationend",function(a){return r.onAnimationEnd(a.animationName)})("animationcancel",function(a){return r.onAnimationEnd(a.animationName)}),n&2&&ie("mat-snack-bar-container-enter",r._animationState==="visible")("mat-snack-bar-container-exit",r._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!r._animationsDisabled)},features:[Je],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(n,r){n&1&&(g(0,"div",1)(1,"div",2,0)(3,"div",3),se(4,kK,0,0,"ng-template",4),_(),O(5,"div"),_()()),n&2&&(f(5),N("aria-live",r._live)("role",r._role)("id",r._liveElementId))},dependencies:[jr],styles:[`@keyframes _mat-snack-bar-enter { 1109 from { 1110 transform: scale(0.8); 1111 opacity: 0; 1112 } 1113 to { 1114 transform: scale(1); 1115 opacity: 1; 1116 } 1117} 1118@keyframes _mat-snack-bar-exit { 1119 from { 1120 opacity: 1; 1121 } 1122 to { 1123 opacity: 0; 1124 } 1125} 1126.mat-mdc-snack-bar-container { 1127 display: flex; 1128 align-items: center; 1129 justify-content: center; 1130 box-sizing: border-box; 1131 -webkit-tap-highlight-color: rgba(0, 0, 0, 0); 1132 margin: 8px; 1133} 1134.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container { 1135 width: 100vw; 1136} 1137 1138.mat-snack-bar-container-animations-enabled { 1139 opacity: 0; 1140} 1141.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible { 1142 opacity: 1; 1143} 1144.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter { 1145 animation: _mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards; 1146} 1147.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit { 1148 animation: _mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards; 1149} 1150 1151.mat-mdc-snackbar-surface { 1152 box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12); 1153 display: flex; 1154 align-items: center; 1155 justify-content: flex-start; 1156 box-sizing: border-box; 1157 padding-left: 0; 1158 padding-right: 8px; 1159} 1160[dir=rtl] .mat-mdc-snackbar-surface { 1161 padding-right: 0; 1162 padding-left: 8px; 1163} 1164.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface { 1165 min-width: 344px; 1166 max-width: 672px; 1167} 1168.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface { 1169 width: 100%; 1170 min-width: 0; 1171} 1172@media (forced-colors: active) { 1173 .mat-mdc-snackbar-surface { 1174 outline: solid 1px; 1175 } 1176} 1177.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface {
1178 color: var(--mat-snack-bar-supporting-text-color, var(--mat-sys-inverse-on-surface)); 1179 border-radius: var(--mat-snack-bar-container-shape, var(--mat-sys-corner-extra-small)); 1180 background-color: var(--mat-snack-bar-container-color, var(--mat-sys-inverse-surface)); 1181} 1182 1183.mdc-snackbar__label { 1184 width: 100%; 1185 flex-grow: 1; 1186 box-sizing: border-box; 1187 margin: 0; 1188 padding: 14px 8px 14px 16px; 1189} 1190[dir=rtl] .mdc-snackbar__label { 1191 padding-left: 8px; 1192 padding-right: 16px; 1193} 1194.mat-mdc-snack-bar-container .mdc-snackbar__label { 1195 font-family: var(--mat-snack-bar-supporting-text-font, var(--mat-sys-body-medium-font)); 1196 font-size: var(--mat-snack-bar-supporting-text-size, var(--mat-sys-body-medium-size)); 1197 font-weight: var(--mat-snack-bar-supporting-text-weight, var(--mat-sys-body-medium-weight)); 1198 line-height: var(--mat-snack-bar-supporting-text-line-height, var(--mat-sys-body-medium-line-height)); 1199} 1200 1201.mat-mdc-snack-bar-actions { 1202 display: flex; 1203 flex-shrink: 0; 1204 align-items: center; 1205 box-sizing: border-box; 1206} 1207 1208.mat-mdc-snack-bar-handset, 1209.mat-mdc-snack-bar-container, 1210.mat-mdc-snack-bar-label { 1211 flex: 1 1 auto; 1212} 1213 1214.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed { 1215 color: var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary)); 1216} 1217.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) { 1218 --mat-button-text-state-layer-color: currentColor; 1219 --mat-button-text-ripple-color: currentColor; 1220} 1221.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element { 1222 opacity: 0.1; 1223} 1224`],encapsulation:2})}return t})(),VK=new T("mat-snack-bar-default-options",{providedIn:"root",factory:()=>new gh}),_j=(()=>{class t{_live=d(dd);_injector=d(he);_breakpointObserver=d(js);_parentSnackBar=d(t,{optional:!0,skipSelf:!0});_defaultConfig=d(VK);_animationsDisabled=Nt();_snackBarRefAtThisLevel=null;simpleSnackBarComponent=FK;snackBarContainerComponent=LK;handsetCssClass="mat-mdc-snack-bar-handset";get _openedSnackBarRef(){let e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(){}openFromComponent(e,n){return this._attach(e,n)}openFromTemplate(e,n){return this._attach(e,n)}open(e,n="",r){let o=x(x({},this._defaultConfig),r);return o.data={message:e,action:n},o.announcementMessage===e&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,n){let r=n&&n.viewContainerRef&&n.viewContainerRef.injector,o=he.create({parent:r||this._injector,providers:[{provide:gh,useValue:n}]}),a=new ci(this.snackBarContainerComponent,n.viewContainerRef,o),s=e.attach(a);return s.instance.snackBarConfig=n,s.instance}_attach(e,n){let r=x(x(x({},new gh),this._defaultConfig),n),o=this._createOverlay(r),a=this._attachSnackBarContainer(o,r),s=new md(a,o);if(e instanceof fe){let l=new Yi(e,null,{$implicit:r.data,snackBarRef:s});s.instance=a.attachTemplatePortal(l)}else{let l=this._createInjector(r,s),c=new ci(e,void 0,l),u=a.attachComponentPortal(c);s.instance=u.instance}return this._breakpointObserver.observe(Zb.HandsetPortrait).pipe(Ee(o.detachments())).subscribe(l=>{o.overlayElement.classList.toggle(this.handsetCssClass,l.matches)}),r.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(s,r),this._openedSnackBarRef=s,this._openedSnackBarRef}_animateSnackBar(e,n){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),n.announcementMessage&&this._live.clear()}),n.duration&&n.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(n.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter()}_createOverlay(e){let n=new Ai;n.direction=e.direction;let r=Qa(this._injector),o=e.direction==="rtl",a=e.horizontalPosition==="left"||e.horizontalPosition==="start"&&!o||e.horizontalPosition==="end"&&o,s=!a&&e.horizontalPosition!=="center";return a?r.left("0"):s?r.right("0"):r.centerHorizontally(),e.verticalPosition==="top"?r.top("0"):r.bottom("0"),n.positionStrategy=r,n.disableAnimations=this._animationsDisabled,hr(this._injector,n)}_createInjector(e,n){let r=e&&e.viewContainerRef&&e.viewContainerRef.injector;return he.create({parent:r||this._injector,providers:[{provide:md,useValue:n},{provide:l0,useValue:e.data}]})}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var pr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({imports:[gt]})}return t})();var pd=(function(t){return t.Small="small",t.Medium="medium",t})(pd||{}),kp=(function(t){return t.TEXT_ERROR="text-error",t.TEXT_BLACK="text-black",t.TEXT_WHITE="text-white",t.TEXT_BLACK_60="text-black-60",t})(kp||{});function ei(t){return t?t.toLowerCase().trim().replace(/\s+/g,"-").replace(/[^a-z0-9-]/g,"").replace(/-{2,}/g,"-").replace(/^-+|-+$/g,""):""}function Te(t,...i){let e=ei(t),n=e?`aamc-${e}
1224`:"aamc";for(let r of i){let o=ei(r);if(o)return`${n}-${o}`}return n}function jK(t,i){if(t&1&&O(0,"em",0),t&2){let e=v();w("ngClass",e.iconClasses()),N("aria-hidden",e.isDecorative())("aria-label",e.ariaLabel()??e.svgIcon()+" icon")("data-testid",e.isDecorative()?null:e._testId())}}function BK(t,i){if(t&1&&O(0,"img",1),t&2){let e=v();w("src",e.svgIcon(),Qt)("ngClass",e.iconClasses()),N("aria-hidden",e.isDecorative())("alt",e.ariaLabel()??e.svgIcon()+" icon")("data-testid",e.isDecorative()?null:e._testId())}}var on=(()=>{class t{constructor(){this.svgIcon=C.required(),this.size=C(pd.Medium),this.ariaLabel=C(),this.isDecorative=C(),this.rightAligned=C(),this.textColor=C(),this.testId=C(void 0),this._testId=Z(()=>Te("icon",this.testId(),this.ariaLabel())),this.aamcIcon=re(void 0),this.iconClasses=Z(()=>[this.size(),this.textColor(),this.aamcIcon(),this.rightAligned()?"icon-right-aligned":null].filter(Boolean).join(" "))}ngOnChanges(e){if(e.svgIcon){let n=this.svgIcon().startsWith("aamc-i-")?this.svgIcon().substring(7):this.svgIcon(),r=Object.values(Bn).includes(n);this.aamcIcon.set(r?"aamc-i-"+n:void 0)}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-icon"]],inputs:{svgIcon:[1,"svgIcon"],size:[1,"size"],ariaLabel:[1,"ariaLabel"],isDecorative:[1,"isDecorative"],rightAligned:[1,"rightAligned"],textColor:[1,"textColor"],testId:[1,"testId"]},features:[Ze],decls:2,vars:2,consts:[["role","img",3,"ngClass"],["role","img",3,"src","ngClass"]],template:function(n,r){n&1&&(E(0,jK,1,4,"em",0),E(1,BK,1,5,"img",1)),n&2&&(S(r.aamcIcon()?0:-1),f(),S(r.aamcIcon()?-1:1))},dependencies:[Ue,ot,pr],styles:[`ol[_ngcontent-%COMP%]{list-style-type:decimal}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-roman}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-roman}ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:square}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}.medium[_ngcontent-%COMP%]{width:20px;height:20px}.small[_ngcontent-%COMP%]{width:16px;height:16px} 1225/*# sourceMappingURL=aamc-icon.component-RNJ6DFK7.css.map */`],changeDetection:0})}}return t})();var vj=(()=>{class t{constructor(){this.router=d(At)}onClick(e){let n=e.target,r=n.getAttribute("href")||"";n.tagName.toLowerCase()==="a"&&r.indexOf("#")===0&&(e.preventDefault(),this.router.navigateByUrl(r.replace("#","")))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=W({type:t,selectors:[["","aamcLiveLinkHelper",""]],hostBindings:function(n,r){n&1&&P("click",function(a){return r.onClick(a)})}})}}return t})();function UK(t,i){if(t&1&&O(0,"i",10),t&2){let e=v();bn(nr("v2-icon aamc-i-",e.data==null?null:e.data.icon))}}function HK(t,i){if(t&1&&O(0,"aamc-icon",6),t&2){let e=v();w("svgIcon",e.data.icon)}}function zK(t,i){if(t&1&&(g(0,"div",7),I(1),_()),t&2){let e=v();f(),pe(" ",e.data==null?null:e.data.message," ")}}function $K(t,i){if(t&1&&O(0,"div",8),t&2){let e=v();w("innerHTML",e.data==null?null:e.data.message,Mi)}}var c0=(()=>{class t{constructor(){this.data=d(l0),this.toaster=d(md)}close(){this.toaster.dismiss()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-toast"]],decls:13,vars:8,consts:[[1,"flex-col","flex-wrap","sm:flex-row"],[1,"aamc-toast"],[1,"toast-container"],["aria-label","toast-type-icon","aria-hidden","true",3,"class"],[1,"cdk-visually-hidden"],[1,"v1-icon"],[3,"svgIcon"],[1,"toast-message","toast-html-message","flex-grow-1","flex-shrink-1","basis-8/12","md:flex-grow-0","md:flex-shrink-1","md:basis-auto"],["aamcLiveLinkHelper","",1,"toast-message",3,"innerHTML"],["role","button","aria-label","Close",1,"aamc-i-close",3,"click"],["aria-label","toast-type-icon","aria-hidden","true"]],template:function(n,r){n&1&&(g(0,"div",0)(1,"div",1)(2,"div",2),E(3,UK,1,3,"i",3),g(4,"span",4),I(5),_()(),g(6,"div",5),E(7,HK,1,1,"aamc-icon",6),g(8,"span",4),I(9),_()(),E(10,zK,2,1,"div",7),E(11,$K,1,1,"div",8),g(12,"i",9),P("
1225click",function(){return r.close()}),_()()()),n&2&&(f(3),S(r.data!=null&&r.data.icon?3:-1),f(2),qe(r.data==null?null:r.data.iconDescription),f(2),S(r.data!=null&&r.data.icon?7:-1),f(2),pe("",r.data==null?null:r.data.iconDescription," "),f(),S(r.data!=null&&r.data.hasHtml?-1:10),f(),S(r.data!=null&&r.data.hasHtml?11:-1),f(),Rn("vertical-align","middle"))},dependencies:[on,vj],encapsulation:2,changeDetection:0})}}return t})();var gd=(function(t){return t.SUCCESS="success",t.ERROR="error",t.Warning="warning",t.INFO="info",t})(gd||{}),d0=(()=>{class t{constructor(){this.snackbar=d(_j),this.BASE_CONFIG={verticalPosition:"top",horizontalPosition:"center",duration:5e3,panelClass:"info-toast",data:{icon:null,message:null,hasHtml:!1}}}open(e){let n=this.getConfig(e);return this.snackbar.openFromComponent(c0,n)}close(){this.snackbar.dismiss()}getConfig(e){let n={};if(Object.assign(n,this.BASE_CONFIG),e?.message)switch(n.data.message=e.message,e.type){case gd.ERROR:n.data.icon="warning",n.panelClass="error-toast",n.data.iconDescription="error";break;case gd.SUCCESS:n.data.icon="circle-check-o",n.panelClass="success-toast",n.data.iconDescription="success";break;case gd.INFO:n.data.icon="info",n.panelClass="info-toast",n.data.iconDescription="information";break;case gd.Warning:n.data.icon="issue",n.panelClass="warning-toast",n.data.iconLegacy="alert",n.data.iconDescription="warning";break;default:n.data.icon="info",n.panelClass="info-toast",n.data.iconDescription="information";break}return e?.duration&&(n.duration=e.duration),e?.verticalPostition&&(n.verticalPosition=e.verticalPostition),e?.horizontalPosition&&(n.horizontalPosition=e.horizontalPosition),e?.icon&&(n.data.icon=e.icon),e?.hasHtml&&(n.data.hasHtml=e.hasHtml),n}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var la=new T("CAN_LOGOUT_SERVICE"),IT=(()=>{class t{canLogout(){return K(!0)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac})}}return t})();var Op=new T("SESSION_EXPIRATION_NOTIFICATION_SERVICE"),yj=(()=>{class t{notifySessionExpiring(){}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac})}}return t})();var Sj=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,n){this._renderer=e,this._elementRef=n}setProperty(e,n){this._renderer.setProperty(this._elementRef.nativeElement,e,n)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(n){return new(n||t)(Ve(Ge),Ve(Q))};static \u0275dir=W({type:t})}return t})(),WK=(()=>{class t extends Sj{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Dt(t)))(r||t)}})();static \u0275dir=W({type:t,features:[Je]})}return t})(),_r=new T("");var qK={provide:_r,useExisting:vn(()=>es),multi:!0};function GK(){let t=no()?no().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var YK=new T(""),es=(()=>{class t extends Sj{_compositionMode;_composing=!1;constructor(e,n,r){super(e,n),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!GK())}writeValue(e){let n=e??"";this.setProperty("value",n)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(n){return new(n||t)(Ve(Ge),Ve(Q),Ve(YK,8))};static \u0275dir=W({type:t,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(n,r){n&1&&P("input",function(a){return r._handleInput(a.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(a){return r._compositionEnd(a.target.value)})},standalone:!1,features:[Ye([qK]),Je]})}return t})();function NT(t){return t==null||RT(t)===0}function RT(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var ca=new T(""),vd=new T(""),QK=/^(?=.{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])?)*$/,gr=class{static min(i){return ZK(i)}static max(i){return KK(i)}static required(i){return Tj(i)}static requiredTrue(i){return XK(i)}static email(i){return JK(i)}static minLength(i){return eX(i)}static maxLength(i){return Ij(i)}static pattern(i){return tX(i)}static nullValidator(i){return h0()}static compose(i){return Pj(i)}static composeAsync(i){return Fj(i)}};function ZK(t){return i=>{if(i.value==null||t==null)return null;let e=parseFloat(i.value);return!isNaN(e)&&e<t?{min:{min:t,actual:i.value}}:null}}function KK(t){return i=>{if(i.value==null||t==null)return null;let e=parseFloat(i.value);return!isNaN(e)&&e>t?{max:{max:t,actual:i.value}}:null}}function Tj(t){return NT(t.value)?{required:!0}:null}function XK(t){return t.value===!0?null:{required:!0}}function JK(t){return NT(t.value)||QK.test(t.value)?null:{email:!0}}function eX(t){return i=>{let e=i.value?.length??RT(i.value);return e===null||e===0?null:e<t?{minlength:{requiredLength:t,actualLength:e}}:null}}function Ij(t){return i=>{let e=i.value?.length??RT(i.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function tX(t){if(!t)return h0;let i,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),i=new RegExp(e)):(e=t.toString(),i=t),n=>
vendor: 7,973 bytes, line 1225
1225{if(NT(n.value))return null;let r=n.value;return i.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function h0(t){return null}function Aj(t){return t!=null}function kj(t){return xs(t)?jt(t):t}function Oj(t){let i={};return t.forEach(e=>{i=e!=null?x(x({},i),e):i}),Object.keys(i).length===0?null:i}function Nj(t,i){return i.map(e=>e(t))}function nX(t){return!t.validate}function Rj(t){return t.map(i=>nX(i)?i:e=>i.validate(e))}function Pj(t){if(!t)return null;let i=t.filter(Aj);return i.length==0?null:function(e){return Oj(Nj(e,i))}}function PT(t){return t!=null?Pj(Rj(t)):null}function Fj(t){if(!t)return null;let i=t.filter(Aj);return i.length==0?null:function(e){let n=Nj(e,i).map(kj);return cc(n).pipe(X(Oj))}}function FT(t){return t!=null?Fj(Rj(t)):null}function bj(t,i){return t===null?[i]:Array.isArray(t)?[...t,i]:[t,i]}function Lj(t){return t._rawValidators}function Vj(t){return t._rawAsyncValidators}function AT(t){return t?Array.isArray(t)?t:[t]:[]}function f0(t,i){return Array.isArray(t)?t.includes(i):t===i}function Cj(t,i){let e=AT(i);return AT(t).forEach(r=>{f0(e,r)||e.push(r)}),e}function wj(t,i){return AT(i).filter(e=>!f0(t,e))}var m0=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(i){this._rawValidators=i||[],this._composedValidatorFn=PT(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=FT(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(i){this._onDestroyCallbacks.push(i)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(i=>i()),this._onDestroyCallbacks=[]}reset(i=void 0){this.control?.reset(i)}hasError(i,e){return this.control?this.control.hasError(i,e):!1}getError(i,e){return this.control?this.control.getError(i,e):null}},vi=class extends m0{name;get formDirective(){return null}get path(){return null}},Br=class extends m0{_parent=null;name=null;valueAccessor=null},p0=class{_cd;constructor(i){this._cd=i}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}};var yo=(()=>{class t extends p0{constructor(e){super(e)}static \u0275fac=function(n){return new(n||t)(Ve(Br,2))};static \u0275dir=W({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){n&2&&ie("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[Je]})}return t})(),Hl=(()=>{class t extends p0{constructor(e){super(e)}static \u0275fac=function(n){return new(n||t)(Ve(vi,10))};static \u0275dir=W({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){n&2&&ie("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},standalone:!1,features:[Je]})}return t})();var Np="VALID",u0="INVALID",vh="PENDING",Rp="DISABLED",Ul=class{},g0=class extends Ul{value;source;constructor(i,e){super(),this.value=i,this.source=e}},Fp=class extends Ul{pristine;source;constructor(i,e){super(),this.pristine=i,this.source=e}},Lp=class extends Ul{touched;source;constructor(i,e){super(),this.touched=i,this.source=e}},yh=class extends Ul{status;source;constructor(i,e){super(),this.status=i,this.source=e}},_0=class extends Ul{source;constructor(i){super(),this.source=i}},Vp=class extends Ul{source;constructor(i){super(),this.source=i}};function LT(t){return(C0(t)?t.validators:t)||null}function iX(t){return Array.isArray(t)?PT(t):t||null}function VT(t,i){return(C0(i)?i.asyncValidators:t)||null}function rX(t){return Array.isArray(t)?FT(t):t||null}function C0(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function jj(t,i,e){let n=t.controls;if(!(i?Object.keys(n):n).length)throw new $(1e3,"");if(!n[e])throw new $(1001,"")}function Bj(t,i,e){t._forEachChild((n,r)=>{if(e[r]===void 0)throw new $(-1002,"")})}var bh=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(i,e){this._assignValidators(i),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(i){this._rawValidators=this._composedValidatorFn=i}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(i){this._rawAsyncValidators=this._composedAsyncValidatorFn=i}get parent(){return this._parent}get status(){return xt(this.statusReactive)}set status(i){xt(()=>this.statusReactive.set(i))}_status=Z(()=>this.statusReactive());statusReactive=re(void 0);get valid(){return this.status===Np}get invalid(){return this.status===u0}get pending(){return this.status===vh}get disabled(){return this.status===Rp}get enabled(){return this.status!==Rp}errors;get pristine(){return xt(this.pristineReactive)}set pristine(i){xt(()=>this.pristineReactive.set(i))}_pristine=Z(()=>this.pristineReactive());pristineReactive=re(!0);get dirty(){return!this.pristine}get touched(){return xt(this.touchedReactive)}set touched(i){xt(()=>this.touchedReactive.set(i))}_touched=Z(()=>this.touchedReactive());touchedReactive=re(!1);get untouched(){return!this.touched}_events=new V;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(i){this._assignValidators(i)}setAsyncValidators(i){this._assignAsyncValidators(i)}addValidators(i){this.setValidators(Cj(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(Cj(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(wj(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(wj(i,this._rawAsyncValidators))}hasValidator(i){return f0(this._rawValidators,i)}hasAsyncValidator(i){return f0(this._rawAsyncValidators,i)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(i={}){let e=this.touched===!1;this.touched=!0;let n=i.sourceControl??this;i.onlySelf||this._parent?.markAsTouched(Y(x({},i),{sourceControl:n})),e&&i.emitEvent!==!1&&this._events.next(new Lp(!0,n))}
1225markAllAsDirty(i={}){this.markAsDirty({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(i))}markAllAsTouched(i={}){this.markAsTouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(i))}markAsUntouched(i={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=i.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:n})}),i.onlySelf||this._parent?._updateTouched(i,n),e&&i.emitEvent!==!1&&this._events.next(new Lp(!1,n))}markAsDirty(i={}){let e=this.pristine===!0;this.pristine=!1;let n=i.sourceControl??this;i.onlySelf||this._parent?.markAsDirty(Y(x({},i),{sourceControl:n})),e&&i.emitEvent!==!1&&this._events.next(new Fp(!1,n))}markAsPristine(i={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=i.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:i.emitEvent})}),i.onlySelf||this._parent?._updatePristine(i,n),e&&i.emitEvent!==!1&&this._events.next(new Fp(!0,n))}markAsPending(i={}){this.status=vh;let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new yh(this.status,e)),this.statusChanges.emit(this.status)),i.onlySelf||this._parent?.markAsPending(Y(x({},i),{sourceControl:e}))}disable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=Rp,this.errors=null,this._forEachChild(r=>{r.disable(Y(x({},i),{onlySelf:!0}))}),this._updateValue();let n=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new g0(this.value,n)),this._events.next(new yh(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Y(x({},i),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=Np,this._forEachChild(n=>{n.enable(Y(x({},i),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent}),this._updateAncestors(Y(x({},i),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(i,e){i.onlySelf||(this._parent?.updateValueAndValidity(i),i.skipPristineCheck||this._parent?._updatePristine({},e),this._parent?._updateTouched({},e))}setParent(i){this._parent=i}getRawValue(){return this.value}updateValueAndValidity(i={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Np||this.status===vh)&&this._runAsyncValidator(n,i.emitEvent)}let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new g0(this.value,e)),this._events.next(new yh(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),i.onlySelf||this._parent?.updateValueAndValidity(Y(x({},i),{sourceControl:e}))}_updateTreeValidity(i={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(i)),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Rp:Np}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(i,e){if(this.asyncValidator){this.status=vh,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:i!==!1};let n=kj(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:i})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let i=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,i}return!1}setErrors(i,e={}){this.errors=i,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(i){let e=i;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((n,r)=>n&&n._find(r),this)}getError(i,e){let n=e?this.get(e):this;return n?.errors?n.errors[i]:null}hasError(i,e){return!!this.getError(i,e)}get root(){let i=this;for(;i._parent;)i=i._parent;return i}_updateControlsErrors(i,e,n){this.status=this._calculateStatus(),i&&this.statusChanges.emit(this.status),(i||n)&&this._events.next(new yh(this.status,e)),this._parent&&this._parent._updateControlsErrors(i,e,n)}_initObservables(){this.valueChanges=new z,this.statusChanges=new z}_calculateStatus(){return this._allControlsDisabled()?Rp:this.errors?u0:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(vh)?vh:this._anyControlsHaveStatus(u0)?u0:Np}
1225_anyControlsHaveStatus(i){return this._anyControls(e=>e.status===i)}_anyControlsDirty(){return this._anyControls(i=>i.dirty)}_anyControlsTouched(){return this._anyControls(i=>i.touched)}_updatePristine(i,e){let n=!this._anyControlsDirty(),r=this.pristine!==n;this.pristine=n,i.onlySelf||this._parent?._updatePristine(i,e),r&&this._events.next(new Fp(this.pristine,e))}_updateTouched(i={},e){this.touched=this._anyControlsTouched(),this._events.next(new Lp(this.touched,e)),i.onlySelf||this._parent?._updateTouched(i,e)}_onDisabledChange=[];_registerOnCollectionChange(i){this._onCollectionChange=i}_setUpdateStrategy(i){C0(i)&&i.updateOn!=null&&(this._updateOn=i.updateOn)}_parentMarkedDirty(i){return!i&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(i){return null}_assignValidators(i){this._rawValidators=Array.isArray(i)?i.slice():i,this._composedValidatorFn=iX(this._rawValidators)}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=rX(this._rawAsyncValidators)}},Ch=class extends bh{constructor(i,e,n){super(LT(e),VT(n,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(i,e){return this.controls[i]?this.controls[i]:(this.controls[i]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(i,e,n={}){this.registerControl(i,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(i,e={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(i,e,n={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],e&&this.registerControl(i,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(i){return this.controls.hasOwnProperty(i)&&this.controls[i].enabled}setValue(i,e={}
vendor: 19,409 bytes, line 1225
1225){Bj(this,!0,i),Object.keys(i).forEach(n=>{jj(this,!0,n),this.controls[n].setValue(i[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(i,e={}){i!=null&&(Object.keys(i).forEach(n=>{let r=this.controls[n];r&&r.patchValue(i[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(i={},e={}){this._forEachChild((n,r)=>{n.reset(i?i[r]:null,Y(x({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new Vp(this))}getRawValue(){return this._reduceChildren({},(i,e,n)=>(i[n]=e.getRawValue(),i))}_syncPendingControls(){let i=this._reduceChildren(!1,(e,n)=>n._syncPendingControls()?!0:e);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){Object.keys(this.controls).forEach(e=>{let n=this.controls[e];n&&i(n,e)})}_setUpControls(){this._forEachChild(i=>{i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(i){for(let[e,n]of Object.entries(this.controls))if(this.contains(e)&&i(n))return!0;return!1}_reduceValue(){let i={};return this._reduceChildren(i,(e,n,r)=>((n.enabled||this.disabled)&&(e[r]=n.value),e))}_reduceChildren(i,e){let n=i;return this._forEachChild((r,o)=>{n=e(n,r,o)}),n}_allControlsDisabled(){for(let i of Object.keys(this.controls))if(this.controls[i].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(i){return this.controls.hasOwnProperty(i)?this.controls[i]:null}};var kT=class extends Ch{};var wh=new T("",{factory:()=>w0}),w0="always";function Uj(t,i){return[...i.path,t]}function jp(t,i,e=w0){jT(t,i),i.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&i.valueAccessor.setDisabledState?.(t.disabled),aX(t,i),lX(t,i),sX(t,i),oX(t,i)}function v0(t,i,e=!0){let n=()=>{};i?.valueAccessor?.registerOnChange(n),i?.valueAccessor?.registerOnTouched(n),b0(t,i),t&&(i._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function y0(t,i){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(i)})}function oX(t,i){if(i.valueAccessor.setDisabledState){let e=n=>{i.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(e),i._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function jT(t,i){let e=Lj(t);i.validator!==null?t.setValidators(bj(e,i.validator)):typeof e=="function"&&t.setValidators([e]);let n=Vj(t);i.asyncValidator!==null?t.setAsyncValidators(bj(n,i.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let r=()=>t.updateValueAndValidity();y0(i._rawValidators,r),y0(i._rawAsyncValidators,r)}function b0(t,i){let e=!1;if(t!==null){if(i.validator!==null){let r=Lj(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==i.validator);o.length!==r.length&&(e=!0,t.setValidators(o))}}if(i.asyncValidator!==null){let r=Vj(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==i.asyncValidator);o.length!==r.length&&(e=!0,t.setAsyncValidators(o))}}}let n=()=>{};return y0(i._rawValidators,n),y0(i._rawAsyncValidators,n),e}function aX(t,i){i.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&Hj(t,i)})}function sX(t,i){i.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&Hj(t,i),t.updateOn!=="submit"&&t.markAsTouched()})}function Hj(t,i){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function lX(t,i){let e=(n,r)=>{i.valueAccessor.writeValue(n),r&&i.viewToModelUpdate(n)};t.registerOnChange(e),i._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function zj(t,i){t==null,jT(t,i)}function cX(t,i){return b0(t,i)}function BT(t,i){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(i,e.currentValue)}function dX(t){return Object.getPrototypeOf(t.constructor)===WK}function $j(t,i){t._syncPendingControls(),i.forEach(e=>{let n=e.control;n.updateOn==="submit"&&n._pendingChange&&(e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function UT(t,i){if(!i)return null;Array.isArray(i);let e,n,r;return i.forEach(o=>{o.constructor===es?e=o:dX(o)?n=o:r=o}),r||n||e||null}function uX(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}var hX={provide:vi,useExisting:vn(()=>Bp)},Pp=Promise.resolve(),Bp=(()=>{class t extends vi{callSetDisabledState;get submitted(){return xt(this.submittedReactive)}_submitted=Z(()=>this.submittedReactive());submittedReactive=re(!1);_directives=new Set;form;ngSubmit=new z;options;constructor(e,n,r){super(),this.callSetDisabledState=r,this.form=new Ch({},PT(e),FT(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Pp.then(()=>{let n=this._findContainer(e.path);e.control=n.registerControl(e.name,e.control),jp(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Pp.then(()=>{this._findContainer(e.path)?.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Pp.then(()=>{let n=this._findContainer(e.path),r=new Ch({});zj(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Pp.then(()=>{this._findContainer(e.path)?.removeControl?.(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,n){Pp.then(()=>{this.form.get(e.path).setValue(n)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),$j(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new _0(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(n){return new(n||t)(Ve(ca,10),Ve(vd,10),Ve(wh,8))};static \u0275dir=W({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,r){n&1&&P("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Ye([hX]),Je]})}return t})();function xj(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}function Dj(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var _d=class extends bh{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(i=null,e,n){super(LT(e),VT(n,e)),this._applyFormState(i),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),C0(e)&&(e.nonNullable||e.initialValueIsDefault)&&(Dj(i)?this.defaultValue=i.value:this.defaultValue=i)}setValue(i,e={}){this.value=this._pendingValue=i,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(i,e={}){this.setValue(i,e)}reset(i=this.defaultValue,e={}){this._applyFormState(i),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),e.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,e?.emitEvent!==!1&&this._events.next(new Vp(this))}_updateValue(){}_anyControls(i){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(i){this._onChange.push(i)}_unregisterOnChange(i){xj(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){xj(this._onDisabledChange,i)}_forEachChild(i){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(i){Dj(i)?(this.value=this._pendingValue=i.value,i.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=i}};var fX=t=>t instanceof _d;var mX={provide:Br,useExisting:vn(()=>yd)},Mj=Promise.resolve(),yd=(()=>{class t extends Br{_changeDetectorRef;callSetDisabledState;control=new _d;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new z;constructor(e,n,r,o,a,s){super(),this._changeDetectorRef=a,this.callSetDisabledState=s,this._parent=e,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=UT(this,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let n=e.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),BT(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective?.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){jp(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){Mj.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let n=e.isDisabled.currentValue,r=n!==0&&ue(n);Mj.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?Uj(e,this._parent):[e]}static \u0275fac=function(n){return new(n||t)(Ve(vi,9),Ve(ca,10),Ve(vd,10),Ve(_r,10),Ve(Pe,8),Ve(wh,8))};static \u0275dir=W({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[Ye([mX]),Je,Ze]})}return t})();var Wj=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return t})();var OT=class extends bh{constructor(i,e,n){super(LT(e),VT(n,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(i){return this.controls[this._adjustIndex(i)]}push(i,e={}){Array.isArray(i)?i.forEach(n=>{this.controls.push(n),this._registerControl(n)}):(this.controls.push(i),this._registerControl(i)),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(i,e,n={}){this.controls.splice(i,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(i,e={}){let n=this._adjustIndex(i);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(i,e,n={}){let r=this._adjustIndex(i);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(i,e={}){Bj(this,!1,i),i.forEach((n,r)=>{jj(this,!1,r),this.at(r).setValue(n,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(i,e={}){i!=null&&(i.forEach((n,r)=>{this.at(r)&&this.at(r).patchValue(n,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(i=[],e={}){this._forEachChild((n,r)=>{n.reset(i[r],Y(x({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new Vp(this))}getRawValue(){return this.controls.map(i=>i.getRawValue())}clear(i={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:i.emitEvent}))}_adjustIndex(i){return i<0?i+this.length:i}_syncPendingControls(){let i=this.controls.reduce((e,n)=>n._syncPendingControls()?!0:e,!1);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){this.controls.forEach((e,n)=>{i(e,n)})}_updateValue(){this.value=this.controls.filter(i=>i.enabled||this.disabled).map(i=>i.value)}_anyControls(i){return this.controls.some(e=>e.enabled&&i(e))}_setUpControls(){this._forEachChild(i=>this._registerControl(i))}_allControlsDisabled(){for(let i of this.controls)if(i.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(i){i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)}_find(i){return this.at(i)??null}};var pX=(()=>{class t extends vi{callSetDisabledState;get submitted(){return xt(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Z(()=>this._submittedReactive());_submittedReactive=re(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(e,n,r){super(),this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(n)}ngOnChanges(e){this.onChanges(e)}ngOnDestroy(){this.onDestroy()}onChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(b0(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(e){let n=this.form.get(e.path);return jp(n,e,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),n}getControl(e){return this.form.get(e.path)}removeControl(e){v0(e.control||null,e,!1),uX(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}getFormArray(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}updateModel(e,n){this.form.get(e.path).setValue(n)}onReset(){this.resetForm()}resetForm(e=void 0,n={}){this.form.reset(e,n),this._submittedReactive.set(!1)}onSubmit(e){return this.submitted=!0,$j(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new _0(this.control)),e?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(e=>{let n=e.control,r=this.form.get(e.path);n!==r&&(v0(n||null,e),fX(r)&&(jp(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let n=this.form.get(e.path);zj(n,e),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){let n=this.form?.get(e.path);n&&cX(n,e)&&n.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){jT(this.form,this),this._oldForm&&b0(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(n){return new(n||t)(Ve(ca,10),Ve(vd,10),Ve(wh,8))};static \u0275dir=W({type:t,features:[Je,Ze]})}return t})();var HT=new T(""),gX={provide:Br,useExisting:vn(()=>zT)},zT=(()=>{class t extends Br{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new z;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,n,r,o,a){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=a,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=UT(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let n=e.form.previousValue;n&&v0(n,this,!1),jp(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}BT(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&v0(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(n){return new(n||t)(Ve(ca,10),Ve(vd,10),Ve(_r,10),Ve(HT,8),Ve(wh,8))};static \u0275dir=W({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[Ye([gX]),Je,Ze]})}return t})();var _X={provide:Br,useExisting:vn(()=>bd)},bd=(()=>{class t extends Br{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(e){}model;update=new z;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,n,r,o,a){super(),this._ngModelWarningConfig=a,this._parent=e,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=UT(this,o)}ngOnChanges(e){this._added||this._setUpControl(),BT(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective?.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return Uj(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(n){return new(n||t)(Ve(vi,13),Ve(ca,10),Ve(vd,10),Ve(_r,10),Ve(HT,8))};static \u0275dir=W({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[Ye([_X]),Je,Ze]})}return t})();var vX={provide:vi,useExisting:vn(()=>Ur)},Ur=(()=>{class t extends pX{form=null;ngSubmit=new z;get control(){return this.form}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Dt(t)))(r||t)}})();static \u0275dir=W({type:t,selectors:[["","formGroup",""]],hostBindings:function(n,r){n&1&&P("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Ye([vX]),Je]})}return t})();function yX(t){return typeof t=="number"?t:parseInt(t,10)}var qj=(()=>{class t{_validator=h0;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let n=this.normalizeInput(e[this.inputName].
1225currentValue);this._enabled=this.enabled(n),this._validator=this._enabled?this.createValidator(n):h0,this._onChange?.()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,features:[Ze]})}return t})();var bX={provide:ca,useExisting:vn(()=>$T),multi:!0};var $T=(()=>{class t extends qj{required;inputName="required";normalizeInput=ue;createValidator=e=>Tj;enabled(e){return e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Dt(t)))(r||t)}})();static \u0275dir=W({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(n,r){n&2&&N("required",r._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[Ye([bX]),Je]})}return t})();var CX={provide:ca,useExisting:vn(()=>Up),multi:!0},Up=(()=>{class t extends qj{maxlength;inputName="maxlength";normalizeInput=e=>yX(e);createValidator=e=>Ij(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=Dt(t)))(r||t)}})();static \u0275dir=W({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(n,r){n&2&&N("maxlength",r._enabled?r.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[Ye([CX]),Je]})}return t})();var Gj=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({})}return t})();function Ej(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var WT=(()=>{class t{useNonNullable=!1;get nonNullable(){let e=new t;return e.useNonNullable=!0,e}group(e,n=null){let r=this._reduceControls(e),o={};return Ej(n)?o=n:n!==null&&(o.validators=n.validator,o.asyncValidators=n.asyncValidator),new Ch(r,o)}record(e,n=null){let r=this._reduceControls(e);return new kT(r,n)}control(e,n,r){let o={};return this.useNonNullable?(Ej(n)?o=n:(o.validators=n,o.asyncValidators=r),new _d(e,Y(x({},o),{nonNullable:!0}))):new _d(e,n,r)}array(e,n,r){let o=e.map(a=>this._createControl(a));return new OT(o,n,r)}_reduceControls(e){let n={};return Object.keys(e).forEach(r=>{n[r]=this._createControl(e[r])}),n}_createControl(e){if(e instanceof _d)return e;if(e instanceof bh)return e;if(Array.isArray(e)){let n=e[0],r=e.length>1?e[1]:null,o=e.length>2?e[2]:null;return this.control(n,r,o)}else return this.control(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Yj=(()=>{class t extends WT{group(e,n=null){return super.group(e,n)}control(e,n,r){return super.control(e,n,r)}array(e,n,r){return super.array(e,n,r)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Dt(t)))(r||t)}})();static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Hr=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:wh,useValue:e.callSetDisabledState??w0}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({imports:[Gj]})}return t})(),di=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:HT,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:wh,useValue:e.callSetDisabledState??w0}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({imports:[Gj]})}return t})();var qT=class{_box;_destroyed=new V;_resizeSubject=new V;_resizeObserver;_elementObservables=new Map;constructor(i){this._box=i,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(i){return this._elementObservables.has(i)||this._elementObservables.set(i,new De(e=>{let n=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(i,{box:this._box}),()=>{this._resizeObserver?.unobserve(i),n.unsubscribe(),this._elementObservables.delete(i)}}).pipe(J(e=>e.some(n=>n.target===i)),Qd({bufferSize:1,refCount:!0}),Ee(this._destroyed))),this._elementObservables.get(i)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Qj=(()=>{class t{_cleanupErrorListener;_observers=new Map;_ngZone=d(ne);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(e,n){let r=n?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new qT(r)),this._observers.get(r).observe(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var wX=["notch"],xX=["matFormFieldNotchedOutline",""],DX=["*"],Zj=["iconPrefixContainer"],Kj=["textPrefixContainer"],Xj=["iconSuffixContainer"],Jj=["textSuffixContainer"],MX=["textField"],EX=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],SX=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function TX(t,i){t&1&&O(0,"span",21)}function IX(t,i){if(t&1&&(g(0,"label",20),ae(1,1),E(2,TX,1,0,"span",21),_()),t&2){let e=v(2);w("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),N("for",e._control.disableAutomaticLabeling?null:e._control.id),f(2),S(!e.hideRequiredMarker&&e._control.required?2:-1)}}function AX(t,i){if(t&1&&E(0,IX,3,5,"label",20),t&2){let e=v();S(e._hasFloatingLabel()?0:-1)}}function kX(t,i){t&1&&O(0,"div",7)}function OX(t,i){}function NX(t,i){if(t&1&&se(0,OX,0,0,"ng-template",13),t&2){v(2);let e=Ie(1);w("ngTemplateOutlet",e)}}function RX(t,i){if(t&1&&(g(0,"div",9),E(1,NX,1,1,null,13),_()),t&2){let e=v();w("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),f(),S(e._forceDisplayInfixLabel()?-1:1)}}function PX(t,i){t&1&&(g(0,"div",10,2),ae(2,2),_())}function FX(t,i){t&1&&(g(0,"div",11,3),ae(2,3),_())}function LX(t,i){}function VX(t,i){if(t&1&&se(0,LX,0,0,"ng-template",13),t&2){v();let e=Ie(1);w("ngTemplateOutlet",e)}}function jX(t,i){t&1&&(g(0,"div",14,4),ae(2,4),_())}function BX(t,i){t&1&&(g(0,"div",15,5),ae(2,5),_())}function UX(t,i){t&1&&O(0,"div",16)}function HX(t,i){t&1&&(g(0,"div",18),ae(1,6),_())}function zX(t,i){if(t&1&&(g(0,"mat-hint",22),I(1),_()),t&2){let e=v(2);w("id",e._hintLabelId),f(),qe(e.hintLabel)}}function $X(t,i){if(t&1&&(g(0,"div",19),E(1,zX,2,2,"mat-hint",22),ae(2,7),O(3,"div",23),ae(4,8),_(
1225)),t&2){let e=v();f(),S(e.hintLabel?1:-1)}}var Hp=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["mat-label"]]})}return t})(),GT=new T("MatError"),YT=(()=>{class t{id=d(Et).getId("mat-mdc-error-");constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["mat-error"],["","matError",""]],hostAttrs:[1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(n,r){n&2&&wt("id",r.id)},inputs:{id:"id"},features:[Ye([{provide:GT,useExisting:t}])]})}return t})(),zp=(()=>{class t{align="start";id=d(Et).getId("mat-mdc-hint-");static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(n,r){n&2&&(wt("id",r.id),N("align",null),ie("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"}})}return t})(),QT=new T("MatPrefix"),Cd=(()=>{class t{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},features:[Ye([{provide:QT,useExisting:t}])]})}return t})(),ZT=new T("MatSuffix"),Us=(()=>{class t{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[Ye([{provide:ZT,useExisting:t}])]})}return t})(),aB=new T("FloatingLabelParent"),eB=(()=>{class t{_elementRef=d(Q);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=d(Qj);_ngZone=d(ne);_parent=d(aB);_resizeSubscription=new Re;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return WX(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(n,r){n&2&&ie("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return t})();function WX(t){let i=t;if(i.offsetParent!==null)return i.scrollWidth;let e=i.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let n=e.scrollWidth;return e.remove(),n}var tB="mdc-line-ripple--active",x0="mdc-line-ripple--deactivating",nB=(()=>{class t{_elementRef=d(Q);_cleanupTransitionEnd;constructor(){let e=d(ne),n=d(Ge);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=n.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(x0),e.add(tB)}deactivate(){this._elementRef.nativeElement.classList.add(x0)}_handleTransitionEnd=e=>{let n=this._elementRef.nativeElement.classList,r=n.contains(x0);e.propertyName==="opacity"&&r&&n.remove(tB,x0)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return t})(),iB=(()=>{class t{_elementRef=d(Q);_ngZone=d(ne);open=!1;_notch;ngAfterViewInit(){let e=this._elementRef.nativeElement,n=e.querySelector(".mdc-floating-label");n?(e.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(n.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>n.style.transitionDuration="")}))):e.classList.add("mdc-notched-outline--no-label")}
1225_setNotchWidth(e){let n=this._notch.nativeElement;!this.open||!e?n.style.width="":n.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}_setMaxWidth(e){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${e}px)`)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(n,r){if(n&1&&Zt(wX,5),n&2){let o;we(o=xe())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(n,r){n&2&&ie("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:xX,ngContentSelectors:DX,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(n,r){n&1&&(We(),On(0,"div",1),Tt(1,"div",2,0),ae(3),Ut(),On(4,"div",3))},encapsulation:2,changeDetection:0})}return t})(),Hs=(()=>{class t{value=null;stateChanges;id;placeholder;ngControl=null;focused=!1;empty=!1;shouldLabelFloat=!1;required=!1;disabled=!1;errorState=!1;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t})}return t})();var zs=new T("MatFormField"),sB=new T("MAT_FORM_FIELD_DEFAULT_OPTIONS"),rB="fill",qX="auto",oB="fixed",GX="translateY(-50%)",vr=(()=>{class t{_elementRef=d(Q);_changeDetectorRef=d(Pe);_platform=d(st);_idGenerator=d(Et);_ngZone=d(ne);_defaults=d(sB,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=Qe("iconPrefixContainer");_textPrefixContainerSignal=Qe("textPrefixContainer");_iconSuffixContainerSignal=Qe("iconSuffixContainer");_textSuffixContainerSignal=Qe("textSuffixContainer");_prefixSuffixContainers=Z(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(e=>e?.nativeElement).filter(e=>e!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=ln(Hp);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=ki(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||qX}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(e){let n=e||this._defaults?.appearance||rB;this._appearanceSignal.set(n)}_appearanceSignal=re(rB);get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||oB}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||oB}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new V;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=Nt();constructor(){let e=this._defaults,n=d(xn);e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),Zn(()=>this._currentDirection=n.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}
1225ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=Z(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let n=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),n.controlType&&this._elementRef.nativeElement.classList.add(r+n.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=n.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=n.stateChanges.pipe(Ot([void 0,void 0]),X(()=>[n.errorState,n.userAriaDescribedBy]),Jg(),J(([[o,a],[s,l]])=>o!==s||a!==l)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),n.ngControl&&n.ngControl.valueChanges&&(this._valueChanges=n.ngControl.valueChanges.pipe(Ee(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),qt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){let e=this._control.focused;e&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!e&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",e),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",e)}_syncOutlineLabelOffset(){ER({earlyRead:()=>{if(this._appearanceSignal()!=="outline")return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(let e of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(e,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:e=>this._writeOutlinedLabelStyles(e())})}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=Z(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let n=this._control?this._control.ngControl:null;return n&&n[e]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];
1225if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let o=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,a=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;o?e.push(o.id):this._hintLabel&&e.push(this._hintLabelId),a&&e.push(a.id)}else this._errorChildren&&e.push(...this._errorChildren.map(o=>o.id));let n=this._control.describedByIds,r;if(n){let o=this._describedByIds||e;r=e.concat(n.filter(a=>a&&!o.includes(a)))}else r=e;this._control.setDescribedByIds(r),this._describedByIds=e}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;let e=this._iconPrefixContainer?.nativeElement,n=this._textPrefixContainer?.nativeElement,r=this._iconSuffixContainer?.nativeElement,o=this._textSuffixContainer?.nativeElement,a=e?.getBoundingClientRect().width??0,s=n?.getBoundingClientRect().width??0,l=r?.getBoundingClientRect().width??0,c=o?.getBoundingClientRect().width??0,u=this._currentDirection==="rtl"?"-1":"1",h=`${a+s}px`,p=`calc(${u} * (${h} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,b=`var(--mat-mdc-form-field-label-transform, ${GX} translateX(${p}))`,D=a+s+l+c;return[b,D]}_writeOutlinedLabelStyles(e){if(e!==null){let[n,r]=e;this._floatingLabel&&(this._floatingLabel.element.style.transform=n),r!==null&&this._notchedOutline?._setMaxWidth(r)}}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let n=e.getRootNode();return n&&n!==e}return document.documentElement.contains(e)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["mat-form-field"]],contentQueries:function(n,r,o){if(n&1&&(Ei(o,r._labelChild,Hp,5),Nn(o,Hs,5)(o,QT,5)(o,ZT,5)(o,GT,5)(o,zp,5)),n&2){ct();let a;we(a=xe())&&(r._formFieldControl=a.first),we(a=xe())&&(r._prefixChildren=a),we(a=xe())&&(r._suffixChildren=a),we(a=xe())&&(r._errorChildren=a),we(a=xe())&&(r._hintChildren=a)}},viewQuery:function(n,r){if(n&1&&(It(r._iconPrefixContainerSignal,Zj,5)(r._textPrefixContainerSignal,Kj,5)(r._iconSuffixContainerSignal,Xj,5)(r._textSuffixContainerSignal,Jj,5),Zt(MX,5)(Zj,5)(Kj,5)(Xj,5)(Jj,5)(eB,5)(iB,5)(nB,5)),n&2){ct(4);let o;we(o=xe())&&(r._textField=o.first),we(o=xe())&&(r._iconPrefixContainer=o.first),we(o=xe())&&(r._textPrefixContainer=o.first),we(o=xe())&&(r._iconSuffixContainer=o.first),we(o=xe())&&(r._textSuffixContainer=o.first),we(o=xe())&&(r._floatingLabel=o.first),we(o=xe())&&(r._notchedOutline=o.first),we(o=xe())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(n,r){n&2&&ie("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Ye([{provide:zs,useExisting:t},{provide:aB,useExisting:t}])],ngContentSelectors:SX,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormField
1225FloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(n,r){if(n&1&&(We(EX),se(0,AX,1,1,"ng-template",null,0,zn),g(2,"div",6,1),P("click",function(a){return r._control.onContainerClick(a)}),E(4,kX,1,0,"div",7),g(5,"div",8),E(6,RX,2,2,"div",9),E(7,PX,3,0,"div",10),E(8,FX,3,0,"div",11),g(9,"div",12),E(10,VX,1,1,null,13),ae(11),_(),E(12,jX,3,0,"div",14),E(13,BX,3,0,"div",15),_(),E(14,UX,1,0,"div",16),_(),g(15,"div",17),E(16,HX,2,0,"div",18)(17,$X,5,1,"div",19),_()),n&2){let o;f(2),ie("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),f(2),S(!r._hasOutline()&&!r._control.disabled?4:-1),f(2),S(r._hasOutline()?6:-1),f(),S(r._hasIconPrefix?7:-1),f(),S(r._hasTextPrefix?8:-1),f(2),S(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),f(2),S(r._hasTextSuffix?12:-1),f(),S(r._hasIconSuffix?13:-1),f(),S(r._hasOutline()?-1:14),f(),ie("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic");let a=r._getSubscriptMessageType();f(),S((o=a)==="error"?16:o==="hint"?17:-1)}},dependencies:[eB,iB,Pn,nB,zp],styles:[`.mdc-text-field { 1226 display: inline-flex; 1227 align-items: baseline; 1228 padding: 0 16px; 1229 position: relative; 1230 box-sizing: border-box; 1231 overflow: hidden; 1232 will-change: opacity, transform, color; 1233 border-top-left-radius: 4px; 1234 border-top-right-radius: 4px; 1235 border-bottom-right-radius: 0; 1236 border-bottom-left-radius: 0; 1237} 1238 1239.mdc-text-field__input { 1240 width: 100%; 1241 min-width: 0; 1242 border: none; 1243 border-radius: 0; 1244 background: none; 1245 padding: 0; 1246 -moz-appearance: none; 1247 -webkit-appearance: none; 1248 height: 28px; 1249} 1250.mdc-text-field__input::-webkit-calendar-picker-indicator, .mdc-text-field__input::-webkit-search-cancel-button { 1251 display: none; 1252} 1253.mdc-text-field__input::-ms-clear { 1254 display: none; 1255} 1256.mdc-text-field__input:focus { 1257 outline: none; 1258} 1259.mdc-text-field__input:invalid { 1260 box-shadow: none; 1261} 1262.mdc-text-field__input::placeholder { 1263 opacity: 0; 1264} 1265.mdc-text-field__input::-moz-placeholder { 1266 opacity: 0; 1267} 1268.mdc-text-field__input::-webkit-input-placeholder { 1269 opacity: 0; 1270} 1271.mdc-text-field__input:-ms-input-placeholder { 1272 opacity: 0; 1273} 1274.mdc-text-field--no-label .mdc-text-field__input::placeholder, .mdc-text-field--focused .mdc-text-field__input::placeholder { 1275 opacity: 1; 1276} 1277.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder, .mdc-text-field--focused .mdc-text-field__input::-moz-placeholder { 1278 opacity: 1; 1279} 1280.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder, .mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder { 1281 opacity: 1; 1282} 1283.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder, .mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder { 1284 opacity: 1; 1285} 1286.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder { 1287 opacity: 0; 1288} 1289.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder { 1290 opacity: 0; 1291} 1292.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder { 1293 opacity: 0; 1294} 1295.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder { 1296 opacity: 0; 1297} 1298.mdc-text-field--outlined .mdc-text-field__input, .mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input { 1299 height: 100%; 1300} 1301.mdc-text-field--outlined .mdc-text-field__input { 1302 display: flex; 1303 border: none !important; 1304 background-color: transparent; 1305} 1306.mdc-text-field--disabled .mdc-text-field__input { 1307 pointer-events: auto; 1308} 1309.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input { 1310 color: var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface)); 1311 caret-color: var(--mat-form-field-filled-caret-color, var(--mat-sys-primary)); 1312} 1313.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder { 1314 color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 1315} 1316.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder { 1317 color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 1318} 1319.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder { 1320 color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 1321} 1322.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder { 1323 color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 1324} 1325.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input { 1326 color: var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface)); 1327 caret-color: var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary)); 1328} 1329.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder { 1330 color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 1331} 1332.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder { 1333 color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 1334} 1335.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder { 1336 color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 1337} 1338.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder { 1339 color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 1340} 1341.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input { 1342 caret-color: var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error)); 1343} 1344.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input { 1345 caret-color: var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error)); 1346} 1347.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input { 1348 color: var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1349} 1350.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input { 1351 color: var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1352} 1353@media (forced-colors: active) { 1354 .mdc-text-field--disabled .mdc-text-field__input { 1355 background-color: Window; 1356 } 1357} 1358 1359.mdc-text-field--filled { 1360 height: 56px; 1361 border-bottom-right-radius: 0; 1362 border-bottom-left-radius: 0; 1363 border-top-left-radius: var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small)); 1364 border-top-right-radius: var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small)); 1365} 1366.mdc-text-field--filled:not(.mdc-text-field--disabled) { 1367 background-color: var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant)); 1368} 1369.mdc-text-field--filled.mdc-text-field--disabled { 1370 background-color: var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent)); 1371} 1372 1373.mdc-text-field--outlined { 1374 height: 56px; 1375 overflow: visible; 1376 padding-right: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))); 1377 padding-left: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px); 1378} 1379[dir=rtl] .mdc-text-field--outlined { 1380 padding-right: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px); 1381 padding-left: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))); 1382} 1383 1384.mdc-floating-label { 1385 position: absolute; 1386 left: 0; 1387 transform-origin: left top; 1388 line-height: 1.15rem; 1389 text-align: left; 1390 text-overflow: ellipsis; 1391 white-space: nowrap; 1392 cursor: text; 1393 overflow: hidden; 1394 will-change: transform; 1395} 1396[dir=rtl] .mdc-floating-label { 1397 right: 0; 1398 left: auto; 1399 transform-origin: right top; 1400 text-align: right; 1401} 1402.mdc-text-field .mdc-floating-label { 1403 top: 50%; 1404 transform: translateY(-50%); 1405 pointer-events: none; 1406} 1407.mdc-notched-outline .mdc-floating-label { 1408 display: inline-block; 1409 position: relative; 1410 max-width: 100%; 1411} 1412.mdc-text-field--outlined .mdc-floating-label { 1413 left: 4px; 1414 right: auto; 1415} 1416[dir=rtl] .mdc-text-field--outlined .mdc-floating-label { 1417 left: auto; 1418 right: 4px; 1419} 1420.mdc-text-field--filled .mdc-floating-label { 1421 left: 16px; 1422 right: auto; 1423} 1424[dir=rtl] .mdc-text-field--filled .mdc-floating-label { 1425 left: auto; 1426 right: 16px; 1427} 1428.mdc-text-field--disabled .mdc-floating-label { 1429 cursor: default; 1430} 1431@media (forced-colors: active) { 1432 .mdc-text-field--disabled .mdc-floating-label { 1433 z-index: 1; 1434 } 1435} 1436.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label { 1437 display: none; 1438} 1439.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label { 1440 color: var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant)); 1441} 1442.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label { 1443 color: var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary)); 1444} 1445.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):h
1445over .mdc-floating-label { 1446 color: var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant)); 1447} 1448.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label { 1449 color: var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1450} 1451.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label { 1452 color: var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error)); 1453} 1454.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label { 1455 color: var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error)); 1456} 1457.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label { 1458 color: var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container)); 1459} 1460.mdc-text-field--filled .mdc-floating-label { 1461 font-family: var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font)); 1462 font-size: var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size)); 1463 font-weight: var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight)); 1464 letter-spacing: var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking)); 1465} 1466.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label { 1467 color: var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant)); 1468} 1469.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label { 1470 color: var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary)); 1471} 1472.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label { 1473 color: var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface)); 1474} 1475.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label { 1476 color: var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1477} 1478.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label { 1479 color: var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error)); 1480} 1481.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label { 1482 color: var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error)); 1483} 1484.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label { 1485 color: var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container)); 1486} 1487.mdc-text-field--outlined .mdc-floating-label { 1488 font-family: var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font)); 1489 font-size: var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size)); 1490 font-weight: var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight)); 1491 letter-spacing: var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking)); 1492} 1493 1494.mdc-floating-label--float-above { 1495 cursor: auto; 1496 transform: translateY(-106%) scale(0.75); 1497} 1498.mdc-text-field--filled .mdc-floating-label--float-above { 1499 transform: translateY(-106%) scale(0.75); 1500} 1501.mdc-text-field--outlined .mdc-floating-label--float-above { 1502 transform: translateY(-37.25px) scale(1); 1503 font-size: 0.75rem; 1504} 1505.mdc-notched-outline .mdc-floating-label--float-above { 1506 text-overflow: clip; 1507} 1508.mdc-notched-outline--upgraded .mdc-floating-label--float-above { 1509 max-width: 133.3333333333%; 1510} 1511.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above, .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above { 1512 transform: translateY(-34.75px) scale(0.75); 1513} 1514.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above, .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above { 1515 font-size: 1rem; 1516} 1517 1518.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after { 1519 margin-left: 1px; 1520 margin-right: 0; 1521 content: "*"; 1522} 1523[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after { 1524 margin-left: 0; 1525 margin-right: 1px; 1526} 1527 1528.mdc-notched-outline { 1529 display: flex; 1530 position: absolute; 1531 top: 0; 1532 right: 0; 1533 left: 0; 1534 box-sizing: border-box; 1535 width: 100%; 1536 max-width: 100%; 1537 height: 100%; 1538 text-align: left; 1539 pointer-events: none; 1540} 1541[dir=rtl] .mdc-notched-outline { 1542 text-align: right; 1543} 1544.mdc-text-field--outlined .mdc-notched-outline { 1545 z-index: 1; 1546} 1547 1548.mat-mdc-notch-piece { 1549 box-sizing: border-box; 1550 height: 100%; 1551 pointer-events: none; 1552 border: none; 1553 border-top: 1px solid; 1554 border-bottom: 1px solid; 1555} 1556.mdc-text-field--focused .mat-mdc-notch-piece { 1557 border-width: 2px; 1558} 1559.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece { 1560 border-color: var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline)); 1561 border-width: var(--mat-form-field-outlined-outline-width, 1px); 1562} 1563.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):h
1563over .mat-mdc-notch-piece { 1564 border-color: var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface)); 1565} 1566.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece { 1567 border-color: var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary)); 1568} 1569.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece { 1570 border-color: var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent)); 1571} 1572.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece { 1573 border-color: var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error)); 1574} 1575.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece { 1576 border-color: var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container)); 1577} 1578.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece { 1579 border-color: var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error)); 1580} 1581.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece { 1582 border-width: var(--mat-form-field-outlined-focus-outline-width, 2px); 1583} 1584 1585.mdc-notched-outline__leading { 1586 border-left: 1px solid; 1587 border-right: none; 1588 border-top-right-radius: 0; 1589 border-bottom-right-radius: 0; 1590 border-top-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1591 border-bottom-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1592} 1593.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading { 1594 width: max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))); 1595} 1596[dir=rtl] .mdc-notched-outline__leading { 1597 border-left: none; 1598 border-right: 1px solid; 1599 border-bottom-left-radius: 0; 1600 border-top-left-radius: 0; 1601 border-top-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1602 border-bottom-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1603} 1604 1605.mdc-notched-outline__trailing { 1606 flex-grow: 1; 1607 border-left: none; 1608 border-right: 1px solid; 1609 border-top-left-radius: 0; 1610 border-bottom-left-radius: 0; 1611 border-top-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1612 border-bottom-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1613} 1614[dir=rtl] .mdc-notched-outline__trailing { 1615 border-left: 1px solid; 1616 border-right: none; 1617 border-top-right-radius: 0; 1618 border-bottom-right-radius: 0; 1619 border-top-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1620 border-bottom-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1621} 1622 1623.mdc-notched-outline__notch { 1624 flex: 0 0 auto; 1625 width: auto; 1626} 1627.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch { 1628 max-width: min(var(--mat-form-field-notch-max-width, 100%), calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2)); 1629} 1630.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch { 1631 max-width: min(100%, calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2)); 1632} 1633.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch { 1634 padding-top: 1px; 1635} 1636.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch { 1637 padding-top: 2px; 1638} 1639.mdc-notched-outline--notched .mdc-notched-outline__notch { 1640 padding-left: 0; 1641 padding-right: 8px; 1642 border-top: none; 1643} 1644[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch { 1645 padding-left: 8px; 1646 padding-right: 0; 1647} 1648.mdc-notched-outline--no-label .mdc-notched-outline__notch { 1649 display: none; 1650} 1651 1652.mdc-line-ripple::before, .mdc-line-ripple::after { 1653 position: absolute; 1654 bottom: 0; 1655 left: 0; 1656 width: 100%; 1657 border-bottom-style: solid; 1658 content: ""; 1659} 1660.mdc-line-ripple::before { 1661 z-index: 1; 1662 border-bottom-width: var(--mat-form-field-filled-active-indicator-height, 1px); 1663} 1664.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before { 1665 border-bottom-color: var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant)); 1666} 1667.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):h
1667over .mdc-line-ripple::before { 1668 border-bottom-color: var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface)); 1669} 1670.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before { 1671 border-bottom-color: var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1672} 1673.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before { 1674 border-bottom-color: var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error)); 1675} 1676.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before { 1677 border-bottom-color: var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container)); 1678} 1679.mdc-line-ripple::after { 1680 transform: scaleX(0); 1681 opacity: 0; 1682 z-index: 2; 1683} 1684.mdc-text-field--filled .mdc-line-ripple::after { 1685 border-bottom-width: var(--mat-form-field-filled-focus-active-indicator-height, 2px); 1686} 1687.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after { 1688 border-bottom-color: var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary)); 1689} 1690.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after { 1691 border-bottom-color: var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error)); 1692} 1693 1694.mdc-line-ripple--active::after { 1695 transform: scaleX(1); 1696 opacity: 1; 1697} 1698 1699.mdc-line-ripple--deactivating::after { 1700 opacity: 0; 1701} 1702 1703.mdc-text-field--disabled { 1704 pointer-events: none; 1705} 1706 1707.mat-mdc-form-field-textarea-control { 1708 vertical-align: middle; 1709 resize: vertical; 1710 box-sizing: border-box; 1711 height: auto; 1712 margin: 0; 1713 padding: 0; 1714 border: none; 1715 overflow: auto; 1716} 1717 1718.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control { 1719 -moz-osx-font-smoothing: grayscale; 1720 -webkit-font-smoothing: antialiased; 1721 font: inherit; 1722 letter-spacing: inherit; 1723 text-decoration: inherit; 1724 text-transform: inherit; 1725 border: none; 1726} 1727 1728.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label { 1729 -moz-osx-font-smoothing: grayscale; 1730 -webkit-font-smoothing: antialiased; 1731 line-height: normal; 1732 pointer-events: all; 1733 will-change: auto; 1734} 1735 1736.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label { 1737 cursor: inherit; 1738} 1739 1740.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input, 1741.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control { 1742 height: auto; 1743} 1744 1745.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color] { 1746 height: 23px; 1747} 1748 1749.mat-mdc-text-field-wrapper { 1750 height: auto; 1751 flex: auto; 1752 will-change: auto; 1753} 1754 1755.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper { 1756 padding-left: 0; 1757 --mat-mdc-form-field-label-offset-x: -16px; 1758} 1759 1760.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper { 1761 padding-right: 0; 1762} 1763 1764[dir=rtl] .mat-mdc-text-field-wrapper { 1765 padding-left: 16px; 1766 padding-right: 16px; 1767} 1768[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper { 1769 padding-left: 0; 1770} 1771[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper { 1772 padding-right: 0; 1773} 1774 1775.mat-form-field-disabled .mdc-text-field__input::placeholder { 1776 color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1777} 1778.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder { 1779 color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1780} 1781.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder { 1782 color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1783} 1784.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder { 1785 color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1786} 1787 1788.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder { 1789 transition-delay: 40ms; 1790 transition-duration: 110ms; 1791 opacity: 1; 1792} 1793 1794.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label { 1795 left: auto; 1796 right: auto; 1797} 1798 1799.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input { 1800 display: inline-block; 1801} 1802 1803.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch { 1804 padding-top: 0; 1805} 1806 1807.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch { 1808 border-left: 1px solid transparent; 1809} 1810 1811[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch { 1812 border-left: none; 1813 border-right: 1px solid transparent; 1814} 1815 1816.mat-mdc-form-field-infix { 1817 min-height: var(--mat-form-field-container-height, 56px); 1818 padding-top: var(--mat-form-field-filled-with-label-container-padding-top, 24px); 1819 padding-bottom: var(--mat-form-field-filled-with-label-container-padding-bottom, 8px); 1820} 1821.mdc-text-field--outlined .mat-mdc-form-field-infix, .mdc-text-field--no-label .mat-mdc-form-field-infix { 1822 padding-top: var(--mat-form-field-container-vertical-padding, 16px); 1823 padding-bottom: var(--mat-form-field-container-vertical-padding, 16px); 1824} 1825 1826.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label { 1827 top: calc(var(--mat-form-field-container-height, 56px) / 2); 1828} 1829 1830.mdc-text-field--filled .mat-mdc-floating-label { 1831 display: var(--mat-form-field-filled-label-display, block); 1832} 1833 1834.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above { 1835 --mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) 1836 scale(var(--mat-mdc-form-field-floating-label-scale, 0.75)); 1837 transform: var(--mat-mdc-form-field-label-transform); 1838} 1839 1840@keyframes _mat-form-field-subscript-animation { 1841 from { 1842 opacity: 0; 1843 transform: translateY(-5px); 1844 } 1845 to { 1846 opacity: 1; 1847 transform: translateY(0); 1848 } 1849} 1850.mat-mdc-form-field-subscript-wrapper { 1851 box-sizing: border-box; 1852 width: 100%; 1853 position: relative; 1854} 1855 1856.mat-mdc-form-field-hint-wrapper, 1857.mat-mdc-form-field-error-wrapper { 1858 position: absolute; 1859 top: 0; 1860 left: 0; 1861 right: 0; 1862 padding: 0 16px; 1863 opacity: 1; 1864 transform: translateY(0); 1865 animation: _mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2); 1866} 1867 1868.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper, 1869.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper { 1870 position: static; 1871} 1872 1873.mat-mdc-form-field-bottom-align::before { 1874 content: ""; 1875 display: inline-block; 1876 height: 16px; 1877} 1878 1879.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before { 1880 content: unset; 1881} 1882 1883.mat-mdc-form-field-hint-end { 1884 order: 1; 1885} 1886 1887.mat-mdc-form-field-hint-wrapper { 1888 display: flex; 1889} 1890 1891.mat-mdc-form-field-hint-spacer { 1892 flex: 1 0 1em; 1893} 1894 1895.mat-mdc-form-field-error { 1896 display: block; 1897 color: var(--mat-form-field-error-text-color, var(--mat-sys-error)); 1898} 1899 1900.mat-mdc-form-field-subscript-wrapper, 1901.mat-mdc-form-field-bottom-align::before { 1902 -moz-osx-font-smoothing: grayscale; 1903 -webkit-font-smoothing: antialiased; 1904 font-family: var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font)); 1905 line-height: var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height)); 1906 font-size: var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size)); 1907 letter-spacing: var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking)); 1908 font-weight: var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight)); 1909} 1910 1911.mat-mdc-form-field-focus-overlay { 1912 top: 0; 1913 left: 0; 1914 right: 0; 1915 bottom: 0; 1916 position: absolute; 1917 opacity: 0; 1918 pointer-events: none; 1919 background-color: var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface)); 1920} 1921.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay { 1922 opacity: var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 1923} 1924.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay { 1925 opacity: var(--mat-form-field-focus-state-layer-opacity, 0); 1926} 1927 1928select.mat-mdc-form-field-input-control { 1929 -moz-appearance: none; 1930 -webkit-appearance: none; 1931 background-color: transparent; 1932 display: inline-flex; 1933 box-sizing: border-box; 1934} 1935select.mat-mdc-form-field-input-control:not(:disabled) { 1936 cursor: pointer; 1937} 1938select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option { 1939 color: var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10)); 1940} 1941select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled { 1942 color: var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent)); 1943} 1944 1945.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after {
1946 content: ""; 1947 width: 0; 1948 height: 0; 1949 border-left: 5px solid transparent; 1950 border-right: 5px solid transparent; 1951 border-top: 5px solid; 1952 position: absolute; 1953 right: 0; 1954 top: 50%; 1955 margin-top: -2.5px; 1956 pointer-events: none; 1957 color: var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant)); 1958} 1959[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after { 1960 right: auto; 1961 left: 0; 1962} 1963.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after { 1964 color: var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary)); 1965} 1966.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after { 1967 color: var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1968} 1969.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control { 1970 padding-right: 15px; 1971} 1972[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control { 1973 padding-right: 0; 1974 padding-left: 15px; 1975} 1976 1977@media (forced-colors: active) { 1978 .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper { 1979 outline: solid 1px; 1980 } 1981} 1982@media (forced-colors: active) { 1983 .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper { 1984 outline-color: GrayText; 1985 } 1986} 1987 1988@media (forced-colors: active) { 1989 .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper { 1990 outline: dashed 3px; 1991 } 1992} 1993 1994@media (forced-colors: active) { 1995 .mat-mdc-form-field.mat-focused .mdc-notched-outline { 1996 border: dashed 3px; 1997 } 1998} 1999 2000.mat-mdc-form-field-input-control[type=date], .mat-mdc-form-field-input-control[type=datetime], .mat-mdc-form-field-input-control[type=datetime-local], .mat-mdc-form-field-input-control[type=month], .mat-mdc-form-field-input-control[type=week], .mat-mdc-form-field-input-control[type=time] { 2001 line-height: 1; 2002} 2003.mat-mdc-form-field-input-control::-webkit-datetime-edit { 2004 line-height: 1; 2005 padding: 0; 2006 margin-bottom: -2px; 2007} 2008 2009.mat-mdc-form-field { 2010 --mat-mdc-form-field-floating-label-scale: 0.75; 2011 display: inline-flex; 2012 flex-direction: column; 2013 min-width: 0; 2014 text-align: left; 2015 -moz-osx-font-smoothing: grayscale; 2016 -webkit-font-smoothing: antialiased; 2017 font-family: var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font)); 2018 line-height: var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height)); 2019 font-size: var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size)); 2020 letter-spacing: var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking)); 2021 font-weight: var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight)); 2022} 2023.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above { 2024 font-size: calc(var(--mat-form-field-outlined-label-text-populated-size) * var(--mat-mdc-form-field-floating-label-scale)); 2025} 2026.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above { 2027 font-size: var(--mat-form-field-outlined-label-text-populated-size); 2028} 2029[dir=rtl] .mat-mdc-form-field { 2030 text-align: right; 2031} 2032 2033.mat-mdc-form-field-flex { 2034 display: inline-flex; 2035 align-items: baseline; 2036 box-sizing: border-box; 2037 width: 100%; 2038} 2039 2040.mat-mdc-text-field-wrapper { 2041 width: 100%; 2042 z-index: 0; 2043} 2044 2045.mat-mdc-form-field-icon-prefix, 2046.mat-mdc-form-field-icon-suffix { 2047 align-self: center; 2048 line-height: 0; 2049 pointer-events: auto; 2050 position: relative; 2051 z-index: 1; 2052} 2053.mat-mdc-form-field-icon-prefix > .mat-icon, 2054.mat-mdc-form-field-icon-suffix > .mat-icon { 2055 padding: 0 12px; 2056 box-sizing: content-box; 2057} 2058 2059.mat-mdc-form-field-icon-prefix { 2060 color: var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant)); 2061} 2062.mat-form-field-disabled .mat-mdc-form-field-icon-prefix { 2063 color: var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 2064} 2065 2066.mat-mdc-form-field-icon-suffix { 2067 color: var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant)); 2068} 2069.mat-form-field-disabled .mat-mdc-form-field-icon-suffix { 2070 color: var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 2071} 2072.mat-form-field-invalid .mat-mdc-form-field-icon-suffix { 2073 color: var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error)); 2074} 2075.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix { 2076 color: var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container)); 2077} 2078.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix { 2079 color: var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error)); 2080} 2081 2082.mat-mdc-form-field-icon-prefix, 2083[dir=rtl] .mat-mdc-form-field-icon-suffix { 2084 padding: 0 4px 0 0; 2085} 2086 2087.mat-mdc-form-field-icon-suffix, 2088[dir=rtl] .mat-mdc-form-field-icon-prefix { 2089 padding: 0 0 0 4px; 2090} 2091 2092.mat-mdc-form-field-subscript-wrapper .mat-icon, 2093.mat-mdc-form-field label .mat-icon { 2094 width: 1em; 2095 height: 1em; 2096 font-size: inherit; 2097} 2098 2099.mat-mdc-form-field-infix { 2100 flex: auto; 2101 min-width: 0; 2102 width: 180px; 2103 position: relative; 2104 box-sizing: border-box; 2105} 2106.mat-mdc-form-field-infix:has(textarea[cols]) { 2107 width: auto; 2108} 2109 2110.mat-mdc-form-field .mdc-notched-outline__notch { 2111 margin-left: -1px; 2112 -webkit-clip-path: inset(-9em -999em -9em 1px); 2113 clip-path: inset(-9em -999em -9em 1px); 2114} 2115[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch { 2116 margin-left: 0; 2117 margin-right: -1px; 2118 -webkit-clip-path: inset(-9em 1px -9em -999em); 2119 clip-path: inset(-9em 1px -9em -999em); 2120} 2121 2122.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label { 2123 transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1); 2124} 2125.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input { 2126 transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1); 2127} 2128.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder { 2129 transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1); 2130} 2131.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder { 2132 transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1); 2133} 2134.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder { 2135 transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1); 2136} 2137.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder { 2138 transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1); 2139} 2140.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder { 2141 transition-delay: 40ms; 2142 transition-duration: 110ms; 2143} 2144.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder { 2145 transition-delay: 40ms; 2146 transition-duration: 110ms; 2147} 2148.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder { 2149 transition-delay: 40ms; 2150 transition-duration: 110ms; 2151} 2152.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder { 2153 transition-delay: 40ms; 2154 transition-duration: 110ms; 2155} 2156.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before { 2157 transition-duration: 75ms; 2158} 2159.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after { 2160 transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1), opacity 180ms cubic-bezier(0.4, 0, 0.2, 1); 2161} 2162.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper, 2163.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper { 2164 animation-duration: 300ms; 2165} 2166 2167.mdc-notched-outline .mdc-floating-label { 2168 max-width: calc(100% + 1px); 2169} 2170 2171.mdc-notched-outline--upgraded .mdc-floating-label--float-above { 2172 max-width: calc(133.3333333333% + 1px); 2173} 2174`],encapsulation:2,changeDetection:0})}return t})();var Dn=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({imports:[Yb,vr,gt]})}return t})();var YX=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(n,r){},styles:[`textarea.cdk-textarea-autosize { 2175 resize: none; 2176} 2177 2178textarea.cdk-textarea-autosize-measuring { 2179 padding: 2px 0 !important; 2180 box-sizing: content-box !important; 2181 height: auto !important; 2182 overflow: hidden !important; 2183} 2184 2185textarea.cdk-textarea-autosize-measuring-firefox { 2186 padding: 2px 0 !important; 2187 box-sizing: content-box !important; 2188 height: 0 !important; 2189} 2190 2191@keyframes cdk-text-field-autofill-start { /*!*/ } 2192@keyframes cdk-text-field-autofill-end { /*!*/ } 2193.cdk-text-field-autofill-monitored:-webkit-autofill {
2194 animation: cdk-text-field-autofill-start 0s 1ms; 2195} 2196 2197.cdk-text-field-autofill-monitored:not(:-webkit-autofill) { 2198 animation: cdk-text-field-autofill-end 0s 1ms; 2199} 2200`],encapsulation:2,changeDetection:0})}return t})(),QX={passive:!0},lB=(()=>{class t{_platform=d(st);_ngZone=d(ne);_renderer=d(kn).createRenderer(null,null);_styleLoader=d(dn);_monitoredElements=new Map;constructor(){}monitor(e){if(!this._platform.isBrowser)return an;this._styleLoader.load(YX);let n=Vr(e),r=this._monitoredElements.get(n);if(r)return r.subject;let o=new V,a="cdk-text-field-autofilled",s=c=>{c.animationName==="cdk-text-field-autofill-start"&&!n.classList.contains(a)?(n.classList.add(a),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!0}))):c.animationName==="cdk-text-field-autofill-end"&&n.classList.contains(a)&&(n.classList.remove(a),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!1})))},l=this._ngZone.runOutsideAngular(()=>(n.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(n,"animationstart",s,QX)));return this._monitoredElements.set(n,{subject:o,unlisten:l}),o}stopMonitoring(e){let n=Vr(e),r=this._monitoredElements.get(n);r&&(r.unlisten(),r.subject.complete(),n.classList.remove("cdk-text-field-autofill-monitored"),n.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(n))}ngOnDestroy(){this._monitoredElements.forEach((e,n)=>this.stopMonitoring(n))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var cB=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({})}return t})();var D0=new T("MAT_INPUT_VALUE_ACCESSOR");var M0=(()=>{class t{isErrorState(e,n){return!!(e&&e.invalid&&(e.touched||n&&n.submitted))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Dh=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(i,e,n,r,o){this._defaultMatcher=i,this.ngControl=e,this._parentFormGroup=n,this._parentForm=r,this._stateChanges=o}updateErrorState(){let i=this.errorState,e=this._parentFormGroup||this._parentForm,n=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=n?.isErrorState(r,e)??!1;o!==i&&(this.errorState=o,this._stateChanges.next())}};var ZX=["button","checkbox","file","hidden","image","radio","range","reset","submit"],KX=new T("MAT_INPUT_CONFIG"),bo=(()=>{class t{_elementRef=d(Q);_platform=d(st);ngControl=d(Br,{optional:!0,self:!0});_autofillMonitor=d(lB);_ngZone=d(ne);_formField=d(zs,{optional:!0});_renderer=d(Ge);_uid=d(Et).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder=null;_errorStateTracker;_config=d(KX,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer=!1;_isNativeSelect=!1;_isTextarea=!1;_isInFormField=!1;focused=!1;stateChanges=new V;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=ki(e),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(e){this._id=e||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(gr.required)??!1}set required(e){this._required=ki(e)}_required;get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&bT().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=ki(e)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>bT().has(e));constructor(){let e=d(Bp,{optional:!0}),n=d(Ur,{optional:!0}),r=d(M0),o=d(D0,{optional:!0,self:!0}),a=this._elementRef.nativeElement,s=a.nodeName.toLowerCase();o?Ra(o.value)?this._signalBasedValueAccessor=o:this._inputValueAccessor=o:this._inputValueAccessor=a,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(a,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Dh(r,this.ngControl,n,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=s==="select",this._isTextarea=s==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=a.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&Zn(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let n=this._elementRef.nativeElement;n.type==="number"?(n.type="text",n.setSelectionRange(0,0),n.type="number"):n.setSelectionRange(0,0)}this.focused=e,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let n=this._elementRef.nativeElement;this._previousPlaceholder=e,e?n.setAttribute("placeholder",e):n.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){ZX.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,n=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&n&&n.label)}else return this.focused&&!this.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){let n=this._elementRef.nativeElement;e.length?n.setAttribute("aria-describedby",e.join(" ")):n.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_iOSKeyupListener=e=>{let n=e.target;!n.value&&n.selectionStart===0&&n.selectionEnd===0&&(n.setSelectionRange(1,1),n.setSelectionRange(0,0))};_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(n,r){n&1&&P("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),n&2&&(wt("id",r.id)("disabled",r.disabled&&!r.disabledInteractive)("required",r.required),N("name",r.name||null)("readonly",r._getReadonlyAttribute())("aria-disabled",r.disabled&&r.disabledInteractive?"true":null)("aria-invalid",r.empty&&r.required?null:r.errorState)("aria-required",r.required)("id",r.id),ie("mat-input-server",r._isServer)("mat-mdc-form-field-textarea-control",r._isInFormField&&r._isTextarea)("mat-mdc-form-field-input-control",r._isInFormField)("mat-mdc-input-disabled-interactive",r.disabledInteractive)("mdc-text-field__input",r._isInFormField)("mat-mdc-native-select-inline",r._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",ue]},exportAs:["matInput"],features:[Ye([{provide:Hs,useExisting:t}]),Ze]})}return t})(),ui=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({imports:[Dn,Dn,cB,gt]})}return t})();var XX=["tooltip"],JX=20;var eJ=new T("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=d(he);return()=>Ga(t,{scrollThrottle:JX})}}),tJ=new T("mat-tooltip-default-options",{providedIn:"root",factory:()=>({showDelay:0,hideDelay:0,touchendHideDelay:1500})});var dB="tooltip-panel",nJ={passive:!0},iJ=8,rJ=8,oJ=24,aJ=200,xd=(()=>{class t{_elementRef=d(Q);_ngZone=d(ne);_platform=d(st);_ariaDescriber=d(i0);_focusMonitor=d(Qi);_dir=d(xn);_injector=d(he);
2200_viewContainerRef=d(wn);_mediaMatcher=d(sh);_document=d(ve);_renderer=d(Ge);_animationsDisabled=Nt();_defaultOptions=d(tJ,{optional:!0});_overlayRef=null;_tooltipInstance=null;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=uB;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending=!1;_dirSubscribed=!1;get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=ki(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let n=ki(e);this._disabled!==n&&(this._disabled=n,n?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=po(e)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=po(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(e){let n=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(n)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_eventCleanups=[];_touchstartTimeout=null;_destroyed=new V;_isDestroyed=!1;constructor(){let e=this._defaultOptions;e&&(this._showDelay=e.showDelay,this._hideDelay=e.hideDelay,e.position&&(this.position=e.position),e.positionAtOrigin&&(this.positionAtOrigin=e.positionAtOrigin),e.touchGestures&&(this.touchGestures=e.touchGestures),e.tooltipClass&&(this.tooltipClass=e.tooltipClass)),this._viewportMargin=iJ}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Ee(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._eventCleanups.forEach(n=>n()),this._eventCleanups.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,n){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let r=this._createOverlay(n);this._detach(),this._portal=this._portal||new ci(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(Ee(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){let n=this._tooltipInstance;n&&(n.isVisible()?n.hide(e):(n._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let a=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&a._origin instanceof Q)return this._overlayRef;this._detach()}let n=this._injector.get(qa).getAncestorScrollContainers(this._elementRef),r=`${this._cssClassPrefix}-${dB}`,o=Ya(this._injector,this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(n).withPopoverLocation("global");return o.positionChanges.pipe(Ee(this._destroyed)).subscribe(a=>{this._updateCurrentPositionClass(a.connectionPair),this._tooltipInstance&&a.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=hr(this._injector,{direction:this._dir,positionStrategy:o,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,r]:r,scrollStrategy:this._injector.get(eJ)(),disableAnimations:this._animationsDisabled,eventPredicate:this._overlayEventPredicate}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Ee(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Ee(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(Ee(this._destroyed)).subscribe(a=>{a.preventDefault(),a.stopPropagation(),this._ngZone.run(()=>this.hide(0))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(Ee(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let n=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();n.withPositions([this._addOffset(x(x({},r.main),o.main)),this._addOffset(x(x({},r.fallback),o.fallback))])}_addOffset(e){let n=rJ,r=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-n:e.originY==="bottom"?e.offsetY=n:e.originX==="start"?e.offsetX=r?-n:n:e.originX==="end"&&(e.offsetX=r?n:-n),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",n=this.position,r;n=="above"||n=="below"?r={originX:"center",originY:n=="above"?"top":"bottom"}:n=="before"||n=="left"&&e||n=="right"&&!e?r={originX:"start",originY:"center"}:(n=="after"||n=="right"&&e||n=="left"&&!e)&&(r={originX:"end",originY:"center"});let{x:o,y:a}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:a}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",n=this.position,r;n=="above"?r={overlayX:"center",overlayY:"bottom"}:n=="below"?r={overlayX:"center",overlayY:"top"}:n=="before"||n=="left"&&e||n=="right"&&!e?r={overlayX:"end",overlayY:"center"}:(n=="after"||n=="right"&&e||n=="left"&&!e)&&(r={overlayX:"start",overlayY:"center"});let{x:o,y:a}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),en(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e instanceof Set?Array.from(e):e,this._tooltipInstance._markForCheck())}_invertPosition(e,n){return this.position==="above"||this.position==="below"?n==="top"?n="bottom":n==="bottom"&&(n="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:n}}_updateCurrentPositionClass(e){let{overlayY:n,originX:r,originY:o}=e,a;
2200if(n==="center"?this._dir&&this._dir.value==="rtl"?a=r==="end"?"left":"right":a=r==="start"?"left":"right":a=n==="bottom"&&o==="top"?"above":"below",a!==this._currentPosition){let s=this._overlayRef;if(s){let l=`${this._cssClassPrefix}-${dB}-`;s.removePanelClass(l+this._currentPosition),s.addPanelClass(l+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._eventCleanups.length||(this._isTouchPlatform()?this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._addListener("touchstart",e=>{let n=e.targetTouches?.[0],r=n?{x:n.clientX,y:n.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},this._defaultOptions?.touchLongPressShowDelay??o)})):this._addListener("mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let n;e.x!==void 0&&e.y!==void 0&&(n=e),this.show(void 0,n)}))}_setupPointerExitEventsIfNeeded(){if(!this._pointerExitEventsInitialized){if(this._pointerExitEventsInitialized=!0,!this._isTouchPlatform())this._addListener("mouseleave",e=>{let n=e.relatedTarget;(!n||!this._overlayRef?.overlayElement.contains(n))&&this.hide()}),this._addListener("wheel",e=>{if(this._isTooltipVisible()){let n=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;n!==r&&!r.contains(n)&&this.hide()}});else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let e=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};this._addListener("touchend",e),this._addListener("touchcancel",e)}}}_addListener(e,n){this._eventCleanups.push(this._renderer.listen(this._elementRef.nativeElement,e,n,nJ))}_isTouchPlatform(){let e=this._defaultOptions?.detectHoverCapability;return typeof e=="function"?!e():this._platform.IOS||this._platform.ANDROID?!0:this._platform.isBrowser?!!e&&this._mediaMatcher.matchMedia("(any-hover: none)").matches:!1}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let n=this._elementRef.nativeElement,r=n.style;(e==="on"||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA")&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),(e==="on"||!n.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._isDestroyed||en({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}_overlayEventPredicate=e=>e.type==="keydown"?this._isTooltipVisible()&&e.keyCode===27&&!un(e):!0;static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(n,r){n&2&&ie("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return t})(),uB=(()=>{class t{_changeDetectorRef=d(Pe);_elementRef=d(Q);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=Nt();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new V;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>oJ&&e.width>=aJ}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let n=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(n.classList.remove(e?o:r),n.classList.add(e?r:o),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(n);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(n.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(n,r){if(n&1&&Zt(XX,7),n&2){let o;we(o=xe())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(n,r){n&1&&P("mouseleave",function(a){return r._handleMouseLeave(a)})},decls:4,vars:5,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(n,r){n&1&&(Tt(0,"div",1,0),vl("animationend",function(a){return r._handleAnimationEnd(a)}),Tt(2,"div",2),I(3),Ut()()),n&2&&(bn(r.tooltipClass),ie("mdc-tooltip--multiline",r._isMultiline),f(3),qe(r.message))},styles:[`.mat-mdc-tooltip { 2201 position: relative; 2202 transform: scale(0); 2203 display: inline-flex; 2204} 2205.mat-mdc-tooltip::before { 2206 content: ""; 2207 top: 0; 2208 right: 0; 2209 bottom: 0; 2210 left: 0; 2211 z-index: -1; 2212 position: absolute; 2213} 2214.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before { 2215 top: -8px; 2216} 2217.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before { 2218 bottom: -8px; 2219} 2220.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before { 2221 left: -8px; 2222} 2223.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before { 2224 right: -8px; 2225} 2226.mat-mdc-tooltip._mat-animation-noopable { 2227 animation: none; 2228 transform: scale(1); 2229} 2230 2231.mat-mdc-tooltip-surface { 2232 word-break: normal;
2233 overflow-wrap: anywhere; 2234 padding: 4px 8px; 2235 min-width: 40px; 2236 max-width: 200px; 2237 min-height: 24px; 2238 max-height: 40vh; 2239 box-sizing: border-box; 2240 overflow: hidden; 2241 text-align: center; 2242 will-change: transform, opacity; 2243 background-color: var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface)); 2244 color: var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface)); 2245 border-radius: var(--mat-tooltip-container-shape, var(--mat-sys-corner-extra-small)); 2246 font-family: var(--mat-tooltip-supporting-text-font, var(--mat-sys-body-small-font)); 2247 font-size: var(--mat-tooltip-supporting-text-size, var(--mat-sys-body-small-size)); 2248 font-weight: var(--mat-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight)); 2249 line-height: var(--mat-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height)); 2250 letter-spacing: var(--mat-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking)); 2251} 2252.mat-mdc-tooltip-surface::before { 2253 position: absolute; 2254 box-sizing: border-box; 2255 width: 100%; 2256 height: 100%; 2257 top: 0; 2258 left: 0; 2259 border: 1px solid transparent; 2260 border-radius: inherit; 2261 content: ""; 2262 pointer-events: none; 2263} 2264.mdc-tooltip--multiline .mat-mdc-tooltip-surface { 2265 text-align: left; 2266} 2267[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface { 2268 text-align: right; 2269} 2270 2271.mat-mdc-tooltip-panel { 2272 line-height: normal; 2273} 2274.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive { 2275 pointer-events: none; 2276} 2277 2278@keyframes mat-mdc-tooltip-show { 2279 0% { 2280 opacity: 0; 2281 transform: scale(0.8); 2282 } 2283 100% { 2284 opacity: 1; 2285 transform: scale(1); 2286 } 2287} 2288@keyframes mat-mdc-tooltip-hide { 2289 0% { 2290 opacity: 1; 2291 transform: scale(1); 2292 } 2293 100% { 2294 opacity: 0; 2295 transform: scale(0.8); 2296 } 2297} 2298.mat-mdc-tooltip-show { 2299 animation: mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards; 2300} 2301 2302.mat-mdc-tooltip-hide { 2303 animation: mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards; 2304} 2305`],encapsulation:2,changeDetection:0})}return t})();var zr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({imports:[Bs,fr,gt,ur]})}return t})();function fB(t,i,e){return()=>e.loaded$.pipe(J(n=>!!n),Fe(1),vt(()=>{t.dispatch(new cp(i))}),lt(()=>t.pipe(cn(gp),J(n=>!!n),Fe(1))))}var mB=(()=>{class t{constructor(){if(this.authStore=d(ht),this.aamcOAuthConfig=d(dr),this.refresh$=new V,this.AAMCID_IN_MAO_URL_REGEX=new RegExp(/aamc.org\/mao\/application\/applicant\/\d{8}\/unreadmessagescount/),this.aamcOAuthConfig.strategy===Jn.Session)return;let e=this.authStore.pipe(cn(rd));this.refresh$.pipe(XC(6e4),Ct(()=>e),J(n=>n),ps(1)).subscribe({next:()=>this.authStore.dispatch(new ia)})}intercept(e,n){let r=new URL(e.url,window.location.href);return this.validUrlForSessionExtension(r.hostname,e.url)&&this.refresh$.next(null),n.handle(e)}validUrlForSessionExtension(e,n){let r=n.toLowerCase();return e.lastIndexOf("aamc.org")===e.length-8&&r.indexOf("aamc.org/auth-service/")===-1&&r.indexOf("/token/revoke")===-1&&r.indexOf("/realms/external")===-1&&r.indexOf("/iam/sessions/")===-1&&r.indexOf("/iam/users/")===-1&&r.indexOf("aamc.org/notifications/token")===-1&&r.indexOf("aamc.org/notifications?")===-1&&r.indexOf("review/service-request/messages?aamcid")===-1&&r.indexOf("review/service-request/unreadmessagescount?aamcid")===-1&&r.search(this.AAMCID_IN_MAO_URL_REGEX)===-1&&r.indexOf("aamc.org/log-service/")===-1&&r.indexOf("aamc.org/event-log-service/")===-1&&r.indexOf("aamc.org/log/")===-1&&r.indexOf("amcas-workflow/applications/locks/verifiers")===-1}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var pB=(()=>{class t{constructor(){this.store=d(ht),this.coreConfig=d(Ns),this.aamcOAuthConfig=d(dr)}intercept(e,n){return this.aamcOAuthConfig.strategy===Jn.OAuth?n.handle(e):n.handle(e).pipe(vt({error:r=>{r.status===401&&this.coreConfig.requireAuthentication&&this.store.dispatch(new ia)}}))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var KT=(()=>{class t{constructor(){this.logService=d(ho)}handleError(e){this.logService.handleError(e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var gB=(()=>{class t{constructor(){this.aamcOAuthConfig=d(dr)}intercept(e,n){if(e.headers.get("withCredentials")==="false"){let r=e.headers.delete("withCredentials");return n.handle(e.clone({headers:r}))}return this.aamcOAuthConfig.strategy===Jn.OAuth&&this.aamcOAuthConfig.clientId!=="ERAS-DWS-UI"&&this.aamcOAuthConfig.clientId!=="ERAS-STAFF-TOOL"&&this.aamcOAuthConfig.clientId!=="MYERAS-UI"&&this.aamcOAuthConfig.clientId!=="SAM-UI"&&this.aamcOAuthConfig.clientId!=="UMT-UI"&&this.aamcOAuthConfig.clientId!=="ACMT-UI"&&this.aamcOAuthConfig.clientId!=="PAYMENT-MANAGER-UI"&&this.aamcOAuthConfig.clientId!=="PAYMENT-WEB-UI"&&this.aamcOAuthConfig.clientId!=="VSLO-UI"&&this.aamcOAuthConfig.clientId!=="CONVEY-ADMIN-UI"&&this.aamcOAuthConfig.clientId!=="CONVEY-DISCLOSER-UI"&&this.aamcOAuthConfig.clientId!=="CONVEY-PROXY-UI"&&this.aamcOAuthConfig.clientId!=="CONVEY-SUBSCRIBER-UI"&&this.aamcOAuthConfig.clientId!=="MSAR-UI"?n.handle(e):n.handle(e.clone({withCredentials:!0}))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var XT=(()=>{class t{constructor(){this.appCode=d(Eh)}retrieve(e){let n=localStorage.getItem(`${this.appCode}-${e}`);return n!==null&&(n=JSON.parse(n)),n}store(e,n){localStorage.setItem(`${this.appCode}-${e}`,JSON.stringify(n))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var zl=(function(t){return t[t.Logout=0]="Logout",t[t.Refresh=1]="Refresh",t})(zl||{}),Sh=(function(t){return t[t.ModalDisplayed=1]="ModalDisplayed",t[t.UserRefreshed=2]="UserRefreshed",t[t.UserLoggedOut=3]="UserLoggedOut",t[t.SessionExpired=4]="SessionExpired",t})(Sh||{});function JT(t){return JSON.stringify(t)}var eI=(()=>{class t{constructor(){this.matDialogRef=d(uh),this.logService=d(ho),this.buttonType=Lt}ngOnInit(){this.logExpiryEvent(Sh.ModalDisplayed)}setSecondsLeft(e){this.minutesLeft=Math.floor(e/60),this.secondsLeft=e%60}refresh(){this.matDialogRef.close(zl.Refresh),this.logExpiryEvent(Sh.UserRefreshed)}logout(){this.matDialogRef.close(zl.Logout),this.logExpiryEvent(Sh.UserLoggedOut)}logExpiryEvent(e){this.logService.log(JT({sessionExpiryEventType:e,timeRemaining:`${this.minutesLeft}: ${this.secondsLeft}`}))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-session-expiry-dialog"]],decls:20,vars:13,consts:[["mat-dialog-title","",1,"h2"],["role","img","aria-label","Timer",1,"aamc-i-timer"],["mat-dialog-content",""],["id","timer",1,"timer-info"],["mat-dialog-actions",""],[1,"flex-spacer"],["matButton","","data-track-gcl-view","Button - Secondary",1,"only-xs:w-full",3,"click"],[1,"icon-button-label"],["cdkFocusInitial","","matButton","filled",1,"mat-primary","only-xs:w-full",3,"click"]],template:function(n,r){n&1&&(g(0,"h1",0),O(1,"i",1),I(2,`\xA0\xA0Warning 2306`),_(),g(3,"div",2)(4,"p"),I(5,"Your current AAMC session will timeout in..."),_(),g(6,"p",3),I(7),nn(8,"number"),nn(9,"number"),_(),g(10,"p"),I(11," To continue working without being logged out, click I'm still working. If you do not interact with the application before the time expires, anything you are working on may be lost. "),_()(),g(12,"div",4),O(13,"div",5),g(14,"button",6),P("click",function(){return r.logout()}),g(15,"span",7),I(16,"Logout"),_()(),g(17,"button",8),P("click",function(){return r.refresh()}),g(18,"span",7),I(19,"I'm still working"),_()()()),n&2&&(f(7),tr(" ",yl(8,7,r.minutesLeft,"1.0-0"),":",yl(9,10,r.secondsLeft,"2.0-0")," "),f(7),N("data-testid","aamc-session-expiry-dialog-logout")("aria-label","Logout"),f(3),N("data-testid","aamc-session-expiry-dialog-refresh")("aria-label","I'm still working")("data-track-gcl-view","Button - Emphasis"))},dependencies:[Ue,pr,hd,rj,aj,oj,bt,zt,aM],styles:[`ol[_ngcontent-%COMP%]{list-style-type:decimal}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-roman}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-roman}ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:square}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}h1[_ngcontent-%COMP%]{display:flex;align-items:center}.timer-info[_ngcontent-%COMP%]{display:flex;justify-content:center;margin:10px;font-size:2em}[_nghost-%COMP%] .mat-mdc-dialog-title, [_nghost-%COMP%] .mat-mdc-dialog-content, [_nghost-%COMP%] .mat-mdc-dialog-actions{padding-left:0!important;padding-right:0!important}
2307/*# sourceMappingURL=aamc-session-expiry-dialog.component-4WZQOEFG.css.map */`]})}}return t})();function _B(t){return()=>(t.start(),Promise.resolve(!0))}var tI=(()=>{class t{constructor(){this.store=d(ht),this.dialog=d(hh),this.authService=d(Zi),this.appConfigService=d($n),this.sessionNotifyService=d(Op),this.canLogoutService=d(la),this.goToUrlService=d(Rs),this.logService=d(ho),this.stopUntil=0,this.triggerSessionExpiryNotification=!0,this.sessionExpiryNotificationSeconds=5}start(){fs(1e3,1e3).pipe(J(()=>this.stopUntil<new Date().getTime()),lt(()=>this.store.pipe(cn(eT),Fe(1))),J(e=>!!e),X(e=>{let n=new Date(e.maxIdleExpirationTime).getTime(),r=new Date().getTime();return Math.max(0,Math.ceil((n-r)/1e3))})).subscribe(e=>{let n=this.secondsBetween();if(e<this.sessionExpiryNotificationSeconds&&this.triggerSessionExpiryNotification&&(this.sessionExpiryNotify(),this.triggerSessionExpiryNotification=!1),e<1&&(this.verifyLogout(),this.delayReprocessing(10)),n!==0){if(e>n){this.closeTimeoutModal();return}this.matDialogRef||this.openSessionExpiryModal(),this.matDialogRef?.componentInstance.setSecondsLeft(e)}})}sessionExpiryNotify(){return console.log("Notify Session Expiring in 5 seconds",new Date),this.sessionNotifyService.notifySessionExpiring()}secondsBetween(){let e=this.appConfigService.appConfig.OPENAM_SESSION_EXPIRY_WARNING_TIME,n=0;return e&&(n=Number(e)),n}closeTimeoutModal(){this.matDialogRef&&this.matDialogRef.close(),this.matDialogRef=null}openSessionExpiryModal(){this.matDialogRef=this.dialog.open(eI,{disableClose:!0,hasBackdrop:!0,width:"350px"}),this.matDialogRef.beforeClosed().subscribe(()=>this.delayReprocessing(2)),this.matDialogRef.afterClosed().subscribe(e=>this.onModalClose(e))}delayReprocessing(e=60){this.stopUntil=new Date().getTime()+e*1e3}onModalClose(e){e===zl.Logout?this.canLogoutService.canLogout().pipe(Fe(1)).subscribe(n=>{if(!n){this.matDialogRef=null,this.delayReprocessing(0);return}if(this.goToUrlService.goToUrl$)this.goToUrlService.goToUrl$.pipe(Fe(1)).subscribe(r=>this.store.dispatch(new fo({gotoUrl:r})));else return this.store.dispatch(new fo)}):e===zl.Refresh&&this.store.dispatch(new ia),this.delayReprocessing(),this.matDialogRef=null}verifyLogout(){console.log("Verify Logout",new Date),this.authService.getSecondsLeftInSession().subscribe(e=>{if(!e||e<=0)if(this.goToUrlService.goToUrl$)this.goToUrlService.goToUrl$.pipe(Fe(1)).subscribe(n=>this.store.dispatch(new fo({gotoUrl:n})));else return this.store.dispatch(new fo);else return this.store.dispatch(new id)},e=>{if(this.goToUrlService.goToUrl$)this.goToUrlService.goToUrl$.pipe(Fe(1)).subscribe(n=>this.store.dispatch(new fo({gotoUrl:n})));else return this.store.dispatch(new fo)})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac})}}return t})();var Eh=new T("appCode"),Ri=(()=>{class t{static forRoot(e=wS){let n=IT;return e.canLogoutService&&(n=e.canLogoutService),{ngModule:t,providers:[$n,Zi,Ab,Nb,d0,XT,tI,{provide:Eh,useValue:e.appCode},{provide:Hn,useClass:KT},gl(()=>$S(d($n),d(Eh))()),gl(()=>_B(d(tI))()),gl(()=>fB(d(ht),d(Eh),d($n))()),{provide:Va,useClass:pB,multi:!0},{provide:Va,useClass:mB,multi:!0},{provide:Va,useClass:gB,multi:!0},{provide:Ns,useValue:e},{provide:la,useClass:n},{provide:Op,useClass:e&&e.sessionExpirationNotificationService||yj},{provide:$b,useValue:{usePopover:!1}}]}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=G({type:t})}static{this.\u0275inj=q({providers:[Es(Ss())],imports:[Ue,jn,$u.forFeature("auth",kb,{initialState:Pl}),Ky.forFeature([fh]),bt,hd,pr,zr,Dn,Hr,di,ui,Eb.forRoot({strategy:Jn.Session,grantType:lp.DIRECT,appPermissions:[]}),E2,c0]})}}return t})();var vB=new T("Bootstrap Effects");function sJ(t,i){return()=>{t.forEach(e=>i.addEffects(e))}}function lJ(...t){return t}function nI(t){return[t,{provide:vB,deps:t,useFactory:lJ},{provide:Fc,multi:!0,useFactory:sJ,deps:[[new _u(vB)],Zy]}]}var Th=(function(t){return t.USA="USA",t.CANADA="CAN",t.DEFAULT="DEFAULT",t})(Th||{});var cJ={[Th.USA]:{pattern:"[0-9]{5}([0-9]{4})?",errorMessage:"Use only numeric characters. Provide 5 or 9 digits."},[Th.CANADA]:{pattern:"[A-Z,a-z][0-9][A-Z,a-z] ?[0-9][A-Z,a-z][0-9]",errorMessage:"Use only alternating alph
2307abetic and numeric characters i.e. A1A 1A1."},[Th.DEFAULT]:{pattern:".+",errorMessage:""}};var E0=function(t={}){return{configServiceUrl:"/config-service/services-rs/config/",appConfig:x({},t),loaded$:K(!0),load:()=>new Promise((i,e)=>{i(!0)})}};var iI=(()=>{class t{constructor(){this.el=d(Q),this.resized=new z,this.resizeSubject=new V,this.resizeObserver=new ResizeObserver(e=>{for(let n of e)this.resizeSubject.next(n.contentRect)}),this.resizeSubject.pipe(ii(200),Dr((e,n)=>e.width===n.width)).subscribe(e=>{this.resized.emit(e)})}ngAfterViewInit(){this.resizeObserver.observe(this.el.nativeElement)}ngOnDestroy(){this.resizeObserver.disconnect(),this.resizeSubject.complete()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=W({type:t,selectors:[["","aamcResizeObserver",""]],outputs:{resized:"resized"}})}}return t})();var rI=t=>!!t?.trim();var yr=(()=>{class t{constructor(){this.appConfigService=d($n)}get baseUrl(){return this.appConfigService.appConfig.BASE_URL}get loginUrl(){return this.appConfigService.appConfig.LOGIN_URL}get logoutUrl(){return this.appConfigService.appConfig.LOGOUT_URL}get formActionUrl(){return this.appConfigService.appConfig.SF_FORM_ACTION}get contactUsUrl(){return this.appConfigService.appConfig.CONTACT_US_URL}get studentsResidentsUrl(){return this.appConfigService.appConfig.STUDENTS_AND_RESIDENTS_URL}get professionalsUrl(){return this.appConfigService.appConfig.PROFESSIONALS_URL}get salesForceValues(){return{origin:this.appConfigService.appConfig.SF_ORIGIN??"Web - Account Help",status:this.appConfigService.appConfig.SF_STATUS??"New",subject:this.appConfigService.appConfig.SF_SUBJECT??"Account Help Inquiry",recordType:this.appConfigService.appConfig.SF_RECORD_TYPE??"0124O000000obbMQAQ",external:this.appConfigService.appConfig.SF_EXTERNAL??"1",origId:this.appConfigService.appConfig.SF_ORIG_ID,siteKey:this.appConfigService.appConfig.G_RECAPTCHA_SITEKEY}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac})}}return t})();var $p=(()=>{class t{constructor(){this._overlay=d(oh),this.isMouseOnElement=!1,this.isMouseOnContainer=!1,this.isFocusInTooltip=!1,this.toolTipSubject=new V}get tooltipRef(){return this._tooltipRef}emitToolTipSub(e){this.toolTipSubject.next(e)}setIsMouseElement(e){this.isMouseOnElement=e}getIsMouseOnElement(){return this.isMouseOnElement}setIsMouseOnContainer(e){this.isMouseOnContainer=e}getIsMouseOnContainer(){return this.isMouseOnContainer}setIsFocusInTooltip(e){this.isFocusInTooltip=e}getIsFocusInTooltip(){return this.isFocusInTooltip}openTooltip(e){this.closeTooltip(),this._tooltipRef=this._overlay.create({positionStrategy:e,scrollStrategy:this._overlay.scrollStrategies.reposition()})}closeTooltip(){this._tooltipRef&&(this._tooltipRef.dispose(),this.isFocusInTooltip=!1)}
2307getOverlayBoundingRect(){return this._tooltipRef.overlayElement.getBoundingClientRect()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var uJ=["body"];function hJ(t,i){if(t&1&&I(0),t&2){let e=v(2);pe(" ",e.text," ")}}function fJ(t,i){t&1&&Kn(0)}function mJ(t,i){if(t&1){let e=le();g(0,"div",3),P("mouseenter",function(){B(e);let r=v();return U(r.mouseEnter())})("mouseleave",function(){B(e);let r=v();return U(r.mouseLeave())}),g(1,"div",4)(2,"div",5,0),se(4,hJ,1,1,"ng-template",null,1,zn)(6,fJ,1,0,"ng-container",6),_()()()}if(t&2){let e=Ie(5),n=v();N("data-testid",n._testId()),f(2),w("ngClass",n.position()),f(4),w("ngTemplateOutlet",n.contentTemplate||e)}}var oI=(()=>{class t{constructor(){this.liveAnnouncer=d(dd),this.toolTipService=d($p),this.renderer=d(Ge),this.body=Qe("body"),this.position=C(),this.testId=C(void 0),this._testId=Z(()=>Te("tool-tip",this.testId())),this.previousFocusElement=null,this.focusableElements=[],this.focusTrapped=!1,this.focusableElementsSelector="a, button"}get text(){return this._text}set text(e){e?.length>2e3?this._text=e.substring(0,2e3):this._text=e}ngOnInit(){this.scrnRdrToolTipText&&this.liveAnnouncer.announce(this.scrnRdrToolTipText),this.toolTipSubscription=this.toolTipService.toolTipSubject.pipe(wa(1)).subscribe(e=>{!e.isOnToolTipElement&&!this.toolTipService.getIsMouseOnContainer()&&this.toolTipService.closeTooltip()})}ngAfterViewInit(){this.focusTrapped||this.trapFocus()}mouseEnter(){this.toolTipService.setIsMouseOnContainer(!0)}mouseLeave(){this.toolTipService.setIsMouseOnContainer(!1),this.toolTipService.closeTooltip()}trapFocus(){this.focusTrapped=!0;let e=this.body();this.focusableElements=e?.nativeElement.querySelectorAll(this.focusableElementsSelector),this.focusableElements?.length>0&&(this.focusableElements.forEach(n=>{this.renderer.setAttribute(n,"tabindex","0")}),this.previousFocusElement=document.activeElement,this.documentKeydownHandlerBound=this._documentKeydownHandler.bind(this),this.bodyKeydownHandlerBound=this._bodyKeydownHandler.bind(this),document.addEventListener("keydown",this.documentKeydownHandlerBound),e?.nativeElement.addEventListener("keydown",this.bodyKeydownHandlerBound))}_documentKeydownHandler(e){e.key==="Tab"&&!e.shiftKey&&(this.toolTipService.getIsFocusInTooltip()||(this.toolTipService.setIsFocusInTooltip(!0),this.focusableElements.length>0&&this.focusableElements[0].focus(),e.preventDefault(),document?.removeEventListener("keydown",this.documentKeydownHandlerBound)))}_bodyKeydownHandler(e){if(e.key==="Tab"&&e.shiftKey)if(document.activeElement===this.focusableElements[0])this.previousFocusElement?.focus(),this.toolTipService.setIsFocusInTooltip(!1),e.preventDefault();else return;else e.key==="Tab"&&document.activeElement===this.focusableElements[this.focusableElements.length-1]&&(this.previousFocusElement?.focus(),this.toolTipService.setIsFocusInTooltip(!1),this.toolTipService.closeTooltip())}ngOnDestroy(){this.focusableElements?.forEach(e=>{this.renderer.setAttribute(e,"tabindex","-1")}),this.toolTipSubscription?.unsubscribe(),document.removeEventListener("keydown",this.documentKeydownHandlerBound),this.body()?.nativeElement.removeEventListener("keydown",this.bodyKeydownHandlerBound)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-ui-tool-tip"]],viewQuery:function(n,r){n&1&&It(r.body,uJ,5),n&2&&ct()},inputs:{position:[1,"position"],testId:[1,"testId"],contentTemplate:"contentTemplate",scrnRdrToolTipText:"scrnRdrToolTipText",text:"text"},decls:1,vars:1,consts:[["body",""],["simpleText",""],[1,"parent-container"],[1,"parent-container",3,"mouseenter","mouseleave"],["data-track-gcl-view","Tooltip"],[1,"tooltip-container",3,"ngClass"],[4,"ngTemplateOutlet"]],template:function(n,r){n&1&&E(0,mJ,7,3,"div",2),n&2&&S(r.text||r.contentTemplate?0:-1)},dependencies:[Ue,ot,Pn],styles:[`ol[_ngcontent-%COMP%]{list-style-type:decimal}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-roman}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-roman}ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:square}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}.parent-container[_ngcontent-%COMP%]{padding:4px}.tooltip-container[_ngcontent-%COMP%]{border:1px solid #fff;border-radius:4px;padding:10px;height:auto;max-height:500px;color:#000;display:inline-block;max-width:768px;background:#fff;overflow-wrap:break-word;box-shadow:0 4px 6px #0003,0 4px 6px #00000030;filter:drop-shadow(rgba(0,0,0,.2) 0 2px 6px);position:relative;overflow:hidden;margin:auto!important;margin:12px 0;font-weight:400;font-size:14px;line-height:19px}@media(max-width:599px){.tooltip-container[_ngcontent-%COMP%]{max-width:100vw;width:auto}} 2308/*# sourceMappingURL=aamc-tool-tip.component-NKVIC22M.css.map */`],changeDetection:0})}}return t})();var yi=(()=>{class t{constructor(){this._overlayPositionBuilder=d(zb),this._elementRef=d(Q),this.tooltipService=d($p),this.showToolTip=C(!0),this.checkEllipsis=C(!1),this.childClass=C(),this.toolTipDirection=C(),this.aamcTooltip=C(""),this.scrnRdrToolTipText=C(void 0),this.contentTemplate=C(),this.isEllipsis=new z,this.leftPosition={originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetY:0,offsetX:-2},this.rightPosition={originX:"end",originY:"center",overlayX:"start",overlayY:"center",offsetY:0,offsetX:2},this.topPosition={originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",offsetY:0,offsetX:5},this.bottomPosition={originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",offsetY:2,offsetX:0}}ngAfterViewInit(){let e=setTimeout(()=>{let n=this._elementRef.nativeElement,r=this.childClass();r&&(n=n.querySelector("."+r)),(!this.checkEllipsis()||n?.offsetWidth<n?.scrollWidth)&&this.showToolTip()?this.isEllipsis.emit
2308(!0):this.isEllipsis.emit(!1)});clearTimeout(e)}show(){this.tooltipService.setIsMouseElement(!0);let e;switch(this.toolTipDirection()){case"left":e=[this.leftPosition,this.topPosition,this.rightPosition,this.bottomPosition];break;case"right":e=[this.rightPosition,this.bottomPosition,this.leftPosition,this.topPosition];break;case"top":e=[this.topPosition,this.rightPosition,this.bottomPosition,this.leftPosition];break;case"bottom":e=[this.bottomPosition,this.leftPosition,this.topPosition,this.rightPosition];break;default:e=[this.topPosition,this.rightPosition,this.bottomPosition,this.leftPosition];break}let n=this._overlayPositionBuilder.flexibleConnectedTo(this._elementRef).withPositions(e);this.tooltipService.openTooltip(n);let r=this._elementRef.nativeElement,o=this.childClass();if(o&&(r=r.querySelector("."+o)),(!this.checkEllipsis()||r?.offsetWidth<r?.scrollWidth)&&this.showToolTip()){let a=this.tooltipService.tooltipRef.attach(new ci(oI));this.isEllipsis.emit(!0),a.instance.text=this.aamcTooltip();let s=this.contentTemplate();s&&(a.instance.contentTemplate=s),a.instance.scrnRdrToolTipText=this.scrnRdrToolTipText(),this.cursor="pointer"}else this.isEllipsis.emit(!1)}onKeydownHandler(){this.tooltipService.closeTooltip()}hide(){this.tooltipService.setIsMouseElement(!1);let e={isOnToolTipElement:!1};this.tooltipService.emitToolTipSub(e)}focusOut(){this.tooltipService.getIsFocusInTooltip()||this.tooltipService.closeTooltip()}ngOnDestroy(){this.tooltipService.closeTooltip()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=W({type:t,selectors:[["","aamcTooltip",""]],hostVars:2,hostBindings:function(n,r){n&1&&P("focus",function(){return r.show()})("mouseenter",function(){return r.show()})("keydown.escape",function(){return r.onKeydownHandler()},em)("mouseleave",function(){return r.hide()})("focusout",function(){return r.focusOut()}),n&2&&Rn("cursor",r.cursor)},inputs:{showToolTip:[1,"showToolTip"],checkEllipsis:[1,"checkEllipsis"],childClass:[1,"childClass"],toolTipDirection:[1,"toolTipDirection"],aamcTooltip:[1,"aamcTooltip"],scrnRdrToolTipText:[1,"scrnRdrToolTipText"],contentTemplate:[1,"contentTemplate"]},outputs:{isEllipsis:"isEllipsis"}})}}return t})();var pJ=["content"],gJ=["scroll"],_J=["padding"],PB=["*"],Wp=t=>({searchTerm:t});function vJ(t,i){if(t&1&&(g(0,"div",3),Kn(1,6),_()),t&2){let e=v();f(),w("ngTemplateOutlet",e.headerTemplate())("ngTemplateOutletContext",Be(2,Wp,e.filterValue()))}}function yJ(t,i){if(t&1&&(g(0,"div",5),Kn(1,6),_()),t&2){let e=v();f(),w("ngTemplateOutlet",e.footerTemplate())("ngTemplateOutletContext",Be(2,Wp,e.filterValue()))}}var bJ=["searchInput"],CJ=["clearButton"],wJ=(t,i,e)=>({item:t,clear:i,label:e}),xJ=(t,i)=>({items:t,clear:i}),DJ=(t,i,e,n)=>({item:t,item$:i,index:e,searchTerm:n});function MJ(t,i){if(t&1&&(g(0,"div",21),I(1),_()),t&2){let e=v(2);f(),qe(e.placeholder()??e.config.placeholder)}}function EJ(t,i){}function SJ(t,i){if(t&1&&se(0,MJ,2,1,"ng-template",null,1,zn)(2,EJ,0,0,"ng-template",20),t&2){let e=Ie(1),n=v();f(2),w("ngTemplateOutlet",n.placeholderTemplate()||e)}}function TJ(t,i){if(t&1){let e=le();g(0,"span",24),P("click",function(){B(e);let r=v().$implicit,o=v(2);return U(o.unselect(r))}),I(1,"\xD7"),_(),O(2,"span",25)}if(t&2){let e=v().$implicit,n=v(2);f(2),w("ngItemLabel",e.label)("escape",n.escapeHTML)}}function IJ(t,i){}function AJ(t,i){if(t&1&&(g(0,"div",23),se(1,TJ,3,2,"ng-template",null,2,zn)(3,IJ,0,0,"ng-template",12),_()),t&2){let e=i.$implicit,n=Ie(2),r=v(2);ie("ng-value-disabled",e.disabled),f(3),w("ngTemplateOutlet",r.labelTemplate()||n)("ngTemplateOutletContext",yt(4,wJ,e.value,r.clearItem,e.label))}}function kJ(t,i){if(t&1&&tt(0,AJ,4,8,"div",22,bv().trackByOption,!0),t&2){let e=v();nt(e.selectedItems)}}function OJ(t,i){}function NJ(t,i){if(t&1&&se(0,OJ,0,0,"ng-template",12),t&2){let e=v();w("ngTemplateOutlet",e.multiLabelTemplate())("ngTemplateOutletContext",tn(2,xJ,e.selectedValues,e.clearItem))}}function RJ(t,i){t&1&&O(0,"div",26)}function PJ(t,i){}function FJ(t,i){if(t&1&&se(0,RJ,1,0,"ng-template",null,3,zn)(2,PJ,0,0,"ng-template",20),t&2){let e=Ie(1),n=v();f(2),w("ngTemplateOutlet",n.loadingSpinnerTemplate()||e)}}function LJ(t,i){if(t&1&&Kn(0,20),t&2){let e=v(2);w("ngTemplateOutlet",e.clearButtonTemplate())}}
2308function VJ(t,i){t&1&&(g(0,"span",28),I(1,"\xD7"),_())}function jJ(t,i){if(t&1){let e=le();g(0,"span",27,4),P("click",function(r){B(e);let o=v();return U(o.handleClearClick(r))}),E(2,LJ,1,1,"ng-container",20)(3,VJ,2,0,"span",28),_()}if(t&2){let e=v();w("title",UD(e.clearAllText()||e.config.clearAllText)),N("tabindex",e.tabFocusOnClear()?0:-1),f(2),S(e.clearButtonTemplate()?2:3)}}function BJ(t,i){if(t&1&&O(0,"span",33),t&2){let e=v().$implicit,n=v(2);w("ngItemLabel",e.label)("escape",n.escapeHTML)}}function UJ(t,i){}function HJ(t,i){if(t&1){let e=le();g(0,"div",32),P("click",function(){let r=B(e).$implicit,o=v(2);return U(o.toggleItem(r))})("mouseover",function(){let r=B(e).$implicit,o=v(2);return U(o.onItemHover(r))}),se(1,BJ,1,2,"ng-template",null,5,zn)(3,UJ,0,0,"ng-template",12),_()}if(t&2){let e=i.$implicit,n=Ie(2),r=v(2);ie("ng-option-disabled",e.disabled)("ng-option-selected",e.selected)("ng-optgroup",e.children)("ng-option",!e.children)("ng-option-child",!!e.parent)("ng-option-marked",e===r.itemsList.markedItem),N("role",e.children?"group":"option")("aria-selected",e.selected)("id",e==null?null:e.htmlId)("aria-setsize",r.itemsList.filteredItems.length)("aria-posinset",e.index+1),f(3),w("ngTemplateOutlet",e.children?r.optgroupTemplate()||n:r.optionTemplate()||n)("ngTemplateOutletContext",sm(19,DJ,e.value,e,e.index,r.searchTerm))}}function zJ(t,i){if(t&1&&(g(0,"span")(1,"span",35),I(2),_(),I(3),_()),t&2){let e=v(3);f(2),qe(e.addTagText()||e.config.addTagText),f(),pe('"',e.searchTerm,'"')}}function $J(t,i){}function WJ(t,i){if(t&1){let e=le();g(0,"div",34),P("mouseover",function(){B(e);let r=v(2);return U(r.itemsList.unmarkItem())})("click",function(){B(e);let r=v(2);return U(r.selectTag())}),se(1,zJ,4,2,"ng-template",null,6,zn)(3,$J,0,0,"ng-template",12),_()}if(t&2){let e=Ie(2),n=v(2);ie("ng-option-marked",!n.itemsList.markedItem),N("aria-selected",!1),f(3),w("ngTemplateOutlet",n.tagTemplate()||e)("ngTemplateOutletContext",Be(5,Wp,n.searchTerm))}}function qJ(t,i){if(t&1&&(g(0,"div",36),I(1),_()),t&2){let e=v(3);f(),qe(e.notFoundText()??e.config.notFoundText)}}function GJ(t,i){}function YJ(t,i){if(t&1&&se(0,qJ,2,1,"ng-template",null,7,zn)(2,GJ,0,0,"ng-template",12),t&2){let e=Ie(1),n=v(2);f(2),w("ngTemplateOutlet",n.notFoundTemplate()||e)("ngTemplateOutletContext",Be(2,Wp,n.searchTerm))}}function QJ(t,i){if(t&1&&(g(0,"div",36),I(1),_()),t&2){let e=v(3);f(),qe(e.typeToSearchText()||e.config.typeToSearchText)}}function ZJ(t,i){}function KJ(t,i){if(t&1&&se(0,QJ,2,1,"ng-template",null,8,zn)(2,ZJ,0,0,"ng-template",20),t&2){let e=Ie(1),n=v(2);f(2),w("ngTemplateOutlet",n.typeToSearchTemplate()||e)}}function XJ(t,i){if(t&1&&(g(0,"div",36),I(1),_()),t&2){let e=v(3);f(),qe(e.loadingText()||e.config.loadingText)}}function JJ(t,i){}function eee(t,i){if(t&1&&se(0,XJ,2,1,"ng-template",null,9,zn)(2,JJ,0,0,"ng-template",12),t&2){let e=Ie(1),n=v(2);f(2),w("ngTemplateOutlet",n.loadingTextTemplate()||e)("ngTemplateOutletContext",Be(2,Wp,n.searchTerm))}}function tee(t,i){if(t&1){let e=le();g(0,"ng-dropdown-panel",29),P("update",function(r){B(e);let o=v();return U(o.viewPortItems=r)})("scroll",function(r){B(e);let o=v();return U(o.scroll.emit(r))})("scrollToEnd",function(r){B(e);let o=v();return U(o.scrollToEnd.emit(r))})("outsideClick",function(){B(e);let r=v();return U(r.close())}),Ar(1),tt(2,HJ,4,24,"div",30,bv().trackByOption,!0),E(4,WJ,4,7,"div",31),kr(),E(5,YJ,3,4),E(6,KJ,3,1),E(7,eee,3,4),_()}if(t&2){let e=v(),n=e.appendTo()||e.config.appendTo;bn(n?e.ngClass()?e.ngClass():e.classes:null),ie("ng-select-multiple",e.multiple()),w("virtualScroll",e.virtualScroll()??!e.config.disableVirtualScroll??!1)("bufferAmount",e.bufferAmount())("appendTo",n)("position",e.dropdownPosition())("outsideClickEvent",e.outsideClickEvent())("headerTemplate",e.headerTemplate())("footerTemplate",e.footerTemplate())("filterValue",e.searchTerm)("items",e.itemsList.filteredItems)("showAddTag",e.showAddTag)("markedItem",e.itemsList.markedItem)("id",e.dropdownId)("ariaLabelDropdown",e.ariaLabelDropdown()??e.config.ariaLabelDropdown)("popover",e.popover()),f(2),nt(e.viewPortItems),f(2),S(e.showAddTag?4:-1),f(),S(e.showNoItemsFound()?5:-1),f(),S(e.showTypeToSearch()?6:-1),f(),S(e.loading()&&e.itemsList.filteredItems.length===0?7:-1)}}function nee(t,i){if(t&1&&I(0),t&2){let e=v();pe(" ",e.notFoundText()??e.config.notFoundText," ")}}var FB=/[&<>"']/g,iee=RegExp(FB.source),ree={"&":"&","<":"<",">":">",'"':""","'":"'"};function oee(t){return t&&iee.test(t)?t.replace(FB,i=>ree[i]):t}function Fn(t){return t!=null}function Dd(t){return typeof t=="object"&&Fn(t)}function aee(t){return t instanceof Promise}function T0(t){return t instanceof Function}var see=(()=>{class t{constructor(){this.element=d(Q),this.ngItemLabel=C(),this.escape=C(!0),Zn(()=>{this.element.nativeElement.innerHTML=this.escape()?oee(this.ngItemLabel()):this.ngItemLabel()})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=W({type:t,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:[1,"ngItemLabel"],escape:[1,"escape"]}})}}return t})(),yB=(()=>{class t{constructor(){this.template=d(fe)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=W({type:t,selectors:[["","ng-option-tmp",""]]})}}return t})(),bB=(()=>{class t{constructor(){this.template=d(fe)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=W({type:t,selectors:[["","ng-optgroup-tmp",""]]})}}return t})(),CB=(()=>{class t{constructor(){this.template=d(fe)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=W({type:t,selectors:[["","ng-label-tmp",""]]})}}return t})(),wB=(()=>{class t{constructor(){this.template=d(fe)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=W({type:t,selectors:[["","ng-multi-label-tmp",""]]})}}return t})(),xB=(()=>{class t{constructor(){this.template=d(fe)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=W({type:t,selectors:[["","ng-header-tmp",""]]})}}return t})(),DB=(()=>{class t{constructor(){this.template=d(fe)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=W({type:t,selectors:[["","ng-footer-tmp",""]]})}}return t})(),MB=(()=>{class t{constructor(){this.template=d(fe)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=W({type:t,selectors:[["","ng-notfound-tmp",""]]})}}return t})(),EB=(()=>{class t{constructor(){this.template=d(fe)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=W({type:t,selectors:[["","ng-placeholder-tmp",""]]})}}return t})(),SB=(()=>{class t{constructor(){this.template=d(fe)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=W({type:t,selectors:[["","ng-typetosearch-tmp",""]]})}}return t})(),TB=(()=>{class t{constructor(){this.template=d(fe)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=W({type:t,selectors:[["","ng-loadingtext-tmp",""]]})}}return t})(),IB=(()=>{class t{constructor(){this.template=d(fe)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=W({type:t,selectors:[["","ng-tag-tmp",""]]})}}return t})(),AB=(()=>{class t{constructor(){this.template=d(fe)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=W({type:t,selectors:[["","ng-loadingspinner-tmp",""]]})}}return t})(),kB=(()=>{class t{constructor(){this.template=d(fe)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=W({type:t,selectors:[["","ng-clearbutton-tmp",""]]})}}return t})(),lee=(()=>{class t{constructor(){this.fixedPlaceholder=!0,this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.ariaLabelDropdown="Options List",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline",this.tabFocusOnClear=!0,this.outsideClickEvent="click"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),cee=(()=>{class t{warn(e){console.warn(e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function LB(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(Math.random()*16|0).toString(16))}var dee={"\u24B6":"A",\uFF21:"A",\u00C0:"A",\u00C1:"A",\u00C2:"A",\u1EA6:"A",\u1EA4:"A",\u1EAA:"A",\u1EA8:"A",\u00C3:"A",\u0100:"A",\u0102:"A",\u1EB0:"A",\u1EAE:"A",\u1EB4:"A",\u1EB2:"A",\u0226:"A",\u01E0:"A",\u00C4:"A",\u01DE:"A",\u1EA2:"A",\u00C5:"A",\u01FA:"A",\u01CD:"A",\u0200:"A",\u0202:"A",\u1EA0:"A",\u1EAC:"A",\u1EB6:"A",\u1E00:"A",\u0104:"A","\u023A":"A","\u2C6F":"A","\uA732":"AA",\u00C6:"AE",\u01FC:"AE",\u01E2:"AE","\uA734":"AO","\uA736":"AU","\uA738":"AV","\uA73A":"AV","\uA73C":"AY","\u24B7":"B",\uFF22:"B",\u1E02:"B",\u1E04:"B",\u1E06:"B","\u0243":"B",\u0182:"B",\u0181:"B","\u24B8":"C",\uFF23:"C",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u00C7:"C",\u1E08:"C",\u0187:"C","\u023B":"C","\uA73E":"C","\u24B9":"D",\uFF24
2308:"D",\u1E0A:"D",\u010E:"D",\u1E0C:"D",\u1E10:"D",\u1E12:"D",\u1E0E:"D",\u0110:"D",\u018B:"D",\u018A:"D",\u0189:"D","\uA779":"D",\u01F1:"DZ",\u01C4:"DZ",\u01F2:"Dz",\u01C5:"Dz","\u24BA":"E",\uFF25:"E",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u1EC0:"E",\u1EBE:"E",\u1EC4:"E",\u1EC2:"E",\u1EBC:"E",\u0112:"E",\u1E14:"E",\u1E16:"E",\u0114:"E",\u0116:"E",\u00CB:"E",\u1EBA:"E",\u011A:"E",\u0204:"E",\u0206:"E",\u1EB8:"E",\u1EC6:"E",\u0228:"E",\u1E1C:"E",\u0118:"E",\u1E18:"E",\u1E1A:"E",\u0190:"E",\u018E:"E","\u24BB":"F",\uFF26:"F",\u1E1E:"F",\u0191:"F","\uA77B":"F","\u24BC":"G",\uFF27:"G",\u01F4:"G",\u011C:"G",\u1E20:"G",\u011E:"G",\u0120:"G",\u01E6:"G",\u0122:"G",\u01E4:"G",\u0193:"G","\uA7A0":"G","\uA77D":"G","\uA77E":"G","\u24BD":"H",\uFF28:"H",\u0124:"H",\u1E22:"H",\u1E26:"H",\u021E:"H",\u1E24:"H",\u1E28:"H",\u1E2A:"H",\u0126:"H","\u2C67":"H","\u2C75":"H","\uA78D":"H","\u24BE":"I",\uFF29:"I",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u0128:"I",\u012A:"I",\u012C:"I",\u0130:"I",\u00CF:"I",\u1E2E:"I",\u1EC8:"I",\u01CF:"I",\u0208:"I",\u020A:"I",\u1ECA:"I",\u012E:"I",\u1E2C:"I",\u0197:"I","\u24BF":"J",\uFF2A:"J",\u0134:"J","\u0248":"J","\u24C0":"K",\uFF2B:"K",\u1E30:"K",\u01E8:"K",\u1E32:"K",\u0136:"K",\u1E34:"K",\u0198:"K","\u2C69":"K","\uA740":"K","\uA742":"K","\uA744":"K","\uA7A2":"K","\u24C1":"L",\uFF2C:"L",\u013F:"L",\u0139:"L",\u013D:"L",\u1E36:"L",\u1E38:"L",\u013B:"L",\u1E3C:"L",\u1E3A:"L",\u0141:"L","\u023D":"L","\u2C62":"L","\u2C60":"L","\uA748":"L","\uA746":"L","\uA780":"L",\u01C7:"LJ",\u01C8:"Lj","\u24C2":"M",\uFF2D:"M",\u1E3E:"M",\u1E40:"M",\u1E42:"M","\u2C6E":"M",\u019C:"M","\u24C3":"N",\uFF2E:"N",\u01F8:"N",\u0143:"N",\u00D1:"N",\u1E44:"N",\u0147:"N",\u1E46:"N",\u0145:"N",\u1E4A:"N",\u1E48:"N","\u0220":"N",\u019D:"N","\uA790":"N","\uA7A4":"N",\u01CA:"NJ",\u01CB:"Nj","\u24C4":"O",\uFF2F:"O",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u1ED2:"O",\u1ED0:"O",\u1ED6:"O",\u1ED4:"O",\u00D5:"O",\u1E4C:"O",\u022C:"O",\u1E4E:"O",\u014C:"O",\u1E50:"O",\u1E52:"O",\u014E:"O",\u022E:"O",\u0230:"O",\u00D6:"O",\u022A:"O",\u1ECE:"O",\u0150:"O",\u01D1:"O",\u020C:"O",\u020E:"O",\u01A0:"O",\u1EDC:"O",\u1EDA:"O",\u1EE0:"O",\u1EDE:"O",\u1EE2:"O",\u1ECC:"O",\u1ED8:"O",\u01EA:"O",\u01EC:"O",\u00D8:"O",\u01FE:"O",\u0186:"O",\u019F:"O","\uA74A":"O","\uA74C":"O",\u01A2:"OI","\uA74E":"OO",\u0222:"OU","\u24C5":"P",\uFF30:"P",\u1E54:"P",\u1E56:"P",\u01A4:"P","\u2C63":"P","\uA750":"P","\uA752":"P","\uA754":"P","\u24C6":"Q",\uFF31:"Q","\uA756":"Q","\uA758":"Q","\u024A":"Q","\u24C7":"R",\uFF32:"R",\u0154:"R",\u1E58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1E5A:"R",\u1E5C:"R",\u0156:"R",\u1E5E:"R","\u024C":"R","\u2C64":"R","\uA75A":"R","\uA7A6":"R","\uA782":"R","\u24C8":"S",\uFF33:"S","\u1E9E":"S",\u015A:"S",\u1E64:"S",\u015C:"S",\u1E60:"S",\u0160:"S",\u1E66:"S",\u1E62:"S",\u1E68:"S",\u0218:"S",\u015E:"S","\u2C7E":"S","\uA7A8":"S","\uA784":"S","\u24C9":"T",\uFF34:"T",\u1E6A:"T",\u0164:"T",\u1E6C:"T",\u021A:"T",\u0162:"T",\u1E70:"T",\u1E6E:"T",\u0166:"T",\u01AC:"T",\u01AE:"T","\u023E":"T","\uA786":"T","\uA728":"TZ","\u24CA":"U",\uFF35:"U",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u0168:"U",\u1E78:"U",\u016A:"U",\u1E7A:"U",\u016C:"U",\u00DC:"U",\u01DB:"U",\u01D7:"U",\u01D5:"U",\u01D9:"U",\u1EE6:"U",\u016E:"U",\u0170:"U",\u01D3:"U",\u0214:"U",\u0216:"U",\u01AF:"U",\u1EEA:"U",\u1EE8:"U",\u1EEE:"U",\u1EEC:"U",\u1EF0:"U",\u1EE4:"U",\u1E72:"U",\u0172:"U",\u1E76:"U",\u1E74:"U","\u0244":"U","\u24CB":"V",\uFF36:"V",\u1E7C:"V",\u1E7E:"V",\u01B2:"V","\uA75E":"V","\u0245":"V","\uA760":"VY","\u24CC":"W",\uFF37:"W",\u1E80:"W",\u1E82:"W",\u0174:"W",\u1E86:"W",\u1E84:"W",\u1E88:"W","\u2C72":"W","\u24CD":"X",\uFF38:"X",\u1E8A:"X",\u1E8C:"X","\u24CE":"Y",\uFF39:"Y",\u1EF2:"Y",\u00DD:"Y",\u0176:"Y",\u1EF8:"Y",\u0232:"Y",\u1E8E:"Y",\u0178:"Y",\u1EF6:"Y",\u1EF4:"Y",\u01B3:"Y","\u024E":"Y","\u1EFE":"Y","\u24CF":"Z",\uFF3A:"Z",\u0179:"Z",\u1E90:"Z",\u017B:"Z",\u017D:"Z",\u1E92:"Z",\u1E94:"Z",\u01B5:"Z",\u0224:"Z","\u2C7F":"Z","\u2C6B":"Z","\uA762":"Z","\u24D0":"a",\uFF41:"a",\u1E9A:"a",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u1EA7:"a",\u1EA5:"a",\u1EAB:"a",\u1EA9:"a",\u00E3:"a",\u0101:"a",\u0103:"a",\u1EB1:"a",\u1EAF:"a",\u1EB5:"a",\u1EB3:"a",\u0227:"a",\u01E1:"a",\u00E4:"a",\u01DF:"a",\u1EA3:"a",\u00E5:"a",\u01FB:"a",\u01CE:"a",\u0201:"a",\u0203:"a",\u1EA1:"a",\u1EAD:"a",\u1EB7:"a",\u1E01:"a",\u0105:"a","\u2C65":"a",\u0250:"a","\uA733":"aa",\u00E6:"ae",\u01FD:"ae",\u01E3:"ae","\uA735":"ao","\uA737":"au","\uA739":"av","\uA73B":"av","\uA73D":"ay","\u24D1":"b",\uFF42:"b",\u1E03:"b",\u1E05:"b",\u1E07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24D2":"c",\uFF43:"c",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u00E7:"c",\u1E09:"c",\u0188:"c","\u023C":"c","\uA73F":"c","\u2184":"c","\u24D3":"d",\uFF44:"d",\u1E0B:"d",\u010F:"d",\u1E0D:"d",\u1E11:"d",\u1E13:"d",\u1E0F:"d",\u0111:"d",\u018C:"d",\u0256:"d",\u0257:"d","\uA77A":"d",\u01F3:"dz",\u01C6:"dz","\u24D4":"e",\uFF45:"e",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u1EC1:"e",\u1EBF:"e",\u1EC5:"e",\u1EC3:"e",\u1EBD:"e",\u0113:"e",\u1E15:"e",\u1E17:"e",\u0115:"e",\u0117:"e",\u00EB:"e",\u1EBB:"e",\u011B:"e",\u0205:"e",\u0207:"e",\u1EB9:"e",\u1EC7:"e",\u0229:"e",\u1E1D:"e",\u0119:"e",\u1E19:"e",\u1E1B:"e","\u0247":"e",\u025B:"e",\u01DD:"e","\u24D5":"f",\uFF46:"f",\u1E1F:"f",\u0192:"f","\uA77C":"f","\u24D6":"g",\uFF47:"g",\u01F5:"g",\u011D:"g",\u1E21:"g",\u011F:"g",\u0121:"g",\u01E7:"g",\u0123:"g",\u01E5:"g",\u0260:"g","\uA7A1":"g","\u1D79":"g","\uA77F":"g","\u24D7":"h",\uFF48:"h",\u0125:"h",\u1E23:"h",\u1E27:"h",\u021F:"h",\u1E25:"h",\u1E29:"h",\u1E2B:"h",\u1E96:"h",\u0127:"h","\u2C68":"h","\u2C76":"h",\u0265:"h",\u0195:"hv","\u24D8":"i",\uFF49:"i",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u0129:"i",\u012B:"i",\u012D:"i",\u00EF:"i",\u1E2F:"i",\u1EC9:"i",\u01D0:"i",\u0209:"i",\u020B:"i",\u1ECB:"i",\u012F:"i",\u1E2D:"i",\u0268:"i",\u0131:"i","\u24D9":"j",\uFF4A:"j",\u0135:"j",\u01F0:"j","\u0249":"j","\u24DA":"k",\uFF4B:"k",\u1E31:"k",\u01E9:"k",\u1E33:"k",\u0137:"k",\u1E35:"k",\u0199:"k","\u2C6A":"k","\uA741":"k","\uA743":"k","\uA745":"k","\uA7A3":"k","\u24DB":"l",\uFF4C:"l",\u0140:"l",\u013A:"l",\u013E:"l",\u1E37:"l",\u1E39:"l",\u013C:"l",\u1E3D:"l",\u1E3B:"l",\u017F:"l",\u0142:"l",\u019A:"l",\u026B:"l","\u2C61":"l","\uA749":"l","\uA781":"l","\uA747":"l",\u01C9:"lj","\u24DC":"m",\uFF4D:"m",\u1E3F:"m",\u1E41:"m",\u1E43:"m",\u0271:"m",\u026F:"m","\u24DD":"n",\uFF4E:"n",\u01F9:"n",\u0144:"n",\u00F1:"n",\u1E45:"n",\u0148:"n",\u1E47:"n",\u0146:"n",\u1E4B:"n",\u1E49:"n",\u019E:"n",\u0272:"n",\u0149:"n","\uA791":"n","\uA7A5":"n",\u01CC:"nj","\u24DE":"o",\uFF4F:"o",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u1ED3:"o",\u1ED1:"o",\u1ED7:"o",\u1ED5:"o",\u00F5:"o",\u1E4D:"o",\u022D:"o",\u1E4F:"o",\u014D:"o",\u1E51:"o",\u1E53:"o",\u014F:"o",\u022F:"o",\u0231:"o",\u00F6:"o",\u022B:"o",\u1ECF:"o",\u0151:"o",\u01D2:"o",\u020D:"o",\u020F:"o",\u01A1:"o",\u1EDD:"o",\u1EDB:"o",\u1EE1:"o",\u1EDF:"o",\u1EE3:"o",\u1ECD:"o",\u1ED9
2308:"o",\u01EB:"o",\u01ED:"o",\u00F8:"o",\u01FF:"o",\u0254:"o","\uA74B":"o","\uA74D":"o",\u0275:"o",\u01A3:"oi",\u0223:"ou","\uA74F":"oo","\u24DF":"p",\uFF50:"p",\u1E55:"p",\u1E57:"p",\u01A5:"p","\u1D7D":"p","\uA751":"p","\uA753":"p","\uA755":"p","\u24E0":"q",\uFF51:"q","\u024B":"q","\uA757":"q","\uA759":"q","\u24E1":"r",\uFF52:"r",\u0155:"r",\u1E59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1E5B:"r",\u1E5D:"r",\u0157:"r",\u1E5F:"r","\u024D":"r",\u027D:"r","\uA75B":"r","\uA7A7":"r","\uA783":"r","\u24E2":"s",\uFF53:"s",\u00DF:"s",\u015B:"s",\u1E65:"s",\u015D:"s",\u1E61:"s",\u0161:"s",\u1E67:"s",\u1E63:"s",\u1E69:"s",\u0219:"s",\u015F:"s","\u023F":"s","\uA7A9":"s","\uA785":"s",\u1E9B:"s","\u24E3":"t",\uFF54:"t",\u1E6B:"t",\u1E97:"t",\u0165:"t",\u1E6D:"t",\u021B:"t",\u0163:"t",\u1E71:"t",\u1E6F:"t",\u0167:"t",\u01AD:"t",\u0288:"t","\u2C66":"t","\uA787":"t","\uA729":"tz","\u24E4":"u",\uFF55:"u",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u0169:"u",\u1E79:"u",\u016B:"u",\u1E7B:"u",\u016D:"u",\u00FC:"u",\u01DC:"u",\u01D8:"u",\u01D6:"u",\u01DA:"u",\u1EE7:"u",\u016F:"u",\u0171:"u",\u01D4:"u",\u0215:"u",\u0217:"u",\u01B0:"u",\u1EEB:"u",\u1EE9:"u",\u1EEF:"u",\u1EED:"u",\u1EF1:"u",\u1EE5:"u",\u1E73:"u",\u0173:"u",\u1E77:"u",\u1E75:"u",\u0289:"u","\u24E5":"v",\uFF56:"v",\u1E7D:"v",\u1E7F:"v",\u028B:"v","\uA75F":"v",\u028C:"v","\uA761":"vy","\u24E6":"w",\uFF57:"w",\u1E81:"w",\u1E83:"w",\u0175:"w",\u1E87:"w",\u1E85:"w",\u1E98:"w",\u1E89:"w","\u2C73":"w","\u24E7":"x",\uFF58:"x",\u1E8B:"x",\u1E8D:"x","\u24E8":"y",\uFF59:"y",\u1EF3:"y",\u00FD:"y",\u0177:"y",\u1EF9:"y",\u0233:"y",\u1E8F:"y",\u00FF:"y",\u1EF7:"y",\u1E99:"y",\u1EF5:"y",\u01B4:"y","\u024F":"y","\u1EFF":"y","\u24E9":"z",\uFF5A:"z",\u017A:"z",\u1E91:"z",\u017C:"z",\u017E:"z",\u1E93:"z",\u1E95:"z",\u01B6:"z",\u0225:"z","\u0240":"z","\u2C6C":"z","\uA763":"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038A:"\u0399",\u03AA:"\u0399",\u038C:"\u039F",\u038E:"\u03A5",\u03AB:"\u03A5",\u038F:"\u03A9",\u03AC:"\u03B1",\u03AD:"\u03B5",\u03AE:"\u03B7",\u03AF:"\u03B9",\u03CA:"\u03B9",\u0390:"\u03B9",\u03CC:"\u03BF",\u03CD:"\u03C5",\u03CB:"\u03C5",\u03B0:"\u03C5",\u03C9:"\u03C9",\u03C2:"\u03C3"};function S0(t){let i=e=>dee[e]||e;
2308return t.replace(/[^\u0000-\u007E]/g,i)}var lI=class{constructor(i,e){this._ngSelect=i,this._selectionModel=e,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected()&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple()&&this._ngSelect.maxSelectedItems()<=this.selectedItems.length}get lastSelectedItem(){let i=this.selectedItems.length-1;for(;i>=0;i--){let e=this.selectedItems[i];if(!e.disabled)return e}return null}setItems(i){this._items=i.map((n,r)=>this.mapItem(n,r));let e=this._ngSelect.groupBy();e?(this._groups=this._groupBy(this._items,e),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(i){if(i.selected||this.maxItemsSelected)return;let e=this._ngSelect.multiple();e||this.clearSelected(!1),this._selectionModel.select(i,e,this._ngSelect.selectableGroupAsModel()),this._ngSelect.hideSelected()&&this._hideSelected(i)}unselect(i){if(!i.selected)return;let e=this._ngSelect.multiple();this._selectionModel.unselect(i,e),this._ngSelect.hideSelected()&&Fn(i.index)&&e&&this._showSelected(i)}findItem(i){let e;return this._ngSelect.compareWith()?e=n=>this._ngSelect.compareWith()(n.value,i):this._ngSelect.bindValue()?e=n=>!n.children&&this.resolveNested(n.value,this._ngSelect.bindValue())===i:e=n=>n.value===i||!n.children&&n.label&&n.label===this.resolveNested(i,this._ngSelect.bindLabel()),this._items.find(n=>e(n))}addItem(i){let e=this.mapItem(i,this._items.length);return this._items.push(e),this._filteredItems.push(e),e}clearSelected(i){this._selectionModel.clear(i),this._items.forEach(e=>{e.selected=i&&e.selected&&e.disabled,e.marked=!1}),this._ngSelect.hideSelected()&&this.resetFilteredItems()}findByLabel(i){return i=S0(i).toLocaleLowerCase(),this.filteredItems.find(e=>S0(e.label).toLocaleLowerCase().substr(0,i.length)===i)}filter(i){if(!i){this.resetFilteredItems();return}this._filteredItems=[],i=this._ngSelect.searchFn()?i:S0(i).toLocaleLowerCase();let e=this._ngSelect.searchFn()||this._defaultSearchFn,n=this._ngSelect.hideSelected();for(let r of Array.from(this._groups.keys())){let o=[];for(let a of this._groups.get(r)){if(n&&(a.parent&&a.parent.selected||a.selected))continue;let s=this._ngSelect.searchFn()?a.value:a;e(i,s)&&o.push(a)}if(o.length>0){let[a]=o.slice(-1);if(a.parent){let s=this._items.find(l=>l===a.parent);this._filteredItems.push(s)}this._filteredItems.push(...o)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._ngSelect.hideSelected()&&this.selectedItems.length>0?this._filteredItems=this._items.filter(i=>!i.selected):this._filteredItems=this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(i){this._markedIndex=this._filteredItems.indexOf(i)}markSelectedOrDefault(i){if(this._filteredItems.length===0)return;let e=this._getLastMarkedIndex();e>-1?this._markedIndex=e:this._markedIndex=i?this.filteredItems.findIndex(n=>!n.disabled):-1}resolveNested(i,e){if(!Dd(i))return i;if(e.indexOf(".")===-1)return i[e];{let n=e.split("."),r=i;for(let o=0,a=n.length;o<a;++o){if(r==null)return null;r=r[n[o]]}return r}}mapItem(i,e){let n=Dd(i)&&"$ngOptionLabel"in i,r=Dd(i)&&"$ngOptionValue"in i,o=n?i.$ngOptionLabel:this.resolveNested(i,this._ngSelect.bindLabel()),a=r?i.$ngOptionValue:i;return{index:e,label:Fn(o)?o.toString():"",value:a,disabled:i&&i.disabled?i.disabled:!1,htmlId:`${this._ngSelect.dropdownId}-${e}`}}mapSelectedItems(){let i=this._ngSelect.multiple();for(let e of this.selectedItems){let n=this._ngSelect.bindValue(),r=n?this.resolveNested(e.value,n):e.value,o=Fn(r),a=o?this.findItem(r):null;!a&&!o&&this._ngSelect.compareWith()&&(a=this._items.find(s=>this._ngSelect.compareWith()(s.value,e.value))),this._selectionModel.unselect(e,i),this._selectionModel.select(a||e,i,this._ngSelect.selectableGroupAsModel())}this._ngSelect.hideSelected()&&(this._filteredItems=this.filteredItems.filter(e=>this.selectedItems.indexOf(e)===-1))}_showSelected(i){if(this._filteredItems.push(i),i.parent){let e=i.parent;this._filteredItems.find(r=>r===e)||this._filteredItems.push(e)}else if(i.children)for(let e of i.children)e.selected=!1,this._filteredItems.push(e);this._filteredItems=[...this._filteredItems.sort((e,n)=>e.index-n.index)]}_hideSelected(i){this._filteredItems=this._filteredItems.filter(e=>e!==i),i.parent?i.parent.children.every(n=>n.selected)&&(this._filteredItems=this._filteredItems.filter(n=>n!==i.parent)):i.children&&(this._filteredItems=this.filteredItems.filter(e=>e.parent!==i))}_defaultSearchFn(i,e){return S0(e.label).toLocaleLowerCase().indexOf(i)>-1}_getNextItemIndex(i){return i>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(i){this._filteredItems.length===0||this._filteredItems.every(e=>e.disabled)||(this._markedIndex=this._getNextItemIndex(i),this.markedItem.disabled&&this._stepToItem(i))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected()||this._markedIndex>-1&&this.markedItem===void 0)return-1;let i=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&i<0?-1:Math.max(this.markedIndex,i)}_groupBy(i,e){let n=new Map;if(i.length===0)return n;let r=i[0].value;if(r!=null&&Array.isArray(r[e])){for(let s of i){let l=(s.value?.[e]||[]).map((c,u)=>this.mapItem(c,u));n.set(s,l)}return n}let o=T0(this._ngSelect.groupBy()),a=s=>{let l=o?e(s.value):s.value?.[e];return Fn(l)?l:void 0};for(let s of i){let l=a(s),c=n.get(l);c?c.push(s):n.set(l,[s])}return n}_flatten(i){let e=T0(this._ngSelect.groupBy()),n=[];for(let r of Array.from(i.keys())){let o=n.length;if(r===void 0){let h=i.get(void 0)||[];n.push(...h.map(m=>(m.index=o++,m)));continue}let a=Dd(r),s={label:a?"":String(r),children:void 0,parent:null,index:o++,disabled:!this._ngSelect.selectableGroup(),htmlId:LB()},l=e?this._ngSelect.bindLabel():this._ngSelect.groupBy(),c=this._ngSelect.groupValue()||(()=>a?r.value:{[l]:r}),u=i.get(r).map(h=>(h.parent=s,h.children=void 0,h.index=o++,h));s.children=u,s.value=c(r,u.map(h=>h.value)),n.push(s),n.push(...u)}return n}},VB=(()=>{class t{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerVie
2308wport:0}}get dimensions(){return this._dimensions}calculateItems(e,n,r){let o=this._dimensions,a=o.itemHeight*n,l=Math.max(0,e)/a*n,c=Math.min(n,Math.ceil(l)+(o.itemsPerViewport+1)),h=Math.max(0,c-o.itemsPerViewport),m=Math.min(h,Math.floor(l)),p=o.itemHeight*Math.ceil(m)-o.itemHeight*Math.min(m,r);return p=isNaN(p)?0:p,m=isNaN(m)?-1:m,c=isNaN(c)?-1:c,m-=r,m=Math.max(0,m),c+=r,c=Math.min(n,c),{topPadding:p,scrollHeight:a,start:m,end:c}}setDimensions(e,n){let r=Math.max(1,Math.floor(n/e));this._dimensions={itemHeight:e,panelHeight:n,itemsPerViewport:r}}getScrollTo(e,n,r){let{panelHeight:o}=this.dimensions,a=e+n,s=r,l=s+o;return o>=a&&r===e?null:a>l?s+a-l:e<=s?e:null}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac})}}return t})(),OB=["top","right","bottom","left"],NB=typeof requestAnimationFrame<"u"?Fg:kg,sI=(()=>{class t{constructor(){this.items=C([]),this.showAddTag=C(!1,{transform:ue}),this.markedItem=C(void 0),this.position=C("auto"),this.appendTo=C(void 0),this.bufferAmount=C(void 0),this.virtualScroll=C(!1,{transform:ue}),this.headerTemplate=C(void 0),this.footerTemplate=C(void 0),this.filterValue=C(null),this.ariaLabelDropdown=C(null),this.outsideClickEvent=C("click"),this.popover=C(!1,{transform:ue}),this.update=Si(),this.scroll=Si(),this.scrollToEnd=Si(),this.outsideClick=Si(),this._renderer=d(Ge),this._zone=d(ne),this._panelService=d(VB),this._document=d(ve,{optional:!0}),this._destroyRef=d(yn),this._dropdown=d(Q).nativeElement,this.contentElementRef=Qe("content",{read:Q}),this.scrollElementRef=Qe("scroll",{read:Q}),this.paddingElementRef=Qe("padding",{read:Q}),this._virtualPadding=Z(()=>this.paddingElementRef()?.nativeElement),this._scrollablePanel=Z(()=>this.scrollElementRef()?.nativeElement),this._contentPanel=Z(()=>this.contentElementRef()?.nativeElement),this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._destroyRef.onDestroy(()=>{this.appendTo()&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)})}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(e){e!==this._itemsLength&&(this._itemsLength=e,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem()){let{itemHeight:e,panelHeight:n}=this._panelService.dimensions,r=this.markedItem().index*e;return n>r?0:r}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener(),this._handleWindowScroll(),this._showPopoverIfNeeded()}ngOnChanges(e){if(e.items){let n=e.items;this._onItemsOrShowAddTagChange(n.currentValue,this.showAddTag(),n.firstChange)}if(e.showAddTag){let n=e.showAddTag;this._onItemsOrShowAddTagChange(this.items(),n.currentValue,n.firstChange)}}scrollTo(e,n=!1){if(!e)return;let r=this.items().indexOf(e);if(r<0||r>=this.itemsLength)return;let o;if(this.virtualScroll()){let a=this._panelService.dimensions.itemHeight;o=this._panelService.getScrollTo(r*a,a,this._lastScrollPosition)}else{let a=this._dropdown.querySelector(`#${e.htmlId}`),s=n?a.offsetTop:this._lastScrollPosition;o=this._panelService.getScrollTo(a.offsetTop,a.clientHeight,s)}Fn(o)&&(this._scrollablePanel().scrollTop=o)}scrollToTag(){let e=this._scrollablePanel();e.scrollTop=e.scrollHeight-e.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),OB.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),(this.appendTo()||this.popover())&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(e){OB.forEach(r=>{let o=`ng-select-${r}`;this._renderer.removeClass(this._dropdown,o),this._renderer.removeClass(this._select,o)});let n=`ng-select-${e}`;this._renderer.addClass(this._dropdown,n),this._renderer.addClass(this._select,n)}_handleScroll(){this._zone.runOutsideAngular(()=>{let e=this._scrollablePanel();e&&il(e,"scroll").pipe(ks(this._destroyRef),dc(0,NB)).subscribe(()=>{e&&"scrollTop"in e&&this._onContentScrolled(e.scrollTop)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{il(this._document,this.outsideClickEvent(),{capture:!0}).pipe(ks(this._destroyRef)).subscribe(e=>this._checkToClose(e))})}_checkToClose(e){if(this._select.contains(e.target)||this._dropdown.contains(e.target))return;let n=e.path||e.composedPath&&e.composedPath();e.target&&e.target.shadowRoot&&n&&n[0]&&this._select.contains(n[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsOrShowAddTagChange(e=[],n,r){this._scrollToEndFired=!1,this.itemsLength=e.length,n&&e.length&&this.itemsLength++,this.virtualScroll()?this._updateItemsRange(r):(this._setVirtualHeight(),this._updateItems(r))}_updateItems(e){this.update.emit(this.items()),e!==!1&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{let n=this._scrollablePanel().clientHeight;this._panelService.setDimensions(0,n),this._handleDropdownPosition(),this.scrollTo(this.markedItem(),e)})})}_updateItemsRange(e){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{e?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(e){this.virtualScroll()&&this._renderItemsRange(e),this._lastScrollPosition=e,this._fireScrollToEnd(e)}_updateVirtualHeight(e){this._updateScrollHeight&&(this._virtualPadding().style.height=`${e}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding()&&(this._virtualPadding().style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(e=null){if(e&&this._lastScrollPosition===e)return;e=e||this._scrollablePanel().scrollTop;let n=this._panelService.calculateItems(e,this.itemsLength,this.bufferAmount());this._updateVirtualHeight(n.scrollHeight),this._contentPanel().style.transform=`translateY(${n.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items().slice(n.start,n.end)),this.scroll.emit({start:n.start,end:n.end})}),Fn(e)&&this._lastScrollPosition===0&&(this._scrollablePanel().scrollTop=e,this._lastScrollPosition=e)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||this.itemsLength===0)return Promise.resolve(this._panelService.dimensions);let[e]=this.items();return this.update.emit([e]),Promise.resolve().then(()=>{let r=this._dropdown.querySelector(`#${e.htmlId}`).clientHeight;this._virtualPadding().style.height=`${r*this.itemsLength}px`;let o=this._scrollablePanel().clientHeight;return this._panelService.setDimensions(r,o),this._panelService.dimensions})}_fireScrollToEnd(e){if(this._scrollToEndFired||e===0)return;let n=this.virtualScroll()?this._virtualPadding():this._contentPanel();e+this._dropdown.clientHeight>=n.clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(e){let n=this.position();if(n!=="auto")return n;let r=this._select.getBoundingClientRect(),o=document.documentElement.scrollTop||document.body.scrollTop,a=r.top+window.pageYOffset,s=r.height,l=e.getBoundingClientRect().height;return a+s+l>o+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo()){if(this._parent=this._dropdown.shadowRoot?this._dropdown.shadowRoot.querySelector(this.appendTo()):document.querySelector(this.appendTo()),!this._parent)throw new Error(`appendTo selector ${this.appendTo()} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){let e=this._select.getBoundingClientRect(),n=this._parent.getBoundingClientRect(),r=document.documentElement.dir==="rtl",o=e.left-n.left;if(r){let a=n.right-e.right;this._dropdown.style.right=a+"px",this._dropdown.style.left="auto"}else this._dropdown.style.left=o+"px",this._dropdown.style.right="auto";this._dropdown.style.width=e.width+"px",this._dropdown.style.minWidth=e.width+"px"}_updateYPosition(){let e=this._select.getBoundingClientRect(),n=this._parent.getBoundingClientRect(),o=this._select.querySelector(".ng-select-container")?.getBoundingClientRect()??e;if(this._currentPosition==="top"){let a=n.bottom-o.top;this._dropdown.style.bottom=a+"px",this._dropdown.style.top="auto"}else if(this._currentPosition==="bottom"){let a=o.bottom-n.top;this._dropdown.style.top=a+"px",this._dropdown.style.bottom="auto"}}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{il(this._dropdown,"mousedown").pipe(ks(this._destroyRef)).subscribe(e=>{e.target.tagName!=="INPUT"&&e.preventDefault()})})}_handleWindowScroll(){!this.appendTo()&&!this.popover()||this._zone.runOutsideAngular(()=>{il(this._document,"scroll",{capture:!0,passive:!0}).pipe(ks(this._destroyRef),dc(0,NB)).subscribe(()=>{this._updateXPosition(),this._updateYPosition()})})}_showPopoverIfNeeded(){this.popover()&&typeof this._dropdown.showPopover=="function"&&(this._renderer.setAttribute(this._dropdown,"popover","manual"),this._dropdown.showPopover(),this._parent=globalThis.document.body,this._updateXPosition(),this._updateYPosition())}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["ng-dropdown-panel"]],viewQuery:function(n,r){n&1&&It(r.contentElementRef,pJ,5,Q)(r.scrollElementRef,gJ,5,Q)(r.paddingElementRef,_J,5,Q),n&2&&ct(3)},inputs:{items:[1,"items"],showAddTag:[1,"showAddTag"],markedItem:[1,"markedItem"],position:[1,"position"],appendTo:[1,"appendTo"],bufferAmount:[1,"bufferAmount"],virtualScroll:[1,"virtualScroll"],headerTemplate:[1,"headerTemplate"],footerTemplate:[1,"footerTemplate"],filterValue:[1,"filterValue"],ariaLabelDropdown:[1,"ariaLabelDropdown"],outsideClickEvent:[1,"outsideClickEvent"],popover:[1,"popover"]},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[Ze],ngContentSelectors:PB,decls:9,vars:7,consts:[["scroll",""],["padding",""],["content",""],[1,"ng-dropdown-header"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],[1,"ng-dropdown-footer"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(n,r){n&1&&(We(),E(0,vJ,2,4,"div",3),g(1,"div",4,0),O(3,"div",null,1),g(5,"div",null,2),ae(7),_()(),E(8,yJ,2,4,"div",5)),n&2&&(S(r.headerTemplate()?0:-1),f(),N("aria-label",r.ariaLabelDropdown()),f(2),ie("total-padding",r.virtualScroll()),f(2),ie("scrollable-content",r.virtualScroll()&&r.items().length),f(3),S(r.footerTemplate()?8:-1))},dependencies:[Pn],encapsulation:2,changeDetection:0})}}return t})(),RB=(()=>{class t{constructor(){this.value=C(),this.disabled=C(!1,{transform:ue}),this.elementRef=d(Q),this.label=re(""),this.isInitialized=re(!1),gD(()=>{let e=(this.elementRef.nativeElement.innerHTML||"").trim();e!==this.label()&&this.label.set(e)})}ngOnInit(){this.isInitialized.set(!0)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["ng-option"]],inputs:{value:[1,"value"],disabled:[1,"disabled"]},ngContentSelectors:PB,decls:1,vars:0,template:function(n,r){n&1&&(We(),ae(0))},encapsulation:2,changeDetection:0})}}return t})(),ts=(function(t){return t.Tab="Tab",t.Enter="Enter",t.Esc="Escape",t.Space=" ",t.ArrowUp="ArrowUp",t.ArrowDown="ArrowDown",t.Backspace="Backspace",t})(ts||{});function jB(){return new cI}var cI=class{constructor(){this._selected=[]}get value(){return this._selected}
2308select(i,e,n){if(i.selected=!0,(!i.children||!e&&n)&&this._selected.push(i),e)if(i.parent){let r=i.parent.children.length,o=i.parent.children.filter(a=>a.selected).length;i.parent.selected=r===o}else i.children&&(this._setChildrenSelectedState(i.children,!0),this._removeChildren(i),n&&this._activeChildren(i)?this._selected=[...this._selected.filter(r=>r.parent!==i),i]:this._selected=[...this._selected,...i.children.filter(r=>!r.disabled)])}unselect(i,e){if(this._selected=this._selected.filter(n=>n!==i),i.selected=!1,e)if(i.parent&&i.parent.selected){let n=i.parent.children;this._removeParent(i.parent),this._removeChildren(i.parent),this._selected.push(...n.filter(r=>r!==i&&!r.disabled)),i.parent.selected=!1}else i.children&&(this._setChildrenSelectedState(i.children,!1),this._removeChildren(i))}clear(i){this._selected=i?this._selected.filter(e=>e.disabled):[]}_setChildrenSelectedState(i,e){for(let n of i)n.disabled||(n.selected=e)}_removeChildren(i){this._selected=[...this._selected.filter(e=>e.parent!==i),...i.children.filter(e=>e.parent===i&&e.disabled&&e.selected)]}_removeParent(i){this._selected=this._selected.filter(e=>e!==i)}_activeChildren(i){return i.children.every(e=>!e.disabled||e.selected)}},BB=new T("ng-select-selection-model"),$l=(()=>{class t{constructor(){this.classes=d(new Yo("class"),{optional:!0}),this.config=d(lee),this._cd=d(Pe),this._console=d(cee),this._destroyRef=d(yn),this._disabled=re(!1),this._ariaLabelDropdown=C(void 0,{alias:"ariaLabelDropdown"}),this.ariaLabelDropdown=$e(()=>this._ariaLabelDropdown()),this._ariaLabel=C(void 0,{alias:"ariaLabel"}),this.ariaLabel=$e(()=>this._ariaLabel()),this._markFirst=C(!0,{alias:"markFirst",transform:ue}),this.markFirst=$e(()=>this._markFirst()),this._placeholder=C(this.config.placeholder,{alias:"placeholder"}),this.placeholder=$e(()=>this._placeholder()),this._fixedPlaceholder=C(!0,{alias:"fixedPlaceholder"}),this.fixedPlaceholder=$e(()=>this._fixedPlaceholder()),this._notFoundText=C(void 0,{alias:"notFoundText"}),this.notFoundText=$e(()=>this._notFoundText()),this._typeToSearchText=C(void 0,{alias:"typeToSearchText"}),this.typeToSearchText=$e(()=>this._typeToSearchText()),this._preventToggleOnRightClick=C(!1,{alias:"preventToggleOnRightClick"}),this.preventToggleOnRightClick=$e(()=>this._preventToggleOnRightClick()),this._addTagText=C(void 0,{alias:"addTagText"}),this.addTagText=$e(()=>this._addTagText()),this._loadingText=C(void 0,{alias:"loadingText"}),this.loadingText=$e(()=>this._loadingText()),this._clearAllText=C(void 0,{alias:"clearAllText"}),this.clearAllText=$e(()=>this._clearAllText()),this._dropdownPosition=C("auto",{alias:"dropdownPosition"}),this.dropdownPosition=$e(()=>this._dropdownPosition()),this._appendTo=C(void 0,{alias:"appendTo"}),this.appendTo=$e(()=>this._appendTo()),this._outsideClickEvent=C(this.config.outsideClickEvent,{alias:"outsideClickEvent"}),this.outsideClickEvent=$e(()=>this._outsideClickEvent()),this._loading=C(!1,{alias:"loading",transform:ue}),this.loading=$e(()=>this._loading()),this._closeOnSelect=C(!0,{alias:"closeOnSelect",transform:ue}),this.closeOnSelect=$e(()=>this._closeOnSelect()),this._hideSelected=C(!1,{alias:"hideSelected",transform:ue}),this.hideSelected=$e(()=>this._hideSelected()),this._selectOnTab=C(!1,{alias:"selectOnTab",transform:ue}),this.selectOnTab=$e(()=>this._selectOnTab()),this._openOnEnter=C(void 0,{alias:"openOnEnter",transform:ue}),this.openOnEnter=$e(()=>this._openOnEnter()),this._maxSelectedItems=C(void 0,{alias:"maxSelectedItems",transform:Pa}),this.maxSelectedItems=$e(()=>this._maxSelectedItems()),this._groupBy=C(void 0,{alias:"groupBy"}),this.groupBy=$e(()=>this._groupBy()),this._groupValue=C(void 0,{alias:"groupValue"}),this.groupValue=$e(()=>this._groupValue()),this._bufferAmount=C(4,{alias:"bufferAmount",transform:Pa}),this.bufferAmount=$e(()=>this._bufferAmount()),this._virtualScroll=C(void 0,{alias:"virtualScroll",transform:ue}),this.virtualScroll=$e(()=>this._virtualScroll()),this._selectableGroup=C(!1,{alias:"selectableGroup",transform:ue}),this.selectableGroup=$e(()=>this._selectableGroup()),this._tabFocusOnClearButton=C(void 0,{alias:"tabFocusOnClearButton"}),this.tabFocusOnClearButton=$e(()=>this._tabFocusOnClearButton()),this._selectableGroupAsModel=C(!0,{alias:"selectableGroupAsModel",transform:ue}),this.selectableGroupAsModel=$e(()=>this._selectableGroupAsModel()),this._searchFn=C(null,{alias:"searchFn"}),this.searchFn=$e(()=>this._searchFn()),this._trackByFn=C(null,{alias:"trackByFn"}),this.trackByFn=$e(()=>this._trackByFn()),this._clearOnBackspace=C(!0,{alias:"clearOnBackspace",transform:ue}),this.clearOnBackspace=$e(()=>this._clearOnBackspace()),this._labelForId=C(null,{alias:"labelForId"}),this.labelForId=$e(()=>this._labelForId()),this._inputAttrs=C({},{alias:"inputAttrs"}),this.inputAttrs=$e(()=>this._inputAttrs()),this._tabIndex=C(void 0,{alias:"tabIndex",transform:Pa}),this.tabIndex=$e(()=>this._tabIndex()),this._readonly=C(!1,{alias:"readonly",transform:ue}),this.readonly=$e(()=>this._readonly()),this._searchWhileComposing=C(!0,{alias:"searchWhileComposing",transform:ue}),this.searchWhileComposing=$e(()=>this._searchWhileComposing()),this._minTermLength=C(0,{alias:"minTermLength",transform:Pa}),this.minTermLength=$e(()=>this._minTermLength()),this._editableSearchTerm=C(!1,{alias:"editableSearchTerm",transform:ue}),this.editableSearchTerm=$e(()=>this._editableSearchTerm()),this._ngClass=C(null,{alias:"ngClass"}),this.ngClass=$e(()=>this._ngClass()),this._typeahead=C(void 0,{alias:"typeahead"}),this.typeahead=$e(()=>this._typeahead()),this._multiple=C(!1,{alias:"multiple",transform:ue}),this.multiple=$e(()=>this._multiple()),this._addTag=C(!1,{alias:"addTag"}),this.addTag=$e(()=>this._addTag()),this._searchable=C(!0,{alias:"searchable",transform:ue}),this.searchable=$e(()=>this._searchable()),this._clearable=C(!0,{alias:"clearable",transform:ue}),this.clearable=$e(()=>this._clearable()),this._clearKeepsDisabledOptions=C(!0,{alias:"clearKeepsDisabledOptions",transform:ue}),this.clearKeepsDisabledOptions=$e(()=>this._clearKeepsDisabledOptions()),this._deselectOnClick=C(void 0,{alias:"deselectOnClick"}),this.deselectOnClick=$e(()=>this._deselectOnClick()),this._clearSearchOnAdd=C(void 0,{alias:"clearSearchOnAdd"}),this.clearSearchOnAdd=$e(()=>this._clearSearchOnAdd()),this._compareWith=C(void 0,{alias:"compareWith",transform:o=>{if(o!=null&&!T0(o))throw Error("`compareWith` must be a function.");return o}}),this.compareWith=$e(()=>this._compareWith()),this._keyDownFn=C(o=>!0,{alias:"keyDownFn"}),this.keyDownFn=$e(()=>this._keyDownFn()),this._popover=C(!1,{alias:"popover",transform:ue}),this.popover=$e(()=>this._popover()),this.bindLabel=Cu(void 0),this.bindValue=Cu(void 0),this.appearance=Cu(void 0),this.isOpen=Cu(!1),this.items=Cu([]),this.blurEvent=Si({alias:"blur"}),this.focusEvent=Si({alias:"focus"}),this.changeEvent=Si({alias:"change"}),this.openEvent=Si({alias:"open"}),this.closeEvent=Si({alias:"close"}),this.searchEvent=Si({alias:"search"}),this.clearEvent=Si({alias:"clear"}),this.addEvent=Si({alias:"add"}),this.removeEvent=Si({alias:"remove"}),this.scroll=Si({alias:"scroll"}),this.scrollToEnd=Si({alias:"scrollToEnd"}),this.disabled=Z(()=>this.readonly()||this._disabled()),this.clearSearchOnAddValue=Z(()=>Fn(this.clearSearchOnAdd())?this.clearSearchOnAdd():Fn(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect()),this.deselectOnClickValue=Z(()=>Fn(this.deselectOnClick())?this.deselectOnClick():Fn(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple()),this.optionTemplate=ln(yB,{read:fe}),this.optgroupTemplate=ln(bB,{read:fe}),this.labelTemplate=ln(CB,{read:fe}),this.multiLabelTemplate=ln(wB,{read:fe}),this.headerTemplate=ln(xB,{read:fe}),this.footerTemplate=ln(DB,{read:fe}),this.notFoundTemplate=ln(MB,{read:fe}),this.placeholderTemplate=ln(EB,{read:fe}),this.typeToSearchTemplate=ln(SB,{read:fe}),this.loadingTextTemplate=ln(TB,{read:fe}),this.tagTemplate=ln(IB,{read:fe}),this.loadingSpinnerTemplate=ln(AB,{read:fe}),this.clearButtonTemplate=ln(kB,{read:fe}),this.ngOptions=bR(RB,{descendants:!0}),this.dropdownPanel=Qe(vn(()=>sI)),this.searchInput=Qe("searchInput"),this.clearButton=Qe("clearButton"),this.dropdownId=LB(),this.escapeHTML=!0,this.viewPortItems=[],this.tabFocusOnClear=re(!0),this.autoFocus=d(new Yo("autofocus"),{optional:!0}),this._defaultLabel="label",this._editableSearchTermActive=Z(()=>this.editableSearchTerm()&&!this.multiple()),this._injector=d(he),this._isComposing=!1,this._keyPress$=new V,this._pressedKeys=[],this._searchTerm=re(null),this._val
2308idTerm=Z(()=>{let o=this._searchTerm()?.trim();return o&&o.length>=this.minTermLength()}),this.clearItem=o=>{let a=this.selectedItems.find(s=>s.value===o);this.unselect(a)},this.trackByOption=(o,a)=>this.trackByFn()?this.trackByFn()(a.value):a,this._onChange=o=>{},this._onTouched=()=>{};let e=this.config,n=d(BB,{optional:!0}),r=d(Q);this._mergeGlobalConfig(e),this.itemsList=new lI(this,n?n():jB()),this.element=r.nativeElement}get filtered(){return!!this.searchTerm&&this.searchable()||this._isComposing}get focused(){return this._focused}get searchTerm(){return this._searchTerm()}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(e=>e.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel())return this.dropdownPanel().currentPosition}get showAddTag(){if(!this._validTerm())return!1;let e=this.searchTerm.toLowerCase().trim();return this.addTag()&&!this.itemsList.filteredItems.some(n=>n.label.toLowerCase()===e)&&(!this.hideSelected()&&this.isOpen()||!this.selectedItems.some(n=>n.label.toLowerCase()===e))&&!this.loading()}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(e){e.multiple&&this.itemsList.clearSelected(!1),e.items&&(this._itemsAreUsed=!0,this._setItems(e.items.currentValue||[])),e.isOpen&&(this._manualOpen=Fn(e.isOpen.currentValue)),e.groupBy&&(e.items||this._setItems([...this.items()])),e.inputAttrs&&this._setInputAttributes(),this._setTabFocusOnClear()}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),Fn(this.autoFocus)&&this.focus()}handleKeyDown(e){let n=e.key;if(Object.values(ts).includes(n)){if(this.keyDownFn()(e)===!1)return;this.handleKeyCode(e)}else n&&n.length===1&&this._keyPress$.next(n.toLocaleLowerCase())}handleKeyCode(e){let n=e.target;this.clearButton()&&this.clearButton().nativeElement===n?this.handleKeyCodeClear(e):this.handleKeyCodeInput(e)}handleKeyCodeInput(e){switch(e.key){case ts.ArrowDown:this._handleArrowDown(e);break;case ts.ArrowUp:this._handleArrowUp(e);break;case ts.Space:this._handleSpace(e);break;case ts.Enter:this._handleEnter(e);break;case ts.Tab:this._handleTab(e);break;case ts.Esc:this.close(),e.preventDefault();break;case ts.Backspace:this._handleBackspace();break}}handleKeyCodeClear(e){e.key===ts.Enter&&(this.handleClearClick(),e.preventDefault())}handleMousedown(e){if(this.disabled())return;if(this.preventToggleOnRightClick()&&e.button===2)return!1;let n=e.target;if(n.tagName!=="INPUT"&&e.preventDefault(),!n.classList.contains("ng-clear-wrapper")){if(n.classList.contains("ng-arrow-wrapper")){this.handleArrowClick();return}n.classList.contains("ng-value-icon")||(this._focused||this.focus(),this.searchable()?this.open():this.toggle())}}handleArrowClick(){this.isOpen()?this.close():this.open()}handleClearClick(e){this.hasValue&&(this.itemsList.clearSelected(this.clearKeepsDisabledOptions()),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable()&&(this.itemsList.clearSelected(!1),this._updateNgModel())}writeValue(e){this.itemsList.clearSelected(!1),this._handleWriteValue(e),this._editableSearchTermActive()&&this._setSearchTermFromItems(),this._cd.markForCheck()}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._disabled.set(e),this._cd.markForCheck()}toggle(){this.isOpen()?this.close():this.open()}open(){this.disabled()||this.isOpen()||this._manualOpen||!this.typeahead()?.observed&&!this.addTag()&&this.itemsList.noItemsToSelect||(this.isOpen.set(!0),this.itemsList.markSelectedOrDefault(this.markFirst()),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen()||this._manualOpen||(this.isOpen.set(!1),this._isComposing=!1,this._editableSearchTermActive()?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this.detectChanges())}toggleItem(e){!e||e.disabled||this.disabled()||(this.deselectOnClickValue()&&e.selected?this.unselect(e):this.select(e),this._editableSearchTermActive()&&this._setSearchTermFromItems())}select(e){e.selected||(this.itemsList.select(e),this.clearSearchOnAddValue()&&!this._editableSearchTermActive()&&this._clearSearch(),this._updateNgModel(),this.multiple()&&this.addEvent.emit(e.value)),(this.closeOnSelect()||this.itemsList.noItemsToSelect)&&this.close(),this._onSelectionChanged()}focus(){this.searchInput().nativeElement.focus()}blur(){this.searchInput().nativeElement.blur()}unselect(e){e&&(this.itemsList.unselect(e),this.focus(),this._updateNgModel(),this.removeEvent.emit(e.value),this._onSelectionChanged())}selectTag(){let e;T0(this.addTag())?e=this.addTag()(this.searchTerm):e=this._primitive?this.searchTerm:{[this.bindLabel()]:this.searchTerm};let n=r=>this.typeahead()?.observed||!this.isOpen()?this.itemsList.mapItem(r,null):this.itemsList.addItem(r);aee(e)?e.then(r=>this.select(n(r))).catch(()=>{}):e&&this.select(n(e))}showClear(){return this.clearable()&&(this.hasValue||this.searchTerm)&&!this.disabled()}focusOnClear(){this.blur(),this.clearButton()&&this.clearButton().nativeElement.focus()}showNoItemsFound(){let e=this.itemsList.filteredItems.length===0;
2308return(e&&!this.typeahead()?.observed&&!this.loading()||e&&this.typeahead()?.observed&&this._validTerm()&&!this.loading())&&!this.showAddTag}showTypeToSearch(){return this.itemsList.filteredItems.length===0&&this.typeahead()?.observed&&!this._validTerm()&&!this.loading()}onCompositionStart(){this._isComposing=!0}onCompositionEnd(e){this._isComposing=!1,!this.searchWhileComposing()&&this.filter(e)}filter(e){this._isComposing&&!this.searchWhileComposing()||(this._searchTerm.set(e),this.typeahead()?.observed&&(this._validTerm()||this.minTermLength()===0)&&this.typeahead().next(e),this.typeahead()?.observed||(this.itemsList.filter(e),this.isOpen()&&this.itemsList.markSelectedOrDefault(this.markFirst())),this.searchEvent.emit({term:e,items:this.itemsList.filteredItems.map(n=>n.value)}),this.open())}onInputFocus(e){this._focused||(this._editableSearchTermActive()&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(e),this._focused=!0)}onInputBlur(e){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(e),!this.isOpen()&&!this.disabled()&&this._onTouched(),this._editableSearchTermActive()&&this._setSearchTermFromItems(),this._focused=!1}onItemHover(e){e.disabled||this.itemsList.markItem(e)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){let e=this.selectedItems?.[0];this._searchTerm.set(e?.label??null)}_setItems(e){let n=e[0];this.bindLabel.set(this.bindLabel()||this._defaultLabel),this._primitive=Fn(n)?!Dd(n):this._primitive||this.bindLabel()===this._defaultLabel,this.itemsList.setItems(e),e.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen()&&Fn(this.searchTerm)&&!this.typeahead()?.observed&&this.itemsList.filter(this.searchTerm),(this.typeahead()?.observed||this.isOpen())&&this.itemsList.markSelectedOrDefault(this.markFirst())}_setItemsFromNgOptions(){Zn(()=>{let e=this.ngOptions();if(e.length>0&&!e.every(r=>r.isInitialized()))return;this.bindLabel.set(this._defaultLabel);let n=e.map(r=>({$ngOptionValue:r.value(),$ngOptionLabel:r.elementRef.nativeElement.innerHTML,disabled:r.disabled()}))??[];this.items.set(n),this.itemsList.setItems(n),this.hasValue&&this.itemsList.mapSelectedItems(),this._cd.detectChanges(),e.map(r=>({option:r,item:this.itemsList.findItem(r.value())})).filter(({item:r})=>Fn(r)).forEach(({option:r,item:o})=>{o.disabled=r.disabled(),o.label=r.label()||o.label})},{injector:this._injector})}_isValidWriteValue(e){if(!Fn(e)||this.multiple()&&e===""||Array.isArray(e)&&e.length===0)return!1;let n=r=>!Fn(this.compareWith())&&Dd(r)&&this.bindValue()?(this._console.warn(`Setting object(${JSON.stringify(r)}) as your model with bindValue is not allowed unless [compareWith] is used.`),!1):!0;return this.multiple()?Array.isArray(e)?e.every(r=>n(r)):(this._console.warn("Multiple select ngModel should be array."),!1):n(e)}_handleWriteValue(e){if(!this._isValidWriteValue(e))return;let n=r=>{let o=this.itemsList.findItem(r);if(o)this.itemsList.select(o);else{let a=Dd(r),s=!a&&!this.bindValue();a||s?this.itemsList.select(this.itemsList.mapItem(r,null)):this.bindValue()&&(o={[this.bindLabel()]:null,[this.bindValue()]:r},this.itemsList.select(this.itemsList.mapItem(o,null)))}};this.multiple()?e.forEach(r=>n(r)):n(e)}_handleKeyPresses(){this.searchable()||this._keyPress$.pipe(ks(this._destroyRef),vt(e=>this._pressedKeys.push(e)),ii(200),J(()=>this._pressedKeys.length>0),X(()=>this._pressedKeys.join(""))).subscribe(e=>{let n=this.itemsList.findByLabel(e);n&&(this.isOpen()?n.disabled||(this.itemsList.markItem(n),this._scrollToMarked(),this._cd.markForCheck()):this.select(n)),this._pressedKeys=[]})}_setInputAttributes(){let e=this.searchInput().nativeElement,n=x({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:"off","aria-controls":this.dropdownId},this.inputAttrs());for(let r of Object.keys(n))e.setAttribute(r,n[r])}_setTabFocusOnClear(){this.tabFocusOnClear.set(Fn(this.tabFocusOnClearButton())?!!this.tabFocusOnClearButton():this.config.tabFocusOnClear)}_updateNgModel(){let e=[];for(let r of this.selectedItems)if(this.bindValue()){let o=null;if(r.children){let a=this.groupValue()?this.bindValue():this.groupBy();o=r.value[a||this.groupBy()]}else o=this.itemsList.resolveNested(r.value,this.bindValue());e.push(o)}else e.push(r.value);let n=this.selectedItems.map(r=>r.value);this.multiple()?(this._onChange(e),this.changeEvent.emit(n)):(this._onChange(Fn(e[0])?e[0]:null),this.changeEvent.emit(n[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(e){this._searchTerm.set(e),this.typeahead()?.observed&&this.typeahead().next(e)}_scrollToMarked(){!this.isOpen()||!this.dropdownPanel()||this.dropdownPanel().scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen()||!this.dropdownPanel()||this.dropdownPanel().scrollToTag()}_onSelectionChanged(){let e=this.appendTo()??this.config.appendTo;this.isOpen()&&this.deselectOnClickValue()&&e&&(this._cd.detectChanges(),this.dropdownPanel().adjustPosition())}_handleTab(e){if(this.isOpen()===!1){if(this.showClear()&&!e.shiftKey&&this.tabFocusOnClear())this.focusOnClear(),e.preventDefault();else if(!this.addTag())return}this.selectOnTab()?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),e.preventDefault()):this.showAddTag?(this.selectTag(),e.preventDefault()):this.close():this.close()}_handleEnter(e){let n=this.openOnEnter()??this.config.openOnEnter;if(this.isOpen()||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else if(n)this.open();else return;e.preventDefault()}_handleSpace(e){this.isOpen()||this._manualOpen||(this.open(),e.preventDefault())}_handleArrowDown(e){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),e.preventDefault()}_handleArrowUp(e){this.isOpen()&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),e.preventDefault())}_nextItemIsTag(e){let n=this.itemsList.markedIndex+e;return this.addTag()&&this.searchTerm&&this.itemsList.markedItem&&(n<0||n===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable()||!this.clearOnBackspace()||!this.hasValue||(this.multiple()?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}_mergeGlobalConfig(e){this.bindValue.set(this.bindValue()||e.bindValue),this.bindLabel.set(this.bindLabel()||e.bindLabel),this.appearance.set(this.appearance()||e.appearance),this._setTabFocusOnClear()}getVirtualScroll(e){return Fn(this.virtualScroll)?this.virtualScroll():this.isVirtualScrollDisabled(e)}isVirtualScrollDisabled(e){return Fn(e.disableVirtualScroll)?!e.disableVirtualScroll:!1}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["ng-select"]],contentQueries:function(n,r,o){n&1&&Ei(o,r.optionTemplate,yB,5,fe)(o,r.optgroupTemplate,bB,5,fe)(o,r.labelTemplate,CB,5,fe)(o,r.multiLabelTemplate,wB,5,fe)(o,r.headerTemplate,xB,5,fe)(o,r.footerTemplate,DB,5,fe)(o,r.n
2308otFoundTemplate,MB,5,fe)(o,r.placeholderTemplate,EB,5,fe)(o,r.typeToSearchTemplate,SB,5,fe)(o,r.loadingTextTemplate,TB,5,fe)(o,r.tagTemplate,IB,5,fe)(o,r.loadingSpinnerTemplate,AB,5,fe)(o,r.clearButtonTemplate,kB,5,fe)(o,r.ngOptions,RB,5),n&2&&ct(14)},viewQuery:function(n,r){n&1&&It(r.dropdownPanel,sI,5)(r.searchInput,bJ,5)(r.clearButton,CJ,5),n&2&&ct(3)},hostVars:20,hostBindings:function(n,r){n&1&&P("keydown",function(a){return r.handleKeyDown(a)}),n&2&&ie("ng-select",!0)("ng-select-single",!r.multiple())("ng-select-typeahead",r.typeahead())("ng-select-multiple",r.multiple())("ng-select-taggable",r.addTag())("ng-select-searchable",r.searchable())("ng-select-clearable",r.clearable())("ng-select-opened",r.isOpen())("ng-select-filtered",r.filtered)("ng-select-disabled",r.disabled())},inputs:{_ariaLabelDropdown:[1,"ariaLabelDropdown","_ariaLabelDropdown"],_ariaLabel:[1,"ariaLabel","_ariaLabel"],_markFirst:[1,"markFirst","_markFirst"],_placeholder:[1,"placeholder","_placeholder"],_fixedPlaceholder:[1,"fixedPlaceholder","_fixedPlaceholder"],_notFoundText:[1,"notFoundText","_notFoundText"],_typeToSearchText:[1,"typeToSearchText","_typeToSearchText"],_preventToggleOnRightClick:[1,"preventToggleOnRightClick","_preventToggleOnRightClick"],_addTagText:[1,"addTagText","_addTagText"],_loadingText:[1,"loadingText","_loadingText"],_clearAllText:[1,"clearAllText","_clearAllText"],_dropdownPosition:[1,"dropdownPosition","_dropdownPosition"],_appendTo:[1,"appendTo","_appendTo"],_outsideClickEvent:[1,"outsideClickEvent","_outsideClickEvent"],_loading:[1,"loading","_loading"],_closeOnSelect:[1,"closeOnSelect","_closeOnSelect"],_hideSelected:[1,"hideSelected","_hideSelected"],_selectOnTab:[1,"selectOnTab","_selectOnTab"],_openOnEnter:[1,"openOnEnter","_openOnEnter"],_maxSelectedItems:[1,"maxSelectedItems","_maxSelectedItems"],_groupBy:[1,"groupBy","_groupBy"],_groupValue:[1,"groupValue","_groupValue"],_bufferAmount:[1,"bufferAmount","_bufferAmount"],_virtualScroll:[1,"virtualScroll","_virtualScroll"],_selectableGroup:[1,"selectableGroup","_selectableGroup"],_tabFocusOnClearButton:[1,"tabFocusOnClearButton","_tabFocusOnClearButton"],_selectableGroupAsModel:[1,"selectableGroupAsModel","_selectableGroupAsModel"],_searchFn:[1,"searchFn","_searchFn"],_trackByFn:[1,"trackByFn","_trackByFn"],_clearOnBackspace:[1,"clearOnBackspace","_clearOnBackspace"],_labelForId:[1,"labelForId","_labelForId"],_inputAttrs:[1,"inputAttrs","_inputAttrs"],_tabIndex:[1,"tabIndex","_tabIndex"],_readonly:[1,"readonly","_readonly"],_searchWhileComposing:[1,"searchWhileComposing","_searchWhileComposing"],_minTermLength:[1,"minTermLength","_minTermLength"],_editableSearchTerm:[1,"editableSearchTerm","_editableSearchTerm"],_ngClass:[1,"ngClass","_ngClass"],_typeahead:[1,"typeahead","_typeahead"],_multiple:[1,"multiple","_multiple"],_addTag:[1,"addTag","_addTag"],_searchable:[1,"searchable","_searchable"],_clearable:[1,"clearable","_clearable"],_clearKeepsDisabledOptions:[1,"clearKeepsDisabledOptions","_clearKeepsDisabledOptions"],_deselectOnClick:[1,"deselectOnClick","_deselectOnClick"],_clearSearchOnAdd:[1,"clearSearchOnAdd","_clearSearchOnAdd"],_compareWith:[1,"compareWith","_compareWith"],_keyDownFn:[1,"keyDownFn","_keyDownFn"],_popover:[1,"popover","_popover"],bindLabel:[1,"bindLabel"],bindValue:[1,"bindValue"],appearance:[1,"appearance"],isOpen:[1,"isOpen"],items:[1,"items"]},outputs:{bindLabel:"bindLabelChange",bindValue:"bindValueChange",appearance:"appearanceChange",isOpen:"isOpenChange",items:"itemsChange",blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},exportAs:["ngSelect"],features:[Ye([{provide:_r,useExisting:vn(()=>t),multi:!0},VB]),Ze],decls:15,vars:22,consts:[["searchInput",""],["defaultPlaceholderTemplate",""],["defaultLabelTemplate",""],["defaultLoadingSpinnerTemplate",""],["clearButton",""],["defaultOptionTemplate",""],["defaultTagTemplate",""],["defaultNotFoundTemplate",""],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""],[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-input"],["aria-autocomplete","list","role","combobox",3,"blur","change","compositionend","compositionstart","focus","input","disabled","readOnly","value"],["role","button","tabindex","0",1,"ng-clear-wrapper",3,"title"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],[1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","outsideClickEvent","headerTemplate","footerTemplate","filterValue","items","showAddTag","markedItem","ng-select-multiple","class","id","ariaLabelDropdown","popover"],["aria-atomic","true","aria-live","polite","role","status",1,"ng-visually-hidden"],[3,"ngTemplateOutlet"],[1,"ng-placeholder"],[1,"ng-value",3,"ng-value-disabled"],[1,"ng-value"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],[1,"ng-spinner-loader"],["role","button","tabindex","0",1,"ng-clear-wrapper",3,"click","title"],["aria-hidden","true",1,"ng-clear"],[1,"ng-dropdown-panel",3,"update","scroll","scrollToEnd","outsideClick","virtualScroll","bufferAmount","appendTo","position","outsideClickEvent","headerTemplate","footerTemplate","filterValue","items","showAddTag","markedItem","id","ariaLabelDropdown","popover"],[1,"ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked"],["role","option",1,"ng-option",3,"ng-option-marked"],[1,"ng-option",3,"click","mouseover"],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],[1,"ng-tag-label"],[1,"ng-option","ng-option-disabled"]],template:function(n,r){if(n&1){let o=le();
2308g(0,"div",10),P("mousedown",function(s){return r.handleMousedown(s)}),g(1,"div",11),E(2,SJ,3,1),E(3,kJ,2,0),E(4,NJ,1,5,null,12),g(5,"div",13)(6,"input",14,0),P("blur",function(s){return r.onInputBlur(s)})("change",function(s){return s.stopPropagation()})("compositionend",function(){B(o);let s=Ie(7);return U(r.onCompositionEnd(s.value))})("compositionstart",function(){return r.onCompositionStart()})("focus",function(s){return r.onInputFocus(s)})("input",function(){B(o);let s=Ie(7);return U(r.filter(s.value))}),_()()(),E(8,FJ,3,1),E(9,jJ,4,4,"span",15),g(10,"span",16),O(11,"span",17),_()(),E(12,tee,8,22,"ng-dropdown-panel",18),g(13,"div",19),E(14,nee,1,1),_()}n&2&&(ie("ng-appearance-outline",r.appearance()==="outline")("ng-appearance-fill",r.appearance()==="fill")("ng-has-value",r.hasValue),f(2),S(r.selectedItems.length===0&&!r.searchTerm||(r.fixedPlaceholder()??r.config.fixedPlaceholder)?2:-1),f(),S((!r.multiLabelTemplate()||!r.multiple())&&r.selectedItems.length>0?3:-1),f(),S(r.multiple()&&r.multiLabelTemplate()&&r.selectedValues.length>0?4:-1),f(2),w("disabled",r.disabled())("readOnly",!r.searchable()||r.itemsList.maxItemsSelected)("value",r.searchTerm??""),N("aria-activedescendant",r.isOpen()?r.itemsList==null||r.itemsList.markedItem==null?null:r.itemsList.markedItem.htmlId:null)("aria-controls",r.isOpen()?r.dropdownId:null)("aria-expanded",r.isOpen())("aria-label",r.ariaLabel())("id",r.labelForId())("tabindex",r.tabIndex()),f(2),S(r.loading()?8:-1),f(),S(r.showClear()?9:-1),f(3),S(r.isOpen()?12:-1),f(2),S(r.isOpen()&&r.showNoItemsFound()?14:-1))},dependencies:[Pn,see,sI],styles:[`@charset "UTF-8";.ng-select{position:relative;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:unset;user-select:unset;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;
2308cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}.ng-visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0;white-space:nowrap} 2309`],encapsulation:2,changeDetection:0})}}return t})(),Ih=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=G({type:t})}static{this.\u0275inj=q({providers:uee()})}}return t})();function uee(){return[{provide:BB,useValue:jB}]}var Md={};yg(Md,{Label:()=>I0});var I0=(function(t){return t.Viewing="Viewing",t.ViewingAs="Viewing As",t})(I0||{});var hee=["switchButtonContainerTemplate"],fee=(t,i)=>({"overflow-hidden text-ellipsis max-w-full":t,"max-w-[211px] min-h-[42px] whitespace-normal overflow-hidden text-ellipsis context-switcher-content-xs":i}),mee=t=>[t];function pee(t,i){if(t&1&&(g(0,"label",5),I(1),_()),t&2){let e=v(3);f(),pe(" ",e.contextSwitcherLabel,":")}}function gee(t,i){if(t&1){let e=le();g(0,"div",3),E(1,pee,2,1,"label",5),g(2,"ng-select",6,0),Nr("ngModelChange",function(r){B(e);let o=v(2);return to(o.selectedContext,r)||(o.selectedContext=r),U(r)}),P("change",function(r){B(e);let o=Ie(3);return v(2).contextSwitcherDropDownChange(r),U(o.blur())}),_()()}if(t&2){let e=v(2);f(),S(e.contextSwitcherLabel?1:-1),f(),w("items",e.contextSwitchers())("placeholder",e.contextSwitchersPlaceholder()),Or("ngModel",e.selectedContext),w("readonly",e.disableOptions())("clearable",e.showClearIcon())("searchable",e.searchText()),N("data-testid",e._testId())}}function _ee(t,i){if(t&1&&(g(0,"label",8),I(1),_()),t&2){let e=v().$implicit;f(),qe(e.name)}}function vee(t,i){if(t&1&&(g(0,"span",7),E(1,_ee,2,1,"label",8),_()),t&2){let e=i.$implicit,n=v(3);w("checkEllipsis",!0)("aamcTooltip",e.name),f(),S((e==null?null:e.id)===n.selectedContext?1:-1)}}function yee(t,i){if(t&1&&(g(0,"div",4),tt(1,vee,2,3,"span",7,Ft),_()),t&2){let e=v(2);f(),nt(e.contextSwitchers())}}function bee(t,i){if(t&1&&(E(0,gee,4,8,"div",3),E(1,yee,3,0,"div",4)),t&2){let e=v();S(!e.showContextName()&&!e.showMultiLevelContextSwitcher?0:-1),f(),S(e.showContextName()&&!e.showMultiLevelContextSwitcher?1:-1)}}function Cee(t,i){t&1&&(g(0,"span",13),I(1," | "),_())}function wee(t,i){if(t&1&&(E(0,Cee,2,0,"span",13),g(1,"span"),I(2),_()),t&2){let e=v(),n=e.$implicit,r=e.$index;S(r!==0?0:-1),f(2),pe(" ",n," ")}}function xee(t,i){if(t&1&&(g(0,"span"),I(1),_()),t&2){let e=v().$implicit;f(),pe(" ... | ",e," ")}}function Dee(t,i){if(t&1&&(g(0,"span"),E(1,wee,3,2),E(2,xee,2,1,"span"),_()),t&2){let e=i.$index,n=i.$count,r=v(2);f(),S(r.isMobile?-1:1),f(),S(e===n-1&&r.isMobile?2:-1)}}function Mee(t,i){if(t&1){let e=le();g(0,"div",2,1)(2,"div",9),I(3),_(),g(4,"div",10),tt(5,Dee,3,2,"span",null,Ft),_(),g(7,"div",11)(8,"button",12),P("click",function(){B(e);let r=v();return U(r.multiLevelContextSwitcherButtonClick.emit(!0))}),I(9," Switch "),_()()()}if(t&2){let e=v();f(3),pe("",e.contextSwitcherLabel," :"),f(),w("showToolTip",e.showEllipses||e.isMobile)("aamcTooltip",e.tooltipText)("ngClass",tn(5,fee,e.showEllipses&&!e.isMobile,e.isMobile)),f(),nt(e.switchDisplayValues),f(3),w("ngClass",Be(8,mee,e.isMobile?"":"small-button"))}}var qp=(()=>{class t{constructor(){this.contextSwitchers=C([]),this.contextSwitchersPlaceholder=C("Select"),this.contextSwitcherLabel=I0.Viewing,this.disableOptions=C(!1),this.showContextName=C(!1),this.showClearIcon=C(!0),this.searchText=C(!0),this.showMultiLevelContextSwitcher=!1,this.showBreadcrumb=C(!1),this.testId=C(void 0),this._testId=Z(()=>Te("context-switcher",this.testId())),this.contextSwitcherValues=new z,this.multiLevelContextSwitcherButtonClick=new z,this._switchButtonContainerTemplate=Qe("switchButtonContainerTemplate"),this.switchDisplayValues=[],this.showEllipses=!1,this.isMobile=!1,this._contextSwitcherDisplayValues=[]}set contextSwitcherDisplayValues(e){this.setSwitchContextDisplayValues(e),this.calculateOffsetWidth(),this.updateEllipsis()}get contextSwitcherDisplayValues(){return this._contextSwitcherDisplayValues}set selectedContext(e){this._selectedContext=e}get selectedContext(){return this._selectedContext}onResize(){this.calculateOffsetWidth(),this.updateEllipsis(),this.detectMobileScreen()}ngOnInit(){this.calculateOffsetWidth(),this.updateEllipsis(),this.detectMobileScreen()}contextSwitcherDropDownChange(e){this.contextSwitcherValues.emit(e)}setSwitchContextDisplayValues(e){this.showEllipses=!1,this._contextSwitcherDisplayValues=e,this.switchDisplayValues=e,this.tooltipText=this.getTooltipText(e),setTimeout(()=>{this.calculateOffsetWidth(),this.updateEllipsis()},10)}calculateOffsetWidth(){let e=this._switchButtonContainerTemplate();e&&this.switchDisplayValues[0]!=="..."&&(this.switchButtonContainerOffsetWidth=e.nativeElement.offsetWidth)}getTooltipText(e){let n="";return e.forEach((r,o)=>{o!==0&&(n+=" | "),n+=r}),n}updateEllipsis(){this.switchButtonContainerOffsetWidth&&this.contextSwitcherDisplayValues.length>1?(this.showBreadcrumb()?window.innerWidth*.65:window.innerWidth)<=this.switchButtonContainerOffsetWidth?(this.switchDisplayValues=["...",this.contextSwitcherDisplayValues[this.contextSwitcherDisplayValues.length-1]],this.showEllipses=!0):(this.switchDisplayValues=this.contextSwitcherDisplayValues,this.showEllipses=!1):this.showEllipses=!0}detectMobileScreen(){this.isMobile=!1,window.innerWidth<=600?this.isMobile=!0:this.isMobile=!1}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-context-switcher"]],viewQuery:function(n,r){n&1&&It(r._switchButtonContainerTemplate,hee,5),n&2&&ct()},hostBindings:function(n,r){n&1&&P("resize",function(){return r.onResize()},ws)},inputs:{contextSwitchers:[1,"contextSwitchers"],contextSwitchersPlaceholder:[1,"contextSwitchersPlaceholder"],contextSwitcherLabel:"contextSwitcherLabel",disableOptions:[1,"disableOptions"],showContextName:[1,"showContextName"],showClearIcon:[1,"showClearIcon"],searchText:[1,"searchText"],showMultiLevelContextSwitcher:"showMultiLevelContextSwitcher",showBreadcrumb:[1,"showBreadcrumb"],testId:[1,"testId"],contextSwitcherDisplayValues:"contextSwitcherDisplayValues",selectedContext:"selectedContext"},outputs:{contextSwitcherValues:"contextSwitcherValues",multiLevelContextSwitcherButtonClick:"multiLevelContextSwitcherButtonClick"},decls:2,vars:1,consts:[["select",""],["switchButtonContainerTemplate",""],["data-testid","multi-level-context-switcher",1,"flex","flex-row","justify-end","gap-[10px]","items-center","whitespace-nowrap"],["data-track-gcl-view","Context Switcher",1,"context-switcher-dropdown","flex","flex-row","flex-wrap","justify-end","xs:justify-start","items-center","m-[-8px_auto]","h-[42px]"],["data-track-gcl-view","Context Switcher","data-testid","context-switcher-single-instance",1,"flex","flex-row","flex-nowrap","justify-end","items-center","!m-0","font-normal","text-[14px]","leading-[26px]","text-black","whitespace-nowrap","overflow-hidden","text-ellipsis","max-w-full"],["for","contextSwitcher",1,"font-bold","whitespace-nowrap","text-black-80","leading-[26px]","mr-1","only-xs:w-full","only-xs:m-1"],["labelForId","contextSwitcher","bindLabel","name","bindValue","id","aria-label","Select Context Switcher",3,"ngModelChange","change","items","placeholder","ngModel","readonly","clearable","searchable"],[1,"self-baseline","whitespace-nowrap","overflow-hidden","text-ellipsis","max-w-full",3,"checkEllipsis","aamcTooltip"],[1,"mr-[10px]"],[1,"font-bold","whitespace-nowrap"],[3,"showToolTip","aamcTooltip","ngClass"],[1,"min-w-[83px]","max-w-[83px]"],["matButton","filled","color","primary",3,"click","ngClass"],[1,"my-0","mx-1"]],template:function(n,r){n&1&&E(0,bee,2,2)(1,Mee,10,10,"div",2),n&2&&S(r.showMultiLevelContextSwitcher?1:0)},dependencies:[Ue,ot,Ih,$l,Hr,yo,yd,di,bt,zt,yi],styles:[`ol[_ngcontent-%COMP%]{list-style-type:decimal}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-roman}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-roman}ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:square}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}.tracking[_ngcontent-%COMP%]{position:absolute;pointer-events:none}.context-switcher-dropdown[_ngcontent-%COMP%] .ng-select[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%]{background-color:transparent!important;border:none!important}.context-switcher-content-xs[_ngcontent-%COMP%]{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical} 2310/*# sourceMappingURL=aamc-context-switcher.component-3NUWRZKH.css.map */`]})}}return t})();var O0=["*"],Eee=["content"],See=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Tee=["mat-drawer","mat-drawer-content","*"];function Iee(t,i){if(t&1){let e=le();g(0,"div",1),P("click",function(){B(e);let r=v();return U(r._onBackdropClicked())}),_()}if(t&2){let e=v();ie("mat-drawer-shown",e._isShowingBackdrop())}}function Aee(t,i){t&1&&(g(0,"mat-drawer-content"),ae(1,2),_())}var kee=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Oee=["mat-sidenav","mat-sidenav-content","*"];function Nee(t,i){if(t&1){let e=le();g(0,"div",1),P("click",function(){B(e);let r=v();return U(r._onBackdropClicked())}),_()}if(t&2){let e=v();ie("mat-drawer-shown",e._isShowingBackdrop())}}function Ree(t,i){t&1&&(g(0,"mat-sidenav-content"),ae(1,2),_())}var Pee=`.mat-drawer-container { 2311 position: relative; 2312 z-index: 1; 2313 color: var(--mat-sidenav-content-text-color, var(--mat-sys-on-background)); 2314 background-color: var(--mat-sidenav-content-background-color, var(--mat-sys-background)); 2315 box-sizing: border-box; 2316 display: block; 2317 overflow: hidden; 2318} 2319.mat-drawer-container[fullscreen] { 2320 top: 0; 2321 left: 0; 2322 right: 0; 2323 bottom: 0; 2324 position: absolute; 2325} 2326.mat-drawer-container[fullscreen].mat-drawer-container-has-open { 2327 overflow: hidden; 2328} 2329.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side { 2330 z-index: 3; 2331} 2332.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop, 2333.mat-drawer-container.ng-animate-disabled .mat-drawer-content, .ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop, 2334.ng-animate-disabled .mat-drawer-container .mat-drawer-content { 2335 transition: none; 2336} 2337 2338.mat-drawer-backdrop { 2339 top: 0; 2340 left: 0; 2341 right: 0; 2342 bottom: 0; 2343 position: absolute; 2344 display: block; 2345 z-index: 3; 2346 visibility: hidden; 2347} 2348.mat-drawer-backdrop.mat-drawer-shown { 2349 visibility: visible; 2350 background-color: var(--mat-sidenav-scrim-color, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent)); 2351} 2352.mat-drawer-transition .mat-drawer-backdrop { 2353 transition-duration: 400ms; 2354 transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1); 2355 transition-property: background-color, visibility; 2356} 2357@media (forced-colors: active) { 2358 .mat-drawer-backdrop { 2359 opacity: 0.5; 2360 } 2361} 2362 2363.mat-drawer-content { 2364 position: relative; 2365 z-index: 1; 2366 display: block; 2367 height: 100%; 2368 overflow: auto; 2369} 2370.mat-drawer-content.mat-drawer-content-hidden { 2371 opacity: 0; 2372} 2373.mat-drawer-transition .mat-drawer-content { 2374 transition-duration: 400ms; 2375 transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1); 2376 transition-property: transform, margin-left, margin-right; 2377} 2378 2379.mat-drawer { 2380 position: relative; 2381 z-index: 4; 2382 color: var(--mat-sidenav-container-text-color, var(--mat-sys-on-surface-variant)); 2383 box-shadow: var(--mat-sidenav-container-elevation-shadow, none); 2384 background-color: var(--mat-sidenav-container-background-color, var(--mat-sys-surface)); 2385 border-top-right-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 2386 border-bottom-right-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 2387 width: var(--mat-sidenav-container-width, 360px); 2388 display: block; 2389 position: absolute; 2390 top: 0; 2391 bottom: 0; 2392 z-index: 3; 2393 outline: 0; 2394 box-sizing: border-box; 2395 overflow-y: auto; 2396 transform: translate3d(-100%, 0, 0); 2397} 2398@media (forced-colors: active) { 2399 .mat-drawer, [dir=rtl] .mat-drawer.mat-drawer-end { 2400 border-right: solid 1px currentColor; 2401 } 2402} 2403@media (forced-colors: active) { 2404 [dir=rtl] .mat-drawer, .mat-drawer.mat-drawer-end { 2405 border-left: solid 1px currentColor;
2406 border-right: none; 2407 } 2408} 2409.mat-drawer.mat-drawer-side { 2410 z-index: 2; 2411} 2412.mat-drawer.mat-drawer-end { 2413 right: 0; 2414 transform: translate3d(100%, 0, 0); 2415 border-top-left-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 2416 border-bottom-left-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 2417 border-top-right-radius: 0; 2418 border-bottom-right-radius: 0; 2419} 2420[dir=rtl] .mat-drawer { 2421 border-top-left-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 2422 border-bottom-left-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 2423 border-top-right-radius: 0; 2424 border-bottom-right-radius: 0; 2425 transform: translate3d(100%, 0, 0); 2426} 2427[dir=rtl] .mat-drawer.mat-drawer-end { 2428 border-top-right-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 2429 border-bottom-right-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 2430 border-top-left-radius: 0; 2431 border-bottom-left-radius: 0; 2432 left: 0; 2433 right: auto; 2434 transform: translate3d(-100%, 0, 0); 2435} 2436.mat-drawer-transition .mat-drawer { 2437 transition: transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1); 2438} 2439.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) { 2440 visibility: hidden; 2441 box-shadow: none; 2442} 2443.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) .mat-drawer-inner-container { 2444 display: none; 2445} 2446.mat-drawer.mat-drawer-opened.mat-drawer-opened { 2447 transform: none; 2448} 2449 2450.mat-drawer-side { 2451 box-shadow: none; 2452 border-right-color: var(--mat-sidenav-container-divider-color, transparent); 2453 border-right-width: 1px; 2454 border-right-style: solid; 2455} 2456.mat-drawer-side.mat-drawer-end { 2457 border-left-color: var(--mat-sidenav-container-divider-color, transparent); 2458 border-left-width: 1px; 2459 border-left-style: solid; 2460 border-right: none; 2461} 2462[dir=rtl] .mat-drawer-side { 2463 border-left-color: var(--mat-sidenav-container-divider-color, transparent); 2464 border-left-width: 1px; 2465 border-left-style: solid; 2466 border-right: none; 2467} 2468[dir=rtl] .mat-drawer-side.mat-drawer-end { 2469 border-right-color: var(--mat-sidenav-container-divider-color, transparent); 2470 border-right-width: 1px; 2471 border-right-style: solid; 2472 border-left: none; 2473} 2474 2475.mat-drawer-inner-container { 2476 width: 100%; 2477 height: 100%; 2478 overflow: auto; 2479} 2480 2481.mat-sidenav-fixed { 2482 position: fixed; 2483} 2484`;var Fee=new T("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:()=>!1}),fI=new T("MAT_DRAWER_CONTAINER"),A0=(()=>{class t extends Vs{_platform=d(st);_changeDetectorRef=d(Pe);_container=d(hI);constructor(){let e=d(Q),n=d(qa),r=d(ne);super(e,n,r)}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}_shouldBeHidden(){if(this._platform.isBrowser)return!1;let{start:e,end:n}=this._container;return e!=null&&e.mode!=="over"&&e.opened||n!=null&&n.mode!=="over"&&n.opened}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:6,hostBindings:function(n,r){n&2&&(Rn("margin-left",r._container._contentMargins.left,"px")("margin-right",r._container._contentMargins.right,"px"),ie("mat-drawer-content-hidden",r._shouldBeHidden()))},features:[Ye([{provide:Vs,useExisting:t}]),Je],ngContentSelectors:O0,decls:1,vars:0,template:function(n,r){n&1&&(We(),ae(0))},encapsulation:2,changeDetection:0})}return t})(),uI=(()=>{class t{_elementRef=d(Q);_focusTrapFactory=d(lh);_focusMonitor=d(Qi);_platform=d(st);_ngZone=d(ne);_renderer=d(Ge);_interactivityChecker=d(jl);_doc=d(ve);_container=d(fI,{optional:!0});_focusTrap=null;_elementFocusedBeforeDrawerWasOpened=null;_eventCleanups;_isAttached=!1;_anchor=null;get position(){return this._position}set position(e){e=e==="end"?"end":"start",e!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}_position="start";get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}_mode="over";get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=ki(e)}_disableClose=!1;get autoFocus(){let e=this._autoFocus;return e??(this.mode==="side"?"dialog":"first-tabbable")}set autoFocus(e){(e==="true"||e==="false"||e==null)&&(e=ki(e)),this._autoFocus=e}
2484_autoFocus;get opened(){return this._opened()}set opened(e){this.toggle(ki(e))}_opened=re(!1);_openedVia=null;_animationStarted=new V;_animationEnd=new V;openedChange=new z(!0);_openedStream=this.openedChange.pipe(J(e=>e),X(()=>{}));openedStart=this._animationStarted.pipe(J(()=>this.opened),rl(void 0));_closedStream=this.openedChange.pipe(J(e=>!e),X(()=>{}));closedStart=this._animationStarted.pipe(J(()=>!this.opened),rl(void 0));_destroyed=new V;onPositionChanged=new z;_content;_modeChanged=new V;_injector=d(he);_changeDetectorRef=d(Pe);constructor(){this.openedChange.pipe(Ee(this._destroyed)).subscribe(e=>{e?(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement,this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._eventCleanups=this._ngZone.runOutsideAngular(()=>{let e=this._renderer,n=this._elementRef.nativeElement;return[e.listen(n,"keydown",r=>{r.keyCode===27&&!this.disableClose&&!un(r)&&this._ngZone.run(()=>{this.close(),r.stopPropagation(),r.preventDefault()})}),e.listen(n,"transitionend",this._handleTransitionEvent),e.listen(n,"transitioncancel",this._handleTransitionEvent)]}),this._animationEnd.subscribe(()=>{this.openedChange.emit(this.opened)})}_forceFocus(e,n){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{o(),a(),e.removeAttribute("tabindex")},o=this._renderer.listen(e,"blur",r),a=this._renderer.listen(e,"mousedown",r)})),e.focus(n)}_focusByCssSelector(e,n){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,n)}_takeFocus(){if(!this._focusTrap)return;let e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":en(()=>{!this._focusTrap.focusInitialElement()&&typeof e.focus=="function"&&e.focus()},{injector:this._injector});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus);break}}_restoreFocus(e){this.autoFocus!=="dialog"&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){let e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._position==="end"&&this._updatePositionInParent("end"),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngOnDestroy(){this._eventCleanups.forEach(e=>e()),this._focusTrap?.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,n){e&&n&&(this._openedVia=n);let r=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),r}_setOpen(e,n,r){return e===this.opened?Promise.resolve(e?"open":"close"):(this._opened.set(e),this._container?._transitionsEnabled?(this._setIsAnimating(!0),setTimeout(()=>this._animationStarted.next())):setTimeout(()=>{this._animationStarted.next(),this._animationEnd.next()}),this._elementRef.nativeElement.classList.toggle("mat-drawer-opened",e),!e&&n&&this._restoreFocus(r),this._changeDetectorRef.markForCheck(),this._updateFocusTrapState(),new Promise(o=>{this.openedChange.pipe(Fe(1)).subscribe(a=>o(a?"open":"close"))}))}_setIsAnimating(e){this._elementRef.nativeElement.classList.toggle("mat-drawer-animating",e)}_getWidth(){return this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&!!this._container?._isShowingBackdrop())}_updatePositionInParent(e){if(!this._platform.isBrowser)return;let n=this._elementRef.nativeElement,r=n.parentNode;e==="end"?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),r.insertBefore(this._anchor,
2484n)),r.appendChild(n)):this._anchor&&this._anchor.parentNode.insertBefore(n,this._anchor)}_handleTransitionEvent=e=>{let n=this._elementRef.nativeElement;e.target===n&&this._ngZone.run(()=>{e.type==="transitionend"&&this._setIsAnimating(!1),this._animationEnd.next(e)})};static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["mat-drawer"]],viewQuery:function(n,r){if(n&1&&Zt(Eee,5),n&2){let o;we(o=xe())&&(r._content=o.first)}},hostAttrs:[1,"mat-drawer"],hostVars:12,hostBindings:function(n,r){n&2&&(N("align",null)("tabIndex",r.mode!=="side"?"-1":null),Rn("visibility",!r._container&&!r.opened?"hidden":null),ie("mat-drawer-end",r.position==="end")("mat-drawer-over",r.mode==="over")("mat-drawer-push",r.mode==="push")("mat-drawer-side",r.mode==="side"))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:O0,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(n,r){n&1&&(We(),g(0,"div",1,0),ae(2),_())},dependencies:[Vs],encapsulation:2,changeDetection:0})}return t})(),hI=(()=>{class t{_dir=d(xn,{optional:!0});_element=d(Q);_ngZone=d(ne);_changeDetectorRef=d(Pe);_animationDisabled=Nt();_transitionsEnabled=!1;_allDrawers;_drawers=new Tr;_content;_userContent;get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=ki(e)}_autosize=d(Fee);get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(e){this._backdropOverride=e==null?null:ki(e)}_backdropOverride=null;backdropClick=new z;_start=null;_end=null;_left=null;_right=null;_destroyed=new V;_doCheckSubject=new V;_contentMargins={left:null,right:null};_contentMarginChanges=new V;get scrollable(){return this._userContent||this._content}_injector=d(he);constructor(){let e=d(st),n=d(aa);this._dir?.change.pipe(Ee(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),n.change().pipe(Ee(this._destroyed)).subscribe(()=>this.updateContentMargins()),!this._animationDisabled&&e.isBrowser&&this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._element.nativeElement.classList.add("mat-drawer-transition"),this._transitionsEnabled=!0},200)})}ngAfterContentInit(){this._allDrawers.changes.pipe(Ot(this._allDrawers),Ee(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(n=>!n._container||n._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Ot(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(ii(10),Ee(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,n=0;if(this._left&&this._left.opened){if(this._left.mode=="side")e+=this._left._getWidth();else if(this._left.mode=="push"){let r=this._left._getWidth();e+=r,n-=r}}if(this._right&&this._right.opened){if(this._right.mode=="side")n+=this._right._getWidth();else if(this._right.mode=="push"){let r=this._right._getWidth();n+=r,e-=r}}e=e||null,n=n||null,(e!==this._contentMargins.left||n!==this._contentMargins.right)&&(this._contentMargins={left:e,right:n},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe(Ee(this._drawers.changes)).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),e.mode!=="side"&&e.openedChange.pipe(Ee(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e.onPositionChanged.pipe(Ee(this._drawers.changes)).subscribe(()=>{en({read:()=>
2484this._validateDrawers()},{injector:this._injector})})}_watchDrawerMode(e){e._modeChanged.pipe(Ee(qt(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){let n=this._element.nativeElement.classList,r="mat-drawer-container-has-open";e?n.add(r):n.remove(r)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{e.position=="end"?(this._end!=null,this._end=e):(this._start!=null,this._start=e)}),this._right=this._left=null,this._dir&&this._dir.value==="rtl"?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&this._start.mode!="over"||this._isDrawerOpen(this._end)&&this._end.mode!="over"}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._drawerHasBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(e){return e!=null&&e.opened}_drawerHasBackdrop(e){return this._backdropOverride==null?!!e&&e.mode!=="side":this._backdropOverride}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(n,r,o){if(n&1&&Nn(o,A0,5)(o,uI,5),n&2){let a;we(a=xe())&&(r._content=a.first),we(a=xe())&&(r._allDrawers=a)}},viewQuery:function(n,r){if(n&1&&Zt(A0,5),n&2){let o;we(o=xe())&&(r._userContent=o.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(n,r){n&2&&ie("mat-drawer-container-explicit-backdrop",r._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[Ye([{provide:fI,useExisting:t}])],ngContentSelectors:Tee,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(n,r){n&1&&(We(See),E(0,Iee,1,2,"div",0),ae(1),ae(2,1),E(3,Aee,2,0,"mat-drawer-content")),n&2&&(S(r.hasBackdrop?0:-1),f(3),S(r._content?-1:3))},dependencies:[A0],styles:[`.mat-drawer-container { 2485 position: relative; 2486 z-index: 1; 2487 color: var(--mat-sidenav-content-text-color, var(--mat-sys-on-background)); 2488 background-color: var(--mat-sidenav-content-background-color, var(--mat-sys-background)); 2489 box-sizing: border-box; 2490 display: block; 2491 overflow: hidden; 2492} 2493.mat-drawer-container[fullscreen] { 2494 top: 0; 2495 left: 0; 2496 right: 0; 2497 bottom: 0; 2498 position: absolute; 2499} 2500.mat-drawer-container[fullscreen].mat-drawer-container-has-open { 2501 overflow: hidden; 2502} 2503.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side { 2504 z-index: 3; 2505} 2506.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop, 2507.mat-drawer-container.ng-animate-disabled .mat-drawer-content, .ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop, 2508.ng-animate-disabled .mat-drawer-container .mat-drawer-content { 2509 transition: none; 2510} 2511 2512.mat-drawer-backdrop { 2513 top: 0; 2514 left: 0; 2515 right: 0; 2516 bottom: 0; 2517 position: absolute; 2518 display: block; 2519 z-index: 3; 2520 visibility: hidden; 2521} 2522.mat-drawer-backdrop.mat-drawer-shown { 2523 visibility: visible; 2524 background-color: var(--mat-sidenav-scrim-color, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent)); 2525} 2526.mat-drawer-transition .mat-drawer-backdrop { 2527 transition-duration: 400ms; 2528 transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1); 2529 transition-property: background-color, visibility; 2530} 2531@media (forced-colors: active) { 2532 .mat-drawer-backdrop { 2533 opacity: 0.5; 2534 } 2535} 2536 2537.mat-drawer-content { 2538 position: relative; 2539 z-index: 1; 2540 display: block; 2541 height: 100%; 2542 overflow: auto; 2543} 2544.mat-drawer-content.mat-drawer-content-hidden { 2545 opacity: 0; 2546} 2547.mat-drawer-transition .mat-drawer-content { 2548 transition-duration: 400ms; 2549 transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1); 2550 transition-property: transform, margin-left, margin-right; 2551} 2552 2553.mat-drawer { 2554 position: relative; 2555 z-index: 4; 2556 color: var(--mat-sidenav-container-text-color, var(--mat-sys-on-surface-variant)); 2557 box-shadow: var(--mat-sidenav-container-elevation-shadow, none); 2558 background-color: var(--mat-sidenav-container-background-color, var(--mat-sys-surface)); 2559 border-top-right-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 2560 border-bottom-right-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 2561 width: var(--mat-sidenav-container-width, 360px); 2562 display: block; 2563 position: absolute; 2564 top: 0; 2565 bottom: 0; 2566 z-index: 3; 2567 outline: 0; 2568 box-sizing: border-box; 2569 overflow-y: auto; 2570 transform: translate3d(-100%, 0, 0); 2571} 2572@media (forced-colors: active) { 2573 .mat-drawer, [dir=rtl] .mat-drawer.mat-drawer-end { 2574 border-right: solid 1px currentColor; 2575 } 2576} 2577@media (forced-colors: active) { 2578 [dir=rtl] .mat-drawer, .mat-drawer.mat-drawer-end { 2579 border-left: solid 1px currentColor;
2580 border-right: none; 2581 } 2582} 2583.mat-drawer.mat-drawer-side { 2584 z-index: 2; 2585} 2586.mat-drawer.mat-drawer-end { 2587 right: 0; 2588 transform: translate3d(100%, 0, 0); 2589 border-top-left-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 2590 border-bottom-left-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 2591 border-top-right-radius: 0; 2592 border-bottom-right-radius: 0; 2593} 2594[dir=rtl] .mat-drawer { 2595 border-top-left-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 2596 border-bottom-left-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 2597 border-top-right-radius: 0; 2598 border-bottom-right-radius: 0; 2599 transform: translate3d(100%, 0, 0); 2600} 2601[dir=rtl] .mat-drawer.mat-drawer-end { 2602 border-top-right-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 2603 border-bottom-right-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 2604 border-top-left-radius: 0; 2605 border-bottom-left-radius: 0; 2606 left: 0; 2607 right: auto; 2608 transform: translate3d(-100%, 0, 0); 2609} 2610.mat-drawer-transition .mat-drawer { 2611 transition: transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1); 2612} 2613.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) { 2614 visibility: hidden; 2615 box-shadow: none; 2616} 2617.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) .mat-drawer-inner-container { 2618 display: none; 2619} 2620.mat-drawer.mat-drawer-opened.mat-drawer-opened { 2621 transform: none; 2622} 2623 2624.mat-drawer-side { 2625 box-shadow: none; 2626 border-right-color: var(--mat-sidenav-container-divider-color, transparent); 2627 border-right-width: 1px; 2628 border-right-style: solid; 2629} 2630.mat-drawer-side.mat-drawer-end { 2631 border-left-color: var(--mat-sidenav-container-divider-color, transparent); 2632 border-left-width: 1px; 2633 border-left-style: solid; 2634 border-right: none; 2635} 2636[dir=rtl] .mat-drawer-side { 2637 border-left-color: var(--mat-sidenav-container-divider-color, transparent); 2638 border-left-width: 1px; 2639 border-left-style: solid; 2640 border-right: none; 2641} 2642[dir=rtl] .mat-drawer-side.mat-drawer-end { 2643 border-right-color: var(--mat-sidenav-container-divider-color, transparent); 2644 border-right-width: 1px; 2645 border-right-style: solid; 2646 border-left: none; 2647} 2648 2649.mat-drawer-inner-container { 2650 width: 100%; 2651 height: 100%; 2652 overflow: auto; 2653} 2654 2655.mat-sidenav-fixed { 2656 position: fixed; 2657} 2658`],encapsulation:2,changeDetection:0})}return t})(),k0=(()=>{class t extends A0{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Dt(t)))(r||t)}})();static \u0275cmp=F({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],features:[Ye([{provide:Vs,useExisting:t}]),Je],ngContentSelectors:O0,decls:1,vars:0,template:function(n,r){n&1&&(We(),ae(0))},encapsulation:2,changeDetection:0})}return t})(),Ah=(()=>{class t extends uI{get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=ki(e)}_fixedInViewport=!1;get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=po(e)}_fixedTopGap=0;get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=po(e)}_fixedBottomGap=0;static \u0275fac=(()=>{let e;return function(r){return(e||(e=Dt(t)))(r||t)}})();static \u0275cmp=F({type:t,selectors:[["mat-sidenav"]],hostAttrs:[1,"mat-drawer","mat-sidenav"],hostVars:16,hostBindings:function(n,r){n&2&&(N("tabIndex",r.mode!=="side"?"-1":null)("align",null),Rn("top",r.fixedInViewport?r.fixedTopGap:null,"px")("bottom",r.fixedInViewport?r.fixedBottomGap:null,"px"),ie("mat-drawer-end",r.position==="end")("mat-drawer-over",r.mode==="over")("mat-drawer-push",r.mode==="push")("mat-drawer-side",r.mode==="side")("mat-sidenav-fixed",r.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[Ye([{provide:uI,useExisting:t}]),Je],ngContentSelectors:O0,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(n,r){n&1&&(We(),g(0,"div",1,0),ae(2),_())},dependencies:[Vs],encapsulation:2,changeDetection:0})}return t})(),UB=(()=>{class t extends hI{_allDrawers=void 0;_content=void 0;static \u0275fac=(()=>{let e;return function(r){return(e||(e=Dt(t)))(r||t)}})();static \u0275cmp=F({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(n,r,o){if(n&1&&Nn(o,k0,5)(o,Ah,5),n&2){let a;we(a=xe())&&(r._content=a.first),we(a=xe())&&(r._allDrawers=a)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(n,r){n&2&&ie("mat-drawer-container-explicit-backdrop",r._backdropOverride)},exportAs:["matSidenavContainer"],features:[Ye([{provide:fI,useExisting:t},{provide:hI,useExisting:t}]),Je],ngContentSelectors:Oee,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(n,r){n&1&&(We(kee),E(0,Nee,1,2,"div",0),ae(1),ae(2,1),E(3,Ree,2,0,"mat-sidenav-content")),n&2&&(S(r.hasBackdrop?0:-1),f(3),S(r._content?-1:3))},dependencies:[k0],styles:[Pee],encapsulation:2,changeDetection:0})}return t})(),Gp=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({imports:[ur,gt,ur]})}return t})();var Ed=(()=>{class t{constructor(){this._openNotification=new V,this._openDownload=new V,this._openMessages=new V,this._openHelp=new V,this._searchValue=new V,this._searchValueChanged=new V,this._searchSuggestionSelected=new V,this._bannerList=new pt([]),this.bannerList$=this._bannerList.asObservable(),this.currentRouterEvent=ne
2658w pt(null)}setBanners(e){e.sort((n,r)=>!n.onClose&&r.onClose?-1:n.onClose&&!r.onClose?1:0),this._bannerList.next(e)}getLatestRouterEvent(){return this.currentRouterEvent.asObservable()}setLatestRouterEvent(e){this.currentRouterEvent.next(e)}get openNotification(){return this._openNotification.asObservable()}triggerNotifications(){this._openNotification.next()}get openDownload(){return this._openDownload.asObservable()}triggerDownloads(){this._openDownload.next()}get openMessages(){return this._openMessages.asObservable()}triggerMessages(){this._openMessages.next()}get openHelp(){return this._openHelp.asObservable()}triggerHelp(){this._openHelp.next()}get searchValue(){return this._searchValue.asObservable()}get searchValueChanged(){return this._searchValueChanged.asObservable()}get searchSuggestionSelected(){return this._searchSuggestionSelected.asObservable()}updateSearch(e){this._searchValue.next(e)}onSearchValueChanged(e){this._searchValueChanged.next(e)}onSearchSuggestionSelected(e){this._searchSuggestionSelected.next(e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var HB=(()=>{class t{_animationsDisabled=Nt();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(n,r){n&2&&ie("mat-pseudo-checkbox-indeterminate",r.state==="indeterminate")("mat-pseudo-checkbox-checked",r.state==="checked")("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal",r.appearance==="minimal")("mat-pseudo-checkbox-full",r.appearance==="full")("_mat-animation-noopable",r._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(n,r){},styles:[`.mat-pseudo-checkbox { 2659 border-radius: 2px; 2660 cursor: pointer; 2661 display: inline-block; 2662 vertical-align: middle; 2663 box-sizing: border-box; 2664 position: relative; 2665 flex-shrink: 0; 2666 transition: border-color 90ms cubic-bezier(0, 0, 0.2, 0.1), background-color 90ms cubic-bezier(0, 0, 0.2, 0.1); 2667} 2668.mat-pseudo-checkbox::after { 2669 position: absolute; 2670 opacity: 0; 2671 content: ""; 2672 border-bottom: 2px solid currentColor; 2673 transition: opacity 90ms cubic-bezier(0, 0, 0.2, 0.1); 2674} 2675.mat-pseudo-checkbox._mat-animation-noopable { 2676 transition: none !important; 2677 animation: none !important; 2678} 2679.mat-pseudo-checkbox._mat-animation-noopable::after { 2680 transition: none; 2681} 2682 2683.mat-pseudo-checkbox-disabled { 2684 cursor: default; 2685} 2686 2687.mat-pseudo-checkbox-indeterminate::after { 2688 left: 1px; 2689 opacity: 1; 2690 border-radius: 2px; 2691} 2692 2693.mat-pseudo-checkbox-checked::after { 2694 left: 1px; 2695 border-left: 2px solid currentColor; 2696 transform: rotate(-45deg); 2697 opacity: 1; 2698 box-sizing: content-box; 2699} 2700 2701.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after, .mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after { 2702 color: var(--mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--mat-sys-primary)); 2703} 2704.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after, .mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after { 2705 color: var(--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 2706} 2707 2708.mat-pseudo-checkbox-full { 2709 border-color: var(--mat-pseudo-checkbox-full-unselected-icon-color, var(--mat-sys-on-surface-variant)); 2710 border-width: 2px; 2711 border-style: solid; 2712} 2713.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled { 2714 border-color: var(--mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 2715} 2716.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate { 2717 background-color: var(--mat-pseudo-checkbox-full-selected-icon-color, var(--mat-sys-primary)); 2718 border-color: transparent; 2719} 2720.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after {
2721 color: var(--mat-pseudo-checkbox-full-selected-checkmark-color, var(--mat-sys-on-primary)); 2722} 2723.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled { 2724 background-color: var(--mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 2725} 2726.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after { 2727 color: var(--mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--mat-sys-surface)); 2728} 2729 2730.mat-pseudo-checkbox { 2731 width: 18px; 2732 height: 18px; 2733} 2734 2735.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after { 2736 width: 14px; 2737 height: 6px; 2738 transform-origin: center; 2739 top: -4.2426406871px; 2740 left: 0; 2741 bottom: 0; 2742 right: 0; 2743 margin: auto; 2744} 2745.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after { 2746 top: 8px; 2747 width: 16px; 2748} 2749 2750.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after { 2751 width: 10px; 2752 height: 4px; 2753 transform-origin: center; 2754 top: -2.8284271247px; 2755 left: 0; 2756 bottom: 0; 2757 right: 0; 2758 margin: auto; 2759} 2760.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after { 2761 top: 6px; 2762 width: 12px; 2763} 2764`],encapsulation:2,changeDetection:0})}return t})();var Vee=["text"],jee=[[["mat-icon"]],"*"],Bee=["mat-icon","*"];function Uee(t,i){if(t&1&&O(0,"mat-pseudo-checkbox",1),t&2){let e=v();w("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function Hee(t,i){if(t&1&&O(0,"mat-pseudo-checkbox",3),t&2){let e=v();w("disabled",e.disabled)}}function zee(t,i){if(t&1&&(g(0,"span",4),I(1),_()),t&2){let e=v();f(),pe("(",e.group.label,")")}}var mI=new T("MAT_OPTION_PARENT_COMPONENT"),pI=new T("MatOptgroup");var Yp=class{source;isUserInput;constructor(i,e=!1){this.source=i,this.isUserInput=e}},kh=(()=>{class t{_element=d(Q);_changeDetectorRef=d(Pe);_parent=d(mI,{optional:!0});group=d(pI,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=d(Et).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=re(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new z;_text;_stateChanges=new V;constructor(){let e=d(dn);e.load(Ja),e.load(_o),this._signalDisableRipple=!!this._parent&&Ra(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,n){let r=this._getHostElement();typeof r.focus=="function"&&r.focus(n)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!un(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new Yp(this,e))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["mat-option"]],viewQuery:function(n,r){if(n&1&&Zt(Vee,7),n&2){let o;we(o=xe())&&(r._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(n,r){n&1&&P("click",function(){return r._selectViaInteraction()})("keydown",function(a){return r._handleKeydown(a)}),n&2&&(wt("id",r.id),N("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),ie("mdc-list-item--selected",r.selected)("mat-mdc-option-multiple",r.multiple)("mat-mdc-option-active",r.active)("mdc-list-item--disabled",r.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",ue]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:Bee,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(n,r){n&1&&(We(jee),E(0,Uee,1,2,"mat-pseudo-checkbox",1),ae(1),g(2,"span",2,0),ae(4,1),_(),E(5,Hee,1,1,"mat-pseudo-checkbox",3),E(6,zee,2,1,"span",4),O(7,"div",5)),n&2&&(S(r.multiple?0:-1),f(5),S(!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),f(),S(r.group&&r.group._inert?6:-1),f(),w("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[HB,a0],styles:[`.mat-mdc-option { 2765 -webkit-user-select: none; 2766 user-select: none; 2767 -moz-osx-font-smoothing: grayscale; 2768 -webkit-font-smoothing: antialiased; 2769 display: flex; 2770 position: relative; 2771 align-items: center; 2772 justify-content: flex-start; 2773 overflow: hidden; 2774 min-height: 48px; 2775 padding: 0 16px; 2776 cursor: pointer; 2777 -webkit-tap-highlight-color: transparent; 2778 color: var(--mat-option-label-text-color, var(--mat-sys-on-surface)); 2779 font-family: var(--mat-option-label-text-font, var(--mat-sys-label-large-font)); 2780 line-height: var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height)); 2781 font-size: var(--mat-option-label-text-size, var(--mat-sys-body-large-size)); 2782 letter-spacing: var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking)); 2783 font-weight: var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight)); 2784} 2785.mat-mdc-option:hover:not(.mdc-list-item--disabled) { 2786 background-color: var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent)); 2787} 2788.mat-mdc-option:focus.mdc-list-item, .mat-mdc-option.mat-mdc-option-active.mdc-list-item { 2789 background-color: var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent)); 2790 outline: 0; 2791} 2792.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active, .mat-mdc-option-multiple, :focus, :hover) { 2793 background-color: var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container)); 2794} 2795.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active, .mat-mdc-option-multiple, :focus, :hover) .mdc-list-item__primary-text { 2796 color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container)); 2797} 2798.mat-mdc-option .mat-pseudo-checkbox { 2799 --mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container)); 2800} 2801.mat-mdc-option.mdc-list-item { 2802 align-items: center; 2803 background: transparent; 2804} 2805.mat-mdc-option.mdc-list-item--disabled { 2806 cursor: default; 2807 pointer-events: none; 2808} 2809.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox, .mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text, .mat-mdc-option.mdc-list-item--disabled > mat-icon { 2810 opacity: 0.38; 2811} 2812.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple) { 2813 padding-left: 32px; 2814} 2815[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple) { 2816 padding-left: 16px; 2817 padding-right: 32px; 2818} 2819.mat-mdc-option .mat-icon, 2820.mat-mdc-option .mat-pseudo-checkbox-full { 2821 margin-right: 16px; 2822 flex-shrink: 0; 2823} 2824[dir=rtl] .mat-mdc-option .mat-icon, 2825[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full { 2826 margin-right: 0; 2827 margin-left: 16px; 2828} 2829.mat-mdc-option .mat-pseudo-checkbox-minimal { 2830 margin-left: 16px; 2831 flex-shrink: 0; 2832} 2833[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal { 2834 margin-right: 16px; 2835 margin-left: 0; 2836} 2837.mat-mdc-option .mat-mdc-option-ripple { 2838 top: 0; 2839 left: 0; 2840 right: 0; 2841 bottom: 0; 2842 position: absolute; 2843 pointer-events: none; 2844} 2845.mat-mdc-option .mdc-list-item__primary-text { 2846 white-space: normal; 2847 font-size: inherit; 2848 font-weight: inherit; 2849 letter-spacing: inherit; 2850 line-height: inherit; 2851 font-family: inherit; 2852 text-decoration: inherit; 2853 text-transform: inherit; 2854 margin-right: auto; 2855} 2856[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text { 2857 margin-right: 0; 2858 margin-left: auto; 2859} 2860@media (forced-colors: active) { 2861 .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after { 2862 content: ""; 2863 position: absolute; 2864 top: 50%; 2865 right: 16px; 2866 transform: translateY(-50%); 2867 width: 10px; 2868 height: 0; 2869 border-bottom: solid 10px; 2870 border-radius: 10px; 2871 } 2872 [dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after { 2873 right: auto; 2874 left: 16px; 2875 } 2876} 2877 2878.mat-mdc-option-multiple { 2879 --mat-list-list-item-selected-container-color: var(--mat-list-list-item-container-color, transparent); 2880} 2881 2882.mat-mdc-option-active .mat-focus-indicator::before { 2883 content: ""; 2884} 2885`],encapsulation:2,changeDetection:0})}return t})();function zB(t,i,e){if(e.length){let n=i.toArray(),r=e.toArray(),o=0;for(let a=0;
vendor: 35,395 bytes, lines 2885-3074
2885a<t+1;a++)n[a].group&&n[a].group===r[o]&&o++;return o}return 0}function $B(t,i,e,n){return t<e?t:t+i>e+n?Math.max(0,t-n+i):e}var WB=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({imports:[gt]})}return t})();var gI=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({imports:[ph,WB,kh,gt]})}return t})();var $ee=["panel"],Wee=["*"];function qee(t,i){if(t&1&&(Tt(0,"div",1,0),ae(2),Ut()),t&2){let e=i.id,n=v();bn(n._classList),ie("mat-mdc-autocomplete-visible",n.showPanel)("mat-mdc-autocomplete-hidden",!n.showPanel)("mat-autocomplete-panel-animations-enabled",!n._animationsDisabled)("mat-primary",n._color==="primary")("mat-accent",n._color==="accent")("mat-warn",n._color==="warn"),wt("id",n.id),N("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby(e))}}var _I=class{source;option;constructor(i,e){this.source=i,this.option=e}},qB=new T("mat-autocomplete-default-options",{providedIn:"root",factory:()=>({autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1,hasBackdrop:!1})}),GB=(()=>{class t{_changeDetectorRef=d(Pe);_elementRef=d(Q);_defaults=d(qB);_animationsDisabled=Nt();_activeOptionChanges=Re.EMPTY;_keyManager;showPanel=!1;get isOpen(){return this._isOpen&&this.showPanel}_isOpen=!1;_latestOpeningTrigger;_setColor(e){this._color=e,this._changeDetectorRef.markForCheck()}_color;template;panel;options;optionGroups;ariaLabel;ariaLabelledby;displayWith=null;autoActiveFirstOption;autoSelectActiveOption;requireSelection;panelWidth;disableRipple=!1;optionSelected=new z;opened=new z;closed=new z;optionActivated=new z;set classList(e){this._classList=e,this._elementRef.nativeElement.className=""}_classList;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator;_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}id=d(Et).getId("mat-autocomplete-");inertGroups;constructor(){let e=d(st);this.inertGroups=e?.SAFARI||!1,this.autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this.autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.requireSelection=!!this._defaults.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new Ep(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options?.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){let n=new _I(this,e);this.optionSelected.emit(n)}_getPanelAriaLabelledby(e){if(this.ariaLabel)return null;let n=e?e+" ":"";return this.ariaLabelledby?n+this.ariaLabelledby:e}_skipPredicate(){return!1}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(n,r,o){if(n&1&&Nn(o,kh,5)(o,pI,5),n&2){let a;we(a=xe())&&(r.options=a),we(a=xe())&&(r.optionGroups=a)}},viewQuery:function(n,r){if(n&1&&Zt(fe,7)($ee,5),n&2){let o;we(o=xe())&&(r.template=o.first),we(o=xe())&&(r.panel=o.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",ue],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",ue],requireSelection:[2,"requireSelection","requireSelection",ue],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",ue],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",ue]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[Ye([{provide:mI,useExisting:t}])],ngContentSelectors:Wee,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(n,r){n&1&&(We(),Pc(0,qee,3,17,"ng-template"))},styles:[`div.mat-mdc-autocomplete-panel { 2886 width: 100%; 2887 max-height: 256px; 2888 visibility: hidden; 2889 transform-origin: center top; 2890 overflow: auto; 2891 padding: 8px 0; 2892 box-sizing: border-box; 2893 position: relative; 2894 border-radius: var(--mat-autocomplete-container-shape, var(--mat-sys-corner-extra-small)); 2895 box-shadow: var(--mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)); 2896 background-color: var(--mat-autocomplete-background-color, var(--mat-sys-surface-container)); 2897} 2898@media (forced-colors: active) { 2899 div.mat-mdc-autocomplete-panel { 2900 outline: solid 1px; 2901 } 2902} 2903.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel { 2904 border-top-left-radius: 0; 2905 border-top-right-radius: 0; 2906} 2907.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel { 2908 border-bottom-left-radius: 0; 2909 border-bottom-right-radius: 0; 2910 transform-origin: center bottom; 2911} 2912div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible { 2913 visibility: visible; 2914} 2915 2916div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden, 2917.cdk-overlay-pane:has(> .mat-mdc-autocomplete-hidden) { 2918 visibility: hidden; 2919 pointer-events: none; 2920} 2921 2922@keyframes _mat-autocomplete-enter { 2923 from { 2924 opacity: 0; 2925 transform: scaleY(0.8); 2926 } 2927 to { 2928 opacity: 1; 2929 transform: none; 2930 } 2931} 2932.mat-autocomplete-panel-animations-enabled { 2933 animation: _mat-autocomplete-enter 120ms cubic-bezier(0, 0, 0.2, 1); 2934} 2935 2936mat-autocomplete { 2937 display: none; 2938} 2939`],encapsulation:2,changeDetection:0})}return t})();var Gee={provide:_r,useExisting:vn(()=>Oh),multi:!0};var Yee=new T("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let t=d(he);return()=>Ga(t)}}),Oh=(()=>{class t{_environmentInjector=d(Bt);_element=d(Q);_injector=d(he);_viewContainerRef=d(wn);_zone=d(ne);_changeDetectorRef=d(Pe);_dir=d(xn,{optional:!0});_formField=d(zs,{optional:!0,host:!0});_viewportRuler=d(aa);_scrollStrategy=d(Yee);_renderer=d(Ge);_animationsDisabled=Nt();_defaults=d(qB,{optional:!0});_overlayRef=null;_portal;_componentDestroyed=!1;_initialized=new V;_keydownSubscription;_outsideClickSubscription;_cleanupWindowBlur;_previousValue=null;_valueOnAttach=null;_valueOnLastKeydown=null;_positionStrategy;_manuallyFloatingLabel=!1;_closingActionsSubscription;_viewportSubscription=Re.EMPTY;_breakpointObserver=d(js);_handsetLandscapeSubscription=Re.EMPTY;_canOpenOnNextFocus=!0;_valueBeforeAutoSelection;_pendingAutoselectedOption=null;_closeKeyEventStream=new V;_overlayPanelClass=Ls(this._defaults?.overlayPanelClass||[]);_windowBlurHandler=()=>{this._canOpenOnNextFocus=this.panelOpen||!this._hasFocus()};_onChange=()=>{};_onTouched=()=>{};autocomplete;position="auto";connectedTo;autocompleteAttribute="off";autocompleteDisabled=!1;constructor(){}_aboveClass="mat-mdc-autocomplete-panel-above";ngAfterViewInit(){this._initialized.next(),this._initialized.complete(),this._cleanupWindowBlur=this._renderer.listen("window","blur",this._windowBlurHandler)}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){this._cleanupWindowBlur?.(),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}_overlayAttached=!1;openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&Sp(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return qt(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(J(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(J(()=>this._overlayAttached)):K()).pipe(X(e=>e instanceof Yp?e:null))}optionSelections=Oo(()=>{let e=this.autocomplete?this.autocomplete.options:null;return e?e.changes.pipe(Ot(e),lt(()=>qt(...e.map(n=>n.onSelectionChange)))):this._initialized.pipe(lt(()=>this.optionSelections))});get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return new De(e=>{let n=o=>{let a=Ii(o),s=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,l=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;this._overlayAttached&&a!==this._element.nativeElement&&!this._hasFocus()&&(!s||!s.contains(a))&&(!l||!l.contains(a))&&this._overlayRef&&!this._overlayRef.overlayElement.contains(a)&&e.next(o)},r=[this._renderer.listen("document","click",n),this._renderer.listen("document","auxclick",n),this._renderer.listen("document","touchend",n)];return()=>{r.forEach(o=>o())}})}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){let n=e,r=n.keyCode,o=un(n);if(r===27&&!o&&n.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&r===13&&this.panelOpen&&!o)this.activeOption._selectViaInteraction(),this._resetActiveItem(),n.preventDefault();else if(this.autocomplete){let a=this.autocomplete._keyManager.activeItem,s=r===38||r===40;r===9||s&&!o&&this.panelOpen?this.autocomplete._keyManager.onKeydown(n):s&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(s||this.autocomplete._keyManager.activeItem!==a)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let n=e.target,r=n.value;if(n.type==="number"&&(r=r==""?null:parseFloat(r)),this._previousValue!==r){if(this._previousValue=r,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(r),!r)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let o=this.autocomplete.options?.find(a=>a.selected);if(o){let a=this._getDisplayValue(o.value);r!==a&&o.deselect(!1)}}if(this._canOpen()&&this._hasFocus()){let o=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(o)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_hasFocus(){return mo()===this._element.nativeElement}_floatLabel(e=!1){this._formField&&this._formField.floatLabel==="auto"&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let e=new De(r=>{en(()=>{r.next()},{injector:this._environmentInjector})}),n=this.autocomplete.options?.changes.pipe(vt(()=>this._positionStrategy.reapplyLastPosition()),wa(0))??K();return qt(e,n).pipe(lt(()=>this._zone.run(()=>{let r=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),r!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),Fe(1)).subscribe(r=>this._setValueAndClose(r))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(e){let n=this.autocomplete;return n&&n.displayWith?n.displayWith(e):e}_assignOptionValue(e){let n=this._getDisplayValue(e);e==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(n??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){let n=this.autocomplete,r=e?e.source:this._pendingAutoselectedOption;r?(this._clearPreviousSelectedOption(r),this._assignOptionValue(r.value),this._onChange(r.value),n._emitSelectEvent(r),this._element.nativeElement.focus()):n.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(e,n){this.autocomplete?.options?.forEach(r=>{r!==e&&r.selected&&r.deselect(n)})}_openPanelInternal(e=this._element.nativeElement.value){if(this._attachOverlay(e),this._floatLabel(),this._trackedModal){let n=this.autocomplete.id;n0(this._trackedModal,"aria-owns",n)}}_attachOverlay(e){if(!this.autocomplete)return;let n=this._overlayRef;n?(this._positionStrategy.setOrigin(this._getConnectedElement()),n.updateSize({width:this._getPanelWidth()})):(this._portal=new Yi(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),n=hr(this._injector,this._getOverlayConfig()),this._overlayRef=n,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&n&&n.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(Zb.HandsetLandscape).subscribe(o=>{o.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),n&&!n.hasAttached()&&(n.attach(this._portal),this._valueOnAttach=e,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let r=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&r!==this.panelOpen&&this._emitOpened()}_handlePanelKeydown=e=>{(e.keyCode===27&&!un(e)||e.keyCode===38&&un(e,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),e.stopPropagation(),e.preventDefault())};_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let e=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=e.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=e.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=void 0}_getOverlayConfig(){return new Ai({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,hasBackdrop:this._defaults?.hasBackdrop,backdropClass:this._defaults?.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this._overlayPanelClass,disableAnimations:this._animationsDisabled})}_getOverlayPosition(){let e=Ya(this._injector,this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1).withPopoverLocation("inline");return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){let n=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],r=this._aboveClass,o=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:r},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:r}],a;this.position==="above"?a=o:this.position==="below"?a=n:a=[...n,...o],e.withPositions(a)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let e=this.autocomplete;if(e.autoActiveFirstOption){let n=-1;for(let r=0;r<e.options.length;r++)if(!e.options.get(r).disabled){n=r;break}e._keyManager.setActiveItem(n)}else e._keyManager.setActiveItem(-1)}_canOpen(){let e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this.autocompleteDisabled}_scrollToOption(e){let n=this.autocomplete,r=zB(e,n.options,n.optionGroups);if(e===0&&r===1)n._setScrollTop(0);else if(n.panel){let o=n.options.toArray()[e];if(o){let a=o._getHostElement(),s=$B(a.offsetTop,a.offsetHeight,n._getScrollTop(),n.panel.nativeElement.offsetHeight);n._setScrollTop(s)}}}_trackedModal=null;_applyModalPanelOwnership(){let e=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let n=this.autocomplete.id;this._trackedModal&&Sp(this._trackedModal,"aria-owns",n),n0(e,"aria-owns",n),this._trackedModal=e}_clearFromModal(){if(this._trackedModal){let e=this.autocomplete.id;Sp(this._trackedModal,"aria-owns",e),this._trackedModal=null}}static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(n,r){n&1&&P("focusin",function(){return r._handleFocus()})("blur",function(){return r._onTouched()})("input",function(a){return r._handleInput(a)})("keydown",function(a){return r._handleKeydown(a)})("click",function(){return r._handleClick()}),n&2&&N("autocomplete",r.autocompleteAttribute)("role",r.autocompleteDisabled?null:"combobox")("aria-autocomplete",r.autocompleteDisabled?null:"list")("aria-activedescendant",r.panelOpen&&r.activeOption?r.activeOption.id:null)("aria-expanded",r.autocompleteDisabled?null:r.panelOpen.toString())("aria-controls",r.autocompleteDisabled||!r.panelOpen||r.autocomplete==null?null:r.autocomplete.id)("aria-haspopup",r.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",ue]},exportAs:["matAutocompleteTrigger"],features:[Ye([Gee]),Ze]})}return t})(),N0=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({imports:[fr,gI,ur,gI,gt]})}return t})();var Zee=["*",[["mat-toolbar-row"]]],Kee=["*","mat-toolbar-row"],Xee=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return t})(),Nh=(()=>{class t{_elementRef=d(Q);_platform=d(st);_document=d(ve);color;_toolbarRows;constructor(){}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["mat-toolbar"]],contentQueries:function(n,r,o){if(n&1&&Nn(o,Xee,5),n&2){let a;we(a=xe())&&(r._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(n,r){n&2&&(bn(r.color?"mat-"+r.color:""),ie("mat-toolbar-multiple-rows",r._toolbarRows.length>0)("mat-toolbar-single-row",r._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:Kee,decls:2,vars:0,template:function(n,r){n&1&&(We(Zee),ae(0),ae(1,1))},styles:[`.mat-toolbar { 2940 background: var(--mat-toolbar-container-background-color, var(--mat-sys-surface)); 2941 color: var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface)); 2942} 2943.mat-toolbar, .mat-toolbar h1, .mat-toolbar h2, .mat-toolbar h3, .mat-toolbar h4, .mat-toolbar h5, .mat-toolbar h6 { 2944 font-family: var(--mat-toolbar-title-text-font, var(--mat-sys-title-large-font)); 2945 font-size: var(--mat-toolbar-title-text-size, var(--mat-sys-title-large-size)); 2946 line-height: var(--mat-toolbar-title-text-line-height, var(--mat-sys-title-large-line-height)); 2947 font-weight: var(--mat-toolbar-title-text-weight, var(--mat-sys-title-large-weight)); 2948 letter-spacing: var(--mat-toolbar-title-text-tracking, var(--mat-sys-title-large-tracking)); 2949 margin: 0; 2950} 2951@media (forced-colors: active) { 2952 .mat-toolbar { 2953 outline: solid 1px; 2954 } 2955} 2956.mat-toolbar .mat-form-field-underline, 2957.mat-toolbar .mat-form-field-ripple, 2958.mat-toolbar .mat-focused .mat-form-field-ripple { 2959 background-color: currentColor; 2960} 2961.mat-toolbar .mat-form-field-label, 2962.mat-toolbar .mat-focused .mat-form-field-label, 2963.mat-toolbar .mat-select-value, 2964.mat-toolbar .mat-select-arrow, 2965.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow { 2966 color: inherit; 2967} 2968.mat-toolbar .mat-input-element { 2969 caret-color: currentColor; 2970} 2971.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed { 2972 --mat-button-text-label-text-color: var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface)); 2973 --mat-button-outlined-label-text-color: var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface)); 2974} 2975 2976.mat-toolbar-row, .mat-toolbar-single-row { 2977 display: flex; 2978 box-sizing: border-box; 2979 padding: 0 16px; 2980 width: 100%; 2981 flex-direction: row; 2982 align-items: center; 2983 white-space: nowrap; 2984 height: var(--mat-toolbar-standard-height, 64px); 2985} 2986@media (max-width: 599px) { 2987 .mat-toolbar-row, .mat-toolbar-single-row { 2988 height: var(--mat-toolbar-mobile-height, 56px); 2989 } 2990} 2991 2992.mat-toolbar-multiple-rows { 2993 display: flex; 2994 box-sizing: border-box; 2995 flex-direction: column; 2996 width: 100%; 2997 min-height: var(--mat-toolbar-standard-height, 64px); 2998} 2999@media (max-width: 599px) { 3000 .mat-toolbar-multiple-rows { 3001 min-height: var(--mat-toolbar-mobile-height, 56px); 3002 } 3003} 3004`],encapsulation:2,changeDetection:0})}return t})();var Wl=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({imports:[gt]})}return t})();var Jee=["mat-menu-item",""],ete=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],tte=["mat-icon, [matMenuItemIcon]","*"];function nte(t,i){t&1&&(Ho(),g(0,"svg",2),O(1,"polygon",3),_())}var ite=["*"];function rte(t,i){if(t&1){let e=le();Tt(0,"div",0),vl("click",function(){B(e);let r=v();return U(r.closed.emit("click"))})("animationstart",function(r){B(e);let o=v();return U(o._onAnimationStart(r.animationName))})("animationend",function(r){B(e);let o=v();return U(o._onAnimationDone(r.animationName))})("animationcancel",function(r){B(e);let o=v();return U(o._onAnimationDone(r.animationName))}),Tt(1,"div",1),ae(2),Ut()()}if(t&2){let e=v();bn(e._classList),ie("mat-menu-panel-animations-disabled",e._animationsDisabled)("mat-menu-panel-exit-animation",e._panelAnimationState==="void")("mat-menu-panel-animating",e._isAnimating()),wt("id",e.panelId),N("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}var bI=new T("MAT_MENU_PANEL"),da=(()=>{class t{_elementRef=d(Q);_document=d(ve);_focusMonitor=d(Qi);_parentMenu=d(bI,{optional:!0});_changeDetectorRef=d(Pe);role="menuitem";disabled=!1;disableRipple=!1;_hovered=new V;_focused=new V;_highlighted=!1;_triggersSubmenu=!1;constructor(){d(dn).load(Ja),this._parentMenu?.addItem?.(this)}focus(e,n){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,n):this._getHostElement().focus(n),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let e=this._elementRef.nativeElement.cloneNode(!0),n=e.querySelectorAll("mat-icon, .material-icons");for(let r=0;r<n.length;r++)n[r].remove();return e.textContent?.trim()||""}_setHighlighted(e){this._highlighted=e,this._changeDetectorRef.markForCheck()}_setTriggersSubmenu(e){this._triggersSubmenu=e,this._changeDetectorRef.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-focus-indicator"],hostVars:8,hostBindings:function(n,r){n&1&&P("click",function(a){return r._checkDisabled(a)})("mouseenter",function(){return r._handleMouseEnter()}),n&2&&(N("role",r.role)("tabindex",r._getTabIndex())("aria-disabled",r.disabled)("disabled",r.disabled||null),ie("mat-mdc-menu-item-highlighted",r._highlighted)("mat-mdc-menu-item-submenu-trigger",r._triggersSubmenu))},inputs:{role:"role",disabled:[2,"disabled","disabled",ue],disableRipple:[2,"disableRipple","disableRipple",ue]},exportAs:["matMenuItem"],attrs:Jee,ngContentSelectors:tte,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(n,r){n&1&&(We(ete),ae(0),g(1,"span",0),ae(2,1),_(),O(3,"div",1),E(4,nte,2,0,":svg:svg",2)),n&2&&(f(3),w("matRippleDisabled",r.disableRipple||r.disabled)("matRippleTrigger",r._getHostElement()),f(),S(r._triggersSubmenu?4:-1))},dependencies:[a0],encapsulation:2,changeDetection:0})}return t})();var ote=new T("MatMenuContent");var ate=new T("mat-menu-default-options",{providedIn:"root",factory:()=>({overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"})}),yI="_mat-menu-enter",R0="_mat-menu-exit",Pi=(()=>{class t{_elementRef=d(Q);_changeDetectorRef=d(Pe);_injector=d(he);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_exitFallbackTimeout;_animationsDisabled=Nt();_allItems;_directDescendantItems=new Tr;_classList={};_panelAnimationState="void";_animationDone=new V;_isAnimating=re(!1);parentMenu;direction;overlayPanelClass;backdropClass;ariaLabel;ariaLabelledby;ariaDescribedby;get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}templateRef;items;lazyContent;overlapTrigger=!1;hasBackdrop;set panelClass(e){let n=this._previousPanelClass,r=x({},this._classList);n&&n.length&&n.split(" ").forEach(o=>{r[o]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(o=>{r[o]=!0}),this._elementRef.nativeElement.className=""),this._classList=r}_previousPanelClass;get classList(){return this.panelClass}set classList(e){this.panelClass=e}closed=new z;close=this.closed;panelId=d(Et).getId("mat-menu-panel-");constructor(){let e=d(ate);this.overlayPanelClass=e.overlayPanelClass||"",this._xPosition=e.xPosition,this._yPosition=e.yPosition,this.backdropClass=e.backdropClass,this.overlapTrigger=e.overlapTrigger,this.hasBackdrop=e.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new ud(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Ot(this._directDescendantItems),lt(e=>qt(...e.map(n=>n._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{let n=this._keyManager;if(this._panelAnimationState==="enter"&&n.activeItem?._hasFocus()){let r=e.toArray(),o=Math.max(0,Math.min(r.length-1,n.activeItemIndex||0));r[o]&&!r[o].disabled?n.setActiveItem(o):n.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy(),clearTimeout(this._exitFallbackTimeout)}_hovered(){return this._directDescendantItems.changes.pipe(Ot(this._directDescendantItems),lt(n=>qt(...n.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){let n=e.keyCode,r=this._keyManager;switch(n){case 27:un(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(n===38||n===40)&&r.setFocusOrigin("keyboard"),r.onKeydown(e);return}}focusFirstItem(e="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=en(()=>{let n=this._resolvePanel();if(!n||!n.contains(document.activeElement)){let r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&n&&n.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){}setPositionClasses(e=this.xPosition,n=this.yPosition){this._classList=Y(x({},this._classList),{"mat-menu-before":e==="before","mat-menu-after":e==="after","mat-menu-above":n==="above","mat-menu-below":n==="below"}),this._changeDetectorRef.markForCheck()}_onAnimationDone(e){let n=e===R0;(n||e===yI)&&(n&&(clearTimeout(this._exitFallbackTimeout),this._exitFallbackTimeout=void 0),this._animationDone.next(n?"void":"enter"),this._isAnimating.set(!1))}_onAnimationStart(e){(e===yI||e===R0)&&this._isAnimating.set(!0)}_setIsOpen(e){if(this._panelAnimationState=e?"enter":"void",e){if(this._keyManager.activeItemIndex===0){let n=this._resolvePanel();n&&(n.scrollTop=0)}}else this._animationsDisabled||(this._exitFallbackTimeout=setTimeout(()=>this._onAnimationDone(R0),200));this._animationsDisabled&&setTimeout(()=>{this._onAnimationDone(e?yI:R0)}),this._changeDetectorRef.markForCheck()}_updateDirectDescendants(){this._allItems.changes.pipe(Ot(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(n=>n._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}_resolvePanel(){let e=null;return this._directDescendantItems.length&&(e=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),e}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["mat-menu"]],contentQueries:function(n,r,o){if(n&1&&Nn(o,ote,5)(o,da,5)(o,da,4),n&2){let a;we(a=xe())&&(r.lazyContent=a.first),we(a=xe())&&(r._allItems=a),we(a=xe())&&(r.items=a)}},viewQuery:function(n,r){if(n&1&&Zt(fe,5),n&2){let o;we(o=xe())&&(r.templateRef=o.first)}},hostVars:3,hostBindings:function(n,r){n&2&&N("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",ue],hasBackdrop:[2,"hasBackdrop","hasBackdrop",e=>e==null?null:ue(e)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[Ye([{provide:bI,useExisting:t}])],ngContentSelectors:ite,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","animationstart","animationend","animationcancel","id"],[1,"mat-mdc-menu-content"]],template:function(n,r){n&1&&(We(),Pc(0,rte,3,12,"ng-template"))},styles:[`mat-menu { 3005 display: none; 3006} 3007 3008.mat-mdc-menu-content { 3009 margin: 0; 3010 padding: 8px 0; 3011 outline: 0; 3012} 3013.mat-mdc-menu-content, 3014.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text { 3015 -moz-osx-font-smoothing: grayscale; 3016 -webkit-font-smoothing: antialiased; 3017 flex: 1; 3018 white-space: normal; 3019 font-family: var(--mat-menu-item-label-text-font, var(--mat-sys-label-large-font)); 3020 line-height: var(--mat-menu-item-label-text-line-height, var(--mat-sys-label-large-line-height)); 3021 font-size: var(--mat-menu-item-label-text-size, var(--mat-sys-label-large-size)); 3022 letter-spacing: var(--mat-menu-item-label-text-tracking, var(--mat-sys-label-large-tracking)); 3023 font-weight: var(--mat-menu-item-label-text-weight, var(--mat-sys-label-large-weight)); 3024} 3025 3026@keyframes _mat-menu-enter { 3027 from { 3028 opacity: 0; 3029 transform: scale(0.8); 3030 } 3031 to { 3032 opacity: 1; 3033 transform: none; 3034 } 3035} 3036@keyframes _mat-menu-exit { 3037 from { 3038 opacity: 1; 3039 } 3040 to { 3041 opacity: 0; 3042 } 3043} 3044.mat-mdc-menu-panel { 3045 min-width: 112px; 3046 max-width: 280px; 3047 overflow: auto; 3048 box-sizing: border-box; 3049 outline: 0; 3050 animation: _mat-menu-enter 120ms cubic-bezier(0, 0, 0.2, 1); 3051 border-radius: var(--mat-menu-container-shape, var(--mat-sys-corner-extra-small)); 3052 background-color: var(--mat-menu-container-color, var(--mat-sys-surface-container)); 3053 box-shadow: var(--mat-menu-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)); 3054 will-change: transform, opacity; 3055} 3056.mat-mdc-menu-panel.mat-menu-panel-exit-animation { 3057 animation: _mat-menu-exit 100ms 25ms linear forwards; 3058} 3059.mat-mdc-menu-panel.mat-menu-panel-animations-disabled { 3060 animation: none; 3061} 3062.mat-mdc-menu-panel.mat-menu-panel-animating { 3063 pointer-events: none; 3064} 3065.mat-mdc-menu-panel.mat-menu-panel-animating:has(.mat-mdc-menu-content:empty) { 3066 display: none; 3067} 3068@media (forced-colors: active) { 3069 .mat-mdc-menu-panel { 3070 outline: solid 1px; 3071 } 3072} 3073.mat-mdc-menu-panel .mat-divider { 3074 border-top-color: var(--mat-menu-divider-color, var(--mat-sys-surface-variant));
3075 margin-bottom: var(--mat-menu-divider-bottom-spacing, 8px); 3076 margin-top: var(--mat-menu-divider-top-spacing, 8px); 3077} 3078 3079.mat-mdc-menu-item { 3080 display: flex; 3081 position: relative; 3082 align-items: center; 3083 justify-content: flex-start; 3084 overflow: hidden; 3085 padding: 0; 3086 cursor: pointer; 3087 width: 100%; 3088 text-align: left; 3089 box-sizing: border-box; 3090 color: inherit; 3091 font-size: inherit; 3092 background: none; 3093 text-decoration: none; 3094 margin: 0; 3095 min-height: 48px; 3096 padding-left: var(--mat-menu-item-leading-spacing, 12px); 3097 padding-right: var(--mat-menu-item-trailing-spacing, 12px); 3098 -webkit-user-select: none; 3099 user-select: none; 3100 cursor: pointer; 3101 outline: none; 3102 border: none; 3103 -webkit-tap-highlight-color: transparent; 3104} 3105.mat-mdc-menu-item::-moz-focus-inner { 3106 border: 0; 3107} 3108[dir=rtl] .mat-mdc-menu-item { 3109 padding-left: var(--mat-menu-item-trailing-spacing, 12px); 3110 padding-right: var(--mat-menu-item-leading-spacing, 12px); 3111} 3112.mat-mdc-menu-item:has(.material-icons, mat-icon, [matButtonIcon]) { 3113 padding-left: var(--mat-menu-item-with-icon-leading-spacing, 12px); 3114 padding-right: var(--mat-menu-item-with-icon-trailing-spacing, 12px); 3115} 3116[dir=rtl] .mat-mdc-menu-item:has(.material-icons, mat-icon, [matButtonIcon]) { 3117 padding-left: var(--mat-menu-item-with-icon-trailing-spacing, 12px); 3118 padding-right: var(--mat-menu-item-with-icon-leading-spacing, 12px); 3119} 3120.mat-mdc-menu-item, .mat-mdc-menu-item:visited, .mat-mdc-menu-item:link { 3121 color: var(--mat-menu-item-label-text-color, var(--mat-sys-on-surface)); 3122} 3123.mat-mdc-menu-item .mat-icon-no-color, 3124.mat-mdc-menu-item .mat-mdc-menu-submenu-icon { 3125 color: var(--mat-menu-item-icon-color, var(--mat-sys-on-surface-variant)); 3126} 3127.mat-mdc-menu-item[disabled] { 3128 cursor: default; 3129 opacity: 0.38; 3130} 3131.mat-mdc-menu-item[disabled]::after { 3132 display: block; 3133 position: absolute; 3134 content: ""; 3135 top: 0; 3136 left: 0; 3137 bottom: 0; 3138 right: 0; 3139} 3140.mat-mdc-menu-item:focus { 3141 outline: 0; 3142} 3143.mat-mdc-menu-item .mat-icon { 3144 flex-shrink: 0; 3145 margin-right: var(--mat-menu-item-spacing, 12px); 3146 height: var(--mat-menu-item-icon-size, 24px); 3147 width: var(--mat-menu-item-icon-size, 24px); 3148} 3149[dir=rtl] .mat-mdc-menu-item { 3150 text-align: right; 3151} 3152[dir=rtl] .mat-mdc-menu-item .mat-icon { 3153 margin-right: 0; 3154 margin-left: var(--mat-menu-item-spacing, 12px); 3155} 3156.mat-mdc-menu-item:not([disabled]):hover { 3157 background-color: var(--mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent)); 3158} 3159.mat-mdc-menu-item:not([disabled]).cdk-program-focused, .mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused, .mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted { 3160 background-color: var(--mat-menu-item-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent)); 3161} 3162@media (forced-colors: active) { 3163 .mat-mdc-menu-item {
3164 margin-top: 1px; 3165 } 3166} 3167 3168.mat-mdc-menu-submenu-icon { 3169 width: var(--mat-menu-item-icon-size, 24px); 3170 height: 10px; 3171 fill: currentColor; 3172 padding-left: var(--mat-menu-item-spacing, 12px); 3173} 3174[dir=rtl] .mat-mdc-menu-submenu-icon { 3175 padding-right: var(--mat-menu-item-spacing, 12px); 3176 padding-left: 0; 3177} 3178[dir=rtl] .mat-mdc-menu-submenu-icon polygon { 3179 transform: scaleX(-1); 3180 transform-origin: center; 3181} 3182@media (forced-colors: active) { 3183 .mat-mdc-menu-submenu-icon { 3184 fill: CanvasText; 3185 } 3186} 3187 3188.mat-mdc-menu-item .mat-mdc-menu-ripple { 3189 top: 0; 3190 left: 0; 3191 right: 0; 3192 bottom: 0; 3193 position: absolute; 3194 pointer-events: none; 3195} 3196`],encapsulation:2,changeDetection:0})}return t})(),ste=new T("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let t=d(he);return()=>Ga(t)}});var Rh=new WeakMap,lte=(()=>{class t{_canHaveBackdrop;_element=d(Q);_viewContainerRef=d(wn);_menuItemInstance=d(da,{optional:!0,self:!0});_dir=d(xn,{optional:!0});_focusMonitor=d(Qi);_ngZone=d(ne);_injector=d(he);_scrollStrategy=d(ste);_changeDetectorRef=d(Pe);_animationsDisabled=Nt();_portal;_overlayRef=null;_menuOpen=!1;_closingActionsSubscription=Re.EMPTY;_menuCloseSubscription=Re.EMPTY;_pendingRemoval;_parentMaterialMenu;_parentInnerPadding;_openedBy=void 0;get _menu(){return this._menuInternal}set _menu(e){e!==this._menuInternal&&(this._menuInternal=e,this._menuCloseSubscription.unsubscribe(),e&&(this._parentMaterialMenu,this._menuCloseSubscription=e.close.subscribe(n=>{this._destroyMenu(n),(n==="click"||n==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(n)})),this._menuItemInstance?._setTriggersSubmenu(this._triggersSubmenu()))}_menuInternal=null;constructor(e){this._canHaveBackdrop=e;let n=d(bI,{optional:!0});this._parentMaterialMenu=n instanceof Pi?n:void 0}ngOnDestroy(){this._menu&&this._ownsMenu(this._menu)&&Rh.delete(this._menu),this._pendingRemoval?.unsubscribe(),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null)}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this._menu)}_closeMenu(){this._menu?.close.emit()}_openMenu(e){if(this._triggerIsAriaDisabled())return;let n=this._menu;if(this._menuOpen||!n)return;this._pendingRemoval?.unsubscribe();let r=Rh.get(n);Rh.set(n,this),r&&r!==this&&r._closeMenu();let o=this._createOverlay(n),a=o.getConfig(),s=a.positionStrategy;this._setPosition(n,s),this._canHaveBackdrop?a.hasBackdrop=n.hasBackdrop==null?!this._triggersSubmenu():n.hasBackdrop:a.hasBackdrop=n.hasBackdrop??!1,o.hasAttached()||(o.attach(this._getPortal(n)),n.lazyContent?.attach(this.menuData)),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this._closeMenu()),n.parentMenu=this._triggersSubmenu()?this._parentMaterialMenu:void 0,n.direction=this.dir,e&&n.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0),n instanceof Pi&&(n._setIsOpen(!0),n._directDescendantItems.changes.pipe(Ee(n.close)).subscribe(()=>{s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}focus(e,n){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,n):this._element.nativeElement.focus(n)}_destroyMenu(e){let n=this._overlayRef,r=this._menu;!n||!this.menuOpen||(this._closingActionsSubscription.unsubscribe(),this._pendingRemoval?.unsubscribe(),r instanceof Pi&&this._ownsMenu(r)?(this._pendingRemoval=r._animationDone.pipe(Fe(1)).subscribe(()=>{n.detach(),Rh.has(r)||r.lazyContent?.detach()}),r._setIsOpen(!1)):(n.detach(),r?.lazyContent?.detach()),r&&this._ownsMenu(r)&&Rh.delete(r),this.restoreFocus&&(e==="keydown"||!this._openedBy||!this._triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,this._setIsMenuOpen(!1))}
3196_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this._triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){let n=this._getOverlayConfig(e);this._subscribeToPositions(e,n.positionStrategy),this._overlayRef=hr(this._injector,n),this._overlayRef.keydownEvents().subscribe(r=>{this._menu instanceof Pi&&this._menu._handleKeydown(r)})}return this._overlayRef}_getOverlayConfig(e){return new Ai({positionStrategy:Ya(this._injector,this._getOverlayOrigin()).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr",disableAnimations:this._animationsDisabled})}_subscribeToPositions(e,n){e.setPositionClasses&&n.positionChanges.subscribe(r=>{this._ngZone.run(()=>{let o=r.connectionPair.overlayX==="start"?"after":"before",a=r.connectionPair.overlayY==="top"?"below":"above";e.setPositionClasses(o,a)})})}_setPosition(e,n){let[r,o]=e.xPosition==="before"?["end","start"]:["start","end"],[a,s]=e.yPosition==="above"?["bottom","top"]:["top","bottom"],[l,c]=[a,s],[u,h]=[r,o],m=0;if(this._triggersSubmenu()){if(h=r=e.xPosition==="before"?"start":"end",o=u=r==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let p=this._parentMaterialMenu.items.first;this._parentInnerPadding=p?p._getHostElement().offsetTop:0}m=a==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(l=a==="top"?"bottom":"top",c=s==="top"?"bottom":"top");n.withPositions([{originX:r,originY:l,overlayX:u,overlayY:a,offsetY:m},{originX:o,originY:l,overlayX:h,overlayY:a,offsetY:m},{originX:r,originY:c,overlayX:u,overlayY:s,offsetY:-m},{originX:o,originY:c,overlayX:h,overlayY:s,offsetY:-m}])}_menuClosingActions(){let e=this._getOutsideClickStream(this._overlayRef),n=this._overlayRef.detachments(),r=this._parentMaterialMenu?this._parentMaterialMenu.closed:K(),o=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(J(a=>this._menuOpen&&a!==this._menuItemInstance)):K();return qt(e,r,o,n)}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new Yi(e.templateRef,this._viewContainerRef)),this._portal}_ownsMenu(e){return Rh.get(e)===this}_triggerIsAriaDisabled(){return ue(this._element.nativeElement.getAttribute("aria-disabled"))}static \u0275fac=function(n){Oc()};static \u0275dir=W({type:t})}return t})(),bi=(()=>{class t extends lte{_cleanupTouchstart;_hoverSubscription=Re.EMPTY;get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){this._menu=e}menuData;restoreFocus=!0;menuOpened=new z;onMenuOpen=this.menuOpened;menuClosed=new z;onMenuClose=this.menuClosed;constructor(){super(!0);let e=d(Ge);this._cleanupTouchstart=e.listen(this._element.nativeElement,"touchstart",n=>{ld(n)||(this._openedBy="touch")},{passive:!0})}triggersSubmenu(){return super._triggersSubmenu()}toggleMenu(){return this.menuOpen?this.closeMenu():this.openMenu()}openMenu(){this._openMenu(!0)}closeMenu(){this._closeMenu()}updatePosition(){this._overlayRef?.updatePosition()}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTouchstart(),this._hoverSubscription.unsubscribe()}_getOverlayOrigin(){return this._element}_getOutsideClickStream(e){return e.backdropClick()}_handleMousedown(e){sd(e)||(this._openedBy=e.button===0?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){let n=e.keyCode;(n===13||n===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(n===39&&this.dir==="ltr"||n===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().subscribe(e=>{e===this._menuItemInstance&&!e.disabled&&this._parentMaterialMenu?._panelAnimationState!=="void"&&(this._openedBy="mouse",this._openMenu(!1))}))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(n,r){n&1&&P("click",function(a){return r._handleClick(a)})("mousedown",function(a){return r._handleMousedown(a)})("keydown",function(a){return r._handleKeydown(a)}),n&2&&N("aria-haspopup",r.menu?"menu":null)("aria-expanded",r.menuOpen)("aria-controls",r.menuOpen?r.menu==null?null:r.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],features:[Je]})}return t})();var wo=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({imports:[ph,fr,gt,ur]})}return t})();var cte=(t,i,e,n,r,o,a,s)=>({"small-button":t,"large-button":i,"disabled-button":e,"icon-button":n,"mat-primary":r,"mat-warn":o,"cta-button":a,"prevent-border-radius":s}),dte=t=>({"!normal-case":t});function ute(t,i){t&1&&Kn(0)}function hte(t,i){if(t&1&&O(0,"aamc-icon",3),t&2){let e=v(2);w("svgIcon",e.effectiveAamcIconClass())("isDecorative",!0)}}function fte(t,i){if(t&1&&O(0,"aamc-icon",5),t&2){let e=v(2);w("svgIcon",e.effectiveAamcIconClass())("isDecorative",!0)("rightAligned",!0)}}function mte(t,i){if(t&1&&(E(0,hte,1,2,"aamc-icon",3),g(1,"span",4),I(2),_(),E(3,fte,1,3,"aamc-icon",5)),t&2){let e=v();S(e.effectiveAamcIconClass()&&e.effectiveIconPlacement()===e.smartActionButtonIconPlacement.Left?0:-1),f(),w("ngClass",Be(4,dte,e.effectiveNotUpperCase()&&e.effectiveButtonSize()!==e.smartActionButtonSize.Small)),f(),qe(e.effectiveName()),f(),S(e.effectiveAamcIconClass()&&e.effectiveIconPlacement()===e.smartActionButtonIconPlacement.Right?3:-1)}}var ns=(()=>{class t{constructor(){this.smartAction=C(void 0),this.name=C(void 0),this.buttonType=C(void 0),this.buttonSize=C(void 0),this.disabled=C(void 0),this.ariaLabel=C(""),this.testId=C(void 0),this.toolTipMessage=C(""),this.aamcIconClass=C(""),this.iconPlacement=C(void 0),this.notUpperCase=C(void 0),this.type=C("button"),this.actionTrigger=new z,this.smartActionButtonType=Lt,this.smartActionButtonSize=nd,this.smartActionButtonIconPlacement=Ps,this.el=d(Q),this.effectiveName=Z(()=>
3196this.getFallback(this.name(),this.smartAction()?.name,"")),this.effectiveButtonType=Z(()=>{if(this.buttonType()!==void 0)return typeof this.buttonType()=="string"&&this.buttonType()in Lt?Lt[this.buttonType()]:this.buttonType();if(this.smartAction()?.buttonType!==void 0)return typeof this.smartAction()?.buttonType=="string"&&this.smartAction()?.buttonType in Lt?Lt[this.smartAction()?.buttonType]:this.smartAction()?.buttonType}),this.effectiveButtonSize=Z(()=>this.buttonSize()??this.smartAction()?.buttonSize??nd.Medium),this.effectiveDisabled=Z(()=>this.disabled()??this.smartAction()?.disabled??!1),this.effectiveAriaLabel=Z(()=>this.getFallback(this.ariaLabel(),this.smartAction()?.ariaLabel,"")),this._testId=Z(()=>Te("button",this.testId(),this.effectiveAriaLabel(),this.effectiveName())),this.effectiveToolTipMessage=Z(()=>this.getFallback(this.toolTipMessage(),this.smartAction()?.toolTipMessage,"")),this.effectiveAamcIconClass=Z(()=>this.getFallback(this.aamcIconClass(),this.smartAction()?.aamcIconClass,"")),this.effectiveIconPlacement=Z(()=>this.iconPlacement()!==void 0?typeof this.iconPlacement()=="string"&&this.iconPlacement()in Ps?Ps[this.iconPlacement()]:this.iconPlacement():this.smartAction()?.iconPlacement!==void 0?typeof this.smartAction()?.iconPlacement=="string"&&this.smartAction()?.iconPlacement in Ps?Ps[this.smartAction()?.iconPlacement]:this.smartAction()?.iconPlacement:Ps.Left),this.effectiveNotUpperCase=Z(()=>this.notUpperCase()??this.smartAction()?.notUpperCase??!1),this.dataTrackLabel=Z(()=>{switch(this.effectiveButtonType()){case Lt.Primary:return"Button - Primary";case Lt.Secondary:return"Button - Secondary";case Lt.Emphasis:return"Button - Emphasis";case Lt.Warning:return"Button - Warning";case Lt.Cta:return"Button - Cta";default:return"Button"}}),this.isPrimaryType=Z(()=>this.effectiveButtonType()===Lt.Primary),this.isEmphasisType=Z(()=>this.effectiveButtonType()===Lt.Emphasis),this.isWarningType=Z(()=>this.effectiveButtonType()===Lt.Warning),this.isCtaType=Z(()=>this.effectiveButtonType()===Lt.Cta),this.matButtonAppearance=Z(()=>{switch(this.effectiveButtonType()){case Lt.Primary:return"outlined";case Lt.Emphasis:case Lt.Warning:case Lt.Cta:return"filled";default:return"text"}})}onActionTriggered(e){this.actionTrigger.emit(e)}handleKeydown(e){if((e.key==="Enter"||e.code==="Space")&&!this.effectiveDisabled()){e.preventDefault();let n=this.el.nativeElement.querySelector("button");n&&n.click()}}getFallback(e,n,r){return rI(e)?e:rI(n)?n:r}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-button"]],hostBindings:function(n,r){n&1&&P("keydown",function(a){return r.handleKeydown(a)})},inputs:{smartAction:[1,"smartAction"],name:[1,"name"],buttonType:[1,"buttonType"],buttonSize:[1,"buttonSize"],disabled:[1,"disabled"],ariaLabel:[1,"ariaLabel"],testId:[1,"testId"],toolTipMessage:[1,"toolTipMessage"],aamcIconClass:[1,"aamcIconClass"],iconPlacement:[1,"iconPlacement"],notUpperCase:[1,"notUpperCase"],type:[1,"type"]},outputs:{actionTrigger:"actionTrigger"},decls:4,vars:19,consts:[["buttonTextTemplate",""],["tabindex","0",3,"click","matButton","ngClass","aamcTooltip","disableRipple","disabled","type"],[4,"ngTemplateOutlet"],[3,"svgIcon","isDecorative"],[1,"icon-button-label",3,"ngClass"],[3,"svgIcon","isDecorative","rightAligned"]],template:function(n,r){if(n&1&&(g(0,"button",1),P("click",function(a){return r.onActionTriggered(a)}),se(1,ute,1,0,"ng-container",2),_(),se(2,mte,4,6,"ng-template",null,0,zn)),n&2){let o=Ie(3);w("matButton",r.matButtonAppearance())("ngClass",cm(10,cte,r.effectiveButtonSize()===r.smartActionButtonSize.Small,r.effectiveButtonSize()===r.smartActionButtonSize.Large,r.effectiveDisabled(),!!r.effectiveAamcIconClass(),r.isPrimaryType()||r.isEmphasisType(),r.isWarningType(),r.isCtaType(),r.matButtonAppearance()==="text"))("aamcTooltip",r.effectiveToolTipMessage())("disableRipple",r.effectiveDisabled())("disabled",r.effectiveDisabled())("type",r.type()),N("data-testid",r._testId())("aria-label",r.effectiveAriaLabel()||r.effectiveName())("data-track-gcl-view",r.dataTrackLabel()),f(),w("ngTemplateOutlet",o)}},dependencies:[Ue,ot,Pn,zr,bt,zt,yi,on],styles:[`ol[_ngcontent-%COMP%]{list-style-type:decimal}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-roman}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-roman}ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:square}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}.cta-button[_ngcontent-%COMP%]{background-color:#fff;color:#00417d}.cta-button[disabled][_ngcontent-%COMP%]{opacity:.5}.cta-button.cdk-keyboard-focused[_ngcontent-%COMP%], .cta-button[_ngcontent-%COMP%]:focus-visible{outline:2px solid #ffd204;outline-offset:1px}.cta-button[_ngcontent-%COMP%]:hover:not([disabled]){background-color:#e6e6e6} 3197/*# sourceMappingURL=aamc-button.component-ARAT4PXS.css.map */`],changeDetection:0})}}return t})();var pte=(t,i)=>({"w-full":t,"w-1/2":i}
3197);function gte(t,i){if(t&1&&(g(0,"span",7),I(1),_()),t&2){let e=v(3);f(),tr("",e.user.givenName[0],"",e.user.surname[0])}}function _te(t,i){if(t&1){let e=le();g(0,"button",4)(1,"div")(2,"div",5)(3,"div",6),E(4,gte,2,2,"span",7),_()()()(),g(5,"mat-menu",null,0)(7,"a",8),I(8,"My account"),_(),g(9,"a",9),P("keydown.enter",function(){B(e);let r=v(2);return U(r.logout())})("click",function(){B(e);let r=v(2);return U(r.logout())}),I(10,"Sign out"),_()()}if(t&2){let e=Ie(6),n=v(2);w("matMenuTriggerFor",e),f(4),S(n.user?4:-1),f(3),w("href",n.accountProfileLink,Qt)("target",n.urlTarget())}}function vte(t,i){if(t&1&&(g(0,"a",3),I(1,"SIGN IN"),_()),t&2){let e=v(2);w("href",e.accountLoginLink,Qt)}}function yte(t,i){if(t&1&&(E(0,_te,11,4),E(1,vte,2,1,"a",3)),t&2){let e=v();S(e.user?0:-1),f(),S(e.user?-1:1)}}function bte(t,i){if(t&1&&(g(0,"div",10)(1,"div",13),O(2,"aamc-icon",14),g(3,"span",15),I(4),_()(),g(5,"div",16),I(6),_()()),t&2){let e=v(2);f(),w("ngClass",tn(4,pte,!e.userDescription,e.userDescription)),f(),w("svgIcon",e.aamcIcons.Account),f(2),qe(e.user.commonName),f(2),pe(" ",e.userDescription," ")}}function Cte(t,i){if(t&1){let e=le();g(0,"aamc-button",17),P("click",function(){B(e);let r=v(2);return U(r.navigateToAccount())}),_(),g(1,"aamc-button",18),P("click",function(){B(e);let r=v(2);return U(r.logout())})("keydown.enter",function(){B(e);let r=v(2);return U(r.logout())}),_()}if(t&2){let e=v(2);w("buttonType",e.smartActionButtonType.Primary)("notUpperCase",!0),f(),w("buttonType",e.smartActionButtonType.Primary)("notUpperCase",!0)}}function wte(t,i){if(t&1){let e=le();g(0,"aamc-button",19),P("actionTrigger",function(){B(e);let r=v(2);return U(r.navigateToLogin())}),_()}if(t&2){let e=v(2);w("buttonType",e.smartActionButtonType.Primary)("notUpperCase",!0)}}function xte(t,i){if(t&1&&(g(0,"div",2),E(1,bte,7,7,"div",10),g(2,"div",11),E(3,Cte,2,4)(4,wte,1,2,"aamc-button",12),_()()),t&2){let e=v();f(),S(e.user?1:-1),f(2),S(e.user?3:4)}}var P0=(()=>{class t{constructor(){this.authService=d(Zi),this.store=d(ht),this.canLogoutService=d(la),this.router=d(At),this.goToUrlService=d(Rs),this.aamcIcons=Bn,this.smartActionButtonType=Lt,this.FULLSCREEN_OVERLAY_Z_INDEX="2000",this.isMobile=C(!1),this.testId=C(void 0),this.user=null,this.urlTarget=C(),this.userDescription="",this._userDisplayName=re(void 0),this._testId=Z(()=>Te("account",this.testId(),this._userDisplayName())),this.onDestroySub=new V,this.trigger=Qe.required(bi)}ngOnChanges(e){e.user&&this._userDisplayName.set(this.user?.commonName)}ngOnInit(){this.goToUrlService.goToUrl$.pipe(Fe(1)).subscribe(e=>{this.gotoLink=e}),this.setAccountLinks(),this.router.events.subscribe(e=>{e instanceof En&&this.setAccountLinks()})}setAccountLinks(){this.accountProfileLink=this.authService.getProfileUrl(this.gotoLink),this.accountLoginLink=this.authService.getLoginUrl(this.gotoLink)}navigateToLogin(){window.location.href=this.accountLoginLink??""}navigateToAccount(){window.open(this.accountProfileLink,this.urlTarget())}logout(){this.canLogoutService.canLogout().pipe(Fe(1)).subscribe(e=>{e&&this.store.dispatch(new ra.Logout({gotoUrl:this.gotoLink}))})}ngOnDestroy(){this.onDestroySub.next(),this.onDestroySub.complete()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-ui-account"]],viewQuery:function(n,r){n&1&&It(r.trigger,bi,5),n&2&&ct()},inputs:{isMobile:[1,"isMobile"],testId:[1,"testId"],user:"user",urlTarget:[1,"urlTarget"],userDescription:"userDescription"},standalone:!1,features:[Ze],decls:3,vars:2,consts:[["menu","matMenu"],[1,"contents"],[1,"flex","flex-col","gap-[10px]"],["matButton","","name","header-sign-in","data-testid","sign-in-button",1,"sign-in","ml-2","!text-white","h-8","w-[84px]","leading-8","focus-visible:outline-2","focus-visible:outline-solid","focus-visible:outline-black","focus-visible:-outline-offset-3","only-xs:w-full",3,"href"],["matButton","","role","button","data-testid","account-drpdn","aria-label","User account",1,"account","ml-4","!min-w-[1px]","!pr-0","hover:!no-underline","only-xs:!pr-[10px]",3,"matMenuTriggerFor"],[1,"flex","flex-row"],[1,"circle","text-white","border","border-solid","border-white","w-8","h-8","rounded-[50%]","mr-4","hover:text-primary","hover:bg-white","focus:text-primary","focus:bg-white","focus-visible:outline-none","only-xs:w-[28px]","only-xs:h-[28px]"],["data-testid","user-initial",1,"block","leading-8","only-xs:leading-[28px]"],["mat-menu-item","","data-testid","account","aria-label","My account",1,"tracking-[1.25px]",3,"href","target"],["mat-menu-item","","data-testid","logout","aria-label","Sign out",1,"tracking-[1.25px]",3,"keydown.enter","click"],[1,"flex","flex-row","w-full","gap-[10px]"],[1,"account-mobile-buttons","flex","flex-row","w-full","gap-[10px]"],["name","Log In",1,"w-full",3,"buttonType","notUpperCase"],["data-testid","common-name",1,"text-sm","overflow-hidden","text-ellipsis","whitespace-nowrap",3,"ngClass"],[1,"align-text-top",3,"svgIcon"],[1,"ml-2"],["data-testid","user-description",1,"text-sm","overflow-hidden","text-ellipsis","whitespace-nowrap","mt-[1px]"],["name","My account","
3197id","my-account","data-testid","account",1,"w-1/2",3,"click","buttonType","notUpperCase"],["id","sign-out","data-testid","logout","name","Sign out",1,"w-1/2",3,"click","keydown.enter","buttonType","notUpperCase"],["name","Log In",1,"w-full",3,"actionTrigger","buttonType","notUpperCase"]],template:function(n,r){n&1&&(g(0,"div",1),E(1,yte,2,2)(2,xte,5,2,"div",2),_()),n&2&&(N("data-testid",r._testId()),f(),S(r.isMobile()?2:1))},dependencies:[zt,Pi,da,bi,on,ns,ot],styles:[`ol[_ngcontent-%COMP%]{list-style-type:decimal}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-roman}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-roman}ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:square}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}
3197.account[_ngcontent-%COMP%]:focus .circle[_ngcontent-%COMP%]{color:#006d75!important;background-color:#fff!important}.sign-in[_ngcontent-%COMP%]:hover, .sign-in[_ngcontent-%COMP%]:focus{background:#fff!important;color:#002c57!important;border-radius:4px!important;border:1px solid #fff;text-decoration:none} .account-mobile-buttons .mdc-button, .mdc-icon-button[_ngcontent-%COMP%]{width:100%} 3198/*# sourceMappingURL=account.component-YWRUBJLT.css.map */`],changeDetection:0})}}return t})();var Dte=(t,i,e)=>({allOf:t,atLeastOneOf:i,unsecure:e});function Mte(t,i){t&1&&O(0,"div",5)}function Ete(t,i){if(t&1&&(g(0,"span",11),I(1),_(),g(2,"span",12),I(3),_()),t&2){let e=v(2).$implicit;Rn("background",e.color?e.color:"rgb(0, 83, 149)"),f(),qe(e.name.length>1?e.name[0]:e.name),f(2),pe(" ",e.name," ")}}function Ste(t,i){if(t&1&&(O(0,"aamc-icon",13),g(1,"span",12),I(2),_()),t&2){let e=v(2).$implicit;w("ariaLabel",nr("",e.name," icon"))("svgIcon",e.icon),f(2),pe(" ",e.name," ")}}function Tte(t,i){if(t&1){let e=le();g(0,"button",10),P("click",function(){B(e);let r=v().$implicit,o=v(2);return U(o.navigate(r))}),E(1,Ete,4,4),E(2,Ste,3,4),_()}if(t&2){let e=v(),n=e.$implicit,r=e.$index,o=v(2);w("id",nr("app-menu-btn-",r))("checkEllipsis",!0)("aamcTooltip",n.name),N("data-testid",o._itemTestId(n)),f(),S(n.icon?-1:1),f(),S(n.icon?2:-1)}}function Ite(t,i){if(t&1&&(g(0,"div"),se(1,Tte,3,7,"button",9),_()),t&2){let e=i.$implicit;f(),w("aamcUiCoreSecure",yt(1,Dte,e.allOf,e.atLeastOneOf,e.unsecure))}}function Ate(t,i){if(t&1){let e=le();g(0,"div",1)(1,"button",2),P("menuOpened",function(){B(e);let r=v();return U(r.menuOpened())}),g(2,"span",3),O(3,"em",4),_(),E(4,Mte,1,0,"div",5),_(),g(5,"mat-menu",6,0),P("closed",function(){B(e);let r=v();return U(r.menuClosed())}),g(7,"div",7)(8,"h3",8),I(9," Switch to "),_(),tt(10,Ite,2,5,"div",null,Ft),_()()()}if(t&2){let e=Ie(6),n=v();N("data-testid",n._testId()),f(),w("matMenuTriggerFor",e)("showToolTip",n.hasToolTip),f(3),S(n.showArrow?4:-1),f(6),nt(n.appMenu)}}var F0=(()=>{class t{constructor(){this.testId=C(void 0),this._testId=Z(()=>Te("app-menu",this.testId())),this.appMenu=null,this.showArrow=!1,this.hasToolTip=!0}menuClosed(){this.showArrow=!1,this.hasToolTip=!0}menuOpened(){this.showArrow=!0}_itemTestId(e){return`${this._testId()}-app-${ei(e.name)}`}navigate(e){e.target==="_blank"?window.open(e.href,"_blank"):e.href&&(window.location.href=e.href)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-ui-app-menu"]],inputs:{testId:[1,"testId"],appMenu:"appMenu"},standalone:!1,decls:1,vars:1,consts:[["appMenuButton","matMenu"],[1,"contents"],["matIconButton","","data-testid","app-switcher-menu","aria-label","Applications Menu","aamcTooltip","App Menus","toolTipDirection","bottom",1,"app-header-icon-button",3,"menuOpened","matMenuTriggerFor","showToolTip"],[1,"circle","icon-margin"],["role","img","aria-hidden","true",1,"aamc-i-grid","aamc-i"],[1,"min-w-[312px]","mx-auto"],[3,"closed"],["data-testid","app-menu-box",1,"flex-wrap"],["data-testid","app-switcher-header",1,"ml-[15px]","mt-0","pt-[10px]"],["class","!min-h-[54px]","mat-menu-item","","tabindex","0",3,"id","checkEllipsis","aamcTooltip","click",4,"aamcUiCoreSecure"],["mat-menu-item","","tabindex","0",1,"!min-h-[54px]",3,"click","id","checkEllipsis","aamcTooltip"],[1,"text-center","text-white","inline-flex","justify-center","items-center","text-[15px]","h-10","w-[45px]","rounded-[5px]"],[1,"ml-[15px]","capitalize"],[3,"svgIcon","ariaLabel"]],template:function(n,r){n&1&&E(0,Ate,12,4,"div",1),n&2&&S(r.appMenu?0:-1)},dependencies:[Oi,Pi,da,bi,Ki,yi,on],encapsulation:2})}}return t})();var KB={originX:"start",originY:"bottom",overlayX:"start",overlayY:"top",offsetX:0,offsetY:0,width:void 0,height:void 0,minWidth:void 0,minHeight:void 0,useGlobalPositionStrategy:!1};var $s=(()=>{class t{constructor(){this._close=new V,this.close$=this._close.asObservable()}close(){this._close.next()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var kte=["overlayContainer"];function Ote(t,i){t&1&&Kn(0)}var XB=(()=>{class t{constructor(){this.aamcOverlayService=d($s),this.fullScreenOverlay=!1,this.overlayContentTemplate=null,this.overlayContainer=Qe.required("overlayContainer")}ngAfterViewInit(){this._setupTabBoundaryListeners()}onKeyDown(e){e.key==="Escape"&&this._close()}_setupTabBoundaryListeners(){let e=this._getFocusableElements();e.length!==0&&(this._firstFocusableElement=e[0],this._lastFocusableElement=e[e.length-1],this.fullScreenOverlay||setTimeout(()=>{this._firstFocusableElement?.focus({preventScroll:!0})}),this._firstFocusableElement.addEventListener("keydown",n=>{n.key==="Tab"&&n.shiftKey&&(n.preventDefault(),n.stopPropagation(),this._close())}),this._lastFocusableElement.addEventListener("keydown",n=>{n.key==="Tab"&&!n.shiftKey&&(n.preventDefault(),n.stopPropagation(),this._close())}))}_getFocusableElements(){let e=this.overlayContainer();if(!e)return[];let n=['a[href]:not([tabindex="-1"]):not([disabled])','area[href]:not([tabindex="-1"]):not([disabled])','input:not([disabled]):not([tabindex="-1"])','select:not([disabled]):not([tabindex="-1"])','textarea:not([disabled]):not([tabindex="-1"])','button:not([disabled]):not([tabindex="-1"])','iframe:not([tabindex="-1"])','object:not([tabindex="-1"])','embed:not([tabindex="-1"])','[contenteditable]:not([tabindex="-1"])','[tabindex]:not
3198([tabindex="-1"])'];return Array.from(e.nativeElement.querySelectorAll(n.join(",")))}_close(){this.aamcOverlayService.close()}ngOnDestroy(){this._firstFocusableElement?.removeEventListener("keydown",this._close),this._lastFocusableElement?.removeEventListener("keydown",this._close)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-ui-overlay"]],viewQuery:function(n,r){n&1&&It(r.overlayContainer,kte,5),n&2&&ct()},hostBindings:function(n,r){n&1&&P("keydown",function(a){return r.onKeyDown(a)})},inputs:{fullScreenOverlay:"fullScreenOverlay",overlayContentTemplate:"overlayContentTemplate"},standalone:!1,decls:3,vars:1,consts:[["overlayContainer",""],["tabindex","-1",1,"aamc-overlay-container"],[4,"ngTemplateOutlet"]],template:function(n,r){n&1&&(g(0,"div",1,0),se(2,Ote,1,0,"ng-container",2),_()),n&2&&(f(2),w("ngTemplateOutlet",r.overlayContentTemplate))},dependencies:[Pn],styles:[`ol[_ngcontent-%COMP%]{list-style-type:decimal}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-roman}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-roman}ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:square}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}[_nghost-%COMP%]{width:100%}.aamc-overlay-container[_ngcontent-%COMP%]{border-radius:8px;height:auto;max-height:600px;color:#000;display:flex;max-width:768px;background:#fff;overflow-wrap:break-word;box-shadow:0 8px 12px #1a1a1a33;overflow:hidden;margin:auto 0!important;margin:12px 0;font-weight:400;font-size:14px;line-height:19px} 3199/*# sourceMappingURL=aamc-overlay.component-AIRGMXJE.css.map */`]})}}return t})();var JB=(()=>{class t{constructor(){this.router=d(At),this.overlay=d(oh),this.triggerButton=d(Q),this.aamcOverlayService=d($s),this.showAamcOverlay=C(!0),this.fullScreenOverlay=C(!1),this.alwaysOnTopOverlay=C(!1),this.overlayContentTemplate=C(null),this.overlayOpened=new z,this.overlayClosed=new z,this._destroyRef=d(yn),this.overlayRef=null,this.isClosed=!0}ngOnInit(){this.showAamcOverlay()&&(this.aamcOverlayService.close$.pipe(ks(this._destroyRef)).subscribe(()=>{this.hideOverlay()}),this.router.events.pipe(ks(this._destroyRef),J(e=>e instanceof Fr)).subscribe(()=>{this.hideOverlay()}))}_getPositions(e){return[{originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX,offsetY:e.offsetY},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}]}_getOverlayConfig(e,n){let r=new Ai({width:n.width,height:n.height,panelClass:this.fullScreenOverlay()?"full-screen-overlay-panel":"aamc-overlay-panel",positionStrategy:this.fullScreenOverlay()?this._getOverlayPosition(e,{useGlobalPositionStrategy:!0}):this._getOverlayPosition(e,n),scrollStrategy:this.fullScreenOverlay()?this.overlay.scrollStrategies.block():this.overlay.scrollStrategies.reposition()});return Object.assign(r,x(x({},n.minWidth&&{minWidth:n.minWidth}),n.minHeight&&{minHeight:n.minHeight}))}_getOverlayPosition(e,n){return n.useGlobalPositionStrategy?this.overlay.position().global().centerHorizontally(n.offsetX?.toString()).centerVertically(n.offsetY?.toString()):this.overlay.position().flexibleConnectedTo(e).withPositions(this._getPositions(n)).withPush(!1).withDefaultOffsetX(0).withDefaultOffsetY(0).withFlexibleDimensions(!0).withGrowAfterOpen(!1).withViewportMargin(8)}onKeyDown(e){e.key==="Escape"?this.hideOverlay():(e.key==="Enter"||e.code==="Space")&&(this.showOverlay(),e.preventDefault(),e.stopPropagation())}clickout(e){setTimeout(()=>{let n=e.target,r=document.activeElement,o=this.overlayRef?.overlayElement?.contains(n),a=this.triggerButton.nativeElement.contains(n),s=!!n.closest(".cdk-overlay-container, .cdk-overlay-pane"),l=this.overlayRef?.overlayElement?.contains(r),c=this.triggerButton.nativeElement.contains(r),u=!!r.closest(".cdk-overlay-container, .cdk-overlay-pane");!this.isClosed&&!o&&!a&&!s&&!l&&!c&&!u&&!this.fullScreenOverlay()?this.hideOverlay():a&&this.isClosed?this.showOverlay():a&&c&&!this.isClosed&&this.hideOverlay()})}onResize(){!this.isClosed&&!this.fullScreenOverlay()&&this.overlayRef?.updatePosition()}showOverlay(){let e=this.triggerButton.nativeElement;if(this.overlayRef=this.overlay.create(this._getOverlayConfig(e,KB)),this.overlayOpened.emit(this.overlayRef),this.showAamcOverlay()){let n=this.overlayRef.attach(new ci(XB));n.instance.overlayContentTemplate=this.overlayContentTemplate(),n.instance.fullScreenOverlay=this.fullScreenOverlay(),this.isClosed=!1,this.overlayClosed.emit
3199(!1)}}hideOverlay(){if(this.overlayRef&&!this.isClosed){let e=window.document.querySelector(".cdk-overlay-container");e&&e.hasAttribute("style")&&e.removeAttribute("style"),this.overlayRef.detach(),this.overlayRef.dispose(),this.overlayClosed.emit(!0),this.isClosed=!0,this.triggerButton.nativeElement.focus()}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=W({type:t,selectors:[["","aamcOverlay",""]],hostBindings:function(n,r){n&1&&P("keydown",function(a){return r.onKeyDown(a)})("click",function(a){return r.clickout(a)},em)("resize",function(){return r.onResize()},ws)},inputs:{showAamcOverlay:[1,"showAamcOverlay"],fullScreenOverlay:[1,"fullScreenOverlay"],alwaysOnTopOverlay:[1,"alwaysOnTopOverlay"],overlayContentTemplate:[1,"overlayContentTemplate"]},outputs:{overlayOpened:"overlayOpened",overlayClosed:"overlayClosed"},standalone:!1})}}return t})();var Qp=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=G({type:t})}static{this.\u0275inj=q({imports:[Ue]})}}return t})();var eU="mat-badge-content",Rte=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["ng-component"]],decls:0,vars:0,template:function(n,r){},styles:[`.mat-badge { 3200 position: relative; 3201} 3202.mat-badge.mat-badge { 3203 overflow: visible; 3204} 3205 3206.mat-badge-content { 3207 position: absolute; 3208 text-align: center; 3209 display: inline-block; 3210 transition: transform 200ms ease-in-out; 3211 transform: scale(0.6); 3212 overflow: hidden; 3213 white-space: nowrap; 3214 text-overflow: ellipsis; 3215 box-sizing: border-box; 3216 pointer-events: none; 3217 background-color: var(--mat-badge-background-color, var(--mat-sys-error)); 3218 color: var(--mat-badge-text-color, var(--mat-sys-on-error)); 3219 font-family: var(--mat-badge-text-font, var(--mat-sys-label-small-font)); 3220 font-weight: var(--mat-badge-text-weight, var(--mat-sys-label-small-weight)); 3221 border-radius: var(--mat-badge-container-shape, var(--mat-sys-corner-full)); 3222} 3223.mat-badge-above .mat-badge-content { 3224 bottom: 100%; 3225} 3226.mat-badge-below .mat-badge-content { 3227 top: 100%; 3228} 3229.mat-badge-before .mat-badge-content { 3230 right: 100%; 3231} 3232[dir=rtl] .mat-badge-before .mat-badge-content { 3233 right: auto; 3234 left: 100%; 3235} 3236.mat-badge-after .mat-badge-content { 3237 left: 100%; 3238} 3239[dir=rtl] .mat-badge-after .mat-badge-content { 3240 left: auto; 3241 right: 100%; 3242} 3243@media (forced-colors: active) { 3244 .mat-badge-content { 3245 outline: solid 1px; 3246 border-radius: 0; 3247 } 3248} 3249 3250.mat-badge-disabled .mat-badge-content { 3251 background-color: var(--mat-badge-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-error) 38%, transparent)); 3252 color: var(--mat-badge-disabled-state-text-color, var(--mat-sys-on-error)); 3253} 3254 3255.mat-badge-hidden .mat-badge-content { 3256 display: none; 3257} 3258 3259.ng-animate-disabled .mat-badge-content, 3260.mat-badge-content._mat-animation-noopable { 3261 transition: none; 3262} 3263 3264.mat-badge-content.mat-badge-active { 3265 transform: none; 3266} 3267 3268.mat-badge-small .mat-badge-content { 3269 width: var(--mat-badge-legacy-small-size-container-size, unset); 3270 height: var(--mat-badge-legacy-small-size-container-size, unset); 3271 min-width: var(--mat-badge-small-size-container-size, 6px); 3272 min-height: var(--mat-badge-small-size-container-size, 6px); 3273 line-height: var(--mat-badge-small-size-line-height, 6px); 3274 padding: var(--mat-badge-small-size-container-padding, 0); 3275 font-size: var(--mat-badge-small-size-text-size, 0); 3276 margin: var(--mat-badge-small-size-container-offset, -6px 0); 3277} 3278.mat-badge-small.mat-badge-overlap .mat-badge-content { 3279 margin: var(--mat-badge-small-size-container-overlap-offset, -6px); 3280} 3281 3282.mat-badge-medium .mat-badge-content { 3283 width: var(--mat-badge-legacy-container-size, unset); 3284 height: var(--mat-badge-legacy-container-size, unset); 3285 min-width: var(--mat-badge-container-size, 16px); 3286 min-height: var(--mat-badge-container-size, 16px); 3287 line-height: var(--mat-badge-line-height, 16px); 3288 padding: var(--mat-badge-container-padding, 0 4px); 3289 font-size: var(--mat-badge-text-size, var(--mat-sys-label-small-size)); 3290 margin: var(--mat-badge-container-offset, -12px 0); 3291} 3292.mat-badge-medium.mat-badge-overlap .mat-badge-content { 3293 margin: var(--mat-badge-container-overlap-offset, -12px); 3294} 3295 3296.mat-badge-large .mat-badge-content { 3297 width: var(--mat-badge-legacy-large-size-container-size, unset); 3298 height: var(--mat-badge-legacy-large-size-container-size, unset); 3299 min-width: var(--mat-badge-large-size-container-size, 16px); 3300 min-height: var(--mat-badge-large-size-container-size, 16px); 3301 line-height: var(--mat-badge-large-size-line-height, 16px); 3302 padding: var(--mat-badge-large-size-container-padding, 0 4px); 3303 font-size: var(--mat-badge-large-size-text-size, var(--mat-sys-label-small-size)); 3304 margin: var(--mat-badge-large-size-container-offset, -12px 0); 3305} 3306.mat-badge-large.mat-badge-overlap .mat-badge-content { 3307 margin: var(--mat-badge-large-size-container-overlap-offset, -12px); 3308} 3309`],encapsulation:2,changeDetection:0})}return t})(),Ph=(()=>{class t{_ngZone=d(ne);_elementRef=d(Q);_ariaDescriber=d(i0);_renderer=d(Ge);_animationsDisabled=Nt();_idGenerator=d(Et);get color(){return this._color}set color(e){this._setColor(e),this._color=e}_color="primary";overlap=!0;disabled=!1;position="above after";get content(){return this._content}set content(e){this._updateRenderedContent(e)}_content;get description(){return this._description}set description(e){this._updateDescription(e)}_description;size="medium";hidden=!1;_badgeElement;_inlineBadgeDescription;_isInitialized=!1;_interactivityChecker=d(jl);_document=d(ve);constructor(){let e=d(dn);e.load(Rte),e.load(_o)}isAbove(){return this.position.indexOf("below")===-1}isAfter(){return this.position.indexOf("before")===-1}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngAfterViewInit(){}ngOnDestroy(){this._renderer.destroyNode&&(this._renderer.destroyNode(this._badgeElement),this._inlineBadgeDescription?.remove()),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_isHostInteractive(){return this._interactivityChecker.isFocusable(this._elementRef.nativeElement,{ignoreVisibility:!0})}_createBadgeElement(){let e=this._renderer.createElement("span"),n="mat-badge-active";return e.setAttribute("id",this._idGenerator.getId("mat-badge-content-")),e.setAttribute("aria-hidden","true"),e.classList.add(eU),this._animationsDisabled&&e.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(e),typeof requestAnimationFrame=="function"&&!this._animationsDisabled?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{e.classList.add(n)})}):e.classList.add(n),e}_updateRenderedContent(e){let n=`${e??""}`.trim();this._isInitialized&&n&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=n),this._content=n}_updateDescription(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),(!e||this._isHostInteractive())&&this._removeInlineDescription(),this._description=e,this._isHostInteractive()?this._ariaDescriber.describe(this._elementRef.nativeElement,e):this._updateInlineDescription()}_updateInlineDescription(){this._inlineBadgeDescription||(this._inlineBadgeDescription=this._document.createElement("span"),this._inlineBadgeDescription.classList.add("cdk-visually-hidden")),this._inlineBadgeDescription.textContent=this.description,this._badgeElement?.appendChild(this._inlineBadgeDescription)}_removeInlineDescription(){this._inlineBadgeDescription?.remove(),this._inlineBadgeDescription=void 0}_setColor(e){let n=this._elementRef.nativeElement.classList;n.remove(`mat-badge-${this._color}`),e&&n.add(`mat-badge-${e}`)}_clearExistingBadges(){let e=this._elementRef.nativeElement.querySelectorAll(`:scope > .${eU}`);for(let n of Array.from(e))n!==this._badgeElement&&n.remove()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(n,r){n&2&&ie("mat-badge-overlap",r.overlap)("mat-badge-above",r.isAbove())("mat-badge-below",!r.isAbove())("mat-badge-before",!r.isAfter())("mat-badge-after",r.isAfter())("mat-badge-small",r.size==="small")("mat-badge-medium",r.size==="medium")("mat-badge-large",r.size==="large")("mat-badge-hidden",r.hidden||!r.content)("mat-badge-disabled",r.disabled)},inputs:{color:[0,"matBadgeColor","color"],overlap:[2,"matBadgeOverlap","overlap",ue],disabled:[2,"matBadgeDisabled","disabled",ue],position:[0,"matBadgePosition","position"],content:[0,"matBadge","content"],description:[0,"matBadgeDescription","description"],size:[0,"matBadgeSize","size"],hidden:[2,"matBadgeHidden","hidden",ue]}})}return t})(),Sd=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({imports:[Bs,gt]})}return t})();var Pte=(t,i,e)=>({"transparent-hover":t,"disable-hover":i,"cta-icon-button":e}),Fh=(()=>{class t{constructor(){this.smartAction=C(),this.testId=C(void 0),this.actionTrigger=new z,this.smartActionButtonType=Lt,this.colorfulBackgroun
3309dEnum=Fs,this._testId=Z(()=>Te("icon-button",this.testId(),this.ariaLabel,this.name))}ngOnChanges(){this.disabled=this.disabled??this.smartAction()?.disabled??!1,this.toolTipMessage=this.toolTipMessage??this.smartAction()?.toolTipMessage,this.icon=this.icon??this.smartAction()?.icon,this.name=this.name??this.smartAction()?.name,this.buttonType=this.buttonType??this.smartAction()?.buttonType,this.colorfulBackground=this.colorfulBackground??this.smartAction()?.colorfulBackground,this.disableHover=this.disableHover??this.smartAction()?.disableHover,this.ariaLabel=this.formattedAriaLabel(),this.colorfulBackground===Fs.DarkBackground?this.textColor=kp.TEXT_WHITE:this.colorfulBackground===Fs.LightBackground?this.textColor=kp.TEXT_BLACK:this.buttonType===Lt.Warning?this.textColor=kp.TEXT_ERROR:this.textColor=void 0}onActionTriggered(e){this.actionTrigger.emit(e)}formattedAriaLabel(){let e=(this.ariaLabel??this.smartAction()?.ariaLabel)||this.name;return this.toolTipMessage&&this.toolTipMessage!==e?`${e} ${this.toolTipMessage}`:e??""}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-icon-button"]],inputs:{smartAction:[1,"smartAction"],testId:[1,"testId"],disabled:"disabled",ariaLabel:"ariaLabel",toolTipMessage:"toolTipMessage",icon:"icon",name:"name",buttonType:"buttonType",colorfulBackgroun
3309d:"colorfulBackground",disableHover:"disableHover"},outputs:{actionTrigger:"actionTrigger"},standalone:!1,features:[Ze],decls:2,vars:12,consts:[["matIconButton","","type","button","role","button",1,"aamc-icon-button",3,"click","keydown.enter","aamcTooltip","disabled","ngClass"],[3,"svgIcon","textColor","ariaLabel"]],template:function(n,r){n&1&&(g(0,"button",0),P("click",function(a){return r.onActionTriggered(a)})("keydown.enter",function(a){return a.preventDefault(),r.onActionTriggered(a)}),O(1,"aamc-icon",1),_()),n&2&&(w("aamcTooltip",r.toolTipMessage??r.name??"")("disabled",r.disabled)("ngClass",yt(8,Pte,r.colorfulBackground===r.colorfulBackgroundEnum.DarkBackground||r.colorfulBackground===r.colorfulBackgroundEnum.LightBackground,r.disableHover===!0,r.buttonType==="Cta")),N("data-testid",r._testId())("aria-label",r.ariaLabel),f(),w("svgIcon",r.icon||"edit")("textColor",r.textColor)("ariaLabel",r.ariaLabel||r.name||"icon button"))},dependencies:[ot,Oi,on,yi],styles:[`ol[_ngcontent-%COMP%]{list-style-type:decimal}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-roman}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-roman}ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:square}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}.aamc-icon-button[_ngcontent-%COMP%]{height:38px;width:38px;color:#666!important;line-height:normal!important;padding:1px;border-radius:50%!important}.aamc-icon-button[_ngcontent-%COMP%]:hover{color:#006d75!important;background-color:#e5f0f1!important}.aamc-icon-button[_ngcontent-%COMP%]:focus-visible{color:#006d75!important;background-color:transparent!important;outline:2px solid #000!important;border-radius:50%!important}.aamc-icon-button[_ngcontent-%COMP%]:disabled{cursor:not-allowed!important;pointer-events:auto!important;color:#666!important;opacity:.5}.aamc-icon-button[_ngcontent-%COMP%]:disabled:hover{background-color:transparent!important}.aamc-icon-button[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%]{height:38px!important}.aamc-icon-button[_ngcontent-%COMP%] i, .aamc-icon-button[_ngcontent-%COMP%] em, .aamc-icon-button[_ngcontent-%COMP%] img, .aamc-icon-button[_ngcontent-%COMP%] mat-icon{line-height:24px;vertical-align:text-top}.aamc-icon-button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:20px}.transparent-hover[_ngcontent-%COMP%]:hover, .disable-hover[_ngcontent-%COMP%]:hover{background-color:transparent!important}.cta-icon-button[_ngcontent-%COMP%]{color:#fff!important;background-color:#002c57} 3310/*# sourceMappingURL=aamc-icon-button.component-XID5PZ77.css.map */`],changeDetection:0})}}return t})();var Cr=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=G({type:t})}static{this.\u0275inj=q({imports:[Ue,zr,bt,on]})}}return t})();var Fte=["markAllAsReadRef"],Lte=["notificationRef"],Vte=["noNotificationContent"],jte=t=>({"font-bold":t});function Bte(t,i){if(t&1){let e=le();g(0,"a",9,0),P("keydown",function(r){B(e);let o=v();return U(o.onKeyPressMarkAll(r))})("click",function(){B(e);let r=v();return U(r.markAllAsRead())}),I(2,"Mark all as read"),_()}}function Ute(t,i){t&1&&(g(0,"div",10),I(1,"|"),_())}function Hte(t,i){if(t&1){let e=le();E(0,Ute,2,0,"div",10),g(1,"a",9,0),P("keydown",function(r){B(e);let o=v();return U(o.onKeyPressMarkAll(r,!0))})("click",function(){B(e);let r=v();return U(r.clearAll())}),I(3,"Clear all"),_()}if(t&2){let e=v();S(e.showMarkAllAsRead?0:-1)}}function zte(t,i){if(t&1&&O(0,"aamc-icon",16),t&2){let e=v().$implicit;w("svgIcon",e.icon)}}function $te(t,i){if(t&1){let e=le();g(0,"aamc-icon-button",27),P("actionTrigger",function(){let r=B(e).$implicit,o=v(2).$implicit;return U(r.action(o))}),_()}if(t&2){let e=i.$implicit;w("smartAction",e)}}function Wte(t,i){if(t&1&&(g(0,"div",24),tt(1,$te,1,1,"aamc-icon-button",26,Ft),nn(3,"slice"),_()),t&2){let e=v().$implicit;f(),nt(Dv(3,0,e.iconButtons,0,3))}}function qte(t,i){if(t&1){let e=le();g(0,"aamc-button",29),P("actionTrigger",function(){let r=B(e).$implicit,o=v(2).$implicit;return U(r.action(o))}),_()}if(t&2){let e=i.$implicit,n=v(4);w("smartAction",e)("buttonSize",n.smartActionButtonSize.Small)}}function Gte(t,i){if(t&1&&(g(0,"div",25),tt(1,qte,1,2,"aamc-button",28,Ft),nn(3,"slice"),_()),t&2){let e=v().$implicit;f(),nt(Dv(3,0,e.miniButtons,0,3))}}function Yte(t,i){if(t&1){let e=le();g(0,"div")(1,"div",11,1),P("focus",function(){let r=B(e).$implicit,o=v(2);return U(o.announceNotificationStatus(r))}),O(3,"div",12),g(4,"div",13)(5,"div",14)(6,"div",15),E(7,zte,1,1,"aamc-icon",16),_(),g(8,"div",17)(9,"div",18)(10,"div",19),P("keydown",function(r){let o=B(e).$implicit,a=v(2);return U(a.onKeyPressNotification(r,o))})("click",function(){let r=B(e).$implicit,o=v(2);return U(o.markAsRead(r))}
3310),I(11),_(),g(12,"div",20)(13,"div",21),P("mouseenter",function(){let r=B(e).$implicit,o=v(2);return U(o.announceNotificationStatus(r))}),_()()(),g(14,"p",22),I(15),_(),g(16,"div",23),I(17),_(),E(18,Wte,4,4,"div",24),_()(),E(19,Gte,4,4,"div",25),_()()()}if(t&2){let e=i.$implicit;f(3),w("ngClass",e.statusColor),f(4),S(e.icon?7:-1),f(3),w("ngClass",Be(11,jte,!e.isRead)),f(),pe(" ",e.title," "),f(2),w("ngClass",e.isRead?"bg-black-10":"bg-info"),f(2),pe(" ",e.text," "),f(2),wv(" ",e.time,"",e.userName?" via ":"","",e.userName," "),f(),S(!(e==null||e.iconButtons==null)&&e.iconButtons.length?18:-1),f(),S(!(e==null||e.miniButtons==null)&&e.miniButtons.length&&!(!(e==null||e.iconButtons==null)&&e.iconButtons.length)?19:-1)}}function Qte(t,i){if(t&1&&(g(0,"div",7),tt(1,Yte,20,13,"div",null,Ft),_()),t&2){let e=v();f(),nt(e.notificationList)}}function Zte(t,i){if(t&1){let e=le();g(0,"div",30,2),P("keydown",function(r){B(e);let o=v();return U(o.onKeyPressNoNotification(r))}),O(2,"div",31)(3,"em",32),g(4,"h4"),I(5,"You\u2019re all caught up!"),_(),g(6,"p"),I(7,"You don\u2019t have any unread notifications"),_()()}}var L0=(()=>{class t{constructor(){this.aamcOverlayService=d($s),this.announcer=d(dd),this.title=C("Notifications"),this.testId=C(void 0),this._testId=Z(()=>this.testId()?Te("notification-list",this.testId()):"notifications-container"),this.smartActionButtonSize=nd,this.notificationList=[],this.showClearAll=C(!1),this.markAllNotificationsAsRead=new z,this.markNotificationAsRead=new z,this.clearAllNotifications=new z,this.markAllAsReadRef=Qe.required("markAllAsReadRef",{read:Q}),this.notificationRefList=Tv("notificationRef",{read:Q}),this.noNotificationContent=Qe.required("noNotificationContent",{read:Q})}get showMarkAllAsRead(){return this.notificationList.filter(e=>!e.isRead).length>0}onKeyPressMarkAll(e,n=!1){e.key==="Enter"?n?this.clearAll():this.markAllAsRead():(e.shiftKey&&e.key==="Tab"||e.key==="Escape")&&(e.preventDefault(),this.closeNotificationsPanel())}onKeyPressNoNotification(e){e.shiftKey&&e.key==="Tab"||e.key==="Escape"?(e.preventDefault(),this.closeNotificationsPanel()):e.key==="Tab"&&!e.shiftKey&&this.aamcOverlayService.close()}closeNotificationsPanel(){this.aamcOverlayService.close()}onKeyPressNotification(e,n){e.key==="ArrowUp"||e.key==="ArrowDown"||e.key==="ArrowLeft"||e.key==="ArrowRight"?e.preventDefault():e.key==="Enter"||e.key==="Space"?this.markAsRead(n):n.id===this.notificationList[this.notificationList.length-1].id&&e.key==="Tab"&&!e.shiftKey&&this.aamcOverlayService.close(),(n.id===this.notificationList[0].id&&!this.showMarkAllAsRead&&e.shiftKey&&e.key==="Tab"||e.key==="Escape")&&(e.preventDefault(),this.aamcOverlayService.close())}markAsRead(e){e.isRead=!0,e.href?window.open(e.href,"_blank"):e.action&&e.action(e),this.markNotificationAsRead.emit(e)}markAllAsRead(){this.notificationList.map(e=>{e.isRead=!0}),this.notificationRefList()[0].nativeElement.focus(),this.markAllNotificationsAsRead.emit()}clearAll(){this.clearAllNotifications.emit()}announceNotificationStatus(e){this.announcer.announce(this.getReaderText(!!e.isRead))}getReaderText(e){return`This message is ${e?"already":"not"} read`}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-notification-list"]],viewQuery:function(n,r){n&1&&It(r.markAllAsReadRef,Fte,5,Q)(r.notificationRefList,Lte,5,Q)(r.noNotificationContent,Vte,5,Q),n&2&&ct(3)},inputs:{title:[1,"title"],testId:[1,"testId"],notificationList:"notificationList",showClearAll:[1,"showClearAll"]},outputs:{markAllNotificationsAsRead:"markAllNotificationsAsRead",markNotificationAsRead:"markNotificationAsRead",clearAllNotifications:"clearAllNotifications"},decls:9,vars:5,consts:[["markAllAsReadRef",""],["notificationRef",""],["noNotificationContent",""],[1,"only-xs:w-full","sm:w-[410px]",3,"click","keydown.esc"],["data-testid","notifications-container-header",1,"flex","flex-row","justify-between","items-center","pt-0","pr-4","pb-2","pl-6"],[1,"flex","flex-row","mt-4"],["tabindex","0","data-testid","mark-all-as-read-btn",1,"mark-all-as-read"],["data-testid","notification-list",1,"notification-list","overflow-auto","only-xs:w-full","sm:w-[409px]","h-[511px]"],["tabindex","0","data-testid","notifications-empty-list",1,"py-6","px-0","flex","flex-col","items-center"],["tabindex","0","data-testid","mark-all-as-read-btn",1,"mark-all-as-read",3,"keydown","click"],[1,"text-black-60","mx-1","mt-1"],["tabindex","0","data-testid","notification-list-item",1,"notification","flex","flex-row","content-center","hover:bg-primary-light-max","focus-visible:outline-color-primary-dark","focus-visible:outline-solid","focus-visible:border-4","focus-visible:border-style","focus-visible:border-primary-dark",3,"focus"],[1,"status-bar","w-[5px]",3,"ngClass"],[1,"flex","flex-col","w-full"],[1,"flex","pt-4","pr-4","pb-2","pl-[6px]","flex-row","w-full","justify-between"],[1,"p-3","text-black-60"],[3,"svgIcon"],[1,"flex","flex-col","w-[calc(100%-46px)]"],[1,"flex","flex-row","justify-between"],["tabindex","0","data-testid","notification-title",1,"h6","m-0","self-center","text-primary","line-clamp-2","overflow-ellipsis","cursor-pointer","hover:underline","focus:underline",3,"keydown","click","ngClass"],[1,"p-3","h-10"],["role","presentation","data-testid","notification-status-circle",1,"flex-col","h-4","w-4","rounded-full","inline-block",3,"mouseenter","ngClass"],[1,"mt-2","mb-1","line-clamp-4","overflow-ellipsis"],[1,"text-xs","text-black-60","leading-4"],[1,"flex","flex-row","justify-end","w-full"],[1,"flex","flex-row-reverse","flex-wrap","justify-start","gap-1","h-10","items-center","pr-4"],[3,"smartAction"],[3,"actionTrigger","smartAction"],[3,"smartAction","buttonSize"],[3,"actionTrigger","smartAction","buttonSize"],["tabindex","0","data-testid","notifications-empty-list",1,"py-6","px-0","flex","flex-col","items-center",3,"keydown"],[1,"h-px","w-96","bg-black-40","-mb-5"],["role","img","aria-label","Notification icon",1,"aamc-i-circle-check-o","text-4xl","text-black-60","bg-white"]],template:function(n,r){n&1&&(g(0,"div",3),P("click",function(a){return a.stopPropagation()})("keydown.esc",function(a){return r.closeNotificationsPanel(),a.preventDefault()}),g(1,"div",4)(2,"h4"),I(3),_(),g(4,"div",5),E(5,Bte,3,0,"a",6),E(6,Hte,4,1),_()(),E(7,Qte,3,0,"div",7)(8,Zte,8,0,"div",8),_()),n&2&&(N("data-testid",r._testId()),f(3),qe(r.title()),f(2),S(r.showMarkAllAsRead?5:-1),f(),S(r.showClearAll()&&r.notificationList.length?6:-1),f(),S(r.notificationList.length?7:8))},dependencies:[Ue,ot,Cr,Fh,ns,on,sM],styles:[`ol[_ngcontent-%COMP%]{list-style-type:decimal}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-roman}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-roman}ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:square}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}.mark-all-as-read[_ngcontent-%COMP%]{color:#006d75;font-size:12px;letter-spacing:0;line-height:18px;padding-top:5px}.notification-list[_ngcontent-%COMP%]::-webkit-scrollbar{width:7px}.notification-list[_ngcontent-%COMP%]::-webkit-scrollbar-track{border-radius:3.5px;background:#f2f2f2}.notification-list[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#c2c8cf;border-radius:3.5px}.notification[_ngcontent-%COMP%] .status-bar.error[_ngcontent-%COMP%]{background-color:#c01e31}.notification[_ngcontent-%COMP%] .status-bar.warning[_ngcontent-%COMP%]{background-color:#f26322}.notification[_ngcontent-%COMP%] .status-bar.info[_ngcontent-%COMP%]{background-color:#1961ae} 3311/*# sourceMappingURL=aamc-notification-list.component-UC26342P.css.map */`],changeDetection:0})}}return t})();var tU=(()=>{class t{constructor(){this._notificationList=new pt(void 0),this._downloadNotificationList=new pt(void 0),this._showClearAllNotifications=new pt(void 0),this._showClearAllDownloadNotifications=new pt(void 0),this._markAllReadNotifications=new V,this._markAllReadDownloads=new V,this._markNotificationAsRead=new V,this._markDownloadNotificationAsRead=new V,this._clearAllNotifications=new V,this._clearAllDownloads=new V,this.showClearAllNotifications$=this._showClearAllNotifications.asObservable(),this.showClearAllDownloadsNotifications$=this._showClearAllDownloadNotifications.asObservable(),this.notificationList$=this._notificationList.asObservable(),this.allNotificationsMarkedRead$=this._markAllReadNotifications.asObservable(),this.notificationMarkedAsRead$=this._markNotificationAsRead.asObservable(),this.allNotificationsCleared$=this._clearAllNotifications.asObservable(),this.downloadNotificationList$=this._downloadNotificationList.asObservable(),this.allDownloadNotificationsMarkedRead$=this._markAllReadDownloads.asObservable(),this.downloadNotificationMarkedAsRead$=this._markDownloadNotificationAsRead.asObservable(),this.allDownloadNotificationsCleared$=this._clearAllDownloads.asObservable()}setShowClearAllNotifications(e){this._showClearAllNotifications.next(e)}setShowClearAllDownloadsNotifications(e){this._showClearAllDownloadNotifications.next(e)}setNotificationList(e){this._notificationList.next(e)}markAllNotificationsAsRead(){this._markAllReadNotifications.next()}markNotificationAsRead(e){this._markNotificationAsRead.next(e)}clearAllNotifications(){this._clearAllNotifications.next()}setDownloadNotificationList(e){this._downloadNotificationList.next(e)}markAllDownloadNotificationsAsRead(){this._markAllReadDownloads.next()}markDownloadNotificationAsRead(e){this._markDownloadNotificationAsRead.next(e)}clearAllDownloadNotifications(){this._clearAllDownloads.next()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Kte=["iconButton"],Xte=["*"],Jte=(t,i)=>({"two-digit-badge":t,"three-digit-badge":i});function ene(t,i){if(t&1&&O(0,"span",5),t&2){let e=v();w("matBadge",e.notificationCount()??e.unreadNotificationsCount)("ngClass",tn(2,Jte,(e.notificationCount()??(e.notificationList==null?null:e.notificationList.length)??0)>99&&e.maxNotificationCountFlag,(e.notificationCount()??(e.notificationList==null?null:e.notificationList.length)??0)>999&&e.maxNotificationCountFlag))}}function tne(t,i){t&1&&O(0,"div",6)}
3311function nne(t,i){if(t&1){let e=le();g(0,"aamc-notification-list",9),nn(1,"async"),P("markAllNotificationsAsRead",function(){B(e);let r=v(2);return U(r.isDownloadNotifications()?r.markAllDownloadsAsRead():r.markAllNotificationsAsRead())})("markNotificationAsRead",function(r){B(e);let o=v(2);return U(o.isDownloadNotifications()?o.markDownloadAsRead(r):o.markNotificationAsRead(r))})("clearAllNotifications",function(){B(e);let r=v(2);return U(r.isDownloadNotifications()?r.clearAllDownloads():r.clearAllNotifications())}),_()}if(t&2){let e=v(2);w("title",e.isDownloadNotifications()?"Downloads":"Notifications")("notificationList",e.notificationList)("showClearAll",ai(1,3,e.showClearAll$)??!1)}}function ine(t,i){if(t&1&&(g(0,"div",7),E(1,nne,2,5,"aamc-notification-list",8),ae(2),_()),t&2){let e=v();f(),S(e.notificationList?1:-1)}}var Gl=(()=>{class t{constructor(){this.ele=d(Q),this.renderer=d(Ge),this.aamcOverlayService=d($s),this.notificationListService=d(tU),this.cdr=d(Pe),this.hasNotifications=C(),this.notificationCount=C(),this.isDownloadNotifications=C(!1),this.testId=C(void 0),this.iconButton=Qe.required("iconButton"),this.notificationListRef=Qe(L0),this._testId=Z(()=>this.testId()?Te(this.isDownloadNotifications()?"app-download":"app-notification",this.testId()):this.isDownloadNotifications()?"app-download-icon-btn":"app-notification-icon-btn"),this.hasToolTip=!0,this.maxNotificationCountFlag=!0,this.showArrow=!1,this.menuClose=!0,this.unreadCount=0,this.destroy=new V}onKeydownHandler(e){(e.shiftKey&&e.key==="Tab"||e.key==="Escape"||e.key==="Tab")&&this.aamcOverlayService.close()}get unreadNotificationsCount(){return this.unreadCount}get showClearAll$(){return this.isDownloadNotifications()?this.notificationListService.showClearAllDownloadsNotifications$:this.notificationListService.showClearAllNotifications$}ngOnInit(){(this.isDownloadNotifications()?this.notificationListService.downloadNotificationList$:this.notificationListService.notificationList$).pipe(Ee(this.destroy),ms(()=>{this.cdr.markForCheck()})).subscribe(e=>{this.notificationList=e?[...e]:void 0,this.recomputeUnreadCount()})}recomputeUnreadCount(){queueMicrotask(()=>{this.unreadCount=this.notificationList?.filter(e=>!e.isRead).length??0,this.cdr.markForCheck()})}handleClick(){queueMicrotask(()=>{this.hasToolTip=!1,this.showArrow=!0,this.cdr.markForCheck()}),setTimeout(()=>{this.onNotificationListDisplay(),this.hasToolTip=!1,this.renderer.addClass(this.ele.nativeElement?.firstElementChild?.firstChild,"aamc-arrow-position-header-icon"),this.renderer.setStyle(this.ele.nativeElement?.firstChild,"pointer-events","none")},10)}onNotificationListClosed(e){this.renderer.removeClass(this.ele.nativeElement?.firstElementChild?.firstChild,"aamc-arrow-position-header-icon"),this.renderer.addClass(this.ele.nativeElement,".tooltip-container"),this.renderer.setStyle(this.ele.nativeElement?.firstChild?.firstChild,"outline","initial"),this.renderer.setStyle(this.ele.nativeElement?.firstChild,"pointer-events","inherit"),this.iconButton()?.focus(),queueMicrotask(()=>{this.menuClose=e,this.showArrow=!1,this.hasToolTip=!0,this.cdr.markForCheck()})}markAllDownloadsAsRead(){this.notificationListService.markAllDownloadNotificationsAsRead(),this.recomputeUnreadCount()}markAllNotificationsAsRead(){this.notificationListService.markAllNotificationsAsRead(),this.recomputeUnreadCount()}clearAllDownloads(){this.notificationListService.clearAllDownloadNotifications(),this.recomputeUnreadCount()}clearAllNotifications(){this.notificationListService.clearAllNotifications(),this.recomputeUnreadCount()}markDownloadAsRead(e){this.notificationListService.markDownloadNotificationAsRead(e),this.recomputeUnreadCount()}markNotificationAsRead(e){this.notificationListService.markNotificationAsRead(e),this.recomputeUnreadCount()}onNotificationListDisplay(){let e=this.notificationListRef()?.notificationRefList(),n=this.notificationListRef();n?.showMarkAllAsRead?n?.markAllAsReadRef().nativeElement.focus():e?.length?this.notificationListRef()?.notificationRefList()[0].nativeElement.focus():n?.noNotificationContent().nativeElement.focus()}ngOnDestroy(){this.destroy.next(),this.destroy.complete()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-app-notification"]],viewQuery:function(n,r){n&1&&It(r.iconButton,Kte,5)(r.notificationListRef,L0,5),n&2&&ct(2)}
3311,hostBindings:function(n,r){n&1&&P("keydown",function(a){return r.onKeydownHandler(a)})},inputs:{hasNotifications:[1,"hasNotifications"],notificationCount:[1,"notificationCount"],isDownloadNotifications:[1,"isDownloadNotifications"],testId:[1,"testId"]},ngContentSelectors:Xte,decls:8,vars:9,consts:[["iconButton",""],["showMenu",""],["aamcOverlay","","matIconButton","","toolTipDirection","bottom",1,"app-header-icon-button",3,"click","keydown.enter","overlayClosed","aamcTooltip","showToolTip","alwaysOnTopOverlay","overlayContentTemplate"],[1,"circle","icon-margin"],["role","img","aria-hidden","true",1,"aamc-i",3,"ngClass"],["data-testid","notifications-icon-btn-badge","matBadgeOverlap","false",3,"matBadge","ngClass"],[1,"aamc-arrow-position-header-icon"],["data-testid","app-menu-box",1,"w-full"],[3,"title","notificationList","showClearAll"],[3,"markAllNotificationsAsRead","markNotificationAsRead","clearAllNotifications","title","notificationList","showClearAll"]],template:function(n,r){if(n&1&&(We(),g(0,"button",2,0),P("click",function(){return r.handleClick()})("keydown.enter",function(){return r.handleClick()})("overlayClosed",function(a){return r.onNotificationListClosed(a)}),g(2,"span",3),O(3,"em",4),E(4,ene,1,5,"span",5),_(),E(5,tne,1,0,"div",6),_(),se(6,ine,3,1,"ng-template",null,1,zn)),n&2){let o=Ie(7);w("aamcTooltip",r.isDownloadNotifications()?"Downloads":"Notifications")("showToolTip",r.hasToolTip)("alwaysOnTopOverlay",!0)("overlayContentTemplate",o),N("data-testid",r._testId())("aria-label",r.isDownloadNotifications()?"Download":"Notifications"),f(3),w("ngClass",r.isDownloadNotifications()?"aamc-i-download":"aamc-i-notification-o"),f(),S(r.hasNotifications()??r.unreadNotificationsCount?4:-1),f(),S(r.showArrow?5:-1)}},dependencies:[Ue,ot,bt,Oi,wo,Sd,Ph,yi,Qp,JB,L0,Zo],encapsulation:2})}}return t})();var rne=["matTrigger"],one=["search"],ane=["searchMobileElement"],sne=["searchFieldContainer"],lne=["*"],cne=(t,i)=>({"show-alert":t,"focus-out-icon":i}),dne=(t,i)=>({"two-digit-badge":t,"three-digit-badge":i}),une=()=>({id:"notification-panel-content"}),iU=t=>({$implicit:t}),hne=()=>({id:"download-panel-content"}),fne=t=>({"focus-out-icon":t}),mne=(t,i)=>i.id,pne=(t,i)=>i.name;function gne(t,i){t&1&&(g(0,"div",8)(1,"a",22),I(2,"Visit AAMC.org"),_()())}function _ne(t,i){t&1&&Kn(0)}function vne(t,i){if(t&1&&O(0,"span",26),t&2){let e=v(2);w("matBadge",e.messageCount())("ngClass",tn(2,dne,e.messageCount()>99&&e.maxMessageCountFlag,e.messageCount()>999&&e.maxMessageCountFlag))}}function yne(t,i){if(t&1){let e=le();g(0,"div",11)(1,"button",23),P("click",function(){B(e);let r=v();return U(r.handleMessageClick())})("focusout",function(){B(e);let r=v();return U(r.focusOutClick())}),g(2,"span",24),O(3,"em",25),E(4,vne,1,5,"span",26),_()()()}if(t&2){let e=v();f(),w("ngClass",tn(3,cne,e.hasMessages(),e.messageFocus)),N("data-testid",e._messagesTestId()),f(3),S(e.hasMessages()?4:-1)}}function bne(t,i){}function Cne(t,i){if(t&1&&(g(0,"div",12)(1,"aamc-app-notification",27),se(2,bne,0,0,"ng-template",28),_()()),t&2){let e=v();f(),w("notificationCount",e.notificationCount())("hasNotifications",e.hasNotifications())("testId",e._notificationsTestId()),f(),w("ngTemplateOutlet",e.notificationsTemplate())("ngTemplateOutletContext",Be(6,iU,Mt(5,une)))}}function wne(t,i){}function xne(t,i){if(t&1&&(g(0,"div",11)(1,"aamc-app-notification",29),se(2,wne,0,0,"ng-template",28),_()()),t&2){let e=v();f(),w("isDownloadNotifications",!0)("notificationCount",e.downloadCount())("hasNotifications",e.hasDownloads())("testId",e._downloadsTestId()),f(),w("ngTemplateOutlet",e.downloadTemplate())("ngTemplateOutletContext",Be(7,iU,Mt(6,hne)))}}function Dne(t,i){if(t&1){let e=le();g(0,"div",11)(1,"button",30),P("click",function(){B(e);let r=v();return U(r.handleHelpClick())})("focusout",function(){B(e);let r=v();return U(r.focusOutClick())}),g(2,"span",24),O(3,"em",31),_()()()}if(t&2){let e=v();f(),w("ngClass",Be(1,fne,e.helpFocus))}}function Mne(t,i){if(t&1&&(g(0,"div",11),O(1,"aamc-ui-app-menu",32),_()),t&2){let e=v();f(),w("appMenu",e.appMenu())}}
3311function Ene(t,i){if(t&1&&O(0,"i",46),t&2){let e=v().$implicit;bn(nr("aamc-i-",e.icon," pr-[5px]"))}}function Sne(t,i){if(t&1&&(g(0,"span",43),I(1),_()),t&2){let e=v().$implicit;f(),pe("",e.name,"\xA0\xA0 ")}}function Tne(t,i){if(t&1){let e=le();g(0,"aamc-button",49),P("mousedown",function(r){B(e);let o=v().$implicit,a=v().$implicit,s=v(2);return U(s.onButtonTrigger(r,o,a))}),_()}if(t&2){let e=v().$implicit;w("smartAction",e)("aamcIconClass","aamc-i-"+(e.icon==null?null:e.icon.toString()))}}function Ine(t,i){if(t&1){let e=le();g(0,"aamc-icon-button",50),P("mousedown",function(r){B(e);let o=v().$implicit,a=v().$implicit,s=v(2);return U(s.onButtonTrigger(r,o,a))}),_()}if(t&2){let e=v().$implicit;w("smartAction",e)}}function Ane(t,i){if(t&1&&(E(0,Tne,1,2,"aamc-button",47),E(1,Ine,1,1,"aamc-icon-button",48)),t&2){let e=i.$implicit;S(e.name&&e.name.length>0?0:-1),f(),S(!e.name||e.name.length===0?1:-1)}}function kne(t,i){if(t&1){let e=le();g(0,"mat-option",39),P("mousedown",function(){let r=B(e).$implicit,o=v(2);return U(o.onSearchSuggestionMouseDown(r))})("onSelectionChange",function(r){let o=B(e).$implicit,a=v(2);return U(a.onSearchSuggestionSelected(r,o))}),g(1,"div",40)(2,"div",41),E(3,Ene,1,3,"i",42),E(4,Sne,2,1,"span",43),g(5,"span",44),I(6),_()(),g(7,"div",45),tt(8,Ane,2,2,null,null,pne),_()()()}if(t&2){let e=i.$implicit,n=v(2);w("value",e),f(),ie("flex-row",!n.disableSearchExpansion())("flex-col",n.disableSearchExpansion()),f(2),S(e.icon?3:-1),f(),S(e.name&&e.name.length>0?4:-1),f(2),pe(" ",e.value),f(2),nt(e.actions)}}function One(t,i){if(t&1){let e=le();g(0,"div",33,2)(2,"mat-form-field",17)(3,"input",34,3),P("paste",function(r){B(e);let o=v();return U(o.onSearchValueChanged(r.clipboardData==null?null:r.clipboardData.getData("text/plain")))})("input",function(r){B(e);let o=v();return U(o.onSearchValueChanged(r.target.value))})("blur",function(){B(e);let r=Ie(5);return U(r.closePanel())})("keyup.enter",function(r){B(e);let o=v();return U(o.triggerSearch(r))}),_(),g(6,"button",35),P("click",function(){B(e);let r=v();return U(r.clearSearch())}),O(7,"em",20),_(),O(8,"i",36),g(9,"mat-autocomplete",37,4),P("optionSelected",function(r){B(e);let o=v();return U(o.deselectSearchSuggestionOption(r))}),tt(11,kne,10,8,"mat-option",38,mne),_()()()}if(t&2){let e=Ie(4),n=Ie(10),r=v();ie("inline-search-bar",!r.disableSearchExpansion()),f(3),w("placeholder",r.searchPlaceholder?r.searchPlaceholder:r.getPlaceholderText())("matAutocomplete",n),f(3),w("ngClass",e.value===""?"search-icon":""),f(3),w("classList",r.disableSearchExpansion()?null:"inline-search-bar")("displayWith",r.onSearchSuggestionDisplayWith),f(2),nt(r._searchSuggestions())}}function Nne(t,i){if(t&1){let e=le();g(0,"button",51,5),P("menuOpened",function(){B(e);let r=v();return U(r.mobileSearchOpened())}),g(2,"span",24),O(3,"em",52),_()()}if(t&2){let e=Ie(1);v();let n=Ie(15);w("matMenuTriggerFor",n)("ngClass",e.menuOpen?"close-icon":"search-icon"),f(3),w("ngClass",e.menuOpen?"aamc-i-close":"aamc-i-search")}}function Rne(t,i){if(t&1&&(g(0,"div",53)(1,"div",57),I(2),_(),g(3,"div",58),I(4),_()()),t&2){let e=v(2);f(2),pe(" ",e.user==null?null:e.user.commonName," "),f(2),pe(" ",e.userDescription()," ")}}function Pne(t,i){if(t&1&&O(0,"aamc-ui-account",56),t&2){let e=v(2);w("urlTarget",e.urlTarget())("user",e.user)}}function Fne(t,i){if(t&1&&(E(0,Rne,5,2,"div",53),O(1,"div",54),g(2,"div",55),E(3,Pne,1,2,"aamc-ui-account",56),_()),t&2){let e=v();S(e.user?0:-1),f(3),S(e.sessionResolved()?3:-1)}}var Zp=(()=>{class t{constructor(){this.layout=d(Ed),this.testId=C(void 0),this._testId=Z(()=>{let e=this.testId();return e?Te("utility-header",e):"utility-header"}),this._messagesTestId=Z(()=>`${this._testId()}-messages`),this._notificationsTestId=Z(()=>{let e=this.testId();return e?`${e} notifications`:void 0}),this._downloadsTestId=Z(()=>{let e=this.testId();return e?`${e} downloads`:void 0}),this.appName=C(""),this.showSearch=C(!0),this.disableSearchExpansion=C(!1),this.searchPlaceholder="",this.matTrigger=Qe.required("matTrigger"),this.searchInput=Qe("search"),this.searchMobileElement=Qe("searchMobileElement"),this.showLink=C(!0),this.urlTarget=C(),this.user=null,this.sessionResolved=C(!1),this.userDescription=C(),this.showNotifications=C(!1),this.hasNotifications=C(),this.showDownloads=C(!1),this.hasDownloads=C(),this.showMessages=C(!0),this.hasMessages=C(!1),this.showHelp=C(!1),this.appMenu=C([]),this.showAppMenuSwitcher=C(!1),this.iconTemplate=C(null),this.navBreakp
3311oint=C(600),this.downloadCount=C(),this.messageCount=C(0),this.notificationCount=C(),this.notificationsTemplate=C(null),this.downloadTemplate=C(null),this.showUserAccount=C(!0),this._searchSuggestions=re([]),this.autocompleteTrigger=Qe(Oh),this.searchFieldContainer=Qe("searchFieldContainer"),this.maxMessageCountFlag=!0,this.maxNotificationCountFlag=!0,this.messageFocus=!1,this.helpFocus=!1,this._searchSuggestionOptionSelected=!1}set searchSuggestions(e){this._searchSuggestions.set(e??[])}ngAfterViewInit(){let e=this.searchFieldContainer();e!=null&&e.nativeElement!==null&&e.nativeElement!==void 0&&new ResizeObserver(r=>{for(let o of r){let a=this.autocompleteTrigger(),s=a?.autocomplete.panel?.nativeElement;s&&(s.style.width=s.style.minWidth=o.contentRect.width+"px",a?.updatePosition())}}).observe(e?.nativeElement)}onSearchSuggestionDisplayWith(e){return e?.value??""}onSearchValueChanged(e){this.layout.onSearchValueChanged(e??"")}deselectSearchSuggestionOption(e){e!=null&&(this._searchSuggestionOptionSelected=!0,e.option.deselect())}onSearchSuggestionMouseDown(e){this._searchSuggestionOptionSelected=!0,this.layout.onSearchSuggestionSelected(e),this.searchInput()?.nativeElement.blur()}onSearchSuggestionSelected(e,n){e.isUserInput&&(this._searchSuggestionOptionSelected=!0,this.layout.onSearchSuggestionSelected(n))}onButtonTrigger(e,n,r){e.stopPropagation(),n.action(r)}getPlaceholderText(){let e=this.appName();return e?`Search ${e}`:"Search"}addIconBorder(){return this.showLink()||(this.showHelp()||this.showMessages()&&this.user||this.showNotifications()&&this.user||this.showDownloads()&&this.user||this.showAppMenuSwitcher()||this.showSearch())&&this.sessionResolved()}triggerSearch(e){if(this._searchSuggestionOptionSelected){this._searchSuggestionOptionSelected=!1;return}let n=e.target.value;this.layout.updateSearch(n)}mobileSearchOpened(){setTimeout(()=>{this.searchMobileElement()?.nativeElement.focus()},100)}handleMessageClick(){this.messageFocus=!0;let e=document.querySelector(".tooltip-container");e&&(e.style.display="none"),setTimeout(()=>{this.layout.triggerMessages()},10)}handleHelpClick(){this.helpFocus=!0;let e=document.querySelector(".tooltip-container");e&&(e.style.display="none"),setTimeout(()=>{this.layout.triggerHelp()},10)}focusOutClick(){this.messageFocus=!1,this.helpFocus=!1}clearSearch(){let e=this.searchInput();e&&(e.nativeElement.value="");let n=this.searchMobileElement();n&&(n.nativeElement.value=""),this.layout.onSearchValueChanged("")}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-ui-utility-header"]],viewQuery:function(n,r){n&1&&It(r.matTrigger,rne,5)(r.searchInput,one,5)(r.searchMobileElement,ane,5)(r.autocompleteTrigger,Oh,5)(r.searchFieldContainer,sne,5),n&2&&ct(5)},inputs:{testId:[1,"testId"],appName:[1,"appName"],showSearch:[1,"showSearch"],disableSearchExpansion:[1,"disableSearchExpansion"],searchPlaceholder:"searchPlaceholder",showLink:[1,"showLink"],urlTarget:[1,"urlTarget"],user:"user",sessionResolved:[1,"sessionResolved"],userDescription:[1,"userDescription"],showNotifications:[1,"showNotifications"],hasNotifications:[1,"hasNotifications"],showDownloads:[1,"showDownloads"],hasDownloads:[1,"hasDownloads"],showMessages:[1,"showMessages"],hasMessages:[1,"hasMessages"],showHelp:[1,"showHelp"],appMenu:[1,"appMenu"],showAppMenuSwitcher:[1,"showAppMenuSwitcher"],iconTemplate:[1,"iconTemplate"],navBreakpoint:[1,"navBreakpoint"],downloadCount:[1,"downloadCount"],messageCount:[1,"messageCount"],notificationCount:[1,"notificationCount"],notificationsTemplate:[1,"notificationsTemplate"],downloadTemplate:[1,"downloadTemplate"],showUserAccount:[1,"showUserAccount"],searchSuggestions:"searchSuggestions"},standalone:!1,ngContentSelectors:lne,decls:24,vars:14,consts:[["searchMenu","matMenu"],["searchMobileElement",""],["searchFieldContainer",""],["search","","trigger","matAutocompleteTrigger"],["auto","matAutocomplete"],["matTrigger","matMenuTrigger"],[1,"utility","!bg-secondary-dark","!h-[54px]","justify-end","!px-10","!py-0","!text-white","only-sm:!px-5","only-sm:!py-0","only-xs:hidden"],[1,"flex-spacer"],[1,"visit-aamc-link","mr-2","h-[38px]"],[1,"icon-buttons","h-[38px]","flex","flex-row"],[4,"ngTemplateOutlet"],[1,"icon-button-unit","m-0"],["data-track-gcl-view","N
3311otification",1,"icon-button-unit","m-0"],["data-testid","search-bar",1,"lt-md:hidden","search","flex","my-auto","ml-2","justify-center","transition-all","duration-300",3,"inline-search-bar"],["matIconButton","","restoreFocus","true","aria-label","Open Search Menu",1,"!hidden","only-sm:visible","matmenu-search-button","app-header-icon-button","mx-2","w-[38px]","h-[38px]",3,"matMenuTriggerFor","ngClass"],[1,"header-search-menu","header-search-menu-for-small",3,"overlapTrigger"],[1,"small-view-search","mobile","m-6","cursor-pointer","justify-center"],["appearance","outline",1,"aamc-search-bar"],["matInput","","aria-label","search",3,"click","keyup.enter","placeholder"],["matSuffix","","matIconButton","","aria-label","Clear Search",3,"click","ngClass"],["role","img","aria-hidden","true",1,"aamc-i-close","small"],["matPrefix","","aria-hidden","true",1,"aamc-i-search"],["id","aamc-link","target","_blank","href","https://www.aamc.org",1,"text-white","text-[14px]"],["matIconButton","","id","messages-btn","aria-label","Messages","aamcTooltip","Messages","toolTipDirection","bottom",1,"app-header-icon-button",3,"click","focusout","ngClass"],[1,"circle","icon-margin","mt-[3px]"],["role","img","aria-hidden","true",1,"aamc-i-email","aamc-i"],["matBadgeOverlap","false",3,"matBadge","ngClass"],[3,"notificationCount","hasNotifications","testId"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"isDownloadNotifications","notificationCount","hasNotifications","testId"],["matIconButton","","id","help-btn","aria-label","Help","aamcTooltip","Help","toolTipDirection","bottom",1,"app-header-icon-button",3,"click","focusout","ngClass"],["role","img","aria-hidden","true",1,"aamc-i-help","aamc-i"],["data-testid","app-menu",3,"appMenu"],["data-testid","search-bar",1,"lt-md:hidden","search","flex","my-auto","ml-2","justify-center","transition-all","duration-300"],["id","appSearch","matInput","","aria-label","search","data-testid","input-search",3,"paste","input","blur","keyup.enter","placeholder","matAutocomplete"],["matSuffix","","matIconButton","","aria-label","clear search","data-testid","clear-search",3,"click","ngClass"],["matPrefix","","aria-hidden","true",1,"aamc-i-search","small"],[3,"optionSelected","classList","displayWith"],["data-testid","search-option",3,"value"],["data-testid","search-option",3,"mousedown","onSelectionChange","value"],[1,"aamc-search-suggestion-option","flex","w-full"],[1,"flex","flex-row","items-center","w-full"],["data-testid","search-suggestion-icon",3,"class"],["data-testid","search-suggestion-name",1,"aamc-search-suggestion-name"],["data-testid","search-suggestion-value",1,"aamc-search-suggestion-value","text-xs"],[1,"flex","flex-row","justify-end","items-center"],["data-testid","search-suggestion-icon"],["data-testid","search-suggestion-button",3,"smartAction","aamcIconClass"],["data-testid","search-suggestion-button-without-name",3,"smartAction"],["data-testid","search-suggestion-button",3,"mousedown","smartAction","aamcIconClass"],["data-testid","search-suggestion-button-without-name",3,"mousedown","smartAction"],["matIconButton","","restoreFocus","true","aria-label","Open Search Menu",1,"!hidden","only-sm:visible","matmenu-search-button","app-header-icon-button","mx-2","w-[38px]","h-[38px]",3,"menuOpened","matMenuTriggerFor","ngClass"],["role","img","aria-hidden","true",3,"ngClass"],["id","user-details",1,"only-xs:hidden","user-details","h-[38px]","flex","flex-col","items-end","justify-center","pl-0","ml-4","font-normal","text-xs","leading-4"],["data-testid","icon-border"],[1,"user-name-initial"],["id","account-dropdown",3,"urlTarget","user"],["data-testid","user-commonName",1,"user-description","overflow-hidden","text-ellipsis","whitespace-nowrap","max-w-[500px]"],["data-testid","user-description",1,"user-description","overflow-hidden","text-ellipsis","whitespace-nowrap","max-w-[500px]"]],template:function(n,r){if(n&1){let o=le();We(),g(0,"mat-toolbar",6),O(1,"div",7),E(2,gne,3,0,"div",8),g(3,"div",9),se(4,_ne,1,0,"ng-container",10),ae(5),E(6,yne,5,6,"div",11),E(7,Cne,3,8,"div",12),E(8,xne,3,9,"div",11),E(9,Dne,4,3,"div",11),E(10,Mne,2,1,"div",11),_(),E(11,One,13,7,"div",13),g(12,"div",9),E(13,Nne,4,3,"button",14),_(),g(14,"mat-menu",15,0)(16,"div",16)(17,"mat-form-field",17)(18,"input",18,1),P("click",function(s){return s.stopPropagation()})("keyup.enter",function(s){return B(o),r.triggerSearch(s),U(r.matTrigger().closeMenu())}),_(),g(20,"button",19),P("click",function(s){return B(o),s.stopPropagation(),U(r.clearSearch())}),O(21,"em",20),_(),O(22,"i",21),_()()(),E(23,Fne,4,2),_()}if(n&2){let o=Ie(19);N("data-testid",r._testId()),f(2),S(r.showLink()?2:-1),f(2),w("ngTemplateOutlet",r.iconTemplate()),f(2),S(r.showMessages()&&r.user?6:-1),f(),S(r.showNotifications()&&r.user?7:-1),f(),S(r.showDownloads()&&r.user?8:-1),f(),S(r.showHelp()?9:-1),f(),S(r.showAppMenuSwitcher()?10:-1),f(),S(r.showSearch()?11:-1),f(2),S(r.showSearch()?13:-1),f(),w("overlapTrigger",!1),f(4),w("placeholder",r.searchPlaceholder?r.searchPlaceholder:r.getPlaceholderText()),f(2),w("ngClass",o.value===""?"search-icon":""),f(3),S(r.showUserAccount()?23:-1)}},dependencies:[Nh,Oi,bo,vr,Cd,Us,Pi,bi,ns,P0,yi,F0,Gl,Fh,Ph,GB,kh,Oh,ot,Pn],styles:[`ol[_ngcontent-%COMP%]{list-style-type:decimal}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-roman}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-roman}ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:square}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}.utility[_ngcontent-%COMP%] .visit-aamc-link[_ngcontent-%COMP%] #aamc-link[_ngcontent-%COMP%]{margin:12px 0;font-weight:400;font-size:14px;line-height:19px}.utility[_ngcontent-%COMP%] .visit-aamc-link[_ngcontent-%COMP%] #aamc-link[_ngcontent-%COMP%]:focus-visible, .utility[_ngcontent-%COMP%] .visit-aamc-link[_ngcontent-%COMP%] #aamc-link.cdk-keyboard-focused[_ngcontent-%COMP%]{outline:2px solid #fff!important}.utility[_ngcontent-%COMP%] .search[_ngcontent-%COMP%]:focus, .utility[_ngcontent-%COMP%] .search[_ngcontent-%COMP%]:focus input[_ngcontent-%COMP%], .utility[_ngcontent-%COMP%] .search[_ngcontent-%COMP%]:hover input[_ngcontent-%COMP%], .utility[_ngcontent-%COMP%] .search[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:none}
3311.utility[_ngcontent-%COMP%] .inline-search-bar[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .utility[_ngcontent-%COMP%] .inline-search-bar[_ngcontent-%COMP%] em[_ngcontent-%COMP%]{vertical-align:baseline!important}@media(max-width:1279px){.utility[_ngcontent-%COMP%] .inline-search-bar[_ngcontent-%COMP%]:focus-within{flex-grow:1;width:99%}}@media(min-width:1280px){.utility[_ngcontent-%COMP%] .inline-search-bar[_ngcontent-%COMP%]:focus-within{width:50%;transition:width .3s}}.utility[_ngcontent-%COMP%] .search-icon[_ngcontent-%COMP%]:focus-visible, .utility[_ngcontent-%COMP%] .search-icon.cdk-keyboard-focused[_ngcontent-%COMP%], .utility[_ngcontent-%COMP%] .search-icon[_ngcontent-%COMP%]:focus:not(:hover){outline:2px solid #000!important;outline-style:auto!important;outline-offset:-5px!important}.utility[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]:focus-visible, .utility[_ngcontent-%COMP%] .close-icon.cdk-keyboard-focused[_ngcontent-%COMP%], .utility[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]:focus:not(:hover){outline:2px solid #000!important;outline-style:auto!important;outline-offset:-5px!important;border-radius:0%}.utility[_ngcontent-%COMP%] .aamc-i-close[_ngcontent-%COMP%]:focus{outline:1px solid #fff}.utility[_ngcontent-%COMP%] .icon-buttons[_ngcontent-%COMP%] .circle[_ng
3311content-%COMP%]:hover{background-color:#e5f0f1}.utility[_ngcontent-%COMP%] .icon-buttons[_ngcontent-%COMP%] .circle[_ngcontent-%COMP%]:hover i[_ngcontent-%COMP%], .utility[_ngcontent-%COMP%] .icon-buttons[_ngcontent-%COMP%] .circle[_ngcontent-%COMP%]:hover em[_ngcontent-%COMP%]{color:#006d75}.utility[_ngcontent-%COMP%] .icon-buttons[_ngcontent-%COMP%] .show-alert[_ngcontent-%COMP%] .badge[_ngcontent-%COMP%]{display:block}.utility[_ngcontent-%COMP%] .icon-buttons[_ngcontent-%COMP%] .badge[_ngcontent-%COMP%]{display:none;position:absolute;width:8px;height:8px;top:3px;border-radius:50%;-moz-border-radius:50%;-webkit-border-radius:50%;background-color:#65bd60}.utility[_ngcontent-%COMP%] .icon-buttons[_ngcontent-%COMP%] #messages-btn[_ngcontent-%COMP%] .badge[_ngcontent-%COMP%]{right:1px}.utility[_ngcontent-%COMP%] .icon-buttons[_ngcontent-%COMP%] #notifications-btn[_ngcontent-%COMP%] .badge[_ngcontent-%COMP%]{right:5px}.small-view-search[_ngcontent-%COMP%]:focus{outline:none}.mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{color:#000;background:#65bd60;right:-10px;top:-16px;width:20px;height:20px;font-size:11px}.mat-badge-medium.mat-badge-after.two-digit-badge[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{padding-left:2px;padding-right:2px;height:20px;width:28px;right:-16px;top:-14px;font-size:10px;border-radius:10px}.mat-badge-medium.mat-badge-after.three-digit-badge[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{padding-left:2px;padding-right:2px;height:20px;width:30px;right:-16px;top:-14px;font-size:0;border-radius:10px}.mat-badge-medium.mat-badge-after.three-digit-badge[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]:after{content:"999+";visibility:visible;display:block;margin-top:-22px;font-size:10px}
3311.focus-out-icon[_ngcontent-%COMP%]:focus-visible .circle[_ngcontent-%COMP%], .focus-out-icon.cdk-keyboard-focused[_ngcontent-%COMP%] .circle[_ngcontent-%COMP%]{outline:none!important;background-color:transparent!important}.focus-out-icon[_ngcontent-%COMP%]:focus-visible .circle[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .focus-out-icon[_ngcontent-%COMP%]:focus-visible .circle[_ngcontent-%COMP%] em[_ngcontent-%COMP%], .focus-out-icon.cdk-keyboard-focused[_ngcontent-%COMP%] .circle[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .focus-out-icon.cdk-keyboard-focused[_ngcontent-%COMP%] .circle[_ngcontent-%COMP%] em[_ngcontent-%COMP%]{color:#fff!important}.aamc-search-suggestion-display[_ngcontent-%COMP%]{font-weight:700;padding-right:5px} 3312/*# sourceMappingURL=utility-header.component-I7JLHJCR.css.map */`]})}}return t})();var Vne=["childMenu"],V0=(t,i,e)=>({allOf:t,atLeastOneOf:i,unsecure:e}),rU=()=>["active"];function jne(t,i){if(t&1&&(g(0,"span",6),I(1),_()),t&2){v();let e=Ie(2),n=v(2).$implicit,r=v();w("matMenuTriggerFor",e.childMenu())("routerLink",n.router)("routerLinkActive",Mt(5,rU)),N("data-testid",r.navigationTestId(n)),f(),pe(" ",n.name," ")}}function Bne(t,i){if(t&1&&(se(0,jne,2,6,"span",4),O(1,"aamc-header-dropdown",5,1)),t&2){let e=v(2).$implicit,n=v();w("aamcUiCoreSecure",yt(3,V0,e.allOf,e.atLeastOneOf,e.unsecure)),f(),w("items",e.children)("testId",n.testId())}}function Une(t,i){if(t&1&&(g(0,"a",7),I(1),_()),t&2){let e=v(4).$implicit,n=v();w("title",e.tooltip)("routerLink",e.router)("routerLinkActive",Mt(8,rU))("queryParams",e.queryParams)("queryParamsHandling",e.queryParamsHandling)("target",(e==null?null:e.target)==="_blank"||(e==null?null:e.showWindowIcon)===!0?"_blank":"_self"),N("data-testid",n.navigationTestId(e)),f(),pe(" ",e.name," ")}}function Hne(t,i){if(t&1&&se(0,Une,2,9,"a",9),t&2){let e=v(3).$implicit;w("aamcUiCoreSecure",yt(1,V0,e.allOf,e.atLeastOneOf,e.unsecure))}}function zne(t,i){if(t&1&&(g(0,"a",8),I(1),O(2,"i",11),_()),t&2){let e=v(4).$implicit,n=v();w("title",e.tooltip)("href",e.href,Qt)("target",e.target||"_blank"),N("data-testid",n.navigationTestId(e)),f(),pe(" ",e.name," ")}}function $ne(t,i){if(t&1&&se(0,zne,3,5,"a",10),t&2){let e=v(3).$implicit;w("aamcUiCoreSecure",yt(1,V0,e.allOf,e.atLeastOneOf,e.unsecure))}}function Wne(t,i){if(t&1&&E(0,Hne,1,5,"a",7)(1,$ne,1,5,"a",8),t&2){let e=v(2).$implicit;S(e!=null&&e.showWindowIcon?1:0)}}function qne(t,i){if(t&1&&E(0,Bne,3,7)(1,Wne,2,1),t&2){let e=v().$implicit;S(e.children?0:1)}}function Gne(t,i){if(t&1&&(g(0,"a",3),I(1),_()),t&2){let e=v(2).$implicit,n=v();w("title",e.tooltip),N("data-testid",n.navigationTestId(e))("disabled",e==null?null:e.disable),f(),pe(" ",e.name," ")}}function Yne(t,i){if(t&1&&se(0,Gne,2,4,"a",12),t&2){let e=v().$implicit;w("aamcUiCoreSecure",yt(1,V0,e.allOf,e.atLeastOneOf,e.unsecure))}}function Qne(t,i){if(t&1&&(g(0,"span"),E(1,qne,2,1)(2,Yne,1,5,"a",3),_()),t&2){let e=i.$implicit;f(),S(e!=null&&e.disable?2:1)}}var oU=(()=>{class t{constructor(){this.testId=C(void 0),this.items=C([]),this._testId=Z(()=>Te("header-dropdown",this.testId())),this.childMenu=Qe.required("childMenu")}navigationTestId(e){let n=ei(e.name);return n?`${this._testId()}-dropdown-item-${n}`:`${this._testId()}-dropdown-item`}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-header-dropdown"]],viewQuery:function(n,r){n&1&&It(r.childMenu,Vne,5),n&2&&ct()},inputs:{testId:[1,"testId"],items:[1,"items"]},standalone:!1,decls:4,vars:1,consts:[["childMenu","matMenu"],["subMenu",""],[3,"overlapTrigger"],["mat-menu-item","","tabindex","0",1,"aamc-subheader-item","menu-disabled",3,"title"],["class","aamc-subheader-item","mat-menu-item","","color","primary",3,"matMenuTriggerFor","routerLink","routerLinkActive",4,"aamcUiCoreSecure"],[3,"items","testId"],["mat-menu-item","","color","primary",1,"aamc-subheader-item",3,"matMenuTriggerFor","routerLink","routerLinkActive"],["mat-menu-item","","color","primary","tabindex","0","rel","noreferrer noopener",1,"aamc-subheader-item",3,"title","routerLink","routerLinkActive","queryParams","queryParamsHandling","target"],["mat-menu-item","","color","primary","rel","noreferrer noopener","tabindex","0",1,"aamc-subheader-item","justify-between","external-nav-item",3,"title","href","target"],["class","aamc-subheader-item","mat-menu-item","","color","primary","tabindex","0","rel","noreferrer noopener",3,"title","routerLink","routerLinkActive","queryParams","queryParamsHandling","target",4,"aamcUiCoreSecure"],["class","aamc-subheader-item justify-between external-nav-item","mat-menu-item","","color","primary","rel","noreferrer noopener","tabindex","0",3,"title","href","target",4,"aamcUiCoreSecure"],[1,"aamc-i-new-window","medium","clickable","pl-[
331210px]"],["class","aamc-subheader-item menu-disabled","mat-menu-item","","tabindex","0",3,"title",4,"aamcUiCoreSecure"]],template:function(n,r){n&1&&(g(0,"mat-menu",2,0),tt(2,Qne,3,1,"span",null,Ft),_()),n&2&&(w("overlapTrigger",!1),f(2),nt(r.items()))},dependencies:[rn,ea,Ki,Pi,da,bi,t],encapsulation:2})}}return t})();var j0=(t,i,e)=>({allOf:t,atLeastOneOf:i,unsecure:e}),aU=t=>({"max-width":t}),Kne=(t,i,e,n,r,o)=>({"aamc-nav-item-open":t,"aamc-nav-item-active":i,"aamc-nav-item-text-wrap":e,"aamc-nav-item-text-width-x":n,"aamc-nav-item-text-width-xx":r,"aamc-nav-item-text-width-xxx":o}),Xne=(t,i)=>({"aamc-i-dropdown-arrow":t,"aamc-i-dropdown-arrow-up":i}),Jne=()=>["aamc-nav-item-active"],eie=t=>({exact:t}),tie=(t,i,e,n)=>({"aamc-nav-item-text-wrap":t,"aamc-nav-item-text-width-x":i,"aamc-nav-item-text-width-xx":e,"aamc-nav-item-text-width-xxx":n});function nie(t,i){if(t&1&&O(0,"aamc-icon",7),t&2){let e=v(5);w("svgIcon",e.navigation.icon)("ariaLabel",e.navigation.name+" icon")("size",e.AamcIconSize.Medium)}}function iie(t,i){if(t&1){let e=le();g(0,"a",5,1),P("menuClosed",function(){B(e);let r=v(4);return U(r.isMenuOpen=!r.isMenuOpen)})("menuOpened",function(){B(e);let r=v(4);return U(r.isMenuOpen=!r.isMenuOpen)})("keydown.enter",function(r){return B(e),Ie(1).openMenu(),U(r.preventDefault())}),g(2,"div",6),E(3,nie,1,3,"aamc-icon",7),g(4,"span",8),I(5),_(),g(6,"span"),O(7,"i",9),_()()()}if(t&2){v();let e=Ie(2),n=v(3);w("title",n.navigation.tooltip??n.navigation.name)("ngStyle",Be(8,aU,n.navigation.navItemMaxWidth))("ngClass",lm(10,Kne,n.isMenuOpen,n.isDropDownActive(),n.navigation.navItemTextWrap,n.navigation.navItemTextWrapMaxWidthX,n.navigation.navItemTextWrapMaxWidthXX,n.navigation.navItemTextWrapMaxWidthXXX))("matMenuTriggerFor",e.childMenu()),N("data-testid",n.navigationTestId()),f(3),S(n.navigation.icon?3:-1),f(2),qe(n.navigation.name),f(2),w("ngClass",tn(17,Xne,!n.isMenuOpen,n.isMenuOpen))}}function rie(t,i){if(t&1&&(se(0,iie,8,20,"a",3),O(1,"aamc-header-dropdown",4,0)),t&2){let e=v(3);w("aamcUiCoreSecure",yt(3,j0,e.navigation.allOf,e.navigation.atLeastOneOf,e.navigation.unsecure)),f(),w("items",e.navigation.children)("testId",e.testId())}}function oie(t,i){if(t&1&&O(0,"aamc-icon",7),t&2){let e=v(6);w("svgIcon",e.navigation.icon)("ariaLabel",e.navigation.name+" icon")("size",e.AamcIconSize.Medium)}}function aie(t,i){t&1&&(g(0,"span",14),O(1,"i",15),_())}function sie(t,i){if(t&1&&(g(0,"a",10)(1,"div",6),E(2,oie,1,3,"aamc-icon",7),g(3,"span",13),I(4),_(),E(5,aie,2,0,"span",14),_()()),t&2){let e=v(5);w("title",e.navigation.tooltip??e.navigation.name)("routerLink",e.navigation.router)("queryParams",e.navigation.queryParams)("queryParamsHandling",e.navigation.queryParamsHandling)("routerLinkActive",Mt(12,Jne))("routerLinkActiveOptions",Be(13,eie,!!e.navigation.exact))("target",(e.navigation==null?null:e.navigation.target)==="_blank"||(e.navigation==null?null:e.navigation.showWindowIcon)===!0?"_blank":"_self"),N("data-testid",e.navigationTestId()),f(2),S(e.navigation.icon?2:-1),f(),w("ngClass",e.navigation.showWindowIcon===!0||e.navigation.icon?"":"nav-alignment"),f(),pe("",e.navigation.name," "),f(),S(e.navigation!=null&&e.navigation.showWindowIcon?5:-1)}}function lie(t,i){if(t&1&&se(0,sie,6,15,"a",12),t&2){let e=v(4);w("aamcUiCoreSecure",yt(1,j0,e.navigation.allOf,e.navigation.atLeastOneOf,e.navigation.unsecure))}}function cie(t,i){if(t&1&&O(0,"aamc-icon",7),t&2){let e=v(6);w("svgIcon",e.navigation.icon)("ariaLabel",e.navigation.name+" icon")("size",e.AamcIconSize.Medium)}}function die(t,i){t&1&&(g(0,"span",14),O(1,"i",15),_())}function uie(t,i){if(t&1&&(g(0,"a",11)(1,"div",6),E(2,cie,1,3,"aamc-icon",7),g(3,"span",13),I(4),_(),E(5,die,2,0,"span",14),_()()),t&2){let e=v(5);w("title",e.navigation.tooltip??e.navigation.name)("href",e.navigation.href,Qt)("target",e.navigation.target||"_blank"),N("data-testid",e.navigationTestId()),f(2),S(e.navigation.icon?2:-1),f(),w("ngClass",e.navigation.showWindowIcon===!0||e.navigation.icon?"":"nav-alignment"),f(),qe(e.navigation.name),f(),S(e.navigation!=null&&e.navigation.showWindowIcon?5:-1)}}function hie(t,i){if(t&1&&se(0,uie,6,8,"a",16),t&2){let e=v(4);w("aamcUiCoreSecure",yt(1,j0,e.navigation.allOf,e.navigation.atLeastOneOf,e.navigation.unsecure))}}function fie(t,i){if(t&1&&E(0,lie,1,5,"a",10)(1,hie,1,5,"a",11),t&2){let e=v(3);S(e.navigation!=null&&e.navigation.href?1:0)}}function mie(t,i){if(t&1&&E(0,rie,3,7)(1,fie,2,1),t&2){let e=v(2);S(e.showDropdown()&&e.navigation.children?0:1)}}function pie(t,i){if(t&1&&O(0,"aamc-icon",7),t&2){let e=v(4);w("svgIcon",e.navigation.icon)("ariaLabel",e.navigation.name+" icon")("size",e.Aamc
3312IconSize.Medium)}}function gie(t,i){if(t&1&&(g(0,"a",2),E(1,pie,1,3,"aamc-icon",7),g(2,"span",13),I(3),_()()),t&2){let e=v(3);w("ngStyle",Be(8,aU,e.navigation.navItemMaxWidth))("ngClass",sm(10,tie,e.navigation.navItemTextWrap,e.navigation.navItemTextWrapMaxWidthX,e.navigation.navItemTextWrapMaxWidthXX,e.navigation.navItemTextWrapMaxWidthXXX))("title",e.navigation.tooltip),N("disabled",e.navigation==null?null:e.navigation.disable)("data-testid",e.navigationTestId()),f(),S(e.navigation.icon?1:-1),f(),w("ngClass",e.navigation.showWindowIcon===!0||e.navigation.icon?"":"nav-alignment"),f(),qe(e.navigation.name)}}function _ie(t,i){if(t&1&&se(0,gie,4,15,"a",17),t&2){let e=v(2);w("aamcUiCoreSecure",yt(1,j0,e.navigation.allOf,e.navigation.atLeastOneOf,e.navigation.unsecure))}}function vie(t,i){if(t&1&&(g(0,"div"),E(1,mie,2,1)(2,_ie,1,5,"a",2),_()),t&2){let e=v();f(),S(e.navigation!=null&&e.navigation.disable?2:1)}}var sU=(()=>{class t{constructor(){this.AamcIconSize=pd,this.router=d(At),this.testId=C(void 0),this.showDropdown=C(),this._testId=Z(()=>Te("header-item",this.testId())),this.isMenuOpen=!1}isDropDownActive(){return this.navigation?.router?this.router.isActive(this.navigation.router,!1):!1}navigationTestId(){let e=ei(this.navigation?.name);return e?`${this._testId()}-${e}`:this._testId()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-header-item"]],inputs:{navigation:"navigation",testId:[1,"testId"],showDropdown:[1,"showDropdown"]},standalone:!1,decls:1,vars:1,consts:[["menu",""],["menuTrigger","matMenuTrigger"],["matButton","",1,"nav-item","aamc-nav-item","menu-disabled",3,"ngStyle","ngClass","title"],["href","javascript:void(0)","class","nav-item aamc-nav-item icon-padding","matButton","","role","button",3,"title","ngStyle","ngClass","matMenuTriggerFor","menuClosed","menuOpened","keydown.enter",4,"aamcUiCoreSecure"],[3,"items","testId"],["href","javascript:void(0)","matButton","","role","button",1,"nav-item","aamc-nav-item","icon-padding",3,"menuClosed","menuOpened","keydown.enter","title","ngStyle","ngClass","matMenuTriggerFor"],[1,"text-icon-alignment"],[3,"svgIcon","ariaLabel","size"],[1,"nav-label"],["role","img","aria-label","dropdown",2,"cursor","pointer","font-size","19px",3,"ngClass"],["matButton","","tabindex","0",1,"nav-item","aamc-nav-item",3,"title","routerLink","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions","target"],["matButton","",1,"nav-item","aamc-nav-item","text-decoration-none",3,"title","href","target"],["class","nav-item aamc-nav-item","matButton","","tabindex","0",3,"title","routerLink","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions","target",4,"aamcUiCoreSecure"],[1,"nav-label",3,"ngClass"],[1,"aamc-nav-icon"],[1,"aamc-i-new-window","medium","clickable"],["class","nav-item aamc-nav-item text-decoration-none","matButton","",3,"title","href","target",4,"aamcUiCoreSecure"],["class","nav-item aamc-nav-item menu-disabled","matButton","",3,"ngStyle","ngClass","title",4,"aamcUiCoreSecure"]],template:function(n,r){n&1&&E(0,vie,3,1,"div"),n&2&&S(r.navigation?0:-1)},dependencies:[zt,rn,ea,Ki,bi,on,ot,Ms,oU],styles:[`ol[_ngcontent-%COMP%]{list-style-type:decimal}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-roman}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-roman}ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:square}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}.aamc-nav-item[_ngcontent-%COMP%]{font-weight:400;font-size:14px;line-height:19px;margin:0;width:max-content;white-space:normal;overflow-wrap:break-word;background:#00417d;color:#fff!important;border-radius:0;text-align:left;display:table-cell;vertical-align:middle;padding:0 12px!important;height:72px}@media(max-width:599px){.aamc-nav-item[_ngcontent-%COMP%]{height:80px}}@media(min-width:600px)and (max-width:959px){.aamc-nav-item[_ngcontent-%COMP%]{padding:0 8px!important}}.aamc-nav-item[_ngcontent-%COMP%] .mat-mdc-button-touch-target{display:none}.aamc-nav-item[_ngcontent-%COMP%] .mdc-button__label{display:flex;align-items:center}.aamc-nav-item[_ngcontent-%COMP%]:hover, .aamc-nav-item[_ngcontent-%COMP%]:focus, .aamc-nav-item.aamc-nav-item-open[_ngcontent-%COMP%]{background:#e5f0f1;color:#006d75!important;text-decoration:none!important}.aamc-nav-item[_ngcontent-%COMP%]:focus-visible, .aamc-nav-item.cdk-keyboard-focused[_ngcontent-%COMP%]{outline:2px solid #000;outline-offset:-3px;border-radius:5px;z-index:10}.aamc-nav-item-active[_ngcontent-%COMP%]{opacity:1!important;background:#fff;color:#006d75!important;font-weight:700}.aamc-nav-item-active[_ngcontent-%COMP%]:focus, .aamc-nav-item-active[_ngcontent-%COMP%]:hover{background:#fff}.icon-padding[_ngcontent-%COMP%]{padding:0 4px 0 12px!important;text-align:left}.menu-disabled[_ngcontent-%COMP%]{pointer-events:none;opacity:1;color:#999!important}.aamc-nav-item-text-wrap[_ngcontent-%COMP%]{text-align:left}.nav-alignment[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;display:block!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical}@media(max-width:1279px){.nav-alignment[_ngcontent-%COMP%]{max-width:120px;white-space:break-spaces!important}}.text-icon-alignment[_ngcontent-%COMP%]{display:flex!important;flex-flow:row nowrap;align-items:center;gap:4px}.text-icon-alignment[_ngcontent-%COMP%] aamc-icon[_ngcontent-%COMP%]{display:inline-flex;flex-shrink:0}.text-icon-alignment[_ngcontent-%COMP%] .nav-label[_ngcontent-%COMP%]{flex:1 1 0;min-width:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal}.aamc-nav-icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:inherit;vertical-align:middle!important;position:relative;bottom:2px;margin-left:8px} 3313/*# sourceMappingURL=aamc-header-item.component-2CO2OFWM.css.map */`]})}}return t})();var bie=["childMenu"],lU=(t,i,e)=>({allOf:t,atLeastOneOf:i,unsecure:e}),Cie=()=>["active"];function wie(t,i){if(t&1&&(g(0,"a",8),I(1),_()),t&2){let e=v(2).$implicit,n=v(2);w("title",e.tooltip)("routerLink",e.router)("routerLinkActive",Mt(7,Cie))("queryParams",e.queryParams)("queryParamsHandling",e.queryParamsHandling),N("data-testid",n.menuItemTestId(e.name)),f(),pe(" ",e.name," ")}}function xie(t,i){if(t&1&&se(0,wie,2,8,"a",10),t&2){let e=v().$implicit;w("aamcUiCoreSecure",yt(1,lU,e.allOf,e.atLeastOneOf,e.unsecure))}}function Die(t,i){if(t&1&&(g(0,"a",9),I(1),_()),t&2){let e=v(2).$implicit,n=v(2);w("title",e.tooltip),N("data-testid",n.menuItemTestId(e.name))("disabled",e==null?null:e.disable),f(),pe(" ",e.name," ")}}function Mie(t,i){if(t&1&&se(0,Die,2,4,"a",11),t&2){let e=v().$implicit;w("aamcUiCoreSecure",yt(1,lU,e.allOf,e.atLeastOneOf,e.unsecure))}}function Eie(t,i){if(t&1&&(g(0,"div",7),E(1,xie,1,5,"a",8)(2,Mie,1,5,"a",9),_()),t&2){let e=i.$implicit;f(),S(e!=null&&e.disable?2:1)}}
3313function Sie(t,i){if(t&1&&(g(0,"div",4)(1,"div",5)(2,"div",6),I(3),_(),tt(4,Eie,3,1,"div",7,Ft),_()()),t&2){let e=i.$implicit,n=v();N("data-testid",n.menuSectionTestId(e.sectionTitle)),f(3),pe(" ",e.sectionTitle," "),f(),nt(e.sectionMenuItems)}}var cU=(()=>{class t{constructor(){this.testId=C(void 0),this.items=C([]),this._testId=Z(()=>Te("mega-menu-dropdown",this.testId())),this.childMenu=Qe.required("childMenu")}menuSectionTestId(e){let n=ei(e);return n?`${this._testId()}-section-${n}`:`${this._testId()}-section`}menuItemTestId(e){let n=ei(e);return n?`${this._testId()}-link-${n}`:`${this._testId()}-link`}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-ui-mega-menu-dropdown"]],viewQuery:function(n,r){n&1&&It(r.childMenu,bie,5),n&2&&ct()},inputs:{testId:[1,"testId"],items:[1,"items"]},standalone:!1,decls:6,vars:1,consts:[["childMenu","matMenu"],[1,"aamc-mega-menu",3,"overlapTrigger"],[1,"w-screen","bg-primary-light-max","h-[8px]"],["data-testid","mega-menu-complete",1,"mega-menu-complete","w-screen","mb-[24px]","px-[40px]","grid","grid-cols-[repeat(auto-fit,206px)]","gap-[24px]","justify-center","relative"],[1,"menu-section","min-h-[145px]","border-r","border-r-black-20","[border-right-style:solid]","w-[206px]","max-w-[206px]","mt-[24px]"],[1,"flex","flex-col","justify-start","items-start","gap-2"],[1,"font-roboto","text-[12px]","leading-[18px]","text-black-60","!mb-[16px]","uppercase","font-normal"],[1,"childrenItem"],["mat-menu-item","","color","primary",1,"aamc-subheader-item","break-words",3,"title","routerLink","routerLinkActive","queryParams","queryParamsHandling"],["mat-menu-item","",1,"aamc-subheader-item","menu-disabled","break-words","pointer-events-none","opacity-100","!text-black-20",3,"title"],["class","aamc-subheader-item break-words","mat-menu-item","","color","primary",3,"title","routerLink","routerLinkActive","queryParams","queryParamsHandling",4,"aamcUiCoreSecure"],["class","aamc-subheader-item menu-disabled break-words pointer-events-none opacity-100 !text-black-20","mat-menu-item","",3,"title",4,"aamcUiCoreSecure"]],template:function(n,r){n&1&&(g(0,"mat-menu",1,0),O(2,"div",2),g(3,"div",3),tt(4,Sie,6,2,"div",4,Ft),_()()),n&2&&(w("overlapTrigger",!1),f(4),nt(r.items()))},dependencies:[rn,ea,Ki,Pi,da],styles:[`.mega-menu-complete[_ngcontent-%COMP%]{container-type:inline-size}.mega-menu-complete[_ngcontent-%COMP%] > .menu-section[_ngcontent-%COMP%]:last-child{border-right:none!important}@container (max-width: 435px){.mega-menu-complete[_ngcontent-%COMP%] > .menu-section[_ngcontent-%COMP%]{border-right:none!important}}@container (min-width: 436px) and (max-width: 665px){.mega-menu-complete[_ngcontent-%COMP%] > .menu-section[_ngcontent-%COMP%]:nth-child(2n){border-right:none!important}}@container (min-width: 666px) and (max-width: 895px){.mega-menu-complete[_ngcontent-%COMP%] > .menu-section[_ngcontent-%COMP%]:nth-child(3n){border-right:none!important}}@container (min-width: 896px) and (max-width: 1125px){.mega-menu-complete[_ngcontent-%COMP%] > .menu-section[_ngcontent-%COMP%]:nth-child(4n){border-right:none!important}}@container (min-width: 1126px) and (max-width: 1355px){.mega-menu-complete[_ngcontent-%COMP%] > .menu-section[_ngcontent-%COMP%]:nth-child(5n){border-right:none!important}}@container (min-width: 1356px) and (max-width: 1585px){.mega-menu-complete[_ngcontent-%COMP%] > .menu-section[_ngcontent-%COMP%]:nth-child(6n){border-right:none!important}}@container (min-width: 1586px) and (max-width: 1815px){.mega-menu-complete[_ngcontent-%COMP%] > .menu-section[_ngcontent-%COMP%]:nth-child(7n){border-right:none!important}}@container (min-width: 1816px) and (max-width: 2045px){.mega-menu-complete[_ngcontent-%COMP%] > .menu-section[_ngcontent-%COMP%]:nth-child(8n){border-right:none!important}}@container (min-width: 2046px) and (max-width: 2275px){.mega-menu-complete[_ngcontent-%COMP%] > .menu-section[_ngcontent-%COMP%]:nth-child(9n){border-right:none!important}}@container (min-width: 2276px) and (max-width: 2505px){.mega-menu-complete[_ngcontent-%COMP%] > .menu-section[_ngcontent-%COMP%]:nth-child(10n){border-right:none!important}} 3314/*# sourceMappingURL=mega-menu-dropdown.component-7M7PFHGC.css.map */`]})}}return t})();var dU=(t,i,e)=>({allOf:t,atLeastOneOf:i,unsecure:e}),Iie=()=>[],uU=t=>({"max-width":t}),Aie=(t,i,e,n,r,o,a,s)=>({"aamc-nav-item-open":t,"aamc-nav-item-active":i,"aamc-nav-item-text-wrap":e,"text-left":n,"text-center":r,"aamc-nav-item-text-width-x":o,"aamc-nav-item-text-width-xx":a,"aamc-nav-item-text-width-xxx":s}),kie=(t,i)=>({"aamc-i-dropdown-arrow":t,"aamc-i-dropdown-arrow-up":i}),Oie=(t,i,e,n,r,o)=>({"aamc-nav-item-text-wrap":t,"text-left":i,"text-center":e,"aamc-nav-item-text-width-x":n,"aamc-nav-item-text-width-xx":r,"aamc-nav-item-text-width-xxx":o});
3314function Nie(t,i){if(t&1&&O(0,"aamc-icon",6),t&2){let e=v(5);w("ariaLabel",nr("",e.megaMenu==null?null:e.megaMenu.name," icon"))("svgIcon",e.megaMenu.icon?e.megaMenu.icon:"")}}function Rie(t,i){if(t&1){let e=le();g(0,"a",5,1),P("menuClosed",function(){B(e);let r=v(4);return U(r.isMenuOpen=!r.isMenuOpen)})("menuOpened",function(){B(e);let r=v(4);return U(r.isMenuOpen=!r.isMenuOpen)})("keydown.enter",function(r){return B(e),Ie(1).openMenu(),U(r.preventDefault())}),E(2,Nie,1,3,"aamc-icon",6),g(3,"span"),I(4),_(),g(5,"span"),O(6,"i",7),_()()}if(t&2){v();let e=Ie(2),n=v(3);w("title",n.megaMenu==null?null:n.megaMenu.tooltip)("ngStyle",Be(8,uU,n.megaMenu==null?null:n.megaMenu.navItemMaxWidth))("ngClass",cm(10,Aie,n.isMenuOpen,n.isDropDownActive(),n.megaMenu==null?null:n.megaMenu.navItemTextWrap,n.megaMenu==null?null:n.megaMenu.navItemTextWrap,!(n.megaMenu!=null&&n.megaMenu.navItemTextWrap),n.megaMenu==null?null:n.megaMenu.navItemTextWrapMaxWidthX,n.megaMenu==null?null:n.megaMenu.navItemTextWrapMaxWidthXX,n.megaMenu==null?null:n.megaMenu.navItemTextWrapMaxWidthXXX))("matMenuTriggerFor",e.childMenu()),N("data-testid",n.megaMenuTestId()),f(2),S(n.megaMenu!=null&&n.megaMenu.icon?2:-1),f(2),qe(n.megaMenu==null?null:n.megaMenu.name),f(2),w("ngClass",tn(19,kie,!n.isMenuOpen,n.isMenuOpen))}}function Pie(t,i){if(t&1&&(se(0,Rie,7,22,"a",3),O(1,"aamc-ui-mega-menu-dropdown",4,0)),t&2){let e=v(3);w("aamcUiCoreSecure",yt(3,dU,e.megaMenu==null?null:e.megaMenu.allOf,e.megaMenu==null?null:e.megaMenu.atLeastOneOf,e.megaMenu==null?null:e.megaMenu.unsecure)),f(),w("items",(e.megaMenu==null?null:e.megaMenu.megaMenuChildren)||Mt(7,Iie))("testId",e.testId()??e.megaMenu.name)}}function Fie(t,i){if(t&1&&E(0,Pie,3,8),t&2){let e=v(2);S(e.showDropdown()&&e.showMegaMenu()&&(e.megaMenu!=null&&e.megaMenu.megaMenuChildren)?0:-1)}}function Lie(t,i){if(t&1&&O(0,"aamc-icon",6),t&2){let e=v(4);w("ariaLabel",nr("",e.megaMenu==null?null:e.megaMenu.name," icon"))("svgIcon",e.megaMenu.icon?e.megaMenu.icon:"")}}function Vie(t,i){if(t&1&&(g(0,"a",2),E(1,Lie,1,3,"aamc-icon",6),g(2,"span"),I(3),_()()),t&2){let e=v(3);w("ngStyle",Be(7,uU,e.megaMenu.navItemMaxWidth))("ngClass",lm(9,Oie,e.megaMenu.navItemTextWrap,e.megaMenu.navItemTextWrap,!e.megaMenu.navItemTextWrap,e.megaMenu.navItemTextWrapMaxWidthX,e.megaMenu.navItemTextWrapMaxWidthXX,e.megaMenu.navItemTextWrapMaxWidthXXX))("title",e.megaMenu==null?null:e.megaMenu.tooltip),N("data-testid",e.megaMenuTestId())("disabled",e.megaMenu==null?null:e.megaMenu.disable),f(),S(e.megaMenu!=null&&e.megaMenu.icon?1:-1),f(2),pe(" ",e.megaMenu==null?null:e.megaMenu.name)}}function jie(t,i){if(t&1&&se(0,Vie,4,16,"a",8),t&2){let e=v(2);w("aamcUiCoreSecure",yt(1,dU,e.megaMenu==null?null:e.megaMenu.allOf,e.megaMenu==null?null:e.megaMenu.atLeastOneOf,e.megaMenu==null?null:e.megaMenu.unsecure))}}function Bie(t,i){if(t&1&&(g(0,"div"),E(1,Fie,1,1)(2,jie,1,5,"a",2),_()),t&2){let e=v();f(),S(e.megaMenu.disable?2:1)}}var hU=(()=>{class t{constructor(){this.router=d(At),this.megaMenu=null,this.testId=C(void 0),this.showMegaMenu=C(!1),this.showDropdown=C(!1),this._testId=Z(()=>Te("mega-menu",this.testId())),this.isMenuOpen=!1}isDropDownActive(){return this.router.isActive(this.megaMenu?.router,!1)}megaMenuTestId(){let e=ei(this.megaMenu?.name);return e?`${this._testId()}-${e}`:this._testId()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-ui-mega-menu"]],inputs:{megaMenu:"megaMenu",testId:[1,"testId"],showMegaMenu:[1,"showMegaMenu"],showDropdown:[1,"showDropdown"]},standalone:!1,decls:1,vars:1,consts:[["menu",""],["menuTrigger","matMenuTrigger"],["matButton","",1,"nav-item","aamc-nav-item","menu-disabled","p-2","m-0","bg-secondary","!text-white","rounded-none","table-cell","only-sm:py-0","only-sm:px-2","w-max","break-words","!whitespace-normal","align-middle","!h-[72px]","only-xs:!h-[80px]","pointer-events-none","opacity-100",3,"ngStyle","ngClass","title"],["class","nav-item aamc-nav-item m-0 bg-secondary !text-white rounded-none table-cell !pt-0 !pr-[4px] !pb-0 !pl-[12px] w-max break-words !whitespace-normal align-middle !h-[72px] only-xs:!h-[80px]","href","javascript:void(0)","matButton","","role","button",3,"title","ngStyle","ngClass","matMenuTriggerFor","menuClosed","menuOpened","keydown.enter",4,"aamcUiCoreSecure"],[3,"items","testId"],["href","javascript:void(0)","matButton","","role","button",1,"nav-item","aamc-nav-item","m-0","bg-secondary","!text-white","rounded-none","table-cell","!pt-0","!pr-[4px]","!pb-0","!pl-[12px]","w-max","break-words","!whitespace-normal","align-middle","!h-[72px]","only-xs:!h-[80px]",3,"menuClosed","menuOpened","keydown.enter","title","ngStyle","ngClass","matMenuTriggerFor"],[3,"svgIcon","ariaLabel"],["role","img","aria-label","dropdown",2,"cursor","pointer","font-size","19px",3,"ngClass"],["class","nav-item aamc-nav-item menu-disabled p-2 m-0 bg-secondary !text-white rounded-none table-cell only-sm:py-0 only-sm:px-2 w-max break-words !whitespace-normal align-middle !h-[72px] only-xs:!h-[80px] pointer-events-none opacity-100","matButton","",3,"ngStyle","ngClass","title",4,"aamcUiCoreSecure"]],template:function(n,r){n&1&&E(0,Bie,3,1,"div"),n&2&&S(r.megaMenu?0:-1)},dependencies:[zt,Ki,bi,on,ot,Ms,cU],styles:[`.aamc-nav-item[_ngcontent-%COMP%]:hover, .aamc-nav-item[_ngcontent-%COMP%]:focus, .aamc-nav-item.aamc-nav-item-open[_ngcontent-%COMP%]{background:#e5f0f1;color:#006d75!important;text-decoration:none!important;outline:none}.aamc-nav-item[_ngcontent-%COMP%]:focus-visible, .aamc-nav-item.cdk-keyboard-focused[_ngcontent-%COMP%]{border:2px solid #000;border-radius:5px}.aamc-nav-item-active[_ngcontent-%COMP%]{opacity:1!important;background:#fff;color:#006d75!important;font-weight:700}.aamc-nav-item-active[_ngcontent-%COMP%]:focus, .aamc-nav-item-active[_ngcontent-%COMP%]:hover{background:#fff}.menu-disabled[_ngcontent-%COMP%]{color:#999!important}
3315/*# sourceMappingURL=mega-menu.component-PGPILPLF.css.map */`]})}}return t})();var Hie=["matTrigger"],zie=["appNameMobileView"],$ie=["appNameMobileViewCustomUrl"],Wie=["*"],qie=()=>({id:"custom-header-logo"}),xI=t=>({$implicit:t}),fU=t=>({"!hidden":t}),Gie=()=>["/"],mU=t=>({"sm:!hidden":t}),Yie=t=>({"show-alert":t}),Qie=(t,i)=>({"two-digit-badge":t,"three-digit-badge":i}),Zie=()=>({id:"notification-panel-content"}),Kie=()=>({id:"download-panel-content"});function Xie(t,i){if(t&1&&(g(0,"a",17)(1,"div",19),I(2," AAMC home page "),_(),g(3,"div",20),O(4,"div",21),_()()),t&2){let e=v(2);w("routerLink",Mt(6,Gie)),f(3),w("ngClass",Be(7,mU,e.showHamburger===!0)),f(),Rn("max-width",e.logoMaxWidth(),"px"),w("innerHTML",e.appName,Mi)("ngClass",e.appName.length>31?"h-[52px] whitespace-break-spaces lt-lg:!whitespace-break-spaces":"")}}function Jie(t,i){if(t&1&&(g(0,"a",18)(1,"div",22),I(2," AAMC home page "),_(),g(3,"div",23),O(4,"div",21),_()()),t&2){let e=v(2);w("href",e.logoUrl(),Qt),N("aria-label",e.logoUrl())("title",e.logoUrl()),f(3),w("ngClass",Be(8,mU,e.showHamburger===!0)),f(),Rn("max-width",e.logoMaxWidth(),"px"),w("innerHTML",e.appName,Mi)("ngClass",e.appName.length>31?"h-[52px] whitespace-break-spaces lt-lg:!whitespace-break-spaces":"")}}function ere(t,i){if(t&1&&E(0,Xie,5,9,"a",17)(1,Jie,5,10,"a",18),t&2){let e=v();S(e.logoUrl()?1:0)}}function tre(t,i){}function nre(t,i){if(t&1&&O(0,"aamc-header-item",24),t&2){let e=v().$implicit,n=v(2);w("showDropdown",n.showDropdown())("navigation",e)("testId",n.testId())}}function ire(t,i){if(t&1&&O(0,"aamc-ui-mega-menu",25),t&2){let e=v().$implicit,n=v(2);w("showMegaMenu",n.showMegaMenu())("showDropdown",n.showDropdown())("megaMenu",e)("testId",n.testId())}}function rre(t,i){if(t&1&&E(0,nre,1,3,"aamc-header-item",24)(1,ire,1,4,"aamc-ui-mega-menu",25),t&2){let e=i.$implicit;S(e.isMegaMenu?1:0)}}function ore(t,i){if(t&1&&(g(0,"nav",7),tt(1,rre,2,1,null,null,Ft),_()),t&2){let e=v();w("ngClass",Be(1,fU,e.showHamburger===!0)),f(),nt(e.navigation)}}function are(t,i){t&1&&Kn(0)}function sre(t,i){if(t&1&&(g(0,"div")(1,"button",26,2)(3,"span",27),O(4,"em",28),_()()()),t&2){let e=Ie(2);v();let n=Ie(18);f(),w("matMenuTriggerFor",n),f(3),w("ngClass",e.menuOpen?"aamc-i-close":"aamc-i-search"),N("aria-label",e.menuOpen?"close":"search")}}function lre(t,i){if(t&1&&O(0,"span",31),t&2){let e=v(2);w("matBadge",e.messageCount())("ngClass",tn(2,Qie,e.messageCount()>99&&e.maxMessageCountFlag,e.messageCount()>999&&e.maxMessageCountFlag))}}function cre(t,i){if(t&1){let e=le();g(0,"div")(1,"button",29),P("click",function(){B(e);let r=v();return U(r.layout.triggerMessages())}),g(2,"span",27),O(3,"em",30),E(4,lre,1,5,"span",31),_()()()}if(t&2){let e=v();f(),w("ngClass",Be(2,Yie,e.hasMessages())),f(3),S(e.hasMessages()?4:-1)}}function dre(t,i){}function ure(t,i){if(t&1&&(g(0,"div")(1,"aamc-app-notification",32),se(2,dre,0,0,"ng-template",5),_()()),t&2){let e=v();f(),w("notificationCount",e.notificationCount())("hasNotifications",e.hasNotifications()),f(),w("ngTemplateOutlet",e.notificationsTemplate())("ngTemplateOutletContext",Be(5,xI,Mt(4,Zie)))}}function hre(t,i){}function fre(t,i){if(t&1&&(g(0,"div")(1,"aamc-app-notification",33),se(2,hre,0,0,"ng-template",5),_()()),t&2){let e=v();f(),w("isDownloadNotifications",!0)("notificationCount",e.downloadCount())("hasNotifications",e.hasDownloads()),f(),w("ngTemplateOutlet",e.downloadTemplate())("ngTemplateOutletContext",Be(6,xI,Mt(5,Kie)))}}function mre(t,i){if(t&1&&(g(0,"div"),O(1,"aamc-ui-app-menu",34),_()),t&2){let e=v();f(),w("appMenu",e.appMenu())}}function pre(t,i){if(t&1){let e=le();g(0,"div")(1,"button",35),P("click",function(){B(e);let r=v();return U(r.layout.triggerHelp())}),g(2,"span",27),O(3,"em",36),_()()()}}function gre(t,i){if(t&1){let e=le();Ar(0),g(1,"button",37),P("click",function(){B(e);let r=v();return U(r.toggleMobileNav.emit())}),g(2,"span",27),O(3,"em",28),_()(),kr()}if(t&2){let e=v();f(3),w("ngClass",e.isOpened()?"aamc-i-close":"aamc-i-menu"),N("aria-label",e.isOpened()?"close":"menu")}}var pU=(()=>{class t{constructor(){this.layout=d(Ed),this.matTrigger=Qe("matTrigger"),this.appNameMobileView=Qe("appNameMobileView",{read:Q}),this.appNameMobileViewCustomUrl=Qe("appNameMobileViewCustomUrl",{read:Q}),this.templateRef=ln(fe),this.user=C(null),this.appName="App Name",this.navigation=[],this.showMegaMenu=C(!1),this.appMenu=C([]),this.showAppMenuSwitcher=C(!0),this.showLogo=C(!0),this.logoUrl=C(),this.isOpened=C(!1),this.testId=C(void 0),this.showSearch=C(!0),this.searchPlaceholder="",this.showMessages=C(!0),this.showNotifications=C(!1),this.hasNotifications=C(),this.showDownloads=C(!1),this.hasDownloads=C(),this.hasMessages=C(!1),this.showHelp=C(!0),this.userDescription=C(""),this.showDropdown=C(!1),this.logoMaxWidth=C(),this.iconTemplate=C(null),this.notificationsTemplate=C(null),this.downloadTemplate=C(null),this.messageCount=C(0),this.notificationCount=C(),this.downloadCount=C(),this.navBreakp
3315oint=C(959),this.isloginPage=C(!1),this._testId=Z(()=>Te("header",this.testId(),this.appName)),this.toggleMobileNav=new z,this.headerOverflowChange=new z,this.aamcIcons=Bn,this.maxMessageCountFlag=!0,this.maxNotificationCountFlag=!0,this.enableElipsis=!1,this.onLoad=!0,this.showHamburger=!1}onResize(e){this.toggleMobMode()}ngOnInit(){this.toggleMobMode()}ngAfterViewInit(){this.appNameChange(),this.onLoad=!1}ngOnChanges(){this.onLoad||this.appNameChange()}toggleMobMode(){this.showHamburger=window.innerWidth<this.navBreakpoint(),this.headerOverflowChange.emit(this.showHamburger)}appNameChange(){setTimeout(()=>{let e=this.appNameMobileViewCustomUrl(),n=this.appNameMobileView();e&&e.nativeElement.textContent.length>60||n&&n.nativeElement.textContent.length>60?this.enableElipsis=!0:this.enableElipsis=!1},100)}triggerSearch(e){let n=e.target.value;this.layout.updateSearch(n)}getPlaceholderText(){return this.appName?`Search ${this.appName}`:"Search"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-header"]],contentQueries:function(n,r,o){n&1&&Ei(o,r.templateRef,fe,5),n&2&&ct()},viewQuery:function(n,r){n&1&&It(r.matTrigger,Hie,5)(r.appNameMobileView,zie,5,Q)(r.appNameMobileViewCustomUrl,$ie,5,Q),n&2&&ct(3)},hostBindings:function(n,r){n&1&&P("resize",function(a){return r.onResize(a)},ws)},inputs:{user:[1,"user"],appName:"appName",navigation:"navigation",showMegaMenu:[1,"showMegaMenu"],appMenu:[1,"appMenu"],showAppMenuSwitcher:[1,"showAppMenuSwitcher"],showLogo:[1,"showLogo"],logoUrl:[1,"logoUrl"],isOpened:[1,"isOpened"],testId:[1,"testId"],showSearch:[1,"showSearch"],searchPlaceholder:"searchPlaceholder",showMessages:[1,"showMessages"],showNotifications:[1,"showNotifications"],hasNotifications:[1,"hasNotifications"],showDownloads:[1,"showDownloads"],hasDownloads:[1,"hasDownloads"],hasMessages:[1,"hasMessages"],showHelp:[1,"showHelp"],userDescription:[1,"userDescription"],showDropdown:[1,"showDropdown"],logoMaxWidth:[1,"logoMaxWidth"],iconTemplate:[1,"iconTemplate"],notificationsTemplate:[1,"notificationsTemplate"],downloadTemplate:[1,"downloadTemplate"],messageCount:[1,"messageCount"],notificationCount:[1,"notificationCount"],downloadCount:[1,"downloadCount"],navBreakpoint:[1,"navBreakpoint"],isloginPage:[1,"isloginPage"]},outputs:{toggleMobileNav:"toggleMobileNav",headerOverflowChange:"headerOverflowChange"},standalone:!1,features:[Ze],ngContentSelectors:Wie,decls:26,vars:21,consts:[["searchMenu","matMenu"],["searchMobileElement",""],["matTrigger","matMenuTrigger"],["id","print-header","aria-hidden","true"],["data-testid","primary-header",1,"!leading-[51px]","!bg-secondary","mx-auto","max-w-[var(--content-max-width)]","!text-white","flex","flex-nowrap","items-center","w-full","!h-[72px]","!px-[40px]","only-sm:!px-[20px]","only-xs:!px-[12px]"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"flex-spacer"],["role","navigation","aria-label","Main Navigation","data-testid","navigation",1,"navigation","flex","shrink-[2]","grow-[2]","justify-end",3,"ngClass"],[1,"mobile-icons",3,"ngClass"],[4,"ngTemplateOutlet"],[1,"header-search-menu"],["data-testid","mobile-search",1,"m-6","cursor-pointer","justify-center","focus:outline-none","mobile"],["appearance","outline",1,"aamc-search-bar"],["matInput","","aria-label","search",3,"click","keyup.enter","placeholder"],["matSuffix","","matIconButton","","aria-label","Clear Search",3,"click","ngClass"],["role","img","aria-hidden","true",1,"aamc-i-close","small"],["matPrefix","","aria-hidden","true",1,"aamc-i-search"],["role","link","data-testid","header-link",1,"z-[1]","flex","flex-row","justify-start","items-center","flex-initial","h-[72px]","hover:!no-underline","focus:outline","focus:outline-2","focus:outline-white",3,"routerLink"],["rel","noreferrer noopener","data-testid","header-link",1,"z-[1]","flex","flex-row","justify-start","items-center","flex-initial","h-[72px]","hover:!no-underline","focus:outline","focus:outline-2","focus:outline-white",3,"href"],["aria-label","AAMC home page","data-testid","logo",1,"logo","mr-4","mt-2","indent-[-1000px]","w-[100px]","h-[28px]","shrink-0","transition-[height,width]","duration-500","ease-[ease]","focus-within:outline","focus-within:outline-2","focus-within:outline-black","focus-within:indent-[100%]","focus-within:whitespace-nowrap","focus-within:overflow-hidden"],[1,"sm:block","only-xs:hidden",3,"ngClass"],["data-testid","app-name",1,"text-sm","leading-[19px]","font-normal","text-white","mr-4","align-middle","min-w-[120px]","hover:no-underline","lt-lg:!whitespace-break-spaces","!table-cell","only-xs:!hidden",3,"innerHTML","ngClass"],["data-testid","logo",1,"logo","mr-4","indent-[-1000px]","w-[100px]","h-[28px]","shrink-0","transition-[height,width]","duration-500","ease-[ease]","focus-within:outline","focus-within:outline-2","focus-within:outline-black","focus-within:indent-[100%]","focus-within:whitespace-nowrap","focus-within:overflow-hidden"],[1,"sm:block","only-xs:hidden","block",3,"ngClass"],[3,"showDropdown","navigation","testId"],[3,"showMegaMenu","showDropdown","megaMenu","testId"],["matIconButton","","aria-label","Open Search Menu",1,"app-header-icon-button",3,"matMenuTriggerFor"],[1,"circle","pt-[2px]"],["role","img",3,"ngClass"],["matIconButton","","id","m-messages-btn","aria-label","Messages",1,"app-header-icon-button",3,"click","ngClass"],["role","img","aria-hidden","true",1,"aamc-i-email","aamc-i"],["matBadgeOverlap","false",1,"message-badge-align",3,"matBadge","ngClass"],[3,"notificationCount","hasNotifications"],[3,"isDownloadNotifications","notificationCount","hasNotifications"],[3,"appMenu"],["matIconButton","","id","m-help-btn","aria-label","Help",1,"app-header-icon-button",3,"click"],["role","img","aria-hidden","true",1,"aamc-i-help","aamc-i"],["matIconButton","","aria-label","nav menu","data-testid","hamburger-menu",1,"!rounded-none","app-header-icon-button","ml-[12px]",3,"click"]],template:function(n,r){if(n&1){let o=le();We(),g(0,"div"),O(1,"div",3),g(2,"mat-toolbar",4),E(3,ere,2,1),se(4,tre,0,0,"ng-template",5),O(5,"div",6),E(6,ore,3,3,"nav",7),g(7,"div",8),ae(8),se(9,are,1,0,"ng-container",9),E(10,sre,5,3,"div"),E(11,cre,5,4,"div"),E(12,ure,3,7,"div"),E(13,fre,3,8,"div"),E(14,mre,2,1,"div"),E(15,pre,4,0,"div"),E(16,gre,4,2,"ng-container"),_()(),g(17,"mat-menu",10,0)(19,"div",11)(20,"mat-form-field",12)(21,"input",13,1),P("click",function(s){return s.stopPropagation()})("keyup.enter",function(s){let l;return B(o),r.triggerSearch(s),U((l=r.matTrigger())==null?null:l.closeMenu())}
3315),_(),g(23,"button",14),P("click",function(s){B(o);let l=Ie(22);return s.stopPropagation(),U(l.value="")}),O(24,"em",15),_(),O(25,"i",16),_()()()()}if(n&2){let o=Ie(22);N("data-testid",r._testId()),f(3),S(r.showLogo()?3:-1),f(),w("ngTemplateOutlet",r.templateRef()??null)("ngTemplateOutletContext",Be(17,xI,Mt(16,qie))),f(2),S(r.navigation?6:-1),f(),w("ngClass",Be(19,fU,!r.showHamburger)),f(2),w("ngTemplateOutlet",r.iconTemplate()),f(),S(r.showSearch()?10:-1),f(),S(r.showMessages()&&r.user()?11:-1),f(),S(r.showNotifications()&&r.user()?12:-1),f(),S(r.showDownloads()&&r.user()?13:-1),f(),S(r.showAppMenuSwitcher()?14:-1),f(),S(r.showHelp()?15:-1),f(),S(r.isloginPage()?-1:16),f(5),w("placeholder",r.searchPlaceholder?r.searchPlaceholder:r.getPlaceholderText()),f(2),w("ngClass",o.value===""?"search-icon":"")}},dependencies:[Nh,vr,Cd,Us,bo,Oi,rn,Pi,bi,F0,Gl,Ph,ot,Pn,sU,hU],styles:[`ol[_ngcontent-%COMP%]{list-style-type:decimal}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-roman}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-roman}ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:square}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}.logo[_ngcontent-%COMP%]{background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIGlkPSJMYXllcl8yIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MjkuMTkgMTUwLjIzIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9PC9zdHlsZT48L2RlZnM+PGcgaWQ9IkxheWVyXzEiPjxwb2x5Z29uIGNsYXNzPSJjbHMtMSIgcG9pbnRzPSIzMS4yNCAwIDIwLjk4IDE3Ljc4IDEwLjcxIDAgMzEuMjQgMCIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTQwLjUsNTkuMzJjLTMuMDMtNi44NC05LjctMTAuOTItMTYuNzItMTAuOTh2MTguNjZsLTEyLjgxLDUuNjdjLTkuMjgsNC4wOS0xMy40OSwxNC45Mi05LjQsMjQuMiwzLjAyLDYuODIsOS42OCwxMC44OSwxNi42OCwxMC45NHYtMTguNTVsMTMtNS43NWM5LjE5LTQuMTUsMTMuMzQtMTQuOTUsOS4yNi0yNC4yWiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTQwLjUsMTAxLjczYy0zLjAzLTYuODQtOS43LTEwLjkyLTE2LjcyLTEwLjk4djE4LjY2bC0xMi44OCw1LjdjLTkuMjQsNC4xMS0xMy40MSwxNC45Mi05LjMzLDI0LjE3LDMuMDIsNi44Miw5LjY4LDEwLjg5LDE2LjY4LDEwLjk1di0xOC41NGwxMy01Ljc1YzkuMTktNC4xNiwxMy4zNC0xNC45NSw5LjI2LTI0LjIxWiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTU1Ljg4LDEwLjc5TDEwLjc3LDMwLjczQzEuNjQsMzQuODgtMi40Niw0NS42MSwxLjU5LDU0LjgxYzMuMDEsNi44MSw5LjY1LDEwLjg3LDE2LjY1LDEwLjkzdi0xOC41MWwyOC40LTEyLjU2YzkuMTQtNC4wNCwxMy4yOC0xNC43Miw5LjI0LTIzLjg4Wk00OC4yMSwyMi41OWMtMS4xNC41MS0yLjQ4LS4wMS0yLjk4LTEuMTYtLjUxLTEuMTUuMDEtMi40OCwxLjE2LTIuOTgsMS4xNC0uNSwyLjQ4LjAyLDIuOTgsMS4xNS41MSwxLjE1LDAsMi40OC0xLjE1LDIuOTlaIi8+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMTQ3LjA4LDgyLjI2aC00Ni40M2wtOC44NiwyMS40M2gtMjMuNzFMMTEyLjY1LDMuNjloMjIuODZsNDQuNzEsMTAwaC0yNC4yOWwtOC44Ni0yMS40M1pNMTM5Ljc5LDY0LjY5bC0xNS44Ni0zOC4yOC0xNS44NiwzOC4yOGgzMS43MVoiLz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik0yNjcuMjEsODIuMjZoLTQ2LjQzbC04Ljg2LDIxLjQzaC0yMy43MUwyMzIuNzgsMy42OWgyMi44Nmw0NC43MSwxMDBoLTI0LjI5bC04Ljg2LTIxLjQzWk0yNTkuOTMsNjQuNjlsLTE1Ljg2LTM4LjI4LTE1Ljg2LDM4LjI4aDMxLjcxWiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTQwMS43NywxMDMuNjlsLS4xNC02MC0yOS40Myw0OS40M2gtMTAuNDNsLTI5LjI5LTQ4LjE0djU4LjcxaC0yMS43MVYzLjY5aDE5LjE0bDM3LjQzLDYyLjE0TDQwNC4yLDMuNjloMTlsLjI5LDEwMGgtMjEuNzFaIi8+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNDMzLjc3LDUzLjY5YzAtMzAuMTQsMjMuMTQtNTEuNzEsNTQuMjgtNTEuNzEsMTcuMjksMCwzMS43MSw2LjI5LDQxLjE0LDE3LjcxbC0xNC44NiwxMy43MWMtNi43MS03LjcxLTE1LjE0LTExLjcxLTI1LjE0LTExLjcxLTE4LjcxLDAtMzIsMTMuMTQtMzIsMzJzMTMuMjksMzIsMzIsMzJjMTAsMCwxOC40My00LDI1LjE0LTExLjg2bDE0Ljg2LDEzLjcxYy05LjQzLDExLjU3LTIzLjg2LDE3Ljg2LTQxLjI4LDE3Ljg2LTMxLDAtNTQuMTQtMjEuNTctNTQuMTQtNTEuNzFaIi8+PC9nPjwvc3ZnPg==) center center no-repeat}@media only screen and (min-device-width:375px)and (max-device-width:812px)and (orientation:landscape){.n
3315avigation[_ngcontent-%COMP%]{width:100%;max-width:115vh;overflow:auto}}.mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{color:#000;background:#65bd60;right:-10px;top:-16px;width:20px;height:20px;font-size:11px}.mat-badge-medium.mat-badge-after.two-digit-badge[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{padding-left:2px;padding-right:2px;height:20px;width:28px;right:-16px;top:-14px;font-size:10px;border-radius:10px}.mat-badge-medium.mat-badge-after.three-digit-badge[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{padding-left:2px;padding-right:2px;height:20px;width:30px;right:-16px;top:-14px;font-size:0;border-radius:10px}.mat-badge-medium.mat-badge-after.three-digit-badge[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]:after{content:"999+";visibility:visible;display:block;margin-top:-22px;font-size:10px} 3316/*# sourceMappingURL=aamc-header.component-PSJSN4UN.css.map */`]})}}return t})();var gU=(t,i,e)=>({allOf:t,atLeastOneOf:i,unsecure:e}),vre=()=>["aamc-subheader-item-active"],yre=t=>({exact:t});function bre(t,i){t&1&&(g(0,"span",4),O(1,"i",6),_())}function Cre(t,i){t&1&&(g(0,"span",5),I(1,"Disabled"),_())}function wre(t,i){if(t&1&&(g(0,"a",3)(1,"span"),I(2),_(),E(3,bre,2,0,"span",4),E(4,Cre,2,0,"span",5),_()),t&2){let e=v(2);ie("disabled",e.navigation.disable),w("title",e.navigation.tooltip??e.navigation.name)("routerLink",e.navigation.disable?null:e.navigation.router)("queryParams",e.navigation.queryParams)("queryParamsHandling",e.navigation.queryParamsHandling)("routerLinkActive",Mt(13,vre))("routerLinkActiveOptions",Be(14,yre,!!e.navigation.exact))("target",(e.navigation==null?null:e.navigation.target)==="_blank"?"_blank":"_self"),N("data-testid",e._itemTestId()),f(2),qe(e.navigation.name),f(),S(e.navigation.showWindowIcon?3:-1),f(),S(e.navigation.disable?4:-1)}}function xre(t,i){if(t&1&&se(0,wre,5,16,"a",2),t&2){let e=v();w("aamcUiCoreSecure",yt(1,gU,e.navigation.allOf,e.navigation.atLeastOneOf,e.navigation.unsecure))}}function Dre(t,i){t&1&&(g(0,"span",4),O(1,"i",6),_())}function Mre(t,i){if(t&1&&(g(0,"a",8)(1,"div",9)(2,"span",10),I(3),_(),E(4,Dre,2,0,"span",4),_()()),t&2){let e=v(2);ie("disabled",e.navigation.disable),w("title",e.navigation.tooltip??e.navigation.name)("href",e.navigation.href,Qt)("target",e.navigation.target||"_blank"),N("data-testid",e._externalItemTestId()),f(2),w("ngClass",e.navigation.showWindowIcon===!0?"":"nav-alignment"),f(),qe(e.navigation.name),f(),S(e.navigation!=null&&e.navigation.showWindowIcon?4:-1)}}function Ere(t,i){if(t&1&&se(0,Mre,5,9,"a",7),t&2){let e=v();w("aamcUiCoreSecure",yt(1,gU,e.navigation.allOf,e.navigation.atLeastOneOf,e.navigation.unsecure))}}var _U=(()=>{class t{constructor(){this.testId=C(void 0),this._itemTestId=Z(()=>{let e=Te("subheader",this.testId()),n=ei(this.navigation?.name);return n?`${e}-item-${n}`:`${e}-item`}),this._externalItemTestId=Z(()=>`${this._itemTestId()}-external`),this.showSearch=C(!0)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-ui-subheader-item"]],inputs:{testId:[1,"testId"],navigation:"navigation",showSearch:[1,"showSearch"]},standalone:!1,decls:2,vars:1,consts:[["matButton","","tabindex","0",1,"aamc-subheader-item","font-normal","py-0","px-4","bg-white","!text-black-60","rounded-none","table-cell","align-middle","text-center","h-12","lt-lg:h-[58px]","only-sm:px-2","only-sm:py-0",3,"title","disabled","routerLink","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions","target"],["matButton","","tabindex","0",1,"aamc-subheader-item","py-0","px-4","bg-white","!text-black-60","rounded-none","table-cell","align-middle","text-center","h-12","lt-lg:h-[58px]","only-sm:px-2","only-sm:py-0",3,"title","disabled","href","target"],["class","aamc-subheader-item font-normal py-0 px-4 bg-white !text-black-60 rounded-none table-cell align-middle text-center h-12 lt-lg:h-[58px] only-sm:px-2 only-sm:py-0","matButton","","tabindex","0",3,"title","disabled","routerLink","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions","target",4,"aamcUiCoreSecure"],["matButton","","tabindex","0",1,"aamc-subheader-item","font-normal","py-0","px-4","bg-white","!text-black-60","rounded-none","table-cell","align-middle","text-center","h-12","lt-lg:h-[58px]","only-sm:px-2","only-sm:py-0",3,"title","routerLink","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions","target"],[1,"aamc-nav-icon"],[1,"cdk-visually-hidden"],[1,"aamc-i-new-window","medium","clickable","text-inherit","!align-middle","relative","bottom-0.5","ml-2"],["class","aamc-subheader-item py-0 px-4 bg-white !text-black-60 rounded-none table-cell align-middle text-center h-12 lt-lg:h-[58px] only-sm:px-2 only-sm:py-0","matButton","","tabindex","0",3,"title","disabled","href","target",4,"aamcUiCoreSecure"],["matButton","","tabindex","0",1,"aamc-subheader-item","py-0","px-4","bg-white","!text-black-60","rounded-none","table-cell","align-middle","text-center","h-12","lt-lg:h-[58px]","only-sm:px-2","only-sm:py-0",3,"title","href","target"],[1,"text-icon-alignment"],[3,"ngClass"]],template:function(n,r){n&1&&E(0,xre,1,5,"a",0)(1,Ere,1,5,"a",1),n&2&&S(r.navigation!=null&&r.navigation.showWindowIcon?1:0)},dependencies:[Ki,ot,rn,ea],styles:[`.aamc-subheader-item[_ngcontent-%COMP%]:hover, .aamc-subheader-item[_ngcontent-%COMP%]:focus{background-color:#e5f0f1;color:#006d75!important;text-decoration:none!important;outline:none}.aamc-subheader-item[_ngcontent-%COMP%]:hover{font-weight:700!important}.aamc-subheader-item[_ngcontent-%COMP%]:focus-visible, .aamc-subheader-item.cdk-keyboard-focused[_ngcontent-%COMP%]{outline:2px solid #000!important;outline-offset:-2px;border-radius:5px}.aamc-subheader-item[_ngcontent-%COMP%] .mat-mdc-button-touch-target{display:none}.aamc-subheader-item-active[_ngcontent-%COMP%]{background:#fff;color:#006d75!important;font-weight:700}.aamc-subheader-item-active[_ngcontent-%COMP%]:focus, .aamc-subheader-item-active[_ngcontent-%COMP%]:hover{background:#fff;color:#006d75!important;border-color:#006d75}.mat-mdc-button-touch-target[_ngcontent-%COMP%]{opacity:1!important}a.disabled[_ngcontent-%COMP%]{color:#ccc!important;pointer-events:none;font-weight:400}a.disabled[_ngcontent-%COMP%]:focus{background-color:#e5f0f1;text-decoration:none!important;outline:none} 3317/*# sourceMappingURL=subheader-item.component-VRFMWXIE.css.map */`]})}}return t})();function Tre(t,i){if(t&1&&O(0,"aamc-ui-subheader-item",3),t&2){let e=i.$implicit,n=v(2);w("navigation",e)("testId",n.testId())}}function Ire(t,i){if(t&1&&(g(0,"nav",2),tt(1,Tre,1,2,"aamc-ui-subheader-item",3,Ft),_()),t&2){let e=v();f(),nt(e.navigation)}}var vU=(()=>{class t{constructor(){this.testId=C(void 0),this._testId=Z(()=>Te("subheader",this.testId()))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-ui-subheader"]],inputs:{testId:[1,"testId"],navigation:"navigation"},standalone:!1,decls:3,vars:2,consts:[[1,"flex","flex-nowrap","items-center","font-normal","!text-[14px]","leading-[10px]","text-black-60","bg-white","w-full","max-w-[var(--content-max-width)]","mx-auto","my-0","py-0","!px-[40px]","lg:!h-[48px]","lt-lg:h-[58px]","only-md:px-[24px]","only-sm:px-[16px]","only-xs:!hidden","[&_i]:text-black-60"],[1,"flex-spacer"],["role","navigation","aria-label","Secondary Navigation","data-testid","secondary-navigation",1,"focus:outline-none","lg:!h-[48px]","lt-lg:h-[58px]"],[3,"navigation","testId"]],template:function(n,r){n&1&&(g(0,"mat-toolbar",0),O(1,"div",1),E(2,Ire,3,0,"nav",2),_()),n&2&&(N("data-testid",r._testId()),f(2),S(r.navigation?2:-1))},dependencies:[Nh,_U],encapsulation:2})}}return t})();var kre=["*"],Ore=t=>({"with-logo":t}),Nre=()=>({id:"custom-footer-links"}),yU=t=>({$implicit:t}),Rre=()=>({id:"custom-footer-logo"});function Pre(t,i){}function Fre(t,i){}var bU=(()=>{class t{constructor(){this.buildDetails=xS,this.testId=C(void 0),this.templateRef=ln(fe),this.show
3317FooterLogo=C(!1),this.contactUsUrl=C("https://www.aamc.org/about/contact/"),this._testId=Z(()=>{let e=this.testId();return e?Te("footer",e):"page-footer"}),this.year=this.getYear()}getYear(){return new Date().getFullYear()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-ui-footer"]],contentQueries:function(n,r,o){n&1&&Ei(o,r.templateRef,fe,5),n&2&&ct()},inputs:{testId:[1,"testId"],showFooterLogo:[1,"showFooterLogo"],contactUsUrl:[1,"contactUsUrl"]},standalone:!1,ngContentSelectors:kre,decls:30,vars:21,consts:[[1,"page-footer","content-well","h-min","min-h-[30px]","text-center","text-black","text-[0.8em]","bg-black-5","py-[32px]","px-0","mb-[3px]",3,"ngClass"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"footer-links"],["rel","noopener","target","_blank","title","Contact Us",3,"href"],["rel","noopener","target","_blank","href","https://www.aamc.org/about/follow/","title","Follow Us"],["rel","noopener","target","_blank","href","https://www.aamc.org/admin/96294/supported_browsers.html","title","Supported Browsers"],["rel","noopener","target","_blank","href","https://www.aamc.org/486546/webaccessibility.html","title","Web Acce
3317ssibility"],["rel","noopener","target","_blank","href","https://www.aamc.org/44864/terms.html","title","AAMC Terms and Conditions"],["rel","noopener","target","_blank","href","https://www.aamc.org/44866/privacy.html","title","Privacy Statement"],[1,"build-info","block","text-center","pt-[4px]"],["aria-hidden","true",1,"build-info-hidden","hidden"]],template:function(n,r){n&1&&(We(),g(0,"footer",0),se(1,Pre,0,0,"ng-template",1),g(2,"div")(3,"span"),I(4),_(),g(5,"span",2)(6,"a",3),I(7,"Contact Us"),_(),I(8," | "),g(9,"a",4),I(10,"Follow Us"),_(),I(11," | "),g(12,"a",5),I(13,"Supported Browsers"),_(),I(14," | "),g(15,"a",6),I(16,"Web Accessibility"),_(),I(17," | "),g(18,"a",7),I(19,"AAMC Terms and Conditions"),_(),I(20," | "),g(21,"a",8),I(22,"Privacy Statement"),_(),ae(23),_(),g(24,"span",9),I(25),g(26,"span",10),I(27),nn(28,"json"),_()()(),se(29,Fre,0,0,"ng-template",1),_()),n&2&&(w("ngClass",Be(13,Ore,r.showFooterLogo())),N("data-testid",r._testId()),f(),w("ngTemplateOutlet",r.templateRef()??null)("ngTemplateOutletContext",Be(16,yU,Mt(15,Nre))),f(3),tr("Copyright \xA9 AAMC ",r.year," | 655 K Street, NW, Suite 100, Washington, DC, 20001-2399 ",r.showFooterLogo()?"| "+r.buildDetails.tag:"| "),f(2),w("href",r.contactUsUrl(),Qt),f(19),pe("",r.showFooterLogo()?"":r.buildDetails.tag," "),f(2),qe(ai(28,11,r.buildDetails)),f(2),w("ngTemplateOutlet",r.templateRef()??null)("ngTemplateOutletContext",Be(19,yU,Mt(18,Rre))))},dependencies:[ot,Pn,oM],styles:[`ol{list-style-type:decimal}ol ol{list-style-type:lower-latin}ol ol ol{list-style-type:lower-roman}ol ol ol ol{list-style-type:upper-latin}ol ol ol ol ol{list-style-type:upper-roman}ul{list-style-type:disc}ul ul{list-style-type:circle}ul ul ul{list-style-type:square}ul ul ul ul{list-style-type:disc}ul ul ul ul ul{list-style-type:circle}aamc-ui-footer .page-footer a{text-decoration:underline;color:#006d75;cursor:pointer}aamc-ui-footer .page-footer a:hover{color:#004c52}aamc-ui-footer .page-footer a:focus-visible,aamc-ui-footer .page-footer a.cdk-keyboard-focused{color:#004c52;outline:2px solid #000;border-radius:2px}aamc-ui-footer .page-footer a:active{font-weight:700}aamc-ui-footer .with-logo{text-align:left;padding:16px 40px!important;display:flex}aamc-ui-footer .with-logo>div:first-child{flex:0 1 80%}aamc-ui-footer .with-logo>a{flex:0 1 20%}aamc-ui-footer .with-logo span{display:block}aamc-ui-footer .with-logo .build-info{text-align:left!important}aamc-ui-footer .with-logo .build-info-hidden{display:none!important}@media(max-width:599px){aamc-ui-footer .with-logo{text-align:center;display:flex;flex-direction:column}aamc-ui-footer .with-logo>div:first-child{flex:0 1 auto;order:2}aamc-ui-footer .with-logo>a{order:1;flex:0 1 auto;margin-bottom:8px}aamc-ui-footer .with-logo span{display:block}aamc-ui-footer .with-logo .build-info{text-align:center!important}aamc-ui-footer .with-logo .build-info-hidden{display:none!important}}@media print{aamc-ui-footer .page-footer{position:relative;top:15px;background:none!important}aamc-ui-footer .footer-links{display:none}} 3318/*# sourceMappingURL=footer.component-4U6DNBKE.css.map */ 3319`],encapsulation:2})}}return t})();var Kp=(()=>{class t extends pt{constructor(){super({}),this.state=Sl(this,{manualCleanup:!0,requireSync:!0})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac})}}return t})(),MI=new T("@ngrx/store Mock Selectors"),EI=(()=>{class t extends ht{constructor(e,n,r,o,a=[]){super(e,n,r),this.state$=e,this.initialState=o,this.selectors=new Map,this.resetSelectors(),this.setState(this.initialState),this.scannedActions$=n.asObservable();for(let s of a)this.overrideSelector(s.selector,s.value)}setState(e){this.state$.next(e),this.lastState=e}overrideSelector(e,n){this.selectors.set(e,n);let r=typeof e=="string"?uo(()=>{},()=>n):e;return r.setResult(n),r}resetSelectors(){for(let e of this.selectors.keys())typeof e!="string"&&(e.release(),e.clearResult());this.selectors.clear()}select(e,n){return typeof e=="string"&&this.selectors.has(e)?new pt(this.selectors.get(e)).asObservable():super.select(e,n)}addReducer(){}removeReducer(){}refreshState(){this.lastState&&this.setState(x({},this.lastState))}static{this.\u0275fac=function(n){return new(n||t)(j(Kp),j(gi),j($a),j(Os),j(MI))}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac})}}return t})(),DI=(()=>{class t extends pt{constructor(){super(()=>{})}addFeature(e){}addFeatures(e){}
3319removeFeature(e){}removeFeatures(e){}addReducer(e,n){}addReducers(e){}removeReducer(e){}removeReducers(e){}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac})}}return t})();function CU(t={}){return SL(!0),[{provide:gi,useFactory:()=>new gi,deps:[]},{provide:Kp,useFactory:()=>new Kp,deps:[]},{provide:DI,useFactory:()=>new DI,deps:[]},{provide:Os,useValue:t.initialState||{}},{provide:MI,useValue:t.selectors},{provide:Il,useExisting:Kp},{provide:$a,useExisting:DI},{provide:EI,useFactory:Vre,deps:[Kp,gi,$a,Os,MI]},{provide:ht,useExisting:EI}]}function Vre(t,i,e,n,r){return new EI(t,i,e,n,r)}var jre=[Ri,bt,zr,wo,on,ns],Bre={getProfileUrl:()=>K("testProfileUrl"),getLoginUrl:()=>K("testLoginUrl")},Ws=(()=>{class t{static mockProviders(){return{ngModule:t,providers:[CU({}),{provide:fh,useValue:{}},{provide:Zi,useValue:Bre},{provide:la,useValue:!0},{provide:$n,useValue:E0({APP_CODE:"test"})}]}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=G({type:t})}static{this.\u0275inj=q({imports:[jre,Ue,Ri,bt,zr,wo]})}}return t})();var Ure=()=>["/"];function Hre(t,i){if(t&1&&O(0,"a",3),t&2){let e=v(2);w("routerLink",Mt(2,Ure))("innerHTML",e.appName(),Mi)}}function zre(t,i){if(t&1&&O(0,"a",4),t&2){let e=v(2);w("href",e.logoUrl(),Qt)("innerHTML",e.appName(),Mi)}}function $re(t,i){if(t&1&&(g(0,"div",1),E(1,Hre,1,3,"a",3)(2,zre,1,2,"a",4),_()),t&2){let e=v();f(),S(e.logoUrl()?2:1)}}function Wre(t,i){if(t&1&&O(0,"div",2),t&2){let e=v();w("innerHTML",e.appName(),Mi)}}function qre(t,i){if(t&1&&(g(0,"div"),O(1,"aamc-ui-account",5),nn(2,"async"),_()),t&2){let e=v();f(),w("user",ai(2,3,e.user$()))("isMobile",!0)("userDescription",e.userDescription()||"")}}var B0=(()=>{class t{constructor(){this.showLogo=C(!0),this.logoUrl=C(void 0),this.user$=C(),this.showUserAccount=C(!0),this.appName=C(""),this.userDescription=C(void 0),this.testId=C(void 0),this._testId=Z(()=>Te("mobile-nav",this.testId(),this.appName()))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-mobile-nav-header"]],inputs:{showLogo:[1,"showLogo"],logoUrl:[1,"logoUrl"],user$:[1,"user$"],showUserAccount:[1,"showUserAccount"],appName:[1,"appName"],userDescription:[1,"userDescription"],testId:[1,"testId"]},decls:4,vars:3,consts:[[1,"flex","flex-col","gap-[10px]"],[1,"text-[12px]","h-[20px]","p-[3px]","overflow-hidden","text-ellipsis","whitespace-nowrap","underline"],[1,"text-[12px]","h-[20px]","overflow-hidden","text-ellipsis","whitespace-nowrap",3,"innerHTML"],[1,"app-name-text",3,"routerLink","innerHTML"],["rel","noreferrer noopener",1,"app-name-text",3,"href","innerHTML"],[3,"user","isMobile","userDescription"]],template:function(n,r){n&1&&(g(0,"div",0),E(1,$re,3,1,"div",1)(2,Wre,1,1,"div",2),E(3,qre,3,5,"div"),_()),n&2&&(N("data-testid",r._testId()),f(),S(r.showLogo()&&r.appName()?1:!r.showLogo()&&r.appName()?2:-1),f(2),S(r.showUserAccount()?3:-1))},dependencies:[Ws,P0,Ue,jn,rn,Zo],encapsulation:2})}}return t})();var Yre=["nodeLink"],U0=(t,i,e)=>({allOf:t,atLeastOneOf:i,unsecure:e}),Qre=(t,i,e)=>({active:t,"border border-solid border-steel-dark border-r-0":i,"border-b-0":e}),Zre=t=>({"padding-left":t}),Kre=()=>["active","font-bold"],Xre=()=>({exact:!1}),Jre=t=>({transform:t,transition:"300ms cubic-bezier(0.4,0.0,0.2,1)"});function eoe(t,i){t&1&&Kn(0)}function toe(t,i){if(t&1&&O(0,"aamc-ui-mobile-nav-item",3),t&2){let e=i.$implicit,n=v(3);w("level",n.level()+1)("node",e)("parentNavigation",n.node.children)("testId",n.testId())}}function noe(t,i){if(t&1&&tt(0,toe,1,4,"aamc-ui-mobile-nav-item",3,Ft),t&2){let e=v(2);nt(e.node.children)}}function ioe(t,i){if(t&1){let e=le();se(0,eoe,1,0,"ng-container",2),g(1,"div"),P("@expandCollapse.done",function(r){B(e);let o=v();return U(o.onAnimationDone(r))}),E(2,noe,2,0),_()}if(t&2){let e=v(),n=Ie(3);w("ngTemplateOutlet",n),f(),w("@expandCollapse",e.node.children&&!e.node.hideExpansion?"expanded":"collapsed"),f(),S(e.isVisible?2:-1)}}function roe(t,i){t&1&&Kn(0)}function ooe(t,i){if(t&1&&se(0,roe,1,0,"ng-container",2),t&2){v();let e=Ie(3);w("ngTemplateOutlet",e)}}function aoe(t,i){if(t&1&&O(0,"aamc-icon",11),t&2){let e=v(5);w("svgIcon",e.node.icon)("ariaLabel",e.node.name+" icon")("size",e.Aamc
3319IconSize.Medium)}}function soe(t,i){t&1&&(g(0,"span",12),I(1,"Disabled"),_())}function loe(t,i){if(t&1&&(g(0,"a",9,1)(2,"span",10),E(3,aoe,1,3,"aamc-icon",11),I(4),_(),E(5,soe,2,0,"span",12),_()),t&2){let e=v(4);ie("pointer-events-none",e.node.disable||(e.node.children==null?null:e.node.children.length))("text-black-60",e.node.disable),w("ngClass",e.classes)("routerLink",e.node.disable?null:e.node.router)("title",e.node.tooltip)("queryParams",e.node.queryParams)("queryParamsHandling",e.node.queryParamsHandling)("routerLinkActive",Mt(14,Kre))("routerLinkActiveOptions",Mt(15,Xre)),f(3),S(e.node.icon?3:-1),f(),pe(" ",e.node.name),f(),S(e.node.disable?5:-1)}}function coe(t,i){if(t&1&&se(0,loe,6,16,"a",8),t&2){let e=v(3);w("aamcUiCoreSecure",yt(1,U0,e.node.allOf,e.node.atLeastOneOf,e.node.unsecure))}}function doe(t,i){if(t&1&&O(0,"aamc-icon",11),t&2){let e=v(6);w("svgIcon",e.node.icon)("ariaLabel",e.node.name+" icon")("size",e.AamcIconSize.Medium)}}function uoe(t,i){if(t&1&&(g(0,"a",16,1)(2,"span",10),E(3,doe,1,3,"aamc-icon",11),I(4),_()()),t&2){let e=v(5);ie("pointer-events-none",!!(e.node.children!=null&&e.node.children.length)),w("ngClass",e.classes)("title",e.node.tooltip),f(3),S(e.node.icon?3:-1),f(),pe(" ",e.node.name)}}function hoe(t,i){if(t&1&&se(0,uoe,5,6,"a",15),t&2){let e=v(4);w("aamcUiCoreSecure",yt(1,U0,e.node.allOf,e.node.atLeastOneOf,e.node.unsecure))}}function foe(t,i){t&1&&(g(0,"span",19),O(1,"i",20),_())}function moe(t,i){if(t&1&&(g(0,"a",18,1)(2,"span"),I(3),E(4,foe,2,0,"span",19),_()()),t&2){let e=v(5);ie("pointer-events-none",!!(e.node.children!=null&&e.node.children.length)),w("ngClass",e.classes)("href",e.node.href,Qt)("target",e.node.target||"_blank")("title",e.node.tooltip),f(3),pe(" ",e.node.name," "),f(),S(e.node!=null&&e.node.showWindowIcon?4:-1)}}function poe(t,i){if(t&1&&se(0,moe,5,8,"a",17),t&2){let e=v(4);w("aamcUiCoreSecure",yt(1,U0,e.node.allOf,e.node.atLeastOneOf,e.node.unsecure))}}function goe(t,i){if(t&1&&E(0,hoe,1,5,"a",13)(1,poe,1,5,"a",14),t&2){let e=v(3);S(e.node!=null&&e.node.href?1:0)}}function _oe(t,i){if(t&1&&O(0,"aamc-icon",7),t&2){let e=v(3);w("svgIcon",e.aamcIcons.ChevronDown)("ngStyle",Be(2,Jre,e.node.children&&e.node.children.length>0&&!e.node.hideExpansion?"rotate(180deg)":"rotate(0deg)"))}}function voe(t,i){if(t&1){let e=le();g(0,"div",5),P("click",function(r){B(e);let o=v(2);return!o.node.disable&&o.expansionAction(o.node),U(r.preventDefault())})("keydown.enter",function(r){B(e);let o=v(2);return!o.node.disable&&o.expansionAction(o.node),U(r.preventDefault())})("keydown.space",function(r){B(e);let o=v(2);return!o.node.disable&&o.expansionAction(o.node),U(r.preventDefault())}),E(1,coe,1,5,"a",6)(2,goe,2,1),E(3,_oe,1,4,"aamc-icon",7),_()}if(t&2){let e=v(2);w("ngClass",yt(5,Qre,e.node.children&&e.router.url.includes(e.node.router||""),e.level()===1,e.node.children&&e.node.children.length>0&&!e.node.hideExpansion))("ngStyle",Be(9,Zre,e.level()+"em")),N("data-testid",e._itemTestId(e.node.name)),f(),S(e.node.router?1:2),f(2),S(e.node.children&&e.node.children.length>0?3:-1)}}function yoe(t,i){if(t&1&&se(0,voe,4,11,"div",4),t&2){let e=v();w("aamcUiCoreSecure",yt(1,U0,e.node.allOf,e.node.atLeastOneOf,e.node.unsecure))}}var wU=(()=>{class t{constructor(){this.router=d(At),this.nodeLink=Qe("nodeLink"),this.level=C(1),this.testId=C(void 0),this._testId=Z(()=>Te("mobile-nav-item",this.testId())),this.aamcIcons=Bn,this.AamcIconSize=pd,this.isSelected=!1,this.isVisible=!1,this.classes={}}_itemTestId(e){return`${this._testId()}-item-${ei(e)}`}ngOnInit(){this.hideChildNavExpansion(),this.mobileNavigationView()}hideChildNavExpansion(){this.node?.children?.map(e=>{e.hideExpansion=!0})}mobileNavigationView(){this.node.hideExpansion=this.node.children&&!this.router?.url?.includes(this.node?.router||""),this.isVisible=!0}expansionAction(e){e.children?.length&&this.parentNavigation?.includes(e)&&this.node.hideExpansion?(this.parentNavigation.filter(n=>n.children?.length).map(n=>n.hideExpansion=!0),this.isVisible=!0):e.children?.length||(e.href&&e.target==="_blank"?window.open(e.href,e.target,"noopener,noreferrer"):this.nodeLink()?.n
3319ativeElement.click()),e.hideExpansion=!e.hideExpansion,this.hideChildNavExpansion()}onAnimationDone(e){e.toState==="collapsed"&&(this.isVisible=!1)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-ui-mobile-nav-item"]],viewQuery:function(n,r){n&1&&It(r.nodeLink,Yre,5),n&2&&ct()},inputs:{level:[1,"level"],testId:[1,"testId"],node:"node",parentNavigation:"parentNavigation"},standalone:!1,decls:4,vars:1,consts:[["routerContent",""],["nodeLink",""],[4,"ngTemplateOutlet"],[3,"level","node","parentNavigation","testId"],["class","min-h-[48px] text-[16px] h-full cursor-pointer hover:!no-underline hover:bg-primary-light-max focus-visible:border-2 focus-visible:border-solid focus-visible:border-black focus-visible:outline-offset-[1px] focus-visible:rounded-[4px] focus-visible:bg-primary-light-max flex items-center justify-between","tabindex","0",3,"ngClass","ngStyle","click","keydown.enter","keydown.space",4,"aamcUiCoreSecure"],["tabindex","0",1,"min-h-[48px]","text-[16px]","h-full","cursor-pointer","hover:!no-underline","hover:bg-primary-light-max","focus-visible:border-2","focus-visible:border-solid","focus-visible:border-black","focus-visible:outline-offset-[1px]","focus-visible:rounded-[4px]","focus-visible:bg-primary-light-max","flex","items-center","justify-between",3,"click","keydown.enter","keydown.space","ngClass","ngStyle"],["data-testid","mobile-nav-link","tabindex","-1",1,"w-full","inline-flex","min-h-[48px]","items-center","outline-none","text-black-90","!no-underline",3,"ngClass","pointer-events-none","text-black-60","routerLink","title","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions"],[1,"mr-3",3,"svgIcon","ngStyle"],["class","w-full inline-flex min-h-[48px] items-center outline-none text-black-90 !no-underline","data-testid","mobile-nav-link","tabindex","-1",3,"ngClass","pointer-events-none","text-black-60","routerLink","title","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions",4,"aamcUiCoreSecure"],["data-testid","mobile-nav-link","tabindex","-1",1,"w-full","inline-flex","min-h-[48px]","items-center","outline-none","text-black-90","!no-underline",3,"ngClass","routerLink","title","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions"],[1,"inline-flex","items-center","gap-1"],[1,"inline-flex","shrink-0",3,"svgIcon","ariaLabel","size"],[1,"cdk-visually-hidden"],["data-testid","mobile-nav-link","tabindex","-1",1,"w-full","inline-flex","min-h-[48px]","items-center","outline-none","text-black-90","!no-underline",3,"pointer-events-none","ngClass","title"],["data-testid","mobile-nav-link","tabindex","-1",1,"w-full","inline-flex","min-h-[48px]","items-center","outline-none","text-black-90","!no-underline",3,"ngClass","href","target","title","pointer-events-none"],["class","w-full inline-flex min-h-[48px] items-center outline-none text-black-90 !no-underline","data-testid","mobile-nav-link","tabindex","-1",3,"pointer-events-none","ngClass","title",4,"aamcUiCoreSecure"],["data-testid","mobile-nav-link","tabindex","-1",1,"w-full","inline-flex","min-h-[48px]","items-center","outline-none","text-black-90","!no-underline",3,"ngClass","title"],["class","w-full inline-flex min-h-[48px] items-center outline-none text-black-90 !no-underline","data-testid","mobile-nav-link","tabindex","-1",3,"ngClass","href","target","title","pointer-events-none",4,"aamcUiCoreSecure"],["data-testid","mobile-nav-link","tabindex","-1",1,"w-full","inline-flex","min-h-[48px]","items-center","outline-none","text-black-90","!no-underline",3,"ngClass","href","target","title"],[1,"aamc-nav-icon"],[1,"aamc-i-new-window","medium","clickable"]],template:function(n,r){n&1&&(E(0,ioe,3,3)(1,ooe,1,1,"ng-container"),se(2,yoe,1,5,"ng-template",null,0,zn)),n&2&&S(r.node.children&&r.node.children.length>0?0:1)},dependencies:[on,ot,Pn,Ms,rn,ea,Ki,t],encapsulation:2,data:{animation:[EM("expandCollapse",[Gv("expanded",Hc({height:"*",opacity:1,overflow:"hidden"})),Gv("collapsed",Hc({height:"0px",opacity:0,overflow:"hidden"})),TM("expanded <=> collapsed",SM("300ms ease-in-out"))])]}})}}return t})();
3319var Coe=(t,i,e)=>({"h-[102px]":t,"h-[136px]":i,"h-[73px]":e}),woe=(t,i,e)=>({"h-[102px] scroll-pt-[102px]":t,"h-[136px] scroll-pt-[136px]":i,"h-[73px] scroll-pt-[73px]":e});function xoe(t,i){if(t&1&&O(0,"aamc-ui-mobile-nav-item",4),t&2){let e=i.$implicit,n=i.$index,r=v();w("node",e)("id","mob-nav"+n)("parentNavigation",r.navigation())("testId",r.testId())}}var xU=(()=>{class t{constructor(){this.navigation=C.required({transform:e=>e.filter(n=>!n.isMegaMenu)}),this.showLogo=C(!0),this.logoUrl=C(void 0),this.user$=C(),this.showUserAccount=C(!0),this.appName=C(""),this.userDescription=C(void 0),this.testId=C(void 0),this._testId=Z(()=>Te("mobile-nav",this.testId(),this.appName())),this.isLoggedIn=!1,this.subscription=new Re}ngOnInit(){let e=this.user$()?.subscribe(n=>{this.isLoggedIn=!!n?.username});this.subscription.add(e)}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-ui-mobile-nav"]],inputs:{navigation:[1,"navigation"],showLogo:[1,"showLogo"],logoUrl:[1,"logoUrl"],user$:[1,"user$"],showUserAccount:[1,"showUserAccount"],appName:[1,"appName"],userDescription:[1,"userDescription"],testId:[1,"testId"]},standalone:!1,decls:6,vars:17,consts:[[1,"flex","flex-col","h-[88dvh]","relative","overflow-hidden"],[1,"xs:top-[81px]","xs:top-[73px]","p-4","left-0","w-full","bg-white","z-50","border-0","border-b","border-solid","border-steel-dark","shadow-[0_2px_2px_0_rgb(0_0_0_/_0.15)]",3,"ngClass","appName","logoUrl","showUserAccount","user$","userDescription","testId"],[1,"flex-1","overflow-y-auto",3,"ngClass"],["role","navigation","data-track-gcl-view","Vertical Navigation"],[3,"node","id","parentNavigation","testId"]],template:function(n,r){n&1&&(g(0,"div",0),O(1,"aamc-mobile-nav-header",1),g(2,"div",2)(3,"nav",3),tt(4,xoe,1,4,"aamc-ui-mobile-nav-item",4,Ft),_()()()),n&2&&(N("data-testid",r._testId()),f(),w("ngClass",yt(9,Coe,!r.isLoggedIn&&r.appName()||r.isLoggedIn&&!r.appName(),r.isLoggedIn&&r.appName(),!r.isLoggedIn&&!r.appName()))("appName",r.appName())("logoUrl",r.logoUrl())("showUserAccount",r.showUserAccount())("user$",r.user$())("userDescription",r.userDescription()||"")("testId",r.testId()),f(),w("ngClass",yt(13,woe,!r.isLoggedIn&&r.appName()||r.isLoggedIn&&!r.appName(),r.isLoggedIn&&r.appName(),!r.isLoggedIn&&!r.appName())),f(2),nt(r.navigation()))},dependencies:[ot,B0,wU],encapsulation:2})}}return t})();var Moe=["breadcrumbElement"],Eoe=["contextSwitcherContainer"],DU=(t,i,e)=>({"context-switcher-show":t,"multi-level-context-switcher-show":i,"context-switcher-text":e}),Soe=(t,i)=>({"w-full":t,"w-auto":i}),Toe=(t,i)=>({disabled:t,"breadcrumb-icon-link":i}),Ioe=t=>({"apply-ellipsis":t}),Aoe=t=>({"context-switcher-container":t});function koe(t,i){if(t&1&&O(0,"i",14),t&2){let e=v(2).$implicit,n=v(2);bn(nr("aamc-i-",n.isTruncated?"home":e.icon," small breadcrumb-element-icon"))}}function Ooe(t,i){if(t&1&&(g(0,"span",13),I(1),_()),t&2){let e=v(2).$implicit,n=v(2);w("ngClass",Be(2,Ioe,n.isLastElementTruncated)),f(),pe(" ",e.label," ")}}function Noe(t,i){if(t&1&&(g(0,"a",11),E(1,koe,1,3,"i",12),E(2,Ooe,2,4,"span",13),_()),t&2){let e=v(),n=e.$implicit,r=e.$index;bn(nr("breadcrumb-element-",r," breadcrumb-element-label")),w("routerLink",n.url?n.url:null)("queryParamsHandling",n.preserveQueryParams?"preserve":"")("ngClass",tn(10,Toe,!n.url,n.icon&&!n.label)),N("aria-current",n.url?null:"page")("tabindex",n.url?null:"0"),f(),S(n.icon?1:-1),f(),S(n.label?2:-1)}}function Roe(t,i){t&1&&(g(0,"span",9),I(1,"/ "),_())}function Poe(t,i){if(t&1&&(g(0,"span",10),I(1,"/... / "),_()),t&2){let e=v(3);w("aamcTooltip",e.tooltipText)}}function Foe(t,i){if(t&1&&(g(0,"div",7,0),E(2,Noe,3,13,"a",8),E(3,Roe,2,0,"span",9),E(4,Poe,2,1,"span",10),_()),t&2){let e=i.$implicit,n=i.$index,r=i.$count,o=v(2);w("checkEllipsis",!0)("childClass",o.isTruncated&&n===r-1?"apply-ellipsis":"")("aamcTooltip",e.label??"")("ngClass",tn(9,Soe,o.isTruncated&&n===r-1,!(o.isTruncated&&n===r-1)))("showToolTip",o.isTruncated&&n===r-1),N("data-testid",o._itemTestId(e.label,n===r-1)),f(2),S(!o.isTruncated||o.isTruncated&&(n===0||n===o.breadcrumbs.length-1)?2:-1),f(),S(!o.isTruncated&&n!==o.breadcrumbs.length-1?3:-1),f(),S(o.isTruncated&&n===0?4:-1)}}function Loe(t,i){if(t&1){let e=le();g(0,"nav",4)(1,"div",6),P("resized",function(r){B(e);let o=v();return U(o.onResized(r))}),tt(2,Foe,5,12,"div",7,Ft),_(),g(4,"div"),I(5),_()()}if(t&2){let e=v();f(),w("ngClass",yt(3,DU,e.showContextSwitcher()&&!e.showBreadcrumb,e.showMultiLevelContextSwitcher&&!e.showBreadcrumb,e.showContextName())),N("data-testid",e._testId()+"-content"),f(),nt(e.breadcrumbs),f(3),qe(e.instNameId())}}function Voe(t,i){if(t&1){let e=le();g(0,"div",5)(1,"div",15,1)(3,"aamc-context-switcher",16),P("multiLevelContextSwitcherButtonClick",function(){B(e);let r=v();return U(r.multiLevelContextSwitcherButtonClick.emit(!0))})("contextSwitcherValues",function(r){B(e);let o=v();return U(o.contextSwitcherValues.emit(r))}),_()()()}if(t&2){let e=v();f(),w("ngClass",Be(12,Aoe,e.showBreadcrumb)),f(2),w("contextSwitchers",e.contextSwitchers())("contextSwitchersPlaceholder",e.contextSwitchersPlaceholder())("contextSwitcherLabel",e.contextSwitcherLabel())("showMultiLevelContextSwitcher",e.showMultiLevelContextSwitcher)("selectedContext",e.selectedContext)("disableOptions",e.disableOptions())("showContextName",e.showContextName())("showClearIcon",e.showClearIcon())("searchText",e.searchText())("showBreadcrumb",e.showBreadcrumb)("contextSwitcherDisplayValues",e.contextSwitcherDisplayValues())}}var qs=(()=>{class t{constructor(){this.cdr=d(Pe),this.testId=C(void 0),this._testId=Z(()=>Te("breadcrumbs",this.testId())),this.instNameId=C(),this.showContextSwitcher=C(!1),this.contextSwitchers=C([]),this.contextSwitchersPlaceholder=C("Select"),this.contextSwitcherLabel=C(Md.Label.Viewing),this.disableOptions=C(!1),this.showContextName=C(!1),this.showClearIcon=C(!0),this.searchText=C(!0),this.showMultiLevelContextSwitcher=!1,this.contextSwitcherDisplayValues=C([]),this.contextSwitcherValues=new z,this.multiLevelContextSwitcherButtonClick=new z,this._showBreadcrumb=!0,this._breadcrumbs=[],this._totalBreadcrumbElementWidth=0,this.isTruncated=!1,this.isLastElementTruncated=!1,this.alternativeBreadcrumb=[],this.tooltipText="",this._breadcrumbElements=Tv("breadcrumbElement"),this._contextSwitcherContainer=Qe("contextSwitcherContainer")}_itemTestId(e,n){return n?`${this._testId()}-item-current`:`${this._testId()}-item-${ei(e??"")}`}set breadcrumbs(e){this._breadcrumbs=e,this._calculateTotalBreadCrumbW
3319idth()}get breadcrumbs(){return this._breadcrumbs}set showBreadcrumb(e){this._showBreadcrumb=e,this._calculateTotalBreadCrumbWidth()}get showBreadcrumb(){return this._showBreadcrumb}set selectedContext(e){this._selectedContext=e}get selectedContext(){return this._selectedContext}ngAfterViewInit(){this.tooltipText=this.getTooltip(),this.cdr.detectChanges()}getTooltip(){return this.alternativeBreadcrumb=this.breadcrumbs.slice(1,this.alternativeBreadcrumb.length-1),this.alternativeBreadcrumb.map(e=>e.label).join(" / ")}onResized(e){this.isLastElementTruncated=!1,this._setBreadCrumbEllipsis(e.width)}_calculateTotalBreadCrumbWidth(){setTimeout(()=>{this._totalBreadcrumbElementWidth=0;for(let e of this._breadcrumbElements()){let n=e?.nativeElement?.offsetWidth;this._totalBreadcrumbElementWidth+=n}})}_setBreadCrumbEllipsis(e){this._contextSwitcherWidth=this._contextSwitcherContainer()?.nativeElement?.offsetWidth??0;let n=this._breadcrumbElements(),r=n[n.length-1];if(this.isTruncated=this._totalBreadcrumbElementWidth>e,this.isTruncated){this._previousBreadCrumbContainerWidth=e;let o=r?.nativeElement?.offsetWidth+100;this.isLastElementTruncated=o>e}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-breadcrumbs"]],viewQuery:function(n,r){n&1&&It(r._breadcrumbElements,Moe,5)(r._contextSwitcherContainer,Eoe,5),n&2&&ct(2)},inputs:{testId:[1,"testId"],instNameId:[1,"instNameId"],breadcrumbs:"breadcrumbs",showBreadcrumb:"showBreadcrumb",showContextSwitcher:[1,"showContextSwitcher"],contextSwitchers:[1,"contextSwitchers"],contextSwitchersPlaceholder:[1,"contextSwitchersPlaceholder"],contextSwitcherLabel:[1,"contextSwitcherLabel"],disableOptions:[1,"disableOptions"],showContextName:[1,"showContextName"],showClearIcon:[1,"showClearIcon"],searchText:[1,"searchText"],showMultiLevelContextSwitcher:"showMultiLevelContextSwitcher",contextSwitcherDisplayValues:[1,"contextSwitcherDisplayValues"],selectedContext:"selectedContext"},outputs:{contextSwitcherValues:"contextSwitcherValues",multiLevelContextSwitcherButtonClick:"multiLevelContextSwitcherButtonClick"},decls:4,vars:8,consts:[["breadcrumbElement",""],["contextSwitcherContainer",""],["data-track-gcl-view","Breadcrumb",1,"breadcrumb","d-flex","justify-content-between",3,"ngClass"],[1,"breadcrumb-row"],["aria-label","Breadcrumb",1,"breadcrumb-column"],[1,"context-switcher-column"],["role","list","aamcResizeObserver","",1,"breadcrumb-content",3,"resized","ngClass"],["role","listitem",1,"breadcrumb-element",3,"checkEllipsis","childClass","aamcTooltip","ngClass","showToolTip"],["role","link",3,"routerLink","queryParamsHandling","class","ngClass"],[1,"breadcrumb-element-separator"],[1,"breadcrumb-element-separator",3,"aamcTooltip"],["role","link",3,"routerLink","queryParamsHandling","ngClass"],["role","img","aria-label","home",3,"class"],[3,"ngClass"],["role","img","aria-label","home"],[1,"context-switcher-container",3,"ngClass"],[1,"w-full",3,"multiLevelContextSwitcherButtonClick","contextSwitcherValues","contextSwitchers","contextSwitchersPlaceholder","contextSwitcherLabel","showMultiLevelContextSwitcher","selectedContext","disableOptions","showContextName","showClearIcon","searchText","showBreadcrumb","contextSwitcherDisplayValues"]],template:function(n,r){n&1&&(g(0,"div",2)(1,"div",3),E(2,Loe,6,7,"nav",4),E(3,Voe,4,14,"div",5),_()()),n&2&&(w("ngClass",yt(4,DU,r.showContextSwitcher()&&!r.showBreadcrumb,r.showMultiLevelContextSwitcher&&!r.showBreadcrumb,r.showContextName())),N("data-testid",r._testId()),f(2),S(r.showBreadcrumb?2:-1),f(),S(r.showContextSwitcher()||r.showMultiLevelContextSwitcher?3:-1))},dependencies:[Ue,ot,jn,rn,qp,yi,wo,iI],styles:[`ol[_ngcontent-%COMP%]{list-style-type:decimal}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-roman}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-roman}ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:square}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}.breadcrumb[_ngcontent-%COMP%]{width:100%;height:auto;min-height:42px;padding:8px 40px;background-color:#e0e3e7;line-height:27px}.breadcrumb[_ngcontent-%COMP%] .breadcrumb-content[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:flex-start;flex-wrap:nowrap;white-space:nowrap}.breadcrumb[_ngcontent-%COMP%] .breadcrumb-content[_ngcontent-%COMP%] .breadcrumb-element[_ngcontent-%COMP%]{display:flex;align-items:center}.breadcrumb[_ngcontent-%COMP%] .breadcrumb-content[_ngcontent-%COMP%] .breadcrumb-element[_ngcontent-%COMP%] .breadcrumb-element-label[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;padding:0 2px}.breadcrumb[_ngcontent-%COMP%] .breadcrumb-content[_ngcontent-%COMP%] .breadcrumb-element[_ngcontent-%COMP%] .breadcrumb-element-label.disabled[_ngcontent-%COMP%]{pointer-events:none;cursor:default}.breadcrumb[_ngcontent-%COMP%] .breadcrumb-content[_ngcontent-%COMP%] .breadcrumb-element[_ngcontent-%COMP%] .breadcrumb-element-label[_ngcontent-%COMP%] .breadcrumb-element-icon[_ngcontent-%COMP%]{margin-right:4px}.breadcrumb[_ngcontent-%COMP%] .breadcrumb-content[_ngcontent-%COMP%] .breadcrumb-element[_ngcontent-%COMP%] .breadcrumb-element-label[_ngcontent-%COMP%] .breadcrumb-element-icon[_ngcontent-%COMP%]:only-child{margin:4px 2px}.breadcrumb[_ngcontent-%COMP%] .breadcrumb-content[_ngcontent-%COMP%] .breadcrumb-element[_ngcontent-%COMP%]:first-child .breadcrumb-element-label[_ngcontent-%COMP%]{font-weight:700}.breadcrumb[_ngcontent-%COMP%] .breadcrumb-content[_ngcontent-%COMP%] .breadcrumb-element[_ngcontent-%COMP%]:first-child .breadcrumb-element-label.breadcrumb-icon-link[_ngcontent-%COMP%]:hover{text-decoration:none!important}.breadcrumb[_ngcontent-%COMP%] .breadcrumb-content[_ngcontent-%COMP%] .breadcrumb-element[_ngcontent-%COMP%]:last-child .breadcrumb-element-label[_ngcontent-%COMP%]{color:#000;width:100%}.breadcrumb[_ngcontent-%COMP%] .breadcrumb-content[_ngcontent-%COMP%] .breadcrumb-element[_ngcontent-%COMP%] span.breadcrumb-element-separator[_ng
3319content-%COMP%]{color:#000;margin:0 4px}@media(max-width:599px){.breadcrumb[_ngcontent-%COMP%] .breadcrumb-content[_ngcontent-%COMP%]{display:none}}@media(min-width:960px)and (max-width:1279px){.breadcrumb[_ngcontent-%COMP%]{padding:8px 24px}}@media(min-width:600px)and (max-width:959px){.breadcrumb[_ngcontent-%COMP%]{font-size:12px;min-height:42px;height:auto;padding:8px 16px}}@media(max-width:599px){.breadcrumb[_ngcontent-%COMP%]{display:none}}@media print and (max-width:599px){.breadcrumb[_ngcontent-%COMP%]{display:inherit}@page{.breadcrumb{size:portrait}}}@media(max-width:599px){.context-switcher-show[_ngcontent-%COMP%]{display:block;padding:8px 16px;height:84px}.multi-level-context-switcher-show[_ngcontent-%COMP%]{display:flex;min-height:42px;padding:0 16px}.context-switcher-text[_ngcontent-%COMP%]{height:auto;min-height:42px}}.context-switcher-container[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;margin:0;width:100%}.breadcrumb-row[_ngcontent-%COMP%]{display:flex;width:inherit;max-width:100%;column-gap:32px;border-collapse:collapse;flex-wrap:nowrap}.breadcrumb-row[_ngcontent-%COMP%] .breadcrumb-column[_ngcontent-%COMP%]{justify-content:flex-start;flex-shrink:2;flex-grow:1;min-width:25%;overflow:hidden}.breadcrumb-row[_ngcontent-%COMP%] .context-switcher-column[_ngcontent-%COMP%]{justify-content:flex-end;align-self:center;flex-shrink:0;max-width:calc(75% - 32px)}@media(max-width:599px){.breadcrumb-row[_ngcontent-%COMP%] .context-switcher-column[_ngcontent-%COMP%]{flex:1 0 100%}}.breadcrumb-row[_ngcontent-%COMP%]:not(:has(.breadcrumb-column)) .context-switcher-column[_ngcontent-%COMP%]{max-width:100%;flex-grow:3}.apply-ellipsis[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:calc(100% - 60px)} 3320/*# sourceMappingURL=aamc-breadcrumbs.component-CB5NLVQH.css.map */`],changeDetection:0})}}return t})();var Xp=(function(t){return t.Info="info",t.Warning="warning",t})(Xp||{});var Boe=(t,i)=>({info:t,warning:i});function Uoe(t,i){t&1&&O(0,"i",2)}function Hoe(t,i){t&1&&O(0,"i",3)}function zoe(t,i){if(t&1){let e=le();g(0,"div",5)(1,"aamc-icon-button",6),P("actionTrigger",function(){B(e);let r=v();return U(r.bannerClose.emit(!0))}),_()()}if(t&2){let e=v();f(),w("testId",e._closeTestId())("smartAction",e.smartAction)("colorfulBackgroun
3320d",e.colorfulBackground)}}var Jp=(()=>{class t{constructor(){this.aamcBannerType=Xp,this.content=C(""),this.bannerType=C(Xp.Info),this.showCloseIcon=C(!1),this.testId=C(void 0),this._testId=Z(()=>Te("banner",this.testId(),this.bannerType())),this._closeTestId=Z(()=>this._testId()+"-close"),this.bannerClose=new z,this.smartAction={name:"Close",icon:Bn.Close,action:()=>{}}}get colorfulBackground(){return this.bannerType()===Xp.Info?Fs.DarkBackground:Fs.LightBackground}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-banner"]],inputs:{content:[1,"content"],bannerType:[1,"bannerType"],showCloseIcon:[1,"showCloseIcon"],testId:[1,"testId"]},outputs:{bannerClose:"bannerClose"},decls:6,vars:8,consts:[[1,"flex","w-full","banner",3,"ngClass"],[1,"flex-none","pl-3","mr-3","icon-content"],["role","img","aria-label","Info icon",1,"aamc-i-info"],["role","img","aria-label","warning icon",1,"aamc-i-issue"],[1,"flex-grow","w-[80%]","text-left","banner-content",3,"innerHTML"],[1,"flex-none","ml-3","icon-button-container"],[3,"actionTrigger","testId","smartAction","colorfulBackgroun
3320d"]],template:function(n,r){n&1&&(g(0,"div",0)(1,"div",1),E(2,Uoe,1,0,"i",2)(3,Hoe,1,0,"i",3),_(),O(4,"div",4),E(5,zoe,2,3,"div",5),_()),n&2&&(w("ngClass",tn(5,Boe,r.bannerType()===r.aamcBannerType.Info,r.bannerType()===r.aamcBannerType.Warning)),N("data-testid",r._testId()),f(2),S(r.bannerType()===r.aamcBannerType.Info?2:3),f(2),w("innerHTML",r.content(),Mi),f(),S(r.showCloseIcon()?5:-1))},dependencies:[Ue,ot,Cr,Fh],styles:[`ol[_ngcontent-%COMP%]{list-style-type:decimal}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-roman}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-roman}ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:square}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}.banner[_ngcontent-%COMP%]{font-size:14px;font-style:normal;font-weight:400;line-height:19px}.banner[_ngcontent-%COMP%] .aamc-i-close{font-size:16px}.icon-content[_ngcontent-%COMP%]{padding-top:9px}.banner-content[_ngcontent-%COMP%]{padding-top:10px;padding-bottom:9px}.info[_ngcontent-%COMP%]{background-color:#1961ae;color:#fff}.warning[_ngcontent-%COMP%]{background-color:#fbd0bd;color:#000}.close-icon[_ngcontent-%COMP%]{cursor:pointer} 3321/*# sourceMappingURL=aamc-banner.component-3SPOGJP5.css.map */`],changeDetection:0})}}return t})();var Woe=()=>[],MU=(()=>{class t{constructor(){this.testId=C(void 0),this.mainContentId=C("main-content"),this._testId=Z(()=>Te("skip-to-main",this.testId(),this.mainContentId()))}focusMain(){document.getElementById(this.mainContentId())?.focus()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-ui-skip-to-main"]],inputs:{testId:[1,"testId"],mainContentId:[1,"mainContentId"]},standalone:!1,decls:2,vars:4,consts:[["role","button",1,"!absolute","overflow-hidden","[clip-path:inset(1px_1px_1px_1px)]","!h-px","!w-px","break-normal","focus:left-0","focus:right-0","focus:mx-auto","focus:overflow-visible","focus:!h-[50px]","focus:!w-[200px]","focus:rounded-b-[6px]","focus:bg-black","focus:text-center","focus:leading-[50px]","focus:text-white","focus:no-underline","focus:shadow-none","focus:z-[9999]","focus-visible:!outline-2","focus-visible:!outline-white",3,"click","routerLink","fragment"]],template:function(n,r){n&1&&(g(0,"a",0),P("click",function(){return r.focusMain()}),I(1,"Skip to Main Content"),_()),n&2&&(w("routerLink",Mt(3,Woe))("fragment",r.mainContentId()),N("data-testid",r._testId()))},dependencies:[rn],styles:[`.cdk-keyboard-focused[_ngcontent-%COMP%]{outline:2px solid #fff!important} 3322/*# sourceMappingURL=skip-to-main.component-7SGCLD22.css.map */`]})}}return t})();var Goe=()=>({id:"printCustomHeaderLogo"}),Yoe=t=>({$implicit:t});function Qoe(t,i){t&1&&O(0,"img",0)}function Zoe(t,i){}function Koe(t,i){if(t&1&&(g(0,"span",2),I(1),_()),t&2){let e=v();f(),pe(" ",e.appName()," ")}}function Xoe(t,i){if(t&1&&(g(0,"span",5),I(1),_()),t&2){let e=v(2);f(),pe(" ",e.userDescription," ")}}function Joe(t,i){if(t&1&&(g(0,"span",3)(1,"span",4),I(2),nn(3,"async"),_(),O(4,"br"),E(5,Xoe,2,1,"span",5),_()),t&2){let e=v();f(2),pe(" ",ai(3,2,e.userCommonName$)," "),f(3),S(e.userDescription!==""?5:-1)}}var EU=(()=>{class t{constructor(){this.authStore=d(ht),this.testId=C(void 0),this.showAAMCLogo=C(!0),this.userDescription="",this.appName=C("App Name"),this.templateRef=ln(fe),this._testId=Z(()=>Te("print-header",this.testId())),this.userCommonName$=this.authStore.pipe(cn(_i.getUser),J(e=>!!e),X(e=>e?.commonName||""))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-ui-print-header"]],contentQueries:function(n,r,o){n&1&&Ei(o,r.templateRef,fe,5),n&2&&ct()},hostVars:1,hostBindings:function(n,r){n&2&&N("data-testid",r._testId())},inputs:{testId:[1,"testId"],showAAMCLogo:[1,"showAAMCLogo"],userDescription:"userDescription",appName:[1,"appName"]},standalone:!1,decls:5,vars:10,consts:[["alt","AAMC logo","data-testid","print-logo","src","data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIGlkPSJMYXllcl8yIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MjkuMTkgMTUwLjIzIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9PC9zdHlsZT48L2RlZnM+PGcgaWQ9IkxheWVyXzEiPjxwb2x5Z29uIGNsYXNzPSJjbHMtMSIgcG9pbnRzPSIzMS4yNCAwIDIwLjk4IDE3Ljc4IDEwLjcxIDAgMzEuMjQgMCIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTQwLjUsNTkuMzJjLTMuMDMtNi44NC05LjctMTAuOTItMTYuNzItMTAuOTh2MTguNjZsLTEyLjgxLDUuNjdjLTkuMjgsNC4wOS0xMy40OSwxNC45Mi05LjQsMjQuMiwzLjAyLDYuODIsOS42OCwxMC44OSwxNi42OCwxMC45NHYtMTguNTVsMTMtNS43NWM5LjE5LTQuMTUsMTMuMzQtMTQuOTUsOS4yNi0yNC4yWiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTQwLjUsMTAxLjczYy0zLjAzLTYuODQtOS43LTEwLjkyLTE2LjcyLTEwLjk4djE4LjY2bC0xMi44OCw1LjdjLTkuMjQsNC4xMS0xMy40MSwxNC45Mi05LjMzLDI0LjE3LDMuMDIsNi44Miw5LjY4LDEwLjg5LDE2LjY4LDEwLjk1di0xOC41NGwxMy01Ljc1YzkuMTktNC4xNiwxMy4zNC0xNC45NSw5LjI2LTI0LjIxWiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTU1Ljg4LDEwLjc5TDEwLjc3LDMwLjczQzEuNjQsMzQuODgtMi40Niw0NS42MSwxLjU5LDU0LjgxYzMuMDEsNi44MSw5LjY1LDEwLjg3LDE2LjY1LDEwLjkzdi0xOC41MWwyOC40LTEyLjU2YzkuMTQtNC4wNCwxMy4yOC0xNC43Miw5LjI0LTIzLjg4Wk00OC4yMSwyMi41OWMtMS4xNC41MS0yLjQ4LS4wMS0yLjk4LTEuMTYtLjUxLTEuMTUuMDEtMi40OCwxLjE2LTIuOTgsMS4xNC0uNSwyLjQ4LjAyLDIuOTgsMS4xNS41MSwxLjE1LDAsMi40OC0xLjE1LDIuOTlaIi8+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMTQ3LjA4LDgyLjI2aC00Ni40M2wtOC44NiwyMS40M2gtMjMuNzFMMTEyLjY1LDMuNjloMjIuODZsNDQuNzEsMTAwaC0yNC4yOWwtOC44Ni0yMS40M1pNMTM5Ljc5LDY0LjY5bC0xNS44Ni0zOC4yOC0xNS44NiwzOC4yOGgzMS43MVoiLz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik0yNjcuMjEsODIuMjZoLTQ2LjQzbC04Ljg2LDIxLjQzaC0yMy43MUwyMzIuNzgsMy42OWgyMi44Nmw0NC43MSwxMDBoLTI0LjI5bC04Ljg2LTIxLjQzWk0yNTkuOTMsNjQuNjlsLTE1Ljg2LTM4LjI4LTE1Ljg2LDM4LjI4aD
3322MxLjcxWiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTQwMS43NywxMDMuNjlsLS4xNC02MC0yOS40Myw0OS40M2gtMTAuNDNsLTI5LjI5LTQ4LjE0djU4LjcxaC0yMS43MVYzLjY5aDE5LjE0bDM3LjQzLDYyLjE0TDQwNC4yLDMuNjloMTlsLjI5LDEwMGgtMjEuNzFaIi8+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNDMzLjc3LDUzLjY5YzAtMzAuMTQsMjMuMTQtNTEuNzEsNTQuMjgtNTEuNzEsMTcuMjksMCwzMS43MSw2LjI5LDQxLjE0LDE3LjcxbC0xNC44NiwxMy43MWMtNi43MS03LjcxLTE1LjE0LTExLjcxLTI1LjE0LTExLjcxLTE4LjcxLDAtMzIsMTMuMTQtMzIsMzJzMTMuMjksMzIsMzIsMzJjMTAsMCwxOC40My00LDI1LjE0LTExLjg2bDE0Ljg2LDEzLjcxYy05LjQzLDExLjU3LTIzLjg2LDE3Ljg2LTQxLjI4LDE3Ljg2LTMxLDAtNTQuMTQtMjEuNTctNTQuMTQtNTEuNzFaIi8+PC9nPjwvc3ZnPg==",1,"h-[50px]","w-[75px]"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["data-testid","print-app-name",1,"self-end","m-0","mt-[20px]","mb-[12px]","p-0","pl-[16px]","text-[28px]","leading-[33px]","text-black","tracking-[0px]","font-medium","relative","bottom-[-5px]","print:mt-0","print:mb-[20px]","print:text-[24px]","print:leading-[29px]"],["data-testid","print-user-info",1,"m-0","ml-auto","self-end","text-black-80","text-right","leading-[100%]","relative","bottom-[-5px]"],["data-testid","print-user-name",1,"p-0","m-0","mt-[20px]","mb-[12px]","text-[18px]","leading-[22px]","text-black","tracking-[0px]","font-medium","print:text-[16px]","print:leading-[21px]"],["data-testid","print-user-description",1,"pt-[4px]","text-black-60"]],template:function(n,r){n&1&&(E(0,Qoe,1,0,"img",0),se(1,Zoe,0,0,"ng-template",1),E(2,Koe,2,1,"span",2),E(3,Joe,6,4,"span",3),nn(4,"async")),n&2&&(S(r.showAAMCLogo()?0:-1),f(),w("ngTemplateOutlet",r.templateRef()??null)("ngTemplateOutletContext",Be(8,Yoe,Mt(7,Goe))),f(),S(r.showAAMCLogo()?2:-1),f(),S(ai(4,5,r.userCommonName$)?3:-1))},dependencies:[Pn,Zo],styles:[`ol[_ngcontent-%COMP%]{list-style-type:decimal}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-roman}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-roman}ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:square}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}[_nghost-%COMP%]{display:none}@media print{[_nghost-%COMP%]{display:flex;flex-direction:row;margin-bottom:8px;border-bottom:1px solid #c2c8cf}}img[_ngcontent-%COMP%]{width:75px;height:50px;object-fit:contain;filter:brightness(0) saturate(100%) invert(15%) sepia(31%) saturate(5843%) hue-rotate(195deg) brightness(97%) contrast(101%)} 3323/*# sourceMappingURL=print-header.component-QXFE2CFH.css.map */`]})}}return t})();var tae=[[["","top-content-outlet",""]],[["","header-icons-outlet",""]],[["","header-icons-outlet",""]],[["","printCustomHeaderLogo",""]],[["","utility-icons-outlet",""]],[["","custom-header-logo",""]],[["","above-content-outlet",""]],[["router-outlet"]],[["","custom-footer-links",""]],[["","custom-footer-logo",""]]],nae=["[top-content-outlet]","[header-icons-outlet]","[header-icons-outlet]","[printCustomHeaderLogo]","[utility-icons-outlet]","[custom-header-logo]","[above-content-outlet]","router-outlet","[custom-footer-links]","[custom-footer-logo]"],iae=[1,"flex","flex-col","flex-auto"],rae=t=>({mobile:t}),oae=(t,i)=>({"persistent-header":t,"persistent-header-hide":i}),SU=()=>[],aae=t=>({"with-search-or-subnav":t}),sae=(t,i)=>i.content;function lae(t,i){if(t&1){let e=le();g(0,"aamc-banner",15),P("bannerClose",function(){let r=B(e).$implicit,o=v(),a=v();return U(a.closeBanner(r,o))}),_()}if(t&2){let e=i.$implicit;w("content",e.content)("bannerType",e.bannerType)("showCloseIcon",!!e.onClose)}}function cae(t,i){t&1&&(g(0,"div",2),tt(1,lae,1,3,"aamc-banner",14,sae),_()),t&2&&(f(),nt(i))}function dae(t,i){t&1&&(Ar(0),ae(1,3),kr())}
3323function uae(t,i){if(t&1&&(g(0,"aamc-ui-utility-header",6),nn(1,"async"),nn(2,"async"),ae(3,4),_()),t&2){let e=v();w("urlTarget",e.urlTarget())("appName",e.appName())("appMenu",e.appMenu())("user",ai(1,27,e.user$))("sessionResolved",ai(2,29,e.sessionResolved$)===!0)("userDescription",e.userDescription())("hasMessages",e.hasMessages())("showMessages",e.showMessages())("hasNotifications",e.hasNotifications())("showNotifications",e.showNotifications())("showDownloads",e.showDownloads())("hasDownloads",e.hasDownloads())("showHelp",e.showHelp())("showSearch",e.showSearch())("disableSearchExpansion",e.disableSearchExpansion())("searchSuggestions",e.searchSuggestions())("searchPlaceholder",e.searchPlaceholder())("iconTemplate",e.iconTemplate())("showAppMenuSwitcher",e.showAppMenuSwitcher())("messageCount",e.messageCount())("notificationCount",e.notificationCount())("notificationsTemplate",e.notificationsTemplate()??null)("downloadCount",e.downloadCount())("downloadTemplate",e.downloadTemplate()??null)("navBreakpoint",e.navBreakpoint())("showLink",e.showUtilityLink())("showUserAccount",e.showUserAccount())}}function hae(t,i){t&1&&ae(0,5)}function fae(t,i){if(t&1&&E(0,hae,1,0),t&2){let e=i.$implicit;S(e.id==="custom-header-logo"?0:-1)}}function mae(t,i){if(t&1&&O(0,"aamc-ui-subheader",8),t&2){let e=v();w("navigation",e.subNavigation)}}function pae(t,i){if(t&1){let e=le();g(0,"aamc-breadcrumbs",16),P("contextSwitcherValues",function(r){B(e);let o=v();return U(o.contextSwitcherValues.emit(r))})("multiLevelContextSwitcherButtonClick",function(){B(e);let r=v();return U(r.multiLevelContextSwitcherButtonClick.emit(!0))}),_()}if(t&2){let e=v();w("breadcrumbs",e.breadcrumbs()||Mt(13,SU))("showBreadcrumb",e.showBreadcrumb)("contextSwitchers",e.contextSwitchers()??Mt(14,SU))("showContextSwitcher",e.showContextSwitcher)("showMultiLevelContextSwitcher",e.showMultiLevelContextSwitcher)("contextSwitcherLabel",e.contextSwitcherLabel())("contextSwitchersPlaceholder",e.contextSwitchersPlaceholder())("selectedContext",e.selectedContext)("disableOptions",e.disableOptions())("showContextName",e.showContextName())("showClearIcon",e.showClearIcon())("searchText",e.searchText())("contextSwitcherDisplayValues",e.contextSwitcherDisplayValues())}}function gae(t,i){if(t&1&&O(0,"aamc-ui-mobile-nav",12),t&2){let e=v();w("appName",e.appName())("navigation",e.navigation)("showUserAccount",e.showUserAccount())("user$",e.user$)("userDescription",e.userDescription()||"")("showLogo",e.showLogo())("logoUrl",e.logoUrl())}}function _ae(t,i){t&1&&ae(0,7,iae)}function vae(t,i){t&1&&(g(0,"div",18)(1,"div",20)(2,"h1"),I(3,"We're Sorry"),_(),g(4,"p"),I(5," This application is not responding correctly at the moment. "),O(6,"br"),I(7," Please try again later. "),_()()())}function yae(t,i){t&1&&ae(0,8)}function bae(t,i){if(t&1&&E(0,yae,1,0),t&2){let e=i.$implicit;S(e.id==="custom-footer-links"?0:-1)}}function Cae(t,i){t&1&&ae(0,9)}function wae(t,i){if(t&1&&E(0,Cae,1,0),t&2){let e=i.$implicit;S(e.id==="custom-footer-logo"?0:-1)}}function xae(t,i){if(t&1&&(g(0,"main",17),ae(1,6),E(2,_ae,1,0),nn(3,"async"),om(4,vae,8,0,"div",18),_(),g(5,"aamc-ui-footer",19),se(6,bae,1,1,"ng-template")(7,wae,1,1,"ng-template"),_()),t&2){let e=v();w("ngClass",Be(6,aae,e.subNavigation||e.showSearch())),f(2),S(ai(3,4,e.fatalAuthError$)===""?2:4),f(3),w("showFooterLogo",e.showFooterLogo())("contactUsUrl",e.contactUsUrl())}}var SI=(()=>{class t{get navigation(){return this._navigation}set navigation(e){this._navigation=e??[],this.loadSubNavItemsOnNavUpdate()}set gotoUrl(e){this._gotoUrl=e,this.goToUrlService.setGoToUrl(e)}get gotoUrl(){return this._gotoUrl}set selectedContext(e){this._selectedContext=e}get selectedContext(){return this._selectedContext}constructor(){this.authStore=d(ht),this.changeDetectorRef=d(Pe),this.breakpointObserver=d(js),this.router=d(At),this.layout=d(Ed),this.goToUrlService=d(Rs),this.testId=C(void 0),this._testId=Z(()=>Te("layout",this.testId())),this.iconTemplate=C(null),this.appName=C("App Name"),this.showLogo=C(!0),this.logoUrl=C(),this._navigation=[],this.showMegaMenu=C(!1),this.showDropdown=C(!1),this.navBreakp
3323oint=C(959),this.appMenu=C([]),this.showAppMenuSwitcher=C(!1),this.showSearch=C(!0),this.disableSearchExpansion=C(!1),this.searchSuggestions=C([]),this.searchPlaceholder=C(""),this.showMessages=C(!1),this.hasMessages=C(!1),this.messageCount=C(0),this.showNotifications=C(!1),this.hasNotifications=C(),this.notificationCount=C(),this.showDownloads=C(!1),this.hasDownloads=C(),this.downloadCount=C(),this.showHelp=C(!0),this.urlTarget=C("_blank"),this.showUserAccount=C(!0),this.userDescription=C(""),this.showFooterLogo=C(!1),this.contactUsUrl=C("https://www.aamc.org/about/contact/"),this.mainContentId=C("main-content"),this.showUtilityLink=C(!1),this.logoMaxWidth=C(),this.enablePersistentHeader=C(!0),this.breadcrumbs=C(),this.showBreadcrumb=!1,this.contextSwitchers=C(),this.showContextSwitcher=!1,this.showMultiLevelContextSwitcher=!1,this.contextSwitcherDisplayValues=C([]),this.contextSwitcherLabel=C(Md.Label.Viewing),this.contextSwitchersPlaceholder=C("Select"),this.disableOptions=C(!1),this.showContextName=C(!1),this.showClearIcon=C(!0),this.searchText=C(!0),this.helpClick=new z,this.messagesClick=new z,this.notificationsClick=new z,this.downloadsClick=new z,this.searched=new z,this.searchValueChanged=new z,this.searchSuggestionSelected=new z,this.contextSwitcherValues=new z,this.multiLevelContextSwitcherButtonClick=new z,this.sideNav=Qe.required(Ah),this.utilityHeader=Qe.required(Zp),this.notificationsTemplate=ln(fe),this.downloadTemplate=ln(fe),this.pphStickyHeaderHidden=!1,this.lastScrollTop=0,this.showHamburger=!1,this.opened=!1,this.isMobile=!1,this.subNavigation=[],this.isloginPage=!1,this.destroyNotification=new V,this.scrollPosition=0,this.bannerList$=this.layout.bannerList$}ngOnInit(){this.user$=this.authStore.pipe(cn(_i.getUser)),this.sessionResolved$=this.authStore.pipe(cn(_i.getSessionResolved)),this.fatalAuthError$=this.authStore.pipe(cn(_i.getCriticalError)),this._evaluateLoginPage(this.router.url),this.router.events.pipe(Ee(this.destroyNotification)).subscribe(e=>{e instanceof En&&(this.layout.setLatestRouterEvent(e),this.loadSubNavigationRouting(e),this._evaluateLoginPage(e.urlAfterRedirects),this._resetScrollOnNavigation())}),this.sideNav().openedChange.pipe(Ee(this.destroyNotification)).subscribe(e=>{this.opened=e}),this.layout.openNotification.pipe(Ee(this.destroyNotification)).subscribe(()=>{this.notificationsClick.emit()}),this.layout.openDownload.pipe(Ee(this.destroyNotification)).subscribe(()=>{this.downloadsClick.emit()}),this.layout.openMessages.pipe(Ee(this.destroyNotification)).subscribe(()=>{this.messagesClick.emit()}),this.layout.openHelp.pipe(Ee(this.destroyNotification)).subscribe(()=>{this.helpClick.emit()}),this.layout.searchValue.pipe(Ee(this.destroyNotification)).subscribe(e=>{this.searched.emit(e)}),this.layout.searchValueChanged.pipe(Ee(this.destroyNotification)).subscribe(e=>{this.searchValueChanged.emit(e)}),this.layout.searchSuggestionSelected.pipe(Ee(this.destroyNotification)).subscribe(e=>{this.searchSuggestionSelected.emit(e)}),this.breakpointObserver.observe(["(max-width: 959px)"]).pipe(Ee(this.destroyNotification)).subscribe(e=>{this.isMobile=e.matches})}onScroll(){let e=window.pageYOffset||document.documentElement.scrollTop||window.scrollY||0;this.enablePersistentHeader()&&(e>this.lastScrollTop?this.pphStickyHeaderHidden=!0:this.pphStickyHeaderHidden=!1,this.lastScrollTop=e),e!==0&&(this.scrollPosition=e)}loadSubNavItemsOnNavUpdate(){this.layout.getLatestRouterEvent().pipe(Fe(1)).subscribe(e=>{e!==null&&this.loadSubNavigationRouting(e)})}loadSubNavigationRouting(e){let n=this.navigation?.find(r=>{let o=-1;return r.router&&(o=e.urlAfterRedirects.indexOf(r.router)),o===0||o===1});this.subNavigation=n?.children||[],this.sideNav().close()}handleOverflow(e=!1){this.showHamburger=e,this.opened&&!this.showHamburger&&this.sideNav().close()}toggleMobileNav(){this.opened=!this.opened,this.sideNav().toggle()}closeBanner(e,n){n=n.filter(r=>r.content!==e.content),this.layout.setBanners(n),e.onClose&&e.onClose(e)}onSidenavClose(){setTimeout(()=>{window.scrollTo({top:this.scrollPosition})},0)}ngOnDestroy(){this.destroyNotification.next(),this.destroyNotification.complete()}detectChanges(){this.changeDetectorRef.detectChanges()}_evaluateLoginPage(e=""){this.isloginPage=e==="/login"||e.startsWith("/login?")||e.startsWith("/login/")}_resetScrollOnNavigation(){let e=this.router.currentNavigation();e?.finalUrl?.fragment||e?.trigger==="popstate"||(this.scrollPosition=0,this.lastScrollTop=0,this.pphStickyHeaderHidden=!1,window.scrollTo({top:0,behavior:"instant"}))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-layout"]],contentQueries:function(n,r,o){n&1&&Ei(o,r.n
3323otificationsTemplate,fe,5)(o,r.downloadTemplate,fe,5),n&2&&ct(2)},viewQuery:function(n,r){n&1&&It(r.sideNav,Ah,5)(r.utilityHeader,Zp,5),n&2&&ct(2)},hostBindings:function(n,r){n&1&&P("scroll",function(){return r.onScroll()},ws)},inputs:{testId:[1,"testId"],iconTemplate:[1,"iconTemplate"],appName:[1,"appName"],showLogo:[1,"showLogo"],logoUrl:[1,"logoUrl"],navigation:"navigation",showMegaMenu:[1,"showMegaMenu"],showDropdown:[1,"showDropdown"],navBreakpoint:[1,"navBreakpoint"],appMenu:[1,"appMenu"],showAppMenuSwitcher:[1,"showAppMenuSwitcher"],gotoUrl:"gotoUrl",showSearch:[1,"showSearch"],disableSearchExpansion:[1,"disableSearchExpansion"],searchSuggestions:[1,"searchSuggestions"],searchPlaceholder:[1,"searchPlaceholder"],showMessages:[1,"showMessages"],hasMessages:[1,"hasMessages"],messageCount:[1,"messageCount"],showNotifications:[1,"showNotifications"],hasNotifications:[1,"hasNotifications"],notificationCount:[1,"notificationCount"],showDownloads:[1,"showDownloads"],hasDownloads:[1,"hasDownloads"],downloadCount:[1,"downloadCount"],showHelp:[1,"showHelp"],urlTarget:[1,"urlTarget"],showUserAccount:[1,"showUserAccount"],userDescription:[1,"userDescription"],showFooterLogo:[1,"showFooterLogo"],contactUsUrl:[1,"contactUsUrl"],mainContentId:[1,"mainContentId"],showUtilityLink:[1,"showUtilityLink"],logoMaxWidth:[1,"logoMaxWidth"],enablePersistentHeader:[1,"enablePersistentHeader"],breadcrumbs:[1,"breadcrumbs"],showBreadcrumb:"showBreadcrumb",contextSwitchers:[1,"contextSwitchers"],showContextSwitcher:"showContextSwitcher",showMultiLevelContextSwitcher:"showMultiLevelContextSwitcher",contextSwitcherDisplayValues:[1,"contextSwitcherDisplayValues"],contextSwitcherLabel:[1,"contextSwitcherLabel"],contextSwitchersPlaceholder:[1,"contextSwitchersPlaceholder"],disableOptions:[1,"disableOptions"],showContextName:[1,"showContextName"],showClearIcon:[1,"showClearIcon"],searchText:[1,"searchText"],selectedContext:"selectedContext"},outputs:{helpClick:"helpClick",messagesClick:"messagesClick",notificationsClick:"notificationsClick",downloadsClick:"downloadsClick",searched:"searched",searchValueChanged:"searchValueChanged",searchSuggestionSelected:"searchSuggestionSelected",contextSwitcherValues:"contextSwitcherValues",multiLevelContextSwitcherButtonClick:"multiLevelContextSwitcherButtonClick"},standalone:!1,ngContentSelectors:nae,decls:23,vars:52,consts:[["mobileSideNav",""],[3,"mainContentId"],[1,"sticky","top-0","z-[999]"],["aria-hidden","true",3,"appName","showAAMCLogo","userDescription"],[1,"flex","flex-col","layout",3,"ngClass"],[3,"ngClass"],[3,"urlTarget","appName","appMenu","user","sessionResolved","userDescription","hasMessages","showMessages","hasNotifications","showNotifications","showDownloads","hasDownloads","showHelp","showSearch","disableSearchExpansion","searchSuggestions","searchPlaceholder","iconTemplate","showAppMenuSwitcher","messageCount","notificationCount","notificationsTemplate","downloadCount","downloadTemplate","navBreakpoint","showLink","showUserAccount"],[3,"toggleMobileNav","headerOverflowChange","appName","navigation","showMegaMenu","appMenu","user","isOpened","userDescription","showDropdown","showLogo","logoUrl","hasMessages","showMessages","hasNotifications","showNotifications","showDownloads","hasDownloads","showHelp","showSearch","searchPlaceholder","iconTemplate","showAppMenuSwitcher","messageCount","notificationCount","notificationsTemplate","downloadCount","downloadTemplate","navBreakpoint","logoMaxWidth","isloginPage"],[3,"navigation"],[3,"breadcrumbs","showBreadcrumb","contextSwitchers","showContextSwitcher","showMultiLevelContextSwitcher","contextSwitcherLabel","contextSwitchersPlaceholder","selectedContext","disableOptions","showContextName","showClearIcon","searchText","contextSwitcherDisplayValues"],[1,"aamc-main-content","!bg-black-5","!overflow-visible"],["mode","over",1,"h-[88vh]","!w-full","text-black-80","bg-white",3,"closedStart","autoFocus"],[3,"appName","navigation","showUserAccount","user$","userDescription","showLogo","logoUrl"],[1,"!overflow-visible"],[3,"content","bannerType","showCloseIcon"],[3,"bannerClose","content","bannerType","showCloseIcon"],[3,"contextSwitcherValues","multiLevelContextSwitcherButtonClick","breadcrumbs","showBreadcrumb","contextSwitchers","showContextSwitcher","showMultiLevelContextSwitcher","contextSwitcherLabel","contextSwitchersPlaceholder","selectedContext","disableOptions","showContextName","showClearIcon","searchText","contextSwitcherDisplayValues"],["id","main-content","tabindex","-1",3,"ngClass"],[1,"content-well"],[3,"showFooterLogo","contactUsUrl"],[1,"medium-content","pt-[15vh]","text-center"]],template:function(n,r){if(n&1&&(We(tae),g(0,"div"),O(1,"aamc-ui-skip-to-main",1),E(2,cae,3,0,"div",2),nn(3,"async"),g(4,"aamc-ui-print-header",3),se(5,dae,2,0,"ng-template"),_(),g(6,"div",4)(7,"header",5),ae(8),E(9,uae,4,31,"aamc-ui-utility-header",6),g(10,"aamc-header",7),nn(11,"async"),P("toggleMobileNav",function(){return r.toggleMobileNav()})("headerOverflowChange",function(a){return r.handleOverflow(a)}),ae(12,1),se(13,fae,1,1,"ng-template"),ae(14,2),_(),E(15,mae,1,1,"aamc-ui-subheader",8),E(16,pae,1,15,"aamc-breadcrumbs",9),_(),g(17,"mat-sidenav-container",10)(18,"mat-sidenav",11,0),P("closedStart",function(){return r.onSidenavClose()}),E(20,gae,1,7,"aamc-ui-mobile-nav",12),_(),g(21,"mat-sidenav-content",13),E(22,xae,8,8),_()()()()),n&2){let o;N("data-testid",r._testId()),f(),w("mainContentId",r.mainContentId()),f(),S((o=ai(3,43,r.bannerList$))?2:-1,o),f(2),w("appName",r.appName())("showAAMCLogo",r.showLogo())("userDescription",r.userDescription()),f(2),w("ngClass",Be(47,rae,r.isMobile)),f(),w("ngClass",tn(49,oae,r.enablePersistentHeader(),r.pphStickyHeaderHidden)),f(2),S(r.showHamburger?-1:9),f(),w("appName",r.appName())("navigation",r.navigation)("showMegaMenu",r.showMegaMenu())("appMenu",r.appMenu())("user",ai(11,45,r.user$))("isOpened",r.opened)("userDescription",r.userDescription())("showDropdown",r.showDropdown())("showLogo",r.showLogo())("logoUrl",r.logoUrl())("hasMessages",r.hasMessages())("showMessages",r.showMessages())("hasNotifications",r.hasNotifications())("showNotifications",r.showNotifications())("showDownloads",r.showDownloads())("hasDownloads",r.hasDownloads())("showHelp",r.showHelp())("showSearch",r.showSearch())("searchPlaceholder",r.searchPlaceholder())("iconTemplate",r.iconTemplate())("showAppMenuSwitcher",r.showAppMenuSwitcher())("messageCount",r.messageCount())("notificationCount",r.notificationCount())("notificationsTemplate",r.notificationsTemplate()??null)("downloadCount",r.downloadCount())("downloadTemplate",r.downloadTemplate()??null)("navBreakp
3323oint",r.navBreakpoint())("logoMaxWidth",r.logoMaxWidth())("isloginPage",r.isloginPage),f(5),S(!r.showDropdown()&&r.subNavigation.length>0&&!r.showHamburger?15:-1),f(),S(r.showBreadcrumb||r.showContextSwitcher||r.showMultiLevelContextSwitcher?16:-1),f(2),w("autoFocus",!1),f(2),S(r.sideNav().opened?20:-1),f(2),S(r.sideNav().opened?-1:22)}},dependencies:[ot,Zp,pU,vU,bU,Ah,UB,k0,xU,qs,Jp,MU,EU,Zo],styles:[`ol[_ngcontent-%COMP%]{list-style-type:decimal}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-roman}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-roman}ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:square}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}@media print{aamc-ui-utility-header[_ngcontent-%COMP%], aamc-header[_ngcontent-%COMP%], aamc-ui-subheader[_ngcontent-%COMP%]{display:none!important}}@media print{.aamc-main-content[_ngcontent-%COMP%]{background:none!important}}.persistent-header[_ngcontent-%COMP%]{position:sticky;top:0;z-index:990;transition:top .4s}.persistent-header.persistent-header-hide[_ngcontent-%COMP%]{top:-400px;transition:top .8s,z-index 0s .8s}#main-content[_ngcontent-%COMP%]{min-height:calc(100vh - 100px)}#main-content[_ngcontent-%COMP%]:focus-visible{outline:2px solid #000!important;outline-offset:-3px}#main-content.with-search-or-subnav[_ngcontent-%COMP%]{min-height:calc(100vh - 180px)}@media print{#main-content[_ngcontent-%COMP%]{min-height:auto!important}} 3324/*# sourceMappingURL=aamc-layout.component-IDLWNT4H.css.map */`]})}}return t})();var Mae=[hd],TI=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=G({type:t})}static{this.\u0275inj=q({imports:[Mae,Ue,hd]})}}return t})();var eg=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=G({type:t})}static{this.\u0275inj=q({imports:[bt,wo,Ri,pr,on,Ue,jn,bt,wo,Ri,pr]})}}return t})();var tg=(function(t){return t.Error="error",t.Warning="warning",t.Info="info",t})(tg||{});var Eae=[{name:"Reply",toolTipMessage:"Mark as read and reply",icon:Bn.Reply,action:t=>{t.isRead=!0,alert(`Marking as read! Example callback reply action of id = ${t.id} triggered!`)}},{name:"Edit",icon:Bn.Edit,action:t=>{alert(`Example callback edit action of id = ${t.id} triggered!`)}},{name:"Delete",toolTipMessage:"Clear notification from list",icon:Bn.Trash,buttonType:Lt.Warning,action:t=>{alert(`Example callback delete action of id = ${t.id} triggered!`)}}],Sae=[{name:"Emphasis",buttonType:Lt.Emphasis,action:()=>{alert("Emphasis button clicked")}},{name:"Primary",buttonType:Lt.Primary,action:()=>{alert("Primary button clicked")}},{name:"Secondary",buttonType:Lt.Secondary,action:()=>{alert("Secondary button clicked")}}],wGe=[{id:"1",title:"I\u2019m a notification title that is very long for no good reason",text:"Notification description",userName:"system",time:"1 minute ago",icon:Bn.Download,statusColor:tg.Error,href:"https://www.aamc.org/",iconButtons:Eae},{id:"2",title:"Notification Title",text:"Notification description",icon:"./assets/icons/demo-salesforce.svg",userName:"Alex",time:"3 days ago",action:t=>{alert(`Example callback action of id = ${t.id} triggered!`)}},{id:"3",title:"I\u2019m a notification title that is very very very very long for no good reason",text:"To test page redirect, navigate away from Components > Notifications page and click the title. This is a really very very long notification description to show how this would work for really long multi-line descriptions of some notifications because we love being so very verbose.",userName:"Alex",time:"2 weeks ago",icon:Bn.Warning,statusColor:tg.Warning,miniButtons:Sae},{id:"4",title:"Notification Title",text:"Notification description",userName:"Emily",time:"May 16, 2023",statusColor:tg.Info},{id:"5",title:"Notification Title",text:"Notification description",userName:"system",time:"May 11, 2023 at 5:00 PM"},{id:"6",title:"Notification Title",text:"Notification description",userName:"system",time:"May 11, 2023"},{id:"7",title:"Notification Title",text:"Notification description",userName:"system",time:"May 11, 2023"},{id:"8",title:"Notification Title",text:"Notification description",userName:"system",time:"May 11, 2023"},{id:"9",title:"Notification Title",text:"Notification description",userName:"system",time:"May 11, 2023"},{id:"10",title:"Notification Title",text:"Notification description",userName:"system",time:"May 11, 2023"},{id:"11",title:"Notification Title",text:"Notification description",userName:"system",time:"May 11, 2023"},{id:"12",title:"Notification Title",text:"Notification description",userName:"system",time:"May 11, 2023"},{id:"13",title:"Notification Title",text:"Notification description",userName:"system",time:"May 11, 2023"},{id:"14",title:"Notification Title",text:"Notification description",userName:"system",time:"May 11, 2023"},{id:"15",title:"Notification Title",text:"Notification description",userName:"system",time:"May 11, 2023"}],xGe=[{id:"1",title:"Notification Title",text:"Download File one",icon:Bn.Document,time:"May 11, 2023",href:"https://www.aamc.org/"},{id:"2",title:"Notification Title",text:"Download File two",icon:Bn.Document,time:"5 minutes ago",href:"https://www.aamc.org/"},{id:"3",title:"Notification Title",text:"Processing",icon:Bn.Processing,time:"1 minutes ago",action:t=>{alert(`Example callback action of id = ${t.id} triggered!`)}}];var Tae=[Wl,Dn,ui,bt,pr,jn,Ri,Ws,eg,Gl,wo,Gp,Sd,Cr,on],II=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=G({type:t})}static{this.\u0275inj=q({imports:[Tae,Ue]})}}return t})();var ng=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({imports:[gt]})}return t})();var ig=(()=>{class t{_listeners=[];notify(e,n){for(let r of this._listeners)r(e,n)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(n=>e!==n)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var AI=new T("CdkAccordion"),TU=(()=>{class t{_stateChanges=new V;_openCloseAllActions=new V;id=d(Et).getId("cdk-accordion-");multi=!1;openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",ue]},exportAs:["cdkAccordion"],features:[Ye([{provide:AI,useExisting:t}]),Ze]})}return t})(),IU=(()=>{class t{accordion=d(AI,{optional:!0,skipSelf:!0});_changeDetectorRef=d(Pe);
3324_expansionDispatcher=d(ig);_openCloseAllSubscription=Re.EMPTY;closed=new z;opened=new z;destroyed=new z;expandedChange=new z;id=d(Et).getId("cdk-accordion-child-");get expanded(){return this._expanded}set expanded(e){if(this._expanded!==e){if(this._expanded=e,this.expandedChange.emit(e),e){this.opened.emit();let n=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,n)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}_expanded=!1;get disabled(){return this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=re(!1);_removeUniqueSelectionListener=()=>{};constructor(){}ngOnInit(){this._removeUniqueSelectionListener=this._expansionDispatcher.listen((e,n)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===n&&this.id!==e&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",ue],disabled:[2,"disabled","disabled",ue]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Ye([{provide:AI,useValue:void 0}])]})}return t})(),AU=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({})}return t})();var Iae=["body"],Aae=["bodyWrapper"],kae=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Oae=["mat-expansion-panel-header","*","mat-action-row"];function Nae(t,i){}var Rae=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],Pae=["mat-panel-title","mat-panel-description","*"];function Fae(t,i){t&1&&(Tt(0,"span",1),Ho(),Tt(1,"svg",2),On(2,"path",3),Ut()())}var kI=new T("MAT_ACCORDION"),kU=new T("MAT_EXPANSION_PANEL"),Lae=(()=>{class t{_template=d(fe);_expansionPanel=d(kU,{optional:!0});constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]})}return t})(),OU=new T("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),rg=(()=>{class t extends IU{_viewContainerRef=d(wn);_animationsDisabled=Nt();_document=d(ve);_ngZone=d(ne);_elementRef=d(Q);_renderer=d(Ge);_cleanupTransitionEnd;get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=e}_hideToggle=!1;get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_togglePosition;afterExpand=new z;afterCollapse=new z;_inputChanges=new V;accordion=d(kI,{optional:!0,skipSelf:!0});_lazyContent;_body;_bodyWrapper;_portal;_headerId=d(Et).getId("mat-expansion-panel-header-");constructor(){super();let e=d(OU,{optional:!0});this._expansionDispatcher=d(ig),e&&(this.hideToggle=e.hideToggle)}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(Ot(null),J(()=>this.expanded&&!this._portal),Fe(1)).subscribe(()=>{this._portal=new Yi(this._lazyContent._template,this._viewContainerRef)}),this._setupAnimationEvents()}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTransitionEnd?.(),this._inputChanges.complete()}_containsFocus(){if(this._body){let e=this._document.activeElement,n=this._body.nativeElement;return e===n||n.contains(e)}return!1}_transitionEndListener=({target:e,propertyName:n})=>{e===this._bodyWrapper?.nativeElement&&n==="grid-template-rows"&&this._ngZone.run(()=>
3324{this.expanded?this.afterExpand.emit():this.afterCollapse.emit()})};_setupAnimationEvents(){this._ngZone.runOutsideAngular(()=>{this._animationsDisabled?(this.opened.subscribe(()=>this._ngZone.run(()=>this.afterExpand.emit())),this.closed.subscribe(()=>this._ngZone.run(()=>this.afterCollapse.emit()))):setTimeout(()=>{let e=this._elementRef.nativeElement;this._cleanupTransitionEnd=this._renderer.listen(e,"transitionend",this._transitionEndListener),e.classList.add("mat-expansion-panel-animations-enabled")},200)})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(n,r,o){if(n&1&&Nn(o,Lae,5),n&2){let a;we(a=xe())&&(r._lazyContent=a.first)}},viewQuery:function(n,r){if(n&1&&Zt(Iae,5)(Aae,5),n&2){let o;we(o=xe())&&(r._body=o.first),we(o=xe())&&(r._bodyWrapper=o.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:4,hostBindings:function(n,r){n&2&&ie("mat-expanded",r.expanded)("mat-expansion-panel-spacing",r._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",ue],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[Ye([{provide:kI,useValue:void 0},{provide:kU,useExisting:t}]),Je,Ze],ngContentSelectors:Oae,decls:9,vars:4,consts:[["bodyWrapper",""],["body",""],[1,"mat-expansion-panel-content-wrapper"],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(n,r){n&1&&(We(kae),ae(0),g(1,"div",2,0)(3,"div",3,1)(5,"div",4),ae(6,1),se(7,Nae,0,0,"ng-template",5),_(),ae(8,2),_()()),n&2&&(f(),N("inert",r.expanded?null:""),f(2),w("id",r.id),N("aria-labelledby",r._headerId),f(4),w("cdkPortalOutlet",r._portal))},dependencies:[jr],styles:[`.mat-expansion-panel { 3325 box-sizing: content-box; 3326 display: block; 3327 margin: 0; 3328 overflow: hidden; 3329} 3330.mat-expansion-panel.mat-expansion-panel-animations-enabled { 3331 transition: margin 225ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); 3332} 3333.mat-expansion-panel { 3334 position: relative; 3335 background: var(--mat-expansion-container-background-color, var(--mat-sys-surface)); 3336 color: var(--mat-expansion-container-text-color, var(--mat-sys-on-surface)); 3337 border-radius: var(--mat-expansion-container-shape, 12px); 3338} 3339.mat-expansion-panel:not([class*=mat-elevation-z]) { 3340 box-shadow: var(--mat-expansion-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)); 3341} 3342.mat-accordion .mat-expansion-panel:not(.mat-expanded), .mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing) { 3343 border-radius: 0; 3344} 3345.mat-accordion .mat-expansion-panel:first-of-type { 3346 border-top-right-radius: var(--mat-expansion-container-shape, 12px); 3347 border-top-left-radius: var(--mat-expansion-container-shape, 12px); 3348} 3349.mat-accordion .mat-expansion-panel:last-of-type { 3350 border-bottom-right-radius: var(--mat-expansion-container-shape, 12px); 3351 border-bottom-left-radius: var(--mat-expansion-container-shape, 12px); 3352} 3353@media (forced-colors: active) { 3354 .mat-expansion-panel { 3355 outline: solid 1px; 3356 } 3357} 3358 3359.mat-expansion-panel-content-wrapper { 3360 display: grid; 3361 grid-template-rows: 0fr; 3362 grid-template-columns: 100%; 3363} 3364.mat-expansion-panel-animations-enabled .mat-expansion-panel-content-wrapper { 3365 transition: grid-template-rows 225ms cubic-bezier(0.4, 0, 0.2, 1); 3366} 3367.mat-expansion-panel.mat-expanded > .mat-expansion-panel-content-wrapper { 3368 grid-template-rows: 1fr; 3369} 3370@supports not (grid-template-rows: 0fr) { 3371 .mat-expansion-panel-content-wrapper { 3372 height: 0; 3373 } 3374 .mat-expansion-panel.mat-expanded > .mat-expansion-panel-content-wrapper { 3375 height: auto; 3376 } 3377} 3378@media print { 3379 .mat-expansion-panel-content-wrapper { 3380 height: 0; 3381 } 3382 .mat-expansion-panel.mat-expanded > .mat-expansion-panel-content-wrapper { 3383 height: auto; 3384 } 3385} 3386 3387.mat-expansion-panel-content { 3388 display: flex; 3389 flex-direction: column; 3390 overflow: visible; 3391 min-height: 0; 3392 visibility: hidden; 3393} 3394.mat-expansion-panel-animations-enabled .mat-expansion-panel-content { 3395 transition: visibility 190ms linear; 3396} 3397.mat-expansion-panel.mat-expanded > .mat-expansion-panel-content-wrapper > .mat-expansion-panel-content { 3398 visibility: visible; 3399} 3400.mat-expansion-panel-content { 3401 font-family: var(--mat-expansion-container-text-font, var(--mat-sys-body-large-font)); 3402 font-size: var(--mat-expansion-container-text-size, var(--mat-sys-body-large-size)); 3403 font-weight: var(--mat-expansion-container-text-weight, var(--mat-sys-body-large-weight)); 3404 line-height: var(--mat-expansion-container-text-line-height, var(--mat-sys-body-large-line-height)); 3405 letter-spacing: var(--mat-expansion-container-text-tracking, var(--mat-sys-body-large-tracking)); 3406} 3407 3408.mat-expansion-panel-body { 3409 padding: 0 24px 16px; 3410} 3411 3412.mat-expansion-panel-spacing { 3413 margin: 16px 0; 3414} 3415.mat-accordion > .mat-expansion-panel-spacing:first-child, .mat-accordion > *:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing { 3416 margin-top: 0; 3417} 3418.mat-accordion > .mat-expansion-panel-spacing:last-child, .mat-accordion > *:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing { 3419 margin-bottom: 0; 3420} 3421 3422.mat-action-row { 3423 border-top-style: solid; 3424 border-top-width: 1px; 3425 display: flex; 3426 flex-direction: row; 3427 justify-content: flex-end; 3428 padding: 16px 8px 16px 24px; 3429 border-top-color: var(--mat-expansion-actions-divider-color, var(--mat-sys-outline)); 3430} 3431.mat-action-row .mat-button-base, 3432.mat-action-row .mat-mdc-button-base { 3433 margin-left: 8px; 3434} 3435[dir=rtl] .mat-action-row .mat-button-base, 3436[dir=rtl] .mat-action-row .mat-mdc-button-base { 3437 margin-left: 0; 3438 margin-right: 8px; 3439} 3440`],encapsulation:2,changeDetection:0})}return t})();var og=(()=>{class t{panel=d(rg,{host:!0});_element=d(Q);_focusMonitor=d(Qi);_changeDetectorRef=d(Pe);_parentChangeSubscription=Re.EMPTY;constructor(){d(dn).load(Ja);let e=this.panel,n=d(OU,{optional:!0}),r=d(new Yo("tabindex"),{optional:!0}),o=e.accordion?e.accordion._stateChanges.pipe(J(a=>!!(a.hideToggle||a.togglePosition))):an;this.tabIndex=parseInt(r||"")||0,this._parentChangeSubscription=qt(e.opened,e.closed,o,e._inputChanges.pipe(J(a=>!!(a.hideToggle||a.disabled||a.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(J(()=>e._containsFocus())).subscribe(()=>this._focusMonitor.focusVia(this._element,"program")),n&&(this.expandedHeight=n.expandedHeight,this.collapsedHeight=n.collapsedHeight)}expandedHeight;collapsedHeight;tabIndex=0;get disabled(){return this.panel.disabled}
3440_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){let e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:un(e)||(e.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e);return}}focus(e,n){e?this._focusMonitor.focusVia(this._element,e,n):this._element.nativeElement.focus(n)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:13,hostBindings:function(n,r){n&1&&P("click",function(){return r._toggle()})("keydown",function(a){return r._keydown(a)}),n&2&&(N("id",r.panel._headerId)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r._getPanelId())("aria-expanded",r._isExpanded())("aria-disabled",r.panel.disabled),Rn("height",r._getHeaderHeight()),ie("mat-expanded",r._isExpanded())("mat-expansion-toggle-indicator-after",r._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",r._getTogglePosition()==="before"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Pa(e)]},ngContentSelectors:Pae,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(n,r){n&1&&(We(Rae),Tt(0,"span",0),ae(1),ae(2,1),ae(3,2),Ut(),E(4,Fae,3,0,"span",1)),n&2&&(ie("mat-content-hide-toggle",!r._showToggle()),f(4),S(r._showToggle()?4:-1))},styles:[`.mat-expansion-panel-header { 3441 display: flex; 3442 flex-direction: row; 3443 align-items: center; 3444 padding: 0 24px; 3445 border-radius: inherit; 3446} 3447.mat-expansion-panel-animations-enabled .mat-expansion-panel-header { 3448 transition: height 225ms cubic-bezier(0.4, 0, 0.2, 1); 3449} 3450.mat-expansion-panel-header::before { 3451 border-radius: inherit; 3452} 3453.mat-expansion-panel-header { 3454 height: var(--mat-expansion-header-collapsed-state-height, 48px); 3455 font-family: var(--mat-expansion-header-text-font, var(--mat-sys-title-medium-font)); 3456 font-size: var(--mat-expansion-header-text-size, var(--mat-sys-title-medium-size)); 3457 font-weight: var(--mat-expansion-header-text-weight, var(--mat-sys-title-medium-weight)); 3458 line-height: var(--mat-expansion-header-text-line-height, var(--mat-sys-title-medium-line-height)); 3459 letter-spacing: var(--mat-expansion-header-text-tracking, var(--mat-sys-title-medium-tracking)); 3460} 3461.mat-expansion-panel-header.mat-expanded { 3462 height: var(--mat-expansion-header-expanded-state-height, 64px); 3463} 3464.mat-expansion-panel-header[aria-disabled=true] { 3465 color: var(--mat-expansion-header-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 3466} 3467.mat-expansion-panel-header:not([aria-disabled=true]) { 3468 cursor: pointer; 3469} 3470.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover { 3471 background: var(--mat-expansion-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent)); 3472} 3473@media (hover: none) { 3474 .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover { 3475 background: var(--mat-expansion-container-background-color, var(--mat-sys-surface)); 3476 } 3477} 3478.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused, .mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused { 3479 background: var(--mat-expansion-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent)); 3480} 3481.mat-expansion-panel-header._mat-animation-noopable { 3482 transition: none; 3483} 3484.mat-expansion-panel-header:focus, .mat-expansion-panel-header:hover { 3485 outline: none; 3486} 3487.mat-expansion-panel-header.mat-expanded:focus, .mat-expansion-panel-header.mat-expanded:hover { 3488 background: inherit; 3489} 3490.mat-expansion-panel-header.mat-expansion-toggle-indicator-before { 3491 flex-direction: row-reverse; 3492} 3493.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator { 3494 margin: 0 16px 0 0; 3495} 3496[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator { 3497 margin: 0 0 0 16px; 3498} 3499 3500.mat-content { 3501 display: flex; 3502 flex: 1; 3503 flex-direction: row; 3504 overflow: hidden; 3505} 3506.mat-content.mat-content-hide-toggle { 3507 margin-right: 8px; 3508} 3509[dir=rtl] .mat-content.mat-content-hide-toggle { 3510 margin-right: 0; 3511 margin-left: 8px; 3512} 3513.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle { 3514 margin-left: 24px; 3515 margin-right: 0; 3516} 3517[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle { 3518 margin-right: 24px; 3519 margin-left: 0; 3520} 3521 3522.mat-expansion-panel-header-title { 3523 color: var(--mat-expansion-header-text-color, var(--mat-sys-on-surface)); 3524} 3525 3526.mat-expansion-panel-header-title, 3527.mat-expansion-panel-header-description { 3528 display: flex; 3529 flex-grow: 1; 3530 flex-basis: 0; 3531 margin-right: 16px; 3532 align-items: center; 3533} 3534[dir=rtl] .mat-expansion-panel-header-title, 3535[dir=rtl] .mat-expansion-panel-header-description { 3536 margin-right: 0; 3537 margin-left: 16px; 3538} 3539.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title, 3540.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description { 3541 color: inherit; 3542} 3543 3544.mat-expansion-panel-header-description { 3545 flex-grow: 2; 3546 color: var(--mat-expansion-header-description-color, var(--mat-sys-on-surface-variant)); 3547} 3548 3549.mat-expansion-panel-animations-enabled .mat-expansion-indicator { 3550 transition: transform 225ms cubic-bezier(0.4, 0, 0.2, 1); 3551} 3552.mat-expansion-panel-header.mat-expanded .mat-expansion-indicator { 3553 transform: rotate(180deg); 3554} 3555.mat-expansion-indicator::after { 3556 border-style: solid; 3557 border-width: 0 2px 2px 0; 3558 content: ""; 3559 padding: 3px; 3560 transform: rotate(45deg); 3561 vertical-align: middle; 3562 color: var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant)); 3563 display: var(--mat-expansion-legacy-header-indicator-display, none); 3564} 3565.mat-expansion-indicator svg { 3566 width: 24px; 3567 height: 24px; 3568 margin: 0 -8px; 3569 vertical-align: middle; 3570 fill: var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant)); 3571 display: var(--mat-expansion-header-indicator-display, inline-block); 3572} 3573 3574@media (forced-colors: active) { 3575 .mat-expansion-panel-content { 3576 border-top: 1px solid; 3577 border-top-left-radius: 0; 3578 border-top-right-radius: 0; 3579 } 3580} 3581`],encapsulation:2,changeDetection:0})}return t})();var H0=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}return t})(),z0=(()=>{class t extends TU{_keyManager;_ownHeaders=new Tr;_headers;hideToggle=!1;displayMode="default";togglePosition="after";ngAfterContentInit(){this._headers.changes.pipe(Ot(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(n=>n.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new ud(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Dt(t)))(r||t)}})();static \u0275dir=W({type:t,selectors:[["mat-accordion"]],contentQueries:function(n,r,o){if(n&1&&Nn(o,og,5),n&2){let a;we(a=xe())&&(r._headers=a)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(n,r){n&2&&ie("mat-accordion-multi",r.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",ue],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[Ye([{provide:kI,useExisting:t}]),Je]})}return t})(),Td=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({imports:[AU,go,gt]})}return t})();var Vae=[Gp,bt,ng,Td,Cr,on],RU=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=G({type:t})}static{this.\u0275inj=q({imports:[Vae,Ue,jn,Ri,Ws,B0,Gp,bt,ng,Td,Cr]})}}return t})();var jae=[Hr,Dn,pr,ui,di,Ri,Wl],OI=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=G({type:t})}static{this.\u0275inj=q({imports:[jae,Ue,jn,Hr,Dn,pr,ui,di,Ri,Wl]})}}return t})();var NI=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=G({type:t})}static{this.\u0275inj=q({imports:[Wl,bt,ui,Ws,eg,Gl,Cr,Dn,Sd,N0,ns,Cr,Ue,N0,ng,Wl,bt,ui,Ws,eg,Cr,Dn,Sd,N0,Cr]})}}return t})();var $0=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=G({type:t})}static{this.\u0275inj=q({imports:[Ue,jn,NI,II,OI,TI,RU,qs,qp,Jp,II,OI,TI,NI,Qp]})}}return t})();var PU=(()=>{class t{constructor(){this.configService=d(yr),this.authStore=d(ht),this.aamcPageTitleService=d(WS),this.navigation=[],this.pageTitle="Need help with your AAMC account?",this.contactUsUrl="https://www.aamc.org/contact-us",this.childrenArray=[{name:"Help",router:"/",unsecure:!0,exact:!0},{name:"2FA Help",router:"/2FA-help",unsecure:!0,exact:!0}],this.unSubscribe=new V}ngOnInit(){this.aamcPageTitleService.start(this.pageTitle),this.authStore.pipe(cn(_i.getUser)).subscribe(e=>{this.navigation=[{name:"Store",unsecure:!0,href:"https://store.aamc.org/",target:"_blank"},{name:"Help",router:"/",unsecure:!0,exact:!1,children:this.childrenArray},{name:"Contact Us",unsecure:!0,href:this.contactUsUrl,target:"_blank"},{name:e?"Sign Out":"Sign In",unsecure:!0,href:e?this.configService.logoutUrl:this.configService.loginUrl}]})}ngOnDestroy(){this.unSubscribe.next(),this.unSubscribe.complete()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["act-help-root"]],decls:2,vars:8,consts:[[3,"appName","navigation","showMessages","showNotifications","showSearch","showHelp","showAppMenuSwitcher","contactUsUrl"]],template:function(n,r){n&1&&(g(0,"aamc-layout",0),O(1,"router-outlet"),_()),n&2&&w("appName","")("navigation",r.navigation)("showMessages",!1)("showNotifications",!1)("showSearch",!1)("showHelp",!1)("showAppMenuSwitcher",!1)("contactUsUrl",r.contactUsUrl)},dependencies:[$0,SI,Hm],encapsulation:2,changeDetection:0})}}return t})();var Bae=["*"];var Uae=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],Hae=["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle, 3582 [mat-card-title], [mat-card-subtitle], 3583 [matCardTitle], [matCardSubtitle]`,"*"],zae=new T("MAT_CARD_CONFIG"),is=(()=>{class t{appearance;constructor(){let e=d(zae,{optional:!0});this.appearance=e?.appearance||"raised"}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:8,hostBindings:function(n,r){n&2&&ie("mat-mdc-card-outlined",r.appearance==="outlined")("mdc-card--outlined",r.appearance==="outlined")("mat-mdc-card-filled",r.appearance==="filled")("mdc-card--filled",r.appearance==="filled")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:Bae,decls:1,vars:0,template:function(n,r){n&1&&(We(),ae(0))},styles:[`.mat-mdc-card { 3584 display: flex; 3585 flex-direction: column; 3586 box-sizing: border-box; 3587 position: relative; 3588 border-style: solid; 3589 border-width: 0; 3590 background-color: var(--mat-card-elevated-container-color, var(--mat-sys-surface-container-low)); 3591 border-color: var(--mat-card-elevated-container-color, var(--mat-sys-surface-container-low)); 3592 border-radius: var(--mat-card-elevated-container-shape, var(--mat-sys-corner-medium)); 3593 box-shadow: var(--mat-card-elevated-container-elevation, var(--mat-sys-level1)); 3594} 3595.mat-mdc-card::after { 3596 position: absolute; 3597 top: 0; 3598 left: 0; 3599 width: 100%; 3600 height: 100%; 3601 border: solid 1px transparent; 3602 content: ""; 3603 display: block; 3604 pointer-events: none; 3605 box-sizing: border-box; 3606 border-radius: var(--mat-card-elevated-container-shape, var(--mat-sys-corner-medium)); 3607} 3608 3609.mat-mdc-card-outlined { 3610 background-color: var(--mat-card-outlined-container-color, var(--mat-sys-surface)); 3611 border-radius: var(--mat-card-outlined-container-shape, var(--mat-sys-corner-medium)); 3612 border-width: var(--mat-card-outlined-outline-width, 1px); 3613 border-color: var(--mat-card-outlined-outline-color, var(--mat-sys-outline-variant)); 3614 box-shadow: var(--mat-card-outlined-container-elevation, var(--mat-sys-level0)); 3615} 3616.mat-mdc-card-outlined::after { 3617 border: none; 3618} 3619 3620.mat-mdc-card-filled { 3621 background-color: var(--mat-card-filled-container-color, var(--mat-sys-surface-container-highest)); 3622 border-radius: var(--mat-card-filled-container-shape, var(--mat-sys-corner-medium)); 3623 box-shadow: var(--mat-card-filled-container-elevation, var(--mat-sys-level0)); 3624} 3625 3626.mdc-card__media { 3627 position: relative; 3628 box-sizing: border-box; 3629 background-repeat: no-repeat; 3630 background-position: center; 3631 background-size: cover; 3632} 3633.mdc-card__media::before { 3634 display: block; 3635 content: ""; 3636} 3637.mdc-card__media:first-child { 3638 border-top-left-radius: inherit; 3639 border-top-right-radius: inherit; 3640} 3641.mdc-card__media:last-child { 3642 border-bottom-left-radius: inherit; 3643 border-bottom-right-radius: inherit; 3644} 3645 3646.mat-mdc-card-actions { 3647 display: flex; 3648 flex-direction: row; 3649 align-items: center; 3650 box-sizing: border-box; 3651 min-height: 52px; 3652 padding: 8px; 3653} 3654 3655.mat-mdc-card-title { 3656 font-family: var(--mat-card-title-text-font, var(--mat-sys-title-large-font)); 3657 line-height: var(--mat-card-title-text-line-height, var(--mat-sys-title-large-line-height)); 3658 font-size: var(--mat-card-title-text-size, var(--mat-sys-title-large-size)); 3659 letter-spacing: var(--mat-card-title-text-tracking, var(--mat-sys-title-large-tracking)); 3660 font-weight: var(--mat-card-title-text-weight, var(--mat-sys-title-large-weight)); 3661} 3662 3663.mat-mdc-card-subtitle { 3664 color: var(--mat-card-subtitle-text-color, var(--mat-sys-on-surface)); 3665 font-family: var(--mat-card-subtitle-text-font, var(--mat-sys-title-medium-font)); 3666 line-height: var(--mat-card-subtitle-text-line-height, var(--mat-sys-title-medium-line-height)); 3667 font-size: var(--mat-card-subtitle-text-size, var(--mat-sys-title-medium-size)); 3668 letter-spacing: var(--mat-card-subtitle-text-tracking, var(--mat-sys-title-medium-tracking)); 3669 font-weight: var(--mat-card-subtitle-text-weight, var(--mat-sys-title-medium-weight)); 3670} 3671 3672.mat-mdc-card-title, 3673.mat-mdc-card-subtitle { 3674 display: block; 3675 margin: 0; 3676} 3677.mat-mdc-card-avatar ~ .mat-mdc-card-header-text .mat-mdc-card-title, 3678.mat-mdc-card-avatar ~ .mat-mdc-card-header-text .mat-mdc-card-subtitle { 3679 padding: 16px 16px 0; 3680} 3681 3682.mat-mdc-card-header { 3683 display: flex; 3684 padding: 16px 16px 0; 3685} 3686 3687.mat-mdc-card-content { 3688 display: block; 3689 padding: 0 16px; 3690} 3691.mat-mdc-card-content:first-child { 3692 padding-top: 16px; 3693} 3694.mat-mdc-card-content:last-child { 3695 padding-bottom: 16px; 3696} 3697 3698.mat-mdc-card-title-group { 3699 display: flex; 3700 justify-content: space-between; 3701 width: 100%; 3702} 3703 3704.mat-mdc-card-avatar { 3705 height: 40px; 3706 width: 40px; 3707 border-radius: 50%; 3708 flex-shrink: 0; 3709 margin-bottom: 16px; 3710 object-fit: cover; 3711} 3712.mat-mdc-card-avatar ~ .mat-mdc-card-header-text .mat-mdc-card-subtitle, 3713.mat-mdc-card-avatar ~ .mat-mdc-card-header-text .mat-mdc-card-title { 3714 line-height: normal; 3715} 3716 3717.mat-mdc-card-sm-image { 3718 width:
371880px; 3719 height: 80px; 3720} 3721 3722.mat-mdc-card-md-image { 3723 width: 112px; 3724 height: 112px; 3725} 3726 3727.mat-mdc-card-lg-image { 3728 width: 152px; 3729 height: 152px; 3730} 3731 3732.mat-mdc-card-xl-image { 3733 width: 240px; 3734 height: 240px; 3735} 3736 3737.mat-mdc-card-subtitle ~ .mat-mdc-card-title, 3738.mat-mdc-card-title ~ .mat-mdc-card-subtitle, 3739.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title, 3740.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle, 3741.mat-mdc-card-title-group .mat-mdc-card-title, 3742.mat-mdc-card-title-group .mat-mdc-card-subtitle { 3743 padding-top: 0; 3744} 3745 3746.mat-mdc-card-content > :last-child:not(.mat-mdc-card-footer) { 3747 margin-bottom: 0; 3748} 3749 3750.mat-mdc-card-actions-align-end { 3751 justify-content: flex-end; 3752} 3753`],encapsulation:2,changeDetection:0})}return t})(),Yl=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]})}return t})();var rs=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]})}return t})();var W0=(()=>{class t{align="start";static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(n,r){n&2&&ie("mat-mdc-card-actions-align-end",r.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"]})}return t})(),q0=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:Hae,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(n,r){n&1&&(We(Uae),ae(0),Tt(1,"div",0),ae(2,1),Ut(),ae(3,2))},encapsulation:2,changeDetection:0})}return t})();var Lh=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({imports:[gt]})}return t})();var G0=(()=>{class t{constructor(){this.testId=C(void 0),this._testId=Z(()=>this.testId()?Te("page-not-found",this.testId()):"page-not-found-card")}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-page-not-found"]],hostAttrs:[1,"router-flex"],inputs:{testId:[1,"testId"]},decls:11,vars:1,consts:[["appearance","raised"],["role","heading","aria-level","3","data-testid","page-not-found-title"],["data-testid","page-not-found-description",1,"p1"],[1,"flex-spacer"],["matButton","outlined","color","primary","matTooltip","Return Home","queryParamsHandling","merge","routerLink","/","data-testid","page-not-found-home-button"]],template:function(n,r){n&1&&(g(0,"mat-card",0)(1,"mat-card-header")(2,"mat-card-title",1),I(3,"404: Page Not Found"),_()(),g(4,"mat-card-content")(5,"p",2),I(6," The requested page does not exist or has moved. "),_()(),g(7,"mat-card-actions"),O(8,"div",3),g(9,"button",4),I(10," Return Home "),_()()()),n&2&&N("data-testid",r._testId())},dependencies:[bt,zt,Lh,is,W0,rs,q0,Yl,zr,xd,jn,rn],styles:[`ol[_ngcontent-%COMP%]{list-style-type:decimal}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-roman}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-roman}ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:square}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}[_nghost-%COMP%]{padding:24px;display:flex;flex-direction:row;justify-content:center}@media(max-width:599px){[_nghost-%COMP%]{padding:24px 16px}}mat-card[_ngcontent-%COMP%]{max-width:674px} 3754/*# sourceMappingURL=aamc-page-not-found.component-47GJRHAL.css.map */`]})}}return t})();var Y0=(()=>{class t{constructor(){this.testId=C(void 0),this._testId=Z(()=>this.testId()?Te("unauthorized",this.testId()):"unauthorized-card")}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-unauthorized"]],hostAttrs:[1,"router-flex"],inputs:{testId:[1,"testId"]},decls:20,vars:1,consts:[["appearance","raised"],["data-testid","unauthorized-title"],["data-testid","unauthorized-description-roles"],["data-testid","unauthorized-description-account"],["data-testid","unauthorized-description-contact"],["href","https://students-residents.aamc.org/contact-aamc"],["href","https://auth.aamc.org/account-help"],[1,"flex-spacer"],["matButton","outlined","color","primary","matTooltip","Return Home","queryParamsHandling","merge","routerLink","/","data-testid","unauthorized-home-button"]],template:function(n,r){n&1&&(g(0,"mat-card",0)(1,"mat-card-title",1),I(2,"Unauthorized"),_(),g(3,"mat-card-content")(4,"p",2),I(5," The content you are trying to access is only available to users with specific roles and permissions. "),_(),g(6,"p",3),I(7," If you have already signed in and see this message, then it's possible that your AAMC account does not have the privileges needed to access this content. "),_(),g(8,"p",4),I(9," Please contact the appropriate "),g(10,"a",5),I(11,"AAMC Services team"),_(),I(12," or "),g(13,"a",6),I(14,"contact us"),_(
3754),I(15," if you are unsure which AAMC team can help you. "),_()(),g(16,"mat-card-actions"),O(17,"div",7),g(18,"button",8),I(19," Return Home "),_()()()),n&2&&N("data-testid",r._testId())},dependencies:[bt,zt,Lh,is,W0,rs,Yl,zr,xd,jn,rn],styles:[`ol[_ngcontent-%COMP%]{list-style-type:decimal}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-roman}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-roman}ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:square}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}[_nghost-%COMP%]{padding:24px;display:flex;flex-direction:row;justify-content:center}@media(max-width:599px){[_nghost-%COMP%]{padding:24px 16px}}mat-card[_ngcontent-%COMP%]{max-width:674px} 3755/*# sourceMappingURL=aamc-unauthorized.component-4LJFVAXN.css.map */`]})}}return t})();var os=(function(t){return t.mfa="MFA",t.default="DEFAULT",t})(os||{}),FU=[{question:"What if the system will not allow me to reset my password?",answer:`<p> 3756 If you clicked Forgot Password and were unable to successfully enter 3757 correct security question answers, you can have our system email you a 3758 link to reset your password. That email can only be sent to the 3759 primary email address we have for you (often the email address you 3760 used at account creation).
3761 </p> 3762 <p> 3763 If you cannot access that email address our Account Help team can 3764 reset your password. Select your role and the service you are trying 3765 to access below to proceed. 3766 </p>`,type:os.default},{question:"How do I unlock my account?",answer:`<p> 3767 You can unlock your account by resetting your password. Click Forgot 3768 Password on the <a 3769 href="https://auth.aamc.org/account/#/login" 3770 >Sign In page</a> to begin the process. 3771 </p> 3772 <p> 3773 If you are unable to reset your password on your own our Account Help 3774 team can reset your password. Select your role and the service you are 3775 trying to access below to proceed. 3776 </p>`,type:os.default},{question:"My temporary password is not working.",answer:`<p> 3777 Passwords are case sensitive. Please be sure you are entering the 3778 temporary password exactly as it appears. 3779 </p> 3780 <p> 3781 If you copy and paste the password an extra space may get included. 3782 Try manually typing the temporary password instead of pasting. If you 3783 still experience difficulties, try using a different browser. 3784 </p> 3785 <p> 3786 If the error persists our Account Help team can assist you. Select 3787 your role and the service you are trying to access below to proceed. 3788 </p>`,type:os.default},{question:"What should I do if I encounter issues while setting up or logging in to my account with two-factor authentication (2FA)?",answer:`<p>If you encounter issues while setting up or logging in to your account with two-factor authentication (2FA) , you can find helpful solutions on our frequently asked questions <a href='https://auth.aamc.org/account-help/#/2FA-help' rel='noopener' target='_blank'>2FA FAQ</a> page.</p> 3789 <p>If the issues persist, our Account Help team will be able to assist you. Select your role and the service you are trying to access below to proceed.</p>`,type:os.mfa},{question:"What should I do if I have multiple accounts?",answer:`<p> 3790 AAMC requires each user to have only one account. Having more than one 3791 account might prevent you from accessing certain applications or 3792 linking your prior activity to current activity. To resolve this, we 3793 will consolidate your accounts and then provide you with your active 3794 AAMC account information. 3795 </p> 3796 <p> 3797 If you are able to sign in to one of your accounts, log in, click your 3798 name in the top right corner of the screen and select My Account. From 3799 there select Account Security and follow the steps to report a 3800 duplicate account. 3801 </p> 3802 <p> 3803 Alternatively, select the service you are trying to use below and 3804 submit the Account Help form. Include as much information as possible, 3805 including: 3806 </p> 3807 <ul> 3808 <li>All AAMC ID numbers</li> 3809 <li>Email addresses associated with the accounts</li> 3810 <li>Date of birth (MM/DD)</li> 3811 <li>Usernames for all accounts</li> 3812 </ul>`,type:os.default},{question:"What should I do if someone sent me an access code that has now expired?",answer:`<p> 3813 <strong 3814 ><i 3815 >If you received an access code from someone other than the AAMC 3816 (e.g. a test prep company or advisor), please contact the issuer 3817 of the code and request that a new access code be issued. The AAMC 3818 cannot assist you with access codes distributed by others.</i 3819 ></strong 3820 > 3821 </p> 3822 <p> 3823 Some access codes are the result of a purchase made on your behalf 3824 (e.g. by a parent or colleague). If your AAMC issued access code has 3825 expired, 3826 <a 3827 href="https://auth.aamc.org/account/#/login?gotoUrl=https:%2F%2Fwww.aamc.org%2F&allowInternal=false" 3828 >please create an AAMC account</a 3829 > 3830 (if you have not done so already) and then contact us using the form 3831 below. Include the following information in the message: 3832 </p> 3833 <ul> 3834 <li>Purchaser's name</li> 3835 <li>Purchaser's email</li> 3836 <li>Product(s) you are unable to access</li> 3837 </ul>`,type:os.default},{question:"How do I sign in to Convey to submit a disclosure?",answer:`<p> 3838 Convey is a disclosure collection service offered by the AAMC. You will need to have an AAMC account in order to proceed with submitting your disclosure. If you have used other AAMC systems, you may already have an account. Existing AAMC account holders can recover a username or reset a password on the <a 3839 href="https://auth.aamc.org/account/#/login" 3840 >Sign In page</a 3841 >. If you do not yet have an AAMC account, return to the Sign In page to create a new account. If you need assistance with Convey, please <a href="https://www.aamc.org/contact-convey-support">send a message</a> or call us at 202-909-2001. 3842 </p>`,type:os.default}];function $ae(){return window}
3842var LU=(()=>{class t{get nativeWindow(){return $ae()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Q0=(()=>{class t{constructor(){this._windowRef=d(LU),this.window=this._windowRef.nativeWindow}pingHome(e){e&&this.window.dataLayer.push(e)}logFAQAction(e,n,r){let o={event:"faqTracker",faqType:e,faqId:n,actionType:r};this.pingHome(o)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Wae(t,i){if(t&1){let e=le();g(0,"mat-expansion-panel",5),P("afterCollapse",function(){B(e);let r=v().$implicit,o=v();return U(o.reset(r.id,"CLOSE"))})("afterExpand",function(){B(e);let r=v().$implicit,o=v();return U(o.reset(r.id,"OPEN"))}),g(1,"mat-expansion-panel-header")(2,"mat-panel-title"),I(3),_()(),O(4,"div",6),_()}if(t&2){let e=v().$implicit;f(3),pe(" ",e.question," "),f(),w("innerHtml",e.answer,Mi)}}function qae(t,i){if(t&1&&E(0,Wae,5,2,"mat-expansion-panel",4),t&2){let e=i.$implicit,n=v();S(e.type===n.faqTypes.default||e.type===n.faqTypes.mfa?0:-1)}}var VU=(()=>{class t{constructor(){this.dataLayerService=d(Q0),this.dataSets=FU,this.faqTypes=os,this.isExpanded=!1}ngOnInit(){this.transformDataset()}transformDataset(){this.dataSets=this.dataSets.map((e,n)=>Y(x({},e),{id:"faq"+(n+1),isOpen:!1}))}reset(e,n){let r=this.dataSets.find(o=>o.id===e);r&&e&&(this.dataLayerService.logFAQAction("DEFAULT",e,n),r.isOpen=n==="OPEN"),this.isExpanded=this.dataSets.every(o=>o.isOpen)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["act-help-faq-section-container"]],decls:9,vars:1,consts:[["panel","matAccordion"],[1,"flex","flex-row","justify-start","items-start","gap-5","mb-2"],["color","primary","aria-label","Expand All","matButton","","data-testid","expand-all",3,"click"],["multi","true"],[1,"flat-basic"],[1,"flat-basic",3,"afterCollapse","afterExpand"],[1,"mt-[10px]",3,"innerHtml"]],template:function(n,r){if(n&1){let o=le();g(0,"p"),I(1,` Many AAMC Services require a username and password in order to access content. If you need help registering for an AAMC account or need assistance with an existing account, please review the Frequently Asked Questions below. 3843`),_(),g(2,"div",1)(3,"button",2),P("click",function(){B(o);let s=Ie(6);return r.isExpanded?s.closeAll():s.openAll(),U(r.isExpanded=!r.isExpanded)}),I(4),_()(),g(5,"mat-accordion",3,0),tt(7,qae,1,1,null,null,Ft),_()}n&2&&(f(4),pe(" ",r.isExpanded?"COLLAPSE ALL":"EXPAND ALL"," "),f(3),nt(r.dataSets))},dependencies:[Td,z0,rg,og,H0,bt,zt],encapsulation:2})}}return t})();var jU=new RegExp(/^(?=.{1,100}$)(?=.{1,63}@)[-'_+0-9A-Za-z]+(\.[-'_+0-9A-Za-z]+)*@([A-Za-z0-9]\.|([A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9]\.)))+([A-Za-z0-9]{2,61})$/),Gae=new RegExp("^((?![<>=;|{}])[ -\uFFFF])*$"),Yae=new RegExp(/^[a-zA-Z@\-_0-9\.]+$/),Qae="@aamc.org",Zae=new RegExp(/^[a-zA-Z0-9!@#$%^&*()_\~\-\`\\/\"\'+|\[\]}{:;'?\/>.<,=]+$/i),BU=new RegExp(/^\d{8}$/),Kae=new RegExp(/^\d{4}$/),Xae=new RegExp(/^[A-Za-z0-9-]+$/),Jae=new RegExp(/^[a-zA-Z0-9-]+$/),ese=new RegExp(/^[A-Za-z0-9-]+$/),tse=new RegExp(/^[0-9]+(\.[0-9]{0,2})?$/),nse=new RegExp(/^[A-Za-z0-9-]+$/),ise=new RegExp(/^[A-Za-z0-9-]+$/);function rse(t){let i=t.value;return i==null?{required:!0}:typeof i=="string"&&i.trim()===""?{required:!0}:Array.isArray(i)&&i.length===0?{required:!0}:null}var Ql=class{static required(i){return rse(i)}static emailAddress(i=!1,e=","){return n=>{let r=n.value,o=[];return r===null||r.length===0?null:((i?r.split(e):[r]).forEach(s=>{jU.test(s.trim())||o.push(s)}),o.length>0?{emailAddress:{invalidValues:o}}:null)}}static aamcName(){return i=>{let e=i.value;return e===null||e.length===0||new RegExp(/^[a-zA-Z\u00E0-\u00F6\u00F8-\u00FC\'\-\. ]*$/).test(e)?null:{name:!0}}}static defaultRestrictedCharacterSet(){return i=>{let e=i.value;return!e||e===null||e.length===0||Gae.test(e)?null:{restrictedCharacters:!0}}}static usernameFormat(){return i=>{let e=i.value;return e===null||e.length===0?null:!Yae.test(e)?{usernameFormat:!0}:null}}static usernameInternal(){return i=>{let e=i.value;return e===null||e.length===0?null:e&&e.endsWith(Qae)?{internal:!0}:null}}static passwordFormat(){return i=>{let e=i.value;return e===null||e.length===0?null:!Zae.test(e)?{passwordFormat:!0}:null}}static validateAamcId(){return i=>i.value?BU.test(i.value)?null:{validateAamcId:{value:i.value}}:null}static checkboxRequired(){return i=>i?.value===!0?null:{required:!0}}static checkboxSetAtLeastOneRequiredValidator(...i){return e=>{let n=!0;
3843return i.forEach(r=>{e.get(r)?.value===!0&&(n=!1)}),n?{checkboxSetRequired:!0}:null}}static numeric(i=!0,e=!0){return n=>{let r=n.value;return r==null||r===""?null:/^-?\d+$/.test(r)?!i&&parseFloat(r)>0?{notAllowPositive:!0}:!e&&parseFloat(r)<0?{notAllowNegative:!0}:null:{numeric:!0}}}static decimal(i,e=!0,n=!0){return r=>{let o=r.value;return o==null||o===""?null:/^-?\d+(\.\d+)?$/.test(o)?(o.split(".")[1]?.length||0)>i?{maxDecimalPoints:!0}:!e&&parseFloat(o)>0?{notAllowPositive:!0}:!n&&parseFloat(o)<0?{notAllowNegative:!0}:null:{decimal:!0}}}static alphanumericWithExceptions(i="/"){return e=>{let n=e.value;return n==null||n===""||new RegExp(`^[A-Za-z0-9${i}]+$`).test(n)?null:{alphanumericWithExceptions:!0}}}};var Ys=class extends Error{},$I=class extends Ys{constructor(i){super(`Invalid DateTime: ${i.toMessage()}`)}},WI=class extends Ys{constructor(i){super(`Invalid Interval: ${i.toMessage()}`)}},qI=class extends Ys{constructor(i){super(`Invalid Duration: ${i.toMessage()}`)}},Xl=class extends Ys{},iC=class extends Ys{constructor(i){super(`Invalid unit ${i}`)}},hi=class extends Ys{},as=class extends Ys{constructor(){super("Zone is an abstract class")}},me="numeric",fa="short",qr="long",rC={year:me,month:me,day:me},_H={year:me,month:fa,day:me},ose={year:me,month:fa,day:me,weekday:fa},vH={year:me,month:qr,day:me},yH={year:me,month:qr,day:me,weekday:qr},bH={hour:me,minute:me},CH={hour:me,minute:me,second:me},wH={hour:me,minute:me,second:me,timeZoneName:fa},xH={hour:me,minute:me,second:me,timeZoneName:qr},DH={hour:me,minute:me,hourCycle:"h23"},MH={hour:me,minute:me,second:me,hourCycle:"h23"},EH={hour:me,minute:me,second:me,hourCycle:"h23",timeZoneName:fa},SH={hour:me,minute:me,second:me,hourCycle:"h23",timeZoneName:qr},TH={year:me,month:me,day:me,hour:me,minute:me},IH={year:me,month:me,day:me,hour:me,minute:me,second:me},AH={year:me,month:fa,day:me,hour:me,minute:me},kH={year:me,month:fa,day:me,hour:me,minute:me,second:me},ase={year:me,month:fa,day:me,weekday:fa,hour:me,minute:me},OH={year:me,month:qr,day:me,hour:me,minute:me,timeZoneName:fa},NH={year:me,month:qr,day:me,hour:me,minute:me,second:me,timeZoneName:fa},RH={year:me,month:qr,day:me,weekday:qr,hour:me,minute:me,timeZoneName:qr},PH={year:me,month:qr,day:me,weekday:qr,hour:me,minute:me,second:me,timeZoneName:qr},Od=class{get type(){throw new as}get name(){throw new as}get ianaName(){return this.name}get isUniversal(){throw new as}offsetName(i,e){throw new as}formatOffset(i,e){throw new as}offset(i){throw new as}equals(i){throw new as}get isValid(){throw new as}},PI=null,oC=class t extends Od{static get instance(){return PI===null&&(PI=new t),PI}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(i,{format:e,locale:n}){return qH(i,e,n)}formatOffset(i,e){return dg(this.offset(i),e)}offset(i){return-new Date(i).getTimezoneOffset()}equals(i){return i.type==="system"}get isValid(){return!0}},GI=new Map;function sse(t){let i=GI.get(t);return i===void 0&&(i=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),GI.set(t,i)),i}var lse={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function cse(t,i){let e=t.format(i).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(e),[,r,o,a,s,l,c,u]=n;return[a,r,o,s,l,c,u]}function dse(t,i){let e=t.formatToParts(i),n=[];for(let r=0;r<e.length;r++){let{type:o,value:a}=e[r],s=lse[o];o==="era"?n[s]=a:et(s)||(n[s]=parseInt(a,10))}return n}var FI=new Map,ec=class t extends Od{static create(i){let e=FI.get(i);return e===void 0&&FI.set(i,e=new t(i)),e}static resetCache(){FI.clear(),GI.clear()}static isValidSpecifier(i){return this.isValidZone(i)}static isValidZone(i){if(!i)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:i}).format(),!0}catch(e){return!1}}constructor(i){super(),this.zoneName=i,this.valid=t.isValidZone(i)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(i,{format:e,locale:n}){return qH(i,e,n,this.name)}formatOffset(i,e){return dg(this.offset(i),e)}offset(i){if(!this.valid)return NaN;let e=new Date(i);if(isNaN(e))return NaN;let n=sse(this.name),[r,o,a,s,l,c,u]=n.formatToParts?dse(n,e):cse(n,e);s==="BC"&&(r=-Math.abs(r)+1);let m=uC({year:r,month:o,day:a,hour:l===24?0:l,minute:c,second:u,millisecond:0}),p=+e,b=p%1e3;return p-=b>=0?b:1e3+b,(m-p)/(60*1e3)}equals(i){return i.type==="iana"&&i.name===this.name}get isValid(){return this.valid}},UU={};function use(t,i={}){let e=JSON.stringify([t,i]),n=UU[e];return n||(n=new Intl.ListFormat(t,i),UU[e]=n),n}var YI=new Map;function QI(t,i={}){let e=JSON.stringify([t,i]),n=YI.get(e);return n===void 0&&(n=new Intl.DateTimeFormat(t,i),YI.set(e,n)),n}var ZI=new Map;function hse(t,i={}){let e=JSON.stringify([t,i]),n=ZI.get(e);return n===void 0&&(n=new Intl.NumberFormat(t,i),ZI.set(e,n)),n}var KI=new Map;function fse(t,i={}){let a=i,{base:e}=a,n=Ld(a,["base"]),r=JSON.stringify([t,n]),o=KI.get(r);return o===void 0&&(o=new Intl.RelativeTimeFormat(t,i),KI.set(r,o)),o}var sg=null;function mse(){return sg||(sg=new Intl.DateTimeFormat().resolvedOptions().locale,sg)}var XI=new Map;function FH(t){let i=XI.get(t);return i===void 0&&(i=new Intl.DateTimeFormat(t).resolvedOptions(),XI.set(t,i)),i}var JI=new Map;function pse(t){let i=JI.get(t);if(!i){let e=new Intl.Locale(t);i="getWeekInfo"in e?e.getWeekInfo():e.weekInfo,"minimalDays"in i||(i=x(x({},LH),i)),JI.set(t,i)}return i}function gse(t){let i=t.indexOf("-x-");
3843i!==-1&&(t=t.substring(0,i));let e=t.indexOf("-u-");if(e===-1)return[t];{let n,r;try{n=QI(t).resolvedOptions(),r=t}catch(s){let l=t.substring(0,e);n=QI(l).resolvedOptions(),r=l}let{numberingSystem:o,calendar:a}=n;return[r,o,a]}}function _se(t,i,e){return(e||i)&&(t.includes("-u-")||(t+="-u"),e&&(t+=`-ca-${e}`),i&&(t+=`-nu-${i}`)),t}function vse(t){let i=[];for(let e=1;e<=12;e++){let n=_t.utc(2009,e,1);i.push(t(n))}return i}function yse(t){let i=[];for(let e=1;e<=7;e++){let n=_t.utc(2016,11,13+e);i.push(t(n))}return i}function Z0(t,i,e,n){let r=t.listingMode();return r==="error"?null:r==="en"?e(i):n(i)}function bse(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||FH(t.locale).numberingSystem==="latn"}var eA=class{constructor(i,e,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;let s=n,{padTo:r,floor:o}=s,a=Ld(s,["padTo","floor"]);if(!e||Object.keys(a).length>0){let l=x({useGrouping:!1},n);n.padTo>0&&(l.minimumIntegerDigits=n.padTo),this.inf=hse(i,l)}}format(i){if(this.inf){let e=this.floor?Math.floor(i):i;return this.inf.format(e)}else{let e=this.floor?Math.floor(i):hA(i,3);return Wn(e,this.padTo)}}},tA=class{constructor(i,e,n){this.opts=n,this.originalZone=void 0;let r;if(this.opts.timeZone)this.dt=i;else if(i.zone.type==="fixed"){let a=-1*(i.offset/60),s=a>=0?`Etc/GMT+${a}`:`Etc/GMT${a}`;i.offset!==0&&ec.create(s).valid?(r=s,this.dt=i):(r="UTC",this.dt=i.offset===0?i:i.setZone("UTC").plus({minutes:i.offset}),this.originalZone=i.zone)}else i.zone.type==="system"?this.dt=i:i.zone.type==="iana"?(this.dt=i,r=i.zone.name):(r="UTC",this.dt=i.setZone("UTC").plus({minutes:i.offset}),this.originalZone=i.zone);let o=x({},this.opts);o.timeZone=o.timeZone||r,this.dtf=QI(e,o)}format(){return this.originalZone?this.formatToParts().map(({value:i})=>i).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){let i=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?i.map(e=>{if(e.type==="timeZoneName"){let n=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return Y(x({},e),{value:n})}else return e}):i}resolvedOptions(){return this.dtf.resolvedOptions()}},nA=class{constructor(i,e,n){this.opts=x({style:"long"},n),!e&&$H()&&(this.rtf=fse(i,n))}format(i,e){return this.rtf?this.rtf.format(i,e):Use(e,i,this.opts.numeric,this.opts.style!=="long")}formatToParts(i,e){return this.rtf?this.rtf.formatToParts(i,e):[]}},LH={firstDay:1,minimalDays:4,weekend:[6,7]},hn=class t{static fromOpts(i){return t.create(i.locale,i.numberingSystem,i.outputCalendar,i.weekSettings,i.defaultToEN)}static create(i,e,n,r,o=!1){let a=i||Mn.defaultLocale,s=a||(o?"en-US":mse()),l=e||Mn.defaultNumberingSystem,c=n||Mn.defaultOutputCalendar,u=oA(r)||Mn.defaultWeekSettings;return new t(s,l,c,u,a)}static resetCache(){sg=null,YI.clear(),ZI.clear(),KI.clear(),XI.clear(),JI.clear()}static fromObject({locale:i,numberingSystem:e,outputCalendar:n,weekSettings:r}={}){return t.create(i,e,n,r)}constructor(i,e,n,r,o){let[a,s,l]=gse(i);this.locale=a,this.numberingSystem=e||s||null,this.outputCalendar=n||l||null,this.weekSettings=r,this.intl=_se(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=o,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=bse(this)),this.fastNumbersCached}listingMode(){let i=this.isEnglish(),e=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return i&&e?"en":"intl"}clone(i){return!i||Object.getOwnPropertyNames(i).length===0?this:t.create(i.locale||this.specifiedLocale,i.numberingSystem||this.numberingSystem,i.outputCalendar||this.outputCalendar,oA(i.weekSettings)||this.weekSettings,i.defaultToEN||!1)}redefaultToEN(i={}){return this.clone(Y(x({},i),{defaultToEN:!0}))}redefaultToSystem(i={}){return this.clone(Y(x({},i),{defaultToEN:!1}))}
vendor: 5,049 bytes, line 3843
3843months(i,e=!1){return Z0(this,i,QH,()=>{let n=this.intl==="ja"||this.intl.startsWith("ja-");e&=!n;let r=e?{month:i,day:"numeric"}:{month:i},o=e?"format":"standalone";if(!this.monthsCache[o][i]){let a=n?s=>this.dtFormatter(s,r).format():s=>this.extract(s,r,"month");this.monthsCache[o][i]=vse(a)}return this.monthsCache[o][i]})}weekdays(i,e=!1){return Z0(this,i,XH,()=>{let n=e?{weekday:i,year:"numeric",month:"long",day:"numeric"}:{weekday:i},r=e?"format":"standalone";return this.weekdaysCache[r][i]||(this.weekdaysCache[r][i]=yse(o=>this.extract(o,n,"weekday"))),this.weekdaysCache[r][i]})}meridiems(){return Z0(this,void 0,()=>JH,()=>{if(!this.meridiemCache){let i={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[_t.utc(2016,11,13,9),_t.utc(2016,11,13,19)].map(e=>this.extract(e,i,"dayperiod"))}return this.meridiemCache})}eras(i){return Z0(this,i,e3,()=>{let e={era:i};return this.eraCache[i]||(this.eraCache[i]=[_t.utc(-40,1,1),_t.utc(2017,1,1)].map(n=>this.extract(n,e,"era"))),this.eraCache[i]})}extract(i,e,n){let r=this.dtFormatter(i,e),o=r.formatToParts(),a=o.find(s=>s.type.toLowerCase()===n);return a?a.value:null}numberFormatter(i={}){return new eA(this.intl,i.forceSimple||this.fastNumbers,i)}dtFormatter(i,e={}){return new tA(i,this.intl,e)}relFormatter(i={}){return new nA(this.intl,this.isEnglish(),i)}listFormatter(i={}){return use(this.intl,i)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||FH(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:WH()?pse(this.locale):LH}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(i){return this.locale===i.locale&&this.numberingSystem===i.numberingSystem&&this.outputCalendar===i.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}},LI=null,Eo=class t extends Od{static get utcInstance(){return LI===null&&(LI=new t(0)),LI}static instance(i){return i===0?t.utcInstance:new t(i)}static parseSpecifier(i){if(i){let e=i.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new t(hC(e[1],e[2]))}return null}constructor(i){super(),this.fixed=i}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${dg(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${dg(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(i,e){return dg(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(i){return i.type==="fixed"&&i.fixed===this.fixed}get isValid(){return!0}},iA=class extends Od{constructor(i){super(),this.zoneName=i}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}};function Kl(t,i){if(et(t)||t===null)return i;if(t instanceof Od)return t;if(Ese(t)){let e=t.toLowerCase();return e==="default"?i:e==="local"||e==="system"?oC.instance:e==="utc"||e==="gmt"?Eo.utcInstance:Eo.parseSpecifier(e)||ec.create(t)}else return Jl(t)?Eo.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new iA(t)}var lA={arab:"[\u0660-\u0669]",arabext:"[\u06F0-\u06F9]",bali:"[\u1B50-\u1B59]",beng:"[\u09E6-\u09EF]",deva:"[\u0966-\u096F]",fullwide:"[\uFF10-\uFF19]",gujr:"[\u0AE6-\u0AEF]",hanidec:"[\u3007|\u4E00|\u4E8C|\u4E09|\u56DB|\u4E94|\u516D|\u4E03|\u516B|\u4E5D]",khmr:"[\u17E0-\u17E9]",knda:"[\u0CE6-\u0CEF]",laoo:"[\u0ED0-\u0ED9]",limb:"[\u1946-\u194F]",mlym:"[\u0D66-\u0D6F]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0B66-\u0B6F]",tamldec:"[\u0BE6-\u0BEF]",telu:"[\u0C66-\u0C6F]",thai:"[\u0E50-\u0E59]",tibt:"[\u0F20-\u0F29]",latn:"\\d"},HU={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Cse=lA.hanidec.replace(/[\[|\]]/g,"").split("");function wse(t){let i=parseInt(t,10);if(isNaN(i)){i="";for(let e=0;e<t.length;e++){let n=t.charCodeAt(e);if(t[e].search(lA.hanidec)!==-1)i+=Cse.indexOf(t[e]);else for(let r in HU){let[o,a]=HU[r];n>=o&&n<=a&&(i+=n-o)}}return parseInt(i,10)}else return i}var rA=new Map;function xse(){rA.clear()}function ua({numberingSystem:t},i=""){let e=t||"latn",n=rA.get(e);n===void 0&&(n=new Map,rA.set(e,n));let r=n.get(i);return r===void 0&&(r=new RegExp(`${lA[e]}${i}`),n.set(i,r)),r}var zU=()=>Date.now(),$U="system",WU=null,qU=null,GU=null,YU=60,QU,ZU=null,Mn=class{static get now(){return zU}static set now(i){zU=i}static set defaultZone(i){$U=i}static get defaultZone(){return Kl($U,oC.instance)}static get defaultLocale(){return WU}static set defaultLocale(i){WU=i}static get defaultNumberingSystem(){return qU}static set defaultNumberingSystem(i){qU=i}
3843static get defaultOutputCalendar(){return GU}static set defaultOutputCalendar(i){GU=i}static get defaultWeekSettings(){return ZU}static set defaultWeekSettings(i){ZU=oA(i)}static get twoDigitCutoffYear(){return YU}static set twoDigitCutoffYear(i){YU=i%100}static get throwOnInvalid(){return QU}static set throwOnInvalid(i){QU=i}static resetCaches(){hn.resetCache(),ec.resetCache(),_t.resetCache(),xse()}},Wr=class{constructor(i,e){this.reason=i,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}},VH=[0,31,59,90,120,151,181,212,243,273,304,334],jH=[0,31,60,91,121,152,182,213,244,274,305,335];function Do(t,i){return new Wr("unit out of range",`you specified ${i} (of type ${typeof i}) as a ${t}, which is invalid`)}function cA(t,i,e){let n=new Date(Date.UTC(t,i-1,e));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);let r=n.getUTCDay();return r===0?7:r}function BH(t,i,e){return e+(hg(t)?jH:VH)[i-1]}function UH(t,i){let e=hg(t)?jH:VH,n=e.findIndex(o=>o<i),r=i-e[n];return{month:n+1,day:r}}function dA(t,i){return(t-i+7)%7+1}function aC(t,i=4,e=1){let{year:n,month:r,day:o}=t,a=BH(n,r,o),s=dA(cA(n,r,o),e),l=Math.floor((a-s+14-i)/7),c;return l<1?(c=n-1,l=ug(c,i,e)):l>ug(n,i,e)?(c=n+1,l=1):c=n,x({weekYear:c,weekNumber:l,weekday:s},fC(t))}function KU(t,i=4,e=1){let{weekYear:n,weekNumber:r,weekday:o}=t,a=dA(cA(n,1,i),e),s=Uh(n),l=r*7+o-a-7+i,c;l<1?(c=n-1,l+=Uh(c)):l>s?(c=n+1,l-=Uh(n)):c=n;let{month:u,day:h}=UH(c,l);return x({year:c,month:u,day:h},fC(t))}function VI(t){let{year:i,month:e,day:n}=t,r=BH(i,e,n);return x({year:i,ordinal:r},fC(t))}function XU(t){let{year:i,ordinal:e}=t,{month:n,day:r}=UH(i,e);return x({year:i,month:n,day:r},fC(t))}function JU(t,i){if(!et(t.localWeekday)||!et(t.localWeekNumber)||!et(t.localWeekYear)){if(!et(t.weekday)||!et(t.weekNumber)||!et(t.weekYear))throw new Xl("Cannot mix locale-based week fields with ISO-based week fields");return et(t.localWeekday)||(t.weekday=t.localWeekday),et(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),et(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:i.getMinDaysInFirstWeek(),startOfWeek:i.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function Dse(t,i=4,e=1){let n=dC(t.weekYear),r=Mo(t.weekNumber,1,ug(t.weekYear,i,e)),o=Mo(t.weekday,1,7);return n?r?o?!1:Do("weekday",t.weekday):Do("week",t.weekNumber):Do("weekYear",t.weekYear)}function Mse(t){let i=dC(t.year),e=Mo(t.ordinal,1,Uh(t.year));return i?e?!1:Do("ordinal",t.ordinal):Do("year",t.year)}function HH(t){let i=dC(t.year),e=Mo(t.month,1,12),n=Mo(t.day,1,sC(t.year,t.month));return i?e?n?!1:Do("day",t.day):Do("month",t.month):Do("year",t.year)}function zH(t){let{hour:i,minute:e,second:n,millisecond:r}=t,o=Mo(i,0,23)||i===24&&e===0&&n===0&&r===0,a=Mo(e,0,59),s=Mo(n,0,59),l=Mo(r,0,999);return o?a?s?l?!1:Do("millisecond",r):Do("second",n):Do("minute",e):Do("hour",i)}function et(t){return typeof t>"u"}function Jl(t){return typeof t=="number"}function dC(t){return typeof t=="number"&&t%1===0}function Ese(t){return typeof t=="string"}function Sse(t){return Object.prototype.toString.call(t)==="[object Date]"}function $H(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function WH(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Tse(t){return Array.isArray(t)?t:[t]}function eH(t,i,e){if(t.length!==0)return t.reduce((n,r)=>{let o=[i(r),r];return n&&e(n[0],o[0])===n[0]?n:o},null)[1]}function Ise(t,i){return i.reduce((e,n)=>(e[n]=t[n],e),{})}function $h(t,i){return Object.prototype.hasOwnProperty.call(t,i)}function oA(t){if(t==null)return null;if(typeof t!="object")throw new hi("Week settings must be an object");if(!Mo(t.firstDay,1,7)||!Mo(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(i=>!Mo(i,1,7)))throw new hi("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Mo(t,i,e){return dC(t)&&t>=i&&t<=e}function Ase(t,i){return t-i*Math.floor(t/i)}function Wn(t,i=2){let e=t<0,n;return e?n="-"+(""+-t).padStart(i,"0"):n=(""+t).padStart(i,"0"),n}function Zl(t){if(!(et(t)||t===null||t===""))return parseInt(t,10)}function Id(t){if(!(et(t)||t===null||t===""))return parseFloat(t)}function uA(t){if(!(et(t)||t===null||t==="")){let i=parseFloat("0."+t)*1e3;return Math.floor(i)}}function hA(t,i,e="round"){let n=10**i;switch(e){case"expand":return t>0?Math.ceil(t*n)/n:Math.floor(t*n)/n;case"trunc":return Math.trunc(t*n)/n;case"round":return Math.round(t*n)/n;case"floor":return Math.floor(t*n)/n;case"ceil":return Math.ceil(t*n)/n;default:throw new RangeError(`Value rounding ${e} is out of range`)}}function hg(t){return t%4===0&&(t%100!==0||t%400===0)}function Uh(t){return hg(t)?366:365}
vendor: 4,214 bytes, line 3843
3843function sC(t,i){let e=Ase(i-1,12)+1,n=t+(i-e)/12;return e===2?hg(n)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][e-1]}function uC(t){let i=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(i=new Date(i),i.setUTCFullYear(t.year,t.month-1,t.day)),+i}function tH(t,i,e){return-dA(cA(t,1,i),e)+i-1}function ug(t,i=4,e=1){let n=tH(t,i,e),r=tH(t+1,i,e);return(Uh(t)-n+r)/7}function aA(t){return t>99?t:t>Mn.twoDigitCutoffYear?1900+t:2e3+t}function qH(t,i,e,n=null){let r=new Date(t),o={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(o.timeZone=n);let a=x({timeZoneName:i},o),s=new Intl.DateTimeFormat(e,a).formatToParts(r).find(l=>l.type.toLowerCase()==="timezonename");return s?s.value:null}function hC(t,i){let e=parseInt(t,10);Number.isNaN(e)&&(e=0);let n=parseInt(i,10)||0,r=e<0||Object.is(e,-0)?-n:n;return e*60+r}function GH(t){let i=Number(t);if(typeof t=="boolean"||t===""||!Number.isFinite(i))throw new hi(`Invalid unit value ${t}`);return i}function lC(t,i){let e={};for(let n in t)if($h(t,n)){let r=t[n];if(r==null)continue;e[i(n)]=GH(r)}return e}function dg(t,i){let e=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),r=t>=0?"+":"-";switch(i){case"short":return`${r}${Wn(e,2)}:${Wn(n,2)}`;case"narrow":return`${r}${e}${n>0?`:${n}`:""}`;case"techie":return`${r}${Wn(e,2)}${Wn(n,2)}`;default:throw new RangeError(`Value format ${i} is out of range for property format`)}}function fC(t){return Ise(t,["hour","minute","second","millisecond"])}var kse=["January","February","March","April","May","June","July","August","September","October","November","December"],YH=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ose=["J","F","M","A","M","J","J","A","S","O","N","D"];function QH(t){switch(t){case"narrow":return[...Ose];case"short":return[...YH];case"long":return[...kse];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var ZH=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],KH=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Nse=["M","T","W","T","F","S","S"];function XH(t){switch(t){case"narrow":return[...Nse];case"short":return[...KH];case"long":return[...ZH];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var JH=["AM","PM"],Rse=["Before Christ","Anno Domini"],Pse=["BC","AD"],Fse=["B","A"];function e3(t){switch(t){case"narrow":return[...Fse];case"short":return[...Pse];case"long":return[...Rse];default:return null}}function Lse(t){return JH[t.hour<12?0:1]}function Vse(t,i){return XH(i)[t.weekday-1]}function jse(t,i){return QH(i)[t.month-1]}function Bse(t,i){return e3(i)[t.year<0?0:1]}function Use(t,i,e="always",n=!1){let r={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},o=["hours","minutes","seconds"].indexOf(t)===-1;if(e==="auto"&&o){let h=t==="days";switch(i){case 1:return h?"tomorrow":`next ${r[t][0]}`;case-1:return h?"yesterday":`last ${r[t][0]}`;case 0:return h?"today":`this ${r[t][0]}`}}let a=Object.is(i,-0)||i<0,s=Math.abs(i),l=s===1,c=r[t],u=n?l?c[1]:c[2]||c[1]:l?r[t][0]:t;return a?`${s} ${u} ago`:`in ${s} ${u}`}function nH(t,i){let e="";for(let n of t)n.literal?e+=n.val:e+=i(n.val);return e}var Hse={D:rC,DD:_H,DDD:vH,DDDD:yH,t:bH,tt:CH,ttt:wH,tttt:xH,T:DH,TT:MH,TTT:EH,TTTT:SH,f:TH,ff:AH,fff:OH,ffff:RH,F:IH,FF:kH,FFF:NH,FFFF:PH},$r=class t{static create(i,e={}){return new t(i,e)}static parseFormat(i){let e=null,n="",r=!1,o=[];for(let a=0;a<i.length;a++){let s=i.charAt(a);s==="'"?((n.length>0||r)&&o.push({literal:r||/^\s+$/.test(n),val:n===""?"'":n}),e=null,n="",r=!r):r||s===e?n+=s:(n.length>0&&o.push({literal:/^\s+$/.test(n),val:n}),n=s,e=s)}return n.length>0&&o.push({literal:r||/^\s+$/.test(n),val:n}),o}static macroTokenToFormatOpts(i){return Hse[i]}constructor(i,e){this.opts=e,this.loc=i,this.systemLoc=null}formatWithSystemDefault(i,e){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem(
3843)),this.systemLoc.dtFormatter(i,x(x({},this.opts),e)).format()}dtFormatter(i,e={}){return this.loc.dtFormatter(i,x(x({},this.opts),e))}formatDateTime(i,e){return this.dtFormatter(i,e).format()}formatDateTimeParts(i,e){return this.dtFormatter(i,e).formatToParts()}formatInterval(i,e){return this.dtFormatter(i.start,e).dtf.formatRange(i.start.toJSDate(),i.end.toJSDate())}resolvedOptions(i,e){return this.dtFormatter(i,e).resolvedOptions()}num(i,e=0,n=void 0){if(this.opts.forceSimple)return Wn(i,e);let r=x({},this.opts);return e>0&&(r.padTo=e),n&&(r.signDisplay=n),this.loc.numberFormatter(r).format(i)}formatDateTimeFromString(i,e){let n=this.loc.listingMode()==="en",r=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",o=(p,b)=>this.loc.extract(i,p,b),a=p=>i.isOffsetFixed&&i.offset===0&&p.allowZ?"Z":i.isValid?i.zone.formatOffset(i.ts,p.format):"",s=()=>n?Lse(i):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(p,b)=>n?jse(i,p):o(b?{month:p}:{month:p,day:"numeric"},"month"),c=(p,b)=>n?Vse(i,p):o(b?{weekday:p}:{weekday:p,month:"long",day:"numeric"},"weekday"),u=p=>{let b=t.macroTokenToFormatOpts(p);return b?this.formatWithSystemDefault(i,b):p},h=p=>n?Bse(i,p):o({era:p},"era"),m=p=>{switch(p){case"S":return this.num(i.millisecond);case"u":case"SSS":return this.num(i.millisecond,3);case"s":return this.num(i.second);case"ss":return this.num(i.second,2);case"uu":return this.num(Math.floor(i.millisecond/10),2);case"uuu":return this.num(Math.floor(i.millisecond/100));case"m":return this.num(i.minute);case"mm":return this.num(i.minute,2);case"h":return this.num(i.hour%12===0?12:i.hour%12);case"hh":return this.num(i.hour%12===0?12:i.hour%12,2);case"H":return this.num(i.hour);case"HH":return this.num(i.hour,2);case"Z":return a({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return a({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return a({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return i.zone.offsetName(i.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return i.zone.offsetName(i.ts,{format:"long",locale:this.loc.locale});case"z":return i.zoneName;case"a":return s();case"d":return r?o({day:"numeric"},"day"):this.num(i.day);case"dd":return r?o({day:"2-digit"},"day"):this.num(i.day,2);case"c":return this.num(i.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return this.num(i.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return r?o({month:"numeric",day:"numeric"},"month"):this.num(i.month);case"LL":return r?o({month:"2-digit",day:"numeric"},"month"):this.num(i.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return r?o({month:"numeric"},"month"):this.num(i.month);case"MM":return r?o({month:"2-digit"},"month"):this.num(i.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return r?o({year:"numeric"},"year"):this.num(i.year);case"yy":return r?o({year:"2-digit"},"year"):this.num(i.year.toString().slice(-2),2);case"yyyy":return r?o({year:"numeric"},"year"):this.num(i.year,4);case"yyyyyy":return r?o({year:"numeric"},"year"):this.num(i.year,6);case"G":return h("short");case"GG":return h("long");case"GGGGG":return h("narrow");case"kk":return this.num(i.weekYear.toString().slice(-2),2);case"kkkk":return this.num(i.weekYear,4);case"W":return this.num(i.weekNumber);case"WW":return this.num(i.weekNumber,2);case"n":return this.num(i.localWeekNumber);case"nn":return this.num(i.localWeekNumber,2);case"ii":return this.num(i.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(i.localWeekYear,4);case"o":return this.num(i.ordinal);case"ooo":return this.num(i.ordinal,3);case"q":return this.num(i.quarter);case"qq":return this.num(i.quarter,2);case"X":return this.num(Math.floor(i.ts/1e3));case"x":return this.num(i.ts);default:return u(p)}};return nH(t.parseFormat(e),m)}formatDurationFromString(i,e){let n=this.opts.signMode==="negativeLargestOnly"?-1:1,r=u=>{switch(u[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";
3843case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},o=(u,h)=>m=>{let p=r(m);if(p){let b=h.isNegativeDuration&&p!==h.largestUnit?n:1,D;return this.opts.signMode==="negativeLargestOnly"&&p!==h.largestUnit?D="never":this.opts.signMode==="all"?D="always":D="auto",this.num(u.get(p)*b,m.length,D)}else return m},a=t.parseFormat(e),s=a.reduce((u,{literal:h,val:m})=>h?u:u.concat(m),[]),l=i.shiftTo(...s.map(r).filter(u=>u)),c={isNegativeDuration:l<0,largestUnit:Object.keys(l.values)[0]};return nH(a,o(l,c))}},t3=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Wh(...t){let i=t.reduce((e,n)=>e+n.source,"");return RegExp(`^${i}$`)}function qh(...t){return i=>t.reduce(([e,n,r],o)=>{let[a,s,l]=o(i,r);return[x(x({},e),a),s||n,l]},[{},null,1]).slice(0,2)}function Gh(t,...i){if(t==null)return[null,null];for(let[e,n]of i){let r=e.exec(t);if(r)return n(r)}return[null,null]}function n3(...t){return(i,e)=>{let n={},r;for(r=0;r<t.length;r++)n[t[r]]=Zl(i[e+r]);return[n,null,e+r]}}var i3=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,zse=`(?:${i3.source}?(?:\\[(${t3.source})\\])?)?`,fA=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,r3=RegExp(`${fA.source}${zse}`),mA=RegExp(`(?:[Tt]${r3.source})?`),$se=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Wse=/(\d{4})-?W(\d\d)(?:-?(\d))?/,qse=/(\d{4})-?(\d{3})/,Gse=n3("weekYear","weekNumber","weekDay"),Yse=n3("year","ordinal"),Qse=/(\d{4})-(\d\d)-(\d\d)/,o3=RegExp(`${fA.source} ?(?:${i3.source}|(${t3.source}))?`),Zse=RegExp(`(?: ${o3.source})?`);function Hh(t,i,e){let n=t[i];return et(n)?e:Zl(n)}function Kse(t,i){return[{year:Hh(t,i),month:Hh(t,i+1,1),day:Hh(t,i+2,1)},null,i+3]}function Yh(t,i){return[{hours:Hh(t,i,0),minutes:Hh(t,i+1,0),seconds:Hh(t,i+2,0),milliseconds:uA(t[i+3])},null,i+4]}function fg(t,i){let e=!t[i]&&!t[i+1],n=hC(t[i+1],t[i+2]),r=e?null:Eo.instance(n);return[{},r,i+3]}function mg(t,i){let e=t[i]?ec.create(t[i]):null;return[{},e,i+1]}var Xse=RegExp(`^T?${fA.source}$`),Jse=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function ele(t){let[i,e,n,r,o,a,s,l,c]=t,u=i[0]==="-",h=l&&l[0]==="-",m=(p,b=!1)=>p!==void 0&&(b||p&&u)?-p:p;return[{years:m(Id(e)),months:m(Id(n)),weeks:m(Id(r)),days:m(Id(o)),hours:m(Id(a)),minutes:m(Id(s)),seconds:m(Id(l),l==="-0"),milliseconds:m(uA(c),h)}]}var tle={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function pA(t,i,e,n,r,o,a){let s={year:i.length===2?aA(Zl(i)):Zl(i),month:YH.indexOf(e)+1,day:Zl(n),hour:Zl(r),minute:Zl(o)};return a&&(s.second=Zl(a)),t&&(s.weekday=t.length>3?ZH.indexOf(t)+1:KH.indexOf(t)+1),s}var nle=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function ile(t){let[,i,e,n,r,o,a,s,l,c,u,h]=t,m=pA(i,r,n,e,o,a,s),p;return l?p=tle[l]:c?p=0:p=hC(u,h),[m,new Eo(p)]}function rle(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}var ole=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,ale=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,sle=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function iH(t){let[,i,e,n,r,o,a,s]=t;return[pA(i,r,n,e,o,a,s),Eo.utcInstance]}function lle(t){let[,i,e,n,r,o,a,s]=t;return[pA(i,s,e,n,r,o,a),Eo.utcInstance]}var cle=Wh($se,mA),dle=Wh(Wse,mA),ule=Wh(qse,mA),hle=Wh(r3),a3=qh(Kse,Yh,fg,mg),fle=qh(Gse,Yh,fg,mg),mle=qh(Yse,Yh,fg,mg),ple=qh(Yh,fg,mg);function gle(t){return Gh(t,[cle,a3],[dle,fle],[ule,mle],[hle,ple])}function _le(t){return Gh(rle(t),[nle,ile])}function vle(t){return Gh(t,[ole,iH],[ale,iH],[sle,lle])}function yle(t){return Gh(t,[Jse,ele])}var ble=qh(Yh);function Cle(t){return Gh(t,[Xse,ble])}var wle=Wh(Qse,Zse),xle=Wh(o3),Dle=qh(Yh,fg,mg);function Mle(t){return Gh(t,[wle,a3],[xle,Dle])}var rH="Invalid Duration",s3={weeks:{days:7,hours:168,minutes:10080,seconds:10080*60,milliseconds:10080*60*1e3},days:{hours:24,minutes:1440,seconds:1440*60,milliseconds:1440*60*1e3},hours:{minutes:60,seconds:3600,milliseconds:3600*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},Ele=x({years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:2184*60,seconds:2184*60*60,milliseconds:2184*60*60*1e3},months:{weeks:4,days:30,hours:720,minutes:720*60,seconds:720*60*60,milliseconds:720*60*60*1e3}},s3),xo=146097/400,Vh=146097/4800,Sle=x({years:{quarters:4,months:12,weeks:xo/7,days:xo,hours:xo*24,minutes:xo*24*60,seconds:xo*24*60*60,milliseconds:xo*24*60*60*1e3},quarters:{months:3,weeks:xo/28,days:xo/4,hours:xo*24/4,minutes:xo*24*60/4,seconds:xo*24*60*60/4,milliseconds:xo*24*60*60*1e3/4},months:{weeks:Vh/7,days:Vh,hours:Vh*24,minutes:Vh*24*60,seconds:Vh*24*60*60,milliseconds:Vh*24*60*60*1e3}},s3),kd=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Tle=kd.slice(0).reverse();function Gs(t,i,e=!1){let n={values:e?i.values:x(x({},t.values),i.values||{}),loc:t.loc.clone(i.loc),conversionAccuracy:i.conversionAccuracy||t.conversionAccuracy,matrix:i.matrix||t.matrix};return new fi(n)}function l3(t,i){let e=i.milliseconds??0;for(let n of Tle.slice(1))i[n]&&(e+=i[n]*t[n].milliseconds);return e}function oH(t,i){let e=l3(t,i)<0?-1:1;kd.reduceRight((n,r)=>{if(et(i[r]))return n;if(n){let o=i[n]*e,a=t[r][n],s=Math.floor(o/a);i[r]+=s*e,i[n]-=s*a*e}return r},null),kd.reduce((n,r)=>{if(et(i[r]))return n;if(n){let o=i[n]%1;i[n]-=o,i[r]+=o*t[n][r]}return r},null)}function aH(t){let i={};for(let[e,n]of Object.entries(t))n!==0&&(i[e]=n);return i}var fi=class t{constructor(i){let e=i.conversionAccuracy==="longterm"||!1,n=e?Sle:Ele;
3843i.matrix&&(n=i.matrix),this.values=i.values,this.loc=i.loc||hn.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=i.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(i,e){return t.fromObject({milliseconds:i},e)}static fromObject(i,e={}){if(i==null||typeof i!="object")throw new hi(`Duration.fromObject: argument expected to be an object, got ${i===null?"null":typeof i}`);return new t({values:lC(i,t.normalizeUnit),loc:hn.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(i){if(Jl(i))return t.fromMillis(i);if(t.isDuration(i))return i;if(typeof i=="object")return t.fromObject(i);throw new hi(`Unknown duration argument ${i} of type ${typeof i}`)}static fromISO(i,e){let[n]=yle(i);return n?t.fromObject(n,e):t.invalid("unparsable",`the input "${i}" can't be parsed as ISO 8601`)}static fromISOTime(i,e){let[n]=Cle(i);return n?t.fromObject(n,e):t.invalid("unparsable",`the input "${i}" can't be parsed as ISO 8601`)}static invalid(i,e=null){if(!i)throw new hi("need to specify a reason the Duration is invalid");let n=i instanceof Wr?i:new Wr(i,e);if(Mn.throwOnInvalid)throw new qI(n);return new t({invalid:n})}static normalizeUnit(i){let e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[i&&i.toLowerCase()];if(!e)throw new iC(i);return e}static isDuration(i){return i&&i.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(i,e={}){let n=Y(x({},e),{floor:e.round!==!1&&e.floor!==!1});return this.isValid?$r.create(this.loc,n).formatDurationFromString(this,i):rH}toHuman(i={}){if(!this.isValid)return rH;let e=i.showZeros!==!1,n=kd.map(r=>{let o=this.values[r];return et(o)||o===0&&!e?null:this.loc.numberFormatter(Y(x({style:"unit",unitDisplay:"long"},i),{unit:r.slice(0,-1)})).format(o)}).filter(r=>r);return this.loc.listFormatter(x({type:"conjunction",style:i.listStyle||"narrow"},i)).format(n)}toObject(){return this.isValid?x({},this.values):{}}toISO(){if(!this.isValid)return null;let i="P";return this.years!==0&&(i+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(i+=this.months+this.quarters*3+"M"),this.weeks!==0&&(i+=this.weeks+"W"),this.days!==0&&(i+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(i+="T"),this.hours!==0&&(i+=this.hours+"H"),this.minutes!==0&&(i+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(i+=hA(this.seconds+this.milliseconds/1e3,3)+"S"),i==="P"&&(i+="T0S"),i}toISOTime(i={}){if(!this.isValid)return null;let e=this.toMillis();return e<0||e>=864e5?null:(i=Y(x({suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended"},i),{includeOffset:!1}),_t.fromMillis(e,{zone:"UTC"}).toISOTime(i))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?l3(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(i){if(!this.isValid)return this;let e=t.fromDurationLike(i),n={};for(let r of kd)($h(e.values,r)||$h(this.values,r))&&(n[r]=e.get(r)+this.get(r));return Gs(this,{values:n},!0)}minus(i){if(!this.isValid)return this;let e=t.fromDurationLike(i);return this.plus(e.negate())}mapUnits(i){if(!this.isValid)return this;let e={};for(let n of Object.keys(this.values))e[n]=GH(i(this.values[n],n));return Gs(this,{values:e},!0)}get(i){return this[t.normalizeUnit(i)]}set(i){if(!this.isValid)return this;let e=x(x({},this.values),lC(i,t.normalizeUnit));return Gs(this,{values:e})}reconfigure({locale:i,numberingSystem:e,conversionAccuracy:n,matrix:r}={}){let a={loc:this.loc.clone({locale:i,numberingSystem:e}),matrix:r,conversionAccuracy:n};return Gs(this,a)}as(i){return this.isValid?this.shiftTo(i).get(i):NaN}normalize(){if(!this.isValid)return this;let i=this.toObject();return oH(this.matrix,i),Gs(this,{values:i},!0)}rescale(){if(!this.isValid)return this;let i=aH(this.normalize().shiftToAll().toObject());return Gs(this,{values:i},!0)}shiftTo(...i){if(!this.isValid)return this;if(i.length===0)return this;i=i.map(a=>
vendor: 10,599 bytes, line 3843
3843t.normalizeUnit(a));let e={},n={},r=this.toObject(),o;for(let a of kd)if(i.indexOf(a)>=0){o=a;let s=0;for(let c in n)s+=this.matrix[c][a]*n[c],n[c]=0;Jl(r[a])&&(s+=r[a]);let l=Math.trunc(s);e[a]=l,n[a]=(s*1e3-l*1e3)/1e3}else Jl(r[a])&&(n[a]=r[a]);for(let a in n)n[a]!==0&&(e[o]+=a===o?n[a]:n[a]/this.matrix[o][a]);return oH(this.matrix,e),Gs(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;let i={};for(let e of Object.keys(this.values))i[e]=this.values[e]===0?0:-this.values[e];return Gs(this,{values:i},!0)}removeZeros(){if(!this.isValid)return this;let i=aH(this.values);return Gs(this,{values:i},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(i){if(!this.isValid||!i.isValid||!this.loc.equals(i.loc))return!1;function e(n,r){return n===void 0||n===0?r===void 0||r===0:n===r}for(let n of kd)if(!e(this.values[n],i.values[n]))return!1;return!0}},jh="Invalid Interval";function Ile(t,i){return!t||!t.isValid?zh.invalid("missing or invalid start"):!i||!i.isValid?zh.invalid("missing or invalid end"):i<t?zh.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${i.toISO()}`):null}var zh=class t{constructor(i){this.s=i.start,this.e=i.end,this.invalid=i.invalid||null,this.isLuxonInterval=!0}static invalid(i,e=null){if(!i)throw new hi("need to specify a reason the Interval is invalid");let n=i instanceof Wr?i:new Wr(i,e);if(Mn.throwOnInvalid)throw new WI(n);return new t({invalid:n})}static fromDateTimes(i,e){let n=ag(i),r=ag(e),o=Ile(n,r);return o??new t({start:n,end:r})}static after(i,e){let n=fi.fromDurationLike(e),r=ag(i);return t.fromDateTimes(r,r.plus(n))}static before(i,e){let n=fi.fromDurationLike(e),r=ag(i);return t.fromDateTimes(r.minus(n),r)}static fromISO(i,e){let[n,r]=(i||"").split("/",2);if(n&&r){let o,a;try{o=_t.fromISO(n,e),a=o.isValid}catch(c){a=!1}let s,l;try{s=_t.fromISO(r,e),l=s.isValid}catch(c){l=!1}if(a&&l)return t.fromDateTimes(o,s);if(a){let c=fi.fromISO(r,e);if(c.isValid)return t.after(o,c)}else if(l){let c=fi.fromISO(n,e);if(c.isValid)return t.before(s,c)}}return t.invalid("unparsable",`the input "${i}" can't be parsed as ISO 8601`)}static isInterval(i){return i&&i.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(i="milliseconds"){return this.isValid?this.toDuration(i).get(i):NaN}count(i="milliseconds",e){if(!this.isValid)return NaN;let n=this.start.startOf(i,e),r;return e?.useLocaleWeeks?r=this.end.reconfigure({locale:n.locale}):r=this.end,r=r.startOf(i,e),Math.floor(r.diff(n,i).get(i))+(r.valueOf()!==this.end.valueOf())}hasSame(i){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,i):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(i){return this.isValid?this.s>i:!1}isBefore(i){return this.isValid?this.e<=i:!1}contains(i){return this.isValid?this.s<=i&&this.e>i:!1}set({start:i,end:e}={}){return this.isValid?t.fromDateTimes(i||this.s,e||this.e):this}splitAt(...i){if(!this.isValid)return[];let e=i.map(ag).filter(a=>this.contains(a)).sort((a,s)=>a.toMillis()-s.toMillis()),n=[],{s:r}=this,o=0;for(;r<this.e;){let a=e[o]||this.e,s=+a>+this.e?this.e:a;n.push(t.fromDateTimes(r,s)),r=s,o+=1}return n}splitBy(i){let e=fi.fromDurationLike(i);if(!this.isValid||!e.isValid||e.as("milliseconds")===0)return[];let{s:n}=this,r=1,o,a=[];for(;n<this.e;){let s=this.start.plus(e.mapUnits(l=>l*r));o=+s>+this.e?this.e:s,a.push(t.fromDateTimes(n,o)),n=o,r+=1}return a}divideEqually(i){return this.isValid?this.splitBy(this.length()/i).slice(0,i):[]}overlaps(i){return this.e>i.s&&this.s<i.e}abutsStart(i){return this.isValid?+this.e==+i.s:!1}abutsEnd(i){return this.isValid?+i.e==+this.s:!1}engulfs(i){return this.isValid?this.s<=i.s&&this.e>=i.e:!1}equals(i){return!this.isValid||!i.isValid?!1:this.s.equals(i.s)&&this.e.equals(i.e)}intersection(i){if(!this.isValid)return this;let e=this.s>i.s?this.s:i.s,n=this.e<i.e?this.e:i.e;return e>=n?null:t.fromDateTimes(e,n)}union(i){if(!this.isValid)return this;let e=this.s<i.s?this.s:i.s,n=this.e>i.e?this.e:i.e;return t.fromDateTimes(e,n)}static merge(i){let[e,n]=i.sort((r,o)=>r.s-o.s).reduce(([r,o],a)=>o?o.overlaps(a)||o.abutsStart(a)?[r,o.union(a)]:[r.concat([o]),a]:[r,a],[[],null]);return n&&e.push(n),e}static xor(i){let e=null,n=0,r=[],o=i.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),a=Array.prototype.concat(...o),s=a.sort((l,c)=>l.time-c.time);for(let l of s)n+=l.type==="s"?1:-1,n===1?e=l.time:(e&&+e!=+l.time&&r.push(t.fromDateTimes(e,l.time)),e=null);return t.merge(r)}difference(...i){return t.xor([this].concat(i)).map(e=>this.intersection(e)).filter(e=>e&&!e.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:jh}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(i=rC,e={}){return this.isValid?$r.create(this.s.loc.clone(e),i).formatInterval(this):jh}toISO(i){return this.isValid?`${this.s.toISO(i)}/${this.e.toISO(i)}`:jh}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:jh}toISOTime(i){return this.isValid?`${this.s.toISOTime(i)}/${this.e.toISOTime(i)}`:jh}toFormat(i,{separator:e=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(i)}${e}${this.e.toFormat(i)}`:jh}toDuration(i,e){return this.isValid?this.e.diff(this.s,i,e):fi.invalid(this.invalidReason)}mapEndpoints(i){return t.fromDateTimes(i(this.s),i(this.e))}},ss=class{static hasDST(i=Mn.defaultZone){let e=_t.now().setZone(i).set({month:12});return!i.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(i){return ec.isValidZone(i)}static normalizeZone(i){return Kl(i,Mn.defaultZone)}static getStartOfWeek({locale:i=null,locObj:e=null}={}){return(e||hn.create(i)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:i=null,locObj:e=null}={}){return(e||hn.create(i)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:i=null,locObj:e=null}={}){return(e||hn.create(i)).getWeekendDays().slice()}static months(i="long",{locale:e=null,numberingSystem:n=null,locObj:r=null,outputCalendar:o="gregory"}={}){return(r||hn.create(e,n,o)).months(i)}static monthsFormat(i="long",{locale:e=null,numberingSystem:n=null,locObj:r=null,outputCalendar:o="gregory"}={}){return(r||hn.create(e,n,o)).months(i,!0)}static weekdays(i="long",{locale:e=null,numberingSystem:n=null,locObj:r=null}={}){return(r||hn.create(e,n,null)).weekdays(i)}static weekdaysFormat(i="long",{locale:e=null,numberingSystem:n=null,locObj:r=null}={}){return(r||hn.create(e,n,null)).weekdays(i,!0)}static meridiems({locale:i=null}={}){return hn.create(i).meridiems()}static eras(i="short",{locale:e=null}={}){return hn.create(e,null,"gregory").eras(i)}static features(){return{relative:$H(),localeWeek:WH()}}};function sH(t,i){let e=r=>r.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=e(i)-e(t);return Math.floor(fi.fromMillis(n).as("days"))}function Ale(t,i,e){let n=[["years",(l,c)=>c.year-l.year],["quarters",(l,c)=>c.quarter-l.quarter+(c.year-l.year)*4],["months",(l,c)=>c.month-l.month+(c.year-l.year)*12],["weeks",(l,c)=>{let u=sH(l,c);return(u-u%7)/7}],["days",sH]],r={},o=t,a,s;for(let[l,c]of n)e.indexOf(l)>=0&&(a=l,r[l]=c(t,i),s=o.plus(r),s>i?(r[l]--,t=o.plus(r),t>i&&(s=t,r[l]--,t=o.plus(r))):t=s);return[t,r,s,a]}function kle(t,i,e,n){let[r,o,a,s]=Ale(t,i,e),l=i-r,c=e.filter(h=>["hours","minutes","seconds","milliseconds"].indexOf(h)>=0);c.length===0&&(a<i&&(a=r.plus({[s]:1})),a!==r&&(o[s]=(o[s]||0)+l/(a-r)));let u=fi.fromObject(o,n);return c.length>0?fi.fromMillis(l,n).shiftTo(...c).plus(u):u}var Ole="missing Intl.DateTimeFormat.formatToParts support";function $t(t,i=e=>e){return{regex:t,deser:([e])=>i(wse(e))}}var Nle="\xA0",c3=`[ ${Nle}]`,d3=new RegExp(c3,"g");function Rle(t){return t.replace(/\./g,"\\.?").replace(d3,c3)}function lH(t){return t.replace(/\./g,"").replace(d3," ").toLowerCase()}function ha(t,i){return t===null?null:{regex:RegExp(t.map(Rle).join("|")),deser:([e])=>t.findIndex(n=>lH(e)===lH(n))+i}}function cH(t,i){return{regex:t,deser:([,e,n])=>hC(e,n),groups:i}}function K0(t){return{regex:t,deser:([i])=>i}}function Ple(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function Fle(t,i){let e=ua(i),n=ua(i,"{2}"),r=ua(i,"{3}"),o=ua(i,"{4}"),a=ua(i,"{6}"),s=ua(i,"{1,2}"),l=ua(i,"{1,3}"),c=ua(i,"{1,6}"),u=ua(i,"{1,9}"),h=ua(i,"{2,4}"),m=ua(i,"{4,6}"),p=A=>({regex:RegExp(Ple(A.val)),deser:([k])=>k,literal:!0}),D=(A=>{if(t.literal)return p(A);switch(A.val){case"G":return ha(i.eras("short"),0);case"GG":return ha(i.eras("long"),0);case"y":return $t(c);case"yy":return $t(h,aA);case"yyyy":return $t(o);case"yyyyy":return $t(m);case"yyyyyy":return $t(a);case"M":return $t(s);case"MM":return $t(n);case"MMM":return ha(i.months("short",!0),1);case"MMMM":return ha(i.months("long",!0),1);case"L":return $t(s);case"LL":return $t(n);case"LLL":return ha(i.months("short",!1),1);case"LLLL":return ha(i.months("long",!1),1);case"d":return $t(s);case"dd":return $t(n);case"o":return $t(l);case"ooo":return $t(r);case"HH":return $t(n);case"H":return $t(s);case"hh":return $t(n);case"h":return $t(s);case"mm":return $t(n);case"m":return $t(s);case"q":return $t(s);case"qq":return $t(n);case"s":return $t(s);case"ss":return $t(n);case"S":return $t(l);case"SSS":return $t(r);case"u":return K0(u);case"uu":return K0(s);case"uuu":return $t(e);case"a":return ha(i.meridiems(),0);case"kkkk":return $t(o);case"kk":return $t(h,aA);case"W":return $t(s);
3843case"WW":return $t(n);case"E":case"c":return $t(e);case"EEE":return ha(i.weekdays("short",!1),1);case"EEEE":return ha(i.weekdays("long",!1),1);case"ccc":return ha(i.weekdays("short",!0),1);case"cccc":return ha(i.weekdays("long",!0),1);case"Z":case"ZZ":return cH(new RegExp(`([+-]${s.source})(?::(${n.source}))?`),2);case"ZZZ":return cH(new RegExp(`([+-]${s.source})(${n.source})?`),2);case"z":return K0(/[a-z_+-/]{1,256}?/i);case" ":return K0(/[^\S\n\r]/);default:return p(A)}})(t)||{invalidReason:Ole};return D.token=t,D}var Lle={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function Vle(t,i,e){let{type:n,value:r}=t;if(n==="literal"){let l=/^\s+$/.test(r);return{literal:!l,val:l?" ":r}}let o=i[n],a=n;n==="hour"&&(i.hour12!=null?a=i.hour12?"hour12":"hour24":i.hourCycle!=null?i.hourCycle==="h11"||i.hourCycle==="h12"?a="hour12":a="hour24":a=e.hour12?"hour12":"hour24");let s=Lle[a];if(typeof s=="object"&&(s=s[o]),s)return{literal:!1,val:s}}function jle(t){return[`^${t.map(e=>e.regex).reduce((e,n)=>`${e}(${n.source})`,"")}$`,t]}function Ble(t,i,e){let n=t.match(i);if(n){let r={},o=1;for(let a in e)if($h(e,a)){let s=e[a],l=s.groups?s.groups+1:1;!s.literal&&s.token&&(r[s.token.val[0]]=s.deser(n.slice(o,o+l))),o+=l}return[n,r]}else return[n,{}]}function Ule(t){let i=o=>{switch(o){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}},e=null,n;return et(t.z)||(e=ec.create(t.z)),et(t.Z)||(e||(e=new Eo(t.Z)),n=t.Z),et(t.q)||(t.M=(t.q-1)*3+1),et(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),et(t.u)||(t.S=uA(t.u)),[Object.keys(t).reduce((o,a)=>{let s=i(a);return s&&(o[s]=t[a]),o},{}),e,n]}var jI=null;function Hle(){return jI||(jI=_t.fromMillis(1555555555555)),jI}function zle(t,i){if(t.literal)return t;let e=$r.macroTokenToFormatOpts(t.val),n=f3(e,i);return n==null||n.includes(void 0)?t:n}function u3(t,i){return Array.prototype.concat(...t.map(e=>zle(e,i)))}var cC=class{constructor(i,e){if(this.locale=i,this.format=e,this.tokens=u3($r.parseFormat(e),i),this.units=this.tokens.map(n=>Fle(n,i)),this.disqualifyingUnit=this.units.find(n=>n.invalidReason),!this.disqualifyingUnit){let[n,r]=jle(this.units);this.regex=RegExp(n,"i"),this.handlers=r}}explainFromTokens(i){if(this.isValid){let[e,n]=Ble(i,this.regex,this.handlers),[r,o,a]=n?Ule(n):[null,null,void 0];if($h(n,"a")&&$h(n,"H"))throw new Xl("Can't include meridiem when specifying 24-hour format");return{input:i,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:n,result:r,zone:o,specificOffset:a}}else return{input:i,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invali
vendor: 14,183 bytes, line 3843
3843dReason:null}};function h3(t,i,e){return new cC(t,e).explainFromTokens(i)}function $le(t,i,e){let{result:n,zone:r,specificOffset:o,invalidReason:a}=h3(t,i,e);return[n,r,o,a]}function f3(t,i){if(!t)return null;let n=$r.create(i,t).dtFormatter(Hle()),r=n.formatToParts(),o=n.resolvedOptions();return r.map(a=>Vle(a,t,o))}var BI="Invalid DateTime",dH=864e13;function lg(t){return new Wr("unsupported zone",`the zone "${t.name}" is not supported`)}function UI(t){return t.weekData===null&&(t.weekData=aC(t.c)),t.weekData}function HI(t){return t.localWeekData===null&&(t.localWeekData=aC(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Ad(t,i){let e={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new _t(Y(x(x({},e),i),{old:e}))}function m3(t,i,e){let n=t-i*60*1e3,r=e.offset(n);if(i===r)return[n,i];n-=(r-i)*60*1e3;let o=e.offset(n);return r===o?[n,r]:[t-Math.min(r,o)*60*1e3,Math.max(r,o)]}function X0(t,i){t+=i*60*1e3;let e=new Date(t);return{year:e.getUTCFullYear(),month:e.getUTCMonth()+1,day:e.getUTCDate(),hour:e.getUTCHours(),minute:e.getUTCMinutes(),second:e.getUTCSeconds(),millisecond:e.getUTCMilliseconds()}}function eC(t,i,e){return m3(uC(t),i,e)}function uH(t,i){let e=t.o,n=t.c.year+Math.trunc(i.years),r=t.c.month+Math.trunc(i.months)+Math.trunc(i.quarters)*3,o=Y(x({},t.c),{year:n,month:r,day:Math.min(t.c.day,sC(n,r))+Math.trunc(i.days)+Math.trunc(i.weeks)*7}),a=fi.fromObject({years:i.years-Math.trunc(i.years),quarters:i.quarters-Math.trunc(i.quarters),months:i.months-Math.trunc(i.months),weeks:i.weeks-Math.trunc(i.weeks),days:i.days-Math.trunc(i.days),hours:i.hours,minutes:i.minutes,seconds:i.seconds,milliseconds:i.milliseconds}).as("milliseconds"),s=uC(o),[l,c]=m3(s,e,t.zone);return a!==0&&(l+=a,c=t.zone.offset(l)),{ts:l,o:c}}function Bh(t,i,e,n,r,o){let{setZone:a,zone:s}=e;if(t&&Object.keys(t).length!==0||i){let l=i||s,c=_t.fromObject(t,Y(x({},e),{zone:l,specificOffset:o}));return a?c:c.setZone(s)}else return _t.invalid(new Wr("unparsable",`the input "${r}" can't be parsed as ${n}`))}function J0(t,i,e=!0){return t.isValid?$r.create(hn.create("en-US"),{allowZ:e,forceSimple:!0}).formatDateTimeFromString(t,i):null}function zI(t,i,e){let n=t.c.year>9999||t.c.year<0,r="";if(n&&t.c.year>=0&&(r+="+"),r+=Wn(t.c.year,n?6:4),e==="year")return r;if(i){if(r+="-",r+=Wn(t.c.month),e==="month")return r;r+="-"}else if(r+=Wn(t.c.month),e==="month")return r;return r+=Wn(t.c.day),r}function hH(t,i,e,n,r,o,a){let s=!e||t.c.millisecond!==0||t.c.second!==0,l="";switch(a){case"day":case"month":case"year":break;default:if(l+=Wn(t.c.hour),a==="hour")break;if(i){if(l+=":",l+=Wn(t.c.minute),a==="minute")break;s&&(l+=":",l+=Wn(t.c.second))}else{if(l+=Wn(t.c.minute),a==="minute")break;s&&(l+=Wn(t.c.second))}if(a==="second")break;s&&(!n||t.c.millisecond!==0)&&(l+=".",l+=Wn(t.c.millisecond,3))}return r&&(t.isOffsetFixed&&t.offset===0&&!o?l+="Z":t.o<0?(l+="-",l+=Wn(Math.trunc(-t.o/60)),l+=":",l+=Wn(Math.trunc(-t.o%60))):(l+="+",l+=Wn(Math.trunc(t.o/60)),l+=":",l+=Wn(Math.trunc(t.o%60)))),o&&(l+="["+t.zone.ianaName+"]"),l}var p3={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Wle={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},qle={ordinal:1,hour:0,minute:0,second:0,millisecond:0},tC=["year","month","day","hour","minute","second","millisecond"],Gle=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Yle=["year","ordinal","hour","minute","second","millisecond"];function nC(t){let i={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!i)throw new iC(t);return i}function fH(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return nC(t)}}function Qle(t){if(cg===void 0&&(cg=Mn.now()),t.type!=="iana")return t.offset(cg);let i=t.name,e=sA.get(i);return e===void 0&&(e=t.offset(cg),sA.set(i,e)),e}function mH(t,i){let e=Kl(i.zone,Mn.defaultZone);if(!e.isValid)return _t.invalid(lg(e));let n=hn.fromObject(i),r,o;if(et(t.year))r=Mn.now();else{for(let l of tC)et(t[l])&&(t[l]=p3[l]);let a=HH(t)||zH(t);if(a)return _t.invalid(a);let s=Qle(e);[r,o]=eC(t,s,e)}return new _t({ts:r,zone:e,loc:n,o})}function pH(t,i,e){let n=et(e.round)?!0:e.round,r=et(e.rounding)?"trunc":e.rounding,o=(s,l)=>(s=hA(s,n||e.calendary?0:2,e.calendary?"round":r),i.loc.clone(e).relFormatter(e).format(s,l)),a=s=>e.calendary?i.hasSame(t,s)?0:i.startOf(s).diff(t.startOf(s),s).get(s):i.diff(t,s).get(s);if(e.unit)return o(a(e.unit),e.unit);for(let s of e.units){let l=a(s);if(Math.abs(l)>=1)return o(l,s)}return o(t>i?-0:0,e.units[e.units.length-1])}function gH(t){let i={},e;return t.length>0&&typeof t[t.length-1]=="object"?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}var cg,sA=new Map,_t=class t{constructor(i){let e=i.zone||Mn.defaultZone,n=i.invalid||(Number.isNaN(i.ts)?new Wr("invalid input"):null)||(e.isValid?null:lg(e));this.ts=et(i.ts)?Mn.now():i.ts;let r=null,o=null;if(!n)if(i.old&&i.old.ts===this.ts&&i.old.zone.equals(e))[r,o]=[i.old.c,i.old.o];else{let s=Jl(i.o)&&!i.old?i.o:e.offset(this.ts);r=X0(this.ts,s),n=Number.isNaN(r.year)?new Wr("invalid input"):null,r=n?null:r,o=n?null:s}this._zone=e,this.loc=i.loc||hn.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=r,this.o=o,this.isLuxonDateTime=!0}static now(){return new t({})}static local(){let[i,e]=gH(arguments),[n,r,o,a,s,l,c]=e;return mH({year:n,month:r,day:o,hour:a,minute:s,second:l,millisecond:c},i)}static utc(){let[i,e]=gH(arguments),[n,r,o,a,s,l,c]=e;return i.zone=Eo.utcInstance,mH({year:n,month:r,day:o,hour:a,minute:s,second:l,millisecond:c},i)}static fromJSDate(i,e={}){let n=Sse(i)?i.valueOf():NaN;if(Number.isNaN(n))return t.invalid("invalid input");let r=Kl(e.zone,Mn.defaultZone);return r.isValid?new t({ts:n,zone:r,loc:hn.fromObject(e)}):t.invalid(lg(r))}static fromMillis(i,e={}){if(Jl(i))return i<-dH||i>dH?t.invalid("Timestamp out of range"):new t({ts:i,zone:Kl(e.zone,Mn.defaultZone),loc:hn.fromObject(e)});throw new hi(`fromMillis requires a numerical input, but received a ${typeof i} with value ${i}`)}static fromSeconds(i,e={}){if(Jl(i))return new t({ts:i*1e3,zone:Kl(e.zone,Mn.defaultZone),loc:hn.fromObject(e)});throw new hi("fromSeconds requires a numerical input")}static fromObject(i,e={}){i=i||{};let n=Kl(e.zone,Mn.defaultZone);if(!n.isValid)return t.invalid(lg(n));let r=hn.fromObject(e),o=lC(i,fH),{minDaysInFirstWeek:a,startOfWeek:s}=JU(o,r),l=Mn.now(),c=et(e.specificOffset)?n.offset(l):e.specificOffset,u=!et(o.ordinal),h=!et(o.year),m=!et(o.month)||!et(o.day),p=h||m,b=o.weekYear||o.weekNumber;if((p||u)&&b)throw new Xl("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(m&&u)throw new Xl("Can't mix ordinal dates with month/day");let D=b||o.weekday&&!p,A,k,L=X0(l,c);D?(A=Gle,k=Wle,L=aC(L,a,s)):u?(A=Yle,k=qle,L=VI(L)):(A=tC,k=p3);let ce=!1;for(let be of A){let Vt=o[be];et(Vt)?ce?o[be]=k[be]:o[be]=L[be]:ce=!0}let oe=D?Dse(o,a,s):u?Mse(o):HH(o),_e=oe||zH(o);if(_e)return t.invalid(_e);let ye=D?KU(o,a,s):u?XU(o):o,[ge,Ae]=eC(ye,c,n),Wt=new t({ts:ge,zone:n,o:Ae,loc:r});return o.weekday&&p&&i.weekday!==Wt.weekday?t.invalid("mismatched weekday",`you can't specify both a weekday of ${o.weekday} and a date of ${Wt.toISO()}`):Wt.isValid?Wt:t.invalid(Wt.invalid)}static fromISO(i,e={}){let[n,r]=gle(i);return Bh(n,r,e,"ISO 8601",i)}static fromRFC2822(i,e={}){let[n,r]=_le(i);return Bh(n,r,e,"RFC 2822",i)}static fromHTTP(i,e={}){let[n,r]=vle(i);return Bh(n,r,e,"HTTP",e)}static fromFormat(i,e,n={}){if(et(i)||et(e))throw new hi("fromFormat requires an input string and a format");let{locale:r=null,numberingSystem:o=null}=n,a=hn.fromOpts({locale:r,numberingSystem:o,defaultToEN:!0}),[s,l,c,u]=$le(a,i,e);return u?t.invalid(u):Bh(s,l,n,`format ${e}`,i,c)}static fromString(i,e,n={}){return t.fromFormat(i,e,n)}static fromSQL(i,e={}){let[n,r]=Mle(i);return Bh(n,r,e,"SQL",i)}static invalid(i,e=null){if(!i)throw new hi("need to specify a reason the DateTime is invalid");let n=i instanceof Wr?i:new Wr(i,e);if(Mn.throwOnInvalid)throw new $I(n);return new t({invalid:n})}static isDateTime(i){return i&&i.isLuxonDateTime||!1}static parseFormatForOpts(i,e={}){let n=f3(i,hn.fromObject(e));return n?n.map(r=>r?r.val:null).join(""):null}static expandFormat(i,e={}){return u3($r.parseFormat(i),hn.fromObject(e)).map(r=>r.val).join("")}static resetCache(){cg=void 0,sA.clear()}get(i){return this[i]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?UI(this).weekYear:NaN}get weekNumber(){return this.isValid?UI(this).weekNumber:NaN}get weekday(){return this.isValid?UI(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?HI(this).weekday:NaN}get localWeekNumber(){return this.isValid?HI(this).weekNumber:NaN}get localWeekYear(){return this.isValid?HI(this).weekYear:NaN}get ordinal(){return this.isValid?VI(this.c).ordinal:NaN}get monthShort(){return this.isValid?ss.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?ss.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?ss.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?ss.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];let i=864e5,e=6e4,n=uC(this.c),r=this.zone.offset(n-i),o=this.zone.offset(n+i),a=this.zone.offset(n-r*e),s=this.zone.offset(n-o*e);if(a===s)return[this];let l=n-a*e,c=n-s*e,u=X0(l,a),h=X0(c,s);return u.hour===h.hour&&u.minute===h.minute&&u.second===h.second&&u.millisecond===h.millisecond?[Ad(this,{ts:l}),Ad(this,{ts:c})]:[this]}get isInLeapYear(){return hg(this.year)}get daysInMonth(){return sC(this.year,this.month)}get daysInYear(){return this.isValid?Uh(this.year):NaN}get weeksInWeekYear(){return this.isValid?ug(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?ug(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(i={}){let{locale:e,numberingSystem:n,calendar:r}=$r.create(this.loc.clone(i),i).resolvedOptions(this);return{locale:e,numberingSystem:n,outputCalendar:r}}toUTC(i=0,e={}){return this.setZone(Eo.instance(i),e)}toLocal(){return this.setZone(Mn.defaultZone)}setZone(i,{keepLocalTime:e=!1,keepCalendarTime:n=!1}={}){if(i=Kl(i,Mn.defaultZone),i.equals(this.zone))return this;if(i.isValid){let r=this.ts;if(e||n){let o=i.offset(this.ts),a=this.toObject();[r]=eC(a,o,i)}return Ad(this,{ts:r,zone:i})}else return t.invalid(lg(i))}reconfigure({locale:i,numberingSystem:e,outputCalendar:n}={}){let r=this.loc.clone({locale:i,numberingSystem:e,outputCalendar:n});return Ad(this,{loc:r})}setLocale(i){return this.reconfigure({locale:i})}set(i){if(!this.isValid)return this;let e=lC(i,fH),{minDaysInFirstWeek:n,startOfWeek:r}=JU(e,this.loc),o=!et(e.weekYear)||!et(e.weekNumber)||!et(e.weekday),a=!et(e.ordinal),s=!et(e.year),l=!et(e.month)||!et(e.day),c=s||l,u=e.weekYear||e.weekNumber;if((c||a)&&u)throw new Xl("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&a)throw new Xl("Can't mix ordinal dates with month/day");let h;o?h=KU(x(x({},aC(this.c,n,r)),e),n,r):et(e.ordinal)?(h=x(x({},this.toObject()),e),et(e.day)&&(h.day=Math.min(sC(h.year,h.month),h.day))):h=XU(x(x({},VI(this.c)),e));let[m,p]=eC(h,this.o,this.zone);return Ad(this,{ts:m,o:p})}plus(i){if(!this.isValid)return this;let e=fi.fromDurationLike(i);return Ad(this,uH(this,e))}minus(i){if(!this.isValid)return this;let e=fi.fromDurationLike(i).negate();return Ad(this,uH(this,e))}startOf(i,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;let n={},r=fi.normalizeUnit(i);switch(r){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0;break}if(r==="weeks")if(e){let o=this.loc.getStartOfWeek(),{weekday:a}=this;a<o&&(n.weekNumber=this.weekNumber-1),n.weekday=o}else n.weekday=1;if(r==="quarters"){let o=Math.ceil(this.month/3);n.month=(o-1)*3+1}return this.set(n)}endOf(i,e){return this.isValid?this.plus({[i]:1}).startOf(i,e).minus(1):this}toFormat(i,e={}){return this.isValid?$r.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,i):BI}
3843toLocaleString(i=rC,e={}){return this.isValid?$r.create(this.loc.clone(e),i).formatDateTime(this):BI}toLocaleParts(i={}){return this.isValid?$r.create(this.loc.clone(i),i).formatDateTimeParts(this):[]}toISO({format:i="extended",suppressSeconds:e=!1,suppressMilliseconds:n=!1,includeOffset:r=!0,extendedZone:o=!1,precision:a="milliseconds"}={}){if(!this.isValid)return null;a=nC(a);let s=i==="extended",l=zI(this,s,a);return tC.indexOf(a)>=3&&(l+="T"),l+=hH(this,s,e,n,r,o,a),l}toISODate({format:i="extended",precision:e="day"}={}){return this.isValid?zI(this,i==="extended",nC(e)):null}toISOWeekDate(){return J0(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:i=!1,suppressSeconds:e=!1,includeOffset:n=!0,includePrefix:r=!1,extendedZone:o=!1,format:a="extended",precision:s="milliseconds"}={}){return this.isValid?(s=nC(s),(r&&tC.indexOf(s)>=3?"T":"")+hH(this,a==="extended",e,i,n,o,s)):null}toRFC2822(){return J0(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return J0(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?zI(this,!0):null}toSQLTime({includeOffset:i=!0,includeZone:e=!1,includeOffsetSpace:n=!0}={}){let r="HH:mm:ss.SSS";return(e||i)&&(n&&(r+=" "),e?r+="z":i&&(r+="ZZ")),J0(this,r,!0)}toSQL(i={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(i)}`:null}toString(){return this.isValid?this.toISO():BI}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(i={}){if(!this.isValid)return{};let e=x({},this.c);return i.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(i,e="milliseconds",n={}){if(!this.isValid||!i.isValid)return fi.invalid("created by diffing an invalid DateTime");let r=x({locale:this.locale,numberingSystem:this.numberingSystem},n),o=Tse(e).map(fi.normalizeUnit),a=i.valueOf()>this.valueOf(),s=a?this:i,l=a?i:this,c=kle(s,l,o,r);return a?c.negate():c}diffNow(i="milliseconds",e={}){return this.diff(t.now(),i,e)}until(i){return this.isValid?zh.fromDateTimes(this,i):this}hasSame(i,e,n){if(!this.isValid)return!1;let r=i.valueOf(),o=this.setZone(i.zone,{keepLocalTime:!0});return o.startOf(e,n)<=r&&r<=o.endOf(e,n)}equals(i){return this.isValid&&i.isValid&&this.valueOf()===i.valueOf()&&this.zone.equals(i.zone)&&this.loc.equals(i.loc)}toRelative(i={}){if(!this.isValid)return null;let e=i.base||t.fromObject({},{zone:this.zone}),n=i.padding?this<e?-i.padding:i.padding:0,r=["years","months","days","hours","minutes","seconds"],o=i.unit;return Array.isArray(i.unit)&&(r=i.unit,o=void 0),pH(e,this.plus(n),Y(x({},i),{numeric:"always",units:r,unit:o}))}toRelativeCalendar(i={}){return this.isValid?pH(i.base||t.fromObject({},{zone:this.zone}),this,Y(x({},i),{numeric:"auto",units:["years","months","days"],calendary:!0})):null}static min(...i){if(!i.every(t.isDateTime))throw new hi("min requires all arguments be DateTimes");return eH(i,e=>e.valueOf(),Math.min)}static max(...i){if(!i.every(t.isDateTime))throw new hi("max requires all arguments be DateTimes");return eH(i,e=>e.valueOf(),Math.max)}static fromFormatExplain(i,e,n={}){let{locale:r=null,numberingSystem:o=null}=n,a=hn.fromOpts({locale:r,numberingSystem:o,defaultToEN:!0});return h3(a,i,e)}static fromStringExplain(i,e,n={}){return t.fromFormatExplain(i,e,n)}static buildFormatParser(i,e={}){let{locale:n=null,numberingSystem:r=null}=e,o=hn.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});return new cC(o,i)}static fromFormatParser(i,e,n={}){if(et(i)||et(e))throw new hi("fromFormatParser requires an input string and a format parser");let{locale:r=null,numberingSystem:o=null}=n,a=hn.fromOpts({locale:r,numberingSystem:o,defaultToEN:!0});if(!a.equals(e.locale))throw new hi(`fromFormatParser called with a locale of ${a}, but the format parser was created for ${e.locale}`);let{result:s,zone:l,specificOffset:c,invalidReason:u}=e.explainFromTokens(i);return u?t.invalid(u):Bh(s,l,n,`format ${e.format}`,i,c)}static get DATE_SHORT(){return rC}static get DATE_MED(){return _H}static get DATE_MED_WITH_WEEKDAY(){return ose}static get DATE_FULL(){return vH}static get DATE_HUGE(){return yH}static get TIME_SIMPLE(){return bH}static get TIME_WITH_SECONDS(){return CH}static get TIME_WITH_SHORT_OFFSET(){return wH}static get TIME_WITH_LONG_OFFSET(){return xH}static get TIME_24_SIMPLE(){return DH}static get TIME_24_WITH_SECONDS(){return MH}static get TIME_24_WITH_SHORT_OFFSET(){return EH}static get TIME_24_WITH_LONG_OFFSET(){return SH}static get DATETIME_SHORT(){return TH}static get DATETIME_SHORT_WITH_SECONDS(){return IH}static get DATETIME_MED(){return AH}static get DATETIME_MED_WITH_SECONDS(){return kH}static get DATETIME_MED_WITH_WEEKDAY(){return ase}static get DATETIME_FULL(){return OH}static get DATETIME_FULL_WITH_SECONDS(){return NH}static get DATETIME_HUGE(){return RH}static get DATETIME_HUGE_WITH_SECONDS(){return PH}};function ag(t){if(_t.isDateTime(t))return t;if(t&&t.valueOf&&Jl(t.valueOf()))return _t.fromJSDate(t);if(t&&typeof t=="object")return _t.fromObject(t);throw new hi(`Unknown datetime argument: ${t}, of type ${typeof t}`)}var Fi=(function(t){return t.serviceLabels={"AAMC Main Website":"AAMC Main Website (www.aamc.org)","AAMC Events/Registration":"Registration for Meetings and Events","PREview Professional Readiness Exam":"AAMC PREview\xAE Professional Readiness Exam",Publications:"AAMC Store/Publications",AMCAS:"American Medical College Application Service (AMCAS)",CIM:"Careers in Medicine",Convey:"Convey",ERAS:"Electronic Residency Application Service (ERAS)","Fee Assistance":"Fee Assistance Program","GME Track":"GME Track","MCAT Prep":"MCAT Official Prep Products",MCAT:"Medical College Admissions Test (MCAT)","Member Content":"Member Content",MSAR:"Medical School Admissions Requirements (MSAR)","Residency Explorer":"Residency Explorer",SHPEP:"Summer Health Professions Education Program (SHPEP)","Visiting Students Learning Opportunities":"Visiting Student Learning Opportunities (VSLO)",Other:"Other"},t.roleLabels={PREMED:"Pre-med / Pre-dental",Student:"Medical Student, Resident or Fellow",MedicalFaculty:"Faculty or Staff at a Medical School (excluding letter authors)",InstFaculty:"Faculty or Staff at another institution (not a medical school or teaching hospital)",ProgramDirector:"Residency or Fellowship Program Director/Coordinator",GMEOfficial:"GME Official/Adm
3843inistrator",LA:"Letter Author",HPA:"Health Professions Advisor",CD:"Convey Discloser",Other:"Other"},t.basicForm={firstName:{label:"First Name",type:"text",name:"firstname",validation:{required:!0,maxLength:"80",email:!1}},middleName:{label:"Middle Name",type:"text",name:"middlename",validation:{required:!1,maxLength:"80",email:!1}},lastName:{label:"Last Name",type:"text",name:"lastname",validation:{required:!0,maxLength:"80",email:!1}},email:{label:"Preferred Email",type:"text",name:"email",validation:{required:!0,maxLength:"80",email:!0}},alternativeEmail:{label:"Alternative Email",type:"text",name:"00NU00000059kfD",validation:{required:!1,maxLength:"80",email:!0}},phone:{label:"Phone",type:"text",name:"phone",validation:{required:!1,maxLength:"80",email:!1}},description:{label:"How can we help you?",type:"textarea",name:"descriptionTemp",validation:{required:!1,maxLength:"",email:!1}}},t.advancedForm={aamc_id:{label:"AAMC ID",type:"text",name:"00NU000000579YF"},aamc_institution_id:{label:"Institution ID",type:"text",name:"00NU00000059keo"},dob:{label:"Date of Birth (MM/DD)",type:"text",name:"dateofbirth"},username:{label:"AAMC Username",type:"text",name:"aamcusername"},amca_apply:{label:"How many times have you used AMCAS to apply to medical school",type:"text",name:"amcasapply"},amcas_letter:{label:"What is the First name, Last name and Letter ID for the student that you are trying to upload a letter?",type:"text",name:"letterid"},last_login:{label:"Date of the last time you logged in to the AAMC (MM/YY)?",type:"text",name:"loggedin"},convey_date:{label:"Date when you last accessed Convey?",type:"text",name:"conveylogin"},address:{label:"Physical mailing address associated with the account",type:"textarea",name:"mailaddress"},applicant_type:{label:"What type of applicant are you?",type:"select",name:"aType"},applicant_name:{label:"Applicant's Name",type:"text",name:"applicantname"},applicant_aamc_id:{label:"Applicant's AAMC ID",type:"text",name:"applicantaamcid"},usmle_id:{label:"USMLE/COMLEX ID",type:"text",name:"usmlecomlexid"},myeras_token_id:{label:"MyERAS Token ID",type:"text",name:"myerastokenid"}
3843,nrmp_id:{label:"MyERAS Token ID",type:"text",name:"nrmpid"},letter_id:{label:"ERAS Letter ID provided on Request Form",type:"text",name:"erasletterid"},letter_author_name:{label:"Letter Author Name",type:"text",name:"letterauthorname"},author_or_uploade:{label:"I am:",type:"select",name:"role"},institution_accredation_id:{label:"Institution Accreditation ID",type:"text",name:"instaccredid"},institution_name:{label:"Institution Name",type:"text",name:"institutionname"},program_institution_nam:{label:"Program Institution Name",type:"text",name:"pginstname"},specialty:{label:"Specialty",type:"text",name:"specialty"},eras_access:{label:"I need to:",type:"select",name:"acton"},eam_id:{label:"EAM Login ID",type:"text",name:"eamloginid"},accredation_id:{label:"Accreditation ID",type:"text",name:""},dio_dme_name:{label:"DIO/DME Name",type:"text",name:""},sponsor_institution_name:{label:"Sponsor Institution Name",type:"text",name:"spinstitutionname"},sponsor_accredation_id:{label:"Sponsor Accreditation ID",type:"text",name:"spaccreditationid"},mcat_reg_date:{label:"What is the month and year of your most recent MCAT exam registration (past or future)?",type:"text",name:"mcatregdate"},fee_benefits:{label:"Have you ever received AAMC Fee Assistance Program benefits?",type:"text",name:"fapben"},fee_address:{label:"What mailing address did you provide in your AAMC Fee Assistance Program application?",type:"textarea",name:"fapaddress"},mcat_test_center:{label:"What is the Test Center address for your most recent MCAT exam registration (past or future)?",type:"text",name:"testcenter"},committee:{label:"Are you a member of an AAMC committee? If so, which committee?",type:"text",name:"committee"},shpep_id:{label:"SHPEP ID",type:"text",name:"shpepid"},shpep_username:{label:"SHPEP Username",type:"text",name:"shpepusername"},shpep_address:{label:"What is your preferred mailing address on your SHPEP application?",type:"textarea",name:"shpepmail"}},t.selectValues={applicant_type:[{id:"USMG",value:"US Medical Graduate (USMG)"},{id:"IMG",value:"International Medical School Graduate (IMG)"},{id:"Fellowship Applicant",value:"Fellowship Applicant"}],author_or_uploade:[{id:"The letter author",value:"The letter author"},{id:"A designated uploader",value:"A designated uploader"}],eras_access:[{id:"Update program listing(s)",value:"Update program listing(s)"},{id:"Access ERAS applications",value:"Access ERAS applications"}]},t})(Fi||{});var y;(function(t){let i;(function(o){o.AamcMain="AAMC Main Website",o.AamcEvents="AAMC Events/Registration",o.PREVIEW="PREview Professional Readiness Exam",o.AamcStore="Publications",o.AMCAS="AMCAS",o.CIM="CIM",o.Convey="Convey",o.ERAS="ERAS",o.FAP="Fee Assistance",o.GME="GME Track",o.MCATOfficial="MCAT Prep",o.MCAT="MCAT",o.MC="Member Content",o.MSAR="MSAR",o.RE="Residency Explorer",o.SHPEP="SHPEP",o.VSLO="Visiting Students Learning Opportunities",o.Other="Other"})(i=t.Services||(t.Services={}));let e;(function(o){o.PREMED="PREMED",o.Student="Student",o.MedicalFaculty="MedicalFaculty",o.InstFaculty="InstFaculty",o.ProgramDirector="ProgramDirector",o.GMEOfficial="GMEOfficial",o.LA="LA",o.HPA="HPA",o.CD="CD",o.Other="Other"})(e=t.Roles||(t.Roles={}));let n;(function(o){o.aamc_id="aamc_id",o.aamc_institution_id="aamc_institution_id",o.dob="dob",o.username="username",o.amca_apply="amca_apply",o.amcas_letter="amcas_letter",o.last_login="last_login",o.convey_date="convey_date",o.address="address",o.applicant_type="applicant_type",o.applicant_name="applicant_name",o.applicant_aamc_id="applicant_aamc_id",o.usmle_id="usmle_id",o.myeras_token_id="myeras_token_id",o.nrmp_id="nrmp_id",o.letter_id="letter_id",o.letter_author_name="letter_author_name",o.author_or_uploade="author_or_uploade",o.institution_accredation_id="institution_accredation_id",o.institution_name="institution_name",o.program_institution_nam="program_institution_nam",o.specialty="specialty",o.eras_access="eras_access",o.eam_id="eam_id",o.accredation_id="accredation_id",o.dio_dme_name="dio_dme_name",o.sponsor_institution_name="sponsor_institution_name",o.sponsor_accredation_id="sponsor_accredation_id",o.mcat_reg_date="mcat_reg_date",o.fee_benefits="fee_benefits",o.fee_address="fee_address",o.mcat_test_center="mcat_test_center",o.committee="committee",o.shpep_id="shpep_
3843id",o.shpep_username="shpep_username",o.shpep_address="shpep_address"})(n=t.FormFields||(t.FormFields={}));let r;(function(o){o.firstName="firstName",o.middleName="middleName",o.lastName="lastName",o.email="email",o.alternativeEmail="alternativeEmail",o.phone="phone",o.description="description"})(r=t.BasicForm||(t.BasicForm={})),t.SecondaryForm=[n.aamc_id,n.dob,n.username,n.last_login],t.OtherGeneric=[n.aamc_id,n.dob,n.username],t.PubOther=[n.dob,n.username,n.last_login],t.AmcasPre=[n.aamc_id,n.dob,n.username,n.amca_apply],t.AmcasMed=[n.aamc_id,n.dob,n.username,n.amca_apply],t.AmcasFac=[n.aamc_institution_id,n.dob,n.username],t.AmcasFao=[n.dob,n.username,n.amcas_letter,n.last_login],t.AmcasLet=[n.dob,n.username,n.amcas_letter],t.AmcasHea=[n.dob,n.username,n.last_login],t.AmcasOther=[n.aamc_id,n.dob,n.username,n.amca_apply],t.CimMed=[n.aamc_id,n.dob,n.username,n.last_login],t.CimFac=[n.aamc_id,n.dob,n.username,n.last_login],t.CimOther=[n.aamc_id,n.dob,n.username,n.last_login],t.ConveyOther=[n.aamc_id,n.username,n.convey_date],t.ConveyCon=[n.aamc_id,n.username,n.convey_date],t.CiFac=[n.aamc_id,n.dob,n.username,n.last_login],t.CiFao=[n.aamc_id,n.dob,n.username,n.last_login],t.CiOther=[n.aamc_id,n.dob,n.username,n.last_login],t.ErasMed=[n.aamc_id,n.dob,n.username,n.address,n.applicant_type,n.usmle_id,n.myeras_token_id,n.nrmp_id],t.ErasFac=[n.aamc_id,n.dob,n.username,n.address,n.institution_accredation_id,n.institution_name],t.ErasFao=[n.aamc_id,n.dob,n.username,n.address],t.ErasRes=[n.aamc_id,n.dob,n.username,n.address,n.program_institution_nam,n.specialty,n.eras_access,n.eam_id,n.accredation_id],t.ErasGme=[n.aamc_id,n.dob,n.username,n.address,n.dio_dme_name,n.sponsor_institution_name,n.sponsor_accredation_id],t.ErasLet=[n.aamc_id,n.dob,n.username,n.address,n.letter_id,n.letter_author_name,n.author_or_uploade],t.ErasOther=[n.aamc_id,n.dob,n.username,n.address],t.LorpOther=[n.aamc_id,n.dob,n.username,n.address,n.letter_id,n.letter_author_name,n.author_or_uploade],t.FeePre=[n.aamc_id,n.dob,n.username,n.mcat_reg_date,n.fee_benefits,n.fee_address],t.FeeOther=[n.aamc_id,n.dob,n.username,n.last_login],t.GmeOther=[n.aamc_id,n.username,n.accredation_id],t.McatPre=[n.aamc_id,n.dob,n.username,n.mcat_reg_date,n.mcat_test_center],t.McatOther=[n.aamc_id,n.dob,n.username,n.mcat_reg_date,n.mcat_test_center],t.McatFac=[n.aamc_institution_id,n.dob,n.username,n.last_login],t.McatFao=[n.aamc_institution_id,n.dob,n.username,n.last_login],t.McatHea=[n.dob,n.username,n.last_login],t.MemberOther=[n.aamc_id,n.dob,n.username,n.last_login,n.committee],t.MsarPre=[n.aamc_id,n.dob,n.username,n.last_login],t.MsarOther=[n.aamc_id,n.dob,n.username,n.last_login],t.MsarFac=[n.aamc_id,n.dob,n.username,n.last_login],t.MsarFao=[n.aamc_id,n.dob,n.username,n.last_login],t.MsarHea=[n.aamc_id,n.dob,n.username,n.last_login],t.ShpepPre=[n.dob,n.username,n.last_login,n.shpep_
3843id,n.shpep_username,n.shpep_address],t.ShpepFac=[n.aamc_institution_id,n.dob,n.username,n.last_login],t.ShpepFao=[n.aamc_institution_id,n.dob,n.username,n.last_login],t.ShpepLet=[n.aamc_id,n.dob,n.username,n.last_login],t.ShpepHea=[n.dob,n.username,n.last_login],t.ReOther=[n.aamc_id,n.dob,n.username]})(y||(y={}));var mC={[y.Services.AamcMain]:{[y.Roles.PREMED]:{form:y.OtherGeneric,phoneNumber:"202-828-0400"},[y.Roles.Student]:{form:y.OtherGeneric,phoneNumber:"202-828-0400"},[y.Roles.MedicalFaculty]:{form:y.OtherGeneric,phoneNumber:"202-828-0400"},[y.Roles.InstFaculty]:{form:y.OtherGeneric,phoneNumber:"202-828-0400"},[y.Roles.ProgramDirector]:{form:y.OtherGeneric,phoneNumber:"202-828-0413"},[y.Roles.GMEOfficial]:{form:y.OtherGeneric,phoneNumber:"202-862-6171"},[y.Roles.LA]:{form:y.OtherGeneric,phoneNumber:"202-828-0600"},[y.Roles.HPA]:{form:y.OtherGeneric,phoneNumber:"202-828-0950"},[y.Roles.CD]:{form:y.OtherGeneric,phoneNumber:"202-909-2001"},[y.Roles.Other]:{form:y.OtherGeneric,phoneNumber:"202-828-0400"}},[y.Services.AamcEvents]:{[y.Roles.PREMED]:{form:y.OtherGeneric,phoneNumber:"202-828-0400"},[y.Roles.Student]:{form:y.OtherGeneric,phoneNumber:"202-828-0400"},[y.Roles.MedicalFaculty]:{form:y.OtherGeneric,phoneNumber:"202-828-0400"},[y.Roles.InstFaculty]:{form:y.OtherGeneric,phoneNumber:"202-828-0400"},[y.Roles.ProgramDirector]:{form:y.OtherGeneric,phoneNumber:"202-828-0400"},[y.Roles.GMEOfficial]:{form:y.OtherGeneric,phoneNumber:"202-828-0400"},[y.Roles.LA]:{form:y.OtherGeneric,phoneNumber:"202-828-0400"},[y.Roles.HPA]:{form:y.OtherGeneric,phoneNumber:"202-828-0400"},[y.Roles.CD]:{form:y.OtherGeneric,phoneNumber:"202-828-0400"},[y.Roles.Other]:{form:y.OtherGeneric,phoneNumber:"202-828-0400"}},[y.Services.PREVIEW]:{[y.Roles.PREMED]:{form:y.OtherGeneric,phoneNumber:"202-540-5457"},[y.Roles.Student]:{form:y.OtherGeneric,phoneNumber:"202-540-5457"},[y.Roles.MedicalFaculty]:{form:y.OtherGeneric,phoneNumber:"202-540-5457"},[y.Roles.InstFaculty]:{form:y.OtherGeneric,phoneNumber:"202-540-5457"},[y.Roles.ProgramDirector]:{form:y.OtherGeneric,phoneNumber:"202-540-5457"},[y.Roles.GMEOfficial]:{form:y.OtherGeneric,phoneNumber:"202-540-5457"},[y.Roles.LA]:{form:y.OtherGeneric,phoneNumber:"202-540-5457"},[y.Roles.HPA]:{form:y.OtherGeneric,phoneNumber:"202-540-5457"},[y.Roles.CD]:{form:y.OtherGeneric,phoneNumber:"202-540-5457"},[y.Roles.Other]:{form:y.OtherGeneric,phoneNumber:"202-540-5457"}},[y.Services.AamcStore]:{[y.Roles.PREMED]:{form:y.PubOther,phoneNumber:"202-828-0416"},[y.Roles.Student]:{form:y.PubOther,phoneNumber:"202-828-0416"},[y.Roles.MedicalFaculty]:{form:y.PubOther,phoneNumber:"202-828-0416"},[y.Roles.InstFaculty]:{form:y.PubOther,phoneNumber:"202-828-0416"},[y.Roles.ProgramDirector]:{form:y.PubOther,phoneNumber:"202-828-0416"},[y.Roles.GMEOfficial]:{form:y.PubOther,phoneNumber:"202-828-0416"},[y.Roles.LA]:{form:y.PubOther,phoneNumber:"202-828-0416"},[y.Roles.HPA]:{form:y.PubOther,phoneNumber:"202-828-0416"},[y.Roles.CD]:{form:y.PubOther,phoneNumber:"202-828-0416"},[y.Roles.Other]:{form:y.PubOther,phoneNumber:"202-828-0416"}},[y.Services.AMCAS]:{[y.Roles.PREMED]:{form:y.AmcasPre,phoneNumber:"202-828-0600"},[y.Roles.Student]:{form:y.AmcasMed,phoneNumber:"202-828-0600"},[y.Roles.MedicalFaculty]:{form:y.AmcasFac,phoneNumber:"202-828-0635"},[y.Roles.InstFaculty]:{form:y.AmcasFao,phoneNumber:"202-828-0600"},[y.Roles.ProgramDirector]:{form:y.AmcasOther,phoneNumber:"202-828-0600"},[y.Roles.GMEOfficial]:{form:y.AmcasOther,phoneNumber:"202-828-0600"},[y.Roles.LA]:{form:y.AmcasLet,phoneNumber:"202-828-0600"},[y.Roles.HPA]:{form:y.AmcasHea,phoneNumber:"202-828-0950"},[y.Roles.CD]:{form:y.AmcasOther,phoneNumber:"202-828-0600"},[y.Roles.Other]:{form:y.AmcasOther,phoneNumber:"202-828-0600"}},[y.Services.CIM]:{[y.Roles.PREMED]:{form:y.SecondaryForm,phoneNumber:"202-828-0400"},[y.Roles.Student]:{form:y.SecondaryForm,phoneNumber:"202-828-0400"},[y.Roles.MedicalFaculty]:{form:y.SecondaryForm,phoneNumber:"202-828-0400"},[y.Roles.InstFaculty]:{form:y.SecondaryForm,phoneNumber:"202-828-0400"},[y.Roles.ProgramDirector]:{form:y.SecondaryForm,phoneNumber:"202-828-0400"},[y.Roles.GMEOfficial]:{form:y.SecondaryForm,phoneNumber:"202-828-0400"},[y.Roles.LA]:{form:y.SecondaryForm,phoneNumber:"202-828-0400"},[y.Roles.HPA]:{form:y.SecondaryForm,phoneNumber:"202-828-0400"},[y.Roles.CD]:{form:y.SecondaryForm,phoneNumber:"202-828-0400"},[y.Roles.Other]:{form:y.SecondaryForm,phoneNumber:"202-828-0400"}},[y.Services.Convey]:{[y.Roles.PREMED]:{form:y.ConveyOther,phoneNumber:"202-909-2001"},[y.Roles.Student]:{form:y.ConveyOther,phoneNumber:"202-909-2001"},[y.Roles.MedicalFaculty]:{form:y.ConveyOther,phoneNumber:"202-909-2001"},[y.Roles.InstFaculty]:{form:y.ConveyOther,phoneNumber:"202-909-2001"},[y.Roles.ProgramDirector]:{form:y.ConveyOther,phoneNumber:"202-909-2001"},[y.Roles.GMEOfficial]:{form:y.ConveyOther,phoneNumber:"202-909-2001"},[y.Roles.LA]:{form:y.ConveyOther,phoneNumber:"202-909-2001"},[y.Roles.HPA]:{form:y.ConveyOther,phoneNumber:"202-909-2001"},[y.Roles.CD]:{form:y.ConveyOther,phoneNumber:"202-909-2001"},[y.Roles.Other]:{form:y.ConveyOther,phoneNumber:"202-909-2001"}},[y.Services.ERAS]:{[y.Roles.PREMED]:{form:y.ErasOther,phoneNumber:"202-862-6264"},[y.Roles.Student]:{form:y.ErasMed,phoneNumber:"202-862-6264"},[y.Roles.MedicalFaculty]:{form:y.ErasFac,phoneNumber:"202-862-6249"},[y.Roles.InstFaculty]:{form:y.ErasFao,phoneNumber:"202-862-6298"},[y.Roles.ProgramDirector]:{form:y.ErasRes,phoneNumber:"202-828-0413"},[y.Roles.GMEOfficial]:{form:y.ErasGme,phoneNumber:"202-828-0413"},[y.Roles.LA]:{form:y.ErasLet,phoneNumber:"202-862-6298"},[y.Roles.HPA]:{form:y.ErasOther,phoneNumber:"202-828-0950"},[y.Roles.CD]:{form:y.ErasOther,phoneNumber:"202-862-6298"},[y.Roles.Other]:{form:y.ErasOther,phoneNumber:"202-828-0400"}},[y.Services.FAP]:{[y.Roles.PREMED]:{form:y.FeePre,phoneNumber:"202-828-0600"},[y.Roles.Student]:{form:y.SecondaryForm,phoneNumber:"202-828-0600"},[y.Roles.MedicalFaculty]:{form:y.SecondaryForm,phoneNumber:"202-828-0600"},[y.Roles.InstFaculty]:{form:y.SecondaryForm,phoneNumber:"202-828-0600"},[y.Roles.ProgramDirector]:{form:y.SecondaryForm,phoneNumber:"202-828-0600"},[y.Roles.GMEOfficial]:{form:y.SecondaryForm,phoneNumber:"202-828-0600"},[y.Roles.LA]:{form:y.SecondaryForm,phoneNumber:"202-828-0600"},[y.Roles.HPA]:{form:y.SecondaryForm,phoneNumber:"202-828-0950"},[y.Roles.CD]:{form:y.SecondaryForm,phoneNumber:"202-828-0600"},[y.Roles.Other]:{form:y.SecondaryForm,phoneNumber:"202-828-0600"}}
3843,[y.Services.GME]:{[y.Roles.PREMED]:{form:y.GmeOther,phoneNumber:"202-862-6171"},[y.Roles.Student]:{form:y.GmeOther,phoneNumber:"202-862-6171"},[y.Roles.MedicalFaculty]:{form:y.GmeOther,phoneNumber:"202-862-6171"},[y.Roles.InstFaculty]:{form:y.GmeOther,phoneNumber:"202-862-6171"},[y.Roles.ProgramDirector]:{form:y.GmeOther,phoneNumber:"202-862-6171"},[y.Roles.GMEOfficial]:{form:y.GmeOther,phoneNumber:"202-862-6171"},[y.Roles.LA]:{form:y.GmeOther,phoneNumber:"202-862-6171"},[y.Roles.HPA]:{form:y.GmeOther,phoneNumber:"202-862-6171"},[y.Roles.CD]:{form:y.GmeOther,phoneNumber:"202-862-6171"},[y.Roles.Other]:{form:y.GmeOther,phoneNumber:"202-862-6171"}},[y.Services.MCATOfficial]:{[y.Roles.PREMED]:{form:y.PubOther,phoneNumber:"202-828-0600"},[y.Roles.Student]:{form:y.PubOther,phoneNumber:"202-828-0600"},[y.Roles.MedicalFaculty]:{form:y.PubOther,phoneNumber:"202-828-0600"},[y.Roles.InstFaculty]:{form:y.PubOther,phoneNumber:"202-828-0600"},[y.Roles.ProgramDirector]:{form:y.PubOther,phoneNumber:"202-828-0600"},[y.Roles.GMEOfficial]:{form:y.PubOther,phoneNumber:"202-828-0600"},[y.Roles.LA]:{form:y.PubOther,phoneNumber:"202-828-0600"},[y.Roles.HPA]:{form:y.PubOther,phoneNumber:"202-828-0950"},[y.Roles.CD]:{form:y.PubOther,phoneNumber:"202-828-0600"},[y.Roles.Other]:{form:y.PubOther,phoneNumber:"202-828-0600"}},[y.Services.MCAT]:{[y.Roles.PREMED]:{form:y.McatPre,phoneNumber:"202-828-0600"},[y.Roles.Student]:{form:y.McatOther,phoneNumber:"202-828-0600"},[y.Roles.MedicalFaculty]:{form:y.McatFac,phoneNumber:"202-828-0600"},[y.Roles.InstFaculty]:{form:y.McatFao,phoneNumber:"202-828-0600"},[y.Roles.ProgramDirector]:{form:y.McatOther,phoneNumber:"202-828-0600"},[y.Roles.GMEOfficial]:{form:y.McatOther,phoneNumber:"202-828-0600"},[y.Roles.LA]:{form:y.McatOther,phoneNumber:"202-828-0600"},[y.Roles.HPA]:{form:y.McatHea,phoneNumber:"202-828-0950"},[y.Roles.CD]:{form:y.McatOther,phoneNumber:"202-828-0600"},[y.Roles.Other]:{form:y.McatOther,phoneNumber:"202-828-0600"}},[y.Services.MC]:{[y.Roles.PREMED]:{form:y.MemberOther,phoneNumber:"202-828-0400"},[y.Roles.Student]:{form:y.MemberOther,phoneNumber:"202-828-0400"},[y.Roles.MedicalFaculty]:{form:y.MemberOther,phoneNumber:"202-828-0400"},[y.Roles.InstFaculty]:{form:y.MemberOther,phoneNumber:"202-828-0400"},[y.Roles.ProgramDirector]:{form:y.MemberOther,phoneNumber:"202-828-0400"},[y.Roles.GMEOfficial]:{form:y.MemberOther,phoneNumber:"202-828-0400"},[y.Roles.LA]:{form:y.MemberOther,phoneNumber:"202-828-0400"},[y.Roles.HPA]:{form:y.MemberOther,phoneNumber:"202-828-0950"},[y.Roles.CD]:{form:y.MemberOther,phoneNumber:"202-909-2001"},[y.Roles.Other]:{form:y.MemberOther,phoneNumber:"202-828-0400"}},[y.Services.MSAR]:{[y.Roles.PREMED]:{form:y.SecondaryForm,phoneNumber:"202-828-0400"},[y.Roles.Student]:{form:y.SecondaryForm,phoneNumber:"202-828-0400"},[y.Roles.MedicalFaculty]:{form:y.SecondaryForm,phoneNumber:"202-828-0400"},[y.Roles.InstFaculty]:{form:y.SecondaryForm,phoneNumber:"202-828-0400"},[y.Roles.ProgramDirector]:{form:y.SecondaryForm,phoneNumber:"202-828-0400"},[y.Roles.GMEOfficial]:{form:y.SecondaryForm,phoneNumber:"202-828-0400"},[y.Roles.LA]:{form:y.SecondaryForm,phoneNumber:"202-828-0400"},[y.Roles.HPA]:{form:y.SecondaryForm,phoneNumber:"202-828-0950"},[y.Roles.CD]:{form:y.SecondaryForm,phoneNumber:"202-828-0400"},[y.Roles.Other]:{form:y.SecondaryForm,phoneNumber:"202-828-0400"}},[y.Services.RE]:{[y.Roles.PREMED]:{form:y.ReOther,phoneNumber:""},[y.Roles.Student]:{form:y.ReOther,phoneNumber:""},[y.Roles.MedicalFaculty]:{form:y.ReOther,phoneNumber:""},[y.Roles.InstFaculty]:{form:y.ReOther,phoneNumber:""},[y.Roles.ProgramDirector]:{form:y.ReOther,phoneNumber:""},[y.Roles.GMEOfficial]:{form:y.ReOther,phoneNumber:""},[y.Roles.LA]:{form:y.ReOther,phoneNumber:""},[y.Roles.HPA]:{form:y.ReOther,phoneNumber:""},[y.Roles.CD]:{form:y.ReOther,phoneNumber:""},[y.Roles.Other]:{form:y.ReOther,phoneNumber:""}},[y.Services.SHPEP]:{[y.Roles.PREMED]:{form:y.ShpepPre,phoneNumber:"866-587-6337"},[y.Roles.Student]:{form:null,phoneNumber:"866-587-6337"},[y.Roles.MedicalFaculty]:{form:y.ShpepFac,phoneNumber:"866-587-6337"},[y.Roles.InstFaculty]:{form:y.ShpepFao,phoneNumber:"866-587-6337"},[y.Roles.ProgramDirector]:{form:null,phoneNumber:"866-587-6337"},[y.Roles.GMEOfficial]:{form:null,phoneNumber:"866-587-6337"},[y.Roles.LA]:{form:y.SecondaryForm,phoneNumber:"866-587-6337"},[y.Roles.HPA]:{form:y.OtherGeneric,phoneNumber:"866-587-6337"},[y.Roles.CD]:{form:null,phoneNumber:"866-587-6337"},[y.Roles.Other]:{form:null,phoneNumber:"866-587-6337"}},[y.Services.VSLO]:{[y.Roles.PREMED]:{form:y.SecondaryForm,phoneNumber:"202-478-9878"},[y.Roles.Student]:{form:y.SecondaryForm,phoneNumber:"202-478-9878"},[y.Roles.MedicalFaculty]:{form:y.SecondaryForm,phoneNumber:"202-478-9878"},[y.Roles.InstFaculty]:{form:y.SecondaryForm,phoneNumber:"202-478-9878"},[y.Roles.ProgramDirector]:{form:y.SecondaryForm,phoneNumber:"202-478-9878"},[y.Roles.GMEOfficial]:{form:y.SecondaryForm,phoneNumber:"202-478-9878"},[y.Roles.LA]:{form:y.SecondaryForm,phoneNumber:"202-478-9878"},[y.Roles.HPA]:{form:y.SecondaryForm,phoneNumber:"202-478-9878"},[y.Roles.CD]:{form:y.SecondaryForm,phoneNumber:"202-478-9878"},[y.Roles.Other]:{form:y.SecondaryForm,phoneNumber:"202-478-9878"}},[y.Services.Other]:{[y.Roles.PREMED]:{form:y.OtherGeneric,phoneNumber:"202-828-0600"},[y.Roles.Student]:{form:y.OtherGeneric,phoneNumber:"202-862-6264"},[y.Roles.MedicalFaculty]:{form:y.OtherGeneric,phoneNumber:"202-828-0400"},[y.Roles.InstFaculty]:{form:y.OtherGeneric,phoneNumber:"202-828-0400"},[y.Roles.ProgramDirector]:{form:y.OtherGeneric,phoneNumber:"202-828-0413"},[y.Roles.GMEOfficial]:{form:y.OtherGeneric,phoneNumber:"202-862-6171"},[y.Roles.LA]:{form:y.OtherGeneric,phoneNumber:"202-828-0400"},[y.Roles.HPA]:{form:y.OtherGeneric,phoneNumber:"202-828-0950"},[y.Roles.CD]:{form:y.OtherGeneric,phoneNumber:"202-909-2001"},[y.Roles.Other]:{form:y.OtherGeneric,phoneNumber:"202-828-0400"}}},g3={aamc_id:!1,aamc_institution_id:!1,dob:!1,username:!1,amca_apply:!1,amcas_letter:!1,last_login:!1,convey_date:!1,address:!1,applicant_type:!1,applicant_name:!1,applicant_aamc_id:!1,usmle_id:!1,myeras_token_id:!1,nrmp_i
3843d:!1,letter_id:!1,letter_author_name:!1,author_or_uploade:!1,institution_accredation_id:!1,institution_name:!1,program_institution_nam:!1,specialty:!1,eras_access:!1,eam_id:!1,accredation_id:!1,dio_dme_name:!1,sponsor_institution_name:!1,sponsor_accredation_id:!1,mcat_reg_date:!1,fee_benefits:!1,fee_address:!1,mcat_test_center:!1,committee:!1,shpep_id:!1,shpep_username:!1,shpep_address:!1};var _3=(()=>{class t{set selectedService(e){this._selectedService=e}get selectedService(){return this._selectedService}set description(e){this._description=e}get description(){return this._description}set name(e){this._name=e}get name(){return this._name}constructor(){this.config=d(yr),this.returnUrl=window.location.href+"thanks",this.salesForceConfig=this.config.salesForceValues}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["act-help-contact-form-hidden"]],inputs:{selectedService:"selectedService",description:"description",name:"name"},decls:10,vars:10,consts:[["type","hidden","id","orgid","name","orgid",3,"value"],["id","origin","name","origin","type","hidden",3,"value"],["id","status","name","status","type","hidden",3,"value"],["id","subject","name","subject","type","hidden",3,"value"],["id","recordType","name","recordType","type","hidden",3,"value"],["type","hidden","id","external","name","external",3,"value"],["type","hidden","name","retURL","id","retURL",3,"value"],["type","hidden","id","00NU0000003Kk4d","name","00NU0000003Kk4d","title","Service/System",3,"value"],["id","description","name","description","type","hidden",3,"value"],["id","name","maxlength","80","name","name","size","20","type","hidden",3,"value"]],template:function(n,r){n&1&&On(0,"input",0)(1,"input",1)(2,"input",2)(3,"input",3)(4,"input",4)(5,"input",5)(6,"input",6)(7,"input",7)(8,"input",8)(9,"input",9),n&2&&(wt("value",r.salesForceConfig.origId),f(),wt("value",r.salesForceConfig.origin),f(),wt("value",r.salesForceConfig.status),f(),wt("value",r.salesForceConfig.subject),f(),wt("value",r.salesForceConfig.recordType),f(),wt("value",r.salesForceConfig.external),f(),wt("value",r.returnUrl),f(),wt("value",r.selectedService),f(),wt("value",r.description),f(),wt("value",r.name))},encapsulation:2})}}return t})();var Nd=new T("MAT_DATE_LOCALE",{providedIn:"root",factory:()=>d(Vc)}),Qh="Method not implemented",gn=class{locale;_localeChanges=new V;localeChanges=this._localeChanges;setTime(i,e,n,r){throw new Error(Qh)}getHours(i){throw new Error(Qh)}getMinutes(i){throw new Error(Qh)}getSeconds(i){throw new Error(Qh)}parseTime(i,e){throw new Error(Qh)}addSeconds(i,e){throw new Error(Qh)}getValidDateOrNull(i){return this.isDateInstance(i)&&this.isValid(i)?i:null}deserialize(i){return i==null||this.isDateInstance(i)&&this.isValid(i)?i:this.invalid()}setLocale(i){this.locale=i,this._localeChanges.next()}compareDate(i,e){return this.getYear(i)-this.getYear(e)||this.getMonth(i)-this.getMonth(e)||this.getDate(i)-this.getDate(e)}compareTime(i,e){return this.getHours(i)-this.getHours(e)||this.getMinutes(i)-this.getMinutes(e)||this.getSeconds(i)-this.getSeconds(e)}sameDate(i,e){if(i&&e){let n=this.isValid(i),r=this.isValid(e);return n&&r?!this.compareDate(i,e):n==r}return i==e}sameTime(i,e){if(i&&e){let n=this.isValid(i),r=this.isValid(e);return n&&r?!this.compareTime(i,e):n==r}return i==e}clampDate(i,e,n){return e&&this.compareDate(i,e)<0?e:n&&this.compareDate(i,n)>0?n:i}},Gr=new T("mat-date-formats");var Zle=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,Kle=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function gA(t,i){let e=Array(t);for(let n=0;n<t;n++)e[n]=i(n);return e}var Xle=(()=>{class t extends gn{_matDateLocale=d(Nd,{optional:!0});constructor(){super();let e=d(Nd,{optional:!0});e!==void 0&&(this._matDateLocale=e),super.setLocale(this._matDateLocale)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){let n=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return gA(12,r=>this._format(n,new Date(2017,r,1)))}getDateNames(){let e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return gA(31,n=>this._format(e,new Date(2017,0,n+1)))}getDayOfWeekNames(e){let n=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return gA(7,r=>this._format(n,new Date(2017,0,r+1)))}getYearName(e){let n=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(n,e)}getFirstDayOfWeek(){if(typeof Intl<"u"&&Intl.Locale){let e=new Intl.Locale(this.locale),n=(e.getWeekInfo?.()||e.weekInfo)?.firstDay??0;return n===7?0:n}return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,n,r){let o=this._createDateWithOverflow(e,n,r);return o.getMonth()!=n,o}today(){return new Date}parse(e,n){return typeof e=="number"?new Date(e):e?new Date(Date.parse(e)):null}format(e,n){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");let r=new Intl.DateTimeFormat(this.locale,Y(x({},n),{timeZone:"utc"}));return this._format(r,e)}addCalendarYears(e,n){return this.addCalendarMonths(e,n*12)}addCalendarMonths(e,n){let r=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+n,this.getDate(e));return this.getMonth(r)!=((this.getMonth(e)+n)%12+12)%12&&(r=this._createDateWithOverflow(this.getYear(r),this.getMonth(r),0)),r}addCalendarDays(e,n){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+n)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if(typeof e=="string"){if(!e)return null;if(Zle.test(e)){let n=new Date(e);if(this.isValid(n))return n}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}setTime(e,n,r,o){let a=this.clone(e);return a.setHours(n,r,o,0),a}getHours(e){return e.getHours()}getMinutes(e){return e.getMinutes()}getSeconds(e){return e.getSeconds()}parseTime(e,n){if(typeof e!="string")return e instanceof Date?new Date(e.getTime()):null;let r=e.trim();if(r.length===0)return null;let o=this._parseTimeString(r);if(o===null){let a=r.replace(/[^0-9:(AM|PM)]/gi,"").trim();a.length>0&&(o=this._parseTimeString(a))}return o||this.invalid()}addSeconds(e,n){return new Date(e.getTime()+n*1e3)}_createDateWithOverflow(e,n,r){let o=new Date;return o.setFullYear(e,n,r),o.setHours(0,0,0,0),o}_2digit(e){return("00"+e).slice(-2)}_format(e,n){let r=new Date;return r.setUTCFullYear(n.getFullYear(),n.getMonth(),n.getDate()),r.setUTCHours(n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()),e.format(r)}_parseTimeString(e){let n=e.toUpperCase().match(Kle);if(n){let r=parseInt(n[1]),o=parseInt(n[2]),a=n[3]==null?void 0:parseInt(n[3]),s=n[4];if(r===12?r=s==="AM"?0:r:s==="PM"&&(r+=12),_A(r,0,23)&&_A(o,0,59)&&(a==null||_A(a,0,59)))return this.setTime(this.today(),r,o,a||0)}return null}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac})}return t})();function _A(t,i,e){return!isNaN(t)&&t>=i&&t<=e}var Jle={parse:{dateInput:null,timeInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},timeInput:{hour:"numeric",minute:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"},timeOptionLabel:{hour:"numeric",minute:"numeric"}}};var v3=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({providers:[ece()]})}return t})();function ece(t=Jle){return[{provide:gn,useClass:Xle},{provide:Gr,useValue:t}]}var vA=new T("MAT_LUXON_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:()=>
3843({useUtc:!1,defaultOutputCalendar:"gregory"})});function tce(t,i){let e=Array(t);for(let n=0;n<t;n++)e[n]=i(n);return e}var yA=(()=>{class t extends gn{_useUTC;_firstDayOfWeek;_defaultOutputCalendar;constructor(){super();let e=d(Nd,{optional:!0}),n=d(vA,{optional:!0});this._useUTC=!!n?.useUtc,this._firstDayOfWeek=n?.firstDayOfWeek,this._defaultOutputCalendar=n?.defaultOutputCalendar||"gregory",this.setLocale(e||_t.local().locale)}getYear(e){return e.year}getMonth(e){return e.month-1}getDate(e){return e.day}getDayOfWeek(e){return e.weekday}getMonthNames(e){return ss.months(e,{locale:this.locale,outputCalendar:this._defaultOutputCalendar})}getDateNames(){let e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return tce(31,n=>e.format(_t.utc(2017,1,n+1).toJSDate()))}getDayOfWeekNames(e){let n=ss.weekdays(e,{locale:this.locale});return n.unshift(n.pop()),n}getYearName(e){return e.toFormat("yyyy",this._getOptions())}getFirstDayOfWeek(){return this._firstDayOfWeek??ss.getStartOfWeek({locale:this.locale})}getNumDaysInMonth(e){return e.daysInMonth}clone(e){return _t.fromObject(e.toObject(),this._getOptions())}createDate(e,n,r){let o=this._getOptions();if(n<0||n>11)throw Error(`Invalid month index "${n}". Month index has to be between 0 and 11.`);if(r<1)throw Error(`Invalid date "${r}". Date has to be greater than 0.`);let a=this._useUTC?_t.utc(e,n+1,r,o):_t.local(e,n+1,r,o);if(!this.isValid(a))throw Error(`Invalid date "${r}". Reason: "${a.invalidReason}".`);return a}today(){let e=this._getOptions();return this._useUTC?_t.utc(e):_t.local(e)}parse(e,n){let r=this._getOptions();if(typeof e=="string"&&e.length>0){let o=_t.fromISO(e,r);if(this.isValid(o))return o;let a=Array.isArray(n)?n:[n];if(!n.length)throw Error("Formats array must not be empty.");for(let s of a){let l=_t.fromFormat(e,s,r);if(this.isValid(l))return l}return this.invalid()}else{if(typeof e=="number")return _t.fromMillis(e,r);if(e instanceof Date)return _t.fromJSDate(e,r);if(e instanceof _t)return _t.fromMillis(e.toMillis(),r)}return null}format(e,n){if(!this.isValid(e))throw Error("LuxonDateAdapter: Cannot format invalid date.");return this._useUTC?e.setLocale(this.locale).setZone("utc").toFormat(n):e.setLocale(this.locale).toFormat(n)}addCalendarYears(e,n){return e.reconfigure(this._getOptions()).plus({years:n})}addCalendarMonths(e,n){return e.reconfigure(this._getOptions()).plus({months:n})}addCalendarDays(e,n){return e.reconfigure(this._getOptions()).plus({days:n})}toIso8601(e){return e.toISO()}deserialize(e){let n=this._getOptions(),r;if(e instanceof Date&&(r=_t.fromJSDate(e,n)),typeof e=="string"){if(!e)return null;r=_t.fromISO(e,n)}return r&&this.isValid(r)?r:super.deserialize(e)}isDateInstance(e){return e instanceof _t}isValid(e){return e.isValid}invalid(){return _t.invalid("Invalid Luxon DateTime object.")}setTime(e,n,r,o){return this.clone(e).set({hour:n,minute:r,second:o,millisecond:0})}getHours(e){return e.hour}getMinutes(e){return e.minute}getSeconds(e){return e.second}parseTime(e,n){let r=this.parse(e,n);return(!r||!this.isValid(r))&&typeof e=="string"&&this.parse(e.replace(/[^0-9:(AM|PM)]/gi,""),n)||r}addSeconds(e,n){return e.reconfigure(this._getOptions()).plus({seconds:n})}_getOptions(){return{zone:this._useUTC?"utc":void 0,locale:this.locale,outputCalendar:this._defaultOutputCalendar}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac})}return t})(),nce={parse:{dateInput:"D",timeInput:"t"},display:{dateInput:"D",timeInput:"t",monthYearLabel:"LLL yyyy",dateA11yLabel:"DD",monthYearA11yLabel:"LLLL yyyy",timeOptionLabel:"t"}};var y3=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({providers:[ice()]})}return t})();function ice(t=nce){return[{provide:gn,useClass:yA},{provide:Gr,useValue:t}]}var oce=["mat-calendar-body",""];function ace(t,i){return this._trackRow(i)}var E3=(t,i)=>i.id;function sce(t,i){if(t&1&&(Tt(0,"tr",0)(1,"td",3),I(2),Ut()()),t&2){let e=v();f(),Rn("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),N("colspan",e.numCols),f(),pe(" ",e.label," ")}}function lce(t,i){if(t&1&&(Tt(0,"td",3),I(1),Ut()),t&2){let e=v(2);Rn("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),N("colspan",e._firstRowOffset),f(),pe(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function cce(t,i){if(t&1){let e=le();Tt(0,"td",6)(1,"button",7),vl("click",function(r){let o=B(e).$implicit,a=v(2);return U(a._cellClicked(o,r))})("focus",function(r){let o=B(e).$implicit,a=v(2);return U(a._emitActiveDateChange(o,r))}),Tt(2,"span",8),I(3),Ut(),On(4,"span",9),Ut()()}if(t&2){let e=i.$implicit,n=i.$index,r=v().$index,o=v();Rn("width",o._cellWidth)("padding-top",o._cellPadding)("padding-bottom",o._cellPadding),N("data-mat-row",r)("data-mat-col",n),f(),bn(e.cssClasse
3843s),ie("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",o._isActiveCell(r,n))("mat-calendar-body-range-start",o._isRangeStart(e.compareValue))("mat-calendar-body-range-end",o._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",o._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",o._isComparisonBridgeStart(e.compareValue,r,n))("mat-calendar-body-comparison-bridge-end",o._isComparisonBridgeEnd(e.compareValue,r,n))("mat-calendar-body-comparison-start",o._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",o._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",o._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",o._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",o._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",o._isInPreview(e.compareValue)),wt("tabIndex",o._isActiveCell(r,n)?0:-1),N("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",o._isSelected(e.compareValue))("aria-current",o.todayValue===e.compareValue?"date":null)("aria-describedby",o._getDescribedby(e.compareValue)),f(),ie("mat-calendar-body-selected",o._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",o._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",o.todayValue===e.compareValue),f(),pe(" ",e.displayValue," ")}}function dce(t,i){if(t&1&&(Tt(0,"tr",1),E(1,lce,2,6,"td",4),tt(2,cce,5,49,"td",5,E3),Ut()),t&2){let e=i.$implicit,n=i.$index,r=v();f(),S(n===0&&r._firstRowOffset?1:-1),f(),nt(e)}}function uce(t,i){if(t&1&&(g(0,"th",2)(1,"span",6),I(2),_(),g(3,"span",3),I(4),_()()),t&2){let e=i.$implicit;f(2),qe(e.long),f(2),qe(e.narrow)}}var hce=["*"];function fce(t,i){}function mce(t,i){if(t&1){let e=le();g(0,"mat-month-view",4),Nr("activeDateChange",function(r){B(e);let o=v();return to(o.activeDate,r)||(o.activeDate=r),U(r)}),P("_userSelection",function(r){B(e);let o=v();return U(o._dateSelected(r))})("dragStarted",function(r){B(e);let o=v();return U(o._dragStarted(r))})("dragEnded",function(r){B(e);let o=v();return U(o._dragEnded(r))}),_()}if(t&2){let e=v();Or("activeDate",e.activeDate),w("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("startDateAccessibleName",e.startDateAccessibleName)("endDateAccessibleName",e.endDateAccessibleName)("activeDrag",e._activeDrag)}}function pce(t,i){if(t&1){let e=le();g(0,"mat-year-view",5),Nr("activeDateChange",function(r){B(e);let o=v();return to(o.activeDate,r)||(o.activeDate=r),U(r)}),P("monthSelected",function(r){B(e);let o=v();return U(o._monthSelectedInYearView(r))})("selectedChange",function(r){B(e);let o=v();return U(o._goToDateInView(r,"month"))}),_()}if(t&2){let e=v();Or("activeDate",e.activeDate),w("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function gce(t,i){if(t&1){let e=le();g(0,"mat-multi-year-view",6),Nr("activeDateChange",function(r){B(e);let o=v();return to(o.activeDate,r)||(o.activeDate=r),U(r)}),P("yearSelected",function(r){B(e);let o=v();return U(o._yearSelectedInMultiYearView(r))})("selectedChange",function(r){B(e);let o=v();return U(o._goToDateInView(r,"year"))}),_()}if(t&2){let e=v();Or("activeDate",e.activeDate),w("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function _ce(t,i){}var vce=["button"],yce=[[["","matDatepickerToggleIcon",""]]],bce=["[matDatepickerToggleIcon]"];function Cce(t,i){t&1&&(Ho(),g(0,"svg",2),O(1,"path",3),_())}var wce=[[["input","matStartDate",""]],[["input","matEndDate",""]]],xce=["input[matStartDate]","input[matEndDate]"];var Xh=(()=>{class t{changes=new V;calendarLabel="Calendar";openCalendarLabel="Open calendar";closeCalendarLabel="Close calendar";prevMonthLabel="Previous month";nextMonthLabel="Next month";prevYearLabel="Previous year";nextYearLabel="Next year";prevMultiYearLabel="Previous 24 years";nextMultiYearLabel="Next 24 years";
3843switchToMonthViewLabel="Choose date";switchToMultiYearViewLabel="Choose month and year";startDateLabel="Start date";endDateLabel="End date";comparisonDateLabel="Comparison range";formatYearRange(e,n){return`${e} \u2013 ${n}`}formatYearRangeLabel(e,n){return`${e} to ${n}`}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Dce=0,gg=class{value;displayValue;ariaLabel;enabled;compareValue;rawValue;id=Dce++;cssClasses;constructor(i,e,n,r,o,a=i,s){this.value=i,this.displayValue=e,this.ariaLabel=n,this.enabled=r,this.compareValue=a,this.rawValue=s,this.cssClasses=o instanceof Set?Array.from(o):o}},Mce={passive:!1,capture:!0},pC={passive:!0,capture:!0},b3={passive:!0},Kh=(()=>{class t{_elementRef=d(Q);_ngZone=d(ne);_platform=d(st);_intl=d(Xh);_eventCleanups;_skipNextFocus=!1;_focusActiveCellAfterViewChecked=!1;label;rows;todayValue;startValue;endValue;labelMinRequiredCells;numCols=7;activeCell=0;ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}isRange=!1;cellAspectRatio=1;comparisonStart=null;comparisonEnd=null;previewStart=null;previewEnd=null;startDateAccessibleName=null;endDateAccessibleName=null;selectedValueChange=new z;previewChange=new z;activeDateChange=new z;dragStarted=new z;dragEnded=new z;_firstRowOffset;_cellPadding;_cellWidth;_startDateLabelId;_endDateLabelId;_comparisonStartDateLabelId;_comparisonEndDateLabelId;_didDragSinceMouseDown=!1;_injector=d(he);comparisonDateAccessibleName=this._intl.comparisonDateLabel;_trackRow=e=>e;constructor(){let e=d(Ge),n=d(Et);this._startDateLabelId=n.getId("mat-calendar-body-start-"),this._endDateLabelId=n.getId("mat-calendar-body-end-"),this._comparisonStartDateLabelId=n.getId("mat-calendar-body-comparison-start-"),this._comparisonEndDateLabelId=n.getId("mat-calendar-body-comparison-end-"),d(dn).load(Ja),this._ngZone.runOutsideAngular(()=>{let r=this._elementRef.nativeElement,o=[e.listen(r,"touchmove",this._touchmoveHandler,Mce),e.listen(r,"mouseenter",this._enterHandler,pC),e.listen(r,"focus",this._enterHandler,pC),e.listen(r,"mouseleave",this._leaveHandler,pC),e.listen(r,"blur",this._leaveHandler,pC),e.listen(r,"mousedown",this._mousedownHandler,b3),e.listen(r,"touchstart",this._mousedownHandler,b3)];this._platform.isBrowser&&o.push(e.listen("window","mouseup",this._mouseupHandler),e.listen("window","touchend",this._touchendHandler)),this._eventCleanups=o})}_cellClicked(e,n){this._didDragSinceMouseDown||e.enabled&&this.selectedValueChange.emit({value:e.value,event:n})}_emitActiveDateChange(e,n){e.enabled&&this.activeDateChange.emit({value:e.value,event:n})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){let n=e.numCols,{rows:r,numCols:o}=this;(e.rows||n)&&(this._firstRowOffset=r&&r.length&&r[0].length?o-r[0].length:0),(e.cellAspectRatio||n||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/o}%`),(n||!this._cellWidth)&&(this._cellWidth=`${100/o}%`)}ngOnDestroy(){this._eventCleanups.forEach(e=>e())}_isActiveCell(e,n){let r=e*this.numCols+n;return e&&(r-=this._firstRowOffset),r==this.activeCell}_focusActiveCell(e=!0){en(()=>{setTimeout(()=>{let n=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");n&&(e||(this._skipNextFocus=!0),n.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return wA(e,this.startValue,this.endValue)}_isRangeEnd(e){return xA(e,this.startValue,this.endValue)}_isInRange(e){return DA(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return wA(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,n,r){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let o=this.rows[n][r-1];if(!o){let a=this.rows[n-1];o=a&&a[a.length-1]}return o&&!this._isRangeEnd(o.compareValue)}_isComparisonBridgeEnd(e,n,r){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let o=this.rows[n][r+1];if(!o){let a=this.rows[n+1];o=a&&a[0]}return o&&!this._isRangeStart(o.compareValue)}_isComparisonEnd(e){return xA(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return DA(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return wA(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return xA(e,this.previewStart,this.previewEnd)}_isInPreview(e){return DA(e,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(e){if(!this.isRange)return null;if(this.startValue===e&&this.endValue===e)return`${this._startDateLabelId} ${this._endDateLabelId}`;if(this.startValue===e)return this._startDateLabelId;if(this.endValue===e)return this._endDateLabelId;if(this.comparisonStart!==null&&this.comparisonEnd!==null){if(e===this.comparisonStart&&e===this.comparisonEnd)return`${this._comparisonStartDateLabelId} ${this._comparisonEndDateLabelId}`;if(e===this.comparisonStart)return this._comparisonStartDateLabelId;if(e===this.comparisonEnd)return this._comparisonEndDateLabelId}return null}_enterHandler=e=>{if(this._skipNextFocus&&e.type==="focus"){this._skipNextFocus=!1;return}if(e.target&&this.isRange){let n=this._getCellFromElement(e.target);n&&this._ngZone.run(()=>this.previewChange.emit({value:n.enabled?n:null,event:e}))}};_touchmoveHandler=e=>{if(!this.isRange)return;let n=C3(e),r=n?this._getCellFromElement(n):null;n!==e.target&&(this._didDragSinceMouseDown=!0),CA(e.target)&&e.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:r?.enabled?r:null,event:e}))};_leaveHandler=e=>{this.previewEnd!==null&&this.isRange&&(e.type!=="blur"&&(this._didDragSinceMouseDown=!0),e.target&&this._getCellFromElement(e.target)&&!(e.relatedTarget&&this._getCellFromElement(e.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:e})))};_mousedownHandler=e=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let n=e.target&&this._getCellFromElement(e.target);!n||!this._isInRange(n.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:n.rawValue,event:e})})};_mouseupHandler=e=>{if(!this.isRange)return;let n=CA(e.target);if(!n){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:e})});return}n.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let r=this._getCellFromElement(n);this.dragEnded.emit({value:r?.rawValue??null,event:e})})};_touchendHandler=e=>{let n=C3(e);n&&this._mouseupHandler({target:n})};_getCellFromElement(e){let n=CA(e);if(n){let r=n.getAttribute("data-mat-row"),o=n.getAttribute("data-mat-col");if(r&&o)return this.rows[parseInt(r)]?.[parseInt(o)]||null}return null}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numC
3843ols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[Ze],attrs:oce,decls:11,vars:11,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(n,r){n&1&&(E(0,sce,3,6,"tr",0),tt(1,dce,4,1,"tr",1,ace,!0),Tt(3,"span",2),I(4),Ut(),Tt(5,"span",2),I(6),Ut(),Tt(7,"span",2),I(8),Ut(),Tt(9,"span",2),I(10),Ut()),n&2&&(S(r._firstRowOffset<r.labelMinRequiredCells?0:-1),f(),nt(r.rows),f(2),wt("id",r._startDateLabelId),f(),pe(" ",r.startDateAccessibleName,` 3844`),f(),wt("id",r._endDateLabelId),f(),pe(" ",r.endDateAccessibleName,` 3845`),f(),wt("id",r._comparisonStartDateLabelId),f(),tr(" ",r.comparisonDateAccessibleName," ",r.startDateAccessibleName,` 3846`),f(),wt("id",r._comparisonEndDateLabelId),f(),tr(" ",r.comparisonDateAccessibleName," ",r.endDateAccessibleName,` 3847`))},styles:[`.mat-calendar-body { 3848 min-width: 224px; 3849} 3850 3851.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) { 3852 border-color: var(--mat-datepicker-calendar-date-today-outline-color, var(--mat-sys-primary)); 3853} 3854 3855.mat-calendar-body-label { 3856 height: 0; 3857 line-height: 0; 3858 text-align: start; 3859 padding-left: 4.7142857143%; 3860 padding-right: 4.7142857143%; 3861 font-size: var(--mat-datepicker-calendar-body-label-text-size, var(--mat-sys-title-small-size)); 3862 font-weight: var(--mat-datepicker-calendar-body-label-text-weight, var(--mat-sys-title-small-weight)); 3863 color: var(--mat-datepicker-calendar-body-label-text-color, var(--mat-sys-on-surface)); 3864} 3865 3866.mat-calendar-body-hidden-label { 3867 display: none; 3868} 3869 3870.mat-calendar-body-cell-container { 3871 position: relative; 3872 height: 0; 3873 line-height: 0; 3874} 3875 3876.mat-calendar-body-cell { 3877 position: absolute; 3878 top: 0; 3879 left: 0; 3880 width: 100%; 3881 height: 100%; 3882 background: none; 3883 text-align: center; 3884 outline: none; 3885 margin: 0; 3886 font-family: var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font)); 3887 font-size: var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size)); 3888 -webkit-user-select: none; 3889 user-select: none; 3890 cursor: pointer; 3891 outline: none; 3892 border: none; 3893 -webkit-tap-highlight-color: transparent; 3894} 3895.mat-calendar-body-cell::-moz-focus-inner { 3896 border: 0; 3897} 3898 3899.mat-calendar-body-cell::before, 3900.mat-calendar-body-cell::after, 3901.mat-calendar-body-cell-preview { 3902 content: ""; 3903 position: absolute; 3904 top: 5%; 3905 left: 0; 3906 z-index: 0; 3907 box-sizing: border-box; 3908 display: block; 3909 height: 90%; 3910 width: 100%; 3911} 3912 3913.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before, 3914.mat-calendar-body-range-start::after, 3915.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before, 3916.mat-calendar-body-comparison-start::after, 3917.mat-calendar-body-preview-start .mat-calendar-body-cell-preview { 3918 left: 5%; 3919 width: 95%; 3920 border-top-left-radius: 999px; 3921 border-bottom-left-radius: 999px; 3922} 3923[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before, 3924[dir=rtl] .mat-calendar-body-range-start::after, 3925[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before, 3926[dir=rtl] .mat-calendar-body-comparison-start::after, 3927[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview { 3928 left: 0; 3929 border-radius: 0; 3930 border-top-right-radius: 999px; 3931 border-bottom-right-radius: 999px; 3932} 3933
3934.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before, 3935.mat-calendar-body-range-end::after, 3936.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before, 3937.mat-calendar-body-comparison-end::after, 3938.mat-calendar-body-preview-end .mat-calendar-body-cell-preview { 3939 width: 95%; 3940 border-top-right-radius: 999px; 3941 border-bottom-right-radius: 999px; 3942} 3943[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before, 3944[dir=rtl] .mat-calendar-body-range-end::after, 3945[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before, 3946[dir=rtl] .mat-calendar-body-comparison-end::after, 3947[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview { 3948 left: 5%; 3949 border-radius: 0; 3950 border-top-left-radius: 999px; 3951 border-bottom-left-radius: 999px; 3952} 3953 3954[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after, 3955[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after { 3956 width: 95%; 3957 border-top-right-radius: 999px; 3958 border-bottom-right-radius: 999px; 3959} 3960 3961.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after, [dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after, 3962.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after, 3963[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after { 3964 width: 90%; 3965} 3966 3967.mat-calendar-body-in-preview { 3968 color: var(--mat-datepicker-calendar-date-preview-state-outline-color, var(--mat-sys-primary)); 3969} 3970.mat-calendar-body-in-preview .mat-calendar-body-cell-preview { 3971 border-top: dashed 1px; 3972 border-bottom: dashed 1px; 3973} 3974 3975.mat-calendar-body-preview-start .mat-calendar-body-cell-preview { 3976 border-left: dashed 1px; 3977} 3978[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview { 3979 border-left: 0; 3980 border-right: dashed 1px; 3981} 3982 3983.mat-calendar-body-preview-end .mat-calendar-body-cell-preview { 3984 border-right: dashed 1px; 3985} 3986[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview { 3987 border-right: 0; 3988 border-left: dashed 1px; 3989} 3990 3991.mat-calendar-body-disabled { 3992 cursor: default; 3993} 3994.mat-calendar-body-disabled > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) { 3995 color: var(--mat-datepicker-calendar-date-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 3996} 3997.mat-calendar-body-disabled > .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) { 3998 border-color: var(--mat-datepicker-calendar-date-today-disabled-state-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 3999} 4000@media (forced-colors: active) { 4001 .mat-calendar-body-disabled { 4002 opacity: 0.5; 4003 } 4004} 4005 4006.mat-calendar-body-cell-content { 4007 top: 5%; 4008 left: 5%; 4009 z-index: 1; 4010 display: flex; 4011 align-items: center; 4012 justify-content: center; 4013 box-sizing: border-box; 4014 width: 90%; 4015 height: 90%; 4016 line-height: 1; 4017 border-width: 1px; 4018 border-style: solid; 4019 border-radius: 999px; 4020 color: var(--mat-datepicker-calendar-date-text-color, var(--mat-sys-on-surface)); 4021 border-color: var(--mat-datepicker-calendar-date-outline-color, transparent); 4022} 4023.mat-calendar-body-cell-content.mat-focus-indicator { 4024 position: absolute; 4025} 4026@media (forced-colors: active) { 4027 .mat-calendar-body-cell-content { 4028 border: none; 4029 } 4030} 4031 4032.cdk-keyboard-focused .mat-calendar-body-active > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical), .cdk-program-focused .mat-calendar-body-active > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) { 4033 background-color: var(--mat-datepicker-calendar-date-focus-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent)); 4034} 4035 4036@media (hover: hover) { 4037 .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) { 4038 background-color: var(--mat-datepicker-calendar-date-hover-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent)); 4039 } 4040} 4041.mat-calendar-body-selected { 4042 background-color: var(--mat-datepicker-calendar-date-selected-state-background-color, var(--mat-sys-primary)); 4043 color: var(--mat-datepicker-calendar-date-selected-state-text-color, var(--mat-sys-on-primary)); 4044} 4045.mat-calendar-body-disabled > .mat-calendar-body-selected { 4046 background-color: var(--mat-datepicker-calendar-date-selected-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 4047} 4048.mat-calendar-body-selected.mat-calendar-body-today { 4049 box-shadow: inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color, var(--mat-sys-primary)); 4050} 4051 4052.mat-calendar-body-in-range::before { 4053 background: var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)); 4054} 4055 4056.mat-calendar-body-comparison-identical, 4057.mat-calendar-body-in-comparison-range::before { 4058 background: var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)); 4059} 4060 4061.mat-calendar-body-comparison-identical, 4062.mat-calendar-body-in-comparison-range::before { 4063 background: var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)); 4064} 4065 4066.mat-calendar-body-comparison-bridge-start::before, 4067[dir=rtl] .mat-calendar-body-comparison-bridge-end::before { 4068 background: linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%); 4069} 4070 4071.mat-calendar-body-comparison-bridge-end::before, 4072[dir=rtl] .mat-calendar-body-comparison-bridge-start::before { 4073 background: linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%); 4074} 4075 4076.mat-calendar-body-in-range > .mat-calendar-body-comparison-identical, 4077.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after { 4078 background: var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color, var(--mat-sys-secondary-container)); 4079} 4080 4081.mat-calendar-body-comparison-identical.mat-calendar-body-selected, 4082.mat-calendar-body-in-comparison-range > .mat-calendar-body-selected { 4083 background: var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color, var(--mat-sys-secondary)); 4084} 4085 4086@media (forced-colors: active) { 4087 .mat-datepicker-popup:not(:empty), 4088 .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected { 4089 outline: solid 1px; 4090 } 4091 .mat-calendar-body-today { 4092 outline: dotted 1px; 4093 } 4094 .mat-calendar-body-cell::before, 4095 .mat-calendar-body-cell::after, 4096 .mat-calendar-body-selected { 4097 background: none; 4098 } 4099 .mat-calendar-body-in-range::before, 4100 .mat-calendar-body-comparison-bridge-start::before, 4101 .mat-calendar-body-comparison-bridge-end::before { 4102 border-top: solid 1px; 4103 border-bottom: solid 1px; 4104 } 4105 .mat-calendar-body-range-start::before { 4106 border-left: solid 1px; 4107 } 4108 [dir=rtl] .mat-calendar-body-range-start::before { 4109 border-left: 0; 4110 border-right: solid 1px; 4111 } 4112 .mat-calendar-body-range-end::before { 4113 border-right: solid 1px; 4114 } 4115 [dir=rtl] .mat-calendar-body-range-end::before { 4116 border-right: 0; 4117 border-left: solid 1px; 4118 } 4119 .mat-calendar-body-in-comparison-range::before { 4120 border-top: dashed 1px; 4121 border-bottom: dashed 1px; 4122 } 4123 .mat-calendar-body-comparison-start::before { 4124 border-left: dashed 1px; 4125 } 4126 [dir=rtl] .mat-calendar-body-comparison-start::before { 4127 border-left: 0; 4128 border-right: dashed 1px; 4129 }
4130 .mat-calendar-body-comparison-end::before { 4131 border-right: dashed 1px; 4132 } 4133 [dir=rtl] .mat-calendar-body-comparison-end::before { 4134 border-right: 0; 4135 border-left: dashed 1px; 4136 } 4137} 4138`],encapsulation:2,changeDetection:0})}return t})();function bA(t){return t?.nodeName==="TD"}function CA(t){let i;return bA(t)?i=t:bA(t.parentNode)?i=t.parentNode:bA(t.parentNode?.parentNode)&&(i=t.parentNode.parentNode),i?.getAttribute("data-mat-row")!=null?i:null}function wA(t,i,e){return e!==null&&i!==e&&t<e&&t===i}function xA(t,i,e){return i!==null&&i!==e&&t>=i&&t===e}function DA(t,i,e,n){return n&&i!==null&&e!==null&&i!==e&&t>=i&&t<=e}function C3(t){let i=t.changedTouches[0];return document.elementFromPoint(i.clientX,i.clientY)}var ti=class{start;end;_disableStructuralEquivalency;constructor(i,e){this.start=i,this.end=e}},tc=(()=>{class t{selection;_adapter;_selectionChanged=new V;selectionChanged=this._selectionChanged;constructor(e,n){this.selection=e,this._adapter=n,this.selection=e}updateSelection(e,n){let r=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:n,oldValue:r})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}static \u0275fac=function(n){Oc()};static \u0275prov=M({token:t,factory:t.\u0275fac})}return t})(),Ece=(()=>{class t extends tc{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return this.selection!=null&&this._isValidDateInstance(this.selection)}isComplete(){return this.selection!=null}clone(){let e=new t(this._adapter);return e.updateSelection(this.selection,this),e}static \u0275fac=function(n){return new(n||t)(j(gn))};static \u0275prov=M({token:t,factory:t.\u0275fac})}return t})(),Sce=(()=>{class t extends tc{constructor(e){super(new ti(null,null),e)}add(e){let{start:n,end:r}=this.selection;n==null?n=e:r==null?r=e:(n=e,r=null),super.updateSelection(new ti(n,r),this)}isValid(){let{start:e,end:n}=this.selection;return e==null&&n==null?!0:e!=null&&n!=null?this._isValidDateInstance(e)&&this._isValidDateInstance(n)&&this._adapter.compareDate(e,n)<=0:(e==null||this._isValidDateInstance(e))&&(n==null||this._isValidDateInstance(n))}isComplete(){return this.selection.start!=null&&this.selection.end!=null}clone(){let e=new t(this._adapter);return e.updateSelection(this.selection,this),e}static \u0275fac=function(n){return new(n||t)(j(gn))};static \u0275prov=M({token:t,factory:t.\u0275fac})}return t})(),S3={provide:tc,useFactory:()=>d(tc,{optional:!0,skipSelf:!0})||new Ece(d(gn))},Tce={provide:tc,useFactory:()=>d(tc,{optional:!0,skipSelf:!0})||new Sce(d(gn))},gC=new T("MAT_DATE_RANGE_SELECTION_STRATEGY"),Ice=(()=>{class t{_dateAdapter;constructor(e){this._dateAdapter=e}selectionFinished(e,n){let{start:r,end:o}=n;return r==null?r=e:o==null&&e&&this._dateAdapter.compareDate(e,r)>=0?o=e:(r=e,o=null),new ti(r,o)}createPreview(e,n){let r=null,o=null;return n.start&&!n.end&&e&&(r=n.start,o=e),new ti(r,o)}createDrag(e,n,r){let o=n.start,a=n.end;if(!o||!a)return null;let s=this._dateAdapter,l=s.compareDate(o,a)!==0,c=s.getYear(r)-s.getYear(e),u=s.getMonth(r)-s.getMonth(e),h=s.getDate(r)-s.getDate(e);return l&&s.sameDate(e,n.start)?(o=r,s.compareDate(r,a)>0&&(a=s.addCalendarYears(a,c),a=s.addCalendarMonths(a,u),a=s.addCalendarDays(a,h))):l&&s.sameDate(e,n.end)?(a=r,s.compareDate(r,o)<0&&(o=s.addCalendarYears(o,c),o=s.addCalendarMonths(o,u),o=s.addCalendarDays(o,h))):(o=s.addCalendarYears(o,c),o=s.addCalendarMonths(o,u),o=s.addCalendarDays(o,h),a=s.addCalendarYears(a,c),a=s.addCalendarMonths(a,u),a=s.addCalendarDays(a,h)),new ti(o,a)}static \u0275fac=function(n){return new(n||t)(j(gn))};static \u0275prov=M({token:t,factory:t.\u0275fac})}return t})(),MA=7,Ace=0,w3=(()=>{class t{_changeDetectorRef=d(Pe);_dateFormats=d(Gr,{optional:!0});_dateAdapter=d(gn,{optional:!0});_dir=d(xn,{optional:!0});_rangeStrategy=d(gC,{optional:!0});_rerenderSubscription=Re.EMPTY;_selectionKeyPressed=!1;get activeDate(){return this._activeDate}set activeDate(e){let n=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._hasSameMonthAndYear(n,this._activeDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof ti?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}_selected=null;
4138get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate=null;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate=null;dateFilter;dateClass;comparisonStart=null;comparisonEnd=null;startDateAccessibleName=null;endDateAccessibleName=null;activeDrag=null;selectedChange=new z;_userSelection=new z;dragStarted=new z;dragEnded=new z;activeDateChange=new z;_matCalendarBody;_monthLabel=re("");_weeks=re([]);_firstWeekOffset=re(0);_rangeStart=re(null);_rangeEnd=re(null);_comparisonRangeStart=re(null);_comparisonRangeEnd=re(null);_previewStart=re(null);_previewEnd=re(null);_isRange=re(!1);_todayDate=re(null);_weekdays=re([]);constructor(){d(dn).load(_o),this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Ot(null)).subscribe(()=>this._init())}ngOnChanges(e){let n=e.comparisonStart||e.comparisonEnd;n&&!n.firstChange&&this._setRanges(this.selected),e.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){let n=e.value,r=this._getDateFromDayOfMonth(n),o,a;this._selected instanceof ti?(o=this._getDateInCurrentMonth(this._selected.start),a=this._getDateInCurrentMonth(this._selected.end)):o=a=this._getDateInCurrentMonth(this._selected),(o!==n||a!==n)&&this.selectedChange.emit(r),this._userSelection.emit({value:r,event:e.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(e){let n=e.value,r=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(n),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(e){let n=this._activeDate,r=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0,this._canSelect(this._activeDate)&&e.preventDefault();return;case 27:this._previewEnd()!=null&&!un(e)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:e}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e})),e.preventDefault(),e.stopPropagation());return;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate.set(this._getCellCompareValue(this._dateAdapter.today())),this._monthLabel.set(this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase());let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset.set((MA+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%MA),this._initWeek
4138days(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:e,value:n}){if(this._rangeStrategy){let r=n?n.rawValue:null,o=this._rangeStrategy.createPreview(r,this.selected,e);if(this._previewStart.set(this._getCellCompareValue(o.start)),this._previewEnd.set(this._getCellCompareValue(o.end)),this.activeDrag&&r){let a=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,r,e);a&&(this._previewStart.set(this._getCellCompareValue(a.start)),this._previewEnd.set(this._getCellCompareValue(a.end)))}}}_dragEnded(e){if(this.activeDrag)if(e.value){let n=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,e.value,e.event);this.dragEnded.emit({value:n??null,event:e.event})}else this.dragEnded.emit({value:null,event:e.event})}_getDateFromDayOfMonth(e){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),e)}_initWeekdays(){let e=this._dateAdapter.getFirstDayOfWeek(),n=this._dateAdapter.getDayOfWeekNames("narrow"),o=this._dateAdapter.getDayOfWeekNames("long").map((a,s)=>({long:a,narrow:n[s],id:Ace++}));this._weekdays.set(o.slice(e).concat(o.slice(0,e)))}_createWeekCells(){let e=this._dateAdapter.getNumDaysInMonth(this.activeDate),n=this._dateAdapter.getDateNames(),r=[[]];for(let o=0,a=this._firstWeekOffset();o<e;o++,a++){a==MA&&(r.push([]),a=0);let s=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),o+1),l=this._shouldEnableDate(s),c=this._dateAdapter.format(s,this._dateFormats.display.dateA11yLabel),u=this.dateClass?this.dateClass(s,"month"):void 0;r[r.length-1].push(new gg(o+1,n[o],c,l,u,this._getCellCompareValue(s),s))}this._weeks.set(r)}_shouldEnableDate(e){return!!e&&(!this.minDate||this._dateAdapter.compareDate(e,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,n){return!!(e&&n&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(n)&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(n))}_getCellCompareValue(e){if(e){let n=this._dateAdapter.getYear(e),r=this._dateAdapter.getMonth(e),o=this._dateAdapter.getDate(e);return new Date(n,r,o).getTime()}return null}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setRanges(e){e instanceof ti?(this._rangeStart.set(this._getCellCompareValue(e.start)),this._rangeEnd.set(this._getCellCompareValue(e.end)),this._isRange.set(!0)):(this._rangeStart.set(this._getCellCompareValue(e)),this._rangeEnd.set(this._rangeStart()),this._isRange.set(!1)),this._comparisonRangeStart.set(this._getCellCompareValue(this.comparisonStart)),this._comparisonRangeEnd.set(this._getCellCompareValue(this.comparisonEnd))}_canSelect(e){return!this.dateFilter||this.dateFilter(e)}_clearPreview(){this._previewStart.set(null),this._previewEnd.set(null)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["mat-month-view"]],viewQuery:function(n,r){if(n&1&&Zt(Kh,5),n&2){let o;we(o=xe())&&(r._matCalendarBody=o.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[Ze],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true"],["colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"]],template:function(n,r){n&1&&(g(0,"table",0)(1,"thead",1)(2,"tr"),tt(3,uce,5,2,"th",2,E3),_(),g(5,"tr",3),O(6,"th",4),_()(),g(7,"tbody",5),P("selectedValueChange",function(a){return r._dateSelected(a)})("activeDateChange",function(a){return r._updateActiveDate(a)})("previewChange",function(a){return r._previewChanged(a)})("dragStarted",function(a){return r.dragStarted.emit(a)})("dragEnded",function(a){return r._dragEnded(a)})("keyup",function(a){return r._handleCalendarBodyKeyup(a)})("keydown",function(a){return r._handleCalendarBodyKeydown(a)}),_()()),n&2&&(f(3),nt(r._weekdays()),f(4),w("label",r._monthLabel())("rows",r._weeks())("todayValue",r._todayDate(
4138))("startValue",r._rangeStart())("endValue",r._rangeEnd())("comparisonStart",r._comparisonRangeStart())("comparisonEnd",r._comparisonRangeEnd())("previewStart",r._previewStart())("previewEnd",r._previewEnd())("isRange",r._isRange())("labelMinRequiredCells",3)("activeCell",r._dateAdapter.getDate(r.activeDate)-1)("startDateAccessibleName",r.startDateAccessibleName)("endDateAccessibleName",r.endDateAccessibleName))},dependencies:[Kh],encapsulation:2,changeDetection:0})}return t})(),Yr=24,EA=4,x3=(()=>{class t{_changeDetectorRef=d(Pe);_dateAdapter=d(gn,{optional:!0});_dir=d(xn,{optional:!0});_rerenderSubscription=Re.EMPTY;_selectionKeyPressed=!1;get activeDate(){return this._activeDate}set activeDate(e){let n=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),T3(this._dateAdapter,n,this._activeDate,this.minDate,this.maxDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof ti?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}_selected=null;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate=null;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate=null;dateFilter;dateClass;selectedChange=new z;yearSelected=new z;activeDateChange=new z;_matCalendarBody;_years=re([]);_todayYear=re(0);_selectedYear=re(null);constructor(){this._dateAdapter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Ot(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear.set(this._dateAdapter.getYear(this._dateAdapter.today()));let n=this._dateAdapter.getYear(this._activeDate)-pg(this._dateAdapter,this.activeDate,this.minDate,this.maxDate),r=[];for(let o=0,a=[];o<Yr;o++)a.push(n+o),a.length==EA&&(r.push(a.map(s=>this._createCellForYear(s))),a=[]);this._years.set(r),this._changeDetectorRef.markForCheck()}_yearSelected(e){let n=e.value,r=this._dateAdapter.createDate(n,0,1),o=this._getDateFromYear(n);this.yearSelected.emit(r),this.selectedChange.emit(o)}_updateActiveDate(e){let n=e.value,r=this._activeDate;this.activeDate=this._getDateFromYear(n),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){let n=this._activeDate,r=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-EA);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,EA);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-pg(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Yr-pg(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-Yr*10:-Yr);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?Yr*10:Yr);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_getActiveCell(){return pg(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(e){let n=this._dateAdapter.getMonth(this.activeDate),r=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,n,1));return this._dateAdapter.createDate(e,n,Math.min(this._dateAdapter.getDate(this.activeDate),r))}
4138_createCellForYear(e){let n=this._dateAdapter.createDate(e,0,1),r=this._dateAdapter.getYearName(n),o=this.dateClass?this.dateClass(n,"multi-year"):void 0;return new gg(e,r,r,this._shouldEnableYear(e),o)}_shouldEnableYear(e){if(e==null||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;let n=this._dateAdapter.createDate(e,0,1);for(let r=n;this._dateAdapter.getYear(r)==e;r=this._dateAdapter.addCalendarDays(r,1))if(this.dateFilter(r))return!0;return!1}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setSelectedYear(e){if(this._selectedYear.set(null),e instanceof ti){let n=e.start||e.end;n&&this._selectedYear.set(this._dateAdapter.getYear(n))}else e&&this._selectedYear.set(this._dateAdapter.getYear(e))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["mat-multi-year-view"]],viewQuery:function(n,r){if(n&1&&Zt(Kh,5),n&2){let o;we(o=xe())&&(r._matCalendarBody=o.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell"]],template:function(n,r){n&1&&(g(0,"table",0)(1,"thead",1)(2,"tr"),O(3,"th",2),_()(),g(4,"tbody",3),P("selectedValueChange",function(a){return r._yearSelected(a)})("activeDateChange",function(a){return r._updateActiveDate(a)})("keyup",function(a){return r._handleCalendarBodyKeyup(a)})("keydown",function(a){return r._handleCalendarBodyKeydown(a)}),_()()),n&2&&(f(4),w("rows",r._years())("todayValue",r._todayYear())("startValue",r._selectedYear())("endValue",r._selectedYear())("numCols",4)("cellAspectRatio",4/7)("activeCell",r._getActiveCell()))},dependencies:[Kh],encapsulation:2,changeDetection:0})}return t})();function T3(t,i,e,n,r){let o=t.getYear(i),a=t.getYear(e),s=I3(t,n,r);return Math.floor((o-s)/Yr)===Math.floor((a-s)/Yr)}function pg(t,i,e,n){let r=t.getYear(i);return kce(r-I3(t,e,n),Yr)}function I3(t,i,e){let n=0;return e?n=t.getYear(e)-Yr+1:i&&(n=t.getYear(i)),n}function kce(t,i){return(t%i+i)%i}var D3=(()=>{class t{_changeDetectorRef=d(Pe);_dateFormats=d(Gr,{optional:!0});_dateAdapter=d(gn,{optional:!0});_dir=d(xn,{optional:!0});_rerenderSubscription=Re.EMPTY;_selectionKeyPressed=!1;get activeDate(){return this._activeDate}set activeDate(e){let n=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._dateAdapter.getYear(n)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof ti?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}_selected=null;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate=null;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate=null;dateFilter;dateClass;selectedChange=new z;monthSelected=new z;activeDateChange=new z;_matCalendarBody;_months=re([]);_yearLabel=re("");_todayMonth=re(null);_selectedMonth=re(null);constructor(){this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Ot(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){let n=e.value,r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),n,1);this.monthSelected.emit(r);let o=this._getDateFromMonth(n);this.selectedChange.emit(o)}_updateActiveDate(e){let n=e.value,r=this._activeDate;this.activeDate=this._getDateFromMonth(n),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){let n=this._activeDate,r=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth.set(this._getMonthInCurrentYear(this._dateAdapter.today())),this._yearLabel.set(this._dateAdapter.getYearName(this.activeDate));let e=this._dateAdapter.getMonthNames("short");this._months.set([[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(n=>n.map(r=>this._createCellForMonth(r,e[r])))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_getDateFromMonth(e){let n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),r=this._dateAdapter.getNumDaysInMonth(n);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),r))}_createCellForMonth(e,n){let r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),o=this._dateAdapter.format(r,this._dateFormats.display.monthYearA11yLabel),a=this.dateClass?this.dateClass(r,"year"):void 0;return new gg(e,n.toLocaleUpperCase(),o,this._shouldEnableMonth(e),a)}_shouldEnableMonth(e){let n=this._dateAdapter.getYear(this.activeDate);if(e==null||this._isYearAndMonthAfterMaxDate(n,e)||this._isYearAndMonthBeforeMinDate(n,e))return!1;if(!this.dateFilter)return!0;let r=this._dateAdapter.createDate(n,e,1);for(let o=r;this._dateAdapter.getMonth(o)==e;
4138o=this._dateAdapter.addCalendarDays(o,1))if(this.dateFilter(o))return!0;return!1}_isYearAndMonthAfterMaxDate(e,n){if(this.maxDate){let r=this._dateAdapter.getYear(this.maxDate),o=this._dateAdapter.getMonth(this.maxDate);return e>r||e===r&&n>o}return!1}_isYearAndMonthBeforeMinDate(e,n){if(this.minDate){let r=this._dateAdapter.getYear(this.minDate),o=this._dateAdapter.getMonth(this.minDate);return e<r||e===r&&n<o}return!1}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setSelectedMonth(e){e instanceof ti?this._selectedMonth.set(this._getMonthInCurrentYear(e.start)||this._getMonthInCurrentYear(e.end)):this._selectedMonth.set(this._getMonthInCurrentYear(e))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["mat-year-view"]],viewQuery:function(n,r){if(n&1&&Zt(Kh,5),n&2){let o;we(o=xe())&&(r._matCalendarBody=o.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell"]],template:function(n,r){n&1&&(g(0,"table",0)(1,"thead",1)(2,"tr"),O(3,"th",2),_()(),g(4,"tbody",3),P("selectedValueChange",function(a){return r._monthSelected(a)})("activeDateChange",function(a){return r._updateActiveDate(a)})("keyup",function(a){return r._handleCalendarBodyKeyup(a)})("keydown",function(a){return r._handleCalendarBodyKeydown(a)}),_()()),n&2&&(f(4),w("label",r._yearLabel())("rows",r._months())("todayValue",r._todayMonth())("startValue",r._selectedMonth())("endValue",r._selectedMonth())("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",r._dateAdapter.getMonth(r.activeDate)))},dependencies:[Kh],encapsulation:2,changeDetection:0})}return t})(),A3=(()=>{class t{_intl=d(Xh);calendar=d(SA);_dateAdapter=d(gn,{optional:!0});_dateFormats=d(Gr,{optional:!0});_periodButtonText;_periodButtonDescription;_periodButtonLabel;_prevButtonLabel;_nextButtonLabel;constructor(){d(dn).load(_o);let e=d(Pe);this._updateLabels(),this.calendar.stateChanges.subscribe(()=>{this._updateLabels(),e.markForCheck()})}get periodButtonText(){return this._periodButtonText}get periodButtonDescription(){return this._periodButtonDescription}get periodButtonLabel(){return this._periodButtonLabel}get prevButtonLabel(){return this._prevButtonLabel}get nextButtonLabel(){return this._nextButtonLabel}currentPeriodClicked(){this.calendar.currentView=this.calendar.currentView=="month"?"multi-year":"month"}previousClicked(){this.previousEnabled()&&(this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?-1:-Yr))}nextClicked(){this.nextEnabled()&&(this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?1:Yr))}previousEnabled(){return this.calendar.minDate?!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate):!0}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_updateLabels(){let e=this.calendar,n=this._intl,r=this._dateAdapter;e.currentView==="month"?(this._periodButtonText=r.format(e.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase(),this._periodButtonDescription=r.format(e.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase(),this._periodButtonLabel=n.switchToMultiYearViewLabel,this._prevButtonLabel=n.prevMonthLabel,this._nextButtonLabel=n.nextMonthLabel):e.currentView==="year"?(this._periodButtonText=r.getYearName(e.activeDate),this._periodButtonDescription=r.getYearName(e.activeDate),this._periodButtonLabel=n.switchToMonthViewLabel,this._prevButtonLabel=n.prevYearLabel,this._nextButtonLabel=n.nextYearLabel):(this._periodButtonText=n.formatYearRange(...this._formatMinAndMaxYearLabels()),this._periodButtonDescription=n.formatYearRangeLabel(...this._formatMinAndMaxYearLabels()),this._periodButtonLabel=n.switchToMonthViewLabel,this._prevButtonLabel=n.prevMultiYearLabel,this._nextButtonLabel=n.nextMultiYearLabel)}_isSameView(e,n){return this.calendar.currentView=="month"?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(n)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(n):this.calendar.currentView=="year"?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(n):T3(this._dateAdapter,e,n,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){let n=this._dateAdapter.getYear(this.calendar.activeDate)-pg(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),r=n+Yr-1,o=this._dateAdapter.getYearName(this._dateAdapter.createDate(n,0,1)),a=this._dateAdapter.getYearName(this._dateAdapter.createDate(r,0,1));return[o,a]}_periodButtonLabelId=d(Et).getId("mat-calendar-period-label-");static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:hce,decls:17,vars:13,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-control
4138s"],["aria-live","polite",1,"cdk-visually-hidden",3,"id"],["matButton","","type","button",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["matIconButton","","type","button","disabledInteractive","",1,"mat-calendar-previous-button",3,"click","disabled","matTooltip"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["matIconButton","","type","button","disabledInteractive","",1,"mat-calendar-next-button",3,"click","disabled","matTooltip"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],template:function(n,r){n&1&&(We(),g(0,"div",0)(1,"div",1)(2,"span",2),I(3),_(),g(4,"button",3),P("click",function(){return r.currentPeriodClicked()}),g(5,"span",4),I(6),_(),Ho(),g(7,"svg",5),O(8,"polygon",6),_()(),Vf(),O(9,"div",7),ae(10),g(11,"button",8),P("click",function(){return r.previousClicked()}),Ho(),g(12,"svg",9),O(13,"path",10),_()(),Vf(),g(14,"button",11),P("click",function(){return r.nextClicked()}),Ho(),g(15,"svg",9),O(16,"path",12),_()()()()),n&2&&(f(2),w("id",r._periodButtonLabelId),f(),qe(r.periodButtonDescription),f(),N("aria-label",r.periodButtonLabel)("aria-describedby",r._periodButtonLabelId),f(2),qe(r.periodButtonText),f(),ie("mat-calendar-invert",r.calendar.currentView!=="month"),f(4),w("disabled",!r.previousEnabled())("matTooltip",r.prevButtonLabel),N("aria-label",r.prevButtonLabel),f(3),w("disabled",!r.nextEnabled())("matTooltip",r.nextButtonLabel),N("aria-label",r.nextButtonLabel))},dependencies:[zt,Oi,xd],encapsulation:2,changeDetection:0})}return t})(),SA=(()=>{class t{_dateAdapter=d(gn,{optional:!0});_dateFormats=d(Gr,{optional:!0});_changeDetectorRef=d(Pe);_elementRef=d(Q);headerComponent;_calendarHeaderPortal;_intlChanges;_moveFocusOnNextTick=!1;get startAt(){return this._startAt}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_startAt=null;startView="month";get selected(){return this._selected}set selected(e){e instanceof ti?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_selected=null;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate=null;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate=null;dateFilter;dateClass;comparisonStart=null;comparisonEnd=null;startDateAccessibleName=null;endDateAccessibleName=null;selectedChange=new z;yearSelected=new z;monthSelected=new z;viewChanged=new z(!0);_userSelection=new z;_userDragDrop=new z;monthView;yearView;multiYearView;get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}_clampedActiveDate;get currentView(){return this._currentView}set currentView(e){let n=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),n&&(this.stateChanges.next(),this.viewChanged.emit(n))}_currentView;_activeDrag=null;stateChanges=new V;constructor(){this._intlChanges=d(Xh).changes.subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new ci(this.headerComponent||A3),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){let n=e.minDate&&!this._dateAdapter.sameDate(e.minDate.previousValue,e.minDate.currentValue)?e.minDate:void 0,r=e.maxDate&&!this._dateAdapter.sameDate(e.maxDate.previousValue,e.maxDate.currentValue)?e.maxDate:void 0,o=n||r||e.dateFilter;if(o&&!o.firstChange){let a=this._getCurrentViewComponent();a&&(this._elementRef.nativeElement.contains(mo())&&(this._moveFocusOnNextTick=!0),this._changeDetectorRef.detectChanges(),a._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()?._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()?._init()}_dateSelected(e){let n=e.value;(this.selected instanceof ti||n&&!this._dateAdapter.sameDate(n,this.selected))&&this.selectedChange.emit(n),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,n){this.activeDate=e,this.currentView=n}_dragStarted(e){this._activeDrag=e}_dragEnded(e){this._activeDrag&&(e.value&&this._userDragDrop.emit(e),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["mat-calendar"]],viewQuery:function(n,r){if(n&1&&Zt(w3,5)(D3,5)(x3,5),n&2){let o;we(o=xe())&&(r.monthView=o.first),we(o=xe())&&(r.yearView=o.first),we(o=xe())&&(r.multiYearView=o.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[Ye([S3]),Ze],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(n,r){if(n&1&&(se(0,fce,0,0,"ng-template",0),g(1,"div",1),E(2,mce,1,11,"mat-month-view",2)(3,pce,1,6,"mat-year-view",3)(4,gce,1,6,"mat-multi-year-view",3),_()),n&2){let o;w("cdkPortalOutlet",r._calendarHeaderPortal),f(2),S((o=r.currentView)==="month"?2:o==="year"?3:o==="multi-year"?4:-1)}},dependencies:[jr,qb,w3,D3,x3],styles:[`.mat-calendar { 4139 display: block; 4140 line-height: normal; 4141 font-family: var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font)); 4142 font-size: var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size)); 4143} 4144 4145.mat-calendar-header { 4146 padding: 8px 8px 0 8px; 4147} 4148 4149.mat-calendar-content { 4150 padding: 0 8px 8px 8px; 4151 outline: none; 4152} 4153
4154.mat-calendar-controls { 4155 display: flex; 4156 align-items: center; 4157 margin: 5% calc(4.7142857143% - 16px); 4158} 4159 4160.mat-calendar-spacer { 4161 flex: 1 1 auto; 4162} 4163 4164.mat-calendar-period-button { 4165 min-width: 0; 4166 margin: 0 8px; 4167 font-size: var(--mat-datepicker-calendar-period-button-text-size, var(--mat-sys-title-small-size)); 4168 font-weight: var(--mat-datepicker-calendar-period-button-text-weight, var(--mat-sys-title-small-weight)); 4169 --mat-button-text-label-text-color: var(--mat-datepicker-calendar-period-button-text-color, var(--mat-sys-on-surface-variant)); 4170} 4171 4172.mat-calendar-arrow { 4173 display: inline-block; 4174 width: 10px; 4175 height: 5px; 4176 margin: 0 0 0 5px; 4177 vertical-align: middle; 4178 fill: var(--mat-datepicker-calendar-period-button-icon-color, var(--mat-sys-on-surface-variant)); 4179} 4180.mat-calendar-arrow.mat-calendar-invert { 4181 transform: rotate(180deg); 4182} 4183[dir=rtl] .mat-calendar-arrow { 4184 margin: 0 5px 0 0; 4185} 4186@media (forced-colors: active) { 4187 .mat-calendar-arrow { 4188 fill: CanvasText; 4189 } 4190} 4191 4192.mat-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled), 4193.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled) { 4194 color: var(--mat-datepicker-calendar-navigation-button-icon-color, var(--mat-sys-on-surface-variant)); 4195} 4196[dir=rtl] .mat-calendar-previous-button, 4197[dir=rtl] .mat-calendar-next-button { 4198 transform: rotate(180deg); 4199} 4200 4201.mat-calendar-table { 4202 border-spacing: 0; 4203 border-collapse: collapse; 4204 width: 100%; 4205} 4206 4207.mat-calendar-table-header th { 4208 text-align: center; 4209 padding: 0 0 8px 0; 4210 color: var(--mat-datepicker-calendar-header-text-color, var(--mat-sys-on-surface-variant)); 4211 font-size: var(--mat-datepicker-calendar-header-text-size, var(--mat-sys-title-small-size)); 4212 font-weight: var(--mat-datepicker-calendar-header-text-weight, var(--mat-sys-title-small-weight)); 4213} 4214 4215.mat-calendar-table-header-divider { 4216 position: relative; 4217 height: 1px; 4218} 4219.mat-calendar-table-header-divider::after { 4220 content: ""; 4221 position: absolute; 4222 top: 0; 4223 left: -8px; 4224 right: -8px; 4225 height: 1px; 4226 background: var(--mat-datepicker-calendar-header-divider-color, transparent); 4227} 4228 4229.mat-calendar-body-cell-content::before { 4230 margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1); 4231} 4232 4233.mat-calendar-body-cell:focus-visible .mat-focus-indicator::before { 4234 content: ""; 4235} 4236`],encapsulation:2,changeDetection:0})}return t})(),Oce=new T("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{let t=d(he);return()=>Ga(t)}}),k3=(()=>{class t{_elementRef=d(Q);_animationsDisabled=Nt();_changeDetectorRef=d(Pe);_globalModel=d(tc);_dateAdapter=d(gn);_ngZone=d(ne);_rangeSelectionStrategy=d(gC,{optional:!0});_stateChanges;_model;_eventCleanups;_animationFallback;_calendar;color;datepicker;comparisonStart=null;comparisonEnd=null;startDateAccessibleName=null;endDateAccessibleName=null;_isAbove=!1;_animationDone=new V;_isAnimating=!1;_closeButtonText;_closeButtonFocused=!1;_actionsPortal=null;_dialogLabelId=null;constructor(){if(d(dn).load(_o),this._closeButtonText=d(Xh).closeCalendarLabel,!this._animationsDisabled){let e=this._elementRef.nativeElement,n=d(Ge);this._eventCleanups=this._ngZone.runOutsideAngular(()=>[n.listen(e,"animationstart",this._handleAnimationEvent),n.listen(e,"animationend",this._handleAnimationEvent),n.listen(e,"animationcancel",this._handleAnimationEvent)])}}ngAfterViewInit(){this._stateChanges=this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()}),this._calendar.focusActiveCell()}ngOnDestroy(){clearTimeout(this._animationFallback),this._eventCleanups?.forEach(e=>e()),this._stateChanges?.unsubscribe(),this._animationDone.complete()}_handleUserSelection(e){let n=this._model.selection,r=e.value,o=n instanceof ti;if(o&&this._rangeSelectionStrategy){let a=this._rangeSelectionStrategy.selectionFinished(r,n,e.event);this._model.updateSelection(a,this)}else r&&(o||!this._dateAdapter.sameDate(r,n))&&this._model.add(r);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(e){this._model.updateSelection(e.value,this)}_startExitAnimation(){this._elementRef.nativeElement.classList.add("mat-datepicker-content-exit"),this._animationsDisabled?this._animationDone.next():(clearTimeout(this._animationFallback),this._animationFallback=setTimeout(()=>{this._isAnimating||this._animationDone.next()},200))}_handleAnimationEvent=e=>{let n=this._elementRef.nativeElement;e.target!==n||!e.animationName.startsWith("_mat-datepicker-content")||(clearTimeout(this._animationFallback),this._isAnimating=e.type==="animationstart",n.classList.toggle("mat-datepicker-content-animating",this._isAnimating),this._isAnimating||this._animationDone.next())};
4236_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(e,n){this._model=e?this._globalModel.clone():this._globalModel,this._actionsPortal=e,n&&this._changeDetectorRef.detectChanges()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(n,r){if(n&1&&Zt(SA,5),n&2){let o;we(o=xe())&&(r._calendar=o.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:6,hostBindings:function(n,r){n&2&&(bn(r.color?"mat-"+r.color:""),ie("mat-datepicker-content-touch",r.datepicker.touchUi)("mat-datepicker-content-animations-enabled",!r._animationsDisabled))},inputs:{color:"color"},exportAs:["matDatepickerContent"],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","matButton","elevated",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(n,r){n&1&&(g(0,"div",0)(1,"mat-calendar",1),P("yearSelected",function(a){return r.datepicker._selectYear(a)})("monthSelected",function(a){return r.datepicker._selectMonth(a)})("viewChanged",function(a){return r.datepicker._viewChanged(a)})("_userSelection",function(a){return r._handleUserSelection(a)})("_userDragDrop",function(a){return r._handleUserDragDrop(a)}),_(),se(2,_ce,0,0,"ng-template",2),g(3,"button",3),P("focus",function(){return r._closeButtonFocused=!0})("blur",function(){return r._closeButtonFocused=!1})("click",function(){return r.datepicker.close()}),I(4),_()()),n&2&&(ie("mat-datepicker-content-container-with-custom-header",r.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",r._actionsPortal),N("aria-modal",!0)("aria-labelledby",r._dialogLabelId??void 0),f(),bn(r.datepicker.panelClass),w("id",r.datepicker.id)("startAt",r.datepicker.startAt)("startView",r.datepicker.startView)("minDate",r.datepicker._getMinDate())("maxDate",r.datepicker._getMaxDate())("dateFilter",r.datepicker._getDateFilter())("headerComponent",r.datepicker.calendarHeaderComponent)("selected",r._getSelected())("dateClass",r.datepicker.dateClass)("comparisonStart",r.comparisonStart)("comparisonEnd",r.comparisonEnd)("startDateAccessibleName",r.startDateAccessibleName)("endDateAccessibleName",r.endDateAccessibleName),f(),w("cdkPortalOutlet",r._actionsPortal),f(),ie("cdk-visually-hidden",!r._closeButtonFocused),w("color",r.color||"primary"),f(),qe(r._closeButtonText))},dependencies:[fT,SA,jr,zt],styles:[`@keyframes _mat-datepicker-content-dropdown-enter { 4237 from { 4238 opacity: 0; 4239 transform: scaleY(0.8); 4240 } 4241 to { 4242 opacity: 1; 4243 transform: none; 4244 } 4245} 4246@keyframes _mat-datepicker-content-dialog-enter { 4247 from { 4248 opacity: 0; 4249 transform: scale(0.8); 4250 } 4251 to { 4252 opacity: 1; 4253 transform: none; 4254 } 4255} 4256@keyframes _mat-datepicker-content-exit { 4257 from { 4258 opacity: 1; 4259 } 4260 to { 4261 opacity: 0; 4262 } 4263} 4264.mat-datepicker-content { 4265 display: block; 4266 background-color: var(--mat-datepicker-calendar-container-background-color, var(--mat-sys-surface-container-high)); 4267 color: var(--mat-datepicker-calendar-container-text-color, var(--mat-sys-on-surface)); 4268 box-shadow: var(--mat-datepicker-calendar-container-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)); 4269 border-radius: var(--mat-datepicker-calendar-container-shape, var(--mat-sys-corner-large)); 4270} 4271.mat-datepicker-content.mat-datepicker-content-animations-enabled { 4272 animation: _mat-datepicker-content-dropdown-enter 120ms cubic-bezier(0, 0, 0.2, 1); 4273} 4274.mat-datepicker-content .mat-calendar { 4275 width: 296px; 4276 height: 354px; 4277} 4278.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar { 4279 height: auto; 4280} 4281.mat-datepicker-content .mat-datepicker-close-button { 4282 position: absolute; 4283 top: 100%; 4284 left: 0; 4285 margin-top: 8px; 4286} 4287.mat-datepicker-content-animating .mat-datepicker-content .mat-datepicker-close-button { 4288 display: none; 4289} 4290 4291.mat-datepicker-content-container { 4292 display: flex; 4293 flex-direction: column; 4294 justify-content: space-between; 4295} 4296 4297.mat-datepicker-content-touch { 4298 display: block; 4299 max-height: 80vh; 4300 box-shadow: var(--mat-datepicker-calendar-container-touch-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)); 4301 border-radius: var(--mat-datepicker-calendar-container-touch-shape, var(--mat-sys-corner-extra-large)); 4302 position: relative; 4303 overflow: visible; 4304} 4305.mat-datepicker-content-touch.mat-datepicker-content-animations-enabled { 4306 animation: _mat-datepicker-content-dialog-enter 150ms cubic-bezier(0, 0, 0.2, 1); 4307} 4308.mat-datepicker-content-touch .mat-datepicker-content-container { 4309 min-height: 312px; 4310 max-height: 788px; 4311 min-width: 250px; 4312 max-width: 750px; 4313} 4314.mat-datepicker-content-touch .mat-calendar { 4315 width: 100%; 4316 height: auto; 4317} 4318 4319.mat-datepicker-content-exit.mat-datepicker-content-animations-enabled { 4320 animation: _mat-datepicker-content-exit 100ms linear; 4321} 4322 4323@media all and (orientation: landscape) { 4324 .mat-datepicker-content-touch .mat-datepicker-content-container { 4325 width: 64vh; 4326 height: 80vh; 4327 } 4328} 4329@media all and (orientation: portrait) { 4330 .mat-datepicker-content-touch .mat-datepicker-content-container { 4331 width: 80vw; 4332 height: 100vw; 4333 } 4334 .mat-datepicker-content-touch .mat-datepicker-content-container-with-actions { 4335 height: 115vw; 4336 } 4337} 4338`],encapsulation:2,changeDetection:0})}return t})(),_C=(()=>{class t{_injector=d(he);
4338_viewContainerRef=d(wn);_dateAdapter=d(gn,{optional:!0});_dir=d(xn,{optional:!0});_model=d(tc);_animationsDisabled=Nt();_scrollStrategy=d(Oce);_inputStateChanges=Re.EMPTY;_document=d(ve);calendarHeaderComponent;get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_startAt=null;startView="month";get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(e){this._color=e}_color;touchUi=!1;get disabled(){return this._disabled===void 0&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){e!==this._disabled&&(this._disabled=e,this.stateChanges.next(void 0))}_disabled;xPosition="start";yPosition="below";restoreFocus=!0;yearSelected=new z;monthSelected=new z;viewChanged=new z(!0);dateClass;openedStream=new z;closedStream=new z;get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=GV(e)}_panelClass;get opened(){return this._opened}set opened(e){e?this.open():this.close()}_opened=!1;id=d(Et).getId("mat-datepicker-");_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}_overlayRef=null;_componentRef=null;_focusedElementBeforeOpen=null;_backdropHarnessClass=`${this.id}-backdrop`;_actionsPortal=null;datepickerInput;stateChanges=new V;_changeDetectorRef=d(Pe);constructor(){this._dateAdapter,this._model.selectionChanged.subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnChanges(e){let n=e.xPosition||e.yPosition;if(n&&!n.firstChange&&this._overlayRef){let r=this._overlayRef.getConfig().positionStrategy;r instanceof rh&&(this._setConnectedPositions(r),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(e){this._model.add(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_viewChanged(e){this.viewChanged.emit(e)}registerInput(e){return this.datepickerInput,this._inputStateChanges.unsubscribe(),this.datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(e){this._actionsPortal,this._actionsPortal=e,this._componentRef?.instance._assignActions(e,!0)}removeActions(e){e===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this.datepickerInput,this._focusedElementBeforeOpen=mo(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;let e=this.restoreFocus&&this._focusedElementBeforeOpen&&typeof this._focusedElementBeforeOpen.focus=="function",n=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){let{instance:r,location:o}=this._componentRef;r._animationDone.pipe(Fe(1)).subscribe(()=>{let a=this._document.activeElement;e&&(!a||a===this._document.activeElement||o.nativeElement.contains(a))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()}),r._startExitAnimation()}e?setTimeout(n):n()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(e){e.datepicker=this,e.color=this.color,e._dialogLabelId=this.datepickerInput.getOverlayLabelId(),e._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();let e=this.touchUi,n=new ci(k3,this._viewContainerRef),r=this._overlayRef=hr(this._injector,new Ai({positionStrategy:e?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[e?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir||"ltr",scrollStrategy:e?Ll(this._injector):this._scrollStrategy(),panelClass:`mat-datepicker-${e?"dialog":"popup"}`,disableAnimations:this._animationsDisabled}));this._getCloseStream(r).subscribe(o=>{o&&o.preventDefault(),this.close()}
4338),r.keydownEvents().subscribe(o=>{let a=o.keyCode;(a===38||a===40||a===37||a===39||a===33||a===34)&&o.preventDefault()}),this._componentRef=r.attach(n),this._forwardContentValues(this._componentRef.instance),e||en(()=>{r.updatePosition()},{injector:this._injector})}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return Qa(this._injector).centerHorizontally().centerVertically()}_getDropdownStrategy(){let e=Ya(this._injector,this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(e)}_setConnectedPositions(e){let n=this.xPosition==="end"?"end":"start",r=n==="start"?"end":"start",o=this.yPosition==="above"?"bottom":"top",a=o==="top"?"bottom":"top";return e.withPositions([{originX:n,originY:a,overlayX:n,overlayY:o},{originX:n,originY:o,overlayX:n,overlayY:a},{originX:r,originY:a,overlayX:r,overlayY:o},{originX:r,originY:o,overlayX:r,overlayY:a}])}_getCloseStream(e){let n=["ctrlKey","shiftKey","metaKey"];return qt(e.backdropClick(),e.detachments(),e.keydownEvents().pipe(J(r=>r.keyCode===27&&!un(r)||this.datepickerInput&&un(r,"altKey")&&r.keyCode===38&&n.every(o=>!un(r,o)))))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[2,"touchUi","touchUi",ue],disabled:[2,"disabled","disabled",ue],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",ue],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",ue]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[Ze]})}return t})(),O3=(()=>{class t extends _C{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Dt(t)))(r||t)}})();static \u0275cmp=F({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[Ye([S3,{provide:_C,useExisting:t}]),Je],decls:0,vars:0,template:function(n,r){},encapsulation:2,changeDetection:0})}return t})(),Zh=class{target;targetElement;value=null;constructor(i,e){this.target=i,this.targetElement=e,this.value=this.target.value}},N3=(()=>{class t{_elementRef=d(Q);_dateAdapter=d(gn,{optional:!0});_dateFormats=d(Gr,{optional:!0});_isInitialized=!1;get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(e){this._assignValueProgrammatically(e,!0)}_model;get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(e){let n=e,r=this._elementRef.nativeElement;this._disabled!==n&&(this._disabled=n,this.stateChanges.next(void 0)),n&&this._isInitialized&&r.blur&&r.blur()}_disabled;dateChange=new z;dateInput=new z;stateChanges=new V;_onTouched=()=>{};_validatorOnChange=()=>{};_cvaOnChange=()=>{};_valueChangesSubscription=Re.EMPTY;_localeSubscription=Re.EMPTY;_pendingValue=null;_parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}};_filterValidator=e=>{let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value));return!n||this._matchesFilter(n)?null:{matDatepickerFilter:!0}};_minValidator=e=>{let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),r=this._getMinDate();return!r||!n||this._dateAdapter.compareDate(r,n)<=0?null:{matDatepickerMin:{min:r,actual:n}}};_maxValidator=e=>{let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),r=this._getMaxDate();return!r||!n||this._dateAdapter.compareDate(r,n)>=0?null:{matDatepickerMax:{max:r,actual:n}}};_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(e){this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(n=>{if(this._shouldHandleChangeEvent(n)){let r=this._getValueFromModel(n.selection);this._lastValueValid=this._isValidValue(r),this._cvaOnChange(r),this._onTouched(),this._formatValue(r),this.dateInput.emit(new Zh(this,this._elementRef.nativeElement)),this.dateChange.emit(new Zh(this,this._elementRef.nativeElement))}})}_lastValueValid=!1;constructor(){this._localeSubscription=this._dateAdapter.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value,!0)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){R3(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}
4338registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}writeValue(e){this._assignValueProgrammatically(e,e!==this.value)}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){let n=["ctrlKey","shiftKey","metaKey"];un(e,"altKey")&&e.keyCode===40&&n.every(o=>!un(e,o))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){let n=e.target.value,r=this._lastValueValid,o=this._dateAdapter.parse(n,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(o),o=this._dateAdapter.getValidDateOrNull(o);let a=!this._dateAdapter.sameDate(o,this.value);!o||a?this._cvaOnChange(o):(n&&!this.value&&this._cvaOnChange(o),r!==this._lastValueValid&&this._validatorOnChange()),a&&(this._assignValue(o),this.dateInput.emit(new Zh(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Zh(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=e!=null?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_assignValue(e){this._model?(this._assignValueToModel(e),this._pendingValue=null):this._pendingValue=e}_isValidValue(e){return!e||this._dateAdapter.isValid(e)}_parentDisabled(){return!1}_assignValueProgrammatically(e,n){e=this._dateAdapter.deserialize(e),this._lastValueValid=this._isValidValue(e),e=this._dateAdapter.getValidDateOrNull(e),this._assignValue(e),n&&this._formatValue(e)}_matchesFilter(e){let n=this._getDateFilter();return!n||n(e)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,inputs:{value:"value",disabled:[2,"disabled","disabled",ue]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[Ze]})}return t})();function R3(t,i){let e=Object.keys(t);for(let n of e){let{previousValue:r,currentValue:o}=t[n];if(i.isDateInstance(r)&&i.isDateInstance(o)){if(!i.sameDate(r,o))return!0}else return!0}return!1}var Nce={provide:_r,useExisting:vn(()=>vC),multi:!0},Rce={provide:ca,useExisting:vn(()=>vC),multi:!0},vC=(()=>{class t extends N3{_formField=d(zs,{optional:!0});_closedSubscription=Re.EMPTY;_openedSubscription=Re.EMPTY;set matDatepicker(e){e&&(this._datepicker=e,this._ariaOwns.set(e.opened?e.id:null),this._closedSubscription=e.closedStream.subscribe(()=>{this._onTouched(),this._ariaOwns.set(null)}),this._openedSubscription=e.openedStream.subscribe(()=>{this._ariaOwns.set(e.id)}),this._registerModel(e.registerInput(this)))}_datepicker;_ariaOwns=re(null);get min(){return this._min}set min(e){let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(n,this._min)||(this._min=n,this._validatorOnChange())}_min=null;get max(){return this._max}set max(e){let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(n,this._max)||(this._max=n,this._validatorOnChange())}_max=null;get dateFilter(){return this._dateFilter}set dateFilter(e){let n=this._matchesFilter(this.value);this._dateFilter=e,this._matchesFilter(this.value)!==n&&this._validatorOnChange()}_dateFilter;_validator=null;constructor(){super(),this._validator=gr.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe(),this._openedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(e){return e}_assignValueToModel(e){this._model&&this._model.updateSelection(e,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(e){return e.source!==this}static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(n,r){n&1&&P("input",function(a){return r._onInput(a)})("change",function(){return r._onChange()})("blur",function(){return r._onBlur()})("keydown",function(a){return r._onKeydown(a)}),n&2&&(wt("disabled",r.disabled),N("aria-haspopup",r._datepicker?"dialog":null)("aria-owns",r._ariaOwns())("min",r.min?r._dateAdapter.toIso8601(r.min):null)("max",r.max?r._dateAdapter.toIso8601(r.max):null)("data-mat-calendar",r._datepicker?r._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[0,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[Ye([Nce,Rce,{provide:D0,useExisting:t}]),Je]})}return t})(),Pce=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,selectors:[["","matDatepickerToggleIcon",""]]})}return t})(),IA=(()=>{class t{_intl=d(Xh);_changeDetectorRef=d(Pe);_stateChanges=Re.EMPTY;datepicker;tabIndex=null;ariaLabel;get disabled(){return this._disabled===void 0&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=e}_disabled;disableRipple=!1;_customIcon;_button;constructor(){let e=d(new Yo("tabindex"),{optional:!0}),n=Number(e);this.tabIndex=n||n===0?n:null}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){let e=this.datepicker?this.datepicker.stateChanges:K(),n=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:K(),r=this.datepicker?qt(this.datepicker.openedStream,this.datepicker.closedStream):K();this._stateChanges.unsubscribe(),this._stateChanges=qt(this._intl.changes,e,n,r).subscribe(()=>this._changeDetectorRef.markForCheck())}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["mat-datepicker-toggle"]],c
4338ontentQueries:function(n,r,o){if(n&1&&Nn(o,Pce,5),n&2){let a;we(a=xe())&&(r._customIcon=a.first)}},viewQuery:function(n,r){if(n&1&&Zt(vce,5),n&2){let o;we(o=xe())&&(r._button=o.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(n,r){n&1&&P("click",function(a){return r._open(a)}),n&2&&(N("tabindex",null)("data-mat-calendar",r.datepicker?r.datepicker.id:null),ie("mat-datepicker-toggle-active",r.datepicker&&r.datepicker.opened)("mat-accent",r.datepicker&&r.datepicker.color==="accent")("mat-warn",r.datepicker&&r.datepicker.color==="warn"))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",ue],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[Ze],ngContentSelectors:bce,decls:4,vars:7,consts:[["button",""],["matIconButton","","type","button",3,"tabIndex","disabled","disableRipple"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(n,r){n&1&&(We(yce),g(0,"button",1,0),E(2,Cce,2,0,":svg:svg",2),ae(3),_()),n&2&&(w("tabIndex",r.disabled?-1:r.tabIndex)("disabled",r.disabled)("disableRipple",r.disableRipple),N("aria-haspopup",r.datepicker?"dialog":null)("aria-label",r.ariaLabel||r._intl.openCalendarLabel)("aria-expanded",r.datepicker?r.datepicker.opened:null),f(2),S(r._customIcon?-1:2))},dependencies:[Oi],styles:[`.mat-datepicker-toggle { 4339 pointer-events: auto; 4340 color: var(--mat-datepicker-toggle-icon-color, var(--mat-sys-on-surface-variant)); 4341} 4342.mat-datepicker-toggle button { 4343 color: inherit; 4344} 4345 4346.mat-datepicker-toggle-active { 4347 color: var(--mat-datepicker-toggle-active-state-icon-color, var(--mat-sys-primary)); 4348} 4349 4350@media (forced-colors: active) { 4351 .mat-datepicker-toggle-default-icon { 4352 color: CanvasText; 4353 } 4354} 4355`],encapsulation:2,changeDetection:0})}return t})(),AA=(()=>{class t{_changeDetectorRef=d(Pe);_elementRef=d(Q);_dateAdapter=d(gn,{optional:!0});_formField=d(zs,{optional:!0});_closedSubscription=Re.EMPTY;_openedSubscription=Re.EMPTY;_startInput;_endInput;get value(){return this._model?this._model.selection:null}id=d(Et).getId("mat-date-range-input-");focused=!1;get shouldLabelFloat(){return this.focused||!this.empty}controlType="mat-date-range-input";get placeholder(){let e=this._startInput?._getPlaceholder()||"",n=this._endInput?._getPlaceholder()||"";return e||n?`${e} ${this.separator} ${n}`:""}get rangePicker(){return this._rangePicker}set rangePicker(e){e&&(this._model=e.registerInput(this),this._rangePicker=e,this._closedSubscription.unsubscribe(),this._openedSubscription.unsubscribe(),this._ariaOwns.set(this.rangePicker.opened?e.id:null),this._closedSubscription=e.closedStream.subscribe(()=>{this._startInput?._onTouched(),this._endInput?._onTouched(),this._ariaOwns.set(null)}),this._openedSubscription=e.openedStream.subscribe(()=>{this._ariaOwns.set(e.id)}),this._registerModel(this._model))}_rangePicker;_ariaOwns=re(null);get required(){return this._required??(this._isTargetRequired(this)||this._isTargetRequired(this._startInput)||this._isTargetRequired(this._endInput))??!1}set required(e){this._required=e}_required;get dateFilter(){return this._dateFilter}set dateFilter(e){let n=this._startInput,r=this._endInput,o=n&&n._matchesFilter(n.value),a=r&&r._matchesFilter(n.value);this._dateFilter=e,n&&n._matchesFilter(n.value)!==o&&n._validatorOnChange(),r&&r._matchesFilter(r.value)!==a&&r._validatorOnChange()}_dateFilter;get min(){return this._min}set min(e){let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(n,this._min)||(this._min=n,this._revalidate())}_min=null;get max(){return this._max}set max(e){let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(n,this._max)||(this._max=n,this._revalidate())}_max=null;get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(e){e!==this._groupDisabled&&(this._groupDisabled=e,this.stateChanges.next(void 0))}_groupDisabled=!1;get errorState(){return this._startInput&&this._endInput?this._startInput.errorState||this._endInput.errorState:!1}get empty(){let e=this._startInput?this._startInput.isEmpty():!1,n=this._endInput?this._endInput.isEmpty():!1;return e&&n}_ariaDescribedBy=null;_model;separator="\u2013";comparisonStart=null;comparisonEnd=null;ngControl;stateChanges=new V;disableAutomaticLabeling=!0;constructor(){this._dateAdapter,this._formField?._elementRef.nativeElement.classList.contains("mat-mdc-form-field")&&this._elementRef.nativeElement.classList.add("mat-mdc-input-element","mat-mdc-form-field-input-control","mdc-text-field__input"),this.ngControl=d(vi,{optional:!0,self:!0})}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){this._ariaDescribedBy=e.length?e.join(" "):null}onContainerClick(){!this.focused&&!this.disabled&&(!this._model||!this._model.selection.start?this._startInput.focus():this._endInput.focus())}ngAfterContentInit(){this._model&&this._registerModel(this._model),qt(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(e){R3(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._closedSubscription.unsubscribe(),this._openedSubscription.unsubscribe(),this.stateChanges.complete()}getStartValue(){return this.value?this.value.start:null}
4355getThemePalette(){return this._formField?this._formField.color:void 0}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():null}_getInputMirrorValue(e){let n=e==="start"?this._startInput:this._endInput;return n?n.getMirrorValue():""}_shouldHidePlaceholders(){return this._startInput?!this._startInput.isEmpty():!1}_handleChildValueChange(){this.stateChanges.next(void 0),this._changeDetectorRef.markForCheck()}_openDatepicker(){this._rangePicker&&this._rangePicker.open()}_shouldHideSeparator(){return(!this._formField||this._formField.getLabelId()&&!this._formField._shouldLabelFloat())&&this.empty}_getAriaLabelledby(){let e=this._formField;return e&&e._hasFloatingLabel()?e._labelId:null}_getStartDateAccessibleName(){return this._startInput._getAccessibleName()}_getEndDateAccessibleName(){return this._endInput._getAccessibleName()}_updateFocus(e){this.focused=e!==null,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(e){this._startInput&&this._startInput._registerModel(e),this._endInput&&this._endInput._registerModel(e)}_isTargetRequired(e){return e?.ngControl?.control?.hasValidator(gr.required)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=F({type:t,selectors:[["mat-date-range-input"]],hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(n,r){n&2&&(N("id",r.id)("aria-labelledby",r._getAriaLabelledby())("aria-describedby",r._ariaDescribedBy)("data-mat-calendar",r.rangePicker?r.rangePicker.id:null),ie("mat-date-range-input-hide-placeholders",r._shouldHidePlaceholders())("mat-date-range-input-required",r.required))},inputs:{rangePicker:"rangePicker",required:[2,"required","required",ue],dateFilter:"dateFilter",min:"min",max:"max",disabled:[2,"disabled","disabled",ue],separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],features:[Ye([{provide:Hs,useExisting:t}]),Ze],ngContentSelectors:xce,decls:11,vars:5,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-wrapper","mat-date-range-input-end-wrapper"]],template:function(n,r){n&1&&(We(wce),g(0,"div",0),P("cdkFocusChange",function(a){return r._updateFocus(a)}),g(1,"div",1),ae(2),g(3,"span",2),I(4),_()(),g(5,"span",3),I(6),_(),g(7,"div",4),ae(8,1),g(9,"span",2),I(10),_()()()),n&2&&(f(4),qe(r._getInputMirrorValue("start")),f(),ie("mat-date-range-input-separator-hidden",r._shouldHideSeparator()),f(),qe(r.separator),f(4),qe(r._getInputMirrorValue("end")))},dependencies:[qb],styles:[`.mat-date-range-input { 4356 display: block; 4357 width: 100%; 4358} 4359 4360.mat-date-range-input-container { 4361 display: flex; 4362 align-items: center; 4363} 4364 4365.mat-date-range-input-separator { 4366 transition: opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1); 4367 margin: 0 4px; 4368 color: var(--mat-datepicker-range-input-separator-color, var(--mat-sys-on-surface)); 4369} 4370.mat-form-field-disabled .mat-date-range-input-separator { 4371 color: var(--mat-datepicker-range-input-disabled-state-separator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 4372} 4373._mat-animation-noopable .mat-date-range-input-separator { 4374 transition: none; 4375} 4376 4377.mat-date-range-input-separator-hidden { 4378 -webkit-user-select: none; 4379 user-select: none; 4380 opacity: 0; 4381 transition: none; 4382} 4383 4384.mat-date-range-input-wrapper { 4385 position: relative; 4386 overflow: hidden; 4387 max-width: calc(50% - 4px); 4388} 4389 4390.mat-date-range-input-end-wrapper { 4391 flex-grow: 1; 4392} 4393 4394.mat-date-range-input-inner { 4395 position: absolute; 4396 top: 0; 4397 left: 0; 4398 font: inherit; 4399 background: transparent; 4400 color: currentColor; 4401 border: none; 4402 outline: none; 4403 padding: 0; 4404 margin: 0; 4405 vertical-align: bottom; 4406 text-align: inherit; 4407 -webkit-appearance: none; 4408 width: 100%; 4409 height: 100%; 4410} 4411.mat-date-range-input-inner:-moz-ui-invalid { 4412 box-shadow: none; 4413} 4414.mat-date-range-input-inner::placeholder { 4415 transition: color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1); 4416} 4417.mat-date-range-input-inner::-moz-placeholder { 4418 transition: color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1); 4419} 4420.mat-date-range-input-inner::-webkit-input-placeholder { 4421 transition: color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1); 4422} 4423.mat-date-range-input-inner:-ms-input-placeholder { 4424 transition: color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1); 4425} 4426.mat-date-range-input-inner[disabled] { 4427 color: var(--mat-datepicker-range-input-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 4428} 4429.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder, .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder { 4430 -webkit-user-select: none; 4431 user-select: none; 4432 color: transparent !important; 4433 -webkit-text-fill-color: transparent; 4434 transition: none; 4435} 4436@media (forced-colors: active) { 4437 .mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder, .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder { 4438 opacity: 0; 4439 } 4440} 4441.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder, .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder { 4442 -webkit-user-select: none; 4443 user-select: none; 4444 color: transparent !important; 4445 -webkit-text-fill-color: transparent; 4446 transition: none; 4447} 4448@media (forced-colors: active) { 4449 .mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder, .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder { 4450 opacity: 0; 4451 } 4452} 4453.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder, .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder { 4454 -webkit-user-select: none; 4455 user-select: none; 4456 color: transparent !important; 4457 -webkit-text-fill-color: transparent; 4458 transition: none; 4459} 4460@media (forced-colors: active) { 4461 .mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder, .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder { 4462 opacity: 0; 4463 } 4464} 4465.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder, .mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder { 4466 -webkit-user-select: none; 4467 user-select: none; 4468 color: transparent !important; 4469 -webkit-text-fill-color: transparent; 4470 transition: none; 4471} 4472@media (forced-colors: active) { 4473 .mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder, .mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder { 4474 opacity: 0; 4475 } 4476} 4477._mat-animation-noopable .mat-date-range-input-inner::placeholder { 4478 transition: none; 4479} 4480._mat-animation-noopable .mat-date-range-input-inner::-moz-placeholder { 4481 transition: none; 4482} 4483._mat-animation-noopable .mat-date-range-input-inner::-webkit-input-placeholder { 4484 transition: none; 4485} 4486._mat-animation-noopable .mat-date-range-input-inner:-ms-input-placeholder { 4487 transition: none; 4488} 4489 4490.mat-date-range-input-mirror { 4491 -webkit-user-select: none; 4492 user-select: none; 4493 visibility: hidden; 4494 white-space: nowrap; 4495 display: inline-block; 4496 min-width: 2px; 4497} 4498 4499.mat-mdc-form-field-type-mat-date-range-input .mat-mdc-form-field-infix { 4500 width: 200px; 4501} 4502`],encapsulation:2,changeDetection:0})}return t})();function Fce(t){return TA(t,!0)}function M3(t){return t.nodeType===Node.ELEMENT_NODE}function Lce(t){return t.nodeName==="INPUT"}function Vce(t){return t.nodeName==="TEXTAREA"}function TA(t,i){if(M3(t)&&i){let n=(t.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((r,o)=>{let a=document.getElementById(o);return a&&r.push(a),r},[]);if(n.length)return n.map(r=>TA(r,!1)).join(" ")}if(M3(t)){let e=t.getAttribute("aria-label")?.trim();if(e)return e}if(Lce(t)||Vce(t)){if(t.labels?.length)return Array.from(t.labels).map(r=>TA(r,!1)).join(" ");let e=t.getAttribute("placeholder")?.trim();if(e)return e;let n=t.getAttribute("title")?.trim();if(n)return n}return(t.textContent||"").replace(/\s+/g," ").trim()}var P3=(()=>{class t extends N3{_rangeInput=d(AA);_elementRef=d(Q);_defaultErrorStateMatcher=d(M0);_injector=d(he);_rawValue=re("");_parentForm=d(Bp,{optional:!0});_parentFormGroup=d(Ur,{optional:!0});ngControl;_dir=d(xn,{optional:!0});_errorStateTracker;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(){super(),this._errorStateTracker=new Dh(this._defaultErrorStateMatcher,null,this._parentFormGroup,this._parentForm,this.stateChanges)}ngOnInit(){let e=this._injector.get(Br,null,{optional:!0,self:!0});e&&(this.ngControl=e,this._errorStateTracker.ngControl=e)}ngAfterContentInit(){this._register()}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._rawValue.set(this._elementRef.nativeElement.value)}isEmpty(){return this._rawValue().length===0}_getPlaceholder(){return this._elementRef.nativeElement.placeholder}focus(){this._elementRef.nativeElement.focus()}getMirrorValue(){let e=this._rawValue();return e.length>0?e:this._getPlaceholder()}updateErrorState(){this._errorStateTracker.updateErrorState()}_onInput(e){super._onInput(e),this._rangeInput._handleChildValueChange()}_openPopup(){this._rangeInput._openDatepicker()}_getMinDate(){return this._rangeInput.min}_getMaxDate(){return this._rangeInput.max}_getDateFilter(){return this._rangeInput.dateFilter}_parentDisabled(){return this._rangeInput._groupDisabled}_shouldHandleChangeEvent({source:e}){return e!==this._rangeInput._startInput&&e!==this._rangeInput._endInput}_assignValueProgrammatically(e,n){super._assignValueProgrammatically(e,n),(this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)?._validatorOnChange(),this._rawValue.set(this._elementRef.nativeElement.value)}_formatValue(e){super._formatValue(e),this._rangeInput._handleChildValueChange()}_getAccessibleName(){return Fce(this._elementRef.nativeElement)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=W({type:t,inputs:{errorStateMatcher:"errorStateMatcher"},features:[Je]})}return t})(),F3=(()=>{class t extends P3{_startValidator=e=>{let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),r=this._model?this._model.selection.end:null;return!n||!r||this._dateAdapter.compareDate(n,r)<=0?null:{matStartDateInvalid:{end:r,actual:n}}};_validator=gr.compose([...super._getValidators(),this._startValidator]);_register(){this._rangeInput._startInput=this}_getValueFromModel(e){return e.start}_shouldHandleChangeEvent(e){return super._shouldHandleChangeEvent(e)?e.oldValue?.start?!e.selection.start||!!this._dateAdapter.compareDate(e.oldValue.start,e.selection.start):!!e.selection.start:!1}_assignValueToModel(e){if(this._model){let n=new ti(e,this._model.selection.end);this._model.updateSelection(n,this),this._rangeInput._handleChildValueChange()}}_onKeydown(e){let n=this._rangeInput._endInput,r=this._elementRef.nativeElement,o=this._dir?.value!=="rtl";(e.keyCode===39&&o||e.keyCode===37&&!o)&&r.selectionStart===r.value.length&&r.selectionEnd===r.value.length?(e.preventDefault(),n._elementRef.nativeElement.setSelectionRange(0,0),n.focus()):super._onKeydown(e)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Dt(t)))(r||t)}})();static \u0275dir=W({type:t,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(n,r){n&1&&P("input",function(a){return r._onInput(a)})("change",function(){return r._onChange()})("keydown",function(a){return r._onKeydown(a)})("blur",function(){return r._onBlur()}),n&2&&(wt("disabled",r.disabled),N("aria-haspopup",r._rangeInput.rangePicker?"dialog":null)("aria-owns",r._rangeInput._ariaOwns()||null)("min",r._getMinDate()?r._dateAdapter.toIso8601(r._getMinDate()):null)("max",r._getMaxDate()?r._dateAdapter.toIso8601(r._getMaxDate()):null))},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[Ye([{provide:_r,useExisting:t,multi:!0},{provide:ca,useExisting:t,multi:!0}]),Je]})}return t})(),L3=(()=>{class t extends P3{_endValidator=e=>{let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),r=this._model?this._model.selection.start:null;return!n||!r||this._dateAdapter.compareDate(n,r)>=0?null:{matEndDateInvalid:{start:r,actual:n}}};_register(){this._rangeInput._endInput=this}_validator=gr.compose([...super._getValidators(),this._endValidator]);_getValueFromModel(e){return e.end}_shouldHandleChangeEvent(e){return super._shouldHandleChangeEvent(e)?e.oldValue?.end?!e.selection.end||!!this._dateAdapter.compareDate(e.oldValue.end,e.selection.end):!!e.selection.end:!1}_assignValueToModel(e){if(this._model){let n=new ti(this._model.selection.start,e);this._model.updateSelection(n,this)}}_moveCaretToEndOfStartInput(){let e=this._rangeInput._startInput._elementRef.nativeElement,n=e.value;n.length>0&&e.setSelectionRange(n.length,n.length),e.focus()}_onKeydown(e){let n=this._elementRef.nativeElement,r=this._dir?.value!=="rtl";e.keyCode===8&&!n.value?this._moveCaretToEndOfStartInput():(e.keyCode===37&&r||e.keyCode===39&&!r)&&n.selectionStart===0&&n.selectionEnd===0?(e.preventDefault(),this._moveCaretToEndOfStartInput()):super._onKeydown(e)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Dt(t)))(r||t)}})();static \u0275dir=W({type:t,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(n,r){n&1&&P("input",function(a){return r._onInput(a)})("change",function(){return r._onChange()})("keydown",function(a){return r._onKeydown(a)})("blur",function(){return r._onBlur()}),n&2&&(wt("disabled",r.disabled),N("aria-haspopup",r._rangeInput.rangePicker?"dialog":null)("aria-owns",r._rangeInput._ariaOwns()||null)("min",r._getMinDate()?r._dateAdapter.toIso8601(r._getMinDate()):null)("max",r._getMaxDate()?r._dateAdapter.toIso8601(r._getMaxDate()):null))},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[Ye([{provide:_r,useExisting:t,multi:!0},{provide:ca,useExisting:t,multi:!0}]),Je]})}return t})(),V3=(()=>{class t extends _C{_forwardContentValues(e){super._forwardContentValues(e);let n=this.datepickerInput;n&&(e.comparisonStart=n.comparisonStart,e.comparisonEnd=n.comparisonEnd,e.startDateAccessibleName=n._getStartDateAccessibleName(),e.endDateAccessibleName=n._getEndDateAccessibleName())}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Dt(t)))(r||t)}})();static \u0275cmp=F({type:t,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[Ye([Tce,{provide:gC,useFactory:()=>d(gC,{optional:!0,skipSelf:!0})||new Ice(d(gn))},{provide:_C,useExisting:t}]),Je],decls:0,vars:0,template:function(n,r){},encapsulation:2,changeDetection:0})}return t})();var j3=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=G({type:t});static \u0275inj=q({providers:[Xh],imports:[bt,fr,Bs,go,k3,IA,A3,gt,ur]})}return t})();var ls=(function(t){return t.MonthYear="LLL yyyy",t.MonthDayYear="LLL d, yyyy",t})(ls||{}),Rd={required:"Field cannot be left blank. Please provide a value",matDatepickerParse:"Invalid date format",matDatepickerMin:"Date is less than allowed minimum",matDatepickerMax:"Date is more than allowed maximum",matStartDateInvalid:"Start date cannot be after end date",matEndDateInvalid:"End date cannot be before start date",duplicateDateRange:"Please select a valid date range, start and end date should not be same date."};var yC=class{constructor(){this.value=ls.MonthDayYear}get display(){return this.value===ls.MonthDayYear?{dateInput:"LLL dd, yyyy",monthYearLabel:"MMM yyyy",dateA11yLabel:"LLL dd, yyyy",monthYearA11yLabel:"MMMM yyyy"}:{dateInput:"LL/yyyy",monthYearLabel:"MM
4502M yyyy",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM yyyy"}}get parse(){return this.value===ls.MonthDayYear?{dateInput:["LLL d yyyy","LLL d, yyyy","LLL d,yyyy","LLL d.yyyy","LLL d. yyyy","LLL.d.yyyy","LLL,d,yyyy","LLL-d-yyyy","M-d-yyyy","M,d,yyyy","M.d.yyyy","M/d/yyyy","M d yyyy","M d, yyyy","M d. yyyy"]}:{dateInput:["M yyyy","LL/yyyy","M/yyyy","M,yyyy","MMM,yyyy","MMM/yyyy","MMM yyyy"]}}};function Bce(t){if(typeof t=="string"){if(/^\d{4}-\d{2}-\d{2}$/.test(t))return t.replace(/^(\d{4})-(\d{2})-(\d{2})$/,"$1/$2/$3");if(/^\d{1,2}-\d{1,2}-\d{2,4}$/.test(t))return t.replace(/^(\d{1,2})-(\d{1,2})-(\d{2,4})$/,"$1/$2/$3");if(/^\d{1,2}-\d{4}$/.test(t))return t.replace(/^(\d{1,2})-(\d{4})$/,"$1/$2");if(/T\d{2}:\d{2}:\d{2}/.test(t)||/T\d{2}:\d{2}/.test(t))return t}return t}var U3=(()=>{class t extends yA{parse(e,n){return typeof e=="string"&&(e=Bce(e)),super.parse(e,n)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Dt(t)))(r||t)}})()}static{this.\u0275prov=M({token:t,factory:t.\u0275fac})}}return t})();var Uce=["datePickerInput"],Hce=t=>({"error-outline":t}),H3=t=>({width:t}),zce=(t,i,e)=>({"error-outline":t,"only-xs:!min-w-[280px]":i,"only-xs:!min-w-[300px]":e});function $ce(t,i){if(t&1){let e=le();g(0,"mat-form-field",3)(1,"input",5,0),P("blur",function(){B(e);let r=v();return U(r.onBlur())})("keypress",function(r){B(e);let o=v();return U(o.onKeypress(r))}),_(),O(3,"mat-datepicker-toggle",6),g(4,"mat-datepicker",7,1),P("closed",function(){B(e);let r=v();return U(r.datePickerClosed())})("monthSelected",function(r){B(e);let o=Ie(5),a=v();return U(a.chosenMonthHandler(r,o))}),_()()}if(t&2){let e=Ie(5),n=v();w("ngClass",Be(17,Hce,n.showErrorOutline))("ngStyle",Be(19,H3,n.width()||"auto")),f(),w("formControl",n.dateCtrl)("required",n.isRequired())("matDatepicker",e)("maxlength",n.maxLength)("minLength",
4502n.minLength)("min",n.minDate())("max",n.maxDate())("errorStateMatcher",n.matcher),N("data-testid",n._testId())("aria-label",n.ariaLabel()??n.datePlaceHolder)("readonly",n.isReadonly()?!0:null),f(2),w("for",e)("disabled",n.isReadonly()||n.isDisabled||n.dateCtrl.disabled),f(),w("startView",n.startView)("panelClass",n.panelClass)}}function Wce(t,i){if(t&1){let e=le();g(0,"mat-form-field",4)(1,"mat-date-range-input",8)(2,"input",9),P("blur",function(r){B(e);let o=v();return U(o.onBlur(r))})("keypress",function(r){B(e);let o=v();return U(o.onKeypress(r))}),_(),g(3,"input",10),P("blur",function(r){B(e);let o=v();return U(o.onBlur(r))})("keypress",function(r){B(e);let o=v();return U(o.onKeypress(r))}),_()(),O(4,"mat-datepicker-toggle",11),g(5,"mat-date-range-picker",12,2),P("closed",function(){B(e);let r=v();return U(r.datePickerClosed())}),_()()}if(t&2){let e=Ie(6),n=v();w("ngStyle",Be(16,H3,n.width()))("ngClass",yt(18,zce,n.showErrorOutline,!n.useRangeFormatAsPlaceHolder(),n.useRangeFormatAsPlaceHolder())),f(),w("formGroup",n.rangePickerForm)("max",n.maxDate())("min",n.minDate())("rangePicker",e),f(),w("placeholder",n.useRangeFormatAsPlaceHolder()?n.datePlaceHolder:"Start date")("required",n.isRequired()),N("data-testid",n._testId()+"-start")("aria-label",(n.ariaLabel()??n.datePlaceHolder)+" from"),f(),w("placeholder",n.useRangeFormatAsPlaceHolder()?n.datePlaceHolder:"End date")("required",n.isRequired()),N("data-testid",n._testId()+"-end")("aria-label",(n.ariaLabel()??n.datePlaceHolder)+" to"),f(),w("for",e),f(),w("startView",n.startView)}}var kA=class{isErrorState(i){return(i?.invalid&&i?.touched)??!1}},z3=(()=>{class t{constructor(){this.config=d(Gr),this.formBuilder=d(WT),this.dateFormat=C(ls.MonthDayYear),this.minDate=C(),this.maxDate=C(),this.isRequired=C(!1),this.isRange=C(!1),this.ariaLabel=C(),this.useRangeFormatAsPlaceHolder=C(!1),this.width=C("auto"),this._isDisabled=!1,this.isReadonly=C(!1),this.testId=C(void 0),this._testId=Z(()=>Te("date-picker",this.testId(),this.ariaLabel())),this.dateChange=new z,this.errorChange=new z,this.datePickerInput=Qe.required("datePickerInput"),this.matcher=new kA,this.maxLength=13,this.minLength=10,this.showErrorOutline=!1,this.startView="month",this.datePlaceHolder="MMM DD, YYYY",this.panelClass="",this._isInitialized=!1,this._unSubscribe=new V,this._previousValue=null,this.onChange=()=>{},this.onTouched=()=>{},this.onValidationChange=()=>{}}set isDisabled(e){this._isDisabled=e,this.setDisabledState(e)}get isDisabled(){return this._isDisabled}set date(e){this._date=e,this._previousValue=e,this._date&&this.updateValues(e??null)}get date(){return this._date??null}get errors(){if(this.isRange()){let e=this.startDateCtrl.errors,n=this.endDateCtrl.errors;return e||n?x(x({},e||{}),n||{}):null}else return this.dateCtrl?.errors||null}get touched(){return this.isRange()?this.isRangeTouched||!1:this.dateCtrl?.touched||!1}get hasRangeChanged(){let e=this._previousValue,n=this.date;return e?.startDate!==n?.startDate||e?.endDate!==n?.endDate}get isRangeTouched(){return this.startDateCtrl.touched&&this.endDateCtrl.touched}get startDateCtrl(){return this.rangePickerForm?.controls.startDate}get endDateCtrl(){return this.rangePickerForm?.controls.endDate}ngOnInit(){this.dateFormat()===ls.MonthYear&&!this.isRange()?(this.config.value=ls.MonthYear,this.maxLength=8,this.minLength=7,this.startView="multi-year",this.datePlaceHolder="MM/YYYY",this.panelClass="remove-day-view"):(this.config.value=ls.MonthDayYear,this.maxLength=13,this.minLength=10,this.startView="month",this.datePlaceHolder="MMM DD, YYYY",this.panelClass=""),this._initializeFormControl(),this._subscribeToFormChanges(),this._isInitialized=!0}onBlur(e){this.isRange()?e?.relatedTarget&&(e?.relatedTarget).className.includes("mat-date-range-input")?this._markAsUntouched():(this.markAsTouched(),this._emitDateChange(this._previousValue)):this.markAsTouched(),this._setErrorState()}onKeypress(e){e.code==="Enter"?(e?.target).blur():e.code==="Space"&&(e?.target).value.length===0&&e.preventDefault()}datePickerClosed(){this.onBlur()}chosenMonthHandler(e,n){!this.isRange()&&this.dateFormat()===ls.MonthYear&&(this.dateCtrl?.setValue(e),n.close(),this._emitDateChangeAndSetErrors(e))}
4502writeValue(e){this._previousValue=e,e?this.updateValues(e):this.resetDate()}validate(){return this.getFormControlErrors()}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}registerOnValidatorChange(e){this.onValidationChange=e}markAsTouched(){this.isRange()?(this.rangePickerForm?.markAllAsTouched(),this.onTouched()):(this.dateCtrl?.markAsTouched(),this.onTouched()),this._setErrorState()}setError(e){this.dateCtrl?.setErrors({[e]:!0})}clearError(){this.dateCtrl?.setErrors(null)}setFocus(){this.datePickerInput().focus()}setDisabledState(e){e?this._disableFormControl():this._enableFormControl()}_markAsUntouched(){this.isRange()?(this.startDateCtrl.markAsUntouched(),this.endDateCtrl.markAsUntouched(),this.rangePickerForm?.updateValueAndValidity()):(this.dateCtrl?.markAsUntouched(),this.dateCtrl?.updateValueAndValidity())}updateValues(e){this.isRange()?this.rangePickerForm?.setValue({startDate:e?.startDate||null,endDate:e?.endDate||null}):this.dateCtrl?.setValue(e)}_initializeFormControl(){this.isRange()?this.rangePickerForm=this.formBuilder.group({startDate:{value:this.date?.startDate??null,disabled:this.isDisabled,updateOn:"change"},endDate:{value:this.date?.endDate??null,disabled:this.isDisabled,updateOn:"change"}}):this.dateCtrl=new _d({value:this.date??null,disabled:this.isDisabled},{updateOn:"change"})}_subscribeToFormChanges(){this.isRange()?this.rangePickerForm?.valueChanges.pipe(Ee(this._unSubscribe)).subscribe(e=>{let n=this._previousValue;this._isInitialized&&(e.startDate!==n?.startDate||e.endDate!==n?.endDate)?(this._previousValue=e,this._emitDateChangeAndSetErrors(e)):this._setErrorState()}):this.dateCtrl?.valueChanges.pipe(Ee(this._unSubscribe)).subscribe(e=>{this._isInitialized&&e!==this._previousValue?(this._previousValue=e,this._emitDateChangeAndSetErrors(e)):(this._setErrorState(),this.onChange(e))})}_emitDateChangeAndSetErrors(e){this._emitDateChange(e),this._setErrorState()}_emitDateChange(e){(!this.isRange()||this.hasRangeChanged&&this.isRangeTouched)&&(this.dateChange.emit(e),this.onChange(e))}_setErrorState(){let e="";this.errors&&(this.errors.matDatepickerParse?e=Rd.matDatepickerParse:this.errors.matDatepickerMin?e=Rd.matDatepickerMin:this.errors.matDatepickerMax?e=Rd.matDatepickerMax:this.errors.matStartDateInvalid?e=Rd.matStartDateInvalid:this.errors.matEndDateInvalid?e=Rd.matEndDateInvalid:this.errors.required&&(e=Rd.required)),this.touched&&e&&(this.onValidationChange(),this.errorChange.emit(e))}_disableFormControl(){this.isRange()?this.rangePickerForm?.disable():this.dateCtrl?.disable({emitEvent:!1})}_enableFormControl(){this.isRange()?this.rangePickerForm?.enable():this.dateCtrl?.enable({emitEvent:!1})}getFormControlErrors(){return new Promise(e=>{setTimeout(()=>{e(this.errors)})})}resetDate(){this.isRange()?this.rangePickerForm?.reset():(this.clearError(),this.dateCtrl?.markAsUntouched(),this.dateCtrl?.patchValue(null,{emitEvent:!1}),this.dateCtrl?.updateValueAndValidity({emitEvent:!1}))}ngOnDestroy(){this._unSubscribe.next(),this._unSubscribe.complete()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-date-picker"]],viewQuery:function(n,r){n&1&&It(r.datePickerInput,Uce,5),n&2&&ct()},inputs:{dateFormat:[1,"dateFormat"],minDate:[1,"minDate"],maxDate:[1,"maxDate"],isRequired:[1,"isRequired"],isRange:[1,"isRange"],ariaLabel:[1,"ariaLabel"],useRangeFormatAsPlaceHolder:[1,"useRangeFormatAsPlaceHolder"],width:[1,"width"],isReadonly:[1,"isReadonly"],testId:[1,"testId"],isDisabled:"isDisabled",date:"date"},outputs:{dateChange:"dateChange",errorChange:"errorChange"},features:[Ye([{provide:gn,useClass:U3,deps:[Nd,vA]},{provide:Gr,useClass:yC},{provide:_r,useExisting:vn(()=>t),multi:!0},{provide:vd,useExisting:vn(()=>t),multi:!0}])],decls:2,vars:2,consts:[["datePickerInput","matInput"],["datepicker",""],["rangePicker",""],["appearance","outline","data-track-gcl-view","Date Picker - Single",1,"!min-w-[145px]","only-xs:!min-w-[155px]",3,"ngClass","ngStyle"],["appearance","outline","data-track-gcl-view","Date Picker - Range",1,"sm:!min-w-[270px]",3,"ngStyle","ngClass"],["matInput","",3,"blur","keypress","formControl","required","matDatepicker","maxlength","minLength","min","max","errorStateMatcher"],["matSuffix","",3,"for","disabled"],[3,"closed","monthSelected","startView","panelClass"],[3,"formGroup","max","min","rangePicker"],["matStartDate","","formControlName","startDate",3,"blur","keypress","placeholder","required"],["matEndDate","","formControlName","endDate",3,"blur","keypress","placeholder","required"],["matSuffix","",3,"for"],[3,"closed","startView"]],template:function(n,r){n&1&&(E(0,$ce,6,21,"mat-form-field",3),E(1,Wce,7,22,"mat-form-field",4)),n&2&&(S(!r.isRange()&&r.dateCtrl?0:-1),f(),S(r.isRange()&&r.rangePickerForm?1:-1))},dependencies:[Ue,ot,Ms,Hr,es,yo,Hl,$T,Up,di,zT,Ur,bd,ui,bo,vr,Us,j3,O3,vC,IA,AA,F3,L3,V3,y3,Dn,v3],encapsulation:2})}}return t})();function qce(t,i){if(t&1&&(Tt(0,"div",0),On(1,"i",1),I(2),Ut()),t&2){let e=v();N("data-testid",e._testId()),f(2),pe(" ",e.errorMessage," ")}}var $3=(()=>{class t{constructor(){this.errorMessage="",this.testId=C(void 0),this._testId=Z(()=>Te("error-message",this.testId()))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-ui-error-message"]],inputs:{errorMessage:"errorMessage",testId:[1,"testId"]},decls:1,vars:1,consts:[[1,"aamc-error-main-text"],["aria-label","error","role","img",1,"aamc-i-warning","small"]],template:function(n,r){n&1&&E(0,qce,3,2,"div",0),n&2&&S(r.errorMessage?0:-1)},styles:[`ol[_ngcontent-%COMP%]{list-style-type:decimal}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-roman}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-roman}ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:square}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle} 4503/*# sourceMappingURL=aamc-error-message.component-QOUSCL4R.css.map */`],changeDetection:0})}}return t})();var Yce=["*",[["","form-field-helper",""]]],Qce=["*","[form-field-helper]"],Zce=(t,i)=>({"text-input-editor-error":t,"theme-mat-error":i});function Kce(t,i){t&1&&(g(0,"span",7),I(1,"*"),_())}function Xce(t,i){if(t&1&&(g(0,"mat-label",0),E(1,Kce,2,0,"span",7),g(2,"span",8),I(3),_(),ae(4,1),_()),t&2){let e=v();f(),S(e.requiredMarker?1:-1),f(2),qe(e.label)}}
4503function Jce(t,i){if(t&1&&(g(0,"mat-hint",4),I(1),_()),t&2){let e=v();f(),qe(e.hint)}}function ede(t,i){t&1&&O(0,"aamc-ui-error-message",9),t&2&&w("errorMessage",i)}function tde(t,i){if(t&1&&(g(0,"span",10),I(1),_()),t&2){let e=v(2);f(),tr(" ",e.count()-e.maxLimit," characters over ",e.maxLimit," ")}}function nde(t,i){if(t&1&&(g(0,"mat-error",5),E(1,ede,1,1,"aamc-ui-error-message",9),nn(2,"async"),E(3,tde,2,2,"span",10),_()),t&2){let e,n=v();w("id",n.id)("ngClass",tn(7,Zce,n.showRemainingCount||n.uiEditor,n.showRemainingCount&&n.showError&&n.isMaxLengthExceeded())),N("data-testid","extended-field-error"),f(),S((e=ai(2,5,n.error$))?1:-1,e),f(2),S(n.showRemainingCount&&n.maxLimit<n.count()?3:-1)}}function ide(t,i){if(t&1&&(g(0,"span",6),I(1),_()),t&2){let e=v();f(),tr(" ",e.maxLimit-e.count()>0?e.maxLimit-e.count():0," characters left out of ",e.maxLimit," ")}}var rde=0,bC=(()=>{class t{constructor(){this.cd=d(Pe),this.render=d(Ge),this.hostElement=d(Q),this.controlContainer=d(vi,{optional:!0}),this.label="",this.hint="",this.errors={},this.fieldFormControl=C(""),this.showRemainingCount=!1,this.maxLimit=0,this.parentForm=C(),this.fieldInstanceCounter=C(""),this.nonReactiveFormId=C(),this.testId=C(void 0),this.matFormField=ln(Hs),this.defaultMaxLengthErrorMessage="Max length is exceeded",this.count=re(0),this._testId=Z(()=>Te("extended-field",this.testId(),this.label)),this.isMaxLengthExceeded=Z(()=>this.uiEditor?!!this.uiEditor.errors?.maxlength:this._control?!!this._control.errors?.maxlength:!1),this.describedById=`aamc-extended-field-description-${rde++}`,this._describeControl=Zn(()=>{let e=this.matFormField();if(!e||typeof e.setDescribedByIds!="function")return;let n=e.describedByIds??[];n.includes(this.describedById)||e.setDescribedByIds([...n,this.describedById])}),this._errorCode=""}set requiredMarker(e){this._requiredMarker=e}get requiredMarker(){return this._requiredMarker===!1?!1:this._requiredMarker===!0||this._control?.hasValidator(Ql.required)||this._control?.hasValidator(gr.required)||this.uiEditor?.required}get errorCode(){return this._errorCode}set errorCode(e){this._errorCode=e,this._showHideError(e)}ngOnChanges(e){e.errors&&e.maxLimit&&!e.errors.currentValue.maxlength&&(this.errors=Y(x({},this.errors),{maxlength:this.defaultMaxLengthErrorMessage}))}ngAfterViewInit(){let e=this.hostElement.nativeElement;(this.testId()!==void 0||!e.hasAttribute("data-testid"))&&this.render.setAttribute(e,"data-testid",this._testId()),this.uiEditor&&(this.maxLimit=this.uiEditor.maxLength,this._updateInputCharacterCount(),this.uiEditor.editorChangeEvent.subscribe(()=>{this._updateInputCharacterCount()}),this.error$=this.uiEditor.errorsChanged.pipe(Ot(this.uiEditor.onTouched),Ct((r,o)=>this._reactiveFormErrorObserver(this._control.errors))));let n=this.fieldFormControl();this.controlContainer&&n?(this.id=n+"-error"+this.fieldInstanceCounter(),this._formGroup=this.controlContainer?.control,this._control=this._formGroup.controls[n],this.showRemainingCount&&(this._updateInputCharacterCount(),this._control.valueChanges.subscribe(()=>{this._updateInputCharacterCount()})),this._control&&!this.uiEditor&&(this.error$=this._control?.statusChanges.pipe(Ot(this._control.status),Ct((r,o)=>this._reactiveFormErrorObserver(this._control.errors))))):(this.uiEditor&&(this.error$=this.uiEditor.errorsChanged.pipe(Ot(this.uiEditor.onTouched),Ct((r,o)=>this._nonReactiveFormErrorObserver(this.uiEditor)))),this.datePicker&&(this.error$=this.datePicker.errorChange.pipe(Ot(this.datePicker.onTouched),Ct((r,o)=>this._nonReactiveFormErrorObserver(this.datePicker)))),this.id=(this.nonReactiveFormId()??this.label)+"-error"+this.fieldInstanceCounter()),this.cd.detectChanges()}get showError(){if(this._showErrorNonReactiveForms!==void 0)return this._showErrorNonReactiveForms;if(this.ngSelectRefs){let n=this.ngSelectRefs.element.classList;return n.contains("ng-invalid")&&(n.contains("ng-touched")||n.contains("ng-dirty"))||n.contains("ng-invalid")&&this.parentForm()?.submitted?(n.add("show-error"),!0):(n.remove("show-error"),!1)}let e=this.matFormField();if(e&&this._control)return e.errorState;if(this.uiEditor)return this._control?this.uiEditor.showError()&&(this._control.touched||this._control.dirty):this.uiEditor.showError();if(this.datePicker){let n=this.datePicker.isRange()?(this.datePicker.rangePickerForm?.touched||this._control?.touched)&&(this.datePicker.rangePickerForm?.invali
4503d||this._control?.invalid):(this.datePicker.dateCtrl?.touched||this._control?.touched)&&(this.datePicker.dateCtrl?.invalid||this._control?.invalid);return this.datePicker.showErrorOutline!==n&&(this.datePicker.showErrorOutline=n??!1),n}return this._control?this._control.touched||this._control.dirty:!0}_showHideError(e){Object.keys(this.errors).length>0&&e?(this.error$=K(this.errors[e]),this._showErrorNonReactiveForms=!0):this._showErrorNonReactiveForms=!1}_updateInputCharacterCount(){this.count.set(this.uiEditor?.charCount()??this._control?.value?.length??0)}_reactiveFormErrorObserver(e){let n="";return this.errors&&Object.keys(this.errors).forEach(r=>{e&&e[r]&&(n=this.errors[r])}),K(n)}_nonReactiveFormErrorObserver(e){let n="";return Object.keys(this.errors).forEach(r=>{e.errors&&e.errors[r]&&(n=this.errors[r])}),K(n)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["aamc-extended-field"]],contentQueries:function(n,r,o){if(n&1&&(Ei(o,r.matFormField,Hs,5),Nn(o,GS,5)(o,z3,7)(o,$l,7)),n&2){ct();let a;we(a=xe())&&(r.uiEditor=a.first),we(a=xe())&&(r.datePicker=a.first),we(a=xe())&&(r.ngSelectRefs=a.first)}},inputs:{label:"label",hint:"hint",errors:"errors",fieldFormControl:[1,"fieldFormControl"],showRemainingCount:"showRemainingCount",maxLimit:"maxLimit",parentForm:[1,"parentForm"],fieldInstanceCounter:[1,"fieldInstanceCounter"],nonReactiveFormId:[1,"nonReactiveFormId"],testId:[1,"testId"],requiredMarker:"requiredMarker",errorCode:"errorCode"},standalone:!1,features:[Ze],ngContentSelectors:Qce,decls:8,vars:5,consts:[["data-track-gcl-view","Extended Field","data-testid","extended-field-label"],["data-track-gcl-view","Extended Field","data-testid","extended-field-content",1,"gtm-tracking"],["data-track-gcl-view","Extended Field","data-testid","extended-field-hint-error-container",1,"hint-and-error-container",3,"id"],["aria-live","polite","data-testid","extended-field-live-region"],["data-testid","extended-field-hint"],[3,"id","ngClass"],["data-testid","extended-field-remaining-count",1,"remaining-text-count-hint"],["data-testid","extended-field-required-marker",1,"required-marker"],["data-testid","extended-field-label-text",1,"extended-field-label-text"],[3,"errorMessage"],["aria-live","off","data-testid","extended-field-error-sub-text",1,"aamc-error-sub-text"]],template:function(n,r){n&1&&(We(Yce),E(0,Xce,5,2,"mat-label",0),g(1,"div",1),ae(2),_(),g(3,"div",2)(4,"div",3),E(5,Jce,2,1,"mat-hint",4),E(6,nde,4,10,"mat-error",5),_(),E(7,ide,2,2,"span",6),_()),n&2&&(S(r.label?0:-1),f(3),w("id",r.describedById),f(2),S(r.hint&&!r.showError?5:-1),f(),S(r.showError||r.showRemainingCount&&r.maxLimit<r.count()?6:-1),f(),S(r.showRemainingCount&&r.maxLimit>=r.count()&&!r.isMaxLengthExceeded()?7:-1))},dependencies:[ot,Hp,zp,YT,$3,Zo],styles:[`ol[_ngcontent-%COMP%]{list-style-type:decimal}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-roman}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-roman}ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:square}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}.gtm-tracking[_ngcontent-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%]{flex-direction:column;box-sizing:border-box;display:flex;max-width:100%}.hint-and-error-container[_ngcontent-%COMP%]{padding:4px 0 16px;position:relative;line-height:16px;min-height:24px}.hint-and-error-container[_ngcontent-%COMP%] .mat-mdc-form-field-error[_ngcontent-%COMP%]{display:flex;color:#c01e31}.hint-and-error-container[_ngcontent-%COMP%] .mat-mdc-form-field-error[_ngcontent-%COMP%]:before{height:auto!important}.hint-and-error-container[_ngcontent-%COMP%] .mat-mdc-form-field-error.text-input-editor-error[_ngcontent-%COMP%]{width:calc(100% - 200px)}.hint-and-error-container[_ngcontent-%COMP%] .mat-mdc-form-field-error[_ngcontent-%COMP%] .aamc-error-sub-text[_ngcontent-%COMP%]{position:absolute;right:0}.mat-mdc-form-field-hint[_ngcontent-%COMP%]{display:flex;color:#666}.remaining-text-count-hint[_ngcontent-%COMP%]{display:block;font-size:12px;color:#666;position:absolute;right:0;top:4px}.theme-mat-error[_ngcontent-%COMP%]{display:flex;justify-content:space-between;color:#c01e31}.theme-mat-error[_ngcontent-%COMP%]:before{display:none!important}
4504/*# sourceMappingURL=aamc-extended-field.component-WVIW5JUF.css.map */`]})}}return t})();var ode=[di,Dn],CC=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=G({type:t})}static{this.\u0275inj=q({imports:[Ue,ode,di,Dn]})}}return t})();var ade=(t,i)=>({"lg:basis-full lg:max-w-[100%]":t,"lg:basis-[48%] lg:max-w-[48%]":i}),sde=()=>({required:"Please fill out this field",email:"Please enter a valid email"});function lde(t,i){if(t&1&&(g(0,"mat-form-field",4),O(1,"textarea",5),_()),t&2){let e=v().$implicit,n=v();f(),w("formControlName",e.key)("name",n.forms[e.value].name)("id",n.forms[e.value].name),_l("aria-describedby",e.key+"-error"),N("aria-label",n.forms[e.value].label)}}function cde(t,i){if(t&1&&(g(0,"mat-form-field",4),O(1,"input",6),_()),t&2){let e=v().$implicit,n=v();f(),w("maxlength",n.forms[e.value].validation.maxLength)("name",n.forms[e.value].name)("id",n.forms[e.value].name)("formControlName",e.key),_l("aria-describedby",e.key+"-error"),N("aria-label",n.forms[e.value].label)}}function dde(t,i){if(t&1&&(Ar(0,1),g(1,"div",2)(2,"aamc-extended-field",3),E(3,lde,2,5,"mat-form-field",4),E(4,cde,2,6,"mat-form-field",4),_()(),kr()),t&2){let e=i.$implicit,n=v();w("formGroup",n.formGroup),f(),w("ngClass",tn(9,ade,n.forms[e.value].type==="textarea",n.forms[e.value].type!=="textarea")),f(),w("label",n.forms[e.value].label)("fieldFormControl",e.key)("requiredMarker",n.forms[e.value].validation.required)("errors",Mt(12,sde)),N("data-testid",n.forms[e.value].name),f(),S(n.forms[e.value].type==="textarea"?3:-1),f(),S(n.forms[e.value].type==="text"?4:-1)}}var q3=(()=>{class t{constructor(){this.controlContainer=d(vi),this.basicFormFields=y.BasicForm,this.forms=Fi.basicForm,this.originalOrder=()=>0}get formGroup(){return this.controlContainer.control}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["act-help-contact-form-basic"]],decls:4,vars:3,consts:[[1,"flex","flex-row","flex-wrap","justify-between","items-start","basis-full","max-w-[100%]"],[3,"formGroup"],[1,"basis-[100%]","max-w-[100%]",3,"ngClass"],[3,"label","fieldFormControl","requiredMarker","errors"],["appearance","outline"],["rows","5","matInput","",3,"formControlName","name","id","aria-describedby"],["matInput","",3,"maxlength","name","id","formControlName","aria-describedby"]],template:function(n,r){n&1&&(g(0,"div",0),tt(1,dde,5,13,"ng-container",1,Ft),nn(3,"keyvalue"),_()),n&2&&(f(),nt(yl(3,0,r.basicFormFields,r.originalOrder)))},dependencies:[CC,bC,es,yo,Hl,Up,Ur,bd,vr,Dn,ui,bo,di,ot,pm],encapsulation:2})}}return t})();function ude(t,i){if(t&1&&O(0,"ng-select",5)(1,"input",6),t&2){let e,n=v(2).$implicit,r=v();w("placeholder","-- select an option --")("items",n.key===r.formFields.applicant_type?r.selectValues.applicant_type:n.key===r.formFields.author_or_uploade?r.selectValues.author_or_uploade:r.selectValues.eras_access)("formControlName",n.key),N("aria-label",r.forms[n.value].label),f(),N("name",r.forms[n.value].name)("id",r.forms[n.value].name)("value",r.controlContainer.control==null||(e=r.controlContainer.control.get(n.value))==null?null:e.value)}}function hde(t,i){if(t&1&&(g(0,"mat-form-field",4),O(1,"textarea",7),_()),t&2){let e=v(2).$implicit,n=v();f(),w("formControlName",e.key)("name",n.forms[e.value].name)("id",n.forms[e.value].name),_l("aria-describedby",e.key+"-error"),N("aria-label",n.forms[e.value].label)}}function fde(t,i){if(t&1&&(g(0,"mat-form-field",4),O(1,"input",8),_()),t&2){let e=v(2).$implicit,n=v();f(),w("formControlName",e.key)("name",n.forms[e.value].name)("id",n.forms[e.value].name),_l("aria-describedby",e.key+"-error"),N("aria-label",n.forms[e.value].label)}}function mde(t,i){if(t&1&&(g(0,"div",2)(1,"aamc-extended-field",3),E(2,ude,2,7),E(3,hde,2,5,"mat-form-field",4),E(4,fde,2,5,"mat-form-field",4),_()()),t&2){let e=v().$implicit,n=v();f(),w("label",n.forms[e.value].label)("fieldFormControl",e.key),N("data-testid",n.forms[e.value].name),f(),S(n.forms[e.value].type==="select"?2:-1),f(),S(n.forms[e.value].type==="textarea"?3:-1),f(),S(n.forms[e.value].type==="text"?4:-1)}}function pde(t,i){if(t&1&&(Ar(0,1),E(1,mde,5,6,"div",2),kr()),t&2){let e=i.$implicit,n=v();w("formGroup",n.formGroup),f(),S(n.mappings[e.value]?1:-1)}}var G3=(()=>{class t{constructor(){this.controlContainer=d(vi),this.formFields=y.FormFields,this.forms=Fi.advancedForm,this.mappings=g3,this.selectValues=Fi.selectValues,this.order=()=>0}set selectedRole(e){this._selectedRole=e,this.onChange()}get selectedRole(){return this._selectedRole}set selectedService(e){this._selectedService=e,this.onChange()}get selectedService(){return this._selectedService}get formGroup(){return this.controlContainer.control}onChange(){if(this.selectedRole&&this.selectedService){let e=mC[this.selectedService][this.selectedRole].form;for(let n of Object.entries(this.formFields))e&&e?.includes(n[1])?this.mappings[n[1]]=!0:this.mappings[n[1]]=!1}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["act-help-contact-form-dynamic"]],inputs:{selectedRole:"selectedRole",selectedService:"selectedService"},decls:4,vars:3,consts:[[1,"flex","flex-row","flex-wrap","justify-between","items-start","basis-full"],[3,"formGroup"],[1,"basis-full"],[3,"label","fieldFormControl"],["appearance","outline"],["bindLabel","value","bindValue","id",3,"placeholder","items","formControlName"],["type","hidden"],["rows","5","matInput","",3,"formControlName","name","id","aria-describedby"],["matInput","",3,"formControlName","name","id","aria-describedby"]],template:function(n,r){n&1&&(g(0,"div",0),tt(1,pde,2,2,"ng-container",1,Ft),nn(3,"keyvalue"),_()),n&2&&(f(),nt(yl(3,0,r.formFields,r.order)))},dependencies:[CC,bC,es,yo,Hl,Ur,bd,vr,Dn,ui,bo,Ih,$l,di,pm],encapsulation:2})}}return t})();var Y3=(()=>{class t{constructor(){this.config=d(yr),this.captchaValueString="",this.verify=new z,this.captchaValue={keyname:"WebForms",fallback:"true",orgId:"",ts:""},this.siteKey=this.config.salesForceValues.siteKey,this.orgId=this.config.salesForceValues.origId}ngOnInit(){grecaptcha?.render("capcha_element",{sitekey:this.siteKey,callback:"getResponseCaptcha"}),window.getResponseCaptcha=this.getResponseCaptcha.bind(this)}getResponseCaptcha(e){e&&(this.captchaValue={keyname:"WebForms",fallback:"true",ts:JSON.stringify(new Date().getTime()),orgId:this.orgId},this.captchaValueString=JSON.stringify(this.captchaValue),this.verify.emit(!0))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["act-help-contact-form-captcha"]],outputs:{verify:"verify"},decls:2,vars:2,consts:[["id","recaptcha-settings","type","hidden","name","captcha_settings",3,"value"],["id","capcha_element","data-callback","recaptchaComplete",1,"g-recaptcha"]],template:function(n,r){n&1&&On(0,"input",0)(1,"div",1),n&2&&(wt("value",r.captchaValueString),f(),N("data-sitekey",r.siteKey))},encapsulation:2})}}return t})();function gde(t,i){if(t&1&&(g(0,"p",15),I(1," If you'd rather speak to someone call \xA0"),g(2,"a"),I(3),_()()),t&2){let e=v(2);f(2),N("href","tel:"+(e.formMapping[e.selectedService][e.selectedRole]==null?null:e.formMapping[e.selectedService][e.selectedRole].phoneNumber),Qt),f(),qe(e.formMapping[e.selectedService][e.selectedRole]==null?null:e.formMapping[e.selectedService][e.selectedRole].phoneNumber)}}
4504function _de(t,i){if(t&1){let e=le();g(0,"form",10,0)(2,"p"),I(3," Please fill out the form below and an AAMC Representative will respond to you shortly. Only First Name, Last Name and Preferred Email are required. However, for faster resolution to your request, please complete as much of this form as possible. "),_(),O(4,"act-help-contact-form-hidden",11)(5,"act-help-contact-form-basic")(6,"act-help-contact-form-dynamic",12),g(7,"act-help-contact-form-captcha",13),P("verify",function(r){B(e);let o=v();return U(o.captchaVerified=r)}),_(),g(8,"button",14),P("click",function(){B(e);let r=Ie(1),o=v();return U(o.onSubmit(r))}),I(9," SUBMIT "),_(),E(10,gde,4,2,"p",15),_()}if(t&2){let e=v();w("formGroup",e.accountHelpForm),N("action",e.formActionsUrl,Qt),f(4),w("selectedService",e.selectedService)("description",e.description)("name",e.fullName),f(2),w("selectedRole",e.selectedRole)("selectedService",e.selectedService),f(2),w("disabled",!e.accountHelpForm.valid||!e.captchaVerified),f(2),S((e.formMapping[e.selectedService][e.selectedRole]==null?null:e.formMapping[e.selectedService][e.selectedRole].phoneNumber)!==""?10:-1)}}var Q3=(()=>{class t{constructor(){this.fb=d(Yj),this.config=d(yr),this.basicFormFields=y.BasicForm,this.servicesObj=y.Services,this.services=[],this.rolessObj=y.Roles,this.roles=[],this.allFields=y.FormFields,this.serviceLabels=Fi.serviceLabels,this.roleLabels=Fi.roleLabels,this.showForm=!1,this.captchaVerified=!1,this.description="",this.formMapping=mC,this.destroyNotification=new V,this.formActionsUrl="",this.formActionsUrl=this.config.formActionUrl}ngOnInit(){this.createForm(),this.populateDropDown(),this.watchValueChanges()}populateDropDown(){this.services=Object.entries(this.servicesObj).map(([e,n])=>({id:n,value:Fi.serviceLabels[n]})),this.roles=Object.entries(this.rolessObj).map(([e,n])=>({id:e,value:Fi.roleLabels[n]}))}createForm(){this.accountHelpForm=this.fb.group(this.combineForms())}watchValueChanges(){this.accountHelpForm.valueChanges.pipe(Ee(this.destroyNotification)).subscribe(()=>{this.accountHelpForm.valid&&(this.description=this.generateBasicFormString()+" "+this.generateDynamicFormString())})}combineForms(){return x(x({},this.toArray(this.basicFormFields).reduce((e,n)=>Y(x({},e),{[n]:["",this.getValidations(n)]}),{})),this.toArray(this.allFields).reduce((e,n)=>Y(x({},e),{[n]:[]}),{}))}getValidations(e){let n=[];return Fi.basicForm[e].validation.required&&n.push(Ql.required),Fi.basicForm[e].validation.email&&n.push(gr.email),Fi.basicForm[e].validation.maxLength!==""&&n.push(gr.maxLength(Number(Fi.basicForm[e].validation.maxLength)??80)),n}onChangeSelection(){this.showForm=!1}toArray(e){return Object.keys(e)}onSubmit(e){this.accountHelpForm.valid&&this.captchaVerified&&e.submit()}get fullName(){return this.accountHelpForm.value[this.basicFormFields.firstName]+" "+this.accountHelpForm.value[this.basicFormFields.lastName]}generateDynamicFormString(){let e=this.formMapping[this.selectedService][this.selectedRole].form,n=" | Additional Form Data: ";return e!==null&&e.forEach(r=>{n+=Fi.advancedForm[r].label.replace(":","")+": "+this.checkVal(this.accountHelpForm.value[r])+" | "}),n}generateBasicFormString(){return"Name: "+this.fullName+" | Email: "+this.checkVal(this.accountHelpForm.value[this.basicFormFields.email])+" | Alt Email: "+this.checkVal(this.accountHelpForm.value[this.basicFormFields.alternativeEmail])+" | "+this.roleLabels[this.selectedRole]+" - "+this.selectedService+" | "+this.accountHelpForm.value[this.basicFormFields.description]}checkVal(e){return e===""||e===null||e===void 0?"Not Provided":e}ngOnDestroy(){this.destroyNotification.next(),this.destroyNotification.complete()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["act-help-contact-form-container"]],decls:18,vars:12,consts:[["helpForm",""],[1,"flex","flex-col","lg:flex-row","justify-start","items-start","w-full","max-w-[100%]","lg:max-w-[70%]","lg:basis-[70%]","overflow-hidden"],[1,"flex","flex-col","justify-between","items-start","gap-4","w-full"],[1,"grow","shrink","min-w-full","min-h-full"],["for","roleId"],["bindLabel","value","bindValue","id","aria-label","Roles","data-testid","roles","data-track","role-selection",3,"ngModelChange","change","appendTo","placeholder","items","ngModel","labelForId"],["for","serviceId"],["bindLabel","value","bindValue","id","aria-label","Services","data-testid","services","data-track","services-selection",3,"ngModelChange","change","appendTo","placeholder","items","ngModel","labelForId"],[1,"flex-1"],["color","primary","matButton","outlined","aria-label","View Contact Options","data-testid","contact-option",3,"click","disabled"],["role","form","aria-label","Account Help Form","id","salesforce-form","data-testid","salesforce-form","method","POST","data-track","additional-assistance-form",3,"formGroup"],[3,"selectedService","description","name"],[3,"selectedRole","selectedService"],[3,"verify"],["color","primary","matButton","outlined","aria-label","Submit","data-testid","submit",1,"mt-5",3,"click","disabled"],[1,"h4"]],template:function(n,r){n&1&&(g(0,"div",1)(1,"div",2)(2,"p"),I(3," If you need additional assistance, select your Role and which Service you are trying to access. "),_(),g(4,"div",3)(5,"label",4)(6,"strong"),I(7,"1.Based upon the activities you are currently trying to complete, which best describes your role?"),_()(),g(8,"ng-select",5),Nr("ngModelChange",function(a){return to(r.selectedRole,a)||(r.selectedRole=a),a}),P("change",function(){return r.onChangeSelection()}),_()(),g(9,"div",3)(10,"label",6)(11,"strong"),I(12,"2.Which AAMC service are you trying to access?"),_()(),g(13,"ng-select",7),Nr("ngModelChange",function(a){return to(r.selectedService,a)||(r.selectedService=a),a}),P("change",function(){return r.onChangeSelection()}
4504),_()(),g(14,"div",8)(15,"button",9),P("click",function(){return r.showForm=!0}),I(16," VIEW CONTACT OPTIONS "),_()(),E(17,_de,11,9,"form",10),_()()),n&2&&(f(8),w("appendTo","body")("placeholder","-- Select your role --")("items",r.roles),Or("ngModel",r.selectedRole),w("labelForId","roleId"),f(5),w("appendTo","body")("placeholder","-- Select a service --")("items",r.services),Or("ngModel",r.selectedService),w("labelForId","serviceId"),f(2),w("disabled",!r.selectedService||!r.selectedRole),f(2),S(r.showForm?17:-1))},dependencies:[Ih,$l,Hr,Wj,yo,Hl,yd,di,Ur,bt,zt,_3,q3,G3,Y3],encapsulation:2})}}return t})();var OA=(()=>{class t{constructor(){this.config=d(yr),this.MFA_HELP_ROUTE="2FA-help",this.breadcrumb=[{label:"Home",url:"home"},{label:"Help"}],this.professionalsUrl=this.config.professionalsUrl,this.studentsResidentsUrl=this.config.studentsResidentsUrl,this.contactUsUrl=this.config.contactUsUrl}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["act-help-layout-container"]],decls:45,vars:5,consts:[[3,"breadcrumbs"],[1,"layout-container","overflow-x-auto","sm:overflow-x-hidden"],[1,"flex","flex-row","lt-md:flex-col","gap-5","lt-md:gap-0","justify-between","items-start","w-full"],[1,"flex-1","max-w-[100%]","basis-[100%]","md:max-w-[90%]","md:basis-[90%]","lg:max-w-[70%]","lg:basis-[70%]"],["appearance","raised"],["role","heading","aria-level","2"],[1,"more-resources"],["target","_blank"],[1,"flex-1","max-w-[100%]","basis-[100%]","lg:max-w-[calc(30%-20px)]","lg:basis-[calc(30%-20px)]"],["appearance","raised",1,"md:mt-[66px]"],["role","heading","aria-level","3"],["color","primary","matButton","outlined","data-track","contact-us-before-submission","aria-label","Contact Us",1,"account-help-btn"],["color","primary","matButton","outlined","data-track","2fa-faq","target","_blank","aria-label","2FA FAQ",1,"account-help-btn",3,"routerLink"]],template:function(n,r){n&1&&(O(0,"aamc-breadcrumbs",0),g(1,"div",1)(2,"div",2)(3,"div",3)(4,"h1"),I(5,"Need help with your AAMC account?"),_(),g(6,"mat-card",4)(7,"mat-card-content"),O(8,"act-help-faq-section-container"),_()(),g(9,"h1"),I(10,"Need additional assistance?"),_(),g(11,"mat-card",4)(12,"mat-card-content"),O(13,"act-help-contact-form-container"),_()(),g(14,"mat-card",4)(15,"mat-card-header")(16,"mat-card-title",5),I(17,"More Resources:"),_()(),g(18,"mat-card-content")(19,"div",6)(20,"div")(21,"a",7),I(22,"RESOURCES & SERVICES FOR STUDENTS & RESIDENTS"),_()(),g(23,"div")(24,"a",7),I(25,"RESOURCES & SERVICES FOR PROFESSIONALS"),_()()()()()(),g(26,"div",8)(27,"mat-card",9)(28,"mat-card-header")(29,"mat-card-title",10),I(30,"Contact AAMC Services"),_()(),g(31,"mat-card-content")(32,"p"),I(33," For inquiries other than account access, please refer to our complete listing of programs and services. "),_(),g(34,"a",11),I(35," CONTACT US "),_()()(),g(36,"mat-card")(37,"mat-card-header")(38,"mat-card-title",10),I(39,"Learn More About 2FA at AAMC"),_()(),g(40,"mat-card-content")(41,"p"),I(42," For comprehensive information on two-factor authentication (2FA) at AAMC, please refer to our online FAQs. "),_(),g(43,"a",12),I(44," 2FA FAQ "),_()()()()()()),n&2&&(w("breadcrumbs",r.breadcrumb),f(21),N("href",r.studentsResidentsUrl,Qt),f(3),N("href",r.professionalsUrl,Qt),f(10),N("href",r.contactUsUrl,Qt),f(9),w("routerLink",r.MFA_HELP_ROUTE))},dependencies:[qs,is,rs,q0,Yl,zt,rn,VU,Q3],styles:[`ol[_ngcontent-%COMP%]{list-style-type:decimal}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-roman}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-roman}ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:square}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}.text-wrapper[_ngcontent-%COMP%]{text-align:justify;margin:24px 0}.account-help-btn[_ngcontent-%COMP%]{padding-top:8px}.account-help-btn[_ngcontent-%COMP%]:hover{text-decoration:none!important}.more-resources[_ngcontent-%COMP%]{display:flex;gap:16px;flex-flow:row wrap;padding-top:8px}.more-resources[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{padding-right:16px}.more-resources[_ngcontent-%COMP%] div[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-transform:uppercase}@media(min-width:1280px){.more-resources[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:not(:last-child){border-right:1px solid #333}} 4505/*# sourceMappingURL=layout-container.component-YJAXT7OR.css.map */`]})}}return t})();var Z3=(()=>{class t{constructor(){this.config=d(yr),this.contactUsUrl=this.config.contactUsUrl}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["act-help-thank-you-container"]],decls:13,vars:1,consts:[[1,"layout-container"],["appearance","raised"],[1,"flex","flex-col","justify-start","items-start"],[1,"mb-0"],[1,"mt-1.5"],["data-track","contact-us-after-submission"],["role","button","matButton","outlined","color","primary",1,"mt-3"]],template:function(n,r){n&1&&(g(0,"div",0)(1,"h1"),I(2,"Contact the AAMC"),_(),g(3,"mat-card",1)(4,"mat-card-content")(5,"div",2)(6,"p",3),I(7," Thank y
4505ou for submitting your question to us online. An AAMC Representative will respond to you shortly. "),_(),g(8,"p",4),I(9," For inquiries other than account access, please refer to our complete listing of programs and services. "),_(),g(10,"a",5)(11,"button",6),I(12," CONTACT US "),_()()()()()()),n&2&&(f(10),N("href",r.contactUsUrl,Qt))},dependencies:[is,rs,zt],encapsulation:2})}}return t})();var NA=[{title:"Introduction to Two-Factor Authentication (2FA)",dataSet:[{question:"What is Two-Factor Authentication (2FA)?",answer:"<p>Two-Factor Authentication (2FA) enhances security by introducing an added layer during the login process. It involves two forms of authentication: the initial factor is the traditional username/password authentication, while the second factor is a one-time code sent to the user's registered email address or mobile phone number.</p>"},{question:"How does 2FA work?",answer:"<p>After enrolling to use 2FA, you will periodically be required to provide two forms of verification during login. After entering your username and password, you can choose to receive a one-time code via email or SMS text message on your mobile phone. Once your choice is made, the unique code will be sent to the selected channel. Upon entering the code into the system, you will be granted access to the application. While your email address is associated by default, if you want to receive the code as a text message on your phone, you must add your mobile phone number. Please note that the phone number option is currently available only to users with U.S. or Canadian mobile numbers.</p>"},{question:"Why is 2FA important?",answer:"<p>2FA greatly enhances the security of your AAMC account by introducing an additional authentication step. If someone manages to acquire your password, they will be unable to access the account without the secondary authentication factor. This significantly reduces the likelihood of unauthorized access, safeguards against password-related vulnerabilities, and effectively combats phishing attempts. </p>"}]},{title:"Who should use 2FA?",dataSet:[{question:"Is 2FA available for all users?",answer:`<p>Yes, 2FA is available to all users with an AAMC account. However, if you are a user with high-level access (see <a href="#2fa-faq-2-2"> \u201CWhat defines a high-level of access for users?\u201D</a> below), you are required to 4506use 2FA. For other users, 2FA is optional but highly recommended to enhance the security of 4507their AAMC account.</p><p> To begin using 2FA, you must enable it for your account. (See <a href="#2fa-faq-3-1">\u201CHow do I enable 2FA for my account?\u201D</a> below).</p>`},{question:"What defines a high-level of access for users?",answer:"<p>A user is considered to have a high-level of access if they meet at least one of the following criteria:</p><ul><li>Access to the personal data of other account holders.</li><li>Access to business or institutional data deemed confidential or highly sensitive, as defined by the AAMC data standards. </li><li>Ability to grant/assign access roles to other users.</li>"},{question:"Why is 2FA mandatory for certain users?",answer:"<p>Account and data security are paramount for the AAMC. To enhance the security of accounts with a high-level of access, 2FA is mandatory to ensure that users with elevated privileges are better protected against unauthorized access. This measure is particularly important for such users, as they often have access to other users\u2019 information and perform actions that can affect other users.</p>"}]},{title:"Enabling 2FA",dataSet:[{question:"How do I enable 2FA for my account? ",answer:`<p>When logging in to your AAMC account, you will likely see an announcement regarding the 2FA feature, along with the option to set it up. By selecting the setup option, you will be guided through a step-by-step process to enable 2FA for your account. If you are not ready to sign up immediately, you can choose to skip the setup or be reminded to implement 2FA after 30 days(unless you are a high-level access user. See <a href="#2fa-faq-2-1">\u201CIs 2FA available for all users?\u201D</a> above).</p> 4508 <p>Alternatively, after signing into your account, navigate to the <a href='https://auth.aamc.org/account/#/profile/security' target='_blank'>Account Security</a> section under <i>My Account</i>. Under <i>Account Security</i>, locate the <i>Turn On 2FA</i> option within the Two- Factor Authentication (2FA) section. By clicking this option, you will be guided through a step-by-step process to enable 2FA for your account. </p>`},{question:"Why am I not able to skip and continue without setting up 2FA?",answer:'<p>You do not have the option to skip the 2FA setup if your assigned roles identify you as a user with high-level access (see <a href="#2fa-faq-2-2">\u201CWhat defines a high-level of access for users?\u201D</a> above). It is mandatory for such accounts to use 2FA. This requirement enhances the protection of your account against unauthorized access, which is crucial given the sensitive information and critical actions you handle.</p>'},{question:"What will happen if I have high-level access and don\u2019t set up 2FA?",answer:"<p>If you do not set up 2FA, you will be unable to access the applications until the 2FA configuration is completed.</p>"},{question:"Can I use both email and SMS for 2FA on my account?",answer:`<p>When setting up 2FA for your account, you have the option to add both an email address and a mobile phone number to receive the one-time code for 2FA. Your email address associated with the account will be linked to 2FA by default. However, during setup, you can include your preferred mobile phone number as an additional choice for receiving the one-time code.</p> 4509 <p>Please be aware that standard message and data rates will apply for SMS. As of now, SMS capability is only available for AAMC account holders with phone numbers issued within the 50 U.S. states, the District of Columbia, and Canada. For account holders in the U.S territories and other countries, your email address is the sole option to receive 2FA codes.</p> 4510 <p>Once you have set up the mobile number for receiving the one-time code, you can choose your preferred channel to receive the code: email or mobile phone during the login process. To successfully authenticate, you will need to enter the six-digit, one-time code along with your username and password. This added security measure helps protect your account.</p>`},{question:"What should I do if my phone number is from a U.S. territory or any country outside of the U.S. and Canada?",answer:"<p>If you have a mobile phone number from a U.S. territory or any country outside the 50 U.S. states, the District of Columbia, and Canada, you still have the option to use the email address associated with your account to receive the one-time code for 2FA. It is a reliable alternative that ensures you can benefit from the added security even if your phone number is currently not supported.</p>"},{question:"Why is SMS capability not supported for U.S. Territories? Is there a plan to include them in the future?",answer:"Due to technical limitations, we currently support only the 50 U.S. states, the District of Columbia, and Canada. The inclusion of U.S. territories is under consideration, and we may add support for them in the future."}]},{title:"Using 2FA",dataSet:[{question:"Do I have to use 2FA every time I log in?",answer:"<p>This is up to you. As the account owner, you can choose between two options: (1) Use 2FA for each login, or (2) Allow the system to trust the computer or device you are using for 180 days, which will then exempt you from having to authenticate for 180 consecutive days. If you log in from multiple devices, you will need to follow the 2FA process for each login attempt from a new device. (See <a href='#2fa-faq-4-4'>\u201CCan I mark more than one device as a trusted device for 2FA?\u201D </a>below). </p>"},{question:"What happens if I enter the wrong one-time code or the code expires?",answer:"<p>If you enter an incorrect or expired code, an error message will appear. Keep in mind that the one-time code is valid for only 10 minutes. To request a new code, click on the <i>Resend Code</i> link located on the same screen where you enter the code, right below the code entry box. This allows you to receive a new code and continue with the 2FA login process. </p>"},{question:'In the context of 2FA, what does \u201CTrust this computer or device for 180 days" mean?',answer:"<p>If you select \u201CTrust this computer or device for 180 days\u201D, the system will remember that device for a 180-day period (e.g., a personal computer or smartphone). During this period, subsequent logins from the same device may not require 2FA again. However, if you attempt to log in from a different device or browser that is not marked as trusted, you will be required to log in using a 2FA one-time code again for security reasons. AAMC reserves the right to change the duration for the trusted device at any time without prior notice.</p>"},{question:"Can I mark more than one device as a trusted device for 2FA?",answer:'<p>Yes. Under the "Trust this computer or device for 180 days" option, you can save up to five device profiles. However, if you exceed this limit and attempt to save a new device profile, the system will override the existing profiles starting with the first active saved profile in the list.</p>'},{question:"Is it safe to use \u201CTrust this computer or the Device for 180 days\u201D for 2FA?",answer:"<p>While trusting a device can offer convenience, it also introduces some level of risk. If you choose to enable this feature, ensure that you only use it on devices you trust, and where you already have proper security measures in place (e.g., a passcode or biometric lock on your mobile device). Also, be aware that marking a shared or public device as trusted should be avoided, as doing so may lead to compromised security. </p>"},{question:"Why am I asked to enter the one-time code even when I am logging in from a computer or device that I marked as trusted?",answer:`<p>When you mark a device as trusted, specific details about your browser and device hardware are 4511 securely stored as a trusted device profile in our system. This profile is used to compare with the 4512 device you use for subsequent logins. If the device you are using matches the saved profile, you 4513 will not be prompted to enter a one-time code for authentication purposes. However, if the 4514 device doesn't match the saved profile, you will be prompted to enter the one- time code.</p> 4515 <p> 4516 It is important to be aware that even minor changes to your device (such as upgrading your 4517 browser to a newer version), can lead to a mismatch with the previously saved device profile, 4518 triggering the request for a one-time verification code. In such situations, you can again designate the
4519 device profile as trusted, and you will not be prompted to enter a one-time code during future 4520 logins. </p>`}]},{title:"Disabling 2FA",dataSet:[{question:"Am I allowed to disable 2FA for my account?",answer:'<p>Most users can disable 2FA if they choose. However, users with high-level access accounts are not permitted to disable 2FA (see <a href="#2fa-faq-2-2">\u201CWhat defines a high level of access for users?\u201D</a>). If an individual\u2019s roles change and they no longer meet the definition of an account with high-level access, they may disable 2FA. We strongly recommend all account holders to enable and use 2FA.</p>'},{question:"How do I disable 2FA for my account?",answer:"<p>To disable 2FA for your account, sign in, then go to <i>My Account</i> and access the <a href='https://auth.aamc.org/account/#/profile/security' target='_blank'>Account Security</a> page. On the <i>Account Security</i> page, find the Two-Factor Authentication (2FA) section located at the top. Expand this section to reveal your current 2FA settings, then locate and select the <i>Turn Off 2FA</i> option to disable the 2FA on your account. Follow the steps provided to disable 2FA. You can enable it again at any time. Be cautious when disabling 2FA, as it lowers the security level of your account. </p>"},{question:"Why am I not able to disable 2FA?",answer:'<p>If you are identified as having a high-level of access (see <a href="#2fa-faq-2-2">\u201CWhat defines a high level of access for users?\u201D</a>), the option to disable 2FA is not available to you, as it is a mandatory security requirement for your account.</p>'}]},{title:"Troubleshooting 2FA ",dataSet:[{question:"What should I do if I am not receiving the 2FA code via email?",answer:"<p>If you are not receiving the 2FA code via email, there are a few steps you can take to resolve the issue: </p><ul><li>Check your spam or junk folder in your email account. Sometimes, legitimate emails will appear there. </li><li>Wait for a few minutes; if you still have not received the code, try requesting it again. Sometimes there might be a delay in email delivery. </li><li>Use your mobile phone number to receive the code. However, if you did not provide a phone number during setup, this option will not be available during authentication.</li><li>Contact our Account Help team for assistance if you have tried the above steps and still have not received the 2FA code, <a href='https://auth.aamc.org/account-help/#/' target='_blank'>contact our Account Help team</a>.</li></ul>"},{question:"What should I do if I am not receiving the 2FA code via SMS?",answer:"<p>If you are not receiving the 2FA code via SMS, there are a few steps you can take to resolve the issue:</p><ul><li>Ensure that your mobile phone has a stable network connection and sufficient signal strength to receive SMS messages.</li><li>Double-check that you provided the correct mobile phone number during the 2FA setup. Typos or incorrect numbers could prevent the code from reaching your device.</li><li>Wait for a few minutes; if you still have not received the code, try requesting it again. Sometimes there might be a slight delay in SMS delivery. </li><li>Reach out to your mobile service provider to check for any issues with SMS delivery on your account if you consistently do not receive SMS messages.</li><li>Attempt to receive the code via email.</li><li>Request your code via email if your mobile phone number has changed since you enrolled to use 2FA. Update your phone number in the 2FA Security Settings once you are signed in.</li><li><a href='https://auth.aamc.org/account-help/#/' target='_blank'>Contact our Account Help team</a> for assistance if you have tried the above steps and still have not received the 2FA code.</li></ul>"},{question:"What should I do if I no longer have access to both the email and mobile phone number associated with my 2FA?",answer:"<p>If you no longer have access to the email or mobile phone number linked to your 2FA, <a href='https://auth.aamc.org/account-help/#/' target='_blank'>contact our Account Help team</a> for assistance. They will assist in verifying your identity and updating your contact information to regain access.</p>"},{question:"How do I unlock the account if my account gets locked due to failure of 2FA process?",answer:`<p>You can unlock your account by resetting your password. Click <i>Forgot Password</i> on the sign in page to begin the process. </p> 4521 4522 <p>If you are unable to reset your password on your own, please <a href='https://auth.aamc.org/account-help/#/' target='_blank'>contact our Account Help team</a> for assistance. You may submit a request by selecting your role and the service you are trying to access.</p>`}]}],wC=[{title:"Introduction to Two-Factor Authentication (2FA)",dataSet:[{question:"What is Two-Factor Authentication (2FA)?",answer:"<p>Two-Factor Authentication (2FA) enhances security by introducing an added layer during the login process. It involves two forms of authentication: the initial factor is the traditional username/password authentication, while the second factor is a one-time code sent to the user's registered email address or mobile phone number.</p>"},{question:"How does 2FA work?",answer:"<p>After enrolling to use 2FA, you will periodically be required to provide two forms of verification during login. After entering your username and password, you can choose to receive a one-time code via email or SMS text message on your mobile phone. Once your choice is made, the unique code will be sent to the selected channel. Upon entering the code into the system, you will be granted access to the application. While your email address is associated by default, if you want to re
4522ceive the code as a text message on your phone, you must add your mobile phone number. Please note that the phone number option is currently available only to users with U.S. or Canadian mobile numbers.</p>"},{question:"Why is 2FA important?",answer:"<p>2FA greatly enhances the security of your AAMC account by introducing an additional authentication step. If someone manages to acquire your password, they will be unable to access the account without the secondary authentication factor. This significantly reduces the likelihood of unauthorized access, safeguards against password-related vulnerabilities, and effectively combats phishing attempts. </p>"}]},{title:"Who should use 2FA?",dataSet:[{question:"Is 2FA available for all users?",answer:'<p>Yes, 2FA is available to all users with an AAMC account. As an AAMC user, you are required to use 2FA to enhance the security of your AAMC account.</p><p> To begin using 2FA, you must enable it for your account. (See <a href="#2fa-faq-3-1">\u201CHow do I enable 2FA for my account?\u201D</a> below).</p>'},{question:"Why is 2FA required for all users?",answer:"<p>Account and data security are paramount for the AAMC. To enhance the security of AAMC accounts, 2FA is required to ensure that users data is better protected against unauthorized access. Some users have access to others\u2019 data and can perform actions affecting other users. Hence, 2FA is critical to ensuring that accounts and data remain protected.</p>"}]},{title:"Enabling 2FA",dataSet:[{question:"How do I enable 2FA for my account? ",answer:`<p>When logging in to your AAMC account, you will likely see an announcement regarding the 2FA feature, along with the option to set it up. By selecting the setup option, you will be guided through a step-by-step process to enable 2FA for your account.</p> 4523 <p>Alternatively, after signing into your account, navigate to the <a href='https://auth.aamc.org/account/#/profile/security' target='_blank'>Account Security</a> section under <i>My Account</i>. Under <i>Account Security</i>, locate the <i>Turn On 2FA</i> option within the Two- Factor Authentication (2FA) section. By clicking this option, you will be guided through a step-by-step process to enable 2FA for your account. </p>`},{question:"What will happen if I don\u2019t set up 2FA?",answer:"<p>If you do not set up 2FA, you won\u2019t be able to access the applications until 2FA is enabled for your AAMC account.</p>"},{question:"Can I use both email and SMS for 2FA on my account?",answer:`<p>When setting up 2FA for your account, you have the option to add both an email address and a mobile phone number to receive the one-time code for 2FA. Your email address associated with the account will be linked to 2FA by default. However, during setup, you can include your preferred mobile phone number as an additional choice for receiving the one-time code.</p> 4524 <p>Please be aware that standard message and data rates will apply for SMS. As of now, SMS capability is only available for AAMC account holders with phone numbers issued within the 50 U.S. states, the District of Columbia, and Canada. For account holders in the U.S territories and other countries, your email address is the sole option to receive 2FA codes.</p> 4525 <p>Once you have set up the mobile number for receiving the one-time code, you can choose your preferred channel to receive the code: email or mobile phone during the login process. To successfully authenticate, you will need to enter the six-digit, one-time code along with your username and password. This added security measure helps protect your account.</p>`},{question:"What should I do if my phone number is from a U.S. territory or any country outside of the U.S. and Canada?",answer:"<p>If you have a mobile phone number from a U.S. territory or any country outside the 50 U.S. states, the District of Columbia, and Canada, you still have the option to use the email address associated with your account to receive the one-time code for 2FA. It is a reliable alternative that ensures you can benefit from the added security even if your phone number is currently not supported.</p>"},{question:"Why is SMS capability not supported for U.S. Territories? Is there a plan to include them in the future?",answer:"Due to technical limitations, we currently support only the 50 U.S. states, the District of Columbia, and Canada. The inclusion of U.S. territories is under consideration, and we may add support for them in the future."}]},{title:"Using 2FA",dataSet:[{question:"Do I have to use 2FA every time I log in?",answer:"<p>This is up to you. As the account owner, you can choose between two options: (1) Use 2FA for each login, or (2) Allow the system to trust the computer or device you are using for 30 days, which will then exempt you from having to authenticate for 30 consecutive days. If you log in from multiple devices, you will need to follow the 2FA process for each login attempt from a new device. (See <a href='#2fa-faq-4-4'>\u201CCan I mark more than one device as a trusted device for 2FA?\u201D </a>below). </p>"},{question:"What happens if I enter the wrong one-time code or the code expires?",answer:"<p>If you enter an incorrect or expired code, an error message will appear. Keep in mind that the one-time code is valid for only 10 minutes. To request a new code, click on the <i>Resend Code</i> link located on the same screen where you enter the code, right below the code entry box. This allows you to receive a new code and continue with the 2FA login process. </p>"},{question:'In the context of 2FA, what does \u201CTrust this computer or device for 30 days" mean?',answer:"<p>If you select \u201CTrust this computer or device for 30 days\u201D, the system will remember that device for a 30-day period (e.g., a personal computer or smartphone). During this period, subsequent logins from the same device may not require 2FA again. However, if you attempt to log in from a different device or browser that is not marked as trusted, you will be required to log in using a 2FA one-time code again for security reasons. AAMC reserves the right to change the duration for the trusted device at any time without prior notice.</p>"},{question:"Can I mark more than one device as a trusted device for 2FA?",answer:'<p>Yes. Under the "Trust this computer or device for 30 days" option, you can save up to five device profiles. However, if you exceed this limit and attempt to save a new device profile, the system will override the existing profiles starting with the first active saved profile in the list.</p>'},{question:"Is it safe to use \u201CTrust this computer or the Device for 30 days\u201D for 2FA?",answer:"<p>While trusting a device can offer convenience, it also introduces some level of risk. If you choose to enable this feature, ensure that you only use it on devices you trust, and where you already have proper security measures in place (e.g., a passcode or biometric lock on your mobile device). Also, be aware that marking a shared or public device as trusted should be avoided, as doing so may lead to compromised security. </p>"},{question:"Why am I asked to enter the one-time code even when I am logging in from a computer or device that I marked as trusted?",answer:`<p>When you mark a device as trusted, specific details about your browser and device hardware are 4526 securely stored as a trusted device profile in our system. This profile is used to compare with the 4527 device you use for subsequent logins. If the device you are using matches the saved profile, you 4528 will not be prompted to enter a one-time code for authentication purposes. However, if the 4529 device doesn't match the saved profile, you will be prompted to enter the one- time code.</p> 4530 <p> 4531 It is important to be aware that even minor changes to your device (such as upgrading your 4532 browser to a newer version), can lead to a mismatch with the previously saved device profile, 4533 triggering the request for a one-time verification code. In such situations, you can again designate the
4534 device profile as trusted, and you will not be prompted to enter a one-time code during future 4535 logins. </p>`}]},{title:"Disabling 2FA",dataSet:[{question:"Am I allowed to disable 2FA for my account?",answer:"<p>Since all users are required to use 2FA, you are not permitted to disable it.</p>"}]},{title:"Troubleshooting 2FA ",dataSet:[{question:"What should I do if I am not receiving the 2FA code via email?",answer:"<p>If you are not receiving the 2FA code via email, there are a few steps you can take to resolve the issue: </p><ul><li>Check your spam or junk folder in your email account. Sometimes, legitimate emails will appear there. </li><li>Wait for a few minutes; if you still have not received the code, try requesting it again. Sometimes there might be a delay in email delivery. </li><li>Use your mobile phone number to receive the code. However, if you did not provide a phone number during setup, this option will not be available during authentication.</li><li>Contact our Account Help team for assistance if you have tried the above steps and still have not received the 2FA code, <a href='https://auth.aamc.org/account-help/#/' target='_blank'>contact our Account Help team</a>.</li></ul>"},{question:"What should I do if I am not receiving the 2FA code via SMS?",answer:"<p>If you are not receiving the 2FA code via SMS, there are a few steps you can take to resolve the issue:</p><ul><li>Ensure that your mobile phone has a stable network connection and sufficient signal strength to receive SMS messages.</li><li>Double-check that you provided the correct mobile phone number during the 2FA setup. Typos or incorrect numbers could prevent the code from reaching your device.</li><li>Wait for a few minutes; if you still have not received the code, try requesting it again. Sometimes there might be a slight delay in SMS delivery. </li><li>Reach out to your mobile service provider to check for any issues with SMS delivery on your account if you consistently do not receive SMS messages.</li><li>Attempt to receive the code via email.</li><li>Request your code via email if your mobile phone number has changed since you enrolled to use 2FA. Update your phone number in the 2FA Security Settings once you are signed in.</li><li><a href='https://auth.aamc.org/account-help/#/' target='_blank'>Contact our Account Help team</a> for assistance if you have tried the above steps and still have not received the 2FA code.</li></ul>"},{question:"What should I do if I no longer have access to both the email and mobile phone number associated with my 2FA?",answer:"<p>If you no longer have access to the email or mobile phone number linked to your 2FA, <a href='https://auth.aamc.org/account-help/#/' target='_blank'>contact our Account Help team</a> for assistance. They will assist in verifying your identity and updating your contact information to regain access.</p>"},{question:"How do I unlock the account if my account gets locked due to failure of 2FA process?",answer:`<p>You can unlock your account by resetting your password. Click <i>Forgot Password</i> on the sign in page to begin the process. </p> 4536 4537 <p>If you are unable to reset your password on your own, please <a href='https://auth.aamc.org/account-help/#/' target='_blank'>contact our Account Help team</a> for assistance. You may submit a request by selecting your role and the service you are trying to access.</p>`}]}];var Jh;(function(t){let i;(function(e){e.ConfigServiceFallBack="DPS-UI-SHARED-DPS.Config.ServiceFallback-JSON-PERM-07262023",e.FAQToggleFlag="DPS-ACCOUNT-HELP-UI-Privileged.User.2FA.Help-BOOL-TEMP-09182024"})(i=t.FeatureFlags||(t.FeatureFlags={}))})(Jh||(Jh={}));var K3=(()=>{class t{constructor(){this.el=d(Q)}ngOnInit(){if(this.actHelpTextHighlight){let e=this.actHelpTextHighlight.toLowerCase();this.el.nativeElement.querySelectorAll("a").forEach(r=>{this.highlightText(r,e,!0)}),this.highlightText(this.el.nativeElement,e,!1)}}highlightText(e,n,r){let o=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,null);for(;o.nextNode();){let a=o.currentNode;if(a.nodeType===Node.TEXT_NODE){let s=a.nodeValue??"",l=s.replace(new RegExp(`(${this.escapeRegExp(n)})`,"gi"),c=>r?`<a href="${a.parentNode.getAttribute("href")}" style="background-color: yellow; font-weight: bold;">${c}</a>`:`<span style="background-color: yellow; font-weight: bold;">${c}</span>`);
4537if(s!==l){let c=document.createElement("span");if(c.innerHTML=l??"",r&&a.parentNode?.nodeName.toLowerCase()==="a"){let u=a.parentNode;u.innerHTML=u.innerHTML.replace(s,c.innerHTML)}else a.parentNode?.replaceChild(c,a)}}}}escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=W({type:t,selectors:[["","actHelpTextHighlight",""]],inputs:{actHelpTextHighlight:"actHelpTextHighlight"}})}}return t})();var vde=(t,i)=>i.title;function yde(t,i){t&1&&O(0,"i",10)}function bde(t,i){if(t&1){let e=le();g(0,"mat-expansion-panel",18),P("afterCollapse",function(){let r=B(e).$implicit,o=v().$implicit,a=v();return U(a.onChangePanel(o.id,r.id,"CLOSE"))})("afterExpand",function(){let r=B(e).$implicit,o=v().$implicit,a=v();return U(a.onChangePanel(o.id,r.id,"OPEN"))}),g(1,"mat-expansion-panel-header")(2,"mat-panel-title"),I(3),_()(),O(4,"div",19),_()}if(t&2){let e=i.$implicit,n=v(2);w("id",e.id)("expanded",e.isOpen),f(3),pe(" ",e.question," "),f(),w("actHelpTextHighlight",n.searchQuery)("innerHtml",e.answer,Mi)}}function Cde(t,i){if(t&1){let e=le();g(0,"div",12)(1,"mat-card")(2,"mat-card-title",13),I(3),g(4,"div",14)(5,"button",15),P("click",function(){let r=B(e).$implicit,o=Ie(9);return r!=null&&r.isOpen?o.closeAll():o.openAll(),U(r.isOpen=!r.isOpen)}),I(6),_()()(),g(7,"mat-card-content")(8,"mat-accordion",16,1),tt(10,bde,5,5,"mat-expansion-panel",17,Ft),_()()()()}if(t&2){let e=i.$implicit;f(3),pe("",e.title," "),f(3),pe(" ",e!=null&&e.isOpen?"COLLAPSE ALL":"EXPAND ALL"," "),f(4),nt(e.dataSet)}}function wde(t,i){t&1&&(g(0,"div")(1,"p"),I(2,"No results found."),_()())}var X3=(()=>{class t{constructor(){this.cdf=d(Pe),this.renderer=d(Ge),this.elementRef=d(Q),this.dataLayerService=d(Q0),this.featureFlagService=d(sp),this.searchInput=new V,this.destroySearch=new V,this.breadcrumb=[{label:"Home",url:"../home"},{label:"2FA Help"}],this.searchQuery="",this.mfaFAQs=wC,this.showLoader=!0,this.showNewerFAQVersion=!1,this.faqToggleChange=Sl(this.featureFlagService.getFeatureFlag(Jh.FeatureFlags.FAQToggleFlag,!0)),this.onFAQToggleChange=Zn(()=>{this.faqToggleChange()!==void 0&&this.getFAQSet(this.faqToggleChange()??!0)}),this.anchorClickListener()}getFAQSet(e){this.showLoader=!1,this.mfaFAQs=e?wC:NA,this.showNewerFAQVersion=e,this.mfaFAQs=this.mfaFAQs.map(this.transformDataSet),this.cdf.detectChanges(),this.searchListener()}onSearchInputChange(){this.searchInput.next(this.searchQuery)}anchorClickListener(){this.renderer.listen(this.elementRef.nativeElement,"click",e=>{e.target instanceof HTMLAnchorElement&&e.target.getAttribute("href")&&e.target.getAttribute("href").includes("2fa-faq")&&(e.preventDefault(),this.scrollTo(e.target.getAttribute("href").substring(1)),this.openFAQ(e.target.getAttribute("href").substring(1)))})}openFAQ(e){let n=e.split("-")[2],r=this.mfaFAQs.find(o=>o.id==="2fa-faq-"+n);if(r){let o=r.dataSet.find(a=>a.id===e);o&&(o.isOpen=!0,this.cdf.detectChanges())}}transformDataSet(e,n){return Y(x({},e),{isOpen:!1,id:"2fa-faq-"+(n+1),dataSet:e.dataSet.map((r,o)=>Y(x({},r),{id:"2fa-faq-"+(n+1)+"-"+(o+1),isOpen:!1}))})}scrollTo(e){let n=document.getElementById(e);n&&n.scrollIntoView({behavior:"smooth"})}searchListener(){this.searchInput.pipe(ii(300),Dr(),lt(e=>this.filterResults(e.toLowerCase())),Ee(this.destroySearch)).subscribe(e=>{this.mfaFAQs=e.map(n=>Y(x({},n),{dataSet:n.dataSet.map(r=>Y(x({},r),{isOpen:!!this.searchQuery}))})),this.cdf.detectChanges(),this.reset()})}filterResults(e){let n=JSON.parse(JSON.stringify(this.showNewerFAQVersion?wC.map(this.transformDataSet):NA.map(this.transformDataSet)));return K(n.filter(r=>r.title.toLowerCase().includes(e)?!0:r.dataSet.some(o=>o.question.toLowerCase().includes(e)||o.answer.toLowerCase().includes(e))?(r.dataSet=r.dataSet.filter(o=>o.question.toLowerCase().includes(e)||o.answer.toLowerCase().includes(e)),!0):!1))}onChangePanel(e,n,r){let o=this.mfaFAQs.find(a=>a.id===e)?.dataSet.find(a=>a.id===n);o&&n&&(this.dataLayerService.logFAQAction("2FA",n,r),o.isOpen=r==="OPEN"),this.reset()}
4537reset(){this.mfaFAQs.forEach(e=>{e.isOpen=e.dataSet.every(n=>n.isOpen===!0)})}ngOnDestroy(){this.destroySearch.next(),this.destroySearch.complete()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["act-help-mfa-help"]],decls:16,vars:4,consts:[["search",""],["panel","matAccordion"],[3,"breadcrumbs"],[1,"layout-container"],[1,"faq-page-wrapper"],[1,"faq-header"],[1,"search-wrapper"],["appearance","outline",1,"aamc-search-bar"],["matInput","","type","text","placeholder","Search 2FA FAQ",3,"ngModelChange","input","ngModel"],["matSuffix","","matIconButton","","aria-label","Clear Search",3,"click"],["role","img","aria-label","Clear",1,"aamc-i-close","small"],["matPrefix","",1,"aamc-i-search"],[1,"mfa-faq-container"],[1,"faq-buttons"],[1,"faq-btn-wrapper"],["color","primary","aria-label","Expand All","matButton","","data-testid","expand-all",3,"click"],["multi","true"],[1,"flat-basic",3,"id","expanded"],[1,"flat-basic",3,"afterCollapse","afterExpand","id","expanded"],[1,"mt-[10px]",3,"actHelpTextHighlight","innerHtml"]],template:function(n,r){if(n&1){let o=le();O(0,"aamc-breadcrumbs",2),g(1,"div",3)(2,"div",4)(3,"div",5)(4,"h1"),I(5,"Two-Factor Authentication (2FA) FAQ"),_(),g(6,"div",6)(7,"mat-form-field",7)(8,"input",8,0),Nr("ngModelChange",function(s){return B(o),to(r.searchQuery,s)||(r.searchQuery=s),U(s)}),P("input",function(){return r.onSearchInputChange()}),_(),g(10,"button",9),P("click",function(){B(o);let s=Ie(9);return s.value="",r.searchQuery="",U(r.onSearchInputChange())}),E(11,yde,1,0,"i",10),_(),O(12,"i",11),_()()(),tt(13,Cde,12,2,"div",12,vde),E(15,wde,3,0,"div"),_()()}if(n&2){let o=Ie(9);w("breadcrumbs",r.breadcrumb),f(8),Or("ngModel",r.searchQuery),f(3),S(o.value?11:-1),f(2),nt(r.mfaFAQs),f(2),S(r.mfaFAQs.length===0?15:-1)}},dependencies:[qs,Dn,vr,Cd,Us,ui,bo,Lh,is,rs,Yl,Td,z0,rg,og,H0,bt,zt,Oi,Hr,es,yo,yd,K3],styles:[`ol[_ngcontent-%COMP%]{list-style-type:decimal}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:lower-roman}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-latin}ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{list-style-type:upper-roman}ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:square}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:disc}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:circle}@media(min-width:1280px){.faq-page-wrapper[_ngcontent-%COMP%]{max-width:80%;min-width:80%;margin:0 auto}}.faq-page-wrapper[_ngcontent-%COMP%] .mfa-faq-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}@media(min-width:1280px){.faq-page-wrapper[_ngcontent-%COMP%] .mfa-faq-container[_ngcontent-%COMP%]{align-self:center}}.faq-page-wrapper[_ngcontent-%COMP%] .mfa-faq-container[_ngcontent-%COMP%] .faq-buttons[_ngcontent-%COMP%]{display:flex;justify-content:space-between}@media(max-width:959px){.faq-page-wrapper[_ngcontent-%COMP%] .mfa-faq-container[_ngcontent-%COMP%] .faq-buttons[_ngcontent-%COMP%]{flex-direction:column}.faq-page-wrapper[_ngcontent-%COMP%] .mfa-faq-container[_ngcontent-%COMP%] .faq-buttons[_ngcontent-%COMP%] .faq-btn-wrapper[_ngcontent-%COMP%]{margin-top:8px}}.faq-page-wrapper[_ngcontent-%COMP%] .mfa-faq-container[_ngcontent-%COMP%] .faq-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:first-of-type{margin-right:8px}.faq-page-wrapper[_ngcontent-%COMP%] .faq-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between}@media(max-width:959px){.faq-page-wrapper[_ngcontent-%COMP%] .faq-header[_ngcontent-%COMP%]{flex-direction:column}}.faq-page-wrapper[_ngcontent-%COMP%] .faq-header[_ngcontent-%COMP%] .search-wrapper[_ngcontent-%COMP%]{min-width:30%;margin:20px 0 12px} 4538/*# sourceMappingURL=mfa-help.component-KVMD7VBD.css.map */`]})}}return t})();var J3=[{path:"",component:OA},{path:"2FA-help",component:X3},{path:"home",component:OA,resolve:{url:"externalUrlRedirectResolver"},data:{externalUrl:"https://www.aamc.org/"}},{path:"thanks",component:Z3},{path:"unauthorized",component:Y0},{path:"404",component:G0},{path:"**",redirectTo:"/404"}];var e4=window.location.href,t4={production:!1};if(window.environment){for(let t in window.environment)if(e4&&e4.indexOf(t)!==-1){t4=window.environment[t];break}}var Pd=t4;function n4(t){return function(i,e){return e.type.indexOf("@ngrx"),t(i,e)}}var i4={router:v2},r4=Pd.prodMode?[]:[n4];var o4=(()=>{class t{serialize(e){let n=e.root;for(;n.firstChild;)n=n.firstChild;let{url:r}=e,o=e.root.queryParams,a=n.params;return{url:r,params:a,queryParams:o}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=M({token:t,factory:t.\u0275fac})}}return t})();Pd.prodMode&&void 0;_M(PU,{providers:[wR(),PE(J3,LE()),tF(),Es(Ss()),g_($u.forRoot(i4,{metaReducers:r4}),Ky.forRoot([]),Ri.forRoot({appCode:"ACT-HELP",requireAuthentication:!1,fallbackConfigFlag:Jh.FeatureFlags.ConfigServiceFallBack}),SS.forRoot({clientIds:Pd.launchDarklyClientIds??[],targetedUserStrategy:Ku.TargetedUserStrategy.TargetUserProfile})),...Pd.prodMode?[]:[h2({maxAge:25,logOnly:Pd.prodMode,connectInZone:!0})],b2({serializer:Gu,stateKey:"router"}),yr,{provide:Yu,useClass:o4},{provide:"externalUrlRedirectResolver",useValue:t=>{let i=window.location.href.replace("home","");window.location.replace(i),window.location.href=t.data.externalUrl}},nI([])]}).catch(t=>console.error(t)); 4539//# sourceMappingURL=main-ZULJJ7DC.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.